mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1316 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ab10390e37
commit
b439632abd
5 changed files with 51 additions and 6 deletions
|
|
@ -22,6 +22,7 @@
|
||||||
$oAddonController->doActivate('spamfilter');
|
$oAddonController->doActivate('spamfilter');
|
||||||
$oAddonController->doActivate('message');
|
$oAddonController->doActivate('message');
|
||||||
$oAddonController->doActivate('member_extra_info');
|
$oAddonController->doActivate('member_extra_info');
|
||||||
|
$oAddonController->doActivate('counter');
|
||||||
$oAddonController->procAddonAdminToggleActivate();
|
$oAddonController->procAddonAdminToggleActivate();
|
||||||
return new Object();
|
return new Object();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -550,5 +550,17 @@
|
||||||
|
|
||||||
$this->setTemplateFile('grant_list');
|
$this->setTemplateFile('grant_list');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 플러그인 설정
|
||||||
|
**/
|
||||||
|
function dispBlogAdminPluginSetup() {
|
||||||
|
// 플러그인 목록을 세팅
|
||||||
|
$oPluginModel = &getModel('plugin');
|
||||||
|
$plugin_list = $oPluginModel->getDownloadedPluginList();
|
||||||
|
Context::set('plugin_list', $plugin_list);
|
||||||
|
|
||||||
|
$this->setTemplateFile('plugin_setup');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@
|
||||||
$lang->about_category_name = '카테고리 이름을 입력해주세요';
|
$lang->about_category_name = '카테고리 이름을 입력해주세요';
|
||||||
$lang->about_expand = '선택하시면 늘 펼쳐진 상태로 있게 합니다';
|
$lang->about_expand = '선택하시면 늘 펼쳐진 상태로 있게 합니다';
|
||||||
$lang->about_category_group_srls = '선택하신 그룹만 현재 카테고리가 보이게 됩니다. (xml파일을 직접 열람하면 노출이 됩니다)';
|
$lang->about_category_group_srls = '선택하신 그룹만 현재 카테고리가 보이게 됩니다. (xml파일을 직접 열람하면 노출이 됩니다)';
|
||||||
|
$lang->about_plugin_setup = '플러그인을 생성하신 후에 원하시는 곳으로 이동하시면 서비스에 반영이 됩니다';
|
||||||
|
|
||||||
$lang->about_blog = "블로그를 만드시고 관리할 수 있는 블로그 모듈입니다.\n블로그 모듈은 블로그 스킨에 포함된 레이아웃을 이용하니 생성후 꼭 분류 및 스킨 관리를 통해서 블로그를 꾸미시기 바랍니다.\n블로그내에 다른 게시판을 연결하시고 싶을때에는 메뉴모듈로 메뉴를 만들고 나서 스킨관리에 연결해 주시면 됩니다";
|
$lang->about_blog = "블로그를 만드시고 관리할 수 있는 블로그 모듈입니다.\n블로그 모듈은 블로그 스킨에 포함된 레이아웃을 이용하니 생성후 꼭 분류 및 스킨 관리를 통해서 블로그를 꾸미시기 바랍니다.\n블로그내에 다른 게시판을 연결하시고 싶을때에는 메뉴모듈로 메뉴를 만들고 나서 스킨관리에 연결해 주시면 됩니다";
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
27
modules/blog/tpl/plugin_setup.html
Normal file
27
modules/blog/tpl/plugin_setup.html
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
<!--#include("./header.html")-->
|
||||||
|
|
||||||
|
<form action="./" method="post" onsubmit="return procFilter(this, insert_grant)">
|
||||||
|
<input type="hidden" name="page" value="{$page}" />
|
||||||
|
<input type="hidden" name="module_srl" value="{$module_srl}" />
|
||||||
|
|
||||||
|
<!-- 설명 -->
|
||||||
|
<div>
|
||||||
|
{$lang->about_plugin_setup}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- 플러그인 선택 부분 -->
|
||||||
|
<div style="margin-bottom:20px">
|
||||||
|
<div style="float:left">{$lang->plugin} :</div>
|
||||||
|
<div style="float:left">
|
||||||
|
<!--@foreach($plugin_list as $plugin)-->
|
||||||
|
[<a href="#" onclick="popopen('./?module=plugin&act=dispPluginGenerateCodeInPage&selected_plugin={$plugin->plugin}&module_srl={$module_srl}','GenerateCodeInPage');return false;">{$plugin->title}</a>]
|
||||||
|
<!--@end-->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- 플러그인이 생성되는 곳 -->
|
||||||
|
<div style="clear:both;border:1px solid #EEEEEE;padding:10px;">
|
||||||
|
<div id="plugin_area"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
@ -33,12 +33,16 @@ function completeGenerateCodeInPage(ret_obj,response_tags,params,fo_obj) {
|
||||||
plugin_code = plugin_code.replace(/height([^p]+)px/ig,'height:'+orig_height+'px');
|
plugin_code = plugin_code.replace(/height([^p]+)px/ig,'height:'+orig_height+'px');
|
||||||
}
|
}
|
||||||
|
|
||||||
opener.editorFocus(module_srl);
|
// 부모창에 에디터가 있으면 에디터에 추가
|
||||||
var iframe_obj = opener.editorGetIFrame(module_srl);
|
if(opener.editorGetIFrame) {
|
||||||
opener.editorReplaceHTML(iframe_obj, plugin_code);
|
var iframe_obj = opener.editorGetIFrame(module_srl);
|
||||||
opener.editorFocus(module_srl);
|
if(iframe_obj) {
|
||||||
|
opener.editorFocus(module_srl);
|
||||||
window.close();
|
opener.editorReplaceHTML(iframe_obj, plugin_code);
|
||||||
|
opener.editorFocus(module_srl);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//window.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 플러그인 코드 생성시 스킨을 고르면 컬러셋의 정보를 표시 */
|
/* 플러그인 코드 생성시 스킨을 고르면 컬러셋의 정보를 표시 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue