aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-27 20:49:52 +0000
committerplegall <plg@piwigo.org>2010-03-27 20:49:52 +0000
commit2a5529c32f8d40d17c9ce570921d657dba7f64db (patch)
tree3ad1f34533838ed6a8a3c449352f9541e1ba1f8b /admin
parentfcdef8cda7b08a97cafd079d7dea915dc75f2207 (diff)
Simplify installation message, no need to explain the following step, the
"no photo yet" feature makes the explanations useless at this point. .infos admin block is used to display messages, I've set the background transparent here, because it's the only message of the page. Anyway, I don't think using .infos blocks are relevant if that's the only message on the page. git-svn-id: http://piwigo.org/svn/trunk@5408 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/include/functions_install.inc.php1
-rw-r--r--admin/themes/default/template/install.tpl9
2 files changed, 7 insertions, 3 deletions
diff --git a/admin/include/functions_install.inc.php b/admin/include/functions_install.inc.php
index 9aab979c6..fdfeb08d7 100644
--- a/admin/include/functions_install.inc.php
+++ b/admin/include/functions_install.inc.php
@@ -146,7 +146,6 @@ function install_db_connect(&$infos, &$errors)
$pwg_db_link = pwg_db_connect($_POST['dbhost'], $_POST['dbuser'],
$_POST['dbpasswd'], $_POST['dbname']);
- array_push( $infos, l10n('Parameters are correct') );
return true;
}
catch (Exception $e)
diff --git a/admin/themes/default/template/install.tpl b/admin/themes/default/template/install.tpl
index 3a6d1e5c5..31e89ec42 100644
--- a/admin/themes/default/template/install.tpl
+++ b/admin/themes/default/template/install.tpl
@@ -82,6 +82,12 @@ TD {
height: 2.5em;
}
+.infos {
+ background-color:transparent;
+ border:none;
+ color:#999;
+}
+
.sql_content, .infos a {
color: #ff3363;
}
@@ -221,8 +227,7 @@ TD {
</form>
{else}
<p>
- <input type="button" name="Home" value="{'Home'|@translate}" onClick="window.open('index.php');">
- <input type="button" name="Administration" value="{'Administration'|@translate}" onClick="window.open('admin.php');">
+ <input type="button" name="Home" value="{'Visit Gallery'|@translate}" onClick="window.open('index.php');">
</p>
{if !isset($migration)}