common.php 1001 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. $view
  3. ->fetch('body@class', 'theme-<{Dever::load("/auth.config#template")}>')
  4. # 对以下的所有数据和展示进行接管
  5. ->fetch('#content_1@style', 'manage/database.page_'.$method.'#s1')
  6. ->fetch('#content_1', 'manage/database.page_'.$method.'#content')
  7. ->fetch('#content_2@style', 'manage/database.page_'.$method.'#s2')
  8. //->fetch('#wrapper@class', 'manage/database.cookie#wrapper')
  9. # top菜单
  10. /*
  11. ->loop
  12. (
  13. '.data-auth-top',
  14. 'manage/top.get',
  15. array
  16. (
  17. 'span|0' => '<{$v.name}>',
  18. 'ul' => array
  19. (
  20. 'li|$v.child' => array
  21. (
  22. 'a' => array
  23. (
  24. 'html' => '$v1.name',
  25. 'data-id' => '$v1.id',
  26. 'onclick' => 'topMenu($(this))',
  27. )
  28. ),
  29. ),
  30. )
  31. )
  32. */
  33. # 小标题
  34. ->fetch('#list-name', 'manage/database.info#'.$method.'_header')
  35. ->fetch('#list-project', 'manage/database.info#project_name');