diff options
author | Scott Dale <sdale@pfsense.org> | 2007-07-23 03:19:29 +0000 |
---|---|---|
committer | Scott Dale <sdale@pfsense.org> | 2007-07-23 03:19:29 +0000 |
commit | b047196eadf072051425d255e8d353463b0f2811 (patch) | |
tree | 078e91348750207ce903fdb910ba851590ebc220 /etc | |
parent | b9b45ddb9dad4e50dc750eb024c7aea6ca0b7292 (diff) | |
download | pfsense-b047196eadf072051425d255e8d353463b0f2811.zip pfsense-b047196eadf072051425d255e8d353463b0f2811.tar.gz |
remove previous commit, moving function to index.php to support package installation
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 9858487..2335d22 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -3685,39 +3685,4 @@ function is_wan_interface_up($interface) { } return false; } - -function display_widget_tabs(& $tab_array) { - echo "<div id='tabs'>"; - $tabscounter = 0; - foreach ($tab_array as $ta) { - $dashpos = strpos($ta[2],'-'); - $tabname = $ta[2] . "-tab"; - $tabclass = substr($ta[2],0,$dashpos); - $tabclass = $tabclass . "-class"; - if ($ta[1] == true) { - $tabActive = "table-cell"; - $tabNonActive = "none"; - } - else { - $tabActive = "none"; - $tabNonActive = "table-cell"; - } - echo "<div id='{$ta[2]}-active' class='{$tabclass}-tabactive' style='display:{$tabActive}; background-color:#EEEEEE; color:black;'>"; - echo "<B> {$ta[0]}"; - echo " </B>"; - echo "</div>"; - - echo "<div id='{$ta[2]}-deactive' class='{$tabclass}-tabdeactive' style='display:{$tabNonActive}; background-color:#777777; color:white; cursor: pointer;' onClick=\"return changeTabDIV('{$ta[2]}')\">"; - echo "<B> {$ta[0]}"; - echo " </B>"; - echo "</div>"; - } - - echo "<script type=\"text/javascript\">"; - echo "NiftyCheck();\n"; - echo "Rounded(\"div.{$tabclass}-tabactive\",\"top\",\"#CCCCCC\",\"#EEEEEE\",\"smooth\");\n"; - echo "Rounded(\"div.{$tabclass}-tabdeactive\",\"top\",\"#CCCCCC\",\"#777777\",\"smooth\");\n"; - echo "</script>"; - echo "</div>"; -} ?> |