57 lines
3.1 KiB
Smarty
57 lines
3.1 KiB
Smarty
{*+**********************************************************************************
|
|
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
|
|
* ("License"); You may not use this file except in compliance with the License
|
|
* The Original Code is: vtiger CRM Open Source
|
|
* The Initial Developer of the Original Code is vtiger.
|
|
* Portions created by vtiger are Copyright (C) vtiger.
|
|
* All Rights Reserved.
|
|
************************************************************************************}
|
|
{* START YOUR IMPLEMENTATION FROM BELOW. Use {debug} for information *}
|
|
{strip}
|
|
<div id="massEditContainer" class="modal-dialog modelContainer">
|
|
{assign var=HEADER_TITLE value={vtranslate('LBL_CHANGE_USERNAME', $MODULE)}}
|
|
{include file="ModalHeader.tpl"|vtemplate_path:$MODULE TITLE=$HEADER_TITLE}
|
|
<div class="modal-content">
|
|
<form class="form-horizontal" id="changeUsername" name="changeUsername" method="post" action="index.php">
|
|
<input type="hidden" name="module" value="{$MODULE}" />
|
|
<input type="hidden" name="userid" value="{$USER_MODEL->getId()}" />
|
|
<input type="hidden" name="username" value="{$USER_MODEL->get('user_name')}" />
|
|
<div name='massEditContent'>
|
|
<div class="modal-body ">
|
|
<div class="form-group">
|
|
<label class="control-label fieldLabel col-sm-5">
|
|
{vtranslate('New Username', $MODULE)}
|
|
<span class="redColor">*</span>
|
|
</label>
|
|
<div class="controls col-sm-6">
|
|
<input type="text" name="new_username" data-rule-required="true" data-rule-illegal="true"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="control-label fieldLabel col-sm-5">
|
|
{vtranslate('LBL_NEW_PASSWORD', $MODULE)}
|
|
<span class="redColor">*</span>
|
|
</label>
|
|
<div class="controls col-xs-6">
|
|
<input type="password" name="new_password" data-rule-required="true"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="control-label fieldLabel col-sm-5">
|
|
{vtranslate('LBL_CONFIRM_PASSWORD', $MODULE)}
|
|
<span class="redColor">*</span>
|
|
</label>
|
|
<div class="controls col-xs-6">
|
|
<input type="password" name="confirm_password" data-rule-required="true"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{include file='ModalFooter.tpl'|@vtemplate_path:$MODULE}
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{/strip}
|