Ignore:
Timestamp:
Nov 20, 2014 7:07:44 PM (11 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/admin/views/collaborator/listview.php

    r572 r590  
     1<?php
     2$admin_info = $this->session->userdata('adminInfo');
     3$role_id = $admin_info['role_id'];
     4?>
    15<div id="breadcrumbs" class="breadcrumbs">
    26
     
    4145            <div style="padding-bottom:4px" class="table-header">
    4246                Thống kê tài khoản
    43 
     47                                <?php if($role_id == 1): ?>
    4448                <button href="#addUser" data-toggle="modal" class="btn btn-success pull-right">
    4549                    <i class="icon-plus"></i>
    4650                    Thêm cộng tác viên
    4751                </button>
     52                                <?php endif; ?>
    4853
    4954            </div>
     
    8792                                </th>
    8893                                <th class="<?php if ($sorting_field=='activated') {echo $sorting_order;} else {echo "sorting";}?>" id="activated" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 158px;" aria-label="Trạng thái: activate to sort column ascending">Trạng thái</th>
    89                                 <th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 133px;" aria-label="">Chức năng</th></tr>
     94                                <?php if($role_id == 1): ?><th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 133px;" aria-label="">Chức năng</th><?php endif; ?></tr>
    9095                        </thead>
    9196
     
    118123                                    ?>
    119124                                </td>
    120 
     125                                                                <?php if($role_id == 1): ?>
    121126                                <td class=" ">
    122127                                    <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
     
    168173                                    </div>
    169174                                </td>
     175                                                                <?php endif; ?>
    170176                            </tr>
    171177                            <?php } ?>
Note: See TracChangeset for help on using the changeset viewer.