--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-04-28 14:34:21 -07:00
2 changed files with 1 additions and 2 deletions

View File

@@ -39,6 +39,7 @@ namespace Orchard.MultiTenancy.Commands {
[CommandHelp("tenant add <tenantName> /Host:<hostname> /UrlPrefix:<url prefix>" + [CommandHelp("tenant add <tenantName> /Host:<hostname> /UrlPrefix:<url prefix>" +
": create new tenant named <tenantName> on the site")] ": create new tenant named <tenantName> on the site")]
[CommandName("tenant add")] [CommandName("tenant add")]
[OrchardSwitches("Host,UrlPrefix")]
public void Create(string tenantName) { public void Create(string tenantName) {
Context.Output.WriteLine(T("Creating tenant")); Context.Output.WriteLine(T("Creating tenant"));
_tenantService.CreateTenant( _tenantService.CreateTenant(

View File

@@ -11,8 +11,6 @@
<input id="Name" class="textMedium" name="Name" type="text" /><br /> <input id="Name" class="textMedium" name="Name" type="text" /><br />
<label for="RequestUrlHost"><%=_Encoded("Host") %></label> <label for="RequestUrlHost"><%=_Encoded("Host") %></label>
<input id="RequestUrlHost" class="textMedium" name="RequestUrlHost" type="text" /><br /> <input id="RequestUrlHost" class="textMedium" name="RequestUrlHost" type="text" /><br />
<label for="RequestUrlPrefix"><%=_Encoded("Url Prefix") %></label>
<input id="RequestUrlPrefix" class="textMedium" name="RequestUrlPrefix" type="text" /><br />
</fieldset> </fieldset>
<fieldset> <fieldset>
<input type="submit" class="button primaryAction" value="<%=_Encoded("Save") %>" /> <input type="submit" class="button primaryAction" value="<%=_Encoded("Save") %>" />