⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 settings.ascx

📁 Module articles for Dot Net Nuke 3.x.x , 4.x.x
💻 ASCX
字号:
<%@ Control Language="vb" CodeBehind="Settings.ascx.vb" autoeventwireup="false" Explicit="True" Inherits="EfficionConsulting.Articles.Settings" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="DualList" Src="~/controls/DualListControl.ascx" %>

<TABLE class="normal" cellSpacing="0" cellPadding="2" summary="Edit Articles Design Table" border="0"><TBODY vAlign="top">
	<TR>
		<td class="SubHead"><dnn:label id="plTemplate" text="Template:" runat="server" suffix=":" /></td>
	   <td>
			<asp:DropDownList id="drpTemplate" runat="server">
				<asp:ListItem Value="" text="Standard" />
				<asp:ListItem Value="ArticleList_NoImage.ascx" text="No Image" />
				<asp:ListItem Value="ArticleList_TitleOnly.ascx" text="Title Only" />
				<asp:ListItem Value="ArticleList_Fancy.ascx" text="Fancy" />
				<asp:ListItem Value="ArticleList_Complete.ascx" text="Complete" />
			</asp:DropDownList>
	   </td>
	</TR>
	<TR>
		<TD class="SubHead"><dnn:label id="plSortField" text="Sort By:" runat="server" controlname="drpSortField" suffix=":" /></TD>
		<TD>
			<asp:DropDownList id="drpSortField" runat="server">
				<asp:ListItem Value="CreationDate" Selected="True" text="Creation Date"  ResourceKey="SortFieldCreationDate" />
				<asp:ListItem Value="PublishDate" text="Publish Date" ResourceKey="SortFieldPublishDate" />
				<asp:ListItem Value="LastModifiedDate" text="Last Modified Date" ResourceKey="SortFieldLastModifiedDate" />
			</asp:DropDownList></TD>
	</TR>
	<TR>
		<td class="SubHead"><dnn:label id="plAllowComments" runat="server" controlname="chkAllowComments" suffix=":" /></td>
		<td>
			<asp:checkbox id="chkAllowComments" resourceKey="chkAllowComments" text="Enabled" runat="server" />
			<asp:checkbox id="chkAnonymousComments" text="Allow Anonymous" resourceKey="chkAnonymousComments" runat="server" />
		</td>
	</TR>	
	<TR>
		<TD class="SubHead"><dnn:label id="plArticlesPerPage" text="Articles Per Page:" runat="server" controlname="drpNumber" suffix=":" /></TD>
		<TD>
			<asp:DropDownList id="drpNumber" runat="server">
				<asp:ListItem Value="5" text="5" />
				<asp:ListItem Value="10" text="10" />
				<asp:ListItem Value="15" text="15" />
				<asp:ListItem Value="20" text="20" />
				<asp:ListItem Value="50" text="50" />
			</asp:DropDownList>
		</TD>
	</TR>
	<TR>
		<td class="SubHead"><dnn:label id="plHidePaging" runat="server" text="Hide Paging Controls:" controlname="chkHidePaging" suffix=":" /></td>
		<td><asp:checkbox id="chkHidePaging" runat="server" /></td>
	</TR>		
	<TR>
		<td class="SubHead"><dnn:label id="plImageWidth" runat="server" controlname="txtImageWidth" suffix=":" /></td>
		<td><asp:textbox id="txtImageWidth" Columns="4" runat="server" /> px</td>
	</TR>
	<TR>
		<td class="SubHead"><dnn:label id="plImageAlignment" text="Image Alignment:" runat="server" suffix=":" /></td>
	   <td>
			<asp:DropDownList id="drpImageAlignment" runat="server">
				<asp:ListItem Value="" text="Left" ResourceKey="Left" />
				<asp:ListItem Value="2" text="Right"  ResourceKey="Right"/>
				<asp:ListItem Value="Alternate" text="Alternate"  ResourceKey="Alternate" />
				<asp:ListItem Value="4" text="Top"  ResourceKey="Top" />
				<asp:ListItem Value="3" text="Baseline"  ResourceKey="Baseline" />
				<asp:ListItem Value="5" text="Middle"  ResourceKey="Middle" />
			</asp:DropDownList>
	   </td>
	</TR>
	<TR>
		<td class="SubHead"><dnn:label id="plShowSearch" runat="server" controlname="chkShowSearch" suffix=":" /></td>
		<td><asp:checkbox id="chkShowSearch" runat="server" /></td>
	</TR>
	<TR>
		<td class="SubHead"><dnn:label id="plSiteWide" runat="server" controlname="chkSiteWide" suffix=":" /></td>
		<td><asp:checkbox id="chkSiteWide" runat="server" /></td>
	</TR>
	<TR>
		<td class="SubHead"><dnn:label id="plFeatured" runat="server" controlname="chkFeatured" suffix=":" /></td>
		<td><asp:checkbox id="chkFeatured" runat="server" /></td>
	</TR>
	<TR>
		<td class="SubHead"><dnn:label id="plRequireApproval" runat="server" controlname="chkRequireApproval" suffix=":" /></td>
		<td><asp:checkbox id="chkRequireApproval" runat="server" /></td>
	</TR>
	<TR>
		<TD class="SubHead"><dnn:label id="plDateRange" runat="server" controlname="drpDateRange" suffix=":" /></TD>
		<TD>
			<asp:DropDownList id="drpDateRange" runat="server">
				<asp:ListItem Value="-1" Selected="True" text="No Restriction"  ResourceKey="NoRestriction" />
				<asp:ListItem Value="-7" text="1 Week" ResourceKey="1Week" />
				<asp:ListItem Value="-14" text="2 Weeks" ResourceKey="2Weeks" />
				<asp:ListItem Value="-30" text="1 Month" ResourceKey="1Month" />
				<asp:ListItem Value="-90" text="3 Months" ResourceKey="3Months" />
				<asp:ListItem Value="-180" text="6 Months" ResourceKey="6Months" />
				<asp:ListItem Value="-365" text="1 Year" ResourceKey="1Year" />
			</asp:DropDownList></TD>
	</TR>
	<TR>
		<td class="SubHead"><dnn:label id="plDisplayedFields" runat="server" suffix=":" /></td>
	   <td colspan="2">
	      <table border="1" class="SubHead">
         	<tr>
         		<td align="right">
         			<asp:label text="Category:" ResourceKey="chkCategory" runat="server" />
			         <asp:checkbox id="chkShowCategory" runat="server" />
			      </td>
         		<td align="right">
         			<asp:label text="Read More Link:" ResourceKey="chkReadMore" runat="server" />
			         <asp:checkbox id="chkShowReadMore" runat="server" />
			      </td>
			   </tr>
         </table>
	   </td>
	</TR>
	<TR>
    	<TD width="150px" class="SubHead"><dnn:label id="plCategory" runat="server" controlname="ctlCategories" suffix=":" /></TD>
		<TD>
			<asp:CheckBox id="chkFilterByCategory" Text="Filter By Category" class="subhead" runat="server" autopostback="true" resourceKey="chkFilterByCategory" />
			<asp:Label id="lblNoCategories" runat="server" text="<br>It appears the Efficion's Categories Module is not installed your installation of DotNetNuke. While the Categories module is not necessary, it adds some nice features to the Sales Module. <a href='http://www.efficionconsulting.com/Default.aspx?tabid=352' Target='new'>Learn More</a>." />
			<dnn:duallist id="ctlCategories" runat="server" ListBoxWidth="130" ListBoxHeight="130" DataValueField="CategoryID" DataTextField="CategoryName" />
			<asp:RadioButtonList id="rblCategoryMatch" cssclass="Normal" RepeatDirection="Horizontal" runat="server" >
				<asp:listitem text="Any Selected Category" ResourceKey="CategoryMatchAny" value="Any" runat="server" />
				<asp:listitem text="All Selected Categories" ResourceKey="CategoryMatchAll" value="All" runat="server" />
			</asp:RadioButtonList>
		</TD>
	</TR>
	<TR>
		<td class="SubHead"><dnn:label id="plMoreArticles" runat="server" controlname="chkMoreArticles" suffix=":" /></td>
		<td>
			<asp:checkbox id="chkMoreArticles" runat="server" />
			<asp:label id="lblMoreArticlesPage" text="To Page:" runat="server" class="subhead" resourceKey="plMoreArticlesPage" />&nbsp;
			<asp:DropDownList id="drpPage" datavaluefield="TabId" datatextfield="TabName" runat="server" />
		</td>
	</TR>	
	<TR>
		<td class="SubHead"><dnn:label id="plCustomSelect" runat="server" controlname="txtCustomSelect" text="Custom SELECT:" suffix=":" /></td>
		<td><asp:textbox id="txtCustomSelect" cssclass="NormalTextBox" TextMode="Multiline" rows="3" Columns="60" runat="server" /></td>
	</TR>
</TBODY></TABLE>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -