📄 tpl.html
字号:
{include file="head.html"}
<div class="title">模板添加</div>
<div class="content">
<form name="tplAddForm" action="tpl.php?action=added" method="post">
模板名称:<input id="name" name="name" type="text" size="30" value="tplname" /> 模板的路径为/templates/tplname/ <br>
<input type="submit" value="添加"/>
</form>
</div>
<div class="title">模板列表</div>
<div class="content">
<form name="tplListForm">
<table>
<tr>
<td>选择</td>
<td>ID</td>
<td>名称</td>
<td>添加时间</td>
<td>操作</td>
</tr>
{foreach from=$tpls item=list}
<tr>
<td><input type="checkbox" id="id" value="{$list.id}" /></td>
<td>{$list.id}</td>
<td>{$list.name}</td>
<td>{$list.time}</td>
<td><input value="修改" type="button" onclick="edit('tpl.php','{$list.id}');" /> <input value="删除" onclick="del('tpl.php','{$list.id}')" type="button" /></td>
</tr>
{/foreach}
</table>
<input value="全选" onclick="checkAll('tplListForm')" type="button" /> <input value="取消全选" onclick="cancleAll('tplListForm')" type="button" /> <input type="button" value="删除" onclick="delAll('tplListForm','tpl.php')" />
</form>
</div>
{include file="foot.html"}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -