{strip}
{bithelp}

{tr}Admin users{/tr}

{jstabs} {jstab title="List of Users"} {include file="bitpackage:users/users_list.tpl"} {/jstab} {jstab title="Add User"} {formfeedback success=$addSuccess} {form legend="Add a new user" secure=$gBitSystem->isFeatureActive("site_https_login_required")}
{formlabel label="Real Name" for="real_name"} {forminput} {/forminput}
{formfeedback error=$errors.email} {formlabel label="Email" for="email"} {forminput} {/forminput}
{formfeedback error=$errors.login} {formlabel label="Username" for="login"} {forminput} {/forminput}
{formfeedback error=$errors.password} {formlabel label="Password" for="password"} {forminput}
{tr}Generate{/tr}
{/forminput} {forminput} {/forminput}
{formlabel label="Repeat Password" for="password2"} {forminput} {/forminput}
{formfeedback error=$errors.login} {formlabel label="User ID" for="user_id"} {forminput} {formhelp note="Specify an exact user_id. This is not recommended. If you have no idea why you would need to do this, you do not need this."} {/forminput}
{if $gBitSystem->isPackageActive('protector')} {if $defaultRoleId eq ''} {formfeedback error="No default role is currently set. Please set one in the Administration --> Users --> Roles and Permissions page"} {/if} {formlabel label="User will be added to the following role" for=""} {forminput} {$defaultRoleName} {booticon iname="icon-edit" ipackage="icons" iexplain="change settings"} {formhelp note="This is the role that is selected as the default role. If you would like to change the default role, please click on the edit icon and set a different role as default role."} {/forminput} {else} {if $defaultGroupId eq ''} {formfeedback error="No default group is currently set. Please set one in the Administration --> Users --> Groups and Permissions page"} {/if} {formlabel label="User will be added to the following group" for=""} {forminput} {$defaultGroupName} {booticon iname="icon-edit" ipackage="icons" iexplain="change settings"} {formhelp note="This is the group that is selected as the default group. If you would like to change the default group, please click on the edit icon and set a different group as default group."} {/forminput} {/if}
{forminput} {forminput label="checkbox"} {tr}Validate user by email{/tr} {formhelp note="This will email the user a validation url with a temporary one time password. On validation the user is forced to choose a new password."} {/forminput} {/forminput}
{forminput label="checkbox"} {tr}Validate email address{/tr} {formhelp note="This feature should be used only when you need the maximum security and should be used with discretion. If a visitor's email server is not responding, they will not be able to register. You also must have a valid sender email to use this feature."} {/forminput}
{forminput label="checkbox"} {tr}Don't email new user{/tr} {formhelp note="Do not email the new user a registration confirmation with their login information."} {/forminput}
{*include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_edit_mini_tpl"*}
{if $gBitSystem->isPackageActive('protector')} {else} {/if}
{/form} {/jstab} {/jstabs}
{/strip}