mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-11 23:01:41 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@481 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
267fbb3ddc
commit
ea86e795ff
5 changed files with 34 additions and 11 deletions
|
|
@ -2,6 +2,6 @@
|
|||
<module>
|
||||
<grants />
|
||||
<actions>
|
||||
<action name="dispEditor" type="view" standalone="true" />
|
||||
<action name="dispPopup" type="view" standalone="true" />
|
||||
</actions>
|
||||
</module>
|
||||
|
|
|
|||
|
|
@ -11,15 +11,28 @@
|
|||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
// template path 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 에디터 출력
|
||||
* @brief 에디터를 return
|
||||
**/
|
||||
function dispEditor() {
|
||||
$this->setTemplateFile('editor.html');
|
||||
function getEditor($upload_target_srl) {
|
||||
Context::set('upload_target_srl', $upload_target_srl);
|
||||
|
||||
$tpl_path = $this->module_path.'tpl';
|
||||
$tpl_file = 'editor.html';
|
||||
|
||||
require_once("./classes/template/TemplateHandler.class.php");
|
||||
$oTemplate = new TemplateHandler();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 팝업 출력 출력
|
||||
**/
|
||||
function dispPopup() {
|
||||
$this->setTemplatePath($this->module_path.'tpl/popup');
|
||||
$this->setTemplateFile('emoticon.html');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue