git-svn-id: http://xe-core.googlecode.com/svn/trunk@1316 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-25 01:51:15 +00:00
parent ab10390e37
commit b439632abd
5 changed files with 51 additions and 6 deletions

View file

@ -550,5 +550,17 @@
$this->setTemplateFile('grant_list');
}
/**
* @brief 플러그인 설정
**/
function dispBlogAdminPluginSetup() {
// 플러그인 목록을 세팅
$oPluginModel = &getModel('plugin');
$plugin_list = $oPluginModel->getDownloadedPluginList();
Context::set('plugin_list', $plugin_list);
$this->setTemplateFile('plugin_setup');
}
}
?>

View file

@ -25,6 +25,7 @@
$lang->about_category_name = '카테고리 이름을 입력해주세요';
$lang->about_expand = '선택하시면 늘 펼쳐진 상태로 있게 합니다';
$lang->about_category_group_srls = '선택하신 그룹만 현재 카테고리가 보이게 됩니다. (xml파일을 직접 열람하면 노출이 됩니다)';
$lang->about_plugin_setup = '플러그인을 생성하신 후에 원하시는 곳으로 이동하시면 서비스에 반영이 됩니다';
$lang->about_blog = "블로그를 만드시고 관리할 수 있는 블로그 모듈입니다.\n블로그 모듈은 블로그 스킨에 포함된 레이아웃을 이용하니 생성후 꼭 분류 및 스킨 관리를 통해서 블로그를 꾸미시기 바랍니다.\n블로그내에 다른 게시판을 연결하시고 싶을때에는 메뉴모듈로 메뉴를 만들고 나서 스킨관리에 연결해 주시면 됩니다";
?>

View 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&amp;act=dispPluginGenerateCodeInPage&amp;selected_plugin={$plugin->plugin}&amp;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>