IIS7 settings page: install Helicon Ape link is to the corrsponding WepPI page
This commit is contained in:
parent
2e73fd537b
commit
06fa3d494f
5 changed files with 29 additions and 1 deletions
|
@ -252,4 +252,7 @@
|
|||
<data name="ServerNameValidator.Text" xml:space="preserve">
|
||||
<value>*</value>
|
||||
</data>
|
||||
<data name="lnkPlatformInstaller.Text">
|
||||
<value xml:space="preserve">Web Platform Installer</value>
|
||||
</data>
|
||||
</root>
|
|
@ -202,7 +202,7 @@
|
|||
<value>.htaccess</value>
|
||||
</data>
|
||||
<data name="lclHeliconApeInstallNote.Text" xml:space="preserve">
|
||||
<value>Helicon Ape product provides .htaccess and .htpasswd files support on IIS 7+ and includes all major Apache modules. Note that Helicon Ape is not yet installed on the server. <br/><br/>Please <a href="http://www.helicontech.com/ape/doc/wsp_install.htm" target="_blank">download and install</a> Helicon Ape to activate this feature.</value>
|
||||
<value>Helicon Ape product provides .htaccess and .htpasswd files support on IIS 7+ and includes all major Apache modules. Note that Helicon Ape is not yet installed on the server.</value>
|
||||
</data>
|
||||
<data name="lblHtaccessAssembly.Text" xml:space="preserve">
|
||||
<value>Module Assembly:</value>
|
||||
|
|
|
@ -427,6 +427,8 @@
|
|||
</td>
|
||||
<td class="Normal" valign="top">
|
||||
<asp:Localize ID="Localize1" runat="server" meta:resourcekey="lclHeliconApeInstallNote" />
|
||||
<br/><br/>
|
||||
<asp:LinkButton runat="server" ID="InstallHeliconApeLink" Text="Install Helicon Ape" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -161,6 +161,20 @@ namespace WebsitePanel.Portal.ProviderControls
|
|||
else
|
||||
{
|
||||
configureApePanel.Visible = false;
|
||||
|
||||
// Build url manually, EditUrl throws exception: module is Null
|
||||
// pid=Servers&mid=137&ctl=edit_platforminstaller&ServerID=1&Product=HeliconApe
|
||||
|
||||
List<string> qsParts= new List<string>();
|
||||
|
||||
qsParts.Add("pid=Servers");
|
||||
qsParts.Add("ctl=edit_platforminstaller");
|
||||
qsParts.Add("mid=" + Request.QueryString["mid"]);
|
||||
qsParts.Add("ServerID=" + Request.QueryString["ServerID"]);
|
||||
qsParts.Add("WPIProduct=HeliconApe");
|
||||
|
||||
// TODO: make button here
|
||||
InstallHeliconApeLink.Attributes["href"] = "Default.aspx?" + String.Join("&", qsParts.ToArray());
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -669,6 +669,15 @@ namespace WebsitePanel.Portal.ProviderControls {
|
|||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize Localize1;
|
||||
|
||||
/// <summary>
|
||||
/// InstallHeliconApeLink control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton InstallHeliconApeLink;
|
||||
|
||||
/// <summary>
|
||||
/// configureApePanel control.
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue