2011-10-12 08:33:46 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle('后台管理');
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
2011-10-12 13:46:43 +00:00
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
2014-07-23 08:38:32 +00:00
|
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/admin/sys">系统管理</a>');
|
2011-10-12 13:46:43 +00:00
|
|
|
$this->breadcrumb('邮件模板管理');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
2011-10-12 08:33:46 +00:00
|
|
|
?>
|
2014-07-23 08:38:32 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
|
|
|
<?= $this->partial('sys/left.phtml'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-10 col-sm-12">
|
|
|
|
<h4>邮件模板编辑</h4>
|
|
|
|
<hr />
|
|
|
|
<form name="form" method="post" action="/admin/sys/emailtext/" class="form-horizontal">
|
|
|
|
<input type="hidden" name="ac" value="edit" />
|
|
|
|
<input type="hidden" name="submit" value="1" />
|
|
|
|
<input type="hidden" name="id" value="<?php echo $this->info['id'];?>" />
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label" for="template">模板标识文字</label>
|
|
|
|
<div class="col-md-4 col-sm-8 col-xs-8">
|
|
|
|
<input type="text" id="template" class="form-control" value="<?php echo $this->info['template'];?>" name="template"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label" for="title">邮件主题</label>
|
|
|
|
<div class="col-md-4 col-sm-8 col-xs-8">
|
|
|
|
<input type="text" id="title" class="form-control" value="<?php echo $this->info['subject'];?>" name="title"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label" for="body">模板内容</label>
|
|
|
|
<div class="col-md-8 col-sm-8 col-xs-8">
|
|
|
|
<textarea id="body" class="form-control" rows="15" name="body"><?php echo $this->info['body'];?></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label" for="body"></label>
|
|
|
|
<div class="col-md-4 col-sm-8 col-xs-8">
|
|
|
|
<input type="submit" id="submit" class="btn btn-primary" value="提交"/>
|
|
|
|
<input type="reset" class="btn btn-danger" value="重置"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2011-10-12 08:33:46 +00:00
|
|
|
</div>
|