?? sectionappearance.ascx
字號:
<%@ import Namespace="ASPNET.StarterKit.Communities" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Control Language="c#" CodeBehind="SectionAppearance.ascx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Communities.Admin.EditSections.SectionAppearance" %>
<!-- Section Theme -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader"><IMG onmouseover="showHelp('helpTheme')" onmouseout="hideHelp()" src="../help/help.gif"
align="right" border="0"> Section Theme
</td>
</tr>
<tr>
<td class="formSectionHelp">The section theme determines the appearance of all the
pages in the section. Click <A href="../help/theme.htm" target="_blank">here</A>
for a preview of all themes.
</td>
</tr>
<tr>
<td class="formSectionContents">
<table cellPadding="4">
<tr>
<td>Skin:
</td>
<td><asp:dropdownlist id="dropThemes" runat="Server"></asp:dropdownlist></td>
</tr>
<tr>
<td>Style:
</td>
<td><asp:dropdownlist id="dropStyles" runat="Server"></asp:dropdownlist></td>
</tr>
</table>
</td>
</tr>
</table>
</p>
<div id="helpTheme" style="DISPLAY: none">The section theme determines the
appearance of all the pages in the section. A theme consists of a skin and a
style. The skin determines the page layout and the style determines the fonts
and colors used with the page.
</div>
<asp:panel id="pnlFailTheme" Runat="server">
<P>
<TABLE class="formSection">
<TR>
<TD class="formSectionHeader"><IMG onmouseover="showHelp('helpFailTheme')" onmouseout="hideHelp()" src="../help/help.gif"
align="right" border="0"> Section Fail Over Theme
</TD>
</TR>
<TR>
<TD class="formSectionHelp">The fail over theme determines which theme the section
will use when the there isn't a skin file for an item in the section's regular
theme (defined above).
</TD>
</TR>
<TR>
<TD class="formSectionContents">
<TABLE cellPadding="4">
<TR>
<TD>Fail Over Theme:</TD>
<TD>
<asp:DropDownList id="dropFailTheme" runat="server"></asp:DropDownList></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<DIV id="helpFailTheme" style="DISPLAY: none">The fail over theme determines which
theme the section will use when the there isn't a skin file for an item in the
section's regular theme. If the fail over theme doesn't contain the necessary
file, the section will then fail over to the Default theme which should have a
version of all possible skin files.
</DIV>
<P></P>
</asp:panel>
<!-- Section Logo -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader"><IMG onmouseover="showHelp('helpLogo')" onmouseout="hideHelp()" src="../help/help.gif"
align="right" border="0"> Section Logo
<asp:customvalidator id="cvFileName" runat="server" ErrorMessage="Logo file name must contain at least one non-numeric character.<br>Please rename your image then try again."
ControlToValidate="txtLogo" EnableClientScript="False" Display="Dynamic">*</asp:customvalidator></td>
</tr>
<tr>
<td class="formSectionHelp">Select a logo image by clicking the Browse button.
</td>
</tr>
<tr>
<td class="formSectionContents"><input id="txtLogo" type="file" size="40" runat="Server">
<BR>
<br>
<asp:image id="imgLogoPreview" Runat="Server"></asp:image></td>
</tr>
</table>
</p>
<div id="helpLogo" style="DISPLAY: none">The logo can be a GIF or JPEG image. Limit
the logo to 200 pixels wide x 60 pixels high for best results with standard
themes. Please Note: The file name must include at least one non-numeric
character.
</div>
<!-- Section Page Header -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader"><IMG onmouseover="showHelp('helpPageHeader')" onmouseout="hideHelp()" src="../help/help.gif"
align="right" border="0"> Section Page Header
</td>
</tr>
<tr>
<td class="formSectionHelp">The section page header is displayed at the top of all
content in a page.
</td>
</tr>
<tr>
<td class="formSectionContents"><community:htmltextbox CssClass="htmlDesigner" SelectedFontSize="3" SelectedFontFace="Times New Roman" id="txtPageHeader" Runat="Server" ToolBarStyle-BackColor="threedface" EditorStyle-BackColor="White"
AllowHtml="Full"></community:htmltextbox></td>
</tr>
</table>
</p>
<div id="helpPageHeader" style="DISPLAY: none">The section page header is displayed
at the top of all content in a page. You can add as much or as little content
as you please to the page header. The content can contain HTML content.
</div>
<!-- Section Page Footer -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader"><IMG onmouseover="showHelp('helpPageFooter')" onmouseout="hideHelp()" src="../help/help.gif"
align="right" border="0"> Section Page Footer
</td>
</tr>
<tr>
<td class="formSectionHelp">The section page footer is displayed at the bottom of
all content in a page.
</td>
</tr>
<tr>
<td class="formSectionContents"><community:htmltextbox CssClass="htmlDesigner" SelectedFontSize="3" SelectedFontFace="Times New Roman" id="txtPageFooter" Runat="Server" ToolBarStyle-BackColor="threedface" EditorStyle-BackColor="White"
AllowHtml="Full"></community:htmltextbox></td>
</tr>
</table>
</p>
<div id="helpPageFooter" style="DISPLAY: none">The section page footer is displayed
in the body of the main section page below all the content. You can add as much
or as little content as you please to the page footer. The content can contain
HTML content.
</div>
<!-- Section Footer -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader"><IMG onmouseover="showHelp('helpFooter')" onmouseout="hideHelp()" src="../help/help.gif"
align="right" border="0"> Section Footer
</td>
</tr>
<tr>
<td class="formSectionHelp">The section page footer is displayed at the bottom of
all content in a page.
</td>
</tr>
<tr>
<td class="formSectionContents"><asp:textbox id="txtFooter" Runat="Server" Columns="50" MaxLength="250"></asp:textbox></td>
</tr>
</table>
</p>
<div id="helpFooter" style="DISPLAY: none">The section page footer is displayed at
the bottom of all content in a page. For example, you can display a copyright
notice using the page footer. You can add as much or as little content as you
please to the page footer. The content can contain HTML content.
</div>
<!-- Section Meta Desc -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader"><IMG onmouseover="showHelp('helpMetaDesc')" onmouseout="hideHelp()" src="../help/help.gif"
align="right" border="0"> Section Meta Description
<community:lengthvalidator id="LengthValidator1" runat="server" MaxLength="250" ErrorMessage="Meta Description must be less than 250 characters"
Text="*" ControlToValidate="txtPageMetaDesc">
*</community:lengthvalidator></td>
</tr>
<tr>
<td class="formSectionHelp">The meta description is used by search engines to
describe a page.
</td>
</tr>
<tr>
<td class="formSectionContents"><asp:textbox id="txtPageMetaDesc" runat="Server" rows="3" columns="50" textmode="MultiLine"></asp:textbox></td>
</tr>
</table>
</p>
<div id="helpMetaDesc" style="DISPLAY: none">The meta description is used by search
engines to describe a page. Limit the text you enter to less than 250
characters.
</div>
<!-- Section Meta Keywords -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader"><IMG onmouseover="showHelp('helpMetaKeywords')" onmouseout="hideHelp()" src="../help/help.gif"
align="right" border="0"> Section Meta Keywords
<community:lengthvalidator id="LengthValidator2" runat="server" MaxLength="250" ErrorMessage="Meta Keys must be less than 250 characters"
Text="*" ControlToValidate="txtPageMetaKeys"></community:lengthvalidator></td>
</tr>
<tr>
<td class="formSectionHelp">The meta description are used by search engines to
classify a page.
</td>
</tr>
<tr>
<td class="formSectionContents"><asp:textbox id="txtPageMetaKeys" runat="Server" rows="3" columns="50" textmode="MultiLine"></asp:textbox></td>
</tr>
</table>
</p>
<div id="helpMetaKeywords" style="DISPLAY: none">The meta keywords are used by
search engines to classify a page. Limit the text you enter to less than 250
characters.
</div>
<!-- Section Transformations -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader"><IMG onmouseover="showHelp('helpTransformations')" onmouseout="hideHelp()" src="../help/help.gif"
align="right" border="0"> Section Transformations
</td>
</tr>
<tr>
<td class="formSectionHelp">Transformations enable you to transform one string of
text into another.
</td>
</tr>
<tr>
<td class="formSectionContents"><asp:panel id="pnlTransformations" Runat="Server">
<TABLE>
<TR>
<TD>
<asp:RadioButton id="rdlInheritTransformations" runat="server" Checked="true" GroupName="Transformations"></asp:RadioButton><SPAN class="formLabelText">Inherit transformations from parent
section</SPAN>
</TD>
</TR>
<TR>
<TD>
<asp:RadioButton id="rdlSpecifyTransformations" runat="server" GroupName="Transformations"></asp:RadioButton><SPAN class="formLabelText">Specify transformations:</SPAN>
</TD>
</TR>
</TABLE>
</asp:panel>
<table>
<TR>
<td><br>
<asp:textbox class="formField" id="txtTransformations" Runat="Server" Columns="50" Wrap="false"
TextMode="MultiLine" Rows="10"></asp:textbox></td>
</TR>
</table>
</td>
</tr>
</table>
</p>
<div id="helpTransformations" style="DISPLAY: none">Transformations enable you to
transform one string of text into another. For example, you can display an
image of a smile whenever a user enters the string :) by adding the following
transformation:
<p style="FONT-SIZE: 9px; MARGIN: 5px">from: :)
<br>
to: <img src="~/images/emoticons/smile.gif">
</p>
Add transformations by adding a <i>from:</i> line followed immediately by a <i>to:</i>
line.
<br>
<br>
There are two special keywords that you can use when creating transformations:
<CONTENTS> and <WORDBOUNDARY>. The <CONTENTS> keyword enables
you to capture content and display it:
<p style="FONT-SIZE: 9px; MARGIN: 5px">from: <b><CONTENTS></b>
<br>
to: <b><CONTENTS></b>
</p>
The <WORDBOUNDARY> keyword enables you to match whole words instead of
partial strings:
<p style="FONT-SIZE: 9px; MARGIN: 5px">from:
<WORDBOUNDARY>drats</WORDBOUNDARY>
<br>
to: dr*ts
</p>
</div>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -