mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-11 17:53:50 -04:00
Support adding custom header/footer text to themes via admin/theme_details
This commit is contained in:
@@ -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() ?>
|
||||
|
||||
Reference in New Issue
Block a user