2010-09-09 17:02:04 -07:00
|
|
|
@model Orchard.Users.Models.RegistrationSettingsPartRecord
|
|
|
|
|
|
|
|
<fieldset>
|
2011-04-06 15:55:39 -07:00
|
|
|
<legend>@T("Settings for Users")</legend>
|
2010-09-09 17:02:04 -07:00
|
|
|
<div>
|
|
|
|
@Html.EditorFor(m => m.UsersCanRegister)
|
|
|
|
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.UsersCanRegister)">@T("Users can create new accounts on the site")</label>
|
|
|
|
</div>
|
2010-11-30 17:19:13 -08:00
|
|
|
<div>
|
|
|
|
@Html.EditorFor(m => m.EnableLostPassword)
|
2011-03-28 11:57:23 -07:00
|
|
|
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.EnableLostPassword)">@T("Display a link to enable users to reset their password")</label>
|
2010-11-30 17:19:13 -08:00
|
|
|
</div>
|
2010-09-09 17:02:04 -07:00
|
|
|
<div>
|
|
|
|
@Html.EditorFor(m => m.UsersMustValidateEmail)
|
2010-11-05 15:18:26 -07:00
|
|
|
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.UsersMustValidateEmail)">@T("Users must verify their email address")</label>
|
2010-12-02 15:46:33 -08:00
|
|
|
</div>
|
|
|
|
<div data-controllerid="@Html.FieldIdFor(m => m.UsersMustValidateEmail)">
|
|
|
|
<label for="@Html.FieldIdFor( m => m.ValidateEmailRegisteredWebsite)">@T("Website public name")</label>
|
|
|
|
@Html.TextBoxFor(m => m.ValidateEmailRegisteredWebsite, new { @class = "textMedium" } )
|
|
|
|
@Html.ValidationMessage("ValidateEmailRegisteredWebsite", "*")
|
|
|
|
<span class="hint">@T("The name of your website as it will appear in the verification e-mail.")</span>
|
|
|
|
|
|
|
|
<label for="@Html.FieldIdFor( m => m.ValidateEmailContactEMail)">@T("Contact Us E-Mail address")</label>
|
|
|
|
@Html.TextBoxFor(m => m.ValidateEmailContactEMail, new { @class = "textMedium" } )
|
|
|
|
@Html.ValidationMessage("ValidateEmailContactEMail", "*")
|
|
|
|
<span class="hint">@T("The e-mail address displayed in the verification e-mail for a Contact Us link. Leave empty for no link.")</span>
|
2010-09-09 17:02:04 -07:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
@Html.EditorFor(m => m.UsersAreModerated)
|
|
|
|
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.UsersAreModerated)">@T("Users must be approved before they can log in")</label>
|
|
|
|
</div>
|
|
|
|
<div data-controllerid="@Html.FieldIdFor(m => m.UsersAreModerated)">
|
|
|
|
@Html.EditorFor(m => m.NotifyModeration)
|
|
|
|
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.NotifyModeration)">@T("Send a notification when a user needs moderation")</label>
|
|
|
|
</div>
|
2010-12-02 15:46:33 -08:00
|
|
|
<div data-controllerid="@Html.FieldIdFor(m => m.NotifyModeration)">
|
|
|
|
<label for="@Html.FieldIdFor( m => m.NotificationsRecipients)">@T("Moderators")</label>
|
|
|
|
@Html.TextBoxFor(m => m.NotificationsRecipients, new { @class = "textMedium" } )
|
|
|
|
@Html.ValidationMessage("NotificationsRecipients", "*")
|
|
|
|
<span class="hint">@T("The usernames to send the notifications to (e.g., \"admin, user1, ...\").")</span>
|
|
|
|
</div>
|
2010-09-09 17:02:04 -07:00
|
|
|
</fieldset>
|