8345a63f14b44ff7e38348a14fc734d84f0f1e59.svn-base 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | home
  5. |--------------------------------------------------------------------------
  6. */
  7. $view
  8. ->fetch('body@class', 'theme-<{Maze::load("/auth.config#template")}>')
  9. # 小标题
  10. ->fetch('#list-name', '日志管理')
  11. ->fetch('#list-project', '快捷管理')
  12. ->fetch('#list-desc', '查看后台操作日志')
  13. # 新增的链接 @代表属性
  14. ->fetch('#list-add@style', 'display:none')
  15. # 隐藏搜索
  16. ->fetch('#search@style', 'display:none')
  17. # config
  18. ->fetch(array('#list-thead th', 0), '项目')
  19. ->fetch(array('#list-thead th', 1), '功能')
  20. ->fetch(array('#list-thead th', 2), '管理员')
  21. ->fetch(array('#list-thead th', 3), '日志记录')
  22. ->fetch
  23. (
  24. '#list-tbody tr',
  25. 'manage/log-list',
  26. array
  27. (
  28. 'td|0' => '<{Maze::load("manage/project.name", $v.project)}>',
  29. 'td|1' => '<{Maze::load("manage/database.getTableName", array($v.project, $v.table))}>',
  30. 'td|2' => '<{Maze::load("manage/admin-one#username", $v.admin)}>',
  31. 'td|3' => array
  32. (
  33. 'a' => array
  34. (
  35. 'modal' => '<{$v.info}>',
  36. 'html' => '查看详情',
  37. ),
  38. )
  39. )
  40. )
  41. # 分页
  42. ->fetch('#page','<{Maze::page("current")}>')
  43. # 总数据
  44. //->fetch('#total','<{Maze::total("current")}>')
  45. # display
  46. ->display();