Minor changes
This commit is contained in:
parent
e01603bf73
commit
a1a4b3f9f0
10
install.php
10
install.php
|
@ -223,7 +223,7 @@ function checkSystem()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Installation function
|
// Installation function
|
||||||
function install($adminPassword, $email, $timezone)
|
function install($adminPassword, $email='', $timezone)
|
||||||
{
|
{
|
||||||
global $Language;
|
global $Language;
|
||||||
|
|
||||||
|
@ -425,7 +425,7 @@ function install($adminPassword, $email, $timezone)
|
||||||
'role'=>'admin',
|
'role'=>'admin',
|
||||||
'password'=>$passwordHash,
|
'password'=>$passwordHash,
|
||||||
'salt'=>$salt,
|
'salt'=>$salt,
|
||||||
'email'=>$email,
|
'email'=>'',
|
||||||
'registered'=>$currentDate,
|
'registered'=>$currentDate,
|
||||||
'tokenRemember'=>'',
|
'tokenRemember'=>'',
|
||||||
'tokenAuth'=>$tokenAuth,
|
'tokenAuth'=>$tokenAuth,
|
||||||
|
@ -648,12 +648,6 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
|
||||||
<input name="password" id="jspassword" type="password" class="uk-width-1-1 uk-form-large" value="<?php echo isset($_POST['password'])?$_POST['password']:'' ?>" placeholder="<?php echo $Language->get('Password') ?>">
|
<input name="password" id="jspassword" type="password" class="uk-width-1-1 uk-form-large" value="<?php echo isset($_POST['password'])?$_POST['password']:'' ?>" placeholder="<?php echo $Language->get('Password') ?>">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--
|
|
||||||
<div class="uk-form-row">
|
|
||||||
<input name="email" id="jsemail" type="text" class="uk-width-1-1 uk-form-large" placeholder="<?php echo $Language->get('Email') ?>" autocomplete="off" maxlength="100">
|
|
||||||
</div>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<div class="uk-form-row">
|
<div class="uk-form-row">
|
||||||
<button type="submit" class="uk-width-1-1 uk-button uk-button-primary uk-button-large"><?php $Language->p('Install') ?></button>
|
<button type="submit" class="uk-width-1-1 uk-button uk-button-primary uk-button-large"><?php $Language->p('Install') ?></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue