1 <?php
defined('SYSPATH') OR die('No direct access allowed.'); ?
>
5 if (isset($error_msg)) echo $error_msg; ?
>
6 <?php
echo $status_msg ?
>
8 echo form
::open('change_password/change_password');
9 echo '<h2>'._('Change password').'</h2>';
12 'current_password' => form
::password(array('name' => 'current_password', 'autocomplete' => 'off')),
13 'new_password' => form
::password(array('name' => 'new_password', 'autocomplete' => 'off')),
14 'confirm_password' => form
::password(array('name' => 'confirm_password', 'autocomplete' => 'off'))
17 'current_password' => _('Current password'),
18 'new_password' => _('New password'),
19 'confirm_password' => _('Repeat new password')
22 <table style
="border: none;" class="white-table">
24 foreach ($fields as $label => $field) {
27 <td style="border: none; padding-right: 10px; width: 100px">'.form
::label($label, $labels[$label]).'</td>
28 <td style="border: none;">'.$field.'</td>
32 <td style
="border: none;"></td
>
33 <td style
="border: none;"><?php
echo form
::submit('change_password', _('Change password')); ?
></td
>