diff --git a/install/config.sql b/install/config.sql index 6bd677fa6..b69a5ca5b 100644 --- a/install/config.sql +++ b/install/config.sql @@ -18,7 +18,7 @@ INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('gallery_title',' INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('gallery_url','http://demo.phpwebgallery.net','URL given in RSS feed'); INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('rate','true','Rating pictures feature is enabled'); INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('rate_anonymous','true','Rating pictures feature is also enabled for visitors'); -INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('page_banner','
My photos web site
My photos web site
','html displayed on the top each page of your gallery'); -- Notification by mail INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('nbm_send_mail_as','','Send mail as param value for notification by mail'); diff --git a/install/db/22.3-database.php b/install/db/22.3-database.php new file mode 100644 index 000000000..89f192383 --- /dev/null +++ b/install/db/22.3-database.php @@ -0,0 +1,51 @@ +PhpWebGallery demonstration siteMy photos web site
\' + WHERE param = \'page_banner\' +;'; +pwg_query($query); + +// +-----------------------------------------------------------------------+ +// | End notification | +// +-----------------------------------------------------------------------+ + +echo +"\n" +.$upgrade_description +."\n" +; +?> diff --git a/install/upgrade_1.5.0.php b/install/upgrade_1.5.0.php index 036472449..5ab450dad 100644 --- a/install/upgrade_1.5.0.php +++ b/install/upgrade_1.5.0.php @@ -394,7 +394,7 @@ SELECT value ;'; list($d) = array_from_query($query, 'value'); -$page_banner=''.$d.'
'.$d.'
'; $page_banner=addslashes($page_banner); $query = ' INSERT INTO '.PREFIX_TABLE.'config diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl index d432d7b63..280d011a2 100644 --- a/template/yoga/header.tpl +++ b/template/yoga/header.tpl @@ -30,4 +30,4 @@ the "text/nonsense" prevents gecko based browsers to load it -->