📄 sysconfig.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="SysConfig.ascx.cs" Inherits="Seaskyer.WebApp.skyNews.Pages.AdminMSC.SysConfig" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>
<%= config["siteName"]%>
-
<%= lang.AppName%>
</title>
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<link href="/skyNews/Skin/Default/default/Default.css" rel="stylesheet" type="text/css">
<script language="javascript" type="text/javascript">
<!--
window.onload = function()
{
showSetting("basic");
}
var Menu = new Array("basic", "class", "upload", "other");
function showSetting(id)
{
for(var i = 0; i < Menu.length; i++)
{
var obj = document.getElementById(Menu[i] + "_button");
if( id == Menu[i] )
{
document.getElementById(Menu[i]).style.display = "block";
obj.style.backgroundColor="#3A6EA5";
obj.style.color="#FFFFFF";
obj.style.fontWeight = "bold";
obj.className = "shadow";
}
else
{
document.getElementById(Menu[i]).style.display = "none";
obj.style.backgroundColor="#FFFFFF";
obj.style.color="#3A6EA5";
obj.style.fontWeight = "";
obj.className = "";
}
}
}
//-->
</script>
</HEAD>
<BODY>
<div class="mframe">
<table width="98%" align="center" cellspacing="0" cellpadding="0">
<tr>
<td class="tl"></td>
<td class="tm"><span class="tt"><%= lang.AppName%></span></td>
<td class="tr"></td>
</tr>
</table>
<table align="center" width="98%" cellspacing="3" cellpadding="5" style="CURSOR:default"
border="1" bordercolor="#dddddd">
<tr>
<td id="basic_button" style="WIDTH:100px" onclick="showSetting('basic');">
基本设置
</td>
<td id="class_button" style="WIDTH:100px" onclick="showSetting('class');">
分类/新闻设置
</td>
<td id="upload_button" style="WIDTH:100px" onclick="showSetting('upload');">
上传/下载设置
</td>
<td id="other_button" style="WIDTH:100px" onclick="showSetting('other');">
其他设置
</td>
<td></td>
</tr>
</table>
<table width="98%" align="center" cellspacing="0" cellpadding="0">
<tr>
<td class="ml"></td>
<td class="mm">
<asp:Label id="label" width="100%" runat="server" style="TEXT-ALIGN:center" />
<asp:ValidationSummary ID="ValidationSummary1" Runat="server" ShowMessageBox="True" ShowSummary="False"
DisplayMode="List" HeaderText="" />
<table align="center" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<div id="basic" style="DISPLAY:none">
<!-- 基本设置 -->
<table align="center" width="98%" cellspacing="1" cellpadding="5">
<tr>
<td><strong>网站名称:</strong></td>
<td>
<asp:TextBox id="siteName" Columns="40" runat="server" />
</td>
</tr>
<tr>
<td><strong>采用模板:</strong></td>
<td>
<asp:DropDownList ID="module" Runat="server" AutoPostBack="True" />
</td>
</tr>
<tr>
<td><strong>采用皮肤:</strong></td>
<td>
<asp:DropDownList ID="skinPath" Runat="server" />
</td>
</tr>
<tr>
<td><strong>采用语言包:</strong></td>
<td>
<asp:DropDownList ID="language" Runat="server" />
</td>
</tr>
<tr>
<td><strong>采用数据库:</strong></td>
<td>
<asp:DropDownList ID="adocmd" Runat="server" />
</td>
</tr>
<tr>
<td><strong>网站网址:</strong></td>
<td>
<asp:TextBox id="siteUrl" Columns="30" runat="server" />
</td>
</tr>
<tr>
<td><strong>网站Email:</strong></td>
<td>
<asp:TextBox id="siteEmail" Columns="30" runat="server" />
</td>
</tr>
<tr>
<td valign="top"><strong>网站简介:</strong>
</td>
<td>
<asp:TextBox id="Description" Columns="70" runat="server" />
</td>
</tr>
<tr>
<td valign="top"><strong>关键字:</strong>
</td>
<td>
<asp:TextBox id="keyWords" Columns="60" runat="server" />
</td>
</tr>
<tr>
<td class="hr" colspan="2"></td>
</tr>
<tr>
<td valign="top"><strong>网站LOGO代码(html):</strong>
</td>
<td>
<asp:TextBox id="siteLogo" Columns="70" Rows="4" runat="server" TextMode="MultiLine" />
</td>
</tr>
<tr>
<td valign="top"><strong>网站顶部代码(html):</strong>
<li>
在添加分类时,也会有相应的内容添加
<br>
1. 如果不添加,则自动继承在这里添加的内容
<br>
2. 如果添加,则为在添加分类时添加的内容</li>
</td>
<td>
<asp:TextBox id="HeadCode" TextMode="MultiLine" Columns="70" Rows="4" runat="server" />
</td>
</tr>
<tr>
<td valign="top"><strong>页面内代码(html):</strong>
<li>
该内容在添加分类时不会被继承</li>
</td>
<td>
<asp:TextBox id="PageCode" Rows="4" TextMode="multiLine" Columns="70" runat="server" />
</td>
</tr>
<tr>
<td valign="top"><strong>网站底部代码(html):</strong>
<li>
在添加分类时,也会有相应的内容添加
<br>
1. 如果不添加,则自动继承在这里添加的内容
<br>
2. 如果添加,则为在添加分类时添加的内容</li>
</td>
<td>
<asp:TextBox id="FootCode" TextMode="MultiLine" Columns="70" Rows="4" runat="server"></asp:TextBox>
</td>
</tr>
</table>
</div>
<div id="class" style="DISPLAY:none">
<!-- 分类设置 -->
<table align="center" width="98%" cellspacing="1" cellpadding="5">
<tr>
<td><strong>分类页模板:</strong></td>
<td>
<asp:DropDownList id="templateList" runat="server">
<asp:ListItem Value="0">使用系统默认</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td><strong>新闻信息页模板:</strong></td>
<td>
<asp:DropDownList id="templateShow" runat="server">
<asp:ListItem Value="0">使用系统默认</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="hr" colspan="2"></td>
</tr>
<tr>
<td valign="top"><strong>每页显示记录数:</strong>
</td>
<td>
<asp:TextBox id="pageSize" Columns="3" MaxLength="2" Style="TEXT-ALIGN:right" runat="server" />
<asp:RequiredFieldValidator ControlToValidate="pageSize" ErrorMessage="*" Display="None" runat="server" ID="Requiredfieldvalidator1" />
<asp:RegularExpressionValidator ControlToValidate="pageSize" ValidationExpression="\d+" Display="None" ErrorMessage="必须输入数字"
runat="server" ID="Regularexpressionvalidator1" />
</td>
</tr>
<tr>
<td><strong>新闻打开方式:</strong></td>
<td>
<asp:RadioButtonList ID="openWinMethod" RepeatDirection="Horizontal" Width="160px" Runat="server">
<asp:ListItem Value="_self" Selected="True">本窗口</asp:ListItem>
<asp:ListItem Value="_blank">新窗口</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td><strong>图片新闻图片位置:</strong></td>
<td>
<asp:RadioButtonList ID="titleImgAlign" RepeatDirection="Horizontal" Width="240px" Runat="server">
<asp:ListItem value="left">居左</asp:ListItem>
<asp:ListItem value="center" Selected="True">居中</asp:ListItem>
<asp:ListItem value="right">居右</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td><strong>标题图片最大宽度:</strong></td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -