head.php 787 B

123456789101112131415161718192021222324
  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', '<{Dever::script()}>config.template="<{$data["manage/auth.config"]["template"]}>";config.lib="<{Dever::config("host")->public}>"')
  16. ->fetch('#style', '<{Dever::load("manage/auth.loading") ? ".content,.content-page{margin-left: 0px;min-height:auto}" : ""}>')
  17. # display
  18. ->display();