* adjust for admin page.
This commit is contained in:
@@ -11,27 +11,29 @@
|
||||
*/
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<div class='container mw-700px' id='checkEmail'>
|
||||
<div id='titlebar'>
|
||||
<div class='heading'><strong><?php echo $lang->admin->certifyEmail;?></strong></div>
|
||||
<div id='mainContent' class='main-content'>
|
||||
<div class='center-block mw-700px' id='checkEmail'>
|
||||
<div class='main-header'>
|
||||
<h2><?php echo $lang->admin->certifyEmail;?></h2>
|
||||
</div>
|
||||
<form method='post' target='hiddenwin'>
|
||||
<table class='table table-form'>
|
||||
<tr>
|
||||
<th><?php echo $lang->user->email;?></th>
|
||||
<td><?php echo html::input('email', $email, "class='form-control' autocomplete='off'");?></td>
|
||||
<td><?php echo html::a(inlink('ajaxsendcode', 'type=email'), $lang->admin->getCaptcha, '', "id='codeSender' class='btn'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->admin->captcha;?></th>
|
||||
<td><?php echo html::input('captcha', '', "class='form-control' autocomplete='off'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td><?php echo html::submitButton();?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<form method='post' target='hiddenwin'>
|
||||
<table class='table table-form'>
|
||||
<tr>
|
||||
<th><?php echo $lang->user->email;?></th>
|
||||
<td><?php echo html::input('email', $email, "class='form-control' autocomplete='off'");?></td>
|
||||
<td><?php echo html::a(inlink('ajaxsendcode', 'type=email'), $lang->admin->getCaptcha, '', "id='codeSender' class='btn'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->admin->captcha;?></th>
|
||||
<td><?php echo html::input('captcha', '', "class='form-control' autocomplete='off'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td><?php echo html::submitButton();?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<script>
|
||||
$(function()
|
||||
@@ -48,11 +50,11 @@ $(function()
|
||||
$('#codeSender').popover({trigger:'manual', content:response.message, placement:'right'}).popover('show');
|
||||
$('#codeSender').next('.popover').addClass('popover-success');
|
||||
function distroy(){$('#codeSender').popover('destroy')}
|
||||
setTimeout(distroy,2000);
|
||||
setTimeout(distroy, 2000);
|
||||
}
|
||||
else
|
||||
{
|
||||
bootbox.alert(response.message);
|
||||
alert(response.message);
|
||||
}
|
||||
}, 'json')
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user