diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-01-13 15:11:23 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-01-13 15:11:23 -0500 |
commit | 060ed23871a0933021e68078efceb6ed64658d82 (patch) | |
tree | 434e5315f7aefb15e389f439133a9a41e40340f7 /src/usr/local/www/services_igmpproxy.php | |
parent | d642aca406161552dbd6b2c19585eaba42a242a6 (diff) | |
download | pfsense-060ed23871a0933021e68078efceb6ed64658d82.zip pfsense-060ed23871a0933021e68078efceb6ed64658d82.tar.gz |
Fixed #5566
Diffstat (limited to 'src/usr/local/www/services_igmpproxy.php')
-rw-r--r-- | src/usr/local/www/services_igmpproxy.php | 76 |
1 files changed, 36 insertions, 40 deletions
diff --git a/src/usr/local/www/services_igmpproxy.php b/src/usr/local/www/services_igmpproxy.php index 89ddf68..840db21 100644 --- a/src/usr/local/www/services_igmpproxy.php +++ b/src/usr/local/www/services_igmpproxy.php @@ -111,35 +111,33 @@ if (is_subsystem_dirty('igmpproxy')) { ?> <form action="services_igmpproxy.php" method="post"> - -<div class="panel panel-default"> - <div class="panel-heading"><h2 class="panel-title"><?=gettext('IGMP Proxy')?></h2></div> - <div class="panel-body"> - - <div class="table-responsive"> - <table class="table table-striped table-hover table-condensed"> - <thead> - <tr> - <th><?=gettext("Name")?></th> - <th><?=gettext("Type")?></th> - <th><?=gettext("Values")?></th> - <th><?=gettext("Description")?></th> - <th></th> - </tr> - </thead> - <tbody> + <div class="panel panel-default"> + <div class="panel-heading"><h2 class="panel-title"><?=gettext('IGMP Proxy')?></h2></div> + <div class="panel-body"> + <div class="table-responsive"> + <table class="table table-striped table-hover table-condensed"> + <thead> + <tr> + <th><?=gettext("Name")?></th> + <th><?=gettext("Type")?></th> + <th><?=gettext("Values")?></th> + <th><?=gettext("Description")?></th> + <th></th> + </tr> + </thead> + <tbody> <?php $i = 0; foreach ($a_igmpproxy as $igmpentry): ?> - <tr> - <td> - <?=htmlspecialchars(convert_friendly_interface_to_friendly_descr($igmpentry['ifname']))?> - </td> - <td> - <?=htmlspecialchars($igmpentry['type'])?> - </td> - <td> + <tr> + <td> + <?=htmlspecialchars(convert_friendly_interface_to_friendly_descr($igmpentry['ifname']))?> + </td> + <td> + <?=htmlspecialchars($igmpentry['type'])?> + </td> + <td> <?php $addresses = implode(", ", array_slice(explode(" ", $igmpentry['address']), 0, 10)); print($addresses); @@ -150,26 +148,24 @@ foreach ($a_igmpproxy as $igmpentry): print('...'); } ?> - </td> - <td> - <?=htmlspecialchars($igmpentry['descr'])?> - </td> - <td> - <a class="fa fa-pencil" title="<?=gettext('Edit IGMP entry')?>" href="services_igmpproxy_edit.php?id=<?=$i?>"></a> - <a class="fa fa-trash" title="<?=gettext('Delete IGMP entry')?>" href="services_igmpproxy.php?act=del&id=<?=$i?>"></a> - </td> - </tr> + </td> + <td> + <?=htmlspecialchars($igmpentry['descr'])?> + </td> + <td> + <a class="fa fa-pencil" title="<?=gettext('Edit IGMP entry')?>" href="services_igmpproxy_edit.php?id=<?=$i?>"></a> + <a class="fa fa-trash" title="<?=gettext('Delete IGMP entry')?>" href="services_igmpproxy.php?act=del&id=<?=$i?>"></a> + </td> + </tr> <?php $i++; endforeach; ?> - </tbody> - </table> - </div> - + </tbody> + </table> + </div> + </div> </div> -</div> - </form> <nav class="action-buttons"> |