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

This commit is contained in:
zero 2007-04-06 06:01:02 +00:00
parent cf46548046
commit c2209ea9b0
12 changed files with 99 additions and 102 deletions

View file

@ -1,11 +1,11 @@
<?php
/**
* @class poll
* @class poll_maker
* @author zero (zero@nzeo.com)
* @brief 에디터에서 url링크하는 기능 제공.
**/
class poll extends EditorHandler {
class poll_maker extends EditorHandler {
// upload_target_srl 는 에디터에서 필수로 달고 다녀야 함....
var $upload_target_srl = 0;
@ -14,7 +14,7 @@
/**
* @brief upload_target_srl과 컴포넌트의 경로를 받음
**/
function poll($upload_target_srl, $component_path) {
function poll_maker($upload_target_srl, $component_path) {
$this->upload_target_srl = $upload_target_srl;
$this->component_path = $component_path;
}

View file

@ -27,7 +27,7 @@ function completeInsertPoll(ret_obj) {
var poll_srl = ret_obj["poll_srl"];
if(!poll_srl) return null;
var text = "<img src=\"./common/tpl/images/blank.gif\" poll_srl=\""+poll_srl+"\" editor_component=\"poll\" class=\"editor_component_output\" style=\"width:400px;height:300px;\" />";
var text = "<img src=\"./common/tpl/images/blank.gif\" poll_srl=\""+poll_srl+"\" editor_component=\"poll_maker\" class=\"editor_component_output\" style=\"width:400px;height:300px;\" />";
alert(ret_obj['message']);

View file

@ -28,7 +28,7 @@
$oEditorController->insertComponent('url_link',true);
$oEditorController->insertComponent('image_link',true);
$oEditorController->insertComponent('multimedia_link',true);
$oEditorController->insertComponent('poll',true);
$oEditorController->insertComponent('poll_maker',true);
$oEditorController->insertComponent('image_gallery',true);
$oEditorController->insertComponent('quotation',true);
$oEditorController->insertComponent('table_maker',true);