aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-09-03 20:56:35 +0000
committerplegall <plg@piwigo.org>2005-09-03 20:56:35 +0000
commitc614c0798e96109170d2382121e897cc5b80cb06 (patch)
tree5b2089f26a75c504ed16c5929917a6dfa3712a88 /install
parent9c6f769b9424557f5cda93e6f7f4f1366ad427e7 (diff)
(not in ChangeLog)
- yoga template used for installation and by default in user_infos table - adaptation of yoga template to itself (no use of icons from template default) git-svn-id: http://piwigo.org/svn/trunk@860 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--install.php4
-rw-r--r--install/config.sql2
-rw-r--r--install/phpwebgallery_structure.sql2
3 files changed, 3 insertions, 5 deletions
diff --git a/install.php b/install.php
index 3a7a69ec3..e2c2f5eca 100644
--- a/install.php
+++ b/install.php
@@ -155,8 +155,6 @@ if( !get_magic_quotes_gpc() )
}
//----------------------------------------------------- variable initialization
-$install_style = 'default';
-
// Obtain various vars
$dbhost = (!empty($_POST['dbhost'])) ? $_POST['dbhost'] : 'localhost';
$dbuser = (!empty($_POST['dbuser'])) ? $_POST['dbuser'] : '';
@@ -209,7 +207,7 @@ include( './language/'.$language.'/common.lang.php' );
include( './language/'.$language.'/admin.lang.php' );
include( './language/'.$language.'/install.lang.php' );
//----------------------------------------------------- template initialization
-$template=setup_style($install_style);
+$template=setup_style('yoga');
$template->set_filenames( array('install'=>'install.tpl') );
$step = 1;
//---------------------------------------------------------------- form analyze
diff --git a/install/config.sql b/install/config.sql
index fa27ce1e3..41d109dae 100644
--- a/install/config.sql
+++ b/install/config.sql
@@ -1,7 +1,7 @@
-- initial configuration for PhpWebGallery
INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('default_language','en_UK.iso-8859-1','Default gallery language');
-INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('default_template','default','Default gallery style');
+INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('default_template','yoga','Default gallery style');
INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('default_maxwidth','','maximum width authorized for displaying images');
INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('default_maxheight','','maximum height authorized for the displaying images');
INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('nb_comment_page','10','number of comments to display on each page');
diff --git a/install/phpwebgallery_structure.sql b/install/phpwebgallery_structure.sql
index 5d0bac12a..7662746fd 100644
--- a/install/phpwebgallery_structure.sql
+++ b/install/phpwebgallery_structure.sql
@@ -262,7 +262,7 @@ CREATE TABLE `phpwebgallery_user_infos` (
`expand` enum('true','false') NOT NULL default 'false',
`show_nb_comments` enum('true','false') NOT NULL default 'false',
`recent_period` tinyint(3) unsigned NOT NULL default '7',
- `template` varchar(255) NOT NULL default 'default',
+ `template` varchar(255) NOT NULL default 'yoga',
`registration_date` datetime NOT NULL default '0000-00-00 00:00:00',
UNIQUE KEY `user_infos_ui1` (`user_id`)
) TYPE=MyISAM;