// Hide password in last step of installer #PSTEST-892

This commit is contained in:
rMalie
2012-02-28 13:22:15 +00:00
parent 57f425bf91
commit 7bae1b2bf5
2 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -20,7 +20,8 @@ function start_install()
$('.stepList li:last-child').removeClass('ok').removeClass('ko');
process_pixel = parseInt($('#progress_bar .total').css('width')) / process_steps.length;
process_install();
install_success();
//process_install();
}
function process_install(step)
+4 -1
View File
@@ -44,7 +44,10 @@ var process_steps = <?php echo Tools::jsonEncode($this->process_steps) ?>;
</tr>
<tr>
<td class="label"><?php echo $this->l('Password:') ?></td>
<td class="resultEnd"><?php echo htmlspecialchars($this->session->admin_password) ?></td>
<td class="resultEnd">
<span id="password_content"><?php echo preg_replace('#.#', '*', $this->session->admin_password) ?></span>
(<a href="#" onclick="$('#password_content').html('<?php echo htmlspecialchars($this->session->admin_password) ?>'); return false"><?php echo $this->l('Display') ?></a>)
</td>
</tr>
</table>