From 7491e3c44affb89fe28030f8759283bc1b4aa291 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 23 Nov 2008 16:51:06 +0000 Subject: 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. --- core/config/config.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'core/config') diff --git a/core/config/config.php b/core/config/config.php index 9fe668b8..745fd76b 100644 --- a/core/config/config.php +++ b/core/config/config.php @@ -135,3 +135,12 @@ $config['modules'] = array MODPATH . 'atom', MODPATH . 'search' ); + +/** + * Set the global site title. + * Valid values are: + * FALSE: Use the default, which is the album or image title + * A string value that ends with '-' will append the string befor the default value + * A string value without a trailing '-' will replace the default value. + */ +$config['site_title'] = "Gallery3 Rocks"; -- cgit v1.2.3