diff --git a/modules/admin/tpl/css/admin.css b/modules/admin/tpl/css/admin.css
index 5b1a1179f..e884be66a 100644
--- a/modules/admin/tpl/css/admin.css
+++ b/modules/admin/tpl/css/admin.css
@@ -185,13 +185,6 @@ select.time_zone { width:70%; position:relative; top:4px; }
/* ----- Popup | End ----- */
-/* ----- Category Manager | Start ----- */
-#category_list { padding:.5em 0 .5em 0; margin-bottom:2em; }
-#category_list .checkbox { margin-top:1em; border:0px; }
-#menu_zone_info { position:absolute; top:0px; left:0px; width:700px; background-color:#FFFFFF; z-index:999; border:3px solid #888888; padding:10px; display:none;}
-#category_info { position:absolute; top:0px; left:0px; width:500px; background-color:#FFFFFF; z-index:999; border:3px solid #888888; padding:10px; display:none;}
-/* ----- Category Manager | End ----- */
-
.widget_item { margin-bottom:.5em; }
.layout_editor { width:100%; height:500px; border:0px; font-size:1em; }
.layout_editor_box { padding:10px; border:1px solid #DDDDDD; }
diff --git a/modules/blog/blog.admin.view.php b/modules/blog/blog.admin.view.php
index 8f53b5f03..19ec86e2b 100644
--- a/modules/blog/blog.admin.view.php
+++ b/modules/blog/blog.admin.view.php
@@ -183,6 +183,7 @@
Context::set('category_info', $category_info);
Context::addJsFile('./common/js/tree_menu.js');
+ Context::set('layout','none');
$this->setTemplateFile('category_list');
}
diff --git a/modules/blog/tpl/category_list.html b/modules/blog/tpl/category_list.html
index 8d39a00a0..0375346c6 100644
--- a/modules/blog/tpl/category_list.html
+++ b/modules/blog/tpl/category_list.html
@@ -1,45 +1,56 @@
-
+
+
-
+
{$lang->blog} {$lang->cmd_management}
-{nl2br($lang->about_blog_category)}
-
-
-
-
-
-
+
diff --git a/modules/blog/tpl/css/blog.css b/modules/blog/tpl/css/blog.css
new file mode 100644
index 000000000..59cd716f9
--- /dev/null
+++ b/modules/blog/tpl/css/blog.css
@@ -0,0 +1,12 @@
+@charset "utf-8";
+
+h3 { margin:0 20px 0 20px; }
+.menuManagement { margin:20px; }
+.menuListZone td { vertical-align:top; }
+.menuListZone td.category_zone { padding-right:10px; }
+
+#category_list { padding:.5em 0 .5em 0; margin-bottom:2em; }
+#category_list .checkbox { margin-top:1em; border:0px; }
+
+#menu_zone_info { background-color:#FFFFFF; z-index:999; display:none; overflow:hidden; padding-left:10px; border-left:1px dashed #CCCCCC; }
+#category_info { background-color:#FFFFFF; z-index:999; display:none; overflow:hidden; padding-left:10px; border-left:1px dashed #CCCCCC; }
diff --git a/modules/blog/tpl/header.html b/modules/blog/tpl/header.html
index 460afaad1..3c08f7dff 100644
--- a/modules/blog/tpl/header.html
+++ b/modules/blog/tpl/header.html
@@ -26,7 +26,11 @@
{$lang->cmd_back}
-
class="on">{$val}
+
+
class="on">{$val}
+
+
class="on">{$val}
+
diff --git a/modules/layout/tpl/js/layout_admin.js b/modules/layout/tpl/js/layout_admin.js
index 6a2e70152..d15b35c79 100644
--- a/modules/layout/tpl/js/layout_admin.js
+++ b/modules/layout/tpl/js/layout_admin.js
@@ -40,5 +40,5 @@ function doMenuManagement(menu_id) {
var menu_srl = sel_obj.options[sel_obj.selectedIndex].value;
var url = current_url.setQuery('act','dispMenuAdminManagement').setQuery('menu_srl',menu_srl);
- location.href = url;
+ winopen(url,'MenuManage','width=850,height=800,resizable=yes,scrollbars=yes,toolbars=no');
}
diff --git a/modules/menu/menu.admin.view.php b/modules/menu/menu.admin.view.php
index 38189bf23..247d8a653 100644
--- a/modules/menu/menu.admin.view.php
+++ b/modules/menu/menu.admin.view.php
@@ -70,6 +70,8 @@
Context::set('menu_info', $menu_info);
+ // 레이아웃을 팝업으로 지정
+ Context::set('layout','none');
$this->setTemplateFile('menu_management');
}
diff --git a/modules/menu/tpl/css/menu.css b/modules/menu/tpl/css/menu.css
new file mode 100644
index 000000000..59cd716f9
--- /dev/null
+++ b/modules/menu/tpl/css/menu.css
@@ -0,0 +1,12 @@
+@charset "utf-8";
+
+h3 { margin:0 20px 0 20px; }
+.menuManagement { margin:20px; }
+.menuListZone td { vertical-align:top; }
+.menuListZone td.category_zone { padding-right:10px; }
+
+#category_list { padding:.5em 0 .5em 0; margin-bottom:2em; }
+#category_list .checkbox { margin-top:1em; border:0px; }
+
+#menu_zone_info { background-color:#FFFFFF; z-index:999; display:none; overflow:hidden; padding-left:10px; border-left:1px dashed #CCCCCC; }
+#category_info { background-color:#FFFFFF; z-index:999; display:none; overflow:hidden; padding-left:10px; border-left:1px dashed #CCCCCC; }
diff --git a/modules/menu/tpl/index.html b/modules/menu/tpl/index.html
index 84ba2325c..31dcc4de1 100644
--- a/modules/menu/tpl/index.html
+++ b/modules/menu/tpl/index.html
@@ -28,9 +28,9 @@
| {$no} |
- {htmlspecialchars($val->title)} |
+ {htmlspecialchars($val->title)} |
{zdate($val->regdate,"Y-m-d")} |
- {$lang->cmd_delete} |
+ {$lang->cmd_delete} |
diff --git a/modules/menu/tpl/js/menu_admin.js b/modules/menu/tpl/js/menu_admin.js
index 10368d3f3..84ede30ca 100644
--- a/modules/menu/tpl/js/menu_admin.js
+++ b/modules/menu/tpl/js/menu_admin.js
@@ -2,7 +2,10 @@
function completeInsertMenu(ret_obj) {
var menu_srl = ret_obj['menu_srl'];
alert(ret_obj['message']);
- location.href = current_url.setQuery('act','dispMenuAdminManagement').setQuery('menu_srl',menu_srl);
+ location.href = current_url.setQuery('act','dispMenuAdminContent');
+
+ //var url = current_url.setQuery('act','dispMenuAdminManagement').setQuery('menu_srl',menu_srl);
+ //window.open(url);
}
/* 메뉴 삭제 */
@@ -54,6 +57,7 @@ function doGetMenuItemInfo(menu_id, obj) {
}
/* 서버로부터 받아온 메뉴 정보를 출력 */
+/*
xAddEventListener(document,'mousedown',checkMousePosition);
var _xPos = 0;
var _yPos = 0;
@@ -62,9 +66,11 @@ function checkMousePosition(e) {
_xPos = evt.pageX;
_yPos = evt.pageY;
}
+*/
function hideCategoryInfo() {
var obj = xGetElementById('menu_zone_info');
+ xInnerHtml(obj,'');
obj.style.display = "none";
}
@@ -77,6 +83,7 @@ function completeGetMenuItemTplInfo(ret_obj, response_tags) {
var fo_obj = xGetElementById("fo_menu");
fo_obj.menu_name.focus();
+ /*
var x = _xPos + 50;
var y = _yPos - xHeight(obj)/2 + 80 + xScrollTop();
xLeft(obj, x);
@@ -88,6 +95,7 @@ function completeGetMenuItemTplInfo(ret_obj, response_tags) {
}
if(typeof('fixAdminLayoutFooter')=="function") fixAdminLayoutFooter();
+ */
}
/* 메뉴 아이템 입력후 */
diff --git a/modules/menu/tpl/menu_management.html b/modules/menu/tpl/menu_management.html
index de0945e4b..a57376ac8 100644
--- a/modules/menu/tpl/menu_management.html
+++ b/modules/menu/tpl/menu_management.html
@@ -2,30 +2,48 @@
+
-
-
+