SharePoint2010母版页的定制
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html lang="" dir="" runat="server" xmlns:o="urn:schemas-microsoft-com:office:office" __expr-val-dir="ltr"><head runat="server"><meta http-equiv="X-UA-Compatible" content="IE=8" /><meta name="GENERATOR" content="Microsoft SharePoint" /><meta name="progid" content="SharePoint.WebPartPage.Document" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Expires" content="0" /><SharePoint:RobotsMetaTag runat="server"/><title id="onetidTitle"><asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server"/> title><SharePoint:Theme runat="server"/><SharePoint:ULSClientConfig runat="server"/><script type="text/javascript"> var _fV4UI = true; script><SharePoint:ScriptLink language="javascript" name="core.js" OnDemand="true" runat="server"/><SharePoint:CustomJSUrl runat="server"/><SharePoint:SoapDiscoveryLink runat="server"/><asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server" > asp:ContentPlaceHolder> <SharePoint:DelegateControl runat="server" ControlId="AdditionalPageHead" AllowMultipleControls="true"/> <SharePoint:SPShortcutIcon runat="server" IconUrl="/_layouts/images/favicon.ico"/> <asp:ContentPlaceHolder id="PlaceHolderBodyAreaClass" runat="server" /> <asp:ContentPlaceHolder id="PlaceHolderTitleAreaClass" runat="server" /> <SharePoint:SPPageManager runat="server"/> <SharePoint:SPHelpPageComponent Visible="false" runat="server"/><SharePoint:CssLink DefaultUrl="/_layouts/Sytech.SharePoint.Portal/css/master.css" runat="server">SharePoint:CssLink> head> <body onload="if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();" id="sbody"> <form runat="server" onsubmit="if (typeof(_spFormOnSubmitWrapper) != 'undefined') {return _spFormOnSubmitWrapper();} else {return true;}"> <asp:ScriptManager id="ScriptManager" runat="server" enablepagemethods="false" enablepartialrendering="true" enablescriptglobalization="false" enablescriptlocalization="true" /> <WebPartPages:SPWebPartManager id="m" runat="Server"/> <SharePoint:SPNoScript runat="server"/> <div id="div_center"> <div id="div_head"> <div id="div_welcome"><Welcome:Welcome runat="server" ID="g_fa7d1b50_d539_4ab6_a454_706145f25e76" Description="显示欢迎信息,包括姓名、部门与当前时间;若是管理员,提供系统设置接口。" _Url="/S-OA/Lists/CorporateCulture/AllItems.aspx" Title="欢迎" __MarkupType="vsattributemarkup" __WebPartId="{fa7d1b50-d539-4ab6-a454-706145f25e76}" WebPart="true" __designer:IsClosed="false">Welcome:Welcome> div> <div id="div_logonavigation"> <div id="div_logo"> div> <div id="div_navigation"> <NavigationSiteMap:NavigationSiteMap runat="server" Description="显示首要网站的第一级子网站" Title="顶部导航" __MarkupType="vsattributemarkup" __WebPartId="{97854a1f-790c-4717-b759-3700a3072693}" WebPart="true" __designer:IsClosed="false" id="g_97854a1f_790c_4717_b759_3700a3072693">NavigationSiteMap:NavigationSiteMap> div> div> div> <div id="div_body"> <table cellpadding="0" cellspacing="0" style="width:100%;"> <tbody><tr><td style="vertical-align:top; width:20%;"> <div id="s4-leftpanel" class="s4-notdlg"> <div id="s4-leftpanel-content"> <asp:ContentPlaceHolder id="PlaceHolderLeftNavBarDataSource" runat="server" /> <asp:ContentPlaceHolder id="PlaceHolderCalendarNavigator" runat="server" /> <asp:ContentPlaceHolder id="PlaceHolderLeftActions" runat="server"> asp:ContentPlaceHolder> <asp:ContentPlaceHolder id="PlaceHolderLeftNavBarTop" runat="server" > <NavigationQucikLaunch:NavigationQucikLaunch runat="server" Description="编辑网站内容的导航,快速启动菜单;" Title="快速启动" __MarkupType="vsattributemarkup" __WebPartId="{c3d54195-73c0-429e-b752-e3bed3e403d5}" WebPart="true" __designer:IsClosed="false" id="g_c3d54195_73c0_429e_b752_e3bed3e403d5"> NavigationQucikLaunch:NavigationQucikLaunch> asp:ContentPlaceHolder> div> div>td><td style="width:15px;">td><td style="width:80%; vertical-align:top;"><div id="MSO_ContentDiv" runat="server"> <a name="mainContent">a> <asp:ContentPlaceHolder id="PlaceHolderMain" runat="server"> asp:ContentPlaceHolder> div>td>tr> tbody> table> div> <div id="div_bottom"> <span id="copyright">Copyright@2010 深圳市时代高科信息技术有限公司 版权所有span> div> div> <div id="hiddenDiv" style="display:none;"> <div id="TurnOnAccessibility" style="display: none" class="s4-notdlg noindex"> <a id="linkTurnOnAcc" href="#" class="ms-TurnOnAcc" onclick="SetIsAccessibilityFeatureEnabled(true);UpdateAccessibilityUI();document.getElementById('linkTurnOffAcc').focus();return false;"> <SharePoint:EncodedLiteral runat="server" text="" EncodeMethod="HtmlEncode"/> a>div> <div id="TurnOffAccessibility" style="display: none" class="s4-notdlg noindex"> <a id="linkTurnOffAcc" href="#" class="ms-TurnOffAcc" onclick="SetIsAccessibilityFeatureEnabled(false);UpdateAccessibilityUI();document.getElementById('linkTurnOnAcc').focus();return false;"> <SharePoint:EncodedLiteral runat="server" text="" EncodeMethod="HtmlEncode"/> a>div> <div class="s4-notdlg s4-skipribbonshortcut noindex"> <a href="javascript:;" onclick="javascript:this.href='#startNavigation';" class="ms-SkiptoNavigation" accesskey="" runat="server"> <SharePoint:EncodedLiteral runat="server" text="" EncodeMethod="HtmlEncode"/> a>div> <div class="s4-notdlg noindex"> <a href="javascript:;" onclick="javascript:this.href='#mainContent';" class="ms-SkiptoMainContent" accesskey="" runat="server"> <SharePoint:EncodedLiteral runat="server" text="" EncodeMethod="HtmlEncode"/> a>div> <a id="HiddenAnchor" href="javascript:;" style="display: none;">a> <SharePoint:DelegateControl runat="server" ControlId="GlobalNavigation"/> <div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle"> <div id="s4-ribboncont"> <SharePoint:SPRibbon runat="server" PlaceholderElementId="RibbonContainer" CssFile=""> <SharePoint:SPRibbonPeripheralContent runat="server" Location="TabRowLeft" CssClass="ms-siteactionscontainer s4-notdlg"> <span class="ms-siteactionsmenu" id="siteactiontd"> <SharePoint:SiteActions runat="server" accesskey="" id="SiteActionsMenuMain" PrefixHtml="" SuffixHtml="" MenuNotVisibleHtml=" " > <CustomTemplate> <SharePoint:FeatureMenuTemplate runat="server" FeatureScope="Site" Location="Microsoft.SharePoint.StandardMenu" GroupId="SiteActions" UseShortId="true" > <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage" Text="" Description="" ImageUrl="/_layouts/images/ActionsEditPage.png" MenuGroupId="100" Sequence="110" ClientOnClickNavigateUrl="javascript:ChangeLayoutMode(false);" /> <SharePoint:MenuItemTemplate runat="server" id="MenuItem_TakeOffline" Text="" Description="" ImageUrl="/_layouts/images/connecttospworkspace32.png" MenuGroupId="100" Sequence="120" /> <SharePoint:MenuItemTemplate runat="server" id="MenuItem_CreatePage" Text="" Description="" ImageUrl="/_layouts/images/NewContentPageHH.png" MenuGroupId="200" Sequence="210" UseShortId="true" ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('Page')) { OpenCreateWebPageDialog('~site/_layouts/createwebpage.aspx') }" PermissionsString="AddListItems, EditListItems" PermissionMode="All" /> <SharePoint:MenuItemTemplate runat="server" id="MenuItem_CreateDocLib" Text="" Description="" ImageUrl="/_layouts/images/NewDocLibHH.png" MenuGroupId="200" Sequence="220" UseShortId="true" ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('DocLib')) { GoToPage('~site/_layouts/new.aspx?FeatureId={00bfea71-e717-4e80-aa17-d0c71b360101}&ListTemplate=101') }" PermissionsString="ManageLists" PermissionMode="Any" VisibilityFeatureId="00BFEA71-E717-4E80-AA17-D0C71B360101" /> <SharePoint:MenuItemTemplate runat="server" id="MenuItem_CreateSite" Text="" Description="" ImageUrl="/_layouts/images/newweb32.png" MenuGroupId="200" Sequence="230" UseShortId="true" ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('Site')) { STSNavigate('~site/_layouts/newsbweb.aspx') }" PermissionsString="ManageSubwebs,ViewFormPages" PermissionMode="All" /> <SharePoint:MenuItemTemplate runat="server" id="MenuItem_Create" Text="" Description="" MenuGroupId="200" Sequence="240" UseShortId="true" ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('All')) { STSNavigate('~site/_layouts/create.aspx') }" PermissionsString="ManageLists, ManageSubwebs" PermissionMode="Any" /> <SharePoint:MenuItemTemplate runat="server" id="MenuItem_ViewAllSiteContents" Text="" Description="" ImageUrl="/_layouts/images/allcontent32.png" MenuGroupId="300" Sequence="302" UseShortId="true" ClientOnClickNavigateUrl="~site/_layouts/viewlsts.aspx" PermissionsString="ViewFormPages" PermissionMode="Any" /> <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditSite" Text="" Description="" ImageUrl="/_layouts/images/SharePointDesigner32.png" MenuGroupId="300" Sequence="304" UseShortId="true" ClientOnClickScriptContainingPrefixedUrl="EditInSPD('~site/',true);" PermissionsString="AddAndCustomizePages" PermissionMode="Any" /> <SharePoint:MenuItemTemplate runat="server" id="MenuItem_SitePermissions" Text="" Description="" ImageUrl="/_layouts/images/Permissions32.png" MenuGroupId="300" Sequence="310" UseShortId="true" ClientOnClickNavigateUrl="~site/_layouts/user.aspx" PermissionsString="EnumeratePermissions" PermissionMode="Any" /> <SharePoint:MenuItemTemplate runat="server" id="MenuItem_Settings" Text="" Description="" ImageUrl="/_layouts/images/settingsIcon.png" MenuGroupId="300" Sequence="320" UseShortId="true" ClientOnClickNavigateUrl="~site/_layouts/settings.aspx" PermissionsString="EnumeratePermissions,ManageWeb,ManageSubwebs,AddAndCustomizePages,ApplyThemeAndBorder,ManageAlerts,ManageLists,ViewUsageData" PermissionMode="Any" /> <SharePoint:MenuItemTemplate runat="server" id="MenuItem_CommitNewUI" Text="" Description="" ImageUrl="/_layouts/images/visualupgradehh.png" MenuGroupId="300" Sequence="330" UseShortId="true" ClientOnClickScriptContainingPrefixedUrl="GoToPage('~site/_layouts/prjsetng.aspx')" PermissionsString="ManageWeb" PermissionMode="Any" ShowOnlyIfUIVersionConfigurationEnabled="true" /> SharePoint:FeatureMenuTemplate> CustomTemplate> SharePoint:SiteActions>span> <asp:ContentPlaceHolder id="PlaceHolderGlobalNavigation" runat="server"> <SharePoint:PopoutMenu runat="server" ID="GlobalBreadCrumbNavPopout" IconUrl="/_layouts/images/fgimg.png" IconAlt="" IconOffsetX=0 IconOffsetY=112 IconWidth=16 IconHeight=16 AnchorCss="s4-breadcrumb-anchor" AnchorOpenCss="s4-breadcrumb-anchor-open" MenuCss="s4-breadcrumb-menu"> <div class="s4-breadcrumb-top"> <asp:Label runat="server" CssClass="s4-breadcrumb-header" Text="" /> div> <asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server"> <SharePoint:ListSiteMapPath runat="server" SiteMapProviders="SPSiteMapProvider,SPContentMapProvider" RenderCurrentNodeAsLink="false" PathSeparator="" CssClass="s4-breadcrumb" NodeStyle-CssClass="s4-breadcrumbNode" CurrentNodeStyle-CssClass="s4-breadcrumbCurrentNode" RootNodeStyle-CssClass="s4-breadcrumbRootNode" NodeImageOffsetX=0 NodeImageOffsetY=353 NodeImageWidth=16 NodeImageHeight=16 NodeImageUrl="/_layouts/images/fgimg.png" RTLNodeImageOffsetX=0 RTLNodeImageOffsetY=376 RTLNodeImageWidth=16 RTLNodeImageHeight=16 RTLNodeImageUrl="/_layouts/images/fgimg.png" HideInteriorRootNodes="true" SkipLinkText="" /> asp:ContentPlaceHolder> SharePoint:PopoutMenu> <div class="s4-die"> <asp:ContentPlaceHolder id="PlaceHolderGlobalNavigationSiteMap" runat="server" Visible="false"> asp:ContentPlaceHolder> div> asp:ContentPlaceHolder> <SharePoint:PageStateActionButton id="PageStateActionButton" runat="server" Visible="false" /> SharePoint:SPRibbonPeripheralContent> <SharePoint:SPRibbonPeripheralContent runat="server" Location="TabRowRight" ID="RibbonTabRowRight" CssClass="s4-trc-container s4-notdlg"> <SharePoint:DelegateControl runat="server" ID="GlobalDelegate0" ControlId="GlobalSiteLink0" /> <a href="#" tabindex="-1" style="display:none">a><a href="#" tabindex="-1" style="display:none">a> <div class="s4-trc-container-menu"> <div> <wssuc:Welcome id="IdWelcome" runat="server" EnableViewState="false"> wssuc:Welcome> <wssuc:MUISelector ID="IdMuiSelector" runat="server"/> div> div> <SharePoint:DelegateControl ControlId="GlobalSiteLink2" ID="GlobalDelegate2" Scope="Farm" runat="server" /> <span> <span class="s4-devdashboard"> <Sharepoint:DeveloperDashboardLauncher ID="DeveloperDashboardLauncher" NavigateUrl="javascript:ToggleDeveloperDashboard()" runat="server" ImageUrl="/_layouts/images/fgimg.png" Text="" OffsetX=0 OffsetY=222 Height=16 Width=16 /> span> span> SharePoint:SPRibbonPeripheralContent> SharePoint:SPRibbon>div> <div id="notificationArea" class="s4-noti"> div> <asp:ContentPlaceHolder ID="SPNavigation" runat="server"> <SharePoint:DelegateControl runat="server" ControlId="PublishingConsole" Id="PublishingConsoleDelegate"> SharePoint:DelegateControl> asp:ContentPlaceHolder> <div id="WebPartAdderUpdatePanelContainer"> <asp:UpdatePanel ID="WebPartAdderUpdatePanel" UpdateMode="Conditional" ChildrenAsTriggers="false" runat="server"> <ContentTemplate> <WebPartPages:WebPartAdder ID="WebPartAdder" runat="server" /> ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="WebPartAdder" /> Triggers> asp:UpdatePanel> div> div> <div id="s4-workspace"> <div id="s4-bodyContainer"> <div id="s4-titlerow" class="s4-pr s4-notdlg s4-titlerowhidetitle"> <div class="s4-title s4-lp"> <div class="s4-title-inner"> <table class="s4-titletable" cellspacing="0"> <tr> <td class="s4-titlelogo"> <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitleGraphic"> <SharePoint:SiteLogoImage name="onetidHeadbnnr0" id="onetidHeadbnnr2" LogoImageUrl="/_layouts/images/siteIcon.png" runat="server"/> SharePoint:SPLinkButton>td> <td class="s4-titletext"> <h1 name="onetidProjectPropertyTitle"> <asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server"> <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle"><SharePoint:ProjectProperty Property="Title" runat="server" />SharePoint:SPLinkButton> asp:ContentPlaceHolder> h1> <span id="onetidPageTitleSeparator" class="s4-nothome s4-bcsep s4-titlesep"> <SharePoint:ClusteredDirectionalSeparatorArrow runat="server"/> span> <h2> <asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" /> h2> <div class="s4-pagedescription" tabindex="0"> <asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server" /> div> td> <td class="s4-socialdata-notif"> <SharePoint:DelegateControl ControlId="GlobalSiteLink3" Scope="Farm" runat="server"/> td> tr> table> div> div> <div id="s4-topheader2" class="s4-pr s4-notdlg"> <a name="startNavigation">a> <div id="s4-searcharea" class="s4-search s4-rp"> <asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server"> <SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox" Version="4"/> asp:ContentPlaceHolder> <span class="s4-help"> <span style="height: 17px; width: 17px; position: relative; display: inline-block; overflow: hidden;" class="s4-clust"> <a href="#" style="height: 17px; width: 17px; display: inline-block;" onclick="TopHelpButtonClick('HelpHome');return false" accesskey="" id="TopHelpLink" title="" runat="server"> <img src="/_layouts/images/fgimg.png" alt="" style="left: -0px !important; top: -309px !important; position: absolute;" align="absmiddle" border="0" runat="server" />a>span> span>div> <div class="s4-rp s4-app"> div> <div class="s4-lp s4-toplinks"> <asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server"> <asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server"> <SharePoint:AspMenu ID="TopNavigationMenuV4" Runat="server" EnableViewState="false" DataSourceID="topSiteMap" AccessKey="" UseSimpleRendering="true" UseSeparateCss="false" Orientation="Horizontal" StaticDisplayLevels="2" MaximumDynamicDisplayLevels="1" SkipLinkText="" CssClass="s4-tn"/> <SharePoint:DelegateControl runat="server" ControlId="TopNavigationDataSource" Id="topNavigationDelegate"> <Template_Controls> <asp:SiteMapDataSource ShowStartingNode="False" SiteMapProvider="SPNavigationProvider" id="topSiteMap" runat="server" StartingNodeUrl="sid:1002"/> Template_Controls> SharePoint:DelegateControl> asp:ContentPlaceHolder> asp:ContentPlaceHolder> div> div> div> <div id="s4-statusbarcontainer"> <div id="pageStatusBar" class="s4-status-s1"> div> div> <SharePoint:VisualUpgradePreviewStatus runat="server"/> <div id="s4-mainarea" class="s4-pr s4-widecontentarea"> <div class="s4-ca s4-ca-dlgNoRibbon" id="MSO_ContentTable"> <div class="s4-die"> <asp:ContentPlaceHolder id="PlaceHolderPageImage" runat="server" visible="false" /> <asp:ContentPlaceHolder id="PlaceHolderTitleLeftBorder" runat="server" Visible="false"> asp:ContentPlaceHolder> <div id="onetidPageTitleAreaFrame" class="ms-pagetitleareaframe s4-pagetitle"> div> <asp:ContentPlaceHolder id="PlaceHolderMiniConsole" runat="server" visible="false" /> <span class="s4-die"> <asp:ContentPlaceHolder id="PlaceHolderTitleRightMargin" runat="server" visible="false" /> span> <asp:ContentPlaceHolder id="PlaceHolderTitleAreaSeparator" runat="server" visible="false" /> <asp:ContentPlaceHolder id="PlaceHolderNavSpacer" runat="server" Visible="false"><img src="/_layouts/images/blank.gif" width='138' height='1' alt="" />asp:ContentPlaceHolder> <asp:ContentPlaceHolder id="PlaceHolderLeftNavBarBorder" runat="server" Visible="false">asp:ContentPlaceHolder> <asp:ContentPlaceHolder id="PlaceHolderBodyLeftBorder" runat="server" Visible="false"> asp:ContentPlaceHolder> div> <SharePoint:VersionedPlaceHolder UIVersion="3" ID="DesignModeConsoleV3" runat="server"> <asp:ContentPlaceHolder id="WSSDesignConsole" runat="server"> <wssuc:DesignModeConsole id="IdDesignModeConsole" runat="server" /> asp:ContentPlaceHolder> SharePoint:VersionedPlaceHolder> <div class="s4-ba"> <div class="ms-bodyareacell"> div> div> <div class="default11"> <asp:ContentPlaceHolder id="PlaceHolderBodyRightMargin" runat="server"> asp:ContentPlaceHolder> div> div> div> <SharePoint:DeveloperDashboard runat="server"/> div> div> div> <asp:ContentPlaceHolder id="PlaceHolderFormDigest" runat="server"> <SharePoint:FormDigest runat="server"/> asp:ContentPlaceHolder> <input type="text" name="__spText1" title="text" style="display: none;" /> <input type="text" name="__spText2" title="text" style="display: none;" /> form> <asp:ContentPlaceHolder id="PlaceHolderUtilityContent" runat="server" /> <SharePoint:WarnOnUnsupportedBrowsers runat="server"/> body> html>