From 16925ca91b5e9fd3599e986a9a1548acc97581ad Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 25 Jun 2007 08:38:40 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@1759 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/addon/lang/ko.lang.php | 9 +- modules/addon/tpl/addon_list.html | 54 +++--- modules/admin/tpl/css/admin.css | 5 + modules/admin/tpl/js/admin.js | 1 + modules/admin/tpl/layout.html | 2 +- modules/blog/tpl/blog_delete.html | 24 +-- modules/editor/tpl/editor.html | 1 + modules/layout/lang/ko.lang.php | 2 + .../layout/tpl/downloaded_layout_list.html | 46 ++--- modules/layout/tpl/header.html | 22 +-- modules/layout/tpl/index.html | 51 +++--- modules/layout/tpl/insert_layout.html | 52 +++--- modules/layout/tpl/layout_edit.html | 59 ++++--- modules/layout/tpl/layout_modify.html | 162 +++++++++--------- modules/page/tpl/page_delete.html | 23 +-- 15 files changed, 262 insertions(+), 251 deletions(-) diff --git a/modules/addon/lang/ko.lang.php b/modules/addon/lang/ko.lang.php index e4bcf8239..83c7e54db 100644 --- a/modules/addon/lang/ko.lang.php +++ b/modules/addon/lang/ko.lang.php @@ -5,9 +5,10 @@ * @brief 한국어 언어팩 **/ - $lang->addon_info = "애드온정보"; - $lang->addon_maker = "애드온 제작자"; - $lang->addon_history = "변경 사항 "; + $lang->addon_info = '애드온정보'; + $lang->addon_maker = '애드온 제작자'; + $lang->addon_history = '변경 사항 '; - $lang->about_addon = "애드온은 html결과물을 출력하기 보다 동작을 제어하는 역할을 합니다.\n원하시는 애드온을 on/ off하시는 것만으로 사이트 운영에 유용한 기능을 연동할 수 있습니다."; + $lang->about_addon = '애드온은 html결과물을 출력하기 보다 동작을 제어하는 역할을 합니다.
원하시는 애드온을 on/ off하시는 것만으로 사이트 운영에 유용한 기능을 연동할 수 있습니다.'; + $lang->admin_module_title = '애드온'; ?> diff --git a/modules/addon/tpl/addon_list.html b/modules/addon/tpl/addon_list.html index 4beae8528..718308523 100644 --- a/modules/addon/tpl/addon_list.html +++ b/modules/addon/tpl/addon_list.html @@ -1,10 +1,8 @@ - -
- {nl2br($lang->about_addon)} -
+

{$lang->admin_module_title} {$lang->cmd_management}

