", $src, $width, $height, $auto_start);
}
}
?>
diff --git a/modules/editor/components/multimedia_link/tpl/popup.js b/modules/editor/components/multimedia_link/tpl/popup.js
index 9a45d7d9f..894bfbcd6 100644
--- a/modules/editor/components/multimedia_link/tpl/popup.js
+++ b/modules/editor/components/multimedia_link/tpl/popup.js
@@ -19,8 +19,8 @@ function getMultimedia() {
xGetElementById("multimedia_url").value = url;
xGetElementById("multimedia_caption").value = caption;
- xGetElementById("multimedia_width").value = width;
- xGetElementById("multimedia_height").value = height;
+ xGetElementById("multimedia_width").value = width-6;
+ xGetElementById("multimedia_height").value = height-6;
if(auto_start=="true") xGetElementById("multimedia_auto_start").checked = true;
}
diff --git a/modules/editor/components/naver_map/naver_map.class.php b/modules/editor/components/naver_map/naver_map.class.php
index c7ac5355e..085670eb7 100644
--- a/modules/editor/components/naver_map/naver_map.class.php
+++ b/modules/editor/components/naver_map/naver_map.class.php
@@ -101,7 +101,7 @@
$width = $xml_obj->attrs->width;
$height = $xml_obj->attrs->height;
- $body_code = sprintf('
', $width, $height, Context::getRequestUri(), $width, $height, $x, $y, $width, $height);
+ $body_code = sprintf('
', $width, $height, Context::getRequestUri(), $width, $height, $x, $y, $width, $height);
return $body_code;
}
diff --git a/modules/editor/components/quotation/quotation.class.php b/modules/editor/components/quotation/quotation.class.php
index b536153f9..5860cbd04 100644
--- a/modules/editor/components/quotation/quotation.class.php
+++ b/modules/editor/components/quotation/quotation.class.php
@@ -54,6 +54,7 @@
$border_thickness = $xml_obj->attrs->border_thickness;
$border_color = $xml_obj->attrs->border_color;
$bg_color = $xml_obj->attrs->bg_color;
+ $body = $xml_obj->body;
$output = "";
$style = sprintf('margin:%spx;padding:%spx;background-color:#%s;', $margin, $padding, $bg_color);
@@ -97,10 +98,9 @@
$output .= sprintf('
', $folder_id, $folder_margin, $class, $folder_id, $folder_opener);
$output .= sprintf('
', $folder_id, $folder_margin, $class, $folder_id, $folder_closer);
- $output .= sprintf('
', $style, $folder_id);
- debugPrint($output);
+ $output .= sprintf('
%s
', $style, $folder_id,$body);
} else {
- $output .= sprintf('
', $style);
+ $output .= sprintf('
%s
', $style, $body);
}
return $output;
}
diff --git a/modules/editor/components/slide_show/slide_show.class.php b/modules/editor/components/slide_show/slide_show.class.php
index 9283d1d9c..df5378251 100644
--- a/modules/editor/components/slide_show/slide_show.class.php
+++ b/modules/editor/components/slide_show/slide_show.class.php
@@ -43,10 +43,22 @@
function transHTML($xml_obj) {
$width = $xml_obj->attrs->width;
$height = $xml_obj->attrs->height;
+ $make_thumbnail = $xml_obj->attrs->make_thumbnail;
$body = $xml_obj->body;
+ $image_list = explode("\n",$body);
- $output = sprintf('
%s
', $width, $height, $body);
- return $output;
+ Context::set("slide_show_width", $width);
+ Context::set("slide_show_height", $height);
+ Context::set("slide_show_images", $image_list);
+ Context::set("slide_show_srl", rand(111111,999999));
+
+ $tpl_path = $this->component_path.'tpl';
+ $tpl_file = 'slide_show.html';
+
+ Context::set("tpl_path", $tpl_path);
+ require_once("./classes/template/TemplateHandler.class.php");
+ $oTemplate = new TemplateHandler();
+ return $oTemplate->compile($tpl_path, $tpl_file);
}
}
diff --git a/modules/editor/components/slide_show/tpl/slide_show.html b/modules/editor/components/slide_show/tpl/slide_show.html
index a0f88e084..4022edfc3 100644
--- a/modules/editor/components/slide_show/tpl/slide_show.html
+++ b/modules/editor/components/slide_show/tpl/slide_show.html
@@ -1,23 +1,22 @@
+
-