95454d248835f43b6e03bc8bf49b058925984f37.svn-base 844 B

12345678910111213141516171819202122
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | home
  5. |--------------------------------------------------------------------------
  6. */
  7. $name = '后台管理';
  8. $view
  9. # 定义名称
  10. ->fetch('title', '<{Maze::$global.base.name}>'. $name)
  11. ->fetch(array('meta@content', 1), '<{Maze::$global.base.name}>' . $name)
  12. ->fetch(array('meta@content', 2), '<{Maze::$global.base.name}>' . $name)
  13. ->fetch(array('meta@content', 3), '<{Maze::$global.base.name}>' . $name)
  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();