mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
MFC 9468
Change cursor to hand when over tabs (since they're links)
This commit is contained in:
parent
2a8143e5f2
commit
0cb641ba72
@ -1212,20 +1212,20 @@ function display_top_tabs($tab_array) {
|
||||
$tabscounter = 0;
|
||||
foreach ($tab_array as $ta) {
|
||||
if($ta[1] == true) {
|
||||
echo " <td bgcolor='#EEEEEE' onClick=\"document.location='{$ta[2]}'\"><div id='tabactive'></div></td>\n";
|
||||
echo " <td bgcolor='#EEEEEE' onClick=\"document.location='{$ta[2]}'\" style=\"cursor: pointer; cursor: hand;\"><div id='tabactive'></div></td>\n";
|
||||
} else {
|
||||
echo " <td bgcolor='#777777' onClick=\"document.location='{$ta[2]}'\"><div id='tabdeactive{$tabscounter}'></div></td>\n";
|
||||
echo " <td bgcolor='#777777' onClick=\"document.location='{$ta[2]}'\" style=\"cursor: pointer; cursor: hand;\"><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' onClick=\"document.location='{$ta[2]}'\"><B> {$ta[0]}";
|
||||
echo " <td bgcolor='#EEEEEE' onClick=\"document.location='{$ta[2]}'\" style=\"cursor: pointer; cursor: hand;\"><B> {$ta[0]}";
|
||||
echo " ";
|
||||
echo "<font size='-12'> </td>\n";
|
||||
} else {
|
||||
echo " <td bgcolor='#777777' onClick=\"document.location='{$ta[2]}'\"><B> <a href='{$ta[2]}'>";
|
||||
echo " <td bgcolor='#777777' onClick=\"document.location='{$ta[2]}'\" style=\"cursor: pointer; cursor: hand;\"><B> <a href='{$ta[2]}'>";
|
||||
echo "<font color='white'>{$ta[0]}</a> ";
|
||||
echo "<font size='-12'> </td>\n";
|
||||
}
|
||||
@ -1233,9 +1233,9 @@ function display_top_tabs($tab_array) {
|
||||
echo "</tr>\n<tr height='5px'>\n";
|
||||
foreach ($tab_array as $ta) {
|
||||
if($ta[1] == true) {
|
||||
echo " <td bgcolor='#EEEEEE' onClick=\"document.location='{$ta[2]}'\"></td>\n";
|
||||
echo " <td bgcolor='#EEEEEE' onClick=\"document.location='{$ta[2]}'\" style=\"cursor: pointer; cursor: hand;\"></td>\n";
|
||||
} else {
|
||||
echo " <td bgcolor='#777777' onClick=\"document.location='{$ta[2]}'\"></td>\n";
|
||||
echo " <td bgcolor='#777777' onClick=\"document.location='{$ta[2]}'\" style=\"cursor: pointer; cursor: hand;\"></td>\n";
|
||||
}
|
||||
$tabscounter++;
|
||||
}
|
||||
@ -1616,4 +1616,4 @@ function print_value_list($list, $count = 10, $separator = ",") {
|
||||
return $list;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user