页面:
<%@ Assembly Name="HP.EUSM.Self-ServiceUpgradeQuota.SPCustomAction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c0bc8231d98f244c" %>
<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Page Language="C#" MasterPageFile="~/_layouts/application.master" Inherits="Microsoft.SharePoint.WebControls.LayoutsPageBase" %> <%@ Register TagPrefix="Action" TagName="MainControl" Src="~/_controltemplates/SelfserviceUpgradeQuota/MainControl.ascx" %>
<%@ Register TagPrefix="Action" TagName="Navigator" Src="~/_controltemplates/SelfserviceUpgradeQuota/NavigationBanner.ascx" %>
<asp:Content ID="AdditionalPageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead"
runat="server">
<SharePoint:cssregistration runat="server" name="core.css" />
<link rel="stylesheet" type="text/css" href="/_layouts/hp/Styles.css" />
<%--<link rel="stylesheet" type="text/css" href="/_layouts/hp/hp.css" />--%>
<SharePoint:scriptlink language="javascript" name="core.js" runat="server" />
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
<SharePoint:encodedliteral runat="server" text="Request more space" encodemethod='HtmlEncode' />
</asp:Content>
<asp:Content ID="TitleBreadcrumb" ContentPlaceHolderID="PlaceHolderTitleBreadcrumb"
runat="server">
<Action:Navigator ID="Navigator" runat="server" PageHolderName="Default.aspx" />
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
runat="server">
<a href="..\settings.aspx">
<SharePoint:encodedliteral runat="server" text="Site Settings" encodemethod="HtmlEncode" />
</a>&#;<%--<SharePoint:clustereddirectionalseparatorarrow runat="server" />--%>
<SharePoint:encodedliteral runat="server" text="Request more space" encodemethod='HtmlEncode' />
</asp:Content>
<asp:Content ID="PageDescription" ContentPlaceHolderID="PlaceHolderPageDescription"
runat="server">
<asp:Label runat="server" ID="lblInfo" Text="This page determines the site collection's eligibility for more space. Please view<a href='../storman.aspx'><u> storage space allocation</u></a> for more details about the content in this site collection." />
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<Action:MainControl ID="MainControl" runat="server" />
</asp:Content>
用户控件:
<%@ Assembly Name="HP.EUSM.Self-ServiceUpgradeQuota.SPCustomAction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c0bc8231d98f244c" %>
<%@ Control Language="C#" AutoEventWireup="true" Inherits="HP.EUSM.Self_ServiceUpgradeQuota.SPCustomAction.MainControl" %> <table border="" width="100%" height="100%" cellpadding="" cellspacing="" class="ms-main">
<col style="height: 100%; width: 60%;" />
<col style="height: 100%; width: 40%;" />
<tr>
<td class="ms-sectionline" height="" colspan="">
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
<tr>
<td class="ms-descriptiontext" valign="top">
<table border="" cellpadding="" cellspacing="" width="100%">
<tr>
<td class="ms-sectionheader" style="padding-top: 4px;" height="" valign="top">
<h3 class="ms-standardheader ms-inputformheader">
Storage Space Allocation
</h3>
</td>
</tr>
<tr>
<td class="ms-descriptiontext ms-inputformdescription">
</td>
<td>
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
<tr>
<td>
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
</table>
</td>
<td class="ms-authoringcontrols ms-inputformcontrols" valign="top" align="left">
<table border="" width="100%" cellspacing="" cellpadding="">
<tr>
<td width="9px">
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
<td>
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
<td width="10px">
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
<tr>
<td />
<td class="ms-authoringcontrols">
<table class="ms-authoringcontrols" border="" width="100%" cellspacing="" cellpadding="">
<tr>
<td class="ms-authoringcontrols" style="white-space: nowrap;">
<table cellpadding="" cellspacing="" border="" width="100%">
<tr class="ms-authoringcontrols">
<td class="ms-authoringcontrols">
<asp:Label ID="lbStatistics" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
<tr>
<td>
<table border="" width="100%" cellspacing="" cellpadding="" style="height: 100%;
table-layout: fixed;">
<colgroup>
<col width="30px" style="white-space: nowrap" />
<col width="25px" />
</colgroup>
<tr>
<td>
</td>
<td class="datacellkey" nowrap="nowrap">
<span> </span>
</td>
<td class="ms-authoringcontrols" nowrap="nowrap">
<span class="info_title"> Site content </span>:
<asp:Label ID="lbSiteUsage" runat="server" CssClass="ms-descriptiontext" />
<span class="info_unit"> </span>
</td>
</tr>
<tr>
<td>
</td>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td>
<br />
</td>
</tr>
<tr id="trashbin" runat="server">
<td>
</td>
<td class="trashbincellkey" id="trashbinkey" nowrap="nowrap">
<span> </span>
</td>
<td class="ms-authoringcontrols" nowrap="nowrap">
<span class="info_title"> <a href="../AdminRecycleBin.aspx" style="text-decoration: underline"
target="_self">Recycle bin</a> </span>:
<asp:Label ID="lbRcyBinConsumed" runat="server" CssClass="ms-descriptiontext" />
<span class="info_unit"> </span>
</td>
</tr>
<tr id="trashbinBlank" runat="server">
<td>
</td>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td>
<br />
</td>
</tr>
<!-- free space -->
<tr>
<td>
</td>
<td class="freecellkey" nowrap="nowrap">
<span> </span>
</td>
<td nowrap="nowrap">
<span class="info_title"> Free storage </span>:
<asp:Label ID="lbAvailableStorage" runat="server" CssClass="ms-descriptiontext" />
<span class="info_unit"> </span>
</td>
</tr>
<tr>
<td>
</td>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td>
<br />
</td>
</tr>
<tr>
<td>
</td>
<td class="ms-authoringcontrols" nowrap="nowrap" colspan="" style="width: auto;">
<asp:Panel ID="panelSndStageRcybin" runat="server" CssClass="ms-authoringcontrols">
<table cellpadding="" cellspacing="" border="" width="100%" class="ms-authoringcontrols">
<tr>
<td class="trashbincellkey" id="trashbinkey" nowrap="nowrap">
<span> </span>
</td>
<td nowrap="nowrap" class="ms-authoringcontrols">
<span class="info_title"> Reserved for <a href="../AdminRecycleBin.aspx?View=2"
style="text-decoration: underline" target="_self">second stage recycle bin</a> </span>:
<asp:Label ID="lbSndStageRcybin" runat="server" CssClass="ms-descriptiontext" />
<span class="info_unit"> </span>
</td>
</tr>
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td>
<br />
</td>
</tr>
<!-- End Right_Text -->
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td class="ms-authoringcontrols" nowrap="nowrap">
<asp:Panel ID="Panel1" runat="server">
<span style="text-align: justify"> </span>
<img src="/_layouts/images/SelfserviceUpgradeQuota/Item.gif" width="" height=""
style="vertical-align: middle; height: 5px;" alt="" />
<span style="text-align: justify">A second stage Recycle Bin stores items that you delete
from your Recycle Bin.</span></asp:Panel>
</td>
</tr>
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td>
<br />
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="10px">
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="ms-sectionline" height="" colspan="">
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
<tr>
<td class="ms-descriptiontext" valign="top">
<table border="" cellpadding="" cellspacing="" width="100%">
<tr>
<td class="ms-sectionheader" style="padding-top: 4px;" height="" valign="top">
<h3 class="ms-standardheader ms-inputformheader">
Eligibility
</h3>
</td>
</tr>
<tr>
<td class="ms-descriptiontext ms-inputformdescription">
</td>
<td>
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
<tr>
<td>
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
</table>
</td>
<td class="ms-authoringcontrols ms-inputformcontrols" valign="top" align="left">
<table border="" width="100%" cellspacing="" cellpadding="" style="height: 100%">
<colgroup>
<col style="height: 100%; width: 10px;" />
<col style="height: 100%; width: 100%;" />
<col style="height: 100%; width: 10px;" />
</colgroup>
<tr class="ms-authoringcontrols">
<td>
<img src="/_layouts/images/blank.gif" height="" alt="" />
</td>
<td>
<img src="/_layouts/images/blank.gif" height="" alt="" />
</td>
<td>
<img src="/_layouts/images/blank.gif" height="" alt="" />
</td>
</tr>
<tr class="ms-authoringcontrols">
<td />
<td class="ms-authoringcontrols">
<table class="ms-authoringcontrols" border="" width="100%" cellspacing="" cellpadding="">
<colgroup>
<col width="15px" style="height: 20px" />
<col width="99%" style="height: 15px" />
</colgroup>
<tr>
<td class="ms-authoringcontrols table-td" style="white-space: nowrap;" colspan="">
<asp:Literal ID="ltrlPoilcyCheckResult" runat="server" />
<br />
<br />
<asp:Label ID="lbContinuedWorkflow" runat="server" />
</td>
</tr>
<tr>
<td colspan="">
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
</table>
<asp:Panel ID="panelViolateQuota" runat="server" CssClass="ms-authoringcontrols">
<table class="ms-authoringcontrols" border="" width="100%" cellspacing="" cellpadding="">
<colgroup>
<col width="15px" style="height: 100%" />
<col width="99%" style="height: 100%" />
</colgroup>
<tr>
<td class="ms-authoringcontrols table-td" colspan="" nowrap="nowrap">
<span> </span>
</td>
</tr>
<!-- End Right_Text -->
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="15px" height="" alt="" /><font color="red"><b> -
</b></font>
</td>
<td class="ms-authoringcontrols table-td">
<img src="/_layouts/images/blank.gif" width="5px" height="" alt="" />
<asp:Literal ID="ltrlQuotaViolation" runat="server" />
<br />
<br />
</td>
</tr>
<tr>
<td colspan="">
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="panelViolateRcyBin" runat="server" CssClass="ms-authoringcontrols">
<table class="ms-authoringcontrols" border="" width="100%" cellspacing="" cellpadding="">
<colgroup>
<col width="15px" style="height: 20px" />
<col width="99%" style="height: 15px" />
</colgroup>
<!-- <tr>
<td class="ms-authoringcontrols table-td" colspan="" nowrap="nowrap">
<span> </span>
</td>
</tr>-->
<!-- End Right_Text -->
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="15px" height="" alt="" /><font color="red"><b> -
</b></font>
</td>
<td class="ms-authoringcontrols table-td">
<img src="/_layouts/images/blank.gif" width="5px" height="" alt="" />
<asp:Literal ID="ltrlRcyBinViolation" runat="server" />
<br />
<br />
</td>
</tr>
<tr>
<td colspan="">
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="panelViolateUsage" runat="server" CssClass="ms-authoringcontrols">
<table class="ms-authoringcontrols" border="" width="100%" cellspacing="" cellpadding=""
style="height: 100%">
<colgroup>
<col width="15px" style="height: 20px" />
<col width="99%" style="height: 15px" />
</colgroup>
<!--<tr>
<td class="ms-authoringcontrols table-td" colspan="" nowrap="nowrap">
<span> </span>
</td>
</tr>-->
<!-- End Right_Text -->
<tr>
<td valign="top">
<img src="/_layouts/images/blank.gif" width="15px" height="" alt="" /><font color="red"><b> -
</b></font>
</td>
<td class="ms-authoringcontrols table-td">
<img src="/_layouts/images/blank.gif" width="5px" height="" alt="" />
<asp:Literal ID="ltrlUsageViolation" runat="server" />
<br />
<br />
</td>
</tr>
<tr>
<td colspan="">
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="panelViolateDBSize" runat="server" CssClass="ms-authoringcontrols">
<table class="ms-authoringcontrols" border="" width="100%" cellspacing="" cellpadding=""
style="height: 100%">
<colgroup>
<col width="15px" style="height: 20px" />
<col width="99%" style="height: 15px" />
</colgroup>
<tr>
<td class="ms-authoringcontrols table-td" colspan="" nowrap="nowrap">
<span> </span>
</td>
</tr>
<!-- End Right_Text -->
<tr>
<td>
<img src="/_layouts/images/blank.gif" width="15px" height="" alt="" /><font color="red"><b> -
</b></font>
</td>
<td class="ms-authoringcontrols table-td">
<img src="/_layouts/images/blank.gif" width="5px" height="" alt="" />
<asp:Literal ID="ltrlDBSizeViolation" runat="server" />
<br />
<br />
</td>
</tr>
<tr>
<td colspan="">
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
</table>
</asp:Panel>
</td>
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
</tr>
<tr class="ms-authoringcontrols">
<td />
<td>
<asp:HyperLink ID="lkTarget" runat="server" CssClass="ms-authoringcontrols hide-section" />
</td>
<td />
</tr>
<tr class="ms-authoringcontrols">
<td />
<td>
<img src="/_layouts/images/blank.gif" width="100%" height="" alt="" />
</td>
<td />
</tr>
</table>
</td>
</tr>
<tr>
<td class="ms-sectionline" height="" colspan="">
<img src="/_layouts/images/blank.gif" width='' height='' alt="" />
</td>
</tr>
<tr>
<td height="10px" class="ms-descriptiontext" colspan="">
<img src="/_layouts/images/blank.gif" width="" height="" alt="" />
</td>
</tr>
<tr>
<td colspan="">
<table cellpadding="" cellspacing="" width="100%">
<colgroup>
<col width="99%" />
<col width="1%" />
</colgroup>
<tr>
<td>
&#;
</td>
<td nowrap="nowrap">
<asp:Button ID="BtnUpgradeQuota" runat="server" Text="" CssClass="ms-ButtonHeightWidth"
OnClick="OnBtnUpgradeQuotaClick" />
<asp:Button ID="BtnCancel" runat="server" Text="Cancel" CssClass="ms-ButtonHeightWidth"
OnClick="OnBtnCancelClick" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="10px" class="ms-descriptiontext" colspan="">
<asp:Label ID="lbErrMsg" runat="server" ForeColor="Red" Text="" />
</td>
<td height="10px" class="ms-descriptiontext">
<img src="/_layouts/images/blank.gif" width="" height="" alt="" />
</td>
</tr>
<tr>
<td height="10px" class="ms-descriptiontext" colspan="">
<img src="/_layouts/images/blank.gif" width="" height="" alt="" />
</td>
</tr>
<tr>
<td class="ms-descriptiontext" style="height: 10px;">
</td>
<td class="ms-descriptiontext" style="height: 10px;">
<img src="/_layouts/images/blank.gif" width="" height="" alt="" />
</td>
</tr>
<tr>
<td class="ms-descriptiontext" colspan="" style="text-align: center; height: 40px;">
<img src="/_layouts/images/blank.gif" width="" height="" alt="" />
</td>
</tr>
</table>