📄 tabmodules.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TabModules.ascx.cs" Inherits="admin_Portal_TabModules_TabModules" %>
<%@ Register src="../topmenu.ascx" tagname="topmenu" tagprefix="uc1" %>
<script src="<%= ResolveUrl("~/scripts/Cookie.js")%>" type="text/javascript"></script>
<script type="text/javascript">
function showhide()
{
var p=document.getElementById("ctlpanel");
//var h=document.getElementById("hideditmode");
if(p.style.display=='none')
{
p.style.display='';
//h.value='inline';
setCookie("hideditmode","");
}
else
{
p.style.display='none';
//h.value='none';
setCookie("hideditmode","none");
}
}
</script>
<%--<input type="hidden" id="editpagemode" name="hideditmode" value="<%=Request.Params["hideditmode"]%>" />--%>
<table style="border: 4px double #009933; width: 800px; font-size: 12px; " align="center">
<tr>
<td style="height: 19px; width: 61px">
<span><b>页面模式</b></span>
</td>
<td style="height: 19px; width: 58px">
<input id="rdoView" <% if( Session["editpagemode"] == "view")
{ %> checked="checked" <% } %> name="editpagemode" type="radio" value="view" onclick="document.forms[0].submit();" />
<label id="lview" for="rdoView" runat="server" enableviewstate="false">
查看</label>
</td>
<td style="height: 19px; width: 61px">
<input id="rdoEdit" name="editpagemode" <% if( Session["editpagemode"] == "edit")
{ %> checked="checked" <% } %> type="radio" value="edit" onclick="document.forms[0].submit();" />
<label id="ledit" for="rdoEdit">
编辑</label>
</td>
<td style="height: 19px">
<asp:LoginName ID="LoginName1" runat="server" />
<asp:LoginView ID="loginview1" runat="server" >
<LoggedInTemplate>
<a href="<%=ResolveUrl("~/logout.aspx?ref=")+ Server.UrlEncode(Comm.NavigateURL(Comm.CurrentTabId())) %>">
注销
</a>
</LoggedInTemplate>
</asp:LoginView>
<asp:LinkButton ID="linkRefModule" runat="server" onclick="linkRefModule_Click">刷新可用模块</asp:LinkButton>
<asp:LinkButton ID="linkbtnPublishThisPage" runat="server"
ToolTip="指示将当前页面(考虑参数的结果)将被静态化发布." onclick="linkbtnPublishThisPage_Click">发布当前页面</asp:LinkButton>
</td>
<td style="height: 19px; width: 100px" align="right">
<a href="javascript:showhide()">缩放控制面板</a>
</td>
</tr>
<tr id="ctlpanel" style="display: <%=Request.Params["hideditmode"]%>" align="center"
valign="middle">
<td style="height: 22px;">
</td>
<td style="height: 22px;">
</td>
<td style="height: 22px; width: 61px;">
</td>
<td align="left">
<table style="width: 500px; font-size: 12px;">
<tr align="center" valign="middle">
<td style="height: 22px;">
</td>
<td style="height: 22px;">
模块
</td>
<td style="height: 22px; width: 134px;" align="left">
<asp:DropDownList ID="dplModule" runat="server" Height="17px" Width="161px">
</asp:DropDownList>
</td>
<td style="height: 22px;">
窗格
</td>
<td style="height: 22px; width: 177px;" align="left">
<asp:DropDownList ID="dplPane" runat="server" Height="16px" Width="159px">
</asp:DropDownList>
</td>
<td>
<asp:LinkButton ID="linkBtnAdd" runat="server" ToolTip="增加新模块"
onclick="linkBtnAdd_Click">
<img runat="server" src="~/images/iconbar_addmodule.gif" border="0"/>
</asp:LinkButton>
</td>
</tr>
<tr align="center" valign="middle">
<td style="height: 22px;">
</td>
<td style="height: 22px;">
标题</td>
<td style="height: 22px; width: 134px;" align="left">
<asp:TextBox ID="txtTitle" runat="server" EnableViewState="False" Width="161px"></asp:TextBox>
</td>
<td style="height: 22px;">
位置</td>
<td style="height: 22px; width: 177px;" align="left">
<asp:DropDownList ID="dplLocation" runat="server" Height="16px" Width="159px"
EnableViewState="False">
<asp:ListItem Value="bottom">底部</asp:ListItem>
<asp:ListItem Value="top">顶部</asp:ListItem>
</asp:DropDownList>
</td>
<td>
</td>
</tr>
</table>
</td>
<td style="height: 22px">
</td>
</tr>
</table>
<uc1:topmenu ID="topmenu1" runat="server" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -