<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewsInfoEdit.aspx.cs" Inherits="CY.WebForm.Pages.InfoManage.NewsInfoEdit" ValidateRequest="false"%>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head runat="server">
|
<title>新增/修改新闻信息</title>
|
<uc:CMSHead ID="CMSHead1" runat="server" />
|
<script type="text/javascript">
|
KindEditor.ready(function (K) {
|
window.EditorObject = K.create('textarea[ID="txtInfoContent"]', {
|
resizeType: 1,
|
allowPreviewEmoticons: false,
|
allowImageUpload: true,
|
uploadJson: '/Pages/common/CommonAjax.aspx?dateType=editerUploadImage',
|
fileManagerJson: '/Pages/common/CommonAjax.aspx?dateType=editerProcessRequest',
|
allowFileManager: true,
|
themeType: 'simple'
|
});
|
});
|
</script>
|
</head>
|
<body>
|
<form runat="server" id="form1" class="form">
|
<table class="tableStyle">
|
<tr>
|
<td class="ali03 w100px">信息标题:</td><td colspan="3"><input type="text" id="txtTitle" runat="server" class="req w200px" maxlength="50" /></td>
|
</tr>
|
<tr style=" display:none;">
|
<td class="ali03 w100px">标题颜色:</td><td class="w200px"><select id="selTitle_Color" runat="server" keepDefaultStyle='true'></select></td>
|
<td class="ali03 w100px">是否加粗:</td><td ><select id="selTitle_Bold" runat="server" keepDefaultStyle='true'>
|
<option value="false">否</option><option value="true">是</option>
|
</select></td>
|
</tr>
|
<tr>
|
<td class="ali03 ">是否推荐:</td><td ><select id="selIsRecommendation" runat="server" keepDefaultStyle='true'>
|
<option value="true">是</option><option value="false">否</option>
|
</select></td>
|
<td class="ali03 ">是否置顶:</td><td ><select id="selIsTop" runat="server" keepDefaultStyle='true'>
|
<option value="true">是</option><option value="false">否</option>
|
</select></td>
|
</tr>
|
<tr style=" display:none;">
|
<td class="ali03 ">来源:</td><td><input type="text" id="txtFromSource" runat="server" class="" maxlength="20" value="川印" /></td>
|
<td class="ali03 ">作者:</td><td><input type="text" id="txtAuthor" runat="server" class="" maxlength="20" value="川印" /></td>
|
</tr>
|
<tr>
|
<td class="ali03 ">信息分类:</td><td ><select id="selSortId" runat="server" keepDefaultStyle='true'></select></td>
|
<td class="ali03 ">排序:</td><td><input type="text" id="txtOrderNum" runat="server" class="int req" maxlength="20" value="0"/></td>
|
</tr>
|
<tr>
|
<td class="ali03 ">内容:</td><td colspan="3"><asp:TextBox ID="txtInfoContent" TextMode="MultiLine" runat="server" Width="700px" Height="400px"></asp:TextBox></td>
|
</tr>
|
<tr>
|
<td class="ali02" colspan="4"><asp:Button ID="btn_Submit" Text="提交" runat="server" OnClick="btn_Submit_form" /></td>
|
</tr>
|
</table>
|
</form>
|
<script type="text/javascript">
|
$(function () {
|
$("#selSortId option").each(function (ii, vv) {
|
$(this).html($(this).html().replace(/[.]/g, " "));
|
});
|
});
|
</script>
|
</body>
|
</html>
|