* [FIX] Fixed installer issue.

* [FIX] Fixed mail form issue.
* [MOD] Installer UI Tweaks.
This commit is contained in:
nuxsmin
2015-08-06 00:31:43 +02:00
parent 43faa5f727
commit 41835698c8
7 changed files with 22 additions and 17 deletions

View File

@@ -378,7 +378,7 @@ class AccountSearch
. $queryLimit . ' ';
// print_r($query);
error_log($query);
// error_log($query);
// Obtener el número total de cuentas visibles por el usuario
DB::setFullRowCount();

View File

@@ -489,7 +489,7 @@ class Installer
Config::setArrConfigValue('lastupdatempass', time());
Config::writeConfigDb(true);
if (!UserUtil::updateUserMPass($User->getUserId(), $User->getUserPass(), self::$_masterPassword)) {
if (!$User->updateUserMPass(self::$_masterPassword)) {
self::rollback();
throw new SPException(SPException::SP_CRITICAL

View File

@@ -669,7 +669,7 @@ class Util
{
$appinfo = array(
'appname' => 'sysPass',
'appdesc' => 'Sysadmin Password Manager',
'appdesc' => 'Systems Password Manager',
'appwebsite' => 'http://www.syspass.org',
'appblog' => 'http://www.cygnux.org',
'appdoc' => 'http://wiki.syspass.org',

View File

@@ -24,6 +24,7 @@ CREATE TABLE `accFiles` (
`accfile_size` int(11) NOT NULL,
`accfile_content` mediumblob NOT NULL,
`accfile_extension` varchar(10) NOT NULL,
`accFile_thumb` LONGBLOB,
PRIMARY KEY (`accfile_id`),
KEY `IDX_accountId` (`accfile_accountId`)
) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;

View File

@@ -1611,9 +1611,9 @@ fieldset.warning a {
text-align: center;
color: #a9a9a9;
letter-spacing: 3px;
box-shadow: 0px 8px 6px -6px #a9a9a9;
-webkit-box-shadow: 0px 8px 6px -6px #a9a9a9;
-moz-box-shadow: 0px 8px 6px -6px #a9a9a9;
box-shadow: 0px 8px 6px -6px rgba(83, 109, 254, .3);
-webkit-box-shadow: 0px 8px 6px -6px rgba(83, 109, 254, .3);
-moz-box-shadow: 0px 8px 6px -6px rgba(83, 109, 254, .3);
}
#actions #logo img {
@@ -1624,7 +1624,7 @@ fieldset.warning a {
position: relative;
top: 30px;
left: -100px;
text-shadow: 3px 3px #fff;
color: rgb(96, 125, 139);
}
#actions ul.errors {
@@ -1670,7 +1670,7 @@ fieldset.warning a {
}
#actions form {
width: 400px;
width: 450px;
margin: 0 auto;
text-align: left;
}
@@ -1678,13 +1678,18 @@ fieldset.warning a {
#actions form fieldset legend {
width: 100%;
margin-top: 1em;
font-weight: bold;
color: rgb(96, 125, 139);
text-shadow: 0 1px 0 white;
/*color: rgb(96, 125, 139);*/
color: #fff;
/*text-shadow: 0 1px 0 white;*/
font-size: 14px;
text-align: left;
border-bottom: 2px solid rgb(96, 125, 139);
font-weight: bold;
text-align: center;
/*border-bottom: 2px solid rgb(96, 125, 139);*/
background-color: rgb(96, 125, 139);
margin-bottom: 1em;
border-radius: 5px;
letter-spacing: .2em;
padding: .2em 0;
}
#actions div.buttons {

View File

@@ -1,7 +1,7 @@
<div id="actions" class="installer" align="center">
<div id="logo">
<img src="imgs/logo_full.png" alt="sysPass logo"/>
<span ID="pageDesc"><?php echo _('Instalación ') . ' ' . $version; ?></span>
<img src="<?php echo $logo; ?>" alt="sysPass logo"/>
<span id="pageDesc"><?php echo _('Instalación ') . ' ' . $version; ?></span>
</div>
<?php if (count($errors) > 0): ?>
@@ -89,7 +89,6 @@
<label class="mdl-textfield__label"
for="dbpass"><?php echo _('Clave acceso BBDD'); ?></label>
</div>
<i class="showpass material-icons" title="<?php echo _('Mostrar Clave'); ?>">remove_red_eye</i>
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input id="dbname" name="dbname" type="text" required class="mdl-textfield__input fg-blue100"

View File

@@ -140,7 +140,7 @@
</form>
<div class="action">
<button form="frbMail"
<button form="frmMail"
class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored bg-green80"
title="<?php echo _('Guardar'); ?>">
<i class="material-icons">save</i>