nav.php 787 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | 头部
  5. |--------------------------------------------------------------------------
  6. */
  7. $view
  8. ->fetch('#top', 'manage/menu.getTop')
  9. ->fetch('#load_style', 'manage/database.res#css')
  10. ->fetch('#nav@style', '<{Dever::load("manage/auth.loading") ? "display:none;" : ""}>')
  11. # 定义名称
  12. ->fetch('#dever-name', 'manage/auth.config#title')
  13. ->fetch('#manage-name', 'manage/auth.info#username')
  14. ->fetch('#logout-url@href', 'manage/menu.link#logout')
  15. //->fetch('#edit@href', 'edit')
  16. ->fetch('#front-url a@href', 'manage/auth.config#front_url')
  17. ->fetch('#front-url a@title', 'manage/auth.config#front_name')
  18. ->fetch('#front-url@style', 'manage/auth.config#front_display')
  19. # display
  20. ->display();