📄 %%00^009^009ff66c%%news_edit.tpl.html.php
字号:
<?php /* Smarty version 2.6.19, created on 2008-07-28 09:42:36 compiled from news_edit.tpl.html */ ?><form action="index.php" method="post" onsubmit="return sbcheck(this);">
<table width="100%" border="0" cellspacing="1" cellpadding="8" class="fdsmain">
<tr>
<td width="150" align="right">News Title * </td>
<td class="editArea"><input type="text" name="newsTitle" value="<?php echo $this->_tpl_vars['ONE']['nTitle']; ?>" size="40"></td>
</tr>
<tr>
<td align="right">News Keywords </td>
<td class="editArea"><input type="text" name="newsKeywords" value="<?php echo $this->_tpl_vars['ONE']['nKeywords']; ?>" size="40"></td>
</tr>
<tr>
<td align="right">News Description </td>
<td class="editArea"><input type="text" name="newsDescription" value="<?php echo $this->_tpl_vars['ONE']['nDescription']; ?>" size="40"></td>
</tr>
<tr>
<td align="right">News Content * </td>
<td class="editArea"><?php echo $this->_tpl_vars['ONE']['nContent']; ?></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" value=" Save News "> <input type="checkbox" name="newsShow" id="newsShow"<?php if ($this->_tpl_vars['ONE']['nShow'] == 1): ?> checked<?php endif; ?>> <label for="newsShow">Checked to set it visible.</label></td>
</tr>
</table>
<input type="hidden" name="id" value="<?php echo $this->_tpl_vars['ONE']['ID']; ?>">
<input type="hidden" name="cate" value="save">
<input type="hidden" name="action" value="news">
</form>
<script>
function sbcheck(form){
if(form.newsTitle.value==''){
alert('News title can not be empty.');
form.newsTitle.focus();
return false;
}
var oEditor = FCKeditorAPI.GetInstance('newsContent');
if(oEditor.GetXHTML()==''){
alert('News content can not be empty.');
oEditor.Focus();
return false;
}
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -