summaryrefslogtreecommitdiffstats
path: root/usr/local/www/head.inc
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2012-09-16 12:17:17 +0200
committerPiBa-NL <pba_2k3@yahoo.com>2012-09-16 12:17:17 +0200
commitf06f7cc0c2051e3e5e507d6b95583fcc32b7890e (patch)
tree4849c0ed7aa9b7295d02683bad8dc2c4175e7aae /usr/local/www/head.inc
parent32f8552e8a3fc10ef8dec0f325189e4fcc295fcf (diff)
downloadpfsense-f06f7cc0c2051e3e5e507d6b95583fcc32b7890e.zip
pfsense-f06f7cc0c2051e3e5e507d6b95583fcc32b7890e.tar.gz
(line endings UNIX format..)
Firewall log alternating colored rows Firewall log sortable Fixed several sorting issues in widgets and other pages Sorting now possible on multiple rows in the header tables Sorting now possible for text that starts with IPv4:port
Diffstat (limited to 'usr/local/www/head.inc')
-rwxr-xr-xusr/local/www/head.inc10
1 files changed, 9 insertions, 1 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc
index 6301d14..e73ab0a 100755
--- a/usr/local/www/head.inc
+++ b/usr/local/www/head.inc
@@ -33,7 +33,15 @@ $pagetitle = gentitle( $pgtitle );
<title><?php echo($config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pagetitle); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="apple-touch-icon" href="/themes/<?php echo $g['theme']; ?>/apple-touch-icon.png"/>
- <?php if (strpos($_SERVER["SCRIPT_FILENAME"], "wizard.php") !== false &&
+ <?php
+ if (file_exists("{$g['www_path']}/themes/{$g['theme']}/table.css")):
+ echo "<link rel=\"stylesheet\" href=\"/themes/{$g['theme']}/table.css\" />";
+ else:
+ echo "<link rel=\"stylesheet\" href=\"/css/table.css\" media=\"all\" />";
+ endif;
+ ?>
+
+ <?php if (strpos($_SERVER["SCRIPT_FILENAME"], "wizard.php") !== false &&
file_exists("{$g['www_path']}/themes/{$g['theme']}/wizard.css")): ?>
<?php echo "<style type=\"text/css\" src=\"/themes/{$g['theme']}/wizard.css\"></style>"; ?>
<?php else: ?>
OpenPOWER on IntegriCloud