mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Clean up admin i18n css
<html> element has the lang attribute as a default. so, we can clean up
css files.
<html> 요소는 lang 속성을 가지고 있습니다. 이를 이용하면 css 파일을 정리할 수 있습니다.
{$lang_type} 에 따른 css 를 불러오도록 HTMLDisplayHandler.php 에 정의되어 있지만, 한국어, 영어
외에는 파일이 존재하지 않습니다. (일본어도 _ja.css 파일은 부재) 언어별로 파일을 만들지 않아도 충분히 표현할 수 있기
때문에 이를 하나의 파일로 합칩니다.
This commit is contained in:
parent
25de7998c2
commit
fab9e43c16
7 changed files with 33 additions and 20 deletions
|
|
@ -394,7 +394,6 @@ class HTMLDisplayHandler
|
|||
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_{$lang_type}.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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue