mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)}
|
||||
|
||||
Reference in New Issue
Block a user