diff options
author | Sander van Leeuwen <sander@react.nl> | 2015-01-16 16:11:09 +0100 |
---|---|---|
committer | Sander van Leeuwen <sander@react.nl> | 2015-01-16 16:11:09 +0100 |
commit | 45eebe10a93fa1e2399c6cdf133ad88dc21ee6e7 (patch) | |
tree | 1e12324af830a7b332c79a7a9249e940e685815e /usr/local/www/guiconfig.inc | |
parent | fd607d14bbffcb5b1e8238393f47903f564d1877 (diff) | |
download | pfsense-45eebe10a93fa1e2399c6cdf133ad88dc21ee6e7.zip pfsense-45eebe10a93fa1e2399c6cdf133ad88dc21ee6e7.tar.gz |
Style page header & footer
head.inc - Wrap header elements (title, breadcrumb)
guiconfig.inc - Prefix breadcrumb with title h1
pfSense.css - Styling for header and footer
Diffstat (limited to 'usr/local/www/guiconfig.inc')
-rw-r--r-- | usr/local/www/guiconfig.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index a18e8e6..1ea8f22 100644 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -509,7 +509,9 @@ function gentitle($title) { function genhtmltitle($title) { if(!is_array($title)) - return $title; + return '<h1 class="page-header">' . $title . '</h1>'; + + $heading = '<h1 class="page-header">' . end($title) . '</h1>'; $bc = '<ol class="breadcrumb">'; @@ -518,7 +520,7 @@ function genhtmltitle($title) { $bc .= '</ol>'; - return $bc; + return $heading . $bc; } /* update the changedesc and changecount(er) variables */ |