aboutsummaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-08-30 08:24:42 +0000
committerplegall <plg@piwigo.org>2011-08-30 08:24:42 +0000
commitf8226de8e6940234d53a8799a7f6e30364ce6ce7 (patch)
tree875221468b46cfd20b77ac08f86c2fcb98ee5b4e /install.php
parentf048a51feb11ce077b7cbb1250fc0ce71b8f26df (diff)
feature 2420 added: automatically use the gallery title in the page banner.
Just write %gallery_title% in the page banner (this is written by default). The default gallery title and tagline are now localized. git-svn-id: http://piwigo.org/svn/trunk@12008 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install.php')
-rw-r--r--install.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/install.php b/install.php
index 29b2c86b5..695f2371a 100644
--- a/install.php
+++ b/install.php
@@ -340,6 +340,8 @@ INSERT INTO '.$prefixeTable.'config (param,value,comment)
pwg_query($query);
conf_update_param('piwigo_db_version', get_branch_from_version(PHPWG_VERSION));
+ conf_update_param('gallery_title', l10n('Just another Piwigo gallery'));
+ conf_update_param('page_banner', '<h1>%gallery_title%</h1>'."\n\n<p>".l10n('Welcome to my photo gallery').'</p>');
// fill languages table
foreach ($languages->fs_languages as $language_code => $fs_language)