Revision bf978a06
Added by Carlos Eduardo Ramos almost 15 years ago
usr/local/www/status_rrd_graph_settings.php | ||
---|---|---|
111 | 111 |
<tr> |
112 | 112 |
<td> |
113 | 113 |
<?php |
114 |
$tab_array = array(); |
|
115 |
if($curcat == "system") { $tabactive = True; } else { $tabactive = False; } |
|
116 |
$tab_array[] = array(gettext("System"), $tabactive, "status_rrd_graph.php?cat=system"); |
|
117 |
if($curcat == "traffic") { $tabactive = True; } else { $tabactive = False; } |
|
118 |
$tab_array[] = array(gettext("Traffic"), $tabactive, "status_rrd_graph.php?cat=traffic"); |
|
119 |
if($curcat == "packets") { $tabactive = True; } else { $tabactive = False; } |
|
120 |
$tab_array[] = array(gettext("Packets"), $tabactive, "status_rrd_graph.php?cat=packets"); |
|
121 |
if($curcat == "quality") { $tabactive = True; } else { $tabactive = False; } |
|
122 |
$tab_array[] = array(gettext("Quality"), $tabactive, "status_rrd_graph.php?cat=quality"); |
|
123 |
if($queues) { |
|
124 |
if($curcat == "queues") { $tabactive = True; } else { $tabactive = False; } |
|
125 |
$tab_array[] = array(gettext("Queues"), $tabactive, "status_rrd_graph.php?cat=queues"); |
|
126 |
if($curcat == "queuedrops") { $tabactive = True; } else { $tabactive = False; } |
|
127 |
$tab_array[] = array(gettext("QueueDrops"), $tabactive, "status_rrd_graph.php?cat=queuedrops"); |
|
128 |
} |
|
129 |
if($wireless) { |
|
130 |
if($curcat == "wireless") { $tabactive = True; } else { $tabactive = False; } |
|
131 |
$tab_array[] = array(gettext("Wireless"), $tabactive, "status_rrd_graph.php?cat=wireless"); |
|
132 |
} |
|
133 |
if($cellular) { |
|
134 |
if($curcat == "cellular") { $tabactive = True; } else { $tabactive = False; } |
|
135 |
$tab_array[] = array(gettext("Cellular"), $tabactive, "status_rrd_graph.php?cat=cellular"); |
|
136 |
} |
|
137 |
if($curcat == "settings") { $tabactive = True; } else { $tabactive = False; } |
|
138 |
$tab_array[] = array(gettext("Settings"), $tabactive, "status_rrd_graph_settings.php"); |
|
139 |
display_top_tabs($tab_array); |
|
140 | 114 |
$tab_array = array(); |
141 | 115 |
if($curcat == "system") { $tabactive = True; } else { $tabactive = False; } |
142 | 116 |
$tab_array[] = array(gettext("System"), $tabactive, "status_rrd_graph.php?cat=system"); |
Also available in: Unified diff
Removed duplicated tabs block on status_rrd_graph_settings.php