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