mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 08:42:15 +09:00
set svn property - svn:eol-style LF
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8253 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9802eaa60a
commit
620b03d184
763 changed files with 114595 additions and 114595 deletions
|
|
@ -1,107 +1,107 @@
|
|||
<?php
|
||||
/**
|
||||
* @class emoticon
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 이모티콘 이미지 연결 컴포넌트
|
||||
**/
|
||||
|
||||
class emoticon extends EditorHandler {
|
||||
|
||||
// editor_sequence 는 에디터에서 필수로 달고 다녀야 함....
|
||||
var $editor_sequence = 0;
|
||||
var $component_path = '';
|
||||
var $emoticon_path = '';
|
||||
|
||||
/**
|
||||
* @brief editor_sequence과 컴포넌트의 경로를 받음
|
||||
**/
|
||||
function emoticon($editor_sequence, $component_path) {
|
||||
$this->editor_sequence = $editor_sequence;
|
||||
$this->component_path = $component_path;
|
||||
$this->emoticon_path = sprintf('%s%s/images',preg_replace('/^\.\//i','',$this->component_path),'tpl','images');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 이모티콘 파일 목록을 리턴
|
||||
**/
|
||||
function getEmoticonList() {
|
||||
$emoticon = Context::get('emoticon');
|
||||
if(!$emoticon || !preg_match("/^([a-z0-9\_]+)$/i",$emoticon)) return new Object(-1,'msg_invalid_request');
|
||||
|
||||
$list = $this->getEmoticons($emoticon);
|
||||
|
||||
$this->add('emoticons', implode("\n",$list));
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 재귀적으로 이모티콘이 될 법한 파일들을 하위 디렉토리까지 전부 검색한다. 8,000개까지는 테스트 해봤는데 스택오버프로우를 일으킬지 어떨지는 잘 모르겠음.(2007.9.6, 베니)
|
||||
**/
|
||||
function getEmoticons($path) {
|
||||
$emoticon_path = sprintf("%s/%s", $this->emoticon_path, $path);
|
||||
$output = array();
|
||||
|
||||
$oDir = dir($emoticon_path);
|
||||
while($file = $oDir->read()) {
|
||||
if(substr($file,0,1)=='.') continue;
|
||||
if(preg_match('/\.(jpg|jpeg|gif|png)$/i',$file)) $output[] = sprintf("%s/%s", $path, str_replace($this->emoticon_path,'',$file));
|
||||
}
|
||||
$oDir->close();
|
||||
if(count($output)) asort($output);
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief popup window요청시 popup window에 출력할 내용을 추가하면 된다
|
||||
**/
|
||||
function getPopupContent() {
|
||||
// 이모티콘 디렉토리 목록을 가져옴
|
||||
$emoticon_dirs = FileHandler::readDir($this->emoticon_path);
|
||||
$emoticon_list = array();
|
||||
if($emoticon_dirs) {
|
||||
foreach($emoticon_dirs as $emoticon) {
|
||||
if(preg_match("/^([a-z0-9\_]+)$/i", $emoticon)) $emoticon_list[] = $emoticon;
|
||||
}
|
||||
}
|
||||
Context::set('emoticon_list', $emoticon_list);
|
||||
|
||||
// 첫번째 이모티콘 디렉토리의 이미지 파일을 구함
|
||||
$emoticons = $this->getEmoticons($emoticon_list[0]);
|
||||
Context::set('emoticons', $emoticons);
|
||||
|
||||
// 템플릿을 미리 컴파일해서 컴파일된 소스를 return
|
||||
$tpl_path = $this->component_path.'tpl';
|
||||
$tpl_file = 'popup.html';
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 이모티콘의 경로 문제 해결을 하기 위해 추가하였다. (2007.9.6 베니)
|
||||
**/
|
||||
function transHTML($xml_obj) {
|
||||
$src = $xml_obj->attrs->src;
|
||||
$alt = $xml_obj->attrs->alt;
|
||||
|
||||
if(!$alt) {
|
||||
$tmp_arr = explode('/',$src);
|
||||
$alt = array_pop($tmp_arr);
|
||||
}
|
||||
|
||||
$src = str_replace(array('&','"'), array('&','&qout;'), $src);
|
||||
if(!$alt) $alt = $src;
|
||||
|
||||
$attr_output = array();
|
||||
$attr_output = array("src=\"".$src."\"");
|
||||
|
||||
if($alt) {
|
||||
$attr_output[] = "alt=\"".$alt."\"";
|
||||
}
|
||||
if(preg_match("/\.png$/i",$src)) $attr_output[] = "class=\"iePngFix\"";
|
||||
|
||||
$code = sprintf("<img %s style=\"border:0px\" />", implode(" ",$attr_output));
|
||||
|
||||
return $code;
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @class emoticon
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 이모티콘 이미지 연결 컴포넌트
|
||||
**/
|
||||
|
||||
class emoticon extends EditorHandler {
|
||||
|
||||
// editor_sequence 는 에디터에서 필수로 달고 다녀야 함....
|
||||
var $editor_sequence = 0;
|
||||
var $component_path = '';
|
||||
var $emoticon_path = '';
|
||||
|
||||
/**
|
||||
* @brief editor_sequence과 컴포넌트의 경로를 받음
|
||||
**/
|
||||
function emoticon($editor_sequence, $component_path) {
|
||||
$this->editor_sequence = $editor_sequence;
|
||||
$this->component_path = $component_path;
|
||||
$this->emoticon_path = sprintf('%s%s/images',preg_replace('/^\.\//i','',$this->component_path),'tpl','images');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 이모티콘 파일 목록을 리턴
|
||||
**/
|
||||
function getEmoticonList() {
|
||||
$emoticon = Context::get('emoticon');
|
||||
if(!$emoticon || !preg_match("/^([a-z0-9\_]+)$/i",$emoticon)) return new Object(-1,'msg_invalid_request');
|
||||
|
||||
$list = $this->getEmoticons($emoticon);
|
||||
|
||||
$this->add('emoticons', implode("\n",$list));
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 재귀적으로 이모티콘이 될 법한 파일들을 하위 디렉토리까지 전부 검색한다. 8,000개까지는 테스트 해봤는데 스택오버프로우를 일으킬지 어떨지는 잘 모르겠음.(2007.9.6, 베니)
|
||||
**/
|
||||
function getEmoticons($path) {
|
||||
$emoticon_path = sprintf("%s/%s", $this->emoticon_path, $path);
|
||||
$output = array();
|
||||
|
||||
$oDir = dir($emoticon_path);
|
||||
while($file = $oDir->read()) {
|
||||
if(substr($file,0,1)=='.') continue;
|
||||
if(preg_match('/\.(jpg|jpeg|gif|png)$/i',$file)) $output[] = sprintf("%s/%s", $path, str_replace($this->emoticon_path,'',$file));
|
||||
}
|
||||
$oDir->close();
|
||||
if(count($output)) asort($output);
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief popup window요청시 popup window에 출력할 내용을 추가하면 된다
|
||||
**/
|
||||
function getPopupContent() {
|
||||
// 이모티콘 디렉토리 목록을 가져옴
|
||||
$emoticon_dirs = FileHandler::readDir($this->emoticon_path);
|
||||
$emoticon_list = array();
|
||||
if($emoticon_dirs) {
|
||||
foreach($emoticon_dirs as $emoticon) {
|
||||
if(preg_match("/^([a-z0-9\_]+)$/i", $emoticon)) $emoticon_list[] = $emoticon;
|
||||
}
|
||||
}
|
||||
Context::set('emoticon_list', $emoticon_list);
|
||||
|
||||
// 첫번째 이모티콘 디렉토리의 이미지 파일을 구함
|
||||
$emoticons = $this->getEmoticons($emoticon_list[0]);
|
||||
Context::set('emoticons', $emoticons);
|
||||
|
||||
// 템플릿을 미리 컴파일해서 컴파일된 소스를 return
|
||||
$tpl_path = $this->component_path.'tpl';
|
||||
$tpl_file = 'popup.html';
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 이모티콘의 경로 문제 해결을 하기 위해 추가하였다. (2007.9.6 베니)
|
||||
**/
|
||||
function transHTML($xml_obj) {
|
||||
$src = $xml_obj->attrs->src;
|
||||
$alt = $xml_obj->attrs->alt;
|
||||
|
||||
if(!$alt) {
|
||||
$tmp_arr = explode('/',$src);
|
||||
$alt = array_pop($tmp_arr);
|
||||
}
|
||||
|
||||
$src = str_replace(array('&','"'), array('&','&qout;'), $src);
|
||||
if(!$alt) $alt = $src;
|
||||
|
||||
$attr_output = array();
|
||||
$attr_output = array("src=\"".$src."\"");
|
||||
|
||||
if($alt) {
|
||||
$attr_output[] = "alt=\"".$alt."\"";
|
||||
}
|
||||
if(preg_match("/\.png$/i",$src)) $attr_output[] = "class=\"iePngFix\"";
|
||||
|
||||
$code = sprintf("<img %s style=\"border:0px\" />", implode(" ",$attr_output));
|
||||
|
||||
return $code;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,35 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component version="0.2">
|
||||
<title xml:lang="ko">이모티콘 출력</title>
|
||||
<title xml:lang="jp">顔文字(イモティコン)</title>
|
||||
<title xml:lang="zh-CN">表情图标</title>
|
||||
<title xml:lang="en">Display Emoticons</title>
|
||||
<title xml:lang="vi">Diễn tả cảm xúc</title>
|
||||
<title xml:lang="es">Mostrar iconos gestuales</title>
|
||||
<title xml:lang="ru">Отображение смайлов</title>
|
||||
<title xml:lang="zh-TW">表情符號</title>
|
||||
<title xml:lang="tr">His Simgeleri Gösterimi</title>
|
||||
<description xml:lang="ko">이모티콘을 에디터에 삽입할 수 있습니다.</description>
|
||||
<description xml:lang="jp">顔文字(イモティコン)をエディターに追加することが出来ます。</description>
|
||||
<description xml:lang="zh-CN">可以插入表情图标到编辑器。</description>
|
||||
<description xml:lang="en">You may insert emoticons to editor.</description>
|
||||
<description xml:lang="vi">Bạn có thể chèn biểu tượng cảm xúc vào bài viết.</description>
|
||||
<description xml:lang="es">Usted puede insertar emoticonos para el editor.</description>
|
||||
<description xml:lang="ru">Вы можете вставить смыйлы в редактор.</description>
|
||||
<description xml:lang="zh-TW">可插入表情符號到編輯器。</description>
|
||||
<description xml:lang="tr">Editöre his simgeleri ekleyebilirsiniz.</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="vi">NHN</name>
|
||||
<name xml:lang="jp">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="es">NHN</name>
|
||||
<name xml:lang="ru">NHN</name>
|
||||
<name xml:lang="zh-TW">NHN</name>
|
||||
<name xml:lang="tr">NHN</name>
|
||||
</author>
|
||||
</component>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component version="0.2">
|
||||
<title xml:lang="ko">이모티콘 출력</title>
|
||||
<title xml:lang="jp">顔文字(イモティコン)</title>
|
||||
<title xml:lang="zh-CN">表情图标</title>
|
||||
<title xml:lang="en">Display Emoticons</title>
|
||||
<title xml:lang="vi">Diễn tả cảm xúc</title>
|
||||
<title xml:lang="es">Mostrar iconos gestuales</title>
|
||||
<title xml:lang="ru">Отображение смайлов</title>
|
||||
<title xml:lang="zh-TW">表情符號</title>
|
||||
<title xml:lang="tr">His Simgeleri Gösterimi</title>
|
||||
<description xml:lang="ko">이모티콘을 에디터에 삽입할 수 있습니다.</description>
|
||||
<description xml:lang="jp">顔文字(イモティコン)をエディターに追加することが出来ます。</description>
|
||||
<description xml:lang="zh-CN">可以插入表情图标到编辑器。</description>
|
||||
<description xml:lang="en">You may insert emoticons to editor.</description>
|
||||
<description xml:lang="vi">Bạn có thể chèn biểu tượng cảm xúc vào bài viết.</description>
|
||||
<description xml:lang="es">Usted puede insertar emoticonos para el editor.</description>
|
||||
<description xml:lang="ru">Вы можете вставить смыйлы в редактор.</description>
|
||||
<description xml:lang="zh-TW">可插入表情符號到編輯器。</description>
|
||||
<description xml:lang="tr">Editöre his simgeleri ekleyebilirsiniz.</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="vi">NHN</name>
|
||||
<name xml:lang="jp">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="es">NHN</name>
|
||||
<name xml:lang="ru">NHN</name>
|
||||
<name xml:lang="zh-TW">NHN</name>
|
||||
<name xml:lang="tr">NHN</name>
|
||||
</author>
|
||||
</component>
|
||||
|
|
|
|||
|
|
@ -1,81 +1,81 @@
|
|||
<?php
|
||||
/**
|
||||
* @class image_gallery
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 업로드된 이미지로 이미지갤러리를 만듬
|
||||
**/
|
||||
|
||||
class image_gallery extends EditorHandler {
|
||||
|
||||
// editor_sequence 는 에디터에서 필수로 달고 다녀야 함....
|
||||
var $editor_sequence = 0;
|
||||
var $component_path = '';
|
||||
|
||||
/**
|
||||
* @brief editor_sequence과 컴포넌트의 경로를 받음
|
||||
**/
|
||||
function image_gallery($editor_sequence, $component_path) {
|
||||
$this->editor_sequence = $editor_sequence;
|
||||
$this->component_path = $component_path;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief popup window요청시 popup window에 출력할 내용을 추가하면 된다
|
||||
**/
|
||||
function getPopupContent() {
|
||||
// 템플릿을 미리 컴파일해서 컴파일된 소스를 return
|
||||
$tpl_path = $this->component_path.'tpl';
|
||||
$tpl_file = 'popup.html';
|
||||
|
||||
Context::set("tpl_path", $tpl_path);
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 에디터 컴포넌트가 별도의 고유 코드를 이용한다면 그 코드를 html로 변경하여 주는 method
|
||||
*
|
||||
* 이미지나 멀티미디어, 설문등 고유 코드가 필요한 에디터 컴포넌트는 고유코드를 내용에 추가하고 나서
|
||||
* DocumentModule::transContent() 에서 해당 컴포넌트의 transHtml() method를 호출하여 고유코드를 html로 변경
|
||||
**/
|
||||
function transHTML($xml_obj) {
|
||||
$gallery_info->srl = rand(111111,999999);
|
||||
$gallery_info->border_thickness = $xml_obj->attrs->border_thickness;
|
||||
$gallery_info->gallery_style = $xml_obj->attrs->gallery_style;
|
||||
$gallery_info->border_color = $xml_obj->attrs->border_color;
|
||||
$gallery_info->bg_color = $xml_obj->attrs->bg_color;
|
||||
$gallery_info->gallery_align = $xml_obj->attrs->gallery_align;
|
||||
|
||||
$images_list = $xml_obj->attrs->images_list;
|
||||
$images_list = preg_replace('/\.(gif|jpg|jpeg|png) /i',".\\1\n",$images_list);
|
||||
$gallery_info->images_list = explode("\n",trim($images_list));
|
||||
|
||||
// 만약 출력설정이 XML일 경우 이미지 목록만 출력하도록 코드 생성
|
||||
if(Context::getResponseMethod() == 'XMLRPC') {
|
||||
$output = '';
|
||||
for($i=0;$i<count($gallery_info->images_list);$i++) {
|
||||
$output .= sprintf('<img src="%s" alt="" /><br />', $gallery_info->images_list[$i]);
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
// HTML 출력일 경우 템플릿 변환을 거쳐서 갤러리 출력 설정에 맞는 html코드를 생성하도록 함
|
||||
preg_match_all('/(width|height)([^[:digit:]]+)([0-9]+)/i',$xml_obj->attrs->style,$matches);
|
||||
$gallery_info->width = trim($matches[3][0]);
|
||||
if(!$gallery_info->width) $gallery_info->width = 400;
|
||||
|
||||
Context::set('gallery_info', $gallery_info);
|
||||
|
||||
$tpl_path = $this->component_path.'tpl';
|
||||
Context::set("tpl_path", $tpl_path);
|
||||
|
||||
if($gallery_info->gallery_style == "list") $tpl_file = 'list_gallery.html';
|
||||
else $tpl_file = 'slide_gallery.html';
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @class image_gallery
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 업로드된 이미지로 이미지갤러리를 만듬
|
||||
**/
|
||||
|
||||
class image_gallery extends EditorHandler {
|
||||
|
||||
// editor_sequence 는 에디터에서 필수로 달고 다녀야 함....
|
||||
var $editor_sequence = 0;
|
||||
var $component_path = '';
|
||||
|
||||
/**
|
||||
* @brief editor_sequence과 컴포넌트의 경로를 받음
|
||||
**/
|
||||
function image_gallery($editor_sequence, $component_path) {
|
||||
$this->editor_sequence = $editor_sequence;
|
||||
$this->component_path = $component_path;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief popup window요청시 popup window에 출력할 내용을 추가하면 된다
|
||||
**/
|
||||
function getPopupContent() {
|
||||
// 템플릿을 미리 컴파일해서 컴파일된 소스를 return
|
||||
$tpl_path = $this->component_path.'tpl';
|
||||
$tpl_file = 'popup.html';
|
||||
|
||||
Context::set("tpl_path", $tpl_path);
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 에디터 컴포넌트가 별도의 고유 코드를 이용한다면 그 코드를 html로 변경하여 주는 method
|
||||
*
|
||||
* 이미지나 멀티미디어, 설문등 고유 코드가 필요한 에디터 컴포넌트는 고유코드를 내용에 추가하고 나서
|
||||
* DocumentModule::transContent() 에서 해당 컴포넌트의 transHtml() method를 호출하여 고유코드를 html로 변경
|
||||
**/
|
||||
function transHTML($xml_obj) {
|
||||
$gallery_info->srl = rand(111111,999999);
|
||||
$gallery_info->border_thickness = $xml_obj->attrs->border_thickness;
|
||||
$gallery_info->gallery_style = $xml_obj->attrs->gallery_style;
|
||||
$gallery_info->border_color = $xml_obj->attrs->border_color;
|
||||
$gallery_info->bg_color = $xml_obj->attrs->bg_color;
|
||||
$gallery_info->gallery_align = $xml_obj->attrs->gallery_align;
|
||||
|
||||
$images_list = $xml_obj->attrs->images_list;
|
||||
$images_list = preg_replace('/\.(gif|jpg|jpeg|png) /i',".\\1\n",$images_list);
|
||||
$gallery_info->images_list = explode("\n",trim($images_list));
|
||||
|
||||
// 만약 출력설정이 XML일 경우 이미지 목록만 출력하도록 코드 생성
|
||||
if(Context::getResponseMethod() == 'XMLRPC') {
|
||||
$output = '';
|
||||
for($i=0;$i<count($gallery_info->images_list);$i++) {
|
||||
$output .= sprintf('<img src="%s" alt="" /><br />', $gallery_info->images_list[$i]);
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
// HTML 출력일 경우 템플릿 변환을 거쳐서 갤러리 출력 설정에 맞는 html코드를 생성하도록 함
|
||||
preg_match_all('/(width|height)([^[:digit:]]+)([0-9]+)/i',$xml_obj->attrs->style,$matches);
|
||||
$gallery_info->width = trim($matches[3][0]);
|
||||
if(!$gallery_info->width) $gallery_info->width = 400;
|
||||
|
||||
Context::set('gallery_info', $gallery_info);
|
||||
|
||||
$tpl_path = $this->component_path.'tpl';
|
||||
Context::set("tpl_path", $tpl_path);
|
||||
|
||||
if($gallery_info->gallery_style == "list") $tpl_file = 'list_gallery.html';
|
||||
else $tpl_file = 'slide_gallery.html';
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,35 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component version="0.2">
|
||||
<title xml:lang="vi">Slide Show</title>
|
||||
<title xml:lang="ko">기본 이미지 갤러리</title>
|
||||
<title xml:lang="jp">デフォルトイメージギャラリー</title>
|
||||
<title xml:lang="zh-CN">图片相册</title>
|
||||
<title xml:lang="en">Basic Image Gallery</title>
|
||||
<title xml:lang="es">Galería de imágenes básicos</title>
|
||||
<title xml:lang="ru">Базовая галлерея изображений</title>
|
||||
<title xml:lang="zh-TW">預設圖片相簿</title>
|
||||
<title xml:lang="tr">Temel Resim Galerisi</title>
|
||||
<description xml:lang="vi">Bạn có thể tạo ra một Slide Show theo dạng danh sách hoặc Slide từ những hình ảnh đính kèm của mình.</description>
|
||||
<description xml:lang="ko">첨부된 이미지파일을 이용하여 슬라이드/목록형 이미지 갤러리를 만들 수 있습니다.</description>
|
||||
<description xml:lang="jp">添付されたイメージファイルを利用して、スライド型・リスト型のイメージギャラリーが作成できます。</description>
|
||||
<description xml:lang="zh-CN">利用上传的图片文件实现幻灯片式或目录型相册图片。</description>
|
||||
<description xml:lang="en">It can create image gallery of slide/list style by using attached image file.</description>
|
||||
<description xml:lang="es">It can create image gallery of slide/list style by using attached image file.</description>
|
||||
<description xml:lang="ru">Это может создать гллерею изображений в стиле слайдов/списка, используя вложенный файл изображения.</description>
|
||||
<description xml:lang="zh-TW">將上傳的圖片以投影片或列表的形式實現。</description>
|
||||
<description xml:lang="tr">Ekteki resim dosyasını kullanarak, slayt/liste tarzı resim galerisi oluşturabilir.</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="vi">NHN</name>
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="jp">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="es">NHN</name>
|
||||
<name xml:lang="ru">NHN</name>
|
||||
<name xml:lang="zh-TW">NHN</name>
|
||||
<name xml:lang="tr">NHN</name>
|
||||
</author>
|
||||
</component>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component version="0.2">
|
||||
<title xml:lang="vi">Slide Show</title>
|
||||
<title xml:lang="ko">기본 이미지 갤러리</title>
|
||||
<title xml:lang="jp">デフォルトイメージギャラリー</title>
|
||||
<title xml:lang="zh-CN">图片相册</title>
|
||||
<title xml:lang="en">Basic Image Gallery</title>
|
||||
<title xml:lang="es">Galería de imágenes básicos</title>
|
||||
<title xml:lang="ru">Базовая галлерея изображений</title>
|
||||
<title xml:lang="zh-TW">預設圖片相簿</title>
|
||||
<title xml:lang="tr">Temel Resim Galerisi</title>
|
||||
<description xml:lang="vi">Bạn có thể tạo ra một Slide Show theo dạng danh sách hoặc Slide từ những hình ảnh đính kèm của mình.</description>
|
||||
<description xml:lang="ko">첨부된 이미지파일을 이용하여 슬라이드/목록형 이미지 갤러리를 만들 수 있습니다.</description>
|
||||
<description xml:lang="jp">添付されたイメージファイルを利用して、スライド型・リスト型のイメージギャラリーが作成できます。</description>
|
||||
<description xml:lang="zh-CN">利用上传的图片文件实现幻灯片式或目录型相册图片。</description>
|
||||
<description xml:lang="en">It can create image gallery of slide/list style by using attached image file.</description>
|
||||
<description xml:lang="es">It can create image gallery of slide/list style by using attached image file.</description>
|
||||
<description xml:lang="ru">Это может создать гллерею изображений в стиле слайдов/списка, используя вложенный файл изображения.</description>
|
||||
<description xml:lang="zh-TW">將上傳的圖片以投影片或列表的形式實現。</description>
|
||||
<description xml:lang="tr">Ekteki resim dosyasını kullanarak, slayt/liste tarzı resim galerisi oluşturabilir.</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="vi">NHN</name>
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="jp">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="es">NHN</name>
|
||||
<name xml:lang="ru">NHN</name>
|
||||
<name xml:lang="zh-TW">NHN</name>
|
||||
<name xml:lang="tr">NHN</name>
|
||||
</author>
|
||||
</component>
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_gallery/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of image_gallery component.
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "Make Image Gallery";
|
||||
$lang->width = "Width";
|
||||
$lang->height = "Height";
|
||||
$lang->image_list = "Image List";
|
||||
$lang->gallery_style = "Gallery Style";
|
||||
$lang->gallery_slide_style = "Slide Style";
|
||||
$lang->gallery_slide_align = "Align Style";
|
||||
$lang->gallery_slide_center = "Center";
|
||||
$lang->gallery_slide_left = "Left";
|
||||
$lang->gallery_slide_right = "Right";
|
||||
$lang->gallery_list_style = "Expand All";
|
||||
$lang->gallery_border_color = "Border Color";
|
||||
$lang->gallery_border_thickness = "Border Thickness";
|
||||
$lang->gallery_bg_color = "Background Color";
|
||||
$lang->about_image_list = "Select file to add to the image gallery. You can drag it after selecting or shift+click(for selecting widely), ctrl+click(for selecting individually)";
|
||||
|
||||
$lang->cmd_gallery_prev = "Previous Picture";
|
||||
$lang->cmd_gallery_next = "Next Picture";
|
||||
$lang->cmd_gallery_thumbnail = "Thumbnail";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_gallery/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of image_gallery component.
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "Make Image Gallery";
|
||||
$lang->width = "Width";
|
||||
$lang->height = "Height";
|
||||
$lang->image_list = "Image List";
|
||||
$lang->gallery_style = "Gallery Style";
|
||||
$lang->gallery_slide_style = "Slide Style";
|
||||
$lang->gallery_slide_align = "Align Style";
|
||||
$lang->gallery_slide_center = "Center";
|
||||
$lang->gallery_slide_left = "Left";
|
||||
$lang->gallery_slide_right = "Right";
|
||||
$lang->gallery_list_style = "Expand All";
|
||||
$lang->gallery_border_color = "Border Color";
|
||||
$lang->gallery_border_thickness = "Border Thickness";
|
||||
$lang->gallery_bg_color = "Background Color";
|
||||
$lang->about_image_list = "Select file to add to the image gallery. You can drag it after selecting or shift+click(for selecting widely), ctrl+click(for selecting individually)";
|
||||
|
||||
$lang->cmd_gallery_prev = "Previous Picture";
|
||||
$lang->cmd_gallery_next = "Next Picture";
|
||||
$lang->cmd_gallery_thumbnail = "Thumbnail";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_gallery/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of image_gallery component.
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "Haga Galeria de Imagenes";
|
||||
$lang->width = "Ancho";
|
||||
$lang->altura = "Altura";
|
||||
$lang->image_list = "Lista de imagenes";
|
||||
$lang->gallery_style = "Galeria de Estilo";
|
||||
$lang->gallery_slide_style = "Estilo de diapositivas";
|
||||
$lang->gallery_slide_align = "Alinear Estilo";
|
||||
$lang->gallery_slide_center = "Centro";
|
||||
$lang->gallery_slide_left = "Izquierda";
|
||||
$lang->gallery_slide_right = "Derecho";
|
||||
$lang->gallery_list_style = "Mostrar todos";
|
||||
$lang->gallery_border_color = "Color del borde";
|
||||
$lang->gallery_border_thickness = "Grosor de Fronteras";
|
||||
$lang->gallery_bg_color = "Color de fondo";
|
||||
$lang->about_image_list = "Seleccione archivo para anadir a la galeria de imagenes. Puede arrastrar despues de la seleccion o cambio + clic (para seleccionar ampliamente), ctrl + clic (para seleccionar individualmente)";
|
||||
|
||||
$lang->cmd_gallery_prev = "Imagen anterior";
|
||||
$lang->cmd_gallery_next = "Imagen siguiente";
|
||||
$lang->cmd_gallery_thumbnail = "Miniatura";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_gallery/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of image_gallery component.
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "Haga Galeria de Imagenes";
|
||||
$lang->width = "Ancho";
|
||||
$lang->altura = "Altura";
|
||||
$lang->image_list = "Lista de imagenes";
|
||||
$lang->gallery_style = "Galeria de Estilo";
|
||||
$lang->gallery_slide_style = "Estilo de diapositivas";
|
||||
$lang->gallery_slide_align = "Alinear Estilo";
|
||||
$lang->gallery_slide_center = "Centro";
|
||||
$lang->gallery_slide_left = "Izquierda";
|
||||
$lang->gallery_slide_right = "Derecho";
|
||||
$lang->gallery_list_style = "Mostrar todos";
|
||||
$lang->gallery_border_color = "Color del borde";
|
||||
$lang->gallery_border_thickness = "Grosor de Fronteras";
|
||||
$lang->gallery_bg_color = "Color de fondo";
|
||||
$lang->about_image_list = "Seleccione archivo para anadir a la galeria de imagenes. Puede arrastrar despues de la seleccion o cambio + clic (para seleccionar ampliamente), ctrl + clic (para seleccionar individualmente)";
|
||||
|
||||
$lang->cmd_gallery_prev = "Imagen anterior";
|
||||
$lang->cmd_gallery_next = "Imagen siguiente";
|
||||
$lang->cmd_gallery_thumbnail = "Miniatura";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/image_gallery/lang/jp.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻訳:RisaPapa、ミニミ
|
||||
* @brief ウィジウィグエディター(editor)モジュール > イメージギャラリー(image_gallery)コンポネント言語パッケージ
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "イメージギャラリー作成";
|
||||
$lang->width = "横幅サイズ";
|
||||
$lang->height = "縦幅サイズ";
|
||||
$lang->image_list = "イメージリスト";
|
||||
$lang->gallery_style = "ギャラリースタイル";
|
||||
$lang->gallery_slide_style = "スライドスタイル";
|
||||
$lang->gallery_slide_align = "アライン位置";
|
||||
$lang->gallery_slide_center = "中央揃え";
|
||||
$lang->gallery_slide_left = "左揃え";
|
||||
$lang->gallery_slide_right = "右揃え";
|
||||
$lang->gallery_list_style = "展開表示(リスト)";
|
||||
$lang->gallery_border_color = "ボーダーカラー";
|
||||
$lang->gallery_border_thickness = "ボーダー";
|
||||
$lang->gallery_bg_color = "背景色";
|
||||
$lang->about_image_list = "イメージギャラリーに追加するファイルを選択して下さい。選択した後、ドラッグまたは「Shift+クリック(範囲選択)、Ctrl+クリック(個別選択)」が出来ます。";
|
||||
|
||||
$lang->cmd_gallery_prev = "前のイメージ表示";
|
||||
$lang->cmd_gallery_next = "次のイメージ表示";
|
||||
$lang->cmd_gallery_thumbnail = "サムネール表示";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/image_gallery/lang/jp.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻訳:RisaPapa、ミニミ
|
||||
* @brief ウィジウィグエディター(editor)モジュール > イメージギャラリー(image_gallery)コンポネント言語パッケージ
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "イメージギャラリー作成";
|
||||
$lang->width = "横幅サイズ";
|
||||
$lang->height = "縦幅サイズ";
|
||||
$lang->image_list = "イメージリスト";
|
||||
$lang->gallery_style = "ギャラリースタイル";
|
||||
$lang->gallery_slide_style = "スライドスタイル";
|
||||
$lang->gallery_slide_align = "アライン位置";
|
||||
$lang->gallery_slide_center = "中央揃え";
|
||||
$lang->gallery_slide_left = "左揃え";
|
||||
$lang->gallery_slide_right = "右揃え";
|
||||
$lang->gallery_list_style = "展開表示(リスト)";
|
||||
$lang->gallery_border_color = "ボーダーカラー";
|
||||
$lang->gallery_border_thickness = "ボーダー";
|
||||
$lang->gallery_bg_color = "背景色";
|
||||
$lang->about_image_list = "イメージギャラリーに追加するファイルを選択して下さい。選択した後、ドラッグまたは「Shift+クリック(範囲選択)、Ctrl+クリック(個別選択)」が出来ます。";
|
||||
|
||||
$lang->cmd_gallery_prev = "前のイメージ表示";
|
||||
$lang->cmd_gallery_next = "次のイメージ表示";
|
||||
$lang->cmd_gallery_thumbnail = "サムネール表示";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_gallery/lang/ru.lang.php
|
||||
* @author NHN (developers@xpressengine.com) | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467;
|
||||
* @brief editor module > language pack of image_gallery component.
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "Создать галлерею изображений";
|
||||
$lang->width = "Ширина";
|
||||
$lang->height = "Высота";
|
||||
$lang->image_list = "Список изображений";
|
||||
$lang->gallery_style = "Стиль галлереи";
|
||||
$lang->gallery_slide_style = "Стиль слайда";
|
||||
$lang->gallery_slide_align = "Стиль выравнивания";
|
||||
$lang->gallery_slide_center = "Центр";
|
||||
$lang->gallery_slide_left = "Лево";
|
||||
$lang->gallery_slide_right = "Право";
|
||||
$lang->gallery_list_style = "Раскрыть все";
|
||||
$lang->gallery_border_color = "Цыет рамки";
|
||||
$lang->gallery_border_thickness = "Толщина рамки";
|
||||
$lang->gallery_bg_color = "Цвет фона";
|
||||
$lang->about_image_list = "Выберите файл для добавления в галлерею изображений. Вы можете перетащить его после выбора или нажав shift+click(для широкого выделения), ctrl+click(для индивидуального выделения)";
|
||||
|
||||
$lang->cmd_gallery_prev = "Предыдущее изображение";
|
||||
$lang->cmd_gallery_next = "Следующее изображение";
|
||||
$lang->cmd_gallery_thumbnail = "Миниатюра";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_gallery/lang/ru.lang.php
|
||||
* @author NHN (developers@xpressengine.com) | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467;
|
||||
* @brief editor module > language pack of image_gallery component.
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "Создать галлерею изображений";
|
||||
$lang->width = "Ширина";
|
||||
$lang->height = "Высота";
|
||||
$lang->image_list = "Список изображений";
|
||||
$lang->gallery_style = "Стиль галлереи";
|
||||
$lang->gallery_slide_style = "Стиль слайда";
|
||||
$lang->gallery_slide_align = "Стиль выравнивания";
|
||||
$lang->gallery_slide_center = "Центр";
|
||||
$lang->gallery_slide_left = "Лево";
|
||||
$lang->gallery_slide_right = "Право";
|
||||
$lang->gallery_list_style = "Раскрыть все";
|
||||
$lang->gallery_border_color = "Цыет рамки";
|
||||
$lang->gallery_border_thickness = "Толщина рамки";
|
||||
$lang->gallery_bg_color = "Цвет фона";
|
||||
$lang->about_image_list = "Выберите файл для добавления в галлерею изображений. Вы можете перетащить его после выбора или нажав shift+click(для широкого выделения), ctrl+click(для индивидуального выделения)";
|
||||
|
||||
$lang->cmd_gallery_prev = "Предыдущее изображение";
|
||||
$lang->cmd_gallery_next = "Следующее изображение";
|
||||
$lang->cmd_gallery_thumbnail = "Миниатюра";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_gallery/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of image_gallery component.
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "Resim Galerisi Oluştur";
|
||||
$lang->width = "Genişlik";
|
||||
$lang->height = "Yükseklik";
|
||||
$lang->image_list = "Resim Listesi";
|
||||
$lang->gallery_style = "Galeri Tarzı";
|
||||
$lang->gallery_slide_style = "Slayt Tarzı";
|
||||
$lang->gallery_slide_align = "Hizalama Tarzı";
|
||||
$lang->gallery_slide_center = "Ortalı";
|
||||
$lang->gallery_slide_left = "Sol";
|
||||
$lang->gallery_slide_right = "Sağ";
|
||||
$lang->gallery_list_style = "Hepsini Genişlet";
|
||||
$lang->gallery_border_color = "Kenarlık Rengi";
|
||||
$lang->gallery_border_thickness = "Kenarlık Kalınlığı";
|
||||
$lang->gallery_bg_color = "Arkaplan Rengi";
|
||||
$lang->about_image_list = "Resim galerisine eklenecek dosyayı seçiniz. Seçtikten sonra dosyayı sürükleyebilirsiniz ya da shift+click(geniş ölçüde seçimler için), ctrl+click(bireysel seçimler için)komutlarını kullanabilirsiniz";
|
||||
|
||||
$lang->cmd_gallery_prev = "Önceki Resim";
|
||||
$lang->cmd_gallery_next = "Sonraki Resim";
|
||||
$lang->cmd_gallery_thumbnail = "Küçük Resim";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_gallery/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of image_gallery component.
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "Resim Galerisi Oluştur";
|
||||
$lang->width = "Genişlik";
|
||||
$lang->height = "Yükseklik";
|
||||
$lang->image_list = "Resim Listesi";
|
||||
$lang->gallery_style = "Galeri Tarzı";
|
||||
$lang->gallery_slide_style = "Slayt Tarzı";
|
||||
$lang->gallery_slide_align = "Hizalama Tarzı";
|
||||
$lang->gallery_slide_center = "Ortalı";
|
||||
$lang->gallery_slide_left = "Sol";
|
||||
$lang->gallery_slide_right = "Sağ";
|
||||
$lang->gallery_list_style = "Hepsini Genişlet";
|
||||
$lang->gallery_border_color = "Kenarlık Rengi";
|
||||
$lang->gallery_border_thickness = "Kenarlık Kalınlığı";
|
||||
$lang->gallery_bg_color = "Arkaplan Rengi";
|
||||
$lang->about_image_list = "Resim galerisine eklenecek dosyayı seçiniz. Seçtikten sonra dosyayı sürükleyebilirsiniz ya da shift+click(geniş ölçüde seçimler için), ctrl+click(bireysel seçimler için)komutlarını kullanabilirsiniz";
|
||||
|
||||
$lang->cmd_gallery_prev = "Önceki Resim";
|
||||
$lang->cmd_gallery_next = "Sonraki Resim";
|
||||
$lang->cmd_gallery_thumbnail = "Küçük Resim";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,29 +1,29 @@
|
|||
<?php
|
||||
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
░░ * @File : common/lang/vi.lang.php ░░
|
||||
░░ * @Author : NHN (developers@xpressengine.com) ░░
|
||||
░░ * @Trans : Đào Đức Duy (ducduy.dao.vn@vietxe.net) ░░
|
||||
░░ * @Website: http://vietxe.net ░░
|
||||
░░ * @Brief : Vietnamese Language Pack (Only basic words are included here) ░░
|
||||
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */
|
||||
|
||||
$lang->image_gallery = "Tạo Slide Show";
|
||||
$lang->width = "Chiều rộng";
|
||||
$lang->height = "Chiều cao";
|
||||
$lang->image_list = "Danh sách hình ảnh";
|
||||
$lang->gallery_style = "Kiểu dáng Show";
|
||||
$lang->gallery_slide_style = "Kiểu Slide";
|
||||
$lang->gallery_slide_align = "Kiểu căn chỉnh";
|
||||
$lang->gallery_slide_center = "Giữa";
|
||||
$lang->gallery_slide_left = "Trái";
|
||||
$lang->gallery_slide_right = "Phải";
|
||||
$lang->gallery_list_style = "Mở rộng tất cả";
|
||||
$lang->gallery_border_color = "Màu viền";
|
||||
$lang->gallery_border_thickness = "Độ dày viền";
|
||||
$lang->gallery_bg_color = "Màu nền";
|
||||
$lang->about_image_list = "Chọn hình ảnh để thêm vào Show. Bạn có thể di chuyển hình ảnh bằng cách bấm tổ hợp 'Shift+Click' để di chuyển nhiều hình ảnh, hoặc 'Ctrl+Click' để di chuyển từng hình ảnh.";
|
||||
|
||||
$lang->cmd_gallery_prev = "Hình trước";
|
||||
$lang->cmd_gallery_next = "Hình sau";
|
||||
$lang->cmd_gallery_thumbnail = "Hình nhỏ";
|
||||
?>
|
||||
<?php
|
||||
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
░░ * @File : common/lang/vi.lang.php ░░
|
||||
░░ * @Author : NHN (developers@xpressengine.com) ░░
|
||||
░░ * @Trans : Đào Đức Duy (ducduy.dao.vn@vietxe.net) ░░
|
||||
░░ * @Website: http://vietxe.net ░░
|
||||
░░ * @Brief : Vietnamese Language Pack (Only basic words are included here) ░░
|
||||
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */
|
||||
|
||||
$lang->image_gallery = "Tạo Slide Show";
|
||||
$lang->width = "Chiều rộng";
|
||||
$lang->height = "Chiều cao";
|
||||
$lang->image_list = "Danh sách hình ảnh";
|
||||
$lang->gallery_style = "Kiểu dáng Show";
|
||||
$lang->gallery_slide_style = "Kiểu Slide";
|
||||
$lang->gallery_slide_align = "Kiểu căn chỉnh";
|
||||
$lang->gallery_slide_center = "Giữa";
|
||||
$lang->gallery_slide_left = "Trái";
|
||||
$lang->gallery_slide_right = "Phải";
|
||||
$lang->gallery_list_style = "Mở rộng tất cả";
|
||||
$lang->gallery_border_color = "Màu viền";
|
||||
$lang->gallery_border_thickness = "Độ dày viền";
|
||||
$lang->gallery_bg_color = "Màu nền";
|
||||
$lang->about_image_list = "Chọn hình ảnh để thêm vào Show. Bạn có thể di chuyển hình ảnh bằng cách bấm tổ hợp 'Shift+Click' để di chuyển nhiều hình ảnh, hoặc 'Ctrl+Click' để di chuyển từng hình ảnh.";
|
||||
|
||||
$lang->cmd_gallery_prev = "Hình trước";
|
||||
$lang->cmd_gallery_next = "Hình sau";
|
||||
$lang->cmd_gallery_thumbnail = "Hình nhỏ";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_gallery/lang/zh-CN.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 网页编辑器(editor) 模块 > 图像(image_gallery) 组件的语言包
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "图像编辑";
|
||||
$lang->width = "宽度";
|
||||
$lang->height = "高度";
|
||||
$lang->image_list = "图像目录";
|
||||
$lang->gallery_style = "风格";
|
||||
$lang->gallery_slide_style = "幻灯片风格";
|
||||
$lang->gallery_slide_align = "对齐方式";
|
||||
$lang->gallery_slide_center = "居中对齐";
|
||||
$lang->gallery_slide_left = "左对齐";
|
||||
$lang->gallery_slide_right = "右对齐";
|
||||
$lang->gallery_list_style = "全部展开";
|
||||
$lang->gallery_border_color = "边框颜色";
|
||||
$lang->gallery_border_thickness = "边框粗细";
|
||||
$lang->gallery_bg_color = "背景颜色";
|
||||
$lang->about_image_list = "请选择要添加的图像文件。 选择后可以拖动或按 shift+点击(范围选择), ctrl+点击(个别选择)";
|
||||
|
||||
$lang->cmd_gallery_prev = "上一个";
|
||||
$lang->cmd_gallery_next = "下一个";
|
||||
$lang->cmd_gallery_thumbnail = "查看缩略图il";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_gallery/lang/zh-CN.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 网页编辑器(editor) 模块 > 图像(image_gallery) 组件的语言包
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "图像编辑";
|
||||
$lang->width = "宽度";
|
||||
$lang->height = "高度";
|
||||
$lang->image_list = "图像目录";
|
||||
$lang->gallery_style = "风格";
|
||||
$lang->gallery_slide_style = "幻灯片风格";
|
||||
$lang->gallery_slide_align = "对齐方式";
|
||||
$lang->gallery_slide_center = "居中对齐";
|
||||
$lang->gallery_slide_left = "左对齐";
|
||||
$lang->gallery_slide_right = "右对齐";
|
||||
$lang->gallery_list_style = "全部展开";
|
||||
$lang->gallery_border_color = "边框颜色";
|
||||
$lang->gallery_border_thickness = "边框粗细";
|
||||
$lang->gallery_bg_color = "背景颜色";
|
||||
$lang->about_image_list = "请选择要添加的图像文件。 选择后可以拖动或按 shift+点击(范围选择), ctrl+点击(个别选择)";
|
||||
|
||||
$lang->cmd_gallery_prev = "上一个";
|
||||
$lang->cmd_gallery_next = "下一个";
|
||||
$lang->cmd_gallery_thumbnail = "查看缩略图il";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_gallery/lang/zh-TW.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻譯:royallin
|
||||
* @brief 網頁編輯器(editor) 模組 > 圖片(image_gallery) 組件的語言
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "圖片編輯";
|
||||
$lang->width = "寬度";
|
||||
$lang->height = "高度";
|
||||
$lang->image_list = "圖片列表";
|
||||
$lang->gallery_style = "風格";
|
||||
$lang->gallery_slide_style = "幻燈片";
|
||||
$lang->gallery_slide_align = "對齊方式";
|
||||
$lang->gallery_slide_center = "置中";
|
||||
$lang->gallery_slide_left = "靠左";
|
||||
$lang->gallery_slide_right = "靠右";
|
||||
$lang->gallery_list_style = "全部展開";
|
||||
$lang->gallery_border_color = "邊框顏色";
|
||||
$lang->gallery_border_thickness = "邊框粗細";
|
||||
$lang->gallery_bg_color = "背景顏色";
|
||||
$lang->about_image_list = "請選擇要新增的圖片檔案。可以框選或按住 shift+左鍵(範圍選擇), ctrl+左鍵(個別選擇)選擇檔案。";
|
||||
|
||||
$lang->cmd_gallery_prev = "上一個";
|
||||
$lang->cmd_gallery_next = "下一個";
|
||||
$lang->cmd_gallery_thumbnail = "檢視縮圖";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_gallery/lang/zh-TW.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻譯:royallin
|
||||
* @brief 網頁編輯器(editor) 模組 > 圖片(image_gallery) 組件的語言
|
||||
**/
|
||||
|
||||
$lang->image_gallery = "圖片編輯";
|
||||
$lang->width = "寬度";
|
||||
$lang->height = "高度";
|
||||
$lang->image_list = "圖片列表";
|
||||
$lang->gallery_style = "風格";
|
||||
$lang->gallery_slide_style = "幻燈片";
|
||||
$lang->gallery_slide_align = "對齊方式";
|
||||
$lang->gallery_slide_center = "置中";
|
||||
$lang->gallery_slide_left = "靠左";
|
||||
$lang->gallery_slide_right = "靠右";
|
||||
$lang->gallery_list_style = "全部展開";
|
||||
$lang->gallery_border_color = "邊框顏色";
|
||||
$lang->gallery_border_thickness = "邊框粗細";
|
||||
$lang->gallery_bg_color = "背景顏色";
|
||||
$lang->about_image_list = "請選擇要新增的圖片檔案。可以框選或按住 shift+左鍵(範圍選擇), ctrl+左鍵(個別選擇)選擇檔案。";
|
||||
|
||||
$lang->cmd_gallery_prev = "上一個";
|
||||
$lang->cmd_gallery_next = "下一個";
|
||||
$lang->cmd_gallery_thumbnail = "檢視縮圖";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,108 +1,108 @@
|
|||
<?php
|
||||
/**
|
||||
* @class image_link
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 이미지를 추가하거나 속성을 수정하는 컴포넌트
|
||||
**/
|
||||
|
||||
class image_link extends EditorHandler {
|
||||
|
||||
// editor_sequence 는 에디터에서 필수로 달고 다녀야 함....
|
||||
var $editor_sequence = 0;
|
||||
var $component_path = '';
|
||||
|
||||
/**
|
||||
* @brief editor_sequence과 컴포넌트의 경로를 받음
|
||||
**/
|
||||
function image_link($editor_sequence, $component_path) {
|
||||
$this->editor_sequence = $editor_sequence;
|
||||
$this->component_path = $component_path;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief popup window요청시 popup window에 출력할 내용을 추가하면 된다
|
||||
**/
|
||||
function getPopupContent() {
|
||||
// 템플릿을 미리 컴파일해서 컴파일된 소스를 return
|
||||
$tpl_path = $this->component_path.'tpl';
|
||||
$tpl_file = 'popup.html';
|
||||
|
||||
Context::set("tpl_path", $tpl_path);
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 에디터 컴포넌트가 별도의 고유 코드를 이용한다면 그 코드를 html로 변경하여 주는 method
|
||||
*
|
||||
* 이미지나 멀티미디어, 설문등 고유 코드가 필요한 에디터 컴포넌트는 고유코드를 내용에 추가하고 나서
|
||||
* DocumentModule::transContent() 에서 해당 컴포넌트의 transHtml() method를 호출하여 고유코드를 html로 변경
|
||||
**/
|
||||
function transHTML($xml_obj) {
|
||||
$src = $xml_obj->attrs->src;
|
||||
$width = $xml_obj->attrs->width;
|
||||
$height = $xml_obj->attrs->height;
|
||||
$align = $xml_obj->attrs->align;
|
||||
$alt = $xml_obj->attrs->alt;
|
||||
$border = (int)$xml_obj->attrs->border;
|
||||
$link_url = $xml_obj->attrs->link_url;
|
||||
$open_window = $xml_obj->attrs->open_window;
|
||||
$style = $xml_obj->attrs->style;
|
||||
$margin = (int)$xml_obj->attrs->margin;
|
||||
|
||||
if(!$alt) {
|
||||
$tmp_arr = explode('/',$src);
|
||||
$alt = array_pop($tmp_arr);
|
||||
}
|
||||
|
||||
$src = str_replace(array('&','"'), array('&','&qout;'), $src);
|
||||
$src = str_replace('&amp;', '&', $src);
|
||||
|
||||
if(!$alt) $alt = $src;
|
||||
// 이미지 주소를 request uri가 포함된 주소로 변환 (rss출력, 등등을 위함)
|
||||
$temp_src = explode('/', $src);
|
||||
if(substr($src, 0,2)=='./') $src = Context::getRequestUri().substr($src, 2);
|
||||
elseif(substr($src , 0, 1)=='/') {
|
||||
if($_SERVER['HTTPS']=='on') $http_src = 'https://';
|
||||
else $http_src = 'http://';
|
||||
$src = $http_src.$_SERVER['HTTP_HOST'].$src;
|
||||
}
|
||||
elseif(!strpos($temp_src[0],':') && $src) $src = Context::getRequestUri().$src;
|
||||
|
||||
$attr_output = array();
|
||||
$attr_output = array("src=\"".$src."\"");
|
||||
if($alt) {
|
||||
$attr_output[] = "alt=\"".$alt."\"";
|
||||
$attr_output[] = "title=\"".$alt."\"";
|
||||
}
|
||||
if($margin) {
|
||||
$style = trim(preg_replace('/margin[a-z\-]*[ ]*:[ ]*[0-9 a-z]+(;| )/i','', $style)).';';
|
||||
$style = str_replace(';;',';',$style);
|
||||
if($style == ';') $style = '';
|
||||
$style .= ' margin:'.$margin.'px;';
|
||||
}
|
||||
if($align) $attr_output[] = "align=\"".$align."\"";
|
||||
|
||||
if(preg_match("/\.png$/i",$src)) $attr_output[] = "class=\"iePngFix\"";
|
||||
|
||||
if($width) $attr_output[] = 'width="'.$width.'"';
|
||||
if($height) $attr_output[] = 'height="'.$height.'"';
|
||||
if($border) {
|
||||
$style = trim(preg_replace('/border[a-z\-]*[ ]*:[ ]*[0-9 a-z]+(;| )/i','', $style)).';';
|
||||
$style = str_replace(';;',';',$style);
|
||||
if($style == ';') $style = '';
|
||||
$style .= ' border-style: solid; border-width:'.$border.'px;';
|
||||
}
|
||||
|
||||
$code = sprintf("<img %s style=\"%s\" />", implode(' ',$attr_output), $style);
|
||||
|
||||
if($link_url) {
|
||||
if($open_window =='Y') $code = sprintf('<a href="%s" onclick="window.open(this.href);return false;">%s</a>', $link_url, $code);
|
||||
else $code = sprintf('<a href="%s" >%s</a>', $link_url, $code);
|
||||
}
|
||||
return $code;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @class image_link
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 이미지를 추가하거나 속성을 수정하는 컴포넌트
|
||||
**/
|
||||
|
||||
class image_link extends EditorHandler {
|
||||
|
||||
// editor_sequence 는 에디터에서 필수로 달고 다녀야 함....
|
||||
var $editor_sequence = 0;
|
||||
var $component_path = '';
|
||||
|
||||
/**
|
||||
* @brief editor_sequence과 컴포넌트의 경로를 받음
|
||||
**/
|
||||
function image_link($editor_sequence, $component_path) {
|
||||
$this->editor_sequence = $editor_sequence;
|
||||
$this->component_path = $component_path;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief popup window요청시 popup window에 출력할 내용을 추가하면 된다
|
||||
**/
|
||||
function getPopupContent() {
|
||||
// 템플릿을 미리 컴파일해서 컴파일된 소스를 return
|
||||
$tpl_path = $this->component_path.'tpl';
|
||||
$tpl_file = 'popup.html';
|
||||
|
||||
Context::set("tpl_path", $tpl_path);
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 에디터 컴포넌트가 별도의 고유 코드를 이용한다면 그 코드를 html로 변경하여 주는 method
|
||||
*
|
||||
* 이미지나 멀티미디어, 설문등 고유 코드가 필요한 에디터 컴포넌트는 고유코드를 내용에 추가하고 나서
|
||||
* DocumentModule::transContent() 에서 해당 컴포넌트의 transHtml() method를 호출하여 고유코드를 html로 변경
|
||||
**/
|
||||
function transHTML($xml_obj) {
|
||||
$src = $xml_obj->attrs->src;
|
||||
$width = $xml_obj->attrs->width;
|
||||
$height = $xml_obj->attrs->height;
|
||||
$align = $xml_obj->attrs->align;
|
||||
$alt = $xml_obj->attrs->alt;
|
||||
$border = (int)$xml_obj->attrs->border;
|
||||
$link_url = $xml_obj->attrs->link_url;
|
||||
$open_window = $xml_obj->attrs->open_window;
|
||||
$style = $xml_obj->attrs->style;
|
||||
$margin = (int)$xml_obj->attrs->margin;
|
||||
|
||||
if(!$alt) {
|
||||
$tmp_arr = explode('/',$src);
|
||||
$alt = array_pop($tmp_arr);
|
||||
}
|
||||
|
||||
$src = str_replace(array('&','"'), array('&','&qout;'), $src);
|
||||
$src = str_replace('&amp;', '&', $src);
|
||||
|
||||
if(!$alt) $alt = $src;
|
||||
// 이미지 주소를 request uri가 포함된 주소로 변환 (rss출력, 등등을 위함)
|
||||
$temp_src = explode('/', $src);
|
||||
if(substr($src, 0,2)=='./') $src = Context::getRequestUri().substr($src, 2);
|
||||
elseif(substr($src , 0, 1)=='/') {
|
||||
if($_SERVER['HTTPS']=='on') $http_src = 'https://';
|
||||
else $http_src = 'http://';
|
||||
$src = $http_src.$_SERVER['HTTP_HOST'].$src;
|
||||
}
|
||||
elseif(!strpos($temp_src[0],':') && $src) $src = Context::getRequestUri().$src;
|
||||
|
||||
$attr_output = array();
|
||||
$attr_output = array("src=\"".$src."\"");
|
||||
if($alt) {
|
||||
$attr_output[] = "alt=\"".$alt."\"";
|
||||
$attr_output[] = "title=\"".$alt."\"";
|
||||
}
|
||||
if($margin) {
|
||||
$style = trim(preg_replace('/margin[a-z\-]*[ ]*:[ ]*[0-9 a-z]+(;| )/i','', $style)).';';
|
||||
$style = str_replace(';;',';',$style);
|
||||
if($style == ';') $style = '';
|
||||
$style .= ' margin:'.$margin.'px;';
|
||||
}
|
||||
if($align) $attr_output[] = "align=\"".$align."\"";
|
||||
|
||||
if(preg_match("/\.png$/i",$src)) $attr_output[] = "class=\"iePngFix\"";
|
||||
|
||||
if($width) $attr_output[] = 'width="'.$width.'"';
|
||||
if($height) $attr_output[] = 'height="'.$height.'"';
|
||||
if($border) {
|
||||
$style = trim(preg_replace('/border[a-z\-]*[ ]*:[ ]*[0-9 a-z]+(;| )/i','', $style)).';';
|
||||
$style = str_replace(';;',';',$style);
|
||||
if($style == ';') $style = '';
|
||||
$style .= ' border-style: solid; border-width:'.$border.'px;';
|
||||
}
|
||||
|
||||
$code = sprintf("<img %s style=\"%s\" />", implode(' ',$attr_output), $style);
|
||||
|
||||
if($link_url) {
|
||||
if($open_window =='Y') $code = sprintf('<a href="%s" onclick="window.open(this.href);return false;">%s</a>', $link_url, $code);
|
||||
else $code = sprintf('<a href="%s" >%s</a>', $link_url, $code);
|
||||
}
|
||||
return $code;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,35 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component version="0.2">
|
||||
<title xml:lang="ko">이미지 추가</title>
|
||||
<title xml:lang="jp">イメージ追加</title>
|
||||
<title xml:lang="zh-CN">插入图像</title>
|
||||
<title xml:lang="en">Add Images</title>
|
||||
<title xml:lang="vi">Thêm hình ảnh</title>
|
||||
<title xml:lang="es">Añadir imágenes</title>
|
||||
<title xml:lang="ru">Добавление изображений</title>
|
||||
<title xml:lang="zh-TW">圖片連結</title>
|
||||
<title xml:lang="tr">Resim Ekle</title>
|
||||
<description xml:lang="ko">에디터에 이미지를 추가하거나 속성을 변경할 수 있습니다.</description>
|
||||
<description xml:lang="jp">エディターでイメージの追加、属性の変更が出来ます。</description>
|
||||
<description xml:lang="zh-CN">可以插入图像或编辑其相应属性。</description>
|
||||
<description xml:lang="en">It can add an image to editor or change the attribution of image.</description>
|
||||
<description xml:lang="vi">Bạn có thể thêm hình ảnh để sửa hay chia sẻ.</description>
|
||||
<description xml:lang="es">Se puede añadir una imagen a editor o cambiar la atribución de la imagen.</description>
|
||||
<description xml:lang="ru">Это может добавить изображение в редактор или изменить параметры изображения.</description>
|
||||
<description xml:lang="zh-TW">可以新增或編輯其相關屬性。</description>
|
||||
<description xml:lang="tr">Editöre bir resim ekleyebilir veya resmin niteliğini değiştirebilir.</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="jp">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="vi">NHN</name>
|
||||
<name xml:lang="es">NHN</name>
|
||||
<name xml:lang="ru">NHN</name>
|
||||
<name xml:lang="zh-TW">NHN</name>
|
||||
<name xml:lang="tr">NHN</name>
|
||||
</author>
|
||||
</component>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component version="0.2">
|
||||
<title xml:lang="ko">이미지 추가</title>
|
||||
<title xml:lang="jp">イメージ追加</title>
|
||||
<title xml:lang="zh-CN">插入图像</title>
|
||||
<title xml:lang="en">Add Images</title>
|
||||
<title xml:lang="vi">Thêm hình ảnh</title>
|
||||
<title xml:lang="es">Añadir imágenes</title>
|
||||
<title xml:lang="ru">Добавление изображений</title>
|
||||
<title xml:lang="zh-TW">圖片連結</title>
|
||||
<title xml:lang="tr">Resim Ekle</title>
|
||||
<description xml:lang="ko">에디터에 이미지를 추가하거나 속성을 변경할 수 있습니다.</description>
|
||||
<description xml:lang="jp">エディターでイメージの追加、属性の変更が出来ます。</description>
|
||||
<description xml:lang="zh-CN">可以插入图像或编辑其相应属性。</description>
|
||||
<description xml:lang="en">It can add an image to editor or change the attribution of image.</description>
|
||||
<description xml:lang="vi">Bạn có thể thêm hình ảnh để sửa hay chia sẻ.</description>
|
||||
<description xml:lang="es">Se puede añadir una imagen a editor o cambiar la atribución de la imagen.</description>
|
||||
<description xml:lang="ru">Это может добавить изображение в редактор или изменить параметры изображения.</description>
|
||||
<description xml:lang="zh-TW">可以新增或編輯其相關屬性。</description>
|
||||
<description xml:lang="tr">Editöre bir resim ekleyebilir veya resmin niteliğini değiştirebilir.</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="jp">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="vi">NHN</name>
|
||||
<name xml:lang="es">NHN</name>
|
||||
<name xml:lang="ru">NHN</name>
|
||||
<name xml:lang="zh-TW">NHN</name>
|
||||
<name xml:lang="tr">NHN</name>
|
||||
</author>
|
||||
</component>
|
||||
|
|
|
|||
|
|
@ -1,22 +1,22 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_link/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor Module > language pack of image_link component
|
||||
**/
|
||||
|
||||
$lang->image_url = "Image Path";
|
||||
$lang->image_alt = "Input Description";
|
||||
$lang->image_scale = "Image Size";
|
||||
$lang->image_align = "Align Style";
|
||||
$lang->image_align_normal = "Occupy a Paragraph";
|
||||
$lang->image_align_left = "Left of Article";
|
||||
$lang->image_align_middle = "Center";
|
||||
$lang->image_align_right = "Right of Article";
|
||||
$lang->image_border = "Border Thickness";
|
||||
$lang->urllink_url = "URL";
|
||||
$lang->image_margin = 'Image Margin';
|
||||
|
||||
$lang->about_url_link_open_window = "Make the link to open as a new window";
|
||||
$lang->cmd_get_scale = "Get Image Size";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_link/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor Module > language pack of image_link component
|
||||
**/
|
||||
|
||||
$lang->image_url = "Image Path";
|
||||
$lang->image_alt = "Input Description";
|
||||
$lang->image_scale = "Image Size";
|
||||
$lang->image_align = "Align Style";
|
||||
$lang->image_align_normal = "Occupy a Paragraph";
|
||||
$lang->image_align_left = "Left of Article";
|
||||
$lang->image_align_middle = "Center";
|
||||
$lang->image_align_right = "Right of Article";
|
||||
$lang->image_border = "Border Thickness";
|
||||
$lang->urllink_url = "URL";
|
||||
$lang->image_margin = 'Image Margin';
|
||||
|
||||
$lang->about_url_link_open_window = "Make the link to open as a new window";
|
||||
$lang->cmd_get_scale = "Get Image Size";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,22 +1,22 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_link/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor Module > language pack of image_link component
|
||||
**/
|
||||
|
||||
$lang->image_url = "Ruta de la imagen";
|
||||
$lang->image_alt = "Descripcion de Entrada";
|
||||
$lang->image_scale = "Tamano de la Imagen";
|
||||
$lang->image_align = "Alinear Estilo";
|
||||
$lang->image_align_normal = "Occupy un parrafo";
|
||||
$lang->image_align_left = "Izquierda del articulo";
|
||||
$lang->image_align_middle = "Centro";
|
||||
$lang->image_align_right = "Derecho de articulo";
|
||||
$lang->image_border = "Grosor de Fronteras";
|
||||
$lang->urllink_url = "URL";
|
||||
$lang->image_margin = 'Image Margin';
|
||||
|
||||
$lang->about_url_link_open_window = "Hacer el vinculo para abrir una nueva ventana";
|
||||
$lang->cmd_get_scale = "Obtener tamano de la imagen";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_link/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor Module > language pack of image_link component
|
||||
**/
|
||||
|
||||
$lang->image_url = "Ruta de la imagen";
|
||||
$lang->image_alt = "Descripcion de Entrada";
|
||||
$lang->image_scale = "Tamano de la Imagen";
|
||||
$lang->image_align = "Alinear Estilo";
|
||||
$lang->image_align_normal = "Occupy un parrafo";
|
||||
$lang->image_align_left = "Izquierda del articulo";
|
||||
$lang->image_align_middle = "Centro";
|
||||
$lang->image_align_right = "Derecho de articulo";
|
||||
$lang->image_border = "Grosor de Fronteras";
|
||||
$lang->urllink_url = "URL";
|
||||
$lang->image_margin = 'Image Margin';
|
||||
|
||||
$lang->about_url_link_open_window = "Hacer el vinculo para abrir una nueva ventana";
|
||||
$lang->cmd_get_scale = "Obtener tamano de la imagen";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/image_link/lang/jp.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻訳:RisaPapa、ミニミ
|
||||
* @brief ウィジウィグエディター(editor)モジュール > イメージリンク(image_link)コンポネント言語パッケージ
|
||||
**/
|
||||
|
||||
$lang->image_url = 'イメージパス';
|
||||
$lang->image_alt = '説明(Alt)入力';
|
||||
$lang->image_scale = 'イメージサイズ';
|
||||
$lang->image_align = 'アライン位置';
|
||||
$lang->image_align_normal = '一段落';
|
||||
$lang->image_align_left = '左揃え';
|
||||
$lang->image_align_middle = '中央揃え';
|
||||
$lang->image_align_right = '右揃え';
|
||||
$lang->image_border = 'ボーダー';
|
||||
$lang->image_margin = '外側の空白(Margin)';
|
||||
|
||||
$lang->urllink_open_window = '新しいウィンドウで開く';
|
||||
$lang->about_url_link_open_window = 'チェックすると、リンクをクリックする際、新しいウィンドウで開きます。';
|
||||
|
||||
$lang->cmd_get_scale = 'イメージサイズを計算';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/image_link/lang/jp.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻訳:RisaPapa、ミニミ
|
||||
* @brief ウィジウィグエディター(editor)モジュール > イメージリンク(image_link)コンポネント言語パッケージ
|
||||
**/
|
||||
|
||||
$lang->image_url = 'イメージパス';
|
||||
$lang->image_alt = '説明(Alt)入力';
|
||||
$lang->image_scale = 'イメージサイズ';
|
||||
$lang->image_align = 'アライン位置';
|
||||
$lang->image_align_normal = '一段落';
|
||||
$lang->image_align_left = '左揃え';
|
||||
$lang->image_align_middle = '中央揃え';
|
||||
$lang->image_align_right = '右揃え';
|
||||
$lang->image_border = 'ボーダー';
|
||||
$lang->image_margin = '外側の空白(Margin)';
|
||||
|
||||
$lang->urllink_open_window = '新しいウィンドウで開く';
|
||||
$lang->about_url_link_open_window = 'チェックすると、リンクをクリックする際、新しいウィンドウで開きます。';
|
||||
|
||||
$lang->cmd_get_scale = 'イメージサイズを計算';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/image_link/lang/ko.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 위지윅에디터(editor) 모듈 > 이미지링크(image_link) 컴포넌트의 언어팩
|
||||
**/
|
||||
|
||||
$lang->image_url = '이미지 경로';
|
||||
$lang->image_alt = '설명 입력';
|
||||
$lang->image_scale = '이미지 크기';
|
||||
$lang->image_align = '정렬 방법';
|
||||
$lang->image_align_normal = '한 문단을 차지';
|
||||
$lang->image_align_left = '글의 왼쪽으로';
|
||||
$lang->image_align_middle = '가운데';
|
||||
$lang->image_align_right = '글의 우측으로';
|
||||
$lang->image_border = '경계선 두께';
|
||||
$lang->image_margin = '바깥 여백';
|
||||
|
||||
$lang->urllink_open_window = '새 창 열기';
|
||||
$lang->about_url_link_open_window = '선택하시면 링크 선택 시 새 창으로 열립니다.';
|
||||
|
||||
$lang->cmd_get_scale = '가로세로 구하기';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/image_link/lang/ko.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 위지윅에디터(editor) 모듈 > 이미지링크(image_link) 컴포넌트의 언어팩
|
||||
**/
|
||||
|
||||
$lang->image_url = '이미지 경로';
|
||||
$lang->image_alt = '설명 입력';
|
||||
$lang->image_scale = '이미지 크기';
|
||||
$lang->image_align = '정렬 방법';
|
||||
$lang->image_align_normal = '한 문단을 차지';
|
||||
$lang->image_align_left = '글의 왼쪽으로';
|
||||
$lang->image_align_middle = '가운데';
|
||||
$lang->image_align_right = '글의 우측으로';
|
||||
$lang->image_border = '경계선 두께';
|
||||
$lang->image_margin = '바깥 여백';
|
||||
|
||||
$lang->urllink_open_window = '새 창 열기';
|
||||
$lang->about_url_link_open_window = '선택하시면 링크 선택 시 새 창으로 열립니다.';
|
||||
|
||||
$lang->cmd_get_scale = '가로세로 구하기';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,22 +1,22 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_link/lang/ru.lang.php
|
||||
* @author NHN (developers@xpressengine.com) | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467;
|
||||
* @brief editor Module > language pack of image_link component
|
||||
**/
|
||||
|
||||
$lang->image_url = "Путь изображения";
|
||||
$lang->image_alt = "Введите описание";
|
||||
$lang->image_scale = "Размер изображения";
|
||||
$lang->image_align = "Стиль выравнивания";
|
||||
$lang->image_align_normal = "Занять параграф";
|
||||
$lang->image_align_left = "Лево";
|
||||
$lang->image_align_middle = "Центр";
|
||||
$lang->image_align_right = "Право";
|
||||
$lang->image_border = "Толщина рамки";
|
||||
$lang->urllink_url = "URL";
|
||||
$lang->image_margin = 'Image Margin';
|
||||
|
||||
$lang->about_url_link_open_window = "Создайте ссылку для открытия в новом окне";
|
||||
$lang->cmd_get_scale = "Получить размер изображения";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_link/lang/ru.lang.php
|
||||
* @author NHN (developers@xpressengine.com) | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467;
|
||||
* @brief editor Module > language pack of image_link component
|
||||
**/
|
||||
|
||||
$lang->image_url = "Путь изображения";
|
||||
$lang->image_alt = "Введите описание";
|
||||
$lang->image_scale = "Размер изображения";
|
||||
$lang->image_align = "Стиль выравнивания";
|
||||
$lang->image_align_normal = "Занять параграф";
|
||||
$lang->image_align_left = "Лево";
|
||||
$lang->image_align_middle = "Центр";
|
||||
$lang->image_align_right = "Право";
|
||||
$lang->image_border = "Толщина рамки";
|
||||
$lang->urllink_url = "URL";
|
||||
$lang->image_margin = 'Image Margin';
|
||||
|
||||
$lang->about_url_link_open_window = "Создайте ссылку для открытия в новом окне";
|
||||
$lang->cmd_get_scale = "Получить размер изображения";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,22 +1,22 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_link/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor Module > language pack of image_link component
|
||||
**/
|
||||
|
||||
$lang->image_url = "Resim Yolu";
|
||||
$lang->image_alt = "Açıklama Gir";
|
||||
$lang->image_scale = "Resim Boyutu";
|
||||
$lang->image_align = "Hizalama Tarzı";
|
||||
$lang->image_align_normal = "Paragraf Atla";
|
||||
$lang->image_align_left = "Makalenin Solunda";
|
||||
$lang->image_align_middle = "Ortalı";
|
||||
$lang->image_align_right = "Makalenin Sağında";
|
||||
$lang->image_border = "Kenarlık Kalınlığı";
|
||||
$lang->urllink_url = "URL";
|
||||
$lang->image_margin = 'Resim Kenar Boşluğu';
|
||||
|
||||
$lang->about_url_link_open_window = "Köprüyü yeni pencerede aç.";
|
||||
$lang->cmd_get_scale = "Resim Boyutunu Al";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_link/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor Module > language pack of image_link component
|
||||
**/
|
||||
|
||||
$lang->image_url = "Resim Yolu";
|
||||
$lang->image_alt = "Açıklama Gir";
|
||||
$lang->image_scale = "Resim Boyutu";
|
||||
$lang->image_align = "Hizalama Tarzı";
|
||||
$lang->image_align_normal = "Paragraf Atla";
|
||||
$lang->image_align_left = "Makalenin Solunda";
|
||||
$lang->image_align_middle = "Ortalı";
|
||||
$lang->image_align_right = "Makalenin Sağında";
|
||||
$lang->image_border = "Kenarlık Kalınlığı";
|
||||
$lang->urllink_url = "URL";
|
||||
$lang->image_margin = 'Resim Kenar Boşluğu';
|
||||
|
||||
$lang->about_url_link_open_window = "Köprüyü yeni pencerede aç.";
|
||||
$lang->cmd_get_scale = "Resim Boyutunu Al";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,24 +1,24 @@
|
|||
<?php
|
||||
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
░░ * @File : common/lang/vi.lang.php ░░
|
||||
░░ * @Author : NHN (developers@xpressengine.com) ░░
|
||||
░░ * @Trans : Đào Đức Duy (ducduy.dao.vn@vietxe.net) ░░
|
||||
░░ * @Website: http://vietxe.net ░░
|
||||
░░ * @Brief : Vietnamese Language Pack (Only basic words are included here) ░░
|
||||
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */
|
||||
|
||||
$lang->image_url = "Đường dẫn";
|
||||
$lang->image_alt = "Mô tả";
|
||||
$lang->image_scale = "Kích thước";
|
||||
$lang->image_align = "Căn chỉnh";
|
||||
$lang->image_align_normal = "Một khoảng bài viết";
|
||||
$lang->image_align_left = "Bên trái bài viết";
|
||||
$lang->image_align_middle = "Giữa";
|
||||
$lang->image_align_right = "Bên phải bài viết";
|
||||
$lang->image_border = "Độ dày viền";
|
||||
$lang->urllink_url = "URL";
|
||||
$lang->image_margin = 'Lề của hình ảnh';
|
||||
|
||||
$lang->about_url_link_open_window = "Mở ra trang mới khi bấm vào hình";
|
||||
$lang->cmd_get_scale = "Lấy kích thước thật của hình";
|
||||
<?php
|
||||
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
░░ * @File : common/lang/vi.lang.php ░░
|
||||
░░ * @Author : NHN (developers@xpressengine.com) ░░
|
||||
░░ * @Trans : Đào Đức Duy (ducduy.dao.vn@vietxe.net) ░░
|
||||
░░ * @Website: http://vietxe.net ░░
|
||||
░░ * @Brief : Vietnamese Language Pack (Only basic words are included here) ░░
|
||||
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */
|
||||
|
||||
$lang->image_url = "Đường dẫn";
|
||||
$lang->image_alt = "Mô tả";
|
||||
$lang->image_scale = "Kích thước";
|
||||
$lang->image_align = "Căn chỉnh";
|
||||
$lang->image_align_normal = "Một khoảng bài viết";
|
||||
$lang->image_align_left = "Bên trái bài viết";
|
||||
$lang->image_align_middle = "Giữa";
|
||||
$lang->image_align_right = "Bên phải bài viết";
|
||||
$lang->image_border = "Độ dày viền";
|
||||
$lang->urllink_url = "URL";
|
||||
$lang->image_margin = 'Lề của hình ảnh';
|
||||
|
||||
$lang->about_url_link_open_window = "Mở ra trang mới khi bấm vào hình";
|
||||
$lang->cmd_get_scale = "Lấy kích thước thật của hình";
|
||||
?>
|
||||
|
|
@ -1,23 +1,23 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_link/lang/zh-CN.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 网页编辑器(editor) 模块 > 图像链接(image_link) 组件的语言包
|
||||
**/
|
||||
|
||||
$lang->image_url = "图像路径";
|
||||
$lang->image_alt = "图像说明";
|
||||
$lang->image_scale = "图像大小";
|
||||
$lang->image_align = "对齐方式";
|
||||
$lang->image_align_normal = "占一个段落";
|
||||
$lang->image_align_left = "内容左侧";
|
||||
$lang->image_align_middle = "居中";
|
||||
$lang->image_align_right = "内容右侧";
|
||||
$lang->image_border = "边框粗细";
|
||||
$lang->image_margin = '外边距';
|
||||
|
||||
$lang->urllink_open_window = '新窗口打开';
|
||||
$lang->about_url_link_open_window = "将在新窗口中打开链接。";
|
||||
|
||||
$lang->cmd_get_scale = "获得图片大小";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_link/lang/zh-CN.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 网页编辑器(editor) 模块 > 图像链接(image_link) 组件的语言包
|
||||
**/
|
||||
|
||||
$lang->image_url = "图像路径";
|
||||
$lang->image_alt = "图像说明";
|
||||
$lang->image_scale = "图像大小";
|
||||
$lang->image_align = "对齐方式";
|
||||
$lang->image_align_normal = "占一个段落";
|
||||
$lang->image_align_left = "内容左侧";
|
||||
$lang->image_align_middle = "居中";
|
||||
$lang->image_align_right = "内容右侧";
|
||||
$lang->image_border = "边框粗细";
|
||||
$lang->image_margin = '外边距';
|
||||
|
||||
$lang->urllink_open_window = '新窗口打开';
|
||||
$lang->about_url_link_open_window = "将在新窗口中打开链接。";
|
||||
|
||||
$lang->cmd_get_scale = "获得图片大小";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,22 +1,22 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_link/lang/zh-TW.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻譯:royallin
|
||||
* @brief 網頁編輯器(editor)模組 > 圖片連結(image_link)組件語言
|
||||
**/
|
||||
|
||||
$lang->image_url = "圖片路徑";
|
||||
$lang->image_alt = "圖片說明";
|
||||
$lang->image_scale = "圖片大小";
|
||||
$lang->image_align = "對齊方式";
|
||||
$lang->image_align_normal = "段落";
|
||||
$lang->image_align_left = "靠左";
|
||||
$lang->image_align_middle = "置中";
|
||||
$lang->image_align_right = "靠右";
|
||||
$lang->image_border = "邊框粗細";
|
||||
$lang->urllink_url = "網址";
|
||||
$lang->image_margin = '圖片邊距';
|
||||
|
||||
$lang->about_url_link_open_window = "開啟連結於新視窗。";
|
||||
$lang->cmd_get_scale = "取得圖片大小";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/image_link/lang/zh-TW.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻譯:royallin
|
||||
* @brief 網頁編輯器(editor)模組 > 圖片連結(image_link)組件語言
|
||||
**/
|
||||
|
||||
$lang->image_url = "圖片路徑";
|
||||
$lang->image_alt = "圖片說明";
|
||||
$lang->image_scale = "圖片大小";
|
||||
$lang->image_align = "對齊方式";
|
||||
$lang->image_align_normal = "段落";
|
||||
$lang->image_align_left = "靠左";
|
||||
$lang->image_align_middle = "置中";
|
||||
$lang->image_align_right = "靠右";
|
||||
$lang->image_border = "邊框粗細";
|
||||
$lang->urllink_url = "網址";
|
||||
$lang->image_margin = '圖片邊距';
|
||||
|
||||
$lang->about_url_link_open_window = "開啟連結於新視窗。";
|
||||
$lang->cmd_get_scale = "取得圖片大小";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,35 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component version="0.2">
|
||||
<title xml:lang="ko">멀티미디어 자료 관리</title>
|
||||
<title xml:lang="jp">マルチメディア管理</title>
|
||||
<title xml:lang="zh-CN">多媒体</title>
|
||||
<title xml:lang="en">Manage Multimedia Data</title>
|
||||
<title xml:lang="es">Administrar datos multimedia </title>
|
||||
<title xml:lang="ru">Управление мультимедиа данными</title>
|
||||
<title xml:lang="zh-TW">多媒體管理</title>
|
||||
<title xml:lang="vi">Chèn Media vào bài viết</title>
|
||||
<title xml:lang="tr">Çoklu Ortam Verisi Yönetme</title>
|
||||
<description xml:lang="ko">에디터에 wmv,avi,flv등의 멀티미디어 자료를 추가하거나 속성을 수정할 수 있습니다.</description>
|
||||
<description xml:lang="jp">エディターに拡張子が「wmv,avi,flv」などのマルチメディアコンテンツを追加、または属性の修正ができます。</description>
|
||||
<description xml:lang="zh-CN">插入wmv,avi,flv等多媒体文件或修改其相应属性 。</description>
|
||||
<description xml:lang="en">It can add multimedia data like wmv,avi,flv to editor or change the attribution of multimedia data.</description>
|
||||
<description xml:lang="es">Se pueden agregar datos multimedia como wmv, avi, flv al editor o cambiar la atribución de datos multimedia.</description>
|
||||
<description xml:lang="ru">Это может добавить мультимедиа данные как wmv,avi,flv в редактор или изменить параметры данных мультимедиа.</description>
|
||||
<description xml:lang="zh-TW">可新增 wmv、avi、flv 等多媒體檔案或修改其相關屬性。</description>
|
||||
<description xml:lang="vi">Chèn Media dạng '.wmv,.avi,.flv,.mp3,.wma' vào bài viết.</description>
|
||||
<description xml:lang="tr">wmv, avi, flv gibi çoklu ortam dosyalarını editöre ekleyebilir veya çoklu ortam dosyasının niteliğini değiştirebilir.</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="jp">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="es">NHN</name>
|
||||
<name xml:lang="ru">NHN</name>
|
||||
<name xml:lang="zh-TW">NHN</name>
|
||||
<name xml:lang="vi">NHN</name>
|
||||
<name xml:lang="tr">NHN</name>
|
||||
</author>
|
||||
</component>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component version="0.2">
|
||||
<title xml:lang="ko">멀티미디어 자료 관리</title>
|
||||
<title xml:lang="jp">マルチメディア管理</title>
|
||||
<title xml:lang="zh-CN">多媒体</title>
|
||||
<title xml:lang="en">Manage Multimedia Data</title>
|
||||
<title xml:lang="es">Administrar datos multimedia </title>
|
||||
<title xml:lang="ru">Управление мультимедиа данными</title>
|
||||
<title xml:lang="zh-TW">多媒體管理</title>
|
||||
<title xml:lang="vi">Chèn Media vào bài viết</title>
|
||||
<title xml:lang="tr">Çoklu Ortam Verisi Yönetme</title>
|
||||
<description xml:lang="ko">에디터에 wmv,avi,flv등의 멀티미디어 자료를 추가하거나 속성을 수정할 수 있습니다.</description>
|
||||
<description xml:lang="jp">エディターに拡張子が「wmv,avi,flv」などのマルチメディアコンテンツを追加、または属性の修正ができます。</description>
|
||||
<description xml:lang="zh-CN">插入wmv,avi,flv等多媒体文件或修改其相应属性 。</description>
|
||||
<description xml:lang="en">It can add multimedia data like wmv,avi,flv to editor or change the attribution of multimedia data.</description>
|
||||
<description xml:lang="es">Se pueden agregar datos multimedia como wmv, avi, flv al editor o cambiar la atribución de datos multimedia.</description>
|
||||
<description xml:lang="ru">Это может добавить мультимедиа данные как wmv,avi,flv в редактор или изменить параметры данных мультимедиа.</description>
|
||||
<description xml:lang="zh-TW">可新增 wmv、avi、flv 等多媒體檔案或修改其相關屬性。</description>
|
||||
<description xml:lang="vi">Chèn Media dạng '.wmv,.avi,.flv,.mp3,.wma' vào bài viết.</description>
|
||||
<description xml:lang="tr">wmv, avi, flv gibi çoklu ortam dosyalarını editöre ekleyebilir veya çoklu ortam dosyasının niteliğini değiştirebilir.</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="jp">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="es">NHN</name>
|
||||
<name xml:lang="ru">NHN</name>
|
||||
<name xml:lang="zh-TW">NHN</name>
|
||||
<name xml:lang="vi">NHN</name>
|
||||
<name xml:lang="tr">NHN</name>
|
||||
</author>
|
||||
</component>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/multimedia_link/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of multimedia_link component
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "Multimedia Path";
|
||||
$lang->multimedia_caption = "Input Description";
|
||||
$lang->multimedia_width = "Width";
|
||||
$lang->multimedia_height = "Height";
|
||||
$lang->multimedia_auto_start = "Auto Start";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/multimedia_link/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of multimedia_link component
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "Multimedia Path";
|
||||
$lang->multimedia_caption = "Input Description";
|
||||
$lang->multimedia_width = "Width";
|
||||
$lang->multimedia_height = "Height";
|
||||
$lang->multimedia_auto_start = "Auto Start";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/multimedia_link/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of multimedia_link component
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "Sendero Multimedia";
|
||||
$lang->multimedia_caption = "Descripcion de Entrada";
|
||||
$lang->multimedia_width = "Ancho";
|
||||
$lang->multimedia_height = "Altura";
|
||||
$lang->multimedia_auto_start = "Auto Start";
|
||||
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/multimedia_link/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of multimedia_link component
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "Sendero Multimedia";
|
||||
$lang->multimedia_caption = "Descripcion de Entrada";
|
||||
$lang->multimedia_width = "Ancho";
|
||||
$lang->multimedia_height = "Altura";
|
||||
$lang->multimedia_auto_start = "Auto Start";
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/multimedia_link/lang/jp.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻訳:RisaPapa、ミニミ
|
||||
* @brief ウィジウィグエディター(editor)モジュール > マルチメディアリンク((multimedia_link)コンポネント言語パッケージ
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "マルチメディアのパス";
|
||||
$lang->multimedia_caption = "説明入力";
|
||||
$lang->multimedia_width = "横幅サイズ";
|
||||
$lang->multimedia_height = "縦幅サイズ";
|
||||
$lang->multimedia_auto_start = "自動再生";
|
||||
$lang->multimedia_wmode = '位置';
|
||||
|
||||
$lang->multimedia_wmode_window = '常に上へ';
|
||||
$lang->multimedia_wmode_opaque = '不透明背景';
|
||||
$lang->multimedia_wmode_transparent = '透明背景';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/multimedia_link/lang/jp.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻訳:RisaPapa、ミニミ
|
||||
* @brief ウィジウィグエディター(editor)モジュール > マルチメディアリンク((multimedia_link)コンポネント言語パッケージ
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "マルチメディアのパス";
|
||||
$lang->multimedia_caption = "説明入力";
|
||||
$lang->multimedia_width = "横幅サイズ";
|
||||
$lang->multimedia_height = "縦幅サイズ";
|
||||
$lang->multimedia_auto_start = "自動再生";
|
||||
$lang->multimedia_wmode = '位置';
|
||||
|
||||
$lang->multimedia_wmode_window = '常に上へ';
|
||||
$lang->multimedia_wmode_opaque = '不透明背景';
|
||||
$lang->multimedia_wmode_transparent = '透明背景';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/multimedia_link/lang/ko.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 위지윅에디터(editor) 모듈 > 멀티미디어 링크 (multimedia_link) 컴포넌트의 언어팩
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = '멀티미디어 경로';
|
||||
$lang->multimedia_caption = '설명 입력';
|
||||
$lang->multimedia_width = '가로';
|
||||
$lang->multimedia_height = '세로';
|
||||
$lang->multimedia_auto_start = '자동 시작';
|
||||
$lang->multimedia_wmode = '위치';
|
||||
|
||||
$lang->multimedia_wmode_window = '항상 위';
|
||||
$lang->multimedia_wmode_opaque = '배경 불투명';
|
||||
$lang->multimedia_wmode_transparent = '배경 투명';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/multimedia_link/lang/ko.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 위지윅에디터(editor) 모듈 > 멀티미디어 링크 (multimedia_link) 컴포넌트의 언어팩
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = '멀티미디어 경로';
|
||||
$lang->multimedia_caption = '설명 입력';
|
||||
$lang->multimedia_width = '가로';
|
||||
$lang->multimedia_height = '세로';
|
||||
$lang->multimedia_auto_start = '자동 시작';
|
||||
$lang->multimedia_wmode = '위치';
|
||||
|
||||
$lang->multimedia_wmode_window = '항상 위';
|
||||
$lang->multimedia_wmode_opaque = '배경 불투명';
|
||||
$lang->multimedia_wmode_transparent = '배경 투명';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/multimedia_link/lang/ru.lang.php
|
||||
* @author NHN (developers@xpressengine.com)> | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467;
|
||||
* @brief editor module > language pack of multimedia_link component
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "Путь мультимедиа";
|
||||
$lang->multimedia_caption = "Введите описание";
|
||||
$lang->multimedia_width = "Ширина";
|
||||
$lang->multimedia_height = "Высота";
|
||||
$lang->multimedia_auto_start = "Автозапуск";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/multimedia_link/lang/ru.lang.php
|
||||
* @author NHN (developers@xpressengine.com)> | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467;
|
||||
* @brief editor module > language pack of multimedia_link component
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "Путь мультимедиа";
|
||||
$lang->multimedia_caption = "Введите описание";
|
||||
$lang->multimedia_width = "Ширина";
|
||||
$lang->multimedia_height = "Высота";
|
||||
$lang->multimedia_auto_start = "Автозапуск";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/multimedia_link/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of multimedia_link component
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "Çoklu Ortam Yolu";
|
||||
$lang->multimedia_caption = "Açıklama Girin";
|
||||
$lang->multimedia_width = "Genişlik";
|
||||
$lang->multimedia_height = "Yükseklik";
|
||||
$lang->multimedia_auto_start = "Otomatik Başlangıç";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/multimedia_link/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of multimedia_link component
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "Çoklu Ortam Yolu";
|
||||
$lang->multimedia_caption = "Açıklama Girin";
|
||||
$lang->multimedia_width = "Genişlik";
|
||||
$lang->multimedia_height = "Yükseklik";
|
||||
$lang->multimedia_auto_start = "Otomatik Başlangıç";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
<?php
|
||||
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
░░ * @File : common/lang/vi.lang.php ░░
|
||||
░░ * @Author : NHN (developers@xpressengine.com) ░░
|
||||
░░ * @Trans : Đào Đức Duy (ducduy.dao.vn@vietxe.net) ░░
|
||||
░░ * @Website: http://vietxe.net ░░
|
||||
░░ * @Brief : Vietnamese Language Pack (Only basic words are included here) ░░
|
||||
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */
|
||||
|
||||
$lang->multimedia_url = "Đường dẫn Media";
|
||||
$lang->multimedia_caption = "Mô tả Media";
|
||||
$lang->multimedia_width = "Chiều rộng";
|
||||
$lang->multimedia_height = "Chiều cao";
|
||||
$lang->multimedia_auto_start = "Tự động Play";
|
||||
?>
|
||||
<?php
|
||||
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
░░ * @File : common/lang/vi.lang.php ░░
|
||||
░░ * @Author : NHN (developers@xpressengine.com) ░░
|
||||
░░ * @Trans : Đào Đức Duy (ducduy.dao.vn@vietxe.net) ░░
|
||||
░░ * @Website: http://vietxe.net ░░
|
||||
░░ * @Brief : Vietnamese Language Pack (Only basic words are included here) ░░
|
||||
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */
|
||||
|
||||
$lang->multimedia_url = "Đường dẫn Media";
|
||||
$lang->multimedia_caption = "Mô tả Media";
|
||||
$lang->multimedia_width = "Chiều rộng";
|
||||
$lang->multimedia_height = "Chiều cao";
|
||||
$lang->multimedia_auto_start = "Tự động Play";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/multimedia_link/lang/zh-CN.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 网页编辑器(editor) 模块 > 媒体链接 (multimedia_link) 组件的语言包
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "媒体路径";
|
||||
$lang->multimedia_caption = "输入说明";
|
||||
$lang->multimedia_width = "宽度";
|
||||
$lang->multimedia_height = "高度";
|
||||
$lang->multimedia_auto_start = "自动播放";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/multimedia_link/lang/zh-CN.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 网页编辑器(editor) 模块 > 媒体链接 (multimedia_link) 组件的语言包
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "媒体路径";
|
||||
$lang->multimedia_caption = "输入说明";
|
||||
$lang->multimedia_width = "宽度";
|
||||
$lang->multimedia_height = "高度";
|
||||
$lang->multimedia_auto_start = "自动播放";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,17 +1,17 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/multimedia_link/lang/zh-TW.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻譯:royallin
|
||||
* @brief 網頁編輯器(editor) 模組 > 多媒體連結 (multimedia_link) 組件的語言
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "多媒體路徑";
|
||||
$lang->multimedia_caption = "輸入說明";
|
||||
$lang->multimedia_width = "寬度";
|
||||
$lang->multimedia_height = "高度";
|
||||
$lang->multimedia_auto_start = "自動播放";
|
||||
|
||||
$lang->multimedia_wmode_window = '總是在上';
|
||||
$lang->multimedia_wmode_opaque = '背景不透明';
|
||||
$lang->multimedia_wmode_transparent = '透明背景';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/multimedia_link/lang/zh-TW.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻譯:royallin
|
||||
* @brief 網頁編輯器(editor) 模組 > 多媒體連結 (multimedia_link) 組件的語言
|
||||
**/
|
||||
|
||||
$lang->multimedia_url = "多媒體路徑";
|
||||
$lang->multimedia_caption = "輸入說明";
|
||||
$lang->multimedia_width = "寬度";
|
||||
$lang->multimedia_height = "高度";
|
||||
$lang->multimedia_auto_start = "自動播放";
|
||||
|
||||
$lang->multimedia_wmode_window = '總是在上';
|
||||
$lang->multimedia_wmode_opaque = '背景不透明';
|
||||
$lang->multimedia_wmode_transparent = '透明背景';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,71 +1,71 @@
|
|||
<?php
|
||||
/**
|
||||
* @class multimedia_link
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 본문에 멀티미디어 자료를 연결하는 컴포넌트
|
||||
**/
|
||||
|
||||
class multimedia_link extends EditorHandler {
|
||||
|
||||
// editor_sequence 는 에디터에서 필수로 달고 다녀야 함....
|
||||
var $editor_sequence = 0;
|
||||
var $component_path = '';
|
||||
|
||||
/**
|
||||
* @brief editor_sequence과 컴포넌트의 경로를 받음
|
||||
**/
|
||||
function multimedia_link($editor_sequence, $component_path) {
|
||||
$this->editor_sequence = $editor_sequence;
|
||||
$this->component_path = $component_path;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief popup window요청시 popup window에 출력할 내용을 추가하면 된다
|
||||
**/
|
||||
function getPopupContent() {
|
||||
// 템플릿을 미리 컴파일해서 컴파일된 소스를 return
|
||||
$tpl_path = $this->component_path.'tpl';
|
||||
$tpl_file = 'popup.html';
|
||||
|
||||
Context::set("tpl_path", $tpl_path);
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 에디터 컴포넌트가 별도의 고유 코드를 이용한다면 그 코드를 html로 변경하여 주는 method
|
||||
*
|
||||
* 이미지나 멀티미디어, 설문등 고유 코드가 필요한 에디터 컴포넌트는 고유코드를 내용에 추가하고 나서
|
||||
* DocumentModule::transContent() 에서 해당 컴포넌트의 transHtml() method를 호출하여 고유코드를 html로 변경
|
||||
**/
|
||||
function transHTML($xml_obj) {
|
||||
$src = $xml_obj->attrs->multimedia_src;
|
||||
$style = $xml_obj->attrs->style;
|
||||
|
||||
preg_match_all('/(width|height)([^[:digit:]]+)([0-9]+)/i',$style,$matches);
|
||||
$width = trim($matches[3][0]);
|
||||
$height = trim($matches[3][1]);
|
||||
if(!$width) $width = 400;
|
||||
if(!$height) $height = 400;
|
||||
|
||||
$auto_start = $xml_obj->attrs->auto_start;
|
||||
if($auto_start!="true") $auto_start = "false";
|
||||
else $auto_start = "true";
|
||||
|
||||
$wmode = $xml_obj->attrs->wmode;
|
||||
if($wmode == 'window') $wmode = 'window';
|
||||
elseif($wmode == 'opaque') $wmode = 'opaque';
|
||||
else $wmode = 'transparent';
|
||||
|
||||
|
||||
$caption = $xml_obj->body;
|
||||
|
||||
$src = str_replace(array('&','"'), array('&','&qout;'), $src);
|
||||
$src = str_replace('&amp;', '&', $src);
|
||||
|
||||
if(Context::getResponseMethod() != "XMLRPC") return sprintf("<script type=\"text/javascript\">displayMultimedia(\"%s\", \"%s\",\"%s\", { \"autostart\" : %s, \"wmode\" : \"%s\" });</script>", $src, $width, $height, $auto_start, $wmode);
|
||||
else return sprintf("<div style=\"width: %dpx; height: %dpx;\"><span style=\"position:relative; top:%dpx;left:%d\"><img src=\"%s\" /><br />Attached Multimedia</span></div>", $width, $height, ($height/2-16), ($width/2-31), Context::getRequestUri().'./modules/editor/components/multimedia_link/tpl/multimedia_link_component.gif');
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @class multimedia_link
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 본문에 멀티미디어 자료를 연결하는 컴포넌트
|
||||
**/
|
||||
|
||||
class multimedia_link extends EditorHandler {
|
||||
|
||||
// editor_sequence 는 에디터에서 필수로 달고 다녀야 함....
|
||||
var $editor_sequence = 0;
|
||||
var $component_path = '';
|
||||
|
||||
/**
|
||||
* @brief editor_sequence과 컴포넌트의 경로를 받음
|
||||
**/
|
||||
function multimedia_link($editor_sequence, $component_path) {
|
||||
$this->editor_sequence = $editor_sequence;
|
||||
$this->component_path = $component_path;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief popup window요청시 popup window에 출력할 내용을 추가하면 된다
|
||||
**/
|
||||
function getPopupContent() {
|
||||
// 템플릿을 미리 컴파일해서 컴파일된 소스를 return
|
||||
$tpl_path = $this->component_path.'tpl';
|
||||
$tpl_file = 'popup.html';
|
||||
|
||||
Context::set("tpl_path", $tpl_path);
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 에디터 컴포넌트가 별도의 고유 코드를 이용한다면 그 코드를 html로 변경하여 주는 method
|
||||
*
|
||||
* 이미지나 멀티미디어, 설문등 고유 코드가 필요한 에디터 컴포넌트는 고유코드를 내용에 추가하고 나서
|
||||
* DocumentModule::transContent() 에서 해당 컴포넌트의 transHtml() method를 호출하여 고유코드를 html로 변경
|
||||
**/
|
||||
function transHTML($xml_obj) {
|
||||
$src = $xml_obj->attrs->multimedia_src;
|
||||
$style = $xml_obj->attrs->style;
|
||||
|
||||
preg_match_all('/(width|height)([^[:digit:]]+)([0-9]+)/i',$style,$matches);
|
||||
$width = trim($matches[3][0]);
|
||||
$height = trim($matches[3][1]);
|
||||
if(!$width) $width = 400;
|
||||
if(!$height) $height = 400;
|
||||
|
||||
$auto_start = $xml_obj->attrs->auto_start;
|
||||
if($auto_start!="true") $auto_start = "false";
|
||||
else $auto_start = "true";
|
||||
|
||||
$wmode = $xml_obj->attrs->wmode;
|
||||
if($wmode == 'window') $wmode = 'window';
|
||||
elseif($wmode == 'opaque') $wmode = 'opaque';
|
||||
else $wmode = 'transparent';
|
||||
|
||||
|
||||
$caption = $xml_obj->body;
|
||||
|
||||
$src = str_replace(array('&','"'), array('&','&qout;'), $src);
|
||||
$src = str_replace('&amp;', '&', $src);
|
||||
|
||||
if(Context::getResponseMethod() != "XMLRPC") return sprintf("<script type=\"text/javascript\">displayMultimedia(\"%s\", \"%s\",\"%s\", { \"autostart\" : %s, \"wmode\" : \"%s\" });</script>", $src, $width, $height, $auto_start, $wmode);
|
||||
else return sprintf("<div style=\"width: %dpx; height: %dpx;\"><span style=\"position:relative; top:%dpx;left:%d\"><img src=\"%s\" /><br />Attached Multimedia</span></div>", $width, $height, ($height/2-16), ($width/2-31), Context::getRequestUri().'./modules/editor/components/multimedia_link/tpl/multimedia_link_component.gif');
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,35 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component version="0.2">
|
||||
<title xml:lang="vi">Thăm dò ý kiến</title>
|
||||
<title xml:lang="ko">설문조사 컴포넌트</title>
|
||||
<title xml:lang="jp">アンケート調査</title>
|
||||
<title xml:lang="zh-CN">投票调查</title>
|
||||
<title xml:lang="en">Poll Component</title>
|
||||
<title xml:lang="es">Componente Poll</title>
|
||||
<title xml:lang="ru">Компонент опросов</title>
|
||||
<title xml:lang="zh-TW">投票調查</title>
|
||||
<title xml:lang="tr">Oylama Bileşenleri</title>
|
||||
<description xml:lang="vi">Bạn có thể tạo một cuộc thăm dò cho chủ đề của mình.</description>
|
||||
<description xml:lang="ko">글 작성시에 설문조사를 첨부하실 수 있습니다. 설문조사 컴포넌트는 설문조사 모듈의 설정에 영향을 받습니다.</description>
|
||||
<description xml:lang="jp">書き込みの時、アンケート機能の追加ができます。アンケートモジュールの影響を受けます。</description>
|
||||
<description xml:lang="zh-CN">发表主题时可以附加投票调查。投票调查组件受投票调查模块设置的影响。</description>
|
||||
<description xml:lang="en">You can attach a poll on writing articles. Poll component is affected by setting of poll module.</description>
|
||||
<description xml:lang="es">Puede adjuntar una encuesta sobre la redacción de artículos. Encuesta componente se ve afectada por la configuración de módulo de encuesta.</description>
|
||||
<description xml:lang="ru">Вы можете присоединить опрос при написании статей. Компонент опросов зависит от настроек модуля отпросов.</description>
|
||||
<description xml:lang="zh-TW">發表主題時可以附加投票調查。投票調查組件受投票調查模組設置的影響。</description>
|
||||
<description xml:lang="tr">Oylamaları yazı makalelerine ekleyebilirsiniz. Oylama bileşeni, oylama modülü ayarlarından ayarlanır.</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="vi">NHN</name>
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="jp">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="es">NHN</name>
|
||||
<name xml:lang="ru">NHN</name>
|
||||
<name xml:lang="zh-TW">NHN</name>
|
||||
<name xml:lang="tr">NHN</name>
|
||||
</author>
|
||||
</component>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component version="0.2">
|
||||
<title xml:lang="vi">Thăm dò ý kiến</title>
|
||||
<title xml:lang="ko">설문조사 컴포넌트</title>
|
||||
<title xml:lang="jp">アンケート調査</title>
|
||||
<title xml:lang="zh-CN">投票调查</title>
|
||||
<title xml:lang="en">Poll Component</title>
|
||||
<title xml:lang="es">Componente Poll</title>
|
||||
<title xml:lang="ru">Компонент опросов</title>
|
||||
<title xml:lang="zh-TW">投票調查</title>
|
||||
<title xml:lang="tr">Oylama Bileşenleri</title>
|
||||
<description xml:lang="vi">Bạn có thể tạo một cuộc thăm dò cho chủ đề của mình.</description>
|
||||
<description xml:lang="ko">글 작성시에 설문조사를 첨부하실 수 있습니다. 설문조사 컴포넌트는 설문조사 모듈의 설정에 영향을 받습니다.</description>
|
||||
<description xml:lang="jp">書き込みの時、アンケート機能の追加ができます。アンケートモジュールの影響を受けます。</description>
|
||||
<description xml:lang="zh-CN">发表主题时可以附加投票调查。投票调查组件受投票调查模块设置的影响。</description>
|
||||
<description xml:lang="en">You can attach a poll on writing articles. Poll component is affected by setting of poll module.</description>
|
||||
<description xml:lang="es">Puede adjuntar una encuesta sobre la redacción de artículos. Encuesta componente se ve afectada por la configuración de módulo de encuesta.</description>
|
||||
<description xml:lang="ru">Вы можете присоединить опрос при написании статей. Компонент опросов зависит от настроек модуля отпросов.</description>
|
||||
<description xml:lang="zh-TW">發表主題時可以附加投票調查。投票調查組件受投票調查模組設置的影響。</description>
|
||||
<description xml:lang="tr">Oylamaları yazı makalelerine ekleyebilirsiniz. Oylama bileşeni, oylama modülü ayarlarından ayarlanır.</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="vi">NHN</name>
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="jp">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="es">NHN</name>
|
||||
<name xml:lang="ru">NHN</name>
|
||||
<name xml:lang="zh-TW">NHN</name>
|
||||
<name xml:lang="tr">NHN</name>
|
||||
</author>
|
||||
</component>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/poll_maker/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of poll_maker component
|
||||
**/
|
||||
|
||||
$lang->poll_title = "Title";
|
||||
$lang->poll_item = "Items";
|
||||
$lang->poll_stop_date = "Expiration Date";
|
||||
$lang->poll_chk_count = "Number of Checking Item";
|
||||
|
||||
$lang->cmd_add_poll = "Add Poll";
|
||||
$lang->cmd_del_poll = "Delete Poll";
|
||||
$lang->cmd_add_item = "Add Item";
|
||||
|
||||
$lang->msg_poll_cannot_modify = "You cannot modify the poll. It should be deleted to create a new poll";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/poll_maker/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of poll_maker component
|
||||
**/
|
||||
|
||||
$lang->poll_title = "Title";
|
||||
$lang->poll_item = "Items";
|
||||
$lang->poll_stop_date = "Expiration Date";
|
||||
$lang->poll_chk_count = "Number of Checking Item";
|
||||
|
||||
$lang->cmd_add_poll = "Add Poll";
|
||||
$lang->cmd_del_poll = "Delete Poll";
|
||||
$lang->cmd_add_item = "Add Item";
|
||||
|
||||
$lang->msg_poll_cannot_modify = "You cannot modify the poll. It should be deleted to create a new poll";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/poll_maker/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of poll_maker component
|
||||
**/
|
||||
|
||||
$lang->poll_title = "Titulo";
|
||||
$lang->poll_item = "Temas";
|
||||
$lang->poll_stop_date = "Fecha de Expiracion";
|
||||
$lang->poll_chk_count = "Numero de Comprobacion de Partida";
|
||||
|
||||
$lang->cmd_add_poll = "Anadir Encuesta";
|
||||
$lang->cmd_del_poll = "Borrar encuesta";
|
||||
$lang->cmd_add_item = "Anadir Tema";
|
||||
|
||||
$lang->msg_poll_cannot_modify = "No se puede modificar la encuesta. Por lo que debe suprimirse para crear una nueva encuesta";
|
||||
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/poll_maker/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of poll_maker component
|
||||
**/
|
||||
|
||||
$lang->poll_title = "Titulo";
|
||||
$lang->poll_item = "Temas";
|
||||
$lang->poll_stop_date = "Fecha de Expiracion";
|
||||
$lang->poll_chk_count = "Numero de Comprobacion de Partida";
|
||||
|
||||
$lang->cmd_add_poll = "Anadir Encuesta";
|
||||
$lang->cmd_del_poll = "Borrar encuesta";
|
||||
$lang->cmd_add_item = "Anadir Tema";
|
||||
|
||||
$lang->msg_poll_cannot_modify = "No se puede modificar la encuesta. Por lo que debe suprimirse para crear una nueva encuesta";
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/urllink/lang/jp.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻訳:RisaPapa、ミニミ
|
||||
* @brief ウィジウィグエディター(editor)モジュール > アンケート調査言語パッケージ
|
||||
**/
|
||||
|
||||
$lang->poll_title = "タイトル";
|
||||
$lang->poll_item = "項目";
|
||||
$lang->poll_stop_date = "終了日";
|
||||
$lang->poll_chk_count = "選択項目数";
|
||||
|
||||
$lang->cmd_add_poll = "アンケート追加";
|
||||
$lang->cmd_del_poll = "アンケート削除";
|
||||
$lang->cmd_add_item = "項目追加";
|
||||
|
||||
$lang->msg_poll_cannot_modify = 'アンケートは修正出来ません。削除後、改めて新しく作成して下さい。';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/urllink/lang/jp.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻訳:RisaPapa、ミニミ
|
||||
* @brief ウィジウィグエディター(editor)モジュール > アンケート調査言語パッケージ
|
||||
**/
|
||||
|
||||
$lang->poll_title = "タイトル";
|
||||
$lang->poll_item = "項目";
|
||||
$lang->poll_stop_date = "終了日";
|
||||
$lang->poll_chk_count = "選択項目数";
|
||||
|
||||
$lang->cmd_add_poll = "アンケート追加";
|
||||
$lang->cmd_del_poll = "アンケート削除";
|
||||
$lang->cmd_add_item = "項目追加";
|
||||
|
||||
$lang->msg_poll_cannot_modify = 'アンケートは修正出来ません。削除後、改めて新しく作成して下さい。';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/urllink/lang/ko.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 위지윅에디터(editor) 모듈 > 설문조사 컴포넌트의 언어팩
|
||||
**/
|
||||
|
||||
$lang->poll_title = '제목';
|
||||
$lang->poll_item = '항목';
|
||||
$lang->poll_stop_date = '종료 일자';
|
||||
$lang->poll_chk_count = '선택항목 수';
|
||||
|
||||
$lang->cmd_add_poll = '설문 추가';
|
||||
$lang->cmd_del_poll = '설문 제거';
|
||||
$lang->cmd_add_item = '항목 추가';
|
||||
|
||||
$lang->msg_poll_cannot_modify = '설문조사는 수정하실 수 없습니다. 삭제 후 다시 생성하셔야 합니다.';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file modules/editor/components/urllink/lang/ko.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 위지윅에디터(editor) 모듈 > 설문조사 컴포넌트의 언어팩
|
||||
**/
|
||||
|
||||
$lang->poll_title = '제목';
|
||||
$lang->poll_item = '항목';
|
||||
$lang->poll_stop_date = '종료 일자';
|
||||
$lang->poll_chk_count = '선택항목 수';
|
||||
|
||||
$lang->cmd_add_poll = '설문 추가';
|
||||
$lang->cmd_del_poll = '설문 제거';
|
||||
$lang->cmd_add_item = '항목 추가';
|
||||
|
||||
$lang->msg_poll_cannot_modify = '설문조사는 수정하실 수 없습니다. 삭제 후 다시 생성하셔야 합니다.';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/poll_maker/lang/ru.lang.php
|
||||
* @author NHN (developers@xpressengine.com) | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467;
|
||||
* @brief editor module > language pack of poll_maker component
|
||||
**/
|
||||
|
||||
$lang->poll_title = "Заголовок";
|
||||
$lang->poll_item = "Пункты";
|
||||
$lang->poll_stop_date = "Дата истечения";
|
||||
$lang->poll_chk_count = "Число пунктов выбора";
|
||||
|
||||
$lang->cmd_add_poll = "Добавить опрос";
|
||||
$lang->cmd_del_poll = "Удалить опрос";
|
||||
$lang->cmd_add_item = "Добавить пункт";
|
||||
|
||||
$lang->msg_poll_cannot_modify = "Вы не можете изменить этот опрос. Его следует удалить для того, чтобы создать новый.";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/poll_maker/lang/ru.lang.php
|
||||
* @author NHN (developers@xpressengine.com) | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467;
|
||||
* @brief editor module > language pack of poll_maker component
|
||||
**/
|
||||
|
||||
$lang->poll_title = "Заголовок";
|
||||
$lang->poll_item = "Пункты";
|
||||
$lang->poll_stop_date = "Дата истечения";
|
||||
$lang->poll_chk_count = "Число пунктов выбора";
|
||||
|
||||
$lang->cmd_add_poll = "Добавить опрос";
|
||||
$lang->cmd_del_poll = "Удалить опрос";
|
||||
$lang->cmd_add_item = "Добавить пункт";
|
||||
|
||||
$lang->msg_poll_cannot_modify = "Вы не можете изменить этот опрос. Его следует удалить для того, чтобы создать новый.";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/poll_maker/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of poll_maker component
|
||||
**/
|
||||
|
||||
$lang->poll_title = "Başlık";
|
||||
$lang->poll_item = "Parça";
|
||||
$lang->poll_stop_date = "Sonlandırma Tarihi";
|
||||
$lang->poll_chk_count = "Denetlenen Parça Sayısı";
|
||||
|
||||
$lang->cmd_add_poll = "Oylama Ekle";
|
||||
$lang->cmd_del_poll = "Parçayı Sil";
|
||||
$lang->cmd_add_item = "Parça Ekle";
|
||||
|
||||
$lang->msg_poll_cannot_modify = "Oylamayı düzenleyemezsiniz. Yeni oylama oluşturmak için, oylamanın silinmesi gerekiyor.";
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/poll_maker/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief editor module > language pack of poll_maker component
|
||||
**/
|
||||
|
||||
$lang->poll_title = "Başlık";
|
||||
$lang->poll_item = "Parça";
|
||||
$lang->poll_stop_date = "Sonlandırma Tarihi";
|
||||
$lang->poll_chk_count = "Denetlenen Parça Sayısı";
|
||||
|
||||
$lang->cmd_add_poll = "Oylama Ekle";
|
||||
$lang->cmd_del_poll = "Parçayı Sil";
|
||||
$lang->cmd_add_item = "Parça Ekle";
|
||||
|
||||
$lang->msg_poll_cannot_modify = "Oylamayı düzenleyemezsiniz. Yeni oylama oluşturmak için, oylamanın silinmesi gerekiyor.";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
<?php
|
||||
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
░░ * @File : common/lang/vi.lang.php ░░
|
||||
░░ * @Author : NHN (developers@xpressengine.com) ░░
|
||||
░░ * @Trans : Đào Đức Duy (ducduy.dao.vn@vietxe.net) ░░
|
||||
░░ * @Website: http://vietxe.net ░░
|
||||
░░ * @Brief : Vietnamese Language Pack (Only basic words are included here) ░░
|
||||
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */
|
||||
|
||||
$lang->poll_title = "Tiêu đề";
|
||||
$lang->poll_item = "Mục";
|
||||
$lang->poll_stop_date = "Ngày hết hạn";
|
||||
$lang->poll_chk_count = "Số phiếu";
|
||||
|
||||
$lang->cmd_add_poll = "Tạo thăm dò";
|
||||
$lang->cmd_del_poll = "Xóa thăm dò";
|
||||
$lang->cmd_add_item = "Thêm mục";
|
||||
|
||||
$lang->msg_poll_cannot_modify = "Bạn không thể sửa đổi được. Nó sẽ được xóa để tạo cuộc thăm dò mới.";
|
||||
?>
|
||||
<?php
|
||||
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
░░ * @File : common/lang/vi.lang.php ░░
|
||||
░░ * @Author : NHN (developers@xpressengine.com) ░░
|
||||
░░ * @Trans : Đào Đức Duy (ducduy.dao.vn@vietxe.net) ░░
|
||||
░░ * @Website: http://vietxe.net ░░
|
||||
░░ * @Brief : Vietnamese Language Pack (Only basic words are included here) ░░
|
||||
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */
|
||||
|
||||
$lang->poll_title = "Tiêu đề";
|
||||
$lang->poll_item = "Mục";
|
||||
$lang->poll_stop_date = "Ngày hết hạn";
|
||||
$lang->poll_chk_count = "Số phiếu";
|
||||
|
||||
$lang->cmd_add_poll = "Tạo thăm dò";
|
||||
$lang->cmd_del_poll = "Xóa thăm dò";
|
||||
$lang->cmd_add_item = "Thêm mục";
|
||||
|
||||
$lang->msg_poll_cannot_modify = "Bạn không thể sửa đổi được. Nó sẽ được xóa để tạo cuộc thăm dò mới.";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/urllink/lang/zh-CN.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 网页编辑器(editor) 模块 > 投票调查组件语言包
|
||||
**/
|
||||
|
||||
$lang->poll_title = "标题";
|
||||
$lang->poll_item = "项目";
|
||||
$lang->poll_stop_date = "结束日期";
|
||||
$lang->poll_chk_count = "选择项目数";
|
||||
|
||||
$lang->cmd_add_poll = "添加投票";
|
||||
$lang->cmd_del_poll = "解除投票";
|
||||
$lang->cmd_add_item = "添加项目";
|
||||
|
||||
$lang->msg_poll_cannot_modify = '投票调查不提供修改功能。必须删除后再生成';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/urllink/lang/zh-CN.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 网页编辑器(editor) 模块 > 投票调查组件语言包
|
||||
**/
|
||||
|
||||
$lang->poll_title = "标题";
|
||||
$lang->poll_item = "项目";
|
||||
$lang->poll_stop_date = "结束日期";
|
||||
$lang->poll_chk_count = "选择项目数";
|
||||
|
||||
$lang->cmd_add_poll = "添加投票";
|
||||
$lang->cmd_del_poll = "解除投票";
|
||||
$lang->cmd_add_item = "添加项目";
|
||||
|
||||
$lang->msg_poll_cannot_modify = '投票调查不提供修改功能。必须删除后再生成';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/urllink/lang/zh-TW.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻譯:royallin
|
||||
* @brief 網頁編輯器(editor) 模組 > 投票調查組件語言
|
||||
**/
|
||||
|
||||
$lang->poll_title = "標題";
|
||||
$lang->poll_item = "項目";
|
||||
$lang->poll_stop_date = "結束日期";
|
||||
$lang->poll_chk_count = "選擇項目數";
|
||||
|
||||
$lang->cmd_add_poll = "新增投票";
|
||||
$lang->cmd_del_poll = "刪除投票";
|
||||
$lang->cmd_add_item = "新增項目";
|
||||
|
||||
$lang->msg_poll_cannot_modify = '投票調查不提供修改功能。必須刪除後再新增';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file /modules/editor/components/urllink/lang/zh-TW.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻譯:royallin
|
||||
* @brief 網頁編輯器(editor) 模組 > 投票調查組件語言
|
||||
**/
|
||||
|
||||
$lang->poll_title = "標題";
|
||||
$lang->poll_item = "項目";
|
||||
$lang->poll_stop_date = "結束日期";
|
||||
$lang->poll_chk_count = "選擇項目數";
|
||||
|
||||
$lang->cmd_add_poll = "新增投票";
|
||||
$lang->cmd_del_poll = "刪除投票";
|
||||
$lang->cmd_add_item = "新增項目";
|
||||
|
||||
$lang->msg_poll_cannot_modify = '投票調查不提供修改功能。必須刪除後再新增';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,60 +1,60 @@
|
|||
<?php
|
||||
/**
|
||||
* @class poll_maker
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 에디터에서 url링크하는 기능 제공.
|
||||
**/
|
||||
|
||||
class poll_maker extends EditorHandler {
|
||||
|
||||
// editor_sequence 는 에디터에서 필수로 달고 다녀야 함....
|
||||
var $editor_sequence = 0;
|
||||
var $component_path = '';
|
||||
|
||||
/**
|
||||
* @brief editor_sequence과 컴포넌트의 경로를 받음
|
||||
**/
|
||||
function poll_maker($editor_sequence, $component_path) {
|
||||
$this->editor_sequence = $editor_sequence;
|
||||
$this->component_path = $component_path;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief popup window요청시 popup window에 출력할 내용을 추가하면 된다
|
||||
**/
|
||||
function getPopupContent() {
|
||||
// 설문조사 스킨을 구함
|
||||
$oModuleModel = &getModel('module');
|
||||
$skin_list = $oModuleModel->getSkins("./modules/poll/");
|
||||
Context::set('skin_list', $skin_list);
|
||||
|
||||
// 템플릿을 미리 컴파일해서 컴파일된 소스를 return
|
||||
$tpl_path = $this->component_path.'tpl';
|
||||
$tpl_file = 'popup.html';
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 에디터 컴포넌트가 별도의 고유 코드를 이용한다면 그 코드를 html로 변경하여 주는 method
|
||||
*
|
||||
* 이미지나 멀티미디어, 설문등 고유 코드가 필요한 에디터 컴포넌트는 고유코드를 내용에 추가하고 나서
|
||||
* DocumentModule::transContent() 에서 해당 컴포넌트의 transHtml() method를 호출하여 고유코드를 html로 변경
|
||||
**/
|
||||
function transHTML($xml_obj) {
|
||||
$poll_srl = $xml_obj->attrs->poll_srl;
|
||||
$skin = $xml_obj->attrs->skin;
|
||||
if(!$skin) $skin = 'default';
|
||||
|
||||
preg_match('/width([^[:digit:]]+)([0-9]+)/i',$xml_obj->attrs->style,$matches);
|
||||
$width = $matches[2];
|
||||
if(!$width) $width = 400;
|
||||
$style = sprintf('width:%dpx', $width);
|
||||
|
||||
// poll model 객체 생성해서 html 얻어와서 return
|
||||
$oPollModel = &getModel('poll');
|
||||
return $oPollModel->getPollHtml($poll_srl, $style, $skin);
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @class poll_maker
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 에디터에서 url링크하는 기능 제공.
|
||||
**/
|
||||
|
||||
class poll_maker extends EditorHandler {
|
||||
|
||||
// editor_sequence 는 에디터에서 필수로 달고 다녀야 함....
|
||||
var $editor_sequence = 0;
|
||||
var $component_path = '';
|
||||
|
||||
/**
|
||||
* @brief editor_sequence과 컴포넌트의 경로를 받음
|
||||
**/
|
||||
function poll_maker($editor_sequence, $component_path) {
|
||||
$this->editor_sequence = $editor_sequence;
|
||||
$this->component_path = $component_path;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief popup window요청시 popup window에 출력할 내용을 추가하면 된다
|
||||
**/
|
||||
function getPopupContent() {
|
||||
// 설문조사 스킨을 구함
|
||||
$oModuleModel = &getModel('module');
|
||||
$skin_list = $oModuleModel->getSkins("./modules/poll/");
|
||||
Context::set('skin_list', $skin_list);
|
||||
|
||||
// 템플릿을 미리 컴파일해서 컴파일된 소스를 return
|
||||
$tpl_path = $this->component_path.'tpl';
|
||||
$tpl_file = 'popup.html';
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 에디터 컴포넌트가 별도의 고유 코드를 이용한다면 그 코드를 html로 변경하여 주는 method
|
||||
*
|
||||
* 이미지나 멀티미디어, 설문등 고유 코드가 필요한 에디터 컴포넌트는 고유코드를 내용에 추가하고 나서
|
||||
* DocumentModule::transContent() 에서 해당 컴포넌트의 transHtml() method를 호출하여 고유코드를 html로 변경
|
||||
**/
|
||||
function transHTML($xml_obj) {
|
||||
$poll_srl = $xml_obj->attrs->poll_srl;
|
||||
$skin = $xml_obj->attrs->skin;
|
||||
if(!$skin) $skin = 'default';
|
||||
|
||||
preg_match('/width([^[:digit:]]+)([0-9]+)/i',$xml_obj->attrs->style,$matches);
|
||||
$width = $matches[2];
|
||||
if(!$width) $width = 400;
|
||||
$style = sprintf('width:%dpx', $width);
|
||||
|
||||
// poll model 객체 생성해서 html 얻어와서 return
|
||||
$oPollModel = &getModel('poll');
|
||||
return $oPollModel->getPollHtml($poll_srl, $style, $skin);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue