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

40 lines
1.5 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 id="leftPanel">
<?= $this->partial('sys/left.phtml'); ?>
</div>
<div id="rightPanel">
<h3>邮件模板编辑</h3>
<form name="form" method="post" action="/admin/sys/emailtext/">
<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'];?>" />
<fieldset>
<p>
<label class="required">模板标识文字</label>
<input type="text" id="template" value="<?php echo $this->info['template'];?>" name="template"/>
</p>
<p>
<label class="required">邮件主题</label>
<input type="text" id="title" value="<?php echo $this->info['subject'];?>" name="title"/>
</p>
<p>
<label for="body">模板内容</label><br/>
<textarea id="body" class="emailtext" name="body"><?php echo $this->info['body'];?></textarea>
</p>
<p class="box"><input type="submit" id="submit" class="btn btn-green big" value="提交"/> or <input type="reset" class="btn" value="重置"/></p>
</fieldset>
</form>
</div>