⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addquestion.tpl

📁 太烦了
💻 TPL
字号:
{strip}<script type="text/javascript">/* <![CDATA[ */{literal}function dis(){	if(document.addqform.type.value==1)	{		document.addqform.minopt.disabled=true;		document.addqform.showopt.disabled=true;	}		if(document.addqform.type.value==2)	{		document.addqform.minopt.disabled=false;		document.addqform.showopt.disabled=false;	}}{/literal}/* ]]> */</script>{assign var="page_hdr01_text" value='<a href="plugin.php?plugin='|cat:$plugin_name|cat:'" class="subhead">'|cat:$lang.questionnaire_title_management|cat:'</a> > '|cat:$lang.add_question}{include file="admin/admin_page_hdr01.tpl"}<br /><center><table width="100%" border="0" cellpadding="0" cellspacing="0" >	<tr>		<td class="module_detail_inside" width="100%">			{assign var="page_hdr02_text" value=$lang.add_question}			{include file="admin/admin_page_hdr02.tpl"}      {if $error==1}			<font color="{lang mkey='admin_error_color'}" style="margin-left:10px"><b>{$lang.error2}</b></font>      {/if}      <form action="plugin.php?plugin={$plugin_name}&amp;do=addquestion&amp;add=1" name="addqform" method="post" onsubmit="javascript: return checkMe(this);">        <input type="hidden" name="section" value="{$data.sid}" />			<table class="table" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" width="550" border="0">	  		<tbody>    			<tr>	  				<td>{$lang.section}</td>	  				<td>{$data.title}</td>	 			</tr>	 			<tr>	  				<td>{$lang.question}<font color="{lang mkey='required_info_indicator_color'}">{lang mkey='required_info_indicator'}</font></td>	  				<td><textarea name="question" cols="60" rows="3">{$data2.question}</textarea></td>	 			</tr>    			<tr>	  				<td>{$lang.type}</td>	  				<td><select name=type onchange="dis()"><option value='1'>{$lang.questiontype1}</option><option value='2'>{$lang.questiontype2}</option></select></td>	 			</tr>	 			<tr>	  				<td>{$lang.minopt}</td>	  				<td><input type=text size=4 name=minopt {if $data2.type==2}value="{$data2.minopt}"{/if} disabled /></td>	 			</tr>    			<tr>	  				<td>{$lang.maxopt}<font color="{lang mkey='required_info_indicator_color'}">{lang mkey='required_info_indicator'}</font></td>	  				<td><input type=text size=4 name=maxopt value="{$data2.maxopt}" />{$lang.maxopt_two}</td>	 			</tr>    			<tr>	  				<td>{$lang.showopt}</td>	  				<td><input type=text size=4 name=showopt {if $data2.type==2}value="{$data2.showopt}"{/if} disabled /></td>	 			</tr>				<tr>					<td>&nbsp;</td>					<td>						<input type="submit" class="formbutton" value="{$lang.add}" name='edit' />&nbsp;						<input type="reset" class="formbutton" value="{lang mkey='reset'}" />					</td>				</tr>  			</tbody>			</table>      </form>		</td>	</tr></table></center>{/strip}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -