#include "/jeecms_sys/head.html"/>
<@s.m "global.position"/>: <@s.m "cmsVoteTopic.function"/> - <@s.m "global.edit"/>
" onclick="this.form.action='v_list.do';"/>
<@p.form id="jvForm" action="o_update.do"> <@p.text label="cmsVoteTopic.title" name="title" value=cmsVoteTopic.title required="true" class="required" style="width:400px" maxlength="255"/> <@p.textarea label="cmsVoteTopic.description" name="description" value=cmsVoteTopic.description rows="3" style="width:400px" maxlength="255"/> <@p.td label="cmsVoteTopic.time">
<@s.m "cmsVoteTopic.startTime"/>
<@s.m "cmsVoteTopic.time.help"/>
<@s.m "cmsVoteTopic.endTime"/>
@p.td><@p.tr/> <@p.text label="cmsVoteTopic.repeateHour" name="repeateHour" value=cmsVoteTopic.repeateHour class="digits" maxlength="10" help="cmsVoteTopic.repeateHour.help"/> <@p.radio label="cmsVoteTopic.restrictMember" name="restrictMember" value=cmsVoteTopic.restrictMember list={"true":"global.true","false":"global.false"} help="cmsVoteTopic.restrictMember.help"/> <@p.radio label="cmsVoteTopic.restrictIp" name="restrictIp" value=cmsVoteTopic.restrictIp list={"true":"global.true","false":"global.false"}/> <@p.radio label="cmsVoteTopic.restrictCookie" name="restrictCookie" value=cmsVoteTopic.restrictCookie list={"true":"global.true","false":"global.false"} help="cmsVoteTopic.restrictCookie.help"/> <@p.td label="cmsVoteTopic.multiSelect" required="true">
checked="checked"#if>/><@s.m "cmsVoteTopic.def"/>
checked="checked"#if>/><@s.m "cmsVoteTopic.disabled"/>
@p.td><@p.tr/> <@p.td>
<@s.m "cmsVoteTopic.subTopics"/>
" onclick="addSubTopic();"/>
<#assign total="${cmsVoteTopic.subtopics?size}"/> <#list cmsVoteTopic.subtopics as subTopic>
<@s.m "cmsVoteItem.title"/>:
<@s.m "cmsVoteItem.priority"/>:
<@s.m "cmsVoteTopic.type"/>:
checked="checked"#if>><@s.m "cmsVoteTopic.type.single"/>
checked="checked"#if>><@s.m "cmsVoteTopic.type.mul"/>
checked="checked"#if>><@s.m "cmsVoteTopic.type.text"/>
" onclick="$(this).parent().remove();"/>
<@s.m "cmsVoteTopic.items"/>
disabled="disabled"#if> value="<@s.m "cmsVoteItem.addLines"/>" onclick="addLines(${subTopic_index});"/>
disabled="disabled"#if> value="<@s.m 'cmsVote.item.up'/>">
disabled="disabled"#if> value="<@s.m 'cmsVote.item.down'/>">
"/> <#list subTopic.voteItems as vote>
<@s.m "cmsVoteItem.title"/>:
<@s.m "cmsVoteItem.voteCount"/>:
<@s.m "cmsVoteItem.priority"/>:
" onclick="$(this).parent().remove();"/>
#list>
"/>
#list>
@p.td> <@p.tr/> <@p.td><@p.hidden name="id" value=cmsVoteTopic.id/><@p.submit code="global.submit" onclick="return checkVoteItem()"/> <@p.reset code="global.reset"/>@p.td> @p.form>
<@s.m "cmsVoteItem.title"/>:
<@s.m "cmsVoteItem.priority"/>:
<@s.m "cmsVoteTopic.type"/>:
<@s.m "cmsVoteTopic.type.single"/>
<@s.m "cmsVoteTopic.type.mul"/>
<@s.m "cmsVoteTopic.type.text"/>
" onclick="$(this).parent().remove();"/>
<@s.m "cmsVoteTopic.items"/>
" onclick="addLines({0});"/>
"/>
"/>
<@s.m "cmsVoteItem.title"/>:
<@s.m "cmsVoteItem.voteCount"/>:
<@s.m "cmsVoteItem.priority"/>:
" onclick="$(this).parent().remove();"/>