+
{nl2br($lang->about_addon)}
@@ -12,47 +10,51 @@
- - - - - - - - - - - +
{$lang->addon_name}{$lang->version}{$lang->author}{$lang->date}{$lang->installed_path}{$lang->addon_info}{$lang->cmd_setup}{$lang->use}
+ + + + + + + + + + + + + - + + - - - - + + + - - +
{$lang->addon_name}{$lang->version}{$lang->author}{$lang->date}{$lang->installed_path}{$lang->addon_info}{$lang->cmd_setup}{$lang->use}
+ {$val->title}
({$val->addon}) - -
{$val->version}{$val->version} {$val->author->name}{$val->author->date}{$val->path}{$lang->cmd_view} + {$val->author->date}{$val->path}{$lang->cmd_view} {$lang->cmd_setup} + - {$lang->notuse} + {$lang->notuse} - {$lang->use} + {$lang->use}
+ {nl2br($val->author->description)}
diff --git a/modules/admin/tpl/css/admin.css b/modules/admin/tpl/css/admin.css index c57d5d59a..7c1d39af9 100644 --- a/modules/admin/tpl/css/admin.css +++ b/modules/admin/tpl/css/admin.css @@ -90,6 +90,7 @@ h4 .view { color:#158692; padding-right:.6em; font:bold .9em Tahoma; background: /* tableStyle */ .infoText { border:1px solid #f2f2f0; margin-bottom:12px; background:#f9f9f6; padding:1.2em; color:#7b7972; font-size:.9em; line-height:1.4em;} +.gap1 { margin-top:1em; } .tableSummaryType1 { font:bold .8em Tahoma; color:#a0a0a0; margin-bottom:10px;} .tableSummaryType1 strong { font:bold 1em Tahoma; color:#ff1a00;} .tableType1 { width:100%; border-bottom:2px solid #c1c0bd;} @@ -171,3 +172,7 @@ h4 .view { color:#158692; padding-right:.6em; font:bold .9em Tahoma; background: #category_list .checkbox { margin-top:1em; border:0px; } #category_info { float:left; width:370px; padding-left:10px; } /* ----- Category Manager | End ----- */ + +.widget_item { float: left; white-space:nowrap; background-color:#FEFEFE; line-height:150%; margin-right:1em; } +.layout_editor_box { padding:10px; border:1px solid #DDDDDD; } +.layout_editor { width:100%; height:500px; border:0px;} diff --git a/modules/admin/tpl/js/admin.js b/modules/admin/tpl/js/admin.js index e00b8301c..0eb59608a 100644 --- a/modules/admin/tpl/js/admin.js +++ b/modules/admin/tpl/js/admin.js @@ -20,6 +20,7 @@ function fixAdminLayoutFooter() { var footerHeight = xHeight(xGetElementById('footer')); var clientHeight = xClientHeight(); var newHeight = clientHeight - footerHeight - headerHeight + 71 + 38; + if(typeof(editor_height)!='undefined') newHeight += editor_height; if(newHeight
  • module)-->class="on"> - {$val->title} + {cut_str($val->title,14,'..')}
  • diff --git a/modules/blog/tpl/blog_delete.html b/modules/blog/tpl/blog_delete.html index 13d4793ba..215def022 100644 --- a/modules/blog/tpl/blog_delete.html +++ b/modules/blog/tpl/blog_delete.html @@ -1,33 +1,35 @@ +
    - +
    + + - + - + - + - + - - -
    {$lang->confirm_delete}{$lang->confirm_delete}
    {$lang->module_name}{$lang->module_name} {$module_info->mid}
    {$lang->module}{$lang->module} {$module_info->module}
    {$lang->document_count}{$lang->document_count} {$module_info->document_count}
    - - -
    + +
    diff --git a/modules/editor/tpl/editor.html b/modules/editor/tpl/editor.html index 74a8520bc..6d77a40c7 100644 --- a/modules/editor/tpl/editor.html +++ b/modules/editor/tpl/editor.html @@ -3,6 +3,7 @@ diff --git a/modules/layout/lang/ko.lang.php b/modules/layout/lang/ko.lang.php index cac86a54f..9421115e6 100644 --- a/modules/layout/lang/ko.lang.php +++ b/modules/layout/lang/ko.lang.php @@ -29,4 +29,6 @@ "아래 레이아웃의 코드를 직접 수정후 저장하시면 서비스에 반영이 됩니다. 꼭 미리보기를 하신 후에 저장을 하세요. 제로보드XE의 템플릿 문법은 [제로보드XE 템플릿] 을 참고하시면 됩니다."; + + $lang->admin_module_title = '레이아웃'; ?> diff --git a/modules/layout/tpl/downloaded_layout_list.html b/modules/layout/tpl/downloaded_layout_list.html index 388c95510..05663027e 100644 --- a/modules/layout/tpl/downloaded_layout_list.html +++ b/modules/layout/tpl/downloaded_layout_list.html @@ -1,19 +1,20 @@ -
    - +
    + - - - - - - - - + + + + + + + + - + + @@ -23,16 +24,16 @@ {$val->title}
    ({$val->layout}) - - + - - - - + + + + + - @@ -40,11 +41,10 @@ - - + + - -
    {$lang->layout_name}{$lang->layout_info}{$lang->version}{$lang->author}{$lang->menu_count}{$lang->date}{$lang->path}{$lang->cmd_make}{$lang->layout_name}{$lang->version}{$lang->author}{$lang->menu_count}{$lang->date}{$lang->path}{$lang->layout_info}{$lang->cmd_make}
    {$lang->cmd_view}{$val->version}{$val->version} {$val->author->name}{$val->menu_count}{$val->author->date}{$val->path}{$lang->cmd_make}{$val->menu_count}{$val->author->date}{$val->path}{$lang->cmd_view}{$lang->cmd_make}
    + {nl2br($val->author->description)}
    {$val->layout}{$val->path}{$lang->cmd_make}{$val->path}{$lang->cmd_make}
    -
    + + diff --git a/modules/layout/tpl/header.html b/modules/layout/tpl/header.html index 50669d912..174a92c0d 100644 --- a/modules/layout/tpl/header.html +++ b/modules/layout/tpl/header.html @@ -1,20 +1,14 @@ +

    {$lang->admin_module_title} {$lang->cmd_management}

    + -
    - style="font-weight:bold">[{$lang->layout_list}] - style="font-weight:bold">[{$lang->downloaded_list}] -
    - - - -
    - - {$lang->cmd_layout_management} - - {$lang->cmd_layout_edit} - -
    +
    + +
    diff --git a/modules/layout/tpl/index.html b/modules/layout/tpl/index.html index 18a884648..f47910fb5 100644 --- a/modules/layout/tpl/index.html +++ b/modules/layout/tpl/index.html @@ -1,15 +1,8 @@ - -
    - {nl2br($lang->about_layout)} -
    - -
    - {$lang->total_count} {number_format(count($layout_list))} -
    +
    {nl2br($lang->about_layout)}
    @@ -17,21 +10,22 @@
    -
    - +
    + - - - - - - - + + + + + + + - + + - + - - + - - - -
    {$lang->no}{$lang->layout}{$lang->title}{$lang->regdate}{$lang->cmd_layout_management}{$lang->cmd_layout_edit}{$lang->cmd_delete}{$lang->no}{$lang->layout}{$lang->title}{$lang->regdate}{$lang->cmd_layout_management}{$lang->cmd_layout_edit}{$lang->cmd_delete}
    {$no+1}{$no+1} {$val->layout} @@ -39,27 +33,26 @@ {htmlspecialchars($val->title)}{zdate($val->regdate,"Y-m-d")} + {zdate($val->regdate,"Y-m-d")} {$lang->cmd_layout_management} + {$lang->cmd_layout_edit} + {$lang->cmd_delete}
    -
    + + -
    - [{$lang->cmd_make}] -
    + diff --git a/modules/layout/tpl/insert_layout.html b/modules/layout/tpl/insert_layout.html index 52d6cade8..ae8cc4364 100644 --- a/modules/layout/tpl/insert_layout.html +++ b/modules/layout/tpl/insert_layout.html @@ -3,31 +3,31 @@
    -
    - - - - - - - - - - - - - - - -
    {$lang->layout_name} - -
    {$lang->title}
    {$lang->about_title}
    - - -
    + + + + + + + + + + + + +
    {$lang->layout_name} + +
    {$lang->title} + +

    {$lang->about_title}

    +
    + +
    +
    + diff --git a/modules/layout/tpl/layout_edit.html b/modules/layout/tpl/layout_edit.html index bd1d7c91e..03f6398f4 100644 --- a/modules/layout/tpl/layout_edit.html +++ b/modules/layout/tpl/layout_edit.html @@ -3,37 +3,50 @@ - - - - - - - +
    {$selected_layout->title} ver {$selected_layout->version} ({$selected_layout->layout})
    {nl2br($lang->about_layout_code)}
    + + + + + + + + + +
    {$selected_layout->title} ver {$selected_layout->version} ({$selected_layout->layout})
    {nl2br($lang->about_layout_code)}
    -
    -
    {$lang->widget}
    -
    - - [{$widget->title}] - -
    -
    + + + + + + + + + + + +
    {$lang->widget}
    + + + +
    -
    +
    -
    - -
    -
    - - - +
    +
    + +
    diff --git a/modules/layout/tpl/layout_modify.html b/modules/layout/tpl/layout_modify.html index 84a82be50..626872f3d 100644 --- a/modules/layout/tpl/layout_modify.html +++ b/modules/layout/tpl/layout_modify.html @@ -2,96 +2,90 @@ -
    - - +
    +++ + + + + + + + + + + + + + + + + + + + +
    {$lang->layout}{$selected_layout->title} ver {$selected_layout->version} ({$selected_layout->layout})
    {$lang->path}{$selected_layout->path}
    {$lang->author}{$selected_layout->author->name}
    {$lang->description}{nl2br($selected_layout->author->description)}
    + +
    + + + + + - - - + + + - - - - - - - - + + + + + - - - - + + + +
    {$lang->layout}{$selected_layout->title} ver {$selected_layout->version} ({$selected_layout->layout})
    {$lang->title} + +

    {$lang->about_title}

    +
    {$lang->path}{$selected_layout->path}
    {$lang->author}{$selected_layout->author->name}
    {$var->title} + + + + + + + + + +

    {$var->description}

    +
    {$lang->description}{nl2br($selected_layout->author->description)}
    {$menu_info->title}
    ({$menu_name})
    + + + {$lang->cmd_management} +
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - -
    {$lang->title}
    {$lang->about_title}
    {$var->title} - -
    {$var->description}
    {$menu_info->title}
    ({$menu_name})
    - - -
    - - - - - - -
    - - -
    + + diff --git a/modules/page/tpl/page_delete.html b/modules/page/tpl/page_delete.html index ae789b73a..9765f8389 100644 --- a/modules/page/tpl/page_delete.html +++ b/modules/page/tpl/page_delete.html @@ -1,28 +1,31 @@ +
    - +
    + + - + - + - + - - -
    {$lang->confirm_delete}{$lang->confirm_delete}
    {$lang->module_name}{$lang->module_name} {$module_info->mid}
    {$lang->module}{$lang->module} {$module_info->module}
    - - -
    + + +