Commit 2cf69a74 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3334 Removing old files unneeded by userManagement now

parent 04dd554b
<script type="text/javascript" src="include/pwdStrength.js"></script>
<p>
{t}To change the user password use the fields below. The changes take effect immediately. Please memorize the new password, because the user wouldn't be able to login without it.{/t}
</p>
<p>
{t}Changing the password affects your authentification on mail, proxy, samba and unix services.{/t}
</p>
<hr>
{if !$proposalEnabled}
<table style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
<tr>
<td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
<td><input type="password" id="new_password" name="new_password" onFocus="nextfield= 'repeated_password';" onkeyup="testPasswordCss(document.getElementById('new_password').value);"></td>
</tr>
<tr>
<td><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
<td><input type="password" id="repeated_password" name="repeated_password" onFocus="nextfiled= 'password_finish'"></td>
</tr>
<tr>
<td><b>{t}Strength{/t}</b></td>
<td>
<span id="meterEmpty" style="padding:0;margin:0;width:100%;background-color:#DC143C;display:block;height:5px;">
<span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;background-color:#006400;display:block;height:5px;"></span></span>
</td>
</tr>
</table>
{else}
<table cellpadding="4" border="0">
<tr>
<td>
<input type='radio' value='1' name='proposalSelected' id='proposalSelected' onClick='updateFields();'
{if $proposalSelected} checked {/if}>&nbsp;<b>{t}Use proposal{/t}</b>
</td>
<td>
<div id='proposalText' style='
width:180px;
border:1px solid #BBB;
padding-top:3px;
padding-bottom:3px;
'>{$proposal}</div>
</td>
<td>
&nbsp;<input type='submit' name='refreshProposal' value='{t}Refresh{/t}'>
</td>
</tr>
<tr>
<td>
<input type='radio' value='0' name='proposalSelected' onClick='updateFields();'
{if !$proposalSelected} checked {/if}>&nbsp;<b>{t}Manually specify a password{/t}</b>
</td>
</tr>
<tr>
<td style='padding-left:40px;'><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
<td><input type="password" id="new_password" name="new_password" onFocus="nextfield= 'repeated_password';" onkeyup="testPasswordCss(document.getElementById('new_password').value);"></td>
</tr>
<tr>
<td style='padding-left:40px;'><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
<td><input type="password" id="repeated_password" name="repeated_password" onFocus="nextfiled='password_finish'"></td>
</tr>
<tr>
<td style='padding-left:40px;'><b>{t}Strength{/t}</b></td>
<td>
<span id="meterEmpty" style="padding:0;margin:0;width:100%;
background-color:#DC143C;display:block;height:7px;">
<span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;
background-color:#006400;display:block;height:7px;"></span></span>
</td>
</tr>
</table>
{/if}
{if $passwordChangeForceable}
<hr>
<input type='checkbox' name='enforcePasswordChange' value='1' id='enforcePasswordChange'
{if $enforcePasswordChange} checked {/if}>&nbsp;
<LABEL for='enforcePasswordChange'>{t}Enforce password change on next login.{/t}</LABEL>
{/if}
<br>
<p class="plugbottom">
<input type=submit name="password_finish" value="{t}Set password{/t}">
&nbsp;
<input type=submit name="password_cancel" value="{msgPool type=cancelButton}">
<input type='hidden' id='formSubmit'>
</p>
{literal}
<script type="text/javascript">
nextfield= 'current_password';
focus_field('current_password');
function updateFields()
{
if($('proposalSelected').checked){
$('new_password').disable();
$('repeated_password').disable();
$('proposalText').setStyle(
'background-color:#FFF;' +
'color:#000;' +
'width:180px;' +
'border:1px solid #CCC;' +
'padding:3px;' );
}else{
$('new_password').enable();
$('repeated_password').enable();
$('proposalText').setStyle(
'background-color:#DDD;' +
'color:#888;' +
'width:180px;' +
'border:1px solid #CCC;' +
'padding:3px;');
}
}
updateFields();
</script>
{/literal}
<div style="font-size:18px;">
<img alt="" src="images/warning.png"/>&nbsp;{t}Warning{/t}
</div>
<p>
{$info}
{t}This includes all account data, system access rules, imap settings, etc. for this user. Please double check if your really want to do this since there is no way for FusionDirectory to get your data back.{/t}
</p>
<p>
{t}So - if you're sure - press 'Delete' to continue or 'Cancel' to abort.{/t}
</p>
<p class="plugbottom">
<input type=submit name="delete_confirmed" value="{msgPool type=delButton}">
<input type=submit name="delete_cancel" value="{msgPool type=cancelButton}">
&nbsp;
</p>
<div style="font-size:18px;">
{t}Creating a new user using templates{/t}
</div>
<p>
{t}Creating a new user can be assisted by using templates. Many database records will be filled automatically. Choose 'none' to skip the usage of templates.{/t}
</p>
<hr/>
<br>
<table style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
<tr>
<td><b><LABEL for="template">{t}Template{/t}</LABEL></b></td>
<td>
<select size="1" name="template" id="template">
{html_options options=$templates selected=$template}
</select>
</td>
</tr>
<tr>
<td><b><LABEL for="sn">{t}Last name{/t}</LABEL></b></td>
<td><input type='text' name="sn" id="sn" size="30" maxlength="40" value="{$sn}"></td>
</tr>
<tr>
<td><b><LABEL for="givenName">{t}First name{/t}</LABEL></b></td>
<td><input type='text' name="givenName" id="givenName" size="30" maxlength="40" value="{$givenName}"></td>
</tr>
{if $got_uid eq "true"}
<tr>
<td><b>{t}Login{/t}</b></td>
<td>
{if $edit_uid eq "false"}
<select size="1" name="uid">
{html_options output=$uids values=$uids selected=$uid}
</select>
{else}
<input type='text' name="uid" size="30" maxlength="40" value="{$uid}">
{/if}
</td>
</tr>
{/if}
</table>
<br>
<p class="plugbottom">
<input type=submit name="template_continue" value="{t}Continue{/t}">
&nbsp;
<input type=submit name="edit_cancel" value="{msgPool type=cancelButton}">
</p>
<!-- Place cursor -->
<script type="text/javascript">
<!-- // First input field on page
focus_field('sn');
-->
</script>
<div style="font-size:18px;">
{t}Applying a template{/t}
</div>
<p>
{t}Applying a template to several users will replace all user attributes defined in the template.{/t}
</p>
<hr/>
<br>
{if $templates}
<table style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
<tr>
<td><b><LABEL for="template">{t}Template{/t}</LABEL></b></td>
<td>
<select size="1" name="template" id="template">
{html_options options=$templates}
</select>
</td>
</tr>
</table>
<br>
<p class="plugbottom">
<input type=submit name="templatize_continue" value="{msgPool type=applyButton}">
&nbsp;
<input type=submit name="edit_cancel" value="{msgPool type=cancelButton}">
</p>
{else}
{t}No templates available!{/t}
<p class="plugbottom">
<input type=submit name="edit_cancel" value="{msgPool type=cancelButton}">
</p>
{/if}
<!-- Place cursor -->
<script type="text/javascript">
<!-- // First input field on page
focus_field('template');
-->
</script>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment