Revize c478920d
Přidáno uživatelem Ondřej Fibich před asi 9 roky(ů)
application/views/users/show.php | ||
---|---|---|
$links[] = html::anchor('requests/show_by_user/'.$user_data->id,__('Show requests'));
|
||
}
|
||
if ($this->acl_check_edit('Users_Controller','password',$user_data->member_id) && !($user_data->is_user_in_aro_group($user_data->id, Aro_group_Model::ADMINS) && $user_data->id != $this->user_id ))
|
||
{
|
||
$links[] = html::anchor('users/change_password/'.$user_data->id,__('Change password'), array('class' => 'popup_link'));
|
||
$links[] = html::anchor('users/generate_password/'.$user_data->id,__('Generate onetime password'), array('title' => strtolower(__('Generate onetime password')), 'class' => 'confirm_link'));
|
||
}
|
||
if ($this->acl_check_edit('Users_Controller', 'application_password', $user_data->member_id))
|
||
$links[] = html::anchor('users/change_application_password/'.$user_data->id, __('Change application password'), array('class' => 'popup_link'));
|
||
|
||
if ($this->acl_check_view('Login_logs_Controller', 'logs', $user_data->member_id))
|
||
$links[] = html::anchor('login_logs/show_by_user/'.$user_data->id, __('Show login logs'));
|
||
|
||
if ($this->acl_check_edit('Aro_groups_Controller', 'aro_group'))
|
||
$links[] = html::anchor('aro_groups/edit_user/'.$user_data->id, __('Edit access rights'));
|
||
|
||
echo implode (' | ', $links);
|
||
|
||
... | ... | |
</tr>
|
||
<?php foreach ($contacts as $i => $contact):?>
|
||
<tr>
|
||
<th><?php echo $contact_types[$i] . ' - ' . ($contact->verify == 1 ? __('Verified') : __('Not verified')) ?></th>
|
||
<th><?php echo $contact_types[$i] ?></th>
|
||
<td><?php echo $contact->value ?></td>
|
||
</tr>
|
||
<?php endforeach; ?>
|
||
... | ... | |
<?php foreach ($aro_groups as $aro_group):?>
|
||
<tr>
|
||
<th><?php echo __('Group') ?></th>
|
||
<td><?php echo ($this->acl_check_view('Aro_groups_Controller', 'aro_group') ? html::anchor('aro_groups/show/'.$aro_group->id, __(''.$aro_group->name)) : __(''.$aro_group->name)) ?></td>
|
||
<td><?php echo __(''.$aro_group->name) ?></td>
|
||
</tr>
|
||
<?php endforeach; ?>
|
||
<tr>
|
Také k dispozici: Unified diff
Undo my stupid mistake (I have pushed issue-957 to master instead of develop). Do I have copied files from GitHub master and push them back..