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