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 />
|
2013-05-09 03:53:27 +00:00
|
|
|
<div class="tabbable">
|
|
|
|
<ul class="nav nav-tabs">
|
|
|
|
<li <?php if($this->section == "email" || empty($this->section)) echo 'class="active"'?>><a href="#tab2" data-toggle="tab">电子邮箱</a></li>
|
|
|
|
<li <?php if($this->section == "password") echo 'class="active"'?>><a href="#tab3" data-toggle="tab">修改密码</a></li>
|
|
|
|
</ul>
|
2013-03-15 04:16:07 +00:00
|
|
|
<?php if(!empty($this->error)) { ?>
|
2013-05-09 03:53:27 +00:00
|
|
|
<?= $this->error ?>
|
2013-03-15 04:16:07 +00:00
|
|
|
<?php } ?>
|
2013-05-09 03:53:27 +00:00
|
|
|
<div class="tab-content">
|
|
|
|
<div class="tab-pane <?php if($this->section == "email" || empty($this->section)) echo 'active'?>" id="tab2">
|
|
|
|
<div id="email">
|
|
|
|
<form id="opt_email" action="/account/secure/opt/email" method="post" class="form-horizontal">
|
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label">Email:</label>
|
|
|
|
<div class="controls">
|
|
|
|
<input type="text" value="" name="email" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label">密码:</label>
|
|
|
|
<div class="controls">
|
|
|
|
<input type="password" name="password" />
|
|
|
|
<span class="help-inline">如果要修改邮箱,请输入原密码</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
|
|
<input type="hidden" name="submit" value="submit" />
|
|
|
|
<button type="submit" class="btn btn-green" class="btn btn-primary">保存</button>
|
|
|
|
<button type="reset" id="reset" class="btn">取消</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
2013-03-15 04:16:07 +00:00
|
|
|
</div>
|
2013-05-09 03:53:27 +00:00
|
|
|
</div><!-- tab2 -->
|
|
|
|
<div class="tab-pane <?php if($this->section == "password") echo 'active'?>" id="tab3">
|
|
|
|
<div id="password">
|
|
|
|
<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>
|
2013-03-15 04:16:07 +00:00
|
|
|
</div>
|
2013-05-09 03:53:27 +00:00
|
|
|
</div>
|
2013-03-15 04:16:07 +00:00
|
|
|
</div><!--/span-->
|
2013-05-09 03:53:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div><!--/row-->
|