XpressEditor 를 위한 lang 추가 및 인터페이스 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6016 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-04-03 02:06:40 +00:00
parent 658bafbd46
commit ba863dc17e
10 changed files with 346 additions and 25 deletions

View file

@ -88,6 +88,10 @@
// 스킨 설정
$skin = $option->skin;
if(!$skin) $skin = 'default';
// xpresseditor룰 위한 셋팅
//if($skin=='default') $skin = 'xpresseditor';
$colorset = $option->colorset;
Context::set('colorset', $colorset);
Context::set('skin', $skin);
@ -188,6 +192,8 @@
$tpl_path = sprintf('%sskins/%s/', $this->module_path, $skin);
$tpl_file = 'editor.html';
if(!file_exists($tpl_path.$tpl_file)) {
$skin = 'default';
$tpl_path = sprintf('%sskins/%s/', $this->module_path, $skin);