head.php 801 B

12345678910111213141516171819202122
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | home
  5. |--------------------------------------------------------------------------
  6. */
  7. $name = '后台管理';
  8. $view
  9. # 定义名称
  10. ->fetch('title', 'manage/auth.config#title')
  11. ->fetch(array('meta@content', 1), 'manage/auth.config#title')
  12. ->fetch(array('meta@content', 2), 'manage/auth.config#title')
  13. ->fetch(array('meta@content', 3), 'manage/auth.config#title')
  14. # 初始化几个js变量
  15. ->fetch('script', 'var config={};config.host="<{Maze::url(\'\')}>";config.current="<{Maze::url()}>";config.upload="<{Maze::$global.host.upload}>";config.assets="<{Maze::$global.host.core}>";config.template="<{Maze::load(\'/auth.config#template\')}>";config.lib="<{Maze::$global.host.lib}>"')
  16. # display
  17. ->display();