12345678910111213141516171819202122 |
- <?php
- /*
- |--------------------------------------------------------------------------
- | home
- |--------------------------------------------------------------------------
- */
- $name = '后台管理';
- $view
- # 定义名称
- ->fetch('title', 'manage/auth.config#title')
- ->fetch(array('meta@content', 1), 'manage/auth.config#title')
- ->fetch(array('meta@content', 2), 'manage/auth.config#title')
- ->fetch(array('meta@content', 3), 'manage/auth.config#title')
- # 初始化几个js变量
- ->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}>"')
- # display
- ->display();
|