/application/views/scripts/user/list.phtml

https://bitbucket.org/hamidrezas/melobit · Unknown · 31 lines · 30 code · 1 blank · 0 comment · 0 complexity · f9f7e3d99e6bda19ad42be5fef42cf37 MD5 · raw file

  1. <?php $this->layout()->setLayout('page'); ?>
  2. <h3>Current Users</h3>
  3. <?php
  4. if ($this->users != null)
  5. {
  6. ?>
  7. <table>
  8. <thead>
  9. <tr>
  10. <th>Links</th>
  11. <th>Last Name</th>
  12. <th>First Name</th>
  13. <th>Username</th>
  14. <th>Role</th>
  15. </tr>
  16. </thead>
  17. <tbody>
  18. <?php echo $this->partialLoop('partials/_user-row.phtml', $this->users); ?>
  19. </tbody>
  20. </table>
  21. <?php
  22. }
  23. else
  24. {
  25. ?>
  26. <p>You do not have any users yet.</p>
  27. <?php
  28. }
  29. ?>
  30. <p><a href="/user/create">Create a new user</a></p>