diff --git a/common/css/default.css b/common/css/default.css index 600c00cf1..a0855e9ff 100644 --- a/common/css/default.css +++ b/common/css/default.css @@ -30,6 +30,7 @@ label { cursor:pointer; } form { margin:0; padding:0; } .iePngFix { behavior:url(./common/js/iePngFix.htc); } +.zbxe_info { vertical-align:middle; behavior:url(./common/js/iePngFix.htc); } /* Input Style Definition */ .inputTypeText { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; height:1.4em; padding:.2em 0 0 .3em; background:#ffffff; font-size:1em; } diff --git a/common/js/common.js b/common/js/common.js index 717c77f2b..8f9dc4b6d 100644 --- a/common/js/common.js +++ b/common/js/common.js @@ -605,3 +605,8 @@ function doDocumentPreview(obj) { dummy_obj.submit(); } } + +/* 스킨 정보 */ +function viewSkinInfo(module, skin) { + popopen("./?module=module&act=dispModuleSkinInfo&selected_module="+module+"&skin="+skin, 'SkinInfo'); +} diff --git a/common/tpl/images/info.png b/common/tpl/images/info.png new file mode 100644 index 000000000..f253a8e34 Binary files /dev/null and b/common/tpl/images/info.png differ diff --git a/modules/board/skins/cozy_simple_gallery/header.html b/modules/board/skins/cozy_simple_gallery/header.html index 5698df766..faf6313b1 100644 --- a/modules/board/skins/cozy_simple_gallery/header.html +++ b/modules/board/skins/cozy_simple_gallery/header.html @@ -43,6 +43,7 @@
  • RSS
  • +
  • diff --git a/modules/board/skins/cozy_simple_list/header.html b/modules/board/skins/cozy_simple_list/header.html index 5698df766..0f408784f 100644 --- a/modules/board/skins/cozy_simple_list/header.html +++ b/modules/board/skins/cozy_simple_list/header.html @@ -43,6 +43,8 @@
  • RSS
  • + +
  • diff --git a/modules/board/skins/cozy_simple_webzine/header.html b/modules/board/skins/cozy_simple_webzine/header.html index 5698df766..faf6313b1 100644 --- a/modules/board/skins/cozy_simple_webzine/header.html +++ b/modules/board/skins/cozy_simple_webzine/header.html @@ -43,6 +43,7 @@
  • RSS
  • +
  • diff --git a/modules/board/skins/default/header.html b/modules/board/skins/default/header.html index acb3b4880..8a349def7 100644 --- a/modules/board/skins/default/header.html +++ b/modules/board/skins/default/header.html @@ -41,5 +41,6 @@ [{$lang->cmd_management}] + diff --git a/modules/board/skins/xe_gallery/css/common.css b/modules/board/skins/xe_gallery/css/common.css index 720bf0b45..c3b285297 100644 --- a/modules/board/skins/xe_gallery/css/common.css +++ b/modules/board/skins/xe_gallery/css/common.css @@ -23,6 +23,7 @@ Jeong, Chan Myeong 070601~070630 .accountNavigation li { float:left; padding:0 .5em 0 .6em; background:url(../images/common/line_1x10_e0e0e0.gif) no-repeat left .4em; list-style:none;} .accountNavigation li a { font-size:11px; white-space:nowrap; color:#666666; text-decoration:none;} .accountNavigation li.rss { background:none; padding-top:.4em;} +.accountNavigation li.skin_info { padding-top:3px;} .accountNavigation li.join { background:none; padding-top:.4em;} .accountNavigation li.myInfo { padding-top:.4em; background:none;} .accountNavigation li.admin { padding-top:.4em;} diff --git a/modules/board/skins/xe_gallery/header.html b/modules/board/skins/xe_gallery/header.html index 237fbac86..25fda4122 100644 --- a/modules/board/skins/xe_gallery/header.html +++ b/modules/board/skins/xe_gallery/header.html @@ -77,5 +77,7 @@ +
  • + diff --git a/modules/board/skins/xe_list/css/common.css b/modules/board/skins/xe_list/css/common.css index e3542b918..e334fe00b 100644 --- a/modules/board/skins/xe_list/css/common.css +++ b/modules/board/skins/xe_list/css/common.css @@ -23,6 +23,7 @@ Jeong, Chan Myeong 070601~070630 .accountNavigation li { float:left; padding:0 .5em 0 .6em; background:url(../images/common/line_1x10_e0e0e0.gif) no-repeat left .4em; list-style:none;} .accountNavigation li a { font-size:11px; white-space:nowrap; color:#666666; text-decoration:none;} .accountNavigation li.rss { background:none; padding-top:.4em;} +.accountNavigation li.skin_info { padding-top:3px;} .accountNavigation li.join { background:none; padding-top:.4em;} .accountNavigation li.myInfo { padding-top:.4em; background:none;} .accountNavigation li.admin { padding-top:.4em;} diff --git a/modules/board/skins/xe_list/header.html b/modules/board/skins/xe_list/header.html index 4aaf28f74..e1c10336d 100644 --- a/modules/board/skins/xe_list/header.html +++ b/modules/board/skins/xe_list/header.html @@ -77,5 +77,7 @@ +
  • + diff --git a/modules/board/skins/xe_webzine/css/common.css b/modules/board/skins/xe_webzine/css/common.css index e3542b918..712ab81fb 100644 --- a/modules/board/skins/xe_webzine/css/common.css +++ b/modules/board/skins/xe_webzine/css/common.css @@ -25,6 +25,7 @@ Jeong, Chan Myeong 070601~070630 .accountNavigation li.rss { background:none; padding-top:.4em;} .accountNavigation li.join { background:none; padding-top:.4em;} .accountNavigation li.myInfo { padding-top:.4em; background:none;} +.accountNavigation li.skin_info { padding-top:3px;} .accountNavigation li.admin { padding-top:.4em;} .accountNavigation li.admin a { display:block; background:url(../images/common/iconAdmin.gif) no-repeat left .1em; padding:0 0 0 1.2em;} .accountNavigation li.setup { padding-top:.4em;} diff --git a/modules/board/skins/xe_webzine/header.html b/modules/board/skins/xe_webzine/header.html index 4aaf28f74..04af033e4 100644 --- a/modules/board/skins/xe_webzine/header.html +++ b/modules/board/skins/xe_webzine/header.html @@ -76,6 +76,7 @@
  • {$lang->cmd_login}
  • +
  • diff --git a/modules/module/conf/module.xml b/modules/module/conf/module.xml index d8724c8ce..090efec80 100644 --- a/modules/module/conf/module.xml +++ b/modules/module/conf/module.xml @@ -6,6 +6,8 @@ + + diff --git a/modules/module/module.view.php b/modules/module/module.view.php new file mode 100644 index 000000000..049eab8c2 --- /dev/null +++ b/modules/module/module.view.php @@ -0,0 +1,41 @@ +setTemplatePath($this->module_path.'tpl'); + } + + /** + * @brief 스킨 정보 출력 + **/ + function dispModuleSkinInfo() { + $selected_module = Context::get('selected_module'); + $skin = Context::get('skin'); + + // 모듈/스킨 정보를 구함 + $module_path = sprintf("./modules/%s/", $selected_module); + if(!is_dir($module_path)) $this->stop("msg_invalid_request"); + + $skin_info_xml = sprintf("%sskins/%s/skin.xml", $module_path, $skin); + if(!file_exists($skin_info_xml)) $this->stop("msg_invalid_request"); + + $oModuleModel = &getModel('module'); + $skin_info = $oModuleModel->loadSkinInfo($module_path, $skin); + Context::set('skin_info',$skin_info); + + $this->setLayoutFile("popup_layout"); + $this->setTemplateFile("skin_info"); + } + + } +?> diff --git a/modules/module/tpl/skin_info.html b/modules/module/tpl/skin_info.html new file mode 100644 index 000000000..f0d168642 --- /dev/null +++ b/modules/module/tpl/skin_info.html @@ -0,0 +1,35 @@ + +
    +

    {$skin_info->title}

    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + +
    {$skin_info->title}
    {$skin_info->maker->name}
    {$skin_info->maker->homepage}
    {$skin_info->maker->date} +
    {$lang->description}{nl2br($skin_info->maker->description)}
    +
    + +