Skip to content
This repository has been archived by the owner on Nov 24, 2019. It is now read-only.

Commit

Permalink
add link to set user's permission
Browse files Browse the repository at this point in the history
  • Loading branch information
ve3 committed Apr 23, 2014
1 parent 3579756 commit cca863c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions fuel/app/lang/en/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
$lang['account_role_and_status'] = 'Role and status';
$lang['account_saved'] = 'Your data has beed saved.';
$lang['account_send'] = 'Send';
$lang['account_set_permission'] = 'Set permission';
$lang['account_simultaneous_login_detected'] = 'Simultaneous login detected. There is another logged in to your account. If this is not you, please login again and change your password immediately.';
$lang['account_status'] = 'Status';
$lang['account_status_text'] = 'Reason for disabled';
Expand Down
1 change: 1 addition & 0 deletions fuel/app/lang/th/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
$lang['account_role_and_status'] = 'หน้าที่และสถานะ';
$lang['account_saved'] = 'ข้อมูลของคุณถูกบันทึกแล้ว.';
$lang['account_send'] = 'ส่ง';
$lang['account_set_permission'] = 'กำหนดสิทธิ';
$lang['account_simultaneous_login_detected'] = 'มีการเข้าสู่ระบบในบัญชีผู้ใช้ของคุณซ้อนเข้ามา หากไม่ใช่คุณ กรุณาเข้าสู่ระบบอีกครั้งแล้วรีบทำการเปลี่ยนรหัสผ่าน.';
$lang['account_status'] = 'สถานะ';
$lang['account_status_text'] = 'เหตุผลการปิดใช้งาน';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
<ul class="actions-inline">
<?php if (\Model_AccountLevelPermission::checkAdminPermission('account_perm', 'account_edit_perm')) { ?> <li><?php echo \Extension\Html::anchor('admin/account/edit/' . $row->account_id, '<span class="glyphicon glyphicon-pencil"></span> ' . \Lang::get('admin_edit'), array('class' => 'btn btn-default btn-xs')); ?></li><?php } ?>
<?php if (\Model_AccountLevelPermission::checkAdminPermission('account_perm', 'account_viewlogin_log_perm')) { ?> <li><?php echo \Extension\Html::anchor('admin/account/viewlogins/' . $row->account_id, '<span class="glyphicon glyphicon-list"></span> ' . \Lang::get('account_view_login_history'), array('class' => 'btn btn-default btn-xs')); ?></li><?php } ?>
<?php if (\Model_AccountLevelPermission::checkAdminPermission('acperm_perm', 'acperm_manage_user_perm')) { ?> <li><?php echo \Extension\Html::anchor('admin/account-permission/index/' . $row->account_id, '<span class="fa fa-key"></span> ' . \Lang::get('account_set_permission'), array('class' => 'btn btn-default btn-xs')); ?></li><?php } ?>
</ul>
<?php } ?>
</td>
Expand Down

0 comments on commit cca863c

Please sign in to comment.