Revision 45eebe10
Added by Sander van Leeuwen over 10 years ago
usr/local/www/guiconfig.inc | ||
---|---|---|
509 | 509 |
|
510 | 510 |
function genhtmltitle($title) { |
511 | 511 |
if(!is_array($title)) |
512 |
return $title; |
|
512 |
return '<h1 class="page-header">' . $title . '</h1>'; |
|
513 |
|
|
514 |
$heading = '<h1 class="page-header">' . end($title) . '</h1>'; |
|
513 | 515 |
|
514 | 516 |
$bc = '<ol class="breadcrumb">'; |
515 | 517 |
|
... | ... | |
518 | 520 |
|
519 | 521 |
$bc .= '</ol>'; |
520 | 522 |
|
521 |
return $bc; |
|
523 |
return $heading . $bc;
|
|
522 | 524 |
} |
523 | 525 |
|
524 | 526 |
/* update the changedesc and changecount(er) variables */ |
Also available in: Unified diff
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