diff --git a/AvocadoAmber/adm/_gnb.000.site.menu.php b/AvocadoAmber/adm/_gnb.000.site.menu.php index c367225..fdc7b25 100644 --- a/AvocadoAmber/adm/_gnb.000.site.menu.php +++ b/AvocadoAmber/adm/_gnb.000.site.menu.php @@ -51,7 +51,7 @@ $menu["config"]->addChildMenu("config", "애드온 설정", G5_ADMIN_URL . "/add $menu["config"]->addChildMenu("config", "홈페이지 상세관리", G5_ADMIN_URL . "/config_form.php", true, 1000, "\F3E5", 0); $menu["config"]->getLastAddedMenu()->addSubFile("/config_form_update.php"); -if (Community::isInitCommunity()) { +if ($config["cf_community"] && Community::isInitCommunity()) { $menu["config"]->addChildMenu("config", "메인슬라이드 관리", G5_ADMIN_URL . "/banner_list.php", true, 700, "\F66D", 0); $menu["config"]->getLastAddedMenu()->addSubFile("/banner_form.php"); diff --git a/AvocadoAmber/adm/_gnb.001.member.menu.php b/AvocadoAmber/adm/_gnb.001.member.menu.php index 1454906..7ac431e 100644 --- a/AvocadoAmber/adm/_gnb.001.member.menu.php +++ b/AvocadoAmber/adm/_gnb.001.member.menu.php @@ -43,7 +43,7 @@ $menu["member"]->getLastAddedMenu()->addSubFile("/visit_year.php"); $menu["member"]->addChildMenu("member", "투표관리", G5_ADMIN_URL . "/poll_list.php", true, 500, "\F5F9", 0); $menu["member"]->getLastAddedMenu()->addSubFile("/poll_form.php"); -if (Community::isInitCommunity()) { +if ($config["cf_community"] && Community::isInitCommunity()) { $menu["member"]->addChildMenu("member", "접속자검색", G5_ADMIN_URL . "/visit_search.php", true, 300, "\F52A", 0); $menu["member"]->getLastAddedMenu()->addSubFile("/visit_delete_update.php"); diff --git a/AvocadoAmber/adm/_gnb.002.content.menu.php b/AvocadoAmber/adm/_gnb.002.content.menu.php index bec48ac..64e77e8 100644 --- a/AvocadoAmber/adm/_gnb.002.content.menu.php +++ b/AvocadoAmber/adm/_gnb.002.content.menu.php @@ -47,7 +47,7 @@ $menu["content"]->addChildMenu("content", "이모티콘 관리", G5_ADMIN_URL . $menu["content"]->getLastAddedMenu()->addSubFile("/emoticon_list_update.php"); $menu["content"]->getLastAddedMenu()->addSubFile("/emoticon_form_update.php"); -if (Community::isInitCommunity()) { +if ($config["cf_community"] && Community::isInitCommunity()) { $menu["content"]->addChildMenu("content", "인기 검색어 관리", G5_ADMIN_URL . "/popular_list.php", true, 110, "\F52A", 0); $menu["content"]->addChildMenu("content", "인기 검색어 순위", G5_ADMIN_URL . "/popular_rank.php", true, 120, "\F52A", 0); diff --git a/AvocadoAmber/adm/_gnb.004.community.menu.php b/AvocadoAmber/adm/_gnb.004.community.menu.php index 48407dd..4a085a9 100644 --- a/AvocadoAmber/adm/_gnb.004.community.menu.php +++ b/AvocadoAmber/adm/_gnb.004.community.menu.php @@ -22,7 +22,7 @@ $menu["community"]->getLastAddedMenu()->addSubFile("/{your_subfile_name}.php"); if (!isset($menu["community"])) { $menu["community"] = new MenuCategory("community", "community", "커뮤니티 설정", "", true, 400, "", 0); - if (Community::isInitCommunity()) { + if ($config["cf_community"] && Community::isInitCommunity()) { $menu["character"] = new MenuCategory("community", "community", "캐릭터 관리", "", true, 401, "", 0); $menu["item"] = new MenuCategory("community", "community", "아이템 관리", "", true, 402, "", 0); } @@ -30,7 +30,7 @@ if (!isset($menu["community"])) { $menu["community"]->addChildMenu("community", "커뮤니티 설정", G5_ADMIN_URL . "/community_form.php", true, 0, "\F3B3", 0); -if (Community::isInitCommunity()) { +if ($config["cf_community"] && Community::isInitCommunity()) { $menu["community"]->addChildMenu("community", "프로필 양식 관리", G5_ADMIN_URL . "/character_article_list.php", true, 100, "\F3B7", 0); $menu["item"]->addChildMenu("item", "상점 관리", G5_ADMIN_URL . "/shop_list.php", true, 0, "\F184", 0); diff --git a/AvocadoAmber/adm/community_form.php b/AvocadoAmber/adm/community_form.php index e766fd6..521bb8e 100644 --- a/AvocadoAmber/adm/community_form.php +++ b/AvocadoAmber/adm/community_form.php @@ -23,7 +23,7 @@ $frm_submit = '