?? field_add_form.inc.php
字號:
<table cellpadding="2" cellspacing="1" onclick="javascript:$('#minlength').val(0);$('#maxlength').val(255);">
<tr>
<td>選項列表</td>
<td><textarea name="setting[options]" rows="2" cols="20" id="options" style="height:100px;width:200px;">選項名稱1|選項值1</textarea></td>
</tr>
<tr>
<td>選項類型</td>
<td>
<input type="radio" name="setting[boxtype]" value="radio" checked onclick="$('#setcols').show();$('#setsize').hide();"/> 單選按鈕 <br />
<input type="radio" name="setting[boxtype]" value="checkbox" onclick="$('#setcols').show();$('setsize').hide();"/> 復選框 <br />
<input type="radio" name="setting[boxtype]" value="select" onclick="$('#setcols').hide();$('setsize').show();" /> 下拉框 <br />
<input type="radio" name="setting[boxtype]" value="multiple" onclick="$('#setcols').hide();$('setsize').show();" /> 多選列表框
</td>
</tr>
<tbody id="setcols" style="display:block">
<tr>
<td>字段類型</td>
<td>
<select name="setting[fieldtype]">
<option value="CHAR">定長字符 CHAR</option>
<option value="VARCHAR">變長字符 VARCHAR</option>
<option value="TINYINT">整數 TINYINT(3)</option>
<option value="SMALLINT">整數 SMALLINT(5)</option>
<option value="MEDIUMINT">整數 MEDIUMINT(8)</option>
<option value="INT">整數 INT(10)</option>
</select>
</td>
</tr>
<tr>
<td>列數</td>
<td><input type="text" name="setting[cols]" value="5" size="5"> 每行顯示的選項個數</td>
</tr>
<tr>
<td>每列寬度</td>
<td><input type="text" name="setting[width]" value="80" size="5"> px</td>
</tr>
</tbody>
<tbody id="setsize" style="display:none">
<tr>
<td>高度</td>
<td><input type="text" name="setting[size]" value="1" size="5"> 行</td>
</tr>
</tbody>
<tr>
<td>默認值</td>
<td><input type="text" name="setting[defaultvalue]" size="40"></td>
</tr>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -