moss中母版页模板

 <%@Master language="C#"%>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral,

PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral,

PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral,

PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="Welcome" src=\'#\'" /_controltemplates/Welcome.ascx" %>


<%@ Register TagPrefix="wssuc" TagName="DesignModeConsole" src=\'#\'" /_controltemplates/DesignModeConsole.ascx" %>
<HTML dir="<%$Resources:wss,multipages_direction_dir_value%>" runat="server" xmlns:o="urn:schemas-microsoft-com:office:office"
__expr-val-dir="ltr">
<HEAD runat="server">
 <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:CssLink runat="server"/>
 <SharePoint:Theme runat="server"/>
 <SharePoint:ScriptLink language="javascript" name="core.js" Defer="true" runat="server"/>
 <SharePoint:CustomJSUrl runat="server"/>
 <SharePoint:SoapDiscoveryLink runat="server"/>
 <asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server"/>
 <SharePoint:DelegateControl runat="server" ControlId="AdditionalPageHead" AllowMultipleControls="true"/>
</HEAD>
<BODY scroll="yes" style=" text-align:center; (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();">
  <form runat="server" onsubmit="return _spFormOnSubmitWrapper();">
 <WebPartPages:SPWebPartManager id="m" runat="Server"/>
 <div style="display:none;">
  <asp:ContentPlaceHolder id="PlaceHolderGlobalNavigationSiteMap" runat="server" Visible="false"></asp:ContentPlaceHolder>
  <asp:ContentPlaceHolder id="PlaceHolderGlobalNavigation" runat="server"></asp:ContentPlaceHolder>
  <asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server"></asp:ContentPlaceHolder>
  <asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server" Visible="false">
   <SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox"/>
  </asp:ContentPlaceHolder>
    <asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server"></asp:ContentPlaceHolder>
    <asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server"></asp:ContentPlaceHolder>
  <asp:ContentPlaceHolder ID="SPNavigation" runat="server"></asp:ContentPlaceHolder>
  <asp:ContentPlaceHolder id="PlaceHolderTitleLeftBorder" runat="server"></asp:ContentPlaceHolder>
  <asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server" Visible="false"></asp:ContentPlaceHolder>
  <asp:ContentPlaceHolder id="PlaceHolderPageImage" runat="server"/>
  <asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" />
  <asp:ContentPlaceHolder id="PlaceHolderMiniConsole" runat="server"/>
  <asp:ContentPlaceHolder id="PlaceHolderTitleRightMargin" runat="server"></asp:ContentPlaceHolder>
  <asp:ContentPlaceHolder id="PlaceHolderLeftNavBarDataSource" runat="server" />
  <asp:ContentPlaceHolder id="PlaceHolderCalendarNavigator" runat="server" />
  <asp:ContentPlaceHolder id="PlaceHolderLeftNavBarTop" runat="server"/>
  <asp:ContentPlaceHolder id="PlaceHolderLeftActions" runat="server"></asp:ContentPlaceHolder>
  <asp:ContentPlaceHolder id="PlaceHolderNavSpacer" runat="server"></asp:ContentPlaceholder>
  <asp:ContentPlaceHolder id="PlaceHolderLeftNavBarBorder" runat="server"></asp:ContentPlaceHolder>
  <asp:ContentPlaceHolder id="PlaceHolderBodyLeftBorder" runat="server"></asp:ContentPlaceHolder>
  <asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server"/>
  <asp:ContentPlaceHolder id="PlaceHolderBodyRightMargin" runat="server"></asp:ContentPlaceHolder>
  <asp:ContentPlaceHolder id="PlaceHolderTitleAreaSeparator" runat="server"/>
  <asp:ContentPlaceHolder id="PlaceHolderLeftNavBar" runat="server"></asp:ContentPlaceHolder>   
 </div>
 
<TABLE class="ms-main" CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH="100%" style="vertical-align:top;">
<tr id="trSiteActionMenu" style="display:none;">
 <td colspan="3">
  <table class="ms-siteaction" cellpadding=0 cellspacing=0 style="text-align:right;width:100%; height:100%;">
   <tr>
     <td style="width:780px; height: 18px;"></td>
     <td style="width:120px; height: 18px;">
      <wssuc:Welcome id="IdWelcome" runat="server" EnableViewState="false"></wssuc:Welcome>
     </td>
    <td class="ms-siteactionsmenu" id="siteactiontd" style="width:100px; height: 18px;">
     <SharePoint:SiteActions runat="server" AccessKey="<%$Resources:wss,tb_SiteActions_AK%>" id="SiteActionsMenuMain"

PrefixHtml="&lt;div&gt;&lt;div&gt;" SuffixHtml="&lt;/div&gt;&lt;/div&gt;" MenuNotVisibleHtml="&amp;nbsp;"><CustomTemplate>
       <SharePoint:FeatureMenuTemplate runat="server" FeatureScope="Site" Location="Microsoft.SharePoint.StandardMenu"

