westdc-zf1/application/admin/views/scripts/sys/emailtextedit.phtml

50 lines
2.4 KiB
PHTML

<?php
$this->headTitle($this->config->title->site);
$this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb('<a href="/admin/sys">系统管理</a>');
$this->breadcrumb('邮件模板管理');
$this->breadcrumb()->setSeparator(' > ');
?>
<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>
</div>