From 083780c3704feebe1e63c82249064616db82ceb5 Mon Sep 17 00:00:00 2001 From: haneul Date: Sat, 2 May 2009 05:27:35 +0000 Subject: [PATCH 001/178] #17892096 : added a Not Assigned option for millestone select in issue list page git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6244 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/issuetracker/skins/xe_issuetracker/issue_list.html | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/issuetracker/skins/xe_issuetracker/issue_list.html b/modules/issuetracker/skins/xe_issuetracker/issue_list.html index 5d7c19183..a21e3fd39 100644 --- a/modules/issuetracker/skins/xe_issuetracker/issue_list.html +++ b/modules/issuetracker/skins/xe_issuetracker/issue_list.html @@ -8,6 +8,7 @@
  • +
    profile_image == 'Y' || $member_config->image_name=='Y' || $member_config->image_mark=='Y')-->enctype="multipart/form-data" target="tmp_upload_iframe"> @@ -271,4 +270,6 @@ })(jQuery); + + From fd764005bd96132f6623baa7969be3566f86bfd3 Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 4 May 2009 05:15:52 +0000 Subject: [PATCH 018/178] =?UTF-8?q?AJAX=EC=B2=98=EB=A6=AC=ED=9B=84=20?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20refresh=20=EA=B4=80=EB=A0=A8?= =?UTF-8?q?=EB=90=98=EC=96=B4=EC=84=9C=20URL=20=EB=81=9D=EC=97=90=20#=20?= =?UTF-8?q?=EC=9D=B4=20=EC=9E=88=EC=9C=BC=EB=A9=B4=20refresh=EA=B0=80=20?= =?UTF-8?q?=EC=95=88=EB=90=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6261 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/js/xml_js_filter.js | 2 +- common/tpl/refresh.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/js/xml_js_filter.js b/common/js/xml_js_filter.js index 01b89fa29..181d9c91c 100644 --- a/common/js/xml_js_filter.js +++ b/common/js/xml_js_filter.js @@ -28,7 +28,7 @@ function filterAlertMessage(ret_obj) { if(typeof(act)!="undefined" && act) url = current_url.setQuery("act", act); else if(typeof(redirect_url)!="undefined" && redirect_url) url = redirect_url; - if(url == location.href) url = url.replace(/#(.+)$/,''); + if(url == location.href) url = url.replace(/#(.*)$/,''); location.href = url; } diff --git a/common/tpl/refresh.html b/common/tpl/refresh.html index 2f4983d1d..4ac78ff14 100644 --- a/common/tpl/refresh.html +++ b/common/tpl/refresh.html @@ -1,3 +1,3 @@ From 9336c5e28d1aa523a24253d982ff2d3605e60a5a Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 4 May 2009 05:20:21 +0000 Subject: [PATCH 019/178] =?UTF-8?q?=EB=82=B4=EC=9A=A9=20=EC=A7=81=EC=A0=91?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80=EC=8B=9C=20=EC=82=AC=EC=9A=A9=ED=95=9C=20?= =?UTF-8?q?=EC=97=90=EB=94=94=ED=84=B0=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8?= =?UTF-8?q?=EA=B0=80=20=EC=A0=9C=EB=8C=80=EB=A1=9C=20=EB=8F=99=EC=9E=91?= =?UTF-8?q?=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8D=98=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6262 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/widget/widget.controller.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/widget/widget.controller.php b/modules/widget/widget.controller.php index 95560f8ae..956d631d9 100644 --- a/modules/widget/widget.controller.php +++ b/modules/widget/widget.controller.php @@ -501,6 +501,10 @@ $body = base64_decode($args->body); } + // 에디터컴포넌트 변경 + $oEditorController = &getController('editor'); + $body = $oEditorController->transComponent($body); + $widget_content_header = sprintf('
    ', $args->id, $style, $inner_style); $widget_content_body = $body; $widget_content_footer = '
    '; From 925eaed265790cdf0b0117e9cc50b8dd28c39038 Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 4 May 2009 06:12:56 +0000 Subject: [PATCH 020/178] =?UTF-8?q?=EC=99=B8=EB=B6=80=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=EC=97=90=EC=84=9C=20=EC=9D=B4=EB=AF=B8=EC=A7=80/?= =?UTF-8?q?=EB=8C=80=EC=83=81=EB=A7=81=ED=81=AC/=EB=B0=B0=EA=B2=BD?= =?UTF-8?q?=EC=9D=B4=EB=AF=B8=EC=A7=80=EB=93=B1=EC=9D=98=20=EA=B2=BD?= =?UTF-8?q?=EB=A1=9C=EB=A5=BC=20=EC=A0=9C=EB=8C=80=EB=A1=9C=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6263 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/opage/opage.controller.php | 50 ++++++++++++------------------ modules/opage/opage.view.php | 15 +++++++++ 2 files changed, 35 insertions(+), 30 deletions(-) diff --git a/modules/opage/opage.controller.php b/modules/opage/opage.controller.php index b6599c748..abaebe022 100644 --- a/modules/opage/opage.controller.php +++ b/modules/opage/opage.controller.php @@ -68,41 +68,31 @@ * @brief 내용에 포함된 src, href의 값을 변경 **/ function replaceSrc($content, $path) { - if(substr($path,-1)!='/') $path.='/'; - $this->target_path = $path; - - // element의 속성중 value에 " 로 안 묶여 있는 것을 검사하여 묶어줌 - 에러날 수 있음 ex) window.open('*','*','width=320, height=240 ,left=100,top=100') - //$content = preg_replace_callback('/([^=^"^ ]*)=([^ ^>]*)/i', fixQuotation, $content); - - // img, input, a, link등의 href, src값 변경 - $content = preg_replace_callback('!<(script|link|a|img|input|iframe)([^>]*)(href|src)=[\'"](.*?)[\'"]!is', array($this, '_replaceSrc'), $content); - - // background:url의 값 변경 - $content = preg_replace_callback('!url\((.*?)\)!is', array($this, '_replaceBackgroundUrl'), $content); + $url_info = parse_url($path); + $host = sprintf("%s://%s%s",$url_info['scheme'],$url_info['host'],$url_info['port']?':'.$url_info['port']:''); + $path = $url_info['path']; + if(substr($path,-1)=='/') $path = substr($path,-1); + $t = explode('/',$path); + $_t = array(); + for($i=0,$c=count($t)-1;$i<$c;$i++) { + $v = trim($t[$i]); + if(!$v) continue; + $_t[] = $v; + } + $path = $host.implode('/',$_t); + if(substr($path,-1)!='/') $path .= '/'; + $this->path = $path; + $content = preg_replace_callback('/(src=|href=|url\()("|\')?([^"\'\)]+)("|\'\))?/is',array($this,'_replacePath'),$content); return $content; } - function _replaceSrc($matches) { - $href = $matches[4]; - if(preg_match("/^http/i", $href) || $href == '#' || preg_match("/javascript:/i",$href)) return $matches[0]; - - if(substr($href,0,1)=='/') $href = substr($href,1); - $href = $this->target_path.$href; - - $buff = sprintf('<%s%s%s="%s"', $matches[1], $matches[2], $matches[3], $href); - return $buff; + function _replacePath($matches) { + $val = trim($matches[3]); + if(preg_match('/^(http|\/|\.\.)/i',$val)) return $matches[0]; + if(substr($val,0,2)=='./') $val = substr($val,2); + return sprintf("%s%s%s%s",$matches[1],$matches[2],$this->path.$val,$matches[4]); } - function _replaceBackgroundUrl($matches) { - $href = $matches[1]; - if(preg_match("/^http/i",$href) || $href == '#' || preg_match("/javascript:/i",$href)) return $matches[0]; - - if(substr($href,0,1)=='/') $href = substr($href,1); - $href = $this->target_path.$href; - - $buff = sprintf('url(%s)', $href); - return $buff; - } } ?> diff --git a/modules/opage/opage.view.php b/modules/opage/opage.view.php index 2fe18ff3a..c70d4b6e7 100644 --- a/modules/opage/opage.view.php +++ b/modules/opage/opage.view.php @@ -37,6 +37,7 @@ else $content = $this->executeFile($path, $caching_interval, $cache_file); } + Context::set('opage_content', $content); // 결과 출력 템플릿 지정 @@ -107,6 +108,11 @@ @include($path); $content = ob_get_clean(); + // 상대경로를 절대경로로 변경 + $path_info = pathinfo($path); + $this->path = realpath($path_info['dirname']).'/'; + $content = preg_replace_callback('/(src=|href=|url\()("|\')?([^"\'\)]+)("|\'\))?/is',array($this,'_replacePath'),$content); + FileHandler::writeFile($cache_file, $content); // include후 결과를 return @@ -130,5 +136,14 @@ return $content; } + function _replacePath($matches) { + $val = trim($matches[3]); + if(preg_match('/^(http|\/|\.\.)/i',$val)) return $matches[0]; + if(substr($val,0,2)=='./') $val = substr($val,2); + + $p = str_replace(_XE_PATH_,'',$this->path); + return sprintf("%s%s%s%s",$matches[1],$matches[2],getUrl('').$val,$matches[4]); + } + } ?> From c38e54616ca20d0a1824ef0f7e62934606f642f0 Mon Sep 17 00:00:00 2001 From: heemin Date: Mon, 4 May 2009 06:16:33 +0000 Subject: [PATCH 021/178] =?UTF-8?q?=EC=9D=BC=EB=B6=80=20=EC=9D=BC=EB=B3=B8?= =?UTF-8?q?=EC=96=B4=20=EB=B2=88=EC=97=AD=20=EB=88=84=EB=9D=BD=20=EB=B6=80?= =?UTF-8?q?=EB=B6=84=20=EB=B3=B4=EC=B6=A9=20=EB=B0=8F=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6264 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/homepage/lang/jp.lang.php | 4 ++-- modules/member/lang/jp.lang.php | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/homepage/lang/jp.lang.php b/modules/homepage/lang/jp.lang.php index 4b283c2c3..46748b427 100644 --- a/modules/homepage/lang/jp.lang.php +++ b/modules/homepage/lang/jp.lang.php @@ -7,7 +7,7 @@ $lang->cafe = "CafeXE"; $lang->cafe_id = "カフェへのアクセスID"; - $lang->cafe_title = "ホームページ名"; + $lang->cafe_title = "カフェ名"; $lang->cafe_description = 'カフェの説明'; $lang->cafe_banner = 'カフェのバナーイメージ'; $lang->module_type = "タイプ"; @@ -22,7 +22,7 @@ $lang->cafe_latest_comments = 'カフェの新規コメント'; $lang->mycafe_list = '登録したカフェ'; $lang->cafe_creation_type = 'カフェアクセス方法'; - $lang->about_cafe_creation_type = '作成するカフェへのユーザーからのアクセス方法を定めてください。Site IDとは http://ドメイン/IDへアクセスが可能になり、ドメインアクセスとは登録したサブドメイン(http://domain.mydomain.net)にカフェが作成されます。'; + $lang->about_cafe_creation_type = '作成するカフェへのユーザーからのアクセス方法を定めてください。Site IDとは「http://ドメイン/ID」へアクセスが可能になり、ドメインアクセスとは登録したサブドメイン( http://domain.mydomain.net )にカフェが作成されます。'; $lang->cafe_main_layout = 'カフェトップページのレイアウト'; $lang->default_layout = 'デフォルトレイアウト'; diff --git a/modules/member/lang/jp.lang.php b/modules/member/lang/jp.lang.php index 0da20762f..707586d40 100644 --- a/modules/member/lang/jp.lang.php +++ b/modules/member/lang/jp.lang.php @@ -20,7 +20,7 @@ $lang->invalid_authorization = '認証出来ませんでした。'; $lang->invalid_user_id= '存在しないユーザIDです。'; $lang->invalid_password = '無効なパスワードです。'; - $lang->allow_mailing = 'メーリングリスト'; + $lang->allow_mailing = 'メーリングリストに登録'; $lang->denied = '使用中止'; $lang->is_admin = '最高管理権限'; $lang->group = '所属グループ'; @@ -36,7 +36,7 @@ $lang->image_mark = 'イメージマーク'; $lang->image_mark_max_width = '横幅制限サイズ'; $lang->image_mark_max_height = '縦幅制限サイズ'; - $lang->group_image_mark = 'Group Image Mark'; + $lang->group_image_mark = 'グループ用イメージマーク'; $lang->group_image_mark_max_width = '横幅制限サイズ'; $lang->group_image_mark_max_height = '縦幅制限サイズ'; $lang->group_image_mark_order = 'グループ用イメージマークの順番'; @@ -48,9 +48,9 @@ $lang->security_sign_in = 'セキュア(SSL)'; $lang->limit_day = '臨時制限日'; $lang->limit_date = '制限日'; - $lang->after_login_url = 'ログイン後表示するページのURL'; - $lang->after_logout_url = 'ログアウト後表示するページのURL'; - $lang->redirect_url = '登録後表示するページ'; + $lang->after_login_url = 'ログイン後、表示するページのURL'; + $lang->after_logout_url = 'ログアウト後、表示するページのURL'; + $lang->redirect_url = '登録後、表示するページ'; $lang->agreement = '会員登録規約'; $lang->accept_agreement = '規約に同意する'; $lang->member_info = '会員情報'; From e9cabd4148ce5cbae4469b3a92d6bb684c908acd Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 4 May 2009 06:18:28 +0000 Subject: [PATCH 022/178] =?UTF-8?q?=EB=82=B4=EC=9A=A9=20=EC=A7=81=EC=A0=91?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80=EC=8B=9C=20=EB=B0=9C=EC=83=9D=ED=95=98?= =?UTF-8?q?=EB=8A=94=20Javascript=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6265 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/widget/tpl/js/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/widget/tpl/js/widget.js b/modules/widget/tpl/js/widget.js index e71b7793e..5b76b6e6b 100644 --- a/modules/widget/tpl/js/widget.js +++ b/modules/widget/tpl/js/widget.js @@ -244,7 +244,7 @@ function doSyncPageContent() { } } - editorStart(1, "module_srl", "content", false, 400 ); + if(typeof(editorStart)!='undefined') editorStart(1, "module_srl", "content", false, 400 ); //editor_upload_start(1); setFixedPopupSize(); From 6dacbb1793f10f7d2dd88d7efbd1e248f484aecd Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 4 May 2009 06:33:11 +0000 Subject: [PATCH 023/178] =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20=EB=AA=A8?= =?UTF-8?q?=EB=93=88=EC=97=90=EC=84=9C=EB=8F=84=20=EC=B6=94=EA=B0=80?= =?UTF-8?q?=EC=84=A4=EC=A0=95=EC=9D=84=20=ED=86=B5=ED=95=B4=20=EB=82=B4?= =?UTF-8?q?=EC=9A=A9=EC=A7=81=EC=A0=91=EC=9E=85=EB=A0=A5=20=EC=9C=84?= =?UTF-8?q?=EC=A0=AF=EC=9D=98=20=EC=97=90=EB=94=94=ED=84=B0=20=EB=B0=8F=20?= =?UTF-8?q?=EA=B8=B0=EB=B3=B8=EA=B8=80=EA=BC=B4,=20=EC=84=9C=EC=8B=9D?= =?UTF-8?q?=EC=9D=84=20=EC=A7=80=EC=A0=95=ED=95=A0=20=EC=88=98=20=EC=9E=88?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6266 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/page/conf/module.xml | 1 + modules/page/page.admin.view.php | 16 ++++++++++++++++ modules/page/tpl/header.html | 1 + 3 files changed, 18 insertions(+) diff --git a/modules/page/conf/module.xml b/modules/page/conf/module.xml index feaf49ca2..9954e40c5 100644 --- a/modules/page/conf/module.xml +++ b/modules/page/conf/module.xml @@ -12,6 +12,7 @@ + diff --git a/modules/page/page.admin.view.php b/modules/page/page.admin.view.php index e18b662ec..dce6f8ead 100644 --- a/modules/page/page.admin.view.php +++ b/modules/page/page.admin.view.php @@ -96,6 +96,22 @@ $this->setTemplateFile('page_info'); } + /** + * @brief 페이지 추가 설정 보여줌 + * 추가설정은 서비스형 모듈들에서 다른 모듈과의 연계를 위해서 설정하는 페이지임 + **/ + function dispPageAdminPageAdditionSetup() { + // content는 다른 모듈에서 call by reference로 받아오기에 미리 변수 선언만 해 놓음 + $content = ''; + + $oEditorView = &getView('editor'); + $oEditorView->triggerDispEditorAdditionSetup($content); + Context::set('setup_content', $content); + + // 템플릿 파일 지정 + $this->setTemplateFile('addition_setup'); + } + /** * @brief 페이지 추가 폼 출력 **/ diff --git a/modules/page/tpl/header.html b/modules/page/tpl/header.html index 4ebbe5a76..242d7aa63 100644 --- a/modules/page/tpl/header.html +++ b/modules/page/tpl/header.html @@ -17,6 +17,7 @@
  • {$lang->cmd_back}
  • class="on">{$lang->module_info}
  • +
  • class="on">{$lang->cmd_addition_setup}
  • class="on">{$lang->cmd_manage_grant}
  • From a37abb5f8b4ce7d54f1d27dbfbce7e2a97510343 Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 4 May 2009 06:33:27 +0000 Subject: [PATCH 024/178] =?UTF-8?q?r6266=20=ED=8E=98=EC=9D=B4=EC=A7=80=20?= =?UTF-8?q?=EB=AA=A8=EB=93=88=EC=9D=98=20=EC=97=90=EB=94=94=ED=84=B0=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20=EA=B8=B0=EB=8A=A5=EC=9D=84=20=EC=9C=84?= =?UTF-8?q?=EC=A0=AF=EC=97=90=EC=84=9C=EB=8F=84=20=EC=A7=80=EC=9B=90?= =?UTF-8?q?=ED=95=98=EA=B8=B0=20=EC=9C=84=ED=95=9C=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6267 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/widget/tpl/css/widget.css | 2 +- modules/widget/widget.admin.view.php | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/modules/widget/tpl/css/widget.css b/modules/widget/tpl/css/widget.css index 4bbf47686..e1909f381 100644 --- a/modules/widget/tpl/css/widget.css +++ b/modules/widget/tpl/css/widget.css @@ -49,7 +49,7 @@ #pageSizeLayer .color_input { background:#FFFFFF; border:1px solid #AAAAAA; padding:1px; font:8pt verdana; width:44px; } #pageSizeLayer .submit { width:90%; border:1px solid #DEDEDE; background-color:#FFFFFF;} -div.editor { width:700px; } +div.editor { width:800px; } .help { padding:5px 0; background-color:#EFEFEF; border-top:1px solid #CCCCCC; } diff --git a/modules/widget/widget.admin.view.php b/modules/widget/widget.admin.view.php index 79364df22..d29e8acd2 100644 --- a/modules/widget/widget.admin.view.php +++ b/modules/widget/widget.admin.view.php @@ -46,19 +46,9 @@ // 에디터 모듈의 getEditor를 호출하여 세팅 $oEditorModel = &getModel('editor'); - $option->primary_key_name = 'module_srl'; - $option->content_key_name = 'content'; - $option->allow_fileupload = true; - $option->enable_autosave = false; - $option->enable_default_component = true; - $option->enable_component = true; - $option->resizable = false; - $option->height = 200; - $editor = $oEditorModel->getEditor($module_srl, $option); + $editor = $oEditorModel->getModuleEditor('document',$module_srl, $module_srl,'module_srl','content'); Context::set('editor', $editor); - - $this->setTemplateFile('add_content_widget'); } From b270e723b9d35c223004c6f357b286438d8d878a Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 4 May 2009 06:43:42 +0000 Subject: [PATCH 025/178] =?UTF-8?q?=EC=97=90=EB=94=94=ED=84=B0=20=ED=81=AC?= =?UTF-8?q?=EA=B8=B0=EA=B0=80=20=EB=82=B4=EC=9A=A9=EC=A7=81=EC=A0=91?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20=ED=8C=9D=EC=97=85=EC=B0=BD=EC=9D=84=20?= =?UTF-8?q?=EB=B2=97=EC=96=B4=EB=82=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6268 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/widget/tpl/css/widget.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/widget/tpl/css/widget.css b/modules/widget/tpl/css/widget.css index e1909f381..8a46287c3 100644 --- a/modules/widget/tpl/css/widget.css +++ b/modules/widget/tpl/css/widget.css @@ -49,8 +49,6 @@ #pageSizeLayer .color_input { background:#FFFFFF; border:1px solid #AAAAAA; padding:1px; font:8pt verdana; width:44px; } #pageSizeLayer .submit { width:90%; border:1px solid #DEDEDE; background-color:#FFFFFF;} -div.editor { width:800px; } - .help { padding:5px 0; background-color:#EFEFEF; border-top:1px solid #CCCCCC; } ul.midCommand { float:left; margin:0 0 0 10px;; padding:0; *zoom:1; } From b775e8c1a9dfb37f5d039619903f4e900d9387d1 Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 4 May 2009 06:48:37 +0000 Subject: [PATCH 026/178] =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=EB=AA=A8?= =?UTF-8?q?=EB=93=88=20=EC=B6=94=EA=B0=80=20=EC=84=A4=EC=A0=95=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EC=BB=A4=EB=B0=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6269 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/page/tpl/addition_setup.html | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 modules/page/tpl/addition_setup.html diff --git a/modules/page/tpl/addition_setup.html b/modules/page/tpl/addition_setup.html new file mode 100644 index 000000000..944e5adb1 --- /dev/null +++ b/modules/page/tpl/addition_setup.html @@ -0,0 +1,3 @@ + + +{$setup_content} From 0581c5efa52a5ff5a730f2835b5984977aed13fe Mon Sep 17 00:00:00 2001 From: heemin Date: Mon, 4 May 2009 07:48:00 +0000 Subject: [PATCH 027/178] =?UTF-8?q?=EC=9D=BC=EB=B6=80=20=EC=9D=BC=EB=B3=B8?= =?UTF-8?q?=EC=96=B4=20=EB=B2=88=EC=97=AD=20=EB=88=84=EB=9D=BD=20=EB=B6=80?= =?UTF-8?q?=EB=B6=84=20=EB=B3=B4=EC=B6=A9=20=EB=B0=8F=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6270 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- addons/smartphone/conf/info.xml | 5 +++++ modules/board/skins/xe_board/skin.xml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/addons/smartphone/conf/info.xml b/addons/smartphone/conf/info.xml index 8893da0d9..55552e395 100644 --- a/addons/smartphone/conf/info.xml +++ b/addons/smartphone/conf/info.xml @@ -2,16 +2,21 @@ SmartphonePhone XE 애드온 SmartphonePhone XE + SmartphonePhone XE アドオン IPhone (touch) 등, smartphone 에서 접속시 최적화된 화면을 보여줍니다. 以 IPhone (touch) 和 smartphone 瀏覽時會以最適當的畫面顯示。 + + IPhone(touch)など、スマートフォンからアクセスした時、最適化されたインターフェースで表示させます。 + 0.1 2009-04-20 haneul haneul + haneul diff --git a/modules/board/skins/xe_board/skin.xml b/modules/board/skins/xe_board/skin.xml index 5b1d727d2..881b2fc77 100644 --- a/modules/board/skins/xe_board/skin.xml +++ b/modules/board/skins/xe_board/skin.xml @@ -296,7 +296,7 @@ 게시판 제목 형식 - 게시판 제목 형식 + 掲示板タイトルフォーマット 게시판 제목 형식 게시판 제목 형식 게시판 제목 형식 @@ -353,7 +353,7 @@ 글 제목 형식 - 글 제목 형식 + 書き込みタイトルフォーマット 글 제목 형식 글 제목 형식 글 제목 형식 From 82bf0f7c7222fae092776a715ab65471238e460b Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 4 May 2009 07:51:29 +0000 Subject: [PATCH 028/178] =?UTF-8?q?=EC=97=90=EB=94=94=ED=84=B0=EC=BB=B4?= =?UTF-8?q?=ED=8F=AC=EB=84=8C=ED=8A=B8=20=EB=8D=94=EB=B8=94=ED=81=B4?= =?UTF-8?q?=EB=A6=AD=ED=95=98=EC=97=AC=20=EC=88=98=EC=A0=95=EC=8B=9C=20?= =?UTF-8?q?=EC=83=9D=EA=B8=B0=EB=8A=94=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6271 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../editor/skins/xpresseditor/js/Xpress_Editor.js | 15 ++++++++------- modules/editor/tpl/popup.html | 2 ++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/modules/editor/skins/xpresseditor/js/Xpress_Editor.js b/modules/editor/skins/xpresseditor/js/Xpress_Editor.js index 3955c63a2..e1d503853 100644 --- a/modules/editor/skins/xpresseditor/js/Xpress_Editor.js +++ b/modules/editor/skins/xpresseditor/js/Xpress_Editor.js @@ -5459,6 +5459,10 @@ xe.XE_XHTMLFormatter = $.Class({ TO_IR : function(sContent) { var stack = []; + + // remove xeHandled attrs + sContent = sContent.replace(/xeHandled="YES"/ig,''); + // remove all useless styles sContent = sContent.replace(regex_meanless_css1, function(m0,m1,m2,m3){ @@ -5665,25 +5669,22 @@ xe.XE_Extension = jQuery.Class({ var doc = this.oApp.getWYSIWYGDocument(); var seq = this.seq; - var prevComponent = null; var fn = function(){ var obj = jQuery(this); var comp = obj.attr('editor_component'); - if(prevComponent == comp) return false; - prevComponent = comp; - if (comp && jQuery.isFunction(openComponent)) { editorPrevNode = obj.get(0); openComponent(comp, seq); } - - setTimeout(500, function() { prevComponent = null; }); }; jQuery('img,div[editor_component]', doc).each(function(){ var obj = jQuery(this); if(this.nodeName == 'IMG' && !obj.attr('editor_component')) obj.attr('editor_component','image_link') - obj.dblclick(fn); + if(!obj.attr('xeHandled')) { + obj.attr('xeHandled','YES'); + obj.dblclick(fn); + } }); }, diff --git a/modules/editor/tpl/popup.html b/modules/editor/tpl/popup.html index 0354d1709..3d7796a1e 100644 --- a/modules/editor/tpl/popup.html +++ b/modules/editor/tpl/popup.html @@ -1 +1,3 @@ +
    {$popup_content} +
    From 43f9ba9aaac6f99cb66132ede59a5f3614eccf9f Mon Sep 17 00:00:00 2001 From: haneul Date: Mon, 4 May 2009 11:44:01 +0000 Subject: [PATCH 029/178] #17951219 : Fixed a problem of getting uri occurred when using not-default port of ssl(443) or http(80) git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6272 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/context/Context.class.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index 75d6c24a0..3d89a4174 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -922,10 +922,18 @@ if(Context::get("_https_port") && Context::get("_https_port") != 443) { $url_info['port'] = Context::get("_https_port"); } + else + { + unset($url_info['port']); + } } else { if(Context::get("_http_port") && Context::get("_http_port") != 80) { $url_info['port'] = Context::get("_http_port"); } + else + { + unset($url_info['port']); + } } $url[$ssl_mode][$domain_key] = sprintf("%s://%s%s%s",$use_ssl?'https':$url_info['scheme'], $url_info['host'], $url_info['port']&&$url_info['port']!=80?':'.$url_info['port']:'',$url_info['path']); From 1ed01e60ebe8cb96b232a4a6b1953a10913a2a07 Mon Sep 17 00:00:00 2001 From: mooo Date: Tue, 5 May 2009 09:24:38 +0000 Subject: [PATCH 030/178] =?UTF-8?q?commentItem::getSummary()=20=ED=95=A8?= =?UTF-8?q?=EC=88=98=EC=97=90=EC=84=9C=20=EC=A4=84=EB=B0=94=EA=BF=88?= =?UTF-8?q?=EC=9D=B4=20=EC=9E=88=EC=9D=84=20=EB=95=8C=20=EC=A0=81=EC=A0=88?= =?UTF-8?q?=ED=9E=88=20=EA=B3=B5=EB=B0=B1=EC=9D=84=20=EC=82=BD=EC=9E=85?= =?UTF-8?q?=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95=ED=95=98?= =?UTF-8?q?=EA=B3=A0=20tail=EC=9D=84=20=EC=A7=80=EC=A0=95=ED=95=A0=20?= =?UTF-8?q?=EC=88=98=20=EC=9E=88=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6273 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/comment/comment.item.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/modules/comment/comment.item.php b/modules/comment/comment.item.php index 0dd78f04d..eb1828340 100644 --- a/modules/comment/comment.item.php +++ b/modules/comment/comment.item.php @@ -205,15 +205,24 @@ return $content; } - function getSummary($str_size = 50) { + function getSummary($str_size = 50, $tail = '...') { + // 줄바꿈이 있을 때, 공백문자 삽입 + $content = preg_replace('!([\s]*)+!is', ' ', $this->getContent(false,false)); + + //

    , ,
  • 등의 태그를 공백 문자로 치환 + $content = str_replace(array('

    ', '', ''), ' ', $content); + // 먼저 태그들을 제거함 - $content = preg_replace('!<([^>]*?)>!is','', $this->getContent(false,false)); + $content = preg_replace('!<([^>]*?)>!is', '', $content); // < , > , " 를 치환 $content = str_replace(array('<','>','"',' '), array('<','>','"',' '), $content); + // 연속된 공백문자 삭제 + $content = preg_replace('/([\s]{2,})/is', ' ', $content); + // 문자열을 자름 - $content = trim(cut_str($content, $str_size, '...')); + $content = trim(cut_str($content, $str_size, $tail)); // >, <, "를 다시 복구 return str_replace(array('<','>','"'),array('<','>','"'), $content); From d170b653071b20fea2071bc84070c16c44cbf8a7 Mon Sep 17 00:00:00 2001 From: mooo Date: Tue, 5 May 2009 09:48:48 +0000 Subject: [PATCH 031/178] =?UTF-8?q?#17985376=20:=20content=20=EC=9C=84?= =?UTF-8?q?=EC=A0=AF=EC=97=90=EC=84=9C=20=EC=B5=9C=EA=B7=BC=EA=B8=80=20?= =?UTF-8?q?=EB=AA=A9=EB=A1=9D=20=EC=83=9D=EC=84=B1=EC=8B=9C=20=EA=B8=80=20?= =?UTF-8?q?=EC=A0=9C=EB=AA=A9=EC=9D=98=20HTML=20=ED=83=9C=EA=B7=B8?= =?UTF-8?q?=EA=B0=80=20=EA=B7=B8=EB=8C=80=EB=A1=9C=20=EB=85=B8=EC=B6=9C?= =?UTF-8?q?=EB=90=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=EC=A0=90=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6274 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- widgets/content/content.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/content/content.class.php b/widgets/content/content.class.php index 3e6de89f1..b8b08600b 100644 --- a/widgets/content/content.class.php +++ b/widgets/content/content.class.php @@ -51,7 +51,7 @@ // 썸네일 세로 크기 if(!$args->thumbnail_height) $args->thumbnail_height = 75; - + // 보기 옵션 $args->option_view_arr = explode(',',$args->option_view); @@ -252,6 +252,7 @@ $content_item = new contentItem( $args->module_srls_info[$module_srl]->browser_title ); $content_item->adds($oDocument->getObjectVars()); + $content_item->setTitle($oDocument->getTitle()); $content_item->setCategory( $category_lists[$module_srl][$category_srl]->title ); $content_item->setDomain( $args->module_srls_info[$module_srl]->domain ); $content_item->setContent($oDocument->getSummary($args->content_cut_size)); @@ -302,7 +303,6 @@ $browser_title = $args->module_srls_info[$attribute->module_srl]->browser_title; $domain = $args->module_srls_info[$attribute->module_srl]->domain; $category = $category_lists[$attribute->module_srl]->text; - $attribute = $oDocument->getObjectVars(); $content = $oDocument->getSummary($args->content_cut_size); $url = sprintf("%s#%s",$oDocument->getPermanentUrl() ,$oDocument->getCommentCount()); $thumbnail = $oDocument->getThumbnail($args->thumbnail_width,$args->thumbnail_height,$args->thumbnail_type); From 016674d0793571befd0338ac363c6cb2a667b65a Mon Sep 17 00:00:00 2001 From: heemin Date: Tue, 5 May 2009 14:02:18 +0000 Subject: [PATCH 032/178] =?UTF-8?q?=EC=9D=BC=EB=B6=80=20=EC=9D=BC=EB=B3=B8?= =?UTF-8?q?=EC=96=B4=20=EB=B2=88=EC=97=AD=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6275 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- layouts/cafeXE/lang/jp.lang.php | 2 +- modules/member/lang/jp.lang.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/cafeXE/lang/jp.lang.php b/layouts/cafeXE/lang/jp.lang.php index ff71c4e87..35cc0c03e 100644 --- a/layouts/cafeXE/lang/jp.lang.php +++ b/layouts/cafeXE/lang/jp.lang.php @@ -5,7 +5,7 @@ * @brief 日本語言語パッケージ(基本的な内容のみ) **/ - $lang->new_members = '新規会員のお知らせ'; + $lang->new_members = '新規会員紹介'; $lang->document_ranking = '書き込みランキング'; $lang->comment_ranking = 'コメント数ランキング'; ?> diff --git a/modules/member/lang/jp.lang.php b/modules/member/lang/jp.lang.php index 707586d40..07689211f 100644 --- a/modules/member/lang/jp.lang.php +++ b/modules/member/lang/jp.lang.php @@ -63,7 +63,7 @@ 'N' => '全て禁止', ); $lang->about_allow_message = 'メッセージの許可タイプ及び対象を設定します。'; - $lang->logged_users = '現在アクセス中ユーザー'; + $lang->logged_users = '現在ログイン中の会員'; $lang->webmaster_name = 'ウェブマスターのお名前'; $lang->webmaster_email = 'ウェブマスターのメールアドレス'; From 3927d8362c77e891d02c13b3367e8e45d1ed5759 Mon Sep 17 00:00:00 2001 From: heemin Date: Tue, 5 May 2009 14:14:54 +0000 Subject: [PATCH 033/178] =?UTF-8?q?=EC=9D=BC=EB=B6=80=20=EC=9D=BC=EB=B3=B8?= =?UTF-8?q?=EC=96=B4=20=EB=B2=88=EC=97=AD=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6276 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/homepage/lang/jp.lang.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/homepage/lang/jp.lang.php b/modules/homepage/lang/jp.lang.php index 46748b427..164c80f5c 100644 --- a/modules/homepage/lang/jp.lang.php +++ b/modules/homepage/lang/jp.lang.php @@ -45,11 +45,11 @@ 'notice' => 'お知らせ', 'levelup' => 'レベルアップ', 'freeboard' => '自由掲示板', - 'view_total' => '全文を表示', - 'view_comment' => '一行の物語', - 'cafe_album' => 'フォトギャラリー', + 'view_total' => '最新書き込み', + 'view_comment' => '最新コメント', + 'cafe_album' => '最新フォト', 'menu' => 'メニュー', - 'default_group1' => 'スタンバイ会員', + 'default_group1' => '承認待ち会員', 'default_group2' => '準会員', 'default_group3' => '正会員', ); From d88bbcaefdf9ce479bcfe1002c5c5b71afa628d9 Mon Sep 17 00:00:00 2001 From: heemin Date: Tue, 5 May 2009 15:12:12 +0000 Subject: [PATCH 034/178] =?UTF-8?q?=EC=9D=BC=EB=B6=80=20=EC=9D=BC=EB=B3=B8?= =?UTF-8?q?=EC=96=B4=20=EB=B2=88=EC=97=AD=20=EB=88=84=EB=9D=BD=20=EB=B6=80?= =?UTF-8?q?=EB=B6=84=20=EB=B3=B4=EC=B6=A9=20=EB=B0=8F=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6277 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/lang/jp.lang.php | 9 +++++---- modules/admin/lang/jp.lang.php | 12 ++++++------ modules/install/lang/jp.lang.php | 6 +++--- widgets/navigator/skins/horiNavigator/skin.xml | 4 ++-- widgets/navigator/skins/tree/skin.xml | 4 ++-- 5 files changed, 18 insertions(+), 17 deletions(-) diff --git a/common/lang/jp.lang.php b/common/lang/jp.lang.php index 1978f441a..bf9f907fb 100644 --- a/common/lang/jp.lang.php +++ b/common/lang/jp.lang.php @@ -283,10 +283,11 @@ $lang->ftp_port = 'FTP port'; $lang->cmd_check_ftp_connect = 'FTP接続をテストする'; $lang->about_ftp_info = " - FTP情報は次の場合、利用されます。
    - 1. PHPのsafe_mode=Onになった際、FTP情報を用いてXEが正常に動きます。
    - 2. FTP経由でXEの自動アップデート等に使われます。
    - FTP情報は files/config/ftp.config.php の中に保存されます。
    + FTP情報は次の場合、利用されます。
    + 1. サーバー側のPHPの設定中、「safe_mode=On」になった際、FTP情報を用いてXEが正常に働くようにします。 +
    + 2. FTP経由でXEの自動アップデート等に使われます。
    + FTP情報は「files/config/ftp.config.php」の中に保存されます。
    また、XEのインストールの後、管理者画面からFTP情報の変更・削除が可能です。(省略可能)
    "; diff --git a/modules/admin/lang/jp.lang.php b/modules/admin/lang/jp.lang.php index d15c45d89..48d3e527e 100644 --- a/modules/admin/lang/jp.lang.php +++ b/modules/admin/lang/jp.lang.php @@ -8,7 +8,7 @@ $lang->admin_info = '管理者情報'; $lang->admin_index = '管理者トップページ'; $lang->control_panel = 'コントロールパネル'; - $lang->start_module = 'モジュールを起動します'; + $lang->start_module = '初期起動モジュール'; $lang->about_start_module = 'デフォルトで起動するモジュールを指定することができます。'; $lang->module_category_title = array( @@ -57,7 +57,7 @@ $lang->welcome_to_xe = 'XEの管理者ページです。'; $lang->about_admin_page = "管理者ページはまだ未完成です。\nクローズベータバージョンの期間に、多くの方々からご意見をいただきながら、必ず必要なコンテンツを埋めていきたいと思います。"; - $lang->about_lang_env = "上で設定された言語を、初めてサイトに訪問したユーザに同じく適用させるためには、希望する言語に変更してから「保存」ボタンをクリックして下さい。"; + $lang->about_lang_env = "初めてサイトに訪問したユーザーに対し、上記の選択した言語でサイトを表示させるためには、必ず下記の「保存」ボタンをクリックして適用して下さい。"; $lang->xe_license = 'XEのライセンスはGPLです。'; $lang->about_shortcut = 'よく使用するモジュールに登録されたショートカットは削除出来ます。'; @@ -66,8 +66,8 @@ $lang->today = "今日"; $lang->cmd_lang_select = "言語選択"; - $lang->about_cmd_lang_select = "選択された言語のみでサービスを行います。"; - $lang->about_recompile_cache = "要らないdか誤ったキャッシューファイルを整理します。"; + $lang->about_cmd_lang_select = "選択された言語だけでサービスを行います。"; + $lang->about_recompile_cache = "要らないかごみのキャッシューファイルを整理します。"; $lang->use_ssl = "SSL環境設定"; $lang->ssl_options = array( 'none' => "使わない", @@ -77,6 +77,6 @@ $lang->about_use_ssl = "「部分的に使う場合」は「会員登録/会員情報変更」など特定のactionでSSLを利用する場合、「常に使う」は全てのサービスがSSLを使う場合に選択します。"; $lang->server_ports = "サーバーポート指定"; $lang->about_server_ports = "一般的に使われているHTTPの80、HTTPSの443以外の他のポートを使うために、ポートを指定して下さい。"; - $lang->use_db_session = '인증 세션 DB 사용'; - $lang->about_db_session = '인증시 사용되는 PHP 세션을 DB로 사용하는 기능입니다.
    웹서버의 사용율이 낮은 사이트에서는 비활성화시 사이트 응답 속도가 향상될 수 있습니다
    단 현재 접속자를 구할 수 없어 관련된 기능을 사용할 수 없게 됩니다.'; + $lang->use_db_session = 'DBで認証セッション管理'; + $lang->about_db_session = '認証の時に使われるPHPセッションをDBで使う機能です。
    ウェブサーバーの負荷が低いサイトではこの機能をオフにすることでむしろサイトのレスポンスが向上されることもあります。
    また、この機能をオンにすると、「現在ログイン中の会員」の機能が不可になります。'; ?> diff --git a/modules/install/lang/jp.lang.php b/modules/install/lang/jp.lang.php index 85f030313..2d1110bec 100644 --- a/modules/install/lang/jp.lang.php +++ b/modules/install/lang/jp.lang.php @@ -252,14 +252,14 @@ EndOfLicense; $lang->admin_title = '管理者情報'; $lang->env_title = '環境設定'; - $lang->use_optimizer = 'オプティマイザ使用'; - $lang->about_optimizer = 'オプティマイザを使用すると多数の「CSS/JS」ファイルを、統合・圧縮して転送するのでレスポンスが早くなります。
    但し、CSSまたはJSファイルによっては問題が生じる場合があります。この場合は、チェックを外すと正常に動作します。'; + $lang->use_optimizer = 'オプティマイザー使用'; + $lang->about_optimizer = 'オプティマイザーを使用すると多数の「CSS/JS」ファイルを、統合・圧縮して転送するのでレスポンスが早くなります。
    但し、CSSまたはJSファイルによっては問題が生じる場合があります。この場合は、チェックを外すと正常に動作します。'; $lang->use_rewrite = 'リライト・モジュールを使用'; $lang->about_rewrite = 'Webサーバで「リライト・モジュール(mod_rewrite)」をサポートしている場合は、「http://アドレス/?document_srl=123」のようなアドレスを動的だけど「http://アドレス/123」のように静的なページに見せることが出来ます。'; $lang->time_zone = 'タイムゾーン'; $lang->about_time_zone = 'サーバの設定時間とサービスしているローカル時間との差がある場合、タイムゾーンを指定して表示時間を合わせることが出来ます。'; $lang->qmail_compatibility = 'Qmail 互換'; - $lang->about_qmail_compatibility = 'Qmail等、CRLFを改行コードで認識出来ないMTAでメールが送信出来るようにします。'; + $lang->about_qmail_compatibility = 'Qmail等、CRLFを改行コードとして認識出来ないMTA(Message Transfer Agent)で、メールの送信が出来るようにします。'; $lang->about_database_file = 'Sqliteはファイルにデータを保存します。そのため、データベースファイルにはウェブからアクセス出来ない場所にしなければなりません。
    データファイルのパーミッションは「707」に設定して下さい。'; diff --git a/widgets/navigator/skins/horiNavigator/skin.xml b/widgets/navigator/skins/horiNavigator/skin.xml index 4fd4e1d08..f90719c6f 100755 --- a/widgets/navigator/skins/horiNavigator/skin.xml +++ b/widgets/navigator/skins/horiNavigator/skin.xml @@ -53,7 +53,7 @@ 청록색 青色 青绿色 - 青綠 + 青緑 오렌지색 @@ -64,7 +64,7 @@ 빨간색 紅色 - 红色 + 红色 diff --git a/widgets/navigator/skins/tree/skin.xml b/widgets/navigator/skins/tree/skin.xml index 9546b9f9b..7d2ef9889 100644 --- a/widgets/navigator/skins/tree/skin.xml +++ b/widgets/navigator/skins/tree/skin.xml @@ -3,11 +3,11 @@ 메뉴 트리 출력 스킨 树形菜单皮肤 樹狀選單面板 - 메뉴 트리 출력 스킨 + ツリー型メニュー用スキン 메뉴를 트리구조로 출력합니다. 树形菜单皮肤 以樹狀結構顯示選單。 - 메뉴를 트리구조로 출력합니다. + メニューをツリー型に表示します。 0.1 2009-02-10 http://www.zeroboard.com From 83e1e4bb751c8b9881e4c62442704831cab4adb8 Mon Sep 17 00:00:00 2001 From: heemin Date: Tue, 5 May 2009 15:42:36 +0000 Subject: [PATCH 035/178] =?UTF-8?q?=EC=9D=BC=EB=B6=80=20=EC=9D=BC=EB=B3=B8?= =?UTF-8?q?=EC=96=B4=20=EB=B2=88=EC=97=AD=20=EB=88=84=EB=9D=BD=20=EB=B6=80?= =?UTF-8?q?=EB=B6=84=20=EB=B3=B4=EC=B6=A9=20=EB=B0=8F=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6278 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/lang/jp.lang.php | 2 +- modules/communication/lang/jp.lang.php | 10 +++++----- modules/editor/lang/jp.lang.php | 15 ++++++++------- modules/editor/styles/xeStyle/skin.xml | 6 ++++++ modules/editor/styles/xeStyleBlack/skin.xml | 6 ++++++ modules/homepage/skins/xe_default/skin.xml | 20 ++++++++++++++++++++ modules/member/lang/jp.lang.php | 10 +++++----- 7 files changed, 51 insertions(+), 18 deletions(-) diff --git a/common/lang/jp.lang.php b/common/lang/jp.lang.php index bf9f907fb..d9bd8247c 100644 --- a/common/lang/jp.lang.php +++ b/common/lang/jp.lang.php @@ -151,7 +151,7 @@ $lang->regdate = '登録日'; $lang->last_update = '最近修正日'; $lang->last_post = '最近登録'; - $lang->signup_date = '加入日'; + $lang->signup_date = '登録日'; $lang->last_login = '最近ログイン'; $lang->first_page = '最初のページ'; $lang->last_page = '最後のページ'; diff --git a/modules/communication/lang/jp.lang.php b/modules/communication/lang/jp.lang.php index b140e6bee..1845587f1 100644 --- a/modules/communication/lang/jp.lang.php +++ b/modules/communication/lang/jp.lang.php @@ -16,9 +16,9 @@ ); $lang->message_box = array( - 'R' => 'メッセージ受信ボックス', - 'S' => 'メッセージ送信ボックス', - 'T' => '保存ボックス', + 'R' => 'メッセージ受信箱', + 'S' => 'メッセージ送信箱', + 'T' => '保存箱', ); $lang->readed_date = "開封時間"; @@ -30,9 +30,9 @@ $lang->cmd_send_message = 'メッセージ送信'; $lang->cmd_reply_message = 'メッセージ返信'; - $lang->cmd_view_friend = '友達表示'; + $lang->cmd_view_friend = '友達リスト'; $lang->cmd_add_friend = '友達登録'; - $lang->cmd_view_message_box = 'メッセージ表示'; + $lang->cmd_view_message_box = 'メッセージ'; $lang->cmd_store = "保存"; $lang->cmd_add_friend_group = '友達グループ追加'; $lang->cmd_rename_friend_group = '友達グループ名変更'; diff --git a/modules/editor/lang/jp.lang.php b/modules/editor/lang/jp.lang.php index 27af053ae..099ac291d 100644 --- a/modules/editor/lang/jp.lang.php +++ b/modules/editor/lang/jp.lang.php @@ -16,8 +16,8 @@ $lang->component_description = '説明'; $lang->component_extra_vars = '設定変数'; $lang->component_grant = '権限設定'; - $lang->content_style = 'Content Style'; - $lang->content_font = 'Content Font'; + $lang->content_style = 'コンテンツスタイル'; + $lang->content_font = 'コンテンツフォント'; $lang->about_component = 'コンポーネント情報'; $lang->about_component_grant = '基本コンポーネント以外の拡張コンポーネント機能が利用可能な権限の設定が出来ます。
    (選択なしの場合、誰でも利用可能)'; @@ -43,8 +43,8 @@ $lang->editor_height = 'エディターの高さ'; $lang->about_editor_skin = 'エディターのスキンの選択が出来ます。'; - $lang->about_content_style = '문서 편집 및 내용 출력시 원하는 서식을 지정할 수 있습니다'; - $lang->about_content_font = '문서 편집 및 내용 출력시 원하는 폰트를 지정할 수 있습니다.
    지정하지 않으면 사용자 설정에 따르게 됩니다
    ,(콤마)로 여러 폰트를 지정할 수 있습니다.'; + $lang->about_content_style = 'コンテンツの編集、および内容表示の際のスタイルを指定します。'; + $lang->about_content_font = 'コンテンツの編集、および内容表示の際のフォントを指定します。
    指定してない場合、ユーザーの設定を従います。
    半角コンマ(,)区切りで複数フォントの登録が出来ます。'; $lang->about_upload_file_grant = 'ファイル添付可能な権限の設定が出来ます。(選択なしの場合、誰でも添付が可能)'; $lang->about_default_component_grant = 'エディターでの基本コンポーネントを使用可能な権限の設定が出来ます。(選択なしの場合、誰でも利用可能)'; $lang->about_editor_height = 'エディターの基本高さを設定します。'; @@ -201,8 +201,9 @@ $lang->edit->replace_words = '置換テキスト'; $lang->edit->next_search_words = '次を検索'; $lang->edit->edit_height_control = '入力サイズ調整'; + + $lang->edit->merge_cells = 'セルの結合'; + $lang->edit->split_row = '行の挿入'; + $lang->edit->split_col = '列の挿入'; - $lang->edit->merge_cells = '셀 병합'; - $lang->edit->split_row = '행 분할'; - $lang->edit->split_col = '열 분할'; ?> diff --git a/modules/editor/styles/xeStyle/skin.xml b/modules/editor/styles/xeStyle/skin.xml index 4451ac6d4..9cac6e24a 100644 --- a/modules/editor/styles/xeStyle/skin.xml +++ b/modules/editor/styles/xeStyle/skin.xml @@ -1,13 +1,19 @@ XE 기본 서식 (하얀 배경) + XEデフォルトスタイル(白色背景) XE 기본 문서 서식입니다. 문서 수정중에는 각 요소들이 구분되어 보입니다. + + XEのデフォルトドキュメントのスタイルです。 + ドキュメント編集中には、各要素が区分されて見えます。 + 0.0.1 2009-04-17 정찬명 + Chan-Myung Jeong diff --git a/modules/editor/styles/xeStyleBlack/skin.xml b/modules/editor/styles/xeStyleBlack/skin.xml index 7ae4cfd85..90c5db017 100644 --- a/modules/editor/styles/xeStyleBlack/skin.xml +++ b/modules/editor/styles/xeStyleBlack/skin.xml @@ -1,13 +1,19 @@ XE 기본 서식 (검은 배경) + XEデフォルトスタイル(黒色背景) XE 기본 문서 서식입니다. 문서 수정중에는 각 요소들이 구분되어 보입니다. + + XEのデフォルトドキュメントのスタイルです。 + ドキュメント編集中には、各要素が区分されて見えます。 + 0.0.1 2009-04-17 정찬명 + Chan-Myung Jeong diff --git a/modules/homepage/skins/xe_default/skin.xml b/modules/homepage/skins/xe_default/skin.xml index 11d71e7a5..4ca1e3730 100644 --- a/modules/homepage/skins/xe_default/skin.xml +++ b/modules/homepage/skins/xe_default/skin.xml @@ -1,14 +1,19 @@ Cafe 기본 Skin + Cafe用デフォルトスキン Cafe 기본 스킨입니다. + + Cafe用のデフォルトスキンです。 + 0.1 2009-04-03 zero + zero GPL @@ -16,37 +21,52 @@ 기본 + デフォルト 제목 + タイトル 제목을 적어주세요. + タイトルを入力して下さい。 부제목 + サブタイトル 제목 옆에 나타날 부제목을 적어주세요. + タイトルの隣りに表示されるサブタイトルを入力して下さい。 상세 설명 + 詳細説明 제목 아래 표시될 설명을 입력하실 수 있습니다. + タイトルの下に表示される説明文を入力して下さい。 카페 소개 제목 + カフェの紹介キャッチ 소개할 카페의 제목을 입력해주세요. (메인 노출) + 紹介するカフェのキャッチを入力して下さい。 (メインへ公開) 카페 소개 내용 + カフェの紹介詳細 소개할 카페의 내용을 입력해주세요. (메인 노출) + 紹介するカフェの詳細説明を入力して下さい。 (メインへ公開) 카페 소개 이미지 + カフェの紹介イメージ 소개할 카페의 내용에 포함되는 이미지를 등록해주세요. (메인 노출) + 紹介するカフェの内容に表示するイメージを登録して下さい。 (メインへ公開) 카페 소개 링크 + カフェの紹介URL 소개할 카페의 링크를 입력해주세요. (http:// 모두 포함) + 紹介するカフェのURLを入力して下さい。 (http:// を含む) diff --git a/modules/member/lang/jp.lang.php b/modules/member/lang/jp.lang.php index 07689211f..54eaefb67 100644 --- a/modules/member/lang/jp.lang.php +++ b/modules/member/lang/jp.lang.php @@ -92,7 +92,7 @@ $lang->cmd_site_signup = '登録'; $lang->cmd_modify_member_info = '会員情報修正'; $lang->cmd_modify_member_password = 'パスワード変更'; - $lang->cmd_view_member_info = '会員情報表示'; + $lang->cmd_view_member_info = '会員情報確認'; $lang->cmd_leave = '退会'; $lang->cmd_find_member_account = 'IDとパスワードのリマインダー'; @@ -102,12 +102,12 @@ $lang->cmd_send_mail = 'メール送信'; $lang->cmd_manage_id = '禁止ID管理'; $lang->cmd_manage_form = '会員登録フォーム管理'; - $lang->cmd_view_own_document = '書き込み表示'; - $lang->cmd_manage_member_info = 'Manage Member Info'; + $lang->cmd_view_own_document = '書き込み記録'; + $lang->cmd_manage_member_info = '会員情報管理'; $lang->cmd_trace_document = '書き込みの追跡'; $lang->cmd_trace_comment = 'コメント追跡'; - $lang->cmd_view_scrapped_document = 'スクラップ表示'; - $lang->cmd_view_saved_document = '保存ドキュメント表示'; + $lang->cmd_view_scrapped_document = 'スクラップ'; + $lang->cmd_view_saved_document = '保存ドキュメント'; $lang->cmd_send_email = 'メール送信'; $lang->msg_email_not_exists = "メールアドレスがありません。"; From c10ad4e54fab5d3d130823d7d0f65dccc6649aea Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 6 May 2009 05:33:09 +0000 Subject: [PATCH 036/178] =?UTF-8?q?XpressEditor=EC=9D=98=20XHTML=20Formatt?= =?UTF-8?q?er=EC=97=90=EC=84=9C=20id=20attris=EB=A5=BC=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=8C=EA=B3=A0=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6279 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/skins/xpresseditor/js/Xpress_Editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/editor/skins/xpresseditor/js/Xpress_Editor.js b/modules/editor/skins/xpresseditor/js/Xpress_Editor.js index e1d503853..6ec13ca51 100644 --- a/modules/editor/skins/xpresseditor/js/Xpress_Editor.js +++ b/modules/editor/skins/xpresseditor/js/Xpress_Editor.js @@ -5423,7 +5423,7 @@ var regex_class = /<(.*?)\s+class\s*=(?:\s*"(.*?)"|\s*'(.*?)'|([^\s>]+))(.*?)>/ig, regex_class2 = /xe_selected_cell/g; regex_handler = /<(.*?)\s+on[a-z]+\s*=(?:\s*".*?"|\s*'.*?'|[^\s>]+)(.*?)>/ig, - regex_id = /<(.*?)\s+id\s*=(?:[^\s>]+|\s*".*?"|\s*'.*?')(.*?)>/ig, + //regex_id = /<(.*?)\s+id\s*=(?:[^\s>]+|\s*".*?"|\s*'.*?')(.*?)>/ig, regex_script = //ig, regex_font_color = /color\s*=(?:\s*"(.*?)"|\s*'(.*?)'|([^\s>]+))/i, regex_font_face = /face\s*=(?:\s*"(.*?)"|\s*'(.*?)'|([^\s>]+))/i, @@ -5482,7 +5482,7 @@ xe.XE_XHTMLFormatter = $.Class({ sContent = sContent.replace(regex_handler, '<$1$2>'); // remove all id - sContent = sContent.replace(regex_id, '<$1$2>'); + //sContent = sContent.replace(regex_id, '<$1$2>'); // remove all scripts sContent = sContent.replace(regex_script, ''); From 06c83745060dfcad4d71a83641df5875e5fe3236 Mon Sep 17 00:00:00 2001 From: heemin Date: Wed, 6 May 2009 06:16:41 +0000 Subject: [PATCH 037/178] =?UTF-8?q?=EC=9D=BC=EB=B6=80=20=EC=9D=BC=EB=B3=B8?= =?UTF-8?q?=EC=96=B4=20=EB=B2=88=EC=97=AD=20=EC=88=98=EC=A0=95=20(--;)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6280 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/member/lang/jp.lang.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/member/lang/jp.lang.php b/modules/member/lang/jp.lang.php index 54eaefb67..e1a4dee98 100644 --- a/modules/member/lang/jp.lang.php +++ b/modules/member/lang/jp.lang.php @@ -102,7 +102,7 @@ $lang->cmd_send_mail = 'メール送信'; $lang->cmd_manage_id = '禁止ID管理'; $lang->cmd_manage_form = '会員登録フォーム管理'; - $lang->cmd_view_own_document = '書き込み記録'; + $lang->cmd_view_own_document = '書き込み履歴'; $lang->cmd_manage_member_info = '会員情報管理'; $lang->cmd_trace_document = '書き込みの追跡'; $lang->cmd_trace_comment = 'コメント追跡'; From 7fe0ebf4f7cbe86dd5fa3ee3315b56ffed90ce1b Mon Sep 17 00:00:00 2001 From: heemin Date: Wed, 6 May 2009 06:24:22 +0000 Subject: [PATCH 038/178] =?UTF-8?q?=EC=9D=BC=EB=B6=80=20=EC=9D=BC=EB=B3=B8?= =?UTF-8?q?=EC=96=B4=20=EB=B2=88=EC=97=AD=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6281 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/member/lang/jp.lang.php | 36 ++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/modules/member/lang/jp.lang.php b/modules/member/lang/jp.lang.php index e1a4dee98..327b2ec3f 100644 --- a/modules/member/lang/jp.lang.php +++ b/modules/member/lang/jp.lang.php @@ -11,11 +11,11 @@ $lang->default_group_1 = "準会員"; $lang->default_group_2 = "正会員"; $lang->admin_group = "管理グループ"; - $lang->keep_signed = '次回からIDの入力を省略'; - $lang->remember_user_id = 'ID保存'; + $lang->keep_signed = '次回からID入力を省略'; + $lang->remember_user_id = 'ID保存'; $lang->already_logged = '既にログインされています。'; $lang->denied_user_id = '使用が禁じられているIDです。'; - $lang->null_user_id = 'ユーザIDをもう一度入力して下さい。'; + $lang->null_user_id = 'ユーザーIDをもう一度入力して下さい。'; $lang->null_password = 'パスワードを入力して下さい。'; $lang->invalid_authorization = '認証出来ませんでした。'; $lang->invalid_user_id= '存在しないユーザIDです。'; @@ -24,33 +24,33 @@ $lang->denied = '使用中止'; $lang->is_admin = '最高管理権限'; $lang->group = '所属グループ'; - $lang->group_title = 'グループタイトル'; + $lang->group_title = 'グループ名'; $lang->group_srl = 'グループ番号'; $lang->signature = '署名'; $lang->profile_image = 'プロフィール写真'; - $lang->profile_image_max_width = '横幅サイズ制限'; - $lang->profile_image_max_height = '縦幅サイズ制限'; + $lang->profile_image_max_width = '制限横幅サイズ'; + $lang->profile_image_max_height = '制限縦幅サイズ'; $lang->image_name = 'イメージ名'; - $lang->image_name_max_width = '横幅制限サイズ'; - $lang->image_name_max_height = '縦幅制限サイズ'; + $lang->image_name_max_width = '制限横幅サイズ'; + $lang->image_name_max_height = '制限縦幅サイズ'; $lang->image_mark = 'イメージマーク'; - $lang->image_mark_max_width = '横幅制限サイズ'; - $lang->image_mark_max_height = '縦幅制限サイズ'; + $lang->image_mark_max_width = '制限横幅サイズ'; + $lang->image_mark_max_height = '制限縦幅サイズ'; $lang->group_image_mark = 'グループ用イメージマーク'; - $lang->group_image_mark_max_width = '横幅制限サイズ'; - $lang->group_image_mark_max_height = '縦幅制限サイズ'; + $lang->group_image_mark_max_width = '制限横幅サイズ'; + $lang->group_image_mark_max_height = '制限縦幅サイズ'; $lang->group_image_mark_order = 'グループ用イメージマークの順番'; - $lang->signature_max_height = '署名欄の高さの制限'; - $lang->enable_openid = 'OpenID使用'; + $lang->signature_max_height = '制限署名欄の高さ'; + $lang->enable_openid = 'OpenIDサポート'; $lang->enable_join = '会員登録を許可する'; - $lang->enable_confirm = 'メール認証を使用'; + $lang->enable_confirm = 'メール認証機能を使用'; $lang->enable_ssl = 'SSL使用'; $lang->security_sign_in = 'セキュア(SSL)'; - $lang->limit_day = '臨時制限日'; + $lang->limit_day = '臨時制限期間(日)'; $lang->limit_date = '制限日'; $lang->after_login_url = 'ログイン後、表示するページのURL'; $lang->after_logout_url = 'ログアウト後、表示するページのURL'; - $lang->redirect_url = '登録後、表示するページ'; + $lang->redirect_url = '会員登録後、表示するページ'; $lang->agreement = '会員登録規約'; $lang->accept_agreement = '規約に同意する'; $lang->member_info = '会員情報'; @@ -73,7 +73,7 @@ $lang->about_webmaster_email = 'ウェブマスターのメールアドレスを入力して下さい。'; $lang->search_target_list = array( - 'user_id' => 'ユーザID', + 'user_id' => 'ユーザーID', 'user_name' => 'お名前', 'nick_name' => 'ニックネーム', 'email_address' => 'メールアドレス', From 4f8e98ddb01539a53c70e51a059b5a8cb8914d27 Mon Sep 17 00:00:00 2001 From: heemin Date: Wed, 6 May 2009 06:46:41 +0000 Subject: [PATCH 039/178] =?UTF-8?q?=EC=9D=BC=EB=B6=80=20=EC=9D=BC=EB=B3=B8?= =?UTF-8?q?=EC=96=B4=20=EB=B2=88=EC=97=AD=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6282 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/member/lang/jp.lang.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/member/lang/jp.lang.php b/modules/member/lang/jp.lang.php index 327b2ec3f..97ac0ddf0 100644 --- a/modules/member/lang/jp.lang.php +++ b/modules/member/lang/jp.lang.php @@ -110,7 +110,7 @@ $lang->cmd_view_saved_document = '保存ドキュメント'; $lang->cmd_send_email = 'メール送信'; - $lang->msg_email_not_exists = "メールアドレスがありません。"; + $lang->msg_email_not_exists = "登録されたメールアドレスがありません。"; $lang->msg_alreay_scrapped = '既にスクラップされたコンテンツです。'; @@ -139,7 +139,7 @@ $lang->msg_exists_user_id = '既に存在するユーザIDです。他のIDを入力して下さい。'; $lang->msg_exists_email_address = '既に存在するメールアドレスです。他のメールアドレスを入力して下さい。'; $lang->msg_exists_nick_name = '既に存在するニックネームです。他のニックネームを入力して下さい。'; - $lang->msg_signup_disabled = '会員に登録することが出来ません。'; + $lang->msg_signup_disabled = '会員登録が制限されています。
    サイト管理者にお問合せ下さい。'; $lang->msg_already_logged = '既に会員に登録されています。'; $lang->msg_not_logged = 'ログインしていません。'; $lang->msg_insert_group_name = 'グループ名を入力して下さい。'; @@ -200,7 +200,7 @@ $lang->about_openid = 'OpenIDで登録する際、IDとメールなどの基本情報は、このサイトに保存されますが、パスワードと認証のための処理用の情報は該当するOpenID提供サービス側で行われます。'; $lang->about_openid_leave = 'OpenIDの退会は現在のサイトから会員情報を削除することを意味します。
    退会後ログインすると新しく登録することになり、書き込んだコンテンツに対する権限を維持することが出来ません。'; - $lang->about_find_member_account = 'ID/パスワードは登録時に登録されたメールにてお知らせします。
    登録時に登録したメールアドレスを入力して「IDとパスワードの検索」ボタンをクリックして下さい。
    '; + $lang->about_find_member_account = 'ID/パスワードは登録時に登録されたメールにてお知らせします。
    登録時に登録したメールアドレスを入力して「IDとパスワードのリマインダー」ボタンをクリックして下さい。
    '; $lang->about_member = "会員の作成・修正・削除することが出来、グループの管理、登録フォームの管理などが行える会員管理モジュールです。\nデフォルトで作成されたグループにグループを追加作成して会員管理が出来るようにし、会員登録フォーム管理では基本情報の他、フォームの入力情報を追加することが出来ます。"; $lang->about_ssl_port = '基本ポート以外のSSLポートを利用する場合、入力して下さい。'; From e48e2900e47d1009375bed36f07d03d5a71788f2 Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 6 May 2009 07:56:01 +0000 Subject: [PATCH 040/178] =?UTF-8?q?XE=20Smartphone=20=EC=95=A0=EB=93=9C?= =?UTF-8?q?=EC=98=A8=EC=97=90=EC=84=9C=20iui=EB=A5=BC=20=EC=A0=9C=EA=B1=B0?= =?UTF-8?q?=ED=95=98=EA=B3=A0=20=EC=9E=90=EC=B2=B4=20=EC=A0=9C=EC=9E=91?= =?UTF-8?q?=ED=95=9C=20UI=20=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20(=EC=95=84?= =?UTF-8?q?=EC=A7=81=20PC=20=EB=B8=8C=EB=9D=BC=EC=9A=B0=EC=A0=80=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EC=B5=9C=EC=A0=81=ED=99=94=20=EB=90=98=EC=97=88?= =?UTF-8?q?=EA=B3=A0=20iphone,=20=EC=98=B4=EB=8B=88=EC=95=84=EB=93=B1?= =?UTF-8?q?=EC=97=90=EC=84=9C=EC=9D=98=20=EC=B5=9C=EC=A0=81=ED=99=94?= =?UTF-8?q?=EB=8A=94=20=EB=8B=A4=EC=8B=9C=20=EC=A7=84=ED=96=89=ED=95=A0=20?= =?UTF-8?q?=EC=98=88=EC=A0=95=EC=9E=85=EB=8B=88=EB=8B=A4)=20cafeXE,=20plan?= =?UTF-8?q?et,=20page=EB=AA=A8=EB=93=88=EC=97=90=EC=84=9C=EB=8F=84=20?= =?UTF-8?q?=EC=8A=A4=EB=A7=88=ED=8A=B8=ED=8F=B0=EC=97=90=20=EC=96=B4?= =?UTF-8?q?=EC=9A=B8=EB=A6=AC=EB=8A=94=20=EC=BB=A8=ED=85=90=EC=B8=A0?= =?UTF-8?q?=EB=A1=9C=20=EC=8A=A4=EB=A7=88=ED=8A=B8=ED=8F=B0=20=ED=99=98?= =?UTF-8?q?=EA=B2=BD=EC=9D=84=20=EC=A0=9C=EA=B3=B5=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6283 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../smartphone/classes/smartphone.class.php | 167 +++--- addons/smartphone/iui/LICENSE.txt | 21 - addons/smartphone/iui/backButton.png | Bin 816 -> 0 bytes addons/smartphone/iui/blueButton.png | Bin 517 -> 0 bytes addons/smartphone/iui/cancel.png | Bin 362 -> 0 bytes addons/smartphone/iui/grayButton.png | Bin 943 -> 0 bytes addons/smartphone/iui/image/next.png | Bin 3790 -> 0 bytes addons/smartphone/iui/image/next_New.png | Bin 3809 -> 0 bytes addons/smartphone/iui/image/previous.png | Bin 3789 -> 0 bytes addons/smartphone/iui/image/previous_New.png | Bin 3832 -> 0 bytes addons/smartphone/iui/iui.css | 486 ------------------ addons/smartphone/iui/iui.js | 383 -------------- addons/smartphone/iui/iuix.css | 1 - addons/smartphone/iui/iuix.js | 1 - addons/smartphone/iui/listArrowSel.png | Bin 308 -> 0 bytes addons/smartphone/iui/loading.gif | Bin 1435 -> 0 bytes addons/smartphone/iui/selection.png | Bin 159 -> 0 bytes addons/smartphone/iui/thumb.png | Bin 2835 -> 0 bytes addons/smartphone/iui/toggle.png | Bin 2815 -> 0 bytes addons/smartphone/iui/toggleOn.png | Bin 163 -> 0 bytes addons/smartphone/iui/toolButton.png | Bin 531 -> 0 bytes addons/smartphone/iui/toolbar.png | Bin 171 -> 0 bytes addons/smartphone/iui/whiteButton.png | Bin 978 -> 0 bytes addons/smartphone/smartphone.addon.php | 25 +- addons/smartphone/tpl/images/btnMenu.png | Bin 0 -> 1795 bytes addons/smartphone/tpl/images/btnNext.png | Bin 0 -> 1877 bytes addons/smartphone/tpl/images/btnPrev.png | Bin 0 -> 1863 bytes addons/smartphone/tpl/images/btnTop.png | Bin 0 -> 1861 bytes .../{iui => tpl/images}/listArrow.png | Bin .../{iui => tpl/images}/listGroup.png | Bin .../{iui => tpl/images}/pinstripes.png | Bin addons/smartphone/tpl/images/titlebar.png | Bin 0 -> 332 bytes addons/smartphone/tpl/layout.html | 68 +-- addons/smartphone/tpl/smartphone.css | 202 ++++++++ addons/smartphone/tpl/smartphone.js | 93 ++++ modules/board/board.smartphone.php | 81 ++- .../board/tpl/smartphone/comment_list.html | 14 + modules/board/tpl/smartphone/list.html | 31 +- .../board/tpl/smartphone/view_document.html | 50 +- modules/homepage/homepage.smartphone.php | 16 + modules/homepage/tpl/smartphone.html | 18 + modules/page/page.smartphone.php | 28 + modules/page/tpl/smartphone.html | 4 + modules/planet/planet.smartphone.php | 21 + modules/planet/tpl/smartphone.html | 30 ++ 45 files changed, 590 insertions(+), 1150 deletions(-) delete mode 100644 addons/smartphone/iui/LICENSE.txt delete mode 100644 addons/smartphone/iui/backButton.png delete mode 100644 addons/smartphone/iui/blueButton.png delete mode 100644 addons/smartphone/iui/cancel.png delete mode 100644 addons/smartphone/iui/grayButton.png delete mode 100644 addons/smartphone/iui/image/next.png delete mode 100644 addons/smartphone/iui/image/next_New.png delete mode 100644 addons/smartphone/iui/image/previous.png delete mode 100644 addons/smartphone/iui/image/previous_New.png delete mode 100644 addons/smartphone/iui/iui.css delete mode 100644 addons/smartphone/iui/iui.js delete mode 100644 addons/smartphone/iui/iuix.css delete mode 100644 addons/smartphone/iui/iuix.js delete mode 100644 addons/smartphone/iui/listArrowSel.png delete mode 100644 addons/smartphone/iui/loading.gif delete mode 100644 addons/smartphone/iui/selection.png delete mode 100644 addons/smartphone/iui/thumb.png delete mode 100644 addons/smartphone/iui/toggle.png delete mode 100644 addons/smartphone/iui/toggleOn.png delete mode 100644 addons/smartphone/iui/toolButton.png delete mode 100644 addons/smartphone/iui/toolbar.png delete mode 100644 addons/smartphone/iui/whiteButton.png create mode 100755 addons/smartphone/tpl/images/btnMenu.png create mode 100755 addons/smartphone/tpl/images/btnNext.png create mode 100755 addons/smartphone/tpl/images/btnPrev.png create mode 100755 addons/smartphone/tpl/images/btnTop.png rename addons/smartphone/{iui => tpl/images}/listArrow.png (100%) rename addons/smartphone/{iui => tpl/images}/listGroup.png (100%) rename addons/smartphone/{iui => tpl/images}/pinstripes.png (100%) create mode 100755 addons/smartphone/tpl/images/titlebar.png create mode 100644 addons/smartphone/tpl/smartphone.css create mode 100644 addons/smartphone/tpl/smartphone.js create mode 100644 modules/board/tpl/smartphone/comment_list.html create mode 100644 modules/homepage/homepage.smartphone.php create mode 100644 modules/homepage/tpl/smartphone.html create mode 100644 modules/page/page.smartphone.php create mode 100644 modules/page/tpl/smartphone.html create mode 100644 modules/planet/planet.smartphone.php create mode 100644 modules/planet/tpl/smartphone.html diff --git a/addons/smartphone/classes/smartphone.class.php b/addons/smartphone/classes/smartphone.class.php index 9ba8f7f0f..623f1bb90 100644 --- a/addons/smartphone/classes/smartphone.class.php +++ b/addons/smartphone/classes/smartphone.class.php @@ -1,106 +1,109 @@ oModule = $oModule; + $this->module_info = $module_info; + + if(!$this->module_info->menu_srl) { + $oMenuModel = &getAdminModel('menu'); + $menus = $oMenuModel->getMenus($this->module_info->site_srl); + if($menus[0]) $this->module_info->menu_srl = $menus[0]->menu_srl; + } + + if($this->module_info->menu_srl) { + $menu_cache_file = sprintf(_XE_PATH_.'files/cache/menu/%d.php', $this->module_info->menu_srl); + if(!file_exists($menu_cache_file)) return; + @include $menu_cache_file; + Context::addHtmlHeader(sprintf('', $this->_getAllItems($menu->list))); + $this->_setParentUrl($menu->list); } } - function setModuleInstance(&$oModule) { - if($this->oModule) return; - $this->oModule = $oModule; + function _setParentUrl($menu_list) { + if(!count($menu_list)) return; + foreach($menu_list as $key => $val) { + if(!$val['text']) continue; + if($val['list'] && $this->_setParentUrl($val['list'])) { + $href = $val['href']; + if(preg_match('/^[a-z0-9_]+$/i',$val['url'])) $href = getUrl('','mid',$val['url'],'smartphone','true'); + else $href = $val['href']; + $this->setParentUrl($href); + return false; + } + if($val['url']==Context::get('mid')) return true; + } + return false; + } + + function _getAllItems($menu_list, $depth=0) { + if(!count($menu_list)) return; + $output = ''; + + foreach($menu_list as $menu_item) + { + if($output) $output .= ","; + $key = $menu_item['text']; + $val = $menu_item['url']; + if($menu_item['list']) { + $childs = '{'.$this->_getAllItems($menu_item['list'], $depth+1).'}'; + } else { + $childs = 'null'; + } + + $output .= sprintf('"%s" : { "url" : "%s", "childs" : %s } ',str_replace('"','\"',$key), str_replace('"','\"',$val), $childs); + } + return $output; + } + + function procSmartPhone() { + if(is_a($this->output, 'Object') || is_subclass_of($this->output, 'Object')) { + $this->setContent($this->output->getMessage()); + return; + } + + if($this->haveSmartphoneModule($this->module_info->module)) { + $oSmartPhoneModule =& getModule($this->module_info->module, 'smartphone'); + $vars = get_object_vars($this->oModule); + if(count($vars)) foreach($vars as $key => $val) $oSmartPhoneModule->{$key} = $val; + $oSmartPhoneModule->procSmartPhone($this); + } else { + $this->setContent('요청하신 모듈은 스마트폰을 지원하지 않습니다'); + } } function setContent($content) { $this->content = $content; } - function setModuleInfo(&$module_info) - { - if($this->module_info) return; - $this->module_info = $module_info; + function setParentUrl($url) { + $this->parent_url = $url; } - function procSmartPhone() - { - if(!$this->module_info) return; - $oModule =& getModule($this->module_info->module, 'smartphone'); - if(!$oModule || !method_exists($oModule, 'procSmartPhone') ) return; - $vars = get_object_vars($this->oModule); - if(count($vars)) foreach($vars as $key => $val) $oModule->{$key} = $val; - return $oModule->procSmartPhone($this); + function setPrevUrl($url) { + $this->prev_url = $url; } - function getAllItems(&$menu_list, $node_srl = 0, $node_text= "Main Menu") - { - if($node_srl == 0) $this->menuList = array(); - - $obj = null; - $obj->text = $node_text; - $obj->list = array(); - foreach($menu_list as $menu_node_srl => $menu_item) - { - $it = null; - if(!preg_match('/^([a-zA-Z0-9\_\-]+)$/', $menu_item['url'])) { continue; } - if($menu_item["list"] && count($menu_item["list"]) > 0) - { - $this->getAllItems($menu_item["list"], $menu_node_srl, $menu_item["text"]); - } - $it->text = $menu_item["text"]; - $it->url = $menu_item["url"]; - $obj->list[$menu_node_srl] = $it; - } - $this->menuList[$node_srl] = $obj; + function setNextUrl($url) { + $this->next_url = $url; } - function setMenu() - { - $menu_cache_file = sprintf(_XE_PATH_.'files/cache/menu/%d.php', $this->module_info->menu_srl); - if(!file_exists($menu_cache_file)) return; - - include $menu_cache_file; - - $this->getAllItems($menu->list); - Context::set('menus', $this->menuList); - } - - function display() - { - Context::set('layout', 'none'); - $act = Context::get('act'); - if($act) - { - $content = $this->procSmartPhone(); - } - else - { - Context::set('module_info', $this->module_info); - $this->setMenu(); - $oModule =& getModule($this->module_info->module, 'smartphone'); - if($oModule && method_exists($oModule, 'procSmartPhone') ) Context::set('bHavePhoneMethod', true); - $oTemplate = new TemplateHandler(); - $oContext = &Context::getInstance(); - $content = $oTemplate->compile(_XE_PATH_."addons/smartphone/tpl", "layout"); - } - print $content; - - exit(); - } } ?> diff --git a/addons/smartphone/iui/LICENSE.txt b/addons/smartphone/iui/LICENSE.txt deleted file mode 100644 index c43b26eec..000000000 --- a/addons/smartphone/iui/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -Copyright (c) 2007, iUI Project Members - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of the iUI Project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/addons/smartphone/iui/backButton.png b/addons/smartphone/iui/backButton.png deleted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5j_jy7l;W z_U#vU3hqqYU3!mrul&B+{ptt$59)uk{;_4iZQ%G|z+lhASr6|H35TBkl>gI*;nGLU zN7W-nBaM%pA0HbH8olyl&XeJ%vZoWz%6?Y=dFykl=imL}`%BMQ{Mhgd`HRoLu6e2R za__6DuR6yg#~-}Tc|Gx_{H@O0eebyMy5GmWADJlpK>kqk(fVV@r_fLLKIeS?{4e)} z^ZO;zpECde00d`2O+f$vv5tKEQIh}w03c&XQcVB=dL;k=fP(-4`Tqa_faw4Lbua(` z>RI+y?e7jKeZ#YO-C1M5jdK~#9!>{{JRR6!I!XEa3Dw2$3Bbgi@pQKO9r>LpN$ zgdU2XgTVjF$9nL!hoF}rSo9_6gQPNCLQyk{wb0ZRqxSSrtM}fSGjry8qwa3!Y4_ec zGiQEte&?JyGx%j=tN3Ple6j?bAOP`yy<{(KgUy5eAOP^)8b`D@u}W{QeRQB}WGH_i z(-L{rbn)ic_*4lJ7p!TV;Fm^3ByZ8PA7nLLt$cg7@HyMIZ=m~7q>*~`_Cs`q6PXwR zkZcaLH&f+wAm+C&+^!HPFAl9A5%){9k+x}Zcx8xp{Z8c%)w0P!XX{&<0y z<8sAnQhZllS>Lik=~Nnd4?vJsiNQId;>>#~LtSwC%^C8zaYOjNlKO@p& zo|X(+n{5A)4rPwr=vnuzr#Q~-=qz!yNsV3Z=ZkD4us({#k@Pa1iR^bSoXU2zs>a$r z|Cu0u^=#ghSN<1IpfB}hk9KCXJ-B3Xs9{W)T;&V|0Ju>&QH$XAqb@WZv(&2zBVW^D za>TYwOQAPcgOUU`NR45P#Gpp(#{BmAo@S+(ywVOC3GyVYQ&Q{UTjB6v-kPFw2X9`N zDVzuBe=8iLi_T&vHgY+u-3jhEB diff --git a/addons/smartphone/iui/image/next_New.png b/addons/smartphone/iui/image/next_New.png deleted file mode 100644 index eefc826dd94b68dbb51526c23b7705d4f1d5852d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3809 zcmV<74j%D|P)KLZ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r6|H35TBkl>gI*;nGLU zN7W-nBaM%pA0HbH8olyl&XeJ%vZoWz%6?Y=dFykl=imL}`%BMQ{Mhgd`HRoLu6e2R za__6DuR6yg#~-}Tc|Gx_{H@O0eebyMy5GmWADJlpK>kqk(fVV@r_fLLKIeS?{4e)} z^ZO;zpECde00d`2O+f$vv5tKEQIh}w03c&XQcVB=dL;k=fP(-4`Tqa_faw4Lbua(` z>RI+y?e7jKeZ#YO-C1Qkg{K~#9!?3>MNTvZsxf9KpgnaNCIBaIE-ade2$+B1~_1Yt;_SmN|kQ(S!QRbbv#rl&-B>+Y7jxw*;e$})2c zi_D!nN3l3YmCEH~^z9+8EDHmVKvf`@SQbRcNg|J6RUas(#_LvM6l^hGX}&m3yw| z>M^Vx<^acOW6(e>9{Vw!+O0AK&^V8ooW>+1ME;-h!p z?sHX?C>jS%YV~~%8x2qB@RXyFAL%cZ?OsiQbq1{z?|*!qo>mbS&+mL#u%LQJ>1EA43Gk(#K{0FWWR7- zV-d7gG!OTw?L6S`tvh^n7&{gd9T-dLh!x~KzH)+&%a8eL85BYHA zQ$AUGk9vKVIE^vR;iUA0p74f5^!o3Agp)zLwp!;%(iHY;s3hTFB+pw{-XV>fB+Vw) zT7>Yz4JYgRdF~a?nx0^^))3=RDj^8M)~wPPjL{gQea;QZaRU1g#|vFpQ0000 *:not(.toolbar) { - display: none; - position: absolute; - margin: 0; - padding: 0; - left: 0; - top: 45px; - width: 100%; - min-height: 372px; -} - -body[orient="landscape"] > *:not(.toolbar) { - min-height: 268px; -} - -body > *[selected="true"] { - display: block; -} - -a[selected].link, a:active, link { - background-color: #194fdb !important; - background-image: url(listArrowSel.png), url(selection.png) !important; - background-repeat: no-repeat, repeat-x; - background-position: right center, left top; - color: #FFFFFF !important; -} - -a[selected="progress"].link { - background-image: url(loading.gif), url(selection.png) !important; -} - -/************************************************************************************************/ - -body > .toolbar { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - border-bottom: 1px solid #2d3642; - border-top: 1px solid #6d84a2; - padding: 10px; - height: 45px; - background: url(toolbar.png) #6d84a2 repeat-x; -} - -.toolbar > h1 { - position: absolute; - overflow: hidden; - left: 50%; - margin: 1px 0 0 -75px; - height: 45px; - font-size: 20px; - width: 150px; - font-weight: bold; - text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; - text-align: center; - text-overflow: ellipsis; - white-space: nowrap; - color: #FFFFFF; -} - -body[orient="landscape"] > .toolbar > h1 { - margin-left: -125px; - width: 250px; -} - -.button { - position: absolute; - overflow: hidden; - top: 8px; - right: 6px; - margin: 0; - border-width: 0 5px; - padding: 0 3px; - width: auto; - height: 30px; - line-height: 30px; - font-family: inherit; - font-size: 12px; - font-weight: bold; - color: #FFFFFF; - text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0; - text-overflow: ellipsis; - text-decoration: none; - white-space: nowrap; - background: none; - -webkit-border-image: url(toolButton.png) 0 5 0 5; -} - -.blueButton { - -webkit-border-image: url(blueButton.png) 0 5 0 5; - border-width: 0 5px; -} - -.leftButton { - left: 6px; - right: auto; -} - -#backButton { - display: none; - left: 6px; - right: auto; - padding: 0; - max-width: 55px; - border-width: 0 8px 0 14px; - -webkit-border-image: url(backButton.png) 0 8 0 14; -} - -.whiteButton, -.grayButton { - display: block; - border-width: 0 12px; - padding: 10px; - text-align: center; - font-size: 20px; - font-weight: bold; - text-decoration: inherit; - color: inherit; -} - -.whiteButton { - -webkit-border-image: url(whiteButton.png) 0 12 0 12; - text-shadow: rgba(255, 255, 255, 0.7) 0 1px 0; -} - -.grayButton { - -webkit-border-image: url(grayButton.png) 0 12 0 12; - color: #FFFFFF; -} - -/************************************************************************************************/ - -body > ul > li { - position: relative; - margin: 0; - border-bottom: 1px solid #E0E0E0; - padding: 8px 0 8px 10px; - font-size: 18px; - font-weight: bold; - list-style: none; -} - -body > ul > li.group { - position: relative; - top: -1px; - margin-bottom: -2px; - border-top: 1px solid #7d7d7d; - border-bottom: 1px solid #999999; - padding: 1px 10px; - background: url(listGroup.png) repeat-x; - font-size: 17px; - font-weight: bold; - text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0; - color: #FFFFFF; -} - -body > ul > li.group:first-child { - top: 0; - border-top: none; -} - -body > ul > li > a { - display: block; - margin: -8px 0 -8px -10px; - padding: 8px 32px 8px 10px; - text-decoration: none; - color: inherit; - background: url(listArrow.png) no-repeat right center; -} - -a[target="_replace"] { - box-sizing: border-box; - -webkit-box-sizing: border-box; - padding-top: 25px; - padding-bottom: 25px; - font-size: 18px; - color: cornflowerblue; - background-color: #FFFFFF; - background-image: none; -} - -/************************************************************************************************/ - -body > .dialog { - top: 0; - width: 100%; - min-height: 417px; - z-index: 2; - background: rgba(0, 0, 0, 0.8); - padding: 0; - text-align: right; -} - -.dialog > fieldset { - box-sizing: border-box; - -webkit-box-sizing: border-box; - width: 100%; - margin: 0; - border: none; - border-top: 1px solid #6d84a2; - padding: 10px 6px; - background: url(toolbar.png) #7388a5 repeat-x; -} - -.dialog > fieldset > h1 { - margin: 0 10px 0 10px; - padding: 0; - font-size: 20px; - font-weight: bold; - color: #FFFFFF; - text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; - text-align: center; -} - -.dialog > fieldset > label { - position: absolute; - margin: 16px 0 0 6px; - font-size: 14px; - color: #999999; -} - -input { - box-sizing: border-box; - -webkit-box-sizing: border-box; - width: 100%; - margin: 8px 0 0 0; - padding: 6px 6px 6px 44px; - font-size: 16px; - font-weight: normal; -} - -/************************************************************************************************/ - -body > .panel { - box-sizing: border-box; - -webkit-box-sizing: border-box; - padding: 10px; - background: #c8c8c8 url(pinstripes.png); -} - -.panel > fieldset { - position: relative; - margin: 0 0 20px 0; - padding: 0; - background: #FFFFFF; - -webkit-border-radius: 8px; - border: 1px solid #999999; - text-align: right; - font-size: 16px; -} - -.row { - position: relative; - min-height: 42px; - border-bottom: 1px solid #999999; - -webkit-border-radius: 0; - text-align: right; -} - -fieldset > .row:last-child { - border-bottom: none !important; -} - -.row > input { - box-sizing: border-box; - -webkit-box-sizing: border-box; - margin: 0; - border: none; - padding: 12px 10px 0 110px; - height: 42px; - background: none; -} - -.row > label { - position: absolute; - margin: 0 0 0 14px; - line-height: 42px; - font-weight: bold; -} - -.row > .toggle { - position: absolute; - top: 6px; - right: 6px; - width: 100px; - height: 28px; -} - -.toggle { - border: 1px solid #888888; - -webkit-border-radius: 6px; - background: #FFFFFF url(toggle.png) repeat-x; - font-size: 19px; - font-weight: bold; - line-height: 30px; -} - -.toggle[toggled="true"] { - border: 1px solid #143fae; - background: #194fdb url(toggleOn.png) repeat-x; -} - -.toggleOn { - display: none; - position: absolute; - width: 60px; - text-align: center; - left: 0; - top: 0; - color: #FFFFFF; - text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; -} - -.toggleOff { - position: absolute; - width: 60px; - text-align: center; - right: 0; - top: 0; - color: #666666; -} - -.toggle[toggled="true"] > .toggleOn { - display: block; -} - -.toggle[toggled="true"] > .toggleOff { - display: none; -} - -.thumb { - position: absolute; - top: -1px; - left: -1px; - width: 40px; - height: 28px; - border: 1px solid #888888; - -webkit-border-radius: 6px; - background: #ffffff url(thumb.png) repeat-x; -} - -.toggle[toggled="true"] > .thumb { - left: auto; - right: -1px; -} - -.panel > h2 { - margin: 0 0 8px 14px; - font-size: inherit; - font-weight: bold; - color: #4d4d70; - text-shadow: rgba(255, 255, 255, 0.75) 2px 2px 0; -} - -.panel > .content { - background: #FFFFFF; - -webkit-border-radius: 8px; - border: 1px solid #999999; - padding: 10px; -} - -/************************************************************************************************/ - -#preloader { - display: none; - background-image: url(loading.gif), url(selection.png), - url(blueButton.png), url(listArrowSel.png), url(listGroup.png); -} - -body > ul > li.post_item > a > .post > span.title { - font-size:13px; - font-weight:normal; - display:block; -} -body > ul > li.post_item > a > .post > span.description { - font-size:10px; - font-weight:normal; - color:#bbb; - display:block; - margin-top:2px; - letter-spacing:0px; -} - -.next, .previous { - display: block; - text-decoration: none; - font-size: 16px; - padding: 7px 0; - background: url(image/previous_New.png) no-repeat; - color: #fff; - margin: 8px 12px; - width: 110px; - height: 21px; - text-align: center; - margin-bottom: 30px; - font-weight:normal; -} - -.next { - float: right; - background: url(image/next_New.png) no-repeat; -} - -.previous { - float: left; - opacity: 0.7; - margin: 8px 0px; -} - -.pagination { - background: none; - border: none; - text-align: center; -} - -.pagination strong { - font-size: 32px; - color: #ccc; - position: relative; - top: 5px; -} - -.siteinfo .description -{ - display: block; - font-size: 16px; - color: #6699FF; - text-align: right; -} - -.siteinfo .xe -{ - display: block; - text-align: right; - font-size:11px; - color: #999; -} - -ul.navigation { - margin:0; - padding:0; - list-style: none; -} - -ul.navigation > li { - position: relative; - font-size: 14px; - border-bottom: 1px solid #E0E0E0; - text-align: left; -} - -ul.navigation > li > a { - display: block; - background-image: url(listArrow.png); - background-repeat: no-repeat; - background-position: right center; - color: inherit; - text-decoration: none; - padding: 8px 32px 8px 10px; -} - -.comment_item > .author { - color: #3074A5; -} - -.comment_item > .regdate { - float:right; - font-size: 12px; - color: #CCC; -} - -.comment_item > .re { - font-size: 12px; - color: #DCC; -} diff --git a/addons/smartphone/iui/iui.js b/addons/smartphone/iui/iui.js deleted file mode 100644 index e479fefa6..000000000 --- a/addons/smartphone/iui/iui.js +++ /dev/null @@ -1,383 +0,0 @@ -/* - Copyright (c) 2007, iUI Project Members - See LICENSE.txt for licensing terms - */ - - -(function() { - -var slideSpeed = 40; -var slideInterval = 0; - -var currentPage = null; -var currentDialog = null; -var currentWidth = 0; -var currentHash = location.hash; -var hashPrefix = "#_"; -var pageHistory = []; -var newPageCount = 0; -var checkTimer; - -// ************************************************************************************************* - -window.iui = -{ - showPage: function(page, backwards) - { - if (page) - { - if (currentDialog) - { - currentDialog.removeAttribute("selected"); - currentDialog = null; - } - - if (hasClass(page, "dialog")) - showDialog(page); - else - { - var fromPage = currentPage; - currentPage = page; - - if (fromPage) - setTimeout(slidePages, 0, fromPage, page, backwards); - else - updatePage(page, fromPage); - } - } - }, - - showPageById: function(pageId) - { - var page = $(pageId); - if (page) - { - var index = pageHistory.indexOf(pageId); - var backwards = index != -1; - if (backwards) - pageHistory.splice(index, pageHistory.length); - - iui.showPage(page, backwards); - } - }, - - showPageByHref: function(href, args, method, replace, cb) - { - var req = new XMLHttpRequest(); - req.onerror = function() - { - if (cb) - cb(false); - }; - - req.onreadystatechange = function() - { - if (req.readyState == 4) - { - if (replace) - replaceElementWithSource(replace, req.responseText); - else - { - var frag = document.createElement("div"); - frag.innerHTML = req.responseText; - iui.insertPages(frag.childNodes); - } - if (cb) - setTimeout(cb, 1000, true); - } - }; - - if (args) - { - req.open(method || "GET", href, true); - req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); - req.setRequestHeader("Content-Length", args.length); - req.send(args.join("&")); - } - else - { - req.open(method || "GET", href, true); - req.send(null); - } - }, - - insertPages: function(nodes) - { - var targetPage; - for (var i = 0; i < nodes.length; ++i) - { - var child = nodes[i]; - if (child.nodeType == 1) - { - if (!child.id) - child.id = "__" + (++newPageCount) + "__"; - - var clone = $(child.id); - if (clone) - clone.parentNode.replaceChild(child, clone); - else - document.body.appendChild(child); - - if (child.getAttribute("selected") == "true" || !targetPage) - targetPage = child; - - --i; - } - } - - if (targetPage) - iui.showPage(targetPage); - }, - - getSelectedPage: function() - { - for (var child = document.body.firstChild; child; child = child.nextSibling) - { - if (child.nodeType == 1 && child.getAttribute("selected") == "true") - return child; - } - } -}; - -// ************************************************************************************************* - -addEventListener("load", function(event) -{ - var page = iui.getSelectedPage(); - if (page) - iui.showPage(page); - - setTimeout(preloadImages, 0); - setTimeout(checkOrientAndLocation, 0); - checkTimer = setInterval(checkOrientAndLocation, 300); -}, false); - -addEventListener("click", function(event) -{ - var link = findParent(event.target, "a"); - if (link) - { - function unselect() { link.removeAttribute("selected"); } - - if (link.href && link.hash && link.hash != "#") - { - link.setAttribute("selected", "true"); - iui.showPage($(link.hash.substr(1))); - setTimeout(unselect, 500); - } - else if (link == $("backButton")) - history.back(); - else if (link.getAttribute("type") == "submit") - submitForm(findParent(link, "form")); - else if (link.getAttribute("type") == "cancel") - cancelDialog(findParent(link, "form")); - else if (link.target == "_replace") - { - link.setAttribute("selected", "progress"); - iui.showPageByHref(link.href, null, null, link, unselect); - } - else if (!link.target) - { - link.setAttribute("selected", "progress"); - iui.showPageByHref(link.href, null, null, null, unselect); - } - else - return; - - event.preventDefault(); - } -}, true); - -addEventListener("click", function(event) -{ - var div = findParent(event.target, "div"); - if (div && hasClass(div, "toggle")) - { - div.setAttribute("toggled", div.getAttribute("toggled") != "true"); - event.preventDefault(); - } -}, true); - -function checkOrientAndLocation() -{ - if (window.innerWidth != currentWidth) - { - currentWidth = window.innerWidth; - var orient = currentWidth == 320 ? "profile" : "landscape"; - document.body.setAttribute("orient", orient); - setTimeout(scrollTo, 100, 0, 1); - } - - if (location.hash != currentHash) - { - var pageId = location.hash.substr(hashPrefix.length) - iui.showPageById(pageId); - } -} - -function showDialog(page) -{ - currentDialog = page; - page.setAttribute("selected", "true"); - - if (hasClass(page, "dialog") && !page.target) - showForm(page); -} - -function showForm(form) -{ - form.onsubmit = function(event) - { - event.preventDefault(); - submitForm(form); - }; - - form.onclick = function(event) - { - if (event.target == form && hasClass(form, "dialog")) - cancelDialog(form); - }; -} - -function cancelDialog(form) -{ - form.removeAttribute("selected"); -} - -function updatePage(page, fromPage) -{ - if (!page.id) - page.id = "__" + (++newPageCount) + "__"; - - location.href = currentHash = hashPrefix + page.id; - pageHistory.push(page.id); - - var pageTitle = $("pageTitle"); - if (page.title) - pageTitle.innerHTML = page.title; - - if (page.localName.toLowerCase() == "form" && !page.target) - showForm(page); - - var backButton = $("backButton"); - if (backButton) - { - var prevPage = $(pageHistory[pageHistory.length-2]); - if (prevPage && !page.getAttribute("hideBackButton")) - { - backButton.style.display = "inline"; - backButton.innerHTML = prevPage.title ? prevPage.title : "Back"; - } - else - backButton.style.display = "none"; - } -} - -function slidePages(fromPage, toPage, backwards) -{ - var axis = (backwards ? fromPage : toPage).getAttribute("axis"); - if (axis == "y") - (backwards ? fromPage : toPage).style.top = "100%"; - else - toPage.style.left = "100%"; - - toPage.setAttribute("selected", "true"); - scrollTo(0, 1); - clearInterval(checkTimer); - - var percent = 100; - slide(); - var timer = setInterval(slide, slideInterval); - - function slide() - { - percent -= slideSpeed; - if (percent <= 0) - { - percent = 0; - if (!hasClass(toPage, "dialog")) - fromPage.removeAttribute("selected"); - clearInterval(timer); - checkTimer = setInterval(checkOrientAndLocation, 300); - setTimeout(updatePage, 0, toPage, fromPage); - } - - if (axis == "y") - { - backwards - ? fromPage.style.top = (100-percent) + "%" - : toPage.style.top = percent + "%"; - } - else - { - fromPage.style.left = (backwards ? (100-percent) : (percent-100)) + "%"; - toPage.style.left = (backwards ? -percent : percent) + "%"; - } - } -} - -function preloadImages() -{ - var preloader = document.createElement("div"); - preloader.id = "preloader"; - document.body.appendChild(preloader); -} - -function submitForm(form) -{ - iui.showPageByHref(form.action || "POST", encodeForm(form), form.method); -} - -function encodeForm(form) -{ - function encode(inputs) - { - for (var i = 0; i < inputs.length; ++i) - { - if (inputs[i].name) - args.push(inputs[i].name + "=" + escape(inputs[i].value)); - } - } - - var args = []; - encode(form.getElementsByTagName("input")); - encode(form.getElementsByTagName("select")); - return args; -} - -function findParent(node, localName) -{ - while (node && (node.nodeType != 1 || node.localName.toLowerCase() != localName)) - node = node.parentNode; - return node; -} - -function hasClass(self, name) -{ - var re = new RegExp("(^|\\s)"+name+"($|\\s)"); - return re.exec(self.getAttribute("class")) != null; -} - -function replaceElementWithSource(replace, source) -{ - var page = replace.parentNode; - var parent = replace; - while (page.parentNode != document.body) - { - page = page.parentNode; - parent = parent.parentNode; - } - - var frag = document.createElement(parent.localName); - frag.innerHTML = source; - - page.removeChild(parent); - - while (frag.firstChild) - page.appendChild(frag.firstChild); -} - -function $(id) { return document.getElementById(id); } -function ddd() { console.log.apply(console, arguments); } - -})(); diff --git a/addons/smartphone/iui/iuix.css b/addons/smartphone/iui/iuix.css deleted file mode 100644 index 1a1969058..000000000 --- a/addons/smartphone/iui/iuix.css +++ /dev/null @@ -1 +0,0 @@ -body{margin:0;font-family:Helvetica;background:#FFF;color:#000;overflow-x:hidden;-webkit-user-select:none;-webkit-text-size-adjust:none;}body>*:not(.toolbar){display:none;position:absolute;margin:0;padding:0;left:0;top:45px;width:100%;min-height:372px;}body[orient="landscape"]>*:not(.toolbar){min-height:268px;}body>*[selected="true"]{display:block;}a[selected],a:active{background-color:#194fdb!important;background-image:url(listArrowSel.png),url(selection.png)!important;background-repeat:no-repeat,repeat-x;background-position:right center,left top;color:#FFF!important;}a[selected="progress"]{background-image:url(loading.gif),url(selection.png)!important;}body>.toolbar{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;border-bottom:1px solid #2d3642;border-top:1px solid #6d84a2;padding:10px;height:45px;background:url(toolbar.png) #6d84a2 repeat-x;}.toolbar>h1{position:absolute;overflow:hidden;left:50%;margin:1px 0 0 -75px;height:45px;font-size:20px;width:150px;font-weight:bold;text-shadow:rgba(0,0,0,0.4) 0 -1px 0;text-align:center;text-overflow:ellipsis;white-space:nowrap;color:#FFF;}body[orient="landscape"]>.toolbar>h1{margin-left:-125px;width:250px;}.button{position:absolute;overflow:hidden;top:8px;right:6px;margin:0;border-width:0 5px;padding:0 3px;width:auto;height:30px;line-height:30px;font-family:inherit;font-size:12px;font-weight:bold;color:#FFF;text-shadow:rgba(0,0,0,0.6) 0 -1px 0;text-overflow:ellipsis;text-decoration:none;white-space:nowrap;background:none;-webkit-border-image:url(toolButton.png) 0 5 0 5;}.blueButton{-webkit-border-image:url(blueButton.png) 0 5 0 5;border-width:0 5px;}.leftButton{left:6px;right:auto;}#backButton{display:none;left:6px;right:auto;padding:0;max-width:55px;border-width:0 8px 0 14px;-webkit-border-image:url(backButton.png) 0 8 0 14;}.whiteButton,.grayButton{display:block;border-width:0 12px;padding:10px;text-align:center;font-size:20px;font-weight:bold;text-decoration:inherit;color:inherit;}.whiteButton{-webkit-border-image:url(whiteButton.png) 0 12 0 12;text-shadow:rgba(255,255,255,0.7) 0 1px 0;}.grayButton{-webkit-border-image:url(grayButton.png) 0 12 0 12;color:#FFF;}body>ul>li{position:relative;margin:0;border-bottom:1px solid #E0E0E0;padding:8px 0 8px 10px;font-size:20px;font-weight:bold;list-style:none;}body>ul>li.group{position:relative;top:-1px;margin-bottom:-2px;border-top:1px solid #7d7d7d;border-bottom:1px solid #999;padding:1px 10px;background:url(listGroup.png) repeat-x;font-size:17px;font-weight:bold;text-shadow:rgba(0,0,0,0.4) 0 1px 0;color:#FFF;}body>ul>li.group:first-child{top:0;border-top:none;}body>ul>li>a{display:block;margin:-8px 0 -8px -10px;padding:8px 32px 8px 10px;text-decoration:none;color:inherit;background:url(listArrow.png) no-repeat right center;}a[target="_replace"]{box-sizing:border-box;-webkit-box-sizing:border-box;padding-top:25px;padding-bottom:25px;font-size:18px;color:cornflowerblue;background-color:#FFF;background-image:none;}body>.dialog{top:0;width:100%;min-height:417px;z-index:2;background:rgba(0,0,0,0.8);padding:0;text-align:right;}.dialog>fieldset{box-sizing:border-box;-webkit-box-sizing:border-box;width:100%;margin:0;border:none;border-top:1px solid #6d84a2;padding:10px 6px;background:url(toolbar.png) #7388a5 repeat-x;}.dialog>fieldset>h1{margin:0 10px 0 10px;padding:0;font-size:20px;font-weight:bold;color:#FFF;text-shadow:rgba(0,0,0,0.4) 0 -1px 0;text-align:center;}.dialog>fieldset>label{position:absolute;margin:16px 0 0 6px;font-size:14px;color:#999;}input{box-sizing:border-box;-webkit-box-sizing:border-box;width:100%;margin:8px 0 0 0;padding:6px 6px 6px 44px;font-size:16px;font-weight:normal;}body>.panel{box-sizing:border-box;-webkit-box-sizing:border-box;padding:10px;background:#c8c8c8 url(pinstripes.png);}.panel>fieldset{position:relative;margin:0 0 20px 0;padding:0;background:#FFF;-webkit-border-radius:10px;border:1px solid #999;text-align:right;font-size:16px;}.row{position:relative;min-height:42px;border-bottom:1px solid #999;-webkit-border-radius:0;text-align:right;}fieldset>.row:last-child{border-bottom:none!important;}.row>input{box-sizing:border-box;-webkit-box-sizing:border-box;margin:0;border:none;padding:12px 10px 0 110px;height:42px;background:none;}.row>label{position:absolute;margin:0 0 0 14px;line-height:42px;font-weight:bold;}.row>.toggle{position:absolute;top:6px;right:6px;width:100px;height:28px;}.toggle{border:1px solid #888;-webkit-border-radius:6px;background:#FFF url(toggle.png) repeat-x;font-size:19px;font-weight:bold;line-height:30px;}.toggle[toggled="true"]{border:1px solid #143fae;background:#194fdb url(toggleOn.png) repeat-x;}.toggleOn{display:none;position:absolute;width:60px;text-align:center;left:0;top:0;color:#FFF;text-shadow:rgba(0,0,0,0.4) 0 -1px 0;}.toggleOff{position:absolute;width:60px;text-align:center;right:0;top:0;color:#666;}.toggle[toggled="true"]>.toggleOn{display:block;}.toggle[toggled="true"]>.toggleOff{display:none;}.thumb{position:absolute;top:-1px;left:-1px;width:40px;height:28px;border:1px solid #888;-webkit-border-radius:6px;background:#fff url(thumb.png) repeat-x;}.toggle[toggled="true"]>.thumb{left:auto;right:-1px;}.panel>h2{margin:0 0 8px 14px;font-size:inherit;font-weight:bold;color:#4d4d70;text-shadow:rgba(255,255,255,0.75) 2px 2px 0;}#preloader{display:none;background-image:url(loading.gif),url(selection.png),url(blueButton.png),url(listArrowSel.png),url(listGroup.png);} \ No newline at end of file diff --git a/addons/smartphone/iui/iuix.js b/addons/smartphone/iui/iuix.js deleted file mode 100644 index 3b2b37f9d..000000000 --- a/addons/smartphone/iui/iuix.js +++ /dev/null @@ -1 +0,0 @@ -(function(){var _1=20;var _2=0;var _3=null;var _4=null;var _5=0;var _6=location.hash;var _7="#_";var _8=[];var _9=0;var _a;window.iui={showPage:function(_b,_c){if(_b){if(_4){_4.removeAttribute("selected");_4=null;}if(hasClass(_b,"dialog")){showDialog(_b);}else{var _d=_3;_3=_b;if(_d){setTimeout(slidePages,0,_d,_b,_c);}else{updatePage(_b,_d);}}}},showPageById:function(_e){var _f=$(_e);if(_f){var _10=_8.indexOf(_e);var _11=_10!=-1;if(_11){_8.splice(_10,_8.length);}iui.showPage(_f,_11);}},showPageByHref:function(_12,_13,_14,_15,cb){var req=new XMLHttpRequest();req.onerror=function(){if(cb){cb(false);}};req.onreadystatechange=function(){if(req.readyState==4){if(_15){replaceElementWithSource(_15,req.responseText);}else{var _18=document.createElement("div");_18.innerHTML=req.responseText;iui.insertPages(_18.childNodes);}if(cb){setTimeout(cb,1000,true);}}};if(_13){req.open(_14||"GET",_12,true);req.setRequestHeader("Content-Type","application/x-www-form-urlencoded");req.setRequestHeader("Content-Length",_13.length);req.send(_13.join("&"));}else{req.open(_14||"GET",_12,true);req.send(null);}},insertPages:function(_19){var _1a;for(var i=0;i<_19.length;++i){var _1c=_19[i];if(_1c.nodeType==1){if(!_1c.id){_1c.id="__"+(++_9)+"__";}var _1d=$(_1c.id);if(_1d){_1d.parentNode.replaceChild(_1c,_1d);}else{document.body.appendChild(_1c);}if(_1c.getAttribute("selected")=="true"||!_1a){_1a=_1c;}--i;}}if(_1a){iui.showPage(_1a);}},getSelectedPage:function(){for(var _1e=document.body.firstChild;_1e;_1e=_1e.nextSibling){if(_1e.nodeType==1&&_1e.getAttribute("selected")=="true"){return _1e;}}}};addEventListener("load",function(_1f){var _20=iui.getSelectedPage();if(_20){iui.showPage(_20);}setTimeout(preloadImages,0);setTimeout(checkOrientAndLocation,0);_a=setInterval(checkOrientAndLocation,300);},false);addEventListener("click",function(_21){var _22=findParent(_21.target,"a");if(_22){function unselect(){_22.removeAttribute("selected");}if(_22.href&&_22.hash&&_22.hash!="#"){_22.setAttribute("selected","true");iui.showPage($(_22.hash.substr(1)));setTimeout(unselect,500);}else{if(_22==$("backButton")){history.back();}else{if(_22.getAttribute("type")=="submit"){submitForm(findParent(_22,"form"));}else{if(_22.getAttribute("type")=="cancel"){cancelDialog(findParent(_22,"form"));}else{if(_22.target=="_replace"){_22.setAttribute("selected","progress");iui.showPageByHref(_22.href,null,null,_22,unselect);}else{if(!_22.target){_22.setAttribute("selected","progress");iui.showPageByHref(_22.href,null,null,null,unselect);}else{return;}}}}}}_21.preventDefault();}},true);addEventListener("click",function(_23){var div=findParent(_23.target,"div");if(div&&hasClass(div,"toggle")){div.setAttribute("toggled",div.getAttribute("toggled")!="true");_23.preventDefault();}},true);function checkOrientAndLocation(){if(window.innerWidth!=_5){_5=window.innerWidth;var _25=_5==320?"profile":"landscape";document.body.setAttribute("orient",_25);setTimeout(scrollTo,100,0,1);}if(location.hash!=_6){var _26=location.hash.substr(_7.length);iui.showPageById(_26);}}function showDialog(_27){_4=_27;_27.setAttribute("selected","true");if(hasClass(_27,"dialog")&&!_27.target){showForm(_27);}}function showForm(_28){_28.onsubmit=function(_29){_29.preventDefault();submitForm(_28);};_28.onclick=function(_2a){if(_2a.target==_28&&hasClass(_28,"dialog")){cancelDialog(_28);}};}function cancelDialog(_2b){_2b.removeAttribute("selected");}function updatePage(_2c,_2d){if(!_2c.id){_2c.id="__"+(++_9)+"__";}location.href=_6=_7+_2c.id;_8.push(_2c.id);var _2e=$("pageTitle");if(_2c.title){_2e.innerHTML=_2c.title;}if(_2c.localName.toLowerCase()=="form"&&!_2c.target){showForm(_2c);}var _2f=$("backButton");if(_2f){var _30=$(_8[_8.length-2]);if(_30&&!_2c.getAttribute("hideBackButton")){_2f.style.display="inline";_2f.innerHTML=_30.title?_30.title:"Back";}else{_2f.style.display="none";}}}function slidePages(_31,_32,_33){var _34=(_33?_31:_32).getAttribute("axis");if(_34=="y"){(_33?_31:_32).style.top="100%";}else{_32.style.left="100%";}_32.setAttribute("selected","true");scrollTo(0,1);clearInterval(_a);var _35=100;slide();var _36=setInterval(slide,_2);function slide(){_35-=_1;if(_35<=0){_35=0;if(!hasClass(_32,"dialog")){_31.removeAttribute("selected");}clearInterval(_36);_a=setInterval(checkOrientAndLocation,300);setTimeout(updatePage,0,_32,_31);}if(_34=="y"){_33?_31.style.top=(100-_35)+"%":_32.style.top=_35+"%";}else{_31.style.left=(_33?(100-_35):(_35-100))+"%";_32.style.left=(_33?-_35:_35)+"%";}}}function preloadImages(){var _37=document.createElement("div");_37.id="preloader";document.body.appendChild(_37);}function submitForm(_38){iui.showPageByHref(_38.action||"POST",encodeForm(_38),_38.method);}function encodeForm(_39){function encode(_3a){for(var i=0;i<_3a.length;++i){if(_3a[i].name){args.push(_3a[i].name+"="+escape(_3a[i].value));}}}var _3c=[];encode(_39.getElementsByTagName("input"));encode(_39.getElementsByTagName("select"));return _3c;}function findParent(_3d,_3e){while(_3d&&(_3d.nodeType!=1||_3d.localName.toLowerCase()!=_3e)){_3d=_3d.parentNode;}return _3d;}function hasClass(_3f,_40){var re=new RegExp("(^|\\s)"+_40+"($|\\s)");return re.exec(_3f.getAttribute("class"))!=null;}function replaceElementWithSource(_42,_43){var _44=_42.parentNode;var _45=_42;while(_44.parentNode!=document.body){_44=_44.parentNode;_45=_45.parentNode;}var _46=document.createElement(_45.localName);_46.innerHTML=_43;_44.removeChild(_45);while(_46.firstChild){_44.appendChild(_46.firstChild);}}function $(id){return document.getElementById(id);}function ddd(){console.log.apply(console,arguments);}})(); \ No newline at end of file diff --git a/addons/smartphone/iui/listArrowSel.png b/addons/smartphone/iui/listArrowSel.png deleted file mode 100644 index 86832ebc7b961840d95938a98a0905cb09bc84a9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 308 zcmV-40n7f0P)P000yS1^@s6cz2e)0000PbVXQnQ*UN; zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUy)=5M`RCwBA)X8|lKx@FnKnE~PEy?ia z{SU&_wuA-Qf@~i?82A5-t)CgG?h{sKgqa}A(mbi>Be*4#H+^E9wf!?(BG-?47NNum z$fCJBQ7uY#r`#fp)HPuPszn6>lv{)~2`@YFmEq&pe{g=312+RdH`9NrSt2ID{C|Ft z2*^+{|J8@T42gYjK$bF6#S)kWa-u9K7Cd_Whmk75MJo&7mM}9h{O?H-qKO4?OaA_2 zV60jA9&9+ZEdT*V zCjY=i7V9oLHAd}acT3oj)KbHCm(8mkPDu2;o^i>?_7x^ixw#O)RJ+hp(Kxs+)tAi39 za;jZxp54$8HAJBiUK>rCWijd-DIDhAwEt7^~-0}%C6b<+tBH~2-*)}A8^?ECDXvxQbA5DuV zJ)NXk+a}SbQ#{AR`iT3rD=P!HiLeDQvAJUPN;c4BiN!y5stQl?m~6>0UB%z1BeK{e zU3r1X=8n!JMHf>MA$H}11wJyohno*fGO-YGcTBuuvM#jiP=bcax*I)71_CmRX0SOn zI-1G*a~j+*uv*3B@JaDRnizu@e?W#XGlRHtCPR*7Umb?eKnWHUb5V;Uj8=-Azq7T% zi_xpo*zRakWZ$WXQ;MS7uAI54C?Rp2wYb1D$?(FX0tO}7Q%sEw7QQ^(OTKQblv$u~ zB=JMR4Gwiig^w%VIq-cg;NWLybKB9#u*?O;yUf6J2}&rDA5LCZNiI73x8V4hgSiT2 z6@62@e81{&q^eB5yhhsTh>V@;yo();8d)uqCnUCo%xy87p8MfJAwz@9B8R1-7Mu)8 z1_3r1i`lj*6$nh=W^lVu$I~Qz{jfq0ifypm7!CB?oW&9MuFp!5z7`|9yk*McQol!u zvr`Sbr)Ws7k*Vm@)R$j6QG-jJw`J2eNdtp*iHr;{e7Txh)EE>h*t(7`{1CvyCv^0( zo5Gc>_Alb-WeSL_OtK7Q7f(IKdl@3W!G2jAW(#RHc*FD*#te{9~? z?$B`JhnW2FMGYH6oBF4#6c*TV^d}vB5GY|%x58Rl|sI%aUEiXevud?ZKCqKVvP5$7W!A>HrElaOmP+;?T zxNb$|4hgpIzDEu=MpIpresys1cRXUcK4GtlgxjI2j87_jhaPUM(-Fu&H7Bq3fmfNa Is33zi04%B!Q2+n{ diff --git a/addons/smartphone/iui/selection.png b/addons/smartphone/iui/selection.png deleted file mode 100644 index 537e3f0b13ea422a5ac5487317872414d51574c1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 159 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!Qj#UE5hcO-X(i=}MX3yqDfvmM z3ZA)%>8U}fi7AzZCsS>JiX1&%978x{Sr2X$Jj5WtvT?p{@1r}0Gc6VGKL6Qv;l%Dc zTgw%X}gxBOXmxAbz1ds%&OUSwBY#<9&n!x%hW{an^L HB{Ts5+CMp^ diff --git a/addons/smartphone/iui/thumb.png b/addons/smartphone/iui/thumb.png deleted file mode 100644 index cefa8fc5e9db724b96d36a8df814ecdf85d05582..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2835 zcmV+u3+(iXP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSx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`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z0000!NklvM+ l_8Dya@)x$R&mAm#1^^7g31?suuiO9t002ovPDHLkV1oC&Lec;L diff --git a/addons/smartphone/iui/toggle.png b/addons/smartphone/iui/toggle.png deleted file mode 100644 index 3b62ebf26eaf8b21e341d413a6bd7cebcf5e7075..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2815 zcmVN`700009a7bBm000XU z000XU0RWnu7ytkYPiaF#P*7-ZbZ>KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o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iB}<+eS( diff --git a/addons/smartphone/iui/whiteButton.png b/addons/smartphone/iui/whiteButton.png deleted file mode 100644 index 5514b270053a41039e9e96ef8591796521ee0312..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 978 zcmV;@11}R*8aG1*L?d1O->_T@+D~u1Y}!yL0VI=|WL) zUB!jV?nDqFVEqcjNU7Q;7-O1A(q?8dlX-96yZ5-5q-Ly5=jDGlkNe*5{m(h~zIU$B ztvpZh0>hld-kwYNkqy3Ko}K-V%D(G)Z`(9CN35XDjL&xuH$Mh_XF(}UB(Tw%lJL(m|<1LC)=R9eoc+{eJ zNQwFm3ZOo%tAYib`a=Ya6#-N=4JiO(J0G^!!{zGLYx*)_QJi=^gsb6jQm_J=B!6wD zD%0-bC{8`;0(Q9FGD%w0qhLC5rQirtj;nGAUq!X!Dqd2rt6&lNPuJ>g7pqvn zrLC}dJQx&>lhnC-)EE`H)reg0T)izKV$|3W#Z{x-uG+(BCOFiFCeuK~FK_qmdcCS1 z>8qPuMY7^&mwW$}US2j%`m-B`MG8c7zyGk_Te#n^&tIcWp2Z*u%VSYOaGhsH3-(@~ zmGI-aXiXaBcJ0@|xe~1jq8+&sKXGKh9t>WX-&ip>B{%Tf)t#qUx1u_4ei+87UrHDfl6dXpw%k7!k~_oku06C3S8F^@(Qf&-L}LBUh<3`S518 zHslKoXby|rLrF-aMbk8j+ef37#cK7AgI*>xK3*KI+wDGQqnw)Edn!H~2Jv7#l+-p> zSL68q&WJ!JQ!W>a*5>p3XLojzq*mM7in|*4KU7;ZTp6~iyZ`_I07*qoM6N<$f;?{4 AHUIzs diff --git a/addons/smartphone/smartphone.addon.php b/addons/smartphone/smartphone.addon.php index 4974d9460..c1512037b 100644 --- a/addons/smartphone/smartphone.addon.php +++ b/addons/smartphone/smartphone.addon.php @@ -1,22 +1,19 @@ module_info, $output); + $oSmartphoneXE->procSmartPhone(); - $oSmartphoneXE = &smartphoneXE::getInstance(); - $oSmartphoneXE->setModuleInfo($this->module_info); - $oSmartphoneXE->setModuleInstance($this); - $oSmartphoneXE->display(); + Context::set('layout', 'none'); + Context::set('smart_content', $oSmartphoneXE->content); + Context::set('parent_url', $oSmartphoneXE->parent_url); + Context::set('prev_url', $oSmartphoneXE->prev_url); + Context::set('next_url', $oSmartphoneXE->next_url); + $this->setTemplatePath('addons/smartphone/tpl'); + $this->setTemplateFile('layout'); ?> diff --git a/addons/smartphone/tpl/images/btnMenu.png b/addons/smartphone/tpl/images/btnMenu.png new file mode 100755 index 0000000000000000000000000000000000000000..3c43a027c045bcd57dff6fce7b442197a37ce4ec GIT binary patch literal 1795 zcmW+%YcyP07C!gZTNQ;C3Xv*7#G=J(LVC2iI-L2IqbM{$l?|r`geQTeM zj*=T2*%$!;jKdVcv9xvFSzMIfbEHdO(T15Ji-vF&Oc05v zi#!8_EuoE`US7#YDAROQ>bQ*;LC$yIWcv=`p%KM^_6-p5VJGJ-`2<>bJT(eshgP{Z zHHl>YtwFWB5mT(n1AGrs={S&52g5kmk3=#{^ks&AvxT?7UBm!aVp;Wvktu2Eo8=#q zZp(|WQhLhTELZV>62=JgUAX#fPT|{G0^e7S7~LZz$BNtooQ#7GHp2d_Sa|bq@1R(@ z2LrMcWChhui3v(dsQ&2SnRxWD&1$L_GMy(G98WBr_RRZlXZO^s6gD-HXoNs94@|KL ziCq0~b^!lvR@%Du_X{XF#ke%ztujOPhQDI#7U>t9lInLAZ?9NuIc=6V%`kur&WVR^ z;LhrvvTeOA?%2ZkETOut@h#U^KFUpFH+Q%EGQhSm;US9&EUp9(56(xXkF7Vz{OqVZ z&zhk?RKlwd#gaqKfyKUAIM>%{C>aUSSh76{seG~~u z5ZE5v$0x%jF@rjV1f`yGPe)kkS)l=rN-rt{D?~8Rc8QUh$Bd8*h8)ozU1$+A){$Z{ zqDKNxtP2m>(LHMP0QtnzLge}orAdB8`1I;4ui`Ww0H4yeWq^j18 z8*|zL1Ij+oxvSoUN*UdTbt_Q{rW#$9c6NNR?<4I|@-h~L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KVlsbch6U~)2{Z*uTm5SG5G^tRzqjUk7B{k;LGR0QkoDI%?9)~DWc)iBl! zuiWJuASs=F10G45*SA}fx9`F2NxRdpXFA#2T%dO16)m(jusfd8%A@hR2ksN?8|OO> zPiz_Tk+eH484ECHAj6e18aTQT)(w2U)gOPuxDFb*h3}r*U*Y&uc6z~lgm3}E1m}s|>~FsHp!^Yl$TjQ2&xfgs{}22|GB^ML literal 0 HcmV?d00001 diff --git a/addons/smartphone/tpl/images/btnPrev.png b/addons/smartphone/tpl/images/btnPrev.png new file mode 100755 index 0000000000000000000000000000000000000000..085d4294239547ea36b485acee650671781d28ad GIT binary patch literal 1863 zcmX9eo^!}LnW@fE#*0;aedv;Yq zyu{Ad)fNC?7cGrSq~hY)!9=Nfr{K@SRIthrtrY=qx+m27zzb^clD{T7e|=7R{vKJL z9Ei5%q{;cw*|H3IqFlDEXxH!ZZ~*9!qN7CrC>%-)-}`p8jz9^JR%A9m)m{dCBALr2 zkK0%vREZmcLqgJQQ7gw=0xuI*02${_d>Pt}iR1PF>Z}uo{U;e!#3Sg^I%+GXiz^p5 zHgZMb>c~1b#8Fro1UkSr>K;gzMZxupS8zqn=wya@T4nPG^SKZ(`OcL~dj;uY5Ziy@{FH)#)!ufI%NpS29f`2(;CslE zxeI}4EAkR;8|2}n054qW8N6x3=dQ1|g&+@i@pZkM_C5^Wb?xNYLA?MrHWFwYTRH+9 zg>igIS--v$d#x9!4c{C?i9y;ABWDXasM%62G|o#u=AByaw8!+)rH#?-+{FYcDaGMe9@k=+)zeS878`&B}YZa(dHQ)w52ztGx~KJlUGb$6})LkcTP8L!z*S zBUie~+O#Qr$wjkL0#g(2VpZW`RAs$MK5li|!9LI6dtwptl;v zPwR)#aRXktfoKs%B1yT>#Fz@tTS0N60f!^MS}TYro%~))XqwfO!vn}NdYF%c#Q9oZ;`oma=v>)*pk(`QM}K5aJ=zJO)b9#S1EGo&xT zrv<88=G3zQ%IuGrfxMvrvs_eXp|4 zm)tsK(BtIRt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q7xzuM0|E?D ze7(2VS_3$3u`ZpdzmMVg!_G8JlW0aR&at^B$4)=Md05(MWKHnZKgXCKq3Ye@{tCZL zH$rj(xOz|8Z?U!mDRQMErRD>hX3Q^hDXaJUDVO*^LO*>!v{=QN$n?|5^wyG;wFqd0 z8T{r|21@p0lrRy$La6qv*dD;k2H~s;TtlUKk#|8MhUUUEWj+LjPGx(g=5F5G{<~F; jj)I%Z3tBJ41P~4IzD+d!lrW_sd=NxO?i4kI%TD|sb3!^l literal 0 HcmV?d00001 diff --git a/addons/smartphone/iui/listArrow.png b/addons/smartphone/tpl/images/listArrow.png similarity index 100% rename from addons/smartphone/iui/listArrow.png rename to addons/smartphone/tpl/images/listArrow.png diff --git a/addons/smartphone/iui/listGroup.png b/addons/smartphone/tpl/images/listGroup.png similarity index 100% rename from addons/smartphone/iui/listGroup.png rename to addons/smartphone/tpl/images/listGroup.png diff --git a/addons/smartphone/iui/pinstripes.png b/addons/smartphone/tpl/images/pinstripes.png similarity index 100% rename from addons/smartphone/iui/pinstripes.png rename to addons/smartphone/tpl/images/pinstripes.png diff --git a/addons/smartphone/tpl/images/titlebar.png b/addons/smartphone/tpl/images/titlebar.png new file mode 100755 index 0000000000000000000000000000000000000000..ddc3cd9b8279a8956f8d6e3da843af383d322110 GIT binary patch literal 332 zcmeAS@N?(olHy`uVBq!ia0vp^j6kf-!2~4D97_9u6id3JuOkD)`V;1?T`z%r$r9Iy zlHmNblJdl&R0hYC{G?O`&)mfH)S%SFl*+=BsWw1G_dH!3Ln>}1SyX?ub6_yEt^3EP z&@e+n;vX}Mz~%k_|1&amyu82vKLaDnA`tWce-JYXD9HiD0{@vg6c*gDZ(vCJ_4~cO z14H8vpzI@{Oa~i>f`Gh2gF{XO15+XppE72Eh)%F@U|>A@pAl&M`S^MUCXN&~pgsc# zW;A35GBSYbXYvX-C`bVfr~z^=0!=*xwbw%iD453pG+r9WNCJw29cF*H9;k35(2boB j?SY0c-sE9mWMlXeR`6o^+1VyQpE7v5`njxgN@xNAHz;0! literal 0 HcmV?d00001 diff --git a/addons/smartphone/tpl/layout.html b/addons/smartphone/tpl/layout.html index 41193bc91..918b77ede 100644 --- a/addons/smartphone/tpl/layout.html +++ b/addons/smartphone/tpl/layout.html @@ -1,55 +1,19 @@ - - - - - - + + - {Context::getBrowserTitle()} - - +
    +

    {Context::getBrowserTitle()}

    +
    - - - - -
    -

    - - Search -
    - -
      -
    • - {$module_info->description} - Powered by Xpress Engine -
    • - -
    • View - -
    • 이 모듈은 smartphoneView를 지원하지 않습니다.
    • - -
    • Menu
    • -
    - - - - - +{$smart_content} +
    + + Top + + + Prev + Next + + Menu +
    diff --git a/addons/smartphone/tpl/smartphone.css b/addons/smartphone/tpl/smartphone.css new file mode 100644 index 000000000..fac55d404 --- /dev/null +++ b/addons/smartphone/tpl/smartphone.css @@ -0,0 +1,202 @@ +body { + margin: 0; + padding:0; + font-family: Helvetica; + background: #E6E6E6 url(./images/pinstripes.png); + color: #000000; + overflow-x: hidden; + -webkit-user-select: none; + -webkit-text-size-adjust: none; + width:100%; +} + +.smartPhoneTitleBar { + border-bottom: 1px solid #2d3642; + border-top: 1px solid #6d84a2; + height: 43px; + overflow:hidden; + background:#485567 url(./images/titlebar.png) repeat-x left top; + margin-bottom:20px; + + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; +} + +.smartPhoneTitleBar h1 { + white-space:nowrap; + overflow: hidden; + + color: #FFFFFF; + font-size: 20px; + font-weight: bold; + padding:8px 10px; + margin:0; + + text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; + text-overflow: ellipsis; +} + +.smartPhoneContent { + position:absolute; + top:55px; + bottom:55px; + left:10px; + right:10px; + z-index:450; + overflow-x:hidden; + overflow-y:auto; + border: 1px solid #999999; + padding: 20px; + background-color:#fff; + box-sizing: border-box; + -webkit-box-sizing: border-box; + -webkit-border-radius: 8px; +} + +.smartPhoneToolBar { + z-index:9999; + width:100%; + border-bottom: 1px solid #2d3642; + border-top: 1px solid #6d84a2; + height: 43px; + overflow:hidden; + background:#485567 url(./images/titlebar.png) repeat-x left top; + position:absolute; + bottom:0; + white-space:nowrap; + text-align:center; + + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; +} + +.smartPhoneBtn { + width:43px; + height:43px; + margin-left:8px; + border:0; +} + +.smartPhoneList { + position:absolute; + overflow-x:hidden; + overflow-y:auto; + background-color:#fff; + z-index:500; + left:0; + right:0; + top:43px; + bottom:43px; + padding:0; + margin:0; +} + +.smartPhoneList ul { + padding:0; + margin:0; + left:0; + right:0; + top:43px; + bottom:43px; +} + +.smartPhoneList li { + list-style:none; + font-size:18px; + font-weight:bold; + padding:10px; + border-bottom:1px solid #ccc; +} + +.smartPhoneList li a { + text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; + text-overflow: ellipsis; + color:#000; + text-decoration:none; + display:block; + width:100%; +} + +.smartPhoneList li.title { + position: relative; + top: -1px; + margin-bottom: -2px; + border-top: 1px solid #7d7d7d; + border-bottom: 1px solid #999999; + padding: 1px 10px; + background: url(./images/listGroup.png) repeat-x; + font-size: 17px; + font-weight: bold; + text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0; + color: #FFFFFF; +} + +.smartPhoneList li.selected { + background-color:#ddd; +} + +.smartPhoneList li.selected * { + color:#fff; +} + +.smartPhoneContent div.info { + font-size:13px; + padding-bottom:10px; + border-bottom:1px solid #444; + overflow:hidden; + *zoom:1; +} + +.smartPhoneContent div.info .author { + font-weight:bold; + float:left; +} + +.smartPhoneContent div.info .date { + font-size:11px; + float:right; +} + +.smartPhoneContent div.link { + margin-top:10px; + border-top:1px solid #444; +} + +.smartPhoneContent div.link a { + display:block; + padding:5px 0; + font-size:13px; + text-decoration:none; + color:#000; +} + +.smartPhoneList li a { + background:transparent url(./images/listArrow.png) no-repeat scroll right center; +} + +.smartPhoneList li.noArrow a { + background:none !important; +} + +.smartPhoneList li.item img.thumbnail { + margin:0 10px 0 0; + padding:0; +} + +.smartPhoneList li.item span.title, .smartPhoneList li.item span.title div { + font-size:15px; + font-weight:normal; + display:block; +} + +.smartPhoneList li.item span.info { + font-size:10px; + font-weight:normal; + color:#bbb; + display:block; + margin-top:2px; + letter-spacing:0px; +} + diff --git a/addons/smartphone/tpl/smartphone.js b/addons/smartphone/tpl/smartphone.js new file mode 100644 index 000000000..611c93280 --- /dev/null +++ b/addons/smartphone/tpl/smartphone.js @@ -0,0 +1,93 @@ +var xeSmartMenu = null; +function showXEMenu() { + if(!xeSmartMenu) { + + xeSmartMenu = jQuery('
    ') + .attr("className","smartPhoneList") + .css('display','none'); + + jQuery(document.body).append(xeSmartMenu); + + xeSmartMenu.slideIn = function(step) { + var w = this.width() + Math.pow(step,2)*30; + + if(w>jQuery(document).width()) { + this.css({left:0,right:0,display:'block'}); + this.width(''); + } else { + this.width(w); + var o = parseInt(jQuery(document).width/w,10)/10; + if(o>1) o = 1; + setTimeout(function() { xeSmartMenu.slideIn(step+1); }, 50); + } + } + + xeSmartMenu.slideOut = function(step) { + var l = parseInt(this.css('left'),10) + Math.pow(step,2)*30; + + if(l>jQuery('.smartPhoneContent').width()) { + this.css({display:'none','left':''}); + } else { + var o = parseInt(jQuery(document).width/l,10)/10; + if(o<0) o = 0; + this.css('left',l+'px'); + setTimeout(function() { xeSmartMenu.slideOut(step+1); }, 50); + } + } + } + + if(xeSmartMenu.css('display')=='none' && typeof(xeMenus)!='undefined') { + var menu = findSmartNode(xeMenus); + if(!menu) menu = xeMenus; + var html = '
    • Top page
    • '; + for(var text in menu) { + if(!text) continue; + var url = menu[text].url; + var href = ''; + if(/^[a-z0-9_]+$/i.test(url)) { + href = request_uri.setQuery('mid',url); + if(href.indexOf('?')>-1) href += '&smartphone=true'; + else href += '?smartphone=true'; + } + else href = url; + if(typeof(xeVid)!='undefined') { + if(href.indexOf('?')>-1) href += '&vid='+xeVid; + else href += '?vid='+xeVid; + } + if(current_mid == url) html += '
    • '; + else html += '
    • '; + html += ''+text+'
    • '; + } + html += '
    '; + + jQuery(xeSmartMenu).html(html); + jQuery(xeSmartMenu).css({ + width:'1px', + right:'0', + top:'43px', + bottom:'43px', + display:'block', + padding:0 + }); + xeSmartMenu.slideIn(0); + } else { + xeSmartMenu.slideOut(0); + } +} + +function findSmartNode(nodes) { + if(typeof(current_mid)=='undefined') return; + var mid = current_mid; + if(location.href.indexOf(mid)<0) mid = null; + for(var text in nodes) { + if(!text) continue; + if(nodes[text].url == mid) { + if(nodes[text].childs) return nodes[text].childs; + } + if(nodes[text].childs && nodes[text].childs.length) { + var n = findSmartNode(nodes[text].childs); + if(n) return n; + } + } + return null; +} diff --git a/modules/board/board.smartphone.php b/modules/board/board.smartphone.php index 9ce5b29b4..49c15813f 100644 --- a/modules/board/board.smartphone.php +++ b/modules/board/board.smartphone.php @@ -1,67 +1,44 @@ grant->list || $this->module_info->consultation == 'Y') return $oIPhone->setContent(Context::getLang('msg_not_permitted')); - $act = Context::get('act'); - if(method_exists($this, $act)) - { - $this->{$act}(); - } - else - { - $document_srl = Context::get('document_srl'); - if($document_srl) - return $this->dispContent($document_srl); - else - return $this->dispList(); - } - } - function dispContent($document_srl) - { + function procSmartPhone(&$oSmartPhone) { $oDocumentModel = &getModel('document'); - $oDocument = $oDocumentModel->getDocument($document_srl); + + if(!$this->grant->list || $this->module_info->consultation == 'Y') return $oSmartPhone->setContent(Context::getLang('msg_not_permitted')); + + $oDocument = Context::get('oDocument'); if($oDocument->isExists()) { - // 권한 확인 - if(!$this->grant->view) return Context::getLang('msg_not_permitted'); - - Context::setBrowserTitle($oDocument->getTitleText()); - Context::set('oDocument', $oDocument); - $oTemplate = new TemplateHandler(); - $content = $oTemplate->compile($this->module_path.'tpl/smartphone', "view_document"); - return $content; - } - else - { - return $this->dispList(); + if(Context::get('comment') == 'true' && $oDocument->getCommentCount()) { + Context::set('comment_list', $oDocument->getComments()); + $comment_page_navigation = $oDocument->comment_page_navigation; + if($comment_page_navigation) { + if($comment_page_navigation->cur_page > $comment_page_navigation->first_page) $oSmartPhone->setPrevUrl(getUrl('cpage',$comment_page_navigation->cur_page-1)); + if($comment_page_navigation->cur_page < $comment_page_navigation->last_page) $oSmartPhone->setNextUrl(getUrl('cpage',$comment_page_navigation->cur_page+1)); + } + $oSmartPhone->setParentUrl(getUrl('comment','')); + $tpl_file = 'comment_list'; + } else { + $oSmartPhone->setParentUrl(getUrl('document_srl','')); + $tpl_file = 'view_document'; + } + } else { + $page_navigation = Context::get('page_navigation'); + if($page_navigation) { + if($page_navigation->cur_page > $page_navigation->first_page) $oSmartPhone->setPrevUrl(getUrl('page',$page_navigation->cur_page-1)); + if($page_navigation->cur_page < $page_navigation->last_page) $oSmartPhone->setNextUrl(getUrl('page',$page_navigation->cur_page+1)); + } + $tpl_file = 'list'; } - } - - function dispList() - { - if(!$this->grant->list || $this->module_info->consultation == 'Y') return Context::getLang('msg_not_permitted'); - $oDocumentModel = &getModel('document'); - $args->module_srl = $this->module_srl; - $args->page = Context::get('page');; - $args->list_count = 8; - $args->sort_index = $this->module_info->order_target?$this->module_info->order_target:'list_order'; - $args->order_type = $this->module_info->order_type?$this->module_info->order_type:'asc'; - $output = $oDocumentModel->getDocumentList($args, $this->except_notice); - $document_list = $output->data; - Context::set('document_list', $document_list); - $page_navigation = $output->page_navigation; - Context::set('page_navigation',$page_navigation); $oTemplate = new TemplateHandler(); - $content = $oTemplate->compile($this->module_path.'tpl/smartphone', "list"); - return $content; + $content = $oTemplate->compile($this->module_path.'tpl/smartphone', $tpl_file); + $oSmartPhone->setContent($content); } } ?> diff --git a/modules/board/tpl/smartphone/comment_list.html b/modules/board/tpl/smartphone/comment_list.html new file mode 100644 index 000000000..a3a692a5e --- /dev/null +++ b/modules/board/tpl/smartphone/comment_list.html @@ -0,0 +1,14 @@ +
      +
    • {$oDocument->getCommentCount()} comments, {$oDocument->comment_page_navigation->cur_page}/{$oDocument->comment_page_navigation->last_page} pages
    • + + +
    • + {$val->getContent(false)} + + {$val->getRegdate()} + [{$val->getNickName()}] + +
    • + + +
    diff --git a/modules/board/tpl/smartphone/list.html b/modules/board/tpl/smartphone/list.html index fe5e357fb..f96e197ac 100644 --- a/modules/board/tpl/smartphone/list.html +++ b/modules/board/tpl/smartphone/list.html @@ -1,24 +1,17 @@ -
    diff --git a/modules/homepage/homepage.smartphone.php b/modules/homepage/homepage.smartphone.php new file mode 100644 index 000000000..045bdd983 --- /dev/null +++ b/modules/homepage/homepage.smartphone.php @@ -0,0 +1,16 @@ +compile($this->module_path.'tpl', 'smartphone'); + $oSmartPhone->setContent($content); + } + } +?> diff --git a/modules/homepage/tpl/smartphone.html b/modules/homepage/tpl/smartphone.html new file mode 100644 index 000000000..ac6154f8a --- /dev/null +++ b/modules/homepage/tpl/smartphone.html @@ -0,0 +1,18 @@ + diff --git a/modules/page/page.smartphone.php b/modules/page/page.smartphone.php new file mode 100644 index 000000000..c41c798e0 --- /dev/null +++ b/modules/page/page.smartphone.php @@ -0,0 +1,28 @@ +grant->access) return $oSmartPhone->setContent(Context::getLang('msg_not_permitted')); + + // 위젯을 1렬로 정렬 + preg_match_all('!(]*)(widget=)([^\>]*?)(\>)!is', $this->module_info->content, $matches); + $content = ''; + for($i=0,$c=count($matches[0]);$i<$c;$i++) { + $content .= preg_replace('/ style\=\"([^\"]+)\" /i',' style="overflow:hidden;clear:both;margin:0 0 20px 0; _margin-right:10px;" ',$matches[0][$i])."\n\n"; + } + Context::set('content', $content); + + $oTemplate = new TemplateHandler(); + $content = $oTemplate->compile($this->module_path.'tpl','smartphone'); + + $oSmartPhone->setContent($content); + } + } +?> diff --git a/modules/page/tpl/smartphone.html b/modules/page/tpl/smartphone.html new file mode 100644 index 000000000..d228f8dd5 --- /dev/null +++ b/modules/page/tpl/smartphone.html @@ -0,0 +1,4 @@ +
    + {$content} +
    + diff --git a/modules/planet/planet.smartphone.php b/modules/planet/planet.smartphone.php new file mode 100644 index 000000000..a995b16b2 --- /dev/null +++ b/modules/planet/planet.smartphone.php @@ -0,0 +1,21 @@ +setPrevUrl(getUrl('date',$prev_date, 'document_srl','')); + $next_date = Context::get('next_date'); + if($next_date) $oSmartPhone->setNextUrl(getUrl('date',$next_date, 'document_srl','')); + + $oTemplate = new TemplateHandler(); + $content = $oTemplate->compile($this->module_path.'tpl', 'smartphone'); + $oSmartPhone->setContent($content); + } + } +?> diff --git a/modules/planet/tpl/smartphone.html b/modules/planet/tpl/smartphone.html new file mode 100644 index 000000000..0745453a6 --- /dev/null +++ b/modules/planet/tpl/smartphone.html @@ -0,0 +1,30 @@ + From 8028daec031cfc7a01f905912f79b515502eb4a5 Mon Sep 17 00:00:00 2001 From: ChanMyeong Date: Wed, 6 May 2009 08:39:23 +0000 Subject: [PATCH 041/178] =?UTF-8?q?=EC=97=90=EB=94=94=ED=84=B0=20=EA=B0=84?= =?UTF-8?q?=EA=B2=A9=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6284 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../editor/skins/xpresseditor/css/default.css | 814 +++++++++--------- 1 file changed, 407 insertions(+), 407 deletions(-) diff --git a/modules/editor/skins/xpresseditor/css/default.css b/modules/editor/skins/xpresseditor/css/default.css index df73a3cac..06b47fdb6 100644 --- a/modules/editor/skins/xpresseditor/css/default.css +++ b/modules/editor/skins/xpresseditor/css/default.css @@ -1,407 +1,407 @@ -@charset "utf-8"; - -/* TextEditor */ -.xeTextEditor {padding:10px; overflow:hidden; margin:0 0 10px 0;} -.xeTextEditor textarea { display:block; margin:0; padding:2px; } -.xeTextEditor.black textarea { color:#fff; background-color:#000;} - -/* Type Selector */ -.xpress-editor *{margin:0; padding:0; font-style:normal; font-size:12px; } -.xpress-editor img, -.xpress-editor fieldset, -.xpress-editor button{ border:0;} -.xpress-editor button{ background:none; background-repeat:no-repeat; cursor:pointer; _cursor /**/:hand;} -.xpress-editor button *{ visibility:hidden;} -.xpress-editor legend{ position:absolute; width:0; height:0; font-size:0; line-height:0; overflow:hidden; visibility:hidden;} -.xpress-editor label{ cursor:pointer; _cursor /**/:hand;} -.xpress-editor hr{ display:none;} -.xpress-editor li{list-style:none;} - -/* Layout Selector */ -.xpress-editor{ position:relative; background:transparent;} -.xpress-editor #smart_content{ position:relative; clear:both; margin:0 0 10px 0; border:1px solid #c2c2c2; *zoom:1; z-index:5} -.xpress-editor #smart_footer{ position:relative; text-align:center; padding:10px 0;} - -/* Footer */ -.xpress-editor #smart_footer *{ vertical-align:top;} -.xpress-editor #smart_footer button{ position:relative; width:67px; height:25px; margin:0 5px 0 0;} -.xpress-editor #smart_footer button.save_temp{ background:url(../img/btn_save_temp.gif) no-repeat;} -.xpress-editor #smart_footer button.preview{ background:url(../img/btn_preview.gif) no-repeat;} -.xpress-editor #smart_footer input{ margin:0;} -.xpress-editor #smart_footer input.reset{ width:67px; height:25px; border:0; background:url(../img/btn_cancel.gif) no-repeat; cursor:pointer; margin-left:5px;} - -/* Content > Input Area */ -.xpress-editor a.skip{ position:relative; display:block; top:0; right:0; width:0; height:0; overflow:hidden; clear:both; zoom:1} -.xpress-editor a.skip:hover, -.xpress-editor a.skip:active, -.xpress-editor a.skip:focus{ position:relative; display:block; padding:5px; right:0; z-index:60; width:auto; height:auto; text-align:right; white-space:nowrap; color:#000; text-decoration:none; letter-spacing:-1px; _zoom:1;} - -.xpress-editor .input_area{ position:relative; margin:10px; z-index:30; *zoom:1; height:400px;} -.xpress-editor .input_area iframe, -.xpress-editor .input_area textarea{ display:block; width:100%; position:relative; height:100%; border:0; overflow:auto;} -.xpress-editor .input_area iframe{} -.xpress-editor .input_area textarea{ *margin:0 -10px; _margin-bottom:-2px;} -.xpress-editor .input_area textarea.blind{ display:none;} -.xpress-editor .input_control{ position:relative; display:block; width:100%; clear:both; text-align:center; background:#fbfbfb url(../img/btn_expand.gif) no-repeat center center; cursor:n-resize;} -.xpress-editor .input_control span{ display:block; height:10px; border-top:1px solid #dfdfdf; visibility:visible; font-size:0; line-height:200%; white-space:nowrap; color:#fff;} -.xpress-editor.black .input_control { background:#111 url(../img/btn_expand.black.gif) no-repeat center center;} -.xpress-editor.black .input_control span{ border-top:1px solid #333; color:#000;} - -.xpress-editor .tool{ position:relative; overflow:visible; padding:5px 10px 6px 10px; *padding:5px 10px 8px 10px; z-index:40; clear:both; background:#f8f8f8 url(../img/bg_tool.gif) repeat-x left bottom; border:0; *zoom:1;} -.xpress-editor.black .tool{ background:#111 url(../img/bg_tool.black.gif) repeat-x left bottom; } - -.xpress-editor .tool:after{ content:""; display:block; clear:both;} -.xpress-editor .tool ul{ position:relative; overflow:visible; float:left; margin:0 5px 2px 0; z-index:2;} -.xpress-editor .tool ul.action{ width:43px;} -.xpress-editor .tool ul.type{ width:auto; white-space:nowrap;} -.xpress-editor .tool ul.style{ width:169px; z-index:6;} -.xpress-editor .tool ul.paragraph{ width:169px; z-index:5;} -.xpress-editor .tool ul.extra1{ width:90px; z-index:4;} -.xpress-editor .tool ul.table{ width:85px; z-index:3;} -.xpress-editor .tool ul.extra2{ width:auto; z-index:2;} -.xpress-editor .tool ul.extra3{ float:right; width:auto; z-index:1; margin-right:1px;} -.xpress-editor .tool ul.extra3 li{ margin-right:4px;} -.xpress-editor .tool li{ position:relative; float:left;} -.xpress-editor .tool li button{ width:21px; height:21px; background:url(../img/btn_set.gif) no-repeat 0 0; vertical-align:top;} -.xpress-editor.black .tool li button{ width:21px; height:21px; background:url(../img/btn_set.black.gif) no-repeat 0 0; vertical-align:top;} -.xpress-editor .tool li button span{ position:absolute; top:0; left:0; width:0; height:0; overflow:hidden; visibility:hidden;} - -.xpress-editor .tool li.extensions span.exButton, -.xpress-editor .tool li.extensions span.exButton button{ float:left; position:relative; display:inline-block; width:auto; background:url(../img/btn_extension.gif) no-repeat left top;} -.xpress-editor .tool li.extensions span.exButton{ margin-right:18px;} -.xpress-editor .tool li.extensions span.exButton button{ left:18px; height:21px; background-position:right top; padding:0 4px 0 0; font:11px/21px Tahoma, Sans-serif; text-align:left;} -.xpress-editor.black .tool li.extensions span.exButton, -.xpress-editor.black .tool li.extensions span.exButton button{ color:#fff; background-image:url(../img/btn_extension.black.gif); } - -.xpress-editor .tool li.html span, -.xpress-editor .tool li.html span button, -.xpress-editor .tool li.preview span, -.xpress-editor .tool li.preview span button{ float:left; position:relative; display:inline-block; width:auto; height:auto; visibility:visible; background:url(../img/btn_set_blank.gif) no-repeat 0 0; white-space:nowrap;} -.xpress-editor.black .tool li.html span, -.xpress-editor.black .tool li.html span button, -.xpress-editor.black .tool li.preview span, -.xpress-editor.black .tool li.preview span button{ color:#fff;background-image:url(../img/btn_set_blank.black.gif); } - -.xpress-editor .tool li.html span, -.xpress-editor .tool li.preview span{ margin-right:2px; background-position:left top;} -.xpress-editor .tool li.html span button, -.xpress-editor .tool li.preview span button{ left:2px; height:21px; background-position:right top; font:11px/21px Tahoma, Sans-serif; padding:0 4px;} - -.xpress-editor .tool ul.type li{ float:none; display:inline; *top:1px;} -.xpress-editor .tool ul.type li select{ height:21px; width:62px;} -.xpress-editor.black .tool ul.type li select{ color:#fff; background-color:#000; } - -/* Content > Tool > Button Default */ -.xpress-editor .tool li.undo button{ width:22px; background-position:0 0;} -.xpress-editor .tool li.redo button{ background-position:-22px 0;} -.xpress-editor .tool li.bold button{ width:22px; background-position:-43px 0;} -.xpress-editor .tool li.underline button{ background-position:-65px 0;} -.xpress-editor .tool li.italic button{ background-position:-86px 0;} -.xpress-editor .tool li.del button{ background-position:-107px 0;} -.xpress-editor .tool li.fcolor button{ background-position:-128px 0;} -.xpress-editor .tool li.bcolor button{ background-position:-149px 0;} -.xpress-editor .tool li.sup button{ background-position:-170px 0;} -.xpress-editor .tool li.sub button{ background-position:-191px 0;} -.xpress-editor .tool li.left button{ width:22px; background-position:-212px 0;} -.xpress-editor .tool li.center button{ background-position:-234px 0;} -.xpress-editor .tool li.right button{ background-position:-255px 0;} -.xpress-editor .tool li.justify button{ background-position:-276px 0;} -.xpress-editor .tool li.ol button{ background-position:-297px 0;} -.xpress-editor .tool li.ul button{ background-position:-318px 0;} -.xpress-editor .tool li.outdent button{ background-position:-339px 0;} -.xpress-editor .tool li.indent button{ background-position:-360px 0;} -.xpress-editor .tool li.blockquote button{ width:22px; background-position:-381px 0;} -.xpress-editor .tool li.url button{ width:26px; background-position:-403px 0;} -.xpress-editor .tool li.character button{ background-position:-429px 0;} -.xpress-editor .tool li.find button{ background-position:-450px 0;} -.xpress-editor .tool li.table button{ width:22px; background-position:-471px 0;} -.xpress-editor .tool li.merge button{ background-position:-493px 0;} -.xpress-editor .tool li.splitCol button{ background-position:-514px 0;} -.xpress-editor .tool li.splitRow button{ background-position:-535px 0;} -.xpress-editor .tool li.extensions span{ background-position:0 0;} -.xpress-editor .tool li.extensions span button{ background-position:right 0;} -.xpress-editor .tool li.html span{ background-position:0 0;} -.xpress-editor .tool li.html span button{ background-position:right 0;} -.xpress-editor .tool li.preview span{ background-position:0 0;} -.xpress-editor .tool li.preview span button{ background-position:right 0;} - -/* Content > Tool > Button Hover */ -.xpress-editor .tool li.undo button.hover{ width:22px; background-position:0 -21px;} -.xpress-editor .tool li.redo button.hover{ background-position:-22px -21px;} -.xpress-editor .tool li.bold button.hover{ width:22px; background-position:-43px -21px;} -.xpress-editor .tool li.underline button.hover{ background-position:-65px -21px;} -.xpress-editor .tool li.italic button.hover{ background-position:-86px -21px;} -.xpress-editor .tool li.del button.hover{ background-position:-107px -21px;} -.xpress-editor .tool li.fcolor button.hover{ background-position:-128px -21px;} -.xpress-editor .tool li.bcolor button.hover{ background-position:-149px -21px;} -.xpress-editor .tool li.sup button.hover{ background-position:-170px -21px;} -.xpress-editor .tool li.sub button.hover{ background-position:-191px -21px;} -.xpress-editor .tool li.left button.hover{ width:22px; background-position:-212px -21px;} -.xpress-editor .tool li.center button.hover{ background-position:-234px -21px;} -.xpress-editor .tool li.right button.hover{ background-position:-255px -21px;} -.xpress-editor .tool li.justify button.hover{ background-position:-276px -21px;} -.xpress-editor .tool li.ol button.hover{ background-position:-297px -21px;} -.xpress-editor .tool li.ul button.hover{ background-position:-318px -21px;} -.xpress-editor .tool li.outdent button.hover{ background-position:-339px -21px;} -.xpress-editor .tool li.indent button.hover{ background-position:-360px -21px;} -.xpress-editor .tool li.blockquote button.hover{ width:22px; background-position:-381px -21px;} -.xpress-editor .tool li.url button.hover{ width:26px; background-position:-403px -21px;} -.xpress-editor .tool li.character button.hover{ background-position:-429px -21px;} -.xpress-editor .tool li.find button.hover{ background-position:-450px -21px;} -.xpress-editor .tool li.table button.hover{ width:22px; background-position:-471px -21px;} -.xpress-editor .tool li.merge button.hover{ background-position:-493px -21px;} -.xpress-editor .tool li.splitCol button.hover{ background-position:-514px -21px;} -.xpress-editor .tool li.splitRow button.hover{ background-position:-535px -21px;} -.xpress-editor .tool li.extensions span.hover{ background-position:0 -21px;} -.xpress-editor .tool li.extensions span.hover button{ background-position:right -21px;} -.xpress-editor .tool li.html span.hover{ background-position:0 -21px;} -.xpress-editor .tool li.html span.hover button{ background-position:right -21px;} -.xpress-editor .tool li.preview span.hover{ background-position:0 -21px;} -.xpress-editor .tool li.preview span.hover button{ background-position:right -21px;} - -/* Content > Tool > Button Active */ -.xpress-editor .tool li.undo button.active{ width:22px; background-position:0 -42px;} -.xpress-editor .tool li.redo button.active{ background-position:-22px -42px;} -.xpress-editor .tool li.bold button.active{ width:22px; background-position:-43px -42px;} -.xpress-editor .tool li.underline button.active{ background-position:-65px -42px;} -.xpress-editor .tool li.italic button.active{ background-position:-86px -42px;} -.xpress-editor .tool li.del button.active{ background-position:-107px -42px;} -.xpress-editor .tool li.fcolor button.active{ background-position:-128px -42px;} -.xpress-editor .tool li.bcolor button.active{ background-position:-149px -42px;} -.xpress-editor .tool li.sup button.active{ background-position:-170px -42px;} -.xpress-editor .tool li.sub button.active{ background-position:-191px -42px;} -.xpress-editor .tool li.left button.active{ width:22px; background-position:-212px -42px;} -.xpress-editor .tool li.center button.active{ background-position:-234px -42px;} -.xpress-editor .tool li.right button.active{ background-position:-255px -42px;} -.xpress-editor .tool li.justify button.active{ background-position:-276px -42px;} -.xpress-editor .tool li.ol button.active{ background-position:-297px -42px;} -.xpress-editor .tool li.ul button.active{ background-position:-318px -42px;} -.xpress-editor .tool li.outdent button.active{ background-position:-339px -42px;} -.xpress-editor .tool li.indent button.active{ background-position:-360px -42px;} -.xpress-editor .tool li.blockquote button.active{ width:22px; background-position:-381px -42px;} -.xpress-editor .tool li.url button.active{ width:26px; background-position:-403px -42px;} -.xpress-editor .tool li.character button.active{ background-position:-429px -42px;} -.xpress-editor .tool li.find button.active{ background-position:-450px -42px;} -.xpress-editor .tool li.table button.active{ width:22px; background-position:-471px -42px;} -.xpress-editor .tool li.merge button.active{ background-position:-493px -42px;} -.xpress-editor .tool li.splitCol button.active{ background-position:-514px -42px;} -.xpress-editor .tool li.splitRow button.active{ background-position:-535px -42px;} -.xpress-editor .tool li.extensions span.active{ background-position:0 -42px;} -.xpress-editor .tool li.extensions span.active button{ background-position:right -42px;} -.xpress-editor .tool li.html span.active{ background-position:0 -42px;} -.xpress-editor .tool li.html span.active button{ background-position:right -42px;} -.xpress-editor .tool li.preview span.active{ background-position:0 -42px;} -.xpress-editor .tool li.preview span.active button{ background-position:right -42px;} - -/* Content > Tool > Button Off */ -.xpress-editor .tool.off li.undo button, -.xpress-editor .tool li.undo button.off{ width:22px; background-position:0 -63px;} -.xpress-editor .tool.off li.redo button, -.xpress-editor .tool li.redo button.off{ background-position:-22px -63px;} -.xpress-editor .tool.off li.bold button{ width:22px; background-position:-43px -63px;} -.xpress-editor .tool.off li.underline button{ background-position:-65px -63px;} -.xpress-editor .tool.off li.italic button{ background-position:-86px -63px;} -.xpress-editor .tool.off li.del button{ background-position:-107px -63px;} -.xpress-editor .tool.off li.fcolor button{ background-position:-128px -63px;} -.xpress-editor .tool.off li.bcolor button{ background-position:-149px -63px;} -.xpress-editor .tool.off li.sup button{ background-position:-170px -63px;} -.xpress-editor .tool.off li.sub button{ background-position:-191px -63px;} -.xpress-editor .tool.off li.left button{ width:22px; background-position:-212px -63px;} -.xpress-editor .tool.off li.center button{ background-position:-234px -63px;} -.xpress-editor .tool.off li.right button{ background-position:-255px -63px;} -.xpress-editor .tool.off li.justify button{ background-position:-276px -63px;} -.xpress-editor .tool.off li.ol button{ background-position:-297px -63px;} -.xpress-editor .tool.off li.ul button{ background-position:-318px -63px;} -.xpress-editor .tool.off li.outdent button{ background-position:-339px -63px;} -.xpress-editor .tool.off li.indent button{ background-position:-360px -63px;} -.xpress-editor .tool.off li.blockquote button{ width:22px; background-position:-381px -63px;} -.xpress-editor .tool.off li.url button{ width:26px; background-position:-403px -63px;} -.xpress-editor .tool.off li.character button{ background-position:-429px -63px;} -.xpress-editor .tool.off li.find button{ background-position:-450px -63px;} -.xpress-editor .tool.off li.table button{ width:22px; background-position:-471px -63px;} -.xpress-editor .tool.off li.merge button, -.xpress-editor .tool li.merge button.off{ background-position:-493px -63px;} -.xpress-editor .tool.off li.splitCol button, -.xpress-editor .tool li.splitCol button.off{ background-position:-514px -63px;} -.xpress-editor .tool.off li.splitRow button, -.xpress-editor .tool li.splitRow button.off{ background-position:-535px -63px;} -.xpress-editor .tool.off li.extensions span{ background-position:0 -63px;} -.xpress-editor .tool.off li.extensions span button{ background-position:right -63px; color:#bcbcbc;} -.xpress-editor .tool.off li button{ cursor:default;} -.xpress-editor .tool.off ul.extra3 li button{ cursor:pointer;} - -/* Content > Tool > Layer */ -.xpress-editor .tool .layer{ display:none; position:absolute; left:0; top:20px; background-color:#fbfbfb; border:1px solid #c5c5c5; border-right:1px solid #9f9f9f; border-bottom:1px solid #9f9f9f;} -.xpress-editor .tool .layer li{ float:none; left:0;} -.xpress-editor .tool .layer button{ margin:0 !important; width:auto; height:auto; background:none;} -.xpress-editor .tool .layer button span{ position:absolute; width:0; height:0; font-size:0; line-height:0; overflow:hidden; visibility:hidden;} -.xpress-editor .tool .btn_area{ position:relative; clear:both; text-align:center !important; padding:7px 0 12px 0; width:100%; white-space:nowrap; *zoom:1;} -.xpress-editor .tool .btn_area *{ vertical-align:top;} -.xpress-editor .tool button.close{ position:absolute; top:4px; right:3px; width:21px; height:20px; background:url(../img/btn_layer_close.gif) no-repeat center center !important;} -.xpress-editor .tool button.close span{ position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;} -.xpress-editor .tool .layer .btn_area button{ *margin:0 2px !important;} -.xpress-editor .tool .layer .btn_area button.confirm{ width:38px; height:21px; background:url(../img/btn_layer_confirm.gif) no-repeat;} -.xpress-editor .tool .layer .btn_area button.cancel{ width:38px; height:21px; background:url(../img/btn_layer_cancel.gif) no-repeat;} - -.xpress-editor .tool li.fcolor .layer{ width:218px !important; height:auto !important; background-image:none !important; overflow:hidden;} -.xpress-editor .tool .layer .palette{ width:210px; position:relative; left:7px; padding:8px 0 7px 0; margin:0;} -.xpress-editor .tool .layer .palette li{ float:left; margin:0 1px 1px 0; font-size:0; line-height:0;} -.xpress-editor .tool .layer .palette button{ position:relative; overflow:hidden; width:11px; height:11px;} - -.xpress-editor .tool li.bcolor .layer { width:218px; overflow:hidden;} -.xpress-editor .tool .layer .background{ width:210px; position:relative; left:7px; margin:0 0 -2px 0; padding:8px 0 0 0; *padding-bottom:8px; _padding-bottom:4px;} -.xpress-editor .tool .layer .background li{ float:left; margin:0 5px 2px 0;} -.xpress-editor .tool .layer .background button{ position:relative; overflow:hidden; width:65px; height:19px; text-align:left; padding:4px;} -.xpress-editor .tool .layer .background button span{ position:relative; visibility:visible; font-size:12px; line-height:normal; width:auto; height:auto;} - -.xpress-editor .tool li.style .layer{ padding:4px 2px; _overflow:hidden; filter:progid:DXImageTransform.Microsoft.Shadow(color=#dddddd,direction=135,strength=2);} -.xpress-editor .tool li.style .layer li{ position:relative; background:#fbfbfb;} -.xpress-editor .tool li.style .layer li button{ display:block; width:134px; position:relative;} -.xpress-editor .tool li.style .layer li button span{ display:block; width:130px; text-align:left; letter-spacing:normal;} -.xpress-editor .tool li.style .layer li.h3 button span{ padding:3px 0 1px 4px; height:15px; _height /**/:19px; font-size:16px; font-weight:bold;} -.xpress-editor .tool li.style .layer li.h4 button span{ padding:3px 0 2px 4px; height:13px; _height /**/:18px; font-size:14px; font-weight:bold;} -.xpress-editor .tool li.style .layer li.h5 button span{ padding:3px 0 1px 4px; height:11px; _height /**/:15px; font-size:12px; font-weight:bold;} -.xpress-editor .tool li.style .layer li.h6 button span{ padding:3px 0 1px 4px; height:11px; _height /**/:15px; font-size:12px;} -.xpress-editor .tool li.style .layer li.p button span{ padding:3px 0 1px 4px; height:11px; _height /**/:15px; font-size:12px; color:#5d5d5d;} -.xpress-editor .tool li.style .layer li button.hover{ background:#c1f471; *height:1%;} - -.xpress-editor .tool li.blockquote .layer{ padding:6px 5px 6px 7px; left:0; width:288px;} -.xpress-editor .tool li.blockquote .layer ul{ *zoom:1; margin:0;} -.xpress-editor .tool li.blockquote .layer ul:after{ content:""; display:block; clear:both;} -.xpress-editor .tool li.blockquote .layer li{ position:relative; float:left; overflow:hidden; width:32px; height:34px; margin:0 2px 0 0; border:1px solid #cdcecc; background-image:url(../img/btn_qmark.gif); background-repeat:no-repeat;} -.xpress-editor .tool li.blockquote .layer li.q1{ background-position:0 0;} -.xpress-editor .tool li.blockquote .layer li.q2{ background-position:-32px 0;} -.xpress-editor .tool li.blockquote .layer li.q3{ background-position:-64px 0;} -.xpress-editor .tool li.blockquote .layer li.q4{ background-position:-96px 0;} -.xpress-editor .tool li.blockquote .layer li.q5{ background-position:-128px 0;} -.xpress-editor .tool li.blockquote .layer li.q6{ background-position:-160px 0;} -.xpress-editor .tool li.blockquote .layer li.q7{ background-position:-192px 0;} -.xpress-editor .tool li.blockquote .layer li.q8{ background-position:-224px 0;} -.xpress-editor .tool li.blockquote .layer li button{ width:32px; height:34px;} - -.xpress-editor .tool li.url .layer{ width:231px; height:125px; background-image:url(../img/bx_url.gif); background-repeat:no-repeat; background-position:10px 14px;} -.xpress-editor .tool li.url .layer fieldset{ position:absolute; width:212px; left:10px; top:14px;} -.xpress-editor .tool li.url .layer fieldset h3{ position:absolute; top:-4px; left:15px; color:#404040; visibility:visible; font-size:12px; line-height:normal; width:auto; height:auto; background:none; margin:0; padding:0; font-weight:normal;} -.xpress-editor .tool li.url .layer fieldset input.link{ position:absolute; left:12px; top:19px; width:179px; padding:2px 0 1px 6px; *margin:-1px 0; font-size:11px; height:13px; border:1px solid #818181; border-right:1px solid #dadada; border-bottom:1px solid #dadada;} -.xpress-editor .tool li.url .layer fieldset p{ position:absolute; left:12px; top:44px;} -.xpress-editor .tool li.url .layer fieldset p input{ width:13px; height:13px; vertical-align:middle; margin-right:3px;} -.xpress-editor .tool li.url .layer .btn_area{ position:absolute; bottom:12px; padding:0;} - -.xpress-editor .tool li.table .layer{ width:242px; height:239px; background-image:url(../img/bx_table.gif); background-repeat:no-repeat; background-position:10px 14px;} -.xpress-editor .tool li.table .layer fieldset{ position:absolute; width:222px; left:10px;} -.xpress-editor .tool li.table .layer fieldset h3{ position:absolute; top:-4px; left:15px; color:#404040; visibility:visible; font-size:12px; line-height:normal; width:auto; height:auto; background:none; margin:0; padding:0; font-weight:normal;} - -.xpress-editor .tool li.table .layer fieldset dl{ position:absolute; left:10px;} -.xpress-editor .tool li.table .layer fieldset dt{ float:left; padding:3px 0 0 0; height:20px; white-space:nowrap; letter-spacing:-1px;} -.xpress-editor .tool li.table .layer fieldset dd{ float:right; position:relative;} -.xpress-editor .tool li.table .layer fieldset dd button.add, -.xpress-editor .tool li.table .layer fieldset dd button.del{ position:absolute; left:27px; width:15px; height:8px; background:url(../img/btn_layer_cell_adjust.gif) no-repeat;} -.xpress-editor .tool li.table .layer fieldset dd button.add{ top:1px;} -.xpress-editor .tool li.table .layer fieldset dd button.del{ top:9px; background-position:0 -8px;} -.xpress-editor .tool li.table .layer fieldset dd .preview_palette{ display:block; float:left; margin:0 3px 0 0; padding:2px; position:relative; border:1px solid #c8c9c6; width:14px; height:14px; overflow:hidden;} -.xpress-editor .tool li.table .layer fieldset dd .preview_palette button{ width:14px; height:14px; font-size:500px; line-height:0;} -.xpress-editor .tool li.table .layer fieldset dd .find_palette{ width:33px; height:20px; background:url(../img/btn_search.gif) no-repeat;} - -.xpress-editor .tool li.table .layer fieldset.num{ top:14px;} -.xpress-editor .tool li.table .layer fieldset.num dl{ top:18px; width:60px;} -.xpress-editor .tool li.table .layer fieldset.num dt{ height:20px;} -.xpress-editor .tool li.table .layer fieldset.num dd{ height:23px;} -.xpress-editor .tool li.table .layer fieldset.num dt label{ font-size:11px; color:#333;} -.xpress-editor .tool li.table .layer fieldset.num dd input{ padding:3px 0 0 6px; *margin:-1px 0; width:35px; height:13px; font-size:11px; border:1px solid #818181; border-right:1px solid #dadada; border-bottom:1px solid #dadada;} - -.xpress-editor .tool li.table .layer fieldset.color{ top:96px;} -.xpress-editor .tool li.table .layer fieldset.color dl{ top:18px; width:210px;} -.xpress-editor .tool li.table .layer fieldset.color dt{ height:23px;} -.xpress-editor .tool li.table .layer fieldset.color dd{ height:26px; width:146px;} -.xpress-editor .tool li.table .layer fieldset.color dt label{ font-size:11px; color:#333;} -.xpress-editor .tool li.table .layer fieldset.color dd input{ padding:3px 0 0 6px; *margin:-1px 0; font-size:11px; border:1px solid #818181; border-right:1px solid #dadada; border-bottom:1px solid #dadada;} -.xpress-editor .tool li.table .layer fieldset.color dd input#table_border_width{ width:35px; height:13px;} -.xpress-editor .tool li.table .layer fieldset.color dd input#table_border_color, -.xpress-editor .tool li.table .layer fieldset.color dd input#table_bg_color{ width:70px; height:15px; *margin-right:3px;} - -.xpress-editor .tool li.table .layer table{ position:absolute; top:18px; left:75px; width:137px; height:40px; table-layout:fixed;} -.xpress-editor .tool li.table .layer table *{ font-size:0; line-height:0;} -.xpress-editor .tool li.table .layer table th, -.xpress-editor .tool li.table .layer table td{ text-align:center;} -.xpress-editor .tool li.table .layer .btn_area{ position:absolute; bottom:12px; padding:0; z-index:1;} - -.xpress-editor .tool li.table .layer .palette{ display:none; position:absolute; z-index:2; left:11px; width:204px; padding:8px 7px 7px 7px; _padding-right:6px; background-color:#fbfbfb; border:1px solid #c5c5c5; border-right:1px solid #9f9f9f; border-bottom:1px solid #9f9f9f;} -.xpress-editor .tool li.table .layer.p1 .palette{ display:block; top:163px;} -.xpress-editor .tool li.table .layer.p2 .palette{ display:block; top:189px;} - -.xpress-editor .tool li.character .layer{ width:433px; height:242px; overflow:hidden;} -.xpress-editor .tool li.character .layer ul{ margin:0;} -.xpress-editor .tool li.character .layer h3{position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;} -.xpress-editor .tool li.character .layer .nav{ position:absolute; top:11px; left:-1px; overflow:hidden; white-space:nowrap;} -.xpress-editor .tool li.character .layer .nav li{ display:inline; margin:0 -4px 0 0; padding:0 8px; background:url(../img/vr_layer_character.gif) no-repeat 0 0;} -.xpress-editor .tool li.character .layer .nav li a{ color:#444; text-decoration:none; letter-spacing:-1px;} -.xpress-editor .tool li.character .layer .nav li a:hover, -.xpress-editor .tool li.character .layer .nav li a:active, -.xpress-editor .tool li.character .layer .nav li a:focus{ text-decoration:underline;} -.xpress-editor .tool li.character .layer .nav li a.on{ font-weight:bold; color:#004790; display:inline;} -.xpress-editor .tool li.character .layer .list{ position:absolute; left:7px; top:30px; width:421px; height:172px; background:url(../img/bx_character.gif) no-repeat;} -.xpress-editor .tool li.character .layer .list li{ position:relative; top:1px; left:1px; float:left; width:20px; height:18px; margin:0 1px 1px 0;} -.xpress-editor .tool li.character .layer .list li button{ width:20px; height:18px;} -.xpress-editor .tool li.character .layer .list li button.hover{ border:2px solid #27c11a;} -.xpress-editor .tool li.character .layer .list li button span{ overflow:visible; font-size:12px; width:auto; height:auto; position:relative; visibility:visible; line-height:normal;} -.xpress-editor .tool li.character .layer p{ position:absolute; top:212px; left:7px;} -.xpress-editor .tool li.character .layer p *{ vertical-align:top;} -.xpress-editor .tool li.character .layer p label{ position:relative; top:4px; margin:0 7px 0 0; color:#333; letter-spacing:-1px;} -.xpress-editor .tool li.character .layer p input{ padding:3px 0 0 4px; margin:0 4px 0 0; width:300px; _width /**/:306px; height:16px; _height /**/:20px; border:1px solid #acacac; border-right:1px solid #dadada; border-bottom:1px solid #dadada;} -.xpress-editor .tool li.character .layer p button{ position:relative; *top:1px; width:38px; height:21px; background:url(../img/btn_layer_confirm.gif) no-repeat;} -.xpress-editor .tool li.character .layer p button span{ position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;} - -.xpress-editor .tool li.find .layer{ width:242px;} -.xpress-editor .tool li.find .layer h3{ background:#f2f2f2; color:#333; height:21px; margin:0 0 11px 0; padding:7px 0 0 5px;} -.xpress-editor .tool li.find .layer .menu_tab{ position:relative; z-index:20; width:100%; *zoom:1;} -.xpress-editor .tool li.find .layer .menu_tab:after{ content:""; display:block; clear:both;} -.xpress-editor .tool li.find .layer .layer_tab{ position:relative; left:10px; padding:0; margin:0; clear:both;} -.xpress-editor .tool li.find .layer .layer_tab li{ position:relative; z-index:1; float:left; margin-right:1px; background:url(../img/btn_layer_tab.gif) no-repeat 0 0;} -.xpress-editor .tool li.find .layer .layer_tab li a{ position:relative; display:block; float:left; left:2px; height:15px; padding:4px 9px 0 5px; color:#404040; text-decoration:none; background:url(../img/btn_layer_tab.gif) no-repeat right 0;} -.xpress-editor .tool li.find .layer.find .layer_tab li.tab1, -.xpress-editor .tool li.find .layer.replace .layer_tab li.tab2{ top:-1px; margin-bottom:-1px;} -.xpress-editor .tool li.find .layer.find .layer_tab li.tab1 a, -.xpress-editor .tool li.find .layer.replace .layer_tab li.tab2 a{ height:18px;} -.xpress-editor .tool li.find .layer .container{ position:relative; z-index:1; clear:both; top:-2px;} -.xpress-editor .tool li.find .layer .container .bx{ display:none; position:relative; width:222px; left:10px; clear:both; z-index:1; background:url(../img/bx_find.gif) no-repeat;} -.xpress-editor .tool li.find .layer.find .container #find, -.xpress-editor .tool li.find .layer.replace .container #replace{ display:block;} - -.xpress-editor .tool li.find .layer .bx fieldset{ position:relative; padding:13px 0 17px 11px;} -.xpress-editor .tool li.find .layer .bx fieldset *{ vertical-align:top;} -.xpress-editor .tool li.find .layer .bx label{ position:relative; top:4px; margin:0 7px 0 0; font-size:11px; letter-spacing:-1px; color:#333;} -.xpress-editor .tool li.find .layer .bx input{ padding:3px 0 0 4px; width:144px; _width /**/:150px; height:14px; _height /**/:19px; border:1px solid #acacac; border-right:1px solid #dadada; border-bottom:1px solid #dadada;} -.xpress-editor .tool li.find .layer .bx .cap{ position:absolute; left:0; bottom:0; display:block; width:222px; height:2px; _margin:0 0 -1px 0; overflow:hidden; background:#fff url(../img/bx_find.gif) no-repeat left bottom; font-size:0; line-height:0;} -.xpress-editor .tool li.find .layer .bx#replace fieldset{ height:45px; _height /**/:75px;} -.xpress-editor .tool li.find .layer .bx#replace fieldset #keyword2{ margin-bottom:6px;} -.xpress-editor .tool li.find .layer .btn_area button{ display:none; *margin:0 2px !important;} -.xpress-editor .tool li.find .layer.find .btn_area .find_next{ display:inline; width:62px; height:21px; background:url(../img/btn_layer_find_next_strong.gif) no-repeat;} -.xpress-editor .tool li.find .layer.replace .btn_area .find_next{ display:inline; width:55px; height:21px; background:url(../img/btn_layer_find_next.gif) no-repeat;} -.xpress-editor .tool li.find .layer.replace .btn_area .replace{ display:inline; width:48px; height:21px; background:url(../img/btn_layer_replace.gif) no-repeat;} -.xpress-editor .tool li.find .layer.replace .btn_area .replace_all{ display:inline; width:69px; height:21px; background:url(../img/btn_layer_replace_all.gif) no-repeat;} -.xpress-editor .tool li.find .layer .btn_area .cancel{ display:inline;} - -.xpress-editor .tool li.extensions .layer{ width:auto; white-space:nowrap; padding:5px 10px;} -.xpress-editor .tool li.extensions .layer li{ margin:2px 0;} -.xpress-editor .tool li.extensions .layer li a { color:#000; text-decoration:none; } -.xpress-editor .tool li.extensions .layer li a:hover { text-decoration:underline; } - -/* File Uploader */ -.xpress-editor .fileUploader{ clear:both; padding-top:5px; margin-bottom:20px;} -.xpress-editor .fileUploader:after{ content:""; display:block; clear:both;} -.xpress-editor .fileUploader .preview{ float:left; width:64px; height:64px; border:1px solid #ccc;; padding:2px; margin:0 10px 5px 10px;} -.xpress-editor .fileUploader .preview.black { background-color:#000; border:1px solid #666;} -.xpress-editor .fileUploader .preview img{ display:block; width:64px; height:64px;} -.xpress-editor .fileUploader .fileListArea{ float:left; width:260px; margin:0 10px 5px 0;} -.xpress-editor .fileUploader .fileListArea select{ width:100%; height:70px; overflow:auto;} -.xpress-editor .fileUploader .fileListArea select option{ font-size:11px;} -.xpress-editor .fileUploader .fileListArea.black select { background-color:#000; border:1px solid #666;} -.xpress-editor .fileUploader .fileListArea.black select option { color:#aaa; } -.xpress-editor .fileUploader .fileUploadControl{ clear:right;} -.xpress-editor .fileUploader .fileUploadControl .button{ margin-bottom:5px;} -.xpress-editor .fileUploader .file_attach_info{ clear:right; margin:5px 0;} - -/* Auto Save */ -.xpress-editor .autosave_message { display:none; background: #f6ffdb; padding:6px 10px; margin:0; line-height:1;} -.xpress-editor.black .autosave_message { display:none; background:#222; padding:6px 10px; margin:0; line-height:1; color:#fff; } -.xpress-editor .input_syntax.black { background:transparent; color:#fff; } +@charset "utf-8"; + +/* TextEditor */ +.xeTextEditor {padding:10px; overflow:hidden; margin:0 0 10px 0;} +.xeTextEditor textarea { display:block; margin:0; padding:2px; } +.xeTextEditor.black textarea { color:#fff; background-color:#000;} + +/* Type Selector */ +.xpress-editor *{margin:0; padding:0; font-style:normal; font-size:12px; } +.xpress-editor img, +.xpress-editor fieldset, +.xpress-editor button{ border:0;} +.xpress-editor button{ background:none; background-repeat:no-repeat; cursor:pointer; _cursor /**/:hand;} +.xpress-editor button *{ visibility:hidden;} +.xpress-editor legend{ position:absolute; width:0; height:0; font-size:0; line-height:0; overflow:hidden; visibility:hidden;} +.xpress-editor label{ cursor:pointer; _cursor /**/:hand;} +.xpress-editor hr{ display:none;} +.xpress-editor li{list-style:none;} + +/* Layout Selector */ +.xpress-editor{ position:relative; background:transparent;} +.xpress-editor #smart_content{ position:relative; clear:both; margin:0 0 10px 0; border:1px solid #c2c2c2; *zoom:1; z-index:5} +.xpress-editor #smart_footer{ position:relative; text-align:center; padding:10px 0;} + +/* Footer */ +.xpress-editor #smart_footer *{ vertical-align:top;} +.xpress-editor #smart_footer button{ position:relative; width:67px; height:25px; margin:0 5px 0 0;} +.xpress-editor #smart_footer button.save_temp{ background:url(../img/btn_save_temp.gif) no-repeat;} +.xpress-editor #smart_footer button.preview{ background:url(../img/btn_preview.gif) no-repeat;} +.xpress-editor #smart_footer input{ margin:0;} +.xpress-editor #smart_footer input.reset{ width:67px; height:25px; border:0; background:url(../img/btn_cancel.gif) no-repeat; cursor:pointer; margin-left:5px;} + +/* Content > Input Area */ +.xpress-editor a.skip{ position:relative; display:block; top:0; right:0; width:0; height:0; overflow:hidden; clear:both; zoom:1} +.xpress-editor a.skip:hover, +.xpress-editor a.skip:active, +.xpress-editor a.skip:focus{ position:relative; display:block; padding:5px; right:0; z-index:60; width:auto; height:auto; text-align:right; white-space:nowrap; color:#000; text-decoration:none; letter-spacing:-1px; _zoom:1;} + +.xpress-editor .input_area{ position:relative; margin:10px; z-index:30; *zoom:1; height:400px;} +.xpress-editor .input_area iframe, +.xpress-editor .input_area textarea{ display:block; width:100%; position:relative; height:100%; border:0; overflow:auto;} +.xpress-editor .input_area iframe{} +.xpress-editor .input_area textarea{ *margin:0 -10px; _margin-bottom:-2px;} +.xpress-editor .input_area textarea.blind{ display:none;} +.xpress-editor .input_control{ position:relative; display:block; width:100%; clear:both; text-align:center; background:#fbfbfb url(../img/btn_expand.gif) no-repeat center center; cursor:n-resize;} +.xpress-editor .input_control span{ display:block; height:10px; border-top:1px solid #dfdfdf; visibility:visible; font-size:0; line-height:200%; white-space:nowrap; color:#fff;} +.xpress-editor.black .input_control { background:#111 url(../img/btn_expand.black.gif) no-repeat center center;} +.xpress-editor.black .input_control span{ border-top:1px solid #333; color:#000;} + +.xpress-editor .tool{ position:relative; overflow:visible; padding:5px 10px 6px 10px; *padding:5px 10px 8px 10px; z-index:40; clear:both; background:#f8f8f8 url(../img/bg_tool.gif) repeat-x left bottom; border:0; *zoom:1;} +.xpress-editor.black .tool{ background:#111 url(../img/bg_tool.black.gif) repeat-x left bottom; } + +.xpress-editor .tool:after{ content:""; display:block; clear:both;} +.xpress-editor .tool ul{ position:relative; overflow:visible; float:left; margin:0 5px 2px 0; z-index:2;} +.xpress-editor .tool ul.action{ width:43px;} +.xpress-editor .tool ul.type{ width:auto; white-space:nowrap;} +.xpress-editor .tool ul.style{ width:169px; z-index:6;} +.xpress-editor .tool ul.paragraph{ width:169px; z-index:5;} +.xpress-editor .tool ul.extra1{ width:90px; z-index:4;} +.xpress-editor .tool ul.table{ width:85px; z-index:3;} +.xpress-editor .tool ul.extra2{ width:auto; z-index:2;} +.xpress-editor .tool ul.extra3{ float:right; width:auto; z-index:1; margin-right:1px;} +.xpress-editor .tool ul.extra3 li{ margin-right:4px;} +.xpress-editor .tool li{ position:relative; float:left;} +.xpress-editor .tool li button{ width:21px; height:21px; background:url(../img/btn_set.gif) no-repeat 0 0; vertical-align:top;} +.xpress-editor.black .tool li button{ width:21px; height:21px; background:url(../img/btn_set.black.gif) no-repeat 0 0; vertical-align:top;} +.xpress-editor .tool li button span{ position:absolute; top:0; left:0; width:0; height:0; overflow:hidden; visibility:hidden;} + +.xpress-editor .tool li.extensions span.exButton, +.xpress-editor .tool li.extensions span.exButton button{ float:left; position:relative; display:inline-block; width:auto; background:url(../img/btn_extension.gif) no-repeat left top;} +.xpress-editor .tool li.extensions span.exButton{ margin-right:18px;} +.xpress-editor .tool li.extensions span.exButton button{ left:18px; height:21px; background-position:right top; padding:0 4px 0 0; font:11px/21px Tahoma, Sans-serif; text-align:left;} +.xpress-editor.black .tool li.extensions span.exButton, +.xpress-editor.black .tool li.extensions span.exButton button{ color:#fff; background-image:url(../img/btn_extension.black.gif); } + +.xpress-editor .tool li.html span, +.xpress-editor .tool li.html span button, +.xpress-editor .tool li.preview span, +.xpress-editor .tool li.preview span button{ float:left; position:relative; display:inline-block; width:auto; height:auto; visibility:visible; background:url(../img/btn_set_blank.gif) no-repeat 0 0; white-space:nowrap;} +.xpress-editor.black .tool li.html span, +.xpress-editor.black .tool li.html span button, +.xpress-editor.black .tool li.preview span, +.xpress-editor.black .tool li.preview span button{ color:#fff;background-image:url(../img/btn_set_blank.black.gif); } + +.xpress-editor .tool li.html span, +.xpress-editor .tool li.preview span{ margin-right:2px; background-position:left top;} +.xpress-editor .tool li.html span button, +.xpress-editor .tool li.preview span button{ left:2px; height:21px; background-position:right top; font:11px/21px Tahoma, Sans-serif; padding:0 4px;} + +.xpress-editor .tool ul.type li{ float:none; display:inline; *top:1px;} +.xpress-editor .tool ul.type li select{ height:21px; width:62px;} +.xpress-editor.black .tool ul.type li select{ color:#fff; background-color:#000; } + +/* Content > Tool > Button Default */ +.xpress-editor .tool li.undo button{ width:22px; background-position:0 0;} +.xpress-editor .tool li.redo button{ background-position:-22px 0;} +.xpress-editor .tool li.bold button{ width:22px; background-position:-43px 0;} +.xpress-editor .tool li.underline button{ background-position:-65px 0;} +.xpress-editor .tool li.italic button{ background-position:-86px 0;} +.xpress-editor .tool li.del button{ background-position:-107px 0;} +.xpress-editor .tool li.fcolor button{ background-position:-128px 0;} +.xpress-editor .tool li.bcolor button{ background-position:-149px 0;} +.xpress-editor .tool li.sup button{ background-position:-170px 0;} +.xpress-editor .tool li.sub button{ background-position:-191px 0;} +.xpress-editor .tool li.left button{ width:22px; background-position:-212px 0;} +.xpress-editor .tool li.center button{ background-position:-234px 0;} +.xpress-editor .tool li.right button{ background-position:-255px 0;} +.xpress-editor .tool li.justify button{ background-position:-276px 0;} +.xpress-editor .tool li.ol button{ background-position:-297px 0;} +.xpress-editor .tool li.ul button{ background-position:-318px 0;} +.xpress-editor .tool li.outdent button{ background-position:-339px 0;} +.xpress-editor .tool li.indent button{ background-position:-360px 0;} +.xpress-editor .tool li.blockquote button{ width:22px; background-position:-381px 0;} +.xpress-editor .tool li.url button{ width:26px; background-position:-403px 0;} +.xpress-editor .tool li.character button{ background-position:-429px 0;} +.xpress-editor .tool li.find button{ background-position:-450px 0;} +.xpress-editor .tool li.table button{ width:22px; background-position:-471px 0;} +.xpress-editor .tool li.merge button{ background-position:-493px 0;} +.xpress-editor .tool li.splitCol button{ background-position:-514px 0;} +.xpress-editor .tool li.splitRow button{ background-position:-535px 0;} +.xpress-editor .tool li.extensions span{ background-position:0 0;} +.xpress-editor .tool li.extensions span button{ background-position:right 0;} +.xpress-editor .tool li.html span{ background-position:0 0;} +.xpress-editor .tool li.html span button{ background-position:right 0;} +.xpress-editor .tool li.preview span{ background-position:0 0;} +.xpress-editor .tool li.preview span button{ background-position:right 0;} + +/* Content > Tool > Button Hover */ +.xpress-editor .tool li.undo button.hover{ width:22px; background-position:0 -21px;} +.xpress-editor .tool li.redo button.hover{ background-position:-22px -21px;} +.xpress-editor .tool li.bold button.hover{ width:22px; background-position:-43px -21px;} +.xpress-editor .tool li.underline button.hover{ background-position:-65px -21px;} +.xpress-editor .tool li.italic button.hover{ background-position:-86px -21px;} +.xpress-editor .tool li.del button.hover{ background-position:-107px -21px;} +.xpress-editor .tool li.fcolor button.hover{ background-position:-128px -21px;} +.xpress-editor .tool li.bcolor button.hover{ background-position:-149px -21px;} +.xpress-editor .tool li.sup button.hover{ background-position:-170px -21px;} +.xpress-editor .tool li.sub button.hover{ background-position:-191px -21px;} +.xpress-editor .tool li.left button.hover{ width:22px; background-position:-212px -21px;} +.xpress-editor .tool li.center button.hover{ background-position:-234px -21px;} +.xpress-editor .tool li.right button.hover{ background-position:-255px -21px;} +.xpress-editor .tool li.justify button.hover{ background-position:-276px -21px;} +.xpress-editor .tool li.ol button.hover{ background-position:-297px -21px;} +.xpress-editor .tool li.ul button.hover{ background-position:-318px -21px;} +.xpress-editor .tool li.outdent button.hover{ background-position:-339px -21px;} +.xpress-editor .tool li.indent button.hover{ background-position:-360px -21px;} +.xpress-editor .tool li.blockquote button.hover{ width:22px; background-position:-381px -21px;} +.xpress-editor .tool li.url button.hover{ width:26px; background-position:-403px -21px;} +.xpress-editor .tool li.character button.hover{ background-position:-429px -21px;} +.xpress-editor .tool li.find button.hover{ background-position:-450px -21px;} +.xpress-editor .tool li.table button.hover{ width:22px; background-position:-471px -21px;} +.xpress-editor .tool li.merge button.hover{ background-position:-493px -21px;} +.xpress-editor .tool li.splitCol button.hover{ background-position:-514px -21px;} +.xpress-editor .tool li.splitRow button.hover{ background-position:-535px -21px;} +.xpress-editor .tool li.extensions span.hover{ background-position:0 -21px;} +.xpress-editor .tool li.extensions span.hover button{ background-position:right -21px;} +.xpress-editor .tool li.html span.hover{ background-position:0 -21px;} +.xpress-editor .tool li.html span.hover button{ background-position:right -21px;} +.xpress-editor .tool li.preview span.hover{ background-position:0 -21px;} +.xpress-editor .tool li.preview span.hover button{ background-position:right -21px;} + +/* Content > Tool > Button Active */ +.xpress-editor .tool li.undo button.active{ width:22px; background-position:0 -42px;} +.xpress-editor .tool li.redo button.active{ background-position:-22px -42px;} +.xpress-editor .tool li.bold button.active{ width:22px; background-position:-43px -42px;} +.xpress-editor .tool li.underline button.active{ background-position:-65px -42px;} +.xpress-editor .tool li.italic button.active{ background-position:-86px -42px;} +.xpress-editor .tool li.del button.active{ background-position:-107px -42px;} +.xpress-editor .tool li.fcolor button.active{ background-position:-128px -42px;} +.xpress-editor .tool li.bcolor button.active{ background-position:-149px -42px;} +.xpress-editor .tool li.sup button.active{ background-position:-170px -42px;} +.xpress-editor .tool li.sub button.active{ background-position:-191px -42px;} +.xpress-editor .tool li.left button.active{ width:22px; background-position:-212px -42px;} +.xpress-editor .tool li.center button.active{ background-position:-234px -42px;} +.xpress-editor .tool li.right button.active{ background-position:-255px -42px;} +.xpress-editor .tool li.justify button.active{ background-position:-276px -42px;} +.xpress-editor .tool li.ol button.active{ background-position:-297px -42px;} +.xpress-editor .tool li.ul button.active{ background-position:-318px -42px;} +.xpress-editor .tool li.outdent button.active{ background-position:-339px -42px;} +.xpress-editor .tool li.indent button.active{ background-position:-360px -42px;} +.xpress-editor .tool li.blockquote button.active{ width:22px; background-position:-381px -42px;} +.xpress-editor .tool li.url button.active{ width:26px; background-position:-403px -42px;} +.xpress-editor .tool li.character button.active{ background-position:-429px -42px;} +.xpress-editor .tool li.find button.active{ background-position:-450px -42px;} +.xpress-editor .tool li.table button.active{ width:22px; background-position:-471px -42px;} +.xpress-editor .tool li.merge button.active{ background-position:-493px -42px;} +.xpress-editor .tool li.splitCol button.active{ background-position:-514px -42px;} +.xpress-editor .tool li.splitRow button.active{ background-position:-535px -42px;} +.xpress-editor .tool li.extensions span.active{ background-position:0 -42px;} +.xpress-editor .tool li.extensions span.active button{ background-position:right -42px;} +.xpress-editor .tool li.html span.active{ background-position:0 -42px;} +.xpress-editor .tool li.html span.active button{ background-position:right -42px;} +.xpress-editor .tool li.preview span.active{ background-position:0 -42px;} +.xpress-editor .tool li.preview span.active button{ background-position:right -42px;} + +/* Content > Tool > Button Off */ +.xpress-editor .tool.off li.undo button, +.xpress-editor .tool li.undo button.off{ width:22px; background-position:0 -63px;} +.xpress-editor .tool.off li.redo button, +.xpress-editor .tool li.redo button.off{ background-position:-22px -63px;} +.xpress-editor .tool.off li.bold button{ width:22px; background-position:-43px -63px;} +.xpress-editor .tool.off li.underline button{ background-position:-65px -63px;} +.xpress-editor .tool.off li.italic button{ background-position:-86px -63px;} +.xpress-editor .tool.off li.del button{ background-position:-107px -63px;} +.xpress-editor .tool.off li.fcolor button{ background-position:-128px -63px;} +.xpress-editor .tool.off li.bcolor button{ background-position:-149px -63px;} +.xpress-editor .tool.off li.sup button{ background-position:-170px -63px;} +.xpress-editor .tool.off li.sub button{ background-position:-191px -63px;} +.xpress-editor .tool.off li.left button{ width:22px; background-position:-212px -63px;} +.xpress-editor .tool.off li.center button{ background-position:-234px -63px;} +.xpress-editor .tool.off li.right button{ background-position:-255px -63px;} +.xpress-editor .tool.off li.justify button{ background-position:-276px -63px;} +.xpress-editor .tool.off li.ol button{ background-position:-297px -63px;} +.xpress-editor .tool.off li.ul button{ background-position:-318px -63px;} +.xpress-editor .tool.off li.outdent button{ background-position:-339px -63px;} +.xpress-editor .tool.off li.indent button{ background-position:-360px -63px;} +.xpress-editor .tool.off li.blockquote button{ width:22px; background-position:-381px -63px;} +.xpress-editor .tool.off li.url button{ width:26px; background-position:-403px -63px;} +.xpress-editor .tool.off li.character button{ background-position:-429px -63px;} +.xpress-editor .tool.off li.find button{ background-position:-450px -63px;} +.xpress-editor .tool.off li.table button{ width:22px; background-position:-471px -63px;} +.xpress-editor .tool.off li.merge button, +.xpress-editor .tool li.merge button.off{ background-position:-493px -63px;} +.xpress-editor .tool.off li.splitCol button, +.xpress-editor .tool li.splitCol button.off{ background-position:-514px -63px;} +.xpress-editor .tool.off li.splitRow button, +.xpress-editor .tool li.splitRow button.off{ background-position:-535px -63px;} +.xpress-editor .tool.off li.extensions span{ background-position:0 -63px;} +.xpress-editor .tool.off li.extensions span button{ background-position:right -63px; color:#bcbcbc;} +.xpress-editor .tool.off li button{ cursor:default;} +.xpress-editor .tool.off ul.extra3 li button{ cursor:pointer;} + +/* Content > Tool > Layer */ +.xpress-editor .tool .layer{ display:none; position:absolute; left:0; top:20px; background-color:#fbfbfb; border:1px solid #c5c5c5; border-right:1px solid #9f9f9f; border-bottom:1px solid #9f9f9f;} +.xpress-editor .tool .layer li{ float:none; left:0;} +.xpress-editor .tool .layer button{ margin:0 !important; width:auto; height:auto; background:none;} +.xpress-editor .tool .layer button span{ position:absolute; width:0; height:0; font-size:0; line-height:0; overflow:hidden; visibility:hidden;} +.xpress-editor .tool .btn_area{ position:relative; clear:both; text-align:center !important; padding:7px 0 12px 0; width:100%; white-space:nowrap; *zoom:1;} +.xpress-editor .tool .btn_area *{ vertical-align:top;} +.xpress-editor .tool button.close{ position:absolute; top:4px; right:3px; width:21px; height:20px; background:url(../img/btn_layer_close.gif) no-repeat center center !important;} +.xpress-editor .tool button.close span{ position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;} +.xpress-editor .tool .layer .btn_area button{ *margin:0 2px !important;} +.xpress-editor .tool .layer .btn_area button.confirm{ width:38px; height:21px; background:url(../img/btn_layer_confirm.gif) no-repeat;} +.xpress-editor .tool .layer .btn_area button.cancel{ width:38px; height:21px; background:url(../img/btn_layer_cancel.gif) no-repeat;} + +.xpress-editor .tool li.fcolor .layer{ width:218px !important; height:auto !important; background-image:none !important; overflow:hidden;} +.xpress-editor .tool .layer .palette{ width:210px; position:relative; left:7px; padding:8px 0 7px 0; margin:0;} +.xpress-editor .tool .layer .palette li{ float:left; margin:0 1px 1px 0; font-size:0; line-height:0;} +.xpress-editor .tool .layer .palette button{ position:relative; overflow:hidden; width:11px; height:11px;} + +.xpress-editor .tool li.bcolor .layer { width:218px; overflow:hidden;} +.xpress-editor .tool .layer .background{ width:210px; position:relative; left:7px; margin:0 0 -2px 0; padding:8px 0 0 0; *padding-bottom:8px; _padding-bottom:4px;} +.xpress-editor .tool .layer .background li{ float:left; margin:0 5px 2px 0;} +.xpress-editor .tool .layer .background button{ position:relative; overflow:hidden; width:65px; height:19px; text-align:left; padding:4px;} +.xpress-editor .tool .layer .background button span{ position:relative; visibility:visible; font-size:12px; line-height:normal; width:auto; height:auto;} + +.xpress-editor .tool li.style .layer{ padding:4px 2px; _overflow:hidden; filter:progid:DXImageTransform.Microsoft.Shadow(color=#dddddd,direction=135,strength=2);} +.xpress-editor .tool li.style .layer li{ position:relative; background:#fbfbfb;} +.xpress-editor .tool li.style .layer li button{ display:block; width:134px; position:relative;} +.xpress-editor .tool li.style .layer li button span{ display:block; width:130px; text-align:left; letter-spacing:normal;} +.xpress-editor .tool li.style .layer li.h3 button span{ padding:3px 0 1px 4px; height:15px; _height /**/:19px; font-size:16px; font-weight:bold;} +.xpress-editor .tool li.style .layer li.h4 button span{ padding:3px 0 2px 4px; height:13px; _height /**/:18px; font-size:14px; font-weight:bold;} +.xpress-editor .tool li.style .layer li.h5 button span{ padding:3px 0 1px 4px; height:11px; _height /**/:15px; font-size:12px; font-weight:bold;} +.xpress-editor .tool li.style .layer li.h6 button span{ padding:3px 0 1px 4px; height:11px; _height /**/:15px; font-size:12px;} +.xpress-editor .tool li.style .layer li.p button span{ padding:3px 0 1px 4px; height:11px; _height /**/:15px; font-size:12px; color:#5d5d5d;} +.xpress-editor .tool li.style .layer li button.hover{ background:#c1f471; *height:1%;} + +.xpress-editor .tool li.blockquote .layer{ padding:6px 5px 6px 7px; left:0; width:288px;} +.xpress-editor .tool li.blockquote .layer ul{ *zoom:1; margin:0;} +.xpress-editor .tool li.blockquote .layer ul:after{ content:""; display:block; clear:both;} +.xpress-editor .tool li.blockquote .layer li{ position:relative; float:left; overflow:hidden; width:32px; height:34px; margin:0 2px 0 0; border:1px solid #cdcecc; background-image:url(../img/btn_qmark.gif); background-repeat:no-repeat;} +.xpress-editor .tool li.blockquote .layer li.q1{ background-position:0 0;} +.xpress-editor .tool li.blockquote .layer li.q2{ background-position:-32px 0;} +.xpress-editor .tool li.blockquote .layer li.q3{ background-position:-64px 0;} +.xpress-editor .tool li.blockquote .layer li.q4{ background-position:-96px 0;} +.xpress-editor .tool li.blockquote .layer li.q5{ background-position:-128px 0;} +.xpress-editor .tool li.blockquote .layer li.q6{ background-position:-160px 0;} +.xpress-editor .tool li.blockquote .layer li.q7{ background-position:-192px 0;} +.xpress-editor .tool li.blockquote .layer li.q8{ background-position:-224px 0;} +.xpress-editor .tool li.blockquote .layer li button{ width:32px; height:34px;} + +.xpress-editor .tool li.url .layer{ width:231px; height:125px; background-image:url(../img/bx_url.gif); background-repeat:no-repeat; background-position:10px 14px;} +.xpress-editor .tool li.url .layer fieldset{ position:absolute; width:212px; left:10px; top:14px;} +.xpress-editor .tool li.url .layer fieldset h3{ position:absolute; top:-4px; left:15px; color:#404040; visibility:visible; font-size:12px; line-height:normal; width:auto; height:auto; background:none; margin:0; padding:0; font-weight:normal;} +.xpress-editor .tool li.url .layer fieldset input.link{ position:absolute; left:12px; top:19px; width:179px; padding:2px 0 1px 6px; *margin:-1px 0; font-size:11px; height:13px; border:1px solid #818181; border-right:1px solid #dadada; border-bottom:1px solid #dadada;} +.xpress-editor .tool li.url .layer fieldset p{ position:absolute; left:12px; top:44px;} +.xpress-editor .tool li.url .layer fieldset p input{ width:13px; height:13px; vertical-align:middle; margin-right:3px;} +.xpress-editor .tool li.url .layer .btn_area{ position:absolute; bottom:12px; padding:0;} + +.xpress-editor .tool li.table .layer{ width:242px; height:239px; background-image:url(../img/bx_table.gif); background-repeat:no-repeat; background-position:10px 14px;} +.xpress-editor .tool li.table .layer fieldset{ position:absolute; width:222px; left:10px;} +.xpress-editor .tool li.table .layer fieldset h3{ position:absolute; top:-4px; left:15px; color:#404040; visibility:visible; font-size:12px; line-height:normal; width:auto; height:auto; background:none; margin:0; padding:0; font-weight:normal;} + +.xpress-editor .tool li.table .layer fieldset dl{ position:absolute; left:10px;} +.xpress-editor .tool li.table .layer fieldset dt{ float:left; padding:3px 0 0 0; height:20px; white-space:nowrap; letter-spacing:-1px;} +.xpress-editor .tool li.table .layer fieldset dd{ float:right; position:relative;} +.xpress-editor .tool li.table .layer fieldset dd button.add, +.xpress-editor .tool li.table .layer fieldset dd button.del{ position:absolute; left:27px; width:15px; height:8px; background:url(../img/btn_layer_cell_adjust.gif) no-repeat;} +.xpress-editor .tool li.table .layer fieldset dd button.add{ top:1px;} +.xpress-editor .tool li.table .layer fieldset dd button.del{ top:9px; background-position:0 -8px;} +.xpress-editor .tool li.table .layer fieldset dd .preview_palette{ display:block; float:left; margin:0 3px 0 0; padding:2px; position:relative; border:1px solid #c8c9c6; width:14px; height:14px; overflow:hidden;} +.xpress-editor .tool li.table .layer fieldset dd .preview_palette button{ width:14px; height:14px; font-size:500px; line-height:0;} +.xpress-editor .tool li.table .layer fieldset dd .find_palette{ width:33px; height:20px; background:url(../img/btn_search.gif) no-repeat;} + +.xpress-editor .tool li.table .layer fieldset.num{ top:14px;} +.xpress-editor .tool li.table .layer fieldset.num dl{ top:18px; width:60px;} +.xpress-editor .tool li.table .layer fieldset.num dt{ height:20px;} +.xpress-editor .tool li.table .layer fieldset.num dd{ height:23px;} +.xpress-editor .tool li.table .layer fieldset.num dt label{ font-size:11px; color:#333;} +.xpress-editor .tool li.table .layer fieldset.num dd input{ padding:3px 0 0 6px; *margin:-1px 0; width:35px; height:13px; font-size:11px; border:1px solid #818181; border-right:1px solid #dadada; border-bottom:1px solid #dadada;} + +.xpress-editor .tool li.table .layer fieldset.color{ top:96px;} +.xpress-editor .tool li.table .layer fieldset.color dl{ top:18px; width:210px;} +.xpress-editor .tool li.table .layer fieldset.color dt{ height:23px;} +.xpress-editor .tool li.table .layer fieldset.color dd{ height:26px; width:146px;} +.xpress-editor .tool li.table .layer fieldset.color dt label{ font-size:11px; color:#333;} +.xpress-editor .tool li.table .layer fieldset.color dd input{ padding:3px 0 0 6px; *margin:-1px 0; font-size:11px; border:1px solid #818181; border-right:1px solid #dadada; border-bottom:1px solid #dadada;} +.xpress-editor .tool li.table .layer fieldset.color dd input#table_border_width{ width:35px; height:13px;} +.xpress-editor .tool li.table .layer fieldset.color dd input#table_border_color, +.xpress-editor .tool li.table .layer fieldset.color dd input#table_bg_color{ width:70px; height:15px; *margin-right:3px;} + +.xpress-editor .tool li.table .layer table{ position:absolute; top:18px; left:75px; width:137px; height:40px; table-layout:fixed;} +.xpress-editor .tool li.table .layer table *{ font-size:0; line-height:0;} +.xpress-editor .tool li.table .layer table th, +.xpress-editor .tool li.table .layer table td{ text-align:center;} +.xpress-editor .tool li.table .layer .btn_area{ position:absolute; bottom:12px; padding:0; z-index:1;} + +.xpress-editor .tool li.table .layer .palette{ display:none; position:absolute; z-index:2; left:11px; width:204px; padding:8px 7px 7px 7px; _padding-right:6px; background-color:#fbfbfb; border:1px solid #c5c5c5; border-right:1px solid #9f9f9f; border-bottom:1px solid #9f9f9f;} +.xpress-editor .tool li.table .layer.p1 .palette{ display:block; top:163px;} +.xpress-editor .tool li.table .layer.p2 .palette{ display:block; top:189px;} + +.xpress-editor .tool li.character .layer{ width:433px; height:242px; overflow:hidden;} +.xpress-editor .tool li.character .layer ul{ margin:0;} +.xpress-editor .tool li.character .layer h3{position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;} +.xpress-editor .tool li.character .layer .nav{ position:absolute; top:11px; left:-1px; overflow:hidden; white-space:nowrap;} +.xpress-editor .tool li.character .layer .nav li{ display:inline; margin:0 -4px 0 0; padding:0 8px; background:url(../img/vr_layer_character.gif) no-repeat 0 0;} +.xpress-editor .tool li.character .layer .nav li a{ color:#444; text-decoration:none; letter-spacing:-1px;} +.xpress-editor .tool li.character .layer .nav li a:hover, +.xpress-editor .tool li.character .layer .nav li a:active, +.xpress-editor .tool li.character .layer .nav li a:focus{ text-decoration:underline;} +.xpress-editor .tool li.character .layer .nav li a.on{ font-weight:bold; color:#004790; display:inline;} +.xpress-editor .tool li.character .layer .list{ position:absolute; left:7px; top:30px; width:421px; height:172px; background:url(../img/bx_character.gif) no-repeat;} +.xpress-editor .tool li.character .layer .list li{ position:relative; top:1px; left:1px; float:left; width:20px; height:18px; margin:0 1px 1px 0;} +.xpress-editor .tool li.character .layer .list li button{ width:20px; height:18px;} +.xpress-editor .tool li.character .layer .list li button.hover{ border:2px solid #27c11a;} +.xpress-editor .tool li.character .layer .list li button span{ overflow:visible; font-size:12px; width:auto; height:auto; position:relative; visibility:visible; line-height:normal;} +.xpress-editor .tool li.character .layer p{ position:absolute; top:212px; left:7px;} +.xpress-editor .tool li.character .layer p *{ vertical-align:top;} +.xpress-editor .tool li.character .layer p label{ position:relative; top:4px; margin:0 7px 0 0; color:#333; letter-spacing:-1px;} +.xpress-editor .tool li.character .layer p input{ padding:3px 0 0 4px; margin:0 4px 0 0; width:300px; _width /**/:306px; height:16px; _height /**/:20px; border:1px solid #acacac; border-right:1px solid #dadada; border-bottom:1px solid #dadada;} +.xpress-editor .tool li.character .layer p button{ position:relative; *top:1px; width:38px; height:21px; background:url(../img/btn_layer_confirm.gif) no-repeat;} +.xpress-editor .tool li.character .layer p button span{ position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;} + +.xpress-editor .tool li.find .layer{ width:242px;} +.xpress-editor .tool li.find .layer h3{ background:#f2f2f2; color:#333; height:21px; margin:0 0 11px 0; padding:7px 0 0 5px;} +.xpress-editor .tool li.find .layer .menu_tab{ position:relative; z-index:20; width:100%; *zoom:1;} +.xpress-editor .tool li.find .layer .menu_tab:after{ content:""; display:block; clear:both;} +.xpress-editor .tool li.find .layer .layer_tab{ position:relative; left:10px; padding:0; margin:0; clear:both;} +.xpress-editor .tool li.find .layer .layer_tab li{ position:relative; z-index:1; float:left; margin-right:1px; background:url(../img/btn_layer_tab.gif) no-repeat 0 0;} +.xpress-editor .tool li.find .layer .layer_tab li a{ position:relative; display:block; float:left; left:2px; height:15px; padding:4px 9px 0 5px; color:#404040; text-decoration:none; background:url(../img/btn_layer_tab.gif) no-repeat right 0;} +.xpress-editor .tool li.find .layer.find .layer_tab li.tab1, +.xpress-editor .tool li.find .layer.replace .layer_tab li.tab2{ top:-1px; margin-bottom:-1px;} +.xpress-editor .tool li.find .layer.find .layer_tab li.tab1 a, +.xpress-editor .tool li.find .layer.replace .layer_tab li.tab2 a{ height:18px;} +.xpress-editor .tool li.find .layer .container{ position:relative; z-index:1; clear:both; top:-2px;} +.xpress-editor .tool li.find .layer .container .bx{ display:none; position:relative; width:222px; left:10px; clear:both; z-index:1; background:url(../img/bx_find.gif) no-repeat;} +.xpress-editor .tool li.find .layer.find .container #find, +.xpress-editor .tool li.find .layer.replace .container #replace{ display:block;} + +.xpress-editor .tool li.find .layer .bx fieldset{ position:relative; padding:13px 0 17px 11px;} +.xpress-editor .tool li.find .layer .bx fieldset *{ vertical-align:top;} +.xpress-editor .tool li.find .layer .bx label{ position:relative; top:4px; margin:0 7px 0 0; font-size:11px; letter-spacing:-1px; color:#333;} +.xpress-editor .tool li.find .layer .bx input{ padding:3px 0 0 4px; width:144px; _width /**/:150px; height:14px; _height /**/:19px; border:1px solid #acacac; border-right:1px solid #dadada; border-bottom:1px solid #dadada;} +.xpress-editor .tool li.find .layer .bx .cap{ position:absolute; left:0; bottom:0; display:block; width:222px; height:2px; _margin:0 0 -1px 0; overflow:hidden; background:#fff url(../img/bx_find.gif) no-repeat left bottom; font-size:0; line-height:0;} +.xpress-editor .tool li.find .layer .bx#replace fieldset{ height:45px; _height /**/:75px;} +.xpress-editor .tool li.find .layer .bx#replace fieldset #keyword2{ margin-bottom:6px;} +.xpress-editor .tool li.find .layer .btn_area button{ display:none; *margin:0 2px !important;} +.xpress-editor .tool li.find .layer.find .btn_area .find_next{ display:inline; width:62px; height:21px; background:url(../img/btn_layer_find_next_strong.gif) no-repeat;} +.xpress-editor .tool li.find .layer.replace .btn_area .find_next{ display:inline; width:55px; height:21px; background:url(../img/btn_layer_find_next.gif) no-repeat;} +.xpress-editor .tool li.find .layer.replace .btn_area .replace{ display:inline; width:48px; height:21px; background:url(../img/btn_layer_replace.gif) no-repeat;} +.xpress-editor .tool li.find .layer.replace .btn_area .replace_all{ display:inline; width:69px; height:21px; background:url(../img/btn_layer_replace_all.gif) no-repeat;} +.xpress-editor .tool li.find .layer .btn_area .cancel{ display:inline;} + +.xpress-editor .tool li.extensions .layer{ width:auto; white-space:nowrap; padding:5px 10px;} +.xpress-editor .tool li.extensions .layer li{ margin:2px 0;} +.xpress-editor .tool li.extensions .layer li a { color:#000; text-decoration:none; } +.xpress-editor .tool li.extensions .layer li a:hover { text-decoration:underline; } + +/* File Uploader */ +.xpress-editor .fileUploader{ clear:both; padding-top:5px; margin-bottom:10px;} +.xpress-editor .fileUploader:after{ content:""; display:block; clear:both;} +.xpress-editor .fileUploader .preview{ float:left; width:64px; height:64px; border:1px solid #ccc;; padding:2px; margin:0 10px 5px 0;} +.xpress-editor .fileUploader .preview.black { background-color:#000; border:1px solid #666;} +.xpress-editor .fileUploader .preview img{ display:block; width:64px; height:64px;} +.xpress-editor .fileUploader .fileListArea{ float:left; width:260px; margin:0 10px 5px 0;} +.xpress-editor .fileUploader .fileListArea select{ width:100%; height:70px; overflow:auto;} +.xpress-editor .fileUploader .fileListArea select option{ font-size:11px;} +.xpress-editor .fileUploader .fileListArea.black select { background-color:#000; border:1px solid #666;} +.xpress-editor .fileUploader .fileListArea.black select option { color:#aaa; } +.xpress-editor .fileUploader .fileUploadControl{ clear:right;} +.xpress-editor .fileUploader .fileUploadControl .button{ margin-bottom:5px;} +.xpress-editor .fileUploader .file_attach_info{ clear:right; margin:5px 0;} + +/* Auto Save */ +.xpress-editor .autosave_message { display:none; background: #f6ffdb; padding:6px 10px; margin:0; line-height:1;} +.xpress-editor.black .autosave_message { display:none; background:#222; padding:6px 10px; margin:0; line-height:1; color:#fff; } +.xpress-editor .input_syntax.black { background:transparent; color:#fff; } From fbc99893be6d859c4cb4ad3cd77c6db7de498b9c Mon Sep 17 00:00:00 2001 From: ChanMyeong Date: Wed, 6 May 2009 08:54:53 +0000 Subject: [PATCH 042/178] =?UTF-8?q?=EC=97=90=EB=94=94=ED=84=B0=20=EB=B0=B0?= =?UTF-8?q?=EA=B2=BD=EC=83=89=20=EC=98=A4=EB=A5=98=20=EC=A0=95=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6285 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/skins/xpresseditor/css/default.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/editor/skins/xpresseditor/css/default.css b/modules/editor/skins/xpresseditor/css/default.css index 06b47fdb6..4ad264729 100644 --- a/modules/editor/skins/xpresseditor/css/default.css +++ b/modules/editor/skins/xpresseditor/css/default.css @@ -19,7 +19,7 @@ /* Layout Selector */ .xpress-editor{ position:relative; background:transparent;} -.xpress-editor #smart_content{ position:relative; clear:both; margin:0 0 10px 0; border:1px solid #c2c2c2; *zoom:1; z-index:5} +.xpress-editor #smart_content{ position:relative; clear:both; margin:0 0 10px 0; border:1px solid #c2c2c2; *zoom:1; z-index:5; background:#fff;} .xpress-editor #smart_footer{ position:relative; text-align:center; padding:10px 0;} /* Footer */ From c72d8936a36deb7af172f62f9f02027d964c3cb9 Mon Sep 17 00:00:00 2001 From: ChanMyeong Date: Wed, 6 May 2009 09:00:39 +0000 Subject: [PATCH 043/178] =?UTF-8?q?FF2=EC=9A=A9=20=EB=82=A1=EC=9D=80=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=A0=9C=EA=B1=B0=20=EB=B0=8F=20IE=206~7?= =?UTF-8?q?=20=EB=8C=80=EC=9D=91=20=ED=95=B5=20=EC=B6=94=EA=B0=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6286 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/css/button.css | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/common/css/button.css b/common/css/button.css index 25336fc1c..322a8ff77 100644 --- a/common/css/button.css +++ b/common/css/button.css @@ -6,55 +6,35 @@ a.button, a.button span { position:relative; display:inline-block; text-decoration:none !important; background:url(../tpl/images/buttonWhite.gif) no-repeat; cursor:pointer; white-space:nowrap; vertical-align:middle; *vertical-align:top;} a.button { padding:0; background-position:left top; overflow:visible;} a.button span { left:2px; padding:6px 10px 5px 8px; color:#000; font:12px/12px Sans-serif; background-position:right top;} -a.button, x:-moz-any-link { font:0/23px Sans-serif; padding:12px 0; top:1px;} /* Firefox 2 Fix */ -a.button, x:-moz-any-link, x:default { padding:0; top:0;} /* Firefox 2 Fix */ /* Large Size */ a.button.large { background-position:left -30px; } a.button.large span { padding:7px 10px 6px 8px; font:16px/16px Sans-serif; background-position:right -30px;} -a.button.large, x:-moz-any-link { font:0/29px Sans-serif; padding:15px 0;} /* Firefox 2 Fix */ -a.button.large, x:-moz-any-link, x:default { padding:0;} /* Firefox 2 Fix */ /* xLarge Size */ a.button.xLarge { background-position:left -65px; } a.button.xLarge span { padding:8px 10px 7px 8px; font:20px/20px Sans-serif; background-position:right -65px;} -a.button.xLarge, x:-moz-any-link { font:0/35px Sans-serif; padding:18px 0;} /* Firefox 2 Fix */ -a.button.xLarge, x:-moz-any-link, x:default { padding:0;} /* Firefox 2 Fix */ /* Small Size */ a.button.small { background-position:left -107px; } a.button.small span { padding:4px 6px 3px 4px; font:11px/11px Sans-serif; background-position:right -107px;} -a.button.small, x:-moz-any-link { font:0/18px Sans-serif; padding:9px 0;} /* Firefox 2 Fix */ -a.button.small, x:-moz-any-link, x:default { padding:0;} /* Firefox 2 Fix */ /* Control Button + Submit Button */ span.button, span.button button, span.button input { position:relative; margin:0; display:inline-block; border:0; font:12px Sans-serif; white-space:nowrap; background:url(../tpl/images/buttonWhite.gif) no-repeat; vertical-align:middle;} span.button { padding:0; background-position:left top;} -span.button, x:-moz-any-link{ font:0/23px Sans-serif; padding:11px 0;} /* Firefox 2 Fix */ -span.button, x:-moz-any-link, x:default{ padding:0;} /* Firefox 2 Fix */ span.button button, -span.button input { height:23px; left:2px; *top:-1px; _top:0; padding:0 10px 0 8px; *padding:0 5px 0 3px; line-height:24px; background-position:right top; cursor:pointer;} +span.button input { height:23px; left:2px; *top:-1px; _top:0; padding:0 10px 0 8px; line-height:24px; background-position:right top; cursor:pointer; *overflow:visible;} /* Large Size */ span.button.large { background-position:left -30px;} -span.button.large, x:-moz-any-link{ font:0/29px Sans-serif; padding:14px 0;} /* Firefox 2 Fix */ -span.button.large, x:-moz-any-link, x:default{ padding:0;} /* Firefox 2 Fix */ span.button.large button, -span.button.large input { height:30px; *top:0; _top:-1px; padding:0 10px 0 8px; *padding:0 5px 0 3px; font:16px/30px Sans-serif; background-position:right -30px;} +span.button.large input { height:30px; *top:0; _top:-1px; padding:0 10px 0 8px; font:16px/30px Sans-serif; background-position:right -30px;} /* xLarge Size */ span.button.xLarge { background-position:left -65px;} -span.button.xLarge, x:-moz-any-link{ font:0/35px Sans-serif; padding:17px 0;} /* Firefox 2 Fix */ -span.button.xLarge, x:-moz-any-link, x:default{ padding:0;} /* Firefox 2 Fix */ span.button.xLarge button, -span.button.xLarge input { height:35px; padding:0 10px 0 8px; *padding:0 5px 0 3px; font:20px/36px Sans-serif; background-position:right -65px;} +span.button.xLarge input { height:35px; padding:0 10px 0 8px; font:20px/36px Sans-serif; background-position:right -65px;} /* Small Size */ span.button.small { background-position:left -107px;} -span.button.small, x:-moz-any-link{ font:0/18px Sans-serif; padding:9px 0;} /* Firefox 2 Fix */ -span.button.small, x:-moz-any-link, x:default{ padding:0;} /* Firefox 2 Fix */ span.button.small button, -span.button.small input { height:18px; *top:0; _top:-1px; padding:0 6px 0 4px; *padding:0 3px 0 2px; font:11px/18px Sans-serif; background-position:right -107px;} -span.button.small button, x:-moz-any-link, -span.button.small input, x:-moz-any-link{ top:-1px;} /* Firefox 2 Fix */ -span.button.small button, x:-moz-any-link, x:default, -span.button.small input, x:-moz-any-link, x:default{ top:0;} /* Firefox 2 Fix */ +span.button.small input { height:18px; *top:0; _top:-1px; padding:0 6px 0 4px; font:11px/18px Sans-serif; background-position:right -107px;} /* Strong Button */ a.button.strong *, From 6a1731a58fd26c99f488862503ae68ec88237a38 Mon Sep 17 00:00:00 2001 From: ChanMyeong Date: Wed, 6 May 2009 09:03:51 +0000 Subject: [PATCH 044/178] =?UTF-8?q?=EC=97=90=EB=94=94=ED=84=B0=20=ED=99=95?= =?UTF-8?q?=EC=9E=A5=20=EC=BD=A4=ED=8F=AC=EB=84=8C=ED=8A=B8=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20IE6~7=20=EB=94=94=EB=B2=84=EA=B9=85.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6287 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/skins/xpresseditor/css/default.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/editor/skins/xpresseditor/css/default.css b/modules/editor/skins/xpresseditor/css/default.css index 4ad264729..a872477c2 100644 --- a/modules/editor/skins/xpresseditor/css/default.css +++ b/modules/editor/skins/xpresseditor/css/default.css @@ -69,7 +69,7 @@ .xpress-editor .tool li.extensions span.exButton, .xpress-editor .tool li.extensions span.exButton button{ float:left; position:relative; display:inline-block; width:auto; background:url(../img/btn_extension.gif) no-repeat left top;} .xpress-editor .tool li.extensions span.exButton{ margin-right:18px;} -.xpress-editor .tool li.extensions span.exButton button{ left:18px; height:21px; background-position:right top; padding:0 4px 0 0; font:11px/21px Tahoma, Sans-serif; text-align:left;} +.xpress-editor .tool li.extensions span.exButton button{ left:18px; height:21px; background-position:right top; padding:0 4px 0 0; font:11px/21px Tahoma, Sans-serif; text-align:left; *overflow:visible;} .xpress-editor.black .tool li.extensions span.exButton, .xpress-editor.black .tool li.extensions span.exButton button{ color:#fff; background-image:url(../img/btn_extension.black.gif); } @@ -85,7 +85,7 @@ .xpress-editor .tool li.html span, .xpress-editor .tool li.preview span{ margin-right:2px; background-position:left top;} .xpress-editor .tool li.html span button, -.xpress-editor .tool li.preview span button{ left:2px; height:21px; background-position:right top; font:11px/21px Tahoma, Sans-serif; padding:0 4px;} +.xpress-editor .tool li.preview span button{ left:2px; height:21px; background-position:right top; font:11px/21px Tahoma, Sans-serif; padding:0 4px; *overflow:visible;} .xpress-editor .tool ul.type li{ float:none; display:inline; *top:1px;} .xpress-editor .tool ul.type li select{ height:21px; width:62px;} From 6392d0cdffd53d50ab9fa8954939aaeb56d9bf9f Mon Sep 17 00:00:00 2001 From: ChanMyeong Date: Wed, 6 May 2009 09:23:00 +0000 Subject: [PATCH 045/178] =?UTF-8?q?=EC=97=90=EB=94=94=ED=84=B0=20=ED=99=95?= =?UTF-8?q?=EC=9E=A5=20=EC=BD=A4=ED=8F=AC=EB=84=8C=ED=8A=B8=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20IE6~7=20=EB=94=94=EB=B2=84=EA=B9=85.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6288 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/skins/xpresseditor/css/default.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/editor/skins/xpresseditor/css/default.css b/modules/editor/skins/xpresseditor/css/default.css index a872477c2..b3a30f7e0 100644 --- a/modules/editor/skins/xpresseditor/css/default.css +++ b/modules/editor/skins/xpresseditor/css/default.css @@ -69,7 +69,7 @@ .xpress-editor .tool li.extensions span.exButton, .xpress-editor .tool li.extensions span.exButton button{ float:left; position:relative; display:inline-block; width:auto; background:url(../img/btn_extension.gif) no-repeat left top;} .xpress-editor .tool li.extensions span.exButton{ margin-right:18px;} -.xpress-editor .tool li.extensions span.exButton button{ left:18px; height:21px; background-position:right top; padding:0 4px 0 0; font:11px/21px Tahoma, Sans-serif; text-align:left; *overflow:visible;} +.xpress-editor .tool li.extensions span.exButton button{ left:18px; height:21px; background-position:right top; padding:0 4px 0 0; font:11px/21px Tahoma, Sans-serif; text-align:left; *overflow:visible; *line-height:20px;} .xpress-editor.black .tool li.extensions span.exButton, .xpress-editor.black .tool li.extensions span.exButton button{ color:#fff; background-image:url(../img/btn_extension.black.gif); } @@ -85,7 +85,7 @@ .xpress-editor .tool li.html span, .xpress-editor .tool li.preview span{ margin-right:2px; background-position:left top;} .xpress-editor .tool li.html span button, -.xpress-editor .tool li.preview span button{ left:2px; height:21px; background-position:right top; font:11px/21px Tahoma, Sans-serif; padding:0 4px; *overflow:visible;} +.xpress-editor .tool li.preview span button{ left:2px; height:21px; background-position:right top; font:11px/21px Tahoma, Sans-serif; padding:0 4px; *overflow:visible; *line-height:20px;} .xpress-editor .tool ul.type li{ float:none; display:inline; *top:1px;} .xpress-editor .tool ul.type li select{ height:21px; width:62px;} From 1da5dfaeb3431679570313a78597212f65634af0 Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 6 May 2009 09:28:13 +0000 Subject: [PATCH 046/178] =?UTF-8?q?context=20class=EC=97=90=20=EB=AA=A8?= =?UTF-8?q?=EB=93=A0=20cssfile/=20jsfile=EC=9D=84=20=EC=A0=9C=EA=B1=B0?= =?UTF-8?q?=ED=95=98=EB=8A=94=20method=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6289 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/context/Context.class.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index 3d89a4174..ba2609b27 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -1100,6 +1100,18 @@ } } + /** + * @brief 모든 JS File을 제거 + **/ + function unloadAllJsFiles() { + $oContext = &Context::getInstance(); + return $oContext->_unloadAllJsFiles(); + } + + function _unloadAllJsFiles() { + $this->js_files = array(); + } + /** * @brief javascript filter 추가 **/ @@ -1184,6 +1196,18 @@ } } + /** + * @brief 모든 CSS File을 제거 + **/ + function unloadAllCSSFiles() { + $oContext = &Context::getInstance(); + return $oContext->_unloadAllCSSFiles(); + } + + function _unloadAllCSSFiles() { + $this->css_files = array(); + } + /** * @brief CSS file 목록 return **/ From 59084f558a2d88b56e2a894ec14ca586bb5f0cc7 Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 6 May 2009 09:46:18 +0000 Subject: [PATCH 047/178] =?UTF-8?q?smartphone=20=EC=95=A0=EB=93=9C?= =?UTF-8?q?=EC=98=A8=EC=9D=84=20=EC=95=84=EC=9D=B4=ED=8F=B0/=EC=98=B4?= =?UTF-8?q?=EB=8B=88=EC=95=84=EC=97=90=20=EB=A7=9E=EA=B2=8C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6290 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../smartphone/classes/smartphone.class.php | 7 ++ addons/smartphone/tpl/layout.html | 8 +- addons/smartphone/tpl/smartphone.css | 92 ++++++++----------- addons/smartphone/tpl/smartphone.js | 13 ++- 4 files changed, 59 insertions(+), 61 deletions(-) diff --git a/addons/smartphone/classes/smartphone.class.php b/addons/smartphone/classes/smartphone.class.php index 623f1bb90..0b67e9bd3 100644 --- a/addons/smartphone/classes/smartphone.class.php +++ b/addons/smartphone/classes/smartphone.class.php @@ -19,6 +19,7 @@ } function smartphoneXE($oModule, $module_info, $output) { + $this->oModule = $oModule; $this->module_info = $module_info; @@ -74,6 +75,12 @@ } function procSmartPhone() { + if(preg_match('/(iPopd|iPhone)/',$_SERVER['HTTP_USER_AGENT'])) { + Context::addHtmlHeader(''); + } else if(preg_match('/PPC/',$_SERVER['HTTP_USER_AGENT'])) { + Context::addHtmlHeader(''); + } + if(is_a($this->output, 'Object') || is_subclass_of($this->output, 'Object')) { $this->setContent($this->output->getMessage()); return; diff --git a/addons/smartphone/tpl/layout.html b/addons/smartphone/tpl/layout.html index 918b77ede..bf8cec8c0 100644 --- a/addons/smartphone/tpl/layout.html +++ b/addons/smartphone/tpl/layout.html @@ -2,10 +2,12 @@
    -

    {Context::getBrowserTitle()}

    +

    {Context::getBrowserTitle()}

    -{$smart_content} +
    + {$smart_content} +
    @@ -15,5 +17,5 @@ Prev Next - Menu + Menu
    diff --git a/addons/smartphone/tpl/smartphone.css b/addons/smartphone/tpl/smartphone.css index fac55d404..0c662ebaf 100644 --- a/addons/smartphone/tpl/smartphone.css +++ b/addons/smartphone/tpl/smartphone.css @@ -16,7 +16,6 @@ body { height: 43px; overflow:hidden; background:#485567 url(./images/titlebar.png) repeat-x left top; - margin-bottom:20px; box-sizing: border-box; -moz-box-sizing: border-box; @@ -26,29 +25,26 @@ body { .smartPhoneTitleBar h1 { white-space:nowrap; overflow: hidden; - color: #FFFFFF; font-size: 20px; font-weight: bold; padding:8px 10px; margin:0; - text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; text-overflow: ellipsis; } +.smartPhoneTitleBar h1 a { + text-decoration:none; + color:#fff; +} + .smartPhoneContent { - position:absolute; - top:55px; - bottom:55px; - left:10px; - right:10px; z-index:450; - overflow-x:hidden; - overflow-y:auto; border: 1px solid #999999; padding: 20px; background-color:#fff; + margin:10px; box-sizing: border-box; -webkit-box-sizing: border-box; -webkit-border-radius: 8px; @@ -62,11 +58,7 @@ body { height: 43px; overflow:hidden; background:#485567 url(./images/titlebar.png) repeat-x left top; - position:absolute; - bottom:0; white-space:nowrap; - text-align:center; - box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; @@ -79,16 +71,40 @@ body { border:0; } +.smartPhoneContent div.info { + font-size:13px; + padding-bottom:10px; + border-bottom:1px solid #444; + overflow:hidden; + *zoom:1; +} + +.smartPhoneContent div.info .author { + font-weight:bold; + float:left; +} + +.smartPhoneContent div.info .date { + font-size:11px; + float:right; +} + +.smartPhoneContent div.link { + margin-top:10px; + border-top:1px solid #444; +} + +.smartPhoneContent div.link a { + display:block; + padding:5px 0; + font-size:13px; + text-decoration:none; + color:#000; +} + .smartPhoneList { - position:absolute; - overflow-x:hidden; - overflow-y:auto; background-color:#fff; z-index:500; - left:0; - right:0; - top:43px; - bottom:43px; padding:0; margin:0; } @@ -99,14 +115,13 @@ body { left:0; right:0; top:43px; - bottom:43px; } .smartPhoneList li { list-style:none; font-size:18px; font-weight:bold; - padding:10px; + padding:10px 20px 10px 10px; border-bottom:1px solid #ccc; } @@ -141,39 +156,10 @@ body { color:#fff; } -.smartPhoneContent div.info { - font-size:13px; - padding-bottom:10px; - border-bottom:1px solid #444; - overflow:hidden; - *zoom:1; -} - -.smartPhoneContent div.info .author { - font-weight:bold; - float:left; -} - -.smartPhoneContent div.info .date { - font-size:11px; - float:right; -} - -.smartPhoneContent div.link { - margin-top:10px; - border-top:1px solid #444; -} - -.smartPhoneContent div.link a { - display:block; - padding:5px 0; - font-size:13px; - text-decoration:none; - color:#000; -} .smartPhoneList li a { background:transparent url(./images/listArrow.png) no-repeat scroll right center; + padding-right:30px; } .smartPhoneList li.noArrow a { diff --git a/addons/smartphone/tpl/smartphone.js b/addons/smartphone/tpl/smartphone.js index 611c93280..99b1a49b3 100644 --- a/addons/smartphone/tpl/smartphone.js +++ b/addons/smartphone/tpl/smartphone.js @@ -4,7 +4,8 @@ function showXEMenu() { xeSmartMenu = jQuery('
    ') .attr("className","smartPhoneList") - .css('display','none'); + .css('display','none') + .css('backgroundColor','#fff'); jQuery(document.body).append(xeSmartMenu); @@ -14,9 +15,10 @@ function showXEMenu() { if(w>jQuery(document).width()) { this.css({left:0,right:0,display:'block'}); this.width(''); + jQuery('.smartPhoneContentArea').css("display","none"); } else { this.width(w); - var o = parseInt(jQuery(document).width/w,10)/10; + var o = parseInt(jQuery(document).width/w,10)/5; if(o>1) o = 1; setTimeout(function() { xeSmartMenu.slideIn(step+1); }, 50); } @@ -27,8 +29,9 @@ function showXEMenu() { if(l>jQuery('.smartPhoneContent').width()) { this.css({display:'none','left':''}); + jQuery('.smartPhoneContentArea').css("display","block"); } else { - var o = parseInt(jQuery(document).width/l,10)/10; + var o = parseInt(jQuery(document).width/l,10)/5; if(o<0) o = 0; this.css('left',l+'px'); setTimeout(function() { xeSmartMenu.slideOut(step+1); }, 50); @@ -39,7 +42,7 @@ function showXEMenu() { if(xeSmartMenu.css('display')=='none' && typeof(xeMenus)!='undefined') { var menu = findSmartNode(xeMenus); if(!menu) menu = xeMenus; - var html = '