|
|
|
@ -3,16 +3,12 @@
|
|
|
|
|
<div class="box span4">
|
|
|
|
|
<div class="box-header well" data-original-title="">
|
|
|
|
|
<h2><i class="icon-th"></i> Change Password</h2>
|
|
|
|
|
<div class="box-icon">
|
|
|
|
|
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
|
|
|
|
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-content">
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<form id="changePassword" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
|
|
|
|
<legend>Change Password</legend>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if !isset($changesOther) or $changesOther eq "FALSE"}
|
|
|
|
|
<div class="control-group {if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}error{else if
|
|
|
|
|
isset($match_error_message) and $match_error_message neq "fail"}success{else}{/if}">
|
|
|
|
@ -37,7 +33,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="control-group {if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}error{else if
|
|
|
|
|
isset($confirmnewpass_error_message) and $confirmnewpass_error_message eq "success"}success{else}{/if}">
|
|
|
|
|
<label class="control-label">Confirm New Password</label>
|
|
|
|
@ -49,21 +45,21 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
|
|
|
|
|
<div class="alert alert-success">
|
|
|
|
|
The password has been changed!
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "SHARDOFF"}
|
|
|
|
|
<div class="alert alert-warning">
|
|
|
|
|
The password has been changed, though the shard seems offline, it may take some time to see the change on the shard.
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input type="hidden" name="function" value="change_password">
|
|
|
|
|
<input type="hidden" name="target_id" value="{$target_id}">
|
|
|
|
|
<div class="control-group">
|
|
|
|
@ -72,25 +68,21 @@
|
|
|
|
|
<button type="submit" class="btn btn-primary" style="margin-left:5px; margin-top:10px;">Change Password</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div><!--/span-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="box span4">
|
|
|
|
|
<div class="box-header well" data-original-title="">
|
|
|
|
|
<h2><i class="icon-th"></i> Add User</h2>
|
|
|
|
|
<div class="box-icon">
|
|
|
|
|
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
|
|
|
|
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-content">
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<form id="addUser" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
|
|
|
|
<legend>Add User</legend>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label">Username</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
@ -99,8 +91,8 @@
|
|
|
|
|
<input type="text" value="Username" placeholder="Username" name="Username" id="Username" class="input-xlarge">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">Password</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
@ -110,7 +102,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">Confirm Password</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
@ -120,30 +112,30 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">Email</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<div class="input-prepend">
|
|
|
|
|
<span style="margin-left:5px;" class="add-on"><i class="icon-envelope"></i></span>
|
|
|
|
|
<input type="text" value="Email" placeholder="Email" name="Email" id="Email" class="input-xlarge">
|
|
|
|
|
<input type="text" value="Email" placeholder="Email" name="Email" id="Email" class="input-xlarge">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
|
|
|
|
|
<div class="alert alert-success">
|
|
|
|
|
The user is created!
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "SHARDOFF"}
|
|
|
|
|
<div class="alert alert-warning">
|
|
|
|
|
The user can't be created.
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input type="hidden" name="function" value="add_user">
|
|
|
|
|
<input type="hidden" name="target_id" value="{$target_id}">
|
|
|
|
|
<div class="control-group">
|
|
|
|
@ -152,19 +144,15 @@
|
|
|
|
|
<button type="submit" class="btn btn-primary" style="margin-left:5px; margin-top:10px;">Create User</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div><!--/span-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="box span4">
|
|
|
|
|
<div class="box-header well" data-original-title="">
|
|
|
|
|
<h2><i class="icon-th"></i> Change Email</h2>
|
|
|
|
|
<div class="box-icon">
|
|
|
|
|
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
|
|
|
|
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-content">
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
@ -177,24 +165,24 @@
|
|
|
|
|
<span class="add-on" style="margin-left:5px;"><i class="icon-envelope"></i></span>
|
|
|
|
|
<input type="text" class="input-xlarge" id="NewEmail" name="NewEmail" placeholder="Your new email" {if isset($prevNewEmail)}value="{$prevNewEmail}"{else if isset($current_mail)}value="{$current_mail}"{/if}>
|
|
|
|
|
{if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}<span class="help-inline">{$EMAIL}</span>{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "OK"}
|
|
|
|
|
<div class="alert alert-success">
|
|
|
|
|
The email has been changed!
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "SHARDOFF"}
|
|
|
|
|
<div class="alert alert-warning">
|
|
|
|
|
The email has been changed, though the shard seems offline, it may take some time to see the change on the shard.
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input type="hidden" name="function" value="change_mail">
|
|
|
|
|
<input type="hidden" name="target_id" value="{$target_id}">
|
|
|
|
|
<div class="control-group">
|
|
|
|
@ -204,37 +192,33 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="box span4">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="box-header well" data-original-title="">
|
|
|
|
|
<h2><i class="icon-envelope"></i> Ticket updates</h2>
|
|
|
|
|
<div class="box-icon">
|
|
|
|
|
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
|
|
|
|
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="box-content">
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<form id="changeReceiveMail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
|
|
|
|
<legend>Ticket-Update Mail Settings</legend>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label">Receive ticket updates</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<select name="ReceiveMail">
|
|
|
|
|
<select name="ReceiveMail">
|
|
|
|
|
<option value="1" {if isset($ReceiveMail) and $ReceiveMail eq 1}selected="selected"{/if}>Yes</option>
|
|
|
|
|
<option value="0" {if isset($ReceiveMail) and $ReceiveMail eq 0}selected="selected"{/if}>No</option>
|
|
|
|
|
</select>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input type="hidden" name="function" value="change_receivemail">
|
|
|
|
|
<input type="hidden" name="target_id" value="{$target_id}">
|
|
|
|
|
<div class="control-group">
|
|
|
|
@ -247,20 +231,16 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div><!--/span-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="box span4">
|
|
|
|
|
<div class="box-header well" data-original-title="">
|
|
|
|
|
<h2><i class="icon-th"></i> Change Info</h2>
|
|
|
|
|
<div class="box-icon">
|
|
|
|
|
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
|
|
|
|
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-content">
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<form id="changeEmail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
|
|
|
|
|
<legend>Change Info</legend>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label">Firstname</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
@ -270,7 +250,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label">Lastname</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
@ -280,7 +260,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label">Country</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
@ -288,13 +268,13 @@
|
|
|
|
|
{foreach from=$country_array key=k item=v}
|
|
|
|
|
<option value="{$k}" {if isset($Country) and $Country eq $k}selected="selected"{/if}>{$v}</option>
|
|
|
|
|
{/foreach}
|
|
|
|
|
</select>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label">Gender</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<label class="radio">
|
|
|
|
|
<div id="uniform-optionsRadios2" class="radio"><span class="{if isset($Gender) and $Gender eq 0}checked{/if}"><input style="opacity: 0;" name="Gender" id="optionsRadios0" value="0" {if isset($Gender) and $Gender eq 0}checked=""{/if} type="radio"></span></div>
|
|
|
|
|
Secret
|
|
|
|
@ -311,13 +291,13 @@
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if isset($info_updated) and $info_updated eq "OK"}
|
|
|
|
|
<div class="alert alert-success">
|
|
|
|
|
The Info has been updated!
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input type="hidden" name="function" value="change_info">
|
|
|
|
|
<input type="hidden" name="target_id" value="{$target_id}">
|
|
|
|
|
<div class="control-group">
|
|
|
|
@ -327,12 +307,12 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div><!--/span-->
|
|
|
|
|
</div><!--/row-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|