openid settings appearing when disabled, don't tag numbers, install admin not getting set

This commit is contained in:
Friendika 2011-07-12 23:14:38 -07:00
parent 706b6e8c84
commit 74a608e1c7
5 changed files with 9 additions and 4 deletions

View file

@ -140,7 +140,7 @@ function install_content(&$a) {
'$dbpass' => notags(trim($_POST['dbpass'])),
'$dbdata' => notags(trim($_POST['dbdata'])),
'$phpath' => $phpath,
'$adminemail' => notags(trim($_POST['adminemail']))
'$adminmail' => notags(trim($_POST['adminmail']))
));
return $o;

View file

@ -490,6 +490,7 @@ function settings_content(&$a) {
'$h_pass' => t('Password Settings'),
'$password1'=> array('npassword', t('New Password:'), '', ''),
'$password2'=> array('confirm', t('Confirm:'), '', t('Leave password fields blank unless changing')),
'$oid_enable' => (! get_config('system','no_openid')),
'$openid' => $openid_field,
'$h_basic' => t('Basic Settings'),