home.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | home
  5. |--------------------------------------------------------------------------
  6. */
  7. $view
  8. ->fetch('.fixed-left@test', '公告')
  9. //->fetch('body@class', 'theme-<{Dever::load("manage/auth.config#template")}>')
  10. #->fetch('#panel-notice .panel-heading', '公告')
  11. ->fetch
  12. (
  13. '#panel-notice li',
  14. 'manage/auth.notice',
  15. array
  16. (
  17. 'a' => array
  18. (
  19. 'href' => '<{Dever::url("notice?where_id=".$v.id."&where_config=".$v.config)}>',
  20. 'title' => '<{$v.name}>',
  21. 'html' => '<{$v.name}>',
  22. ),
  23. )
  24. )
  25. ->fetch
  26. (
  27. '#panel-project a',
  28. 'manage/menu.fast',
  29. array
  30. (
  31. 'self' => array
  32. (
  33. 'href' => '<{$v.link}>',
  34. 'title' => '<{$v.name}>',
  35. 'html' => '<{$v.name}>',
  36. 'style' => 'margin-left:10px;',
  37. ),
  38. )
  39. )
  40. //->fetch('#panel-info .panel-heading', '重要信息')
  41. ->fetch('#panel-contact h3', 'manage/auth.config#info')
  42. ->fetch('#panel-contact address', 'manage/auth.config#content')
  43. # display
  44. ->display();