mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 20:32:14 +09:00
Move admin layout assets to admin layout template files
@conory
This commit is contained in:
parent
4fc7605e93
commit
637e4f9e46
3 changed files with 12 additions and 13 deletions
|
|
@ -562,19 +562,7 @@ class HTMLDisplayHandler
|
|||
*/
|
||||
function _loadDesktopJSCSS()
|
||||
{
|
||||
$lang_type = Context::getLangType();
|
||||
$this->_loadCommonJSCSS();
|
||||
|
||||
// for admin page, add admin css
|
||||
if(Context::get('module') == 'admin' || strpos(Context::get('act'), 'Admin') > 0)
|
||||
{
|
||||
Context::loadFile(array('./modules/admin/tpl/css/admin.css', '', '', 10), true);
|
||||
Context::loadFile(array("./modules/admin/tpl/css/admin.iefix.css", '', 'ie', 10), true);
|
||||
Context::loadFile('./modules/admin/tpl/js/admin.js', true);
|
||||
Context::loadFile(array('./modules/admin/tpl/css/admin.bootstrap.css', '', '', 1), true);
|
||||
Context::loadFile(array('./modules/admin/tpl/js/jquery.tmpl.js', '', '', 1), true);
|
||||
Context::loadFile(array('./modules/admin/tpl/js/jquery.jstree.js', '', '', 1), true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
<load target="css/admin.bootstrap.css" />
|
||||
<load target="css/admin.iefix.css" />
|
||||
<load target="css/admin.css" />
|
||||
<load target="js/admin.js" />
|
||||
<load target="js/jquery.tmpl.js" />
|
||||
<load target="js/jquery.jstree.js" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=2, user-scalable=yes" />
|
||||
<script>
|
||||
var admin_menu_srl = "{$admin_menu_srl}";
|
||||
xe.cmd_find = "{$lang->cmd_find}";
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
<load target="css/admin.bootstrap.css" />
|
||||
<load target="css/admin.iefix.css" />
|
||||
<load target="css/admin.css" />
|
||||
<load target="js/admin.js" />
|
||||
<load target="js/jquery.tmpl.js" />
|
||||
<load target="js/jquery.jstree.js" />
|
||||
<div class="x">
|
||||
<div class="content" id="content">
|
||||
{$content}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue