diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-23 16:51:06 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-23 16:51:06 +0000 |
| commit | 7491e3c44affb89fe28030f8759283bc1b4aa291 (patch) | |
| tree | 077c14bcee9f68e80e07c8165dbf11ec41107e43 /themes/default | |
| parent | 7485740d9741021b2016df80b225ae4d82b892d0 (diff) | |
Add a site-config parameter to the config.php file. Created a core_block:head method to insert the title into the head section. If the config value is false, the default Browse Photos::$item->title is used. A string value with a trailing '-' will append the config value to $item-title. Otherwise, the page title is set with the supplied value.
Diffstat (limited to 'themes/default')
| -rw-r--r-- | themes/default/views/page.html.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php index 8a93c9dc..886ecb15 100644 --- a/themes/default/views/page.html.php +++ b/themes/default/views/page.html.php @@ -4,7 +4,6 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title><?= _("Browse Photos") ?> :: <?= $item->title ?></title> <link rel="stylesheet" type="text/css" href="<?= url::file("lib/yui/reset-fonts-grids.css") ?>" media="screen,print,projection" /> <link rel="stylesheet" type="text/css" href="<?= $theme->url("css/screen.css") ?>" @@ -24,7 +23,7 @@ </head> <body> - <?= $theme->page_top() ?> + <?= $theme->page_top() ?> <div id="doc4" class="yui-t5 gView"> <div id="hd"> <div id="gHeader"> |
