Support adding custom header/footer text to themes via admin/theme_details

This commit is contained in:
Bharat Mediratta
2009-02-26 02:47:38 +00:00
parent 30fdedfb50
commit 4f77e7bdce
4 changed files with 24 additions and 9 deletions

View File

@@ -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() ?>