diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-02 22:17:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-02 22:17:46 +0000 |
commit | e2aa3617f37a79c838dd91a63edb2b5dbc14460c (patch) | |
tree | 267161d3c3d5d8fb048b044edd4b0c17bbaac667 | |
parent | 76d05834e4fa8ae1ddeda2a6f56fc241a3d24a6c (diff) | |
download | pfsense-e2aa3617f37a79c838dd91a63edb2b5dbc14460c.zip pfsense-e2aa3617f37a79c838dd91a63edb2b5dbc14460c.tar.gz |
Curvify
-rwxr-xr-x | usr/local/www/services_dhcp_relay.php | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/usr/local/www/services_dhcp_relay.php b/usr/local/www/services_dhcp_relay.php index b4e6281..7b7a67a 100755 --- a/usr/local/www/services_dhcp_relay.php +++ b/usr/local/www/services_dhcp_relay.php @@ -167,17 +167,23 @@ function enable_change(enable_over) { <form action="services_dhcp_relay.php" method="post" name="iform" id="iform"> <?php if ($input_errors) print_input_errors($input_errors); ?> <?php if ($savemsg) print_info_box($savemsg); ?> +<div id="master"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> - <tr><td> - <ul id="tabnav"> -<?php foreach ($iflist as $ifent => $ifname): - if ($ifent == $if): ?> - <li class="tabact"><?=htmlspecialchars($ifname);?></li> -<?php else: ?> - <li class="tabinact"><a href="services_dhcp_relay.php?if=<?=$ifent;?>"><?=htmlspecialchars($ifname);?></a></li> -<?php endif; ?> -<?php endforeach; ?> - </ul> + <tr><td> + <?php + /* active tabs */ + $tab_array = array(); + $tabscounter = 0; + $i = 0; + foreach ($iflist as $ifent => $ifname) { + if ($ifent == $if) + $active = true; + else + $active = false; + $tab_array[] = array($ifname, $active, "services_dhcp_relay.php?if={$ifent}"); + } + display_top_tabs($tab_array); + ?> </td></tr> <tr> <td class="tabcont"> @@ -217,6 +223,7 @@ function enable_change(enable_over) { </td> </tr> </table> +</div> </form> <script language="JavaScript"> <!-- @@ -224,5 +231,11 @@ enable_change(false); //--> </script> <?php include("fend.inc"); ?> + +<script type="text/javascript"> +NiftyCheck(); +Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); +</script> + </body> </html> |