Commit 9a10e5dd authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3407 Removing cellspacing and cellpading attributes.

parent e0784042
<table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=4 cellspacing=0 border=0>
<table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" border="0">
<tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
<td align=left width="100%">
<LABEL for="storage_base">
......@@ -16,7 +16,7 @@
</tr>
<tr style="background-color: white">
<td colspan=2>
<table width="100%" cellspacing=2 cellpadding=4>
<table width="100%">
<tr>
<td style="width:50%; vertical-align:top; background-color: #F0F0F0">
<h2>
......
<table summary="" style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=4 cellspacing=0 border=0>
<table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" border="0">
<tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
<td align=left width="100%">{$storage_info}
</td>
......@@ -10,19 +10,19 @@
<tr style="background-color: white">
<td colspan=2>
<table summary="" width="100%" cellspacing=2 cellpadding=4>
<table width="100%">
<tr>
<td style="width:50%; vertical-align:top; background-color: #F0F0F0">
<h2>
<img class="center" alt="" src="{$personal_image}" align=middle>
<img class="center" alt="" src="{$personal_image}" align=middle>
{t}Personal{/t}
</h2>
<table summary="" width="100%">
<tr>
<td style='width:40%;'>
{t}Name{/t}
</td>
</td>
<td>
<i>{$info_sn}, {$info_givenName}</i>
</td>
......@@ -30,7 +30,7 @@
<tr>
<td>
{t}Initials{/t}
</td>
</td>
<td>
<i>{$info_initials}</i>
</td>
......@@ -49,7 +49,7 @@
<td style="vertical-align:top; background-color: #E8E8E8">
<h2>
<img class="center" alt="" src="{$home_image}" align=middle>
<img class="center" alt="" src="{$home_image}" align=middle>
{t}Private{/t}
</h2>
......@@ -95,14 +95,14 @@
<td style="vertical-align:top; background-color: #E4E4E4" colspan=2>
<h2>
<img class="center" alt="" src="{$company_image}" align=middle>
<img class="center" alt="" src="{$company_image}" align=middle>
{t}Organizational{/t}
</h2>
<table summary="" width="100%">
<tr>
<td width='50%'>
<table summary="" width="100%">
<tr>
<td style='width:40%;'>
......@@ -121,7 +121,7 @@
</td>
</tr>
<tr>
<td>
<td>
{t}City{/t}
</td>
<td>
......@@ -187,7 +187,7 @@
</tr>
</table>
</td>
</td>
</tr>
</table>
......
<table style="table-layout:fixed; width:100%; vertical-align:top; text-align:left; table-layout:auto;" cellpadding="4" border="0">
<table style="table-layout:fixed; width:100%; vertical-align:top; text-align:left; table-layout:auto;" border="0">
<tr>
<td style="vertical-align:top;">
<table style="border:1px solid #B0B0B0; width:100%; vertical-align:top; text-align:left;" cellpadding="4" cellspacing="0">
<table style="border:1px solid #B0B0B0; width:100%; vertical-align:top; text-align:left;">
<colgroup>
<col width="32%">
<col width="14%">
......@@ -17,7 +17,7 @@
{$search_result}
</table>
<table style="vertical-align:top; text-align:center; width:100%;" cellpadding="4" cellspacing="0" border="0">
<table style="vertical-align:top; text-align:center; width:100%;" border="0">
<tr>
<td>{$range_selector}</td>
</tr>
......
<table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=4 cellspacing=0 border=0>
<table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" order="0">
<tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
<td align=left width="100%"><LABEL for="dial">{t}Dial connection...{/t}</LABEL></td>
</tr>
......
<table style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
<table style="width:100%;height:100%; vertical-align:top; text-align:left;">
<tr>
<td style="vertical-align:top; width:100%;">
<div class="contentboxh">
......
......@@ -32,7 +32,7 @@
<br>
<br>
<div style='width:100%; height:300px; overflow: scroll;'>
<table cellpadding="3" cellspacing="0" style='width:100%; background-color: #CCCCCC; border: solid 1px #CCCCCC;'>
<table style='width:100%; background-color: #CCCCCC; border: solid 1px #CCCCCC;'>
<tr>
<td><b>{t}Timestamp{/t}</b></td>
<td><b>{t}MAC{/t}</b></td>
......@@ -54,15 +54,15 @@
<td>{$item.FQDN}</td>
<td>{$item.IP}</td>
<td>{$item.DHCP}</td>
</tr>
</tr>
<tr style='background-color: #F0BBBB;'>
<td colspan="7"><b>{$item.ERROR}</b></td>
</tr>
{else}
{if ($key % 2)}
<tr class="rowxp0">
<tr class="rowxp0">
{else}
<tr class="rowxp1">
<tr class="rowxp1">
{/if}
<td>{$item.TIMESTAMP}</td>
<td style='border-left: solid 1px #BBBBBB;'>{$item.MAC}</td>
......
<table style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
<table style="width:100%;height:100%; vertical-align:top; text-align:left;">
<tr>
<td style="vertical-align:top; width:100%;">
<div class="contentboxh">
......
<table cellspacing="0" cellpadding="0">
<table>
<tr>
<td>{t}Year{/t}</td>
<td>{t}Month{/t}</td>
......
......@@ -30,7 +30,7 @@
{t}Computer name to use by unit{/t}
</span>
<div>
<table summary="" style="border:1px solid #B0B0B0; width:100%; vertical-align:top; text-align:left;" cellpadding="4" cellspacing="0">
<table style="border:1px solid #B0B0B0; width:100%; vertical-align:top; text-align:left;border-spacing:0;">
{$output_next_computer_ids}
</table>
</div>
......
......@@ -11,7 +11,7 @@
{/if}
</h1>
{if $attributes.expired.accounts|@count > 0}
<table summary="" style="width: 100%;" class="listingTable">
<table style="width: 100%;" class="listingTable">
<colgroup>
<col width="10%"/>
<col width="15%"/>
......@@ -61,7 +61,7 @@
{/if}
</h1>
{if $attributes.expired.accounts_next_days|@count > 0}
<table summary="" style="width: 100%; table-layout: fixed;" cellpadding="4" cellspacing="0">
<table style="width: 100%;" class="listingTable">
<colgroup>
<col width="10%"/>
<col width="15%"/>
......
......@@ -26,7 +26,7 @@
padding:5px;
">
<table style='width:100%' cellpadding=0 cellspacing=0>
<table style='width:100%;border-collapse:collapse; border-spacing:0;'>
{foreach from=$entries item=item key=key}
{if $item.TYPE == "OPEN"}
<tr>
......@@ -34,7 +34,7 @@
</tr>
<tr>
<td style='padding-left:20px;' colspan=3>
<table style='width:100%;' cellpadding=0 cellspacing=0>
<table style='width:100%;border-collapse:collapse; border-spacing:0;'>
{elseif $item.TYPE == "CLOSE"}
</table>
......
......@@ -415,7 +415,7 @@ class servDNSeditZoneEntries extends plugin
$hostNameOnce = TRUE;
/* Walk through all defined records */
$str .= "<table cellspacing='0' cellpadding='0'>";
$str .= '<table style="border-collapse:collapse; border-spacing:0;">';
foreach ($obj['RECORDS'] as $id => $record) {
/* Skip not selectable entries */
if (!isset($this->RecordTypes [$record['type']])) {
......
<table style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
<table style="width:100%;height:100%; vertical-align:top; text-align:left;">
<tr>
<td style="vertical-align:top; width:100%;">
<div class="contentboxh">
......
......@@ -25,7 +25,7 @@
<br>
{if $search_result ne ""}
<table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=2 cellspacing=1 border=0 rules="cols">
<table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" border="0" rules="cols">
<tr style="background-color: #E8E8E8; height:26px; font-weight:bold">
<td><a href="main.php{$plug}&amp;sort=0">{t}User{/t} {$mode0}</a></td>
<td><a href="main.php{$plug}&amp;sort=1">{t}Date{/t} {$mode1}</a></td>
......@@ -37,7 +37,7 @@
{$search_result}
</table>
<table style="width:100%; vertical-align:top; text-align:center;" cellpadding=4 cellspacing=0 border=0>
<table style="width:100%; vertical-align:top; text-align:center;" border="0">
<tr>
<td>{$range_selector}</td>
</tr>
......
......@@ -12,7 +12,7 @@
&nbsp;
</td>
<td style="vertical-align:top">
<table summary="" border=0 cellspacing=5>
<table border="0">
<tr>
<td><b>{t}FAX ID{/t}</b></td>
<td>{$fax_id}</td>
......
<table summary="" style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
<table style="width:100%;height:100%; vertical-align:top; text-align:left;">
<tr>
<td style="vertical-align:top; width:100%;">
<div class="contentboxh">
......
<table style="width:100%; vertical-align:top; text-align:left;" cellpadding="0" border="0">
<table style="width:100%; vertical-align:top; text-align:left;border-collapse:collapse; border-spacing:0;">
<!-- Headline container -->
<tr>
......@@ -85,7 +85,7 @@
<p class="seperator">&nbsp;</p>
<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
<table style="width:100%; vertical-align:top; text-align:left;" border="0">
<tr>
<td style="width:50%; border-right:1px solid #A0A0A0">
<h2><img class="center" alt="" src="plugins/fax/images/iconMini.png">&nbsp;{t}Alternate fax numbers{/t}</h2>
......
<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
<table summary="" style="width:100%; vertical-align:top; text-align:left;" border="0">
<tr>
<td style="vertical-align:top;width:50%;border-right:1px solid #A0A0A0">
<td style="vertical-align:top;width:50%;border-right:1px solid #A0A0A0">
<b>{t}Blocked numbers/lists{/t}</b>
<br>
<br>
<select style="width:100%; height:300px;" name="block_list[]" size=15 multiple>
{html_options values=$cblocklist output=$cblocklist}
<option disabled>&nbsp;</option>
......
<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
<table summary="" style="width:100%; vertical-align:top; text-align:left;">
<tr>
<td style="vertical-align:top; width:600px">
<div class="contentboxh" style="height:20px;">
......
<table style="width:100%; vertical-align:top; text-align:left;" cellpadding="0" border="0">
<table style="width:100%; vertical-align:top; text-align:left;border-collapse:collapse; border-spacing:0;" border="0">
<tr>
<td style="width:50%; vertical-align:top;">
<h2><img class="center" alt="" src="images/rightarrow.png" />&nbsp;{t}Generic{/t}</h2>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment