Projet

Général

Profil

« Précédent | Suivant » 

Révision 56898132

Ajouté par Colin Fleming il y a presque 10 ans

Tidy up misc. widgets XHTML

captive_portal_status.widget.php
Remove NAME from TABLE tag, not valid in XHTML

carp_status.widget.php
Add missing closing TD tag

dyn_dns_status.widget.php and
installed_packages.widgete.php
Update TD class to single line

load_balancer_status.widget.php
Add quotes to missing TD background colour

traffic_graphs.widget.php
Tidy up HTML Boolean operator
Make NAME and ID in INPUT tag unique

wake_on_lan.widget.php
Remove B tag from "widgetsubheader", alread in CSS
Center message across all columns within table

Voir les différences:

usr/local/www/widgets/widgets/wake_on_lan.widget.php
39 39
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="wol status">
40 40
	<tr>
41 41
		<?php
42
		echo '<td class="widgetsubheader" align="center"><b>' . gettext("Computer / Device") . '</b></td>';
43
		echo '<td class="widgetsubheader" align="center"><b>' . gettext("Interface") . '</b></td>';
44
		echo '<td class="widgetsubheader" align="center"><b>' . gettext("Status") . '</b></td>';
42
		echo '<td class="widgetsubheader" align="center">' . gettext("Computer / Device") . '</td>';
43
		echo '<td class="widgetsubheader" align="center">' . gettext("Interface") . '</td>';
44
		echo '<td class="widgetsubheader" align="center">' . gettext("Status") . '</td>';
45 45
		?>
46 46
		<td class="widgetsubheader">&nbsp;</td>
47 47
	</tr>
......
70 70
		echo "</td></tr>\n";
71 71
	}
72 72
} else {
73
	echo "<tr><td colspan=\"3\" align=\"center\">" . gettext("No saved WoL addresses") . ".</td></tr>\n";
73
	echo "<tr><td colspan=\"4\" align=\"center\">" . gettext("No saved WoL addresses") . ".</td></tr>\n";
74 74
}
75 75
?>
76 76
</table>

Formats disponibles : Unified diff