GroupId="SiteActions" UseShortId="true">
        <SharePoint:MenuItemTemplate runat="server" id="MenuItem_Create" Text="<%

$Resources:wss,viewlsts_pagetitle_create%>" Description="<%$Resources:wss,siteactions_createdescription%>"
         ImageUrl="/_layouts/images/Actionscreate.gif" MenuGroupId="100" Sequence="100"

UseShortId="true" ClientOnClickNavigateUrl="~site/_layouts/create.aspx" PermissionsString="ManageLists, ManageSubwebs" PermissionMode="Any" />
        <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage" Text="<%

$Resources:wss,siteactions_editpage%>" Description="<%$Resources:wss,siteactions_editpagedescription%>"
         ImageUrl="/_layouts/images/ActionsEditPage.gif" MenuGroupId="100" Sequence="200"

ClientOnClickNavigateUrl="javascript:MSOLayout_ChangeLayoutMode(false);" />
        <SharePoint:MenuItemTemplate runat="server" id="MenuItem_Settings" Text="<%

$Resources:wss,settings_pagetitle%>" Description="<%$Resources:wss,siteactions_sitesettingsdescription%>"
         ImageUrl="/_layouts/images/ActionsSettings.gif" MenuGroupId="100" Sequence="300"

UseShortId="true"
         ClientOnClickNavigateUrl="~site/_layouts/settings.aspx"

PermissionsString="EnumeratePermissions,ManageWeb,ManageSubwebs,AddAndCustomizePages,ApplyThemeAndBorder,ManageAlerts,ManageLists,ViewUsageData" PermissionMode="Any"

/>
       </SharePoint:FeatureMenuTemplate>
      </CustomTemplate></SharePoint:SiteActions>
    </td>
    </tr>
  </table>
 </td>
</tr>
<tr>
 <td style="display:none;">
  
 </td>
</tr>
</TABLE>

 

<!-- 网页主体 -->
<div style="width:1000px;">
   <div style=" background-color:#EEEEEE;">
     <wssuc:SiteTop id="IdSiteTop" runat="server" EnableViewState="false"></wssuc:SiteTop>
   </div> 
  <!--头部导航 -->
  <div style=" filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#9c3a69,EndColorStr=#612241);
   width:850px; float:left; height:20px; text-align:left; color:white; font-family:宋体, Arial, Helvetica, sans-serif; font-size:12px; border-

bottom:1px #77455e solid; border-top:1px #a74775 solid; padding-left:40px; ">
   
  </div>
  <div style=" filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#9c3a69,EndColorStr=#612241);
   width:150px; float:left; height:20px; text-align:left; color:white; font-family:宋体, Arial, Helvetica, sans-serif; font-size:12px; border-

bottom:1px #77455e solid; border-top:1px #a74775 solid; padding-left:40px; padding-top:1px; text-align:right; padding-right:5px;">
   
  </div>
  <!--欢迎标题 -->
  <div class="down_nav_bg">
   <div style="width:200px; float:left; padding-top:10px">
    
   </div> 
   
   <div style=" text-align:right; padding-right:30px; color:black; font-weight:normal; padding-top:3px">
    
   </div>
  </div> 
  
  <div style=" height:100%">
  <!--左边导航 -->
  <div class="left_nav_bg">
   
  </div>
  <!--中间内容 -->
  <div class="middle_div_style">
   <asp:ContentPlaceHolder id="PlaceHolderMain" runat="server"></asp:ContentPlaceHolder>
  </div>
  </div>
  
  <!--版权信息 -->
  <div class="down_link_bg">
   
  </div>
  
 </div>

  <asp:ContentPlaceHolder id="PlaceHolderFormDigest" runat="server">
  <SharePoint:FormDigest runat=server/>
  </asp:ContentPlaceHolder>
   <input type="text" name="__spDummyText1" style="display:none;" size=1/>
   <input type="text" name="__spDummyText2" style="display:none;" size=1/>
  </form>
  <asp:ContentPlaceHolder id="PlaceHolderUtilityContent" runat="server"/>
 <asp:ContentPlaceHolder id="PlaceHolderBodyAreaClass" runat="server"/>
 <asp:ContentPlaceHolder id="PlaceHolderTitleAreaClass" runat="server"/>
 <script type="text/javascript">
  window.onload=showSiteActionMenu;
  function showSiteActionMenu()
  {
   if(window.location.search.indexOf("type=edit")>0)
   {
    document.getElementById("trSiteActionMenu").style.display = "block";
   }
   else
   {
    document.getElementById("trSiteActionMenu").style.display = "none";
   }
  }
 </script>
</BODY>
</HTML>

你可能感兴趣的:(职场,SharePoint,休闲,自定义母版页)