Project

General

Profile

« Previous | Next » 

Revision 1fb1117c

Added by Colin Fleming over 11 years ago

Tidy up "services_igmpproxy" XHTML

Add SUMMARY to tables
Close INPUT and IMG tags and add ALT to IMG tags
Deprecate ampersand in anchor tags
Add CDATA section to scripts
Update HTML Boolean operators
Remove empty TFOOT

View differences:

usr/local/www/services_igmpproxy.php
86 86
<?php include("fbegin.inc"); ?>
87 87
<form action="services_igmpproxy.php" method="post">
88 88
<?php if ($savemsg) print_info_box($savemsg); ?>
89
<?php if (is_subsystem_dirty('igmpproxy')): ?><p>
89
<?php if (is_subsystem_dirty('igmpproxy')): ?><br/>
90 90
<?php print_info_box_np(gettext("The IGMP entry list has been changed") . ".<br />" . gettext("You must apply the changes in order for them to take effect."));?>
91 91
<?php endif; ?>
92 92

  
93
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
93
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0" summary="igmp proxy">
94 94
<tr>
95 95
  <td width="15%" class="listhdrr"><?=gettext("Name");?></td>
96 96
  <td width="10%" class="listhdrr"><?=gettext("Type");?></td>
97 97
  <td width="25%" class="listhdrr"><?=gettext("Values");?></td>
98 98
  <td width="25%" class="listhdr"><?=gettext("Description");?></td>
99 99
  <td width="5%" class="list">
100
    <table border="0" cellspacing="0" cellpadding="1">
100
    <table border="0" cellspacing="0" cellpadding="1" summary="add">
101 101
      <tr>
102 102
	<td valign="middle" width="17">&nbsp;</td>
103
        <td valign="middle"><a href="services_igmpproxy_edit.php"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0" title="<?=gettext("add a new igmpentry");?>"></a></td>
103
        <td valign="middle"><a href="services_igmpproxy_edit.php"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0" title="<?=gettext("add a new igmpentry");?>" alt="add" /></a></td>
104 104
      </tr>
105 105
    </table>
106 106
  </td>
......
128 128
    <?=htmlspecialchars($igmpentry['descr']);?>&nbsp;
129 129
  </td>
130 130
  <td valign="middle" nowrap class="list">
131
    <table border="0" cellspacing="0" cellpadding="1">
131
    <table border="0" cellspacing="0" cellpadding="1" summary="icons">
132 132
      <tr>
133
        <td valign="middle"><a href="services_igmpproxy_edit.php?id=<?=$i;?>"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0" title="<?=gettext("edit igmpentry"); ?>"></a></td>
134
        <td><a href="services_igmpproxy.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this igmpentry? All elements that still use it will become invalid (e.g. filter rules)!");?>')"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" title="<?=gettext("delete igmpentry");?>"></a></td>
133
        <td valign="middle"><a href="services_igmpproxy_edit.php?id=<?=$i;?>"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0" title="<?=gettext("edit igmpentry"); ?>" alt="edit" /></a></td>
134
        <td><a href="services_igmpproxy.php?act=del&amp;id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this igmpentry? All elements that still use it will become invalid (e.g. filter rules)!");?>')"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" title="<?=gettext("delete igmpentry");?>" alt="delete" /></a></td>
135 135
      </tr>
136 136
    </table>
137 137
  </td>
......
143 143
    <table border="0" cellspacing="0" cellpadding="1">
144 144
      <tr>
145 145
	<td valign="middle" width="17">&nbsp;</td>
146
        <td valign="middle"><a href="services_igmpproxy_edit.php"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0" title="<?=gettext("add a new igmpentry");?>"></a></td>
147
        </td>
146
        <td valign="middle"><a href="services_igmpproxy_edit.php"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0" title="<?=gettext("add a new igmpentry");?>" alt="add" /></a></td>
148 147
      </tr>
149 148
    </table>
150 149
  </td>

Also available in: Unified diff