2013-03-15 04:16:07 +00:00
|
|
|
|
<?php
|
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
|
$this->headTitle('我的账户');
|
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
|
$this->theme->AppendPlus($this,'colorbox');
|
|
|
|
|
?>
|
2013-04-07 08:41:10 +00:00
|
|
|
|
<div class="row">
|
2013-03-15 04:16:07 +00:00
|
|
|
|
<div class="span3">
|
|
|
|
|
<div class="well sidebar-nav">
|
|
|
|
|
<?= $this->partial('account/left.phtml'); ?>
|
|
|
|
|
</div><!--/.well -->
|
|
|
|
|
</div><!--/span-->
|
|
|
|
|
<div class="span9">
|
|
|
|
|
<h3>修改安全性设置</h3>
|
|
|
|
|
<hr />
|
|
|
|
|
<?php if(!empty($this->msg)) { ?>
|
|
|
|
|
<?php if(!empty($this->jump_url)) {?>
|
|
|
|
|
<div class="alert <?= $this->AlertType;?>">
|
|
|
|
|
<a data-dismiss="alert" class="close">×</a>
|
|
|
|
|
<?php echo $this->msg ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php if(!empty($this->jump_url)) { ?>
|
|
|
|
|
<br /><a href="<?= $this->jump_url ?>">如果页面没有自动跳转请点击这里</a>
|
|
|
|
|
<script language="javascript">setTimeout("self.location='<?php echo $this->jump_url ?>'",3000);</script>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<?php }else{?>
|
|
|
|
|
<?php if(!empty($this->error)) { ?>
|
|
|
|
|
<div class="alert alert-block alert-error fade in" id="Alert-error-box">
|
|
|
|
|
<a class="close" data-dismiss="alert" href="#">×</a>
|
|
|
|
|
<?php if(!is_array($this->error)) { ?><h4 class="alert-heading"><?= $this->error ?></h4><?php } else { ?>
|
|
|
|
|
<ul>
|
|
|
|
|
<?php foreach($this->error as $v) { ?>
|
|
|
|
|
<li><?= $v ?></li>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</ul>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<form action="/account/secure" method="post" class="form-horizontal">
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">当前密码</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input name="password" type="password" value="" />
|
|
|
|
|
<span class="help-inline">如果要修改密码,请输入原密码</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">新密码</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input type="password" name="new_password" value="" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">确认新密码</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input type="password" name="new_password_confrim" value="" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-actions">
|
|
|
|
|
<input type="hidden" name="submit" value="submit" />
|
|
|
|
|
<button type="submit" class="btn btn-primary">确定</button>
|
|
|
|
|
<button type="button" class="btn">取消</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
<?php }?>
|
|
|
|
|
</div><!--/span-->
|
|
|
|
|
</div><!--/row-->
|