Permalink
Browse files

cosmetics

  • Loading branch information...
1 parent ec6005e commit 5e43cbbadcdb874a7f4c9c357ce7fb4cb68177c8 @julian-git julian-git committed Oct 2, 2012
Showing with 5 additions and 1 deletion.
  1. +1 −0 css/aixada_main.css
  2. +3 −0 install.php
  3. +1 −1 php/ctrl/Install.php
View
@@ -34,6 +34,7 @@ option {padding:1px 5px;}
.noRed {background:#ff7a75;}
.processing {color:black; background:yellow;}
.grayedGreen {color:darkgray; background:lightgray; /*#d2f3d2;*/}
+.fgWhite {color:white;}
.dateNum {font-weight:bold; margin:1px; padding-right:2px;}
.grayed {color:#E1E1E1;}
View
@@ -55,6 +55,7 @@ function callInstall(action, dataSerial) {
$('#' + action + '_result')
.removeClass('noRed')
.removeClass('grayed')
+ .removeClass('fgWhite')
.addClass('okGreen')
.attr({style:'visibility:visible'})
.text(' ok');
@@ -68,6 +69,8 @@ function callInstall(action, dataSerial) {
$('#' + action + '_result')
.text(XMLHttpRequest.responseText)
.addClass('noRed')
+ .removeClass('grayed')
+ .addClass('fgWhite')
.attr({style:'visibility:visible'});
result = 1;
},
View
@@ -188,7 +188,7 @@ function create_config_file($host, $user, $password, $db_name, $language)
$user_password = crypt(get_param('user_password'), 'ax');
$retype_password = crypt(get_param('retype_password'), 'ax');
if ($user_password != $retype_password)
- throw new Exception('Please retype the password for the first user');
+ throw new Exception("The two instances of the password for the first user don't match");
$oper = get_param('oper');
if ($oper=='validate') return 0;

0 comments on commit 5e43cbb

Please sign in to comment.