<extend name="Public/base" />

<block name="body">
	<link rel="stylesheet" type="text/css" href="__CSS__/admin_table.css" media="all">
    
    <div class="cf main-place top_nav_list navtab_list">
        <h3 class="page_title">{$meta_title}</h3>
        <p class="description_text"></p>
    </div>
    
    <div class="tab-content tabcon1711"> 
    
    <form id="form" action="{:U('edit')}" method="post" class="form-horizontal">
        
        
        <table border="0" cellspacing="0" cellpadding="0">
          <tbody>
            <tr>
                <td class="l noticeinfo">原始网址</td>
                <td class="r table_radio">
                    <input name="full_url" value="{$data.full_url}" type="text" class="">
                    <span class="notice-text">完整url, 如:portal/list/index?id=1</span>
                </td>
            </tr><tr>
                <td class="l noticeinfo">显示网址</td>
                <td class="r table_radio">
                    <input name="url" type="text" value="{$data.url}" class="">
                    <span class="notice-text">实际显示的url</span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">是否启用</td>
                <td class="r table_radio">
                    <span class="form_radio">
                <label><input type="radio" value="0" name="status" <eq name="data.status" value="0">checked</eq> > 禁用</label>
                <label><input type="radio" value="1" name="status" <eq name="data.status" value="1">checked</eq> > 启用
            </label></span>
                    <span class="notice-text">是否启用</span>
                </td>
            </tr>
          </tbody>
        </table>
        <input type='hidden' name="id" value="{$data.id}" >
        <input type="submit" id="submit" value="保存" target-form="form-horizontal" class="submit_btn form_btn ajax-post mlspacing">
        <a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back();" >
              返回
          </a>
    </form>
    
    </div>
		
		<div class="common_settings">
			<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
			<form class="addShortcutIcon">
				<input type="hidden" name="title" value="{$m_title}">
				<input type="hidden" name="url" value="{$m_url}">
			</form>
			<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
		</div>
		
</block>

<block name="script">
	<script type="text/javascript">
		//导航高亮
		highlight_subnav('{:U('Route/lists')}');

		//Think.setValue("module", {$data.module|default = 'media'});

		$('#submit').click(function(){
			$('#form').submit();
		});
	</script>
</block>