@@ -0,0 +1,38 @@
|
||||
{php include pubTemplate("header_admin")}
|
||||
<script>
|
||||
function insertMenu(){
|
||||
$("#before").before('<tr><td><input name="navname[]" /></td><td><input name="navurl[]" style="width:350px;" /></td><td><input type="checkbox" name="newpage[]" value="1">打开</td></tr>');
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<div class="midder">
|
||||
|
||||
{php include pubTemplate("plugin_menu")}
|
||||
|
||||
<form method="POST" action="{SITE_URL}index.php?app=pubs&ac=plugin&plugin=morenav&in=edit&ts=do">
|
||||
<table class="table table-hover">
|
||||
|
||||
<thead class="thead-light">
|
||||
<tr><th>链接名字</th><th>链接URL</th><th>新页面打开</th></tr>
|
||||
</thead>
|
||||
|
||||
|
||||
<tbody>
|
||||
{loop $arrNav $key $item}
|
||||
<tr><td><input name="navname[]" value="{$item['navname']}" /></td><td><input name="navurl[]" style="width:350px;" value="{$item['navurl']}" /></td><td><input type="checkbox" name="newpage[]" value="1" {if $item['newpage']}checked{/if}>打开</td></tr>
|
||||
{/loop}
|
||||
|
||||
<tr id="before"><td><input type="submit" value="提 交" /></td><td><a href="javascript:void('0');" onclick="insertMenu();">点我增加链接</a>(说明:如需删除某一项,请将要删除的某项清空提交即可。)</td>
|
||||
|
||||
<td></td>
|
||||
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
{php include pubTemplate("footer_admin")}
|
||||
Reference in New Issue
Block a user