<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<HTML>
<HEAD>
<TITLE> share_add </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<link href="res/css/douya.css" rel="stylesheet" type="text/css">
<script src="res/js/prototype.js"></script>
<script src="res/js/core.js"></script>
<script src="res/js/vf.js"></script>
</HEAD>
<BODY style="padding:5px" class="my">
<form action="?a=admin_share_save" method="POST" name="admin_share_add_form" style="margin:0px">
<div><br/><p class="m">基础设定</p>
&gt; 共享栏目名称<br/>
<input name="dy_module_name" style="width:200px" onmouseover="this.focus()"><br/>
<span class="explain">该栏目的名称,比如 读书 , 电影 , 音乐 </span><br/>

<br/>&gt; 共享内容名称<br/>
<input name="dy_module_content" style="width:200px" onmouseover="this.focus()"><br/>
<span class="explain">用于描述共享内容的简短单词,比如 书籍 , 电影 , 音乐 </span><br/>

<br/>&gt; 共享栏目英文名称<br/>
<input name="dy_module_en_name" style="width:200px" onmouseover="this.focus()" value="<?php echo $m['dy_module_en_name'] ?>"><br/>
<span class="explain">该栏目的英文名称,比如 book , movie , music </span><br/>

<br/>&gt; 个人共享行为名称<br/>
<input name="dy_module_action" style="width:200px" onmouseover="this.focus()"><br/>
<span class="explain">用于描述用户自己共享的内容的简短单词,比如 我读 , 我看 , 我听 </span><br/>

<br/>&gt; 个人状态名称<br/>
<input name="dy_module_state" style="width:300px" onmouseover="this.focus()">&nbsp;&nbsp;<span onclick="javascript:$('dy_module_state').value = $('dy_module_state').value + '|' " style="cursor:pointer">添加分割符</span><br/>
<span class="explain">用于描述用户对该共享内容的行为和状态,比如 想读 , 在读 , 读过;建议使用3个左右,多个状态之间,用 | 隔开 </span><br/>

<h3>共享数据格式设定</h3>
<table border="0" cellspacing="5" cellpadding="5" width="90%">
	<tr style="background-color:#F7F7FB">
		<td>
		英文名称
		</td>
		<td>
		中文名称
		</td>
		<td>
		类型
		</td>
		<td>
		启用
		</td>
		<td>
		唯一
		</td>
		<td>
		必填
		</td>
		<td>
		搜索
		</td>
		<td>
		不可改
		</td>
		<!--<td>
		贡献
		</td>-->
		<td>
		操作
		</td>
	</tr>
	<tr id="line_1">
		<td>
		<input name="fields[dy_en_name][]" onmouseover="this.focus()">
		</td>
		<td>
		<input name="fields[dy_cn_name][]" onmouseover="this.focus()">
		</td>
		<td>
			<select name="fields[dy_type][]" onmouseover="this.focus()">
			<?php echo $html; ?>	
			</select>
		</td>
		<td>
			<select name="fields[dy_is_active][]" onmouseover="this.focus()"><option value="0">否</option><option value="1">是</option>
			</select>
		</td>
		<td>
			<select name="fields[dy_is_unique][]" onmouseover="this.focus()"><option value="0">否</option><option value="1">是</option></select>
		</td>
		<td>
			<select name="fields[dy_not_null][]" onmouseover="this.focus()"><option value="0">否</option><option value="1">是</option></select>
		</td>
		<td>
			<select name="fields[dy_in_search][]" onmouseover="this.focus()"><option value="0">否</option><option value="1">是</option></select>
		</td>
		<td>
			<select name="fields[dy_cannot_modify][]" onmouseover="this.focus()"><option value="0">否</option><option value="1">是</option></select>
		</td>
		<!--<td>
			<select name="fields[dy_can_share][]" onmouseover="this.focus()"><option value="0">否</option><option value="1">是</option></select>
		</td>-->
		<td >
		<input type="button" onclick="removeThisRow(this)" style="cursor:pointer" value="删除">&nbsp;
		<input type="button" onclick="insertUnderThisRow(this)" style="cursor:pointer" value="追加">&nbsp;
		<input type="button" onclick="moveThisRowUp(this)" style="cursor:pointer" value="上移">&nbsp;
		<input type="button" onclick="moveThisRowDown(this)" style="cursor:pointer" value="下移">&nbsp;
		</td>
	</tr>

</table>
<br/><br/><input type="button" value="保存我的设置" onclick="if(vf_check_field_unique('fields[dy_en_name][]' , '英文名')){ submit();}"  class="dbutton">

</div>
</form><?php echo $vf_js; ?>
<br/>
</BODY>
</HTML>