diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-02-26 02:47:38 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-02-26 02:47:38 +0000 |
| commit | 4f77e7bdced8352c458da2b987917e6d3f32d1b8 (patch) | |
| tree | 0bbcd82ca681b3f55273bdaf126556050c4068c4 /themes/default/views/header.html.php | |
| parent | 30fdedfb508392c9f76ff9ae5ccade90a80fc910 (diff) | |
Support adding custom header/footer text to themes via admin/theme_details
Diffstat (limited to 'themes/default/views/header.html.php')
| -rw-r--r-- | themes/default/views/header.html.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php index 110b6c22..40261819 100644 --- a/themes/default/views/header.html.php +++ b/themes/default/views/header.html.php @@ -1,8 +1,12 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <?= $theme->header_top() ?> +<? if ($header_text = module::get_var("core", "header_text")): ?> +<?= $header_text ?> +<? else: ?> <a href="<?= url::site("albums/1") ?>"> <img id="gLogo" alt="<?= t("Logo") ?>" src="<?= $theme->url("images/logo.png") ?>" /> </a> +<? endif ?> <div id="gSiteMenu" style="display: none"> <?= $theme->site_menu() ?> |
