Revision 6cfa23eb
Added by Scott Ullrich almost 15 years ago
etc/inc/authgui.inc | ||
---|---|---|
165 | 165 |
|
166 | 166 |
/* Check against locally configured IP addresses, which will catch when someone |
167 | 167 |
port forwards WebGUI access from WAN to an internal IP on the router. */ |
168 |
global $FilterIflist; |
|
168 |
global $FilterIflist, $nifty_background;
|
|
169 | 169 |
$local_ip = false; |
170 | 170 |
if(strstr($_SERVER['HTTP_HOST'], ":")) { |
171 | 171 |
$http_host_port = explode(":", $_SERVER['HTTP_HOST']); |
usr/local/www/guiconfig.inc | ||
---|---|---|
281 | 281 |
global $g, $nifty_redbox, $nifty_blackbox, $nifty_background; |
282 | 282 |
|
283 | 283 |
// Set the Nifty background color if one is not set already (defaults to white) |
284 |
if(!$nifty_background)
|
|
284 |
if($nifty_background == "")
|
|
285 | 285 |
$nifty_background = "#FFF"; |
286 | 286 |
|
287 | 287 |
if(stristr($msg, "apply") != false || stristr($msg, "save") != false || stristr($msg, "create") != false) { |
... | ... | |
335 | 335 |
</table> |
336 | 336 |
<script type="text/javascript"> |
337 | 337 |
NiftyCheck(); |
338 |
Rounded("div#redbox","all","#{$nifty_background}","{$nifty_redbox}","smooth");
|
|
339 |
Rounded("td#blackbox","all","#{$nifty_background}","{$nifty_blackbox}","smooth");
|
|
338 |
Rounded("div#redbox","all","{$nifty_background}","{$nifty_redbox}","smooth"); |
|
339 |
Rounded("td#blackbox","all","{$nifty_background}","{$nifty_blackbox}","smooth"); |
|
340 | 340 |
</script> |
341 | 341 |
EOFnp; |
342 | 342 |
|
Also available in: Unified diff
No need to use # in color code, it's already set with this