Role_index.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <div class="table-list">
  2. <table width="100%" cellspacing="0">
  3. <thead>
  4. <tr>
  5. <th width="40">ID</th>
  6. <th align="left">{:L('user_group')}{:L('name')}</th>
  7. <th align="left">{:L('remark')}</th>
  8. <th width="60">{:L('status')}</th>
  9. <th width="220">{:L('manage')}</th>
  10. </tr>
  11. </thead>
  12. <tbody>
  13. <volist name="list" id="role" key="k">
  14. <tr>
  15. <td align="center">{$role['id']}</td>
  16. <td>{$role['name']}</td>
  17. <td>{$role['remark']}</td>
  18. <td align="center">
  19. <eq name="role['status']" value="1">
  20. {:L('enable')}
  21. <else />
  22. {:L('disable')}
  23. </eq>
  24. </td>
  25. <td align="center">
  26. <a href="{:U('Role/edit',array(id=>$role['id']))}">{:L('edit')}</a> |
  27. <a href="javascript:confirm_delete('{:U('Role/delete',array(id=>$role['id']))}')">{:L('delete')}</a> |
  28. <a href="javascript: openwin(\'license\',\'{:U('Access/index',array(rid=>$role[id],isajax=>1))}\','{:L('license')}',700,500,true);">{:L('license')}</a> |
  29. <a href="{:U('User/index',array(groupid=>$role['id']))}">{:L('user_list')}</a>
  30. </td>
  31. </tr>
  32. </volist>
  33. </tbody>
  34. </table>
  35. </div>