You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
5.2 KiB
88 lines
5.2 KiB
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-xs-12 col-sm-12 col-md-6">
|
|
<table id="user_profile" data-user_data=<?="'".json_encode($user_data)."'"?> class="table" border="0">
|
|
<tr>
|
|
<td style="font-weight: bold;"><?=$this->lang->line('my_profile')?> : </td>
|
|
<td align="left"><?=ucwords($user_data->first_name)." ".ucwords($user_data->last_name)?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-weight: bold;"><?=$this->lang->line('email_address')?> : </td>
|
|
<td align="left"><?=$user_data->email_address?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-weight: bold;"><?=$this->lang->line('role')?> : </td>
|
|
<td align="left"><?=$user_data->role_name?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-weight: bold;"><?=$this->lang->line('username')?> : </td>
|
|
<td align="left"><?=$user_data->username?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-weight: bold;"><?=$this->lang->line('pwd')?> : </td>
|
|
<td align="left">****</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-weight: bold; border-bottom:none;"><?=$this->lang->line('status')?> : </td>
|
|
<td style="border-bottom:none;" align="left"><?=($user_data->status==1)?$this->lang->line("activated"):$this->lang->line("deactivated")?></td>
|
|
</tr>
|
|
<tr col-span ="2">
|
|
<td style="font-weight: bold; border-bottom:none; ">
|
|
<button type="submit" class="btn btn-primary" data-dismiss="modal" onclick="user_profile._modal();"><?=$this->lang->line('update_profile')?></button>
|
|
</td>
|
|
<td style="border-bottom:none;"></td>
|
|
</tr>
|
|
</table>
|
|
<!-- Modals -->
|
|
|
|
<!-- Modal for Changing User Profile Information -->
|
|
<div style="display: none;">
|
|
<!-- Modal content-->
|
|
<form role="form" data-toggle="validator" novalidate="novalidate" action="javascript:;" id="userProfileForm">
|
|
<div class="form-group">
|
|
<label for="first_name" class="control-label"><?=$this->lang->line('first_name')?></label>
|
|
<input type="text" class="form-control" id="first_name" name="first_name" placeholder="<?=$this->lang->line('first_name')?>" data-error="Please fill out this field." required>
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="last_name" class="control-label"><?=$this->lang->line('last_name')?></label>
|
|
<input type="text" class="form-control" id="last_name" name="last_name" placeholder="<?=$this->lang->line('last_name')?>" data-error="Please fill out this field." required>
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="email_address" class="control-label"><?=$this->lang->line('email_address')?></label>
|
|
<input type="email" class="form-control" id="email_address" name="email_address" placeholder="<?=$this->lang->line('email_address')?>" required>
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="username" class="control-label"><?=$this->lang->line('username')?></label>
|
|
<input type="text" class="form-control" id="username" name="username" placeholder="<?=$this->lang->line('username')?>" data-error="Please fill out this field." required>
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="old_password" class="control-label"><?=$this->lang->line('pwd')?></label>
|
|
<input type="password" class="form-control" id="old_password" name="old_password" data-error="Please fill out this field." required>
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="new_password" class="control-label"><?=$this->lang->line('new_pwd')?></label>
|
|
<input type="password" class="form-control" id="new_password" name="new_password" data-error="Please fill out this field.">
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="confirm_new_password" class="control-label"><?=$this->lang->line('confirm_new_pwd')?></label>
|
|
<input type="password" class="form-control" id="confirm_new_password" name="confirm_new_password" data-error="Please fill out this field.">
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|