head.php 780 B

123456789101112131415161718192021222324
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | home
  5. |--------------------------------------------------------------------------
  6. */
  7. $name = '后台管理';
  8. $view
  9. # 定义名称
  10. ->fetch('title', 'factory/admin/auth.config#name')
  11. ->fetch(array('meta@content', 1), 'factory/admin/auth.config#name')
  12. ->fetch(array('meta@content', 2), 'factory/admin/auth.config#name')
  13. ->fetch(array('meta@content', 3), 'factory/admin/auth.config#name')
  14. # 初始化几个js变量
  15. ->fetch('#script', '<{Dever::script()}>config.lib="<{Dever::config("host")->public}>"')
  16. ->fetch('#style', '<{Dever::load("factory/admin/auth.loading") ? ".content,.content-page{margin-left: 0px;min-height:auto}" : ""}>')
  17. # display
  18. ->display();