<!--{template @admin/header}--> <form action="?mod=widget&code=block&op=add_save_{$class}" method="post" enctype="multipart/form-data"> <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder"> <tr class="header"> <td colspan="2">创建模块 / <a href="?mod=widget&code=block">返回</a></td> </tr> <tr> <td width="10%" bgcolor="#F4F8FC">标记</td> <td> <input name="flag" type="text" class="wchecker" title="widget.~@blocks." /> </td> </tr> <tr> <td width="10%" bgcolor="#F4F8FC">名称</td> <td> <input name="name" type="text" /> </td> </tr> <tr> <td width="10%" bgcolor="#F4F8FC">标题</td> <td><input name="title" type="text" /></td> </tr> <tr> <td width="10%" bgcolor="#F4F8FC">内容</td> <td> <textarea id="content" name="content" style="width:600px;height:200px;">{echo htmlspecialchars($content)}</textarea> </td> </tr> <tr> <td colspan="2" bgcolor="#F4F8FC"> <center> <input type="submit" value="保存" /> </center> </td> </tr> </table> </form>
{~ui('loader')->addon('editor.kind')}
{~ui('loader')->js('#admin/js/widget.checker')}
{template @admin/footer}