49 lines
2.1 KiB
PHTML
49 lines
2.1 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="add" />
|
|
<input type="hidden" name="submit" value="1" />
|
|
<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="" 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="" 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"></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="提交"/>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|