diff options
author | Bill Marquette <billm@pfsense.org> | 2005-07-03 18:55:22 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-07-03 18:55:22 +0000 |
commit | 6948fa96431716dce7e5b776f2f5d840d016fe1d (patch) | |
tree | 3dd5afa25e2fa194ef38d72f90b16163897829cd | |
parent | 3ad08ebd0da655f4d973a3cecb236afa19fa87f4 (diff) | |
download | pfsense-6948fa96431716dce7e5b776f2f5d840d016fe1d.zip pfsense-6948fa96431716dce7e5b776f2f5d840d016fe1d.tar.gz |
Clicking anywhere in a tab will now take you to the page the tab belongs to
-rw-r--r-- | etc/inc/pfsense-utils.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 93b63d4..6c2559f 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -892,20 +892,20 @@ function get_disk_info() { $tabscounter = 0; foreach ($tab_array as $ta) { if($ta[1] == true) { - echo " <td bgcolor='#EEEEEE'><div id='tabactive'></div></td>\n"; + echo " <td bgcolor='#EEEEEE' onClick=\"document.location='{$ta[2]}'\"><div id='tabactive'></div></td>\n"; } else { - echo " <td bgcolor='#777777'><div id='tabdeactive{$tabscounter}'></div></td>\n"; + echo " <td bgcolor='#777777' onClick=\"document.location='{$ta[2]}'\"><div id='tabdeactive{$tabscounter}'></div></td>\n"; } $tabscounter++; } echo "</tr>\n<tr>\n"; foreach ($tab_array as $ta) { if($ta[1] == true) { - echo " <td bgcolor='#EEEEEE'><B> {$ta[0]}"; + echo " <td bgcolor='#EEEEEE' onClick=\"document.location='{$ta[2]}'\"><B> {$ta[0]}"; echo " "; echo "<font size='-12'><br> </div></td>\n"; } else { - echo " <td bgcolor='#777777'><B> <a href='{$ta[2]}'>"; + echo " <td bgcolor='#777777' onClick=\"document.location='{$ta[2]}'\"><B> <a href='{$ta[2]}'>"; echo "<font color='white'>{$ta[0]}</a> "; echo "<font size='-12'><br> </div></td>\n"; } |