diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-18 15:36:13 -0800 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-18 15:36:13 -0800 |
| commit | 26114972c3388f065220b94a0d5962f20a6ccd0c (patch) | |
| tree | b9b15b503bff9bc27492eb11fe656749c626cae8 /themes/wind/views | |
| parent | 1692ee130887a6ad1ba68aa34a96ad36161600f9 (diff) | |
Create theme::get_var(), theme::set_var() methods to set the options of the active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme.
Diffstat (limited to 'themes/wind/views')
| -rw-r--r-- | themes/wind/views/page.html.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index 6056f54e..0025a993 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -77,7 +77,7 @@ <?= $theme->site_status() ?> <div id="g-header" class="ui-helper-clearfix"> <div id="g-banner"> - <? if ($header_text = module::get_var("gallery", "header_text")): ?> + <? if ($header_text = theme::get_var("header_text")): ?> <?= $header_text ?> <? else: ?> <a id="g-logo" class="g-left" href="<?= item::root()->url() ?>" title="<?= t("go back to the Gallery home")->for_html_attr() ?>"> @@ -129,11 +129,11 @@ </div> <div id="g-footer" class="ui-helper-clearfix"> <?= $theme->footer() ?> - <? if ($footer_text = module::get_var("gallery", "footer_text")): ?> + <? if ($footer_text = theme::get_var("footer_text")): ?> <?= $footer_text ?> <? endif ?> - <? if (module::get_var("gallery", "show_credits")): ?> + <? if (theme::get_var("show_credits")): ?> <ul id="g-credits" class="g-inline"> <?= $theme->credits() ?> </ul> |
