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; diff --git a/template/yoga/admin/cat_list.tpl b/template/yoga/admin/cat_list.tpl index 6b59afb03..eac26fa78 100644 --- a/template/yoga/admin/cat_list.tpl +++ b/template/yoga/admin/cat_list.tpl @@ -11,17 +11,17 @@
  • diff --git a/template/yoga/admin/cat_modify.tpl b/template/yoga/admin/cat_modify.tpl index 678bef349..d64df4960 100644 --- a/template/yoga/admin/cat_modify.tpl +++ b/template/yoga/admin/cat_modify.tpl @@ -4,16 +4,16 @@

    {CATEGORIES_NAV}

    @@ -113,7 +113,7 @@ - {lang:Random picture} + {lang:Random picture} diff --git a/template/yoga/admin/group_list.tpl b/template/yoga/admin/group_list.tpl index 4344c10da..480307d2f 100644 --- a/template/yoga/admin/group_list.tpl +++ b/template/yoga/admin/group_list.tpl @@ -19,8 +19,8 @@ {group.NAME} {group.MEMBERS} - permissions - delete + permissions + delete diff --git a/template/yoga/admin/picture_modify.tpl b/template/yoga/admin/picture_modify.tpl index 46abed7b0..44564486a 100644 --- a/template/yoga/admin/picture_modify.tpl +++ b/template/yoga/admin/picture_modify.tpl @@ -5,9 +5,9 @@
    diff --git a/template/yoga/admin/user_list.tpl b/template/yoga/admin/user_list.tpl index ad6b18678..67e8b131b 100644 --- a/template/yoga/admin/user_list.tpl +++ b/template/yoga/admin/user_list.tpl @@ -85,7 +85,7 @@ {user.EMAIL} {user.GROUPS} - {L_PERMISSIONS} + {L_PERMISSIONS} diff --git a/template/yoga/category.tpl b/template/yoga/category.tpl index 96744606d..d728e8856 100644 --- a/template/yoga/category.tpl +++ b/template/yoga/category.tpl @@ -94,10 +94,10 @@

    {TITLE}

    diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl index 98704466c..8aecc0262 100644 --- a/template/yoga/picture.tpl +++ b/template/yoga/picture.tpl @@ -26,7 +26,7 @@ {L_ADMIN} - {lang:caddie} + {lang:caddie}