From 4bfcf8fdc1f44e6989799408581398c11789241d Mon Sep 17 00:00:00 2001 From: plegall Date: Sun, 26 Dec 2010 23:02:37 +0000 Subject: feature 2086 added: switch installation screen to a clear background theme git-svn-id: http://piwigo.org/svn/trunk@8310 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/clear/images/piwigo_logo_214x100.png | Bin 12154 -> 0 bytes admin/themes/clear/images/piwigo_logo_big.png | Bin 0 -> 6138 bytes admin/themes/default/template/install.tpl | 199 ++++++++++++--------- admin/themes/roma/images/bottom-left-bg.jpg | Bin 9014 -> 0 bytes .../roma/images/piwigo_logo_sombre_214x100.png | Bin 12154 -> 0 bytes admin/themes/roma/images/top-left-bg.jpg | Bin 17092 -> 0 bytes install.php | 2 +- 7 files changed, 112 insertions(+), 89 deletions(-) delete mode 100644 admin/themes/clear/images/piwigo_logo_214x100.png create mode 100644 admin/themes/clear/images/piwigo_logo_big.png delete mode 100644 admin/themes/roma/images/bottom-left-bg.jpg delete mode 100644 admin/themes/roma/images/piwigo_logo_sombre_214x100.png delete mode 100644 admin/themes/roma/images/top-left-bg.jpg diff --git a/admin/themes/clear/images/piwigo_logo_214x100.png b/admin/themes/clear/images/piwigo_logo_214x100.png deleted file mode 100644 index 92770a0d8..000000000 Binary files a/admin/themes/clear/images/piwigo_logo_214x100.png and /dev/null differ diff --git a/admin/themes/clear/images/piwigo_logo_big.png b/admin/themes/clear/images/piwigo_logo_big.png new file mode 100644 index 000000000..814c1c9de Binary files /dev/null and b/admin/themes/clear/images/piwigo_logo_big.png differ diff --git a/admin/themes/default/template/install.tpl b/admin/themes/default/template/install.tpl index d31e6132f..b915ce517 100644 --- a/admin/themes/default/template/install.tpl +++ b/admin/themes/default/template/install.tpl @@ -7,9 +7,11 @@ +{get_combined_css} {foreach from=$themes item=theme} -{if isset($theme.local_head)}{include file=$theme.local_head}{/if} - +{if $theme.load_css} +{combine_css path="admin/themes/`$theme.id`/theme.css" order=-10} +{/if} {/foreach} @@ -52,92 +54,110 @@ $(document).ready(function() { {/literal} Piwigo {$RELEASE} - {'Installation'|@translate} -
{* Dummy block for double background management *}
-

Piwigo {$RELEASE} - {'Installation'|@translate}

+

{'Version'|@translate} {$RELEASE} - {'Installation'|@translate}

{if isset($config_creation_failed)} -
+

{'Creation of config file local/config/database.inc.php failed.'|@translate}

@@ -179,10 +199,10 @@ TD { {if isset($install)}
+
+ {'Basic configuration'|@translate} + - - -
{'Basic configuration'|@translate}
{'Default gallery language'|@translate} @@ -192,13 +212,15 @@ TD {
+
+ +
+ {'Database configuration'|@translate} + - - - {if count($F_DB_ENGINES)>1} - + - + {else} - - - + + + - - - + + + - - - + + + - - - + + + - - - + + +
{'Database configuration'|@translate}
{'Database type'|@translate}{'Database type'|@translate} {'The type of database your piwigo data will be store in'|@translate}{'The type of database your piwigo data will be store in'|@translate} @@ -218,70 +240,71 @@ TD {
+
{'SQLite and PostgreSQL are currently in experimental state.'|@translate} {'Learn more'|@translate} +
{'Host'|@translate}{'localhost, sql.multimania.com, toto.freesurf.fr'|@translate}{'Host'|@translate}{'localhost, sql.multimania.com, toto.freesurf.fr'|@translate}
{'User'|@translate}{'user login given by your host provider'|@translate}{'User'|@translate}{'user login given by your host provider'|@translate}
{'Password'|@translate}{'user password given by your host provider'|@translate}{'Password'|@translate}{'user password given by your host provider'|@translate}
{'Database name'|@translate}{'also given by your host provider'|@translate}{'Database name'|@translate}{'also given by your host provider'|@translate}
{'Database table prefix'|@translate}{'database tables names will be prefixed with it (enables you to manage better your tables)'|@translate}{'Database table prefix'|@translate}{'database tables names will be prefixed with it (enables you to manage better your tables)'|@translate}
+
+
+ {'Admin configuration'|@translate} + - - - - - - + + + - - - + + + - - - + + + - - - + + +
{'Admin configuration'|@translate}
{'Webmaster login'|@translate}{'It will be shown to the visitors. It is necessary for website administration'|@translate}{'Webmaster login'|@translate}{'It will be shown to the visitors. It is necessary for website administration'|@translate}
{'Webmaster password'|@translate}{'Keep it confidential, it enables you to access administration panel'|@translate}{'Webmaster password'|@translate}{'Keep it confidential, it enables you to access administration panel'|@translate}
{'Password [confirm]'|@translate}{'verification'|@translate}{'Password [confirm]'|@translate}{'verification'|@translate}
{'Webmaster mail address'|@translate}{'Visitors will be able to contact site administrator with this mail'|@translate}{'Webmaster mail address'|@translate}{'Visitors will be able to contact site administrator with this mail'|@translate}
- - - - -
- -
+
+ +
+ +
{else}

diff --git a/admin/themes/roma/images/bottom-left-bg.jpg b/admin/themes/roma/images/bottom-left-bg.jpg deleted file mode 100644 index 3d8a5eed2..000000000 Binary files a/admin/themes/roma/images/bottom-left-bg.jpg and /dev/null differ diff --git a/admin/themes/roma/images/piwigo_logo_sombre_214x100.png b/admin/themes/roma/images/piwigo_logo_sombre_214x100.png deleted file mode 100644 index 106f20add..000000000 Binary files a/admin/themes/roma/images/piwigo_logo_sombre_214x100.png and /dev/null differ diff --git a/admin/themes/roma/images/top-left-bg.jpg b/admin/themes/roma/images/top-left-bg.jpg deleted file mode 100644 index 98aa1d6a5..000000000 Binary files a/admin/themes/roma/images/top-left-bg.jpg and /dev/null differ diff --git a/install.php b/install.php index 56f0654a1..b8707655c 100644 --- a/install.php +++ b/install.php @@ -227,7 +227,7 @@ if (version_compare(PHP_VERSION, REQUIRED_PHP_VERSION, '<')) //----------------------------------------------------- template initialization include( PHPWG_ROOT_PATH .'include/template.class.php'); -$template = new Template(PHPWG_ROOT_PATH.'admin/themes', 'roma'); +$template = new Template(PHPWG_ROOT_PATH.'admin/themes', 'clear'); $template->set_filenames( array('install' => 'install.tpl') ); if (!isset($step)) { -- cgit v1.2.3