mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: Make pass use a password field, dont require call by reference (merged from r72930)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92259 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
87e1454cd2
commit
143dae483f
@ -46,6 +46,10 @@
|
|||||||
Please see below for details.<br />
|
Please see below for details.<br />
|
||||||
If you are having problems meeting the requirements, see the <a href="http://doc.silverstripe.org/doku.php?id=server-requirements">server requirements wiki page</a>.
|
If you are having problems meeting the requirements, see the <a href="http://doc.silverstripe.org/doku.php?id=server-requirements">server requirements wiki page</a>.
|
||||||
</p>
|
</p>
|
||||||
|
<?php } else if(!$adminConfig['username'] || !$adminConfig['password']) { ?>
|
||||||
|
<p class="warning">
|
||||||
|
Please fill in a username and password for the admin account to install.
|
||||||
|
</p>
|
||||||
<?php } else if(!$dbReq->hasErrors()) { ?>
|
<?php } else if(!$dbReq->hasErrors()) { ?>
|
||||||
<p class="good">
|
<p class="good">
|
||||||
You're ready to install!
|
You're ready to install!
|
||||||
@ -123,7 +127,7 @@
|
|||||||
<label for="admin_username">Administrator email:</label>
|
<label for="admin_username">Administrator email:</label>
|
||||||
<span class="middleColumn"><input type="text" class="text" name="admin[username]" id="admin_username" value="<?php echo $adminConfig['username']; ?>" /></span>
|
<span class="middleColumn"><input type="text" class="text" name="admin[username]" id="admin_username" value="<?php echo $adminConfig['username']; ?>" /></span>
|
||||||
<label for="admin_password">Administrator password:</label>
|
<label for="admin_password">Administrator password:</label>
|
||||||
<span class="middleColumn"><input type="text" class="text" name="admin[password]" id="admin_password" value="<?php echo $adminConfig['password']; ?>" /></span>
|
<span class="middleColumn"><input type="password" class="text" name="admin[password]" id="admin_password" value="<?php echo $adminConfig['password']; ?>" /></span>
|
||||||
<label for="admin_firstname">Administrator first name:</label>
|
<label for="admin_firstname">Administrator first name:</label>
|
||||||
<span class="middleColumn"><input type="text" class="text" name="admin[firstname]" id="admin_firstname" value="<?php echo $adminConfig['firstname']; ?>" /></span>
|
<span class="middleColumn"><input type="text" class="text" name="admin[firstname]" id="admin_firstname" value="<?php echo $adminConfig['firstname']; ?>" /></span>
|
||||||
<label for="admin_surname">Administrator surname:</label>
|
<label for="admin_surname">Administrator surname:</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user