diff --git a/addons/autolink/autolink.addon.php b/addons/autolink/autolink.addon.php new file mode 100644 index 000000000..df1eff0f9 --- /dev/null +++ b/addons/autolink/autolink.addon.php @@ -0,0 +1,12 @@ + diff --git a/addons/autolink/autolink.js b/addons/autolink/autolink.js new file mode 100644 index 000000000..59e5dc43d --- /dev/null +++ b/addons/autolink/autolink.js @@ -0,0 +1,36 @@ + +jQuery(function($) { + var url_regx = /((http|https|ftp|news|telnet|irc):\/\/(([0-9a-z\-._~!$&'\(\)*+,;=:]|(%[0-9a-f]{2}))*\@)?((\[(((([0-9a-f]{1,4}:){6}([0-9a-f]{1,4}:[0-9a-f]{1,4})|(([0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])){3}[0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])))|(::([0-9a-f]{1,4}:){5}([0-9a-f]{1,4}:[0-9a-f]{1,4})|(([0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])){3}[0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])))|(([0-9a-f]{1,4})?::([0-9a-f]{1,4}:){4}([0-9a-f]{1,4}:[0-9a-f]{1,4})|(([0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])){3}[0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])))|((([0-9a-f]{1,4}:)?[0-9a-f]{1,4})?::([0-9a-f]{1,4}:){3}([0-9a-f]{1,4}:[0-9a-f]{1,4})|(([0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])){3}[0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])))|((([0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::([0-9a-f]{1,4}:){2}([0-9a-f]{1,4}:[0-9a-f]{1,4})|(([0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])){3}[0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])))|((([0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:([0-9a-f]{1,4}:[0-9a-f]{1,4})|(([0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])){3}[0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])))|((([0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::([0-9a-f]{1,4}:[0-9a-f]{1,4})|(([0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])){3}[0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])))|((([0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4})|((([0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::))|(v[0-9a-f]+.[0-9a-z\-._~!$&'\(\)*+,;=:]+))\])|(([0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5])){3}[0-9]|([1-9][0-9])|(1[0-9][0-9])|(2[0-4][0-9])|(25[0-5]))|(([0-9a-z\-._~!$&'\(\)*+,;=]|(%[0-9a-f]{2}))+))(:[0-9]*)?(\/([0-9a-z\-._~!$&'\(\)*+,;=:@]|(%[0-9a-f]{2}))*)*(\?([0-9a-z\-._~!$&'\(\)*+,;=:@\/\?]|(%[0-9a-f]{2}))*)?(#([0-9a-z\-._~!$&'\(\)*+,;=:@\/\?]|(%[0-9a-f]{2}))*)?)/i; + + function replaceHrefLink(obj) { + var obj_list = obj.childNodes; + + for(var i = 0; i < obj_list.length; ++i) { + var obj = obj_list[i]; + var pObj = obj.parentNode; + if(!pObj) continue; + + var pN = pObj.nodeName.toLowerCase(); + if($.inArray(pN, ['a', 'pre', 'xml', 'textarea', 'input', 'select', 'option', 'code', 'script', 'style']) != -1) continue; + + if(obj.nodeType == 3 && obj.length >= 10) { + var content = obj.nodeValue; + if(!/(http|https|ftp|news|telnet|irc):\/\//i.test(content)) continue; + + content = content.replace(//g, '>'); + content = content.replace(url_regx, '$1'); + + $(obj).replaceWith(content); + delete(content); + + } else if(obj.nodeType == 1 && obj.childNodes.length) { + replaceHrefLink(obj); + } + } + } + + $('.xe_content').each(function() { + replaceHrefLink(this); + }); +}); diff --git a/addons/autolink/conf/info.xml b/addons/autolink/conf/info.xml new file mode 100644 index 000000000..069e76043 --- /dev/null +++ b/addons/autolink/conf/info.xml @@ -0,0 +1,53 @@ + + + 자동 링크 애드온 + 自動リンクアドオン + Auto Link + Auto Link + 自动链接插件 + auto vínculo addon + авто ссылка аддон + Auto-Link Addon + 自動連結 + + 글과 댓글의 내용 중 URL 문자열에 링크를 걸어주는 애드온입니다. + + + 書き込み本文とコメントに登録された内容の中、httpで始まる一般文字列に自動にリンクを貼り付け、そのリンクにマウスオーバすると、別ウィンドウ、または同一ウィンドウに開くメニュが現れるアドオンです。 + + + This addon makes a link to a string that starts with http. + + + Addon này sẽ tự động tạo ra một đường Link khi gặp chuỗi kí tự 'http' có trong bài viết. + + + 主题及评论中以http开始的字符串,自动转换为链接。并且鼠标移到链接上方时,将出现可选(新窗/本页面)提示框。 + + + Los comentarios que comienzan con http naeyongjung tema común de la cadena para vincular automáticamente a colgar el puntero del ratón sobre cada uno de los vínculos y saechang Ciudad y aparecen en el menú de add-on de decoración. + + + Комментарии, которые начинаются с http naeyongjung темой общей строки автоматически ссылку повесить мышь над каждой ссылке и saechang Сити и появляться на меню добавить-на украшения. + + + Kommentare beginnen mit http naeyongjung Thema der gemeinsamen String automatisch Link zu hängen Sie mit der Maus über die einzelnen Links und saechang Stadt und auf dem Menü des Add-On Dekoration. + + + 是種可將主題和評論內容中的URL網址字串自動轉換成連結的附加元件。 + + 0.1 + 2008-04-22 + + + zero + zero + zero + zero + zero + zero + zero + zero + zero + + diff --git a/addons/blogapi/blogapi.addon.php b/addons/blogapi/blogapi.addon.php index 2d77ae1f0..c87c407a3 100644 --- a/addons/blogapi/blogapi.addon.php +++ b/addons/blogapi/blogapi.addon.php @@ -285,8 +285,17 @@ // 글 수정 case 'metaWeblog.editPost' : $tmp_val = $params[0]->value->string->body; + if(!$tmp_val) $tmp_val = $params[0]->value->i4->body; + if(!$tmp_val) { + $content = getXmlRpcFailure(1, 'no permission'); + break; + } $tmp_arr = explode('/', $tmp_val); $document_srl = array_pop($tmp_arr); + if(!$document_srl) { + $content = getXmlRpcFailure(1, 'no permission'); + break; + } $oDocumentModel = &getModel('document'); $oDocument = $oDocumentModel->getDocument($document_srl); diff --git a/addons/blogapi/conf/info.xml b/addons/blogapi/conf/info.xml index 1fb048c52..040a54356 100644 --- a/addons/blogapi/conf/info.xml +++ b/addons/blogapi/conf/info.xml @@ -4,6 +4,7 @@ BlogAPIアドオン BlogAPI Addon for BlogAPI + BlogAPI Addon Addon für BlogAPI Addon para BlogAPI Аддон для BlogAPI @@ -32,6 +33,12 @@ URL to the api is http://setup_path/module_name/api. RSD tag and the api will work only if u use this addon. + + Addon BlogAPI này hỗ trợ metaWeblog.. + Bằng việc sử dụng tùy chọn này, Tag RSD sẽ được hiển thị đến mỗi Module. + URL cho API có dạng http://setup_path/module_name/api. + RSD Tag và API chỉ làm việc khi Addon này được kích hoạt. + Diese blogApi addon metaWeblog unterstützt. Durch die Verwendung dieser Option, die es ermöglicht RSD Tag ausgesetzt werden jedes Modul. @@ -61,6 +68,7 @@ zero + zero zero zero zero diff --git a/addons/captcha/captcha.addon.php b/addons/captcha/captcha.addon.php index f50f6c600..551aaa074 100644 --- a/addons/captcha/captcha.addon.php +++ b/addons/captcha/captcha.addon.php @@ -24,7 +24,6 @@ Context::addHtmlHeader(''); - // 캡챠 인증이 되지 않은 세션이면 실행 시작 if(!$_SESSION['captcha_authed']) { @@ -32,7 +31,7 @@ Context::loadLang(_XE_PATH_.'addons/captcha/lang'); // 캡챠 세션 세팅 - if(Context::get('act')=='setCaptchaSession') { + if(Context::get('captcha_action')=='setCaptchaSession') { $f = FileHandler::readDir('./addons/captcha/icon'); shuffle($f); $key = rand(0,count($f)-1); @@ -50,7 +49,7 @@ exit(); // 캡챠 이미지 출력 - } else if(Context::get('act')=='captchaImage') { + } else if(Context::get('captcha_action')=='captchaImage') { $f = FileHandler::readDir('./addons/captcha/icon'); shuffle($f); $keyword = $_SESSION['captcha_keyword']; @@ -82,7 +81,7 @@ exit(); // 캡챠 이미지 점검 - } else if(Context::get('act')=='captchaCompare') { + } else if(Context::get('captcha_action')=='captchaCompare') { $x = Context::get('mx'); $y = Context::get('my'); $sx = $_SESSION['captcha_x']; diff --git a/addons/captcha/captcha.js b/addons/captcha/captcha.js index bda1a6e40..0a3f6b018 100644 --- a/addons/captcha/captcha.js +++ b/addons/captcha/captcha.js @@ -45,7 +45,10 @@ var calledArgs = null; if(doCheck) { calledArgs = {'module':module,'act':act,'params':params,'callback_func':callback_func,'response_tags':response_tags,'callback_func_arg':callback_func_arg,'fo_obj':fo_obj}; - oldExecXml('captcha','setCaptchaSession',new Array(),captchaXE.show,new Array('error','message','about','keyword')); + var params = new Array(); + params['captcha_action'] = 'setCaptchaSession'; + params['mid'] = current_mid; + oldExecXml(module, act, params, captchaXE.show,new Array('error','message','about','keyword')); } else { oldExecXml(module, act, params, callback_func, response_tags, callback_func_arg, fo_obj); } @@ -77,7 +80,7 @@ var calledArgs = null; margin:"0 0 10px 0", cursor:"pointer" }) - .attr("src", request_uri.setQuery('act','captchaImage').setQuery('rnd',Math.round(Math.random() * 6))) + .attr("src", current_url.setQuery('captcha_action','captchaImage').setQuery('rnd',Math.round(Math.random() * 6))) .click (captchaXE.compare) .focus( function() { this.blur(); } ); @@ -99,9 +102,11 @@ var calledArgs = null; var x = e.pageX - posX - 20; var y = e.pageY - posY - 20; var params = new Array(); - params["mx"] = x; - params["my"] = y; - oldExecXml('captcha','captchaCompare',params, function() { + params['mx'] = x; + params['my'] = y; + params['captcha_action'] = 'captchaCompare'; + params['mid'] = current_mid; + oldExecXml(calledArgs.module,calledArgs.act,params, function() { $("#captcha_screen").css({ display:"none" }); oldExecXml(calledArgs.module, calledArgs.act, calledArgs.params, calledArgs.callback_func, calledArgs.response_tags, calledArgs.callback_func_arg, calledArgs.fo_obj); } ); diff --git a/addons/captcha/conf/info.xml b/addons/captcha/conf/info.xml index 87ea216ff..181f46bdb 100644 --- a/addons/captcha/conf/info.xml +++ b/addons/captcha/conf/info.xml @@ -1,6 +1,8 @@ Captcha 애드온 + CAPTCHA addon + Captcha Addon 验证码插件 Captchaアドオン 圖形驗證 @@ -8,6 +10,14 @@ 프로그램 글 등록기를 막기 위해 게시판/ issueTracker에서 글/ 댓글을 입력하려 할 때 이미지를 보여주고 글에 해당하는 이미지를 선택하게 하는 애드온입니다. 로그인하지 않은 경우에만 해당됩니다. + + To block spam written by programs, let users to choose a suitable image to text when writing a posting or comment. + This addon applies only to not-logged-in users. + + + Addon này tạo ra một hình ảnh xác nhận khi đăng kí, gửi bài, hay viết bình luận nếu thành viên không đăng nhập. + Addon này chỉ hoạt động khi được kích hoạt. + 为了解决互联网垃圾而开发的验证码机制。 非登录用户发布话题或评论时将会弹出验证图片选择框,选择正确的图片才可以正常发布(适用于版面/issueTracker)。 @@ -27,26 +37,36 @@ zero zero zero + zero + zero Captcha 표시 대상 + Captcha Target + Mục tiêu Captcha hiển thị 应用对象 Captchaを表示する対象 選擇目標 글/댓글 등록시 captcha가 동작할 대상을 정할 수 있습니다. 관리자는 무조건 제외됩니다 + You may specify targets CAPTCHA work. It's not applied when administrator writes. + Khi gửi bài, bình luận, Capcha sẽ hiển thị để xác nhận hành động của người sử dụng. Chức năng này không hoạt động với người quản lý. 可以指定验证码应用对象(管理员除外)。 管理者を除き、書き込み・コメントを入力する際にcaptchaイメージを見せる対象を設定します。 除了管理員,在發表主題或評論時,設定圖形驗證應用的對象。 로그인하지 않은 사용자 + Not logged-in users + Người dùng chưa đăng nhập 非登录用户 ログインしてないユーザー 非用戶 모든 사용자 + All users + Tất cả mọi người 所有用户 すべてのユーザー 所有用戶 @@ -54,21 +74,29 @@ 동작 방식 + How it works + Sử dụng 验证方式 動作方式 行為模式 "1번만 동작"을 선택하시면 1번만 동작후 상태를 저장해서 다음부터 물어보지 않고 그렇지 않으면 매번 물어보게 됩니다 + If you choose "Once", CAPTCHA works only once for the user by storing status. Otherwise, this addon would show an image every time the user writes. + Nếu chọn "Chỉ một lần" thì sau lần hiển thị đó Capcha sẽ không hiển thị với người sử dụng đó nữa. "一次"就是每个IP只出现一次验证。 「1回だけ表示」を選択すると、最初だけ動作した後、その情報を記憶して次回からはCaptchaを見せないようにします。また、もう一つのオプションは毎回Captchaを表示します。 選擇"單次",產生第一次動作後,下次不會再顯示;選擇"每次"則會一直顯示。 1번만 동작 + Chỉ một lần + once 一次 1回だけ表示 單次 매번 동작 + every time + Luôn sử dụng 每次 毎回表示 每次 @@ -76,21 +104,29 @@ 비밀번호 찾기 적용 + applying to an action finding account + Khi lấy lại mật khẩu 비밀번호 찾기 적용 비밀번호 찾기 적용 비밀번호 찾기 적용 적용으로 하시면 비밀번호 찾기 기능에도 적용되어 악의적인 봇(또는 프로그램)에 의한 메일 발송을 막을 수 있습니다. + If you set this option as apply, CAPTCHA will work for finding account action, too. + Nếu áp dụng, khi thành viên cần lấy lại mật khẩu khi lỡ quên, Capcha sẽ hiện thị để xác nhận việc này. 적용으로 하시면 비밀번호 찾기 기능에도 적용되어 악의적인 봇(또는 프로그램)에 의한 메일 발송을 막을 수 있습니다. 적용으로 하시면 비밀번호 찾기 기능에도 적용되어 악의적인 봇(또는 프로그램)에 의한 메일 발송을 막을 수 있습니다. 적용으로 하시면 비밀번호찾기 기능에도 적용되어 악의적인 봇(또는 프로그램)에 의한 메일 발송을 막을 수 있습니다. 적용하지 않음 + Not apply + Không áp dụng 적용하지 않음 적용하지 않음 적용하지 않음 적용 + Apply + Áp dụng 적용 적용 적용 @@ -98,21 +134,29 @@ 인증 메일 재발송 적용 + apply to an action resending authmail + Khi lấy lại mã kích hoạt 인증 메일 재발송 적용 인증 메일 재발송 적용 인증 메일 재발송 적용 적용으로 하시면 인증 메일 재발송 기능에도 적용되어 악의적인 봇(또는 프로그램)에 의한 메일 발송을 막을 수 있습니다. + If you set this option as apply, CAPTCHA will work for resending authmail action, too. + Nếu áp dụng, khi thành viên cần lấy lại mã kích hoạt thành viên, Capcha sẽ hiện thị để xác nhận việc này. 적용으로 하시면 인증 메일 재발송 기능에도 적용되어 악의적인 봇(또는 프로그램)에 의한 메일 발송을 막을 수 있습니다. 적용으로 하시면 인증 메일 재발송 기능에도 적용되어 악의적인 봇(또는 프로그램)에 의한 메일 발송을 막을 수 있습니다. 적용으로 하시면 인증 메일 재발송 기능에도 적용되어 악의적인 봇(또는 프로그램)에 의한 메일 발송을 막을 수 있습니다. 적용하지 않음 + Not apply + Không áp dụng 적용하지 않음 적용하지 않음 적용하지 않음 적용 + Apply + Áp dụng 적용 적용 적용 diff --git a/addons/captcha/lang/vi.lang.php b/addons/captcha/lang/vi.lang.php new file mode 100644 index 000000000..02bca0578 --- /dev/null +++ b/addons/captcha/lang/vi.lang.php @@ -0,0 +1,23 @@ +about_captcha = "Xin chọn một ảnh mà có tên được liệt kê ở dưới:"; + $lang->target_captcha = array( + "airplane" => "Máy bay", + "apple" => "Trái táo", + "book" => "Sách", + "camera" => "Camera", + "dog" => "Con chó", + "earth" => "Trái đất", + "flag" => "Lá cờ", + "mobile" =>"Di động", + "note" => "Nốt nhạc", + "skeleton" => "Xương", + ); +?> diff --git a/addons/counter/conf/info.xml b/addons/counter/conf/info.xml index 22bbd205a..83d011b36 100644 --- a/addons/counter/conf/info.xml +++ b/addons/counter/conf/info.xml @@ -4,6 +4,7 @@ アクセスカウンターアドオン 网站访问统计 Counter Addon + Counter Addon Counter Addon Addon contador básico Аддон для базового счетчика @@ -24,6 +25,10 @@ This addon logs access information based on the basic counter module within XE. The access information will be collected only if you turn on this addon. + + Addon này sẽ tổng hợp tất cả những lượt truy cập vào Website qua Module Counter có sẵn bên trong XE. + Thông tin truy nhập chỉ được tập hợp khi bạn bật Addon này.. + Dieses Addon-Logs Zugriff auf Informationen basiert auf den grundlegenden Zähler-Modul innerhalb XE. Der Zugang zu Informationen wird nur erhoben, wenn Sie über dieses Addon. @@ -45,6 +50,7 @@ zero + zero zero zero zero diff --git a/addons/member_communication/conf/info.xml b/addons/member_communication/conf/info.xml index 7d97853a2..261a47e5d 100644 --- a/addons/member_communication/conf/info.xml +++ b/addons/member_communication/conf/info.xml @@ -4,6 +4,7 @@ コミュニケーション 会员交流 Communication + Truyền thông 커뮤니케이션 커뮤니케이션 커뮤니케이션 @@ -22,6 +23,10 @@ This addon enables communication module in order to use message or friend function. Please enable this addon in case you want to use those functions. + + Addon này cho phép sử dụng Module truyền thông để sử dụng tin nhắn hay chức năng bạn bè. + Hãy kích hoạt nếu bạn muốn sử dụng chức năng này. + 커뮤니케이션 모듈의 기능을 활성화 시켜 쪽지나 친구기능을 사용할 수 있도록 해줍니다. 쪽지, 친구기능등을 사용하기 위해서는 이 애드온을 사용으로 해주시면 됩니다. @@ -45,6 +50,7 @@ zero zero zero + zero zero zero zero diff --git a/addons/member_communication/lang/vi.lang.php b/addons/member_communication/lang/vi.lang.php new file mode 100644 index 000000000..a8b416916 --- /dev/null +++ b/addons/member_communication/lang/vi.lang.php @@ -0,0 +1,11 @@ +alert_new_message_arrived = 'Bạn có một tin nhắn mới. bạn có muốn kiểm tra ngay bây giờ không?'; +?> diff --git a/addons/member_extra_info/conf/info.xml b/addons/member_extra_info/conf/info.xml index 7940a947a..8618653d0 100644 --- a/addons/member_extra_info/conf/info.xml +++ b/addons/member_extra_info/conf/info.xml @@ -4,6 +4,7 @@ 会員情報拡張表示 用户扩展信息 Extra Member Info + Bổ xung thông tin thành viên 회원 확장 정보 출력 회원 확장 정보 출력 회원 확장 정보 출력 @@ -20,14 +21,17 @@ This addon displays a member's image name, image mark. + + Addon này sẽ hiển thị hình ảnh thay thế tên và hình đánh dấu của thành viên. + - 회원이 등록한 이미지이름, 이미지마크를 사용하기 위해서는 이 애드온을 활성화 시키세요. + This addon displays a member's image name, image mark. - 회원이 등록한 이미지이름, 이미지마크를 사용하기 위해서는 이 애드온을 활성화 시키세요. + This addon displays a member's image name, image mark. - 회원이 등록한 이미지이름, 이미지마크를 사용하기 위해서는 이 애드온을 활성화 시키세요. + This addon displays a member's image name, image mark. 可將用戶資料中的暱稱圖片、用戶圖示、簽名檔等資料顯示到頁面當中。 @@ -37,6 +41,7 @@ zero + zero zero zero zero diff --git a/addons/mobile/conf/info.xml b/addons/mobile/conf/info.xml index 5dff68f47..d97cbe787 100644 --- a/addons/mobile/conf/info.xml +++ b/addons/mobile/conf/info.xml @@ -4,6 +4,7 @@ モバイルXEアドオン 手机XE插件 Mobile XE + Mobile XE XE行動上網 모바일에서 접속시 헤더 정보를 분석하여 메뉴 - 모듈의 관계를 이용하여 WAP 태그로 출력하는 애드온입니다. @@ -21,6 +22,10 @@ This addon displays WAP tag by analyzing header information on mobile connection. Only wml, hdml, mhtml formats are provided. + + Addon này hiển thị WAP Tag bởi việc phân tích thông tin khi kết nối bằng di động. + Chỉ hỗ trợ cho các định dạng wml, hdml, mhtml. + 透過行動工具上網時,會將網頁轉換為WAP標籤顯示。 只限於 wml, hdml, mhtml格式。 @@ -33,15 +38,17 @@ zero zero zero + zero zero misol - misol + misol misol misol + misol misol 언어선택 추가(WML, mHTML) @@ -55,6 +62,7 @@ 文字コード 编码 Charset + Charset 編碼 모바일 기기의 경우 UTF-8 문자셋을 인식하지 못할 수 있습니다. @@ -72,10 +80,15 @@ 默认编码为UTF-8。 - utf-8 cannot be read for mobile tools. + utf-8 may be read with mobile tools. Mobile tools will display correct charset when you input charset you want. Default charset is UTF-8. + + UTF-8 không thể đọc được cho các công cụ di động. + Những công cụ di động sẽ trình bày Charset đúng khi bạn nhập vào Charset bạn muốn. + Charset mặc định là UTF-8. + 行動工具無法讀取utf-8編碼。 當您輸入所想要的編碼時,行動工具將會正確的顯示。 diff --git a/addons/mobile/lang/vi.lang.php b/addons/mobile/lang/vi.lang.php new file mode 100644 index 000000000..489128e2d --- /dev/null +++ b/addons/mobile/lang/vi.lang.php @@ -0,0 +1,18 @@ +president_lang = 'Chọn ngôn ngữ'; + $lang->select_lang = 'Chọn ngôn ngữ'; + $lang->lang_return = 'Trở lại'; + + $lang->cmd_go_upper = 'Lên trên'; + $lang->cmd_go_home = 'Về trang chủ'; + $lang->cmd_view_sitemap = 'Xem sơ đồ Web'; +?> diff --git a/addons/openid_delegation_id/conf/info.xml b/addons/openid_delegation_id/conf/info.xml index b51c55ab5..5e645516d 100644 --- a/addons/openid_delegation_id/conf/info.xml +++ b/addons/openid_delegation_id/conf/info.xml @@ -3,6 +3,7 @@ OpenID delegation ID OpenID OpenID Delegation ID + OpenID Delegation ID OpenID Delegation ID Delegación ID para OpenID OpenIDアドオン @@ -20,6 +21,10 @@ This addon enables you to use your own domain name as an OpenID. Just be sure to set the values related with openid provider before using. + + Addon này cho phép bạn sử dụng tên miền của mình như một OpenID. + Hãy kiểm tra để đặt giá trị liên quan với OpenID trước khi sử dụng. + Dieses Addon ermöglicht es Ihnen, mit Ihrem eigenen Domain-Namen als OpenID. Einfach sicher sein, dass die Werte im Zusammenhang mit OpenID-Provider, bevor Sie. @@ -47,6 +52,7 @@ zero zero zero + zero zero zero zero @@ -59,6 +65,7 @@ server server server + Server server Servidor server @@ -66,7 +73,8 @@ server openid.server 값을 입력해 주세요. 请输入 openid.server 值。 - Please input your openid.server value. + Hãy nhập OpenID Server của bạn. + Please input your openid.server value. Bitte geben Sie Ihre openid.server Wert. Ingrese el valor del openid.server. openid.server値を入力して下さい。 @@ -76,6 +84,7 @@ delegate delegate + Delegate delegate delegate delegado @@ -84,7 +93,8 @@ delegate openid.delegate값을 입력해주세요. 请输入 openid.delegate 值。 - Please input your openid.delegate value. + Hãy nhập OpenID Delegate của bạn. + Please input your openid.delegate value. Bitte geben Sie Ihre openid.delegate Wert. Ingresar el valor del openid.delegate openid.delegate値を入力して下さい。 @@ -95,6 +105,7 @@ xrds xrds xrds + xrds xrds xrds xrds @@ -103,6 +114,7 @@ X-XRDS-Location값을 입력해주세요. 请输入 X-XRDS-Location 值。 Please input your X-XRDS-Location value. + Hãy nhập X-XRDS-Location của bạn. Bitte geben Sie Ihre X-XRDS-Standort Wert. Ingresar el valor de X-XRDS-Location X-XRDS-Location値を入力して下さい。 diff --git a/addons/point_level_icon/conf/info.xml b/addons/point_level_icon/conf/info.xml index c96dc5821..5d64a7958 100644 --- a/addons/point_level_icon/conf/info.xml +++ b/addons/point_level_icon/conf/info.xml @@ -4,6 +4,7 @@ 积分级别图标 ポイントレベルアイコン表示アドオン Point Level Icon + Icon cấp độ của điểm Point-Level-Symbol Addon para mostar el nivel del ícono Аддон для отображения иконки уровня @@ -24,6 +25,10 @@ This addon displays level icon in front of the user name when you are using the point system. You can choose the level icon in Module > Point System. + + Addon này sẽ hiển thị Icon cấp độ trước tên người sử dụng khi bạn sử dụng hệ thống tính điểm. + Bạn có thể chọn Icon cấp độ tại Module > cỉa hệ thống điểm. + Dieses Addon zeigt Level Icon vor dem Benutzernamen, wenn Sie die Punkte-System. Sie können wählen, der Level Icon in Modul> Point-System. @@ -48,6 +53,7 @@ zero zero zero + zero zero zero zero diff --git a/addons/referer/conf/info.xml b/addons/referer/conf/info.xml deleted file mode 100644 index afad340c6..000000000 --- a/addons/referer/conf/info.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - 리퍼러 수집기 - リファラーコレクター - 反向链接统计 - Referer Collector - Referer Collector - Referer Collector - Сборщик рефералов - 反向連結統計 - Referer log를 수집합니다. - リファラーログを収集します。 - 记录反向链接统计数据。 - Collect referer log and statistics. - Sammeln Sie Referer-Log und Statistik. - Recoger referer log y estadísticas. - Собирает лог рефералов и статистику. - 紀錄反向連結統計資料。 - 0.1 - 2007-11-26 - - - haneul - Haneul - haneul - haneul - haneul - haneul - haneul - haneul - - diff --git a/addons/referer/referer.addon.php b/addons/referer/referer.addon.php deleted file mode 100644 index 793036e99..000000000 --- a/addons/referer/referer.addon.php +++ /dev/null @@ -1,15 +0,0 @@ -procRefererExecute(); - $GLOBALS['__referer_addon_called__'] = true; - } -?> diff --git a/addons/resize_image/conf/info.xml b/addons/resize_image/conf/info.xml index 77d3c646e..b417c294f 100644 --- a/addons/resize_image/conf/info.xml +++ b/addons/resize_image/conf/info.xml @@ -4,6 +4,7 @@ 本文内イメージリーサイズアドオン 内容区图片缩放插件 Image Resizer + Thay đổi cỡ hình ảnh Imagen de control add-on bonmunnae Image контроля добавить-на bonmunnae Image-Add-on bonmunnae @@ -17,7 +18,10 @@ 自动调整主题内容区内的图片大小,点击将显示原始大小的插件。 - + + Addon này sẽ lấy lại kích thước nguyên bản của hình ảnh trong bài viết hoặc bình luận khi bạn bấm vào hình. + + This addon resizes images inserted in the article, and shows original image when you click on them. @@ -37,6 +41,7 @@ zero + zero zero zero zero diff --git a/addons/resize_image/resize_image.addon.php b/addons/resize_image/resize_image.addon.php index dab03da71..650b1623b 100644 --- a/addons/resize_image/resize_image.addon.php +++ b/addons/resize_image/resize_image.addon.php @@ -2,7 +2,7 @@ if(!defined("__ZBXE__")) exit(); /** - * @file reaize_image.addon.php + * @file resize_image.addon.php * @author zero (zero@nzeo.com) * @brief 본문내 이미지 조절 애드온 **/ @@ -11,4 +11,4 @@ Context::loadJavascriptPlugin('ui'); Context::addJsFile('./addons/resize_image/js/resize_image.js',false); } -?> +?> \ No newline at end of file diff --git a/addons/smartphone/classes/smartphone.class.php b/addons/smartphone/classes/smartphone.class.php index 652a33898..201ebb12d 100644 --- a/addons/smartphone/classes/smartphone.class.php +++ b/addons/smartphone/classes/smartphone.class.php @@ -11,7 +11,7 @@ var $content = null; function isFromSmartPhone() { - return Context::get('smartphone') || preg_match('/(iPopd|iPhone|PPC)/',$_SERVER['HTTP_USER_AGENT']); + return Context::get('smartphone') || preg_match('/(iPod|iPhone|SCH\-M[0-9]+)/',$_SERVER['HTTP_USER_AGENT']); } function haveSmartphoneModule($module) { @@ -75,9 +75,9 @@ } function procSmartPhone($msg = null) { - if(preg_match('/(iPopd|iPhone)/',$_SERVER['HTTP_USER_AGENT'])) { + if(preg_match('/(iPod|iPhone)/',$_SERVER['HTTP_USER_AGENT'])) { Context::addHtmlHeader(''); - } else if(preg_match('/PPC/',$_SERVER['HTTP_USER_AGENT'])) { + } else if(preg_match('/SCH\-M[0-9]+/',$_SERVER['HTTP_USER_AGENT'])) { Context::addHtmlHeader(''); } diff --git a/addons/smartphone/conf/info.xml b/addons/smartphone/conf/info.xml index 065e59a3b..5825baba0 100644 --- a/addons/smartphone/conf/info.xml +++ b/addons/smartphone/conf/info.xml @@ -2,6 +2,7 @@ SmartPhone XE 애드온 SmartPhone XE + SmartPhone XE SmartPhone XE SmartPhone XE アドオン @@ -10,6 +11,9 @@ This addon displays the best screen for users who use smartphones like IPhone (touch). + + Addon này sẽ hiển thị Website trên màn hình iPhone một cách tốt nhất khi người dùng sử dụng SmartPhone để truy cập (iPhone cảm ứng) + 以 IPhone (touch) 和 smartphone 瀏覽時會以最適當的畫面顯示。 @@ -21,6 +25,7 @@ haneul haneul + haneul haneul haneul diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index c6269a92e..c50f0be2b 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -85,6 +85,11 @@ // site_module_info를 구함 $oModuleModel = &getModel('module'); $site_module_info = $oModuleModel->getDefaultMid(); + // site_module_info의 site_srl = 0 일 경우 db_config의 default_url과 비교 + if($site_module_info->site_srl == 0 && $site_module_info->domain != $this->db_info->default_url) { + $site_module_info->domain = $this->db_info->default_url; + } + Context::set('site_module_info', $site_module_info); if($site_module_info->site_srl && isSiteID($site_module_info->vid)) Context::set('vid', $site_module_info->vid); @@ -103,6 +108,7 @@ // 관리자 설정 언어값에 등록된 것이 아니라면 기본 언어로 변경 if(!$this->lang_type) $this->lang_type = "en"; + if(is_array($lang_supported)&&!isset($lang_supported[$this->lang_type])) $this->lang_type = 'en'; Context::set('lang_supported', $lang_supported); $this->setLangType($this->lang_type); @@ -316,7 +322,15 @@ static $lang_selected = null; if(is_null($lang_selected)) { $orig_lang_file = _XE_PATH_.'common/lang/lang.info'; - $selected_lang_file = _XE_PATH_.'files/cache/lang_selected.info'; + $selected_lang_file = _XE_PATH_.'files/config/lang_selected.info'; + if(!file_exists($selected_lang_file) || !filesize($selected_lang_file)) { + $old_selected_lang_file = _XE_PATH_.'files/cache/lang_selected.info'; + if(file_exists($old_selected_lang_file)) { + FileHandler::copyFile($old_selected_lang_file, $selected_lang_file); + FileHandler::removeFile($old_selected_lang_file); + } + } + if(!file_exists($selected_lang_file) || !filesize($selected_lang_file)) { $buff = FileHandler::readFile($orig_lang_file); FileHandler::writeFile($selected_lang_file, $buff); @@ -443,13 +457,15 @@ **/ function getBrowserTitle() { $oContext = &Context::getInstance(); - return $oContext->_getBrowserTitle(); + return htmlspecialchars($oContext->_getBrowserTitle()); } /** * @brief 사이트 title return **/ function _getBrowserTitle() { + $oModuleController = &getController('module'); + $oModuleController->replaceDefinedLangCode($this->site_title); return $this->site_title; } @@ -761,16 +777,17 @@ /** * @brief 요청받은 url에 args_list를 적용하여 return **/ - function getUrl($num_args=0, $args_list=array(), $domain = null) { + function getUrl($num_args=0, $args_list=array(), $domain = null, $encode = true) { $oContext = &Context::getInstance(); - return $oContext->_getUrl($num_args, $args_list, $domain); + return $oContext->_getUrl($num_args, $args_list, $domain, $encode); } /** * @brief 요청받은 url에 args_list를 적용하여 return **/ - function _getUrl($num_args=0, $args_list=array(), $domain = null) { + function _getUrl($num_args=0, $args_list=array(), $domain = null, $encode = true) { static $site_module_info = null; + static $current_info = null; // 가상 사이트 정보를 구함 if(is_null($site_module_info)) $site_module_info = Context::get('site_module_info'); @@ -790,9 +807,10 @@ // $domain값이 있을 경우 현재 요청된 도메인과 비교해서 동일할 경우 제거 그렇지 않으면 http 프로토콜을 제거하고 제일 뒤에 / 를 붙임 if($domain) { $domain_info = parse_url($domain); - $current_info = parse_url($_SERVER['HTTP_HOST'].getScriptPath()); - if($domain_info['host'].$domain_info['path']==$current_info['host'].$current_info['path']) unset($domain); - else { + if(is_null($current_info)) $current_info = parse_url(($_SERVER['HTTPS']=='on'?'https':'http').'://'.$_SERVER['HTTP_HOST'].getScriptPath()); + if($domain_info['host'].$domain_info['path']==$current_info['host'].$current_info['path']) { + unset($domain); + } else { $domain = preg_replace('/^(http|https):\/\//i','', trim($domain)); if(substr($domain,-1) != '/') $domain .= '/'; } @@ -879,20 +897,28 @@ } } - // XE가 설치된 절대 경로를 구해서 query를 완성 - // 항상 SSL을 이용하고 현재 SSL이 아닌 경우 https에 대한 prefix를 붙임 if(Context::get('_use_ssl')=='always') { - if($_SERVER['HTTPS']!='on') $query = $this->getRequestUri(ENFORCE_SSL, $domain).$query; + $query = $this->getRequestUri(ENFORCE_SSL, $domain).$query; // 상황에 따라 혹은 지정된 대상만 SSL 취급될 경우 + } elseif(Context::get('_use_ssl')=='optional') { + $ssl_mode = RELEASE_SSL; + if($get_vars['act'] && $this->_isExistsSSLAction($get_vars['act'])) $ssl_mode = ENFORCE_SSL; + $query = $this->getRequestUri($ssl_mode, $domain).$query; + // SSL 을 사용하지 않을 경우 } else { // SSL상태인데 대상이 SSL이 아닌 경우 - if($_SERVER['HTTPS']=='on') $query = $this->getRequestUri(ENFORCE_SSL, $domain).$query; - // SSL 상태가 아니면 domain값에 따라 query 완성 + if($_SERVER['HTTPS']=='on' ) $query = $this->getRequestUri(ENFORCE_SSL, $domain).$query; + + // $domain 값이 있을 경우 else if($domain) $query = $this->getRequestUri(FOLLOW_REQUEST_SSL, $domain).$query; + + // $domain 값이 없을 경우 else $query = getScriptPath().$query; } - return htmlspecialchars($query); + + if($encode) return htmlspecialchars($query); + return $query; } /** @@ -903,7 +929,6 @@ // HTTP Request가 아니면 패스 if(!isset($_SERVER['SERVER_PROTOCOL'])) return ; - if(Context::get('_use_ssl') == "always") $ssl_mode = ENFORCE_SSL; if($domain) $domain_key = md5($domain); @@ -1087,6 +1112,10 @@ * @brief js file을 추가 **/ function _addJsFile($file, $optimized, $targetie,$index) { + if(strpos($file,'://')===false && substr($file,0,1)!='/' && substr($file,0,1)!='.') $file = './'.$file; + $file = str_replace(array('/./','//'),'/',$file); + while(strpos($file,'/../')) $file = preg_replace('/\/([^\/]+)\/\.\.\//s','/',$file); + if(in_array($file, $this->js_files)) return; if(is_null($index)) $index=count($this->js_files); @@ -1181,6 +1210,10 @@ * @brief CSS file 추가 **/ function _addCSSFile($file, $optimized, $media, $targetie, $index) { + if(strpos($file,'://')===false && substr($file,0,1)!='/' && substr($file,0,1)!='.') $file = './'.$file; + $file = str_replace(array('/./','//'),'/',$file); + while(strpos($file,'/../')) $file = preg_replace('/\/([^\/]+)\/\.\.\//s','/',$file); + if(in_array($file, $this->css_files)) return; if(is_null($index)) $index=count($this->css_files); diff --git a/classes/db/DB.class.php b/classes/db/DB.class.php index e8f12b7d4..3640eee06 100644 --- a/classes/db/DB.class.php +++ b/classes/db/DB.class.php @@ -2,22 +2,22 @@ /** * @class DB * @author zero (zero@nzeo.com) - * @brief DB*의 상위 클래스 + * @brief base class of db* classes * @version 0.1 * - * XE의 DB 사용은 xml을 이용하여 이루어짐을 원칙으로 한다. - * xml의 종류에는 query xml, schema xml이 있다. - * query xml의 경우 DB::executeQuery() method를 이용하여 xml파일을 php code로 compile한 후에 실행이 된다. - * query xml은 고유한 query id를 가지며 생성은 module에서 이루어진다. + * usage of db in XE is via xml + * there are 2 types of xml - query xml, schema xml + * in case of query xml, DB::executeQuery() method compiles xml file into php code and then execute it + * query xml has unique query id, and will be created in module * - * queryid = 모듈.쿼리명 + * queryid = module_name.query_name **/ class DB { var $count_cache_path = 'files/cache/db'; - var $cond_operation = array( ///< 조건문에서 조건을 등호로 표시하는 변수 + var $cond_operation = array( ///< operations for condition 'equal' => '=', 'more' => '>=', 'excess' => '>', @@ -32,28 +32,30 @@ var $result = NULL; ///< result - var $errno = 0; ///< 에러 발생시 에러 코드 (0이면 에러가 없다고 정의) - var $errstr = ''; ///< 에러 발생시 에러 메세지 - var $query = ''; ///< 가장 최근에 수행된 query string - var $elapsed_time = 0; ///< 가장 최근에 수행된 query 의 실행시간 + var $errno = 0; ///< error code (0 means no error) + var $errstr = ''; ///< error message + var $query = ''; ///< query string of latest executed query + var $elapsed_time = 0; ///< elapsed time of latest executed query - var $transaction_started = false; ///< 트랙잭션 처리 flag + var $transaction_started = false; ///< transaction flag - var $is_connected = false; ///< DB에 접속이 되었는지에 대한 flag + var $is_connected = false; ///< is db connected - var $supported_list = array(); ///< 지원하는 DB의 종류, classes/DB/DB***.class.php 를 이용하여 동적으로 작성됨 + var $supported_list = array(); ///< list of supported db, (will be written by classes/DB/DB***.class.php) - var $cache_file = 'files/cache/queries/'; ///< query cache파일의 위치 + var $cache_file = 'files/cache/queries/'; ///< location of query cache /** - * @brief DB를 상속받는 특정 db type의 instance를 생성 후 return + * @brief returns instance of certain db type + * @param[in] $db_type type of db + * @return instance **/ function &getInstance($db_type = NULL) { if(!$db_type) $db_type = Context::getDBType(); if(!$db_type && Context::isInstalled()) return new Object(-1, 'msg_db_not_setted'); if(!$GLOBALS['__DB__']) { - $class_name = sprintf("DB%s%s", strtoupper(substr($db_type,0,1)), strtolower(substr($db_type,1))); + $class_name = sprintf("DB%s%s", strtoupper(substr($db_type, 0, 1)), strtolower(substr($db_type,1))); $class_file = sprintf("%sclasses/db/%s.class.php", _XE_PATH_, $class_name); if(!file_exists($class_file)) new Object(-1, 'msg_db_not_setted'); @@ -67,6 +69,7 @@ /** * @brief constructor + * @return none **/ function DB() { $this->count_cache_path = _XE_PATH_.$this->count_cache_path; @@ -74,7 +77,8 @@ } /** - * @brief 지원 가능한 DB 목록을 return + * @brief returns list of supported db + * @return list of supported db **/ function getSupportedList() { $oDB = new DB(); @@ -82,7 +86,8 @@ } /** - * @brief 지원 가능한 DB 목록을 return + * @brief returns list of supported db + * @return list of supported db **/ function _getSupportedList() { $db_classes_path = _XE_PATH_."classes/db/"; @@ -90,8 +95,8 @@ $supported_list = FileHandler::readDir($db_classes_path, $filter, true); sort($supported_list); - // 구해진 클래스의 객체 생성후 isSupported method를 통해 지원 여부를 판단 - for($i=0;$idb_type = $db_type; - $obj->enable = $oDB->isSupported()?true:false; + $obj->enable = $oDB->isSupported() ? true : false; $this->supported_list[] = $obj; } @@ -118,7 +123,9 @@ } /** - * @brief 지원하는 DB인지에 대한 check + * @brief check if the db_type is supported + * @param[in] $db_type type of db to check + * @return true: is supported, false: is not supported **/ function isSupported($db_type) { $supported_list = DB::getSupportedList(); @@ -126,24 +133,30 @@ } /** - * @brief 접속되었는지 return + * @brief check if is connected + * @return true: connected, false: not connected **/ function isConnected() { - return $this->is_connected?true:false; + return $this->is_connected ? true : false; } /** - * @brief 로그 남김 + * @brief start recording log + * @return none **/ function actStart($query) { - $this->setError(0,'success'); + $this->setError(0, 'success'); $this->query = $query; $this->act_start = getMicroTime(); $this->elapsed_time = 0; } + /** + * @brief finish recording log + * @return none + **/ function actFinish() { - if(!$this->query ) return; + if(!$this->query) return; $this->act_finish = getMicroTime(); $elapsed_time = $this->act_finish - $this->act_start; $this->elapsed_time = $elapsed_time; @@ -152,7 +165,7 @@ $log['query'] = $this->query; $log['elapsed_time'] = $elapsed_time; - // 에러 발생시 에러 로그를 남김 (__DEBUG_DB_OUTPUT__이 지정되어 있을경우) + // leave error log if an error occured (if __DEBUG_DB_OUTPUT__ is defined) if($this->isError()) { $log['result'] = 'Failed'; $log['errno'] = $this->errno; @@ -173,7 +186,7 @@ } $GLOBALS['__db_queries__'][] = $log; - // __LOG_SLOW_QUERY__ 가 정해져 있다면 시간 체크후 쿼리 로그 남김 + // if __LOG_SLOW_QUERY__ if defined, check elapsed time and leave query log if(__LOG_SLOW_QUERY__>0 && $elapsed_time > __LOG_SLOW_QUERY__) { $buff = ''; $log_file = _XE_PATH_.'files/_db_slow_query.php'; @@ -181,7 +194,7 @@ $buff = ''."\n"; } $buff .= sprintf("%s\t%s\n\t%0.6f sec\n\n", date("Y-m-h H:i"), $this->query, $elapsed_time); - if($fp = fopen($log_file,'a')) { + if($fp = fopen($log_file, 'a')) { fwrite($fp, $buff); fclose($fp); } @@ -190,7 +203,10 @@ } /** - * @brief 에러발생시 에러 메세지를 남기고 debug 모드일때는 GLOBALS 변수에 에러 로깅 + * @brief set error + * @param[in] $errno error code + * @param[in] $errstr error message + * @return none **/ function setError($errno = 0, $errstr = 'success') { $this->errno = $errno; @@ -198,14 +214,16 @@ } /** - * @brief 오류가 발생하였는지 return + * @brief check if an error occured + * @return true: error, false: no error **/ function isError() { - return $this->errno===0?false:true; + return $this->errno === 0 ? false : true; } /** - * @brief 에러결과를 Object 객체로 return + * @brief returns object of error info + * @return object of error **/ function getError() { return new Object($this->errno, $this->errstr); @@ -213,19 +231,20 @@ /** * @brief query xml 파일을 실행하여 결과를 return - * - * query_id = module.queryname - * query_id에 해당하는 xml문(or 캐싱파일)을 찾아서 컴파일 후 실행 + * @param[in] $query_id query id (module.queryname + * @param[in] $args arguments for query + * @return result of query + * @remarks this function finds xml file or cache file of $query_id, compiles it and then execute it **/ function executeQuery($query_id, $args = NULL) { if(!$query_id) return new Object(-1, 'msg_invalid_queryid'); $id_args = explode('.', $query_id); - if(count($id_args)==2) { + if(count($id_args) == 2) { $target = 'modules'; $module = $id_args[0]; $id = $id_args[1]; - } elseif(count($id_args)==3) { + } elseif(count($id_args) == 3) { $target = $id_args[0]; if(!in_array($target, array('addons','widgets'))) return; $module = $id_args[1]; @@ -236,37 +255,45 @@ $xml_file = sprintf('%s%s/%s/queries/%s.xml', _XE_PATH_, $target, $module, $id); if(!file_exists($xml_file)) return new Object(-1, 'msg_invalid_queryid'); - // 캐쉬파일을 찾아 본다 - $cache_file = $this->checkQueryCacheFile($query_id,$xml_file); + // look for cache file + $cache_file = $this->checkQueryCacheFile($query_id, $xml_file); - // 쿼리를 실행한다 + // execute query return $this->_executeQuery($cache_file, $args, $query_id); } /** - * @brief 캐쉬파일을 찾아 본다 - * + * @brief look for cache file + * @param[in] $query_id query id for finding + * @param[in] $xml_file original xml query file + * @return cache file **/ function checkQueryCacheFile($query_id,$xml_file){ - // 일단 cache 파일을 찾아본다 + // first try finding cache file $cache_file = sprintf('%s%s%s.cache.php', _XE_PATH_, $this->cache_file, $query_id); + if(file_exists($cache_file)) $cache_time = filemtime($cache_file); else $cache_time = -1; - // 캐시 파일이 없거나 시간 비교하여 최근것이 아니면 원본 쿼리 xml파일을 찾아서 파싱을 한다 - if($cache_timeparse($query_id, $xml_file, $cache_file); } + return $cache_file; } /** - * @brief 쿼리문을 실행하고 결과를 return한다 + * @brief execute query and return the result + * @param[in] $cache_file cache file of query + * @param[in] $source_args arguments for query + * @param[in] $query_id query id + * @return result of query **/ function _executeQuery($cache_file, $source_args, $query_id) { global $lang; @@ -277,10 +304,10 @@ $output = @include($cache_file); - if( (is_a($output, 'Object')||is_subclass_of($output,'Object'))&&!$output->toBool()) return $output; + if( (is_a($output, 'Object') || is_subclass_of($output, 'Object')) && !$output->toBool()) return $output; $output->_tables = ($output->_tables && is_array($output->_tables)) ? $output->_tables : array(); - // action값에 따라서 쿼리 생성으로 돌입 + // execute appropriate query switch($output->action) { case 'insert' : $this->resetCountCache($output->tables); @@ -302,14 +329,18 @@ if($this->errno != 0 ) $output = new Object($this->errno, $this->errstr); else if(!is_a($output, 'Object') && !is_subclass_of($output, 'Object')) $output = new Object(); $output->add('_query', $this->query); - $output->add('_elapsed_time', sprintf("%0.5f",$this->elapsed_time)); + $output->add('_elapsed_time', sprintf("%0.5f", $this->elapsed_time)); return $output; } /** - * @brief $val을 $filter_type으로 검사 - * XmlQueryParser에서 사용하도록 함 + * @brief check $val with $filter_type + * @param[in] $key key value + * @param[in] $val value of $key + * @param[in] $filter_type type of filter to check $val + * @return object + * @remarks this function is to be used from XmlQueryParser **/ function checkFilter($key, $val, $filter_type) { global $lang; @@ -317,24 +348,24 @@ switch($filter_type) { case 'email' : case 'email_address' : - if(!preg_match('/^[_0-9a-z-]+(\.[_0-9a-z-]+)*@[0-9a-z-]+(\.[0-9a-z-]+)*$/is', $val)) return new Object(-1, sprintf($lang->filter->invalid_email, $lang->{$key}?$lang->{$key}:$key)); + if(!preg_match('/^[_0-9a-z-]+(\.[_0-9a-z-]+)*@[0-9a-z-]+(\.[0-9a-z-]+)*$/is', $val)) return new Object(-1, sprintf($lang->filter->invalid_email, $lang->{$key} ? $lang->{$key} : $key)); break; case 'homepage' : - if(!preg_match('/^(http|https)+(:\/\/)+[0-9a-z_-]+\.[^ ]+$/is', $val)) return new Object(-1, sprintf($lang->filter->invalid_homepage, $lang->{$key}?$lang->{$key}:$key)); + if(!preg_match('/^(http|https)+(:\/\/)+[0-9a-z_-]+\.[^ ]+$/is', $val)) return new Object(-1, sprintf($lang->filter->invalid_homepage, $lang->{$key} ? $lang->{$key} : $key)); break; case 'userid' : case 'user_id' : - if(!preg_match('/^[a-zA-Z]+([_0-9a-zA-Z]+)*$/is', $val)) return new Object(-1, sprintf($lang->filter->invalid_userid, $lang->{$key}?$lang->{$key}:$key)); + if(!preg_match('/^[a-zA-Z]+([_0-9a-zA-Z]+)*$/is', $val)) return new Object(-1, sprintf($lang->filter->invalid_userid, $lang->{$key} ? $lang->{$key} : $key)); break; case 'number' : case 'numbers' : - if(!preg_match('/^(-?)[0-9,]+$/is', $val)) return new Object(-1, sprintf($lang->filter->invalid_number, $lang->{$key}?$lang->{$key}:$key)); + if(!preg_match('/^(-?)[0-9,]+$/is', $val)) return new Object(-1, sprintf($lang->filter->invalid_number, $lang->{$key} ? $lang->{$key} : $key)); break; case 'alpha' : - if(!preg_match('/^[a-z]+$/is', $val)) return new Object(-1, sprintf($lang->filter->invalid_alpha, $lang->{$key}?$lang->{$key}:$key)); + if(!preg_match('/^[a-z]+$/is', $val)) return new Object(-1, sprintf($lang->filter->invalid_alpha, $lang->{$key} ? $lang->{$key} : $key)); break; case 'alpha_number' : - if(!preg_match('/^[0-9a-z]+$/is', $val)) return new Object(-1, sprintf($lang->filter->invalid_alpha_number, $lang->{$key}?$lang->{$key}:$key)); + if(!preg_match('/^[0-9a-z]+$/is', $val)) return new Object(-1, sprintf($lang->filter->invalid_alpha_number, $lang->{$key} ? $lang->{$key} : $key)); break; } @@ -342,32 +373,41 @@ } /** - * @brief 컬럼의 타입을 구해옴 - * 컬럼의 경우 a.b 와 같이 되어 있는 경우가 있어서 별도 함수가 필요 + * @brief returns type of column + * @param[in] $column_type_list list of column type + * @param[in] $name name of column type + * @return column type of $name + * @remarks columns are usually like a.b, so it needs another function **/ function getColumnType($column_type_list, $name) { - if(strpos($name,'.')===false) return $column_type_list[$name]; - list($prefix, $name) = explode('.',$name); + if(strpos($name, '.') === false) return $column_type_list[$name]; + list($prefix, $name) = explode('.', $name); return $column_type_list[$name]; } /** - * @brief 이름, 값, operation, type으로 값을 변경 - * like, like_prefix의 경우 value자체가 변경됨 - * type == number가 아니면 addQuotes()를 하고 ' ' 로 묶음 + * @brief returns the value of condition + * @param[in] $name name of condition + * @param[in] $value value of condition + * @param[in] $operation operation this is used in condition + * @param[in] $type type of condition + * @param[in] $column_type type of column + * @return well modified $value + * @remarks if $operation is like or like_prefix, $value itself will be modified + * @remarks if $type is not 'number', call addQuotes() and wrap with ' ' **/ function getConditionValue($name, $value, $operation, $type, $column_type) { if($type == 'number') { - if(strpos($value,',')===false && strpos($value,'(')===false) return (int)$value; + if(strpos($value, ',') === false && strpos($value, '(') === false) return (int)$value; return $value; } - if(strpos($name,'.')!==false&&strpos($value,'.')!==false) { - list($table_name, $column_name) = explode('.',$value); + if(strpos($name, '.') !== false && strpos($value, '.') !== false) { + list($table_name, $column_name) = explode('.', $value); if($column_type[$column_name]) return $value; } - $value = preg_replace('/(^\'|\'$){1}/','',$value); + $value = preg_replace('/(^\'|\'$){1}/', '', $value); switch($operation) { case 'like_prefix' : @@ -391,8 +431,11 @@ } /** - * @brief 이름, 값, operation으로 조건절 작성 - * 조건절을 완성하기 위해 세부 조건절 마다 정리를 해서 return + * @brief returns part of condition + * @param[in] $name name of condition + * @param[in] $value value of condition + * @param[in] $operation operation that is used in condition + * @return detail condition **/ function getConditionPart($name, $value, $operation) { switch($operation) { @@ -407,7 +450,7 @@ case 'in' : case 'notin' : case 'notequal' : - // 변수가 세팅되지 않고, 문자열이나 숫자형이 아니면 리턴 + // if variable is not set or is not string or number, return if(!isset($value)) return; if($value === '') return; if(!in_array(gettype($value), array('string', 'integer'))) return; @@ -453,7 +496,9 @@ } /** - * @brief condition key를 return + * @brief returns condition key + * @param[in] $output result of query + * @return array of conditions of $output **/ function getConditionList($output) { $conditions = array(); @@ -471,7 +516,10 @@ } /** - * @brief 카운터 캐시 데이터 얻어오기 + * @brief returns counter cache data + * @param[in] $tables tables to get data + * @param[in] $condition condition to get data + * @return count of cache data **/ function getCountCache($tables, $condition) { return false; @@ -502,7 +550,11 @@ } /** - * @brief 카운터 캐시 데이터 저장 + * @brief save counter cache data + * @param[in] $tables tables to save data + * @param[in] $condition condition to save data + * @param[in] $count count of cache data to save + * @return none **/ function putCountCache($tables, $condition, $count = 0) { return false; @@ -523,7 +575,9 @@ } /** - * @brief 카운터 캐시 리셋 + * @brief reset counter cache data + * @param[in] $tables tables to reset cache data + * @return true: success, false: failed **/ function resetCountCache($tables) { return false; @@ -534,14 +588,19 @@ foreach($tables as $alias => $table) { $filename = sprintf('%s/cache.%s%s', $this->count_cache_path, $this->prefix, $table); FileHandler::removeFile($filename); - FileHandler::writeFile( $filename, '' ); + FileHandler::writeFile($filename, ''); } return true; } + /** + * @brief returns supported database list + * @return list of supported database + **/ function getSupportedDatabase(){ $result = array(); + if(function_exists('mysql_connect')) $result[] = 'MySQL'; if(function_exists('cubrid_connect')) $result[] = 'Cubrid'; if(function_exists('ibase_connect')) $result[] = 'FireBird'; @@ -549,6 +608,7 @@ if(function_exists('sqlite_open')) $result[] = 'sqlite2'; if(function_exists('mssql_connect')) $result[] = 'MSSQL'; if(function_exists('PDO')) $result[] = 'sqlite3(PDO)'; + return $result; } diff --git a/classes/db/DBCubrid.class.php b/classes/db/DBCubrid.class.php index b79312ed7..14189cad3 100644 --- a/classes/db/DBCubrid.class.php +++ b/classes/db/DBCubrid.class.php @@ -322,16 +322,16 @@ $table_name = $this->prefix.$table_name; - $query = sprintf('create class %s;', $table_name); + $query = sprintf('create class "%s";', $table_name); $this->_query($query); - $query = sprintf("call change_owner('%s','%s') on class db_root;", $table_name, $this->userid); - $this->_query($query); + /*$query = sprintf("call change_owner('%s','%s') on class db_root;", $table_name, $this->userid); + $this->_query($query); */ if(!is_array($xml_obj->table->column)) $columns[] = $xml_obj->table->column; else $columns = $xml_obj->table->column; - $query = sprintf("alter class %s add attribute ", $table_name); + $query = sprintf("alter class \"%s\" add attribute ", $table_name); foreach($columns as $column) { $name = $column->attrs->name; @@ -352,7 +352,7 @@ break; } - if($default && !is_numeric($default)) $default = "'".$default."'"; + if($default && (!is_numeric($default) || $default[0] == "+")) $default = "'".$default."'"; $column_schema[] = sprintf('"%s" %s%s %s %s', $name, @@ -384,7 +384,7 @@ if(count($index_list)) { foreach($index_list as $key => $val) { - $query = sprintf("create index %s_%s on %s (%s);", $table_name, $key, $table_name, '"'.implode('","',$val).'"'); + $query = sprintf("create index \"%s_%s\" on %s (%s);", $table_name, $key, $table_name, '"'.implode('","',$val).'"'); $this->_query($query); } } @@ -422,11 +422,13 @@ $value = $this->getConditionValue($name, $value, $operation, $type, $column_type); if(!$value) { - $value = $v['value']; - if(strpos($value, ".") == false) $valuetmp = $value; - else $valuetmp = '"'.str_replace('.', '"."', $value).'"'; + $value = $v['value']; + if (strpos ($value, '(')) $valuetmp = $value; + elseif (strpos ($value, ".") === false) $valuetmp = $value; + else $valuetmp = '"'.str_replace('.', '"."', $value).'"'; } else $valuetmp = $value; - if(strpos($name, ".") == false) $nametmp = '"'.$name.'"'; + if (strpos ($name, '(')) $nametmp = $name; + elseif (strpos ($name, ".") === false) $nametmp = '"'.$name.'"'; else $nametmp = '"'.str_replace('.', '"."', $name).'"'; $str = $this->getConditionPart($nametmp, $valuetmp, $operation); if($sub_condition) $sub_condition .= ' '.$pipe.' '; @@ -488,7 +490,7 @@ function _executeUpdateAct($output) { // 테이블 정리 foreach($output->tables as $key => $val) { - $table_list[] = "\"".$this->prefix.$val."\" as ".$key; + $table_list[] = '"'.$this->prefix.$val.'" as "'.$key.'"'; } // 컬럼 정리 @@ -496,10 +498,10 @@ if(!isset($val['value'])) continue; $name = $val['name']; $value = $val['value']; - for ($i = 0; $i < $key; $i++) { // 한문장에 같은 속성에 대한 중복 설정은 큐브리드에서는 허용치 않음 - if ($output->columns[$i]['name'] == $name) break; - } - if ($i < $key) continue; // 중복이 발견되면 이후의 설정은 무시 + for ($i = 0; $i < $key; $i++) { // 한문장에 같은 속성에 대한 중복 설정은 큐브리드에서는 허용치 않음 + if ($output->columns[$i]['name'] == $name) break; + } + if ($i < $key) continue; // 중복이 발견되면 이후의 설정은 무시 if(strpos($name,'.')!==false&&strpos($value,'.')!==false) $column_list[] = $name.' = '.$value; else { if($output->column_type[$name]!='number') { @@ -565,12 +567,12 @@ $left_join = array(); // why??? - $left_tables= (array)$output->left_tables; + $left_tables = (array)$output->left_tables; foreach($left_tables as $key => $val) { $condition = $this->_getCondition($output->left_conditions[$key],$output->column_type); if($condition){ - $left_join[] = $val . ' "'.$this->prefix.$output->_tables[$key].'" as "'.$key . '" on (' . $condition . ')'; + $left_join[] = $val . ' "'.$this->prefix.$output->_tables[$key].'" "'.$key . '" on (' . $condition . ')'; } } @@ -580,21 +582,29 @@ $column_list = array(); foreach($output->columns as $key => $val) { $name = $val['name']; - $alias = $val['alias']; + + $click_count = '%s'; + if($val['click_count'] && count($output->conditions)>0){ + $click_count = 'incr(%s)'; + } + + $alias = $val['alias'] ? sprintf('"%s"',$val['alias']) : null; if(substr($name,-1) == '*') { $column_list[] = $name; } elseif(strpos($name,'.')===false && strpos($name,'(')===false) { - if($alias) $column_list[] = sprintf('"%s" as "%s"', $name, $alias); - else $column_list[] = sprintf('"%s"',$name); + $name = sprintf($click_count,$name); + if($alias) $column_list[] = sprintf('%s as %s', $name, $alias); + else $column_list[] = sprintf('%s',$name); } else { if(strpos($name,'.')!=false) { list($prefix, $name) = explode('.',$name); - $deli=($name == '*') ? "" : "\""; - if($alias) $column_list[] = sprintf("%s.$deli%s$deli as \"%s\"", $prefix, $name, $alias); - else $column_list[] = sprintf("%s.$deli%s$deli",$prefix,$name); + $prefix = sprintf('"%s"',$prefix); + $name = ($name == '*') ? $name : sprintf('"%s"',$name); + + $column_list[] = sprintf($click_count,sprintf('%s.%s', $prefix, $name)) . ($alias ? sprintf(' as %s',$alias) : ''); + } else { - if($alias) $column_list[] = sprintf('%s as "%s"', $name, $alias); - else $column_list[] = sprintf('%s',$name); + $column_list[] = sprintf($click_count,$name) . ($alias ? sprintf(' as %s',$alias) : ''); } } } @@ -607,7 +617,19 @@ $query = sprintf("select %s from %s %s %s", $columns, implode(',',$table_list),implode(' ',$left_join), $condition); - if(count($output->groups)) $query .= sprintf(' group by %s', implode(',',$output->groups)); + if (count ($output->groups)) { + foreach ($output->groups as &$value) { + if (strpos ($value, '.')) { + $tmp = explode ('.', $value); + $tmp[0] = sprintf ('"%s"', $tmp[0]); + $tmp[1] = sprintf ('"%s"', $tmp[1]); + $value = implode ('.', $tmp); + } + elseif (strpos ($value, '(')) $value = $value; + else $value = sprintf ('"%s"', $value); + } + $query .= sprintf(' group by %s', implode(',',$output->groups)); + } // list_count를 사용할 경우 적용 if($output->list_count['value']) { @@ -617,7 +639,16 @@ if ($output->order) { foreach($output->order as $key => $val) { - $index_list[] = sprintf('%s %s', $val[0]=='count'?'count(*)':$val[0], $val[1]); + if (strpos ($val[0], '.')) { + $tmpval = explode ('.', $val[0]); + $tmpval[0] = sprintf ('"%s"', $tmpval[0]); + $tmpval[1] = sprintf ('"%s"', $tmpval[1]); + $val[0] = implode ('.', $tmpval); + } + elseif (strpos ($val[0], '(')) $val[0] = $val[0]; + elseif ($val[0] == 'count') $val[0] = 'count (*)'; + else $val[0] = sprintf ('"%s"', $val[0]); + $index_list[] = sprintf('%s %s', $val[0], $val[1]); } if(count($index_list)) $query .= ' order by '.implode(',',$index_list); $query = sprintf('%s for orderby_num() between %d and %d', $query, $start_count + 1, $list_count + $start_count); @@ -637,7 +668,16 @@ if($output->order) { foreach($output->order as $key => $val) { - $index_list[] = sprintf('%s %s', $val[0]=='count'?'count(*)':$val[0], $val[1]); + if (strpos ($val[0], '.')) { + $tmpval = explode ('.', $val[0]); + $tmpval[0] = sprintf ('"%s"', $tmpval[0]); + $tmpval[1] = sprintf ('"%s"', $tmpval[1]); + $val[0] = implode ('.', $tmpval); + } + elseif (strpos ($val[0], '(')) $val[0] = $val[0]; + elseif ($val[0] == 'count') $val[0] = 'count (*)'; + else $val[0] = sprintf ('"%s"', $val[0]); + $index_list[] = sprintf('%s %s', $val[0], $val[1]); } if(count($index_list)) $query .= ' order by '.implode(',',$index_list); } @@ -757,10 +797,31 @@ $query = sprintf("select %s from %s %s %s", $columns, implode(',',$table_list), implode(' ',$left_join), $condition); - if(count($output->groups)) $query .= sprintf(' group by %s', implode(',',$output->groups)); + if (count ($output->groups)) { + foreach ($output->groups as &$value) { + if (strpos ($value, '.')) { + $tmp = explode ('.', $value); + $tmp[0] = sprintf ('"%s"', $tmp[0]); + $tmp[1] = sprintf ('"%s"', $tmp[1]); + $value = implode ('.', $tmp); + } + elseif (strpos ($value, '(')) $value = $value; + else $value = sprintf ('"%s"', $value); + } + $query .= sprintf(' group by %s', implode(',',$output->groups)); + } if ($output->order) { foreach($output->order as $key => $val) { + if (strpos ($val[0], '.')) { + $tmpval = explode ('.', $val[0]); + $tmpval[0] = sprintf ('"%s"', $tmpval[0]); + $tmpval[1] = sprintf ('"%s"', $tmpval[1]); + $val[0] = implode ('.', $tmpval); + } + elseif (strpos ($val[0], '(')) $val[0] = $val[0]; + elseif ($val[0] == 'count') $val[0] = 'count (*)'; + else $val[0] = sprintf ('"%s"', $val[0]); $index_list[] = sprintf('%s %s', $val[0], $val[1]); } if(count($index_list)) $query .= ' order by '.implode(',',$index_list); diff --git a/classes/db/DBFirebird.class.php b/classes/db/DBFirebird.class.php index 460795057..462ec175b 100644 --- a/classes/db/DBFirebird.class.php +++ b/classes/db/DBFirebird.class.php @@ -83,7 +83,7 @@ $this->fd = @ibase_connect($host, $this->userid, $this->password); if(ibase_errmsg()) { $this->setError(ibase_errcode(), ibase_errmsg()); - return; + return $this->is_connected = false; } // Firebird 버전 확인후 2.0 이하면 오류 표시 @@ -94,7 +94,8 @@ } else { $this->setError(ibase_errcode(), ibase_errmsg()); - return; + @ibase_close($this->fd); + return $this->is_connected = false; } $pos = strpos($server_info, "Firebird"); @@ -105,7 +106,8 @@ if($ver < "2.0") { $this->setError(-1, "XE cannot be installed under the version of firebird 2.0. Current firebird version is ".$ver); - return; + @ibase_close($this->fd); + return $this->is_connected = false; } // 접속체크 @@ -117,7 +119,9 @@ **/ function close() { if(!$this->isConnected()) return; - ibase_close($this->fd); + @ibase_commit($this->fd); + @ibase_close($this->fd); + $this->transaction_started = false; } /** @@ -186,18 +190,11 @@ $string = trim(substr($string, $no1+1, $no2-$no1-1)); } - // 테이블.필드 - if(($no1 = strpos($string,'.'))!==false) { - $tmpString1 = substr($string, 0, $no1); // table - $tmpString2 = substr($string, $no1+1, strlen($string)-$no1+1); // field + // (테이블.컬럼) 구조 일때 처리 + preg_match("/((?i)[a-z0-9_-]+)[.]((?i)[a-z0-9_\-\*]+)/", $string, $matches); - $tmpString1 = trim($tmpString1); - $tmpString2 = trim($tmpString2); - - $tmpString1 = $this->addDoubleQuotes($tmpString1); - if($tmpString2 != "*") $tmpString2 = $this->addDoubleQuotes($tmpString2); - - $string = $tmpString1.".".$tmpString2; + if($matches) { + $string = $this->addDoubleQuotes($matches[1]).".".$this->addDoubleQuotes($matches[2]); } else { $string = $this->addDoubleQuotes($string); @@ -217,37 +214,32 @@ $tok = strtok(","); } - foreach($values as $val) { - if(($no1 = strpos($val,'.'))!==false) { - $tmpString1 = substr($val, 0, $no1); // table - $tmpString2 = substr($val, $no1+1, strlen($val)-$no1+1); // field - - $tmpString1 = trim($tmpString1); - $tmpString2 = trim($tmpString2); - + foreach($values as $val1) { + // (테이블.컬럼) 구조 일때 처리 + preg_match("/((?i)[a-z0-9_-]+)[.]((?i)[a-z0-9_\-\*]+)/", $val1, $matches); + if($matches) { $isTable = false; - foreach($tables as $key => $val) { - if($key == $tmpString1) $isTable = true; - if($val == $tmpString1) $isTable = true; + + foreach($tables as $key2 => $val2) { + if($key2 == $matches[1]) $isTable = true; + if($val2 == $matches[1]) $isTable = true; } if($isTable) { - $tmpString1 = $this->addDoubleQuotes($tmpString1); - if($tmpString2 != "*") $tmpString2 = $this->addDoubleQuotes($tmpString2); - $return[] = $tmpString1.".".$tmpString2; + $return[] = $this->addDoubleQuotes($matches[1]).".".$this->addDoubleQuotes($matches[2]); } else { - $return[] = $tmpString1.".".$tmpString2; + $return[] = $val1; } } - else if(!is_numeric($val)) { - if(strpos($val, "'") !== 0) - $return[] = "'".$val."'"; + else if(!is_numeric($val1)) { + if(strpos($val1, "'") !== 0) + $return[] = "'".$val1."'"; else - $return[] = $val; + $return[] = $val1; } else { - $return[] = $val; + $return[] = $val1; } } @@ -258,20 +250,26 @@ * @brief 트랜잭션 시작 **/ function begin() { + if(!$this->isConnected() || $this->transaction_started) return; + $this->transaction_started = true; } /** * @brief 롤백 **/ function rollback() { - //@ibase_rollback($this->fd); + if(!$this->isConnected() || !$this->transaction_started) return; + @ibase_rollback($this->fd); + $this->transaction_started = false; } /** * @brief 커밋 **/ function commit() { - //@ibase_commit($this->fd); + if(!$force && (!$this->isConnected() || !$this->transaction_started)) return; + @ibase_commit($this->fd); + $this->transaction_started = false; } /** @@ -367,13 +365,11 @@ $query = sprintf("select rdb\$relation_name from rdb\$relations where rdb\$system_flag=0 and rdb\$relation_name = '%s%s';", $this->prefix, $target_name); $result = $this->_query($query); $tmp = $this->_fetch($result); - if(!$tmp) - { - @ibase_rollback($this->fd); + if(!$tmp) { + if(!$this->transaction_started) @ibase_rollback($this->fd); return false; } - //commit(); - @ibase_commit($this->fd); + if(!$this->transaction_started) @ibase_commit($this->fd); return true; } @@ -382,7 +378,10 @@ **/ function addColumn($table_name, $column_name, $type='number', $size='', $default = '', $notnull=false) { $type = $this->column_type[$type]; - if(strtoupper($type)=='INTEGER') $size = ''; + if(strtoupper($type)=='INTEGER') $size = null; + else if(strtoupper($type)=='BIGINT') $size = null; + else if(strtoupper($type)=='BLOB SUB_TYPE TEXT SEGMENT SIZE 32') $size = null; + else if(strtoupper($type)=='VARCHAR' && !$size) $size = 256; $query = sprintf("ALTER TABLE \"%s%s\" ADD \"%s\" ", $this->prefix, $table_name, $column_name); if($size) $query .= sprintf(" %s(%s) ", $type, $size); @@ -391,8 +390,7 @@ if($notnull) $query .= " NOT NULL "; $this->_query($query); - //commit(); - @ibase_commit($this->fd); + if(!$this->transaction_started) @ibase_commit($this->fd); } /** @@ -401,6 +399,7 @@ function dropColumn($table_name, $column_name) { $query = sprintf("alter table %s%s drop %s ", $this->prefix, $table_name, $column_name); $this->_query($query); + if(!$this->transaction_started) @ibase_commit($this->fd); } @@ -410,10 +409,13 @@ function isColumnExists($table_name, $column_name) { $query = sprintf("SELECT RDB\$FIELD_NAME as \"FIELD\" FROM RDB\$RELATION_FIELDS WHERE RDB\$RELATION_NAME = '%s%s'", $this->prefix, $table_name); $result = $this->_query($query); - if($this->isError()) return; + if($this->isError()) { + if(!$this->transaction_started) @ibase_rollback($this->fd); + return false; + } + $output = $this->_fetch($result); - //commit(); - @ibase_commit($this->fd); + if(!$this->transaction_started) @ibase_commit($this->fd); if($output) { $column_name = strtolower($column_name); @@ -435,8 +437,8 @@ $query = sprintf('CREATE %s INDEX "%s" ON "%s%s" ("%s");', $is_unique?'UNIQUE':'', $index_name, $this->prefix, $table_name, implode('", "',$target_columns)); $this->_query($query); - //commit(); - @ibase_commit($this->fd); + + if(!$this->transaction_started) @ibase_commit($this->fd); } /** @@ -445,6 +447,8 @@ function dropIndex($table_name, $index_name, $is_unique = false) { $query = sprintf('DROP INDEX "%s" ON "%s%s"', $index_name, $this->prefix, $table_name); $this->_query($query); + + if(!$this->transaction_started) @ibase_commit($this->fd); } @@ -469,9 +473,14 @@ $result = $this->_query($query); if($this->isError()) return; $output = $this->_fetch($result); - //commit(); - @ibase_commit($this->fd); - if(!$output) return; + + if(!$output) { + if(!$this->transaction_started) @ibase_rollback($this->fd); + return false; + } + + if(!$this->transaction_started) @ibase_commit($this->fd); + if(!is_array($output)) $output = array($output); for($i=0;$iKEY_NAME) == $index_name) return true; @@ -529,6 +538,8 @@ $auto_increment = $column->attrs->auto_increment; if($this->column_type[$type]=='INTEGER') $size = null; + else if($this->column_type[$type]=='BIGINT') $size = null; + else if($this->column_type[$type]=='BLOB SUB_TYPE TEXT SEGMENT SIZE 32') $size = null; else if($this->column_type[$type]=='VARCHAR' && !$size) $size = 256; $column_schema[] = sprintf('"%s" %s%s %s %s', @@ -558,8 +569,7 @@ $schema = sprintf("CREATE TABLE \"%s\" (%s%s); \n", $table_name, "\n", implode($column_schema, ",\n")); $output = $this->_query($schema); - //commit(); - @ibase_commit($this->fd); + if(!$this->transaction_started) @ibase_commit($this->fd); if(!$output) return false; if(count($index_list)) { @@ -574,8 +584,7 @@ $schema = sprintf("CREATE INDEX \"%s\" ON \"%s\" (\"%s\");", $index_name, $table_name, implode($val, "\",\"")); $output = $this->_query($schema); - //commit(); - @ibase_commit($this->fd); + if(!$this->transaction_started) @ibase_commit($this->fd); if(!$output) return false; } } @@ -583,7 +592,7 @@ foreach($auto_increment_list as $increment) { $schema = sprintf('CREATE GENERATOR GEN_%s_ID;', $table_name); $output = $this->_query($schema); - @ibase_commit($this->fd); + if(!$this->transaction_started) @ibase_commit($this->fd); if(!$output) return false; // Firebird에서 auto increment는 generator를 만들어 insert 발생시 트리거를 실행시켜 @@ -610,7 +619,7 @@ **/ function getCondition($output) { if(!$output->conditions) return; - $condition = $this->_getCondition($output->conditions,$output->column_type,$output->tables); + $condition = $this->_getCondition($output->conditions,$output->column_type,$output->_tables); if($condition) $condition = ' where '.$condition; return $condition; } @@ -671,6 +680,7 @@ $value = str_replace("'", "`", $value); if($output->column_type[$name]=="text" || $output->column_type[$name]=="bigtext"){ + if(!isset($val['value'])) continue; $blh = ibase_blob_create($this->fd); ibase_blob_add($blh, $value); $value = ibase_blob_close($blh); @@ -687,7 +697,7 @@ $query = sprintf("insert into %s (%s) values (%s);", implode(',',$table_list), implode(',',$column_list), implode(',', $questions)); $result = $this->_query($query, $value_list); - @ibase_commit($this->fd); + if(!$this->transaction_started) @ibase_commit($this->fd); return $result; } @@ -739,7 +749,7 @@ $query = sprintf("update %s set %s %s;", implode(',',$table_list), implode(',',$column_list), $condition); $result = $this->_query($query, $values); - @ibase_commit($this->fd); + if(!$this->transaction_started) @ibase_commit($this->fd); return $result; } @@ -758,7 +768,7 @@ $query = sprintf("delete from %s %s;", implode(',',$table_list), $condition); $result = $this->_query($query); - @ibase_commit($this->fd); + if(!$this->transaction_started) @ibase_commit($this->fd); return $result; } @@ -780,7 +790,7 @@ $left_tables= (array)$output->left_tables; foreach($left_tables as $key => $val) { - $condition = $this->getLeftCondition($output->left_conditions[$key],$output->column_type,$output->tables); + $condition = $this->getLeftCondition($output->left_conditions[$key],$output->column_type,$output->_tables); if($condition){ $left_join[] = $val . ' "'.$this->prefix.$output->_tables[$key].'" as "'.$key.'" on (' . $condition . ')'; } @@ -794,6 +804,7 @@ foreach($output->columns as $key => $val) { $name = $val['name']; $alias = $val['alias']; + if($val['click_count']) $click_count[] = $val['name']; if($alias == "") $column_list[] = $this->autoQuotes($name); @@ -843,9 +854,20 @@ $query .= ";"; $result = $this->_query($query); - if($this->isError()) return; + if($this->isError()) { + if(!$this->transaction_started) @ibase_rollback($this->fd); + return; + } + $data = $this->_fetch($result, $output); - @ibase_commit($this->fd); + if(!$this->transaction_started) @ibase_commit($this->fd); + + if(count($click_count)>0 && count($output->conditions)>0){ + $_query = ''; + foreach($click_count as $k => $c) $_query .= sprintf(',%s=%s+1 ',$c,$c); + $_query = sprintf('update %s set %s %s',implode(',',$table_list), substr($_query,1), $condition); + $this->_query($_query); + } $buff = new Object(); $buff->data = $data; @@ -890,7 +912,7 @@ if($total_count === false) { $result = $this->_query($count_query); $count_output = $this->_fetch($result); - @ibase_commit($this->fd); + if(!$this->transaction_started) @ibase_commit($this->fd); $total_count = (int)$count_output->count; $this->putCountCache($output->tables, $condition, $total_count); @@ -940,6 +962,8 @@ $result = $this->_query($query); if($this->isError()) { + if(!$this->transaction_started) @ibase_rollback($this->fd); + $buff = new Object(); $buff->total_count = 0; $buff->total_page = 0; @@ -974,7 +998,7 @@ $data[$virtual_no--] = $tmp; } - @ibase_commit($this->fd); + if(!$this->transaction_started) @ibase_commit($this->fd); $buff = new Object(); $buff->total_count = $total_count; diff --git a/classes/db/DBMssql.class.php b/classes/db/DBMssql.class.php index 99ac2677a..c42078980 100644 --- a/classes/db/DBMssql.class.php +++ b/classes/db/DBMssql.class.php @@ -3,7 +3,7 @@ /** * @class DBMSSQL * @author zero (zero@nzeo.com) - * @brief MSSQL 을 ADODB로 이 + * @brief MSSQL driver로 수정 sol (sol@ngleader.com) * @version 0.1 **/ @@ -12,10 +12,10 @@ /** * DB를 이용하기 위한 정보 **/ - var $conn = NULL; - var $rs = NULL; - var $database = NULL; ///< database - var $prefix = 'xe'; ///< XE에서 사용할 테이블들의 prefix (한 DB에서 여러개의 XE 설치 가능) + var $conn = NULL; + var $database = NULL; ///< database + var $prefix = 'xe'; ///< XE에서 사용할 테이블들의 prefix (한 DB에서 여러개의 XE 설치 가능) + var $param = array(); /** * @brief mssql 에서 사용될 column type @@ -46,8 +46,7 @@ * @brief 설치 가능 여부를 return **/ function isSupported() { - return false; - if(!class_exists('COM')) return false; + if (!extension_loaded("sqlsrv")) return false; return true; } @@ -73,22 +72,31 @@ // db 정보가 없으면 무시 if(!$this->hostname || !$this->database) return; - $this->conn = new COM("ADODB.Connection",NULL,CP_UTF8); - //$this->conn = new COM("ADODB.Connection"); - $this->conn->open( sprintf('Provider=sqloledb;Data Source=%s;Initial Catalog=%s;Network Library=dbmssocn;User ID=%s;Password=%s;', $this->hostname, $this->database, $this->userid, $this->password)); - - // 접속체크 - $this->is_connected = true; + //sqlsrv_configure( 'WarningsReturnAsErrors', 0 ); + //sqlsrv_configure( 'LogSeverity', SQLSRV_LOG_SEVERITY_ALL ); + //sqlsrv_configure( 'LogSubsystems', SQLSRV_LOG_SYSTEM_ALL ); + + $this->conn = sqlsrv_connect( $this->hostname, + array( 'Database' => $this->database,'UID'=>$this->userid,'PWD'=>$this->password )); + + + // 접속체크 + if($this->conn){ + $this->is_connected = true; + }else{ + $this->is_connected = false; + } } /** * @brief DB접속 해제 **/ function close() { - if(!$this->isConnected()) return; + if($this->is_connected == false) return; + $this->commit(); - $this->conn->close(); - $this->rs = $this->conn = null; + sqlsrv_close($this->conn); + $this->conn = null; } /** @@ -96,7 +104,8 @@ **/ function addQuotes($string) { if(version_compare(PHP_VERSION, "5.9.0", "<") && get_magic_quotes_gpc()) $string = stripslashes(str_replace("\\","\\\\",$string)); - if(!is_numeric($string)) $string = str_replace("'","''",$string); + //if(!is_numeric($string)) $string = str_replace("'","''",$string); + return $string; } @@ -104,30 +113,30 @@ * @brief 트랜잭션 시작 **/ function begin() { - return; - if(!$this->isConnected() || $this->transaction_started) return; + if($this->is_connected == false || $this->transaction_started) return; + if(sqlsrv_begin_transaction( $this->conn ) === false) return; + $this->transaction_started = true; - $this->_query("BEGIN TRANSACTION XE_Transaction"); } /** * @brief 롤백 **/ function rollback() { - return; - if(!$this->isConnected() || !$this->transaction_started) return; - $this->transaction_started = false; - $this->_query("ROLLBACK TRANSACTION XE_Transaction"); + if($this->is_connected == false || !$this->transaction_started) return; + + $this->transaction_started = false; + sqlsrv_rollback( $this->conn ); } /** * @brief 커밋 **/ function commit($force = false) { - return; - if(!$force && (!$this->isConnected() || !$this->transaction_started)) return; + if(!$force && ($this->is_connected == false || !$this->transaction_started)) return; + $this->transaction_started = false; - $this->_query("COMMIT TRANSACTION XE_Transaction"); + sqlsrv_commit( $this->conn ); } /** @@ -140,47 +149,63 @@ * return\n **/ function _query($query) { - if(!$this->isConnected() || !$query) return; - - - $this->rs = new COM("ADODB.Recordset"); - $this->rs->CursorLocation=3; + if($this->is_connected == false || !$query) return; + $_param = array(); + + if(count($this->param)){ + foreach($this->param as $k => $o){ + if($o['type'] == 'number'){ + $_param[] = &$o['value']; + }else{ + $_param[] = array(&$o['value'], SQLSRV_PARAM_IN, SQLSRV_PHPTYPE_STRING('utf-8')); + } + } + } + // 쿼리 시작을 알림 $this->actStart($query); - - // 쿼리 문 실행 - //try { - //@$this->rs->open($query,$this->conn,0,1,1); - //} catch(Exception $e) { - //$this->setError('MSSQL Error in '.$query); - //} + // 쿼리 문 실행 + $result = false; + if(count($_param)){ + $result = @sqlsrv_query($this->conn, $query, $_param); + }else{ + $result = @sqlsrv_query($this->conn, $query); + } + // 오류 체크 + if(!$result) $this->setError(print_r(sqlsrv_errors(),true)); + // 쿼리 실행 종료를 알림 $this->actFinish(); + $this->param = array(); + + return $result; } /** * @brief 결과를 fetch **/ - function _fetch() { - if(!$this->isConnected() || $this->isError() || !$this->rs) return; + function _fetch($result) { + if(!$this->isConnected() || $this->isError() || !$result) return; + $c = sqlsrv_num_fields($result); + $m = null; $output = array(); - $k = (int)$this->rs->Fields->Count; - for($i=0;!$this->rs->EOF;$this->rs->MoveNext(),$i++){ + + while(sqlsrv_fetch($result)){ + if(!$m) $m = sqlsrv_field_metadata($result); unset($row); - for($j=0;$j<$k;$j++){ - $row->{$this->rs[$j]->name} = $this->rs[$j]->value; - } - $output[$i]=$row; - } - $this->rs->close(); - $this->rs = null; - - if(count($output)==1) return $output[0]; + for($i=0;$i<$c;$i++){ + $row->{$m[$i]['Name']} = sqlsrv_get_field( $result, $i, SQLSRV_PHPTYPE_STRING( 'utf-8' )); + } + $output[] = $row; + } + + if(count($output)==1) return $output[0]; return $output; + } /** @@ -189,9 +214,12 @@ function getNextSequence() { $query = sprintf("insert into %ssequence (seq) values (ident_incr('%ssequence'))", $this->prefix, $this->prefix); $this->_query($query); + $query = sprintf("select ident_current('%ssequence')+1 as sequence", $this->prefix); - $this->_query($query); - $tmp = $this->_fetch(); + $result = $this->_query($query); + $tmp = $this->_fetch($result); + + return $tmp->sequence; } @@ -200,8 +228,9 @@ **/ function isTableExists($target_name) { $query = sprintf("select name from sysobjects where name = '%s%s' and xtype='U'", $this->prefix, $this->addQuotes($target_name)); - $this->_query($query); - $tmp = $this->_fetch(); + $result = $this->_query($query); + $tmp = $this->_fetch($result); + if(!$tmp) return false; return true; } @@ -237,9 +266,9 @@ **/ function isColumnExists($table_name, $column_name) { $query = sprintf("select syscolumns.name as name from syscolumns, sysobjects where sysobjects.name = '%s%s' and sysobjects.id = syscolumns.id and syscolumns.name = '%s'", $this->prefix, $table_name, $column_name); - $this->_query($query); + $result = $this->_query($query); if($this->isError()) return; - $tmp = $this->_fetch(); + $tmp = $this->_fetch($result); if(!$tmp->name) return false; return true; } @@ -272,9 +301,9 @@ function isIndexExists($table_name, $index_name) { $query = sprintf("select sysindexes.name as name from sysindexes, sysobjects where sysobjects.name = '%s%s' and sysobjects.id = sysindexes.id and sysindexes.name = '%s'", $this->prefix, $table_name, $index_name); - $this->_query($query); + $result = $this->_query($query); if($this->isError()) return; - $tmp = $this->_fetch(); + $tmp = $this->_fetch($result); if(!$tmp->name) return false; return true; @@ -386,6 +415,7 @@ function _getCondition($conditions,$column_type) { $condition = ''; + foreach($conditions as $val) { $sub_condition = ''; foreach($val['condition'] as $v) { @@ -397,6 +427,7 @@ if(preg_match('/^substr\(/i',$name)) $name = preg_replace('/^substr\(/i','substring(',$name); $operation = $v['operation']; $value = $v['value']; + $type = $this->getColumnType($column_type,$name); $pipe = $v['pipe']; @@ -414,6 +445,75 @@ return $condition; } + + function getConditionValue($name, $value, $operation, $type, $column_type) { + + if($type == 'number') { + if(strpos($value,',')===false && strpos($value,'(')===false){ + + if(is_integer($value)){ + $this->param[] = array('type'=>'number','value'=>(int)$value); + return '?'; + }else{ + return $value; + } + } + } + + if(strpos($name,'.')!==false&&strpos($value,'.')!==false) { + list($table_name, $column_name) = explode('.',$value); + if($column_type[$column_name]){ + return $value; + } + } + + switch($operation) { + case 'like_prefix' : + $value = preg_replace('/(^\'|\'$){1}/','',$value); + $this->param[] = array('type'=>$column_type[$name],'value'=>$value); + + $value = "? + '%'"; + break; + case 'like_tail' : + $value = preg_replace('/(^\'|\'$){1}/','',$value); + $this->param[] = array('type'=>$column_type[$name],'value'=>$value); + + $value = "'%' + ?"; + break; + case 'like' : + $value = preg_replace('/(^\'|\'$){1}/','',$value); + $this->param[] = array('type'=>$column_type[$name],'value'=>$value); + + $value = "'%' + ? + '%'"; + break; + case 'notin' : + preg_match_all('/,?\'([^\']*)\'/',$value,$match); + $val = array(); + foreach($match[1] as $k => $v){ + $this->param[] = array('type'=>$column_type[$name],'value'=>trim($v)); + $val[] ='?'; + } + $value = join(',',$val); + break; + case 'in' : + preg_match_all('/,?\'([^\']*)\'/',$value,$match); + $val = array(); + foreach($match[1] as $k => $v){ + $this->param[] = array('type'=>$column_type[$name],'value'=>trim($v)); + $val[] ='?'; + } + $value = join(',',$val); + break; + default: + $value = preg_replace('/(^\'|\'$){1}/','',$value); + $this->param[] = array('type'=>$column_type[$name],'value'=>$value); + $value = '?'; + break; + } + + return $value; + } + /** * @brief insertAct 처리 **/ @@ -428,13 +528,21 @@ foreach($output->columns as $key => $val) { $name = $val['name']; $value = $val['value']; + if($output->column_type[$name]!='number') { - $value = "'".$this->addQuotes($value)."'"; - if(!$value) $value = 'null'; - } elseif(!$value || is_numeric($value)) $value = (int)$value; - + $value = $this->addQuotes($value); + if(!$value) $value = ''; + } elseif(is_numeric($value)){ + if(!$value) $value = ''; + $value = (int)$value; + } elseif(!$value){ + $value = ''; + } + $column_list[] = '['.$name.']'; - $value_list[] = $value; + $value_list[] = '?'; + + $this->param[] = array('type'=>$output->column_type[$name], 'value'=>$value); } $query = sprintf("insert into %s (%s) values (%s);", implode(',',$table_list), implode(',',$column_list), implode(',', $value_list)); @@ -450,18 +558,33 @@ foreach($output->tables as $key => $val) { $table_list[] = '['.$this->prefix.$val.']'; } - - // 컬럼 정리 + + // 컬럼 정리 foreach($output->columns as $key => $val) { if(!isset($val['value'])) continue; + $name = $val['name']; $value = $val['value']; - if(strpos($name,'.')!==false&&strpos($value,'.')!==false) $column_list[] = $name.' = '.$value; - else { - if($output->column_type[$name]!='number') $value = "'".$this->addQuotes($value)."'"; - elseif(!$value || is_numeric($value)) $value = (int)$value; + if(strpos($name,'.')!==false&&strpos($value,'.')!==false){ + $column_list[] = $name.' = '.$value; + } else { + if($output->column_type[$name]!='number'){ + $value = $this->addQuotes($value); + if(!$value) $value = ''; + + $this->param[] = array('type'=>$output->column_type[$name], 'value'=>$value); + $column_list[] = sprintf("[%s] = ?", $name); + }elseif(!$value || is_numeric($value)){ + $value = (int)$value; + + $this->param[] = array('type'=>$output->column_type[$name], 'value'=>$value); + $column_list[] = sprintf("[%s] = ?", $name); + }else{ + if(!$value) $value = ''; + $column_list[] = sprintf("[%s] = %s", $name, $value); + } - $column_list[] = sprintf("[%s] = %s", $name, $value); + } } @@ -522,6 +645,8 @@ $name = $val['name']; if(preg_match('/^substr\(/i',$name)) $name = preg_replace('/^substr\(/i','substring(',$name); $alias = $val['alias']; + if($val['click_count']) $click_count[] = $val['name']; + if(substr($name,-1) == '*') { $column_list[] = $name; } elseif(strpos($name,'.')===false && strpos($name,'(')===false) { @@ -536,8 +661,7 @@ } $condition = $this->getCondition($output); - - + if($output->list_count && $output->page) return $this->_getNavigationData($table_list, $columns, $left_join, $condition, $output); // list_order, update_order 로 정렬시에 인덱스 사용을 위해 condition에 쿼리 추가 @@ -555,7 +679,15 @@ $query = sprintf("%s from %s %s %s", $columns, implode(',',$table_list),implode(' ',$left_join), $condition); - if(count($output->groups)) $query .= sprintf(' group by %s', implode(',',$output->groups)); + if(count($output->groups)){ + foreach($output->groups as $k => $v ){ + if(preg_match('/^substr\(/i',$v)) $output->groups[$k] = preg_replace('/^substr\(/i','substring(',$v); + } + $query .= sprintf(' group by %s', implode(',',$output->groups)); + } + + + if($output->order && !preg_match('/count\(\*\)/i',$columns) ) { foreach($output->order as $key => $val) { @@ -568,10 +700,18 @@ // list_count를 사용할 경우 적용 if($output->list_count['value']) $query = sprintf('select top %d %s', $output->list_count['value'], $query); else $query = "select ".$query; - - $this->_query($query); + + $result = $this->_query($query); if($this->isError()) return; - $data = $this->_fetch(); + + if(count($click_count)>0 && count($output->conditions)>0){ + $_query = ''; + foreach($click_count as $k => $c) $_query .= sprintf(',%s=%s+1 ',$c,$c); + $_query = sprintf('update %s set %s %s',implode(',',$table_list), substr($_query,1), $condition); + $this->_query($_query); + } + + $data = $this->_fetch($result); $buff = new Object(); $buff->data = $data; @@ -587,14 +727,28 @@ require_once(_XE_PATH_.'classes/page/PageHandler.class.php'); // 전체 개수를 구함 - $count_condition = count($output->groups) ? sprintf('%s group by %s', $condition, implode(', ', $output->groups)) : $condition; + if(count($output->groups)){ + foreach($output->groups as $k => $v ){ + if(preg_match('/^substr\(/i',$v)) $output->groups[$k] = preg_replace('/^substr\(/i','substring(',$v); + } + $count_condition = sprintf('%s group by %s', $condition, implode(', ', $output->groups)); + }else{ + $count_condition = $condition; + } + + $total_count = $this->getCountCache($output->tables, $count_condition); if($total_count === false) { $count_query = sprintf("select count(*) as count from %s %s %s", implode(', ', $table_list), implode(' ', $left_join), $count_condition); if (count($output->groups)) $count_query = sprintf('select count(*) as count from (%s) xet', $count_query); - $this->_query($count_query); - $count_output = $this->_fetch(); - $total_count = (int)$count_output->count; + + $param = $this->param; + $result = $this->_query($count_query); + + $this->param = $param; + $count_output = $this->_fetch($result); + + $total_count = (int)$count_output->count; $this->putCountCache($output->tables, $count_condition, $total_count); } @@ -628,8 +782,13 @@ // group by 절 추가 - if(count($output->groups)) $group .= sprintf('group by %s', implode(',',$output->groups)); - + if(count($output->groups)){ + foreach($output->groups as $k => $v ){ + if(preg_match('/^substr\(/i',$v)) $output->groups[$k] = preg_replace('/^substr\(/i','substring(',$v); + } + $group .= sprintf('group by %s', implode(',',$output->groups)); + } + // order 절 추가 $order_targets = array(); if($output->order) { @@ -655,9 +814,12 @@ } // 1차로 order 대상에 해당 하는 값을 가져옴 + $param = $this->param; $first_query = sprintf("select %s from (select top %d %s from %s %s %s %s %s) xet", implode(',',$first_columns), $start_count, implode(',',$first_sub_columns), implode(',',$table_list), implode(' ',$left_join), $condition, $group, $order); - $this->_query($first_query); - $tmp = $this->_fetch(); + $result = $this->_query($first_query); + $this->param = $param; + $tmp = $this->_fetch($result); + // 1차에서 나온 값을 이용 다시 쿼리 실행 @@ -672,7 +834,8 @@ $query = sprintf('select top %d %s from %s %s %s %s %s', $list_count, $columns, implode(',',$table_list), implode(' ',$left_join), $condition, $group, $order); } - $this->_query($query); + $result = $this->_query($query); + if($this->isError()) { $buff = new Object(); $buff->total_count = 0; @@ -684,15 +847,14 @@ return $buff; } - $virtual_no = $total_count - ($page-1)*$list_count; - for($i=0;!$this->rs->EOF;$this->rs->MoveNext(),$i++){ - unset($row); - for($j=0;$j<$this->rs->Fields->Count;$j++){ - $row->{$this->rs[$j]->name} = $this->rs[$j]->value; - } - $data[$virtual_no--] = $row; - } - $this->rs = null; + $virtual_no = $total_count - ($page-1)*$list_count; + + $output = $this->_fetch($result); + if(!is_array($output)) $output = array($output); + + foreach($output as $k => $v) { + $data[$virtual_no--] = $v; + } $buff = new Object(); $buff->total_count = $total_count; diff --git a/classes/db/DBMysql.class.php b/classes/db/DBMysql.class.php index fcbbae601..572cdc024 100644 --- a/classes/db/DBMysql.class.php +++ b/classes/db/DBMysql.class.php @@ -519,6 +519,7 @@ } } + $click_count = array(); if(!$output->columns) { $columns = '*'; } else { @@ -526,6 +527,8 @@ foreach($output->columns as $key => $val) { $name = $val['name']; $alias = $val['alias']; + if($val['click_count']) $click_count[] = $val['name']; + if(substr($name,-1) == '*') { $column_list[] = $name; } elseif(strpos($name,'.')===false && strpos($name,'(')===false) { @@ -572,6 +575,14 @@ $result = $this->_query($query); if($this->isError()) return; + + if(count($click_count)>0 && count($output->conditions)>0){ + $_query = ''; + foreach($click_count as $k => $c) $_query .= sprintf(',%s=%s+1 ',$c,$c); + $_query = sprintf('update %s set %s %s',implode(',',$table_list), substr($_query,1), $condition); + $this->_query($_query); + } + $data = $this->_fetch($result); $buff = new Object(); diff --git a/classes/db/DBMysql_innodb.class.php b/classes/db/DBMysql_innodb.class.php index 71ad1a90e..62ef273d3 100644 --- a/classes/db/DBMysql_innodb.class.php +++ b/classes/db/DBMysql_innodb.class.php @@ -537,6 +537,8 @@ foreach($output->columns as $key => $val) { $name = $val['name']; $alias = $val['alias']; + if($val['click_count']) $click_count[] = $val['name']; + if(substr($name,-1) == '*') { $column_list[] = $name; } elseif(strpos($name,'.')===false && strpos($name,'(')===false) { @@ -584,6 +586,15 @@ $result = $this->_query($query); if($this->isError()) return; + + if(count($click_count)>0 && count($output->conditions)>0){ + $_query = ''; + foreach($click_count as $k => $c) $_query .= sprintf(',%s=%s+1 ',$c,$c); + $_query = sprintf('update %s set %s %s',implode(',',$table_list), substr($_query,1), $condition); + $this->_query($_query); + } + + $data = $this->_fetch($result); $buff = new Object(); diff --git a/classes/db/DBPostgresql.class.php b/classes/db/DBPostgresql.class.php index 2a96e9f3d..9b164b047 100644 --- a/classes/db/DBPostgresql.class.php +++ b/classes/db/DBPostgresql.class.php @@ -675,6 +675,8 @@ class DBPostgresql extends DB foreach ($output->columns as $key => $val) { $name = $val['name']; $alias = $val['alias']; + if($val['click_count']) $click_count[] = $val['name']; + if (substr($name, -1) == '*') { $column_list[] = $name; } elseif (strpos($name, '.') === false && strpos($name, '(') === false) { @@ -758,6 +760,15 @@ class DBPostgresql extends DB $result = $this->_query($query); if ($this->isError()) return; + + if(count($click_count)>0 && count($output->conditions)>0){ + $_query = ''; + foreach($click_count as $k => $c) $_query .= sprintf(',%s=%s+1 ',$c,$c); + $_query = sprintf('update %s set %s %s',implode(',',$table_list), substr($_query,1), $condition); + $this->_query($_query); + } + + $data = $this->_fetch($result); $buff = new Object(); diff --git a/classes/db/DBSqlite2.class.php b/classes/db/DBSqlite2.class.php index c84647254..e1d0b4bd6 100644 --- a/classes/db/DBSqlite2.class.php +++ b/classes/db/DBSqlite2.class.php @@ -544,6 +544,8 @@ foreach($output->columns as $key => $val) { $name = $val['name']; $alias = $val['alias']; + if($val['click_count']) $click_count[] = $val['name']; + if(substr($name,-1) == '*') { $column_list[] = $name; } elseif(strpos($name,'.')===false && strpos($name,'(')===false) { @@ -590,6 +592,14 @@ $result = $this->_query($query); if($this->isError()) return; + + if(count($click_count)>0 && count($output->conditions)>0){ + $_query = ''; + foreach($click_count as $k => $c) $_query .= sprintf(',%s=%s+1 ',$c,$c); + $_query = sprintf('update %s set %s %s',implode(',',$table_list), substr($_query,1), $condition); + $this->_query($_query); + } + $data = $this->_fetch($result); $buff = new Object(); diff --git a/classes/db/DBSqlite3_pdo.class.php b/classes/db/DBSqlite3_pdo.class.php index bf7caf22e..3c97682a9 100644 --- a/classes/db/DBSqlite3_pdo.class.php +++ b/classes/db/DBSqlite3_pdo.class.php @@ -587,6 +587,8 @@ foreach($output->columns as $key => $val) { $name = $val['name']; $alias = $val['alias']; + if($val['click_count']) $click_count[] = $val['name']; + if(substr($name,-1) == '*') { $column_list[] = $name; } elseif(strpos($name,'.')===false && strpos($name,'(')===false) { @@ -635,6 +637,13 @@ $data = $this->_execute(); if($this->isError()) return; + if(count($click_count)>0 && count($output->conditions)>0){ + $_query = ''; + foreach($click_count as $k => $c) $_query .= sprintf(',%s=%s+1 ',$c,$c); + $_query = sprintf('update %s set %s %s',implode(',',$table_list), substr($_query,1), $condition); + $this->_query($_query); + } + $buff = new Object(); $buff->data = $data; return $buff; diff --git a/classes/display/DisplayHandler.class.php b/classes/display/DisplayHandler.class.php index cda47c579..2a2adde92 100644 --- a/classes/display/DisplayHandler.class.php +++ b/classes/display/DisplayHandler.class.php @@ -29,7 +29,8 @@ ) $this->gz_enabled = true; // request method에 따른 컨텐츠 결과물 추출 - if(Context::getRequestMethod() == 'XMLRPC') $output = $this->_toXmlDoc($oModule); + if(Context::get('xeVirtualRequestMethod')=='xml') $output = $this->_toVirtualXmlDoc($oModule); + else if(Context::getRequestMethod() == 'XMLRPC') $output = $this->_toXmlDoc($oModule); else if(Context::getRequestMethod() == 'JSON') $output = $this->_toJSON($oModule); else $output = $this->_toHTMLDoc($oModule); @@ -80,6 +81,11 @@ $output = $oTemplate->compile($layout_path, $layout_file, $edited_layout_file); if(__DEBUG__==3) $GLOBALS['__layout_compile_elapsed__'] = getMicroTime()-$start; + + + if(preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) && (Context::get("_use_ssl")=='optional'||Context::get("_use_ssl")=="always")) { + Context::addHtmlFooter(''); + } } } @@ -178,6 +184,34 @@ return $json; } + /** + * @brief RequestMethod가 virtualXML이면 성공, 실패, redirect에 대해 컨텐츠 생성 + **/ + function _toVirtualXmlDoc(&$oModule) { + $error = $oModule->getError(); + $message = $oModule->getMessage(); + $redirect_url = $oModule->get('redirect_url'); + $request_uri = Context::get('xeRequestURI'); + $request_url = Context::get('xeVirtualRequestUrl'); + if(substr($request_url,-1)!='/') $request_url .= '/'; + + if($error === 0) { + if($message != 'success') $output->message = $message; + if($redirect_url) $output->url = $redirect_url; + else $output->url = $request_uri; + } else { + if($message != 'fail') $output->message = $message; + } + + $html = ''."\n"; + return $html; + } /** * @brief RequestMethod가 XML이면 XML 데이터로 컨텐츠 생성 diff --git a/classes/extravar/Extravar.class.php b/classes/extravar/Extravar.class.php index a0fe201cd..c826af846 100644 --- a/classes/extravar/Extravar.class.php +++ b/classes/extravar/Extravar.class.php @@ -20,7 +20,7 @@ /** * @brief constructor **/ - function ExtraVar($module_srl) { + function ExtraVar($module_srl) { $this->module_srl = $module_srl; } @@ -32,7 +32,7 @@ if(!is_array($extra_keys) || !count($extra_keys)) return; foreach($extra_keys as $key => $val) { $obj = null; - $obj = new ExtraItem($val->module_srl, $val->idx, $val->name, $val->type, $val->default, $val->desc, $val->is_required, $val->search, $val->value, $val->eid); + $obj = new ExtraItem($val->module_srl, $val->idx, $val->name, $val->type, $val->default, $val->desc, $val->is_required, $val->search, $val->value, $val->eid); $this->keys[$val->idx] = $obj; } } @@ -197,7 +197,7 @@ // 전화번호 case 'tel' : - $buff .= + $buff .= ''. ''. ''; @@ -230,7 +230,7 @@ $buff .= ''; break; - // radio + // radio case 'radio' : $buff .= '
    '; foreach($default as $v) { @@ -246,13 +246,13 @@ // datepicker javascript plugin load Context::loadJavascriptPlugin('ui.datepicker'); - $buff .= + $buff .= ''. ''."\n". ' {Context::getHtmlHeader()} diff --git a/common/tpl/redirect.html b/common/tpl/redirect.html new file mode 100644 index 000000000..53f59e4f5 --- /dev/null +++ b/common/tpl/redirect.html @@ -0,0 +1,26 @@ + + + + + + + + + diff --git a/config/config.inc.php b/config/config.inc.php index 4d995e225..f551ab9e6 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -13,7 +13,7 @@ * @brief XE의 전체 버전 표기 * 이 파일의 수정이 없더라도 공식 릴리즈시에 수정되어 함께 배포되어야 함 **/ - define('__ZBXE_VERSION__', '1.2.4'); + define('__ZBXE_VERSION__', '1.2.6'); /** * @brief zbXE가 설치된 장소의 base path를 구함 @@ -52,7 +52,7 @@ * @brief 디버그 메세지의 출력 장소 * 0 : files/_debug_message.php 에 연결하여 출력 * 1 : HTML 최하단에 주석으로 출력 (Response Method가 HTML 일 때) - * 2 : Firebug 콘솔에 출력 (PHP >= 5.2.0. Firebug/FirePHP 플러그인 필요) + * 2 : Firebug 콘솔에 출력 (PHP 4 & 5. Firebug/FirePHP 플러그인 필요) **/ if(!defined('__DEBUG_OUTPUT__')) define('__DEBUG_OUTPUT__', 0); @@ -103,7 +103,7 @@ /** * @brief Firebug 콘솔 출력 사용시 관련 파일 require **/ - if((__DEBUG_OUTPUT__ == 2) && version_compare(PHP_VERSION, '5.2.0', '>=')) { + if((__DEBUG_OUTPUT__ == 2) && version_compare(PHP_VERSION, '6.0.0') === -1) { require _XE_PATH_.'libs/FirePHPCore/FirePHP.class.php'; } diff --git a/config/func.inc.php b/config/func.inc.php index f220ef427..4717b5294 100644 --- a/config/func.inc.php +++ b/config/func.inc.php @@ -219,6 +219,48 @@ return Context::getUrl($num_args, $args_list); } + function getNotEncodedUrl() { + $num_args = func_num_args(); + $args_list = func_get_args(); + + if(!$num_args) return Context::getRequestUri(); + + return Context::getUrl($num_args, $args_list, null, false); + } + + /** + * @brief getUrl()의 값에 request uri를 추가하여 reutrn + * full url을 얻기 위함 + **/ + function getFullUrl() { + $num_args = func_num_args(); + $args_list = func_get_args(); + $request_uri = Context::getRequestUri(); + if(!$num_args) return $request_uri; + + $url = Context::getUrl($num_args, $args_list); + if(!preg_match('/^http/i',$url)){ + preg_match('/^(http|https):\/\/([^\/]+)\//',$request_uri,$match); + return substr($match[0],0,-1).$url; + } + return $url; + } + + function getNotEncodedFullUrl() { + $num_args = func_num_args(); + $args_list = func_get_args(); + $request_uri = Context::getRequestUri(); + if(!$num_args) return $request_uri; + + $url = Context::getUrl($num_args, $args_list); + if(!preg_match('/^http/i',$url)){ + preg_match('/^(http|https):\/\/([^\/]+)\//',$request_uri,$match); + $url = Context::getUrl($num_args, $args_list, null, false); + return substr($match[0],0,-1).$url; + } + return $url; + } + /** * @brief Context::getUrl()를 쓰기 쉽게 함수로 선언 * @return string @@ -238,6 +280,40 @@ return Context::getUrl($num_args, $args_list, $domain); } + function getNotEncodedSiteUrl() { + $num_args = func_num_args(); + $args_list = func_get_args(); + + if(!$num_args) return Context::getRequestUri(); + + $domain = array_shift($args_list); + $num_args = count($args_list); + + return Context::getUrl($num_args, $args_list, $domain, false); + } + + /** + * @brief getSiteUrl()의 값에 request uri를 추가하여 reutrn + * full url을 얻기 위함 + **/ + function getFullSiteUrl() { + $num_args = func_num_args(); + $args_list = func_get_args(); + + $request_uri = Context::getRequestUri(); + if(!$num_args) return $request_uri; + + $domain = array_shift($args_list); + $num_args = count($args_list); + + $url = Context::getUrl($num_args, $args_list, $domain); + if(!preg_match('/^http/i',$url)){ + preg_match('/^(http|https):\/\/([^\/]+)\//',$request_uri,$match); + return substr($match[0],0,-1).$url; + } + return $url; + } + /** * @brief 가상사이트의 Domain이 url형식인지 site id인지 return **/ @@ -368,6 +444,11 @@ elseif($format == 'Y-m-d H:i:s') $format = 'M d, Y H:i:s'; elseif($format == 'Y-m-d H:i') $format = 'M d, Y H:i'; break; + case 'vi' : + if($format == 'Y-m-d') $format = 'd-m-Y'; + elseif($format == 'Y-m-d H:i:s') $format = 'H:i:s d-m-Y'; + elseif($format == 'Y-m-d H:i') $format = 'H:i d-m-Y'; + break; } } @@ -399,9 +480,9 @@ } /** - * @brief 간단한 console debugging 함수 - * @param buff 출력하고자 하는 object - * @param display_line 구분자를 출력할 것인지에 대한 플래그 (기본:true) + * @brief prints debug messages + * @param debug_output target object to be printed + * @param display_line boolean flag whether to print seperator (default:true) * @return none * * ./files/_debug_message.php 파일에 $buff 내용을 출력한다. @@ -416,9 +497,16 @@ $file_name = array_pop(explode(DIRECTORY_SEPARATOR, $first['file'])); $line_num = $first['line']; - if(__DEBUG_OUTPUT__ == 2 && version_compare(PHP_VERSION, '5.2.0', '>=')) { + if(__DEBUG_OUTPUT__ == 2 && version_compare(PHP_VERSION, '6.0.0') === -1) { if(!isset($firephp)) $firephp = FirePHP::getInstance(true); - $label = sprintf('[%s:%d] ', $file_name, $line_num); + if(function_exists("memory_get_usage")) + { + $label = sprintf('[%s:%d] (m:%s)', $file_name, $line_num, FileHandler::filesize(memory_get_usage())); + } + else + { + $label = sprintf('[%s:%d] ', $file_name, $line_num); + } // FirePHP 옵션 체크 if($display_option === 'TABLE') $label = $display_option; @@ -433,7 +521,14 @@ } else { $debug_file = _XE_PATH_.'files/_debug_message.php'; - $debug_output = sprintf("[%s %s:%d]\n%s\n", date('Y-m-d H:i:s'), $file_name, $line_num, print_r($debug_output, true)); + if(function_exists("memory_get_usage")) + { + $debug_output = sprintf("[%s %s:%d] - mem(%s)\n%s\n", date('Y-m-d H:i:s'), $file_name, $line_num, FileHandler::filesize(memory_get_usage()), print_r($debug_output, true)); + } + else + { + $debug_output = sprintf("[%s %s:%d]\n%s\n", date('Y-m-d H:i:s'), $file_name, $line_num, print_r($debug_output, true)); + } if($display_option === true) $debug_output = str_repeat('=', 40)."\n".$debug_output.str_repeat('-', 40); $debug_output = "\n\n"; diff --git a/index.php b/index.php index 9542647c6..628d528b4 100644 --- a/index.php +++ b/index.php @@ -12,7 +12,7 @@ * XE 는 오픈 프로젝트로 개발되는 오픈 소스입니다.\n * 자세한 내용은 아래 링크를 참조하세요. * - 공식홈페이지 : http://www.xpressengine.com - * - SVN Repository : http://svn.xpressengine.com/XpressEngine/trunk + * - SVN Repository : http://svn.xpressengine.net/xe * \n * "XpressEngine (XE)"은 자유 소프트웨어입니다. \n * 소프트웨어의 피양도자는 자유 소프트웨어 재단이 공표한 GNU 일반 공중 사용 허가서 2판 또는 \n diff --git a/layouts/xe_official/conf/info.xml b/layouts/xe_official/conf/info.xml index bb1789a1c..fc30de24a 100644 --- a/layouts/xe_official/conf/info.xml +++ b/layouts/xe_official/conf/info.xml @@ -8,6 +8,7 @@ Diseño oficial de la página web de XE XE 官方网站布局 XE 官方網站版面 + Giao diện chính thức của XE XE 공식 사이트 레이아웃입니다. 디자인 : 이소라 @@ -55,6 +56,12 @@ 設計 : So-Ra Lee HTML/CSS : Chan-Myung Jeong 版面設計 : zero + + + Đây là giao diện chính thức của XE. + Thiết kế bởi: So-Ra Lee + HTML/CSS : Chan-Myung Jeong + Quản lý : zero 0.1 2007-08-01 @@ -69,6 +76,7 @@ zero zero zero + zero @@ -81,6 +89,7 @@ Colorset Colorset Set de colores + Màu sắc 원하시는 컬러셋을 선택해주세요. 希望するカラーセットを選択して下さい。 请选择颜色。 @@ -89,6 +98,7 @@ Bitte wählen Sie ein colorset Sie wollen. Выберите colorset хотите. Seleccione set de colores que desea. + Hãy chọn màu sắc bạn muốn. 기본 デフォルト @@ -98,6 +108,7 @@ Básico 默认 預設 + Cơ bản 검은색 @@ -108,6 +119,7 @@ Negro 黑色 黑色 + Black 하얀색 @@ -118,6 +130,7 @@ Blanco 白色 白色 + White @@ -129,6 +142,7 @@ Logobildes Изображения логотипа Imagen del logotipo + Hình Logo 레이아웃의 상단에 표시될 로고이미지를 입력하세요. (세로길이가 23px인 투명이미지가 가장 어울립니다) レイアウトの上段に表示されるロゴイメージを入力して下さい。 (縦幅が23pxである透明イメージをお勧めします。。) 请输入显示在布局顶部的LOGO图片(高度为23px的透明图片为适)。 @@ -137,6 +151,7 @@ Bitte geben Sie ein Logo das Bild wird auf dem oberen Layout. (Transparent Bild mit einer Höhe von 23px wird empfohlen). Введите логотип изображение, которое будет отображаться в верхней части формы. (Прозрачный изображение с высотой 23px рекомендуется.) Ingresar una imagen para logotipo. ( Se recomienda una imagen de fondo transparente con una altura de 23px. + Hãy chọn Logo hiển thị phía trên cùng của giao diện. (Đề nghị: Hình ảnh có nền trong suốt và kích thước 23px.) 홈 페이지 URL @@ -147,6 +162,7 @@ Homepage URL Домашняя страница URL URL de la página web + URL Trang chủ 로고를 클릭시에 이동할 홈 페이지 URL을 입력해 주세요. ロゴをクリックした時に移動するホームページのURLを入力して下さい。 点击网站LOGO时要移动的页面URL。 @@ -155,6 +171,7 @@ Bitte geben Sie die URL umzuleiten, wenn Benutzer klickt das Logo Пожалуйста, введите URL для перенаправления, когда пользователь нажимает логотип Ingresar el URL de la página web para redireccionar al pulsar el logotipo + Hãy nhập địa chỉ bạn muốn chuyển đến khi bấm vào Logo 배경 이미지 @@ -165,6 +182,7 @@ Hintergrundbild Фоновое изображение Imagen de fondo + Hình nền 배경 이미지를 사용하시려면 등록해주세요. 背景イメージを使う場合は、登録して下さい。 要想使用背景图片请在这里上传。 @@ -173,6 +191,7 @@ Bitte geben Sie, wenn Sie verwenden wollen Hintergrundbild. Введите, если вы хотите использовать фоновое изображение. Ingresar imagen de fondo si desea usar. + Hãy nhập hình nền nếu bạn muốn sử dụng. @@ -186,6 +205,7 @@ Top Menü Верхнее меню Menú Principal + Menu trên 하단 메뉴 @@ -196,6 +216,7 @@ Bottom-Menü Внизу меню Menú Inferior + Menu dưới diff --git a/libs/FirePHPCore/CHANGELOG b/libs/FirePHPCore/CHANGELOG new file mode 100644 index 000000000..619198079 --- /dev/null +++ b/libs/FirePHPCore/CHANGELOG @@ -0,0 +1,110 @@ + +2008-06-14 - Release Version: 0.3.1 + + - (Issue 108) ignore class name case in object filter + +2009-05-11 - Release Version: 0.3 +2009-05-01 - Release Version: 0.3.rc.1 + + - (Issue 90) PHP4 compatible version of FirePHPCore + - (Issue 98) Thrown exceptions don't send an HTTP 500 if the FirePHP exception handler is enabled + - (Issue 85) Support associative arrays in encodeTable method in FirePHP.class.php + - (Issue 66) Add a new getOptions() public method in API + - (Issue 82) Define $this->options outside of __construct + - (Issue 72) Message error if group name is null + - (Issue 68) registerErrorHandler() and registerExceptionHandler() should returns previous handlers defined + - (Issue 69) Add the missing register handler in the triumvirate (error, exception, assert) + - (Issue 75) [Error & Exception Handling] Option to not exit script execution + - (Issue 83) Exception handler can't throw exceptions + - (Issue 80) Auto/Pre collapsing groups AND Custom group row colors + +2008-11-09 - Release Version: 0.2.1 + + - (Issue 70) Problem when logging resources + +2008-10-21 - Release Version: 0.2.0 + + - Updated version to 0.2.0 + - Switched to using __sleep instead of __wakeup + - Added support to exclude object members when encoding + - Add support to enable/disable logging + +2008-10-17 - Release Version: 0.2.b.8 + + - New implementation for is_utf8() + - (Issue 55) maxObjectDepth Option not working correctly when using TABLE and EXCEPTION Type + - Bugfix for max[Object|Array]Depth when encoding nested array/object graphs + - Bugfix for FB::setOptions() + +2008-10-16 - Release Version: 0.2.b.7 + + - (Issue 45) Truncate dump when string have non utf8 cars + - (Issue 52) logging will not work when firephp object gets stored in the session. + +2008-10-16 - Release Version: 0.2.b.6 + + - (Issue 37) Display file and line information for each log message + - (Issue 51) Limit output of object graphs + - Bugfix for encoding object members set to NULL|false|'' + +2008-10-14 - Release Version: 0.2.b.5 + + - Updated JsonStream wildfire protocol to be more robust + - (Issue 33) PHP error notices running demos + - (Issue 48) Warning: ReflectionProperty::getValue() expects exactly 1 parameter, 0 given + +2008-10-08 - Release Version: 0.2.b.4 + + - Bugfix for logging objects with recursion + +2008-10-08 - Release Version: 0.2.b.3 + + - (Issue 43) Notice message in 0.2b2 + - Added support for PHP's native json_encode() if available + - Revised object encoder to detect object recursion + +2008-10-07 - Release Version: 0.2.b.2 + + - (Issue 28) Need solution for logging private and protected object variables + - Added trace() and table() aliases in FirePHP class + - (Issue 41) Use PHP doc in FirePHP + - (Issue 39) Static logging method for object oriented API + +2008-10-01 - Release Version: 0.2.b.1 + + - Added support for error and exception handling + - Updated min PHP version for PEAR package to 5.2 + - Added version constant for library + - Gave server library it's own wildfire plugin namespace + - Migrated communication protocol to Wildfire JsonStream + - Added support for console groups using "group" and "groupEnd" + - Added support for log, info, warn and error logging aliases + - (Issue 29) problem with TRACE when using with error_handler + - (Issue 33) PHP error notices running demos + - (Issue 12) undefined index php notice + - Removed closing ?> php tags + - (Issue 13) the code in the fb() function has a second return statement that will never be reached + +2008-07-30 - Release Version: 0.1.1.3 + + - Include __className property in JSON string if variable was an object + - Bugfix - Mis-spelt "Exception" in JSON encoding code + +2008-06-13 - Release Version: 0.1.1.1 + + - Bugfix - Standardize windows paths in stack traces + - Bugfix - Display correct stack trace info in windows environments + - Bugfix - Check $_SERVER['HTTP_USER_AGENT'] before returning + +2008-06-13 - Release Version: 0.1.1 + + - Added support for FirePHP::TRACE log style + - Changed license to New BSD License + +2008-06-06 - Release Version: 0.0.2 + + - Bugfix - Added usleep() to header writing loop to ensure unique index + - Bugfix - Ensure chunk_split does not generate trailing "\n" with empty data header + - Added support for FirePHP::TABLE log style + + \ No newline at end of file diff --git a/libs/FirePHPCore/CREDITS b/libs/FirePHPCore/CREDITS new file mode 100644 index 000000000..5f0d463d1 --- /dev/null +++ b/libs/FirePHPCore/CREDITS @@ -0,0 +1,12 @@ + _______________________________ + F i r e P H P C o r e + + Current Development + ------------------- + + Christoph Dorn + Michael Day + + If you've done work on FirePHPCore and you are not listed here, + please feel free to add yourself. + diff --git a/libs/FirePHPCore/FirePHP.class.php b/libs/FirePHPCore/FirePHP.class.php index b0fae20f2..d8ae13f34 100644 --- a/libs/FirePHPCore/FirePHP.class.php +++ b/libs/FirePHPCore/FirePHP.class.php @@ -1,1375 +1,1529 @@ - - * @license http://www.opensource.org/licenses/bsd-license.php - * @package FirePHP - */ - - -/** - * Sends the given data to the FirePHP Firefox Extension. - * The data can be displayed in the Firebug Console or in the - * "Server" request tab. - * - * For more information see: http://www.firephp.org/ - * - * @copyright Copyright (C) 2007-2008 Christoph Dorn - * @author Christoph Dorn - * @license http://www.opensource.org/licenses/bsd-license.php - * @package FirePHP - */ -class FirePHP { - - /** - * FirePHP version - * - * @var string - */ - const VERSION = '0.2.1'; - - /** - * Firebug LOG level - * - * Logs a message to firebug console. - * - * @var string - */ - const LOG = 'LOG'; - - /** - * Firebug INFO level - * - * Logs a message to firebug console and displays an info icon before the message. - * - * @var string - */ - const INFO = 'INFO'; - - /** - * Firebug WARN level - * - * Logs a message to firebug console, displays an warning icon before the message and colors the line turquoise. - * - * @var string - */ - const WARN = 'WARN'; - - /** - * Firebug ERROR level - * - * Logs a message to firebug console, displays an error icon before the message and colors the line yellow. Also increments the firebug error count. - * - * @var string - */ - const ERROR = 'ERROR'; - - /** - * Dumps a variable to firebug's server panel - * - * @var string - */ - const DUMP = 'DUMP'; - - /** - * Displays a stack trace in firebug console - * - * @var string - */ - const TRACE = 'TRACE'; - - /** - * Displays an exception in firebug console - * - * Increments the firebug error count. - * - * @var string - */ - const EXCEPTION = 'EXCEPTION'; - - /** - * Displays an table in firebug console - * - * @var string - */ - const TABLE = 'TABLE'; - - /** - * Starts a group in firebug console - * - * @var string - */ - const GROUP_START = 'GROUP_START'; - - /** - * Ends a group in firebug console - * - * @var string - */ - const GROUP_END = 'GROUP_END'; - - /** - * Singleton instance of FirePHP - * - * @var FirePHP - */ - protected static $instance = null; - - /** - * Wildfire protocol message index - * - * @var int - */ - protected $messageIndex = 1; - - /** - * Options for the library - * - * @var array - */ - protected $options = array(); - - /** - * Filters used to exclude object members when encoding - * - * @var array - */ - protected $objectFilters = array(); - - /** - * A stack of objects used to detect recursion during object encoding - * - * @var object - */ - protected $objectStack = array(); - - /** - * Flag to enable/disable logging - * - * @var boolean - */ - protected $enabled = true; - - /** - * The object constructor - */ - function __construct() { - $this->options['maxObjectDepth'] = 10; - $this->options['maxArrayDepth'] = 20; - $this->options['useNativeJsonEncode'] = true; - $this->options['includeLineNumbers'] = true; - } - - /** - * When the object gets serialized only include specific object members. - * - * @return array - */ - public function __sleep() { - return array('options','objectFilters','enabled'); - } - - /** - * Gets singleton instance of FirePHP - * - * @param boolean $AutoCreate - * @return FirePHP - */ - public static function getInstance($AutoCreate=false) { - if($AutoCreate===true && !self::$instance) { - self::init(); - } - return self::$instance; - } - - /** - * Creates FirePHP object and stores it for singleton access - * - * @return FirePHP - */ - public static function init() { - return self::$instance = new self(); - } - - /** - * Enable and disable logging to Firebug - * - * @param boolean $Enabled TRUE to enable, FALSE to disable - * @return void - */ - public function setEnabled($Enabled) { - $this->enabled = $Enabled; - } - - /** - * Check if logging is enabled - * - * @return boolean TRUE if enabled - */ - public function getEnabled() { - return $this->enabled; - } - - /** - * Specify a filter to be used when encoding an object - * - * Filters are used to exclude object members. - * - * @param string $Class The class name of the object - * @param array $Filter An array or members to exclude - * @return void - */ - public function setObjectFilter($Class, $Filter) { - $this->objectFilters[$Class] = $Filter; - } - - /** - * Set some options for the library - * - * Options: - * - maxObjectDepth: The maximum depth to traverse objects (default: 10) - * - maxArrayDepth: The maximum depth to traverse arrays (default: 20) - * - useNativeJsonEncode: If true will use json_encode() (default: true) - * - includeLineNumbers: If true will include line numbers and filenames (default: true) - * - * @param array $Options The options to be set - * @return void - */ - public function setOptions($Options) { - $this->options = array_merge($this->options,$Options); - } - - /** - * Register FirePHP as your error handler - * - * Will throw exceptions for each php error. - */ - public function registerErrorHandler() - { - //NOTE: The following errors will not be caught by this error handler: - // E_ERROR, E_PARSE, E_CORE_ERROR, - // E_CORE_WARNING, E_COMPILE_ERROR, - // E_COMPILE_WARNING, E_STRICT - - set_error_handler(array($this,'errorHandler')); - } - - /** - * FirePHP's error handler - * - * Throws exception for each php error that will occur. - * - * @param int $errno - * @param string $errstr - * @param string $errfile - * @param int $errline - * @param array $errcontext - */ - public function errorHandler($errno, $errstr, $errfile, $errline, $errcontext) - { - // Don't throw exception if error reporting is switched off - if (error_reporting() == 0) { - return; - } - // Only throw exceptions for errors we are asking for - if (error_reporting() & $errno) { - throw new ErrorException($errstr, 0, $errno, $errfile, $errline); - } - } - - /** - * Register FirePHP as your exception handler - */ - public function registerExceptionHandler() - { - set_exception_handler(array($this,'exceptionHandler')); - } - - /** - * FirePHP's exception handler - * - * Logs all exceptions to your firebug console and then stops the script. - * - * @param Exception $Exception - * @throws Exception - */ - function exceptionHandler($Exception) { - $this->fb($Exception); - } - - /** - * Set custom processor url for FirePHP - * - * @param string $URL - */ - public function setProcessorUrl($URL) - { - $this->setHeader('X-FirePHP-ProcessorURL', $URL); - } - - /** - * Set custom renderer url for FirePHP - * - * @param string $URL - */ - public function setRendererUrl($URL) - { - $this->setHeader('X-FirePHP-RendererURL', $URL); - } - - /** - * Start a group for following messages - * - * @param string $Name - * @return true - * @throws Exception - */ - public function group($Name) { - return $this->fb(null, $Name, FirePHP::GROUP_START); - } - - /** - * Ends a group you have started before - * - * @return true - * @throws Exception - */ - public function groupEnd() { - return $this->fb(null, null, FirePHP::GROUP_END); - } - - /** - * Log object with label to firebug console - * - * @see FirePHP::LOG - * @param mixes $Object - * @param string $Label - * @return true - * @throws Exception - */ - public function log($Object, $Label=null) { - return $this->fb($Object, $Label, FirePHP::LOG); - } - - /** - * Log object with label to firebug console - * - * @see FirePHP::INFO - * @param mixes $Object - * @param string $Label - * @return true - * @throws Exception - */ - public function info($Object, $Label=null) { - return $this->fb($Object, $Label, FirePHP::INFO); - } - - /** - * Log object with label to firebug console - * - * @see FirePHP::WARN - * @param mixes $Object - * @param string $Label - * @return true - * @throws Exception - */ - public function warn($Object, $Label=null) { - return $this->fb($Object, $Label, FirePHP::WARN); - } - - /** - * Log object with label to firebug console - * - * @see FirePHP::ERROR - * @param mixes $Object - * @param string $Label - * @return true - * @throws Exception - */ - public function error($Object, $Label=null) { - return $this->fb($Object, $Label, FirePHP::ERROR); - } - - /** - * Dumps key and variable to firebug server panel - * - * @see FirePHP::DUMP - * @param string $Key - * @param mixed $Variable - * @return true - * @throws Exception - */ - public function dump($Key, $Variable) { - return $this->fb($Variable, $Key, FirePHP::DUMP); - } - - /** - * Log a trace in the firebug console - * - * @see FirePHP::TRACE - * @param string $Label - * @return true - * @throws Exception - */ - public function trace($Label) { - return $this->fb($Label, FirePHP::TRACE); - } - - /** - * Log a table in the firebug console - * - * @see FirePHP::TABLE - * @param string $Label - * @param string $Table - * @return true - * @throws Exception - */ - public function table($Label, $Table) { - return $this->fb($Table, $Label, FirePHP::TABLE); - } - - /** - * Check if FirePHP is installed on client - * - * @return boolean - */ - public function detectClientExtension() { - /* Check if FirePHP is installed on client */ - if(!@preg_match_all('/\sFirePHP\/([\.|\d]*)\s?/si',$this->getUserAgent(),$m) || - !version_compare($m[1][0],'0.0.6','>=')) { - return false; - } - return true; - } - - /** - * Log varible to Firebug - * - * @see http://www.firephp.org/Wiki/Reference/Fb - * @param mixed $Object The variable to be logged - * @return true Return TRUE if message was added to headers, FALSE otherwise - * @throws Exception - */ - public function fb($Object) { - - if(!$this->enabled) { - return false; - } - - if (headers_sent($filename, $linenum)) { - throw $this->newException('Headers already sent in '.$filename.' on line '.$linenum.'. Cannot send log data to FirePHP. You must have Output Buffering enabled via ob_start() or output_buffering ini directive.'); - } - - $Type = null; - $Label = null; - - if(func_num_args()==1) { - } else - if(func_num_args()==2) { - switch(func_get_arg(1)) { - case self::LOG: - case self::INFO: - case self::WARN: - case self::ERROR: - case self::DUMP: - case self::TRACE: - case self::EXCEPTION: - case self::TABLE: - case self::GROUP_START: - case self::GROUP_END: - $Type = func_get_arg(1); - break; - default: - $Label = func_get_arg(1); - break; - } - } else - if(func_num_args()==3) { - $Type = func_get_arg(2); - $Label = func_get_arg(1); - } else { - throw $this->newException('Wrong number of arguments to fb() function!'); - } - - - if(!$this->detectClientExtension()) { - return false; - } - - $meta = array(); - $skipFinalObjectEncode = false; - - if($Object instanceof Exception) { - - $meta['file'] = $this->_escapeTraceFile($Object->getFile()); - $meta['line'] = $Object->getLine(); - - $trace = $Object->getTrace(); - if($Object instanceof ErrorException - && isset($trace[0]['function']) - && $trace[0]['function']=='errorHandler' - && isset($trace[0]['class']) - && $trace[0]['class']=='FirePHP') { - - $severity = false; - switch($Object->getSeverity()) { - case E_WARNING: $severity = 'E_WARNING'; break; - case E_NOTICE: $severity = 'E_NOTICE'; break; - case E_USER_ERROR: $severity = 'E_USER_ERROR'; break; - case E_USER_WARNING: $severity = 'E_USER_WARNING'; break; - case E_USER_NOTICE: $severity = 'E_USER_NOTICE'; break; - case E_STRICT: $severity = 'E_STRICT'; break; - case E_RECOVERABLE_ERROR: $severity = 'E_RECOVERABLE_ERROR'; break; - case E_DEPRECATED: $severity = 'E_DEPRECATED'; break; - case E_USER_DEPRECATED: $severity = 'E_USER_DEPRECATED'; break; - } - - $Object = array('Class'=>get_class($Object), - 'Message'=>$severity.': '.$Object->getMessage(), - 'File'=>$this->_escapeTraceFile($Object->getFile()), - 'Line'=>$Object->getLine(), - 'Type'=>'trigger', - 'Trace'=>$this->_escapeTrace(array_splice($trace,2))); - $skipFinalObjectEncode = true; - } else { - $Object = array('Class'=>get_class($Object), - 'Message'=>$Object->getMessage(), - 'File'=>$this->_escapeTraceFile($Object->getFile()), - 'Line'=>$Object->getLine(), - 'Type'=>'throw', - 'Trace'=>$this->_escapeTrace($trace)); - $skipFinalObjectEncode = true; - } - $Type = self::EXCEPTION; - - } else - if($Type==self::TRACE) { - - $trace = debug_backtrace(); - if(!$trace) return false; - for( $i=0 ; $i_standardizePath($trace[$i]['file']),-18,18)=='FirePHPCore/fb.php' - || substr($this->_standardizePath($trace[$i]['file']),-29,29)=='FirePHPCore/FirePHP.class.php')) { - /* Skip - FB::trace(), FB::send(), $firephp->trace(), $firephp->fb() */ - } else - if(isset($trace[$i]['class']) - && isset($trace[$i+1]['file']) - && $trace[$i]['class']=='FirePHP' - && substr($this->_standardizePath($trace[$i+1]['file']),-18,18)=='FirePHPCore/fb.php') { - /* Skip fb() */ - } else - if($trace[$i]['function']=='fb' - || $trace[$i]['function']=='trace' - || $trace[$i]['function']=='send') { - $Object = array('Class'=>isset($trace[$i]['class'])?$trace[$i]['class']:'', - 'Type'=>isset($trace[$i]['type'])?$trace[$i]['type']:'', - 'Function'=>isset($trace[$i]['function'])?$trace[$i]['function']:'', - 'Message'=>$trace[$i]['args'][0], - 'File'=>isset($trace[$i]['file'])?$this->_escapeTraceFile($trace[$i]['file']):'', - 'Line'=>isset($trace[$i]['line'])?$trace[$i]['line']:'', - 'Args'=>isset($trace[$i]['args'])?$this->encodeObject($trace[$i]['args']):'', - 'Trace'=>$this->_escapeTrace(array_splice($trace,$i+1))); - - $skipFinalObjectEncode = true; - $meta['file'] = isset($trace[$i]['file'])?$this->_escapeTraceFile($trace[$i]['file']):''; - $meta['line'] = isset($trace[$i]['line'])?$trace[$i]['line']:''; - break; - } - } - - } else - if($Type==self::TABLE) { - - if(isset($Object[0]) && is_string($Object[0])) { - $Object[1] = $this->encodeTable($Object[1]); - } else { - $Object = $this->encodeTable($Object); - } - - $skipFinalObjectEncode = true; - - } else { - if($Type===null) { - $Type = self::LOG; - } - } - - if($this->options['includeLineNumbers']) { - if(!isset($meta['file']) || !isset($meta['line'])) { - - $trace = debug_backtrace(); - for( $i=0 ; $trace && $i_standardizePath($trace[$i]['file']),-18,18)=='FirePHPCore/fb.php' - || substr($this->_standardizePath($trace[$i]['file']),-29,29)=='FirePHPCore/FirePHP.class.php')) { - /* Skip - FB::trace(), FB::send(), $firephp->trace(), $firephp->fb() */ - } else - if(isset($trace[$i]['class']) - && isset($trace[$i+1]['file']) - && $trace[$i]['class']=='FirePHP' - && substr($this->_standardizePath($trace[$i+1]['file']),-18,18)=='FirePHPCore/fb.php') { - /* Skip fb() */ - } else - if(isset($trace[$i]['file']) - && substr($this->_standardizePath($trace[$i]['file']),-18,18)=='FirePHPCore/fb.php') { - /* Skip FB::fb() */ - } else { - $meta['file'] = isset($trace[$i]['file'])?$this->_escapeTraceFile($trace[$i]['file']):''; - $meta['line'] = isset($trace[$i]['line'])?$trace[$i]['line']:''; - break; - } - } - - } - } else { - unset($meta['file']); - unset($meta['line']); - } - - $this->setHeader('X-Wf-Protocol-1','http://meta.wildfirehq.org/Protocol/JsonStream/0.2'); - $this->setHeader('X-Wf-1-Plugin-1','http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/'.self::VERSION); - - $structure_index = 1; - if($Type==self::DUMP) { - $structure_index = 2; - $this->setHeader('X-Wf-1-Structure-2','http://meta.firephp.org/Wildfire/Structure/FirePHP/Dump/0.1'); - } else { - $this->setHeader('X-Wf-1-Structure-1','http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1'); - } - - if($Type==self::DUMP) { - $msg = '{"'.$Label.'":'.$this->jsonEncode($Object, $skipFinalObjectEncode).'}'; - } else { - $msg_meta = array('Type'=>$Type); - if($Label!==null) { - $msg_meta['Label'] = $Label; - } - if(isset($meta['file'])) { - $msg_meta['File'] = $meta['file']; - } - if(isset($meta['line'])) { - $msg_meta['Line'] = $meta['line']; - } - $msg = '['.$this->jsonEncode($msg_meta).','.$this->jsonEncode($Object, $skipFinalObjectEncode).']'; - } - - $parts = explode("\n",chunk_split($msg, 5000, "\n")); - - for( $i=0 ; $i2) { - // Message needs to be split into multiple parts - $this->setHeader('X-Wf-1-'.$structure_index.'-'.'1-'.$this->messageIndex, - (($i==0)?strlen($msg):'') - . '|' . $part . '|' - . (($isetHeader('X-Wf-1-'.$structure_index.'-'.'1-'.$this->messageIndex, - strlen($part) . '|' . $part . '|'); - } - - $this->messageIndex++; - - if ($this->messageIndex > 99999) { - throw new Exception('Maximum number (99,999) of messages reached!'); - } - } - } - - $this->setHeader('X-Wf-1-Index',$this->messageIndex-1); - - return true; - } - - /** - * Standardizes path for windows systems. - * - * @param string $Path - * @return string - */ - protected function _standardizePath($Path) { - return preg_replace('/\\\\+/','/',$Path); - } - - /** - * Escape trace path for windows systems - * - * @param array $Trace - * @return array - */ - protected function _escapeTrace($Trace) { - if(!$Trace) return $Trace; - for( $i=0 ; $i_escapeTraceFile($Trace[$i]['file']); - } - if(isset($Trace[$i]['args'])) { - $Trace[$i]['args'] = $this->encodeObject($Trace[$i]['args']); - } - } - return $Trace; - } - - /** - * Escape file information of trace for windows systems - * - * @param string $File - * @return string - */ - protected function _escapeTraceFile($File) { - /* Check if we have a windows filepath */ - if(strpos($File,'\\')) { - /* First strip down to single \ */ - - $file = preg_replace('/\\\\+/','\\',$File); - - return $file; - } - return $File; - } - - /** - * Send header - * - * @param string $Name - * @param string_type $Value - */ - protected function setHeader($Name, $Value) { - return header($Name.': '.$Value); - } - - /** - * Get user agent - * - * @return string|false - */ - protected function getUserAgent() { - if(!isset($_SERVER['HTTP_USER_AGENT'])) return false; - return $_SERVER['HTTP_USER_AGENT']; - } - - /** - * Returns a new exception - * - * @param string $Message - * @return Exception - */ - protected function newException($Message) { - return new Exception($Message); - } - - /** - * Encode an object into a JSON string - * - * Uses PHP's jeson_encode() if available - * - * @param object $Object The object to be encoded - * @return string The JSON string - */ - public function jsonEncode($Object, $skipObjectEncode=false) - { - if(!$skipObjectEncode) { - $Object = $this->encodeObject($Object); - } - - if(function_exists('json_encode') - && $this->options['useNativeJsonEncode']!=false) { - - return json_encode($Object); - } else { - return $this->json_encode($Object); - } - } - - /** - * Encodes a table by encoding each row and column with encodeObject() - * - * @param array $Table The table to be encoded - * @return array - */ - protected function encodeTable($Table) { - if(!$Table) return $Table; - for( $i=0 ; $iencodeObject($Table[$i][$j]); - } - } - } - return $Table; - } - - /** - * Encodes an object including members with - * protected and private visibility - * - * @param Object $Object The object to be encoded - * @param int $Depth The current traversal depth - * @return array All members of the object - */ - protected function encodeObject($Object, $ObjectDepth = 1, $ArrayDepth = 1) - { - $return = array(); - - if (is_resource($Object)) { - - return '** '.(string)$Object.' **'; - - } else - if (is_object($Object)) { - - if ($ObjectDepth > $this->options['maxObjectDepth']) { - return '** Max Object Depth ('.$this->options['maxObjectDepth'].') **'; - } - - foreach ($this->objectStack as $refVal) { - if ($refVal === $Object) { - return '** Recursion ('.get_class($Object).') **'; - } - } - array_push($this->objectStack, $Object); - - $return['__className'] = $class = get_class($Object); - - $reflectionClass = new ReflectionClass($class); - $properties = array(); - foreach( $reflectionClass->getProperties() as $property) { - $properties[$property->getName()] = $property; - } - - $members = (array)$Object; - - foreach( $properties as $raw_name => $property ) { - - $name = $raw_name; - if($property->isStatic()) { - $name = 'static:'.$name; - } - if($property->isPublic()) { - $name = 'public:'.$name; - } else - if($property->isPrivate()) { - $name = 'private:'.$name; - $raw_name = "\0".$class."\0".$raw_name; - } else - if($property->isProtected()) { - $name = 'protected:'.$name; - $raw_name = "\0".'*'."\0".$raw_name; - } - - if(!(isset($this->objectFilters[$class]) - && is_array($this->objectFilters[$class]) - && in_array($raw_name,$this->objectFilters[$class]))) { - - if(array_key_exists($raw_name,$members) - && !$property->isStatic()) { - - $return[$name] = $this->encodeObject($members[$raw_name], $ObjectDepth + 1, 1); - - } else { - if(method_exists($property,'setAccessible')) { - $property->setAccessible(true); - $return[$name] = $this->encodeObject($property->getValue($Object), $ObjectDepth + 1, 1); - } else - if($property->isPublic()) { - $return[$name] = $this->encodeObject($property->getValue($Object), $ObjectDepth + 1, 1); - } else { - $return[$name] = '** Need PHP 5.3 to get value **'; - } - } - } else { - $return[$name] = '** Excluded by Filter **'; - } - } - - // Include all members that are not defined in the class - // but exist in the object - foreach( $members as $raw_name => $value ) { - - $name = $raw_name; - - if ($name{0} == "\0") { - $parts = explode("\0", $name); - $name = $parts[2]; - } - - if(!isset($properties[$name])) { - $name = 'undeclared:'.$name; - - if(!(isset($this->objectFilters[$class]) - && is_array($this->objectFilters[$class]) - && in_array($raw_name,$this->objectFilters[$class]))) { - - $return[$name] = $this->encodeObject($value, $ObjectDepth + 1, 1); - } else { - $return[$name] = '** Excluded by Filter **'; - } - } - } - - array_pop($this->objectStack); - - } elseif (is_array($Object)) { - - if ($ArrayDepth > $this->options['maxArrayDepth']) { - return '** Max Array Depth ('.$this->options['maxArrayDepth'].') **'; - } - - foreach ($Object as $key => $val) { - - // Encoding the $GLOBALS PHP array causes an infinite loop - // if the recursion is not reset here as it contains - // a reference to itself. This is the only way I have come up - // with to stop infinite recursion in this case. - if($key=='GLOBALS' - && is_array($val) - && array_key_exists('GLOBALS',$val)) { - $val['GLOBALS'] = '** Recursion (GLOBALS) **'; - } - - $return[$key] = $this->encodeObject($val, 1, $ArrayDepth + 1); - } - } else { - if(self::is_utf8($Object)) { - return $Object; - } else { - return utf8_encode($Object); - } - } - return $return; - } - - /** - * Returns true if $string is valid UTF-8 and false otherwise. - * - * @param mixed $str String to be tested - * @return boolean - */ - protected static function is_utf8($str) { - $c=0; $b=0; - $bits=0; - $len=strlen($str); - for($i=0; $i<$len; $i++){ - $c=ord($str[$i]); - if($c > 128){ - if(($c >= 254)) return false; - elseif($c >= 252) $bits=6; - elseif($c >= 248) $bits=5; - elseif($c >= 240) $bits=4; - elseif($c >= 224) $bits=3; - elseif($c >= 192) $bits=2; - else return false; - if(($i+$bits) > $len) return false; - while($bits > 1){ - $i++; - $b=ord($str[$i]); - if($b < 128 || $b > 191) return false; - $bits--; - } - } - } - return true; - } - - /** - * Converts to and from JSON format. - * - * JSON (JavaScript Object Notation) is a lightweight data-interchange - * format. It is easy for humans to read and write. It is easy for machines - * to parse and generate. It is based on a subset of the JavaScript - * Programming Language, Standard ECMA-262 3rd Edition - December 1999. - * This feature can also be found in Python. JSON is a text format that is - * completely language independent but uses conventions that are familiar - * to programmers of the C-family of languages, including C, C++, C#, Java, - * JavaScript, Perl, TCL, and many others. These properties make JSON an - * ideal data-interchange language. - * - * This package provides a simple encoder and decoder for JSON notation. It - * is intended for use with client-side Javascript applications that make - * use of HTTPRequest to perform server communication functions - data can - * be encoded into JSON notation for use in a client-side javascript, or - * decoded from incoming Javascript requests. JSON format is native to - * Javascript, and can be directly eval()'ed with no further parsing - * overhead - * - * All strings should be in ASCII or UTF-8 format! - * - * LICENSE: Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: Redistributions of source code must retain the - * above copyright notice, this list of conditions and the following - * disclaimer. Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following disclaimer - * in the documentation and/or other materials provided with the - * distribution. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN - * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * @category - * @package Services_JSON - * @author Michal Migurski - * @author Matt Knapp - * @author Brett Stimmerman - * @author Christoph Dorn - * @copyright 2005 Michal Migurski - * @version CVS: $Id: JSON.php,v 1.31 2006/06/28 05:54:17 migurski Exp $ - * @license http://www.opensource.org/licenses/bsd-license.php - * @link http://pear.php.net/pepr/pepr-proposal-show.php?id=198 - */ - - - /** - * Keep a list of objects as we descend into the array so we can detect recursion. - */ - private $json_objectStack = array(); - - - /** - * convert a string from one UTF-8 char to one UTF-16 char - * - * Normally should be handled by mb_convert_encoding, but - * provides a slower PHP-only method for installations - * that lack the multibye string extension. - * - * @param string $utf8 UTF-8 character - * @return string UTF-16 character - * @access private - */ - private function json_utf82utf16($utf8) - { - // oh please oh please oh please oh please oh please - if(function_exists('mb_convert_encoding')) { - return mb_convert_encoding($utf8, 'UTF-16', 'UTF-8'); - } - - switch(strlen($utf8)) { - case 1: - // this case should never be reached, because we are in ASCII range - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return $utf8; - - case 2: - // return a UTF-16 character from a 2-byte UTF-8 char - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return chr(0x07 & (ord($utf8{0}) >> 2)) - . chr((0xC0 & (ord($utf8{0}) << 6)) - | (0x3F & ord($utf8{1}))); - - case 3: - // return a UTF-16 character from a 3-byte UTF-8 char - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return chr((0xF0 & (ord($utf8{0}) << 4)) - | (0x0F & (ord($utf8{1}) >> 2))) - . chr((0xC0 & (ord($utf8{1}) << 6)) - | (0x7F & ord($utf8{2}))); - } - - // ignoring UTF-32 for now, sorry - return ''; - } - - /** - * encodes an arbitrary variable into JSON format - * - * @param mixed $var any number, boolean, string, array, or object to be encoded. - * see argument 1 to Services_JSON() above for array-parsing behavior. - * if var is a strng, note that encode() always expects it - * to be in ASCII or UTF-8 format! - * - * @return mixed JSON string representation of input var or an error if a problem occurs - * @access public - */ - private function json_encode($var) - { - - if(is_object($var)) { - if(in_array($var,$this->json_objectStack)) { - return '"** Recursion **"'; - } - } - - switch (gettype($var)) { - case 'boolean': - return $var ? 'true' : 'false'; - - case 'NULL': - return 'null'; - - case 'integer': - return (int) $var; - - case 'double': - case 'float': - return (float) $var; - - case 'string': - // STRINGS ARE EXPECTED TO BE IN ASCII OR UTF-8 FORMAT - $ascii = ''; - $strlen_var = strlen($var); - - /* - * Iterate over every character in the string, - * escaping with a slash or encoding to UTF-8 where necessary - */ - for ($c = 0; $c < $strlen_var; ++$c) { - - $ord_var_c = ord($var{$c}); - - switch (true) { - case $ord_var_c == 0x08: - $ascii .= '\b'; - break; - case $ord_var_c == 0x09: - $ascii .= '\t'; - break; - case $ord_var_c == 0x0A: - $ascii .= '\n'; - break; - case $ord_var_c == 0x0C: - $ascii .= '\f'; - break; - case $ord_var_c == 0x0D: - $ascii .= '\r'; - break; - - case $ord_var_c == 0x22: - case $ord_var_c == 0x2F: - case $ord_var_c == 0x5C: - // double quote, slash, slosh - $ascii .= '\\'.$var{$c}; - break; - - case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)): - // characters U-00000000 - U-0000007F (same as ASCII) - $ascii .= $var{$c}; - break; - - case (($ord_var_c & 0xE0) == 0xC0): - // characters U-00000080 - U-000007FF, mask 110XXXXX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, ord($var{$c + 1})); - $c += 1; - $utf16 = $this->json_utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - - case (($ord_var_c & 0xF0) == 0xE0): - // characters U-00000800 - U-0000FFFF, mask 1110XXXX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, - ord($var{$c + 1}), - ord($var{$c + 2})); - $c += 2; - $utf16 = $this->json_utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - - case (($ord_var_c & 0xF8) == 0xF0): - // characters U-00010000 - U-001FFFFF, mask 11110XXX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, - ord($var{$c + 1}), - ord($var{$c + 2}), - ord($var{$c + 3})); - $c += 3; - $utf16 = $this->json_utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - - case (($ord_var_c & 0xFC) == 0xF8): - // characters U-00200000 - U-03FFFFFF, mask 111110XX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, - ord($var{$c + 1}), - ord($var{$c + 2}), - ord($var{$c + 3}), - ord($var{$c + 4})); - $c += 4; - $utf16 = $this->json_utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - - case (($ord_var_c & 0xFE) == 0xFC): - // characters U-04000000 - U-7FFFFFFF, mask 1111110X - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, - ord($var{$c + 1}), - ord($var{$c + 2}), - ord($var{$c + 3}), - ord($var{$c + 4}), - ord($var{$c + 5})); - $c += 5; - $utf16 = $this->json_utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - } - } - - return '"'.$ascii.'"'; - - case 'array': - /* - * As per JSON spec if any array key is not an integer - * we must treat the the whole array as an object. We - * also try to catch a sparsely populated associative - * array with numeric keys here because some JS engines - * will create an array with empty indexes up to - * max_index which can cause memory issues and because - * the keys, which may be relevant, will be remapped - * otherwise. - * - * As per the ECMA and JSON specification an object may - * have any string as a property. Unfortunately due to - * a hole in the ECMA specification if the key is a - * ECMA reserved word or starts with a digit the - * parameter is only accessible using ECMAScript's - * bracket notation. - */ - - // treat as a JSON object - if (is_array($var) && count($var) && (array_keys($var) !== range(0, sizeof($var) - 1))) { - - $this->json_objectStack[] = $var; - - $properties = array_map(array($this, 'json_name_value'), - array_keys($var), - array_values($var)); - - array_pop($this->json_objectStack); - - foreach($properties as $property) { - if($property instanceof Exception) { - return $property; - } - } - - return '{' . join(',', $properties) . '}'; - } - - $this->json_objectStack[] = $var; - - // treat it like a regular array - $elements = array_map(array($this, 'json_encode'), $var); - - array_pop($this->json_objectStack); - - foreach($elements as $element) { - if($element instanceof Exception) { - return $element; - } - } - - return '[' . join(',', $elements) . ']'; - - case 'object': - $vars = self::encodeObject($var); - - $this->json_objectStack[] = $var; - - $properties = array_map(array($this, 'json_name_value'), - array_keys($vars), - array_values($vars)); - - array_pop($this->json_objectStack); - - foreach($properties as $property) { - if($property instanceof Exception) { - return $property; - } - } - - return '{' . join(',', $properties) . '}'; - - default: - return null; - } - } - - /** - * array-walking function for use in generating JSON-formatted name-value pairs - * - * @param string $name name of key to use - * @param mixed $value reference to an array element to be encoded - * - * @return string JSON-formatted name-value pair, like '"name":value' - * @access private - */ - private function json_name_value($name, $value) - { - // Encoding the $GLOBALS PHP array causes an infinite loop - // if the recursion is not reset here as it contains - // a reference to itself. This is the only way I have come up - // with to stop infinite recursion in this case. - if($name=='GLOBALS' - && is_array($value) - && array_key_exists('GLOBALS',$value)) { - $value['GLOBALS'] = '** Recursion **'; - } - - $encoded_value = $this->json_encode($value); - - if($encoded_value instanceof Exception) { - return $encoded_value; - } - - return $this->json_encode(strval($name)) . ':' . $encoded_value; - } -} + + * @license http://www.opensource.org/licenses/bsd-license.php + * @package FirePHP + */ + + +/** + * Sends the given data to the FirePHP Firefox Extension. + * The data can be displayed in the Firebug Console or in the + * "Server" request tab. + * + * For more information see: http://www.firephp.org/ + * + * @copyright Copyright (C) 2007-2009 Christoph Dorn + * @author Christoph Dorn + * @license http://www.opensource.org/licenses/bsd-license.php + * @package FirePHP + */ +class FirePHP { + + /** + * FirePHP version + * + * @var string + */ + const VERSION = '0.3'; + + /** + * Firebug LOG level + * + * Logs a message to firebug console. + * + * @var string + */ + const LOG = 'LOG'; + + /** + * Firebug INFO level + * + * Logs a message to firebug console and displays an info icon before the message. + * + * @var string + */ + const INFO = 'INFO'; + + /** + * Firebug WARN level + * + * Logs a message to firebug console, displays an warning icon before the message and colors the line turquoise. + * + * @var string + */ + const WARN = 'WARN'; + + /** + * Firebug ERROR level + * + * Logs a message to firebug console, displays an error icon before the message and colors the line yellow. Also increments the firebug error count. + * + * @var string + */ + const ERROR = 'ERROR'; + + /** + * Dumps a variable to firebug's server panel + * + * @var string + */ + const DUMP = 'DUMP'; + + /** + * Displays a stack trace in firebug console + * + * @var string + */ + const TRACE = 'TRACE'; + + /** + * Displays an exception in firebug console + * + * Increments the firebug error count. + * + * @var string + */ + const EXCEPTION = 'EXCEPTION'; + + /** + * Displays an table in firebug console + * + * @var string + */ + const TABLE = 'TABLE'; + + /** + * Starts a group in firebug console + * + * @var string + */ + const GROUP_START = 'GROUP_START'; + + /** + * Ends a group in firebug console + * + * @var string + */ + const GROUP_END = 'GROUP_END'; + + /** + * Singleton instance of FirePHP + * + * @var FirePHP + */ + protected static $instance = null; + + /** + * Flag whether we are logging from within the exception handler + * + * @var boolean + */ + protected $inExceptionHandler = false; + + /** + * Flag whether to throw PHP errors that have been converted to ErrorExceptions + * + * @var boolean + */ + protected $throwErrorExceptions = true; + + /** + * Flag whether to convert PHP assertion errors to Exceptions + * + * @var boolean + */ + protected $convertAssertionErrorsToExceptions = true; + + /** + * Flag whether to throw PHP assertion errors that have been converted to Exceptions + * + * @var boolean + */ + protected $throwAssertionExceptions = false; + + /** + * Wildfire protocol message index + * + * @var int + */ + protected $messageIndex = 1; + + /** + * Options for the library + * + * @var array + */ + protected $options = array('maxObjectDepth' => 10, + 'maxArrayDepth' => 20, + 'useNativeJsonEncode' => true, + 'includeLineNumbers' => true); + + /** + * Filters used to exclude object members when encoding + * + * @var array + */ + protected $objectFilters = array(); + + /** + * A stack of objects used to detect recursion during object encoding + * + * @var object + */ + protected $objectStack = array(); + + /** + * Flag to enable/disable logging + * + * @var boolean + */ + protected $enabled = true; + + /** + * The object constructor + */ + function __construct() { + } + + /** + * When the object gets serialized only include specific object members. + * + * @return array + */ + public function __sleep() { + return array('options','objectFilters','enabled'); + } + + /** + * Gets singleton instance of FirePHP + * + * @param boolean $AutoCreate + * @return FirePHP + */ + public static function getInstance($AutoCreate=false) { + if($AutoCreate===true && !self::$instance) { + self::init(); + } + return self::$instance; + } + + /** + * Creates FirePHP object and stores it for singleton access + * + * @return FirePHP + */ + public static function init() { + return self::$instance = new self(); + } + + /** + * Enable and disable logging to Firebug + * + * @param boolean $Enabled TRUE to enable, FALSE to disable + * @return void + */ + public function setEnabled($Enabled) { + $this->enabled = $Enabled; + } + + /** + * Check if logging is enabled + * + * @return boolean TRUE if enabled + */ + public function getEnabled() { + return $this->enabled; + } + + /** + * Specify a filter to be used when encoding an object + * + * Filters are used to exclude object members. + * + * @param string $Class The class name of the object + * @param array $Filter An array of members to exclude + * @return void + */ + public function setObjectFilter($Class, $Filter) { + $this->objectFilters[strtolower($Class)] = $Filter; + } + + /** + * Set some options for the library + * + * Options: + * - maxObjectDepth: The maximum depth to traverse objects (default: 10) + * - maxArrayDepth: The maximum depth to traverse arrays (default: 20) + * - useNativeJsonEncode: If true will use json_encode() (default: true) + * - includeLineNumbers: If true will include line numbers and filenames (default: true) + * + * @param array $Options The options to be set + * @return void + */ + public function setOptions($Options) { + $this->options = array_merge($this->options,$Options); + } + + /** + * Get options from the library + * + * @return array The currently set options + */ + public function getOptions() { + return $this->options; + } + + /** + * Register FirePHP as your error handler + * + * Will throw exceptions for each php error. + * + * @return mixed Returns a string containing the previously defined error handler (if any) + */ + public function registerErrorHandler($throwErrorExceptions=true) + { + //NOTE: The following errors will not be caught by this error handler: + // E_ERROR, E_PARSE, E_CORE_ERROR, + // E_CORE_WARNING, E_COMPILE_ERROR, + // E_COMPILE_WARNING, E_STRICT + + $this->throwErrorExceptions = $throwErrorExceptions; + + return set_error_handler(array($this,'errorHandler')); + } + + /** + * FirePHP's error handler + * + * Throws exception for each php error that will occur. + * + * @param int $errno + * @param string $errstr + * @param string $errfile + * @param int $errline + * @param array $errcontext + */ + public function errorHandler($errno, $errstr, $errfile, $errline, $errcontext) + { + // Don't throw exception if error reporting is switched off + if (error_reporting() == 0) { + return; + } + // Only throw exceptions for errors we are asking for + if (error_reporting() & $errno) { + + $exception = new ErrorException($errstr, 0, $errno, $errfile, $errline); + if($this->throwErrorExceptions) { + throw $exception; + } else { + $this->fb($exception); + } + } + } + + /** + * Register FirePHP as your exception handler + * + * @return mixed Returns the name of the previously defined exception handler, + * or NULL on error. + * If no previous handler was defined, NULL is also returned. + */ + public function registerExceptionHandler() + { + return set_exception_handler(array($this,'exceptionHandler')); + } + + /** + * FirePHP's exception handler + * + * Logs all exceptions to your firebug console and then stops the script. + * + * @param Exception $Exception + * @throws Exception + */ + function exceptionHandler($Exception) { + + $this->inExceptionHandler = true; + + header('HTTP/1.1 500 Internal Server Error'); + + $this->fb($Exception); + + $this->inExceptionHandler = false; + } + + /** + * Register FirePHP driver as your assert callback + * + * @param boolean $convertAssertionErrorsToExceptions + * @param boolean $throwAssertionExceptions + * @return mixed Returns the original setting or FALSE on errors + */ + public function registerAssertionHandler($convertAssertionErrorsToExceptions=true, $throwAssertionExceptions=false) + { + $this->convertAssertionErrorsToExceptions = $convertAssertionErrorsToExceptions; + $this->throwAssertionExceptions = $throwAssertionExceptions; + + if($throwAssertionExceptions && !$convertAssertionErrorsToExceptions) { + throw $this->newException('Cannot throw assertion exceptions as assertion errors are not being converted to exceptions!'); + } + + return assert_options(ASSERT_CALLBACK, array($this, 'assertionHandler')); + } + + /** + * FirePHP's assertion handler + * + * Logs all assertions to your firebug console and then stops the script. + * + * @param string $file File source of assertion + * @param int $line Line source of assertion + * @param mixed $code Assertion code + */ + public function assertionHandler($file, $line, $code) + { + + if($this->convertAssertionErrorsToExceptions) { + + $exception = new ErrorException('Assertion Failed - Code[ '.$code.' ]', 0, null, $file, $line); + + if($this->throwAssertionExceptions) { + throw $exception; + } else { + $this->fb($exception); + } + + } else { + + $this->fb($code, 'Assertion Failed', FirePHP::ERROR, array('File'=>$file,'Line'=>$line)); + + } + } + + /** + * Set custom processor url for FirePHP + * + * @param string $URL + */ + public function setProcessorUrl($URL) + { + $this->setHeader('X-FirePHP-ProcessorURL', $URL); + } + + /** + * Set custom renderer url for FirePHP + * + * @param string $URL + */ + public function setRendererUrl($URL) + { + $this->setHeader('X-FirePHP-RendererURL', $URL); + } + + /** + * Start a group for following messages. + * + * Options: + * Collapsed: [true|false] + * Color: [#RRGGBB|ColorName] + * + * @param string $Name + * @param array $Options OPTIONAL Instructions on how to log the group + * @return true + * @throws Exception + */ + public function group($Name, $Options=null) { + + if(!$Name) { + throw $this->newException('You must specify a label for the group!'); + } + + if($Options) { + if(!is_array($Options)) { + throw $this->newException('Options must be defined as an array!'); + } + if(array_key_exists('Collapsed', $Options)) { + $Options['Collapsed'] = ($Options['Collapsed'])?'true':'false'; + } + } + + return $this->fb(null, $Name, FirePHP::GROUP_START, $Options); + } + + /** + * Ends a group you have started before + * + * @return true + * @throws Exception + */ + public function groupEnd() { + return $this->fb(null, null, FirePHP::GROUP_END); + } + + /** + * Log object with label to firebug console + * + * @see FirePHP::LOG + * @param mixes $Object + * @param string $Label + * @return true + * @throws Exception + */ + public function log($Object, $Label=null) { + return $this->fb($Object, $Label, FirePHP::LOG); + } + + /** + * Log object with label to firebug console + * + * @see FirePHP::INFO + * @param mixes $Object + * @param string $Label + * @return true + * @throws Exception + */ + public function info($Object, $Label=null) { + return $this->fb($Object, $Label, FirePHP::INFO); + } + + /** + * Log object with label to firebug console + * + * @see FirePHP::WARN + * @param mixes $Object + * @param string $Label + * @return true + * @throws Exception + */ + public function warn($Object, $Label=null) { + return $this->fb($Object, $Label, FirePHP::WARN); + } + + /** + * Log object with label to firebug console + * + * @see FirePHP::ERROR + * @param mixes $Object + * @param string $Label + * @return true + * @throws Exception + */ + public function error($Object, $Label=null) { + return $this->fb($Object, $Label, FirePHP::ERROR); + } + + /** + * Dumps key and variable to firebug server panel + * + * @see FirePHP::DUMP + * @param string $Key + * @param mixed $Variable + * @return true + * @throws Exception + */ + public function dump($Key, $Variable) { + return $this->fb($Variable, $Key, FirePHP::DUMP); + } + + /** + * Log a trace in the firebug console + * + * @see FirePHP::TRACE + * @param string $Label + * @return true + * @throws Exception + */ + public function trace($Label) { + return $this->fb($Label, FirePHP::TRACE); + } + + /** + * Log a table in the firebug console + * + * @see FirePHP::TABLE + * @param string $Label + * @param string $Table + * @return true + * @throws Exception + */ + public function table($Label, $Table) { + return $this->fb($Table, $Label, FirePHP::TABLE); + } + + /** + * Check if FirePHP is installed on client + * + * @return boolean + */ + public function detectClientExtension() { + /* Check if FirePHP is installed on client */ + if(!@preg_match_all('/\sFirePHP\/([\.|\d]*)\s?/si',$this->getUserAgent(),$m) || + !version_compare($m[1][0],'0.0.6','>=')) { + return false; + } + return true; + } + + /** + * Log varible to Firebug + * + * @see http://www.firephp.org/Wiki/Reference/Fb + * @param mixed $Object The variable to be logged + * @return true Return TRUE if message was added to headers, FALSE otherwise + * @throws Exception + */ + public function fb($Object) { + + if(!$this->enabled) { + return false; + } + + if (headers_sent($filename, $linenum)) { + // If we are logging from within the exception handler we cannot throw another exception + if($this->inExceptionHandler) { + // Simply echo the error out to the page + echo '
    FirePHP ERROR: Headers already sent in '.$filename.' on line '.$linenum.'. Cannot send log data to FirePHP. You must have Output Buffering enabled via ob_start() or output_buffering ini directive.
    '; + } else { + throw $this->newException('Headers already sent in '.$filename.' on line '.$linenum.'. Cannot send log data to FirePHP. You must have Output Buffering enabled via ob_start() or output_buffering ini directive.'); + } + } + + $Type = null; + $Label = null; + $Options = array(); + + if(func_num_args()==1) { + } else + if(func_num_args()==2) { + switch(func_get_arg(1)) { + case self::LOG: + case self::INFO: + case self::WARN: + case self::ERROR: + case self::DUMP: + case self::TRACE: + case self::EXCEPTION: + case self::TABLE: + case self::GROUP_START: + case self::GROUP_END: + $Type = func_get_arg(1); + break; + default: + $Label = func_get_arg(1); + break; + } + } else + if(func_num_args()==3) { + $Type = func_get_arg(2); + $Label = func_get_arg(1); + } else + if(func_num_args()==4) { + $Type = func_get_arg(2); + $Label = func_get_arg(1); + $Options = func_get_arg(3); + } else { + throw $this->newException('Wrong number of arguments to fb() function!'); + } + + + if(!$this->detectClientExtension()) { + return false; + } + + $meta = array(); + $skipFinalObjectEncode = false; + + if($Object instanceof Exception) { + + $meta['file'] = $this->_escapeTraceFile($Object->getFile()); + $meta['line'] = $Object->getLine(); + + $trace = $Object->getTrace(); + if($Object instanceof ErrorException + && isset($trace[0]['function']) + && $trace[0]['function']=='errorHandler' + && isset($trace[0]['class']) + && $trace[0]['class']=='FirePHP') { + + $severity = false; + switch($Object->getSeverity()) { + case E_WARNING: $severity = 'E_WARNING'; break; + case E_NOTICE: $severity = 'E_NOTICE'; break; + case E_USER_ERROR: $severity = 'E_USER_ERROR'; break; + case E_USER_WARNING: $severity = 'E_USER_WARNING'; break; + case E_USER_NOTICE: $severity = 'E_USER_NOTICE'; break; + case E_STRICT: $severity = 'E_STRICT'; break; + case E_RECOVERABLE_ERROR: $severity = 'E_RECOVERABLE_ERROR'; break; + case E_DEPRECATED: $severity = 'E_DEPRECATED'; break; + case E_USER_DEPRECATED: $severity = 'E_USER_DEPRECATED'; break; + } + + $Object = array('Class'=>get_class($Object), + 'Message'=>$severity.': '.$Object->getMessage(), + 'File'=>$this->_escapeTraceFile($Object->getFile()), + 'Line'=>$Object->getLine(), + 'Type'=>'trigger', + 'Trace'=>$this->_escapeTrace(array_splice($trace,2))); + $skipFinalObjectEncode = true; + } else { + $Object = array('Class'=>get_class($Object), + 'Message'=>$Object->getMessage(), + 'File'=>$this->_escapeTraceFile($Object->getFile()), + 'Line'=>$Object->getLine(), + 'Type'=>'throw', + 'Trace'=>$this->_escapeTrace($trace)); + $skipFinalObjectEncode = true; + } + $Type = self::EXCEPTION; + + } else + if($Type==self::TRACE) { + + $trace = debug_backtrace(); + if(!$trace) return false; + for( $i=0 ; $i_standardizePath($trace[$i]['file']),-18,18)=='FirePHPCore/fb.php' + || substr($this->_standardizePath($trace[$i]['file']),-29,29)=='FirePHPCore/FirePHP.class.php')) { + /* Skip - FB::trace(), FB::send(), $firephp->trace(), $firephp->fb() */ + } else + if(isset($trace[$i]['class']) + && isset($trace[$i+1]['file']) + && $trace[$i]['class']=='FirePHP' + && substr($this->_standardizePath($trace[$i+1]['file']),-18,18)=='FirePHPCore/fb.php') { + /* Skip fb() */ + } else + if($trace[$i]['function']=='fb' + || $trace[$i]['function']=='trace' + || $trace[$i]['function']=='send') { + $Object = array('Class'=>isset($trace[$i]['class'])?$trace[$i]['class']:'', + 'Type'=>isset($trace[$i]['type'])?$trace[$i]['type']:'', + 'Function'=>isset($trace[$i]['function'])?$trace[$i]['function']:'', + 'Message'=>$trace[$i]['args'][0], + 'File'=>isset($trace[$i]['file'])?$this->_escapeTraceFile($trace[$i]['file']):'', + 'Line'=>isset($trace[$i]['line'])?$trace[$i]['line']:'', + 'Args'=>isset($trace[$i]['args'])?$this->encodeObject($trace[$i]['args']):'', + 'Trace'=>$this->_escapeTrace(array_splice($trace,$i+1))); + + $skipFinalObjectEncode = true; + $meta['file'] = isset($trace[$i]['file'])?$this->_escapeTraceFile($trace[$i]['file']):''; + $meta['line'] = isset($trace[$i]['line'])?$trace[$i]['line']:''; + break; + } + } + + } else + if($Type==self::TABLE) { + + if(isset($Object[0]) && is_string($Object[0])) { + $Object[1] = $this->encodeTable($Object[1]); + } else { + $Object = $this->encodeTable($Object); + } + + $skipFinalObjectEncode = true; + + } else + if($Type==self::GROUP_START) { + + if(!$Label) { + throw $this->newException('You must specify a label for the group!'); + } + + } else { + if($Type===null) { + $Type = self::LOG; + } + } + + if($this->options['includeLineNumbers']) { + if(!isset($meta['file']) || !isset($meta['line'])) { + + $trace = debug_backtrace(); + for( $i=0 ; $trace && $i_standardizePath($trace[$i]['file']),-18,18)=='FirePHPCore/fb.php' + || substr($this->_standardizePath($trace[$i]['file']),-29,29)=='FirePHPCore/FirePHP.class.php')) { + /* Skip - FB::trace(), FB::send(), $firephp->trace(), $firephp->fb() */ + } else + if(isset($trace[$i]['class']) + && isset($trace[$i+1]['file']) + && $trace[$i]['class']=='FirePHP' + && substr($this->_standardizePath($trace[$i+1]['file']),-18,18)=='FirePHPCore/fb.php') { + /* Skip fb() */ + } else + if(isset($trace[$i]['file']) + && substr($this->_standardizePath($trace[$i]['file']),-18,18)=='FirePHPCore/fb.php') { + /* Skip FB::fb() */ + } else { + $meta['file'] = isset($trace[$i]['file'])?$this->_escapeTraceFile($trace[$i]['file']):''; + $meta['line'] = isset($trace[$i]['line'])?$trace[$i]['line']:''; + break; + } + } + + } + } else { + unset($meta['file']); + unset($meta['line']); + } + + $this->setHeader('X-Wf-Protocol-1','http://meta.wildfirehq.org/Protocol/JsonStream/0.2'); + $this->setHeader('X-Wf-1-Plugin-1','http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/'.self::VERSION); + + $structure_index = 1; + if($Type==self::DUMP) { + $structure_index = 2; + $this->setHeader('X-Wf-1-Structure-2','http://meta.firephp.org/Wildfire/Structure/FirePHP/Dump/0.1'); + } else { + $this->setHeader('X-Wf-1-Structure-1','http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1'); + } + + if($Type==self::DUMP) { + $msg = '{"'.$Label.'":'.$this->jsonEncode($Object, $skipFinalObjectEncode).'}'; + } else { + $msg_meta = $Options; + $msg_meta['Type'] = $Type; + if($Label!==null) { + $msg_meta['Label'] = $Label; + } + if(isset($meta['file']) && !isset($msg_meta['File'])) { + $msg_meta['File'] = $meta['file']; + } + if(isset($meta['line']) && !isset($msg_meta['Line'])) { + $msg_meta['Line'] = $meta['line']; + } + $msg = '['.$this->jsonEncode($msg_meta).','.$this->jsonEncode($Object, $skipFinalObjectEncode).']'; + } + + $parts = explode("\n",chunk_split($msg, 5000, "\n")); + + for( $i=0 ; $i2) { + // Message needs to be split into multiple parts + $this->setHeader('X-Wf-1-'.$structure_index.'-'.'1-'.$this->messageIndex, + (($i==0)?strlen($msg):'') + . '|' . $part . '|' + . (($isetHeader('X-Wf-1-'.$structure_index.'-'.'1-'.$this->messageIndex, + strlen($part) . '|' . $part . '|'); + } + + $this->messageIndex++; + + if ($this->messageIndex > 99999) { + throw $this->newException('Maximum number (99,999) of messages reached!'); + } + } + } + + $this->setHeader('X-Wf-1-Index',$this->messageIndex-1); + + return true; + } + + /** + * Standardizes path for windows systems. + * + * @param string $Path + * @return string + */ + protected function _standardizePath($Path) { + return preg_replace('/\\\\+/','/',$Path); + } + + /** + * Escape trace path for windows systems + * + * @param array $Trace + * @return array + */ + protected function _escapeTrace($Trace) { + if(!$Trace) return $Trace; + for( $i=0 ; $i_escapeTraceFile($Trace[$i]['file']); + } + if(isset($Trace[$i]['args'])) { + $Trace[$i]['args'] = $this->encodeObject($Trace[$i]['args']); + } + } + return $Trace; + } + + /** + * Escape file information of trace for windows systems + * + * @param string $File + * @return string + */ + protected function _escapeTraceFile($File) { + /* Check if we have a windows filepath */ + if(strpos($File,'\\')) { + /* First strip down to single \ */ + + $file = preg_replace('/\\\\+/','\\',$File); + + return $file; + } + return $File; + } + + /** + * Send header + * + * @param string $Name + * @param string_type $Value + */ + protected function setHeader($Name, $Value) { + return header($Name.': '.$Value); + } + + /** + * Get user agent + * + * @return string|false + */ + protected function getUserAgent() { + if(!isset($_SERVER['HTTP_USER_AGENT'])) return false; + return $_SERVER['HTTP_USER_AGENT']; + } + + /** + * Returns a new exception + * + * @param string $Message + * @return Exception + */ + protected function newException($Message) { + return new Exception($Message); + } + + /** + * Encode an object into a JSON string + * + * Uses PHP's jeson_encode() if available + * + * @param object $Object The object to be encoded + * @return string The JSON string + */ + public function jsonEncode($Object, $skipObjectEncode=false) + { + if(!$skipObjectEncode) { + $Object = $this->encodeObject($Object); + } + + if(function_exists('json_encode') + && $this->options['useNativeJsonEncode']!=false) { + + return json_encode($Object); + } else { + return $this->json_encode($Object); + } + } + + /** + * Encodes a table by encoding each row and column with encodeObject() + * + * @param array $Table The table to be encoded + * @return array + */ + protected function encodeTable($Table) { + + if(!$Table) return $Table; + + $new_table = array(); + foreach($Table as $row) { + + if(is_array($row)) { + $new_row = array(); + + foreach($row as $item) { + $new_row[] = $this->encodeObject($item); + } + + $new_table[] = $new_row; + } + } + + return $new_table; + } + + /** + * Encodes an object including members with + * protected and private visibility + * + * @param Object $Object The object to be encoded + * @param int $Depth The current traversal depth + * @return array All members of the object + */ + protected function encodeObject($Object, $ObjectDepth = 1, $ArrayDepth = 1) + { + $return = array(); + + if (is_resource($Object)) { + + return '** '.(string)$Object.' **'; + + } else + if (is_object($Object)) { + + if ($ObjectDepth > $this->options['maxObjectDepth']) { + return '** Max Object Depth ('.$this->options['maxObjectDepth'].') **'; + } + + foreach ($this->objectStack as $refVal) { + if ($refVal === $Object) { + return '** Recursion ('.get_class($Object).') **'; + } + } + array_push($this->objectStack, $Object); + + $return['__className'] = $class = get_class($Object); + $class_lower = strtolower($class); + + $reflectionClass = new ReflectionClass($class); + $properties = array(); + foreach( $reflectionClass->getProperties() as $property) { + $properties[$property->getName()] = $property; + } + + $members = (array)$Object; + + foreach( $properties as $raw_name => $property ) { + + $name = $raw_name; + if($property->isStatic()) { + $name = 'static:'.$name; + } + if($property->isPublic()) { + $name = 'public:'.$name; + } else + if($property->isPrivate()) { + $name = 'private:'.$name; + $raw_name = "\0".$class."\0".$raw_name; + } else + if($property->isProtected()) { + $name = 'protected:'.$name; + $raw_name = "\0".'*'."\0".$raw_name; + } + + if(!(isset($this->objectFilters[$class_lower]) + && is_array($this->objectFilters[$class_lower]) + && in_array($raw_name,$this->objectFilters[$class_lower]))) { + + if(array_key_exists($raw_name,$members) + && !$property->isStatic()) { + + $return[$name] = $this->encodeObject($members[$raw_name], $ObjectDepth + 1, 1); + + } else { + if(method_exists($property,'setAccessible')) { + $property->setAccessible(true); + $return[$name] = $this->encodeObject($property->getValue($Object), $ObjectDepth + 1, 1); + } else + if($property->isPublic()) { + $return[$name] = $this->encodeObject($property->getValue($Object), $ObjectDepth + 1, 1); + } else { + $return[$name] = '** Need PHP 5.3 to get value **'; + } + } + } else { + $return[$name] = '** Excluded by Filter **'; + } + } + + // Include all members that are not defined in the class + // but exist in the object + foreach( $members as $raw_name => $value ) { + + $name = $raw_name; + + if ($name{0} == "\0") { + $parts = explode("\0", $name); + $name = $parts[2]; + } + + if(!isset($properties[$name])) { + $name = 'undeclared:'.$name; + + if(!(isset($this->objectFilters[$class_lower]) + && is_array($this->objectFilters[$class_lower]) + && in_array($raw_name,$this->objectFilters[$class_lower]))) { + + $return[$name] = $this->encodeObject($value, $ObjectDepth + 1, 1); + } else { + $return[$name] = '** Excluded by Filter **'; + } + } + } + + array_pop($this->objectStack); + + } elseif (is_array($Object)) { + + if ($ArrayDepth > $this->options['maxArrayDepth']) { + return '** Max Array Depth ('.$this->options['maxArrayDepth'].') **'; + } + + foreach ($Object as $key => $val) { + + // Encoding the $GLOBALS PHP array causes an infinite loop + // if the recursion is not reset here as it contains + // a reference to itself. This is the only way I have come up + // with to stop infinite recursion in this case. + if($key=='GLOBALS' + && is_array($val) + && array_key_exists('GLOBALS',$val)) { + $val['GLOBALS'] = '** Recursion (GLOBALS) **'; + } + + $return[$key] = $this->encodeObject($val, 1, $ArrayDepth + 1); + } + } else { + if(self::is_utf8($Object)) { + return $Object; + } else { + return utf8_encode($Object); + } + } + return $return; + } + + /** + * Returns true if $string is valid UTF-8 and false otherwise. + * + * @param mixed $str String to be tested + * @return boolean + */ + protected static function is_utf8($str) { + $c=0; $b=0; + $bits=0; + $len=strlen($str); + for($i=0; $i<$len; $i++){ + $c=ord($str[$i]); + if($c > 128){ + if(($c >= 254)) return false; + elseif($c >= 252) $bits=6; + elseif($c >= 248) $bits=5; + elseif($c >= 240) $bits=4; + elseif($c >= 224) $bits=3; + elseif($c >= 192) $bits=2; + else return false; + if(($i+$bits) > $len) return false; + while($bits > 1){ + $i++; + $b=ord($str[$i]); + if($b < 128 || $b > 191) return false; + $bits--; + } + } + } + return true; + } + + /** + * Converts to and from JSON format. + * + * JSON (JavaScript Object Notation) is a lightweight data-interchange + * format. It is easy for humans to read and write. It is easy for machines + * to parse and generate. It is based on a subset of the JavaScript + * Programming Language, Standard ECMA-262 3rd Edition - December 1999. + * This feature can also be found in Python. JSON is a text format that is + * completely language independent but uses conventions that are familiar + * to programmers of the C-family of languages, including C, C++, C#, Java, + * JavaScript, Perl, TCL, and many others. These properties make JSON an + * ideal data-interchange language. + * + * This package provides a simple encoder and decoder for JSON notation. It + * is intended for use with client-side Javascript applications that make + * use of HTTPRequest to perform server communication functions - data can + * be encoded into JSON notation for use in a client-side javascript, or + * decoded from incoming Javascript requests. JSON format is native to + * Javascript, and can be directly eval()'ed with no further parsing + * overhead + * + * All strings should be in ASCII or UTF-8 format! + * + * LICENSE: Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: Redistributions of source code must retain the + * above copyright notice, this list of conditions and the following + * disclaimer. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following disclaimer + * in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN + * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + * DAMAGE. + * + * @category + * @package Services_JSON + * @author Michal Migurski + * @author Matt Knapp + * @author Brett Stimmerman + * @author Christoph Dorn + * @copyright 2005 Michal Migurski + * @version CVS: $Id: JSON.php,v 1.31 2006/06/28 05:54:17 migurski Exp $ + * @license http://www.opensource.org/licenses/bsd-license.php + * @link http://pear.php.net/pepr/pepr-proposal-show.php?id=198 + */ + + + /** + * Keep a list of objects as we descend into the array so we can detect recursion. + */ + private $json_objectStack = array(); + + + /** + * convert a string from one UTF-8 char to one UTF-16 char + * + * Normally should be handled by mb_convert_encoding, but + * provides a slower PHP-only method for installations + * that lack the multibye string extension. + * + * @param string $utf8 UTF-8 character + * @return string UTF-16 character + * @access private + */ + private function json_utf82utf16($utf8) + { + // oh please oh please oh please oh please oh please + if(function_exists('mb_convert_encoding')) { + return mb_convert_encoding($utf8, 'UTF-16', 'UTF-8'); + } + + switch(strlen($utf8)) { + case 1: + // this case should never be reached, because we are in ASCII range + // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + return $utf8; + + case 2: + // return a UTF-16 character from a 2-byte UTF-8 char + // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + return chr(0x07 & (ord($utf8{0}) >> 2)) + . chr((0xC0 & (ord($utf8{0}) << 6)) + | (0x3F & ord($utf8{1}))); + + case 3: + // return a UTF-16 character from a 3-byte UTF-8 char + // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + return chr((0xF0 & (ord($utf8{0}) << 4)) + | (0x0F & (ord($utf8{1}) >> 2))) + . chr((0xC0 & (ord($utf8{1}) << 6)) + | (0x7F & ord($utf8{2}))); + } + + // ignoring UTF-32 for now, sorry + return ''; + } + + /** + * encodes an arbitrary variable into JSON format + * + * @param mixed $var any number, boolean, string, array, or object to be encoded. + * see argument 1 to Services_JSON() above for array-parsing behavior. + * if var is a strng, note that encode() always expects it + * to be in ASCII or UTF-8 format! + * + * @return mixed JSON string representation of input var or an error if a problem occurs + * @access public + */ + private function json_encode($var) + { + + if(is_object($var)) { + if(in_array($var,$this->json_objectStack)) { + return '"** Recursion **"'; + } + } + + switch (gettype($var)) { + case 'boolean': + return $var ? 'true' : 'false'; + + case 'NULL': + return 'null'; + + case 'integer': + return (int) $var; + + case 'double': + case 'float': + return (float) $var; + + case 'string': + // STRINGS ARE EXPECTED TO BE IN ASCII OR UTF-8 FORMAT + $ascii = ''; + $strlen_var = strlen($var); + + /* + * Iterate over every character in the string, + * escaping with a slash or encoding to UTF-8 where necessary + */ + for ($c = 0; $c < $strlen_var; ++$c) { + + $ord_var_c = ord($var{$c}); + + switch (true) { + case $ord_var_c == 0x08: + $ascii .= '\b'; + break; + case $ord_var_c == 0x09: + $ascii .= '\t'; + break; + case $ord_var_c == 0x0A: + $ascii .= '\n'; + break; + case $ord_var_c == 0x0C: + $ascii .= '\f'; + break; + case $ord_var_c == 0x0D: + $ascii .= '\r'; + break; + + case $ord_var_c == 0x22: + case $ord_var_c == 0x2F: + case $ord_var_c == 0x5C: + // double quote, slash, slosh + $ascii .= '\\'.$var{$c}; + break; + + case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)): + // characters U-00000000 - U-0000007F (same as ASCII) + $ascii .= $var{$c}; + break; + + case (($ord_var_c & 0xE0) == 0xC0): + // characters U-00000080 - U-000007FF, mask 110XXXXX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $char = pack('C*', $ord_var_c, ord($var{$c + 1})); + $c += 1; + $utf16 = $this->json_utf82utf16($char); + $ascii .= sprintf('\u%04s', bin2hex($utf16)); + break; + + case (($ord_var_c & 0xF0) == 0xE0): + // characters U-00000800 - U-0000FFFF, mask 1110XXXX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $char = pack('C*', $ord_var_c, + ord($var{$c + 1}), + ord($var{$c + 2})); + $c += 2; + $utf16 = $this->json_utf82utf16($char); + $ascii .= sprintf('\u%04s', bin2hex($utf16)); + break; + + case (($ord_var_c & 0xF8) == 0xF0): + // characters U-00010000 - U-001FFFFF, mask 11110XXX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $char = pack('C*', $ord_var_c, + ord($var{$c + 1}), + ord($var{$c + 2}), + ord($var{$c + 3})); + $c += 3; + $utf16 = $this->json_utf82utf16($char); + $ascii .= sprintf('\u%04s', bin2hex($utf16)); + break; + + case (($ord_var_c & 0xFC) == 0xF8): + // characters U-00200000 - U-03FFFFFF, mask 111110XX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $char = pack('C*', $ord_var_c, + ord($var{$c + 1}), + ord($var{$c + 2}), + ord($var{$c + 3}), + ord($var{$c + 4})); + $c += 4; + $utf16 = $this->json_utf82utf16($char); + $ascii .= sprintf('\u%04s', bin2hex($utf16)); + break; + + case (($ord_var_c & 0xFE) == 0xFC): + // characters U-04000000 - U-7FFFFFFF, mask 1111110X + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $char = pack('C*', $ord_var_c, + ord($var{$c + 1}), + ord($var{$c + 2}), + ord($var{$c + 3}), + ord($var{$c + 4}), + ord($var{$c + 5})); + $c += 5; + $utf16 = $this->json_utf82utf16($char); + $ascii .= sprintf('\u%04s', bin2hex($utf16)); + break; + } + } + + return '"'.$ascii.'"'; + + case 'array': + /* + * As per JSON spec if any array key is not an integer + * we must treat the the whole array as an object. We + * also try to catch a sparsely populated associative + * array with numeric keys here because some JS engines + * will create an array with empty indexes up to + * max_index which can cause memory issues and because + * the keys, which may be relevant, will be remapped + * otherwise. + * + * As per the ECMA and JSON specification an object may + * have any string as a property. Unfortunately due to + * a hole in the ECMA specification if the key is a + * ECMA reserved word or starts with a digit the + * parameter is only accessible using ECMAScript's + * bracket notation. + */ + + // treat as a JSON object + if (is_array($var) && count($var) && (array_keys($var) !== range(0, sizeof($var) - 1))) { + + $this->json_objectStack[] = $var; + + $properties = array_map(array($this, 'json_name_value'), + array_keys($var), + array_values($var)); + + array_pop($this->json_objectStack); + + foreach($properties as $property) { + if($property instanceof Exception) { + return $property; + } + } + + return '{' . join(',', $properties) . '}'; + } + + $this->json_objectStack[] = $var; + + // treat it like a regular array + $elements = array_map(array($this, 'json_encode'), $var); + + array_pop($this->json_objectStack); + + foreach($elements as $element) { + if($element instanceof Exception) { + return $element; + } + } + + return '[' . join(',', $elements) . ']'; + + case 'object': + $vars = self::encodeObject($var); + + $this->json_objectStack[] = $var; + + $properties = array_map(array($this, 'json_name_value'), + array_keys($vars), + array_values($vars)); + + array_pop($this->json_objectStack); + + foreach($properties as $property) { + if($property instanceof Exception) { + return $property; + } + } + + return '{' . join(',', $properties) . '}'; + + default: + return null; + } + } + + /** + * array-walking function for use in generating JSON-formatted name-value pairs + * + * @param string $name name of key to use + * @param mixed $value reference to an array element to be encoded + * + * @return string JSON-formatted name-value pair, like '"name":value' + * @access private + */ + private function json_name_value($name, $value) + { + // Encoding the $GLOBALS PHP array causes an infinite loop + // if the recursion is not reset here as it contains + // a reference to itself. This is the only way I have come up + // with to stop infinite recursion in this case. + if($name=='GLOBALS' + && is_array($value) + && array_key_exists('GLOBALS',$value)) { + $value['GLOBALS'] = '** Recursion **'; + } + + $encoded_value = $this->json_encode($value); + + if($encoded_value instanceof Exception) { + return $encoded_value; + } + + return $this->json_encode(strval($name)) . ':' . $encoded_value; + } +} diff --git a/libs/FirePHPCore/LICENSE b/libs/FirePHPCore/LICENSE index 8f2c04912..3e390f9d9 100644 --- a/libs/FirePHPCore/LICENSE +++ b/libs/FirePHPCore/LICENSE @@ -1,58 +1,29 @@ -Software License Agreement (New BSD License) - -Copyright (c) 2006-2008, Christoph Dorn -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - * Neither the name of Christoph Dorn nor the names of its - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -Software License Agreement (New BSD License) - -Copyright (c) 2006-2008, Christoph Dorn -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - * Neither the name of Christoph Dorn nor the names of its - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +Software License Agreement (New BSD License) + +Copyright (c) 2006-2009, Christoph Dorn +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of Christoph Dorn nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/libs/FirePHPCore/README b/libs/FirePHPCore/README new file mode 100644 index 000000000..033719fae --- /dev/null +++ b/libs/FirePHPCore/README @@ -0,0 +1,32 @@ + +Version: 0.3.1 + +------------------------------------------------------ + Requirements +------------------------------------------------------ + +Client Side: + + - Firefox - http://www.getfirefox.com/ + - Firebug - http://www.getfirebug.com/ + - FirePHP - http://www.firephp.org/ + +Server Side: + + - PHP 5 (complete functionality) + - PHP 4 (most functionality) + + +------------------------------------------------------ + Install Tutorial +------------------------------------------------------ + + http://www.firephp.org/HQ/Install.htm + + +------------------------------------------------------ + Support +------------------------------------------------------ + + http://forum.firephp.org/ + diff --git a/libs/FirePHPCore/fb.php b/libs/FirePHPCore/fb.php new file mode 100644 index 000000000..9d1857cbc --- /dev/null +++ b/libs/FirePHPCore/fb.php @@ -0,0 +1,261 @@ + + * @license http://www.opensource.org/licenses/bsd-license.php + * @package FirePHP + */ + +require_once dirname(__FILE__).'/FirePHP.class.php'; + +/** + * Sends the given data to the FirePHP Firefox Extension. + * The data can be displayed in the Firebug Console or in the + * "Server" request tab. + * + * @see http://www.firephp.org/Wiki/Reference/Fb + * @param mixed $Object + * @return true + * @throws Exception + */ +function fb() +{ + $instance = FirePHP::getInstance(true); + + $args = func_get_args(); + return call_user_func_array(array($instance,'fb'),$args); +} + + +class FB +{ + /** + * Enable and disable logging to Firebug + * + * @see FirePHP->setEnabled() + * @param boolean $Enabled TRUE to enable, FALSE to disable + * @return void + */ + public static function setEnabled($Enabled) { + $instance = FirePHP::getInstance(true); + $instance->setEnabled($Enabled); + } + + /** + * Check if logging is enabled + * + * @see FirePHP->getEnabled() + * @return boolean TRUE if enabled + */ + public static function getEnabled() { + $instance = FirePHP::getInstance(true); + return $instance->getEnabled(); + } + + /** + * Specify a filter to be used when encoding an object + * + * Filters are used to exclude object members. + * + * @see FirePHP->setObjectFilter() + * @param string $Class The class name of the object + * @param array $Filter An array or members to exclude + * @return void + */ + public static function setObjectFilter($Class, $Filter) { + $instance = FirePHP::getInstance(true); + $instance->setObjectFilter($Class, $Filter); + } + + /** + * Set some options for the library + * + * @see FirePHP->setOptions() + * @param array $Options The options to be set + * @return void + */ + public static function setOptions($Options) { + $instance = FirePHP::getInstance(true); + $instance->setOptions($Options); + } + + /** + * Get options for the library + * + * @see FirePHP->getOptions() + * @return array The options + */ + public static function getOptions() { + $instance = FirePHP::getInstance(true); + return $instance->getOptions(); + } + + /** + * Log object to firebug + * + * @see http://www.firephp.org/Wiki/Reference/Fb + * @param mixed $Object + * @return true + * @throws Exception + */ + public static function send() + { + $instance = FirePHP::getInstance(true); + $args = func_get_args(); + return call_user_func_array(array($instance,'fb'),$args); + } + + /** + * Start a group for following messages + * + * Options: + * Collapsed: [true|false] + * Color: [#RRGGBB|ColorName] + * + * @param string $Name + * @param array $Options OPTIONAL Instructions on how to log the group + * @return true + */ + public static function group($Name, $Options=null) { + $instance = FirePHP::getInstance(true); + return $instance->group($Name, $Options); + } + + /** + * Ends a group you have started before + * + * @return true + * @throws Exception + */ + public static function groupEnd() { + return self::send(null, null, FirePHP::GROUP_END); + } + + /** + * Log object with label to firebug console + * + * @see FirePHP::LOG + * @param mixes $Object + * @param string $Label + * @return true + * @throws Exception + */ + public static function log($Object, $Label=null) { + return self::send($Object, $Label, FirePHP::LOG); + } + + /** + * Log object with label to firebug console + * + * @see FirePHP::INFO + * @param mixes $Object + * @param string $Label + * @return true + * @throws Exception + */ + public static function info($Object, $Label=null) { + return self::send($Object, $Label, FirePHP::INFO); + } + + /** + * Log object with label to firebug console + * + * @see FirePHP::WARN + * @param mixes $Object + * @param string $Label + * @return true + * @throws Exception + */ + public static function warn($Object, $Label=null) { + return self::send($Object, $Label, FirePHP::WARN); + } + + /** + * Log object with label to firebug console + * + * @see FirePHP::ERROR + * @param mixes $Object + * @param string $Label + * @return true + * @throws Exception + */ + public static function error($Object, $Label=null) { + return self::send($Object, $Label, FirePHP::ERROR); + } + + /** + * Dumps key and variable to firebug server panel + * + * @see FirePHP::DUMP + * @param string $Key + * @param mixed $Variable + * @return true + * @throws Exception + */ + public static function dump($Key, $Variable) { + return self::send($Variable, $Key, FirePHP::DUMP); + } + + /** + * Log a trace in the firebug console + * + * @see FirePHP::TRACE + * @param string $Label + * @return true + * @throws Exception + */ + public static function trace($Label) { + return self::send($Label, FirePHP::TRACE); + } + + /** + * Log a table in the firebug console + * + * @see FirePHP::TABLE + * @param string $Label + * @param string $Table + * @return true + * @throws Exception + */ + public static function table($Label, $Table) { + return self::send($Table, $Label, FirePHP::TABLE); + } + +} + diff --git a/modules/addon/conf/info.xml b/modules/addon/conf/info.xml index 86239356f..347fd826f 100644 --- a/modules/addon/conf/info.xml +++ b/modules/addon/conf/info.xml @@ -2,6 +2,7 @@ 애드온 Addon + Addon Addon 插件管理 アドオン @@ -10,6 +11,7 @@ 附加元件 애드온을 등록하거나 사용/미사용을 설정하는 애드온 관리 모듈입니다. This module is for maintaining addons which can toggle use and disuse states. + Module này dành cho việc bảo trì những Addon đang sử dụng và không sử dụng. Este Módulo es para agregar Addons, como también el manejo de ellos. 登录插件或设置启用/禁用插件的管理模块。 アドオンの「登録、使用・未使用」などを設定する管理モジュールです。 @@ -23,6 +25,7 @@ zero zero + zero zero zero zero diff --git a/modules/addon/lang/ko.lang.php b/modules/addon/lang/ko.lang.php index 587b1fdb9..c0359aae0 100644 --- a/modules/addon/lang/ko.lang.php +++ b/modules/addon/lang/ko.lang.php @@ -7,11 +7,11 @@ $lang->addon = '애드온'; - $lang->addon_info = '애드온정보'; + $lang->addon_info = '애드온 정보'; $lang->addon_maker = '애드온 제작자'; $lang->addon_license = '라이선스'; $lang->addon_history = '변경 이력'; - $lang->about_addon_mid = '애드온이 사용될 대상을 지정할 수 있습니다.
    (모두 해제시 모든 대상에서 사용 가능합니다)'; - $lang->about_addon = '애드온은 html결과물을 출력하기 보다 동작을 제어하는 역할을 합니다.
    원하시는 애드온을 on/ off하시는 것만으로 사이트 운영에 유용한 기능을 연동할 수 있습니다.'; + $lang->about_addon_mid = '애드온이 사용될 대상을 지정할 수 있습니다.
    (모두 해제 시 모든 대상에서 사용 가능합니다.)'; + $lang->about_addon = '애드온은 HTML결과물을 출력하기보다는 동작을 제어하는 역할을 합니다.
    원하시는 애드온을 ON/OFF 하시는 것만으로도 사이트 운영에 유용한 기능을 연동할 수 있습니다.'; ?> diff --git a/modules/addon/lang/vi.lang.php b/modules/addon/lang/vi.lang.php new file mode 100644 index 000000000..7fa716d55 --- /dev/null +++ b/modules/addon/lang/vi.lang.php @@ -0,0 +1,19 @@ +addon = "Addon"; + + $lang->addon_info = 'Thông tin về Addon'; + $lang->addon_maker = 'Tác giả của Addon'; + $lang->addon_license = 'Giấy phép'; + $lang->addon_history = 'Lịch sử'; + + $lang->about_addon_mid = "Addon có thể chọn những vị trí.
    (Tất cả những vị trí mà chưa Addon nào sử dụng.)"; + $lang->about_addon = 'Addon có nhiệm vụ hiển thị và kiểm soát kết quả HTML.
    Bạn có thể mở hoặc tắt bất cứ Addon nào bạn muốn.'; +?> diff --git a/modules/admin/admin.admin.view.php b/modules/admin/admin.admin.view.php index 501851b9e..27e49f1c4 100644 --- a/modules/admin/admin.admin.view.php +++ b/modules/admin/admin.admin.view.php @@ -95,7 +95,7 @@ // 네트웍 상태로 데이터를 가져오지 못할 상황을 고려해 일단 filemtime을 변경하여 관리자 페이지 refresh시에 다시 읽ㅇ 오지 않도록 함 // 뉴스를 보지는 못하지만 관리자 페이지 접속은 이상없도록 함 FileHandler::writeFile($cache_file,''); - FileHandler::getRemoteFile($newest_news_url, $cache_file); + FileHandler::getRemoteFile($newest_news_url, $cache_file, null, 1, 'GET', 'text/html', array('REQUESTURL'=>getFullUrl(''))); } if(file_exists($cache_file)) { @@ -268,17 +268,6 @@ Context::set('ftp_info', Context::getFTPInfo()); - $oModuleModel = &getModel('module'); - $site_args->site_srl = 0; - $list = $oModuleModel->getMidList($site_args); - $mid_list = array(); - if(count($list)) { - foreach($list as $key => $val) { - $mid_list[$val->module][$key] = $val; - } - } - Context::set('mid_list', $mid_list); - $site_args->site_srl = 0; $output = executeQuery('module.getSiteInfo', $site_args); Context::set('start_module', $output->data); diff --git a/modules/admin/conf/info.xml b/modules/admin/conf/info.xml index 1677018a4..963fd7f46 100644 --- a/modules/admin/conf/info.xml +++ b/modules/admin/conf/info.xml @@ -2,6 +2,7 @@ 관리자 모듈 Administrator Module + Administrator Module Módulo del administrador 管理员模块 管理者用モジュール @@ -9,6 +10,7 @@ 管理員模組 각 모듈들의 기능을 나열하고 관리자용 레이아웃을 적용하여 관리 기능을 사용할 수 있도록 하는 모듈입니다. This module shows a list of features of each module, and enables you to use a quite few of managers by applying layout for administrator. + Module này hiển thị những đặc tính của những Module, và cho phép bạn sử dụng một chút quyền của Administrator bở việc áp dụng giao diện cho Administrator. Este módulo muestra una lista de características de cada módulo, en donde puede activar la función de la administracion aplicando el diseño del administrador. 列出各模块的功能并使用管理员布局,可以让其使用管理功能的模块。 各モジュールを機能別に並べ、かつ管理者用のレイアウトを適用させて、管理機能が使用出来るようにします。 @@ -21,6 +23,7 @@ zero zero + zero zero zero zero diff --git a/modules/admin/lang/en.lang.php b/modules/admin/lang/en.lang.php index b3fd57bef..4546592ea 100644 --- a/modules/admin/lang/en.lang.php +++ b/modules/admin/lang/en.lang.php @@ -76,6 +76,6 @@ $lang->about_use_ssl = "If you choose 'optional', SSL will be used for actions such as sign up / changing information. And for 'always', your site will be served only via https."; $lang->server_ports = "Server port"; $lang->about_server_ports = "If your web-server uses other than 80 for HTTP, 443 for HTTPS, you should specify server ports"; - $lang->use_db_session = '인증 세션 DB 사용'; - $lang->about_db_session = '인증시 사용되는 PHP 세션을 DB로 사용하는 기능입니다.
    웹서버의 사용율이 낮은 사이트에서는 비활성화시 사이트 응답 속도가 향상될 수 있습니다
    단 현재 접속자를 구할 수 없어 관련된 기능을 사용할 수 없게 됩니다.'; + $lang->use_db_session = 'Use Session DB'; + $lang->about_db_session = 'It will use php session with DB when authenticating.
    Websites with infrequent usage of web server may expect faster response when this function is disabled.
    However session DB will make it unable to get current users, so you cannot use related functions.'; ?> diff --git a/modules/admin/lang/ko.lang.php b/modules/admin/lang/ko.lang.php index bd8efb827..7874c3c65 100644 --- a/modules/admin/lang/ko.lang.php +++ b/modules/admin/lang/ko.lang.php @@ -9,7 +9,7 @@ $lang->admin_index = '관리자 초기 페이지'; $lang->control_panel = '제어판'; $lang->start_module = '시작 모듈'; - $lang->about_start_module = '사이트 접속시 기본으로 호출될 모듈을 지정할 수 있습니다.'; + $lang->about_start_module = '사이트 접속 시 기본으로 호출될 모듈을 지정할 수 있습니다.'; $lang->module_category_title = array( 'service' => '서비스 관리', @@ -28,7 +28,7 @@ $lang->env_setup = '환경 설정'; $lang->default_url = '기본 URL'; - $lang->about_default_url = 'XE 가상 사이트(cafeXE등)의 기능을 사용할때 기본 URL을 입력해 주셔야 가상 사이트간 인증 연동이 되고 게시글/모듈등의 연결이 정상적으로 이루어집니다. (ex: http://도메인/설치경로)'; + $lang->about_default_url = 'XE 가상 사이트(cafeXE 등)의 기능을 사용할 때 기본 URL을 입력하셔야 가상 사이트간 인증 연동이 되고 게시글, 모듈 등의 연결이 정상적으로 이루어집니다. (예: http://도메인/설치경로)'; $lang->env_information = '환경 정보'; @@ -46,37 +46,36 @@ $lang->addon_name = '애드온 이름'; $lang->version = '버전'; $lang->author = '제작자'; - $lang->table_count = '테이블수'; - $lang->installed_path = '설치경로'; + $lang->table_count = '테이블 수'; + $lang->installed_path = '설치 경로'; $lang->cmd_shortcut_management = '메뉴 편집하기'; - $lang->msg_is_not_administrator = '관리자만 접속이 가능합니다'; - $lang->msg_manage_module_cannot_delete = '모듈, 애드온, 레이아웃, 위젯 모듈의 바로가기는 삭제 불가능합니다'; - $lang->msg_default_act_is_null = '기본 관리자 Action이 지정되어 있지 않아 바로가기 등록을 할 수가 없습니다'; + $lang->msg_is_not_administrator = '관리자만 접속이 가능합니다.'; + $lang->msg_manage_module_cannot_delete = '모듈, 애드온, 레이아웃, 위젯 모듈의 바로가기는 삭제 불가능합니다.'; + $lang->msg_default_act_is_null = '기본 관리자 Action이 지정되어 있지 않아 바로가기 등록을 할 수 없습니다.'; $lang->welcome_to_xe = 'XE 관리자'; - $lang->about_admin_page = "관리자 페이지는 아직 미완성입니다.\n클로즈 베타동안 좋은 의견 받아서 꼭 필요한 컨텐츠를 채우도록 하겠습니다."; - $lang->about_lang_env = '위 설정한 언어셋을 처음 방문하는 사용자들에게 동일하게 적용하기 위해서는 원하는 언어로 변경후 아래 [저장] 버튼을 클릭하시면 됩니다'; + $lang->about_lang_env = '처음 방문하는 사용자들의 언어 설정을 동일하게 하려면, 원하는 언어로 변경 후 아래 [저장] 버튼을 클릭하시면 됩니다.'; - $lang->xe_license = 'XE는 GPL을 따릅니다'; - $lang->about_shortcut = '자주 사용하는 모듈에 등록된 모듈의 바로가기를 삭제할 수 있습니다'; + $lang->xe_license = 'XE는 GPL을 따릅니다.'; + $lang->about_shortcut = '자주 사용하는 모듈에 등록된 모듈의 바로가기를 삭제할 수 있습니다.'; $lang->yesterday = '어제'; $lang->today = '오늘'; $lang->cmd_lang_select = '언어선택'; - $lang->about_cmd_lang_select = '선택된 언어들만 서비스 됩니다'; - $lang->about_recompile_cache = '쓸모 없어졌거나 잘못된 캐시파일들을 정리할 수 있습니다'; + $lang->about_cmd_lang_select = '선택된 언어들만 서비스 됩니다.'; + $lang->about_recompile_cache = '쓸모 없어졌거나 잘못된 캐시파일들을 정리할 수 있습니다.'; $lang->use_ssl = 'SSL 사용'; $lang->ssl_options = array( - 'none' => '사용안함', + 'none' => '사용 안함', 'optional' => '선택적으로', - 'always' => '항상사용' + 'always' => '항상 사용' ); - $lang->about_use_ssl = '선택적으로에서는 회원가입/정보수정등의 지정된 action에서 SSL을 사용하고 항상 사용은 모든 서비스가 SSL을 이용하게 됩니다.'; + $lang->about_use_ssl = '\'선택적으로\'는 회원가입, 정보수정 등의 지정된 action에서 SSL을 사용하고 \'항상 사용\'은 모든 서비스에 SSL을 사용 합니다.'; $lang->server_ports = '서버포트지정'; - $lang->about_server_ports = 'HTTP는 80, HTTPS는 443이외의 다른 포트를 사용하는 경우에 포트를 지정해주어야합니다.'; + $lang->about_server_ports = 'HTTP는 80, HTTPS는 443 이 아닌, 다른 포트를 사용할 경우에 포트를 지정해 주어야 합니다.'; $lang->use_db_session = '인증 세션 DB 사용'; - $lang->about_db_session = '인증시 사용되는 PHP 세션을 DB로 사용하는 기능입니다.
    웹서버의 사용율이 낮은 사이트에서는 비활성화시 사이트 응답 속도가 향상될 수 있습니다
    단 현재 접속자를 구할 수 없어 관련된 기능을 사용할 수 없게 됩니다.'; + $lang->about_db_session = '인증 시 사용되는 PHP 세션을 DB로 사용하는 기능입니다.
    웹서버의 사용률이 낮은 사이트에서는 비활성화시 사이트 응답 속도가 향상될 수 있습니다.
    단 현재 접속자를 구할 수 없어 관련된 기능을 사용할 수 없게 됩니다.'; ?> diff --git a/modules/admin/lang/vi.lang.php b/modules/admin/lang/vi.lang.php new file mode 100644 index 000000000..6df31474c --- /dev/null +++ b/modules/admin/lang/vi.lang.php @@ -0,0 +1,83 @@ +admin_info = 'Thông tin Administrator'; + $lang->admin_index = 'Trang chủ Admin'; + $lang->control_panel = 'Bảng điều khiển'; + $lang->start_module = 'Module trang chủ'; + $lang->about_start_module = 'Bạn có thể chọn một Module và đặt là trang chủ của Website.'; + + $lang->module_category_title = array( + 'service' => 'Thiết lập dịch vụ', + 'member' => 'Thiết lập thành viên', + 'content' => 'Thiết lập nội dung', + 'statistics' => 'Thống kê', + 'construction' => 'Xây dựng giao diện', + 'utility' => 'Thiết lập tiện ích', + 'interlock' => 'Tiện ích nâng cao', + 'accessory' => 'Dịch vụ phụ', + 'migration' => 'Chuyển đổi dữ liệu', + 'system' => 'Thiết lập hệ thống', + ); + + $lang->newest_news = "Tin mới nhất"; + + $lang->env_setup = "Thiết lập "; + $lang->default_url = "URL mặc định"; + $lang->about_default_url = "Nếu bạn sử dụng tính năng trang Web ảo (Ví dụ: PlanetXE, cafeXE), hãy chọn URL mặc định (địa chỉ trang chủ), khi khi kích hoạt SSO với thư mục hay Module làm việc."; + + $lang->env_information = "Thông tin"; + $lang->current_version = "Phiên bản"; + $lang->current_path = "Thư mục cài đặt"; + $lang->released_version = "Phiên bản mới nhất"; + $lang->about_download_link = "Đã có phiên bản mới nhất của Zerboard XE.\n hãy bấm vào Link để Download."; + + $lang->item_module = "Danh sách Module"; + $lang->item_addon = "Danh sách Addon"; + $lang->item_widget = "Danh sách Widget"; + $lang->item_layout = "Danh sách Layout"; + + $lang->module_name = "Tên Module"; + $lang->addon_name = "Tên Addon"; + $lang->version = "Phiên bản"; + $lang->author = "Thiết kế"; + $lang->table_count = "Table"; + $lang->installed_path = "Thư mục đã cài đặt"; + + $lang->cmd_shortcut_management = "Sửa Menu"; + + $lang->msg_is_not_administrator = 'Dành riêng Administrator'; + $lang->msg_manage_module_cannot_delete = 'Không thể xóa những phím tắt của Module, Addon, Layout, Widget.'; + $lang->msg_default_act_is_null = 'Phím tắt đã không được tạo, bởi vì bạn không được đặt quyền là quản lý toàn diện.'; + + $lang->welcome_to_xe = 'Chào mừng bạn đến với trang quản lý của XE!'; + $lang->about_admin_page = "Trang Admin này vẫn đang được phát triển,\nChúng tôi sẽ thêm vào những nội dung chủ yếu từ những ý kiến của người sử dụng."; + $lang->about_lang_env = "Để hiển thị ngôn ngữ đã chọn là mặc định. Hãy bấm [Lưu] phía dưới để lưu lại."; + + $lang->xe_license = 'XE sử dụng giấy phép GPL'; + $lang->about_shortcut = 'Bạn có thể loại bỏ phím tắt của Module được sử dụng thường xuyên trên danh sách.'; + + $lang->yesterday = "Hôm qua"; + $lang->today = "Hôm nay"; + + $lang->cmd_lang_select = "Ngôn ngữ"; + $lang->about_cmd_lang_select = "Chỉ chọn được những ngôn ngữ có sẵn."; + $lang->about_recompile_cache = "Bạn có thể sắp xếp lại File Cache cho những việc đã làm hoặc bị lỗi."; + $lang->use_ssl = "Sử dụng SSL"; + $lang->ssl_options = array( + 'none' => "Không sử dụng", + 'optional' => "Tùy chỉnh", + 'always' => "Luôn luôn" + ); + $lang->about_use_ssl = "Nếu bạn chọn 'Tùy chỉnh', SSL sẽ sử dụng và những công việc như đăng kí, sửa thông tin thành viên, .
    Chỉ chọn 'Luôn luôn' khi Website của bạn đang chạy trên Server có hỗ trợ https."; + $lang->server_ports = "Cổng kết nối"; + $lang->about_server_ports = "Nếu Host của bạn sử dụng cổng khác cổng mặc định 80 cho HTTP, 443 cho HTTPS, bạn nên xác định và nhập chính xác cổng kết nối."; + $lang->use_db_session = 'Xác nhận Database'; + $lang->about_db_session = 'PHP sẽ xác nhận với Database. Có thể cải thiện được tốc độ của Website.'; +?> diff --git a/modules/admin/tpl/config.html b/modules/admin/tpl/config.html index 7e59d3cbe..6665f90d3 100644 --- a/modules/admin/tpl/config.html +++ b/modules/admin/tpl/config.html @@ -6,6 +6,15 @@ + +

    @@ -33,19 +42,13 @@ -

    {$lang->start_module}
    +
    {$lang->start_module}
    - -

    {$lang->about_start_module}

    + + {$lang->cmd_select} +
    {$lang->use_optimizer}
    diff --git a/modules/admin/tpl/js/admin.js b/modules/admin/tpl/js/admin.js index c2b3aa8b1..7985a3b88 100644 --- a/modules/admin/tpl/js/admin.js +++ b/modules/admin/tpl/js/admin.js @@ -49,3 +49,4 @@ jQuery(function(){ function doAdminLogout() { exec_xml('admin','procAdminLogout',new Array(), function() { location.reload(); }); } + diff --git a/modules/comment/comment.item.php b/modules/comment/comment.item.php index 9cc124986..fefe8f569 100644 --- a/modules/comment/comment.item.php +++ b/modules/comment/comment.item.php @@ -116,7 +116,7 @@ // 변수 정리 if($type) $title = "[".$type."] "; $title .= cut_str(strip_tags($content), 30, '...'); - $content = sprintf('%s

    from : %s',$content, $oDocument->getPermanentUrl(), $this->get('comment_srl'), $oDocument->getPermanentUrl()); + $content = sprintf('%s

    from : %s',$content, getFullUrl('','document_srl',$this->get('document_srl')), $this->get('comment_srl'), getFullUrl('','document_srl',$this->get('document_srl'))); $receiver_srl = $this->get('member_srl'); $sender_member_srl = $logged_info->member_srl; @@ -256,7 +256,7 @@ function getPermanentUrl() { $url = getUrl('','document_srl',$this->get('document_srl')).'#comment_'.$this->get('comment_srl'); - if(substr($url,0,1)=='/') $url = substr(Context::getRequestUri(),0,-1).$url; + if(substr($url,0,1)=='/') return substr(Context::getRequestUri(),0,-1).$url; return $url; } diff --git a/modules/comment/comment.model.php b/modules/comment/comment.model.php index 565390de8..e61ea1ddc 100644 --- a/modules/comment/comment.model.php +++ b/modules/comment/comment.model.php @@ -344,6 +344,7 @@ $args->list_count = $obj->list_count?$obj->list_count:20; $args->page_count = $obj->page_count?$obj->page_count:10; $args->s_module_srl = $obj->module_srl; + $args->exclude_module_srl = $obj->exclude_module_srl; // 검색 옵션 정리 $search_target = $obj->search_target?$obj->search_target:trim(Context::get('search_target')); diff --git a/modules/comment/conf/info.xml b/modules/comment/conf/info.xml index 0b33a969b..04da5f8b1 100644 --- a/modules/comment/conf/info.xml +++ b/modules/comment/conf/info.xml @@ -4,6 +4,7 @@ コメント 评论管理 Comment + Bình luận Commentarios Комментарии 評論 @@ -11,6 +12,7 @@ 掲示板やブログなどのコメントを管理するモジュールです。 管理版面或博客评论的模块。 Module for managing board/blog's comments + Module quản lý bình luận của bài viết và sổ lưu niệm Es el módulo para manejar commentarios en blog o boletínes. Модуль для управления комментариями форума/блога. 管理討論板或部落格評論的模組。 @@ -21,6 +23,7 @@ zero zero + zero zero zero zero diff --git a/modules/comment/lang/ko.lang.php b/modules/comment/lang/ko.lang.php index 5adccd71b..2ffb11b04 100644 --- a/modules/comment/lang/ko.lang.php +++ b/modules/comment/lang/ko.lang.php @@ -5,25 +5,25 @@ * @brief 댓글(comment) 모듈의 기본 언어팩 **/ - $lang->cmd_comment_do = '이 댓글을..'; + $lang->cmd_comment_do = '이 댓글을...'; $lang->comment_list = '댓글 목록'; - $lang->cmd_toggle_checked_comment = '선택항목 반전'; + $lang->cmd_toggle_checked_comment = '선택항목 반전'; $lang->cmd_delete_checked_comment = '선택항목 삭제'; $lang->comment_count = '댓글 수'; $lang->about_comment_count = '댓글을 정해진 수 만큼만 표시하고 그 이상일 경우 목록으로 이동할 수 있게 합니다.'; - $lang->msg_cart_is_null = '삭제할 글을 선택해주세요'; - $lang->msg_checked_comment_is_deleted = '%d개의 댓글이 삭제되었습니다'; + $lang->msg_cart_is_null = '삭제할 글을 선택해주세요.'; + $lang->msg_checked_comment_is_deleted = '%d개의 댓글이 삭제되었습니다.'; $lang->search_target_list = array( 'content' => '내용', 'user_id' => '아이디', 'user_name' => '이름', 'nick_name' => '닉네임', - 'member_srl' => '회원번호', - 'email_address' => '이메일주소', + 'member_srl' => '회원 번호', + 'email_address' => '이메일 주소', 'homepage' => '홈페이지', 'regdate' => '등록일', 'last_update' => '최근수정일 ', diff --git a/modules/comment/lang/vi.lang.php b/modules/comment/lang/vi.lang.php new file mode 100644 index 000000000..4e14623c0 --- /dev/null +++ b/modules/comment/lang/vi.lang.php @@ -0,0 +1,33 @@ +cmd_comment_do = 'Bình chọn / Phê bình'; + + $lang->comment_list = 'Danh sách bình luận'; + $lang->cmd_delete_checked_comment = 'Xóa những bình luận đã chọn'; + + $lang->comment_count = 'Số bình luận'; + $lang->about_comment_count = 'Hiển thị số bình luận được gửi, và nó sẽ tạo một danh sách nếu có nhiều bình luận.'; + + $lang->msg_cart_is_null = 'Xin hãy chọn một bài viết để xóa.'; + $lang->msg_checked_comment_is_deleted = '%d bình luận đã được xóa.'; + + $lang->search_target_list = array( + 'content' => 'Nội dung', + 'user_id' => 'ID người gửi', + 'user_name' => 'Tên', + 'nick_name' => 'Nickname', + 'member_srl' => 'Mã số người gửi', + 'email_address' => 'Email', + 'homepage' => 'Trang chủ', + 'regdate' => 'Ngày', + 'last_update' => 'Cập nhật lần cuối', + 'ipaddress' => 'IP', + ); +?> diff --git a/modules/comment/queries/getTotalCommentList.xml b/modules/comment/queries/getTotalCommentList.xml index a660c769e..8e2bbd081 100644 --- a/modules/comment/queries/getTotalCommentList.xml +++ b/modules/comment/queries/getTotalCommentList.xml @@ -7,6 +7,7 @@ + diff --git a/modules/comment/queries/getTotalCommentListWithinMember.xml b/modules/comment/queries/getTotalCommentListWithinMember.xml index 517833f6f..3ba8771a5 100644 --- a/modules/comment/queries/getTotalCommentListWithinMember.xml +++ b/modules/comment/queries/getTotalCommentListWithinMember.xml @@ -4,7 +4,7 @@ - + diff --git a/modules/comment/queries/updateComment.xml b/modules/comment/queries/updateComment.xml index e2773d697..373fd25f7 100644 --- a/modules/comment/queries/updateComment.xml +++ b/modules/comment/queries/updateComment.xml @@ -17,7 +17,6 @@ - diff --git a/modules/communication/conf/info.xml b/modules/communication/conf/info.xml index 96fc81202..d7fbe3fd3 100644 --- a/modules/communication/conf/info.xml +++ b/modules/communication/conf/info.xml @@ -4,11 +4,13 @@ コミュニケーション 会员交流 Communication + Liên lạc 交流 회원들간의 쪽지, 친구기능을 담당하는 모듈입니다. 会員間にメッセージや友達管理などコミュニティ機能を提供します。 管理在线会员间短信息及好友功能的模块。 This module is for managing message, friend functions. + Module quản lý tin nhắn và bạn bè. 管理線上會員間短訊及好友功能的模組。 0.1 2008-05-30 @@ -16,6 +18,7 @@ zero + zero zero zero zero diff --git a/modules/communication/lang/ko.lang.php b/modules/communication/lang/ko.lang.php index 4a42bbabb..75cff477d 100644 --- a/modules/communication/lang/ko.lang.php +++ b/modules/communication/lang/ko.lang.php @@ -1,12 +1,12 @@ communication = '커뮤니케이션'; - $lang->about_communication = '회원간의 쪽지나 친구 관리등 커뮤니케이션 기능을 수행하는 모듈입니다'; + $lang->about_communication = '회원 간의 쪽지나 친구 관리 등 커뮤니케이션 기능을 수행하는 모듈입니다.'; $lang->allow_message = '쪽지 수신 허용'; $lang->allow_message_type = array( @@ -21,7 +21,7 @@ 'T' => '보관함', ); - $lang->readed_date = '읽은 시간'; + $lang->readed_date = '읽은 시간'; $lang->sender = '보낸이'; $lang->receiver = '받는이'; @@ -37,12 +37,12 @@ $lang->cmd_add_friend_group = '친구 그룹 추가'; $lang->cmd_rename_friend_group = '친구 그룹 이름 변경'; - $lang->msg_no_message = '쪽지가 없습니다'; - $lang->message_received = '쪽지가 왔습니다'; + $lang->msg_no_message = '쪽지가 없습니다.'; + $lang->message_received = '쪽지가 왔습니다.'; - $lang->msg_title_is_null = '쪽지 제목을 입력해주세요'; - $lang->msg_content_is_null = '내용을 입력해주세요'; - $lang->msg_allow_message_to_friend = '친구에게만 쪽지 수신을 허용한 사용자라서 쪽지 발송을 하지 못했습니다'; - $lang->msg_disallow_message = '쪽지 수신을 거부한 사용자라서 쪽지 발송을 하지 못했습니다'; - $lang->about_allow_message = '쪽지 수신 여부를 결정할 수 있습니다'; + $lang->msg_title_is_null = '쪽지 제목을 입력해주세요.'; + $lang->msg_content_is_null = '내용을 입력해주세요.'; + $lang->msg_allow_message_to_friend = '친구에게만 쪽지 발송을 허용한 사용자라서 쪽지 발송을 하지 못했습니다.'; + $lang->msg_disallow_message = '쪽지 수신을 거부한 사용자라서 쪽지 발송을 하지 못했습니다.'; + $lang->about_allow_message = '쪽지 수신 여부를 결정할 수 있습니다.'; ?> diff --git a/modules/communication/lang/vi.lang.php b/modules/communication/lang/vi.lang.php new file mode 100644 index 000000000..bdba67710 --- /dev/null +++ b/modules/communication/lang/vi.lang.php @@ -0,0 +1,50 @@ +communication = 'Thông báo'; + $lang->about_communication = 'Module này thực hiện chức năng giao tiếp, tin nhắn hay bạn bè.'; + + $lang->allow_message = 'Nhận tin nhắn'; + $lang->allow_message_type = array( + 'Y' => 'Nhận tất cả', + 'N' => 'Từ chối tất cả', + 'F' => 'Chỉ bạn bè', + ); + + $lang->message_box = array( + 'R' => 'Đã nhận', + 'S' => 'Gửi', + 'T' => 'Hòm thư', + ); + $lang->readed_date = "Ngày đọc"; + + $lang->sender = 'Người gửi'; + $lang->receiver = 'Người nhận'; + $lang->friend_group = 'Nhóm bạn'; + $lang->default_friend_group = 'Nhóm mặc định'; + + $lang->cmd_send_message = 'Gửi tin nhắn'; + $lang->cmd_reply_message = 'Trả lời tin nhắn'; + $lang->cmd_view_friend = 'Bạn bè'; + $lang->cmd_add_friend = 'Thêm bạn'; + $lang->cmd_view_message_box = 'Hộp tin nhắn'; + $lang->cmd_store = "Lưu"; + $lang->cmd_add_friend_group = 'Thêm nhóm bạn'; + $lang->cmd_rename_friend_group = 'Sử tên nhóm'; + + $lang->msg_no_message = 'Không có tin nhắn nào.'; + $lang->message_received = 'Bạn có tin nhắn mới.'; + + $lang->msg_title_is_null = 'Xin vui lòng nhập tiêu đề của tin nhắn.'; + $lang->msg_content_is_null = 'Xin vui lòng nhập nội dung.'; + $lang->msg_allow_message_to_friend = "Không thể gửi vì người nhận chỉ chấp nhận những tin nhắn từ bạn bè của họ."; + $lang->msg_disallow_message = 'Không thể gửi vì người nhận đã từ chối nhận tin nhắn.'; + + $lang->about_allow_message = 'Bạn có thể đồng ý nhận tin nhắn.'; +?> diff --git a/modules/communication/skins/default/messages.html b/modules/communication/skins/default/messages.html index b2dc72e50..714202d16 100644 --- a/modules/communication/skins/default/messages.html +++ b/modules/communication/skins/default/messages.html @@ -44,7 +44,7 @@
    - {$lang->cmd_reply} + {$lang->cmd_reply_message} {$lang->cmd_store} diff --git a/modules/communication/skins/default/skin.xml b/modules/communication/skins/default/skin.xml index f2b125402..a50ab7b6c 100644 --- a/modules/communication/skins/default/skin.xml +++ b/modules/communication/skins/default/skin.xml @@ -4,6 +4,7 @@ 默认皮肤 基本スキン Default Skin + Skin Mặc định Por defecto piel 기본 스킨 預設面板 @@ -23,6 +24,10 @@ Design : Ki-Jeong Seo (http://blog.naver.com/addcozy) HTML/CSS : Chan-Myung Jeong (http://naradesign.net) + + Thiết kế: Ki-Jeong Seo (http://blog.naver.com/addcozy) + HTML/CSS : Chan-Myung Jeong (http://naradesign.net) + Diseño: Ki-Jeong Seo (http://blog.naver.com/addcozy) HTML / CSS: Jeong Chan-Myung (http://naradesign.net) @@ -43,6 +48,7 @@ (株)NHN (株)NHN NHN Corp + NHN Corp NHN Corp NHN Корп NHN Corp @@ -54,6 +60,7 @@ 默认 デフォルト default + Mặc định Por defecto умолчанию 預設 @@ -63,6 +70,7 @@ 青緑 青绿色 cyan + Cyan Cian бирюзовый 青綠色 @@ -72,6 +80,7 @@ 绿色 green + Green Verde зеленый 綠色 @@ -81,6 +90,7 @@ 红色 red + Red Roja красный 紅色 @@ -90,6 +100,7 @@ 紫色 purple + Purple Púrpura Лиловый 紫色 @@ -98,6 +109,7 @@ 검은색 Black + Black Черного Negro 黑色 diff --git a/modules/counter/conf/info.xml b/modules/counter/conf/info.xml index a8b3fd888..4fa33021d 100644 --- a/modules/counter/conf/info.xml +++ b/modules/counter/conf/info.xml @@ -3,6 +3,7 @@ 접속통계 访问统计 Counter + Counter Contador アクセスカウンター Базовый счетчик @@ -10,6 +11,7 @@ 기본 접속 통계 프로그램입니다. 默认访问统计程序。 Basic connection statistics program. + Chương trình thống kê kết nối cơ bản. Programa básico para la estadística de la conección. デフォルトアクセス統計のプログラムです。 Базовая программа статистики подключений. @@ -23,6 +25,7 @@ zero zero zero + zero zero zero zero diff --git a/modules/counter/counter.class.php b/modules/counter/counter.class.php index fac1fc42d..541c8fea2 100644 --- a/modules/counter/counter.class.php +++ b/modules/counter/counter.class.php @@ -26,10 +26,16 @@ * @brief 설치가 이상이 없는지 체크하는 method **/ function checkUpdate() { + $db_info = Context::getDbInfo (); // 카운터에 site_srl추가 $oDB = &DB::getInstance(); if(!$oDB->isColumnExists('counter_log', 'site_srl')) return true; - if(!$oDB->isIndexExists('counter_log','idx_site_counter_log')) return true; + if ($db_info->db_type == 'cubrid') { + if(!$oDB->isIndexExists('counter_log', $oDB->prefix.'counter_log_idx_site_counter_log')) return true; + } + else { + if(!$oDB->isIndexExists('counter_log','idx_site_counter_log')) return true; + } return false; } @@ -37,12 +43,19 @@ * @brief 업데이트 실행 **/ function moduleUpdate() { + $db_info = Context::getDBInfo (); // 카운터에 site_srl추가 $oDB = &DB::getInstance(); if(!$oDB->isColumnExists('counter_log', 'site_srl')) $oDB->addColumn('counter_log','site_srl','number',11,0,true); - if(!$oDB->isIndexExists('counter_log','idx_site_counter_log')) - $oDB->addIndex('counter_log','idx_site_counter_log',array('site_srl','ipaddress'),false); + if ($db_info->db_type == 'cubrid') { + if(!$oDB->isIndexExists('counter_log',$oDB->prefix.'counter_log_idx_site_counter_log')) + $oDB->addIndex('counter_log',$oDB->prefix.'counter_log_idx_site_counter_log',array('site_srl','ipaddress'),false); + } + else { + if(!$oDB->isIndexExists('counter_log','idx_site_counter_log')) + $oDB->addIndex('counter_log','idx_site_counter_log',array('site_srl','ipaddress'),false); + } return new Object(0, 'success_updated'); } diff --git a/modules/counter/counter.controller.php b/modules/counter/counter.controller.php index 5dd49cd64..a78891f0d 100644 --- a/modules/counter/counter.controller.php +++ b/modules/counter/counter.controller.php @@ -54,7 +54,7 @@ **/ function insertLog($site_srl=0) { $args->regdate = date("YmdHis"); - $args->user_agent = $_SERVER['HTTP_USER_AGENT']; + $args->user_agent = substr ($_SERVER['HTTP_USER_AGENT'], 0, 250); $args->site_srl = $site_srl; return executeQuery('counter.insertCounterLog', $args); } diff --git a/modules/counter/lang/ko.lang.php b/modules/counter/lang/ko.lang.php index 6b6820cc7..84db94977 100644 --- a/modules/counter/lang/ko.lang.php +++ b/modules/counter/lang/ko.lang.php @@ -11,7 +11,7 @@ 'hour' => '시간대별', 'day' => '일별', 'month' => '월별', - 'year' => '년도별', + 'year' => '연도별', ); $lang->total_counter = '전체현황'; diff --git a/modules/counter/lang/vi.lang.php b/modules/counter/lang/vi.lang.php new file mode 100644 index 000000000..15e73da24 --- /dev/null +++ b/modules/counter/lang/vi.lang.php @@ -0,0 +1,27 @@ +counter = "Lượt truy cập"; + $lang->cmd_select_date = 'Chọn ngày'; + $lang->cmd_select_counter_type = array( + 'hour' => 'Theo giờ', + 'day' => 'Theo ngày', + 'month' => 'Theo tháng', + 'year' => 'Theo năm', + ); + + $lang->total_counter = 'Tổng số lượt truy cập'; + $lang->selected_day_counter = 'Số truy cập trong ngày'; + + $lang->unique_visitor = 'Số lượt xem'; + $lang->pageview = 'Số trang'; + + $lang->today = 'Hôm nay'; + $lang->yesterday = 'Hôm qua'; +?> diff --git a/modules/counter/tpl/index.html b/modules/counter/tpl/index.html index b1a98bd10..35076b086 100644 --- a/modules/counter/tpl/index.html +++ b/modules/counter/tpl/index.html @@ -33,6 +33,8 @@ (function($){ $(function(){ var option = { + changeMonth: true, + changeYear: true, gotoCurrent: false ,yearRange:'-100:+10' ,showOn:"button" diff --git a/modules/document/conf/info.xml b/modules/document/conf/info.xml index 43cf2490c..33b47e1d7 100644 --- a/modules/document/conf/info.xml +++ b/modules/document/conf/info.xml @@ -2,6 +2,7 @@ 문서 Document + Bài viết Documento 主题管理 ドキュメント @@ -9,6 +10,7 @@ 主題 게시판, 블로그등의 모듈에서 사용되는 문서를 관리하는 모듈입니다. Module for managing documents used in board, blog, etc. + Module quản lý bài viết trên Board, Sổ lưu niệm và những mục khác. Módulo para manejar los documentos en blog y en los tableros. 管理版面,博客等处主题的模块。 掲示板、ブログなどのモジュールで使用されるドキュメント(書き込み)を管理します。 @@ -21,6 +23,7 @@ zero zero + zero zero zero zero diff --git a/modules/document/document.controller.php b/modules/document/document.controller.php index eb503a0b5..fcd639545 100644 --- a/modules/document/document.controller.php +++ b/modules/document/document.controller.php @@ -239,6 +239,8 @@ * @brief 문서 수정 **/ function updateDocument($source_obj, $obj) { + if(!$source_obj->document_srl || !$obj->document_srl) return new Object(-1,'msg_invalied_request'); + // trigger 호출 (before) $output = ModuleHandler::triggerCall('document.updateDocument', 'before', $obj); if(!$output->toBool()) return $output; @@ -264,6 +266,10 @@ $args->ipaddress = $source_obj->get('ipaddress'); $output = executeQuery("document.insertHistory", $args); } + else + { + $obj->ipaddress = $source_obj->get('ipaddress'); + } // 기본 변수들 정리 if($obj->is_secret!='Y') $obj->is_secret = 'N'; @@ -328,13 +334,20 @@ // 글쓴이의 언어변수와 원문의 언어변수가 다르면 확장변수로 처리 if($source_obj->get('lang_code') != Context::getLangType()) { - $extra_content->title = $obj->title; - $extra_content->content = $obj->content; + // 원문의 언어변수가 없을경우 확장변수가 아닌 원문의 언어변수를 변경 + if(!$source_obj->get('lang_code')) { + $lang_code_args->document_srl = $source_obj->get('document_srl'); + $lang_code_args->lang_code = Context::getLangType(); + $output = executeQuery('document.updateDocumentsLangCode', $lang_code_args); + } else { + $extra_content->title = $obj->title; + $extra_content->content = $obj->content; - $document_args->document_srl = $source_obj->get('document_srl'); - $document_output = executeQuery('document.getDocument', $document_args); - $obj->title = $document_output->data->title; - $obj->content = $document_output->data->content; + $document_args->document_srl = $source_obj->get('document_srl'); + $document_output = executeQuery('document.getDocument', $document_args); + $obj->title = $document_output->data->title; + $obj->content = $document_output->data->content; + } } // 세션에서 최고 관리자가 아니면 iframe, script 제거 diff --git a/modules/document/document.item.php b/modules/document/document.item.php index b2ba0076c..57c55da4d 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -165,7 +165,7 @@ // 변수 정리 if($type) $title = "[".$type."] "; $title .= cut_str(strip_tags($content), 10, '...'); - $content = sprintf('%s

    from : %s',$content, $this->getPermanentUrl(), $this->getPermanentUrl()); + $content = sprintf('%s

    from : %s',$content, getFullUrl('','document_srl',$this->document_srl), getFullUrl('','document_srl',$this->document_srl)); $receiver_srl = $this->get('member_srl'); $sender_member_srl = $logged_info->member_srl; @@ -229,8 +229,9 @@ $title = $this->getTitleText($cut_size, $tail); $attrs = array(); + $this->add('title_color', trim($this->get('title_color'))); if($this->get('title_bold')=='Y') $attrs[] = "font-weight:bold;"; - if($this->get('title_color')&&$this->get('title_color')!='N') $attrs[] = "color:#".$this->get('title_color'); + if($this->get('title_color') && $this->get('title_color') != 'N') $attrs[] = "color:#".$this->get('title_color'); if(count($attrs)) return sprintf("%s", implode(';',$attrs), htmlspecialchars($title)); else return htmlspecialchars($title); @@ -377,13 +378,7 @@ } function getPermanentUrl() { - $url = getUrl('','document_srl',$this->get('document_srl')); - if(substr($url,0,1)=='/') { - if($_SERVER['HTTPS']=='on') $http_url = 'https://'; - else $http_url = 'http://'; - $url = $http_url.$_SERVER['HTTP_HOST'].$url; - } - return $url; + return getFullUrl('','document_srl',$this->get('document_srl')); } function getTrackbackUrl() { diff --git a/modules/document/document.model.php b/modules/document/document.model.php index 45d489ea6..54dbbde00 100644 --- a/modules/document/document.model.php +++ b/modules/document/document.model.php @@ -32,7 +32,7 @@ // 모든 호출된 문서 객체를 찾아서 확장변수가 설정되었는지를 확인 $document_srls = array(); foreach($GLOBALS['XE_DOCUMENT_LIST'] as $key => $val) { - if($checked_documents[$val->document_srl]) continue; + if(!$val->document_srl || $checked_documents[$val->document_srl]) continue; $checked_documents[$val->document_srl] = true; $document_srls[] = $val->document_srl; } @@ -170,6 +170,10 @@ if(is_array($obj->module_srl)) $args->module_srl = implode(',', $obj->module_srl); else $args->module_srl = $obj->module_srl; + // 제외 module_srl에 대한 검사 + if(is_array($obj->exclude_module_srl)) $args->exclude_module_srl = implode(',', $obj->exclude_module_srl); + else $args->exclude_module_srl = $obj->exclude_module_srl; + // 변수 체크 $args->category_srl = $obj->category_srl?$obj->category_srl:null; $args->sort_index = $obj->sort_index; @@ -278,6 +282,7 @@ // division값이 없다면 제일 상위 if(!$division) { $division_args->module_srl = $args->module_srl; + $division_args->exclude_module_srl = $args->exclude_module_srl; $division_args->list_count = 1; $division_args->sort_index = $args->sort_index; $division_args->order_type = $args->order_type; @@ -295,6 +300,7 @@ // 지정된 division에서부터 5000개 후의 division값을 구함 if(!$last_division) { $last_division_args->module_srl = $args->module_srl; + $last_division_args->exclude_module_srl = $args->exclude_module_srl; $last_division_args->list_count = 1; $last_division_args->sort_index = $args->sort_index; $last_division_args->order_type = $args->order_type; @@ -312,6 +318,7 @@ if($last_division) { $last_division_args = null; $last_division_args->module_srl = $args->module_srl; + $last_division_args->exclude_module_srl = $args->exclude_module_srl; $last_division_args->list_order = $last_division; $output = executeQuery("document.getDocumentDivisionCount", $last_division_args); if($output->data->count<1) $last_division = null; diff --git a/modules/document/lang/ko.lang.php b/modules/document/lang/ko.lang.php index e0d012cae..04ae4f65e 100644 --- a/modules/document/lang/ko.lang.php +++ b/modules/document/lang/ko.lang.php @@ -7,25 +7,25 @@ $lang->document_list = '문서 목록'; $lang->thumbnail_type = '썸네일 생성 방법'; - $lang->thumbnail_crop = '잘라내기 (정해진 크기에 꽉 찬 모습의 썸네일을 만듭니다)'; - $lang->thumbnail_ratio = '비율 맞추기 (원본 이미지의 비율에 맞춥니다. 다만 정해진 크기에 여백이 생깁니다)'; + $lang->thumbnail_crop = '잘라내기 (정해진 크기에 꽉 찬 모습의 썸네일을 만듭니다.)'; + $lang->thumbnail_ratio = '비율 맞추기 (원본 이미지의 비율에 맞춥니다. 다만 정해진 크기에 여백이 생깁니다.)'; $lang->cmd_delete_all_thumbnail = '썸네일 모두 삭제'; $lang->title_bold = '제목 굵게'; $lang->title_color = '제목 색깔'; - $lang->new_document_count = '새글'; + $lang->new_document_count = '새 글'; - $lang->parent_category_title = '상위 카테고리명'; - $lang->category_title = '분류명'; + $lang->parent_category_title = '상위 카테고리 명'; + $lang->category_title = '분류 명'; $lang->category_color = '분류 폰트색깔'; $lang->expand = '펼침'; - $lang->category_group_srls = '그룹제한'; + $lang->category_group_srls = '그룹 제한'; $lang->cmd_make_child = '하위 카테고리 추가'; - $lang->cmd_enable_move_category = '카테고리 위치 변경 (선택후 위 메뉴를 드래그하세요)'; + $lang->cmd_enable_move_category = '카테고리 위치 변경 (선택 후 위 메뉴를 드래그하세요.)'; - $lang->about_category_title = '카테고리 이름을 입력해주세요'; - $lang->about_expand = '선택하시면 늘 펼쳐진 상태로 있게 합니다'; - $lang->about_category_group_srls = '선택하신 그룹만 현재 카테고리를 지정할 수 있도록 합니다'; + $lang->about_category_title = '카테고리 이름을 입력해주세요.'; + $lang->about_expand = '선택하시면 늘 펼쳐진 상태로 있게 합니다.'; + $lang->about_category_group_srls = '선택하신 그룹만 현재 카테고리를 지정할 수 있도록 합니다.'; $lang->about_category_color = '분류 폰트색깔을 지정합니다. 예) red 또는 #ff0000'; $lang->cmd_search_next = '계속 검색'; @@ -34,12 +34,12 @@ $lang->cmd_toggle_checked_document = '선택항목 반전'; $lang->cmd_delete_checked_document = '선택항목 삭제'; - $lang->cmd_document_do = '이 게시물을..'; + $lang->cmd_document_do = '이 게시물을...'; - $lang->msg_cart_is_null = '삭제할 글을 선택해주세요'; - $lang->msg_category_not_moved = '이동할 수가 없습니다'; - $lang->msg_is_secret = '비밀글입니다'; - $lang->msg_checked_document_is_deleted = '%d개의 글이 삭제되었습니다'; + $lang->msg_cart_is_null = '삭제할 글을 선택해주세요.'; + $lang->msg_category_not_moved = '이동할 수 없습니다.'; + $lang->msg_is_secret = '비밀글 입니다.'; + $lang->msg_checked_document_is_deleted = '%d개의 글이 삭제되었습니다.'; $lang->move_target_module = '대상 모듈'; @@ -48,7 +48,7 @@ 'title' => '제목', 'content' => '내용', 'user_id' => '아이디', - 'member_srl' => '회원번호', + 'member_srl' => '회원 번호', 'user_name' => '사용자 이름', 'nick_name' => '닉네임', 'email_address' => '이메일', @@ -56,40 +56,40 @@ 'is_notice' => '공지사항', 'is_secret' => '비밀글', 'tags' => '태그', - 'readed_count' => '조회수 (이상)', - 'voted_count' => '추천수 (이상)', - 'comment_count ' => '코멘트수 (이상)', - 'trackback_count ' => '트랙백수 (이상)', - 'uploaded_count ' => '첨부파일수 (이상)', + 'readed_count' => '조회 수 (이상)', + 'voted_count' => '추천 수 (이상)', + 'comment_count ' => '코멘트 수 (이상)', + 'trackback_count ' => '트랙백 수 (이상)', + 'uploaded_count ' => '첨부파일 수 (이상)', 'regdate' => '등록일', - 'last_update' => '최근수정일', + 'last_update' => '최근 수정일', 'ipaddress' => 'IP 주소', ); $lang->alias = 'Alias'; $lang->history = '히스토리'; - $lang->about_use_history = '히스토리 기능의 사용여부를 지정합니다. 히스토리 기능을 사용할 경우 문서 수정시 이전 리비전을 기록하고 복원할 수 있습니다.'; + $lang->about_use_history = '히스토리 기능의 사용여부를 지정합니다. 히스토리 기능을 사용할 경우, 문서 수정 후 이전 수정판으로 복원할 수 있습니다.'; $lang->trace_only = '흔적만 남김'; - $lang->cmd_trash = "휴지통"; - $lang->cmd_restore = "복원"; - $lang->cmd_restore_all = "모두 복원"; + $lang->cmd_trash = '휴지통'; + $lang->cmd_restore = '복원'; + $lang->cmd_restore_all = '모두 복원'; - $lang->in_trash = "휴지통"; - $lang->trash_nick_name = "삭제자 닉네임"; - $lang->trash_date = "삭제 날짜"; - $lang->trash_description = "설명"; + $lang->in_trash = '휴지통'; + $lang->trash_nick_name = '삭제자 닉네임'; + $lang->trash_date = '삭제 날짜'; + $lang->trash_description = '설명'; // 관리자 페이지에서 휴지통의 검색할 대상 $lang->search_target_trash_list = array( 'title' => '제목', 'content' => '내용', 'user_id' => '아이디', - 'member_srl' => '회원번호', + 'member_srl' => '회원 번호', 'user_name' => '사용자 이름', 'nick_name' => '닉네임', - 'trash_member_srl' => '삭제자 회원번호', - 'trash_user_name' => '삭제자 사용자 이름', + 'trash_member_srl' => '삭제자 회원 번호', + 'trash_user_name' => '삭제자 이름', 'trash_nick_name' => '삭제자 닉네임', 'trash_date' => '삭제일', 'trash_ipaddress' => '삭제자 IP 주소', diff --git a/modules/document/lang/vi.lang.php b/modules/document/lang/vi.lang.php new file mode 100644 index 000000000..d5b317bc7 --- /dev/null +++ b/modules/document/lang/vi.lang.php @@ -0,0 +1,98 @@ +document_list = 'Danh sách bài viết'; + $lang->thumbnail_type = 'Định dạng hình nhỏ'; + $lang->thumbnail_crop = 'Hình cắt'; + $lang->thumbnail_ratio = 'Tỉ lệ'; + $lang->cmd_delete_all_thumbnail = 'Xóa tất cả hình nhỏ'; + $lang->move_target_module = "Vị trí Module"; + $lang->title_bold = 'Chữ đậm'; + $lang->title_color = 'Màu'; + $lang->new_document_count = 'Bài viết mới'; + + $lang->parent_category_title = 'Tên thể loại chính'; + $lang->category_title = 'Tên thể loại nhỏ'; + $lang->category_color = 'Màu chữ'; + $lang->expand = 'Mở rộng'; + $lang->category_group_srls = 'Nhóm được cho phép'; + + $lang->cmd_make_child = 'Thêm thể loại nhỏ'; + $lang->cmd_enable_move_category = "Thay đổi vị trí thể loại (Kéo lên Menu trên sau khi lựa chọn)"; + + $lang->about_category_title = 'Hãy nhập tên thể loại'; + $lang->about_expand = 'Nếu sử dụng tùy chọn này, Thể loại sẽ luôn luôn được trải rộng.'; + $lang->about_category_group_srls = 'Chỉ những nhóm đã chọn mới được phép sử dụng thể loại này.'; + $lang->about_category_color = 'Bạn có thể đặt màu cho thể loại.'; + + $lang->cmd_search_next = 'Tìm tiếp'; + + $lang->cmd_temp_save = 'Lưu tạm thời'; + + $lang->cmd_toggle_checked_document = 'Khôi phục những bài đã chọn'; + $lang->cmd_delete_checked_document = 'Xóa những bài đã chọn'; + $lang->cmd_document_do = 'Bình chọn / Phê bình'; + + $lang->msg_cart_is_null = 'Xin hãy chọn bài viết để xóa.'; + $lang->msg_category_not_moved = 'Không thể di chuyển'; + $lang->msg_is_secret = 'Bài viết này đã đặt bí mật'; + $lang->msg_checked_document_is_deleted = '%d bài viết đã được xóa.'; + + // Search targets in admin page + $lang->search_target_list = array( + 'title' => 'Tiêu đề', + 'content' => 'Nội dung', + 'user_id' => 'ID sử dụng', + 'member_srl' => 'Mã thành viên', + 'user_name' => 'Tên', + 'nick_name' => 'Nickname', + 'email_address' => 'Email', + 'homepage' => 'Trang chủ', + 'is_notice' => 'Chú ý', + 'is_secret' => 'Bí mật', + 'tags' => 'Tag', + 'readed_count' => 'Lượt xem', + 'voted_count' => 'Lượt bình chọn', + 'comment_count ' => 'Số bình luận', + 'trackback_count ' => 'Số liên kết Web', + 'uploaded_count ' => 'Số đính kèm', + 'regdate' => 'Ngày gửi', + 'last_update' => 'Cập nhật lần cuối', + 'ipaddress' => 'IP', + ); + + $lang->alias = "Bí danh"; + $lang->history = "Lịch sử"; + $lang->about_use_history = "Chức năng này sẽ lưu lại những thay đổi trên bài viết. Nếu sử dụng chức năng này, bạn có thể khôi phục lại trạng thái ban đầu của bài viết."; + $lang->trace_only = "Chỉ theo dõi"; + + $lang->cmd_trash = "Thùng rác"; + $lang->cmd_restore = "Khôi phục"; + $lang->cmd_restore_all = "Khôi phục tất cả"; + + $lang->in_trash = "Thùng rác"; + $lang->trash_nick_name = "Người xóa"; + $lang->trash_date = "Ngày xóa"; + $lang->trash_description = "Mô tả"; + + // 관리자 페이지에서 휴지통의 검색할 대상 + $lang->search_target_trash_list = array( + 'title' => 'Tiêu đề', + 'content' => 'Nội dung', + 'user_id' => 'ID', + 'member_srl' => 'Mã số thành viên', + 'user_name' => 'Tên thật', + 'nick_name' => 'NickName', + 'trash_member_srl' => 'Mã số người xóa', + 'trash_user_name' => 'Tên người xóa', + 'trash_nick_name' => 'NickName người xóa', + 'trash_date' => 'Ngày xóa', + 'trash_ipaddress' => 'IP Người xóa', + ); +?> diff --git a/modules/document/queries/getDocumentDivision.xml b/modules/document/queries/getDocumentDivision.xml index ebe094a5c..b7a058b3c 100644 --- a/modules/document/queries/getDocumentDivision.xml +++ b/modules/document/queries/getDocumentDivision.xml @@ -7,6 +7,7 @@ + diff --git a/modules/document/queries/getDocumentDivisionCount.xml b/modules/document/queries/getDocumentDivisionCount.xml index 92bdce812..c061f2a84 100644 --- a/modules/document/queries/getDocumentDivisionCount.xml +++ b/modules/document/queries/getDocumentDivisionCount.xml @@ -7,6 +7,7 @@ + diff --git a/modules/document/queries/getDocumentList.xml b/modules/document/queries/getDocumentList.xml index 82338e103..a8726e1df 100644 --- a/modules/document/queries/getDocumentList.xml +++ b/modules/document/queries/getDocumentList.xml @@ -7,6 +7,7 @@ + diff --git a/modules/document/queries/getDocumentListWithinComment.xml b/modules/document/queries/getDocumentListWithinComment.xml index 3076c607e..f463669d5 100644 --- a/modules/document/queries/getDocumentListWithinComment.xml +++ b/modules/document/queries/getDocumentListWithinComment.xml @@ -9,6 +9,7 @@ + diff --git a/modules/document/queries/getDocumentListWithinTag.xml b/modules/document/queries/getDocumentListWithinTag.xml index d6f0441b3..51b0d9f8e 100644 --- a/modules/document/queries/getDocumentListWithinTag.xml +++ b/modules/document/queries/getDocumentListWithinTag.xml @@ -9,6 +9,7 @@ + @@ -19,8 +20,4 @@ - - - - diff --git a/modules/document/queries/updateDocumentsLangCode.xml b/modules/document/queries/updateDocumentsLangCode.xml index b5728aecc..8bd0f8dc0 100644 --- a/modules/document/queries/updateDocumentsLangCode.xml +++ b/modules/document/queries/updateDocumentsLangCode.xml @@ -5,4 +5,7 @@ + + + diff --git a/modules/document/schemas/document_categories.xml b/modules/document/schemas/document_categories.xml index cf6249d3a..b12f295df 100644 --- a/modules/document/schemas/document_categories.xml +++ b/modules/document/schemas/document_categories.xml @@ -9,5 +9,5 @@ - +
    diff --git a/modules/document/schemas/documents.xml b/modules/document/schemas/documents.xml index b77a45e36..6ea3fc6c2 100644 --- a/modules/document/schemas/documents.xml +++ b/modules/document/schemas/documents.xml @@ -7,7 +7,7 @@ - + diff --git a/modules/document/tpl/js/document_category.js b/modules/document/tpl/js/document_category.js index c2e72f443..5e020d9bc 100644 --- a/modules/document/tpl/js/document_category.js +++ b/modules/document/tpl/js/document_category.js @@ -20,7 +20,7 @@ function Tree(url){ // node var node = ''; - if(color){ + if(color && color !='transparent'){ node = jQuery('
  • '+text+'
  • '); }else{ node = jQuery('
  • '+text+'
  • '); @@ -88,7 +88,7 @@ function Tree(url){ parent_srl = 0; } - jQuery.exec_json("board.procDocumentMoveCategory",{ "module_srl":module_srl,"parent_srl":parent_srl,"target_srl":target_srl,"source_srl":source_srl}, + jQuery.exec_json("document.procDocumentMoveCategory",{ "module_srl":module_srl,"parent_srl":parent_srl,"target_srl":target_srl,"source_srl":source_srl}, function(data){ jQuery('#category_info').html(''); if(data.error > 0) Tree(xml_url); diff --git a/modules/editor/components/cc_license/cc_license.class.php b/modules/editor/components/cc_license/cc_license.class.php deleted file mode 100755 index 8ffef5fb0..000000000 --- a/modules/editor/components/cc_license/cc_license.class.php +++ /dev/null @@ -1,102 +0,0 @@ - - * @brief CCL 출력 에디터 컴포넌트 - **/ - - class cc_license extends EditorHandler { - - // editor_sequence 는 에디터에서 필수로 달고 다녀야 함 - var $editor_sequence = 0; - var $component_path = ''; - - /** - * @brief editor_sequence과 컴포넌트의 경로를 받음 - **/ - function cc_license($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) { - // 지정된 옵션을 구함 - $ccl_title = $xml_obj->attrs->ccl_title; - $ccl_use_mark = $xml_obj->attrs->ccl_use_mark; - $ccl_allow_commercial = $xml_obj->attrs->ccl_allow_commercial; - $ccl_allow_modification = $xml_obj->attrs->ccl_allow_modification; - - // 가로/ 세로 크기를 구함 - preg_match_all('/(width|height)([^[:digit:]]+)([^;^"^\']*)/i',$xml_obj->attrs->style,$matches); - $width = trim($matches[3][0]); - if(!$width) $width = "90%"; - $height = trim($matches[3][1]); - if(!$height) $height = "50"; - - // 언어파일을 읽음 - Context::loadLang($this->component_path.'/lang'); - $default_title = Context::getLang('ccl_default_title'); - if(!$ccl_title) $ccl_title = $default_title; - - $default_message = Context::getLang('ccl_default_message'); - - $option = Context::getLang('ccl_options'); - - // 영리 이용 체크 - if($ccl_allow_commercial == 'N') $opt1 = '-nc'; - else $opt1 = ''; - - // 수정 표시 체크 - if($ccl_allow_modification == 'N') $opt2 = '-nd'; - elseif($ccl_allow_modification == 'SA') $opt2 = '-sa'; - else $opt2 = ''; - - // 버전 - $version = '/3.0'; - - // 언어에 따른 설정 - $lang_type = Context::getLangType(); - if($lang_type != 'en') $lang_file = 'deed.'.strtolower($lang_file); - - // 마크 이용시 - $ccl_image = ''; - if($ccl_use_mark == "Y") { - $ccl_image = sprintf(' - Creative Commons License
    ', - $opt1, $opt2, $version, - $opt1, $opt2, $version - ); - } - - // 결과물 생성 - $text = $ccl_image . sprintf($default_message, $opt1, $opt2, $version, '', $ccl_title, $option['ccl_allow_commercial'][$ccl_allow_commercial], $option['ccl_allow_modification'][$ccl_allow_modification], $version); - - $style = sprintf('', $width); - - $output = sprintf('%s
    %s%s
    ', $style, $ccl_title, $text); - - return $output; - } - } - -?> diff --git a/modules/editor/components/cc_license/ccl_logo.gif b/modules/editor/components/cc_license/ccl_logo.gif deleted file mode 100644 index 6c9f51220..000000000 Binary files a/modules/editor/components/cc_license/ccl_logo.gif and /dev/null differ diff --git a/modules/editor/components/cc_license/component_icon.gif b/modules/editor/components/cc_license/component_icon.gif deleted file mode 100644 index 78e60259e..000000000 Binary files a/modules/editor/components/cc_license/component_icon.gif and /dev/null differ diff --git a/modules/editor/components/cc_license/icon.gif b/modules/editor/components/cc_license/icon.gif deleted file mode 100644 index 275a1de42..000000000 Binary files a/modules/editor/components/cc_license/icon.gif and /dev/null differ diff --git a/modules/editor/components/cc_license/info.xml b/modules/editor/components/cc_license/info.xml deleted file mode 100755 index dd9fb0889..000000000 --- a/modules/editor/components/cc_license/info.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - Creative Commons Licenses - Licencias Creative Commons - Creative Commons Licenses - クリエイティブコモンズライセンス - 知识共享许可协议 - Creative Commons Licenses - 創用CC - CCL 라이선스를 출력합니다. - CCL licencia de producto - CCL 라이선스를 출력합니다. - CCLライセンスを表示します。 - 显示知识共享许可协议。 - Output CCL license - 顯示創用CC授權條款。 - 0.1 - 2008-01-07 - - - zero - zero - zero - zero - zero - zero - zero - - diff --git a/modules/editor/components/cc_license/lang/en.lang.php b/modules/editor/components/cc_license/lang/en.lang.php deleted file mode 100644 index 9deed7c11..000000000 --- a/modules/editor/components/cc_license/lang/en.lang.php +++ /dev/null @@ -1,29 +0,0 @@ - - * @brief WYSIWYG module > CCL display component - **/ - - $lang->ccl_default_title = 'Creative Commons Korea Copyrights'; - $lang->ccl_default_message = 'This component can be used by %s%s%s%s'; - - $lang->ccl_title = 'Title'; - $lang->ccl_use_mark = 'Use Mark'; - $lang->ccl_allow_commercial = 'Allow Commercial Use'; - $lang->ccl_allow_modification = 'Allow Modification of Component'; - - $lang->ccl_allow = 'Allow'; - $lang->ccl_disallow = 'Disallow'; - $lang->ccl_sa = 'Modify Identical Condition'; - - $lang->ccl_options = array( - 'ccl_allow_commercial' => array('Y'=>'-Commertial', 'N'=>'-Noncommertial'), - 'ccl_allow_modification' => array('Y'=>'-Inhibit', 'N'=>'-Inhibit', 'SA'=>'-Under Identical Condition'), - ); - - $lang->about_ccl_title = 'Title will be displayed. Default message will be displayed when nothing is input.'; - $lang->about_ccl_use_mark = 'You may display or hide mark. (default: display)'; - $lang->about_ccl_allow_commercial = 'You may allow or disallow commertial use. (default: disallow)'; - $lang->about_ccl_allow_modification = 'You may allow or disallow modification of the work. (default: allow)'; -?> diff --git a/modules/editor/components/cc_license/lang/es.lang.php b/modules/editor/components/cc_license/lang/es.lang.php deleted file mode 100644 index 62d8002d1..000000000 --- a/modules/editor/components/cc_license/lang/es.lang.php +++ /dev/null @@ -1,29 +0,0 @@ - - * @brief WYSIWYG module > CCL display component - **/ - - $lang->ccl_default_title = 'Reconocimiento-No comercial-Sin obras derivadas 2.0 España'; - $lang->ccl_default_message = 'Este componente puede ser usado por % S% s% s% s '; - - $lang->ccl_title = 'Titulo'; - $lang->ccl_use_mark = 'Utilice Mark'; - $lang->ccl_allow_commercial = 'Permitir el uso comercial'; - $lang->ccl_allow_modification = 'Permitir la modificacion de componente'; - - $lang->ccl_allow = 'Permitir'; - $lang->ccl_disallow = 'Disallow'; - $lang->ccl_sa = 'Modificar identica condicion'; - - $lang->ccl_options = array( - 'ccl_allow_commercial' => array('Y'=>'-Commertial', 'N'=>'-Noncommertial'), - 'ccl_allow_modification' => array('Y'=>'-Inhibit', 'N'=>'-Inhibit', 'SA'=>'-Under Identical Condition'), - ); - - $lang->about_ccl_title = 'Titulo en la pantalla. Default mensaje se muestra cuando no hay nada de entrada.'; - $lang->about_ccl_use_mark = 'Puede mostrar u ocultar la marca. (Por defecto: pantalla)'; - $lang->about_ccl_allow_commercial = 'Usted puede permitir o no permitir el uso comercial. (Por defecto: inhabilitar)'; - $lang->about_ccl_allow_modification = 'Usted puede habilitar o inhabilitar la modificacion de la obra. (Por defecto: permitir)'; -?> diff --git a/modules/editor/components/cc_license/lang/jp.lang.php b/modules/editor/components/cc_license/lang/jp.lang.php deleted file mode 100644 index 7d7e55bc0..000000000 --- a/modules/editor/components/cc_license/lang/jp.lang.php +++ /dev/null @@ -1,29 +0,0 @@ - 翻訳:RisaPapa - * @brief ウィジウィグエディターモジュール > CCL 表示エディターコンポーネント - **/ - - $lang->ccl_default_title = 'クリエイティブコモンズジャパン著作者表示'; - $lang->ccl_default_message = 'この著作物は%s%s%s%sに従って利用することが出来ます。'; - - $lang->ccl_title = 'タイトル'; - $lang->ccl_use_mark = 'マーク使用'; - $lang->ccl_allow_commercial = '営利目的許可'; - $lang->ccl_allow_modification = '著作物変更許'; - - $lang->ccl_allow = '許可'; - $lang->ccl_disallow = '禁止'; - $lang->ccl_sa = '同一条件変更'; - - $lang->ccl_options = array( - 'ccl_allow_commercial' => array('Y'=>'-営利', 'N'=>'-非営利'), - 'ccl_allow_modification' => array('Y'=>'-変更許可', 'N'=>'-変更禁止', 'SA'=>'-同一条件変更許可'), - ); - - $lang->about_ccl_title = 'タイトルを表示します。空欄の場合はデフォルトのメッセージが表示されます。'; - $lang->about_ccl_use_mark = 'マークを表示するかどうかが選択出来ます(デフォルト:表示)。'; - $lang->about_ccl_allow_commercial = '営利目的での利用を許可するかどうかが選択出来ます(デフォルト:禁止)'; - $lang->about_ccl_allow_modification = '著作権の変更が出来るかがどうかが許可出来ます(デフォルト:同一条件変更)。'; -?> diff --git a/modules/editor/components/cc_license/lang/ko.lang.php b/modules/editor/components/cc_license/lang/ko.lang.php deleted file mode 100644 index eba3c3876..000000000 --- a/modules/editor/components/cc_license/lang/ko.lang.php +++ /dev/null @@ -1,29 +0,0 @@ - - * @brief 위지윅에디터(editor) 모듈 > CCL 출력 에디터 컴포넌트 - **/ - - $lang->ccl_default_title = '크리에이티브 커먼즈 코리아 저작자표시'; - $lang->ccl_default_message = '이 저작물은 %s%s%s%s에 따라 이용하실 수 있습니다'; - - $lang->ccl_title = '제목'; - $lang->ccl_use_mark = '마크 사용'; - $lang->ccl_allow_commercial = '영리목적 허용'; - $lang->ccl_allow_modification = '저작물 변경 허용'; - - $lang->ccl_allow = '허용'; - $lang->ccl_disallow = '금지'; - $lang->ccl_sa = '동일 조건 변경'; - - $lang->ccl_options = array( - 'ccl_allow_commercial' => array('Y'=>'-영리', 'N'=>'-비영리'), - 'ccl_allow_modification' => array('Y'=>'-변경허용', 'N'=>'-변경금지', 'SA'=>'-동일조건변경허락'), - ); - - $lang->about_ccl_title = '제목을 표시합니다. 비워져 있으면 기본 메세지가 출력됩니다.'; - $lang->about_ccl_use_mark = '마크의 출력 여부를 선택할 수 있습니다. (기본: 출력)'; - $lang->about_ccl_allow_commercial = '영리목적 이용을 허가 여부를 선택할 수 있습니다 (기본: 허용안함)'; - $lang->about_ccl_allow_modification = '저작물의 변경 여부를 허용할 수 있습니다. (기본: 동일 조건 변경)'; -?> diff --git a/modules/editor/components/cc_license/lang/zh-CN.lang.php b/modules/editor/components/cc_license/lang/zh-CN.lang.php deleted file mode 100644 index dbfeeca05..000000000 --- a/modules/editor/components/cc_license/lang/zh-CN.lang.php +++ /dev/null @@ -1,29 +0,0 @@ - - * @brief 编辑器(editor) 模块 > 知识共享许可协议组件语言包 - **/ - - $lang->ccl_default_title = '知识共享许可协议@中国大陆'; - $lang->ccl_default_message = '本主题采用%s%s%s%s授权。'; - - $lang->ccl_title = '标题'; - $lang->ccl_use_mark = '使用图标'; - $lang->ccl_allow_commercial = '商业性使用'; - $lang->ccl_allow_modification = '允许修改作品'; - - $lang->ccl_allow = '允许'; - $lang->ccl_disallow = '禁止'; - $lang->ccl_sa = '相同方式共享'; - - $lang->ccl_options = array( - 'ccl_allow_commercial' => array('Y'=>'-商业', 'N'=>'-非商业'), - 'ccl_allow_modification' => array('Y'=>'-允许修改', 'N'=>'-禁止修改', 'SA'=>'-允许相同方式共享'), - ); - - $lang->about_ccl_title = '显示标题(留空为显示默认标题)。'; - $lang->about_ccl_use_mark = '设置图标显示与否(默认: 显示)。'; - $lang->about_ccl_allow_commercial = '设置商业性使用与否(默认: 禁止)。'; - $lang->about_ccl_allow_modification = '设置允许作品修改与否(默认:相同方式共享)。'; -?> diff --git a/modules/editor/components/cc_license/lang/zh-TW.lang.php b/modules/editor/components/cc_license/lang/zh-TW.lang.php deleted file mode 100644 index 24f75ed25..000000000 --- a/modules/editor/components/cc_license/lang/zh-TW.lang.php +++ /dev/null @@ -1,29 +0,0 @@ - 翻譯:royallin - * @brief 編輯器模組 > 創用CC授權組件 - **/ - - $lang->ccl_default_title = '創用CC授權'; - $lang->ccl_default_message = '本文採用 %s%s%s%s'; - - $lang->ccl_title = '標題'; - $lang->ccl_use_mark = '使用標章圖樣'; - $lang->ccl_allow_commercial = '允許商業性使用'; - $lang->ccl_allow_modification = '允許修改'; - - $lang->ccl_allow = '允許'; - $lang->ccl_disallow = '不允許'; - $lang->ccl_sa = '相同方式分享'; - - $lang->ccl_options = array( - 'ccl_allow_commercial' => array('Y'=>'-商業性', 'N'=>'-非商業性'), - 'ccl_allow_modification' => array('Y'=>'-允許', 'N'=>'-禁止', 'SA'=>'-相同方式分享'), - ); - - $lang->about_ccl_title = '顯示標題。留白顯示預設標題。'; - $lang->about_ccl_use_mark = '是否顯示圖案。(預設: 顯示)'; - $lang->about_ccl_allow_commercial = '是否允許商業使用。(預設: 不允許)'; - $lang->about_ccl_allow_modification = '是否允許修改。(預設: 允許)'; -?> diff --git a/modules/editor/components/cc_license/tpl/popup.html b/modules/editor/components/cc_license/tpl/popup.html deleted file mode 100755 index aadb0ebe2..000000000 --- a/modules/editor/components/cc_license/tpl/popup.html +++ /dev/null @@ -1,42 +0,0 @@ - - - -
    -

    {$component_info->title} ver. {$component_info->version}

    -
    - -
    -
    - - - - - - - - - - - - - - - -
    {$lang->ccl_use_mark}
    - -

    {$lang->about_ccl_use_mark}

    -
    {$lang->ccl_allow_commercial}
    - -

    {$lang->about_ccl_allow_commercial}

    -
    {$lang->ccl_allow_modification}
    - -

    {$lang->about_ccl_allow_modification}

    -
    -
    - - - -
    diff --git a/modules/editor/components/cc_license/tpl/popup.js b/modules/editor/components/cc_license/tpl/popup.js deleted file mode 100755 index c62e18bf9..000000000 --- a/modules/editor/components/cc_license/tpl/popup.js +++ /dev/null @@ -1,64 +0,0 @@ -/** - * popup으로 열렸을 경우 부모창의 위지윅에디터에 select된 멀티미디어 컴포넌트 코드를 체크하여 - * 있으면 가져와서 원하는 곳에 삽입 - **/ -var selected_node = null; -function getCode() { - // 부모 위지윅 에디터에서 선택된 영역이 있는지 확인 - if(typeof(opener)=='undefined') return; - - // 부모창의 선택된 객체가 img가 아니면 pass~ - var node = opener.editorPrevNode; - if(!node || node.nodeName != 'IMG') return; - - selected_node = node; - - // 이미 정의되어 있는 변수에서 데이터를 구함 - var ccl_use_mark = node.getAttribute('ccl_use_mark'); - var ccl_allow_commercial = node.getAttribute('ccl_allow_commercial'); - var ccl_allow_modification = node.getAttribute('ccl_allow_modification'); - - // form문에 적용 - var fo_obj = xGetElementById('fo'); - - if(ccl_use_mark == 'Y') fo_obj.ccl_use_mark.selectedIndex = 0; - else fo_obj.ccl_use_mark.selectedIndex = 1; - - if(ccl_allow_commercial == 'Y') fo_obj.ccl_allow_commercial.selectedIndex = 0; - else fo_obj.ccl_allow_commercial.selectedIndex = 1; - - if(ccl_allow_modification == 'Y') fo_obj.ccl_allow_modification.selectedIndex = 0; - else if(ccl_allow_modification== 'N') fo_obj.ccl_allow_modification.selectedIndex = 1; - else fo_obj.ccl_allow_modification.selectedIndex = 2; -} - -/* 추가 버튼 클릭시 부모창의 위지윅 에디터에 인용구 추가 */ -function insertCode() { - if(typeof(opener)=='undefined') return; - - var fo_obj = xGetElementById('fo'); - - var ccl_use_mark = fo_obj.ccl_use_mark.options[fo_obj.ccl_use_mark.selectedIndex].value; - var ccl_allow_commercial = fo_obj.ccl_allow_commercial.options[fo_obj.ccl_allow_commercial.selectedIndex].value; - var ccl_allow_modification = fo_obj.ccl_allow_modification.options[fo_obj.ccl_allow_modification.selectedIndex].value; - - var content = ''; - - var style = "width:90%; margin:20px auto 20px auto; height:50px; border:1px solid #c0c0c0; background: transparent url('./modules/editor/components/cc_license/ccl_logo.gif') no-repeat center center;"; - - var text = '
    ccl
    '; - - if(selected_node) { - selected_node.setAttribute('ccl_use_mark', ccl_use_mark); - selected_node.setAttribute('ccl_allow_commercial', ccl_allow_commercial); - selected_node.setAttribute('ccl_allow_modification', ccl_allow_modification); - } else { - opener.editorFocus(opener.editorPrevSrl); - var iframe_obj = opener.editorGetIFrame(opener.editorPrevSrl) - opener.editorReplaceHTML(iframe_obj, text); - } - opener.editorFocus(opener.editorPrevSrl); - window.close(); -} - -xAddEventListener(window, 'load', getCode); diff --git a/modules/editor/components/code_highlighter/code.png b/modules/editor/components/code_highlighter/code.png deleted file mode 100644 index b2b401363..000000000 Binary files a/modules/editor/components/code_highlighter/code.png and /dev/null differ diff --git a/modules/editor/components/code_highlighter/code_highlighter.class.php b/modules/editor/components/code_highlighter/code_highlighter.class.php deleted file mode 100644 index 012ce236e..000000000 --- a/modules/editor/components/code_highlighter/code_highlighter.class.php +++ /dev/null @@ -1,86 +0,0 @@ -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) { - $code_type = $xml_obj->attrs->code_type; - $option_file_path = $xml_obj->attrs->file_path; - $option_description = $xml_obj->attrs->description; - $option_first_line = $xml_obj->attrs->first_line; - $option_collapse = $xml_obj->attrs->collapse; - $option_nogutter = $xml_obj->attrs->nogutter; - $option_nocontrols = $xml_obj->attrs->nocontrols; - if($option_collapse == 'true') $option = $option.'collapse: true;'; - if($option_nogutter == 'true') $option = $option.'gutter: false;'; - if($option_nocontrols == 'true' && $option_collapse != 'true') $option = $option.'toolbar: false;'; - if($option_first_line > 1) $option = $option."first-line: ".$option_first_line.";"; - $body = $xml_obj->body; - - - $body = preg_replace('@()(\n)?@i' , "\n", $body); - $body = strip_tags($body); - - if(!$GLOBALS['_called_editor_component_code_highlighter_']) { - $GLOBALS['_called_editor_component_code_highlighter_'] = true; - $js_code = << -SyntaxHighlighter.config.clipboardSwf = '{$this->component_path}script/clipboard.swf'; -SyntaxHighlighter.all(); - -dpScript; - - Context::addHtmlFooter($js_code); - Context::addCSSFile($this->component_path.'style/shCore.css'); - Context::addCSSFile($this->component_path.'style/shThemeDefault.css'); - Context::addJsFile($this->component_path.'script/shCore.js'); - } - - Context::addJsFile($this->component_path.'script/shBrush'.$code_type.'.js'); - - $output = null; - if($option_file_path != null || $option_description != null) { - $output .= '
    '; - if($option_file_path != null) $output .= ''.$option_file_path.''; - if($option_description != null) $output .= ''.$option_description.''; - $output .= '
    '; - } - $output .= sprintf('
    %s
    ', strtolower($code_type), $option, $body); - return $output; - } -} diff --git a/modules/editor/components/code_highlighter/component_icon.gif b/modules/editor/components/code_highlighter/component_icon.gif deleted file mode 100644 index 6c91bbf56..000000000 Binary files a/modules/editor/components/code_highlighter/component_icon.gif and /dev/null differ diff --git a/modules/editor/components/code_highlighter/icon.gif b/modules/editor/components/code_highlighter/icon.gif deleted file mode 100644 index 4b542c04e..000000000 Binary files a/modules/editor/components/code_highlighter/icon.gif and /dev/null differ diff --git a/modules/editor/components/code_highlighter/info.xml b/modules/editor/components/code_highlighter/info.xml deleted file mode 100644 index 35fe1fbab..000000000 --- a/modules/editor/components/code_highlighter/info.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - Code Highlighter - コードハイライト - 代码高亮显示 - Code Highlighter - Código para resaltar - Подсветка кода - 語法高亮度顯示 - 코드를 보기 좋게 출력합니다. - ソースコードを見やすく表示します。 - It displays code in good shape. - Muestra el código en buena forma. - Компонент служащий для подсветки кода - 高亮显示所选代码。 - 將所選取的語法高亮度顯示。 - 0.5 - 2009-01-20 - LGPL 2.1 - - - XE Open Source Project - XE Open Source Project - XE Open Source Project - XE Open Source Project - XE Open Source Project - XE Open Source Project - XE Open Source Project - - \ No newline at end of file diff --git a/modules/editor/components/code_highlighter/lang/en.lang.php b/modules/editor/components/code_highlighter/lang/en.lang.php deleted file mode 100644 index cfea5e482..000000000 --- a/modules/editor/components/code_highlighter/lang/en.lang.php +++ /dev/null @@ -1,13 +0,0 @@ -code_type = 'Code Type'; - -$lang->used_collapse = 'Use Folding'; -$lang->hidden_linenumber = 'Hide Line Number'; -$lang->hidden_controls = 'Hide Toolbar'; - -$lang->file_path = 'File Path'; -$lang->description = 'Description'; -$lang->first_line = 'First Line'; diff --git a/modules/editor/components/code_highlighter/lang/es.lang.php b/modules/editor/components/code_highlighter/lang/es.lang.php deleted file mode 100644 index 866fd0ada..000000000 --- a/modules/editor/components/code_highlighter/lang/es.lang.php +++ /dev/null @@ -1,13 +0,0 @@ -code_type = 'Código Tipo'; - -$lang->used_collapse = 'Utilice Folding'; -$lang->hidden_linenumber = 'Ocultar número de línea'; -$lang->hidden_controls = 'Ocultar barra de herramientas'; - -$lang->file_path = 'Ruta del archivo'; -$lang->description = 'Descripción'; -$lang->first_line = 'Primera Línea'; diff --git a/modules/editor/components/code_highlighter/lang/jp.lang.php b/modules/editor/components/code_highlighter/lang/jp.lang.php deleted file mode 100644 index bc3cff24d..000000000 --- a/modules/editor/components/code_highlighter/lang/jp.lang.php +++ /dev/null @@ -1,14 +0,0 @@ - 翻訳:ミニミ - **/ -$lang->code_type = '言語種類'; - -$lang->used_collapse = '折りたたみ機能を使う'; -$lang->hidden_linenumber = '行番号を隠す'; -$lang->hidden_controls = 'ツールバーを隠す'; - -$lang->file_path = 'ファイルのパス'; -$lang->description = '説明'; -$lang->first_line = '開始する行番号'; diff --git a/modules/editor/components/code_highlighter/lang/ko.lang.php b/modules/editor/components/code_highlighter/lang/ko.lang.php deleted file mode 100644 index fef6af2c8..000000000 --- a/modules/editor/components/code_highlighter/lang/ko.lang.php +++ /dev/null @@ -1,14 +0,0 @@ - - **/ -$lang->code_type = '언어 종류'; - -$lang->used_collapse = '접기 기능 사용'; -$lang->hidden_linenumber = '줄 번호 감추기'; -$lang->hidden_controls = '도구바 감추기'; - -$lang->file_path = '파일경로'; -$lang->description = '설명'; -$lang->first_line = '시작 줄 번호'; diff --git a/modules/editor/components/code_highlighter/lang/ru.lang.php b/modules/editor/components/code_highlighter/lang/ru.lang.php deleted file mode 100644 index c222c73dc..000000000 --- a/modules/editor/components/code_highlighter/lang/ru.lang.php +++ /dev/null @@ -1,13 +0,0 @@ -code_type = 'Тип кода'; - -$lang->used_collapse = 'Использованное сокращение'; -$lang->hidden_linenumber = 'Скрытый номер строки'; -$lang->hidden_controls = 'Скрытый контрол'; - -$lang->file_path = 'Путь файла'; -$lang->description = 'Описание'; -$lang->first_line = 'Первая строка'; diff --git a/modules/editor/components/code_highlighter/lang/zh-CN.lang.php b/modules/editor/components/code_highlighter/lang/zh-CN.lang.php deleted file mode 100644 index d1264da4c..000000000 --- a/modules/editor/components/code_highlighter/lang/zh-CN.lang.php +++ /dev/null @@ -1,16 +0,0 @@ - 翻译:guny - * @brief 编辑器(editor) 模块 > 代码高亮显示(code_highlighter)组件简体中文语言包 - **/ - $lang->code_type = '语言类型'; - - $lang->used_collapse = '使用代码折叠'; - $lang->hidden_linenumber = '隐藏行号'; - $lang->hidden_controls = '隐藏工具栏'; - - $lang->file_path = '文件路径'; - $lang->description = '说明'; - $lang->first_line = '首行行号'; -?> \ No newline at end of file diff --git a/modules/editor/components/code_highlighter/lang/zh-TW.lang.php b/modules/editor/components/code_highlighter/lang/zh-TW.lang.php deleted file mode 100644 index 3a75eb88f..000000000 --- a/modules/editor/components/code_highlighter/lang/zh-TW.lang.php +++ /dev/null @@ -1,13 +0,0 @@ -code_type = '語法類型'; - -$lang->used_collapse = '使用收合'; -$lang->hidden_linenumber = '隱藏行號'; -$lang->hidden_controls = '隱藏控制'; - -$lang->file_path = '檔案路徑'; -$lang->description = '說明'; -$lang->first_line = '第一行'; diff --git a/modules/editor/components/code_highlighter/script/clipboard.swf b/modules/editor/components/code_highlighter/script/clipboard.swf deleted file mode 100644 index 1b4d90a0f..000000000 Binary files a/modules/editor/components/code_highlighter/script/clipboard.swf and /dev/null differ diff --git a/modules/editor/components/code_highlighter/script/shBrushAbap.js b/modules/editor/components/code_highlighter/script/shBrushAbap.js deleted file mode 100644 index eef3f0d73..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushAbap.js +++ /dev/null @@ -1,26 +0,0 @@ -dp.sh.Brushes.Abap = function() -{ - var datatypes = - 'ACCP CHAR CLNT CUKY CURR DATS DEC FLTP INT1 INT2 INT4 LANG LCHR LRAW NUMC PREC QUAN RAW RAWSTRING SSTRING STRING TIMS UNIT'; - - var keywords = - 'IF RETURN WHILE CASE DEFAULT DO ELSE FOR ENDIF ELSEIF EQ NOT AND DATA TYPES SELETION-SCREEN PARAMETERS ' + - 'FIELD-SYMBOLS EXTERN INLINE REPORT WRITE APPEND SELECT ENDSELECT CALL METHOD CALL FUNCTION LOOP ENDLOOP ' + - 'RAISE READ TABLE CONCATENATE SPLIT SHIFT CONDENSE DESCRIBE CLEAR ENDFUNCTION ASSIGN CREATE DATA TRANSLATE ' + - 'CONTINUE START-OF-SELECTION AT SELECTION-SCREEN MODIFY CALL SCREEN CREATE OBJECT PERFORM FORM ENDFORM ' + - 'REUSE_ALV_BLOCK_LIST_INIT ZBCIALV INCLUDE TYPE REF TO TYPE BEGIN\SOF END\SOF LIKE INTO FROM WHERE ORDER BY ' + - 'WITH KEY INTO STRING SEPARATED BY EXPORTING IMPORTING TO UPPER CASE TO EXCEPTIONS TABLES USING CHANGING'; - - this.regexList = [ - { regex: new RegExp('^\\*.*$', 'gm'), css: 'comment' }, // one line comments - { regex: new RegExp('\\".*$', 'gm'), css: 'comment' }, // one line comments - { regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // strings - { regex: new RegExp(this.GetKeywords(datatypes), 'gm'), css: 'datatypes' }, - { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' } - ]; - - this.CssClass = 'dp-abap'; -} - -dp.sh.Brushes.Abap.prototype = new dp.sh.Highlighter(); -dp.sh.Brushes.Abap.Aliases = ['abap', 'Abap']; \ No newline at end of file diff --git a/modules/editor/components/code_highlighter/script/shBrushBash.js b/modules/editor/components/code_highlighter/script/shBrushBash.js deleted file mode 100644 index 8bc123815..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushBash.js +++ /dev/null @@ -1,51 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.Bash = function() -{ - var keywords = 'if fi then elif else for do done until while break continue case function return in eq ne gt lt ge le'; - var commands = 'alias apropos awk bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' + - 'cksum clear cmp comm command cp cron crontab csplit cut date dc dd ddrescue declare df ' + - 'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' + - 'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' + - 'free fsck ftp gawk getopts grep groups gzip hash head history hostname id ifconfig ' + - 'import install join kill less let ln local locate logname logout look lpc lpr lprint ' + - 'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' + - 'mv netstat nice nl nohup nslookup open op passwd paste pathchk ping popd pr printcap ' + - 'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' + - 'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' + - 'sleep sort source split ssh strace su sudo sum symlink sync tail tar tee test time ' + - 'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' + - 'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' + - 'vi watch wc whereis which who whoami Wget xargs yes' - ; - - this.regexList = [ - { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments - { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings - { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords - { regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' } // commands - ]; -} - -SyntaxHighlighter.brushes.Bash.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.Bash.aliases = ['bash', 'shell']; - diff --git a/modules/editor/components/code_highlighter/script/shBrushCSharp.js b/modules/editor/components/code_highlighter/script/shBrushCSharp.js deleted file mode 100644 index f90422d8c..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushCSharp.js +++ /dev/null @@ -1,56 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.CSharp = function() -{ - var keywords = 'abstract as base bool break byte case catch char checked class const ' + - 'continue decimal default delegate do double else enum event explicit ' + - 'extern false finally fixed float for foreach get goto if implicit in int ' + - 'interface internal is lock long namespace new null object operator out ' + - 'override params private protected public readonly ref return sbyte sealed set ' + - 'short sizeof stackalloc static string struct switch this throw true try ' + - 'typeof uint ulong unchecked unsafe ushort using virtual void while'; - - function fixComments(match, regexInfo) - { - var css = (match[0].indexOf("///") == 0) - ? 'color1' - : 'comments' - ; - - return [new SyntaxHighlighter.Match(match[0], match.index, css)]; - } - - this.regexList = [ - { regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line comments - { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments - { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings - { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings - { regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion - { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // c# keyword - ]; - - this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); -}; - -SyntaxHighlighter.brushes.CSharp.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.CSharp.aliases = ['c#', 'c-sharp', 'csharp']; - diff --git a/modules/editor/components/code_highlighter/script/shBrushCpp.js b/modules/editor/components/code_highlighter/script/shBrushCpp.js deleted file mode 100644 index f6b4be666..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushCpp.js +++ /dev/null @@ -1,91 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.Cpp = function() -{ - // Copyright 2006 Shin, YoungJin - - var datatypes = 'ATOM BOOL BOOLEAN BYTE CHAR COLORREF DWORD DWORDLONG DWORD_PTR ' + - 'DWORD32 DWORD64 FLOAT HACCEL HALF_PTR HANDLE HBITMAP HBRUSH ' + - 'HCOLORSPACE HCONV HCONVLIST HCURSOR HDC HDDEDATA HDESK HDROP HDWP ' + - 'HENHMETAFILE HFILE HFONT HGDIOBJ HGLOBAL HHOOK HICON HINSTANCE HKEY ' + - 'HKL HLOCAL HMENU HMETAFILE HMODULE HMONITOR HPALETTE HPEN HRESULT ' + - 'HRGN HRSRC HSZ HWINSTA HWND INT INT_PTR INT32 INT64 LANGID LCID LCTYPE ' + - 'LGRPID LONG LONGLONG LONG_PTR LONG32 LONG64 LPARAM LPBOOL LPBYTE LPCOLORREF ' + - 'LPCSTR LPCTSTR LPCVOID LPCWSTR LPDWORD LPHANDLE LPINT LPLONG LPSTR LPTSTR ' + - 'LPVOID LPWORD LPWSTR LRESULT PBOOL PBOOLEAN PBYTE PCHAR PCSTR PCTSTR PCWSTR ' + - 'PDWORDLONG PDWORD_PTR PDWORD32 PDWORD64 PFLOAT PHALF_PTR PHANDLE PHKEY PINT ' + - 'PINT_PTR PINT32 PINT64 PLCID PLONG PLONGLONG PLONG_PTR PLONG32 PLONG64 POINTER_32 ' + - 'POINTER_64 PSHORT PSIZE_T PSSIZE_T PSTR PTBYTE PTCHAR PTSTR PUCHAR PUHALF_PTR ' + - 'PUINT PUINT_PTR PUINT32 PUINT64 PULONG PULONGLONG PULONG_PTR PULONG32 PULONG64 ' + - 'PUSHORT PVOID PWCHAR PWORD PWSTR SC_HANDLE SC_LOCK SERVICE_STATUS_HANDLE SHORT ' + - 'SIZE_T SSIZE_T TBYTE TCHAR UCHAR UHALF_PTR UINT UINT_PTR UINT32 UINT64 ULONG ' + - 'ULONGLONG ULONG_PTR ULONG32 ULONG64 USHORT USN VOID WCHAR WORD WPARAM WPARAM WPARAM ' + - 'char bool short int __int32 __int64 __int8 __int16 long float double __wchar_t ' + - 'clock_t _complex _dev_t _diskfree_t div_t ldiv_t _exception _EXCEPTION_POINTERS ' + - 'FILE _finddata_t _finddatai64_t _wfinddata_t _wfinddatai64_t __finddata64_t ' + - '__wfinddata64_t _FPIEEE_RECORD fpos_t _HEAPINFO _HFILE lconv intptr_t ' + - 'jmp_buf mbstate_t _off_t _onexit_t _PNH ptrdiff_t _purecall_handler ' + - 'sig_atomic_t size_t _stat __stat64 _stati64 terminate_function ' + - 'time_t __time64_t _timeb __timeb64 tm uintptr_t _utimbuf ' + - 'va_list wchar_t wctrans_t wctype_t wint_t signed'; - - var keywords = 'break case catch class const __finally __exception __try ' + - 'const_cast continue private public protected __declspec ' + - 'default delete deprecated dllexport dllimport do dynamic_cast ' + - 'else enum explicit extern if for friend goto inline ' + - 'mutable naked namespace new noinline noreturn nothrow ' + - 'register reinterpret_cast return selectany ' + - 'sizeof static static_cast struct switch template this ' + - 'thread throw true false try typedef typeid typename union ' + - 'using uuid virtual void volatile whcar_t while'; - - var functions = 'assert isalnum isalpha iscntrl isdigit isgraph islower isprint' + - 'ispunct isspace isupper isxdigit tolower toupper errno localeconv ' + - 'setlocale acos asin atan atan2 ceil cos cosh exp fabs floor fmod ' + - 'frexp ldexp log log10 modf pow sin sinh sqrt tan tanh jmp_buf ' + - 'longjmp setjmp raise signal sig_atomic_t va_arg va_end va_start ' + - 'clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen ' + - 'fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell ' + - 'fwrite getc getchar gets perror printf putc putchar puts remove ' + - 'rename rewind scanf setbuf setvbuf sprintf sscanf tmpfile tmpnam ' + - 'ungetc vfprintf vprintf vsprintf abort abs atexit atof atoi atol ' + - 'bsearch calloc div exit free getenv labs ldiv malloc mblen mbstowcs ' + - 'mbtowc qsort rand realloc srand strtod strtol strtoul system ' + - 'wcstombs wctomb memchr memcmp memcpy memmove memset strcat strchr ' + - 'strcmp strcoll strcpy strcspn strerror strlen strncat strncmp ' + - 'strncpy strpbrk strrchr strspn strstr strtok strxfrm asctime ' + - 'clock ctime difftime gmtime localtime mktime strftime time'; - - this.regexList = [ - { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments - { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments - { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings - { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings - { regex: /^ *#.*/gm, css: 'preprocessor' }, - { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'color1 bold' }, - { regex: new RegExp(this.getKeywords(functions), 'gm'), css: 'functions bold' }, - { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword bold' } - ]; -}; - -SyntaxHighlighter.brushes.Cpp.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.Cpp.aliases = ['cpp', 'c']; diff --git a/modules/editor/components/code_highlighter/script/shBrushCss.js b/modules/editor/components/code_highlighter/script/shBrushCss.js deleted file mode 100644 index f0925cc1c..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushCss.js +++ /dev/null @@ -1,85 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.CSS = function() -{ - function getKeywordsCSS(str) - { - return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b'; - }; - - function getValuesCSS(str) - { - return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b'; - }; - - var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' + - 'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' + - 'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' + - 'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' + - 'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' + - 'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' + - 'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' + - 'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' + - 'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' + - 'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' + - 'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' + - 'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' + - 'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' + - 'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index'; - - var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+ - 'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+ - 'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+ - 'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+ - 'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+ - 'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+ - 'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+ - 'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+ - 'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+ - 'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+ - 'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+ - 'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+ - 'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+ - 'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow'; - - var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif'; - - this.regexList = [ - { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments - { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings - { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings - { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors - { regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g, css: 'value' }, // sizes - { regex: /!important/g, css: 'color3' }, // !important - { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords - { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values - { regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts - ]; - - this.forHtmlScript({ - left: /(<|<)\s*style.*?(>|>)/gi, - right: /(<|<)\/\s*style\s*(>|>)/gi - }); -}; - -SyntaxHighlighter.brushes.CSS.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.CSS.aliases = ['css']; diff --git a/modules/editor/components/code_highlighter/script/shBrushDelphi.js b/modules/editor/components/code_highlighter/script/shBrushDelphi.js deleted file mode 100644 index beb0a7dc2..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushDelphi.js +++ /dev/null @@ -1,49 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.Delphi = function() -{ - var keywords = 'abs addr and ansichar ansistring array as asm begin boolean byte cardinal ' + - 'case char class comp const constructor currency destructor div do double ' + - 'downto else end except exports extended false file finalization finally ' + - 'for function goto if implementation in inherited int64 initialization ' + - 'integer interface is label library longint longword mod nil not object ' + - 'of on or packed pansichar pansistring pchar pcurrency pdatetime pextended ' + - 'pint64 pointer private procedure program property pshortstring pstring ' + - 'pvariant pwidechar pwidestring protected public published raise real real48 ' + - 'record repeat set shl shortint shortstring shr single smallint string then ' + - 'threadvar to true try type unit until uses val var varirnt while widechar ' + - 'widestring with word write writeln xor'; - - this.regexList = [ - { regex: /\(\*[\s\S]*?\*\)/gm, css: 'comments' }, // multiline comments (* *) - { regex: /{(?!\$)[\s\S]*?}/gm, css: 'comments' }, // multiline comments { } - { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line - { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings - { regex: /\{\$[a-zA-Z]+ .+\}/g, css: 'color1' }, // compiler Directives and Region tags - { regex: /\b[\d\.]+\b/g, css: 'value' }, // numbers 12345 - { regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // numbers $F5D3 - { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword - ]; -}; - -SyntaxHighlighter.brushes.Delphi.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.Delphi.aliases = ['delphi', 'pascal']; diff --git a/modules/editor/components/code_highlighter/script/shBrushDiff.js b/modules/editor/components/code_highlighter/script/shBrushDiff.js deleted file mode 100644 index fbdde3fb5..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushDiff.js +++ /dev/null @@ -1,35 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.Diff = function() -{ - this.regexList = [ - { regex: /^\+\+\+.*$/gm, css: 'color2' }, - { regex: /^\-\-\-.*$/gm, css: 'color2' }, - { regex: /^\s.*$/gm, css: 'color1' }, - { regex: /^@@.*@@$/gm, css: 'variable' }, - { regex: /^\+[^\+]{1}.*$/gm, css: 'string' }, - { regex: /^\-[^\-]{1}.*$/gm, css: 'comments' } - ]; -}; - -SyntaxHighlighter.brushes.Diff.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.Diff.aliases = ['diff', 'patch']; diff --git a/modules/editor/components/code_highlighter/script/shBrushGroovy.js b/modules/editor/components/code_highlighter/script/shBrushGroovy.js deleted file mode 100644 index 7f94ff2e2..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushGroovy.js +++ /dev/null @@ -1,61 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.Groovy = function() -{ - // Contributed by Andres Almiray - // http://jroller.com/aalmiray/entry/nice_source_code_syntax_highlighter - - var keywords = 'as assert break case catch class continue def default do else extends finally ' + - 'if in implements import instanceof interface new package property return switch ' + - 'throw throws try while public protected private static'; - var types = 'void boolean byte char short int long float double'; - var constants = 'null'; - var methods = 'allProperties count get size '+ - 'collect each eachProperty eachPropertyName eachWithIndex find findAll ' + - 'findIndexOf grep inject max min reverseEach sort ' + - 'asImmutable asSynchronized flatten intersect join pop reverse subMap toList ' + - 'padRight padLeft contains eachMatch toCharacter toLong toUrl tokenize ' + - 'eachFile eachFileRecurse eachB yte eachLine readBytes readLine getText ' + - 'splitEachLine withReader append encodeBase64 decodeBase64 filterLine ' + - 'transformChar transformLine withOutputStream withPrintWriter withStream ' + - 'withStreams withWriter withWriterAppend write writeLine '+ - 'dump inspect invokeMethod print println step times upto use waitForOrKill '+ - 'getText'; - - this.regexList = [ - { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments - { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments - { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings - { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings - { regex: /""".*"""/g, css: 'string' }, // GStrings - { regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers - { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword - { regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type - { regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants - { regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods - ]; - - this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); -} - -SyntaxHighlighter.brushes.Groovy.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.Groovy.aliases = ['groovy']; diff --git a/modules/editor/components/code_highlighter/script/shBrushJScript.js b/modules/editor/components/code_highlighter/script/shBrushJScript.js deleted file mode 100644 index 40905a7f3..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushJScript.js +++ /dev/null @@ -1,43 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.JScript = function() -{ - var keywords = 'abstract boolean break byte case catch char class const continue debugger ' + - 'default delete do double else enum export extends false final finally float ' + - 'for function goto if implements import in instanceof int interface long native ' + - 'new null package private protected public return short static super switch ' + - 'synchronized this throw throws transient true try typeof var void volatile while with'; - - this.regexList = [ - { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments - { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments - { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings - { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings - { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion - { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords - ]; - - this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags); -}; - -SyntaxHighlighter.brushes.JScript.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.JScript.aliases = ['js', 'jscript', 'javascript']; diff --git a/modules/editor/components/code_highlighter/script/shBrushJava.js b/modules/editor/components/code_highlighter/script/shBrushJava.js deleted file mode 100644 index fb77c5264..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushJava.js +++ /dev/null @@ -1,47 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.Java = function() -{ - var keywords = 'abstract assert boolean break byte case catch char class const ' + - 'continue default do double else enum extends ' + - 'false final finally float for goto if implements import ' + - 'instanceof int interface long native new null ' + - 'package private protected public return ' + - 'short static strictfp super switch synchronized this throw throws true ' + - 'transient try void volatile while'; - - this.regexList = [ - { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments - { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments - { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings - { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings - { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers - { regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno - { regex: /\@interface\b/g, css: 'color2' }, // @interface keyword - { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword - ]; - - this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); -}; - -SyntaxHighlighter.brushes.Java.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.Java.aliases = ['java']; diff --git a/modules/editor/components/code_highlighter/script/shBrushPhp.js b/modules/editor/components/code_highlighter/script/shBrushPhp.js deleted file mode 100644 index 91653c26e..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushPhp.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.Php = function() -{ - var funcs = 'abs acos acosh addcslashes addslashes ' + - 'array_change_key_case array_chunk array_combine array_count_values array_diff '+ - 'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+ - 'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+ - 'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+ - 'array_merge array_merge_recursive array_multisort array_pad array_pop array_product '+ - 'array_push array_rand array_reduce array_reverse array_search array_shift '+ - 'array_slice array_splice array_sum array_udiff array_udiff_assoc '+ - 'array_udiff_uassoc array_uintersect array_uintersect_assoc '+ - 'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+ - 'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+ - 'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress '+ - 'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir '+ - 'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists '+ - 'closedir closelog copy cos cosh count count_chars date decbin dechex decoct '+ - 'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log '+ - 'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded '+ - 'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents '+ - 'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype '+ - 'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf '+ - 'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname '+ - 'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt '+ - 'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext '+ - 'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set '+ - 'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double '+ - 'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long '+ - 'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault '+ - 'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br '+ - 'parse_ini_file parse_str parse_url passthru pathinfo readlink realpath rewind rewinddir rmdir '+ - 'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split '+ - 'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes '+ - 'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk '+ - 'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime '+ - 'strtoupper strtr strval substr substr_compare'; - - var keywords = 'and or xor array as break case ' + - 'cfunction class const continue declare default die do else ' + - 'elseif empty enddeclare endfor endforeach endif endswitch endwhile ' + - 'extends for foreach function include include_once global if ' + - 'new old_function return static switch use require require_once ' + - 'var while abstract interface public implements extends private protected throw'; - - var constants = '__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__'; - - this.regexList = [ - { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments - { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments - { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings - { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings - { regex: /\$\w+/g, css: 'variable' }, // variables - { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions - { regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants - { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword - ]; - - this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags); -}; - -SyntaxHighlighter.brushes.Php.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.Php.aliases = ['php']; diff --git a/modules/editor/components/code_highlighter/script/shBrushPlain.js b/modules/editor/components/code_highlighter/script/shBrushPlain.js deleted file mode 100644 index ce1e8b75e..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushPlain.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.Plain = function() -{ -}; - -SyntaxHighlighter.brushes.Plain.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.Plain.aliases = ['text', 'plain']; diff --git a/modules/editor/components/code_highlighter/script/shBrushPython.js b/modules/editor/components/code_highlighter/script/shBrushPython.js deleted file mode 100644 index 07bf8cd0a..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushPython.js +++ /dev/null @@ -1,48 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.Python = function() -{ - // Contributed by Gheorghe Milas - - var keywords = 'and assert break class continue def del elif else ' + - 'except exec finally for from global if import in is ' + - 'lambda not or pass print raise return try yield while'; - - var special = 'None True False self cls class_'; - - this.regexList = [ - { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, - { regex: /^\s*@\w+/gm, css: 'decorator' }, - { regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' }, - { regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' }, - { regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' }, - { regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' }, - { regex: /\b\d+\.?\w*/g, css: 'value' }, - { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, - { regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' } - ]; - - this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); -}; - -SyntaxHighlighter.brushes.Python.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.Python.aliases = ['py', 'python']; diff --git a/modules/editor/components/code_highlighter/script/shBrushRuby.js b/modules/editor/components/code_highlighter/script/shBrushRuby.js deleted file mode 100644 index af978150f..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushRuby.js +++ /dev/null @@ -1,49 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.Ruby = function() -{ - // Contributed by Erik Peterson. - - var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' + - 'END end ensure false for if in module new next nil not or raise redo rescue retry return ' + - 'self super then throw true undef unless until when while yield'; - - var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' + - 'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' + - 'ThreadGroup Thread Time TrueClass'; - - this.regexList = [ - { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments - { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings - { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings - { regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants - { regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols - { regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class variables - { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords - { regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins - ]; - - this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); -}; - -SyntaxHighlighter.brushes.Ruby.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.Ruby.aliases = ['ruby', 'rails', 'ror']; diff --git a/modules/editor/components/code_highlighter/script/shBrushScala.js b/modules/editor/components/code_highlighter/script/shBrushScala.js deleted file mode 100644 index 6aa94fdec..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushScala.js +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Code Syntax Highlighter. - * Version 1.5.2 - * Copyright (C) 2004-2008 Alex Gorbatchev - * http://www.dreamprojections.com/syntaxhighlighter/ - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, version 3 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -/** Contributed by Yegor Jbanov and David Bernard. */ -dp.sh.Brushes.Scala = function() -{ - var keywords = 'val sealed case def true trait implicit forSome import match object null finally super ' + - 'override try lazy for var catch throw type extends class while with new final yield abstract ' + - 'else do if return protected private this package false'; - - var keyops = '[_:=><%#@]+'; - - this.regexList = [ - { regex: dp.sh.RegexLib.SingleLineCComments, css: 'comment' }, // one line comments - { regex: dp.sh.RegexLib.MultiLineCComments, css: 'comment' }, // multiline comments - { regex: new RegExp("(['\"]{3})([^\\1])*?\\1", 'gm'), css: 'string' }, // multi-line strings - { regex: new RegExp('"(?!")(?:\\.|\\\\\\"|[^\\""\\n\\r])*"', 'gm'), css: 'string' }, // double-quoted string - { regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // strings - { regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'number' }, // numbers - { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' }, // keywords - { regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword - ]; - - this.CssClass = 'dp-j'; - this.Style = '.dp-j .annotation { color: #646464; }' + - '.dp-j .number { color: #C00000; }'; -} - -dp.sh.Brushes.Scala.prototype = new dp.sh.Highlighter(); -dp.sh.Brushes.Scala.Aliases = ['scala']; diff --git a/modules/editor/components/code_highlighter/script/shBrushSql.js b/modules/editor/components/code_highlighter/script/shBrushSql.js deleted file mode 100644 index 566f8c0ea..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushSql.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.Sql = function() -{ - var funcs = 'abs avg case cast coalesce convert count current_timestamp ' + - 'current_user day isnull left lower month nullif replace right ' + - 'session_user space substring sum system_user upper user year'; - - var keywords = 'absolute action add after alter as asc at authorization begin bigint ' + - 'binary bit by cascade char character check checkpoint close collate ' + - 'column commit committed connect connection constraint contains continue ' + - 'create cube current current_date current_time cursor database date ' + - 'deallocate dec decimal declare default delete desc distinct double drop ' + - 'dynamic else end end-exec escape except exec execute false fetch first ' + - 'float for force foreign forward free from full function global goto grant ' + - 'group grouping having hour ignore index inner insensitive insert instead ' + - 'int integer intersect into is isolation key last level load local max min ' + - 'minute modify move name national nchar next no numeric of off on only ' + - 'open option order out output partial password precision prepare primary ' + - 'prior privileges procedure public read real references relative repeatable ' + - 'restrict return returns revoke rollback rollup rows rule schema scroll ' + - 'second section select sequence serializable set size smallint static ' + - 'statistics table temp temporary then time timestamp to top transaction ' + - 'translation trigger true truncate uncommitted union unique update values ' + - 'varchar varying view when where with work'; - - var operators = 'all and any between cross in join like not null or outer some'; - - this.regexList = [ - { regex: /--(.*)$/gm, css: 'comments' }, // one line and multiline comments - { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings - { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings - { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions - { regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such - { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword - ]; -}; - -SyntaxHighlighter.brushes.Sql.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.Sql.aliases = ['sql']; - diff --git a/modules/editor/components/code_highlighter/script/shBrushVb.js b/modules/editor/components/code_highlighter/script/shBrushVb.js deleted file mode 100644 index 879305fea..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushVb.js +++ /dev/null @@ -1,50 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.Vb = function() -{ - var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' + - 'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' + - 'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' + - 'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' + - 'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' + - 'Function Get GetType GoSub GoTo Handles If Implements Imports In ' + - 'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' + - 'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' + - 'NotInheritable NotOverridable Object On Option Optional Or OrElse ' + - 'Overloads Overridable Overrides ParamArray Preserve Private Property ' + - 'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' + - 'Return Select Set Shadows Shared Short Single Static Step Stop String ' + - 'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' + - 'Variant When While With WithEvents WriteOnly Xor'; - - this.regexList = [ - { regex: /'.*$/gm, css: 'comments' }, // one line comments - { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings - { regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion - { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword - ]; - - this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); -}; - -SyntaxHighlighter.brushes.Vb.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.Vb.aliases = ['vb', 'vbnet']; diff --git a/modules/editor/components/code_highlighter/script/shBrushXml.js b/modules/editor/components/code_highlighter/script/shBrushXml.js deleted file mode 100644 index e35ffd0f0..000000000 --- a/modules/editor/components/code_highlighter/script/shBrushXml.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -SyntaxHighlighter.brushes.Xml = function() -{ - function process(match, regexInfo) - { - var constructor = SyntaxHighlighter.Match, - code = match[0], - tag = new XRegExp('(<|<)[\\s\\/\\?]*(?[:\\w-\\.]+)', 'xg').exec(code), - result = [] - ; - - if (match.attributes != null) - { - var attributes, - regex = new XRegExp('(? [\\w:\\-\\.]+)' + - '\\s*=\\s*' + - '(? ".*?"|\'.*?\'|\\w+)', - 'xg'); - - while ((attributes = regex.exec(code)) != null) - { - result.push(new constructor(attributes.name, match.index + attributes.index, 'color1')); - result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string')); - } - } - - if (tag != null) - result.push( - new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword') - ); - - return result; - } - - this.regexList = [ - { regex: new XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'), css: 'color2' }, // - { regex: new XRegExp('(\\<|<)!--\\s*.*?\\s*--(\\>|>)', 'gm'), css: 'comments' }, // - { regex: new XRegExp('(<|<)[\\s\\/\\?]*(\\w+)(?.*?)[\\s\\/\\?]*(>|>)', 'sg'), func: process } - ]; -}; - -SyntaxHighlighter.brushes.Xml.prototype = new SyntaxHighlighter.Highlighter(); -SyntaxHighlighter.brushes.Xml.aliases = ['xml', 'xhtml', 'xslt', 'html', 'xhtml']; diff --git a/modules/editor/components/code_highlighter/script/shCore.js b/modules/editor/components/code_highlighter/script/shCore.js deleted file mode 100644 index 85f8c0b11..000000000 --- a/modules/editor/components/code_highlighter/script/shCore.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('f(!1h.2I){l 2I=h(){l p={61:{"1b-1d":"","7f-2R":1,"1W-1P":u,"1B":u,"85-6L":U,"1H-1P":4,"5p":M,"5z":U,"1u":U,"5E":M,"7R-6e":U,"6n":M},R:{59:u,4x:16,4P:16,8h:M,7I:"4p",1n:{4t:"98 1c",4o:"99 1c",67:"97 96 7C",6y:"93 I 94 2a 95 7C 9a",38:"38",6B:"?",1q:"2I\\n\\n",6t:"9b\'t 9h 7J C: ",6b:"9i 9g\'t 9f C 2c-2q 9c: ",77:"<2c 8K=\\"2j://8e.8f.8c/8L/8M\\"><84><8S 2j-8T=\\"8Z-90\\" 5u=\\"2g/2c; 8Y=8X-8\\" /><4O>8U 2I<2E 1g=\\"1W-6l:8V,\\"6g 8W 9j\\",6g,5Y;9k-4H:#9J;4H:#9K;1W-1P:9I;2g-6r:6p;\\">2I5T 2.0.9N (9O 9P 6C)2j://74.589s I 9p 9o.9l 9m-6C 9n 9t."},7F:M},1t:{5j:u,3w:u,3f:u,5F:{}},2T:{},7b:{9u:/\\/\\*[\\s\\S]*?\\*\\//4G,9A:/\\/\\/.*$/4G,9B:/#.*$/4G,9y:/"(?:\\.|(\\\\\\")|[^\\""\\n])*"/g,9v:/\'(?:\\.|(\\\\\\\')|[^\\\'\'\\n])*\'/g,9w:/"(?:\\.|(\\\\\\")|[^\\""])*"/g,9x:/\'(?:\\.|(\\\\\\\')|[^\\\'\'])*\'/g,3L:/\\w+:\\/\\/[\\w-.\\/?%&=]*/g,9U:{D:/(&1I;|<)\\?=?/g,19:/\\?(&2x;|>)/g},8r:{D:/(&1I;|<)%=?/g,19:/%(&2x;|>)/g},8s:{D:/(&1I;|<)\\s*2q.*?(&2x;|>)/4l,19:/(&1I;|<)\\/\\s*2q\\s*(&2x;|>)/4l}},1u:{18:h(3G){l 3E=J.1w("39"),4F=p.1u.7V;3E.Z="1u";C(l 2J 2a 4F){l 6J=4F[2J],4D=Q 6J(3G),1V=4D.18();3G.5o[2J]=4D;f(1V==u){1O}f(8I(1V)=="8H"){1V=p.1u.6T(1V,3G.1j,2J)}1V.Z+="8z "+2J;3E.1K(1V)}q 3E},6T:h(4M,6Y,4N){l a=J.1w("a"),4L=a.1g,4J=p.R,4K=4J.4x,4C=4J.4P;a.2e="#"+4N;a.4O=4M;a.4Q=6Y;a.6q=4N;a.1x=4M;f(5r(4K)==M){4L.1M=4K+"5q"}f(5r(4C)==M){4L.2i=4C+"5q"}a.8p=h(e){8k{p.1u.6W(c,e||1h.68,c.4Q,c.6q)}8l(e){p.B.1q(e.6M)}q M};q a},6W:h(7Z,89,81,86,7W){l 4B=p.1t.5F[81],4s;f(4B==u||(4s=4B.5o[86])==u){q u}q 4s.2f(7Z,89,7W)},7V:{4t:h(4r){c.18=h(){f(4r.T("5E")!=U){q}q p.R.1n.4t};c.2f=h(4q,8C,8w){l z=4r.z;4q.7x.4j(4q);z.Z=z.Z.E("5D","")}},4o:h(7N){c.18=h(){q p.R.1n.4o};c.2f=h(8o,8E,8x){l 3C=p.B.3y(7N.5B).E(/"+3C+"");2d.J.54()}},67:h(5c){l 3c,9G,5a=5c.1j;c.18=h(){l 2K=p.R;f(1h.70.a8=="b8:"||2K.59==u){q u}h 1y(4u){l 4A="";C(l 4v 2a 4u){4A+=""}q 4A};h 2k(4z){l 4w="";C(l 4y 2a 4z){4w+=" "+4y+"=\'"+4z[4y]+"\'"}q 4w};l 56={1M:2K.4x,2i:2K.4P,1j:5a+"b6",6w:"b4/x-6c-6o"},57={b5:"b9",ba:"bf",be:"4Q="+5a,bd:"M"},5b=2K.59,3a;f(/bc/i.1X(80.83)){3a="<5R"+2k({b3:"b2:aU-aT-aS-aQ-aR",aW:"2j://b0.aZ.58/aX/6c/bh/6o/bg.bm#5T=9,0,0,0"})+2k(56)+">"+1y(57)+1y({bD:5b})+""}F{3a=""}3c=J.1w("z");3c.1x=3a;q 3c};c.2f=h(bE,bF,5g){l 71=5g.by;6V(71){2H"5Q":l 5h=p.B.2z(p.B.3y(5c.5B).E(/&1I;/g,"<").E(/&2x;/g,">").E(/&bw;/g,"&"));f(1h.6P){1h.6P.bx("2g",5h)}F{q p.B.2z(5h)}2H"bl":p.B.1q(p.R.1n.6y);30;2H"bk":p.B.1q(5g.6M);30}}},bi:h(5f){c.18=h(){q p.R.1n.38};c.2f=h(bj,bo,9V){l 1U=J.1w("bv"),1J=u;f(p.1t.3f!=u){J.2E.4j(p.1t.3f)}p.1t.3f=1U;1U.1g.bu="bt:bq;1M:6H;2i:6H;D:-6G;4S:-6G;";J.2E.1K(1U);1J=1U.5d.J;6F(1J,1h.J);1J.35(""+5f.z.1x+"");1J.54();1U.5d.52();1U.5d.38();h 6F(6x,6E){l 2L=6E.7v("5e");C(l i=0;i<2L.v;i++){f(2L[i].6v.aP()=="6z"&&/ac\\.12$/.1X(2L[i].2e)){6x.35("<5e 6w=\\"2g/12\\" 6v=\\"6z\\" 2e=\\""+2L[i].2e+"\\">")}}}}},af:h(ag){c.18=h(){q p.R.1n.6B};c.2f=h(al,ak){l 2d=p.B.4R("","55",ah,ai,"75=0"),1J=2d.J;1J.35(p.R.1n.77);1J.54();2d.52()}}}},B:{5w:h(6Z){q 6Z+3I.a0(3I.9Y()*9W).2t()},5H:h(4V,4U){l 3g={},20;C(20 2a 4V){3g[20]=4V[20]}C(20 2a 4U){3g[20]=4U[20]}q 3g},5V:h(4T){6V(4T){2H"U":q U;2H"M":q M}q 4T},4R:h(3L,63,4W,4n,2G){l x=(79.1M-4W)/2,y=(79.2i-4n)/2;2G+=", D="+x+", 4S="+y+", 1M="+4W+", 2i="+4n;2G=2G.E(/^,/,"");l 51=1h.a2(3L,63,2G);51.52();q 51},7D:h(1L,23,1Z){f(1L.5X){1L["e"+23+1Z]=1Z;1L[23+1Z]=h(){1L["e"+23+1Z](1h.68)};1L.5X("a6"+23,1L[23+1Z])}F{1L.a3(23,1Z,M)}},1q:h(A){1q(p.R.1n.1q+A)},41:h(4Z,65){l 2y=p.1t.5j,3l=u;f(2y==u){2y={};C(l 4Y 2a p.2T){l 3k=p.2T[4Y].am;f(3k==u){1O}C(l i=0;i<3k.v;i++){2y[3k[i]]=4Y}}p.1t.5j=2y}3l=p.2T[2y[4Z]];f(3l==u&&65!=M){p.B.1q(p.R.1n.6t+4Z)}q 3l},4a:h(A,6m){l 2C=A.27("\\n");C(l i=0;i<2C.v;i++){2C[i]=6m(2C[i])}q 2C.5n("\\n")},7q:h(){l z=J.1w("z"),3m=J.1w("z"),6s=10,i=1;1S(i<=aE){f(i%6s===0){z.1x+=i;i+=(i+"").v}F{z.1x+="&aC;";i++}}3m.Z="5p 2R";3m.1K(z);q 3m},6D:h(A){q A.E(/^[ ]*[\\n]+|[\\n]*[ ]*$/g,"")},7H:h(A){l 3i,3V={},5i=Q O("^\\\\[(?<4f>(.*?))\\\\]$"),6k=Q O("(?<1d>[\\\\w-]+)"+"\\\\s*:\\\\s*"+"(?<1N>"+"[\\\\w-%#]+|"+"\\\\[.*?\\\\]|"+"\\".*?\\"|"+"\'.*?\'"+")\\\\s*;?","g");1S((3i=6k.N(A))!=u){l 2u=3i.1N.E(/^[\'"]|[\'"]$/g,"");f(2u!=u&&5i.1X(2u)){l m=5i.N(2u);2u=m.4f.v>0?m.4f.27(/\\s*,\\s*/):[]}3V[3i.1d]=2u}q 3V},6a:h(A,12){f(A==u||A.v==0||A=="\\n"){q A}A=A.E(/"+2s+""})}q A},7P:h(6f,7a){l 2D=6f.2t();1S(2D.v<7a){2D="0"+2D}q 2D},5G:h(){l 36=J.1w("z"),3h,37=0,4i=J.2E,1j=p.B.5w("5G"),2F="",4h="";36.1x=2F+"6u\\">"+2F+"28\\">"+2F+"2R\\">"+2F+"5u"+"\\"><1Q 1b=\\"7Q\\"><1Q 1j=\\""+1j+"\\">&1R;"+4h+4h+2M+2M+2M+2M;4i.1K(36);3h=J.aJ(1j);f(/aK/i.1X(80.83)){l 87=1h.aB(3h,u);37=7i(87.aA("1M"))}F{37=3h.as}4i.4j(36);q 37},72:h(7U,7T){l 1H="";C(l i=0;i<7T;i++){1H+=" "}q 7U.E(/\\t/g,1H)},6A:h(2N,4c){l ar=2N.27("\\n"),1H="\\t",47="";C(l i=0;i<50;i++){47+=" "}h 8j(3e,17,88){q 3e.22(0,17)+47.22(0,88)+3e.22(17+1,3e.v)};2N=p.B.4a(2N,h(24){f(24.1e(1H)==-1){q 24}l 17=0;1S((17=24.1e(1H))!=-1){l 8g=4c-17%4c;24=8j(24,17,8g)}q 24});q 2N},3y:h(A){q(p.R.8h==U)?A.E(/|&1I;br\\s*\\/?&2x;/4l,"\\n"):A},3O:h(A){q A.E(/\\s*$/g,"").E(/^\\s*/,"")},2z:h(A){l 29=p.B.3y(A).27("\\n"),az=Q 5A(),7X=/^\\s*/,25=ay;C(l i=0;i<29.v&&25>0;i++){l 43=29[i];f(p.B.3O(43).v==0){1O}l 44=7X.N(43);f(44==u){q A}25=3I.25(44[0].v,25)}f(25>0){C(l i=0;i<29.v;i++){29[i]=29[i].22(25)}}q 29.5n("\\n")},7K:h(2U,2V){f(2U.H<2V.H){q-1}F{f(2U.H>2V.H){q 1}F{f(2U.v<2V.v){q-1}F{f(2U.v>2V.v){q 1}}}}q 0},2Q:h(7l,2Y){h 7r(3X,7s){q[Q p.4m(3X[0],3X.H,7s.12)]};l av=0,4e=u,3M=[],7k=2Y.3R?2Y.3R:7r;1S((4e=2Y.3D.N(7l))!=u){3M=3M.2P(7k(4e,2Y))}q 3M},6d:h(7c){q 7c.E(p.7b.3L,h(m){q""+m+""})}},1B:h(7G,46){h 7u(4g){l 49=[];C(l i=0;i<4g.v;i++){49.K(4g[i])}q 49};l 3J=46?[46]:7u(J.7v(p.R.7I)),7M="1x",2l=u;f(3J.v===0){q}C(l i=0;i<3J.v;i++){l 2B=3J[i],2b=p.B.7H(2B.Z),2W;2b=p.B.5H(7G,2b);2W=2b["7J"];f(2W==u){1O}f(2b["2c-2q"]=="U"){2l=Q p.4X(2W)}F{l 48=p.B.41(2W);f(48){2l=Q 48()}F{1O}}2l.1B(2B[7M],2b);l 2h=2l.z;f(p.R.7F){2h=J.1w("an");2h.1N=2l.z.1x;2h.1g.1M="a4";2h.1g.2i="a7"}2B.7x.a1(2h,2B)}},9Z:h(7B){p.B.7D(1h,"ae",h(){p.1B(7B)})}};p.4m=h(45,6i,12){c.1N=45;c.H=6i;c.v=45.v;c.12=12};p.4m.Y.2t=h(){q c.1N};p.4X=h(3S){l 1C=p.B.41(3S),3Q=Q p.2T.aO(),bn=u;f(1C==u){q}1C=Q 1C();c.5O=3Q;f(1C.3z==u){p.B.1q(p.R.1n.6b+3S);q}3Q.5s.K({3D:1C.3z.I,3R:66});h 3F(42,5Z){C(l j=0;j<42.v;j++){42[j].H+=5Z}};h 66(13,bA){l 6X=13.I,1D=[],3Y=1C.5s,6Q=13.H+13.D.v,2S=1C.3z,1o;C(l i=0;i<3Y.v;i++){1o=p.B.2Q(6X,3Y[i]);3F(1o,6Q);1D=1D.2P(1o)}f(2S.D!=u&&13.D!=u){1o=p.B.2Q(13.D,2S.D);3F(1o,13.H);1D=1D.2P(1o)}f(2S.19!=u&&13.19!=u){1o=p.B.2Q(13.19,2S.19);3F(1o,13.H+13[0].aV(13.19));1D=1D.2P(1o)}q 1D}};p.4X.Y.1B=h(6O,6R){c.5O.1B(6O,6R);c.z=c.5O.z};p.6U=h(){};p.6U.Y={T:h(64,69){l 5M=c.1y[64];q p.B.5V(5M==u?69:5M)},18:h(7j){q J.1w(7j)},7h:h(5N){C(l i=0;i2O.H)&&(5N.H<2O.H+2O.v)){q U}}q M},7y:h(3A,7L){l 2v=[];f(3A!=u){C(l i=0;i<3A.v;i++){2v=2v.2P(p.B.2Q(7L,3A[i]))}}2v=2v.aF(p.B.7K);q 2v},7w:h(){C(l i=0;i"+""+8i+"."+"<1Q 1b=\\"5u\\">"+(1A!=u?""+1A.E(/\\s/g,"&1R;")+"":"")+"<1Q 1b=\\"7Q\\" 1g=\\"5v-D: "+2r+"5q;\\">"+1v+""+""+""}q 2X},7z:h(5k,5l){l 17=0,3o="",3j=p.B.6a;C(l i=0;i<5l.v;i++){l 1z=5l[i];f(1z===u||1z.v===0){1O}3o+=3j(5k.22(17,1z.H-17),"6j")+3j(1z.1N,1z.12);17=1z.H+1z.v}3o+=3j(5k.22(17),"6j");q 3o},1B:h(1a,62){l aG=p.R,3v=p.1t,z,3d;c.1y={};c.z=u;c.28=u;c.I=u;c.2n=u;c.5o={};c.1j=p.B.5w("a5");3v.5F[c.1j]=c;f(1a===u){1a=""}f(3v.3w===u){3v.3w=p.B.5G()}c.1y=p.B.5H(p.61,62||{});f(c.T("6n")==U){c.1y.1u=c.1y.5z=M}c.z=z=c.18("39");c.28=c.18("39");c.28.Z="28";z.Z="6u";z.1j=c.1j;f(c.T("5E")){z.Z+=" 5D"}f(c.T("5z")==M){z.Z+=" a9"}z.Z+=" "+c.T("1b-1d");z.1g.aj=c.T("1W-1P","");c.5B=1a;c.I=p.B.6D(1a).E(/\\r/g," ");3d=c.T("1H-1P");c.I=c.T("85-6L")==U?p.B.6A(c.I,3d):p.B.72(c.I,3d);c.I=p.B.2z(c.I);f(c.T("1u")){c.2n=c.18("39");c.2n.Z="2n";c.2n.1K(p.1u.18(c));z.1K(c.2n)}f(c.T("5p")){z.1K(p.B.7q())}z.1K(c.28);c.26=c.7y(c.5s,c.I);c.7w();1a=c.7z(c.I,c.26);1a=c.7A(p.B.3O(1a));f(c.T("7R-6e")){1a=p.B.6d(1a)}c.28.1x=1a},8t:h(A){A=A.E(/^\\s+|\\s+$/g,"").E(/\\s+/g,"\\\\b|\\\\b");q"\\\\b"+A+"\\\\b"},8q:h(2A){c.3z={D:{3D:2A.D,12:"2q"},19:{3D:2A.19,12:"2q"},I:Q O("(?"+2A.D.1c+")"+"(?.*?)"+"(?<19>"+2A.19.1c+")","8y")}}};q p}()}f(!5A.1e){5A.Y.1e=h(73,3H){3H=3I.8D(3H||0,0);C(l i=3H;i|[5U]{[^}]+})[\\S\\s]?|\\((?=\\?(?!#|<[\\w$]+>)))+|(\\()(?:\\?(?:(#)[^)]*\\)|<([$\\w]+)>))?|\\\\(?:k<([\\w$]+)>|[5U]{([^}]+)})|(\\[\\^?)|([\\S\\s])/g,9z:/(?:[^$]+|\\$(?![1-9$&`\']|{[$\\w]+}))+|\\$(?:([1-9]\\d*|[$&`\'])|{([$\\w]+)})/g,3b:/^(?:\\s+|#.*)+/,5I:/^(?:[?*+]|{\\d+(?:,\\d*)?})/,6S:/&&\\[\\^?/g,6K:/]/g},5W=h(5x,5P,60){C(l i=60||0;i<5x.v;i++){f(5x[i]===5P){q i}}q-1},7t=/()??/.N("")[1]!==33,3t={};O=h(1f,21){f(1f 4k W){f(21!==33){32 7n("4d\'t 4b 8B 82 8m 7p W 8G 8A")}q 1f.3B()}l 21=21||"",78=21.1e("s")>-1,76=21.1e("x")>-1,5m=M,3n=[],15=[],X=1E.X,G,34,3s,3P,3q;X.L=0;1S(G=2o.N.2p(X,1f)){f(G[2]){f(!1E.5I.1X(1f.14(X.L))){15.K("(?:)")}}F{f(G[1]){3n.K(G[3]||u);f(G[3]){5m=U}15.K("(")}F{f(G[4]){3P=5W(3n,G[4]);15.K(3P>-1?"\\\\"+(3P+1)+(5r(1f.5y(X.L))?"":"(?:)"):G[0])}F{f(G[5]){15.K(3t.7g?3t.7g.5Q(G[5],G[0].5y(1)==="P"):G[0])}F{f(G[6]){f(1f.5y(X.L)==="]"){15.K(G[6]==="["?"(?!)":"[\\\\S\\\\s]");X.L++}F{34=O.7Y("&&"+1f.14(G.H),1E.6S,1E.6K,"",{8a:"\\\\"})[0];15.K(G[6]+34+"]");X.L+=34.v+1}}F{f(G[7]){f(78&&G[7]==="."){15.K("[\\\\S\\\\s]")}F{f(76&&1E.3b.1X(G[7])){3s=2o.N.2p(1E.3b,1f.14(X.L-1))[0].v;f(!1E.5I.1X(1f.14(X.L-1+3s))){15.K("(?:)")}X.L+=3s-1}F{15.K(G[7])}}}F{15.K(G[0])}}}}}}}3q=W(15.5n(""),2o.E.2p(21,/[aD]+/g,""));3q.1r={1c:1f,2m:5m?3n:u};q 3q};O.aH=h(1d,o){3t[1d]=o};W.Y.N=h(A){l 1i=2o.N.2p(c,A),1d,i,5K;f(1i){f(7t&&1i.v>1){5K=Q W("^"+c.1c+"$(?!\\\\s)",c.5J());2o.E.2p(1i[0],5K,h(){C(i=1;i<7S.v-2;i++){f(7S[i]===33){1i[i]=33}}})}f(c.1r&&c.1r.2m){C(i=1;i<1i.v;i++){1d=c.1r.2m[i-1];f(1d){1i[1d]=1i[i]}}}f(c.3K&&c.L>(1i.H+1i[0].v)){c.L--}}q 1i}})()}W.Y.5J=h(){q(c.3K?"g":"")+(c.aq?"i":"")+(c.6h?"m":"")+(c.3b?"x":"")+(c.aI?"y":"")};W.Y.3B=h(7E){l 5L=Q O(c.1c,(7E||"")+c.5J());f(c.1r){5L.1r={1c:c.1r.1c,2m:c.1r.2m?c.1r.2m.14(0):u}}q 5L};W.Y.2p=h(bG,A){q c.N(A)};W.Y.bH=h(bp,6I){q c.N(6I[0])};O.3W=h(3Z,3T){l 40="/"+3Z+"/"+(3T||"");q O.3W[40]||(O.3W[40]=Q O(3Z,3T))};O.3u=h(A){q A.E(/[-[\\]{}()*+?.\\\\^$|,#\\s]/g,"\\\\$&")};O.7Y=h(A,D,V,1k,31){l 31=31||{},2Z=31.8a,11=31.9X,1k=1k||"",4I=1k.1e("g")>-1,5S=1k.1e("i")>-1,7m=1k.1e("m")>-1,4E=1k.1e("y")>-1,1k=1k.E(/y/g,""),D=D 4k W?(D.3K?D:D.3B("g")):Q O(D,"g"+1k),V=V 4k W?(V.3K?V:V.3B("g")):Q O(V,"g"+1k),1F=[],2w=0,1l=0,1m=0,1p=0,1T,1Y,1s,1G,3p,53;f(2Z){f(2Z.v>1){32 at("4d\'t 4b ad ax 7p 3u 8b")}f(7m){32 7n("4d\'t 4b 3u 8b 82 aL aM 6h aN")}3p=O.3u(2Z);53=Q W("^(?:"+3p+"[\\\\S\\\\s]|(?:(?!"+D.1c+"|"+V.1c+")[^"+3p+"])+)+",5S?"i":"")}1S(U){D.L=V.L=1m+(2Z?(53.N(A.14(1m))||[""])[0].v:0);1s=D.N(A);1G=V.N(A);f(1s&&1G){f(1s.H<=1G.H){1G=u}F{1s=u}}f(1s||1G){1l=(1s||1G).H;1m=(1s?D:V).L}F{f(!2w){30}}f(4E&&!2w&&1l>1p){30}f(1s){f(!2w++){1T=1l;1Y=1m}}F{f(1G&&2w){f(!--2w){f(11){f(11[0]&&1T>1p){1F.K([11[0],A.14(1p,1T),1p,1T])}f(11[1]){1F.K([11[1],A.14(1T,1Y),1T,1Y])}f(11[2]){1F.K([11[2],A.14(1Y,1l),1Y,1l])}f(11[3]){1F.K([11[3],A.14(1l,1m),1l,1m])}}F{1F.K(A.14(1Y,1l))}1p=1m;f(!4I){30}}}F{D.L=V.L=0;32 ab("aa aY bz b1 bb")}}f(1l===1m){1m++}}f(4I&&!4E&&11&&11[0]&&A.v>1p){1F.K([11[0],A.14(1p),1p,A.v])}D.L=V.L=0;q 1F};',62,726,'||||||||||||this|||if||function||||var||||sh|return||||null|length||||div|str|utils|for|left|replace|else|_109|index|code|document|push|lastIndex|false|exec|XRegExp||new|config||getParam|true|_121|RegExp|part|prototype|className||vN|css|_c3|slice|_107||pos|create|right|_ed|class|source|name|indexOf|_101|style|window|_111|id|_122|_12c|_12d|strings|_ca|_12e|alert|_x|_131|vars|toolbar|_e0|createElement|innerHTML|params|_ec|_e5|highlight|_bd|_c6|lib|_12a|_132|tab|lt|doc|appendChild|obj|width|value|continue|size|span|nbsp|while|_12f|_3c|_8|font|test|_130|_57|_4b|_102|substr|_56|_91|min|matches|split|lines|_97|in|_b4|html|wnd|href|execute|text|_b7|height|http|attributes|_b1|captureNames|bar|_f8|call|script|_e1|_75|toString|_6e|_d7|_12b|gt|_5b|unindent|_f4|_b3|_62|_7a|body|_80|_51|case|SyntaxHighlighter|_5|_28|_40|_81|_88|_d4|concat|getMatches|line|_c9|brushes|m1|m2|_b5|_da|_a1|_124|break|_123|throw|undefined|cc|write|_7b|_7d|print|DIV|_32|extended|_25|_f2|_8e|printFrame|_4a|_7c|_6a|_ea|_5e|_5c|_65|_106|_e9|_133|_10d|_76|len|_100|escape|_f0|spaceWidth|_dc|fixForBlogger|htmlScript|_d5|addFlags|_22|regex|_3|offsetMatches|_2|_f6|Math|_af|global|url|_a6|_db|trim|_10c|_be|func|_bc|_11c|_73|_6b|cache|_a2|_c7|_11b|key|findBrush|_c0|_9c|_9d|_b9|_ab|_8c|_b6|_ad|eachLine|supply|_89|can|_a5|values|_ac|_82|_7e|removeChild|instanceof|gi|Match|_50|viewSource|pre|_1a|_19|_18|expandSource|_29|_2b|_2d|toolbarItemWidth|_2e|_2c|_2a|_17|_10|_7|_129|_4|gm|color|_126|_e|_f|_d|_9|_b|title|toolbarItemHeight|highlighterId|popup|top|_4c|_49|_48|_4f|HtmlScript|_5d|_59||win|focus|esc|close|_blank|_2f|_30|com|clipboardSwf|_27|swf|_24|contentWindow|link|_38|_35|_37|_6c|discoveredBrushes|_e6|_e7|_105|join|toolbarCommands|ruler|px|isNaN|regexList|_e2|content|margin|guid|_fb|charAt|gutter|Array|originalCode|String|collapsed|collapse|highlighters|measureSpace|merge|quantifier|getNativeFlags|r2|_116|_d0|_d2|xmlBrush|_fc|get|object|_127|version|pP|toBoolean|_fa|attachEvent|serif|_c1|_fd|defaults|_ee|_4e|_ce|_5a|process|copyToClipboard|event|_cf|decorate|brushNotHtmlScript|shockwave|processUrls|links|_78|Times|multiline|_ba|plain|_6d|family|_61|light|flash|center|commandName|align|_66|noBrush|syntaxhighlighter|rel|type|_3e|copyToClipboardConfirmation|stylesheet|processSmartTabs|help|2009|trimFirstAndLastLines|_3f|copyStyles|500px|0px|args|_6|classRight|tabs|message|match|_cc|clipboardData|_c8|_cd|classLeft|createButton|Highlighter|switch|executeCommand|_c5|_a|_47|location|_36|processTabs|_f5|alexgorbatchev|scrollbars|_104|aboutDialog|_103|screen|_79|regexLib|_a8|DTD|xhtml1|first|unicode|isMatchNested|parseInt|_d1|_a7|_a0|_128|TypeError|_dd|one|createRuler|defaultAdd|_a3|_ff|toArray|getElementsByTagName|removeNestedMatches|parentNode|findMatches|processMatches|createDisplayLines|_b8|clipboard|addEvent|_115|debug|_aa|parseParams|tagName|brush|matchesSortCallback|_d6|_b0|_1e|_de|padNumber|block|auto|arguments|_85|_84|items|_16|_99|matchRecursive|_12|navigator|_14|when|userAgent|head|smart|_15|_83|_90|_13|escapeChar|character|org|_e4|www|w3|_93|bloggerMode|_e3|insertSpaces|try|catch|constructing|resizable|_1f|onclick|forHtmlScript|aspScriptTags|scriptScriptTags|getKeywords|menubar|400|_1c|_21|sgi|item|another|flags|_1b|max|_20|750|from|string|typeof|Helvetica|xmlns|1999|xhtml|dtd|transitional|Transitional|EN|TR|meta|equiv|About|Georgia|New|utf|charset|Content|Type|XHTML|W3C|The|is|your|to|copy|expand|view|now|Can|option|DOCTYPE|PUBLIC|configured|wasn|find|Brush|Roman|background|Copyright|2004|Alex|highlighter|syntax|decoration|none|JavaScript|Gorbatchev|multiLineCComments|singleQuotedString|multiLineDoubleQuotedString|multiLineSingleQuotedString|doubleQuotedString|replaceVar|singleLineCComments|singleLinePerlComments|0099FF|target|Geneva|Arial|_26|3em|1em|fff|000|sans|xx|287|February|06|4em|bottom|large|75em|phpScriptTags|_3b|1000000|valueNames|random|all|round|replaceChild|open|addEventListener|70em|highlighter_|on|30em|protocol|nogutter|subject|Error|shCore|more|load|about|_42|500|250|fontSize|_44|_43|aliases|textarea|spaces|number|ignoreCase|_8a|offsetWidth|SyntaxError|highlighted|_a4|alt|than|1000|_98|getPropertyValue|getComputedStyle|middot|sx|150|sort|_ef|addPlugin|sticky|getElementById|opera|using|the|flag|Xml|toLowerCase|96b8|444553540000|11cf|ae6d|d27cdb6e|lastIndexOf|codebase|pub|data|macromedia|download|unbalanced|clsid|classid|application|allowScriptAccess|_clipboard|param|file|always|wmode|delimiters|msie|menu|flashVars|transparent|swflash|cabs|printSource|_39|error|ok|cab|_bf|_3a|_119|absolute||printing|position|cssText|IFRAME|amp|setData|command|contains|_c4|embed|src|movie|_33|_34|_117|apply'.split('|'),0,{})) diff --git a/modules/editor/components/code_highlighter/style/SyntaxHighlighter.css b/modules/editor/components/code_highlighter/style/SyntaxHighlighter.css deleted file mode 100644 index 753510002..000000000 --- a/modules/editor/components/code_highlighter/style/SyntaxHighlighter.css +++ /dev/null @@ -1,310 +0,0 @@ -.dp-highlighter -{ - font-family: "Consolas", "Courier New", "Courier", "mono", "serif"; - font-size: 12px; - background-color: #E7E5DC; - width: 99%; - overflow: auto; - padding-top: 1px; /* adds a little border on top when controls are hidden */ -} - -/* clear styles */ -.dp-highlighter ol, -.dp-highlighter ol li, -.dp-highlighter ol li span -{ - margin: 0; - padding: 0; - border: none; -} - -.dp-highlighter a, -.dp-highlighter a:hover -{ - background: none; - border: none; - padding: 0; - margin: 0; -} - -.dp-highlighter .bar -{ - padding-left: 45px; -} - -.dp-highlighter.collapsed .bar, -.dp-highlighter.nogutter .bar -{ - padding-left: 0px; -} - -.dp-highlighter ol -{ - list-style: decimal; /* for ie */ - background-color: #fff; - margin: 0px 0px 1px 45px !important; /* 1px bottom margin seems to fix occasional Firefox scrolling */ - padding: 0px; - color: #5C5C5C; -} - -.dp-highlighter.nogutter ol, -.dp-highlighter.nogutter ol li -{ - list-style: none !important; - margin-left: 0px !important; -} - -.dp-highlighter ol li, -.dp-highlighter .columns div -{ - list-style: decimal; /* better look for others, override cascade from OL */ - list-style-position: outside !important; - background-color: #F8F8F8; - color: #5C5C5C; - padding: 0 3px 0 10px !important; - margin: 0 !important; - line-height: 14px; -} - -.dp-highlighter.nogutter ol li, -.dp-highlighter.nogutter .columns div -{ - border: 0; -} - -.dp-highlighter .columns -{ - background-color: #F8F8F8; - color: gray; - overflow: hidden; - width: 100%; -} - -.dp-highlighter .columns div -{ - padding-bottom: 5px; -} - -.dp-highlighter ol li.alt -{ - background-color: #FFF; - color: inherit; -} - -.dp-highlighter ol li span -{ - color: black; - background-color: inherit; -} - -/* Adjust some properties when collapsed */ - -.dp-highlighter.collapsed ol -{ - margin: 0px; -} - -.dp-highlighter.collapsed ol li -{ - display: none; -} - -/* Additional modifications when in print-view */ - -.dp-highlighter.printing -{ - border: none; -} - -.dp-highlighter.printing .tools -{ - display: none !important; -} - -.dp-highlighter.printing li -{ - display: list-item !important; -} - -/* Styles for the tools */ - -.dp-highlighter .tools -{ - padding: 3px 8px 3px 10px; - font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif; - color: silver; - background-color: #f8f8f8; - padding-bottom: 10px; -} - -.dp-highlighter.nogutter .tools -{ - border-left: 0; -} - -.dp-highlighter.collapsed .tools -{ - border-bottom: 0; -} - -.dp-highlighter .tools a -{ - font-size: 9px; - color: #a0a0a0; - background-color: inherit; - text-decoration: none; - margin-right: 10px; -} - -.dp-highlighter .tools a:hover -{ - color: red; - background-color: inherit; - text-decoration: underline; -} - -/* About dialog styles */ - -.dp-about { background-color: #fff; color: #333; margin: 0px; padding: 0px; } -.dp-about table { width: 100%; height: 100%; font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; } -.dp-about td { padding: 10px; vertical-align: top; } -.dp-about .copy { border-bottom: 1px solid #ACA899; height: 95%; } -.dp-about .title { color: red; background-color: inherit; font-weight: bold; } -.dp-about .para { margin: 0 0 4px 0; } -.dp-about .footer { background-color: #ECEADB; color: #333; border-top: 1px solid #fff; text-align: right; } -.dp-about .close { font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; background-color: #ECEADB; color: #333; width: 60px; height: 22px; } - -/* Language specific styles */ - -.dp-highlighter .comment, -.dp-highlighter .comments { color: #008200; background-color: inherit; } -.dp-highlighter .string { color: #FF00FF; background-color: inherit; } -.dp-highlighter .keyword { color: #0000FF; background-color: inherit; } -.dp-highlighter .preprocessor { color: gray; background-color: inherit; } -.dp-highlighter .func { color: #FF0000; } -.dp-highlighter .vars { color: #008080; } - - -/* Language specific styles */ - -.dp-c {} -.dp-c .comment { color: green; } -.dp-c .string { color: blue; } -.dp-c .preprocessor { color: gray; } -.dp-c .keyword { color: blue; } -.dp-c .vars { color: #d00; } - -.dp-vb {} -.dp-vb .comment { color: green; } -.dp-vb .string { color: blue; } -.dp-vb .preprocessor { color: gray; } -.dp-vb .keyword { color: blue; } - -.dp-sql {} -.dp-sql .comment { color: green; } -.dp-sql .string { color: red; } -.dp-sql .keyword { color: blue; } -.dp-sql .func { color: #ff1493; } -.dp-sql .op { color: #808080; } - -.dp-xml {} -.dp-xml .cdata { color: #ff1493; } -.dp-xml .comments { color: green; } -.dp-xml .tag { margin: 0; padding: 0; background: none; font-weight: bold; color: blue; } -.dp-xml .tag-name { color: black; font-weight: bold; } -.dp-xml .attribute { color: red; } -.dp-xml .attribute-value { color: blue; } - -.dp-delphi {} -.dp-delphi .comment { color: #008200; font-style: italic; } -.dp-delphi .string { color: blue; } -.dp-delphi .number { color: blue; } -.dp-delphi .directive { color: #008284; } -.dp-delphi .keyword { font-weight: bold; color: navy; } -.dp-delphi .vars { color: #000; } - -.dp-py {} -.dp-py .comment { color: green; } -.dp-py .string { color: red; } -.dp-py .docstring { color: green; } -.dp-py .keyword { color: blue; font-weight: bold;} -.dp-py .builtins { color: #ff1493; } -.dp-py .magicmethods { color: #808080; } -.dp-py .exceptions { color: brown; } -.dp-py .types { color: brown; font-style: italic; } -.dp-py .commonlibs { color: #8A2BE2; font-style: italic; } - -.dp-rb {} -.dp-rb .comment { color: #c00; } -.dp-rb .string { color: #f0c; } -.dp-rb .symbol { color: #02b902; } -.dp-rb .keyword { color: #069; } -.dp-rb .variable { color: #6cf; } - -.dp-css {} -.dp-css .comment { color: green; } -.dp-css .string { color: red; } -.dp-css .value { color: red; } -.dp-css .keyword { color: blue; } -.dp-css .colors { color: darkred; } -.dp-css .vars { color: #d00; } - -.dp-j {} -.dp-j .comment { color: rgb(63,127,95); } -.dp-j .string { color: rgb(42,0,255); } -.dp-j .keyword { color: rgb(127,0,85); font-weight: bold } -.dp-j .annotation { color: #646464; } -.dp-j .number { color: #C00000; } - -.dp-cpp {} -.dp-cpp .comment { color: #e00; } -.dp-cpp .string { color: red; } -.dp-cpp .preprocessor { color: #CD00CD; font-weight: bold; } -.dp-cpp .keyword { color: #5697D9; font-weight: bold; } -.dp-cpp .datatypes { color: #2E8B57; font-weight: bold; } - -.dp-php { color: #800000; } -.dp-php .comment { color: #008000; } -.dp-php .keyword { color: #4B00FB; } -.dp-php .string { color: #FB00FB; } -.dp-php .func { color: #FF0000; } -.dp-php .vars { color: #008080; } -.dp-php .zbxe_funcs { color: #FF6820; } -.dp-php .zbxe_class { color: #FF6820; font-weight: bold; } - - -.dp-abap { color: #800000; } -.dp-abap .comment { color: #008000; } -.dp-abap .keyword { color: #4B00FB; } -.dp-abap .string { color: #FB00FB; } -.dp-abap .datatypes { color: #2E8B57; font-weight: bold; } - - -pre[name='code'] { - max-height: 300px; - font-size: 1.1em; - border: #666666 dotted 1px; - border-left: #22AAEE solid 5px; - padding: 5px; - overflow: auto; -} - - -.ch_infobox { - padding: 5px 0; - width: 99%; - background-color: #F8F8F8; - border-top: 1px solid #E7E5DC; -} - -.ch_infobox .file_path { - font-size: 0.9em; - font-weight: bold; - margin-left: 10px; -} - -.ch_infobox .description { - color: #AAA; - font-size: 0.9em; - margin-left: 10px; -} \ No newline at end of file diff --git a/modules/editor/components/code_highlighter/style/help.png b/modules/editor/components/code_highlighter/style/help.png deleted file mode 100644 index 5c870176d..000000000 Binary files a/modules/editor/components/code_highlighter/style/help.png and /dev/null differ diff --git a/modules/editor/components/code_highlighter/style/magnifier.png b/modules/editor/components/code_highlighter/style/magnifier.png deleted file mode 100644 index cf3d97f75..000000000 Binary files a/modules/editor/components/code_highlighter/style/magnifier.png and /dev/null differ diff --git a/modules/editor/components/code_highlighter/style/page_white_code.png b/modules/editor/components/code_highlighter/style/page_white_code.png deleted file mode 100644 index 0c76bd129..000000000 Binary files a/modules/editor/components/code_highlighter/style/page_white_code.png and /dev/null differ diff --git a/modules/editor/components/code_highlighter/style/page_white_copy.png b/modules/editor/components/code_highlighter/style/page_white_copy.png deleted file mode 100644 index a9f31a278..000000000 Binary files a/modules/editor/components/code_highlighter/style/page_white_copy.png and /dev/null differ diff --git a/modules/editor/components/code_highlighter/style/printer.png b/modules/editor/components/code_highlighter/style/printer.png deleted file mode 100644 index a350d1871..000000000 Binary files a/modules/editor/components/code_highlighter/style/printer.png and /dev/null differ diff --git a/modules/editor/components/code_highlighter/style/shCore.css b/modules/editor/components/code_highlighter/style/shCore.css deleted file mode 100644 index 74156dd24..000000000 --- a/modules/editor/components/code_highlighter/style/shCore.css +++ /dev/null @@ -1,344 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -.syntaxhighlighter, -.syntaxhighlighter div, -.syntaxhighlighter code, -.syntaxhighlighter span, -.syntaxhighlighter .bold, -.syntaxhighlighter .italic, -.syntaxhighlighter .line, -.syntaxhighlighter .line .number, -.syntaxhighlighter .line .content, -.syntaxhighlighter .line .content .block, -.syntaxhighlighter .line .content .spaces, -.syntaxhighlighter .bar, -.syntaxhighlighter .ruler, -.syntaxhighlighter .toolbar, -.syntaxhighlighter .toolbar a, -.syntaxhighlighter .toolbar a:hover -{ - margin: 0; - padding: 0; - border: 0; - outline: 0; - background: none; - text-align: left; - float: none; - vertical-align: baseline; - position: static; - left: auto; - top: auto; - right: auto; - bottom: auto; - height: auto; - width: auto; - line-height: normal; - font-family: "Consolas", "Monaco", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; - font-weight: normal; - font-style: normal; - font-size: 100%; -} - -.syntaxhighlighter -{ - width: 100%; - margin: 1em 0 1em 0; - padding: 1px; /* adds a little border on top and bottom */ - position: relative; -} - -.syntaxhighlighter .bold { - font-weight: bold; -} - -.syntaxhighlighter .italic { - font-style: italic; -} - -.syntaxhighlighter .line .number -{ - float: left; - width: 3em; - padding-right: .3em; - text-align: right; - display: block; -} - -/* Disable numbers when no gutter option is set */ -.syntaxhighlighter.nogutter .line .number -{ - display: none; -} - -.syntaxhighlighter .line .content -{ - margin-left: 3.3em; - padding-left: .5em; - display: block; -} - -.syntaxhighlighter .line .content .block -{ - display: block; - padding-left: 1.5em; - text-indent: -1.5em; -} - -.syntaxhighlighter .line .content .spaces -{ - display: none; -} - -/* Disable border and margin on the lines when no gutter option is set */ -.syntaxhighlighter.nogutter .line .content -{ - margin-left: 0; - border-left: none; -} - -.syntaxhighlighter .bar -{ -} - -.syntaxhighlighter.collapsed .bar -{ - -} - -.syntaxhighlighter.nogutter .ruler -{ - margin-left: 0; - padding-left: 0; -} - -.syntaxhighlighter .ruler -{ - padding: 0 0 .5em .5em; - margin-left: 3.3em; - overflow: hidden; -} - -/* Adjust some properties when collapsed */ - -.syntaxhighlighter.collapsed .lines, -.syntaxhighlighter.collapsed .ruler -{ - display: none; -} - -/* Styles for the toolbar */ - -.syntaxhighlighter .toolbar -{ - position: absolute; - right: 0px; - top: 0px; - font-size: 1px; - padding: 8px 8px 8px 0; /* in px because images don't scale with ems */ -} - -.syntaxhighlighter.collapsed .toolbar -{ - font-size: 80%; - padding: .2em 0 .5em .5em; - position: static; -} - -.syntaxhighlighter .toolbar a.item, -.syntaxhighlighter .toolbar .item -{ - display: block; - float: left; - margin-left: 8px; - background-repeat: no-repeat; - overflow: hidden; - text-indent: -5000px; -} - -.syntaxhighlighter.collapsed .toolbar .item -{ - display: none; -} - -.syntaxhighlighter.collapsed .toolbar .item.expandSource -{ - background-image: url(magnifier.png); - display: inline; - text-indent: 0; - width: auto; - float: none; - height: 16px; - padding-left: 20px; -} - -.syntaxhighlighter .toolbar .item.viewSource -{ - background-image: url(page_white_code.png); -} - -.syntaxhighlighter .toolbar .item.printSource -{ - background-image: url(printer.png); -} - -.syntaxhighlighter .toolbar .item.copyToClipboard -{ - text-indent: 0; - background: none; - overflow: visible; -} - -.syntaxhighlighter .toolbar .item.about -{ - background-image: url(help.png); -} - -/** - * Print view. - * Colors are based on the default theme without background. - */ - -.syntaxhighlighter.printing, -.syntaxhighlighter.printing .line.alt1 .content, -.syntaxhighlighter.printing .line.alt2 .content, -.syntaxhighlighter.printing .line.highlighted .number, -.syntaxhighlighter.printing .line.highlighted.alt1 .content, -.syntaxhighlighter.printing .line.highlighted.alt2 .content, -.syntaxhighlighter.printing .line .content .block -{ - background: none; -} - -/* Gutter line numbers */ -.syntaxhighlighter.printing .line .number -{ - color: #bbb; -} - -/* Add border to the lines */ -.syntaxhighlighter.printing .line .content -{ - color: #000; -} - -/* Toolbar when visible */ -.syntaxhighlighter.printing .toolbar, -.syntaxhighlighter.printing .ruler -{ - display: none; -} - -.syntaxhighlighter.printing a -{ - text-decoration: none; -} - -.syntaxhighlighter.printing .plain, -.syntaxhighlighter.printing .plain a -{ - color: #000; -} - -.syntaxhighlighter.printing .comments, -.syntaxhighlighter.printing .comments a -{ - color: #008200; -} - -.syntaxhighlighter.printing .string, -.syntaxhighlighter.printing .string a -{ - color: blue; -} - -.syntaxhighlighter.printing .keyword -{ - color: #069; - font-weight: bold; -} - -.syntaxhighlighter.printing .preprocessor -{ - color: gray; -} - -.syntaxhighlighter.printing .variable -{ - color: #a70; -} - -.syntaxhighlighter.printing .value -{ - color: #090; -} - -.syntaxhighlighter.printing .functions -{ - color: #ff1493; -} - -.syntaxhighlighter.printing .constants -{ - color: #0066CC; -} - -.syntaxhighlighter.printing .script -{ - font-weight: bold; -} - -.syntaxhighlighter.printing .color1, -.syntaxhighlighter.printing .color1 a -{ - color: #808080; -} - -.syntaxhighlighter.printing .color2, -.syntaxhighlighter.printing .color2 a -{ - color: #ff1493; -} - -.syntaxhighlighter.printing .color3, -.syntaxhighlighter.printing .color3 a -{ - color: red; -} - -.ch_infobox { - padding: 5px 0; - width: 99%; - background-color: #F8F8F8; - border-top: 1px solid #E7E5DC; -} - -.ch_infobox .file_path { - font-size: 0.9em; - font-weight: bold; - margin-left: 10px; -} - -.ch_infobox .description { - color: #AAA; - font-size: 0.9em; - margin-left: 10px; -} \ No newline at end of file diff --git a/modules/editor/components/code_highlighter/style/shThemeDefault.css b/modules/editor/components/code_highlighter/style/shThemeDefault.css deleted file mode 100644 index 2068d2c85..000000000 --- a/modules/editor/components/code_highlighter/style/shThemeDefault.css +++ /dev/null @@ -1,183 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -/************************************ - * Default Syntax Highlighter theme. - * - * Interface elements. - ************************************/ - -.syntaxhighlighter -{ - background-color: #E7E5DC; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - background-color: #6CE26C; - color: black; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted.alt1 .content, -.syntaxhighlighter .line.highlighted.alt2 .content -{ - background-color: #6CE26C; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #5C5C5C; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 3px solid #6CE26C; - color: #000; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0; -} - -/* First line */ -.syntaxhighlighter .line.alt1 .content -{ - background-color: #fff; -} - -/* Second line */ -.syntaxhighlighter .line.alt2 .content -{ - background-color: #F8F8F8; -} - -.syntaxhighlighter .line .content .block -{ - background: url(wrapping.png) 0 1.1em no-repeat; -} - -.syntaxhighlighter .ruler -{ - color: silver; - background-color: #F8F8F8; - border-left: 3px solid #6CE26C; -} - -.syntaxhighlighter.nogutter .ruler -{ - border: 0; -} - -.syntaxhighlighter .toolbar -{ - background-color: #F8F8F8; - border: #E7E5DC solid 1px; -} - -.syntaxhighlighter .toolbar a -{ - color: #a0a0a0; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: red; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #000; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #008200; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: blue; -} - -.syntaxhighlighter .keyword -{ - color: #069; - font-weight: bold; -} - -.syntaxhighlighter .preprocessor -{ - color: gray; -} - -.syntaxhighlighter .variable -{ - color: #a70; -} - -.syntaxhighlighter .value -{ - color: #090; -} - -.syntaxhighlighter .functions -{ - color: #ff1493; -} - -.syntaxhighlighter .constants -{ - color: #0066CC; -} - -.syntaxhighlighter .script -{ - background-color: yellow !important; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #808080; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #ff1493; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: red; -} diff --git a/modules/editor/components/code_highlighter/style/shThemeDjango.css b/modules/editor/components/code_highlighter/style/shThemeDjango.css deleted file mode 100644 index def5797e7..000000000 --- a/modules/editor/components/code_highlighter/style/shThemeDjango.css +++ /dev/null @@ -1,184 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -/** - * Django SyntaxHighlighter theme - */ - -/************************************ - * Interface elements. - ************************************/ - -.syntaxhighlighter -{ - background-color: #0B2F20; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - background-color: #336442; - color: #fff; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted .content -{ - background-color: #336442 !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #497958; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 3px solid #41A83E; - color: #B9BDB6; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0; -} - -/* First line */ -.syntaxhighlighter .line.alt1 .content -{ -} - -/* Second line */ -.syntaxhighlighter .line.alt2 .content -{ - background-color: #0a2b1d; -} - -.syntaxhighlighter .line .content .block -{ - background: url(wrapping.png) 0 1.1em no-repeat; -} - -.syntaxhighlighter .ruler -{ - color: #C4B14A; - background-color: #245032; - border-left: 3px solid #41A83E; -} - -.syntaxhighlighter.nogutter .ruler -{ - border: 0; -} - -.syntaxhighlighter .toolbar -{ - background-color: #245032; - border: #0B2F20 solid 1px; -} - -.syntaxhighlighter .toolbar a -{ - color: #C4B14A; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: #FFE862; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #F8F8F8; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #336442; - font-style: italic; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: #9DF39F; -} - -.syntaxhighlighter .keyword -{ - color: #96DD3B; - font-weight: bold !important; -} - -.syntaxhighlighter .preprocessor -{ - color: #91BB9E; -} - -.syntaxhighlighter .variable -{ - color: #FFAA3E; -} - -.syntaxhighlighter .value -{ - color: #F7E741; -} - -.syntaxhighlighter .functions -{ - color: #FFAA3E; -} - -.syntaxhighlighter .constants -{ - color: #E0E8FF; -} - -.syntaxhighlighter .script -{ - background-color: #497958 !important; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #EB939A; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #91BB9E; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: #EDEF7D; -} diff --git a/modules/editor/components/code_highlighter/style/shThemeEmacs.css b/modules/editor/components/code_highlighter/style/shThemeEmacs.css deleted file mode 100644 index 91a5c7697..000000000 --- a/modules/editor/components/code_highlighter/style/shThemeEmacs.css +++ /dev/null @@ -1,183 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -/** - * Emacs SyntaxHighlighter theme based on theme by Joshua Emmons - * http://www.skia.net/ - */ - -/************************************ - * Interface elements. - ************************************/ - -.syntaxhighlighter -{ - background-color: #000000; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - background-color: #435A5F; - color: #fff; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted .content -{ - background-color: #435A5F !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #D3D3D3; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 3px solid #990000; - color: #B9BDB6; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0; -} - -/* First line */ -.syntaxhighlighter .line.alt1 .content -{ -} - -/* Second line */ -.syntaxhighlighter .line.alt2 .content -{ - background-color: #0f0f0f; -} - -.syntaxhighlighter .line .content .block -{ - background: url(wrapping.png) 0 1.1em no-repeat; -} - -.syntaxhighlighter .ruler -{ - color: silver; - background-color: #000000; - border-left: 3px solid #990000; -} - -.syntaxhighlighter.nogutter .ruler -{ - border: 0; -} - -.syntaxhighlighter .toolbar -{ - background-color: #000000; - border: #000000 solid 1px; -} - -.syntaxhighlighter .toolbar a -{ - color: #646763; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: #9CCFF4; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #D3D3D3; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #FF7D27; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: #FF9E7B; -} - -.syntaxhighlighter .keyword -{ - color: #00FFFF; -} - -.syntaxhighlighter .preprocessor -{ - color: #AEC4DE; -} - -.syntaxhighlighter .variable -{ - color: #FFAA3E; -} - -.syntaxhighlighter .value -{ - color: #090; -} - -.syntaxhighlighter .functions -{ - color: #81CEF9; -} - -.syntaxhighlighter .constants -{ - color: #FF9E7B; -} - -.syntaxhighlighter .script -{ - background-color: #990000 !important; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #EBDB8D; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #FF7D27; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: #AEC4DE; -} diff --git a/modules/editor/components/code_highlighter/style/shThemeFadeToGrey.css b/modules/editor/components/code_highlighter/style/shThemeFadeToGrey.css deleted file mode 100644 index 8f7160967..000000000 --- a/modules/editor/components/code_highlighter/style/shThemeFadeToGrey.css +++ /dev/null @@ -1,184 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -/** - * Fade to Grey SyntaxHighlighter theme based on theme by Brasten Sager - * http://www.ibrasten.com/ - */ - -/************************************ - * Interface elements. - ************************************/ - -.syntaxhighlighter -{ - background-color: #121212; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - background-color: #3A3A00; - color: #fff; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted .content -{ - background-color: #3A3A00 !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #C3C3C3; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 3px solid #3185B9; - color: #B9BDB6; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0; -} - -/* First line */ -.syntaxhighlighter .line.alt1 .content -{ -} - -/* Second line */ -.syntaxhighlighter .line.alt2 .content -{ - background-color: #000000; -} - -.syntaxhighlighter .line .content .block -{ - background: url(wrapping.png) 0 1.1em no-repeat; -} - -.syntaxhighlighter .ruler -{ - color: silver; - border-left: 3px solid #3185B9; -} - -.syntaxhighlighter.nogutter .ruler -{ - border: 0; -} - -.syntaxhighlighter .toolbar -{ - background-color: #000000; - border: #000000 solid 1px; -} - -.syntaxhighlighter .toolbar a -{ - color: #808080; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: #96DAFF; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #FFFFFF; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #696854; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: #E3E658; -} - -.syntaxhighlighter .keyword -{ - color: #D01D33; -} - -.syntaxhighlighter .preprocessor -{ - color: #435A5F; -} - -.syntaxhighlighter .variable -{ - color: #898989; -} - -.syntaxhighlighter .value -{ - color: #090; -} - -.syntaxhighlighter .functions -{ - color: #AAAAAA; - font-weight: bold !important; -} - -.syntaxhighlighter .constants -{ - color: #96DAFF; -} - -.syntaxhighlighter .script -{ - background-color: #C3C3C3 !important; - color: #000; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #FFC074; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #4A8CDB; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: #96DAFF; -} diff --git a/modules/editor/components/code_highlighter/style/shThemeMidnight.css b/modules/editor/components/code_highlighter/style/shThemeMidnight.css deleted file mode 100644 index 8171ca3e8..000000000 --- a/modules/editor/components/code_highlighter/style/shThemeMidnight.css +++ /dev/null @@ -1,183 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -/** - * Midnight SyntaxHighlighter theme based on theme by J.D. Myers - * http://webdesign.lsnjd.com/ - */ - -/************************************ - * Interface elements. - ************************************/ - -.syntaxhighlighter -{ - background-color: #0F192A; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - background-color: #253E5A; - color: #fff; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted .content -{ - background-color: #253E5A !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #38566F; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 3px solid #435A5F; - color: #B9BDB6; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0; -} - -/* First line */ -.syntaxhighlighter .line.alt1 .content -{ - background-color: #0F192A; -} - -/* Second line */ -.syntaxhighlighter .line.alt2 .content -{ - background-color: #0F192A; -} - -.syntaxhighlighter .line .content .block -{ - background: url(wrapping.png) 0 1.1em no-repeat; -} - -.syntaxhighlighter .ruler -{ - color: #38566F; - background-color: #0F192A; - border-left: 3px solid #435A5F; -} - -.syntaxhighlighter.nogutter .ruler -{ - border: 0; -} - -.syntaxhighlighter .toolbar -{ - background-color: #0F192A; -} - -.syntaxhighlighter .toolbar a -{ - color: #38566F; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: #8AA6C1; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #D1EDFF; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #428BDD; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: #1DC116; -} - -.syntaxhighlighter .keyword -{ - color: #B43D3D; -} - -.syntaxhighlighter .preprocessor -{ - color: #8AA6C1; -} - -.syntaxhighlighter .variable -{ - color: #FFAA3E; -} - -.syntaxhighlighter .value -{ - color: #F7E741; -} - -.syntaxhighlighter .functions -{ - color: #FFAA3E; -} - -.syntaxhighlighter .constants -{ - color: #E0E8FF; -} - -.syntaxhighlighter .script -{ - background-color: #404040 !important; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #F8BB00; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #FFFFFF; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: #FFAA3E; -} diff --git a/modules/editor/components/code_highlighter/style/shThemeRDark.css b/modules/editor/components/code_highlighter/style/shThemeRDark.css deleted file mode 100644 index a390c2a68..000000000 --- a/modules/editor/components/code_highlighter/style/shThemeRDark.css +++ /dev/null @@ -1,183 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * @version - * 2.0.287 (February 06 2009) - * - * @author - * Alex Gorbatchev - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * Licensed under a GNU Lesser General Public License. - * http://creativecommons.org/licenses/LGPL/2.1/ - * - * SyntaxHighlighter is donationware. You are allowed to download, modify and distribute - * the source code in accordance with LGPL 2.1 license, however if you want to use - * SyntaxHighlighter on your site or include it in your product, you must donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - */ -/** - * RDark SyntaxHighlighter theme based on theme by Radu Dineiu - * http://www.vim.org/scripts/script.php?script_id=1732 - */ - -/************************************ - * Interface elements. - ************************************/ - -.syntaxhighlighter -{ - background-color: #1B2426; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - background-color: #435A5F; - color: #fff; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted .content -{ - background-color: #435A5F !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #B9BDB6; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 3px solid #435A5F; - color: #B9BDB6; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0; -} - -/* First line */ -.syntaxhighlighter .line.alt1 .content -{ - background-color: #1B2426; -} - -/* Second line */ -.syntaxhighlighter .line.alt2 .content -{ - background-color: #1B2426; -} - -.syntaxhighlighter .line .content .block -{ - background: url(wrapping.png) 0 1.1em no-repeat; -} - -.syntaxhighlighter .ruler -{ - color: silver; - background-color: #1B2426; - border-left: 3px solid #435A5F; -} - -.syntaxhighlighter.nogutter .ruler -{ - border: 0; -} - -.syntaxhighlighter .toolbar -{ - background-color: #1B2426; -} - -.syntaxhighlighter .toolbar a -{ - color: #646763; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: #E0E8FF; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #B9BDB6; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #878A85; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: #5CE638; -} - -.syntaxhighlighter .keyword -{ - color: #5BA1CF; -} - -.syntaxhighlighter .preprocessor -{ - color: #435A5F; -} - -.syntaxhighlighter .variable -{ - color: #FFAA3E; -} - -.syntaxhighlighter .value -{ - color: #090; -} - -.syntaxhighlighter .functions -{ - color: #FFAA3E; -} - -.syntaxhighlighter .constants -{ - color: #E0E8FF; -} - -.syntaxhighlighter .script -{ - background-color: #435A5F !important; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #E0E8FF; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #FFFFFF; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: #FFAA3E; -} diff --git a/modules/editor/components/code_highlighter/style/wrapping.png b/modules/editor/components/code_highlighter/style/wrapping.png deleted file mode 100644 index 6972c5e59..000000000 Binary files a/modules/editor/components/code_highlighter/style/wrapping.png and /dev/null differ diff --git a/modules/editor/components/code_highlighter/tpl/images/blank.gif b/modules/editor/components/code_highlighter/tpl/images/blank.gif deleted file mode 100644 index 35d42e808..000000000 Binary files a/modules/editor/components/code_highlighter/tpl/images/blank.gif and /dev/null differ diff --git a/modules/editor/components/code_highlighter/tpl/images/border_dotted.gif b/modules/editor/components/code_highlighter/tpl/images/border_dotted.gif deleted file mode 100644 index eaf1ae738..000000000 Binary files a/modules/editor/components/code_highlighter/tpl/images/border_dotted.gif and /dev/null differ diff --git a/modules/editor/components/code_highlighter/tpl/images/border_left_dotted.gif b/modules/editor/components/code_highlighter/tpl/images/border_left_dotted.gif deleted file mode 100644 index 101259cb7..000000000 Binary files a/modules/editor/components/code_highlighter/tpl/images/border_left_dotted.gif and /dev/null differ diff --git a/modules/editor/components/code_highlighter/tpl/images/border_left_solid.gif b/modules/editor/components/code_highlighter/tpl/images/border_left_solid.gif deleted file mode 100644 index 10b7e789f..000000000 Binary files a/modules/editor/components/code_highlighter/tpl/images/border_left_solid.gif and /dev/null differ diff --git a/modules/editor/components/code_highlighter/tpl/images/border_solid.gif b/modules/editor/components/code_highlighter/tpl/images/border_solid.gif deleted file mode 100644 index 9fbf79f57..000000000 Binary files a/modules/editor/components/code_highlighter/tpl/images/border_solid.gif and /dev/null differ diff --git a/modules/editor/components/code_highlighter/tpl/popup.css b/modules/editor/components/code_highlighter/tpl/popup.css deleted file mode 100644 index 29361e224..000000000 --- a/modules/editor/components/code_highlighter/tpl/popup.css +++ /dev/null @@ -1,24 +0,0 @@ -@charset "utf-8"; -@import url(../../../../../modules/admin/tpl/css/admin.css); - -#folder_area { clear:left; } - -.border_type { float:left; margin-right:1em; width:120px; } - -img.color_icon { width:14px; height:14px; border:1px solid #FFFFFF; } - -img.color_icon_over { width:14px; height:14px; border:1px solid #000000; cursor:pointer; } - -img.border_preview_color { width:30px; height:16px; border:1px solid #EEEEEE; background-color:#88EE22; } - -img.border_preview_none_color { width:30px; height:12px; border:1px solid #EEEEEE; background-color:#FFFFFF; } - -img.bg_preview_color { width:30px; height:16px; border:1px solid #000000; background-color:#FFFFFF; } - -.editor_color_box { clear:both; height:65px; width:400px; border:1px solid #DDDDDD; padding:2px; } - -.editor_link_type { float:left; margin-right:.5em; vertical-align:middle; white-space:nowrap; } - -.editor_color_input { clear:both; } - -li { list-style:none; float:left; margin:5px 10px 0px 0;} diff --git a/modules/editor/components/code_highlighter/tpl/popup.html b/modules/editor/components/code_highlighter/tpl/popup.html deleted file mode 100644 index 69c7b8315..000000000 --- a/modules/editor/components/code_highlighter/tpl/popup.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - -
    -

    {$component_info->title} ver. {$component_info->version}

    -
    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    {$lang->code_type}
    - -
    {$lang->file_path}
    - -
    {$lang->description}
    - -
    {$lang->first_line}
    - - -
    {$lang->used_collapse}
    - -
    {$lang->hidden_controls}
    - -
    -
    - - - -
    diff --git a/modules/editor/components/code_highlighter/tpl/popup.js b/modules/editor/components/code_highlighter/tpl/popup.js deleted file mode 100644 index 3a6286fac..000000000 --- a/modules/editor/components/code_highlighter/tpl/popup.js +++ /dev/null @@ -1,78 +0,0 @@ -/** - * popup으로 열렸을 경우 부모창의 위지윅에디터에 select된 멀티미디어 컴포넌트 코드를 체크하여 - * 있으면 가져와서 원하는 곳에 삽입 - **/ -var selected_node = null; -function getCode() { - // 부모 위지윅 에디터에서 선택된 영역이 있는지 확인 - if(typeof(opener)=='undefined') return; - - var node = opener.editorPrevNode; - if(!node || node.nodeName != 'DIV') return; - - selected_node = node; - - var code_type = node.getAttribute('code_type'); - var file_path = node.getAttribute('file_path'); - var description = node.getAttribute('description'); - var first_line = node.getAttribute('first_line'); - var collapse = node.getAttribute('collapse'); - var nogutter = node.getAttribute('nogutter'); - var nocontrols = node.getAttribute('nocontrols'); - - jQuery('#code_type').val(code_type); - jQuery('#file_path').val(file_path); - jQuery('#description').val(description); - if(!first_line) jQuery('#first_line').val('1'); - else jQuery('#first_line').val(first_line); - if(collapse == 'Y' || collapse == 'true') jQuery('#collapse').attr('checked', true); - if(nogutter == 'Y' || nogutter == 'true') jQuery('#nogutter').attr('checked', true); - if(nocontrols == 'Y' || nocontrols == 'true') jQuery('#nocontrols').attr('checked', true); -} - -/* 추가 버튼 클릭시 부모창의 위지윅 에디터에 인용구 추가 */ -function insertCode() { - if(typeof(opener)=='undefined') return; - - var code_type = jQuery('#code_type').val(); - var file_path = jQuery('#file_path').val(); - var description = jQuery('#description').val(); - var first_line = jQuery('#first_line').val(); - var collapse = jQuery('#collapse').attr('checked'); - var nogutter = jQuery('#nogutter').attr('checked'); - var nocontrols = jQuery('#nocontrols').attr('checked'); - - var content = ''; - if(selected_node) content = jQuery(selected_node).html(); - else content = opener.editorGetSelectedHtml(opener.editorPrevSrl); - - var style = "border: #666666 1px dotted; border-left: #22aaee 5px solid; padding: 5px; background: #FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;"; - - if(!content) content = " "; - - var text = '
    '+content+'
    '+"
    "; - - if(selected_node) { - selected_node.setAttribute('code_type', code_type); - selected_node.setAttribute('file_path', file_path); - selected_node.setAttribute('description', description); - selected_node.setAttribute('first_line', first_line); - selected_node.setAttribute("collapse", collapse); - selected_node.setAttribute('nogutter', nogutter); - selected_node.setAttribute('nocontrols', nocontrols); - selected_node.setAttribute('style', style); - opener.editorFocus(opener.editorPrevSrl); - - } else { - - opener.editorFocus(opener.editorPrevSrl); - var iframe_obj = opener.editorGetIFrame(opener.editorPrevSrl) - opener.editorReplaceHTML(iframe_obj, text); - opener.editorFocus(opener.editorPrevSrl); - } - - window.close(); -} - -jQuery(getCode); - diff --git a/modules/editor/components/emoticon/info.xml b/modules/editor/components/emoticon/info.xml index 4e264821f..45ff46a62 100644 --- a/modules/editor/components/emoticon/info.xml +++ b/modules/editor/components/emoticon/info.xml @@ -4,6 +4,7 @@ 顔文字(イモティコン) 表情图标 Display Emoticons + Diễn tả cảm xúc Mostrar iconos gestuales Отображение смайлов 表情符號 @@ -11,6 +12,7 @@ 顔文字(イモティコン)をエディターに追加することが出来ます。 可以插入表情图标到编辑器。 You may insert emoticons to editor. + Bạn có thể chèn biểu tượng cảm xúc vào bài viết. Usted puede insertar emoticonos para el editor. Вы можете вставить смыйлы в редактор. 可插入表情符號到編輯器。 @@ -19,6 +21,7 @@ zero + zero zero zero zero diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (1).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (1).gif deleted file mode 100644 index 12fa2e5ec..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (1).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (10).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (10).gif deleted file mode 100644 index 18559a431..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (10).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (11).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (11).gif deleted file mode 100644 index 1ae330318..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (11).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (12).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (12).gif deleted file mode 100644 index 5af5f65bf..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (12).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (13).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (13).gif deleted file mode 100644 index f24320359..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (13).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (14).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (14).gif deleted file mode 100644 index afbc29c48..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (14).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (15).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (15).gif deleted file mode 100644 index 4c522758b..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (15).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (16).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (16).gif deleted file mode 100644 index 4cd7e9f32..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (16).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (17).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (17).gif deleted file mode 100644 index 709727b84..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (17).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (18).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (18).gif deleted file mode 100644 index 1504f5b2d..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (18).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (19).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (19).gif deleted file mode 100644 index 024fd6c02..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (19).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (2).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (2).gif deleted file mode 100644 index eef7c164b..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (2).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (20).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (20).gif deleted file mode 100644 index bec5cf472..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (20).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (21).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (21).gif deleted file mode 100644 index 8700419c5..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (21).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (22).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (22).gif deleted file mode 100644 index 435a57c26..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (22).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (23).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (23).gif deleted file mode 100644 index c1e628bd0..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (23).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (24).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (24).gif deleted file mode 100644 index 4760fe527..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (24).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (25).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (25).gif deleted file mode 100644 index 7ac75cf23..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (25).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (26).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (26).gif deleted file mode 100644 index 6f1ef7fe9..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (26).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (27).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (27).gif deleted file mode 100644 index 266e7a24f..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (27).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (28).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (28).gif deleted file mode 100644 index 7b79f086f..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (28).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (29).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (29).gif deleted file mode 100644 index 3974913f8..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (29).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (3).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (3).gif deleted file mode 100644 index 2cbdd2fc8..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (3).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (30).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (30).gif deleted file mode 100644 index 84627561c..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (30).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (31).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (31).gif deleted file mode 100644 index a8c243103..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (31).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (32).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (32).gif deleted file mode 100644 index 4e5ed30af..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (32).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (33).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (33).gif deleted file mode 100644 index b06ffc51c..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (33).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (34).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (34).gif deleted file mode 100644 index 7c8aaa859..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (34).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (35).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (35).gif deleted file mode 100644 index ce7fa09ca..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (35).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (36).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (36).gif deleted file mode 100644 index 3e0f77729..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (36).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (37).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (37).gif deleted file mode 100644 index c6fd22eb3..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (37).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (38).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (38).gif deleted file mode 100644 index 245ac15f8..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (38).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (39).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (39).gif deleted file mode 100644 index 778bc4815..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (39).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (4).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (4).gif deleted file mode 100644 index 986b70cfd..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (4).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (40).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (40).gif deleted file mode 100644 index fc45cdb5e..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (40).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (41).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (41).gif deleted file mode 100644 index c7a24dc22..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (41).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (42).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (42).gif deleted file mode 100644 index ed6316663..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (42).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (43).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (43).gif deleted file mode 100644 index 9436621c5..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (43).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (44).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (44).gif deleted file mode 100644 index a55173d34..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (44).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (45).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (45).gif deleted file mode 100644 index 6007635fa..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (45).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (46).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (46).gif deleted file mode 100644 index 63dfc39d1..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (46).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (47).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (47).gif deleted file mode 100644 index baafa4b82..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (47).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (48).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (48).gif deleted file mode 100644 index cba1296bd..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (48).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (49).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (49).gif deleted file mode 100644 index e109b79f6..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (49).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (5).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (5).gif deleted file mode 100644 index 2a3803f12..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (5).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (50).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (50).gif deleted file mode 100644 index 60f103357..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (50).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (51).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (51).gif deleted file mode 100644 index 1ed661e6e..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (51).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (52).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (52).gif deleted file mode 100644 index 0ffcffcb9..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (52).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (53).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (53).gif deleted file mode 100644 index d8bcea3fd..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (53).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (54).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (54).gif deleted file mode 100644 index 14fffc481..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (54).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (55).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (55).gif deleted file mode 100644 index 4f9d1da07..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (55).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (56).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (56).gif deleted file mode 100644 index 54ac7dd8e..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (56).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (57).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (57).gif deleted file mode 100644 index c4a8b6dec..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (57).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (58).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (58).gif deleted file mode 100644 index a238ea606..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (58).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (59).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (59).gif deleted file mode 100644 index 2588e9776..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (59).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (6).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (6).gif deleted file mode 100644 index ed97aa275..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (6).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (60).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (60).gif deleted file mode 100644 index c019e9433..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (60).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (61).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (61).gif deleted file mode 100644 index ebef9bc4d..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (61).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (62).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (62).gif deleted file mode 100644 index 2006de47f..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (62).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (63).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (63).gif deleted file mode 100644 index 72dae7872..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (63).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (64).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (64).gif deleted file mode 100644 index 1c81da04f..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (64).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (65).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (65).gif deleted file mode 100644 index 8c6907f02..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (65).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (66).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (66).gif deleted file mode 100644 index 24b3b9d04..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (66).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (67).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (67).gif deleted file mode 100644 index 60cb90426..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (67).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (68).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (68).gif deleted file mode 100644 index 049b2c5bf..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (68).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (69).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (69).gif deleted file mode 100644 index c6b27c919..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (69).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (7).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (7).gif deleted file mode 100644 index d80e75e70..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (7).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (70).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (70).gif deleted file mode 100644 index d8404d080..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (70).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (71).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (71).gif deleted file mode 100644 index 2a236da91..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (71).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (72).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (72).gif deleted file mode 100644 index 8e76cdc88..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (72).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (73).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (73).gif deleted file mode 100644 index 059df3f4e..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (73).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (74).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (74).gif deleted file mode 100644 index a7809fde0..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (74).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (75).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (75).gif deleted file mode 100644 index 27a5f8dbd..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (75).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (76).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (76).gif deleted file mode 100644 index e01332b83..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (76).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (77).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (77).gif deleted file mode 100644 index fcfed01f4..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (77).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (78).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (78).gif deleted file mode 100644 index 79647a54f..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (78).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (79).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (79).gif deleted file mode 100644 index 1682dd35a..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (79).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (8).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (8).gif deleted file mode 100644 index 518d3f015..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (8).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (80).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (80).gif deleted file mode 100644 index 55a96fc50..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (80).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (81).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (81).gif deleted file mode 100644 index 360d32bf6..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (81).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (82).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (82).gif deleted file mode 100644 index 1a3a356af..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (82).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (83).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (83).gif deleted file mode 100644 index 879ea718c..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (83).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (84).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (84).gif deleted file mode 100644 index 9a2b7d106..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (84).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (85).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (85).gif deleted file mode 100644 index 306b2d6fe..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (85).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (86).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (86).gif deleted file mode 100644 index f2ea3d3e0..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (86).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (87).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (87).gif deleted file mode 100644 index a8360b1db..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (87).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (88).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (88).gif deleted file mode 100644 index 23bbead95..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (88).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (9).gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (9).gif deleted file mode 100644 index aa66e6440..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon (9).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon.gif b/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon.gif deleted file mode 100644 index 0521c0d72..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/animated/animate_emoticon.gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (1).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (1).gif deleted file mode 100644 index 1a903627c..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (1).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (10).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (10).gif deleted file mode 100644 index e99047348..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (10).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (11).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (11).gif deleted file mode 100644 index bdc90241a..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (11).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (12).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (12).gif deleted file mode 100644 index 735517a90..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (12).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (13).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (13).gif deleted file mode 100644 index d07bf34b2..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (13).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (14).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (14).gif deleted file mode 100644 index 45670df93..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (14).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (15).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (15).gif deleted file mode 100644 index 75e32d017..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (15).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (16).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (16).gif deleted file mode 100644 index 9b4f0f5b9..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (16).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (17).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (17).gif deleted file mode 100644 index 64033b3de..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (17).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (18).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (18).gif deleted file mode 100644 index c03bd640f..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (18).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (19).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (19).gif deleted file mode 100644 index e5f6c4ea7..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (19).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (2).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (2).gif deleted file mode 100644 index f55cd7766..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (2).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (20).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (20).gif deleted file mode 100644 index b815e3eb4..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (20).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (21).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (21).gif deleted file mode 100644 index 48c5b1f38..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (21).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (22).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (22).gif deleted file mode 100644 index d524aaf75..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (22).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (23).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (23).gif deleted file mode 100644 index bdc90241a..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (23).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (24).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (24).gif deleted file mode 100644 index cbe38f48b..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (24).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (25).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (25).gif deleted file mode 100644 index 72494585d..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (25).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (26).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (26).gif deleted file mode 100644 index ecd8876c0..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (26).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (27).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (27).gif deleted file mode 100644 index a84fea3c7..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (27).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (28).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (28).gif deleted file mode 100644 index 829296db8..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (28).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (29).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (29).gif deleted file mode 100644 index 16eb038a7..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (29).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (3).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (3).gif deleted file mode 100644 index 3e3838034..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (3).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (30).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (30).gif deleted file mode 100644 index c717a19d6..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (30).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (31).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (31).gif deleted file mode 100644 index 4f4be65e8..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (31).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (32).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (32).gif deleted file mode 100644 index 3bfa3e52e..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (32).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (33).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (33).gif deleted file mode 100644 index 390a908df..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (33).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (34).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (34).gif deleted file mode 100644 index aa866e371..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (34).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (35).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (35).gif deleted file mode 100644 index 4cf833592..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (35).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (36).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (36).gif deleted file mode 100644 index e15b6dde0..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (36).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (37).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (37).gif deleted file mode 100644 index ef7951871..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (37).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (38).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (38).gif deleted file mode 100644 index 7983fd207..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (38).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (4).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (4).gif deleted file mode 100644 index 763789369..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (4).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (5).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (5).gif deleted file mode 100644 index 8ff432db3..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (5).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (6).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (6).gif deleted file mode 100644 index 3fe461798..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (6).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (7).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (7).gif deleted file mode 100644 index 774d85345..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (7).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (8).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (8).gif deleted file mode 100644 index 9bf924d21..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (8).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (9).gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (9).gif deleted file mode 100644 index 90f15ea6e..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit (9).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit.gif b/modules/editor/components/emoticon/tpl/images/rabbit/rabbit.gif deleted file mode 100644 index d54adc77c..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/rabbit/rabbit.gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (1).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (1).gif deleted file mode 100644 index 902484a4b..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (1).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (10).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (10).gif deleted file mode 100644 index 73605ede7..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (10).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (11).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (11).gif deleted file mode 100644 index c89bed06a..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (11).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (12).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (12).gif deleted file mode 100644 index 642a045b9..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (12).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (13).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (13).gif deleted file mode 100644 index 4e248e7b6..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (13).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (14).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (14).gif deleted file mode 100644 index cea837f9d..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (14).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (15).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (15).gif deleted file mode 100644 index 47187bd8e..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (15).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (16).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (16).gif deleted file mode 100644 index a2ea2a07b..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (16).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (17).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (17).gif deleted file mode 100644 index a5ce25f14..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (17).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (18).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (18).gif deleted file mode 100644 index c06637fa5..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (18).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (2).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (2).gif deleted file mode 100644 index df7f63020..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (2).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (3).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (3).gif deleted file mode 100644 index ebefa7fff..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (3).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (4).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (4).gif deleted file mode 100644 index 46d45a255..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (4).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (5).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (5).gif deleted file mode 100644 index e360adf24..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (5).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (6).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (6).gif deleted file mode 100644 index 87d74c10f..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (6).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (7).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (7).gif deleted file mode 100644 index 7d9a30d56..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (7).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (8).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (8).gif deleted file mode 100644 index 13b017049..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (8).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (9).gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (9).gif deleted file mode 100644 index 26bfc7edc..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon (9).gif and /dev/null differ diff --git a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon.gif b/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon.gif deleted file mode 100644 index ace9a69b6..000000000 Binary files a/modules/editor/components/emoticon/tpl/images/yellow/yellow_emoticon.gif and /dev/null differ diff --git a/modules/editor/components/image_gallery/info.xml b/modules/editor/components/image_gallery/info.xml index 901b4a8b8..8d027674e 100644 --- a/modules/editor/components/image_gallery/info.xml +++ b/modules/editor/components/image_gallery/info.xml @@ -1,5 +1,6 @@ + Slide Show 기본 이미지 갤러리 デフォルトイメージギャラリー 图片相册 @@ -7,8 +8,9 @@ Galería de imágenes básicos Базовая галлерея изображений 預設圖片相簿 + 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. 첨부된 이미지파일을 이용하여 슬라이드/목록형 이미지 갤러리를 만들 수 있습니다. - 添付されたイメージファイルを利用して、スライド型・リスト型のイメージギャラリーが作成出来ます。 + 添付されたイメージファイルを利用して、スライド型・リスト型のイメージギャラリーが作成できます。 利用上传的图片文件实现幻灯片式或目录型相册图片。 It can create image gallery of slide/list style by using attached image file. It can create image gallery of slide/list style by using attached image file. @@ -18,6 +20,7 @@ 2007-02-28 + zero zero zero zero diff --git a/modules/editor/components/image_gallery/lang/ko.lang.php b/modules/editor/components/image_gallery/lang/ko.lang.php index 1d0cf21dc..210964823 100644 --- a/modules/editor/components/image_gallery/lang/ko.lang.php +++ b/modules/editor/components/image_gallery/lang/ko.lang.php @@ -5,23 +5,23 @@ * @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->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 = "썸네일 보기"; + $lang->cmd_gallery_prev = '이전 그림 보기'; + $lang->cmd_gallery_next = '다음 그림 보기'; + $lang->cmd_gallery_thumbnail = '썸네일 보기'; ?> diff --git a/modules/editor/components/image_gallery/lang/vi.lang.php b/modules/editor/components/image_gallery/lang/vi.lang.php new file mode 100644 index 000000000..96637d0a4 --- /dev/null +++ b/modules/editor/components/image_gallery/lang/vi.lang.php @@ -0,0 +1,29 @@ +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ỏ"; +?> diff --git a/modules/editor/components/image_gallery/tpl/popup.js b/modules/editor/components/image_gallery/tpl/popup.js index e39fe233f..0fa1c2797 100644 --- a/modules/editor/components/image_gallery/tpl/popup.js +++ b/modules/editor/components/image_gallery/tpl/popup.js @@ -49,6 +49,7 @@ function getSlideShow() { for(var i=0;iイメージ追加 插入图像 Add Images + Thêm hình ảnh Añadir imágenes Добавление изображений 圖片連結 @@ -11,6 +12,7 @@ エディターでイメージの追加、属性の変更が出来ます。 可以插入图像或编辑其相应属性。 It can add an image to editor or change the attribution of image. + Bạn có thể thêm hình ảnh để sửa hay chia sẻ. Se puede añadir una imagen a editor o cambiar la atribución de la imagen. Это может добавить изображение в редактор или изменить параметры изображения. 可以新增或編輯其相關屬性。 @@ -22,6 +24,7 @@ zero zero zero + zero zero zero zero diff --git a/modules/editor/components/image_link/lang/ko.lang.php b/modules/editor/components/image_link/lang/ko.lang.php index eaff0bae7..0ba78cb44 100644 --- a/modules/editor/components/image_link/lang/ko.lang.php +++ b/modules/editor/components/image_link/lang/ko.lang.php @@ -7,7 +7,7 @@ $lang->image_url = '이미지 경로'; $lang->image_alt = '설명 입력'; - $lang->image_scale = '이미지크기'; + $lang->image_scale = '이미지 크기'; $lang->image_align = '정렬 방법'; $lang->image_align_normal = '한 문단을 차지'; $lang->image_align_left = '글의 왼쪽으로'; @@ -16,8 +16,8 @@ $lang->image_border = '경계선 두께'; $lang->image_margin = '바깥 여백'; - $lang->urllink_open_window = '새창열기'; - $lang->about_url_link_open_window = '선택하시면 링크 선택시 새창으로 열립니다'; + $lang->urllink_open_window = '새 창 열기'; + $lang->about_url_link_open_window = '선택하시면 링크 선택 시 새 창으로 열립니다.'; - $lang->cmd_get_scale = '크기 구하기'; + $lang->cmd_get_scale = '가로세로 구하기'; ?> diff --git a/modules/editor/components/image_link/lang/vi.lang.php b/modules/editor/components/image_link/lang/vi.lang.php new file mode 100644 index 000000000..034ed9fea --- /dev/null +++ b/modules/editor/components/image_link/lang/vi.lang.php @@ -0,0 +1,24 @@ +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"; +?> \ No newline at end of file diff --git a/modules/editor/components/multimedia_link/info.xml b/modules/editor/components/multimedia_link/info.xml index fae528249..6b7781497 100644 --- a/modules/editor/components/multimedia_link/info.xml +++ b/modules/editor/components/multimedia_link/info.xml @@ -7,23 +7,26 @@ Administrar datos multimedia Управление мультимедиа данными 多媒體管理 + Chèn Media vào bài viết 에디터에 wmv,avi,flv등의 멀티미디어 자료를 추가하거나 속성을 수정할 수 있습니다. - エディターに拡張子が「wmv,avi,flv」などのマルチメディアコンテンツを追加、または属性の修正が出来ます。 + エディターに拡張子が「wmv,avi,flv」などのマルチメディアコンテンツを追加、または属性の修正ができます。 插入wmv,avi,flv等多媒体文件或修改其相应属性 。 It can add multimedia data like wmv,avi,flv to editor or change the attribution of multimedia data. - Se pueden agregar datos multimedia como wmv, avi, flv al editor o cambiar la atribución de datos multimedia. + Se pueden agregar datos multimedia como wmv, avi, flv al editor o cambiar la atribución de datos multimedia. Это может добавить мультимедиа данные как wmv,avi,flv в редактор или изменить параметры данных мультимедиа. 可新增 wmv、avi,flv等多媒體檔案或修改其相關屬性。 + Chèn Media dạng '.wmv,.avi,.flv,.mp3,.wma' vào bài viết. 0.1 2007-02-28 - zero + zero zero zero zero zero zero zero + zero diff --git a/modules/editor/components/multimedia_link/lang/jp.lang.php b/modules/editor/components/multimedia_link/lang/jp.lang.php index 856e7f959..6b81251a5 100644 --- a/modules/editor/components/multimedia_link/lang/jp.lang.php +++ b/modules/editor/components/multimedia_link/lang/jp.lang.php @@ -1,7 +1,7 @@ 翻訳:RisaPapa + * @author zero 翻訳:RisaPapa、ミニミ * @brief ウィジウィグエディター(editor)モジュール > マルチメディアリンク((multimedia_link)コンポネント言語パッケージ **/ @@ -10,4 +10,9 @@ $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 = '透明背景'; ?> diff --git a/modules/editor/components/multimedia_link/lang/ko.lang.php b/modules/editor/components/multimedia_link/lang/ko.lang.php index c260527c6..1da590e2a 100644 --- a/modules/editor/components/multimedia_link/lang/ko.lang.php +++ b/modules/editor/components/multimedia_link/lang/ko.lang.php @@ -5,11 +5,11 @@ * @brief 위지윅에디터(editor) 모듈 > 멀티미디어 링크 (multimedia_link) 컴포넌트의 언어팩 **/ - $lang->multimedia_url = "멀티미디어 경로"; - $lang->multimedia_caption = "설명 입력"; - $lang->multimedia_width = "가로크기"; - $lang->multimedia_height = "세로크기"; - $lang->multimedia_auto_start = "자동시작"; + $lang->multimedia_url = '멀티미디어 경로'; + $lang->multimedia_caption = '설명 입력'; + $lang->multimedia_width = '가로'; + $lang->multimedia_height = '세로'; + $lang->multimedia_auto_start = '자동 시작'; $lang->multimedia_wmode = '위치'; $lang->multimedia_wmode_window = '항상 위'; diff --git a/modules/editor/components/multimedia_link/lang/vi.lang.php b/modules/editor/components/multimedia_link/lang/vi.lang.php new file mode 100644 index 000000000..28d1afa46 --- /dev/null +++ b/modules/editor/components/multimedia_link/lang/vi.lang.php @@ -0,0 +1,15 @@ +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"; +?> diff --git a/modules/editor/components/naver_map/component_icon.gif b/modules/editor/components/naver_map/component_icon.gif deleted file mode 100644 index 43af17d20..000000000 Binary files a/modules/editor/components/naver_map/component_icon.gif and /dev/null differ diff --git a/modules/editor/components/naver_map/icon.gif b/modules/editor/components/naver_map/icon.gif deleted file mode 100644 index 26c0eaef4..000000000 Binary files a/modules/editor/components/naver_map/icon.gif and /dev/null differ diff --git a/modules/editor/components/naver_map/info.xml b/modules/editor/components/naver_map/info.xml deleted file mode 100644 index 1f269cf2d..000000000 --- a/modules/editor/components/naver_map/info.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - 네이버맵 연동 - ネイバーマップ連動 - NAVER 地图 - Naver Map Open Api - Naver mapa abierto api - Открытые API карт Naver - NAVER 地圖 Open API - 네이버에서 제공하는 네이버 지도 open api를 이용하여 에디터에 원하는 곳의 지도를 추가하거나 수정할 수 있습니다.\n네이버 지도 open api키를 발급 받아서 등록을 해주셔야 정상적인 사용이 가능합니다. - ネイバーから提供されるネイバーマップのOpenAPIを利用してエディターに表示したい地図を追加したり、修正したりすることが出来ます。ネイバーマップは、OpenAPIキーを取得して登録すれば使用することが出来ます。 - naver提供的naver地图,利用open api在编辑器里添加或修改您所需要的地图。\n为了使用naver地图首先要取得open api key,然后登录此key才可正常使用。 - You can add a map to the editor or modify it by using Naver Map open api provided by Naver.\nYou would be able to use it when you register Naver Map api key after you get it from http://www.naver.com. - Puede poner un mapa para el editor o modificarlo utilizando Naver Mapa abierta api proporcionada por Naver. \ NSe se podrá hacer uso del mismo cuando se registra Naver Mapa api clave se obtiene después de http://www.naver.com . - Вы можете добавить карту в редактор или изменить ее, используя Naver Map open api, предлагаемые Naver.\nВы сможете использовать это после регистрации ключа Naver Map API, полученного с http://www.naver.com. - naver所提供的地圖,利用Open API在編輯器中,新增或修改成您所需要的地圖。\n使用 naver地圖要先獲得 Open API key,然後登錄 key才能正常使用。 - 0.1 - 2009-02-23 - - - zero - zero - zero - zero - zero - zero - zero - - - misol - misol - misol - misol - misol - misol - misol - - - - - 네이버지도 api key - ネイバーマップAPIキー - naver地图 api key - Naver Map api key - Naver Map api key - Naver Map API Ключ - naver地圖 API key - http://www.naver.com/ 에서 네이버 지도 API key를 발급 받으신 후 입력해주세요. - http://www.naver.com/ からネイバーマップのAPIキーを取得してから入力して下さい。 - 在http://www.naver.com/ 取得naver地图 API key后输入。 - Please get Naver Map API key from http://www.naver.com first and then input the key. - Por favor Naver Mapa clave de la API de http://www.naver.com primero y luego ingrese la clave. - Пожалуйста, получите ключ Naver Map API с http://www.naver.com и введите его. - 先在 http://www.naver.com/ 網址取得 naver地圖 API key之後輸入。 - - - diff --git a/modules/editor/components/naver_map/lang/en.lang.php b/modules/editor/components/naver_map/lang/en.lang.php deleted file mode 100644 index 2a5d9ec97..000000000 --- a/modules/editor/components/naver_map/lang/en.lang.php +++ /dev/null @@ -1,22 +0,0 @@ - - * @brief editor module > language pack of multimedia_link(Naver Map) component - **/ - - $lang->map_width = "Width"; - $lang->map_height = "Height"; - - // Expressions - $lang->about_address = "Ex) Jeongjadong Boondang, Yeoksam"; - $lang->about_address_use = "Please search the address first and then press [Insert] button. Then, the map would be added to the article."; - - // Error Messages - $lang->msg_not_exists_addr = "Address doesn't exist"; - $lang->msg_fail_to_socket_open = "Failed to connect zip code searching server"; - $lang->msg_no_result = "Nothing Found"; - - $lang->msg_no_apikey = "Naver Map api key is necessary to use Naver Map.\nPlease input api key after selecting Module > WISYWIG Editor > Naver Map Open Api"; - -?> diff --git a/modules/editor/components/naver_map/lang/es.lang.php b/modules/editor/components/naver_map/lang/es.lang.php deleted file mode 100644 index d7e3cf112..000000000 --- a/modules/editor/components/naver_map/lang/es.lang.php +++ /dev/null @@ -1,22 +0,0 @@ - - * @brief editor module > language pack of multimedia_link(Naver Map) component - **/ - - $lang->map_width = "Ancho"; - $lang->map_height = "Altura"; - - // Expresiones - $lang->about_address = "Ex) Jeongjadong Boondang, Yeoksam"; - $lang->about_address_use = "Por favor, busque en la direccion primero y luego pulse el boton [Insertar]. Entonces, el mapa se anadiria al articulo."; - - // Mensajes de error - $lang->msg_not_exists_addr = "Direccion no existe"; - $lang->msg_fail_to_socket_open = "No se ha podido conectar codigo postal servidor de busqueda"; - $lang->msg_no_result = "Nada de lo encontrado"; - - $lang->msg_no_apikey = "Naver Mapa api clave es necesario el uso de Naver Mapa. \nPor favor, api clave de entrada despues de la seleccion del modulo > WISYWIG Editor > Abrir Mapa Naver Api "; - -?> diff --git a/modules/editor/components/naver_map/lang/jp.lang.php b/modules/editor/components/naver_map/lang/jp.lang.php deleted file mode 100644 index 0a103b064..000000000 --- a/modules/editor/components/naver_map/lang/jp.lang.php +++ /dev/null @@ -1,21 +0,0 @@ - 翻訳:RisaPapa、ミニミ - * @brief ウィジウィグエディター(editor) > マルチメディアリンク(naver_map)コンポネント言語パッケージ - **/ - - $lang->map_width = "横幅サイズ"; - $lang->map_height = "縦幅サイズ"; - - // 表示メッセージ - $lang->about_address = "例)분당 정자동, 역삼"; - $lang->about_address_use = "検索ウィンドウで住所を検索した後、出力された結果を選択して、「追加」ボタンを押せば、書き込みの内容に地図が追加されます。"; - - // エラーメッセージ - $lang->msg_not_exists_addr = "検索対象がありません。"; - $lang->msg_fail_to_socket_open = "郵便番号を検索するサーバとの接続に失敗しました。"; - $lang->msg_no_result = "検索結果がありません。"; - - $lang->msg_no_apikey = "ネイバーマップを使用するためには、ネイバーマップのOpenAPIキーを取得しなければなりません。\nOpenAPIキーを 管理者 > ウィジウィグエディター > ネイバーマップコンポネント設定を選択した後、入力して下さい。"; -?> diff --git a/modules/editor/components/naver_map/lang/ko.lang.php b/modules/editor/components/naver_map/lang/ko.lang.php deleted file mode 100644 index 2f88e82e2..000000000 --- a/modules/editor/components/naver_map/lang/ko.lang.php +++ /dev/null @@ -1,21 +0,0 @@ - - * @brief 위지윅에디터(editor) 모듈 > 멀티미디어 링크 (naver_map) 컴포넌트의 언어팩 - **/ - - $lang->map_width = "가로크기"; - $lang->map_height = "세로크기"; - - // 문구 - $lang->about_address = "예) 분당 정자동, 역삼"; - $lang->about_address_use = "검색창에서 원하는 주소를 검색하신후 출력된 결과물을 선택하시고 [추가] 버튼을 눌러주시면 글에 지도가 추가가 됩니다"; - - // 에러 메세지들 - $lang->msg_not_exists_addr = "검색하려는 대상이 없습니다"; - $lang->msg_fail_to_socket_open = "우편번호 검색 대상 서버 접속이 실패하였습니다"; - $lang->msg_no_result = "검색 결과가 없습니다"; - - $lang->msg_no_apikey = "네이버맵 사용을 위해서는 네이버맵 open api key가 있어야 합니다.\nopen api key를 관리자 > 위지윅에디터 > 네이버 지도 연동 컴포넌트 설정을 선택한 후 입력하여 주세요"; -?> diff --git a/modules/editor/components/naver_map/lang/ru.lang.php b/modules/editor/components/naver_map/lang/ru.lang.php deleted file mode 100644 index 2e139e79c..000000000 --- a/modules/editor/components/naver_map/lang/ru.lang.php +++ /dev/null @@ -1,22 +0,0 @@ - | 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(Naver Map) component - **/ - - $lang->map_width = "Ширина"; - $lang->map_height = "Высота"; - - // Expressions - $lang->about_address = "Например: Jeongjadong Boondang, Yeoksam"; - $lang->about_address_use = "Подалуйста, сначала поищите адрес, и затем нажмите кнопку [Вставить]. Тогда карта будет применена к статье."; - - // Error Messages - $lang->msg_not_exists_addr = "Адрес не существует"; - $lang->msg_fail_to_socket_open = "Ошибка подключения к поисковому серверу почтовых индексов"; - $lang->msg_no_result = "Ничего не найдено"; - - $lang->msg_no_apikey = "Naver Map api key необходим для использования Naver Map.\nПожалуйста, введите api ключ после выбора модуля > WISYWIG-редактор > Naver Map Open Api"; - -?> diff --git a/modules/editor/components/naver_map/lang/zh-CN.lang.php b/modules/editor/components/naver_map/lang/zh-CN.lang.php deleted file mode 100644 index 8535f3252..000000000 --- a/modules/editor/components/naver_map/lang/zh-CN.lang.php +++ /dev/null @@ -1,21 +0,0 @@ - - * @brief 网页编辑器(editor) 模块 > naver地图 (naver_map) 组件语言包 - **/ - - $lang->map_width = "宽度"; - $lang->map_height = "高度"; - - // 词句 - $lang->about_address = "例) 王府井 餐厅, 月坛公园"; - $lang->about_address_use = "在搜索窗口搜索要找的地址后,按『添加』按钮即可把相关地图插入到文章当中。"; - - // 错误信息 - $lang->msg_not_exists_addr = "没有找到搜索的对象"; - $lang->msg_fail_to_socket_open = "链接搜索邮编服务器失败。"; - $lang->msg_no_result = "没有搜索结果"; - - $lang->msg_no_apikey = "要想使用naver地图,将需要一个open api key。\n 请选择管理员 > 网页编辑器 > naver地图设置后输入open api key。"; -?> diff --git a/modules/editor/components/naver_map/lang/zh-TW.lang.php b/modules/editor/components/naver_map/lang/zh-TW.lang.php deleted file mode 100644 index bd8e7648e..000000000 --- a/modules/editor/components/naver_map/lang/zh-TW.lang.php +++ /dev/null @@ -1,21 +0,0 @@ - 翻譯:royallin - * @brief 網頁編輯器(editor) 模組 > naver地圖 (naver_map) 組件語言 - **/ - - $lang->map_width = "寬度"; - $lang->map_height = "高度"; - - // 詞句 - $lang->about_address = "例) 餐廳, 公園"; - $lang->about_address_use = "在搜尋視窗搜尋要找的地址後,按『新增』按鈕即可把相關地圖插入到文章當中。"; - - // 錯誤訊息 - $lang->msg_not_exists_addr = "找不到搜尋的目標"; - $lang->msg_fail_to_socket_open = "連結搜尋郵編主機失敗。"; - $lang->msg_no_result = "無搜尋結果"; - - $lang->msg_no_apikey = "想要使用naver地圖,需要一個Open API key。\n 請選擇管理員 > 網頁編輯器 > naver地圖設置後輸入Open API key。"; -?> diff --git a/modules/editor/components/naver_map/naver_map.class.php b/modules/editor/components/naver_map/naver_map.class.php deleted file mode 100644 index 0bee091c0..000000000 --- a/modules/editor/components/naver_map/naver_map.class.php +++ /dev/null @@ -1,207 +0,0 @@ -upload_target_srl = $upload_target_srl; - $this->component_path = $component_path; - Context::loadLang($component_path.'lang'); - } - - /** - * @brief popup window요청시 popup window에 출력할 내용을 추가하면 된다 - **/ - function getPopupContent() { - // 템플릿을 미리 컴파일해서 컴파일된 소스를 return - $tpl_path = $this->component_path.'tpl'; - - if(!$this->api_key) $tpl_file = 'error.html'; - else $tpl_file = 'popup.html'; - - Context::set("tpl_path", $tpl_path); - - $oTemplate = &TemplateHandler::getInstance(); - return $oTemplate->compile($tpl_path, $tpl_file); - } - - /** - * @brief naver map open api에서 주소를 찾는 함수 - **/ - function search_address() { - $address = Context::get('address'); - if(!$address) return new Object(-1,'msg_not_exists_addr'); - - Context::loadLang($this->component_path."lang"); - - // 지정된 서버에 요청을 시도한다 - $address = urlencode(iconv("UTF-8","EUC-KR",$address)); - $query_string = sprintf('/api/geocode.php?key=%s&query=%s', $this->api_key, $address); - - $fp = fsockopen('maps.naver.com', 80, $errno, $errstr); - if(!$fp) return new Object(-1, 'msg_fail_to_socket_open'); - - fputs($fp, "GET {$query_string} HTTP/1.0\r\n"); - fputs($fp, "Host: maps.naver.com\r\n\r\n"); - - $buff = ''; - while(!feof($fp)) { - $str = fgets($fp, 1024); - if(trim($str)=='') $start = true; - if($start) $buff .= trim($str); - } - - fclose($fp); - - $buff = trim(iconv("EUC-KR", "UTF-8", $buff)); - $buff = str_replace('', '', $buff); - - $oXmlParser = new XmlParser(); - $xml_doc = $oXmlParser->parse($buff); - - //If a Naver OpenApi Error message exists. - if($xml_doc->error->error_code->body || $xml_doc->error->message->body) return new Object(-1, 'NAVER OpenAPI Error'."\n".'Code : '.$xml_doc->error->error_code->body."\n".'Message : '.$xml_doc->error->message->body); - - if($xml_doc->geocode->total->body == 0) return new Object(-1,'msg_no_result'); - $addrs = $xml_doc->geocode->item; - if(!is_array($addrs)) $addrs = array($addrs); - $addrs_count = count($addrs); - - $address_list = array(); - for($i=0;$i<$addrs_count;$i++) { - $item = $addrs[$i]; - - $address_list[] = sprintf("%s,%s,%s", $item->point->x->body, $item->point->y->body, $item->address->body); - - } - - $this->add("address_list", implode("\n", $address_list)); - } - - /** - * @brief 에디터 컴포넌트가 별도의 고유 코드를 이용한다면 그 코드를 html로 변경하여 주는 method - * - * 이미지나 멀티미디어, 설문등 고유 코드가 필요한 에디터 컴포넌트는 고유코드를 내용에 추가하고 나서 - * DocumentModule::transContent() 에서 해당 컴포넌트의 transHtml() method를 호출하여 고유코드를 html로 변경 - * - * 네이버 지도 open api 는 doctype에 대한 오류 및 기타 등등등등의 문제 때문에 iframe 을 만들고 컴포넌트를 다시 호출해서 html을 출력하게 한다. - * 네이버 지도 open api 가 xhtml1-transitional.dtd 를 지원하게 되면 다시 깔끔하게 고쳐야 함.. - * 2006년 3월 12일 하루 다 날렸다~~~ ㅡ.ㅜ - **/ - function transHTML($xml_obj) { - $x = $xml_obj->attrs->x; - $y = $xml_obj->attrs->y; - $zoom = $xml_obj->attrs->zoom; - if(!is_numeric($zoom)) $zoom = 3; - $marker = urlencode($xml_obj->attrs->marker); - $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; - - $body_code = sprintf('
    ', $width, $height, Context::getRequestUri(), $width, $height, $x, $y, $zoom, $marker, $width, $height); - return $body_code; - } - - function displayMap() { - $id = "navermap".rand(11111111,99999999); - - $width = Context::get('width'); - if(!$width) $width = 640; - settype($width,"float"); - - $height = Context::get('height'); - if(!$height) $height = 480; - settype($height,"float"); - - $x = Context::get('x'); - if(!$x) $x = 321198; - settype($x,"int"); - - $y = Context::get('y'); - if(!$y) $y = 529730; - settype($y,"int"); - - $zoom = Context::get('zoom'); - if($zoom == '') $zoom = 3; - settype($zoom,"int"); - - $marker = Context::get('marker'); - - $html = ''. - ''. - ''. - ''. - ''. - ''. - ''. - ''. - ''. - ''. - '
    '. - ''. - ''. - ''; - - print $html; - exit(); - } - } -?> diff --git a/modules/editor/components/naver_map/tpl/error.html b/modules/editor/components/naver_map/tpl/error.html deleted file mode 100644 index 1a909bf5d..000000000 --- a/modules/editor/components/naver_map/tpl/error.html +++ /dev/null @@ -1,10 +0,0 @@ - - -
    -
    - {nl2br($lang->msg_no_apikey)} -
    -
    - -
    -
    diff --git a/modules/editor/components/naver_map/tpl/navermap_component.gif b/modules/editor/components/naver_map/tpl/navermap_component.gif deleted file mode 100644 index a9e22712b..000000000 Binary files a/modules/editor/components/naver_map/tpl/navermap_component.gif and /dev/null differ diff --git a/modules/editor/components/naver_map/tpl/popup.css b/modules/editor/components/naver_map/tpl/popup.css deleted file mode 100644 index 7553a9ba5..000000000 --- a/modules/editor/components/naver_map/tpl/popup.css +++ /dev/null @@ -1,12 +0,0 @@ -@charset "utf-8"; -@import url(../../../../../../modules/admin/tpl/css/admin.css); - -.search { border:1px solid #DDDDDD; padding:5px; } -#address { width:100px; } -.about_address { clear:both; color:#DDDDDD; } - -.address_list_box { color:#AAAAAA; margin-top:1em; clear:both; padding:5px; height:110px; overflow-y:scroll } -.address_list_box a { color:#AAAAAA; } -.address_lists { list-style:none; } - -#display_map { width:400px; height:300px; border:1px solid #DDDDDD; } diff --git a/modules/editor/components/naver_map/tpl/popup.html b/modules/editor/components/naver_map/tpl/popup.html deleted file mode 100644 index 40d349952..000000000 --- a/modules/editor/components/naver_map/tpl/popup.html +++ /dev/null @@ -1,52 +0,0 @@ - - - -
    -

    {$component_info->title} ver. {$component_info->version}

    -
    - -
    - - - - - - - -
    - - -
    {$lang->about_address_use}
    - - - - - - - - - -
    {$lang->map_width}
    px
    {$lang->map_height}
    px
    -
    - -
    -
    - - diff --git a/modules/editor/components/naver_map/tpl/popup.js b/modules/editor/components/naver_map/tpl/popup.js deleted file mode 100644 index 667d4c104..000000000 --- a/modules/editor/components/naver_map/tpl/popup.js +++ /dev/null @@ -1,120 +0,0 @@ -/** - * popup으로 열렸을 경우 부모창의 위지윅에디터에 select된 멀티미디어 컴포넌트 코드를 체크하여 - * 있으면 가져와서 원하는 곳에 삽입 - **/ -function getNaverMap() { - // 부모 위지윅 에디터에서 선택된 영역이 있는지 확인 - if(typeof(opener)=="undefined") return; - - var node = opener.editorPrevNode; - if(!node || node.nodeName != "IMG") return; - - var x = node.getAttribute("x"); - var y = node.getAttribute("y"); - var width = xWidth(node); - var height = xHeight(node); - var address = node.getAttribute("address"); - var zoom = node.getAttribute("zoom"); - - if(x&&y) { - if(zoom) { - moveMap(x,y,zoom); - } - else { - moveMap(x,y,3); - } - } - if(address) { - xGetElementById("address").value = address; - search_address(address); - } - - xGetElementById("map_width").value = width-4; - xGetElementById("map_height").value = height-4; -} - -function insertNaverMap(obj) { - if(typeof(opener)=="undefined") return; - - var x = display_map.mapObj.getCenter().x; - var y = display_map.mapObj.getCenter().y; - var marker = xGetElementById("marker").value; - var address = xGetElementById("address").value; - var zoom = display_map.mapObj.getZoom(); - - var width = xGetElementById("map_width").value; - var height = xGetElementById("map_height").value; - - var text = ""; - - opener.editorFocus(opener.editorPrevSrl); - - var iframe_obj = opener.editorGetIFrame(opener.editorPrevSrl) - - opener.editorReplaceHTML(iframe_obj, text); - opener.editorFocus(opener.editorPrevSrl); - - window.close(); -} - -/* 네이버의 map openapi로 주소에 따른 좌표를 요청 */ -function search_address(selected_address) { - if(typeof(selected_address)=="undefined") selected_address = null; - var address = xGetElementById("address").value; - if(!address) return; - var params = new Array(); - params['component'] = "naver_map"; - params['address'] = address; - params['method'] = "search_address"; - - var response_tags = new Array('error','message','address_list'); - exec_xml('editor', 'procEditorCall', params, complete_search_address, response_tags, selected_address); -} - -function moveMap(x,y,scale) { - if(typeof(scale)=="undefined") scale = 3; - display_map.moveMap(x,y,scale); -} - -function selectPoint(i) { - moveMap(item[i][0],item[i][1],3); - display_map.showInfo(item[i][0],item[i][1],item[i][2]); -} - -var naver_address_list = new Array(); -var item = new Array(); -function complete_search_address(ret_obj, response_tags, selected_address) { - var address_list = ret_obj['address_list']; - if(!address_list) return; - - naver_address_list = new Array(); - - var html = ""; - var address_list = address_list.split("\n"); - if(address_list.length) { - item = new Array(); - for(var i=0;i"+item[i][2]+""; - } - } - if(address_list.length == 1) { - selectPoint(0); - } - - var list_zone = xGetElementById("address_list"); - xInnerHtml(list_zone, html); -} - -/* 마커 표시 */ -var marker_count = 1; -function addMarker(pos) { - if(marker_count>10) return; - xGetElementById("marker").value += '|@|'+pos; - marker_count++; - return true; -} -xAddEventListener(window, "load", getNaverMap); diff --git a/modules/editor/components/poll_maker/info.xml b/modules/editor/components/poll_maker/info.xml index 62253f387..c3f2e157b 100644 --- a/modules/editor/components/poll_maker/info.xml +++ b/modules/editor/components/poll_maker/info.xml @@ -1,5 +1,6 @@ + Thăm dò ý kiến 설문조사 컴포넌트 アンケート調査 投票调查 @@ -7,8 +8,9 @@ Componente Poll Компонент опросов 投票調查 + Bạn có thể tạo một cuộc thăm dò cho chủ đề của mình. 글 작성시에 설문조사를 첨부하실 수 있습니다. 설문조사 컴포넌트는 설문조사 모듈의 설정에 영향을 받습니다. - 書き込みの時、アンケート機能の追加が出来ます。アンケートモジュールの影響を受けます。 + 書き込みの時、アンケート機能の追加ができます。アンケートモジュールの影響を受けます。 发表主题时可以附加投票调查。投票调查组件受投票调查模块设置的影响。 You can attach a poll on writing articles. Poll component is affected by setting of poll module. 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. @@ -18,6 +20,7 @@ 2007-02-28 + zero zero zero zero diff --git a/modules/editor/components/poll_maker/lang/ko.lang.php b/modules/editor/components/poll_maker/lang/ko.lang.php index f034aa519..4b03e6f05 100644 --- a/modules/editor/components/poll_maker/lang/ko.lang.php +++ b/modules/editor/components/poll_maker/lang/ko.lang.php @@ -5,14 +5,14 @@ * @brief 위지윅에디터(editor) 모듈 > 설문조사 컴포넌트의 언어팩 **/ - $lang->poll_title = "제목"; - $lang->poll_item = "항목"; - $lang->poll_stop_date = "종료 일자"; - $lang->poll_chk_count = "선택항목 수"; + $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->cmd_add_poll = '설문 추가'; + $lang->cmd_del_poll = '설문 제거'; + $lang->cmd_add_item = '항목 추가'; - $lang->msg_poll_cannot_modify = '설문조사는 수정하실 수 없습니다. 삭제후 다시 생성하셔야 합니다'; + $lang->msg_poll_cannot_modify = '설문조사는 수정하실 수 없습니다. 삭제 후 다시 생성하셔야 합니다.'; ?> diff --git a/modules/editor/components/poll_maker/lang/vi.lang.php b/modules/editor/components/poll_maker/lang/vi.lang.php new file mode 100644 index 000000000..dcb86f8aa --- /dev/null +++ b/modules/editor/components/poll_maker/lang/vi.lang.php @@ -0,0 +1,20 @@ +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."; +?> diff --git a/modules/editor/components/poll_maker/tpl/popup.html b/modules/editor/components/poll_maker/tpl/popup.html index bca76fa21..5226c73bc 100644 --- a/modules/editor/components/poll_maker/tpl/popup.html +++ b/modules/editor/components/poll_maker/tpl/popup.html @@ -35,6 +35,8 @@ (function($){ $(function(){ var option = { + changeMonth:true, + changeYear:true, gotoCurrent: false ,yearRange:'-100:+10' , onSelect:function(){ diff --git a/modules/editor/components/quotation/component_icon.gif b/modules/editor/components/quotation/component_icon.gif deleted file mode 100755 index c64cacd9d..000000000 Binary files a/modules/editor/components/quotation/component_icon.gif and /dev/null differ diff --git a/modules/editor/components/quotation/icon.gif b/modules/editor/components/quotation/icon.gif deleted file mode 100644 index d47650ff0..000000000 Binary files a/modules/editor/components/quotation/icon.gif and /dev/null differ diff --git a/modules/editor/components/quotation/info.xml b/modules/editor/components/quotation/info.xml deleted file mode 100644 index b77560923..000000000 --- a/modules/editor/components/quotation/info.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - 인용구 작성 - 引用文作成 - 引用 - Citas célebres - Quotations - Цитаты - 引用 - 특정 범위를 인용문으로 꾸밀 수 있습니다. 외곽선의 종류나 색상, 굵기를 수정할 수 있으며 열기/닫기 기능을 가진 폴더기능을 만들 수 있습니다. - 特定範囲を引用文として表示出来ます。ボーダーの種類、色、太さを修正することが出来、「展開・折りたたみ」の機能も可能です。 - 可以把要发表的主题特定范围用引用布置。可以修改外围线的种类或粗细,还支持展开/折叠功能。 - You can decorate specific range as quotation. The style, color or thickness of outline can be modified and folder system which has open/close function can be made. - Puedes decorar rango específico como cita. El estilo, el color o el grosor de esquema puede ser modificado y carpeta de sistema que tiene abrir / cerrar la función se puede hacer. - Вы можете украсить определенную область цитаты. Стиль, цвет или толщина внешней линии может быть изменена, и система папок, которая имеет функцию открыть/закрыть может быть создана. - 可以將要發表的主題特定範圍以引用佈置。可修改外框線的種類或粗細,還支援展開/收合功能。 - 0.1 - 2007-02-28 - - - zero - zero - zero - zero - zero - zero - zero - - diff --git a/modules/editor/components/quotation/lang/en.lang.php b/modules/editor/components/quotation/lang/en.lang.php deleted file mode 100644 index 061624f99..000000000 --- a/modules/editor/components/quotation/lang/en.lang.php +++ /dev/null @@ -1,40 +0,0 @@ - - * @brief editor module > language pack of quotation component - **/ - - $lang->quotation_use_folder = "Use Folding Function"; - $lang->quotation_opener = "Name of Open Button"; - $lang->quotation_closer = "Name of Close Button"; - $lang->quotation_padding = "Padding"; - $lang->quotation_margin = "Margin"; - $lang->quotation_border_color = "Border Color"; - $lang->quotation_border_thickness = "Border Thickness"; - - $lang->folder_text_bold = "Text Boldness"; - $lang->about_folder_text_bold = "Make Link Text Bold"; - - $lang->folder_text_color = "Link Color"; - $lang->folder_text_color_blue = "Blue"; - $lang->folder_text_color_red = "Red"; - $lang->folder_text_color_yellow = "Yellow"; - $lang->folder_text_color_green = "Green"; - - $lang->quotation_border_style = "Border Style"; - $lang->quotation_border_style_list = array( - "None", - "Solid", - "Dotted", - "Solid on Left", - "Solid on Right", - ); - - $lang->quotation_bg_color = "Background Color"; - - $lang->quotation_opener = "Name of Open Link"; - $lang->quotation_opener = "Name of Close Link"; - $lang->quotation_cmd_opener = "More..."; - $lang->quotation_cmd_closer = "Close"; -?> diff --git a/modules/editor/components/quotation/lang/es.lang.php b/modules/editor/components/quotation/lang/es.lang.php deleted file mode 100644 index 172deb217..000000000 --- a/modules/editor/components/quotation/lang/es.lang.php +++ /dev/null @@ -1,40 +0,0 @@ - - * @brief editor module > language pack of quotation component - **/ - - $lang->quotation_use_folder = "Usar Folding Funcion"; - $lang->quotation_opener = "Nombre del boton Abrir"; - $lang->quotation_closer = "Nombre del boton Cerrar"; - $lang->quotation_padding = "Relleno"; - $lang->quotation_margin = "Margen"; - $lang->quotation_border_color = "Color del borde"; - $lang->quotation_border_thickness = "Grosor de Fronteras"; - - $lang->folder_text_bold = "Texto audacia"; - $lang->about_folder_text_bold = "Hacer Link Text Bold"; - - $lang->folder_text_color = "Color de los vinculos"; - $lang->folder_text_color_blue = "Azul"; - $lang->folder_text_color_red = "Rojo"; - $lang->folder_text_color_yellow = "Amarillo"; - $lang->folder_text_color_green = "Verde"; - - $lang->quotation_border_style = "Estilo de Fronteras"; - $lang->quotation_border_style_list = array ( - "Ninguno", - "Solidos", - "Salpicando", - "Solidos de la izquierda", - "Solidos de Derecho", - ); - - $lang->quotation_bg_color = "Color de fondo"; - - $lang->quotation_opener = "Nombre de Open Link"; - $lang->quotation_opener = "Nombre del Link Cerrar"; - $lang->quotation_cmd_opener = "Mas ..."; - $lang->quotation_cmd_closer = "Cerrar"; -?> diff --git a/modules/editor/components/quotation/lang/jp.lang.php b/modules/editor/components/quotation/lang/jp.lang.php deleted file mode 100644 index 210e04baf..000000000 --- a/modules/editor/components/quotation/lang/jp.lang.php +++ /dev/null @@ -1,40 +0,0 @@ - 翻訳:RisaPapa、ミニミ - * @brief ウィジウィグエディター(editor)モジュール > 引用句 (quotation)コンポネント言語パッケージ - **/ - - $lang->quotation_use_folder = "折りたたみ機能使用"; - $lang->quotation_opener = "開くボタン名"; - $lang->quotation_closer = "閉じるボタン名"; - $lang->quotation_padding = "内部余白"; - $lang->quotation_margin = "外部余白"; - $lang->quotation_border_color = "ボーダーカラー"; - $lang->quotation_border_thickness = "ボーダーの太さ"; - - $lang->folder_text_bold = "太字にする"; - $lang->about_folder_text_bold = "チェックするとリンクの文字列が太字で表示されます。"; - - $lang->folder_text_color = "リンク色 "; - $lang->folder_text_color_blue = "青"; - $lang->folder_text_color_red = "赤"; - $lang->folder_text_color_yellow = "黄"; - $lang->folder_text_color_green = "緑"; - - $lang->quotation_border_style = "ボーダータイプ"; - $lang->quotation_border_style_list = array( - "なし", - "実線", - "点線", - "左側実線", - "右側実線", - ); - - $lang->quotation_bg_color = "背景色"; - - $lang->quotation_opener = "「開く」リンク名"; - $lang->quotation_opener = "「閉じる」リンク名"; - $lang->quotation_cmd_opener = "詳細表示..."; - $lang->quotation_cmd_closer = "閉じる"; -?> diff --git a/modules/editor/components/quotation/lang/ko.lang.php b/modules/editor/components/quotation/lang/ko.lang.php deleted file mode 100644 index 728c694b7..000000000 --- a/modules/editor/components/quotation/lang/ko.lang.php +++ /dev/null @@ -1,40 +0,0 @@ - - * @brief 위지윅에디터(editor) 모듈 > 인용구 (quotation) 컴포넌트의 언어팩 - **/ - - $lang->quotation_use_folder = "접기 기능 사용"; - $lang->quotation_opener = "열기 버튼 이름"; - $lang->quotation_closer = "닫기 버튼 이름"; - $lang->quotation_padding = "내부 여백"; - $lang->quotation_margin = "외부 여백"; - $lang->quotation_border_color = "테두리 색"; - $lang->quotation_border_thickness = "테두리 굵기"; - - $lang->folder_text_bold = "글자 굵게"; - $lang->about_folder_text_bold = "선택하시면 링크의 글자가 굵게 표시됩니다"; - - $lang->folder_text_color = "링크 색상 "; - $lang->folder_text_color_blue = "파란색"; - $lang->folder_text_color_red = "붉은색"; - $lang->folder_text_color_yellow = "노란색"; - $lang->folder_text_color_green = "녹색"; - - $lang->quotation_border_style = "테두리 종류"; - $lang->quotation_border_style_list = array( - "없음", - "실선", - "점선", - "좌측 실선", - "좌측 점선", - ); - - $lang->quotation_bg_color = "배경 색"; - - $lang->quotation_opener = "열기 링크 이름"; - $lang->quotation_opener = "닫기 링크 이름"; - $lang->quotation_cmd_opener = "더 보기..."; - $lang->quotation_cmd_closer = "닫기"; -?> diff --git a/modules/editor/components/quotation/lang/ru.lang.php b/modules/editor/components/quotation/lang/ru.lang.php deleted file mode 100644 index 441ce9fb5..000000000 --- a/modules/editor/components/quotation/lang/ru.lang.php +++ /dev/null @@ -1,40 +0,0 @@ - | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467; - * @brief editor module > language pack of quotation component - **/ - - $lang->quotation_use_folder = "Использовать раскрытие"; - $lang->quotation_opener = "Имя кнопки открытия"; - $lang->quotation_closer = "Имя кнопки закрытия"; - $lang->quotation_padding = "Отступы (Padding)"; - $lang->quotation_margin = "Поля (Margin)"; - $lang->quotation_border_color = "Цвет рамки"; - $lang->quotation_border_thickness = "Толщина рамки"; - - $lang->folder_text_bold = "Жирность шрифта"; - $lang->about_folder_text_bold = "Сделать шрифт ссылки жирным"; - - $lang->folder_text_color = "Цвет ссылки"; - $lang->folder_text_color_blue = "Синий"; - $lang->folder_text_color_red = "Красный"; - $lang->folder_text_color_yellow = "Желтый"; - $lang->folder_text_color_green = "Зеленый"; - - $lang->quotation_border_style = "Стиль рамки"; - $lang->quotation_border_style_list = array( - "Нет", - "Цельная", - "Точками", - "Цельная слева", - "Цельная справа", - ); - - $lang->quotation_bg_color = "Цвет фона"; - - $lang->quotation_opener = "Имя ссылки открытия"; - $lang->quotation_opener = "Имя ссылки закрытия"; - $lang->quotation_cmd_opener = "Больше..."; - $lang->quotation_cmd_closer = "Закрыть"; -?> diff --git a/modules/editor/components/quotation/lang/zh-CN.lang.php b/modules/editor/components/quotation/lang/zh-CN.lang.php deleted file mode 100644 index 9ecaaf20d..000000000 --- a/modules/editor/components/quotation/lang/zh-CN.lang.php +++ /dev/null @@ -1,40 +0,0 @@ - - * @brief 网页编辑器(editor) 模块 > 引用 (quotation) 组件语言包 - **/ - - $lang->quotation_use_folder = "使用折叠功能"; - $lang->quotation_opener = "打开按钮名称"; - $lang->quotation_closer = "关闭按钮名称"; - $lang->quotation_padding = "内测边距"; - $lang->quotation_margin = "外侧边距"; - $lang->quotation_border_color = "边框颜色"; - $lang->quotation_border_thickness = "边框粗细"; - - $lang->folder_text_bold = "粗体显示"; - $lang->about_folder_text_bold = "选择此项将把链接的文本显示为粗体"; - - $lang->folder_text_color = "链接颜色"; - $lang->folder_text_color_blue = "蓝色"; - $lang->folder_text_color_red = "红色"; - $lang->folder_text_color_yellow = "黄色"; - $lang->folder_text_color_green = "绿色"; - - $lang->quotation_border_style = "边框种类"; - $lang->quotation_border_style_list = array( - "无", - "实线", - "点线", - "左侧实线", - "右侧实线", - ); - - $lang->quotation_bg_color = "背景颜色"; - - $lang->quotation_opener = "打开链接名称"; - $lang->quotation_opener = "关闭链接名称"; - $lang->quotation_cmd_opener = "更多..."; - $lang->quotation_cmd_closer = "关闭"; -?> diff --git a/modules/editor/components/quotation/lang/zh-TW.lang.php b/modules/editor/components/quotation/lang/zh-TW.lang.php deleted file mode 100644 index d63428202..000000000 --- a/modules/editor/components/quotation/lang/zh-TW.lang.php +++ /dev/null @@ -1,40 +0,0 @@ - 翻譯:royallin - * @brief 網頁編輯器(editor) 模組 > 引用 (quotation) 組件語言 - **/ - - $lang->quotation_use_folder = "使用折疊功能"; - $lang->quotation_opener = "開啟按鈕名稱"; - $lang->quotation_closer = "關閉按鈕名稱"; - $lang->quotation_padding = "內距"; - $lang->quotation_margin = "邊距"; - $lang->quotation_border_color = "邊框顏色"; - $lang->quotation_border_thickness = "邊框粗細"; - - $lang->folder_text_bold = "粗體顯示"; - $lang->about_folder_text_bold = "選擇此項會把連結的文字顯示成粗體"; - - $lang->folder_text_color = "連結顏色"; - $lang->folder_text_color_blue = "藍色"; - $lang->folder_text_color_red = "紅色"; - $lang->folder_text_color_yellow = "黃色"; - $lang->folder_text_color_green = "綠色"; - - $lang->quotation_border_style = "邊框種類"; - $lang->quotation_border_style_list = array( - "無", - "實線", - "虛線", - "左側實線", - "右側實線", - ); - - $lang->quotation_bg_color = "背景顏色"; - - $lang->quotation_opener = "開啟連結名稱"; - $lang->quotation_opener = "關閉連結名稱"; - $lang->quotation_cmd_opener = "展開"; - $lang->quotation_cmd_closer = "關閉"; -?> diff --git a/modules/editor/components/quotation/quotation.class.php b/modules/editor/components/quotation/quotation.class.php deleted file mode 100644 index 5ecca1f41..000000000 --- a/modules/editor/components/quotation/quotation.class.php +++ /dev/null @@ -1,115 +0,0 @@ -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) { - $use_folder = $xml_obj->attrs->use_folder; - $folder_opener = $xml_obj->attrs->folder_opener; - if(!$folder_opener) $folder_opener = "more..."; - $folder_closer = $xml_obj->attrs->folder_closer; - if(!$folder_closer) $folder_closer= "close..."; - $bold = $xml_obj->attrs->bold; - $color = $xml_obj->attrs->color; - $margin = $xml_obj->attrs->margin; - $padding = $xml_obj->attrs->padding; - $border_style = $xml_obj->attrs->border_style; - $border_thickness = $xml_obj->attrs->border_thickness; - $border_color = $xml_obj->attrs->border_color; - $bg_color = $xml_obj->attrs->bg_color; - $body = $xml_obj->body; - - if(Context::getResponseMethod() == 'XMLRPC') { - return $body; - } - - $output = ""; - $style = sprintf('margin:%spx;padding:%spx;background-color:#%s;', $margin, $padding, $bg_color); - switch($border_style) { - case "solid" : - $style .= "border:".$border_thickness."px solid #".$border_color.";"; - break; - case "dotted" : - $style .= "border:".$border_thickness."px dotted #".$border_color.";"; - break; - case "left_solid" : - $style .= "border-left:".$border_thickness."px solid #".$border_color.";"; - break; - case "left_dotted" : - $style .= "border-elft:".$border_thickness."px dotted #".$border_color.";"; - break; - } - - if($use_folder == "Y") { - $folder_id = rand(1000000,9999999); - - $folder_opener = str_replace("&","&",$folder_opener); - $folder_closer = str_replace("&","&",$folder_closer); - - if($bold == "Y") $class = "bold"; - switch($color) { - case "red" : - $class .= " editor_red_text"; - break; - case "yellow" : - $class .= " editor_yellow_text"; - break; - case "green" : - $class .= " editor_green_text"; - break; - default : - $class .= " editor_blue_text"; - break; - } - - $style .= "display:none;"; - - $folder_margin = sprintf("%spx %spx %spx %spx", $margin, $margin, 10, $margin); - $output .= sprintf('', $folder_id, $folder_margin, $class, $folder_id, $folder_opener); - $output .= sprintf('', $folder_id, $folder_margin, $class, $folder_id, $folder_closer); - - $output .= sprintf('
    %s
    ', $style, $folder_id,$body); - } else { - $output .= sprintf('
    %s
    ', $style, $body); - } - return $output; - } - - } -?> diff --git a/modules/editor/components/quotation/tpl/images/blank.gif b/modules/editor/components/quotation/tpl/images/blank.gif deleted file mode 100644 index 35d42e808..000000000 Binary files a/modules/editor/components/quotation/tpl/images/blank.gif and /dev/null differ diff --git a/modules/editor/components/quotation/tpl/images/border_dotted.gif b/modules/editor/components/quotation/tpl/images/border_dotted.gif deleted file mode 100644 index eaf1ae738..000000000 Binary files a/modules/editor/components/quotation/tpl/images/border_dotted.gif and /dev/null differ diff --git a/modules/editor/components/quotation/tpl/images/border_left_dotted.gif b/modules/editor/components/quotation/tpl/images/border_left_dotted.gif deleted file mode 100644 index 101259cb7..000000000 Binary files a/modules/editor/components/quotation/tpl/images/border_left_dotted.gif and /dev/null differ diff --git a/modules/editor/components/quotation/tpl/images/border_left_solid.gif b/modules/editor/components/quotation/tpl/images/border_left_solid.gif deleted file mode 100644 index 10b7e789f..000000000 Binary files a/modules/editor/components/quotation/tpl/images/border_left_solid.gif and /dev/null differ diff --git a/modules/editor/components/quotation/tpl/images/border_solid.gif b/modules/editor/components/quotation/tpl/images/border_solid.gif deleted file mode 100644 index 9fbf79f57..000000000 Binary files a/modules/editor/components/quotation/tpl/images/border_solid.gif and /dev/null differ diff --git a/modules/editor/components/quotation/tpl/popup.css b/modules/editor/components/quotation/tpl/popup.css deleted file mode 100644 index 29361e224..000000000 --- a/modules/editor/components/quotation/tpl/popup.css +++ /dev/null @@ -1,24 +0,0 @@ -@charset "utf-8"; -@import url(../../../../../modules/admin/tpl/css/admin.css); - -#folder_area { clear:left; } - -.border_type { float:left; margin-right:1em; width:120px; } - -img.color_icon { width:14px; height:14px; border:1px solid #FFFFFF; } - -img.color_icon_over { width:14px; height:14px; border:1px solid #000000; cursor:pointer; } - -img.border_preview_color { width:30px; height:16px; border:1px solid #EEEEEE; background-color:#88EE22; } - -img.border_preview_none_color { width:30px; height:12px; border:1px solid #EEEEEE; background-color:#FFFFFF; } - -img.bg_preview_color { width:30px; height:16px; border:1px solid #000000; background-color:#FFFFFF; } - -.editor_color_box { clear:both; height:65px; width:400px; border:1px solid #DDDDDD; padding:2px; } - -.editor_link_type { float:left; margin-right:.5em; vertical-align:middle; white-space:nowrap; } - -.editor_color_input { clear:both; } - -li { list-style:none; float:left; margin:5px 10px 0px 0;} diff --git a/modules/editor/components/quotation/tpl/popup.html b/modules/editor/components/quotation/tpl/popup.html deleted file mode 100644 index 495289009..000000000 --- a/modules/editor/components/quotation/tpl/popup.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - -
    -

    {$component_info->title} ver. {$component_info->version}

    -
    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    {$lang->quotation_use_folder}
    - - - -
    {$lang->quotation_padding}
    px
    {$lang->quotation_margin}
    px
    {$lang->quotation_border_thickness}
    px
    {$lang->quotation_border_style}
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    {$lang->quotation_border_color}
    -
    - -
    - -
      -
    • blank
    • -
    • #
    • -
    - -
    {$lang->quotation_bg_color}
    -
    - -
    -
      -
    • blank
    • -
    • #
    • -
    -
    -
    - - - -
    diff --git a/modules/editor/components/quotation/tpl/popup.js b/modules/editor/components/quotation/tpl/popup.js deleted file mode 100644 index 45dc297f1..000000000 --- a/modules/editor/components/quotation/tpl/popup.js +++ /dev/null @@ -1,266 +0,0 @@ -/** - * popup으로 열렸을 경우 부모창의 위지윅에디터에 select된 멀티미디어 컴포넌트 코드를 체크하여 - * 있으면 가져와서 원하는 곳에 삽입 - **/ -var selected_node = null; -function getQuotation() { - // 부모 위지윅 에디터에서 선택된 영역이 있는지 확인 - if(typeof(opener)=="undefined") return; - - var node = opener.editorPrevNode; - if(!node || node.nodeName != "DIV") return; - - selected_node = node; - - var use_folder = node.getAttribute("use_folder"); - var folder_opener = node.getAttribute("folder_opener"); - var folder_closer = node.getAttribute("folder_closer"); - if(folder_opener) folder_opener = folder_opener.replace(/>/g,'>').replace(/</,'<').replace(/"/,'"'); - if(folder_closer) folder_closer = folder_closer.replace(/>/g,'>').replace(/</,'<').replace(/"/,'"'); - var bold = node.getAttribute("bold"); - var color = node.getAttribute("color"); - var margin = node.getAttribute("margin"); - var padding = node.getAttribute("padding"); - var border_style = node.getAttribute("border_style"); - var border_thickness = node.getAttribute("border_thickness"); - var border_color = node.getAttribute("border_color"); - var bg_color = node.getAttribute("bg_color"); - - if(use_folder=="Y") xGetElementById("quotation_use").checked = true; - else xGetElementById("quotation_use").checked = false; - toggle_folder( xGetElementById("quotation_use") ); - - if(bold=="Y") xGetElementById("quotation_bold").checked = true; - switch(color) { - case "red" : - xGetElementById("quotation_color_red").checked = true; - break; - case "yellow" : - xGetElementById("quotation_color_yellow").checked = true; - break; - case "green" : - xGetElementById("quotation_color_green").checked = true; - break; - default : - xGetElementById("quotation_color_blue").checked = true; - break; - } - - xGetElementById("quotation_opener").value = folder_opener; - xGetElementById("quotation_closer").value = folder_closer; - xGetElementById("quotation_margin").value = margin; - xGetElementById("quotation_padding").value = padding; - - switch(border_style) { - case "solid" : - xGetElementById("border_style_solid").checked = true; - break; - case "dotted" : - xGetElementById("border_style_dotted").checked = true; - break; - case "left_solid" : - xGetElementById("border_style_left_solid").checked = true; - break; - case "left_dotted" : - xGetElementById("border_style_left_dotted").checked = true; - break; - default : - xGetElementById("border_style_none").checked = true; - break; - } - - xGetElementById("border_thickness").value = border_thickness; - - select_color('border', border_color); - select_color('bg', bg_color); -} - -/* 추가 버튼 클릭시 부모창의 위지윅 에디터에 인용구 추가 */ -function insertQuotation() { - if(typeof(opener)=="undefined") return; - - var use_folder = "N"; - if(xGetElementById("quotation_use").checked) use_folder = "Y"; - - var folder_opener = xGetElementById("quotation_opener").value; - var folder_closer = xGetElementById("quotation_closer").value; - if(!folder_opener||!folder_closer) use_folder = "N"; - - folder_opener = folder_opener.replace(/>/g,'>').replace(//g,'>').replace(/"+content+"

    "; - - if(selected_node) { - selected_node.setAttribute("use_folder", use_folder); - selected_node.setAttribute("folder_opener", folder_opener); - selected_node.setAttribute("folder_closer", folder_closer); - selected_node.setAttribute("bold", bold); - selected_node.setAttribute("color", color); - selected_node.setAttribute("margin", margin); - selected_node.setAttribute("padding", padding); - selected_node.setAttribute("border_style", border_style); - selected_node.setAttribute("border_thickness", border_thickness); - selected_node.setAttribute("border_color", border_color); - selected_node.setAttribute("bg_color", bg_color); - selected_node.setAttribute("style", style); - - selected_node.style.margin = margin+"px"; - selected_node.style.padding = padding +"px"; - selected_node.style.backgroundColor = "#"+bg_color; - - selected_node.style.borderStyle = "none"; - selected_node.style.borderWidth = "0px"; - - switch(border_style) { - case "solid" : - selected_node.style.borderStyle = "solid"; - selected_node.style.borderWidth = border_thickness+"px"; - selected_node.style.borderColor = "#"+border_color; - break; - case "dotted" : - selected_node.style.borderStyle = "dotted"; - selected_node.style.borderWidth = border_thickness+"px"; - selected_node.style.borderColor = "#"+border_color; - break; - case "left_solid" : - selected_node.style.borderLeftStyle = "solid"; - selected_node.style.borderLeftWidth = border_thickness+"px"; - selected_node.style.borderLeftColor = "#"+border_color; - break; - case "left_dotted" : - selected_node.style.borderLeftStyle = "dotted"; - selected_node.style.borderLeftWidth = border_thickness+"px"; - selected_node.style.borderCLeftColor = "#"+border_color; - break; - default : - selected_node.style.borderStyle = "solid"; - selected_node.style.borderWidth = "0px"; - selected_node.style.borderColor = "#"+border_color; - break; - } - - opener.editorFocus(opener.editorPrevSrl); - - } else { - - opener.editorFocus(opener.editorPrevSrl); - var iframe_obj = opener.editorGetIFrame(opener.editorPrevSrl) - opener.editorReplaceHTML(iframe_obj, text); - opener.editorFocus(opener.editorPrevSrl); - } - - window.close(); -} - -/* 색상 클릭시 */ -function select_color(type, code) { - xGetElementById(type+"_preview_color").style.backgroundColor = "#"+code; - xGetElementById(type+"_color_input").value = code; - - if(type=="border") { - xGetElementById("border_style_solid_icon").style.backgroundColor = "#"+code; - xGetElementById("border_style_dotted_icon").style.backgroundColor = "#"+code; - xGetElementById("border_style_left_solid_icon").style.backgroundColor = "#"+code; - xGetElementById("border_style_left_dotted_icon").style.backgroundColor = "#"+code; - } -} - -/* 수동 색상 변경시 */ -function manual_select_color(type, obj) { - if(obj.value.length!=6) return; - code = obj.value; - xGetElementById(type+"_preview_color").style.backgroundColor = "#"+code; - - if(type=="border") { - xGetElementById("border_style_solid_icon").style.backgroundColor = "#"+code; - xGetElementById("border_style_dotted_icon").style.backgroundColor = "#"+code; - xGetElementById("border_style_left_solid_icon").style.backgroundColor = "#"+code; - xGetElementById("border_style_left_dotted_icon").style.backgroundColor = "#"+code; - } -} - -/* 색상표를 출력 */ -function printColor(type, blank_img_src) { - var colorTable = new Array('22','44','66','88','AA','CC','EE'); - var html = ""; - - for(var i=0;i<8;i+=1) html += printColorBlock(type, i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16)+i.toString(16), blank_img_src); - - for(var i=0; i\"color\"<\/div>"; - } else { - return "
    \"color\"<\/div>"; - } -} - -/* 폴더 여닫기 기능 toggle */ -function toggle_folder(obj) { - if(obj.checked) xGetElementById("folder_area").style.display = "block"; - else xGetElementById("folder_area").style.display = "none"; - setFixedPopupSize(); -} - -xAddEventListener(window, "load", getQuotation); diff --git a/modules/editor/conf/info.xml b/modules/editor/conf/info.xml index 65c83556e..532c4e11f 100644 --- a/modules/editor/conf/info.xml +++ b/modules/editor/conf/info.xml @@ -1,5 +1,6 @@ + WYSIWYG Editor 위지윅 에디터 WYSIWYG Editor Editor WYSIWYG @@ -7,6 +8,7 @@ ウイジウイグエディター WYSIWYG-редактор 網頁編輯器 + Module hiển thị WYSIWYG Editor để quản lý những kiểu viết bài. 위지윅 에디터를 출력하거나 에디터 컴포넌트들을 관리/중계하는 모듈입니다. Module for displaying WYSIWYG editor and managing/relaying editor components. Módulo para mostrar en la pantalla el editor de WYSIWYG y para el manejo/relato de los componentes del editor. @@ -19,6 +21,7 @@ utility + zero zero zero zero diff --git a/modules/editor/editor.class.php b/modules/editor/editor.class.php index f92fd2281..f0f3a700d 100644 --- a/modules/editor/editor.class.php +++ b/modules/editor/editor.class.php @@ -47,6 +47,7 @@ * @brief 설치가 이상이 없는지 체크하는 method **/ function checkUpdate() { + $db_info = Context::getDBInfo (); $oModuleModel = &getModel('module'); $oDB = &DB::getInstance(); @@ -55,7 +56,12 @@ if(!$oDB->isColumnExists("editor_autosave","module_srl")) return true; // 2009. 06. 15 module_srl을 인덱스로 - if(!$oDB->isIndexExists("editor_autosave","idx_module_srl")) return true; + if ($db_info->db_type == 'cubrid') { + if(!$oDB->isIndexExists("editor_autosave",$oDB->prefix."editor_autosave_idx_module_srl")) return true; + } + else { + if(!$oDB->isIndexExists("editor_autosave","idx_module_srl")) return true; + } // 2007. 10. 17 글의 입력(신규 or 수정)이 일어날때마다 자동 저장된 문서를 삭제하는 trigger 추가 @@ -78,6 +84,7 @@ * @brief 업데이트 실행 **/ function moduleUpdate() { + $db_info = Context::getDBInfo (); $oModuleModel = &getModel('module'); $oModuleController = &getController('module'); @@ -88,9 +95,14 @@ $oDB->addColumn("editor_autosave","module_srl","number",11); // module_srl을 인덱스로 - if(!$oDB->isIndexExists("editor_autosave","idx_module_srl")) - $oDB->addIndex("editor_autosave","idx_module_srl", "module_srl"); - + if ($db_info->db_type == 'cubrid') { + if(!$oDB->isIndexExists("editor_autosave",$oDB->prefix."editor_autosave_idx_module_srl")) + $oDB->addIndex("editor_autosave",$oDB->prefix."editor_autosave_idx_module_srl", "module_srl"); + } + else { + if(!$oDB->isIndexExists("editor_autosave","idx_module_srl")) + $oDB->addIndex("editor_autosave","idx_module_srl", "module_srl"); + } // 2007. 10. 17 글의 입력(신규 or 수정)이 일어날때마다 자동 저장된 문서를 삭제하는 trigger 추가 if(!$oModuleModel->getTrigger('document.insertDocument', 'editor', 'controller', 'triggerDeleteSavedDoc', 'after')) diff --git a/modules/editor/lang/en.lang.php b/modules/editor/lang/en.lang.php index 00508c8a0..06c3c0b82 100644 --- a/modules/editor/lang/en.lang.php +++ b/modules/editor/lang/en.lang.php @@ -1,224 +1,227 @@ - - * @brief WYSIWYG Editor module's basic language pack - **/ - - $lang->editor = 'WYSIWYG Editor'; - $lang->component_name = 'Component'; - $lang->component_version = 'Version'; - $lang->component_author = 'Developer'; - $lang->component_link = 'Link'; - $lang->component_date = 'Date'; - $lang->component_license = 'License'; - $lang->component_history = 'Updates'; - $lang->component_description = 'Description'; - $lang->component_extra_vars = 'Option Variable'; - $lang->component_grant = 'Permission Setting'; - $lang->content_style = 'Content Style'; - $lang->content_font = 'Content Font'; - $lang->content_font_size = 'Content Font Size'; - - $lang->about_component = 'About component'; - $lang->about_component_grant = 'Selected group(s) will be able to use expanded components of editor.
    (Leave them blank if you want all groups to have permission)'; - $lang->about_component_mid = 'Editor components can select targets.
    (All targets will be selected when nothing is selected)'; - - $lang->msg_component_is_not_founded = 'Cannot find editor component %s'; - $lang->msg_component_is_inserted = 'Selected component is already inserted'; - $lang->msg_component_is_first_order = 'Selected component is located at the first position'; - $lang->msg_component_is_last_order = 'Selected component is located at the last position'; - $lang->msg_load_saved_doc = "There is an automatically saved article. Do you wish to recover it?\nThe auto-saved draft will be discarded after saving current article"; - $lang->msg_auto_saved = 'Automatically Saved'; - - $lang->cmd_disable = 'Inactive'; - $lang->cmd_enable = 'Active'; - - $lang->editor_skin = 'Editor Skin'; - $lang->upload_file_grant = 'Permission for Uploading'; - $lang->enable_default_component_grant = 'Permission for Default Components'; - $lang->enable_component_grant = 'Permission for Components'; - $lang->enable_html_grant = 'Permission for HTML'; - $lang->enable_autosave = 'Auto-Save'; - $lang->height_resizable = 'Height Resizable'; - $lang->editor_height = 'Height of Editor'; - - $lang->about_editor_skin = 'You may select the skin of editor.'; - $lang->about_content_style = 'You may select style for editting article or displaying content'; - $lang->about_content_font = 'You may select font for editting article or displaying content.
    Default font is your own font
    Please use comma(,) for multiple input.'; - $lang->about_content_font_size = 'You may select font size for editting article or displaying content.
    Please input units such as px or em.'; - $lang->about_upload_file_grant = 'Selected group(s) will be able to upload files. (Leave them blank if you want all groups to have permission)'; - $lang->about_default_component_grant = 'Selected group(s) will be able to use default components of editor. (Leave them blank if you want all groups to have permission)'; - $lang->about_editor_height = 'You may set the height of editor.'; - $lang->about_editor_height_resizable = 'You may decide whether height of editor can be resized.'; - $lang->about_enable_html_grant = 'Selected group(s) will be able to use HTML'; - $lang->about_enable_autosave = 'You may decide whether auto-save function will be used.'; - - $lang->edit->fontname = 'Font'; - $lang->edit->fontsize = 'Size'; - $lang->edit->use_paragraph = 'Paragraph Function'; - $lang->edit->fontlist = array( - 'Arial'=>'Arial', - 'Arial Black'=>'Arial Black', - 'Tahoma'=>'Tahoma', - 'Verdana'=>'Verdana', - 'Sans-serif'=>'Sans-serif', - 'Serif'=>'Serif', - 'Monospace'=>'Monospace', - 'Cursive'=>'Cursive', - 'Fantasy'=>'Fantasy', - ); - - $lang->edit->header = 'Style'; - $lang->edit->header_list = array( - 'h1' => 'Subject 1', - 'h2' => 'Subject 2', - 'h3' => 'Subject 3', - 'h4' => 'Subject 4', - 'h5' => 'Subject 5', - 'h6' => 'Subject 6', - ); - - $lang->edit->submit = 'Submit'; - - $lang->edit->fontcolor = 'Text Color'; - $lang->edit->fontbgcolor = 'Background Color'; - $lang->edit->bold = 'Bold'; - $lang->edit->italic = 'Italic'; - $lang->edit->underline = 'Underline'; - $lang->edit->strike = 'Strike'; - $lang->edit->sup = 'Sup'; - $lang->edit->sub = 'Sub'; - $lang->edit->redo = 'Re Do'; - $lang->edit->undo = 'Un Do'; - $lang->edit->align_left = 'Align Left'; - $lang->edit->align_center = 'Align Center'; - $lang->edit->align_right = 'Align Right'; - $lang->edit->align_justify = 'Align Justify'; - $lang->edit->add_indent = 'Indent'; - $lang->edit->remove_indent = 'Outdent'; - $lang->edit->list_number = 'Orderd List'; - $lang->edit->list_bullet = 'Unordered List'; - $lang->edit->remove_format = 'Style Remover'; - - $lang->edit->help_remove_format = 'Tags in selected area will be removed'; - $lang->edit->help_strike_through = 'Strike will be on the words'; - $lang->edit->help_align_full = 'Align left and right'; - - $lang->edit->help_fontcolor = 'Select font color'; - $lang->edit->help_fontbgcolor = 'Select background color of font'; - $lang->edit->help_bold = 'Make font bold'; - $lang->edit->help_italic = 'Make italic font'; - $lang->edit->help_underline = 'Underline font'; - $lang->edit->help_strike = 'Strike font'; - $lang->edit->help_sup = 'Superscript'; - $lang->edit->help_sub = 'Subscript'; - $lang->edit->help_redo = 'Redo'; - $lang->edit->help_undo = 'Undo'; - $lang->edit->help_align_left = 'Align left'; - $lang->edit->help_align_center = 'Align center'; - $lang->edit->help_align_right = 'Align right'; - $lang->edit->help_add_indent = 'Add indent'; - $lang->edit->help_remove_indent = 'Remove indent'; - $lang->edit->help_list_number = 'Apply number list'; - $lang->edit->help_list_bullet = 'Apply bullet list'; - $lang->edit->help_use_paragraph = 'Press Ctrl+Enter to use paragraph. (Press Alt+S to submit)'; - - $lang->edit->url = 'URL'; - $lang->edit->blockquote = 'Blockquote'; - $lang->edit->table = 'Table'; - $lang->edit->image = 'Image'; - $lang->edit->multimedia = 'Movie'; - $lang->edit->emoticon = 'Emoticon'; - - $lang->edit->upload = 'Attachment'; - $lang->edit->upload_file = 'Attach'; - $lang->edit->link_file = 'Insert to Content'; - $lang->edit->delete_selected = 'Delete Selected'; - - $lang->edit->icon_align_article = 'Occupy a paragraph'; - $lang->edit->icon_align_left = 'Align Left'; - $lang->edit->icon_align_middle = 'Align Center'; - $lang->edit->icon_align_right = 'Align Right'; - - $lang->about_dblclick_in_editor = 'You may set detail component configures by double-clicking background, text, images, or quotations'; - - - $lang->edit->rich_editor = 'Rich Text Editor'; - $lang->edit->html_editor = 'HTML Editor'; - $lang->edit->extension ='Extension Components'; - $lang->edit->help = 'Help'; - $lang->edit->help_command = 'Help Hotkeys'; - - $lang->edit->lineheight = 'Line Height'; - $lang->edit->fontbgsampletext = 'ABC'; - - $lang->edit->hyperlink = 'Hyperlink'; - $lang->edit->target_blank = 'New Window'; - - $lang->edit->quotestyle1 = 'Left Solid'; - $lang->edit->quotestyle2 = 'Quote'; - $lang->edit->quotestyle3 = 'Solid'; - $lang->edit->quotestyle4 = 'Solid + Background'; - $lang->edit->quotestyle5 = 'Bold Solid'; - $lang->edit->quotestyle6 = 'Dotted'; - $lang->edit->quotestyle7 = 'Dotted + Background'; - $lang->edit->quotestyle8 = 'Cancel'; - - - $lang->edit->jumptoedit = 'Skip Edit Toolbox'; - $lang->edit->set_sel = 'Set Cell Count'; - $lang->edit->row = 'Row'; - $lang->edit->col = 'Column'; - $lang->edit->add_one_row = 'Add 1 Row'; - $lang->edit->del_one_row = 'Remove 1 Row'; - $lang->edit->add_one_col = 'Add 1 Column'; - $lang->edit->del_one_col = 'Remove 1 Column'; - - $lang->edit->table_config = 'Table Config'; - $lang->edit->border_width = 'Border Width'; - $lang->edit->border_color = 'Border Color'; - $lang->edit->add = 'Add'; - $lang->edit->del = 'Sub'; - $lang->edit->search_color = 'Search Colors'; - $lang->edit->table_backgroundcolor = 'Table Background Color'; - $lang->edit->special_character = 'Special Characters'; - $lang->edit->insert_special_character = 'Insert Special Characters'; - $lang->edit->close_special_character = 'Close Special Characters Layer'; - $lang->edit->symbol = 'Symbols'; - $lang->edit->number_unit = 'Numbers and Units'; - $lang->edit->circle_bracket = 'Circles, Brackets'; - $lang->edit->korean = 'Korean'; - $lang->edit->greece = 'Greek'; - $lang->edit->Latin = 'Latin'; - $lang->edit->japan = 'Japanese'; - $lang->edit->selected_symbol = 'Selected Symbols'; - - $lang->edit->search_replace = 'Find/Replace'; - $lang->edit->close_search_replace = 'Close Find/Replace Layer'; - $lang->edit->replace_all = 'Replace All'; - $lang->edit->search_words = 'Words to Find'; - $lang->edit->replace_words = 'Words to Replace'; - $lang->edit->next_search_words = 'Find Next'; - $lang->edit->edit_height_control = 'Set Edit Form Size'; - - $lang->edit->merge_cells = 'Merge Table Cells'; - $lang->edit->split_row = 'Split Row'; - $lang->edit->split_col = 'Split Column'; - - $lang->edit->toggle_list = 'Fold/Unfold'; - $lang->edit->minimize_list = 'Minimize'; - - $lang->edit->move = 'Move'; - $lang->edit->materials = 'Materials'; - $lang->edit->temporary_savings = 'Temporary Saved List'; - - $lang->edit->drag_here = 'You can start writting with a selected paragraph from paragraph toolbar below.
    If there is an article in temporary saved list, you can drag it to edit form.'; - - $lang->edit->paging_prev = 'Prev'; - $lang->edit->paging_next = 'Next'; - $lang->edit->paging_prev_help = 'Move to previous page.'; - $lang->edit->paging_next_help = 'Move to next page.'; - - $lang->edit->toc = 'Table of Contents'; -?> + + * @brief WYSIWYG Editor module's basic language pack + **/ + + $lang->editor = 'WYSIWYG Editor'; + $lang->component_name = 'Component'; + $lang->component_version = 'Version'; + $lang->component_author = 'Developer'; + $lang->component_link = 'Link'; + $lang->component_date = 'Date'; + $lang->component_license = 'License'; + $lang->component_history = 'Updates'; + $lang->component_description = 'Description'; + $lang->component_extra_vars = 'Option Variable'; + $lang->component_grant = 'Permission Setting'; + $lang->content_style = 'Content Style'; + $lang->content_font = 'Content Font'; + $lang->content_font_size = 'Content Font Size'; + + $lang->about_component = 'About component'; + $lang->about_component_grant = 'Selected group(s) will be able to use expanded components of editor.
    (Leave them blank if you want all groups to have permission)'; + $lang->about_component_mid = 'Editor components can select targets.
    (All targets will be selected when nothing is selected)'; + + $lang->msg_component_is_not_founded = 'Cannot find editor component %s'; + $lang->msg_component_is_inserted = 'Selected component is already inserted'; + $lang->msg_component_is_first_order = 'Selected component is located at the first position'; + $lang->msg_component_is_last_order = 'Selected component is located at the last position'; + $lang->msg_load_saved_doc = "There is an automatically saved article. Do you wish to recover it?\nThe auto-saved draft will be discarded after saving current article"; + $lang->msg_auto_saved = 'Automatically Saved'; + + $lang->cmd_disable = 'Inactive'; + $lang->cmd_enable = 'Active'; + + $lang->editor_skin = 'Editor Skin'; + $lang->upload_file_grant = 'Permission for Uploading'; + $lang->enable_default_component_grant = 'Permission for Default Components'; + $lang->enable_component_grant = 'Permission for Components'; + $lang->enable_html_grant = 'Permission for HTML'; + $lang->enable_autosave = 'Auto-Save'; + $lang->height_resizable = 'Height Resizable'; + $lang->editor_height = 'Height of Editor'; + + $lang->about_editor_skin = 'You may select the skin of editor.'; + $lang->about_content_style = 'You may select style for editting article or displaying content'; + $lang->about_content_font = 'You may select font for editting article or displaying content.
    Default font is your own font
    Please use comma(,) for multiple input.'; + $lang->about_content_font_size = 'You may select font size for editting article or displaying content.
    Please input units such as px or em.'; + $lang->about_upload_file_grant = 'Selected group(s) will be able to upload files. (Leave them blank if you want all groups to have permission)'; + $lang->about_default_component_grant = 'Selected group(s) will be able to use default components of editor. (Leave them blank if you want all groups to have permission)'; + $lang->about_editor_height = 'You may set the height of editor.'; + $lang->about_editor_height_resizable = 'You may decide whether height of editor can be resized.'; + $lang->about_enable_html_grant = 'Selected group(s) will be able to use HTML'; + $lang->about_enable_autosave = 'You may decide whether auto-save function will be used.'; + + $lang->edit->fontname = 'Font'; + $lang->edit->fontsize = 'Size'; + $lang->edit->use_paragraph = 'Paragraph Function'; + $lang->edit->fontlist = array( + 'Arial'=>'Arial', + 'Arial Black'=>'Arial Black', + 'Tahoma'=>'Tahoma', + 'Verdana'=>'Verdana', + 'Sans-serif'=>'Sans-serif', + 'Serif'=>'Serif', + 'Monospace'=>'Monospace', + 'Cursive'=>'Cursive', + 'Fantasy'=>'Fantasy', + ); + + $lang->edit->header = 'Style'; + $lang->edit->header_list = array( + 'h1' => 'Subject 1', + 'h2' => 'Subject 2', + 'h3' => 'Subject 3', + 'h4' => 'Subject 4', + 'h5' => 'Subject 5', + 'h6' => 'Subject 6', + ); + + $lang->edit->submit = 'Submit'; + + $lang->edit->fontcolor = 'Text Color'; + $lang->edit->fontbgcolor = 'Background Color'; + $lang->edit->bold = 'Bold'; + $lang->edit->italic = 'Italic'; + $lang->edit->underline = 'Underline'; + $lang->edit->strike = 'Strike'; + $lang->edit->sup = 'Sup'; + $lang->edit->sub = 'Sub'; + $lang->edit->redo = 'Re Do'; + $lang->edit->undo = 'Un Do'; + $lang->edit->align_left = 'Align Left'; + $lang->edit->align_center = 'Align Center'; + $lang->edit->align_right = 'Align Right'; + $lang->edit->align_justify = 'Align Justify'; + $lang->edit->add_indent = 'Indent'; + $lang->edit->remove_indent = 'Outdent'; + $lang->edit->list_number = 'Orderd List'; + $lang->edit->list_bullet = 'Unordered List'; + $lang->edit->remove_format = 'Style Remover'; + + $lang->edit->help_remove_format = 'Tags in selected area will be removed'; + $lang->edit->help_strike_through = 'Strike will be on the words'; + $lang->edit->help_align_full = 'Align left and right'; + + $lang->edit->help_fontcolor = 'Select font color'; + $lang->edit->help_fontbgcolor = 'Select background color of font'; + $lang->edit->help_bold = 'Make font bold'; + $lang->edit->help_italic = 'Make italic font'; + $lang->edit->help_underline = 'Underline font'; + $lang->edit->help_strike = 'Strike font'; + $lang->edit->help_sup = 'Superscript'; + $lang->edit->help_sub = 'Subscript'; + $lang->edit->help_redo = 'Redo'; + $lang->edit->help_undo = 'Undo'; + $lang->edit->help_align_left = 'Align left'; + $lang->edit->help_align_center = 'Align center'; + $lang->edit->help_align_right = 'Align right'; + $lang->edit->help_add_indent = 'Add indent'; + $lang->edit->help_remove_indent = 'Remove indent'; + $lang->edit->help_list_number = 'Apply number list'; + $lang->edit->help_list_bullet = 'Apply bullet list'; + $lang->edit->help_use_paragraph = 'Press Ctrl+Enter to use paragraph. (Press Alt+S to submit)'; + + $lang->edit->url = 'URL'; + $lang->edit->blockquote = 'Blockquote'; + $lang->edit->table = 'Table'; + $lang->edit->image = 'Image'; + $lang->edit->multimedia = 'Movie'; + $lang->edit->emoticon = 'Emoticon'; + + $lang->edit->upload = 'Attachment'; + $lang->edit->upload_file = 'Attach'; + $lang->edit->link_file = 'Insert to Content'; + $lang->edit->delete_selected = 'Delete Selected'; + + $lang->edit->icon_align_article = 'Occupy a paragraph'; + $lang->edit->icon_align_left = 'Align Left'; + $lang->edit->icon_align_middle = 'Align Center'; + $lang->edit->icon_align_right = 'Align Right'; + + $lang->about_dblclick_in_editor = 'You may set detail component configures by double-clicking background, text, images, or quotations'; + + + $lang->edit->rich_editor = 'Rich Text Editor'; + $lang->edit->html_editor = 'HTML Editor'; + $lang->edit->extension ='Extension Components'; + $lang->edit->help = 'Help'; + $lang->edit->help_command = 'Help Hotkeys'; + + $lang->edit->lineheight = 'Line Height'; + $lang->edit->fontbgsampletext = 'ABC'; + + $lang->edit->hyperlink = 'Hyperlink'; + $lang->edit->target_blank = 'New Window'; + + $lang->edit->quotestyle1 = 'Left Solid'; + $lang->edit->quotestyle2 = 'Quote'; + $lang->edit->quotestyle3 = 'Solid'; + $lang->edit->quotestyle4 = 'Solid + Background'; + $lang->edit->quotestyle5 = 'Bold Solid'; + $lang->edit->quotestyle6 = 'Dotted'; + $lang->edit->quotestyle7 = 'Dotted + Background'; + $lang->edit->quotestyle8 = 'Cancel'; + + + $lang->edit->jumptoedit = 'Skip Edit Toolbox'; + $lang->edit->set_sel = 'Set Cell Count'; + $lang->edit->row = 'Row'; + $lang->edit->col = 'Column'; + $lang->edit->add_one_row = 'Add 1 Row'; + $lang->edit->del_one_row = 'Remove 1 Row'; + $lang->edit->add_one_col = 'Add 1 Column'; + $lang->edit->del_one_col = 'Remove 1 Column'; + + $lang->edit->table_config = 'Table Config'; + $lang->edit->border_width = 'Border Width'; + $lang->edit->border_color = 'Border Color'; + $lang->edit->add = 'Add'; + $lang->edit->del = 'Sub'; + $lang->edit->search_color = 'Search Colors'; + $lang->edit->table_backgroundcolor = 'Table Background Color'; + $lang->edit->special_character = 'Special Characters'; + $lang->edit->insert_special_character = 'Insert Special Characters'; + $lang->edit->close_special_character = 'Close Special Characters Layer'; + $lang->edit->symbol = 'Symbols'; + $lang->edit->number_unit = 'Numbers and Units'; + $lang->edit->circle_bracket = 'Circles, Brackets'; + $lang->edit->korean = 'Korean'; + $lang->edit->greece = 'Greek'; + $lang->edit->Latin = 'Latin'; + $lang->edit->japan = 'Japanese'; + $lang->edit->selected_symbol = 'Selected Symbols'; + + $lang->edit->search_replace = 'Find/Replace'; + $lang->edit->close_search_replace = 'Close Find/Replace Layer'; + $lang->edit->replace_all = 'Replace All'; + $lang->edit->search_words = 'Words to Find'; + $lang->edit->replace_words = 'Words to Replace'; + $lang->edit->next_search_words = 'Find Next'; + $lang->edit->edit_height_control = 'Set Edit Form Size'; + + $lang->edit->merge_cells = 'Merge Table Cells'; + $lang->edit->split_row = 'Split Row'; + $lang->edit->split_col = 'Split Column'; + + $lang->edit->toggle_list = 'Fold/Unfold'; + $lang->edit->minimize_list = 'Minimize'; + + $lang->edit->move = 'Move'; + $lang->edit->materials = 'Materials'; + $lang->edit->temporary_savings = 'Temporary Saved List'; + + $lang->edit->drag_here = 'You can start writting with a selected paragraph from paragraph toolbar below.
    If there is an article in temporary saved list, you can drag it to edit form.'; + + $lang->edit->paging_prev = 'Prev'; + $lang->edit->paging_next = 'Next'; + $lang->edit->paging_prev_help = 'Move to previous page.'; + $lang->edit->paging_next_help = 'Move to next page.'; + + $lang->edit->toc = 'Table of Contents'; + $lang->edit->close_help = '도움말 닫기'; + + $lang->edit->confirm_submit_without_saving = 'There is paragraphs that were not saved.\\nProceed anyway?'; +?> diff --git a/modules/editor/lang/es.lang.php b/modules/editor/lang/es.lang.php index a63168858..6e7a0cd77 100644 --- a/modules/editor/lang/es.lang.php +++ b/modules/editor/lang/es.lang.php @@ -1,220 +1,223 @@ - - * @sumario Paquete del idioma español para el editor de WYSIWYG - **/ - - $lang->editor = 'Editor WYSIWYG'; - $lang->component_name = 'Componente'; - $lang->component_version = 'Versión'; - $lang->component_author = 'Autor'; - $lang->component_link = 'Enlace'; - $lang->component_date = 'Fecha'; - $lang->component_license = 'License'; - $lang->component_history = 'History'; - $lang->component_description = 'Descripción'; - $lang->component_extra_vars = 'Varibles Extras'; - $lang->component_grant = 'Ajuste de las atribuciones'; - $lang->content_style = 'Content Style'; - $lang->content_font = 'Content Font'; - $lang->content_font_size = '문서 폰트 크기'; - - $lang->about_component = 'Presentación del componente'; - $lang->about_component_grant = 'Usted puede configurar el permiso de utilizar la ampliación de los componentes de editor.
    (Todo el mundo tendría permiso si no comprobado)'; - $lang->about_component_mid = '에디터 컴포넌트가 사용될 대상을 지정할 수 있습니다.
    (모두 해제시 모든 대상에서 사용 가능합니다)'; - - $lang->msg_component_is_not_founded = 'No se puede encontrar el componente del editor %s'; - $lang->msg_component_is_inserted = 'El componente seleccionado ya esta insertado'; - $lang->msg_component_is_first_order = 'El componente seleccionado se localiza en la primera posición'; - $lang->msg_component_is_last_order = 'El componente seleccionado se localiza en la última posición'; - $lang->msg_load_saved_doc = "Existe un documento guardado automáticamente ¿desea recuperarlo ?\nDespués de guardar el documento escrito, el documento autoguardado sera eliminado."; - $lang->msg_auto_saved = 'Documento guardado automáticamente'; - - $lang->cmd_disable = 'Desactivado'; - $lang->cmd_enable = 'activado'; - - $lang->editor_skin = 'Editor de Cuidado de la Piel'; - $lang->upload_file_grant = 'La autorización para cargar'; - $lang->enable_default_component_grant = 'La autorización del uso de los componentes por defecto'; - $lang->enable_component_grant = 'La autorización de la utilización de componentes'; - $lang->enable_html_grant = 'La autorización de uso de HTML'; - $lang->enable_autosave = 'Utilice función de guardado automático,'; - $lang->height_resizable = 'Altura cambiar de tamaño'; - $lang->editor_height = 'Altura de Editor'; - - $lang->about_editor_skin = 'Usted puede seleccionar la piel del editor.'; - $lang->about_content_style = '문서 편집 및 내용 출력시 원하는 서식을 지정할 수 있습니다'; - $lang->about_content_font = '문서 편집 및 내용 출력시 원하는 폰트를 지정할 수 있습니다.
    지정하지 않으면 사용자 설정에 따르게 됩니다
    ,(콤마)로 여러 폰트를 지정할 수 있습니다.'; - $lang->about_content_font_size = '문서 편집 및 내용 출력시 원하는 폰트의 크기를 지정할 수 있습니다.
    12px, 1em등 단위까지 포함해서 입력해주세요.'; - $lang->about_upload_file_grant = 'Usted puede configurar el permiso de archivo adjunto. (Todo el mundo tendría permiso si no comprobado)'; - $lang->about_default_component_grant = 'Usted puede configurar el permiso de uso de los componentes de editor por defecto. (Todo el mundo tendría permiso si no comprobado)'; - $lang->about_editor_height = 'Usted puede configurar la altura del editor.'; - $lang->about_editor_height_resizable = 'Permiso para cambiar el tamaño de la altura del editor.'; - $lang->about_enable_html_grant = 'Usted puede dar el permiso de uso de HTML'; - $lang->about_enable_autosave = 'Usted puede permitir que la función de guardado automático, en tanto que función de la redacción de artículos'; - - $lang->edit->fontname = 'Fuente'; - $lang->edit->fontsize = 'Tamaño'; - $lang->edit->use_paragraph = 'Párrafo'; - $lang->edit->fontlist = array( - 'Arial'=>'Arial', - 'Arial Black'=>'Arial Black', - 'Tahoma'=>'Tahoma', - 'Verdana'=>'Verdana', - 'Sans-serif'=>'Sans-serif', - 'Serif'=>'Serif', - 'Monospace'=>'Monospace', - 'Cursive'=>'Cursive', - 'Fantasy'=>'Fantasy', - ); - - $lang->edit->header = 'Estilo'; - $lang->edit->header_list = array( - 'h1' => 'Título 1', - 'h2' => 'Título 2', - 'h3' => 'Título 3', - 'h4' => 'Título 4', - 'h5' => 'Título 5', - 'h6' => 'Título 6', - ); - - $lang->edit->submit = 'Confirmar'; - - $lang->edit->fontcolor = 'Text Color'; - $lang->edit->fontbgcolor = 'Background Color'; - $lang->edit->bold = 'Bold'; - $lang->edit->italic = 'Italic'; - $lang->edit->underline = 'Underline'; - $lang->edit->strike = 'Strike'; - $lang->edit->sup = 'Sup'; - $lang->edit->sub = 'Sub'; - $lang->edit->redo = 'Re Do'; - $lang->edit->undo = 'Un Do'; - $lang->edit->align_left = 'Align Left'; - $lang->edit->align_center = 'Align Center'; - $lang->edit->align_right = 'Align Right'; - $lang->edit->align_justify = 'Align Justify'; - $lang->edit->add_indent = 'Indent'; - $lang->edit->remove_indent = 'Outdent'; - $lang->edit->list_number = 'Orderd List'; - $lang->edit->list_bullet = 'Unordered List'; - $lang->edit->remove_format = 'Style Remover'; - - $lang->edit->help_fontcolor = 'Selecciona el color de las letras'; - $lang->edit->help_fontbgcolor = 'Selecciona el color del fondo de la letras'; - $lang->edit->help_bold = 'Letra gruesa'; - $lang->edit->help_italic = 'Letra cursiva'; - $lang->edit->help_underline = 'Letra subrayada'; - $lang->edit->help_strike = 'Letra con linea'; - $lang->edit->help_sup = 'Sup'; - $lang->edit->help_sub = 'Sub'; - $lang->edit->help_redo = 'Rehacer'; - $lang->edit->help_undo = 'Deshacer'; - $lang->edit->help_align_left = 'Margen izquierdo'; - $lang->edit->help_align_center = 'Margen central'; - $lang->edit->help_align_right = 'Margen derecho'; - $lang->edit->help_add_indent = 'Anadir tabulación'; - $lang->edit->help_remove_indent = 'Quitar tabulación'; - $lang->edit->help_list_number = 'Aplicar la lista con números'; - $lang->edit->help_list_bullet = 'Aplicar la lista con símbolos'; - $lang->edit->help_use_paragraph = 'Presiona Ctrl+Enter para usar el párrafo (Presiona Alt+S para guardar)'; - - $lang->edit->url = 'URL'; - $lang->edit->blockquote = 'Blockquote'; - $lang->edit->table = 'Table'; - $lang->edit->image = 'Image'; - $lang->edit->multimedia = 'Movie'; - $lang->edit->emoticon = 'Emoticon'; - - $lang->edit->upload = 'Adjuntar'; - $lang->edit->upload_file = 'Archivo adjunto'; - $lang->edit->link_file = 'Insertar en el contenido del documento'; - $lang->edit->delete_selected = 'Eliminar lo seleccionado'; - - $lang->edit->icon_align_article = 'Ocupar un párrafo'; - $lang->edit->icon_align_left = 'Margen izquierdo'; - $lang->edit->icon_align_middle = 'Margen central'; - $lang->edit->icon_align_right = 'Margen derecho'; - - $lang->about_dblclick_in_editor = 'Para la configuracion más detallada debera hacer dobleclick sobre el texto, imagen, fondo, etc.'; - - - $lang->edit->rich_editor = '스타일 편집기'; - $lang->edit->html_editor = 'HTML 편집기'; - $lang->edit->extension ='확장 컴포넌트'; - $lang->edit->help = '도움말'; - $lang->edit->help_command = '단축키 안내'; - - $lang->edit->lineheight = '줄간격'; - $lang->edit->fontbgsampletext = '가나다'; - - $lang->edit->hyperlink = '하이퍼링크'; - $lang->edit->target_blank = '새창으로'; - - $lang->edit->quotestyle1 = '왼쪽 실선'; - $lang->edit->quotestyle2 = '인용 부호'; - $lang->edit->quotestyle3 = '실선'; - $lang->edit->quotestyle4 = '실선 + 배경'; - $lang->edit->quotestyle5 = '굵은 실선'; - $lang->edit->quotestyle6 = '점선'; - $lang->edit->quotestyle7 = '점선 + 배경'; - $lang->edit->quotestyle8 = '적용 취소'; - - - $lang->edit->jumptoedit = '편집 도구모음 건너뛰기'; - $lang->edit->set_sel = '칸 수 지정'; - $lang->edit->row = '행'; - $lang->edit->col = '열'; - $lang->edit->add_one_row = '1행추가'; - $lang->edit->del_one_row = '1행삭제'; - $lang->edit->add_one_col = '1열추가'; - $lang->edit->del_one_col = '1열삭제'; - - $lang->edit->table_config = '표 속성 지정'; - $lang->edit->border_width = '테두리 굵기'; - $lang->edit->border_color = '테두리 색'; - $lang->edit->add = '더하기'; - $lang->edit->del = '빼기'; - $lang->edit->search_color = '색상찾기'; - $lang->edit->table_backgroundcolor = '표 배경색'; - $lang->edit->special_character = '특수문자'; - $lang->edit->insert_special_character = '특수문자 삽입'; - $lang->edit->close_special_character = '특수문자 레이어 닫기'; - $lang->edit->symbol = '일반기호'; - $lang->edit->number_unit = '숫자와 단위'; - $lang->edit->circle_bracket = '원,괄호'; - $lang->edit->korean = '한글'; - $lang->edit->greece = '그리스'; - $lang->edit->Latin = '라틴어'; - $lang->edit->japan = '일본어'; - $lang->edit->selected_symbol = '선택한 기호'; - - $lang->edit->search_replace = '찾기/바꾸기'; - $lang->edit->close_search_replace = '찾기/바꾸기 레이어 닫기'; - $lang->edit->replace_all = '모두바꾸기'; - $lang->edit->search_words = '찾을단어'; - $lang->edit->replace_words = '바꿀단어'; - $lang->edit->next_search_words = '다음찾기'; - $lang->edit->edit_height_control = '입력창 크기 조절'; - - $lang->edit->merge_cells = '셀 병합'; - $lang->edit->split_row = '행 분할'; - $lang->edit->split_col = '열 분할'; - - $lang->edit->toggle_list = '목록 접기/펼치기'; - $lang->edit->minimize_list = '최소화'; - - $lang->edit->move = '이동'; - $lang->edit->materials = '글감보관함'; - $lang->edit->temporary_savings = '임시저장목록'; - - $lang->edit->drag_here = '아래의 단락추가 툴바에서 원하는 유형의 단락을 추가해 글 쓰기를 시작하세요.
    글감 보관함에 글이 있으면 이곳으로 끌어 넣기 할 수 있습니다.'; - - $lang->edit->paging_prev = '이전'; - $lang->edit->paging_next = '다음'; - $lang->edit->paging_prev_help = '이전 페이지로 이동합니다.'; - $lang->edit->paging_next_help = '다음 페이지로 이동합니다.'; - - $lang->edit->toc = '목차'; -?> + + * @sumario Paquete del idioma español para el editor de WYSIWYG + **/ + + $lang->editor = 'Editor WYSIWYG'; + $lang->component_name = 'Componente'; + $lang->component_version = 'Versión'; + $lang->component_author = 'Autor'; + $lang->component_link = 'Enlace'; + $lang->component_date = 'Fecha'; + $lang->component_license = 'License'; + $lang->component_history = 'History'; + $lang->component_description = 'Descripción'; + $lang->component_extra_vars = 'Varibles Extras'; + $lang->component_grant = 'Ajuste de las atribuciones'; + $lang->content_style = 'Content Style'; + $lang->content_font = 'Content Font'; + $lang->content_font_size = '문서 폰트 크기'; + + $lang->about_component = 'Presentación del componente'; + $lang->about_component_grant = 'Usted puede configurar el permiso de utilizar la ampliación de los componentes de editor.
    (Todo el mundo tendría permiso si no comprobado)'; + $lang->about_component_mid = '에디터 컴포넌트가 사용될 대상을 지정할 수 있습니다.
    (모두 해제시 모든 대상에서 사용 가능합니다)'; + + $lang->msg_component_is_not_founded = 'No se puede encontrar el componente del editor %s'; + $lang->msg_component_is_inserted = 'El componente seleccionado ya esta insertado'; + $lang->msg_component_is_first_order = 'El componente seleccionado se localiza en la primera posición'; + $lang->msg_component_is_last_order = 'El componente seleccionado se localiza en la última posición'; + $lang->msg_load_saved_doc = "Existe un documento guardado automáticamente ¿desea recuperarlo ?\nDespués de guardar el documento escrito, el documento autoguardado sera eliminado."; + $lang->msg_auto_saved = 'Documento guardado automáticamente'; + + $lang->cmd_disable = 'Desactivado'; + $lang->cmd_enable = 'activado'; + + $lang->editor_skin = 'Editor de Cuidado de la Piel'; + $lang->upload_file_grant = 'La autorización para cargar'; + $lang->enable_default_component_grant = 'La autorización del uso de los componentes por defecto'; + $lang->enable_component_grant = 'La autorización de la utilización de componentes'; + $lang->enable_html_grant = 'La autorización de uso de HTML'; + $lang->enable_autosave = 'Utilice función de guardado automático,'; + $lang->height_resizable = 'Altura cambiar de tamaño'; + $lang->editor_height = 'Altura de Editor'; + + $lang->about_editor_skin = 'Usted puede seleccionar la piel del editor.'; + $lang->about_content_style = '문서 편집 및 내용 출력시 원하는 서식을 지정할 수 있습니다'; + $lang->about_content_font = '문서 편집 및 내용 출력시 원하는 폰트를 지정할 수 있습니다.
    지정하지 않으면 사용자 설정에 따르게 됩니다
    ,(콤마)로 여러 폰트를 지정할 수 있습니다.'; + $lang->about_content_font_size = '문서 편집 및 내용 출력시 원하는 폰트의 크기를 지정할 수 있습니다.
    12px, 1em등 단위까지 포함해서 입력해주세요.'; + $lang->about_upload_file_grant = 'Usted puede configurar el permiso de archivo adjunto. (Todo el mundo tendría permiso si no comprobado)'; + $lang->about_default_component_grant = 'Usted puede configurar el permiso de uso de los componentes de editor por defecto. (Todo el mundo tendría permiso si no comprobado)'; + $lang->about_editor_height = 'Usted puede configurar la altura del editor.'; + $lang->about_editor_height_resizable = 'Permiso para cambiar el tamaño de la altura del editor.'; + $lang->about_enable_html_grant = 'Usted puede dar el permiso de uso de HTML'; + $lang->about_enable_autosave = 'Usted puede permitir que la función de guardado automático, en tanto que función de la redacción de artículos'; + + $lang->edit->fontname = 'Fuente'; + $lang->edit->fontsize = 'Tamaño'; + $lang->edit->use_paragraph = 'Párrafo'; + $lang->edit->fontlist = array( + 'Arial'=>'Arial', + 'Arial Black'=>'Arial Black', + 'Tahoma'=>'Tahoma', + 'Verdana'=>'Verdana', + 'Sans-serif'=>'Sans-serif', + 'Serif'=>'Serif', + 'Monospace'=>'Monospace', + 'Cursive'=>'Cursive', + 'Fantasy'=>'Fantasy', + ); + + $lang->edit->header = 'Estilo'; + $lang->edit->header_list = array( + 'h1' => 'Título 1', + 'h2' => 'Título 2', + 'h3' => 'Título 3', + 'h4' => 'Título 4', + 'h5' => 'Título 5', + 'h6' => 'Título 6', + ); + + $lang->edit->submit = 'Confirmar'; + + $lang->edit->fontcolor = 'Text Color'; + $lang->edit->fontbgcolor = 'Background Color'; + $lang->edit->bold = 'Bold'; + $lang->edit->italic = 'Italic'; + $lang->edit->underline = 'Underline'; + $lang->edit->strike = 'Strike'; + $lang->edit->sup = 'Sup'; + $lang->edit->sub = 'Sub'; + $lang->edit->redo = 'Re Do'; + $lang->edit->undo = 'Un Do'; + $lang->edit->align_left = 'Align Left'; + $lang->edit->align_center = 'Align Center'; + $lang->edit->align_right = 'Align Right'; + $lang->edit->align_justify = 'Align Justify'; + $lang->edit->add_indent = 'Indent'; + $lang->edit->remove_indent = 'Outdent'; + $lang->edit->list_number = 'Orderd List'; + $lang->edit->list_bullet = 'Unordered List'; + $lang->edit->remove_format = 'Style Remover'; + + $lang->edit->help_fontcolor = 'Selecciona el color de las letras'; + $lang->edit->help_fontbgcolor = 'Selecciona el color del fondo de la letras'; + $lang->edit->help_bold = 'Letra gruesa'; + $lang->edit->help_italic = 'Letra cursiva'; + $lang->edit->help_underline = 'Letra subrayada'; + $lang->edit->help_strike = 'Letra con linea'; + $lang->edit->help_sup = 'Sup'; + $lang->edit->help_sub = 'Sub'; + $lang->edit->help_redo = 'Rehacer'; + $lang->edit->help_undo = 'Deshacer'; + $lang->edit->help_align_left = 'Margen izquierdo'; + $lang->edit->help_align_center = 'Margen central'; + $lang->edit->help_align_right = 'Margen derecho'; + $lang->edit->help_add_indent = 'Anadir tabulación'; + $lang->edit->help_remove_indent = 'Quitar tabulación'; + $lang->edit->help_list_number = 'Aplicar la lista con números'; + $lang->edit->help_list_bullet = 'Aplicar la lista con símbolos'; + $lang->edit->help_use_paragraph = 'Presiona Ctrl+Enter para usar el párrafo (Presiona Alt+S para guardar)'; + + $lang->edit->url = 'URL'; + $lang->edit->blockquote = 'Blockquote'; + $lang->edit->table = 'Table'; + $lang->edit->image = 'Image'; + $lang->edit->multimedia = 'Movie'; + $lang->edit->emoticon = 'Emoticon'; + + $lang->edit->upload = 'Adjuntar'; + $lang->edit->upload_file = 'Archivo adjunto'; + $lang->edit->link_file = 'Insertar en el contenido del documento'; + $lang->edit->delete_selected = 'Eliminar lo seleccionado'; + + $lang->edit->icon_align_article = 'Ocupar un párrafo'; + $lang->edit->icon_align_left = 'Margen izquierdo'; + $lang->edit->icon_align_middle = 'Margen central'; + $lang->edit->icon_align_right = 'Margen derecho'; + + $lang->about_dblclick_in_editor = 'Para la configuracion más detallada debera hacer dobleclick sobre el texto, imagen, fondo, etc.'; + + + $lang->edit->rich_editor = '스타일 편집기'; + $lang->edit->html_editor = 'HTML 편집기'; + $lang->edit->extension ='확장 컴포넌트'; + $lang->edit->help = '도움말'; + $lang->edit->help_command = '단축키 안내'; + + $lang->edit->lineheight = '줄간격'; + $lang->edit->fontbgsampletext = '가나다'; + + $lang->edit->hyperlink = '하이퍼링크'; + $lang->edit->target_blank = '새창으로'; + + $lang->edit->quotestyle1 = '왼쪽 실선'; + $lang->edit->quotestyle2 = '인용 부호'; + $lang->edit->quotestyle3 = '실선'; + $lang->edit->quotestyle4 = '실선 + 배경'; + $lang->edit->quotestyle5 = '굵은 실선'; + $lang->edit->quotestyle6 = '점선'; + $lang->edit->quotestyle7 = '점선 + 배경'; + $lang->edit->quotestyle8 = '적용 취소'; + + + $lang->edit->jumptoedit = '편집 도구모음 건너뛰기'; + $lang->edit->set_sel = '칸 수 지정'; + $lang->edit->row = '행'; + $lang->edit->col = '열'; + $lang->edit->add_one_row = '1행추가'; + $lang->edit->del_one_row = '1행삭제'; + $lang->edit->add_one_col = '1열추가'; + $lang->edit->del_one_col = '1열삭제'; + + $lang->edit->table_config = '표 속성 지정'; + $lang->edit->border_width = '테두리 굵기'; + $lang->edit->border_color = '테두리 색'; + $lang->edit->add = '더하기'; + $lang->edit->del = '빼기'; + $lang->edit->search_color = '색상찾기'; + $lang->edit->table_backgroundcolor = '표 배경색'; + $lang->edit->special_character = '특수문자'; + $lang->edit->insert_special_character = '특수문자 삽입'; + $lang->edit->close_special_character = '특수문자 레이어 닫기'; + $lang->edit->symbol = '일반기호'; + $lang->edit->number_unit = '숫자와 단위'; + $lang->edit->circle_bracket = '원,괄호'; + $lang->edit->korean = '한글'; + $lang->edit->greece = '그리스'; + $lang->edit->Latin = '라틴어'; + $lang->edit->japan = '일본어'; + $lang->edit->selected_symbol = '선택한 기호'; + + $lang->edit->search_replace = '찾기/바꾸기'; + $lang->edit->close_search_replace = '찾기/바꾸기 레이어 닫기'; + $lang->edit->replace_all = '모두바꾸기'; + $lang->edit->search_words = '찾을단어'; + $lang->edit->replace_words = '바꿀단어'; + $lang->edit->next_search_words = '다음찾기'; + $lang->edit->edit_height_control = '입력창 크기 조절'; + + $lang->edit->merge_cells = '셀 병합'; + $lang->edit->split_row = '행 분할'; + $lang->edit->split_col = '열 분할'; + + $lang->edit->toggle_list = '목록 접기/펼치기'; + $lang->edit->minimize_list = '최소화'; + + $lang->edit->move = '이동'; + $lang->edit->materials = '글감보관함'; + $lang->edit->temporary_savings = '임시저장목록'; + + $lang->edit->drag_here = '아래의 단락추가 툴바에서 원하는 유형의 단락을 추가해 글 쓰기를 시작하세요.
    글감 보관함에 글이 있으면 이곳으로 끌어 넣기 할 수 있습니다.'; + + $lang->edit->paging_prev = '이전'; + $lang->edit->paging_next = '다음'; + $lang->edit->paging_prev_help = '이전 페이지로 이동합니다.'; + $lang->edit->paging_next_help = '다음 페이지로 이동합니다.'; + + $lang->edit->toc = '목차'; + $lang->edit->close_help = '도움말 닫기'; + + $lang->edit->confirm_submit_without_saving = '저장하지 않은 단락이 있습니다.\\n그냥 전송하시겠습니까?'; +?> diff --git a/modules/editor/lang/fr.lang.php b/modules/editor/lang/fr.lang.php index 7486c20e5..9cdb7fbe5 100644 --- a/modules/editor/lang/fr.lang.php +++ b/modules/editor/lang/fr.lang.php @@ -1,224 +1,227 @@ - Traduit par Pierre Duvent - * @brief Paquet du langage en français pour le module de Tel-tel Editeur - **/ - - $lang->editor = 'Tel-tel Editeur'; - $lang->component_name = 'Composant'; - $lang->component_version = 'Version'; - $lang->component_author = 'Développeur'; - $lang->component_link = 'Lien'; - $lang->component_date = 'Jour de Création'; - $lang->component_license = 'Licence'; - $lang->component_history = 'Histoire'; - $lang->component_description = 'Description'; - $lang->component_extra_vars = 'Variables d\'Option'; - $lang->component_grant = 'Configuration de la Permission'; - $lang->content_style = 'Content Style'; - $lang->content_font = 'Content Font'; - $lang->content_font_size = '문서 폰트 크기'; - - $lang->about_component = 'Sur le Composant'; - $lang->about_component_grant = 'Vous pouvez configurer la Permission d\'utiliser des composants additionnels de l\'Editeur.
    (Tout le monde aura la Permission si vous ne cochez rien)'; - $lang->about_component_mid = 'Vous pouvez désigner les objectifs auquels les composants s\'appliquent
    (Tous les objectifs auront la Permission quand rien n\'est choisi.)'; - - $lang->msg_component_is_not_founded = 'Ne peut pas trouver Composant %s'; - $lang->msg_component_is_inserted = 'Composant choisi est déjà entré'; - $lang->msg_component_is_first_order = 'Composant choisi est localisé à la première position'; - $lang->msg_component_is_last_order = 'Composant choisi est localisé à la position dernière'; - $lang->msg_load_saved_doc = "Il y a un article conservé automatiquement. Voulez-vous le réstaurer?\nL'esquisse conservé automatiquement va être débarrasser après conserver l'article courant."; - $lang->msg_auto_saved = 'Conservé automatiquement'; - - $lang->cmd_disable = 'Invalider'; - $lang->cmd_enable = 'Valider'; - - $lang->editor_skin = 'Habillage de l\'Editeur'; - $lang->upload_file_grant = 'Permission de télécharger(téléverser) '; - $lang->enable_default_component_grant = 'Permission d\'utiliser les Composants Par Défaut'; - $lang->enable_component_grant = 'Permission d\'utiliser des composants'; - $lang->enable_html_grant = 'Permission d\'utiliser HTML'; - $lang->enable_autosave = 'Valider à conserver automatiquement'; - $lang->height_resizable = 'Permettre de remettre l\'hauteur'; - $lang->editor_height = 'Hauteur de l\'Editeur'; - - $lang->about_editor_skin = 'Vous pouvez choisir l\'habillage de l\'Editeur.'; - $lang->about_content_style = '문서 편집 및 내용 출력시 원하는 서식을 지정할 수 있습니다'; - $lang->about_content_font = '문서 편집 및 내용 출력시 원하는 폰트를 지정할 수 있습니다.
    지정하지 않으면 사용자 설정에 따르게 됩니다
    ,(콤마)로 여러 폰트를 지정할 수 있습니다.'; - $lang->about_content_font_size = '문서 편집 및 내용 출력시 원하는 폰트의 크기를 지정할 수 있습니다.
    12px, 1em등 단위까지 포함해서 입력해주세요.'; - $lang->about_upload_file_grant = 'Vous pouvez configurer la permission d\'attacher les fichiers. (Tout le monde aura la permission si vous ne cochez rien)'; - $lang->about_default_component_grant = 'Vous pouvez configurer la permission d\'utiliser les Composants Par Défaut de l\'Editeur. (Tout le monde aura la permission si vous ne cochez rien)'; - $lang->about_editor_height = 'Vous pouvez configurer l\'hauteur de l\'Editeur.'; - $lang->about_editor_height_resizable = 'Permettre de remettre l\'hauteur de l\'Editeur.'; - $lang->about_enable_html_grant = 'Vous pouvez permettre d\'utiliser HTML'; - $lang->about_enable_autosave = 'Vous pouvez valider la fonction à Conserver Automatiquement pendant écrire des articles.'; - - $lang->edit->fontname = 'Police de caractères'; - $lang->edit->fontsize = 'Mesure'; - $lang->edit->use_paragraph = 'Fonctions sur Paragraphe'; - $lang->edit->fontlist = array( - 'Arial'=>'Arial', - 'Arial Black'=>'Arial Black', - 'Tahoma'=>'Tahoma', - 'Verdana'=>'Verdana', - 'Sans-serif'=>'Sans-serif', - 'Serif'=>'Serif', - 'Monospace'=>'Monospace', - 'Cursive'=>'Cursive', - 'Fantasy'=>'Fantasy', - ); - - $lang->edit->header = 'Style'; - $lang->edit->header_list = array( - 'h1' => 'Titre 1', - 'h2' => 'Titre 2', - 'h3' => 'Titre 3', - 'h4' => 'Titre 4', - 'h5' => 'Titre 5', - 'h6' => 'Titre 6', - ); - - $lang->edit->submit = 'Soumettre'; - - $lang->edit->fontcolor = 'Text Color'; - $lang->edit->fontbgcolor = 'Background Color'; - $lang->edit->bold = 'Bold'; - $lang->edit->italic = 'Italic'; - $lang->edit->underline = 'Underline'; - $lang->edit->strike = 'Strike'; - $lang->edit->sup = 'Sup'; - $lang->edit->sub = 'Sub'; - $lang->edit->redo = 'Re Do'; - $lang->edit->undo = 'Un Do'; - $lang->edit->align_left = 'Align Left'; - $lang->edit->align_center = 'Align Center'; - $lang->edit->align_right = 'Align Right'; - $lang->edit->align_justify = 'Align Justify'; - $lang->edit->add_indent = 'Indent'; - $lang->edit->remove_indent = 'Outdent'; - $lang->edit->list_number = 'Orderd List'; - $lang->edit->list_bullet = 'Unordered List'; - $lang->edit->remove_format = 'Style Remover'; - - $lang->edit->help_remove_format = 'Supprimer les balises dans l\'endroit sélectionné'; - $lang->edit->help_strike_through = 'Représenter la ligne d\'annulation sur les lettres.'; - $lang->edit->help_align_full = 'Aligner pleinement selon largeur'; - - $lang->edit->help_fontcolor = 'Désigner la couleur de la Police de caractères'; - $lang->edit->help_fontbgcolor = 'Désigner la couleur de l\'arrière-plan de la Police de caractères.'; - $lang->edit->help_bold = 'Caractère gras'; - $lang->edit->help_italic = 'Caractère italique'; - $lang->edit->help_underline = 'Caractère souligné'; - $lang->edit->help_strike = 'Caractère biffé'; - $lang->edit->help_sup = 'Sup'; - $lang->edit->help_sub = 'Sub'; - $lang->edit->help_redo = 'Réfaire'; - $lang->edit->help_undo = 'Annuler'; - $lang->edit->help_align_left = 'Aligner à gauche'; - $lang->edit->help_align_center = 'Aligner centr'; - $lang->edit->help_align_right = 'Aligner droite'; - $lang->edit->help_add_indent = 'Ajouter un Rentré'; - $lang->edit->help_remove_indent = 'Enlever un Rentré'; - $lang->edit->help_list_number = 'Appliquer la liste numroté'; - $lang->edit->help_list_bullet = 'Appliquer la liste à puces'; - $lang->edit->help_use_paragraph = 'Appuyez Ctrl+Enter pour séparer les paragraphe. (Appuyez Alt+S pour conserver)'; - - $lang->edit->url = 'URL'; - $lang->edit->blockquote = 'Blockquote'; - $lang->edit->table = 'Table'; - $lang->edit->image = 'Image'; - $lang->edit->multimedia = 'Movie'; - $lang->edit->emoticon = 'Emoticon'; - - $lang->edit->upload = 'Attacher'; - $lang->edit->upload_file = 'Attacher un(des) Fichier(s)'; - $lang->edit->link_file = 'Insérer dans le Texte'; - $lang->edit->delete_selected = 'Supprimer le Sélectionné'; - - $lang->edit->icon_align_article = 'Occuper un paragraphe'; - $lang->edit->icon_align_left = 'Placer à gauche du texte'; - $lang->edit->icon_align_middle = 'Placer au centre'; - $lang->edit->icon_align_right = 'Placer à droite du texte'; - - $lang->about_dblclick_in_editor = 'Vous pouvez configurer en détail des composants par double-clic sur un arrière-plan, un texte, une image ou une citation'; - - - $lang->edit->rich_editor = '스타일 편집기'; - $lang->edit->html_editor = 'HTML 편집기'; - $lang->edit->extension ='확장 컴포넌트'; - $lang->edit->help = '도움말'; - $lang->edit->help_command = '단축키 안내'; - - $lang->edit->lineheight = '줄간격'; - $lang->edit->fontbgsampletext = '가나다'; - - $lang->edit->hyperlink = '하이퍼링크'; - $lang->edit->target_blank = '새창으로'; - - $lang->edit->quotestyle1 = '왼쪽 실선'; - $lang->edit->quotestyle2 = '인용 부호'; - $lang->edit->quotestyle3 = '실선'; - $lang->edit->quotestyle4 = '실선 + 배경'; - $lang->edit->quotestyle5 = '굵은 실선'; - $lang->edit->quotestyle6 = '점선'; - $lang->edit->quotestyle7 = '점선 + 배경'; - $lang->edit->quotestyle8 = '적용 취소'; - - - $lang->edit->jumptoedit = '편집 도구모음 건너뛰기'; - $lang->edit->set_sel = '칸 수 지정'; - $lang->edit->row = '행'; - $lang->edit->col = '열'; - $lang->edit->add_one_row = '1행추가'; - $lang->edit->del_one_row = '1행삭제'; - $lang->edit->add_one_col = '1열추가'; - $lang->edit->del_one_col = '1열삭제'; - - $lang->edit->table_config = '표 속성 지정'; - $lang->edit->border_width = '테두리 굵기'; - $lang->edit->border_color = '테두리 색'; - $lang->edit->add = '더하기'; - $lang->edit->del = '빼기'; - $lang->edit->search_color = '색상찾기'; - $lang->edit->table_backgroundcolor = '표 배경색'; - $lang->edit->special_character = '특수문자'; - $lang->edit->insert_special_character = '특수문자 삽입'; - $lang->edit->close_special_character = '특수문자 레이어 닫기'; - $lang->edit->symbol = '일반기호'; - $lang->edit->number_unit = '숫자와 단위'; - $lang->edit->circle_bracket = '원,괄호'; - $lang->edit->korean = '한글'; - $lang->edit->greece = '그리스'; - $lang->edit->Latin = '라틴어'; - $lang->edit->japan = '일본어'; - $lang->edit->selected_symbol = '선택한 기호'; - - $lang->edit->search_replace = '찾기/바꾸기'; - $lang->edit->close_search_replace = '찾기/바꾸기 레이어 닫기'; - $lang->edit->replace_all = '모두바꾸기'; - $lang->edit->search_words = '찾을단어'; - $lang->edit->replace_words = '바꿀단어'; - $lang->edit->next_search_words = '다음찾기'; - $lang->edit->edit_height_control = '입력창 크기 조절'; - - $lang->edit->merge_cells = '셀 병합'; - $lang->edit->split_row = '행 분할'; - $lang->edit->split_col = '열 분할'; - - $lang->edit->toggle_list = '목록 접기/펼치기'; - $lang->edit->minimize_list = '최소화'; - - $lang->edit->move = '이동'; - $lang->edit->materials = '글감보관함'; - $lang->edit->temporary_savings = '임시저장목록'; - - $lang->edit->drag_here = '아래의 단락추가 툴바에서 원하는 유형의 단락을 추가해 글 쓰기를 시작하세요.
    글감 보관함에 글이 있으면 이곳으로 끌어 넣기 할 수 있습니다.'; - - $lang->edit->paging_prev = '이전'; - $lang->edit->paging_next = '다음'; - $lang->edit->paging_prev_help = '이전 페이지로 이동합니다.'; - $lang->edit->paging_next_help = '다음 페이지로 이동합니다.'; - - $lang->edit->toc = '목차'; -?> + Traduit par Pierre Duvent + * @brief Paquet du langage en français pour le module de Tel-tel Editeur + **/ + + $lang->editor = 'Tel-tel Editeur'; + $lang->component_name = 'Composant'; + $lang->component_version = 'Version'; + $lang->component_author = 'Développeur'; + $lang->component_link = 'Lien'; + $lang->component_date = 'Jour de Création'; + $lang->component_license = 'Licence'; + $lang->component_history = 'Histoire'; + $lang->component_description = 'Description'; + $lang->component_extra_vars = 'Variables d\'Option'; + $lang->component_grant = 'Configuration de la Permission'; + $lang->content_style = 'Content Style'; + $lang->content_font = 'Content Font'; + $lang->content_font_size = '문서 폰트 크기'; + + $lang->about_component = 'Sur le Composant'; + $lang->about_component_grant = 'Vous pouvez configurer la Permission d\'utiliser des composants additionnels de l\'Editeur.
    (Tout le monde aura la Permission si vous ne cochez rien)'; + $lang->about_component_mid = 'Vous pouvez désigner les objectifs auquels les composants s\'appliquent
    (Tous les objectifs auront la Permission quand rien n\'est choisi.)'; + + $lang->msg_component_is_not_founded = 'Ne peut pas trouver Composant %s'; + $lang->msg_component_is_inserted = 'Composant choisi est déjà entré'; + $lang->msg_component_is_first_order = 'Composant choisi est localisé à la première position'; + $lang->msg_component_is_last_order = 'Composant choisi est localisé à la position dernière'; + $lang->msg_load_saved_doc = "Il y a un article conservé automatiquement. Voulez-vous le réstaurer?\nL'esquisse conservé automatiquement va être débarrasser après conserver l'article courant."; + $lang->msg_auto_saved = 'Conservé automatiquement'; + + $lang->cmd_disable = 'Invalider'; + $lang->cmd_enable = 'Valider'; + + $lang->editor_skin = 'Habillage de l\'Editeur'; + $lang->upload_file_grant = 'Permission de télécharger(téléverser) '; + $lang->enable_default_component_grant = 'Permission d\'utiliser les Composants Par Défaut'; + $lang->enable_component_grant = 'Permission d\'utiliser des composants'; + $lang->enable_html_grant = 'Permission d\'utiliser HTML'; + $lang->enable_autosave = 'Valider à conserver automatiquement'; + $lang->height_resizable = 'Permettre de remettre l\'hauteur'; + $lang->editor_height = 'Hauteur de l\'Editeur'; + + $lang->about_editor_skin = 'Vous pouvez choisir l\'habillage de l\'Editeur.'; + $lang->about_content_style = '문서 편집 및 내용 출력시 원하는 서식을 지정할 수 있습니다'; + $lang->about_content_font = '문서 편집 및 내용 출력시 원하는 폰트를 지정할 수 있습니다.
    지정하지 않으면 사용자 설정에 따르게 됩니다
    ,(콤마)로 여러 폰트를 지정할 수 있습니다.'; + $lang->about_content_font_size = '문서 편집 및 내용 출력시 원하는 폰트의 크기를 지정할 수 있습니다.
    12px, 1em등 단위까지 포함해서 입력해주세요.'; + $lang->about_upload_file_grant = 'Vous pouvez configurer la permission d\'attacher les fichiers. (Tout le monde aura la permission si vous ne cochez rien)'; + $lang->about_default_component_grant = 'Vous pouvez configurer la permission d\'utiliser les Composants Par Défaut de l\'Editeur. (Tout le monde aura la permission si vous ne cochez rien)'; + $lang->about_editor_height = 'Vous pouvez configurer l\'hauteur de l\'Editeur.'; + $lang->about_editor_height_resizable = 'Permettre de remettre l\'hauteur de l\'Editeur.'; + $lang->about_enable_html_grant = 'Vous pouvez permettre d\'utiliser HTML'; + $lang->about_enable_autosave = 'Vous pouvez valider la fonction à Conserver Automatiquement pendant écrire des articles.'; + + $lang->edit->fontname = 'Police de caractères'; + $lang->edit->fontsize = 'Mesure'; + $lang->edit->use_paragraph = 'Fonctions sur Paragraphe'; + $lang->edit->fontlist = array( + 'Arial'=>'Arial', + 'Arial Black'=>'Arial Black', + 'Tahoma'=>'Tahoma', + 'Verdana'=>'Verdana', + 'Sans-serif'=>'Sans-serif', + 'Serif'=>'Serif', + 'Monospace'=>'Monospace', + 'Cursive'=>'Cursive', + 'Fantasy'=>'Fantasy', + ); + + $lang->edit->header = 'Style'; + $lang->edit->header_list = array( + 'h1' => 'Titre 1', + 'h2' => 'Titre 2', + 'h3' => 'Titre 3', + 'h4' => 'Titre 4', + 'h5' => 'Titre 5', + 'h6' => 'Titre 6', + ); + + $lang->edit->submit = 'Soumettre'; + + $lang->edit->fontcolor = 'Text Color'; + $lang->edit->fontbgcolor = 'Background Color'; + $lang->edit->bold = 'Bold'; + $lang->edit->italic = 'Italic'; + $lang->edit->underline = 'Underline'; + $lang->edit->strike = 'Strike'; + $lang->edit->sup = 'Sup'; + $lang->edit->sub = 'Sub'; + $lang->edit->redo = 'Re Do'; + $lang->edit->undo = 'Un Do'; + $lang->edit->align_left = 'Align Left'; + $lang->edit->align_center = 'Align Center'; + $lang->edit->align_right = 'Align Right'; + $lang->edit->align_justify = 'Align Justify'; + $lang->edit->add_indent = 'Indent'; + $lang->edit->remove_indent = 'Outdent'; + $lang->edit->list_number = 'Orderd List'; + $lang->edit->list_bullet = 'Unordered List'; + $lang->edit->remove_format = 'Style Remover'; + + $lang->edit->help_remove_format = 'Supprimer les balises dans l\'endroit sélectionné'; + $lang->edit->help_strike_through = 'Représenter la ligne d\'annulation sur les lettres.'; + $lang->edit->help_align_full = 'Aligner pleinement selon largeur'; + + $lang->edit->help_fontcolor = 'Désigner la couleur de la Police de caractères'; + $lang->edit->help_fontbgcolor = 'Désigner la couleur de l\'arrière-plan de la Police de caractères.'; + $lang->edit->help_bold = 'Caractère gras'; + $lang->edit->help_italic = 'Caractère italique'; + $lang->edit->help_underline = 'Caractère souligné'; + $lang->edit->help_strike = 'Caractère biffé'; + $lang->edit->help_sup = 'Sup'; + $lang->edit->help_sub = 'Sub'; + $lang->edit->help_redo = 'Réfaire'; + $lang->edit->help_undo = 'Annuler'; + $lang->edit->help_align_left = 'Aligner à gauche'; + $lang->edit->help_align_center = 'Aligner centr'; + $lang->edit->help_align_right = 'Aligner droite'; + $lang->edit->help_add_indent = 'Ajouter un Rentré'; + $lang->edit->help_remove_indent = 'Enlever un Rentré'; + $lang->edit->help_list_number = 'Appliquer la liste numroté'; + $lang->edit->help_list_bullet = 'Appliquer la liste à puces'; + $lang->edit->help_use_paragraph = 'Appuyez Ctrl+Enter pour séparer les paragraphe. (Appuyez Alt+S pour conserver)'; + + $lang->edit->url = 'URL'; + $lang->edit->blockquote = 'Blockquote'; + $lang->edit->table = 'Table'; + $lang->edit->image = 'Image'; + $lang->edit->multimedia = 'Movie'; + $lang->edit->emoticon = 'Emoticon'; + + $lang->edit->upload = 'Attacher'; + $lang->edit->upload_file = 'Attacher un(des) Fichier(s)'; + $lang->edit->link_file = 'Insérer dans le Texte'; + $lang->edit->delete_selected = 'Supprimer le Sélectionné'; + + $lang->edit->icon_align_article = 'Occuper un paragraphe'; + $lang->edit->icon_align_left = 'Placer à gauche du texte'; + $lang->edit->icon_align_middle = 'Placer au centre'; + $lang->edit->icon_align_right = 'Placer à droite du texte'; + + $lang->about_dblclick_in_editor = 'Vous pouvez configurer en détail des composants par double-clic sur un arrière-plan, un texte, une image ou une citation'; + + + $lang->edit->rich_editor = '스타일 편집기'; + $lang->edit->html_editor = 'HTML 편집기'; + $lang->edit->extension ='확장 컴포넌트'; + $lang->edit->help = '도움말'; + $lang->edit->help_command = '단축키 안내'; + + $lang->edit->lineheight = '줄간격'; + $lang->edit->fontbgsampletext = '가나다'; + + $lang->edit->hyperlink = '하이퍼링크'; + $lang->edit->target_blank = '새창으로'; + + $lang->edit->quotestyle1 = '왼쪽 실선'; + $lang->edit->quotestyle2 = '인용 부호'; + $lang->edit->quotestyle3 = '실선'; + $lang->edit->quotestyle4 = '실선 + 배경'; + $lang->edit->quotestyle5 = '굵은 실선'; + $lang->edit->quotestyle6 = '점선'; + $lang->edit->quotestyle7 = '점선 + 배경'; + $lang->edit->quotestyle8 = '적용 취소'; + + + $lang->edit->jumptoedit = '편집 도구모음 건너뛰기'; + $lang->edit->set_sel = '칸 수 지정'; + $lang->edit->row = '행'; + $lang->edit->col = '열'; + $lang->edit->add_one_row = '1행추가'; + $lang->edit->del_one_row = '1행삭제'; + $lang->edit->add_one_col = '1열추가'; + $lang->edit->del_one_col = '1열삭제'; + + $lang->edit->table_config = '표 속성 지정'; + $lang->edit->border_width = '테두리 굵기'; + $lang->edit->border_color = '테두리 색'; + $lang->edit->add = '더하기'; + $lang->edit->del = '빼기'; + $lang->edit->search_color = '색상찾기'; + $lang->edit->table_backgroundcolor = '표 배경색'; + $lang->edit->special_character = '특수문자'; + $lang->edit->insert_special_character = '특수문자 삽입'; + $lang->edit->close_special_character = '특수문자 레이어 닫기'; + $lang->edit->symbol = '일반기호'; + $lang->edit->number_unit = '숫자와 단위'; + $lang->edit->circle_bracket = '원,괄호'; + $lang->edit->korean = '한글'; + $lang->edit->greece = '그리스'; + $lang->edit->Latin = '라틴어'; + $lang->edit->japan = '일본어'; + $lang->edit->selected_symbol = '선택한 기호'; + + $lang->edit->search_replace = '찾기/바꾸기'; + $lang->edit->close_search_replace = '찾기/바꾸기 레이어 닫기'; + $lang->edit->replace_all = '모두바꾸기'; + $lang->edit->search_words = '찾을단어'; + $lang->edit->replace_words = '바꿀단어'; + $lang->edit->next_search_words = '다음찾기'; + $lang->edit->edit_height_control = '입력창 크기 조절'; + + $lang->edit->merge_cells = '셀 병합'; + $lang->edit->split_row = '행 분할'; + $lang->edit->split_col = '열 분할'; + + $lang->edit->toggle_list = '목록 접기/펼치기'; + $lang->edit->minimize_list = '최소화'; + + $lang->edit->move = '이동'; + $lang->edit->materials = '글감보관함'; + $lang->edit->temporary_savings = '임시저장목록'; + + $lang->edit->drag_here = '아래의 단락추가 툴바에서 원하는 유형의 단락을 추가해 글 쓰기를 시작하세요.
    글감 보관함에 글이 있으면 이곳으로 끌어 넣기 할 수 있습니다.'; + + $lang->edit->paging_prev = '이전'; + $lang->edit->paging_next = '다음'; + $lang->edit->paging_prev_help = '이전 페이지로 이동합니다.'; + $lang->edit->paging_next_help = '다음 페이지로 이동합니다.'; + + $lang->edit->toc = '목차'; + $lang->edit->close_help = '도움말 닫기'; + + $lang->edit->confirm_submit_without_saving = '저장하지 않은 단락이 있습니다.\\n그냥 전송하시겠습니까?'; +?> diff --git a/modules/editor/lang/jp.lang.php b/modules/editor/lang/jp.lang.php index 8f3b98005..89e026ce8 100644 --- a/modules/editor/lang/jp.lang.php +++ b/modules/editor/lang/jp.lang.php @@ -1,226 +1,231 @@ - 翻訳:RisaPapa、ミニミ - * @brief ウィジウィグエディター(editor)モジュールの基本言語パッケージ - **/ - - $lang->editor = 'ウイジウイグエディター'; - $lang->component_name = 'コンポーネント'; - $lang->component_version = 'バージョン'; - $lang->component_author = '作者'; - $lang->component_link = 'リンク'; - $lang->component_date = '作成日'; - $lang->component_license = 'ライセンス'; - $lang->component_history = '変更履歴'; - $lang->component_description = '説明'; - $lang->component_extra_vars = '設定変数'; - $lang->component_grant = '権限設定'; - $lang->content_style = 'コンテンツスタイル'; - $lang->content_font = 'コンテンツフォント'; - $lang->content_font_size = '문서 폰트 크기'; - - $lang->about_component = 'コンポーネント情報'; - $lang->about_component_grant = '基本コンポーネント以外の拡張コンポーネント機能が利用可能な権限の設定が出来ます。
    (選択なしの場合、誰でも利用可能)'; - $lang->about_component_mid = 'エディターコンポーネントが使われる対象を指定します。
    (選択なしの場合、全ての対象で利用可能)'; - - $lang->msg_component_is_not_founded = '%s エディターのコンポーネントが見つかりません。'; - $lang->msg_component_is_inserted = '選択されたコンポーネントは既に入力されています。'; - $lang->msg_component_is_first_order = '選択されたコンポーネントは最初に位置しています。'; - $lang->msg_component_is_last_order = '選択されたコンポーネントは最後に位置しています。'; - $lang->msg_load_saved_doc = "自動保存された書き込みがあります。復旧しますか?\n書き終わってから登録すると前の自動保存データは削除されます。"; - $lang->msg_auto_saved = '自動保存されました。'; - - $lang->cmd_disable = '未使用'; - $lang->cmd_enable = '使用'; - - $lang->editor_skin = 'エディタースキン'; - $lang->upload_file_grant = 'ファイル添付権限'; - $lang->enable_default_component_grant = '基本コンポーネント使用権限'; - $lang->enable_component_grant = 'コンポーネント使用権限'; - $lang->enable_html_grant = 'HTML編集権限'; - $lang->enable_autosave = '自動保存使用'; - $lang->height_resizable = '高さの調整'; - $lang->editor_height = 'エディターの高さ'; - - $lang->about_editor_skin = 'エディターのスキンの選択が出来ます。'; - $lang->about_content_style = 'コンテンツの編集、および内容表示の際のスタイルを指定します。'; - $lang->about_content_font = 'コンテンツの編集、および内容表示の際のフォントを指定します。
    指定してない場合、ユーザーの設定を従います。
    半角コンマ(,)区切りで複数フォントの登録が出来ます。'; - $lang->about_content_font_size = '문서 편집 및 내용 출력시 원하는 폰트의 크기를 지정할 수 있습니다.
    12px, 1em등 단위까지 포함해서 입력해주세요.'; - $lang->about_upload_file_grant = 'ファイル添付可能な権限の設定が出来ます。(選択なしの場合、誰でも添付が可能)'; - $lang->about_default_component_grant = 'エディターでの基本コンポーネントを使用可能な権限の設定が出来ます。(選択なしの場合、誰でも利用可能)'; - $lang->about_editor_height = 'エディターの基本高さを設定します。'; - $lang->about_editor_height_resizable = 'エディターの高さを変更出来るようにします。'; - $lang->about_enable_html_grant = 'HTML編集権限を設定します。'; - $lang->about_enable_autosave = '書き込みのとき、自動保存機能をオンにします。'; - - $lang->edit->fontname = 'フォント'; - $lang->edit->fontsize = 'フォントサイズ'; - $lang->edit->use_paragraph = '段落機能'; - $lang->edit->fontlist = array( - 'MS PGothic' => 'MS Pゴシック', - 'MS PMincho' => 'MS P明朝', - 'MS UI Gothic' => 'MS UI Gothic', - 'Arial' => 'Arial', - 'Arial Black' => 'Arial Black', - 'Tahoma' => 'Tahoma', - 'Verdana' => 'Verdana', - 'Sans-serif' => 'Sans-serif', - 'Serif' => 'Serif', - 'Monospace' => 'Monospace', - 'Cursive' => 'Cursive', - 'Fantasy' => 'Fantasy', - ); - - $lang->edit->header = '見出し'; - $lang->edit->header_list = array( - 'h1' => '見出し1', - 'h2' => '見出し2', - 'h3' => '見出し3', - 'h4' => '見出し4', - 'h5' => '見出し5', - 'h6' => '見出し6', - ); - - $lang->edit->submit = '送信'; - - $lang->edit->fontcolor = 'テキストの色'; - $lang->edit->fontbgcolor = 'テキストの背景色'; - $lang->edit->bold = '太字'; - $lang->edit->italic = '斜体'; - $lang->edit->underline = '下線'; - $lang->edit->strike = '取り消し線'; - $lang->edit->sup = '上付き文字'; - $lang->edit->sub = '下付き文字'; - $lang->edit->redo = '繰り返し'; - $lang->edit->undo = '元に戻す'; - $lang->edit->align_left = '左揃え'; - $lang->edit->align_center = '中央揃え'; - $lang->edit->align_right = '右揃え'; - $lang->edit->align_justify = '均等割付'; - $lang->edit->add_indent = 'インデント増'; - $lang->edit->remove_indent = 'インデント減'; - $lang->edit->list_number = '番号付リスト'; - $lang->edit->list_bullet = '箇条書き'; - $lang->edit->remove_format = '書式をクリア'; - - $lang->edit->help_remove_format = '選択領域の中のタグを消します。'; - $lang->edit->help_strike_through = 'テキストに取り消し線を表示します。'; - $lang->edit->help_align_full = '左右の余白に合わせて文字列を配置します。'; - - $lang->edit->help_fontcolor = 'テキストの色を指定します。'; - $lang->edit->help_fontbgcolor = 'テキストの背景色を指定します。'; - $lang->edit->help_bold = 'テキストを太字に指定します。'; - $lang->edit->help_italic = 'テキストを斜体にします。'; - $lang->edit->help_underline = 'テキストに下線(アンダーライン)を引きます。'; - $lang->edit->help_strike = '取り消し線を引きます。'; - $lang->edit->help_sup = '上付き文字'; - $lang->edit->help_sub = '下付き文字'; - $lang->edit->help_redo = '繰り返し'; - $lang->edit->help_undo = '元に戻す'; - $lang->edit->help_align_left = 'テキストを左揃えで表示します。'; - $lang->edit->help_align_center = 'テキストを中央揃えで表示します。'; - $lang->edit->help_align_right = 'テキストを右揃えで表示します。'; - $lang->edit->help_add_indent = 'インデントを増やします。'; - $lang->edit->help_remove_indent = 'インデントを減らします。'; - $lang->edit->help_list_number = '番号付リスト'; - $lang->edit->help_list_bullet = '箇条書き'; - $lang->edit->help_use_paragraph = '段落機能を使用する場合は、「Ctrl+Enter」を押します(書き終わった後、「Alt+S」を押すと保存されます)。'; - - $lang->edit->url = 'リンク'; - $lang->edit->blockquote = '引用文'; - $lang->edit->table = '表'; - $lang->edit->image = 'イメージ'; - $lang->edit->multimedia = '動画'; - $lang->edit->emoticon = '絵文字'; - - $lang->edit->upload = '添付'; - $lang->edit->upload_file = 'ファイル添付'; - $lang->edit->link_file = 'テキスト挿入'; - $lang->edit->delete_selected = '選択リスト削除'; - - $lang->edit->icon_align_article = '一段落'; - $lang->edit->icon_align_left = '左揃え'; - $lang->edit->icon_align_middle = '中央揃え'; - $lang->edit->icon_align_right = '右揃え'; - - $lang->about_dblclick_in_editor = '背景、文字、イメージ、引用文の上にカーソルを合わせ、ダブルクリックすると詳細設定出来るコンポーネントを表示します。'; - - $lang->edit->rich_editor = 'ウイジウイグ編集'; - $lang->edit->html_editor = 'HTMLタグ編集'; - $lang->edit->extension ='拡張コンポーネント'; - $lang->edit->help = 'ヘルプ'; - $lang->edit->help_command = 'ショートカット‐キーの説明'; - - $lang->edit->lineheight = '行間'; - $lang->edit->fontbgsampletext = 'あいうえお'; - - $lang->edit->hyperlink = 'ハイパーリンク'; - $lang->edit->target_blank = '別のウィンドウズで'; - - $lang->edit->quotestyle1 = '左側実線'; - $lang->edit->quotestyle2 = '引用記号'; - $lang->edit->quotestyle3 = '実線'; - $lang->edit->quotestyle4 = '実線 + 背景'; - $lang->edit->quotestyle5 = '太い実線'; - $lang->edit->quotestyle6 = '点線'; - $lang->edit->quotestyle7 = '点線 + 背景'; - $lang->edit->quotestyle8 = '適用取り消し'; - - - $lang->edit->jumptoedit = '編集ツール省略'; - $lang->edit->set_sel = 'マス数の指定'; - $lang->edit->row = '行'; - $lang->edit->col = '列'; - $lang->edit->add_one_row = '1行追加'; - $lang->edit->del_one_row = '1行削除'; - $lang->edit->add_one_col = '1列追加'; - $lang->edit->del_one_col = '1列削除'; - - $lang->edit->table_config = 'テーブル属性の設定'; - $lang->edit->border_width = '外枠太さ'; - $lang->edit->border_color = '外枠色'; - $lang->edit->add = '挿入'; - $lang->edit->del = '削除'; - $lang->edit->search_color = 'その他の色'; - $lang->edit->table_backgroundcolor = '表の背景色'; - $lang->edit->special_character = '特殊文字'; - $lang->edit->insert_special_character = '特殊文字挿入'; - $lang->edit->close_special_character = '特殊文字レイヤーを閉じる'; - $lang->edit->symbol = '一般記号'; - $lang->edit->number_unit = '数字と単位'; - $lang->edit->circle_bracket = '円、括弧'; - $lang->edit->korean = '韓国語'; - $lang->edit->greece = 'ギリシャ語'; - $lang->edit->Latin = 'ラテン語'; - $lang->edit->japan = '日本語'; - $lang->edit->selected_symbol = '選択した記号'; - - $lang->edit->search_replace = '検索/置換'; - $lang->edit->close_search_replace = '検索/置換レイヤーを閉じる'; - $lang->edit->replace_all = 'すべて置換'; - $lang->edit->search_words = '検索テキスト'; - $lang->edit->replace_words = '置換テキスト'; - $lang->edit->next_search_words = '次を検索'; - $lang->edit->edit_height_control = '入力サイズ調整'; - - $lang->edit->merge_cells = 'セルの結合'; - $lang->edit->split_row = '行の挿入'; - $lang->edit->split_col = '列の挿入'; - - $lang->edit->toggle_list = 'リストを折りたたむ/展開する'; - $lang->edit->minimize_list = '最小化'; - - $lang->edit->move = '移動'; - $lang->edit->materials = '文面テンプレート保存箱'; - $lang->edit->temporary_savings = '下書きリスト'; - - $lang->edit->drag_here = '下の段落追加ツールバーから、好きなタイプの段落を追加してから書き込みを始めて下さい。
    文面テンプレート保存箱の中からここにドラッグ・アンド・ドロップ出来ます。'; - - $lang->edit->paging_prev = '前へ'; - $lang->edit->paging_next = '次へ'; - $lang->edit->paging_prev_help = '前のページへ移動します。'; - $lang->edit->paging_next_help = '次のページへ移動します。'; - - $lang->edit->toc = 'リスト'; -?> + 翻訳:RisaPapa、ミニミ + * @brief ウィジウィグエディター(editor)モジュールの基本言語パッケージ + **/ + + $lang->editor = 'ウイジウイグエディター'; + $lang->component_name = 'コンポーネント'; + $lang->component_version = 'バージョン'; + $lang->component_author = '作者'; + $lang->component_link = 'リンク'; + $lang->component_date = '作成日'; + $lang->component_license = 'ライセンス'; + $lang->component_history = '変更履歴'; + $lang->component_description = '説明'; + $lang->component_extra_vars = '設定変数'; + $lang->component_grant = '権限設定'; + $lang->content_style = 'コンテンツスタイル'; + $lang->content_font = 'コンテンツフォント'; + $lang->content_font_size = 'コンテンツフォントサイズ'; + + $lang->about_component = 'コンポーネント情報'; + $lang->about_component_grant = '基本コンポーネント以外の拡張コンポーネント機能が利用可能な権限の設定が出来ます。
    (選択なしの場合、誰でも利用可能)'; + $lang->about_component_mid = 'エディターコンポーネントが使われる対象を指定します。
    (選択なしの場合、全ての対象で利用可能)'; + + $lang->msg_component_is_not_founded = '%s エディターのコンポーネントが見つかりません。'; + $lang->msg_component_is_inserted = '選択されたコンポーネントは既に入力されています。'; + $lang->msg_component_is_first_order = '選択されたコンポーネントは最初に位置しています。'; + $lang->msg_component_is_last_order = '選択されたコンポーネントは最後に位置しています。'; + $lang->msg_load_saved_doc = "自動保存された書き込みがあります。復旧しますか?\n書き終わってから登録すると前の自動保存データは削除されます。"; + $lang->msg_auto_saved = '自動保存されました。'; + + $lang->cmd_disable = '未使用'; + $lang->cmd_enable = '使用'; + + $lang->editor_skin = 'エディタースキン'; + $lang->upload_file_grant = 'ファイル添付権限'; + $lang->enable_default_component_grant = '基本コンポーネント使用権限'; + $lang->enable_component_grant = 'コンポーネント使用権限'; + $lang->enable_html_grant = 'HTML編集権限'; + $lang->enable_autosave = '自動保存使用'; + $lang->height_resizable = '高さの調整'; + $lang->editor_height = 'エディターの高さ'; + + $lang->about_editor_skin = 'エディターのスキンの選択が出来ます。'; + $lang->about_content_style = 'コンテンツの編集、および内容表示の際のスタイルを指定します。'; + $lang->about_content_font = 'コンテンツの編集、および内容表示の際のフォントを指定します。
    指定してない場合、ユーザーの設定を従います。
    半角コンマ(,)区切りで複数フォントの登録が出来ます。'; + $lang->about_content_font_size = 'コンテンツの編集、および内容表示の際のフォントサイズを指定します。
    12px、1emなどサイズ単位まで入力して下さい。'; + $lang->about_upload_file_grant = 'ファイル添付可能な権限の設定が出来ます。(選択なしの場合、誰でも添付が可能)'; + $lang->about_default_component_grant = 'エディターでの基本コンポーネントを使用可能な権限の設定が出来ます。(選択なしの場合、誰でも利用可能)'; + $lang->about_editor_height = 'エディターの基本高さを設定します。'; + $lang->about_editor_height_resizable = 'エディターの高さを変更出来るようにします。'; + $lang->about_enable_html_grant = 'HTML編集権限を設定します。'; + $lang->about_enable_autosave = '書き込みのとき、自動保存機能をオンにします。'; + + $lang->edit->fontname = 'フォント'; + $lang->edit->fontsize = 'フォントサイズ'; + $lang->edit->use_paragraph = '段落機能'; + $lang->edit->fontlist = array( + 'MS PGothic' => 'MS Pゴシック', + 'MS PMincho' => 'MS P明朝', + 'MS UI Gothic' => 'MS UI Gothic', + 'Arial' => 'Arial', + 'Arial Black' => 'Arial Black', + 'Tahoma' => 'Tahoma', + 'Verdana' => 'Verdana', + 'Sans-serif' => 'Sans-serif', + 'Serif' => 'Serif', + 'Monospace' => 'Monospace', + 'Cursive' => 'Cursive', + 'Fantasy' => 'Fantasy', + ); + + $lang->edit->header = '見出し'; + $lang->edit->header_list = array( + 'h1' => '見出し1', + 'h2' => '見出し2', + 'h3' => '見出し3', + 'h4' => '見出し4', + 'h5' => '見出し5', + 'h6' => '見出し6', + ); + + $lang->edit->submit = '送信'; + + $lang->edit->fontcolor = 'テキストの色'; + $lang->edit->fontbgcolor = 'テキストの背景色'; + $lang->edit->bold = '太字'; + $lang->edit->italic = '斜体'; + $lang->edit->underline = '下線'; + $lang->edit->strike = '取り消し線'; + $lang->edit->sup = '上付き文字'; + $lang->edit->sub = '下付き文字'; + $lang->edit->redo = '繰り返し'; + $lang->edit->undo = '元に戻す'; + $lang->edit->align_left = '左揃え'; + $lang->edit->align_center = '中央揃え'; + $lang->edit->align_right = '右揃え'; + $lang->edit->align_justify = '均等割付'; + $lang->edit->add_indent = 'インデント増'; + $lang->edit->remove_indent = 'インデント減'; + $lang->edit->list_number = '番号付リスト'; + $lang->edit->list_bullet = '箇条書き'; + $lang->edit->remove_format = '書式をクリア'; + + $lang->edit->help_remove_format = '選択領域の中のタグを消します。'; + $lang->edit->help_strike_through = 'テキストに取り消し線を表示します。'; + $lang->edit->help_align_full = '左右の余白に合わせて文字列を配置します。'; + + $lang->edit->help_fontcolor = 'テキストの色を指定します。'; + $lang->edit->help_fontbgcolor = 'テキストの背景色を指定します。'; + $lang->edit->help_bold = 'テキストを太字に指定します。'; + $lang->edit->help_italic = 'テキストを斜体にします。'; + $lang->edit->help_underline = 'テキストに下線(アンダーライン)を引きます。'; + $lang->edit->help_strike = '取り消し線を引きます。'; + $lang->edit->help_sup = '上付き文字'; + $lang->edit->help_sub = '下付き文字'; + $lang->edit->help_redo = '繰り返し'; + $lang->edit->help_undo = '元に戻す'; + $lang->edit->help_align_left = 'テキストを左揃えで表示します。'; + $lang->edit->help_align_center = 'テキストを中央揃えで表示します。'; + $lang->edit->help_align_right = 'テキストを右揃えで表示します。'; + $lang->edit->help_add_indent = 'インデントを増やします。'; + $lang->edit->help_remove_indent = 'インデントを減らします。'; + $lang->edit->help_list_number = '番号付リスト'; + $lang->edit->help_list_bullet = '箇条書き'; + $lang->edit->help_use_paragraph = '段落機能を使用する場合は、「Ctrl+Enter」を押します(書き終わった後、「Alt+S」を押すと保存されます)。'; + + $lang->edit->url = 'リンク'; + $lang->edit->blockquote = '引用文'; + $lang->edit->table = '表'; + $lang->edit->image = 'イメージ'; + $lang->edit->multimedia = '動画'; + $lang->edit->emoticon = '絵文字'; + + $lang->edit->upload = '添付'; + $lang->edit->upload_file = 'ファイル添付'; + $lang->edit->link_file = 'テキスト挿入'; + $lang->edit->delete_selected = '選択リスト削除'; + + $lang->edit->icon_align_article = '一段落'; + $lang->edit->icon_align_left = '左揃え'; + $lang->edit->icon_align_middle = '中央揃え'; + $lang->edit->icon_align_right = '右揃え'; + + $lang->about_dblclick_in_editor = '背景、文字、イメージ、引用文の上にカーソルを合わせ、ダブルクリックすると詳細設定出来るコンポーネントを表示します。'; + + $lang->edit->rich_editor = 'ウイジウイグ編集'; + $lang->edit->html_editor = 'HTMLタグ編集'; + $lang->edit->extension ='拡張コンポーネント'; + $lang->edit->help = 'ヘルプ'; + $lang->edit->help_command = 'ショートカット‐キーの説明'; + + $lang->edit->lineheight = '行間'; + $lang->edit->fontbgsampletext = 'あいうえお'; + + $lang->edit->hyperlink = 'ハイパーリンク'; + $lang->edit->target_blank = '別のウィンドウズで'; + + $lang->edit->quotestyle1 = '左側実線'; + $lang->edit->quotestyle2 = '引用記号'; + $lang->edit->quotestyle3 = '実線'; + $lang->edit->quotestyle4 = '実線 + 背景'; + $lang->edit->quotestyle5 = '太い実線'; + $lang->edit->quotestyle6 = '点線'; + $lang->edit->quotestyle7 = '点線 + 背景'; + $lang->edit->quotestyle8 = '適用取り消し'; + + + $lang->edit->jumptoedit = '編集ツール省略'; + $lang->edit->set_sel = 'マス数の指定'; + $lang->edit->row = '行'; + $lang->edit->col = '列'; + $lang->edit->add_one_row = '1行追加'; + $lang->edit->del_one_row = '1行削除'; + $lang->edit->add_one_col = '1列追加'; + $lang->edit->del_one_col = '1列削除'; + + $lang->edit->table_config = 'テーブル属性の設定'; + $lang->edit->border_width = '外枠太さ'; + $lang->edit->border_color = '外枠色'; + $lang->edit->add = '挿入'; + $lang->edit->del = '削除'; + $lang->edit->search_color = 'その他の色'; + $lang->edit->table_backgroundcolor = '表の背景色'; + $lang->edit->special_character = '特殊文字'; + $lang->edit->insert_special_character = '特殊文字挿入'; + $lang->edit->close_special_character = '特殊文字レイヤーを閉じる'; + $lang->edit->symbol = '一般記号'; + $lang->edit->number_unit = '数字と単位'; + $lang->edit->circle_bracket = '円、括弧'; + $lang->edit->korean = '韓国語'; + $lang->edit->greece = 'ギリシャ語'; + $lang->edit->Latin = 'ラテン語'; + $lang->edit->japan = '日本語'; + $lang->edit->selected_symbol = '選択した記号'; + + $lang->edit->search_replace = '検索/置換'; + $lang->edit->close_search_replace = '検索/置換レイヤーを閉じる'; + $lang->edit->replace_all = 'すべて置換'; + $lang->edit->search_words = '検索テキスト'; + $lang->edit->replace_words = '置換テキスト'; + $lang->edit->next_search_words = '次を検索'; + $lang->edit->edit_height_control = '入力サイズ調整'; + + $lang->edit->merge_cells = 'セルの結合'; + $lang->edit->split_row = '行の挿入'; + $lang->edit->split_col = '列の挿入'; + + $lang->edit->toggle_list = 'リストを折りたたむ/展開する'; + $lang->edit->minimize_list = '最小化'; + + $lang->edit->move = '移動'; + $lang->edit->refresh = '再読み込み'; + $lang->edit->materials = '資料箱'; + $lang->edit->temporary_savings = '下書きリスト'; + + $lang->edit->drag_here = '下のツールリストから段落のタイプを選んで追加できます。
    マウスでドラッグをすると、右の資料箱からこの枠に文書を追加できます。'; + + + $lang->edit->paging_prev = '前へ'; + $lang->edit->paging_next = '次へ'; + $lang->edit->paging_prev_help = '前のページへ移動します。'; + $lang->edit->paging_next_help = '次のページへ移動します。'; + + $lang->edit->toc = 'リスト'; + $lang->edit->close_help = '도움말 닫기'; + + $lang->edit->confirm_submit_without_saving = '저장하지 않은 단락이 있습니다.\\n그냥 전송하시겠습니까?'; +?> diff --git a/modules/editor/lang/ko.lang.php b/modules/editor/lang/ko.lang.php index 8735b17f6..8f0abe00a 100644 --- a/modules/editor/lang/ko.lang.php +++ b/modules/editor/lang/ko.lang.php @@ -21,14 +21,14 @@ $lang->content_font_size = '문서 폰트 크기'; $lang->about_component = '컴포넌트 소개'; - $lang->about_component_grant = '기본 컴포넌트외의 확장 컴포넌트 기능을 사용할 수 있는 권한을 지정할 수 있습니다.
    (모두 해제시 아무나 사용 가능합니다)'; + $lang->about_component_grant = '기본 컴포넌트외의 확장 컴포넌트 기능을 사용할 수 있는 권한을 지정할 수 있습니다.
    (모두 해제 시 아무나 사용 가능합니다)'; $lang->about_component_mid = '에디터 컴포넌트가 사용될 대상을 지정할 수 있습니다.
    (모두 해제 시 모든 대상에서 사용 가능합니다)'; $lang->msg_component_is_not_founded = '%s 에디터 컴포넌트를 찾을 수 없습니다.'; $lang->msg_component_is_inserted = '선택하신 컴포넌트는 이미 입력되어 있습니다.'; - $lang->msg_component_is_first_order = '선택하신 컴포넌트는 첫번째에 위치하고 있습니다.'; + $lang->msg_component_is_first_order = '선택하신 컴포넌트는 첫 번째에 위치하고 있습니다.'; $lang->msg_component_is_last_order = '선택하신 컴포넌트는 마지막에 위치하고 있습니다.'; - $lang->msg_load_saved_doc = "자동 저장된 글이 있습니다. 복구하시겠습니까?\n글을 다 쓰신 후 저장하시면 자동 저장본은 사라집니다."; + $lang->msg_load_saved_doc = "자동 저장된 글이 있습니다. 복구하시겠습니까?\n글을 다 쓰신 후 저장하시면 자동 저장 본은 사라집니다."; $lang->msg_auto_saved = '자동 저장되었습니다.'; $lang->cmd_disable = '비활성'; @@ -44,15 +44,15 @@ $lang->editor_height = '에디터 높이'; $lang->about_editor_skin = '에디터 스킨을 선택하실 수 있습니다'; - $lang->about_content_style = '문서 편집 및 내용 출력시 원하는 서식을 지정할 수 있습니다'; - $lang->about_content_font = '문서 편집 및 내용 출력시 원하는 폰트를 지정할 수 있습니다.
    지정하지 않으면 사용자 설정에 따르게 됩니다
    ,(콤마)로 여러 폰트를 지정할 수 있습니다.'; - $lang->about_content_font_size = '문서 편집 및 내용 출력시 원하는 폰트의 크기를 지정할 수 있습니다.
    12px, 1em등 단위까지 포함해서 입력해주세요.'; + $lang->about_content_style = '문서 편집 및 내용 출력 시 원하는 서식을 지정할 수 있습니다'; + $lang->about_content_font = '문서 편집 및 내용 출력 시 원하는 폰트를 지정할 수 있습니다.
    지정하지 않으면 사용자 설정에 따르게 됩니다
    ,(콤마)로 여러 폰트를 지정할 수 있습니다.'; + $lang->about_content_font_size = '문서 편집 및 내용 출력 시 원하는 폰트의 크기를 지정할 수 있습니다.
    12px, 1em등 단위까지 포함해서 입력해주세요.'; $lang->about_upload_file_grant = '파일을 첨부할 수 있는 권한을 지정하실 수 있습니다. (모두 해제 시 아무나 첨부 가능합니다)'; $lang->about_default_component_grant = '에디터에서 사용되는 기본 컴포넌트를 사용할 수 있는 권한을 지정할 수 있습니다. (모두 해제 시 아무나 사용 가능합니다)'; $lang->about_editor_height = '에디터의 기본 높이를 지정하실 수 있습니다.'; $lang->about_editor_height_resizable = '에디터의 높이를 직접 변경할 수 있도록 허용합니다.'; $lang->about_enable_html_grant = 'HTML편집 권한을 부여할 수 있습니다.'; - $lang->about_enable_autosave = '글 작성시 자동 저장 기능을 활성화 시킬 수 있습니다.'; + $lang->about_enable_autosave = '글 작성 시 자동 저장 기능을 활성화 시킬 수 있습니다.'; $lang->edit->fontname = '글꼴'; $lang->edit->fontsize = '크기'; @@ -152,11 +152,11 @@ $lang->edit->help = '도움말'; $lang->edit->help_command = '단축키 안내'; - $lang->edit->lineheight = '줄간격'; + $lang->edit->lineheight = '줄 간격'; $lang->edit->fontbgsampletext = '가나다'; $lang->edit->hyperlink = '하이퍼링크'; - $lang->edit->target_blank = '새창으로'; + $lang->edit->target_blank = '새 창으로'; $lang->edit->quotestyle1 = '왼쪽 실선'; $lang->edit->quotestyle2 = '인용 부호'; @@ -172,24 +172,24 @@ $lang->edit->set_sel = '칸 수 지정'; $lang->edit->row = '행'; $lang->edit->col = '열'; - $lang->edit->add_one_row = '1행추가'; - $lang->edit->del_one_row = '1행삭제'; - $lang->edit->add_one_col = '1열추가'; - $lang->edit->del_one_col = '1열삭제'; + $lang->edit->add_one_row = '1행 추가'; + $lang->edit->del_one_row = '1행 삭제'; + $lang->edit->add_one_col = '1열 추가'; + $lang->edit->del_one_col = '1열 삭제'; $lang->edit->table_config = '표 속성 지정'; $lang->edit->border_width = '테두리 굵기'; $lang->edit->border_color = '테두리 색'; $lang->edit->add = '더하기'; $lang->edit->del = '빼기'; - $lang->edit->search_color = '색상찾기'; + $lang->edit->search_color = '색상 찾기'; $lang->edit->table_backgroundcolor = '표 배경색'; $lang->edit->special_character = '특수문자'; $lang->edit->insert_special_character = '특수문자 삽입'; $lang->edit->close_special_character = '특수문자 레이어 닫기'; $lang->edit->symbol = '일반기호'; $lang->edit->number_unit = '숫자와 단위'; - $lang->edit->circle_bracket = '원,괄호'; + $lang->edit->circle_bracket = '원, 괄호'; $lang->edit->korean = '한글'; $lang->edit->greece = '그리스'; $lang->edit->Latin = '라틴어'; @@ -198,10 +198,10 @@ $lang->edit->search_replace = '찾기/바꾸기'; $lang->edit->close_search_replace = '찾기/바꾸기 레이어 닫기'; - $lang->edit->replace_all = '모두바꾸기'; - $lang->edit->search_words = '찾을단어'; - $lang->edit->replace_words = '바꿀단어'; - $lang->edit->next_search_words = '다음찾기'; + $lang->edit->replace_all = '모두 바꾸기'; + $lang->edit->search_words = '찾을 단어'; + $lang->edit->replace_words = '바꿀 단어'; + $lang->edit->next_search_words = '다음 찾기'; $lang->edit->edit_height_control = '입력창 크기 조절'; $lang->edit->merge_cells = '셀 병합'; @@ -212,9 +212,9 @@ $lang->edit->minimize_list = '최소화'; $lang->edit->move = '이동'; - $lang->edit->refresh = '새로고침'; - $lang->edit->materials = '글감보관함'; - $lang->edit->temporary_savings = '임시저장목록'; + $lang->edit->refresh = '새로 고침'; + $lang->edit->materials = '글감 보관함'; + $lang->edit->temporary_savings = '임시 저장 목록'; $lang->edit->drag_here = '아래의 단락추가 툴바에서 원하는 유형의 단락을 추가해 글 쓰기를 시작하세요.
    글감 보관함에 글이 있으면 이곳으로 끌어 넣기 할 수 있습니다.'; @@ -224,4 +224,7 @@ $lang->edit->paging_next_help = '다음 페이지로 이동합니다.'; $lang->edit->toc = '목차'; + $lang->edit->close_help = '도움말 닫기'; + + $lang->edit->confirm_submit_without_saving = '저장하지 않은 단락이 있습니다.\\n그냥 전송하시겠습니까?'; ?> diff --git a/modules/editor/lang/ru.lang.php b/modules/editor/lang/ru.lang.php index 0dfd4c5c2..92f788ec4 100644 --- a/modules/editor/lang/ru.lang.php +++ b/modules/editor/lang/ru.lang.php @@ -1,220 +1,223 @@ - | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467; - * @brief Russian basic language pack - **/ - - $lang->editor = 'WYSIWYG-Редактор'; - $lang->component_name = 'Компонент'; - $lang->component_version = 'Версия'; - $lang->component_author = 'Разработчик'; - $lang->component_link = 'Ссылка'; - $lang->component_date = 'Дата'; - $lang->component_license = 'License'; - $lang->component_history = 'History'; - $lang->component_description = 'Описание'; - $lang->component_extra_vars = 'Экстра перем.'; - $lang->component_grant = 'Настройки прав доступа'; - $lang->content_style = 'Content Style'; - $lang->content_font = 'Content Font'; - $lang->content_font_size = '문서 폰트 크기'; - - $lang->about_component = 'О компоненте'; - $lang->about_component_grant = 'Только выбранным группам позволено использование.
    (Каждый может использовать его, если режим выключен)'; - $lang->about_component_mid = '에디터 컴포넌트가 사용될 대상을 지정할 수 있습니다.
    (모두 해제시 모든 대상에서 사용 가능합니다)'; - - $lang->msg_component_is_not_founded = 'Невозможно найти компонент редактора %s'; - $lang->msg_component_is_inserted = 'Выбранный компонент уже присутствует'; - $lang->msg_component_is_first_order = 'Выбранный компонент находится на первой позиции'; - $lang->msg_component_is_last_order = 'Выбранный компонент находится на последней позиции'; - $lang->msg_load_saved_doc = "Существует автоматически сохраненная статья. Хотите ли Вы ее восстановить?\nАвтоматически сохраненный черновик будет отменен после сохранения текущей статьи"; - $lang->msg_auto_saved = 'Автоматически сохранено'; - - $lang->cmd_disable = 'Неавтивно'; - $lang->cmd_enable = 'Активно'; - - $lang->editor_skin = '에디터 스킨'; - $lang->upload_file_grant = '파일 첨부 권한'; - $lang->enable_default_component_grant = '기본 컴포넌트 사용 권한'; - $lang->enable_component_grant = '컴포넌트 사용 권한'; - $lang->enable_html_grant = 'HTML편집 권한'; - $lang->enable_autosave = '자동저장 사용'; - $lang->height_resizable = '높이 조절 가능'; - $lang->editor_height = '에디터 높이'; - - $lang->about_editor_skin = '에디터 스킨을 선택하실 수 있습니다'; - $lang->about_content_style = '문서 편집 및 내용 출력시 원하는 서식을 지정할 수 있습니다'; - $lang->about_content_font = '문서 편집 및 내용 출력시 원하는 폰트를 지정할 수 있습니다.
    지정하지 않으면 사용자 설정에 따르게 됩니다
    ,(콤마)로 여러 폰트를 지정할 수 있습니다.'; - $lang->about_content_font_size = '문서 편집 및 내용 출력시 원하는 폰트의 크기를 지정할 수 있습니다.
    12px, 1em등 단위까지 포함해서 입력해주세요.'; - $lang->about_upload_file_grant = '파일을 첨부할 수 있는 권한을 지정하실 수 있습니다 (모두 해제시 아무나 첨부 가능합니다)'; - $lang->about_default_component_grant = '에디터에서 사용되는 기본 컴포넌트를 사용할 수 있는 권한을 지정할 수 있습니다. (모두 해제시 아무나 사용 가능합니다)'; - $lang->about_editor_height = '에디터의 기본 높이를 지정하실 수 있습니다'; - $lang->about_editor_height_resizable = '에디터의 높이를 직접 변경할 수 있도록 허용합니다'; - $lang->about_enable_html_grant = 'HTML편집 권한을 부여할 수 있습니다.'; - $lang->about_enable_autosave = '글작성시 자동 저장 기능을 활성화 시킬 수 있습니다'; - - $lang->edit->fontname = 'Шрифт'; - $lang->edit->fontsize = 'Размер'; - $lang->edit->use_paragraph = 'Функции параграфа'; - $lang->edit->fontlist = array( - 'Arial'=>'Arial', - 'Arial Black'=>'Arial Black', - 'Tahoma'=>'Tahoma', - 'Verdana'=>'Verdana', - 'Sans-serif'=>'Sans-serif', - 'Serif'=>'Serif', - 'Monospace'=>'Monospace', - 'Cursive'=>'Cursive', - 'Fantasy'=>'Fantasy', - ); - - $lang->edit->header = 'Стиль'; - $lang->edit->header_list = array( - 'h1' => 'Заголовок 1', - 'h2' => 'Заголовок 2', - 'h3' => 'Заголовок 3', - 'h4' => 'Заголовок 4', - 'h5' => 'Заголовок 5', - 'h6' => 'Заголовок 6', - ); - - $lang->edit->submit = 'Принять'; - - $lang->edit->fontcolor = 'Text Color'; - $lang->edit->fontbgcolor = 'Background Color'; - $lang->edit->bold = 'Bold'; - $lang->edit->italic = 'Italic'; - $lang->edit->underline = 'Underline'; - $lang->edit->strike = 'Strike'; - $lang->edit->sup = 'Sup'; - $lang->edit->sub = 'Sub'; - $lang->edit->redo = 'Re Do'; - $lang->edit->undo = 'Un Do'; - $lang->edit->align_left = 'Align Left'; - $lang->edit->align_center = 'Align Center'; - $lang->edit->align_right = 'Align Right'; - $lang->edit->align_justify = 'Align Justify'; - $lang->edit->add_indent = 'Indent'; - $lang->edit->remove_indent = 'Outdent'; - $lang->edit->list_number = 'Orderd List'; - $lang->edit->list_bullet = 'Unordered List'; - $lang->edit->remove_format = 'Style Remover'; - - $lang->edit->help_fontcolor = 'Выберать цвет шрифта'; - $lang->edit->help_fontbgcolor = 'Выберать цвет фона шрифта'; - $lang->edit->help_bold = 'Сделать шрифт жирным'; - $lang->edit->help_italic = 'Сделать шрифт наклонным'; - $lang->edit->help_underline = 'Сделать шрифт подчеркнутым'; - $lang->edit->help_strike = 'Сделать шрифт зачеркнутым'; - $lang->edit->help_sup = 'Sup'; - $lang->edit->help_sub = 'Sub'; - $lang->edit->help_redo = 'Восстановить отмененное'; - $lang->edit->help_undo = 'Отмена'; - $lang->edit->help_align_left = 'Выровнять по левому краю'; - $lang->edit->help_align_center = 'Выровнять по центру'; - $lang->edit->help_align_right = 'Выровнять по правому краю'; - $lang->edit->help_add_indent = 'Добавить отступ'; - $lang->edit->help_remove_indent = 'Удалить отступ'; - $lang->edit->help_list_number = 'Применить числовой список'; - $lang->edit->help_list_bullet = 'Применить маркированный список'; - $lang->edit->help_use_paragraph = 'Нажмите Ctrl+Enter, чтобы отметить параграф. (Нажмите Alt+S , чтобы сохранить)'; - - $lang->edit->url = 'URL'; - $lang->edit->blockquote = 'Blockquote'; - $lang->edit->table = 'Table'; - $lang->edit->image = 'Image'; - $lang->edit->multimedia = 'Movie'; - $lang->edit->emoticon = 'Emoticon'; - - $lang->edit->upload = 'Вложение'; - $lang->edit->upload_file = 'Вложить'; - $lang->edit->link_file = 'Вставить в содержание'; - $lang->edit->delete_selected = 'Удалить выбранное'; - - $lang->edit->icon_align_article = 'Занять весь параграф'; - $lang->edit->icon_align_left = 'Выровнять по левому краю'; - $lang->edit->icon_align_middle = 'Выровнять по центру'; - $lang->edit->icon_align_right = 'Выровнять по правому краю'; - - $lang->about_dblclick_in_editor = 'Вы можете установить детальную конфигурацию компонента двойным щелчком по фону, тексту, рисункам или цитатам'; - - - $lang->edit->rich_editor = '스타일 편집기'; - $lang->edit->html_editor = 'HTML 편집기'; - $lang->edit->extension ='확장 컴포넌트'; - $lang->edit->help = '도움말'; - $lang->edit->help_command = '단축키 안내'; - - $lang->edit->lineheight = '줄간격'; - $lang->edit->fontbgsampletext = '가나다'; - - $lang->edit->hyperlink = '하이퍼링크'; - $lang->edit->target_blank = '새창으로'; - - $lang->edit->quotestyle1 = '왼쪽 실선'; - $lang->edit->quotestyle2 = '인용 부호'; - $lang->edit->quotestyle3 = '실선'; - $lang->edit->quotestyle4 = '실선 + 배경'; - $lang->edit->quotestyle5 = '굵은 실선'; - $lang->edit->quotestyle6 = '점선'; - $lang->edit->quotestyle7 = '점선 + 배경'; - $lang->edit->quotestyle8 = '적용 취소'; - - - $lang->edit->jumptoedit = '편집 도구모음 건너뛰기'; - $lang->edit->set_sel = '칸 수 지정'; - $lang->edit->row = '행'; - $lang->edit->col = '열'; - $lang->edit->add_one_row = '1행추가'; - $lang->edit->del_one_row = '1행삭제'; - $lang->edit->add_one_col = '1열추가'; - $lang->edit->del_one_col = '1열삭제'; - - $lang->edit->table_config = '표 속성 지정'; - $lang->edit->border_width = '테두리 굵기'; - $lang->edit->border_color = '테두리 색'; - $lang->edit->add = '더하기'; - $lang->edit->del = '빼기'; - $lang->edit->search_color = '색상찾기'; - $lang->edit->table_backgroundcolor = '표 배경색'; - $lang->edit->special_character = '특수문자'; - $lang->edit->insert_special_character = '특수문자 삽입'; - $lang->edit->close_special_character = '특수문자 레이어 닫기'; - $lang->edit->symbol = '일반기호'; - $lang->edit->number_unit = '숫자와 단위'; - $lang->edit->circle_bracket = '원,괄호'; - $lang->edit->korean = '한글'; - $lang->edit->greece = '그리스'; - $lang->edit->Latin = '라틴어'; - $lang->edit->japan = '일본어'; - $lang->edit->selected_symbol = '선택한 기호'; - - $lang->edit->search_replace = '찾기/바꾸기'; - $lang->edit->close_search_replace = '찾기/바꾸기 레이어 닫기'; - $lang->edit->replace_all = '모두바꾸기'; - $lang->edit->search_words = '찾을단어'; - $lang->edit->replace_words = '바꿀단어'; - $lang->edit->next_search_words = '다음찾기'; - $lang->edit->edit_height_control = '입력창 크기 조절'; - - $lang->edit->merge_cells = '셀 병합'; - $lang->edit->split_row = '행 분할'; - $lang->edit->split_col = '열 분할'; - - $lang->edit->toggle_list = '목록 접기/펼치기'; - $lang->edit->minimize_list = '최소화'; - - $lang->edit->move = '이동'; - $lang->edit->materials = '글감보관함'; - $lang->edit->temporary_savings = '임시저장목록'; - - $lang->edit->drag_here = '아래의 단락추가 툴바에서 원하는 유형의 단락을 추가해 글 쓰기를 시작하세요.
    글감 보관함에 글이 있으면 이곳으로 끌어 넣기 할 수 있습니다.'; - - $lang->edit->paging_prev = '이전'; - $lang->edit->paging_next = '다음'; - $lang->edit->paging_prev_help = '이전 페이지로 이동합니다.'; - $lang->edit->paging_next_help = '다음 페이지로 이동합니다.'; - - $lang->edit->toc = '목차'; -?> + | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467; + * @brief Russian basic language pack + **/ + + $lang->editor = 'WYSIWYG-Редактор'; + $lang->component_name = 'Компонент'; + $lang->component_version = 'Версия'; + $lang->component_author = 'Разработчик'; + $lang->component_link = 'Ссылка'; + $lang->component_date = 'Дата'; + $lang->component_license = 'License'; + $lang->component_history = 'History'; + $lang->component_description = 'Описание'; + $lang->component_extra_vars = 'Экстра перем.'; + $lang->component_grant = 'Настройки прав доступа'; + $lang->content_style = 'Content Style'; + $lang->content_font = 'Content Font'; + $lang->content_font_size = '문서 폰트 크기'; + + $lang->about_component = 'О компоненте'; + $lang->about_component_grant = 'Только выбранным группам позволено использование.
    (Каждый может использовать его, если режим выключен)'; + $lang->about_component_mid = '에디터 컴포넌트가 사용될 대상을 지정할 수 있습니다.
    (모두 해제시 모든 대상에서 사용 가능합니다)'; + + $lang->msg_component_is_not_founded = 'Невозможно найти компонент редактора %s'; + $lang->msg_component_is_inserted = 'Выбранный компонент уже присутствует'; + $lang->msg_component_is_first_order = 'Выбранный компонент находится на первой позиции'; + $lang->msg_component_is_last_order = 'Выбранный компонент находится на последней позиции'; + $lang->msg_load_saved_doc = "Существует автоматически сохраненная статья. Хотите ли Вы ее восстановить?\nАвтоматически сохраненный черновик будет отменен после сохранения текущей статьи"; + $lang->msg_auto_saved = 'Автоматически сохранено'; + + $lang->cmd_disable = 'Неавтивно'; + $lang->cmd_enable = 'Активно'; + + $lang->editor_skin = '에디터 스킨'; + $lang->upload_file_grant = '파일 첨부 권한'; + $lang->enable_default_component_grant = '기본 컴포넌트 사용 권한'; + $lang->enable_component_grant = '컴포넌트 사용 권한'; + $lang->enable_html_grant = 'HTML편집 권한'; + $lang->enable_autosave = '자동저장 사용'; + $lang->height_resizable = '높이 조절 가능'; + $lang->editor_height = '에디터 높이'; + + $lang->about_editor_skin = '에디터 스킨을 선택하실 수 있습니다'; + $lang->about_content_style = '문서 편집 및 내용 출력시 원하는 서식을 지정할 수 있습니다'; + $lang->about_content_font = '문서 편집 및 내용 출력시 원하는 폰트를 지정할 수 있습니다.
    지정하지 않으면 사용자 설정에 따르게 됩니다
    ,(콤마)로 여러 폰트를 지정할 수 있습니다.'; + $lang->about_content_font_size = '문서 편집 및 내용 출력시 원하는 폰트의 크기를 지정할 수 있습니다.
    12px, 1em등 단위까지 포함해서 입력해주세요.'; + $lang->about_upload_file_grant = '파일을 첨부할 수 있는 권한을 지정하실 수 있습니다 (모두 해제시 아무나 첨부 가능합니다)'; + $lang->about_default_component_grant = '에디터에서 사용되는 기본 컴포넌트를 사용할 수 있는 권한을 지정할 수 있습니다. (모두 해제시 아무나 사용 가능합니다)'; + $lang->about_editor_height = '에디터의 기본 높이를 지정하실 수 있습니다'; + $lang->about_editor_height_resizable = '에디터의 높이를 직접 변경할 수 있도록 허용합니다'; + $lang->about_enable_html_grant = 'HTML편집 권한을 부여할 수 있습니다.'; + $lang->about_enable_autosave = '글작성시 자동 저장 기능을 활성화 시킬 수 있습니다'; + + $lang->edit->fontname = 'Шрифт'; + $lang->edit->fontsize = 'Размер'; + $lang->edit->use_paragraph = 'Функции параграфа'; + $lang->edit->fontlist = array( + 'Arial'=>'Arial', + 'Arial Black'=>'Arial Black', + 'Tahoma'=>'Tahoma', + 'Verdana'=>'Verdana', + 'Sans-serif'=>'Sans-serif', + 'Serif'=>'Serif', + 'Monospace'=>'Monospace', + 'Cursive'=>'Cursive', + 'Fantasy'=>'Fantasy', + ); + + $lang->edit->header = 'Стиль'; + $lang->edit->header_list = array( + 'h1' => 'Заголовок 1', + 'h2' => 'Заголовок 2', + 'h3' => 'Заголовок 3', + 'h4' => 'Заголовок 4', + 'h5' => 'Заголовок 5', + 'h6' => 'Заголовок 6', + ); + + $lang->edit->submit = 'Принять'; + + $lang->edit->fontcolor = 'Text Color'; + $lang->edit->fontbgcolor = 'Background Color'; + $lang->edit->bold = 'Bold'; + $lang->edit->italic = 'Italic'; + $lang->edit->underline = 'Underline'; + $lang->edit->strike = 'Strike'; + $lang->edit->sup = 'Sup'; + $lang->edit->sub = 'Sub'; + $lang->edit->redo = 'Re Do'; + $lang->edit->undo = 'Un Do'; + $lang->edit->align_left = 'Align Left'; + $lang->edit->align_center = 'Align Center'; + $lang->edit->align_right = 'Align Right'; + $lang->edit->align_justify = 'Align Justify'; + $lang->edit->add_indent = 'Indent'; + $lang->edit->remove_indent = 'Outdent'; + $lang->edit->list_number = 'Orderd List'; + $lang->edit->list_bullet = 'Unordered List'; + $lang->edit->remove_format = 'Style Remover'; + + $lang->edit->help_fontcolor = 'Выберать цвет шрифта'; + $lang->edit->help_fontbgcolor = 'Выберать цвет фона шрифта'; + $lang->edit->help_bold = 'Сделать шрифт жирным'; + $lang->edit->help_italic = 'Сделать шрифт наклонным'; + $lang->edit->help_underline = 'Сделать шрифт подчеркнутым'; + $lang->edit->help_strike = 'Сделать шрифт зачеркнутым'; + $lang->edit->help_sup = 'Sup'; + $lang->edit->help_sub = 'Sub'; + $lang->edit->help_redo = 'Восстановить отмененное'; + $lang->edit->help_undo = 'Отмена'; + $lang->edit->help_align_left = 'Выровнять по левому краю'; + $lang->edit->help_align_center = 'Выровнять по центру'; + $lang->edit->help_align_right = 'Выровнять по правому краю'; + $lang->edit->help_add_indent = 'Добавить отступ'; + $lang->edit->help_remove_indent = 'Удалить отступ'; + $lang->edit->help_list_number = 'Применить числовой список'; + $lang->edit->help_list_bullet = 'Применить маркированный список'; + $lang->edit->help_use_paragraph = 'Нажмите Ctrl+Enter, чтобы отметить параграф. (Нажмите Alt+S , чтобы сохранить)'; + + $lang->edit->url = 'URL'; + $lang->edit->blockquote = 'Blockquote'; + $lang->edit->table = 'Table'; + $lang->edit->image = 'Image'; + $lang->edit->multimedia = 'Movie'; + $lang->edit->emoticon = 'Emoticon'; + + $lang->edit->upload = 'Вложение'; + $lang->edit->upload_file = 'Вложить'; + $lang->edit->link_file = 'Вставить в содержание'; + $lang->edit->delete_selected = 'Удалить выбранное'; + + $lang->edit->icon_align_article = 'Занять весь параграф'; + $lang->edit->icon_align_left = 'Выровнять по левому краю'; + $lang->edit->icon_align_middle = 'Выровнять по центру'; + $lang->edit->icon_align_right = 'Выровнять по правому краю'; + + $lang->about_dblclick_in_editor = 'Вы можете установить детальную конфигурацию компонента двойным щелчком по фону, тексту, рисункам или цитатам'; + + + $lang->edit->rich_editor = '스타일 편집기'; + $lang->edit->html_editor = 'HTML 편집기'; + $lang->edit->extension ='확장 컴포넌트'; + $lang->edit->help = '도움말'; + $lang->edit->help_command = '단축키 안내'; + + $lang->edit->lineheight = '줄간격'; + $lang->edit->fontbgsampletext = '가나다'; + + $lang->edit->hyperlink = '하이퍼링크'; + $lang->edit->target_blank = '새창으로'; + + $lang->edit->quotestyle1 = '왼쪽 실선'; + $lang->edit->quotestyle2 = '인용 부호'; + $lang->edit->quotestyle3 = '실선'; + $lang->edit->quotestyle4 = '실선 + 배경'; + $lang->edit->quotestyle5 = '굵은 실선'; + $lang->edit->quotestyle6 = '점선'; + $lang->edit->quotestyle7 = '점선 + 배경'; + $lang->edit->quotestyle8 = '적용 취소'; + + + $lang->edit->jumptoedit = '편집 도구모음 건너뛰기'; + $lang->edit->set_sel = '칸 수 지정'; + $lang->edit->row = '행'; + $lang->edit->col = '열'; + $lang->edit->add_one_row = '1행추가'; + $lang->edit->del_one_row = '1행삭제'; + $lang->edit->add_one_col = '1열추가'; + $lang->edit->del_one_col = '1열삭제'; + + $lang->edit->table_config = '표 속성 지정'; + $lang->edit->border_width = '테두리 굵기'; + $lang->edit->border_color = '테두리 색'; + $lang->edit->add = '더하기'; + $lang->edit->del = '빼기'; + $lang->edit->search_color = '색상찾기'; + $lang->edit->table_backgroundcolor = '표 배경색'; + $lang->edit->special_character = '특수문자'; + $lang->edit->insert_special_character = '특수문자 삽입'; + $lang->edit->close_special_character = '특수문자 레이어 닫기'; + $lang->edit->symbol = '일반기호'; + $lang->edit->number_unit = '숫자와 단위'; + $lang->edit->circle_bracket = '원,괄호'; + $lang->edit->korean = '한글'; + $lang->edit->greece = '그리스'; + $lang->edit->Latin = '라틴어'; + $lang->edit->japan = '일본어'; + $lang->edit->selected_symbol = '선택한 기호'; + + $lang->edit->search_replace = '찾기/바꾸기'; + $lang->edit->close_search_replace = '찾기/바꾸기 레이어 닫기'; + $lang->edit->replace_all = '모두바꾸기'; + $lang->edit->search_words = '찾을단어'; + $lang->edit->replace_words = '바꿀단어'; + $lang->edit->next_search_words = '다음찾기'; + $lang->edit->edit_height_control = '입력창 크기 조절'; + + $lang->edit->merge_cells = '셀 병합'; + $lang->edit->split_row = '행 분할'; + $lang->edit->split_col = '열 분할'; + + $lang->edit->toggle_list = '목록 접기/펼치기'; + $lang->edit->minimize_list = '최소화'; + + $lang->edit->move = '이동'; + $lang->edit->materials = '글감보관함'; + $lang->edit->temporary_savings = '임시저장목록'; + + $lang->edit->drag_here = '아래의 단락추가 툴바에서 원하는 유형의 단락을 추가해 글 쓰기를 시작하세요.
    글감 보관함에 글이 있으면 이곳으로 끌어 넣기 할 수 있습니다.'; + + $lang->edit->paging_prev = '이전'; + $lang->edit->paging_next = '다음'; + $lang->edit->paging_prev_help = '이전 페이지로 이동합니다.'; + $lang->edit->paging_next_help = '다음 페이지로 이동합니다.'; + + $lang->edit->toc = '목차'; + $lang->edit->close_help = '도움말 닫기'; + + $lang->edit->confirm_submit_without_saving = '저장하지 않은 단락이 있습니다.\\n그냥 전송하시겠습니까?'; +?> diff --git a/modules/editor/lang/vi.lang.php b/modules/editor/lang/vi.lang.php new file mode 100644 index 000000000..cbb20903d --- /dev/null +++ b/modules/editor/lang/vi.lang.php @@ -0,0 +1,229 @@ +editor = 'WYSIWYG toàn diện'; + $lang->component_name = 'Thành phần'; + $lang->component_version = 'Phiên bản'; + $lang->component_author = 'Người phát triển'; + $lang->component_link = 'Link'; + $lang->component_date = 'Ngày'; + $lang->component_license = 'Cấp phép'; + $lang->component_history = 'Cập nhật'; + $lang->component_description = 'Mô tả'; + $lang->component_extra_vars = 'Thông tin bổ xung'; + $lang->component_grant = 'Thiết lập quyền'; + $lang->content_style = 'Kiểu dáng của nội dung'; + $lang->content_font = 'Font chữ của nội dung'; + $lang->content_font_size = 'Cỡ chữ của nội dung'; + + $lang->about_component = 'Thông tin Thành phần'; + $lang->about_component_grant = 'Những nhóm đã chọn sẽ được phép sử dụng Thành phần mở rộng cho biên tập.
    (Để trống nếu bạn muốn tất cả các nhóm đều được phép sử dụng.)'; + $lang->about_component_mid = 'Có thể lựa chọn khu vực sử dụng Thành phần.
    (Nếu để trống là tất cả các khu vực đều có thể sử dụng.)'; + + $lang->msg_component_is_not_founded = 'Không tìm thấy biên tập Thành phần %s'; + $lang->msg_component_is_inserted = 'Đã chèn Thành phần được chọn.'; + $lang->msg_component_is_first_order = 'Lựa chọn Thành phần trước một khu vực.'; + $lang->msg_component_is_last_order = 'Lựa chọn Thành phần sau một khu vực.'; + $lang->msg_load_saved_doc = "Đã có bài viết tự động lưu. Bạn có muốn khôi phục nó không?\nBài viết tự động lưu sẽ tự động hủy sau khi bạn hoàn thành bài viết này và bấm 'Gửi'"; + $lang->msg_auto_saved = 'Đã tự động lưu'; + + $lang->cmd_disable = 'Không hoạt động'; + $lang->cmd_enable = 'Hoạt động'; + + $lang->editor_skin = 'Giao diện gửi bài'; + $lang->upload_file_grant = 'Quyền Upload'; + $lang->enable_default_component_grant = 'Quyền sử dụng Thành phần cơ bản'; + $lang->enable_component_grant = 'Quyền sử dụng Thành phần'; + $lang->enable_html_grant = 'Quyền sử dụng HTML'; + $lang->enable_autosave = 'Tự động lưu'; + $lang->height_resizable = 'Mở rộng chiều cao'; + $lang->editor_height = 'Chiều cao khung viết bài'; + + $lang->about_editor_skin = 'Bạn có thể chọn kiểu gửi bài.'; + $lang->about_content_style = 'Bạn có thể chọn kiểu viết bài hay kiểu hiển thị.'; + $lang->about_content_font = 'Bạn có thể chọn Font chữ để viết và hiển thị trong bài viết.
    Để đặt mặc định chỉ Font chữ bạn hay sử dụng, hãy đặt dấu (,) vào giữa các Font.'; + $lang->about_content_font_size = 'Bạn có thể chọn cỡ chữ để viết bài và hiển thị theo định dạng "px" hoặc "em".'; + $lang->about_upload_file_grant = 'Chọn nhóm được phép Upload File. (Để trống nếu bạn muốn tất cả các nhóm đều có thể Upload.)'; + $lang->about_default_component_grant = 'Chọn nhóm được phép sử dụng Thành phần mặc định. (Để trống nếu bạn muốn tất cả đều có thể sử dụng.)'; + $lang->about_editor_height = 'Bạn có thể đặt chiều cao của khung viết bài.'; + $lang->about_editor_height_resizable = 'Đặt chiều cao có thể thay đổi.'; + $lang->about_enable_html_grant = 'Chọn nhóm được phép sử dụng HTML'; + $lang->about_enable_autosave = 'Bạn có thể đặt chức năng Tự động lưu.'; + + $lang->edit->fontname = 'Kiểu chữ'; + $lang->edit->fontsize = 'Cỡ chữ'; + $lang->edit->use_paragraph = 'Chức năng Paragraph'; + $lang->edit->fontlist = array( + 'Arial'=>'Arial', + 'Arial Black'=>'Arial Black', + 'Tahoma'=>'Tahoma', + 'Verdana'=>'Verdana', + 'Sans-serif'=>'Sans-serif', + 'Serif'=>'Serif', + 'Monospace'=>'Monospace', + 'Cursive'=>'Cursive', + 'Fantasy'=>'Fantasy', + ); + + $lang->edit->header = 'Tiêu đề lớn'; + $lang->edit->header_list = array( + 'h1' => 'Cỡ 1', + 'h2' => 'Cỡ 2', + 'h3' => 'Cỡ 3', + 'h4' => 'Cỡ 4', + 'h5' => 'Cỡ 5', + 'h6' => 'Cỡ 6', + ); + + $lang->edit->submit = 'Gửi bài'; + + $lang->edit->fontcolor = 'Màu chữ'; + $lang->edit->fontbgcolor = 'Màu nền'; + $lang->edit->bold = 'Chữ đậm'; + $lang->edit->italic = 'Chữ nghiêng'; + $lang->edit->underline = 'Chứ gạch chân'; + $lang->edit->strike = 'Chữ gạch giữa'; + $lang->edit->sup = 'Chỉ số trên'; + $lang->edit->sub = 'Chỉ số dưới'; + $lang->edit->redo = 'Phía sau'; + $lang->edit->undo = 'Trở lại'; + $lang->edit->align_left = 'Căn trái'; + $lang->edit->align_center = 'Căn giữa'; + $lang->edit->align_right = 'Căn phải'; + $lang->edit->align_justify = 'Căn đều'; + $lang->edit->add_indent = 'Thụt lề'; + $lang->edit->remove_indent = 'Dàn đều'; + $lang->edit->list_number = 'Thứ tự số'; + $lang->edit->list_bullet = 'Thứ tự chấm'; + $lang->edit->remove_format = 'Xóa định dạng'; + + $lang->edit->help_remove_format = 'Những Tag đã chọn sẽ bị xóa'; + $lang->edit->help_strike_through = 'Đường kẻ sẽ nằm lên chữ'; + $lang->edit->help_align_full = 'Căn trái và phải'; + + $lang->edit->help_fontcolor = 'Màu chữ'; + $lang->edit->help_fontbgcolor = 'Màu nền'; + $lang->edit->help_bold = ' Chữ đậm'; + $lang->edit->help_italic = ' Chữ nghiêng'; + $lang->edit->help_underline = ' Chữ gạch chân'; + $lang->edit->help_strike = ' Chữ gạch giữa'; + $lang->edit->help_sup = 'Chỉ số trên'; + $lang->edit->help_sub = 'Chỉ số dưới'; + $lang->edit->help_redo = 'Tiếp tục'; + $lang->edit->help_undo = 'Trở lại'; + $lang->edit->help_align_left = 'Căn trái'; + $lang->edit->help_align_center = 'Căn giữa'; + $lang->edit->help_align_right = 'Căn phải'; + $lang->edit->help_add_indent = 'Thụt vào'; + $lang->edit->help_remove_indent = 'Giãn ra'; + $lang->edit->help_list_number = 'Thứ tự số'; + $lang->edit->help_list_bullet = 'Thứ tự chấm'; + $lang->edit->help_use_paragraph = 'Bấm "Ctrl+Enter" để sử dụng Paragraph. Bấm phím "Alt+S" để gửi.'; + + $lang->edit->url = 'URL'; + $lang->edit->blockquote = 'Trích dẫn'; + $lang->edit->table = 'Bảng'; + $lang->edit->image = 'Hình ảnh'; + $lang->edit->multimedia = 'Chèn Media'; + $lang->edit->emoticon = 'Diễn tả cảm xúc'; + + $lang->edit->upload = 'Đính kèm'; + $lang->edit->upload_file = 'Đính kèm'; + $lang->edit->link_file = 'Chèn vào bài viết'; + $lang->edit->delete_selected = 'Xóa lựa chọn'; + + $lang->edit->icon_align_article = 'Vị trí trong bài viết'; + $lang->edit->icon_align_left = 'Trái'; + $lang->edit->icon_align_middle = 'Giữa'; + $lang->edit->icon_align_right = 'Phải'; + + $lang->about_dblclick_in_editor = 'Thiết lập khi bấm 2 lần vào nền, Chữ, Hình ảnh hoặc Trích dẫn'; + + + $lang->edit->rich_editor = 'Kiểu trù phú'; + $lang->edit->html_editor = 'Kiểu HTML'; + $lang->edit->extension ='Thành phần mở rộng'; + $lang->edit->help = 'Trợ giúp'; + $lang->edit->help_command = 'Phím nóng'; + + $lang->edit->lineheight = 'Chiều cao dòng'; + $lang->edit->fontbgsampletext = 'ABC'; + + $lang->edit->hyperlink = 'Link liên kết'; + $lang->edit->target_blank = 'Mở trang mới'; + + $lang->edit->quotestyle1 = 'Liền viền trái'; + $lang->edit->quotestyle2 = 'Trích'; + $lang->edit->quotestyle3 = 'Viền liền'; + $lang->edit->quotestyle4 = 'Viền liền+Nền'; + $lang->edit->quotestyle5 = 'Liền đậm'; + $lang->edit->quotestyle6 = 'Viền chấm'; + $lang->edit->quotestyle7 = 'Chấm+Nền'; + $lang->edit->quotestyle8 = 'Loại bỏ'; + + + $lang->edit->jumptoedit = 'Bỏ qua công cụ chỉnh sửa'; + $lang->edit->set_sel = 'Số hàng cột'; + $lang->edit->row = 'Hàng'; + $lang->edit->col = 'Cột'; + $lang->edit->add_one_row = 'Thêm 1 hàng'; + $lang->edit->del_one_row = 'Xóa 1 hàng'; + $lang->edit->add_one_col = 'Thêm một cột'; + $lang->edit->del_one_col = 'Xóa một cột'; + + $lang->edit->table_config = 'Thiết lập viền'; + $lang->edit->border_width = 'Độ rộng'; + $lang->edit->border_color = 'Màu viền'; + $lang->edit->add = 'Thêm'; + $lang->edit->del = 'Xóa'; + $lang->edit->search_color = 'Tìm màu'; + $lang->edit->table_backgroundcolor = 'Màu nền'; + $lang->edit->special_character = 'Kí tự đặc biệt'; + $lang->edit->insert_special_character = 'Chèn kí tự đặc biệt.'; + $lang->edit->close_special_character = 'Tắt bản kí tự đặc biệt.'; + $lang->edit->symbol = 'Biểu tượng'; + $lang->edit->number_unit = 'Số và đơn vị'; + $lang->edit->circle_bracket = 'Vòng tròn, Ngoặc'; + $lang->edit->korean = 'Korean'; + $lang->edit->greece = 'Greek'; + $lang->edit->Latin = 'Latin'; + $lang->edit->japan = 'Japanese'; + $lang->edit->selected_symbol = 'Kí tự đã chọn:'; + + $lang->edit->search_replace = 'Tìm/Ghi đè'; + $lang->edit->close_search_replace = 'Tắt bảng Tìm/Ghi đè'; + $lang->edit->replace_all = 'Ghi đè tất cả'; + $lang->edit->search_words = 'Tìm từ'; + $lang->edit->replace_words = 'Từ ghi đè'; + $lang->edit->next_search_words = 'Tìm tiếp'; + $lang->edit->edit_height_control = 'Đặt kích thước mẫu'; + + $lang->edit->merge_cells = 'Nối bảng'; + $lang->edit->split_row = 'Chia hàng'; + $lang->edit->split_col = 'Chia cột'; + + $lang->edit->toggle_list = 'Hiện/Ẩn'; + $lang->edit->minimize_list = 'Thu nhỏ'; + + $lang->edit->move = 'Di chuyển'; + $lang->edit->materials = 'Vật liệu'; + $lang->edit->temporary_savings = 'Danh sách lưu tạm thời'; + + $lang->edit->drag_here = 'Bạn có thể bắt đầu viết đoạn đã chọn từ đoạn thanh công cụ phía dưới.
    Nếu nó là bài viết đã lưu trong bản nháp, bạn có thể kéo ra và sửa.'; + + $lang->edit->paging_prev = 'Trước'; + $lang->edit->paging_next = 'Tiếp'; + $lang->edit->paging_prev_help = 'Chuyển về trang trước.'; + $lang->edit->paging_next_help = 'Chuyển tới trang tiếp.'; + + $lang->edit->toc = 'Board của nội dung'; + $lang->edit->close_help = '도움말 닫기'; + +$lang->edit->confirm_submit_without_saving = '저장하지 않은 단락이 있습니다.\\n그냥 전송하시겠습니까?'; +?> diff --git a/modules/editor/lang/zh-CN.lang.php b/modules/editor/lang/zh-CN.lang.php index 1c39a264b..f297480ac 100644 --- a/modules/editor/lang/zh-CN.lang.php +++ b/modules/editor/lang/zh-CN.lang.php @@ -1,226 +1,229 @@ - - * @brief 网页编辑器(editor) 模块语言包 - **/ - - $lang->editor = '网页编辑器'; - $lang->component_name = '组件'; - $lang->component_version = '版本'; - $lang->component_author = '作者'; - $lang->component_link = '链接'; - $lang->component_date = '编写日期'; - $lang->component_license = '版权'; - $lang->component_history = '更新日志'; - $lang->component_description = '说明'; - $lang->component_extra_vars = '变数设置'; - $lang->component_grant = '权限设置'; - $lang->content_style = 'Content Style'; - $lang->content_font = 'Content Font'; - $lang->content_font_size = '문서 폰트 크기'; - - $lang->about_component = '组件简介'; - $lang->about_component_grant = '可以设置除默认组件外的扩展组件使用权限
    (全部解除时任何用户都可以使用)。'; - $lang->about_component_mid = '可以指定使用编辑器组件的对象。
    (全部解除时任何用户都可以使用)。'; - - $lang->msg_component_is_not_founded = '找不到%s 组件说明!'; - $lang->msg_component_is_inserted = '您选择的组件已插入!'; - $lang->msg_component_is_first_order = '您选择的组件已到最上端位置!'; - $lang->msg_component_is_last_order = '您选择的组件已到最下端位置!'; - $lang->msg_load_saved_doc = "有自动保存的内容, 确定要恢复吗?\n发布主题后,自动保存的文本将会被删除。"; - $lang->msg_auto_saved = '已自动保存!'; - - $lang->cmd_disable = '非激活'; - $lang->cmd_enable = '激活'; - - $lang->editor_skin = '编辑器皮肤'; - $lang->upload_file_grant = '文件上传权限'; - $lang->enable_default_component_grant = '默认组件使用权限'; - $lang->enable_component_grant = '组件使用权限'; - $lang->enable_html_grant = 'HTML编辑权限'; - $lang->enable_autosave = '内容自动保存'; - $lang->height_resizable = '高度调整'; - $lang->editor_height = '编辑器高度'; - - $lang->about_editor_skin = '可以选择编辑器皮肤。'; - $lang->about_content_style = '문서 편집 및 내용 출력시 원하는 서식을 지정할 수 있습니다'; - $lang->about_content_font = '문서 편집 및 내용 출력시 원하는 폰트를 지정할 수 있습니다.
    지정하지 않으면 사용자 설정에 따르게 됩니다
    ,(콤마)로 여러 폰트를 지정할 수 있습니다.'; - $lang->about_content_font_size = '문서 편집 및 내용 출력시 원하는 폰트의 크기를 지정할 수 있습니다.
    12px, 1em등 단위까지 포함해서 입력해주세요.'; - $lang->about_upload_file_grant = '可以设置上传文件的权限(全部解除为无限制)。'; - $lang->about_default_component_grant = '可以设置编辑器默认组件的使用权限(全部解除为无限制)。'; - $lang->about_editor_height = '可以指定编辑器的默认高度。'; - $lang->about_editor_height_resizable = '允许用户拖动编辑器高度。'; - $lang->about_enable_html_grant = 'HTML代码编辑权限设置。'; - $lang->about_enable_autosave = '发表主题时激活内容自动保存功能。'; - - $lang->edit->fontname = '字体'; - $lang->edit->fontsize = '大小'; - $lang->edit->use_paragraph = '段落功能'; - $lang->edit->fontlist = array( - '宋体'=>'宋体', - '黑体'=>'黑体', - '楷体_GB2312'=>'楷体', - '仿宋_GB2312'=>'仿宋', - '隶书'=>'隶书', - '幼圆'=>'幼圆', - 'Arial'=>'Arial', - 'Arial Black'=>'Arial Black', - 'Tahoma'=>'Tahoma', - 'Verdana'=>'Verdana', - 'Sans-serif'=>'Sans-serif', - 'Serif'=>'Serif', - 'Monospace'=>'Monospace', - 'Cursive'=>'Cursive', - 'Fantasy'=>'Fantasy', - ); - - $lang->edit->header = '样式'; - $lang->edit->header_list = array( - 'h1' => '标题 1', - 'h2' => '标题 2', - 'h3' => '标题 3', - 'h4' => '标题 4', - 'h5' => '标题 5', - 'h6' => '标题 6', - ); - - $lang->edit->submit = '确认'; - - $lang->edit->fontcolor = '文本颜色'; - $lang->edit->fontbgcolor = '背景颜色'; - $lang->edit->bold = '粗体'; - $lang->edit->italic = '斜体'; - $lang->edit->underline = '下划线'; - $lang->edit->strike = '取消线'; - $lang->edit->sup = '上标'; - $lang->edit->sub = '下标'; - $lang->edit->redo = '恢复'; - $lang->edit->undo = '撤销'; - $lang->edit->align_left = '左对齐'; - $lang->edit->align_center = '居中对齐'; - $lang->edit->align_right = '右对齐'; - $lang->edit->align_justify = '两端对齐'; - $lang->edit->add_indent = '增加缩进'; - $lang->edit->remove_indent = '减少缩进'; - $lang->edit->list_number = '有序列表'; - $lang->edit->list_bullet = '无序列表'; - $lang->edit->remove_format = '删除文字格式'; - - $lang->edit->help_fontcolor = '文本颜色'; - $lang->edit->help_fontbgcolor = '背景颜色'; - $lang->edit->help_bold = '粗体'; - $lang->edit->help_italic = '斜体'; - $lang->edit->help_underline = '下划线'; - $lang->edit->help_strike = '取消线'; - $lang->edit->help_sup = '上标'; - $lang->edit->help_sub = '下标'; - $lang->edit->help_redo = '恢复'; - $lang->edit->help_undo = '撤销'; - $lang->edit->help_align_left = '左对齐'; - $lang->edit->help_align_center = '居中对齐'; - $lang->edit->help_align_right = '右对齐'; - $lang->edit->help_add_indent = '增加缩进'; - $lang->edit->help_remove_indent = '减少缩进'; - $lang->edit->help_list_number = '有序列表'; - $lang->edit->help_list_bullet = '无序列表'; - $lang->edit->help_use_paragraph = '分段请按 ctrl+回车. (发表主题快捷键:alt+S)'; - - $lang->edit->url = '插入链接'; - $lang->edit->blockquote = '插入注释框'; - $lang->edit->table = '表格'; - $lang->edit->image = '图片'; - $lang->edit->multimedia = '视频'; - $lang->edit->emoticon = '表情图标'; - - $lang->edit->upload = '上传'; - $lang->edit->upload_file = '上传附件'; - $lang->edit->link_file = '插入附件'; - $lang->edit->delete_selected = '删除所选'; - - $lang->edit->icon_align_article = '占一个段落'; - $lang->edit->icon_align_left = '文本左侧'; - $lang->edit->icon_align_middle = '居中对齐'; - $lang->edit->icon_align_right = '文本右侧'; - - $lang->about_dblclick_in_editor = '双击背景, 文本, 图片, 引用即可对其相关组件进行详细设置。'; - - - $lang->edit->rich_editor = '所见即所得编辑器'; - $lang->edit->html_editor = 'HTML 编辑器'; - $lang->edit->extension ='扩展组建'; - $lang->edit->help = '帮助'; - $lang->edit->help_command = '快捷键说明'; - - $lang->edit->lineheight = '줄간격'; - $lang->edit->fontbgsampletext = '가나다'; - - $lang->edit->hyperlink = '하이퍼링크'; - $lang->edit->target_blank = '새창으로'; - - $lang->edit->quotestyle1 = '왼쪽 실선'; - $lang->edit->quotestyle2 = '인용 부호'; - $lang->edit->quotestyle3 = '실선'; - $lang->edit->quotestyle4 = '실선 + 배경'; - $lang->edit->quotestyle5 = '굵은 실선'; - $lang->edit->quotestyle6 = '점선'; - $lang->edit->quotestyle7 = '점선 + 배경'; - $lang->edit->quotestyle8 = '적용 취소'; - - - $lang->edit->jumptoedit = '편집 도구모음 건너뛰기'; - $lang->edit->set_sel = '칸 수 지정'; - $lang->edit->row = '행'; - $lang->edit->col = '열'; - $lang->edit->add_one_row = '1행추가'; - $lang->edit->del_one_row = '1행삭제'; - $lang->edit->add_one_col = '1열추가'; - $lang->edit->del_one_col = '1열삭제'; - - $lang->edit->table_config = '표 속성 지정'; - $lang->edit->border_width = '테두리 굵기'; - $lang->edit->border_color = '테두리 색'; - $lang->edit->add = '더하기'; - $lang->edit->del = '빼기'; - $lang->edit->search_color = '색상찾기'; - $lang->edit->table_backgroundcolor = '표 배경색'; - $lang->edit->special_character = '특수문자'; - $lang->edit->insert_special_character = '특수문자 삽입'; - $lang->edit->close_special_character = '특수문자 레이어 닫기'; - $lang->edit->symbol = '일반기호'; - $lang->edit->number_unit = '숫자와 단위'; - $lang->edit->circle_bracket = '원,괄호'; - $lang->edit->korean = '한글'; - $lang->edit->greece = '그리스'; - $lang->edit->Latin = '라틴어'; - $lang->edit->japan = '일본어'; - $lang->edit->selected_symbol = '선택한 기호'; - - $lang->edit->search_replace = '찾기/바꾸기'; - $lang->edit->close_search_replace = '찾기/바꾸기 레이어 닫기'; - $lang->edit->replace_all = '모두바꾸기'; - $lang->edit->search_words = '찾을단어'; - $lang->edit->replace_words = '바꿀단어'; - $lang->edit->next_search_words = '다음찾기'; - $lang->edit->edit_height_control = '입력창 크기 조절'; - - $lang->edit->merge_cells = '셀 병합'; - $lang->edit->split_row = '행 분할'; - $lang->edit->split_col = '열 분할'; - - $lang->edit->toggle_list = '목록 접기/펼치기'; - $lang->edit->minimize_list = '최소화'; - - $lang->edit->move = '이동'; - $lang->edit->materials = '글감보관함'; - $lang->edit->temporary_savings = '임시저장목록'; - - $lang->edit->drag_here = '아래의 단락추가 툴바에서 원하는 유형의 단락을 추가해 글 쓰기를 시작하세요.
    글감 보관함에 글이 있으면 이곳으로 끌어 넣기 할 수 있습니다.'; - - $lang->edit->paging_prev = '이전'; - $lang->edit->paging_next = '다음'; - $lang->edit->paging_prev_help = '이전 페이지로 이동합니다.'; - $lang->edit->paging_next_help = '다음 페이지로 이동합니다.'; - - $lang->edit->toc = '목차'; -?> + + * @brief 网页编辑器(editor) 模块语言包 + **/ + + $lang->editor = '网页编辑器'; + $lang->component_name = '组件'; + $lang->component_version = '版本'; + $lang->component_author = '作者'; + $lang->component_link = '链接'; + $lang->component_date = '编写日期'; + $lang->component_license = '版权'; + $lang->component_history = '更新日志'; + $lang->component_description = '说明'; + $lang->component_extra_vars = '变数设置'; + $lang->component_grant = '权限设置'; + $lang->content_style = 'Content Style'; + $lang->content_font = 'Content Font'; + $lang->content_font_size = '문서 폰트 크기'; + + $lang->about_component = '组件简介'; + $lang->about_component_grant = '可以设置除默认组件外的扩展组件使用权限
    (全部解除时任何用户都可以使用)。'; + $lang->about_component_mid = '可以指定使用编辑器组件的对象。
    (全部解除时任何用户都可以使用)。'; + + $lang->msg_component_is_not_founded = '找不到%s 组件说明!'; + $lang->msg_component_is_inserted = '您选择的组件已插入!'; + $lang->msg_component_is_first_order = '您选择的组件已到最上端位置!'; + $lang->msg_component_is_last_order = '您选择的组件已到最下端位置!'; + $lang->msg_load_saved_doc = "有自动保存的内容, 确定要恢复吗?\n发布主题后,自动保存的文本将会被删除。"; + $lang->msg_auto_saved = '已自动保存!'; + + $lang->cmd_disable = '非激活'; + $lang->cmd_enable = '激活'; + + $lang->editor_skin = '编辑器皮肤'; + $lang->upload_file_grant = '文件上传权限'; + $lang->enable_default_component_grant = '默认组件使用权限'; + $lang->enable_component_grant = '组件使用权限'; + $lang->enable_html_grant = 'HTML编辑权限'; + $lang->enable_autosave = '内容自动保存'; + $lang->height_resizable = '高度调整'; + $lang->editor_height = '编辑器高度'; + + $lang->about_editor_skin = '可以选择编辑器皮肤。'; + $lang->about_content_style = '문서 편집 및 내용 출력시 원하는 서식을 지정할 수 있습니다'; + $lang->about_content_font = '문서 편집 및 내용 출력시 원하는 폰트를 지정할 수 있습니다.
    지정하지 않으면 사용자 설정에 따르게 됩니다
    ,(콤마)로 여러 폰트를 지정할 수 있습니다.'; + $lang->about_content_font_size = '문서 편집 및 내용 출력시 원하는 폰트의 크기를 지정할 수 있습니다.
    12px, 1em등 단위까지 포함해서 입력해주세요.'; + $lang->about_upload_file_grant = '可以设置上传文件的权限(全部解除为无限制)。'; + $lang->about_default_component_grant = '可以设置编辑器默认组件的使用权限(全部解除为无限制)。'; + $lang->about_editor_height = '可以指定编辑器的默认高度。'; + $lang->about_editor_height_resizable = '允许用户拖动编辑器高度。'; + $lang->about_enable_html_grant = 'HTML代码编辑权限设置。'; + $lang->about_enable_autosave = '发表主题时激活内容自动保存功能。'; + + $lang->edit->fontname = '字体'; + $lang->edit->fontsize = '大小'; + $lang->edit->use_paragraph = '段落功能'; + $lang->edit->fontlist = array( + '宋体'=>'宋体', + '黑体'=>'黑体', + '楷体_GB2312'=>'楷体', + '仿宋_GB2312'=>'仿宋', + '隶书'=>'隶书', + '幼圆'=>'幼圆', + 'Arial'=>'Arial', + 'Arial Black'=>'Arial Black', + 'Tahoma'=>'Tahoma', + 'Verdana'=>'Verdana', + 'Sans-serif'=>'Sans-serif', + 'Serif'=>'Serif', + 'Monospace'=>'Monospace', + 'Cursive'=>'Cursive', + 'Fantasy'=>'Fantasy', + ); + + $lang->edit->header = '样式'; + $lang->edit->header_list = array( + 'h1' => '标题 1', + 'h2' => '标题 2', + 'h3' => '标题 3', + 'h4' => '标题 4', + 'h5' => '标题 5', + 'h6' => '标题 6', + ); + + $lang->edit->submit = '确认'; + + $lang->edit->fontcolor = '文本颜色'; + $lang->edit->fontbgcolor = '背景颜色'; + $lang->edit->bold = '粗体'; + $lang->edit->italic = '斜体'; + $lang->edit->underline = '下划线'; + $lang->edit->strike = '取消线'; + $lang->edit->sup = '上标'; + $lang->edit->sub = '下标'; + $lang->edit->redo = '恢复'; + $lang->edit->undo = '撤销'; + $lang->edit->align_left = '左对齐'; + $lang->edit->align_center = '居中对齐'; + $lang->edit->align_right = '右对齐'; + $lang->edit->align_justify = '两端对齐'; + $lang->edit->add_indent = '增加缩进'; + $lang->edit->remove_indent = '减少缩进'; + $lang->edit->list_number = '有序列表'; + $lang->edit->list_bullet = '无序列表'; + $lang->edit->remove_format = '删除文字格式'; + + $lang->edit->help_fontcolor = '文本颜色'; + $lang->edit->help_fontbgcolor = '背景颜色'; + $lang->edit->help_bold = '粗体'; + $lang->edit->help_italic = '斜体'; + $lang->edit->help_underline = '下划线'; + $lang->edit->help_strike = '取消线'; + $lang->edit->help_sup = '上标'; + $lang->edit->help_sub = '下标'; + $lang->edit->help_redo = '恢复'; + $lang->edit->help_undo = '撤销'; + $lang->edit->help_align_left = '左对齐'; + $lang->edit->help_align_center = '居中对齐'; + $lang->edit->help_align_right = '右对齐'; + $lang->edit->help_add_indent = '增加缩进'; + $lang->edit->help_remove_indent = '减少缩进'; + $lang->edit->help_list_number = '有序列表'; + $lang->edit->help_list_bullet = '无序列表'; + $lang->edit->help_use_paragraph = '分段请按 ctrl+回车. (发表主题快捷键:alt+S)'; + + $lang->edit->url = '插入链接'; + $lang->edit->blockquote = '插入注释框'; + $lang->edit->table = '表格'; + $lang->edit->image = '图片'; + $lang->edit->multimedia = '视频'; + $lang->edit->emoticon = '表情图标'; + + $lang->edit->upload = '上传'; + $lang->edit->upload_file = '上传附件'; + $lang->edit->link_file = '插入附件'; + $lang->edit->delete_selected = '删除所选'; + + $lang->edit->icon_align_article = '占一个段落'; + $lang->edit->icon_align_left = '文本左侧'; + $lang->edit->icon_align_middle = '居中对齐'; + $lang->edit->icon_align_right = '文本右侧'; + + $lang->about_dblclick_in_editor = '双击背景, 文本, 图片, 引用即可对其相关组件进行详细设置。'; + + + $lang->edit->rich_editor = '所见即所得编辑器'; + $lang->edit->html_editor = 'HTML 编辑器'; + $lang->edit->extension ='扩展组建'; + $lang->edit->help = '帮助'; + $lang->edit->help_command = '快捷键说明'; + + $lang->edit->lineheight = '줄간격'; + $lang->edit->fontbgsampletext = '가나다'; + + $lang->edit->hyperlink = '하이퍼링크'; + $lang->edit->target_blank = '새창으로'; + + $lang->edit->quotestyle1 = '왼쪽 실선'; + $lang->edit->quotestyle2 = '인용 부호'; + $lang->edit->quotestyle3 = '실선'; + $lang->edit->quotestyle4 = '실선 + 배경'; + $lang->edit->quotestyle5 = '굵은 실선'; + $lang->edit->quotestyle6 = '점선'; + $lang->edit->quotestyle7 = '점선 + 배경'; + $lang->edit->quotestyle8 = '적용 취소'; + + + $lang->edit->jumptoedit = '편집 도구모음 건너뛰기'; + $lang->edit->set_sel = '칸 수 지정'; + $lang->edit->row = '행'; + $lang->edit->col = '열'; + $lang->edit->add_one_row = '1행추가'; + $lang->edit->del_one_row = '1행삭제'; + $lang->edit->add_one_col = '1열추가'; + $lang->edit->del_one_col = '1열삭제'; + + $lang->edit->table_config = '표 속성 지정'; + $lang->edit->border_width = '테두리 굵기'; + $lang->edit->border_color = '테두리 색'; + $lang->edit->add = '더하기'; + $lang->edit->del = '빼기'; + $lang->edit->search_color = '색상찾기'; + $lang->edit->table_backgroundcolor = '표 배경색'; + $lang->edit->special_character = '특수문자'; + $lang->edit->insert_special_character = '특수문자 삽입'; + $lang->edit->close_special_character = '특수문자 레이어 닫기'; + $lang->edit->symbol = '일반기호'; + $lang->edit->number_unit = '숫자와 단위'; + $lang->edit->circle_bracket = '원,괄호'; + $lang->edit->korean = '한글'; + $lang->edit->greece = '그리스'; + $lang->edit->Latin = '라틴어'; + $lang->edit->japan = '일본어'; + $lang->edit->selected_symbol = '선택한 기호'; + + $lang->edit->search_replace = '찾기/바꾸기'; + $lang->edit->close_search_replace = '찾기/바꾸기 레이어 닫기'; + $lang->edit->replace_all = '모두바꾸기'; + $lang->edit->search_words = '찾을단어'; + $lang->edit->replace_words = '바꿀단어'; + $lang->edit->next_search_words = '다음찾기'; + $lang->edit->edit_height_control = '입력창 크기 조절'; + + $lang->edit->merge_cells = '셀 병합'; + $lang->edit->split_row = '행 분할'; + $lang->edit->split_col = '열 분할'; + + $lang->edit->toggle_list = '목록 접기/펼치기'; + $lang->edit->minimize_list = '최소화'; + + $lang->edit->move = '이동'; + $lang->edit->materials = '글감보관함'; + $lang->edit->temporary_savings = '임시저장목록'; + + $lang->edit->drag_here = '아래의 단락추가 툴바에서 원하는 유형의 단락을 추가해 글 쓰기를 시작하세요.
    글감 보관함에 글이 있으면 이곳으로 끌어 넣기 할 수 있습니다.'; + + $lang->edit->paging_prev = '이전'; + $lang->edit->paging_next = '다음'; + $lang->edit->paging_prev_help = '이전 페이지로 이동합니다.'; + $lang->edit->paging_next_help = '다음 페이지로 이동합니다.'; + + $lang->edit->toc = '목차'; + $lang->edit->close_help = '도움말 닫기'; + + $lang->edit->confirm_submit_without_saving = '저장하지 않은 단락이 있습니다.\\n그냥 전송하시겠습니까?'; +?> diff --git a/modules/editor/lang/zh-TW.lang.php b/modules/editor/lang/zh-TW.lang.php index 1045a8549..15e02595f 100644 --- a/modules/editor/lang/zh-TW.lang.php +++ b/modules/editor/lang/zh-TW.lang.php @@ -1,227 +1,230 @@ - 翻譯:royallin - * @brief 網頁編輯器(editor)模組正體中文語言 - **/ - - $lang->editor = '網頁編輯器'; - $lang->component_name = '組件'; - $lang->component_version = '版本'; - $lang->component_author = '作者'; - $lang->component_link = '連結'; - $lang->component_date = '編寫日期'; - $lang->component_license = '版權'; - $lang->component_history = '更新紀錄'; - $lang->component_description = '說明'; - $lang->component_extra_vars = '變數設置'; - $lang->component_grant = '權限設置'; - $lang->content_style = '內容樣式'; - $lang->content_font = '內容字體'; - $lang->content_font_size = '문서 폰트 크기'; - - $lang->about_component = '組件簡介'; - $lang->about_component_grant = '除預設組件外,可設置延伸組件的使用權限
    (全部解除時,任何用戶都可使用)。'; - $lang->about_component_mid = '可以指定使用編輯器組件的對象。
    (全部解除時,任何用戶都可使用)。'; - - $lang->msg_component_is_not_founded = '找不到%s 組件說明!'; - $lang->msg_component_is_inserted = '您選擇的組件已插入!'; - $lang->msg_component_is_first_order = '您選擇的組件已達最頂端位置!'; - $lang->msg_component_is_last_order = '您選擇的組件已達最底端位置!'; - $lang->msg_load_saved_doc = "有自動儲存的內容,確定要恢復嗎?\n儲存內容後,自動儲存的內容將會被刪除。"; - $lang->msg_auto_saved = '已自動儲存!'; - - $lang->cmd_disable = '暫停'; - $lang->cmd_enable = '啟動'; - - $lang->editor_skin = '編輯器面板'; - $lang->upload_file_grant = '檔案上傳權限'; - $lang->enable_default_component_grant = '預設組件使用權限'; - $lang->enable_component_grant = '組件使用權限'; - $lang->enable_html_grant = 'HTML編輯權限'; - $lang->enable_autosave = '內容自動儲存'; - $lang->height_resizable = '高度調整'; - $lang->editor_height = '編輯器高度'; - - $lang->about_editor_skin = '選擇編輯器面板。'; - $lang->about_content_style = '문서 편집 및 내용 출력시 원하는 서식을 지정할 수 있습니다'; - $lang->about_content_font = '문서 편집 및 내용 출력시 원하는 폰트를 지정할 수 있습니다.
    지정하지 않으면 사용자 설정에 따르게 됩니다
    ,(콤마)로 여러 폰트를 지정할 수 있습니다.'; - $lang->about_content_font_size = '문서 편집 및 내용 출력시 원하는 폰트의 크기를 지정할 수 있습니다.
    12px, 1em등 단위까지 포함해서 입력해주세요.'; - $lang->about_upload_file_grant = '設置上傳檔案的權限(全部解除為無限制)。'; - $lang->about_default_component_grant = '設置編輯器預設組件的使用權限(全部解除為無限制)。'; - $lang->about_editor_height = '指定編輯器的預設高度。'; - $lang->about_editor_height_resizable = '允許用戶拖曳編輯器高度。'; - $lang->about_enable_html_grant = 'HTML原始碼編輯權限設置。'; - $lang->about_enable_autosave = '發表主題時,開啟內容自動儲存功能。'; - - $lang->edit->fontname = '字體'; - $lang->edit->fontsize = '大小'; - $lang->edit->use_paragraph = '段落功能'; - $lang->edit->fontlist = array( - '新細明體'=>'新細明體', - '標楷體'=>'標楷體', - '細明體'=>'細明體', - 'Arial'=>'Arial', - 'Arial Black'=>'Arial Black', - 'Tahoma'=>'Tahoma', - 'Verdana'=>'Verdana', - 'Sans-serif'=>'Sans-serif', - 'Serif'=>'Serif', - 'Monospace'=>'Monospace', - 'Cursive'=>'Cursive', - 'Fantasy'=>'Fantasy', - ); - - $lang->edit->header = '樣式'; - $lang->edit->header_list = array( - 'h1' => '標題 1', - 'h2' => '標題 2', - 'h3' => '標題 3', - 'h4' => '標題 4', - 'h5' => '標題 5', - 'h6' => '標題 6', - ); - - $lang->edit->submit = '確認'; - - $lang->edit->fontcolor = '文字顏色'; - $lang->edit->fontbgcolor = '背景顏色'; - $lang->edit->bold = '粗體'; - $lang->edit->italic = '斜體'; - $lang->edit->underline = '底線'; - $lang->edit->strike = '虛線'; - $lang->edit->sup = '上標'; - $lang->edit->sub = '下標'; - $lang->edit->redo = '重新操作'; - $lang->edit->undo = '返回操作'; - $lang->edit->align_left = '靠左對齊'; - $lang->edit->align_center = '置中對齊'; - $lang->edit->align_right = '靠右對齊'; - $lang->edit->align_justify = '左右對齊'; - $lang->edit->add_indent = '縮排'; - $lang->edit->remove_indent = '凸排'; - $lang->edit->list_number = '編號'; - $lang->edit->list_bullet = '清單符號'; - $lang->edit->remove_format = '移除格式'; - - $lang->edit->help_remove_format = '移除格式'; - $lang->edit->help_strike_through = '文字刪除線'; - $lang->edit->help_align_full = '左右對齊'; - - $lang->edit->help_fontcolor = '文字顏色'; - $lang->edit->help_fontbgcolor = '背景顏色'; - $lang->edit->help_bold = '粗體'; - $lang->edit->help_italic = '斜體'; - $lang->edit->help_underline = '底線'; - $lang->edit->help_strike = '虛線'; - $lang->edit->help_sup = '上標'; - $lang->edit->help_sub = '下標'; - $lang->edit->help_redo = '重新操作'; - $lang->edit->help_undo = '返回操作'; - $lang->edit->help_align_left = '靠左對齊'; - $lang->edit->help_align_center = '置中對齊'; - $lang->edit->help_align_right = '靠右對齊'; - $lang->edit->help_add_indent = '縮排'; - $lang->edit->help_remove_indent = '凸排'; - $lang->edit->help_list_number = '編號'; - $lang->edit->help_list_bullet = '清單符號'; - $lang->edit->help_use_paragraph = '換行請按 Ctrl+Backspace (快速發表主題:Alt+S)'; - - $lang->edit->url = '連結'; - $lang->edit->blockquote = '引用'; - $lang->edit->table = '表格'; - $lang->edit->image = '圖片'; - $lang->edit->multimedia = '影片'; - $lang->edit->emoticon = '表情符號'; - - $lang->edit->upload = '上傳'; - $lang->edit->upload_file = '上傳附檔'; - $lang->edit->link_file = '插入檔案'; - $lang->edit->delete_selected = '刪除所選'; - - $lang->edit->icon_align_article = '段落'; - $lang->edit->icon_align_left = '靠左'; - $lang->edit->icon_align_middle = '置中'; - $lang->edit->icon_align_right = '靠右'; - - $lang->about_dblclick_in_editor = '對背景,文字,圖片,引用等組件按兩下,即可對其相關組件進行詳細設置。'; - - - $lang->edit->rich_editor = '所見即得'; - $lang->edit->html_editor = 'HTML'; - $lang->edit->extension ='延伸組件'; - $lang->edit->help = '使用說明'; - $lang->edit->help_command = '熱鍵指引'; - - $lang->edit->lineheight = '行距'; - $lang->edit->fontbgsampletext = 'ㄅㄆㄇ'; - - $lang->edit->hyperlink = '超連結'; - $lang->edit->target_blank = '新視窗'; - - $lang->edit->quotestyle1 = '左側實線'; - $lang->edit->quotestyle2 = '引用符號'; - $lang->edit->quotestyle3 = '實線'; - $lang->edit->quotestyle4 = '實線 + 背景'; - $lang->edit->quotestyle5 = '粗框'; - $lang->edit->quotestyle6 = '虛線'; - $lang->edit->quotestyle7 = '虛線 + 背景'; - $lang->edit->quotestyle8 = '取消'; - - - $lang->edit->jumptoedit = '跳過編輯工具列'; - $lang->edit->set_sel = '表格'; - $lang->edit->row = '行'; - $lang->edit->col = '列'; - $lang->edit->add_one_row = '新增一行'; - $lang->edit->del_one_row = '刪除一行'; - $lang->edit->add_one_col = '新增一列'; - $lang->edit->del_one_col = '刪除一列'; - - $lang->edit->table_config = '設置'; - $lang->edit->border_width = '邊框寬度'; - $lang->edit->border_color = '邊框顏色'; - $lang->edit->add = '新增'; - $lang->edit->del = '刪除'; - $lang->edit->search_color = '其他顏色'; - $lang->edit->table_backgroundcolor = '背景顏色'; - $lang->edit->special_character = '特殊符號'; - $lang->edit->insert_special_character = '插入特殊符號'; - $lang->edit->close_special_character = '關閉'; - $lang->edit->symbol = '一般符號'; - $lang->edit->number_unit = '數字、單位'; - $lang->edit->circle_bracket = '圓、括弧'; - $lang->edit->korean = '韓國語'; - $lang->edit->greece = '希臘語'; - $lang->edit->Latin = '拉丁語'; - $lang->edit->japan = '日本語'; - $lang->edit->selected_symbol = '選擇符號'; - - $lang->edit->search_replace = '搜尋/置換'; - $lang->edit->close_search_replace = '關閉搜尋/置換圖層'; - $lang->edit->replace_all = '全部置換'; - $lang->edit->search_words = '搜尋文字'; - $lang->edit->replace_words = '置換文字'; - $lang->edit->next_search_words = '搜尋下一個'; - $lang->edit->edit_height_control = '設定大小'; - - $lang->edit->merge_cells = '分割儲存格'; - $lang->edit->split_row = '插入行'; - $lang->edit->split_col = '插入列'; - - $lang->edit->toggle_list = '목록 접기/펼치기'; - $lang->edit->minimize_list = '최소화'; - - $lang->edit->move = '이동'; - $lang->edit->materials = '글감보관함'; - $lang->edit->temporary_savings = '임시저장목록'; - - $lang->edit->drag_here = '아래의 단락추가 툴바에서 원하는 유형의 단락을 추가해 글 쓰기를 시작하세요.
    글감 보관함에 글이 있으면 이곳으로 끌어 넣기 할 수 있습니다.'; - - $lang->edit->paging_prev = '이전'; - $lang->edit->paging_next = '다음'; - $lang->edit->paging_prev_help = '이전 페이지로 이동합니다.'; - $lang->edit->paging_next_help = '다음 페이지로 이동합니다.'; - - $lang->edit->toc = '목차'; -?> + 翻譯:royallin + * @brief 網頁編輯器(editor)模組正體中文語言 + **/ + + $lang->editor = '網頁編輯器'; + $lang->component_name = '組件'; + $lang->component_version = '版本'; + $lang->component_author = '作者'; + $lang->component_link = '連結'; + $lang->component_date = '編寫日期'; + $lang->component_license = '版權'; + $lang->component_history = '更新紀錄'; + $lang->component_description = '說明'; + $lang->component_extra_vars = '變數設置'; + $lang->component_grant = '權限設置'; + $lang->content_style = '內容樣式'; + $lang->content_font = '內容字體'; + $lang->content_font_size = '문서 폰트 크기'; + + $lang->about_component = '組件簡介'; + $lang->about_component_grant = '除預設組件外,可設置延伸組件的使用權限
    (全部解除時,任何用戶都可使用)。'; + $lang->about_component_mid = '可以指定使用編輯器組件的對象。
    (全部解除時,任何用戶都可使用)。'; + + $lang->msg_component_is_not_founded = '找不到%s 組件說明!'; + $lang->msg_component_is_inserted = '您選擇的組件已插入!'; + $lang->msg_component_is_first_order = '您選擇的組件已達最頂端位置!'; + $lang->msg_component_is_last_order = '您選擇的組件已達最底端位置!'; + $lang->msg_load_saved_doc = "有自動儲存的內容,確定要恢復嗎?\n儲存內容後,自動儲存的內容將會被刪除。"; + $lang->msg_auto_saved = '已自動儲存!'; + + $lang->cmd_disable = '暫停'; + $lang->cmd_enable = '啟動'; + + $lang->editor_skin = '編輯器面板'; + $lang->upload_file_grant = '檔案上傳權限'; + $lang->enable_default_component_grant = '預設組件使用權限'; + $lang->enable_component_grant = '組件使用權限'; + $lang->enable_html_grant = 'HTML編輯權限'; + $lang->enable_autosave = '內容自動儲存'; + $lang->height_resizable = '高度調整'; + $lang->editor_height = '編輯器高度'; + + $lang->about_editor_skin = '選擇編輯器面板。'; + $lang->about_content_style = '문서 편집 및 내용 출력시 원하는 서식을 지정할 수 있습니다'; + $lang->about_content_font = '문서 편집 및 내용 출력시 원하는 폰트를 지정할 수 있습니다.
    지정하지 않으면 사용자 설정에 따르게 됩니다
    ,(콤마)로 여러 폰트를 지정할 수 있습니다.'; + $lang->about_content_font_size = '문서 편집 및 내용 출력시 원하는 폰트의 크기를 지정할 수 있습니다.
    12px, 1em등 단위까지 포함해서 입력해주세요.'; + $lang->about_upload_file_grant = '設置上傳檔案的權限(全部解除為無限制)。'; + $lang->about_default_component_grant = '設置編輯器預設組件的使用權限(全部解除為無限制)。'; + $lang->about_editor_height = '指定編輯器的預設高度。'; + $lang->about_editor_height_resizable = '允許用戶拖曳編輯器高度。'; + $lang->about_enable_html_grant = 'HTML原始碼編輯權限設置。'; + $lang->about_enable_autosave = '發表主題時,開啟內容自動儲存功能。'; + + $lang->edit->fontname = '字體'; + $lang->edit->fontsize = '大小'; + $lang->edit->use_paragraph = '段落功能'; + $lang->edit->fontlist = array( + '新細明體'=>'新細明體', + '標楷體'=>'標楷體', + '細明體'=>'細明體', + 'Arial'=>'Arial', + 'Arial Black'=>'Arial Black', + 'Tahoma'=>'Tahoma', + 'Verdana'=>'Verdana', + 'Sans-serif'=>'Sans-serif', + 'Serif'=>'Serif', + 'Monospace'=>'Monospace', + 'Cursive'=>'Cursive', + 'Fantasy'=>'Fantasy', + ); + + $lang->edit->header = '樣式'; + $lang->edit->header_list = array( + 'h1' => '標題 1', + 'h2' => '標題 2', + 'h3' => '標題 3', + 'h4' => '標題 4', + 'h5' => '標題 5', + 'h6' => '標題 6', + ); + + $lang->edit->submit = '確認'; + + $lang->edit->fontcolor = '文字顏色'; + $lang->edit->fontbgcolor = '背景顏色'; + $lang->edit->bold = '粗體'; + $lang->edit->italic = '斜體'; + $lang->edit->underline = '底線'; + $lang->edit->strike = '虛線'; + $lang->edit->sup = '上標'; + $lang->edit->sub = '下標'; + $lang->edit->redo = '重新操作'; + $lang->edit->undo = '返回操作'; + $lang->edit->align_left = '靠左對齊'; + $lang->edit->align_center = '置中對齊'; + $lang->edit->align_right = '靠右對齊'; + $lang->edit->align_justify = '左右對齊'; + $lang->edit->add_indent = '縮排'; + $lang->edit->remove_indent = '凸排'; + $lang->edit->list_number = '編號'; + $lang->edit->list_bullet = '清單符號'; + $lang->edit->remove_format = '移除格式'; + + $lang->edit->help_remove_format = '移除格式'; + $lang->edit->help_strike_through = '文字刪除線'; + $lang->edit->help_align_full = '左右對齊'; + + $lang->edit->help_fontcolor = '文字顏色'; + $lang->edit->help_fontbgcolor = '背景顏色'; + $lang->edit->help_bold = '粗體'; + $lang->edit->help_italic = '斜體'; + $lang->edit->help_underline = '底線'; + $lang->edit->help_strike = '虛線'; + $lang->edit->help_sup = '上標'; + $lang->edit->help_sub = '下標'; + $lang->edit->help_redo = '重新操作'; + $lang->edit->help_undo = '返回操作'; + $lang->edit->help_align_left = '靠左對齊'; + $lang->edit->help_align_center = '置中對齊'; + $lang->edit->help_align_right = '靠右對齊'; + $lang->edit->help_add_indent = '縮排'; + $lang->edit->help_remove_indent = '凸排'; + $lang->edit->help_list_number = '編號'; + $lang->edit->help_list_bullet = '清單符號'; + $lang->edit->help_use_paragraph = '換行請按 Ctrl+Backspace (快速發表主題:Alt+S)'; + + $lang->edit->url = '連結'; + $lang->edit->blockquote = '引用'; + $lang->edit->table = '表格'; + $lang->edit->image = '圖片'; + $lang->edit->multimedia = '影片'; + $lang->edit->emoticon = '表情符號'; + + $lang->edit->upload = '上傳'; + $lang->edit->upload_file = '上傳附檔'; + $lang->edit->link_file = '插入檔案'; + $lang->edit->delete_selected = '刪除所選'; + + $lang->edit->icon_align_article = '段落'; + $lang->edit->icon_align_left = '靠左'; + $lang->edit->icon_align_middle = '置中'; + $lang->edit->icon_align_right = '靠右'; + + $lang->about_dblclick_in_editor = '對背景,文字,圖片,引用等組件按兩下,即可對其相關組件進行詳細設置。'; + + + $lang->edit->rich_editor = '所見即得'; + $lang->edit->html_editor = 'HTML'; + $lang->edit->extension ='延伸組件'; + $lang->edit->help = '使用說明'; + $lang->edit->help_command = '熱鍵指引'; + + $lang->edit->lineheight = '行距'; + $lang->edit->fontbgsampletext = 'ㄅㄆㄇ'; + + $lang->edit->hyperlink = '超連結'; + $lang->edit->target_blank = '新視窗'; + + $lang->edit->quotestyle1 = '左側實線'; + $lang->edit->quotestyle2 = '引用符號'; + $lang->edit->quotestyle3 = '實線'; + $lang->edit->quotestyle4 = '實線 + 背景'; + $lang->edit->quotestyle5 = '粗框'; + $lang->edit->quotestyle6 = '虛線'; + $lang->edit->quotestyle7 = '虛線 + 背景'; + $lang->edit->quotestyle8 = '取消'; + + + $lang->edit->jumptoedit = '跳過編輯工具列'; + $lang->edit->set_sel = '表格'; + $lang->edit->row = '行'; + $lang->edit->col = '列'; + $lang->edit->add_one_row = '新增一行'; + $lang->edit->del_one_row = '刪除一行'; + $lang->edit->add_one_col = '新增一列'; + $lang->edit->del_one_col = '刪除一列'; + + $lang->edit->table_config = '設置'; + $lang->edit->border_width = '邊框寬度'; + $lang->edit->border_color = '邊框顏色'; + $lang->edit->add = '新增'; + $lang->edit->del = '刪除'; + $lang->edit->search_color = '其他顏色'; + $lang->edit->table_backgroundcolor = '背景顏色'; + $lang->edit->special_character = '特殊符號'; + $lang->edit->insert_special_character = '插入特殊符號'; + $lang->edit->close_special_character = '關閉'; + $lang->edit->symbol = '一般符號'; + $lang->edit->number_unit = '數字、單位'; + $lang->edit->circle_bracket = '圓、括弧'; + $lang->edit->korean = '韓國語'; + $lang->edit->greece = '希臘語'; + $lang->edit->Latin = '拉丁語'; + $lang->edit->japan = '日本語'; + $lang->edit->selected_symbol = '選擇符號'; + + $lang->edit->search_replace = '搜尋/置換'; + $lang->edit->close_search_replace = '關閉搜尋/置換圖層'; + $lang->edit->replace_all = '全部置換'; + $lang->edit->search_words = '搜尋文字'; + $lang->edit->replace_words = '置換文字'; + $lang->edit->next_search_words = '搜尋下一個'; + $lang->edit->edit_height_control = '設定大小'; + + $lang->edit->merge_cells = '分割儲存格'; + $lang->edit->split_row = '插入行'; + $lang->edit->split_col = '插入列'; + + $lang->edit->toggle_list = '목록 접기/펼치기'; + $lang->edit->minimize_list = '최소화'; + + $lang->edit->move = '이동'; + $lang->edit->materials = '글감보관함'; + $lang->edit->temporary_savings = '임시저장목록'; + + $lang->edit->drag_here = '아래의 단락추가 툴바에서 원하는 유형의 단락을 추가해 글 쓰기를 시작하세요.
    글감 보관함에 글이 있으면 이곳으로 끌어 넣기 할 수 있습니다.'; + + $lang->edit->paging_prev = '이전'; + $lang->edit->paging_next = '다음'; + $lang->edit->paging_prev_help = '이전 페이지로 이동합니다.'; + $lang->edit->paging_next_help = '다음 페이지로 이동합니다.'; + + $lang->edit->toc = '목차'; + $lang->edit->close_help = '도움말 닫기'; + + $lang->edit->confirm_submit_without_saving = '저장하지 않은 단락이 있습니다.\\n그냥 전송하시겠습니까?'; +?> diff --git a/modules/editor/skins/fckeditor/editor.css b/modules/editor/skins/fckeditor/editor.css deleted file mode 100644 index 11f50514d..000000000 --- a/modules/editor/skins/fckeditor/editor.css +++ /dev/null @@ -1,15 +0,0 @@ -@charset "utf-8"; -.xeEditor p.editor_autosaved_message { display:none; margin:0; padding:5px 2px; text-align:right; color:#666; font-size:10px; } -.fileUploader{ clear:both; padding-top:5px; margin-bottom:10px;} -.fileUploader:after{ content:""; display:block; clear:both;} -.fileUploader .preview{ float:left; width:64px; height:64px; border:1px solid #ccc;; padding:2px; margin:0 10px 5px 0;} -.fileUploader .preview.black { background-color:#000; border:1px solid #666;} -.fileUploader .preview img{ display:block; width:64px; height:64px;} -.fileUploader .fileListArea{ float:left; width:260px; margin:0 10px 5px 0;} -.fileUploader .fileListArea select{ width:100%; height:70px; overflow:auto;} -.fileUploader .fileListArea select option{ font-size:11px;} -.fileUploader .fileListArea.black select { background-color:#000; border:1px solid #666;} -.fileUploader .fileListArea.black select option { color:#aaa; } -.fileUploader .fileUploadControl{ clear:right;} -.fileUploader .fileUploadControl .button{ margin-bottom:5px;} -.fileUploader .file_attach_info{ clear:right; margin:5px 0;} diff --git a/modules/editor/skins/fckeditor/editor.html b/modules/editor/skins/fckeditor/editor.html deleted file mode 100644 index 8f54e812d..000000000 --- a/modules/editor/skins/fckeditor/editor.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - -
    - -

     

    - - - - - - - - - - - - - - - - - - -
    -
    -
    - -
    -
    - - - -
    -
    {$upload_status}
    -
    - -
    diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckcontextmenu.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckcontextmenu.js deleted file mode 100644 index 1575c49f0..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckcontextmenu.js +++ /dev/null @@ -1,223 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * FCKContextMenu Class: renders an control a context menu. - */ - -var FCKContextMenu = function( parentWindow, langDir ) -{ - this.CtrlDisable = false ; - - var oPanel = this._Panel = new FCKPanel( parentWindow ) ; - oPanel.AppendStyleSheet( FCKConfig.SkinEditorCSS ) ; - oPanel.IsContextMenu = true ; - - // The FCKTools.DisableSelection doesn't seems to work to avoid dragging of the icons in Mozilla - // so we stop the start of the dragging - if ( FCKBrowserInfo.IsGecko ) - oPanel.Document.addEventListener( 'draggesture', function(e) {e.preventDefault(); return false;}, true ) ; - - var oMenuBlock = this._MenuBlock = new FCKMenuBlock() ; - oMenuBlock.Panel = oPanel ; - oMenuBlock.OnClick = FCKTools.CreateEventListener( FCKContextMenu_MenuBlock_OnClick, this ) ; - - this._Redraw = true ; -} - - -FCKContextMenu.prototype.SetMouseClickWindow = function( mouseClickWindow ) -{ - if ( !FCKBrowserInfo.IsIE ) - { - this._Document = mouseClickWindow.document ; - if ( FCKBrowserInfo.IsOpera && !( 'oncontextmenu' in document.createElement('foo') ) ) - { - this._Document.addEventListener( 'mousedown', FCKContextMenu_Document_OnMouseDown, false ) ; - this._Document.addEventListener( 'mouseup', FCKContextMenu_Document_OnMouseUp, false ) ; - } - this._Document.addEventListener( 'contextmenu', FCKContextMenu_Document_OnContextMenu, false ) ; - } -} - -/** - The customData parameter is just a value that will be send to the command that is executed, - so it's possible to reuse the same command for several items just by assigning different data for each one. -*/ -FCKContextMenu.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) -{ - var oItem = this._MenuBlock.AddItem( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) ; - this._Redraw = true ; - return oItem ; -} - -FCKContextMenu.prototype.AddSeparator = function() -{ - this._MenuBlock.AddSeparator() ; - this._Redraw = true ; -} - -FCKContextMenu.prototype.RemoveAllItems = function() -{ - this._MenuBlock.RemoveAllItems() ; - this._Redraw = true ; -} - -FCKContextMenu.prototype.AttachToElement = function( element ) -{ - if ( FCKBrowserInfo.IsIE ) - FCKTools.AddEventListenerEx( element, 'contextmenu', FCKContextMenu_AttachedElement_OnContextMenu, this ) ; - else - element._FCKContextMenu = this ; -} - -function FCKContextMenu_Document_OnContextMenu( e ) -{ - if ( FCKConfig.BrowserContextMenu ) - return true ; - - var el = e.target ; - - while ( el ) - { - if ( el._FCKContextMenu ) - { - if ( el._FCKContextMenu.CtrlDisable && ( e.ctrlKey || e.metaKey ) ) - return true ; - - FCKTools.CancelEvent( e ) ; - FCKContextMenu_AttachedElement_OnContextMenu( e, el._FCKContextMenu, el ) ; - return false ; - } - el = el.parentNode ; - } - return true ; -} - -var FCKContextMenu_OverrideButton ; - -function FCKContextMenu_Document_OnMouseDown( e ) -{ - if( !e || e.button != 2 ) - return false ; - - if ( FCKConfig.BrowserContextMenu ) - return true ; - - var el = e.target ; - - while ( el ) - { - if ( el._FCKContextMenu ) - { - if ( el._FCKContextMenu.CtrlDisable && ( e.ctrlKey || e.metaKey ) ) - return true ; - - var overrideButton = FCKContextMenu_OverrideButton ; - if( !overrideButton ) - { - var doc = FCKTools.GetElementDocument( e.target ) ; - overrideButton = FCKContextMenu_OverrideButton = doc.createElement('input') ; - overrideButton.type = 'button' ; - var buttonHolder = doc.createElement('p') ; - doc.body.appendChild( buttonHolder ) ; - buttonHolder.appendChild( overrideButton ) ; - } - - overrideButton.style.cssText = 'position:absolute;top:' + ( e.clientY - 2 ) + - 'px;left:' + ( e.clientX - 2 ) + - 'px;width:5px;height:5px;opacity:0.01' ; - } - el = el.parentNode ; - } - return false ; -} - -function FCKContextMenu_Document_OnMouseUp( e ) -{ - if ( FCKConfig.BrowserContextMenu ) - return true ; - - var overrideButton = FCKContextMenu_OverrideButton ; - - if ( overrideButton ) - { - var parent = overrideButton.parentNode ; - parent.parentNode.removeChild( parent ) ; - FCKContextMenu_OverrideButton = undefined ; - - if( e && e.button == 2 ) - { - FCKContextMenu_Document_OnContextMenu( e ) ; - return false ; - } - } - return true ; -} - -function FCKContextMenu_AttachedElement_OnContextMenu( ev, fckContextMenu, el ) -{ - if ( ( fckContextMenu.CtrlDisable && ( ev.ctrlKey || ev.metaKey ) ) || FCKConfig.BrowserContextMenu ) - return true ; - - var eTarget = el || this ; - - if ( fckContextMenu.OnBeforeOpen ) - fckContextMenu.OnBeforeOpen.call( fckContextMenu, eTarget ) ; - - if ( fckContextMenu._MenuBlock.Count() == 0 ) - return false ; - - if ( fckContextMenu._Redraw ) - { - fckContextMenu._MenuBlock.Create( fckContextMenu._Panel.MainNode ) ; - fckContextMenu._Redraw = false ; - } - - // This will avoid that the content of the context menu can be dragged in IE - // as the content of the panel is recreated we need to do it every time - FCKTools.DisableSelection( fckContextMenu._Panel.Document.body ) ; - - var x = 0 ; - var y = 0 ; - if ( FCKBrowserInfo.IsIE ) - { - x = ev.screenX ; - y = ev.screenY ; - } - else if ( FCKBrowserInfo.IsSafari ) - { - x = ev.clientX ; - y = ev.clientY ; - } - else - { - x = ev.pageX ; - y = ev.pageY ; - } - fckContextMenu._Panel.Show( x, y, ev.currentTarget || null ) ; - - return false ; -} - -function FCKContextMenu_MenuBlock_OnClick( menuItem, contextMenu ) -{ - contextMenu._Panel.Hide() ; - FCKTools.RunFunction( contextMenu.OnItemClick, contextMenu, menuItem ) ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckdataprocessor.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckdataprocessor.js deleted file mode 100644 index c8726c570..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckdataprocessor.js +++ /dev/null @@ -1,119 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * The Data Processor is responsible for transforming the input and output data - * in the editor. For more info: - * http://dev.fckeditor.net/wiki/Components/DataProcessor - * - * The default implementation offers the base XHTML compatibility features of - * FCKeditor. Further Data Processors may be implemented for other purposes. - * - */ - -var FCKDataProcessor = function() -{} - -FCKDataProcessor.prototype = -{ - /* - * Returns a string representing the HTML format of "data". The returned - * value will be loaded in the editor. - * The HTML must be from to , including , and - * eventually the DOCTYPE. - * Note: HTML comments may already be part of the data because of the - * pre-processing made with ProtectedSource. - * @param {String} data The data to be converted in the - * DataProcessor specific format. - */ - ConvertToHtml : function( data ) - { - // The default data processor must handle two different cases depending - // on the FullPage setting. Custom Data Processors will not be - // compatible with FullPage, much probably. - if ( FCKConfig.FullPage ) - { - // Save the DOCTYPE. - FCK.DocTypeDeclaration = data.match( FCKRegexLib.DocTypeTag ) ; - - // Check if the tag is available. - if ( !FCKRegexLib.HasBodyTag.test( data ) ) - data = '' + data + '' ; - - // Check if the tag is available. - if ( !FCKRegexLib.HtmlOpener.test( data ) ) - data = '' + data + '' ; - - // Check if the tag is available. - if ( !FCKRegexLib.HeadOpener.test( data ) ) - data = data.replace( FCKRegexLib.HtmlOpener, '$&' ) ; - - return data ; - } - else - { - var html = - FCKConfig.DocType + - ' 0 && !FCKRegexLib.Html4DocType.test( FCKConfig.DocType ) ) - html += ' style="overflow-y: scroll"' ; - - html += '>' + - '' + - data + - '' ; - - return html ; - } - }, - - /* - * Converts a DOM (sub-)tree to a string in the data format. - * @param {Object} rootNode The node that contains the DOM tree to be - * converted to the data format. - * @param {Boolean} excludeRoot Indicates that the root node must not - * be included in the conversion, only its children. - * @param {Boolean} format Indicates that the data must be formatted - * for human reading. Not all Data Processors may provide it. - */ - ConvertToDataFormat : function( rootNode, excludeRoot, ignoreIfEmptyParagraph, format ) - { - var data = FCKXHtml.GetXHTML( rootNode, !excludeRoot, format ) ; - - if ( ignoreIfEmptyParagraph && FCKRegexLib.EmptyOutParagraph.test( data ) ) - return '' ; - - return data ; - }, - - /* - * Makes any necessary changes to a piece of HTML for insertion in the - * editor selection position. - * @param {String} html The HTML to be fixed. - */ - FixHtml : function( html ) - { - return html ; - } -} ; diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js deleted file mode 100644 index 992ec386b..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js +++ /dev/null @@ -1,53 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This is a generic Document Fragment object. It is not intended to provide - * the W3C implementation, but is a way to fix the missing of a real Document - * Fragment in IE (where document.createDocumentFragment() returns a normal - * document instead), giving a standard interface for it. - * (IE Implementation) - */ - -var FCKDocumentFragment = function( parentDocument, baseDocFrag ) -{ - this.RootNode = baseDocFrag || parentDocument.createDocumentFragment() ; -} - -FCKDocumentFragment.prototype = -{ - - // Append the contents of this Document Fragment to another element. - AppendTo : function( targetNode ) - { - targetNode.appendChild( this.RootNode ) ; - }, - - AppendHtml : function( html ) - { - var eTmpDiv = this.RootNode.ownerDocument.createElement( 'div' ) ; - eTmpDiv.innerHTML = html ; - FCKDomTools.MoveChildren( eTmpDiv, this.RootNode ) ; - }, - - InsertAfterNode : function( existingNode ) - { - FCKDomTools.InsertAfterNode( existingNode, this.RootNode ) ; - } -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js deleted file mode 100644 index 4a50cf441..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js +++ /dev/null @@ -1,58 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This is a generic Document Fragment object. It is not intended to provide - * the W3C implementation, but is a way to fix the missing of a real Document - * Fragment in IE (where document.createDocumentFragment() returns a normal - * document instead), giving a standard interface for it. - * (IE Implementation) - */ - -var FCKDocumentFragment = function( parentDocument ) -{ - this._Document = parentDocument ; - this.RootNode = parentDocument.createElement( 'div' ) ; -} - -// Append the contents of this Document Fragment to another node. -FCKDocumentFragment.prototype = -{ - - AppendTo : function( targetNode ) - { - FCKDomTools.MoveChildren( this.RootNode, targetNode ) ; - }, - - AppendHtml : function( html ) - { - var eTmpDiv = this._Document.createElement( 'div' ) ; - eTmpDiv.innerHTML = html ; - FCKDomTools.MoveChildren( eTmpDiv, this.RootNode ) ; - }, - - InsertAfterNode : function( existingNode ) - { - var eRoot = this.RootNode ; - var eLast ; - - while( ( eLast = eRoot.lastChild ) ) - FCKDomTools.InsertAfterNode( existingNode, eRoot.removeChild( eLast ) ) ; - } -} ; diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckdomrange.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckdomrange.js deleted file mode 100644 index 7e032da40..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckdomrange.js +++ /dev/null @@ -1,935 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Class for working with a selection range, much like the W3C DOM Range, but - * it is not intended to be an implementation of the W3C interface. - */ - -var FCKDomRange = function( sourceWindow ) -{ - this.Window = sourceWindow ; - this._Cache = {} ; -} - -FCKDomRange.prototype = -{ - - _UpdateElementInfo : function() - { - var innerRange = this._Range ; - - if ( !innerRange ) - this.Release( true ) ; - else - { - // For text nodes, the node itself is the StartNode. - var eStart = innerRange.startContainer ; - - var oElementPath = new FCKElementPath( eStart ) ; - this.StartNode = eStart.nodeType == 3 ? eStart : eStart.childNodes[ innerRange.startOffset ] ; - this.StartContainer = eStart ; - this.StartBlock = oElementPath.Block ; - this.StartBlockLimit = oElementPath.BlockLimit ; - - if ( innerRange.collapsed ) - { - this.EndNode = this.StartNode ; - this.EndContainer = this.StartContainer ; - this.EndBlock = this.StartBlock ; - this.EndBlockLimit = this.StartBlockLimit ; - } - else - { - var eEnd = innerRange.endContainer ; - - if ( eStart != eEnd ) - oElementPath = new FCKElementPath( eEnd ) ; - - // The innerRange.endContainer[ innerRange.endOffset ] is not - // usually part of the range, but the marker for the range end. So, - // let's get the previous available node as the real end. - var eEndNode = eEnd ; - if ( innerRange.endOffset == 0 ) - { - while ( eEndNode && !eEndNode.previousSibling ) - eEndNode = eEndNode.parentNode ; - - if ( eEndNode ) - eEndNode = eEndNode.previousSibling ; - } - else if ( eEndNode.nodeType == 1 ) - eEndNode = eEndNode.childNodes[ innerRange.endOffset - 1 ] ; - - this.EndNode = eEndNode ; - this.EndContainer = eEnd ; - this.EndBlock = oElementPath.Block ; - this.EndBlockLimit = oElementPath.BlockLimit ; - } - } - - this._Cache = {} ; - }, - - CreateRange : function() - { - return new FCKW3CRange( this.Window.document ) ; - }, - - DeleteContents : function() - { - if ( this._Range ) - { - this._Range.deleteContents() ; - this._UpdateElementInfo() ; - } - }, - - ExtractContents : function() - { - if ( this._Range ) - { - var docFrag = this._Range.extractContents() ; - this._UpdateElementInfo() ; - return docFrag ; - } - return null ; - }, - - CheckIsCollapsed : function() - { - if ( this._Range ) - return this._Range.collapsed ; - - return false ; - }, - - Collapse : function( toStart ) - { - if ( this._Range ) - this._Range.collapse( toStart ) ; - - this._UpdateElementInfo() ; - }, - - Clone : function() - { - var oClone = FCKTools.CloneObject( this ) ; - - if ( this._Range ) - oClone._Range = this._Range.cloneRange() ; - - return oClone ; - }, - - MoveToNodeContents : function( targetNode ) - { - if ( !this._Range ) - this._Range = this.CreateRange() ; - - this._Range.selectNodeContents( targetNode ) ; - - this._UpdateElementInfo() ; - }, - - MoveToElementStart : function( targetElement ) - { - this.SetStart(targetElement,1) ; - this.SetEnd(targetElement,1) ; - }, - - // Moves to the first editing point inside a element. For example, in a - // element tree like "

    Text

    ", the start editing point - // is "

    ^ Text

    " (inside ). - MoveToElementEditStart : function( targetElement ) - { - var editableElement ; - - while ( targetElement && targetElement.nodeType == 1 ) - { - if ( FCKDomTools.CheckIsEditable( targetElement ) ) - editableElement = targetElement ; - else if ( editableElement ) - break ; // If we already found an editable element, stop the loop. - - targetElement = targetElement.firstChild ; - } - - if ( editableElement ) - this.MoveToElementStart( editableElement ) ; - }, - - InsertNode : function( node ) - { - if ( this._Range ) - this._Range.insertNode( node ) ; - }, - - CheckIsEmpty : function() - { - if ( this.CheckIsCollapsed() ) - return true ; - - // Inserts the contents of the range in a div tag. - var eToolDiv = this.Window.document.createElement( 'div' ) ; - this._Range.cloneContents().AppendTo( eToolDiv ) ; - - FCKDomTools.TrimNode( eToolDiv ) ; - - return ( eToolDiv.innerHTML.length == 0 ) ; - }, - - /** - * Checks if the start boundary of the current range is "visually" (like a - * selection caret) at the beginning of the block. It means that some - * things could be brefore the range, like spaces or empty inline elements, - * but it would still be considered at the beginning of the block. - */ - CheckStartOfBlock : function() - { - var cache = this._Cache ; - var bIsStartOfBlock = cache.IsStartOfBlock ; - - if ( bIsStartOfBlock != undefined ) - return bIsStartOfBlock ; - - // Take the block reference. - var block = this.StartBlock || this.StartBlockLimit ; - - var container = this._Range.startContainer ; - var offset = this._Range.startOffset ; - var currentNode ; - - if ( offset > 0 ) - { - // First, check the start container. If it is a text node, get the - // substring of the node value before the range offset. - if ( container.nodeType == 3 ) - { - var textValue = container.nodeValue.substr( 0, offset ).Trim() ; - - // If we have some text left in the container, we are not at - // the end for the block. - if ( textValue.length != 0 ) - return cache.IsStartOfBlock = false ; - } - else - currentNode = container.childNodes[ offset - 1 ] ; - } - - // We'll not have a currentNode if the container was a text node, or - // the offset is zero. - if ( !currentNode ) - currentNode = FCKDomTools.GetPreviousSourceNode( container, true, null, block ) ; - - while ( currentNode ) - { - switch ( currentNode.nodeType ) - { - case 1 : - // It's not an inline element. - if ( !FCKListsLib.InlineChildReqElements[ currentNode.nodeName.toLowerCase() ] ) - return cache.IsStartOfBlock = false ; - - break ; - - case 3 : - // It's a text node with real text. - if ( currentNode.nodeValue.Trim().length > 0 ) - return cache.IsStartOfBlock = false ; - } - - currentNode = FCKDomTools.GetPreviousSourceNode( currentNode, false, null, block ) ; - } - - return cache.IsStartOfBlock = true ; - }, - - /** - * Checks if the end boundary of the current range is "visually" (like a - * selection caret) at the end of the block. It means that some things - * could be after the range, like spaces, empty inline elements, or a - * single
    , but it would still be considered at the end of the block. - */ - CheckEndOfBlock : function( refreshSelection ) - { - var isEndOfBlock = this._Cache.IsEndOfBlock ; - - if ( isEndOfBlock != undefined ) - return isEndOfBlock ; - - // Take the block reference. - var block = this.EndBlock || this.EndBlockLimit ; - - var container = this._Range.endContainer ; - var offset = this._Range.endOffset ; - var currentNode ; - - // First, check the end container. If it is a text node, get the - // substring of the node value after the range offset. - if ( container.nodeType == 3 ) - { - var textValue = container.nodeValue ; - if ( offset < textValue.length ) - { - textValue = textValue.substr( offset ) ; - - // If we have some text left in the container, we are not at - // the end for the block. - if ( textValue.Trim().length != 0 ) - return this._Cache.IsEndOfBlock = false ; - } - } - else - currentNode = container.childNodes[ offset ] ; - - // We'll not have a currentNode if the container was a text node, of - // the offset is out the container children limits (after it probably). - if ( !currentNode ) - currentNode = FCKDomTools.GetNextSourceNode( container, true, null, block ) ; - - var hadBr = false ; - - while ( currentNode ) - { - switch ( currentNode.nodeType ) - { - case 1 : - var nodeName = currentNode.nodeName.toLowerCase() ; - - // It's an inline element. - if ( FCKListsLib.InlineChildReqElements[ nodeName ] ) - break ; - - // It is the first
    found. - if ( nodeName == 'br' && !hadBr ) - { - hadBr = true ; - break ; - } - - return this._Cache.IsEndOfBlock = false ; - - case 3 : - // It's a text node with real text. - if ( currentNode.nodeValue.Trim().length > 0 ) - return this._Cache.IsEndOfBlock = false ; - } - - currentNode = FCKDomTools.GetNextSourceNode( currentNode, false, null, block ) ; - } - - if ( refreshSelection ) - this.Select() ; - - return this._Cache.IsEndOfBlock = true ; - }, - - // This is an "intrusive" way to create a bookmark. It includes tags - // in the range boundaries. The advantage of it is that it is possible to - // handle DOM mutations when moving back to the bookmark. - // Attention: the inclusion of nodes in the DOM is a design choice and - // should not be changed as there are other points in the code that may be - // using those nodes to perform operations. See GetBookmarkNode. - // For performance, includeNodes=true if intended to SelectBookmark. - CreateBookmark : function( includeNodes ) - { - // Create the bookmark info (random IDs). - var oBookmark = - { - StartId : (new Date()).valueOf() + Math.floor(Math.random()*1000) + 'S', - EndId : (new Date()).valueOf() + Math.floor(Math.random()*1000) + 'E' - } ; - - var oDoc = this.Window.document ; - var eStartSpan ; - var eEndSpan ; - var oClone ; - - // For collapsed ranges, add just the start marker. - if ( !this.CheckIsCollapsed() ) - { - eEndSpan = oDoc.createElement( 'span' ) ; - eEndSpan.style.display = 'none' ; - eEndSpan.id = oBookmark.EndId ; - eEndSpan.setAttribute( '_fck_bookmark', true ) ; - - // For IE, it must have something inside, otherwise it may be - // removed during DOM operations. -// if ( FCKBrowserInfo.IsIE ) - eEndSpan.innerHTML = ' ' ; - - oClone = this.Clone() ; - oClone.Collapse( false ) ; - oClone.InsertNode( eEndSpan ) ; - } - - eStartSpan = oDoc.createElement( 'span' ) ; - eStartSpan.style.display = 'none' ; - eStartSpan.id = oBookmark.StartId ; - eStartSpan.setAttribute( '_fck_bookmark', true ) ; - - // For IE, it must have something inside, otherwise it may be removed - // during DOM operations. -// if ( FCKBrowserInfo.IsIE ) - eStartSpan.innerHTML = ' ' ; - - oClone = this.Clone() ; - oClone.Collapse( true ) ; - oClone.InsertNode( eStartSpan ) ; - - if ( includeNodes ) - { - oBookmark.StartNode = eStartSpan ; - oBookmark.EndNode = eEndSpan ; - } - - // Update the range position. - if ( eEndSpan ) - { - this.SetStart( eStartSpan, 4 ) ; - this.SetEnd( eEndSpan, 3 ) ; - } - else - this.MoveToPosition( eStartSpan, 4 ) ; - - return oBookmark ; - }, - - // This one should be a part of a hypothetic "bookmark" object. - GetBookmarkNode : function( bookmark, start ) - { - var doc = this.Window.document ; - - if ( start ) - return bookmark.StartNode || doc.getElementById( bookmark.StartId ) ; - else - return bookmark.EndNode || doc.getElementById( bookmark.EndId ) ; - }, - - MoveToBookmark : function( bookmark, preserveBookmark ) - { - var eStartSpan = this.GetBookmarkNode( bookmark, true ) ; - var eEndSpan = this.GetBookmarkNode( bookmark, false ) ; - - this.SetStart( eStartSpan, 3 ) ; - - if ( !preserveBookmark ) - FCKDomTools.RemoveNode( eStartSpan ) ; - - // If collapsed, the end span will not be available. - if ( eEndSpan ) - { - this.SetEnd( eEndSpan, 3 ) ; - - if ( !preserveBookmark ) - FCKDomTools.RemoveNode( eEndSpan ) ; - } - else - this.Collapse( true ) ; - - this._UpdateElementInfo() ; - }, - - // Non-intrusive bookmark algorithm - CreateBookmark2 : function() - { - // If there is no range then get out of here. - // It happens on initial load in Safari #962 and if the editor it's hidden also in Firefox - if ( ! this._Range ) - return { "Start" : 0, "End" : 0 } ; - - // First, we record down the offset values - var bookmark = - { - "Start" : [ this._Range.startOffset ], - "End" : [ this._Range.endOffset ] - } ; - // Since we're treating the document tree as normalized, we need to backtrack the text lengths - // of previous text nodes into the offset value. - var curStart = this._Range.startContainer.previousSibling ; - var curEnd = this._Range.endContainer.previousSibling ; - - // Also note that the node that we use for "address base" would change during backtracking. - var addrStart = this._Range.startContainer ; - var addrEnd = this._Range.endContainer ; - while ( curStart && addrStart.nodeType == 3 ) - { - bookmark.Start[0] += curStart.length ; - addrStart = curStart ; - curStart = curStart.previousSibling ; - } - while ( curEnd && addrEnd.nodeType == 3 ) - { - bookmark.End[0] += curEnd.length ; - addrEnd = curEnd ; - curEnd = curEnd.previousSibling ; - } - - // If the object pointed to by the startOffset and endOffset are text nodes, we need - // to backtrack and add in the text offset to the bookmark addresses. - if ( addrStart.nodeType == 1 && addrStart.childNodes[bookmark.Start[0]] && addrStart.childNodes[bookmark.Start[0]].nodeType == 3 ) - { - var curNode = addrStart.childNodes[bookmark.Start[0]] ; - var offset = 0 ; - while ( curNode.previousSibling && curNode.previousSibling.nodeType == 3 ) - { - curNode = curNode.previousSibling ; - offset += curNode.length ; - } - addrStart = curNode ; - bookmark.Start[0] = offset ; - } - if ( addrEnd.nodeType == 1 && addrEnd.childNodes[bookmark.End[0]] && addrEnd.childNodes[bookmark.End[0]].nodeType == 3 ) - { - var curNode = addrEnd.childNodes[bookmark.End[0]] ; - var offset = 0 ; - while ( curNode.previousSibling && curNode.previousSibling.nodeType == 3 ) - { - curNode = curNode.previousSibling ; - offset += curNode.length ; - } - addrEnd = curNode ; - bookmark.End[0] = offset ; - } - - // Then, we record down the precise position of the container nodes - // by walking up the DOM tree and counting their childNode index - bookmark.Start = FCKDomTools.GetNodeAddress( addrStart, true ).concat( bookmark.Start ) ; - bookmark.End = FCKDomTools.GetNodeAddress( addrEnd, true ).concat( bookmark.End ) ; - return bookmark; - }, - - MoveToBookmark2 : function( bookmark ) - { - // Reverse the childNode counting algorithm in CreateBookmark2() - var curStart = FCKDomTools.GetNodeFromAddress( this.Window.document, bookmark.Start.slice( 0, -1 ), true ) ; - var curEnd = FCKDomTools.GetNodeFromAddress( this.Window.document, bookmark.End.slice( 0, -1 ), true ) ; - - // Generate the W3C Range object and update relevant data - this.Release( true ) ; - this._Range = new FCKW3CRange( this.Window.document ) ; - var startOffset = bookmark.Start[ bookmark.Start.length - 1 ] ; - var endOffset = bookmark.End[ bookmark.End.length - 1 ] ; - while ( curStart.nodeType == 3 && startOffset > curStart.length ) - { - if ( ! curStart.nextSibling || curStart.nextSibling.nodeType != 3 ) - break ; - startOffset -= curStart.length ; - curStart = curStart.nextSibling ; - } - while ( curEnd.nodeType == 3 && endOffset > curEnd.length ) - { - if ( ! curEnd.nextSibling || curEnd.nextSibling.nodeType != 3 ) - break ; - endOffset -= curEnd.length ; - curEnd = curEnd.nextSibling ; - } - this._Range.setStart( curStart, startOffset ) ; - this._Range.setEnd( curEnd, endOffset ) ; - this._UpdateElementInfo() ; - }, - - MoveToPosition : function( targetElement, position ) - { - this.SetStart( targetElement, position ) ; - this.Collapse( true ) ; - }, - - /* - * Moves the position of the start boundary of the range to a specific position - * relatively to a element. - * @position: - * 1 = After Start ^contents - * 2 = Before End contents^ - * 3 = Before Start ^contents - * 4 = After End contents^ - */ - SetStart : function( targetElement, position, noInfoUpdate ) - { - var oRange = this._Range ; - if ( !oRange ) - oRange = this._Range = this.CreateRange() ; - - switch( position ) - { - case 1 : // After Start ^contents - oRange.setStart( targetElement, 0 ) ; - break ; - - case 2 : // Before End contents^ - oRange.setStart( targetElement, targetElement.childNodes.length ) ; - break ; - - case 3 : // Before Start ^contents - oRange.setStartBefore( targetElement ) ; - break ; - - case 4 : // After End contents^ - oRange.setStartAfter( targetElement ) ; - } - - if ( !noInfoUpdate ) - this._UpdateElementInfo() ; - }, - - /* - * Moves the position of the start boundary of the range to a specific position - * relatively to a element. - * @position: - * 1 = After Start ^contents - * 2 = Before End contents^ - * 3 = Before Start ^contents - * 4 = After End contents^ - */ - SetEnd : function( targetElement, position, noInfoUpdate ) - { - var oRange = this._Range ; - if ( !oRange ) - oRange = this._Range = this.CreateRange() ; - - switch( position ) - { - case 1 : // After Start ^contents - oRange.setEnd( targetElement, 0 ) ; - break ; - - case 2 : // Before End contents^ - oRange.setEnd( targetElement, targetElement.childNodes.length ) ; - break ; - - case 3 : // Before Start ^contents - oRange.setEndBefore( targetElement ) ; - break ; - - case 4 : // After End contents^ - oRange.setEndAfter( targetElement ) ; - } - - if ( !noInfoUpdate ) - this._UpdateElementInfo() ; - }, - - Expand : function( unit ) - { - var oNode, oSibling ; - - switch ( unit ) - { - // Expand the range to include all inline parent elements if we are - // are in their boundary limits. - // For example (where [ ] are the range limits): - // Before => Some [Some sample text]. - // After => Some [Some sample text]. - case 'inline_elements' : - // Expand the start boundary. - if ( this._Range.startOffset == 0 ) - { - oNode = this._Range.startContainer ; - - if ( oNode.nodeType != 1 ) - oNode = oNode.previousSibling ? null : oNode.parentNode ; - - if ( oNode ) - { - while ( FCKListsLib.InlineNonEmptyElements[ oNode.nodeName.toLowerCase() ] ) - { - this._Range.setStartBefore( oNode ) ; - - if ( oNode != oNode.parentNode.firstChild ) - break ; - - oNode = oNode.parentNode ; - } - } - } - - // Expand the end boundary. - oNode = this._Range.endContainer ; - var offset = this._Range.endOffset ; - - if ( ( oNode.nodeType == 3 && offset >= oNode.nodeValue.length ) || ( oNode.nodeType == 1 && offset >= oNode.childNodes.length ) || ( oNode.nodeType != 1 && oNode.nodeType != 3 ) ) - { - if ( oNode.nodeType != 1 ) - oNode = oNode.nextSibling ? null : oNode.parentNode ; - - if ( oNode ) - { - while ( FCKListsLib.InlineNonEmptyElements[ oNode.nodeName.toLowerCase() ] ) - { - this._Range.setEndAfter( oNode ) ; - - if ( oNode != oNode.parentNode.lastChild ) - break ; - - oNode = oNode.parentNode ; - } - } - } - - break ; - - case 'block_contents' : - case 'list_contents' : - var boundarySet = FCKListsLib.BlockBoundaries ; - if ( unit == 'list_contents' || FCKConfig.EnterMode == 'br' ) - boundarySet = FCKListsLib.ListBoundaries ; - - if ( this.StartBlock && FCKConfig.EnterMode != 'br' && unit == 'block_contents' ) - this.SetStart( this.StartBlock, 1 ) ; - else - { - // Get the start node for the current range. - oNode = this._Range.startContainer ; - - // If it is an element, get the node right before of it (in source order). - if ( oNode.nodeType == 1 ) - { - var lastNode = oNode.childNodes[ this._Range.startOffset ] ; - if ( lastNode ) - oNode = FCKDomTools.GetPreviousSourceNode( lastNode, true ) ; - else - oNode = oNode.lastChild || oNode ; - } - - // We must look for the left boundary, relative to the range - // start, which is limited by a block element. - while ( oNode - && ( oNode.nodeType != 1 - || ( oNode != this.StartBlockLimit - && !boundarySet[ oNode.nodeName.toLowerCase() ] ) ) ) - { - this._Range.setStartBefore( oNode ) ; - oNode = oNode.previousSibling || oNode.parentNode ; - } - } - - if ( this.EndBlock && FCKConfig.EnterMode != 'br' && unit == 'block_contents' && this.EndBlock.nodeName.toLowerCase() != 'li' ) - this.SetEnd( this.EndBlock, 2 ) ; - else - { - oNode = this._Range.endContainer ; - if ( oNode.nodeType == 1 ) - oNode = oNode.childNodes[ this._Range.endOffset ] || oNode.lastChild ; - - // We must look for the right boundary, relative to the range - // end, which is limited by a block element. - while ( oNode - && ( oNode.nodeType != 1 - || ( oNode != this.StartBlockLimit - && !boundarySet[ oNode.nodeName.toLowerCase() ] ) ) ) - { - this._Range.setEndAfter( oNode ) ; - oNode = oNode.nextSibling || oNode.parentNode ; - } - - // In EnterMode='br', the end
    boundary element must - // be included in the expanded range. - if ( oNode && oNode.nodeName.toLowerCase() == 'br' ) - this._Range.setEndAfter( oNode ) ; - } - - this._UpdateElementInfo() ; - } - }, - - /** - * Split the block element for the current range. It deletes the contents - * of the range and splits the block in the collapsed position, resulting - * in two sucessive blocks. The range is then positioned in the middle of - * them. - * - * It returns and object with the following properties: - * - PreviousBlock : a reference to the block element that preceeds - * the range after the split. - * - NextBlock : a reference to the block element that follows the - * range after the split. - * - WasStartOfBlock : a boolean indicating that the range was - * originaly at the start of the block. - * - WasEndOfBlock : a boolean indicating that the range was originaly - * at the end of the block. - * - * If the range was originaly at the start of the block, no split will happen - * and the PreviousBlock value will be null. The same is valid for the - * NextBlock value if the range was at the end of the block. - */ - SplitBlock : function( forceBlockTag ) - { - var blockTag = forceBlockTag || FCKConfig.EnterMode ; - - if ( !this._Range ) - this.MoveToSelection() ; - - // The range boundaries must be in the same "block limit" element. - if ( this.StartBlockLimit == this.EndBlockLimit ) - { - // Get the current blocks. - var eStartBlock = this.StartBlock ; - var eEndBlock = this.EndBlock ; - var oElementPath = null ; - - if ( blockTag != 'br' ) - { - if ( !eStartBlock ) - { - eStartBlock = this.FixBlock( true, blockTag ) ; - eEndBlock = this.EndBlock ; // FixBlock may have fixed the EndBlock too. - } - - if ( !eEndBlock ) - eEndBlock = this.FixBlock( false, blockTag ) ; - } - - // Get the range position. - var bIsStartOfBlock = ( eStartBlock != null && this.CheckStartOfBlock() ) ; - var bIsEndOfBlock = ( eEndBlock != null && this.CheckEndOfBlock() ) ; - - // Delete the current contents. - if ( !this.CheckIsEmpty() ) - this.DeleteContents() ; - - if ( eStartBlock && eEndBlock && eStartBlock == eEndBlock ) - { - if ( bIsEndOfBlock ) - { - oElementPath = new FCKElementPath( this.StartContainer ) ; - this.MoveToPosition( eEndBlock, 4 ) ; - eEndBlock = null ; - } - else if ( bIsStartOfBlock ) - { - oElementPath = new FCKElementPath( this.StartContainer ) ; - this.MoveToPosition( eStartBlock, 3 ) ; - eStartBlock = null ; - } - else - { - // Extract the contents of the block from the selection point to the end of its contents. - this.SetEnd( eStartBlock, 2 ) ; - var eDocFrag = this.ExtractContents() ; - - // Duplicate the block element after it. - eEndBlock = eStartBlock.cloneNode( false ) ; - eEndBlock.removeAttribute( 'id', false ) ; - - // Place the extracted contents in the duplicated block. - eDocFrag.AppendTo( eEndBlock ) ; - - FCKDomTools.InsertAfterNode( eStartBlock, eEndBlock ) ; - - this.MoveToPosition( eStartBlock, 4 ) ; - - // In Gecko, the last child node must be a bogus
    . - // Note: bogus
    added under
      or
        would cause lists to be incorrectly rendered. - if ( FCKBrowserInfo.IsGecko && - ! eStartBlock.nodeName.IEquals( ['ul', 'ol'] ) ) - FCKTools.AppendBogusBr( eStartBlock ) ; - } - } - - return { - PreviousBlock : eStartBlock, - NextBlock : eEndBlock, - WasStartOfBlock : bIsStartOfBlock, - WasEndOfBlock : bIsEndOfBlock, - ElementPath : oElementPath - } ; - } - - return null ; - }, - - // Transform a block without a block tag in a valid block (orphan text in the body or td, usually). - FixBlock : function( isStart, blockTag ) - { - // Bookmark the range so we can restore it later. - var oBookmark = this.CreateBookmark() ; - - // Collapse the range to the requested ending boundary. - this.Collapse( isStart ) ; - - // Expands it to the block contents. - this.Expand( 'block_contents' ) ; - - // Create the fixed block. - var oFixedBlock = this.Window.document.createElement( blockTag ) ; - - // Move the contents of the temporary range to the fixed block. - this.ExtractContents().AppendTo( oFixedBlock ) ; - FCKDomTools.TrimNode( oFixedBlock ) ; - - // If the fixed block is empty (not counting bookmark nodes) - // Add a
        inside to expand it. - if ( FCKDomTools.CheckIsEmptyElement(oFixedBlock, function( element ) { return element.getAttribute('_fck_bookmark') != 'true' ; } ) - && FCKBrowserInfo.IsGeckoLike ) - FCKTools.AppendBogusBr( oFixedBlock ) ; - - // Insert the fixed block into the DOM. - this.InsertNode( oFixedBlock ) ; - - // Move the range back to the bookmarked place. - this.MoveToBookmark( oBookmark ) ; - - return oFixedBlock ; - }, - - Release : function( preserveWindow ) - { - if ( !preserveWindow ) - this.Window = null ; - - this.StartNode = null ; - this.StartContainer = null ; - this.StartBlock = null ; - this.StartBlockLimit = null ; - this.EndNode = null ; - this.EndContainer = null ; - this.EndBlock = null ; - this.EndBlockLimit = null ; - this._Range = null ; - this._Cache = null ; - }, - - CheckHasRange : function() - { - return !!this._Range ; - }, - - GetTouchedStartNode : function() - { - var range = this._Range ; - var container = range.startContainer ; - - if ( range.collapsed || container.nodeType != 1 ) - return container ; - - return container.childNodes[ range.startOffset ] || container ; - }, - - GetTouchedEndNode : function() - { - var range = this._Range ; - var container = range.endContainer ; - - if ( range.collapsed || container.nodeType != 1 ) - return container ; - - return container.childNodes[ range.endOffset - 1 ] || container ; - } -} ; diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckdomrange_gecko.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckdomrange_gecko.js deleted file mode 100644 index ddffb1301..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckdomrange_gecko.js +++ /dev/null @@ -1,104 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Class for working with a selection range, much like the W3C DOM Range, but - * it is not intended to be an implementation of the W3C interface. - * (Gecko Implementation) - */ - -FCKDomRange.prototype.MoveToSelection = function() -{ - this.Release( true ) ; - - var oSel = this.Window.getSelection() ; - - if ( oSel && oSel.rangeCount > 0 ) - { - this._Range = FCKW3CRange.CreateFromRange( this.Window.document, oSel.getRangeAt(0) ) ; - this._UpdateElementInfo() ; - } - else - if ( this.Window.document ) - this.MoveToElementStart( this.Window.document.body ) ; -} - -FCKDomRange.prototype.Select = function() -{ - var oRange = this._Range ; - if ( oRange ) - { - var startContainer = oRange.startContainer ; - - // If we have a collapsed range, inside an empty element, we must add - // something to it, otherwise the caret will not be visible. - if ( oRange.collapsed && startContainer.nodeType == 1 && startContainer.childNodes.length == 0 ) - startContainer.appendChild( oRange._Document.createTextNode('') ) ; - - var oDocRange = this.Window.document.createRange() ; - oDocRange.setStart( startContainer, oRange.startOffset ) ; - - try - { - oDocRange.setEnd( oRange.endContainer, oRange.endOffset ) ; - } - catch ( e ) - { - // There is a bug in Firefox implementation (it would be too easy - // otherwise). The new start can't be after the end (W3C says it can). - // So, let's create a new range and collapse it to the desired point. - if ( e.toString().Contains( 'NS_ERROR_ILLEGAL_VALUE' ) ) - { - oRange.collapse( true ) ; - oDocRange.setEnd( oRange.endContainer, oRange.endOffset ) ; - } - else - throw( e ) ; - } - - var oSel = this.Window.getSelection() ; - oSel.removeAllRanges() ; - - // We must add a clone otherwise Firefox will have rendering issues. - oSel.addRange( oDocRange ) ; - } -} - -// Not compatible with bookmark created with CreateBookmark2. -// The bookmark nodes will be deleted from the document. -FCKDomRange.prototype.SelectBookmark = function( bookmark ) -{ - var domRange = this.Window.document.createRange() ; - - var startNode = this.GetBookmarkNode( bookmark, true ) ; - var endNode = this.GetBookmarkNode( bookmark, false ) ; - - domRange.setStart( startNode.parentNode, FCKDomTools.GetIndexOf( startNode ) ) ; - FCKDomTools.RemoveNode( startNode ) ; - - if ( endNode ) - { - domRange.setEnd( endNode.parentNode, FCKDomTools.GetIndexOf( endNode ) ) ; - FCKDomTools.RemoveNode( endNode ) ; - } - - var selection = this.Window.getSelection() ; - selection.removeAllRanges() ; - selection.addRange( domRange ) ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckdomrange_ie.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckdomrange_ie.js deleted file mode 100644 index 3ebe2b9a3..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckdomrange_ie.js +++ /dev/null @@ -1,199 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Class for working with a selection range, much like the W3C DOM Range, but - * it is not intended to be an implementation of the W3C interface. - * (IE Implementation) - */ - -FCKDomRange.prototype.MoveToSelection = function() -{ - this.Release( true ) ; - - this._Range = new FCKW3CRange( this.Window.document ) ; - - var oSel = this.Window.document.selection ; - - if ( oSel.type != 'Control' ) - { - var eMarkerStart = this._GetSelectionMarkerTag( true ) ; - var eMarkerEnd = this._GetSelectionMarkerTag( false ) ; - - if ( !eMarkerStart && !eMarkerEnd ) - { - this._Range.setStart( this.Window.document.body, 0 ) ; - this._UpdateElementInfo() ; - return ; - } - - // Set the start boundary. - this._Range.setStart( eMarkerStart.parentNode, FCKDomTools.GetIndexOf( eMarkerStart ) ) ; - eMarkerStart.parentNode.removeChild( eMarkerStart ) ; - - // Set the end boundary. - this._Range.setEnd( eMarkerEnd.parentNode, FCKDomTools.GetIndexOf( eMarkerEnd ) ) ; - eMarkerEnd.parentNode.removeChild( eMarkerEnd ) ; - - this._UpdateElementInfo() ; - } - else - { - var oControl = oSel.createRange().item(0) ; - - if ( oControl ) - { - this._Range.setStartBefore( oControl ) ; - this._Range.setEndAfter( oControl ) ; - this._UpdateElementInfo() ; - } - } -} - -FCKDomRange.prototype.Select = function( forceExpand ) -{ - if ( this._Range ) - this.SelectBookmark( this.CreateBookmark( true ), forceExpand ) ; -} - -// Not compatible with bookmark created with CreateBookmark2. -// The bookmark nodes will be deleted from the document. -FCKDomRange.prototype.SelectBookmark = function( bookmark, forceExpand ) -{ - var bIsCollapsed = this.CheckIsCollapsed() ; - var bIsStartMakerAlone ; - var dummySpan ; - - // Create marker tags for the start and end boundaries. - var eStartMarker = this.GetBookmarkNode( bookmark, true ) ; - - if ( !eStartMarker ) - return ; - - var eEndMarker ; - if ( !bIsCollapsed ) - eEndMarker = this.GetBookmarkNode( bookmark, false ) ; - - // Create the main range which will be used for the selection. - var oIERange = this.Window.document.body.createTextRange() ; - - // Position the range at the start boundary. - oIERange.moveToElementText( eStartMarker ) ; - oIERange.moveStart( 'character', 1 ) ; - - if ( eEndMarker ) - { - // Create a tool range for the end. - var oIERangeEnd = this.Window.document.body.createTextRange() ; - - // Position the tool range at the end. - oIERangeEnd.moveToElementText( eEndMarker ) ; - - // Move the end boundary of the main range to match the tool range. - oIERange.setEndPoint( 'EndToEnd', oIERangeEnd ) ; - oIERange.moveEnd( 'character', -1 ) ; - } - else - { - bIsStartMakerAlone = ( forceExpand || !eStartMarker.previousSibling || eStartMarker.previousSibling.nodeName.toLowerCase() == 'br' ) && !eStartMarker.nextSibing ; - - // Append a temporary  before the selection. - // This is needed to avoid IE destroying selections inside empty - // inline elements, like (#253). - // It is also needed when placing the selection right after an inline - // element to avoid the selection moving inside of it. - dummySpan = this.Window.document.createElement( 'span' ) ; - dummySpan.innerHTML = '' ; // Zero Width No-Break Space (U+FEFF). See #1359. - eStartMarker.parentNode.insertBefore( dummySpan, eStartMarker ) ; - - if ( bIsStartMakerAlone ) - { - // To expand empty blocks or line spaces after
        , we need - // instead to have any char, which will be later deleted using the - // selection. - // \ufeff = Zero Width No-Break Space (U+FEFF). See #1359. - eStartMarker.parentNode.insertBefore( this.Window.document.createTextNode( '\ufeff' ), eStartMarker ) ; - } - } - - if ( !this._Range ) - this._Range = this.CreateRange() ; - - // Remove the markers (reset the position, because of the changes in the DOM tree). - this._Range.setStartBefore( eStartMarker ) ; - eStartMarker.parentNode.removeChild( eStartMarker ) ; - - if ( bIsCollapsed ) - { - if ( bIsStartMakerAlone ) - { - // Move the selection start to include the temporary . - oIERange.moveStart( 'character', -1 ) ; - - oIERange.select() ; - - // Remove our temporary stuff. - this.Window.document.selection.clear() ; - } - else - oIERange.select() ; - - FCKDomTools.RemoveNode( dummySpan ) ; - } - else - { - this._Range.setEndBefore( eEndMarker ) ; - eEndMarker.parentNode.removeChild( eEndMarker ) ; - oIERange.select() ; - } -} - -FCKDomRange.prototype._GetSelectionMarkerTag = function( toStart ) -{ - var doc = this.Window.document ; - var selection = doc.selection ; - - // Get a range for the start boundary. - var oRange ; - - // IE may throw an "unspecified error" on some cases (it happened when - // loading _samples/default.html), so try/catch. - try - { - oRange = selection.createRange() ; - } - catch (e) - { - return null ; - } - - // IE might take the range object to the main window instead of inside the editor iframe window. - // This is known to happen when the editor window has not been selected before (See #933). - // We need to avoid that. - if ( oRange.parentElement().document != doc ) - return null ; - - oRange.collapse( toStart === true ) ; - - // Paste a marker element at the collapsed range and get it from the DOM. - var sMarkerId = 'fck_dom_range_temp_' + (new Date()).valueOf() + '_' + Math.floor(Math.random()*1000) ; - oRange.pasteHTML( '' ) ; - - return doc.getElementById( sMarkerId ) ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckdomrangeiterator.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckdomrangeiterator.js deleted file mode 100644 index 8aa668b0c..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckdomrangeiterator.js +++ /dev/null @@ -1,327 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This class can be used to interate through nodes inside a range. - * - * During interation, the provided range can become invalid, due to document - * mutations, so CreateBookmark() used to restore it after processing, if - * needed. - */ - -var FCKDomRangeIterator = function( range ) -{ - /** - * The FCKDomRange object that marks the interation boundaries. - */ - this.Range = range ; - - /** - * Indicates that
        elements must be used as paragraph boundaries. - */ - this.ForceBrBreak = false ; - - /** - * Guarantees that the iterator will always return "real" block elements. - * If "false", elements like
      1. , and are returned. If "true", a - * dedicated block element block element will be created inside those - * elements to hold the selected content. - */ - this.EnforceRealBlocks = false ; -} - -FCKDomRangeIterator.CreateFromSelection = function( targetWindow ) -{ - var range = new FCKDomRange( targetWindow ) ; - range.MoveToSelection() ; - return new FCKDomRangeIterator( range ) ; -} - -FCKDomRangeIterator.prototype = -{ - /** - * Get the next paragraph element. It automatically breaks the document - * when necessary to generate block elements for the paragraphs. - */ - GetNextParagraph : function() - { - // The block element to be returned. - var block ; - - // The range object used to identify the paragraph contents. - var range ; - - // Indicated that the current element in the loop is the last one. - var isLast ; - - // Instructs to cleanup remaining BRs. - var removePreviousBr ; - var removeLastBr ; - - var boundarySet = this.ForceBrBreak ? FCKListsLib.ListBoundaries : FCKListsLib.BlockBoundaries ; - - // This is the first iteration. Let's initialize it. - if ( !this._LastNode ) - { - var range = this.Range.Clone() ; - range.Expand( this.ForceBrBreak ? 'list_contents' : 'block_contents' ) ; - - this._NextNode = range.GetTouchedStartNode() ; - this._LastNode = range.GetTouchedEndNode() ; - - // Let's reuse this variable. - range = null ; - } - - var currentNode = this._NextNode ; - var lastNode = this._LastNode ; - - this._NextNode = null ; - - while ( currentNode ) - { - // closeRange indicates that a paragraph boundary has been found, - // so the range can be closed. - var closeRange = false ; - - // includeNode indicates that the current node is good to be part - // of the range. By default, any non-element node is ok for it. - var includeNode = ( currentNode.nodeType != 1 ) ; - - var continueFromSibling = false ; - - // If it is an element node, let's check if it can be part of the - // range. - if ( !includeNode ) - { - var nodeName = currentNode.nodeName.toLowerCase() ; - - if ( boundarySet[ nodeName ] && ( !FCKBrowserInfo.IsIE || currentNode.scopeName == 'HTML' ) ) - { - //
        boundaries must be part of the range. It will - // happen only if ForceBrBreak. - if ( nodeName == 'br' ) - includeNode = true ; - else if ( !range && currentNode.childNodes.length == 0 && nodeName != 'hr' ) - { - // If we have found an empty block, and haven't started - // the range yet, it means we must return this block. - block = currentNode ; - isLast = currentNode == lastNode ; - break ; - } - - // The range must finish right before the boundary, - // including possibly skipped empty spaces. (#1603) - if ( range ) - { - range.SetEnd( currentNode, 3, true ) ; - - // The found boundary must be set as the next one at this - // point. (#1717) - if ( nodeName != 'br' ) - this._NextNode = FCKDomTools.GetNextSourceNode( currentNode, true, null, lastNode ) ; - } - - closeRange = true ; - } - else - { - // If we have child nodes, let's check them. - if ( currentNode.firstChild ) - { - // If we don't have a range yet, let's start it. - if ( !range ) - { - range = new FCKDomRange( this.Range.Window ) ; - range.SetStart( currentNode, 3, true ) ; - } - - currentNode = currentNode.firstChild ; - continue ; - } - includeNode = true ; - } - } - else if ( currentNode.nodeType == 3 ) - { - // Ignore normal whitespaces (i.e. not including   or - // other unicode whitespaces) before/after a block node. - if ( /^[\r\n\t ]+$/.test( currentNode.nodeValue ) ) - includeNode = false ; - } - - // The current node is good to be part of the range and we are - // starting a new range, initialize it first. - if ( includeNode && !range ) - { - range = new FCKDomRange( this.Range.Window ) ; - range.SetStart( currentNode, 3, true ) ; - } - - // The last node has been found. - isLast = ( ( !closeRange || includeNode ) && currentNode == lastNode ) ; -// isLast = ( currentNode == lastNode && ( currentNode.nodeType != 1 || currentNode.childNodes.length == 0 ) ) ; - - // If we are in an element boundary, let's check if it is time - // to close the range, otherwise we include the parent within it. - if ( range && !closeRange ) - { - while ( !currentNode.nextSibling && !isLast ) - { - var parentNode = currentNode.parentNode ; - - if ( boundarySet[ parentNode.nodeName.toLowerCase() ] ) - { - closeRange = true ; - isLast = isLast || ( parentNode == lastNode ) ; - break ; - } - - currentNode = parentNode ; - includeNode = true ; - isLast = ( currentNode == lastNode ) ; - continueFromSibling = true ; - } - } - - // Now finally include the node. - if ( includeNode ) - range.SetEnd( currentNode, 4, true ) ; - - // We have found a block boundary. Let's close the range and move out of the - // loop. - if ( ( closeRange || isLast ) && range ) - { - range._UpdateElementInfo() ; - - if ( range.StartNode == range.EndNode - && range.StartNode.parentNode == range.StartBlockLimit - && range.StartNode.getAttribute && range.StartNode.getAttribute( '_fck_bookmark' ) ) - range = null ; - else - break ; - } - - if ( isLast ) - break ; - - currentNode = FCKDomTools.GetNextSourceNode( currentNode, continueFromSibling, null, lastNode ) ; - } - - // Now, based on the processed range, look for (or create) the block to be returned. - if ( !block ) - { - // If no range has been found, this is the end. - if ( !range ) - { - this._NextNode = null ; - return null ; - } - - block = range.StartBlock ; - - if ( !block - && !this.EnforceRealBlocks - && range.StartBlockLimit.nodeName.IEquals( 'DIV', 'TH', 'TD' ) - && range.CheckStartOfBlock() - && range.CheckEndOfBlock() ) - { - block = range.StartBlockLimit ; - } - else if ( !block || ( this.EnforceRealBlocks && block.nodeName.toLowerCase() == 'li' ) ) - { - // Create the fixed block. - block = this.Range.Window.document.createElement( FCKConfig.EnterMode == 'p' ? 'p' : 'div' ) ; - - // Move the contents of the temporary range to the fixed block. - range.ExtractContents().AppendTo( block ) ; - FCKDomTools.TrimNode( block ) ; - - // Insert the fixed block into the DOM. - range.InsertNode( block ) ; - - removePreviousBr = true ; - removeLastBr = true ; - } - else if ( block.nodeName.toLowerCase() != 'li' ) - { - // If the range doesn't includes the entire contents of the - // block, we must split it, isolating the range in a dedicated - // block. - if ( !range.CheckStartOfBlock() || !range.CheckEndOfBlock() ) - { - // The resulting block will be a clone of the current one. - block = block.cloneNode( false ) ; - - // Extract the range contents, moving it to the new block. - range.ExtractContents().AppendTo( block ) ; - FCKDomTools.TrimNode( block ) ; - - // Split the block. At this point, the range will be in the - // right position for our intents. - var splitInfo = range.SplitBlock() ; - - removePreviousBr = !splitInfo.WasStartOfBlock ; - removeLastBr = !splitInfo.WasEndOfBlock ; - - // Insert the new block into the DOM. - range.InsertNode( block ) ; - } - } - else if ( !isLast ) - { - // LIs are returned as is, with all their children (due to the - // nested lists). But, the next node is the node right after - // the current range, which could be an
      2. child (nested - // lists) or the next sibling
      3. . - - this._NextNode = block == lastNode ? null : FCKDomTools.GetNextSourceNode( range.EndNode, true, null, lastNode ) ; - return block ; - } - } - - if ( removePreviousBr ) - { - var previousSibling = block.previousSibling ; - if ( previousSibling && previousSibling.nodeType == 1 ) - { - if ( previousSibling.nodeName.toLowerCase() == 'br' ) - previousSibling.parentNode.removeChild( previousSibling ) ; - else if ( previousSibling.lastChild && previousSibling.lastChild.nodeName.IEquals( 'br' ) ) - previousSibling.removeChild( previousSibling.lastChild ) ; - } - } - - if ( removeLastBr ) - { - var lastChild = block.lastChild ; - if ( lastChild && lastChild.nodeType == 1 && lastChild.nodeName.toLowerCase() == 'br' ) - block.removeChild( lastChild ) ; - } - - // Get a reference for the next element. This is important because the - // above block can be removed or changed, so we can rely on it for the - // next interation. - if ( !this._NextNode ) - this._NextNode = ( isLast || block == lastNode ) ? null : FCKDomTools.GetNextSourceNode( block, true, null, lastNode ) ; - - return block ; - } -} ; diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckeditingarea.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckeditingarea.js deleted file mode 100644 index 66d93e12a..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckeditingarea.js +++ /dev/null @@ -1,368 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * FCKEditingArea Class: renders an editable area. - */ - -/** - * @constructor - * @param {String} targetElement The element that will hold the editing area. Any child element present in the target will be deleted. - */ -var FCKEditingArea = function( targetElement ) -{ - this.TargetElement = targetElement ; - this.Mode = FCK_EDITMODE_WYSIWYG ; - - if ( FCK.IECleanup ) - FCK.IECleanup.AddItem( this, FCKEditingArea_Cleanup ) ; -} - - -/** - * @param {String} html The complete HTML for the page, including DOCTYPE and the tag. - */ -FCKEditingArea.prototype.Start = function( html, secondCall ) -{ - var eTargetElement = this.TargetElement ; - var oTargetDocument = FCKTools.GetElementDocument( eTargetElement ) ; - - // Remove all child nodes from the target. - while( eTargetElement.firstChild ) - eTargetElement.removeChild( eTargetElement.firstChild ) ; - - if ( this.Mode == FCK_EDITMODE_WYSIWYG ) - { - // For FF, document.domain must be set only when different, otherwhise - // we'll strangely have "Permission denied" issues. - if ( FCK_IS_CUSTOM_DOMAIN ) - html = '' + html ; - - // IE has a bug with the tag... it must have a closer, - // otherwise the all successive tags will be set as children nodes of the . - if ( FCKBrowserInfo.IsIE ) - html = html.replace( /(]*?)\s*\/?>(?!\s*<\/base>)/gi, '$1>' ) ; - else if ( !secondCall ) - { - // Gecko moves some tags out of the body to the head, so we must use - // innerHTML to set the body contents (SF BUG 1526154). - - // Extract the BODY contents from the html. - var oMatchBefore = html.match( FCKRegexLib.BeforeBody ) ; - var oMatchAfter = html.match( FCKRegexLib.AfterBody ) ; - - if ( oMatchBefore && oMatchAfter ) - { - var sBody = html.substr( oMatchBefore[1].length, - html.length - oMatchBefore[1].length - oMatchAfter[1].length ) ; // This is the BODY tag contents. - - html = - oMatchBefore[1] + // This is the HTML until the tag, inclusive. - ' ' + - oMatchAfter[1] ; // This is the HTML from the tag, inclusive. - - // If nothing in the body, place a BOGUS tag so the cursor will appear. - if ( FCKBrowserInfo.IsGecko && ( sBody.length == 0 || FCKRegexLib.EmptyParagraph.test( sBody ) ) ) - sBody = '
        ' ; - - this._BodyHTML = sBody ; - - } - else - this._BodyHTML = html ; // Invalid HTML input. - } - - // Create the editing area IFRAME. - var oIFrame = this.IFrame = oTargetDocument.createElement( 'iframe' ) ; - - // IE: Avoid JavaScript errors thrown by the editing are source (like tags events). - // See #1055. - var sOverrideError = '' ; - - oIFrame.frameBorder = 0 ; - oIFrame.style.width = oIFrame.style.height = '100%' ; - - if ( FCK_IS_CUSTOM_DOMAIN && FCKBrowserInfo.IsIE ) - { - window._FCKHtmlToLoad = html.replace( //i, '' + sOverrideError ) ; - oIFrame.src = 'javascript:void( (function(){' + - 'document.open() ;' + - 'document.domain="' + document.domain + '" ;' + - 'document.write( window.parent._FCKHtmlToLoad );' + - 'document.close() ;' + - 'window.parent._FCKHtmlToLoad = null ;' + - '})() )' ; - } - else if ( !FCKBrowserInfo.IsGecko ) - { - // Firefox will render the tables inside the body in Quirks mode if the - // source of the iframe is set to javascript. see #515 - oIFrame.src = 'javascript:void(0)' ; - } - - // Append the new IFRAME to the target. For IE, it must be done after - // setting the "src", to avoid the "secure/unsecure" message under HTTPS. - eTargetElement.appendChild( oIFrame ) ; - - // Get the window and document objects used to interact with the newly created IFRAME. - this.Window = oIFrame.contentWindow ; - - // IE: Avoid JavaScript errors thrown by the editing are source (like tags events). - // TODO: This error handler is not being fired. - // this.Window.onerror = function() { alert( 'Error!' ) ; return true ; } - - if ( !FCK_IS_CUSTOM_DOMAIN || !FCKBrowserInfo.IsIE ) - { - var oDoc = this.Window.document ; - - oDoc.open() ; - oDoc.write( html.replace( //i, '' + sOverrideError ) ) ; - oDoc.close() ; - } - - if ( FCKBrowserInfo.IsAIR ) - FCKAdobeAIR.EditingArea_Start( oDoc, html ) ; - - // Firefox 1.0.x is buggy... ohh yes... so let's do it two times and it - // will magically work. - if ( FCKBrowserInfo.IsGecko10 && !secondCall ) - { - this.Start( html, true ) ; - return ; - } - - if ( oIFrame.readyState && oIFrame.readyState != 'completed' ) - { - var editArea = this ; - - // Using a IE alternative for DOMContentLoaded, similar to the - // solution proposed at http://javascript.nwbox.com/IEContentLoaded/ - setTimeout( function() - { - try - { - editArea.Window.document.documentElement.doScroll("left") ; - } - catch(e) - { - setTimeout( arguments.callee, 0 ) ; - return ; - } - editArea.Window._FCKEditingArea = editArea ; - FCKEditingArea_CompleteStart.call( editArea.Window ) ; - }, 0 ) ; - } - else - { - this.Window._FCKEditingArea = this ; - - // FF 1.0.x is buggy... we must wait a lot to enable editing because - // sometimes the content simply disappears, for example when pasting - // "bla1!!bla2" in the source and then switching - // back to design. - if ( FCKBrowserInfo.IsGecko10 ) - this.Window.setTimeout( FCKEditingArea_CompleteStart, 500 ) ; - else - FCKEditingArea_CompleteStart.call( this.Window ) ; - } - } - else - { - var eTextarea = this.Textarea = oTargetDocument.createElement( 'textarea' ) ; - eTextarea.className = 'SourceField' ; - eTextarea.dir = 'ltr' ; - FCKDomTools.SetElementStyles( eTextarea, - { - width : '100%', - height : '100%', - border : 'none', - resize : 'none', - outline : 'none' - } ) ; - eTargetElement.appendChild( eTextarea ) ; - - eTextarea.value = html ; - - // Fire the "OnLoad" event. - FCKTools.RunFunction( this.OnLoad ) ; - } -} - -// "this" here is FCKEditingArea.Window -function FCKEditingArea_CompleteStart() -{ - // On Firefox, the DOM takes a little to become available. So we must wait for it in a loop. - if ( !this.document.body ) - { - this.setTimeout( FCKEditingArea_CompleteStart, 50 ) ; - return ; - } - - var oEditorArea = this._FCKEditingArea ; - - // Save this reference to be re-used later. - oEditorArea.Document = oEditorArea.Window.document ; - - oEditorArea.MakeEditable() ; - - // Fire the "OnLoad" event. - FCKTools.RunFunction( oEditorArea.OnLoad ) ; -} - -FCKEditingArea.prototype.MakeEditable = function() -{ - var oDoc = this.Document ; - - if ( FCKBrowserInfo.IsIE ) - { - // Kludge for #141 and #523 - oDoc.body.disabled = true ; - oDoc.body.contentEditable = true ; - oDoc.body.removeAttribute( "disabled" ) ; - - /* The following commands don't throw errors, but have no effect. - oDoc.execCommand( 'AutoDetect', false, false ) ; - oDoc.execCommand( 'KeepSelection', false, true ) ; - */ - } - else - { - try - { - // Disable Firefox 2 Spell Checker. - oDoc.body.spellcheck = ( this.FFSpellChecker !== false ) ; - - if ( this._BodyHTML ) - { - oDoc.body.innerHTML = this._BodyHTML ; - oDoc.body.offsetLeft ; // Don't remove, this is a hack to fix Opera 9.50, see #2264. - this._BodyHTML = null ; - } - - oDoc.designMode = 'on' ; - - // Tell Gecko (Firefox 1.5+) to enable or not live resizing of objects (by Alfonso Martinez) - oDoc.execCommand( 'enableObjectResizing', false, !FCKConfig.DisableObjectResizing ) ; - - // Disable the standard table editing features of Firefox. - oDoc.execCommand( 'enableInlineTableEditing', false, !FCKConfig.DisableFFTableHandles ) ; - } - catch (e) - { - // In Firefox if the iframe is initially hidden it can't be set to designMode and it raises an exception - // So we set up a DOM Mutation event Listener on the HTML, as it will raise several events when the document is visible again - FCKTools.AddEventListener( this.Window.frameElement, 'DOMAttrModified', FCKEditingArea_Document_AttributeNodeModified ) ; - } - - } -} - -// This function processes the notifications of the DOM Mutation event on the document -// We use it to know that the document will be ready to be editable again (or we hope so) -function FCKEditingArea_Document_AttributeNodeModified( evt ) -{ - var editingArea = evt.currentTarget.contentWindow._FCKEditingArea ; - - // We want to run our function after the events no longer fire, so we can know that it's a stable situation - if ( editingArea._timer ) - window.clearTimeout( editingArea._timer ) ; - - editingArea._timer = FCKTools.SetTimeout( FCKEditingArea_MakeEditableByMutation, 1000, editingArea ) ; -} - -// This function ideally should be called after the document is visible, it does clean up of the -// mutation tracking and tries again to make the area editable. -function FCKEditingArea_MakeEditableByMutation() -{ - // Clean up - delete this._timer ; - // Now we don't want to keep on getting this event - FCKTools.RemoveEventListener( this.Window.frameElement, 'DOMAttrModified', FCKEditingArea_Document_AttributeNodeModified ) ; - // Let's try now to set the editing area editable - // If it fails it will set up the Mutation Listener again automatically - this.MakeEditable() ; -} - -FCKEditingArea.prototype.Focus = function() -{ - try - { - if ( this.Mode == FCK_EDITMODE_WYSIWYG ) - { - if ( FCKBrowserInfo.IsIE ) - this._FocusIE() ; - else - this.Window.focus() ; - } - else - { - var oDoc = FCKTools.GetElementDocument( this.Textarea ) ; - if ( (!oDoc.hasFocus || oDoc.hasFocus() ) && oDoc.activeElement == this.Textarea ) - return ; - - this.Textarea.focus() ; - } - } - catch(e) {} -} - -FCKEditingArea.prototype._FocusIE = function() -{ - // In IE it can happen that the document is in theory focused but the - // active element is outside of it. - this.Document.body.setActive() ; - - this.Window.focus() ; - - // Kludge for #141... yet more code to workaround IE bugs - var range = this.Document.selection.createRange() ; - - var parentNode = range.parentElement() ; - var parentTag = parentNode.nodeName.toLowerCase() ; - - // Only apply the fix when in a block, and the block is empty. - if ( parentNode.childNodes.length > 0 || - !( FCKListsLib.BlockElements[parentTag] || - FCKListsLib.NonEmptyBlockElements[parentTag] ) ) - { - return ; - } - - // Force the selection to happen, in this way we guarantee the focus will - // be there. - range = new FCKDomRange( this.Window ) ; - range.MoveToElementEditStart( parentNode ) ; - range.Select() ; -} - -function FCKEditingArea_Cleanup() -{ - if ( this.Document ) - this.Document.body.innerHTML = "" ; - this.TargetElement = null ; - this.IFrame = null ; - this.Document = null ; - this.Textarea = null ; - - if ( this.Window ) - { - this.Window._FCKEditingArea = null ; - this.Window = null ; - } -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckelementpath.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckelementpath.js deleted file mode 100644 index 2bf4eb3e9..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckelementpath.js +++ /dev/null @@ -1,89 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Manages the DOM ascensors element list of a specific DOM node - * (limited to body, inclusive). - */ - -var FCKElementPath = function( lastNode ) -{ - var eBlock = null ; - var eBlockLimit = null ; - - var aElements = new Array() ; - - var e = lastNode ; - while ( e ) - { - if ( e.nodeType == 1 ) - { - if ( !this.LastElement ) - this.LastElement = e ; - - var sElementName = e.nodeName.toLowerCase() ; - if ( FCKBrowserInfo.IsIE && e.scopeName != 'HTML' ) - sElementName = e.scopeName.toLowerCase() + ':' + sElementName ; - - if ( !eBlockLimit ) - { - if ( !eBlock && FCKListsLib.PathBlockElements[ sElementName ] != null ) - eBlock = e ; - - if ( FCKListsLib.PathBlockLimitElements[ sElementName ] != null ) - { - // DIV is considered the Block, if no block is available (#525) - // and if it doesn't contain other blocks. - if ( !eBlock && sElementName == 'div' && !FCKElementPath._CheckHasBlock( e ) ) - eBlock = e ; - else - eBlockLimit = e ; - } - } - - aElements.push( e ) ; - - if ( sElementName == 'body' ) - break ; - } - e = e.parentNode ; - } - - this.Block = eBlock ; - this.BlockLimit = eBlockLimit ; - this.Elements = aElements ; -} - -/** - * Check if an element contains any block element. - */ -FCKElementPath._CheckHasBlock = function( element ) -{ - var childNodes = element.childNodes ; - - for ( var i = 0, count = childNodes.length ; i < count ; i++ ) - { - var child = childNodes[i] ; - - if ( child.nodeType == 1 && FCKListsLib.BlockElements[ child.nodeName.toLowerCase() ] ) - return true ; - } - - return false ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckenterkey.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckenterkey.js deleted file mode 100644 index 49f64bea7..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckenterkey.js +++ /dev/null @@ -1,688 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Controls the [Enter] keystroke behavior in a document. - */ - -/* - * Constructor. - * @targetDocument : the target document. - * @enterMode : the behavior for the keystroke. - * May be "p", "div", "br". Default is "p". - * @shiftEnterMode : the behavior for the + keystroke. - * May be "p", "div", "br". Defaults to "br". - */ -var FCKEnterKey = function( targetWindow, enterMode, shiftEnterMode, tabSpaces ) -{ - this.Window = targetWindow ; - this.EnterMode = enterMode || 'p' ; - this.ShiftEnterMode = shiftEnterMode || 'br' ; - - // Setup the Keystroke Handler. - var oKeystrokeHandler = new FCKKeystrokeHandler( false ) ; - oKeystrokeHandler._EnterKey = this ; - oKeystrokeHandler.OnKeystroke = FCKEnterKey_OnKeystroke ; - - oKeystrokeHandler.SetKeystrokes( [ - [ 13 , 'Enter' ], - [ SHIFT + 13, 'ShiftEnter' ], - [ 8 , 'Backspace' ], - [ CTRL + 8 , 'CtrlBackspace' ], - [ 46 , 'Delete' ] - ] ) ; - - this.TabText = '' ; - - // Safari by default inserts 4 spaces on TAB, while others make the editor - // loose focus. So, we need to handle it here to not include those spaces. - if ( tabSpaces > 0 || FCKBrowserInfo.IsSafari ) - { - while ( tabSpaces-- ) - this.TabText += '\xa0' ; - - oKeystrokeHandler.SetKeystrokes( [ 9, 'Tab' ] ); - } - - oKeystrokeHandler.AttachToElement( targetWindow.document ) ; -} - - -function FCKEnterKey_OnKeystroke( keyCombination, keystrokeValue ) -{ - var oEnterKey = this._EnterKey ; - - try - { - switch ( keystrokeValue ) - { - case 'Enter' : - return oEnterKey.DoEnter() ; - break ; - case 'ShiftEnter' : - return oEnterKey.DoShiftEnter() ; - break ; - case 'Backspace' : - return oEnterKey.DoBackspace() ; - break ; - case 'Delete' : - return oEnterKey.DoDelete() ; - break ; - case 'Tab' : - return oEnterKey.DoTab() ; - break ; - case 'CtrlBackspace' : - return oEnterKey.DoCtrlBackspace() ; - break ; - } - } - catch (e) - { - // If for any reason we are not able to handle it, go - // ahead with the browser default behavior. - } - - return false ; -} - -/* - * Executes the key behavior. - */ -FCKEnterKey.prototype.DoEnter = function( mode, hasShift ) -{ - // Save an undo snapshot before doing anything - FCKUndo.SaveUndoStep() ; - - this._HasShift = ( hasShift === true ) ; - - var parentElement = FCKSelection.GetParentElement() ; - var parentPath = new FCKElementPath( parentElement ) ; - var sMode = mode || this.EnterMode ; - - if ( sMode == 'br' || parentPath.Block && parentPath.Block.tagName.toLowerCase() == 'pre' ) - return this._ExecuteEnterBr() ; - else - return this._ExecuteEnterBlock( sMode ) ; -} - -/* - * Executes the + key behavior. - */ -FCKEnterKey.prototype.DoShiftEnter = function() -{ - return this.DoEnter( this.ShiftEnterMode, true ) ; -} - -/* - * Executes the key behavior. - */ -FCKEnterKey.prototype.DoBackspace = function() -{ - var bCustom = false ; - - // Get the current selection. - var oRange = new FCKDomRange( this.Window ) ; - oRange.MoveToSelection() ; - - // Kludge for #247 - if ( FCKBrowserInfo.IsIE && this._CheckIsAllContentsIncluded( oRange, this.Window.document.body ) ) - { - this._FixIESelectAllBug( oRange ) ; - return true ; - } - - var isCollapsed = oRange.CheckIsCollapsed() ; - - if ( !isCollapsed ) - { - // Bug #327, Backspace with an img selection would activate the default action in IE. - // Let's override that with our logic here. - if ( FCKBrowserInfo.IsIE && this.Window.document.selection.type.toLowerCase() == "control" ) - { - var controls = this.Window.document.selection.createRange() ; - for ( var i = controls.length - 1 ; i >= 0 ; i-- ) - { - var el = controls.item( i ) ; - el.parentNode.removeChild( el ) ; - } - return true ; - } - - return false ; - } - - // On IE, it is better for us handle the deletion if the caret is preceeded - // by a
        (#1383). - if ( FCKBrowserInfo.IsIE ) - { - var previousElement = FCKDomTools.GetPreviousSourceElement( oRange.StartNode, true ) ; - - if ( previousElement && previousElement.nodeName.toLowerCase() == 'br' ) - { - // Create a range that starts after the
        and ends at the - // current range position. - var testRange = oRange.Clone() ; - testRange.SetStart( previousElement, 4 ) ; - - // If that range is empty, we can proceed cleaning that
        manually. - if ( testRange.CheckIsEmpty() ) - { - previousElement.parentNode.removeChild( previousElement ) ; - return true ; - } - } - } - - var oStartBlock = oRange.StartBlock ; - var oEndBlock = oRange.EndBlock ; - - // The selection boundaries must be in the same "block limit" element - if ( oRange.StartBlockLimit == oRange.EndBlockLimit && oStartBlock && oEndBlock ) - { - if ( !isCollapsed ) - { - var bEndOfBlock = oRange.CheckEndOfBlock() ; - - oRange.DeleteContents() ; - - if ( oStartBlock != oEndBlock ) - { - oRange.SetStart(oEndBlock,1) ; - oRange.SetEnd(oEndBlock,1) ; - -// if ( bEndOfBlock ) -// oEndBlock.parentNode.removeChild( oEndBlock ) ; - } - - oRange.Select() ; - - bCustom = ( oStartBlock == oEndBlock ) ; - } - - if ( oRange.CheckStartOfBlock() ) - { - var oCurrentBlock = oRange.StartBlock ; - - var ePrevious = FCKDomTools.GetPreviousSourceElement( oCurrentBlock, true, [ 'BODY', oRange.StartBlockLimit.nodeName ], ['UL','OL'] ) ; - - bCustom = this._ExecuteBackspace( oRange, ePrevious, oCurrentBlock ) ; - } - else if ( FCKBrowserInfo.IsGeckoLike ) - { - // Firefox and Opera (#1095) loose the selection when executing - // CheckStartOfBlock, so we must reselect. - oRange.Select() ; - } - } - - oRange.Release() ; - return bCustom ; -} - -FCKEnterKey.prototype.DoCtrlBackspace = function() -{ - FCKUndo.SaveUndoStep() ; - var oRange = new FCKDomRange( this.Window ) ; - oRange.MoveToSelection() ; - if ( FCKBrowserInfo.IsIE && this._CheckIsAllContentsIncluded( oRange, this.Window.document.body ) ) - { - this._FixIESelectAllBug( oRange ) ; - return true ; - } - return false ; -} - -FCKEnterKey.prototype._ExecuteBackspace = function( range, previous, currentBlock ) -{ - var bCustom = false ; - - // We could be in a nested LI. - if ( !previous && currentBlock && currentBlock.nodeName.IEquals( 'LI' ) && currentBlock.parentNode.parentNode.nodeName.IEquals( 'LI' ) ) - { - this._OutdentWithSelection( currentBlock, range ) ; - return true ; - } - - if ( previous && previous.nodeName.IEquals( 'LI' ) ) - { - var oNestedList = FCKDomTools.GetLastChild( previous, ['UL','OL'] ) ; - - while ( oNestedList ) - { - previous = FCKDomTools.GetLastChild( oNestedList, 'LI' ) ; - oNestedList = FCKDomTools.GetLastChild( previous, ['UL','OL'] ) ; - } - } - - if ( previous && currentBlock ) - { - // If we are in a LI, and the previous block is not an LI, we must outdent it. - if ( currentBlock.nodeName.IEquals( 'LI' ) && !previous.nodeName.IEquals( 'LI' ) ) - { - this._OutdentWithSelection( currentBlock, range ) ; - return true ; - } - - // Take a reference to the parent for post processing cleanup. - var oCurrentParent = currentBlock.parentNode ; - - var sPreviousName = previous.nodeName.toLowerCase() ; - if ( FCKListsLib.EmptyElements[ sPreviousName ] != null || sPreviousName == 'table' ) - { - FCKDomTools.RemoveNode( previous ) ; - bCustom = true ; - } - else - { - // Remove the current block. - FCKDomTools.RemoveNode( currentBlock ) ; - - // Remove any empty tag left by the block removal. - while ( oCurrentParent.innerHTML.Trim().length == 0 ) - { - var oParent = oCurrentParent.parentNode ; - oParent.removeChild( oCurrentParent ) ; - oCurrentParent = oParent ; - } - - // Cleanup the previous and the current elements. - FCKDomTools.LTrimNode( currentBlock ) ; - FCKDomTools.RTrimNode( previous ) ; - - // Append a space to the previous. - // Maybe it is not always desirable... - // previous.appendChild( this.Window.document.createTextNode( ' ' ) ) ; - - // Set the range to the end of the previous element and bookmark it. - range.SetStart( previous, 2, true ) ; - range.Collapse( true ) ; - var oBookmark = range.CreateBookmark( true ) ; - - // Move the contents of the block to the previous element and delete it. - // But for some block types (e.g. table), moving the children to the previous block makes no sense. - // So a check is needed. (See #1081) - if ( ! currentBlock.tagName.IEquals( [ 'TABLE' ] ) ) - FCKDomTools.MoveChildren( currentBlock, previous ) ; - - // Place the selection at the bookmark. - range.SelectBookmark( oBookmark ) ; - - bCustom = true ; - } - } - - return bCustom ; -} - -/* - * Executes the key behavior. - */ -FCKEnterKey.prototype.DoDelete = function() -{ - // Save an undo snapshot before doing anything - // This is to conform with the behavior seen in MS Word - FCKUndo.SaveUndoStep() ; - - // The has the same effect as the , so we have the same - // results if we just move to the next block and apply the same logic. - - var bCustom = false ; - - // Get the current selection. - var oRange = new FCKDomRange( this.Window ) ; - oRange.MoveToSelection() ; - - // Kludge for #247 - if ( FCKBrowserInfo.IsIE && this._CheckIsAllContentsIncluded( oRange, this.Window.document.body ) ) - { - this._FixIESelectAllBug( oRange ) ; - return true ; - } - - // There is just one special case for collapsed selections at the end of a block. - if ( oRange.CheckIsCollapsed() && oRange.CheckEndOfBlock( FCKBrowserInfo.IsGeckoLike ) ) - { - var oCurrentBlock = oRange.StartBlock ; - var eCurrentCell = FCKTools.GetElementAscensor( oCurrentBlock, 'td' ); - - var eNext = FCKDomTools.GetNextSourceElement( oCurrentBlock, true, [ oRange.StartBlockLimit.nodeName ], - ['UL','OL','TR'], true ) ; - - // Bug #1323 : if we're in a table cell, and the next node belongs to a different cell, then don't - // delete anything. - if ( eCurrentCell ) - { - var eNextCell = FCKTools.GetElementAscensor( eNext, 'td' ); - if ( eNextCell != eCurrentCell ) - return true ; - } - - bCustom = this._ExecuteBackspace( oRange, oCurrentBlock, eNext ) ; - } - - oRange.Release() ; - return bCustom ; -} - -/* - * Executes the key behavior. - */ -FCKEnterKey.prototype.DoTab = function() -{ - var oRange = new FCKDomRange( this.Window ); - oRange.MoveToSelection() ; - - // If the user pressed inside a table, we should give him the default behavior ( moving between cells ) - // instead of giving him more non-breaking spaces. (Bug #973) - var node = oRange._Range.startContainer ; - while ( node ) - { - if ( node.nodeType == 1 ) - { - var tagName = node.tagName.toLowerCase() ; - if ( tagName == "tr" || tagName == "td" || tagName == "th" || tagName == "tbody" || tagName == "table" ) - return false ; - else - break ; - } - node = node.parentNode ; - } - - if ( this.TabText ) - { - oRange.DeleteContents() ; - oRange.InsertNode( this.Window.document.createTextNode( this.TabText ) ) ; - oRange.Collapse( false ) ; - oRange.Select() ; - } - return true ; -} - -FCKEnterKey.prototype._ExecuteEnterBlock = function( blockTag, range ) -{ - // Get the current selection. - var oRange = range || new FCKDomRange( this.Window ) ; - - var oSplitInfo = oRange.SplitBlock( blockTag ) ; - - if ( oSplitInfo ) - { - // Get the current blocks. - var ePreviousBlock = oSplitInfo.PreviousBlock ; - var eNextBlock = oSplitInfo.NextBlock ; - - var bIsStartOfBlock = oSplitInfo.WasStartOfBlock ; - var bIsEndOfBlock = oSplitInfo.WasEndOfBlock ; - - // If there is one block under a list item, modify the split so that the list item gets split as well. (Bug #1647) - if ( eNextBlock ) - { - if ( eNextBlock.parentNode.nodeName.IEquals( 'li' ) ) - { - FCKDomTools.BreakParent( eNextBlock, eNextBlock.parentNode ) ; - FCKDomTools.MoveNode( eNextBlock, eNextBlock.nextSibling, true ) ; - } - } - else if ( ePreviousBlock && ePreviousBlock.parentNode.nodeName.IEquals( 'li' ) ) - { - FCKDomTools.BreakParent( ePreviousBlock, ePreviousBlock.parentNode ) ; - oRange.MoveToElementEditStart( ePreviousBlock.nextSibling ); - FCKDomTools.MoveNode( ePreviousBlock, ePreviousBlock.previousSibling ) ; - } - - // If we have both the previous and next blocks, it means that the - // boundaries were on separated blocks, or none of them where on the - // block limits (start/end). - if ( !bIsStartOfBlock && !bIsEndOfBlock ) - { - // If the next block is an
      4. with another list tree as the first child - // We'll need to append a placeholder or the list item wouldn't be editable. (Bug #1420) - if ( eNextBlock.nodeName.IEquals( 'li' ) && eNextBlock.firstChild - && eNextBlock.firstChild.nodeName.IEquals( ['ul', 'ol'] ) ) - eNextBlock.insertBefore( FCKTools.GetElementDocument( eNextBlock ).createTextNode( '\xa0' ), eNextBlock.firstChild ) ; - // Move the selection to the end block. - if ( eNextBlock ) - oRange.MoveToElementEditStart( eNextBlock ) ; - } - else - { - if ( bIsStartOfBlock && bIsEndOfBlock && ePreviousBlock.tagName.toUpperCase() == 'LI' ) - { - oRange.MoveToElementStart( ePreviousBlock ) ; - this._OutdentWithSelection( ePreviousBlock, oRange ) ; - oRange.Release() ; - return true ; - } - - var eNewBlock ; - - if ( ePreviousBlock ) - { - var sPreviousBlockTag = ePreviousBlock.tagName.toUpperCase() ; - - // If is a header tag, or we are in a Shift+Enter (#77), - // create a new block element (later in the code). - if ( !this._HasShift && !(/^H[1-6]$/).test( sPreviousBlockTag ) ) - { - // Otherwise, duplicate the previous block. - eNewBlock = FCKDomTools.CloneElement( ePreviousBlock ) ; - } - } - else if ( eNextBlock ) - eNewBlock = FCKDomTools.CloneElement( eNextBlock ) ; - - if ( !eNewBlock ) - eNewBlock = this.Window.document.createElement( blockTag ) ; - - // Recreate the inline elements tree, which was available - // before the hitting enter, so the same styles will be - // available in the new block. - var elementPath = oSplitInfo.ElementPath ; - if ( elementPath ) - { - for ( var i = 0, len = elementPath.Elements.length ; i < len ; i++ ) - { - var element = elementPath.Elements[i] ; - - if ( element == elementPath.Block || element == elementPath.BlockLimit ) - break ; - - if ( FCKListsLib.InlineChildReqElements[ element.nodeName.toLowerCase() ] ) - { - element = FCKDomTools.CloneElement( element ) ; - FCKDomTools.MoveChildren( eNewBlock, element ) ; - eNewBlock.appendChild( element ) ; - } - } - } - - if ( FCKBrowserInfo.IsGeckoLike ) - FCKTools.AppendBogusBr( eNewBlock ) ; - - oRange.InsertNode( eNewBlock ) ; - - // This is tricky, but to make the new block visible correctly - // we must select it. - if ( FCKBrowserInfo.IsIE ) - { - // Move the selection to the new block. - oRange.MoveToElementEditStart( eNewBlock ) ; - oRange.Select() ; - } - - // Move the selection to the new block. - oRange.MoveToElementEditStart( bIsStartOfBlock && !bIsEndOfBlock ? eNextBlock : eNewBlock ) ; - } - - if ( FCKBrowserInfo.IsGeckoLike ) - FCKDomTools.ScrollIntoView( eNextBlock || eNewBlock, false ) ; - - oRange.Select() ; - } - - // Release the resources used by the range. - oRange.Release() ; - - return true ; -} - -FCKEnterKey.prototype._ExecuteEnterBr = function( blockTag ) -{ - // Get the current selection. - var oRange = new FCKDomRange( this.Window ) ; - oRange.MoveToSelection() ; - - // The selection boundaries must be in the same "block limit" element. - if ( oRange.StartBlockLimit == oRange.EndBlockLimit ) - { - oRange.DeleteContents() ; - - // Get the new selection (it is collapsed at this point). - oRange.MoveToSelection() ; - - var bIsStartOfBlock = oRange.CheckStartOfBlock() ; - var bIsEndOfBlock = oRange.CheckEndOfBlock() ; - - var sStartBlockTag = oRange.StartBlock ? oRange.StartBlock.tagName.toUpperCase() : '' ; - - var bHasShift = this._HasShift ; - var bIsPre = false ; - - if ( !bHasShift && sStartBlockTag == 'LI' ) - return this._ExecuteEnterBlock( null, oRange ) ; - - // If we are at the end of a header block. - if ( !bHasShift && bIsEndOfBlock && (/^H[1-6]$/).test( sStartBlockTag ) ) - { - // Insert a BR after the current paragraph. - FCKDomTools.InsertAfterNode( oRange.StartBlock, this.Window.document.createElement( 'br' ) ) ; - - // The space is required by Gecko only to make the cursor blink. - if ( FCKBrowserInfo.IsGecko ) - FCKDomTools.InsertAfterNode( oRange.StartBlock, this.Window.document.createTextNode( '' ) ) ; - - // IE and Gecko have different behaviors regarding the position. - oRange.SetStart( oRange.StartBlock.nextSibling, FCKBrowserInfo.IsIE ? 3 : 1 ) ; - } - else - { - var eLineBreak ; - bIsPre = sStartBlockTag.IEquals( 'pre' ) ; - if ( bIsPre ) - eLineBreak = this.Window.document.createTextNode( FCKBrowserInfo.IsIE ? '\r' : '\n' ) ; - else - eLineBreak = this.Window.document.createElement( 'br' ) ; - - oRange.InsertNode( eLineBreak ) ; - - // The space is required by Gecko only to make the cursor blink. - if ( FCKBrowserInfo.IsGecko ) - FCKDomTools.InsertAfterNode( eLineBreak, this.Window.document.createTextNode( '' ) ) ; - - // If we are at the end of a block, we must be sure the bogus node is available in that block. - if ( bIsEndOfBlock && FCKBrowserInfo.IsGeckoLike ) - FCKTools.AppendBogusBr( eLineBreak.parentNode ) ; - - if ( FCKBrowserInfo.IsIE ) - oRange.SetStart( eLineBreak, 4 ) ; - else - oRange.SetStart( eLineBreak.nextSibling, 1 ) ; - - if ( ! FCKBrowserInfo.IsIE ) - { - var dummy = null ; - if ( FCKBrowserInfo.IsOpera ) - dummy = this.Window.document.createElement( 'span' ) ; - else - dummy = this.Window.document.createElement( 'br' ) ; - - eLineBreak.parentNode.insertBefore( dummy, eLineBreak.nextSibling ) ; - - FCKDomTools.ScrollIntoView( dummy, false ) ; - - dummy.parentNode.removeChild( dummy ) ; - } - } - - // This collapse guarantees the cursor will be blinking. - oRange.Collapse( true ) ; - - oRange.Select( bIsPre ) ; - } - - // Release the resources used by the range. - oRange.Release() ; - - return true ; -} - -// Outdents a LI, maintaining the selection defined on a range. -FCKEnterKey.prototype._OutdentWithSelection = function( li, range ) -{ - var oBookmark = range.CreateBookmark() ; - - FCKListHandler.OutdentListItem( li ) ; - - range.MoveToBookmark( oBookmark ) ; - range.Select() ; -} - -// Is all the contents under a node included by a range? -FCKEnterKey.prototype._CheckIsAllContentsIncluded = function( range, node ) -{ - var startOk = false ; - var endOk = false ; - - /* - FCKDebug.Output( 'sc='+range.StartContainer.nodeName+ - ',so='+range._Range.startOffset+ - ',ec='+range.EndContainer.nodeName+ - ',eo='+range._Range.endOffset ) ; - */ - if ( range.StartContainer == node || range.StartContainer == node.firstChild ) - startOk = ( range._Range.startOffset == 0 ) ; - - if ( range.EndContainer == node || range.EndContainer == node.lastChild ) - { - var nodeLength = range.EndContainer.nodeType == 3 ? range.EndContainer.length : range.EndContainer.childNodes.length ; - endOk = ( range._Range.endOffset == nodeLength ) ; - } - - return startOk && endOk ; -} - -// Kludge for #247 -FCKEnterKey.prototype._FixIESelectAllBug = function( range ) -{ - var doc = this.Window.document ; - doc.body.innerHTML = '' ; - var editBlock ; - if ( FCKConfig.EnterMode.IEquals( ['div', 'p'] ) ) - { - editBlock = doc.createElement( FCKConfig.EnterMode ) ; - doc.body.appendChild( editBlock ) ; - } - else - editBlock = doc.body ; - - range.MoveToNodeContents( editBlock ) ; - range.Collapse( true ) ; - range.Select() ; - range.Release() ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckevents.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckevents.js deleted file mode 100644 index ef2e10f6e..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckevents.js +++ /dev/null @@ -1,71 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * FCKEvents Class: used to handle events is a advanced way. - */ - -var FCKEvents = function( eventsOwner ) -{ - this.Owner = eventsOwner ; - this._RegisteredEvents = new Object() ; -} - -FCKEvents.prototype.AttachEvent = function( eventName, functionPointer ) -{ - var aTargets ; - - if ( !( aTargets = this._RegisteredEvents[ eventName ] ) ) - this._RegisteredEvents[ eventName ] = [ functionPointer ] ; - else - { - // Check that the event handler isn't already registered with the same listener - // It doesn't detect function pointers belonging to an object (at least in Gecko) - if ( aTargets.IndexOf( functionPointer ) == -1 ) - aTargets.push( functionPointer ) ; - } -} - -FCKEvents.prototype.FireEvent = function( eventName, params ) -{ - var bReturnValue = true ; - - var oCalls = this._RegisteredEvents[ eventName ] ; - - if ( oCalls ) - { - for ( var i = 0 ; i < oCalls.length ; i++ ) - { - try - { - bReturnValue = ( oCalls[ i ]( this.Owner, params ) && bReturnValue ) ; - } - catch(e) - { - // Ignore the following error. It may happen if pointing to a - // script not anymore available (#934): - // -2146823277 = Can't execute code from a freed script - if ( e.number != -2146823277 ) - throw e ; - } - } - } - - return bReturnValue ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckhtmliterator.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckhtmliterator.js deleted file mode 100644 index 9f184b7c1..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckhtmliterator.js +++ /dev/null @@ -1,142 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This class can be used to interate through nodes inside a range. - * - * During interation, the provided range can become invalid, due to document - * mutations, so CreateBookmark() used to restore it after processing, if - * needed. - */ - -var FCKHtmlIterator = function( source ) -{ - this._sourceHtml = source ; -} -FCKHtmlIterator.prototype = -{ - Next : function() - { - var sourceHtml = this._sourceHtml ; - if ( sourceHtml == null ) - return null ; - - var match = FCKRegexLib.HtmlTag.exec( sourceHtml ) ; - var isTag = false ; - var value = "" ; - if ( match ) - { - if ( match.index > 0 ) - { - value = sourceHtml.substr( 0, match.index ) ; - this._sourceHtml = sourceHtml.substr( match.index ) ; - } - else - { - isTag = true ; - value = match[0] ; - this._sourceHtml = sourceHtml.substr( match[0].length ) ; - } - } - else - { - value = sourceHtml ; - this._sourceHtml = null ; - } - return { 'isTag' : isTag, 'value' : value } ; - }, - - Each : function( func ) - { - var chunk ; - while ( ( chunk = this.Next() ) ) - func( chunk.isTag, chunk.value ) ; - } -} ; -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This class can be used to interate through nodes inside a range. - * - * During interation, the provided range can become invalid, due to document - * mutations, so CreateBookmark() used to restore it after processing, if - * needed. - */ - -var FCKHtmlIterator = function( source ) -{ - this._sourceHtml = source ; -} -FCKHtmlIterator.prototype = -{ - Next : function() - { - var sourceHtml = this._sourceHtml ; - if ( sourceHtml == null ) - return null ; - - var match = FCKRegexLib.HtmlTag.exec( sourceHtml ) ; - var isTag = false ; - var value = "" ; - if ( match ) - { - if ( match.index > 0 ) - { - value = sourceHtml.substr( 0, match.index ) ; - this._sourceHtml = sourceHtml.substr( match.index ) ; - } - else - { - isTag = true ; - value = match[0] ; - this._sourceHtml = sourceHtml.substr( match[0].length ) ; - } - } - else - { - value = sourceHtml ; - this._sourceHtml = null ; - } - return { 'isTag' : isTag, 'value' : value } ; - }, - - Each : function( func ) - { - var chunk ; - while ( ( chunk = this.Next() ) ) - func( chunk.isTag, chunk.value ) ; - } -} ; diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckicon.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckicon.js deleted file mode 100644 index 89719f6e1..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckicon.js +++ /dev/null @@ -1,103 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * FCKIcon Class: renders an icon from a single image, a strip or even a - * spacer. - */ - -var FCKIcon = function( iconPathOrStripInfoArray ) -{ - var sTypeOf = iconPathOrStripInfoArray ? typeof( iconPathOrStripInfoArray ) : 'undefined' ; - switch ( sTypeOf ) - { - case 'number' : - this.Path = FCKConfig.SkinPath + 'fck_strip.gif' ; - this.Size = 16 ; - this.Position = iconPathOrStripInfoArray ; - break ; - - case 'undefined' : - this.Path = FCK_SPACER_PATH ; - break ; - - case 'string' : - this.Path = iconPathOrStripInfoArray ; - break ; - - default : - // It is an array in the format [ StripFilePath, IconSize, IconPosition ] - this.Path = iconPathOrStripInfoArray[0] ; - this.Size = iconPathOrStripInfoArray[1] ; - this.Position = iconPathOrStripInfoArray[2] ; - } -} - -FCKIcon.prototype.CreateIconElement = function( document ) -{ - var eIcon, eIconImage ; - - if ( this.Position ) // It is using an icons strip image. - { - var sPos = '-' + ( ( this.Position - 1 ) * this.Size ) + 'px' ; - - if ( FCKBrowserInfo.IsIE ) - { - //
        - - eIcon = document.createElement( 'DIV' ) ; - - eIconImage = eIcon.appendChild( document.createElement( 'IMG' ) ) ; - eIconImage.src = this.Path ; - eIconImage.style.top = sPos ; - } - else - { - // - - eIcon = document.createElement( 'IMG' ) ; - eIcon.src = FCK_SPACER_PATH ; - eIcon.style.backgroundPosition = '0px ' + sPos ; - eIcon.style.backgroundImage = 'url("' + this.Path + '")' ; - } - } - else // It is using a single icon image. - { - if ( FCKBrowserInfo.IsIE ) - { - // IE makes the button 1px higher if using the directly, so we - // are changing to the
        system to clip the image correctly. - eIcon = document.createElement( 'DIV' ) ; - - eIconImage = eIcon.appendChild( document.createElement( 'IMG' ) ) ; - eIconImage.src = this.Path ? this.Path : FCK_SPACER_PATH ; - } - else - { - // This is not working well with IE. See notes above. - // - eIcon = document.createElement( 'IMG' ) ; - eIcon.src = this.Path ? this.Path : FCK_SPACER_PATH ; - } - } - - eIcon.className = 'TB_Button_Image' ; - - return eIcon ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckiecleanup.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckiecleanup.js deleted file mode 100644 index 9a0900546..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckiecleanup.js +++ /dev/null @@ -1,68 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * FCKIECleanup Class: a generic class used as a tool to remove IE leaks. - */ - -var FCKIECleanup = function( attachWindow ) -{ - // If the attachWindow already have a cleanup object, just use that one. - if ( attachWindow._FCKCleanupObj ) - this.Items = attachWindow._FCKCleanupObj.Items ; - else - { - this.Items = new Array() ; - - attachWindow._FCKCleanupObj = this ; - FCKTools.AddEventListenerEx( attachWindow, 'unload', FCKIECleanup_Cleanup ) ; -// attachWindow.attachEvent( 'onunload', FCKIECleanup_Cleanup ) ; - } -} - -FCKIECleanup.prototype.AddItem = function( dirtyItem, cleanupFunction ) -{ - this.Items.push( [ dirtyItem, cleanupFunction ] ) ; -} - -function FCKIECleanup_Cleanup() -{ - if ( !this._FCKCleanupObj || ( FCKConfig.MsWebBrowserControlCompat && !window.FCKUnloadFlag ) ) - return ; - - var aItems = this._FCKCleanupObj.Items ; - - while ( aItems.length > 0 ) - { - - // It is important to remove from the end to the beginning (pop()), - // because of the order things get created in the editor. In the code, - // elements in deeper position in the DOM are placed at the end of the - // cleanup function, so we must cleanup then first, otherwise IE could - // throw some crazy memory errors (IE bug). - var oItem = aItems.pop() ; - if ( oItem ) - oItem[1].call( oItem[0] ) ; - } - - this._FCKCleanupObj = null ; - - if ( CollectGarbage ) - CollectGarbage() ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckimagepreloader.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckimagepreloader.js deleted file mode 100644 index 92fd305e3..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckimagepreloader.js +++ /dev/null @@ -1,64 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Preload a list of images, firing an event when complete. - */ - -var FCKImagePreloader = function() -{ - this._Images = new Array() ; -} - -FCKImagePreloader.prototype = -{ - AddImages : function( images ) - { - if ( typeof( images ) == 'string' ) - images = images.split( ';' ) ; - - this._Images = this._Images.concat( images ) ; - }, - - Start : function() - { - var aImages = this._Images ; - this._PreloadCount = aImages.length ; - - for ( var i = 0 ; i < aImages.length ; i++ ) - { - var eImg = document.createElement( 'img' ) ; - FCKTools.AddEventListenerEx( eImg, 'load', _FCKImagePreloader_OnImage, this ) ; - FCKTools.AddEventListenerEx( eImg, 'error', _FCKImagePreloader_OnImage, this ) ; - eImg.src = aImages[i] ; - - _FCKImagePreloader_ImageCache.push( eImg ) ; - } - } -}; - -// All preloaded images must be placed in a global array, otherwise the preload -// magic will not happen. -var _FCKImagePreloader_ImageCache = new Array() ; - -function _FCKImagePreloader_OnImage( ev, imagePreloader ) -{ - if ( (--imagePreloader._PreloadCount) == 0 && imagePreloader.OnComplete ) - imagePreloader.OnComplete() ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckkeystrokehandler.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckkeystrokehandler.js deleted file mode 100644 index 31c341ba7..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckkeystrokehandler.js +++ /dev/null @@ -1,141 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Control keyboard keystroke combinations. - */ - -var FCKKeystrokeHandler = function( cancelCtrlDefaults ) -{ - this.Keystrokes = new Object() ; - this.CancelCtrlDefaults = ( cancelCtrlDefaults !== false ) ; -} - -/* - * Listen to keystroke events in an element or DOM document object. - * @target: The element or document to listen to keystroke events. - */ -FCKKeystrokeHandler.prototype.AttachToElement = function( target ) -{ - // For newer browsers, it is enough to listen to the keydown event only. - // Some browsers instead, don't cancel key events in the keydown, but in the - // keypress. So we must do a longer trip in those cases. - FCKTools.AddEventListenerEx( target, 'keydown', _FCKKeystrokeHandler_OnKeyDown, this ) ; - if ( FCKBrowserInfo.IsGecko10 || FCKBrowserInfo.IsOpera || ( FCKBrowserInfo.IsGecko && FCKBrowserInfo.IsMac ) ) - FCKTools.AddEventListenerEx( target, 'keypress', _FCKKeystrokeHandler_OnKeyPress, this ) ; -} - -/* - * Sets a list of keystrokes. It can receive either a single array or "n" - * arguments, each one being an array of 1 or 2 elemenst. The first element - * is the keystroke combination, and the second is the value to assign to it. - * If the second element is missing, the keystroke definition is removed. - */ -FCKKeystrokeHandler.prototype.SetKeystrokes = function() -{ - // Look through the arguments. - for ( var i = 0 ; i < arguments.length ; i++ ) - { - var keyDef = arguments[i] ; - - // If the configuration for the keystrokes is missing some element or has any extra comma - // this item won't be valid, so skip it and keep on processing. - if ( !keyDef ) - continue ; - - if ( typeof( keyDef[0] ) == 'object' ) // It is an array with arrays defining the keystrokes. - this.SetKeystrokes.apply( this, keyDef ) ; - else - { - if ( keyDef.length == 1 ) // If it has only one element, remove the keystroke. - delete this.Keystrokes[ keyDef[0] ] ; - else // Otherwise add it. - this.Keystrokes[ keyDef[0] ] = keyDef[1] === true ? true : keyDef ; - } - } -} - -function _FCKKeystrokeHandler_OnKeyDown( ev, keystrokeHandler ) -{ - // Get the key code. - var keystroke = ev.keyCode || ev.which ; - - // Combine it with the CTRL, SHIFT and ALT states. - var keyModifiers = 0 ; - - if ( ev.ctrlKey || ev.metaKey ) - keyModifiers += CTRL ; - - if ( ev.shiftKey ) - keyModifiers += SHIFT ; - - if ( ev.altKey ) - keyModifiers += ALT ; - - var keyCombination = keystroke + keyModifiers ; - - var cancelIt = keystrokeHandler._CancelIt = false ; - - // Look for its definition availability. - var keystrokeValue = keystrokeHandler.Keystrokes[ keyCombination ] ; - -// FCKDebug.Output( 'KeyDown: ' + keyCombination + ' - Value: ' + keystrokeValue ) ; - - // If the keystroke is defined - if ( keystrokeValue ) - { - // If the keystroke has been explicitly set to "true" OR calling the - // "OnKeystroke" event, it doesn't return "true", the default behavior - // must be preserved. - if ( keystrokeValue === true || !( keystrokeHandler.OnKeystroke && keystrokeHandler.OnKeystroke.apply( keystrokeHandler, keystrokeValue ) ) ) - return true ; - - cancelIt = true ; - } - - // By default, it will cancel all combinations with the CTRL key only (except positioning keys). - if ( cancelIt || ( keystrokeHandler.CancelCtrlDefaults && keyModifiers == CTRL && ( keystroke < 33 || keystroke > 40 ) ) ) - { - keystrokeHandler._CancelIt = true ; - - if ( ev.preventDefault ) - return ev.preventDefault() ; - - ev.returnValue = false ; - ev.cancelBubble = true ; - return false ; - } - - return true ; -} - -function _FCKKeystrokeHandler_OnKeyPress( ev, keystrokeHandler ) -{ - if ( keystrokeHandler._CancelIt ) - { -// FCKDebug.Output( 'KeyPress Cancel', 'Red') ; - - if ( ev.preventDefault ) - return ev.preventDefault() ; - - return false ; - } - - return true ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckmenublock.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckmenublock.js deleted file mode 100644 index 1cd710dcc..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckmenublock.js +++ /dev/null @@ -1,153 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Renders a list of menu items. - */ - -var FCKMenuBlock = function() -{ - this._Items = new Array() ; -} - - -FCKMenuBlock.prototype.Count = function() -{ - return this._Items.length ; -} - -FCKMenuBlock.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) -{ - var oItem = new FCKMenuItem( this, name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) ; - - oItem.OnClick = FCKTools.CreateEventListener( FCKMenuBlock_Item_OnClick, this ) ; - oItem.OnActivate = FCKTools.CreateEventListener( FCKMenuBlock_Item_OnActivate, this ) ; - - this._Items.push( oItem ) ; - - return oItem ; -} - -FCKMenuBlock.prototype.AddSeparator = function() -{ - this._Items.push( new FCKMenuSeparator() ) ; -} - -FCKMenuBlock.prototype.RemoveAllItems = function() -{ - this._Items = new Array() ; - - var eItemsTable = this._ItemsTable ; - if ( eItemsTable ) - { - while ( eItemsTable.rows.length > 0 ) - eItemsTable.deleteRow( 0 ) ; - } -} - -FCKMenuBlock.prototype.Create = function( parentElement ) -{ - if ( !this._ItemsTable ) - { - if ( FCK.IECleanup ) - FCK.IECleanup.AddItem( this, FCKMenuBlock_Cleanup ) ; - - this._Window = FCKTools.GetElementWindow( parentElement ) ; - - var oDoc = FCKTools.GetElementDocument( parentElement ) ; - - var eTable = parentElement.appendChild( oDoc.createElement( 'table' ) ) ; - eTable.cellPadding = 0 ; - eTable.cellSpacing = 0 ; - - FCKTools.DisableSelection( eTable ) ; - - var oMainElement = eTable.insertRow(-1).insertCell(-1) ; - oMainElement.className = 'MN_Menu' ; - - var eItemsTable = this._ItemsTable = oMainElement.appendChild( oDoc.createElement( 'table' ) ) ; - eItemsTable.cellPadding = 0 ; - eItemsTable.cellSpacing = 0 ; - } - - for ( var i = 0 ; i < this._Items.length ; i++ ) - this._Items[i].Create( this._ItemsTable ) ; -} - -/* Events */ - -function FCKMenuBlock_Item_OnClick( clickedItem, menuBlock ) -{ - if ( menuBlock.Hide ) - menuBlock.Hide() ; - - FCKTools.RunFunction( menuBlock.OnClick, menuBlock, [ clickedItem ] ) ; -} - -function FCKMenuBlock_Item_OnActivate( menuBlock ) -{ - var oActiveItem = menuBlock._ActiveItem ; - - if ( oActiveItem && oActiveItem != this ) - { - // Set the focus to this menu block window (to fire OnBlur on opened panels). - if ( !FCKBrowserInfo.IsIE && oActiveItem.HasSubMenu && !this.HasSubMenu ) - { - menuBlock._Window.focus() ; - - // Due to the event model provided by Opera, we need to set - // HasFocus here as the above focus() call will not fire the focus - // event in the panel immediately (#1200). - menuBlock.Panel.HasFocus = true ; - } - - oActiveItem.Deactivate() ; - } - - menuBlock._ActiveItem = this ; -} - -function FCKMenuBlock_Cleanup() -{ - this._Window = null ; - this._ItemsTable = null ; -} - -// ################# // - -var FCKMenuSeparator = function() -{} - -FCKMenuSeparator.prototype.Create = function( parentTable ) -{ - var oDoc = FCKTools.GetElementDocument( parentTable ) ; - - var r = parentTable.insertRow(-1) ; - - var eCell = r.insertCell(-1) ; - eCell.className = 'MN_Separator MN_Icon' ; - - eCell = r.insertCell(-1) ; - eCell.className = 'MN_Separator' ; - eCell.appendChild( oDoc.createElement( 'DIV' ) ).className = 'MN_Separator_Line' ; - - eCell = r.insertCell(-1) ; - eCell.className = 'MN_Separator' ; - eCell.appendChild( oDoc.createElement( 'DIV' ) ).className = 'MN_Separator_Line' ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckmenublockpanel.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckmenublockpanel.js deleted file mode 100644 index 9dbc4803b..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckmenublockpanel.js +++ /dev/null @@ -1,54 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This class is a menu block that behaves like a panel. It's a mix of the - * FCKMenuBlock and FCKPanel classes. - */ - -var FCKMenuBlockPanel = function() -{ - // Call the "base" constructor. - FCKMenuBlock.call( this ) ; -} - -FCKMenuBlockPanel.prototype = new FCKMenuBlock() ; - - -// Override the create method. -FCKMenuBlockPanel.prototype.Create = function() -{ - var oPanel = this.Panel = ( this.Parent && this.Parent.Panel ? this.Parent.Panel.CreateChildPanel() : new FCKPanel() ) ; - oPanel.AppendStyleSheet( FCKConfig.SkinEditorCSS ) ; - - // Call the "base" implementation. - FCKMenuBlock.prototype.Create.call( this, oPanel.MainNode ) ; -} - -FCKMenuBlockPanel.prototype.Show = function( x, y, relElement ) -{ - if ( !this.Panel.CheckIsOpened() ) - this.Panel.Show( x, y, relElement ) ; -} - -FCKMenuBlockPanel.prototype.Hide = function() -{ - if ( this.Panel.CheckIsOpened() ) - this.Panel.Hide() ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckmenuitem.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckmenuitem.js deleted file mode 100644 index 038146d24..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckmenuitem.js +++ /dev/null @@ -1,161 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Defines and renders a menu items in a menu block. - */ - -var FCKMenuItem = function( parentMenuBlock, name, label, iconPathOrStripInfoArray, isDisabled, customData ) -{ - this.Name = name ; - this.Label = label || name ; - this.IsDisabled = isDisabled ; - - this.Icon = new FCKIcon( iconPathOrStripInfoArray ) ; - - this.SubMenu = new FCKMenuBlockPanel() ; - this.SubMenu.Parent = parentMenuBlock ; - this.SubMenu.OnClick = FCKTools.CreateEventListener( FCKMenuItem_SubMenu_OnClick, this ) ; - this.CustomData = customData ; - - if ( FCK.IECleanup ) - FCK.IECleanup.AddItem( this, FCKMenuItem_Cleanup ) ; -} - - -FCKMenuItem.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) -{ - this.HasSubMenu = true ; - return this.SubMenu.AddItem( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) ; -} - -FCKMenuItem.prototype.AddSeparator = function() -{ - this.SubMenu.AddSeparator() ; -} - -FCKMenuItem.prototype.Create = function( parentTable ) -{ - var bHasSubMenu = this.HasSubMenu ; - - var oDoc = FCKTools.GetElementDocument( parentTable ) ; - - // Add a row in the table to hold the menu item. - var r = this.MainElement = parentTable.insertRow(-1) ; - r.className = this.IsDisabled ? 'MN_Item_Disabled' : 'MN_Item' ; - - // Set the row behavior. - if ( !this.IsDisabled ) - { - FCKTools.AddEventListenerEx( r, 'mouseover', FCKMenuItem_OnMouseOver, [ this ] ) ; - FCKTools.AddEventListenerEx( r, 'click', FCKMenuItem_OnClick, [ this ] ) ; - - if ( !bHasSubMenu ) - FCKTools.AddEventListenerEx( r, 'mouseout', FCKMenuItem_OnMouseOut, [ this ] ) ; - } - - // Create the icon cell. - var eCell = r.insertCell(-1) ; - eCell.className = 'MN_Icon' ; - eCell.appendChild( this.Icon.CreateIconElement( oDoc ) ) ; - - // Create the label cell. - eCell = r.insertCell(-1) ; - eCell.className = 'MN_Label' ; - eCell.noWrap = true ; - eCell.appendChild( oDoc.createTextNode( this.Label ) ) ; - - // Create the arrow cell and setup the sub menu panel (if needed). - eCell = r.insertCell(-1) ; - if ( bHasSubMenu ) - { - eCell.className = 'MN_Arrow' ; - - // The arrow is a fixed size image. - var eArrowImg = eCell.appendChild( oDoc.createElement( 'IMG' ) ) ; - eArrowImg.src = FCK_IMAGES_PATH + 'arrow_' + FCKLang.Dir + '.gif' ; - eArrowImg.width = 4 ; - eArrowImg.height = 7 ; - - this.SubMenu.Create() ; - this.SubMenu.Panel.OnHide = FCKTools.CreateEventListener( FCKMenuItem_SubMenu_OnHide, this ) ; - } -} - -FCKMenuItem.prototype.Activate = function() -{ - this.MainElement.className = 'MN_Item_Over' ; - - if ( this.HasSubMenu ) - { - // Show the child menu block. The ( +2, -2 ) correction is done because - // of the padding in the skin. It is not a good solution because one - // could change the skin and so the final result would not be accurate. - // For now it is ok because we are controlling the skin. - this.SubMenu.Show( this.MainElement.offsetWidth + 2, -2, this.MainElement ) ; - } - - FCKTools.RunFunction( this.OnActivate, this ) ; -} - -FCKMenuItem.prototype.Deactivate = function() -{ - this.MainElement.className = 'MN_Item' ; - - if ( this.HasSubMenu ) - this.SubMenu.Hide() ; -} - -/* Events */ - -function FCKMenuItem_SubMenu_OnClick( clickedItem, listeningItem ) -{ - FCKTools.RunFunction( listeningItem.OnClick, listeningItem, [ clickedItem ] ) ; -} - -function FCKMenuItem_SubMenu_OnHide( menuItem ) -{ - menuItem.Deactivate() ; -} - -function FCKMenuItem_OnClick( ev, menuItem ) -{ - if ( menuItem.HasSubMenu ) - menuItem.Activate() ; - else - { - menuItem.Deactivate() ; - FCKTools.RunFunction( menuItem.OnClick, menuItem, [ menuItem ] ) ; - } -} - -function FCKMenuItem_OnMouseOver( ev, menuItem ) -{ - menuItem.Activate() ; -} - -function FCKMenuItem_OnMouseOut( ev, menuItem ) -{ - menuItem.Deactivate() ; -} - -function FCKMenuItem_Cleanup() -{ - this.MainElement = null ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckpanel.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckpanel.js deleted file mode 100644 index f041339ab..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckpanel.js +++ /dev/null @@ -1,386 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Component that creates floating panels. It is used by many - * other components, like the toolbar items, context menu, etc... - */ - -var FCKPanel = function( parentWindow ) -{ - this.IsRTL = ( FCKLang.Dir == 'rtl' ) ; - this.IsContextMenu = false ; - this._LockCounter = 0 ; - - this._Window = parentWindow || window ; - - var oDocument ; - - if ( FCKBrowserInfo.IsIE ) - { - // Create the Popup that will hold the panel. - // The popup has to be created before playing with domain hacks, see #1666. - this._Popup = this._Window.createPopup() ; - - // this._Window cannot be accessed while playing with domain hacks, but local variable is ok. - // See #1666. - var pDoc = this._Window.document ; - - // This is a trick to IE6 (not IE7). The original domain must be set - // before creating the popup, so we are able to take a refence to the - // document inside of it, and the set the proper domain for it. (#123) - if ( FCK_IS_CUSTOM_DOMAIN && !FCKBrowserInfo.IsIE7 ) - { - pDoc.domain = FCK_ORIGINAL_DOMAIN ; - document.domain = FCK_ORIGINAL_DOMAIN ; - } - - oDocument = this.Document = this._Popup.document ; - - // Set the proper domain inside the popup. - if ( FCK_IS_CUSTOM_DOMAIN ) - { - oDocument.domain = FCK_RUNTIME_DOMAIN ; - pDoc.domain = FCK_RUNTIME_DOMAIN ; - document.domain = FCK_RUNTIME_DOMAIN ; - } - - FCK.IECleanup.AddItem( this, FCKPanel_Cleanup ) ; - } - else - { - var oIFrame = this._IFrame = this._Window.document.createElement('iframe') ; - FCKTools.ResetStyles( oIFrame ); - oIFrame.src = 'javascript:void(0)' ; - oIFrame.allowTransparency = true ; - oIFrame.frameBorder = '0' ; - oIFrame.scrolling = 'no' ; - oIFrame.style.width = oIFrame.style.height = '0px' ; - FCKDomTools.SetElementStyles( oIFrame, - { - position : 'absolute', - zIndex : FCKConfig.FloatingPanelsZIndex - } ) ; - - this._Window.document.body.appendChild( oIFrame ) ; - - var oIFrameWindow = oIFrame.contentWindow ; - - oDocument = this.Document = oIFrameWindow.document ; - - // Workaround for Safari 12256. Ticket #63 - var sBase = '' ; - if ( FCKBrowserInfo.IsSafari ) - sBase = '' ; - - // Initialize the IFRAME document body. - oDocument.open() ; - oDocument.write( '' + sBase + '<\/head><\/body><\/html>' ) ; - oDocument.close() ; - - if( FCKBrowserInfo.IsAIR ) - FCKAdobeAIR.Panel_Contructor( oDocument, window.document.location ) ; - - FCKTools.AddEventListenerEx( oIFrameWindow, 'focus', FCKPanel_Window_OnFocus, this ) ; - FCKTools.AddEventListenerEx( oIFrameWindow, 'blur', FCKPanel_Window_OnBlur, this ) ; - } - - oDocument.dir = FCKLang.Dir ; - - FCKTools.AddEventListener( oDocument, 'contextmenu', FCKTools.CancelEvent ) ; - - - // Create the main DIV that is used as the panel base. - this.MainNode = oDocument.body.appendChild( oDocument.createElement('DIV') ) ; - - // The "float" property must be set so Firefox calculates the size correctly. - this.MainNode.style.cssFloat = this.IsRTL ? 'right' : 'left' ; -} - - -FCKPanel.prototype.AppendStyleSheet = function( styleSheet ) -{ - FCKTools.AppendStyleSheet( this.Document, styleSheet ) ; -} - -FCKPanel.prototype.Preload = function( x, y, relElement ) -{ - // The offsetWidth and offsetHeight properties are not available if the - // element is not visible. So we must "show" the popup with no size to - // be able to use that values in the second call (IE only). - if ( this._Popup ) - this._Popup.show( x, y, 0, 0, relElement ) ; -} - -FCKPanel.prototype.Show = function( x, y, relElement, width, height ) -{ - var iMainWidth ; - var eMainNode = this.MainNode ; - - if ( this._Popup ) - { - // The offsetWidth and offsetHeight properties are not available if the - // element is not visible. So we must "show" the popup with no size to - // be able to use that values in the second call. - this._Popup.show( x, y, 0, 0, relElement ) ; - - // The following lines must be place after the above "show", otherwise it - // doesn't has the desired effect. - FCKDomTools.SetElementStyles( eMainNode, - { - width : width ? width + 'px' : '', - height : height ? height + 'px' : '' - } ) ; - - iMainWidth = eMainNode.offsetWidth ; - - if ( this.IsRTL ) - { - if ( this.IsContextMenu ) - x = x - iMainWidth + 1 ; - else if ( relElement ) - x = ( x * -1 ) + relElement.offsetWidth - iMainWidth ; - } - - // Second call: Show the Popup at the specified location, with the correct size. - this._Popup.show( x, y, iMainWidth, eMainNode.offsetHeight, relElement ) ; - - if ( this.OnHide ) - { - if ( this._Timer ) - CheckPopupOnHide.call( this, true ) ; - - this._Timer = FCKTools.SetInterval( CheckPopupOnHide, 100, this ) ; - } - } - else - { - // Do not fire OnBlur while the panel is opened. - if ( typeof( FCK.ToolbarSet.CurrentInstance.FocusManager ) != 'undefined' ) - FCK.ToolbarSet.CurrentInstance.FocusManager.Lock() ; - - if ( this.ParentPanel ) - { - this.ParentPanel.Lock() ; - - // Due to a bug on FF3, we must ensure that the parent panel will - // blur (#1584). - FCKPanel_Window_OnBlur( null, this.ParentPanel ) ; - } - - // Toggle the iframe scrolling attribute to prevent the panel - // scrollbars from disappearing in FF Mac. (#191) - if ( FCKBrowserInfo.IsGecko && FCKBrowserInfo.IsMac ) - { - this._IFrame.scrolling = '' ; - FCKTools.RunFunction( function(){ this._IFrame.scrolling = 'no'; }, this ) ; - } - - // Be sure we'll not have more than one Panel opened at the same time. - // Do not unlock focus manager here because we're displaying another floating panel - // instead of returning the editor to a "no panel" state (Bug #1514). - if ( FCK.ToolbarSet.CurrentInstance.GetInstanceObject( 'FCKPanel' )._OpenedPanel && - FCK.ToolbarSet.CurrentInstance.GetInstanceObject( 'FCKPanel' )._OpenedPanel != this ) - FCK.ToolbarSet.CurrentInstance.GetInstanceObject( 'FCKPanel' )._OpenedPanel.Hide( false, true ) ; - - FCKDomTools.SetElementStyles( eMainNode, - { - width : width ? width + 'px' : '', - height : height ? height + 'px' : '' - } ) ; - - iMainWidth = eMainNode.offsetWidth ; - - if ( !width ) this._IFrame.width = 1 ; - if ( !height ) this._IFrame.height = 1 ; - - // This is weird... but with Firefox, we must get the offsetWidth before - // setting the _IFrame size (which returns "0"), and then after that, - // to return the correct width. Remove the first step and it will not - // work when the editor is in RTL. - // - // The "|| eMainNode.firstChild.offsetWidth" part has been added - // for Opera compatibility (see #570). - iMainWidth = eMainNode.offsetWidth || eMainNode.firstChild.offsetWidth ; - - // Base the popup coordinates upon the coordinates of relElement. - var oPos = FCKTools.GetDocumentPosition( this._Window, - relElement.nodeType == 9 ? - ( FCKTools.IsStrictMode( relElement ) ? relElement.documentElement : relElement.body ) : - relElement ) ; - - // Minus the offsets provided by any positioned parent element of the panel iframe. - var positionedAncestor = FCKDomTools.GetPositionedAncestor( this._IFrame.parentNode ) ; - if ( positionedAncestor ) - { - var nPos = FCKTools.GetDocumentPosition( FCKTools.GetElementWindow( positionedAncestor ), positionedAncestor ) ; - oPos.x -= nPos.x ; - oPos.y -= nPos.y ; - } - - if ( this.IsRTL && !this.IsContextMenu ) - x = ( x * -1 ) ; - - x += oPos.x ; - y += oPos.y ; - - if ( this.IsRTL ) - { - if ( this.IsContextMenu ) - x = x - iMainWidth + 1 ; - else if ( relElement ) - x = x + relElement.offsetWidth - iMainWidth ; - } - else - { - var oViewPaneSize = FCKTools.GetViewPaneSize( this._Window ) ; - var oScrollPosition = FCKTools.GetScrollPosition( this._Window ) ; - - var iViewPaneHeight = oViewPaneSize.Height + oScrollPosition.Y ; - var iViewPaneWidth = oViewPaneSize.Width + oScrollPosition.X ; - - if ( ( x + iMainWidth ) > iViewPaneWidth ) - x -= x + iMainWidth - iViewPaneWidth ; - - if ( ( y + eMainNode.offsetHeight ) > iViewPaneHeight ) - y -= y + eMainNode.offsetHeight - iViewPaneHeight ; - } - - // Set the context menu DIV in the specified location. - FCKDomTools.SetElementStyles( this._IFrame, - { - left : x + 'px', - top : y + 'px' - } ) ; - - // Move the focus to the IFRAME so we catch the "onblur". - this._IFrame.contentWindow.focus() ; - this._IsOpened = true ; - - var me = this ; - this._resizeTimer = setTimeout( function() - { - var iWidth = eMainNode.offsetWidth || eMainNode.firstChild.offsetWidth ; - var iHeight = eMainNode.offsetHeight ; - me._IFrame.style.width = iWidth + 'px' ; - me._IFrame.style.height = iHeight + 'px' ; - - }, 0 ) ; - - FCK.ToolbarSet.CurrentInstance.GetInstanceObject( 'FCKPanel' )._OpenedPanel = this ; - } - - FCKTools.RunFunction( this.OnShow, this ) ; -} - -FCKPanel.prototype.Hide = function( ignoreOnHide, ignoreFocusManagerUnlock ) -{ - if ( this._Popup ) - this._Popup.hide() ; - else - { - if ( !this._IsOpened || this._LockCounter > 0 ) - return ; - - // Enable the editor to fire the "OnBlur". - if ( typeof( FCKFocusManager ) != 'undefined' && !ignoreFocusManagerUnlock ) - FCKFocusManager.Unlock() ; - - // It is better to set the sizes to 0, otherwise Firefox would have - // rendering problems. - this._IFrame.style.width = this._IFrame.style.height = '0px' ; - - this._IsOpened = false ; - - if ( this._resizeTimer ) - { - clearTimeout( this._resizeTimer ) ; - this._resizeTimer = null ; - } - - if ( this.ParentPanel ) - this.ParentPanel.Unlock() ; - - if ( !ignoreOnHide ) - FCKTools.RunFunction( this.OnHide, this ) ; - } -} - -FCKPanel.prototype.CheckIsOpened = function() -{ - if ( this._Popup ) - return this._Popup.isOpen ; - else - return this._IsOpened ; -} - -FCKPanel.prototype.CreateChildPanel = function() -{ - var oWindow = this._Popup ? FCKTools.GetDocumentWindow( this.Document ) : this._Window ; - - var oChildPanel = new FCKPanel( oWindow ) ; - oChildPanel.ParentPanel = this ; - - return oChildPanel ; -} - -FCKPanel.prototype.Lock = function() -{ - this._LockCounter++ ; -} - -FCKPanel.prototype.Unlock = function() -{ - if ( --this._LockCounter == 0 && !this.HasFocus ) - this.Hide() ; -} - -/* Events */ - -function FCKPanel_Window_OnFocus( e, panel ) -{ - panel.HasFocus = true ; -} - -function FCKPanel_Window_OnBlur( e, panel ) -{ - panel.HasFocus = false ; - - if ( panel._LockCounter == 0 ) - FCKTools.RunFunction( panel.Hide, panel ) ; -} - -function CheckPopupOnHide( forceHide ) -{ - if ( forceHide || !this._Popup.isOpen ) - { - window.clearInterval( this._Timer ) ; - this._Timer = null ; - - FCKTools.RunFunction( this.OnHide, this ) ; - } -} - -function FCKPanel_Cleanup() -{ - this._Popup = null ; - this._Window = null ; - this.Document = null ; - this.MainNode = null ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckplugin.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckplugin.js deleted file mode 100644 index 16300d133..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckplugin.js +++ /dev/null @@ -1,56 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * FCKPlugin Class: Represents a single plugin. - */ - -var FCKPlugin = function( name, availableLangs, basePath ) -{ - this.Name = name ; - this.BasePath = basePath ? basePath : FCKConfig.PluginsPath ; - this.Path = this.BasePath + name + '/' ; - - if ( !availableLangs || availableLangs.length == 0 ) - this.AvailableLangs = new Array() ; - else - this.AvailableLangs = availableLangs.split(',') ; -} - -FCKPlugin.prototype.Load = function() -{ - // Load the language file, if defined. - if ( this.AvailableLangs.length > 0 ) - { - var sLang ; - - // Check if the plugin has the language file for the active language. - if ( this.AvailableLangs.IndexOf( FCKLanguageManager.ActiveLanguage.Code ) >= 0 ) - sLang = FCKLanguageManager.ActiveLanguage.Code ; - else - // Load the default language file (first one) if the current one is not available. - sLang = this.AvailableLangs[0] ; - - // Add the main plugin script. - LoadScript( this.Path + 'lang/' + sLang + '.js' ) ; - } - - // Add the main plugin script. - LoadScript( this.Path + 'fckplugin.js' ) ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckspecialcombo.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckspecialcombo.js deleted file mode 100644 index 72263895f..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckspecialcombo.js +++ /dev/null @@ -1,376 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * FCKSpecialCombo Class: represents a special combo. - */ - -var FCKSpecialCombo = function( caption, fieldWidth, panelWidth, panelMaxHeight, parentWindow ) -{ - // Default properties values. - this.FieldWidth = fieldWidth || 100 ; - this.PanelWidth = panelWidth || 150 ; - this.PanelMaxHeight = panelMaxHeight || 150 ; - this.Label = ' ' ; - this.Caption = caption ; - this.Tooltip = caption ; - this.Style = FCK_TOOLBARITEM_ICONTEXT ; - - this.Enabled = true ; - - this.Items = new Object() ; - - this._Panel = new FCKPanel( parentWindow || window ) ; - this._Panel.AppendStyleSheet( FCKConfig.SkinEditorCSS ) ; - this._PanelBox = this._Panel.MainNode.appendChild( this._Panel.Document.createElement( 'DIV' ) ) ; - this._PanelBox.className = 'SC_Panel' ; - this._PanelBox.style.width = this.PanelWidth + 'px' ; - - this._PanelBox.innerHTML = '
        ' ; - - this._ItemsHolderEl = this._PanelBox.getElementsByTagName('TD')[0] ; - - if ( FCK.IECleanup ) - FCK.IECleanup.AddItem( this, FCKSpecialCombo_Cleanup ) ; - -// this._Panel.StyleSheet = FCKConfig.SkinPath + 'fck_contextmenu.css' ; -// this._Panel.Create() ; -// this._Panel.PanelDiv.className += ' SC_Panel' ; -// this._Panel.PanelDiv.innerHTML = '
        ' ; -// this._ItemsHolderEl = this._Panel.PanelDiv.getElementsByTagName('TD')[0] ; -} - -function FCKSpecialCombo_ItemOnMouseOver() -{ - this.className += ' SC_ItemOver' ; -} - -function FCKSpecialCombo_ItemOnMouseOut() -{ - this.className = this.originalClass ; -} - -function FCKSpecialCombo_ItemOnClick( ev, specialCombo, itemId ) -{ - this.className = this.originalClass ; - - specialCombo._Panel.Hide() ; - - specialCombo.SetLabel( this.FCKItemLabel ) ; - - if ( typeof( specialCombo.OnSelect ) == 'function' ) - specialCombo.OnSelect( itemId, this ) ; -} - -FCKSpecialCombo.prototype.ClearItems = function () -{ - if ( this.Items ) - this.Items = {} ; - - var itemsholder = this._ItemsHolderEl ; - while ( itemsholder.firstChild ) - itemsholder.removeChild( itemsholder.firstChild ) ; -} - -FCKSpecialCombo.prototype.AddItem = function( id, html, label, bgColor ) -{ - //
        Bold 1
        - var oDiv = this._ItemsHolderEl.appendChild( this._Panel.Document.createElement( 'DIV' ) ) ; - oDiv.className = oDiv.originalClass = 'SC_Item' ; - oDiv.innerHTML = html ; - oDiv.FCKItemLabel = label || id ; - oDiv.Selected = false ; - - // In IE, the width must be set so the borders are shown correctly when the content overflows. - if ( FCKBrowserInfo.IsIE ) - oDiv.style.width = '100%' ; - - if ( bgColor ) - oDiv.style.backgroundColor = bgColor ; - - FCKTools.AddEventListenerEx( oDiv, 'mouseover', FCKSpecialCombo_ItemOnMouseOver ) ; - FCKTools.AddEventListenerEx( oDiv, 'mouseout', FCKSpecialCombo_ItemOnMouseOut ) ; - FCKTools.AddEventListenerEx( oDiv, 'click', FCKSpecialCombo_ItemOnClick, [ this, id ] ) ; - - this.Items[ id.toString().toLowerCase() ] = oDiv ; - - return oDiv ; -} - -FCKSpecialCombo.prototype.SelectItem = function( item ) -{ - if ( typeof item == 'string' ) - item = this.Items[ item.toString().toLowerCase() ] ; - - if ( item ) - { - item.className = item.originalClass = 'SC_ItemSelected' ; - item.Selected = true ; - } -} - -FCKSpecialCombo.prototype.SelectItemByLabel = function( itemLabel, setLabel ) -{ - for ( var id in this.Items ) - { - var oDiv = this.Items[id] ; - - if ( oDiv.FCKItemLabel == itemLabel ) - { - oDiv.className = oDiv.originalClass = 'SC_ItemSelected' ; - oDiv.Selected = true ; - - if ( setLabel ) - this.SetLabel( itemLabel ) ; - } - } -} - -FCKSpecialCombo.prototype.DeselectAll = function( clearLabel ) -{ - for ( var i in this.Items ) - { - if ( !this.Items[i] ) continue; - this.Items[i].className = this.Items[i].originalClass = 'SC_Item' ; - this.Items[i].Selected = false ; - } - - if ( clearLabel ) - this.SetLabel( '' ) ; -} - -FCKSpecialCombo.prototype.SetLabelById = function( id ) -{ - id = id ? id.toString().toLowerCase() : '' ; - - var oDiv = this.Items[ id ] ; - this.SetLabel( oDiv ? oDiv.FCKItemLabel : '' ) ; -} - -FCKSpecialCombo.prototype.SetLabel = function( text ) -{ - text = ( !text || text.length == 0 ) ? ' ' : text ; - - if ( text == this.Label ) - return ; - - this.Label = text ; - - var labelEl = this._LabelEl ; - if ( labelEl ) - { - labelEl.innerHTML = text ; - - // It may happen that the label is some HTML, including tags. This - // would be a problem because when the user click on those tags, the - // combo will get the selection from the editing area. So we must - // disable any kind of selection here. - FCKTools.DisableSelection( labelEl ) ; - } -} - -FCKSpecialCombo.prototype.SetEnabled = function( isEnabled ) -{ - this.Enabled = isEnabled ; - - // In IE it can happen when the page is reloaded that _OuterTable is null, so check its existence - if ( this._OuterTable ) - this._OuterTable.className = isEnabled ? '' : 'SC_FieldDisabled' ; -} - -FCKSpecialCombo.prototype.Create = function( targetElement ) -{ - var oDoc = FCKTools.GetElementDocument( targetElement ) ; - var eOuterTable = this._OuterTable = targetElement.appendChild( oDoc.createElement( 'TABLE' ) ) ; - eOuterTable.cellPadding = 0 ; - eOuterTable.cellSpacing = 0 ; - - eOuterTable.insertRow(-1) ; - - var sClass ; - var bShowLabel ; - - switch ( this.Style ) - { - case FCK_TOOLBARITEM_ONLYICON : - sClass = 'TB_ButtonType_Icon' ; - bShowLabel = false; - break ; - case FCK_TOOLBARITEM_ONLYTEXT : - sClass = 'TB_ButtonType_Text' ; - bShowLabel = false; - break ; - case FCK_TOOLBARITEM_ICONTEXT : - bShowLabel = true; - break ; - } - - if ( this.Caption && this.Caption.length > 0 && bShowLabel ) - { - var oCaptionCell = eOuterTable.rows[0].insertCell(-1) ; - oCaptionCell.innerHTML = this.Caption ; - oCaptionCell.className = 'SC_FieldCaption' ; - } - - // Create the main DIV element. - var oField = FCKTools.AppendElement( eOuterTable.rows[0].insertCell(-1), 'div' ) ; - if ( bShowLabel ) - { - oField.className = 'SC_Field' ; - oField.style.width = this.FieldWidth + 'px' ; - oField.innerHTML = '
         
        ' ; - - this._LabelEl = oField.getElementsByTagName('label')[0] ; // Memory Leak - this._LabelEl.innerHTML = this.Label ; - } - else - { - oField.className = 'TB_Button_Off' ; - //oField.innerHTML = '' + this.Caption + '
         
        ' ; - //oField.innerHTML = '
         
        ' ; - - // Gets the correct CSS class to use for the specified style (param). - oField.innerHTML = '' + - '' + - //'' + - '' + - '' + - '' + - '' + - '' + - '' + - '
        ' + this.Caption + '
        ' ; - } - - - // Events Handlers - - FCKTools.AddEventListenerEx( oField, 'mouseover', FCKSpecialCombo_OnMouseOver, this ) ; - FCKTools.AddEventListenerEx( oField, 'mouseout', FCKSpecialCombo_OnMouseOut, this ) ; - FCKTools.AddEventListenerEx( oField, 'click', FCKSpecialCombo_OnClick, this ) ; - - FCKTools.DisableSelection( this._Panel.Document.body ) ; -} - -function FCKSpecialCombo_Cleanup() -{ - this._LabelEl = null ; - this._OuterTable = null ; - this._ItemsHolderEl = null ; - this._PanelBox = null ; - - if ( this.Items ) - { - for ( var key in this.Items ) - this.Items[key] = null ; - } -} - -function FCKSpecialCombo_OnMouseOver( ev, specialCombo ) -{ - if ( specialCombo.Enabled ) - { - switch ( specialCombo.Style ) - { - case FCK_TOOLBARITEM_ONLYICON : - this.className = 'TB_Button_On_Over'; - break ; - case FCK_TOOLBARITEM_ONLYTEXT : - this.className = 'TB_Button_On_Over'; - break ; - case FCK_TOOLBARITEM_ICONTEXT : - this.className = 'SC_Field SC_FieldOver' ; - break ; - } - } -} - -function FCKSpecialCombo_OnMouseOut( ev, specialCombo ) -{ - switch ( specialCombo.Style ) - { - case FCK_TOOLBARITEM_ONLYICON : - this.className = 'TB_Button_Off'; - break ; - case FCK_TOOLBARITEM_ONLYTEXT : - this.className = 'TB_Button_Off'; - break ; - case FCK_TOOLBARITEM_ICONTEXT : - this.className='SC_Field' ; - break ; - } -} - -function FCKSpecialCombo_OnClick( e, specialCombo ) -{ - // For Mozilla we must stop the event propagation to avoid it hiding - // the panel because of a click outside of it. -// if ( e ) -// { -// e.stopPropagation() ; -// FCKPanelEventHandlers.OnDocumentClick( e ) ; -// } - - if ( specialCombo.Enabled ) - { - var oPanel = specialCombo._Panel ; - var oPanelBox = specialCombo._PanelBox ; - var oItemsHolder = specialCombo._ItemsHolderEl ; - var iMaxHeight = specialCombo.PanelMaxHeight ; - - if ( specialCombo.OnBeforeClick ) - specialCombo.OnBeforeClick( specialCombo ) ; - - // This is a tricky thing. We must call the "Load" function, otherwise - // it will not be possible to retrieve "oItemsHolder.offsetHeight" (IE only). - if ( FCKBrowserInfo.IsIE ) - oPanel.Preload( 0, this.offsetHeight, this ) ; - - if ( oItemsHolder.offsetHeight > iMaxHeight ) -// { - oPanelBox.style.height = iMaxHeight + 'px' ; - -// if ( FCKBrowserInfo.IsGecko ) -// oPanelBox.style.overflow = '-moz-scrollbars-vertical' ; -// } - else - oPanelBox.style.height = '' ; - -// oPanel.PanelDiv.style.width = specialCombo.PanelWidth + 'px' ; - - oPanel.Show( 0, this.offsetHeight, this ) ; - } - -// return false ; -} - -/* -Sample Combo Field HTML output: - -
        - - - - - - - -
         
        -
        -*/ diff --git a/modules/editor/skins/fckeditor/editor/_source/classes/fckstyle.js b/modules/editor/skins/fckeditor/editor/_source/classes/fckstyle.js deleted file mode 100644 index 756fd6782..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/classes/fckstyle.js +++ /dev/null @@ -1,1500 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * FCKStyle Class: contains a style definition, and all methods to work with - * the style in a document. - */ - -/** - * @param {Object} styleDesc A "style descriptor" object, containing the raw - * style definition in the following format: - * '' ; - FCK._BehaviorsStyle = sStyle ; - } - - return FCK._BehaviorsStyle ; -} - -function Doc_OnMouseUp() -{ - if ( FCK.EditorWindow.event.srcElement.tagName == 'HTML' ) - { - FCK.Focus() ; - FCK.EditorWindow.event.cancelBubble = true ; - FCK.EditorWindow.event.returnValue = false ; - } -} - -function Doc_OnPaste() -{ - var body = FCK.EditorDocument.body ; - - body.detachEvent( 'onpaste', Doc_OnPaste ) ; - - var ret = FCK.Paste( !FCKConfig.ForcePasteAsPlainText && !FCKConfig.AutoDetectPasteFromWord ) ; - - body.attachEvent( 'onpaste', Doc_OnPaste ) ; - - return ret ; -} - -function Doc_OnDblClick() -{ - FCK.OnDoubleClick( FCK.EditorWindow.event.srcElement ) ; - FCK.EditorWindow.event.cancelBubble = true ; -} - -function Doc_OnSelectionChange() -{ - // Don't fire the event if no document is loaded. - if ( !FCK.IsSelectionChangeLocked && FCK.EditorDocument ) - FCK.Events.FireEvent( "OnSelectionChange" ) ; -} - -function Doc_OnDrop() -{ - if ( FCK.MouseDownFlag ) - { - FCK.MouseDownFlag = false ; - return ; - } - - if ( FCKConfig.ForcePasteAsPlainText ) - { - var evt = FCK.EditorWindow.event ; - - if ( FCK._CheckIsPastingEnabled() || FCKConfig.ShowDropDialog ) - FCK.PasteAsPlainText( evt.dataTransfer.getData( 'Text' ) ) ; - - evt.returnValue = false ; - evt.cancelBubble = true ; - } -} - -FCK.InitializeBehaviors = function( dontReturn ) -{ - // Set the focus to the editable area when clicking in the document area. - // TODO: The cursor must be positioned at the end. - this.EditorDocument.attachEvent( 'onmouseup', Doc_OnMouseUp ) ; - - // Intercept pasting operations - this.EditorDocument.body.attachEvent( 'onpaste', Doc_OnPaste ) ; - - // Intercept drop operations - this.EditorDocument.body.attachEvent( 'ondrop', Doc_OnDrop ) ; - - // Reset the context menu. - FCK.ContextMenu._InnerContextMenu.AttachToElement( FCK.EditorDocument.body ) ; - - this.EditorDocument.attachEvent("onkeydown", FCK._KeyDownListener ) ; - - this.EditorDocument.attachEvent("ondblclick", Doc_OnDblClick ) ; - - this.EditorDocument.attachEvent("onbeforedeactivate", function(){ FCKSelection.Save( true ) ; } ) ; - - // Catch cursor selection changes. - this.EditorDocument.attachEvent("onselectionchange", Doc_OnSelectionChange ) ; - - FCKTools.AddEventListener( FCK.EditorDocument, 'mousedown', Doc_OnMouseDown ) ; -} - -FCK.InsertHtml = function( html ) -{ - html = FCKConfig.ProtectedSource.Protect( html ) ; - html = FCK.ProtectEvents( html ) ; - html = FCK.ProtectUrls( html ) ; - html = FCK.ProtectTags( html ) ; - -// FCK.Focus() ; - FCKSelection.Restore() ; - FCK.EditorWindow.focus() ; - - FCKUndo.SaveUndoStep() ; - - // Gets the actual selection. - var oSel = FCKSelection.GetSelection() ; - - // Deletes the actual selection contents. - if ( oSel.type.toLowerCase() == 'control' ) - oSel.clear() ; - - // Using the following trick, any comment in the beginning of the HTML will - // be preserved. - html = '' + html ; - - // Insert the HTML. - oSel.createRange().pasteHTML( html ) ; - - // Remove the fake node - FCK.EditorDocument.getElementById('__fakeFCKRemove__').removeNode( true ) ; - - FCKDocumentProcessor.Process( FCK.EditorDocument ) ; - - // For some strange reason the SaveUndoStep() call doesn't activate the undo button at the first InsertHtml() call. - this.Events.FireEvent( "OnSelectionChange" ) ; -} - -FCK.SetInnerHtml = function( html ) // IE Only -{ - var oDoc = FCK.EditorDocument ; - // Using the following trick, any comment in the beginning of the HTML will - // be preserved. - oDoc.body.innerHTML = '
         
        ' + html ; - oDoc.getElementById('__fakeFCKRemove__').removeNode( true ) ; -} - -function FCK_PreloadImages() -{ - var oPreloader = new FCKImagePreloader() ; - - // Add the configured images. - oPreloader.AddImages( FCKConfig.PreloadImages ) ; - - // Add the skin icons strip. - oPreloader.AddImages( FCKConfig.SkinPath + 'fck_strip.gif' ) ; - - oPreloader.OnComplete = LoadToolbarSetup ; - oPreloader.Start() ; -} - -// Disable the context menu in the editor (outside the editing area). -function Document_OnContextMenu() -{ - return ( event.srcElement._FCKShowContextMenu == true ) ; -} -document.oncontextmenu = Document_OnContextMenu ; - -function FCK_Cleanup() -{ - this.LinkedField = null ; - this.EditorWindow = null ; - this.EditorDocument = null ; -} - -FCK._ExecPaste = function() -{ - // As we call ExecuteNamedCommand('Paste'), it would enter in a loop. So, let's use a semaphore. - if ( FCK._PasteIsRunning ) - return true ; - - if ( FCKConfig.ForcePasteAsPlainText ) - { - FCK.PasteAsPlainText() ; - return false ; - } - - var sHTML = FCK._CheckIsPastingEnabled( true ) ; - - if ( sHTML === false ) - FCKTools.RunFunction( FCKDialog.OpenDialog, FCKDialog, ['FCKDialog_Paste', FCKLang.Paste, 'dialog/fck_paste.html', 400, 330, 'Security'] ) ; - else - { - if ( FCKConfig.AutoDetectPasteFromWord && sHTML.length > 0 ) - { - var re = /<\w[^>]*(( class="?MsoNormal"?)|(="mso-))/gi ; - if ( re.test( sHTML ) ) - { - if ( confirm( FCKLang.PasteWordConfirm ) ) - { - FCK.PasteFromWord() ; - return false ; - } - } - } - - // Instead of inserting the retrieved HTML, let's leave the OS work for us, - // by calling FCK.ExecuteNamedCommand( 'Paste' ). It could give better results. - - // Enable the semaphore to avoid a loop. - FCK._PasteIsRunning = true ; - - FCK.ExecuteNamedCommand( 'Paste' ) ; - - // Removes the semaphore. - delete FCK._PasteIsRunning ; - } - - // Let's always make a custom implementation (return false), otherwise - // the new Keyboard Handler may conflict with this code, and the CTRL+V code - // could result in a simple "V" being pasted. - return false ; -} - -FCK.PasteAsPlainText = function( forceText ) -{ - if ( !FCK._CheckIsPastingEnabled() ) - { - FCKDialog.OpenDialog( 'FCKDialog_Paste', FCKLang.PasteAsText, 'dialog/fck_paste.html', 400, 330, 'PlainText' ) ; - return ; - } - - // Get the data available in the clipboard in text format. - var sText = null ; - if ( ! forceText ) - sText = clipboardData.getData("Text") ; - else - sText = forceText ; - - if ( sText && sText.length > 0 ) - { - // Replace the carriage returns with
        - sText = FCKTools.HTMLEncode( sText ) ; - sText = FCKTools.ProcessLineBreaks( window, FCKConfig, sText ) ; - - var closeTagIndex = sText.search( '

        ' ) ; - var startTagIndex = sText.search( '

        ' ) ; - - if ( ( closeTagIndex != -1 && startTagIndex != -1 && closeTagIndex < startTagIndex ) - || ( closeTagIndex != -1 && startTagIndex == -1 ) ) - { - var prefix = sText.substr( 0, closeTagIndex ) ; - sText = sText.substr( closeTagIndex + 4 ) ; - this.InsertHtml( prefix ) ; - } - - // Insert the resulting data in the editor. - FCKUndo.SaveLocked = true ; - this.InsertHtml( sText ) ; - FCKUndo.SaveLocked = false ; - } -} - -FCK._CheckIsPastingEnabled = function( returnContents ) -{ - // The following seams to be the only reliable way to check is script - // pasting operations are enabled in the security settings of IE6 and IE7. - // It adds a little bit of overhead to the check, but so far that's the - // only way, mainly because of IE7. - - FCK._PasteIsEnabled = false ; - - document.body.attachEvent( 'onpaste', FCK_CheckPasting_Listener ) ; - - // The execCommand in GetClipboardHTML will fire the "onpaste", only if the - // security settings are enabled. - var oReturn = FCK.GetClipboardHTML() ; - - document.body.detachEvent( 'onpaste', FCK_CheckPasting_Listener ) ; - - if ( FCK._PasteIsEnabled ) - { - if ( !returnContents ) - oReturn = true ; - } - else - oReturn = false ; - - delete FCK._PasteIsEnabled ; - - return oReturn ; -} - -function FCK_CheckPasting_Listener() -{ - FCK._PasteIsEnabled = true ; -} - -FCK.GetClipboardHTML = function() -{ - var oDiv = document.getElementById( '___FCKHiddenDiv' ) ; - - if ( !oDiv ) - { - oDiv = document.createElement( 'DIV' ) ; - oDiv.id = '___FCKHiddenDiv' ; - - var oDivStyle = oDiv.style ; - oDivStyle.position = 'absolute' ; - oDivStyle.visibility = oDivStyle.overflow = 'hidden' ; - oDivStyle.width = oDivStyle.height = 1 ; - - document.body.appendChild( oDiv ) ; - } - - oDiv.innerHTML = '' ; - - var oTextRange = document.body.createTextRange() ; - oTextRange.moveToElementText( oDiv ) ; - oTextRange.execCommand( 'Paste' ) ; - - var sData = oDiv.innerHTML ; - oDiv.innerHTML = '' ; - - return sData ; -} - -FCK.CreateLink = function( url, noUndo ) -{ - // Creates the array that will be returned. It contains one or more created links (see #220). - var aCreatedLinks = new Array() ; - - // Remove any existing link in the selection. - FCK.ExecuteNamedCommand( 'Unlink', null, false, !!noUndo ) ; - - if ( url.length > 0 ) - { - // If there are several images, and you try to link each one, all the images get inside the link: - // -> -> due to the call to 'CreateLink' (bug in IE) - if (FCKSelection.GetType() == 'Control') - { - // Create a link - var oLink = this.EditorDocument.createElement( 'A' ) ; - oLink.href = url ; - - // Get the selected object - var oControl = FCKSelection.GetSelectedElement() ; - // Put the link just before the object - oControl.parentNode.insertBefore(oLink, oControl) ; - // Move the object inside the link - oControl.parentNode.removeChild( oControl ) ; - oLink.appendChild( oControl ) ; - - return [ oLink ] ; - } - - // Generate a temporary name for the link. - var sTempUrl = 'javascript:void(0);/*' + ( new Date().getTime() ) + '*/' ; - - // Use the internal "CreateLink" command to create the link. - FCK.ExecuteNamedCommand( 'CreateLink', sTempUrl, false, !!noUndo ) ; - - // Look for the just create link. - var oLinks = this.EditorDocument.links ; - - for ( i = 0 ; i < oLinks.length ; i++ ) - { - var oLink = oLinks[i] ; - - // Check it this a newly created link. - // getAttribute must be used. oLink.url may cause problems with IE7 (#555). - if ( oLink.getAttribute( 'href', 2 ) == sTempUrl ) - { - var sInnerHtml = oLink.innerHTML ; // Save the innerHTML (IE changes it if it is like an URL). - oLink.href = url ; - oLink.innerHTML = sInnerHtml ; // Restore the innerHTML. - - // If the last child is a
        move it outside the link or it - // will be too easy to select this link again #388. - var oLastChild = oLink.lastChild ; - if ( oLastChild && oLastChild.nodeName == 'BR' ) - { - // Move the BR after the link. - FCKDomTools.InsertAfterNode( oLink, oLink.removeChild( oLastChild ) ) ; - } - - aCreatedLinks.push( oLink ) ; - } - } - } - - return aCreatedLinks ; -} - -function _FCK_RemoveDisabledAtt() -{ - this.removeAttribute( 'disabled' ) ; -} - -function Doc_OnMouseDown( evt ) -{ - var e = evt.srcElement ; - - // Radio buttons and checkboxes should not be allowed to be triggered in IE - // in editable mode. Otherwise the whole browser window may be locked by - // the buttons. (#1782) - if ( e.nodeName.IEquals( 'input' ) && e.type.IEquals( ['radio', 'checkbox'] ) && !e.disabled ) - { - e.disabled = true ; - FCKTools.SetTimeout( _FCK_RemoveDisabledAtt, 1, e ) ; - } -} diff --git a/modules/editor/skins/fckeditor/editor/_source/internals/fckbrowserinfo.js b/modules/editor/skins/fckeditor/editor/_source/internals/fckbrowserinfo.js deleted file mode 100644 index d600ced93..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/internals/fckbrowserinfo.js +++ /dev/null @@ -1,61 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Contains browser detection information. - */ - -var s = navigator.userAgent.toLowerCase() ; - -var FCKBrowserInfo = -{ - IsIE : /*@cc_on!@*/false, - IsIE7 : /*@cc_on!@*/false && ( parseInt( s.match( /msie (\d+)/ )[1], 10 ) >= 7 ), - IsIE6 : /*@cc_on!@*/false && ( parseInt( s.match( /msie (\d+)/ )[1], 10 ) >= 6 ), - IsSafari : s.Contains(' applewebkit/'), // Read "IsWebKit" - IsOpera : !!window.opera, - IsAIR : s.Contains(' adobeair/'), - IsMac : s.Contains('macintosh') -} ; - -// Completes the browser info with further Gecko information. -(function( browserInfo ) -{ - browserInfo.IsGecko = ( navigator.product == 'Gecko' ) && !browserInfo.IsSafari && !browserInfo.IsOpera ; - browserInfo.IsGeckoLike = ( browserInfo.IsGecko || browserInfo.IsSafari || browserInfo.IsOpera ) ; - - if ( browserInfo.IsGecko ) - { - var geckoMatch = s.match( /rv:(\d+\.\d+)/ ) ; - var geckoVersion = geckoMatch && parseFloat( geckoMatch[1] ) ; - - // Actually "10" refers to Gecko versions before Firefox 1.5, when - // Gecko 1.8 (build 20051111) has been released. - - // Some browser (like Mozilla 1.7.13) may have a Gecko build greater - // than 20051111, so we must also check for the revision number not to - // be 1.7 (we are assuming that rv < 1.7 will not have build > 20051111). - - if ( geckoVersion ) - { - browserInfo.IsGecko10 = ( geckoVersion < 1.8 ) ; - browserInfo.IsGecko19 = ( geckoVersion > 1.8 ) ; - } - } -})(FCKBrowserInfo) ; diff --git a/modules/editor/skins/fckeditor/editor/_source/internals/fckcodeformatter.js b/modules/editor/skins/fckeditor/editor/_source/internals/fckcodeformatter.js deleted file mode 100644 index 8a7f1526d..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/internals/fckcodeformatter.js +++ /dev/null @@ -1,100 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Format the HTML. - */ - -var FCKCodeFormatter = new Object() ; - -FCKCodeFormatter.Init = function() -{ - var oRegex = this.Regex = new Object() ; - - // Regex for line breaks. - oRegex.BlocksOpener = /\<(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\>]*\>/gi ; - oRegex.BlocksCloser = /\<\/(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\>]*\>/gi ; - - oRegex.NewLineTags = /\<(BR|HR)[^\>]*\>/gi ; - - oRegex.MainTags = /\<\/?(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR)[^\>]*\>/gi ; - - oRegex.LineSplitter = /\s*\n+\s*/g ; - - // Regex for indentation. - oRegex.IncreaseIndent = /^\<(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \/\>]/i ; - oRegex.DecreaseIndent = /^\<\/(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \>]/i ; - oRegex.FormatIndentatorRemove = new RegExp( '^' + FCKConfig.FormatIndentator ) ; - - oRegex.ProtectedTags = /(]*>)([\s\S]*?)(<\/PRE>)/gi ; -} - -FCKCodeFormatter._ProtectData = function( outer, opener, data, closer ) -{ - return opener + '___FCKpd___' + FCKCodeFormatter.ProtectedData.AddItem( data ) + closer ; -} - -FCKCodeFormatter.Format = function( html ) -{ - if ( !this.Regex ) - this.Init() ; - - // Protected content that remain untouched during the - // process go in the following array. - FCKCodeFormatter.ProtectedData = new Array() ; - - var sFormatted = html.replace( this.Regex.ProtectedTags, FCKCodeFormatter._ProtectData ) ; - - // Line breaks. - sFormatted = sFormatted.replace( this.Regex.BlocksOpener, '\n$&' ) ; - sFormatted = sFormatted.replace( this.Regex.BlocksCloser, '$&\n' ) ; - sFormatted = sFormatted.replace( this.Regex.NewLineTags, '$&\n' ) ; - sFormatted = sFormatted.replace( this.Regex.MainTags, '\n$&\n' ) ; - - // Indentation. - var sIndentation = '' ; - - var asLines = sFormatted.split( this.Regex.LineSplitter ) ; - sFormatted = '' ; - - for ( var i = 0 ; i < asLines.length ; i++ ) - { - var sLine = asLines[i] ; - - if ( sLine.length == 0 ) - continue ; - - if ( this.Regex.DecreaseIndent.test( sLine ) ) - sIndentation = sIndentation.replace( this.Regex.FormatIndentatorRemove, '' ) ; - - sFormatted += sIndentation + sLine + '\n' ; - - if ( this.Regex.IncreaseIndent.test( sLine ) ) - sIndentation += FCKConfig.FormatIndentator ; - } - - // Now we put back the protected data. - for ( var j = 0 ; j < FCKCodeFormatter.ProtectedData.length ; j++ ) - { - var oRegex = new RegExp( '___FCKpd___' + j ) ; - sFormatted = sFormatted.replace( oRegex, FCKCodeFormatter.ProtectedData[j].replace( /\$/g, '$$$$' ) ) ; - } - - return sFormatted.Trim() ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/internals/fckcommands.js b/modules/editor/skins/fckeditor/editor/_source/internals/fckcommands.js deleted file mode 100644 index aca203744..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/internals/fckcommands.js +++ /dev/null @@ -1,172 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Define all commands available in the editor. - */ - -var FCKCommands = FCK.Commands = new Object() ; -FCKCommands.LoadedCommands = new Object() ; - -FCKCommands.RegisterCommand = function( commandName, command ) -{ - this.LoadedCommands[ commandName ] = command ; -} - -FCKCommands.GetCommand = function( commandName ) -{ - var oCommand = FCKCommands.LoadedCommands[ commandName ] ; - - if ( oCommand ) - return oCommand ; - - switch ( commandName ) - { - case 'Bold' : - case 'Italic' : - case 'Underline' : - case 'StrikeThrough': - case 'Subscript' : - case 'Superscript' : oCommand = new FCKCoreStyleCommand( commandName ) ; break ; - - case 'RemoveFormat' : oCommand = new FCKRemoveFormatCommand() ; break ; - - case 'DocProps' : oCommand = new FCKDialogCommand( 'DocProps' , FCKLang.DocProps , 'dialog/fck_docprops.html' , 400, 380, FCKCommands.GetFullPageState ) ; break ; - case 'Templates' : oCommand = new FCKDialogCommand( 'Templates' , FCKLang.DlgTemplatesTitle , 'dialog/fck_template.html' , 380, 450 ) ; break ; - case 'Link' : oCommand = new FCKDialogCommand( 'Link' , FCKLang.DlgLnkWindowTitle , 'dialog/fck_link.html' , 400, 300 ) ; break ; - case 'Unlink' : oCommand = new FCKUnlinkCommand() ; break ; - case 'VisitLink' : oCommand = new FCKVisitLinkCommand() ; break ; - case 'Anchor' : oCommand = new FCKDialogCommand( 'Anchor' , FCKLang.DlgAnchorTitle , 'dialog/fck_anchor.html' , 370, 160 ) ; break ; - case 'AnchorDelete' : oCommand = new FCKAnchorDeleteCommand() ; break ; - case 'BulletedList' : oCommand = new FCKDialogCommand( 'BulletedList', FCKLang.BulletedListProp , 'dialog/fck_listprop.html?UL' , 370, 160 ) ; break ; - case 'NumberedList' : oCommand = new FCKDialogCommand( 'NumberedList', FCKLang.NumberedListProp , 'dialog/fck_listprop.html?OL' , 370, 160 ) ; break ; - case 'About' : oCommand = new FCKDialogCommand( 'About' , FCKLang.About , 'dialog/fck_about.html' , 420, 330, function(){ return FCK_TRISTATE_OFF ; } ) ; break ; - case 'Find' : oCommand = new FCKDialogCommand( 'Find' , FCKLang.DlgFindAndReplaceTitle, 'dialog/fck_replace.html' , 340, 230, null, null, 'Find' ) ; break ; - case 'Replace' : oCommand = new FCKDialogCommand( 'Replace' , FCKLang.DlgFindAndReplaceTitle, 'dialog/fck_replace.html' , 340, 230, null, null, 'Replace' ) ; break ; - - case 'Image' : oCommand = new FCKDialogCommand( 'Image' , FCKLang.DlgImgTitle , 'dialog/fck_image.html' , 450, 390 ) ; break ; - case 'Flash' : oCommand = new FCKDialogCommand( 'Flash' , FCKLang.DlgFlashTitle , 'dialog/fck_flash.html' , 450, 390 ) ; break ; - case 'SpecialChar' : oCommand = new FCKDialogCommand( 'SpecialChar', FCKLang.DlgSpecialCharTitle , 'dialog/fck_specialchar.html' , 400, 290 ) ; break ; - case 'Smiley' : oCommand = new FCKDialogCommand( 'Smiley' , FCKLang.DlgSmileyTitle , 'dialog/fck_smiley.html' , FCKConfig.SmileyWindowWidth, FCKConfig.SmileyWindowHeight ) ; break ; - case 'Table' : oCommand = new FCKDialogCommand( 'Table' , FCKLang.DlgTableTitle , 'dialog/fck_table.html' , 480, 250 ) ; break ; - case 'TableProp' : oCommand = new FCKDialogCommand( 'Table' , FCKLang.DlgTableTitle , 'dialog/fck_table.html?Parent', 480, 250 ) ; break ; - case 'TableCellProp': oCommand = new FCKDialogCommand( 'TableCell' , FCKLang.DlgCellTitle , 'dialog/fck_tablecell.html' , 550, 240 ) ; break ; - - case 'Style' : oCommand = new FCKStyleCommand() ; break ; - - case 'FontName' : oCommand = new FCKFontNameCommand() ; break ; - case 'FontSize' : oCommand = new FCKFontSizeCommand() ; break ; - case 'FontFormat' : oCommand = new FCKFormatBlockCommand() ; break ; - - case 'Source' : oCommand = new FCKSourceCommand() ; break ; - case 'Preview' : oCommand = new FCKPreviewCommand() ; break ; - case 'Save' : oCommand = new FCKSaveCommand() ; break ; - case 'NewPage' : oCommand = new FCKNewPageCommand() ; break ; - case 'PageBreak' : oCommand = new FCKPageBreakCommand() ; break ; - case 'Rule' : oCommand = new FCKRuleCommand() ; break ; - case 'Nbsp' : oCommand = new FCKNbsp() ; break ; - - case 'TextColor' : oCommand = new FCKTextColorCommand('ForeColor') ; break ; - case 'BGColor' : oCommand = new FCKTextColorCommand('BackColor') ; break ; - - case 'Paste' : oCommand = new FCKPasteCommand() ; break ; - case 'PasteText' : oCommand = new FCKPastePlainTextCommand() ; break ; - case 'PasteWord' : oCommand = new FCKPasteWordCommand() ; break ; - - case 'JustifyLeft' : oCommand = new FCKJustifyCommand( 'left' ) ; break ; - case 'JustifyCenter' : oCommand = new FCKJustifyCommand( 'center' ) ; break ; - case 'JustifyRight' : oCommand = new FCKJustifyCommand( 'right' ) ; break ; - case 'JustifyFull' : oCommand = new FCKJustifyCommand( 'justify' ) ; break ; - case 'Indent' : oCommand = new FCKIndentCommand( 'indent', FCKConfig.IndentLength ) ; break ; - case 'Outdent' : oCommand = new FCKIndentCommand( 'outdent', FCKConfig.IndentLength * -1 ) ; break ; - case 'Blockquote' : oCommand = new FCKBlockQuoteCommand() ; break ; - case 'CreateDiv' : oCommand = new FCKDialogCommand( 'CreateDiv', FCKLang.CreateDiv, 'dialog/fck_div.html', 380, 210, null, null, true ) ; break ; - case 'EditDiv' : oCommand = new FCKDialogCommand( 'EditDiv', FCKLang.EditDiv, 'dialog/fck_div.html', 380, 210, null, null, false ) ; break ; - case 'DeleteDiv' : oCommand = new FCKDeleteDivCommand() ; break ; - - case 'TableInsertRowAfter' : oCommand = new FCKTableCommand('TableInsertRowAfter') ; break ; - case 'TableInsertRowBefore' : oCommand = new FCKTableCommand('TableInsertRowBefore') ; break ; - case 'TableDeleteRows' : oCommand = new FCKTableCommand('TableDeleteRows') ; break ; - case 'TableInsertColumnAfter' : oCommand = new FCKTableCommand('TableInsertColumnAfter') ; break ; - case 'TableInsertColumnBefore' : oCommand = new FCKTableCommand('TableInsertColumnBefore') ; break ; - case 'TableDeleteColumns' : oCommand = new FCKTableCommand('TableDeleteColumns') ; break ; - case 'TableInsertCellAfter' : oCommand = new FCKTableCommand('TableInsertCellAfter') ; break ; - case 'TableInsertCellBefore' : oCommand = new FCKTableCommand('TableInsertCellBefore') ; break ; - case 'TableDeleteCells' : oCommand = new FCKTableCommand('TableDeleteCells') ; break ; - case 'TableMergeCells' : oCommand = new FCKTableCommand('TableMergeCells') ; break ; - case 'TableMergeRight' : oCommand = new FCKTableCommand('TableMergeRight') ; break ; - case 'TableMergeDown' : oCommand = new FCKTableCommand('TableMergeDown') ; break ; - case 'TableHorizontalSplitCell' : oCommand = new FCKTableCommand('TableHorizontalSplitCell') ; break ; - case 'TableVerticalSplitCell' : oCommand = new FCKTableCommand('TableVerticalSplitCell') ; break ; - case 'TableDelete' : oCommand = new FCKTableCommand('TableDelete') ; break ; - - case 'Form' : oCommand = new FCKDialogCommand( 'Form' , FCKLang.Form , 'dialog/fck_form.html' , 380, 210 ) ; break ; - case 'Checkbox' : oCommand = new FCKDialogCommand( 'Checkbox' , FCKLang.Checkbox , 'dialog/fck_checkbox.html' , 380, 200 ) ; break ; - case 'Radio' : oCommand = new FCKDialogCommand( 'Radio' , FCKLang.RadioButton , 'dialog/fck_radiobutton.html' , 380, 200 ) ; break ; - case 'TextField' : oCommand = new FCKDialogCommand( 'TextField' , FCKLang.TextField , 'dialog/fck_textfield.html' , 380, 210 ) ; break ; - case 'Textarea' : oCommand = new FCKDialogCommand( 'Textarea' , FCKLang.Textarea , 'dialog/fck_textarea.html' , 380, 210 ) ; break ; - case 'HiddenField' : oCommand = new FCKDialogCommand( 'HiddenField', FCKLang.HiddenField , 'dialog/fck_hiddenfield.html' , 380, 190 ) ; break ; - case 'Button' : oCommand = new FCKDialogCommand( 'Button' , FCKLang.Button , 'dialog/fck_button.html' , 380, 210 ) ; break ; - case 'Select' : oCommand = new FCKDialogCommand( 'Select' , FCKLang.SelectionField, 'dialog/fck_select.html' , 400, 340 ) ; break ; - case 'ImageButton' : oCommand = new FCKDialogCommand( 'ImageButton', FCKLang.ImageButton , 'dialog/fck_image.html?ImageButton', 450, 390 ) ; break ; - - case 'SpellCheck' : oCommand = new FCKSpellCheckCommand() ; break ; - case 'FitWindow' : oCommand = new FCKFitWindow() ; break ; - - case 'Undo' : oCommand = new FCKUndoCommand() ; break ; - case 'Redo' : oCommand = new FCKRedoCommand() ; break ; - case 'Copy' : oCommand = new FCKCutCopyCommand( false ) ; break ; - case 'Cut' : oCommand = new FCKCutCopyCommand( true ) ; break ; - - case 'SelectAll' : oCommand = new FCKSelectAllCommand() ; break ; - case 'InsertOrderedList' : oCommand = new FCKListCommand( 'insertorderedlist', 'ol' ) ; break ; - case 'InsertUnorderedList' : oCommand = new FCKListCommand( 'insertunorderedlist', 'ul' ) ; break ; - case 'ShowBlocks' : oCommand = new FCKShowBlockCommand( 'ShowBlocks', FCKConfig.StartupShowBlocks ? FCK_TRISTATE_ON : FCK_TRISTATE_OFF ) ; break ; - - // Generic Undefined command (usually used when a command is under development). - case 'Undefined' : oCommand = new FCKUndefinedCommand() ; break ; - - // By default we assume that it is a named command. - default: - if ( FCKRegexLib.NamedCommands.test( commandName ) ) - oCommand = new FCKNamedCommand( commandName ) ; - else - { - alert( FCKLang.UnknownCommand.replace( /%1/g, commandName ) ) ; - return null ; - } - } - - FCKCommands.LoadedCommands[ commandName ] = oCommand ; - - return oCommand ; -} - -// Gets the state of the "Document Properties" button. It must be enabled only -// when "Full Page" editing is available. -FCKCommands.GetFullPageState = function() -{ - return FCKConfig.FullPage ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ; -} - - -FCKCommands.GetBooleanState = function( isDisabled ) -{ - return isDisabled ? FCK_TRISTATE_DISABLED : FCK_TRISTATE_OFF ; -} diff --git a/modules/editor/skins/fckeditor/editor/_source/internals/fckconfig.js b/modules/editor/skins/fckeditor/editor/_source/internals/fckconfig.js deleted file mode 100644 index adcbacb52..000000000 --- a/modules/editor/skins/fckeditor/editor/_source/internals/fckconfig.js +++ /dev/null @@ -1,237 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Creates and initializes the FCKConfig object. - */ - -var FCKConfig = FCK.Config = new Object() ; - -/* - For the next major version (probably 3.0) we should move all this stuff to - another dedicated object and leave FCKConfig as a holder object for settings only). -*/ - -// Editor Base Path -if ( document.location.protocol == 'file:' ) -{ - FCKConfig.BasePath = decodeURIComponent( document.location.pathname.substr(1) ) ; - FCKConfig.BasePath = FCKConfig.BasePath.replace( /\\/gi, '/' ) ; - - // The way to address local files is different according to the OS. - // In Windows it is file:// but in MacOs it is file:/// so let's get it automatically - var sFullProtocol = document.location.href.match( /^(file\:\/{2,3})/ )[1] ; - // #945 Opera does strange things with files loaded from the disk, and it fails in Mac to load xml files - if ( FCKBrowserInfo.IsOpera ) - sFullProtocol += 'localhost/' ; - - FCKConfig.BasePath = sFullProtocol + FCKConfig.BasePath.substring( 0, FCKConfig.BasePath.lastIndexOf( '/' ) + 1) ; -} -else - FCKConfig.BasePath = document.location.protocol + '//' + document.location.host + - document.location.pathname.substring( 0, document.location.pathname.lastIndexOf( '/' ) + 1) ; - -FCKConfig.FullBasePath = FCKConfig.BasePath ; - -FCKConfig.EditorPath = FCKConfig.BasePath.replace( /editor\/$/, '' ) ; - -// There is a bug in Gecko. If the editor is hidden on startup, an error is -// thrown when trying to get the screen dimensions. -try -{ - FCKConfig.ScreenWidth = screen.width ; - FCKConfig.ScreenHeight = screen.height ; -} -catch (e) -{ - FCKConfig.ScreenWidth = 800 ; - FCKConfig.ScreenHeight = 600 ; -} - -// Override the actual configuration values with the values passed throw the -// hidden field "___Config". -FCKConfig.ProcessHiddenField = function() -{ - this.PageConfig = new Object() ; - - // Get the hidden field. - var oConfigField = window.parent.document.getElementById( FCK.Name + '___Config' ) ; - - // Do nothing if the config field was not defined. - if ( ! oConfigField ) return ; - - var aCouples = oConfigField.value.split('&') ; - - for ( var i = 0 ; i < aCouples.length ; i++ ) - { - if ( aCouples[i].length == 0 ) - continue ; - - var aConfig = aCouples[i].split( '=' ) ; - var sKey = decodeURIComponent( aConfig[0] ) ; - var sVal = decodeURIComponent( aConfig[1] ) ; - - if ( sKey == 'CustomConfigurationsPath' ) // The Custom Config File path must be loaded immediately. - FCKConfig[ sKey ] = sVal ; - - else if ( sVal.toLowerCase() == "true" ) // If it is a boolean TRUE. - this.PageConfig[ sKey ] = true ; - - else if ( sVal.toLowerCase() == "false" ) // If it is a boolean FALSE. - this.PageConfig[ sKey ] = false ; - - else if ( sVal.length > 0 && !isNaN( sVal ) ) // If it is a number. - this.PageConfig[ sKey ] = parseInt( sVal, 10 ) ; - - else // In any other case it is a string. - this.PageConfig[ sKey ] = sVal ; - } -} - -function FCKConfig_LoadPageConfig() -{ - var oPageConfig = FCKConfig.PageConfig ; - for ( var sKey in oPageConfig ) - FCKConfig[ sKey ] = oPageConfig[ sKey ] ; -} - -function FCKConfig_PreProcess() -{ - var oConfig = FCKConfig ; - - // Force debug mode if fckdebug=true in the QueryString (main page). - if ( oConfig.AllowQueryStringDebug ) - { - try - { - if ( (/fckdebug=true/i).test( window.top.location.search ) ) - oConfig.Debug = true ; - } - catch (e) { /* Ignore it. Much probably we are inside a FRAME where the "top" is in another domain (security error). */ } - } - - // Certifies that the "PluginsPath" configuration ends with a slash. - if ( !oConfig.PluginsPath.EndsWith('/') ) - oConfig.PluginsPath += '/' ; - - // If no ToolbarComboPreviewCSS, point it to EditorAreaCSS. - var sComboPreviewCSS = oConfig.ToolbarComboPreviewCSS ; - if ( !sComboPreviewCSS || sComboPreviewCSS.length == 0 ) - oConfig.ToolbarComboPreviewCSS = oConfig.EditorAreaCSS ; - - // Turn the attributes that will be removed in the RemoveFormat from a string to an array - oConfig.RemoveAttributesArray = (oConfig.RemoveAttributes || '').split( ',' ); - - if ( !FCKConfig.SkinEditorCSS || FCKConfig.SkinEditorCSS.length == 0 ) - FCKConfig.SkinEditorCSS = FCKConfig.SkinPath + 'fck_editor.css' ; - - if ( !FCKConfig.SkinDialogCSS || FCKConfig.SkinDialogCSS.length == 0 ) - FCKConfig.SkinDialogCSS = FCKConfig.SkinPath + 'fck_dialog.css' ; -} - -// Define toolbar sets collection. -FCKConfig.ToolbarSets = new Object() ; - -// Defines the plugins collection. -FCKConfig.Plugins = new Object() ; -FCKConfig.Plugins.Items = new Array() ; - -FCKConfig.Plugins.Add = function( name, langs, path ) -{ - FCKConfig.Plugins.Items.AddItem( [name, langs, path] ) ; -} - -// FCKConfig.ProtectedSource: object that holds a collection of Regular -// Expressions that defined parts of the raw HTML that must remain untouched -// like custom tags, scripts, server side code, etc... -FCKConfig.ProtectedSource = new Object() ; - -// Generates a string used to identify and locate the Protected Tags comments. -FCKConfig.ProtectedSource._CodeTag = (new Date()).valueOf() ; - -// Initialize the regex array with the default ones. -FCKConfig.ProtectedSource.RegexEntries = [ - // First of any other protection, we must protect all comments to avoid - // loosing them (of course, IE related). - //g , - - // Script tags will also be forced to be protected, otherwise IE will execute them. - //gi, - - //

        - - - - - Preview
        - - - - - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html b/modules/editor/skins/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html deleted file mode 100644 index 0ac5acc1e..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - Document Properties - Preview - - - - - - - - - - - - - - -
        - Normal Text -
        - Visited Link - - Active Link -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_flash.html b/modules/editor/skins/fckeditor/editor/dialog/fck_flash.html deleted file mode 100644 index 1569175a6..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_flash.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - Flash Properties - - - - - - - -
        - - - - - - - - - - -
        - - - - - - - - -
        URL -
        -
        -
        - - - - - - -
        - Width
        - -
          - Height
        - -
        -
        - - - - -
        - - - - - - - -
        Preview
        -
        -
        -
        - - - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_flash/fck_flash.js b/modules/editor/skins/fckeditor/editor/dialog/fck_flash/fck_flash.js deleted file mode 100644 index 993ba8c3a..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_flash/fck_flash.js +++ /dev/null @@ -1,300 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Scripts related to the Flash dialog window (see fck_flash.html). - */ - -var dialog = window.parent ; -var oEditor = dialog.InnerDialogLoaded() ; -var FCK = oEditor.FCK ; -var FCKLang = oEditor.FCKLang ; -var FCKConfig = oEditor.FCKConfig ; -var FCKTools = oEditor.FCKTools ; - -//#### Dialog Tabs - -// Set the dialog tabs. -dialog.AddTab( 'Info', oEditor.FCKLang.DlgInfoTab ) ; - -if ( FCKConfig.FlashUpload ) - dialog.AddTab( 'Upload', FCKLang.DlgLnkUpload ) ; - -if ( !FCKConfig.FlashDlgHideAdvanced ) - dialog.AddTab( 'Advanced', oEditor.FCKLang.DlgAdvancedTag ) ; - -// Function called when a dialog tag is selected. -function OnDialogTabChange( tabCode ) -{ - ShowE('divInfo' , ( tabCode == 'Info' ) ) ; - ShowE('divUpload' , ( tabCode == 'Upload' ) ) ; - ShowE('divAdvanced' , ( tabCode == 'Advanced' ) ) ; -} - -// Get the selected flash embed (if available). -var oFakeImage = dialog.Selection.GetSelectedElement() ; -var oEmbed ; - -if ( oFakeImage ) -{ - if ( oFakeImage.tagName == 'IMG' && oFakeImage.getAttribute('_fckflash') ) - oEmbed = FCK.GetRealElement( oFakeImage ) ; - else - oFakeImage = null ; -} - -window.onload = function() -{ - // Translate the dialog box texts. - oEditor.FCKLanguageManager.TranslatePage(document) ; - - // Load the selected element information (if any). - LoadSelection() ; - - // Show/Hide the "Browse Server" button. - GetE('tdBrowse').style.display = FCKConfig.FlashBrowser ? '' : 'none' ; - - // Set the actual uploader URL. - if ( FCKConfig.FlashUpload ) - GetE('frmUpload').action = FCKConfig.FlashUploadURL ; - - dialog.SetAutoSize( true ) ; - - // Activate the "OK" button. - dialog.SetOkButton( true ) ; - - SelectField( 'txtUrl' ) ; -} - -function LoadSelection() -{ - if ( ! oEmbed ) return ; - - GetE('txtUrl').value = GetAttribute( oEmbed, 'src', '' ) ; - GetE('txtWidth').value = GetAttribute( oEmbed, 'width', '' ) ; - GetE('txtHeight').value = GetAttribute( oEmbed, 'height', '' ) ; - - // Get Advances Attributes - GetE('txtAttId').value = oEmbed.id ; - GetE('chkAutoPlay').checked = GetAttribute( oEmbed, 'play', 'true' ) == 'true' ; - GetE('chkLoop').checked = GetAttribute( oEmbed, 'loop', 'true' ) == 'true' ; - GetE('chkMenu').checked = GetAttribute( oEmbed, 'menu', 'true' ) == 'true' ; - GetE('cmbScale').value = GetAttribute( oEmbed, 'scale', '' ).toLowerCase() ; - - GetE('txtAttTitle').value = oEmbed.title ; - - if ( oEditor.FCKBrowserInfo.IsIE ) - { - GetE('txtAttClasses').value = oEmbed.getAttribute('className') || '' ; - GetE('txtAttStyle').value = oEmbed.style.cssText ; - } - else - { - GetE('txtAttClasses').value = oEmbed.getAttribute('class',2) || '' ; - GetE('txtAttStyle').value = oEmbed.getAttribute('style',2) || '' ; - } - - UpdatePreview() ; -} - -//#### The OK button was hit. -function Ok() -{ - if ( GetE('txtUrl').value.length == 0 ) - { - dialog.SetSelectedTab( 'Info' ) ; - GetE('txtUrl').focus() ; - - alert( oEditor.FCKLang.DlgAlertUrl ) ; - - return false ; - } - - oEditor.FCKUndo.SaveUndoStep() ; - if ( !oEmbed ) - { - oEmbed = FCK.EditorDocument.createElement( 'EMBED' ) ; - oFakeImage = null ; - } - UpdateEmbed( oEmbed ) ; - - if ( !oFakeImage ) - { - oFakeImage = oEditor.FCKDocumentProcessor_CreateFakeImage( 'FCK__Flash', oEmbed ) ; - oFakeImage.setAttribute( '_fckflash', 'true', 0 ) ; - oFakeImage = FCK.InsertElement( oFakeImage ) ; - } - - oEditor.FCKEmbedAndObjectProcessor.RefreshView( oFakeImage, oEmbed ) ; - - return true ; -} - -function UpdateEmbed( e ) -{ - SetAttribute( e, 'type' , 'application/x-shockwave-flash' ) ; - SetAttribute( e, 'pluginspage' , 'http://www.macromedia.com/go/getflashplayer' ) ; - - SetAttribute( e, 'src', GetE('txtUrl').value ) ; - SetAttribute( e, "width" , GetE('txtWidth').value ) ; - SetAttribute( e, "height", GetE('txtHeight').value ) ; - - // Advances Attributes - - SetAttribute( e, 'id' , GetE('txtAttId').value ) ; - SetAttribute( e, 'scale', GetE('cmbScale').value ) ; - - SetAttribute( e, 'play', GetE('chkAutoPlay').checked ? 'true' : 'false' ) ; - SetAttribute( e, 'loop', GetE('chkLoop').checked ? 'true' : 'false' ) ; - SetAttribute( e, 'menu', GetE('chkMenu').checked ? 'true' : 'false' ) ; - - SetAttribute( e, 'title' , GetE('txtAttTitle').value ) ; - - if ( oEditor.FCKBrowserInfo.IsIE ) - { - SetAttribute( e, 'className', GetE('txtAttClasses').value ) ; - e.style.cssText = GetE('txtAttStyle').value ; - } - else - { - SetAttribute( e, 'class', GetE('txtAttClasses').value ) ; - SetAttribute( e, 'style', GetE('txtAttStyle').value ) ; - } -} - -var ePreview ; - -function SetPreviewElement( previewEl ) -{ - ePreview = previewEl ; - - if ( GetE('txtUrl').value.length > 0 ) - UpdatePreview() ; -} - -function UpdatePreview() -{ - if ( !ePreview ) - return ; - - while ( ePreview.firstChild ) - ePreview.removeChild( ePreview.firstChild ) ; - - if ( GetE('txtUrl').value.length == 0 ) - ePreview.innerHTML = ' ' ; - else - { - var oDoc = ePreview.ownerDocument || ePreview.document ; - var e = oDoc.createElement( 'EMBED' ) ; - - SetAttribute( e, 'src', GetE('txtUrl').value ) ; - SetAttribute( e, 'type', 'application/x-shockwave-flash' ) ; - SetAttribute( e, 'width', '100%' ) ; - SetAttribute( e, 'height', '100%' ) ; - - ePreview.appendChild( e ) ; - } -} - -// - -function BrowseServer() -{ - OpenFileBrowser( FCKConfig.FlashBrowserURL, FCKConfig.FlashBrowserWindowWidth, FCKConfig.FlashBrowserWindowHeight ) ; -} - -function SetUrl( url, width, height ) -{ - GetE('txtUrl').value = url ; - - if ( width ) - GetE('txtWidth').value = width ; - - if ( height ) - GetE('txtHeight').value = height ; - - UpdatePreview() ; - - dialog.SetSelectedTab( 'Info' ) ; -} - -function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) -{ - // Remove animation - window.parent.Throbber.Hide() ; - GetE( 'divUpload' ).style.display = '' ; - - switch ( errorNumber ) - { - case 0 : // No errors - alert( 'Your file has been successfully uploaded' ) ; - break ; - case 1 : // Custom error - alert( customMsg ) ; - return ; - case 101 : // Custom warning - alert( customMsg ) ; - break ; - case 201 : - alert( 'A file with the same name is already available. The uploaded file has been renamed to "' + fileName + '"' ) ; - break ; - case 202 : - alert( 'Invalid file type' ) ; - return ; - case 203 : - alert( "Security error. You probably don't have enough permissions to upload. Please check your server." ) ; - return ; - case 500 : - alert( 'The connector is disabled' ) ; - break ; - default : - alert( 'Error on file upload. Error number: ' + errorNumber ) ; - return ; - } - - SetUrl( fileUrl ) ; - GetE('frmUpload').reset() ; -} - -var oUploadAllowedExtRegex = new RegExp( FCKConfig.FlashUploadAllowedExtensions, 'i' ) ; -var oUploadDeniedExtRegex = new RegExp( FCKConfig.FlashUploadDeniedExtensions, 'i' ) ; - -function CheckUpload() -{ - var sFile = GetE('txtUploadFile').value ; - - if ( sFile.length == 0 ) - { - alert( 'Please select a file to upload' ) ; - return false ; - } - - if ( ( FCKConfig.FlashUploadAllowedExtensions.length > 0 && !oUploadAllowedExtRegex.test( sFile ) ) || - ( FCKConfig.FlashUploadDeniedExtensions.length > 0 && oUploadDeniedExtRegex.test( sFile ) ) ) - { - OnUploadCompleted( 202 ) ; - return false ; - } - - // Show animation - window.parent.Throbber.Show( 100 ) ; - GetE( 'divUpload' ).style.display = 'none' ; - - return true ; -} diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html b/modules/editor/skins/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html deleted file mode 100644 index 4817c1d1f..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_form.html b/modules/editor/skins/fckeditor/editor/dialog/fck_form.html deleted file mode 100644 index 71edf4944..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_form.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - -
        - - - - - - - - - - -
        - Name
        - -
        - Action
        - -
        - Method
        - -
        -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_hiddenfield.html b/modules/editor/skins/fckeditor/editor/dialog/fck_hiddenfield.html deleted file mode 100644 index 3ee162f65..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_hiddenfield.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - Hidden Field Properties - - - - - - - - - - -
        - - - - - - - -
        - Name
        - -
        - Value
        - -
        -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_image.html b/modules/editor/skins/fckeditor/editor/dialog/fck_image.html deleted file mode 100644 index 5ce5ecb61..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_image.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - Image Properties - - - - - - - -
        - - - - - - - - - - -
        - - - - - - - - -
        - URL -
        - -
        -
        - Short Description
        -
        -
        - - - - - - -
        -
        - - - - - - - - - - - -
        - Width  - -
        -
        -
        -
        -
        -
        - Height  -
        -
        - - - - - - - - - - - - - - - - - -
        - Border  -
        - HSpace  -
        - VSpace  -
        - Align  - -
        -
        -     - - - - - - - -
        - Preview
        - -
        -
        -
        -
        - - - - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_image/fck_image.js b/modules/editor/skins/fckeditor/editor/dialog/fck_image/fck_image.js deleted file mode 100644 index 7498e07d3..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_image/fck_image.js +++ /dev/null @@ -1,512 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Scripts related to the Image dialog window (see fck_image.html). - */ - -var dialog = window.parent ; -var oEditor = dialog.InnerDialogLoaded() ; -var FCK = oEditor.FCK ; -var FCKLang = oEditor.FCKLang ; -var FCKConfig = oEditor.FCKConfig ; -var FCKDebug = oEditor.FCKDebug ; -var FCKTools = oEditor.FCKTools ; - -var bImageButton = ( document.location.search.length > 0 && document.location.search.substr(1) == 'ImageButton' ) ; - -//#### Dialog Tabs - -// Set the dialog tabs. -dialog.AddTab( 'Info', FCKLang.DlgImgInfoTab ) ; - -if ( !bImageButton && !FCKConfig.ImageDlgHideLink ) - dialog.AddTab( 'Link', FCKLang.DlgImgLinkTab ) ; - -if ( FCKConfig.ImageUpload ) - dialog.AddTab( 'Upload', FCKLang.DlgLnkUpload ) ; - -if ( !FCKConfig.ImageDlgHideAdvanced ) - dialog.AddTab( 'Advanced', FCKLang.DlgAdvancedTag ) ; - -// Function called when a dialog tag is selected. -function OnDialogTabChange( tabCode ) -{ - ShowE('divInfo' , ( tabCode == 'Info' ) ) ; - ShowE('divLink' , ( tabCode == 'Link' ) ) ; - ShowE('divUpload' , ( tabCode == 'Upload' ) ) ; - ShowE('divAdvanced' , ( tabCode == 'Advanced' ) ) ; -} - -// Get the selected image (if available). -var oImage = dialog.Selection.GetSelectedElement() ; - -if ( oImage && oImage.tagName != 'IMG' && !( oImage.tagName == 'INPUT' && oImage.type == 'image' ) ) - oImage = null ; - -// Get the active link. -var oLink = dialog.Selection.GetSelection().MoveToAncestorNode( 'A' ) ; - -var oImageOriginal ; - -function UpdateOriginal( resetSize ) -{ - if ( !eImgPreview ) - return ; - - if ( GetE('txtUrl').value.length == 0 ) - { - oImageOriginal = null ; - return ; - } - - oImageOriginal = document.createElement( 'IMG' ) ; // new Image() ; - - if ( resetSize ) - { - oImageOriginal.onload = function() - { - this.onload = null ; - ResetSizes() ; - } - } - - oImageOriginal.src = eImgPreview.src ; -} - -var bPreviewInitialized ; - -window.onload = function() -{ - // Translate the dialog box texts. - oEditor.FCKLanguageManager.TranslatePage(document) ; - - GetE('btnLockSizes').title = FCKLang.DlgImgLockRatio ; - GetE('btnResetSize').title = FCKLang.DlgBtnResetSize ; - - // Load the selected element information (if any). - LoadSelection() ; - - // Show/Hide the "Browse Server" button. - GetE('tdBrowse').style.display = FCKConfig.ImageBrowser ? '' : 'none' ; - GetE('divLnkBrowseServer').style.display = FCKConfig.LinkBrowser ? '' : 'none' ; - - UpdateOriginal() ; - - // Set the actual uploader URL. - if ( FCKConfig.ImageUpload ) - GetE('frmUpload').action = FCKConfig.ImageUploadURL ; - - dialog.SetAutoSize( true ) ; - - // Activate the "OK" button. - dialog.SetOkButton( true ) ; - - SelectField( 'txtUrl' ) ; -} - -function LoadSelection() -{ - if ( ! oImage ) return ; - - var sUrl = oImage.getAttribute( '_fcksavedurl' ) ; - if ( sUrl == null ) - sUrl = GetAttribute( oImage, 'src', '' ) ; - - GetE('txtUrl').value = sUrl ; - GetE('txtAlt').value = GetAttribute( oImage, 'alt', '' ) ; - GetE('txtVSpace').value = GetAttribute( oImage, 'vspace', '' ) ; - GetE('txtHSpace').value = GetAttribute( oImage, 'hspace', '' ) ; - GetE('txtBorder').value = GetAttribute( oImage, 'border', '' ) ; - GetE('cmbAlign').value = GetAttribute( oImage, 'align', '' ) ; - - var iWidth, iHeight ; - - var regexSize = /^\s*(\d+)px\s*$/i ; - - if ( oImage.style.width ) - { - var aMatchW = oImage.style.width.match( regexSize ) ; - if ( aMatchW ) - { - iWidth = aMatchW[1] ; - oImage.style.width = '' ; - SetAttribute( oImage, 'width' , iWidth ) ; - } - } - - if ( oImage.style.height ) - { - var aMatchH = oImage.style.height.match( regexSize ) ; - if ( aMatchH ) - { - iHeight = aMatchH[1] ; - oImage.style.height = '' ; - SetAttribute( oImage, 'height', iHeight ) ; - } - } - - GetE('txtWidth').value = iWidth ? iWidth : GetAttribute( oImage, "width", '' ) ; - GetE('txtHeight').value = iHeight ? iHeight : GetAttribute( oImage, "height", '' ) ; - - // Get Advances Attributes - GetE('txtAttId').value = oImage.id ; - GetE('cmbAttLangDir').value = oImage.dir ; - GetE('txtAttLangCode').value = oImage.lang ; - GetE('txtAttTitle').value = oImage.title ; - GetE('txtLongDesc').value = oImage.longDesc ; - - if ( oEditor.FCKBrowserInfo.IsIE ) - { - GetE('txtAttClasses').value = oImage.className || '' ; - GetE('txtAttStyle').value = oImage.style.cssText ; - } - else - { - GetE('txtAttClasses').value = oImage.getAttribute('class',2) || '' ; - GetE('txtAttStyle').value = oImage.getAttribute('style',2) ; - } - - if ( oLink ) - { - var sLinkUrl = oLink.getAttribute( '_fcksavedurl' ) ; - if ( sLinkUrl == null ) - sLinkUrl = oLink.getAttribute('href',2) ; - - GetE('txtLnkUrl').value = sLinkUrl ; - GetE('cmbLnkTarget').value = oLink.target ; - } - - UpdatePreview() ; -} - -//#### The OK button was hit. -function Ok() -{ - if ( GetE('txtUrl').value.length == 0 ) - { - dialog.SetSelectedTab( 'Info' ) ; - GetE('txtUrl').focus() ; - - alert( FCKLang.DlgImgAlertUrl ) ; - - return false ; - } - - var bHasImage = ( oImage != null ) ; - - if ( bHasImage && bImageButton && oImage.tagName == 'IMG' ) - { - if ( confirm( 'Do you want to transform the selected image on a image button?' ) ) - oImage = null ; - } - else if ( bHasImage && !bImageButton && oImage.tagName == 'INPUT' ) - { - if ( confirm( 'Do you want to transform the selected image button on a simple image?' ) ) - oImage = null ; - } - - oEditor.FCKUndo.SaveUndoStep() ; - if ( !bHasImage ) - { - if ( bImageButton ) - { - oImage = FCK.EditorDocument.createElement( 'input' ) ; - oImage.type = 'image' ; - oImage = FCK.InsertElement( oImage ) ; - } - else - oImage = FCK.InsertElement( 'img' ) ; - } - - UpdateImage( oImage ) ; - - var sLnkUrl = GetE('txtLnkUrl').value.Trim() ; - - if ( sLnkUrl.length == 0 ) - { - if ( oLink ) - FCK.ExecuteNamedCommand( 'Unlink' ) ; - } - else - { - if ( oLink ) // Modifying an existent link. - oLink.href = sLnkUrl ; - else // Creating a new link. - { - if ( !bHasImage ) - oEditor.FCKSelection.SelectNode( oImage ) ; - - oLink = oEditor.FCK.CreateLink( sLnkUrl )[0] ; - - if ( !bHasImage ) - { - oEditor.FCKSelection.SelectNode( oLink ) ; - oEditor.FCKSelection.Collapse( false ) ; - } - } - - SetAttribute( oLink, '_fcksavedurl', sLnkUrl ) ; - SetAttribute( oLink, 'target', GetE('cmbLnkTarget').value ) ; - } - - return true ; -} - -function UpdateImage( e, skipId ) -{ - e.src = GetE('txtUrl').value ; - SetAttribute( e, "_fcksavedurl", GetE('txtUrl').value ) ; - SetAttribute( e, "alt" , GetE('txtAlt').value ) ; - SetAttribute( e, "width" , GetE('txtWidth').value ) ; - SetAttribute( e, "height", GetE('txtHeight').value ) ; - SetAttribute( e, "vspace", GetE('txtVSpace').value ) ; - SetAttribute( e, "hspace", GetE('txtHSpace').value ) ; - SetAttribute( e, "border", GetE('txtBorder').value ) ; - SetAttribute( e, "align" , GetE('cmbAlign').value ) ; - - // Advances Attributes - - if ( ! skipId ) - SetAttribute( e, 'id', GetE('txtAttId').value ) ; - - SetAttribute( e, 'dir' , GetE('cmbAttLangDir').value ) ; - SetAttribute( e, 'lang' , GetE('txtAttLangCode').value ) ; - SetAttribute( e, 'title' , GetE('txtAttTitle').value ) ; - SetAttribute( e, 'longDesc' , GetE('txtLongDesc').value ) ; - - if ( oEditor.FCKBrowserInfo.IsIE ) - { - e.className = GetE('txtAttClasses').value ; - e.style.cssText = GetE('txtAttStyle').value ; - } - else - { - SetAttribute( e, 'class' , GetE('txtAttClasses').value ) ; - SetAttribute( e, 'style', GetE('txtAttStyle').value ) ; - } -} - -var eImgPreview ; -var eImgPreviewLink ; - -function SetPreviewElements( imageElement, linkElement ) -{ - eImgPreview = imageElement ; - eImgPreviewLink = linkElement ; - - UpdatePreview() ; - UpdateOriginal() ; - - bPreviewInitialized = true ; -} - -function UpdatePreview() -{ - if ( !eImgPreview || !eImgPreviewLink ) - return ; - - if ( GetE('txtUrl').value.length == 0 ) - eImgPreviewLink.style.display = 'none' ; - else - { - UpdateImage( eImgPreview, true ) ; - - if ( GetE('txtLnkUrl').value.Trim().length > 0 ) - eImgPreviewLink.href = 'javascript:void(null);' ; - else - SetAttribute( eImgPreviewLink, 'href', '' ) ; - - eImgPreviewLink.style.display = '' ; - } -} - -var bLockRatio = true ; - -function SwitchLock( lockButton ) -{ - bLockRatio = !bLockRatio ; - lockButton.className = bLockRatio ? 'BtnLocked' : 'BtnUnlocked' ; - lockButton.title = bLockRatio ? 'Lock sizes' : 'Unlock sizes' ; - - if ( bLockRatio ) - { - if ( GetE('txtWidth').value.length > 0 ) - OnSizeChanged( 'Width', GetE('txtWidth').value ) ; - else - OnSizeChanged( 'Height', GetE('txtHeight').value ) ; - } -} - -// Fired when the width or height input texts change -function OnSizeChanged( dimension, value ) -{ - // Verifies if the aspect ration has to be maintained - if ( oImageOriginal && bLockRatio ) - { - var e = dimension == 'Width' ? GetE('txtHeight') : GetE('txtWidth') ; - - if ( value.length == 0 || isNaN( value ) ) - { - e.value = '' ; - return ; - } - - if ( dimension == 'Width' ) - value = value == 0 ? 0 : Math.round( oImageOriginal.height * ( value / oImageOriginal.width ) ) ; - else - value = value == 0 ? 0 : Math.round( oImageOriginal.width * ( value / oImageOriginal.height ) ) ; - - if ( !isNaN( value ) ) - e.value = value ; - } - - UpdatePreview() ; -} - -// Fired when the Reset Size button is clicked -function ResetSizes() -{ - if ( ! oImageOriginal ) return ; - if ( oEditor.FCKBrowserInfo.IsGecko && !oImageOriginal.complete ) - { - setTimeout( ResetSizes, 50 ) ; - return ; - } - - GetE('txtWidth').value = oImageOriginal.width ; - GetE('txtHeight').value = oImageOriginal.height ; - - UpdatePreview() ; -} - -function BrowseServer() -{ - OpenServerBrowser( - 'Image', - FCKConfig.ImageBrowserURL, - FCKConfig.ImageBrowserWindowWidth, - FCKConfig.ImageBrowserWindowHeight ) ; -} - -function LnkBrowseServer() -{ - OpenServerBrowser( - 'Link', - FCKConfig.LinkBrowserURL, - FCKConfig.LinkBrowserWindowWidth, - FCKConfig.LinkBrowserWindowHeight ) ; -} - -function OpenServerBrowser( type, url, width, height ) -{ - sActualBrowser = type ; - OpenFileBrowser( url, width, height ) ; -} - -var sActualBrowser ; - -function SetUrl( url, width, height, alt ) -{ - if ( sActualBrowser == 'Link' ) - { - GetE('txtLnkUrl').value = url ; - UpdatePreview() ; - } - else - { - GetE('txtUrl').value = url ; - GetE('txtWidth').value = width ? width : '' ; - GetE('txtHeight').value = height ? height : '' ; - - if ( alt ) - GetE('txtAlt').value = alt; - - UpdatePreview() ; - UpdateOriginal( true ) ; - } - - dialog.SetSelectedTab( 'Info' ) ; -} - -function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) -{ - // Remove animation - window.parent.Throbber.Hide() ; - GetE( 'divUpload' ).style.display = '' ; - - switch ( errorNumber ) - { - case 0 : // No errors - alert( 'Your file has been successfully uploaded' ) ; - break ; - case 1 : // Custom error - alert( customMsg ) ; - return ; - case 101 : // Custom warning - alert( customMsg ) ; - break ; - case 201 : - alert( 'A file with the same name is already available. The uploaded file has been renamed to "' + fileName + '"' ) ; - break ; - case 202 : - alert( 'Invalid file type' ) ; - return ; - case 203 : - alert( "Security error. You probably don't have enough permissions to upload. Please check your server." ) ; - return ; - case 500 : - alert( 'The connector is disabled' ) ; - break ; - default : - alert( 'Error on file upload. Error number: ' + errorNumber ) ; - return ; - } - - sActualBrowser = '' ; - SetUrl( fileUrl ) ; - GetE('frmUpload').reset() ; -} - -var oUploadAllowedExtRegex = new RegExp( FCKConfig.ImageUploadAllowedExtensions, 'i' ) ; -var oUploadDeniedExtRegex = new RegExp( FCKConfig.ImageUploadDeniedExtensions, 'i' ) ; - -function CheckUpload() -{ - var sFile = GetE('txtUploadFile').value ; - - if ( sFile.length == 0 ) - { - alert( 'Please select a file to upload' ) ; - return false ; - } - - if ( ( FCKConfig.ImageUploadAllowedExtensions.length > 0 && !oUploadAllowedExtRegex.test( sFile ) ) || - ( FCKConfig.ImageUploadDeniedExtensions.length > 0 && oUploadDeniedExtRegex.test( sFile ) ) ) - { - OnUploadCompleted( 202 ) ; - return false ; - } - - // Show animation - window.parent.Throbber.Show( 100 ) ; - GetE( 'divUpload' ).style.display = 'none' ; - - return true ; -} diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_image/fck_image_preview.html b/modules/editor/skins/fckeditor/editor/dialog/fck_image/fck_image_preview.html deleted file mode 100644 index 81f44e8d0..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_image/fck_image_preview.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - -
        - - Lorem ipsum dolor sit amet, consectetuer adipiscing - elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus - a, commodo non, facilisis vitae, nulla. Aenean dictum lacinia tortor. Nunc iaculis, - nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed - velit. Nulla pretium mi et risus. Fusce mi pede, tempor id, cursus ac, ullamcorper - nec, enim. Sed tortor. Curabitur molestie. Duis velit augue, condimentum at, ultrices - a, luctus ut, orci. Donec pellentesque egestas eros. Integer cursus, augue in cursus - faucibus, eros pede bibendum sem, in tempus tellus justo quis ligula. Etiam eget - tortor. Vestibulum rutrum, est ut placerat elementum, lectus nisl aliquam velit, - tempor aliquam eros nunc nonummy metus. In eros metus, gravida a, gravida sed, lobortis - id, turpis. Ut ultrices, ipsum at venenatis fringilla, sem nulla lacinia tellus, - eget aliquet turpis mauris non enim. Nam turpis. Suspendisse lacinia. Curabitur - ac tortor ut ipsum egestas elementum. Nunc imperdiet gravida mauris. -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_link.html b/modules/editor/skins/fckeditor/editor/dialog/fck_link.html deleted file mode 100644 index 6d69e6e2c..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_link.html +++ /dev/null @@ -1,295 +0,0 @@ - - - - - Link Properties - - - - - - - - - - - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_link/fck_link.js b/modules/editor/skins/fckeditor/editor/dialog/fck_link/fck_link.js deleted file mode 100644 index 817b3e1f4..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_link/fck_link.js +++ /dev/null @@ -1,893 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Scripts related to the Link dialog window (see fck_link.html). - */ - -var dialog = window.parent ; -var oEditor = dialog.InnerDialogLoaded() ; - -var FCK = oEditor.FCK ; -var FCKLang = oEditor.FCKLang ; -var FCKConfig = oEditor.FCKConfig ; -var FCKRegexLib = oEditor.FCKRegexLib ; -var FCKTools = oEditor.FCKTools ; - -//#### Dialog Tabs - -// Set the dialog tabs. -dialog.AddTab( 'Info', FCKLang.DlgLnkInfoTab ) ; - -if ( !FCKConfig.LinkDlgHideTarget ) - dialog.AddTab( 'Target', FCKLang.DlgLnkTargetTab, true ) ; - -if ( FCKConfig.LinkUpload ) - dialog.AddTab( 'Upload', FCKLang.DlgLnkUpload, true ) ; - -if ( !FCKConfig.LinkDlgHideAdvanced ) - dialog.AddTab( 'Advanced', FCKLang.DlgAdvancedTag ) ; - -// Function called when a dialog tag is selected. -function OnDialogTabChange( tabCode ) -{ - ShowE('divInfo' , ( tabCode == 'Info' ) ) ; - ShowE('divTarget' , ( tabCode == 'Target' ) ) ; - ShowE('divUpload' , ( tabCode == 'Upload' ) ) ; - ShowE('divAttribs' , ( tabCode == 'Advanced' ) ) ; - - dialog.SetAutoSize( true ) ; -} - -//#### Regular Expressions library. -var oRegex = new Object() ; - -oRegex.UriProtocol = /^(((http|https|ftp|news):\/\/)|mailto:)/gi ; - -oRegex.UrlOnChangeProtocol = /^(http|https|ftp|news):\/\/(?=.)/gi ; - -oRegex.UrlOnChangeTestOther = /^((javascript:)|[#\/\.])/gi ; - -oRegex.ReserveTarget = /^_(blank|self|top|parent)$/i ; - -oRegex.PopupUri = /^javascript:void\(\s*window.open\(\s*'([^']+)'\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*\)\s*$/ ; - -// Accessible popups -oRegex.OnClickPopup = /^\s*on[cC]lick="\s*window.open\(\s*this\.href\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*;\s*return\s*false;*\s*"$/ ; - -oRegex.PopupFeatures = /(?:^|,)([^=]+)=(\d+|yes|no)/gi ; - -//#### Parser Functions - -var oParser = new Object() ; - -// This method simply returns the two inputs in numerical order. You can even -// provide strings, as the method would parseInt() the values. -oParser.SortNumerical = function(a, b) -{ - return parseInt( a, 10 ) - parseInt( b, 10 ) ; -} - -oParser.ParseEMailParams = function(sParams) -{ - // Initialize the oEMailParams object. - var oEMailParams = new Object() ; - oEMailParams.Subject = '' ; - oEMailParams.Body = '' ; - - var aMatch = sParams.match( /(^|^\?|&)subject=([^&]+)/i ) ; - if ( aMatch ) oEMailParams.Subject = decodeURIComponent( aMatch[2] ) ; - - aMatch = sParams.match( /(^|^\?|&)body=([^&]+)/i ) ; - if ( aMatch ) oEMailParams.Body = decodeURIComponent( aMatch[2] ) ; - - return oEMailParams ; -} - -// This method returns either an object containing the email info, or FALSE -// if the parameter is not an email link. -oParser.ParseEMailUri = function( sUrl ) -{ - // Initializes the EMailInfo object. - var oEMailInfo = new Object() ; - oEMailInfo.Address = '' ; - oEMailInfo.Subject = '' ; - oEMailInfo.Body = '' ; - - var aLinkInfo = sUrl.match( /^(\w+):(.*)$/ ) ; - if ( aLinkInfo && aLinkInfo[1] == 'mailto' ) - { - // This seems to be an unprotected email link. - var aParts = aLinkInfo[2].match( /^([^\?]+)\??(.+)?/ ) ; - if ( aParts ) - { - // Set the e-mail address. - oEMailInfo.Address = aParts[1] ; - - // Look for the optional e-mail parameters. - if ( aParts[2] ) - { - var oEMailParams = oParser.ParseEMailParams( aParts[2] ) ; - oEMailInfo.Subject = oEMailParams.Subject ; - oEMailInfo.Body = oEMailParams.Body ; - } - } - return oEMailInfo ; - } - else if ( aLinkInfo && aLinkInfo[1] == 'javascript' ) - { - // This may be a protected email. - - // Try to match the url against the EMailProtectionFunction. - var func = FCKConfig.EMailProtectionFunction ; - if ( func != null ) - { - try - { - // Escape special chars. - func = func.replace( /([\/^$*+.?()\[\]])/g, '\\$1' ) ; - - // Define the possible keys. - var keys = new Array('NAME', 'DOMAIN', 'SUBJECT', 'BODY') ; - - // Get the order of the keys (hold them in the array ) and - // the function replaced by regular expression patterns. - var sFunc = func ; - var pos = new Array() ; - for ( var i = 0 ; i < keys.length ; i ++ ) - { - var rexp = new RegExp( keys[i] ) ; - var p = func.search( rexp ) ; - if ( p >= 0 ) - { - sFunc = sFunc.replace( rexp, '\'([^\']*)\'' ) ; - pos[pos.length] = p + ':' + keys[i] ; - } - } - - // Sort the available keys. - pos.sort( oParser.SortNumerical ) ; - - // Replace the excaped single quotes in the url, such they do - // not affect the regexp afterwards. - aLinkInfo[2] = aLinkInfo[2].replace( /\\'/g, '###SINGLE_QUOTE###' ) ; - - // Create the regexp and execute it. - var rFunc = new RegExp( '^' + sFunc + '$' ) ; - var aMatch = rFunc.exec( aLinkInfo[2] ) ; - if ( aMatch ) - { - var aInfo = new Array(); - for ( var i = 1 ; i < aMatch.length ; i ++ ) - { - var k = pos[i-1].match(/^\d+:(.+)$/) ; - aInfo[k[1]] = aMatch[i].replace(/###SINGLE_QUOTE###/g, '\'') ; - } - - // Fill the EMailInfo object that will be returned - oEMailInfo.Address = aInfo['NAME'] + '@' + aInfo['DOMAIN'] ; - oEMailInfo.Subject = decodeURIComponent( aInfo['SUBJECT'] ) ; - oEMailInfo.Body = decodeURIComponent( aInfo['BODY'] ) ; - - return oEMailInfo ; - } - } - catch (e) - { - } - } - - // Try to match the email against the encode protection. - var aMatch = aLinkInfo[2].match( /^location\.href='mailto:'\+(String\.fromCharCode\([\d,]+\))\+'(.*)'$/ ) ; - if ( aMatch ) - { - // The link is encoded - oEMailInfo.Address = eval( aMatch[1] ) ; - if ( aMatch[2] ) - { - var oEMailParams = oParser.ParseEMailParams( aMatch[2] ) ; - oEMailInfo.Subject = oEMailParams.Subject ; - oEMailInfo.Body = oEMailParams.Body ; - } - return oEMailInfo ; - } - } - return false; -} - -oParser.CreateEMailUri = function( address, subject, body ) -{ - // Switch for the EMailProtection setting. - switch ( FCKConfig.EMailProtection ) - { - case 'function' : - var func = FCKConfig.EMailProtectionFunction ; - if ( func == null ) - { - if ( FCKConfig.Debug ) - { - alert('EMailProtection alert!\nNo function defined. Please set "FCKConfig.EMailProtectionFunction"') ; - } - return ''; - } - - // Split the email address into name and domain parts. - var aAddressParts = address.split( '@', 2 ) ; - if ( aAddressParts[1] == undefined ) - { - aAddressParts[1] = '' ; - } - - // Replace the keys by their values (embedded in single quotes). - func = func.replace(/NAME/g, "'" + aAddressParts[0].replace(/'/g, '\\\'') + "'") ; - func = func.replace(/DOMAIN/g, "'" + aAddressParts[1].replace(/'/g, '\\\'') + "'") ; - func = func.replace(/SUBJECT/g, "'" + encodeURIComponent( subject ).replace(/'/g, '\\\'') + "'") ; - func = func.replace(/BODY/g, "'" + encodeURIComponent( body ).replace(/'/g, '\\\'') + "'") ; - - return 'javascript:' + func ; - - case 'encode' : - var aParams = [] ; - var aAddressCode = [] ; - - if ( subject.length > 0 ) - aParams.push( 'subject='+ encodeURIComponent( subject ) ) ; - if ( body.length > 0 ) - aParams.push( 'body=' + encodeURIComponent( body ) ) ; - for ( var i = 0 ; i < address.length ; i++ ) - aAddressCode.push( address.charCodeAt( i ) ) ; - - return 'javascript:location.href=\'mailto:\'+String.fromCharCode(' + aAddressCode.join( ',' ) + ')+\'?' + aParams.join( '&' ) + '\'' ; - } - - // EMailProtection 'none' - - var sBaseUri = 'mailto:' + address ; - - var sParams = '' ; - - if ( subject.length > 0 ) - sParams = '?subject=' + encodeURIComponent( subject ) ; - - if ( body.length > 0 ) - { - sParams += ( sParams.length == 0 ? '?' : '&' ) ; - sParams += 'body=' + encodeURIComponent( body ) ; - } - - return sBaseUri + sParams ; -} - -//#### Initialization Code - -// oLink: The actual selected link in the editor. -var oLink = dialog.Selection.GetSelection().MoveToAncestorNode( 'A' ) ; -if ( oLink ) - FCK.Selection.SelectNode( oLink ) ; - -window.onload = function() -{ - // Translate the dialog box texts. - oEditor.FCKLanguageManager.TranslatePage(document) ; - - // Fill the Anchor Names and Ids combos. - LoadAnchorNamesAndIds() ; - - // Load the selected link information (if any). - LoadSelection() ; - - // Update the dialog box. - SetLinkType( GetE('cmbLinkType').value ) ; - - // Show/Hide the "Browse Server" button. - GetE('divBrowseServer').style.display = FCKConfig.LinkBrowser ? '' : 'none' ; - - // Show the initial dialog content. - GetE('divInfo').style.display = '' ; - - // Set the actual uploader URL. - if ( FCKConfig.LinkUpload ) - GetE('frmUpload').action = FCKConfig.LinkUploadURL ; - - // Set the default target (from configuration). - SetDefaultTarget() ; - - // Activate the "OK" button. - dialog.SetOkButton( true ) ; - - // Select the first field. - switch( GetE('cmbLinkType').value ) - { - case 'url' : - SelectField( 'txtUrl' ) ; - break ; - case 'email' : - SelectField( 'txtEMailAddress' ) ; - break ; - case 'anchor' : - if ( GetE('divSelAnchor').style.display != 'none' ) - SelectField( 'cmbAnchorName' ) ; - else - SelectField( 'cmbLinkType' ) ; - } -} - -var bHasAnchors ; - -function LoadAnchorNamesAndIds() -{ - // Since version 2.0, the anchors are replaced in the DOM by IMGs so the user see the icon - // to edit them. So, we must look for that images now. - var aAnchors = new Array() ; - var i ; - var oImages = oEditor.FCK.EditorDocument.getElementsByTagName( 'IMG' ) ; - for( i = 0 ; i < oImages.length ; i++ ) - { - if ( oImages[i].getAttribute('_fckanchor') ) - aAnchors[ aAnchors.length ] = oEditor.FCK.GetRealElement( oImages[i] ) ; - } - - // Add also real anchors - var oLinks = oEditor.FCK.EditorDocument.getElementsByTagName( 'A' ) ; - for( i = 0 ; i < oLinks.length ; i++ ) - { - if ( oLinks[i].name && ( oLinks[i].name.length > 0 ) ) - aAnchors[ aAnchors.length ] = oLinks[i] ; - } - - var aIds = FCKTools.GetAllChildrenIds( oEditor.FCK.EditorDocument.body ) ; - - bHasAnchors = ( aAnchors.length > 0 || aIds.length > 0 ) ; - - for ( i = 0 ; i < aAnchors.length ; i++ ) - { - var sName = aAnchors[i].name ; - if ( sName && sName.length > 0 ) - FCKTools.AddSelectOption( GetE('cmbAnchorName'), sName, sName ) ; - } - - for ( i = 0 ; i < aIds.length ; i++ ) - { - FCKTools.AddSelectOption( GetE('cmbAnchorId'), aIds[i], aIds[i] ) ; - } - - ShowE( 'divSelAnchor' , bHasAnchors ) ; - ShowE( 'divNoAnchor' , !bHasAnchors ) ; -} - -function LoadSelection() -{ - if ( !oLink ) return ; - - var sType = 'url' ; - - // Get the actual Link href. - var sHRef = oLink.getAttribute( '_fcksavedurl' ) ; - if ( sHRef == null ) - sHRef = oLink.getAttribute( 'href' , 2 ) || '' ; - - // Look for a popup javascript link. - var oPopupMatch = oRegex.PopupUri.exec( sHRef ) ; - if( oPopupMatch ) - { - GetE('cmbTarget').value = 'popup' ; - sHRef = oPopupMatch[1] ; - FillPopupFields( oPopupMatch[2], oPopupMatch[3] ) ; - SetTarget( 'popup' ) ; - } - - // Accessible popups, the popup data is in the onclick attribute - if ( !oPopupMatch ) - { - var onclick = oLink.getAttribute( 'onclick_fckprotectedatt' ) ; - if ( onclick ) - { - // Decode the protected string - onclick = decodeURIComponent( onclick ) ; - - oPopupMatch = oRegex.OnClickPopup.exec( onclick ) ; - if( oPopupMatch ) - { - GetE( 'cmbTarget' ).value = 'popup' ; - FillPopupFields( oPopupMatch[1], oPopupMatch[2] ) ; - SetTarget( 'popup' ) ; - } - } - } - - // Search for the protocol. - var sProtocol = oRegex.UriProtocol.exec( sHRef ) ; - - // Search for a protected email link. - var oEMailInfo = oParser.ParseEMailUri( sHRef ); - - if ( oEMailInfo ) - { - sType = 'email' ; - - GetE('txtEMailAddress').value = oEMailInfo.Address ; - GetE('txtEMailSubject').value = oEMailInfo.Subject ; - GetE('txtEMailBody').value = oEMailInfo.Body ; - } - else if ( sProtocol ) - { - sProtocol = sProtocol[0].toLowerCase() ; - GetE('cmbLinkProtocol').value = sProtocol ; - - // Remove the protocol and get the remaining URL. - var sUrl = sHRef.replace( oRegex.UriProtocol, '' ) ; - sType = 'url' ; - GetE('txtUrl').value = sUrl ; - } - else if ( sHRef.substr(0,1) == '#' && sHRef.length > 1 ) // It is an anchor link. - { - sType = 'anchor' ; - GetE('cmbAnchorName').value = GetE('cmbAnchorId').value = sHRef.substr(1) ; - } - else // It is another type of link. - { - sType = 'url' ; - - GetE('cmbLinkProtocol').value = '' ; - GetE('txtUrl').value = sHRef ; - } - - if ( !oPopupMatch ) - { - // Get the target. - var sTarget = oLink.target ; - - if ( sTarget && sTarget.length > 0 ) - { - if ( oRegex.ReserveTarget.test( sTarget ) ) - { - sTarget = sTarget.toLowerCase() ; - GetE('cmbTarget').value = sTarget ; - } - else - GetE('cmbTarget').value = 'frame' ; - GetE('txtTargetFrame').value = sTarget ; - } - } - - // Get Advances Attributes - GetE('txtAttId').value = oLink.id ; - GetE('txtAttName').value = oLink.name ; - GetE('cmbAttLangDir').value = oLink.dir ; - GetE('txtAttLangCode').value = oLink.lang ; - GetE('txtAttAccessKey').value = oLink.accessKey ; - GetE('txtAttTabIndex').value = oLink.tabIndex <= 0 ? '' : oLink.tabIndex ; - GetE('txtAttTitle').value = oLink.title ; - GetE('txtAttContentType').value = oLink.type ; - GetE('txtAttCharSet').value = oLink.charset ; - - var sClass ; - if ( oEditor.FCKBrowserInfo.IsIE ) - { - sClass = oLink.getAttribute('className',2) || '' ; - // Clean up temporary classes for internal use: - sClass = sClass.replace( FCKRegexLib.FCK_Class, '' ) ; - - GetE('txtAttStyle').value = oLink.style.cssText ; - } - else - { - sClass = oLink.getAttribute('class',2) || '' ; - GetE('txtAttStyle').value = oLink.getAttribute('style',2) || '' ; - } - GetE('txtAttClasses').value = sClass ; - - // Update the Link type combo. - GetE('cmbLinkType').value = sType ; -} - -//#### Link type selection. -function SetLinkType( linkType ) -{ - ShowE('divLinkTypeUrl' , (linkType == 'url') ) ; - ShowE('divLinkTypeAnchor' , (linkType == 'anchor') ) ; - ShowE('divLinkTypeEMail' , (linkType == 'email') ) ; - - if ( !FCKConfig.LinkDlgHideTarget ) - dialog.SetTabVisibility( 'Target' , (linkType == 'url') ) ; - - if ( FCKConfig.LinkUpload ) - dialog.SetTabVisibility( 'Upload' , (linkType == 'url') ) ; - - if ( !FCKConfig.LinkDlgHideAdvanced ) - dialog.SetTabVisibility( 'Advanced' , (linkType != 'anchor' || bHasAnchors) ) ; - - if ( linkType == 'email' ) - dialog.SetAutoSize( true ) ; -} - -//#### Target type selection. -function SetTarget( targetType ) -{ - GetE('tdTargetFrame').style.display = ( targetType == 'popup' ? 'none' : '' ) ; - GetE('tdPopupName').style.display = - GetE('tablePopupFeatures').style.display = ( targetType == 'popup' ? '' : 'none' ) ; - - switch ( targetType ) - { - case "_blank" : - case "_self" : - case "_parent" : - case "_top" : - GetE('txtTargetFrame').value = targetType ; - break ; - case "" : - GetE('txtTargetFrame').value = '' ; - break ; - } - - if ( targetType == 'popup' ) - dialog.SetAutoSize( true ) ; -} - -//#### Called while the user types the URL. -function OnUrlChange() -{ - var sUrl = GetE('txtUrl').value ; - var sProtocol = oRegex.UrlOnChangeProtocol.exec( sUrl ) ; - - if ( sProtocol ) - { - sUrl = sUrl.substr( sProtocol[0].length ) ; - GetE('txtUrl').value = sUrl ; - GetE('cmbLinkProtocol').value = sProtocol[0].toLowerCase() ; - } - else if ( oRegex.UrlOnChangeTestOther.test( sUrl ) ) - { - GetE('cmbLinkProtocol').value = '' ; - } -} - -//#### Called while the user types the target name. -function OnTargetNameChange() -{ - var sFrame = GetE('txtTargetFrame').value ; - - if ( sFrame.length == 0 ) - GetE('cmbTarget').value = '' ; - else if ( oRegex.ReserveTarget.test( sFrame ) ) - GetE('cmbTarget').value = sFrame.toLowerCase() ; - else - GetE('cmbTarget').value = 'frame' ; -} - -// Accessible popups -function BuildOnClickPopup() -{ - var sWindowName = "'" + GetE('txtPopupName').value.replace(/\W/gi, "") + "'" ; - - var sFeatures = '' ; - var aChkFeatures = document.getElementsByName( 'chkFeature' ) ; - for ( var i = 0 ; i < aChkFeatures.length ; i++ ) - { - if ( i > 0 ) sFeatures += ',' ; - sFeatures += aChkFeatures[i].value + '=' + ( aChkFeatures[i].checked ? 'yes' : 'no' ) ; - } - - if ( GetE('txtPopupWidth').value.length > 0 ) sFeatures += ',width=' + GetE('txtPopupWidth').value ; - if ( GetE('txtPopupHeight').value.length > 0 ) sFeatures += ',height=' + GetE('txtPopupHeight').value ; - if ( GetE('txtPopupLeft').value.length > 0 ) sFeatures += ',left=' + GetE('txtPopupLeft').value ; - if ( GetE('txtPopupTop').value.length > 0 ) sFeatures += ',top=' + GetE('txtPopupTop').value ; - - if ( sFeatures != '' ) - sFeatures = sFeatures + ",status" ; - - return ( "window.open(this.href," + sWindowName + ",'" + sFeatures + "'); return false" ) ; -} - -//#### Fills all Popup related fields. -function FillPopupFields( windowName, features ) -{ - if ( windowName ) - GetE('txtPopupName').value = windowName ; - - var oFeatures = new Object() ; - var oFeaturesMatch ; - while( ( oFeaturesMatch = oRegex.PopupFeatures.exec( features ) ) != null ) - { - var sValue = oFeaturesMatch[2] ; - if ( sValue == ( 'yes' || '1' ) ) - oFeatures[ oFeaturesMatch[1] ] = true ; - else if ( ! isNaN( sValue ) && sValue != 0 ) - oFeatures[ oFeaturesMatch[1] ] = sValue ; - } - - // Update all features check boxes. - var aChkFeatures = document.getElementsByName('chkFeature') ; - for ( var i = 0 ; i < aChkFeatures.length ; i++ ) - { - if ( oFeatures[ aChkFeatures[i].value ] ) - aChkFeatures[i].checked = true ; - } - - // Update position and size text boxes. - if ( oFeatures['width'] ) GetE('txtPopupWidth').value = oFeatures['width'] ; - if ( oFeatures['height'] ) GetE('txtPopupHeight').value = oFeatures['height'] ; - if ( oFeatures['left'] ) GetE('txtPopupLeft').value = oFeatures['left'] ; - if ( oFeatures['top'] ) GetE('txtPopupTop').value = oFeatures['top'] ; -} - -//#### The OK button was hit. -function Ok() -{ - var sUri, sInnerHtml ; - oEditor.FCKUndo.SaveUndoStep() ; - - switch ( GetE('cmbLinkType').value ) - { - case 'url' : - sUri = GetE('txtUrl').value ; - - if ( sUri.length == 0 ) - { - alert( FCKLang.DlnLnkMsgNoUrl ) ; - return false ; - } - - sUri = GetE('cmbLinkProtocol').value + sUri ; - - break ; - - case 'email' : - sUri = GetE('txtEMailAddress').value ; - - if ( sUri.length == 0 ) - { - alert( FCKLang.DlnLnkMsgNoEMail ) ; - return false ; - } - - sUri = oParser.CreateEMailUri( - sUri, - GetE('txtEMailSubject').value, - GetE('txtEMailBody').value ) ; - break ; - - case 'anchor' : - var sAnchor = GetE('cmbAnchorName').value ; - if ( sAnchor.length == 0 ) sAnchor = GetE('cmbAnchorId').value ; - - if ( sAnchor.length == 0 ) - { - alert( FCKLang.DlnLnkMsgNoAnchor ) ; - return false ; - } - - sUri = '#' + sAnchor ; - break ; - } - - // If no link is selected, create a new one (it may result in more than one link creation - #220). - var aLinks = oLink ? [ oLink ] : oEditor.FCK.CreateLink( sUri, true ) ; - - // If no selection, no links are created, so use the uri as the link text (by dom, 2006-05-26) - var aHasSelection = ( aLinks.length > 0 ) ; - if ( !aHasSelection ) - { - sInnerHtml = sUri; - - // Built a better text for empty links. - switch ( GetE('cmbLinkType').value ) - { - // anchor: use old behavior --> return true - case 'anchor': - sInnerHtml = sInnerHtml.replace( /^#/, '' ) ; - break ; - - // url: try to get path - case 'url': - var oLinkPathRegEx = new RegExp("//?([^?\"']+)([?].*)?$") ; - var asLinkPath = oLinkPathRegEx.exec( sUri ) ; - if (asLinkPath != null) - sInnerHtml = asLinkPath[1]; // use matched path - break ; - - // mailto: try to get email address - case 'email': - sInnerHtml = GetE('txtEMailAddress').value ; - break ; - } - - // Create a new (empty) anchor. - aLinks = [ oEditor.FCK.InsertElement( 'a' ) ] ; - } - - for ( var i = 0 ; i < aLinks.length ; i++ ) - { - oLink = aLinks[i] ; - - if ( aHasSelection ) - sInnerHtml = oLink.innerHTML ; // Save the innerHTML (IE changes it if it is like an URL). - - oLink.href = sUri ; - SetAttribute( oLink, '_fcksavedurl', sUri ) ; - - var onclick; - // Accessible popups - if( GetE('cmbTarget').value == 'popup' ) - { - onclick = BuildOnClickPopup() ; - // Encode the attribute - onclick = encodeURIComponent( " onclick=\"" + onclick + "\"" ) ; - SetAttribute( oLink, 'onclick_fckprotectedatt', onclick ) ; - } - else - { - // Check if the previous onclick was for a popup: - // In that case remove the onclick handler. - onclick = oLink.getAttribute( 'onclick_fckprotectedatt' ) ; - if ( onclick ) - { - // Decode the protected string - onclick = decodeURIComponent( onclick ) ; - - if( oRegex.OnClickPopup.test( onclick ) ) - SetAttribute( oLink, 'onclick_fckprotectedatt', '' ) ; - } - } - - oLink.innerHTML = sInnerHtml ; // Set (or restore) the innerHTML - - // Target - if( GetE('cmbTarget').value != 'popup' ) - SetAttribute( oLink, 'target', GetE('txtTargetFrame').value ) ; - else - SetAttribute( oLink, 'target', null ) ; - - // Let's set the "id" only for the first link to avoid duplication. - if ( i == 0 ) - SetAttribute( oLink, 'id', GetE('txtAttId').value ) ; - - // Advances Attributes - SetAttribute( oLink, 'name' , GetE('txtAttName').value ) ; - SetAttribute( oLink, 'dir' , GetE('cmbAttLangDir').value ) ; - SetAttribute( oLink, 'lang' , GetE('txtAttLangCode').value ) ; - SetAttribute( oLink, 'accesskey', GetE('txtAttAccessKey').value ) ; - SetAttribute( oLink, 'tabindex' , ( GetE('txtAttTabIndex').value > 0 ? GetE('txtAttTabIndex').value : null ) ) ; - SetAttribute( oLink, 'title' , GetE('txtAttTitle').value ) ; - SetAttribute( oLink, 'type' , GetE('txtAttContentType').value ) ; - SetAttribute( oLink, 'charset' , GetE('txtAttCharSet').value ) ; - - if ( oEditor.FCKBrowserInfo.IsIE ) - { - var sClass = GetE('txtAttClasses').value ; - // If it's also an anchor add an internal class - if ( GetE('txtAttName').value.length != 0 ) - sClass += ' FCK__AnchorC' ; - SetAttribute( oLink, 'className', sClass ) ; - - oLink.style.cssText = GetE('txtAttStyle').value ; - } - else - { - SetAttribute( oLink, 'class', GetE('txtAttClasses').value ) ; - SetAttribute( oLink, 'style', GetE('txtAttStyle').value ) ; - } - } - - // Select the (first) link. - oEditor.FCKSelection.SelectNode( aLinks[0] ); - - return true ; -} - -function BrowseServer() -{ - OpenFileBrowser( FCKConfig.LinkBrowserURL, FCKConfig.LinkBrowserWindowWidth, FCKConfig.LinkBrowserWindowHeight ) ; -} - -function SetUrl( url ) -{ - GetE('txtUrl').value = url ; - OnUrlChange() ; - dialog.SetSelectedTab( 'Info' ) ; -} - -function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) -{ - // Remove animation - window.parent.Throbber.Hide() ; - GetE( 'divUpload' ).style.display = '' ; - - switch ( errorNumber ) - { - case 0 : // No errors - alert( 'Your file has been successfully uploaded' ) ; - break ; - case 1 : // Custom error - alert( customMsg ) ; - return ; - case 101 : // Custom warning - alert( customMsg ) ; - break ; - case 201 : - alert( 'A file with the same name is already available. The uploaded file has been renamed to "' + fileName + '"' ) ; - break ; - case 202 : - alert( 'Invalid file type' ) ; - return ; - case 203 : - alert( "Security error. You probably don't have enough permissions to upload. Please check your server." ) ; - return ; - case 500 : - alert( 'The connector is disabled' ) ; - break ; - default : - alert( 'Error on file upload. Error number: ' + errorNumber ) ; - return ; - } - - SetUrl( fileUrl ) ; - GetE('frmUpload').reset() ; -} - -var oUploadAllowedExtRegex = new RegExp( FCKConfig.LinkUploadAllowedExtensions, 'i' ) ; -var oUploadDeniedExtRegex = new RegExp( FCKConfig.LinkUploadDeniedExtensions, 'i' ) ; - -function CheckUpload() -{ - var sFile = GetE('txtUploadFile').value ; - - if ( sFile.length == 0 ) - { - alert( 'Please select a file to upload' ) ; - return false ; - } - - if ( ( FCKConfig.LinkUploadAllowedExtensions.length > 0 && !oUploadAllowedExtRegex.test( sFile ) ) || - ( FCKConfig.LinkUploadDeniedExtensions.length > 0 && oUploadDeniedExtRegex.test( sFile ) ) ) - { - OnUploadCompleted( 202 ) ; - return false ; - } - - // Show animation - window.parent.Throbber.Show( 100 ) ; - GetE( 'divUpload' ).style.display = 'none' ; - - return true ; -} - -function SetDefaultTarget() -{ - var target = FCKConfig.DefaultLinkTarget || '' ; - - if ( oLink || target.length == 0 ) - return ; - - switch ( target ) - { - case '_blank' : - case '_self' : - case '_parent' : - case '_top' : - GetE('cmbTarget').value = target ; - break ; - default : - GetE('cmbTarget').value = 'frame' ; - break ; - } - - GetE('txtTargetFrame').value = target ; -} diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_listprop.html b/modules/editor/skins/fckeditor/editor/dialog/fck_listprop.html deleted file mode 100644 index ef30a94b3..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_listprop.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - -
        - - - - - -
        - List Type
        - - -   -
        -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_paste.html b/modules/editor/skins/fckeditor/editor/dialog/fck_paste.html deleted file mode 100644 index 40cc6f56c..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_paste.html +++ /dev/null @@ -1,346 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -
        - -
        - Please paste inside the following box using the keyboard - (Ctrl+V) and hit OK.
        -   -
        -
        - -
        - - - -
        - - - -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_radiobutton.html b/modules/editor/skins/fckeditor/editor/dialog/fck_radiobutton.html deleted file mode 100644 index eb9aa5d10..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_radiobutton.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - Radio Button Properties - - - - - - - - - - -
        - - - - - - - - - - -
        - Name
        - -
        - Value
        - -
        -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_replace.html b/modules/editor/skins/fckeditor/editor/dialog/fck_replace.html deleted file mode 100644 index f334d7f06..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_replace.html +++ /dev/null @@ -1,648 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_select.html b/modules/editor/skins/fckeditor/editor/dialog/fck_select.html deleted file mode 100644 index a1735a127..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_select.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - Select Properties - - - - - - - - - - - -
        - - - - - - - - - - - - - - -
        Name 
        Value 
        Size  lines
        -
        -
        -  Available - Options  - - - - - - - - - - - - - - - - - - -
        Text
        - -
        Value
        - -
        - - -
        -
        - -
           -
        -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_select/fck_select.js b/modules/editor/skins/fckeditor/editor/dialog/fck_select/fck_select.js deleted file mode 100644 index 167e24d60..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_select/fck_select.js +++ /dev/null @@ -1,194 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Scripts for the fck_select.html page. - */ - -function Select( combo ) -{ - var iIndex = combo.selectedIndex ; - - oListText.selectedIndex = iIndex ; - oListValue.selectedIndex = iIndex ; - - var oTxtText = document.getElementById( "txtText" ) ; - var oTxtValue = document.getElementById( "txtValue" ) ; - - oTxtText.value = oListText.value ; - oTxtValue.value = oListValue.value ; -} - -function Add() -{ - var oTxtText = document.getElementById( "txtText" ) ; - var oTxtValue = document.getElementById( "txtValue" ) ; - - AddComboOption( oListText, oTxtText.value, oTxtText.value ) ; - AddComboOption( oListValue, oTxtValue.value, oTxtValue.value ) ; - - oListText.selectedIndex = oListText.options.length - 1 ; - oListValue.selectedIndex = oListValue.options.length - 1 ; - - oTxtText.value = '' ; - oTxtValue.value = '' ; - - oTxtText.focus() ; -} - -function Modify() -{ - var iIndex = oListText.selectedIndex ; - - if ( iIndex < 0 ) return ; - - var oTxtText = document.getElementById( "txtText" ) ; - var oTxtValue = document.getElementById( "txtValue" ) ; - - oListText.options[ iIndex ].innerHTML = HTMLEncode( oTxtText.value ) ; - oListText.options[ iIndex ].value = oTxtText.value ; - - oListValue.options[ iIndex ].innerHTML = HTMLEncode( oTxtValue.value ) ; - oListValue.options[ iIndex ].value = oTxtValue.value ; - - oTxtText.value = '' ; - oTxtValue.value = '' ; - - oTxtText.focus() ; -} - -function Move( steps ) -{ - ChangeOptionPosition( oListText, steps ) ; - ChangeOptionPosition( oListValue, steps ) ; -} - -function Delete() -{ - RemoveSelectedOptions( oListText ) ; - RemoveSelectedOptions( oListValue ) ; -} - -function SetSelectedValue() -{ - var iIndex = oListValue.selectedIndex ; - if ( iIndex < 0 ) return ; - - var oTxtValue = document.getElementById( "txtSelValue" ) ; - - oTxtValue.value = oListValue.options[ iIndex ].value ; -} - -// Moves the selected option by a number of steps (also negative) -function ChangeOptionPosition( combo, steps ) -{ - var iActualIndex = combo.selectedIndex ; - - if ( iActualIndex < 0 ) - return ; - - var iFinalIndex = iActualIndex + steps ; - - if ( iFinalIndex < 0 ) - iFinalIndex = 0 ; - - if ( iFinalIndex > ( combo.options.length - 1 ) ) - iFinalIndex = combo.options.length - 1 ; - - if ( iActualIndex == iFinalIndex ) - return ; - - var oOption = combo.options[ iActualIndex ] ; - var sText = HTMLDecode( oOption.innerHTML ) ; - var sValue = oOption.value ; - - combo.remove( iActualIndex ) ; - - oOption = AddComboOption( combo, sText, sValue, null, iFinalIndex ) ; - - oOption.selected = true ; -} - -// Remove all selected options from a SELECT object -function RemoveSelectedOptions(combo) -{ - // Save the selected index - var iSelectedIndex = combo.selectedIndex ; - - var oOptions = combo.options ; - - // Remove all selected options - for ( var i = oOptions.length - 1 ; i >= 0 ; i-- ) - { - if (oOptions[i].selected) combo.remove(i) ; - } - - // Reset the selection based on the original selected index - if ( combo.options.length > 0 ) - { - if ( iSelectedIndex >= combo.options.length ) iSelectedIndex = combo.options.length - 1 ; - combo.selectedIndex = iSelectedIndex ; - } -} - -// Add a new option to a SELECT object (combo or list) -function AddComboOption( combo, optionText, optionValue, documentObject, index ) -{ - var oOption ; - - if ( documentObject ) - oOption = documentObject.createElement("OPTION") ; - else - oOption = document.createElement("OPTION") ; - - if ( index != null ) - combo.options.add( oOption, index ) ; - else - combo.options.add( oOption ) ; - - oOption.innerHTML = optionText.length > 0 ? HTMLEncode( optionText ) : ' ' ; - oOption.value = optionValue ; - - return oOption ; -} - -function HTMLEncode( text ) -{ - if ( !text ) - return '' ; - - text = text.replace( /&/g, '&' ) ; - text = text.replace( //g, '>' ) ; - - return text ; -} - - -function HTMLDecode( text ) -{ - if ( !text ) - return '' ; - - text = text.replace( />/g, '>' ) ; - text = text.replace( /</g, '<' ) ; - text = text.replace( /&/g, '&' ) ; - - return text ; -} diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_smiley.html b/modules/editor/skins/fckeditor/editor/dialog/fck_smiley.html deleted file mode 100644 index 0d6f63fd8..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_smiley.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - - - - - - - -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_source.html b/modules/editor/skins/fckeditor/editor/dialog/fck_source.html deleted file mode 100644 index d66c28118..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_source.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Source - - - - - - - - - - -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_specialchar.html b/modules/editor/skins/fckeditor/editor/dialog/fck_specialchar.html deleted file mode 100644 index d7fda32de..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_specialchar.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - - - - - - - - - -
        - - -
        -
             - - - - -
         
        -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages.html b/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages.html deleted file mode 100644 index 87cf2c47e..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - Spell Check - - - - - - - - - - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html b/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html deleted file mode 100644 index e69de29bb..000000000 diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js b/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js deleted file mode 100644 index 80af84995..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js +++ /dev/null @@ -1,87 +0,0 @@ -//////////////////////////////////////////////////// -// controlWindow object -//////////////////////////////////////////////////// -function controlWindow( controlForm ) { - // private properties - this._form = controlForm; - - // public properties - this.windowType = "controlWindow"; -// this.noSuggestionSelection = "- No suggestions -"; // by FredCK - this.noSuggestionSelection = FCKLang.DlgSpellNoSuggestions ; - // set up the properties for elements of the given control form - this.suggestionList = this._form.sugg; - this.evaluatedText = this._form.misword; - this.replacementText = this._form.txtsugg; - this.undoButton = this._form.btnUndo; - - // public methods - this.addSuggestion = addSuggestion; - this.clearSuggestions = clearSuggestions; - this.selectDefaultSuggestion = selectDefaultSuggestion; - this.resetForm = resetForm; - this.setSuggestedText = setSuggestedText; - this.enableUndo = enableUndo; - this.disableUndo = disableUndo; -} - -function resetForm() { - if( this._form ) { - this._form.reset(); - } -} - -function setSuggestedText() { - var slct = this.suggestionList; - var txt = this.replacementText; - var str = ""; - if( (slct.options[0].text) && slct.options[0].text != this.noSuggestionSelection ) { - str = slct.options[slct.selectedIndex].text; - } - txt.value = str; -} - -function selectDefaultSuggestion() { - var slct = this.suggestionList; - var txt = this.replacementText; - if( slct.options.length == 0 ) { - this.addSuggestion( this.noSuggestionSelection ); - } else { - slct.options[0].selected = true; - } - this.setSuggestedText(); -} - -function addSuggestion( sugg_text ) { - var slct = this.suggestionList; - if( sugg_text ) { - var i = slct.options.length; - var newOption = new Option( sugg_text, 'sugg_text'+i ); - slct.options[i] = newOption; - } -} - -function clearSuggestions() { - var slct = this.suggestionList; - for( var j = slct.length - 1; j > -1; j-- ) { - if( slct.options[j] ) { - slct.options[j] = null; - } - } -} - -function enableUndo() { - if( this.undoButton ) { - if( this.undoButton.disabled == true ) { - this.undoButton.disabled = false; - } - } -} - -function disableUndo() { - if( this.undoButton ) { - if( this.undoButton.disabled == false ) { - this.undoButton.disabled = true; - } - } -} diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html b/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html deleted file mode 100644 index d91bcce2d..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - -
        - - - - - - - - - - - - - - - - - - -
        Not in dictionary:
        Change to:
        - - - - - - - -
        - -
        - -
        -
           - - - - - - - - - - - - - - - - - - - - - - -
        - -    - -
        - -    - -
        - -    - -
        -
        -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm b/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm deleted file mode 100644 index 27e368e8b..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ]+>", " ", "all")> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php b/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php deleted file mode 100644 index 9c747c916..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php +++ /dev/null @@ -1,199 +0,0 @@ -$val ) { - # $val = str_replace( "'", "%27", $val ); - echo "textinputs[$key] = decodeURIComponent(\"" . $val . "\");\n"; - } -} - -# make declarations for the text input index -function print_textindex_decl( $text_input_idx ) { - echo "words[$text_input_idx] = [];\n"; - echo "suggs[$text_input_idx] = [];\n"; -} - -# set an element of the JavaScript 'words' array to a misspelled word -function print_words_elem( $word, $index, $text_input_idx ) { - echo "words[$text_input_idx][$index] = '" . escape_quote( $word ) . "';\n"; -} - - -# set an element of the JavaScript 'suggs' array to a list of suggestions -function print_suggs_elem( $suggs, $index, $text_input_idx ) { - echo "suggs[$text_input_idx][$index] = ["; - foreach( $suggs as $key=>$val ) { - if( $val ) { - echo "'" . escape_quote( $val ) . "'"; - if ( $key+1 < count( $suggs )) { - echo ", "; - } - } - } - echo "];\n"; -} - -# escape single quote -function escape_quote( $str ) { - return preg_replace ( "/'/", "\\'", $str ); -} - - -# handle a server-side error. -function error_handler( $err ) { - echo "error = '" . preg_replace( "/['\\\\]/", "\\\\$0", $err ) . "';\n"; -} - -## get the list of misspelled words. Put the results in the javascript words array -## for each misspelled word, get suggestions and put in the javascript suggs array -function print_checker_results() { - - global $aspell_prog; - global $aspell_opts; - global $tempfiledir; - global $textinputs; - global $input_separator; - $aspell_err = ""; - # create temp file - $tempfile = tempnam( $tempfiledir, 'aspell_data_' ); - - # open temp file, add the submitted text. - if( $fh = fopen( $tempfile, 'w' )) { - for( $i = 0; $i < count( $textinputs ); $i++ ) { - $text = urldecode( $textinputs[$i] ); - - // Strip all tags for the text. (by FredCK - #339 / #681) - $text = preg_replace( "/<[^>]+>/", " ", $text ) ; - - $lines = explode( "\n", $text ); - fwrite ( $fh, "%\n" ); # exit terse mode - fwrite ( $fh, "^$input_separator\n" ); - fwrite ( $fh, "!\n" ); # enter terse mode - foreach( $lines as $key=>$value ) { - # use carat on each line to escape possible aspell commands - fwrite( $fh, "^$value\n" ); - } - } - fclose( $fh ); - - # exec aspell command - redirect STDERR to STDOUT - $cmd = "$aspell_prog $aspell_opts < $tempfile 2>&1"; - if( $aspellret = shell_exec( $cmd )) { - $linesout = explode( "\n", $aspellret ); - $index = 0; - $text_input_index = -1; - # parse each line of aspell return - foreach( $linesout as $key=>$val ) { - $chardesc = substr( $val, 0, 1 ); - # if '&', then not in dictionary but has suggestions - # if '#', then not in dictionary and no suggestions - # if '*', then it is a delimiter between text inputs - # if '@' then version info - if( $chardesc == '&' || $chardesc == '#' ) { - $line = explode( " ", $val, 5 ); - print_words_elem( $line[1], $index, $text_input_index ); - if( isset( $line[4] )) { - $suggs = explode( ", ", $line[4] ); - } else { - $suggs = array(); - } - print_suggs_elem( $suggs, $index, $text_input_index ); - $index++; - } elseif( $chardesc == '*' ) { - $text_input_index++; - print_textindex_decl( $text_input_index ); - $index = 0; - } elseif( $chardesc != '@' && $chardesc != "" ) { - # assume this is error output - $aspell_err .= $val; - } - } - if( $aspell_err ) { - $aspell_err = "Error executing `$cmd`\\n$aspell_err"; - error_handler( $aspell_err ); - } - } else { - error_handler( "System error: Aspell program execution failed (`$cmd`)" ); - } - } else { - error_handler( "System error: Could not open file '$tempfile' for writing" ); - } - - # close temp file, delete file - unlink( $tempfile ); -} - - -?> - - - - - - - - - - - - - - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl b/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl deleted file mode 100644 index fae010d9b..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl +++ /dev/null @@ -1,181 +0,0 @@ -#!/usr/bin/perl - -use CGI qw/ :standard /; -use File::Temp qw/ tempfile tempdir /; - -# my $spellercss = '/speller/spellerStyle.css'; # by FredCK -my $spellercss = '../spellerStyle.css'; # by FredCK -# my $wordWindowSrc = '/speller/wordWindow.js'; # by FredCK -my $wordWindowSrc = '../wordWindow.js'; # by FredCK -my @textinputs = param( 'textinputs[]' ); # array -# my $aspell_cmd = 'aspell'; # by FredCK (for Linux) -my $aspell_cmd = '"C:\Program Files\Aspell\bin\aspell.exe"'; # by FredCK (for Windows) -my $lang = 'en_US'; -# my $aspell_opts = "-a --lang=$lang --encoding=utf-8"; # by FredCK -my $aspell_opts = "-a --lang=$lang --encoding=utf-8 -H --rem-sgml-check=alt"; # by FredCK -my $input_separator = "A"; - -# set the 'wordtext' JavaScript variable to the submitted text. -sub printTextVar { - for( my $i = 0; $i <= $#textinputs; $i++ ) { - print "textinputs[$i] = decodeURIComponent('" . escapeQuote( $textinputs[$i] ) . "')\n"; - } -} - -sub printTextIdxDecl { - my $idx = shift; - print "words[$idx] = [];\n"; - print "suggs[$idx] = [];\n"; -} - -sub printWordsElem { - my( $textIdx, $wordIdx, $word ) = @_; - print "words[$textIdx][$wordIdx] = '" . escapeQuote( $word ) . "';\n"; -} - -sub printSuggsElem { - my( $textIdx, $wordIdx, @suggs ) = @_; - print "suggs[$textIdx][$wordIdx] = ["; - for my $i ( 0..$#suggs ) { - print "'" . escapeQuote( $suggs[$i] ) . "'"; - if( $i < $#suggs ) { - print ", "; - } - } - print "];\n"; -} - -sub printCheckerResults { - my $textInputIdx = -1; - my $wordIdx = 0; - my $unhandledText; - # create temp file - my $dir = tempdir( CLEANUP => 1 ); - my( $fh, $tmpfilename ) = tempfile( DIR => $dir ); - - # temp file was created properly? - - # open temp file, add the submitted text. - for( my $i = 0; $i <= $#textinputs; $i++ ) { - $text = url_decode( $textinputs[$i] ); - # Strip all tags for the text. (by FredCK - #339 / #681) - $text =~ s/<[^>]+>/ /g; - @lines = split( /\n/, $text ); - print $fh "\%\n"; # exit terse mode - print $fh "^$input_separator\n"; - print $fh "!\n"; # enter terse mode - for my $line ( @lines ) { - # use carat on each line to escape possible aspell commands - print $fh "^$line\n"; - } - - } - # exec aspell command - my $cmd = "$aspell_cmd $aspell_opts < $tmpfilename 2>&1"; - open ASPELL, "$cmd |" or handleError( "Could not execute `$cmd`\\n$!" ) and return; - # parse each line of aspell return - for my $ret ( ) { - chomp( $ret ); - # if '&', then not in dictionary but has suggestions - # if '#', then not in dictionary and no suggestions - # if '*', then it is a delimiter between text inputs - if( $ret =~ /^\*/ ) { - $textInputIdx++; - printTextIdxDecl( $textInputIdx ); - $wordIdx = 0; - - } elsif( $ret =~ /^(&|#)/ ) { - my @tokens = split( " ", $ret, 5 ); - printWordsElem( $textInputIdx, $wordIdx, $tokens[1] ); - my @suggs = (); - if( $tokens[4] ) { - @suggs = split( ", ", $tokens[4] ); - } - printSuggsElem( $textInputIdx, $wordIdx, @suggs ); - $wordIdx++; - } else { - $unhandledText .= $ret; - } - } - close ASPELL or handleError( "Error executing `$cmd`\\n$unhandledText" ) and return; -} - -sub escapeQuote { - my $str = shift; - $str =~ s/'/\\'/g; - return $str; -} - -sub handleError { - my $err = shift; - print "error = '" . escapeQuote( $err ) . "';\n"; -} - -sub url_decode { - local $_ = @_ ? shift : $_; - defined or return; - # change + signs to spaces - tr/+/ /; - # change hex escapes to the proper characters - s/%([a-fA-F0-9]{2})/pack "H2", $1/eg; - return $_; -} - -# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -# Display HTML -# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # - -print < - - - - - - - - - - - - - -EOF diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js b/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js deleted file mode 100644 index c85be9ab6..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js +++ /dev/null @@ -1,461 +0,0 @@ -//////////////////////////////////////////////////// -// spellChecker.js -// -// spellChecker object -// -// This file is sourced on web pages that have a textarea object to evaluate -// for spelling. It includes the implementation for the spellCheckObject. -// -//////////////////////////////////////////////////// - - -// constructor -function spellChecker( textObject ) { - - // public properties - configurable -// this.popUpUrl = '/speller/spellchecker.html'; // by FredCK - this.popUpUrl = 'fck_spellerpages/spellerpages/spellchecker.html'; // by FredCK - this.popUpName = 'spellchecker'; -// this.popUpProps = "menu=no,width=440,height=350,top=70,left=120,resizable=yes,status=yes"; // by FredCK - this.popUpProps = null ; // by FredCK -// this.spellCheckScript = '/speller/server-scripts/spellchecker.php'; // by FredCK - //this.spellCheckScript = '/cgi-bin/spellchecker.pl'; - - // values used to keep track of what happened to a word - this.replWordFlag = "R"; // single replace - this.ignrWordFlag = "I"; // single ignore - this.replAllFlag = "RA"; // replace all occurances - this.ignrAllFlag = "IA"; // ignore all occurances - this.fromReplAll = "~RA"; // an occurance of a "replace all" word - this.fromIgnrAll = "~IA"; // an occurance of a "ignore all" word - // properties set at run time - this.wordFlags = new Array(); - this.currentTextIndex = 0; - this.currentWordIndex = 0; - this.spellCheckerWin = null; - this.controlWin = null; - this.wordWin = null; - this.textArea = textObject; // deprecated - this.textInputs = arguments; - - // private methods - this._spellcheck = _spellcheck; - this._getSuggestions = _getSuggestions; - this._setAsIgnored = _setAsIgnored; - this._getTotalReplaced = _getTotalReplaced; - this._setWordText = _setWordText; - this._getFormInputs = _getFormInputs; - - // public methods - this.openChecker = openChecker; - this.startCheck = startCheck; - this.checkTextBoxes = checkTextBoxes; - this.checkTextAreas = checkTextAreas; - this.spellCheckAll = spellCheckAll; - this.ignoreWord = ignoreWord; - this.ignoreAll = ignoreAll; - this.replaceWord = replaceWord; - this.replaceAll = replaceAll; - this.terminateSpell = terminateSpell; - this.undo = undo; - - // set the current window's "speller" property to the instance of this class. - // this object can now be referenced by child windows/frames. - window.speller = this; -} - -// call this method to check all text boxes (and only text boxes) in the HTML document -function checkTextBoxes() { - this.textInputs = this._getFormInputs( "^text$" ); - this.openChecker(); -} - -// call this method to check all textareas (and only textareas ) in the HTML document -function checkTextAreas() { - this.textInputs = this._getFormInputs( "^textarea$" ); - this.openChecker(); -} - -// call this method to check all text boxes and textareas in the HTML document -function spellCheckAll() { - this.textInputs = this._getFormInputs( "^text(area)?$" ); - this.openChecker(); -} - -// call this method to check text boxe(s) and/or textarea(s) that were passed in to the -// object's constructor or to the textInputs property -function openChecker() { - this.spellCheckerWin = window.open( this.popUpUrl, this.popUpName, this.popUpProps ); - if( !this.spellCheckerWin.opener ) { - this.spellCheckerWin.opener = window; - } -} - -function startCheck( wordWindowObj, controlWindowObj ) { - - // set properties from args - this.wordWin = wordWindowObj; - this.controlWin = controlWindowObj; - - // reset properties - this.wordWin.resetForm(); - this.controlWin.resetForm(); - this.currentTextIndex = 0; - this.currentWordIndex = 0; - // initialize the flags to an array - one element for each text input - this.wordFlags = new Array( this.wordWin.textInputs.length ); - // each element will be an array that keeps track of each word in the text - for( var i=0; i wi ) || i > ti ) { - // future word: set as "from ignore all" if - // 1) do not already have a flag and - // 2) have the same value as current word - if(( this.wordWin.getTextVal( i, j ) == s_word_to_repl ) - && ( !this.wordFlags[i][j] )) { - this._setAsIgnored( i, j, this.fromIgnrAll ); - } - } - } - } - - // finally, move on - this.currentWordIndex++; - this._spellcheck(); - return true; -} - -function replaceWord() { - var wi = this.currentWordIndex; - var ti = this.currentTextIndex; - if( !this.wordWin ) { - alert( 'Error: Word frame not available.' ); - return false; - } - if( !this.wordWin.getTextVal( ti, wi )) { - alert( 'Error: "Not in dictionary" text is missing' ); - return false; - } - if( !this.controlWin.replacementText ) { - return false ; - } - var txt = this.controlWin.replacementText; - if( txt.value ) { - var newspell = new String( txt.value ); - if( this._setWordText( ti, wi, newspell, this.replWordFlag )) { - this.currentWordIndex++; - this._spellcheck(); - } - } - return true; -} - -function replaceAll() { - var ti = this.currentTextIndex; - var wi = this.currentWordIndex; - if( !this.wordWin ) { - alert( 'Error: Word frame not available.' ); - return false; - } - var s_word_to_repl = this.wordWin.getTextVal( ti, wi ); - if( !s_word_to_repl ) { - alert( 'Error: "Not in dictionary" text is missing' ); - return false; - } - var txt = this.controlWin.replacementText; - if( !txt.value ) return false; - var newspell = new String( txt.value ); - - // set this word as a "replace all" word. - this._setWordText( ti, wi, newspell, this.replAllFlag ); - - // loop through all the words after this word - for( var i = ti; i < this.wordWin.textInputs.length; i++ ) { - for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) { - if(( i == ti && j > wi ) || i > ti ) { - // future word: set word text to s_word_to_repl if - // 1) do not already have a flag and - // 2) have the same value as s_word_to_repl - if(( this.wordWin.getTextVal( i, j ) == s_word_to_repl ) - && ( !this.wordFlags[i][j] )) { - this._setWordText( i, j, newspell, this.fromReplAll ); - } - } - } - } - - // finally, move on - this.currentWordIndex++; - this._spellcheck(); - return true; -} - -function terminateSpell() { - // called when we have reached the end of the spell checking. - var msg = ""; // by FredCK - var numrepl = this._getTotalReplaced(); - if( numrepl == 0 ) { - // see if there were no misspellings to begin with - if( !this.wordWin ) { - msg = ""; - } else { - if( this.wordWin.totalMisspellings() ) { -// msg += "No words changed."; // by FredCK - msg += FCKLang.DlgSpellNoChanges ; // by FredCK - } else { -// msg += "No misspellings found."; // by FredCK - msg += FCKLang.DlgSpellNoMispell ; // by FredCK - } - } - } else if( numrepl == 1 ) { -// msg += "One word changed."; // by FredCK - msg += FCKLang.DlgSpellOneChange ; // by FredCK - } else { -// msg += numrepl + " words changed."; // by FredCK - msg += FCKLang.DlgSpellManyChanges.replace( /%1/g, numrepl ) ; - } - if( msg ) { -// msg += "\n"; // by FredCK - alert( msg ); - } - - if( numrepl > 0 ) { - // update the text field(s) on the opener window - for( var i = 0; i < this.textInputs.length; i++ ) { - // this.textArea.value = this.wordWin.text; - if( this.wordWin ) { - if( this.wordWin.textInputs[i] ) { - this.textInputs[i].value = this.wordWin.textInputs[i]; - } - } - } - } - - // return back to the calling window -// this.spellCheckerWin.close(); // by FredCK - if ( typeof( this.OnFinished ) == 'function' ) // by FredCK - this.OnFinished(numrepl) ; // by FredCK - - return true; -} - -function undo() { - // skip if this is the first word! - var ti = this.currentTextIndex; - var wi = this.currentWordIndex; - - if( this.wordWin.totalPreviousWords( ti, wi ) > 0 ) { - this.wordWin.removeFocus( ti, wi ); - - // go back to the last word index that was acted upon - do { - // if the current word index is zero then reset the seed - if( this.currentWordIndex == 0 && this.currentTextIndex > 0 ) { - this.currentTextIndex--; - this.currentWordIndex = this.wordWin.totalWords( this.currentTextIndex )-1; - if( this.currentWordIndex < 0 ) this.currentWordIndex = 0; - } else { - if( this.currentWordIndex > 0 ) { - this.currentWordIndex--; - } - } - } while ( - this.wordWin.totalWords( this.currentTextIndex ) == 0 - || this.wordFlags[this.currentTextIndex][this.currentWordIndex] == this.fromIgnrAll - || this.wordFlags[this.currentTextIndex][this.currentWordIndex] == this.fromReplAll - ); - - var text_idx = this.currentTextIndex; - var idx = this.currentWordIndex; - var preReplSpell = this.wordWin.originalSpellings[text_idx][idx]; - - // if we got back to the first word then set the Undo button back to disabled - if( this.wordWin.totalPreviousWords( text_idx, idx ) == 0 ) { - this.controlWin.disableUndo(); - } - - var i, j, origSpell ; - // examine what happened to this current word. - switch( this.wordFlags[text_idx][idx] ) { - // replace all: go through this and all the future occurances of the word - // and revert them all to the original spelling and clear their flags - case this.replAllFlag : - for( i = text_idx; i < this.wordWin.textInputs.length; i++ ) { - for( j = 0; j < this.wordWin.totalWords( i ); j++ ) { - if(( i == text_idx && j >= idx ) || i > text_idx ) { - origSpell = this.wordWin.originalSpellings[i][j]; - if( origSpell == preReplSpell ) { - this._setWordText ( i, j, origSpell, undefined ); - } - } - } - } - break; - - // ignore all: go through all the future occurances of the word - // and clear their flags - case this.ignrAllFlag : - for( i = text_idx; i < this.wordWin.textInputs.length; i++ ) { - for( j = 0; j < this.wordWin.totalWords( i ); j++ ) { - if(( i == text_idx && j >= idx ) || i > text_idx ) { - origSpell = this.wordWin.originalSpellings[i][j]; - if( origSpell == preReplSpell ) { - this.wordFlags[i][j] = undefined; - } - } - } - } - break; - - // replace: revert the word to its original spelling - case this.replWordFlag : - this._setWordText ( text_idx, idx, preReplSpell, undefined ); - break; - } - - // For all four cases, clear the wordFlag of this word. re-start the process - this.wordFlags[text_idx][idx] = undefined; - this._spellcheck(); - } -} - -function _spellcheck() { - var ww = this.wordWin; - - // check if this is the last word in the current text element - if( this.currentWordIndex == ww.totalWords( this.currentTextIndex) ) { - this.currentTextIndex++; - this.currentWordIndex = 0; - // keep going if we're not yet past the last text element - if( this.currentTextIndex < this.wordWin.textInputs.length ) { - this._spellcheck(); - return; - } else { - this.terminateSpell(); - return; - } - } - - // if this is after the first one make sure the Undo button is enabled - if( this.currentWordIndex > 0 ) { - this.controlWin.enableUndo(); - } - - // skip the current word if it has already been worked on - if( this.wordFlags[this.currentTextIndex][this.currentWordIndex] ) { - // increment the global current word index and move on. - this.currentWordIndex++; - this._spellcheck(); - } else { - var evalText = ww.getTextVal( this.currentTextIndex, this.currentWordIndex ); - if( evalText ) { - this.controlWin.evaluatedText.value = evalText; - ww.setFocus( this.currentTextIndex, this.currentWordIndex ); - this._getSuggestions( this.currentTextIndex, this.currentWordIndex ); - } - } -} - -function _getSuggestions( text_num, word_num ) { - this.controlWin.clearSuggestions(); - // add suggestion in list for each suggested word. - // get the array of suggested words out of the - // three-dimensional array containing all suggestions. - var a_suggests = this.wordWin.suggestions[text_num][word_num]; - if( a_suggests ) { - // got an array of suggestions. - for( var ii = 0; ii < a_suggests.length; ii++ ) { - this.controlWin.addSuggestion( a_suggests[ii] ); - } - } - this.controlWin.selectDefaultSuggestion(); -} - -function _setAsIgnored( text_num, word_num, flag ) { - // set the UI - this.wordWin.removeFocus( text_num, word_num ); - // do the bookkeeping - this.wordFlags[text_num][word_num] = flag; - return true; -} - -function _getTotalReplaced() { - var i_replaced = 0; - for( var i = 0; i < this.wordFlags.length; i++ ) { - for( var j = 0; j < this.wordFlags[i].length; j++ ) { - if(( this.wordFlags[i][j] == this.replWordFlag ) - || ( this.wordFlags[i][j] == this.replAllFlag ) - || ( this.wordFlags[i][j] == this.fromReplAll )) { - i_replaced++; - } - } - } - return i_replaced; -} - -function _setWordText( text_num, word_num, newText, flag ) { - // set the UI and form inputs - this.wordWin.setText( text_num, word_num, newText ); - // keep track of what happened to this word: - this.wordFlags[text_num][word_num] = flag; - return true; -} - -function _getFormInputs( inputPattern ) { - var inputs = new Array(); - for( var i = 0; i < document.forms.length; i++ ) { - for( var j = 0; j < document.forms[i].elements.length; j++ ) { - if( document.forms[i].elements[j].type.match( inputPattern )) { - inputs[inputs.length] = document.forms[i].elements[j]; - } - } - } - return inputs; -} diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html b/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html deleted file mode 100644 index cbcd7db79..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - -Speller Pages - - - - - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css b/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css deleted file mode 100644 index 9928086e1..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css +++ /dev/null @@ -1,49 +0,0 @@ -.blend { - font-family: courier new; - font-size: 10pt; - border: 0; - margin-bottom:-1; -} -.normalLabel { - font-size:8pt; -} -.normalText { - font-family:arial, helvetica, sans-serif; - font-size:10pt; - color:000000; - background-color:FFFFFF; -} -.plainText { - font-family: courier new, courier, monospace; - font-size: 10pt; - color:000000; - background-color:FFFFFF; -} -.controlWindowBody { - font-family:arial, helvetica, sans-serif; - font-size:8pt; - padding: 7px ; /* by FredCK */ - margin: 0px ; /* by FredCK */ - /* color:000000; by FredCK */ - /* background-color:DADADA; by FredCK */ -} -.readonlyInput { - background-color:DADADA; - color:000000; - font-size:8pt; - width:392px; -} -.textDefault { - font-size:8pt; - width: 200px; -} -.buttonDefault { - width:90px; - height:22px; - font-size:8pt; -} -.suggSlct { - width:200px; - margin-top:2; - font-size:8pt; -} diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js b/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js deleted file mode 100644 index 7990296a2..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js +++ /dev/null @@ -1,272 +0,0 @@ -//////////////////////////////////////////////////// -// wordWindow object -//////////////////////////////////////////////////// -function wordWindow() { - // private properties - this._forms = []; - - // private methods - this._getWordObject = _getWordObject; - //this._getSpellerObject = _getSpellerObject; - this._wordInputStr = _wordInputStr; - this._adjustIndexes = _adjustIndexes; - this._isWordChar = _isWordChar; - this._lastPos = _lastPos; - - // public properties - this.wordChar = /[a-zA-Z]/; - this.windowType = "wordWindow"; - this.originalSpellings = new Array(); - this.suggestions = new Array(); - this.checkWordBgColor = "pink"; - this.normWordBgColor = "white"; - this.text = ""; - this.textInputs = new Array(); - this.indexes = new Array(); - //this.speller = this._getSpellerObject(); - - // public methods - this.resetForm = resetForm; - this.totalMisspellings = totalMisspellings; - this.totalWords = totalWords; - this.totalPreviousWords = totalPreviousWords; - //this.getTextObjectArray = getTextObjectArray; - this.getTextVal = getTextVal; - this.setFocus = setFocus; - this.removeFocus = removeFocus; - this.setText = setText; - //this.getTotalWords = getTotalWords; - this.writeBody = writeBody; - this.printForHtml = printForHtml; -} - -function resetForm() { - if( this._forms ) { - for( var i = 0; i < this._forms.length; i++ ) { - this._forms[i].reset(); - } - } - return true; -} - -function totalMisspellings() { - var total_words = 0; - for( var i = 0; i < this.textInputs.length; i++ ) { - total_words += this.totalWords( i ); - } - return total_words; -} - -function totalWords( textIndex ) { - return this.originalSpellings[textIndex].length; -} - -function totalPreviousWords( textIndex, wordIndex ) { - var total_words = 0; - for( var i = 0; i <= textIndex; i++ ) { - for( var j = 0; j < this.totalWords( i ); j++ ) { - if( i == textIndex && j == wordIndex ) { - break; - } else { - total_words++; - } - } - } - return total_words; -} - -//function getTextObjectArray() { -// return this._form.elements; -//} - -function getTextVal( textIndex, wordIndex ) { - var word = this._getWordObject( textIndex, wordIndex ); - if( word ) { - return word.value; - } -} - -function setFocus( textIndex, wordIndex ) { - var word = this._getWordObject( textIndex, wordIndex ); - if( word ) { - if( word.type == "text" ) { - word.focus(); - word.style.backgroundColor = this.checkWordBgColor; - } - } -} - -function removeFocus( textIndex, wordIndex ) { - var word = this._getWordObject( textIndex, wordIndex ); - if( word ) { - if( word.type == "text" ) { - word.blur(); - word.style.backgroundColor = this.normWordBgColor; - } - } -} - -function setText( textIndex, wordIndex, newText ) { - var word = this._getWordObject( textIndex, wordIndex ); - var beginStr; - var endStr; - if( word ) { - var pos = this.indexes[textIndex][wordIndex]; - var oldText = word.value; - // update the text given the index of the string - beginStr = this.textInputs[textIndex].substring( 0, pos ); - endStr = this.textInputs[textIndex].substring( - pos + oldText.length, - this.textInputs[textIndex].length - ); - this.textInputs[textIndex] = beginStr + newText + endStr; - - // adjust the indexes on the stack given the differences in - // length between the new word and old word. - var lengthDiff = newText.length - oldText.length; - this._adjustIndexes( textIndex, wordIndex, lengthDiff ); - - word.size = newText.length; - word.value = newText; - this.removeFocus( textIndex, wordIndex ); - } -} - - -function writeBody() { - var d = window.document; - var is_html = false; - - d.open(); - - // iterate through each text input. - for( var txtid = 0; txtid < this.textInputs.length; txtid++ ) { - var end_idx = 0; - var begin_idx = 0; - d.writeln( '
        ' ); - var wordtxt = this.textInputs[txtid]; - this.indexes[txtid] = []; - - if( wordtxt ) { - var orig = this.originalSpellings[txtid]; - if( !orig ) break; - - //!!! plain text, or HTML mode? - d.writeln( '
        ' ); - // iterate through each occurrence of a misspelled word. - for( var i = 0; i < orig.length; i++ ) { - // find the position of the current misspelled word, - // starting at the last misspelled word. - // and keep looking if it's a substring of another word - do { - begin_idx = wordtxt.indexOf( orig[i], end_idx ); - end_idx = begin_idx + orig[i].length; - // word not found? messed up! - if( begin_idx == -1 ) break; - // look at the characters immediately before and after - // the word. If they are word characters we'll keep looking. - var before_char = wordtxt.charAt( begin_idx - 1 ); - var after_char = wordtxt.charAt( end_idx ); - } while ( - this._isWordChar( before_char ) - || this._isWordChar( after_char ) - ); - - // keep track of its position in the original text. - this.indexes[txtid][i] = begin_idx; - - // write out the characters before the current misspelled word - for( var j = this._lastPos( txtid, i ); j < begin_idx; j++ ) { - // !!! html mode? make it html compatible - d.write( this.printForHtml( wordtxt.charAt( j ))); - } - - // write out the misspelled word. - d.write( this._wordInputStr( orig[i] )); - - // if it's the last word, write out the rest of the text - if( i == orig.length-1 ){ - d.write( printForHtml( wordtxt.substr( end_idx ))); - } - } - - d.writeln( '
        ' ); - - } - d.writeln( '
        ' ); - } - //for ( var j = 0; j < d.forms.length; j++ ) { - // alert( d.forms[j].name ); - // for( var k = 0; k < d.forms[j].elements.length; k++ ) { - // alert( d.forms[j].elements[k].name + ": " + d.forms[j].elements[k].value ); - // } - //} - - // set the _forms property - this._forms = d.forms; - d.close(); -} - -// return the character index in the full text after the last word we evaluated -function _lastPos( txtid, idx ) { - if( idx > 0 ) - return this.indexes[txtid][idx-1] + this.originalSpellings[txtid][idx-1].length; - else - return 0; -} - -function printForHtml( n ) { - return n ; // by FredCK -/* - var htmlstr = n; - if( htmlstr.length == 1 ) { - // do simple case statement if it's just one character - switch ( n ) { - case "\n": - htmlstr = '
        '; - break; - case "<": - htmlstr = '<'; - break; - case ">": - htmlstr = '>'; - break; - } - return htmlstr; - } else { - htmlstr = htmlstr.replace( //g, '>' ); - htmlstr = htmlstr.replace( /\n/g, '
        ' ); - return htmlstr; - } -*/ -} - -function _isWordChar( letter ) { - if( letter.search( this.wordChar ) == -1 ) { - return false; - } else { - return true; - } -} - -function _getWordObject( textIndex, wordIndex ) { - if( this._forms[textIndex] ) { - if( this._forms[textIndex].elements[wordIndex] ) { - return this._forms[textIndex].elements[wordIndex]; - } - } - return null; -} - -function _wordInputStr( word ) { - var str = ''; - return str; -} - -function _adjustIndexes( textIndex, wordIndex, lengthDiff ) { - for( var i = wordIndex + 1; i < this.originalSpellings[textIndex].length; i++ ) { - this.indexes[textIndex][i] = this.indexes[textIndex][i] + lengthDiff; - } -} diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_table.html b/modules/editor/skins/fckeditor/editor/dialog/fck_table.html deleted file mode 100644 index e3792d746..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_table.html +++ /dev/null @@ -1,298 +0,0 @@ - - - - - Table Properties - - - - - - - - - - -
        - - - - - - -
        - - - - - - - - - - - - - - - - - - - - - -
        - Rows: -  
        - Columns: -  
        -   -  
        - Border size: -  
        - Alignment: -  
        -
        -     - - - - - - - - - - - - - - - - - - - - - - - - - - -
        - Width: -   -  
        - Height: -   -  pixels
        -   -   -  
        - Cell spacing: -   -  
        - Cell padding: -   -  
        -
        - - - - - - - - - - - -
        - Caption -   -
        - Summary -   -
        -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_tablecell.html b/modules/editor/skins/fckeditor/editor/dialog/fck_tablecell.html deleted file mode 100644 index 3d7429627..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_tablecell.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - - Table Cell Properties - - - - - - - - - - -
        - - - - - - -
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        - Width: -   
        - Height: -   pixels
        -   -  
        - Word Wrap: -  
        -   -  
        - Horizontal Alignment: -  
        - Vertical Alignment: -  
        -
        -     - - - - - - - - - - - - - - - - - - - - - - - - - - -
        - Rows Span: -   - -
        - Columns Span: -   - -
        -   -   -  
        - Background Color: -   -   -
        - Border Color: -   -   -
        -
        -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_template.html b/modules/editor/skins/fckeditor/editor/dialog/fck_template.html deleted file mode 100644 index 4f3629ba0..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_template.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -
        - Please select the template to open in the editor
        - (the actual contents will be lost):
        -
        -
        - - -
        -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_template/images/template1.gif b/modules/editor/skins/fckeditor/editor/dialog/fck_template/images/template1.gif deleted file mode 100644 index efdabbebd..000000000 Binary files a/modules/editor/skins/fckeditor/editor/dialog/fck_template/images/template1.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_template/images/template2.gif b/modules/editor/skins/fckeditor/editor/dialog/fck_template/images/template2.gif deleted file mode 100644 index d1cebb3ae..000000000 Binary files a/modules/editor/skins/fckeditor/editor/dialog/fck_template/images/template2.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_template/images/template3.gif b/modules/editor/skins/fckeditor/editor/dialog/fck_template/images/template3.gif deleted file mode 100644 index db41cb4fb..000000000 Binary files a/modules/editor/skins/fckeditor/editor/dialog/fck_template/images/template3.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_textarea.html b/modules/editor/skins/fckeditor/editor/dialog/fck_textarea.html deleted file mode 100644 index 3a1c56dcd..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_textarea.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - Text Area Properties - - - - - - - - - - -
        - - - - -
        - Name
        - - Collumns
        - -
        - Rows
        - -
        -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dialog/fck_textfield.html b/modules/editor/skins/fckeditor/editor/dialog/fck_textfield.html deleted file mode 100644 index cf3ce03d3..000000000 --- a/modules/editor/skins/fckeditor/editor/dialog/fck_textfield.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - - - - - - - - -
        - - - - - - - - - - - - - - - - -
        - Name
        - -
        - - Value
        - -
        - Character Width
        - -
        - - Maximum Characters
        - -
        - Type
        - -
        -   -
        -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dtd/fck_dtd_test.html b/modules/editor/skins/fckeditor/editor/dtd/fck_dtd_test.html deleted file mode 100644 index c149d15c1..000000000 --- a/modules/editor/skins/fckeditor/editor/dtd/fck_dtd_test.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - DTD Test Page - - - - - -

        - DTD Contents -

        - - -
        - - diff --git a/modules/editor/skins/fckeditor/editor/dtd/fck_xhtml10strict.js b/modules/editor/skins/fckeditor/editor/dtd/fck_xhtml10strict.js deleted file mode 100644 index 0849b528a..000000000 --- a/modules/editor/skins/fckeditor/editor/dtd/fck_xhtml10strict.js +++ /dev/null @@ -1,116 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Contains the DTD mapping for XHTML 1.0 Strict. - * This file was automatically generated from the file: xhtml10-strict.dtd - */ -FCK.DTD = (function() -{ - var X = FCKTools.Merge ; - - var H,I,J,K,C,L,M,A,B,D,E,G,N,F ; - A = {ins:1, del:1, script:1} ; - B = {hr:1, ul:1, div:1, blockquote:1, noscript:1, table:1, address:1, pre:1, p:1, h5:1, dl:1, h4:1, ol:1, h6:1, h1:1, h3:1, h2:1} ; - C = X({fieldset:1}, B) ; - D = X({sub:1, bdo:1, 'var':1, sup:1, br:1, kbd:1, map:1, samp:1, b:1, acronym:1, '#':1, abbr:1, code:1, i:1, cite:1, tt:1, strong:1, q:1, em:1, big:1, small:1, span:1, dfn:1}, A) ; - E = X({img:1, object:1}, D) ; - F = {input:1, button:1, textarea:1, select:1, label:1} ; - G = X({a:1}, F) ; - H = {img:1, noscript:1, br:1, kbd:1, button:1, h5:1, h4:1, samp:1, h6:1, ol:1, h1:1, h3:1, h2:1, form:1, select:1, '#':1, ins:1, abbr:1, label:1, code:1, table:1, script:1, cite:1, input:1, strong:1, textarea:1, big:1, small:1, span:1, hr:1, sub:1, bdo:1, 'var':1, div:1, object:1, sup:1, map:1, dl:1, del:1, fieldset:1, ul:1, b:1, acronym:1, a:1, blockquote:1, i:1, address:1, tt:1, q:1, pre:1, p:1, em:1, dfn:1} ; - - I = X({form:1, fieldset:1}, B, E, G) ; - J = {tr:1} ; - K = {'#':1} ; - L = X(E, G) ; - M = {li:1} ; - N = X({form:1}, A, C) ; - - return { - col: {}, - tr: {td:1, th:1}, - img: {}, - colgroup: {col:1}, - noscript: N, - td: I, - br: {}, - th: I, - kbd: L, - button: X(B, E), - h5: L, - h4: L, - samp: L, - h6: L, - ol: M, - h1: L, - h3: L, - option: K, - h2: L, - form: X(A, C), - select: {optgroup:1, option:1}, - ins: I, - abbr: L, - label: L, - code: L, - table: {thead:1, col:1, tbody:1, tr:1, colgroup:1, caption:1, tfoot:1}, - script: K, - tfoot: J, - cite: L, - li: I, - input: {}, - strong: L, - textarea: K, - big: L, - small: L, - span: L, - dt: L, - hr: {}, - sub: L, - optgroup: {option:1}, - bdo: L, - param: {}, - 'var': L, - div: I, - object: X({param:1}, H), - sup: L, - dd: I, - area: {}, - map: X({form:1, area:1}, A, C), - dl: {dt:1, dd:1}, - del: I, - fieldset: X({legend:1}, H), - thead: J, - ul: M, - acronym: L, - b: L, - a: X({img:1, object:1}, D, F), - blockquote: N, - caption: L, - i: L, - tbody: J, - address: L, - tt: L, - legend: L, - q: L, - pre: X({a:1}, D, F), - p: L, - em: L, - dfn: L - } ; -})() ; diff --git a/modules/editor/skins/fckeditor/editor/dtd/fck_xhtml10transitional.js b/modules/editor/skins/fckeditor/editor/dtd/fck_xhtml10transitional.js deleted file mode 100644 index 5857ea9ff..000000000 --- a/modules/editor/skins/fckeditor/editor/dtd/fck_xhtml10transitional.js +++ /dev/null @@ -1,140 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Contains the DTD mapping for XHTML 1.0 Transitional. - * This file was automatically generated from the file: xhtml10-transitional.dtd - */ -FCK.DTD = (function() -{ - var X = FCKTools.Merge ; - - var A,L,J,M,N,O,D,H,P,K,Q,F,G,C,B,E,I ; - A = {isindex:1, fieldset:1} ; - B = {input:1, button:1, select:1, textarea:1, label:1} ; - C = X({a:1}, B) ; - D = X({iframe:1}, C) ; - E = {hr:1, ul:1, menu:1, div:1, blockquote:1, noscript:1, table:1, center:1, address:1, dir:1, pre:1, h5:1, dl:1, h4:1, noframes:1, h6:1, ol:1, h1:1, h3:1, h2:1} ; - F = {ins:1, del:1, script:1} ; - G = X({b:1, acronym:1, bdo:1, 'var':1, '#':1, abbr:1, code:1, br:1, i:1, cite:1, kbd:1, u:1, strike:1, s:1, tt:1, strong:1, q:1, samp:1, em:1, dfn:1, span:1}, F) ; - H = X({sub:1, img:1, object:1, sup:1, basefont:1, map:1, applet:1, font:1, big:1, small:1}, G) ; - I = X({p:1}, H) ; - J = X({iframe:1}, H, B) ; - K = {img:1, noscript:1, br:1, kbd:1, center:1, button:1, basefont:1, h5:1, h4:1, samp:1, h6:1, ol:1, h1:1, h3:1, h2:1, form:1, font:1, '#':1, select:1, menu:1, ins:1, abbr:1, label:1, code:1, table:1, script:1, cite:1, input:1, iframe:1, strong:1, textarea:1, noframes:1, big:1, small:1, span:1, hr:1, sub:1, bdo:1, 'var':1, div:1, object:1, sup:1, strike:1, dir:1, map:1, dl:1, applet:1, del:1, isindex:1, fieldset:1, ul:1, b:1, acronym:1, a:1, blockquote:1, i:1, u:1, s:1, tt:1, address:1, q:1, pre:1, p:1, em:1, dfn:1} ; - - L = X({a:1}, J) ; - M = {tr:1} ; - N = {'#':1} ; - O = X({param:1}, K) ; - P = X({form:1}, A, D, E, I) ; - Q = {li:1} ; - - return { - col: {}, - tr: {td:1, th:1}, - img: {}, - colgroup: {col:1}, - noscript: P, - td: P, - br: {}, - th: P, - center: P, - kbd: L, - button: X(I, E), - basefont: {}, - h5: L, - h4: L, - samp: L, - h6: L, - ol: Q, - h1: L, - h3: L, - option: N, - h2: L, - form: X(A, D, E, I), - select: {optgroup:1, option:1}, - font: J, // Changed from L to J (see (1)) - ins: P, - menu: Q, - abbr: L, - label: L, - table: {thead:1, col:1, tbody:1, tr:1, colgroup:1, caption:1, tfoot:1}, - code: L, - script: N, - tfoot: M, - cite: L, - li: P, - input: {}, - iframe: P, - strong: J, // Changed from L to J (see (1)) - textarea: N, - noframes: P, - big: J, // Changed from L to J (see (1)) - small: J, // Changed from L to J (see (1)) - span: J, // Changed from L to J (see (1)) - hr: {}, - dt: L, - sub: J, // Changed from L to J (see (1)) - optgroup: {option:1}, - param: {}, - bdo: L, - 'var': J, // Changed from L to J (see (1)) - div: P, - object: O, - sup: J, // Changed from L to J (see (1)) - dd: P, - strike: J, // Changed from L to J (see (1)) - area: {}, - dir: Q, - map: X({area:1, form:1, p:1}, A, F, E), - applet: O, - dl: {dt:1, dd:1}, - del: P, - isindex: {}, - fieldset: X({legend:1}, K), - thead: M, - ul: Q, - acronym: L, - b: J, // Changed from L to J (see (1)) - a: J, - blockquote: P, - caption: L, - i: J, // Changed from L to J (see (1)) - u: J, // Changed from L to J (see (1)) - tbody: M, - s: L, - address: X(D, I), - tt: J, // Changed from L to J (see (1)) - legend: L, - q: L, - pre: X(G, C), - p: L, - em: J, // Changed from L to J (see (1)) - dfn: L - } ; -})() ; - -/* - Notes: - (1) According to the DTD, many elements, like accept elements - inside of them. But, to produce better output results, we have manually - changed the map to avoid breaking the links on pieces, having - "this is a link test", instead of - "this is a link test". -*/ diff --git a/modules/editor/skins/fckeditor/editor/fckdialog.html b/modules/editor/skins/fckeditor/editor/fckdialog.html deleted file mode 100644 index 4bbc36985..000000000 --- a/modules/editor/skins/fckeditor/editor/fckdialog.html +++ /dev/null @@ -1,812 +0,0 @@ - - - - - - - - - - -
        - -
        -
        - - - - - -
          - -   - -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        - - - - - diff --git a/modules/editor/skins/fckeditor/editor/fckeditor.html b/modules/editor/skins/fckeditor/editor/fckeditor.html deleted file mode 100644 index aba4c483b..000000000 --- a/modules/editor/skins/fckeditor/editor/fckeditor.html +++ /dev/null @@ -1,317 +0,0 @@ - - - - - FCKeditor - - - - - - - - - - - - - - - - - - - -
        - - diff --git a/modules/editor/skins/fckeditor/editor/images/anchor.gif b/modules/editor/skins/fckeditor/editor/images/anchor.gif deleted file mode 100644 index 5aa797b22..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/anchor.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/arrow_ltr.gif b/modules/editor/skins/fckeditor/editor/images/arrow_ltr.gif deleted file mode 100644 index 9c59bfe0b..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/arrow_ltr.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/arrow_rtl.gif b/modules/editor/skins/fckeditor/editor/images/arrow_rtl.gif deleted file mode 100644 index 22e864984..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/arrow_rtl.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/angel_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/angel_smile.gif deleted file mode 100644 index a95e05371..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/angel_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/angry_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/angry_smile.gif deleted file mode 100644 index c667c5d6a..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/angry_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/broken_heart.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/broken_heart.gif deleted file mode 100644 index 938cce190..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/broken_heart.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/cake.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/cake.gif deleted file mode 100644 index f6489d7d5..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/cake.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/confused_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/confused_smile.gif deleted file mode 100644 index aeb05393d..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/confused_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/cry_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/cry_smile.gif deleted file mode 100644 index 0758f429e..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/cry_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/devil_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/devil_smile.gif deleted file mode 100644 index 15518d7f0..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/devil_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/embaressed_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/embaressed_smile.gif deleted file mode 100644 index c43194617..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/embaressed_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/envelope.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/envelope.gif deleted file mode 100644 index 66d365614..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/envelope.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/heart.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/heart.gif deleted file mode 100644 index 305714f88..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/heart.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/kiss.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/kiss.gif deleted file mode 100644 index f840ea602..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/kiss.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/lightbulb.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/lightbulb.gif deleted file mode 100644 index 863be6e51..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/lightbulb.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/omg_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/omg_smile.gif deleted file mode 100644 index aabc7fd17..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/omg_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/regular_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/regular_smile.gif deleted file mode 100644 index 33f297e81..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/regular_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/sad_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/sad_smile.gif deleted file mode 100644 index dfb78efea..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/sad_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/shades_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/shades_smile.gif deleted file mode 100644 index 157df770a..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/shades_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/teeth_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/teeth_smile.gif deleted file mode 100644 index 26b5a555f..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/teeth_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/thumbs_down.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/thumbs_down.gif deleted file mode 100644 index f53ee7249..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/thumbs_down.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/thumbs_up.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/thumbs_up.gif deleted file mode 100644 index 7e8c74627..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/thumbs_up.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/tounge_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/tounge_smile.gif deleted file mode 100644 index b87ec4465..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/tounge_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif deleted file mode 100644 index c0741223d..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/smiley/msn/wink_smile.gif b/modules/editor/skins/fckeditor/editor/images/smiley/msn/wink_smile.gif deleted file mode 100644 index eefe61dfa..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/smiley/msn/wink_smile.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/images/spacer.gif b/modules/editor/skins/fckeditor/editor/images/spacer.gif deleted file mode 100644 index 5bfd67a2d..000000000 Binary files a/modules/editor/skins/fckeditor/editor/images/spacer.gif and /dev/null differ diff --git a/modules/editor/skins/fckeditor/editor/js/fckadobeair.js b/modules/editor/skins/fckeditor/editor/js/fckadobeair.js deleted file mode 100644 index 811bd00eb..000000000 --- a/modules/editor/skins/fckeditor/editor/js/fckadobeair.js +++ /dev/null @@ -1,176 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Compatibility code for Adobe AIR. - */ - -if ( FCKBrowserInfo.IsAIR ) -{ - var FCKAdobeAIR = (function() - { - /* - * ### Private functions. - */ - - var getDocumentHead = function( doc ) - { - var head ; - var heads = doc.getElementsByTagName( 'head' ) ; - - if( heads && heads[0] ) - head = heads[0] ; - else - { - head = doc.createElement( 'head' ) ; - doc.documentElement.insertBefore( head, doc.documentElement.firstChild ) ; - } - - return head ; - } ; - - /* - * ### Public interface. - */ - return { - FCKeditorAPI_Evaluate : function( parentWindow, script ) - { - // TODO : This one doesn't work always. The parent window will - // point to an anonymous function in this window. If this - // window is destroyied the parent window will be pointing to - // an invalid reference. - - // Evaluate the script in this window. - eval( script ) ; - - // Point the FCKeditorAPI property of the parent window to the - // local reference. - parentWindow.FCKeditorAPI = window.FCKeditorAPI ; - }, - - EditingArea_Start : function( doc, html ) - { - // Get the HTML for the . - var headInnerHtml = html.match( /([\s\S]*)<\/head>/i )[1] ; - - if ( headInnerHtml && headInnerHtml.length > 0 ) - { - // Inject the HTML inside a
        . - // Do that before getDocumentHead because WebKit moves - // elements to the at this point. - var div = doc.createElement( 'div' ) ; - div.innerHTML = headInnerHtml ; - - // Move the
        nodes to . - FCKDomTools.MoveChildren( div, getDocumentHead( doc ) ) ; - } - - doc.body.innerHTML = html.match( /([\s\S]*)<\/body>/i )[1] ; - - //prevent clicking on hyperlinks and navigating away - doc.addEventListener('click', function( ev ) - { - ev.preventDefault() ; - ev.stopPropagation() ; - }, true ) ; - }, - - Panel_Contructor : function( doc, baseLocation ) - { - var head = getDocumentHead( doc ) ; - - // Set the href. - head.appendChild( doc.createElement('base') ).href = baseLocation ; - - doc.body.style.margin = '0px' ; - doc.body.style.padding = '0px' ; - }, - - ToolbarSet_GetOutElement : function( win, outMatch ) - { - var toolbarTarget = win.parent ; - - var targetWindowParts = outMatch[1].split( '.' ) ; - while ( targetWindowParts.length > 0 ) - { - var part = targetWindowParts.shift() ; - if ( part.length > 0 ) - toolbarTarget = toolbarTarget[ part ] ; - } - - toolbarTarget = toolbarTarget.document.getElementById( outMatch[2] ) ; - }, - - ToolbarSet_InitOutFrame : function( doc ) - { - var head = getDocumentHead( doc ) ; - - head.appendChild( doc.createElement('base') ).href = window.document.location ; - - var targetWindow = doc.defaultView; - - targetWindow.adjust = function() - { - targetWindow.frameElement.height = doc.body.scrollHeight; - } ; - - targetWindow.onresize = targetWindow.adjust ; - targetWindow.setTimeout( targetWindow.adjust, 0 ) ; - - doc.body.style.overflow = 'hidden'; - doc.body.innerHTML = document.getElementById( 'xToolbarSpace' ).innerHTML ; - } - } ; - })(); - - /* - * ### Overrides - */ - ( function() - { - // Save references for override reuse. - var _Original_FCKPanel_Window_OnFocus = FCKPanel_Window_OnFocus ; - var _Original_FCKPanel_Window_OnBlur = FCKPanel_Window_OnBlur ; - var _Original_FCK_StartEditor = FCK.StartEditor ; - - FCKPanel_Window_OnFocus = function( e, panel ) - { - // Call the original implementation. - _Original_FCKPanel_Window_OnFocus.call( this, e, panel ) ; - - if ( panel._focusTimer ) - clearTimeout( panel._focusTimer ) ; - } - - FCKPanel_Window_OnBlur = function( e, panel ) - { - // Delay the execution of the original function. - panel._focusTimer = FCKTools.SetTimeout( _Original_FCKPanel_Window_OnBlur, 100, this, [ e, panel ] ) ; - } - - FCK.StartEditor = function() - { - // Force pointing to the CSS files instead of using the inline CSS cached styles. - window.FCK_InternalCSS = FCKConfig.BasePath + 'css/fck_internal.css' ; - window.FCK_ShowTableBordersCSS = FCKConfig.BasePath + 'css/fck_showtableborders_gecko.css' ; - - _Original_FCK_StartEditor.apply( this, arguments ) ; - } - })(); -} diff --git a/modules/editor/skins/fckeditor/editor/js/fckeditorcode_gecko.js b/modules/editor/skins/fckeditor/editor/js/fckeditorcode_gecko.js deleted file mode 100644 index c692165a7..000000000 --- a/modules/editor/skins/fckeditor/editor/js/fckeditorcode_gecko.js +++ /dev/null @@ -1,108 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This file has been compressed for better performance. The original source - * can be found at "editor/_source". - */ - -var FCK_STATUS_NOTLOADED=window.parent.FCK_STATUS_NOTLOADED=0;var FCK_STATUS_ACTIVE=window.parent.FCK_STATUS_ACTIVE=1;var FCK_STATUS_COMPLETE=window.parent.FCK_STATUS_COMPLETE=2;var FCK_TRISTATE_OFF=window.parent.FCK_TRISTATE_OFF=0;var FCK_TRISTATE_ON=window.parent.FCK_TRISTATE_ON=1;var FCK_TRISTATE_DISABLED=window.parent.FCK_TRISTATE_DISABLED=-1;var FCK_UNKNOWN=window.parent.FCK_UNKNOWN=-9;var FCK_TOOLBARITEM_ONLYICON=window.parent.FCK_TOOLBARITEM_ONLYICON=0;var FCK_TOOLBARITEM_ONLYTEXT=window.parent.FCK_TOOLBARITEM_ONLYTEXT=1;var FCK_TOOLBARITEM_ICONTEXT=window.parent.FCK_TOOLBARITEM_ICONTEXT=2;var FCK_EDITMODE_WYSIWYG=window.parent.FCK_EDITMODE_WYSIWYG=0;var FCK_EDITMODE_SOURCE=window.parent.FCK_EDITMODE_SOURCE=1;var FCK_IMAGES_PATH='images/';var FCK_SPACER_PATH='images/spacer.gif';var CTRL=1000;var SHIFT=2000;var ALT=4000;var FCK_STYLE_BLOCK=0;var FCK_STYLE_INLINE=1;var FCK_STYLE_OBJECT=2; -String.prototype.Contains=function(A){return (this.indexOf(A)>-1);};String.prototype.Equals=function(){var A=arguments;if (A.length==1&&A[0].pop) A=A[0];for (var i=0;iC) return false;if (B){var E=new RegExp(A+'$','i');return E.test(this);}else return (D==0||this.substr(C-D,D)==A);};String.prototype.Remove=function(A,B){var s='';if (A>0) s=this.substring(0,A);if (A+B=7),IsIE6:/*@cc_on!@*/false&&(parseInt(s.match(/msie (\d+)/)[1],10)>=6),IsSafari:s.Contains(' applewebkit/'),IsOpera:!!window.opera,IsAIR:s.Contains(' adobeair/'),IsMac:s.Contains('macintosh')};(function(A){A.IsGecko=(navigator.product=='Gecko')&&!A.IsSafari&&!A.IsOpera;A.IsGeckoLike=(A.IsGecko||A.IsSafari||A.IsOpera);if (A.IsGecko){var B=s.match(/rv:(\d+\.\d+)/);var C=B&&parseFloat(B[1]);if (C){A.IsGecko10=(C<1.8);A.IsGecko19=(C>1.8);}}})(FCKBrowserInfo); -var FCKURLParams={};(function(){var A=document.location.search.substr(1).split('&');for (var i=0;i';if (!FCKRegexLib.HtmlOpener.test(A)) A=''+A+'';if (!FCKRegexLib.HeadOpener.test(A)) A=A.replace(FCKRegexLib.HtmlOpener,'$&');return A;}else{var B=FCKConfig.DocType+'0&&!FCKRegexLib.Html4DocType.test(FCKConfig.DocType)) B+=' style="overflow-y: scroll"';B+='>'+A+'';return B;}},ConvertToDataFormat:function(A,B,C,D){var E=FCKXHtml.GetXHTML(A,!B,D);if (C&&FCKRegexLib.EmptyOutParagraph.test(E)) return '';return E;},FixHtml:function(A){return A;}}; -var FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcessor:new FCKDataProcessor(),GetInstanceObject:(function(){var w=window;return function(name){return w[name];}})(),AttachToOnSelectionChange:function(A){this.Events.AttachEvent('OnSelectionChange',A);},GetLinkedFieldValue:function(){return this.LinkedField.value;},GetParentForm:function(){return this.LinkedField.form;},StartupValue:'',IsDirty:function(){if (this.EditMode==1) return (this.StartupValue!=this.EditingArea.Textarea.value);else{if (!this.EditorDocument) return false;return (this.StartupValue!=this.EditorDocument.body.innerHTML);}},ResetIsDirty:function(){if (this.EditMode==1) this.StartupValue=this.EditingArea.Textarea.value;else if (this.EditorDocument.body) this.StartupValue=this.EditorDocument.body.innerHTML;},StartEditor:function(){this.TempBaseTag=FCKConfig.BaseHref.length>0?'':'';var A=FCK.KeystrokeHandler=new FCKKeystrokeHandler();A.OnKeystroke=_FCK_KeystrokeHandler_OnKeystroke;A.SetKeystrokes(FCKConfig.Keystrokes);if (FCKBrowserInfo.IsIE7){if ((CTRL+86) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45) in A.Keystrokes) A.SetKeystrokes([SHIFT+45,true]);};A.SetKeystrokes([CTRL+8,true]);this.EditingArea=new FCKEditingArea(document.getElementById('xEditingArea'));this.EditingArea.FFSpellChecker=FCKConfig.FirefoxSpellChecker;this.SetData(this.GetLinkedFieldValue(),true);FCKTools.AddEventListener(document,"keydown",this._TabKeyHandler);this.AttachToOnSelectionChange(_FCK_PaddingNodeListener);if (FCKBrowserInfo.IsGecko) this.AttachToOnSelectionChange(this._ExecCheckEmptyBlock);},Focus:function(){FCK.EditingArea.Focus();},SetStatus:function(A){this.Status=A;if (A==1){FCKFocusManager.AddWindow(window,true);if (FCKBrowserInfo.IsIE) FCKFocusManager.AddWindow(window.frameElement,true);if (FCKConfig.StartupFocus) FCK.Focus();};this.Events.FireEvent('OnStatusChange',A);},FixBody:function(){var A=FCKConfig.EnterMode;if (A!='p'&&A!='div') return;var B=this.EditorDocument;if (!B) return;var C=B.body;if (!C) return;FCKDomTools.TrimNode(C);var D=C.firstChild;var E;while (D){var F=false;switch (D.nodeType){case 1:var G=D.nodeName.toLowerCase();if (!FCKListsLib.BlockElements[G]&&G!='li'&&!D.getAttribute('_fckfakelement')&&D.getAttribute('_moz_dirty')==null) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;break;case 8:if (E) F=true;break;};if (F){var H=D.parentNode;if (!E) E=H.insertBefore(B.createElement(A),D);E.appendChild(H.removeChild(D));D=E.nextSibling;}else{if (E){FCKDomTools.TrimNode(E);E=null;};D=D.nextSibling;}};if (E) FCKDomTools.TrimNode(E);},GetData:function(A){if (FCK.EditMode==1) return FCK.EditingArea.Textarea.value;this.FixBody();var B=FCK.EditorDocument;if (!B) return null;var C=FCKConfig.FullPage;var D=FCK.DataProcessor.ConvertToDataFormat(C?B.documentElement:B.body,!C,FCKConfig.IgnoreEmptyParagraphValue,A);D=FCK.ProtectEventsRestore(D);if (FCKBrowserInfo.IsIE) D=D.replace(FCKRegexLib.ToReplace,'$1');if (C){if (FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0) D=FCK.DocTypeDeclaration+'\n'+D;if (FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0) D=FCK.XmlDeclaration+'\n'+D;};return FCKConfig.ProtectedSource.Revert(D);},UpdateLinkedField:function(){var A=FCK.GetXHTML(FCKConfig.FormatOutput);if (FCKConfig.HtmlEncodeOutput) A=FCKTools.HTMLEncode(A);FCK.LinkedField.value=A;FCK.Events.FireEvent('OnAfterLinkedFieldUpdate');},RegisteredDoubleClickHandlers:{},OnDoubleClick:function(A){var B=FCK.RegisteredDoubleClickHandlers[A.tagName.toUpperCase()];if (B){for (var i=0;i0?'|ABBR|XML|EMBED|OBJECT':'ABBR|XML|EMBED|OBJECT';var C;if (B.length>0){C=new RegExp('<('+B+')(?!\w|:)','gi');A=A.replace(C,'','gi');A=A.replace(C,'<\/FCK:$1>');};B='META';if (FCKBrowserInfo.IsIE) B+='|HR';C=new RegExp('<(('+B+')(?=\\s|>|/)[\\s\\S]*?)/?>','gi');A=A.replace(C,'');return A;},SetData:function(A,B){this.EditingArea.Mode=FCK.EditMode;if (FCKBrowserInfo.IsIE&&FCK.EditorDocument){FCK.EditorDocument.detachEvent("onselectionchange",Doc_OnSelectionChange);};FCKTempBin.Reset();if (FCK.EditMode==0){this._ForceResetIsDirty=(B===true);A=FCKConfig.ProtectedSource.Protect(A);A=FCK.DataProcessor.ConvertToHtml(A);A=A.replace(FCKRegexLib.InvalidSelfCloseTags,'$1>');A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);if (FCK.TempBaseTag.length>0&&!FCKRegexLib.HasBaseTag.test(A)) A=A.replace(FCKRegexLib.HeadOpener,'$&'+FCK.TempBaseTag);var C='';if (!FCKConfig.FullPage) C+=_FCK_GetEditorAreaStyleTags();if (FCKBrowserInfo.IsIE) C+=FCK._GetBehaviorsStyle();else if (FCKConfig.ShowBorders) C+=FCKTools.GetStyleHtml(FCK_ShowTableBordersCSS,true);C+=FCKTools.GetStyleHtml(FCK_InternalCSS,true);A=A.replace(FCKRegexLib.HeadCloser,C+'$&');this.EditingArea.OnLoad=_FCK_EditingArea_OnLoad;this.EditingArea.Start(A);}else{FCK.EditorWindow=null;FCK.EditorDocument=null;FCKDomTools.PaddingNode=null;this.EditingArea.OnLoad=null;this.EditingArea.Start(A);this.EditingArea.Textarea._FCKShowContextMenu=true;FCK.EnterKeyHandler=null;if (B) this.ResetIsDirty();FCK.KeystrokeHandler.AttachToElement(this.EditingArea.Textarea);this.EditingArea.Textarea.focus();FCK.Events.FireEvent('OnAfterSetHTML');};if (FCKBrowserInfo.IsGecko) window.onresize();},RedirectNamedCommands:{},ExecuteNamedCommand:function(A,B,C,D){if (!D) FCKUndo.SaveUndoStep();if (!C&&FCK.RedirectNamedCommands[A]!=null) FCK.ExecuteRedirectedNamedCommand(A,B);else{FCK.Focus();FCK.EditorDocument.execCommand(A,false,B);FCK.Events.FireEvent('OnSelectionChange');};if (!D) FCKUndo.SaveUndoStep();},GetNamedCommandState:function(A){try{if (FCKBrowserInfo.IsSafari&&FCK.EditorWindow&&A.IEquals('Paste')) return 0;if (!FCK.EditorDocument.queryCommandEnabled(A)) return -1;else{return FCK.EditorDocument.queryCommandState(A)?1:0;}}catch (e){return 0;}},GetNamedCommandValue:function(A){var B='';var C=FCK.GetNamedCommandState(A);if (C==-1) return null;try{B=this.EditorDocument.queryCommandValue(A);}catch(e) {};return B?B:'';},Paste:function(A){if (FCK.Status!=2||!FCK.Events.FireEvent('OnPaste')) return false;return A||FCK._ExecPaste();},PasteFromWord:function(){FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.PasteFromWord,'dialog/fck_paste.html',400,330,'Word');},Preview:function(){var A;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) A=FCK.TempBaseTag+FCK.GetXHTML();else A=FCK.GetXHTML();}else{A=FCKConfig.DocType+''+FCK.TempBaseTag+''+FCKLang.Preview+''+_FCK_GetEditorAreaStyleTags()+''+FCK.GetXHTML()+'';};var B=FCKConfig.ScreenWidth*0.8;var C=FCKConfig.ScreenHeight*0.7;var D=(FCKConfig.ScreenWidth-B)/2;var E='';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A;E='javascript:void( (function(){document.open() ;document.domain="'+document.domain+'" ;document.write( window.opener._FCKHtmlToLoad );document.close() ;window.opener._FCKHtmlToLoad = null ;})() )';};var F=window.open(E,null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+B+',height='+C+',left='+D);if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){F.document.write(A);F.document.close();}},SwitchEditMode:function(A){var B=(FCK.EditMode==0);var C=FCK.IsDirty();var D;if (B){FCKCommands.GetCommand('ShowBlocks').SaveState();if (!A&&FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();D=FCK.GetXHTML(FCKConfig.FormatSource);if (FCKBrowserInfo.IsIE) FCKTempBin.ToHtml();if (D==null) return false;}else D=this.EditingArea.Textarea.value;FCK.EditMode=B?1:0;FCK.SetData(D,!C);FCK.Focus();FCKTools.RunFunction(FCK.ToolbarSet.RefreshModeState,FCK.ToolbarSet);return true;},InsertElement:function(A){if (typeof A=='string') A=this.EditorDocument.createElement(A);var B=A.nodeName.toLowerCase();FCKSelection.Restore();var C=new FCKDomRange(this.EditorWindow);C.MoveToSelection();C.DeleteContents();if (FCKListsLib.BlockElements[B]!=null){if (C.StartBlock){if (C.CheckStartOfBlock()) C.MoveToPosition(C.StartBlock,3);else if (C.CheckEndOfBlock()) C.MoveToPosition(C.StartBlock,4);else C.SplitBlock();};C.InsertNode(A);var D=FCKDomTools.GetNextSourceElement(A,false,null,['hr','br','param','img','area','input'],true);if (!D&&FCKConfig.EnterMode!='br'){D=this.EditorDocument.body.appendChild(this.EditorDocument.createElement(FCKConfig.EnterMode));if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);};if (FCKListsLib.EmptyElements[B]==null) C.MoveToElementEditStart(A);else if (D) C.MoveToElementEditStart(D);else C.MoveToPosition(A,4);if (FCKBrowserInfo.IsGeckoLike){if (D) FCKDomTools.ScrollIntoView(D,false);FCKDomTools.ScrollIntoView(A,false);}}else{C.InsertNode(A);C.SetStart(A,4);C.SetEnd(A,4);};C.Select();C.Release();this.Focus();return A;},_InsertBlockElement:function(A){},_IsFunctionKey:function(A){if (A>=16&&A<=20) return true;if (A==27||(A>=33&&A<=40)) return true;if (A==45) return true;return false;},_KeyDownListener:function(A){if (!A) A=FCK.EditorWindow.event;if (FCK.EditorWindow){if (!FCK._IsFunctionKey(A.keyCode)&&!(A.ctrlKey||A.metaKey)&&!(A.keyCode==46)) FCK._KeyDownUndo();};return true;},_KeyDownUndo:function(){if (!FCKUndo.Typing){FCKUndo.SaveUndoStep();FCKUndo.Typing=true;FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.TypesCount++;FCKUndo.Changed=1;if (FCKUndo.TypesCount>FCKUndo.MaxTypes){FCKUndo.TypesCount=0;FCKUndo.SaveUndoStep();}},_TabKeyHandler:function(A){if (!A) A=window.event;var B=A.keyCode;if (B==9&&FCK.EditMode!=0){if (FCKBrowserInfo.IsIE){var C=document.selection.createRange();if (C.parentElement()!=FCK.EditingArea.Textarea) return true;C.text='\t';C.select();}else{var a=[];var D=FCK.EditingArea.Textarea;var E=D.selectionStart;var F=D.selectionEnd;a.push(D.value.substr(0,E));a.push('\t');a.push(D.value.substr(F));D.value=a.join('');D.setSelectionRange(E+1,E+1);};if (A.preventDefault) return A.preventDefault();return A.returnValue=false;};return true;}};FCK.Events=new FCKEvents(FCK);FCK.GetHTML=FCK.GetXHTML=FCK.GetData;FCK.SetHTML=FCK.SetData;FCK.InsertElementAndGetIt=FCK.CreateElement=FCK.InsertElement;function _FCK_ProtectEvents_ReplaceTags(A){return A.replace(FCKRegexLib.EventAttributes,_FCK_ProtectEvents_ReplaceEvents);};function _FCK_ProtectEvents_ReplaceEvents(A,B){return ' '+B+'_fckprotectedatt="'+encodeURIComponent(A)+'"';};function _FCK_ProtectEvents_RestoreEvents(A,B){return decodeURIComponent(B);};function _FCK_MouseEventsListener(A){if (!A) A=window.event;if (A.type=='mousedown') FCK.MouseDownFlag=true;else if (A.type=='mouseup') FCK.MouseDownFlag=false;else if (A.type=='mousemove') FCK.Events.FireEvent('OnMouseMove',A);};function _FCK_PaddingNodeListener(){if (FCKConfig.EnterMode.IEquals('br')) return;FCKDomTools.EnforcePaddingNode(FCK.EditorDocument,FCKConfig.EnterMode);if (!FCKBrowserInfo.IsIE&&FCKDomTools.PaddingNode){var A=FCKSelection.GetSelection();if (A&&A.rangeCount==1){var B=A.getRangeAt(0);if (B.collapsed&&B.startContainer==FCK.EditorDocument.body&&B.startOffset==0){B.selectNodeContents(FCKDomTools.PaddingNode);B.collapse(true);A.removeAllRanges();A.addRange(B);}}}else if (FCKDomTools.PaddingNode){var C=FCKSelection.GetParentElement();var D=FCKDomTools.PaddingNode;if (C&&C.nodeName.IEquals('body')){if (FCK.EditorDocument.body.childNodes.length==1&&FCK.EditorDocument.body.firstChild==D){if (FCKSelection._GetSelectionDocument(FCK.EditorDocument.selection)!=FCK.EditorDocument) return;var B=FCK.EditorDocument.body.createTextRange();var F=false;if (!D.childNodes.firstChild){D.appendChild(FCKTools.GetElementDocument(D).createTextNode('\ufeff'));F=true;};B.moveToElementText(D);B.select();if (F) B.pasteHTML('');}}}};function _FCK_EditingArea_OnLoad(){FCK.EditorWindow=FCK.EditingArea.Window;FCK.EditorDocument=FCK.EditingArea.Document;if (FCKBrowserInfo.IsIE) FCKTempBin.ToElements();FCK.InitializeBehaviors();FCK.MouseDownFlag=false;FCKTools.AddEventListener(FCK.EditorDocument,'mousemove',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,'mousedown',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,'mouseup',_FCK_MouseEventsListener);if (FCKBrowserInfo.IsSafari){var A=function(evt){if (!(evt.ctrlKey||evt.metaKey)) return;if (FCK.EditMode!=0) return;switch (evt.keyCode){case 89:FCKUndo.Redo();break;case 90:FCKUndo.Undo();break;}};FCKTools.AddEventListener(FCK.EditorDocument,'keyup',A);};FCK.EnterKeyHandler=new FCKEnterKey(FCK.EditorWindow,FCKConfig.EnterMode,FCKConfig.ShiftEnterMode,FCKConfig.TabSpaces);FCK.KeystrokeHandler.AttachToElement(FCK.EditorDocument);if (FCK._ForceResetIsDirty) FCK.ResetIsDirty();if (FCKBrowserInfo.IsIE&&FCK.HasFocus) FCK.EditorDocument.body.setActive();FCK.OnAfterSetHTML();FCKCommands.GetCommand('ShowBlocks').RestoreState();if (FCK.Status!=0) return;FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){return FCKTools.GetStyleHtml(FCKConfig.EditorAreaCSS)+FCKTools.GetStyleHtml(FCKConfig.EditorAreaStyles);};function _FCK_KeystrokeHandler_OnKeystroke(A,B){if (FCK.Status!=2) return false;if (FCK.EditMode==0){switch (B){case 'Paste':return!FCK.Paste();case 'Cut':FCKUndo.SaveUndoStep();return false;}}else{if (B.Equals('Paste','Undo','Redo','SelectAll','Cut')) return false;};var C=FCK.Commands.GetCommand(B);if (C.GetState()==-1) return false;return (C.Execute.apply(C,FCKTools.ArgumentsToArray(arguments,2))!==false);};(function(){var A=window.parent.document;var B=A.getElementById(FCK.Name);var i=0;while (B||i==0){if (B&&B.tagName.toLowerCase().Equals('input','textarea')){FCK.LinkedField=B;break;};B=A.getElementsByName(FCK.Name)[i++];}})();var FCKTempBin={Elements:[],AddElement:function(A){var B=this.Elements.length;this.Elements[B]=A;return B;},RemoveElement:function(A){var e=this.Elements[A];this.Elements[A]=null;return e;},Reset:function(){var i=0;while (i '+this.Elements[i].outerHTML+'
        ';this.Elements[i].isHtml=true;}},ToElements:function(){var A=FCK.EditorDocument.createElement('div');for (var i=0;i40) return;};var C=function(H){if (H.nodeType!=1) return false;var D=H.tagName.toLowerCase();return (FCKListsLib.BlockElements[D]||FCKListsLib.EmptyElements[D]);};var E=function(){var F=FCKSelection.GetSelection();var G=F.getRangeAt(0);if (!G||!G.collapsed) return;var H=G.endContainer;if (H.nodeType!=3) return;if (H.nodeValue.length!=G.endOffset) return;var I=H.parentNode.tagName.toLowerCase();if (!(I=='a'||(!FCKBrowserInfo.IsOpera&&String(H.parentNode.contentEditable)=='false')||(!(FCKListsLib.BlockElements[I]||FCKListsLib.NonEmptyBlockElements[I])&&B==35))) return;var J=FCKTools.GetNextTextNode(H,H.parentNode,C);if (J) return;G=FCK.EditorDocument.createRange();J=FCKTools.GetNextTextNode(H,H.parentNode.parentNode,C);if (J){if (FCKBrowserInfo.IsOpera&&B==37) return;G.setStart(J,0);G.setEnd(J,0);}else{while (H.parentNode&&H.parentNode!=FCK.EditorDocument.body&&H.parentNode!=FCK.EditorDocument.documentElement&&H==H.parentNode.lastChild&&(!FCKListsLib.BlockElements[H.parentNode.tagName.toLowerCase()]&&!FCKListsLib.NonEmptyBlockElements[H.parentNode.tagName.toLowerCase()])) H=H.parentNode;if (FCKListsLib.BlockElements[I]||FCKListsLib.EmptyElements[I]||H==FCK.EditorDocument.body){G.setStart(H,H.childNodes.length);G.setEnd(H,H.childNodes.length);}else{var K=H.nextSibling;while (K){if (K.nodeType!=1){K=K.nextSibling;continue;};var L=K.tagName.toLowerCase();if (FCKListsLib.BlockElements[L]||FCKListsLib.EmptyElements[L]||FCKListsLib.NonEmptyBlockElements[L]) break;K=K.nextSibling;};var M=FCK.EditorDocument.createTextNode('');if (K) H.parentNode.insertBefore(M,K);else H.parentNode.appendChild(M);G.setStart(M,0);G.setEnd(M,0);}};F.removeAllRanges();F.addRange(G);FCK.Events.FireEvent("OnSelectionChange");};setTimeout(E,1);};this.ExecOnSelectionChangeTimer=function(){if (FCK.LastOnChangeTimer) window.clearTimeout(FCK.LastOnChangeTimer);FCK.LastOnChangeTimer=window.setTimeout(FCK.ExecOnSelectionChange,100);};this.EditorDocument.addEventListener('mouseup',this.ExecOnSelectionChange,false);this.EditorDocument.addEventListener('keyup',this.ExecOnSelectionChangeTimer,false);this._DblClickListener=function(e){FCK.OnDoubleClick(e.target);e.stopPropagation();};this.EditorDocument.addEventListener('dblclick',this._DblClickListener,true);this.EditorDocument.addEventListener('keydown',this._KeyDownListener,false);if (FCKBrowserInfo.IsGecko){this.EditorWindow.addEventListener('dragdrop',this._ExecDrop,true);}else if (FCKBrowserInfo.IsSafari){var N=function(evt){ if (!FCK.MouseDownFlag) evt.returnValue=false;};this.EditorDocument.addEventListener('dragenter',N,true);this.EditorDocument.addEventListener('dragover',N,true);this.EditorDocument.addEventListener('drop',this._ExecDrop,true);this.EditorDocument.addEventListener('mousedown',function(ev){var O=ev.srcElement;if (O.nodeName.IEquals('IMG','HR','INPUT','TEXTAREA','SELECT')){FCKSelection.SelectNode(O);}},true);this.EditorDocument.addEventListener('mouseup',function(ev){if (ev.srcElement.nodeName.IEquals('INPUT','TEXTAREA','SELECT')) ev.preventDefault()},true);this.EditorDocument.addEventListener('click',function(ev){if (ev.srcElement.nodeName.IEquals('INPUT','TEXTAREA','SELECT')) ev.preventDefault()},true);};if (FCKBrowserInfo.IsGecko||FCKBrowserInfo.IsOpera){this.EditorDocument.addEventListener('keypress',this._ExecCheckCaret,false);this.EditorDocument.addEventListener('click',this._ExecCheckCaret,false);};FCK.ContextMenu._InnerContextMenu.SetMouseClickWindow(FCK.EditorWindow);FCK.ContextMenu._InnerContextMenu.AttachToElement(FCK.EditorDocument);};FCK.MakeEditable=function(){this.EditingArea.MakeEditable();};function Document_OnContextMenu(e){if (!e.target._FCKShowContextMenu) e.preventDefault();};document.oncontextmenu=Document_OnContextMenu;FCK._BaseGetNamedCommandState=FCK.GetNamedCommandState;FCK.GetNamedCommandState=function(A){switch (A){case 'Unlink':return FCKSelection.HasAncestorNode('A')?0:-1;default:return FCK._BaseGetNamedCommandState(A);}};FCK.RedirectNamedCommands={Print:true,Paste:true};FCK.ExecuteRedirectedNamedCommand=function(A,B){switch (A){case 'Print':FCK.EditorWindow.print();break;case 'Paste':try{if (FCKBrowserInfo.IsSafari) throw '';if (FCK.Paste()) FCK.ExecuteNamedCommand('Paste',null,true);}catch (e) { FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.Paste,'dialog/fck_paste.html',400,330,'Security');};break;default:FCK.ExecuteNamedCommand(A,B);}};FCK._ExecPaste=function(){FCKUndo.SaveUndoStep();if (FCKConfig.ForcePasteAsPlainText){FCK.PasteAsPlainText();return false;};return true;};FCK.InsertHtml=function(A){var B=FCK.EditorDocument,range;A=FCKConfig.ProtectedSource.Protect(A);A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);FCKUndo.SaveUndoStep();if (FCKBrowserInfo.IsGecko){A=A.replace(/ $/,'$&');var C=new FCKDocumentFragment(this.EditorDocument);C.AppendHtml(A);var D=C.RootNode.lastChild;range=new FCKDomRange(this.EditorWindow);range.MoveToSelection();range.DeleteContents();range.InsertNode(C.RootNode);range.MoveToPosition(D,4);}else B.execCommand('inserthtml',false,A);this.Focus();if (!range){range=new FCKDomRange(this.EditorWindow);range.MoveToSelection();};var E=range.CreateBookmark();FCKDocumentProcessor.Process(B);try{range.MoveToBookmark(E);range.Select();}catch (e) {};this.Events.FireEvent("OnSelectionChange");};FCK.PasteAsPlainText=function(){FCKTools.RunFunction(FCKDialog.OpenDialog,FCKDialog,['FCKDialog_Paste',FCKLang.PasteAsText,'dialog/fck_paste.html',400,330,'PlainText']);};FCK.GetClipboardHTML=function(){return '';};FCK.CreateLink=function(A,B){var C=[];if (FCKSelection.GetSelection().isCollapsed) return C;FCK.ExecuteNamedCommand('Unlink',null,false,!!B);if (A.length>0){var D='javascript:void(0);/*'+(new Date().getTime())+'*/';FCK.ExecuteNamedCommand('CreateLink',D,false,!!B);var E=this.EditorDocument.evaluate("//a[@href='"+D+"']",this.EditorDocument.body,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);for (var i=0;i0&&!isNaN(E)) this.PageConfig[D]=parseInt(E,10);else this.PageConfig[D]=E;}};function FCKConfig_LoadPageConfig(){var A=FCKConfig.PageConfig;for (var B in A) FCKConfig[B]=A[B];};function FCKConfig_PreProcess(){var A=FCKConfig;if (A.AllowQueryStringDebug){try{if ((/fckdebug=true/i).test(window.top.location.search)) A.Debug=true;}catch (e) { }};if (!A.PluginsPath.EndsWith('/')) A.PluginsPath+='/';var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;A.RemoveAttributesArray=(A.RemoveAttributes||'').split(',');if (!FCKConfig.SkinEditorCSS||FCKConfig.SkinEditorCSS.length==0) FCKConfig.SkinEditorCSS=FCKConfig.SkinPath+'fck_editor.css';if (!FCKConfig.SkinDialogCSS||FCKConfig.SkinDialogCSS.length==0) FCKConfig.SkinDialogCSS=FCKConfig.SkinPath+'fck_dialog.css';};FCKConfig.ToolbarSets={};FCKConfig.Plugins={};FCKConfig.Plugins.Items=[];FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.AddItem([A,B,C]);};FCKConfig.ProtectedSource={};FCKConfig.ProtectedSource._CodeTag=(new Date()).valueOf();FCKConfig.ProtectedSource.RegexEntries=[//g,//gi,//gi];FCKConfig.ProtectedSource.Add=function(A){this.RegexEntries.AddItem(A);};FCKConfig.ProtectedSource.Protect=function(A){var B=this._CodeTag;function _Replace(protectedSource){var C=FCKTempBin.AddElement(protectedSource);return '';};for (var i=0;i|>)","g");return A.replace(D,_Replace);};FCKConfig.GetBodyAttributes=function(){var A='';if (this.BodyId&&this.BodyId.length>0) A+=' id="'+this.BodyId+'"';if (this.BodyClass&&this.BodyClass.length>0) A+=' class="'+this.BodyClass+'"';return A;};FCKConfig.ApplyBodyAttributes=function(A){if (this.BodyId&&this.BodyId.length>0) A.id=FCKConfig.BodyId;if (this.BodyClass&&this.BodyClass.length>0) A.className+=' '+FCKConfig.BodyClass;}; -var FCKDebug={Output:function(){},OutputObject:function(){}}; -var FCKDomTools={MoveChildren:function(A,B,C){if (A==B) return;var D;if (C){while ((D=A.lastChild)) B.insertBefore(A.removeChild(D),B.firstChild);}else{while ((D=A.firstChild)) B.appendChild(A.removeChild(D));}},MoveNode:function(A,B,C){if (C) B.insertBefore(FCKDomTools.RemoveNode(A),B.firstChild);else B.appendChild(FCKDomTools.RemoveNode(A));},TrimNode:function(A){this.LTrimNode(A);this.RTrimNode(A);},LTrimNode:function(A){var B;while ((B=A.firstChild)){if (B.nodeType==3){var C=B.nodeValue.LTrim();var D=B.nodeValue.length;if (C.length==0){A.removeChild(B);continue;}else if (C.length0) break;if (A.lastChild) A=A.lastChild;else return this.GetPreviousSourceElement(A,B,C,D);};return null;},GetNextSourceElement:function(A,B,C,D,E){while((A=this.GetNextSourceNode(A,E))){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (D&&A.nodeName.IEquals(D)) return this.GetNextSourceElement(A,B,C,D);return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;};return null;},GetNextSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.firstChild) E=A.firstChild;else{if (D&&A==D) return null;E=A.nextSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetNextSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetNextSourceNode(E,false,C,D);return E;},GetPreviousSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.lastChild) E=A.lastChild;else{if (D&&A==D) return null;E=A.previousSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetPreviousSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetPreviousSourceNode(E,false,C,D);return E;},InsertAfterNode:function(A,B){return A.parentNode.insertBefore(B,A.nextSibling);},GetParents:function(A){var B=[];while (A){B.unshift(A);A=A.parentNode;};return B;},GetCommonParents:function(A,B){var C=this.GetParents(A);var D=this.GetParents(B);var E=[];for (var i=0;i0) D[C.pop().toLowerCase()]=1;var E=this.GetCommonParents(A,B);var F=null;while ((F=E.pop())){if (D[F.nodeName.toLowerCase()]) return F;};return null;},GetIndexOf:function(A){var B=A.parentNode?A.parentNode.firstChild:null;var C=-1;while (B){C++;if (B==A) return C;B=B.nextSibling;};return-1;},PaddingNode:null,EnforcePaddingNode:function(A,B){try{if (!A||!A.body) return;}catch (e){return;};this.CheckAndRemovePaddingNode(A,B,true);try{if (A.body.lastChild&&(A.body.lastChild.nodeType!=1||A.body.lastChild.tagName.toLowerCase()==B.toLowerCase())) return;}catch (e){return;};var C=A.createElement(B);if (FCKBrowserInfo.IsGecko&&FCKListsLib.NonEmptyBlockElements[B]) FCKTools.AppendBogusBr(C);this.PaddingNode=C;if (A.body.childNodes.length==1&&A.body.firstChild.nodeType==1&&A.body.firstChild.tagName.toLowerCase()=='br'&&(A.body.firstChild.getAttribute('_moz_dirty')!=null||A.body.firstChild.getAttribute('type')=='_moz')) A.body.replaceChild(C,A.body.firstChild);else A.body.appendChild(C);},CheckAndRemovePaddingNode:function(A,B,C){var D=this.PaddingNode;if (!D) return;try{if (D.parentNode!=A.body||D.tagName.toLowerCase()!=B||(D.childNodes.length>1)||(D.firstChild&&D.firstChild.nodeValue!='\xa0'&&String(D.firstChild.tagName).toLowerCase()!='br')){this.PaddingNode=null;return;}}catch (e){this.PaddingNode=null;return;};if (!C){if (D.parentNode.childNodes.length>1) D.parentNode.removeChild(D);this.PaddingNode=null;}},HasAttribute:function(A,B){if (A.hasAttribute) return A.hasAttribute(B);else{var C=A.attributes[B];return (C!=undefined&&C.specified);}},HasAttributes:function(A){var B=A.attributes;for (var i=0;i0) return true;}else if (B[i].specified) return true;};return false;},RemoveAttribute:function(A,B){if (FCKBrowserInfo.IsIE&&B.toLowerCase()=='class') B='className';return A.removeAttribute(B,0);},RemoveAttributes:function (A,B){for (var i=0;i0) return false;C=C.nextSibling;};return D?this.CheckIsEmptyElement(D,B):true;},SetElementStyles:function(A,B){var C=A.style;for (var D in B) C[D]=B[D];},SetOpacity:function(A,B){if (FCKBrowserInfo.IsIE){B=Math.round(B*100);A.style.filter=(B>100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+B+')');}else A.style.opacity=B;},GetCurrentElementStyle:function(A,B){if (FCKBrowserInfo.IsIE) return A.currentStyle[B];else return A.ownerDocument.defaultView.getComputedStyle(A,'').getPropertyValue(B);},GetPositionedAncestor:function(A){var B=A;while (B!=FCKTools.GetElementDocument(B).documentElement){if (this.GetCurrentElementStyle(B,'position')!='static') return B;if (B==FCKTools.GetElementDocument(B).documentElement&¤tWindow!=w) B=currentWindow.frameElement;else B=B.parentNode;};return null;},ScrollIntoView:function(A,B){var C=FCKTools.GetElementWindow(A);var D=FCKTools.GetViewPaneSize(C).Height;var E=D*-1;if (B===false){E+=A.offsetHeight||0;E+=parseInt(this.GetCurrentElementStyle(A,'marginBottom')||0,10)||0;};var F=FCKTools.GetDocumentPosition(C,A);E+=F.y;var G=FCKTools.GetScrollPosition(C).Y;if (E>0&&(E>G||E'+styleDef+'';};var C=function(cssFileUrl,markTemp){if (cssFileUrl.length==0) return '';var B=markTemp?' _fcktemp="true"':'';return '';};return function(cssFileOrArrayOrDef,markTemp){if (!cssFileOrArrayOrDef) return '';if (typeof(cssFileOrArrayOrDef)=='string'){if (/[\\\/\.][^{}]*$/.test(cssFileOrArrayOrDef)){return this.GetStyleHtml(cssFileOrArrayOrDef.split(','),markTemp);}else return A(this._GetUrlFixedCss(cssFileOrArrayOrDef),markTemp);}else{var E='';for (var i=0;i/g,'>');return A;};FCKTools.HTMLDecode=function(A){if (!A) return '';A=A.replace(/>/g,'>');A=A.replace(/</g,'<');A=A.replace(/&/g,'&');return A;};FCKTools._ProcessLineBreaksForPMode=function(A,B,C,D,E){var F=0;var G="

        ";var H="

        ";var I="
        ";if (C){G="
      5. ";H="
      6. ";F=1;}while (D&&D!=A.FCK.EditorDocument.body){if (D.tagName.toLowerCase()=='p'){F=1;break;};D=D.parentNode;};for (var i=0;i0) return A[A.length-1];return null;};FCKTools.GetDocumentPosition=function(w,A){var x=0;var y=0;var B=A;var C=null;var D=FCKTools.GetElementWindow(B);while (B&&!(D==w&&(B==w.document.body||B==w.document.documentElement))){x+=B.offsetLeft-B.scrollLeft;y+=B.offsetTop-B.scrollTop;if (!FCKBrowserInfo.IsOpera){var E=C;while (E&&E!=B){x-=E.scrollLeft;y-=E.scrollTop;E=E.parentNode;}};C=B;if (B.offsetParent) B=B.offsetParent;else{if (D!=w){B=D.frameElement;C=null;if (B) D=B.contentWindow.parent;}else B=null;}};if (FCKDomTools.GetCurrentElementStyle(w.document.body,'position')!='static'||(FCKBrowserInfo.IsIE&&FCKDomTools.GetPositionedAncestor(A)==null)){x+=w.document.body.offsetLeft;y+=w.document.body.offsetTop;};return { "x":x,"y":y };};FCKTools.GetWindowPosition=function(w,A){var B=this.GetDocumentPosition(w,A);var C=FCKTools.GetScrollPosition(w);B.x-=C.X;B.y-=C.Y;return B;};FCKTools.ProtectFormStyles=function(A){if (!A||A.nodeType!=1||A.tagName.toLowerCase()!='form') return [];var B=[];var C=['style','className'];for (var i=0;i0){for (var i=B.length-1;i>=0;i--){var C=B[i][0];var D=B[i][1];if (D) A.insertBefore(C,D);else A.appendChild(C);}}};FCKTools.GetNextNode=function(A,B){if (A.firstChild) return A.firstChild;else if (A.nextSibling) return A.nextSibling;else{var C=A.parentNode;while (C){if (C==B) return null;if (C.nextSibling) return C.nextSibling;else C=C.parentNode;}};return null;};FCKTools.GetNextTextNode=function(A,B,C){node=this.GetNextNode(A,B);if (C&&node&&C(node)) return null;while (node&&node.nodeType!=3){node=this.GetNextNode(node,B);if (C&&node&&C(node)) return null;};return node;};FCKTools.Merge=function(){var A=arguments;var o=A[0];for (var i=1;i');document.domain = '"+FCK_RUNTIME_DOMAIN+"';document.close();}() ) ;";if (FCKBrowserInfo.IsIE){if (FCKBrowserInfo.IsIE7||!FCKBrowserInfo.IsIE6) return "";else return "javascript: '';";};return "javascript: void(0);";};FCKTools.ResetStyles=function(A){A.style.cssText='margin:0;padding:0;border:0;background-color:transparent;background-image:none;';}; -FCKTools.CancelEvent=function(e){if (e) e.preventDefault();};FCKTools.DisableSelection=function(A){if (FCKBrowserInfo.IsGecko) A.style.MozUserSelect='none';else if (FCKBrowserInfo.IsSafari) A.style.KhtmlUserSelect='none';else A.style.userSelect='none';};FCKTools._AppendStyleSheet=function(A,B){var e=A.createElement('LINK');e.rel='stylesheet';e.type='text/css';e.href=B;A.getElementsByTagName("HEAD")[0].appendChild(e);return e;};FCKTools.AppendStyleString=function(A,B){if (!B) return null;var e=A.createElement("STYLE");e.appendChild(A.createTextNode(B));A.getElementsByTagName("HEAD")[0].appendChild(e);return e;};FCKTools.ClearElementAttributes=function(A){for (var i=0;i0) B[B.length]=D;C(parent.childNodes[i]);}};C(A);return B;};FCKTools.RemoveOuterTags=function(e){var A=e.ownerDocument.createDocumentFragment();for (var i=0;i','text/xml');FCKDomTools.RemoveNode(B.firstChild);return B;};return null;};FCKTools.GetScrollPosition=function(A){return { X:A.pageXOffset,Y:A.pageYOffset };};FCKTools.AddEventListener=function(A,B,C){A.addEventListener(B,C,false);};FCKTools.RemoveEventListener=function(A,B,C){A.removeEventListener(B,C,false);};FCKTools.AddEventListenerEx=function(A,B,C,D){A.addEventListener(B,function(e){C.apply(A,[e].concat(D||[]));},false);};FCKTools.GetViewPaneSize=function(A){return { Width:A.innerWidth,Height:A.innerHeight };};FCKTools.SaveStyles=function(A){var B=FCKTools.ProtectFormStyles(A);var C={};if (A.className.length>0){C.Class=A.className;A.className='';};var D=A.getAttribute('style');if (D&&D.length>0){C.Inline=D;A.setAttribute('style','',0);};FCKTools.RestoreFormStyles(A,B);return C;};FCKTools.RestoreStyles=function(A,B){var C=FCKTools.ProtectFormStyles(A);A.className=B.Class||'';if (B.Inline) A.setAttribute('style',B.Inline,0);else A.removeAttribute('style',0);FCKTools.RestoreFormStyles(A,C);};FCKTools.RegisterDollarFunction=function(A){A.$=function(id){return A.document.getElementById(id);};};FCKTools.AppendElement=function(A,B){return A.appendChild(A.ownerDocument.createElement(B));};FCKTools.GetElementPosition=function(A,B){var c={ X:0,Y:0 };var C=B||window;var D=FCKTools.GetElementWindow(A);var E=null;while (A){var F=D.getComputedStyle(A,'').position;if (F&&F!='static'&&A.style.zIndex!=FCKConfig.FloatingPanelsZIndex) break;c.X+=A.offsetLeft-A.scrollLeft;c.Y+=A.offsetTop-A.scrollTop;if (!FCKBrowserInfo.IsOpera){var G=E;while (G&&G!=A){c.X-=G.scrollLeft;c.Y-=G.scrollTop;G=G.parentNode;}};E=A;if (A.offsetParent) A=A.offsetParent;else{if (D!=C){A=D.frameElement;E=null;if (A) D=FCKTools.GetElementWindow(A);}else{c.X+=A.scrollLeft;c.Y+=A.scrollTop;break;}}};return c;}; -var FCKeditorAPI;function InitializeAPI(){var A=window.parent;if (!(FCKeditorAPI=A.FCKeditorAPI)){var B='window.FCKeditorAPI = {Version : "2.6.3",VersionBuild : "19836",Instances : new Object(),GetInstance : function( name ){return this.Instances[ name ];},_FormSubmit : function(){for ( var name in FCKeditorAPI.Instances ){var oEditor = FCKeditorAPI.Instances[ name ] ;if ( oEditor.GetParentForm && oEditor.GetParentForm() == this )oEditor.UpdateLinkedField() ;}this._FCKOriginalSubmit() ;},_FunctionQueue : {Functions : new Array(),IsRunning : false,Add : function( f ){this.Functions.push( f );if ( !this.IsRunning )this.StartNext();},StartNext : function(){var aQueue = this.Functions ;if ( aQueue.length > 0 ){this.IsRunning = true;aQueue[0].call();}else this.IsRunning = false;},Remove : function( f ){var aQueue = this.Functions;var i = 0, fFunc;while( (fFunc = aQueue[ i ]) ){if ( fFunc == f )aQueue.splice( i,1 );i++ ;}this.StartNext();}}}';if (A.execScript) A.execScript(B,'JavaScript');else{if (FCKBrowserInfo.IsGecko10){eval.call(A,B);}else if(FCKBrowserInfo.IsAIR){FCKAdobeAIR.FCKeditorAPI_Evaluate(A,B);}else if (FCKBrowserInfo.IsSafari){var C=A.document;var D=C.createElement('script');D.appendChild(C.createTextNode(B));C.documentElement.appendChild(D);}else A.eval(B);};FCKeditorAPI=A.FCKeditorAPI;FCKeditorAPI.__Instances=FCKeditorAPI.Instances;};FCKeditorAPI.Instances[FCK.Name]=FCK;};function _AttachFormSubmitToAPI(){var A=FCK.GetParentForm();if (A){FCKTools.AddEventListener(A,'submit',FCK.UpdateLinkedField);if (!A._FCKOriginalSubmit&&(typeof(A.submit)=='function'||(!A.submit.tagName&&!A.submit.length))){A._FCKOriginalSubmit=A.submit;A.submit=FCKeditorAPI._FormSubmit;}}};function FCKeditorAPI_Cleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat&&!window.FCKUnloadFlag) return;delete FCKeditorAPI.Instances[FCK.Name];};function FCKeditorAPI_ConfirmCleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat) window.FCKUnloadFlag=true;};FCKTools.AddEventListener(window,'unload',FCKeditorAPI_Cleanup);FCKTools.AddEventListener(window,'beforeunload',FCKeditorAPI_ConfirmCleanup); -var FCKImagePreloader=function(){this._Images=[];};FCKImagePreloader.prototype={AddImages:function(A){if (typeof(A)=='string') A=A.split(';');this._Images=this._Images.concat(A);},Start:function(){var A=this._Images;this._PreloadCount=A.length;for (var i=0;i]*\>)/i,AfterBody:/(\<\/body\>[\s\S]*$)/i,ToReplace:/___fcktoreplace:([\w]+)/ig,MetaHttpEquiv:/http-equiv\s*=\s*["']?([^"' ]+)/i,HasBaseTag:/]/i,HtmlOpener:/]*>/i,HeadOpener:/]*>/i,HeadCloser:/<\/head\s*>/i,FCK_Class:/\s*FCK__[^ ]*(?=\s+|$)/,ElementName:/(^[a-z_:][\w.\-:]*\w$)|(^[a-z_]$)/,ForceSimpleAmpersand:/___FCKAmp___/g,SpaceNoClose:/\/>/g,EmptyParagraph:/^<(p|div|address|h\d|center)(?=[ >])[^>]*>\s*(<\/\1>)?$/,EmptyOutParagraph:/^<(p|div|address|h\d|center)(?=[ >])[^>]*>(?:\s*| )(<\/\1>)?$/,TagBody:/>]+))/gi,ProtectUrlsA:/]+))/gi,ProtectUrlsArea:/]+))/gi,Html4DocType:/HTML 4\.0 Transitional/i,DocTypeTag:/]*>/i,HtmlDocType:/DTD HTML/,TagsWithEvent:/<[^\>]+ on\w+[\s\r\n]*=[\s\r\n]*?('|")[\s\S]+?\>/g,EventAttributes:/\s(on\w+)[\s\r\n]*=[\s\r\n]*?('|")([\s\S]*?)\2/g,ProtectedEvents:/\s\w+_fckprotectedatt="([^"]+)"/g,StyleProperties:/\S+\s*:/g,InvalidSelfCloseTags:/(<(?!base|meta|link|hr|br|param|img|area|input)([a-zA-Z0-9:]+)[^>]*)\/>/gi,StyleVariableAttName:/#\(\s*("|')(.+?)\1[^\)]*\s*\)/g,RegExp:/^\/(.*)\/([gim]*)$/,HtmlTag:/<[^\s<>](?:"[^"]*"|'[^']*'|[^<])*>/}; -var FCKListsLib={BlockElements:{ address:1,blockquote:1,center:1,div:1,dl:1,fieldset:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,marquee:1,noscript:1,ol:1,p:1,pre:1,script:1,table:1,ul:1 },NonEmptyBlockElements:{ p:1,div:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,address:1,pre:1,ol:1,ul:1,li:1,td:1,th:1 },InlineChildReqElements:{ abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,'var':1 },InlineNonEmptyElements:{ a:1,abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,'var':1 },EmptyElements:{ base:1,col:1,meta:1,link:1,hr:1,br:1,param:1,img:1,area:1,input:1 },PathBlockElements:{ address:1,blockquote:1,dl:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1,li:1,dt:1,de:1 },PathBlockLimitElements:{ body:1,div:1,td:1,th:1,caption:1,form:1 },StyleBlockElements:{ address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1 },StyleObjectElements:{ img:1,hr:1,li:1,table:1,tr:1,td:1,embed:1,object:1,ol:1,ul:1 },NonEditableElements:{ button:1,option:1,script:1,iframe:1,textarea:1,object:1,embed:1,map:1,applet:1 },BlockBoundaries:{ p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1 },ListBoundaries:{ p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1,br:1 }}; -var FCKLanguageManager=FCK.Language={AvailableLanguages:{af:'Afrikaans',ar:'Arabic',bg:'Bulgarian',bn:'Bengali/Bangla',bs:'Bosnian',ca:'Catalan',cs:'Czech',da:'Danish',de:'German',el:'Greek',en:'English','en-au':'English (Australia)','en-ca':'English (Canadian)','en-uk':'English (United Kingdom)',eo:'Esperanto',es:'Spanish',et:'Estonian',eu:'Basque',fa:'Persian',fi:'Finnish',fo:'Faroese',fr:'French','fr-ca':'French (Canada)',gl:'Galician',gu:'Gujarati',he:'Hebrew',hi:'Hindi',hr:'Croatian',hu:'Hungarian',it:'Italian',ja:'Japanese',km:'Khmer',ko:'Korean',lt:'Lithuanian',lv:'Latvian',mn:'Mongolian',ms:'Malay',nb:'Norwegian Bokmal',nl:'Dutch',no:'Norwegian',pl:'Polish',pt:'Portuguese (Portugal)','pt-br':'Portuguese (Brazil)',ro:'Romanian',ru:'Russian',sk:'Slovak',sl:'Slovenian',sr:'Serbian (Cyrillic)','sr-latn':'Serbian (Latin)',sv:'Swedish',th:'Thai',tr:'Turkish',uk:'Ukrainian',vi:'Vietnamese',zh:'Chinese Traditional','zh-cn':'Chinese Simplified'},GetActiveLanguage:function(){if (FCKConfig.AutoDetectLanguage){var A;if (navigator.userLanguage) A=navigator.userLanguage.toLowerCase();else if (navigator.language) A=navigator.language.toLowerCase();else{return FCKConfig.DefaultLanguage;};if (A.length>=5){A=A.substr(0,5);if (this.AvailableLanguages[A]) return A;};if (A.length>=2){A=A.substr(0,2);if (this.AvailableLanguages[A]) return A;}};return this.DefaultLanguage;},TranslateElements:function(A,B,C,D){var e=A.getElementsByTagName(B);var E,s;for (var i=0;i0) C+='|'+FCKConfig.AdditionalNumericEntities;FCKXHtmlEntities.EntitiesRegex=new RegExp(C,'g');}; -var FCKXHtml={};FCKXHtml.CurrentJobNum=0;FCKXHtml.GetXHTML=function(A,B,C){FCKDomTools.CheckAndRemovePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);FCKXHtmlEntities.Initialize();this._NbspEntity=(FCKConfig.ProcessHTMLEntities?'nbsp':'#160');var D=FCK.IsDirty();FCKXHtml.SpecialBlocks=[];this.XML=FCKTools.CreateXmlObject('DOMDocument');this.MainNode=this.XML.appendChild(this.XML.createElement('xhtml'));FCKXHtml.CurrentJobNum++;if (B) this._AppendNode(this.MainNode,A);else this._AppendChildNodes(this.MainNode,A,false);var E=this._GetMainXmlString();this.XML=null;if (FCKBrowserInfo.IsSafari) E=E.replace(/^/,'');E=E.substr(7,E.length-15).Trim();if (FCKConfig.DocType.length>0&&FCKRegexLib.HtmlDocType.test(FCKConfig.DocType)) E=E.replace(FCKRegexLib.SpaceNoClose,'>');else E=E.replace(FCKRegexLib.SpaceNoClose,' />');if (FCKConfig.ForceSimpleAmpersand) E=E.replace(FCKRegexLib.ForceSimpleAmpersand,'&');if (C) E=FCKCodeFormatter.Format(E);for (var i=0;i0;if (C) A.appendChild(this.XML.createTextNode(B.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity)));return C;};function FCKXHtml_GetEntity(A){var B=FCKXHtmlEntities.Entities[A]||('#'+A.charCodeAt(0));return '#?-:'+B+';';};FCKXHtml.TagProcessors={a:function(A,B){if (B.innerHTML.Trim().length==0&&!B.name) return false;var C=B.getAttribute('_fcksavedurl');if (C!=null) FCKXHtml._AppendAttribute(A,'href',C);if (FCKBrowserInfo.IsIE){if (B.name) FCKXHtml._AppendAttribute(A,'name',B.name);};A=FCKXHtml._AppendChildNodes(A,B,false);return A;},area:function(A,B){var C=B.getAttribute('_fcksavedurl');if (C!=null) FCKXHtml._AppendAttribute(A,'href',C);if (FCKBrowserInfo.IsIE){if (!A.attributes.getNamedItem('coords')){var D=B.getAttribute('coords',2);if (D&&D!='0,0,0') FCKXHtml._AppendAttribute(A,'coords',D);};if (!A.attributes.getNamedItem('shape')){var E=B.getAttribute('shape',2);if (E&&E.length>0) FCKXHtml._AppendAttribute(A,'shape',E.toLowerCase());}};return A;},body:function(A,B){A=FCKXHtml._AppendChildNodes(A,B,false);A.removeAttribute('spellcheck');return A;},iframe:function(A,B){var C=B.innerHTML;if (FCKBrowserInfo.IsGecko) C=FCKTools.HTMLDecode(C);C=C.replace(/\s_fcksavedurl="[^"]*"/g,'');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},img:function(A,B){if (!A.attributes.getNamedItem('alt')) FCKXHtml._AppendAttribute(A,'alt','');var C=B.getAttribute('_fcksavedurl');if (C!=null) FCKXHtml._AppendAttribute(A,'src',C);if (B.style.width) A.removeAttribute('width');if (B.style.height) A.removeAttribute('height');return A;},li:function(A,B,C){if (C.nodeName.IEquals(['ul','ol'])) return FCKXHtml._AppendChildNodes(A,B,true);var D=FCKXHtml.XML.createElement('ul');B._fckxhtmljob=null;do{FCKXHtml._AppendNode(D,B);do{B=FCKDomTools.GetNextSibling(B);} while (B&&B.nodeType==3&&B.nodeValue.Trim().length==0)} while (B&&B.nodeName.toLowerCase()=='li') return D;},ol:function(A,B,C){if (B.innerHTML.Trim().length==0) return false;var D=C.lastChild;if (D&&D.nodeType==3) D=D.previousSibling;if (D&&D.nodeName.toUpperCase()=='LI'){B._fckxhtmljob=null;FCKXHtml._AppendNode(D,B);return false;};A=FCKXHtml._AppendChildNodes(A,B);return A;},pre:function (A,B){var C=B.firstChild;if (C&&C.nodeType==3) A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem('\r\n')));FCKXHtml._AppendChildNodes(A,B,true);return A;},script:function(A,B){if (!A.attributes.getNamedItem('type')) FCKXHtml._AppendAttribute(A,'type','text/javascript');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(B.text)));return A;},span:function(A,B){if (B.innerHTML.length==0) return false;A=FCKXHtml._AppendChildNodes(A,B,false);return A;},style:function(A,B){if (!A.attributes.getNamedItem('type')) FCKXHtml._AppendAttribute(A,'type','text/css');var C=B.innerHTML;if (FCKBrowserInfo.IsIE) C=C.replace(/^(\r\n|\n|\r)/,'');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},title:function(A,B){A.appendChild(FCKXHtml.XML.createTextNode(FCK.EditorDocument.title));return A;}};FCKXHtml.TagProcessors.ul=FCKXHtml.TagProcessors.ol; -FCKXHtml._GetMainXmlString=function(){return (new XMLSerializer()).serializeToString(this.MainNode);};FCKXHtml._AppendAttributes=function(A,B,C){var D=B.attributes;for (var n=0;n]*\>/gi;A.BlocksCloser=/\<\/(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\>]*\>/gi;A.NewLineTags=/\<(BR|HR)[^\>]*\>/gi;A.MainTags=/\<\/?(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR)[^\>]*\>/gi;A.LineSplitter=/\s*\n+\s*/g;A.IncreaseIndent=/^\<(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \/\>]/i;A.DecreaseIndent=/^\<\/(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \>]/i;A.FormatIndentatorRemove=new RegExp('^'+FCKConfig.FormatIndentator);A.ProtectedTags=/(]*>)([\s\S]*?)(<\/PRE>)/gi;};FCKCodeFormatter._ProtectData=function(A,B,C,D){return B+'___FCKpd___'+FCKCodeFormatter.ProtectedData.AddItem(C)+D;};FCKCodeFormatter.Format=function(A){if (!this.Regex) this.Init();FCKCodeFormatter.ProtectedData=[];var B=A.replace(this.Regex.ProtectedTags,FCKCodeFormatter._ProtectData);B=B.replace(this.Regex.BlocksOpener,'\n$&');B=B.replace(this.Regex.BlocksCloser,'$&\n');B=B.replace(this.Regex.NewLineTags,'$&\n');B=B.replace(this.Regex.MainTags,'\n$&\n');var C='';var D=B.split(this.Regex.LineSplitter);B='';for (var i=0;iB[i]) return 1;};if (A.lengthB.length) return 1;return 0;};FCKUndo._CheckIsBookmarksEqual=function(A,B){if (!(A&&B)) return false;if (FCKBrowserInfo.IsIE){var C=A[1].search(A[0].StartId);var D=B[1].search(B[0].StartId);var E=A[1].search(A[0].EndId);var F=B[1].search(B[0].EndId);return C==D&&E==F;}else{return this._CompareCursors(A.Start,B.Start)==0&&this._CompareCursors(A.End,B.End)==0;}};FCKUndo.SaveUndoStep=function(){if (FCK.EditMode!=0||this.SaveLocked) return;if (this.SavedData.length) this.Changed=true;var A=FCK.EditorDocument.body.innerHTML;var B=this._GetBookmark();this.SavedData=this.SavedData.slice(0,this.CurrentIndex+1);if (this.CurrentIndex>0&&A==this.SavedData[this.CurrentIndex][0]&&this._CheckIsBookmarksEqual(B,this.SavedData[this.CurrentIndex][1])) return;else if (this.CurrentIndex==0&&this.SavedData.length&&A==this.SavedData[0][0]){this.SavedData[0][1]=B;return;};if (this.CurrentIndex+1>=FCKConfig.MaxUndoLevels) this.SavedData.shift();else this.CurrentIndex++;this.SavedData[this.CurrentIndex]=[A,B];FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.CheckUndoState=function(){return (this.Changed||this.CurrentIndex>0);};FCKUndo.CheckRedoState=function(){return (this.CurrentIndex<(this.SavedData.length-1));};FCKUndo.Undo=function(){if (this.CheckUndoState()){if (this.CurrentIndex==(this.SavedData.length-1)){this.SaveUndoStep();};this._ApplyUndoLevel(--this.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");}};FCKUndo.Redo=function(){if (this.CheckRedoState()){this._ApplyUndoLevel(++this.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");}};FCKUndo._ApplyUndoLevel=function(A){var B=this.SavedData[A];if (!B) return;if (FCKBrowserInfo.IsIE){if (B[1]&&B[1][1]) FCK.SetInnerHtml(B[1][1]);else FCK.SetInnerHtml(B[0]);}else FCK.EditorDocument.body.innerHTML=B[0];this._SelectBookmark(B[1]);this.TypesCount=0;this.Changed=false;this.Typing=false;}; -var FCKEditingArea=function(A){this.TargetElement=A;this.Mode=0;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKEditingArea_Cleanup);};FCKEditingArea.prototype.Start=function(A,B){var C=this.TargetElement;var D=FCKTools.GetElementDocument(C);while(C.firstChild) C.removeChild(C.firstChild);if (this.Mode==0){if (FCK_IS_CUSTOM_DOMAIN) A=''+A;if (FCKBrowserInfo.IsIE) A=A.replace(/(]*?)\s*\/?>(?!\s*<\/base>)/gi,'$1>');else if (!B){var E=A.match(FCKRegexLib.BeforeBody);var F=A.match(FCKRegexLib.AfterBody);if (E&&F){var G=A.substr(E[1].length,A.length-E[1].length-F[1].length);A=E[1]+' '+F[1];if (FCKBrowserInfo.IsGecko&&(G.length==0||FCKRegexLib.EmptyParagraph.test(G))) G='
        ';this._BodyHTML=G;}else this._BodyHTML=A;};var H=this.IFrame=D.createElement('iframe');var I='';H.frameBorder=0;H.style.width=H.style.height='100%';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A.replace(//i,''+I);H.src='javascript:void( (function(){document.open() ;document.domain="'+document.domain+'" ;document.write( window.parent._FCKHtmlToLoad );document.close() ;window.parent._FCKHtmlToLoad = null ;})() )';}else if (!FCKBrowserInfo.IsGecko){H.src='javascript:void(0)';};C.appendChild(H);this.Window=H.contentWindow;if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){var J=this.Window.document;J.open();J.write(A.replace(//i,''+I));J.close();};if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.EditingArea_Start(J,A);if (FCKBrowserInfo.IsGecko10&&!B){this.Start(A,true);return;};if (H.readyState&&H.readyState!='completed'){var K=this;setTimeout(function(){try{K.Window.document.documentElement.doScroll("left");}catch(e){setTimeout(arguments.callee,0);return;};K.Window._FCKEditingArea=K;FCKEditingArea_CompleteStart.call(K.Window);},0);}else{this.Window._FCKEditingArea=this;if (FCKBrowserInfo.IsGecko10) this.Window.setTimeout(FCKEditingArea_CompleteStart,500);else FCKEditingArea_CompleteStart.call(this.Window);}}else{var L=this.Textarea=D.createElement('textarea');L.className='SourceField';L.dir='ltr';FCKDomTools.SetElementStyles(L,{width:'100%',height:'100%',border:'none',resize:'none',outline:'none'});C.appendChild(L);L.value=A;FCKTools.RunFunction(this.OnLoad);}};function FCKEditingArea_CompleteStart(){if (!this.document.body){this.setTimeout(FCKEditingArea_CompleteStart,50);return;};var A=this._FCKEditingArea;A.Document=A.Window.document;A.MakeEditable();FCKTools.RunFunction(A.OnLoad);};FCKEditingArea.prototype.MakeEditable=function(){var A=this.Document;if (FCKBrowserInfo.IsIE){A.body.disabled=true;A.body.contentEditable=true;A.body.removeAttribute("disabled");}else{try{A.body.spellcheck=(this.FFSpellChecker!==false);if (this._BodyHTML){A.body.innerHTML=this._BodyHTML;A.body.offsetLeft;this._BodyHTML=null;};A.designMode='on';A.execCommand('enableObjectResizing',false,!FCKConfig.DisableObjectResizing);A.execCommand('enableInlineTableEditing',false,!FCKConfig.DisableFFTableHandles);}catch (e){FCKTools.AddEventListener(this.Window.frameElement,'DOMAttrModified',FCKEditingArea_Document_AttributeNodeModified);}}};function FCKEditingArea_Document_AttributeNodeModified(A){var B=A.currentTarget.contentWindow._FCKEditingArea;if (B._timer) window.clearTimeout(B._timer);B._timer=FCKTools.SetTimeout(FCKEditingArea_MakeEditableByMutation,1000,B);};function FCKEditingArea_MakeEditableByMutation(){delete this._timer;FCKTools.RemoveEventListener(this.Window.frameElement,'DOMAttrModified',FCKEditingArea_Document_AttributeNodeModified);this.MakeEditable();};FCKEditingArea.prototype.Focus=function(){try{if (this.Mode==0){if (FCKBrowserInfo.IsIE) this._FocusIE();else this.Window.focus();}else{var A=FCKTools.GetElementDocument(this.Textarea);if ((!A.hasFocus||A.hasFocus())&&A.activeElement==this.Textarea) return;this.Textarea.focus();}}catch(e) {}};FCKEditingArea.prototype._FocusIE=function(){this.Document.body.setActive();this.Window.focus();var A=this.Document.selection.createRange();var B=A.parentElement();var C=B.nodeName.toLowerCase();if (B.childNodes.length>0||!(FCKListsLib.BlockElements[C]||FCKListsLib.NonEmptyBlockElements[C])){return;};A=new FCKDomRange(this.Window);A.MoveToElementEditStart(B);A.Select();};function FCKEditingArea_Cleanup(){if (this.Document) this.Document.body.innerHTML="";this.TargetElement=null;this.IFrame=null;this.Document=null;this.Textarea=null;if (this.Window){this.Window._FCKEditingArea=null;this.Window=null;}}; -var FCKKeystrokeHandler=function(A){this.Keystrokes={};this.CancelCtrlDefaults=(A!==false);};FCKKeystrokeHandler.prototype.AttachToElement=function(A){FCKTools.AddEventListenerEx(A,'keydown',_FCKKeystrokeHandler_OnKeyDown,this);if (FCKBrowserInfo.IsGecko10||FCKBrowserInfo.IsOpera||(FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac)) FCKTools.AddEventListenerEx(A,'keypress',_FCKKeystrokeHandler_OnKeyPress,this);};FCKKeystrokeHandler.prototype.SetKeystrokes=function(){for (var i=0;i40))){B._CancelIt=true;if (A.preventDefault) return A.preventDefault();A.returnValue=false;A.cancelBubble=true;return false;};return true;};function _FCKKeystrokeHandler_OnKeyPress(A,B){if (B._CancelIt){if (A.preventDefault) return A.preventDefault();return false;};return true;}; -FCK.DTD=(function(){var X=FCKTools.Merge;var A,L,J,M,N,O,D,H,P,K,Q,F,G,C,B,E,I;A={isindex:1,fieldset:1};B={input:1,button:1,select:1,textarea:1,label:1};C=X({a:1},B);D=X({iframe:1},C);E={hr:1,ul:1,menu:1,div:1,blockquote:1,noscript:1,table:1,center:1,address:1,dir:1,pre:1,h5:1,dl:1,h4:1,noframes:1,h6:1,ol:1,h1:1,h3:1,h2:1};F={ins:1,del:1,script:1};G=X({b:1,acronym:1,bdo:1,'var':1,'#':1,abbr:1,code:1,br:1,i:1,cite:1,kbd:1,u:1,strike:1,s:1,tt:1,strong:1,q:1,samp:1,em:1,dfn:1,span:1},F);H=X({sub:1,img:1,object:1,sup:1,basefont:1,map:1,applet:1,font:1,big:1,small:1},G);I=X({p:1},H);J=X({iframe:1},H,B);K={img:1,noscript:1,br:1,kbd:1,center:1,button:1,basefont:1,h5:1,h4:1,samp:1,h6:1,ol:1,h1:1,h3:1,h2:1,form:1,font:1,'#':1,select:1,menu:1,ins:1,abbr:1,label:1,code:1,table:1,script:1,cite:1,input:1,iframe:1,strong:1,textarea:1,noframes:1,big:1,small:1,span:1,hr:1,sub:1,bdo:1,'var':1,div:1,object:1,sup:1,strike:1,dir:1,map:1,dl:1,applet:1,del:1,isindex:1,fieldset:1,ul:1,b:1,acronym:1,a:1,blockquote:1,i:1,u:1,s:1,tt:1,address:1,q:1,pre:1,p:1,em:1,dfn:1};L=X({a:1},J);M={tr:1};N={'#':1};O=X({param:1},K);P=X({form:1},A,D,E,I);Q={li:1};return {col:{},tr:{td:1,th:1},img:{},colgroup:{col:1},noscript:P,td:P,br:{},th:P,center:P,kbd:L,button:X(I,E),basefont:{},h5:L,h4:L,samp:L,h6:L,ol:Q,h1:L,h3:L,option:N,h2:L,form:X(A,D,E,I),select:{optgroup:1,option:1},font:J,ins:P,menu:Q,abbr:L,label:L,table:{thead:1,col:1,tbody:1,tr:1,colgroup:1,caption:1,tfoot:1},code:L,script:N,tfoot:M,cite:L,li:P,input:{},iframe:P,strong:J,textarea:N,noframes:P,big:J,small:J,span:J,hr:{},dt:L,sub:J,optgroup:{option:1},param:{},bdo:L,'var':J,div:P,object:O,sup:J,dd:P,strike:J,area:{},dir:Q,map:X({area:1,form:1,p:1},A,F,E),applet:O,dl:{dt:1,dd:1},del:P,isindex:{},fieldset:X({legend:1},K),thead:M,ul:Q,acronym:L,b:J,a:J,blockquote:P,caption:L,i:J,u:J,tbody:M,s:L,address:X(D,I),tt:J,legend:L,q:L,pre:X(G,C),p:L,em:J,dfn:L};})(); -var FCKStyle=function(A){this.Element=(A.Element||'span').toLowerCase();this._StyleDesc=A;};FCKStyle.prototype={GetType:function(){var A=this.GetType_$;if (A!=undefined) return A;var B=this.Element;if (B=='#'||FCKListsLib.StyleBlockElements[B]) A=0;else if (FCKListsLib.StyleObjectElements[B]) A=2;else A=1;return (this.GetType_$=A);},ApplyToSelection:function(A){var B=new FCKDomRange(A);B.MoveToSelection();this.ApplyToRange(B,true);},ApplyToRange:function(A,B,C){switch (this.GetType()){case 0:this.ApplyToRange=this._ApplyBlockStyle;break;case 1:this.ApplyToRange=this._ApplyInlineStyle;break;default:return;};this.ApplyToRange(A,B,C);},ApplyToObject:function(A){if (!A) return;this.BuildElement(null,A);},RemoveFromSelection:function(A){var B=new FCKDomRange(A);B.MoveToSelection();this.RemoveFromRange(B,true);},RemoveFromRange:function(A,B,C){var D;var E=this._GetAttribsForComparison();var F=this._GetOverridesForComparison();if (A.CheckIsCollapsed()){var D=A.CreateBookmark(true);var H=A.GetBookmarkNode(D,true);var I=new FCKElementPath(H.parentNode);var J=[];var K=!FCKDomTools.GetNextSibling(H);var L=K||!FCKDomTools.GetPreviousSibling(H);var M;var N=-1;for (var i=0;i=0;i--){var E=D[i];for (var F in B){if (FCKDomTools.HasAttribute(E,F)){switch (F){case 'style':this._RemoveStylesFromElement(E);break;case 'class':if (FCKDomTools.GetAttributeValue(E,F)!=this.GetFinalAttributeValue(F)) continue;default:FCKDomTools.RemoveAttribute(E,F);}}};this._RemoveOverrides(E,C[this.Element]);this._RemoveNoAttribElement(E);};for (var G in C){if (G!=this.Element){D=A.getElementsByTagName(G);for (var i=D.length-1;i>=0;i--){var E=D[i];this._RemoveOverrides(E,C[G]);this._RemoveNoAttribElement(E);}}}},_RemoveStylesFromElement:function(A){var B=A.style.cssText;var C=this.GetFinalStyleValue();if (B.length>0&&C.length==0) return;C='(^|;)\\s*('+C.replace(/\s*([^ ]+):.*?(;|$)/g,'$1|').replace(/\|$/,'')+'):[^;]+';var D=new RegExp(C,'gi');B=B.replace(D,'').Trim();if (B.length==0||B==';') FCKDomTools.RemoveAttribute(A,'style');else A.style.cssText=B.replace(D,'');},_RemoveOverrides:function(A,B){var C=B&&B.Attributes;if (C){for (var i=0;i0) C.style.cssText=this.GetFinalStyleValue();return C;},_CompareAttributeValues:function(A,B,C){if (A=='style'&&B&&C){B=B.replace(/;$/,'').toLowerCase();C=C.replace(/;$/,'').toLowerCase();};return (B==C||((B===null||B==='')&&(C===null||C==='')))},GetFinalAttributeValue:function(A){var B=this._StyleDesc.Attributes;var B=B?B[A]:null;if (!B&&A=='style') return this.GetFinalStyleValue();if (B&&this._Variables) B=B.Replace(FCKRegexLib.StyleVariableAttName,this._GetVariableReplace,this);return B;},GetFinalStyleValue:function(){var A=this._GetStyleText();if (A.length>0&&this._Variables){A=A.Replace(FCKRegexLib.StyleVariableAttName,this._GetVariableReplace,this);A=FCKTools.NormalizeCssText(A);};return A;},_GetVariableReplace:function(){return this._Variables[arguments[2]]||arguments[0];},SetVariable:function(A,B){var C=this._Variables;if (!C) C=this._Variables={};this._Variables[A]=B;},_FromPre:function(A,B,C){var D=B.innerHTML;D=D.replace(/(\r\n|\r)/g,'\n');D=D.replace(/^[ \t]*\n/,'');D=D.replace(/\n$/,'');D=D.replace(/^[ \t]+|[ \t]+$/g,function(match,offset,s){if (match.length==1) return ' ';else if (offset==0) return new Array(match.length).join(' ')+' ';else return ' '+new Array(match.length).join(' ');});var E=new FCKHtmlIterator(D);var F=[];E.Each(function(isTag,value){if (!isTag){value=value.replace(/\n/g,'
        ');value=value.replace(/[ \t]{2,}/g,function (match){return new Array(match.length).join(' ')+' ';});};F.push(value);});C.innerHTML=F.join('');return C;},_ToPre:function(A,B,C){var D=B.innerHTML.Trim();D=D.replace(/[ \t\r\n]*(]*>)[ \t\r\n]*/gi,'
        ');var E=new FCKHtmlIterator(D);var F=[];E.Each(function(isTag,value){if (!isTag) value=value.replace(/([ \t\n\r]+| )/g,' ');else if (isTag&&value=='
        ') value='\n';F.push(value);});if (FCKBrowserInfo.IsIE){var G=A.createElement('div');G.appendChild(C);C.outerHTML='
        \n'+F.join('')+'
        ';C=G.removeChild(G.firstChild);}else C.innerHTML=F.join('');return C;},_CheckAndMergePre:function(A,B){if (A!=FCKDomTools.GetPreviousSourceElement(B,true)) return;var C=A.innerHTML.replace(/\n$/,'')+'\n\n'+B.innerHTML.replace(/^\n/,'');if (FCKBrowserInfo.IsIE) B.outerHTML='
        '+C+'
        ';else B.innerHTML=C;FCKDomTools.RemoveNode(A);},_CheckAndSplitPre:function(A){var B;var C=A.firstChild;C=C&&C.nextSibling;while (C){var D=C.nextSibling;if (D&&D.nextSibling&&C.nodeName.IEquals('br')&&D.nodeName.IEquals('br')){FCKDomTools.RemoveNode(C);C=D.nextSibling;FCKDomTools.RemoveNode(D);B=FCKDomTools.InsertAfterNode(B||A,FCKDomTools.CloneElement(A));continue;};if (B){C=C.previousSibling;FCKDomTools.MoveNode(C.nextSibling,B);};C=C.nextSibling;}},_ApplyBlockStyle:function(A,B,C){var D;if (B) D=A.CreateBookmark();var E=new FCKDomRangeIterator(A);E.EnforceRealBlocks=true;var F;var G=A.Window.document;var H;while((F=E.GetNextParagraph())){var I=this.BuildElement(G);var J=I.nodeName.IEquals('pre');var K=F.nodeName.IEquals('pre');var L=J&&!K;var M=!J&&K;if (L) I=this._ToPre(G,F,I);else if (M) I=this._FromPre(G,F,I);else FCKDomTools.MoveChildren(F,I);F.parentNode.insertBefore(I,F);FCKDomTools.RemoveNode(F);if (J){if (H) this._CheckAndMergePre(H,I);H=I;}else if (M) this._CheckAndSplitPre(I);};if (B) A.SelectBookmark(D);if (C) A.MoveToBookmark(D);},_ApplyInlineStyle:function(A,B,C){var D=A.Window.document;if (A.CheckIsCollapsed()){var E=this.BuildElement(D);A.InsertNode(E);A.MoveToPosition(E,2);A.Select();return;};var F=this.Element;var G=FCK.DTD[F]||FCK.DTD.span;var H=this._GetAttribsForComparison();var I;A.Expand('inline_elements');var J=A.CreateBookmark(true);var K=A.GetBookmarkNode(J,true);var L=A.GetBookmarkNode(J,false);A.Release(true);var M=FCKDomTools.GetNextSourceNode(K,true);while (M){var N=false;var O=M.nodeType;var P=O==1?M.nodeName.toLowerCase():null;if (!P||G[P]){if ((FCK.DTD[M.parentNode.nodeName.toLowerCase()]||FCK.DTD.span)[F]||!FCK.DTD[F]){if (!A.CheckHasRange()) A.SetStart(M,3);if (O!=1||M.childNodes.length==0){var Q=M;var R=Q.parentNode;while (Q==R.lastChild&&G[R.nodeName.toLowerCase()]){Q=R;};A.SetEnd(Q,4);if (Q==Q.parentNode.lastChild&&!G[Q.parentNode.nodeName.toLowerCase()]) N=true;}else{A.SetEnd(M,3);}}else N=true;}else N=true;M=FCKDomTools.GetNextSourceNode(M);if (M==L){M=null;N=true;};if (N&&A.CheckHasRange()&&!A.CheckIsCollapsed()){I=this.BuildElement(D);A.ExtractContents().AppendTo(I);if (I.innerHTML.RTrim().length>0){A.InsertNode(I);this.RemoveFromElement(I);this._MergeSiblings(I,this._GetAttribsForComparison());if (!FCKBrowserInfo.IsIE) I.normalize();};A.Release(true);}};this._FixBookmarkStart(K);if (B) A.SelectBookmark(J);if (C) A.MoveToBookmark(J);},_FixBookmarkStart:function(A){var B;while ((B=A.nextSibling)){if (B.nodeType==1&&FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){if (!B.firstChild) FCKDomTools.RemoveNode(B);else FCKDomTools.MoveNode(A,B,true);continue;};if (B.nodeType==3&&B.length==0){FCKDomTools.RemoveNode(B);continue;};break;}},_MergeSiblings:function(A,B){if (!A||A.nodeType!=1||!FCKListsLib.InlineNonEmptyElements[A.nodeName.toLowerCase()]) return;this._MergeNextSibling(A,B);this._MergePreviousSibling(A,B);},_MergeNextSibling:function(A,B){var C=A.nextSibling;var D=(C&&C.nodeType==1&&C.getAttribute('_fck_bookmark'));if (D) C=C.nextSibling;if (C&&C.nodeType==1&&C.nodeName==A.nodeName){if (!B) B=this._CreateElementAttribsForComparison(A);if (this._CheckAttributesMatch(C,B)){var E=A.lastChild;if (D) FCKDomTools.MoveNode(A.nextSibling,A);FCKDomTools.MoveChildren(C,A);FCKDomTools.RemoveNode(C);if (E) this._MergeNextSibling(E);}}},_MergePreviousSibling:function(A,B){var C=A.previousSibling;var D=(C&&C.nodeType==1&&C.getAttribute('_fck_bookmark'));if (D) C=C.previousSibling;if (C&&C.nodeType==1&&C.nodeName==A.nodeName){if (!B) B=this._CreateElementAttribsForComparison(A);if (this._CheckAttributesMatch(C,B)){var E=A.firstChild;if (D) FCKDomTools.MoveNode(A.previousSibling,A,true);FCKDomTools.MoveChildren(C,A,true);FCKDomTools.RemoveNode(C);if (E) this._MergePreviousSibling(E);}}},_GetStyleText:function(){var A=this._StyleDesc.Styles;var B=(this._StyleDesc.Attributes?this._StyleDesc.Attributes['style']||'':'');if (B.length>0) B+=';';for (var C in A) B+=C+':'+A[C]+';';if (B.length>0&&!(/#\(/.test(B))){B=FCKTools.NormalizeCssText(B);};return (this._GetStyleText=function() { return B;})();},_GetAttribsForComparison:function(){var A=this._GetAttribsForComparison_$;if (A) return A;A={};var B=this._StyleDesc.Attributes;if (B){for (var C in B){A[C.toLowerCase()]=B[C].toLowerCase();}};if (this._GetStyleText().length>0){A['style']=this._GetStyleText().toLowerCase();};FCKTools.AppendLengthProperty(A,'_length');return (this._GetAttribsForComparison_$=A);},_GetOverridesForComparison:function(){var A=this._GetOverridesForComparison_$;if (A) return A;A={};var B=this._StyleDesc.Overrides;if (B){if (!FCKTools.IsArray(B)) B=[B];for (var i=0;i0) return true;};B=B.nextSibling;};return false;}}; -var FCKElementPath=function(A){var B=null;var C=null;var D=[];var e=A;while (e){if (e.nodeType==1){if (!this.LastElement) this.LastElement=e;var E=e.nodeName.toLowerCase();if (FCKBrowserInfo.IsIE&&e.scopeName!='HTML') E=e.scopeName.toLowerCase()+':'+E;if (!C){if (!B&&FCKListsLib.PathBlockElements[E]!=null) B=e;if (FCKListsLib.PathBlockLimitElements[E]!=null){if (!B&&E=='div'&&!FCKElementPath._CheckHasBlock(e)) B=e;else C=e;}};D.push(e);if (E=='body') break;};e=e.parentNode;};this.Block=B;this.BlockLimit=C;this.Elements=D;};FCKElementPath._CheckHasBlock=function(A){var B=A.childNodes;for (var i=0,count=B.length;i0){if (D.nodeType==3){var G=D.nodeValue.substr(0,E).Trim();if (G.length!=0) return A.IsStartOfBlock=false;}else F=D.childNodes[E-1];};if (!F) F=FCKDomTools.GetPreviousSourceNode(D,true,null,C);while (F){switch (F.nodeType){case 1:if (!FCKListsLib.InlineChildReqElements[F.nodeName.toLowerCase()]) return A.IsStartOfBlock=false;break;case 3:if (F.nodeValue.Trim().length>0) return A.IsStartOfBlock=false;};F=FCKDomTools.GetPreviousSourceNode(F,false,null,C);};return A.IsStartOfBlock=true;},CheckEndOfBlock:function(A){var B=this._Cache.IsEndOfBlock;if (B!=undefined) return B;var C=this.EndBlock||this.EndBlockLimit;var D=this._Range.endContainer;var E=this._Range.endOffset;var F;if (D.nodeType==3){var G=D.nodeValue;if (E0) return this._Cache.IsEndOfBlock=false;};F=FCKDomTools.GetNextSourceNode(F,false,null,C);};if (A) this.Select();return this._Cache.IsEndOfBlock=true;},CreateBookmark:function(A){var B={StartId:(new Date()).valueOf()+Math.floor(Math.random()*1000)+'S',EndId:(new Date()).valueOf()+Math.floor(Math.random()*1000)+'E'};var C=this.Window.document;var D;var E;var F;if (!this.CheckIsCollapsed()){E=C.createElement('span');E.style.display='none';E.id=B.EndId;E.setAttribute('_fck_bookmark',true);E.innerHTML=' ';F=this.Clone();F.Collapse(false);F.InsertNode(E);};D=C.createElement('span');D.style.display='none';D.id=B.StartId;D.setAttribute('_fck_bookmark',true);D.innerHTML=' ';F=this.Clone();F.Collapse(true);F.InsertNode(D);if (A){B.StartNode=D;B.EndNode=E;};if (E){this.SetStart(D,4);this.SetEnd(E,3);}else this.MoveToPosition(D,4);return B;},GetBookmarkNode:function(A,B){var C=this.Window.document;if (B) return A.StartNode||C.getElementById(A.StartId);else return A.EndNode||C.getElementById(A.EndId);},MoveToBookmark:function(A,B){var C=this.GetBookmarkNode(A,true);var D=this.GetBookmarkNode(A,false);this.SetStart(C,3);if (!B) FCKDomTools.RemoveNode(C);if (D){this.SetEnd(D,3);if (!B) FCKDomTools.RemoveNode(D);}else this.Collapse(true);this._UpdateElementInfo();},CreateBookmark2:function(){if (!this._Range) return { "Start":0,"End":0 };var A={"Start":[this._Range.startOffset],"End":[this._Range.endOffset]};var B=this._Range.startContainer.previousSibling;var C=this._Range.endContainer.previousSibling;var D=this._Range.startContainer;var E=this._Range.endContainer;while (B&&D.nodeType==3){A.Start[0]+=B.length;D=B;B=B.previousSibling;}while (C&&E.nodeType==3){A.End[0]+=C.length;E=C;C=C.previousSibling;};if (D.nodeType==1&&D.childNodes[A.Start[0]]&&D.childNodes[A.Start[0]].nodeType==3){var F=D.childNodes[A.Start[0]];var G=0;while (F.previousSibling&&F.previousSibling.nodeType==3){F=F.previousSibling;G+=F.length;};D=F;A.Start[0]=G;};if (E.nodeType==1&&E.childNodes[A.End[0]]&&E.childNodes[A.End[0]].nodeType==3){var F=E.childNodes[A.End[0]];var G=0;while (F.previousSibling&&F.previousSibling.nodeType==3){F=F.previousSibling;G+=F.length;};E=F;A.End[0]=G;};A.Start=FCKDomTools.GetNodeAddress(D,true).concat(A.Start);A.End=FCKDomTools.GetNodeAddress(E,true).concat(A.End);return A;},MoveToBookmark2:function(A){var B=FCKDomTools.GetNodeFromAddress(this.Window.document,A.Start.slice(0,-1),true);var C=FCKDomTools.GetNodeFromAddress(this.Window.document,A.End.slice(0,-1),true);this.Release(true);this._Range=new FCKW3CRange(this.Window.document);var D=A.Start[A.Start.length-1];var E=A.End[A.End.length-1];while (B.nodeType==3&&D>B.length){if (!B.nextSibling||B.nextSibling.nodeType!=3) break;D-=B.length;B=B.nextSibling;}while (C.nodeType==3&&E>C.length){if (!C.nextSibling||C.nextSibling.nodeType!=3) break;E-=C.length;C=C.nextSibling;};this._Range.setStart(B,D);this._Range.setEnd(C,E);this._UpdateElementInfo();},MoveToPosition:function(A,B){this.SetStart(A,B);this.Collapse(true);},SetStart:function(A,B,C){var D=this._Range;if (!D) D=this._Range=this.CreateRange();switch(B){case 1:D.setStart(A,0);break;case 2:D.setStart(A,A.childNodes.length);break;case 3:D.setStartBefore(A);break;case 4:D.setStartAfter(A);};if (!C) this._UpdateElementInfo();},SetEnd:function(A,B,C){var D=this._Range;if (!D) D=this._Range=this.CreateRange();switch(B){case 1:D.setEnd(A,0);break;case 2:D.setEnd(A,A.childNodes.length);break;case 3:D.setEndBefore(A);break;case 4:D.setEndAfter(A);};if (!C) this._UpdateElementInfo();},Expand:function(A){var B,oSibling;switch (A){case 'inline_elements':if (this._Range.startOffset==0){B=this._Range.startContainer;if (B.nodeType!=1) B=B.previousSibling?null:B.parentNode;if (B){while (FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){this._Range.setStartBefore(B);if (B!=B.parentNode.firstChild) break;B=B.parentNode;}}};B=this._Range.endContainer;var C=this._Range.endOffset;if ((B.nodeType==3&&C>=B.nodeValue.length)||(B.nodeType==1&&C>=B.childNodes.length)||(B.nodeType!=1&&B.nodeType!=3)){if (B.nodeType!=1) B=B.nextSibling?null:B.parentNode;if (B){while (FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){this._Range.setEndAfter(B);if (B!=B.parentNode.lastChild) break;B=B.parentNode;}}};break;case 'block_contents':case 'list_contents':var D=FCKListsLib.BlockBoundaries;if (A=='list_contents'||FCKConfig.EnterMode=='br') D=FCKListsLib.ListBoundaries;if (this.StartBlock&&FCKConfig.EnterMode!='br'&&A=='block_contents') this.SetStart(this.StartBlock,1);else{B=this._Range.startContainer;if (B.nodeType==1){var E=B.childNodes[this._Range.startOffset];if (E) B=FCKDomTools.GetPreviousSourceNode(E,true);else B=B.lastChild||B;}while (B&&(B.nodeType!=1||(B!=this.StartBlockLimit&&!D[B.nodeName.toLowerCase()]))){this._Range.setStartBefore(B);B=B.previousSibling||B.parentNode;}};if (this.EndBlock&&FCKConfig.EnterMode!='br'&&A=='block_contents'&&this.EndBlock.nodeName.toLowerCase()!='li') this.SetEnd(this.EndBlock,2);else{B=this._Range.endContainer;if (B.nodeType==1) B=B.childNodes[this._Range.endOffset]||B.lastChild;while (B&&(B.nodeType!=1||(B!=this.StartBlockLimit&&!D[B.nodeName.toLowerCase()]))){this._Range.setEndAfter(B);B=B.nextSibling||B.parentNode;};if (B&&B.nodeName.toLowerCase()=='br') this._Range.setEndAfter(B);};this._UpdateElementInfo();}},SplitBlock:function(A){var B=A||FCKConfig.EnterMode;if (!this._Range) this.MoveToSelection();if (this.StartBlockLimit==this.EndBlockLimit){var C=this.StartBlock;var D=this.EndBlock;var E=null;if (B!='br'){if (!C){C=this.FixBlock(true,B);D=this.EndBlock;};if (!D) D=this.FixBlock(false,B);};var F=(C!=null&&this.CheckStartOfBlock());var G=(D!=null&&this.CheckEndOfBlock());if (!this.CheckIsEmpty()) this.DeleteContents();if (C&&D&&C==D){if (G){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(D,4);D=null;}else if (F){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(C,3);C=null;}else{this.SetEnd(C,2);var H=this.ExtractContents();D=C.cloneNode(false);D.removeAttribute('id',false);H.AppendTo(D);FCKDomTools.InsertAfterNode(C,D);this.MoveToPosition(C,4);if (FCKBrowserInfo.IsGecko&&!C.nodeName.IEquals(['ul','ol'])) FCKTools.AppendBogusBr(C);}};return {PreviousBlock:C,NextBlock:D,WasStartOfBlock:F,WasEndOfBlock:G,ElementPath:E};};return null;},FixBlock:function(A,B){var C=this.CreateBookmark();this.Collapse(A);this.Expand('block_contents');var D=this.Window.document.createElement(B);this.ExtractContents().AppendTo(D);FCKDomTools.TrimNode(D);if (FCKDomTools.CheckIsEmptyElement(D,function(element) { return element.getAttribute('_fck_bookmark')!='true';})&&FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);this.InsertNode(D);this.MoveToBookmark(C);return D;},Release:function(A){if (!A) this.Window=null;this.StartNode=null;this.StartContainer=null;this.StartBlock=null;this.StartBlockLimit=null;this.EndNode=null;this.EndContainer=null;this.EndBlock=null;this.EndBlockLimit=null;this._Range=null;this._Cache=null;},CheckHasRange:function(){return!!this._Range;},GetTouchedStartNode:function(){var A=this._Range;var B=A.startContainer;if (A.collapsed||B.nodeType!=1) return B;return B.childNodes[A.startOffset]||B;},GetTouchedEndNode:function(){var A=this._Range;var B=A.endContainer;if (A.collapsed||B.nodeType!=1) return B;return B.childNodes[A.endOffset-1]||B;}}; -FCKDomRange.prototype.MoveToSelection=function(){this.Release(true);var A=this.Window.getSelection();if (A&&A.rangeCount>0){this._Range=FCKW3CRange.CreateFromRange(this.Window.document,A.getRangeAt(0));this._UpdateElementInfo();}else if (this.Window.document) this.MoveToElementStart(this.Window.document.body);};FCKDomRange.prototype.Select=function(){var A=this._Range;if (A){var B=A.startContainer;if (A.collapsed&&B.nodeType==1&&B.childNodes.length==0) B.appendChild(A._Document.createTextNode(''));var C=this.Window.document.createRange();C.setStart(B,A.startOffset);try{C.setEnd(A.endContainer,A.endOffset);}catch (e){if (e.toString().Contains('NS_ERROR_ILLEGAL_VALUE')){A.collapse(true);C.setEnd(A.endContainer,A.endOffset);}else throw(e);};var D=this.Window.getSelection();D.removeAllRanges();D.addRange(C);}};FCKDomRange.prototype.SelectBookmark=function(A){var B=this.Window.document.createRange();var C=this.GetBookmarkNode(A,true);var D=this.GetBookmarkNode(A,false);B.setStart(C.parentNode,FCKDomTools.GetIndexOf(C));FCKDomTools.RemoveNode(C);if (D){B.setEnd(D.parentNode,FCKDomTools.GetIndexOf(D));FCKDomTools.RemoveNode(D);};var E=this.Window.getSelection();E.removeAllRanges();E.addRange(B);}; -var FCKDomRangeIterator=function(A){this.Range=A;this.ForceBrBreak=false;this.EnforceRealBlocks=false;};FCKDomRangeIterator.CreateFromSelection=function(A){var B=new FCKDomRange(A);B.MoveToSelection();return new FCKDomRangeIterator(B);};FCKDomRangeIterator.prototype={GetNextParagraph:function(){var A;var B;var C;var D;var E;var F=this.ForceBrBreak?FCKListsLib.ListBoundaries:FCKListsLib.BlockBoundaries;if (!this._LastNode){var B=this.Range.Clone();B.Expand(this.ForceBrBreak?'list_contents':'block_contents');this._NextNode=B.GetTouchedStartNode();this._LastNode=B.GetTouchedEndNode();B=null;};var H=this._NextNode;var I=this._LastNode;this._NextNode=null;while (H){var J=false;var K=(H.nodeType!=1);var L=false;if (!K){var M=H.nodeName.toLowerCase();if (F[M]&&(!FCKBrowserInfo.IsIE||H.scopeName=='HTML')){if (M=='br') K=true;else if (!B&&H.childNodes.length==0&&M!='hr'){A=H;C=H==I;break;};if (B){B.SetEnd(H,3,true);if (M!='br') this._NextNode=FCKDomTools.GetNextSourceNode(H,true,null,I);};J=true;}else{if (H.firstChild){if (!B){B=new FCKDomRange(this.Range.Window);B.SetStart(H,3,true);};H=H.firstChild;continue;};K=true;}}else if (H.nodeType==3){if (/^[\r\n\t ]+$/.test(H.nodeValue)) K=false;};if (K&&!B){B=new FCKDomRange(this.Range.Window);B.SetStart(H,3,true);};C=((!J||K)&&H==I);if (B&&!J){while (!H.nextSibling&&!C){var N=H.parentNode;if (F[N.nodeName.toLowerCase()]){J=true;C=C||(N==I);break;};H=N;K=true;C=(H==I);L=true;}};if (K) B.SetEnd(H,4,true);if ((J||C)&&B){B._UpdateElementInfo();if (B.StartNode==B.EndNode&&B.StartNode.parentNode==B.StartBlockLimit&&B.StartNode.getAttribute&&B.StartNode.getAttribute('_fck_bookmark')) B=null;else break;};if (C) break;H=FCKDomTools.GetNextSourceNode(H,L,null,I);};if (!A){if (!B){this._NextNode=null;return null;};A=B.StartBlock;if (!A&&!this.EnforceRealBlocks&&B.StartBlockLimit.nodeName.IEquals('DIV','TH','TD')&&B.CheckStartOfBlock()&&B.CheckEndOfBlock()){A=B.StartBlockLimit;}else if (!A||(this.EnforceRealBlocks&&A.nodeName.toLowerCase()=='li')){A=this.Range.Window.document.createElement(FCKConfig.EnterMode=='p'?'p':'div');B.ExtractContents().AppendTo(A);FCKDomTools.TrimNode(A);B.InsertNode(A);D=true;E=true;}else if (A.nodeName.toLowerCase()!='li'){if (!B.CheckStartOfBlock()||!B.CheckEndOfBlock()){A=A.cloneNode(false);B.ExtractContents().AppendTo(A);FCKDomTools.TrimNode(A);var O=B.SplitBlock();D=!O.WasStartOfBlock;E=!O.WasEndOfBlock;B.InsertNode(A);}}else if (!C){this._NextNode=A==I?null:FCKDomTools.GetNextSourceNode(B.EndNode,true,null,I);return A;}};if (D){var P=A.previousSibling;if (P&&P.nodeType==1){if (P.nodeName.toLowerCase()=='br') P.parentNode.removeChild(P);else if (P.lastChild&&P.lastChild.nodeName.IEquals('br')) P.removeChild(P.lastChild);}};if (E){var Q=A.lastChild;if (Q&&Q.nodeType==1&&Q.nodeName.toLowerCase()=='br') A.removeChild(Q);};if (!this._NextNode) this._NextNode=(C||A==I)?null:FCKDomTools.GetNextSourceNode(A,true,null,I);return A;}}; -var FCKDocumentFragment=function(A,B){this.RootNode=B||A.createDocumentFragment();};FCKDocumentFragment.prototype={AppendTo:function(A){A.appendChild(this.RootNode);},AppendHtml:function(A){var B=this.RootNode.ownerDocument.createElement('div');B.innerHTML=A;FCKDomTools.MoveChildren(B,this.RootNode);},InsertAfterNode:function(A){FCKDomTools.InsertAfterNode(A,this.RootNode);}}; -var FCKW3CRange=function(A){this._Document=A;this.startContainer=null;this.startOffset=null;this.endContainer=null;this.endOffset=null;this.collapsed=true;};FCKW3CRange.CreateRange=function(A){return new FCKW3CRange(A);};FCKW3CRange.CreateFromRange=function(A,B){var C=FCKW3CRange.CreateRange(A);C.setStart(B.startContainer,B.startOffset);C.setEnd(B.endContainer,B.endOffset);return C;};FCKW3CRange.prototype={_UpdateCollapsed:function(){this.collapsed=(this.startContainer==this.endContainer&&this.startOffset==this.endOffset);},setStart:function(A,B){this.startContainer=A;this.startOffset=B;if (!this.endContainer){this.endContainer=A;this.endOffset=B;};this._UpdateCollapsed();},setEnd:function(A,B){this.endContainer=A;this.endOffset=B;if (!this.startContainer){this.startContainer=A;this.startOffset=B;};this._UpdateCollapsed();},setStartAfter:function(A){this.setStart(A.parentNode,FCKDomTools.GetIndexOf(A)+1);},setStartBefore:function(A){this.setStart(A.parentNode,FCKDomTools.GetIndexOf(A));},setEndAfter:function(A){this.setEnd(A.parentNode,FCKDomTools.GetIndexOf(A)+1);},setEndBefore:function(A){this.setEnd(A.parentNode,FCKDomTools.GetIndexOf(A));},collapse:function(A){if (A){this.endContainer=this.startContainer;this.endOffset=this.startOffset;}else{this.startContainer=this.endContainer;this.startOffset=this.endOffset;};this.collapsed=true;},selectNodeContents:function(A){this.setStart(A,0);this.setEnd(A,A.nodeType==3?A.data.length:A.childNodes.length);},insertNode:function(A){var B=this.startContainer;var C=this.startOffset;if (B.nodeType==3){B.splitText(C);if (B==this.endContainer) this.setEnd(B.nextSibling,this.endOffset-this.startOffset);FCKDomTools.InsertAfterNode(B,A);return;}else{B.insertBefore(A,B.childNodes[C]||null);if (B==this.endContainer){this.endOffset++;this.collapsed=false;}}},deleteContents:function(){if (this.collapsed) return;this._ExecContentsAction(0);},extractContents:function(){var A=new FCKDocumentFragment(this._Document);if (!this.collapsed) this._ExecContentsAction(1,A);return A;},cloneContents:function(){var A=new FCKDocumentFragment(this._Document);if (!this.collapsed) this._ExecContentsAction(2,A);return A;},_ExecContentsAction:function(A,B){var C=this.startContainer;var D=this.endContainer;var E=this.startOffset;var F=this.endOffset;var G=false;var H=false;if (D.nodeType==3) D=D.splitText(F);else{if (D.childNodes.length>0){if (F>D.childNodes.length-1){D=FCKDomTools.InsertAfterNode(D.lastChild,this._Document.createTextNode(''));H=true;}else D=D.childNodes[F];}};if (C.nodeType==3){C.splitText(E);if (C==D) D=C.nextSibling;}else{if (E==0){C=C.insertBefore(this._Document.createTextNode(''),C.firstChild);G=true;}else if (E>C.childNodes.length-1){C=C.appendChild(this._Document.createTextNode(''));G=true;}else C=C.childNodes[E].previousSibling;};var I=FCKDomTools.GetParents(C);var J=FCKDomTools.GetParents(D);var i,topStart,topEnd;for (i=0;i0&&levelStartNode!=D) levelClone=K.appendChild(levelStartNode.cloneNode(levelStartNode==D));if (!I[k]||levelStartNode.parentNode!=I[k].parentNode){currentNode=levelStartNode.previousSibling;while(currentNode){if (currentNode==I[k]||currentNode==C) break;currentSibling=currentNode.previousSibling;if (A==2) K.insertBefore(currentNode.cloneNode(true),K.firstChild);else{currentNode.parentNode.removeChild(currentNode);if (A==1) K.insertBefore(currentNode,K.firstChild);};currentNode=currentSibling;}};if (K) K=levelClone;};if (A==2){var L=this.startContainer;if (L.nodeType==3){L.data+=L.nextSibling.data;L.parentNode.removeChild(L.nextSibling);};var M=this.endContainer;if (M.nodeType==3&&M.nextSibling){M.data+=M.nextSibling.data;M.parentNode.removeChild(M.nextSibling);}}else{if (topStart&&topEnd&&(C.parentNode!=topStart.parentNode||D.parentNode!=topEnd.parentNode)){var N=FCKDomTools.GetIndexOf(topEnd);if (G&&topEnd.parentNode==C.parentNode) N--;this.setStart(topEnd.parentNode,N);};this.collapse(true);};if(G) C.parentNode.removeChild(C);if(H&&D.parentNode) D.parentNode.removeChild(D);},cloneRange:function(){return FCKW3CRange.CreateFromRange(this._Document,this);}}; -var FCKEnterKey=function(A,B,C,D){this.Window=A;this.EnterMode=B||'p';this.ShiftEnterMode=C||'br';var E=new FCKKeystrokeHandler(false);E._EnterKey=this;E.OnKeystroke=FCKEnterKey_OnKeystroke;E.SetKeystrokes([[13,'Enter'],[SHIFT+13,'ShiftEnter'],[8,'Backspace'],[CTRL+8,'CtrlBackspace'],[46,'Delete']]);this.TabText='';if (D>0||FCKBrowserInfo.IsSafari){while (D--) this.TabText+='\xa0';E.SetKeystrokes([9,'Tab']);};E.AttachToElement(A.document);};function FCKEnterKey_OnKeystroke(A,B){var C=this._EnterKey;try{switch (B){case 'Enter':return C.DoEnter();break;case 'ShiftEnter':return C.DoShiftEnter();break;case 'Backspace':return C.DoBackspace();break;case 'Delete':return C.DoDelete();break;case 'Tab':return C.DoTab();break;case 'CtrlBackspace':return C.DoCtrlBackspace();break;}}catch (e){};return false;};FCKEnterKey.prototype.DoEnter=function(A,B){FCKUndo.SaveUndoStep();this._HasShift=(B===true);var C=FCKSelection.GetParentElement();var D=new FCKElementPath(C);var E=A||this.EnterMode;if (E=='br'||D.Block&&D.Block.tagName.toLowerCase()=='pre') return this._ExecuteEnterBr();else return this._ExecuteEnterBlock(E);};FCKEnterKey.prototype.DoShiftEnter=function(){return this.DoEnter(this.ShiftEnterMode,true);};FCKEnterKey.prototype.DoBackspace=function(){var A=false;var B=new FCKDomRange(this.Window);B.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(B,this.Window.document.body)){this._FixIESelectAllBug(B);return true;};var C=B.CheckIsCollapsed();if (!C){if (FCKBrowserInfo.IsIE&&this.Window.document.selection.type.toLowerCase()=="control"){var D=this.Window.document.selection.createRange();for (var i=D.length-1;i>=0;i--){var E=D.item(i);E.parentNode.removeChild(E);};return true;};return false;};if (FCKBrowserInfo.IsIE){var F=FCKDomTools.GetPreviousSourceElement(B.StartNode,true);if (F&&F.nodeName.toLowerCase()=='br'){var G=B.Clone();G.SetStart(F,4);if (G.CheckIsEmpty()){F.parentNode.removeChild(F);return true;}}};var H=B.StartBlock;var I=B.EndBlock;if (B.StartBlockLimit==B.EndBlockLimit&&H&&I){if (!C){var J=B.CheckEndOfBlock();B.DeleteContents();if (H!=I){B.SetStart(I,1);B.SetEnd(I,1);};B.Select();A=(H==I);};if (B.CheckStartOfBlock()){var K=B.StartBlock;var L=FCKDomTools.GetPreviousSourceElement(K,true,['BODY',B.StartBlockLimit.nodeName],['UL','OL']);A=this._ExecuteBackspace(B,L,K);}else if (FCKBrowserInfo.IsGeckoLike){B.Select();}};B.Release();return A;};FCKEnterKey.prototype.DoCtrlBackspace=function(){FCKUndo.SaveUndoStep();var A=new FCKDomRange(this.Window);A.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(A,this.Window.document.body)){this._FixIESelectAllBug(A);return true;};return false;};FCKEnterKey.prototype._ExecuteBackspace=function(A,B,C){var D=false;if (!B&&C&&C.nodeName.IEquals('LI')&&C.parentNode.parentNode.nodeName.IEquals('LI')){this._OutdentWithSelection(C,A);return true;};if (B&&B.nodeName.IEquals('LI')){var E=FCKDomTools.GetLastChild(B,['UL','OL']);while (E){B=FCKDomTools.GetLastChild(E,'LI');E=FCKDomTools.GetLastChild(B,['UL','OL']);}};if (B&&C){if (C.nodeName.IEquals('LI')&&!B.nodeName.IEquals('LI')){this._OutdentWithSelection(C,A);return true;};var F=C.parentNode;var G=B.nodeName.toLowerCase();if (FCKListsLib.EmptyElements[G]!=null||G=='table'){FCKDomTools.RemoveNode(B);D=true;}else{FCKDomTools.RemoveNode(C);while (F.innerHTML.Trim().length==0){var H=F.parentNode;H.removeChild(F);F=H;};FCKDomTools.LTrimNode(C);FCKDomTools.RTrimNode(B);A.SetStart(B,2,true);A.Collapse(true);var I=A.CreateBookmark(true);if (!C.tagName.IEquals(['TABLE'])) FCKDomTools.MoveChildren(C,B);A.SelectBookmark(I);D=true;}};return D;};FCKEnterKey.prototype.DoDelete=function(){FCKUndo.SaveUndoStep();var A=false;var B=new FCKDomRange(this.Window);B.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(B,this.Window.document.body)){this._FixIESelectAllBug(B);return true;};if (B.CheckIsCollapsed()&&B.CheckEndOfBlock(FCKBrowserInfo.IsGeckoLike)){var C=B.StartBlock;var D=FCKTools.GetElementAscensor(C,'td');var E=FCKDomTools.GetNextSourceElement(C,true,[B.StartBlockLimit.nodeName],['UL','OL','TR'],true);if (D){var F=FCKTools.GetElementAscensor(E,'td');if (F!=D) return true;};A=this._ExecuteBackspace(B,C,E);};B.Release();return A;};FCKEnterKey.prototype.DoTab=function(){var A=new FCKDomRange(this.Window);A.MoveToSelection();var B=A._Range.startContainer;while (B){if (B.nodeType==1){var C=B.tagName.toLowerCase();if (C=="tr"||C=="td"||C=="th"||C=="tbody"||C=="table") return false;else break;};B=B.parentNode;};if (this.TabText){A.DeleteContents();A.InsertNode(this.Window.document.createTextNode(this.TabText));A.Collapse(false);A.Select();};return true;};FCKEnterKey.prototype._ExecuteEnterBlock=function(A,B){var C=B||new FCKDomRange(this.Window);var D=C.SplitBlock(A);if (D){var E=D.PreviousBlock;var F=D.NextBlock;var G=D.WasStartOfBlock;var H=D.WasEndOfBlock;if (F){if (F.parentNode.nodeName.IEquals('li')){FCKDomTools.BreakParent(F,F.parentNode);FCKDomTools.MoveNode(F,F.nextSibling,true);}}else if (E&&E.parentNode.nodeName.IEquals('li')){FCKDomTools.BreakParent(E,E.parentNode);C.MoveToElementEditStart(E.nextSibling);FCKDomTools.MoveNode(E,E.previousSibling);};if (!G&&!H){if (F.nodeName.IEquals('li')&&F.firstChild&&F.firstChild.nodeName.IEquals(['ul','ol'])) F.insertBefore(FCKTools.GetElementDocument(F).createTextNode('\xa0'),F.firstChild);if (F) C.MoveToElementEditStart(F);}else{if (G&&H&&E.tagName.toUpperCase()=='LI'){C.MoveToElementStart(E);this._OutdentWithSelection(E,C);C.Release();return true;};var I;if (E){var J=E.tagName.toUpperCase();if (!this._HasShift&&!(/^H[1-6]$/).test(J)){I=FCKDomTools.CloneElement(E);}}else if (F) I=FCKDomTools.CloneElement(F);if (!I) I=this.Window.document.createElement(A);var K=D.ElementPath;if (K){for (var i=0,len=K.Elements.length;i=0&&(C=B[i--])){if (C.name.length>0){if (C.innerHTML!==''){if (FCKBrowserInfo.IsIE) C.className+=' FCK__AnchorC';}else{var D=FCKDocumentProcessor_CreateFakeImage('FCK__Anchor',C.cloneNode(true));D.setAttribute('_fckanchor','true',0);C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}}}};var FCKPageBreaksProcessor=FCKDocumentProcessor.AppendNew();FCKPageBreaksProcessor.ProcessDocument=function(A){var B=A.getElementsByTagName('DIV');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.style.pageBreakAfter=='always'&&C.childNodes.length==1&&C.childNodes[0].style&&C.childNodes[0].style.display=='none'){var D=FCKDocumentProcessor_CreateFakeImage('FCK__PageBreak',C.cloneNode(true));C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}};FCKEmbedAndObjectProcessor=(function(){var A=[];var B=function(el){var C=el.cloneNode(true);var D;var E=D=FCKDocumentProcessor_CreateFakeImage('FCK__UnknownObject',C);FCKEmbedAndObjectProcessor.RefreshView(E,el);for (var i=0;i=0;i--) B(G[i]);};var H=function(doc){F('object',doc);F('embed',doc);};return FCKTools.Merge(FCKDocumentProcessor.AppendNew(),{ProcessDocument:function(doc){if (FCKBrowserInfo.IsGecko) FCKTools.RunFunction(H,this,[doc]);else H(doc);},RefreshView:function(placeHolder,original){if (original.getAttribute('width')>0) placeHolder.style.width=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute('width'));if (original.getAttribute('height')>0) placeHolder.style.height=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute('height'));},AddCustomHandler:function(func){A.push(func);}});})();FCK.GetRealElement=function(A){var e=FCKTempBin.Elements[A.getAttribute('_fckrealelement')];if (A.getAttribute('_fckflash')){if (A.style.width.length>0) e.width=FCKTools.ConvertStyleSizeToHtml(A.style.width);if (A.style.height.length>0) e.height=FCKTools.ConvertStyleSizeToHtml(A.style.height);};return e;};if (FCKBrowserInfo.IsIE){FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByTagName('HR');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){var D=A.createElement('hr');D.mergeAttributes(C,true);FCKDomTools.InsertAfterNode(C,D);C.parentNode.removeChild(C);}}};FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByTagName('INPUT');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.type=='hidden'){var D=FCKDocumentProcessor_CreateFakeImage('FCK__InputHidden',C.cloneNode(true));D.setAttribute('_fckinputhidden','true',0);C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}};FCKEmbedAndObjectProcessor.AddCustomHandler(function(A,B){if (!(A.nodeName.IEquals('embed')&&(A.type=='application/x-shockwave-flash'||/\.swf($|#|\?)/i.test(A.src)))) return;B.className='FCK__Flash';B.setAttribute('_fckflash','true',0);});if (FCKBrowserInfo.IsSafari){FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByClassName?A.getElementsByClassName('Apple-style-span'):Array.prototype.filter.call(A.getElementsByTagName('span'),function(item){ return item.className=='Apple-style-span';});for (var i=B.length-1;i>=0;i--) FCKDomTools.RemoveNode(B[i],true);}}; -var FCKSelection=FCK.Selection={GetParentBlock:function(){var A=this.GetParentElement();while (A){if (FCKListsLib.BlockBoundaries[A.nodeName.toLowerCase()]) break;A=A.parentNode;};return A;},ApplyStyle:function(A){FCKStyles.ApplyStyle(new FCKStyle(A));}}; -FCKSelection.GetType=function(){var A='Text';var B;try { B=this.GetSelection();} catch (e) {};if (B&&B.rangeCount==1){var C=B.getRangeAt(0);if (C.startContainer==C.endContainer&&(C.endOffset-C.startOffset)==1&&C.startContainer.nodeType==1&&FCKListsLib.StyleObjectElements[C.startContainer.childNodes[C.startOffset].nodeName.toLowerCase()]){A='Control';}};return A;};FCKSelection.GetSelectedElement=function(){var A=!!FCK.EditorWindow&&this.GetSelection();if (!A||A.rangeCount<1) return null;var B=A.getRangeAt(0);if (B.startContainer!=B.endContainer||B.startContainer.nodeType!=1||B.startOffset!=B.endOffset-1) return null;var C=B.startContainer.childNodes[B.startOffset];if (C.nodeType!=1) return null;return C;};FCKSelection.GetParentElement=function(){if (this.GetType()=='Control') return FCKSelection.GetSelectedElement().parentNode;else{var A=this.GetSelection();if (A){if (A.anchorNode&&A.anchorNode==A.focusNode){var B=A.getRangeAt(0);if (B.collapsed||B.startContainer.nodeType==3) return A.anchorNode.parentNode;else return A.anchorNode;};var C=new FCKElementPath(A.anchorNode);var D=new FCKElementPath(A.focusNode);var E=null;var F=null;if (C.Elements.length>D.Elements.length){E=C.Elements;F=D.Elements;}else{E=D.Elements;F=C.Elements;};var G=E.length-F.length;for(var i=0;i0){var C=B.getRangeAt(A?0:(B.rangeCount-1));var D=A?C.startContainer:C.endContainer;return (D.nodeType==1?D:D.parentNode);}};return null;};FCKSelection.SelectNode=function(A){var B=FCK.EditorDocument.createRange();B.selectNode(A);var C=this.GetSelection();C.removeAllRanges();C.addRange(B);};FCKSelection.Collapse=function(A){var B=this.GetSelection();if (A==null||A===true) B.collapseToStart();else B.collapseToEnd();};FCKSelection.HasAncestorNode=function(A){var B=this.GetSelectedElement();if (!B&&FCK.EditorWindow){try { B=this.GetSelection().getRangeAt(0).startContainer;}catch(e){}}while (B){if (B.nodeType==1&&B.nodeName.IEquals(A)) return true;B=B.parentNode;};return false;};FCKSelection.MoveToAncestorNode=function(A){var B;var C=this.GetSelectedElement();if (!C) C=this.GetSelection().getRangeAt(0).startContainer;while (C){if (C.nodeName.IEquals(A)) return C;C=C.parentNode;};return null;};FCKSelection.Delete=function(){var A=this.GetSelection();for (var i=0;i=0;i--){if (C[i]) FCKTableHandler.DeleteRows(C[i]);};return;};var E=FCKTools.GetElementAscensor(A,'TABLE');if (E.rows.length==1){FCKTableHandler.DeleteTable(E);return;};A.parentNode.removeChild(A);};FCKTableHandler.DeleteTable=function(A){if (!A){A=FCKSelection.GetSelectedElement();if (!A||A.tagName!='TABLE') A=FCKSelection.MoveToAncestorNode('TABLE');};if (!A) return;FCKSelection.SelectNode(A);FCKSelection.Collapse();if (A.parentNode.childNodes.length==1) A.parentNode.parentNode.removeChild(A.parentNode);else A.parentNode.removeChild(A);};FCKTableHandler.InsertColumn=function(A){var B=null;var C=this.GetSelectedCells();if (C&&C.length) B=C[A?0:(C.length-1)];if (!B) return;var D=FCKTools.GetElementAscensor(B,'TABLE');var E=B.cellIndex;for (var i=0;i=0;i--){if (B[i]) FCKTableHandler.DeleteColumns(B[i]);};return;};if (!A) return;var C=FCKTools.GetElementAscensor(A,'TABLE');var D=A.cellIndex;for (var i=C.rows.length-1;i>=0;i--){var E=C.rows[i];if (D==0&&E.cells.length==1){FCKTableHandler.DeleteRows(E);continue;};if (E.cells[D]) E.removeChild(E.cells[D]);}};FCKTableHandler.InsertCell=function(A,B){var C=null;var D=this.GetSelectedCells();if (D&&D.length) C=D[B?0:(D.length-1)];if (!C) return null;var E=FCK.EditorDocument.createElement('TD');if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(E);if (!B&&C.cellIndex==C.parentNode.cells.length-1) C.parentNode.appendChild(E);else C.parentNode.insertBefore(E,B?C:C.nextSibling);return E;};FCKTableHandler.DeleteCell=function(A){if (A.parentNode.cells.length==1){FCKTableHandler.DeleteRows(FCKTools.GetElementAscensor(A,'TR'));return;};A.parentNode.removeChild(A);};FCKTableHandler.DeleteCells=function(){var A=FCKTableHandler.GetSelectedCells();for (var i=A.length-1;i>=0;i--){FCKTableHandler.DeleteCell(A[i]);}};FCKTableHandler._MarkCells=function(A,B){for (var i=0;i=E.height){for (D=F;D0){var L=K.removeChild(K.firstChild);if (L.nodeType!=1||(L.getAttribute('type',2)!='_moz'&&L.getAttribute('_moz_dirty')!=null)){I.appendChild(L);J++;}}};if (J>0) I.appendChild(FCKTools.GetElementDocument(B).createElement('br'));};this._ReplaceCellsByMarker(C,'_SelectedCells',B);this._UnmarkCells(A,'_SelectedCells');this._InstallTableMap(C,B.parentNode.parentNode);B.appendChild(I);if (FCKBrowserInfo.IsGeckoLike&&(!B.firstChild)) FCKTools.AppendBogusBr(B);this._MoveCaretToCell(B,false);};FCKTableHandler.MergeRight=function(){var A=this.GetMergeRightTarget();if (A==null) return;var B=A.refCell;var C=A.tableMap;var D=A.nextCell;var E=FCK.EditorDocument.createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));D.parentNode.removeChild(D);B.appendChild(E);this._MarkCells([D],'_Replace');this._ReplaceCellsByMarker(C,'_Replace',B);this._InstallTableMap(C,B.parentNode.parentNode);this._MoveCaretToCell(B,false);};FCKTableHandler.MergeDown=function(){var A=this.GetMergeDownTarget();if (A==null) return;var B=A.refCell;var C=A.tableMap;var D=A.nextCell;var E=FCKTools.GetElementDocument(B).createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));if (E.firstChild) E.insertBefore(FCKTools.GetElementDocument(D).createElement('br'),E.firstChild);B.appendChild(E);this._MarkCells([D],'_Replace');this._ReplaceCellsByMarker(C,'_Replace',B);this._InstallTableMap(C,B.parentNode.parentNode);this._MoveCaretToCell(B,false);};FCKTableHandler.HorizontalSplitCell=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length!=1) return;var B=A[0];var C=this._CreateTableMap(B.parentNode.parentNode);var D=B.parentNode.rowIndex;var E=FCKTableHandler._GetCellIndexSpan(C,D,B);var F=isNaN(B.colSpan)?1:B.colSpan;if (F>1){var G=Math.ceil(F/2);var H=FCKTools.GetElementDocument(B).createElement('td');if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(H);var I=E+G;var J=E+F;var K=isNaN(B.rowSpan)?1:B.rowSpan;for (var r=D;r1){B.rowSpan=Math.ceil(E/2);var G=F+Math.ceil(E/2);var H=null;for (var i=D+1;iG) L.insertBefore(K,L.rows[G]);else L.appendChild(K);for (var i=0;i0){var D=B.rows[0];D.parentNode.removeChild(D);};for (var i=0;iF) F=j;if (E._colScanned===true) continue;if (A[i][j-1]==E) E.colSpan++;if (A[i][j+1]!=E) E._colScanned=true;}};for (var i=0;i<=F;i++){for (var j=0;j ';var A=FCKDocumentProcessor_CreateFakeImage('FCK__PageBreak',e);var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.SplitBlock();B.InsertNode(A);FCK.Events.FireEvent('OnSelectionChange');};FCKPageBreakCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};var FCKUnlinkCommand=function(){this.Name='Unlink';};FCKUnlinkCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (FCKBrowserInfo.IsGeckoLike){var A=FCK.Selection.MoveToAncestorNode('A');if (A) FCKTools.RemoveOuterTags(A);return;};FCK.ExecuteNamedCommand(this.Name);};FCKUnlinkCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState(this.Name);if (A==0&&FCK.EditMode==0){var B=FCKSelection.MoveToAncestorNode('A');var C=(B&&B.name.length>0&&B.href.length==0);if (C) A=-1;};return A;};FCKVisitLinkCommand=function(){this.Name='VisitLink';};FCKVisitLinkCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState('Unlink');if (A==0){var B=FCKSelection.MoveToAncestorNode('A');if (!B.href) A=-1;};return A;},Execute:function(){var A=FCKSelection.MoveToAncestorNode('A');var B=A.getAttribute('_fcksavedurl')||A.getAttribute('href',2);if (!/:\/\//.test(B)){var C=FCKConfig.BaseHref;var D=FCK.GetInstanceObject('parent');if (!C){C=D.document.location.href;C=C.substring(0,C.lastIndexOf('/')+1);};if (/^\//.test(B)){try{C=C.match(/^.*:\/\/+[^\/]+/)[0];}catch (e){C=D.document.location.protocol+'://'+D.parent.document.location.host;}};B=C+B;};if (!window.open(B,'_blank')) alert(FCKLang.VisitLinkBlocked);}};var FCKSelectAllCommand=function(){this.Name='SelectAll';};FCKSelectAllCommand.prototype.Execute=function(){if (FCK.EditMode==0){FCK.ExecuteNamedCommand('SelectAll');}else{var A=FCK.EditingArea.Textarea;if (FCKBrowserInfo.IsIE){A.createTextRange().execCommand('SelectAll');}else{A.selectionStart=0;A.selectionEnd=A.value.length;};A.focus();}};FCKSelectAllCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};var FCKPasteCommand=function(){this.Name='Paste';};FCKPasteCommand.prototype={Execute:function(){if (FCKBrowserInfo.IsIE) FCK.Paste();else FCK.ExecuteNamedCommand('Paste');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Paste');}};var FCKRuleCommand=function(){this.Name='Rule';};FCKRuleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();FCK.InsertElement('hr');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('InsertHorizontalRule');}};var FCKCutCopyCommand=function(A){this.Name=A?'Cut':'Copy';};FCKCutCopyCommand.prototype={Execute:function(){var A=false;if (FCKBrowserInfo.IsIE){var B=function(){A=true;};var C='on'+this.Name.toLowerCase();FCK.EditorDocument.body.attachEvent(C,B);FCK.ExecuteNamedCommand(this.Name);FCK.EditorDocument.body.detachEvent(C,B);}else{try{FCK.ExecuteNamedCommand(this.Name);A=true;}catch(e){}};if (!A) alert(FCKLang['PasteError'+this.Name]);},GetState:function(){return FCK.EditMode!=0?-1:FCK.GetNamedCommandState('Cut');}};var FCKAnchorDeleteCommand=function(){this.Name='AnchorDelete';};FCKAnchorDeleteCommand.prototype={Execute:function(){if (FCK.Selection.GetType()=='Control'){FCK.Selection.Delete();}else{var A=FCK.Selection.GetSelectedElement();if (A){if (A.tagName=='IMG'&&A.getAttribute('_fckanchor')) oAnchor=FCK.GetRealElement(A);else A=null;};if (!A){oAnchor=FCK.Selection.MoveToAncestorNode('A');if (oAnchor) FCK.Selection.SelectNode(oAnchor);};if (oAnchor.href.length!=0){oAnchor.removeAttribute('name');if (FCKBrowserInfo.IsIE) oAnchor.className=oAnchor.className.replace(FCKRegexLib.FCK_Class,'');return;};if (A){A.parentNode.removeChild(A);return;};if (oAnchor.innerHTML.length==0){oAnchor.parentNode.removeChild(oAnchor);return;};FCKTools.RemoveOuterTags(oAnchor);};if (FCKBrowserInfo.IsGecko) FCK.Selection.Collapse(true);},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Unlink');}};var FCKDeleteDivCommand=function(){};FCKDeleteDivCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCKSelection.GetParentElement();var B=new FCKElementPath(A);return B.BlockLimit&&B.BlockLimit.nodeName.IEquals('div')?0:-1;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCKDomTools.GetSelectedDivContainers();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();for (var i=0;i\n \n
        \n '+FCKLang.ColorAutomatic+'\n \n ';FCKTools.AddEventListenerEx(C,'click',FCKTextColorCommand_AutoOnClick,this);if (!FCKBrowserInfo.IsIE) C.style.width='96%';var G=FCKConfig.FontColors.toString().split(',');var H=0;while (H
    ';if (H>=G.length) C.style.visibility='hidden';else FCKTools.AddEventListenerEx(C,'click',FCKTextColorCommand_OnClick,[this,L]);}};if (FCKConfig.EnableMoreFontColors){E=D.insertRow(-1).insertCell(-1);E.colSpan=8;C=E.appendChild(CreateSelectionDiv());C.innerHTML='
    '+FCKLang.ColorMoreColors+'
    ';FCKTools.AddEventListenerEx(C,'click',FCKTextColorCommand_MoreOnClick,this);};if (!FCKBrowserInfo.IsIE) C.style.width='96%';}; -var FCKPastePlainTextCommand=function(){this.Name='PasteText';};FCKPastePlainTextCommand.prototype.Execute=function(){FCK.PasteAsPlainText();};FCKPastePlainTextCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Paste');}; -var FCKPasteWordCommand=function(){this.Name='PasteWord';};FCKPasteWordCommand.prototype.Execute=function(){FCK.PasteFromWord();};FCKPasteWordCommand.prototype.GetState=function(){if (FCK.EditMode!=0||FCKConfig.ForcePasteAsPlainText) return -1;else return FCK.GetNamedCommandState('Paste');}; -var FCKTableCommand=function(A){this.Name=A;};FCKTableCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (!FCKBrowserInfo.IsGecko){switch (this.Name){case 'TableMergeRight':return FCKTableHandler.MergeRight();case 'TableMergeDown':return FCKTableHandler.MergeDown();}};switch (this.Name){case 'TableInsertRowAfter':return FCKTableHandler.InsertRow(false);case 'TableInsertRowBefore':return FCKTableHandler.InsertRow(true);case 'TableDeleteRows':return FCKTableHandler.DeleteRows();case 'TableInsertColumnAfter':return FCKTableHandler.InsertColumn(false);case 'TableInsertColumnBefore':return FCKTableHandler.InsertColumn(true);case 'TableDeleteColumns':return FCKTableHandler.DeleteColumns();case 'TableInsertCellAfter':return FCKTableHandler.InsertCell(null,false);case 'TableInsertCellBefore':return FCKTableHandler.InsertCell(null,true);case 'TableDeleteCells':return FCKTableHandler.DeleteCells();case 'TableMergeCells':return FCKTableHandler.MergeCells();case 'TableHorizontalSplitCell':return FCKTableHandler.HorizontalSplitCell();case 'TableVerticalSplitCell':return FCKTableHandler.VerticalSplitCell();case 'TableDelete':return FCKTableHandler.DeleteTable();default:return alert(FCKLang.UnknownCommand.replace(/%1/g,this.Name));}};FCKTableCommand.prototype.GetState=function(){if (FCK.EditorDocument!=null&&FCKSelection.HasAncestorNode('TABLE')){switch (this.Name){case 'TableHorizontalSplitCell':case 'TableVerticalSplitCell':if (FCKTableHandler.GetSelectedCells().length==1) return 0;else return -1;case 'TableMergeCells':if (FCKTableHandler.CheckIsSelectionRectangular()&&FCKTableHandler.GetSelectedCells().length>1) return 0;else return -1;case 'TableMergeRight':return FCKTableHandler.GetMergeRightTarget()?0:-1;case 'TableMergeDown':return FCKTableHandler.GetMergeDownTarget()?0:-1;default:return 0;}}else return -1;}; -var FCKFitWindow=function(){this.Name='FitWindow';};FCKFitWindow.prototype.Execute=function(){var A=window.frameElement;var B=A.style;var C=parent;var D=C.document.documentElement;var E=C.document.body;var F=E.style;var G;var H=new FCKDomRange(FCK.EditorWindow);H.MoveToSelection();var I=FCKTools.GetScrollPosition(FCK.EditorWindow);if (!this.IsMaximized){if(FCKBrowserInfo.IsIE) C.attachEvent('onresize',FCKFitWindow_Resize);else C.addEventListener('resize',FCKFitWindow_Resize,true);this._ScrollPos=FCKTools.GetScrollPosition(C);G=A;while((G=G.parentNode)){if (G.nodeType==1){G._fckSavedStyles=FCKTools.SaveStyles(G);G.style.zIndex=FCKConfig.FloatingPanelsZIndex-1;}};if (FCKBrowserInfo.IsIE){this.documentElementOverflow=D.style.overflow;D.style.overflow='hidden';F.overflow='hidden';}else{F.overflow='hidden';F.width='0px';F.height='0px';};this._EditorFrameStyles=FCKTools.SaveStyles(A);var J=FCKTools.GetViewPaneSize(C);B.position="absolute";A.offsetLeft;B.zIndex=FCKConfig.FloatingPanelsZIndex-1;B.left="0px";B.top="0px";B.width=J.Width+"px";B.height=J.Height+"px";if (!FCKBrowserInfo.IsIE){B.borderRight=B.borderBottom="9999px solid white";B.backgroundColor="white";};C.scrollTo(0,0);var K=FCKTools.GetWindowPosition(C,A);if (K.x!=0) B.left=(-1*K.x)+"px";if (K.y!=0) B.top=(-1*K.y)+"px";this.IsMaximized=true;}else{if(FCKBrowserInfo.IsIE) C.detachEvent("onresize",FCKFitWindow_Resize);else C.removeEventListener("resize",FCKFitWindow_Resize,true);G=A;while((G=G.parentNode)){if (G._fckSavedStyles){FCKTools.RestoreStyles(G,G._fckSavedStyles);G._fckSavedStyles=null;}};if (FCKBrowserInfo.IsIE) D.style.overflow=this.documentElementOverflow;FCKTools.RestoreStyles(A,this._EditorFrameStyles);C.scrollTo(this._ScrollPos.X,this._ScrollPos.Y);this.IsMaximized=false;};FCKToolbarItems.GetItem('FitWindow').RefreshState();if (FCK.EditMode==0) FCK.EditingArea.MakeEditable();FCK.Focus();H.Select();FCK.EditorWindow.scrollTo(I.X,I.Y);};FCKFitWindow.prototype.GetState=function(){if (FCKConfig.ToolbarLocation!='In') return -1;else return (this.IsMaximized?1:0);};function FCKFitWindow_Resize(){var A=FCKTools.GetViewPaneSize(parent);var B=window.frameElement.style;B.width=A.Width+'px';B.height=A.Height+'px';}; -var FCKListCommand=function(A,B){this.Name=A;this.TagName=B;};FCKListCommand.prototype={GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=FCKSelection.GetBoundaryParentElement(true);var B=A;while (B){if (B.nodeName.IEquals(['ul','ol'])) break;B=B.parentNode;};if (B&&B.nodeName.IEquals(this.TagName)) return 1;else return 0;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCK.EditorDocument;var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=this.GetState();if (C==0){FCKDomTools.TrimNode(A.body);if (!A.body.firstChild){var D=A.createElement('p');A.body.appendChild(D);B.MoveToNodeContents(D);}};var E=B.CreateBookmark();var F=[];var G={};var H=new FCKDomRangeIterator(B);var I;H.ForceBrBreak=(C==0);var J=true;var K=null;while (J){while ((I=H.GetNextParagraph())){var L=new FCKElementPath(I);var M=null;var N=false;var O=L.BlockLimit;for (var i=L.Elements.length-1;i>=0;i--){var P=L.Elements[i];if (P.nodeName.IEquals(['ol','ul'])){if (O._FCK_ListGroupObject) O._FCK_ListGroupObject=null;var Q=P._FCK_ListGroupObject;if (Q) Q.contents.push(I);else{Q={ 'root':P,'contents':[I] };F.push(Q);FCKDomTools.SetElementMarker(G,P,'_FCK_ListGroupObject',Q);};N=true;break;}};if (N) continue;var R=O;if (R._FCK_ListGroupObject) R._FCK_ListGroupObject.contents.push(I);else{var Q={ 'root':R,'contents':[I] };FCKDomTools.SetElementMarker(G,R,'_FCK_ListGroupObject',Q);F.push(Q);}};if (FCKBrowserInfo.IsIE) J=false;else{if (K==null){K=[];var T=FCKSelection.GetSelection();if (T&&F.length==0) K.push(T.getRangeAt(0));for (var i=1;T&&i0){var Q=F.shift();if (C==0){if (Q.root.nodeName.IEquals(['ul','ol'])) this._ChangeListType(Q,G,W);else this._CreateList(Q,W);}else if (C==1&&Q.root.nodeName.IEquals(['ul','ol'])) this._RemoveList(Q,G);};for (var i=0;iC[i-1].indent+1){var H=C[i-1].indent+1-C[i].indent;var I=C[i].indent;while (C[i]&&C[i].indent>=I){C[i].indent+=H;i++;};i--;}};var J=FCKDomTools.ArrayToList(C,B);if (A.root.nextSibling==null||A.root.nextSibling.nodeName.IEquals('br')){if (J.listNode.lastChild.nodeName.IEquals('br')) J.listNode.removeChild(J.listNode.lastChild);};A.root.parentNode.replaceChild(J.listNode,A.root);}}; -var FCKJustifyCommand=function(A){this.AlignValue=A;var B=FCKConfig.ContentLangDirection.toLowerCase();this.IsDefaultAlign=(A=='left'&&B=='ltr')||(A=='right'&&B=='rtl');var C=this._CssClassName=(function(){var D=FCKConfig.JustifyClasses;if (D){switch (A){case 'left':return D[0]||null;case 'center':return D[1]||null;case 'right':return D[2]||null;case 'justify':return D[3]||null;}};return null;})();if (C&&C.length>0) this._CssClassRegex=new RegExp('(?:^|\\s+)'+C+'(?=$|\\s)');};FCKJustifyCommand._GetClassNameRegex=function(){var A=FCKJustifyCommand._ClassRegex;if (A!=undefined) return A;var B=[];var C=FCKConfig.JustifyClasses;if (C){for (var i=0;i<4;i++){var D=C[i];if (D&&D.length>0) B.push(D);}};if (B.length>0) A=new RegExp('(?:^|\\s+)(?:'+B.join('|')+')(?=$|\\s)');else A=null;return FCKJustifyCommand._ClassRegex=A;};FCKJustifyCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();var A=new FCKDomRange(FCK.EditorWindow);A.MoveToSelection();var B=this.GetState();if (B==-1) return;var C=A.CreateBookmark();var D=this._CssClassName;var E=new FCKDomRangeIterator(A);var F;while ((F=E.GetNextParagraph())){F.removeAttribute('align');if (D){var G=F.className.replace(FCKJustifyCommand._GetClassNameRegex(),'');if (B==0){if (G.length>0) G+=' ';F.className=G+D;}else if (G.length==0) FCKDomTools.RemoveAttribute(F,'class');}else{var H=F.style;if (B==0) H.textAlign=this.AlignValue;else{H.textAlign='';if (H.cssText.length==0) F.removeAttribute('style');}}};A.MoveToBookmark(C);A.Select();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=new FCKElementPath(FCKSelection.GetBoundaryParentElement(true));var B=A.Block||A.BlockLimit;if (!B||B.nodeName.toLowerCase()=='body') return 0;var C;if (FCKBrowserInfo.IsIE) C=B.currentStyle.textAlign;else C=FCK.EditorWindow.getComputedStyle(B,'').getPropertyValue('text-align');C=C.replace(/(-moz-|-webkit-|start|auto)/i,'');if ((!C&&this.IsDefaultAlign)||C==this.AlignValue) return 1;return 0;}}; -var FCKIndentCommand=function(A,B){this.Name=A;this.Offset=B;this.IndentCSSProperty=FCKConfig.ContentLangDirection.IEquals('ltr')?'marginLeft':'marginRight';};FCKIndentCommand._InitIndentModeParameters=function(){if (FCKConfig.IndentClasses&&FCKConfig.IndentClasses.length>0){this._UseIndentClasses=true;this._IndentClassMap={};for (var i=0;i0?H+' ':'')+FCKConfig.IndentClasses[G-1];}else{var I=parseInt(E.style[this.IndentCSSProperty],10);if (isNaN(I)) I=0;I+=this.Offset;I=Math.max(I,0);I=Math.ceil(I/this.Offset)*this.Offset;E.style[this.IndentCSSProperty]=I?I+FCKConfig.IndentUnit:'';if (E.getAttribute('style')=='') E.removeAttribute('style');}}},_IndentList:function(A,B){var C=A.StartContainer;var D=A.EndContainer;while (C&&C.parentNode!=B) C=C.parentNode;while (D&&D.parentNode!=B) D=D.parentNode;if (!C||!D) return;var E=C;var F=[];var G=false;while (G==false){if (E==D) G=true;F.push(E);E=E.nextSibling;};if (F.length<1) return;var H=FCKDomTools.GetParents(B);for (var i=0;iN;i++) M[i].indent+=I;var O=FCKDomTools.ArrayToList(M);if (O) B.parentNode.replaceChild(O.listNode,B);FCKDomTools.ClearAllMarkers(L);}}; -var FCKBlockQuoteCommand=function(){};FCKBlockQuoteCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();var A=this.GetState();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();if (FCKBrowserInfo.IsIE){var D=B.GetBookmarkNode(C,true);var E=B.GetBookmarkNode(C,false);var F;if (D&&D.parentNode.nodeName.IEquals('blockquote')&&!D.previousSibling){F=D;while ((F=F.nextSibling)){if (FCKListsLib.BlockElements[F.nodeName.toLowerCase()]) FCKDomTools.MoveNode(D,F,true);}};if (E&&E.parentNode.nodeName.IEquals('blockquote')&&!E.previousSibling){F=E;while ((F=F.nextSibling)){if (FCKListsLib.BlockElements[F.nodeName.toLowerCase()]){if (F.firstChild==D) FCKDomTools.InsertAfterNode(D,E);else FCKDomTools.MoveNode(E,F,true);}}}};var G=new FCKDomRangeIterator(B);var H;if (A==0){G.EnforceRealBlocks=true;var I=[];while ((H=G.GetNextParagraph())) I.push(H);if (I.length<1){para=B.Window.document.createElement(FCKConfig.EnterMode.IEquals('p')?'p':'div');B.InsertNode(para);para.appendChild(B.Window.document.createTextNode('\ufeff'));B.MoveToBookmark(C);B.MoveToNodeContents(para);B.Collapse(true);C=B.CreateBookmark();I.push(para);};var J=I[0].parentNode;var K=[];for (var i=0;i0){H=I.shift();while (H.parentNode!=J) H=H.parentNode;if (H!=L) K.push(H);L=H;}while (K.length>0){H=K.shift();if (H.nodeName.IEquals('blockquote')){var M=FCKTools.GetElementDocument(H).createDocumentFragment();while (H.firstChild){M.appendChild(H.removeChild(H.firstChild));I.push(M.lastChild);};H.parentNode.replaceChild(M,H);}else I.push(H);};var N=B.Window.document.createElement('blockquote');J.insertBefore(N,I[0]);while (I.length>0){H=I.shift();N.appendChild(H);}}else if (A==1){var O=[];while ((H=G.GetNextParagraph())){var P=null;var Q=null;while (H.parentNode){if (H.parentNode.nodeName.IEquals('blockquote')){P=H.parentNode;Q=H;break;};H=H.parentNode;};if (P&&Q) O.push(Q);};var R=[];while (O.length>0){var S=O.shift();var N=S.parentNode;if (S==S.parentNode.firstChild){N.parentNode.insertBefore(N.removeChild(S),N);if (!N.firstChild) N.parentNode.removeChild(N);}else if (S==S.parentNode.lastChild){N.parentNode.insertBefore(N.removeChild(S),N.nextSibling);if (!N.firstChild) N.parentNode.removeChild(N);}else FCKDomTools.BreakParent(S,S.parentNode,B);R.push(S);};if (FCKConfig.EnterMode.IEquals('br')){while (R.length){var S=R.shift();var W=true;if (S.nodeName.IEquals('div')){var M=FCKTools.GetElementDocument(S).createDocumentFragment();var Y=W&&S.previousSibling&&!FCKListsLib.BlockBoundaries[S.previousSibling.nodeName.toLowerCase()];if (W&&Y) M.appendChild(FCKTools.GetElementDocument(S).createElement('br'));var Z=S.nextSibling&&!FCKListsLib.BlockBoundaries[S.nextSibling.nodeName.toLowerCase()];while (S.firstChild) M.appendChild(S.removeChild(S.firstChild));if (Z) M.appendChild(FCKTools.GetElementDocument(S).createElement('br'));S.parentNode.replaceChild(M,S);W=false;}}}};B.MoveToBookmark(C);B.Select();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=new FCKElementPath(FCKSelection.GetBoundaryParentElement(true));var B=A.Block||A.BlockLimit;if (!B||B.nodeName.toLowerCase()=='body') return 0;for (var i=0;i';B.open();B.write(''+F+'<\/head><\/body><\/html>');B.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.Panel_Contructor(B,window.document.location);FCKTools.AddEventListenerEx(E,'focus',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(E,'blur',FCKPanel_Window_OnBlur,this);};B.dir=FCKLang.Dir;FCKTools.AddEventListener(B,'contextmenu',FCKTools.CancelEvent);this.MainNode=B.body.appendChild(B.createElement('DIV'));this.MainNode.style.cssFloat=this.IsRTL?'right':'left';};FCKPanel.prototype.AppendStyleSheet=function(A){FCKTools.AppendStyleSheet(this.Document,A);};FCKPanel.prototype.Preload=function(x,y,A){if (this._Popup) this._Popup.show(x,y,0,0,A);};FCKPanel.prototype.Show=function(x,y,A,B,C){var D;var E=this.MainNode;if (this._Popup){this._Popup.show(x,y,0,0,A);FCKDomTools.SetElementStyles(E,{B:B?B+'px':'',C:C?C+'px':''});D=E.offsetWidth;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=(x*-1)+A.offsetWidth-D;};this._Popup.show(x,y,D,E.offsetHeight,A);if (this.OnHide){if (this._Timer) CheckPopupOnHide.call(this,true);this._Timer=FCKTools.SetInterval(CheckPopupOnHide,100,this);}}else{if (typeof(FCK.ToolbarSet.CurrentInstance.FocusManager)!='undefined') FCK.ToolbarSet.CurrentInstance.FocusManager.Lock();if (this.ParentPanel){this.ParentPanel.Lock();FCKPanel_Window_OnBlur(null,this.ParentPanel);};if (FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac){this._IFrame.scrolling='';FCKTools.RunFunction(function(){ this._IFrame.scrolling='no';},this);};if (FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel&&FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel!=this) FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel.Hide(false,true);FCKDomTools.SetElementStyles(E,{B:B?B+'px':'',C:C?C+'px':''});D=E.offsetWidth;if (!B) this._IFrame.width=1;if (!C) this._IFrame.height=1;D=E.offsetWidth||E.firstChild.offsetWidth;var F=FCKTools.GetDocumentPosition(this._Window,A.nodeType==9?(FCKTools.IsStrictMode(A)?A.documentElement:A.body):A);var G=FCKDomTools.GetPositionedAncestor(this._IFrame.parentNode);if (G){var H=FCKTools.GetDocumentPosition(FCKTools.GetElementWindow(G),G);F.x-=H.x;F.y-=H.y;};if (this.IsRTL&&!this.IsContextMenu) x=(x*-1);x+=F.x;y+=F.y;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=x+A.offsetWidth-D;}else{var I=FCKTools.GetViewPaneSize(this._Window);var J=FCKTools.GetScrollPosition(this._Window);var K=I.Height+J.Y;var L=I.Width+J.X;if ((x+D)>L) x-=x+D-L;if ((y+E.offsetHeight)>K) y-=y+E.offsetHeight-K;};FCKDomTools.SetElementStyles(this._IFrame,{left:x+'px',top:y+'px'});this._IFrame.contentWindow.focus();this._IsOpened=true;var M=this;this._resizeTimer=setTimeout(function(){var N=E.offsetWidth||E.firstChild.offsetWidth;var O=E.offsetHeight;M._IFrame.style.width=N+'px';M._IFrame.style.height=O+'px';},0);FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel=this;};FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A,B){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened||this._LockCounter>0) return;if (typeof(FCKFocusManager)!='undefined'&&!B) FCKFocusManager.Unlock();this._IFrame.style.width=this._IFrame.style.height='0px';this._IsOpened=false;if (this._resizeTimer){clearTimeout(this._resizeTimer);this._resizeTimer=null;};if (this.ParentPanel) this.ParentPanel.Unlock();if (!A) FCKTools.RunFunction(this.OnHide,this);}};FCKPanel.prototype.CheckIsOpened=function(){if (this._Popup) return this._Popup.isOpen;else return this._IsOpened;};FCKPanel.prototype.CreateChildPanel=function(){var A=this._Popup?FCKTools.GetDocumentWindow(this.Document):this._Window;var B=new FCKPanel(A);B.ParentPanel=this;return B;};FCKPanel.prototype.Lock=function(){this._LockCounter++;};FCKPanel.prototype.Unlock=function(){if (--this._LockCounter==0&&!this.HasFocus) this.Hide();};function FCKPanel_Window_OnFocus(e,A){A.HasFocus=true;};function FCKPanel_Window_OnBlur(e,A){A.HasFocus=false;if (A._LockCounter==0) FCKTools.RunFunction(A.Hide,A);};function CheckPopupOnHide(A){if (A||!this._Popup.isOpen){window.clearInterval(this._Timer);this._Timer=null;FCKTools.RunFunction(this.OnHide,this);}};function FCKPanel_Cleanup(){this._Popup=null;this._Window=null;this.Document=null;this.MainNode=null;}; -var FCKIcon=function(A){var B=A?typeof(A):'undefined';switch (B){case 'number':this.Path=FCKConfig.SkinPath+'fck_strip.gif';this.Size=16;this.Position=A;break;case 'undefined':this.Path=FCK_SPACER_PATH;break;case 'string':this.Path=A;break;default:this.Path=A[0];this.Size=A[1];this.Position=A[2];}};FCKIcon.prototype.CreateIconElement=function(A){var B,eIconImage;if (this.Position){var C='-'+((this.Position-1)*this.Size)+'px';if (FCKBrowserInfo.IsIE){B=A.createElement('DIV');eIconImage=B.appendChild(A.createElement('IMG'));eIconImage.src=this.Path;eIconImage.style.top=C;}else{B=A.createElement('IMG');B.src=FCK_SPACER_PATH;B.style.backgroundPosition='0px '+C;B.style.backgroundImage='url("'+this.Path+'")';}}else{if (FCKBrowserInfo.IsIE){B=A.createElement('DIV');eIconImage=B.appendChild(A.createElement('IMG'));eIconImage.src=this.Path?this.Path:FCK_SPACER_PATH;}else{B=A.createElement('IMG');B.src=this.Path?this.Path:FCK_SPACER_PATH;}};B.className='TB_Button_Image';return B;}; -var FCKToolbarButtonUI=function(A,B,C,D,E,F){this.Name=A;this.Label=B||A;this.Tooltip=C||this.Label;this.Style=E||0;this.State=F||0;this.Icon=new FCKIcon(D);if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarButtonUI_Cleanup);};FCKToolbarButtonUI.prototype._CreatePaddingElement=function(A){var B=A.createElement('IMG');B.className='TB_Button_Padding';B.src=FCK_SPACER_PATH;return B;};FCKToolbarButtonUI.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var C=this.MainElement=B.createElement('DIV');C.title=this.Tooltip;if (FCKBrowserInfo.IsGecko) C.onmousedown=FCKTools.CancelEvent;FCKTools.AddEventListenerEx(C,'mouseover',FCKToolbarButtonUI_OnMouseOver,this);FCKTools.AddEventListenerEx(C,'mouseout',FCKToolbarButtonUI_OnMouseOut,this);FCKTools.AddEventListenerEx(C,'click',FCKToolbarButtonUI_OnClick,this);this.ChangeState(this.State,true);if (this.Style==0&&!this.ShowArrow){C.appendChild(this.Icon.CreateIconElement(B));}else{var D=C.appendChild(B.createElement('TABLE'));D.cellPadding=0;D.cellSpacing=0;var E=D.insertRow(-1);var F=E.insertCell(-1);if (this.Style==0||this.Style==2) F.appendChild(this.Icon.CreateIconElement(B));else F.appendChild(this._CreatePaddingElement(B));if (this.Style==1||this.Style==2){F=E.insertCell(-1);F.className='TB_Button_Text';F.noWrap=true;F.appendChild(B.createTextNode(this.Label));};if (this.ShowArrow){if (this.Style!=0){E.insertCell(-1).appendChild(this._CreatePaddingElement(B));};F=E.insertCell(-1);var G=F.appendChild(B.createElement('IMG'));G.src=FCKConfig.SkinPath+'images/toolbar.buttonarrow.gif';G.width=5;G.height=3;};F=E.insertCell(-1);F.appendChild(this._CreatePaddingElement(B));};A.appendChild(C);};FCKToolbarButtonUI.prototype.ChangeState=function(A,B){if (!B&&this.State==A) return;var e=this.MainElement;if (!e) return;switch (parseInt(A,10)){case 0:e.className='TB_Button_Off';break;case 1:e.className='TB_Button_On';break;case -1:e.className='TB_Button_Disabled';break;};this.State=A;};function FCKToolbarButtonUI_OnMouseOver(A,B){if (B.State==0) this.className='TB_Button_Off_Over';else if (B.State==1) this.className='TB_Button_On_Over';};function FCKToolbarButtonUI_OnMouseOut(A,B){if (B.State==0) this.className='TB_Button_Off';else if (B.State==1) this.className='TB_Button_On';};function FCKToolbarButtonUI_OnClick(A,B){if (B.OnClick&&B.State!=-1) B.OnClick(B);};function FCKToolbarButtonUI_Cleanup(){this.MainElement=null;}; -var FCKToolbarButton=function(A,B,C,D,E,F,G){this.CommandName=A;this.Label=B;this.Tooltip=C;this.Style=D;this.SourceView=E?true:false;this.ContextSensitive=F?true:false;if (G==null) this.IconPath=FCKConfig.SkinPath+'toolbar/'+A.toLowerCase()+'.gif';else if (typeof(G)=='number') this.IconPath=[FCKConfig.SkinPath+'fck_strip.gif',16,G];else this.IconPath=G;};FCKToolbarButton.prototype.Create=function(A){this._UIButton=new FCKToolbarButtonUI(this.CommandName,this.Label,this.Tooltip,this.IconPath,this.Style);this._UIButton.OnClick=this.Click;this._UIButton._ToolbarButton=this;this._UIButton.Create(A);};FCKToolbarButton.prototype.RefreshState=function(){var A=this._UIButton;if (!A) return;var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (B==A.State) return;A.ChangeState(B);};FCKToolbarButton.prototype.Click=function(){var A=this._ToolbarButton||this;FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(A.CommandName).Execute();};FCKToolbarButton.prototype.Enable=function(){this.RefreshState();};FCKToolbarButton.prototype.Disable=function(){this._UIButton.ChangeState(-1);}; -var FCKSpecialCombo=function(A,B,C,D,E){this.FieldWidth=B||100;this.PanelWidth=C||150;this.PanelMaxHeight=D||150;this.Label=' ';this.Caption=A;this.Tooltip=A;this.Style=2;this.Enabled=true;this.Items={};this._Panel=new FCKPanel(E||window);this._Panel.AppendStyleSheet(FCKConfig.SkinEditorCSS);this._PanelBox=this._Panel.MainNode.appendChild(this._Panel.Document.createElement('DIV'));this._PanelBox.className='SC_Panel';this._PanelBox.style.width=this.PanelWidth+'px';this._PanelBox.innerHTML='
    ';this._ItemsHolderEl=this._PanelBox.getElementsByTagName('TD')[0];if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKSpecialCombo_Cleanup);};function FCKSpecialCombo_ItemOnMouseOver(){this.className+=' SC_ItemOver';};function FCKSpecialCombo_ItemOnMouseOut(){this.className=this.originalClass;};function FCKSpecialCombo_ItemOnClick(A,B,C){this.className=this.originalClass;B._Panel.Hide();B.SetLabel(this.FCKItemLabel);if (typeof(B.OnSelect)=='function') B.OnSelect(C,this);};FCKSpecialCombo.prototype.ClearItems=function (){if (this.Items) this.Items={};var A=this._ItemsHolderEl;while (A.firstChild) A.removeChild(A.firstChild);};FCKSpecialCombo.prototype.AddItem=function(A,B,C,D){var E=this._ItemsHolderEl.appendChild(this._Panel.Document.createElement('DIV'));E.className=E.originalClass='SC_Item';E.innerHTML=B;E.FCKItemLabel=C||A;E.Selected=false;if (FCKBrowserInfo.IsIE) E.style.width='100%';if (D) E.style.backgroundColor=D;FCKTools.AddEventListenerEx(E,'mouseover',FCKSpecialCombo_ItemOnMouseOver);FCKTools.AddEventListenerEx(E,'mouseout',FCKSpecialCombo_ItemOnMouseOut);FCKTools.AddEventListenerEx(E,'click',FCKSpecialCombo_ItemOnClick,[this,A]);this.Items[A.toString().toLowerCase()]=E;return E;};FCKSpecialCombo.prototype.SelectItem=function(A){if (typeof A=='string') A=this.Items[A.toString().toLowerCase()];if (A){A.className=A.originalClass='SC_ItemSelected';A.Selected=true;}};FCKSpecialCombo.prototype.SelectItemByLabel=function(A,B){for (var C in this.Items){var D=this.Items[C];if (D.FCKItemLabel==A){D.className=D.originalClass='SC_ItemSelected';D.Selected=true;if (B) this.SetLabel(A);}}};FCKSpecialCombo.prototype.DeselectAll=function(A){for (var i in this.Items){if (!this.Items[i]) continue;this.Items[i].className=this.Items[i].originalClass='SC_Item';this.Items[i].Selected=false;};if (A) this.SetLabel('');};FCKSpecialCombo.prototype.SetLabelById=function(A){A=A?A.toString().toLowerCase():'';var B=this.Items[A];this.SetLabel(B?B.FCKItemLabel:'');};FCKSpecialCombo.prototype.SetLabel=function(A){A=(!A||A.length==0)?' ':A;if (A==this.Label) return;this.Label=A;var B=this._LabelEl;if (B){B.innerHTML=A;FCKTools.DisableSelection(B);}};FCKSpecialCombo.prototype.SetEnabled=function(A){this.Enabled=A;if (this._OuterTable) this._OuterTable.className=A?'':'SC_FieldDisabled';};FCKSpecialCombo.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var C=this._OuterTable=A.appendChild(B.createElement('TABLE'));C.cellPadding=0;C.cellSpacing=0;C.insertRow(-1);var D;var E;switch (this.Style){case 0:D='TB_ButtonType_Icon';E=false;break;case 1:D='TB_ButtonType_Text';E=false;break;case 2:E=true;break;};if (this.Caption&&this.Caption.length>0&&E){var F=C.rows[0].insertCell(-1);F.innerHTML=this.Caption;F.className='SC_FieldCaption';};var G=FCKTools.AppendElement(C.rows[0].insertCell(-1),'div');if (E){G.className='SC_Field';G.style.width=this.FieldWidth+'px';G.innerHTML='
     
    ';this._LabelEl=G.getElementsByTagName('label')[0];this._LabelEl.innerHTML=this.Label;}else{G.className='TB_Button_Off';G.innerHTML='
    '+this.Caption+'
    ';};FCKTools.AddEventListenerEx(G,'mouseover',FCKSpecialCombo_OnMouseOver,this);FCKTools.AddEventListenerEx(G,'mouseout',FCKSpecialCombo_OnMouseOut,this);FCKTools.AddEventListenerEx(G,'click',FCKSpecialCombo_OnClick,this);FCKTools.DisableSelection(this._Panel.Document.body);};function FCKSpecialCombo_Cleanup(){this._LabelEl=null;this._OuterTable=null;this._ItemsHolderEl=null;this._PanelBox=null;if (this.Items){for (var A in this.Items) this.Items[A]=null;}};function FCKSpecialCombo_OnMouseOver(A,B){if (B.Enabled){switch (B.Style){case 0:this.className='TB_Button_On_Over';break;case 1:this.className='TB_Button_On_Over';break;case 2:this.className='SC_Field SC_FieldOver';break;}}};function FCKSpecialCombo_OnMouseOut(A,B){switch (B.Style){case 0:this.className='TB_Button_Off';break;case 1:this.className='TB_Button_Off';break;case 2:this.className='SC_Field';break;}};function FCKSpecialCombo_OnClick(e,A){if (A.Enabled){var B=A._Panel;var C=A._PanelBox;var D=A._ItemsHolderEl;var E=A.PanelMaxHeight;if (A.OnBeforeClick) A.OnBeforeClick(A);if (FCKBrowserInfo.IsIE) B.Preload(0,this.offsetHeight,this);if (D.offsetHeight>E) C.style.height=E+'px';else C.style.height='';B.Show(0,this.offsetHeight,this);}}; -var FCKToolbarSpecialCombo=function(){this.SourceView=false;this.ContextSensitive=true;this.FieldWidth=null;this.PanelWidth=null;this.PanelMaxHeight=null;};FCKToolbarSpecialCombo.prototype.DefaultLabel='';function FCKToolbarSpecialCombo_OnSelect(A,B){FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).Execute(A,B);};FCKToolbarSpecialCombo.prototype.Create=function(A){this._Combo=new FCKSpecialCombo(this.GetLabel(),this.FieldWidth,this.PanelWidth,this.PanelMaxHeight,FCKBrowserInfo.IsIE?window:FCKTools.GetElementWindow(A).parent);this._Combo.Tooltip=this.Tooltip;this._Combo.Style=this.Style;this.CreateItems(this._Combo);this._Combo.Create(A);this._Combo.CommandName=this.CommandName;this._Combo.OnSelect=FCKToolbarSpecialCombo_OnSelect;};function FCKToolbarSpecialCombo_RefreshActiveItems(A,B){A.DeselectAll();A.SelectItem(B);A.SetLabelById(B);};FCKToolbarSpecialCombo.prototype.RefreshState=function(){var A;var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (B!=-1){A=1;if (this.RefreshActiveItems) this.RefreshActiveItems(this._Combo,B);else{if (this._LastValue!==B){this._LastValue=B;if (!B||B.length==0){this._Combo.DeselectAll();this._Combo.SetLabel(this.DefaultLabel);}else FCKToolbarSpecialCombo_RefreshActiveItems(this._Combo,B);}}}else A=-1;if (A==this.State) return;if (A==-1){this._Combo.DeselectAll();this._Combo.SetLabel('');};this.State=A;this._Combo.SetEnabled(A!=-1);};FCKToolbarSpecialCombo.prototype.Enable=function(){this.RefreshState();};FCKToolbarSpecialCombo.prototype.Disable=function(){this.State=-1;this._Combo.DeselectAll();this._Combo.SetLabel('');this._Combo.SetEnabled(false);}; -var FCKToolbarStyleCombo=function(A,B){if (A===false) return;this.CommandName='Style';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.DefaultLabel=FCKConfig.DefaultStyleLabel||'';};FCKToolbarStyleCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarStyleCombo.prototype.GetLabel=function(){return FCKLang.Style;};FCKToolbarStyleCombo.prototype.GetStyles=function(){var A={};var B=FCK.ToolbarSet.CurrentInstance.Styles.GetStyles();for (var C in B){var D=B[C];if (!D.IsCore) A[C]=D;};return A;};FCKToolbarStyleCombo.prototype.CreateItems=function(A){var B=A._Panel.Document;FCKTools.AppendStyleSheet(B,FCKConfig.ToolbarComboPreviewCSS);FCKTools.AppendStyleString(B,FCKConfig.EditorAreaStyles);B.body.className+=' ForceBaseFont';FCKConfig.ApplyBodyAttributes(B.body);var C=this.GetStyles();for (var D in C){var E=C[D];var F=E.GetType()==2?D:FCKToolbarStyleCombo_BuildPreview(E,E.Label||D);var G=A.AddItem(D,F);G.Style=E;};A.OnBeforeClick=this.StyleCombo_OnBeforeClick;};FCKToolbarStyleCombo.prototype.RefreshActiveItems=function(A){var B=FCK.ToolbarSet.CurrentInstance.Selection.GetBoundaryParentElement(true);if (B){var C=new FCKElementPath(B);var D=C.Elements;for (var e=0;e');var E=A.Element;if (E=='bdo') E='span';D=['<',E];var F=A._StyleDesc.Attributes;if (F){for (var G in F){D.push(' ',G,'="',A.GetFinalAttributeValue(G),'"');}};if (A._GetStyleText().length>0) D.push(' style="',A.GetFinalStyleValue(),'"');D.push('>',B,'');if (C==0) D.push('');return D.join('');}; -var FCKToolbarFontFormatCombo=function(A,B){if (A===false) return;this.CommandName='FontFormat';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.NormalLabel='Normal';this.PanelWidth=190;this.DefaultLabel=FCKConfig.DefaultFontFormatLabel||'';};FCKToolbarFontFormatCombo.prototype=new FCKToolbarStyleCombo(false);FCKToolbarFontFormatCombo.prototype.GetLabel=function(){return FCKLang.FontFormat;};FCKToolbarFontFormatCombo.prototype.GetStyles=function(){var A={};var B=FCKLang['FontFormats'].split(';');var C={p:B[0],pre:B[1],address:B[2],h1:B[3],h2:B[4],h3:B[5],h4:B[6],h5:B[7],h6:B[8],div:B[9]||(B[0]+' (DIV)')};var D=FCKConfig.FontFormats.split(';');for (var i=0;i';G.open();G.write(''+H+''+document.getElementById('xToolbarSpace').innerHTML+'');G.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_InitOutFrame(G);FCKTools.AddEventListener(G,'contextmenu',FCKTools.CancelEvent);FCKTools.AppendStyleSheet(G,FCKConfig.SkinEditorCSS);B=D.__FCKToolbarSet=new FCKToolbarSet(G);B._IFrame=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(D,FCKToolbarSet_Target_Cleanup);};B.CurrentInstance=FCK;if (!B.ToolbarItems) B.ToolbarItems=FCKToolbarItems;FCK.AttachToOnSelectionChange(B.RefreshItemsState);return B;};function FCK_OnBlur(A){var B=A.ToolbarSet;if (B.CurrentInstance==A) B.Disable();};function FCK_OnFocus(A){var B=A.ToolbarSet;var C=A||FCK;B.CurrentInstance.FocusManager.RemoveWindow(B._IFrame.contentWindow);B.CurrentInstance=C;C.FocusManager.AddWindow(B._IFrame.contentWindow,true);B.Enable();};function FCKToolbarSet_Cleanup(){this._TargetElement=null;this._IFrame=null;};function FCKToolbarSet_Target_Cleanup(){this.__FCKToolbarSet=null;};var FCKToolbarSet=function(A){this._Document=A;this._TargetElement=A.getElementById('xToolbar');var B=A.getElementById('xExpandHandle');var C=A.getElementById('xCollapseHandle');B.title=FCKLang.ToolbarExpand;FCKTools.AddEventListener(B,'click',FCKToolbarSet_Expand_OnClick);C.title=FCKLang.ToolbarCollapse;FCKTools.AddEventListener(C,'click',FCKToolbarSet_Collapse_OnClick);if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();C.style.display=FCKConfig.ToolbarCanCollapse?'':'none';if (FCKConfig.ToolbarCanCollapse) C.style.display='';else A.getElementById('xTBLeftBorder').style.display='';this.Toolbars=[];this.IsLoaded=false;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarSet_Cleanup);};function FCKToolbarSet_Expand_OnClick(){FCK.ToolbarSet.Expand();};function FCKToolbarSet_Collapse_OnClick(){FCK.ToolbarSet.Collapse();};FCKToolbarSet.prototype.Expand=function(){this._ChangeVisibility(false);};FCKToolbarSet.prototype.Collapse=function(){this._ChangeVisibility(true);};FCKToolbarSet.prototype._ChangeVisibility=function(A){this._Document.getElementById('xCollapsed').style.display=A?'':'none';this._Document.getElementById('xExpanded').style.display=A?'none':'';if (FCKBrowserInfo.IsGecko){FCKTools.RunFunction(window.onresize);}};FCKToolbarSet.prototype.Load=function(A){this.Name=A;this.Items=[];this.ItemsWysiwygOnly=[];this.ItemsContextSensitive=[];this._TargetElement.innerHTML='';var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=[];for (var x=0;x0) break;}catch (e){break;};D=D.parent;};var E=D.document;var F=function(){if (!B) B=FCKConfig.FloatingPanelsZIndex+999;return++B;};var G=function(){if (!C) return;var H=FCKTools.IsStrictMode(E)?E.documentElement:E.body;FCKDomTools.SetElementStyles(C,{'width':Math.max(H.scrollWidth,H.clientWidth,E.scrollWidth||0)-1+'px','height':Math.max(H.scrollHeight,H.clientHeight,E.scrollHeight||0)-1+'px'});};return {OpenDialog:function(dialogName,dialogTitle,dialogPage,width,height,customValue,parentWindow,resizable){if (!A) this.DisplayMainCover();var I={Title:dialogTitle,Page:dialogPage,Editor:window,CustomValue:customValue,TopWindow:D};FCK.ToolbarSet.CurrentInstance.Selection.Save();var J=FCKTools.GetViewPaneSize(D);var K={ 'X':0,'Y':0 };var L=FCKBrowserInfo.IsIE&&(!FCKBrowserInfo.IsIE7||!FCKTools.IsStrictMode(D.document));if (L) K=FCKTools.GetScrollPosition(D);var M=Math.max(K.Y+(J.Height-height-20)/2,0);var N=Math.max(K.X+(J.Width-width-20)/2,0);var O=E.createElement('iframe');FCKTools.ResetStyles(O);O.src=FCKConfig.BasePath+'fckdialog.html';O.frameBorder=0;O.allowTransparency=true;FCKDomTools.SetElementStyles(O,{'position':(L)?'absolute':'fixed','top':M+'px','left':N+'px','width':width+'px','height':height+'px','zIndex':F()});O._DialogArguments=I;E.body.appendChild(O);O._ParentDialog=A;A=O;},OnDialogClose:function(dialogWindow){var O=dialogWindow.frameElement;FCKDomTools.RemoveNode(O);if (O._ParentDialog){A=O._ParentDialog;O._ParentDialog.contentWindow.SetEnabled(true);}else{if (!FCKBrowserInfo.IsIE) FCK.Focus();this.HideMainCover();setTimeout(function(){ A=null;},0);FCK.ToolbarSet.CurrentInstance.Selection.Release();}},DisplayMainCover:function(){C=E.createElement('div');FCKTools.ResetStyles(C);FCKDomTools.SetElementStyles(C,{'position':'absolute','zIndex':F(),'top':'0px','left':'0px','backgroundColor':FCKConfig.BackgroundBlockerColor});FCKDomTools.SetOpacity(C,FCKConfig.BackgroundBlockerOpacity);if (FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsIE7){var Q=E.createElement('iframe');FCKTools.ResetStyles(Q);Q.hideFocus=true;Q.frameBorder=0;Q.src=FCKTools.GetVoidUrl();FCKDomTools.SetElementStyles(Q,{'width':'100%','height':'100%','position':'absolute','left':'0px','top':'0px','filter':'progid:DXImageTransform.Microsoft.Alpha(opacity=0)'});C.appendChild(Q);};FCKTools.AddEventListener(D,'resize',G);G();E.body.appendChild(C);FCKFocusManager.Lock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R._fck_originalTabIndex=R.tabIndex;R.tabIndex=-1;},HideMainCover:function(){FCKDomTools.RemoveNode(C);FCKFocusManager.Unlock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R.tabIndex=R._fck_originalTabIndex;FCKDomTools.ClearElementJSProperty(R,'_fck_originalTabIndex');},GetCover:function(){return C;}};})(); -var FCKMenuItem=function(A,B,C,D,E,F){this.Name=B;this.Label=C||B;this.IsDisabled=E;this.Icon=new FCKIcon(D);this.SubMenu=new FCKMenuBlockPanel();this.SubMenu.Parent=A;this.SubMenu.OnClick=FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnClick,this);this.CustomData=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuItem_Cleanup);};FCKMenuItem.prototype.AddItem=function(A,B,C,D,E){this.HasSubMenu=true;return this.SubMenu.AddItem(A,B,C,D,E);};FCKMenuItem.prototype.AddSeparator=function(){this.SubMenu.AddSeparator();};FCKMenuItem.prototype.Create=function(A){var B=this.HasSubMenu;var C=FCKTools.GetElementDocument(A);var r=this.MainElement=A.insertRow(-1);r.className=this.IsDisabled?'MN_Item_Disabled':'MN_Item';if (!this.IsDisabled){FCKTools.AddEventListenerEx(r,'mouseover',FCKMenuItem_OnMouseOver,[this]);FCKTools.AddEventListenerEx(r,'click',FCKMenuItem_OnClick,[this]);if (!B) FCKTools.AddEventListenerEx(r,'mouseout',FCKMenuItem_OnMouseOut,[this]);};var D=r.insertCell(-1);D.className='MN_Icon';D.appendChild(this.Icon.CreateIconElement(C));D=r.insertCell(-1);D.className='MN_Label';D.noWrap=true;D.appendChild(C.createTextNode(this.Label));D=r.insertCell(-1);if (B){D.className='MN_Arrow';var E=D.appendChild(C.createElement('IMG'));E.src=FCK_IMAGES_PATH+'arrow_'+FCKLang.Dir+'.gif';E.width=4;E.height=7;this.SubMenu.Create();this.SubMenu.Panel.OnHide=FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnHide,this);}};FCKMenuItem.prototype.Activate=function(){this.MainElement.className='MN_Item_Over';if (this.HasSubMenu){this.SubMenu.Show(this.MainElement.offsetWidth+2,-2,this.MainElement);};FCKTools.RunFunction(this.OnActivate,this);};FCKMenuItem.prototype.Deactivate=function(){this.MainElement.className='MN_Item';if (this.HasSubMenu) this.SubMenu.Hide();};function FCKMenuItem_SubMenu_OnClick(A,B){FCKTools.RunFunction(B.OnClick,B,[A]);};function FCKMenuItem_SubMenu_OnHide(A){A.Deactivate();};function FCKMenuItem_OnClick(A,B){if (B.HasSubMenu) B.Activate();else{B.Deactivate();FCKTools.RunFunction(B.OnClick,B,[B]);}};function FCKMenuItem_OnMouseOver(A,B){B.Activate();};function FCKMenuItem_OnMouseOut(A,B){B.Deactivate();};function FCKMenuItem_Cleanup(){this.MainElement=null;}; -var FCKMenuBlock=function(){this._Items=[];};FCKMenuBlock.prototype.Count=function(){return this._Items.length;};FCKMenuBlock.prototype.AddItem=function(A,B,C,D,E){var F=new FCKMenuItem(this,A,B,C,D,E);F.OnClick=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnClick,this);F.OnActivate=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnActivate,this);this._Items.push(F);return F;};FCKMenuBlock.prototype.AddSeparator=function(){this._Items.push(new FCKMenuSeparator());};FCKMenuBlock.prototype.RemoveAllItems=function(){this._Items=[];var A=this._ItemsTable;if (A){while (A.rows.length>0) A.deleteRow(0);}};FCKMenuBlock.prototype.Create=function(A){if (!this._ItemsTable){if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuBlock_Cleanup);this._Window=FCKTools.GetElementWindow(A);var B=FCKTools.GetElementDocument(A);var C=A.appendChild(B.createElement('table'));C.cellPadding=0;C.cellSpacing=0;FCKTools.DisableSelection(C);var D=C.insertRow(-1).insertCell(-1);D.className='MN_Menu';var E=this._ItemsTable=D.appendChild(B.createElement('table'));E.cellPadding=0;E.cellSpacing=0;};for (var i=0;i0&&F.href.length==0);if (G) return;menu.AddSeparator();menu.AddItem('VisitLink',FCKLang.VisitLink);menu.AddSeparator();if (E) menu.AddItem('Link',FCKLang.EditLink,34);menu.AddItem('Unlink',FCKLang.RemoveLink,35);}}};case 'Image':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&!tag.getAttribute('_fckfakelement')){menu.AddSeparator();menu.AddItem('Image',FCKLang.ImageProperties,37);}}};case 'Anchor':return {AddItems:function(menu,tag,tagName){var F=FCKSelection.MoveToAncestorNode('A');var G=(F&&F.name.length>0);if (G||(tagName=='IMG'&&tag.getAttribute('_fckanchor'))){menu.AddSeparator();menu.AddItem('Anchor',FCKLang.AnchorProp,36);menu.AddItem('AnchorDelete',FCKLang.AnchorDelete);}}};case 'Flash':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&tag.getAttribute('_fckflash')){menu.AddSeparator();menu.AddItem('Flash',FCKLang.FlashProperties,38);}}};case 'Form':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('FORM')){menu.AddSeparator();menu.AddItem('Form',FCKLang.FormProp,48);}}};case 'Checkbox':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='checkbox'){menu.AddSeparator();menu.AddItem('Checkbox',FCKLang.CheckboxProp,49);}}};case 'Radio':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='radio'){menu.AddSeparator();menu.AddItem('Radio',FCKLang.RadioButtonProp,50);}}};case 'TextField':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&(tag.type=='text'||tag.type=='password')){menu.AddSeparator();menu.AddItem('TextField',FCKLang.TextFieldProp,51);}}};case 'HiddenField':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&tag.getAttribute('_fckinputhidden')){menu.AddSeparator();menu.AddItem('HiddenField',FCKLang.HiddenFieldProp,56);}}};case 'ImageButton':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='image'){menu.AddSeparator();menu.AddItem('ImageButton',FCKLang.ImageButtonProp,55);}}};case 'Button':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&(tag.type=='button'||tag.type=='submit'||tag.type=='reset')){menu.AddSeparator();menu.AddItem('Button',FCKLang.ButtonProp,54);}}};case 'Select':return {AddItems:function(menu,tag,tagName){if (tagName=='SELECT'){menu.AddSeparator();menu.AddItem('Select',FCKLang.SelectionFieldProp,53);}}};case 'Textarea':return {AddItems:function(menu,tag,tagName){if (tagName=='TEXTAREA'){menu.AddSeparator();menu.AddItem('Textarea',FCKLang.TextareaProp,52);}}};case 'BulletedList':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('UL')){menu.AddSeparator();menu.AddItem('BulletedList',FCKLang.BulletedListProp,27);}}};case 'NumberedList':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('OL')){menu.AddSeparator();menu.AddItem('NumberedList',FCKLang.NumberedListProp,26);}}};case 'DivContainer':return {AddItems:function(menu,tag,tagName){var J=FCKDomTools.GetSelectedDivContainers();if (J.length>0){menu.AddSeparator();menu.AddItem('EditDiv',FCKLang.EditDiv,75);menu.AddItem('DeleteDiv',FCKLang.DeleteDiv,76);}}};};return null;};function FCK_ContextMenu_OnBeforeOpen(){FCK.Events.FireEvent('OnSelectionChange');var A,sTagName;if ((A=FCKSelection.GetSelectedElement())) sTagName=A.tagName;var B=FCK.ContextMenu._InnerContextMenu;B.RemoveAllItems();var C=FCK.ContextMenu.Listeners;for (var i=0;i0){D=A.substr(0,B.index);this._sourceHtml=A.substr(B.index);}else{C=true;D=B[0];this._sourceHtml=A.substr(B[0].length);}}else{D=A;this._sourceHtml=null;};return { 'isTag':C,'value':D };},Each:function(A){var B;while ((B=this.Next())) A(B.isTag,B.value);}};var FCKHtmlIterator=function(A){this._sourceHtml=A;};FCKHtmlIterator.prototype={Next:function(){var A=this._sourceHtml;if (A==null) return null;var B=FCKRegexLib.HtmlTag.exec(A);var C=false;var D="";if (B){if (B.index>0){D=A.substr(0,B.index);this._sourceHtml=A.substr(B.index);}else{C=true;D=B[0];this._sourceHtml=A.substr(B[0].length);}}else{D=A;this._sourceHtml=null;};return { 'isTag':C,'value':D };},Each:function(A){var B;while ((B=this.Next())) A(B.isTag,B.value);}}; -var FCKPlugin=function(A,B,C){this.Name=A;this.BasePath=C?C:FCKConfig.PluginsPath;this.Path=this.BasePath+A+'/';if (!B||B.length==0) this.AvailableLangs=[];else this.AvailableLangs=B.split(',');};FCKPlugin.prototype.Load=function(){if (this.AvailableLangs.length>0){var A;if (this.AvailableLangs.IndexOf(FCKLanguageManager.ActiveLanguage.Code)>=0) A=FCKLanguageManager.ActiveLanguage.Code;else A=this.AvailableLangs[0];LoadScript(this.Path+'lang/'+A+'.js');};LoadScript(this.Path+'fckplugin.js');}; -var FCKPlugins=FCK.Plugins={};FCKPlugins.ItemsCount=0;FCKPlugins.Items={};FCKPlugins.Load=function(){var A=FCKPlugins.Items;for (var i=0;i-1);};String.prototype.Equals=function(){var A=arguments;if (A.length==1&&A[0].pop) A=A[0];for (var i=0;iC) return false;if (B){var E=new RegExp(A+'$','i');return E.test(this);}else return (D==0||this.substr(C-D,D)==A);};String.prototype.Remove=function(A,B){var s='';if (A>0) s=this.substring(0,A);if (A+B0){var B=A.pop();if (B) B[1].call(B[0]);};this._FCKCleanupObj=null;if (CollectGarbage) CollectGarbage();}; -var s=navigator.userAgent.toLowerCase();var FCKBrowserInfo={IsIE:/*@cc_on!@*/false,IsIE7:/*@cc_on!@*/false&&(parseInt(s.match(/msie (\d+)/)[1],10)>=7),IsIE6:/*@cc_on!@*/false&&(parseInt(s.match(/msie (\d+)/)[1],10)>=6),IsSafari:s.Contains(' applewebkit/'),IsOpera:!!window.opera,IsAIR:s.Contains(' adobeair/'),IsMac:s.Contains('macintosh')};(function(A){A.IsGecko=(navigator.product=='Gecko')&&!A.IsSafari&&!A.IsOpera;A.IsGeckoLike=(A.IsGecko||A.IsSafari||A.IsOpera);if (A.IsGecko){var B=s.match(/rv:(\d+\.\d+)/);var C=B&&parseFloat(B[1]);if (C){A.IsGecko10=(C<1.8);A.IsGecko19=(C>1.8);}}})(FCKBrowserInfo); -var FCKURLParams={};(function(){var A=document.location.search.substr(1).split('&');for (var i=0;i';if (!FCKRegexLib.HtmlOpener.test(A)) A=''+A+'';if (!FCKRegexLib.HeadOpener.test(A)) A=A.replace(FCKRegexLib.HtmlOpener,'$&');return A;}else{var B=FCKConfig.DocType+'0&&!FCKRegexLib.Html4DocType.test(FCKConfig.DocType)) B+=' style="overflow-y: scroll"';B+='>'+A+'';return B;}},ConvertToDataFormat:function(A,B,C,D){var E=FCKXHtml.GetXHTML(A,!B,D);if (C&&FCKRegexLib.EmptyOutParagraph.test(E)) return '';return E;},FixHtml:function(A){return A;}}; -var FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcessor:new FCKDataProcessor(),GetInstanceObject:(function(){var w=window;return function(name){return w[name];}})(),AttachToOnSelectionChange:function(A){this.Events.AttachEvent('OnSelectionChange',A);},GetLinkedFieldValue:function(){return this.LinkedField.value;},GetParentForm:function(){return this.LinkedField.form;},StartupValue:'',IsDirty:function(){if (this.EditMode==1) return (this.StartupValue!=this.EditingArea.Textarea.value);else{if (!this.EditorDocument) return false;return (this.StartupValue!=this.EditorDocument.body.innerHTML);}},ResetIsDirty:function(){if (this.EditMode==1) this.StartupValue=this.EditingArea.Textarea.value;else if (this.EditorDocument.body) this.StartupValue=this.EditorDocument.body.innerHTML;},StartEditor:function(){this.TempBaseTag=FCKConfig.BaseHref.length>0?'':'';var A=FCK.KeystrokeHandler=new FCKKeystrokeHandler();A.OnKeystroke=_FCK_KeystrokeHandler_OnKeystroke;A.SetKeystrokes(FCKConfig.Keystrokes);if (FCKBrowserInfo.IsIE7){if ((CTRL+86) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45) in A.Keystrokes) A.SetKeystrokes([SHIFT+45,true]);};A.SetKeystrokes([CTRL+8,true]);this.EditingArea=new FCKEditingArea(document.getElementById('xEditingArea'));this.EditingArea.FFSpellChecker=FCKConfig.FirefoxSpellChecker;this.SetData(this.GetLinkedFieldValue(),true);FCKTools.AddEventListener(document,"keydown",this._TabKeyHandler);this.AttachToOnSelectionChange(_FCK_PaddingNodeListener);if (FCKBrowserInfo.IsGecko) this.AttachToOnSelectionChange(this._ExecCheckEmptyBlock);},Focus:function(){FCK.EditingArea.Focus();},SetStatus:function(A){this.Status=A;if (A==1){FCKFocusManager.AddWindow(window,true);if (FCKBrowserInfo.IsIE) FCKFocusManager.AddWindow(window.frameElement,true);if (FCKConfig.StartupFocus) FCK.Focus();};this.Events.FireEvent('OnStatusChange',A);},FixBody:function(){var A=FCKConfig.EnterMode;if (A!='p'&&A!='div') return;var B=this.EditorDocument;if (!B) return;var C=B.body;if (!C) return;FCKDomTools.TrimNode(C);var D=C.firstChild;var E;while (D){var F=false;switch (D.nodeType){case 1:var G=D.nodeName.toLowerCase();if (!FCKListsLib.BlockElements[G]&&G!='li'&&!D.getAttribute('_fckfakelement')&&D.getAttribute('_moz_dirty')==null) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;break;case 8:if (E) F=true;break;};if (F){var H=D.parentNode;if (!E) E=H.insertBefore(B.createElement(A),D);E.appendChild(H.removeChild(D));D=E.nextSibling;}else{if (E){FCKDomTools.TrimNode(E);E=null;};D=D.nextSibling;}};if (E) FCKDomTools.TrimNode(E);},GetData:function(A){if (FCK.EditMode==1) return FCK.EditingArea.Textarea.value;this.FixBody();var B=FCK.EditorDocument;if (!B) return null;var C=FCKConfig.FullPage;var D=FCK.DataProcessor.ConvertToDataFormat(C?B.documentElement:B.body,!C,FCKConfig.IgnoreEmptyParagraphValue,A);D=FCK.ProtectEventsRestore(D);if (FCKBrowserInfo.IsIE) D=D.replace(FCKRegexLib.ToReplace,'$1');if (C){if (FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0) D=FCK.DocTypeDeclaration+'\n'+D;if (FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0) D=FCK.XmlDeclaration+'\n'+D;};return FCKConfig.ProtectedSource.Revert(D);},UpdateLinkedField:function(){var A=FCK.GetXHTML(FCKConfig.FormatOutput);if (FCKConfig.HtmlEncodeOutput) A=FCKTools.HTMLEncode(A);FCK.LinkedField.value=A;FCK.Events.FireEvent('OnAfterLinkedFieldUpdate');},RegisteredDoubleClickHandlers:{},OnDoubleClick:function(A){var B=FCK.RegisteredDoubleClickHandlers[A.tagName.toUpperCase()];if (B){for (var i=0;i0?'|ABBR|XML|EMBED|OBJECT':'ABBR|XML|EMBED|OBJECT';var C;if (B.length>0){C=new RegExp('<('+B+')(?!\w|:)','gi');A=A.replace(C,'','gi');A=A.replace(C,'<\/FCK:$1>');};B='META';if (FCKBrowserInfo.IsIE) B+='|HR';C=new RegExp('<(('+B+')(?=\\s|>|/)[\\s\\S]*?)/?>','gi');A=A.replace(C,'');return A;},SetData:function(A,B){this.EditingArea.Mode=FCK.EditMode;if (FCKBrowserInfo.IsIE&&FCK.EditorDocument){FCK.EditorDocument.detachEvent("onselectionchange",Doc_OnSelectionChange);};FCKTempBin.Reset();if (FCK.EditMode==0){this._ForceResetIsDirty=(B===true);A=FCKConfig.ProtectedSource.Protect(A);A=FCK.DataProcessor.ConvertToHtml(A);A=A.replace(FCKRegexLib.InvalidSelfCloseTags,'$1>');A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);if (FCK.TempBaseTag.length>0&&!FCKRegexLib.HasBaseTag.test(A)) A=A.replace(FCKRegexLib.HeadOpener,'$&'+FCK.TempBaseTag);var C='';if (!FCKConfig.FullPage) C+=_FCK_GetEditorAreaStyleTags();if (FCKBrowserInfo.IsIE) C+=FCK._GetBehaviorsStyle();else if (FCKConfig.ShowBorders) C+=FCKTools.GetStyleHtml(FCK_ShowTableBordersCSS,true);C+=FCKTools.GetStyleHtml(FCK_InternalCSS,true);A=A.replace(FCKRegexLib.HeadCloser,C+'$&');this.EditingArea.OnLoad=_FCK_EditingArea_OnLoad;this.EditingArea.Start(A);}else{FCK.EditorWindow=null;FCK.EditorDocument=null;FCKDomTools.PaddingNode=null;this.EditingArea.OnLoad=null;this.EditingArea.Start(A);this.EditingArea.Textarea._FCKShowContextMenu=true;FCK.EnterKeyHandler=null;if (B) this.ResetIsDirty();FCK.KeystrokeHandler.AttachToElement(this.EditingArea.Textarea);this.EditingArea.Textarea.focus();FCK.Events.FireEvent('OnAfterSetHTML');};if (FCKBrowserInfo.IsGecko) window.onresize();},RedirectNamedCommands:{},ExecuteNamedCommand:function(A,B,C,D){if (!D) FCKUndo.SaveUndoStep();if (!C&&FCK.RedirectNamedCommands[A]!=null) FCK.ExecuteRedirectedNamedCommand(A,B);else{FCK.Focus();FCK.EditorDocument.execCommand(A,false,B);FCK.Events.FireEvent('OnSelectionChange');};if (!D) FCKUndo.SaveUndoStep();},GetNamedCommandState:function(A){try{if (FCKBrowserInfo.IsSafari&&FCK.EditorWindow&&A.IEquals('Paste')) return 0;if (!FCK.EditorDocument.queryCommandEnabled(A)) return -1;else{return FCK.EditorDocument.queryCommandState(A)?1:0;}}catch (e){return 0;}},GetNamedCommandValue:function(A){var B='';var C=FCK.GetNamedCommandState(A);if (C==-1) return null;try{B=this.EditorDocument.queryCommandValue(A);}catch(e) {};return B?B:'';},Paste:function(A){if (FCK.Status!=2||!FCK.Events.FireEvent('OnPaste')) return false;return A||FCK._ExecPaste();},PasteFromWord:function(){FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.PasteFromWord,'dialog/fck_paste.html',400,330,'Word');},Preview:function(){var A;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) A=FCK.TempBaseTag+FCK.GetXHTML();else A=FCK.GetXHTML();}else{A=FCKConfig.DocType+''+FCK.TempBaseTag+''+FCKLang.Preview+''+_FCK_GetEditorAreaStyleTags()+''+FCK.GetXHTML()+'';};var B=FCKConfig.ScreenWidth*0.8;var C=FCKConfig.ScreenHeight*0.7;var D=(FCKConfig.ScreenWidth-B)/2;var E='';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A;E='javascript:void( (function(){document.open() ;document.domain="'+document.domain+'" ;document.write( window.opener._FCKHtmlToLoad );document.close() ;window.opener._FCKHtmlToLoad = null ;})() )';};var F=window.open(E,null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+B+',height='+C+',left='+D);if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){F.document.write(A);F.document.close();}},SwitchEditMode:function(A){var B=(FCK.EditMode==0);var C=FCK.IsDirty();var D;if (B){FCKCommands.GetCommand('ShowBlocks').SaveState();if (!A&&FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();D=FCK.GetXHTML(FCKConfig.FormatSource);if (FCKBrowserInfo.IsIE) FCKTempBin.ToHtml();if (D==null) return false;}else D=this.EditingArea.Textarea.value;FCK.EditMode=B?1:0;FCK.SetData(D,!C);FCK.Focus();FCKTools.RunFunction(FCK.ToolbarSet.RefreshModeState,FCK.ToolbarSet);return true;},InsertElement:function(A){if (typeof A=='string') A=this.EditorDocument.createElement(A);var B=A.nodeName.toLowerCase();FCKSelection.Restore();var C=new FCKDomRange(this.EditorWindow);C.MoveToSelection();C.DeleteContents();if (FCKListsLib.BlockElements[B]!=null){if (C.StartBlock){if (C.CheckStartOfBlock()) C.MoveToPosition(C.StartBlock,3);else if (C.CheckEndOfBlock()) C.MoveToPosition(C.StartBlock,4);else C.SplitBlock();};C.InsertNode(A);var D=FCKDomTools.GetNextSourceElement(A,false,null,['hr','br','param','img','area','input'],true);if (!D&&FCKConfig.EnterMode!='br'){D=this.EditorDocument.body.appendChild(this.EditorDocument.createElement(FCKConfig.EnterMode));if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);};if (FCKListsLib.EmptyElements[B]==null) C.MoveToElementEditStart(A);else if (D) C.MoveToElementEditStart(D);else C.MoveToPosition(A,4);if (FCKBrowserInfo.IsGeckoLike){if (D) FCKDomTools.ScrollIntoView(D,false);FCKDomTools.ScrollIntoView(A,false);}}else{C.InsertNode(A);C.SetStart(A,4);C.SetEnd(A,4);};C.Select();C.Release();this.Focus();return A;},_InsertBlockElement:function(A){},_IsFunctionKey:function(A){if (A>=16&&A<=20) return true;if (A==27||(A>=33&&A<=40)) return true;if (A==45) return true;return false;},_KeyDownListener:function(A){if (!A) A=FCK.EditorWindow.event;if (FCK.EditorWindow){if (!FCK._IsFunctionKey(A.keyCode)&&!(A.ctrlKey||A.metaKey)&&!(A.keyCode==46)) FCK._KeyDownUndo();};return true;},_KeyDownUndo:function(){if (!FCKUndo.Typing){FCKUndo.SaveUndoStep();FCKUndo.Typing=true;FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.TypesCount++;FCKUndo.Changed=1;if (FCKUndo.TypesCount>FCKUndo.MaxTypes){FCKUndo.TypesCount=0;FCKUndo.SaveUndoStep();}},_TabKeyHandler:function(A){if (!A) A=window.event;var B=A.keyCode;if (B==9&&FCK.EditMode!=0){if (FCKBrowserInfo.IsIE){var C=document.selection.createRange();if (C.parentElement()!=FCK.EditingArea.Textarea) return true;C.text='\t';C.select();}else{var a=[];var D=FCK.EditingArea.Textarea;var E=D.selectionStart;var F=D.selectionEnd;a.push(D.value.substr(0,E));a.push('\t');a.push(D.value.substr(F));D.value=a.join('');D.setSelectionRange(E+1,E+1);};if (A.preventDefault) return A.preventDefault();return A.returnValue=false;};return true;}};FCK.Events=new FCKEvents(FCK);FCK.GetHTML=FCK.GetXHTML=FCK.GetData;FCK.SetHTML=FCK.SetData;FCK.InsertElementAndGetIt=FCK.CreateElement=FCK.InsertElement;function _FCK_ProtectEvents_ReplaceTags(A){return A.replace(FCKRegexLib.EventAttributes,_FCK_ProtectEvents_ReplaceEvents);};function _FCK_ProtectEvents_ReplaceEvents(A,B){return ' '+B+'_fckprotectedatt="'+encodeURIComponent(A)+'"';};function _FCK_ProtectEvents_RestoreEvents(A,B){return decodeURIComponent(B);};function _FCK_MouseEventsListener(A){if (!A) A=window.event;if (A.type=='mousedown') FCK.MouseDownFlag=true;else if (A.type=='mouseup') FCK.MouseDownFlag=false;else if (A.type=='mousemove') FCK.Events.FireEvent('OnMouseMove',A);};function _FCK_PaddingNodeListener(){if (FCKConfig.EnterMode.IEquals('br')) return;FCKDomTools.EnforcePaddingNode(FCK.EditorDocument,FCKConfig.EnterMode);if (!FCKBrowserInfo.IsIE&&FCKDomTools.PaddingNode){var A=FCKSelection.GetSelection();if (A&&A.rangeCount==1){var B=A.getRangeAt(0);if (B.collapsed&&B.startContainer==FCK.EditorDocument.body&&B.startOffset==0){B.selectNodeContents(FCKDomTools.PaddingNode);B.collapse(true);A.removeAllRanges();A.addRange(B);}}}else if (FCKDomTools.PaddingNode){var C=FCKSelection.GetParentElement();var D=FCKDomTools.PaddingNode;if (C&&C.nodeName.IEquals('body')){if (FCK.EditorDocument.body.childNodes.length==1&&FCK.EditorDocument.body.firstChild==D){if (FCKSelection._GetSelectionDocument(FCK.EditorDocument.selection)!=FCK.EditorDocument) return;var B=FCK.EditorDocument.body.createTextRange();var F=false;if (!D.childNodes.firstChild){D.appendChild(FCKTools.GetElementDocument(D).createTextNode('\ufeff'));F=true;};B.moveToElementText(D);B.select();if (F) B.pasteHTML('');}}}};function _FCK_EditingArea_OnLoad(){FCK.EditorWindow=FCK.EditingArea.Window;FCK.EditorDocument=FCK.EditingArea.Document;if (FCKBrowserInfo.IsIE) FCKTempBin.ToElements();FCK.InitializeBehaviors();FCK.MouseDownFlag=false;FCKTools.AddEventListener(FCK.EditorDocument,'mousemove',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,'mousedown',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,'mouseup',_FCK_MouseEventsListener);if (FCKBrowserInfo.IsSafari){var A=function(evt){if (!(evt.ctrlKey||evt.metaKey)) return;if (FCK.EditMode!=0) return;switch (evt.keyCode){case 89:FCKUndo.Redo();break;case 90:FCKUndo.Undo();break;}};FCKTools.AddEventListener(FCK.EditorDocument,'keyup',A);};FCK.EnterKeyHandler=new FCKEnterKey(FCK.EditorWindow,FCKConfig.EnterMode,FCKConfig.ShiftEnterMode,FCKConfig.TabSpaces);FCK.KeystrokeHandler.AttachToElement(FCK.EditorDocument);if (FCK._ForceResetIsDirty) FCK.ResetIsDirty();if (FCKBrowserInfo.IsIE&&FCK.HasFocus) FCK.EditorDocument.body.setActive();FCK.OnAfterSetHTML();FCKCommands.GetCommand('ShowBlocks').RestoreState();if (FCK.Status!=0) return;FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){return FCKTools.GetStyleHtml(FCKConfig.EditorAreaCSS)+FCKTools.GetStyleHtml(FCKConfig.EditorAreaStyles);};function _FCK_KeystrokeHandler_OnKeystroke(A,B){if (FCK.Status!=2) return false;if (FCK.EditMode==0){switch (B){case 'Paste':return!FCK.Paste();case 'Cut':FCKUndo.SaveUndoStep();return false;}}else{if (B.Equals('Paste','Undo','Redo','SelectAll','Cut')) return false;};var C=FCK.Commands.GetCommand(B);if (C.GetState()==-1) return false;return (C.Execute.apply(C,FCKTools.ArgumentsToArray(arguments,2))!==false);};(function(){var A=window.parent.document;var B=A.getElementById(FCK.Name);var i=0;while (B||i==0){if (B&&B.tagName.toLowerCase().Equals('input','textarea')){FCK.LinkedField=B;break;};B=A.getElementsByName(FCK.Name)[i++];}})();var FCKTempBin={Elements:[],AddElement:function(A){var B=this.Elements.length;this.Elements[B]=A;return B;},RemoveElement:function(A){var e=this.Elements[A];this.Elements[A]=null;return e;},Reset:function(){var i=0;while (i '+this.Elements[i].outerHTML+'';this.Elements[i].isHtml=true;}},ToElements:function(){var A=FCK.EditorDocument.createElement('div');for (var i=0;i0) C+='TABLE { behavior: '+B+' ; }';C+='';FCK._BehaviorsStyle=C;};return FCK._BehaviorsStyle;};function Doc_OnMouseUp(){if (FCK.EditorWindow.event.srcElement.tagName=='HTML'){FCK.Focus();FCK.EditorWindow.event.cancelBubble=true;FCK.EditorWindow.event.returnValue=false;}};function Doc_OnPaste(){var A=FCK.EditorDocument.body;A.detachEvent('onpaste',Doc_OnPaste);var B=FCK.Paste(!FCKConfig.ForcePasteAsPlainText&&!FCKConfig.AutoDetectPasteFromWord);A.attachEvent('onpaste',Doc_OnPaste);return B;};function Doc_OnDblClick(){FCK.OnDoubleClick(FCK.EditorWindow.event.srcElement);FCK.EditorWindow.event.cancelBubble=true;};function Doc_OnSelectionChange(){if (!FCK.IsSelectionChangeLocked&&FCK.EditorDocument) FCK.Events.FireEvent("OnSelectionChange");};function Doc_OnDrop(){if (FCK.MouseDownFlag){FCK.MouseDownFlag=false;return;};if (FCKConfig.ForcePasteAsPlainText){var A=FCK.EditorWindow.event;if (FCK._CheckIsPastingEnabled()||FCKConfig.ShowDropDialog) FCK.PasteAsPlainText(A.dataTransfer.getData('Text'));A.returnValue=false;A.cancelBubble=true;}};FCK.InitializeBehaviors=function(A){this.EditorDocument.attachEvent('onmouseup',Doc_OnMouseUp);this.EditorDocument.body.attachEvent('onpaste',Doc_OnPaste);this.EditorDocument.body.attachEvent('ondrop',Doc_OnDrop);FCK.ContextMenu._InnerContextMenu.AttachToElement(FCK.EditorDocument.body);this.EditorDocument.attachEvent("onkeydown",FCK._KeyDownListener);this.EditorDocument.attachEvent("ondblclick",Doc_OnDblClick);this.EditorDocument.attachEvent("onbeforedeactivate",function(){ FCKSelection.Save(true);});this.EditorDocument.attachEvent("onselectionchange",Doc_OnSelectionChange);FCKTools.AddEventListener(FCK.EditorDocument,'mousedown',Doc_OnMouseDown);};FCK.InsertHtml=function(A){A=FCKConfig.ProtectedSource.Protect(A);A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);FCKSelection.Restore();FCK.EditorWindow.focus();FCKUndo.SaveUndoStep();var B=FCKSelection.GetSelection();if (B.type.toLowerCase()=='control') B.clear();A=''+A;B.createRange().pasteHTML(A);FCK.EditorDocument.getElementById('__fakeFCKRemove__').removeNode(true);FCKDocumentProcessor.Process(FCK.EditorDocument);this.Events.FireEvent("OnSelectionChange");};FCK.SetInnerHtml=function(A){var B=FCK.EditorDocument;B.body.innerHTML='
     
    '+A;B.getElementById('__fakeFCKRemove__').removeNode(true);};function FCK_PreloadImages(){var A=new FCKImagePreloader();A.AddImages(FCKConfig.PreloadImages);A.AddImages(FCKConfig.SkinPath+'fck_strip.gif');A.OnComplete=LoadToolbarSetup;A.Start();};function Document_OnContextMenu(){return (event.srcElement._FCKShowContextMenu==true);};document.oncontextmenu=Document_OnContextMenu;function FCK_Cleanup(){this.LinkedField=null;this.EditorWindow=null;this.EditorDocument=null;};FCK._ExecPaste=function(){if (FCK._PasteIsRunning) return true;if (FCKConfig.ForcePasteAsPlainText){FCK.PasteAsPlainText();return false;};var A=FCK._CheckIsPastingEnabled(true);if (A===false) FCKTools.RunFunction(FCKDialog.OpenDialog,FCKDialog,['FCKDialog_Paste',FCKLang.Paste,'dialog/fck_paste.html',400,330,'Security']);else{if (FCKConfig.AutoDetectPasteFromWord&&A.length>0){var B=/<\w[^>]*(( class="?MsoNormal"?)|(="mso-))/gi;if (B.test(A)){if (confirm(FCKLang.PasteWordConfirm)){FCK.PasteFromWord();return false;}}};FCK._PasteIsRunning=true;FCK.ExecuteNamedCommand('Paste');delete FCK._PasteIsRunning;};return false;};FCK.PasteAsPlainText=function(A){if (!FCK._CheckIsPastingEnabled()){FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.PasteAsText,'dialog/fck_paste.html',400,330,'PlainText');return;};var B=null;if (!A) B=clipboardData.getData("Text");else B=A;if (B&&B.length>0){B=FCKTools.HTMLEncode(B);B=FCKTools.ProcessLineBreaks(window,FCKConfig,B);var C=B.search('

    ');var D=B.search('

    ');if ((C!=-1&&D!=-1&&C0){if (FCKSelection.GetType()=='Control'){var D=this.EditorDocument.createElement('A');D.href=A;var E=FCKSelection.GetSelectedElement();E.parentNode.insertBefore(D,E);E.parentNode.removeChild(E);D.appendChild(E);return [D];};var F='javascript:void(0);/*'+(new Date().getTime())+'*/';FCK.ExecuteNamedCommand('CreateLink',F,false,!!B);var G=this.EditorDocument.links;for (i=0;i0&&!isNaN(E)) this.PageConfig[D]=parseInt(E,10);else this.PageConfig[D]=E;}};function FCKConfig_LoadPageConfig(){var A=FCKConfig.PageConfig;for (var B in A) FCKConfig[B]=A[B];};function FCKConfig_PreProcess(){var A=FCKConfig;if (A.AllowQueryStringDebug){try{if ((/fckdebug=true/i).test(window.top.location.search)) A.Debug=true;}catch (e) { }};if (!A.PluginsPath.EndsWith('/')) A.PluginsPath+='/';var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;A.RemoveAttributesArray=(A.RemoveAttributes||'').split(',');if (!FCKConfig.SkinEditorCSS||FCKConfig.SkinEditorCSS.length==0) FCKConfig.SkinEditorCSS=FCKConfig.SkinPath+'fck_editor.css';if (!FCKConfig.SkinDialogCSS||FCKConfig.SkinDialogCSS.length==0) FCKConfig.SkinDialogCSS=FCKConfig.SkinPath+'fck_dialog.css';};FCKConfig.ToolbarSets={};FCKConfig.Plugins={};FCKConfig.Plugins.Items=[];FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.AddItem([A,B,C]);};FCKConfig.ProtectedSource={};FCKConfig.ProtectedSource._CodeTag=(new Date()).valueOf();FCKConfig.ProtectedSource.RegexEntries=[//g,//gi,//gi];FCKConfig.ProtectedSource.Add=function(A){this.RegexEntries.AddItem(A);};FCKConfig.ProtectedSource.Protect=function(A){var B=this._CodeTag;function _Replace(protectedSource){var C=FCKTempBin.AddElement(protectedSource);return '';};for (var i=0;i|>)","g");return A.replace(D,_Replace);};FCKConfig.GetBodyAttributes=function(){var A='';if (this.BodyId&&this.BodyId.length>0) A+=' id="'+this.BodyId+'"';if (this.BodyClass&&this.BodyClass.length>0) A+=' class="'+this.BodyClass+'"';return A;};FCKConfig.ApplyBodyAttributes=function(A){if (this.BodyId&&this.BodyId.length>0) A.id=FCKConfig.BodyId;if (this.BodyClass&&this.BodyClass.length>0) A.className+=' '+FCKConfig.BodyClass;}; -var FCKDebug={Output:function(){},OutputObject:function(){}}; -var FCKDomTools={MoveChildren:function(A,B,C){if (A==B) return;var D;if (C){while ((D=A.lastChild)) B.insertBefore(A.removeChild(D),B.firstChild);}else{while ((D=A.firstChild)) B.appendChild(A.removeChild(D));}},MoveNode:function(A,B,C){if (C) B.insertBefore(FCKDomTools.RemoveNode(A),B.firstChild);else B.appendChild(FCKDomTools.RemoveNode(A));},TrimNode:function(A){this.LTrimNode(A);this.RTrimNode(A);},LTrimNode:function(A){var B;while ((B=A.firstChild)){if (B.nodeType==3){var C=B.nodeValue.LTrim();var D=B.nodeValue.length;if (C.length==0){A.removeChild(B);continue;}else if (C.length0) break;if (A.lastChild) A=A.lastChild;else return this.GetPreviousSourceElement(A,B,C,D);};return null;},GetNextSourceElement:function(A,B,C,D,E){while((A=this.GetNextSourceNode(A,E))){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (D&&A.nodeName.IEquals(D)) return this.GetNextSourceElement(A,B,C,D);return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;};return null;},GetNextSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.firstChild) E=A.firstChild;else{if (D&&A==D) return null;E=A.nextSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetNextSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetNextSourceNode(E,false,C,D);return E;},GetPreviousSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.lastChild) E=A.lastChild;else{if (D&&A==D) return null;E=A.previousSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetPreviousSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetPreviousSourceNode(E,false,C,D);return E;},InsertAfterNode:function(A,B){return A.parentNode.insertBefore(B,A.nextSibling);},GetParents:function(A){var B=[];while (A){B.unshift(A);A=A.parentNode;};return B;},GetCommonParents:function(A,B){var C=this.GetParents(A);var D=this.GetParents(B);var E=[];for (var i=0;i0) D[C.pop().toLowerCase()]=1;var E=this.GetCommonParents(A,B);var F=null;while ((F=E.pop())){if (D[F.nodeName.toLowerCase()]) return F;};return null;},GetIndexOf:function(A){var B=A.parentNode?A.parentNode.firstChild:null;var C=-1;while (B){C++;if (B==A) return C;B=B.nextSibling;};return-1;},PaddingNode:null,EnforcePaddingNode:function(A,B){try{if (!A||!A.body) return;}catch (e){return;};this.CheckAndRemovePaddingNode(A,B,true);try{if (A.body.lastChild&&(A.body.lastChild.nodeType!=1||A.body.lastChild.tagName.toLowerCase()==B.toLowerCase())) return;}catch (e){return;};var C=A.createElement(B);if (FCKBrowserInfo.IsGecko&&FCKListsLib.NonEmptyBlockElements[B]) FCKTools.AppendBogusBr(C);this.PaddingNode=C;if (A.body.childNodes.length==1&&A.body.firstChild.nodeType==1&&A.body.firstChild.tagName.toLowerCase()=='br'&&(A.body.firstChild.getAttribute('_moz_dirty')!=null||A.body.firstChild.getAttribute('type')=='_moz')) A.body.replaceChild(C,A.body.firstChild);else A.body.appendChild(C);},CheckAndRemovePaddingNode:function(A,B,C){var D=this.PaddingNode;if (!D) return;try{if (D.parentNode!=A.body||D.tagName.toLowerCase()!=B||(D.childNodes.length>1)||(D.firstChild&&D.firstChild.nodeValue!='\xa0'&&String(D.firstChild.tagName).toLowerCase()!='br')){this.PaddingNode=null;return;}}catch (e){this.PaddingNode=null;return;};if (!C){if (D.parentNode.childNodes.length>1) D.parentNode.removeChild(D);this.PaddingNode=null;}},HasAttribute:function(A,B){if (A.hasAttribute) return A.hasAttribute(B);else{var C=A.attributes[B];return (C!=undefined&&C.specified);}},HasAttributes:function(A){var B=A.attributes;for (var i=0;i0) return true;}else if (B[i].specified) return true;};return false;},RemoveAttribute:function(A,B){if (FCKBrowserInfo.IsIE&&B.toLowerCase()=='class') B='className';return A.removeAttribute(B,0);},RemoveAttributes:function (A,B){for (var i=0;i0) return false;C=C.nextSibling;};return D?this.CheckIsEmptyElement(D,B):true;},SetElementStyles:function(A,B){var C=A.style;for (var D in B) C[D]=B[D];},SetOpacity:function(A,B){if (FCKBrowserInfo.IsIE){B=Math.round(B*100);A.style.filter=(B>100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+B+')');}else A.style.opacity=B;},GetCurrentElementStyle:function(A,B){if (FCKBrowserInfo.IsIE) return A.currentStyle[B];else return A.ownerDocument.defaultView.getComputedStyle(A,'').getPropertyValue(B);},GetPositionedAncestor:function(A){var B=A;while (B!=FCKTools.GetElementDocument(B).documentElement){if (this.GetCurrentElementStyle(B,'position')!='static') return B;if (B==FCKTools.GetElementDocument(B).documentElement&¤tWindow!=w) B=currentWindow.frameElement;else B=B.parentNode;};return null;},ScrollIntoView:function(A,B){var C=FCKTools.GetElementWindow(A);var D=FCKTools.GetViewPaneSize(C).Height;var E=D*-1;if (B===false){E+=A.offsetHeight||0;E+=parseInt(this.GetCurrentElementStyle(A,'marginBottom')||0,10)||0;};var F=FCKTools.GetDocumentPosition(C,A);E+=F.y;var G=FCKTools.GetScrollPosition(C).Y;if (E>0&&(E>G||E'+styleDef+'';};var C=function(cssFileUrl,markTemp){if (cssFileUrl.length==0) return '';var B=markTemp?' _fcktemp="true"':'';return '';};return function(cssFileOrArrayOrDef,markTemp){if (!cssFileOrArrayOrDef) return '';if (typeof(cssFileOrArrayOrDef)=='string'){if (/[\\\/\.][^{}]*$/.test(cssFileOrArrayOrDef)){return this.GetStyleHtml(cssFileOrArrayOrDef.split(','),markTemp);}else return A(this._GetUrlFixedCss(cssFileOrArrayOrDef),markTemp);}else{var E='';for (var i=0;i/g,'>');return A;};FCKTools.HTMLDecode=function(A){if (!A) return '';A=A.replace(/>/g,'>');A=A.replace(/</g,'<');A=A.replace(/&/g,'&');return A;};FCKTools._ProcessLineBreaksForPMode=function(A,B,C,D,E){var F=0;var G="

    ";var H="

    ";var I="
    ";if (C){G="
  • ";H="
  • ";F=1;}while (D&&D!=A.FCK.EditorDocument.body){if (D.tagName.toLowerCase()=='p'){F=1;break;};D=D.parentNode;};for (var i=0;i0) return A[A.length-1];return null;};FCKTools.GetDocumentPosition=function(w,A){var x=0;var y=0;var B=A;var C=null;var D=FCKTools.GetElementWindow(B);while (B&&!(D==w&&(B==w.document.body||B==w.document.documentElement))){x+=B.offsetLeft-B.scrollLeft;y+=B.offsetTop-B.scrollTop;if (!FCKBrowserInfo.IsOpera){var E=C;while (E&&E!=B){x-=E.scrollLeft;y-=E.scrollTop;E=E.parentNode;}};C=B;if (B.offsetParent) B=B.offsetParent;else{if (D!=w){B=D.frameElement;C=null;if (B) D=B.contentWindow.parent;}else B=null;}};if (FCKDomTools.GetCurrentElementStyle(w.document.body,'position')!='static'||(FCKBrowserInfo.IsIE&&FCKDomTools.GetPositionedAncestor(A)==null)){x+=w.document.body.offsetLeft;y+=w.document.body.offsetTop;};return { "x":x,"y":y };};FCKTools.GetWindowPosition=function(w,A){var B=this.GetDocumentPosition(w,A);var C=FCKTools.GetScrollPosition(w);B.x-=C.X;B.y-=C.Y;return B;};FCKTools.ProtectFormStyles=function(A){if (!A||A.nodeType!=1||A.tagName.toLowerCase()!='form') return [];var B=[];var C=['style','className'];for (var i=0;i0){for (var i=B.length-1;i>=0;i--){var C=B[i][0];var D=B[i][1];if (D) A.insertBefore(C,D);else A.appendChild(C);}}};FCKTools.GetNextNode=function(A,B){if (A.firstChild) return A.firstChild;else if (A.nextSibling) return A.nextSibling;else{var C=A.parentNode;while (C){if (C==B) return null;if (C.nextSibling) return C.nextSibling;else C=C.parentNode;}};return null;};FCKTools.GetNextTextNode=function(A,B,C){node=this.GetNextNode(A,B);if (C&&node&&C(node)) return null;while (node&&node.nodeType!=3){node=this.GetNextNode(node,B);if (C&&node&&C(node)) return null;};return node;};FCKTools.Merge=function(){var A=arguments;var o=A[0];for (var i=1;i');document.domain = '"+FCK_RUNTIME_DOMAIN+"';document.close();}() ) ;";if (FCKBrowserInfo.IsIE){if (FCKBrowserInfo.IsIE7||!FCKBrowserInfo.IsIE6) return "";else return "javascript: '';";};return "javascript: void(0);";};FCKTools.ResetStyles=function(A){A.style.cssText='margin:0;padding:0;border:0;background-color:transparent;background-image:none;';}; -FCKTools.CancelEvent=function(e){return false;};FCKTools._AppendStyleSheet=function(A,B){return A.createStyleSheet(B).owningElement;};FCKTools.AppendStyleString=function(A,B){if (!B) return null;var s=A.createStyleSheet("");s.cssText=B;return s;};FCKTools.ClearElementAttributes=function(A){A.clearAttributes();};FCKTools.GetAllChildrenIds=function(A){var B=[];for (var i=0;i0) B[B.length]=C;};return B;};FCKTools.RemoveOuterTags=function(e){e.insertAdjacentHTML('beforeBegin',e.innerHTML);e.parentNode.removeChild(e);};FCKTools.CreateXmlObject=function(A){var B;switch (A){case 'XmlHttp':if (document.location.protocol!='file:') try { return new XMLHttpRequest();} catch (e) {};B=['MSXML2.XmlHttp','Microsoft.XmlHttp'];break;case 'DOMDocument':B=['MSXML2.DOMDocument','Microsoft.XmlDom'];break;};for (var i=0;i<2;i++){try { return new ActiveXObject(B[i]);}catch (e){}};if (FCKLang.NoActiveX){alert(FCKLang.NoActiveX);FCKLang.NoActiveX=null;};return null;};FCKTools.DisableSelection=function(A){A.unselectable='on';var e,i=0;while ((e=A.all[i++])){switch (e.tagName){case 'IFRAME':case 'TEXTAREA':case 'INPUT':case 'SELECT':break;default:e.unselectable='on';}}};FCKTools.GetScrollPosition=function(A){var B=A.document;var C={ X:B.documentElement.scrollLeft,Y:B.documentElement.scrollTop };if (C.X>0||C.Y>0) return C;return { X:B.body.scrollLeft,Y:B.body.scrollTop };};FCKTools.AddEventListener=function(A,B,C){A.attachEvent('on'+B,C);};FCKTools.RemoveEventListener=function(A,B,C){A.detachEvent('on'+B,C);};FCKTools.AddEventListenerEx=function(A,B,C,D){var o={};o.Source=A;o.Params=D||[];o.Listener=function(ev){return C.apply(o.Source,[ev].concat(o.Params));};if (FCK.IECleanup) FCK.IECleanup.AddItem(null,function() { o.Source=null;o.Params=null;});A.attachEvent('on'+B,o.Listener);A=null;D=null;};FCKTools.GetViewPaneSize=function(A){var B;var C=A.document.documentElement;if (C&&C.clientWidth) B=C;else B=A.document.body;if (B) return { Width:B.clientWidth,Height:B.clientHeight };else return { Width:0,Height:0 };};FCKTools.SaveStyles=function(A){var B=FCKTools.ProtectFormStyles(A);var C={};if (A.className.length>0){C.Class=A.className;A.className='';};var D=A.style.cssText;if (D.length>0){C.Inline=D;A.style.cssText='';};FCKTools.RestoreFormStyles(A,B);return C;};FCKTools.RestoreStyles=function(A,B){var C=FCKTools.ProtectFormStyles(A);A.className=B.Class||'';A.style.cssText=B.Inline||'';FCKTools.RestoreFormStyles(A,C);};FCKTools.RegisterDollarFunction=function(A){A.$=A.document.getElementById;};FCKTools.AppendElement=function(A,B){return A.appendChild(this.GetElementDocument(A).createElement(B));};FCKTools.ToLowerCase=function(A){return A.toLowerCase();}; -var FCKeditorAPI;function InitializeAPI(){var A=window.parent;if (!(FCKeditorAPI=A.FCKeditorAPI)){var B='window.FCKeditorAPI = {Version : "2.6.3",VersionBuild : "19836",Instances : new Object(),GetInstance : function( name ){return this.Instances[ name ];},_FormSubmit : function(){for ( var name in FCKeditorAPI.Instances ){var oEditor = FCKeditorAPI.Instances[ name ] ;if ( oEditor.GetParentForm && oEditor.GetParentForm() == this )oEditor.UpdateLinkedField() ;}this._FCKOriginalSubmit() ;},_FunctionQueue : {Functions : new Array(),IsRunning : false,Add : function( f ){this.Functions.push( f );if ( !this.IsRunning )this.StartNext();},StartNext : function(){var aQueue = this.Functions ;if ( aQueue.length > 0 ){this.IsRunning = true;aQueue[0].call();}else this.IsRunning = false;},Remove : function( f ){var aQueue = this.Functions;var i = 0, fFunc;while( (fFunc = aQueue[ i ]) ){if ( fFunc == f )aQueue.splice( i,1 );i++ ;}this.StartNext();}}}';if (A.execScript) A.execScript(B,'JavaScript');else{if (FCKBrowserInfo.IsGecko10){eval.call(A,B);}else if(FCKBrowserInfo.IsAIR){FCKAdobeAIR.FCKeditorAPI_Evaluate(A,B);}else if (FCKBrowserInfo.IsSafari){var C=A.document;var D=C.createElement('script');D.appendChild(C.createTextNode(B));C.documentElement.appendChild(D);}else A.eval(B);};FCKeditorAPI=A.FCKeditorAPI;FCKeditorAPI.__Instances=FCKeditorAPI.Instances;};FCKeditorAPI.Instances[FCK.Name]=FCK;};function _AttachFormSubmitToAPI(){var A=FCK.GetParentForm();if (A){FCKTools.AddEventListener(A,'submit',FCK.UpdateLinkedField);if (!A._FCKOriginalSubmit&&(typeof(A.submit)=='function'||(!A.submit.tagName&&!A.submit.length))){A._FCKOriginalSubmit=A.submit;A.submit=FCKeditorAPI._FormSubmit;}}};function FCKeditorAPI_Cleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat&&!window.FCKUnloadFlag) return;delete FCKeditorAPI.Instances[FCK.Name];};function FCKeditorAPI_ConfirmCleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat) window.FCKUnloadFlag=true;};FCKTools.AddEventListener(window,'unload',FCKeditorAPI_Cleanup);FCKTools.AddEventListener(window,'beforeunload',FCKeditorAPI_ConfirmCleanup); -var FCKImagePreloader=function(){this._Images=[];};FCKImagePreloader.prototype={AddImages:function(A){if (typeof(A)=='string') A=A.split(';');this._Images=this._Images.concat(A);},Start:function(){var A=this._Images;this._PreloadCount=A.length;for (var i=0;i]*\>)/i,AfterBody:/(\<\/body\>[\s\S]*$)/i,ToReplace:/___fcktoreplace:([\w]+)/ig,MetaHttpEquiv:/http-equiv\s*=\s*["']?([^"' ]+)/i,HasBaseTag:/]/i,HtmlOpener:/]*>/i,HeadOpener:/]*>/i,HeadCloser:/<\/head\s*>/i,FCK_Class:/\s*FCK__[^ ]*(?=\s+|$)/,ElementName:/(^[a-z_:][\w.\-:]*\w$)|(^[a-z_]$)/,ForceSimpleAmpersand:/___FCKAmp___/g,SpaceNoClose:/\/>/g,EmptyParagraph:/^<(p|div|address|h\d|center)(?=[ >])[^>]*>\s*(<\/\1>)?$/,EmptyOutParagraph:/^<(p|div|address|h\d|center)(?=[ >])[^>]*>(?:\s*| )(<\/\1>)?$/,TagBody:/>]+))/gi,ProtectUrlsA:/]+))/gi,ProtectUrlsArea:/]+))/gi,Html4DocType:/HTML 4\.0 Transitional/i,DocTypeTag:/]*>/i,HtmlDocType:/DTD HTML/,TagsWithEvent:/<[^\>]+ on\w+[\s\r\n]*=[\s\r\n]*?('|")[\s\S]+?\>/g,EventAttributes:/\s(on\w+)[\s\r\n]*=[\s\r\n]*?('|")([\s\S]*?)\2/g,ProtectedEvents:/\s\w+_fckprotectedatt="([^"]+)"/g,StyleProperties:/\S+\s*:/g,InvalidSelfCloseTags:/(<(?!base|meta|link|hr|br|param|img|area|input)([a-zA-Z0-9:]+)[^>]*)\/>/gi,StyleVariableAttName:/#\(\s*("|')(.+?)\1[^\)]*\s*\)/g,RegExp:/^\/(.*)\/([gim]*)$/,HtmlTag:/<[^\s<>](?:"[^"]*"|'[^']*'|[^<])*>/}; -var FCKListsLib={BlockElements:{ address:1,blockquote:1,center:1,div:1,dl:1,fieldset:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,marquee:1,noscript:1,ol:1,p:1,pre:1,script:1,table:1,ul:1 },NonEmptyBlockElements:{ p:1,div:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,address:1,pre:1,ol:1,ul:1,li:1,td:1,th:1 },InlineChildReqElements:{ abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,'var':1 },InlineNonEmptyElements:{ a:1,abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,'var':1 },EmptyElements:{ base:1,col:1,meta:1,link:1,hr:1,br:1,param:1,img:1,area:1,input:1 },PathBlockElements:{ address:1,blockquote:1,dl:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1,li:1,dt:1,de:1 },PathBlockLimitElements:{ body:1,div:1,td:1,th:1,caption:1,form:1 },StyleBlockElements:{ address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1 },StyleObjectElements:{ img:1,hr:1,li:1,table:1,tr:1,td:1,embed:1,object:1,ol:1,ul:1 },NonEditableElements:{ button:1,option:1,script:1,iframe:1,textarea:1,object:1,embed:1,map:1,applet:1 },BlockBoundaries:{ p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1 },ListBoundaries:{ p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1,br:1 }}; -var FCKLanguageManager=FCK.Language={AvailableLanguages:{af:'Afrikaans',ar:'Arabic',bg:'Bulgarian',bn:'Bengali/Bangla',bs:'Bosnian',ca:'Catalan',cs:'Czech',da:'Danish',de:'German',el:'Greek',en:'English','en-au':'English (Australia)','en-ca':'English (Canadian)','en-uk':'English (United Kingdom)',eo:'Esperanto',es:'Spanish',et:'Estonian',eu:'Basque',fa:'Persian',fi:'Finnish',fo:'Faroese',fr:'French','fr-ca':'French (Canada)',gl:'Galician',gu:'Gujarati',he:'Hebrew',hi:'Hindi',hr:'Croatian',hu:'Hungarian',it:'Italian',ja:'Japanese',km:'Khmer',ko:'Korean',lt:'Lithuanian',lv:'Latvian',mn:'Mongolian',ms:'Malay',nb:'Norwegian Bokmal',nl:'Dutch',no:'Norwegian',pl:'Polish',pt:'Portuguese (Portugal)','pt-br':'Portuguese (Brazil)',ro:'Romanian',ru:'Russian',sk:'Slovak',sl:'Slovenian',sr:'Serbian (Cyrillic)','sr-latn':'Serbian (Latin)',sv:'Swedish',th:'Thai',tr:'Turkish',uk:'Ukrainian',vi:'Vietnamese',zh:'Chinese Traditional','zh-cn':'Chinese Simplified'},GetActiveLanguage:function(){if (FCKConfig.AutoDetectLanguage){var A;if (navigator.userLanguage) A=navigator.userLanguage.toLowerCase();else if (navigator.language) A=navigator.language.toLowerCase();else{return FCKConfig.DefaultLanguage;};if (A.length>=5){A=A.substr(0,5);if (this.AvailableLanguages[A]) return A;};if (A.length>=2){A=A.substr(0,2);if (this.AvailableLanguages[A]) return A;}};return this.DefaultLanguage;},TranslateElements:function(A,B,C,D){var e=A.getElementsByTagName(B);var E,s;for (var i=0;i0) C+='|'+FCKConfig.AdditionalNumericEntities;FCKXHtmlEntities.EntitiesRegex=new RegExp(C,'g');}; -var FCKXHtml={};FCKXHtml.CurrentJobNum=0;FCKXHtml.GetXHTML=function(A,B,C){FCKDomTools.CheckAndRemovePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);FCKXHtmlEntities.Initialize();this._NbspEntity=(FCKConfig.ProcessHTMLEntities?'nbsp':'#160');var D=FCK.IsDirty();FCKXHtml.SpecialBlocks=[];this.XML=FCKTools.CreateXmlObject('DOMDocument');this.MainNode=this.XML.appendChild(this.XML.createElement('xhtml'));FCKXHtml.CurrentJobNum++;if (B) this._AppendNode(this.MainNode,A);else this._AppendChildNodes(this.MainNode,A,false);var E=this._GetMainXmlString();this.XML=null;if (FCKBrowserInfo.IsSafari) E=E.replace(/^/,'');E=E.substr(7,E.length-15).Trim();if (FCKConfig.DocType.length>0&&FCKRegexLib.HtmlDocType.test(FCKConfig.DocType)) E=E.replace(FCKRegexLib.SpaceNoClose,'>');else E=E.replace(FCKRegexLib.SpaceNoClose,' />');if (FCKConfig.ForceSimpleAmpersand) E=E.replace(FCKRegexLib.ForceSimpleAmpersand,'&');if (C) E=FCKCodeFormatter.Format(E);for (var i=0;i0;if (C) A.appendChild(this.XML.createTextNode(B.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity)));return C;};function FCKXHtml_GetEntity(A){var B=FCKXHtmlEntities.Entities[A]||('#'+A.charCodeAt(0));return '#?-:'+B+';';};FCKXHtml.TagProcessors={a:function(A,B){if (B.innerHTML.Trim().length==0&&!B.name) return false;var C=B.getAttribute('_fcksavedurl');if (C!=null) FCKXHtml._AppendAttribute(A,'href',C);if (FCKBrowserInfo.IsIE){if (B.name) FCKXHtml._AppendAttribute(A,'name',B.name);};A=FCKXHtml._AppendChildNodes(A,B,false);return A;},area:function(A,B){var C=B.getAttribute('_fcksavedurl');if (C!=null) FCKXHtml._AppendAttribute(A,'href',C);if (FCKBrowserInfo.IsIE){if (!A.attributes.getNamedItem('coords')){var D=B.getAttribute('coords',2);if (D&&D!='0,0,0') FCKXHtml._AppendAttribute(A,'coords',D);};if (!A.attributes.getNamedItem('shape')){var E=B.getAttribute('shape',2);if (E&&E.length>0) FCKXHtml._AppendAttribute(A,'shape',E.toLowerCase());}};return A;},body:function(A,B){A=FCKXHtml._AppendChildNodes(A,B,false);A.removeAttribute('spellcheck');return A;},iframe:function(A,B){var C=B.innerHTML;if (FCKBrowserInfo.IsGecko) C=FCKTools.HTMLDecode(C);C=C.replace(/\s_fcksavedurl="[^"]*"/g,'');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},img:function(A,B){if (!A.attributes.getNamedItem('alt')) FCKXHtml._AppendAttribute(A,'alt','');var C=B.getAttribute('_fcksavedurl');if (C!=null) FCKXHtml._AppendAttribute(A,'src',C);if (B.style.width) A.removeAttribute('width');if (B.style.height) A.removeAttribute('height');return A;},li:function(A,B,C){if (C.nodeName.IEquals(['ul','ol'])) return FCKXHtml._AppendChildNodes(A,B,true);var D=FCKXHtml.XML.createElement('ul');B._fckxhtmljob=null;do{FCKXHtml._AppendNode(D,B);do{B=FCKDomTools.GetNextSibling(B);} while (B&&B.nodeType==3&&B.nodeValue.Trim().length==0)} while (B&&B.nodeName.toLowerCase()=='li') return D;},ol:function(A,B,C){if (B.innerHTML.Trim().length==0) return false;var D=C.lastChild;if (D&&D.nodeType==3) D=D.previousSibling;if (D&&D.nodeName.toUpperCase()=='LI'){B._fckxhtmljob=null;FCKXHtml._AppendNode(D,B);return false;};A=FCKXHtml._AppendChildNodes(A,B);return A;},pre:function (A,B){var C=B.firstChild;if (C&&C.nodeType==3) A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem('\r\n')));FCKXHtml._AppendChildNodes(A,B,true);return A;},script:function(A,B){if (!A.attributes.getNamedItem('type')) FCKXHtml._AppendAttribute(A,'type','text/javascript');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(B.text)));return A;},span:function(A,B){if (B.innerHTML.length==0) return false;A=FCKXHtml._AppendChildNodes(A,B,false);return A;},style:function(A,B){if (!A.attributes.getNamedItem('type')) FCKXHtml._AppendAttribute(A,'type','text/css');var C=B.innerHTML;if (FCKBrowserInfo.IsIE) C=C.replace(/^(\r\n|\n|\r)/,'');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},title:function(A,B){A.appendChild(FCKXHtml.XML.createTextNode(FCK.EditorDocument.title));return A;}};FCKXHtml.TagProcessors.ul=FCKXHtml.TagProcessors.ol; -FCKXHtml._GetMainXmlString=function(){return this.MainNode.xml;};FCKXHtml._AppendAttributes=function(A,B,C,D){var E=B.attributes,bHasStyle;for (var n=0;n0){var I=FCKTools.ProtectFormStyles(B);var J=B.style.cssText.replace(FCKRegexLib.StyleProperties,FCKTools.ToLowerCase);FCKTools.RestoreFormStyles(B,I);this._AppendAttribute(C,'style',J);}};FCKXHtml.TagProcessors['div']=function(A,B){if (B.align.length>0) FCKXHtml._AppendAttribute(A,'align',B.align);A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors['font']=function(A,B){if (A.attributes.length==0) A=FCKXHtml.XML.createDocumentFragment();A=FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors['form']=function(A,B){if (B.acceptCharset&&B.acceptCharset.length>0&&B.acceptCharset!='UNKNOWN') FCKXHtml._AppendAttribute(A,'accept-charset',B.acceptCharset);var C=B.attributes['name'];if (C&&C.value.length>0) FCKXHtml._AppendAttribute(A,'name',C.value);A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors['input']=function(A,B){if (B.name) FCKXHtml._AppendAttribute(A,'name',B.name);if (B.value&&!A.attributes.getNamedItem('value')) FCKXHtml._AppendAttribute(A,'value',B.value);if (!A.attributes.getNamedItem('type')) FCKXHtml._AppendAttribute(A,'type','text');return A;};FCKXHtml.TagProcessors['label']=function(A,B){if (B.htmlFor.length>0) FCKXHtml._AppendAttribute(A,'for',B.htmlFor);A=FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors['map']=function(A,B){if (!A.attributes.getNamedItem('name')){var C=B.name;if (C) FCKXHtml._AppendAttribute(A,'name',C);};A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors['meta']=function(A,B){var C=A.attributes.getNamedItem('http-equiv');if (C==null||C.value.length==0){var D=B.outerHTML.match(FCKRegexLib.MetaHttpEquiv);if (D){D=D[1];FCKXHtml._AppendAttribute(A,'http-equiv',D);}};return A;};FCKXHtml.TagProcessors['option']=function(A,B){if (B.selected&&!A.attributes.getNamedItem('selected')) FCKXHtml._AppendAttribute(A,'selected','selected');A=FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors['textarea']=FCKXHtml.TagProcessors['select']=function(A,B){if (B.name) FCKXHtml._AppendAttribute(A,'name',B.name);A=FCKXHtml._AppendChildNodes(A,B);return A;}; -var FCKCodeFormatter={};FCKCodeFormatter.Init=function(){var A=this.Regex={};A.BlocksOpener=/\<(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\>]*\>/gi;A.BlocksCloser=/\<\/(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\>]*\>/gi;A.NewLineTags=/\<(BR|HR)[^\>]*\>/gi;A.MainTags=/\<\/?(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR)[^\>]*\>/gi;A.LineSplitter=/\s*\n+\s*/g;A.IncreaseIndent=/^\<(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \/\>]/i;A.DecreaseIndent=/^\<\/(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \>]/i;A.FormatIndentatorRemove=new RegExp('^'+FCKConfig.FormatIndentator);A.ProtectedTags=/(]*>)([\s\S]*?)(<\/PRE>)/gi;};FCKCodeFormatter._ProtectData=function(A,B,C,D){return B+'___FCKpd___'+FCKCodeFormatter.ProtectedData.AddItem(C)+D;};FCKCodeFormatter.Format=function(A){if (!this.Regex) this.Init();FCKCodeFormatter.ProtectedData=[];var B=A.replace(this.Regex.ProtectedTags,FCKCodeFormatter._ProtectData);B=B.replace(this.Regex.BlocksOpener,'\n$&');B=B.replace(this.Regex.BlocksCloser,'$&\n');B=B.replace(this.Regex.NewLineTags,'$&\n');B=B.replace(this.Regex.MainTags,'\n$&\n');var C='';var D=B.split(this.Regex.LineSplitter);B='';for (var i=0;iB[i]) return 1;};if (A.lengthB.length) return 1;return 0;};FCKUndo._CheckIsBookmarksEqual=function(A,B){if (!(A&&B)) return false;if (FCKBrowserInfo.IsIE){var C=A[1].search(A[0].StartId);var D=B[1].search(B[0].StartId);var E=A[1].search(A[0].EndId);var F=B[1].search(B[0].EndId);return C==D&&E==F;}else{return this._CompareCursors(A.Start,B.Start)==0&&this._CompareCursors(A.End,B.End)==0;}};FCKUndo.SaveUndoStep=function(){if (FCK.EditMode!=0||this.SaveLocked) return;if (this.SavedData.length) this.Changed=true;var A=FCK.EditorDocument.body.innerHTML;var B=this._GetBookmark();this.SavedData=this.SavedData.slice(0,this.CurrentIndex+1);if (this.CurrentIndex>0&&A==this.SavedData[this.CurrentIndex][0]&&this._CheckIsBookmarksEqual(B,this.SavedData[this.CurrentIndex][1])) return;else if (this.CurrentIndex==0&&this.SavedData.length&&A==this.SavedData[0][0]){this.SavedData[0][1]=B;return;};if (this.CurrentIndex+1>=FCKConfig.MaxUndoLevels) this.SavedData.shift();else this.CurrentIndex++;this.SavedData[this.CurrentIndex]=[A,B];FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.CheckUndoState=function(){return (this.Changed||this.CurrentIndex>0);};FCKUndo.CheckRedoState=function(){return (this.CurrentIndex<(this.SavedData.length-1));};FCKUndo.Undo=function(){if (this.CheckUndoState()){if (this.CurrentIndex==(this.SavedData.length-1)){this.SaveUndoStep();};this._ApplyUndoLevel(--this.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");}};FCKUndo.Redo=function(){if (this.CheckRedoState()){this._ApplyUndoLevel(++this.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");}};FCKUndo._ApplyUndoLevel=function(A){var B=this.SavedData[A];if (!B) return;if (FCKBrowserInfo.IsIE){if (B[1]&&B[1][1]) FCK.SetInnerHtml(B[1][1]);else FCK.SetInnerHtml(B[0]);}else FCK.EditorDocument.body.innerHTML=B[0];this._SelectBookmark(B[1]);this.TypesCount=0;this.Changed=false;this.Typing=false;}; -var FCKEditingArea=function(A){this.TargetElement=A;this.Mode=0;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKEditingArea_Cleanup);};FCKEditingArea.prototype.Start=function(A,B){var C=this.TargetElement;var D=FCKTools.GetElementDocument(C);while(C.firstChild) C.removeChild(C.firstChild);if (this.Mode==0){if (FCK_IS_CUSTOM_DOMAIN) A=''+A;if (FCKBrowserInfo.IsIE) A=A.replace(/(]*?)\s*\/?>(?!\s*<\/base>)/gi,'$1>');else if (!B){var E=A.match(FCKRegexLib.BeforeBody);var F=A.match(FCKRegexLib.AfterBody);if (E&&F){var G=A.substr(E[1].length,A.length-E[1].length-F[1].length);A=E[1]+' '+F[1];if (FCKBrowserInfo.IsGecko&&(G.length==0||FCKRegexLib.EmptyParagraph.test(G))) G='
    ';this._BodyHTML=G;}else this._BodyHTML=A;};var H=this.IFrame=D.createElement('iframe');var I='';H.frameBorder=0;H.style.width=H.style.height='100%';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A.replace(//i,''+I);H.src='javascript:void( (function(){document.open() ;document.domain="'+document.domain+'" ;document.write( window.parent._FCKHtmlToLoad );document.close() ;window.parent._FCKHtmlToLoad = null ;})() )';}else if (!FCKBrowserInfo.IsGecko){H.src='javascript:void(0)';};C.appendChild(H);this.Window=H.contentWindow;if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){var J=this.Window.document;J.open();J.write(A.replace(//i,''+I));J.close();};if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.EditingArea_Start(J,A);if (FCKBrowserInfo.IsGecko10&&!B){this.Start(A,true);return;};if (H.readyState&&H.readyState!='completed'){var K=this;setTimeout(function(){try{K.Window.document.documentElement.doScroll("left");}catch(e){setTimeout(arguments.callee,0);return;};K.Window._FCKEditingArea=K;FCKEditingArea_CompleteStart.call(K.Window);},0);}else{this.Window._FCKEditingArea=this;if (FCKBrowserInfo.IsGecko10) this.Window.setTimeout(FCKEditingArea_CompleteStart,500);else FCKEditingArea_CompleteStart.call(this.Window);}}else{var L=this.Textarea=D.createElement('textarea');L.className='SourceField';L.dir='ltr';FCKDomTools.SetElementStyles(L,{width:'100%',height:'100%',border:'none',resize:'none',outline:'none'});C.appendChild(L);L.value=A;FCKTools.RunFunction(this.OnLoad);}};function FCKEditingArea_CompleteStart(){if (!this.document.body){this.setTimeout(FCKEditingArea_CompleteStart,50);return;};var A=this._FCKEditingArea;A.Document=A.Window.document;A.MakeEditable();FCKTools.RunFunction(A.OnLoad);};FCKEditingArea.prototype.MakeEditable=function(){var A=this.Document;if (FCKBrowserInfo.IsIE){A.body.disabled=true;A.body.contentEditable=true;A.body.removeAttribute("disabled");}else{try{A.body.spellcheck=(this.FFSpellChecker!==false);if (this._BodyHTML){A.body.innerHTML=this._BodyHTML;A.body.offsetLeft;this._BodyHTML=null;};A.designMode='on';A.execCommand('enableObjectResizing',false,!FCKConfig.DisableObjectResizing);A.execCommand('enableInlineTableEditing',false,!FCKConfig.DisableFFTableHandles);}catch (e){FCKTools.AddEventListener(this.Window.frameElement,'DOMAttrModified',FCKEditingArea_Document_AttributeNodeModified);}}};function FCKEditingArea_Document_AttributeNodeModified(A){var B=A.currentTarget.contentWindow._FCKEditingArea;if (B._timer) window.clearTimeout(B._timer);B._timer=FCKTools.SetTimeout(FCKEditingArea_MakeEditableByMutation,1000,B);};function FCKEditingArea_MakeEditableByMutation(){delete this._timer;FCKTools.RemoveEventListener(this.Window.frameElement,'DOMAttrModified',FCKEditingArea_Document_AttributeNodeModified);this.MakeEditable();};FCKEditingArea.prototype.Focus=function(){try{if (this.Mode==0){if (FCKBrowserInfo.IsIE) this._FocusIE();else this.Window.focus();}else{var A=FCKTools.GetElementDocument(this.Textarea);if ((!A.hasFocus||A.hasFocus())&&A.activeElement==this.Textarea) return;this.Textarea.focus();}}catch(e) {}};FCKEditingArea.prototype._FocusIE=function(){this.Document.body.setActive();this.Window.focus();var A=this.Document.selection.createRange();var B=A.parentElement();var C=B.nodeName.toLowerCase();if (B.childNodes.length>0||!(FCKListsLib.BlockElements[C]||FCKListsLib.NonEmptyBlockElements[C])){return;};A=new FCKDomRange(this.Window);A.MoveToElementEditStart(B);A.Select();};function FCKEditingArea_Cleanup(){if (this.Document) this.Document.body.innerHTML="";this.TargetElement=null;this.IFrame=null;this.Document=null;this.Textarea=null;if (this.Window){this.Window._FCKEditingArea=null;this.Window=null;}}; -var FCKKeystrokeHandler=function(A){this.Keystrokes={};this.CancelCtrlDefaults=(A!==false);};FCKKeystrokeHandler.prototype.AttachToElement=function(A){FCKTools.AddEventListenerEx(A,'keydown',_FCKKeystrokeHandler_OnKeyDown,this);if (FCKBrowserInfo.IsGecko10||FCKBrowserInfo.IsOpera||(FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac)) FCKTools.AddEventListenerEx(A,'keypress',_FCKKeystrokeHandler_OnKeyPress,this);};FCKKeystrokeHandler.prototype.SetKeystrokes=function(){for (var i=0;i40))){B._CancelIt=true;if (A.preventDefault) return A.preventDefault();A.returnValue=false;A.cancelBubble=true;return false;};return true;};function _FCKKeystrokeHandler_OnKeyPress(A,B){if (B._CancelIt){if (A.preventDefault) return A.preventDefault();return false;};return true;}; -FCK.DTD=(function(){var X=FCKTools.Merge;var A,L,J,M,N,O,D,H,P,K,Q,F,G,C,B,E,I;A={isindex:1,fieldset:1};B={input:1,button:1,select:1,textarea:1,label:1};C=X({a:1},B);D=X({iframe:1},C);E={hr:1,ul:1,menu:1,div:1,blockquote:1,noscript:1,table:1,center:1,address:1,dir:1,pre:1,h5:1,dl:1,h4:1,noframes:1,h6:1,ol:1,h1:1,h3:1,h2:1};F={ins:1,del:1,script:1};G=X({b:1,acronym:1,bdo:1,'var':1,'#':1,abbr:1,code:1,br:1,i:1,cite:1,kbd:1,u:1,strike:1,s:1,tt:1,strong:1,q:1,samp:1,em:1,dfn:1,span:1},F);H=X({sub:1,img:1,object:1,sup:1,basefont:1,map:1,applet:1,font:1,big:1,small:1},G);I=X({p:1},H);J=X({iframe:1},H,B);K={img:1,noscript:1,br:1,kbd:1,center:1,button:1,basefont:1,h5:1,h4:1,samp:1,h6:1,ol:1,h1:1,h3:1,h2:1,form:1,font:1,'#':1,select:1,menu:1,ins:1,abbr:1,label:1,code:1,table:1,script:1,cite:1,input:1,iframe:1,strong:1,textarea:1,noframes:1,big:1,small:1,span:1,hr:1,sub:1,bdo:1,'var':1,div:1,object:1,sup:1,strike:1,dir:1,map:1,dl:1,applet:1,del:1,isindex:1,fieldset:1,ul:1,b:1,acronym:1,a:1,blockquote:1,i:1,u:1,s:1,tt:1,address:1,q:1,pre:1,p:1,em:1,dfn:1};L=X({a:1},J);M={tr:1};N={'#':1};O=X({param:1},K);P=X({form:1},A,D,E,I);Q={li:1};return {col:{},tr:{td:1,th:1},img:{},colgroup:{col:1},noscript:P,td:P,br:{},th:P,center:P,kbd:L,button:X(I,E),basefont:{},h5:L,h4:L,samp:L,h6:L,ol:Q,h1:L,h3:L,option:N,h2:L,form:X(A,D,E,I),select:{optgroup:1,option:1},font:J,ins:P,menu:Q,abbr:L,label:L,table:{thead:1,col:1,tbody:1,tr:1,colgroup:1,caption:1,tfoot:1},code:L,script:N,tfoot:M,cite:L,li:P,input:{},iframe:P,strong:J,textarea:N,noframes:P,big:J,small:J,span:J,hr:{},dt:L,sub:J,optgroup:{option:1},param:{},bdo:L,'var':J,div:P,object:O,sup:J,dd:P,strike:J,area:{},dir:Q,map:X({area:1,form:1,p:1},A,F,E),applet:O,dl:{dt:1,dd:1},del:P,isindex:{},fieldset:X({legend:1},K),thead:M,ul:Q,acronym:L,b:J,a:J,blockquote:P,caption:L,i:J,u:J,tbody:M,s:L,address:X(D,I),tt:J,legend:L,q:L,pre:X(G,C),p:L,em:J,dfn:L};})(); -var FCKStyle=function(A){this.Element=(A.Element||'span').toLowerCase();this._StyleDesc=A;};FCKStyle.prototype={GetType:function(){var A=this.GetType_$;if (A!=undefined) return A;var B=this.Element;if (B=='#'||FCKListsLib.StyleBlockElements[B]) A=0;else if (FCKListsLib.StyleObjectElements[B]) A=2;else A=1;return (this.GetType_$=A);},ApplyToSelection:function(A){var B=new FCKDomRange(A);B.MoveToSelection();this.ApplyToRange(B,true);},ApplyToRange:function(A,B,C){switch (this.GetType()){case 0:this.ApplyToRange=this._ApplyBlockStyle;break;case 1:this.ApplyToRange=this._ApplyInlineStyle;break;default:return;};this.ApplyToRange(A,B,C);},ApplyToObject:function(A){if (!A) return;this.BuildElement(null,A);},RemoveFromSelection:function(A){var B=new FCKDomRange(A);B.MoveToSelection();this.RemoveFromRange(B,true);},RemoveFromRange:function(A,B,C){var D;var E=this._GetAttribsForComparison();var F=this._GetOverridesForComparison();if (A.CheckIsCollapsed()){var D=A.CreateBookmark(true);var H=A.GetBookmarkNode(D,true);var I=new FCKElementPath(H.parentNode);var J=[];var K=!FCKDomTools.GetNextSibling(H);var L=K||!FCKDomTools.GetPreviousSibling(H);var M;var N=-1;for (var i=0;i=0;i--){var E=D[i];for (var F in B){if (FCKDomTools.HasAttribute(E,F)){switch (F){case 'style':this._RemoveStylesFromElement(E);break;case 'class':if (FCKDomTools.GetAttributeValue(E,F)!=this.GetFinalAttributeValue(F)) continue;default:FCKDomTools.RemoveAttribute(E,F);}}};this._RemoveOverrides(E,C[this.Element]);this._RemoveNoAttribElement(E);};for (var G in C){if (G!=this.Element){D=A.getElementsByTagName(G);for (var i=D.length-1;i>=0;i--){var E=D[i];this._RemoveOverrides(E,C[G]);this._RemoveNoAttribElement(E);}}}},_RemoveStylesFromElement:function(A){var B=A.style.cssText;var C=this.GetFinalStyleValue();if (B.length>0&&C.length==0) return;C='(^|;)\\s*('+C.replace(/\s*([^ ]+):.*?(;|$)/g,'$1|').replace(/\|$/,'')+'):[^;]+';var D=new RegExp(C,'gi');B=B.replace(D,'').Trim();if (B.length==0||B==';') FCKDomTools.RemoveAttribute(A,'style');else A.style.cssText=B.replace(D,'');},_RemoveOverrides:function(A,B){var C=B&&B.Attributes;if (C){for (var i=0;i0) C.style.cssText=this.GetFinalStyleValue();return C;},_CompareAttributeValues:function(A,B,C){if (A=='style'&&B&&C){B=B.replace(/;$/,'').toLowerCase();C=C.replace(/;$/,'').toLowerCase();};return (B==C||((B===null||B==='')&&(C===null||C==='')))},GetFinalAttributeValue:function(A){var B=this._StyleDesc.Attributes;var B=B?B[A]:null;if (!B&&A=='style') return this.GetFinalStyleValue();if (B&&this._Variables) B=B.Replace(FCKRegexLib.StyleVariableAttName,this._GetVariableReplace,this);return B;},GetFinalStyleValue:function(){var A=this._GetStyleText();if (A.length>0&&this._Variables){A=A.Replace(FCKRegexLib.StyleVariableAttName,this._GetVariableReplace,this);A=FCKTools.NormalizeCssText(A);};return A;},_GetVariableReplace:function(){return this._Variables[arguments[2]]||arguments[0];},SetVariable:function(A,B){var C=this._Variables;if (!C) C=this._Variables={};this._Variables[A]=B;},_FromPre:function(A,B,C){var D=B.innerHTML;D=D.replace(/(\r\n|\r)/g,'\n');D=D.replace(/^[ \t]*\n/,'');D=D.replace(/\n$/,'');D=D.replace(/^[ \t]+|[ \t]+$/g,function(match,offset,s){if (match.length==1) return ' ';else if (offset==0) return new Array(match.length).join(' ')+' ';else return ' '+new Array(match.length).join(' ');});var E=new FCKHtmlIterator(D);var F=[];E.Each(function(isTag,value){if (!isTag){value=value.replace(/\n/g,'
    ');value=value.replace(/[ \t]{2,}/g,function (match){return new Array(match.length).join(' ')+' ';});};F.push(value);});C.innerHTML=F.join('');return C;},_ToPre:function(A,B,C){var D=B.innerHTML.Trim();D=D.replace(/[ \t\r\n]*(]*>)[ \t\r\n]*/gi,'
    ');var E=new FCKHtmlIterator(D);var F=[];E.Each(function(isTag,value){if (!isTag) value=value.replace(/([ \t\n\r]+| )/g,' ');else if (isTag&&value=='
    ') value='\n';F.push(value);});if (FCKBrowserInfo.IsIE){var G=A.createElement('div');G.appendChild(C);C.outerHTML='
    \n'+F.join('')+'
    ';C=G.removeChild(G.firstChild);}else C.innerHTML=F.join('');return C;},_CheckAndMergePre:function(A,B){if (A!=FCKDomTools.GetPreviousSourceElement(B,true)) return;var C=A.innerHTML.replace(/\n$/,'')+'\n\n'+B.innerHTML.replace(/^\n/,'');if (FCKBrowserInfo.IsIE) B.outerHTML='
    '+C+'
    ';else B.innerHTML=C;FCKDomTools.RemoveNode(A);},_CheckAndSplitPre:function(A){var B;var C=A.firstChild;C=C&&C.nextSibling;while (C){var D=C.nextSibling;if (D&&D.nextSibling&&C.nodeName.IEquals('br')&&D.nodeName.IEquals('br')){FCKDomTools.RemoveNode(C);C=D.nextSibling;FCKDomTools.RemoveNode(D);B=FCKDomTools.InsertAfterNode(B||A,FCKDomTools.CloneElement(A));continue;};if (B){C=C.previousSibling;FCKDomTools.MoveNode(C.nextSibling,B);};C=C.nextSibling;}},_ApplyBlockStyle:function(A,B,C){var D;if (B) D=A.CreateBookmark();var E=new FCKDomRangeIterator(A);E.EnforceRealBlocks=true;var F;var G=A.Window.document;var H;while((F=E.GetNextParagraph())){var I=this.BuildElement(G);var J=I.nodeName.IEquals('pre');var K=F.nodeName.IEquals('pre');var L=J&&!K;var M=!J&&K;if (L) I=this._ToPre(G,F,I);else if (M) I=this._FromPre(G,F,I);else FCKDomTools.MoveChildren(F,I);F.parentNode.insertBefore(I,F);FCKDomTools.RemoveNode(F);if (J){if (H) this._CheckAndMergePre(H,I);H=I;}else if (M) this._CheckAndSplitPre(I);};if (B) A.SelectBookmark(D);if (C) A.MoveToBookmark(D);},_ApplyInlineStyle:function(A,B,C){var D=A.Window.document;if (A.CheckIsCollapsed()){var E=this.BuildElement(D);A.InsertNode(E);A.MoveToPosition(E,2);A.Select();return;};var F=this.Element;var G=FCK.DTD[F]||FCK.DTD.span;var H=this._GetAttribsForComparison();var I;A.Expand('inline_elements');var J=A.CreateBookmark(true);var K=A.GetBookmarkNode(J,true);var L=A.GetBookmarkNode(J,false);A.Release(true);var M=FCKDomTools.GetNextSourceNode(K,true);while (M){var N=false;var O=M.nodeType;var P=O==1?M.nodeName.toLowerCase():null;if (!P||G[P]){if ((FCK.DTD[M.parentNode.nodeName.toLowerCase()]||FCK.DTD.span)[F]||!FCK.DTD[F]){if (!A.CheckHasRange()) A.SetStart(M,3);if (O!=1||M.childNodes.length==0){var Q=M;var R=Q.parentNode;while (Q==R.lastChild&&G[R.nodeName.toLowerCase()]){Q=R;};A.SetEnd(Q,4);if (Q==Q.parentNode.lastChild&&!G[Q.parentNode.nodeName.toLowerCase()]) N=true;}else{A.SetEnd(M,3);}}else N=true;}else N=true;M=FCKDomTools.GetNextSourceNode(M);if (M==L){M=null;N=true;};if (N&&A.CheckHasRange()&&!A.CheckIsCollapsed()){I=this.BuildElement(D);A.ExtractContents().AppendTo(I);if (I.innerHTML.RTrim().length>0){A.InsertNode(I);this.RemoveFromElement(I);this._MergeSiblings(I,this._GetAttribsForComparison());if (!FCKBrowserInfo.IsIE) I.normalize();};A.Release(true);}};this._FixBookmarkStart(K);if (B) A.SelectBookmark(J);if (C) A.MoveToBookmark(J);},_FixBookmarkStart:function(A){var B;while ((B=A.nextSibling)){if (B.nodeType==1&&FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){if (!B.firstChild) FCKDomTools.RemoveNode(B);else FCKDomTools.MoveNode(A,B,true);continue;};if (B.nodeType==3&&B.length==0){FCKDomTools.RemoveNode(B);continue;};break;}},_MergeSiblings:function(A,B){if (!A||A.nodeType!=1||!FCKListsLib.InlineNonEmptyElements[A.nodeName.toLowerCase()]) return;this._MergeNextSibling(A,B);this._MergePreviousSibling(A,B);},_MergeNextSibling:function(A,B){var C=A.nextSibling;var D=(C&&C.nodeType==1&&C.getAttribute('_fck_bookmark'));if (D) C=C.nextSibling;if (C&&C.nodeType==1&&C.nodeName==A.nodeName){if (!B) B=this._CreateElementAttribsForComparison(A);if (this._CheckAttributesMatch(C,B)){var E=A.lastChild;if (D) FCKDomTools.MoveNode(A.nextSibling,A);FCKDomTools.MoveChildren(C,A);FCKDomTools.RemoveNode(C);if (E) this._MergeNextSibling(E);}}},_MergePreviousSibling:function(A,B){var C=A.previousSibling;var D=(C&&C.nodeType==1&&C.getAttribute('_fck_bookmark'));if (D) C=C.previousSibling;if (C&&C.nodeType==1&&C.nodeName==A.nodeName){if (!B) B=this._CreateElementAttribsForComparison(A);if (this._CheckAttributesMatch(C,B)){var E=A.firstChild;if (D) FCKDomTools.MoveNode(A.previousSibling,A,true);FCKDomTools.MoveChildren(C,A,true);FCKDomTools.RemoveNode(C);if (E) this._MergePreviousSibling(E);}}},_GetStyleText:function(){var A=this._StyleDesc.Styles;var B=(this._StyleDesc.Attributes?this._StyleDesc.Attributes['style']||'':'');if (B.length>0) B+=';';for (var C in A) B+=C+':'+A[C]+';';if (B.length>0&&!(/#\(/.test(B))){B=FCKTools.NormalizeCssText(B);};return (this._GetStyleText=function() { return B;})();},_GetAttribsForComparison:function(){var A=this._GetAttribsForComparison_$;if (A) return A;A={};var B=this._StyleDesc.Attributes;if (B){for (var C in B){A[C.toLowerCase()]=B[C].toLowerCase();}};if (this._GetStyleText().length>0){A['style']=this._GetStyleText().toLowerCase();};FCKTools.AppendLengthProperty(A,'_length');return (this._GetAttribsForComparison_$=A);},_GetOverridesForComparison:function(){var A=this._GetOverridesForComparison_$;if (A) return A;A={};var B=this._StyleDesc.Overrides;if (B){if (!FCKTools.IsArray(B)) B=[B];for (var i=0;i0) return true;};B=B.nextSibling;};return false;}}; -var FCKElementPath=function(A){var B=null;var C=null;var D=[];var e=A;while (e){if (e.nodeType==1){if (!this.LastElement) this.LastElement=e;var E=e.nodeName.toLowerCase();if (FCKBrowserInfo.IsIE&&e.scopeName!='HTML') E=e.scopeName.toLowerCase()+':'+E;if (!C){if (!B&&FCKListsLib.PathBlockElements[E]!=null) B=e;if (FCKListsLib.PathBlockLimitElements[E]!=null){if (!B&&E=='div'&&!FCKElementPath._CheckHasBlock(e)) B=e;else C=e;}};D.push(e);if (E=='body') break;};e=e.parentNode;};this.Block=B;this.BlockLimit=C;this.Elements=D;};FCKElementPath._CheckHasBlock=function(A){var B=A.childNodes;for (var i=0,count=B.length;i0){if (D.nodeType==3){var G=D.nodeValue.substr(0,E).Trim();if (G.length!=0) return A.IsStartOfBlock=false;}else F=D.childNodes[E-1];};if (!F) F=FCKDomTools.GetPreviousSourceNode(D,true,null,C);while (F){switch (F.nodeType){case 1:if (!FCKListsLib.InlineChildReqElements[F.nodeName.toLowerCase()]) return A.IsStartOfBlock=false;break;case 3:if (F.nodeValue.Trim().length>0) return A.IsStartOfBlock=false;};F=FCKDomTools.GetPreviousSourceNode(F,false,null,C);};return A.IsStartOfBlock=true;},CheckEndOfBlock:function(A){var B=this._Cache.IsEndOfBlock;if (B!=undefined) return B;var C=this.EndBlock||this.EndBlockLimit;var D=this._Range.endContainer;var E=this._Range.endOffset;var F;if (D.nodeType==3){var G=D.nodeValue;if (E0) return this._Cache.IsEndOfBlock=false;};F=FCKDomTools.GetNextSourceNode(F,false,null,C);};if (A) this.Select();return this._Cache.IsEndOfBlock=true;},CreateBookmark:function(A){var B={StartId:(new Date()).valueOf()+Math.floor(Math.random()*1000)+'S',EndId:(new Date()).valueOf()+Math.floor(Math.random()*1000)+'E'};var C=this.Window.document;var D;var E;var F;if (!this.CheckIsCollapsed()){E=C.createElement('span');E.style.display='none';E.id=B.EndId;E.setAttribute('_fck_bookmark',true);E.innerHTML=' ';F=this.Clone();F.Collapse(false);F.InsertNode(E);};D=C.createElement('span');D.style.display='none';D.id=B.StartId;D.setAttribute('_fck_bookmark',true);D.innerHTML=' ';F=this.Clone();F.Collapse(true);F.InsertNode(D);if (A){B.StartNode=D;B.EndNode=E;};if (E){this.SetStart(D,4);this.SetEnd(E,3);}else this.MoveToPosition(D,4);return B;},GetBookmarkNode:function(A,B){var C=this.Window.document;if (B) return A.StartNode||C.getElementById(A.StartId);else return A.EndNode||C.getElementById(A.EndId);},MoveToBookmark:function(A,B){var C=this.GetBookmarkNode(A,true);var D=this.GetBookmarkNode(A,false);this.SetStart(C,3);if (!B) FCKDomTools.RemoveNode(C);if (D){this.SetEnd(D,3);if (!B) FCKDomTools.RemoveNode(D);}else this.Collapse(true);this._UpdateElementInfo();},CreateBookmark2:function(){if (!this._Range) return { "Start":0,"End":0 };var A={"Start":[this._Range.startOffset],"End":[this._Range.endOffset]};var B=this._Range.startContainer.previousSibling;var C=this._Range.endContainer.previousSibling;var D=this._Range.startContainer;var E=this._Range.endContainer;while (B&&D.nodeType==3){A.Start[0]+=B.length;D=B;B=B.previousSibling;}while (C&&E.nodeType==3){A.End[0]+=C.length;E=C;C=C.previousSibling;};if (D.nodeType==1&&D.childNodes[A.Start[0]]&&D.childNodes[A.Start[0]].nodeType==3){var F=D.childNodes[A.Start[0]];var G=0;while (F.previousSibling&&F.previousSibling.nodeType==3){F=F.previousSibling;G+=F.length;};D=F;A.Start[0]=G;};if (E.nodeType==1&&E.childNodes[A.End[0]]&&E.childNodes[A.End[0]].nodeType==3){var F=E.childNodes[A.End[0]];var G=0;while (F.previousSibling&&F.previousSibling.nodeType==3){F=F.previousSibling;G+=F.length;};E=F;A.End[0]=G;};A.Start=FCKDomTools.GetNodeAddress(D,true).concat(A.Start);A.End=FCKDomTools.GetNodeAddress(E,true).concat(A.End);return A;},MoveToBookmark2:function(A){var B=FCKDomTools.GetNodeFromAddress(this.Window.document,A.Start.slice(0,-1),true);var C=FCKDomTools.GetNodeFromAddress(this.Window.document,A.End.slice(0,-1),true);this.Release(true);this._Range=new FCKW3CRange(this.Window.document);var D=A.Start[A.Start.length-1];var E=A.End[A.End.length-1];while (B.nodeType==3&&D>B.length){if (!B.nextSibling||B.nextSibling.nodeType!=3) break;D-=B.length;B=B.nextSibling;}while (C.nodeType==3&&E>C.length){if (!C.nextSibling||C.nextSibling.nodeType!=3) break;E-=C.length;C=C.nextSibling;};this._Range.setStart(B,D);this._Range.setEnd(C,E);this._UpdateElementInfo();},MoveToPosition:function(A,B){this.SetStart(A,B);this.Collapse(true);},SetStart:function(A,B,C){var D=this._Range;if (!D) D=this._Range=this.CreateRange();switch(B){case 1:D.setStart(A,0);break;case 2:D.setStart(A,A.childNodes.length);break;case 3:D.setStartBefore(A);break;case 4:D.setStartAfter(A);};if (!C) this._UpdateElementInfo();},SetEnd:function(A,B,C){var D=this._Range;if (!D) D=this._Range=this.CreateRange();switch(B){case 1:D.setEnd(A,0);break;case 2:D.setEnd(A,A.childNodes.length);break;case 3:D.setEndBefore(A);break;case 4:D.setEndAfter(A);};if (!C) this._UpdateElementInfo();},Expand:function(A){var B,oSibling;switch (A){case 'inline_elements':if (this._Range.startOffset==0){B=this._Range.startContainer;if (B.nodeType!=1) B=B.previousSibling?null:B.parentNode;if (B){while (FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){this._Range.setStartBefore(B);if (B!=B.parentNode.firstChild) break;B=B.parentNode;}}};B=this._Range.endContainer;var C=this._Range.endOffset;if ((B.nodeType==3&&C>=B.nodeValue.length)||(B.nodeType==1&&C>=B.childNodes.length)||(B.nodeType!=1&&B.nodeType!=3)){if (B.nodeType!=1) B=B.nextSibling?null:B.parentNode;if (B){while (FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){this._Range.setEndAfter(B);if (B!=B.parentNode.lastChild) break;B=B.parentNode;}}};break;case 'block_contents':case 'list_contents':var D=FCKListsLib.BlockBoundaries;if (A=='list_contents'||FCKConfig.EnterMode=='br') D=FCKListsLib.ListBoundaries;if (this.StartBlock&&FCKConfig.EnterMode!='br'&&A=='block_contents') this.SetStart(this.StartBlock,1);else{B=this._Range.startContainer;if (B.nodeType==1){var E=B.childNodes[this._Range.startOffset];if (E) B=FCKDomTools.GetPreviousSourceNode(E,true);else B=B.lastChild||B;}while (B&&(B.nodeType!=1||(B!=this.StartBlockLimit&&!D[B.nodeName.toLowerCase()]))){this._Range.setStartBefore(B);B=B.previousSibling||B.parentNode;}};if (this.EndBlock&&FCKConfig.EnterMode!='br'&&A=='block_contents'&&this.EndBlock.nodeName.toLowerCase()!='li') this.SetEnd(this.EndBlock,2);else{B=this._Range.endContainer;if (B.nodeType==1) B=B.childNodes[this._Range.endOffset]||B.lastChild;while (B&&(B.nodeType!=1||(B!=this.StartBlockLimit&&!D[B.nodeName.toLowerCase()]))){this._Range.setEndAfter(B);B=B.nextSibling||B.parentNode;};if (B&&B.nodeName.toLowerCase()=='br') this._Range.setEndAfter(B);};this._UpdateElementInfo();}},SplitBlock:function(A){var B=A||FCKConfig.EnterMode;if (!this._Range) this.MoveToSelection();if (this.StartBlockLimit==this.EndBlockLimit){var C=this.StartBlock;var D=this.EndBlock;var E=null;if (B!='br'){if (!C){C=this.FixBlock(true,B);D=this.EndBlock;};if (!D) D=this.FixBlock(false,B);};var F=(C!=null&&this.CheckStartOfBlock());var G=(D!=null&&this.CheckEndOfBlock());if (!this.CheckIsEmpty()) this.DeleteContents();if (C&&D&&C==D){if (G){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(D,4);D=null;}else if (F){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(C,3);C=null;}else{this.SetEnd(C,2);var H=this.ExtractContents();D=C.cloneNode(false);D.removeAttribute('id',false);H.AppendTo(D);FCKDomTools.InsertAfterNode(C,D);this.MoveToPosition(C,4);if (FCKBrowserInfo.IsGecko&&!C.nodeName.IEquals(['ul','ol'])) FCKTools.AppendBogusBr(C);}};return {PreviousBlock:C,NextBlock:D,WasStartOfBlock:F,WasEndOfBlock:G,ElementPath:E};};return null;},FixBlock:function(A,B){var C=this.CreateBookmark();this.Collapse(A);this.Expand('block_contents');var D=this.Window.document.createElement(B);this.ExtractContents().AppendTo(D);FCKDomTools.TrimNode(D);if (FCKDomTools.CheckIsEmptyElement(D,function(element) { return element.getAttribute('_fck_bookmark')!='true';})&&FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);this.InsertNode(D);this.MoveToBookmark(C);return D;},Release:function(A){if (!A) this.Window=null;this.StartNode=null;this.StartContainer=null;this.StartBlock=null;this.StartBlockLimit=null;this.EndNode=null;this.EndContainer=null;this.EndBlock=null;this.EndBlockLimit=null;this._Range=null;this._Cache=null;},CheckHasRange:function(){return!!this._Range;},GetTouchedStartNode:function(){var A=this._Range;var B=A.startContainer;if (A.collapsed||B.nodeType!=1) return B;return B.childNodes[A.startOffset]||B;},GetTouchedEndNode:function(){var A=this._Range;var B=A.endContainer;if (A.collapsed||B.nodeType!=1) return B;return B.childNodes[A.endOffset-1]||B;}}; -FCKDomRange.prototype.MoveToSelection=function(){this.Release(true);this._Range=new FCKW3CRange(this.Window.document);var A=this.Window.document.selection;if (A.type!='Control'){var B=this._GetSelectionMarkerTag(true);var C=this._GetSelectionMarkerTag(false);if (!B&&!C){this._Range.setStart(this.Window.document.body,0);this._UpdateElementInfo();return;};this._Range.setStart(B.parentNode,FCKDomTools.GetIndexOf(B));B.parentNode.removeChild(B);this._Range.setEnd(C.parentNode,FCKDomTools.GetIndexOf(C));C.parentNode.removeChild(C);this._UpdateElementInfo();}else{var D=A.createRange().item(0);if (D){this._Range.setStartBefore(D);this._Range.setEndAfter(D);this._UpdateElementInfo();}}};FCKDomRange.prototype.Select=function(A){if (this._Range) this.SelectBookmark(this.CreateBookmark(true),A);};FCKDomRange.prototype.SelectBookmark=function(A,B){var C=this.CheckIsCollapsed();var D;var E;var F=this.GetBookmarkNode(A,true);if (!F) return;var G;if (!C) G=this.GetBookmarkNode(A,false);var H=this.Window.document.body.createTextRange();H.moveToElementText(F);H.moveStart('character',1);if (G){var I=this.Window.document.body.createTextRange();I.moveToElementText(G);H.setEndPoint('EndToEnd',I);H.moveEnd('character',-1);}else{D=(B||!F.previousSibling||F.previousSibling.nodeName.toLowerCase()=='br')&&!F.nextSibing;E=this.Window.document.createElement('span');E.innerHTML='';F.parentNode.insertBefore(E,F);if (D){F.parentNode.insertBefore(this.Window.document.createTextNode('\ufeff'),F);}};if (!this._Range) this._Range=this.CreateRange();this._Range.setStartBefore(F);F.parentNode.removeChild(F);if (C){if (D){H.moveStart('character',-1);H.select();this.Window.document.selection.clear();}else H.select();FCKDomTools.RemoveNode(E);}else{this._Range.setEndBefore(G);G.parentNode.removeChild(G);H.select();}};FCKDomRange.prototype._GetSelectionMarkerTag=function(A){var B=this.Window.document;var C=B.selection;var D;try{D=C.createRange();}catch (e){return null;};if (D.parentElement().document!=B) return null;D.collapse(A===true);var E='fck_dom_range_temp_'+(new Date()).valueOf()+'_'+Math.floor(Math.random()*1000);D.pasteHTML('');return B.getElementById(E);}; -var FCKDomRangeIterator=function(A){this.Range=A;this.ForceBrBreak=false;this.EnforceRealBlocks=false;};FCKDomRangeIterator.CreateFromSelection=function(A){var B=new FCKDomRange(A);B.MoveToSelection();return new FCKDomRangeIterator(B);};FCKDomRangeIterator.prototype={GetNextParagraph:function(){var A;var B;var C;var D;var E;var F=this.ForceBrBreak?FCKListsLib.ListBoundaries:FCKListsLib.BlockBoundaries;if (!this._LastNode){var B=this.Range.Clone();B.Expand(this.ForceBrBreak?'list_contents':'block_contents');this._NextNode=B.GetTouchedStartNode();this._LastNode=B.GetTouchedEndNode();B=null;};var H=this._NextNode;var I=this._LastNode;this._NextNode=null;while (H){var J=false;var K=(H.nodeType!=1);var L=false;if (!K){var M=H.nodeName.toLowerCase();if (F[M]&&(!FCKBrowserInfo.IsIE||H.scopeName=='HTML')){if (M=='br') K=true;else if (!B&&H.childNodes.length==0&&M!='hr'){A=H;C=H==I;break;};if (B){B.SetEnd(H,3,true);if (M!='br') this._NextNode=FCKDomTools.GetNextSourceNode(H,true,null,I);};J=true;}else{if (H.firstChild){if (!B){B=new FCKDomRange(this.Range.Window);B.SetStart(H,3,true);};H=H.firstChild;continue;};K=true;}}else if (H.nodeType==3){if (/^[\r\n\t ]+$/.test(H.nodeValue)) K=false;};if (K&&!B){B=new FCKDomRange(this.Range.Window);B.SetStart(H,3,true);};C=((!J||K)&&H==I);if (B&&!J){while (!H.nextSibling&&!C){var N=H.parentNode;if (F[N.nodeName.toLowerCase()]){J=true;C=C||(N==I);break;};H=N;K=true;C=(H==I);L=true;}};if (K) B.SetEnd(H,4,true);if ((J||C)&&B){B._UpdateElementInfo();if (B.StartNode==B.EndNode&&B.StartNode.parentNode==B.StartBlockLimit&&B.StartNode.getAttribute&&B.StartNode.getAttribute('_fck_bookmark')) B=null;else break;};if (C) break;H=FCKDomTools.GetNextSourceNode(H,L,null,I);};if (!A){if (!B){this._NextNode=null;return null;};A=B.StartBlock;if (!A&&!this.EnforceRealBlocks&&B.StartBlockLimit.nodeName.IEquals('DIV','TH','TD')&&B.CheckStartOfBlock()&&B.CheckEndOfBlock()){A=B.StartBlockLimit;}else if (!A||(this.EnforceRealBlocks&&A.nodeName.toLowerCase()=='li')){A=this.Range.Window.document.createElement(FCKConfig.EnterMode=='p'?'p':'div');B.ExtractContents().AppendTo(A);FCKDomTools.TrimNode(A);B.InsertNode(A);D=true;E=true;}else if (A.nodeName.toLowerCase()!='li'){if (!B.CheckStartOfBlock()||!B.CheckEndOfBlock()){A=A.cloneNode(false);B.ExtractContents().AppendTo(A);FCKDomTools.TrimNode(A);var O=B.SplitBlock();D=!O.WasStartOfBlock;E=!O.WasEndOfBlock;B.InsertNode(A);}}else if (!C){this._NextNode=A==I?null:FCKDomTools.GetNextSourceNode(B.EndNode,true,null,I);return A;}};if (D){var P=A.previousSibling;if (P&&P.nodeType==1){if (P.nodeName.toLowerCase()=='br') P.parentNode.removeChild(P);else if (P.lastChild&&P.lastChild.nodeName.IEquals('br')) P.removeChild(P.lastChild);}};if (E){var Q=A.lastChild;if (Q&&Q.nodeType==1&&Q.nodeName.toLowerCase()=='br') A.removeChild(Q);};if (!this._NextNode) this._NextNode=(C||A==I)?null:FCKDomTools.GetNextSourceNode(A,true,null,I);return A;}}; -var FCKDocumentFragment=function(A){this._Document=A;this.RootNode=A.createElement('div');};FCKDocumentFragment.prototype={AppendTo:function(A){FCKDomTools.MoveChildren(this.RootNode,A);},AppendHtml:function(A){var B=this._Document.createElement('div');B.innerHTML=A;FCKDomTools.MoveChildren(B,this.RootNode);},InsertAfterNode:function(A){var B=this.RootNode;var C;while((C=B.lastChild)) FCKDomTools.InsertAfterNode(A,B.removeChild(C));}}; -var FCKW3CRange=function(A){this._Document=A;this.startContainer=null;this.startOffset=null;this.endContainer=null;this.endOffset=null;this.collapsed=true;};FCKW3CRange.CreateRange=function(A){return new FCKW3CRange(A);};FCKW3CRange.CreateFromRange=function(A,B){var C=FCKW3CRange.CreateRange(A);C.setStart(B.startContainer,B.startOffset);C.setEnd(B.endContainer,B.endOffset);return C;};FCKW3CRange.prototype={_UpdateCollapsed:function(){this.collapsed=(this.startContainer==this.endContainer&&this.startOffset==this.endOffset);},setStart:function(A,B){this.startContainer=A;this.startOffset=B;if (!this.endContainer){this.endContainer=A;this.endOffset=B;};this._UpdateCollapsed();},setEnd:function(A,B){this.endContainer=A;this.endOffset=B;if (!this.startContainer){this.startContainer=A;this.startOffset=B;};this._UpdateCollapsed();},setStartAfter:function(A){this.setStart(A.parentNode,FCKDomTools.GetIndexOf(A)+1);},setStartBefore:function(A){this.setStart(A.parentNode,FCKDomTools.GetIndexOf(A));},setEndAfter:function(A){this.setEnd(A.parentNode,FCKDomTools.GetIndexOf(A)+1);},setEndBefore:function(A){this.setEnd(A.parentNode,FCKDomTools.GetIndexOf(A));},collapse:function(A){if (A){this.endContainer=this.startContainer;this.endOffset=this.startOffset;}else{this.startContainer=this.endContainer;this.startOffset=this.endOffset;};this.collapsed=true;},selectNodeContents:function(A){this.setStart(A,0);this.setEnd(A,A.nodeType==3?A.data.length:A.childNodes.length);},insertNode:function(A){var B=this.startContainer;var C=this.startOffset;if (B.nodeType==3){B.splitText(C);if (B==this.endContainer) this.setEnd(B.nextSibling,this.endOffset-this.startOffset);FCKDomTools.InsertAfterNode(B,A);return;}else{B.insertBefore(A,B.childNodes[C]||null);if (B==this.endContainer){this.endOffset++;this.collapsed=false;}}},deleteContents:function(){if (this.collapsed) return;this._ExecContentsAction(0);},extractContents:function(){var A=new FCKDocumentFragment(this._Document);if (!this.collapsed) this._ExecContentsAction(1,A);return A;},cloneContents:function(){var A=new FCKDocumentFragment(this._Document);if (!this.collapsed) this._ExecContentsAction(2,A);return A;},_ExecContentsAction:function(A,B){var C=this.startContainer;var D=this.endContainer;var E=this.startOffset;var F=this.endOffset;var G=false;var H=false;if (D.nodeType==3) D=D.splitText(F);else{if (D.childNodes.length>0){if (F>D.childNodes.length-1){D=FCKDomTools.InsertAfterNode(D.lastChild,this._Document.createTextNode(''));H=true;}else D=D.childNodes[F];}};if (C.nodeType==3){C.splitText(E);if (C==D) D=C.nextSibling;}else{if (E==0){C=C.insertBefore(this._Document.createTextNode(''),C.firstChild);G=true;}else if (E>C.childNodes.length-1){C=C.appendChild(this._Document.createTextNode(''));G=true;}else C=C.childNodes[E].previousSibling;};var I=FCKDomTools.GetParents(C);var J=FCKDomTools.GetParents(D);var i,topStart,topEnd;for (i=0;i0&&levelStartNode!=D) levelClone=K.appendChild(levelStartNode.cloneNode(levelStartNode==D));if (!I[k]||levelStartNode.parentNode!=I[k].parentNode){currentNode=levelStartNode.previousSibling;while(currentNode){if (currentNode==I[k]||currentNode==C) break;currentSibling=currentNode.previousSibling;if (A==2) K.insertBefore(currentNode.cloneNode(true),K.firstChild);else{currentNode.parentNode.removeChild(currentNode);if (A==1) K.insertBefore(currentNode,K.firstChild);};currentNode=currentSibling;}};if (K) K=levelClone;};if (A==2){var L=this.startContainer;if (L.nodeType==3){L.data+=L.nextSibling.data;L.parentNode.removeChild(L.nextSibling);};var M=this.endContainer;if (M.nodeType==3&&M.nextSibling){M.data+=M.nextSibling.data;M.parentNode.removeChild(M.nextSibling);}}else{if (topStart&&topEnd&&(C.parentNode!=topStart.parentNode||D.parentNode!=topEnd.parentNode)){var N=FCKDomTools.GetIndexOf(topEnd);if (G&&topEnd.parentNode==C.parentNode) N--;this.setStart(topEnd.parentNode,N);};this.collapse(true);};if(G) C.parentNode.removeChild(C);if(H&&D.parentNode) D.parentNode.removeChild(D);},cloneRange:function(){return FCKW3CRange.CreateFromRange(this._Document,this);}}; -var FCKEnterKey=function(A,B,C,D){this.Window=A;this.EnterMode=B||'p';this.ShiftEnterMode=C||'br';var E=new FCKKeystrokeHandler(false);E._EnterKey=this;E.OnKeystroke=FCKEnterKey_OnKeystroke;E.SetKeystrokes([[13,'Enter'],[SHIFT+13,'ShiftEnter'],[8,'Backspace'],[CTRL+8,'CtrlBackspace'],[46,'Delete']]);this.TabText='';if (D>0||FCKBrowserInfo.IsSafari){while (D--) this.TabText+='\xa0';E.SetKeystrokes([9,'Tab']);};E.AttachToElement(A.document);};function FCKEnterKey_OnKeystroke(A,B){var C=this._EnterKey;try{switch (B){case 'Enter':return C.DoEnter();break;case 'ShiftEnter':return C.DoShiftEnter();break;case 'Backspace':return C.DoBackspace();break;case 'Delete':return C.DoDelete();break;case 'Tab':return C.DoTab();break;case 'CtrlBackspace':return C.DoCtrlBackspace();break;}}catch (e){};return false;};FCKEnterKey.prototype.DoEnter=function(A,B){FCKUndo.SaveUndoStep();this._HasShift=(B===true);var C=FCKSelection.GetParentElement();var D=new FCKElementPath(C);var E=A||this.EnterMode;if (E=='br'||D.Block&&D.Block.tagName.toLowerCase()=='pre') return this._ExecuteEnterBr();else return this._ExecuteEnterBlock(E);};FCKEnterKey.prototype.DoShiftEnter=function(){return this.DoEnter(this.ShiftEnterMode,true);};FCKEnterKey.prototype.DoBackspace=function(){var A=false;var B=new FCKDomRange(this.Window);B.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(B,this.Window.document.body)){this._FixIESelectAllBug(B);return true;};var C=B.CheckIsCollapsed();if (!C){if (FCKBrowserInfo.IsIE&&this.Window.document.selection.type.toLowerCase()=="control"){var D=this.Window.document.selection.createRange();for (var i=D.length-1;i>=0;i--){var E=D.item(i);E.parentNode.removeChild(E);};return true;};return false;};if (FCKBrowserInfo.IsIE){var F=FCKDomTools.GetPreviousSourceElement(B.StartNode,true);if (F&&F.nodeName.toLowerCase()=='br'){var G=B.Clone();G.SetStart(F,4);if (G.CheckIsEmpty()){F.parentNode.removeChild(F);return true;}}};var H=B.StartBlock;var I=B.EndBlock;if (B.StartBlockLimit==B.EndBlockLimit&&H&&I){if (!C){var J=B.CheckEndOfBlock();B.DeleteContents();if (H!=I){B.SetStart(I,1);B.SetEnd(I,1);};B.Select();A=(H==I);};if (B.CheckStartOfBlock()){var K=B.StartBlock;var L=FCKDomTools.GetPreviousSourceElement(K,true,['BODY',B.StartBlockLimit.nodeName],['UL','OL']);A=this._ExecuteBackspace(B,L,K);}else if (FCKBrowserInfo.IsGeckoLike){B.Select();}};B.Release();return A;};FCKEnterKey.prototype.DoCtrlBackspace=function(){FCKUndo.SaveUndoStep();var A=new FCKDomRange(this.Window);A.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(A,this.Window.document.body)){this._FixIESelectAllBug(A);return true;};return false;};FCKEnterKey.prototype._ExecuteBackspace=function(A,B,C){var D=false;if (!B&&C&&C.nodeName.IEquals('LI')&&C.parentNode.parentNode.nodeName.IEquals('LI')){this._OutdentWithSelection(C,A);return true;};if (B&&B.nodeName.IEquals('LI')){var E=FCKDomTools.GetLastChild(B,['UL','OL']);while (E){B=FCKDomTools.GetLastChild(E,'LI');E=FCKDomTools.GetLastChild(B,['UL','OL']);}};if (B&&C){if (C.nodeName.IEquals('LI')&&!B.nodeName.IEquals('LI')){this._OutdentWithSelection(C,A);return true;};var F=C.parentNode;var G=B.nodeName.toLowerCase();if (FCKListsLib.EmptyElements[G]!=null||G=='table'){FCKDomTools.RemoveNode(B);D=true;}else{FCKDomTools.RemoveNode(C);while (F.innerHTML.Trim().length==0){var H=F.parentNode;H.removeChild(F);F=H;};FCKDomTools.LTrimNode(C);FCKDomTools.RTrimNode(B);A.SetStart(B,2,true);A.Collapse(true);var I=A.CreateBookmark(true);if (!C.tagName.IEquals(['TABLE'])) FCKDomTools.MoveChildren(C,B);A.SelectBookmark(I);D=true;}};return D;};FCKEnterKey.prototype.DoDelete=function(){FCKUndo.SaveUndoStep();var A=false;var B=new FCKDomRange(this.Window);B.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(B,this.Window.document.body)){this._FixIESelectAllBug(B);return true;};if (B.CheckIsCollapsed()&&B.CheckEndOfBlock(FCKBrowserInfo.IsGeckoLike)){var C=B.StartBlock;var D=FCKTools.GetElementAscensor(C,'td');var E=FCKDomTools.GetNextSourceElement(C,true,[B.StartBlockLimit.nodeName],['UL','OL','TR'],true);if (D){var F=FCKTools.GetElementAscensor(E,'td');if (F!=D) return true;};A=this._ExecuteBackspace(B,C,E);};B.Release();return A;};FCKEnterKey.prototype.DoTab=function(){var A=new FCKDomRange(this.Window);A.MoveToSelection();var B=A._Range.startContainer;while (B){if (B.nodeType==1){var C=B.tagName.toLowerCase();if (C=="tr"||C=="td"||C=="th"||C=="tbody"||C=="table") return false;else break;};B=B.parentNode;};if (this.TabText){A.DeleteContents();A.InsertNode(this.Window.document.createTextNode(this.TabText));A.Collapse(false);A.Select();};return true;};FCKEnterKey.prototype._ExecuteEnterBlock=function(A,B){var C=B||new FCKDomRange(this.Window);var D=C.SplitBlock(A);if (D){var E=D.PreviousBlock;var F=D.NextBlock;var G=D.WasStartOfBlock;var H=D.WasEndOfBlock;if (F){if (F.parentNode.nodeName.IEquals('li')){FCKDomTools.BreakParent(F,F.parentNode);FCKDomTools.MoveNode(F,F.nextSibling,true);}}else if (E&&E.parentNode.nodeName.IEquals('li')){FCKDomTools.BreakParent(E,E.parentNode);C.MoveToElementEditStart(E.nextSibling);FCKDomTools.MoveNode(E,E.previousSibling);};if (!G&&!H){if (F.nodeName.IEquals('li')&&F.firstChild&&F.firstChild.nodeName.IEquals(['ul','ol'])) F.insertBefore(FCKTools.GetElementDocument(F).createTextNode('\xa0'),F.firstChild);if (F) C.MoveToElementEditStart(F);}else{if (G&&H&&E.tagName.toUpperCase()=='LI'){C.MoveToElementStart(E);this._OutdentWithSelection(E,C);C.Release();return true;};var I;if (E){var J=E.tagName.toUpperCase();if (!this._HasShift&&!(/^H[1-6]$/).test(J)){I=FCKDomTools.CloneElement(E);}}else if (F) I=FCKDomTools.CloneElement(F);if (!I) I=this.Window.document.createElement(A);var K=D.ElementPath;if (K){for (var i=0,len=K.Elements.length;i=0&&(C=B[i--])){if (C.name.length>0){if (C.innerHTML!==''){if (FCKBrowserInfo.IsIE) C.className+=' FCK__AnchorC';}else{var D=FCKDocumentProcessor_CreateFakeImage('FCK__Anchor',C.cloneNode(true));D.setAttribute('_fckanchor','true',0);C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}}}};var FCKPageBreaksProcessor=FCKDocumentProcessor.AppendNew();FCKPageBreaksProcessor.ProcessDocument=function(A){var B=A.getElementsByTagName('DIV');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.style.pageBreakAfter=='always'&&C.childNodes.length==1&&C.childNodes[0].style&&C.childNodes[0].style.display=='none'){var D=FCKDocumentProcessor_CreateFakeImage('FCK__PageBreak',C.cloneNode(true));C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}};FCKEmbedAndObjectProcessor=(function(){var A=[];var B=function(el){var C=el.cloneNode(true);var D;var E=D=FCKDocumentProcessor_CreateFakeImage('FCK__UnknownObject',C);FCKEmbedAndObjectProcessor.RefreshView(E,el);for (var i=0;i=0;i--) B(G[i]);};var H=function(doc){F('object',doc);F('embed',doc);};return FCKTools.Merge(FCKDocumentProcessor.AppendNew(),{ProcessDocument:function(doc){if (FCKBrowserInfo.IsGecko) FCKTools.RunFunction(H,this,[doc]);else H(doc);},RefreshView:function(placeHolder,original){if (original.getAttribute('width')>0) placeHolder.style.width=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute('width'));if (original.getAttribute('height')>0) placeHolder.style.height=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute('height'));},AddCustomHandler:function(func){A.push(func);}});})();FCK.GetRealElement=function(A){var e=FCKTempBin.Elements[A.getAttribute('_fckrealelement')];if (A.getAttribute('_fckflash')){if (A.style.width.length>0) e.width=FCKTools.ConvertStyleSizeToHtml(A.style.width);if (A.style.height.length>0) e.height=FCKTools.ConvertStyleSizeToHtml(A.style.height);};return e;};if (FCKBrowserInfo.IsIE){FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByTagName('HR');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){var D=A.createElement('hr');D.mergeAttributes(C,true);FCKDomTools.InsertAfterNode(C,D);C.parentNode.removeChild(C);}}};FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByTagName('INPUT');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.type=='hidden'){var D=FCKDocumentProcessor_CreateFakeImage('FCK__InputHidden',C.cloneNode(true));D.setAttribute('_fckinputhidden','true',0);C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}};FCKEmbedAndObjectProcessor.AddCustomHandler(function(A,B){if (!(A.nodeName.IEquals('embed')&&(A.type=='application/x-shockwave-flash'||/\.swf($|#|\?)/i.test(A.src)))) return;B.className='FCK__Flash';B.setAttribute('_fckflash','true',0);});if (FCKBrowserInfo.IsSafari){FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByClassName?A.getElementsByClassName('Apple-style-span'):Array.prototype.filter.call(A.getElementsByTagName('span'),function(item){ return item.className=='Apple-style-span';});for (var i=B.length-1;i>=0;i--) FCKDomTools.RemoveNode(B[i],true);}}; -var FCKSelection=FCK.Selection={GetParentBlock:function(){var A=this.GetParentElement();while (A){if (FCKListsLib.BlockBoundaries[A.nodeName.toLowerCase()]) break;A=A.parentNode;};return A;},ApplyStyle:function(A){FCKStyles.ApplyStyle(new FCKStyle(A));}}; -FCKSelection.GetType=function(){try{var A=FCKSelection.GetSelection().type;if (A=='Control'||A=='Text') return A;if (this.GetSelection().createRange().parentElement) return 'Text';}catch(e){};return 'None';};FCKSelection.GetSelectedElement=function(){if (this.GetType()=='Control'){var A=this.GetSelection().createRange();if (A&&A.item) return this.GetSelection().createRange().item(0);};return null;};FCKSelection.GetParentElement=function(){switch (this.GetType()){case 'Control':var A=FCKSelection.GetSelectedElement();return A?A.parentElement:null;case 'None':return null;default:return this.GetSelection().createRange().parentElement();}};FCKSelection.GetBoundaryParentElement=function(A){switch (this.GetType()){case 'Control':var B=FCKSelection.GetSelectedElement();return B?B.parentElement:null;case 'None':return null;default:var C=FCK.EditorDocument;var D=C.selection.createRange();D.collapse(A!==false);var B=D.parentElement();return FCKTools.GetElementDocument(B)==C?B:null;}};FCKSelection.SelectNode=function(A){FCK.Focus();this.GetSelection().empty();var B;try{B=FCK.EditorDocument.body.createControlRange();B.addElement(A);}catch(e){B=FCK.EditorDocument.body.createTextRange();B.moveToElementText(A);};B.select();};FCKSelection.Collapse=function(A){FCK.Focus();if (this.GetType()=='Text'){var B=this.GetSelection().createRange();B.collapse(A==null||A===true);B.select();}};FCKSelection.HasAncestorNode=function(A){var B;if (this.GetSelection().type=="Control"){B=this.GetSelectedElement();}else{var C=this.GetSelection().createRange();B=C.parentElement();}while (B){if (B.nodeName.IEquals(A)) return true;B=B.parentNode;};return false;};FCKSelection.MoveToAncestorNode=function(A){var B,oRange;if (!FCK.EditorDocument) return null;if (this.GetSelection().type=="Control"){oRange=this.GetSelection().createRange();for (i=0;i=0;i--){if (C[i]) FCKTableHandler.DeleteRows(C[i]);};return;};var E=FCKTools.GetElementAscensor(A,'TABLE');if (E.rows.length==1){FCKTableHandler.DeleteTable(E);return;};A.parentNode.removeChild(A);};FCKTableHandler.DeleteTable=function(A){if (!A){A=FCKSelection.GetSelectedElement();if (!A||A.tagName!='TABLE') A=FCKSelection.MoveToAncestorNode('TABLE');};if (!A) return;FCKSelection.SelectNode(A);FCKSelection.Collapse();if (A.parentNode.childNodes.length==1) A.parentNode.parentNode.removeChild(A.parentNode);else A.parentNode.removeChild(A);};FCKTableHandler.InsertColumn=function(A){var B=null;var C=this.GetSelectedCells();if (C&&C.length) B=C[A?0:(C.length-1)];if (!B) return;var D=FCKTools.GetElementAscensor(B,'TABLE');var E=B.cellIndex;for (var i=0;i=0;i--){if (B[i]) FCKTableHandler.DeleteColumns(B[i]);};return;};if (!A) return;var C=FCKTools.GetElementAscensor(A,'TABLE');var D=A.cellIndex;for (var i=C.rows.length-1;i>=0;i--){var E=C.rows[i];if (D==0&&E.cells.length==1){FCKTableHandler.DeleteRows(E);continue;};if (E.cells[D]) E.removeChild(E.cells[D]);}};FCKTableHandler.InsertCell=function(A,B){var C=null;var D=this.GetSelectedCells();if (D&&D.length) C=D[B?0:(D.length-1)];if (!C) return null;var E=FCK.EditorDocument.createElement('TD');if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(E);if (!B&&C.cellIndex==C.parentNode.cells.length-1) C.parentNode.appendChild(E);else C.parentNode.insertBefore(E,B?C:C.nextSibling);return E;};FCKTableHandler.DeleteCell=function(A){if (A.parentNode.cells.length==1){FCKTableHandler.DeleteRows(FCKTools.GetElementAscensor(A,'TR'));return;};A.parentNode.removeChild(A);};FCKTableHandler.DeleteCells=function(){var A=FCKTableHandler.GetSelectedCells();for (var i=A.length-1;i>=0;i--){FCKTableHandler.DeleteCell(A[i]);}};FCKTableHandler._MarkCells=function(A,B){for (var i=0;i=E.height){for (D=F;D0){var L=K.removeChild(K.firstChild);if (L.nodeType!=1||(L.getAttribute('type',2)!='_moz'&&L.getAttribute('_moz_dirty')!=null)){I.appendChild(L);J++;}}};if (J>0) I.appendChild(FCKTools.GetElementDocument(B).createElement('br'));};this._ReplaceCellsByMarker(C,'_SelectedCells',B);this._UnmarkCells(A,'_SelectedCells');this._InstallTableMap(C,B.parentNode.parentNode);B.appendChild(I);if (FCKBrowserInfo.IsGeckoLike&&(!B.firstChild)) FCKTools.AppendBogusBr(B);this._MoveCaretToCell(B,false);};FCKTableHandler.MergeRight=function(){var A=this.GetMergeRightTarget();if (A==null) return;var B=A.refCell;var C=A.tableMap;var D=A.nextCell;var E=FCK.EditorDocument.createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));D.parentNode.removeChild(D);B.appendChild(E);this._MarkCells([D],'_Replace');this._ReplaceCellsByMarker(C,'_Replace',B);this._InstallTableMap(C,B.parentNode.parentNode);this._MoveCaretToCell(B,false);};FCKTableHandler.MergeDown=function(){var A=this.GetMergeDownTarget();if (A==null) return;var B=A.refCell;var C=A.tableMap;var D=A.nextCell;var E=FCKTools.GetElementDocument(B).createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));if (E.firstChild) E.insertBefore(FCKTools.GetElementDocument(D).createElement('br'),E.firstChild);B.appendChild(E);this._MarkCells([D],'_Replace');this._ReplaceCellsByMarker(C,'_Replace',B);this._InstallTableMap(C,B.parentNode.parentNode);this._MoveCaretToCell(B,false);};FCKTableHandler.HorizontalSplitCell=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length!=1) return;var B=A[0];var C=this._CreateTableMap(B.parentNode.parentNode);var D=B.parentNode.rowIndex;var E=FCKTableHandler._GetCellIndexSpan(C,D,B);var F=isNaN(B.colSpan)?1:B.colSpan;if (F>1){var G=Math.ceil(F/2);var H=FCKTools.GetElementDocument(B).createElement('td');if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(H);var I=E+G;var J=E+F;var K=isNaN(B.rowSpan)?1:B.rowSpan;for (var r=D;r1){B.rowSpan=Math.ceil(E/2);var G=F+Math.ceil(E/2);var H=null;for (var i=D+1;iG) L.insertBefore(K,L.rows[G]);else L.appendChild(K);for (var i=0;i0){var D=B.rows[0];D.parentNode.removeChild(D);};for (var i=0;iF) F=j;if (E._colScanned===true) continue;if (A[i][j-1]==E) E.colSpan++;if (A[i][j+1]!=E) E._colScanned=true;}};for (var i=0;i<=F;i++){for (var j=0;j=0&&C.compareEndPoints('StartToEnd',E)<=0)||(C.compareEndPoints('EndToStart',E)>=0&&C.compareEndPoints('EndToEnd',E)<=0)){B[B.length]=D.cells[i];}}}};return B;}; -var FCKXml=function(){this.Error=false;};FCKXml.GetAttribute=function(A,B,C){var D=A.attributes.getNamedItem(B);return D?D.value:C;};FCKXml.TransformToObject=function(A){if (!A) return null;var B={};var C=A.attributes;for (var i=0;i ';var A=FCKDocumentProcessor_CreateFakeImage('FCK__PageBreak',e);var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.SplitBlock();B.InsertNode(A);FCK.Events.FireEvent('OnSelectionChange');};FCKPageBreakCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};var FCKUnlinkCommand=function(){this.Name='Unlink';};FCKUnlinkCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (FCKBrowserInfo.IsGeckoLike){var A=FCK.Selection.MoveToAncestorNode('A');if (A) FCKTools.RemoveOuterTags(A);return;};FCK.ExecuteNamedCommand(this.Name);};FCKUnlinkCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState(this.Name);if (A==0&&FCK.EditMode==0){var B=FCKSelection.MoveToAncestorNode('A');var C=(B&&B.name.length>0&&B.href.length==0);if (C) A=-1;};return A;};FCKVisitLinkCommand=function(){this.Name='VisitLink';};FCKVisitLinkCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState('Unlink');if (A==0){var B=FCKSelection.MoveToAncestorNode('A');if (!B.href) A=-1;};return A;},Execute:function(){var A=FCKSelection.MoveToAncestorNode('A');var B=A.getAttribute('_fcksavedurl')||A.getAttribute('href',2);if (!/:\/\//.test(B)){var C=FCKConfig.BaseHref;var D=FCK.GetInstanceObject('parent');if (!C){C=D.document.location.href;C=C.substring(0,C.lastIndexOf('/')+1);};if (/^\//.test(B)){try{C=C.match(/^.*:\/\/+[^\/]+/)[0];}catch (e){C=D.document.location.protocol+'://'+D.parent.document.location.host;}};B=C+B;};if (!window.open(B,'_blank')) alert(FCKLang.VisitLinkBlocked);}};var FCKSelectAllCommand=function(){this.Name='SelectAll';};FCKSelectAllCommand.prototype.Execute=function(){if (FCK.EditMode==0){FCK.ExecuteNamedCommand('SelectAll');}else{var A=FCK.EditingArea.Textarea;if (FCKBrowserInfo.IsIE){A.createTextRange().execCommand('SelectAll');}else{A.selectionStart=0;A.selectionEnd=A.value.length;};A.focus();}};FCKSelectAllCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};var FCKPasteCommand=function(){this.Name='Paste';};FCKPasteCommand.prototype={Execute:function(){if (FCKBrowserInfo.IsIE) FCK.Paste();else FCK.ExecuteNamedCommand('Paste');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Paste');}};var FCKRuleCommand=function(){this.Name='Rule';};FCKRuleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();FCK.InsertElement('hr');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('InsertHorizontalRule');}};var FCKCutCopyCommand=function(A){this.Name=A?'Cut':'Copy';};FCKCutCopyCommand.prototype={Execute:function(){var A=false;if (FCKBrowserInfo.IsIE){var B=function(){A=true;};var C='on'+this.Name.toLowerCase();FCK.EditorDocument.body.attachEvent(C,B);FCK.ExecuteNamedCommand(this.Name);FCK.EditorDocument.body.detachEvent(C,B);}else{try{FCK.ExecuteNamedCommand(this.Name);A=true;}catch(e){}};if (!A) alert(FCKLang['PasteError'+this.Name]);},GetState:function(){return FCK.EditMode!=0?-1:FCK.GetNamedCommandState('Cut');}};var FCKAnchorDeleteCommand=function(){this.Name='AnchorDelete';};FCKAnchorDeleteCommand.prototype={Execute:function(){if (FCK.Selection.GetType()=='Control'){FCK.Selection.Delete();}else{var A=FCK.Selection.GetSelectedElement();if (A){if (A.tagName=='IMG'&&A.getAttribute('_fckanchor')) oAnchor=FCK.GetRealElement(A);else A=null;};if (!A){oAnchor=FCK.Selection.MoveToAncestorNode('A');if (oAnchor) FCK.Selection.SelectNode(oAnchor);};if (oAnchor.href.length!=0){oAnchor.removeAttribute('name');if (FCKBrowserInfo.IsIE) oAnchor.className=oAnchor.className.replace(FCKRegexLib.FCK_Class,'');return;};if (A){A.parentNode.removeChild(A);return;};if (oAnchor.innerHTML.length==0){oAnchor.parentNode.removeChild(oAnchor);return;};FCKTools.RemoveOuterTags(oAnchor);};if (FCKBrowserInfo.IsGecko) FCK.Selection.Collapse(true);},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Unlink');}};var FCKDeleteDivCommand=function(){};FCKDeleteDivCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCKSelection.GetParentElement();var B=new FCKElementPath(A);return B.BlockLimit&&B.BlockLimit.nodeName.IEquals('div')?0:-1;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCKDomTools.GetSelectedDivContainers();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();for (var i=0;i\n \n
    \n '+FCKLang.ColorAutomatic+'\n \n ';FCKTools.AddEventListenerEx(C,'click',FCKTextColorCommand_AutoOnClick,this);if (!FCKBrowserInfo.IsIE) C.style.width='96%';var G=FCKConfig.FontColors.toString().split(',');var H=0;while (H
    ';if (H>=G.length) C.style.visibility='hidden';else FCKTools.AddEventListenerEx(C,'click',FCKTextColorCommand_OnClick,[this,L]);}};if (FCKConfig.EnableMoreFontColors){E=D.insertRow(-1).insertCell(-1);E.colSpan=8;C=E.appendChild(CreateSelectionDiv());C.innerHTML='
    '+FCKLang.ColorMoreColors+'
    ';FCKTools.AddEventListenerEx(C,'click',FCKTextColorCommand_MoreOnClick,this);};if (!FCKBrowserInfo.IsIE) C.style.width='96%';}; -var FCKPastePlainTextCommand=function(){this.Name='PasteText';};FCKPastePlainTextCommand.prototype.Execute=function(){FCK.PasteAsPlainText();};FCKPastePlainTextCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Paste');}; -var FCKPasteWordCommand=function(){this.Name='PasteWord';};FCKPasteWordCommand.prototype.Execute=function(){FCK.PasteFromWord();};FCKPasteWordCommand.prototype.GetState=function(){if (FCK.EditMode!=0||FCKConfig.ForcePasteAsPlainText) return -1;else return FCK.GetNamedCommandState('Paste');}; -var FCKTableCommand=function(A){this.Name=A;};FCKTableCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (!FCKBrowserInfo.IsGecko){switch (this.Name){case 'TableMergeRight':return FCKTableHandler.MergeRight();case 'TableMergeDown':return FCKTableHandler.MergeDown();}};switch (this.Name){case 'TableInsertRowAfter':return FCKTableHandler.InsertRow(false);case 'TableInsertRowBefore':return FCKTableHandler.InsertRow(true);case 'TableDeleteRows':return FCKTableHandler.DeleteRows();case 'TableInsertColumnAfter':return FCKTableHandler.InsertColumn(false);case 'TableInsertColumnBefore':return FCKTableHandler.InsertColumn(true);case 'TableDeleteColumns':return FCKTableHandler.DeleteColumns();case 'TableInsertCellAfter':return FCKTableHandler.InsertCell(null,false);case 'TableInsertCellBefore':return FCKTableHandler.InsertCell(null,true);case 'TableDeleteCells':return FCKTableHandler.DeleteCells();case 'TableMergeCells':return FCKTableHandler.MergeCells();case 'TableHorizontalSplitCell':return FCKTableHandler.HorizontalSplitCell();case 'TableVerticalSplitCell':return FCKTableHandler.VerticalSplitCell();case 'TableDelete':return FCKTableHandler.DeleteTable();default:return alert(FCKLang.UnknownCommand.replace(/%1/g,this.Name));}};FCKTableCommand.prototype.GetState=function(){if (FCK.EditorDocument!=null&&FCKSelection.HasAncestorNode('TABLE')){switch (this.Name){case 'TableHorizontalSplitCell':case 'TableVerticalSplitCell':if (FCKTableHandler.GetSelectedCells().length==1) return 0;else return -1;case 'TableMergeCells':if (FCKTableHandler.CheckIsSelectionRectangular()&&FCKTableHandler.GetSelectedCells().length>1) return 0;else return -1;case 'TableMergeRight':return FCKTableHandler.GetMergeRightTarget()?0:-1;case 'TableMergeDown':return FCKTableHandler.GetMergeDownTarget()?0:-1;default:return 0;}}else return -1;}; -var FCKFitWindow=function(){this.Name='FitWindow';};FCKFitWindow.prototype.Execute=function(){var A=window.frameElement;var B=A.style;var C=parent;var D=C.document.documentElement;var E=C.document.body;var F=E.style;var G;var H=new FCKDomRange(FCK.EditorWindow);H.MoveToSelection();var I=FCKTools.GetScrollPosition(FCK.EditorWindow);if (!this.IsMaximized){if(FCKBrowserInfo.IsIE) C.attachEvent('onresize',FCKFitWindow_Resize);else C.addEventListener('resize',FCKFitWindow_Resize,true);this._ScrollPos=FCKTools.GetScrollPosition(C);G=A;while((G=G.parentNode)){if (G.nodeType==1){G._fckSavedStyles=FCKTools.SaveStyles(G);G.style.zIndex=FCKConfig.FloatingPanelsZIndex-1;}};if (FCKBrowserInfo.IsIE){this.documentElementOverflow=D.style.overflow;D.style.overflow='hidden';F.overflow='hidden';}else{F.overflow='hidden';F.width='0px';F.height='0px';};this._EditorFrameStyles=FCKTools.SaveStyles(A);var J=FCKTools.GetViewPaneSize(C);B.position="absolute";A.offsetLeft;B.zIndex=FCKConfig.FloatingPanelsZIndex-1;B.left="0px";B.top="0px";B.width=J.Width+"px";B.height=J.Height+"px";if (!FCKBrowserInfo.IsIE){B.borderRight=B.borderBottom="9999px solid white";B.backgroundColor="white";};C.scrollTo(0,0);var K=FCKTools.GetWindowPosition(C,A);if (K.x!=0) B.left=(-1*K.x)+"px";if (K.y!=0) B.top=(-1*K.y)+"px";this.IsMaximized=true;}else{if(FCKBrowserInfo.IsIE) C.detachEvent("onresize",FCKFitWindow_Resize);else C.removeEventListener("resize",FCKFitWindow_Resize,true);G=A;while((G=G.parentNode)){if (G._fckSavedStyles){FCKTools.RestoreStyles(G,G._fckSavedStyles);G._fckSavedStyles=null;}};if (FCKBrowserInfo.IsIE) D.style.overflow=this.documentElementOverflow;FCKTools.RestoreStyles(A,this._EditorFrameStyles);C.scrollTo(this._ScrollPos.X,this._ScrollPos.Y);this.IsMaximized=false;};FCKToolbarItems.GetItem('FitWindow').RefreshState();if (FCK.EditMode==0) FCK.EditingArea.MakeEditable();FCK.Focus();H.Select();FCK.EditorWindow.scrollTo(I.X,I.Y);};FCKFitWindow.prototype.GetState=function(){if (FCKConfig.ToolbarLocation!='In') return -1;else return (this.IsMaximized?1:0);};function FCKFitWindow_Resize(){var A=FCKTools.GetViewPaneSize(parent);var B=window.frameElement.style;B.width=A.Width+'px';B.height=A.Height+'px';}; -var FCKListCommand=function(A,B){this.Name=A;this.TagName=B;};FCKListCommand.prototype={GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=FCKSelection.GetBoundaryParentElement(true);var B=A;while (B){if (B.nodeName.IEquals(['ul','ol'])) break;B=B.parentNode;};if (B&&B.nodeName.IEquals(this.TagName)) return 1;else return 0;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCK.EditorDocument;var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=this.GetState();if (C==0){FCKDomTools.TrimNode(A.body);if (!A.body.firstChild){var D=A.createElement('p');A.body.appendChild(D);B.MoveToNodeContents(D);}};var E=B.CreateBookmark();var F=[];var G={};var H=new FCKDomRangeIterator(B);var I;H.ForceBrBreak=(C==0);var J=true;var K=null;while (J){while ((I=H.GetNextParagraph())){var L=new FCKElementPath(I);var M=null;var N=false;var O=L.BlockLimit;for (var i=L.Elements.length-1;i>=0;i--){var P=L.Elements[i];if (P.nodeName.IEquals(['ol','ul'])){if (O._FCK_ListGroupObject) O._FCK_ListGroupObject=null;var Q=P._FCK_ListGroupObject;if (Q) Q.contents.push(I);else{Q={ 'root':P,'contents':[I] };F.push(Q);FCKDomTools.SetElementMarker(G,P,'_FCK_ListGroupObject',Q);};N=true;break;}};if (N) continue;var R=O;if (R._FCK_ListGroupObject) R._FCK_ListGroupObject.contents.push(I);else{var Q={ 'root':R,'contents':[I] };FCKDomTools.SetElementMarker(G,R,'_FCK_ListGroupObject',Q);F.push(Q);}};if (FCKBrowserInfo.IsIE) J=false;else{if (K==null){K=[];var T=FCKSelection.GetSelection();if (T&&F.length==0) K.push(T.getRangeAt(0));for (var i=1;T&&i0){var Q=F.shift();if (C==0){if (Q.root.nodeName.IEquals(['ul','ol'])) this._ChangeListType(Q,G,W);else this._CreateList(Q,W);}else if (C==1&&Q.root.nodeName.IEquals(['ul','ol'])) this._RemoveList(Q,G);};for (var i=0;iC[i-1].indent+1){var H=C[i-1].indent+1-C[i].indent;var I=C[i].indent;while (C[i]&&C[i].indent>=I){C[i].indent+=H;i++;};i--;}};var J=FCKDomTools.ArrayToList(C,B);if (A.root.nextSibling==null||A.root.nextSibling.nodeName.IEquals('br')){if (J.listNode.lastChild.nodeName.IEquals('br')) J.listNode.removeChild(J.listNode.lastChild);};A.root.parentNode.replaceChild(J.listNode,A.root);}}; -var FCKJustifyCommand=function(A){this.AlignValue=A;var B=FCKConfig.ContentLangDirection.toLowerCase();this.IsDefaultAlign=(A=='left'&&B=='ltr')||(A=='right'&&B=='rtl');var C=this._CssClassName=(function(){var D=FCKConfig.JustifyClasses;if (D){switch (A){case 'left':return D[0]||null;case 'center':return D[1]||null;case 'right':return D[2]||null;case 'justify':return D[3]||null;}};return null;})();if (C&&C.length>0) this._CssClassRegex=new RegExp('(?:^|\\s+)'+C+'(?=$|\\s)');};FCKJustifyCommand._GetClassNameRegex=function(){var A=FCKJustifyCommand._ClassRegex;if (A!=undefined) return A;var B=[];var C=FCKConfig.JustifyClasses;if (C){for (var i=0;i<4;i++){var D=C[i];if (D&&D.length>0) B.push(D);}};if (B.length>0) A=new RegExp('(?:^|\\s+)(?:'+B.join('|')+')(?=$|\\s)');else A=null;return FCKJustifyCommand._ClassRegex=A;};FCKJustifyCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();var A=new FCKDomRange(FCK.EditorWindow);A.MoveToSelection();var B=this.GetState();if (B==-1) return;var C=A.CreateBookmark();var D=this._CssClassName;var E=new FCKDomRangeIterator(A);var F;while ((F=E.GetNextParagraph())){F.removeAttribute('align');if (D){var G=F.className.replace(FCKJustifyCommand._GetClassNameRegex(),'');if (B==0){if (G.length>0) G+=' ';F.className=G+D;}else if (G.length==0) FCKDomTools.RemoveAttribute(F,'class');}else{var H=F.style;if (B==0) H.textAlign=this.AlignValue;else{H.textAlign='';if (H.cssText.length==0) F.removeAttribute('style');}}};A.MoveToBookmark(C);A.Select();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=new FCKElementPath(FCKSelection.GetBoundaryParentElement(true));var B=A.Block||A.BlockLimit;if (!B||B.nodeName.toLowerCase()=='body') return 0;var C;if (FCKBrowserInfo.IsIE) C=B.currentStyle.textAlign;else C=FCK.EditorWindow.getComputedStyle(B,'').getPropertyValue('text-align');C=C.replace(/(-moz-|-webkit-|start|auto)/i,'');if ((!C&&this.IsDefaultAlign)||C==this.AlignValue) return 1;return 0;}}; -var FCKIndentCommand=function(A,B){this.Name=A;this.Offset=B;this.IndentCSSProperty=FCKConfig.ContentLangDirection.IEquals('ltr')?'marginLeft':'marginRight';};FCKIndentCommand._InitIndentModeParameters=function(){if (FCKConfig.IndentClasses&&FCKConfig.IndentClasses.length>0){this._UseIndentClasses=true;this._IndentClassMap={};for (var i=0;i0?H+' ':'')+FCKConfig.IndentClasses[G-1];}else{var I=parseInt(E.style[this.IndentCSSProperty],10);if (isNaN(I)) I=0;I+=this.Offset;I=Math.max(I,0);I=Math.ceil(I/this.Offset)*this.Offset;E.style[this.IndentCSSProperty]=I?I+FCKConfig.IndentUnit:'';if (E.getAttribute('style')=='') E.removeAttribute('style');}}},_IndentList:function(A,B){var C=A.StartContainer;var D=A.EndContainer;while (C&&C.parentNode!=B) C=C.parentNode;while (D&&D.parentNode!=B) D=D.parentNode;if (!C||!D) return;var E=C;var F=[];var G=false;while (G==false){if (E==D) G=true;F.push(E);E=E.nextSibling;};if (F.length<1) return;var H=FCKDomTools.GetParents(B);for (var i=0;iN;i++) M[i].indent+=I;var O=FCKDomTools.ArrayToList(M);if (O) B.parentNode.replaceChild(O.listNode,B);FCKDomTools.ClearAllMarkers(L);}}; -var FCKBlockQuoteCommand=function(){};FCKBlockQuoteCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();var A=this.GetState();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();if (FCKBrowserInfo.IsIE){var D=B.GetBookmarkNode(C,true);var E=B.GetBookmarkNode(C,false);var F;if (D&&D.parentNode.nodeName.IEquals('blockquote')&&!D.previousSibling){F=D;while ((F=F.nextSibling)){if (FCKListsLib.BlockElements[F.nodeName.toLowerCase()]) FCKDomTools.MoveNode(D,F,true);}};if (E&&E.parentNode.nodeName.IEquals('blockquote')&&!E.previousSibling){F=E;while ((F=F.nextSibling)){if (FCKListsLib.BlockElements[F.nodeName.toLowerCase()]){if (F.firstChild==D) FCKDomTools.InsertAfterNode(D,E);else FCKDomTools.MoveNode(E,F,true);}}}};var G=new FCKDomRangeIterator(B);var H;if (A==0){G.EnforceRealBlocks=true;var I=[];while ((H=G.GetNextParagraph())) I.push(H);if (I.length<1){para=B.Window.document.createElement(FCKConfig.EnterMode.IEquals('p')?'p':'div');B.InsertNode(para);para.appendChild(B.Window.document.createTextNode('\ufeff'));B.MoveToBookmark(C);B.MoveToNodeContents(para);B.Collapse(true);C=B.CreateBookmark();I.push(para);};var J=I[0].parentNode;var K=[];for (var i=0;i0){H=I.shift();while (H.parentNode!=J) H=H.parentNode;if (H!=L) K.push(H);L=H;}while (K.length>0){H=K.shift();if (H.nodeName.IEquals('blockquote')){var M=FCKTools.GetElementDocument(H).createDocumentFragment();while (H.firstChild){M.appendChild(H.removeChild(H.firstChild));I.push(M.lastChild);};H.parentNode.replaceChild(M,H);}else I.push(H);};var N=B.Window.document.createElement('blockquote');J.insertBefore(N,I[0]);while (I.length>0){H=I.shift();N.appendChild(H);}}else if (A==1){var O=[];while ((H=G.GetNextParagraph())){var P=null;var Q=null;while (H.parentNode){if (H.parentNode.nodeName.IEquals('blockquote')){P=H.parentNode;Q=H;break;};H=H.parentNode;};if (P&&Q) O.push(Q);};var R=[];while (O.length>0){var S=O.shift();var N=S.parentNode;if (S==S.parentNode.firstChild){N.parentNode.insertBefore(N.removeChild(S),N);if (!N.firstChild) N.parentNode.removeChild(N);}else if (S==S.parentNode.lastChild){N.parentNode.insertBefore(N.removeChild(S),N.nextSibling);if (!N.firstChild) N.parentNode.removeChild(N);}else FCKDomTools.BreakParent(S,S.parentNode,B);R.push(S);};if (FCKConfig.EnterMode.IEquals('br')){while (R.length){var S=R.shift();var W=true;if (S.nodeName.IEquals('div')){var M=FCKTools.GetElementDocument(S).createDocumentFragment();var Y=W&&S.previousSibling&&!FCKListsLib.BlockBoundaries[S.previousSibling.nodeName.toLowerCase()];if (W&&Y) M.appendChild(FCKTools.GetElementDocument(S).createElement('br'));var Z=S.nextSibling&&!FCKListsLib.BlockBoundaries[S.nextSibling.nodeName.toLowerCase()];while (S.firstChild) M.appendChild(S.removeChild(S.firstChild));if (Z) M.appendChild(FCKTools.GetElementDocument(S).createElement('br'));S.parentNode.replaceChild(M,S);W=false;}}}};B.MoveToBookmark(C);B.Select();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=new FCKElementPath(FCKSelection.GetBoundaryParentElement(true));var B=A.Block||A.BlockLimit;if (!B||B.nodeName.toLowerCase()=='body') return 0;for (var i=0;i';B.open();B.write(''+F+'<\/head><\/body><\/html>');B.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.Panel_Contructor(B,window.document.location);FCKTools.AddEventListenerEx(E,'focus',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(E,'blur',FCKPanel_Window_OnBlur,this);};B.dir=FCKLang.Dir;FCKTools.AddEventListener(B,'contextmenu',FCKTools.CancelEvent);this.MainNode=B.body.appendChild(B.createElement('DIV'));this.MainNode.style.cssFloat=this.IsRTL?'right':'left';};FCKPanel.prototype.AppendStyleSheet=function(A){FCKTools.AppendStyleSheet(this.Document,A);};FCKPanel.prototype.Preload=function(x,y,A){if (this._Popup) this._Popup.show(x,y,0,0,A);};FCKPanel.prototype.Show=function(x,y,A,B,C){var D;var E=this.MainNode;if (this._Popup){this._Popup.show(x,y,0,0,A);FCKDomTools.SetElementStyles(E,{B:B?B+'px':'',C:C?C+'px':''});D=E.offsetWidth;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=(x*-1)+A.offsetWidth-D;};this._Popup.show(x,y,D,E.offsetHeight,A);if (this.OnHide){if (this._Timer) CheckPopupOnHide.call(this,true);this._Timer=FCKTools.SetInterval(CheckPopupOnHide,100,this);}}else{if (typeof(FCK.ToolbarSet.CurrentInstance.FocusManager)!='undefined') FCK.ToolbarSet.CurrentInstance.FocusManager.Lock();if (this.ParentPanel){this.ParentPanel.Lock();FCKPanel_Window_OnBlur(null,this.ParentPanel);};if (FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac){this._IFrame.scrolling='';FCKTools.RunFunction(function(){ this._IFrame.scrolling='no';},this);};if (FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel&&FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel!=this) FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel.Hide(false,true);FCKDomTools.SetElementStyles(E,{B:B?B+'px':'',C:C?C+'px':''});D=E.offsetWidth;if (!B) this._IFrame.width=1;if (!C) this._IFrame.height=1;D=E.offsetWidth||E.firstChild.offsetWidth;var F=FCKTools.GetDocumentPosition(this._Window,A.nodeType==9?(FCKTools.IsStrictMode(A)?A.documentElement:A.body):A);var G=FCKDomTools.GetPositionedAncestor(this._IFrame.parentNode);if (G){var H=FCKTools.GetDocumentPosition(FCKTools.GetElementWindow(G),G);F.x-=H.x;F.y-=H.y;};if (this.IsRTL&&!this.IsContextMenu) x=(x*-1);x+=F.x;y+=F.y;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=x+A.offsetWidth-D;}else{var I=FCKTools.GetViewPaneSize(this._Window);var J=FCKTools.GetScrollPosition(this._Window);var K=I.Height+J.Y;var L=I.Width+J.X;if ((x+D)>L) x-=x+D-L;if ((y+E.offsetHeight)>K) y-=y+E.offsetHeight-K;};FCKDomTools.SetElementStyles(this._IFrame,{left:x+'px',top:y+'px'});this._IFrame.contentWindow.focus();this._IsOpened=true;var M=this;this._resizeTimer=setTimeout(function(){var N=E.offsetWidth||E.firstChild.offsetWidth;var O=E.offsetHeight;M._IFrame.style.width=N+'px';M._IFrame.style.height=O+'px';},0);FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel=this;};FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A,B){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened||this._LockCounter>0) return;if (typeof(FCKFocusManager)!='undefined'&&!B) FCKFocusManager.Unlock();this._IFrame.style.width=this._IFrame.style.height='0px';this._IsOpened=false;if (this._resizeTimer){clearTimeout(this._resizeTimer);this._resizeTimer=null;};if (this.ParentPanel) this.ParentPanel.Unlock();if (!A) FCKTools.RunFunction(this.OnHide,this);}};FCKPanel.prototype.CheckIsOpened=function(){if (this._Popup) return this._Popup.isOpen;else return this._IsOpened;};FCKPanel.prototype.CreateChildPanel=function(){var A=this._Popup?FCKTools.GetDocumentWindow(this.Document):this._Window;var B=new FCKPanel(A);B.ParentPanel=this;return B;};FCKPanel.prototype.Lock=function(){this._LockCounter++;};FCKPanel.prototype.Unlock=function(){if (--this._LockCounter==0&&!this.HasFocus) this.Hide();};function FCKPanel_Window_OnFocus(e,A){A.HasFocus=true;};function FCKPanel_Window_OnBlur(e,A){A.HasFocus=false;if (A._LockCounter==0) FCKTools.RunFunction(A.Hide,A);};function CheckPopupOnHide(A){if (A||!this._Popup.isOpen){window.clearInterval(this._Timer);this._Timer=null;FCKTools.RunFunction(this.OnHide,this);}};function FCKPanel_Cleanup(){this._Popup=null;this._Window=null;this.Document=null;this.MainNode=null;}; -var FCKIcon=function(A){var B=A?typeof(A):'undefined';switch (B){case 'number':this.Path=FCKConfig.SkinPath+'fck_strip.gif';this.Size=16;this.Position=A;break;case 'undefined':this.Path=FCK_SPACER_PATH;break;case 'string':this.Path=A;break;default:this.Path=A[0];this.Size=A[1];this.Position=A[2];}};FCKIcon.prototype.CreateIconElement=function(A){var B,eIconImage;if (this.Position){var C='-'+((this.Position-1)*this.Size)+'px';if (FCKBrowserInfo.IsIE){B=A.createElement('DIV');eIconImage=B.appendChild(A.createElement('IMG'));eIconImage.src=this.Path;eIconImage.style.top=C;}else{B=A.createElement('IMG');B.src=FCK_SPACER_PATH;B.style.backgroundPosition='0px '+C;B.style.backgroundImage='url("'+this.Path+'")';}}else{if (FCKBrowserInfo.IsIE){B=A.createElement('DIV');eIconImage=B.appendChild(A.createElement('IMG'));eIconImage.src=this.Path?this.Path:FCK_SPACER_PATH;}else{B=A.createElement('IMG');B.src=this.Path?this.Path:FCK_SPACER_PATH;}};B.className='TB_Button_Image';return B;}; -var FCKToolbarButtonUI=function(A,B,C,D,E,F){this.Name=A;this.Label=B||A;this.Tooltip=C||this.Label;this.Style=E||0;this.State=F||0;this.Icon=new FCKIcon(D);if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarButtonUI_Cleanup);};FCKToolbarButtonUI.prototype._CreatePaddingElement=function(A){var B=A.createElement('IMG');B.className='TB_Button_Padding';B.src=FCK_SPACER_PATH;return B;};FCKToolbarButtonUI.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var C=this.MainElement=B.createElement('DIV');C.title=this.Tooltip;if (FCKBrowserInfo.IsGecko) C.onmousedown=FCKTools.CancelEvent;FCKTools.AddEventListenerEx(C,'mouseover',FCKToolbarButtonUI_OnMouseOver,this);FCKTools.AddEventListenerEx(C,'mouseout',FCKToolbarButtonUI_OnMouseOut,this);FCKTools.AddEventListenerEx(C,'click',FCKToolbarButtonUI_OnClick,this);this.ChangeState(this.State,true);if (this.Style==0&&!this.ShowArrow){C.appendChild(this.Icon.CreateIconElement(B));}else{var D=C.appendChild(B.createElement('TABLE'));D.cellPadding=0;D.cellSpacing=0;var E=D.insertRow(-1);var F=E.insertCell(-1);if (this.Style==0||this.Style==2) F.appendChild(this.Icon.CreateIconElement(B));else F.appendChild(this._CreatePaddingElement(B));if (this.Style==1||this.Style==2){F=E.insertCell(-1);F.className='TB_Button_Text';F.noWrap=true;F.appendChild(B.createTextNode(this.Label));};if (this.ShowArrow){if (this.Style!=0){E.insertCell(-1).appendChild(this._CreatePaddingElement(B));};F=E.insertCell(-1);var G=F.appendChild(B.createElement('IMG'));G.src=FCKConfig.SkinPath+'images/toolbar.buttonarrow.gif';G.width=5;G.height=3;};F=E.insertCell(-1);F.appendChild(this._CreatePaddingElement(B));};A.appendChild(C);};FCKToolbarButtonUI.prototype.ChangeState=function(A,B){if (!B&&this.State==A) return;var e=this.MainElement;if (!e) return;switch (parseInt(A,10)){case 0:e.className='TB_Button_Off';break;case 1:e.className='TB_Button_On';break;case -1:e.className='TB_Button_Disabled';break;};this.State=A;};function FCKToolbarButtonUI_OnMouseOver(A,B){if (B.State==0) this.className='TB_Button_Off_Over';else if (B.State==1) this.className='TB_Button_On_Over';};function FCKToolbarButtonUI_OnMouseOut(A,B){if (B.State==0) this.className='TB_Button_Off';else if (B.State==1) this.className='TB_Button_On';};function FCKToolbarButtonUI_OnClick(A,B){if (B.OnClick&&B.State!=-1) B.OnClick(B);};function FCKToolbarButtonUI_Cleanup(){this.MainElement=null;}; -var FCKToolbarButton=function(A,B,C,D,E,F,G){this.CommandName=A;this.Label=B;this.Tooltip=C;this.Style=D;this.SourceView=E?true:false;this.ContextSensitive=F?true:false;if (G==null) this.IconPath=FCKConfig.SkinPath+'toolbar/'+A.toLowerCase()+'.gif';else if (typeof(G)=='number') this.IconPath=[FCKConfig.SkinPath+'fck_strip.gif',16,G];else this.IconPath=G;};FCKToolbarButton.prototype.Create=function(A){this._UIButton=new FCKToolbarButtonUI(this.CommandName,this.Label,this.Tooltip,this.IconPath,this.Style);this._UIButton.OnClick=this.Click;this._UIButton._ToolbarButton=this;this._UIButton.Create(A);};FCKToolbarButton.prototype.RefreshState=function(){var A=this._UIButton;if (!A) return;var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (B==A.State) return;A.ChangeState(B);};FCKToolbarButton.prototype.Click=function(){var A=this._ToolbarButton||this;FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(A.CommandName).Execute();};FCKToolbarButton.prototype.Enable=function(){this.RefreshState();};FCKToolbarButton.prototype.Disable=function(){this._UIButton.ChangeState(-1);}; -var FCKSpecialCombo=function(A,B,C,D,E){this.FieldWidth=B||100;this.PanelWidth=C||150;this.PanelMaxHeight=D||150;this.Label=' ';this.Caption=A;this.Tooltip=A;this.Style=2;this.Enabled=true;this.Items={};this._Panel=new FCKPanel(E||window);this._Panel.AppendStyleSheet(FCKConfig.SkinEditorCSS);this._PanelBox=this._Panel.MainNode.appendChild(this._Panel.Document.createElement('DIV'));this._PanelBox.className='SC_Panel';this._PanelBox.style.width=this.PanelWidth+'px';this._PanelBox.innerHTML='
    ';this._ItemsHolderEl=this._PanelBox.getElementsByTagName('TD')[0];if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKSpecialCombo_Cleanup);};function FCKSpecialCombo_ItemOnMouseOver(){this.className+=' SC_ItemOver';};function FCKSpecialCombo_ItemOnMouseOut(){this.className=this.originalClass;};function FCKSpecialCombo_ItemOnClick(A,B,C){this.className=this.originalClass;B._Panel.Hide();B.SetLabel(this.FCKItemLabel);if (typeof(B.OnSelect)=='function') B.OnSelect(C,this);};FCKSpecialCombo.prototype.ClearItems=function (){if (this.Items) this.Items={};var A=this._ItemsHolderEl;while (A.firstChild) A.removeChild(A.firstChild);};FCKSpecialCombo.prototype.AddItem=function(A,B,C,D){var E=this._ItemsHolderEl.appendChild(this._Panel.Document.createElement('DIV'));E.className=E.originalClass='SC_Item';E.innerHTML=B;E.FCKItemLabel=C||A;E.Selected=false;if (FCKBrowserInfo.IsIE) E.style.width='100%';if (D) E.style.backgroundColor=D;FCKTools.AddEventListenerEx(E,'mouseover',FCKSpecialCombo_ItemOnMouseOver);FCKTools.AddEventListenerEx(E,'mouseout',FCKSpecialCombo_ItemOnMouseOut);FCKTools.AddEventListenerEx(E,'click',FCKSpecialCombo_ItemOnClick,[this,A]);this.Items[A.toString().toLowerCase()]=E;return E;};FCKSpecialCombo.prototype.SelectItem=function(A){if (typeof A=='string') A=this.Items[A.toString().toLowerCase()];if (A){A.className=A.originalClass='SC_ItemSelected';A.Selected=true;}};FCKSpecialCombo.prototype.SelectItemByLabel=function(A,B){for (var C in this.Items){var D=this.Items[C];if (D.FCKItemLabel==A){D.className=D.originalClass='SC_ItemSelected';D.Selected=true;if (B) this.SetLabel(A);}}};FCKSpecialCombo.prototype.DeselectAll=function(A){for (var i in this.Items){if (!this.Items[i]) continue;this.Items[i].className=this.Items[i].originalClass='SC_Item';this.Items[i].Selected=false;};if (A) this.SetLabel('');};FCKSpecialCombo.prototype.SetLabelById=function(A){A=A?A.toString().toLowerCase():'';var B=this.Items[A];this.SetLabel(B?B.FCKItemLabel:'');};FCKSpecialCombo.prototype.SetLabel=function(A){A=(!A||A.length==0)?' ':A;if (A==this.Label) return;this.Label=A;var B=this._LabelEl;if (B){B.innerHTML=A;FCKTools.DisableSelection(B);}};FCKSpecialCombo.prototype.SetEnabled=function(A){this.Enabled=A;if (this._OuterTable) this._OuterTable.className=A?'':'SC_FieldDisabled';};FCKSpecialCombo.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var C=this._OuterTable=A.appendChild(B.createElement('TABLE'));C.cellPadding=0;C.cellSpacing=0;C.insertRow(-1);var D;var E;switch (this.Style){case 0:D='TB_ButtonType_Icon';E=false;break;case 1:D='TB_ButtonType_Text';E=false;break;case 2:E=true;break;};if (this.Caption&&this.Caption.length>0&&E){var F=C.rows[0].insertCell(-1);F.innerHTML=this.Caption;F.className='SC_FieldCaption';};var G=FCKTools.AppendElement(C.rows[0].insertCell(-1),'div');if (E){G.className='SC_Field';G.style.width=this.FieldWidth+'px';G.innerHTML='
     
    ';this._LabelEl=G.getElementsByTagName('label')[0];this._LabelEl.innerHTML=this.Label;}else{G.className='TB_Button_Off';G.innerHTML='
    '+this.Caption+'
    ';};FCKTools.AddEventListenerEx(G,'mouseover',FCKSpecialCombo_OnMouseOver,this);FCKTools.AddEventListenerEx(G,'mouseout',FCKSpecialCombo_OnMouseOut,this);FCKTools.AddEventListenerEx(G,'click',FCKSpecialCombo_OnClick,this);FCKTools.DisableSelection(this._Panel.Document.body);};function FCKSpecialCombo_Cleanup(){this._LabelEl=null;this._OuterTable=null;this._ItemsHolderEl=null;this._PanelBox=null;if (this.Items){for (var A in this.Items) this.Items[A]=null;}};function FCKSpecialCombo_OnMouseOver(A,B){if (B.Enabled){switch (B.Style){case 0:this.className='TB_Button_On_Over';break;case 1:this.className='TB_Button_On_Over';break;case 2:this.className='SC_Field SC_FieldOver';break;}}};function FCKSpecialCombo_OnMouseOut(A,B){switch (B.Style){case 0:this.className='TB_Button_Off';break;case 1:this.className='TB_Button_Off';break;case 2:this.className='SC_Field';break;}};function FCKSpecialCombo_OnClick(e,A){if (A.Enabled){var B=A._Panel;var C=A._PanelBox;var D=A._ItemsHolderEl;var E=A.PanelMaxHeight;if (A.OnBeforeClick) A.OnBeforeClick(A);if (FCKBrowserInfo.IsIE) B.Preload(0,this.offsetHeight,this);if (D.offsetHeight>E) C.style.height=E+'px';else C.style.height='';B.Show(0,this.offsetHeight,this);}}; -var FCKToolbarSpecialCombo=function(){this.SourceView=false;this.ContextSensitive=true;this.FieldWidth=null;this.PanelWidth=null;this.PanelMaxHeight=null;};FCKToolbarSpecialCombo.prototype.DefaultLabel='';function FCKToolbarSpecialCombo_OnSelect(A,B){FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).Execute(A,B);};FCKToolbarSpecialCombo.prototype.Create=function(A){this._Combo=new FCKSpecialCombo(this.GetLabel(),this.FieldWidth,this.PanelWidth,this.PanelMaxHeight,FCKBrowserInfo.IsIE?window:FCKTools.GetElementWindow(A).parent);this._Combo.Tooltip=this.Tooltip;this._Combo.Style=this.Style;this.CreateItems(this._Combo);this._Combo.Create(A);this._Combo.CommandName=this.CommandName;this._Combo.OnSelect=FCKToolbarSpecialCombo_OnSelect;};function FCKToolbarSpecialCombo_RefreshActiveItems(A,B){A.DeselectAll();A.SelectItem(B);A.SetLabelById(B);};FCKToolbarSpecialCombo.prototype.RefreshState=function(){var A;var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (B!=-1){A=1;if (this.RefreshActiveItems) this.RefreshActiveItems(this._Combo,B);else{if (this._LastValue!==B){this._LastValue=B;if (!B||B.length==0){this._Combo.DeselectAll();this._Combo.SetLabel(this.DefaultLabel);}else FCKToolbarSpecialCombo_RefreshActiveItems(this._Combo,B);}}}else A=-1;if (A==this.State) return;if (A==-1){this._Combo.DeselectAll();this._Combo.SetLabel('');};this.State=A;this._Combo.SetEnabled(A!=-1);};FCKToolbarSpecialCombo.prototype.Enable=function(){this.RefreshState();};FCKToolbarSpecialCombo.prototype.Disable=function(){this.State=-1;this._Combo.DeselectAll();this._Combo.SetLabel('');this._Combo.SetEnabled(false);}; -var FCKToolbarStyleCombo=function(A,B){if (A===false) return;this.CommandName='Style';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.DefaultLabel=FCKConfig.DefaultStyleLabel||'';};FCKToolbarStyleCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarStyleCombo.prototype.GetLabel=function(){return FCKLang.Style;};FCKToolbarStyleCombo.prototype.GetStyles=function(){var A={};var B=FCK.ToolbarSet.CurrentInstance.Styles.GetStyles();for (var C in B){var D=B[C];if (!D.IsCore) A[C]=D;};return A;};FCKToolbarStyleCombo.prototype.CreateItems=function(A){var B=A._Panel.Document;FCKTools.AppendStyleSheet(B,FCKConfig.ToolbarComboPreviewCSS);FCKTools.AppendStyleString(B,FCKConfig.EditorAreaStyles);B.body.className+=' ForceBaseFont';FCKConfig.ApplyBodyAttributes(B.body);var C=this.GetStyles();for (var D in C){var E=C[D];var F=E.GetType()==2?D:FCKToolbarStyleCombo_BuildPreview(E,E.Label||D);var G=A.AddItem(D,F);G.Style=E;};A.OnBeforeClick=this.StyleCombo_OnBeforeClick;};FCKToolbarStyleCombo.prototype.RefreshActiveItems=function(A){var B=FCK.ToolbarSet.CurrentInstance.Selection.GetBoundaryParentElement(true);if (B){var C=new FCKElementPath(B);var D=C.Elements;for (var e=0;e');var E=A.Element;if (E=='bdo') E='span';D=['<',E];var F=A._StyleDesc.Attributes;if (F){for (var G in F){D.push(' ',G,'="',A.GetFinalAttributeValue(G),'"');}};if (A._GetStyleText().length>0) D.push(' style="',A.GetFinalStyleValue(),'"');D.push('>',B,'');if (C==0) D.push('');return D.join('');}; -var FCKToolbarFontFormatCombo=function(A,B){if (A===false) return;this.CommandName='FontFormat';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.NormalLabel='Normal';this.PanelWidth=190;this.DefaultLabel=FCKConfig.DefaultFontFormatLabel||'';};FCKToolbarFontFormatCombo.prototype=new FCKToolbarStyleCombo(false);FCKToolbarFontFormatCombo.prototype.GetLabel=function(){return FCKLang.FontFormat;};FCKToolbarFontFormatCombo.prototype.GetStyles=function(){var A={};var B=FCKLang['FontFormats'].split(';');var C={p:B[0],pre:B[1],address:B[2],h1:B[3],h2:B[4],h3:B[5],h4:B[6],h5:B[7],h6:B[8],div:B[9]||(B[0]+' (DIV)')};var D=FCKConfig.FontFormats.split(';');for (var i=0;i';G.open();G.write(''+H+''+document.getElementById('xToolbarSpace').innerHTML+'');G.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_InitOutFrame(G);FCKTools.AddEventListener(G,'contextmenu',FCKTools.CancelEvent);FCKTools.AppendStyleSheet(G,FCKConfig.SkinEditorCSS);B=D.__FCKToolbarSet=new FCKToolbarSet(G);B._IFrame=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(D,FCKToolbarSet_Target_Cleanup);};B.CurrentInstance=FCK;if (!B.ToolbarItems) B.ToolbarItems=FCKToolbarItems;FCK.AttachToOnSelectionChange(B.RefreshItemsState);return B;};function FCK_OnBlur(A){var B=A.ToolbarSet;if (B.CurrentInstance==A) B.Disable();};function FCK_OnFocus(A){var B=A.ToolbarSet;var C=A||FCK;B.CurrentInstance.FocusManager.RemoveWindow(B._IFrame.contentWindow);B.CurrentInstance=C;C.FocusManager.AddWindow(B._IFrame.contentWindow,true);B.Enable();};function FCKToolbarSet_Cleanup(){this._TargetElement=null;this._IFrame=null;};function FCKToolbarSet_Target_Cleanup(){this.__FCKToolbarSet=null;};var FCKToolbarSet=function(A){this._Document=A;this._TargetElement=A.getElementById('xToolbar');var B=A.getElementById('xExpandHandle');var C=A.getElementById('xCollapseHandle');B.title=FCKLang.ToolbarExpand;FCKTools.AddEventListener(B,'click',FCKToolbarSet_Expand_OnClick);C.title=FCKLang.ToolbarCollapse;FCKTools.AddEventListener(C,'click',FCKToolbarSet_Collapse_OnClick);if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();C.style.display=FCKConfig.ToolbarCanCollapse?'':'none';if (FCKConfig.ToolbarCanCollapse) C.style.display='';else A.getElementById('xTBLeftBorder').style.display='';this.Toolbars=[];this.IsLoaded=false;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarSet_Cleanup);};function FCKToolbarSet_Expand_OnClick(){FCK.ToolbarSet.Expand();};function FCKToolbarSet_Collapse_OnClick(){FCK.ToolbarSet.Collapse();};FCKToolbarSet.prototype.Expand=function(){this._ChangeVisibility(false);};FCKToolbarSet.prototype.Collapse=function(){this._ChangeVisibility(true);};FCKToolbarSet.prototype._ChangeVisibility=function(A){this._Document.getElementById('xCollapsed').style.display=A?'':'none';this._Document.getElementById('xExpanded').style.display=A?'none':'';if (FCKBrowserInfo.IsGecko){FCKTools.RunFunction(window.onresize);}};FCKToolbarSet.prototype.Load=function(A){this.Name=A;this.Items=[];this.ItemsWysiwygOnly=[];this.ItemsContextSensitive=[];this._TargetElement.innerHTML='';var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=[];for (var x=0;x0) break;}catch (e){break;};D=D.parent;};var E=D.document;var F=function(){if (!B) B=FCKConfig.FloatingPanelsZIndex+999;return++B;};var G=function(){if (!C) return;var H=FCKTools.IsStrictMode(E)?E.documentElement:E.body;FCKDomTools.SetElementStyles(C,{'width':Math.max(H.scrollWidth,H.clientWidth,E.scrollWidth||0)-1+'px','height':Math.max(H.scrollHeight,H.clientHeight,E.scrollHeight||0)-1+'px'});};return {OpenDialog:function(dialogName,dialogTitle,dialogPage,width,height,customValue,parentWindow,resizable){if (!A) this.DisplayMainCover();var I={Title:dialogTitle,Page:dialogPage,Editor:window,CustomValue:customValue,TopWindow:D};FCK.ToolbarSet.CurrentInstance.Selection.Save();var J=FCKTools.GetViewPaneSize(D);var K={ 'X':0,'Y':0 };var L=FCKBrowserInfo.IsIE&&(!FCKBrowserInfo.IsIE7||!FCKTools.IsStrictMode(D.document));if (L) K=FCKTools.GetScrollPosition(D);var M=Math.max(K.Y+(J.Height-height-20)/2,0);var N=Math.max(K.X+(J.Width-width-20)/2,0);var O=E.createElement('iframe');FCKTools.ResetStyles(O);O.src=FCKConfig.BasePath+'fckdialog.html';O.frameBorder=0;O.allowTransparency=true;FCKDomTools.SetElementStyles(O,{'position':(L)?'absolute':'fixed','top':M+'px','left':N+'px','width':width+'px','height':height+'px','zIndex':F()});O._DialogArguments=I;E.body.appendChild(O);O._ParentDialog=A;A=O;},OnDialogClose:function(dialogWindow){var O=dialogWindow.frameElement;FCKDomTools.RemoveNode(O);if (O._ParentDialog){A=O._ParentDialog;O._ParentDialog.contentWindow.SetEnabled(true);}else{if (!FCKBrowserInfo.IsIE) FCK.Focus();this.HideMainCover();setTimeout(function(){ A=null;},0);FCK.ToolbarSet.CurrentInstance.Selection.Release();}},DisplayMainCover:function(){C=E.createElement('div');FCKTools.ResetStyles(C);FCKDomTools.SetElementStyles(C,{'position':'absolute','zIndex':F(),'top':'0px','left':'0px','backgroundColor':FCKConfig.BackgroundBlockerColor});FCKDomTools.SetOpacity(C,FCKConfig.BackgroundBlockerOpacity);if (FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsIE7){var Q=E.createElement('iframe');FCKTools.ResetStyles(Q);Q.hideFocus=true;Q.frameBorder=0;Q.src=FCKTools.GetVoidUrl();FCKDomTools.SetElementStyles(Q,{'width':'100%','height':'100%','position':'absolute','left':'0px','top':'0px','filter':'progid:DXImageTransform.Microsoft.Alpha(opacity=0)'});C.appendChild(Q);};FCKTools.AddEventListener(D,'resize',G);G();E.body.appendChild(C);FCKFocusManager.Lock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R._fck_originalTabIndex=R.tabIndex;R.tabIndex=-1;},HideMainCover:function(){FCKDomTools.RemoveNode(C);FCKFocusManager.Unlock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R.tabIndex=R._fck_originalTabIndex;FCKDomTools.ClearElementJSProperty(R,'_fck_originalTabIndex');},GetCover:function(){return C;}};})(); -var FCKMenuItem=function(A,B,C,D,E,F){this.Name=B;this.Label=C||B;this.IsDisabled=E;this.Icon=new FCKIcon(D);this.SubMenu=new FCKMenuBlockPanel();this.SubMenu.Parent=A;this.SubMenu.OnClick=FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnClick,this);this.CustomData=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuItem_Cleanup);};FCKMenuItem.prototype.AddItem=function(A,B,C,D,E){this.HasSubMenu=true;return this.SubMenu.AddItem(A,B,C,D,E);};FCKMenuItem.prototype.AddSeparator=function(){this.SubMenu.AddSeparator();};FCKMenuItem.prototype.Create=function(A){var B=this.HasSubMenu;var C=FCKTools.GetElementDocument(A);var r=this.MainElement=A.insertRow(-1);r.className=this.IsDisabled?'MN_Item_Disabled':'MN_Item';if (!this.IsDisabled){FCKTools.AddEventListenerEx(r,'mouseover',FCKMenuItem_OnMouseOver,[this]);FCKTools.AddEventListenerEx(r,'click',FCKMenuItem_OnClick,[this]);if (!B) FCKTools.AddEventListenerEx(r,'mouseout',FCKMenuItem_OnMouseOut,[this]);};var D=r.insertCell(-1);D.className='MN_Icon';D.appendChild(this.Icon.CreateIconElement(C));D=r.insertCell(-1);D.className='MN_Label';D.noWrap=true;D.appendChild(C.createTextNode(this.Label));D=r.insertCell(-1);if (B){D.className='MN_Arrow';var E=D.appendChild(C.createElement('IMG'));E.src=FCK_IMAGES_PATH+'arrow_'+FCKLang.Dir+'.gif';E.width=4;E.height=7;this.SubMenu.Create();this.SubMenu.Panel.OnHide=FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnHide,this);}};FCKMenuItem.prototype.Activate=function(){this.MainElement.className='MN_Item_Over';if (this.HasSubMenu){this.SubMenu.Show(this.MainElement.offsetWidth+2,-2,this.MainElement);};FCKTools.RunFunction(this.OnActivate,this);};FCKMenuItem.prototype.Deactivate=function(){this.MainElement.className='MN_Item';if (this.HasSubMenu) this.SubMenu.Hide();};function FCKMenuItem_SubMenu_OnClick(A,B){FCKTools.RunFunction(B.OnClick,B,[A]);};function FCKMenuItem_SubMenu_OnHide(A){A.Deactivate();};function FCKMenuItem_OnClick(A,B){if (B.HasSubMenu) B.Activate();else{B.Deactivate();FCKTools.RunFunction(B.OnClick,B,[B]);}};function FCKMenuItem_OnMouseOver(A,B){B.Activate();};function FCKMenuItem_OnMouseOut(A,B){B.Deactivate();};function FCKMenuItem_Cleanup(){this.MainElement=null;}; -var FCKMenuBlock=function(){this._Items=[];};FCKMenuBlock.prototype.Count=function(){return this._Items.length;};FCKMenuBlock.prototype.AddItem=function(A,B,C,D,E){var F=new FCKMenuItem(this,A,B,C,D,E);F.OnClick=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnClick,this);F.OnActivate=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnActivate,this);this._Items.push(F);return F;};FCKMenuBlock.prototype.AddSeparator=function(){this._Items.push(new FCKMenuSeparator());};FCKMenuBlock.prototype.RemoveAllItems=function(){this._Items=[];var A=this._ItemsTable;if (A){while (A.rows.length>0) A.deleteRow(0);}};FCKMenuBlock.prototype.Create=function(A){if (!this._ItemsTable){if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuBlock_Cleanup);this._Window=FCKTools.GetElementWindow(A);var B=FCKTools.GetElementDocument(A);var C=A.appendChild(B.createElement('table'));C.cellPadding=0;C.cellSpacing=0;FCKTools.DisableSelection(C);var D=C.insertRow(-1).insertCell(-1);D.className='MN_Menu';var E=this._ItemsTable=D.appendChild(B.createElement('table'));E.cellPadding=0;E.cellSpacing=0;};for (var i=0;i0&&F.href.length==0);if (G) return;menu.AddSeparator();menu.AddItem('VisitLink',FCKLang.VisitLink);menu.AddSeparator();if (E) menu.AddItem('Link',FCKLang.EditLink,34);menu.AddItem('Unlink',FCKLang.RemoveLink,35);}}};case 'Image':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&!tag.getAttribute('_fckfakelement')){menu.AddSeparator();menu.AddItem('Image',FCKLang.ImageProperties,37);}}};case 'Anchor':return {AddItems:function(menu,tag,tagName){var F=FCKSelection.MoveToAncestorNode('A');var G=(F&&F.name.length>0);if (G||(tagName=='IMG'&&tag.getAttribute('_fckanchor'))){menu.AddSeparator();menu.AddItem('Anchor',FCKLang.AnchorProp,36);menu.AddItem('AnchorDelete',FCKLang.AnchorDelete);}}};case 'Flash':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&tag.getAttribute('_fckflash')){menu.AddSeparator();menu.AddItem('Flash',FCKLang.FlashProperties,38);}}};case 'Form':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('FORM')){menu.AddSeparator();menu.AddItem('Form',FCKLang.FormProp,48);}}};case 'Checkbox':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='checkbox'){menu.AddSeparator();menu.AddItem('Checkbox',FCKLang.CheckboxProp,49);}}};case 'Radio':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='radio'){menu.AddSeparator();menu.AddItem('Radio',FCKLang.RadioButtonProp,50);}}};case 'TextField':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&(tag.type=='text'||tag.type=='password')){menu.AddSeparator();menu.AddItem('TextField',FCKLang.TextFieldProp,51);}}};case 'HiddenField':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&tag.getAttribute('_fckinputhidden')){menu.AddSeparator();menu.AddItem('HiddenField',FCKLang.HiddenFieldProp,56);}}};case 'ImageButton':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='image'){menu.AddSeparator();menu.AddItem('ImageButton',FCKLang.ImageButtonProp,55);}}};case 'Button':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&(tag.type=='button'||tag.type=='submit'||tag.type=='reset')){menu.AddSeparator();menu.AddItem('Button',FCKLang.ButtonProp,54);}}};case 'Select':return {AddItems:function(menu,tag,tagName){if (tagName=='SELECT'){menu.AddSeparator();menu.AddItem('Select',FCKLang.SelectionFieldProp,53);}}};case 'Textarea':return {AddItems:function(menu,tag,tagName){if (tagName=='TEXTAREA'){menu.AddSeparator();menu.AddItem('Textarea',FCKLang.TextareaProp,52);}}};case 'BulletedList':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('UL')){menu.AddSeparator();menu.AddItem('BulletedList',FCKLang.BulletedListProp,27);}}};case 'NumberedList':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('OL')){menu.AddSeparator();menu.AddItem('NumberedList',FCKLang.NumberedListProp,26);}}};case 'DivContainer':return {AddItems:function(menu,tag,tagName){var J=FCKDomTools.GetSelectedDivContainers();if (J.length>0){menu.AddSeparator();menu.AddItem('EditDiv',FCKLang.EditDiv,75);menu.AddItem('DeleteDiv',FCKLang.DeleteDiv,76);}}};};return null;};function FCK_ContextMenu_OnBeforeOpen(){FCK.Events.FireEvent('OnSelectionChange');var A,sTagName;if ((A=FCKSelection.GetSelectedElement())) sTagName=A.tagName;var B=FCK.ContextMenu._InnerContextMenu;B.RemoveAllItems();var C=FCK.ContextMenu.Listeners;for (var i=0;i0){D=A.substr(0,B.index);this._sourceHtml=A.substr(B.index);}else{C=true;D=B[0];this._sourceHtml=A.substr(B[0].length);}}else{D=A;this._sourceHtml=null;};return { 'isTag':C,'value':D };},Each:function(A){var B;while ((B=this.Next())) A(B.isTag,B.value);}};var FCKHtmlIterator=function(A){this._sourceHtml=A;};FCKHtmlIterator.prototype={Next:function(){var A=this._sourceHtml;if (A==null) return null;var B=FCKRegexLib.HtmlTag.exec(A);var C=false;var D="";if (B){if (B.index>0){D=A.substr(0,B.index);this._sourceHtml=A.substr(B.index);}else{C=true;D=B[0];this._sourceHtml=A.substr(B[0].length);}}else{D=A;this._sourceHtml=null;};return { 'isTag':C,'value':D };},Each:function(A){var B;while ((B=this.Next())) A(B.isTag,B.value);}}; -var FCKPlugin=function(A,B,C){this.Name=A;this.BasePath=C?C:FCKConfig.PluginsPath;this.Path=this.BasePath+A+'/';if (!B||B.length==0) this.AvailableLangs=[];else this.AvailableLangs=B.split(',');};FCKPlugin.prototype.Load=function(){if (this.AvailableLangs.length>0){var A;if (this.AvailableLangs.IndexOf(FCKLanguageManager.ActiveLanguage.Code)>=0) A=FCKLanguageManager.ActiveLanguage.Code;else A=this.AvailableLangs[0];LoadScript(this.Path+'lang/'+A+'.js');};LoadScript(this.Path+'fckplugin.js');}; -var FCKPlugins=FCK.Plugins={};FCKPlugins.ItemsCount=0;FCKPlugins.Items={};FCKPlugins.Load=function(){var A=FCKPlugins.Items;for (var i=0;i", -DlgInfoTab : "Info", -DlgAlertUrl : "Voeg asseblief die URL in", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Taal rigting", -DlgGenLangDirLtr : "Links na regs (LTR)", -DlgGenLangDirRtl : "Regs na links (RTL)", -DlgGenLangCode : "Taal kode", -DlgGenAccessKey : "Toegang sleutel", -DlgGenName : "Naam", -DlgGenTabIndex : "Tab Index", -DlgGenLongDescr : "Lang beskreiwing URL", -DlgGenClass : "Skakel Tiepe", -DlgGenTitle : "Voorbeveelings Titel", -DlgGenContType : "Voorbeveelings inhoud soort", -DlgGenLinkCharset : "Geskakelde voorbeeld karakterstel", -DlgGenStyle : "Styl", - -// Image Dialog -DlgImgTitle : "Beeld eienskappe", -DlgImgInfoTab : "Beeld informasie", -DlgImgBtnUpload : "Stuur dit na die Server", -DlgImgURL : "URL", -DlgImgUpload : "Uplaai", -DlgImgAlt : "Alternatiewe beskrywing", -DlgImgWidth : "Weidte", -DlgImgHeight : "Hoogde", -DlgImgLockRatio : "Behou preporsie", -DlgBtnResetSize : "Herstel groote", -DlgImgBorder : "Kant", -DlgImgHSpace : "HSpasie", -DlgImgVSpace : "VSpasie", -DlgImgAlign : "Paradeer", -DlgImgAlignLeft : "Links", -DlgImgAlignAbsBottom: "Abs Onder", -DlgImgAlignAbsMiddle: "Abs Middel", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Onder", -DlgImgAlignMiddle : "Middel", -DlgImgAlignRight : "Regs", -DlgImgAlignTextTop : "Text Bo", -DlgImgAlignTop : "Bo", -DlgImgPreview : "Voorskou", -DlgImgAlertUrl : "Voeg asseblief Beeld URL in.", -DlgImgLinkTab : "Skakel", - -// Flash Dialog -DlgFlashTitle : "Flash eienskappe", -DlgFlashChkPlay : "Automaties Speel", -DlgFlashChkLoop : "Herhaling", -DlgFlashChkMenu : "Laat Flash Menu toe", -DlgFlashScale : "Scale", -DlgFlashScaleAll : "Wys alles", -DlgFlashScaleNoBorder : "Geen kante", -DlgFlashScaleFit : "Presiese pas", - -// Link Dialog -DlgLnkWindowTitle : "Skakel", -DlgLnkInfoTab : "Skakel informasie", -DlgLnkTargetTab : "Mikpunt", - -DlgLnkType : "Skakel soort", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Skakel na plekhouers in text", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Kies 'n plekhouer", -DlgLnkAnchorByName : "Volgens plekhouer naam", -DlgLnkAnchorById : "Volgens element Id", -DlgLnkNoAnchors : "(Geen plekhouers beskikbaar in dokument}", -DlgLnkEMail : "E-Mail Adres", -DlgLnkEMailSubject : "Boodskap Opskrif", -DlgLnkEMailBody : "Boodskap Inhoud", -DlgLnkUpload : "Oplaai", -DlgLnkBtnUpload : "Stuur na Server", - -DlgLnkTarget : "Mikpunt", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Nuwe Venster (_blank)", -DlgLnkTargetParent : "Vorige Venster (_parent)", -DlgLnkTargetSelf : "Selfde Venster (_self)", -DlgLnkTargetTop : "Boonste Venster (_top)", -DlgLnkTargetFrameName : "Mikpunt Venster Naam", -DlgLnkPopWinName : "Popup Venster Naam", -DlgLnkPopWinFeat : "Popup Venster Geaartheid", -DlgLnkPopResize : "Verstelbare Groote", -DlgLnkPopLocation : "Adres Balk", -DlgLnkPopMenu : "Menu Balk", -DlgLnkPopScroll : "Gleibalkstuk", -DlgLnkPopStatus : "Status Balk", -DlgLnkPopToolbar : "Gereedskap Balk", -DlgLnkPopFullScrn : "Voll Skerm (IE)", -DlgLnkPopDependent : "Afhanklik (Netscape)", -DlgLnkPopWidth : "Weite", -DlgLnkPopHeight : "Hoogde", -DlgLnkPopLeft : "Links Posisie", -DlgLnkPopTop : "Bo Posisie", - -DlnLnkMsgNoUrl : "Voeg asseblief die URL in", -DlnLnkMsgNoEMail : "Voeg asseblief die e-mail adres in", -DlnLnkMsgNoAnchor : "Kies asseblief 'n plekhouer", -DlnLnkMsgInvPopName : "Die popup naam moet begin met alphabetiese karakters sonder spasies.", - -// Color Dialog -DlgColorTitle : "Kies Kleur", -DlgColorBtnClear : "Maak skoon", -DlgColorHighlight : "Highlight", -DlgColorSelected : "Geselekteer", - -// Smiley Dialog -DlgSmileyTitle : "Voeg Smiley by", - -// Special Character Dialog -DlgSpecialCharTitle : "Kies spesiale karakter", - -// Table Dialog -DlgTableTitle : "Tabel eienskappe", -DlgTableRows : "Reie", -DlgTableColumns : "Kolome", -DlgTableBorder : "Kant groote", -DlgTableAlign : "Parideering", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Links", -DlgTableAlignCenter : "Middel", -DlgTableAlignRight : "Regs", -DlgTableWidth : "Weite", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "percent", -DlgTableHeight : "Hoogde", -DlgTableCellSpace : "Cell spasieering", -DlgTableCellPad : "Cell buffer", -DlgTableCaption : "Beskreiwing", -DlgTableSummary : "Opsomming", - -// Table Cell Dialog -DlgCellTitle : "Cell eienskappe", -DlgCellWidth : "Weite", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "percent", -DlgCellHeight : "Hoogde", -DlgCellWordWrap : "Woord Wrap", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Ja", -DlgCellWordWrapNo : "Nee", -DlgCellHorAlign : "Horisontale rigting", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Links", -DlgCellHorAlignCenter : "Middel", -DlgCellHorAlignRight: "Regs", -DlgCellVerAlign : "Vertikale rigting", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Bo", -DlgCellVerAlignMiddle : "Middel", -DlgCellVerAlignBottom : "Onder", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Rei strekking", -DlgCellCollSpan : "Kolom strekking", -DlgCellBackColor : "Agtergrond Kleur", -DlgCellBorderColor : "Kant Kleur", -DlgCellBtnSelect : "Keuse...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Vind", -DlgFindFindBtn : "Vind", -DlgFindNotFoundMsg : "Die gespesifiseerde karakters word nie gevind nie.", - -// Replace Dialog -DlgReplaceTitle : "Vervang", -DlgReplaceFindLbl : "Soek wat:", -DlgReplaceReplaceLbl : "Vervang met:", -DlgReplaceCaseChk : "Vergelyk karakter skryfweise", -DlgReplaceReplaceBtn : "Vervang", -DlgReplaceReplAllBtn : "Vervang alles", -DlgReplaceWordChk : "Vergelyk komplete woord", - -// Paste Operations / Dialog -PasteErrorCut : "U browser se sekuriteit instelling behinder die uitsny aksie. Gebruik asseblief die sleutel kombenasie(Ctrl+X).", -PasteErrorCopy : "U browser se sekuriteit instelling behinder die kopieerings aksie. Gebruik asseblief die sleutel kombenasie(Ctrl+C).", - -PasteAsText : "Voeg slegs karakters by", -PasteFromWord : "Byvoeging uit Word", - -DlgPasteMsg2 : "Voeg asseblief die inhoud in die gegewe box by met sleutel kombenasie(Ctrl+V) en druk OK.", -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING -DlgPasteIgnoreFont : "Ignoreer karakter soort defenisies", -DlgPasteRemoveStyles : "Verweider Styl defenisies", - -// Color Picker -ColorAutomatic : "Automaties", -ColorMoreColors : "Meer Kleure...", - -// Document Properties -DocProps : "Dokument Eienskappe", - -// Anchor Dialog -DlgAnchorTitle : "Plekhouer Eienskappe", -DlgAnchorName : "Plekhouer Naam", -DlgAnchorErrorName : "Voltooi die plekhouer naam asseblief", - -// Speller Pages Dialog -DlgSpellNotInDic : "Nie in woordeboek nie", -DlgSpellChangeTo : "Verander na", -DlgSpellBtnIgnore : "Ignoreer", -DlgSpellBtnIgnoreAll : "Ignoreer na-volgende", -DlgSpellBtnReplace : "Vervang", -DlgSpellBtnReplaceAll : "vervang na-volgende", -DlgSpellBtnUndo : "Ont-skep", -DlgSpellNoSuggestions : "- Geen voorstel -", -DlgSpellProgress : "Spelling word beproef...", -DlgSpellNoMispell : "Spellproef kompleet: Geen foute", -DlgSpellNoChanges : "Spellproef kompleet: Geen woord veranderings", -DlgSpellOneChange : "Spellproef kompleet: Een woord verander", -DlgSpellManyChanges : "Spellproef kompleet: %1 woorde verander", - -IeSpellDownload : "Geen Spellproefer geinstaleer nie. Wil U dit aflaai?", - -// Button Dialog -DlgButtonText : "Karakters (Waarde)", -DlgButtonType : "Soort", -DlgButtonTypeBtn : "Knop", -DlgButtonTypeSbm : "Indien", -DlgButtonTypeRst : "Reset", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Naam", -DlgCheckboxValue : "Waarde", -DlgCheckboxSelected : "Uitgekies", - -// Form Dialog -DlgFormName : "Naam", -DlgFormAction : "Aksie", -DlgFormMethod : "Metode", - -// Select Field Dialog -DlgSelectName : "Naam", -DlgSelectValue : "Waarde", -DlgSelectSize : "Grote", -DlgSelectLines : "lyne", -DlgSelectChkMulti : "Laat meerere keuses toe", -DlgSelectOpAvail : "Beskikbare Opsies", -DlgSelectOpText : "Karakters", -DlgSelectOpValue : "Waarde", -DlgSelectBtnAdd : "Byvoeg", -DlgSelectBtnModify : "Verander", -DlgSelectBtnUp : "Op", -DlgSelectBtnDown : "Af", -DlgSelectBtnSetValue : "Stel as uitgekiesde waarde", -DlgSelectBtnDelete : "Verweider", - -// Textarea Dialog -DlgTextareaName : "Naam", -DlgTextareaCols : "Kolom", -DlgTextareaRows : "Reie", - -// Text Field Dialog -DlgTextName : "Naam", -DlgTextValue : "Waarde", -DlgTextCharWidth : "Karakter weite", -DlgTextMaxChars : "Maximale karakters", -DlgTextType : "Soort", -DlgTextTypeText : "Karakters", -DlgTextTypePass : "Wagwoord", - -// Hidden Field Dialog -DlgHiddenName : "Naam", -DlgHiddenValue : "Waarde", - -// Bulleted List Dialog -BulletedListProp : "Gepunkte lys eienskappe", -NumberedListProp : "Genommerde lys eienskappe", -DlgLstStart : "Begin", -DlgLstType : "Soort", -DlgLstTypeCircle : "Sirkel", -DlgLstTypeDisc : "Skyf", -DlgLstTypeSquare : "Vierkant", -DlgLstTypeNumbers : "Nommer (1, 2, 3)", -DlgLstTypeLCase : "Klein Letters (a, b, c)", -DlgLstTypeUCase : "Hoof Letters (A, B, C)", -DlgLstTypeSRoman : "Klein Romeinse nommers (i, ii, iii)", -DlgLstTypeLRoman : "Groot Romeinse nommers (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Algemeen", -DlgDocBackTab : "Agtergrond", -DlgDocColorsTab : "Kleure en Rante", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Bladsy Opskrif", -DlgDocLangDir : "Taal rigting", -DlgDocLangDirLTR : "Link na Regs (LTR)", -DlgDocLangDirRTL : "Regs na Links (RTL)", -DlgDocLangCode : "Taal Kode", -DlgDocCharSet : "Karakterstel Kodeering", -DlgDocCharSetCE : "Sentraal Europa", -DlgDocCharSetCT : "Chinees Traditioneel (Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Grieks", -DlgDocCharSetJP : "Japanees", -DlgDocCharSetKR : "Koreans", -DlgDocCharSetTR : "Turks", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Western European", -DlgDocCharSetOther : "Ander Karakterstel Kodeering", - -DlgDocDocType : "Dokument Opskrif Soort", -DlgDocDocTypeOther : "Ander Dokument Opskrif Soort", -DlgDocIncXHTML : "Voeg XHTML verklaring by", -DlgDocBgColor : "Agtergrond kleur", -DlgDocBgImage : "Agtergrond Beeld URL", -DlgDocBgNoScroll : "Vasgeklemde Agtergrond", -DlgDocCText : "Karakters", -DlgDocCLink : "Skakel", -DlgDocCVisited : "Besoekte Skakel", -DlgDocCActive : "Aktiewe Skakel", -DlgDocMargins : "Bladsy Rante", -DlgDocMaTop : "Bo", -DlgDocMaLeft : "Links", -DlgDocMaRight : "Regs", -DlgDocMaBottom : "Onder", -DlgDocMeIndex : "Dokument Index Sleutelwoorde(comma verdeelt)", -DlgDocMeDescr : "Dokument Beskrywing", -DlgDocMeAuthor : "Skrywer", -DlgDocMeCopy : "Kopiereg", -DlgDocPreview : "Voorskou", - -// Templates Dialog -Templates : "Templates", -DlgTemplatesTitle : "Inhoud Templates", -DlgTemplatesSelMsg : "Kies die template om te gebruik in die editor
    (Inhoud word vervang!):", -DlgTemplatesLoading : "Templates word gelaai. U geduld asseblief...", -DlgTemplatesNoTpl : "(Geen templates gedefinieerd)", -DlgTemplatesReplace : "Vervang bestaande inhoud", - -// About Dialog -DlgAboutAboutTab : "Meer oor", -DlgAboutBrowserInfoTab : "Blaai Informasie deur", -DlgAboutLicenseTab : "Lesensie", -DlgAboutVersion : "weergawe", -DlgAboutInfo : "Vir meer informasie gaan na ", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/ar.js b/modules/editor/skins/fckeditor/editor/lang/ar.js deleted file mode 100644 index f417bfd67..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/ar.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Arabic language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "rtl", - -ToolbarCollapse : "ضم شريط الأدوات", -ToolbarExpand : "تمدد شريط الأدوات", - -// Toolbar Items and Context Menu -Save : "حفظ", -NewPage : "صفحة جديدة", -Preview : "معاينة الصفحة", -Cut : "قص", -Copy : "نسخ", -Paste : "لصق", -PasteText : "لصق كنص بسيط", -PasteWord : "لصق من وورد", -Print : "طباعة", -SelectAll : "تحديد الكل", -RemoveFormat : "إزالة التنسيقات", -InsertLinkLbl : "رابط", -InsertLink : "إدراج/تحرير رابط", -RemoveLink : "إزالة رابط", -VisitLink : "Open Link", //MISSING -Anchor : "إدراج/تحرير إشارة مرجعية", -AnchorDelete : "إزالة إشارة مرجعية", -InsertImageLbl : "صورة", -InsertImage : "إدراج/تحرير صورة", -InsertFlashLbl : "فلاش", -InsertFlash : "إدراج/تحرير فيلم فلاش", -InsertTableLbl : "جدول", -InsertTable : "إدراج/تحرير جدول", -InsertLineLbl : "خط فاصل", -InsertLine : "إدراج خط فاصل", -InsertSpecialCharLbl: "رموز", -InsertSpecialChar : "إدراج رموز..ِ", -InsertSmileyLbl : "ابتسامات", -InsertSmiley : "إدراج ابتسامات", -About : "حول FCKeditor", -Bold : "غامق", -Italic : "مائل", -Underline : "تسطير", -StrikeThrough : "يتوسطه خط", -Subscript : "منخفض", -Superscript : "مرتفع", -LeftJustify : "محاذاة إلى اليسار", -CenterJustify : "توسيط", -RightJustify : "محاذاة إلى اليمين", -BlockJustify : "ضبط", -DecreaseIndent : "إنقاص المسافة البادئة", -IncreaseIndent : "زيادة المسافة البادئة", -Blockquote : "اقتباس", -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "تراجع", -Redo : "إعادة", -NumberedListLbl : "تعداد رقمي", -NumberedList : "إدراج/إلغاء تعداد رقمي", -BulletedListLbl : "تعداد نقطي", -BulletedList : "إدراج/إلغاء تعداد نقطي", -ShowTableBorders : "معاينة حدود الجداول", -ShowDetails : "معاينة التفاصيل", -Style : "نمط", -FontFormat : "تنسيق", -Font : "خط", -FontSize : "حجم الخط", -TextColor : "لون النص", -BGColor : "لون الخلفية", -Source : "شفرة المصدر", -Find : "بحث", -Replace : "إستبدال", -SpellCheck : "تدقيق إملائي", -UniversalKeyboard : "لوحة المفاتيح العالمية", -PageBreakLbl : "فصل الصفحة", -PageBreak : "إدخال صفحة جديدة", - -Form : "نموذج", -Checkbox : "خانة إختيار", -RadioButton : "زر خيار", -TextField : "مربع نص", -Textarea : "ناحية نص", -HiddenField : "إدراج حقل خفي", -Button : "زر ضغط", -SelectionField : "قائمة منسدلة", -ImageButton : "زر صورة", - -FitWindow : "تكبير حجم المحرر", -ShowBlocks : "مخطط تفصيلي", - -// Context Menu -EditLink : "تحرير رابط", -CellCM : "خلية", -RowCM : "صف", -ColumnCM : "عمود", -InsertRowAfter : "إدراج صف بعد", -InsertRowBefore : "إدراج صف قبل", -DeleteRows : "حذف صفوف", -InsertColumnAfter : "إدراج عمود بعد", -InsertColumnBefore : "إدراج عمود قبل", -DeleteColumns : "حذف أعمدة", -InsertCellAfter : "إدراج خلية بعد", -InsertCellBefore : "إدراج خلية قبل", -DeleteCells : "حذف خلايا", -MergeCells : "دمج خلايا", -MergeRight : "دمج لليمين", -MergeDown : "دمج للأسفل", -HorizontalSplitCell : "تقسيم الخلية أفقياً", -VerticalSplitCell : "تقسيم الخلية عمودياً", -TableDelete : "حذف الجدول", -CellProperties : "خصائص الخلية", -TableProperties : "خصائص الجدول", -ImageProperties : "خصائص الصورة", -FlashProperties : "خصائص فيلم الفلاش", - -AnchorProp : "خصائص الإشارة المرجعية", -ButtonProp : "خصائص زر الضغط", -CheckboxProp : "خصائص خانة الإختيار", -HiddenFieldProp : "خصائص الحقل الخفي", -RadioButtonProp : "خصائص زر الخيار", -ImageButtonProp : "خصائص زر الصورة", -TextFieldProp : "خصائص مربع النص", -SelectionFieldProp : "خصائص القائمة المنسدلة", -TextareaProp : "خصائص ناحية النص", -FormProp : "خصائص النموذج", - -FontFormats : "عادي;منسّق;دوس;العنوان 1;العنوان 2;العنوان 3;العنوان 4;العنوان 5;العنوان 6", - -// Alerts and Messages -ProcessingXHTML : "إنتظر قليلاً ريثما تتم معالَجة‏ XHTML. لن يستغرق طويلاً...", -Done : "تم", -PasteWordConfirm : "يبدو أن النص المراد لصقه منسوخ من برنامج وورد. هل تود تنظيفه قبل الشروع في عملية اللصق؟", -NotCompatiblePaste : "هذه الميزة تحتاج لمتصفح من النوعInternet Explorer إصدار 5.5 فما فوق. هل تود اللصق دون تنظيف الكود؟", -UnknownToolbarItem : "عنصر شريط أدوات غير معروف \"%1\"", -UnknownCommand : "أمر غير معروف \"%1\"", -NotImplemented : "لم يتم دعم هذا الأمر", -UnknownToolbarSet : "لم أتمكن من العثور على طقم الأدوات \"%1\" ", -NoActiveX : "لتأمين متصفحك يجب أن تحدد بعض مميزات المحرر. يتوجب عليك تمكين الخيار \"Run ActiveX controls and plug-ins\". قد تواجة أخطاء وتلاحظ مميزات مفقودة", -BrowseServerBlocked : "لايمكن فتح مصدر المتصفح. فضلا يجب التأكد بأن جميع موانع النوافذ المنبثقة معطلة", -DialogBlocked : "لايمكن فتح نافذة الحوار . فضلا تأكد من أن مانع النوافذ المنبثة معطل .", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "موافق", -DlgBtnCancel : "إلغاء الأمر", -DlgBtnClose : "إغلاق", -DlgBtnBrowseServer : "تصفح الخادم", -DlgAdvancedTag : "متقدم", -DlgOpOther : "<أخرى>", -DlgInfoTab : "معلومات", -DlgAlertUrl : "الرجاء كتابة عنوان الإنترنت", - -// General Dialogs Labels -DlgGenNotSet : "<بدون تحديد>", -DlgGenId : "الرقم", -DlgGenLangDir : "إتجاه النص", -DlgGenLangDirLtr : "اليسار لليمين (LTR)", -DlgGenLangDirRtl : "اليمين لليسار (RTL)", -DlgGenLangCode : "رمز اللغة", -DlgGenAccessKey : "مفاتيح الإختصار", -DlgGenName : "الاسم", -DlgGenTabIndex : "الترتيب", -DlgGenLongDescr : "عنوان الوصف المفصّل", -DlgGenClass : "فئات التنسيق", -DlgGenTitle : "تلميح الشاشة", -DlgGenContType : "نوع التلميح", -DlgGenLinkCharset : "ترميز المادة المطلوبة", -DlgGenStyle : "نمط", - -// Image Dialog -DlgImgTitle : "خصائص الصورة", -DlgImgInfoTab : "معلومات الصورة", -DlgImgBtnUpload : "أرسلها للخادم", -DlgImgURL : "موقع الصورة", -DlgImgUpload : "رفع", -DlgImgAlt : "الوصف", -DlgImgWidth : "العرض", -DlgImgHeight : "الإرتفاع", -DlgImgLockRatio : "تناسق الحجم", -DlgBtnResetSize : "إستعادة الحجم الأصلي", -DlgImgBorder : "سمك الحدود", -DlgImgHSpace : "تباعد أفقي", -DlgImgVSpace : "تباعد عمودي", -DlgImgAlign : "محاذاة", -DlgImgAlignLeft : "يسار", -DlgImgAlignAbsBottom: "أسفل النص", -DlgImgAlignAbsMiddle: "وسط السطر", -DlgImgAlignBaseline : "على السطر", -DlgImgAlignBottom : "أسفل", -DlgImgAlignMiddle : "وسط", -DlgImgAlignRight : "يمين", -DlgImgAlignTextTop : "أعلى النص", -DlgImgAlignTop : "أعلى", -DlgImgPreview : "معاينة", -DlgImgAlertUrl : "فضلاً أكتب الموقع الذي توجد عليه هذه الصورة.", -DlgImgLinkTab : "الرابط", - -// Flash Dialog -DlgFlashTitle : "خصائص فيلم الفلاش", -DlgFlashChkPlay : "تشغيل تلقائي", -DlgFlashChkLoop : "تكرار", -DlgFlashChkMenu : "تمكين قائمة فيلم الفلاش", -DlgFlashScale : "الحجم", -DlgFlashScaleAll : "إظهار الكل", -DlgFlashScaleNoBorder : "بلا حدود", -DlgFlashScaleFit : "ضبط تام", - -// Link Dialog -DlgLnkWindowTitle : "إرتباط تشعبي", -DlgLnkInfoTab : "معلومات الرابط", -DlgLnkTargetTab : "الهدف", - -DlgLnkType : "نوع الربط", -DlgLnkTypeURL : "العنوان", -DlgLnkTypeAnchor : "مكان في هذا المستند", -DlgLnkTypeEMail : "بريد إلكتروني", -DlgLnkProto : "البروتوكول", -DlgLnkProtoOther : "<أخرى>", -DlgLnkURL : "الموقع", -DlgLnkAnchorSel : "اختر علامة مرجعية", -DlgLnkAnchorByName : "حسب اسم العلامة", -DlgLnkAnchorById : "حسب تعريف العنصر", -DlgLnkNoAnchors : "(لا يوجد علامات مرجعية في هذا المستند)", -DlgLnkEMail : "عنوان بريد إلكتروني", -DlgLnkEMailSubject : "موضوع الرسالة", -DlgLnkEMailBody : "محتوى الرسالة", -DlgLnkUpload : "رفع", -DlgLnkBtnUpload : "أرسلها للخادم", - -DlgLnkTarget : "الهدف", -DlgLnkTargetFrame : "<إطار>", -DlgLnkTargetPopup : "<نافذة منبثقة>", -DlgLnkTargetBlank : "إطار جديد (_blank)", -DlgLnkTargetParent : "الإطار الأصل (_parent)", -DlgLnkTargetSelf : "نفس الإطار (_self)", -DlgLnkTargetTop : "صفحة كاملة (_top)", -DlgLnkTargetFrameName : "اسم الإطار الهدف", -DlgLnkPopWinName : "تسمية النافذة المنبثقة", -DlgLnkPopWinFeat : "خصائص النافذة المنبثقة", -DlgLnkPopResize : "قابلة للتحجيم", -DlgLnkPopLocation : "شريط العنوان", -DlgLnkPopMenu : "القوائم الرئيسية", -DlgLnkPopScroll : "أشرطة التمرير", -DlgLnkPopStatus : "شريط الحالة السفلي", -DlgLnkPopToolbar : "شريط الأدوات", -DlgLnkPopFullScrn : "ملئ الشاشة (IE)", -DlgLnkPopDependent : "تابع (Netscape)", -DlgLnkPopWidth : "العرض", -DlgLnkPopHeight : "الإرتفاع", -DlgLnkPopLeft : "التمركز لليسار", -DlgLnkPopTop : "التمركز للأعلى", - -DlnLnkMsgNoUrl : "فضلاً أدخل عنوان الموقع الذي يشير إليه الرابط", -DlnLnkMsgNoEMail : "فضلاً أدخل عنوان البريد الإلكتروني", -DlnLnkMsgNoAnchor : "فضلاً حدد العلامة المرجعية المرغوبة", -DlnLnkMsgInvPopName : "اسم النافذة المنبثقة يجب أن يبدأ بحرف أبجدي دون مسافات", - -// Color Dialog -DlgColorTitle : "اختر لوناً", -DlgColorBtnClear : "مسح", -DlgColorHighlight : "تحديد", -DlgColorSelected : "إختيار", - -// Smiley Dialog -DlgSmileyTitle : "إدراج إبتسامات ", - -// Special Character Dialog -DlgSpecialCharTitle : "إدراج رمز", - -// Table Dialog -DlgTableTitle : "إدراج جدول", -DlgTableRows : "صفوف", -DlgTableColumns : "أعمدة", -DlgTableBorder : "سمك الحدود", -DlgTableAlign : "المحاذاة", -DlgTableAlignNotSet : "<بدون تحديد>", -DlgTableAlignLeft : "يسار", -DlgTableAlignCenter : "وسط", -DlgTableAlignRight : "يمين", -DlgTableWidth : "العرض", -DlgTableWidthPx : "بكسل", -DlgTableWidthPc : "بالمئة", -DlgTableHeight : "الإرتفاع", -DlgTableCellSpace : "تباعد الخلايا", -DlgTableCellPad : "المسافة البادئة", -DlgTableCaption : "الوصف", -DlgTableSummary : "الخلاصة", - -// Table Cell Dialog -DlgCellTitle : "خصائص الخلية", -DlgCellWidth : "العرض", -DlgCellWidthPx : "بكسل", -DlgCellWidthPc : "بالمئة", -DlgCellHeight : "الإرتفاع", -DlgCellWordWrap : "التفاف النص", -DlgCellWordWrapNotSet : "<بدون تحديد>", -DlgCellWordWrapYes : "نعم", -DlgCellWordWrapNo : "لا", -DlgCellHorAlign : "المحاذاة الأفقية", -DlgCellHorAlignNotSet : "<بدون تحديد>", -DlgCellHorAlignLeft : "يسار", -DlgCellHorAlignCenter : "وسط", -DlgCellHorAlignRight: "يمين", -DlgCellVerAlign : "المحاذاة العمودية", -DlgCellVerAlignNotSet : "<بدون تحديد>", -DlgCellVerAlignTop : "أعلى", -DlgCellVerAlignMiddle : "وسط", -DlgCellVerAlignBottom : "أسفل", -DlgCellVerAlignBaseline : "على السطر", -DlgCellRowSpan : "إمتداد الصفوف", -DlgCellCollSpan : "إمتداد الأعمدة", -DlgCellBackColor : "لون الخلفية", -DlgCellBorderColor : "لون الحدود", -DlgCellBtnSelect : "حدّد...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "بحث واستبدال", - -// Find Dialog -DlgFindTitle : "بحث", -DlgFindFindBtn : "ابحث", -DlgFindNotFoundMsg : "لم يتم العثور على النص المحدد.", - -// Replace Dialog -DlgReplaceTitle : "إستبدال", -DlgReplaceFindLbl : "البحث عن:", -DlgReplaceReplaceLbl : "إستبدال بـ:", -DlgReplaceCaseChk : "مطابقة حالة الأحرف", -DlgReplaceReplaceBtn : "إستبدال", -DlgReplaceReplAllBtn : "إستبدال الكل", -DlgReplaceWordChk : "الكلمة بالكامل فقط", - -// Paste Operations / Dialog -PasteErrorCut : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع القص التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+X).", -PasteErrorCopy : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع النسخ التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+C).", - -PasteAsText : "لصق كنص بسيط", -PasteFromWord : "لصق من وورد", - -DlgPasteMsg2 : "الصق داخل الصندوق بإستخدام زرّي (Ctrl+V) في لوحة المفاتيح، ثم اضغط زر موافق.", -DlgPasteSec : "نظراً لإعدادات الأمان الخاصة بمتصفحك، لن يتمكن هذا المحرر من الوصول لمحتوى حافظتك، لذا وجب عليك لصق المحتوى مرة أخرى في هذه النافذة.", -DlgPasteIgnoreFont : "تجاهل تعريفات أسماء الخطوط", -DlgPasteRemoveStyles : "إزالة تعريفات الأنماط", - -// Color Picker -ColorAutomatic : "تلقائي", -ColorMoreColors : "ألوان إضافية...", - -// Document Properties -DocProps : "خصائص الصفحة", - -// Anchor Dialog -DlgAnchorTitle : "خصائص إشارة مرجعية", -DlgAnchorName : "اسم الإشارة المرجعية", -DlgAnchorErrorName : "الرجاء كتابة اسم الإشارة المرجعية", - -// Speller Pages Dialog -DlgSpellNotInDic : "ليست في القاموس", -DlgSpellChangeTo : "التغيير إلى", -DlgSpellBtnIgnore : "تجاهل", -DlgSpellBtnIgnoreAll : "تجاهل الكل", -DlgSpellBtnReplace : "تغيير", -DlgSpellBtnReplaceAll : "تغيير الكل", -DlgSpellBtnUndo : "تراجع", -DlgSpellNoSuggestions : "- لا توجد إقتراحات -", -DlgSpellProgress : "جاري التدقيق إملائياً", -DlgSpellNoMispell : "تم إكمال التدقيق الإملائي: لم يتم العثور على أي أخطاء إملائية", -DlgSpellNoChanges : "تم إكمال التدقيق الإملائي: لم يتم تغيير أي كلمة", -DlgSpellOneChange : "تم إكمال التدقيق الإملائي: تم تغيير كلمة واحدة فقط", -DlgSpellManyChanges : "تم إكمال التدقيق الإملائي: تم تغيير %1 كلمات\كلمة", - -IeSpellDownload : "المدقق الإملائي (الإنجليزي) غير مثبّت. هل تود تحميله الآن؟", - -// Button Dialog -DlgButtonText : "القيمة/التسمية", -DlgButtonType : "نوع الزر", -DlgButtonTypeBtn : "زر", -DlgButtonTypeSbm : "إرسال", -DlgButtonTypeRst : "إعادة تعيين", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "الاسم", -DlgCheckboxValue : "القيمة", -DlgCheckboxSelected : "محدد", - -// Form Dialog -DlgFormName : "الاسم", -DlgFormAction : "اسم الملف", -DlgFormMethod : "الأسلوب", - -// Select Field Dialog -DlgSelectName : "الاسم", -DlgSelectValue : "القيمة", -DlgSelectSize : "الحجم", -DlgSelectLines : "الأسطر", -DlgSelectChkMulti : "السماح بتحديدات متعددة", -DlgSelectOpAvail : "الخيارات المتاحة", -DlgSelectOpText : "النص", -DlgSelectOpValue : "القيمة", -DlgSelectBtnAdd : "إضافة", -DlgSelectBtnModify : "تعديل", -DlgSelectBtnUp : "تحريك لأعلى", -DlgSelectBtnDown : "تحريك لأسفل", -DlgSelectBtnSetValue : "إجعلها محددة", -DlgSelectBtnDelete : "إزالة", - -// Textarea Dialog -DlgTextareaName : "الاسم", -DlgTextareaCols : "الأعمدة", -DlgTextareaRows : "الصفوف", - -// Text Field Dialog -DlgTextName : "الاسم", -DlgTextValue : "القيمة", -DlgTextCharWidth : "العرض بالأحرف", -DlgTextMaxChars : "عدد الحروف الأقصى", -DlgTextType : "نوع المحتوى", -DlgTextTypeText : "نص", -DlgTextTypePass : "كلمة مرور", - -// Hidden Field Dialog -DlgHiddenName : "الاسم", -DlgHiddenValue : "القيمة", - -// Bulleted List Dialog -BulletedListProp : "خصائص التعداد النقطي", -NumberedListProp : "خصائص التعداد الرقمي", -DlgLstStart : "البدء عند", -DlgLstType : "النوع", -DlgLstTypeCircle : "دائرة", -DlgLstTypeDisc : "قرص", -DlgLstTypeSquare : "مربع", -DlgLstTypeNumbers : "أرقام (1، 2، 3)َ", -DlgLstTypeLCase : "حروف صغيرة (a, b, c)َ", -DlgLstTypeUCase : "حروف كبيرة (A, B, C)َ", -DlgLstTypeSRoman : "ترقيم روماني صغير (i, ii, iii)َ", -DlgLstTypeLRoman : "ترقيم روماني كبير (I, II, III)َ", - -// Document Properties Dialog -DlgDocGeneralTab : "عام", -DlgDocBackTab : "الخلفية", -DlgDocColorsTab : "الألوان والهوامش", -DlgDocMetaTab : "المعرّفات الرأسية", - -DlgDocPageTitle : "عنوان الصفحة", -DlgDocLangDir : "إتجاه اللغة", -DlgDocLangDirLTR : "اليسار لليمين (LTR)", -DlgDocLangDirRTL : "اليمين لليسار (RTL)", -DlgDocLangCode : "رمز اللغة", -DlgDocCharSet : "ترميز الحروف", -DlgDocCharSetCE : "أوروبا الوسطى", -DlgDocCharSetCT : "الصينية التقليدية (Big5)", -DlgDocCharSetCR : "السيريلية", -DlgDocCharSetGR : "اليونانية", -DlgDocCharSetJP : "اليابانية", -DlgDocCharSetKR : "الكورية", -DlgDocCharSetTR : "التركية", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "أوروبا الغربية", -DlgDocCharSetOther : "ترميز آخر", - -DlgDocDocType : "ترويسة نوع الصفحة", -DlgDocDocTypeOther : "ترويسة نوع صفحة أخرى", -DlgDocIncXHTML : "تضمين إعلانات‏ لغة XHTMLَ", -DlgDocBgColor : "لون الخلفية", -DlgDocBgImage : "رابط الصورة الخلفية", -DlgDocBgNoScroll : "جعلها علامة مائية", -DlgDocCText : "النص", -DlgDocCLink : "الروابط", -DlgDocCVisited : "المزارة", -DlgDocCActive : "النشطة", -DlgDocMargins : "هوامش الصفحة", -DlgDocMaTop : "علوي", -DlgDocMaLeft : "أيسر", -DlgDocMaRight : "أيمن", -DlgDocMaBottom : "سفلي", -DlgDocMeIndex : "الكلمات الأساسية (مفصولة بفواصل)َ", -DlgDocMeDescr : "وصف الصفحة", -DlgDocMeAuthor : "الكاتب", -DlgDocMeCopy : "المالك", -DlgDocPreview : "معاينة", - -// Templates Dialog -Templates : "القوالب", -DlgTemplatesTitle : "قوالب المحتوى", -DlgTemplatesSelMsg : "اختر القالب الذي تود وضعه في المحرر
    (سيتم فقدان المحتوى الحالي):", -DlgTemplatesLoading : "جاري تحميل قائمة القوالب، الرجاء الإنتظار...", -DlgTemplatesNoTpl : "(لم يتم تعريف أي قالب)", -DlgTemplatesReplace : "استبدال المحتوى", - -// About Dialog -DlgAboutAboutTab : "نبذة", -DlgAboutBrowserInfoTab : "معلومات متصفحك", -DlgAboutLicenseTab : "الترخيص", -DlgAboutVersion : "الإصدار", -DlgAboutInfo : "لمزيد من المعلومات تفضل بزيارة", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/bg.js b/modules/editor/skins/fckeditor/editor/lang/bg.js deleted file mode 100644 index 6c6f8b1ea..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/bg.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Bulgarian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Скрий панела с инструментите", -ToolbarExpand : "Покажи панела с инструментите", - -// Toolbar Items and Context Menu -Save : "Запази", -NewPage : "Нова страница", -Preview : "Предварителен изглед", -Cut : "Изрежи", -Copy : "Запамети", -Paste : "Вмъкни", -PasteText : "Вмъкни само текст", -PasteWord : "Вмъкни от MS Word", -Print : "Печат", -SelectAll : "Селектирай всичко", -RemoveFormat : "Изтрий форматирането", -InsertLinkLbl : "Връзка", -InsertLink : "Добави/Редактирай връзка", -RemoveLink : "Изтрий връзка", -VisitLink : "Open Link", //MISSING -Anchor : "Добави/Редактирай котва", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Изображение", -InsertImage : "Добави/Редактирай изображение", -InsertFlashLbl : "Flash", -InsertFlash : "Добави/Редактиай Flash обект", -InsertTableLbl : "Таблица", -InsertTable : "Добави/Редактирай таблица", -InsertLineLbl : "Линия", -InsertLine : "Вмъкни хоризонтална линия", -InsertSpecialCharLbl: "Специален символ", -InsertSpecialChar : "Вмъкни специален символ", -InsertSmileyLbl : "Усмивка", -InsertSmiley : "Добави усмивка", -About : "За FCKeditor", -Bold : "Удебелен", -Italic : "Курсив", -Underline : "Подчертан", -StrikeThrough : "Зачертан", -Subscript : "Индекс за база", -Superscript : "Индекс за степен", -LeftJustify : "Подравняване в ляво", -CenterJustify : "Подравнявне в средата", -RightJustify : "Подравняване в дясно", -BlockJustify : "Двустранно подравняване", -DecreaseIndent : "Намали отстъпа", -IncreaseIndent : "Увеличи отстъпа", -Blockquote : "Blockquote", //MISSING -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "Отмени", -Redo : "Повтори", -NumberedListLbl : "Нумериран списък", -NumberedList : "Добави/Изтрий нумериран списък", -BulletedListLbl : "Ненумериран списък", -BulletedList : "Добави/Изтрий ненумериран списък", -ShowTableBorders : "Покажи рамките на таблицата", -ShowDetails : "Покажи подробности", -Style : "Стил", -FontFormat : "Формат", -Font : "Шрифт", -FontSize : "Размер", -TextColor : "Цвят на текста", -BGColor : "Цвят на фона", -Source : "Код", -Find : "Търси", -Replace : "Замести", -SpellCheck : "Провери правописа", -UniversalKeyboard : "Универсална клавиатура", -PageBreakLbl : "Нов ред", -PageBreak : "Вмъкни нов ред", - -Form : "Формуляр", -Checkbox : "Поле за отметка", -RadioButton : "Поле за опция", -TextField : "Текстово поле", -Textarea : "Текстова област", -HiddenField : "Скрито поле", -Button : "Бутон", -SelectionField : "Падащо меню с опции", -ImageButton : "Бутон-изображение", - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Редактирай връзка", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Изтрий редовете", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Изтрий колоните", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Изтрий клетките", -MergeCells : "Обедини клетките", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Изтрий таблицата", -CellProperties : "Параметри на клетката", -TableProperties : "Параметри на таблицата", -ImageProperties : "Параметри на изображението", -FlashProperties : "Параметри на Flash обекта", - -AnchorProp : "Параметри на котвата", -ButtonProp : "Параметри на бутона", -CheckboxProp : "Параметри на полето за отметка", -HiddenFieldProp : "Параметри на скритото поле", -RadioButtonProp : "Параметри на полето за опция", -ImageButtonProp : "Параметри на бутона-изображение", -TextFieldProp : "Параметри на текстовото-поле", -SelectionFieldProp : "Параметри на падащото меню с опции", -TextareaProp : "Параметри на текстовата област", -FormProp : "Параметри на формуляра", - -FontFormats : "Нормален;Форматиран;Адрес;Заглавие 1;Заглавие 2;Заглавие 3;Заглавие 4;Заглавие 5;Заглавие 6;Параграф (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Обработка на XHTML. Моля изчакайте...", -Done : "Готово", -PasteWordConfirm : "Текстът, който искате да вмъкнете е копиран от MS Word. Желаете ли да бъде изчистен преди вмъкването?", -NotCompatiblePaste : "Тази операция изисква MS Internet Explorer версия 5.5 или по-висока. Желаете ли да вмъкнете запаметеното без изчистване?", -UnknownToolbarItem : "Непознат инструмент \"%1\"", -UnknownCommand : "Непозната команда \"%1\"", -NotImplemented : "Командата не е имплементирана", -UnknownToolbarSet : "Панелът \"%1\" не съществува", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", //MISSING -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", //MISSING -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "ОК", -DlgBtnCancel : "Отказ", -DlgBtnClose : "Затвори", -DlgBtnBrowseServer : "Разгледай сървъра", -DlgAdvancedTag : "Подробности...", -DlgOpOther : "<Друго>", -DlgInfoTab : "Информация", -DlgAlertUrl : "Моля, въведете пълния път (URL)", - -// General Dialogs Labels -DlgGenNotSet : "<не е настроен>", -DlgGenId : "Идентификатор", -DlgGenLangDir : "посока на речта", -DlgGenLangDirLtr : "От ляво на дясно", -DlgGenLangDirRtl : "От дясно на ляво", -DlgGenLangCode : "Код на езика", -DlgGenAccessKey : "Бърз клавиш", -DlgGenName : "Име", -DlgGenTabIndex : "Ред на достъп", -DlgGenLongDescr : "Описание на връзката", -DlgGenClass : "Клас от стиловите таблици", -DlgGenTitle : "Препоръчително заглавие", -DlgGenContType : "Препоръчителен тип на съдържанието", -DlgGenLinkCharset : "Тип на свързания ресурс", -DlgGenStyle : "Стил", - -// Image Dialog -DlgImgTitle : "Параметри на изображението", -DlgImgInfoTab : "Информация за изображението", -DlgImgBtnUpload : "Прати към сървъра", -DlgImgURL : "Пълен път (URL)", -DlgImgUpload : "Качи", -DlgImgAlt : "Алтернативен текст", -DlgImgWidth : "Ширина", -DlgImgHeight : "Височина", -DlgImgLockRatio : "Запази пропорцията", -DlgBtnResetSize : "Възстанови размера", -DlgImgBorder : "Рамка", -DlgImgHSpace : "Хоризонтален отстъп", -DlgImgVSpace : "Вертикален отстъп", -DlgImgAlign : "Подравняване", -DlgImgAlignLeft : "Ляво", -DlgImgAlignAbsBottom: "Най-долу", -DlgImgAlignAbsMiddle: "Точно по средата", -DlgImgAlignBaseline : "По базовата линия", -DlgImgAlignBottom : "Долу", -DlgImgAlignMiddle : "По средата", -DlgImgAlignRight : "Дясно", -DlgImgAlignTextTop : "Върху текста", -DlgImgAlignTop : "Отгоре", -DlgImgPreview : "Изглед", -DlgImgAlertUrl : "Моля, въведете пълния път до изображението", -DlgImgLinkTab : "Връзка", - -// Flash Dialog -DlgFlashTitle : "Параметри на Flash обекта", -DlgFlashChkPlay : "Автоматично стартиране", -DlgFlashChkLoop : "Ново стартиране след завършването", -DlgFlashChkMenu : "Разрешено Flash меню", -DlgFlashScale : "Оразмеряване", -DlgFlashScaleAll : "Покажи целия обект", -DlgFlashScaleNoBorder : "Без рамка", -DlgFlashScaleFit : "Според мястото", - -// Link Dialog -DlgLnkWindowTitle : "Връзка", -DlgLnkInfoTab : "Информация за връзката", -DlgLnkTargetTab : "Цел", - -DlgLnkType : "Вид на връзката", -DlgLnkTypeURL : "Пълен път (URL)", -DlgLnkTypeAnchor : "Котва в текущата страница", -DlgLnkTypeEMail : "Е-поща", -DlgLnkProto : "Протокол", -DlgLnkProtoOther : "<друго>", -DlgLnkURL : "Пълен път (URL)", -DlgLnkAnchorSel : "Изберете котва", -DlgLnkAnchorByName : "По име на котвата", -DlgLnkAnchorById : "По идентификатор на елемент", -DlgLnkNoAnchors : "(Няма котви в текущия документ)", -DlgLnkEMail : "Адрес за е-поща", -DlgLnkEMailSubject : "Тема на писмото", -DlgLnkEMailBody : "Текст на писмото", -DlgLnkUpload : "Качи", -DlgLnkBtnUpload : "Прати на сървъра", - -DlgLnkTarget : "Цел", -DlgLnkTargetFrame : "<рамка>", -DlgLnkTargetPopup : "<дъщерен прозорец>", -DlgLnkTargetBlank : "Нов прозорец (_blank)", -DlgLnkTargetParent : "Родителски прозорец (_parent)", -DlgLnkTargetSelf : "Активния прозорец (_self)", -DlgLnkTargetTop : "Целия прозорец (_top)", -DlgLnkTargetFrameName : "Име на целевия прозорец", -DlgLnkPopWinName : "Име на дъщерния прозорец", -DlgLnkPopWinFeat : "Параметри на дъщерния прозорец", -DlgLnkPopResize : "С променливи размери", -DlgLnkPopLocation : "Поле за адрес", -DlgLnkPopMenu : "Меню", -DlgLnkPopScroll : "Плъзгач", -DlgLnkPopStatus : "Поле за статус", -DlgLnkPopToolbar : "Панел с бутони", -DlgLnkPopFullScrn : "Голям екран (MS IE)", -DlgLnkPopDependent : "Зависим (Netscape)", -DlgLnkPopWidth : "Ширина", -DlgLnkPopHeight : "Височина", -DlgLnkPopLeft : "Координати - X", -DlgLnkPopTop : "Координати - Y", - -DlnLnkMsgNoUrl : "Моля, напишете пълния път (URL)", -DlnLnkMsgNoEMail : "Моля, напишете адреса за е-поща", -DlnLnkMsgNoAnchor : "Моля, изберете котва", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Изберете цвят", -DlgColorBtnClear : "Изчисти", -DlgColorHighlight : "Текущ", -DlgColorSelected : "Избран", - -// Smiley Dialog -DlgSmileyTitle : "Добави усмивка", - -// Special Character Dialog -DlgSpecialCharTitle : "Изберете специален символ", - -// Table Dialog -DlgTableTitle : "Параметри на таблицата", -DlgTableRows : "Редове", -DlgTableColumns : "Колони", -DlgTableBorder : "Размер на рамката", -DlgTableAlign : "Подравняване", -DlgTableAlignNotSet : "<Не е избрано>", -DlgTableAlignLeft : "Ляво", -DlgTableAlignCenter : "Център", -DlgTableAlignRight : "Дясно", -DlgTableWidth : "Ширина", -DlgTableWidthPx : "пиксели", -DlgTableWidthPc : "проценти", -DlgTableHeight : "Височина", -DlgTableCellSpace : "Разстояние между клетките", -DlgTableCellPad : "Отстъп на съдържанието в клетките", -DlgTableCaption : "Заглавие", -DlgTableSummary : "Резюме", - -// Table Cell Dialog -DlgCellTitle : "Параметри на клетката", -DlgCellWidth : "Ширина", -DlgCellWidthPx : "пиксели", -DlgCellWidthPc : "проценти", -DlgCellHeight : "Височина", -DlgCellWordWrap : "пренасяне на нов ред", -DlgCellWordWrapNotSet : "<Не е настроено>", -DlgCellWordWrapYes : "Да", -DlgCellWordWrapNo : "не", -DlgCellHorAlign : "Хоризонтално подравняване", -DlgCellHorAlignNotSet : "<Не е настроено>", -DlgCellHorAlignLeft : "Ляво", -DlgCellHorAlignCenter : "Център", -DlgCellHorAlignRight: "Дясно", -DlgCellVerAlign : "Вертикално подравняване", -DlgCellVerAlignNotSet : "<Не е настроено>", -DlgCellVerAlignTop : "Горе", -DlgCellVerAlignMiddle : "По средата", -DlgCellVerAlignBottom : "Долу", -DlgCellVerAlignBaseline : "По базовата линия", -DlgCellRowSpan : "повече от един ред", -DlgCellCollSpan : "повече от една колона", -DlgCellBackColor : "фонов цвят", -DlgCellBorderColor : "цвят на рамката", -DlgCellBtnSelect : "Изберете...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Търси", -DlgFindFindBtn : "Търси", -DlgFindNotFoundMsg : "Указания текст не беше намерен.", - -// Replace Dialog -DlgReplaceTitle : "Замести", -DlgReplaceFindLbl : "Търси:", -DlgReplaceReplaceLbl : "Замести с:", -DlgReplaceCaseChk : "Със същия регистър", -DlgReplaceReplaceBtn : "Замести", -DlgReplaceReplAllBtn : "Замести всички", -DlgReplaceWordChk : "Търси същата дума", - -// Paste Operations / Dialog -PasteErrorCut : "Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни изрязването. За целта използвайте клавиатурата (Ctrl+X).", -PasteErrorCopy : "Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни запаметяването. За целта използвайте клавиатурата (Ctrl+C).", - -PasteAsText : "Вмъкни като чист текст", -PasteFromWord : "Вмъкни от MS Word", - -DlgPasteMsg2 : "Вмъкнете тук съдъжанието с клавиатуарата (Ctrl+V) и натиснете OK.", -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING -DlgPasteIgnoreFont : "Игнорирай шрифтовите дефиниции", -DlgPasteRemoveStyles : "Изтрий стиловите дефиниции", - -// Color Picker -ColorAutomatic : "По подразбиране", -ColorMoreColors : "Други цветове...", - -// Document Properties -DocProps : "Параметри на документа", - -// Anchor Dialog -DlgAnchorTitle : "Параметри на котвата", -DlgAnchorName : "Име на котвата", -DlgAnchorErrorName : "Моля, въведете име на котвата", - -// Speller Pages Dialog -DlgSpellNotInDic : "Липсва в речника", -DlgSpellChangeTo : "Промени на", -DlgSpellBtnIgnore : "Игнорирай", -DlgSpellBtnIgnoreAll : "Игнорирай всички", -DlgSpellBtnReplace : "Замести", -DlgSpellBtnReplaceAll : "Замести всички", -DlgSpellBtnUndo : "Отмени", -DlgSpellNoSuggestions : "- Няма предложения -", -DlgSpellProgress : "Извършване на проверката за правопис...", -DlgSpellNoMispell : "Проверката за правопис завършена: не са открити правописни грешки", -DlgSpellNoChanges : "Проверката за правопис завършена: няма променени думи", -DlgSpellOneChange : "Проверката за правопис завършена: една дума е променена", -DlgSpellManyChanges : "Проверката за правопис завършена: %1 думи са променени", - -IeSpellDownload : "Инструментът за проверка на правопис не е инсталиран. Желаете ли да го инсталирате ?", - -// Button Dialog -DlgButtonText : "Текст (Стойност)", -DlgButtonType : "Тип", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Име", -DlgCheckboxValue : "Стойност", -DlgCheckboxSelected : "Отметнато", - -// Form Dialog -DlgFormName : "Име", -DlgFormAction : "Действие", -DlgFormMethod : "Метод", - -// Select Field Dialog -DlgSelectName : "Име", -DlgSelectValue : "Стойност", -DlgSelectSize : "Размер", -DlgSelectLines : "линии", -DlgSelectChkMulti : "Разрешено множествено селектиране", -DlgSelectOpAvail : "Възможни опции", -DlgSelectOpText : "Текст", -DlgSelectOpValue : "Стойност", -DlgSelectBtnAdd : "Добави", -DlgSelectBtnModify : "Промени", -DlgSelectBtnUp : "Нагоре", -DlgSelectBtnDown : "Надолу", -DlgSelectBtnSetValue : "Настрой като избрана стойност", -DlgSelectBtnDelete : "Изтрий", - -// Textarea Dialog -DlgTextareaName : "Име", -DlgTextareaCols : "Колони", -DlgTextareaRows : "Редове", - -// Text Field Dialog -DlgTextName : "Име", -DlgTextValue : "Стойност", -DlgTextCharWidth : "Ширина на символите", -DlgTextMaxChars : "Максимум символи", -DlgTextType : "Тип", -DlgTextTypeText : "Текст", -DlgTextTypePass : "Парола", - -// Hidden Field Dialog -DlgHiddenName : "Име", -DlgHiddenValue : "Стойност", - -// Bulleted List Dialog -BulletedListProp : "Параметри на ненумерирания списък", -NumberedListProp : "Параметри на нумерирания списък", -DlgLstStart : "Start", //MISSING -DlgLstType : "Тип", -DlgLstTypeCircle : "Окръжност", -DlgLstTypeDisc : "Кръг", -DlgLstTypeSquare : "Квадрат", -DlgLstTypeNumbers : "Числа (1, 2, 3)", -DlgLstTypeLCase : "Малки букви (a, b, c)", -DlgLstTypeUCase : "Големи букви (A, B, C)", -DlgLstTypeSRoman : "Малки римски числа (i, ii, iii)", -DlgLstTypeLRoman : "Големи римски числа (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Общи", -DlgDocBackTab : "Фон", -DlgDocColorsTab : "Цветове и отстъпи", -DlgDocMetaTab : "Мета данни", - -DlgDocPageTitle : "Заглавие на страницата", -DlgDocLangDir : "Посока на речта", -DlgDocLangDirLTR : "От ляво на дясно", -DlgDocLangDirRTL : "От дясно на ляво", -DlgDocLangCode : "Код на езика", -DlgDocCharSet : "Кодиране на символите", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Друго кодиране на символите", - -DlgDocDocType : "Тип на документа", -DlgDocDocTypeOther : "Друг тип на документа", -DlgDocIncXHTML : "Включи XHTML декларация", -DlgDocBgColor : "Цвят на фона", -DlgDocBgImage : "Пълен път до фоновото изображение", -DlgDocBgNoScroll : "Не-повтарящо се фоново изображение", -DlgDocCText : "Текст", -DlgDocCLink : "Връзка", -DlgDocCVisited : "Посетена връзка", -DlgDocCActive : "Активна връзка", -DlgDocMargins : "Отстъпи на страницата", -DlgDocMaTop : "Горе", -DlgDocMaLeft : "Ляво", -DlgDocMaRight : "Дясно", -DlgDocMaBottom : "Долу", -DlgDocMeIndex : "Ключови думи за документа (разделени със запетаи)", -DlgDocMeDescr : "Описание на документа", -DlgDocMeAuthor : "Автор", -DlgDocMeCopy : "Авторски права", -DlgDocPreview : "Изглед", - -// Templates Dialog -Templates : "Шаблони", -DlgTemplatesTitle : "Шаблони", -DlgTemplatesSelMsg : "Изберете шаблон
    (текущото съдържание на редактора ще бъде загубено):", -DlgTemplatesLoading : "Зареждане на списъка с шаблоните. Моля изчакайте...", -DlgTemplatesNoTpl : "(Няма дефинирани шаблони)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "За", -DlgAboutBrowserInfoTab : "Информация за браузъра", -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "версия", -DlgAboutInfo : "За повече информация посетете", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/bn.js b/modules/editor/skins/fckeditor/editor/lang/bn.js deleted file mode 100644 index 173182e25..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/bn.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Bengali/Bangla language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "টূলবার গুটিয়ে দাও", -ToolbarExpand : "টূলবার ছড়িয়ে দাও", - -// Toolbar Items and Context Menu -Save : "সংরক্ষন কর", -NewPage : "নতুন পেজ", -Preview : "প্রিভিউ", -Cut : "কাট", -Copy : "কপি", -Paste : "পেস্ট", -PasteText : "পেস্ট (সাদা টেক্সট)", -PasteWord : "পেস্ট (শব্দ)", -Print : "প্রিন্ট", -SelectAll : "সব সিলেক্ট কর", -RemoveFormat : "ফরমেট সরাও", -InsertLinkLbl : "লিংকের যুক্ত করার লেবেল", -InsertLink : "লিংক যুক্ত কর", -RemoveLink : "লিংক সরাও", -VisitLink : "Open Link", //MISSING -Anchor : "নোঙ্গর", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "ছবির লেবেল যুক্ত কর", -InsertImage : "ছবি যুক্ত কর", -InsertFlashLbl : "ফ্লাশ লেবেল যুক্ত কর", -InsertFlash : "ফ্লাশ যুক্ত কর", -InsertTableLbl : "টেবিলের লেবেল যুক্ত কর", -InsertTable : "টেবিল যুক্ত কর", -InsertLineLbl : "রেখা যুক্ত কর", -InsertLine : "রেখা যুক্ত কর", -InsertSpecialCharLbl: "বিশেষ অক্ষরের লেবেল যুক্ত কর", -InsertSpecialChar : "বিশেষ অক্ষর যুক্ত কর", -InsertSmileyLbl : "স্মাইলী", -InsertSmiley : "স্মাইলী যুক্ত কর", -About : "FCKeditor কে বানিয়েছে", -Bold : "বোল্ড", -Italic : "ইটালিক", -Underline : "আন্ডারলাইন", -StrikeThrough : "স্ট্রাইক থ্রু", -Subscript : "অধোলেখ", -Superscript : "অভিলেখ", -LeftJustify : "বা দিকে ঘেঁষা", -CenterJustify : "মাঝ বরাবর ঘেষা", -RightJustify : "ডান দিকে ঘেঁষা", -BlockJustify : "ব্লক জাস্টিফাই", -DecreaseIndent : "ইনডেন্ট কমাও", -IncreaseIndent : "ইনডেন্ট বাড়াও", -Blockquote : "Blockquote", //MISSING -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "আনডু", -Redo : "রি-ডু", -NumberedListLbl : "সাংখ্যিক লিস্টের লেবেল", -NumberedList : "সাংখ্যিক লিস্ট", -BulletedListLbl : "বুলেট লিস্ট লেবেল", -BulletedList : "বুলেটেড লিস্ট", -ShowTableBorders : "টেবিল বর্ডার", -ShowDetails : "সবটুকু দেখাও", -Style : "স্টাইল", -FontFormat : "ফন্ট ফরমেট", -Font : "ফন্ট", -FontSize : "সাইজ", -TextColor : "টেক্স্ট রং", -BGColor : "বেকগ্রাউন্ড রং", -Source : "সোর্স", -Find : "খোজো", -Replace : "রিপ্লেস", -SpellCheck : "বানান চেক", -UniversalKeyboard : "সার্বজনীন কিবোর্ড", -PageBreakLbl : "পেজ ব্রেক লেবেল", -PageBreak : "পেজ ব্রেক", - -Form : "ফর্ম", -Checkbox : "চেক বাক্স", -RadioButton : "রেডিও বাটন", -TextField : "টেক্সট ফীল্ড", -Textarea : "টেক্সট এরিয়া", -HiddenField : "গুপ্ত ফীল্ড", -Button : "বাটন", -SelectionField : "বাছাই ফীল্ড", -ImageButton : "ছবির বাটন", - -FitWindow : "উইন্ডো ফিট কর", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "লিংক সম্পাদন", -CellCM : "সেল", -RowCM : "রো", -ColumnCM : "কলাম", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "রো মুছে দাও", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "কলাম মুছে দাও", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "সেল মুছে দাও", -MergeCells : "সেল জোড়া দাও", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "টেবিল ডিলীট কর", -CellProperties : "সেলের প্রোপার্টিজ", -TableProperties : "টেবিল প্রোপার্টি", -ImageProperties : "ছবি প্রোপার্টি", -FlashProperties : "ফ্লাশ প্রোপার্টি", - -AnchorProp : "নোঙর প্রোপার্টি", -ButtonProp : "বাটন প্রোপার্টি", -CheckboxProp : "চেক বক্স প্রোপার্টি", -HiddenFieldProp : "গুপ্ত ফীল্ড প্রোপার্টি", -RadioButtonProp : "রেডিও বাটন প্রোপার্টি", -ImageButtonProp : "ছবি বাটন প্রোপার্টি", -TextFieldProp : "টেক্সট ফীল্ড প্রোপার্টি", -SelectionFieldProp : "বাছাই ফীল্ড প্রোপার্টি", -TextareaProp : "টেক্সট এরিয়া প্রোপার্টি", -FormProp : "ফর্ম প্রোপার্টি", - -FontFormats : "সাধারণ;ফর্মেটেড;ঠিকানা;শীর্ষক ১;শীর্ষক ২;শীর্ষক ৩;শীর্ষক ৪;শীর্ষক ৫;শীর্ষক ৬;শীর্ষক (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML প্রসেস করা হচ্ছে", -Done : "শেষ হয়েছে", -PasteWordConfirm : "যে টেকস্টটি আপনি পেস্ট করতে চাচ্ছেন মনে হচ্ছে সেটি ওয়ার্ড থেকে কপি করা। আপনি কি পেস্ট করার আগে একে পরিষ্কার করতে চান?", -NotCompatiblePaste : "এই কমান্ডটি শুধুমাত্র ইন্টারনেট এক্সপ্লোরার ৫.০ বা তার পরের ভার্সনে পাওয়া সম্ভব। আপনি কি পরিষ্কার না করেই পেস্ট করতে চান?", -UnknownToolbarItem : "অজানা টুলবার আইটেম \"%1\"", -UnknownCommand : "অজানা কমান্ড \"%1\"", -NotImplemented : "কমান্ড ইমপ্লিমেন্ট করা হয়নি", -UnknownToolbarSet : "টুলবার সেট \"%1\" এর অস্তিত্ব নেই", -NoActiveX : "আপনার ব্রাউজারের সুরক্ষা সেটিংস কারনে এডিটরের কিছু ফিচার পাওয়া নাও যেতে পারে। আপনাকে অবশ্যই \"Run ActiveX controls and plug-ins\" এনাবেল করে নিতে হবে। আপনি ভুলভ্রান্তি কিছু কিছু ফিচারের অনুপস্থিতি উপলব্ধি করতে পারেন।", -BrowseServerBlocked : "রিসোর্স ব্রাউজার খোলা গেল না। নিশ্চিত করুন যে সব পপআপ ব্লকার বন্ধ করা আছে।", -DialogBlocked : "ডায়ালগ ইউন্ডো খোলা গেল না। নিশ্চিত করুন যে সব পপআপ ব্লকার বন্ধ করা আছে।", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "ওকে", -DlgBtnCancel : "বাতিল", -DlgBtnClose : "বন্ধ কর", -DlgBtnBrowseServer : "ব্রাউজ সার্ভার", -DlgAdvancedTag : "এডভান্সড", -DlgOpOther : "<অন্য>", -DlgInfoTab : "তথ্য", -DlgAlertUrl : "দয়া করে URL যুক্ত করুন", - -// General Dialogs Labels -DlgGenNotSet : "<সেট নেই>", -DlgGenId : "আইডি", -DlgGenLangDir : "ভাষা লেখার দিক", -DlgGenLangDirLtr : "বাম থেকে ডান (LTR)", -DlgGenLangDirRtl : "ডান থেকে বাম (RTL)", -DlgGenLangCode : "ভাষা কোড", -DlgGenAccessKey : "এক্সেস কী", -DlgGenName : "নাম", -DlgGenTabIndex : "ট্যাব ইন্ডেক্স", -DlgGenLongDescr : "URL এর লম্বা বর্ণনা", -DlgGenClass : "স্টাইল-শীট ক্লাস", -DlgGenTitle : "পরামর্শ শীর্ষক", -DlgGenContType : "পরামর্শ কন্টেন্টের প্রকার", -DlgGenLinkCharset : "লিংক রিসোর্স ক্যারেক্টর সেট", -DlgGenStyle : "স্টাইল", - -// Image Dialog -DlgImgTitle : "ছবির প্রোপার্টি", -DlgImgInfoTab : "ছবির তথ্য", -DlgImgBtnUpload : "ইহাকে সার্ভারে প্রেরন কর", -DlgImgURL : "URL", -DlgImgUpload : "আপলোড", -DlgImgAlt : "বিকল্প টেক্সট", -DlgImgWidth : "প্রস্থ", -DlgImgHeight : "দৈর্ঘ্য", -DlgImgLockRatio : "অনুপাত লক কর", -DlgBtnResetSize : "সাইজ পূর্বাবস্থায় ফিরিয়ে দাও", -DlgImgBorder : "বর্ডার", -DlgImgHSpace : "হরাইজন্টাল স্পেস", -DlgImgVSpace : "ভার্টিকেল স্পেস", -DlgImgAlign : "এলাইন", -DlgImgAlignLeft : "বামে", -DlgImgAlignAbsBottom: "Abs নীচে", -DlgImgAlignAbsMiddle: "Abs উপর", -DlgImgAlignBaseline : "মূল রেখা", -DlgImgAlignBottom : "নীচে", -DlgImgAlignMiddle : "মধ্য", -DlgImgAlignRight : "ডানে", -DlgImgAlignTextTop : "টেক্সট উপর", -DlgImgAlignTop : "উপর", -DlgImgPreview : "প্রীভিউ", -DlgImgAlertUrl : "অনুগ্রহক করে ছবির URL টাইপ করুন", -DlgImgLinkTab : "লিংক", - -// Flash Dialog -DlgFlashTitle : "ফ্ল্যাশ প্রোপার্টি", -DlgFlashChkPlay : "অটো প্লে", -DlgFlashChkLoop : "লূপ", -DlgFlashChkMenu : "ফ্ল্যাশ মেনু এনাবল কর", -DlgFlashScale : "স্কেল", -DlgFlashScaleAll : "সব দেখাও", -DlgFlashScaleNoBorder : "কোনো বর্ডার নেই", -DlgFlashScaleFit : "নিখুঁত ফিট", - -// Link Dialog -DlgLnkWindowTitle : "লিংক", -DlgLnkInfoTab : "লিংক তথ্য", -DlgLnkTargetTab : "টার্গেট", - -DlgLnkType : "লিংক প্রকার", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "এই পেজে নোঙর কর", -DlgLnkTypeEMail : "ইমেইল", -DlgLnkProto : "প্রোটোকল", -DlgLnkProtoOther : "<অন্য>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "নোঙর বাছাই", -DlgLnkAnchorByName : "নোঙরের নাম দিয়ে", -DlgLnkAnchorById : "নোঙরের আইডি দিয়ে", -DlgLnkNoAnchors : "(No anchors available in the document)", //MISSING -DlgLnkEMail : "ইমেইল ঠিকানা", -DlgLnkEMailSubject : "মেসেজের বিষয়", -DlgLnkEMailBody : "মেসেজের দেহ", -DlgLnkUpload : "আপলোড", -DlgLnkBtnUpload : "একে সার্ভারে পাঠাও", - -DlgLnkTarget : "টার্গেট", -DlgLnkTargetFrame : "<ফ্রেম>", -DlgLnkTargetPopup : "<পপআপ উইন্ডো>", -DlgLnkTargetBlank : "নতুন উইন্ডো (_blank)", -DlgLnkTargetParent : "মূল উইন্ডো (_parent)", -DlgLnkTargetSelf : "এই উইন্ডো (_self)", -DlgLnkTargetTop : "শীর্ষ উইন্ডো (_top)", -DlgLnkTargetFrameName : "টার্গেট ফ্রেমের নাম", -DlgLnkPopWinName : "পপআপ উইন্ডোর নাম", -DlgLnkPopWinFeat : "পপআপ উইন্ডো ফীচার সমূহ", -DlgLnkPopResize : "রিসাইজ করা সম্ভব", -DlgLnkPopLocation : "লোকেশন বার", -DlgLnkPopMenu : "মেন্যু বার", -DlgLnkPopScroll : "স্ক্রল বার", -DlgLnkPopStatus : "স্ট্যাটাস বার", -DlgLnkPopToolbar : "টুল বার", -DlgLnkPopFullScrn : "পূর্ণ পর্দা জুড়ে (IE)", -DlgLnkPopDependent : "ডিপেন্ডেন্ট (Netscape)", -DlgLnkPopWidth : "প্রস্থ", -DlgLnkPopHeight : "দৈর্ঘ্য", -DlgLnkPopLeft : "বামের পজিশন", -DlgLnkPopTop : "ডানের পজিশন", - -DlnLnkMsgNoUrl : "অনুগ্রহ করে URL লিংক টাইপ করুন", -DlnLnkMsgNoEMail : "অনুগ্রহ করে ইমেইল এড্রেস টাইপ করুন", -DlnLnkMsgNoAnchor : "অনুগ্রহ করে নোঙর বাছাই করুন", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "রং বাছাই কর", -DlgColorBtnClear : "পরিষ্কার কর", -DlgColorHighlight : "হাইলাইট", -DlgColorSelected : "সিলেক্টেড", - -// Smiley Dialog -DlgSmileyTitle : "স্মাইলী যুক্ত কর", - -// Special Character Dialog -DlgSpecialCharTitle : "বিশেষ ক্যারেক্টার বাছাই কর", - -// Table Dialog -DlgTableTitle : "টেবিল প্রোপার্টি", -DlgTableRows : "রো", -DlgTableColumns : "কলাম", -DlgTableBorder : "বর্ডার সাইজ", -DlgTableAlign : "এলাইনমেন্ট", -DlgTableAlignNotSet : "<সেট নেই>", -DlgTableAlignLeft : "বামে", -DlgTableAlignCenter : "মাঝখানে", -DlgTableAlignRight : "ডানে", -DlgTableWidth : "প্রস্থ", -DlgTableWidthPx : "পিক্সেল", -DlgTableWidthPc : "শতকরা", -DlgTableHeight : "দৈর্ঘ্য", -DlgTableCellSpace : "সেল স্পেস", -DlgTableCellPad : "সেল প্যাডিং", -DlgTableCaption : "শীর্ষক", -DlgTableSummary : "সারাংশ", - -// Table Cell Dialog -DlgCellTitle : "সেল প্রোপার্টি", -DlgCellWidth : "প্রস্থ", -DlgCellWidthPx : "পিক্সেল", -DlgCellWidthPc : "শতকরা", -DlgCellHeight : "দৈর্ঘ্য", -DlgCellWordWrap : "ওয়ার্ড রেপ", -DlgCellWordWrapNotSet : "<সেট নেই>", -DlgCellWordWrapYes : "হাঁ", -DlgCellWordWrapNo : "না", -DlgCellHorAlign : "হরাইজন্টাল এলাইনমেন্ট", -DlgCellHorAlignNotSet : "<সেট নেই>", -DlgCellHorAlignLeft : "বামে", -DlgCellHorAlignCenter : "মাঝখানে", -DlgCellHorAlignRight: "ডানে", -DlgCellVerAlign : "ভার্টিক্যাল এলাইনমেন্ট", -DlgCellVerAlignNotSet : "<সেট নেই>", -DlgCellVerAlignTop : "উপর", -DlgCellVerAlignMiddle : "মধ্য", -DlgCellVerAlignBottom : "নীচে", -DlgCellVerAlignBaseline : "মূলরেখা", -DlgCellRowSpan : "রো স্প্যান", -DlgCellCollSpan : "কলাম স্প্যান", -DlgCellBackColor : "ব্যাকগ্রাউন্ড রং", -DlgCellBorderColor : "বর্ডারের রং", -DlgCellBtnSelect : "বাছাই কর", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "খোঁজো", -DlgFindFindBtn : "খোঁজো", -DlgFindNotFoundMsg : "আপনার উল্লেখিত টেকস্ট পাওয়া যায়নি", - -// Replace Dialog -DlgReplaceTitle : "বদলে দাও", -DlgReplaceFindLbl : "যা খুঁজতে হবে:", -DlgReplaceReplaceLbl : "যার সাথে বদলাতে হবে:", -DlgReplaceCaseChk : "কেস মিলাও", -DlgReplaceReplaceBtn : "বদলে দাও", -DlgReplaceReplAllBtn : "সব বদলে দাও", -DlgReplaceWordChk : "পুরা শব্দ মেলাও", - -// Paste Operations / Dialog -PasteErrorCut : "আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক কাট করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl+X)।", -PasteErrorCopy : "আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক কপি করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl+C)।", - -PasteAsText : "সাদা টেক্সট হিসেবে পেস্ট কর", -PasteFromWord : "ওয়ার্ড থেকে পেস্ট কর", - -DlgPasteMsg2 : "অনুগ্রহ করে নীচের বাক্সে কিবোর্ড ব্যবহার করে (Ctrl+V) পেস্ট করুন এবং OK চাপ দিন", -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING -DlgPasteIgnoreFont : "ফন্ট ফেস ডেফিনেশন ইগনোর করুন", -DlgPasteRemoveStyles : "স্টাইল ডেফিনেশন সরিয়ে দিন", - -// Color Picker -ColorAutomatic : "অটোমেটিক", -ColorMoreColors : "আরও রং...", - -// Document Properties -DocProps : "ডক্যুমেন্ট প্রোপার্টি", - -// Anchor Dialog -DlgAnchorTitle : "নোঙরের প্রোপার্টি", -DlgAnchorName : "নোঙরের নাম", -DlgAnchorErrorName : "নোঙরের নাম টাইপ করুন", - -// Speller Pages Dialog -DlgSpellNotInDic : "শব্দকোষে নেই", -DlgSpellChangeTo : "এতে বদলাও", -DlgSpellBtnIgnore : "ইগনোর কর", -DlgSpellBtnIgnoreAll : "সব ইগনোর কর", -DlgSpellBtnReplace : "বদলে দাও", -DlgSpellBtnReplaceAll : "সব বদলে দাও", -DlgSpellBtnUndo : "আন্ডু", -DlgSpellNoSuggestions : "- কোন সাজেশন নেই -", -DlgSpellProgress : "বানান পরীক্ষা চলছে...", -DlgSpellNoMispell : "বানান পরীক্ষা শেষ: কোন ভুল বানান পাওয়া যায়নি", -DlgSpellNoChanges : "বানান পরীক্ষা শেষ: কোন শব্দ পরিবর্তন করা হয়নি", -DlgSpellOneChange : "বানান পরীক্ষা শেষ: একটি মাত্র শব্দ পরিবর্তন করা হয়েছে", -DlgSpellManyChanges : "বানান পরীক্ষা শেষ: %1 গুলো শব্দ বদলে গ্যাছে", - -IeSpellDownload : "বানান পরীক্ষক ইনস্টল করা নেই। আপনি কি এখনই এটা ডাউনলোড করতে চান?", - -// Button Dialog -DlgButtonText : "টেক্সট (ভ্যালু)", -DlgButtonType : "প্রকার", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "নাম", -DlgCheckboxValue : "ভ্যালু", -DlgCheckboxSelected : "সিলেক্টেড", - -// Form Dialog -DlgFormName : "নাম", -DlgFormAction : "একশ্যন", -DlgFormMethod : "পদ্ধতি", - -// Select Field Dialog -DlgSelectName : "নাম", -DlgSelectValue : "ভ্যালু", -DlgSelectSize : "সাইজ", -DlgSelectLines : "লাইন সমূহ", -DlgSelectChkMulti : "একাধিক সিলেকশন এলাউ কর", -DlgSelectOpAvail : "অন্যান্য বিকল্প", -DlgSelectOpText : "টেক্সট", -DlgSelectOpValue : "ভ্যালু", -DlgSelectBtnAdd : "যুক্ত", -DlgSelectBtnModify : "বদলে দাও", -DlgSelectBtnUp : "উপর", -DlgSelectBtnDown : "নীচে", -DlgSelectBtnSetValue : "বাছাই করা ভ্যালু হিসেবে সেট কর", -DlgSelectBtnDelete : "ডিলীট", - -// Textarea Dialog -DlgTextareaName : "নাম", -DlgTextareaCols : "কলাম", -DlgTextareaRows : "রো", - -// Text Field Dialog -DlgTextName : "নাম", -DlgTextValue : "ভ্যালু", -DlgTextCharWidth : "ক্যারেক্টার প্রশস্ততা", -DlgTextMaxChars : "সর্বাধিক ক্যারেক্টার", -DlgTextType : "টাইপ", -DlgTextTypeText : "টেক্সট", -DlgTextTypePass : "পাসওয়ার্ড", - -// Hidden Field Dialog -DlgHiddenName : "নাম", -DlgHiddenValue : "ভ্যালু", - -// Bulleted List Dialog -BulletedListProp : "বুলেটেড সূচী প্রোপার্টি", -NumberedListProp : "সাংখ্যিক সূচী প্রোপার্টি", -DlgLstStart : "Start", //MISSING -DlgLstType : "প্রকার", -DlgLstTypeCircle : "গোল", -DlgLstTypeDisc : "ডিস্ক", -DlgLstTypeSquare : "চৌকোণা", -DlgLstTypeNumbers : "সংখ্যা (1, 2, 3)", -DlgLstTypeLCase : "ছোট অক্ষর (a, b, c)", -DlgLstTypeUCase : "বড় অক্ষর (A, B, C)", -DlgLstTypeSRoman : "ছোট রোমান সংখ্যা (i, ii, iii)", -DlgLstTypeLRoman : "বড় রোমান সংখ্যা (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "সাধারন", -DlgDocBackTab : "ব্যাকগ্রাউন্ড", -DlgDocColorsTab : "রং এবং মার্জিন", -DlgDocMetaTab : "মেটাডেটা", - -DlgDocPageTitle : "পেজ শীর্ষক", -DlgDocLangDir : "ভাষা লিখার দিক", -DlgDocLangDirLTR : "বাম থেকে ডানে (LTR)", -DlgDocLangDirRTL : "ডান থেকে বামে (RTL)", -DlgDocLangCode : "ভাষা কোড", -DlgDocCharSet : "ক্যারেক্টার সেট এনকোডিং", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "অন্য ক্যারেক্টার সেট এনকোডিং", - -DlgDocDocType : "ডক্যুমেন্ট টাইপ হেডিং", -DlgDocDocTypeOther : "অন্য ডক্যুমেন্ট টাইপ হেডিং", -DlgDocIncXHTML : "XHTML ডেক্লারেশন যুক্ত কর", -DlgDocBgColor : "ব্যাকগ্রাউন্ড রং", -DlgDocBgImage : "ব্যাকগ্রাউন্ড ছবির URL", -DlgDocBgNoScroll : "স্ক্রলহীন ব্যাকগ্রাউন্ড", -DlgDocCText : "টেক্সট", -DlgDocCLink : "লিংক", -DlgDocCVisited : "ভিজিট করা লিংক", -DlgDocCActive : "সক্রিয় লিংক", -DlgDocMargins : "পেজ মার্জিন", -DlgDocMaTop : "উপর", -DlgDocMaLeft : "বামে", -DlgDocMaRight : "ডানে", -DlgDocMaBottom : "নীচে", -DlgDocMeIndex : "ডক্যুমেন্ট ইন্ডেক্স কিওয়ার্ড (কমা দ্বারা বিচ্ছিন্ন)", -DlgDocMeDescr : "ডক্যূমেন্ট বর্ণনা", -DlgDocMeAuthor : "লেখক", -DlgDocMeCopy : "কপীরাইট", -DlgDocPreview : "প্রীভিউ", - -// Templates Dialog -Templates : "টেমপ্লেট", -DlgTemplatesTitle : "কনটেন্ট টেমপ্লেট", -DlgTemplatesSelMsg : "অনুগ্রহ করে এডিটরে ওপেন করার জন্য টেমপ্লেট বাছাই করুন
    (আসল কনটেন্ট হারিয়ে যাবে):", -DlgTemplatesLoading : "টেমপ্লেট লিস্ট হারিয়ে যাবে। অনুগ্রহ করে অপেক্ষা করুন...", -DlgTemplatesNoTpl : "(কোন টেমপ্লেট ডিফাইন করা নেই)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "কে বানিয়েছে", -DlgAboutBrowserInfoTab : "ব্রাউজারের ব্যাপারে তথ্য", -DlgAboutLicenseTab : "লাইসেন্স", -DlgAboutVersion : "ভার্সন", -DlgAboutInfo : "আরও তথ্যের জন্য যান", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/bs.js b/modules/editor/skins/fckeditor/editor/lang/bs.js deleted file mode 100644 index 662b4b8f1..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/bs.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Bosnian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Skupi trake sa alatima", -ToolbarExpand : "Otvori trake sa alatima", - -// Toolbar Items and Context Menu -Save : "Snimi", -NewPage : "Novi dokument", -Preview : "Prikaži", -Cut : "Izreži", -Copy : "Kopiraj", -Paste : "Zalijepi", -PasteText : "Zalijepi kao obièan tekst", -PasteWord : "Zalijepi iz Word-a", -Print : "Štampaj", -SelectAll : "Selektuj sve", -RemoveFormat : "Poništi format", -InsertLinkLbl : "Link", -InsertLink : "Ubaci/Izmjeni link", -RemoveLink : "Izbriši link", -VisitLink : "Open Link", //MISSING -Anchor : "Insert/Edit Anchor", //MISSING -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Slika", -InsertImage : "Ubaci/Izmjeni sliku", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING -InsertTableLbl : "Tabela", -InsertTable : "Ubaci/Izmjeni tabelu", -InsertLineLbl : "Linija", -InsertLine : "Ubaci horizontalnu liniju", -InsertSpecialCharLbl: "Specijalni karakter", -InsertSpecialChar : "Ubaci specijalni karater", -InsertSmileyLbl : "Smješko", -InsertSmiley : "Ubaci smješka", -About : "O FCKeditor-u", -Bold : "Boldiraj", -Italic : "Ukosi", -Underline : "Podvuci", -StrikeThrough : "Precrtaj", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Lijevo poravnanje", -CenterJustify : "Centralno poravnanje", -RightJustify : "Desno poravnanje", -BlockJustify : "Puno poravnanje", -DecreaseIndent : "Smanji uvod", -IncreaseIndent : "Poveæaj uvod", -Blockquote : "Blockquote", //MISSING -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "Vrati", -Redo : "Ponovi", -NumberedListLbl : "Numerisana lista", -NumberedList : "Ubaci/Izmjeni numerisanu listu", -BulletedListLbl : "Lista", -BulletedList : "Ubaci/Izmjeni listu", -ShowTableBorders : "Pokaži okvire tabela", -ShowDetails : "Pokaži detalje", -Style : "Stil", -FontFormat : "Format", -Font : "Font", -FontSize : "Velièina", -TextColor : "Boja teksta", -BGColor : "Boja pozadine", -Source : "HTML kôd", -Find : "Naði", -Replace : "Zamjeni", -SpellCheck : "Check Spelling", //MISSING -UniversalKeyboard : "Universal Keyboard", //MISSING -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING - -Form : "Form", //MISSING -Checkbox : "Checkbox", //MISSING -RadioButton : "Radio Button", //MISSING -TextField : "Text Field", //MISSING -Textarea : "Textarea", //MISSING -HiddenField : "Hidden Field", //MISSING -Button : "Button", //MISSING -SelectionField : "Selection Field", //MISSING -ImageButton : "Image Button", //MISSING - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Izmjeni link", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Briši redove", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Briši kolone", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Briši æelije", -MergeCells : "Spoji æelije", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Delete Table", //MISSING -CellProperties : "Svojstva æelije", -TableProperties : "Svojstva tabele", -ImageProperties : "Svojstva slike", -FlashProperties : "Flash Properties", //MISSING - -AnchorProp : "Anchor Properties", //MISSING -ButtonProp : "Button Properties", //MISSING -CheckboxProp : "Checkbox Properties", //MISSING -HiddenFieldProp : "Hidden Field Properties", //MISSING -RadioButtonProp : "Radio Button Properties", //MISSING -ImageButtonProp : "Image Button Properties", //MISSING -TextFieldProp : "Text Field Properties", //MISSING -SelectionFieldProp : "Selection Field Properties", //MISSING -TextareaProp : "Textarea Properties", //MISSING -FormProp : "Form Properties", //MISSING - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6", - -// Alerts and Messages -ProcessingXHTML : "Procesiram XHTML. Molim saèekajte...", -Done : "Gotovo", -PasteWordConfirm : "Tekst koji želite zalijepiti èini se da je kopiran iz Worda. Da li želite da se prvo oèisti?", -NotCompatiblePaste : "Ova komanda je podržana u Internet Explorer-u verzijama 5.5 ili novijim. Da li želite da izvršite lijepljenje teksta bez èišæenja?", -UnknownToolbarItem : "Nepoznata stavka sa trake sa alatima \"%1\"", -UnknownCommand : "Nepoznata komanda \"%1\"", -NotImplemented : "Komanda nije implementirana", -UnknownToolbarSet : "Traka sa alatima \"%1\" ne postoji", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", //MISSING -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", //MISSING -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Odustani", -DlgBtnClose : "Zatvori", -DlgBtnBrowseServer : "Browse Server", //MISSING -DlgAdvancedTag : "Naprednije", -DlgOpOther : "", //MISSING -DlgInfoTab : "Info", //MISSING -DlgAlertUrl : "Please insert the URL", //MISSING - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Smjer pisanja", -DlgGenLangDirLtr : "S lijeva na desno (LTR)", -DlgGenLangDirRtl : "S desna na lijevo (RTL)", -DlgGenLangCode : "Jezièni kôd", -DlgGenAccessKey : "Pristupna tipka", -DlgGenName : "Naziv", -DlgGenTabIndex : "Tab indeks", -DlgGenLongDescr : "Dugaèki opis URL-a", -DlgGenClass : "Klase CSS stilova", -DlgGenTitle : "Advisory title", -DlgGenContType : "Advisory vrsta sadržaja", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Stil", - -// Image Dialog -DlgImgTitle : "Svojstva slike", -DlgImgInfoTab : "Info slike", -DlgImgBtnUpload : "Šalji na server", -DlgImgURL : "URL", -DlgImgUpload : "Šalji", -DlgImgAlt : "Tekst na slici", -DlgImgWidth : "Širina", -DlgImgHeight : "Visina", -DlgImgLockRatio : "Zakljuèaj odnos", -DlgBtnResetSize : "Resetuj dimenzije", -DlgImgBorder : "Okvir", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Poravnanje", -DlgImgAlignLeft : "Lijevo", -DlgImgAlignAbsBottom: "Abs dole", -DlgImgAlignAbsMiddle: "Abs sredina", -DlgImgAlignBaseline : "Bazno", -DlgImgAlignBottom : "Dno", -DlgImgAlignMiddle : "Sredina", -DlgImgAlignRight : "Desno", -DlgImgAlignTextTop : "Vrh teksta", -DlgImgAlignTop : "Vrh", -DlgImgPreview : "Prikaz", -DlgImgAlertUrl : "Molimo ukucajte URL od slike.", -DlgImgLinkTab : "Link", //MISSING - -// Flash Dialog -DlgFlashTitle : "Flash Properties", //MISSING -DlgFlashChkPlay : "Auto Play", //MISSING -DlgFlashChkLoop : "Loop", //MISSING -DlgFlashChkMenu : "Enable Flash Menu", //MISSING -DlgFlashScale : "Scale", //MISSING -DlgFlashScaleAll : "Show all", //MISSING -DlgFlashScaleNoBorder : "No Border", //MISSING -DlgFlashScaleFit : "Exact Fit", //MISSING - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link info", -DlgLnkTargetTab : "Prozor", - -DlgLnkType : "Tip linka", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Sidro na ovoj stranici", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Izaberi sidro", -DlgLnkAnchorByName : "Po nazivu sidra", -DlgLnkAnchorById : "Po Id-u elementa", -DlgLnkNoAnchors : "(Nema dostupnih sidra na stranici)", -DlgLnkEMail : "E-Mail Adresa", -DlgLnkEMailSubject : "Subjekt poruke", -DlgLnkEMailBody : "Poruka", -DlgLnkUpload : "Šalji", -DlgLnkBtnUpload : "Šalji na server", - -DlgLnkTarget : "Prozor", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Novi prozor (_blank)", -DlgLnkTargetParent : "Glavni prozor (_parent)", -DlgLnkTargetSelf : "Isti prozor (_self)", -DlgLnkTargetTop : "Najgornji prozor (_top)", -DlgLnkTargetFrameName : "Target Frame Name", //MISSING -DlgLnkPopWinName : "Naziv popup prozora", -DlgLnkPopWinFeat : "Moguænosti popup prozora", -DlgLnkPopResize : "Promjenljive velièine", -DlgLnkPopLocation : "Traka za lokaciju", -DlgLnkPopMenu : "Izborna traka", -DlgLnkPopScroll : "Scroll traka", -DlgLnkPopStatus : "Statusna traka", -DlgLnkPopToolbar : "Traka sa alatima", -DlgLnkPopFullScrn : "Cijeli ekran (IE)", -DlgLnkPopDependent : "Ovisno (Netscape)", -DlgLnkPopWidth : "Širina", -DlgLnkPopHeight : "Visina", -DlgLnkPopLeft : "Lijeva pozicija", -DlgLnkPopTop : "Gornja pozicija", - -DlnLnkMsgNoUrl : "Molimo ukucajte URL link", -DlnLnkMsgNoEMail : "Molimo ukucajte e-mail adresu", -DlnLnkMsgNoAnchor : "Molimo izaberite sidro", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Izaberi boju", -DlgColorBtnClear : "Oèisti", -DlgColorHighlight : "Igled", -DlgColorSelected : "Selektovana", - -// Smiley Dialog -DlgSmileyTitle : "Ubaci smješka", - -// Special Character Dialog -DlgSpecialCharTitle : "Izaberi specijalni karakter", - -// Table Dialog -DlgTableTitle : "Svojstva tabele", -DlgTableRows : "Redova", -DlgTableColumns : "Kolona", -DlgTableBorder : "Okvir", -DlgTableAlign : "Poravnanje", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Lijevo", -DlgTableAlignCenter : "Centar", -DlgTableAlignRight : "Desno", -DlgTableWidth : "Širina", -DlgTableWidthPx : "piksela", -DlgTableWidthPc : "posto", -DlgTableHeight : "Visina", -DlgTableCellSpace : "Razmak æelija", -DlgTableCellPad : "Uvod æelija", -DlgTableCaption : "Naslov", -DlgTableSummary : "Summary", //MISSING - -// Table Cell Dialog -DlgCellTitle : "Svojstva æelije", -DlgCellWidth : "Širina", -DlgCellWidthPx : "piksela", -DlgCellWidthPc : "posto", -DlgCellHeight : "Visina", -DlgCellWordWrap : "Vrapuj tekst", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Da", -DlgCellWordWrapNo : "Ne", -DlgCellHorAlign : "Horizontalno poravnanje", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Lijevo", -DlgCellHorAlignCenter : "Centar", -DlgCellHorAlignRight: "Desno", -DlgCellVerAlign : "Vertikalno poravnanje", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Gore", -DlgCellVerAlignMiddle : "Sredina", -DlgCellVerAlignBottom : "Dno", -DlgCellVerAlignBaseline : "Bazno", -DlgCellRowSpan : "Spajanje æelija", -DlgCellCollSpan : "Spajanje kolona", -DlgCellBackColor : "Boja pozadine", -DlgCellBorderColor : "Boja okvira", -DlgCellBtnSelect : "Selektuj...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Naði", -DlgFindFindBtn : "Naði", -DlgFindNotFoundMsg : "Traženi tekst nije pronaðen.", - -// Replace Dialog -DlgReplaceTitle : "Zamjeni", -DlgReplaceFindLbl : "Naði šta:", -DlgReplaceReplaceLbl : "Zamjeni sa:", -DlgReplaceCaseChk : "Uporeðuj velika/mala slova", -DlgReplaceReplaceBtn : "Zamjeni", -DlgReplaceReplAllBtn : "Zamjeni sve", -DlgReplaceWordChk : "Uporeðuj samo cijelu rijeè", - -// Paste Operations / Dialog -PasteErrorCut : "Sigurnosne postavke vašeg pretraživaèa ne dozvoljavaju operacije automatskog rezanja. Molimo koristite kraticu na tastaturi (Ctrl+X).", -PasteErrorCopy : "Sigurnosne postavke Vašeg pretraživaèa ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tastaturi (Ctrl+C).", - -PasteAsText : "Zalijepi kao obièan tekst", -PasteFromWord : "Zalijepi iz Word-a", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING -DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING -DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING - -// Color Picker -ColorAutomatic : "Automatska", -ColorMoreColors : "Više boja...", - -// Document Properties -DocProps : "Document Properties", //MISSING - -// Anchor Dialog -DlgAnchorTitle : "Anchor Properties", //MISSING -DlgAnchorName : "Anchor Name", //MISSING -DlgAnchorErrorName : "Please type the anchor name", //MISSING - -// Speller Pages Dialog -DlgSpellNotInDic : "Not in dictionary", //MISSING -DlgSpellChangeTo : "Change to", //MISSING -DlgSpellBtnIgnore : "Ignore", //MISSING -DlgSpellBtnIgnoreAll : "Ignore All", //MISSING -DlgSpellBtnReplace : "Replace", //MISSING -DlgSpellBtnReplaceAll : "Replace All", //MISSING -DlgSpellBtnUndo : "Undo", //MISSING -DlgSpellNoSuggestions : "- No suggestions -", //MISSING -DlgSpellProgress : "Spell check in progress...", //MISSING -DlgSpellNoMispell : "Spell check complete: No misspellings found", //MISSING -DlgSpellNoChanges : "Spell check complete: No words changed", //MISSING -DlgSpellOneChange : "Spell check complete: One word changed", //MISSING -DlgSpellManyChanges : "Spell check complete: %1 words changed", //MISSING - -IeSpellDownload : "Spell checker not installed. Do you want to download it now?", //MISSING - -// Button Dialog -DlgButtonText : "Text (Value)", //MISSING -DlgButtonType : "Type", //MISSING -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", //MISSING -DlgCheckboxValue : "Value", //MISSING -DlgCheckboxSelected : "Selected", //MISSING - -// Form Dialog -DlgFormName : "Name", //MISSING -DlgFormAction : "Action", //MISSING -DlgFormMethod : "Method", //MISSING - -// Select Field Dialog -DlgSelectName : "Name", //MISSING -DlgSelectValue : "Value", //MISSING -DlgSelectSize : "Size", //MISSING -DlgSelectLines : "lines", //MISSING -DlgSelectChkMulti : "Allow multiple selections", //MISSING -DlgSelectOpAvail : "Available Options", //MISSING -DlgSelectOpText : "Text", //MISSING -DlgSelectOpValue : "Value", //MISSING -DlgSelectBtnAdd : "Add", //MISSING -DlgSelectBtnModify : "Modify", //MISSING -DlgSelectBtnUp : "Up", //MISSING -DlgSelectBtnDown : "Down", //MISSING -DlgSelectBtnSetValue : "Set as selected value", //MISSING -DlgSelectBtnDelete : "Delete", //MISSING - -// Textarea Dialog -DlgTextareaName : "Name", //MISSING -DlgTextareaCols : "Columns", //MISSING -DlgTextareaRows : "Rows", //MISSING - -// Text Field Dialog -DlgTextName : "Name", //MISSING -DlgTextValue : "Value", //MISSING -DlgTextCharWidth : "Character Width", //MISSING -DlgTextMaxChars : "Maximum Characters", //MISSING -DlgTextType : "Type", //MISSING -DlgTextTypeText : "Text", //MISSING -DlgTextTypePass : "Password", //MISSING - -// Hidden Field Dialog -DlgHiddenName : "Name", //MISSING -DlgHiddenValue : "Value", //MISSING - -// Bulleted List Dialog -BulletedListProp : "Bulleted List Properties", //MISSING -NumberedListProp : "Numbered List Properties", //MISSING -DlgLstStart : "Start", //MISSING -DlgLstType : "Type", //MISSING -DlgLstTypeCircle : "Circle", //MISSING -DlgLstTypeDisc : "Disc", //MISSING -DlgLstTypeSquare : "Square", //MISSING -DlgLstTypeNumbers : "Numbers (1, 2, 3)", //MISSING -DlgLstTypeLCase : "Lowercase Letters (a, b, c)", //MISSING -DlgLstTypeUCase : "Uppercase Letters (A, B, C)", //MISSING -DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", //MISSING -DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", //MISSING - -// Document Properties Dialog -DlgDocGeneralTab : "General", //MISSING -DlgDocBackTab : "Background", //MISSING -DlgDocColorsTab : "Colors and Margins", //MISSING -DlgDocMetaTab : "Meta Data", //MISSING - -DlgDocPageTitle : "Page Title", //MISSING -DlgDocLangDir : "Language Direction", //MISSING -DlgDocLangDirLTR : "Left to Right (LTR)", //MISSING -DlgDocLangDirRTL : "Right to Left (RTL)", //MISSING -DlgDocLangCode : "Language Code", //MISSING -DlgDocCharSet : "Character Set Encoding", //MISSING -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Other Character Set Encoding", //MISSING - -DlgDocDocType : "Document Type Heading", //MISSING -DlgDocDocTypeOther : "Other Document Type Heading", //MISSING -DlgDocIncXHTML : "Include XHTML Declarations", //MISSING -DlgDocBgColor : "Background Color", //MISSING -DlgDocBgImage : "Background Image URL", //MISSING -DlgDocBgNoScroll : "Nonscrolling Background", //MISSING -DlgDocCText : "Text", //MISSING -DlgDocCLink : "Link", //MISSING -DlgDocCVisited : "Visited Link", //MISSING -DlgDocCActive : "Active Link", //MISSING -DlgDocMargins : "Page Margins", //MISSING -DlgDocMaTop : "Top", //MISSING -DlgDocMaLeft : "Left", //MISSING -DlgDocMaRight : "Right", //MISSING -DlgDocMaBottom : "Bottom", //MISSING -DlgDocMeIndex : "Document Indexing Keywords (comma separated)", //MISSING -DlgDocMeDescr : "Document Description", //MISSING -DlgDocMeAuthor : "Author", //MISSING -DlgDocMeCopy : "Copyright", //MISSING -DlgDocPreview : "Preview", //MISSING - -// Templates Dialog -Templates : "Templates", //MISSING -DlgTemplatesTitle : "Content Templates", //MISSING -DlgTemplatesSelMsg : "Please select the template to open in the editor
    (the actual contents will be lost):", //MISSING -DlgTemplatesLoading : "Loading templates list. Please wait...", //MISSING -DlgTemplatesNoTpl : "(No templates defined)", //MISSING -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "About", //MISSING -DlgAboutBrowserInfoTab : "Browser Info", //MISSING -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "verzija", -DlgAboutInfo : "Za više informacija posjetite", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/ca.js b/modules/editor/skins/fckeditor/editor/lang/ca.js deleted file mode 100644 index bb877853d..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/ca.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Catalan language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Redueix la barra d'eines", -ToolbarExpand : "Amplia la barra d'eines", - -// Toolbar Items and Context Menu -Save : "Desa", -NewPage : "Nova Pàgina", -Preview : "Visualització prèvia", -Cut : "Retalla", -Copy : "Copia", -Paste : "Enganxa", -PasteText : "Enganxa com a text no formatat", -PasteWord : "Enganxa des del Word", -Print : "Imprimeix", -SelectAll : "Selecciona-ho tot", -RemoveFormat : "Elimina Format", -InsertLinkLbl : "Enllaç", -InsertLink : "Insereix/Edita enllaç", -RemoveLink : "Elimina l'enllaç", -VisitLink : "Obre l'enllaç", -Anchor : "Insereix/Edita àncora", -AnchorDelete : "Elimina àncora", -InsertImageLbl : "Imatge", -InsertImage : "Insereix/Edita imatge", -InsertFlashLbl : "Flash", -InsertFlash : "Insereix/Edita Flash", -InsertTableLbl : "Taula", -InsertTable : "Insereix/Edita taula", -InsertLineLbl : "Línia", -InsertLine : "Insereix línia horitzontal", -InsertSpecialCharLbl: "Caràcter Especial", -InsertSpecialChar : "Insereix caràcter especial", -InsertSmileyLbl : "Icona", -InsertSmiley : "Insereix icona", -About : "Quant a l'FCKeditor", -Bold : "Negreta", -Italic : "Cursiva", -Underline : "Subratllat", -StrikeThrough : "Barrat", -Subscript : "Subíndex", -Superscript : "Superíndex", -LeftJustify : "Alinia a l'esquerra", -CenterJustify : "Centrat", -RightJustify : "Alinia a la dreta", -BlockJustify : "Justificat", -DecreaseIndent : "Redueix el sagnat", -IncreaseIndent : "Augmenta el sagnat", -Blockquote : "Bloc de cita", -CreateDiv : "Crea un contenidor Div", -EditDiv : "Edita el contenidor Div", -DeleteDiv : "Elimina el contenidor Div", -Undo : "Desfés", -Redo : "Refés", -NumberedListLbl : "Llista numerada", -NumberedList : "Numeració activada/desactivada", -BulletedListLbl : "Llista de pics", -BulletedList : "Pics activats/descativats", -ShowTableBorders : "Mostra les vores de les taules", -ShowDetails : "Mostra detalls", -Style : "Estil", -FontFormat : "Format", -Font : "Tipus de lletra", -FontSize : "Mida", -TextColor : "Color de Text", -BGColor : "Color de Fons", -Source : "Codi font", -Find : "Cerca", -Replace : "Reemplaça", -SpellCheck : "Revisa l'ortografia", -UniversalKeyboard : "Teclat universal", -PageBreakLbl : "Salt de pàgina", -PageBreak : "Insereix salt de pàgina", - -Form : "Formulari", -Checkbox : "Casella de verificació", -RadioButton : "Botó d'opció", -TextField : "Camp de text", -Textarea : "Àrea de text", -HiddenField : "Camp ocult", -Button : "Botó", -SelectionField : "Camp de selecció", -ImageButton : "Botó d'imatge", - -FitWindow : "Maximiza la mida de l'editor", -ShowBlocks : "Mostra els blocs", - -// Context Menu -EditLink : "Edita l'enllaç", -CellCM : "Cel·la", -RowCM : "Fila", -ColumnCM : "Columna", -InsertRowAfter : "Insereix fila darrera", -InsertRowBefore : "Insereix fila abans de", -DeleteRows : "Suprimeix una fila", -InsertColumnAfter : "Insereix columna darrera", -InsertColumnBefore : "Insereix columna abans de", -DeleteColumns : "Suprimeix una columna", -InsertCellAfter : "Insereix cel·la darrera", -InsertCellBefore : "Insereix cel·la abans de", -DeleteCells : "Suprimeix les cel·les", -MergeCells : "Fusiona les cel·les", -MergeRight : "Fusiona cap a la dreta", -MergeDown : "Fusiona cap avall", -HorizontalSplitCell : "Divideix la cel·la horitzontalment", -VerticalSplitCell : "Divideix la cel·la verticalment", -TableDelete : "Suprimeix la taula", -CellProperties : "Propietats de la cel·la", -TableProperties : "Propietats de la taula", -ImageProperties : "Propietats de la imatge", -FlashProperties : "Propietats del Flash", - -AnchorProp : "Propietats de l'àncora", -ButtonProp : "Propietats del botó", -CheckboxProp : "Propietats de la casella de verificació", -HiddenFieldProp : "Propietats del camp ocult", -RadioButtonProp : "Propietats del botó d'opció", -ImageButtonProp : "Propietats del botó d'imatge", -TextFieldProp : "Propietats del camp de text", -SelectionFieldProp : "Propietats del camp de selecció", -TextareaProp : "Propietats de l'àrea de text", -FormProp : "Propietats del formulari", - -FontFormats : "Normal;Formatejat;Adreça;Encapçalament 1;Encapçalament 2;Encapçalament 3;Encapçalament 4;Encapçalament 5;Encapçalament 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Processant XHTML. Si us plau esperi...", -Done : "Fet", -PasteWordConfirm : "El text que voleu enganxar sembla provenir de Word. Voleu netejar aquest text abans que sigui enganxat?", -NotCompatiblePaste : "Aquesta funció és disponible per a Internet Explorer versió 5.5 o superior. Voleu enganxar sense netejar?", -UnknownToolbarItem : "Element de la barra d'eines desconegut \"%1\"", -UnknownCommand : "Nom de comanda desconegut \"%1\"", -NotImplemented : "Mètode no implementat", -UnknownToolbarSet : "Conjunt de barra d'eines \"%1\" inexistent", -NoActiveX : "Les preferències del navegador poden limitar algunes funcions d'aquest editor. Cal habilitar l'opció \"Executa controls ActiveX i plug-ins\". Poden sorgir errors i poden faltar algunes funcions.", -BrowseServerBlocked : "El visualitzador de recursos no s'ha pogut obrir. Assegura't de que els bloquejos de finestres emergents estan desactivats.", -DialogBlocked : "No ha estat possible obrir una finestra de diàleg. Assegureu-vos que els bloquejos de finestres emergents estan desactivats.", -VisitLinkBlocked : "No ha estat possible obrir una nova finestra. Assegureu-vos que els bloquejos de finestres emergents estan desactivats.", - -// Dialogs -DlgBtnOK : "D'acord", -DlgBtnCancel : "Cancel·la", -DlgBtnClose : "Tanca", -DlgBtnBrowseServer : "Veure servidor", -DlgAdvancedTag : "Avançat", -DlgOpOther : "Altres", -DlgInfoTab : "Info", -DlgAlertUrl : "Si us plau, afegiu la URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Direcció de l'idioma", -DlgGenLangDirLtr : "D'esquerra a dreta (LTR)", -DlgGenLangDirRtl : "De dreta a esquerra (RTL)", -DlgGenLangCode : "Codi d'idioma", -DlgGenAccessKey : "Clau d'accés", -DlgGenName : "Nom", -DlgGenTabIndex : "Index de Tab", -DlgGenLongDescr : "Descripció llarga de la URL", -DlgGenClass : "Classes del full d'estil", -DlgGenTitle : "Títol consultiu", -DlgGenContType : "Tipus de contingut consultiu", -DlgGenLinkCharset : "Conjunt de caràcters font enllaçat", -DlgGenStyle : "Estil", - -// Image Dialog -DlgImgTitle : "Propietats de la imatge", -DlgImgInfoTab : "Informació de la imatge", -DlgImgBtnUpload : "Envia-la al servidor", -DlgImgURL : "URL", -DlgImgUpload : "Puja", -DlgImgAlt : "Text alternatiu", -DlgImgWidth : "Amplada", -DlgImgHeight : "Alçada", -DlgImgLockRatio : "Bloqueja les proporcions", -DlgBtnResetSize : "Restaura la mida", -DlgImgBorder : "Vora", -DlgImgHSpace : "Espaiat horit.", -DlgImgVSpace : "Espaiat vert.", -DlgImgAlign : "Alineació", -DlgImgAlignLeft : "Ajusta a l'esquerra", -DlgImgAlignAbsBottom: "Abs Bottom", -DlgImgAlignAbsMiddle: "Abs Middle", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Bottom", -DlgImgAlignMiddle : "Middle", -DlgImgAlignRight : "Ajusta a la dreta", -DlgImgAlignTextTop : "Text Top", -DlgImgAlignTop : "Top", -DlgImgPreview : "Vista prèvia", -DlgImgAlertUrl : "Si us plau, escriviu la URL de la imatge", -DlgImgLinkTab : "Enllaç", - -// Flash Dialog -DlgFlashTitle : "Propietats del Flash", -DlgFlashChkPlay : "Reprodució automàtica", -DlgFlashChkLoop : "Bucle", -DlgFlashChkMenu : "Habilita menú Flash", -DlgFlashScale : "Escala", -DlgFlashScaleAll : "Mostra-ho tot", -DlgFlashScaleNoBorder : "Sense vores", -DlgFlashScaleFit : "Mida exacta", - -// Link Dialog -DlgLnkWindowTitle : "Enllaç", -DlgLnkInfoTab : "Informació de l'enllaç", -DlgLnkTargetTab : "Destí", - -DlgLnkType : "Tipus d'enllaç", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Àncora en aquesta pàgina", -DlgLnkTypeEMail : "Correu electrònic", -DlgLnkProto : "Protocol", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Selecciona una àncora", -DlgLnkAnchorByName : "Per nom d'àncora", -DlgLnkAnchorById : "Per Id d'element", -DlgLnkNoAnchors : "(No hi ha àncores disponibles en aquest document)", -DlgLnkEMail : "Adreça de correu electrònic", -DlgLnkEMailSubject : "Assumpte del missatge", -DlgLnkEMailBody : "Cos del missatge", -DlgLnkUpload : "Puja", -DlgLnkBtnUpload : "Envia al servidor", - -DlgLnkTarget : "Destí", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Nova finestra (_blank)", -DlgLnkTargetParent : "Finestra pare (_parent)", -DlgLnkTargetSelf : "Mateixa finestra (_self)", -DlgLnkTargetTop : "Finestra Major (_top)", -DlgLnkTargetFrameName : "Nom del marc de destí", -DlgLnkPopWinName : "Nom finestra popup", -DlgLnkPopWinFeat : "Característiques finestra popup", -DlgLnkPopResize : "Redimensionable", -DlgLnkPopLocation : "Barra d'adreça", -DlgLnkPopMenu : "Barra de menú", -DlgLnkPopScroll : "Barres d'scroll", -DlgLnkPopStatus : "Barra d'estat", -DlgLnkPopToolbar : "Barra d'eines", -DlgLnkPopFullScrn : "Pantalla completa (IE)", -DlgLnkPopDependent : "Depenent (Netscape)", -DlgLnkPopWidth : "Amplada", -DlgLnkPopHeight : "Alçada", -DlgLnkPopLeft : "Posició esquerra", -DlgLnkPopTop : "Posició dalt", - -DlnLnkMsgNoUrl : "Si us plau, escrigui l'enllaç URL", -DlnLnkMsgNoEMail : "Si us plau, escrigui l'adreça correu electrònic", -DlnLnkMsgNoAnchor : "Si us plau, escrigui l'àncora", -DlnLnkMsgInvPopName : "El nom de la finestra emergent ha de començar amb una lletra i no pot tenir espais", - -// Color Dialog -DlgColorTitle : "Selecciona el color", -DlgColorBtnClear : "Neteja", -DlgColorHighlight : "Realça", -DlgColorSelected : "Selecciona", - -// Smiley Dialog -DlgSmileyTitle : "Insereix una icona", - -// Special Character Dialog -DlgSpecialCharTitle : "Selecciona el caràcter especial", - -// Table Dialog -DlgTableTitle : "Propietats de la taula", -DlgTableRows : "Files", -DlgTableColumns : "Columnes", -DlgTableBorder : "Mida vora", -DlgTableAlign : "Alineació", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Esquerra", -DlgTableAlignCenter : "Centre", -DlgTableAlignRight : "Dreta", -DlgTableWidth : "Amplada", -DlgTableWidthPx : "píxels", -DlgTableWidthPc : "percentatge", -DlgTableHeight : "Alçada", -DlgTableCellSpace : "Espaiat de cel·les", -DlgTableCellPad : "Encoixinament de cel·les", -DlgTableCaption : "Títol", -DlgTableSummary : "Resum", - -// Table Cell Dialog -DlgCellTitle : "Propietats de la cel·la", -DlgCellWidth : "Amplada", -DlgCellWidthPx : "píxels", -DlgCellWidthPc : "percentatge", -DlgCellHeight : "Alçada", -DlgCellWordWrap : "Ajust de paraula", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Si", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Alineació horitzontal", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Esquerra", -DlgCellHorAlignCenter : "Centre", -DlgCellHorAlignRight: "Dreta", -DlgCellVerAlign : "Alineació vertical", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Top", -DlgCellVerAlignMiddle : "Middle", -DlgCellVerAlignBottom : "Bottom", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Rows Span", -DlgCellCollSpan : "Columns Span", -DlgCellBackColor : "Color de fons", -DlgCellBorderColor : "Color de la vora", -DlgCellBtnSelect : "Seleccioneu...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Cerca i reemplaça", - -// Find Dialog -DlgFindTitle : "Cerca", -DlgFindFindBtn : "Cerca", -DlgFindNotFoundMsg : "El text especificat no s'ha trobat.", - -// Replace Dialog -DlgReplaceTitle : "Reemplaça", -DlgReplaceFindLbl : "Cerca:", -DlgReplaceReplaceLbl : "Remplaça amb:", -DlgReplaceCaseChk : "Distingeix majúscules/minúscules", -DlgReplaceReplaceBtn : "Reemplaça", -DlgReplaceReplAllBtn : "Reemplaça-ho tot", -DlgReplaceWordChk : "Només paraules completes", - -// Paste Operations / Dialog -PasteErrorCut : "La seguretat del vostre navegador no permet executar automàticament les operacions de retallar. Si us plau, utilitzeu el teclat (Ctrl+X).", -PasteErrorCopy : "La seguretat del vostre navegador no permet executar automàticament les operacions de copiar. Si us plau, utilitzeu el teclat (Ctrl+C).", - -PasteAsText : "Enganxa com a text no formatat", -PasteFromWord : "Enganxa com a Word", - -DlgPasteMsg2 : "Si us plau, enganxeu dins del següent camp utilitzant el teclat (Ctrl+V) i premeu OK.", -DlgPasteSec : "A causa de la configuració de seguretat del vostre navegador, l'editor no pot accedir al porta-retalls directament. Enganxeu-ho un altre cop en aquesta finestra.", -DlgPasteIgnoreFont : "Ignora definicions de font", -DlgPasteRemoveStyles : "Elimina definicions d'estil", - -// Color Picker -ColorAutomatic : "Automàtic", -ColorMoreColors : "Més colors...", - -// Document Properties -DocProps : "Propietats del document", - -// Anchor Dialog -DlgAnchorTitle : "Propietats de l'àncora", -DlgAnchorName : "Nom de l'àncora", -DlgAnchorErrorName : "Si us plau, escriviu el nom de l'ancora", - -// Speller Pages Dialog -DlgSpellNotInDic : "No és al diccionari", -DlgSpellChangeTo : "Reemplaça amb", -DlgSpellBtnIgnore : "Ignora", -DlgSpellBtnIgnoreAll : "Ignora-les totes", -DlgSpellBtnReplace : "Canvia", -DlgSpellBtnReplaceAll : "Canvia-les totes", -DlgSpellBtnUndo : "Desfés", -DlgSpellNoSuggestions : "Cap suggeriment", -DlgSpellProgress : "Verificació ortogràfica en curs...", -DlgSpellNoMispell : "Verificació ortogràfica acabada: no hi ha cap paraula mal escrita", -DlgSpellNoChanges : "Verificació ortogràfica: no s'ha canviat cap paraula", -DlgSpellOneChange : "Verificació ortogràfica: s'ha canviat una paraula", -DlgSpellManyChanges : "Verificació ortogràfica: s'han canviat %1 paraules", - -IeSpellDownload : "Verificació ortogràfica no instal·lada. Voleu descarregar-ho ara?", - -// Button Dialog -DlgButtonText : "Text (Valor)", -DlgButtonType : "Tipus", -DlgButtonTypeBtn : "Botó", -DlgButtonTypeSbm : "Transmet formulari", -DlgButtonTypeRst : "Reinicia formulari", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nom", -DlgCheckboxValue : "Valor", -DlgCheckboxSelected : "Seleccionat", - -// Form Dialog -DlgFormName : "Nom", -DlgFormAction : "Acció", -DlgFormMethod : "Mètode", - -// Select Field Dialog -DlgSelectName : "Nom", -DlgSelectValue : "Valor", -DlgSelectSize : "Mida", -DlgSelectLines : "Línies", -DlgSelectChkMulti : "Permet múltiples seleccions", -DlgSelectOpAvail : "Opcions disponibles", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Valor", -DlgSelectBtnAdd : "Afegeix", -DlgSelectBtnModify : "Modifica", -DlgSelectBtnUp : "Amunt", -DlgSelectBtnDown : "Avall", -DlgSelectBtnSetValue : "Selecciona per defecte", -DlgSelectBtnDelete : "Elimina", - -// Textarea Dialog -DlgTextareaName : "Nom", -DlgTextareaCols : "Columnes", -DlgTextareaRows : "Files", - -// Text Field Dialog -DlgTextName : "Nom", -DlgTextValue : "Valor", -DlgTextCharWidth : "Amplada", -DlgTextMaxChars : "Nombre màxim de caràcters", -DlgTextType : "Tipus", -DlgTextTypeText : "Text", -DlgTextTypePass : "Contrasenya", - -// Hidden Field Dialog -DlgHiddenName : "Nom", -DlgHiddenValue : "Valor", - -// Bulleted List Dialog -BulletedListProp : "Propietats de la llista de pics", -NumberedListProp : "Propietats de llista numerada", -DlgLstStart : "Inici", -DlgLstType : "Tipus", -DlgLstTypeCircle : "Cercle", -DlgLstTypeDisc : "Disc", -DlgLstTypeSquare : "Quadrat", -DlgLstTypeNumbers : "Números (1, 2, 3)", -DlgLstTypeLCase : "Lletres minúscules (a, b, c)", -DlgLstTypeUCase : "Lletres majúscules (A, B, C)", -DlgLstTypeSRoman : "Números romans en minúscules (i, ii, iii)", -DlgLstTypeLRoman : "Números romans en majúscules (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "General", -DlgDocBackTab : "Fons", -DlgDocColorsTab : "Colors i marges", -DlgDocMetaTab : "Metadades", - -DlgDocPageTitle : "Títol de la pàgina", -DlgDocLangDir : "Direcció idioma", -DlgDocLangDirLTR : "Esquerra a dreta (LTR)", -DlgDocLangDirRTL : "Dreta a esquerra (RTL)", -DlgDocLangCode : "Codi d'idioma", -DlgDocCharSet : "Codificació de conjunt de caràcters", -DlgDocCharSetCE : "Centreeuropeu", -DlgDocCharSetCT : "Xinès tradicional (Big5)", -DlgDocCharSetCR : "Ciríl·lic", -DlgDocCharSetGR : "Grec", -DlgDocCharSetJP : "Japonès", -DlgDocCharSetKR : "Coreà", -DlgDocCharSetTR : "Turc", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Europeu occidental", -DlgDocCharSetOther : "Una altra codificació de caràcters", - -DlgDocDocType : "Capçalera de tipus de document", -DlgDocDocTypeOther : "Un altra capçalera de tipus de document", -DlgDocIncXHTML : "Incloure declaracions XHTML", -DlgDocBgColor : "Color de fons", -DlgDocBgImage : "URL de la imatge de fons", -DlgDocBgNoScroll : "Fons fixe", -DlgDocCText : "Text", -DlgDocCLink : "Enllaç", -DlgDocCVisited : "Enllaç visitat", -DlgDocCActive : "Enllaç actiu", -DlgDocMargins : "Marges de pàgina", -DlgDocMaTop : "Cap", -DlgDocMaLeft : "Esquerra", -DlgDocMaRight : "Dreta", -DlgDocMaBottom : "Peu", -DlgDocMeIndex : "Mots clau per a indexació (separats per coma)", -DlgDocMeDescr : "Descripció del document", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Vista prèvia", - -// Templates Dialog -Templates : "Plantilles", -DlgTemplatesTitle : "Contingut plantilles", -DlgTemplatesSelMsg : "Si us plau, seleccioneu la plantilla per obrir a l'editor
    (el contingut actual no serà enregistrat):", -DlgTemplatesLoading : "Carregant la llista de plantilles. Si us plau, espereu...", -DlgTemplatesNoTpl : "(No hi ha plantilles definides)", -DlgTemplatesReplace : "Reemplaça el contingut actual", - -// About Dialog -DlgAboutAboutTab : "Quant a", -DlgAboutBrowserInfoTab : "Informació del navegador", -DlgAboutLicenseTab : "Llicència", -DlgAboutVersion : "versió", -DlgAboutInfo : "Per a més informació aneu a", - -// Div Dialog -DlgDivGeneralTab : "General", -DlgDivAdvancedTab : "Avançat", -DlgDivStyle : "Estil", -DlgDivInlineStyle : "Estil en línia" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/cs.js b/modules/editor/skins/fckeditor/editor/lang/cs.js deleted file mode 100644 index 20bed1440..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/cs.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Czech language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Skrýt panel nástrojů", -ToolbarExpand : "Zobrazit panel nástrojů", - -// Toolbar Items and Context Menu -Save : "Uložit", -NewPage : "Nová stránka", -Preview : "Náhled", -Cut : "Vyjmout", -Copy : "Kopírovat", -Paste : "Vložit", -PasteText : "Vložit jako čistý text", -PasteWord : "Vložit z Wordu", -Print : "Tisk", -SelectAll : "Vybrat vše", -RemoveFormat : "Odstranit formátování", -InsertLinkLbl : "Odkaz", -InsertLink : "Vložit/změnit odkaz", -RemoveLink : "Odstranit odkaz", -VisitLink : "Otevřít odkaz", -Anchor : "Vložít/změnit záložku", -AnchorDelete : "Odstranit kotvu", -InsertImageLbl : "Obrázek", -InsertImage : "Vložit/změnit obrázek", -InsertFlashLbl : "Flash", -InsertFlash : "Vložit/Upravit Flash", -InsertTableLbl : "Tabulka", -InsertTable : "Vložit/změnit tabulku", -InsertLineLbl : "Linka", -InsertLine : "Vložit vodorovnou linku", -InsertSpecialCharLbl: "Speciální znaky", -InsertSpecialChar : "Vložit speciální znaky", -InsertSmileyLbl : "Smajlíky", -InsertSmiley : "Vložit smajlík", -About : "O aplikaci FCKeditor", -Bold : "Tučné", -Italic : "Kurzíva", -Underline : "Podtržené", -StrikeThrough : "Přeškrtnuté", -Subscript : "Dolní index", -Superscript : "Horní index", -LeftJustify : "Zarovnat vlevo", -CenterJustify : "Zarovnat na střed", -RightJustify : "Zarovnat vpravo", -BlockJustify : "Zarovnat do bloku", -DecreaseIndent : "Zmenšit odsazení", -IncreaseIndent : "Zvětšit odsazení", -Blockquote : "Citace", -CreateDiv : "Vytvořit Div kontejner", -EditDiv : "Upravit Div kontejner", -DeleteDiv : "Odstranit Div kontejner", -Undo : "Zpět", -Redo : "Znovu", -NumberedListLbl : "Číslování", -NumberedList : "Vložit/odstranit číslovaný seznam", -BulletedListLbl : "Odrážky", -BulletedList : "Vložit/odstranit odrážky", -ShowTableBorders : "Zobrazit okraje tabulek", -ShowDetails : "Zobrazit podrobnosti", -Style : "Styl", -FontFormat : "Formát", -Font : "Písmo", -FontSize : "Velikost", -TextColor : "Barva textu", -BGColor : "Barva pozadí", -Source : "Zdroj", -Find : "Hledat", -Replace : "Nahradit", -SpellCheck : "Zkontrolovat pravopis", -UniversalKeyboard : "Univerzální klávesnice", -PageBreakLbl : "Konec stránky", -PageBreak : "Vložit konec stránky", - -Form : "Formulář", -Checkbox : "Zaškrtávací políčko", -RadioButton : "Přepínač", -TextField : "Textové pole", -Textarea : "Textová oblast", -HiddenField : "Skryté pole", -Button : "Tlačítko", -SelectionField : "Seznam", -ImageButton : "Obrázkové tlačítko", - -FitWindow : "Maximalizovat velikost editoru", -ShowBlocks : "Ukázat bloky", - -// Context Menu -EditLink : "Změnit odkaz", -CellCM : "Buňka", -RowCM : "Řádek", -ColumnCM : "Sloupec", -InsertRowAfter : "Vložit řádek za", -InsertRowBefore : "Vložit řádek před", -DeleteRows : "Smazat řádky", -InsertColumnAfter : "Vložit sloupec za", -InsertColumnBefore : "Vložit sloupec před", -DeleteColumns : "Smazat sloupec", -InsertCellAfter : "Vložit buňku za", -InsertCellBefore : "Vložit buňku před", -DeleteCells : "Smazat buňky", -MergeCells : "Sloučit buňky", -MergeRight : "Sloučit doprava", -MergeDown : "Sloučit dolů", -HorizontalSplitCell : "Rozdělit buňky vodorovně", -VerticalSplitCell : "Rozdělit buňky svisle", -TableDelete : "Smazat tabulku", -CellProperties : "Vlastnosti buňky", -TableProperties : "Vlastnosti tabulky", -ImageProperties : "Vlastnosti obrázku", -FlashProperties : "Vlastnosti Flashe", - -AnchorProp : "Vlastnosti záložky", -ButtonProp : "Vlastnosti tlačítka", -CheckboxProp : "Vlastnosti zaškrtávacího políčka", -HiddenFieldProp : "Vlastnosti skrytého pole", -RadioButtonProp : "Vlastnosti přepínače", -ImageButtonProp : "Vlastností obrázkového tlačítka", -TextFieldProp : "Vlastnosti textového pole", -SelectionFieldProp : "Vlastnosti seznamu", -TextareaProp : "Vlastnosti textové oblasti", -FormProp : "Vlastnosti formuláře", - -FontFormats : "Normální;Naformátováno;Adresa;Nadpis 1;Nadpis 2;Nadpis 3;Nadpis 4;Nadpis 5;Nadpis 6;Normální (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Probíhá zpracování XHTML. Prosím čekejte...", -Done : "Hotovo", -PasteWordConfirm : "Jak je vidět, vkládaný text je kopírován z Wordu. Chcete jej před vložením vyčistit?", -NotCompatiblePaste : "Tento příkaz je dostupný pouze v Internet Exploreru verze 5.5 nebo vyšší. Chcete vložit text bez vyčištění?", -UnknownToolbarItem : "Neznámá položka panelu nástrojů \"%1\"", -UnknownCommand : "Neznámý příkaz \"%1\"", -NotImplemented : "Příkaz není implementován", -UnknownToolbarSet : "Panel nástrojů \"%1\" neexistuje", -NoActiveX : "Nastavení bezpečnosti Vašeho prohlížeče omezuje funkčnost některých jeho možností. Je třeba zapnout volbu \"Spouštět ovládáací prvky ActiveX a moduly plug-in\", jinak nebude možné využívat všechny dosputné schopnosti editoru.", -BrowseServerBlocked : "Průzkumník zdrojů nelze otevřít. Prověřte, zda nemáte aktivováno blokování popup oken.", -DialogBlocked : "Nelze otevřít dialogové okno. Prověřte, zda nemáte aktivováno blokování popup oken.", -VisitLinkBlocked : "Není možné otevřít nové okno. Prověřte, zda všechny nástroje pro blokování vyskakovacích oken jsou vypnuty.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Storno", -DlgBtnClose : "Zavřít", -DlgBtnBrowseServer : "Vybrat na serveru", -DlgAdvancedTag : "Rozšířené", -DlgOpOther : "", -DlgInfoTab : "Info", -DlgAlertUrl : "Prosím vložte URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Orientace jazyka", -DlgGenLangDirLtr : "Zleva do prava (LTR)", -DlgGenLangDirRtl : "Zprava do leva (RTL)", -DlgGenLangCode : "Kód jazyka", -DlgGenAccessKey : "Přístupový klíč", -DlgGenName : "Jméno", -DlgGenTabIndex : "Pořadí prvku", -DlgGenLongDescr : "Dlouhý popis URL", -DlgGenClass : "Třída stylu", -DlgGenTitle : "Pomocný titulek", -DlgGenContType : "Pomocný typ obsahu", -DlgGenLinkCharset : "Přiřazená znaková sada", -DlgGenStyle : "Styl", - -// Image Dialog -DlgImgTitle : "Vlastnosti obrázku", -DlgImgInfoTab : "Informace o obrázku", -DlgImgBtnUpload : "Odeslat na server", -DlgImgURL : "URL", -DlgImgUpload : "Odeslat", -DlgImgAlt : "Alternativní text", -DlgImgWidth : "Šířka", -DlgImgHeight : "Výška", -DlgImgLockRatio : "Zámek", -DlgBtnResetSize : "Původní velikost", -DlgImgBorder : "Okraje", -DlgImgHSpace : "H-mezera", -DlgImgVSpace : "V-mezera", -DlgImgAlign : "Zarovnání", -DlgImgAlignLeft : "Vlevo", -DlgImgAlignAbsBottom: "Zcela dolů", -DlgImgAlignAbsMiddle: "Doprostřed", -DlgImgAlignBaseline : "Na účaří", -DlgImgAlignBottom : "Dolů", -DlgImgAlignMiddle : "Na střed", -DlgImgAlignRight : "Vpravo", -DlgImgAlignTextTop : "Na horní okraj textu", -DlgImgAlignTop : "Nahoru", -DlgImgPreview : "Náhled", -DlgImgAlertUrl : "Zadejte prosím URL obrázku", -DlgImgLinkTab : "Odkaz", - -// Flash Dialog -DlgFlashTitle : "Vlastnosti Flashe", -DlgFlashChkPlay : "Automatické spuštění", -DlgFlashChkLoop : "Opakování", -DlgFlashChkMenu : "Nabídka Flash", -DlgFlashScale : "Zobrazit", -DlgFlashScaleAll : "Zobrazit vše", -DlgFlashScaleNoBorder : "Bez okraje", -DlgFlashScaleFit : "Přizpůsobit", - -// Link Dialog -DlgLnkWindowTitle : "Odkaz", -DlgLnkInfoTab : "Informace o odkazu", -DlgLnkTargetTab : "Cíl", - -DlgLnkType : "Typ odkazu", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Kotva v této stránce", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Vybrat kotvu", -DlgLnkAnchorByName : "Podle jména kotvy", -DlgLnkAnchorById : "Podle Id objektu", -DlgLnkNoAnchors : "(Ve stránce není definována žádná kotva!)", -DlgLnkEMail : "E-Mailová adresa", -DlgLnkEMailSubject : "Předmět zprávy", -DlgLnkEMailBody : "Tělo zprávy", -DlgLnkUpload : "Odeslat", -DlgLnkBtnUpload : "Odeslat na Server", - -DlgLnkTarget : "Cíl", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Nové okno (_blank)", -DlgLnkTargetParent : "Rodičovské okno (_parent)", -DlgLnkTargetSelf : "Stejné okno (_self)", -DlgLnkTargetTop : "Hlavní okno (_top)", -DlgLnkTargetFrameName : "Název cílového rámu", -DlgLnkPopWinName : "Název vyskakovacího okna", -DlgLnkPopWinFeat : "Vlastnosti vyskakovacího okna", -DlgLnkPopResize : "Měnitelná velikost", -DlgLnkPopLocation : "Panel umístění", -DlgLnkPopMenu : "Panel nabídky", -DlgLnkPopScroll : "Posuvníky", -DlgLnkPopStatus : "Stavový řádek", -DlgLnkPopToolbar : "Panel nástrojů", -DlgLnkPopFullScrn : "Celá obrazovka (IE)", -DlgLnkPopDependent : "Závislost (Netscape)", -DlgLnkPopWidth : "Šířka", -DlgLnkPopHeight : "Výška", -DlgLnkPopLeft : "Levý okraj", -DlgLnkPopTop : "Horní okraj", - -DlnLnkMsgNoUrl : "Zadejte prosím URL odkazu", -DlnLnkMsgNoEMail : "Zadejte prosím e-mailovou adresu", -DlnLnkMsgNoAnchor : "Vyberte prosím kotvu", -DlnLnkMsgInvPopName : "Název vyskakovacího okna musí začínat písmenem a nesmí obsahovat mezery", - -// Color Dialog -DlgColorTitle : "Výběr barvy", -DlgColorBtnClear : "Vymazat", -DlgColorHighlight : "Zvýrazněná", -DlgColorSelected : "Vybraná", - -// Smiley Dialog -DlgSmileyTitle : "Vkládání smajlíků", - -// Special Character Dialog -DlgSpecialCharTitle : "Výběr speciálního znaku", - -// Table Dialog -DlgTableTitle : "Vlastnosti tabulky", -DlgTableRows : "Řádky", -DlgTableColumns : "Sloupce", -DlgTableBorder : "Ohraničení", -DlgTableAlign : "Zarovnání", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Vlevo", -DlgTableAlignCenter : "Na střed", -DlgTableAlignRight : "Vpravo", -DlgTableWidth : "Šířka", -DlgTableWidthPx : "bodů", -DlgTableWidthPc : "procent", -DlgTableHeight : "Výška", -DlgTableCellSpace : "Vzdálenost buněk", -DlgTableCellPad : "Odsazení obsahu", -DlgTableCaption : "Popis", -DlgTableSummary : "Souhrn", - -// Table Cell Dialog -DlgCellTitle : "Vlastnosti buňky", -DlgCellWidth : "Šířka", -DlgCellWidthPx : "bodů", -DlgCellWidthPc : "procent", -DlgCellHeight : "Výška", -DlgCellWordWrap : "Zalamování", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Ano", -DlgCellWordWrapNo : "Ne", -DlgCellHorAlign : "Vodorovné zarovnání", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Vlevo", -DlgCellHorAlignCenter : "Na střed", -DlgCellHorAlignRight: "Vpravo", -DlgCellVerAlign : "Svislé zarovnání", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Nahoru", -DlgCellVerAlignMiddle : "Doprostřed", -DlgCellVerAlignBottom : "Dolů", -DlgCellVerAlignBaseline : "Na účaří", -DlgCellRowSpan : "Sloučené řádky", -DlgCellCollSpan : "Sloučené sloupce", -DlgCellBackColor : "Barva pozadí", -DlgCellBorderColor : "Barva ohraničení", -DlgCellBtnSelect : "Výběr...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Najít a nahradit", - -// Find Dialog -DlgFindTitle : "Hledat", -DlgFindFindBtn : "Hledat", -DlgFindNotFoundMsg : "Hledaný text nebyl nalezen.", - -// Replace Dialog -DlgReplaceTitle : "Nahradit", -DlgReplaceFindLbl : "Co hledat:", -DlgReplaceReplaceLbl : "Čím nahradit:", -DlgReplaceCaseChk : "Rozlišovat velikost písma", -DlgReplaceReplaceBtn : "Nahradit", -DlgReplaceReplAllBtn : "Nahradit vše", -DlgReplaceWordChk : "Pouze celá slova", - -// Paste Operations / Dialog -PasteErrorCut : "Bezpečnostní nastavení Vašeho prohlížeče nedovolují editoru spustit funkci pro vyjmutí zvoleného textu do schránky. Prosím vyjměte zvolený text do schránky pomocí klávesnice (Ctrl+X).", -PasteErrorCopy : "Bezpečnostní nastavení Vašeho prohlížeče nedovolují editoru spustit funkci pro kopírování zvoleného textu do schránky. Prosím zkopírujte zvolený text do schránky pomocí klávesnice (Ctrl+C).", - -PasteAsText : "Vložit jako čistý text", -PasteFromWord : "Vložit text z Wordu", - -DlgPasteMsg2 : "Do následujícího pole vložte požadovaný obsah pomocí klávesnice (Ctrl+V) a stiskněte OK.", -DlgPasteSec : "Z důvodů nastavení bezpečnosti Vašeho prohlížeče nemůže editor přistupovat přímo do schránky. Obsah schránky prosím vložte znovu do tohoto okna.", -DlgPasteIgnoreFont : "Ignorovat písmo", -DlgPasteRemoveStyles : "Odstranit styly", - -// Color Picker -ColorAutomatic : "Automaticky", -ColorMoreColors : "Více barev...", - -// Document Properties -DocProps : "Vlastnosti dokumentu", - -// Anchor Dialog -DlgAnchorTitle : "Vlastnosti záložky", -DlgAnchorName : "Název záložky", -DlgAnchorErrorName : "Zadejte prosím název záložky", - -// Speller Pages Dialog -DlgSpellNotInDic : "Není ve slovníku", -DlgSpellChangeTo : "Změnit na", -DlgSpellBtnIgnore : "Přeskočit", -DlgSpellBtnIgnoreAll : "Přeskakovat vše", -DlgSpellBtnReplace : "Zaměnit", -DlgSpellBtnReplaceAll : "Zaměňovat vše", -DlgSpellBtnUndo : "Zpět", -DlgSpellNoSuggestions : "- žádné návrhy -", -DlgSpellProgress : "Probíhá kontrola pravopisu...", -DlgSpellNoMispell : "Kontrola pravopisu dokončena: Žádné pravopisné chyby nenalezeny", -DlgSpellNoChanges : "Kontrola pravopisu dokončena: Beze změn", -DlgSpellOneChange : "Kontrola pravopisu dokončena: Jedno slovo změněno", -DlgSpellManyChanges : "Kontrola pravopisu dokončena: %1 slov změněno", - -IeSpellDownload : "Kontrola pravopisu není nainstalována. Chcete ji nyní stáhnout?", - -// Button Dialog -DlgButtonText : "Popisek", -DlgButtonType : "Typ", -DlgButtonTypeBtn : "Tlačítko", -DlgButtonTypeSbm : "Odeslat", -DlgButtonTypeRst : "Obnovit", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Název", -DlgCheckboxValue : "Hodnota", -DlgCheckboxSelected : "Zaškrtnuto", - -// Form Dialog -DlgFormName : "Název", -DlgFormAction : "Akce", -DlgFormMethod : "Metoda", - -// Select Field Dialog -DlgSelectName : "Název", -DlgSelectValue : "Hodnota", -DlgSelectSize : "Velikost", -DlgSelectLines : "Řádků", -DlgSelectChkMulti : "Povolit mnohonásobné výběry", -DlgSelectOpAvail : "Dostupná nastavení", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Hodnota", -DlgSelectBtnAdd : "Přidat", -DlgSelectBtnModify : "Změnit", -DlgSelectBtnUp : "Nahoru", -DlgSelectBtnDown : "Dolů", -DlgSelectBtnSetValue : "Nastavit jako vybranou hodnotu", -DlgSelectBtnDelete : "Smazat", - -// Textarea Dialog -DlgTextareaName : "Název", -DlgTextareaCols : "Sloupců", -DlgTextareaRows : "Řádků", - -// Text Field Dialog -DlgTextName : "Název", -DlgTextValue : "Hodnota", -DlgTextCharWidth : "Šířka ve znacích", -DlgTextMaxChars : "Maximální počet znaků", -DlgTextType : "Typ", -DlgTextTypeText : "Text", -DlgTextTypePass : "Heslo", - -// Hidden Field Dialog -DlgHiddenName : "Název", -DlgHiddenValue : "Hodnota", - -// Bulleted List Dialog -BulletedListProp : "Vlastnosti odrážek", -NumberedListProp : "Vlastnosti číslovaného seznamu", -DlgLstStart : "Začátek", -DlgLstType : "Typ", -DlgLstTypeCircle : "Kružnice", -DlgLstTypeDisc : "Kruh", -DlgLstTypeSquare : "Čtverec", -DlgLstTypeNumbers : "Čísla (1, 2, 3)", -DlgLstTypeLCase : "Malá písmena (a, b, c)", -DlgLstTypeUCase : "Velká písmena (A, B, C)", -DlgLstTypeSRoman : "Malé římská číslice (i, ii, iii)", -DlgLstTypeLRoman : "Velké římské číslice (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Obecné", -DlgDocBackTab : "Pozadí", -DlgDocColorsTab : "Barvy a okraje", -DlgDocMetaTab : "Metadata", - -DlgDocPageTitle : "Titulek stránky", -DlgDocLangDir : "Směr jazyku", -DlgDocLangDirLTR : "Zleva do prava ", -DlgDocLangDirRTL : "Zprava doleva", -DlgDocLangCode : "Kód jazyku", -DlgDocCharSet : "Znaková sada", -DlgDocCharSetCE : "Středoevropské jazyky", -DlgDocCharSetCT : "Tradiční čínština (Big5)", -DlgDocCharSetCR : "Cyrilice", -DlgDocCharSetGR : "Řečtina", -DlgDocCharSetJP : "Japonština", -DlgDocCharSetKR : "Korejština", -DlgDocCharSetTR : "Turečtina", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Západoevropské jazyky", -DlgDocCharSetOther : "Další znaková sada", - -DlgDocDocType : "Typ dokumentu", -DlgDocDocTypeOther : "Jiný typ dokumetu", -DlgDocIncXHTML : "Zahrnou deklarace XHTML", -DlgDocBgColor : "Barva pozadí", -DlgDocBgImage : "URL obrázku na pozadí", -DlgDocBgNoScroll : "Nerolovatelné pozadí", -DlgDocCText : "Text", -DlgDocCLink : "Odkaz", -DlgDocCVisited : "Navštívený odkaz", -DlgDocCActive : "Vybraný odkaz", -DlgDocMargins : "Okraje stránky", -DlgDocMaTop : "Horní", -DlgDocMaLeft : "Levý", -DlgDocMaRight : "Pravý", -DlgDocMaBottom : "Dolní", -DlgDocMeIndex : "Klíčová slova (oddělená čárkou)", -DlgDocMeDescr : "Popis dokumentu", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Autorská práva", -DlgDocPreview : "Náhled", - -// Templates Dialog -Templates : "Šablony", -DlgTemplatesTitle : "Šablony obsahu", -DlgTemplatesSelMsg : "Prosím zvolte šablonu pro otevření v editoru
    (aktuální obsah editoru bude ztracen):", -DlgTemplatesLoading : "Nahrávám přeheld šablon. Prosím čekejte...", -DlgTemplatesNoTpl : "(Není definována žádná šablona)", -DlgTemplatesReplace : "Nahradit aktuální obsah", - -// About Dialog -DlgAboutAboutTab : "O aplikaci", -DlgAboutBrowserInfoTab : "Informace o prohlížeči", -DlgAboutLicenseTab : "Licence", -DlgAboutVersion : "verze", -DlgAboutInfo : "Více informací získáte na", - -// Div Dialog -DlgDivGeneralTab : "Obecné", -DlgDivAdvancedTab : "Rozšířené", -DlgDivStyle : "Styl", -DlgDivInlineStyle : "Vložený styl" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/da.js b/modules/editor/skins/fckeditor/editor/lang/da.js deleted file mode 100644 index c0273f59c..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/da.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Danish language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Skjul værktøjslinier", -ToolbarExpand : "Vis værktøjslinier", - -// Toolbar Items and Context Menu -Save : "Gem", -NewPage : "Ny side", -Preview : "Vis eksempel", -Cut : "Klip", -Copy : "Kopier", -Paste : "Indsæt", -PasteText : "Indsæt som ikke-formateret tekst", -PasteWord : "Indsæt fra Word", -Print : "Udskriv", -SelectAll : "Vælg alt", -RemoveFormat : "Fjern formatering", -InsertLinkLbl : "Hyperlink", -InsertLink : "Indsæt/rediger hyperlink", -RemoveLink : "Fjern hyperlink", -VisitLink : "Open Link", //MISSING -Anchor : "Indsæt/rediger bogmærke", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Indsæt billede", -InsertImage : "Indsæt/rediger billede", -InsertFlashLbl : "Flash", -InsertFlash : "Indsæt/rediger Flash", -InsertTableLbl : "Table", -InsertTable : "Indsæt/rediger tabel", -InsertLineLbl : "Linie", -InsertLine : "Indsæt vandret linie", -InsertSpecialCharLbl: "Symbol", -InsertSpecialChar : "Indsæt symbol", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Indsæt smiley", -About : "Om FCKeditor", -Bold : "Fed", -Italic : "Kursiv", -Underline : "Understreget", -StrikeThrough : "Overstreget", -Subscript : "Sænket skrift", -Superscript : "Hævet skrift", -LeftJustify : "Venstrestillet", -CenterJustify : "Centreret", -RightJustify : "Højrestillet", -BlockJustify : "Lige margener", -DecreaseIndent : "Formindsk indrykning", -IncreaseIndent : "Forøg indrykning", -Blockquote : "Blockquote", //MISSING -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "Fortryd", -Redo : "Annuller fortryd", -NumberedListLbl : "Talopstilling", -NumberedList : "Indsæt/fjern talopstilling", -BulletedListLbl : "Punktopstilling", -BulletedList : "Indsæt/fjern punktopstilling", -ShowTableBorders : "Vis tabelkanter", -ShowDetails : "Vis detaljer", -Style : "Typografi", -FontFormat : "Formatering", -Font : "Skrifttype", -FontSize : "Skriftstørrelse", -TextColor : "Tekstfarve", -BGColor : "Baggrundsfarve", -Source : "Kilde", -Find : "Søg", -Replace : "Erstat", -SpellCheck : "Stavekontrol", -UniversalKeyboard : "Universaltastatur", -PageBreakLbl : "Sidskift", -PageBreak : "Indsæt sideskift", - -Form : "Indsæt formular", -Checkbox : "Indsæt afkrydsningsfelt", -RadioButton : "Indsæt alternativknap", -TextField : "Indsæt tekstfelt", -Textarea : "Indsæt tekstboks", -HiddenField : "Indsæt skjult felt", -Button : "Indsæt knap", -SelectionField : "Indsæt liste", -ImageButton : "Indsæt billedknap", - -FitWindow : "Maksimer editor vinduet", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Rediger hyperlink", -CellCM : "Celle", -RowCM : "Række", -ColumnCM : "Kolonne", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Slet række", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Slet kolonne", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Slet celle", -MergeCells : "Flet celler", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Slet tabel", -CellProperties : "Egenskaber for celle", -TableProperties : "Egenskaber for tabel", -ImageProperties : "Egenskaber for billede", -FlashProperties : "Egenskaber for Flash", - -AnchorProp : "Egenskaber for bogmærke", -ButtonProp : "Egenskaber for knap", -CheckboxProp : "Egenskaber for afkrydsningsfelt", -HiddenFieldProp : "Egenskaber for skjult felt", -RadioButtonProp : "Egenskaber for alternativknap", -ImageButtonProp : "Egenskaber for billedknap", -TextFieldProp : "Egenskaber for tekstfelt", -SelectionFieldProp : "Egenskaber for liste", -TextareaProp : "Egenskaber for tekstboks", -FormProp : "Egenskaber for formular", - -FontFormats : "Normal;Formateret;Adresse;Overskrift 1;Overskrift 2;Overskrift 3;Overskrift 4;Overskrift 5;Overskrift 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Behandler XHTML...", -Done : "Færdig", -PasteWordConfirm : "Den tekst du forsøger at indsætte ser ud til at komme fra Word.
    Vil du rense teksten før den indsættes?", -NotCompatiblePaste : "Denne kommando er tilgændelig i Internet Explorer 5.5 eller senere.
    Vil du indsætte teksten uden at rense den ?", -UnknownToolbarItem : "Ukendt værktøjslinjeobjekt \"%1\"!", -UnknownCommand : "Ukendt kommandonavn \"%1\"!", -NotImplemented : "Kommandoen er ikke implementeret!", -UnknownToolbarSet : "Værktøjslinjen \"%1\" eksisterer ikke!", -NoActiveX : "Din browsers sikkerhedsindstillinger begrænser nogle af editorens muligheder.
    Slå \"Kør ActiveX-objekter og plug-ins\" til, ellers vil du opleve fejl og manglende muligheder.", -BrowseServerBlocked : "Browseren kunne ikke åbne de nødvendige ressourcer!
    Slå pop-up blokering fra.", -DialogBlocked : "Dialogvinduet kunne ikke åbnes!
    Slå pop-up blokering fra.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Annuller", -DlgBtnClose : "Luk", -DlgBtnBrowseServer : "Gennemse...", -DlgAdvancedTag : "Avanceret", -DlgOpOther : "", -DlgInfoTab : "Generelt", -DlgAlertUrl : "Indtast URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Tekstretning", -DlgGenLangDirLtr : "Fra venstre mod højre (LTR)", -DlgGenLangDirRtl : "Fra højre mod venstre (RTL)", -DlgGenLangCode : "Sprogkode", -DlgGenAccessKey : "Genvejstast", -DlgGenName : "Navn", -DlgGenTabIndex : "Tabulator indeks", -DlgGenLongDescr : "Udvidet beskrivelse", -DlgGenClass : "Typografiark", -DlgGenTitle : "Titel", -DlgGenContType : "Indholdstype", -DlgGenLinkCharset : "Tegnsæt", -DlgGenStyle : "Typografi", - -// Image Dialog -DlgImgTitle : "Egenskaber for billede", -DlgImgInfoTab : "Generelt", -DlgImgBtnUpload : "Upload", -DlgImgURL : "URL", -DlgImgUpload : "Upload", -DlgImgAlt : "Alternativ tekst", -DlgImgWidth : "Bredde", -DlgImgHeight : "Højde", -DlgImgLockRatio : "Lås størrelsesforhold", -DlgBtnResetSize : "Nulstil størrelse", -DlgImgBorder : "Ramme", -DlgImgHSpace : "HMargen", -DlgImgVSpace : "VMargen", -DlgImgAlign : "Justering", -DlgImgAlignLeft : "Venstre", -DlgImgAlignAbsBottom: "Absolut nederst", -DlgImgAlignAbsMiddle: "Absolut centreret", -DlgImgAlignBaseline : "Grundlinje", -DlgImgAlignBottom : "Nederst", -DlgImgAlignMiddle : "Centreret", -DlgImgAlignRight : "Højre", -DlgImgAlignTextTop : "Toppen af teksten", -DlgImgAlignTop : "Øverst", -DlgImgPreview : "Vis eksempel", -DlgImgAlertUrl : "Indtast stien til billedet", -DlgImgLinkTab : "Hyperlink", - -// Flash Dialog -DlgFlashTitle : "Egenskaber for Flash", -DlgFlashChkPlay : "Automatisk afspilning", -DlgFlashChkLoop : "Gentagelse", -DlgFlashChkMenu : "Vis Flash menu", -DlgFlashScale : "Skalér", -DlgFlashScaleAll : "Vis alt", -DlgFlashScaleNoBorder : "Ingen ramme", -DlgFlashScaleFit : "Tilpas størrelse", - -// Link Dialog -DlgLnkWindowTitle : "Egenskaber for hyperlink", -DlgLnkInfoTab : "Generelt", -DlgLnkTargetTab : "Mål", - -DlgLnkType : "Hyperlink type", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Bogmærke på denne side", -DlgLnkTypeEMail : "E-mail", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Vælg et anker", -DlgLnkAnchorByName : "Efter anker navn", -DlgLnkAnchorById : "Efter element Id", -DlgLnkNoAnchors : "(Ingen bogmærker dokumentet)", -DlgLnkEMail : "E-mailadresse", -DlgLnkEMailSubject : "Emne", -DlgLnkEMailBody : "Brødtekst", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Upload", - -DlgLnkTarget : "Mål", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Nyt vindue (_blank)", -DlgLnkTargetParent : "Overordnet ramme (_parent)", -DlgLnkTargetSelf : "Samme vindue (_self)", -DlgLnkTargetTop : "Hele vinduet (_top)", -DlgLnkTargetFrameName : "Destinationsvinduets navn", -DlgLnkPopWinName : "Pop-up vinduets navn", -DlgLnkPopWinFeat : "Egenskaber for pop-up", -DlgLnkPopResize : "Skalering", -DlgLnkPopLocation : "Adresselinje", -DlgLnkPopMenu : "Menulinje", -DlgLnkPopScroll : "Scrollbars", -DlgLnkPopStatus : "Statuslinje", -DlgLnkPopToolbar : "Værktøjslinje", -DlgLnkPopFullScrn : "Fuld skærm (IE)", -DlgLnkPopDependent : "Koblet/dependent (Netscape)", -DlgLnkPopWidth : "Bredde", -DlgLnkPopHeight : "Højde", -DlgLnkPopLeft : "Position fra venstre", -DlgLnkPopTop : "Position fra toppen", - -DlnLnkMsgNoUrl : "Indtast hyperlink URL!", -DlnLnkMsgNoEMail : "Indtast e-mailaddresse!", -DlnLnkMsgNoAnchor : "Vælg bogmærke!", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Vælg farve", -DlgColorBtnClear : "Nulstil", -DlgColorHighlight : "Markeret", -DlgColorSelected : "Valgt", - -// Smiley Dialog -DlgSmileyTitle : "Vælg smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Vælg symbol", - -// Table Dialog -DlgTableTitle : "Egenskaber for tabel", -DlgTableRows : "Rækker", -DlgTableColumns : "Kolonner", -DlgTableBorder : "Rammebredde", -DlgTableAlign : "Justering", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Venstrestillet", -DlgTableAlignCenter : "Centreret", -DlgTableAlignRight : "Højrestillet", -DlgTableWidth : "Bredde", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "procent", -DlgTableHeight : "Højde", -DlgTableCellSpace : "Celleafstand", -DlgTableCellPad : "Cellemargen", -DlgTableCaption : "Titel", -DlgTableSummary : "Resume", - -// Table Cell Dialog -DlgCellTitle : "Egenskaber for celle", -DlgCellWidth : "Bredde", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "procent", -DlgCellHeight : "Højde", -DlgCellWordWrap : "Orddeling", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Ja", -DlgCellWordWrapNo : "Nej", -DlgCellHorAlign : "Vandret justering", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Venstrestillet", -DlgCellHorAlignCenter : "Centreret", -DlgCellHorAlignRight: "Højrestillet", -DlgCellVerAlign : "Lodret justering", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Øverst", -DlgCellVerAlignMiddle : "Centreret", -DlgCellVerAlignBottom : "Nederst", -DlgCellVerAlignBaseline : "Grundlinje", -DlgCellRowSpan : "Højde i antal rækker", -DlgCellCollSpan : "Bredde i antal kolonner", -DlgCellBackColor : "Baggrundsfarve", -DlgCellBorderColor : "Rammefarve", -DlgCellBtnSelect : "Vælg...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Find", -DlgFindFindBtn : "Find", -DlgFindNotFoundMsg : "Søgeteksten blev ikke fundet!", - -// Replace Dialog -DlgReplaceTitle : "Erstat", -DlgReplaceFindLbl : "Søg efter:", -DlgReplaceReplaceLbl : "Erstat med:", -DlgReplaceCaseChk : "Forskel på store og små bogstaver", -DlgReplaceReplaceBtn : "Erstat", -DlgReplaceReplAllBtn : "Erstat alle", -DlgReplaceWordChk : "Kun hele ord", - -// Paste Operations / Dialog -PasteErrorCut : "Din browsers sikkerhedsindstillinger tillader ikke editoren at klippe tekst automatisk!
    Brug i stedet tastaturet til at klippe teksten (Ctrl+X).", -PasteErrorCopy : "Din browsers sikkerhedsindstillinger tillader ikke editoren at kopiere tekst automatisk!
    Brug i stedet tastaturet til at kopiere teksten (Ctrl+C).", - -PasteAsText : "Indsæt som ikke-formateret tekst", -PasteFromWord : "Indsæt fra Word", - -DlgPasteMsg2 : "Indsæt i feltet herunder (Ctrl+V) og klik OK.", -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING -DlgPasteIgnoreFont : "Ignorer font definitioner", -DlgPasteRemoveStyles : "Ignorer typografi", - -// Color Picker -ColorAutomatic : "Automatisk", -ColorMoreColors : "Flere farver...", - -// Document Properties -DocProps : "Egenskaber for dokument", - -// Anchor Dialog -DlgAnchorTitle : "Egenskaber for bogmærke", -DlgAnchorName : "Bogmærke navn", -DlgAnchorErrorName : "Indtast bogmærke navn!", - -// Speller Pages Dialog -DlgSpellNotInDic : "Ikke i ordbogen", -DlgSpellChangeTo : "Forslag", -DlgSpellBtnIgnore : "Ignorer", -DlgSpellBtnIgnoreAll : "Ignorer alle", -DlgSpellBtnReplace : "Erstat", -DlgSpellBtnReplaceAll : "Erstat alle", -DlgSpellBtnUndo : "Tilbage", -DlgSpellNoSuggestions : "- ingen forslag -", -DlgSpellProgress : "Stavekontrolen arbejder...", -DlgSpellNoMispell : "Stavekontrol færdig: Ingen fejl fundet", -DlgSpellNoChanges : "Stavekontrol færdig: Ingen ord ændret", -DlgSpellOneChange : "Stavekontrol færdig: Et ord ændret", -DlgSpellManyChanges : "Stavekontrol færdig: %1 ord ændret", - -IeSpellDownload : "Stavekontrol ikke installeret.
    Vil du hente den nu?", - -// Button Dialog -DlgButtonText : "Tekst", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Navn", -DlgCheckboxValue : "Værdi", -DlgCheckboxSelected : "Valgt", - -// Form Dialog -DlgFormName : "Navn", -DlgFormAction : "Handling", -DlgFormMethod : "Metod", - -// Select Field Dialog -DlgSelectName : "Navn", -DlgSelectValue : "Værdi", -DlgSelectSize : "Størrelse", -DlgSelectLines : "linier", -DlgSelectChkMulti : "Tillad flere valg", -DlgSelectOpAvail : "Valgmuligheder", -DlgSelectOpText : "Tekst", -DlgSelectOpValue : "Værdi", -DlgSelectBtnAdd : "Tilføj", -DlgSelectBtnModify : "Rediger", -DlgSelectBtnUp : "Op", -DlgSelectBtnDown : "Ned", -DlgSelectBtnSetValue : "Sæt som valgt", -DlgSelectBtnDelete : "Slet", - -// Textarea Dialog -DlgTextareaName : "Navn", -DlgTextareaCols : "Kolonner", -DlgTextareaRows : "Rækker", - -// Text Field Dialog -DlgTextName : "Navn", -DlgTextValue : "Værdi", -DlgTextCharWidth : "Bredde (tegn)", -DlgTextMaxChars : "Max antal tegn", -DlgTextType : "Type", -DlgTextTypeText : "Tekst", -DlgTextTypePass : "Adgangskode", - -// Hidden Field Dialog -DlgHiddenName : "Navn", -DlgHiddenValue : "Værdi", - -// Bulleted List Dialog -BulletedListProp : "Egenskaber for punktopstilling", -NumberedListProp : "Egenskaber for talopstilling", -DlgLstStart : "Start", //MISSING -DlgLstType : "Type", -DlgLstTypeCircle : "Cirkel", -DlgLstTypeDisc : "Udfyldt cirkel", -DlgLstTypeSquare : "Firkant", -DlgLstTypeNumbers : "Nummereret (1, 2, 3)", -DlgLstTypeLCase : "Små bogstaver (a, b, c)", -DlgLstTypeUCase : "Store bogstaver (A, B, C)", -DlgLstTypeSRoman : "Små romertal (i, ii, iii)", -DlgLstTypeLRoman : "Store romertal (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Generelt", -DlgDocBackTab : "Baggrund", -DlgDocColorsTab : "Farver og margen", -DlgDocMetaTab : "Metadata", - -DlgDocPageTitle : "Sidetitel", -DlgDocLangDir : "Sprog", -DlgDocLangDirLTR : "Fra venstre mod højre (LTR)", -DlgDocLangDirRTL : "Fra højre mod venstre (RTL)", -DlgDocLangCode : "Landekode", -DlgDocCharSet : "Tegnsæt kode", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Anden tegnsæt kode", - -DlgDocDocType : "Dokumenttype kategori", -DlgDocDocTypeOther : "Anden dokumenttype kategori", -DlgDocIncXHTML : "Inkludere XHTML deklartion", -DlgDocBgColor : "Baggrundsfarve", -DlgDocBgImage : "Baggrundsbillede URL", -DlgDocBgNoScroll : "Fastlåst baggrund", -DlgDocCText : "Tekst", -DlgDocCLink : "Hyperlink", -DlgDocCVisited : "Besøgt hyperlink", -DlgDocCActive : "Aktivt hyperlink", -DlgDocMargins : "Sidemargen", -DlgDocMaTop : "Øverst", -DlgDocMaLeft : "Venstre", -DlgDocMaRight : "Højre", -DlgDocMaBottom : "Nederst", -DlgDocMeIndex : "Dokument index nøgleord (kommasepareret)", -DlgDocMeDescr : "Dokument beskrivelse", -DlgDocMeAuthor : "Forfatter", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Vis", - -// Templates Dialog -Templates : "Skabeloner", -DlgTemplatesTitle : "Indholdsskabeloner", -DlgTemplatesSelMsg : "Vælg den skabelon, som skal åbnes i editoren.
    (Nuværende indhold vil blive overskrevet!):", -DlgTemplatesLoading : "Henter liste over skabeloner...", -DlgTemplatesNoTpl : "(Der er ikke defineret nogen skabelon!)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "Om", -DlgAboutBrowserInfoTab : "Generelt", -DlgAboutLicenseTab : "Licens", -DlgAboutVersion : "version", -DlgAboutInfo : "For yderlig information gå til", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/de.js b/modules/editor/skins/fckeditor/editor/lang/de.js deleted file mode 100644 index 7edd90f96..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/de.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * German language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Symbolleiste einklappen", -ToolbarExpand : "Symbolleiste ausklappen", - -// Toolbar Items and Context Menu -Save : "Speichern", -NewPage : "Neue Seite", -Preview : "Vorschau", -Cut : "Ausschneiden", -Copy : "Kopieren", -Paste : "Einfügen", -PasteText : "aus Textdatei einfügen", -PasteWord : "aus MS-Word einfügen", -Print : "Drucken", -SelectAll : "Alles auswählen", -RemoveFormat : "Formatierungen entfernen", -InsertLinkLbl : "Link", -InsertLink : "Link einfügen/editieren", -RemoveLink : "Link entfernen", -VisitLink : "Link aufrufen", -Anchor : "Anker einfügen/editieren", -AnchorDelete : "Anker entfernen", -InsertImageLbl : "Bild", -InsertImage : "Bild einfügen/editieren", -InsertFlashLbl : "Flash", -InsertFlash : "Flash einfügen/editieren", -InsertTableLbl : "Tabelle", -InsertTable : "Tabelle einfügen/editieren", -InsertLineLbl : "Linie", -InsertLine : "Horizontale Linie einfügen", -InsertSpecialCharLbl: "Sonderzeichen", -InsertSpecialChar : "Sonderzeichen einfügen/editieren", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Smiley einfügen", -About : "Über FCKeditor", -Bold : "Fett", -Italic : "Kursiv", -Underline : "Unterstrichen", -StrikeThrough : "Durchgestrichen", -Subscript : "Tiefgestellt", -Superscript : "Hochgestellt", -LeftJustify : "Linksbündig", -CenterJustify : "Zentriert", -RightJustify : "Rechtsbündig", -BlockJustify : "Blocksatz", -DecreaseIndent : "Einzug verringern", -IncreaseIndent : "Einzug erhöhen", -Blockquote : "Zitatblock", -CreateDiv : "Erzeuge Div Block", -EditDiv : "Bearbeite Div Block", -DeleteDiv : "Entferne Div Block", -Undo : "Rückgängig", -Redo : "Wiederherstellen", -NumberedListLbl : "Nummerierte Liste", -NumberedList : "Nummerierte Liste einfügen/entfernen", -BulletedListLbl : "Liste", -BulletedList : "Liste einfügen/entfernen", -ShowTableBorders : "Zeige Tabellenrahmen", -ShowDetails : "Zeige Details", -Style : "Stil", -FontFormat : "Format", -Font : "Schriftart", -FontSize : "Größe", -TextColor : "Textfarbe", -BGColor : "Hintergrundfarbe", -Source : "Quellcode", -Find : "Suchen", -Replace : "Ersetzen", -SpellCheck : "Rechtschreibprüfung", -UniversalKeyboard : "Universal-Tastatur", -PageBreakLbl : "Seitenumbruch", -PageBreak : "Seitenumbruch einfügen", - -Form : "Formular", -Checkbox : "Checkbox", -RadioButton : "Radiobutton", -TextField : "Textfeld einzeilig", -Textarea : "Textfeld mehrzeilig", -HiddenField : "verstecktes Feld", -Button : "Klickbutton", -SelectionField : "Auswahlfeld", -ImageButton : "Bildbutton", - -FitWindow : "Editor maximieren", -ShowBlocks : "Blöcke anzeigen", - -// Context Menu -EditLink : "Link editieren", -CellCM : "Zelle", -RowCM : "Zeile", -ColumnCM : "Spalte", -InsertRowAfter : "Zeile unterhalb einfügen", -InsertRowBefore : "Zeile oberhalb einfügen", -DeleteRows : "Zeile entfernen", -InsertColumnAfter : "Spalte rechts danach einfügen", -InsertColumnBefore : "Spalte links davor einfügen", -DeleteColumns : "Spalte löschen", -InsertCellAfter : "Zelle danach einfügen", -InsertCellBefore : "Zelle davor einfügen", -DeleteCells : "Zelle löschen", -MergeCells : "Zellen verbinden", -MergeRight : "nach rechts verbinden", -MergeDown : "nach unten verbinden", -HorizontalSplitCell : "Zelle horizontal teilen", -VerticalSplitCell : "Zelle vertikal teilen", -TableDelete : "Tabelle löschen", -CellProperties : "Zellen-Eigenschaften", -TableProperties : "Tabellen-Eigenschaften", -ImageProperties : "Bild-Eigenschaften", -FlashProperties : "Flash-Eigenschaften", - -AnchorProp : "Anker-Eigenschaften", -ButtonProp : "Button-Eigenschaften", -CheckboxProp : "Checkbox-Eigenschaften", -HiddenFieldProp : "Verstecktes Feld-Eigenschaften", -RadioButtonProp : "Optionsfeld-Eigenschaften", -ImageButtonProp : "Bildbutton-Eigenschaften", -TextFieldProp : "Textfeld (einzeilig) Eigenschaften", -SelectionFieldProp : "Auswahlfeld-Eigenschaften", -TextareaProp : "Textfeld (mehrzeilig) Eigenschaften", -FormProp : "Formular-Eigenschaften", - -FontFormats : "Normal;Formatiert;Addresse;Überschrift 1;Überschrift 2;Überschrift 3;Überschrift 4;Überschrift 5;Überschrift 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Bearbeite XHTML. Bitte warten...", -Done : "Fertig", -PasteWordConfirm : "Der Text, den Sie einfügen möchten, scheint aus MS-Word kopiert zu sein. Möchten Sie ihn zuvor bereinigen lassen?", -NotCompatiblePaste : "Diese Funktion steht nur im Internet Explorer ab Version 5.5 zur Verfügung. Möchten Sie den Text unbereinigt einfügen?", -UnknownToolbarItem : "Unbekanntes Menüleisten-Objekt \"%1\"", -UnknownCommand : "Unbekannter Befehl \"%1\"", -NotImplemented : "Befehl nicht implementiert", -UnknownToolbarSet : "Menüleiste \"%1\" existiert nicht", -NoActiveX : "Die Sicherheitseinstellungen Ihres Browsers beschränken evtl. einige Funktionen des Editors. Aktivieren Sie die Option \"ActiveX-Steuerelemente und Plugins ausführen\" in den Sicherheitseinstellungen, um diese Funktionen nutzen zu können", -BrowseServerBlocked : "Ein Auswahlfenster konnte nicht geöffnet werden. Stellen Sie sicher, das alle Popup-Blocker ausgeschaltet sind.", -DialogBlocked : "Das Dialog-Fenster konnte nicht geöffnet werden. Stellen Sie sicher, das alle Popup-Blocker ausgeschaltet sind.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Abbrechen", -DlgBtnClose : "Schließen", -DlgBtnBrowseServer : "Server durchsuchen", -DlgAdvancedTag : "Erweitert", -DlgOpOther : "", -DlgInfoTab : "Info", -DlgAlertUrl : "Bitte tragen Sie die URL ein", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "ID", -DlgGenLangDir : "Schreibrichtung", -DlgGenLangDirLtr : "Links nach Rechts (LTR)", -DlgGenLangDirRtl : "Rechts nach Links (RTL)", -DlgGenLangCode : "Sprachenkürzel", -DlgGenAccessKey : "Zugriffstaste", -DlgGenName : "Name", -DlgGenTabIndex : "Tab-Index", -DlgGenLongDescr : "Langform URL", -DlgGenClass : "Stylesheet Klasse", -DlgGenTitle : "Titel Beschreibung", -DlgGenContType : "Inhaltstyp", -DlgGenLinkCharset : "Ziel-Zeichensatz", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Bild-Eigenschaften", -DlgImgInfoTab : "Bild-Info", -DlgImgBtnUpload : "Zum Server senden", -DlgImgURL : "Bildauswahl", -DlgImgUpload : "Upload", -DlgImgAlt : "Alternativer Text", -DlgImgWidth : "Breite", -DlgImgHeight : "Höhe", -DlgImgLockRatio : "Größenverhältniss beibehalten", -DlgBtnResetSize : "Größe zurücksetzen", -DlgImgBorder : "Rahmen", -DlgImgHSpace : "H-Abstand", -DlgImgVSpace : "V-Abstand", -DlgImgAlign : "Ausrichtung", -DlgImgAlignLeft : "Links", -DlgImgAlignAbsBottom: "Abs Unten", -DlgImgAlignAbsMiddle: "Abs Mitte", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Unten", -DlgImgAlignMiddle : "Mitte", -DlgImgAlignRight : "Rechts", -DlgImgAlignTextTop : "Text Oben", -DlgImgAlignTop : "Oben", -DlgImgPreview : "Vorschau", -DlgImgAlertUrl : "Bitte geben Sie die Bild-URL an", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash-Eigenschaften", -DlgFlashChkPlay : "autom. Abspielen", -DlgFlashChkLoop : "Endlosschleife", -DlgFlashChkMenu : "Flash-Menü aktivieren", -DlgFlashScale : "Skalierung", -DlgFlashScaleAll : "Alles anzeigen", -DlgFlashScaleNoBorder : "ohne Rand", -DlgFlashScaleFit : "Passgenau", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link-Info", -DlgLnkTargetTab : "Zielseite", - -DlgLnkType : "Link-Typ", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Anker in dieser Seite", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Anker auswählen", -DlgLnkAnchorByName : "nach Anker Name", -DlgLnkAnchorById : "nach Element Id", -DlgLnkNoAnchors : "(keine Anker im Dokument vorhanden)", -DlgLnkEMail : "E-Mail Addresse", -DlgLnkEMailSubject : "Betreffzeile", -DlgLnkEMailBody : "Nachrichtentext", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Zum Server senden", - -DlgLnkTarget : "Zielseite", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Neues Fenster (_blank)", -DlgLnkTargetParent : "Oberes Fenster (_parent)", -DlgLnkTargetSelf : "Gleiches Fenster (_self)", -DlgLnkTargetTop : "Oberstes Fenster (_top)", -DlgLnkTargetFrameName : "Ziel-Fenster-Name", -DlgLnkPopWinName : "Pop-up Fenster-Name", -DlgLnkPopWinFeat : "Pop-up Fenster-Eigenschaften", -DlgLnkPopResize : "Vergrößerbar", -DlgLnkPopLocation : "Adress-Leiste", -DlgLnkPopMenu : "Menü-Leiste", -DlgLnkPopScroll : "Rollbalken", -DlgLnkPopStatus : "Statusleiste", -DlgLnkPopToolbar : "Werkzeugleiste", -DlgLnkPopFullScrn : "Vollbild (IE)", -DlgLnkPopDependent : "Abhängig (Netscape)", -DlgLnkPopWidth : "Breite", -DlgLnkPopHeight : "Höhe", -DlgLnkPopLeft : "Linke Position", -DlgLnkPopTop : "Obere Position", - -DlnLnkMsgNoUrl : "Bitte geben Sie die Link-URL an", -DlnLnkMsgNoEMail : "Bitte geben Sie e-Mail Adresse an", -DlnLnkMsgNoAnchor : "Bitte wählen Sie einen Anker aus", -DlnLnkMsgInvPopName : "Der Name des Popups muss mit einem Buchstaben beginnen und darf keine Leerzeichen enthalten", - -// Color Dialog -DlgColorTitle : "Farbauswahl", -DlgColorBtnClear : "Keine Farbe", -DlgColorHighlight : "Vorschau", -DlgColorSelected : "Ausgewählt", - -// Smiley Dialog -DlgSmileyTitle : "Smiley auswählen", - -// Special Character Dialog -DlgSpecialCharTitle : "Sonderzeichen auswählen", - -// Table Dialog -DlgTableTitle : "Tabellen-Eigenschaften", -DlgTableRows : "Zeile", -DlgTableColumns : "Spalte", -DlgTableBorder : "Rahmen", -DlgTableAlign : "Ausrichtung", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Links", -DlgTableAlignCenter : "Zentriert", -DlgTableAlignRight : "Rechts", -DlgTableWidth : "Breite", -DlgTableWidthPx : "Pixel", -DlgTableWidthPc : "%", -DlgTableHeight : "Höhe", -DlgTableCellSpace : "Zellenabstand außen", -DlgTableCellPad : "Zellenabstand innen", -DlgTableCaption : "Überschrift", -DlgTableSummary : "Inhaltsübersicht", - -// Table Cell Dialog -DlgCellTitle : "Zellen-Eigenschaften", -DlgCellWidth : "Breite", -DlgCellWidthPx : "Pixel", -DlgCellWidthPc : "%", -DlgCellHeight : "Höhe", -DlgCellWordWrap : "Umbruch", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Ja", -DlgCellWordWrapNo : "Nein", -DlgCellHorAlign : "Horizontale Ausrichtung", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Links", -DlgCellHorAlignCenter : "Zentriert", -DlgCellHorAlignRight: "Rechts", -DlgCellVerAlign : "Vertikale Ausrichtung", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Oben", -DlgCellVerAlignMiddle : "Mitte", -DlgCellVerAlignBottom : "Unten", -DlgCellVerAlignBaseline : "Grundlinie", -DlgCellRowSpan : "Zeilen zusammenfassen", -DlgCellCollSpan : "Spalten zusammenfassen", -DlgCellBackColor : "Hintergrundfarbe", -DlgCellBorderColor : "Rahmenfarbe", -DlgCellBtnSelect : "Auswahl...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Suchen und Ersetzen", - -// Find Dialog -DlgFindTitle : "Finden", -DlgFindFindBtn : "Finden", -DlgFindNotFoundMsg : "Der gesuchte Text wurde nicht gefunden.", - -// Replace Dialog -DlgReplaceTitle : "Ersetzen", -DlgReplaceFindLbl : "Suche nach:", -DlgReplaceReplaceLbl : "Ersetze mit:", -DlgReplaceCaseChk : "Groß-Kleinschreibung beachten", -DlgReplaceReplaceBtn : "Ersetzen", -DlgReplaceReplAllBtn : "Alle Ersetzen", -DlgReplaceWordChk : "Nur ganze Worte suchen", - -// Paste Operations / Dialog -PasteErrorCut : "Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch auszuschneiden. Bitte benutzen Sie die System-Zwischenablage über STRG-X (ausschneiden) und STRG-V (einfügen).", -PasteErrorCopy : "Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch kopieren. Bitte benutzen Sie die System-Zwischenablage über STRG-C (kopieren).", - -PasteAsText : "Als Text einfügen", -PasteFromWord : "Aus Word einfügen", - -DlgPasteMsg2 : "Bitte fügen Sie den Text in der folgenden Box über die Tastatur (mit Strg+V) ein und bestätigen Sie mit OK.", -DlgPasteSec : "Aufgrund von Sicherheitsbeschränkungen Ihres Browsers kann der Editor nicht direkt auf die Zwischenablage zugreifen. Bitte fügen Sie den Inhalt erneut in diesem Fenster ein.", -DlgPasteIgnoreFont : "Ignoriere Schriftart-Definitionen", -DlgPasteRemoveStyles : "Entferne Style-Definitionen", - -// Color Picker -ColorAutomatic : "Automatisch", -ColorMoreColors : "Weitere Farben...", - -// Document Properties -DocProps : "Dokument-Eigenschaften", - -// Anchor Dialog -DlgAnchorTitle : "Anker-Eigenschaften", -DlgAnchorName : "Anker Name", -DlgAnchorErrorName : "Bitte geben Sie den Namen des Ankers ein", - -// Speller Pages Dialog -DlgSpellNotInDic : "Nicht im Wörterbuch", -DlgSpellChangeTo : "Ändern in", -DlgSpellBtnIgnore : "Ignorieren", -DlgSpellBtnIgnoreAll : "Alle Ignorieren", -DlgSpellBtnReplace : "Ersetzen", -DlgSpellBtnReplaceAll : "Alle Ersetzen", -DlgSpellBtnUndo : "Rückgängig", -DlgSpellNoSuggestions : " - keine Vorschläge - ", -DlgSpellProgress : "Rechtschreibprüfung läuft...", -DlgSpellNoMispell : "Rechtschreibprüfung abgeschlossen - keine Fehler gefunden", -DlgSpellNoChanges : "Rechtschreibprüfung abgeschlossen - keine Worte geändert", -DlgSpellOneChange : "Rechtschreibprüfung abgeschlossen - ein Wort geändert", -DlgSpellManyChanges : "Rechtschreibprüfung abgeschlossen - %1 Wörter geändert", - -IeSpellDownload : "Rechtschreibprüfung nicht installiert. Möchten Sie sie jetzt herunterladen?", - -// Button Dialog -DlgButtonText : "Text (Wert)", -DlgButtonType : "Typ", -DlgButtonTypeBtn : "Button", -DlgButtonTypeSbm : "Absenden", -DlgButtonTypeRst : "Zurücksetzen", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", -DlgCheckboxValue : "Wert", -DlgCheckboxSelected : "ausgewählt", - -// Form Dialog -DlgFormName : "Name", -DlgFormAction : "Action", -DlgFormMethod : "Method", - -// Select Field Dialog -DlgSelectName : "Name", -DlgSelectValue : "Wert", -DlgSelectSize : "Größe", -DlgSelectLines : "Linien", -DlgSelectChkMulti : "Erlaube Mehrfachauswahl", -DlgSelectOpAvail : "Mögliche Optionen", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Wert", -DlgSelectBtnAdd : "Hinzufügen", -DlgSelectBtnModify : "Ändern", -DlgSelectBtnUp : "Hoch", -DlgSelectBtnDown : "Runter", -DlgSelectBtnSetValue : "Setze als Standardwert", -DlgSelectBtnDelete : "Entfernen", - -// Textarea Dialog -DlgTextareaName : "Name", -DlgTextareaCols : "Spalten", -DlgTextareaRows : "Reihen", - -// Text Field Dialog -DlgTextName : "Name", -DlgTextValue : "Wert", -DlgTextCharWidth : "Zeichenbreite", -DlgTextMaxChars : "Max. Zeichen", -DlgTextType : "Typ", -DlgTextTypeText : "Text", -DlgTextTypePass : "Passwort", - -// Hidden Field Dialog -DlgHiddenName : "Name", -DlgHiddenValue : "Wert", - -// Bulleted List Dialog -BulletedListProp : "Listen-Eigenschaften", -NumberedListProp : "Nummerierte Listen-Eigenschaften", -DlgLstStart : "Start", -DlgLstType : "Typ", -DlgLstTypeCircle : "Ring", -DlgLstTypeDisc : "Kreis", -DlgLstTypeSquare : "Quadrat", -DlgLstTypeNumbers : "Nummern (1, 2, 3)", -DlgLstTypeLCase : "Kleinbuchstaben (a, b, c)", -DlgLstTypeUCase : "Großbuchstaben (A, B, C)", -DlgLstTypeSRoman : "Kleine römische Zahlen (i, ii, iii)", -DlgLstTypeLRoman : "Große römische Zahlen (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Allgemein", -DlgDocBackTab : "Hintergrund", -DlgDocColorsTab : "Farben und Abstände", -DlgDocMetaTab : "Metadaten", - -DlgDocPageTitle : "Seitentitel", -DlgDocLangDir : "Schriftrichtung", -DlgDocLangDirLTR : "Links nach Rechts", -DlgDocLangDirRTL : "Rechts nach Links", -DlgDocLangCode : "Sprachkürzel", -DlgDocCharSet : "Zeichenkodierung", -DlgDocCharSetCE : "Zentraleuropäisch", -DlgDocCharSetCT : "traditionell Chinesisch (Big5)", -DlgDocCharSetCR : "Kyrillisch", -DlgDocCharSetGR : "Griechisch", -DlgDocCharSetJP : "Japanisch", -DlgDocCharSetKR : "Koreanisch", -DlgDocCharSetTR : "Türkisch", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Westeuropäisch", -DlgDocCharSetOther : "Andere Zeichenkodierung", - -DlgDocDocType : "Dokumententyp", -DlgDocDocTypeOther : "Anderer Dokumententyp", -DlgDocIncXHTML : "Beziehe XHTML Deklarationen ein", -DlgDocBgColor : "Hintergrundfarbe", -DlgDocBgImage : "Hintergrundbild URL", -DlgDocBgNoScroll : "feststehender Hintergrund", -DlgDocCText : "Text", -DlgDocCLink : "Link", -DlgDocCVisited : "Besuchter Link", -DlgDocCActive : "Aktiver Link", -DlgDocMargins : "Seitenränder", -DlgDocMaTop : "Oben", -DlgDocMaLeft : "Links", -DlgDocMaRight : "Rechts", -DlgDocMaBottom : "Unten", -DlgDocMeIndex : "Schlüsselwörter (durch Komma getrennt)", -DlgDocMeDescr : "Dokument-Beschreibung", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Vorschau", - -// Templates Dialog -Templates : "Vorlagen", -DlgTemplatesTitle : "Vorlagen", -DlgTemplatesSelMsg : "Klicken Sie auf eine Vorlage, um sie im Editor zu öffnen (der aktuelle Inhalt wird dabei gelöscht!):", -DlgTemplatesLoading : "Liste der Vorlagen wird geladen. Bitte warten...", -DlgTemplatesNoTpl : "(keine Vorlagen definiert)", -DlgTemplatesReplace : "Aktuellen Inhalt ersetzen", - -// About Dialog -DlgAboutAboutTab : "Über", -DlgAboutBrowserInfoTab : "Browser-Info", -DlgAboutLicenseTab : "Lizenz", -DlgAboutVersion : "Version", -DlgAboutInfo : "Für weitere Informationen siehe", - -// Div Dialog -DlgDivGeneralTab : "Allgemein", -DlgDivAdvancedTab : "Erweitert", -DlgDivStyle : "Style", -DlgDivInlineStyle : "Inline Style" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/el.js b/modules/editor/skins/fckeditor/editor/lang/el.js deleted file mode 100644 index e62ded66b..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/el.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Greek language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Απόκρυψη Μπάρας Εργαλείων", -ToolbarExpand : "Εμφάνιση Μπάρας Εργαλείων", - -// Toolbar Items and Context Menu -Save : "Αποθήκευση", -NewPage : "Νέα Σελίδα", -Preview : "Προεπισκόπιση", -Cut : "Αποκοπή", -Copy : "Αντιγραφή", -Paste : "Επικόλληση", -PasteText : "Επικόλληση (απλό κείμενο)", -PasteWord : "Επικόλληση από το Word", -Print : "Εκτύπωση", -SelectAll : "Επιλογή όλων", -RemoveFormat : "Αφαίρεση Μορφοποίησης", -InsertLinkLbl : "Σύνδεσμος (Link)", -InsertLink : "Εισαγωγή/Μεταβολή Συνδέσμου (Link)", -RemoveLink : "Αφαίρεση Συνδέσμου (Link)", -VisitLink : "Open Link", //MISSING -Anchor : "Εισαγωγή/επεξεργασία Anchor", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Εικόνα", -InsertImage : "Εισαγωγή/Μεταβολή Εικόνας", -InsertFlashLbl : "Εισαγωγή Flash", -InsertFlash : "Εισαγωγή/επεξεργασία Flash", -InsertTableLbl : "Πίνακας", -InsertTable : "Εισαγωγή/Μεταβολή Πίνακα", -InsertLineLbl : "Γραμμή", -InsertLine : "Εισαγωγή Οριζόντιας Γραμμής", -InsertSpecialCharLbl: "Ειδικό Σύμβολο", -InsertSpecialChar : "Εισαγωγή Ειδικού Συμβόλου", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Εισαγωγή Smiley", -About : "Περί του FCKeditor", -Bold : "Έντονα", -Italic : "Πλάγια", -Underline : "Υπογράμμιση", -StrikeThrough : "Διαγράμμιση", -Subscript : "Δείκτης", -Superscript : "Εκθέτης", -LeftJustify : "Στοίχιση Αριστερά", -CenterJustify : "Στοίχιση στο Κέντρο", -RightJustify : "Στοίχιση Δεξιά", -BlockJustify : "Πλήρης Στοίχιση (Block)", -DecreaseIndent : "Μείωση Εσοχής", -IncreaseIndent : "Αύξηση Εσοχής", -Blockquote : "Blockquote", //MISSING -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "Αναίρεση", -Redo : "Επαναφορά", -NumberedListLbl : "Λίστα με Αριθμούς", -NumberedList : "Εισαγωγή/Διαγραφή Λίστας με Αριθμούς", -BulletedListLbl : "Λίστα με Bullets", -BulletedList : "Εισαγωγή/Διαγραφή Λίστας με Bullets", -ShowTableBorders : "Προβολή Ορίων Πίνακα", -ShowDetails : "Προβολή Λεπτομερειών", -Style : "Στυλ", -FontFormat : "Μορφή Γραμματοσειράς", -Font : "Γραμματοσειρά", -FontSize : "Μέγεθος", -TextColor : "Χρώμα Γραμμάτων", -BGColor : "Χρώμα Υποβάθρου", -Source : "HTML κώδικας", -Find : "Αναζήτηση", -Replace : "Αντικατάσταση", -SpellCheck : "Ορθογραφικός έλεγχος", -UniversalKeyboard : "Διεθνής πληκτρολόγιο", -PageBreakLbl : "Τέλος σελίδας", -PageBreak : "Εισαγωγή τέλους σελίδας", - -Form : "Φόρμα", -Checkbox : "Κουτί επιλογής", -RadioButton : "Κουμπί Radio", -TextField : "Πεδίο κειμένου", -Textarea : "Περιοχή κειμένου", -HiddenField : "Κρυφό πεδίο", -Button : "Κουμπί", -SelectionField : "Πεδίο επιλογής", -ImageButton : "Κουμπί εικόνας", - -FitWindow : "Μεγιστοποίηση προγράμματος", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Μεταβολή Συνδέσμου (Link)", -CellCM : "Κελί", -RowCM : "Σειρά", -ColumnCM : "Στήλη", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Διαγραφή Γραμμών", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Διαγραφή Κολωνών", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Διαγραφή Κελιών", -MergeCells : "Ενοποίηση Κελιών", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Διαγραφή πίνακα", -CellProperties : "Ιδιότητες Κελιού", -TableProperties : "Ιδιότητες Πίνακα", -ImageProperties : "Ιδιότητες Εικόνας", -FlashProperties : "Ιδιότητες Flash", - -AnchorProp : "Ιδιότητες άγκυρας", -ButtonProp : "Ιδιότητες κουμπιού", -CheckboxProp : "Ιδιότητες κουμπιού επιλογής", -HiddenFieldProp : "Ιδιότητες κρυφού πεδίου", -RadioButtonProp : "Ιδιότητες κουμπιού radio", -ImageButtonProp : "Ιδιότητες κουμπιού εικόνας", -TextFieldProp : "Ιδιότητες πεδίου κειμένου", -SelectionFieldProp : "Ιδιότητες πεδίου επιλογής", -TextareaProp : "Ιδιότητες περιοχής κειμένου", -FormProp : "Ιδιότητες φόρμας", - -FontFormats : "Κανονικό;Μορφοποιημένο;Διεύθυνση;Επικεφαλίδα 1;Επικεφαλίδα 2;Επικεφαλίδα 3;Επικεφαλίδα 4;Επικεφαλίδα 5;Επικεφαλίδα 6", - -// Alerts and Messages -ProcessingXHTML : "Επεξεργασία XHTML. Παρακαλώ περιμένετε...", -Done : "Έτοιμο", -PasteWordConfirm : "Το κείμενο που θέλετε να επικολήσετε, φαίνεται πως προέρχεται από το Word. Θέλετε να καθαριστεί πριν επικοληθεί;", -NotCompatiblePaste : "Αυτή η επιλογή είναι διαθέσιμη στον Internet Explorer έκδοση 5.5+. Θέλετε να γίνει η επικόλληση χωρίς καθαρισμό;", -UnknownToolbarItem : "Άγνωστο αντικείμενο της μπάρας εργαλείων \"%1\"", -UnknownCommand : "Άγνωστή εντολή \"%1\"", -NotImplemented : "Η εντολή δεν έχει ενεργοποιηθεί", -UnknownToolbarSet : "Η μπάρα εργαλείων \"%1\" δεν υπάρχει", -NoActiveX : "Οι ρυθμίσεις ασφαλείας του browser σας μπορεί να περιορίσουν κάποιες ρυθμίσεις του προγράμματος. Χρειάζεται να ενεργοποιήσετε την επιλογή \"Run ActiveX controls and plug-ins\". Ίσως παρουσιαστούν λάθη και παρατηρήσετε ελειπείς λειτουργίες.", -BrowseServerBlocked : "Οι πόροι του browser σας δεν είναι προσπελάσιμοι. Σιγουρευτείτε ότι δεν υπάρχουν ενεργοί popup blockers.", -DialogBlocked : "Δεν ήταν δυνατό να ανοίξει το παράθυρο διαλόγου. Σιγουρευτείτε ότι δεν υπάρχουν ενεργοί popup blockers.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Ακύρωση", -DlgBtnClose : "Κλείσιμο", -DlgBtnBrowseServer : "Εξερεύνηση διακομιστή", -DlgAdvancedTag : "Για προχωρημένους", -DlgOpOther : "<Άλλα>", -DlgInfoTab : "Πληροφορίες", -DlgAlertUrl : "Παρακαλώ εισάγετε URL", - -// General Dialogs Labels -DlgGenNotSet : "<χωρίς>", -DlgGenId : "Id", -DlgGenLangDir : "Κατεύθυνση κειμένου", -DlgGenLangDirLtr : "Αριστερά προς Δεξιά (LTR)", -DlgGenLangDirRtl : "Δεξιά προς Αριστερά (RTL)", -DlgGenLangCode : "Κωδικός Γλώσσας", -DlgGenAccessKey : "Συντόμευση (Access Key)", -DlgGenName : "Όνομα", -DlgGenTabIndex : "Tab Index", -DlgGenLongDescr : "Αναλυτική περιγραφή URL", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "Συμβουλευτικός τίτλος", -DlgGenContType : "Συμβουλευτικός τίτλος περιεχομένου", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Στύλ", - -// Image Dialog -DlgImgTitle : "Ιδιότητες Εικόνας", -DlgImgInfoTab : "Πληροφορίες Εικόνας", -DlgImgBtnUpload : "Αποστολή στον Διακομιστή", -DlgImgURL : "URL", -DlgImgUpload : "Αποστολή", -DlgImgAlt : "Εναλλακτικό Κείμενο (ALT)", -DlgImgWidth : "Πλάτος", -DlgImgHeight : "Ύψος", -DlgImgLockRatio : "Κλείδωμα Αναλογίας", -DlgBtnResetSize : "Επαναφορά Αρχικού Μεγέθους", -DlgImgBorder : "Περιθώριο", -DlgImgHSpace : "Οριζόντιος Χώρος (HSpace)", -DlgImgVSpace : "Κάθετος Χώρος (VSpace)", -DlgImgAlign : "Ευθυγράμμιση (Align)", -DlgImgAlignLeft : "Αριστερά", -DlgImgAlignAbsBottom: "Απόλυτα Κάτω (Abs Bottom)", -DlgImgAlignAbsMiddle: "Απόλυτα στη Μέση (Abs Middle)", -DlgImgAlignBaseline : "Γραμμή Βάσης (Baseline)", -DlgImgAlignBottom : "Κάτω (Bottom)", -DlgImgAlignMiddle : "Μέση (Middle)", -DlgImgAlignRight : "Δεξιά (Right)", -DlgImgAlignTextTop : "Κορυφή Κειμένου (Text Top)", -DlgImgAlignTop : "Πάνω (Top)", -DlgImgPreview : "Προεπισκόπιση", -DlgImgAlertUrl : "Εισάγετε την τοποθεσία (URL) της εικόνας", -DlgImgLinkTab : "Σύνδεσμος", - -// Flash Dialog -DlgFlashTitle : "Ιδιότητες flash", -DlgFlashChkPlay : "Αυτόματη έναρξη", -DlgFlashChkLoop : "Επανάληψη", -DlgFlashChkMenu : "Ενεργοποίηση Flash Menu", -DlgFlashScale : "Κλίμακα", -DlgFlashScaleAll : "Εμφάνιση όλων", -DlgFlashScaleNoBorder : "Χωρίς όρια", -DlgFlashScaleFit : "Ακριβής εφαρμογή", - -// Link Dialog -DlgLnkWindowTitle : "Σύνδεσμος (Link)", -DlgLnkInfoTab : "Link", -DlgLnkTargetTab : "Παράθυρο Στόχος (Target)", - -DlgLnkType : "Τύπος συνδέσμου (Link)", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Άγκυρα σε αυτή τη σελίδα", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Προτόκολο", -DlgLnkProtoOther : "<άλλο>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Επιλέξτε μια άγκυρα", -DlgLnkAnchorByName : "Βάσει του Ονόματος (Name) της άγκυρας", -DlgLnkAnchorById : "Βάσει του Element Id", -DlgLnkNoAnchors : "(Δεν υπάρχουν άγκυρες στο κείμενο)", -DlgLnkEMail : "Διεύθυνση Ηλεκτρονικού Ταχυδρομείου", -DlgLnkEMailSubject : "Θέμα Μηνύματος", -DlgLnkEMailBody : "Κείμενο Μηνύματος", -DlgLnkUpload : "Αποστολή", -DlgLnkBtnUpload : "Αποστολή στον Διακομιστή", - -DlgLnkTarget : "Παράθυρο Στόχος (Target)", -DlgLnkTargetFrame : "<πλαίσιο>", -DlgLnkTargetPopup : "<παράθυρο popup>", -DlgLnkTargetBlank : "Νέο Παράθυρο (_blank)", -DlgLnkTargetParent : "Γονικό Παράθυρο (_parent)", -DlgLnkTargetSelf : "Ίδιο Παράθυρο (_self)", -DlgLnkTargetTop : "Ανώτατο Παράθυρο (_top)", -DlgLnkTargetFrameName : "Όνομα πλαισίου στόχου", -DlgLnkPopWinName : "Όνομα Popup Window", -DlgLnkPopWinFeat : "Επιλογές Popup Window", -DlgLnkPopResize : "Με αλλαγή Μεγέθους", -DlgLnkPopLocation : "Μπάρα Τοποθεσίας", -DlgLnkPopMenu : "Μπάρα Menu", -DlgLnkPopScroll : "Μπάρες Κύλισης", -DlgLnkPopStatus : "Μπάρα Status", -DlgLnkPopToolbar : "Μπάρα Εργαλείων", -DlgLnkPopFullScrn : "Ολόκληρη η Οθόνη (IE)", -DlgLnkPopDependent : "Dependent (Netscape)", -DlgLnkPopWidth : "Πλάτος", -DlgLnkPopHeight : "Ύψος", -DlgLnkPopLeft : "Τοποθεσία Αριστερής Άκρης", -DlgLnkPopTop : "Τοποθεσία Πάνω Άκρης", - -DlnLnkMsgNoUrl : "Εισάγετε την τοποθεσία (URL) του υπερσυνδέσμου (Link)", -DlnLnkMsgNoEMail : "Εισάγετε την διεύθυνση ηλεκτρονικού ταχυδρομείου", -DlnLnkMsgNoAnchor : "Επιλέξτε ένα Anchor", -DlnLnkMsgInvPopName : "Το όνομα του popup πρέπει να αρχίζει με χαρακτήρα της αλφαβήτου και να μην περιέχει κενά", - -// Color Dialog -DlgColorTitle : "Επιλογή χρώματος", -DlgColorBtnClear : "Καθαρισμός", -DlgColorHighlight : "Προεπισκόπιση", -DlgColorSelected : "Επιλεγμένο", - -// Smiley Dialog -DlgSmileyTitle : "Επιλέξτε ένα Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Επιλέξτε ένα Ειδικό Σύμβολο", - -// Table Dialog -DlgTableTitle : "Ιδιότητες Πίνακα", -DlgTableRows : "Γραμμές", -DlgTableColumns : "Κολώνες", -DlgTableBorder : "Μέγεθος Περιθωρίου", -DlgTableAlign : "Στοίχιση", -DlgTableAlignNotSet : "<χωρίς>", -DlgTableAlignLeft : "Αριστερά", -DlgTableAlignCenter : "Κέντρο", -DlgTableAlignRight : "Δεξιά", -DlgTableWidth : "Πλάτος", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "\%", -DlgTableHeight : "Ύψος", -DlgTableCellSpace : "Απόσταση κελιών", -DlgTableCellPad : "Γέμισμα κελιών", -DlgTableCaption : "Υπέρτιτλος", -DlgTableSummary : "Περίληψη", - -// Table Cell Dialog -DlgCellTitle : "Ιδιότητες Κελιού", -DlgCellWidth : "Πλάτος", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "\%", -DlgCellHeight : "Ύψος", -DlgCellWordWrap : "Με αλλαγή γραμμής", -DlgCellWordWrapNotSet : "<χωρίς>", -DlgCellWordWrapYes : "Ναι", -DlgCellWordWrapNo : "Όχι", -DlgCellHorAlign : "Οριζόντια Στοίχιση", -DlgCellHorAlignNotSet : "<χωρίς>", -DlgCellHorAlignLeft : "Αριστερά", -DlgCellHorAlignCenter : "Κέντρο", -DlgCellHorAlignRight: "Δεξιά", -DlgCellVerAlign : "Κάθετη Στοίχιση", -DlgCellVerAlignNotSet : "<χωρίς>", -DlgCellVerAlignTop : "Πάνω (Top)", -DlgCellVerAlignMiddle : "Μέση (Middle)", -DlgCellVerAlignBottom : "Κάτω (Bottom)", -DlgCellVerAlignBaseline : "Γραμμή Βάσης (Baseline)", -DlgCellRowSpan : "Αριθμός Γραμμών (Rows Span)", -DlgCellCollSpan : "Αριθμός Κολωνών (Columns Span)", -DlgCellBackColor : "Χρώμα Υποβάθρου", -DlgCellBorderColor : "Χρώμα Περιθωρίου", -DlgCellBtnSelect : "Επιλογή...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Αναζήτηση", -DlgFindFindBtn : "Αναζήτηση", -DlgFindNotFoundMsg : "Το κείμενο δεν βρέθηκε.", - -// Replace Dialog -DlgReplaceTitle : "Αντικατάσταση", -DlgReplaceFindLbl : "Αναζήτηση:", -DlgReplaceReplaceLbl : "Αντικατάσταση με:", -DlgReplaceCaseChk : "Έλεγχος πεζών/κεφαλαίων", -DlgReplaceReplaceBtn : "Αντικατάσταση", -DlgReplaceReplAllBtn : "Αντικατάσταση Όλων", -DlgReplaceWordChk : "Εύρεση πλήρους λέξης", - -// Paste Operations / Dialog -PasteErrorCut : "Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αποκοπής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl+X).", -PasteErrorCopy : "Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αντιγραφής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl+C).", - -PasteAsText : "Επικόλληση ως Απλό Κείμενο", -PasteFromWord : "Επικόλληση από το Word", - -DlgPasteMsg2 : "Παρακαλώ επικολήστε στο ακόλουθο κουτί χρησιμοποιόντας το πληκτρολόγιο (Ctrl+V) και πατήστε OK.", -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING -DlgPasteIgnoreFont : "Αγνόηση προδιαγραφών γραμματοσειράς", -DlgPasteRemoveStyles : "Αφαίρεση προδιαγραφών στύλ", - -// Color Picker -ColorAutomatic : "Αυτόματο", -ColorMoreColors : "Περισσότερα χρώματα...", - -// Document Properties -DocProps : "Ιδιότητες εγγράφου", - -// Anchor Dialog -DlgAnchorTitle : "Ιδιότητες άγκυρας", -DlgAnchorName : "Όνομα άγκυρας", -DlgAnchorErrorName : "Παρακαλούμε εισάγετε όνομα άγκυρας", - -// Speller Pages Dialog -DlgSpellNotInDic : "Δεν υπάρχει στο λεξικό", -DlgSpellChangeTo : "Αλλαγή σε", -DlgSpellBtnIgnore : "Αγνόηση", -DlgSpellBtnIgnoreAll : "Αγνόηση όλων", -DlgSpellBtnReplace : "Αντικατάσταση", -DlgSpellBtnReplaceAll : "Αντικατάσταση όλων", -DlgSpellBtnUndo : "Αναίρεση", -DlgSpellNoSuggestions : "- Δεν υπάρχουν προτάσεις -", -DlgSpellProgress : "Ορθογραφικός έλεγχος σε εξέλιξη...", -DlgSpellNoMispell : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν βρέθηκαν λάθη", -DlgSpellNoChanges : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν άλλαξαν λέξεις", -DlgSpellOneChange : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Μια λέξη άλλαξε", -DlgSpellManyChanges : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: %1 λέξεις άλλαξαν", - -IeSpellDownload : "Δεν υπάρχει εγκατεστημένος ορθογράφος. Θέλετε να τον κατεβάσετε τώρα;", - -// Button Dialog -DlgButtonText : "Κείμενο (Τιμή)", -DlgButtonType : "Τύπος", -DlgButtonTypeBtn : "Κουμπί", -DlgButtonTypeSbm : "Καταχώρηση", -DlgButtonTypeRst : "Επαναφορά", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Όνομα", -DlgCheckboxValue : "Τιμή", -DlgCheckboxSelected : "Επιλεγμένο", - -// Form Dialog -DlgFormName : "Όνομα", -DlgFormAction : "Δράση", -DlgFormMethod : "Μάθοδος", - -// Select Field Dialog -DlgSelectName : "Όνομα", -DlgSelectValue : "Τιμή", -DlgSelectSize : "Μέγεθος", -DlgSelectLines : "γραμμές", -DlgSelectChkMulti : "Πολλαπλές επιλογές", -DlgSelectOpAvail : "Διαθέσιμες επιλογές", -DlgSelectOpText : "Κείμενο", -DlgSelectOpValue : "Τιμή", -DlgSelectBtnAdd : "Προσθήκη", -DlgSelectBtnModify : "Αλλαγή", -DlgSelectBtnUp : "Πάνω", -DlgSelectBtnDown : "Κάτω", -DlgSelectBtnSetValue : "Προεπιλεγμένη επιλογή", -DlgSelectBtnDelete : "Διαγραφή", - -// Textarea Dialog -DlgTextareaName : "Όνομα", -DlgTextareaCols : "Στήλες", -DlgTextareaRows : "Σειρές", - -// Text Field Dialog -DlgTextName : "Όνομα", -DlgTextValue : "Τιμή", -DlgTextCharWidth : "Μήκος χαρακτήρων", -DlgTextMaxChars : "Μέγιστοι χαρακτήρες", -DlgTextType : "Τύπος", -DlgTextTypeText : "Κείμενο", -DlgTextTypePass : "Κωδικός", - -// Hidden Field Dialog -DlgHiddenName : "Όνομα", -DlgHiddenValue : "Τιμή", - -// Bulleted List Dialog -BulletedListProp : "Ιδιότητες λίστας Bulleted", -NumberedListProp : "Ιδιότητες αριθμημένης λίστας ", -DlgLstStart : "Αρχή", -DlgLstType : "Τύπος", -DlgLstTypeCircle : "Κύκλος", -DlgLstTypeDisc : "Δίσκος", -DlgLstTypeSquare : "Τετράγωνο", -DlgLstTypeNumbers : "Αριθμοί (1, 2, 3)", -DlgLstTypeLCase : "Πεζά γράμματα (a, b, c)", -DlgLstTypeUCase : "Κεφαλαία γράμματα (A, B, C)", -DlgLstTypeSRoman : "Μικρά λατινικά αριθμητικά (i, ii, iii)", -DlgLstTypeLRoman : "Μεγάλα λατινικά αριθμητικά (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Γενικά", -DlgDocBackTab : "Φόντο", -DlgDocColorsTab : "Χρώματα και περιθώρια", -DlgDocMetaTab : "Δεδομένα Meta", - -DlgDocPageTitle : "Τίτλος σελίδας", -DlgDocLangDir : "Κατεύθυνση γραφής", -DlgDocLangDirLTR : "αριστερά προς δεξιά (LTR)", -DlgDocLangDirRTL : "δεξιά προς αριστερά (RTL)", -DlgDocLangCode : "Κωδικός γλώσσας", -DlgDocCharSet : "Κωδικοποίηση χαρακτήρων", -DlgDocCharSetCE : "Κεντρικής Ευρώπης", -DlgDocCharSetCT : "Παραδοσιακά κινέζικα (Big5)", -DlgDocCharSetCR : "Κυριλλική", -DlgDocCharSetGR : "Ελληνική", -DlgDocCharSetJP : "Ιαπωνική", -DlgDocCharSetKR : "Κορεάτικη", -DlgDocCharSetTR : "Τουρκική", -DlgDocCharSetUN : "Διεθνής (UTF-8)", -DlgDocCharSetWE : "Δυτικής Ευρώπης", -DlgDocCharSetOther : "Άλλη κωδικοποίηση χαρακτήρων", - -DlgDocDocType : "Επικεφαλίδα τύπου εγγράφου", -DlgDocDocTypeOther : "Άλλη επικεφαλίδα τύπου εγγράφου", -DlgDocIncXHTML : "Να συμπεριληφθούν οι δηλώσεις XHTML", -DlgDocBgColor : "Χρώμα φόντου", -DlgDocBgImage : "Διεύθυνση εικόνας φόντου", -DlgDocBgNoScroll : "Φόντο χωρίς κύλιση", -DlgDocCText : "Κείμενο", -DlgDocCLink : "Σύνδεσμος", -DlgDocCVisited : "Σύνδεσμος που έχει επισκευθεί", -DlgDocCActive : "Ενεργός σύνδεσμος", -DlgDocMargins : "Περιθώρια σελίδας", -DlgDocMaTop : "Κορυφή", -DlgDocMaLeft : "Αριστερά", -DlgDocMaRight : "Δεξιά", -DlgDocMaBottom : "Κάτω", -DlgDocMeIndex : "Λέξεις κλειδιά δείκτες εγγράφου (διαχωρισμός με κόμμα)", -DlgDocMeDescr : "Περιγραφή εγγράφου", -DlgDocMeAuthor : "Συγγραφέας", -DlgDocMeCopy : "Πνευματικά δικαιώματα", -DlgDocPreview : "Προεπισκόπηση", - -// Templates Dialog -Templates : "Πρότυπα", -DlgTemplatesTitle : "Πρότυπα περιεχομένου", -DlgTemplatesSelMsg : "Παρακαλώ επιλέξτε πρότυπο για εισαγωγή στο πρόγραμμα
    (τα υπάρχοντα περιεχόμενα θα χαθούν):", -DlgTemplatesLoading : "Φόρτωση καταλόγου προτύπων. Παρακαλώ περιμένετε...", -DlgTemplatesNoTpl : "(Δεν έχουν καθοριστεί πρότυπα)", -DlgTemplatesReplace : "Αντικατάσταση υπάρχοντων περιεχομένων", - -// About Dialog -DlgAboutAboutTab : "Σχετικά", -DlgAboutBrowserInfoTab : "Πληροφορίες Browser", -DlgAboutLicenseTab : "Άδεια", -DlgAboutVersion : "έκδοση", -DlgAboutInfo : "Για περισσότερες πληροφορίες", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/en-au.js b/modules/editor/skins/fckeditor/editor/lang/en-au.js deleted file mode 100644 index 5ea421ef1..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/en-au.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * English (Australia) language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Collapse Toolbar", -ToolbarExpand : "Expand Toolbar", - -// Toolbar Items and Context Menu -Save : "Save", -NewPage : "New Page", -Preview : "Preview", -Cut : "Cut", -Copy : "Copy", -Paste : "Paste", -PasteText : "Paste as plain text", -PasteWord : "Paste from Word", -Print : "Print", -SelectAll : "Select All", -RemoveFormat : "Remove Format", -InsertLinkLbl : "Link", -InsertLink : "Insert/Edit Link", -RemoveLink : "Remove Link", -VisitLink : "Open Link", -Anchor : "Insert/Edit Anchor", -AnchorDelete : "Remove Anchor", -InsertImageLbl : "Image", -InsertImage : "Insert/Edit Image", -InsertFlashLbl : "Flash", -InsertFlash : "Insert/Edit Flash", -InsertTableLbl : "Table", -InsertTable : "Insert/Edit Table", -InsertLineLbl : "Line", -InsertLine : "Insert Horizontal Line", -InsertSpecialCharLbl: "Special Character", -InsertSpecialChar : "Insert Special Character", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Insert Smiley", -About : "About FCKeditor", -Bold : "Bold", -Italic : "Italic", -Underline : "Underline", -StrikeThrough : "Strike Through", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Left Justify", -CenterJustify : "Centre Justify", -RightJustify : "Right Justify", -BlockJustify : "Block Justify", -DecreaseIndent : "Decrease Indent", -IncreaseIndent : "Increase Indent", -Blockquote : "Blockquote", -CreateDiv : "Create Div Container", -EditDiv : "Edit Div Container", -DeleteDiv : "Remove Div Container", -Undo : "Undo", -Redo : "Redo", -NumberedListLbl : "Numbered List", -NumberedList : "Insert/Remove Numbered List", -BulletedListLbl : "Bulleted List", -BulletedList : "Insert/Remove Bulleted List", -ShowTableBorders : "Show Table Borders", -ShowDetails : "Show Details", -Style : "Style", -FontFormat : "Format", -Font : "Font", -FontSize : "Size", -TextColor : "Text Colour", -BGColor : "Background Colour", -Source : "Source", -Find : "Find", -Replace : "Replace", -SpellCheck : "Check Spelling", -UniversalKeyboard : "Universal Keyboard", -PageBreakLbl : "Page Break", -PageBreak : "Insert Page Break", - -Form : "Form", -Checkbox : "Checkbox", -RadioButton : "Radio Button", -TextField : "Text Field", -Textarea : "Textarea", -HiddenField : "Hidden Field", -Button : "Button", -SelectionField : "Selection Field", -ImageButton : "Image Button", - -FitWindow : "Maximize the editor size", -ShowBlocks : "Show Blocks", - -// Context Menu -EditLink : "Edit Link", -CellCM : "Cell", -RowCM : "Row", -ColumnCM : "Column", -InsertRowAfter : "Insert Row After", -InsertRowBefore : "Insert Row Before", -DeleteRows : "Delete Rows", -InsertColumnAfter : "Insert Column After", -InsertColumnBefore : "Insert Column Before", -DeleteColumns : "Delete Columns", -InsertCellAfter : "Insert Cell After", -InsertCellBefore : "Insert Cell Before", -DeleteCells : "Delete Cells", -MergeCells : "Merge Cells", -MergeRight : "Merge Right", -MergeDown : "Merge Down", -HorizontalSplitCell : "Split Cell Horizontally", -VerticalSplitCell : "Split Cell Vertically", -TableDelete : "Delete Table", -CellProperties : "Cell Properties", -TableProperties : "Table Properties", -ImageProperties : "Image Properties", -FlashProperties : "Flash Properties", - -AnchorProp : "Anchor Properties", -ButtonProp : "Button Properties", -CheckboxProp : "Checkbox Properties", -HiddenFieldProp : "Hidden Field Properties", -RadioButtonProp : "Radio Button Properties", -ImageButtonProp : "Image Button Properties", -TextFieldProp : "Text Field Properties", -SelectionFieldProp : "Selection Field Properties", -TextareaProp : "Textarea Properties", -FormProp : "Form Properties", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Processing XHTML. Please wait...", -Done : "Done", -PasteWordConfirm : "The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?", -NotCompatiblePaste : "This command is available for Internet Explorer version 5.5 or more. Do you want to paste without cleaning?", -UnknownToolbarItem : "Unknown toolbar item \"%1\"", -UnknownCommand : "Unknown command name \"%1\"", -NotImplemented : "Command not implemented", -UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancel", -DlgBtnClose : "Close", -DlgBtnBrowseServer : "Browse Server", -DlgAdvancedTag : "Advanced", -DlgOpOther : "", -DlgInfoTab : "Info", -DlgAlertUrl : "Please insert the URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Language Direction", -DlgGenLangDirLtr : "Left to Right (LTR)", -DlgGenLangDirRtl : "Right to Left (RTL)", -DlgGenLangCode : "Language Code", -DlgGenAccessKey : "Access Key", -DlgGenName : "Name", -DlgGenTabIndex : "Tab Index", -DlgGenLongDescr : "Long Description URL", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Image Properties", -DlgImgInfoTab : "Image Info", -DlgImgBtnUpload : "Send it to the Server", -DlgImgURL : "URL", -DlgImgUpload : "Upload", -DlgImgAlt : "Alternative Text", -DlgImgWidth : "Width", -DlgImgHeight : "Height", -DlgImgLockRatio : "Lock Ratio", -DlgBtnResetSize : "Reset Size", -DlgImgBorder : "Border", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Align", -DlgImgAlignLeft : "Left", -DlgImgAlignAbsBottom: "Abs Bottom", -DlgImgAlignAbsMiddle: "Abs Middle", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Bottom", -DlgImgAlignMiddle : "Middle", -DlgImgAlignRight : "Right", -DlgImgAlignTextTop : "Text Top", -DlgImgAlignTop : "Top", -DlgImgPreview : "Preview", -DlgImgAlertUrl : "Please type the image URL", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash Properties", -DlgFlashChkPlay : "Auto Play", -DlgFlashChkLoop : "Loop", -DlgFlashChkMenu : "Enable Flash Menu", -DlgFlashScale : "Scale", -DlgFlashScaleAll : "Show all", -DlgFlashScaleNoBorder : "No Border", -DlgFlashScaleFit : "Exact Fit", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link Info", -DlgLnkTargetTab : "Target", - -DlgLnkType : "Link Type", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Link to anchor in the text", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocol", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Select an Anchor", -DlgLnkAnchorByName : "By Anchor Name", -DlgLnkAnchorById : "By Element Id", -DlgLnkNoAnchors : "(No anchors available in the document)", -DlgLnkEMail : "E-Mail Address", -DlgLnkEMailSubject : "Message Subject", -DlgLnkEMailBody : "Message Body", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Send it to the Server", - -DlgLnkTarget : "Target", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "New Window (_blank)", -DlgLnkTargetParent : "Parent Window (_parent)", -DlgLnkTargetSelf : "Same Window (_self)", -DlgLnkTargetTop : "Topmost Window (_top)", -DlgLnkTargetFrameName : "Target Frame Name", -DlgLnkPopWinName : "Popup Window Name", -DlgLnkPopWinFeat : "Popup Window Features", -DlgLnkPopResize : "Resizable", -DlgLnkPopLocation : "Location Bar", -DlgLnkPopMenu : "Menu Bar", -DlgLnkPopScroll : "Scroll Bars", -DlgLnkPopStatus : "Status Bar", -DlgLnkPopToolbar : "Toolbar", -DlgLnkPopFullScrn : "Full Screen (IE)", -DlgLnkPopDependent : "Dependent (Netscape)", -DlgLnkPopWidth : "Width", -DlgLnkPopHeight : "Height", -DlgLnkPopLeft : "Left Position", -DlgLnkPopTop : "Top Position", - -DlnLnkMsgNoUrl : "Please type the link URL", -DlnLnkMsgNoEMail : "Please type the e-mail address", -DlnLnkMsgNoAnchor : "Please select an anchor", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", - -// Color Dialog -DlgColorTitle : "Select Colour", -DlgColorBtnClear : "Clear", -DlgColorHighlight : "Highlight", -DlgColorSelected : "Selected", - -// Smiley Dialog -DlgSmileyTitle : "Insert a Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Select Special Character", - -// Table Dialog -DlgTableTitle : "Table Properties", -DlgTableRows : "Rows", -DlgTableColumns : "Columns", -DlgTableBorder : "Border size", -DlgTableAlign : "Alignment", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Left", -DlgTableAlignCenter : "Centre", -DlgTableAlignRight : "Right", -DlgTableWidth : "Width", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "percent", -DlgTableHeight : "Height", -DlgTableCellSpace : "Cell spacing", -DlgTableCellPad : "Cell padding", -DlgTableCaption : "Caption", -DlgTableSummary : "Summary", - -// Table Cell Dialog -DlgCellTitle : "Cell Properties", -DlgCellWidth : "Width", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "percent", -DlgCellHeight : "Height", -DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Yes", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Left", -DlgCellHorAlignCenter : "Centre", -DlgCellHorAlignRight: "Right", -DlgCellVerAlign : "Vertical Alignment", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Top", -DlgCellVerAlignMiddle : "Middle", -DlgCellVerAlignBottom : "Bottom", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Rows Span", -DlgCellCollSpan : "Columns Span", -DlgCellBackColor : "Background Colour", -DlgCellBorderColor : "Border Colour", -DlgCellBtnSelect : "Select...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", - -// Find Dialog -DlgFindTitle : "Find", -DlgFindFindBtn : "Find", -DlgFindNotFoundMsg : "The specified text was not found.", - -// Replace Dialog -DlgReplaceTitle : "Replace", -DlgReplaceFindLbl : "Find what:", -DlgReplaceReplaceLbl : "Replace with:", -DlgReplaceCaseChk : "Match case", -DlgReplaceReplaceBtn : "Replace", -DlgReplaceReplAllBtn : "Replace All", -DlgReplaceWordChk : "Match whole word", - -// Paste Operations / Dialog -PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).", -PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).", - -PasteAsText : "Paste as Plain Text", -PasteFromWord : "Paste from Word", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", -DlgPasteIgnoreFont : "Ignore Font Face definitions", -DlgPasteRemoveStyles : "Remove Styles definitions", - -// Color Picker -ColorAutomatic : "Automatic", -ColorMoreColors : "More Colours...", - -// Document Properties -DocProps : "Document Properties", - -// Anchor Dialog -DlgAnchorTitle : "Anchor Properties", -DlgAnchorName : "Anchor Name", -DlgAnchorErrorName : "Please type the anchor name", - -// Speller Pages Dialog -DlgSpellNotInDic : "Not in dictionary", -DlgSpellChangeTo : "Change to", -DlgSpellBtnIgnore : "Ignore", -DlgSpellBtnIgnoreAll : "Ignore All", -DlgSpellBtnReplace : "Replace", -DlgSpellBtnReplaceAll : "Replace All", -DlgSpellBtnUndo : "Undo", -DlgSpellNoSuggestions : "- No suggestions -", -DlgSpellProgress : "Spell check in progress...", -DlgSpellNoMispell : "Spell check complete: No misspellings found", -DlgSpellNoChanges : "Spell check complete: No words changed", -DlgSpellOneChange : "Spell check complete: One word changed", -DlgSpellManyChanges : "Spell check complete: %1 words changed", - -IeSpellDownload : "Spell checker not installed. Do you want to download it now?", - -// Button Dialog -DlgButtonText : "Text (Value)", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Button", -DlgButtonTypeSbm : "Submit", -DlgButtonTypeRst : "Reset", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", -DlgCheckboxValue : "Value", -DlgCheckboxSelected : "Selected", - -// Form Dialog -DlgFormName : "Name", -DlgFormAction : "Action", -DlgFormMethod : "Method", - -// Select Field Dialog -DlgSelectName : "Name", -DlgSelectValue : "Value", -DlgSelectSize : "Size", -DlgSelectLines : "lines", -DlgSelectChkMulti : "Allow multiple selections", -DlgSelectOpAvail : "Available Options", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Value", -DlgSelectBtnAdd : "Add", -DlgSelectBtnModify : "Modify", -DlgSelectBtnUp : "Up", -DlgSelectBtnDown : "Down", -DlgSelectBtnSetValue : "Set as selected value", -DlgSelectBtnDelete : "Delete", - -// Textarea Dialog -DlgTextareaName : "Name", -DlgTextareaCols : "Columns", -DlgTextareaRows : "Rows", - -// Text Field Dialog -DlgTextName : "Name", -DlgTextValue : "Value", -DlgTextCharWidth : "Character Width", -DlgTextMaxChars : "Maximum Characters", -DlgTextType : "Type", -DlgTextTypeText : "Text", -DlgTextTypePass : "Password", - -// Hidden Field Dialog -DlgHiddenName : "Name", -DlgHiddenValue : "Value", - -// Bulleted List Dialog -BulletedListProp : "Bulleted List Properties", -NumberedListProp : "Numbered List Properties", -DlgLstStart : "Start", -DlgLstType : "Type", -DlgLstTypeCircle : "Circle", -DlgLstTypeDisc : "Disc", -DlgLstTypeSquare : "Square", -DlgLstTypeNumbers : "Numbers (1, 2, 3)", -DlgLstTypeLCase : "Lowercase Letters (a, b, c)", -DlgLstTypeUCase : "Uppercase Letters (A, B, C)", -DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", -DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "General", -DlgDocBackTab : "Background", -DlgDocColorsTab : "Colours and Margins", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Page Title", -DlgDocLangDir : "Language Direction", -DlgDocLangDirLTR : "Left to Right (LTR)", -DlgDocLangDirRTL : "Right to Left (RTL)", -DlgDocLangCode : "Language Code", -DlgDocCharSet : "Character Set Encoding", -DlgDocCharSetCE : "Central European", -DlgDocCharSetCT : "Chinese Traditional (Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Greek", -DlgDocCharSetJP : "Japanese", -DlgDocCharSetKR : "Korean", -DlgDocCharSetTR : "Turkish", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Western European", -DlgDocCharSetOther : "Other Character Set Encoding", - -DlgDocDocType : "Document Type Heading", -DlgDocDocTypeOther : "Other Document Type Heading", -DlgDocIncXHTML : "Include XHTML Declarations", -DlgDocBgColor : "Background Colour", -DlgDocBgImage : "Background Image URL", -DlgDocBgNoScroll : "Nonscrolling Background", -DlgDocCText : "Text", -DlgDocCLink : "Link", -DlgDocCVisited : "Visited Link", -DlgDocCActive : "Active Link", -DlgDocMargins : "Page Margins", -DlgDocMaTop : "Top", -DlgDocMaLeft : "Left", -DlgDocMaRight : "Right", -DlgDocMaBottom : "Bottom", -DlgDocMeIndex : "Document Indexing Keywords (comma separated)", -DlgDocMeDescr : "Document Description", -DlgDocMeAuthor : "Author", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Preview", - -// Templates Dialog -Templates : "Templates", -DlgTemplatesTitle : "Content Templates", -DlgTemplatesSelMsg : "Please select the template to open in the editor
    (the actual contents will be lost):", -DlgTemplatesLoading : "Loading templates list. Please wait...", -DlgTemplatesNoTpl : "(No templates defined)", -DlgTemplatesReplace : "Replace actual contents", - -// About Dialog -DlgAboutAboutTab : "About", -DlgAboutBrowserInfoTab : "Browser Info", -DlgAboutLicenseTab : "License", -DlgAboutVersion : "version", -DlgAboutInfo : "For further information go to", - -// Div Dialog -DlgDivGeneralTab : "General", -DlgDivAdvancedTab : "Advanced", -DlgDivStyle : "Style", -DlgDivInlineStyle : "Inline Style" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/en-ca.js b/modules/editor/skins/fckeditor/editor/lang/en-ca.js deleted file mode 100644 index b192385e3..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/en-ca.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * English (Canadian) language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Collapse Toolbar", -ToolbarExpand : "Expand Toolbar", - -// Toolbar Items and Context Menu -Save : "Save", -NewPage : "New Page", -Preview : "Preview", -Cut : "Cut", -Copy : "Copy", -Paste : "Paste", -PasteText : "Paste as plain text", -PasteWord : "Paste from Word", -Print : "Print", -SelectAll : "Select All", -RemoveFormat : "Remove Format", -InsertLinkLbl : "Link", -InsertLink : "Insert/Edit Link", -RemoveLink : "Remove Link", -VisitLink : "Open Link", -Anchor : "Insert/Edit Anchor", -AnchorDelete : "Remove Anchor", -InsertImageLbl : "Image", -InsertImage : "Insert/Edit Image", -InsertFlashLbl : "Flash", -InsertFlash : "Insert/Edit Flash", -InsertTableLbl : "Table", -InsertTable : "Insert/Edit Table", -InsertLineLbl : "Line", -InsertLine : "Insert Horizontal Line", -InsertSpecialCharLbl: "Special Character", -InsertSpecialChar : "Insert Special Character", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Insert Smiley", -About : "About FCKeditor", -Bold : "Bold", -Italic : "Italic", -Underline : "Underline", -StrikeThrough : "Strike Through", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Left Justify", -CenterJustify : "Centre Justify", -RightJustify : "Right Justify", -BlockJustify : "Block Justify", -DecreaseIndent : "Decrease Indent", -IncreaseIndent : "Increase Indent", -Blockquote : "Blockquote", -CreateDiv : "Create Div Container", -EditDiv : "Edit Div Container", -DeleteDiv : "Remove Div Container", -Undo : "Undo", -Redo : "Redo", -NumberedListLbl : "Numbered List", -NumberedList : "Insert/Remove Numbered List", -BulletedListLbl : "Bulleted List", -BulletedList : "Insert/Remove Bulleted List", -ShowTableBorders : "Show Table Borders", -ShowDetails : "Show Details", -Style : "Style", -FontFormat : "Format", -Font : "Font", -FontSize : "Size", -TextColor : "Text Colour", -BGColor : "Background Colour", -Source : "Source", -Find : "Find", -Replace : "Replace", -SpellCheck : "Check Spelling", -UniversalKeyboard : "Universal Keyboard", -PageBreakLbl : "Page Break", -PageBreak : "Insert Page Break", - -Form : "Form", -Checkbox : "Checkbox", -RadioButton : "Radio Button", -TextField : "Text Field", -Textarea : "Textarea", -HiddenField : "Hidden Field", -Button : "Button", -SelectionField : "Selection Field", -ImageButton : "Image Button", - -FitWindow : "Maximize the editor size", -ShowBlocks : "Show Blocks", - -// Context Menu -EditLink : "Edit Link", -CellCM : "Cell", -RowCM : "Row", -ColumnCM : "Column", -InsertRowAfter : "Insert Row After", -InsertRowBefore : "Insert Row Before", -DeleteRows : "Delete Rows", -InsertColumnAfter : "Insert Column After", -InsertColumnBefore : "Insert Column Before", -DeleteColumns : "Delete Columns", -InsertCellAfter : "Insert Cell After", -InsertCellBefore : "Insert Cell Before", -DeleteCells : "Delete Cells", -MergeCells : "Merge Cells", -MergeRight : "Merge Right", -MergeDown : "Merge Down", -HorizontalSplitCell : "Split Cell Horizontally", -VerticalSplitCell : "Split Cell Vertically", -TableDelete : "Delete Table", -CellProperties : "Cell Properties", -TableProperties : "Table Properties", -ImageProperties : "Image Properties", -FlashProperties : "Flash Properties", - -AnchorProp : "Anchor Properties", -ButtonProp : "Button Properties", -CheckboxProp : "Checkbox Properties", -HiddenFieldProp : "Hidden Field Properties", -RadioButtonProp : "Radio Button Properties", -ImageButtonProp : "Image Button Properties", -TextFieldProp : "Text Field Properties", -SelectionFieldProp : "Selection Field Properties", -TextareaProp : "Textarea Properties", -FormProp : "Form Properties", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Processing XHTML. Please wait...", -Done : "Done", -PasteWordConfirm : "The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?", -NotCompatiblePaste : "This command is available for Internet Explorer version 5.5 or more. Do you want to paste without cleaning?", -UnknownToolbarItem : "Unknown toolbar item \"%1\"", -UnknownCommand : "Unknown command name \"%1\"", -NotImplemented : "Command not implemented", -UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancel", -DlgBtnClose : "Close", -DlgBtnBrowseServer : "Browse Server", -DlgAdvancedTag : "Advanced", -DlgOpOther : "", -DlgInfoTab : "Info", -DlgAlertUrl : "Please insert the URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Language Direction", -DlgGenLangDirLtr : "Left to Right (LTR)", -DlgGenLangDirRtl : "Right to Left (RTL)", -DlgGenLangCode : "Language Code", -DlgGenAccessKey : "Access Key", -DlgGenName : "Name", -DlgGenTabIndex : "Tab Index", -DlgGenLongDescr : "Long Description URL", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Image Properties", -DlgImgInfoTab : "Image Info", -DlgImgBtnUpload : "Send it to the Server", -DlgImgURL : "URL", -DlgImgUpload : "Upload", -DlgImgAlt : "Alternative Text", -DlgImgWidth : "Width", -DlgImgHeight : "Height", -DlgImgLockRatio : "Lock Ratio", -DlgBtnResetSize : "Reset Size", -DlgImgBorder : "Border", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Align", -DlgImgAlignLeft : "Left", -DlgImgAlignAbsBottom: "Abs Bottom", -DlgImgAlignAbsMiddle: "Abs Middle", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Bottom", -DlgImgAlignMiddle : "Middle", -DlgImgAlignRight : "Right", -DlgImgAlignTextTop : "Text Top", -DlgImgAlignTop : "Top", -DlgImgPreview : "Preview", -DlgImgAlertUrl : "Please type the image URL", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash Properties", -DlgFlashChkPlay : "Auto Play", -DlgFlashChkLoop : "Loop", -DlgFlashChkMenu : "Enable Flash Menu", -DlgFlashScale : "Scale", -DlgFlashScaleAll : "Show all", -DlgFlashScaleNoBorder : "No Border", -DlgFlashScaleFit : "Exact Fit", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link Info", -DlgLnkTargetTab : "Target", - -DlgLnkType : "Link Type", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Link to anchor in the text", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocol", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Select an Anchor", -DlgLnkAnchorByName : "By Anchor Name", -DlgLnkAnchorById : "By Element Id", -DlgLnkNoAnchors : "(No anchors available in the document)", -DlgLnkEMail : "E-Mail Address", -DlgLnkEMailSubject : "Message Subject", -DlgLnkEMailBody : "Message Body", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Send it to the Server", - -DlgLnkTarget : "Target", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "New Window (_blank)", -DlgLnkTargetParent : "Parent Window (_parent)", -DlgLnkTargetSelf : "Same Window (_self)", -DlgLnkTargetTop : "Topmost Window (_top)", -DlgLnkTargetFrameName : "Target Frame Name", -DlgLnkPopWinName : "Popup Window Name", -DlgLnkPopWinFeat : "Popup Window Features", -DlgLnkPopResize : "Resizable", -DlgLnkPopLocation : "Location Bar", -DlgLnkPopMenu : "Menu Bar", -DlgLnkPopScroll : "Scroll Bars", -DlgLnkPopStatus : "Status Bar", -DlgLnkPopToolbar : "Toolbar", -DlgLnkPopFullScrn : "Full Screen (IE)", -DlgLnkPopDependent : "Dependent (Netscape)", -DlgLnkPopWidth : "Width", -DlgLnkPopHeight : "Height", -DlgLnkPopLeft : "Left Position", -DlgLnkPopTop : "Top Position", - -DlnLnkMsgNoUrl : "Please type the link URL", -DlnLnkMsgNoEMail : "Please type the e-mail address", -DlnLnkMsgNoAnchor : "Please select an anchor", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", - -// Color Dialog -DlgColorTitle : "Select Colour", -DlgColorBtnClear : "Clear", -DlgColorHighlight : "Highlight", -DlgColorSelected : "Selected", - -// Smiley Dialog -DlgSmileyTitle : "Insert a Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Select Special Character", - -// Table Dialog -DlgTableTitle : "Table Properties", -DlgTableRows : "Rows", -DlgTableColumns : "Columns", -DlgTableBorder : "Border size", -DlgTableAlign : "Alignment", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Left", -DlgTableAlignCenter : "Centre", -DlgTableAlignRight : "Right", -DlgTableWidth : "Width", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "percent", -DlgTableHeight : "Height", -DlgTableCellSpace : "Cell spacing", -DlgTableCellPad : "Cell padding", -DlgTableCaption : "Caption", -DlgTableSummary : "Summary", - -// Table Cell Dialog -DlgCellTitle : "Cell Properties", -DlgCellWidth : "Width", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "percent", -DlgCellHeight : "Height", -DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Yes", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Left", -DlgCellHorAlignCenter : "Centre", -DlgCellHorAlignRight: "Right", -DlgCellVerAlign : "Vertical Alignment", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Top", -DlgCellVerAlignMiddle : "Middle", -DlgCellVerAlignBottom : "Bottom", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Rows Span", -DlgCellCollSpan : "Columns Span", -DlgCellBackColor : "Background Colour", -DlgCellBorderColor : "Border Colour", -DlgCellBtnSelect : "Select...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", - -// Find Dialog -DlgFindTitle : "Find", -DlgFindFindBtn : "Find", -DlgFindNotFoundMsg : "The specified text was not found.", - -// Replace Dialog -DlgReplaceTitle : "Replace", -DlgReplaceFindLbl : "Find what:", -DlgReplaceReplaceLbl : "Replace with:", -DlgReplaceCaseChk : "Match case", -DlgReplaceReplaceBtn : "Replace", -DlgReplaceReplAllBtn : "Replace All", -DlgReplaceWordChk : "Match whole word", - -// Paste Operations / Dialog -PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).", -PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).", - -PasteAsText : "Paste as Plain Text", -PasteFromWord : "Paste from Word", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", -DlgPasteIgnoreFont : "Ignore Font Face definitions", -DlgPasteRemoveStyles : "Remove Styles definitions", - -// Color Picker -ColorAutomatic : "Automatic", -ColorMoreColors : "More Colours...", - -// Document Properties -DocProps : "Document Properties", - -// Anchor Dialog -DlgAnchorTitle : "Anchor Properties", -DlgAnchorName : "Anchor Name", -DlgAnchorErrorName : "Please type the anchor name", - -// Speller Pages Dialog -DlgSpellNotInDic : "Not in dictionary", -DlgSpellChangeTo : "Change to", -DlgSpellBtnIgnore : "Ignore", -DlgSpellBtnIgnoreAll : "Ignore All", -DlgSpellBtnReplace : "Replace", -DlgSpellBtnReplaceAll : "Replace All", -DlgSpellBtnUndo : "Undo", -DlgSpellNoSuggestions : "- No suggestions -", -DlgSpellProgress : "Spell check in progress...", -DlgSpellNoMispell : "Spell check complete: No misspellings found", -DlgSpellNoChanges : "Spell check complete: No words changed", -DlgSpellOneChange : "Spell check complete: One word changed", -DlgSpellManyChanges : "Spell check complete: %1 words changed", - -IeSpellDownload : "Spell checker not installed. Do you want to download it now?", - -// Button Dialog -DlgButtonText : "Text (Value)", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Button", -DlgButtonTypeSbm : "Submit", -DlgButtonTypeRst : "Reset", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", -DlgCheckboxValue : "Value", -DlgCheckboxSelected : "Selected", - -// Form Dialog -DlgFormName : "Name", -DlgFormAction : "Action", -DlgFormMethod : "Method", - -// Select Field Dialog -DlgSelectName : "Name", -DlgSelectValue : "Value", -DlgSelectSize : "Size", -DlgSelectLines : "lines", -DlgSelectChkMulti : "Allow multiple selections", -DlgSelectOpAvail : "Available Options", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Value", -DlgSelectBtnAdd : "Add", -DlgSelectBtnModify : "Modify", -DlgSelectBtnUp : "Up", -DlgSelectBtnDown : "Down", -DlgSelectBtnSetValue : "Set as selected value", -DlgSelectBtnDelete : "Delete", - -// Textarea Dialog -DlgTextareaName : "Name", -DlgTextareaCols : "Columns", -DlgTextareaRows : "Rows", - -// Text Field Dialog -DlgTextName : "Name", -DlgTextValue : "Value", -DlgTextCharWidth : "Character Width", -DlgTextMaxChars : "Maximum Characters", -DlgTextType : "Type", -DlgTextTypeText : "Text", -DlgTextTypePass : "Password", - -// Hidden Field Dialog -DlgHiddenName : "Name", -DlgHiddenValue : "Value", - -// Bulleted List Dialog -BulletedListProp : "Bulleted List Properties", -NumberedListProp : "Numbered List Properties", -DlgLstStart : "Start", -DlgLstType : "Type", -DlgLstTypeCircle : "Circle", -DlgLstTypeDisc : "Disc", -DlgLstTypeSquare : "Square", -DlgLstTypeNumbers : "Numbers (1, 2, 3)", -DlgLstTypeLCase : "Lowercase Letters (a, b, c)", -DlgLstTypeUCase : "Uppercase Letters (A, B, C)", -DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", -DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "General", -DlgDocBackTab : "Background", -DlgDocColorsTab : "Colours and Margins", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Page Title", -DlgDocLangDir : "Language Direction", -DlgDocLangDirLTR : "Left to Right (LTR)", -DlgDocLangDirRTL : "Right to Left (RTL)", -DlgDocLangCode : "Language Code", -DlgDocCharSet : "Character Set Encoding", -DlgDocCharSetCE : "Central European", -DlgDocCharSetCT : "Chinese Traditional (Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Greek", -DlgDocCharSetJP : "Japanese", -DlgDocCharSetKR : "Korean", -DlgDocCharSetTR : "Turkish", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Western European", -DlgDocCharSetOther : "Other Character Set Encoding", - -DlgDocDocType : "Document Type Heading", -DlgDocDocTypeOther : "Other Document Type Heading", -DlgDocIncXHTML : "Include XHTML Declarations", -DlgDocBgColor : "Background Colour", -DlgDocBgImage : "Background Image URL", -DlgDocBgNoScroll : "Nonscrolling Background", -DlgDocCText : "Text", -DlgDocCLink : "Link", -DlgDocCVisited : "Visited Link", -DlgDocCActive : "Active Link", -DlgDocMargins : "Page Margins", -DlgDocMaTop : "Top", -DlgDocMaLeft : "Left", -DlgDocMaRight : "Right", -DlgDocMaBottom : "Bottom", -DlgDocMeIndex : "Document Indexing Keywords (comma separated)", -DlgDocMeDescr : "Document Description", -DlgDocMeAuthor : "Author", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Preview", - -// Templates Dialog -Templates : "Templates", -DlgTemplatesTitle : "Content Templates", -DlgTemplatesSelMsg : "Please select the template to open in the editor
    (the actual contents will be lost):", -DlgTemplatesLoading : "Loading templates list. Please wait...", -DlgTemplatesNoTpl : "(No templates defined)", -DlgTemplatesReplace : "Replace actual contents", - -// About Dialog -DlgAboutAboutTab : "About", -DlgAboutBrowserInfoTab : "Browser Info", -DlgAboutLicenseTab : "License", -DlgAboutVersion : "version", -DlgAboutInfo : "For further information go to", - -// Div Dialog -DlgDivGeneralTab : "General", -DlgDivAdvancedTab : "Advanced", -DlgDivStyle : "Style", -DlgDivInlineStyle : "Inline Style" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/en-uk.js b/modules/editor/skins/fckeditor/editor/lang/en-uk.js deleted file mode 100644 index 901c8857f..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/en-uk.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * English (United Kingdom) language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Collapse Toolbar", -ToolbarExpand : "Expand Toolbar", - -// Toolbar Items and Context Menu -Save : "Save", -NewPage : "New Page", -Preview : "Preview", -Cut : "Cut", -Copy : "Copy", -Paste : "Paste", -PasteText : "Paste as plain text", -PasteWord : "Paste from Word", -Print : "Print", -SelectAll : "Select All", -RemoveFormat : "Remove Format", -InsertLinkLbl : "Link", -InsertLink : "Insert/Edit Link", -RemoveLink : "Remove Link", -VisitLink : "Open Link", -Anchor : "Insert/Edit Anchor", -AnchorDelete : "Remove Anchor", -InsertImageLbl : "Image", -InsertImage : "Insert/Edit Image", -InsertFlashLbl : "Flash", -InsertFlash : "Insert/Edit Flash", -InsertTableLbl : "Table", -InsertTable : "Insert/Edit Table", -InsertLineLbl : "Line", -InsertLine : "Insert Horizontal Line", -InsertSpecialCharLbl: "Special Character", -InsertSpecialChar : "Insert Special Character", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Insert Smiley", -About : "About FCKeditor", -Bold : "Bold", -Italic : "Italic", -Underline : "Underline", -StrikeThrough : "Strike Through", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Left Justify", -CenterJustify : "Centre Justify", -RightJustify : "Right Justify", -BlockJustify : "Block Justify", -DecreaseIndent : "Decrease Indent", -IncreaseIndent : "Increase Indent", -Blockquote : "Blockquote", -CreateDiv : "Create Div Container", -EditDiv : "Edit Div Container", -DeleteDiv : "Remove Div Container", -Undo : "Undo", -Redo : "Redo", -NumberedListLbl : "Numbered List", -NumberedList : "Insert/Remove Numbered List", -BulletedListLbl : "Bulleted List", -BulletedList : "Insert/Remove Bulleted List", -ShowTableBorders : "Show Table Borders", -ShowDetails : "Show Details", -Style : "Style", -FontFormat : "Format", -Font : "Font", -FontSize : "Size", -TextColor : "Text Colour", -BGColor : "Background Colour", -Source : "Source", -Find : "Find", -Replace : "Replace", -SpellCheck : "Check Spelling", -UniversalKeyboard : "Universal Keyboard", -PageBreakLbl : "Page Break", -PageBreak : "Insert Page Break", - -Form : "Form", -Checkbox : "Checkbox", -RadioButton : "Radio Button", -TextField : "Text Field", -Textarea : "Textarea", -HiddenField : "Hidden Field", -Button : "Button", -SelectionField : "Selection Field", -ImageButton : "Image Button", - -FitWindow : "Maximize the editor size", -ShowBlocks : "Show Blocks", - -// Context Menu -EditLink : "Edit Link", -CellCM : "Cell", -RowCM : "Row", -ColumnCM : "Column", -InsertRowAfter : "Insert Row After", -InsertRowBefore : "Insert Row Before", -DeleteRows : "Delete Rows", -InsertColumnAfter : "Insert Column After", -InsertColumnBefore : "Insert Column Before", -DeleteColumns : "Delete Columns", -InsertCellAfter : "Insert Cell After", -InsertCellBefore : "Insert Cell Before", -DeleteCells : "Delete Cells", -MergeCells : "Merge Cells", -MergeRight : "Merge Right", -MergeDown : "Merge Down", -HorizontalSplitCell : "Split Cell Horizontally", -VerticalSplitCell : "Split Cell Vertically", -TableDelete : "Delete Table", -CellProperties : "Cell Properties", -TableProperties : "Table Properties", -ImageProperties : "Image Properties", -FlashProperties : "Flash Properties", - -AnchorProp : "Anchor Properties", -ButtonProp : "Button Properties", -CheckboxProp : "Checkbox Properties", -HiddenFieldProp : "Hidden Field Properties", -RadioButtonProp : "Radio Button Properties", -ImageButtonProp : "Image Button Properties", -TextFieldProp : "Text Field Properties", -SelectionFieldProp : "Selection Field Properties", -TextareaProp : "Textarea Properties", -FormProp : "Form Properties", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Processing XHTML. Please wait...", -Done : "Done", -PasteWordConfirm : "The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?", -NotCompatiblePaste : "This command is available for Internet Explorer version 5.5 or more. Do you want to paste without cleaning?", -UnknownToolbarItem : "Unknown toolbar item \"%1\"", -UnknownCommand : "Unknown command name \"%1\"", -NotImplemented : "Command not implemented", -UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancel", -DlgBtnClose : "Close", -DlgBtnBrowseServer : "Browse Server", -DlgAdvancedTag : "Advanced", -DlgOpOther : "", -DlgInfoTab : "Info", -DlgAlertUrl : "Please insert the URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Language Direction", -DlgGenLangDirLtr : "Left to Right (LTR)", -DlgGenLangDirRtl : "Right to Left (RTL)", -DlgGenLangCode : "Language Code", -DlgGenAccessKey : "Access Key", -DlgGenName : "Name", -DlgGenTabIndex : "Tab Index", -DlgGenLongDescr : "Long Description URL", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Image Properties", -DlgImgInfoTab : "Image Info", -DlgImgBtnUpload : "Send it to the Server", -DlgImgURL : "URL", -DlgImgUpload : "Upload", -DlgImgAlt : "Alternative Text", -DlgImgWidth : "Width", -DlgImgHeight : "Height", -DlgImgLockRatio : "Lock Ratio", -DlgBtnResetSize : "Reset Size", -DlgImgBorder : "Border", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Align", -DlgImgAlignLeft : "Left", -DlgImgAlignAbsBottom: "Abs Bottom", -DlgImgAlignAbsMiddle: "Abs Middle", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Bottom", -DlgImgAlignMiddle : "Middle", -DlgImgAlignRight : "Right", -DlgImgAlignTextTop : "Text Top", -DlgImgAlignTop : "Top", -DlgImgPreview : "Preview", -DlgImgAlertUrl : "Please type the image URL", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash Properties", -DlgFlashChkPlay : "Auto Play", -DlgFlashChkLoop : "Loop", -DlgFlashChkMenu : "Enable Flash Menu", -DlgFlashScale : "Scale", -DlgFlashScaleAll : "Show all", -DlgFlashScaleNoBorder : "No Border", -DlgFlashScaleFit : "Exact Fit", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link Info", -DlgLnkTargetTab : "Target", - -DlgLnkType : "Link Type", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Link to anchor in the text", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocol", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Select an Anchor", -DlgLnkAnchorByName : "By Anchor Name", -DlgLnkAnchorById : "By Element Id", -DlgLnkNoAnchors : "(No anchors available in the document)", -DlgLnkEMail : "E-Mail Address", -DlgLnkEMailSubject : "Message Subject", -DlgLnkEMailBody : "Message Body", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Send it to the Server", - -DlgLnkTarget : "Target", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "New Window (_blank)", -DlgLnkTargetParent : "Parent Window (_parent)", -DlgLnkTargetSelf : "Same Window (_self)", -DlgLnkTargetTop : "Topmost Window (_top)", -DlgLnkTargetFrameName : "Target Frame Name", -DlgLnkPopWinName : "Popup Window Name", -DlgLnkPopWinFeat : "Popup Window Features", -DlgLnkPopResize : "Resizable", -DlgLnkPopLocation : "Location Bar", -DlgLnkPopMenu : "Menu Bar", -DlgLnkPopScroll : "Scroll Bars", -DlgLnkPopStatus : "Status Bar", -DlgLnkPopToolbar : "Toolbar", -DlgLnkPopFullScrn : "Full Screen (IE)", -DlgLnkPopDependent : "Dependent (Netscape)", -DlgLnkPopWidth : "Width", -DlgLnkPopHeight : "Height", -DlgLnkPopLeft : "Left Position", -DlgLnkPopTop : "Top Position", - -DlnLnkMsgNoUrl : "Please type the link URL", -DlnLnkMsgNoEMail : "Please type the e-mail address", -DlnLnkMsgNoAnchor : "Please select an anchor", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", - -// Color Dialog -DlgColorTitle : "Select Colour", -DlgColorBtnClear : "Clear", -DlgColorHighlight : "Highlight", -DlgColorSelected : "Selected", - -// Smiley Dialog -DlgSmileyTitle : "Insert a Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Select Special Character", - -// Table Dialog -DlgTableTitle : "Table Properties", -DlgTableRows : "Rows", -DlgTableColumns : "Columns", -DlgTableBorder : "Border size", -DlgTableAlign : "Alignment", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Left", -DlgTableAlignCenter : "Centre", -DlgTableAlignRight : "Right", -DlgTableWidth : "Width", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "percent", -DlgTableHeight : "Height", -DlgTableCellSpace : "Cell spacing", -DlgTableCellPad : "Cell padding", -DlgTableCaption : "Caption", -DlgTableSummary : "Summary", - -// Table Cell Dialog -DlgCellTitle : "Cell Properties", -DlgCellWidth : "Width", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "percent", -DlgCellHeight : "Height", -DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Yes", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Left", -DlgCellHorAlignCenter : "Centre", -DlgCellHorAlignRight: "Right", -DlgCellVerAlign : "Vertical Alignment", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Top", -DlgCellVerAlignMiddle : "Middle", -DlgCellVerAlignBottom : "Bottom", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Rows Span", -DlgCellCollSpan : "Columns Span", -DlgCellBackColor : "Background Colour", -DlgCellBorderColor : "Border Colour", -DlgCellBtnSelect : "Select...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", - -// Find Dialog -DlgFindTitle : "Find", -DlgFindFindBtn : "Find", -DlgFindNotFoundMsg : "The specified text was not found.", - -// Replace Dialog -DlgReplaceTitle : "Replace", -DlgReplaceFindLbl : "Find what:", -DlgReplaceReplaceLbl : "Replace with:", -DlgReplaceCaseChk : "Match case", -DlgReplaceReplaceBtn : "Replace", -DlgReplaceReplAllBtn : "Replace All", -DlgReplaceWordChk : "Match whole word", - -// Paste Operations / Dialog -PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).", -PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).", - -PasteAsText : "Paste as Plain Text", -PasteFromWord : "Paste from Word", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", -DlgPasteIgnoreFont : "Ignore Font Face definitions", -DlgPasteRemoveStyles : "Remove Styles definitions", - -// Color Picker -ColorAutomatic : "Automatic", -ColorMoreColors : "More Colours...", - -// Document Properties -DocProps : "Document Properties", - -// Anchor Dialog -DlgAnchorTitle : "Anchor Properties", -DlgAnchorName : "Anchor Name", -DlgAnchorErrorName : "Please type the anchor name", - -// Speller Pages Dialog -DlgSpellNotInDic : "Not in dictionary", -DlgSpellChangeTo : "Change to", -DlgSpellBtnIgnore : "Ignore", -DlgSpellBtnIgnoreAll : "Ignore All", -DlgSpellBtnReplace : "Replace", -DlgSpellBtnReplaceAll : "Replace All", -DlgSpellBtnUndo : "Undo", -DlgSpellNoSuggestions : "- No suggestions -", -DlgSpellProgress : "Spell check in progress...", -DlgSpellNoMispell : "Spell check complete: No misspellings found", -DlgSpellNoChanges : "Spell check complete: No words changed", -DlgSpellOneChange : "Spell check complete: One word changed", -DlgSpellManyChanges : "Spell check complete: %1 words changed", - -IeSpellDownload : "Spell checker not installed. Do you want to download it now?", - -// Button Dialog -DlgButtonText : "Text (Value)", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Button", -DlgButtonTypeSbm : "Submit", -DlgButtonTypeRst : "Reset", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", -DlgCheckboxValue : "Value", -DlgCheckboxSelected : "Selected", - -// Form Dialog -DlgFormName : "Name", -DlgFormAction : "Action", -DlgFormMethod : "Method", - -// Select Field Dialog -DlgSelectName : "Name", -DlgSelectValue : "Value", -DlgSelectSize : "Size", -DlgSelectLines : "lines", -DlgSelectChkMulti : "Allow multiple selections", -DlgSelectOpAvail : "Available Options", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Value", -DlgSelectBtnAdd : "Add", -DlgSelectBtnModify : "Modify", -DlgSelectBtnUp : "Up", -DlgSelectBtnDown : "Down", -DlgSelectBtnSetValue : "Set as selected value", -DlgSelectBtnDelete : "Delete", - -// Textarea Dialog -DlgTextareaName : "Name", -DlgTextareaCols : "Columns", -DlgTextareaRows : "Rows", - -// Text Field Dialog -DlgTextName : "Name", -DlgTextValue : "Value", -DlgTextCharWidth : "Character Width", -DlgTextMaxChars : "Maximum Characters", -DlgTextType : "Type", -DlgTextTypeText : "Text", -DlgTextTypePass : "Password", - -// Hidden Field Dialog -DlgHiddenName : "Name", -DlgHiddenValue : "Value", - -// Bulleted List Dialog -BulletedListProp : "Bulleted List Properties", -NumberedListProp : "Numbered List Properties", -DlgLstStart : "Start", -DlgLstType : "Type", -DlgLstTypeCircle : "Circle", -DlgLstTypeDisc : "Disc", -DlgLstTypeSquare : "Square", -DlgLstTypeNumbers : "Numbers (1, 2, 3)", -DlgLstTypeLCase : "Lowercase Letters (a, b, c)", -DlgLstTypeUCase : "Uppercase Letters (A, B, C)", -DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", -DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "General", -DlgDocBackTab : "Background", -DlgDocColorsTab : "Colours and Margins", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Page Title", -DlgDocLangDir : "Language Direction", -DlgDocLangDirLTR : "Left to Right (LTR)", -DlgDocLangDirRTL : "Right to Left (RTL)", -DlgDocLangCode : "Language Code", -DlgDocCharSet : "Character Set Encoding", -DlgDocCharSetCE : "Central European", -DlgDocCharSetCT : "Chinese Traditional (Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Greek", -DlgDocCharSetJP : "Japanese", -DlgDocCharSetKR : "Korean", -DlgDocCharSetTR : "Turkish", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Western European", -DlgDocCharSetOther : "Other Character Set Encoding", - -DlgDocDocType : "Document Type Heading", -DlgDocDocTypeOther : "Other Document Type Heading", -DlgDocIncXHTML : "Include XHTML Declarations", -DlgDocBgColor : "Background Colour", -DlgDocBgImage : "Background Image URL", -DlgDocBgNoScroll : "Nonscrolling Background", -DlgDocCText : "Text", -DlgDocCLink : "Link", -DlgDocCVisited : "Visited Link", -DlgDocCActive : "Active Link", -DlgDocMargins : "Page Margins", -DlgDocMaTop : "Top", -DlgDocMaLeft : "Left", -DlgDocMaRight : "Right", -DlgDocMaBottom : "Bottom", -DlgDocMeIndex : "Document Indexing Keywords (comma separated)", -DlgDocMeDescr : "Document Description", -DlgDocMeAuthor : "Author", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Preview", - -// Templates Dialog -Templates : "Templates", -DlgTemplatesTitle : "Content Templates", -DlgTemplatesSelMsg : "Please select the template to open in the editor
    (the actual contents will be lost):", -DlgTemplatesLoading : "Loading templates list. Please wait...", -DlgTemplatesNoTpl : "(No templates defined)", -DlgTemplatesReplace : "Replace actual contents", - -// About Dialog -DlgAboutAboutTab : "About", -DlgAboutBrowserInfoTab : "Browser Info", -DlgAboutLicenseTab : "License", -DlgAboutVersion : "version", -DlgAboutInfo : "For further information go to", - -// Div Dialog -DlgDivGeneralTab : "General", -DlgDivAdvancedTab : "Advanced", -DlgDivStyle : "Style", -DlgDivInlineStyle : "Inline Style" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/en.js b/modules/editor/skins/fckeditor/editor/lang/en.js deleted file mode 100644 index 59395887b..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/en.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * English language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Collapse Toolbar", -ToolbarExpand : "Expand Toolbar", - -// Toolbar Items and Context Menu -Save : "Save", -NewPage : "New Page", -Preview : "Preview", -Cut : "Cut", -Copy : "Copy", -Paste : "Paste", -PasteText : "Paste as plain text", -PasteWord : "Paste from Word", -Print : "Print", -SelectAll : "Select All", -RemoveFormat : "Remove Format", -InsertLinkLbl : "Link", -InsertLink : "Insert/Edit Link", -RemoveLink : "Remove Link", -VisitLink : "Open Link", -Anchor : "Insert/Edit Anchor", -AnchorDelete : "Remove Anchor", -InsertImageLbl : "Image", -InsertImage : "Insert/Edit Image", -InsertFlashLbl : "Flash", -InsertFlash : "Insert/Edit Flash", -InsertTableLbl : "Table", -InsertTable : "Insert/Edit Table", -InsertLineLbl : "Line", -InsertLine : "Insert Horizontal Line", -InsertSpecialCharLbl: "Special Character", -InsertSpecialChar : "Insert Special Character", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Insert Smiley", -About : "About FCKeditor", -Bold : "Bold", -Italic : "Italic", -Underline : "Underline", -StrikeThrough : "Strike Through", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Left Justify", -CenterJustify : "Center Justify", -RightJustify : "Right Justify", -BlockJustify : "Block Justify", -DecreaseIndent : "Decrease Indent", -IncreaseIndent : "Increase Indent", -Blockquote : "Blockquote", -CreateDiv : "Create Div Container", -EditDiv : "Edit Div Container", -DeleteDiv : "Remove Div Container", -Undo : "Undo", -Redo : "Redo", -NumberedListLbl : "Numbered List", -NumberedList : "Insert/Remove Numbered List", -BulletedListLbl : "Bulleted List", -BulletedList : "Insert/Remove Bulleted List", -ShowTableBorders : "Show Table Borders", -ShowDetails : "Show Details", -Style : "Style", -FontFormat : "Format", -Font : "Font", -FontSize : "Size", -TextColor : "Text Color", -BGColor : "Background Color", -Source : "Source", -Find : "Find", -Replace : "Replace", -SpellCheck : "Check Spelling", -UniversalKeyboard : "Universal Keyboard", -PageBreakLbl : "Page Break", -PageBreak : "Insert Page Break", - -Form : "Form", -Checkbox : "Checkbox", -RadioButton : "Radio Button", -TextField : "Text Field", -Textarea : "Textarea", -HiddenField : "Hidden Field", -Button : "Button", -SelectionField : "Selection Field", -ImageButton : "Image Button", - -FitWindow : "Maximize the editor size", -ShowBlocks : "Show Blocks", - -// Context Menu -EditLink : "Edit Link", -CellCM : "Cell", -RowCM : "Row", -ColumnCM : "Column", -InsertRowAfter : "Insert Row After", -InsertRowBefore : "Insert Row Before", -DeleteRows : "Delete Rows", -InsertColumnAfter : "Insert Column After", -InsertColumnBefore : "Insert Column Before", -DeleteColumns : "Delete Columns", -InsertCellAfter : "Insert Cell After", -InsertCellBefore : "Insert Cell Before", -DeleteCells : "Delete Cells", -MergeCells : "Merge Cells", -MergeRight : "Merge Right", -MergeDown : "Merge Down", -HorizontalSplitCell : "Split Cell Horizontally", -VerticalSplitCell : "Split Cell Vertically", -TableDelete : "Delete Table", -CellProperties : "Cell Properties", -TableProperties : "Table Properties", -ImageProperties : "Image Properties", -FlashProperties : "Flash Properties", - -AnchorProp : "Anchor Properties", -ButtonProp : "Button Properties", -CheckboxProp : "Checkbox Properties", -HiddenFieldProp : "Hidden Field Properties", -RadioButtonProp : "Radio Button Properties", -ImageButtonProp : "Image Button Properties", -TextFieldProp : "Text Field Properties", -SelectionFieldProp : "Selection Field Properties", -TextareaProp : "Textarea Properties", -FormProp : "Form Properties", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Processing XHTML. Please wait...", -Done : "Done", -PasteWordConfirm : "The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?", -NotCompatiblePaste : "This command is available for Internet Explorer version 5.5 or more. Do you want to paste without cleaning?", -UnknownToolbarItem : "Unknown toolbar item \"%1\"", -UnknownCommand : "Unknown command name \"%1\"", -NotImplemented : "Command not implemented", -UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancel", -DlgBtnClose : "Close", -DlgBtnBrowseServer : "Browse Server", -DlgAdvancedTag : "Advanced", -DlgOpOther : "", -DlgInfoTab : "Info", -DlgAlertUrl : "Please insert the URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Language Direction", -DlgGenLangDirLtr : "Left to Right (LTR)", -DlgGenLangDirRtl : "Right to Left (RTL)", -DlgGenLangCode : "Language Code", -DlgGenAccessKey : "Access Key", -DlgGenName : "Name", -DlgGenTabIndex : "Tab Index", -DlgGenLongDescr : "Long Description URL", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Image Properties", -DlgImgInfoTab : "Image Info", -DlgImgBtnUpload : "Send it to the Server", -DlgImgURL : "URL", -DlgImgUpload : "Upload", -DlgImgAlt : "Alternative Text", -DlgImgWidth : "Width", -DlgImgHeight : "Height", -DlgImgLockRatio : "Lock Ratio", -DlgBtnResetSize : "Reset Size", -DlgImgBorder : "Border", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Align", -DlgImgAlignLeft : "Left", -DlgImgAlignAbsBottom: "Abs Bottom", -DlgImgAlignAbsMiddle: "Abs Middle", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Bottom", -DlgImgAlignMiddle : "Middle", -DlgImgAlignRight : "Right", -DlgImgAlignTextTop : "Text Top", -DlgImgAlignTop : "Top", -DlgImgPreview : "Preview", -DlgImgAlertUrl : "Please type the image URL", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash Properties", -DlgFlashChkPlay : "Auto Play", -DlgFlashChkLoop : "Loop", -DlgFlashChkMenu : "Enable Flash Menu", -DlgFlashScale : "Scale", -DlgFlashScaleAll : "Show all", -DlgFlashScaleNoBorder : "No Border", -DlgFlashScaleFit : "Exact Fit", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link Info", -DlgLnkTargetTab : "Target", - -DlgLnkType : "Link Type", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Link to anchor in the text", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocol", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Select an Anchor", -DlgLnkAnchorByName : "By Anchor Name", -DlgLnkAnchorById : "By Element Id", -DlgLnkNoAnchors : "(No anchors available in the document)", -DlgLnkEMail : "E-Mail Address", -DlgLnkEMailSubject : "Message Subject", -DlgLnkEMailBody : "Message Body", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Send it to the Server", - -DlgLnkTarget : "Target", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "New Window (_blank)", -DlgLnkTargetParent : "Parent Window (_parent)", -DlgLnkTargetSelf : "Same Window (_self)", -DlgLnkTargetTop : "Topmost Window (_top)", -DlgLnkTargetFrameName : "Target Frame Name", -DlgLnkPopWinName : "Popup Window Name", -DlgLnkPopWinFeat : "Popup Window Features", -DlgLnkPopResize : "Resizable", -DlgLnkPopLocation : "Location Bar", -DlgLnkPopMenu : "Menu Bar", -DlgLnkPopScroll : "Scroll Bars", -DlgLnkPopStatus : "Status Bar", -DlgLnkPopToolbar : "Toolbar", -DlgLnkPopFullScrn : "Full Screen (IE)", -DlgLnkPopDependent : "Dependent (Netscape)", -DlgLnkPopWidth : "Width", -DlgLnkPopHeight : "Height", -DlgLnkPopLeft : "Left Position", -DlgLnkPopTop : "Top Position", - -DlnLnkMsgNoUrl : "Please type the link URL", -DlnLnkMsgNoEMail : "Please type the e-mail address", -DlnLnkMsgNoAnchor : "Please select an anchor", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", - -// Color Dialog -DlgColorTitle : "Select Color", -DlgColorBtnClear : "Clear", -DlgColorHighlight : "Highlight", -DlgColorSelected : "Selected", - -// Smiley Dialog -DlgSmileyTitle : "Insert a Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Select Special Character", - -// Table Dialog -DlgTableTitle : "Table Properties", -DlgTableRows : "Rows", -DlgTableColumns : "Columns", -DlgTableBorder : "Border size", -DlgTableAlign : "Alignment", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Left", -DlgTableAlignCenter : "Center", -DlgTableAlignRight : "Right", -DlgTableWidth : "Width", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "percent", -DlgTableHeight : "Height", -DlgTableCellSpace : "Cell spacing", -DlgTableCellPad : "Cell padding", -DlgTableCaption : "Caption", -DlgTableSummary : "Summary", - -// Table Cell Dialog -DlgCellTitle : "Cell Properties", -DlgCellWidth : "Width", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "percent", -DlgCellHeight : "Height", -DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Yes", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Left", -DlgCellHorAlignCenter : "Center", -DlgCellHorAlignRight: "Right", -DlgCellVerAlign : "Vertical Alignment", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Top", -DlgCellVerAlignMiddle : "Middle", -DlgCellVerAlignBottom : "Bottom", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Rows Span", -DlgCellCollSpan : "Columns Span", -DlgCellBackColor : "Background Color", -DlgCellBorderColor : "Border Color", -DlgCellBtnSelect : "Select...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", - -// Find Dialog -DlgFindTitle : "Find", -DlgFindFindBtn : "Find", -DlgFindNotFoundMsg : "The specified text was not found.", - -// Replace Dialog -DlgReplaceTitle : "Replace", -DlgReplaceFindLbl : "Find what:", -DlgReplaceReplaceLbl : "Replace with:", -DlgReplaceCaseChk : "Match case", -DlgReplaceReplaceBtn : "Replace", -DlgReplaceReplAllBtn : "Replace All", -DlgReplaceWordChk : "Match whole word", - -// Paste Operations / Dialog -PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).", -PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).", - -PasteAsText : "Paste as Plain Text", -PasteFromWord : "Paste from Word", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", -DlgPasteIgnoreFont : "Ignore Font Face definitions", -DlgPasteRemoveStyles : "Remove Styles definitions", - -// Color Picker -ColorAutomatic : "Automatic", -ColorMoreColors : "More Colors...", - -// Document Properties -DocProps : "Document Properties", - -// Anchor Dialog -DlgAnchorTitle : "Anchor Properties", -DlgAnchorName : "Anchor Name", -DlgAnchorErrorName : "Please type the anchor name", - -// Speller Pages Dialog -DlgSpellNotInDic : "Not in dictionary", -DlgSpellChangeTo : "Change to", -DlgSpellBtnIgnore : "Ignore", -DlgSpellBtnIgnoreAll : "Ignore All", -DlgSpellBtnReplace : "Replace", -DlgSpellBtnReplaceAll : "Replace All", -DlgSpellBtnUndo : "Undo", -DlgSpellNoSuggestions : "- No suggestions -", -DlgSpellProgress : "Spell check in progress...", -DlgSpellNoMispell : "Spell check complete: No misspellings found", -DlgSpellNoChanges : "Spell check complete: No words changed", -DlgSpellOneChange : "Spell check complete: One word changed", -DlgSpellManyChanges : "Spell check complete: %1 words changed", - -IeSpellDownload : "Spell checker not installed. Do you want to download it now?", - -// Button Dialog -DlgButtonText : "Text (Value)", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Button", -DlgButtonTypeSbm : "Submit", -DlgButtonTypeRst : "Reset", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", -DlgCheckboxValue : "Value", -DlgCheckboxSelected : "Selected", - -// Form Dialog -DlgFormName : "Name", -DlgFormAction : "Action", -DlgFormMethod : "Method", - -// Select Field Dialog -DlgSelectName : "Name", -DlgSelectValue : "Value", -DlgSelectSize : "Size", -DlgSelectLines : "lines", -DlgSelectChkMulti : "Allow multiple selections", -DlgSelectOpAvail : "Available Options", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Value", -DlgSelectBtnAdd : "Add", -DlgSelectBtnModify : "Modify", -DlgSelectBtnUp : "Up", -DlgSelectBtnDown : "Down", -DlgSelectBtnSetValue : "Set as selected value", -DlgSelectBtnDelete : "Delete", - -// Textarea Dialog -DlgTextareaName : "Name", -DlgTextareaCols : "Columns", -DlgTextareaRows : "Rows", - -// Text Field Dialog -DlgTextName : "Name", -DlgTextValue : "Value", -DlgTextCharWidth : "Character Width", -DlgTextMaxChars : "Maximum Characters", -DlgTextType : "Type", -DlgTextTypeText : "Text", -DlgTextTypePass : "Password", - -// Hidden Field Dialog -DlgHiddenName : "Name", -DlgHiddenValue : "Value", - -// Bulleted List Dialog -BulletedListProp : "Bulleted List Properties", -NumberedListProp : "Numbered List Properties", -DlgLstStart : "Start", -DlgLstType : "Type", -DlgLstTypeCircle : "Circle", -DlgLstTypeDisc : "Disc", -DlgLstTypeSquare : "Square", -DlgLstTypeNumbers : "Numbers (1, 2, 3)", -DlgLstTypeLCase : "Lowercase Letters (a, b, c)", -DlgLstTypeUCase : "Uppercase Letters (A, B, C)", -DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", -DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "General", -DlgDocBackTab : "Background", -DlgDocColorsTab : "Colors and Margins", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Page Title", -DlgDocLangDir : "Language Direction", -DlgDocLangDirLTR : "Left to Right (LTR)", -DlgDocLangDirRTL : "Right to Left (RTL)", -DlgDocLangCode : "Language Code", -DlgDocCharSet : "Character Set Encoding", -DlgDocCharSetCE : "Central European", -DlgDocCharSetCT : "Chinese Traditional (Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Greek", -DlgDocCharSetJP : "Japanese", -DlgDocCharSetKR : "Korean", -DlgDocCharSetTR : "Turkish", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Western European", -DlgDocCharSetOther : "Other Character Set Encoding", - -DlgDocDocType : "Document Type Heading", -DlgDocDocTypeOther : "Other Document Type Heading", -DlgDocIncXHTML : "Include XHTML Declarations", -DlgDocBgColor : "Background Color", -DlgDocBgImage : "Background Image URL", -DlgDocBgNoScroll : "Nonscrolling Background", -DlgDocCText : "Text", -DlgDocCLink : "Link", -DlgDocCVisited : "Visited Link", -DlgDocCActive : "Active Link", -DlgDocMargins : "Page Margins", -DlgDocMaTop : "Top", -DlgDocMaLeft : "Left", -DlgDocMaRight : "Right", -DlgDocMaBottom : "Bottom", -DlgDocMeIndex : "Document Indexing Keywords (comma separated)", -DlgDocMeDescr : "Document Description", -DlgDocMeAuthor : "Author", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Preview", - -// Templates Dialog -Templates : "Templates", -DlgTemplatesTitle : "Content Templates", -DlgTemplatesSelMsg : "Please select the template to open in the editor
    (the actual contents will be lost):", -DlgTemplatesLoading : "Loading templates list. Please wait...", -DlgTemplatesNoTpl : "(No templates defined)", -DlgTemplatesReplace : "Replace actual contents", - -// About Dialog -DlgAboutAboutTab : "About", -DlgAboutBrowserInfoTab : "Browser Info", -DlgAboutLicenseTab : "License", -DlgAboutVersion : "version", -DlgAboutInfo : "For further information go to", - -// Div Dialog -DlgDivGeneralTab : "General", -DlgDivAdvancedTab : "Advanced", -DlgDivStyle : "Style", -DlgDivInlineStyle : "Inline Style" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/eo.js b/modules/editor/skins/fckeditor/editor/lang/eo.js deleted file mode 100644 index dc032efe7..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/eo.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Esperanto language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Kaŝi Ilobreton", -ToolbarExpand : "Vidigi Ilojn", - -// Toolbar Items and Context Menu -Save : "Sekurigi", -NewPage : "Nova Paĝo", -Preview : "Vidigi Aspekton", -Cut : "Eltondi", -Copy : "Kopii", -Paste : "Interglui", -PasteText : "Interglui kiel Tekston", -PasteWord : "Interglui el Word", -Print : "Presi", -SelectAll : "Elekti ĉion", -RemoveFormat : "Forigi Formaton", -InsertLinkLbl : "Ligilo", -InsertLink : "Enmeti/Ŝanĝi Ligilon", -RemoveLink : "Forigi Ligilon", -VisitLink : "Open Link", //MISSING -Anchor : "Enmeti/Ŝanĝi Ankron", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Bildo", -InsertImage : "Enmeti/Ŝanĝi Bildon", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING -InsertTableLbl : "Tabelo", -InsertTable : "Enmeti/Ŝanĝi Tabelon", -InsertLineLbl : "Horizonta Linio", -InsertLine : "Enmeti Horizonta Linio", -InsertSpecialCharLbl: "Speciala Signo", -InsertSpecialChar : "Enmeti Specialan Signon", -InsertSmileyLbl : "Mienvinjeto", -InsertSmiley : "Enmeti Mienvinjeton", -About : "Pri FCKeditor", -Bold : "Grasa", -Italic : "Kursiva", -Underline : "Substreko", -StrikeThrough : "Trastreko", -Subscript : "Subskribo", -Superscript : "Superskribo", -LeftJustify : "Maldekstrigi", -CenterJustify : "Centrigi", -RightJustify : "Dekstrigi", -BlockJustify : "Ĝisrandigi Ambaŭflanke", -DecreaseIndent : "Malpligrandigi Krommarĝenon", -IncreaseIndent : "Pligrandigi Krommarĝenon", -Blockquote : "Blockquote", //MISSING -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "Malfari", -Redo : "Refari", -NumberedListLbl : "Numera Listo", -NumberedList : "Enmeti/Forigi Numeran Liston", -BulletedListLbl : "Bula Listo", -BulletedList : "Enmeti/Forigi Bulan Liston", -ShowTableBorders : "Vidigi Borderojn de Tabelo", -ShowDetails : "Vidigi Detalojn", -Style : "Stilo", -FontFormat : "Formato", -Font : "Tiparo", -FontSize : "Grando", -TextColor : "Teksta Koloro", -BGColor : "Fona Koloro", -Source : "Fonto", -Find : "Serĉi", -Replace : "Anstataŭigi", -SpellCheck : "Literumada Kontrolilo", -UniversalKeyboard : "Universala Klavaro", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING - -Form : "Formularo", -Checkbox : "Markobutono", -RadioButton : "Radiobutono", -TextField : "Teksta kampo", -Textarea : "Teksta Areo", -HiddenField : "Kaŝita Kampo", -Button : "Butono", -SelectionField : "Elekta Kampo", -ImageButton : "Bildbutono", - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Modifier Ligilon", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Forigi Liniojn", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Forigi Kolumnojn", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Forigi Ĉelojn", -MergeCells : "Kunfandi Ĉelojn", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Delete Table", //MISSING -CellProperties : "Atributoj de Ĉelo", -TableProperties : "Atributoj de Tabelo", -ImageProperties : "Atributoj de Bildo", -FlashProperties : "Flash Properties", //MISSING - -AnchorProp : "Ankraj Atributoj", -ButtonProp : "Butonaj Atributoj", -CheckboxProp : "Markobutonaj Atributoj", -HiddenFieldProp : "Atributoj de Kaŝita Kampo", -RadioButtonProp : "Radiobutonaj Atributoj", -ImageButtonProp : "Bildbutonaj Atributoj", -TextFieldProp : "Atributoj de Teksta Kampo", -SelectionFieldProp : "Atributoj de Elekta Kampo", -TextareaProp : "Atributoj de Teksta Areo", -FormProp : "Formularaj Atributoj", - -FontFormats : "Normala;Formatita;Adreso;Titolo 1;Titolo 2;Titolo 3;Titolo 4;Titolo 5;Titolo 6;Paragrafo (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Traktado de XHTML. Bonvolu pacienci...", -Done : "Finita", -PasteWordConfirm : "La algluota teksto ŝajnas esti Word-devena. Ĉu vi volas purigi ĝin antaŭ ol interglui?", -NotCompatiblePaste : "Tiu ĉi komando bezonas almenaŭ Internet Explorer 5.5. Ĉu vi volas daŭrigi sen purigado?", -UnknownToolbarItem : "Ilobretero nekonata \"%1\"", -UnknownCommand : "Komandonomo nekonata \"%1\"", -NotImplemented : "Komando ne ankoraŭ realigita", -UnknownToolbarSet : "La ilobreto \"%1\" ne ekzistas", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", //MISSING -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", //MISSING -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "Akcepti", -DlgBtnCancel : "Rezigni", -DlgBtnClose : "Fermi", -DlgBtnBrowseServer : "Foliumi en la Servilo", -DlgAdvancedTag : "Speciala", -DlgOpOther : "", -DlgInfoTab : "Info", //MISSING -DlgAlertUrl : "Please insert the URL", //MISSING - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Skribdirekto", -DlgGenLangDirLtr : "De maldekstro dekstren (LTR)", -DlgGenLangDirRtl : "De dekstro maldekstren (RTL)", -DlgGenLangCode : "Lingva Kodo", -DlgGenAccessKey : "Fulmoklavo", -DlgGenName : "Nomo", -DlgGenTabIndex : "Taba Ordo", -DlgGenLongDescr : "URL de Longa Priskribo", -DlgGenClass : "Klasoj de Stilfolioj", -DlgGenTitle : "Indika Titolo", -DlgGenContType : "Indika Enhavotipo", -DlgGenLinkCharset : "Signaro de la Ligita Rimedo", -DlgGenStyle : "Stilo", - -// Image Dialog -DlgImgTitle : "Atributoj de Bildo", -DlgImgInfoTab : "Informoj pri Bildo", -DlgImgBtnUpload : "Sendu al Servilo", -DlgImgURL : "URL", -DlgImgUpload : "Alŝuti", -DlgImgAlt : "Anstataŭiga Teksto", -DlgImgWidth : "Larĝo", -DlgImgHeight : "Alto", -DlgImgLockRatio : "Konservi Proporcion", -DlgBtnResetSize : "Origina Grando", -DlgImgBorder : "Bordero", -DlgImgHSpace : "HSpaco", -DlgImgVSpace : "VSpaco", -DlgImgAlign : "Ĝisrandigo", -DlgImgAlignLeft : "Maldekstre", -DlgImgAlignAbsBottom: "Abs Malsupre", -DlgImgAlignAbsMiddle: "Abs Centre", -DlgImgAlignBaseline : "Je Malsupro de Teksto", -DlgImgAlignBottom : "Malsupre", -DlgImgAlignMiddle : "Centre", -DlgImgAlignRight : "Dekstre", -DlgImgAlignTextTop : "Je Supro de Teksto", -DlgImgAlignTop : "Supre", -DlgImgPreview : "Vidigi Aspekton", -DlgImgAlertUrl : "Bonvolu tajpi la URL de la bildo", -DlgImgLinkTab : "Link", //MISSING - -// Flash Dialog -DlgFlashTitle : "Flash Properties", //MISSING -DlgFlashChkPlay : "Auto Play", //MISSING -DlgFlashChkLoop : "Loop", //MISSING -DlgFlashChkMenu : "Enable Flash Menu", //MISSING -DlgFlashScale : "Scale", //MISSING -DlgFlashScaleAll : "Show all", //MISSING -DlgFlashScaleNoBorder : "No Border", //MISSING -DlgFlashScaleFit : "Exact Fit", //MISSING - -// Link Dialog -DlgLnkWindowTitle : "Ligilo", -DlgLnkInfoTab : "Informoj pri la Ligilo", -DlgLnkTargetTab : "Celo", - -DlgLnkType : "Tipo de Ligilo", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Ankri en tiu ĉi paĝo", -DlgLnkTypeEMail : "Retpoŝto", -DlgLnkProto : "Protokolo", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Elekti Ankron", -DlgLnkAnchorByName : "Per Ankronomo", -DlgLnkAnchorById : "Per Elementidentigilo", -DlgLnkNoAnchors : "", -DlgLnkEMail : "Retadreso", -DlgLnkEMailSubject : "Temlinio", -DlgLnkEMailBody : "Mesaĝa korpo", -DlgLnkUpload : "Alŝuti", -DlgLnkBtnUpload : "Sendi al Servilo", - -DlgLnkTarget : "Celo", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "<ŝprucfenestro>", -DlgLnkTargetBlank : "Nova Fenestro (_blank)", -DlgLnkTargetParent : "Gepatra Fenestro (_parent)", -DlgLnkTargetSelf : "Sama Fenestro (_self)", -DlgLnkTargetTop : "Plej Supra Fenestro (_top)", -DlgLnkTargetFrameName : "Nomo de Kadro", -DlgLnkPopWinName : "Nomo de Ŝprucfenestro", -DlgLnkPopWinFeat : "Atributoj de la Ŝprucfenestro", -DlgLnkPopResize : "Grando Ŝanĝebla", -DlgLnkPopLocation : "Adresobreto", -DlgLnkPopMenu : "Menubreto", -DlgLnkPopScroll : "Rulumlisteloj", -DlgLnkPopStatus : "Statobreto", -DlgLnkPopToolbar : "Ilobreto", -DlgLnkPopFullScrn : "Tutekrane (IE)", -DlgLnkPopDependent : "Dependa (Netscape)", -DlgLnkPopWidth : "Larĝo", -DlgLnkPopHeight : "Alto", -DlgLnkPopLeft : "Pozicio de Maldekstro", -DlgLnkPopTop : "Pozicio de Supro", - -DlnLnkMsgNoUrl : "Bonvolu entajpi la URL-on", -DlnLnkMsgNoEMail : "Bonvolu entajpi la retadreson", -DlnLnkMsgNoAnchor : "Bonvolu elekti ankron", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Elekti", -DlgColorBtnClear : "Forigi", -DlgColorHighlight : "Emfazi", -DlgColorSelected : "Elektita", - -// Smiley Dialog -DlgSmileyTitle : "Enmeti Mienvinjeton", - -// Special Character Dialog -DlgSpecialCharTitle : "Enmeti Specialan Signon", - -// Table Dialog -DlgTableTitle : "Atributoj de Tabelo", -DlgTableRows : "Linioj", -DlgTableColumns : "Kolumnoj", -DlgTableBorder : "Bordero", -DlgTableAlign : "Ĝisrandigo", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Maldekstre", -DlgTableAlignCenter : "Centre", -DlgTableAlignRight : "Dekstre", -DlgTableWidth : "Larĝo", -DlgTableWidthPx : "Bitbilderoj", -DlgTableWidthPc : "elcentoj", -DlgTableHeight : "Alto", -DlgTableCellSpace : "Interspacigo de Ĉeloj", -DlgTableCellPad : "Ĉirkaŭenhava Plenigado", -DlgTableCaption : "Titolo", -DlgTableSummary : "Summary", //MISSING - -// Table Cell Dialog -DlgCellTitle : "Atributoj de Celo", -DlgCellWidth : "Larĝo", -DlgCellWidthPx : "bitbilderoj", -DlgCellWidthPc : "elcentoj", -DlgCellHeight : "Alto", -DlgCellWordWrap : "Linifaldo", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Jes", -DlgCellWordWrapNo : "Ne", -DlgCellHorAlign : "Horizonta Ĝisrandigo", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Maldekstre", -DlgCellHorAlignCenter : "Centre", -DlgCellHorAlignRight: "Dekstre", -DlgCellVerAlign : "Vertikala Ĝisrandigo", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Supre", -DlgCellVerAlignMiddle : "Centre", -DlgCellVerAlignBottom : "Malsupre", -DlgCellVerAlignBaseline : "Je Malsupro de Teksto", -DlgCellRowSpan : "Linioj Kunfanditaj", -DlgCellCollSpan : "Kolumnoj Kunfanditaj", -DlgCellBackColor : "Fono", -DlgCellBorderColor : "Bordero", -DlgCellBtnSelect : "Elekti...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Serĉi", -DlgFindFindBtn : "Serĉi", -DlgFindNotFoundMsg : "La celteksto ne estas trovita.", - -// Replace Dialog -DlgReplaceTitle : "Anstataŭigi", -DlgReplaceFindLbl : "Serĉi:", -DlgReplaceReplaceLbl : "Anstataŭigi per:", -DlgReplaceCaseChk : "Kongruigi Usklecon", -DlgReplaceReplaceBtn : "Anstataŭigi", -DlgReplaceReplAllBtn : "Anstataŭigi Ĉiun", -DlgReplaceWordChk : "Tuta Vorto", - -// Paste Operations / Dialog -PasteErrorCut : "La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras eltondajn operaciojn. Bonvolu uzi la klavaron por tio (ctrl-X).", -PasteErrorCopy : "La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras kopiajn operaciojn. Bonvolu uzi la klavaron por tio (ctrl-C).", - -PasteAsText : "Interglui kiel Tekston", -PasteFromWord : "Interglui el Word", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (Ctrl+V) and hit OK.", //MISSING -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING -DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING -DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING - -// Color Picker -ColorAutomatic : "Aŭtomata", -ColorMoreColors : "Pli da Koloroj...", - -// Document Properties -DocProps : "Dokumentaj Atributoj", - -// Anchor Dialog -DlgAnchorTitle : "Ankraj Atributoj", -DlgAnchorName : "Ankra Nomo", -DlgAnchorErrorName : "Bv tajpi la ankran nomon", - -// Speller Pages Dialog -DlgSpellNotInDic : "Ne trovita en la vortaro", -DlgSpellChangeTo : "Ŝanĝi al", -DlgSpellBtnIgnore : "Malatenti", -DlgSpellBtnIgnoreAll : "Malatenti Ĉiun", -DlgSpellBtnReplace : "Anstataŭigi", -DlgSpellBtnReplaceAll : "Anstataŭigi Ĉiun", -DlgSpellBtnUndo : "Malfari", -DlgSpellNoSuggestions : "- Neniu propono -", -DlgSpellProgress : "Literumkontrolado daŭras...", -DlgSpellNoMispell : "Literumkontrolado finita: neniu fuŝo trovita", -DlgSpellNoChanges : "Literumkontrolado finita: neniu vorto ŝanĝita", -DlgSpellOneChange : "Literumkontrolado finita: unu vorto ŝanĝita", -DlgSpellManyChanges : "Literumkontrolado finita: %1 vortoj ŝanĝitaj", - -IeSpellDownload : "Literumada Kontrolilo ne instalita. Ĉu vi volas elŝuti ĝin nun?", - -// Button Dialog -DlgButtonText : "Teksto (Valoro)", -DlgButtonType : "Tipo", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nomo", -DlgCheckboxValue : "Valoro", -DlgCheckboxSelected : "Elektita", - -// Form Dialog -DlgFormName : "Nomo", -DlgFormAction : "Ago", -DlgFormMethod : "Metodo", - -// Select Field Dialog -DlgSelectName : "Nomo", -DlgSelectValue : "Valoro", -DlgSelectSize : "Grando", -DlgSelectLines : "Linioj", -DlgSelectChkMulti : "Permesi Plurajn Elektojn", -DlgSelectOpAvail : "Elektoj Disponeblaj", -DlgSelectOpText : "Teksto", -DlgSelectOpValue : "Valoro", -DlgSelectBtnAdd : "Aldoni", -DlgSelectBtnModify : "Modifi", -DlgSelectBtnUp : "Supren", -DlgSelectBtnDown : "Malsupren", -DlgSelectBtnSetValue : "Agordi kiel Elektitan Valoron", -DlgSelectBtnDelete : "Forigi", - -// Textarea Dialog -DlgTextareaName : "Nomo", -DlgTextareaCols : "Kolumnoj", -DlgTextareaRows : "Vicoj", - -// Text Field Dialog -DlgTextName : "Nomo", -DlgTextValue : "Valoro", -DlgTextCharWidth : "Signolarĝo", -DlgTextMaxChars : "Maksimuma Nombro da Signoj", -DlgTextType : "Tipo", -DlgTextTypeText : "Teksto", -DlgTextTypePass : "Pasvorto", - -// Hidden Field Dialog -DlgHiddenName : "Nomo", -DlgHiddenValue : "Valoro", - -// Bulleted List Dialog -BulletedListProp : "Atributoj de Bula Listo", -NumberedListProp : "Atributoj de Numera Listo", -DlgLstStart : "Start", //MISSING -DlgLstType : "Tipo", -DlgLstTypeCircle : "Cirklo", -DlgLstTypeDisc : "Disc", //MISSING -DlgLstTypeSquare : "Kvadrato", -DlgLstTypeNumbers : "Ciferoj (1, 2, 3)", -DlgLstTypeLCase : "Minusklaj Literoj (a, b, c)", -DlgLstTypeUCase : "Majusklaj Literoj (A, B, C)", -DlgLstTypeSRoman : "Malgrandaj Romanaj Ciferoj (i, ii, iii)", -DlgLstTypeLRoman : "Grandaj Romanaj Ciferoj (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Ĝeneralaĵoj", -DlgDocBackTab : "Fono", -DlgDocColorsTab : "Koloroj kaj Marĝenoj", -DlgDocMetaTab : "Metadatumoj", - -DlgDocPageTitle : "Paĝotitolo", -DlgDocLangDir : "Skribdirekto de la Lingvo", -DlgDocLangDirLTR : "De maldekstro dekstren (LTR)", -DlgDocLangDirRTL : "De dekstro maldekstren (LTR)", -DlgDocLangCode : "Lingvokodo", -DlgDocCharSet : "Signara Kodo", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Alia Signara Kodo", - -DlgDocDocType : "Dokumenta Tipo", -DlgDocDocTypeOther : "Alia Dokumenta Tipo", -DlgDocIncXHTML : "Inkluzivi XHTML Deklaroj", -DlgDocBgColor : "Fona Koloro", -DlgDocBgImage : "URL de Fona Bildo", -DlgDocBgNoScroll : "Neruluma Fono", -DlgDocCText : "Teksto", -DlgDocCLink : "Ligilo", -DlgDocCVisited : "Vizitita Ligilo", -DlgDocCActive : "Aktiva Ligilo", -DlgDocMargins : "Paĝaj Marĝenoj", -DlgDocMaTop : "Supra", -DlgDocMaLeft : "Maldekstra", -DlgDocMaRight : "Dekstra", -DlgDocMaBottom : "Malsupra", -DlgDocMeIndex : "Ŝlosilvortoj de la Dokumento (apartigita de komoj)", -DlgDocMeDescr : "Dokumenta Priskribo", -DlgDocMeAuthor : "Verkinto", -DlgDocMeCopy : "Kopirajto", -DlgDocPreview : "Aspekto", - -// Templates Dialog -Templates : "Templates", //MISSING -DlgTemplatesTitle : "Content Templates", //MISSING -DlgTemplatesSelMsg : "Please select the template to open in the editor
    (the actual contents will be lost):", //MISSING -DlgTemplatesLoading : "Loading templates list. Please wait...", //MISSING -DlgTemplatesNoTpl : "(No templates defined)", //MISSING -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "Pri", -DlgAboutBrowserInfoTab : "Informoj pri TTT-legilo", -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "versio", -DlgAboutInfo : "Por pli da informoj, vizitu", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/es.js b/modules/editor/skins/fckeditor/editor/lang/es.js deleted file mode 100644 index c6f655a23..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/es.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Spanish language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Contraer Barra", -ToolbarExpand : "Expandir Barra", - -// Toolbar Items and Context Menu -Save : "Guardar", -NewPage : "Nueva Página", -Preview : "Vista Previa", -Cut : "Cortar", -Copy : "Copiar", -Paste : "Pegar", -PasteText : "Pegar como texto plano", -PasteWord : "Pegar desde Word", -Print : "Imprimir", -SelectAll : "Seleccionar Todo", -RemoveFormat : "Eliminar Formato", -InsertLinkLbl : "Vínculo", -InsertLink : "Insertar/Editar Vínculo", -RemoveLink : "Eliminar Vínculo", -VisitLink : "Abrir enlace", -Anchor : "Referencia", -AnchorDelete : "Eliminar Referencia", -InsertImageLbl : "Imagen", -InsertImage : "Insertar/Editar Imagen", -InsertFlashLbl : "Flash", -InsertFlash : "Insertar/Editar Flash", -InsertTableLbl : "Tabla", -InsertTable : "Insertar/Editar Tabla", -InsertLineLbl : "Línea", -InsertLine : "Insertar Línea Horizontal", -InsertSpecialCharLbl: "Caracter Especial", -InsertSpecialChar : "Insertar Caracter Especial", -InsertSmileyLbl : "Emoticons", -InsertSmiley : "Insertar Emoticons", -About : "Acerca de FCKeditor", -Bold : "Negrita", -Italic : "Cursiva", -Underline : "Subrayado", -StrikeThrough : "Tachado", -Subscript : "Subíndice", -Superscript : "Superíndice", -LeftJustify : "Alinear a Izquierda", -CenterJustify : "Centrar", -RightJustify : "Alinear a Derecha", -BlockJustify : "Justificado", -DecreaseIndent : "Disminuir Sangría", -IncreaseIndent : "Aumentar Sangría", -Blockquote : "Cita", -CreateDiv : "Crear contenedor (div)", -EditDiv : "Editar contenedor (div)", -DeleteDiv : "Eliminar contenedor (div)", -Undo : "Deshacer", -Redo : "Rehacer", -NumberedListLbl : "Numeración", -NumberedList : "Insertar/Eliminar Numeración", -BulletedListLbl : "Viñetas", -BulletedList : "Insertar/Eliminar Viñetas", -ShowTableBorders : "Mostrar Bordes de Tablas", -ShowDetails : "Mostrar saltos de Párrafo", -Style : "Estilo", -FontFormat : "Formato", -Font : "Fuente", -FontSize : "Tamaño", -TextColor : "Color de Texto", -BGColor : "Color de Fondo", -Source : "Fuente HTML", -Find : "Buscar", -Replace : "Reemplazar", -SpellCheck : "Ortografía", -UniversalKeyboard : "Teclado Universal", -PageBreakLbl : "Salto de Página", -PageBreak : "Insertar Salto de Página", - -Form : "Formulario", -Checkbox : "Casilla de Verificación", -RadioButton : "Botones de Radio", -TextField : "Campo de Texto", -Textarea : "Area de Texto", -HiddenField : "Campo Oculto", -Button : "Botón", -SelectionField : "Campo de Selección", -ImageButton : "Botón Imagen", - -FitWindow : "Maximizar el tamaño del editor", -ShowBlocks : "Mostrar bloques", - -// Context Menu -EditLink : "Editar Vínculo", -CellCM : "Celda", -RowCM : "Fila", -ColumnCM : "Columna", -InsertRowAfter : "Insertar fila en la parte inferior", -InsertRowBefore : "Insertar fila en la parte superior", -DeleteRows : "Eliminar Filas", -InsertColumnAfter : "Insertar columna a la derecha", -InsertColumnBefore : "Insertar columna a la izquierda", -DeleteColumns : "Eliminar Columnas", -InsertCellAfter : "Insertar celda a la derecha", -InsertCellBefore : "Insertar celda a la izquierda", -DeleteCells : "Eliminar Celdas", -MergeCells : "Combinar Celdas", -MergeRight : "Combinar a la derecha", -MergeDown : "Combinar hacia abajo", -HorizontalSplitCell : "Dividir la celda horizontalmente", -VerticalSplitCell : "Dividir la celda verticalmente", -TableDelete : "Eliminar Tabla", -CellProperties : "Propiedades de Celda", -TableProperties : "Propiedades de Tabla", -ImageProperties : "Propiedades de Imagen", -FlashProperties : "Propiedades de Flash", - -AnchorProp : "Propiedades de Referencia", -ButtonProp : "Propiedades de Botón", -CheckboxProp : "Propiedades de Casilla", -HiddenFieldProp : "Propiedades de Campo Oculto", -RadioButtonProp : "Propiedades de Botón de Radio", -ImageButtonProp : "Propiedades de Botón de Imagen", -TextFieldProp : "Propiedades de Campo de Texto", -SelectionFieldProp : "Propiedades de Campo de Selección", -TextareaProp : "Propiedades de Area de Texto", -FormProp : "Propiedades de Formulario", - -FontFormats : "Normal;Con formato;Dirección;Encabezado 1;Encabezado 2;Encabezado 3;Encabezado 4;Encabezado 5;Encabezado 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Procesando XHTML. Por favor, espere...", -Done : "Hecho", -PasteWordConfirm : "El texto que desea parece provenir de Word. Desea depurarlo antes de pegarlo?", -NotCompatiblePaste : "Este comando está disponible sólo para Internet Explorer version 5.5 or superior. Desea pegar sin depurar?", -UnknownToolbarItem : "Item de barra desconocido \"%1\"", -UnknownCommand : "Nombre de comando desconocido \"%1\"", -NotImplemented : "Comando no implementado", -UnknownToolbarSet : "Nombre de barra \"%1\" no definido", -NoActiveX : "La configuración de las opciones de seguridad de su navegador puede estar limitando algunas características del editor. Por favor active la opción \"Ejecutar controles y complementos de ActiveX \", de lo contrario puede experimentar errores o ausencia de funcionalidades.", -BrowseServerBlocked : "La ventana de visualización del servidor no pudo ser abierta. Verifique que su navegador no esté bloqueando las ventanas emergentes (pop up).", -DialogBlocked : "No se ha podido abrir la ventana de diálogo. Verifique que su navegador no esté bloqueando las ventanas emergentes (pop up).", -VisitLinkBlocked : "Nose ha podido abrir la ventana. Asegurese de que todos los bloqueadores de popups están deshabilitados.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancelar", -DlgBtnClose : "Cerrar", -DlgBtnBrowseServer : "Ver Servidor", -DlgAdvancedTag : "Avanzado", -DlgOpOther : "", -DlgInfoTab : "Información", -DlgAlertUrl : "Inserte el URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Orientación", -DlgGenLangDirLtr : "Izquierda a Derecha (LTR)", -DlgGenLangDirRtl : "Derecha a Izquierda (RTL)", -DlgGenLangCode : "Cód. de idioma", -DlgGenAccessKey : "Clave de Acceso", -DlgGenName : "Nombre", -DlgGenTabIndex : "Indice de tabulación", -DlgGenLongDescr : "Descripción larga URL", -DlgGenClass : "Clases de hojas de estilo", -DlgGenTitle : "Título", -DlgGenContType : "Tipo de Contenido", -DlgGenLinkCharset : "Fuente de caracteres vinculado", -DlgGenStyle : "Estilo", - -// Image Dialog -DlgImgTitle : "Propiedades de Imagen", -DlgImgInfoTab : "Información de Imagen", -DlgImgBtnUpload : "Enviar al Servidor", -DlgImgURL : "URL", -DlgImgUpload : "Cargar", -DlgImgAlt : "Texto Alternativo", -DlgImgWidth : "Anchura", -DlgImgHeight : "Altura", -DlgImgLockRatio : "Proporcional", -DlgBtnResetSize : "Tamaño Original", -DlgImgBorder : "Borde", -DlgImgHSpace : "Esp.Horiz", -DlgImgVSpace : "Esp.Vert", -DlgImgAlign : "Alineación", -DlgImgAlignLeft : "Izquierda", -DlgImgAlignAbsBottom: "Abs inferior", -DlgImgAlignAbsMiddle: "Abs centro", -DlgImgAlignBaseline : "Línea de base", -DlgImgAlignBottom : "Pie", -DlgImgAlignMiddle : "Centro", -DlgImgAlignRight : "Derecha", -DlgImgAlignTextTop : "Tope del texto", -DlgImgAlignTop : "Tope", -DlgImgPreview : "Vista Previa", -DlgImgAlertUrl : "Por favor escriba la URL de la imagen", -DlgImgLinkTab : "Vínculo", - -// Flash Dialog -DlgFlashTitle : "Propiedades de Flash", -DlgFlashChkPlay : "Autoejecución", -DlgFlashChkLoop : "Repetir", -DlgFlashChkMenu : "Activar Menú Flash", -DlgFlashScale : "Escala", -DlgFlashScaleAll : "Mostrar todo", -DlgFlashScaleNoBorder : "Sin Borde", -DlgFlashScaleFit : "Ajustado", - -// Link Dialog -DlgLnkWindowTitle : "Vínculo", -DlgLnkInfoTab : "Información de Vínculo", -DlgLnkTargetTab : "Destino", - -DlgLnkType : "Tipo de vínculo", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Referencia en esta página", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocolo", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Seleccionar una referencia", -DlgLnkAnchorByName : "Por Nombre de Referencia", -DlgLnkAnchorById : "Por ID de elemento", -DlgLnkNoAnchors : "(No hay referencias disponibles en el documento)", -DlgLnkEMail : "Dirección de E-Mail", -DlgLnkEMailSubject : "Título del Mensaje", -DlgLnkEMailBody : "Cuerpo del Mensaje", -DlgLnkUpload : "Cargar", -DlgLnkBtnUpload : "Enviar al Servidor", - -DlgLnkTarget : "Destino", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Nueva Ventana(_blank)", -DlgLnkTargetParent : "Ventana Padre (_parent)", -DlgLnkTargetSelf : "Misma Ventana (_self)", -DlgLnkTargetTop : "Ventana primaria (_top)", -DlgLnkTargetFrameName : "Nombre del Marco Destino", -DlgLnkPopWinName : "Nombre de Ventana Emergente", -DlgLnkPopWinFeat : "Características de Ventana Emergente", -DlgLnkPopResize : "Ajustable", -DlgLnkPopLocation : "Barra de ubicación", -DlgLnkPopMenu : "Barra de Menú", -DlgLnkPopScroll : "Barras de desplazamiento", -DlgLnkPopStatus : "Barra de Estado", -DlgLnkPopToolbar : "Barra de Herramientas", -DlgLnkPopFullScrn : "Pantalla Completa (IE)", -DlgLnkPopDependent : "Dependiente (Netscape)", -DlgLnkPopWidth : "Anchura", -DlgLnkPopHeight : "Altura", -DlgLnkPopLeft : "Posición Izquierda", -DlgLnkPopTop : "Posición Derecha", - -DlnLnkMsgNoUrl : "Por favor tipee el vínculo URL", -DlnLnkMsgNoEMail : "Por favor tipee la dirección de e-mail", -DlnLnkMsgNoAnchor : "Por favor seleccione una referencia", -DlnLnkMsgInvPopName : "El nombre debe empezar con un caracter alfanumérico y no debe contener espacios", - -// Color Dialog -DlgColorTitle : "Seleccionar Color", -DlgColorBtnClear : "Ninguno", -DlgColorHighlight : "Resaltado", -DlgColorSelected : "Seleccionado", - -// Smiley Dialog -DlgSmileyTitle : "Insertar un Emoticon", - -// Special Character Dialog -DlgSpecialCharTitle : "Seleccione un caracter especial", - -// Table Dialog -DlgTableTitle : "Propiedades de Tabla", -DlgTableRows : "Filas", -DlgTableColumns : "Columnas", -DlgTableBorder : "Tamaño de Borde", -DlgTableAlign : "Alineación", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Izquierda", -DlgTableAlignCenter : "Centrado", -DlgTableAlignRight : "Derecha", -DlgTableWidth : "Anchura", -DlgTableWidthPx : "pixeles", -DlgTableWidthPc : "porcentaje", -DlgTableHeight : "Altura", -DlgTableCellSpace : "Esp. e/celdas", -DlgTableCellPad : "Esp. interior", -DlgTableCaption : "Título", -DlgTableSummary : "Síntesis", - -// Table Cell Dialog -DlgCellTitle : "Propiedades de Celda", -DlgCellWidth : "Anchura", -DlgCellWidthPx : "pixeles", -DlgCellWidthPc : "porcentaje", -DlgCellHeight : "Altura", -DlgCellWordWrap : "Cortar Línea", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Si", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Alineación Horizontal", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Izquierda", -DlgCellHorAlignCenter : "Centrado", -DlgCellHorAlignRight: "Derecha", -DlgCellVerAlign : "Alineación Vertical", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Tope", -DlgCellVerAlignMiddle : "Medio", -DlgCellVerAlignBottom : "ie", -DlgCellVerAlignBaseline : "Línea de Base", -DlgCellRowSpan : "Abarcar Filas", -DlgCellCollSpan : "Abarcar Columnas", -DlgCellBackColor : "Color de Fondo", -DlgCellBorderColor : "Color de Borde", -DlgCellBtnSelect : "Seleccione...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Buscar y Reemplazar", - -// Find Dialog -DlgFindTitle : "Buscar", -DlgFindFindBtn : "Buscar", -DlgFindNotFoundMsg : "El texto especificado no ha sido encontrado.", - -// Replace Dialog -DlgReplaceTitle : "Reemplazar", -DlgReplaceFindLbl : "Texto a buscar:", -DlgReplaceReplaceLbl : "Reemplazar con:", -DlgReplaceCaseChk : "Coincidir may/min", -DlgReplaceReplaceBtn : "Reemplazar", -DlgReplaceReplAllBtn : "Reemplazar Todo", -DlgReplaceWordChk : "Coincidir toda la palabra", - -// Paste Operations / Dialog -PasteErrorCut : "La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de cortado. Por favor use el teclado (Ctrl+X).", -PasteErrorCopy : "La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de copiado. Por favor use el teclado (Ctrl+C).", - -PasteAsText : "Pegar como Texto Plano", -PasteFromWord : "Pegar desde Word", - -DlgPasteMsg2 : "Por favor pegue dentro del cuadro utilizando el teclado (Ctrl+V); luego presione OK.", -DlgPasteSec : "Debido a la configuración de seguridad de su navegador, el editor no tiene acceso al portapapeles. Es necesario que lo pegue de nuevo en esta ventana.", -DlgPasteIgnoreFont : "Ignorar definiciones de fuentes", -DlgPasteRemoveStyles : "Remover definiciones de estilo", - -// Color Picker -ColorAutomatic : "Automático", -ColorMoreColors : "Más Colores...", - -// Document Properties -DocProps : "Propiedades del Documento", - -// Anchor Dialog -DlgAnchorTitle : "Propiedades de la Referencia", -DlgAnchorName : "Nombre de la Referencia", -DlgAnchorErrorName : "Por favor, complete el nombre de la Referencia", - -// Speller Pages Dialog -DlgSpellNotInDic : "No se encuentra en el Diccionario", -DlgSpellChangeTo : "Cambiar a", -DlgSpellBtnIgnore : "Ignorar", -DlgSpellBtnIgnoreAll : "Ignorar Todo", -DlgSpellBtnReplace : "Reemplazar", -DlgSpellBtnReplaceAll : "Reemplazar Todo", -DlgSpellBtnUndo : "Deshacer", -DlgSpellNoSuggestions : "- No hay sugerencias -", -DlgSpellProgress : "Control de Ortografía en progreso...", -DlgSpellNoMispell : "Control finalizado: no se encontraron errores", -DlgSpellNoChanges : "Control finalizado: no se ha cambiado ninguna palabra", -DlgSpellOneChange : "Control finalizado: se ha cambiado una palabra", -DlgSpellManyChanges : "Control finalizado: se ha cambiado %1 palabras", - -IeSpellDownload : "Módulo de Control de Ortografía no instalado. ¿Desea descargarlo ahora?", - -// Button Dialog -DlgButtonText : "Texto (Valor)", -DlgButtonType : "Tipo", -DlgButtonTypeBtn : "Boton", -DlgButtonTypeSbm : "Enviar", -DlgButtonTypeRst : "Reestablecer", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nombre", -DlgCheckboxValue : "Valor", -DlgCheckboxSelected : "Seleccionado", - -// Form Dialog -DlgFormName : "Nombre", -DlgFormAction : "Acción", -DlgFormMethod : "Método", - -// Select Field Dialog -DlgSelectName : "Nombre", -DlgSelectValue : "Valor", -DlgSelectSize : "Tamaño", -DlgSelectLines : "Lineas", -DlgSelectChkMulti : "Permitir múltiple selección", -DlgSelectOpAvail : "Opciones disponibles", -DlgSelectOpText : "Texto", -DlgSelectOpValue : "Valor", -DlgSelectBtnAdd : "Agregar", -DlgSelectBtnModify : "Modificar", -DlgSelectBtnUp : "Subir", -DlgSelectBtnDown : "Bajar", -DlgSelectBtnSetValue : "Establecer como predeterminado", -DlgSelectBtnDelete : "Eliminar", - -// Textarea Dialog -DlgTextareaName : "Nombre", -DlgTextareaCols : "Columnas", -DlgTextareaRows : "Filas", - -// Text Field Dialog -DlgTextName : "Nombre", -DlgTextValue : "Valor", -DlgTextCharWidth : "Caracteres de ancho", -DlgTextMaxChars : "Máximo caracteres", -DlgTextType : "Tipo", -DlgTextTypeText : "Texto", -DlgTextTypePass : "Contraseña", - -// Hidden Field Dialog -DlgHiddenName : "Nombre", -DlgHiddenValue : "Valor", - -// Bulleted List Dialog -BulletedListProp : "Propiedades de Viñetas", -NumberedListProp : "Propiedades de Numeraciones", -DlgLstStart : "Inicio", -DlgLstType : "Tipo", -DlgLstTypeCircle : "Círculo", -DlgLstTypeDisc : "Disco", -DlgLstTypeSquare : "Cuadrado", -DlgLstTypeNumbers : "Números (1, 2, 3)", -DlgLstTypeLCase : "letras en minúsculas (a, b, c)", -DlgLstTypeUCase : "letras en mayúsculas (A, B, C)", -DlgLstTypeSRoman : "Números Romanos (i, ii, iii)", -DlgLstTypeLRoman : "Números Romanos (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "General", -DlgDocBackTab : "Fondo", -DlgDocColorsTab : "Colores y Márgenes", -DlgDocMetaTab : "Meta Información", - -DlgDocPageTitle : "Título de Página", -DlgDocLangDir : "Orientación de idioma", -DlgDocLangDirLTR : "Izq. a Derecha (LTR)", -DlgDocLangDirRTL : "Der. a Izquierda (RTL)", -DlgDocLangCode : "Código de Idioma", -DlgDocCharSet : "Codif. de Conjunto de Caracteres", -DlgDocCharSetCE : "Centro Europeo", -DlgDocCharSetCT : "Chino Tradicional (Big5)", -DlgDocCharSetCR : "Cirílico", -DlgDocCharSetGR : "Griego", -DlgDocCharSetJP : "Japonés", -DlgDocCharSetKR : "Coreano", -DlgDocCharSetTR : "Turco", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Europeo occidental", -DlgDocCharSetOther : "Otra Codificación", - -DlgDocDocType : "Encabezado de Tipo de Documento", -DlgDocDocTypeOther : "Otro Encabezado", -DlgDocIncXHTML : "Incluir Declaraciones XHTML", -DlgDocBgColor : "Color de Fondo", -DlgDocBgImage : "URL de Imagen de Fondo", -DlgDocBgNoScroll : "Fondo sin rolido", -DlgDocCText : "Texto", -DlgDocCLink : "Vínculo", -DlgDocCVisited : "Vínculo Visitado", -DlgDocCActive : "Vínculo Activo", -DlgDocMargins : "Márgenes de Página", -DlgDocMaTop : "Tope", -DlgDocMaLeft : "Izquierda", -DlgDocMaRight : "Derecha", -DlgDocMaBottom : "Pie", -DlgDocMeIndex : "Claves de indexación del Documento (separados por comas)", -DlgDocMeDescr : "Descripción del Documento", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Vista Previa", - -// Templates Dialog -Templates : "Plantillas", -DlgTemplatesTitle : "Contenido de Plantillas", -DlgTemplatesSelMsg : "Por favor selecciona la plantilla a abrir en el editor
    (el contenido actual se perderá):", -DlgTemplatesLoading : "Cargando lista de Plantillas. Por favor, aguarde...", -DlgTemplatesNoTpl : "(No hay plantillas definidas)", -DlgTemplatesReplace : "Reemplazar el contenido actual", - -// About Dialog -DlgAboutAboutTab : "Acerca de", -DlgAboutBrowserInfoTab : "Información de Navegador", -DlgAboutLicenseTab : "Licencia", -DlgAboutVersion : "versión", -DlgAboutInfo : "Para mayor información por favor dirigirse a", - -// Div Dialog -DlgDivGeneralTab : "General", -DlgDivAdvancedTab : "Avanzado", -DlgDivStyle : "Estilo", -DlgDivInlineStyle : "Estilos CSS" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/et.js b/modules/editor/skins/fckeditor/editor/lang/et.js deleted file mode 100644 index 8c9d5ff44..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/et.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Estonian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Voldi tööriistariba", -ToolbarExpand : "Laienda tööriistariba", - -// Toolbar Items and Context Menu -Save : "Salvesta", -NewPage : "Uus leht", -Preview : "Eelvaade", -Cut : "Lõika", -Copy : "Kopeeri", -Paste : "Kleebi", -PasteText : "Kleebi tavalise tekstina", -PasteWord : "Kleebi Wordist", -Print : "Prindi", -SelectAll : "Vali kõik", -RemoveFormat : "Eemalda vorming", -InsertLinkLbl : "Link", -InsertLink : "Sisesta link / Muuda linki", -RemoveLink : "Eemalda link", -VisitLink : "Open Link", //MISSING -Anchor : "Sisesta ankur / Muuda ankrut", -AnchorDelete : "Eemalda ankur", -InsertImageLbl : "Pilt", -InsertImage : "Sisesta pilt / Muuda pilti", -InsertFlashLbl : "Flash", -InsertFlash : "Sisesta flash / Muuda flashi", -InsertTableLbl : "Tabel", -InsertTable : "Sisesta tabel / Muuda tabelit", -InsertLineLbl : "Joon", -InsertLine : "Sisesta horisontaaljoon", -InsertSpecialCharLbl: "Erimärgid", -InsertSpecialChar : "Sisesta erimärk", -InsertSmileyLbl : "Emotikon", -InsertSmiley : "Sisesta emotikon", -About : "FCKeditor teave", -Bold : "Paks", -Italic : "Kursiiv", -Underline : "Allajoonitud", -StrikeThrough : "Läbijoonitud", -Subscript : "Allindeks", -Superscript : "Ülaindeks", -LeftJustify : "Vasakjoondus", -CenterJustify : "Keskjoondus", -RightJustify : "Paremjoondus", -BlockJustify : "Rööpjoondus", -DecreaseIndent : "Vähenda taanet", -IncreaseIndent : "Suurenda taanet", -Blockquote : "Blokktsitaat", -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "Võta tagasi", -Redo : "Korda toimingut", -NumberedListLbl : "Nummerdatud loetelu", -NumberedList : "Sisesta/Eemalda nummerdatud loetelu", -BulletedListLbl : "Punktiseeritud loetelu", -BulletedList : "Sisesta/Eemalda punktiseeritud loetelu", -ShowTableBorders : "Näita tabeli jooni", -ShowDetails : "Näita üksikasju", -Style : "Laad", -FontFormat : "Vorming", -Font : "Kiri", -FontSize : "Suurus", -TextColor : "Teksti värv", -BGColor : "Tausta värv", -Source : "Lähtekood", -Find : "Otsi", -Replace : "Asenda", -SpellCheck : "Kontrolli õigekirja", -UniversalKeyboard : "Universaalne klaviatuur", -PageBreakLbl : "Lehepiir", -PageBreak : "Sisesta lehevahetuskoht", - -Form : "Vorm", -Checkbox : "Märkeruut", -RadioButton : "Raadionupp", -TextField : "Tekstilahter", -Textarea : "Tekstiala", -HiddenField : "Varjatud lahter", -Button : "Nupp", -SelectionField : "Valiklahter", -ImageButton : "Piltnupp", - -FitWindow : "Maksimeeri redaktori mõõtmed", -ShowBlocks : "Näita blokke", - -// Context Menu -EditLink : "Muuda linki", -CellCM : "Lahter", -RowCM : "Rida", -ColumnCM : "Veerg", -InsertRowAfter : "Sisesta rida peale", -InsertRowBefore : "Sisesta rida enne", -DeleteRows : "Eemalda read", -InsertColumnAfter : "Sisesta veerg peale", -InsertColumnBefore : "Sisesta veerg enne", -DeleteColumns : "Eemalda veerud", -InsertCellAfter : "Sisesta lahter peale", -InsertCellBefore : "Sisesta lahter enne", -DeleteCells : "Eemalda lahtrid", -MergeCells : "Ühenda lahtrid", -MergeRight : "Ühenda paremale", -MergeDown : "Ühenda alla", -HorizontalSplitCell : "Poolita lahter horisontaalselt", -VerticalSplitCell : "Poolita lahter vertikaalselt", -TableDelete : "Kustuta tabel", -CellProperties : "Lahtri atribuudid", -TableProperties : "Tabeli atribuudid", -ImageProperties : "Pildi atribuudid", -FlashProperties : "Flash omadused", - -AnchorProp : "Ankru omadused", -ButtonProp : "Nupu omadused", -CheckboxProp : "Märkeruudu omadused", -HiddenFieldProp : "Varjatud lahtri omadused", -RadioButtonProp : "Raadionupu omadused", -ImageButtonProp : "Piltnupu omadused", -TextFieldProp : "Tekstilahtri omadused", -SelectionFieldProp : "Valiklahtri omadused", -TextareaProp : "Tekstiala omadused", -FormProp : "Vormi omadused", - -FontFormats : "Tavaline;Vormindatud;Aadress;Pealkiri 1;Pealkiri 2;Pealkiri 3;Pealkiri 4;Pealkiri 5;Pealkiri 6;Tavaline (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Töötlen XHTML'i. Palun oota...", -Done : "Tehtud", -PasteWordConfirm : "Tekst, mida soovid lisada paistab pärinevat Word'ist. Kas soovid seda enne kleepimist puhastada?", -NotCompatiblePaste : "See käsk on saadaval ainult Internet Explorer versioon 5.5 või uuema puhul. Kas soovid kleepida ilma puhastamata?", -UnknownToolbarItem : "Tundmatu tööriistarea üksus \"%1\"", -UnknownCommand : "Tundmatu käsunimi \"%1\"", -NotImplemented : "Käsku ei täidetud", -UnknownToolbarSet : "Tööriistariba \"%1\" ei eksisteeri", -NoActiveX : "Sinu veebisirvija turvalisuse seaded võivad limiteerida mõningaid tekstirdaktori kasutusvõimalusi. Sa peaksid võimaldama valiku \"Run ActiveX controls and plug-ins\" oma veebisirvija seadetes. Muidu võid sa täheldada vigu tekstiredaktori töös ja märgata puuduvaid funktsioone.", -BrowseServerBlocked : "Ressursside sirvija avamine ebaõnnestus. Võimalda pop-up akende avanemine.", -DialogBlocked : "Ei olenud võimalik avada dialoogi akent. Võimalda pop-up akende avanemine.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Loobu", -DlgBtnClose : "Sulge", -DlgBtnBrowseServer : "Sirvi serverit", -DlgAdvancedTag : "Täpsemalt", -DlgOpOther : "", -DlgInfoTab : "Info", -DlgAlertUrl : "Palun sisesta URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Keele suund", -DlgGenLangDirLtr : "Vasakult paremale (LTR)", -DlgGenLangDirRtl : "Paremalt vasakule (RTL)", -DlgGenLangCode : "Keele kood", -DlgGenAccessKey : "Juurdepääsu võti", -DlgGenName : "Nimi", -DlgGenTabIndex : "Tab indeks", -DlgGenLongDescr : "Pikk kirjeldus URL", -DlgGenClass : "Stiilistiku klassid", -DlgGenTitle : "Juhendav tiitel", -DlgGenContType : "Juhendava sisu tüüp", -DlgGenLinkCharset : "Lingitud ressurssi märgistik", -DlgGenStyle : "Laad", - -// Image Dialog -DlgImgTitle : "Pildi atribuudid", -DlgImgInfoTab : "Pildi info", -DlgImgBtnUpload : "Saada serverissee", -DlgImgURL : "URL", -DlgImgUpload : "Lae üles", -DlgImgAlt : "Alternatiivne tekst", -DlgImgWidth : "Laius", -DlgImgHeight : "Kõrgus", -DlgImgLockRatio : "Lukusta kuvasuhe", -DlgBtnResetSize : "Lähtesta suurus", -DlgImgBorder : "Joon", -DlgImgHSpace : "H. vaheruum", -DlgImgVSpace : "V. vaheruum", -DlgImgAlign : "Joondus", -DlgImgAlignLeft : "Vasak", -DlgImgAlignAbsBottom: "Abs alla", -DlgImgAlignAbsMiddle: "Abs keskele", -DlgImgAlignBaseline : "Baasjoonele", -DlgImgAlignBottom : "Alla", -DlgImgAlignMiddle : "Keskele", -DlgImgAlignRight : "Paremale", -DlgImgAlignTextTop : "Tekstit üles", -DlgImgAlignTop : "Üles", -DlgImgPreview : "Eelvaade", -DlgImgAlertUrl : "Palun kirjuta pildi URL", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash omadused", -DlgFlashChkPlay : "Automaatne start ", -DlgFlashChkLoop : "Korduv", -DlgFlashChkMenu : "Võimalda flash menüü", -DlgFlashScale : "Mastaap", -DlgFlashScaleAll : "Näita kõike", -DlgFlashScaleNoBorder : "Äärist ei ole", -DlgFlashScaleFit : "Täpne sobivus", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Lingi info", -DlgLnkTargetTab : "Sihtkoht", - -DlgLnkType : "Lingi tüüp", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Ankur sellel lehel", -DlgLnkTypeEMail : "E-post", -DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Vali ankur", -DlgLnkAnchorByName : "Ankru nime järgi", -DlgLnkAnchorById : "Elemendi id järgi", -DlgLnkNoAnchors : "(Selles dokumendis ei ole ankruid)", -DlgLnkEMail : "E-posti aadress", -DlgLnkEMailSubject : "Sõnumi teema", -DlgLnkEMailBody : "Sõnumi tekst", -DlgLnkUpload : "Lae üles", -DlgLnkBtnUpload : "Saada serverisse", - -DlgLnkTarget : "Sihtkoht", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Uus aken (_blank)", -DlgLnkTargetParent : "Esivanem aken (_parent)", -DlgLnkTargetSelf : "Sama aken (_self)", -DlgLnkTargetTop : "Pealmine aken (_top)", -DlgLnkTargetFrameName : "Sihtmärk raami nimi", -DlgLnkPopWinName : "Hüpikakna nimi", -DlgLnkPopWinFeat : "Hüpikakna omadused", -DlgLnkPopResize : "Suurendatav", -DlgLnkPopLocation : "Aadressiriba", -DlgLnkPopMenu : "Menüüriba", -DlgLnkPopScroll : "Kerimisribad", -DlgLnkPopStatus : "Olekuriba", -DlgLnkPopToolbar : "Tööriistariba", -DlgLnkPopFullScrn : "Täisekraan (IE)", -DlgLnkPopDependent : "Sõltuv (Netscape)", -DlgLnkPopWidth : "Laius", -DlgLnkPopHeight : "Kõrgus", -DlgLnkPopLeft : "Vasak asukoht", -DlgLnkPopTop : "Ülemine asukoht", - -DlnLnkMsgNoUrl : "Palun kirjuta lingi URL", -DlnLnkMsgNoEMail : "Palun kirjuta E-Posti aadress", -DlnLnkMsgNoAnchor : "Palun vali ankur", -DlnLnkMsgInvPopName : "Hüpikakna nimi peab algama alfabeetilise tähega ja ei tohi sisaldada tühikuid", - -// Color Dialog -DlgColorTitle : "Vali värv", -DlgColorBtnClear : "Tühjenda", -DlgColorHighlight : "Märgi", -DlgColorSelected : "Valitud", - -// Smiley Dialog -DlgSmileyTitle : "Sisesta emotikon", - -// Special Character Dialog -DlgSpecialCharTitle : "Vali erimärk", - -// Table Dialog -DlgTableTitle : "Tabeli atribuudid", -DlgTableRows : "Read", -DlgTableColumns : "Veerud", -DlgTableBorder : "Joone suurus", -DlgTableAlign : "Joondus", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Vasak", -DlgTableAlignCenter : "Kesk", -DlgTableAlignRight : "Parem", -DlgTableWidth : "Laius", -DlgTableWidthPx : "pikslit", -DlgTableWidthPc : "protsenti", -DlgTableHeight : "Kõrgus", -DlgTableCellSpace : "Lahtri vahe", -DlgTableCellPad : "Lahtri täidis", -DlgTableCaption : "Tabeli tiitel", -DlgTableSummary : "Kokkuvõte", - -// Table Cell Dialog -DlgCellTitle : "Lahtri atribuudid", -DlgCellWidth : "Laius", -DlgCellWidthPx : "pikslit", -DlgCellWidthPc : "protsenti", -DlgCellHeight : "Kõrgus", -DlgCellWordWrap : "Sõna ülekanne", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Jah", -DlgCellWordWrapNo : "Ei", -DlgCellHorAlign : "Horisontaaljoondus", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Vasak", -DlgCellHorAlignCenter : "Kesk", -DlgCellHorAlignRight: "Parem", -DlgCellVerAlign : "Vertikaaljoondus", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Üles", -DlgCellVerAlignMiddle : "Keskele", -DlgCellVerAlignBottom : "Alla", -DlgCellVerAlignBaseline : "Baasjoonele", -DlgCellRowSpan : "Reaulatus", -DlgCellCollSpan : "Veeruulatus", -DlgCellBackColor : "Tausta värv", -DlgCellBorderColor : "Joone värv", -DlgCellBtnSelect : "Vali...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Otsi ja asenda", - -// Find Dialog -DlgFindTitle : "Otsi", -DlgFindFindBtn : "Otsi", -DlgFindNotFoundMsg : "Valitud teksti ei leitud.", - -// Replace Dialog -DlgReplaceTitle : "Asenda", -DlgReplaceFindLbl : "Leia mida:", -DlgReplaceReplaceLbl : "Asenda millega:", -DlgReplaceCaseChk : "Erista suur- ja väiketähti", -DlgReplaceReplaceBtn : "Asenda", -DlgReplaceReplAllBtn : "Asenda kõik", -DlgReplaceWordChk : "Otsi terviklike sõnu", - -// Paste Operations / Dialog -PasteErrorCut : "Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt lõigata. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl+X).", -PasteErrorCopy : "Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt kopeerida. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl+C).", - -PasteAsText : "Kleebi tavalise tekstina", -PasteFromWord : "Kleebi Wordist", - -DlgPasteMsg2 : "Palun kleebi järgnevasse kasti kasutades klaviatuuri klahvikombinatsiooni (Ctrl+V) ja vajuta seejärel OK.", -DlgPasteSec : "Sinu veebisirvija turvaseadete tõttu, ei oma redaktor otsest ligipääsu lõikelaua andmetele. Sa pead kleepima need uuesti siia aknasse.", -DlgPasteIgnoreFont : "Ignoreeri kirja definitsioone", -DlgPasteRemoveStyles : "Eemalda stiilide definitsioonid", - -// Color Picker -ColorAutomatic : "Automaatne", -ColorMoreColors : "Rohkem värve...", - -// Document Properties -DocProps : "Dokumendi omadused", - -// Anchor Dialog -DlgAnchorTitle : "Ankru omadused", -DlgAnchorName : "Ankru nimi", -DlgAnchorErrorName : "Palun sisest ankru nimi", - -// Speller Pages Dialog -DlgSpellNotInDic : "Puudub sõnastikust", -DlgSpellChangeTo : "Muuda", -DlgSpellBtnIgnore : "Ignoreeri", -DlgSpellBtnIgnoreAll : "Ignoreeri kõiki", -DlgSpellBtnReplace : "Asenda", -DlgSpellBtnReplaceAll : "Asenda kõik", -DlgSpellBtnUndo : "Võta tagasi", -DlgSpellNoSuggestions : "- Soovitused puuduvad -", -DlgSpellProgress : "Toimub õigekirja kontroll...", -DlgSpellNoMispell : "Õigekirja kontroll sooritatud: õigekirjuvigu ei leitud", -DlgSpellNoChanges : "Õigekirja kontroll sooritatud: ühtegi sõna ei muudetud", -DlgSpellOneChange : "Õigekirja kontroll sooritatud: üks sõna muudeti", -DlgSpellManyChanges : "Õigekirja kontroll sooritatud: %1 sõna muudetud", - -IeSpellDownload : "Õigekirja kontrollija ei ole installeeritud. Soovid sa selle alla laadida?", - -// Button Dialog -DlgButtonText : "Tekst (väärtus)", -DlgButtonType : "Tüüp", -DlgButtonTypeBtn : "Nupp", -DlgButtonTypeSbm : "Saada", -DlgButtonTypeRst : "Lähtesta", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nimi", -DlgCheckboxValue : "Väärtus", -DlgCheckboxSelected : "Valitud", - -// Form Dialog -DlgFormName : "Nimi", -DlgFormAction : "Toiming", -DlgFormMethod : "Meetod", - -// Select Field Dialog -DlgSelectName : "Nimi", -DlgSelectValue : "Väärtus", -DlgSelectSize : "Suurus", -DlgSelectLines : "ridu", -DlgSelectChkMulti : "Võimalda mitu valikut", -DlgSelectOpAvail : "Võimalikud valikud", -DlgSelectOpText : "Tekst", -DlgSelectOpValue : "Väärtus", -DlgSelectBtnAdd : "Lisa", -DlgSelectBtnModify : "Muuda", -DlgSelectBtnUp : "Üles", -DlgSelectBtnDown : "Alla", -DlgSelectBtnSetValue : "Sea valitud olekuna", -DlgSelectBtnDelete : "Kustuta", - -// Textarea Dialog -DlgTextareaName : "Nimi", -DlgTextareaCols : "Veerge", -DlgTextareaRows : "Ridu", - -// Text Field Dialog -DlgTextName : "Nimi", -DlgTextValue : "Väärtus", -DlgTextCharWidth : "Laius (tähemärkides)", -DlgTextMaxChars : "Maksimaalselt tähemärke", -DlgTextType : "Tüüp", -DlgTextTypeText : "Tekst", -DlgTextTypePass : "Parool", - -// Hidden Field Dialog -DlgHiddenName : "Nimi", -DlgHiddenValue : "Väärtus", - -// Bulleted List Dialog -BulletedListProp : "Täpitud loetelu omadused", -NumberedListProp : "Nummerdatud loetelu omadused", -DlgLstStart : "Alusta", -DlgLstType : "Tüüp", -DlgLstTypeCircle : "Ring", -DlgLstTypeDisc : "Ketas", -DlgLstTypeSquare : "Ruut", -DlgLstTypeNumbers : "Numbrid (1, 2, 3)", -DlgLstTypeLCase : "Väiketähed (a, b, c)", -DlgLstTypeUCase : "Suurtähed (A, B, C)", -DlgLstTypeSRoman : "Väiksed Rooma numbrid (i, ii, iii)", -DlgLstTypeLRoman : "Suured Rooma numbrid (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Üldine", -DlgDocBackTab : "Taust", -DlgDocColorsTab : "Värvid ja veerised", -DlgDocMetaTab : "Meta andmed", - -DlgDocPageTitle : "Lehekülje tiitel", -DlgDocLangDir : "Kirja suund", -DlgDocLangDirLTR : "Vasakult paremale (LTR)", -DlgDocLangDirRTL : "Paremalt vasakule (RTL)", -DlgDocLangCode : "Keele kood", -DlgDocCharSet : "Märgistiku kodeering", -DlgDocCharSetCE : "Kesk-Euroopa", -DlgDocCharSetCT : "Hiina traditsiooniline (Big5)", -DlgDocCharSetCR : "Kirillisa", -DlgDocCharSetGR : "Kreeka", -DlgDocCharSetJP : "Jaapani", -DlgDocCharSetKR : "Korea", -DlgDocCharSetTR : "Türgi", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Lääne-Euroopa", -DlgDocCharSetOther : "Ülejäänud märgistike kodeeringud", - -DlgDocDocType : "Dokumendi tüüppäis", -DlgDocDocTypeOther : "Teised dokumendi tüüppäised", -DlgDocIncXHTML : "Arva kaasa XHTML deklaratsioonid", -DlgDocBgColor : "Taustavärv", -DlgDocBgImage : "Taustapildi URL", -DlgDocBgNoScroll : "Mittekeritav tagataust", -DlgDocCText : "Tekst", -DlgDocCLink : "Link", -DlgDocCVisited : "Külastatud link", -DlgDocCActive : "Aktiivne link", -DlgDocMargins : "Lehekülje äärised", -DlgDocMaTop : "Ülaserv", -DlgDocMaLeft : "Vasakserv", -DlgDocMaRight : "Paremserv", -DlgDocMaBottom : "Alaserv", -DlgDocMeIndex : "Dokumendi võtmesõnad (eraldatud komadega)", -DlgDocMeDescr : "Dokumendi kirjeldus", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Autoriõigus", -DlgDocPreview : "Eelvaade", - -// Templates Dialog -Templates : "Šabloon", -DlgTemplatesTitle : "Sisu šabloonid", -DlgTemplatesSelMsg : "Palun vali šabloon, et avada see redaktoris
    (praegune sisu läheb kaotsi):", -DlgTemplatesLoading : "Laen šabloonide nimekirja. Palun oota...", -DlgTemplatesNoTpl : "(Ühtegi šablooni ei ole defineeritud)", -DlgTemplatesReplace : "Asenda tegelik sisu", - -// About Dialog -DlgAboutAboutTab : "Teave", -DlgAboutBrowserInfoTab : "Veebisirvija info", -DlgAboutLicenseTab : "Litsents", -DlgAboutVersion : "versioon", -DlgAboutInfo : "Täpsema info saamiseks mine", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/eu.js b/modules/editor/skins/fckeditor/editor/lang/eu.js deleted file mode 100644 index 2ad6f2666..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/eu.js +++ /dev/null @@ -1,527 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Basque language file. - * Euskara hizkuntza fitxategia. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Estutu Tresna Barra", -ToolbarExpand : "Hedatu Tresna Barra", - -// Toolbar Items and Context Menu -Save : "Gorde", -NewPage : "Orrialde Berria", -Preview : "Aurrebista", -Cut : "Ebaki", -Copy : "Kopiatu", -Paste : "Itsatsi", -PasteText : "Itsatsi testu bezala", -PasteWord : "Itsatsi Word-etik", -Print : "Inprimatu", -SelectAll : "Hautatu dena", -RemoveFormat : "Kendu Formatoa", -InsertLinkLbl : "Esteka", -InsertLink : "Txertatu/Editatu Esteka", -RemoveLink : "Kendu Esteka", -VisitLink : "Open Link", //MISSING -Anchor : "Aingura", -AnchorDelete : "Ezabatu Aingura", -InsertImageLbl : "Irudia", -InsertImage : "Txertatu/Editatu Irudia", -InsertFlashLbl : "Flasha", -InsertFlash : "Txertatu/Editatu Flasha", -InsertTableLbl : "Taula", -InsertTable : "Txertatu/Editatu Taula", -InsertLineLbl : "Lerroa", -InsertLine : "Txertatu Marra Horizontala", -InsertSpecialCharLbl: "Karaktere Berezia", -InsertSpecialChar : "Txertatu Karaktere Berezia", -InsertSmileyLbl : "Aurpegierak", -InsertSmiley : "Txertatu Aurpegierak", -About : "FCKeditor-ri buruz", -Bold : "Lodia", -Italic : "Etzana", -Underline : "Azpimarratu", -StrikeThrough : "Marratua", -Subscript : "Azpi-indize", -Superscript : "Goi-indize", -LeftJustify : "Lerrokatu Ezkerrean", -CenterJustify : "Lerrokatu Erdian", -RightJustify : "Lerrokatu Eskuman", -BlockJustify : "Justifikatu", -DecreaseIndent : "Txikitu Koska", -IncreaseIndent : "Handitu Koska", -Blockquote : "Aipamen blokea", -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "Desegin", -Redo : "Berregin", -NumberedListLbl : "Zenbakidun Zerrenda", -NumberedList : "Txertatu/Kendu Zenbakidun zerrenda", -BulletedListLbl : "Buletdun Zerrenda", -BulletedList : "Txertatu/Kendu Buletdun zerrenda", -ShowTableBorders : "Erakutsi Taularen Ertzak", -ShowDetails : "Erakutsi Xehetasunak", -Style : "Estiloa", -FontFormat : "Formatoa", -Font : "Letra-tipoa", -FontSize : "Tamaina", -TextColor : "Testu Kolorea", -BGColor : "Atzeko kolorea", -Source : "HTML Iturburua", -Find : "Bilatu", -Replace : "Ordezkatu", -SpellCheck : "Ortografia", -UniversalKeyboard : "Teklatu Unibertsala", -PageBreakLbl : "Orrialde-jauzia", -PageBreak : "Txertatu Orrialde-jauzia", - -Form : "Formularioa", -Checkbox : "Kontrol-laukia", -RadioButton : "Aukera-botoia", -TextField : "Testu Eremua", -Textarea : "Testu-area", -HiddenField : "Ezkutuko Eremua", -Button : "Botoia", -SelectionField : "Hautespen Eremua", -ImageButton : "Irudi Botoia", - -FitWindow : "Maximizatu editorearen tamaina", -ShowBlocks : "Blokeak erakutsi", - -// Context Menu -EditLink : "Aldatu Esteka", -CellCM : "Gelaxka", -RowCM : "Errenkada", -ColumnCM : "Zutabea", -InsertRowAfter : "Txertatu Lerroa Ostean", -InsertRowBefore : "Txertatu Lerroa Aurretik", -DeleteRows : "Ezabatu Errenkadak", -InsertColumnAfter : "Txertatu Zutabea Ostean", -InsertColumnBefore : "Txertatu Zutabea Aurretik", -DeleteColumns : "Ezabatu Zutabeak", -InsertCellAfter : "Txertatu Gelaxka Ostean", -InsertCellBefore : "Txertatu Gelaxka Aurretik", -DeleteCells : "Kendu Gelaxkak", -MergeCells : "Batu Gelaxkak", -MergeRight : "Elkartu Eskumara", -MergeDown : "Elkartu Behera", -HorizontalSplitCell : "Banatu Gelaxkak Horizontalki", -VerticalSplitCell : "Banatu Gelaxkak Bertikalki", -TableDelete : "Ezabatu Taula", -CellProperties : "Gelaxkaren Ezaugarriak", -TableProperties : "Taularen Ezaugarriak", -ImageProperties : "Irudiaren Ezaugarriak", -FlashProperties : "Flasharen Ezaugarriak", - -AnchorProp : "Ainguraren Ezaugarriak", -ButtonProp : "Botoiaren Ezaugarriak", -CheckboxProp : "Kontrol-laukiko Ezaugarriak", -HiddenFieldProp : "Ezkutuko Eremuaren Ezaugarriak", -RadioButtonProp : "Aukera-botoiaren Ezaugarriak", -ImageButtonProp : "Irudi Botoiaren Ezaugarriak", -TextFieldProp : "Testu Eremuaren Ezaugarriak", -SelectionFieldProp : "Hautespen Eremuaren Ezaugarriak", -TextareaProp : "Testu-arearen Ezaugarriak", -FormProp : "Formularioaren Ezaugarriak", - -FontFormats : "Arrunta;Formateatua;Helbidea;Izenburua 1;Izenburua 2;Izenburua 3;Izenburua 4;Izenburua 5;Izenburua 6;Paragrafoa (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML Prozesatzen. Itxaron mesedez...", -Done : "Eginda", -PasteWordConfirm : "Itsatsi nahi duzun textua Wordetik hartua dela dirudi. Itsatsi baino lehen garbitu nahi duzu?", -NotCompatiblePaste : "Komando hau Internet Explorer 5.5 bertsiorako edo ondorengoentzako erabilgarria dago. Garbitu gabe itsatsi nahi duzu?", -UnknownToolbarItem : "Ataza barrako elementu ezezaguna \"%1\"", -UnknownCommand : "Komando izen ezezaguna \"%1\"", -NotImplemented : "Komando ez inplementatua", -UnknownToolbarSet : "Ataza barra \"%1\" taldea ez da existitzen", -NoActiveX : "Zure nabigatzailearen segustasun hobespenak editore honen zenbait ezaugarri mugatu ditzake. \"ActiveX kontrolak eta plug-inak\" aktibatu beharko zenituzke, bestela erroreak eta ezaugarrietan mugak egon daitezke.", -BrowseServerBlocked : "Baliabideen arakatzailea ezin da ireki. Ziurtatu popup blokeatzaileak desgaituta dituzula.", -DialogBlocked : "Ezin da elkarrizketa-leihoa ireki. Ziurtatu popup blokeatzaileak desgaituta dituzula.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "Ados", -DlgBtnCancel : "Utzi", -DlgBtnClose : "Itxi", -DlgBtnBrowseServer : "Zerbitzaria arakatu", -DlgAdvancedTag : "Aurreratua", -DlgOpOther : "", -DlgInfoTab : "Informazioa", -DlgAlertUrl : "Mesedez URLa idatzi ezazu", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Hizkuntzaren Norabidea", -DlgGenLangDirLtr : "Ezkerretik Eskumara(LTR)", -DlgGenLangDirRtl : "Eskumatik Ezkerrera (RTL)", -DlgGenLangCode : "Hizkuntza Kodea", -DlgGenAccessKey : "Sarbide-gakoa", -DlgGenName : "Izena", -DlgGenTabIndex : "Tabulazio Indizea", -DlgGenLongDescr : "URL Deskribapen Luzea", -DlgGenClass : "Estilo-orriko Klaseak", -DlgGenTitle : "Izenburua", -DlgGenContType : "Eduki Mota (Content Type)", -DlgGenLinkCharset : "Estekatutako Karaktere Multzoa", -DlgGenStyle : "Estiloa", - -// Image Dialog -DlgImgTitle : "Irudi Ezaugarriak", -DlgImgInfoTab : "Irudi informazioa", -DlgImgBtnUpload : "Zerbitzarira bidalia", -DlgImgURL : "URL", -DlgImgUpload : "Gora Kargatu", -DlgImgAlt : "Textu Alternatiboa", -DlgImgWidth : "Zabalera", -DlgImgHeight : "Altuera", -DlgImgLockRatio : "Erlazioa Blokeatu", -DlgBtnResetSize : "Tamaina Berrezarri", -DlgImgBorder : "Ertza", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Lerrokatu", -DlgImgAlignLeft : "Ezkerrera", -DlgImgAlignAbsBottom: "Abs Behean", -DlgImgAlignAbsMiddle: "Abs Erdian", -DlgImgAlignBaseline : "Oinan", -DlgImgAlignBottom : "Behean", -DlgImgAlignMiddle : "Erdian", -DlgImgAlignRight : "Eskuman", -DlgImgAlignTextTop : "Testua Goian", -DlgImgAlignTop : "Goian", -DlgImgPreview : "Aurrebista", -DlgImgAlertUrl : "Mesedez Irudiaren URLa idatzi", -DlgImgLinkTab : "Esteka", - -// Flash Dialog -DlgFlashTitle : "Flasharen Ezaugarriak", -DlgFlashChkPlay : "Automatikoki Erreproduzitu", -DlgFlashChkLoop : "Begizta", -DlgFlashChkMenu : "Flasharen Menua Gaitu", -DlgFlashScale : "Eskalatu", -DlgFlashScaleAll : "Dena erakutsi", -DlgFlashScaleNoBorder : "Ertzarik gabe", -DlgFlashScaleFit : "Doitu", - -// Link Dialog -DlgLnkWindowTitle : "Esteka", -DlgLnkInfoTab : "Estekaren Informazioa", -DlgLnkTargetTab : "Helburua", - -DlgLnkType : "Esteka Mota", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Aingura horrialde honentan", -DlgLnkTypeEMail : "ePosta", -DlgLnkProto : "Protokoloa", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Aingura bat hautatu", -DlgLnkAnchorByName : "Aingura izenagatik", -DlgLnkAnchorById : "Elementuaren ID-gatik", -DlgLnkNoAnchors : "(Ez daude aingurak eskuragarri dokumentuan)", -DlgLnkEMail : "ePosta Helbidea", -DlgLnkEMailSubject : "Mezuaren Gaia", -DlgLnkEMailBody : "Mezuaren Gorputza", -DlgLnkUpload : "Gora kargatu", -DlgLnkBtnUpload : "Zerbitzarira bidali", - -DlgLnkTarget : "Target (Helburua)", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Lehio Berria (_blank)", -DlgLnkTargetParent : "Lehio Gurasoa (_parent)", -DlgLnkTargetSelf : "Lehio Berdina (_self)", -DlgLnkTargetTop : "Goiko Lehioa (_top)", -DlgLnkTargetFrameName : "Marko Helburuaren Izena", -DlgLnkPopWinName : "Popup Lehioaren Izena", -DlgLnkPopWinFeat : "Popup Lehioaren Ezaugarriak", -DlgLnkPopResize : "Tamaina Aldakorra", -DlgLnkPopLocation : "Kokaleku Barra", -DlgLnkPopMenu : "Menu Barra", -DlgLnkPopScroll : "Korritze Barrak", -DlgLnkPopStatus : "Egoera Barra", -DlgLnkPopToolbar : "Tresna Barra", -DlgLnkPopFullScrn : "Pantaila Osoa (IE)", -DlgLnkPopDependent : "Menpekoa (Netscape)", -DlgLnkPopWidth : "Zabalera", -DlgLnkPopHeight : "Altuera", -DlgLnkPopLeft : "Ezkerreko Posizioa", -DlgLnkPopTop : "Goiko Posizioa", - -DlnLnkMsgNoUrl : "Mesedez URL esteka idatzi", -DlnLnkMsgNoEMail : "Mesedez ePosta helbidea idatzi", -DlnLnkMsgNoAnchor : "Mesedez aingura bat aukeratu", -DlnLnkMsgInvPopName : "Popup lehioaren izenak karaktere alfabetiko batekin hasi behar du eta eta ezin du zuriunerik izan", - -// Color Dialog -DlgColorTitle : "Kolore Aukeraketa", -DlgColorBtnClear : "Garbitu", -DlgColorHighlight : "Nabarmendu", -DlgColorSelected : "Aukeratuta", - -// Smiley Dialog -DlgSmileyTitle : "Aurpegiera Sartu", - -// Special Character Dialog -DlgSpecialCharTitle : "Karaktere Berezia Aukeratu", - -// Table Dialog -DlgTableTitle : "Taularen Ezaugarriak", -DlgTableRows : "Lerroak", -DlgTableColumns : "Zutabeak", -DlgTableBorder : "Ertzaren Zabalera", -DlgTableAlign : "Lerrokatu", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Ezkerrean", -DlgTableAlignCenter : "Erdian", -DlgTableAlignRight : "Eskuman", -DlgTableWidth : "Zabalera", -DlgTableWidthPx : "pixel", -DlgTableWidthPc : "ehuneko", -DlgTableHeight : "Altuera", -DlgTableCellSpace : "Gelaxka arteko tartea", -DlgTableCellPad : "Gelaxken betegarria", -DlgTableCaption : "Epigrafea", -DlgTableSummary : "Laburpena", - -// Table Cell Dialog -DlgCellTitle : "Gelaxken Ezaugarriak", -DlgCellWidth : "Zabalera", -DlgCellWidthPx : "pixel", -DlgCellWidthPc : "ehuneko", -DlgCellHeight : "Altuera", -DlgCellWordWrap : "Itzulbira", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Bai", -DlgCellWordWrapNo : "Ez", -DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Ezkerrean", -DlgCellHorAlignCenter : "Erdian", -DlgCellHorAlignRight: "Eskuman", -DlgCellVerAlign : "Lerrokatu Bertikalki", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Goian", -DlgCellVerAlignMiddle : "Erdian", -DlgCellVerAlignBottom : "Behean", -DlgCellVerAlignBaseline : "Oinan", -DlgCellRowSpan : "Lerroak Hedatu", -DlgCellCollSpan : "Zutabeak Hedatu", -DlgCellBackColor : "Atzeko Kolorea", -DlgCellBorderColor : "Ertzako Kolorea", -DlgCellBtnSelect : "Aukertau...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Bilatu eta Ordeztu", - -// Find Dialog -DlgFindTitle : "Bilaketa", -DlgFindFindBtn : "Bilatu", -DlgFindNotFoundMsg : "Idatzitako testua ez da topatu.", - -// Replace Dialog -DlgReplaceTitle : "Ordeztu", -DlgReplaceFindLbl : "Zer bilatu:", -DlgReplaceReplaceLbl : "Zerekin ordeztu:", -DlgReplaceCaseChk : "Maiuskula/minuskula", -DlgReplaceReplaceBtn : "Ordeztu", -DlgReplaceReplAllBtn : "Ordeztu Guztiak", -DlgReplaceWordChk : "Esaldi osoa bilatu", - -// Paste Operations / Dialog -PasteErrorCut : "Zure web nabigatzailearen segurtasun ezarpenak testuak automatikoki moztea ez dute baimentzen. Mesedez teklatua erabili ezazu (Ctrl+X).", -PasteErrorCopy : "Zure web nabigatzailearen segurtasun ezarpenak testuak automatikoki kopiatzea ez dute baimentzen. Mesedez teklatua erabili ezazu (Ctrl+C).", - -PasteAsText : "Testu Arrunta bezala Itsatsi", -PasteFromWord : "Word-etik itsatsi", - -DlgPasteMsg2 : "Mesedez teklatua erabilita (Ctrl+V) ondorego eremuan testua itsatsi eta OK sakatu.", -DlgPasteSec : "Nabigatzailearen segurtasun ezarpenak direla eta, editoreak ezin du arbela zuzenean erabili. Leiho honetan berriro itsatsi behar duzu.", -DlgPasteIgnoreFont : "Letra Motaren definizioa ezikusi", -DlgPasteRemoveStyles : "Estilo definizioak kendu", - -// Color Picker -ColorAutomatic : "Automatikoa", -ColorMoreColors : "Kolore gehiago...", - -// Document Properties -DocProps : "Dokumentuaren Ezarpenak", - -// Anchor Dialog -DlgAnchorTitle : "Ainguraren Ezaugarriak", -DlgAnchorName : "Ainguraren Izena", -DlgAnchorErrorName : "Idatzi ainguraren izena", - -// Speller Pages Dialog -DlgSpellNotInDic : "Ez dago hiztegian", -DlgSpellChangeTo : "Honekin ordezkatu", -DlgSpellBtnIgnore : "Ezikusi", -DlgSpellBtnIgnoreAll : "Denak Ezikusi", -DlgSpellBtnReplace : "Ordezkatu", -DlgSpellBtnReplaceAll : "Denak Ordezkatu", -DlgSpellBtnUndo : "Desegin", -DlgSpellNoSuggestions : "- Iradokizunik ez -", -DlgSpellProgress : "Zuzenketa ortografikoa martxan...", -DlgSpellNoMispell : "Zuzenketa ortografikoa bukatuta: Akatsik ez", -DlgSpellNoChanges : "Zuzenketa ortografikoa bukatuta: Ez da ezer aldatu", -DlgSpellOneChange : "Zuzenketa ortografikoa bukatuta: Hitz bat aldatu da", -DlgSpellManyChanges : "Zuzenketa ortografikoa bukatuta: %1 hitz aldatu dira", - -IeSpellDownload : "Zuzentzaile ortografikoa ez dago instalatuta. Deskargatu nahi duzu?", - -// Button Dialog -DlgButtonText : "Testua (Balorea)", -DlgButtonType : "Mota", -DlgButtonTypeBtn : "Botoia", -DlgButtonTypeSbm : "Bidali", -DlgButtonTypeRst : "Garbitu", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Izena", -DlgCheckboxValue : "Balorea", -DlgCheckboxSelected : "Hautatuta", - -// Form Dialog -DlgFormName : "Izena", -DlgFormAction : "Ekintza", -DlgFormMethod : "Method", - -// Select Field Dialog -DlgSelectName : "Izena", -DlgSelectValue : "Balorea", -DlgSelectSize : "Tamaina", -DlgSelectLines : "lerro kopurura", -DlgSelectChkMulti : "Hautaketa anitzak baimendu", -DlgSelectOpAvail : "Aukera Eskuragarriak", -DlgSelectOpText : "Testua", -DlgSelectOpValue : "Balorea", -DlgSelectBtnAdd : "Gehitu", -DlgSelectBtnModify : "Aldatu", -DlgSelectBtnUp : "Gora", -DlgSelectBtnDown : "Behera", -DlgSelectBtnSetValue : "Aukeratutako balorea ezarri", -DlgSelectBtnDelete : "Ezabatu", - -// Textarea Dialog -DlgTextareaName : "Izena", -DlgTextareaCols : "Zutabeak", -DlgTextareaRows : "Lerroak", - -// Text Field Dialog -DlgTextName : "Izena", -DlgTextValue : "Balorea", -DlgTextCharWidth : "Zabalera", -DlgTextMaxChars : "Zenbat karaktere gehienez", -DlgTextType : "Mota", -DlgTextTypeText : "Testua", -DlgTextTypePass : "Pasahitza", - -// Hidden Field Dialog -DlgHiddenName : "Izena", -DlgHiddenValue : "Balorea", - -// Bulleted List Dialog -BulletedListProp : "Buletdun Zerrendaren Ezarpenak", -NumberedListProp : "Zenbakidun Zerrendaren Ezarpenak", -DlgLstStart : "Hasiera", -DlgLstType : "Mota", -DlgLstTypeCircle : "Zirkulua", -DlgLstTypeDisc : "Diskoa", -DlgLstTypeSquare : "Karratua", -DlgLstTypeNumbers : "Zenbakiak (1, 2, 3)", -DlgLstTypeLCase : "Letra xeheak (a, b, c)", -DlgLstTypeUCase : "Letra larriak (A, B, C)", -DlgLstTypeSRoman : "Erromatar zenbaki zeheak (i, ii, iii)", -DlgLstTypeLRoman : "Erromatar zenbaki larriak (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Orokorra", -DlgDocBackTab : "Atzekaldea", -DlgDocColorsTab : "Koloreak eta Marjinak", -DlgDocMetaTab : "Meta Informazioa", - -DlgDocPageTitle : "Orriaren Izenburua", -DlgDocLangDir : "Hizkuntzaren Norabidea", -DlgDocLangDirLTR : "Ezkerretik eskumara (LTR)", -DlgDocLangDirRTL : "Eskumatik ezkerrera (RTL)", -DlgDocLangCode : "Hizkuntzaren Kodea", -DlgDocCharSet : "Karaktere Multzoaren Kodeketa", -DlgDocCharSetCE : "Erdialdeko Europakoa", -DlgDocCharSetCT : "Txinatar Tradizionala (Big5)", -DlgDocCharSetCR : "Zirilikoa", -DlgDocCharSetGR : "Grekoa", -DlgDocCharSetJP : "Japoniarra", -DlgDocCharSetKR : "Korearra", -DlgDocCharSetTR : "Turkiarra", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Mendebaldeko Europakoa", -DlgDocCharSetOther : "Beste Karaktere Multzoko Kodeketa", - -DlgDocDocType : "Document Type Goiburua", -DlgDocDocTypeOther : "Beste Document Type Goiburua", -DlgDocIncXHTML : "XHTML Ezarpenak", -DlgDocBgColor : "Atzeko Kolorea", -DlgDocBgImage : "Atzeko Irudiaren URL-a", -DlgDocBgNoScroll : "Korritze gabeko Atzekaldea", -DlgDocCText : "Testua", -DlgDocCLink : "Estekak", -DlgDocCVisited : "Bisitatutako Estekak", -DlgDocCActive : "Esteka Aktiboa", -DlgDocMargins : "Orrialdearen marjinak", -DlgDocMaTop : "Goian", -DlgDocMaLeft : "Ezkerrean", -DlgDocMaRight : "Eskuman", -DlgDocMaBottom : "Behean", -DlgDocMeIndex : "Dokumentuaren Gako-hitzak (komarekin bananduta)", -DlgDocMeDescr : "Dokumentuaren Deskribapena", -DlgDocMeAuthor : "Egilea", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Aurrebista", - -// Templates Dialog -Templates : "Txantiloiak", -DlgTemplatesTitle : "Eduki Txantiloiak", -DlgTemplatesSelMsg : "Mesedez txantiloia aukeratu editorean kargatzeko
    (orain dauden edukiak galduko dira):", -DlgTemplatesLoading : "Txantiloiak kargatzen. Itxaron mesedez...", -DlgTemplatesNoTpl : "(Ez dago definitutako txantiloirik)", -DlgTemplatesReplace : "Ordeztu oraingo edukiak", - -// About Dialog -DlgAboutAboutTab : "Honi buruz", -DlgAboutBrowserInfoTab : "Nabigatzailearen Informazioa", -DlgAboutLicenseTab : "Lizentzia", -DlgAboutVersion : "bertsioa", -DlgAboutInfo : "Informazio gehiago eskuratzeko hona joan", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/fa.js b/modules/editor/skins/fckeditor/editor/lang/fa.js deleted file mode 100644 index a63852670..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/fa.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Persian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "rtl", - -ToolbarCollapse : "برچیدن نوارابزار", -ToolbarExpand : "گستردن نوارابزار", - -// Toolbar Items and Context Menu -Save : "ذخیره", -NewPage : "برگهٴ تازه", -Preview : "پیش‌نمایش", -Cut : "برش", -Copy : "کپی", -Paste : "چسباندن", -PasteText : "چسباندن به عنوان متن ِساده", -PasteWord : "چسباندن از Word", -Print : "چاپ", -SelectAll : "گزینش همه", -RemoveFormat : "برداشتن فرمت", -InsertLinkLbl : "پیوند", -InsertLink : "گنجاندن/ویرایش ِپیوند", -RemoveLink : "برداشتن پیوند", -VisitLink : "باز کردن پیوند", -Anchor : "گنجاندن/ویرایش ِلنگر", -AnchorDelete : "برداشتن لنگر", -InsertImageLbl : "تصویر", -InsertImage : "گنجاندن/ویرایش ِتصویر", -InsertFlashLbl : "Flash", -InsertFlash : "گنجاندن/ویرایش ِFlash", -InsertTableLbl : "جدول", -InsertTable : "گنجاندن/ویرایش ِجدول", -InsertLineLbl : "خط", -InsertLine : "گنجاندن خط ِافقی", -InsertSpecialCharLbl: "نویسهٴ ویژه", -InsertSpecialChar : "گنجاندن نویسهٴ ویژه", -InsertSmileyLbl : "خندانک", -InsertSmiley : "گنجاندن خندانک", -About : "دربارهٴ FCKeditor", -Bold : "درشت", -Italic : "خمیده", -Underline : "خط‌زیردار", -StrikeThrough : "میان‌خط", -Subscript : "زیرنویس", -Superscript : "بالانویس", -LeftJustify : "چپ‌چین", -CenterJustify : "میان‌چین", -RightJustify : "راست‌چین", -BlockJustify : "بلوک‌چین", -DecreaseIndent : "کاهش تورفتگی", -IncreaseIndent : "افزایش تورفتگی", -Blockquote : "بلوک نقل قول", -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "واچیدن", -Redo : "بازچیدن", -NumberedListLbl : "فهرست شماره‌دار", -NumberedList : "گنجاندن/برداشتن فهرست شماره‌دار", -BulletedListLbl : "فهرست نقطه‌ای", -BulletedList : "گنجاندن/برداشتن فهرست نقطه‌ای", -ShowTableBorders : "نمایش لبهٴ جدول", -ShowDetails : "نمایش جزئیات", -Style : "سبک", -FontFormat : "فرمت", -Font : "قلم", -FontSize : "اندازه", -TextColor : "رنگ متن", -BGColor : "رنگ پس‌زمینه", -Source : "منبع", -Find : "جستجو", -Replace : "جایگزینی", -SpellCheck : "بررسی املا", -UniversalKeyboard : "صفحه‌کلید جهانی", -PageBreakLbl : "شکستگی ِپایان ِبرگه", -PageBreak : "گنجاندن شکستگی ِپایان ِبرگه", - -Form : "فرم", -Checkbox : "خانهٴ گزینه‌ای", -RadioButton : "دکمهٴ رادیویی", -TextField : "فیلد متنی", -Textarea : "ناحیهٴ متنی", -HiddenField : "فیلد پنهان", -Button : "دکمه", -SelectionField : "فیلد چندگزینه‌ای", -ImageButton : "دکمهٴ تصویری", - -FitWindow : "بیشینه‌سازی ِاندازهٴ ویرایشگر", -ShowBlocks : "نمایش بلوک‌ها", - -// Context Menu -EditLink : "ویرایش پیوند", -CellCM : "سلول", -RowCM : "سطر", -ColumnCM : "ستون", -InsertRowAfter : "افزودن سطر بعد از", -InsertRowBefore : "افزودن سطر قبل از", -DeleteRows : "حذف سطرها", -InsertColumnAfter : "افزودن ستون بعد از", -InsertColumnBefore : "افزودن ستون قبل از", -DeleteColumns : "حذف ستونها", -InsertCellAfter : "افزودن سلول بعد از", -InsertCellBefore : "افزودن سلول قبل از", -DeleteCells : "حذف سلولها", -MergeCells : "ادغام سلولها", -MergeRight : "ادغام به راست", -MergeDown : "ادغام به پایین", -HorizontalSplitCell : "جدا کردن افقی سلول", -VerticalSplitCell : "جدا کردن عمودی سلول", -TableDelete : "پاک‌کردن جدول", -CellProperties : "ویژگیهای سلول", -TableProperties : "ویژگیهای جدول", -ImageProperties : "ویژگیهای تصویر", -FlashProperties : "ویژگیهای Flash", - -AnchorProp : "ویژگیهای لنگر", -ButtonProp : "ویژگیهای دکمه", -CheckboxProp : "ویژگیهای خانهٴ گزینه‌ای", -HiddenFieldProp : "ویژگیهای فیلد پنهان", -RadioButtonProp : "ویژگیهای دکمهٴ رادیویی", -ImageButtonProp : "ویژگیهای دکمهٴ تصویری", -TextFieldProp : "ویژگیهای فیلد متنی", -SelectionFieldProp : "ویژگیهای فیلد چندگزینه‌ای", -TextareaProp : "ویژگیهای ناحیهٴ متنی", -FormProp : "ویژگیهای فرم", - -FontFormats : "نرمال;فرمت‌شده;آدرس;سرنویس 1;سرنویس 2;سرنویس 3;سرنویس 4;سرنویس 5;سرنویس 6;بند;(DIV)", - -// Alerts and Messages -ProcessingXHTML : "پردازش XHTML. لطفا صبر کنید...", -Done : "انجام شد", -PasteWordConfirm : "متنی که می‌خواهید بچسبانید به نظر می‌رسد از Word کپی شده است. آیا می‌خواهید قبل از چسباندن آن را پاک‌سازی کنید؟", -NotCompatiblePaste : "این فرمان برای مرورگر Internet Explorer از نگارش 5.5 یا بالاتر در دسترس است. آیا می‌خواهید بدون پاک‌سازی، متن را بچسبانید؟", -UnknownToolbarItem : "فقرهٴ نوارابزار ناشناخته \"%1\"", -UnknownCommand : "نام دستور ناشناخته \"%1\"", -NotImplemented : "دستور پیاده‌سازی‌نشده", -UnknownToolbarSet : "مجموعهٴ نوارابزار \"%1\" وجود ندارد", -NoActiveX : "تنظیمات امنیتی مرورگر شما ممکن است در بعضی از ویژگیهای مرورگر محدودیت ایجاد کند. شما باید گزینهٴ \"Run ActiveX controls and plug-ins\" را فعال کنید. ممکن است شما با خطاهایی روبرو باشید و متوجه کمبود ویژگیهایی شوید.", -BrowseServerBlocked : "توانایی بازگشایی مرورگر منابع فراهم نیست. اطمینان حاصل کنید که تمامی برنامه‌های پیشگیری از نمایش popup را از کار بازداشته‌اید.", -DialogBlocked : "توانایی بازگشایی پنجرهٴ کوچک ِگفتگو فراهم نیست. اطمینان حاصل کنید که تمامی برنامه‌های پیشگیری از نمایش popup را از کار بازداشته‌اید.", -VisitLinkBlocked : "امکان بازکردن یک پنجره جدید نیست. اطمینان حاصل کنید که تمامی برنامه‌های پیشگیری از نمایش popup را از کار بازداشته‌اید.", - -// Dialogs -DlgBtnOK : "پذیرش", -DlgBtnCancel : "انصراف", -DlgBtnClose : "بستن", -DlgBtnBrowseServer : "فهرست‌نمایی سرور", -DlgAdvancedTag : "پیشرفته", -DlgOpOther : "<غیره>", -DlgInfoTab : "اطلاعات", -DlgAlertUrl : "لطفاً URL را بنویسید", - -// General Dialogs Labels -DlgGenNotSet : "<تعین‌نشده>", -DlgGenId : "شناسه", -DlgGenLangDir : "جهت‌نمای زبان", -DlgGenLangDirLtr : "چپ به راست (LTR)", -DlgGenLangDirRtl : "راست به چپ (RTL)", -DlgGenLangCode : "کد زبان", -DlgGenAccessKey : "کلید دستیابی", -DlgGenName : "نام", -DlgGenTabIndex : "نمایهٴ دسترسی با Tab", -DlgGenLongDescr : "URL توصیف طولانی", -DlgGenClass : "کلاسهای شیوه‌نامه(Stylesheet)", -DlgGenTitle : "عنوان کمکی", -DlgGenContType : "نوع محتوای کمکی", -DlgGenLinkCharset : "نویسه‌گان منبع ِپیوندشده", -DlgGenStyle : "شیوه(style)", - -// Image Dialog -DlgImgTitle : "ویژگیهای تصویر", -DlgImgInfoTab : "اطلاعات تصویر", -DlgImgBtnUpload : "به سرور بفرست", -DlgImgURL : "URL", -DlgImgUpload : "انتقال به سرور", -DlgImgAlt : "متن جایگزین", -DlgImgWidth : "پهنا", -DlgImgHeight : "درازا", -DlgImgLockRatio : "قفل‌کردن ِنسبت", -DlgBtnResetSize : "بازنشانی اندازه", -DlgImgBorder : "لبه", -DlgImgHSpace : "فاصلهٴ افقی", -DlgImgVSpace : "فاصلهٴ عمودی", -DlgImgAlign : "چینش", -DlgImgAlignLeft : "چپ", -DlgImgAlignAbsBottom: "پائین مطلق", -DlgImgAlignAbsMiddle: "وسط مطلق", -DlgImgAlignBaseline : "خط‌پایه", -DlgImgAlignBottom : "پائین", -DlgImgAlignMiddle : "وسط", -DlgImgAlignRight : "راست", -DlgImgAlignTextTop : "متن بالا", -DlgImgAlignTop : "بالا", -DlgImgPreview : "پیش‌نمایش", -DlgImgAlertUrl : "لطفا URL تصویر را بنویسید", -DlgImgLinkTab : "پیوند", - -// Flash Dialog -DlgFlashTitle : "ویژگیهای Flash", -DlgFlashChkPlay : "آغاز ِخودکار", -DlgFlashChkLoop : "اجرای پیاپی", -DlgFlashChkMenu : "دردسترس‌بودن منوی Flash", -DlgFlashScale : "مقیاس", -DlgFlashScaleAll : "نمایش همه", -DlgFlashScaleNoBorder : "بدون کران", -DlgFlashScaleFit : "جایگیری کامل", - -// Link Dialog -DlgLnkWindowTitle : "پیوند", -DlgLnkInfoTab : "اطلاعات پیوند", -DlgLnkTargetTab : "مقصد", - -DlgLnkType : "نوع پیوند", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "لنگر در همین صفحه", -DlgLnkTypeEMail : "پست الکترونیکی", -DlgLnkProto : "پروتکل", -DlgLnkProtoOther : "<دیگر>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "یک لنگر برگزینید", -DlgLnkAnchorByName : "با نام لنگر", -DlgLnkAnchorById : "با شناسهٴ المان", -DlgLnkNoAnchors : "(در این سند لنگری دردسترس نیست)", -DlgLnkEMail : "نشانی پست الکترونیکی", -DlgLnkEMailSubject : "موضوع پیام", -DlgLnkEMailBody : "متن پیام", -DlgLnkUpload : "انتقال به سرور", -DlgLnkBtnUpload : "به سرور بفرست", - -DlgLnkTarget : "مقصد", -DlgLnkTargetFrame : "<فریم>", -DlgLnkTargetPopup : "<پنجرهٴ پاپاپ>", -DlgLnkTargetBlank : "پنجرهٴ دیگر (_blank)", -DlgLnkTargetParent : "پنجرهٴ والد (_parent)", -DlgLnkTargetSelf : "همان پنجره (_self)", -DlgLnkTargetTop : "بالاترین پنجره (_top)", -DlgLnkTargetFrameName : "نام فریم مقصد", -DlgLnkPopWinName : "نام پنجرهٴ پاپاپ", -DlgLnkPopWinFeat : "ویژگیهای پنجرهٴ پاپاپ", -DlgLnkPopResize : "قابل تغییر اندازه", -DlgLnkPopLocation : "نوار موقعیت", -DlgLnkPopMenu : "نوار منو", -DlgLnkPopScroll : "میله‌های پیمایش", -DlgLnkPopStatus : "نوار وضعیت", -DlgLnkPopToolbar : "نوارابزار", -DlgLnkPopFullScrn : "تمام‌صفحه (IE)", -DlgLnkPopDependent : "وابسته (Netscape)", -DlgLnkPopWidth : "پهنا", -DlgLnkPopHeight : "درازا", -DlgLnkPopLeft : "موقعیت ِچپ", -DlgLnkPopTop : "موقعیت ِبالا", - -DlnLnkMsgNoUrl : "لطفا URL پیوند را بنویسید", -DlnLnkMsgNoEMail : "لطفا نشانی پست الکترونیکی را بنویسید", -DlnLnkMsgNoAnchor : "لطفا لنگری را برگزینید", -DlnLnkMsgInvPopName : "نام پنجرهٴ پاپاپ باید با یک نویسهٴ الفبایی آغاز گردد و نباید فاصله‌های خالی در آن باشند", - -// Color Dialog -DlgColorTitle : "گزینش رنگ", -DlgColorBtnClear : "پاک‌کردن", -DlgColorHighlight : "نمونه", -DlgColorSelected : "برگزیده", - -// Smiley Dialog -DlgSmileyTitle : "گنجاندن خندانک", - -// Special Character Dialog -DlgSpecialCharTitle : "گزینش نویسهٴ‌ویژه", - -// Table Dialog -DlgTableTitle : "ویژگیهای جدول", -DlgTableRows : "سطرها", -DlgTableColumns : "ستونها", -DlgTableBorder : "اندازهٴ لبه", -DlgTableAlign : "چینش", -DlgTableAlignNotSet : "<تعین‌نشده>", -DlgTableAlignLeft : "چپ", -DlgTableAlignCenter : "وسط", -DlgTableAlignRight : "راست", -DlgTableWidth : "پهنا", -DlgTableWidthPx : "پیکسل", -DlgTableWidthPc : "درصد", -DlgTableHeight : "درازا", -DlgTableCellSpace : "فاصلهٴ میان سلولها", -DlgTableCellPad : "فاصلهٴ پرشده در سلول", -DlgTableCaption : "عنوان", -DlgTableSummary : "خلاصه", - -// Table Cell Dialog -DlgCellTitle : "ویژگیهای سلول", -DlgCellWidth : "پهنا", -DlgCellWidthPx : "پیکسل", -DlgCellWidthPc : "درصد", -DlgCellHeight : "درازا", -DlgCellWordWrap : "شکستن واژه‌ها", -DlgCellWordWrapNotSet : "<تعین‌نشده>", -DlgCellWordWrapYes : "بله", -DlgCellWordWrapNo : "خیر", -DlgCellHorAlign : "چینش ِافقی", -DlgCellHorAlignNotSet : "<تعین‌نشده>", -DlgCellHorAlignLeft : "چپ", -DlgCellHorAlignCenter : "وسط", -DlgCellHorAlignRight: "راست", -DlgCellVerAlign : "چینش ِعمودی", -DlgCellVerAlignNotSet : "<تعین‌نشده>", -DlgCellVerAlignTop : "بالا", -DlgCellVerAlignMiddle : "میان", -DlgCellVerAlignBottom : "پائین", -DlgCellVerAlignBaseline : "خط‌پایه", -DlgCellRowSpan : "گستردگی سطرها", -DlgCellCollSpan : "گستردگی ستونها", -DlgCellBackColor : "رنگ پس‌زمینه", -DlgCellBorderColor : "رنگ لبه", -DlgCellBtnSelect : "برگزینید...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "جستجو و جایگزینی", - -// Find Dialog -DlgFindTitle : "یافتن", -DlgFindFindBtn : "یافتن", -DlgFindNotFoundMsg : "متن موردنظر یافت نشد.", - -// Replace Dialog -DlgReplaceTitle : "جایگزینی", -DlgReplaceFindLbl : "چه‌چیز را می‌یابید:", -DlgReplaceReplaceLbl : "جایگزینی با:", -DlgReplaceCaseChk : "همسانی در بزرگی و کوچکی نویسه‌ها", -DlgReplaceReplaceBtn : "جایگزینی", -DlgReplaceReplAllBtn : "جایگزینی همهٴ یافته‌ها", -DlgReplaceWordChk : "همسانی با واژهٴ کامل", - -// Paste Operations / Dialog -PasteErrorCut : "تنظیمات امنیتی مرورگر شما اجازه نمی‌دهد که ویرایشگر به طور خودکار عملکردهای برش را انجام دهد. لطفا با دکمه‌های صفحه‌کلید این کار را انجام دهید (Ctrl+X).", -PasteErrorCopy : "تنظیمات امنیتی مرورگر شما اجازه نمی‌دهد که ویرایشگر به طور خودکار عملکردهای کپی‌کردن را انجام دهد. لطفا با دکمه‌های صفحه‌کلید این کار را انجام دهید (Ctrl+C).", - -PasteAsText : "چسباندن به عنوان متن ِساده", -PasteFromWord : "چسباندن از Word", - -DlgPasteMsg2 : "لطفا متن را با کلیدهای (Ctrl+V) در این جعبهٴ متنی بچسبانید و پذیرش را بزنید.", -DlgPasteSec : "به خاطر تنظیمات امنیتی مرورگر شما، ویرایشگر نمی‌تواند دسترسی مستقیم به داده‌های clipboard داشته باشد. شما باید دوباره آنرا در این پنجره بچسبانید.", -DlgPasteIgnoreFont : "چشم‌پوشی از تعاریف نوع قلم", -DlgPasteRemoveStyles : "چشم‌پوشی از تعاریف سبک (style)", - -// Color Picker -ColorAutomatic : "خودکار", -ColorMoreColors : "رنگهای بیشتر...", - -// Document Properties -DocProps : "ویژگیهای سند", - -// Anchor Dialog -DlgAnchorTitle : "ویژگیهای لنگر", -DlgAnchorName : "نام لنگر", -DlgAnchorErrorName : "لطفا نام لنگر را بنویسید", - -// Speller Pages Dialog -DlgSpellNotInDic : "در واژه‌نامه یافت نشد", -DlgSpellChangeTo : "تغییر به", -DlgSpellBtnIgnore : "چشم‌پوشی", -DlgSpellBtnIgnoreAll : "چشم‌پوشی همه", -DlgSpellBtnReplace : "جایگزینی", -DlgSpellBtnReplaceAll : "جایگزینی همه", -DlgSpellBtnUndo : "واچینش", -DlgSpellNoSuggestions : "- پیشنهادی نیست -", -DlgSpellProgress : "بررسی املا در حال انجام...", -DlgSpellNoMispell : "بررسی املا انجام شد. هیچ غلط‌املائی یافت نشد", -DlgSpellNoChanges : "بررسی املا انجام شد. هیچ واژه‌ای تغییر نیافت", -DlgSpellOneChange : "بررسی املا انجام شد. یک واژه تغییر یافت", -DlgSpellManyChanges : "بررسی املا انجام شد. %1 واژه تغییر یافت", - -IeSpellDownload : "بررسی‌کنندهٴ املا نصب نشده است. آیا می‌خواهید آن را هم‌اکنون دریافت کنید؟", - -// Button Dialog -DlgButtonText : "متن (مقدار)", -DlgButtonType : "نوع", -DlgButtonTypeBtn : "دکمه", -DlgButtonTypeSbm : "Submit", -DlgButtonTypeRst : "بازنشانی (Reset)", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "نام", -DlgCheckboxValue : "مقدار", -DlgCheckboxSelected : "برگزیده", - -// Form Dialog -DlgFormName : "نام", -DlgFormAction : "رویداد", -DlgFormMethod : "متد", - -// Select Field Dialog -DlgSelectName : "نام", -DlgSelectValue : "مقدار", -DlgSelectSize : "اندازه", -DlgSelectLines : "خطوط", -DlgSelectChkMulti : "گزینش چندگانه فراهم باشد", -DlgSelectOpAvail : "گزینه‌های دردسترس", -DlgSelectOpText : "متن", -DlgSelectOpValue : "مقدار", -DlgSelectBtnAdd : "افزودن", -DlgSelectBtnModify : "ویرایش", -DlgSelectBtnUp : "بالا", -DlgSelectBtnDown : "پائین", -DlgSelectBtnSetValue : "تنظیم به عنوان مقدار ِبرگزیده", -DlgSelectBtnDelete : "پاک‌کردن", - -// Textarea Dialog -DlgTextareaName : "نام", -DlgTextareaCols : "ستونها", -DlgTextareaRows : "سطرها", - -// Text Field Dialog -DlgTextName : "نام", -DlgTextValue : "مقدار", -DlgTextCharWidth : "پهنای نویسه", -DlgTextMaxChars : "بیشینهٴ نویسه‌ها", -DlgTextType : "نوع", -DlgTextTypeText : "متن", -DlgTextTypePass : "گذرواژه", - -// Hidden Field Dialog -DlgHiddenName : "نام", -DlgHiddenValue : "مقدار", - -// Bulleted List Dialog -BulletedListProp : "ویژگیهای فهرست نقطه‌ای", -NumberedListProp : "ویژگیهای فهرست شماره‌دار", -DlgLstStart : "آغاز", -DlgLstType : "نوع", -DlgLstTypeCircle : "دایره", -DlgLstTypeDisc : "قرص", -DlgLstTypeSquare : "چهارگوش", -DlgLstTypeNumbers : "شماره‌ها (1، 2، 3)", -DlgLstTypeLCase : "نویسه‌های کوچک (a، b، c)", -DlgLstTypeUCase : "نویسه‌های بزرگ (A، B، C)", -DlgLstTypeSRoman : "شمارگان رومی کوچک (i، ii، iii)", -DlgLstTypeLRoman : "شمارگان رومی بزرگ (I، II، III)", - -// Document Properties Dialog -DlgDocGeneralTab : "عمومی", -DlgDocBackTab : "پس‌زمینه", -DlgDocColorsTab : "رنگها و حاشیه‌ها", -DlgDocMetaTab : "فراداده", - -DlgDocPageTitle : "عنوان صفحه", -DlgDocLangDir : "جهت زبان", -DlgDocLangDirLTR : "چپ به راست (LTR(", -DlgDocLangDirRTL : "راست به چپ (RTL(", -DlgDocLangCode : "کد زبان", -DlgDocCharSet : "رمزگذاری نویسه‌گان", -DlgDocCharSetCE : "اروپای مرکزی", -DlgDocCharSetCT : "چینی رسمی (Big5)", -DlgDocCharSetCR : "سیریلیک", -DlgDocCharSetGR : "یونانی", -DlgDocCharSetJP : "ژاپنی", -DlgDocCharSetKR : "کره‌ای", -DlgDocCharSetTR : "ترکی", -DlgDocCharSetUN : "یونیکُد (UTF-8)", -DlgDocCharSetWE : "اروپای غربی", -DlgDocCharSetOther : "رمزگذاری نویسه‌گان دیگر", - -DlgDocDocType : "عنوان نوع سند", -DlgDocDocTypeOther : "عنوان نوع سند دیگر", -DlgDocIncXHTML : "شامل تعاریف XHTML", -DlgDocBgColor : "رنگ پس‌زمینه", -DlgDocBgImage : "URL تصویر پس‌زمینه", -DlgDocBgNoScroll : "پس‌زمینهٴ پیمایش‌ناپذیر", -DlgDocCText : "متن", -DlgDocCLink : "پیوند", -DlgDocCVisited : "پیوند مشاهده‌شده", -DlgDocCActive : "پیوند فعال", -DlgDocMargins : "حاشیه‌های صفحه", -DlgDocMaTop : "بالا", -DlgDocMaLeft : "چپ", -DlgDocMaRight : "راست", -DlgDocMaBottom : "پایین", -DlgDocMeIndex : "کلیدواژگان نمایه‌گذاری سند (با کاما جدا شوند)", -DlgDocMeDescr : "توصیف سند", -DlgDocMeAuthor : "نویسنده", -DlgDocMeCopy : "کپی‌رایت", -DlgDocPreview : "پیش‌نمایش", - -// Templates Dialog -Templates : "الگوها", -DlgTemplatesTitle : "الگوهای محتویات", -DlgTemplatesSelMsg : "لطفا الگوی موردنظر را برای بازکردن در ویرایشگر برگزینید
    (محتویات کنونی از دست خواهند رفت):", -DlgTemplatesLoading : "بارگذاری فهرست الگوها. لطفا صبر کنید...", -DlgTemplatesNoTpl : "(الگوئی تعریف نشده است)", -DlgTemplatesReplace : "محتویات کنونی جایگزین شوند", - -// About Dialog -DlgAboutAboutTab : "درباره", -DlgAboutBrowserInfoTab : "اطلاعات مرورگر", -DlgAboutLicenseTab : "گواهینامه", -DlgAboutVersion : "نگارش", -DlgAboutInfo : "برای آگاهی بیشتر به این نشانی بروید", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/fi.js b/modules/editor/skins/fckeditor/editor/lang/fi.js deleted file mode 100644 index 1bd09eab9..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/fi.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Finnish language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Piilota työkalurivi", -ToolbarExpand : "Näytä työkalurivi", - -// Toolbar Items and Context Menu -Save : "Tallenna", -NewPage : "Tyhjennä", -Preview : "Esikatsele", -Cut : "Leikkaa", -Copy : "Kopioi", -Paste : "Liitä", -PasteText : "Liitä tekstinä", -PasteWord : "Liitä Wordista", -Print : "Tulosta", -SelectAll : "Valitse kaikki", -RemoveFormat : "Poista muotoilu", -InsertLinkLbl : "Linkki", -InsertLink : "Lisää linkki/muokkaa linkkiä", -RemoveLink : "Poista linkki", -VisitLink : "Open Link", //MISSING -Anchor : "Lisää ankkuri/muokkaa ankkuria", -AnchorDelete : "Poista ankkuri", -InsertImageLbl : "Kuva", -InsertImage : "Lisää kuva/muokkaa kuvaa", -InsertFlashLbl : "Flash", -InsertFlash : "Lisää/muokkaa Flashia", -InsertTableLbl : "Taulu", -InsertTable : "Lisää taulu/muokkaa taulua", -InsertLineLbl : "Murtoviiva", -InsertLine : "Lisää murtoviiva", -InsertSpecialCharLbl: "Erikoismerkki", -InsertSpecialChar : "Lisää erikoismerkki", -InsertSmileyLbl : "Hymiö", -InsertSmiley : "Lisää hymiö", -About : "FCKeditorista", -Bold : "Lihavoitu", -Italic : "Kursivoitu", -Underline : "Alleviivattu", -StrikeThrough : "Yliviivattu", -Subscript : "Alaindeksi", -Superscript : "Yläindeksi", -LeftJustify : "Tasaa vasemmat reunat", -CenterJustify : "Keskitä", -RightJustify : "Tasaa oikeat reunat", -BlockJustify : "Tasaa molemmat reunat", -DecreaseIndent : "Pienennä sisennystä", -IncreaseIndent : "Suurenna sisennystä", -Blockquote : "Lainaus", -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "Kumoa", -Redo : "Toista", -NumberedListLbl : "Numerointi", -NumberedList : "Lisää/poista numerointi", -BulletedListLbl : "Luottelomerkit", -BulletedList : "Lisää/poista luottelomerkit", -ShowTableBorders : "Näytä taulun rajat", -ShowDetails : "Näytä muotoilu", -Style : "Tyyli", -FontFormat : "Muotoilu", -Font : "Fontti", -FontSize : "Koko", -TextColor : "Tekstiväri", -BGColor : "Taustaväri", -Source : "Koodi", -Find : "Etsi", -Replace : "Korvaa", -SpellCheck : "Tarkista oikeinkirjoitus", -UniversalKeyboard : "Universaali näppäimistö", -PageBreakLbl : "Sivun vaihto", -PageBreak : "Lisää sivun vaihto", - -Form : "Lomake", -Checkbox : "Valintaruutu", -RadioButton : "Radiopainike", -TextField : "Tekstikenttä", -Textarea : "Tekstilaatikko", -HiddenField : "Piilokenttä", -Button : "Painike", -SelectionField : "Valintakenttä", -ImageButton : "Kuvapainike", - -FitWindow : "Suurenna editori koko ikkunaan", -ShowBlocks : "Näytä elementit", - -// Context Menu -EditLink : "Muokkaa linkkiä", -CellCM : "Solu", -RowCM : "Rivi", -ColumnCM : "Sarake", -InsertRowAfter : "Lisää rivi alapuolelle", -InsertRowBefore : "Lisää rivi yläpuolelle", -DeleteRows : "Poista rivit", -InsertColumnAfter : "Lisää sarake oikealle", -InsertColumnBefore : "Lisää sarake vasemmalle", -DeleteColumns : "Poista sarakkeet", -InsertCellAfter : "Lisää solu perään", -InsertCellBefore : "Lisää solu eteen", -DeleteCells : "Poista solut", -MergeCells : "Yhdistä solut", -MergeRight : "Yhdistä oikealla olevan kanssa", -MergeDown : "Yhdistä alla olevan kanssa", -HorizontalSplitCell : "Jaa solu vaakasuunnassa", -VerticalSplitCell : "Jaa solu pystysuunnassa", -TableDelete : "Poista taulu", -CellProperties : "Solun ominaisuudet", -TableProperties : "Taulun ominaisuudet", -ImageProperties : "Kuvan ominaisuudet", -FlashProperties : "Flash ominaisuudet", - -AnchorProp : "Ankkurin ominaisuudet", -ButtonProp : "Painikkeen ominaisuudet", -CheckboxProp : "Valintaruudun ominaisuudet", -HiddenFieldProp : "Piilokentän ominaisuudet", -RadioButtonProp : "Radiopainikkeen ominaisuudet", -ImageButtonProp : "Kuvapainikkeen ominaisuudet", -TextFieldProp : "Tekstikentän ominaisuudet", -SelectionFieldProp : "Valintakentän ominaisuudet", -TextareaProp : "Tekstilaatikon ominaisuudet", -FormProp : "Lomakkeen ominaisuudet", - -FontFormats : "Normaali;Muotoiltu;Osoite;Otsikko 1;Otsikko 2;Otsikko 3;Otsikko 4;Otsikko 5;Otsikko 6", - -// Alerts and Messages -ProcessingXHTML : "Prosessoidaan XHTML:ää. Odota hetki...", -Done : "Valmis", -PasteWordConfirm : "Teksti, jonka haluat liittää, näyttää olevan kopioitu Wordista. Haluatko puhdistaa sen ennen liittämistä?", -NotCompatiblePaste : "Tämä komento toimii vain Internet Explorer 5.5:ssa tai uudemmassa. Haluatko liittää ilman puhdistusta?", -UnknownToolbarItem : "Tuntemanton työkalu \"%1\"", -UnknownCommand : "Tuntematon komento \"%1\"", -NotImplemented : "Komentoa ei ole liitetty sovellukseen", -UnknownToolbarSet : "Työkalukokonaisuus \"%1\" ei ole olemassa", -NoActiveX : "Selaimesi turvallisuusasetukset voivat rajoittaa joitain editorin ominaisuuksia. Sinun pitää ottaa käyttöön asetuksista \"Suorita ActiveX komponentit ja -plugin-laajennukset\". Saatat kohdata virheitä ja huomata puuttuvia ominaisuuksia.", -BrowseServerBlocked : "Resurssiselainta ei voitu avata. Varmista, että ponnahdusikkunoiden estäjät eivät ole päällä.", -DialogBlocked : "Apuikkunaa ei voitu avaata. Varmista, että ponnahdusikkunoiden estäjät eivät ole päällä.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Peruuta", -DlgBtnClose : "Sulje", -DlgBtnBrowseServer : "Selaa palvelinta", -DlgAdvancedTag : "Lisäominaisuudet", -DlgOpOther : "Muut", -DlgInfoTab : "Info", -DlgAlertUrl : "Lisää URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Tunniste", -DlgGenLangDir : "Kielen suunta", -DlgGenLangDirLtr : "Vasemmalta oikealle (LTR)", -DlgGenLangDirRtl : "Oikealta vasemmalle (RTL)", -DlgGenLangCode : "Kielikoodi", -DlgGenAccessKey : "Pikanäppäin", -DlgGenName : "Nimi", -DlgGenTabIndex : "Tabulaattori indeksi", -DlgGenLongDescr : "Pitkän kuvauksen URL", -DlgGenClass : "Tyyliluokat", -DlgGenTitle : "Avustava otsikko", -DlgGenContType : "Avustava sisällön tyyppi", -DlgGenLinkCharset : "Linkitetty kirjaimisto", -DlgGenStyle : "Tyyli", - -// Image Dialog -DlgImgTitle : "Kuvan ominaisuudet", -DlgImgInfoTab : "Kuvan tiedot", -DlgImgBtnUpload : "Lähetä palvelimelle", -DlgImgURL : "Osoite", -DlgImgUpload : "Lisää kuva", -DlgImgAlt : "Vaihtoehtoinen teksti", -DlgImgWidth : "Leveys", -DlgImgHeight : "Korkeus", -DlgImgLockRatio : "Lukitse suhteet", -DlgBtnResetSize : "Alkuperäinen koko", -DlgImgBorder : "Raja", -DlgImgHSpace : "Vaakatila", -DlgImgVSpace : "Pystytila", -DlgImgAlign : "Kohdistus", -DlgImgAlignLeft : "Vasemmalle", -DlgImgAlignAbsBottom: "Aivan alas", -DlgImgAlignAbsMiddle: "Aivan keskelle", -DlgImgAlignBaseline : "Alas (teksti)", -DlgImgAlignBottom : "Alas", -DlgImgAlignMiddle : "Keskelle", -DlgImgAlignRight : "Oikealle", -DlgImgAlignTextTop : "Ylös (teksti)", -DlgImgAlignTop : "Ylös", -DlgImgPreview : "Esikatselu", -DlgImgAlertUrl : "Kirjoita kuvan osoite (URL)", -DlgImgLinkTab : "Linkki", - -// Flash Dialog -DlgFlashTitle : "Flash ominaisuudet", -DlgFlashChkPlay : "Automaattinen käynnistys", -DlgFlashChkLoop : "Toisto", -DlgFlashChkMenu : "Näytä Flash-valikko", -DlgFlashScale : "Levitä", -DlgFlashScaleAll : "Näytä kaikki", -DlgFlashScaleNoBorder : "Ei rajaa", -DlgFlashScaleFit : "Tarkka koko", - -// Link Dialog -DlgLnkWindowTitle : "Linkki", -DlgLnkInfoTab : "Linkin tiedot", -DlgLnkTargetTab : "Kohde", - -DlgLnkType : "Linkkityyppi", -DlgLnkTypeURL : "Osoite", -DlgLnkTypeAnchor : "Ankkuri tässä sivussa", -DlgLnkTypeEMail : "Sähköposti", -DlgLnkProto : "Protokolla", -DlgLnkProtoOther : "", -DlgLnkURL : "Osoite", -DlgLnkAnchorSel : "Valitse ankkuri", -DlgLnkAnchorByName : "Ankkurin nimen mukaan", -DlgLnkAnchorById : "Ankkurin ID:n mukaan", -DlgLnkNoAnchors : "(Ei ankkureita tässä dokumentissa)", -DlgLnkEMail : "Sähköpostiosoite", -DlgLnkEMailSubject : "Aihe", -DlgLnkEMailBody : "Viesti", -DlgLnkUpload : "Lisää tiedosto", -DlgLnkBtnUpload : "Lähetä palvelimelle", - -DlgLnkTarget : "Kohde", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Uusi ikkuna (_blank)", -DlgLnkTargetParent : "Emoikkuna (_parent)", -DlgLnkTargetSelf : "Sama ikkuna (_self)", -DlgLnkTargetTop : "Päällimmäisin ikkuna (_top)", -DlgLnkTargetFrameName : "Kohdekehyksen nimi", -DlgLnkPopWinName : "Popup ikkunan nimi", -DlgLnkPopWinFeat : "Popup ikkunan ominaisuudet", -DlgLnkPopResize : "Venytettävä", -DlgLnkPopLocation : "Osoiterivi", -DlgLnkPopMenu : "Valikkorivi", -DlgLnkPopScroll : "Vierityspalkit", -DlgLnkPopStatus : "Tilarivi", -DlgLnkPopToolbar : "Vakiopainikkeet", -DlgLnkPopFullScrn : "Täysi ikkuna (IE)", -DlgLnkPopDependent : "Riippuva (Netscape)", -DlgLnkPopWidth : "Leveys", -DlgLnkPopHeight : "Korkeus", -DlgLnkPopLeft : "Vasemmalta (px)", -DlgLnkPopTop : "Ylhäältä (px)", - -DlnLnkMsgNoUrl : "Linkille on kirjoitettava URL", -DlnLnkMsgNoEMail : "Kirjoita sähköpostiosoite", -DlnLnkMsgNoAnchor : "Valitse ankkuri", -DlnLnkMsgInvPopName : "Popup-ikkunan nimi pitää alkaa aakkosella ja ei saa sisältää välejä", - -// Color Dialog -DlgColorTitle : "Valitse väri", -DlgColorBtnClear : "Tyhjennä", -DlgColorHighlight : "Kohdalla", -DlgColorSelected : "Valittu", - -// Smiley Dialog -DlgSmileyTitle : "Lisää hymiö", - -// Special Character Dialog -DlgSpecialCharTitle : "Valitse erikoismerkki", - -// Table Dialog -DlgTableTitle : "Taulun ominaisuudet", -DlgTableRows : "Rivit", -DlgTableColumns : "Sarakkeet", -DlgTableBorder : "Rajan paksuus", -DlgTableAlign : "Kohdistus", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Vasemmalle", -DlgTableAlignCenter : "Keskelle", -DlgTableAlignRight : "Oikealle", -DlgTableWidth : "Leveys", -DlgTableWidthPx : "pikseliä", -DlgTableWidthPc : "prosenttia", -DlgTableHeight : "Korkeus", -DlgTableCellSpace : "Solujen väli", -DlgTableCellPad : "Solujen sisennys", -DlgTableCaption : "Otsikko", -DlgTableSummary : "Yhteenveto", - -// Table Cell Dialog -DlgCellTitle : "Solun ominaisuudet", -DlgCellWidth : "Leveys", -DlgCellWidthPx : "pikseliä", -DlgCellWidthPc : "prosenttia", -DlgCellHeight : "Korkeus", -DlgCellWordWrap : "Tekstikierrätys", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Kyllä", -DlgCellWordWrapNo : "Ei", -DlgCellHorAlign : "Vaakakohdistus", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Vasemmalle", -DlgCellHorAlignCenter : "Keskelle", -DlgCellHorAlignRight: "Oikealle", -DlgCellVerAlign : "Pystykohdistus", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Ylös", -DlgCellVerAlignMiddle : "Keskelle", -DlgCellVerAlignBottom : "Alas", -DlgCellVerAlignBaseline : "Tekstin alas", -DlgCellRowSpan : "Rivin jatkuvuus", -DlgCellCollSpan : "Sarakkeen jatkuvuus", -DlgCellBackColor : "Taustaväri", -DlgCellBorderColor : "Rajan väri", -DlgCellBtnSelect : "Valitse...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Etsi ja korvaa", - -// Find Dialog -DlgFindTitle : "Etsi", -DlgFindFindBtn : "Etsi", -DlgFindNotFoundMsg : "Etsittyä tekstiä ei löytynyt.", - -// Replace Dialog -DlgReplaceTitle : "Korvaa", -DlgReplaceFindLbl : "Etsi mitä:", -DlgReplaceReplaceLbl : "Korvaa tällä:", -DlgReplaceCaseChk : "Sama kirjainkoko", -DlgReplaceReplaceBtn : "Korvaa", -DlgReplaceReplAllBtn : "Korvaa kaikki", -DlgReplaceWordChk : "Koko sana", - -// Paste Operations / Dialog -PasteErrorCut : "Selaimesi turva-asetukset eivät salli editorin toteuttaa leikkaamista. Käytä näppäimistöä leikkaamiseen (Ctrl+X).", -PasteErrorCopy : "Selaimesi turva-asetukset eivät salli editorin toteuttaa kopioimista. Käytä näppäimistöä kopioimiseen (Ctrl+C).", - -PasteAsText : "Liitä tekstinä", -PasteFromWord : "Liitä Wordista", - -DlgPasteMsg2 : "Liitä painamalla (Ctrl+V) ja painamalla OK.", -DlgPasteSec : "Selaimesi turva-asetukset eivät salli editorin käyttää leikepöytää suoraan. Sinun pitää suorittaa liittäminen tässä ikkunassa.", -DlgPasteIgnoreFont : "Jätä huomioimatta fonttimääritykset", -DlgPasteRemoveStyles : "Poista tyylimääritykset", - -// Color Picker -ColorAutomatic : "Automaattinen", -ColorMoreColors : "Lisää värejä...", - -// Document Properties -DocProps : "Dokumentin ominaisuudet", - -// Anchor Dialog -DlgAnchorTitle : "Ankkurin ominaisuudet", -DlgAnchorName : "Nimi", -DlgAnchorErrorName : "Ankkurille on kirjoitettava nimi", - -// Speller Pages Dialog -DlgSpellNotInDic : "Ei sanakirjassa", -DlgSpellChangeTo : "Vaihda", -DlgSpellBtnIgnore : "Jätä huomioimatta", -DlgSpellBtnIgnoreAll : "Jätä kaikki huomioimatta", -DlgSpellBtnReplace : "Korvaa", -DlgSpellBtnReplaceAll : "Korvaa kaikki", -DlgSpellBtnUndo : "Kumoa", -DlgSpellNoSuggestions : "Ei ehdotuksia", -DlgSpellProgress : "Tarkistus käynnissä...", -DlgSpellNoMispell : "Tarkistus valmis: Ei virheitä", -DlgSpellNoChanges : "Tarkistus valmis: Yhtään sanaa ei muutettu", -DlgSpellOneChange : "Tarkistus valmis: Yksi sana muutettiin", -DlgSpellManyChanges : "Tarkistus valmis: %1 sanaa muutettiin", - -IeSpellDownload : "Oikeinkirjoituksen tarkistusta ei ole asennettu. Haluatko ladata sen nyt?", - -// Button Dialog -DlgButtonText : "Teksti (arvo)", -DlgButtonType : "Tyyppi", -DlgButtonTypeBtn : "Painike", -DlgButtonTypeSbm : "Lähetä", -DlgButtonTypeRst : "Tyhjennä", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nimi", -DlgCheckboxValue : "Arvo", -DlgCheckboxSelected : "Valittu", - -// Form Dialog -DlgFormName : "Nimi", -DlgFormAction : "Toiminto", -DlgFormMethod : "Tapa", - -// Select Field Dialog -DlgSelectName : "Nimi", -DlgSelectValue : "Arvo", -DlgSelectSize : "Koko", -DlgSelectLines : "Rivit", -DlgSelectChkMulti : "Salli usea valinta", -DlgSelectOpAvail : "Ominaisuudet", -DlgSelectOpText : "Teksti", -DlgSelectOpValue : "Arvo", -DlgSelectBtnAdd : "Lisää", -DlgSelectBtnModify : "Muuta", -DlgSelectBtnUp : "Ylös", -DlgSelectBtnDown : "Alas", -DlgSelectBtnSetValue : "Aseta valituksi", -DlgSelectBtnDelete : "Poista", - -// Textarea Dialog -DlgTextareaName : "Nimi", -DlgTextareaCols : "Sarakkeita", -DlgTextareaRows : "Rivejä", - -// Text Field Dialog -DlgTextName : "Nimi", -DlgTextValue : "Arvo", -DlgTextCharWidth : "Leveys", -DlgTextMaxChars : "Maksimi merkkimäärä", -DlgTextType : "Tyyppi", -DlgTextTypeText : "Teksti", -DlgTextTypePass : "Salasana", - -// Hidden Field Dialog -DlgHiddenName : "Nimi", -DlgHiddenValue : "Arvo", - -// Bulleted List Dialog -BulletedListProp : "Luettelon ominaisuudet", -NumberedListProp : "Numeroinnin ominaisuudet", -DlgLstStart : "Alku", -DlgLstType : "Tyyppi", -DlgLstTypeCircle : "Kehä", -DlgLstTypeDisc : "Ympyrä", -DlgLstTypeSquare : "Neliö", -DlgLstTypeNumbers : "Numerot (1, 2, 3)", -DlgLstTypeLCase : "Pienet kirjaimet (a, b, c)", -DlgLstTypeUCase : "Isot kirjaimet (A, B, C)", -DlgLstTypeSRoman : "Pienet roomalaiset numerot (i, ii, iii)", -DlgLstTypeLRoman : "Isot roomalaiset numerot (Ii, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Yleiset", -DlgDocBackTab : "Tausta", -DlgDocColorsTab : "Värit ja marginaalit", -DlgDocMetaTab : "Meta-tieto", - -DlgDocPageTitle : "Sivun nimi", -DlgDocLangDir : "Kielen suunta", -DlgDocLangDirLTR : "Vasemmalta oikealle (LTR)", -DlgDocLangDirRTL : "Oikealta vasemmalle (RTL)", -DlgDocLangCode : "Kielikoodi", -DlgDocCharSet : "Merkistökoodaus", -DlgDocCharSetCE : "Keskieurooppalainen", -DlgDocCharSetCT : "Kiina, perinteinen (Big5)", -DlgDocCharSetCR : "Kyrillinen", -DlgDocCharSetGR : "Kreikka", -DlgDocCharSetJP : "Japani", -DlgDocCharSetKR : "Korealainen", -DlgDocCharSetTR : "Turkkilainen", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Länsieurooppalainen", -DlgDocCharSetOther : "Muu merkistökoodaus", - -DlgDocDocType : "Dokumentin tyyppi", -DlgDocDocTypeOther : "Muu dokumentin tyyppi", -DlgDocIncXHTML : "Lisää XHTML julistukset", -DlgDocBgColor : "Taustaväri", -DlgDocBgImage : "Taustakuva", -DlgDocBgNoScroll : "Paikallaanpysyvä tausta", -DlgDocCText : "Teksti", -DlgDocCLink : "Linkki", -DlgDocCVisited : "Vierailtu linkki", -DlgDocCActive : "Aktiivinen linkki", -DlgDocMargins : "Sivun marginaalit", -DlgDocMaTop : "Ylä", -DlgDocMaLeft : "Vasen", -DlgDocMaRight : "Oikea", -DlgDocMaBottom : "Ala", -DlgDocMeIndex : "Hakusanat (pilkulla erotettuna)", -DlgDocMeDescr : "Kuvaus", -DlgDocMeAuthor : "Tekijä", -DlgDocMeCopy : "Tekijänoikeudet", -DlgDocPreview : "Esikatselu", - -// Templates Dialog -Templates : "Pohjat", -DlgTemplatesTitle : "Sisältöpohjat", -DlgTemplatesSelMsg : "Valitse pohja editoriin
    (aiempi sisältö menetetään):", -DlgTemplatesLoading : "Ladataan listaa pohjista. Hetkinen...", -DlgTemplatesNoTpl : "(Ei määriteltyjä pohjia)", -DlgTemplatesReplace : "Korvaa editorin koko sisältö", - -// About Dialog -DlgAboutAboutTab : "Editorista", -DlgAboutBrowserInfoTab : "Selaimen tiedot", -DlgAboutLicenseTab : "Lisenssi", -DlgAboutVersion : "versio", -DlgAboutInfo : "Lisää tietoa osoitteesta", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/fo.js b/modules/editor/skins/fckeditor/editor/lang/fo.js deleted file mode 100644 index fa0d8c959..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/fo.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Faroese language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Fjal amboðsbjálkan", -ToolbarExpand : "Vís amboðsbjálkan", - -// Toolbar Items and Context Menu -Save : "Goym", -NewPage : "Nýggj síða", -Preview : "Frumsýning", -Cut : "Kvett", -Copy : "Avrita", -Paste : "Innrita", -PasteText : "Innrita reinan tekst", -PasteWord : "Innrita frá Word", -Print : "Prenta", -SelectAll : "Markera alt", -RemoveFormat : "Strika sniðgeving", -InsertLinkLbl : "Tilknýti", -InsertLink : "Ger/broyt tilknýti", -RemoveLink : "Strika tilknýti", -VisitLink : "Opna tilknýti", -Anchor : "Ger/broyt marknastein", -AnchorDelete : "Strika marknastein", -InsertImageLbl : "Myndir", -InsertImage : "Set inn/broyt mynd", -InsertFlashLbl : "Flash", -InsertFlash : "Set inn/broyt Flash", -InsertTableLbl : "Tabell", -InsertTable : "Set inn/broyt tabell", -InsertLineLbl : "Linja", -InsertLine : "Ger vatnrætta linju", -InsertSpecialCharLbl: "Sertekn", -InsertSpecialChar : "Set inn sertekn", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Set inn Smiley", -About : "Um FCKeditor", -Bold : "Feit skrift", -Italic : "Skráskrift", -Underline : "Undirstrikað", -StrikeThrough : "Yvirstrikað", -Subscript : "Lækkað skrift", -Superscript : "Hækkað skrift", -LeftJustify : "Vinstrasett", -CenterJustify : "Miðsett", -RightJustify : "Høgrasett", -BlockJustify : "Javnir tekstkantar", -DecreaseIndent : "Minka reglubrotarinntriv", -IncreaseIndent : "Økja reglubrotarinntriv", -Blockquote : "Blockquote", -CreateDiv : "Ger DIV øki", -EditDiv : "Broyt DIV øki", -DeleteDiv : "Strika DIV øki", -Undo : "Angra", -Redo : "Vend aftur", -NumberedListLbl : "Talmerktur listi", -NumberedList : "Ger/strika talmerktan lista", -BulletedListLbl : "Punktmerktur listi", -BulletedList : "Ger/strika punktmerktan lista", -ShowTableBorders : "Vís tabellbordar", -ShowDetails : "Vís í smálutum", -Style : "Typografi", -FontFormat : "Skriftsnið", -Font : "Skrift", -FontSize : "Skriftstødd", -TextColor : "Tekstlitur", -BGColor : "Bakgrundslitur", -Source : "Kelda", -Find : "Leita", -Replace : "Yvirskriva", -SpellCheck : "Kanna stavseting", -UniversalKeyboard : "Knappaborð", -PageBreakLbl : "Síðuskift", -PageBreak : "Ger síðuskift", - -Form : "Formur", -Checkbox : "Flugubein", -RadioButton : "Radioknøttur", -TextField : "Tekstteigur", -Textarea : "Tekstumráði", -HiddenField : "Fjaldur teigur", -Button : "Knøttur", -SelectionField : "Valskrá", -ImageButton : "Myndaknøttur", - -FitWindow : "Set tekstviðgera til fulla stødd", -ShowBlocks : "Vís blokkar", - -// Context Menu -EditLink : "Broyt tilknýti", -CellCM : "Meski", -RowCM : "Rað", -ColumnCM : "Kolonna", -InsertRowAfter : "Set rað inn aftaná", -InsertRowBefore : "Set rað inn áðrenn", -DeleteRows : "Strika røðir", -InsertColumnAfter : "Set kolonnu inn aftaná", -InsertColumnBefore : "Set kolonnu inn áðrenn", -DeleteColumns : "Strika kolonnur", -InsertCellAfter : "Set meska inn aftaná", -InsertCellBefore : "Set meska inn áðrenn", -DeleteCells : "Strika meskar", -MergeCells : "Flætta meskar", -MergeRight : "Flætta meskar til høgru", -MergeDown : "Flætta saman", -HorizontalSplitCell : "Kloyv meska vatnrætt", -VerticalSplitCell : "Kloyv meska loddrætt", -TableDelete : "Strika tabell", -CellProperties : "Meskueginleikar", -TableProperties : "Tabelleginleikar", -ImageProperties : "Myndaeginleikar", -FlashProperties : "Flash eginleikar", - -AnchorProp : "Eginleikar fyri marknastein", -ButtonProp : "Eginleikar fyri knøtt", -CheckboxProp : "Eginleikar fyri flugubein", -HiddenFieldProp : "Eginleikar fyri fjaldan teig", -RadioButtonProp : "Eginleikar fyri radioknøtt", -ImageButtonProp : "Eginleikar fyri myndaknøtt", -TextFieldProp : "Eginleikar fyri tekstteig", -SelectionFieldProp : "Eginleikar fyri valskrá", -TextareaProp : "Eginleikar fyri tekstumráði", -FormProp : "Eginleikar fyri Form", - -FontFormats : "Vanligt;Sniðgivið;Adressa;Yvirskrift 1;Yvirskrift 2;Yvirskrift 3;Yvirskrift 4;Yvirskrift 5;Yvirskrift 6", - -// Alerts and Messages -ProcessingXHTML : "XHTML verður viðgjørt. Bíða við...", -Done : "Liðugt", -PasteWordConfirm : "Teksturin, royndur verður at seta inn, tykist at stava frá Word. Vilt tú reinsa tekstin, áðrenn hann verður settur inn?", -NotCompatiblePaste : "Hetta er bert tøkt í Internet Explorer 5.5 og nýggjari. Vilt tú seta tekstin inn kortini - óreinsaðan?", -UnknownToolbarItem : "Ókendur lutur í amboðsbjálkanum \"%1\"", -UnknownCommand : "Ókend kommando \"%1\"", -NotImplemented : "Hetta er ikki tøkt í hesi útgávuni", -UnknownToolbarSet : "Amboðsbjálkin \"%1\" finst ikki", -NoActiveX : "Trygdaruppsetingin í alnótskaganum kann sum er avmarka onkrar hentleikar í tekstviðgeranum. Tú mást loyva møguleikanum \"Run/Kør ActiveX controls and plug-ins\". Tú kanst uppliva feilir og ávaringar um tvørrandi hentleikar.", -BrowseServerBlocked : "Ambætarakagin kundi ikki opnast. Tryggja tær, at allar pop-up forðingar eru óvirknar.", -DialogBlocked : "Tað eyðnaðist ikki at opna samskiftisrútin. Tryggja tær, at allar pop-up forðingar eru óvirknar.", -VisitLinkBlocked : "Tað eyðnaðist ikki at opna nýggjan rút. Tryggja tær, at allar pop-up forðingar eru óvirknar.", - -// Dialogs -DlgBtnOK : "Góðkent", -DlgBtnCancel : "Avlýst", -DlgBtnClose : "Lat aftur", -DlgBtnBrowseServer : "Ambætarakagi", -DlgAdvancedTag : "Fjølbroytt", -DlgOpOther : "", -DlgInfoTab : "Upplýsingar", -DlgAlertUrl : "Vinarliga veit ein URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Tekstkós", -DlgGenLangDirLtr : "Frá vinstru til høgru (LTR)", -DlgGenLangDirRtl : "Frá høgru til vinstru (RTL)", -DlgGenLangCode : "Málkoda", -DlgGenAccessKey : "Snarvegisknappur", -DlgGenName : "Navn", -DlgGenTabIndex : "Inntriv indeks", -DlgGenLongDescr : "Víðkað URL frágreiðing", -DlgGenClass : "Typografi klassar", -DlgGenTitle : "Vegleiðandi heiti", -DlgGenContType : "Vegleiðandi innihaldsslag", -DlgGenLinkCharset : "Atknýtt teknsett", -DlgGenStyle : "Typografi", - -// Image Dialog -DlgImgTitle : "Myndaeginleikar", -DlgImgInfoTab : "Myndaupplýsingar", -DlgImgBtnUpload : "Send til ambætaran", -DlgImgURL : "URL", -DlgImgUpload : "Send", -DlgImgAlt : "Alternativur tekstur", -DlgImgWidth : "Breidd", -DlgImgHeight : "Hædd", -DlgImgLockRatio : "Læs lutfallið", -DlgBtnResetSize : "Upprunastødd", -DlgImgBorder : "Bordi", -DlgImgHSpace : "Høgri breddi", -DlgImgVSpace : "Vinstri breddi", -DlgImgAlign : "Justering", -DlgImgAlignLeft : "Vinstra", -DlgImgAlignAbsBottom: "Abs botnur", -DlgImgAlignAbsMiddle: "Abs miðja", -DlgImgAlignBaseline : "Basislinja", -DlgImgAlignBottom : "Botnur", -DlgImgAlignMiddle : "Miðja", -DlgImgAlignRight : "Høgra", -DlgImgAlignTextTop : "Tekst toppur", -DlgImgAlignTop : "Ovast", -DlgImgPreview : "Frumsýning", -DlgImgAlertUrl : "Rita slóðina til myndina", -DlgImgLinkTab : "Tilknýti", - -// Flash Dialog -DlgFlashTitle : "Flash eginleikar", -DlgFlashChkPlay : "Avspælingin byrjar sjálv", -DlgFlashChkLoop : "Endurspæl", -DlgFlashChkMenu : "Ger Flash skrá virkna", -DlgFlashScale : "Skalering", -DlgFlashScaleAll : "Vís alt", -DlgFlashScaleNoBorder : "Eingin bordi", -DlgFlashScaleFit : "Neyv skalering", - -// Link Dialog -DlgLnkWindowTitle : "Tilknýti", -DlgLnkInfoTab : "Tilknýtis upplýsingar", -DlgLnkTargetTab : "Mál", - -DlgLnkType : "Tilknýtisslag", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Tilknýti til marknastein í tekstinum", -DlgLnkTypeEMail : "Teldupostur", -DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Vel ein marknastein", -DlgLnkAnchorByName : "Eftir navni á marknasteini", -DlgLnkAnchorById : "Eftir element Id", -DlgLnkNoAnchors : "(Eingir marknasteinar eru í hesum dokumentið)", -DlgLnkEMail : "Teldupost-adressa", -DlgLnkEMailSubject : "Evni", -DlgLnkEMailBody : "Breyðtekstur", -DlgLnkUpload : "Send til ambætaran", -DlgLnkBtnUpload : "Send til ambætaran", - -DlgLnkTarget : "Mál", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Nýtt vindeyga (_blank)", -DlgLnkTargetParent : "Upphavliga vindeygað (_parent)", -DlgLnkTargetSelf : "Sama vindeygað (_self)", -DlgLnkTargetTop : "Alt vindeygað (_top)", -DlgLnkTargetFrameName : "Vís navn vindeygans", -DlgLnkPopWinName : "Popup vindeygans navn", -DlgLnkPopWinFeat : "Popup vindeygans víðkaðu eginleikar", -DlgLnkPopResize : "Kann broyta stødd", -DlgLnkPopLocation : "Adressulinja", -DlgLnkPopMenu : "Skrábjálki", -DlgLnkPopScroll : "Rullibjálki", -DlgLnkPopStatus : "Støðufrágreiðingarbjálki", -DlgLnkPopToolbar : "Amboðsbjálki", -DlgLnkPopFullScrn : "Fullur skermur (IE)", -DlgLnkPopDependent : "Bundið (Netscape)", -DlgLnkPopWidth : "Breidd", -DlgLnkPopHeight : "Hædd", -DlgLnkPopLeft : "Frástøða frá vinstru", -DlgLnkPopTop : "Frástøða frá íerva", - -DlnLnkMsgNoUrl : "Vinarliga skriva tilknýti (URL)", -DlnLnkMsgNoEMail : "Vinarliga skriva teldupost-adressu", -DlnLnkMsgNoAnchor : "Vinarliga vel marknastein", -DlnLnkMsgInvPopName : "Popup navnið má byrja við bókstavi og má ikki hava millumrúm", - -// Color Dialog -DlgColorTitle : "Vel lit", -DlgColorBtnClear : "Strika alt", -DlgColorHighlight : "Framhevja", -DlgColorSelected : "Valt", - -// Smiley Dialog -DlgSmileyTitle : "Vel Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Vel sertekn", - -// Table Dialog -DlgTableTitle : "Eginleikar fyri tabell", -DlgTableRows : "Røðir", -DlgTableColumns : "Kolonnur", -DlgTableBorder : "Bordabreidd", -DlgTableAlign : "Justering", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Vinstrasett", -DlgTableAlignCenter : "Miðsett", -DlgTableAlignRight : "Høgrasett", -DlgTableWidth : "Breidd", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "prosent", -DlgTableHeight : "Hædd", -DlgTableCellSpace : "Fjarstøða millum meskar", -DlgTableCellPad : "Meskubreddi", -DlgTableCaption : "Tabellfrágreiðing", -DlgTableSummary : "Samandráttur", - -// Table Cell Dialog -DlgCellTitle : "Mesku eginleikar", -DlgCellWidth : "Breidd", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "prosent", -DlgCellHeight : "Hædd", -DlgCellWordWrap : "Orðkloyving", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Ja", -DlgCellWordWrapNo : "Nei", -DlgCellHorAlign : "Vatnrøtt justering", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Vinstrasett", -DlgCellHorAlignCenter : "Miðsett", -DlgCellHorAlignRight: "Høgrasett", -DlgCellVerAlign : "Lodrøtt justering", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Ovast", -DlgCellVerAlignMiddle : "Miðjan", -DlgCellVerAlignBottom : "Niðast", -DlgCellVerAlignBaseline : "Basislinja", -DlgCellRowSpan : "Røðir, meskin fevnir um", -DlgCellCollSpan : "Kolonnur, meskin fevnir um", -DlgCellBackColor : "Bakgrundslitur", -DlgCellBorderColor : "Litur á borda", -DlgCellBtnSelect : "Vel...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Finn og broyt", - -// Find Dialog -DlgFindTitle : "Finn", -DlgFindFindBtn : "Finn", -DlgFindNotFoundMsg : "Leititeksturin varð ikki funnin", - -// Replace Dialog -DlgReplaceTitle : "Yvirskriva", -DlgReplaceFindLbl : "Finn:", -DlgReplaceReplaceLbl : "Yvirskriva við:", -DlgReplaceCaseChk : "Munur á stórum og smáðum bókstavum", -DlgReplaceReplaceBtn : "Yvirskriva", -DlgReplaceReplAllBtn : "Yvirskriva alt", -DlgReplaceWordChk : "Bert heil orð", - -// Paste Operations / Dialog -PasteErrorCut : "Trygdaruppseting alnótskagans forðar tekstviðgeranum í at kvetta tekstin. Vinarliga nýt knappaborðið til at kvetta tekstin (CTRL+X).", -PasteErrorCopy : "Trygdaruppseting alnótskagans forðar tekstviðgeranum í at avrita tekstin. Vinarliga nýt knappaborðið til at avrita tekstin (CTRL+C).", - -PasteAsText : "Innrita som reinan tekst", -PasteFromWord : "Innrita fra Word", - -DlgPasteMsg2 : "Vinarliga koyr tekstin í hendan rútin við knappaborðinum (CTRL+V) og klikk á Góðtak.", -DlgPasteSec : "Trygdaruppseting alnótskagans forðar tekstviðgeranum í beinleiðis atgongd til avritingarminnið. Tygum mugu royna aftur í hesum rútinum.", -DlgPasteIgnoreFont : "Forfjóna Font definitiónirnar", -DlgPasteRemoveStyles : "Strika typografi definitiónir", - -// Color Picker -ColorAutomatic : "Automatiskt", -ColorMoreColors : "Fleiri litir...", - -// Document Properties -DocProps : "Eginleikar fyri dokument", - -// Anchor Dialog -DlgAnchorTitle : "Eginleikar fyri marknastein", -DlgAnchorName : "Heiti marknasteinsins", -DlgAnchorErrorName : "Vinarliga rita marknasteinsins heiti", - -// Speller Pages Dialog -DlgSpellNotInDic : "Finst ikki í orðabókini", -DlgSpellChangeTo : "Broyt til", -DlgSpellBtnIgnore : "Forfjóna", -DlgSpellBtnIgnoreAll : "Forfjóna alt", -DlgSpellBtnReplace : "Yvirskriva", -DlgSpellBtnReplaceAll : "Yvirskriva alt", -DlgSpellBtnUndo : "Angra", -DlgSpellNoSuggestions : "- Einki uppskot -", -DlgSpellProgress : "Rættstavarin arbeiðir...", -DlgSpellNoMispell : "Rættstavarain liðugur: Eingin feilur funnin", -DlgSpellNoChanges : "Rættstavarain liðugur: Einki orð varð broytt", -DlgSpellOneChange : "Rættstavarain liðugur: Eitt orð er broytt", -DlgSpellManyChanges : "Rættstavarain liðugur: %1 orð broytt", - -IeSpellDownload : "Rættstavarin er ikki tøkur í tekstviðgeranum. Vilt tú heinta hann nú?", - -// Button Dialog -DlgButtonText : "Tekstur", -DlgButtonType : "Slag", -DlgButtonTypeBtn : "Knøttur", -DlgButtonTypeSbm : "Send", -DlgButtonTypeRst : "Nullstilla", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Navn", -DlgCheckboxValue : "Virði", -DlgCheckboxSelected : "Valt", - -// Form Dialog -DlgFormName : "Navn", -DlgFormAction : "Hending", -DlgFormMethod : "Háttur", - -// Select Field Dialog -DlgSelectName : "Navn", -DlgSelectValue : "Virði", -DlgSelectSize : "Stødd", -DlgSelectLines : "Linjur", -DlgSelectChkMulti : "Loyv fleiri valmøguleikum samstundis", -DlgSelectOpAvail : "Tøkir møguleikar", -DlgSelectOpText : "Tekstur", -DlgSelectOpValue : "Virði", -DlgSelectBtnAdd : "Legg afturat", -DlgSelectBtnModify : "Broyt", -DlgSelectBtnUp : "Upp", -DlgSelectBtnDown : "Niður", -DlgSelectBtnSetValue : "Set sum valt virði", -DlgSelectBtnDelete : "Strika", - -// Textarea Dialog -DlgTextareaName : "Navn", -DlgTextareaCols : "kolonnur", -DlgTextareaRows : "røðir", - -// Text Field Dialog -DlgTextName : "Navn", -DlgTextValue : "Virði", -DlgTextCharWidth : "Breidd (sjónlig tekn)", -DlgTextMaxChars : "Mest loyvdu tekn", -DlgTextType : "Slag", -DlgTextTypeText : "Tekstur", -DlgTextTypePass : "Loyniorð", - -// Hidden Field Dialog -DlgHiddenName : "Navn", -DlgHiddenValue : "Virði", - -// Bulleted List Dialog -BulletedListProp : "Eginleikar fyri punktmerktan lista", -NumberedListProp : "Eginleikar fyri talmerktan lista", -DlgLstStart : "Byrjan", -DlgLstType : "Slag", -DlgLstTypeCircle : "Sirkul", -DlgLstTypeDisc : "Fyltur sirkul", -DlgLstTypeSquare : "Fjórhyrningur", -DlgLstTypeNumbers : "Talmerkt (1, 2, 3)", -DlgLstTypeLCase : "Smáir bókstavir (a, b, c)", -DlgLstTypeUCase : "Stórir bókstavir (A, B, C)", -DlgLstTypeSRoman : "Smá rómaratøl (i, ii, iii)", -DlgLstTypeLRoman : "Stór rómaratøl (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Generelt", -DlgDocBackTab : "Bakgrund", -DlgDocColorsTab : "Litir og breddar", -DlgDocMetaTab : "META-upplýsingar", - -DlgDocPageTitle : "Síðuheiti", -DlgDocLangDir : "Tekstkós", -DlgDocLangDirLTR : "Frá vinstru móti høgru (LTR)", -DlgDocLangDirRTL : "Frá høgru móti vinstru (RTL)", -DlgDocLangCode : "Málkoda", -DlgDocCharSet : "Teknsett koda", -DlgDocCharSetCE : "Miðeuropa", -DlgDocCharSetCT : "Kinesiskt traditionelt (Big5)", -DlgDocCharSetCR : "Cyrilliskt", -DlgDocCharSetGR : "Grikst", -DlgDocCharSetJP : "Japanskt", -DlgDocCharSetKR : "Koreanskt", -DlgDocCharSetTR : "Turkiskt", -DlgDocCharSetUN : "UNICODE (UTF-8)", -DlgDocCharSetWE : "Vestureuropa", -DlgDocCharSetOther : "Onnur teknsett koda", - -DlgDocDocType : "Dokumentslag yvirskrift", -DlgDocDocTypeOther : "Annað dokumentslag yvirskrift", -DlgDocIncXHTML : "Viðfest XHTML deklaratiónir", -DlgDocBgColor : "Bakgrundslitur", -DlgDocBgImage : "Leið til bakgrundsmynd (URL)", -DlgDocBgNoScroll : "Læst bakgrund (rullar ikki)", -DlgDocCText : "Tekstur", -DlgDocCLink : "Tilknýti", -DlgDocCVisited : "Vitjaði tilknýti", -DlgDocCActive : "Virkin tilknýti", -DlgDocMargins : "Síðubreddar", -DlgDocMaTop : "Ovast", -DlgDocMaLeft : "Vinstra", -DlgDocMaRight : "Høgra", -DlgDocMaBottom : "Niðast", -DlgDocMeIndex : "Dokument index lyklaorð (sundurbýtt við komma)", -DlgDocMeDescr : "Dokumentlýsing", -DlgDocMeAuthor : "Høvundur", -DlgDocMeCopy : "Upphavsrættindi", -DlgDocPreview : "Frumsýning", - -// Templates Dialog -Templates : "Skabelónir", -DlgTemplatesTitle : "Innihaldsskabelónir", -DlgTemplatesSelMsg : "Vinarliga vel ta skabelón, ið skal opnast í tekstviðgeranum
    (Hetta yvirskrivar núverandi innihald):", -DlgTemplatesLoading : "Heinti yvirlit yvir skabelónir. Vinarliga bíða við...", -DlgTemplatesNoTpl : "(Ongar skabelónir tøkar)", -DlgTemplatesReplace : "Yvirskriva núverandi innihald", - -// About Dialog -DlgAboutAboutTab : "Um", -DlgAboutBrowserInfoTab : "Upplýsingar um alnótskagan", -DlgAboutLicenseTab : "License", -DlgAboutVersion : "version", -DlgAboutInfo : "Fyri fleiri upplýsingar, far til", - -// Div Dialog -DlgDivGeneralTab : "Generelt", -DlgDivAdvancedTab : "Fjølbroytt", -DlgDivStyle : "Typografi", -DlgDivInlineStyle : "Inline typografi" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/fr-ca.js b/modules/editor/skins/fckeditor/editor/lang/fr-ca.js deleted file mode 100644 index eb40f8b0d..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/fr-ca.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Canadian French language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Masquer Outils", -ToolbarExpand : "Afficher Outils", - -// Toolbar Items and Context Menu -Save : "Sauvegarder", -NewPage : "Nouvelle page", -Preview : "Previsualiser", -Cut : "Couper", -Copy : "Copier", -Paste : "Coller", -PasteText : "Coller en tant que texte", -PasteWord : "Coller en tant que Word (formaté)", -Print : "Imprimer", -SelectAll : "Tout sélectionner", -RemoveFormat : "Supprimer le formatage", -InsertLinkLbl : "Lien", -InsertLink : "Insérer/modifier le lien", -RemoveLink : "Supprimer le lien", -VisitLink : "Suivre le lien", -Anchor : "Insérer/modifier l'ancre", -AnchorDelete : "Supprimer l'ancre", -InsertImageLbl : "Image", -InsertImage : "Insérer/modifier l'image", -InsertFlashLbl : "Animation Flash", -InsertFlash : "Insérer/modifier l'animation Flash", -InsertTableLbl : "Tableau", -InsertTable : "Insérer/modifier le tableau", -InsertLineLbl : "Séparateur", -InsertLine : "Insérer un séparateur", -InsertSpecialCharLbl: "Caractères spéciaux", -InsertSpecialChar : "Insérer un caractère spécial", -InsertSmileyLbl : "Emoticon", -InsertSmiley : "Insérer un Emoticon", -About : "A propos de FCKeditor", -Bold : "Gras", -Italic : "Italique", -Underline : "Souligné", -StrikeThrough : "Barrer", -Subscript : "Indice", -Superscript : "Exposant", -LeftJustify : "Aligner à gauche", -CenterJustify : "Centrer", -RightJustify : "Aligner à Droite", -BlockJustify : "Texte justifié", -DecreaseIndent : "Diminuer le retrait", -IncreaseIndent : "Augmenter le retrait", -Blockquote : "Citation", -CreateDiv : "Créer Balise Div", -EditDiv : "Modifier Balise Div", -DeleteDiv : "Supprimer Balise Div", -Undo : "Annuler", -Redo : "Refaire", -NumberedListLbl : "Liste numérotée", -NumberedList : "Insérer/supprimer la liste numérotée", -BulletedListLbl : "Liste à puces", -BulletedList : "Insérer/supprimer la liste à puces", -ShowTableBorders : "Afficher les bordures du tableau", -ShowDetails : "Afficher les caractères invisibles", -Style : "Style", -FontFormat : "Format", -Font : "Police", -FontSize : "Taille", -TextColor : "Couleur de caractère", -BGColor : "Couleur de fond", -Source : "Source", -Find : "Chercher", -Replace : "Remplacer", -SpellCheck : "Orthographe", -UniversalKeyboard : "Clavier universel", -PageBreakLbl : "Saut de page", -PageBreak : "Insérer un saut de page", - -Form : "Formulaire", -Checkbox : "Case à cocher", -RadioButton : "Bouton radio", -TextField : "Champ texte", -Textarea : "Zone de texte", -HiddenField : "Champ caché", -Button : "Bouton", -SelectionField : "Champ de sélection", -ImageButton : "Bouton image", - -FitWindow : "Edition pleine page", -ShowBlocks : "Afficher les blocs", - -// Context Menu -EditLink : "Modifier le lien", -CellCM : "Cellule", -RowCM : "Ligne", -ColumnCM : "Colonne", -InsertRowAfter : "Insérer une ligne après", -InsertRowBefore : "Insérer une ligne avant", -DeleteRows : "Supprimer des lignes", -InsertColumnAfter : "Insérer une colonne après", -InsertColumnBefore : "Insérer une colonne avant", -DeleteColumns : "Supprimer des colonnes", -InsertCellAfter : "Insérer une cellule après", -InsertCellBefore : "Insérer une cellule avant", -DeleteCells : "Supprimer des cellules", -MergeCells : "Fusionner les cellules", -MergeRight : "Fusionner à droite", -MergeDown : "Fusionner en bas", -HorizontalSplitCell : "Scinder la cellule horizontalement", -VerticalSplitCell : "Scinder la cellule verticalement", -TableDelete : "Supprimer le tableau", -CellProperties : "Propriétés de cellule", -TableProperties : "Propriétés du tableau", -ImageProperties : "Propriétés de l'image", -FlashProperties : "Propriétés de l'animation Flash", - -AnchorProp : "Propriétés de l'ancre", -ButtonProp : "Propriétés du bouton", -CheckboxProp : "Propriétés de la case à cocher", -HiddenFieldProp : "Propriétés du champ caché", -RadioButtonProp : "Propriétés du bouton radio", -ImageButtonProp : "Propriétés du bouton image", -TextFieldProp : "Propriétés du champ texte", -SelectionFieldProp : "Propriétés de la liste/du menu", -TextareaProp : "Propriétés de la zone de texte", -FormProp : "Propriétés du formulaire", - -FontFormats : "Normal;Formaté;Adresse;En-tête 1;En-tête 2;En-tête 3;En-tête 4;En-tête 5;En-tête 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Calcul XHTML. Veuillez patienter...", -Done : "Terminé", -PasteWordConfirm : "Le texte à coller semble provenir de Word. Désirez-vous le nettoyer avant de coller?", -NotCompatiblePaste : "Cette commande nécessite Internet Explorer version 5.5 et plus. Souhaitez-vous coller sans nettoyage?", -UnknownToolbarItem : "Élément de barre d'outil inconnu \"%1\"", -UnknownCommand : "Nom de commande inconnu \"%1\"", -NotImplemented : "Commande indisponible", -UnknownToolbarSet : "La barre d'outils \"%1\" n'existe pas", -NoActiveX : "Les paramètres de sécurité de votre navigateur peuvent limiter quelques fonctionnalités de l'éditeur. Veuillez activer l'option \"Exécuter les contrôles ActiveX et les plug-ins\". Il se peut que vous rencontriez des erreurs et remarquiez quelques limitations.", -BrowseServerBlocked : "Le navigateur n'a pas pu être ouvert. Assurez-vous que les bloqueurs de popups soient désactivés.", -DialogBlocked : "La fenêtre de dialogue n'a pas pu s'ouvrir. Assurez-vous que les bloqueurs de popups soient désactivés.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Annuler", -DlgBtnClose : "Fermer", -DlgBtnBrowseServer : "Parcourir le serveur", -DlgAdvancedTag : "Avancée", -DlgOpOther : "", -DlgInfoTab : "Info", -DlgAlertUrl : "Veuillez saisir l'URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Sens d'écriture", -DlgGenLangDirLtr : "De gauche à droite (LTR)", -DlgGenLangDirRtl : "De droite à gauche (RTL)", -DlgGenLangCode : "Code langue", -DlgGenAccessKey : "Équivalent clavier", -DlgGenName : "Nom", -DlgGenTabIndex : "Ordre de tabulation", -DlgGenLongDescr : "URL de description longue", -DlgGenClass : "Classes de feuilles de style", -DlgGenTitle : "Titre", -DlgGenContType : "Type de contenu", -DlgGenLinkCharset : "Encodage de caractère", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Propriétés de l'image", -DlgImgInfoTab : "Informations sur l'image", -DlgImgBtnUpload : "Envoyer sur le serveur", -DlgImgURL : "URL", -DlgImgUpload : "Télécharger", -DlgImgAlt : "Texte de remplacement", -DlgImgWidth : "Largeur", -DlgImgHeight : "Hauteur", -DlgImgLockRatio : "Garder les proportions", -DlgBtnResetSize : "Taille originale", -DlgImgBorder : "Bordure", -DlgImgHSpace : "Espacement horizontal", -DlgImgVSpace : "Espacement vertical", -DlgImgAlign : "Alignement", -DlgImgAlignLeft : "Gauche", -DlgImgAlignAbsBottom: "Abs Bas", -DlgImgAlignAbsMiddle: "Abs Milieu", -DlgImgAlignBaseline : "Bas du texte", -DlgImgAlignBottom : "Bas", -DlgImgAlignMiddle : "Milieu", -DlgImgAlignRight : "Droite", -DlgImgAlignTextTop : "Haut du texte", -DlgImgAlignTop : "Haut", -DlgImgPreview : "Prévisualisation", -DlgImgAlertUrl : "Veuillez saisir l'URL de l'image", -DlgImgLinkTab : "Lien", - -// Flash Dialog -DlgFlashTitle : "Propriétés de l'animation Flash", -DlgFlashChkPlay : "Lecture automatique", -DlgFlashChkLoop : "Boucle", -DlgFlashChkMenu : "Activer le menu Flash", -DlgFlashScale : "Affichage", -DlgFlashScaleAll : "Par défaut (tout montrer)", -DlgFlashScaleNoBorder : "Sans bordure", -DlgFlashScaleFit : "Ajuster aux dimensions", - -// Link Dialog -DlgLnkWindowTitle : "Propriétés du lien", -DlgLnkInfoTab : "Informations sur le lien", -DlgLnkTargetTab : "Destination", - -DlgLnkType : "Type de lien", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Ancre dans cette page", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocole", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Sélectionner une ancre", -DlgLnkAnchorByName : "Par nom", -DlgLnkAnchorById : "Par id", -DlgLnkNoAnchors : "(Pas d'ancre disponible dans le document)", -DlgLnkEMail : "Adresse E-Mail", -DlgLnkEMailSubject : "Sujet du message", -DlgLnkEMailBody : "Corps du message", -DlgLnkUpload : "Télécharger", -DlgLnkBtnUpload : "Envoyer sur le serveur", - -DlgLnkTarget : "Destination", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Nouvelle fenêtre (_blank)", -DlgLnkTargetParent : "Fenêtre mère (_parent)", -DlgLnkTargetSelf : "Même fenêtre (_self)", -DlgLnkTargetTop : "Fenêtre supérieure (_top)", -DlgLnkTargetFrameName : "Nom du cadre de destination", -DlgLnkPopWinName : "Nom de la fenêtre popup", -DlgLnkPopWinFeat : "Caractéristiques de la fenêtre popup", -DlgLnkPopResize : "Taille modifiable", -DlgLnkPopLocation : "Barre d'adresses", -DlgLnkPopMenu : "Barre de menu", -DlgLnkPopScroll : "Barres de défilement", -DlgLnkPopStatus : "Barre d'état", -DlgLnkPopToolbar : "Barre d'outils", -DlgLnkPopFullScrn : "Plein écran (IE)", -DlgLnkPopDependent : "Dépendante (Netscape)", -DlgLnkPopWidth : "Largeur", -DlgLnkPopHeight : "Hauteur", -DlgLnkPopLeft : "Position à partir de la gauche", -DlgLnkPopTop : "Position à partir du haut", - -DlnLnkMsgNoUrl : "Veuillez saisir l'URL", -DlnLnkMsgNoEMail : "Veuillez saisir l'adresse e-mail", -DlnLnkMsgNoAnchor : "Veuillez sélectionner une ancre", -DlnLnkMsgInvPopName : "Le nom de la fenêtre popup doit commencer par une lettre et ne doit pas contenir d'espace", - -// Color Dialog -DlgColorTitle : "Sélectionner", -DlgColorBtnClear : "Effacer", -DlgColorHighlight : "Prévisualisation", -DlgColorSelected : "Sélectionné", - -// Smiley Dialog -DlgSmileyTitle : "Insérer un Emoticon", - -// Special Character Dialog -DlgSpecialCharTitle : "Insérer un caractère spécial", - -// Table Dialog -DlgTableTitle : "Propriétés du tableau", -DlgTableRows : "Lignes", -DlgTableColumns : "Colonnes", -DlgTableBorder : "Taille de la bordure", -DlgTableAlign : "Alignement", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Gauche", -DlgTableAlignCenter : "Centré", -DlgTableAlignRight : "Droite", -DlgTableWidth : "Largeur", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "pourcentage", -DlgTableHeight : "Hauteur", -DlgTableCellSpace : "Espacement", -DlgTableCellPad : "Contour", -DlgTableCaption : "Titre", -DlgTableSummary : "Résumé", - -// Table Cell Dialog -DlgCellTitle : "Propriétés de la cellule", -DlgCellWidth : "Largeur", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "pourcentage", -DlgCellHeight : "Hauteur", -DlgCellWordWrap : "Retour à la ligne", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Oui", -DlgCellWordWrapNo : "Non", -DlgCellHorAlign : "Alignement horizontal", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Gauche", -DlgCellHorAlignCenter : "Centré", -DlgCellHorAlignRight: "Droite", -DlgCellVerAlign : "Alignement vertical", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Haut", -DlgCellVerAlignMiddle : "Milieu", -DlgCellVerAlignBottom : "Bas", -DlgCellVerAlignBaseline : "Bas du texte", -DlgCellRowSpan : "Lignes fusionnées", -DlgCellCollSpan : "Colonnes fusionnées", -DlgCellBackColor : "Couleur de fond", -DlgCellBorderColor : "Couleur de bordure", -DlgCellBtnSelect : "Sélectionner...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Chercher et Remplacer", - -// Find Dialog -DlgFindTitle : "Chercher", -DlgFindFindBtn : "Chercher", -DlgFindNotFoundMsg : "Le texte indiqué est introuvable.", - -// Replace Dialog -DlgReplaceTitle : "Remplacer", -DlgReplaceFindLbl : "Rechercher:", -DlgReplaceReplaceLbl : "Remplacer par:", -DlgReplaceCaseChk : "Respecter la casse", -DlgReplaceReplaceBtn : "Remplacer", -DlgReplaceReplAllBtn : "Tout remplacer", -DlgReplaceWordChk : "Mot entier", - -// Paste Operations / Dialog -PasteErrorCut : "Les paramètres de sécurité de votre navigateur empêchent l'éditeur de couper automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl+X).", -PasteErrorCopy : "Les paramètres de sécurité de votre navigateur empêchent l'éditeur de copier automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl+C).", - -PasteAsText : "Coller comme texte", -PasteFromWord : "Coller à partir de Word", - -DlgPasteMsg2 : "Veuillez coller dans la zone ci-dessous en utilisant le clavier (Ctrl+V) et appuyer sur OK.", -DlgPasteSec : "A cause des paramètres de sécurité de votre navigateur, l'éditeur ne peut accéder au presse-papier directement. Vous devez coller à nouveau le contenu dans cette fenêtre.", -DlgPasteIgnoreFont : "Ignorer les polices de caractères", -DlgPasteRemoveStyles : "Supprimer les styles", - -// Color Picker -ColorAutomatic : "Automatique", -ColorMoreColors : "Plus de couleurs...", - -// Document Properties -DocProps : "Propriétés du document", - -// Anchor Dialog -DlgAnchorTitle : "Propriétés de l'ancre", -DlgAnchorName : "Nom de l'ancre", -DlgAnchorErrorName : "Veuillez saisir le nom de l'ancre", - -// Speller Pages Dialog -DlgSpellNotInDic : "Pas dans le dictionnaire", -DlgSpellChangeTo : "Changer en", -DlgSpellBtnIgnore : "Ignorer", -DlgSpellBtnIgnoreAll : "Ignorer tout", -DlgSpellBtnReplace : "Remplacer", -DlgSpellBtnReplaceAll : "Remplacer tout", -DlgSpellBtnUndo : "Annuler", -DlgSpellNoSuggestions : "- Pas de suggestion -", -DlgSpellProgress : "Vérification d'orthographe en cours...", -DlgSpellNoMispell : "Vérification d'orthographe terminée: pas d'erreur trouvée", -DlgSpellNoChanges : "Vérification d'orthographe terminée: Pas de modifications", -DlgSpellOneChange : "Vérification d'orthographe terminée: Un mot modifié", -DlgSpellManyChanges : "Vérification d'orthographe terminée: %1 mots modifiés", - -IeSpellDownload : "Le Correcteur d'orthographe n'est pas installé. Souhaitez-vous le télécharger maintenant?", - -// Button Dialog -DlgButtonText : "Texte (Valeur)", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Bouton", -DlgButtonTypeSbm : "Soumettre", -DlgButtonTypeRst : "Réinitialiser", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nom", -DlgCheckboxValue : "Valeur", -DlgCheckboxSelected : "Sélectionné", - -// Form Dialog -DlgFormName : "Nom", -DlgFormAction : "Action", -DlgFormMethod : "Méthode", - -// Select Field Dialog -DlgSelectName : "Nom", -DlgSelectValue : "Valeur", -DlgSelectSize : "Taille", -DlgSelectLines : "lignes", -DlgSelectChkMulti : "Sélection multiple", -DlgSelectOpAvail : "Options disponibles", -DlgSelectOpText : "Texte", -DlgSelectOpValue : "Valeur", -DlgSelectBtnAdd : "Ajouter", -DlgSelectBtnModify : "Modifier", -DlgSelectBtnUp : "Monter", -DlgSelectBtnDown : "Descendre", -DlgSelectBtnSetValue : "Valeur sélectionnée", -DlgSelectBtnDelete : "Supprimer", - -// Textarea Dialog -DlgTextareaName : "Nom", -DlgTextareaCols : "Colonnes", -DlgTextareaRows : "Lignes", - -// Text Field Dialog -DlgTextName : "Nom", -DlgTextValue : "Valeur", -DlgTextCharWidth : "Largeur en caractères", -DlgTextMaxChars : "Nombre maximum de caractères", -DlgTextType : "Type", -DlgTextTypeText : "Texte", -DlgTextTypePass : "Mot de passe", - -// Hidden Field Dialog -DlgHiddenName : "Nom", -DlgHiddenValue : "Valeur", - -// Bulleted List Dialog -BulletedListProp : "Propriétés de liste à puces", -NumberedListProp : "Propriétés de liste numérotée", -DlgLstStart : "Début", -DlgLstType : "Type", -DlgLstTypeCircle : "Cercle", -DlgLstTypeDisc : "Disque", -DlgLstTypeSquare : "Carré", -DlgLstTypeNumbers : "Nombres (1, 2, 3)", -DlgLstTypeLCase : "Lettres minuscules (a, b, c)", -DlgLstTypeUCase : "Lettres majuscules (A, B, C)", -DlgLstTypeSRoman : "Chiffres romains minuscules (i, ii, iii)", -DlgLstTypeLRoman : "Chiffres romains majuscules (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Général", -DlgDocBackTab : "Fond", -DlgDocColorsTab : "Couleurs et Marges", -DlgDocMetaTab : "Méta-Données", - -DlgDocPageTitle : "Titre de la page", -DlgDocLangDir : "Sens d'écriture", -DlgDocLangDirLTR : "De la gauche vers la droite (LTR)", -DlgDocLangDirRTL : "De la droite vers la gauche (RTL)", -DlgDocLangCode : "Code langue", -DlgDocCharSet : "Encodage de caractère", -DlgDocCharSetCE : "Europe Centrale", -DlgDocCharSetCT : "Chinois Traditionnel (Big5)", -DlgDocCharSetCR : "Cyrillique", -DlgDocCharSetGR : "Grecque", -DlgDocCharSetJP : "Japonais", -DlgDocCharSetKR : "Coréen", -DlgDocCharSetTR : "Turcque", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Occidental", -DlgDocCharSetOther : "Autre encodage de caractère", - -DlgDocDocType : "Type de document", -DlgDocDocTypeOther : "Autre type de document", -DlgDocIncXHTML : "Inclure les déclarations XHTML", -DlgDocBgColor : "Couleur de fond", -DlgDocBgImage : "Image de fond", -DlgDocBgNoScroll : "Image fixe sans défilement", -DlgDocCText : "Texte", -DlgDocCLink : "Lien", -DlgDocCVisited : "Lien visité", -DlgDocCActive : "Lien activé", -DlgDocMargins : "Marges", -DlgDocMaTop : "Haut", -DlgDocMaLeft : "Gauche", -DlgDocMaRight : "Droite", -DlgDocMaBottom : "Bas", -DlgDocMeIndex : "Mots-clés (séparés par des virgules)", -DlgDocMeDescr : "Description", -DlgDocMeAuthor : "Auteur", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Prévisualisation", - -// Templates Dialog -Templates : "Modèles", -DlgTemplatesTitle : "Modèles de contenu", -DlgTemplatesSelMsg : "Sélectionner le modèle à ouvrir dans l'éditeur
    (le contenu actuel sera remplacé):", -DlgTemplatesLoading : "Chargement de la liste des modèles. Veuillez patienter...", -DlgTemplatesNoTpl : "(Aucun modèle disponible)", -DlgTemplatesReplace : "Remplacer tout le contenu actuel", - -// About Dialog -DlgAboutAboutTab : "Á propos de", -DlgAboutBrowserInfoTab : "Navigateur", -DlgAboutLicenseTab : "License", -DlgAboutVersion : "Version", -DlgAboutInfo : "Pour plus d'informations, visiter", - -// Div Dialog -DlgDivGeneralTab : "Général", -DlgDivAdvancedTab : "Avancé", -DlgDivStyle : "Style", -DlgDivInlineStyle : "Attribut Style" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/fr.js b/modules/editor/skins/fckeditor/editor/lang/fr.js deleted file mode 100644 index 7b744ad0f..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/fr.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * French language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Masquer Outils", -ToolbarExpand : "Afficher Outils", - -// Toolbar Items and Context Menu -Save : "Enregistrer", -NewPage : "Nouvelle page", -Preview : "Prévisualisation", -Cut : "Couper", -Copy : "Copier", -Paste : "Coller", -PasteText : "Coller comme texte", -PasteWord : "Coller de Word", -Print : "Imprimer", -SelectAll : "Tout sélectionner", -RemoveFormat : "Supprimer le format", -InsertLinkLbl : "Lien", -InsertLink : "Insérer/modifier le lien", -RemoveLink : "Supprimer le lien", -VisitLink : "Suivre le lien", -Anchor : "Insérer/modifier l'ancre", -AnchorDelete : "Supprimer l'ancre", -InsertImageLbl : "Image", -InsertImage : "Insérer/modifier l'image", -InsertFlashLbl : "Animation Flash", -InsertFlash : "Insérer/modifier l'animation Flash", -InsertTableLbl : "Tableau", -InsertTable : "Insérer/modifier le tableau", -InsertLineLbl : "Séparateur", -InsertLine : "Insérer un séparateur", -InsertSpecialCharLbl: "Caractères spéciaux", -InsertSpecialChar : "Insérer un caractère spécial", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Insérer un Smiley", -About : "A propos de FCKeditor", -Bold : "Gras", -Italic : "Italique", -Underline : "Souligné", -StrikeThrough : "Barré", -Subscript : "Indice", -Superscript : "Exposant", -LeftJustify : "Aligné à gauche", -CenterJustify : "Centré", -RightJustify : "Aligné à Droite", -BlockJustify : "Texte justifié", -DecreaseIndent : "Diminuer le retrait", -IncreaseIndent : "Augmenter le retrait", -Blockquote : "Citation", -CreateDiv : "Créer Balise Div", -EditDiv : "Modifier Balise Div", -DeleteDiv : "Supprimer Balise Div", -Undo : "Annuler", -Redo : "Refaire", -NumberedListLbl : "Liste numérotée", -NumberedList : "Insérer/supprimer la liste numérotée", -BulletedListLbl : "Liste à puces", -BulletedList : "Insérer/supprimer la liste à puces", -ShowTableBorders : "Afficher les bordures du tableau", -ShowDetails : "Afficher les caractères invisibles", -Style : "Style", -FontFormat : "Format", -Font : "Police", -FontSize : "Taille", -TextColor : "Couleur de caractère", -BGColor : "Couleur de fond", -Source : "Source", -Find : "Chercher", -Replace : "Remplacer", -SpellCheck : "Orthographe", -UniversalKeyboard : "Clavier universel", -PageBreakLbl : "Saut de page", -PageBreak : "Insérer un saut de page", - -Form : "Formulaire", -Checkbox : "Case à cocher", -RadioButton : "Bouton radio", -TextField : "Champ texte", -Textarea : "Zone de texte", -HiddenField : "Champ caché", -Button : "Bouton", -SelectionField : "Liste/menu", -ImageButton : "Bouton image", - -FitWindow : "Edition pleine page", -ShowBlocks : "Afficher les blocs", - -// Context Menu -EditLink : "Modifier le lien", -CellCM : "Cellule", -RowCM : "Ligne", -ColumnCM : "Colonne", -InsertRowAfter : "Insérer une ligne après", -InsertRowBefore : "Insérer une ligne avant", -DeleteRows : "Supprimer des lignes", -InsertColumnAfter : "Insérer une colonne après", -InsertColumnBefore : "Insérer une colonne avant", -DeleteColumns : "Supprimer des colonnes", -InsertCellAfter : "Insérer une cellule après", -InsertCellBefore : "Insérer une cellule avant", -DeleteCells : "Supprimer des cellules", -MergeCells : "Fusionner les cellules", -MergeRight : "Fusionner à droite", -MergeDown : "Fusionner en bas", -HorizontalSplitCell : "Scinder la cellule horizontalement", -VerticalSplitCell : "Scinder la cellule verticalement", -TableDelete : "Supprimer le tableau", -CellProperties : "Propriétés de cellule", -TableProperties : "Propriétés du tableau", -ImageProperties : "Propriétés de l'image", -FlashProperties : "Propriétés de l'animation Flash", - -AnchorProp : "Propriétés de l'ancre", -ButtonProp : "Propriétés du bouton", -CheckboxProp : "Propriétés de la case à cocher", -HiddenFieldProp : "Propriétés du champ caché", -RadioButtonProp : "Propriétés du bouton radio", -ImageButtonProp : "Propriétés du bouton image", -TextFieldProp : "Propriétés du champ texte", -SelectionFieldProp : "Propriétés de la liste/du menu", -TextareaProp : "Propriétés de la zone de texte", -FormProp : "Propriétés du formulaire", - -FontFormats : "Normal;Formaté;Adresse;En-tête 1;En-tête 2;En-tête 3;En-tête 4;En-tête 5;En-tête 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Calcul XHTML. Veuillez patienter...", -Done : "Terminé", -PasteWordConfirm : "Le texte à coller semble provenir de Word. Désirez-vous le nettoyer avant de coller?", -NotCompatiblePaste : "Cette commande nécessite Internet Explorer version 5.5 minimum. Souhaitez-vous coller sans nettoyage?", -UnknownToolbarItem : "Elément de barre d'outil inconnu \"%1\"", -UnknownCommand : "Nom de commande inconnu \"%1\"", -NotImplemented : "Commande non encore écrite", -UnknownToolbarSet : "La barre d'outils \"%1\" n'existe pas", -NoActiveX : "Les paramètres de sécurité de votre navigateur peuvent limiter quelques fonctionnalités de l'éditeur. Veuillez activer l'option \"Exécuter les contrôles ActiveX et les plug-ins\". Il se peut que vous rencontriez des erreurs et remarquiez quelques limitations.", -BrowseServerBlocked : "Le navigateur n'a pas pu être ouvert. Assurez-vous que les bloqueurs de popups soient désactivés.", -DialogBlocked : "La fenêtre de dialogue n'a pas pu s'ouvrir. Assurez-vous que les bloqueurs de popups soient désactivés.", -VisitLinkBlocked : "Impossible d'ouvrir une nouvelle fenêtre. Assurez-vous que les bloqueurs de popups soient désactivés.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Annuler", -DlgBtnClose : "Fermer", -DlgBtnBrowseServer : "Parcourir le serveur", -DlgAdvancedTag : "Avancé", -DlgOpOther : "", -DlgInfoTab : "Info", -DlgAlertUrl : "Veuillez saisir l'URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Sens d'écriture", -DlgGenLangDirLtr : "De gauche à droite (LTR)", -DlgGenLangDirRtl : "De droite à gauche (RTL)", -DlgGenLangCode : "Code langue", -DlgGenAccessKey : "Equivalent clavier", -DlgGenName : "Nom", -DlgGenTabIndex : "Ordre de tabulation", -DlgGenLongDescr : "URL de description longue", -DlgGenClass : "Classes de feuilles de style", -DlgGenTitle : "Titre", -DlgGenContType : "Type de contenu", -DlgGenLinkCharset : "Encodage de caractère", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Propriétés de l'image", -DlgImgInfoTab : "Informations sur l'image", -DlgImgBtnUpload : "Envoyer sur le serveur", -DlgImgURL : "URL", -DlgImgUpload : "Télécharger", -DlgImgAlt : "Texte de remplacement", -DlgImgWidth : "Largeur", -DlgImgHeight : "Hauteur", -DlgImgLockRatio : "Garder les proportions", -DlgBtnResetSize : "Taille originale", -DlgImgBorder : "Bordure", -DlgImgHSpace : "Espacement horizontal", -DlgImgVSpace : "Espacement vertical", -DlgImgAlign : "Alignement", -DlgImgAlignLeft : "Gauche", -DlgImgAlignAbsBottom: "Abs Bas", -DlgImgAlignAbsMiddle: "Abs Milieu", -DlgImgAlignBaseline : "Bas du texte", -DlgImgAlignBottom : "Bas", -DlgImgAlignMiddle : "Milieu", -DlgImgAlignRight : "Droite", -DlgImgAlignTextTop : "Haut du texte", -DlgImgAlignTop : "Haut", -DlgImgPreview : "Prévisualisation", -DlgImgAlertUrl : "Veuillez saisir l'URL de l'image", -DlgImgLinkTab : "Lien", - -// Flash Dialog -DlgFlashTitle : "Propriétés de l'animation Flash", -DlgFlashChkPlay : "Lecture automatique", -DlgFlashChkLoop : "Boucle", -DlgFlashChkMenu : "Activer le menu Flash", -DlgFlashScale : "Affichage", -DlgFlashScaleAll : "Par défaut (tout montrer)", -DlgFlashScaleNoBorder : "Sans bordure", -DlgFlashScaleFit : "Ajuster aux dimensions", - -// Link Dialog -DlgLnkWindowTitle : "Propriétés du lien", -DlgLnkInfoTab : "Informations sur le lien", -DlgLnkTargetTab : "Destination", - -DlgLnkType : "Type de lien", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Ancre dans cette page", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocole", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Sélectionner une ancre", -DlgLnkAnchorByName : "Par nom", -DlgLnkAnchorById : "Par id", -DlgLnkNoAnchors : "(Pas d'ancre disponible dans le document)", -DlgLnkEMail : "Adresse E-Mail", -DlgLnkEMailSubject : "Sujet du message", -DlgLnkEMailBody : "Corps du message", -DlgLnkUpload : "Télécharger", -DlgLnkBtnUpload : "Envoyer sur le serveur", - -DlgLnkTarget : "Destination", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Nouvelle fenêtre (_blank)", -DlgLnkTargetParent : "Fenêtre mère (_parent)", -DlgLnkTargetSelf : "Même fenêtre (_self)", -DlgLnkTargetTop : "Fenêtre supérieure (_top)", -DlgLnkTargetFrameName : "Nom du cadre de destination", -DlgLnkPopWinName : "Nom de la fenêtre popup", -DlgLnkPopWinFeat : "Caractéristiques de la fenêtre popup", -DlgLnkPopResize : "Taille modifiable", -DlgLnkPopLocation : "Barre d'adresses", -DlgLnkPopMenu : "Barre de menu", -DlgLnkPopScroll : "Barres de défilement", -DlgLnkPopStatus : "Barre d'état", -DlgLnkPopToolbar : "Barre d'outils", -DlgLnkPopFullScrn : "Plein écran (IE)", -DlgLnkPopDependent : "Dépendante (Netscape)", -DlgLnkPopWidth : "Largeur", -DlgLnkPopHeight : "Hauteur", -DlgLnkPopLeft : "Position à partir de la gauche", -DlgLnkPopTop : "Position à partir du haut", - -DlnLnkMsgNoUrl : "Veuillez saisir l'URL", -DlnLnkMsgNoEMail : "Veuillez saisir l'adresse e-mail", -DlnLnkMsgNoAnchor : "Veuillez sélectionner une ancre", -DlnLnkMsgInvPopName : "Le nom de la fenêtre popup doit commencer par une lettre et ne doit pas contenir d'espace", - -// Color Dialog -DlgColorTitle : "Sélectionner", -DlgColorBtnClear : "Effacer", -DlgColorHighlight : "Prévisualisation", -DlgColorSelected : "Sélectionné", - -// Smiley Dialog -DlgSmileyTitle : "Insérer un Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Insérer un caractère spécial", - -// Table Dialog -DlgTableTitle : "Propriétés du tableau", -DlgTableRows : "Lignes", -DlgTableColumns : "Colonnes", -DlgTableBorder : "Bordure", -DlgTableAlign : "Alignement", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Gauche", -DlgTableAlignCenter : "Centré", -DlgTableAlignRight : "Droite", -DlgTableWidth : "Largeur", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "pourcentage", -DlgTableHeight : "Hauteur", -DlgTableCellSpace : "Espacement", -DlgTableCellPad : "Contour", -DlgTableCaption : "Titre", -DlgTableSummary : "Résumé", - -// Table Cell Dialog -DlgCellTitle : "Propriétés de la cellule", -DlgCellWidth : "Largeur", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "pourcentage", -DlgCellHeight : "Hauteur", -DlgCellWordWrap : "Retour à la ligne", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Oui", -DlgCellWordWrapNo : "Non", -DlgCellHorAlign : "Alignement horizontal", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Gauche", -DlgCellHorAlignCenter : "Centré", -DlgCellHorAlignRight: "Droite", -DlgCellVerAlign : "Alignement vertical", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Haut", -DlgCellVerAlignMiddle : "Milieu", -DlgCellVerAlignBottom : "Bas", -DlgCellVerAlignBaseline : "Bas du texte", -DlgCellRowSpan : "Lignes fusionnées", -DlgCellCollSpan : "Colonnes fusionnées", -DlgCellBackColor : "Fond", -DlgCellBorderColor : "Bordure", -DlgCellBtnSelect : "Choisir...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Chercher et Remplacer", - -// Find Dialog -DlgFindTitle : "Chercher", -DlgFindFindBtn : "Chercher", -DlgFindNotFoundMsg : "Le texte indiqué est introuvable.", - -// Replace Dialog -DlgReplaceTitle : "Remplacer", -DlgReplaceFindLbl : "Rechercher:", -DlgReplaceReplaceLbl : "Remplacer par:", -DlgReplaceCaseChk : "Respecter la casse", -DlgReplaceReplaceBtn : "Remplacer", -DlgReplaceReplAllBtn : "Tout remplacer", -DlgReplaceWordChk : "Mot entier", - -// Paste Operations / Dialog -PasteErrorCut : "Les paramètres de sécurité de votre navigateur empêchent l'éditeur de couper automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl+X).", -PasteErrorCopy : "Les paramètres de sécurité de votre navigateur empêchent l'éditeur de copier automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl+C).", - -PasteAsText : "Coller comme texte", -PasteFromWord : "Coller à partir de Word", - -DlgPasteMsg2 : "Veuillez coller dans la zone ci-dessous en utilisant le clavier (Ctrl+V) et cliquez sur OK.", -DlgPasteSec : "A cause des paramètres de sécurité de votre navigateur, l'éditeur ne peut accéder au presse-papier directement. Vous devez coller à nouveau le contenu dans cette fenêtre.", -DlgPasteIgnoreFont : "Ignorer les polices de caractères", -DlgPasteRemoveStyles : "Supprimer les styles", - -// Color Picker -ColorAutomatic : "Automatique", -ColorMoreColors : "Plus de couleurs...", - -// Document Properties -DocProps : "Propriétés du document", - -// Anchor Dialog -DlgAnchorTitle : "Propriétés de l'ancre", -DlgAnchorName : "Nom de l'ancre", -DlgAnchorErrorName : "Veuillez saisir le nom de l'ancre", - -// Speller Pages Dialog -DlgSpellNotInDic : "Pas dans le dictionnaire", -DlgSpellChangeTo : "Changer en", -DlgSpellBtnIgnore : "Ignorer", -DlgSpellBtnIgnoreAll : "Ignorer tout", -DlgSpellBtnReplace : "Remplacer", -DlgSpellBtnReplaceAll : "Remplacer tout", -DlgSpellBtnUndo : "Annuler", -DlgSpellNoSuggestions : "- Aucune suggestion -", -DlgSpellProgress : "Vérification d'orthographe en cours...", -DlgSpellNoMispell : "Vérification d'orthographe terminée: Aucune erreur trouvée", -DlgSpellNoChanges : "Vérification d'orthographe terminée: Pas de modifications", -DlgSpellOneChange : "Vérification d'orthographe terminée: Un mot modifié", -DlgSpellManyChanges : "Vérification d'orthographe terminée: %1 mots modifiés", - -IeSpellDownload : "Le Correcteur n'est pas installé. Souhaitez-vous le télécharger maintenant?", - -// Button Dialog -DlgButtonText : "Texte (valeur)", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Bouton", -DlgButtonTypeSbm : "Envoyer", -DlgButtonTypeRst : "Réinitialiser", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nom", -DlgCheckboxValue : "Valeur", -DlgCheckboxSelected : "Sélectionné", - -// Form Dialog -DlgFormName : "Nom", -DlgFormAction : "Action", -DlgFormMethod : "Méthode", - -// Select Field Dialog -DlgSelectName : "Nom", -DlgSelectValue : "Valeur", -DlgSelectSize : "Taille", -DlgSelectLines : "lignes", -DlgSelectChkMulti : "Sélection multiple", -DlgSelectOpAvail : "Options disponibles", -DlgSelectOpText : "Texte", -DlgSelectOpValue : "Valeur", -DlgSelectBtnAdd : "Ajouter", -DlgSelectBtnModify : "Modifier", -DlgSelectBtnUp : "Monter", -DlgSelectBtnDown : "Descendre", -DlgSelectBtnSetValue : "Valeur sélectionnée", -DlgSelectBtnDelete : "Supprimer", - -// Textarea Dialog -DlgTextareaName : "Nom", -DlgTextareaCols : "Colonnes", -DlgTextareaRows : "Lignes", - -// Text Field Dialog -DlgTextName : "Nom", -DlgTextValue : "Valeur", -DlgTextCharWidth : "Largeur en caractères", -DlgTextMaxChars : "Nombre maximum de caractères", -DlgTextType : "Type", -DlgTextTypeText : "Texte", -DlgTextTypePass : "Mot de passe", - -// Hidden Field Dialog -DlgHiddenName : "Nom", -DlgHiddenValue : "Valeur", - -// Bulleted List Dialog -BulletedListProp : "Propriétés de liste à puces", -NumberedListProp : "Propriétés de liste numérotée", -DlgLstStart : "Début", -DlgLstType : "Type", -DlgLstTypeCircle : "Cercle", -DlgLstTypeDisc : "Disque", -DlgLstTypeSquare : "Carré", -DlgLstTypeNumbers : "Nombres (1, 2, 3)", -DlgLstTypeLCase : "Lettres minuscules (a, b, c)", -DlgLstTypeUCase : "Lettres majuscules (A, B, C)", -DlgLstTypeSRoman : "Chiffres romains minuscules (i, ii, iii)", -DlgLstTypeLRoman : "Chiffres romains majuscules (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Général", -DlgDocBackTab : "Fond", -DlgDocColorsTab : "Couleurs et marges", -DlgDocMetaTab : "Métadonnées", - -DlgDocPageTitle : "Titre de la page", -DlgDocLangDir : "Sens d'écriture", -DlgDocLangDirLTR : "De la gauche vers la droite (LTR)", -DlgDocLangDirRTL : "De la droite vers la gauche (RTL)", -DlgDocLangCode : "Code langue", -DlgDocCharSet : "Encodage de caractère", -DlgDocCharSetCE : "Europe Centrale", -DlgDocCharSetCT : "Chinois Traditionnel (Big5)", -DlgDocCharSetCR : "Cyrillique", -DlgDocCharSetGR : "Grec", -DlgDocCharSetJP : "Japonais", -DlgDocCharSetKR : "Coréen", -DlgDocCharSetTR : "Turc", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Occidental", -DlgDocCharSetOther : "Autre encodage de caractère", - -DlgDocDocType : "Type de document", -DlgDocDocTypeOther : "Autre type de document", -DlgDocIncXHTML : "Inclure les déclarations XHTML", -DlgDocBgColor : "Couleur de fond", -DlgDocBgImage : "Image de fond", -DlgDocBgNoScroll : "Image fixe sans défilement", -DlgDocCText : "Texte", -DlgDocCLink : "Lien", -DlgDocCVisited : "Lien visité", -DlgDocCActive : "Lien activé", -DlgDocMargins : "Marges", -DlgDocMaTop : "Haut", -DlgDocMaLeft : "Gauche", -DlgDocMaRight : "Droite", -DlgDocMaBottom : "Bas", -DlgDocMeIndex : "Mots-clés (séparés par des virgules)", -DlgDocMeDescr : "Description", -DlgDocMeAuthor : "Auteur", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Prévisualisation", - -// Templates Dialog -Templates : "Modèles", -DlgTemplatesTitle : "Modèles de contenu", -DlgTemplatesSelMsg : "Veuillez sélectionner le modèle à ouvrir dans l'éditeur
    (le contenu actuel sera remplacé):", -DlgTemplatesLoading : "Chargement de la liste des modèles. Veuillez patienter...", -DlgTemplatesNoTpl : "(Aucun modèle disponible)", -DlgTemplatesReplace : "Remplacer tout le contenu", - -// About Dialog -DlgAboutAboutTab : "A propos de", -DlgAboutBrowserInfoTab : "Navigateur", -DlgAboutLicenseTab : "Licence", -DlgAboutVersion : "Version", -DlgAboutInfo : "Pour plus d'informations, aller à", - -// Div Dialog -DlgDivGeneralTab : "Général", -DlgDivAdvancedTab : "Avancé", -DlgDivStyle : "Style", -DlgDivInlineStyle : "Attribut Style" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/gl.js b/modules/editor/skins/fckeditor/editor/lang/gl.js deleted file mode 100644 index 560969f79..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/gl.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Galician language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Ocultar Ferramentas", -ToolbarExpand : "Mostrar Ferramentas", - -// Toolbar Items and Context Menu -Save : "Gardar", -NewPage : "Nova Páxina", -Preview : "Vista Previa", -Cut : "Cortar", -Copy : "Copiar", -Paste : "Pegar", -PasteText : "Pegar como texto plano", -PasteWord : "Pegar dende Word", -Print : "Imprimir", -SelectAll : "Seleccionar todo", -RemoveFormat : "Eliminar Formato", -InsertLinkLbl : "Ligazón", -InsertLink : "Inserir/Editar Ligazón", -RemoveLink : "Eliminar Ligazón", -VisitLink : "Open Link", //MISSING -Anchor : "Inserir/Editar Referencia", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Imaxe", -InsertImage : "Inserir/Editar Imaxe", -InsertFlashLbl : "Flash", -InsertFlash : "Inserir/Editar Flash", -InsertTableLbl : "Tabla", -InsertTable : "Inserir/Editar Tabla", -InsertLineLbl : "Liña", -InsertLine : "Inserir Liña Horizontal", -InsertSpecialCharLbl: "Carácter Special", -InsertSpecialChar : "Inserir Carácter Especial", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Inserir Smiley", -About : "Acerca de FCKeditor", -Bold : "Negrita", -Italic : "Cursiva", -Underline : "Sub-raiado", -StrikeThrough : "Tachado", -Subscript : "Subíndice", -Superscript : "Superíndice", -LeftJustify : "Aliñar á Esquerda", -CenterJustify : "Centrado", -RightJustify : "Aliñar á Dereita", -BlockJustify : "Xustificado", -DecreaseIndent : "Disminuir Sangría", -IncreaseIndent : "Aumentar Sangría", -Blockquote : "Blockquote", //MISSING -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "Desfacer", -Redo : "Refacer", -NumberedListLbl : "Lista Numerada", -NumberedList : "Inserir/Eliminar Lista Numerada", -BulletedListLbl : "Marcas", -BulletedList : "Inserir/Eliminar Marcas", -ShowTableBorders : "Mostrar Bordes das Táboas", -ShowDetails : "Mostrar Marcas Parágrafo", -Style : "Estilo", -FontFormat : "Formato", -Font : "Tipo", -FontSize : "Tamaño", -TextColor : "Cor do Texto", -BGColor : "Cor do Fondo", -Source : "Código Fonte", -Find : "Procurar", -Replace : "Substituir", -SpellCheck : "Corrección Ortográfica", -UniversalKeyboard : "Teclado Universal", -PageBreakLbl : "Salto de Páxina", -PageBreak : "Inserir Salto de Páxina", - -Form : "Formulario", -Checkbox : "Cadro de Verificación", -RadioButton : "Botón de Radio", -TextField : "Campo de Texto", -Textarea : "Área de Texto", -HiddenField : "Campo Oculto", -Button : "Botón", -SelectionField : "Campo de Selección", -ImageButton : "Botón de Imaxe", - -FitWindow : "Maximizar o tamaño do editor", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Editar Ligazón", -CellCM : "Cela", -RowCM : "Fila", -ColumnCM : "Columna", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Borrar Filas", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Borrar Columnas", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Borrar Cela", -MergeCells : "Unir Celas", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Borrar Táboa", -CellProperties : "Propriedades da Cela", -TableProperties : "Propriedades da Táboa", -ImageProperties : "Propriedades Imaxe", -FlashProperties : "Propriedades Flash", - -AnchorProp : "Propriedades da Referencia", -ButtonProp : "Propriedades do Botón", -CheckboxProp : "Propriedades do Cadro de Verificación", -HiddenFieldProp : "Propriedades do Campo Oculto", -RadioButtonProp : "Propriedades do Botón de Radio", -ImageButtonProp : "Propriedades do Botón de Imaxe", -TextFieldProp : "Propriedades do Campo de Texto", -SelectionFieldProp : "Propriedades do Campo de Selección", -TextareaProp : "Propriedades da Área de Texto", -FormProp : "Propriedades do Formulario", - -FontFormats : "Normal;Formateado;Enderezo;Enacabezado 1;Encabezado 2;Encabezado 3;Encabezado 4;Encabezado 5;Encabezado 6;Paragraph (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Procesando XHTML. Por facor, agarde...", -Done : "Feiro", -PasteWordConfirm : "Parece que o texto que quere pegar está copiado do Word.¿Quere limpar o formato antes de pegalo?", -NotCompatiblePaste : "Este comando está disponible para Internet Explorer versión 5.5 ou superior. ¿Quere pegalo sen limpar o formato?", -UnknownToolbarItem : "Ítem de ferramentas descoñecido \"%1\"", -UnknownCommand : "Nome de comando descoñecido \"%1\"", -NotImplemented : "Comando non implementado", -UnknownToolbarSet : "O conxunto de ferramentas \"%1\" non existe", -NoActiveX : "As opcións de seguridade do seu navegador poderían limitar algunha das características de editor. Debe activar a opción \"Executar controis ActiveX e plug-ins\". Pode notar que faltan características e experimentar erros", -BrowseServerBlocked : "Non se poido abrir o navegador de recursos. Asegúrese de que están desactivados os bloqueadores de xanelas emerxentes", -DialogBlocked : "Non foi posible abrir a xanela de diálogo. Asegúrese de que están desactivados os bloqueadores de xanelas emerxentes", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancelar", -DlgBtnClose : "Pechar", -DlgBtnBrowseServer : "Navegar no Servidor", -DlgAdvancedTag : "Advanzado", -DlgOpOther : "", -DlgInfoTab : "Info", -DlgAlertUrl : "Por favor, insira a URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Orientación do Idioma", -DlgGenLangDirLtr : "Esquerda a Dereita (LTR)", -DlgGenLangDirRtl : "Dereita a Esquerda (RTL)", -DlgGenLangCode : "Código do Idioma", -DlgGenAccessKey : "Chave de Acceso", -DlgGenName : "Nome", -DlgGenTabIndex : "Índice de Tabulación", -DlgGenLongDescr : "Descrición Completa da URL", -DlgGenClass : "Clases da Folla de Estilos", -DlgGenTitle : "Título", -DlgGenContType : "Tipo de Contido", -DlgGenLinkCharset : "Fonte de Caracteres Vinculado", -DlgGenStyle : "Estilo", - -// Image Dialog -DlgImgTitle : "Propriedades da Imaxe", -DlgImgInfoTab : "Información da Imaxe", -DlgImgBtnUpload : "Enviar ó Servidor", -DlgImgURL : "URL", -DlgImgUpload : "Carregar", -DlgImgAlt : "Texto Alternativo", -DlgImgWidth : "Largura", -DlgImgHeight : "Altura", -DlgImgLockRatio : "Proporcional", -DlgBtnResetSize : "Tamaño Orixinal", -DlgImgBorder : "Límite", -DlgImgHSpace : "Esp. Horiz.", -DlgImgVSpace : "Esp. Vert.", -DlgImgAlign : "Aliñamento", -DlgImgAlignLeft : "Esquerda", -DlgImgAlignAbsBottom: "Abs Inferior", -DlgImgAlignAbsMiddle: "Abs Centro", -DlgImgAlignBaseline : "Liña Base", -DlgImgAlignBottom : "Pé", -DlgImgAlignMiddle : "Centro", -DlgImgAlignRight : "Dereita", -DlgImgAlignTextTop : "Tope do Texto", -DlgImgAlignTop : "Tope", -DlgImgPreview : "Vista Previa", -DlgImgAlertUrl : "Por favor, escriba a URL da imaxe", -DlgImgLinkTab : "Ligazón", - -// Flash Dialog -DlgFlashTitle : "Propriedades Flash", -DlgFlashChkPlay : "Auto Execución", -DlgFlashChkLoop : "Bucle", -DlgFlashChkMenu : "Activar Menú Flash", -DlgFlashScale : "Escalar", -DlgFlashScaleAll : "Amosar Todo", -DlgFlashScaleNoBorder : "Sen Borde", -DlgFlashScaleFit : "Encaixar axustando", - -// Link Dialog -DlgLnkWindowTitle : "Ligazón", -DlgLnkInfoTab : "Información da Ligazón", -DlgLnkTargetTab : "Referencia a esta páxina", - -DlgLnkType : "Tipo de Ligazón", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Referencia nesta páxina", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocolo", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Seleccionar unha Referencia", -DlgLnkAnchorByName : "Por Nome de Referencia", -DlgLnkAnchorById : "Por Element Id", -DlgLnkNoAnchors : "(Non hai referencias disponibles no documento)", -DlgLnkEMail : "Enderezo de E-Mail", -DlgLnkEMailSubject : "Asunto do Mensaxe", -DlgLnkEMailBody : "Corpo do Mensaxe", -DlgLnkUpload : "Carregar", -DlgLnkBtnUpload : "Enviar ó servidor", - -DlgLnkTarget : "Destino", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Nova Xanela (_blank)", -DlgLnkTargetParent : "Xanela Pai (_parent)", -DlgLnkTargetSelf : "Mesma Xanela (_self)", -DlgLnkTargetTop : "Xanela Primaria (_top)", -DlgLnkTargetFrameName : "Nome do Marco Destino", -DlgLnkPopWinName : "Nome da Xanela Emerxente", -DlgLnkPopWinFeat : "Características da Xanela Emerxente", -DlgLnkPopResize : "Axustable", -DlgLnkPopLocation : "Barra de Localización", -DlgLnkPopMenu : "Barra de Menú", -DlgLnkPopScroll : "Barras de Desplazamento", -DlgLnkPopStatus : "Barra de Estado", -DlgLnkPopToolbar : "Barra de Ferramentas", -DlgLnkPopFullScrn : "A Toda Pantalla (IE)", -DlgLnkPopDependent : "Dependente (Netscape)", -DlgLnkPopWidth : "Largura", -DlgLnkPopHeight : "Altura", -DlgLnkPopLeft : "Posición Esquerda", -DlgLnkPopTop : "Posición dende Arriba", - -DlnLnkMsgNoUrl : "Por favor, escriba a ligazón URL", -DlnLnkMsgNoEMail : "Por favor, escriba o enderezo de e-mail", -DlnLnkMsgNoAnchor : "Por favor, seleccione un destino", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Seleccionar Color", -DlgColorBtnClear : "Nengunha", -DlgColorHighlight : "Destacado", -DlgColorSelected : "Seleccionado", - -// Smiley Dialog -DlgSmileyTitle : "Inserte un Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Seleccione Caracter Especial", - -// Table Dialog -DlgTableTitle : "Propiedades da Táboa", -DlgTableRows : "Filas", -DlgTableColumns : "Columnas", -DlgTableBorder : "Tamaño do Borde", -DlgTableAlign : "Aliñamento", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Esquerda", -DlgTableAlignCenter : "Centro", -DlgTableAlignRight : "Ereita", -DlgTableWidth : "Largura", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "percent", -DlgTableHeight : "Altura", -DlgTableCellSpace : "Marxe entre Celas", -DlgTableCellPad : "Marxe interior", -DlgTableCaption : "Título", -DlgTableSummary : "Sumario", - -// Table Cell Dialog -DlgCellTitle : "Propriedades da Cela", -DlgCellWidth : "Largura", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "percent", -DlgCellHeight : "Altura", -DlgCellWordWrap : "Axustar Liñas", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Si", -DlgCellWordWrapNo : "Non", -DlgCellHorAlign : "Aliñamento Horizontal", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Esquerda", -DlgCellHorAlignCenter : "Centro", -DlgCellHorAlignRight: "Dereita", -DlgCellVerAlign : "Aliñamento Vertical", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Arriba", -DlgCellVerAlignMiddle : "Medio", -DlgCellVerAlignBottom : "Abaixo", -DlgCellVerAlignBaseline : "Liña de Base", -DlgCellRowSpan : "Ocupar Filas", -DlgCellCollSpan : "Ocupar Columnas", -DlgCellBackColor : "Color de Fondo", -DlgCellBorderColor : "Color de Borde", -DlgCellBtnSelect : "Seleccionar...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Procurar", -DlgFindFindBtn : "Procurar", -DlgFindNotFoundMsg : "Non te atopou o texto indicado.", - -// Replace Dialog -DlgReplaceTitle : "Substituir", -DlgReplaceFindLbl : "Texto a procurar:", -DlgReplaceReplaceLbl : "Substituir con:", -DlgReplaceCaseChk : "Coincidir Mai./min.", -DlgReplaceReplaceBtn : "Substituir", -DlgReplaceReplAllBtn : "Substitiur Todo", -DlgReplaceWordChk : "Coincidir con toda a palabra", - -// Paste Operations / Dialog -PasteErrorCut : "Os axustes de seguridade do seu navegador non permiten que o editor realice automáticamente as tarefas de corte. Por favor, use o teclado para iso (Ctrl+X).", -PasteErrorCopy : "Os axustes de seguridade do seu navegador non permiten que o editor realice automáticamente as tarefas de copia. Por favor, use o teclado para iso (Ctrl+C).", - -PasteAsText : "Pegar como texto plano", -PasteFromWord : "Pegar dende Word", - -DlgPasteMsg2 : "Por favor, pegue dentro do seguinte cadro usando o teclado (Ctrl+V) e pulse OK.", -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING -DlgPasteIgnoreFont : "Ignorar as definicións de Tipografía", -DlgPasteRemoveStyles : "Eliminar as definicións de Estilos", - -// Color Picker -ColorAutomatic : "Automático", -ColorMoreColors : "Máis Cores...", - -// Document Properties -DocProps : "Propriedades do Documento", - -// Anchor Dialog -DlgAnchorTitle : "Propriedades da Referencia", -DlgAnchorName : "Nome da Referencia", -DlgAnchorErrorName : "Por favor, escriba o nome da referencia", - -// Speller Pages Dialog -DlgSpellNotInDic : "Non está no diccionario", -DlgSpellChangeTo : "Cambiar a", -DlgSpellBtnIgnore : "Ignorar", -DlgSpellBtnIgnoreAll : "Ignorar Todas", -DlgSpellBtnReplace : "Substituir", -DlgSpellBtnReplaceAll : "Substituir Todas", -DlgSpellBtnUndo : "Desfacer", -DlgSpellNoSuggestions : "- Sen candidatos -", -DlgSpellProgress : "Corrección ortográfica en progreso...", -DlgSpellNoMispell : "Corrección ortográfica rematada: Non se atoparon erros", -DlgSpellNoChanges : "Corrección ortográfica rematada: Non se substituiu nengunha verba", -DlgSpellOneChange : "Corrección ortográfica rematada: Unha verba substituida", -DlgSpellManyChanges : "Corrección ortográfica rematada: %1 verbas substituidas", - -IeSpellDownload : "O corrector ortográfico non está instalado. ¿Quere descargalo agora?", - -// Button Dialog -DlgButtonText : "Texto (Valor)", -DlgButtonType : "Tipo", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nome", -DlgCheckboxValue : "Valor", -DlgCheckboxSelected : "Seleccionado", - -// Form Dialog -DlgFormName : "Nome", -DlgFormAction : "Acción", -DlgFormMethod : "Método", - -// Select Field Dialog -DlgSelectName : "Nome", -DlgSelectValue : "Valor", -DlgSelectSize : "Tamaño", -DlgSelectLines : "liñas", -DlgSelectChkMulti : "Permitir múltiples seleccións", -DlgSelectOpAvail : "Opcións Disponibles", -DlgSelectOpText : "Texto", -DlgSelectOpValue : "Valor", -DlgSelectBtnAdd : "Engadir", -DlgSelectBtnModify : "Modificar", -DlgSelectBtnUp : "Subir", -DlgSelectBtnDown : "Baixar", -DlgSelectBtnSetValue : "Definir como valor por defecto", -DlgSelectBtnDelete : "Borrar", - -// Textarea Dialog -DlgTextareaName : "Nome", -DlgTextareaCols : "Columnas", -DlgTextareaRows : "Filas", - -// Text Field Dialog -DlgTextName : "Nome", -DlgTextValue : "Valor", -DlgTextCharWidth : "Tamaño do Caracter", -DlgTextMaxChars : "Máximo de Caracteres", -DlgTextType : "Tipo", -DlgTextTypeText : "Texto", -DlgTextTypePass : "Chave", - -// Hidden Field Dialog -DlgHiddenName : "Nome", -DlgHiddenValue : "Valor", - -// Bulleted List Dialog -BulletedListProp : "Propriedades das Marcas", -NumberedListProp : "Propriedades da Lista de Numeración", -DlgLstStart : "Start", //MISSING -DlgLstType : "Tipo", -DlgLstTypeCircle : "Círculo", -DlgLstTypeDisc : "Disco", -DlgLstTypeSquare : "Cuadrado", -DlgLstTypeNumbers : "Números (1, 2, 3)", -DlgLstTypeLCase : "Letras Minúsculas (a, b, c)", -DlgLstTypeUCase : "Letras Maiúsculas (A, B, C)", -DlgLstTypeSRoman : "Números Romanos en minúscula (i, ii, iii)", -DlgLstTypeLRoman : "Números Romanos en Maiúscula (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Xeral", -DlgDocBackTab : "Fondo", -DlgDocColorsTab : "Cores e Marxes", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Título da Páxina", -DlgDocLangDir : "Orientación do Idioma", -DlgDocLangDirLTR : "Esquerda a Dereita (LTR)", -DlgDocLangDirRTL : "Dereita a Esquerda (RTL)", -DlgDocLangCode : "Código de Idioma", -DlgDocCharSet : "Codificación do Xogo de Caracteres", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Outra Codificación do Xogo de Caracteres", - -DlgDocDocType : "Encabezado do Tipo de Documento", -DlgDocDocTypeOther : "Outro Encabezado do Tipo de Documento", -DlgDocIncXHTML : "Incluir Declaracións XHTML", -DlgDocBgColor : "Cor de Fondo", -DlgDocBgImage : "URL da Imaxe de Fondo", -DlgDocBgNoScroll : "Fondo Fixo", -DlgDocCText : "Texto", -DlgDocCLink : "Ligazóns", -DlgDocCVisited : "Ligazón Visitada", -DlgDocCActive : "Ligazón Activa", -DlgDocMargins : "Marxes da Páxina", -DlgDocMaTop : "Arriba", -DlgDocMaLeft : "Esquerda", -DlgDocMaRight : "Dereita", -DlgDocMaBottom : "Abaixo", -DlgDocMeIndex : "Palabras Chave de Indexación do Documento (separadas por comas)", -DlgDocMeDescr : "Descripción do Documento", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Vista Previa", - -// Templates Dialog -Templates : "Plantillas", -DlgTemplatesTitle : "Plantillas de Contido", -DlgTemplatesSelMsg : "Por favor, seleccione a plantilla a abrir no editor
    (o contido actual perderase):", -DlgTemplatesLoading : "Cargando listado de plantillas. Por favor, espere...", -DlgTemplatesNoTpl : "(Non hai plantillas definidas)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "Acerca de", -DlgAboutBrowserInfoTab : "Información do Navegador", -DlgAboutLicenseTab : "Licencia", -DlgAboutVersion : "versión", -DlgAboutInfo : "Para máis información visitar:", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/gu.js b/modules/editor/skins/fckeditor/editor/lang/gu.js deleted file mode 100644 index e14eca70e..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/gu.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Gujarati language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "ટૂલબાર નાનું કરવું", -ToolbarExpand : "ટૂલબાર મોટું કરવું", - -// Toolbar Items and Context Menu -Save : "સેવ", -NewPage : "નવુ પાનું", -Preview : "પૂર્વદર્શન", -Cut : "કાપવું", -Copy : "નકલ", -Paste : "પેસ્ટ", -PasteText : "પેસ્ટ (સાદી ટેક્સ્ટ)", -PasteWord : "પેસ્ટ (વડૅ ટેક્સ્ટ)", -Print : "પ્રિન્ટ", -SelectAll : "બઘું પસંદ કરવું", -RemoveFormat : "ફૉર્મટ કાઢવું", -InsertLinkLbl : "સંબંધન, લિંક", -InsertLink : "લિંક ઇન્સર્ટ/દાખલ કરવી", -RemoveLink : "લિંક કાઢવી", -VisitLink : "Open Link", //MISSING -Anchor : "ઍંકર ઇન્સર્ટ/દાખલ કરવી", -AnchorDelete : "ઍંકર કાઢવી", -InsertImageLbl : "ચિત્ર", -InsertImage : "ચિત્ર ઇન્સર્ટ/દાખલ કરવું", -InsertFlashLbl : "ફ્લૅશ", -InsertFlash : "ફ્લૅશ ઇન્સર્ટ/દાખલ કરવું", -InsertTableLbl : "ટેબલ, કોઠો", -InsertTable : "ટેબલ, કોઠો ઇન્સર્ટ/દાખલ કરવું", -InsertLineLbl : "રેખા", -InsertLine : "સમસ્તરીય રેખા ઇન્સર્ટ/દાખલ કરવી", -InsertSpecialCharLbl: "વિશિષ્ટ અક્ષર", -InsertSpecialChar : "વિશિષ્ટ અક્ષર ઇન્સર્ટ/દાખલ કરવું", -InsertSmileyLbl : "સ્માઇલી", -InsertSmiley : "સ્માઇલી ઇન્સર્ટ/દાખલ કરવી", -About : "FCKeditorના વિષે", -Bold : "બોલ્ડ/સ્પષ્ટ", -Italic : "ઇટેલિક, ત્રાંસા", -Underline : "અન્ડર્લાઇન, નીચે લીટી", -StrikeThrough : "છેકી નાખવું", -Subscript : "એક ચિહ્નની નીચે કરેલું બીજું ચિહ્ન", -Superscript : "એક ચિહ્ન ઉપર કરેલું બીજું ચિહ્ન.", -LeftJustify : "ડાબી બાજુએ/બાજુ તરફ", -CenterJustify : "સંકેંદ્રણ/સેંટરિંગ", -RightJustify : "જમણી બાજુએ/બાજુ તરફ", -BlockJustify : "બ્લૉક, અંતરાય જસ્ટિફાઇ", -DecreaseIndent : "ઇન્ડેન્ટ લીટીના આરંભમાં જગ્યા ઘટાડવી", -IncreaseIndent : "ઇન્ડેન્ટ, લીટીના આરંભમાં જગ્યા વધારવી", -Blockquote : "બ્લૉક-કોટ, અવતરણચિહ્નો", -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "રદ કરવું; પહેલાં હતી એવી સ્થિતિ પાછી લાવવી", -Redo : "રિડૂ; પછી હતી એવી સ્થિતિ પાછી લાવવી", -NumberedListLbl : "સંખ્યાંકન સૂચિ", -NumberedList : "સંખ્યાંકન સૂચિ ઇન્સર્ટ/દાખલ કરવી", -BulletedListLbl : "બુલેટ સૂચિ", -BulletedList : "બુલેટ સૂચિ ઇન્સર્ટ/દાખલ કરવી", -ShowTableBorders : "ટેબલ, કોઠાની બાજુ(બોર્ડર) બતાવવી", -ShowDetails : "વિસ્તૃત વિગતવાર બતાવવું", -Style : "શૈલી/રીત", -FontFormat : "ફૉન્ટ ફૉર્મટ, રચનાની શૈલી", -Font : "ફૉન્ટ", -FontSize : "ફૉન્ટ સાઇઝ/કદ", -TextColor : "શબ્દનો રંગ", -BGColor : "બૅકગ્રાઉન્ડ રંગ,", -Source : "મૂળ કે પ્રાથમિક દસ્તાવેજ", -Find : "શોધવું", -Replace : "રિપ્લેસ/બદલવું", -SpellCheck : "જોડણી (સ્પેલિંગ) તપાસવી", -UniversalKeyboard : "યૂનિવર્સલ/વિશ્વવ્યાપક કીબૉર્ડ", -PageBreakLbl : "પેજબ્રેક/પાનાને અલગ કરવું", -PageBreak : "ઇન્સર્ટ પેજબ્રેક/પાનાને અલગ કરવું/દાખલ કરવું", - -Form : "ફૉર્મ/પત્રક", -Checkbox : "ચેક બોક્સ", -RadioButton : "રેડિઓ બટન", -TextField : "ટેક્સ્ટ ફીલ્ડ, શબ્દ ક્ષેત્ર", -Textarea : "ટેક્સ્ટ એરિઆ, શબ્દ વિસ્તાર", -HiddenField : "ગુપ્ત ક્ષેત્ર", -Button : "બટન", -SelectionField : "પસંદગી ક્ષેત્ર", -ImageButton : "ચિત્ર બટન", - -FitWindow : "એડિટરની સાઇઝ અધિકતમ કરવી", -ShowBlocks : "બ્લૉક બતાવવું", - -// Context Menu -EditLink : " લિંક એડિટ/માં ફેરફાર કરવો", -CellCM : "કોષના ખાના", -RowCM : "પંક્તિના ખાના", -ColumnCM : "કૉલમ/ઊભી કટાર", -InsertRowAfter : "પછી પંક્તિ ઉમેરવી", -InsertRowBefore : "પહેલાં પંક્તિ ઉમેરવી", -DeleteRows : "પંક્તિઓ ડિલીટ/કાઢી નાખવી", -InsertColumnAfter : "પછી કૉલમ/ઊભી કટાર ઉમેરવી", -InsertColumnBefore : "પહેલાં કૉલમ/ઊભી કટાર ઉમેરવી", -DeleteColumns : "કૉલમ/ઊભી કટાર ડિલીટ/કાઢી નાખવી", -InsertCellAfter : "પછી કોષ ઉમેરવો", -InsertCellBefore : "પહેલાં કોષ ઉમેરવો", -DeleteCells : "કોષ ડિલીટ/કાઢી નાખવો", -MergeCells : "કોષ ભેગા કરવા", -MergeRight : "જમણી બાજુ ભેગા કરવા", -MergeDown : "નીચે ભેગા કરવા", -HorizontalSplitCell : "કોષને સમસ્તરીય વિભાજન કરવું", -VerticalSplitCell : "કોષને સીધું ને ઊભું વિભાજન કરવું", -TableDelete : "કોઠો ડિલીટ/કાઢી નાખવું", -CellProperties : "કોષના ગુણ", -TableProperties : "કોઠાના ગુણ", -ImageProperties : "ચિત્રના ગુણ", -FlashProperties : "ફ્લૅશના ગુણ", - -AnchorProp : "ઍંકરના ગુણ", -ButtonProp : "બટનના ગુણ", -CheckboxProp : "ચેક બોક્સ ગુણ", -HiddenFieldProp : "ગુપ્ત ક્ષેત્રના ગુણ", -RadioButtonProp : "રેડિઓ બટનના ગુણ", -ImageButtonProp : "ચિત્ર બટનના ગુણ", -TextFieldProp : "ટેક્સ્ટ ફીલ્ડ, શબ્દ ક્ષેત્રના ગુણ", -SelectionFieldProp : "પસંદગી ક્ષેત્રના ગુણ", -TextareaProp : "ટેક્સ્ટ એઅરિઆ, શબ્દ વિસ્તારના ગુણ", -FormProp : "ફૉર્મ/પત્રકના ગુણ", - -FontFormats : "સામાન્ય;ફૉર્મટેડ;સરનામું;શીર્ષક 1;શીર્ષક 2;શીર્ષક 3;શીર્ષક 4;શીર્ષક 5;શીર્ષક 6;શીર્ષક (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML પ્રક્રિયા ચાલુ છે. મહેરબાની કરીને રાહ જોવો...", -Done : "પતી ગયું", -PasteWordConfirm : "તમે જે ટેક્સ્ટ પેસ્ટ કરવા માંગો છો, તે વડૅમાંથી કોપી કરેલુ લાગે છે. પેસ્ટ કરતા પહેલાં ટેક્સ્ટ સાફ કરવી છે?", -NotCompatiblePaste : "આ કમાન્ડ ઈનટરનેટ એક્સપ્લોરર(Internet Explorer) 5.5 અથવા એના પછીના વર્ઝન માટેજ છે. ટેક્સ્ટને સાફ કયૅા પહેલાં પેસ્ટ કરવી છે?", -UnknownToolbarItem : "અજાણી ટૂલબાર આઇટમ \"%1\"", -UnknownCommand : "અજાણયો કમાન્ડ \"%1\"", -NotImplemented : "કમાન્ડ ઇમ્પ્લિમન્ટ નથી કરોયો", -UnknownToolbarSet : "ટૂલબાર સેટ \"%1\" ઉપલબ્ધ નથી", -NoActiveX : "તમારા બ્રાઉઝરની સુરક્ષા સેટિંગસ એડિટરના અમુક ફીચરને પરવાનગી આપતી નથી. કૃપયા \"Run ActiveX controls and plug-ins\" વિકલ્પને ઇનેબલ/સમર્થ કરો. તમારા બ્રાઉઝરમાં એરર ઇન્વિઝિબલ ફીચરનો અનુભવ થઈ શકે છે. કૃપયા પૉપ-અપ બ્લૉકર ડિસેબલ કરો.", -BrowseServerBlocked : "રિસૉર્સ બ્રાઉઝર ખોલી ન સકાયું.", -DialogBlocked : "ડાયલૉગ વિન્ડો ખોલી ન સકાયું. કૃપયા પૉપ-અપ બ્લૉકર ડિસેબલ કરો.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "ઠીક છે", -DlgBtnCancel : "રદ કરવું", -DlgBtnClose : "બંધ કરવું", -DlgBtnBrowseServer : "સર્વર બ્રાઉઝ કરો", -DlgAdvancedTag : "અડ્વાન્સડ", -DlgOpOther : "<અન્ય>", -DlgInfoTab : "સૂચના", -DlgAlertUrl : "URL ઇન્સર્ટ કરો", - -// General Dialogs Labels -DlgGenNotSet : "<સેટ નથી>", -DlgGenId : "Id", -DlgGenLangDir : "ભાષા લેખવાની પદ્ધતિ", -DlgGenLangDirLtr : "ડાબે થી જમણે (LTR)", -DlgGenLangDirRtl : "જમણે થી ડાબે (RTL)", -DlgGenLangCode : "ભાષા કોડ", -DlgGenAccessKey : "ઍક્સેસ કી", -DlgGenName : "નામ", -DlgGenTabIndex : "ટૅબ ઇન્ડેક્સ", -DlgGenLongDescr : "વધારે માહિતી માટે URL", -DlgGenClass : "સ્ટાઇલ-શીટ ક્લાસ", -DlgGenTitle : "મુખ્ય મથાળું", -DlgGenContType : "મુખ્ય કન્ટેન્ટ પ્રકાર", -DlgGenLinkCharset : "લિંક રિસૉર્સ કૅરિક્ટર સેટ", -DlgGenStyle : "સ્ટાઇલ", - -// Image Dialog -DlgImgTitle : "ચિત્રના ગુણ", -DlgImgInfoTab : "ચિત્ર ની જાણકારી", -DlgImgBtnUpload : "આ સર્વરને મોકલવું", -DlgImgURL : "URL", -DlgImgUpload : "અપલોડ", -DlgImgAlt : "ઑલ્ટર્નટ ટેક્સ્ટ", -DlgImgWidth : "પહોળાઈ", -DlgImgHeight : "ઊંચાઈ", -DlgImgLockRatio : "લૉક ગુણોત્તર", -DlgBtnResetSize : "રીસેટ સાઇઝ", -DlgImgBorder : "બોર્ડર", -DlgImgHSpace : "સમસ્તરીય જગ્યા", -DlgImgVSpace : "લંબરૂપ જગ્યા", -DlgImgAlign : "લાઇનદોરીમાં ગોઠવવું", -DlgImgAlignLeft : "ડાબી બાજુ ગોઠવવું", -DlgImgAlignAbsBottom: "Abs નીચે", -DlgImgAlignAbsMiddle: "Abs ઉપર", -DlgImgAlignBaseline : "આધાર લીટી", -DlgImgAlignBottom : "નીચે", -DlgImgAlignMiddle : "વચ્ચે", -DlgImgAlignRight : "જમણી", -DlgImgAlignTextTop : "ટેક્સ્ટ ઉપર", -DlgImgAlignTop : "ઉપર", -DlgImgPreview : "પૂર્વદર્શન", -DlgImgAlertUrl : "ચિત્રની URL ટાઇપ કરો", -DlgImgLinkTab : "લિંક", - -// Flash Dialog -DlgFlashTitle : "ફ્લૅશ ગુણ", -DlgFlashChkPlay : "ઑટો/સ્વયં પ્લે", -DlgFlashChkLoop : "લૂપ", -DlgFlashChkMenu : "ફ્લૅશ મેન્યૂ નો પ્રયોગ કરો", -DlgFlashScale : "સ્કેલ", -DlgFlashScaleAll : "સ્કેલ ઓલ/બધુ બતાવો", -DlgFlashScaleNoBorder : "સ્કેલ બોર્ડર વગર", -DlgFlashScaleFit : "સ્કેલ એકદમ ફીટ", - -// Link Dialog -DlgLnkWindowTitle : "લિંક", -DlgLnkInfoTab : "લિંક ઇન્ફૉ ટૅબ", -DlgLnkTargetTab : "ટાર્ગેટ/લક્ષ્ય ટૅબ", - -DlgLnkType : "લિંક પ્રકાર", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "આ પેજનો ઍંકર", -DlgLnkTypeEMail : "ઈ-મેલ", -DlgLnkProto : "પ્રોટોકૉલ", -DlgLnkProtoOther : "<અન્ય>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "ઍંકર પસંદ કરો", -DlgLnkAnchorByName : "ઍંકર નામથી પસંદ કરો", -DlgLnkAnchorById : "ઍંકર એલિમન્ટ Id થી પસંદ કરો", -DlgLnkNoAnchors : "(ડૉક્યુમન્ટમાં ઍંકરની સંખ્યા)", -DlgLnkEMail : "ઈ-મેલ સરનામું", -DlgLnkEMailSubject : "ઈ-મેલ વિષય", -DlgLnkEMailBody : "સંદેશ", -DlgLnkUpload : "અપલોડ", -DlgLnkBtnUpload : "આ સર્વરને મોકલવું", - -DlgLnkTarget : "ટાર્ગેટ/લક્ષ્ય", -DlgLnkTargetFrame : "<ફ્રેમ>", -DlgLnkTargetPopup : "<પૉપ-અપ વિન્ડો>", -DlgLnkTargetBlank : "નવી વિન્ડો (_blank)", -DlgLnkTargetParent : "મૂળ વિન્ડો (_parent)", -DlgLnkTargetSelf : "આજ વિન્ડો (_self)", -DlgLnkTargetTop : "ઉપરની વિન્ડો (_top)", -DlgLnkTargetFrameName : "ટાર્ગેટ ફ્રેમ નું નામ", -DlgLnkPopWinName : "પૉપ-અપ વિન્ડો નું નામ", -DlgLnkPopWinFeat : "પૉપ-અપ વિન્ડો ફીચરસૅ", -DlgLnkPopResize : "સાઇઝ બદલી સકાય છે", -DlgLnkPopLocation : "લોકેશન બાર", -DlgLnkPopMenu : "મેન્યૂ બાર", -DlgLnkPopScroll : "સ્ક્રોલ બાર", -DlgLnkPopStatus : "સ્ટૅટસ બાર", -DlgLnkPopToolbar : "ટૂલ બાર", -DlgLnkPopFullScrn : "ફુલ સ્ક્રીન (IE)", -DlgLnkPopDependent : "ડિપેન્ડન્ટ (Netscape)", -DlgLnkPopWidth : "પહોળાઈ", -DlgLnkPopHeight : "ઊંચાઈ", -DlgLnkPopLeft : "ડાબી બાજુ", -DlgLnkPopTop : "જમણી બાજુ", - -DlnLnkMsgNoUrl : "લિંક URL ટાઇપ કરો", -DlnLnkMsgNoEMail : "ઈ-મેલ સરનામું ટાઇપ કરો", -DlnLnkMsgNoAnchor : "ઍંકર પસંદ કરો", -DlnLnkMsgInvPopName : "પૉપ-અપ વિન્ડો નું નામ ઍલ્ફબેટથી શરૂ કરવો અને તેમાં સ્પેઇસ ન હોવી જોઈએ", - -// Color Dialog -DlgColorTitle : "રંગ પસંદ કરો", -DlgColorBtnClear : "સાફ કરો", -DlgColorHighlight : "હાઈલાઇટ", -DlgColorSelected : "સિલેક્ટેડ/પસંદ કરવું", - -// Smiley Dialog -DlgSmileyTitle : "સ્માઇલી પસંદ કરો", - -// Special Character Dialog -DlgSpecialCharTitle : "સ્પેશિઅલ વિશિષ્ટ અક્ષર પસંદ કરો", - -// Table Dialog -DlgTableTitle : "ટેબલ, કોઠાનું મથાળું", -DlgTableRows : "પંક્તિના ખાના", -DlgTableColumns : "કૉલમ/ઊભી કટાર", -DlgTableBorder : "કોઠાની બાજુ(બોર્ડર) સાઇઝ", -DlgTableAlign : "અલાઇનમન્ટ/ગોઠવાયેલું ", -DlgTableAlignNotSet : "<સેટ નથી>", -DlgTableAlignLeft : "ડાબી બાજુ", -DlgTableAlignCenter : "મધ્ય સેન્ટર", -DlgTableAlignRight : "જમણી બાજુ", -DlgTableWidth : "પહોળાઈ", -DlgTableWidthPx : "પિકસલ", -DlgTableWidthPc : "પ્રતિશત", -DlgTableHeight : "ઊંચાઈ", -DlgTableCellSpace : "સેલ અંતર", -DlgTableCellPad : "સેલ પૅડિંગ", -DlgTableCaption : "મથાળું/કૅપ્શન ", -DlgTableSummary : "ટૂંકો એહેવાલ", - -// Table Cell Dialog -DlgCellTitle : "પંક્તિના ખાનાના ગુણ", -DlgCellWidth : "પહોળાઈ", -DlgCellWidthPx : "પિકસલ", -DlgCellWidthPc : "પ્રતિશત", -DlgCellHeight : "ઊંચાઈ", -DlgCellWordWrap : "વર્ડ રૅપ", -DlgCellWordWrapNotSet : "<સેટ નથી>", -DlgCellWordWrapYes : "હા", -DlgCellWordWrapNo : "ના", -DlgCellHorAlign : "સમસ્તરીય ગોઠવવું", -DlgCellHorAlignNotSet : "<સેટ નથી>", -DlgCellHorAlignLeft : "ડાબી બાજુ", -DlgCellHorAlignCenter : "મધ્ય સેન્ટર", -DlgCellHorAlignRight: "જમણી બાજુ", -DlgCellVerAlign : "લંબરૂપ ગોઠવવું", -DlgCellVerAlignNotSet : "<સેટ નથી>", -DlgCellVerAlignTop : "ઉપર", -DlgCellVerAlignMiddle : "મધ્ય સેન્ટર", -DlgCellVerAlignBottom : "નીચે", -DlgCellVerAlignBaseline : "મૂળ રેખા", -DlgCellRowSpan : "પંક્તિ સ્પાન", -DlgCellCollSpan : "કૉલમ/ઊભી કટાર સ્પાન", -DlgCellBackColor : "બૅકગ્રાઉન્ડ રંગ", -DlgCellBorderColor : "બોર્ડરનો રંગ", -DlgCellBtnSelect : "પસંદ કરો...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "શોધવું અને બદલવું", - -// Find Dialog -DlgFindTitle : "શોધવું", -DlgFindFindBtn : "શોધવું", -DlgFindNotFoundMsg : "તમે શોધેલી ટેક્સ્ટ નથી મળી", - -// Replace Dialog -DlgReplaceTitle : "બદલવું", -DlgReplaceFindLbl : "આ શોધો", -DlgReplaceReplaceLbl : "આનાથી બદલો", -DlgReplaceCaseChk : "કેસ સરખા રાખો", -DlgReplaceReplaceBtn : "બદલવું", -DlgReplaceReplAllBtn : "બઘા બદલી ", -DlgReplaceWordChk : "બઘા શબ્દ સરખા રાખો", - -// Paste Operations / Dialog -PasteErrorCut : "તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કટ કરવાની પરવાનગી નથી આપતી. (Ctrl+X) નો ઉપયોગ કરો.", -PasteErrorCopy : "તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કોપી કરવાની પરવાનગી નથી આપતી. (Ctrl+C) का प्रयोग करें।", - -PasteAsText : "પેસ્ટ (ટેક્સ્ટ)", -PasteFromWord : "પેસ્ટ (વર્ડ થી)", - -DlgPasteMsg2 : "Ctrl+V નો પ્રયોગ કરી પેસ્ટ કરો", -DlgPasteSec : "તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસના કારણે,એડિટર તમારા કિલ્પબોર્ડ ડેટા ને કોપી નથી કરી શકતો. તમારે આ વિન્ડોમાં ફરીથી પેસ્ટ કરવું પડશે.", -DlgPasteIgnoreFont : "ફૉન્ટફેસ વ્યાખ્યાની અવગણના", -DlgPasteRemoveStyles : "સ્ટાઇલ વ્યાખ્યા કાઢી નાખવી", - -// Color Picker -ColorAutomatic : "સ્વચાલિત", -ColorMoreColors : "ઔર રંગ...", - -// Document Properties -DocProps : "ડૉક્યુમન્ટ ગુણ/પ્રૉપર્ટિઝ", - -// Anchor Dialog -DlgAnchorTitle : "ઍંકર ગુણ/પ્રૉપર્ટિઝ", -DlgAnchorName : "ઍંકરનું નામ", -DlgAnchorErrorName : "ઍંકરનું નામ ટાઈપ કરો", - -// Speller Pages Dialog -DlgSpellNotInDic : "શબ્દકોશમાં નથી", -DlgSpellChangeTo : "આનાથી બદલવું", -DlgSpellBtnIgnore : "ઇગ્નોર/અવગણના કરવી", -DlgSpellBtnIgnoreAll : "બધાની ઇગ્નોર/અવગણના કરવી", -DlgSpellBtnReplace : "બદલવું", -DlgSpellBtnReplaceAll : "બધા બદલી કરો", -DlgSpellBtnUndo : "અન્ડૂ", -DlgSpellNoSuggestions : "- કઇ સજેશન નથી -", -DlgSpellProgress : "શબ્દની જોડણી/સ્પેલ ચેક ચાલુ છે...", -DlgSpellNoMispell : "શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: ખોટી જોડણી મળી નથી", -DlgSpellNoChanges : "શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: એકપણ શબ્દ બદલયો નથી", -DlgSpellOneChange : "શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: એક શબ્દ બદલયો છે", -DlgSpellManyChanges : "શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: %1 શબ્દ બદલયા છે", - -IeSpellDownload : "સ્પેલ-ચેકર ઇન્સ્ટોલ નથી. શું તમે ડાઉનલોડ કરવા માંગો છો?", - -// Button Dialog -DlgButtonText : "ટેક્સ્ટ (વૅલ્યૂ)", -DlgButtonType : "પ્રકાર", -DlgButtonTypeBtn : "બટન", -DlgButtonTypeSbm : "સબ્મિટ", -DlgButtonTypeRst : "રિસેટ", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "નામ", -DlgCheckboxValue : "વૅલ્યૂ", -DlgCheckboxSelected : "સિલેક્ટેડ", - -// Form Dialog -DlgFormName : "નામ", -DlgFormAction : "ક્રિયા", -DlgFormMethod : "પદ્ધતિ", - -// Select Field Dialog -DlgSelectName : "નામ", -DlgSelectValue : "વૅલ્યૂ", -DlgSelectSize : "સાઇઝ", -DlgSelectLines : "લીટીઓ", -DlgSelectChkMulti : "એકથી વધારે પસંદ કરી શકો", -DlgSelectOpAvail : "ઉપલબ્ધ વિકલ્પ", -DlgSelectOpText : "ટેક્સ્ટ", -DlgSelectOpValue : "વૅલ્યૂ", -DlgSelectBtnAdd : "ઉમેરવું", -DlgSelectBtnModify : "બદલવું", -DlgSelectBtnUp : "ઉપર", -DlgSelectBtnDown : "નીચે", -DlgSelectBtnSetValue : "પસંદ કરલી વૅલ્યૂ સેટ કરો", -DlgSelectBtnDelete : "રદ કરવું", - -// Textarea Dialog -DlgTextareaName : "નામ", -DlgTextareaCols : "કૉલમ/ઊભી કટાર", -DlgTextareaRows : "પંક્તિઓ", - -// Text Field Dialog -DlgTextName : "નામ", -DlgTextValue : "વૅલ્યૂ", -DlgTextCharWidth : "કેરેક્ટરની પહોળાઈ", -DlgTextMaxChars : "અધિકતમ કેરેક્ટર", -DlgTextType : "ટાઇપ", -DlgTextTypeText : "ટેક્સ્ટ", -DlgTextTypePass : "પાસવર્ડ", - -// Hidden Field Dialog -DlgHiddenName : "નામ", -DlgHiddenValue : "વૅલ્યૂ", - -// Bulleted List Dialog -BulletedListProp : "બુલેટ સૂચિ ગુણ", -NumberedListProp : "સંખ્યાંક્તિ સૂચિ ગુણ", -DlgLstStart : "શરૂઆતથી", -DlgLstType : "પ્રકાર", -DlgLstTypeCircle : "વર્તુળ", -DlgLstTypeDisc : "ડિસ્ક", -DlgLstTypeSquare : "ચોરસ", -DlgLstTypeNumbers : "સંખ્યા (1, 2, 3)", -DlgLstTypeLCase : "નાના અક્ષર (a, b, c)", -DlgLstTypeUCase : "મોટા અક્ષર (A, B, C)", -DlgLstTypeSRoman : "નાના રોમન આંક (i, ii, iii)", -DlgLstTypeLRoman : "મોટા રોમન આંક (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "સાધારણ", -DlgDocBackTab : "બૅકગ્રાઉન્ડ", -DlgDocColorsTab : "રંગ અને માર્જિન/કિનાર", -DlgDocMetaTab : "મેટાડૅટા", - -DlgDocPageTitle : "પેજ મથાળું/ટાઇટલ", -DlgDocLangDir : "ભાષા લેખવાની પદ્ધતિ", -DlgDocLangDirLTR : "ડાબે થી જમણે (LTR)", -DlgDocLangDirRTL : "જમણે થી ડાબે (RTL)", -DlgDocLangCode : "ભાષા કોડ", -DlgDocCharSet : "કેરેક્ટર સેટ એન્કોડિંગ", -DlgDocCharSetCE : "મધ્ય યુરોપિઅન (Central European)", -DlgDocCharSetCT : "ચાઇનીઝ (Chinese Traditional Big5)", -DlgDocCharSetCR : "સિરીલિક (Cyrillic)", -DlgDocCharSetGR : "ગ્રીક (Greek)", -DlgDocCharSetJP : "જાપાનિઝ (Japanese)", -DlgDocCharSetKR : "કોરીયન (Korean)", -DlgDocCharSetTR : "ટર્કિ (Turkish)", -DlgDocCharSetUN : "યૂનિકોડ (UTF-8)", -DlgDocCharSetWE : "પશ્ચિમ યુરોપિઅન (Western European)", -DlgDocCharSetOther : "અન્ય કેરેક્ટર સેટ એન્કોડિંગ", - -DlgDocDocType : "ડૉક્યુમન્ટ પ્રકાર શીર્ષક", -DlgDocDocTypeOther : "અન્ય ડૉક્યુમન્ટ પ્રકાર શીર્ષક", -DlgDocIncXHTML : "XHTML સૂચના સમાવિષ્ટ કરવી", -DlgDocBgColor : "બૅકગ્રાઉન્ડ રંગ", -DlgDocBgImage : "બૅકગ્રાઉન્ડ ચિત્ર URL", -DlgDocBgNoScroll : "સ્ક્રોલ ન થાય તેવું બૅકગ્રાઉન્ડ", -DlgDocCText : "ટેક્સ્ટ", -DlgDocCLink : "લિંક", -DlgDocCVisited : "વિઝિટેડ લિંક", -DlgDocCActive : "સક્રિય લિંક", -DlgDocMargins : "પેજ માર્જિન", -DlgDocMaTop : "ઉપર", -DlgDocMaLeft : "ડાબી", -DlgDocMaRight : "જમણી", -DlgDocMaBottom : "નીચે", -DlgDocMeIndex : "ડૉક્યુમન્ટ ઇન્ડેક્સ સંકેતશબ્દ (અલ્પવિરામ (,) થી અલગ કરો)", -DlgDocMeDescr : "ડૉક્યુમન્ટ વર્ણન", -DlgDocMeAuthor : "લેખક", -DlgDocMeCopy : "કૉપિરાઇટ", -DlgDocPreview : "પૂર્વદર્શન", - -// Templates Dialog -Templates : "ટેમ્પ્લેટ", -DlgTemplatesTitle : "કન્ટેન્ટ ટેમ્પ્લેટ", -DlgTemplatesSelMsg : "એડિટરમાં ઓપન કરવા ટેમ્પ્લેટ પસંદ કરો (વર્તમાન કન્ટેન્ટ સેવ નહીં થાય):", -DlgTemplatesLoading : "ટેમ્પ્લેટ સૂચિ લોડ થાય છે. રાહ જુઓ...", -DlgTemplatesNoTpl : "(કોઈ ટેમ્પ્લેટ ડિફાઇન નથી)", -DlgTemplatesReplace : "મૂળ શબ્દને બદલો", - -// About Dialog -DlgAboutAboutTab : "FCKEditor ના વિષે", -DlgAboutBrowserInfoTab : "બ્રાઉઝર ના વિષે", -DlgAboutLicenseTab : "લાઇસન્સ", -DlgAboutVersion : "વર્ઝન", -DlgAboutInfo : "વધારે માહિતી માટે:", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/he.js b/modules/editor/skins/fckeditor/editor/lang/he.js deleted file mode 100644 index 63cf97665..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/he.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Hebrew language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "rtl", - -ToolbarCollapse : "כיווץ סרגל הכלים", -ToolbarExpand : "פתיחת סרגל הכלים", - -// Toolbar Items and Context Menu -Save : "שמירה", -NewPage : "דף חדש", -Preview : "תצוגה מקדימה", -Cut : "גזירה", -Copy : "העתקה", -Paste : "הדבקה", -PasteText : "הדבקה כטקסט פשוט", -PasteWord : "הדבקה מ-וורד", -Print : "הדפסה", -SelectAll : "בחירת הכל", -RemoveFormat : "הסרת העיצוב", -InsertLinkLbl : "קישור", -InsertLink : "הוספת/עריכת קישור", -RemoveLink : "הסרת הקישור", -VisitLink : "פתח קישור", -Anchor : "הוספת/עריכת נקודת עיגון", -AnchorDelete : "הסר נקודת עיגון", -InsertImageLbl : "תמונה", -InsertImage : "הוספת/עריכת תמונה", -InsertFlashLbl : "פלאש", -InsertFlash : "הוסף/ערוך פלאש", -InsertTableLbl : "טבלה", -InsertTable : "הוספת/עריכת טבלה", -InsertLineLbl : "קו", -InsertLine : "הוספת קו אופקי", -InsertSpecialCharLbl: "תו מיוחד", -InsertSpecialChar : "הוספת תו מיוחד", -InsertSmileyLbl : "סמיילי", -InsertSmiley : "הוספת סמיילי", -About : "אודות FCKeditor", -Bold : "מודגש", -Italic : "נטוי", -Underline : "קו תחתון", -StrikeThrough : "כתיב מחוק", -Subscript : "כתיב תחתון", -Superscript : "כתיב עליון", -LeftJustify : "יישור לשמאל", -CenterJustify : "מרכוז", -RightJustify : "יישור לימין", -BlockJustify : "יישור לשוליים", -DecreaseIndent : "הקטנת אינדנטציה", -IncreaseIndent : "הגדלת אינדנטציה", -Blockquote : "בלוק ציטוט", -CreateDiv : "צור מיכל(תג)DIV", -EditDiv : "ערוך מיכל (תג)DIV", -DeleteDiv : "הסר מיכל(תג) DIV", -Undo : "ביטול צעד אחרון", -Redo : "חזרה על צעד אחרון", -NumberedListLbl : "רשימה ממוספרת", -NumberedList : "הוספת/הסרת רשימה ממוספרת", -BulletedListLbl : "רשימת נקודות", -BulletedList : "הוספת/הסרת רשימת נקודות", -ShowTableBorders : "הצגת מסגרת הטבלה", -ShowDetails : "הצגת פרטים", -Style : "סגנון", -FontFormat : "עיצוב", -Font : "גופן", -FontSize : "גודל", -TextColor : "צבע טקסט", -BGColor : "צבע רקע", -Source : "מקור", -Find : "חיפוש", -Replace : "החלפה", -SpellCheck : "בדיקת איות", -UniversalKeyboard : "מקלדת אוניברסלית", -PageBreakLbl : "שבירת דף", -PageBreak : "הוסף שבירת דף", - -Form : "טופס", -Checkbox : "תיבת סימון", -RadioButton : "לחצן אפשרויות", -TextField : "שדה טקסט", -Textarea : "איזור טקסט", -HiddenField : "שדה חבוי", -Button : "כפתור", -SelectionField : "שדה בחירה", -ImageButton : "כפתור תמונה", - -FitWindow : "הגדל את גודל העורך", -ShowBlocks : "הצג בלוקים", - -// Context Menu -EditLink : "עריכת קישור", -CellCM : "תא", -RowCM : "שורה", -ColumnCM : "עמודה", -InsertRowAfter : "הוסף שורה אחרי", -InsertRowBefore : "הוסף שורה לפני", -DeleteRows : "מחיקת שורות", -InsertColumnAfter : "הוסף עמודה אחרי", -InsertColumnBefore : "הוסף עמודה לפני", -DeleteColumns : "מחיקת עמודות", -InsertCellAfter : "הוסף תא אחרי", -InsertCellBefore : "הוסף תא אחרי", -DeleteCells : "מחיקת תאים", -MergeCells : "מיזוג תאים", -MergeRight : "מזג ימינה", -MergeDown : "מזג למטה", -HorizontalSplitCell : "פצל תא אופקית", -VerticalSplitCell : "פצל תא אנכית", -TableDelete : "מחק טבלה", -CellProperties : "תכונות התא", -TableProperties : "תכונות הטבלה", -ImageProperties : "תכונות התמונה", -FlashProperties : "מאפייני פלאש", - -AnchorProp : "מאפייני נקודת עיגון", -ButtonProp : "מאפייני כפתור", -CheckboxProp : "מאפייני תיבת סימון", -HiddenFieldProp : "מאפיני שדה חבוי", -RadioButtonProp : "מאפייני לחצן אפשרויות", -ImageButtonProp : "מאפיני כפתור תמונה", -TextFieldProp : "מאפייני שדה טקסט", -SelectionFieldProp : "מאפייני שדה בחירה", -TextareaProp : "מאפיני איזור טקסט", -FormProp : "מאפיני טופס", - -FontFormats : "נורמלי;קוד;כתובת;כותרת;כותרת 2;כותרת 3;כותרת 4;כותרת 5;כותרת 6", - -// Alerts and Messages -ProcessingXHTML : "מעבד XHTML, נא להמתין...", -Done : "המשימה הושלמה", -PasteWordConfirm : "נראה הטקסט שבכוונתך להדביק מקורו בקובץ וורד. האם ברצונך לנקות אותו טרם ההדבקה?", -NotCompatiblePaste : "פעולה זו זמינה לדפדפן אינטרנט אקספלורר מגירסא 5.5 ומעלה. האם להמשיך בהדבקה ללא הניקוי?", -UnknownToolbarItem : "פריט לא ידוע בסרגל הכלים \"%1\"", -UnknownCommand : "שם פעולה לא ידוע \"%1\"", -NotImplemented : "הפקודה לא מיושמת", -UnknownToolbarSet : "ערכת סרגל הכלים \"%1\" לא קיימת", -NoActiveX : "הגדרות אבטחה של הדפדפן עלולות לגביל את אפשרויות העריכה.יש לאפשר את האופציה \"הרץ פקדים פעילים ותוספות\". תוכל לחוות טעויות וחיווים של אפשרויות שחסרים.", -BrowseServerBlocked : "לא ניתן לגשת לדפדפן משאבים.אנא וודא שחוסם חלונות הקופצים לא פעיל.", -DialogBlocked : "לא היה ניתן לפתוח חלון דיאלוג. אנא וודא שחוסם חלונות קופצים לא פעיל.", -VisitLinkBlocked : "לא ניתן לפתוח חלון חדש.נא לוודא שחוסמי החלונות הקופצים לא פעילים.", - -// Dialogs -DlgBtnOK : "אישור", -DlgBtnCancel : "ביטול", -DlgBtnClose : "סגירה", -DlgBtnBrowseServer : "סייר השרת", -DlgAdvancedTag : "אפשרויות מתקדמות", -DlgOpOther : "<אחר>", -DlgInfoTab : "מידע", -DlgAlertUrl : "אנא הזן URL", - -// General Dialogs Labels -DlgGenNotSet : "<לא נקבע>", -DlgGenId : "זיהוי (Id)", -DlgGenLangDir : "כיוון שפה", -DlgGenLangDirLtr : "שמאל לימין (LTR)", -DlgGenLangDirRtl : "ימין לשמאל (RTL)", -DlgGenLangCode : "קוד שפה", -DlgGenAccessKey : "מקש גישה", -DlgGenName : "שם", -DlgGenTabIndex : "מספר טאב", -DlgGenLongDescr : "קישור לתיאור מפורט", -DlgGenClass : "גיליונות עיצוב קבוצות", -DlgGenTitle : "כותרת מוצעת", -DlgGenContType : "Content Type מוצע", -DlgGenLinkCharset : "קידוד המשאב המקושר", -DlgGenStyle : "סגנון", - -// Image Dialog -DlgImgTitle : "תכונות התמונה", -DlgImgInfoTab : "מידע על התמונה", -DlgImgBtnUpload : "שליחה לשרת", -DlgImgURL : "כתובת (URL)", -DlgImgUpload : "העלאה", -DlgImgAlt : "טקסט חלופי", -DlgImgWidth : "רוחב", -DlgImgHeight : "גובה", -DlgImgLockRatio : "נעילת היחס", -DlgBtnResetSize : "איפוס הגודל", -DlgImgBorder : "מסגרת", -DlgImgHSpace : "מרווח אופקי", -DlgImgVSpace : "מרווח אנכי", -DlgImgAlign : "יישור", -DlgImgAlignLeft : "לשמאל", -DlgImgAlignAbsBottom: "לתחתית האבסולוטית", -DlgImgAlignAbsMiddle: "מרכוז אבסולוטי", -DlgImgAlignBaseline : "לקו התחתית", -DlgImgAlignBottom : "לתחתית", -DlgImgAlignMiddle : "לאמצע", -DlgImgAlignRight : "לימין", -DlgImgAlignTextTop : "לראש הטקסט", -DlgImgAlignTop : "למעלה", -DlgImgPreview : "תצוגה מקדימה", -DlgImgAlertUrl : "נא להקליד את כתובת התמונה", -DlgImgLinkTab : "קישור", - -// Flash Dialog -DlgFlashTitle : "מאפיני פלאש", -DlgFlashChkPlay : "נגן אוטומטי", -DlgFlashChkLoop : "לולאה", -DlgFlashChkMenu : "אפשר תפריט פלאש", -DlgFlashScale : "גודל", -DlgFlashScaleAll : "הצג הכל", -DlgFlashScaleNoBorder : "ללא גבולות", -DlgFlashScaleFit : "התאמה מושלמת", - -// Link Dialog -DlgLnkWindowTitle : "קישור", -DlgLnkInfoTab : "מידע על הקישור", -DlgLnkTargetTab : "מטרה", - -DlgLnkType : "סוג קישור", -DlgLnkTypeURL : "כתובת (URL)", -DlgLnkTypeAnchor : "עוגן בעמוד זה", -DlgLnkTypeEMail : "דוא''ל", -DlgLnkProto : "פרוטוקול", -DlgLnkProtoOther : "<אחר>", -DlgLnkURL : "כתובת (URL)", -DlgLnkAnchorSel : "בחירת עוגן", -DlgLnkAnchorByName : "עפ''י שם העוגן", -DlgLnkAnchorById : "עפ''י זיהוי (Id) הרכיב", -DlgLnkNoAnchors : "(אין עוגנים זמינים בדף)", -DlgLnkEMail : "כתובת הדוא''ל", -DlgLnkEMailSubject : "נושא ההודעה", -DlgLnkEMailBody : "גוף ההודעה", -DlgLnkUpload : "העלאה", -DlgLnkBtnUpload : "שליחה לשרת", - -DlgLnkTarget : "מטרה", -DlgLnkTargetFrame : "<מסגרת>", -DlgLnkTargetPopup : "<חלון קופץ>", -DlgLnkTargetBlank : "חלון חדש (_blank)", -DlgLnkTargetParent : "חלון האב (_parent)", -DlgLnkTargetSelf : "באותו החלון (_self)", -DlgLnkTargetTop : "חלון ראשי (_top)", -DlgLnkTargetFrameName : "שם מסגרת היעד", -DlgLnkPopWinName : "שם החלון הקופץ", -DlgLnkPopWinFeat : "תכונות החלון הקופץ", -DlgLnkPopResize : "בעל גודל ניתן לשינוי", -DlgLnkPopLocation : "סרגל כתובת", -DlgLnkPopMenu : "סרגל תפריט", -DlgLnkPopScroll : "ניתן לגלילה", -DlgLnkPopStatus : "סרגל חיווי", -DlgLnkPopToolbar : "סרגל הכלים", -DlgLnkPopFullScrn : "מסך מלא (IE)", -DlgLnkPopDependent : "תלוי (Netscape)", -DlgLnkPopWidth : "רוחב", -DlgLnkPopHeight : "גובה", -DlgLnkPopLeft : "מיקום צד שמאל", -DlgLnkPopTop : "מיקום צד עליון", - -DlnLnkMsgNoUrl : "נא להקליד את כתובת הקישור (URL)", -DlnLnkMsgNoEMail : "נא להקליד את כתובת הדוא''ל", -DlnLnkMsgNoAnchor : "נא לבחור עוגן במסמך", -DlnLnkMsgInvPopName : "שם החלון הקופץ חייב להתחיל באותיות ואסור לכלול רווחים", - -// Color Dialog -DlgColorTitle : "בחירת צבע", -DlgColorBtnClear : "איפוס", -DlgColorHighlight : "נוכחי", -DlgColorSelected : "נבחר", - -// Smiley Dialog -DlgSmileyTitle : "הוספת סמיילי", - -// Special Character Dialog -DlgSpecialCharTitle : "בחירת תו מיוחד", - -// Table Dialog -DlgTableTitle : "תכונות טבלה", -DlgTableRows : "שורות", -DlgTableColumns : "עמודות", -DlgTableBorder : "גודל מסגרת", -DlgTableAlign : "יישור", -DlgTableAlignNotSet : "<לא נקבע>", -DlgTableAlignLeft : "שמאל", -DlgTableAlignCenter : "מרכז", -DlgTableAlignRight : "ימין", -DlgTableWidth : "רוחב", -DlgTableWidthPx : "פיקסלים", -DlgTableWidthPc : "אחוז", -DlgTableHeight : "גובה", -DlgTableCellSpace : "מרווח תא", -DlgTableCellPad : "ריפוד תא", -DlgTableCaption : "כיתוב", -DlgTableSummary : "סיכום", - -// Table Cell Dialog -DlgCellTitle : "תכונות תא", -DlgCellWidth : "רוחב", -DlgCellWidthPx : "פיקסלים", -DlgCellWidthPc : "אחוז", -DlgCellHeight : "גובה", -DlgCellWordWrap : "גלילת שורות", -DlgCellWordWrapNotSet : "<לא נקבע>", -DlgCellWordWrapYes : "כן", -DlgCellWordWrapNo : "לא", -DlgCellHorAlign : "יישור אופקי", -DlgCellHorAlignNotSet : "<לא נקבע>", -DlgCellHorAlignLeft : "שמאל", -DlgCellHorAlignCenter : "מרכז", -DlgCellHorAlignRight: "ימין", -DlgCellVerAlign : "יישור אנכי", -DlgCellVerAlignNotSet : "<לא נקבע>", -DlgCellVerAlignTop : "למעלה", -DlgCellVerAlignMiddle : "לאמצע", -DlgCellVerAlignBottom : "לתחתית", -DlgCellVerAlignBaseline : "קו תחתית", -DlgCellRowSpan : "טווח שורות", -DlgCellCollSpan : "טווח עמודות", -DlgCellBackColor : "צבע רקע", -DlgCellBorderColor : "צבע מסגרת", -DlgCellBtnSelect : "בחירה...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "חפש והחלף", - -// Find Dialog -DlgFindTitle : "חיפוש", -DlgFindFindBtn : "חיפוש", -DlgFindNotFoundMsg : "הטקסט המבוקש לא נמצא.", - -// Replace Dialog -DlgReplaceTitle : "החלפה", -DlgReplaceFindLbl : "חיפוש מחרוזת:", -DlgReplaceReplaceLbl : "החלפה במחרוזת:", -DlgReplaceCaseChk : "התאמת סוג אותיות (Case)", -DlgReplaceReplaceBtn : "החלפה", -DlgReplaceReplAllBtn : "החלפה בכל העמוד", -DlgReplaceWordChk : "התאמה למילה המלאה", - -// Paste Operations / Dialog -PasteErrorCut : "הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות גזירה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl+X).", -PasteErrorCopy : "הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות העתקה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl+C).", - -PasteAsText : "הדבקה כטקסט פשוט", -PasteFromWord : "הדבקה מ-וורד", - -DlgPasteMsg2 : "אנא הדבק בתוך הקופסה באמצעות (Ctrl+V) ולחץ על אישור.", -DlgPasteSec : "עקב הגדרות אבטחה בדפדפן, לא ניתן לגשת אל לוח הגזירים (clipboard) בצורה ישירה.אנא בצע הדבק שוב בחלון זה.", -DlgPasteIgnoreFont : "התעלם מהגדרות סוג פונט", -DlgPasteRemoveStyles : "הסר הגדרות סגנון", - -// Color Picker -ColorAutomatic : "אוטומטי", -ColorMoreColors : "צבעים נוספים...", - -// Document Properties -DocProps : "מאפיני מסמך", - -// Anchor Dialog -DlgAnchorTitle : "מאפיני נקודת עיגון", -DlgAnchorName : "שם לנקודת עיגון", -DlgAnchorErrorName : "אנא הזן שם לנקודת עיגון", - -// Speller Pages Dialog -DlgSpellNotInDic : "לא נמצא במילון", -DlgSpellChangeTo : "שנה ל", -DlgSpellBtnIgnore : "התעלם", -DlgSpellBtnIgnoreAll : "התעלם מהכל", -DlgSpellBtnReplace : "החלף", -DlgSpellBtnReplaceAll : "החלף הכל", -DlgSpellBtnUndo : "החזר", -DlgSpellNoSuggestions : "- אין הצעות -", -DlgSpellProgress : "בדיקות איות בתהליך ....", -DlgSpellNoMispell : "בדיקות איות הסתיימה: לא נמצאו שגיעות כתיב", -DlgSpellNoChanges : "בדיקות איות הסתיימה: לא שונתה אף מילה", -DlgSpellOneChange : "בדיקות איות הסתיימה: שונתה מילה אחת", -DlgSpellManyChanges : "בדיקות איות הסתיימה: %1 מילים שונו", - -IeSpellDownload : "בודק האיות לא מותקן, האם אתה מעוניין להוריד?", - -// Button Dialog -DlgButtonText : "טקסט (ערך)", -DlgButtonType : "סוג", -DlgButtonTypeBtn : "כפתור", -DlgButtonTypeSbm : "שלח", -DlgButtonTypeRst : "אפס", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "שם", -DlgCheckboxValue : "ערך", -DlgCheckboxSelected : "בחור", - -// Form Dialog -DlgFormName : "שם", -DlgFormAction : "שלח אל", -DlgFormMethod : "סוג שליחה", - -// Select Field Dialog -DlgSelectName : "שם", -DlgSelectValue : "ערך", -DlgSelectSize : "גודל", -DlgSelectLines : "שורות", -DlgSelectChkMulti : "אפשר בחירות מרובות", -DlgSelectOpAvail : "אפשרויות זמינות", -DlgSelectOpText : "טקסט", -DlgSelectOpValue : "ערך", -DlgSelectBtnAdd : "הוסף", -DlgSelectBtnModify : "שנה", -DlgSelectBtnUp : "למעלה", -DlgSelectBtnDown : "למטה", -DlgSelectBtnSetValue : "קבע כברירת מחדל", -DlgSelectBtnDelete : "מחק", - -// Textarea Dialog -DlgTextareaName : "שם", -DlgTextareaCols : "עמודות", -DlgTextareaRows : "שורות", - -// Text Field Dialog -DlgTextName : "שם", -DlgTextValue : "ערך", -DlgTextCharWidth : "רוחב באותיות", -DlgTextMaxChars : "מקסימות אותיות", -DlgTextType : "סוג", -DlgTextTypeText : "טקסט", -DlgTextTypePass : "סיסמה", - -// Hidden Field Dialog -DlgHiddenName : "שם", -DlgHiddenValue : "ערך", - -// Bulleted List Dialog -BulletedListProp : "מאפייני רשימה", -NumberedListProp : "מאפייני רשימה ממוספרת", -DlgLstStart : "התחלה", -DlgLstType : "סוג", -DlgLstTypeCircle : "עיגול", -DlgLstTypeDisc : "דיסק", -DlgLstTypeSquare : "מרובע", -DlgLstTypeNumbers : "מספרים (1, 2, 3)", -DlgLstTypeLCase : "אותיות קטנות (a, b, c)", -DlgLstTypeUCase : "אותיות גדולות (A, B, C)", -DlgLstTypeSRoman : "ספרות רומאיות קטנות (i, ii, iii)", -DlgLstTypeLRoman : "ספרות רומאיות גדולות (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "כללי", -DlgDocBackTab : "רקע", -DlgDocColorsTab : "צבעים וגבולות", -DlgDocMetaTab : "נתוני META", - -DlgDocPageTitle : "כותרת דף", -DlgDocLangDir : "כיוון שפה", -DlgDocLangDirLTR : "שמאל לימין (LTR)", -DlgDocLangDirRTL : "ימין לשמאל (RTL)", -DlgDocLangCode : "קוד שפה", -DlgDocCharSet : "קידוד אותיות", -DlgDocCharSetCE : "מרכז אירופה", -DlgDocCharSetCT : "סיני מסורתי (Big5)", -DlgDocCharSetCR : "קירילי", -DlgDocCharSetGR : "יוונית", -DlgDocCharSetJP : "יפנית", -DlgDocCharSetKR : "קוראנית", -DlgDocCharSetTR : "טורקית", -DlgDocCharSetUN : "יוני קוד (UTF-8)", -DlgDocCharSetWE : "מערב אירופה", -DlgDocCharSetOther : "קידוד אותיות אחר", - -DlgDocDocType : "הגדרות סוג מסמך", -DlgDocDocTypeOther : "הגדרות סוג מסמך אחרות", -DlgDocIncXHTML : "כלול הגדרות XHTML", -DlgDocBgColor : "צבע רקע", -DlgDocBgImage : "URL לתמונת רקע", -DlgDocBgNoScroll : "רגע ללא גלילה", -DlgDocCText : "טקסט", -DlgDocCLink : "קישור", -DlgDocCVisited : "קישור שבוקר", -DlgDocCActive : " קישור פעיל", -DlgDocMargins : "גבולות דף", -DlgDocMaTop : "למעלה", -DlgDocMaLeft : "שמאלה", -DlgDocMaRight : "ימינה", -DlgDocMaBottom : "למטה", -DlgDocMeIndex : "מפתח עניינים של המסמך )מופרד בפסיק(", -DlgDocMeDescr : "תאור מסמך", -DlgDocMeAuthor : "מחבר", -DlgDocMeCopy : "זכויות יוצרים", -DlgDocPreview : "תצוגה מקדימה", - -// Templates Dialog -Templates : "תבניות", -DlgTemplatesTitle : "תביות תוכן", -DlgTemplatesSelMsg : "אנא בחר תבנית לפתיחה בעורך
    התוכן המקורי ימחק:", -DlgTemplatesLoading : "מעלה רשימת תבניות אנא המתן", -DlgTemplatesNoTpl : "(לא הוגדרו תבניות)", -DlgTemplatesReplace : "החלפת תוכן ממשי", - -// About Dialog -DlgAboutAboutTab : "אודות", -DlgAboutBrowserInfoTab : "גירסת דפדפן", -DlgAboutLicenseTab : "רשיון", -DlgAboutVersion : "גירסא", -DlgAboutInfo : "מידע נוסף ניתן למצוא כאן:", - -// Div Dialog -DlgDivGeneralTab : "כללי", -DlgDivAdvancedTab : "מתקדם", -DlgDivStyle : "סגנון", -DlgDivInlineStyle : "סגנון בתוך השורה" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/hi.js b/modules/editor/skins/fckeditor/editor/lang/hi.js deleted file mode 100644 index 52dacde20..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/hi.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Hindi language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "टूलबार सिमटायें", -ToolbarExpand : "टूलबार का विस्तार करें", - -// Toolbar Items and Context Menu -Save : "सेव", -NewPage : "नया पेज", -Preview : "प्रीव्यू", -Cut : "कट", -Copy : "कॉपी", -Paste : "पेस्ट", -PasteText : "पेस्ट (सादा टॅक्स्ट)", -PasteWord : "पेस्ट (वर्ड से)", -Print : "प्रिन्ट", -SelectAll : "सब सॅलॅक्ट करें", -RemoveFormat : "फ़ॉर्मैट हटायें", -InsertLinkLbl : "लिंक", -InsertLink : "लिंक इन्सर्ट/संपादन", -RemoveLink : "लिंक हटायें", -VisitLink : "लिंक खोलें", -Anchor : "ऐंकर इन्सर्ट/संपादन", -AnchorDelete : "ऐंकर हटायें", -InsertImageLbl : "तस्वीर", -InsertImage : "तस्वीर इन्सर्ट/संपादन", -InsertFlashLbl : "फ़्लैश", -InsertFlash : "फ़्लैश इन्सर्ट/संपादन", -InsertTableLbl : "टेबल", -InsertTable : "टेबल इन्सर्ट/संपादन", -InsertLineLbl : "रेखा", -InsertLine : "हॉरिज़ॉन्टल रेखा इन्सर्ट करें", -InsertSpecialCharLbl: "विशेष करॅक्टर", -InsertSpecialChar : "विशेष करॅक्टर इन्सर्ट करें", -InsertSmileyLbl : "स्माइली", -InsertSmiley : "स्माइली इन्सर्ट करें", -About : "FCKeditor के बारे में", -Bold : "बोल्ड", -Italic : "इटैलिक", -Underline : "रेखांकण", -StrikeThrough : "स्ट्राइक थ्रू", -Subscript : "अधोलेख", -Superscript : "अभिलेख", -LeftJustify : "बायीं तरफ", -CenterJustify : "बीच में", -RightJustify : "दायीं तरफ", -BlockJustify : "ब्लॉक जस्टीफ़ाई", -DecreaseIndent : "इन्डॅन्ट कम करें", -IncreaseIndent : "इन्डॅन्ट बढ़ायें", -Blockquote : "ब्लॉक-कोट", -CreateDiv : "डिव (Div) कन्टेनर बनायें", -EditDiv : "डिव (Div) कन्टेनर बदलें", -DeleteDiv : "डिव कन्टेनर हटायें", -Undo : "अन्डू", -Redo : "रीडू", -NumberedListLbl : "अंकीय सूची", -NumberedList : "अंकीय सूची इन्सर्ट/संपादन", -BulletedListLbl : "बुलॅट सूची", -BulletedList : "बुलॅट सूची इन्सर्ट/संपादन", -ShowTableBorders : "टेबल बॉर्डरयें दिखायें", -ShowDetails : "ज्यादा दिखायें", -Style : "स्टाइल", -FontFormat : "फ़ॉर्मैट", -Font : "फ़ॉन्ट", -FontSize : "साइज़", -TextColor : "टेक्स्ट रंग", -BGColor : "बैक्ग्राउन्ड रंग", -Source : "सोर्स", -Find : "खोजें", -Replace : "रीप्लेस", -SpellCheck : "वर्तनी (स्पेलिंग) जाँच", -UniversalKeyboard : "यूनीवर्सल कीबोर्ड", -PageBreakLbl : "पेज ब्रेक", -PageBreak : "पेज ब्रेक इन्सर्ट् करें", - -Form : "फ़ॉर्म", -Checkbox : "चॅक बॉक्स", -RadioButton : "रेडिओ बटन", -TextField : "टेक्स्ट फ़ील्ड", -Textarea : "टेक्स्ट एरिया", -HiddenField : "गुप्त फ़ील्ड", -Button : "बटन", -SelectionField : "चुनाव फ़ील्ड", -ImageButton : "तस्वीर बटन", - -FitWindow : "एडिटर साइज़ को चरम सीमा तक बढ़ायें", -ShowBlocks : "ब्लॉक दिखायें", - -// Context Menu -EditLink : "लिंक संपादन", -CellCM : "खाना", -RowCM : "पंक्ति", -ColumnCM : "कालम", -InsertRowAfter : "बाद में पंक्ति डालें", -InsertRowBefore : "पहले पंक्ति डालें", -DeleteRows : "पंक्तियाँ डिलीट करें", -InsertColumnAfter : "बाद में कालम डालें", -InsertColumnBefore : "पहले कालम डालें", -DeleteColumns : "कालम डिलीट करें", -InsertCellAfter : "बाद में सैल डालें", -InsertCellBefore : "पहले सैल डालें", -DeleteCells : "सैल डिलीट करें", -MergeCells : "सैल मिलायें", -MergeRight : "बाँया विलय", -MergeDown : "नीचे विलय करें", -HorizontalSplitCell : "सैल को क्षैतिज स्थिति में विभाजित करें", -VerticalSplitCell : "सैल को लम्बाकार में विभाजित करें", -TableDelete : "टेबल डिलीट करें", -CellProperties : "सैल प्रॉपर्टीज़", -TableProperties : "टेबल प्रॉपर्टीज़", -ImageProperties : "तस्वीर प्रॉपर्टीज़", -FlashProperties : "फ़्लैश प्रॉपर्टीज़", - -AnchorProp : "ऐंकर प्रॉपर्टीज़", -ButtonProp : "बटन प्रॉपर्टीज़", -CheckboxProp : "चॅक बॉक्स प्रॉपर्टीज़", -HiddenFieldProp : "गुप्त फ़ील्ड प्रॉपर्टीज़", -RadioButtonProp : "रेडिओ बटन प्रॉपर्टीज़", -ImageButtonProp : "तस्वीर बटन प्रॉपर्टीज़", -TextFieldProp : "टेक्स्ट फ़ील्ड प्रॉपर्टीज़", -SelectionFieldProp : "चुनाव फ़ील्ड प्रॉपर्टीज़", -TextareaProp : "टेक्स्त एरिया प्रॉपर्टीज़", -FormProp : "फ़ॉर्म प्रॉपर्टीज़", - -FontFormats : "साधारण;फ़ॉर्मैटॅड;पता;शीर्षक 1;शीर्षक 2;शीर्षक 3;शीर्षक 4;शीर्षक 5;शीर्षक 6;शीर्षक (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML प्रोसॅस हो रहा है। ज़रा ठहरें...", -Done : "पूरा हुआ", -PasteWordConfirm : "आप जो टेक्स्ट पेस्ट करना चाहते हैं, वह वर्ड से कॉपी किया हुआ लग रहा है। क्या पेस्ट करने से पहले आप इसे साफ़ करना चाहेंगे?", -NotCompatiblePaste : "यह कमांड इन्टरनॅट एक्स्प्लोरर(Internet Explorer) 5.5 या उसके बाद के वर्ज़न के लिए ही उपलब्ध है। क्या आप बिना साफ़ किए पेस्ट करना चाहेंगे?", -UnknownToolbarItem : "अनजान टूलबार आइटम \"%1\"", -UnknownCommand : "अनजान कमान्ड \"%1\"", -NotImplemented : "कमान्ड इम्प्लीमॅन्ट नहीं किया गया है", -UnknownToolbarSet : "टूलबार सॅट \"%1\" उपलब्ध नहीं है", -NoActiveX : "आपके ब्राउज़र् की सुरक्शा सेटिंग्स् एडिटर की कुछ् फ़ीचरों को सीमित कर् सकती हैं। क्रिपया \"Run ActiveX controls and plug-ins\" विकल्प को एनेबल करें. आपको एरर्स् और गायब फ़ीचर्स् का अनुभव हो सकता है।", -BrowseServerBlocked : "रिसोर्सेज़ ब्राउज़र् नहीं खोला जा सका। क्रिपया सभी पॉप्-अप् ब्लॉकर्स् को निष्क्रिय करें।", -DialogBlocked : "डायलग विन्डो नहीं खोला जा सका। क्रिपया सभी पॉप्-अप् ब्लॉकर्स् को निष्क्रिय करें।", -VisitLinkBlocked : "नया विन्डो नहीं खोला जा सका। क्रिपया सभी पॉप्-अप् ब्लॉकर्स् को निष्क्रिय करें।", - -// Dialogs -DlgBtnOK : "ठीक है", -DlgBtnCancel : "रद्द करें", -DlgBtnClose : "बन्द करें", -DlgBtnBrowseServer : "सर्वर ब्राउज़ करें", -DlgAdvancedTag : "ऍड्वान्स्ड", -DlgOpOther : "<अन्य>", -DlgInfoTab : "सूचना", -DlgAlertUrl : "URL इन्सर्ट करें", - -// General Dialogs Labels -DlgGenNotSet : "<सॅट नहीं>", -DlgGenId : "Id", -DlgGenLangDir : "भाषा लिखने की दिशा", -DlgGenLangDirLtr : "बायें से दायें (LTR)", -DlgGenLangDirRtl : "दायें से बायें (RTL)", -DlgGenLangCode : "भाषा कोड", -DlgGenAccessKey : "ऍक्सॅस की", -DlgGenName : "नाम", -DlgGenTabIndex : "टैब इन्डॅक्स", -DlgGenLongDescr : "अधिक विवरण के लिए URL", -DlgGenClass : "स्टाइल-शीट क्लास", -DlgGenTitle : "परामर्श शीर्शक", -DlgGenContType : "परामर्श कन्टॅन्ट प्रकार", -DlgGenLinkCharset : "लिंक रिसोर्स करॅक्टर सॅट", -DlgGenStyle : "स्टाइल", - -// Image Dialog -DlgImgTitle : "तस्वीर प्रॉपर्टीज़", -DlgImgInfoTab : "तस्वीर की जानकारी", -DlgImgBtnUpload : "इसे सर्वर को भेजें", -DlgImgURL : "URL", -DlgImgUpload : "अपलोड", -DlgImgAlt : "वैकल्पिक टेक्स्ट", -DlgImgWidth : "चौड़ाई", -DlgImgHeight : "ऊँचाई", -DlgImgLockRatio : "लॉक अनुपात", -DlgBtnResetSize : "रीसॅट साइज़", -DlgImgBorder : "बॉर्डर", -DlgImgHSpace : "हॉरिज़ॉन्टल स्पेस", -DlgImgVSpace : "वर्टिकल स्पेस", -DlgImgAlign : "ऍलाइन", -DlgImgAlignLeft : "दायें", -DlgImgAlignAbsBottom: "Abs नीचे", -DlgImgAlignAbsMiddle: "Abs ऊपर", -DlgImgAlignBaseline : "मूल रेखा", -DlgImgAlignBottom : "नीचे", -DlgImgAlignMiddle : "मध्य", -DlgImgAlignRight : "दायें", -DlgImgAlignTextTop : "टेक्स्ट ऊपर", -DlgImgAlignTop : "ऊपर", -DlgImgPreview : "प्रीव्यू", -DlgImgAlertUrl : "तस्वीर का URL टाइप करें ", -DlgImgLinkTab : "लिंक", - -// Flash Dialog -DlgFlashTitle : "फ़्लैश प्रॉपर्टीज़", -DlgFlashChkPlay : "ऑटो प्ले", -DlgFlashChkLoop : "लूप", -DlgFlashChkMenu : "फ़्लैश मॅन्यू का प्रयोग करें", -DlgFlashScale : "स्केल", -DlgFlashScaleAll : "सभी दिखायें", -DlgFlashScaleNoBorder : "कोई बॉर्डर नहीं", -DlgFlashScaleFit : "बिल्कुल फ़िट", - -// Link Dialog -DlgLnkWindowTitle : "लिंक", -DlgLnkInfoTab : "लिंक ", -DlgLnkTargetTab : "टार्गेट", - -DlgLnkType : "लिंक प्रकार", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "इस पेज का ऐंकर", -DlgLnkTypeEMail : "ई-मेल", -DlgLnkProto : "प्रोटोकॉल", -DlgLnkProtoOther : "<अन्य>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "ऐंकर चुनें", -DlgLnkAnchorByName : "ऐंकर नाम से", -DlgLnkAnchorById : "ऍलीमॅन्ट Id से", -DlgLnkNoAnchors : "(डॉक्यूमॅन्ट में ऐंकर्स की संख्या)", -DlgLnkEMail : "ई-मेल पता", -DlgLnkEMailSubject : "संदेश विषय", -DlgLnkEMailBody : "संदेश", -DlgLnkUpload : "अपलोड", -DlgLnkBtnUpload : "इसे सर्वर को भेजें", - -DlgLnkTarget : "टार्गेट", -DlgLnkTargetFrame : "<फ़्रेम>", -DlgLnkTargetPopup : "<पॉप-अप विन्डो>", -DlgLnkTargetBlank : "नया विन्डो (_blank)", -DlgLnkTargetParent : "मूल विन्डो (_parent)", -DlgLnkTargetSelf : "इसी विन्डो (_self)", -DlgLnkTargetTop : "शीर्ष विन्डो (_top)", -DlgLnkTargetFrameName : "टार्गेट फ़्रेम का नाम", -DlgLnkPopWinName : "पॉप-अप विन्डो का नाम", -DlgLnkPopWinFeat : "पॉप-अप विन्डो फ़ीचर्स", -DlgLnkPopResize : "साइज़ बदला जा सकता है", -DlgLnkPopLocation : "लोकेशन बार", -DlgLnkPopMenu : "मॅन्यू बार", -DlgLnkPopScroll : "स्क्रॉल बार", -DlgLnkPopStatus : "स्टेटस बार", -DlgLnkPopToolbar : "टूल बार", -DlgLnkPopFullScrn : "फ़ुल स्क्रीन (IE)", -DlgLnkPopDependent : "डिपेन्डॅन्ट (Netscape)", -DlgLnkPopWidth : "चौड़ाई", -DlgLnkPopHeight : "ऊँचाई", -DlgLnkPopLeft : "बायीं तरफ", -DlgLnkPopTop : "दायीं तरफ", - -DlnLnkMsgNoUrl : "लिंक URL टाइप करें", -DlnLnkMsgNoEMail : "ई-मेल पता टाइप करें", -DlnLnkMsgNoAnchor : "ऐंकर चुनें", -DlnLnkMsgInvPopName : "पॉप-अप का नाम अल्फाबेट से शुरू होना चाहिये और उसमें स्पेस नहीं होने चाहिए", - -// Color Dialog -DlgColorTitle : "रंग चुनें", -DlgColorBtnClear : "साफ़ करें", -DlgColorHighlight : "हाइलाइट", -DlgColorSelected : "सॅलॅक्टॅड", - -// Smiley Dialog -DlgSmileyTitle : "स्माइली इन्सर्ट करें", - -// Special Character Dialog -DlgSpecialCharTitle : "विशेष करॅक्टर चुनें", - -// Table Dialog -DlgTableTitle : "टेबल प्रॉपर्टीज़", -DlgTableRows : "पंक्तियाँ", -DlgTableColumns : "कालम", -DlgTableBorder : "बॉर्डर साइज़", -DlgTableAlign : "ऍलाइन्मॅन्ट", -DlgTableAlignNotSet : "<सॅट नहीं>", -DlgTableAlignLeft : "दायें", -DlgTableAlignCenter : "बीच में", -DlgTableAlignRight : "बायें", -DlgTableWidth : "चौड़ाई", -DlgTableWidthPx : "पिक्सैल", -DlgTableWidthPc : "प्रतिशत", -DlgTableHeight : "ऊँचाई", -DlgTableCellSpace : "सैल अंतर", -DlgTableCellPad : "सैल पैडिंग", -DlgTableCaption : "शीर्षक", -DlgTableSummary : "सारांश", - -// Table Cell Dialog -DlgCellTitle : "सैल प्रॉपर्टीज़", -DlgCellWidth : "चौड़ाई", -DlgCellWidthPx : "पिक्सैल", -DlgCellWidthPc : "प्रतिशत", -DlgCellHeight : "ऊँचाई", -DlgCellWordWrap : "वर्ड रैप", -DlgCellWordWrapNotSet : "<सॅट नहीं>", -DlgCellWordWrapYes : "हाँ", -DlgCellWordWrapNo : "नहीं", -DlgCellHorAlign : "हॉरिज़ॉन्टल ऍलाइन्मॅन्ट", -DlgCellHorAlignNotSet : "<सॅट नहीं>", -DlgCellHorAlignLeft : "दायें", -DlgCellHorAlignCenter : "बीच में", -DlgCellHorAlignRight: "बायें", -DlgCellVerAlign : "वर्टिकल ऍलाइन्मॅन्ट", -DlgCellVerAlignNotSet : "<सॅट नहीं>", -DlgCellVerAlignTop : "ऊपर", -DlgCellVerAlignMiddle : "मध्य", -DlgCellVerAlignBottom : "नीचे", -DlgCellVerAlignBaseline : "मूलरेखा", -DlgCellRowSpan : "पंक्ति स्पैन", -DlgCellCollSpan : "कालम स्पैन", -DlgCellBackColor : "बैक्ग्राउन्ड रंग", -DlgCellBorderColor : "बॉर्डर का रंग", -DlgCellBtnSelect : "चुनें...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "खोजें और बदलें", - -// Find Dialog -DlgFindTitle : "खोजें", -DlgFindFindBtn : "खोजें", -DlgFindNotFoundMsg : "आपके द्वारा दिया गया टेक्स्ट नहीं मिला", - -// Replace Dialog -DlgReplaceTitle : "रिप्लेस", -DlgReplaceFindLbl : "यह खोजें:", -DlgReplaceReplaceLbl : "इससे रिप्लेस करें:", -DlgReplaceCaseChk : "केस मिलायें", -DlgReplaceReplaceBtn : "रिप्लेस", -DlgReplaceReplAllBtn : "सभी रिप्लेस करें", -DlgReplaceWordChk : "पूरा शब्द मिलायें", - -// Paste Operations / Dialog -PasteErrorCut : "आपके ब्राउज़र की सुरक्षा सॅटिन्ग्स ने कट करने की अनुमति नहीं प्रदान की है। (Ctrl+X) का प्रयोग करें।", -PasteErrorCopy : "आपके ब्राआउज़र की सुरक्षा सॅटिन्ग्स ने कॉपी करने की अनुमति नहीं प्रदान की है। (Ctrl+C) का प्रयोग करें।", - -PasteAsText : "पेस्ट (सादा टॅक्स्ट)", -PasteFromWord : "पेस्ट (वर्ड से)", - -DlgPasteMsg2 : "Ctrl+V का प्रयोग करके पेस्ट करें और ठीक है करें.", -DlgPasteSec : "आपके ब्राउज़र की सुरक्षा आपके ब्राउज़र की सुरKश सैटिंग के कारण, एडिटर आपके क्लिपबोर्ड डेटा को नहीं पा सकता है. आपको उसे इस विन्डो में दोबारा पेस्ट करना होगा.", -DlgPasteIgnoreFont : "फ़ॉन्ट परिभाषा निकालें", -DlgPasteRemoveStyles : "स्टाइल परिभाषा निकालें", - -// Color Picker -ColorAutomatic : "स्वचालित", -ColorMoreColors : "और रंग...", - -// Document Properties -DocProps : "डॉक्यूमॅन्ट प्रॉपर्टीज़", - -// Anchor Dialog -DlgAnchorTitle : "ऐंकर प्रॉपर्टीज़", -DlgAnchorName : "ऐंकर का नाम", -DlgAnchorErrorName : "ऐंकर का नाम टाइप करें", - -// Speller Pages Dialog -DlgSpellNotInDic : "शब्दकोश में नहीं", -DlgSpellChangeTo : "इसमें बदलें", -DlgSpellBtnIgnore : "इग्नोर", -DlgSpellBtnIgnoreAll : "सभी इग्नोर करें", -DlgSpellBtnReplace : "रिप्लेस", -DlgSpellBtnReplaceAll : "सभी रिप्लेस करें", -DlgSpellBtnUndo : "अन्डू", -DlgSpellNoSuggestions : "- कोई सुझाव नहीं -", -DlgSpellProgress : "वर्तनी की जाँच (स्पॅल-चॅक) जारी है...", -DlgSpellNoMispell : "वर्तनी की जाँच : कोई गलत वर्तनी (स्पॅलिंग) नहीं पाई गई", -DlgSpellNoChanges : "वर्तनी की जाँच :कोई शब्द नहीं बदला गया", -DlgSpellOneChange : "वर्तनी की जाँच : एक शब्द बदला गया", -DlgSpellManyChanges : "वर्तनी की जाँच : %1 शब्द बदले गये", - -IeSpellDownload : "स्पॅल-चॅकर इन्स्टाल नहीं किया गया है। क्या आप इसे डा‌उनलोड करना चाहेंगे?", - -// Button Dialog -DlgButtonText : "टेक्स्ट (वैल्यू)", -DlgButtonType : "प्रकार", -DlgButtonTypeBtn : "बटन", -DlgButtonTypeSbm : "सब्मिट", -DlgButtonTypeRst : "रिसेट", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "नाम", -DlgCheckboxValue : "वैल्यू", -DlgCheckboxSelected : "सॅलॅक्टॅड", - -// Form Dialog -DlgFormName : "नाम", -DlgFormAction : "क्रिया", -DlgFormMethod : "तरीका", - -// Select Field Dialog -DlgSelectName : "नाम", -DlgSelectValue : "वैल्यू", -DlgSelectSize : "साइज़", -DlgSelectLines : "पंक्तियाँ", -DlgSelectChkMulti : "एक से ज्यादा विकल्प चुनने दें", -DlgSelectOpAvail : "उपलब्ध विकल्प", -DlgSelectOpText : "टेक्स्ट", -DlgSelectOpValue : "वैल्यू", -DlgSelectBtnAdd : "जोड़ें", -DlgSelectBtnModify : "बदलें", -DlgSelectBtnUp : "ऊपर", -DlgSelectBtnDown : "नीचे", -DlgSelectBtnSetValue : "चुनी गई वैल्यू सॅट करें", -DlgSelectBtnDelete : "डिलीट", - -// Textarea Dialog -DlgTextareaName : "नाम", -DlgTextareaCols : "कालम", -DlgTextareaRows : "पंक्तियां", - -// Text Field Dialog -DlgTextName : "नाम", -DlgTextValue : "वैल्यू", -DlgTextCharWidth : "करॅक्टर की चौढ़ाई", -DlgTextMaxChars : "अधिकतम करॅक्टर", -DlgTextType : "टाइप", -DlgTextTypeText : "टेक्स्ट", -DlgTextTypePass : "पास्वर्ड", - -// Hidden Field Dialog -DlgHiddenName : "नाम", -DlgHiddenValue : "वैल्यू", - -// Bulleted List Dialog -BulletedListProp : "बुलॅट सूची प्रॉपर्टीज़", -NumberedListProp : "अंकीय सूची प्रॉपर्टीज़", -DlgLstStart : "प्रारम्भ", -DlgLstType : "प्रकार", -DlgLstTypeCircle : "गोल", -DlgLstTypeDisc : "डिस्क", -DlgLstTypeSquare : "चौकॊण", -DlgLstTypeNumbers : "अंक (1, 2, 3)", -DlgLstTypeLCase : "छोटे अक्षर (a, b, c)", -DlgLstTypeUCase : "बड़े अक्षर (A, B, C)", -DlgLstTypeSRoman : "छोटे रोमन अंक (i, ii, iii)", -DlgLstTypeLRoman : "बड़े रोमन अंक (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "आम", -DlgDocBackTab : "बैक्ग्राउन्ड", -DlgDocColorsTab : "रंग और मार्जिन", -DlgDocMetaTab : "मॅटाडेटा", - -DlgDocPageTitle : "पेज शीर्षक", -DlgDocLangDir : "भाषा लिखने की दिशा", -DlgDocLangDirLTR : "बायें से दायें (LTR)", -DlgDocLangDirRTL : "दायें से बायें (RTL)", -DlgDocLangCode : "भाषा कोड", -DlgDocCharSet : "करेक्टर सॅट ऍन्कोडिंग", -DlgDocCharSetCE : "मध्य यूरोपीय (Central European)", -DlgDocCharSetCT : "चीनी (Chinese Traditional Big5)", -DlgDocCharSetCR : "सिरीलिक (Cyrillic)", -DlgDocCharSetGR : "यवन (Greek)", -DlgDocCharSetJP : "जापानी (Japanese)", -DlgDocCharSetKR : "कोरीयन (Korean)", -DlgDocCharSetTR : "तुर्की (Turkish)", -DlgDocCharSetUN : "यूनीकोड (UTF-8)", -DlgDocCharSetWE : "पश्चिम यूरोपीय (Western European)", -DlgDocCharSetOther : "अन्य करेक्टर सॅट ऍन्कोडिंग", - -DlgDocDocType : "डॉक्यूमॅन्ट प्रकार शीर्षक", -DlgDocDocTypeOther : "अन्य डॉक्यूमॅन्ट प्रकार शीर्षक", -DlgDocIncXHTML : "XHTML सूचना सम्मिलित करें", -DlgDocBgColor : "बैक्ग्राउन्ड रंग", -DlgDocBgImage : "बैक्ग्राउन्ड तस्वीर URL", -DlgDocBgNoScroll : "स्क्रॉल न करने वाला बैक्ग्राउन्ड", -DlgDocCText : "टेक्स्ट", -DlgDocCLink : "लिंक", -DlgDocCVisited : "विज़िट किया गया लिंक", -DlgDocCActive : "सक्रिय लिंक", -DlgDocMargins : "पेज मार्जिन", -DlgDocMaTop : "ऊपर", -DlgDocMaLeft : "बायें", -DlgDocMaRight : "दायें", -DlgDocMaBottom : "नीचे", -DlgDocMeIndex : "डॉक्युमॅन्ट इन्डेक्स संकेतशब्द (अल्पविराम से अलग करें)", -DlgDocMeDescr : "डॉक्यूमॅन्ट करॅक्टरन", -DlgDocMeAuthor : "लेखक", -DlgDocMeCopy : "कॉपीराइट", -DlgDocPreview : "प्रीव्यू", - -// Templates Dialog -Templates : "टॅम्प्लेट", -DlgTemplatesTitle : "कन्टेन्ट टॅम्प्लेट", -DlgTemplatesSelMsg : "ऍडिटर में ओपन करने हेतु टॅम्प्लेट चुनें(वर्तमान कन्टॅन्ट सेव नहीं होंगे):", -DlgTemplatesLoading : "टॅम्प्लेट सूची लोड की जा रही है। ज़रा ठहरें...", -DlgTemplatesNoTpl : "(कोई टॅम्प्लेट डिफ़ाइन नहीं किया गया है)", -DlgTemplatesReplace : "मूल शब्दों को बदलें", - -// About Dialog -DlgAboutAboutTab : "FCKEditor के बारे में", -DlgAboutBrowserInfoTab : "ब्राउज़र के बारे में", -DlgAboutLicenseTab : "लाइसैन्स", -DlgAboutVersion : "वर्ज़न", -DlgAboutInfo : "अधिक जानकारी के लिये यहाँ जायें:", - -// Div Dialog -DlgDivGeneralTab : "सामान्य", -DlgDivAdvancedTab : "एड्वान्स्ड", -DlgDivStyle : "स्टाइल", -DlgDivInlineStyle : "इनलाइन स्टाइल" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/hr.js b/modules/editor/skins/fckeditor/editor/lang/hr.js deleted file mode 100644 index 4601e9629..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/hr.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Croatian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Smanji trake s alatima", -ToolbarExpand : "Proširi trake s alatima", - -// Toolbar Items and Context Menu -Save : "Snimi", -NewPage : "Nova stranica", -Preview : "Pregledaj", -Cut : "Izreži", -Copy : "Kopiraj", -Paste : "Zalijepi", -PasteText : "Zalijepi kao čisti tekst", -PasteWord : "Zalijepi iz Worda", -Print : "Ispiši", -SelectAll : "Odaberi sve", -RemoveFormat : "Ukloni formatiranje", -InsertLinkLbl : "Link", -InsertLink : "Ubaci/promijeni link", -RemoveLink : "Ukloni link", -VisitLink : "Otvori link", -Anchor : "Ubaci/promijeni sidro", -AnchorDelete : "Ukloni sidro", -InsertImageLbl : "Slika", -InsertImage : "Ubaci/promijeni sliku", -InsertFlashLbl : "Flash", -InsertFlash : "Ubaci/promijeni Flash", -InsertTableLbl : "Tablica", -InsertTable : "Ubaci/promijeni tablicu", -InsertLineLbl : "Linija", -InsertLine : "Ubaci vodoravnu liniju", -InsertSpecialCharLbl: "Posebni karakteri", -InsertSpecialChar : "Ubaci posebne znakove", -InsertSmileyLbl : "Smješko", -InsertSmiley : "Ubaci smješka", -About : "O FCKeditoru", -Bold : "Podebljaj", -Italic : "Ukosi", -Underline : "Potcrtano", -StrikeThrough : "Precrtano", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Lijevo poravnanje", -CenterJustify : "Središnje poravnanje", -RightJustify : "Desno poravnanje", -BlockJustify : "Blok poravnanje", -DecreaseIndent : "Pomakni ulijevo", -IncreaseIndent : "Pomakni udesno", -Blockquote : "Blockquote", -CreateDiv : "Napravi Div kontejner", -EditDiv : "Uredi Div kontejner", -DeleteDiv : "Ukloni Div kontejner", -Undo : "Poništi", -Redo : "Ponovi", -NumberedListLbl : "Brojčana lista", -NumberedList : "Ubaci/ukloni brojčanu listu", -BulletedListLbl : "Obična lista", -BulletedList : "Ubaci/ukloni običnu listu", -ShowTableBorders : "Prikaži okvir tablice", -ShowDetails : "Prikaži detalje", -Style : "Stil", -FontFormat : "Format", -Font : "Font", -FontSize : "Veličina", -TextColor : "Boja teksta", -BGColor : "Boja pozadine", -Source : "Kôd", -Find : "Pronađi", -Replace : "Zamijeni", -SpellCheck : "Provjeri pravopis", -UniversalKeyboard : "Univerzalna tipkovnica", -PageBreakLbl : "Prijelom stranice", -PageBreak : "Ubaci prijelom stranice", - -Form : "Form", -Checkbox : "Checkbox", -RadioButton : "Radio Button", -TextField : "Text Field", -Textarea : "Textarea", -HiddenField : "Hidden Field", -Button : "Button", -SelectionField : "Selection Field", -ImageButton : "Image Button", - -FitWindow : "Povećaj veličinu editora", -ShowBlocks : "Prikaži blokove", - -// Context Menu -EditLink : "Promijeni link", -CellCM : "Ćelija", -RowCM : "Red", -ColumnCM : "Kolona", -InsertRowAfter : "Ubaci red poslije", -InsertRowBefore : "Ubaci red prije", -DeleteRows : "Izbriši redove", -InsertColumnAfter : "Ubaci kolonu poslije", -InsertColumnBefore : "Ubaci kolonu prije", -DeleteColumns : "Izbriši kolone", -InsertCellAfter : "Ubaci ćeliju poslije", -InsertCellBefore : "Ubaci ćeliju prije", -DeleteCells : "Izbriši ćelije", -MergeCells : "Spoji ćelije", -MergeRight : "Spoji desno", -MergeDown : "Spoji dolje", -HorizontalSplitCell : "Podijeli ćeliju vodoravno", -VerticalSplitCell : "Podijeli ćeliju okomito", -TableDelete : "Izbriši tablicu", -CellProperties : "Svojstva ćelije", -TableProperties : "Svojstva tablice", -ImageProperties : "Svojstva slike", -FlashProperties : "Flash svojstva", - -AnchorProp : "Svojstva sidra", -ButtonProp : "Image Button svojstva", -CheckboxProp : "Checkbox svojstva", -HiddenFieldProp : "Hidden Field svojstva", -RadioButtonProp : "Radio Button svojstva", -ImageButtonProp : "Image Button svojstva", -TextFieldProp : "Text Field svojstva", -SelectionFieldProp : "Selection svojstva", -TextareaProp : "Textarea svojstva", -FormProp : "Form svojstva", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Obrađujem XHTML. Molimo pričekajte...", -Done : "Završio", -PasteWordConfirm : "Tekst koji želite zalijepiti čini se da je kopiran iz Worda. Želite li prije očistiti tekst?", -NotCompatiblePaste : "Ova naredba je dostupna samo u Internet Exploreru 5.5 ili novijem. Želite li nastaviti bez čišćenja?", -UnknownToolbarItem : "Nepoznati član trake s alatima \"%1\"", -UnknownCommand : "Nepoznata naredba \"%1\"", -NotImplemented : "Naredba nije implementirana", -UnknownToolbarSet : "Traka s alatima \"%1\" ne postoji", -NoActiveX : "Vaše postavke pretraživača mogle bi ograničiti neke od mogućnosti editora. Morate uključiti opciju \"Run ActiveX controls and plug-ins\" u postavkama. Ukoliko to ne učinite, moguće su razliite greške tijekom rada.", -BrowseServerBlocked : "Pretraivač nije moguće otvoriti. Provjerite da li je uključeno blokiranje pop-up prozora.", -DialogBlocked : "Nije moguće otvoriti novi prozor. Provjerite da li je uključeno blokiranje pop-up prozora.", -VisitLinkBlocked : "Nije moguće otvoriti novi prozor. Provjerite da li je uključeno blokiranje pop-up prozora.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Poništi", -DlgBtnClose : "Zatvori", -DlgBtnBrowseServer : "Pretraži server", -DlgAdvancedTag : "Napredno", -DlgOpOther : "", -DlgInfoTab : "Info", -DlgAlertUrl : "Molimo unesite URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Smjer jezika", -DlgGenLangDirLtr : "S lijeva na desno (LTR)", -DlgGenLangDirRtl : "S desna na lijevo (RTL)", -DlgGenLangCode : "Kôd jezika", -DlgGenAccessKey : "Pristupna tipka", -DlgGenName : "Naziv", -DlgGenTabIndex : "Tab Indeks", -DlgGenLongDescr : "Dugački opis URL", -DlgGenClass : "Stylesheet klase", -DlgGenTitle : "Advisory naslov", -DlgGenContType : "Advisory vrsta sadržaja", -DlgGenLinkCharset : "Kodna stranica povezanih resursa", -DlgGenStyle : "Stil", - -// Image Dialog -DlgImgTitle : "Svojstva slika", -DlgImgInfoTab : "Info slike", -DlgImgBtnUpload : "Pošalji na server", -DlgImgURL : "URL", -DlgImgUpload : "Pošalji", -DlgImgAlt : "Alternativni tekst", -DlgImgWidth : "Širina", -DlgImgHeight : "Visina", -DlgImgLockRatio : "Zaključaj odnos", -DlgBtnResetSize : "Obriši veličinu", -DlgImgBorder : "Okvir", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Poravnaj", -DlgImgAlignLeft : "Lijevo", -DlgImgAlignAbsBottom: "Abs dolje", -DlgImgAlignAbsMiddle: "Abs sredina", -DlgImgAlignBaseline : "Bazno", -DlgImgAlignBottom : "Dolje", -DlgImgAlignMiddle : "Sredina", -DlgImgAlignRight : "Desno", -DlgImgAlignTextTop : "Vrh teksta", -DlgImgAlignTop : "Vrh", -DlgImgPreview : "Pregledaj", -DlgImgAlertUrl : "Unesite URL slike", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash svojstva", -DlgFlashChkPlay : "Auto Play", -DlgFlashChkLoop : "Ponavljaj", -DlgFlashChkMenu : "Omogući Flash izbornik", -DlgFlashScale : "Omjer", -DlgFlashScaleAll : "Prikaži sve", -DlgFlashScaleNoBorder : "Bez okvira", -DlgFlashScaleFit : "Točna veličina", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link Info", -DlgLnkTargetTab : "Meta", - -DlgLnkType : "Link vrsta", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Sidro na ovoj stranici", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Odaberi sidro", -DlgLnkAnchorByName : "Po nazivu sidra", -DlgLnkAnchorById : "Po Id elementa", -DlgLnkNoAnchors : "(Nema dostupnih sidra)", -DlgLnkEMail : "E-Mail adresa", -DlgLnkEMailSubject : "Naslov", -DlgLnkEMailBody : "Sadržaj poruke", -DlgLnkUpload : "Pošalji", -DlgLnkBtnUpload : "Pošalji na server", - -DlgLnkTarget : "Meta", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Novi prozor (_blank)", -DlgLnkTargetParent : "Roditeljski prozor (_parent)", -DlgLnkTargetSelf : "Isti prozor (_self)", -DlgLnkTargetTop : "Vršni prozor (_top)", -DlgLnkTargetFrameName : "Ime ciljnog okvira", -DlgLnkPopWinName : "Naziv popup prozora", -DlgLnkPopWinFeat : "Mogućnosti popup prozora", -DlgLnkPopResize : "Promjenljive veličine", -DlgLnkPopLocation : "Traka za lokaciju", -DlgLnkPopMenu : "Izborna traka", -DlgLnkPopScroll : "Scroll traka", -DlgLnkPopStatus : "Statusna traka", -DlgLnkPopToolbar : "Traka s alatima", -DlgLnkPopFullScrn : "Cijeli ekran (IE)", -DlgLnkPopDependent : "Ovisno (Netscape)", -DlgLnkPopWidth : "Širina", -DlgLnkPopHeight : "Visina", -DlgLnkPopLeft : "Lijeva pozicija", -DlgLnkPopTop : "Gornja pozicija", - -DlnLnkMsgNoUrl : "Molimo upišite URL link", -DlnLnkMsgNoEMail : "Molimo upišite e-mail adresu", -DlnLnkMsgNoAnchor : "Molimo odaberite sidro", -DlnLnkMsgInvPopName : "Ime popup prozora mora početi sa slovom i ne smije sadržavati razmake", - -// Color Dialog -DlgColorTitle : "Odaberite boju", -DlgColorBtnClear : "Obriši", -DlgColorHighlight : "Osvijetli", -DlgColorSelected : "Odaberi", - -// Smiley Dialog -DlgSmileyTitle : "Ubaci smješka", - -// Special Character Dialog -DlgSpecialCharTitle : "Odaberite posebni karakter", - -// Table Dialog -DlgTableTitle : "Svojstva tablice", -DlgTableRows : "Redova", -DlgTableColumns : "Kolona", -DlgTableBorder : "Veličina okvira", -DlgTableAlign : "Poravnanje", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Lijevo", -DlgTableAlignCenter : "Središnje", -DlgTableAlignRight : "Desno", -DlgTableWidth : "Širina", -DlgTableWidthPx : "piksela", -DlgTableWidthPc : "postotaka", -DlgTableHeight : "Visina", -DlgTableCellSpace : "Prostornost ćelija", -DlgTableCellPad : "Razmak ćelija", -DlgTableCaption : "Naslov", -DlgTableSummary : "Sažetak", - -// Table Cell Dialog -DlgCellTitle : "Svojstva ćelije", -DlgCellWidth : "Širina", -DlgCellWidthPx : "piksela", -DlgCellWidthPc : "postotaka", -DlgCellHeight : "Visina", -DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Da", -DlgCellWordWrapNo : "Ne", -DlgCellHorAlign : "Vodoravno poravnanje", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Lijevo", -DlgCellHorAlignCenter : "Središnje", -DlgCellHorAlignRight: "Desno", -DlgCellVerAlign : "Okomito poravnanje", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Gornje", -DlgCellVerAlignMiddle : "Srednišnje", -DlgCellVerAlignBottom : "Donje", -DlgCellVerAlignBaseline : "Bazno", -DlgCellRowSpan : "Spajanje redova", -DlgCellCollSpan : "Spajanje kolona", -DlgCellBackColor : "Boja pozadine", -DlgCellBorderColor : "Boja okvira", -DlgCellBtnSelect : "Odaberi...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Pronađi i zamijeni", - -// Find Dialog -DlgFindTitle : "Pronađi", -DlgFindFindBtn : "Pronađi", -DlgFindNotFoundMsg : "Traženi tekst nije pronađen.", - -// Replace Dialog -DlgReplaceTitle : "Zamijeni", -DlgReplaceFindLbl : "Pronađi:", -DlgReplaceReplaceLbl : "Zamijeni s:", -DlgReplaceCaseChk : "Usporedi mala/velika slova", -DlgReplaceReplaceBtn : "Zamijeni", -DlgReplaceReplAllBtn : "Zamijeni sve", -DlgReplaceWordChk : "Usporedi cijele riječi", - -// Paste Operations / Dialog -PasteErrorCut : "Sigurnosne postavke Vašeg pretraživača ne dozvoljavaju operacije automatskog izrezivanja. Molimo koristite kraticu na tipkovnici (Ctrl+X).", -PasteErrorCopy : "Sigurnosne postavke Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tipkovnici (Ctrl+C).", - -PasteAsText : "Zalijepi kao čisti tekst", -PasteFromWord : "Zalijepi iz Worda", - -DlgPasteMsg2 : "Molimo zaljepite unutar doljnjeg okvira koristeći tipkovnicu (Ctrl+V) i kliknite OK.", -DlgPasteSec : "Zbog sigurnosnih postavki Vašeg pretraživača, editor nema direktan pristup Vašem međuspremniku. Potrebno je ponovno zalijepiti tekst u ovaj prozor.", -DlgPasteIgnoreFont : "Zanemari definiciju vrste fonta", -DlgPasteRemoveStyles : "Ukloni definicije stilova", - -// Color Picker -ColorAutomatic : "Automatski", -ColorMoreColors : "Više boja...", - -// Document Properties -DocProps : "Svojstva dokumenta", - -// Anchor Dialog -DlgAnchorTitle : "Svojstva sidra", -DlgAnchorName : "Ime sidra", -DlgAnchorErrorName : "Molimo unesite ime sidra", - -// Speller Pages Dialog -DlgSpellNotInDic : "Nije u rječniku", -DlgSpellChangeTo : "Promijeni u", -DlgSpellBtnIgnore : "Zanemari", -DlgSpellBtnIgnoreAll : "Zanemari sve", -DlgSpellBtnReplace : "Zamijeni", -DlgSpellBtnReplaceAll : "Zamijeni sve", -DlgSpellBtnUndo : "Vrati", -DlgSpellNoSuggestions : "-Nema preporuke-", -DlgSpellProgress : "Provjera u tijeku...", -DlgSpellNoMispell : "Provjera završena: Nema grešaka", -DlgSpellNoChanges : "Provjera završena: Nije napravljena promjena", -DlgSpellOneChange : "Provjera završena: Jedna riječ promjenjena", -DlgSpellManyChanges : "Provjera završena: Promijenjeno %1 riječi", - -IeSpellDownload : "Provjera pravopisa nije instalirana. Želite li skinuti provjeru pravopisa?", - -// Button Dialog -DlgButtonText : "Tekst (vrijednost)", -DlgButtonType : "Vrsta", -DlgButtonTypeBtn : "Gumb", -DlgButtonTypeSbm : "Pošalji", -DlgButtonTypeRst : "Poništi", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Ime", -DlgCheckboxValue : "Vrijednost", -DlgCheckboxSelected : "Odabrano", - -// Form Dialog -DlgFormName : "Ime", -DlgFormAction : "Akcija", -DlgFormMethod : "Metoda", - -// Select Field Dialog -DlgSelectName : "Ime", -DlgSelectValue : "Vrijednost", -DlgSelectSize : "Veličina", -DlgSelectLines : "linija", -DlgSelectChkMulti : "Dozvoli višestruki odabir", -DlgSelectOpAvail : "Dostupne opcije", -DlgSelectOpText : "Tekst", -DlgSelectOpValue : "Vrijednost", -DlgSelectBtnAdd : "Dodaj", -DlgSelectBtnModify : "Promijeni", -DlgSelectBtnUp : "Gore", -DlgSelectBtnDown : "Dolje", -DlgSelectBtnSetValue : "Postavi kao odabranu vrijednost", -DlgSelectBtnDelete : "Obriši", - -// Textarea Dialog -DlgTextareaName : "Ime", -DlgTextareaCols : "Kolona", -DlgTextareaRows : "Redova", - -// Text Field Dialog -DlgTextName : "Ime", -DlgTextValue : "Vrijednost", -DlgTextCharWidth : "Širina", -DlgTextMaxChars : "Najviše karaktera", -DlgTextType : "Vrsta", -DlgTextTypeText : "Tekst", -DlgTextTypePass : "Šifra", - -// Hidden Field Dialog -DlgHiddenName : "Ime", -DlgHiddenValue : "Vrijednost", - -// Bulleted List Dialog -BulletedListProp : "Svojstva liste", -NumberedListProp : "Svojstva brojčane liste", -DlgLstStart : "Početak", -DlgLstType : "Vrsta", -DlgLstTypeCircle : "Krug", -DlgLstTypeDisc : "Disk", -DlgLstTypeSquare : "Kvadrat", -DlgLstTypeNumbers : "Brojevi (1, 2, 3)", -DlgLstTypeLCase : "Mala slova (a, b, c)", -DlgLstTypeUCase : "Velika slova (A, B, C)", -DlgLstTypeSRoman : "Male rimske brojke (i, ii, iii)", -DlgLstTypeLRoman : "Velike rimske brojke (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Općenito", -DlgDocBackTab : "Pozadina", -DlgDocColorsTab : "Boje i margine", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Naslov stranice", -DlgDocLangDir : "Smjer jezika", -DlgDocLangDirLTR : "S lijeva na desno", -DlgDocLangDirRTL : "S desna na lijevo", -DlgDocLangCode : "Kôd jezika", -DlgDocCharSet : "Enkodiranje znakova", -DlgDocCharSetCE : "Središnja Europa", -DlgDocCharSetCT : "Tradicionalna kineska (Big5)", -DlgDocCharSetCR : "Ćirilica", -DlgDocCharSetGR : "Grčka", -DlgDocCharSetJP : "Japanska", -DlgDocCharSetKR : "Koreanska", -DlgDocCharSetTR : "Turska", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Zapadna Europa", -DlgDocCharSetOther : "Ostalo enkodiranje znakova", - -DlgDocDocType : "Zaglavlje vrste dokumenta", -DlgDocDocTypeOther : "Ostalo zaglavlje vrste dokumenta", -DlgDocIncXHTML : "Ubaci XHTML deklaracije", -DlgDocBgColor : "Boja pozadine", -DlgDocBgImage : "URL slike pozadine", -DlgDocBgNoScroll : "Pozadine se ne pomiče", -DlgDocCText : "Tekst", -DlgDocCLink : "Link", -DlgDocCVisited : "Posjećeni link", -DlgDocCActive : "Aktivni link", -DlgDocMargins : "Margine stranice", -DlgDocMaTop : "Vrh", -DlgDocMaLeft : "Lijevo", -DlgDocMaRight : "Desno", -DlgDocMaBottom : "Dolje", -DlgDocMeIndex : "Ključne riječi dokumenta (odvojene zarezom)", -DlgDocMeDescr : "Opis dokumenta", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Autorska prava", -DlgDocPreview : "Pregledaj", - -// Templates Dialog -Templates : "Predlošci", -DlgTemplatesTitle : "Predlošci sadržaja", -DlgTemplatesSelMsg : "Molimo odaberite predložak koji želite otvoriti
    (stvarni sadržaj će biti izgubljen):", -DlgTemplatesLoading : "Učitavam listu predložaka. Molimo pričekajte...", -DlgTemplatesNoTpl : "(Nema definiranih predložaka)", -DlgTemplatesReplace : "Zamijeni trenutne sadržaje", - -// About Dialog -DlgAboutAboutTab : "O FCKEditoru", -DlgAboutBrowserInfoTab : "Podaci o pretraživaču", -DlgAboutLicenseTab : "Licenca", -DlgAboutVersion : "inačica", -DlgAboutInfo : "Za više informacija posjetite", - -// Div Dialog -DlgDivGeneralTab : "Općenito", -DlgDivAdvancedTab : "Napredno", -DlgDivStyle : "Stil", -DlgDivInlineStyle : "Stil u redu" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/hu.js b/modules/editor/skins/fckeditor/editor/lang/hu.js deleted file mode 100644 index b9803e63a..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/hu.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Hungarian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Eszköztár elrejtése", -ToolbarExpand : "Eszköztár megjelenítése", - -// Toolbar Items and Context Menu -Save : "Mentés", -NewPage : "Új oldal", -Preview : "Előnézet", -Cut : "Kivágás", -Copy : "Másolás", -Paste : "Beillesztés", -PasteText : "Beillesztés formázás nélkül", -PasteWord : "Beillesztés Word-ből", -Print : "Nyomtatás", -SelectAll : "Mindent kijelöl", -RemoveFormat : "Formázás eltávolítása", -InsertLinkLbl : "Hivatkozás", -InsertLink : "Hivatkozás beillesztése/módosítása", -RemoveLink : "Hivatkozás törlése", -VisitLink : "Open Link", //MISSING -Anchor : "Horgony beillesztése/szerkesztése", -AnchorDelete : "Horgony eltávolítása", -InsertImageLbl : "Kép", -InsertImage : "Kép beillesztése/módosítása", -InsertFlashLbl : "Flash", -InsertFlash : "Flash beillesztése, módosítása", -InsertTableLbl : "Táblázat", -InsertTable : "Táblázat beillesztése/módosítása", -InsertLineLbl : "Vonal", -InsertLine : "Elválasztóvonal beillesztése", -InsertSpecialCharLbl: "Speciális karakter", -InsertSpecialChar : "Speciális karakter beillesztése", -InsertSmileyLbl : "Hangulatjelek", -InsertSmiley : "Hangulatjelek beillesztése", -About : "FCKeditor névjegy", -Bold : "Félkövér", -Italic : "Dőlt", -Underline : "Aláhúzott", -StrikeThrough : "Áthúzott", -Subscript : "Alsó index", -Superscript : "Felső index", -LeftJustify : "Balra", -CenterJustify : "Középre", -RightJustify : "Jobbra", -BlockJustify : "Sorkizárt", -DecreaseIndent : "Behúzás csökkentése", -IncreaseIndent : "Behúzás növelése", -Blockquote : "Idézet blokk", -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "Visszavonás", -Redo : "Ismétlés", -NumberedListLbl : "Számozás", -NumberedList : "Számozás beillesztése/törlése", -BulletedListLbl : "Felsorolás", -BulletedList : "Felsorolás beillesztése/törlése", -ShowTableBorders : "Táblázat szegély mutatása", -ShowDetails : "Részletek mutatása", -Style : "Stílus", -FontFormat : "Formátum", -Font : "Betűtípus", -FontSize : "Méret", -TextColor : "Betűszín", -BGColor : "Háttérszín", -Source : "Forráskód", -Find : "Keresés", -Replace : "Csere", -SpellCheck : "Helyesírás-ellenőrzés", -UniversalKeyboard : "Univerzális billentyűzet", -PageBreakLbl : "Oldaltörés", -PageBreak : "Oldaltörés beillesztése", - -Form : "Űrlap", -Checkbox : "Jelölőnégyzet", -RadioButton : "Választógomb", -TextField : "Szövegmező", -Textarea : "Szövegterület", -HiddenField : "Rejtettmező", -Button : "Gomb", -SelectionField : "Legördülő lista", -ImageButton : "Képgomb", - -FitWindow : "Maximalizálás", -ShowBlocks : "Blokkok megjelenítése", - -// Context Menu -EditLink : "Hivatkozás módosítása", -CellCM : "Cella", -RowCM : "Sor", -ColumnCM : "Oszlop", -InsertRowAfter : "Sor beillesztése az aktuális sor mögé", -InsertRowBefore : "Sor beillesztése az aktuális sor elé", -DeleteRows : "Sorok törlése", -InsertColumnAfter : "Oszlop beillesztése az aktuális oszlop mögé", -InsertColumnBefore : "Oszlop beillesztése az aktuális oszlop elé", -DeleteColumns : "Oszlopok törlése", -InsertCellAfter : "Cella beillesztése az aktuális cella mögé", -InsertCellBefore : "Cella beillesztése az aktuális cella elé", -DeleteCells : "Cellák törlése", -MergeCells : "Cellák egyesítése", -MergeRight : "Cellák egyesítése jobbra", -MergeDown : "Cellák egyesítése lefelé", -HorizontalSplitCell : "Cellák szétválasztása vízszintesen", -VerticalSplitCell : "Cellák szétválasztása függőlegesen", -TableDelete : "Táblázat törlése", -CellProperties : "Cella tulajdonságai", -TableProperties : "Táblázat tulajdonságai", -ImageProperties : "Kép tulajdonságai", -FlashProperties : "Flash tulajdonságai", - -AnchorProp : "Horgony tulajdonságai", -ButtonProp : "Gomb tulajdonságai", -CheckboxProp : "Jelölőnégyzet tulajdonságai", -HiddenFieldProp : "Rejtett mező tulajdonságai", -RadioButtonProp : "Választógomb tulajdonságai", -ImageButtonProp : "Képgomb tulajdonságai", -TextFieldProp : "Szövegmező tulajdonságai", -SelectionFieldProp : "Legördülő lista tulajdonságai", -TextareaProp : "Szövegterület tulajdonságai", -FormProp : "Űrlap tulajdonságai", - -FontFormats : "Normál;Formázott;Címsor;Fejléc 1;Fejléc 2;Fejléc 3;Fejléc 4;Fejléc 5;Fejléc 6;Bekezdés (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML feldolgozása. Kérem várjon...", -Done : "Kész", -PasteWordConfirm : "A beilleszteni kívánt szöveg Word-ből van másolva. El kívánja távolítani a formázást a beillesztés előtt?", -NotCompatiblePaste : "Ez a parancs csak Internet Explorer 5.5 verziótól használható. Megpróbálja beilleszteni a szöveget az eredeti formázással?", -UnknownToolbarItem : "Ismeretlen eszköztár elem \"%1\"", -UnknownCommand : "Ismeretlen parancs \"%1\"", -NotImplemented : "A parancs nem hajtható végre", -UnknownToolbarSet : "Az eszközkészlet \"%1\" nem létezik", -NoActiveX : "A böngésző biztonsági beállításai korlátozzák a szerkesztő lehetőségeit. Engedélyezni kell ezt az opciót: \"Run ActiveX controls and plug-ins\". Ettől függetlenül előfordulhatnak hibaüzenetek ill. bizonyos funkciók hiányozhatnak.", -BrowseServerBlocked : "Nem lehet megnyitni a fájlböngészőt. Bizonyosodjon meg róla, hogy a felbukkanó ablakok engedélyezve vannak.", -DialogBlocked : "Nem lehet megnyitni a párbeszédablakot. Bizonyosodjon meg róla, hogy a felbukkanó ablakok engedélyezve vannak.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "Rendben", -DlgBtnCancel : "Mégsem", -DlgBtnClose : "Bezárás", -DlgBtnBrowseServer : "Böngészés a szerveren", -DlgAdvancedTag : "További opciók", -DlgOpOther : "Egyéb", -DlgInfoTab : "Alaptulajdonságok", -DlgAlertUrl : "Illessze be a webcímet", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Azonosító", -DlgGenLangDir : "Írás iránya", -DlgGenLangDirLtr : "Balról jobbra", -DlgGenLangDirRtl : "Jobbról balra", -DlgGenLangCode : "Nyelv kódja", -DlgGenAccessKey : "Billentyűkombináció", -DlgGenName : "Név", -DlgGenTabIndex : "Tabulátor index", -DlgGenLongDescr : "Részletes leírás webcíme", -DlgGenClass : "Stíluskészlet", -DlgGenTitle : "Súgócimke", -DlgGenContType : "Súgó tartalomtípusa", -DlgGenLinkCharset : "Hivatkozott tartalom kódlapja", -DlgGenStyle : "Stílus", - -// Image Dialog -DlgImgTitle : "Kép tulajdonságai", -DlgImgInfoTab : "Alaptulajdonságok", -DlgImgBtnUpload : "Küldés a szerverre", -DlgImgURL : "Hivatkozás", -DlgImgUpload : "Feltöltés", -DlgImgAlt : "Buborék szöveg", -DlgImgWidth : "Szélesség", -DlgImgHeight : "Magasság", -DlgImgLockRatio : "Arány megtartása", -DlgBtnResetSize : "Eredeti méret", -DlgImgBorder : "Keret", -DlgImgHSpace : "Vízsz. táv", -DlgImgVSpace : "Függ. táv", -DlgImgAlign : "Igazítás", -DlgImgAlignLeft : "Bal", -DlgImgAlignAbsBottom: "Legaljára", -DlgImgAlignAbsMiddle: "Közepére", -DlgImgAlignBaseline : "Alapvonalhoz", -DlgImgAlignBottom : "Aljára", -DlgImgAlignMiddle : "Középre", -DlgImgAlignRight : "Jobbra", -DlgImgAlignTextTop : "Szöveg tetejére", -DlgImgAlignTop : "Tetejére", -DlgImgPreview : "Előnézet", -DlgImgAlertUrl : "Töltse ki a kép webcímét", -DlgImgLinkTab : "Hivatkozás", - -// Flash Dialog -DlgFlashTitle : "Flash tulajdonságai", -DlgFlashChkPlay : "Automata lejátszás", -DlgFlashChkLoop : "Folyamatosan", -DlgFlashChkMenu : "Flash menü engedélyezése", -DlgFlashScale : "Méretezés", -DlgFlashScaleAll : "Mindent mutat", -DlgFlashScaleNoBorder : "Keret nélkül", -DlgFlashScaleFit : "Teljes kitöltés", - -// Link Dialog -DlgLnkWindowTitle : "Hivatkozás tulajdonságai", -DlgLnkInfoTab : "Alaptulajdonságok", -DlgLnkTargetTab : "Megjelenítés", - -DlgLnkType : "Hivatkozás típusa", -DlgLnkTypeURL : "Webcím", -DlgLnkTypeAnchor : "Horgony az oldalon", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "", -DlgLnkURL : "Webcím", -DlgLnkAnchorSel : "Horgony választása", -DlgLnkAnchorByName : "Horgony név szerint", -DlgLnkAnchorById : "Azonosító szerint", -DlgLnkNoAnchors : "(Nincs horgony a dokumentumban)", -DlgLnkEMail : "E-Mail cím", -DlgLnkEMailSubject : "Üzenet tárgya", -DlgLnkEMailBody : "Üzenet", -DlgLnkUpload : "Feltöltés", -DlgLnkBtnUpload : "Küldés a szerverre", - -DlgLnkTarget : "Tartalom megjelenítése", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Új ablakban (_blank)", -DlgLnkTargetParent : "Szülő ablakban (_parent)", -DlgLnkTargetSelf : "Azonos ablakban (_self)", -DlgLnkTargetTop : "Legfelső ablakban (_top)", -DlgLnkTargetFrameName : "Keret neve", -DlgLnkPopWinName : "Felugró ablak neve", -DlgLnkPopWinFeat : "Felugró ablak jellemzői", -DlgLnkPopResize : "Méretezhető", -DlgLnkPopLocation : "Címsor", -DlgLnkPopMenu : "Menü sor", -DlgLnkPopScroll : "Gördítősáv", -DlgLnkPopStatus : "Állapotsor", -DlgLnkPopToolbar : "Eszköztár", -DlgLnkPopFullScrn : "Teljes képernyő (csak IE)", -DlgLnkPopDependent : "Szülőhöz kapcsolt (csak Netscape)", -DlgLnkPopWidth : "Szélesség", -DlgLnkPopHeight : "Magasság", -DlgLnkPopLeft : "Bal pozíció", -DlgLnkPopTop : "Felső pozíció", - -DlnLnkMsgNoUrl : "Adja meg a hivatkozás webcímét", -DlnLnkMsgNoEMail : "Adja meg az E-Mail címet", -DlnLnkMsgNoAnchor : "Válasszon egy horgonyt", -DlnLnkMsgInvPopName : "A felbukkanó ablak neve alfanumerikus karakterrel kezdôdjön, valamint ne tartalmazzon szóközt", - -// Color Dialog -DlgColorTitle : "Színválasztás", -DlgColorBtnClear : "Törlés", -DlgColorHighlight : "Előnézet", -DlgColorSelected : "Kiválasztott", - -// Smiley Dialog -DlgSmileyTitle : "Hangulatjel beszúrása", - -// Special Character Dialog -DlgSpecialCharTitle : "Speciális karakter választása", - -// Table Dialog -DlgTableTitle : "Táblázat tulajdonságai", -DlgTableRows : "Sorok", -DlgTableColumns : "Oszlopok", -DlgTableBorder : "Szegélyméret", -DlgTableAlign : "Igazítás", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Balra", -DlgTableAlignCenter : "Középre", -DlgTableAlignRight : "Jobbra", -DlgTableWidth : "Szélesség", -DlgTableWidthPx : "képpont", -DlgTableWidthPc : "százalék", -DlgTableHeight : "Magasság", -DlgTableCellSpace : "Cella térköz", -DlgTableCellPad : "Cella belső margó", -DlgTableCaption : "Felirat", -DlgTableSummary : "Leírás", - -// Table Cell Dialog -DlgCellTitle : "Cella tulajdonságai", -DlgCellWidth : "Szélesség", -DlgCellWidthPx : "képpont", -DlgCellWidthPc : "százalék", -DlgCellHeight : "Magasság", -DlgCellWordWrap : "Sortörés", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Igen", -DlgCellWordWrapNo : "Nem", -DlgCellHorAlign : "Vízsz. igazítás", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Balra", -DlgCellHorAlignCenter : "Középre", -DlgCellHorAlignRight: "Jobbra", -DlgCellVerAlign : "Függ. igazítás", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Tetejére", -DlgCellVerAlignMiddle : "Középre", -DlgCellVerAlignBottom : "Aljára", -DlgCellVerAlignBaseline : "Egyvonalba", -DlgCellRowSpan : "Sorok egyesítése", -DlgCellCollSpan : "Oszlopok egyesítése", -DlgCellBackColor : "Háttérszín", -DlgCellBorderColor : "Szegélyszín", -DlgCellBtnSelect : "Kiválasztás...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Keresés és csere", - -// Find Dialog -DlgFindTitle : "Keresés", -DlgFindFindBtn : "Keresés", -DlgFindNotFoundMsg : "A keresett szöveg nem található.", - -// Replace Dialog -DlgReplaceTitle : "Csere", -DlgReplaceFindLbl : "Keresett szöveg:", -DlgReplaceReplaceLbl : "Csere erre:", -DlgReplaceCaseChk : "kis- és nagybetű megkülönböztetése", -DlgReplaceReplaceBtn : "Csere", -DlgReplaceReplAllBtn : "Az összes cseréje", -DlgReplaceWordChk : "csak ha ez a teljes szó", - -// Paste Operations / Dialog -PasteErrorCut : "A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a kivágás műveletet. Használja az alábbi billentyűkombinációt (Ctrl+X).", -PasteErrorCopy : "A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a másolás műveletet. Használja az alábbi billentyűkombinációt (Ctrl+X).", - -PasteAsText : "Beillesztés formázatlan szövegként", -PasteFromWord : "Beillesztés Word-ből", - -DlgPasteMsg2 : "Másolja be az alábbi mezőbe a Ctrl+V billentyűk lenyomásával, majd nyomjon Rendben-t.", -DlgPasteSec : "A böngésző biztonsági beállításai miatt a szerkesztő nem képes hozzáférni a vágólap adataihoz. Illeszd be újra ebben az ablakban.", -DlgPasteIgnoreFont : "Betű formázások megszüntetése", -DlgPasteRemoveStyles : "Stílusok eltávolítása", - -// Color Picker -ColorAutomatic : "Automatikus", -ColorMoreColors : "További színek...", - -// Document Properties -DocProps : "Dokumentum tulajdonságai", - -// Anchor Dialog -DlgAnchorTitle : "Horgony tulajdonságai", -DlgAnchorName : "Horgony neve", -DlgAnchorErrorName : "Kérem adja meg a horgony nevét", - -// Speller Pages Dialog -DlgSpellNotInDic : "Nincs a szótárban", -DlgSpellChangeTo : "Módosítás", -DlgSpellBtnIgnore : "Kihagyja", -DlgSpellBtnIgnoreAll : "Mindet kihagyja", -DlgSpellBtnReplace : "Csere", -DlgSpellBtnReplaceAll : "Összes cseréje", -DlgSpellBtnUndo : "Visszavonás", -DlgSpellNoSuggestions : "Nincs javaslat", -DlgSpellProgress : "Helyesírás-ellenőrzés folyamatban...", -DlgSpellNoMispell : "Helyesírás-ellenőrzés kész: Nem találtam hibát", -DlgSpellNoChanges : "Helyesírás-ellenőrzés kész: Nincs változtatott szó", -DlgSpellOneChange : "Helyesírás-ellenőrzés kész: Egy szó cserélve", -DlgSpellManyChanges : "Helyesírás-ellenőrzés kész: %1 szó cserélve", - -IeSpellDownload : "A helyesírás-ellenőrző nincs telepítve. Szeretné letölteni most?", - -// Button Dialog -DlgButtonText : "Szöveg (Érték)", -DlgButtonType : "Típus", -DlgButtonTypeBtn : "Gomb", -DlgButtonTypeSbm : "Küldés", -DlgButtonTypeRst : "Alaphelyzet", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Név", -DlgCheckboxValue : "Érték", -DlgCheckboxSelected : "Kiválasztott", - -// Form Dialog -DlgFormName : "Név", -DlgFormAction : "Adatfeldolgozást végző hivatkozás", -DlgFormMethod : "Adatküldés módja", - -// Select Field Dialog -DlgSelectName : "Név", -DlgSelectValue : "Érték", -DlgSelectSize : "Méret", -DlgSelectLines : "sor", -DlgSelectChkMulti : "több sor is kiválasztható", -DlgSelectOpAvail : "Elérhető opciók", -DlgSelectOpText : "Szöveg", -DlgSelectOpValue : "Érték", -DlgSelectBtnAdd : "Hozzáad", -DlgSelectBtnModify : "Módosít", -DlgSelectBtnUp : "Fel", -DlgSelectBtnDown : "Le", -DlgSelectBtnSetValue : "Legyen az alapértelmezett érték", -DlgSelectBtnDelete : "Töröl", - -// Textarea Dialog -DlgTextareaName : "Név", -DlgTextareaCols : "Karakterek száma egy sorban", -DlgTextareaRows : "Sorok száma", - -// Text Field Dialog -DlgTextName : "Név", -DlgTextValue : "Érték", -DlgTextCharWidth : "Megjelenített karakterek száma", -DlgTextMaxChars : "Maximális karakterszám", -DlgTextType : "Típus", -DlgTextTypeText : "Szöveg", -DlgTextTypePass : "Jelszó", - -// Hidden Field Dialog -DlgHiddenName : "Név", -DlgHiddenValue : "Érték", - -// Bulleted List Dialog -BulletedListProp : "Felsorolás tulajdonságai", -NumberedListProp : "Számozás tulajdonságai", -DlgLstStart : "Start", -DlgLstType : "Formátum", -DlgLstTypeCircle : "Kör", -DlgLstTypeDisc : "Lemez", -DlgLstTypeSquare : "Négyzet", -DlgLstTypeNumbers : "Számok (1, 2, 3)", -DlgLstTypeLCase : "Kisbetűk (a, b, c)", -DlgLstTypeUCase : "Nagybetűk (A, B, C)", -DlgLstTypeSRoman : "Kis római számok (i, ii, iii)", -DlgLstTypeLRoman : "Nagy római számok (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Általános", -DlgDocBackTab : "Háttér", -DlgDocColorsTab : "Színek és margók", -DlgDocMetaTab : "Meta adatok", - -DlgDocPageTitle : "Oldalcím", -DlgDocLangDir : "Írás iránya", -DlgDocLangDirLTR : "Balról jobbra", -DlgDocLangDirRTL : "Jobbról balra", -DlgDocLangCode : "Nyelv kód", -DlgDocCharSet : "Karakterkódolás", -DlgDocCharSetCE : "Közép-Európai", -DlgDocCharSetCT : "Kínai Tradicionális (Big5)", -DlgDocCharSetCR : "Cyrill", -DlgDocCharSetGR : "Görög", -DlgDocCharSetJP : "Japán", -DlgDocCharSetKR : "Koreai", -DlgDocCharSetTR : "Török", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Nyugat-Európai", -DlgDocCharSetOther : "Más karakterkódolás", - -DlgDocDocType : "Dokumentum típus fejléc", -DlgDocDocTypeOther : "Más dokumentum típus fejléc", -DlgDocIncXHTML : "XHTML deklarációk beillesztése", -DlgDocBgColor : "Háttérszín", -DlgDocBgImage : "Háttérkép cím", -DlgDocBgNoScroll : "Nem gördíthető háttér", -DlgDocCText : "Szöveg", -DlgDocCLink : "Cím", -DlgDocCVisited : "Látogatott cím", -DlgDocCActive : "Aktív cím", -DlgDocMargins : "Oldal margók", -DlgDocMaTop : "Felső", -DlgDocMaLeft : "Bal", -DlgDocMaRight : "Jobb", -DlgDocMaBottom : "Alsó", -DlgDocMeIndex : "Dokumentum keresőszavak (vesszővel elválasztva)", -DlgDocMeDescr : "Dokumentum leírás", -DlgDocMeAuthor : "Szerző", -DlgDocMeCopy : "Szerzői jog", -DlgDocPreview : "Előnézet", - -// Templates Dialog -Templates : "Sablonok", -DlgTemplatesTitle : "Elérhető sablonok", -DlgTemplatesSelMsg : "Válassza ki melyik sablon nyíljon meg a szerkesztőben
    (a jelenlegi tartalom elveszik):", -DlgTemplatesLoading : "Sablon lista betöltése. Kis türelmet...", -DlgTemplatesNoTpl : "(Nincs sablon megadva)", -DlgTemplatesReplace : "Kicseréli a jelenlegi tartalmat", - -// About Dialog -DlgAboutAboutTab : "Névjegy", -DlgAboutBrowserInfoTab : "Böngésző információ", -DlgAboutLicenseTab : "Licensz", -DlgAboutVersion : "verzió", -DlgAboutInfo : "További információkért látogasson el ide:", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/it.js b/modules/editor/skins/fckeditor/editor/lang/it.js deleted file mode 100644 index 8b59211c4..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/it.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Italian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Nascondi la barra degli strumenti", -ToolbarExpand : "Mostra la barra degli strumenti", - -// Toolbar Items and Context Menu -Save : "Salva", -NewPage : "Nuova pagina vuota", -Preview : "Anteprima", -Cut : "Taglia", -Copy : "Copia", -Paste : "Incolla", -PasteText : "Incolla come testo semplice", -PasteWord : "Incolla da Word", -Print : "Stampa", -SelectAll : "Seleziona tutto", -RemoveFormat : "Elimina formattazione", -InsertLinkLbl : "Collegamento", -InsertLink : "Inserisci/Modifica collegamento", -RemoveLink : "Elimina collegamento", -VisitLink : "Open Link", //MISSING -Anchor : "Inserisci/Modifica Ancora", -AnchorDelete : "Rimuovi Ancora", -InsertImageLbl : "Immagine", -InsertImage : "Inserisci/Modifica immagine", -InsertFlashLbl : "Oggetto Flash", -InsertFlash : "Inserisci/Modifica Oggetto Flash", -InsertTableLbl : "Tabella", -InsertTable : "Inserisci/Modifica tabella", -InsertLineLbl : "Riga orizzontale", -InsertLine : "Inserisci riga orizzontale", -InsertSpecialCharLbl: "Caratteri speciali", -InsertSpecialChar : "Inserisci carattere speciale", -InsertSmileyLbl : "Emoticon", -InsertSmiley : "Inserisci emoticon", -About : "Informazioni su FCKeditor", -Bold : "Grassetto", -Italic : "Corsivo", -Underline : "Sottolineato", -StrikeThrough : "Barrato", -Subscript : "Pedice", -Superscript : "Apice", -LeftJustify : "Allinea a sinistra", -CenterJustify : "Centra", -RightJustify : "Allinea a destra", -BlockJustify : "Giustifica", -DecreaseIndent : "Riduci rientro", -IncreaseIndent : "Aumenta rientro", -Blockquote : "Blockquote", //MISSING -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "Annulla", -Redo : "Ripristina", -NumberedListLbl : "Elenco numerato", -NumberedList : "Inserisci/Modifica elenco numerato", -BulletedListLbl : "Elenco puntato", -BulletedList : "Inserisci/Modifica elenco puntato", -ShowTableBorders : "Mostra bordi tabelle", -ShowDetails : "Mostra dettagli", -Style : "Stile", -FontFormat : "Formato", -Font : "Font", -FontSize : "Dimensione", -TextColor : "Colore testo", -BGColor : "Colore sfondo", -Source : "Codice Sorgente", -Find : "Trova", -Replace : "Sostituisci", -SpellCheck : "Correttore ortografico", -UniversalKeyboard : "Tastiera universale", -PageBreakLbl : "Interruzione di pagina", -PageBreak : "Inserisci interruzione di pagina", - -Form : "Modulo", -Checkbox : "Checkbox", -RadioButton : "Radio Button", -TextField : "Campo di testo", -Textarea : "Area di testo", -HiddenField : "Campo nascosto", -Button : "Bottone", -SelectionField : "Menu di selezione", -ImageButton : "Bottone immagine", - -FitWindow : "Massimizza l'area dell'editor", -ShowBlocks : "Visualizza Blocchi", - -// Context Menu -EditLink : "Modifica collegamento", -CellCM : "Cella", -RowCM : "Riga", -ColumnCM : "Colonna", -InsertRowAfter : "Inserisci Riga Dopo", -InsertRowBefore : "Inserisci Riga Prima", -DeleteRows : "Elimina righe", -InsertColumnAfter : "Inserisci Colonna Dopo", -InsertColumnBefore : "Inserisci Colonna Prima", -DeleteColumns : "Elimina colonne", -InsertCellAfter : "Inserisci Cella Dopo", -InsertCellBefore : "Inserisci Cella Prima", -DeleteCells : "Elimina celle", -MergeCells : "Unisce celle", -MergeRight : "Unisci a Destra", -MergeDown : "Unisci in Basso", -HorizontalSplitCell : "Dividi Cella Orizzontalmente", -VerticalSplitCell : "Dividi Cella Verticalmente", -TableDelete : "Cancella Tabella", -CellProperties : "Proprietà cella", -TableProperties : "Proprietà tabella", -ImageProperties : "Proprietà immagine", -FlashProperties : "Proprietà Oggetto Flash", - -AnchorProp : "Proprietà ancora", -ButtonProp : "Proprietà bottone", -CheckboxProp : "Proprietà checkbox", -HiddenFieldProp : "Proprietà campo nascosto", -RadioButtonProp : "Proprietà radio button", -ImageButtonProp : "Proprietà bottone immagine", -TextFieldProp : "Proprietà campo di testo", -SelectionFieldProp : "Proprietà menu di selezione", -TextareaProp : "Proprietà area di testo", -FormProp : "Proprietà modulo", - -FontFormats : "Normale;Formattato;Indirizzo;Titolo 1;Titolo 2;Titolo 3;Titolo 4;Titolo 5;Titolo 6;Paragrafo (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Elaborazione XHTML in corso. Attendere prego...", -Done : "Completato", -PasteWordConfirm : "Il testo da incollare sembra provenire da Word. Desideri pulirlo prima di incollare?", -NotCompatiblePaste : "Questa funzione è disponibile solo per Internet Explorer 5.5 o superiore. Desideri incollare il testo senza pulirlo?", -UnknownToolbarItem : "Elemento della barra strumenti sconosciuto \"%1\"", -UnknownCommand : "Comando sconosciuto \"%1\"", -NotImplemented : "Comando non implementato", -UnknownToolbarSet : "La barra di strumenti \"%1\" non esiste", -NoActiveX : "Le impostazioni di sicurezza del tuo browser potrebbero limitare alcune funzionalità dell'editor. Devi abilitare l'opzione \"Esegui controlli e plug-in ActiveX\". Potresti avere errori e notare funzionalità mancanti.", -BrowseServerBlocked : "Non è possibile aprire la finestra di espolorazione risorse. Verifica che tutti i blocca popup siano bloccati.", -DialogBlocked : "Non è possibile aprire la finestra di dialogo. Verifica che tutti i blocca popup siano bloccati.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Annulla", -DlgBtnClose : "Chiudi", -DlgBtnBrowseServer : "Cerca sul server", -DlgAdvancedTag : "Avanzate", -DlgOpOther : "", -DlgInfoTab : "Info", -DlgAlertUrl : "Devi inserire l'URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Direzione scrittura", -DlgGenLangDirLtr : "Da Sinistra a Destra (LTR)", -DlgGenLangDirRtl : "Da Destra a Sinistra (RTL)", -DlgGenLangCode : "Codice Lingua", -DlgGenAccessKey : "Scorciatoia
    da tastiera", -DlgGenName : "Nome", -DlgGenTabIndex : "Ordine di tabulazione", -DlgGenLongDescr : "URL descrizione estesa", -DlgGenClass : "Nome classe CSS", -DlgGenTitle : "Titolo", -DlgGenContType : "Tipo della risorsa collegata", -DlgGenLinkCharset : "Set di caretteri della risorsa collegata", -DlgGenStyle : "Stile", - -// Image Dialog -DlgImgTitle : "Proprietà immagine", -DlgImgInfoTab : "Informazioni immagine", -DlgImgBtnUpload : "Invia al server", -DlgImgURL : "URL", -DlgImgUpload : "Carica", -DlgImgAlt : "Testo alternativo", -DlgImgWidth : "Larghezza", -DlgImgHeight : "Altezza", -DlgImgLockRatio : "Blocca rapporto", -DlgBtnResetSize : "Reimposta dimensione", -DlgImgBorder : "Bordo", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Allineamento", -DlgImgAlignLeft : "Sinistra", -DlgImgAlignAbsBottom: "In basso assoluto", -DlgImgAlignAbsMiddle: "Centrato assoluto", -DlgImgAlignBaseline : "Linea base", -DlgImgAlignBottom : "In Basso", -DlgImgAlignMiddle : "Centrato", -DlgImgAlignRight : "Destra", -DlgImgAlignTextTop : "In alto al testo", -DlgImgAlignTop : "In Alto", -DlgImgPreview : "Anteprima", -DlgImgAlertUrl : "Devi inserire l'URL per l'immagine", -DlgImgLinkTab : "Collegamento", - -// Flash Dialog -DlgFlashTitle : "Proprietà Oggetto Flash", -DlgFlashChkPlay : "Avvio Automatico", -DlgFlashChkLoop : "Cicla", -DlgFlashChkMenu : "Abilita Menu di Flash", -DlgFlashScale : "Ridimensiona", -DlgFlashScaleAll : "Mostra Tutto", -DlgFlashScaleNoBorder : "Senza Bordo", -DlgFlashScaleFit : "Dimensione Esatta", - -// Link Dialog -DlgLnkWindowTitle : "Collegamento", -DlgLnkInfoTab : "Informazioni collegamento", -DlgLnkTargetTab : "Destinazione", - -DlgLnkType : "Tipo di Collegamento", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Ancora nella pagina", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocollo", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Scegli Ancora", -DlgLnkAnchorByName : "Per Nome", -DlgLnkAnchorById : "Per id elemento", -DlgLnkNoAnchors : "(Nessuna ancora disponibile nel documento)", -DlgLnkEMail : "Indirizzo E-Mail", -DlgLnkEMailSubject : "Oggetto del messaggio", -DlgLnkEMailBody : "Corpo del messaggio", -DlgLnkUpload : "Carica", -DlgLnkBtnUpload : "Invia al Server", - -DlgLnkTarget : "Destinazione", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Nuova finestra (_blank)", -DlgLnkTargetParent : "Finestra padre (_parent)", -DlgLnkTargetSelf : "Stessa finestra (_self)", -DlgLnkTargetTop : "Finestra superiore (_top)", -DlgLnkTargetFrameName : "Nome del riquadro di destinazione", -DlgLnkPopWinName : "Nome finestra popup", -DlgLnkPopWinFeat : "Caratteristiche finestra popup", -DlgLnkPopResize : "Ridimensionabile", -DlgLnkPopLocation : "Barra degli indirizzi", -DlgLnkPopMenu : "Barra del menu", -DlgLnkPopScroll : "Barre di scorrimento", -DlgLnkPopStatus : "Barra di stato", -DlgLnkPopToolbar : "Barra degli strumenti", -DlgLnkPopFullScrn : "A tutto schermo (IE)", -DlgLnkPopDependent : "Dipendente (Netscape)", -DlgLnkPopWidth : "Larghezza", -DlgLnkPopHeight : "Altezza", -DlgLnkPopLeft : "Posizione da sinistra", -DlgLnkPopTop : "Posizione dall'alto", - -DlnLnkMsgNoUrl : "Devi inserire l'URL del collegamento", -DlnLnkMsgNoEMail : "Devi inserire un'indirizzo e-mail", -DlnLnkMsgNoAnchor : "Devi selezionare un'ancora", -DlnLnkMsgInvPopName : "Il nome del popup deve iniziare con una lettera, e non può contenere spazi", - -// Color Dialog -DlgColorTitle : "Seleziona colore", -DlgColorBtnClear : "Vuota", -DlgColorHighlight : "Evidenziato", -DlgColorSelected : "Selezionato", - -// Smiley Dialog -DlgSmileyTitle : "Inserisci emoticon", - -// Special Character Dialog -DlgSpecialCharTitle : "Seleziona carattere speciale", - -// Table Dialog -DlgTableTitle : "Proprietà tabella", -DlgTableRows : "Righe", -DlgTableColumns : "Colonne", -DlgTableBorder : "Dimensione bordo", -DlgTableAlign : "Allineamento", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Sinistra", -DlgTableAlignCenter : "Centrato", -DlgTableAlignRight : "Destra", -DlgTableWidth : "Larghezza", -DlgTableWidthPx : "pixel", -DlgTableWidthPc : "percento", -DlgTableHeight : "Altezza", -DlgTableCellSpace : "Spaziatura celle", -DlgTableCellPad : "Padding celle", -DlgTableCaption : "Intestazione", -DlgTableSummary : "Indice", - -// Table Cell Dialog -DlgCellTitle : "Proprietà cella", -DlgCellWidth : "Larghezza", -DlgCellWidthPx : "pixel", -DlgCellWidthPc : "percento", -DlgCellHeight : "Altezza", -DlgCellWordWrap : "A capo automatico", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Si", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Allineamento orizzontale", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Sinistra", -DlgCellHorAlignCenter : "Centrato", -DlgCellHorAlignRight: "Destra", -DlgCellVerAlign : "Allineamento verticale", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "In Alto", -DlgCellVerAlignMiddle : "Centrato", -DlgCellVerAlignBottom : "In Basso", -DlgCellVerAlignBaseline : "Linea base", -DlgCellRowSpan : "Righe occupate", -DlgCellCollSpan : "Colonne occupate", -DlgCellBackColor : "Colore sfondo", -DlgCellBorderColor : "Colore bordo", -DlgCellBtnSelect : "Scegli...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Cerca e Sostituisci", - -// Find Dialog -DlgFindTitle : "Trova", -DlgFindFindBtn : "Trova", -DlgFindNotFoundMsg : "L'elemento cercato non è stato trovato.", - -// Replace Dialog -DlgReplaceTitle : "Sostituisci", -DlgReplaceFindLbl : "Trova:", -DlgReplaceReplaceLbl : "Sostituisci con:", -DlgReplaceCaseChk : "Maiuscole/minuscole", -DlgReplaceReplaceBtn : "Sostituisci", -DlgReplaceReplAllBtn : "Sostituisci tutto", -DlgReplaceWordChk : "Solo parole intere", - -// Paste Operations / Dialog -PasteErrorCut : "Le impostazioni di sicurezza del browser non permettono di tagliare automaticamente il testo. Usa la tastiera (Ctrl+X).", -PasteErrorCopy : "Le impostazioni di sicurezza del browser non permettono di copiare automaticamente il testo. Usa la tastiera (Ctrl+C).", - -PasteAsText : "Incolla come testo semplice", -PasteFromWord : "Incolla da Word", - -DlgPasteMsg2 : "Incolla il testo all'interno dell'area sottostante usando la scorciatoia di tastiere (Ctrl+V) e premi OK.", -DlgPasteSec : "A causa delle impostazioni di sicurezza del browser,l'editor non è in grado di accedere direttamente agli appunti. E' pertanto necessario incollarli di nuovo in questa finestra.", -DlgPasteIgnoreFont : "Ignora le definizioni di Font", -DlgPasteRemoveStyles : "Rimuovi le definizioni di Stile", - -// Color Picker -ColorAutomatic : "Automatico", -ColorMoreColors : "Altri colori...", - -// Document Properties -DocProps : "Proprietà del Documento", - -// Anchor Dialog -DlgAnchorTitle : "Proprietà ancora", -DlgAnchorName : "Nome ancora", -DlgAnchorErrorName : "Inserici il nome dell'ancora", - -// Speller Pages Dialog -DlgSpellNotInDic : "Non nel dizionario", -DlgSpellChangeTo : "Cambia in", -DlgSpellBtnIgnore : "Ignora", -DlgSpellBtnIgnoreAll : "Ignora tutto", -DlgSpellBtnReplace : "Cambia", -DlgSpellBtnReplaceAll : "Cambia tutto", -DlgSpellBtnUndo : "Annulla", -DlgSpellNoSuggestions : "- Nessun suggerimento -", -DlgSpellProgress : "Controllo ortografico in corso", -DlgSpellNoMispell : "Controllo ortografico completato: nessun errore trovato", -DlgSpellNoChanges : "Controllo ortografico completato: nessuna parola cambiata", -DlgSpellOneChange : "Controllo ortografico completato: 1 parola cambiata", -DlgSpellManyChanges : "Controllo ortografico completato: %1 parole cambiate", - -IeSpellDownload : "Contollo ortografico non installato. Lo vuoi scaricare ora?", - -// Button Dialog -DlgButtonText : "Testo (Value)", -DlgButtonType : "Tipo", -DlgButtonTypeBtn : "Bottone", -DlgButtonTypeSbm : "Invio", -DlgButtonTypeRst : "Annulla", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nome", -DlgCheckboxValue : "Valore", -DlgCheckboxSelected : "Selezionato", - -// Form Dialog -DlgFormName : "Nome", -DlgFormAction : "Azione", -DlgFormMethod : "Metodo", - -// Select Field Dialog -DlgSelectName : "Nome", -DlgSelectValue : "Valore", -DlgSelectSize : "Dimensione", -DlgSelectLines : "righe", -DlgSelectChkMulti : "Permetti selezione multipla", -DlgSelectOpAvail : "Opzioni disponibili", -DlgSelectOpText : "Testo", -DlgSelectOpValue : "Valore", -DlgSelectBtnAdd : "Aggiungi", -DlgSelectBtnModify : "Modifica", -DlgSelectBtnUp : "Su", -DlgSelectBtnDown : "Gi", -DlgSelectBtnSetValue : "Imposta come predefinito", -DlgSelectBtnDelete : "Rimuovi", - -// Textarea Dialog -DlgTextareaName : "Nome", -DlgTextareaCols : "Colonne", -DlgTextareaRows : "Righe", - -// Text Field Dialog -DlgTextName : "Nome", -DlgTextValue : "Valore", -DlgTextCharWidth : "Larghezza", -DlgTextMaxChars : "Numero massimo di caratteri", -DlgTextType : "Tipo", -DlgTextTypeText : "Testo", -DlgTextTypePass : "Password", - -// Hidden Field Dialog -DlgHiddenName : "Nome", -DlgHiddenValue : "Valore", - -// Bulleted List Dialog -BulletedListProp : "Proprietà lista puntata", -NumberedListProp : "Proprietà lista numerata", -DlgLstStart : "Inizio", -DlgLstType : "Tipo", -DlgLstTypeCircle : "Tondo", -DlgLstTypeDisc : "Disco", -DlgLstTypeSquare : "Quadrato", -DlgLstTypeNumbers : "Numeri (1, 2, 3)", -DlgLstTypeLCase : "Caratteri minuscoli (a, b, c)", -DlgLstTypeUCase : "Caratteri maiuscoli (A, B, C)", -DlgLstTypeSRoman : "Numeri Romani minuscoli (i, ii, iii)", -DlgLstTypeLRoman : "Numeri Romani maiuscoli (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Genarale", -DlgDocBackTab : "Sfondo", -DlgDocColorsTab : "Colori e margini", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Titolo pagina", -DlgDocLangDir : "Direzione scrittura", -DlgDocLangDirLTR : "Da Sinistra a Destra (LTR)", -DlgDocLangDirRTL : "Da Destra a Sinistra (RTL)", -DlgDocLangCode : "Codice Lingua", -DlgDocCharSet : "Set di caretteri", -DlgDocCharSetCE : "Europa Centrale", -DlgDocCharSetCT : "Cinese Tradizionale (Big5)", -DlgDocCharSetCR : "Cirillico", -DlgDocCharSetGR : "Greco", -DlgDocCharSetJP : "Giapponese", -DlgDocCharSetKR : "Coreano", -DlgDocCharSetTR : "Turco", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Europa Occidentale", -DlgDocCharSetOther : "Altro set di caretteri", - -DlgDocDocType : "Intestazione DocType", -DlgDocDocTypeOther : "Altra intestazione DocType", -DlgDocIncXHTML : "Includi dichiarazione XHTML", -DlgDocBgColor : "Colore di sfondo", -DlgDocBgImage : "Immagine di sfondo", -DlgDocBgNoScroll : "Sfondo fissato", -DlgDocCText : "Testo", -DlgDocCLink : "Collegamento", -DlgDocCVisited : "Collegamento visitato", -DlgDocCActive : "Collegamento attivo", -DlgDocMargins : "Margini", -DlgDocMaTop : "In Alto", -DlgDocMaLeft : "A Sinistra", -DlgDocMaRight : "A Destra", -DlgDocMaBottom : "In Basso", -DlgDocMeIndex : "Chiavi di indicizzazione documento (separate da virgola)", -DlgDocMeDescr : "Descrizione documento", -DlgDocMeAuthor : "Autore", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Anteprima", - -// Templates Dialog -Templates : "Modelli", -DlgTemplatesTitle : "Contenuto dei modelli", -DlgTemplatesSelMsg : "Seleziona il modello da aprire nell'editor
    (il contenuto attuale verrà eliminato):", -DlgTemplatesLoading : "Caricamento modelli in corso. Attendere prego...", -DlgTemplatesNoTpl : "(Nessun modello definito)", -DlgTemplatesReplace : "Cancella il contenuto corrente", - -// About Dialog -DlgAboutAboutTab : "Informazioni", -DlgAboutBrowserInfoTab : "Informazioni Browser", -DlgAboutLicenseTab : "Licenza", -DlgAboutVersion : "versione", -DlgAboutInfo : "Per maggiori informazioni visitare", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/ja.js b/modules/editor/skins/fckeditor/editor/lang/ja.js deleted file mode 100644 index b8ecabe50..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/ja.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Japanese language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "ツールバーを隠す", -ToolbarExpand : "ツールバーを表示", - -// Toolbar Items and Context Menu -Save : "保存", -NewPage : "新しいページ", -Preview : "プレビュー", -Cut : "切り取り", -Copy : "コピー", -Paste : "貼り付け", -PasteText : "プレーンテキスト貼り付け", -PasteWord : "ワード文章から貼り付け", -Print : "印刷", -SelectAll : "すべて選択", -RemoveFormat : "フォーマット削除", -InsertLinkLbl : "リンク", -InsertLink : "リンク挿入/編集", -RemoveLink : "リンク削除", -VisitLink : "リンクを開く", -Anchor : "アンカー挿入/編集", -AnchorDelete : "アンカー削除", -InsertImageLbl : "イメージ", -InsertImage : "イメージ挿入/編集", -InsertFlashLbl : "Flash", -InsertFlash : "Flash挿入/編集", -InsertTableLbl : "テーブル", -InsertTable : "テーブル挿入/編集", -InsertLineLbl : "ライン", -InsertLine : "横罫線", -InsertSpecialCharLbl: "特殊文字", -InsertSpecialChar : "特殊文字挿入", -InsertSmileyLbl : "絵文字", -InsertSmiley : "絵文字挿入", -About : "FCKeditorヘルプ", -Bold : "太字", -Italic : "斜体", -Underline : "下線", -StrikeThrough : "打ち消し線", -Subscript : "添え字", -Superscript : "上付き文字", -LeftJustify : "左揃え", -CenterJustify : "中央揃え", -RightJustify : "右揃え", -BlockJustify : "両端揃え", -DecreaseIndent : "インデント解除", -IncreaseIndent : "インデント", -Blockquote : "ブロック引用", -CreateDiv : "Div 作成", -EditDiv : "Div 編集", -DeleteDiv : "Div 削除", -Undo : "元に戻す", -Redo : "やり直し", -NumberedListLbl : "段落番号", -NumberedList : "段落番号の追加/削除", -BulletedListLbl : "箇条書き", -BulletedList : "箇条書きの追加/削除", -ShowTableBorders : "テーブルボーダー表示", -ShowDetails : "詳細表示", -Style : "スタイル", -FontFormat : "フォーマット", -Font : "フォント", -FontSize : "サイズ", -TextColor : "テキスト色", -BGColor : "背景色", -Source : "ソース", -Find : "検索", -Replace : "置き換え", -SpellCheck : "スペルチェック", -UniversalKeyboard : "ユニバーサル・キーボード", -PageBreakLbl : "改ページ", -PageBreak : "改ページ挿入", - -Form : "フォーム", -Checkbox : "チェックボックス", -RadioButton : "ラジオボタン", -TextField : "1行テキスト", -Textarea : "テキストエリア", -HiddenField : "不可視フィールド", -Button : "ボタン", -SelectionField : "選択フィールド", -ImageButton : "画像ボタン", - -FitWindow : "エディタサイズを最大にします", -ShowBlocks : "ブロック表示", - -// Context Menu -EditLink : "リンク編集", -CellCM : "セル", -RowCM : "行", -ColumnCM : "カラム", -InsertRowAfter : "列の後に挿入", -InsertRowBefore : "列の前に挿入", -DeleteRows : "行削除", -InsertColumnAfter : "カラムの後に挿入", -InsertColumnBefore : "カラムの前に挿入", -DeleteColumns : "列削除", -InsertCellAfter : "セルの後に挿入", -InsertCellBefore : "セルの前に挿入", -DeleteCells : "セル削除", -MergeCells : "セル結合", -MergeRight : "右に結合", -MergeDown : "下に結合", -HorizontalSplitCell : "セルを水平方向分割", -VerticalSplitCell : "セルを垂直方向に分割", -TableDelete : "テーブル削除", -CellProperties : "セル プロパティ", -TableProperties : "テーブル プロパティ", -ImageProperties : "イメージ プロパティ", -FlashProperties : "Flash プロパティ", - -AnchorProp : "アンカー プロパティ", -ButtonProp : "ボタン プロパティ", -CheckboxProp : "チェックボックス プロパティ", -HiddenFieldProp : "不可視フィールド プロパティ", -RadioButtonProp : "ラジオボタン プロパティ", -ImageButtonProp : "画像ボタン プロパティ", -TextFieldProp : "1行テキスト プロパティ", -SelectionFieldProp : "選択フィールド プロパティ", -TextareaProp : "テキストエリア プロパティ", -FormProp : "フォーム プロパティ", - -FontFormats : "標準;書式付き;アドレス;見出し 1;見出し 2;見出し 3;見出し 4;見出し 5;見出し 6;標準 (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML処理中. しばらくお待ち下さい...", -Done : "完了", -PasteWordConfirm : "貼り付けを行うテキストは、ワード文章からコピーされようとしています。貼り付ける前にクリーニングを行いますか?", -NotCompatiblePaste : "このコマンドはインターネット・エクスプローラーバージョン5.5以上で利用可能です。クリーニングしないで貼り付けを行いますか?", -UnknownToolbarItem : "未知のツールバー項目 \"%1\"", -UnknownCommand : "未知のコマンド名 \"%1\"", -NotImplemented : "コマンドはインプリメントされませんでした。", -UnknownToolbarSet : "ツールバー設定 \"%1\" 存在しません。", -NoActiveX : "エラー、警告メッセージなどが発生した場合、ブラウザーのセキュリティ設定によりエディタのいくつかの機能が制限されている可能性があります。セキュリティ設定のオプションで\"ActiveXコントロールとプラグインの実行\"を有効にするにして下さい。", -BrowseServerBlocked : "サーバーブラウザーを開くことが出来ませんでした。ポップアップ・ブロック機能が無効になっているか確認して下さい。", -DialogBlocked : "ダイアログウィンドウを開くことが出来ませんでした。ポップアップ・ブロック機能が無効になっているか確認して下さい。", -VisitLinkBlocked : "新しいウィンドウを開くことが出来ませんでした。ポップアップ・ブロック機能が無効になっているか確認して下さい。", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "キャンセル", -DlgBtnClose : "閉じる", -DlgBtnBrowseServer : "サーバーブラウザー", -DlgAdvancedTag : "高度な設定", -DlgOpOther : "<その他>", -DlgInfoTab : "情報", -DlgAlertUrl : "URLを挿入して下さい", - -// General Dialogs Labels -DlgGenNotSet : "<なし>", -DlgGenId : "Id", -DlgGenLangDir : "文字表記の方向", -DlgGenLangDirLtr : "左から右 (LTR)", -DlgGenLangDirRtl : "右から左 (RTL)", -DlgGenLangCode : "言語コード", -DlgGenAccessKey : "アクセスキー", -DlgGenName : "Name属性", -DlgGenTabIndex : "タブインデックス", -DlgGenLongDescr : "longdesc属性(長文説明)", -DlgGenClass : "スタイルシートクラス", -DlgGenTitle : "Title属性", -DlgGenContType : "Content Type属性", -DlgGenLinkCharset : "リンクcharset属性", -DlgGenStyle : "スタイルシート", - -// Image Dialog -DlgImgTitle : "イメージ プロパティ", -DlgImgInfoTab : "イメージ 情報", -DlgImgBtnUpload : "サーバーに送信", -DlgImgURL : "URL", -DlgImgUpload : "アップロード", -DlgImgAlt : "代替テキスト", -DlgImgWidth : "幅", -DlgImgHeight : "高さ", -DlgImgLockRatio : "ロック比率", -DlgBtnResetSize : "サイズリセット", -DlgImgBorder : "ボーダー", -DlgImgHSpace : "横間隔", -DlgImgVSpace : "縦間隔", -DlgImgAlign : "行揃え", -DlgImgAlignLeft : "左", -DlgImgAlignAbsBottom: "下部(絶対的)", -DlgImgAlignAbsMiddle: "中央(絶対的)", -DlgImgAlignBaseline : "ベースライン", -DlgImgAlignBottom : "下", -DlgImgAlignMiddle : "中央", -DlgImgAlignRight : "右", -DlgImgAlignTextTop : "テキスト上部", -DlgImgAlignTop : "上", -DlgImgPreview : "プレビュー", -DlgImgAlertUrl : "イメージのURLを入力して下さい。", -DlgImgLinkTab : "リンク", - -// Flash Dialog -DlgFlashTitle : "Flash プロパティ", -DlgFlashChkPlay : "再生", -DlgFlashChkLoop : "ループ再生", -DlgFlashChkMenu : "Flashメニュー可能", -DlgFlashScale : "拡大縮小設定", -DlgFlashScaleAll : "すべて表示", -DlgFlashScaleNoBorder : "外が見えない様に拡大", -DlgFlashScaleFit : "上下左右にフィット", - -// Link Dialog -DlgLnkWindowTitle : "ハイパーリンク", -DlgLnkInfoTab : "ハイパーリンク 情報", -DlgLnkTargetTab : "ターゲット", - -DlgLnkType : "リンクタイプ", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "このページのアンカー", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "プロトコル", -DlgLnkProtoOther : "<その他>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "アンカーを選択", -DlgLnkAnchorByName : "アンカー名", -DlgLnkAnchorById : "エレメントID", -DlgLnkNoAnchors : "(ドキュメントにおいて利用可能なアンカーはありません。)", -DlgLnkEMail : "E-Mail アドレス", -DlgLnkEMailSubject : "件名", -DlgLnkEMailBody : "本文", -DlgLnkUpload : "アップロード", -DlgLnkBtnUpload : "サーバーに送信", - -DlgLnkTarget : "ターゲット", -DlgLnkTargetFrame : "<フレーム>", -DlgLnkTargetPopup : "<ポップアップウィンドウ>", -DlgLnkTargetBlank : "新しいウィンドウ (_blank)", -DlgLnkTargetParent : "親ウィンドウ (_parent)", -DlgLnkTargetSelf : "同じウィンドウ (_self)", -DlgLnkTargetTop : "最上位ウィンドウ (_top)", -DlgLnkTargetFrameName : "目的のフレーム名", -DlgLnkPopWinName : "ポップアップウィンドウ名", -DlgLnkPopWinFeat : "ポップアップウィンドウ特徴", -DlgLnkPopResize : "リサイズ可能", -DlgLnkPopLocation : "ロケーションバー", -DlgLnkPopMenu : "メニューバー", -DlgLnkPopScroll : "スクロールバー", -DlgLnkPopStatus : "ステータスバー", -DlgLnkPopToolbar : "ツールバー", -DlgLnkPopFullScrn : "全画面モード(IE)", -DlgLnkPopDependent : "開いたウィンドウに連動して閉じる (Netscape)", -DlgLnkPopWidth : "幅", -DlgLnkPopHeight : "高さ", -DlgLnkPopLeft : "左端からの座標で指定", -DlgLnkPopTop : "上端からの座標で指定", - -DlnLnkMsgNoUrl : "リンクURLを入力して下さい。", -DlnLnkMsgNoEMail : "メールアドレスを入力して下さい。", -DlnLnkMsgNoAnchor : "アンカーを選択して下さい。", -DlnLnkMsgInvPopName : "ポップ・アップ名は英字で始まる文字で指定してくだい。ポップ・アップ名にスペースは含めません", - -// Color Dialog -DlgColorTitle : "色選択", -DlgColorBtnClear : "クリア", -DlgColorHighlight : "ハイライト", -DlgColorSelected : "選択色", - -// Smiley Dialog -DlgSmileyTitle : "顔文字挿入", - -// Special Character Dialog -DlgSpecialCharTitle : "特殊文字選択", - -// Table Dialog -DlgTableTitle : "テーブル プロパティ", -DlgTableRows : "行", -DlgTableColumns : "列", -DlgTableBorder : "ボーダーサイズ", -DlgTableAlign : "キャプションの整列", -DlgTableAlignNotSet : "<なし>", -DlgTableAlignLeft : "左", -DlgTableAlignCenter : "中央", -DlgTableAlignRight : "右", -DlgTableWidth : "テーブル幅", -DlgTableWidthPx : "ピクセル", -DlgTableWidthPc : "パーセント", -DlgTableHeight : "テーブル高さ", -DlgTableCellSpace : "セル内余白", -DlgTableCellPad : "セル内間隔", -DlgTableCaption : "キャプション", -DlgTableSummary : "テーブル目的/構造", - -// Table Cell Dialog -DlgCellTitle : "セル プロパティ", -DlgCellWidth : "幅", -DlgCellWidthPx : "ピクセル", -DlgCellWidthPc : "パーセント", -DlgCellHeight : "高さ", -DlgCellWordWrap : "折り返し", -DlgCellWordWrapNotSet : "<なし>", -DlgCellWordWrapYes : "Yes", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "セル横の整列", -DlgCellHorAlignNotSet : "<なし>", -DlgCellHorAlignLeft : "左", -DlgCellHorAlignCenter : "中央", -DlgCellHorAlignRight: "右", -DlgCellVerAlign : "セル縦の整列", -DlgCellVerAlignNotSet : "<なし>", -DlgCellVerAlignTop : "上", -DlgCellVerAlignMiddle : "中央", -DlgCellVerAlignBottom : "下", -DlgCellVerAlignBaseline : "ベースライン", -DlgCellRowSpan : "縦幅(行数)", -DlgCellCollSpan : "横幅(列数)", -DlgCellBackColor : "背景色", -DlgCellBorderColor : "ボーダーカラー", -DlgCellBtnSelect : "選択...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "検索して置換", - -// Find Dialog -DlgFindTitle : "検索", -DlgFindFindBtn : "検索", -DlgFindNotFoundMsg : "指定された文字列は見つかりませんでした。", - -// Replace Dialog -DlgReplaceTitle : "置き換え", -DlgReplaceFindLbl : "検索する文字列:", -DlgReplaceReplaceLbl : "置換えする文字列:", -DlgReplaceCaseChk : "部分一致", -DlgReplaceReplaceBtn : "置換え", -DlgReplaceReplAllBtn : "すべて置換え", -DlgReplaceWordChk : "単語単位で一致", - -// Paste Operations / Dialog -PasteErrorCut : "ブラウザーのセキュリティ設定によりエディタの切り取り操作が自動で実行することが出来ません。実行するには手動でキーボードの(Ctrl+X)を使用して下さい。", -PasteErrorCopy : "ブラウザーのセキュリティ設定によりエディタのコピー操作が自動で実行することが出来ません。実行するには手動でキーボードの(Ctrl+C)を使用して下さい。", - -PasteAsText : "プレーンテキスト貼り付け", -PasteFromWord : "ワード文章から貼り付け", - -DlgPasteMsg2 : "キーボード(Ctrl+V)を使用して、次の入力エリア内で貼って、OKを押して下さい。", -DlgPasteSec : "ブラウザのセキュリティ設定により、エディタはクリップボード・データに直接アクセスすることが出来ません。このウィンドウは貼り付け操作を行う度に表示されます。", -DlgPasteIgnoreFont : "FontタグのFace属性を無視します。", -DlgPasteRemoveStyles : "スタイル定義を削除します。", - -// Color Picker -ColorAutomatic : "自動", -ColorMoreColors : "その他の色...", - -// Document Properties -DocProps : "文書 プロパティ", - -// Anchor Dialog -DlgAnchorTitle : "アンカー プロパティ", -DlgAnchorName : "アンカー名", -DlgAnchorErrorName : "アンカー名を必ず入力して下さい。", - -// Speller Pages Dialog -DlgSpellNotInDic : "辞書にありません", -DlgSpellChangeTo : "変更", -DlgSpellBtnIgnore : "無視", -DlgSpellBtnIgnoreAll : "すべて無視", -DlgSpellBtnReplace : "置換", -DlgSpellBtnReplaceAll : "すべて置換", -DlgSpellBtnUndo : "やり直し", -DlgSpellNoSuggestions : "- 該当なし -", -DlgSpellProgress : "スペルチェック処理中...", -DlgSpellNoMispell : "スペルチェック完了: スペルの誤りはありませんでした", -DlgSpellNoChanges : "スペルチェック完了: 語句は変更されませんでした", -DlgSpellOneChange : "スペルチェック完了: 1語句変更されました", -DlgSpellManyChanges : "スペルチェック完了: %1 語句変更されました", - -IeSpellDownload : "スペルチェッカーがインストールされていません。今すぐダウンロードしますか?", - -// Button Dialog -DlgButtonText : "テキスト (値)", -DlgButtonType : "タイプ", -DlgButtonTypeBtn : "ボタン", -DlgButtonTypeSbm : "送信", -DlgButtonTypeRst : "リセット", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "名前", -DlgCheckboxValue : "値", -DlgCheckboxSelected : "選択済み", - -// Form Dialog -DlgFormName : "フォーム名", -DlgFormAction : "アクション", -DlgFormMethod : "メソッド", - -// Select Field Dialog -DlgSelectName : "名前", -DlgSelectValue : "値", -DlgSelectSize : "サイズ", -DlgSelectLines : "行", -DlgSelectChkMulti : "複数項目選択を許可", -DlgSelectOpAvail : "利用可能なオプション", -DlgSelectOpText : "選択項目名", -DlgSelectOpValue : "選択項目値", -DlgSelectBtnAdd : "追加", -DlgSelectBtnModify : "編集", -DlgSelectBtnUp : "上へ", -DlgSelectBtnDown : "下へ", -DlgSelectBtnSetValue : "選択した値を設定", -DlgSelectBtnDelete : "削除", - -// Textarea Dialog -DlgTextareaName : "名前", -DlgTextareaCols : "列", -DlgTextareaRows : "行", - -// Text Field Dialog -DlgTextName : "名前", -DlgTextValue : "値", -DlgTextCharWidth : "サイズ", -DlgTextMaxChars : "最大長", -DlgTextType : "タイプ", -DlgTextTypeText : "テキスト", -DlgTextTypePass : "パスワード入力", - -// Hidden Field Dialog -DlgHiddenName : "名前", -DlgHiddenValue : "値", - -// Bulleted List Dialog -BulletedListProp : "箇条書き プロパティ", -NumberedListProp : "段落番号 プロパティ", -DlgLstStart : "開始文字", -DlgLstType : "タイプ", -DlgLstTypeCircle : "白丸", -DlgLstTypeDisc : "黒丸", -DlgLstTypeSquare : "四角", -DlgLstTypeNumbers : "アラビア数字 (1, 2, 3)", -DlgLstTypeLCase : "英字小文字 (a, b, c)", -DlgLstTypeUCase : "英字大文字 (A, B, C)", -DlgLstTypeSRoman : "ローマ数字小文字 (i, ii, iii)", -DlgLstTypeLRoman : "ローマ数字大文字 (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "全般", -DlgDocBackTab : "背景", -DlgDocColorsTab : "色とマージン", -DlgDocMetaTab : "メタデータ", - -DlgDocPageTitle : "ページタイトル", -DlgDocLangDir : "言語文字表記の方向", -DlgDocLangDirLTR : "左から右に表記(LTR)", -DlgDocLangDirRTL : "右から左に表記(RTL)", -DlgDocLangCode : "言語コード", -DlgDocCharSet : "文字セット符号化", -DlgDocCharSetCE : "Central European", -DlgDocCharSetCT : "Chinese Traditional (Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Greek", -DlgDocCharSetJP : "Japanese", -DlgDocCharSetKR : "Korean", -DlgDocCharSetTR : "Turkish", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Western European", -DlgDocCharSetOther : "他の文字セット符号化", - -DlgDocDocType : "文書タイプヘッダー", -DlgDocDocTypeOther : "その他文書タイプヘッダー", -DlgDocIncXHTML : "XHTML宣言をインクルード", -DlgDocBgColor : "背景色", -DlgDocBgImage : "背景画像 URL", -DlgDocBgNoScroll : "スクロールしない背景", -DlgDocCText : "テキスト", -DlgDocCLink : "リンク", -DlgDocCVisited : "アクセス済みリンク", -DlgDocCActive : "アクセス中リンク", -DlgDocMargins : "ページ・マージン", -DlgDocMaTop : "上部", -DlgDocMaLeft : "左", -DlgDocMaRight : "右", -DlgDocMaBottom : "下部", -DlgDocMeIndex : "文書のキーワード(カンマ区切り)", -DlgDocMeDescr : "文書の概要", -DlgDocMeAuthor : "文書の作者", -DlgDocMeCopy : "文書の著作権", -DlgDocPreview : "プレビュー", - -// Templates Dialog -Templates : "テンプレート(雛形)", -DlgTemplatesTitle : "テンプレート内容", -DlgTemplatesSelMsg : "エディターで使用するテンプレートを選択して下さい。
    (現在のエディタの内容は失われます):", -DlgTemplatesLoading : "テンプレート一覧読み込み中. しばらくお待ち下さい...", -DlgTemplatesNoTpl : "(テンプレートが定義されていません)", -DlgTemplatesReplace : "現在のエディタの内容と置換えをします", - -// About Dialog -DlgAboutAboutTab : "バージョン情報", -DlgAboutBrowserInfoTab : "ブラウザ情報", -DlgAboutLicenseTab : "ライセンス", -DlgAboutVersion : "バージョン", -DlgAboutInfo : "より詳しい情報はこちらで", - -// Div Dialog -DlgDivGeneralTab : "全般", -DlgDivAdvancedTab : "高度な設定", -DlgDivStyle : "スタイル", -DlgDivInlineStyle : "インラインスタイル" -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/km.js b/modules/editor/skins/fckeditor/editor/lang/km.js deleted file mode 100644 index 829e84342..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/km.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Khmer language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "បង្រួមរបាឧបរកណ៍", -ToolbarExpand : "ពង្រីករបាឧបរណ៍", - -// Toolbar Items and Context Menu -Save : "រក្សាទុក", -NewPage : "ទំព័រថ្មី", -Preview : "មើលសាកល្បង", -Cut : "កាត់យក", -Copy : "ចំលងយក", -Paste : "ចំលងដាក់", -PasteText : "ចំលងដាក់ជាអត្ថបទធម្មតា", -PasteWord : "ចំលងដាក់ពី Word", -Print : "បោះពុម្ភ", -SelectAll : "ជ្រើសរើសទាំងអស់", -RemoveFormat : "លប់ចោល ការរចនា", -InsertLinkLbl : "ឈ្នាប់", -InsertLink : "បន្ថែម/កែប្រែ ឈ្នាប់", -RemoveLink : "លប់ឈ្នាប់", -VisitLink : "Open Link", //MISSING -Anchor : "បន្ថែម/កែប្រែ យុថ្កា", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "រូបភាព", -InsertImage : "បន្ថែម/កែប្រែ រូបភាព", -InsertFlashLbl : "Flash", -InsertFlash : "បន្ថែម/កែប្រែ Flash", -InsertTableLbl : "តារាង", -InsertTable : "បន្ថែម/កែប្រែ តារាង", -InsertLineLbl : "បន្ទាត់", -InsertLine : "បន្ថែមបន្ទាត់ផ្តេក", -InsertSpecialCharLbl: "អក្សរពិសេស", -InsertSpecialChar : "បន្ថែមអក្សរពិសេស", -InsertSmileyLbl : "រូបភាព", -InsertSmiley : "បន្ថែម រូបភាព", -About : "អំពី FCKeditor", -Bold : "អក្សរដិតធំ", -Italic : "អក្សរផ្តេក", -Underline : "ដិតបន្ទាត់ពីក្រោមអក្សរ", -StrikeThrough : "ដិតបន្ទាត់ពាក់កណ្តាលអក្សរ", -Subscript : "អក្សរតូចក្រោម", -Superscript : "អក្សរតូចលើ", -LeftJustify : "តំរឹមឆ្វេង", -CenterJustify : "តំរឹមកណ្តាល", -RightJustify : "តំរឹមស្តាំ", -BlockJustify : "តំរឹមសងខាង", -DecreaseIndent : "បន្ថយការចូលបន្ទាត់", -IncreaseIndent : "បន្ថែមការចូលបន្ទាត់", -Blockquote : "Blockquote", //MISSING -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "សារឡើងវិញ", -Redo : "ធ្វើឡើងវិញ", -NumberedListLbl : "បញ្ជីជាអក្សរ", -NumberedList : "បន្ថែម/លប់ បញ្ជីជាអក្សរ", -BulletedListLbl : "បញ្ជីជារង្វង់មូល", -BulletedList : "បន្ថែម/លប់ បញ្ជីជារង្វង់មូល", -ShowTableBorders : "បង្ហាញស៊ុមតារាង", -ShowDetails : "បង្ហាញពិស្តារ", -Style : "ម៉ូត", -FontFormat : "រចនា", -Font : "ហ្វុង", -FontSize : "ទំហំ", -TextColor : "ពណ៌អក្សរ", -BGColor : "ពណ៌ផ្ទៃខាងក្រោយ", -Source : "កូត", -Find : "ស្វែងរក", -Replace : "ជំនួស", -SpellCheck : "ពិនិត្យអក្ខរាវិរុទ្ធ", -UniversalKeyboard : "ក្តារពុម្ភអក្សរសកល", -PageBreakLbl : "ការផ្តាច់ទំព័រ", -PageBreak : "បន្ថែម ការផ្តាច់ទំព័រ", - -Form : "បែបបទ", -Checkbox : "ប្រអប់ជ្រើសរើស", -RadioButton : "ប៉ូតុនរង្វង់មូល", -TextField : "ជួរសរសេរអត្ថបទ", -Textarea : "តំបន់សរសេរអត្ថបទ", -HiddenField : "ជួរលាក់", -Button : "ប៉ូតុន", -SelectionField : "ជួរជ្រើសរើស", -ImageButton : "ប៉ូតុនរូបភាព", - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "កែប្រែឈ្នាប់", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "លប់ជួរផ្តេក", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "លប់ជួរឈរ", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "លប់សែល", -MergeCells : "បញ្ជូលសែល", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "លប់តារាង", -CellProperties : "ការកំណត់សែល", -TableProperties : "ការកំណត់តារាង", -ImageProperties : "ការកំណត់រូបភាព", -FlashProperties : "ការកំណត់ Flash", - -AnchorProp : "ការកំណត់យុថ្កា", -ButtonProp : "ការកំណត់ ប៉ូតុន", -CheckboxProp : "ការកំណត់ប្រអប់ជ្រើសរើស", -HiddenFieldProp : "ការកំណត់ជួរលាក់", -RadioButtonProp : "ការកំណត់ប៉ូតុនរង្វង់", -ImageButtonProp : "ការកំណត់ប៉ូតុនរូបភាព", -TextFieldProp : "ការកំណត់ជួរអត្ថបទ", -SelectionFieldProp : "ការកំណត់ជួរជ្រើសរើស", -TextareaProp : "ការកំណត់កន្លែងសរសេរអត្ថបទ", -FormProp : "ការកំណត់បែបបទ", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "កំពុងដំណើរការ XHTML ។ សូមរងចាំ...", -Done : "ចប់រួចរាល់", -PasteWordConfirm : "អត្ថបទដែលលោកអ្នកបំរុងចំលងដាក់ ហាក់បីដូចជាត្រូវចំលងមកពីកម្មវិធី​Word​។ តើលោកអ្នកចង់សំអាតមុនចំលងអត្ថបទដាក់ទេ?", -NotCompatiblePaste : "ពាក្យបញ្ជានេះប្រើបានតែជាមួយ Internet Explorer កំរិត 5.5 រឺ លើសនេះ ។ តើលោកអ្នកចង់ចំលងដាក់ដោយមិនចាំបាច់សំអាតទេ?", -UnknownToolbarItem : "វត្ថុលើរបាឧបរកណ៍ មិនស្គាល់ \"%1\"", -UnknownCommand : "ឈ្មោះពាក្យបញ្ជា មិនស្គាល់ \"%1\"", -NotImplemented : "ពាក្យបញ្ជា មិនបានអនុវត្ត", -UnknownToolbarSet : "របាឧបរកណ៍ \"%1\" ពុំមាន ។", -NoActiveX : "ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​អាចធ្វើអោយលោកអ្នកមិនអាចប្រើមុខងារខ្លះរបស់កម្មវិធីតាក់តែងអត្ថបទនេះ ។ លោកអ្នកត្រូវកំណត់អោយ \"ActiveX និង​កម្មវិធីជំនួយក្នុង (plug-ins)\" អោយដំណើរការ ។ លោកអ្នកអាចជួបប្រទះនឹង បញ្ហា ព្រមជាមួយនឹងការបាត់បង់មុខងារណាមួយរបស់កម្មវិធីតាក់តែងអត្ថបទនេះ ។", -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING -DialogBlocked : "វីនដូវមិនអាចបើកបានទេ ។ សូមពិនិត្យចំពោះកម្មវិធីបិទ វីនដូវលោត (popup) ថាតើវាដំណើរការរឺទេ ។", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "យល់ព្រម", -DlgBtnCancel : "មិនយល់ព្រម", -DlgBtnClose : "បិទ", -DlgBtnBrowseServer : "មើល", -DlgAdvancedTag : "កំរិតខ្ពស់", -DlgOpOther : "<ផ្សេងទៅត>", -DlgInfoTab : "ពត៌មាន", -DlgAlertUrl : "សូមសរសេរ URL", - -// General Dialogs Labels -DlgGenNotSet : "<មិនមែន>", -DlgGenId : "Id", -DlgGenLangDir : "ទិសដៅភាសា", -DlgGenLangDirLtr : "ពីឆ្វេងទៅស្តាំ(LTR)", -DlgGenLangDirRtl : "ពីស្តាំទៅឆ្វេង(RTL)", -DlgGenLangCode : "លេខកូតភាសា", -DlgGenAccessKey : "ឃី សំរាប់ចូល", -DlgGenName : "ឈ្មោះ", -DlgGenTabIndex : "លេខ Tab", -DlgGenLongDescr : "អធិប្បាយ URL វែង", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "ចំណងជើង ប្រឹក្សា", -DlgGenContType : "ប្រភេទអត្ថបទ ប្រឹក្សា", -DlgGenLinkCharset : "លេខកូតអក្សររបស់ឈ្នាប់", -DlgGenStyle : "ម៉ូត", - -// Image Dialog -DlgImgTitle : "ការកំណត់រូបភាព", -DlgImgInfoTab : "ពត៌មានអំពីរូបភាព", -DlgImgBtnUpload : "បញ្ជូនទៅកាន់ម៉ាស៊ីនផ្តល់សេវា", -DlgImgURL : "URL", -DlgImgUpload : "ទាញយក", -DlgImgAlt : "អត្ថបទជំនួស", -DlgImgWidth : "ទទឹង", -DlgImgHeight : "កំពស់", -DlgImgLockRatio : "អត្រាឡុក", -DlgBtnResetSize : "កំណត់ទំហំឡើងវិញ", -DlgImgBorder : "ស៊ុម", -DlgImgHSpace : "គំលាតទទឹង", -DlgImgVSpace : "គំលាតបណ្តោយ", -DlgImgAlign : "កំណត់ទីតាំង", -DlgImgAlignLeft : "ខាងឆ្វង", -DlgImgAlignAbsBottom: "Abs Bottom", //MISSING -DlgImgAlignAbsMiddle: "Abs Middle", //MISSING -DlgImgAlignBaseline : "បន្ទាត់ជាមូលដ្ឋាន", -DlgImgAlignBottom : "ខាងក្រោម", -DlgImgAlignMiddle : "កណ្តាល", -DlgImgAlignRight : "ខាងស្តាំ", -DlgImgAlignTextTop : "លើអត្ថបទ", -DlgImgAlignTop : "ខាងលើ", -DlgImgPreview : "មើលសាកល្បង", -DlgImgAlertUrl : "សូមសរសេរងាស័យដ្ឋានរបស់រូបភាព", -DlgImgLinkTab : "ឈ្នាប់", - -// Flash Dialog -DlgFlashTitle : "ការកំណត់ Flash", -DlgFlashChkPlay : "លេងដោយស្វ័យប្រវត្ត", -DlgFlashChkLoop : "ចំនួនដង", -DlgFlashChkMenu : "បង្ហាញ មឺនុយរបស់ Flash", -DlgFlashScale : "ទំហំ", -DlgFlashScaleAll : "បង្ហាញទាំងអស់", -DlgFlashScaleNoBorder : "មិនបង្ហាញស៊ុម", -DlgFlashScaleFit : "ត្រូវល្មម", - -// Link Dialog -DlgLnkWindowTitle : "ឈ្នាប់", -DlgLnkInfoTab : "ពត៌មានអំពីឈ្នាប់", -DlgLnkTargetTab : "គោលដៅ", - -DlgLnkType : "ប្រភេទឈ្នាប់", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "យុថ្កានៅក្នុងទំព័រនេះ", -DlgLnkTypeEMail : "អ៊ីមែល", -DlgLnkProto : "ប្រូតូកូល", -DlgLnkProtoOther : "<ផ្សេងទៀត>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "ជ្រើសរើសយុថ្កា", -DlgLnkAnchorByName : "តាមឈ្មោះរបស់យុថ្កា", -DlgLnkAnchorById : "តាម Id", -DlgLnkNoAnchors : "(No anchors available in the document)", //MISSING -DlgLnkEMail : "អ៊ីមែល", -DlgLnkEMailSubject : "ចំណងជើងអត្ថបទ", -DlgLnkEMailBody : "អត្ថបទ", -DlgLnkUpload : "ទាញយក", -DlgLnkBtnUpload : "ទាញយក", - -DlgLnkTarget : "គោលដៅ", -DlgLnkTargetFrame : "<ហ្វ្រេម>", -DlgLnkTargetPopup : "<វីនដូវ លោត>", -DlgLnkTargetBlank : "វីនដូវថ្មី (_blank)", -DlgLnkTargetParent : "វីនដូវមេ (_parent)", -DlgLnkTargetSelf : "វីនដូវដដែល (_self)", -DlgLnkTargetTop : "វីនដូវនៅលើគេ(_top)", -DlgLnkTargetFrameName : "ឈ្មោះហ្រ្វេមដែលជាគោលដៅ", -DlgLnkPopWinName : "ឈ្មោះវីនដូវលោត", -DlgLnkPopWinFeat : "លក្ខណះរបស់វីនដូលលោត", -DlgLnkPopResize : "ទំហំអាចផ្លាស់ប្តូរ", -DlgLnkPopLocation : "របា ទីតាំង", -DlgLnkPopMenu : "របា មឺនុយ", -DlgLnkPopScroll : "របា ទាញ", -DlgLnkPopStatus : "របា ពត៌មាន", -DlgLnkPopToolbar : "របា ឩបករណ៍", -DlgLnkPopFullScrn : "អេក្រុងពេញ(IE)", -DlgLnkPopDependent : "អាស្រ័យលើ (Netscape)", -DlgLnkPopWidth : "ទទឹង", -DlgLnkPopHeight : "កំពស់", -DlgLnkPopLeft : "ទីតាំងខាងឆ្វេង", -DlgLnkPopTop : "ទីតាំងខាងលើ", - -DlnLnkMsgNoUrl : "សូមសរសេរ អាស័យដ្ឋាន URL", -DlnLnkMsgNoEMail : "សូមសរសេរ អាស័យដ្ឋាន អ៊ីមែល", -DlnLnkMsgNoAnchor : "សូមជ្រើសរើស យុថ្កា", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "ជ្រើសរើស ពណ៌", -DlgColorBtnClear : "លប់", -DlgColorHighlight : "ផាត់ពណ៌", -DlgColorSelected : "បានជ្រើសរើស", - -// Smiley Dialog -DlgSmileyTitle : "បញ្ជូលរូបភាព", - -// Special Character Dialog -DlgSpecialCharTitle : "តូអក្សរពិសេស", - -// Table Dialog -DlgTableTitle : "ការកំណត់ តារាង", -DlgTableRows : "ជួរផ្តេក", -DlgTableColumns : "ជួរឈរ", -DlgTableBorder : "ទំហំស៊ុម", -DlgTableAlign : "ការកំណត់ទីតាំង", -DlgTableAlignNotSet : "<មិនកំណត់>", -DlgTableAlignLeft : "ខាងឆ្វេង", -DlgTableAlignCenter : "កណ្តាល", -DlgTableAlignRight : "ខាងស្តាំ", -DlgTableWidth : "ទទឹង", -DlgTableWidthPx : "ភីកសែល", -DlgTableWidthPc : "ភាគរយ", -DlgTableHeight : "កំពស់", -DlgTableCellSpace : "គំលាតសែល", -DlgTableCellPad : "គែមសែល", -DlgTableCaption : "ចំណងជើង", -DlgTableSummary : "សេចក្តីសង្ខេប", - -// Table Cell Dialog -DlgCellTitle : "ការកំណត់ សែល", -DlgCellWidth : "ទទឹង", -DlgCellWidthPx : "ភីកសែល", -DlgCellWidthPc : "ភាគរយ", -DlgCellHeight : "កំពស់", -DlgCellWordWrap : "បង្ហាញអត្ថបទទាំងអស់", -DlgCellWordWrapNotSet : "<មិនកំណត់>", -DlgCellWordWrapYes : "បាទ(ចា)", -DlgCellWordWrapNo : "ទេ", -DlgCellHorAlign : "តំរឹមផ្តេក", -DlgCellHorAlignNotSet : "<មិនកំណត់>", -DlgCellHorAlignLeft : "ខាងឆ្វេង", -DlgCellHorAlignCenter : "កណ្តាល", -DlgCellHorAlignRight: "Right", //MISSING -DlgCellVerAlign : "តំរឹមឈរ", -DlgCellVerAlignNotSet : "<មិនកណត់>", -DlgCellVerAlignTop : "ខាងលើ", -DlgCellVerAlignMiddle : "កណ្តាល", -DlgCellVerAlignBottom : "ខាងក្រោម", -DlgCellVerAlignBaseline : "បន្ទាត់ជាមូលដ្ឋាន", -DlgCellRowSpan : "បញ្ជូលជួរផ្តេក", -DlgCellCollSpan : "បញ្ជូលជួរឈរ", -DlgCellBackColor : "ពណ៌ផ្នែកខាងក្រោម", -DlgCellBorderColor : "ពណ៌ស៊ុម", -DlgCellBtnSelect : "ជ្រើសរើស...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "ស្វែងរក", -DlgFindFindBtn : "ស្វែងរក", -DlgFindNotFoundMsg : "ពាក្យនេះ រកមិនឃើញទេ ។", - -// Replace Dialog -DlgReplaceTitle : "ជំនួស", -DlgReplaceFindLbl : "ស្វែងរកអ្វី:", -DlgReplaceReplaceLbl : "ជំនួសជាមួយ:", -DlgReplaceCaseChk : "ករណ៉ត្រូវរក", -DlgReplaceReplaceBtn : "ជំនួស", -DlgReplaceReplAllBtn : "ជំនួសទាំងអស់", -DlgReplaceWordChk : "ត្រូវពាក្យទាំងអស់", - -// Paste Operations / Dialog -PasteErrorCut : "ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​មិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ កាត់អត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl+X) ។", -PasteErrorCopy : "ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​មិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ ចំលងអត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl+C)។", - -PasteAsText : "ចំលងដាក់អត្ថបទធម្មតា", -PasteFromWord : "ចំលងពាក្យពីកម្មវិធី Word", - -DlgPasteMsg2 : "សូមចំលងអត្ថបទទៅដាក់ក្នុងប្រអប់ដូចខាងក្រោមដោយប្រើប្រាស់ ឃី ​(Ctrl+V) ហើយចុច OK ។", -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING -DlgPasteIgnoreFont : "មិនគិតអំពីប្រភេទពុម្ភអក្សរ", -DlgPasteRemoveStyles : "លប់ម៉ូត", - -// Color Picker -ColorAutomatic : "ស្វ័យប្រវត្ត", -ColorMoreColors : "ពណ៌ផ្សេងទៀត..", - -// Document Properties -DocProps : "ការកំណត់ ឯកសារ", - -// Anchor Dialog -DlgAnchorTitle : "ការកំណត់ចំណងជើងយុទ្ធថ្កា", -DlgAnchorName : "ឈ្មោះយុទ្ធថ្កា", -DlgAnchorErrorName : "សូមសរសេរ ឈ្មោះយុទ្ធថ្កា", - -// Speller Pages Dialog -DlgSpellNotInDic : "គ្មានក្នុងវចនានុក្រម", -DlgSpellChangeTo : "ផ្លាស់ប្តូរទៅ", -DlgSpellBtnIgnore : "មិនផ្លាស់ប្តូរ", -DlgSpellBtnIgnoreAll : "មិនផ្លាស់ប្តូរ ទាំងអស់", -DlgSpellBtnReplace : "ជំនួស", -DlgSpellBtnReplaceAll : "ជំនួសទាំងអស់", -DlgSpellBtnUndo : "សារឡើងវិញ", -DlgSpellNoSuggestions : "- គ្មានសំណើរ -", -DlgSpellProgress : "កំពុងពិនិត្យអក្ខរាវិរុទ្ធ...", -DlgSpellNoMispell : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: គ្មានកំហុស", -DlgSpellNoChanges : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពុំមានផ្លាស់ប្តូរ", -DlgSpellOneChange : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពាក្យមួយត្រូចបានផ្លាស់ប្តូរ", -DlgSpellManyChanges : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: %1 ពាក្យបានផ្លាស់ប្តូរ", - -IeSpellDownload : "ពុំមានកម្មវិធីពិនិត្យអក្ខរាវិរុទ្ធ ។ តើចង់ទាញយកពីណា?", - -// Button Dialog -DlgButtonText : "អត្ថបទ(តំលៃ)", -DlgButtonType : "ប្រភេទ", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "ឈ្មោះ", -DlgCheckboxValue : "តំលៃ", -DlgCheckboxSelected : "បានជ្រើសរើស", - -// Form Dialog -DlgFormName : "ឈ្មោះ", -DlgFormAction : "សកម្មភាព", -DlgFormMethod : "វិធី", - -// Select Field Dialog -DlgSelectName : "ឈ្មោះ", -DlgSelectValue : "តំលៃ", -DlgSelectSize : "ទំហំ", -DlgSelectLines : "បន្ទាត់", -DlgSelectChkMulti : "អនុញ្ញាតអោយជ្រើសរើសច្រើន", -DlgSelectOpAvail : "ការកំណត់ជ្រើសរើស ដែលអាចកំណត់បាន", -DlgSelectOpText : "ពាក្យ", -DlgSelectOpValue : "តំលៃ", -DlgSelectBtnAdd : "បន្ថែម", -DlgSelectBtnModify : "ផ្លាស់ប្តូរ", -DlgSelectBtnUp : "លើ", -DlgSelectBtnDown : "ក្រោម", -DlgSelectBtnSetValue : "Set as selected value", //MISSING -DlgSelectBtnDelete : "លប់", - -// Textarea Dialog -DlgTextareaName : "ឈ្មោះ", -DlgTextareaCols : "ជូរឈរ", -DlgTextareaRows : "ជូរផ្តេក", - -// Text Field Dialog -DlgTextName : "ឈ្មោះ", -DlgTextValue : "តំលៃ", -DlgTextCharWidth : "ទទឹង អក្សរ", -DlgTextMaxChars : "អក្សរអតិបរិមា", -DlgTextType : "ប្រភេទ", -DlgTextTypeText : "ពាក្យ", -DlgTextTypePass : "ពាក្យសំងាត់", - -// Hidden Field Dialog -DlgHiddenName : "ឈ្មោះ", -DlgHiddenValue : "តំលៃ", - -// Bulleted List Dialog -BulletedListProp : "កំណត់បញ្ជីរង្វង់", -NumberedListProp : "កំណត់បញ្េជីលេខ", -DlgLstStart : "Start", //MISSING -DlgLstType : "ប្រភេទ", -DlgLstTypeCircle : "រង្វង់", -DlgLstTypeDisc : "Disc", -DlgLstTypeSquare : "ការេ", -DlgLstTypeNumbers : "លេខ(1, 2, 3)", -DlgLstTypeLCase : "អក្សរតូច(a, b, c)", -DlgLstTypeUCase : "អក្សរធំ(A, B, C)", -DlgLstTypeSRoman : "អក្សរឡាតាំងតូច(i, ii, iii)", -DlgLstTypeLRoman : "អក្សរឡាតាំងធំ(I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "ទូទៅ", -DlgDocBackTab : "ផ្នែកខាងក្រោយ", -DlgDocColorsTab : "ទំព័រ​និង ស៊ុម", -DlgDocMetaTab : "ទិន្នន័យមេ", - -DlgDocPageTitle : "ចំណងជើងទំព័រ", -DlgDocLangDir : "ទិសដៅសរសេរភាសា", -DlgDocLangDirLTR : "ពីឆ្វេងទៅស្ដាំ(LTR)", -DlgDocLangDirRTL : "ពីស្ដាំទៅឆ្វេង(RTL)", -DlgDocLangCode : "លេខកូតភាសា", -DlgDocCharSet : "កំណត់លេខកូតភាសា", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "កំណត់លេខកូតភាសាផ្សេងទៀត", - -DlgDocDocType : "ប្រភេទក្បាលទំព័រ", -DlgDocDocTypeOther : "ប្រភេទក្បាលទំព័រផ្សេងទៀត", -DlgDocIncXHTML : "បញ្ជូល XHTML", -DlgDocBgColor : "ពណ៌ខាងក្រោម", -DlgDocBgImage : "URL របស់រូបភាពខាងក្រោម", -DlgDocBgNoScroll : "ទំព័រក្រោមមិនប្តូរ", -DlgDocCText : "អត្តបទ", -DlgDocCLink : "ឈ្នាប់", -DlgDocCVisited : "ឈ្នាប់មើលហើយ", -DlgDocCActive : "ឈ្នាប់កំពុងមើល", -DlgDocMargins : "ស៊ុមទំព័រ", -DlgDocMaTop : "លើ", -DlgDocMaLeft : "ឆ្វេង", -DlgDocMaRight : "ស្ដាំ", -DlgDocMaBottom : "ក្រោម", -DlgDocMeIndex : "ពាក្យនៅក្នុងឯកសារ (ផ្តាច់ពីគ្នាដោយក្បៀស)", -DlgDocMeDescr : "សេចក្តីអត្ថាធិប្បាយអំពីឯកសារ", -DlgDocMeAuthor : "អ្នកនិពន្ធ", -DlgDocMeCopy : "រក្សាសិទ្ធិ៏", -DlgDocPreview : "មើលសាកល្បង", - -// Templates Dialog -Templates : "ឯកសារគំរូ", -DlgTemplatesTitle : "ឯកសារគំរូ របស់អត្ថន័យ", -DlgTemplatesSelMsg : "សូមជ្រើសរើសឯកសារគំរូ ដើម្បីបើកនៅក្នុងកម្មវិធីតាក់តែងអត្ថបទ
    (អត្ថបទនឹងបាត់បង់):", -DlgTemplatesLoading : "កំពុងអានបញ្ជីឯកសារគំរូ ។ សូមរងចាំ...", -DlgTemplatesNoTpl : "(ពុំមានឯកសារគំរូត្រូវបានកំណត់)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "អំពី", -DlgAboutBrowserInfoTab : "ព៌តមានកម្មវិធីរុករក", -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "ជំនាន់", -DlgAboutInfo : "សំរាប់ព៌តមានផ្សេងទៀត សូមទាក់ទង", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/ko.js b/modules/editor/skins/fckeditor/editor/lang/ko.js deleted file mode 100644 index 00870ded1..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/ko.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Korean language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "툴바 감추기", -ToolbarExpand : "툴바 보이기", - -// Toolbar Items and Context Menu -Save : "저장하기", -NewPage : "새 문서", -Preview : "미리보기", -Cut : "잘라내기", -Copy : "복사하기", -Paste : "붙여넣기", -PasteText : "텍스트로 붙여넣기", -PasteWord : "MS Word 형식에서 붙여넣기", -Print : "인쇄하기", -SelectAll : "전체선택", -RemoveFormat : "포맷 지우기", -InsertLinkLbl : "링크", -InsertLink : "링크 삽입/변경", -RemoveLink : "링크 삭제", -VisitLink : "Open Link", //MISSING -Anchor : "책갈피 삽입/변경", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "이미지", -InsertImage : "이미지 삽입/변경", -InsertFlashLbl : "플래쉬", -InsertFlash : "플래쉬 삽입/변경", -InsertTableLbl : "표", -InsertTable : "표 삽입/변경", -InsertLineLbl : "수평선", -InsertLine : "수평선 삽입", -InsertSpecialCharLbl: "특수문자 삽입", -InsertSpecialChar : "특수문자 삽입", -InsertSmileyLbl : "아이콘", -InsertSmiley : "아이콘 삽입", -About : "FCKeditor에 대하여", -Bold : "진하게", -Italic : "이텔릭", -Underline : "밑줄", -StrikeThrough : "취소선", -Subscript : "아래 첨자", -Superscript : "위 첨자", -LeftJustify : "왼쪽 정렬", -CenterJustify : "가운데 정렬", -RightJustify : "오른쪽 정렬", -BlockJustify : "양쪽 맞춤", -DecreaseIndent : "내어쓰기", -IncreaseIndent : "들여쓰기", -Blockquote : "Blockquote", //MISSING -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "취소", -Redo : "재실행", -NumberedListLbl : "순서있는 목록", -NumberedList : "순서있는 목록", -BulletedListLbl : "순서없는 목록", -BulletedList : "순서없는 목록", -ShowTableBorders : "표 테두리 보기", -ShowDetails : "문서기호 보기", -Style : "스타일", -FontFormat : "포맷", -Font : "폰트", -FontSize : "글자 크기", -TextColor : "글자 색상", -BGColor : "배경 색상", -Source : "소스", -Find : "찾기", -Replace : "바꾸기", -SpellCheck : "철자검사", -UniversalKeyboard : "다국어 입력기", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING - -Form : "폼", -Checkbox : "체크박스", -RadioButton : "라디오버튼", -TextField : "입력필드", -Textarea : "입력영역", -HiddenField : "숨김필드", -Button : "버튼", -SelectionField : "펼침목록", -ImageButton : "이미지버튼", - -FitWindow : "에디터 최대화", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "링크 수정", -CellCM : "셀/칸(Cell)", -RowCM : "행(Row)", -ColumnCM : "열(Column)", -InsertRowAfter : "뒤에 행 삽입", -InsertRowBefore : "앞에 행 삽입", -DeleteRows : "가로줄 삭제", -InsertColumnAfter : "뒤에 열 삽입", -InsertColumnBefore : "앞에 열 삽입", -DeleteColumns : "세로줄 삭제", -InsertCellAfter : "뒤에 셀/칸 삽입", -InsertCellBefore : "앞에 셀/칸 삽입", -DeleteCells : "셀 삭제", -MergeCells : "셀 합치기", -MergeRight : "오른쪽 뭉치기", -MergeDown : "왼쪽 뭉치기", -HorizontalSplitCell : "수평 나누기", -VerticalSplitCell : "수직 나누기", -TableDelete : "표 삭제", -CellProperties : "셀 속성", -TableProperties : "표 속성", -ImageProperties : "이미지 속성", -FlashProperties : "플래쉬 속성", - -AnchorProp : "책갈피 속성", -ButtonProp : "버튼 속성", -CheckboxProp : "체크박스 속성", -HiddenFieldProp : "숨김필드 속성", -RadioButtonProp : "라디오버튼 속성", -ImageButtonProp : "이미지버튼 속성", -TextFieldProp : "입력필드 속성", -SelectionFieldProp : "펼침목록 속성", -TextareaProp : "입력영역 속성", -FormProp : "폼 속성", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6", - -// Alerts and Messages -ProcessingXHTML : "XHTML 처리중. 잠시만 기다려주십시요.", -Done : "완료", -PasteWordConfirm : "붙여넣기 할 텍스트는 MS Word에서 복사한 것입니다. 붙여넣기 전에 MS Word 포멧을 삭제하시겠습니까?", -NotCompatiblePaste : "이 명령은 인터넷익스플로러 5.5 버전 이상에서만 작동합니다. 포멧을 삭제하지 않고 붙여넣기 하시겠습니까?", -UnknownToolbarItem : "알수없는 툴바입니다. : \"%1\"", -UnknownCommand : "알수없는 기능입니다. : \"%1\"", -NotImplemented : "기능이 실행되지 않았습니다.", -UnknownToolbarSet : "툴바 설정이 없습니다. : \"%1\"", -NoActiveX : "브러우저의 보안 설정으로 인해 몇몇 기능의 작동에 장애가 있을 수 있습니다. \"액티브-액스 기능과 플러그 인\" 옵션을 허용하여 주시지 않으면 오류가 발생할 수 있습니다.", -BrowseServerBlocked : "브러우저 요소가 열리지 않습니다. 팝업차단 설정이 꺼져있는지 확인하여 주십시오.", -DialogBlocked : "윈도우 대화창을 열 수 없습니다. 팝업차단 설정이 꺼져있는지 확인하여 주십시오.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "예", -DlgBtnCancel : "아니오", -DlgBtnClose : "닫기", -DlgBtnBrowseServer : "서버 보기", -DlgAdvancedTag : "자세히", -DlgOpOther : "<기타>", -DlgInfoTab : "정보", -DlgAlertUrl : "URL을 입력하십시요", - -// General Dialogs Labels -DlgGenNotSet : "<설정되지 않음>", -DlgGenId : "ID", -DlgGenLangDir : "쓰기 방향", -DlgGenLangDirLtr : "왼쪽에서 오른쪽 (LTR)", -DlgGenLangDirRtl : "오른쪽에서 왼쪽 (RTL)", -DlgGenLangCode : "언어 코드", -DlgGenAccessKey : "엑세스 키", -DlgGenName : "Name", -DlgGenTabIndex : "탭 순서", -DlgGenLongDescr : "URL 설명", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "이미지 설정", -DlgImgInfoTab : "이미지 정보", -DlgImgBtnUpload : "서버로 전송", -DlgImgURL : "URL", -DlgImgUpload : "업로드", -DlgImgAlt : "이미지 설명", -DlgImgWidth : "너비", -DlgImgHeight : "높이", -DlgImgLockRatio : "비율 유지", -DlgBtnResetSize : "원래 크기로", -DlgImgBorder : "테두리", -DlgImgHSpace : "수평여백", -DlgImgVSpace : "수직여백", -DlgImgAlign : "정렬", -DlgImgAlignLeft : "왼쪽", -DlgImgAlignAbsBottom: "줄아래(Abs Bottom)", -DlgImgAlignAbsMiddle: "줄중간(Abs Middle)", -DlgImgAlignBaseline : "기준선", -DlgImgAlignBottom : "아래", -DlgImgAlignMiddle : "중간", -DlgImgAlignRight : "오른쪽", -DlgImgAlignTextTop : "글자상단", -DlgImgAlignTop : "위", -DlgImgPreview : "미리보기", -DlgImgAlertUrl : "이미지 URL을 입력하십시요", -DlgImgLinkTab : "링크", - -// Flash Dialog -DlgFlashTitle : "플래쉬 등록정보", -DlgFlashChkPlay : "자동재생", -DlgFlashChkLoop : "반복", -DlgFlashChkMenu : "플래쉬메뉴 가능", -DlgFlashScale : "영역", -DlgFlashScaleAll : "모두보기", -DlgFlashScaleNoBorder : "경계선없음", -DlgFlashScaleFit : "영역자동조절", - -// Link Dialog -DlgLnkWindowTitle : "링크", -DlgLnkInfoTab : "링크 정보", -DlgLnkTargetTab : "타겟", - -DlgLnkType : "링크 종류", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "책갈피", -DlgLnkTypeEMail : "이메일", -DlgLnkProto : "프로토콜", -DlgLnkProtoOther : "<기타>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "책갈피 선택", -DlgLnkAnchorByName : "책갈피 이름", -DlgLnkAnchorById : "책갈피 ID", -DlgLnkNoAnchors : "(문서에 책갈피가 없습니다.)", -DlgLnkEMail : "이메일 주소", -DlgLnkEMailSubject : "제목", -DlgLnkEMailBody : "내용", -DlgLnkUpload : "업로드", -DlgLnkBtnUpload : "서버로 전송", - -DlgLnkTarget : "타겟", -DlgLnkTargetFrame : "<프레임>", -DlgLnkTargetPopup : "<팝업창>", -DlgLnkTargetBlank : "새 창 (_blank)", -DlgLnkTargetParent : "부모 창 (_parent)", -DlgLnkTargetSelf : "현재 창 (_self)", -DlgLnkTargetTop : "최 상위 창 (_top)", -DlgLnkTargetFrameName : "타겟 프레임 이름", -DlgLnkPopWinName : "팝업창 이름", -DlgLnkPopWinFeat : "팝업창 설정", -DlgLnkPopResize : "크기조정", -DlgLnkPopLocation : "주소표시줄", -DlgLnkPopMenu : "메뉴바", -DlgLnkPopScroll : "스크롤바", -DlgLnkPopStatus : "상태바", -DlgLnkPopToolbar : "툴바", -DlgLnkPopFullScrn : "전체화면 (IE)", -DlgLnkPopDependent : "Dependent (Netscape)", -DlgLnkPopWidth : "너비", -DlgLnkPopHeight : "높이", -DlgLnkPopLeft : "왼쪽 위치", -DlgLnkPopTop : "윗쪽 위치", - -DlnLnkMsgNoUrl : "링크 URL을 입력하십시요.", -DlnLnkMsgNoEMail : "이메일주소를 입력하십시요.", -DlnLnkMsgNoAnchor : "책갈피명을 입력하십시요.", -DlnLnkMsgInvPopName : "팝업창의 타이틀은 공백을 허용하지 않습니다.", - -// Color Dialog -DlgColorTitle : "색상 선택", -DlgColorBtnClear : "지우기", -DlgColorHighlight : "현재", -DlgColorSelected : "선택됨", - -// Smiley Dialog -DlgSmileyTitle : "아이콘 삽입", - -// Special Character Dialog -DlgSpecialCharTitle : "특수문자 선택", - -// Table Dialog -DlgTableTitle : "표 설정", -DlgTableRows : "가로줄", -DlgTableColumns : "세로줄", -DlgTableBorder : "테두리 크기", -DlgTableAlign : "정렬", -DlgTableAlignNotSet : "<설정되지 않음>", -DlgTableAlignLeft : "왼쪽", -DlgTableAlignCenter : "가운데", -DlgTableAlignRight : "오른쪽", -DlgTableWidth : "너비", -DlgTableWidthPx : "픽셀", -DlgTableWidthPc : "퍼센트", -DlgTableHeight : "높이", -DlgTableCellSpace : "셀 간격", -DlgTableCellPad : "셀 여백", -DlgTableCaption : "캡션", -DlgTableSummary : "Summary", //MISSING - -// Table Cell Dialog -DlgCellTitle : "셀 설정", -DlgCellWidth : "너비", -DlgCellWidthPx : "픽셀", -DlgCellWidthPc : "퍼센트", -DlgCellHeight : "높이", -DlgCellWordWrap : "워드랩", -DlgCellWordWrapNotSet : "<설정되지 않음>", -DlgCellWordWrapYes : "예", -DlgCellWordWrapNo : "아니오", -DlgCellHorAlign : "수평 정렬", -DlgCellHorAlignNotSet : "<설정되지 않음>", -DlgCellHorAlignLeft : "왼쪽", -DlgCellHorAlignCenter : "가운데", -DlgCellHorAlignRight: "오른쪽", -DlgCellVerAlign : "수직 정렬", -DlgCellVerAlignNotSet : "<설정되지 않음>", -DlgCellVerAlignTop : "위", -DlgCellVerAlignMiddle : "중간", -DlgCellVerAlignBottom : "아래", -DlgCellVerAlignBaseline : "기준선", -DlgCellRowSpan : "세로 합치기", -DlgCellCollSpan : "가로 합치기", -DlgCellBackColor : "배경 색상", -DlgCellBorderColor : "테두리 색상", -DlgCellBtnSelect : "선택", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "찾기 & 바꾸기", - -// Find Dialog -DlgFindTitle : "찾기", -DlgFindFindBtn : "찾기", -DlgFindNotFoundMsg : "문자열을 찾을 수 없습니다.", - -// Replace Dialog -DlgReplaceTitle : "바꾸기", -DlgReplaceFindLbl : "찾을 문자열:", -DlgReplaceReplaceLbl : "바꿀 문자열:", -DlgReplaceCaseChk : "대소문자 구분", -DlgReplaceReplaceBtn : "바꾸기", -DlgReplaceReplAllBtn : "모두 바꾸기", -DlgReplaceWordChk : "온전한 단어", - -// Paste Operations / Dialog -PasteErrorCut : "브라우저의 보안설정때문에 잘라내기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl+X).", -PasteErrorCopy : "브라우저의 보안설정때문에 복사하기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl+C).", - -PasteAsText : "텍스트로 붙여넣기", -PasteFromWord : "MS Word 형식에서 붙여넣기", - -DlgPasteMsg2 : "키보드의 (Ctrl+V) 를 이용해서 상자안에 붙여넣고 OK 를 누르세요.", -DlgPasteSec : "브러우저 보안 설정으로 인해, 클립보드의 자료를 직접 접근할 수 없습니다. 이 창에 다시 붙여넣기 하십시오.", -DlgPasteIgnoreFont : "폰트 설정 무시", -DlgPasteRemoveStyles : "스타일 정의 제거", - -// Color Picker -ColorAutomatic : "기본색상", -ColorMoreColors : "색상선택...", - -// Document Properties -DocProps : "문서 속성", - -// Anchor Dialog -DlgAnchorTitle : "책갈피 속성", -DlgAnchorName : "책갈피 이름", -DlgAnchorErrorName : "책갈피 이름을 입력하십시요.", - -// Speller Pages Dialog -DlgSpellNotInDic : "사전에 없는 단어", -DlgSpellChangeTo : "변경할 단어", -DlgSpellBtnIgnore : "건너뜀", -DlgSpellBtnIgnoreAll : "모두 건너뜀", -DlgSpellBtnReplace : "변경", -DlgSpellBtnReplaceAll : "모두 변경", -DlgSpellBtnUndo : "취소", -DlgSpellNoSuggestions : "- 추천단어 없음 -", -DlgSpellProgress : "철자검사를 진행중입니다...", -DlgSpellNoMispell : "철자검사 완료: 잘못된 철자가 없습니다.", -DlgSpellNoChanges : "철자검사 완료: 변경된 단어가 없습니다.", -DlgSpellOneChange : "철자검사 완료: 단어가 변경되었습니다.", -DlgSpellManyChanges : "철자검사 완료: %1 단어가 변경되었습니다.", - -IeSpellDownload : "철자 검사기가 철치되지 않았습니다. 지금 다운로드하시겠습니까?", - -// Button Dialog -DlgButtonText : "버튼글자(값)", -DlgButtonType : "버튼종류", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "이름", -DlgCheckboxValue : "값", -DlgCheckboxSelected : "선택됨", - -// Form Dialog -DlgFormName : "폼이름", -DlgFormAction : "실행경로(Action)", -DlgFormMethod : "방법(Method)", - -// Select Field Dialog -DlgSelectName : "이름", -DlgSelectValue : "값", -DlgSelectSize : "세로크기", -DlgSelectLines : "줄", -DlgSelectChkMulti : "여러항목 선택 허용", -DlgSelectOpAvail : "선택옵션", -DlgSelectOpText : "이름", -DlgSelectOpValue : "값", -DlgSelectBtnAdd : "추가", -DlgSelectBtnModify : "변경", -DlgSelectBtnUp : "위로", -DlgSelectBtnDown : "아래로", -DlgSelectBtnSetValue : "선택된것으로 설정", -DlgSelectBtnDelete : "삭제", - -// Textarea Dialog -DlgTextareaName : "이름", -DlgTextareaCols : "칸수", -DlgTextareaRows : "줄수", - -// Text Field Dialog -DlgTextName : "이름", -DlgTextValue : "값", -DlgTextCharWidth : "글자 너비", -DlgTextMaxChars : "최대 글자수", -DlgTextType : "종류", -DlgTextTypeText : "문자열", -DlgTextTypePass : "비밀번호", - -// Hidden Field Dialog -DlgHiddenName : "이름", -DlgHiddenValue : "값", - -// Bulleted List Dialog -BulletedListProp : "순서없는 목록 속성", -NumberedListProp : "순서있는 목록 속성", -DlgLstStart : "Start", //MISSING -DlgLstType : "종류", -DlgLstTypeCircle : "원(Circle)", -DlgLstTypeDisc : "Disc", //MISSING -DlgLstTypeSquare : "네모점(Square)", -DlgLstTypeNumbers : "번호 (1, 2, 3)", -DlgLstTypeLCase : "소문자 (a, b, c)", -DlgLstTypeUCase : "대문자 (A, B, C)", -DlgLstTypeSRoman : "로마자 수문자 (i, ii, iii)", -DlgLstTypeLRoman : "로마자 대문자 (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "일반", -DlgDocBackTab : "배경", -DlgDocColorsTab : "색상 및 여백", -DlgDocMetaTab : "메타데이터", - -DlgDocPageTitle : "페이지명", -DlgDocLangDir : "문자 쓰기방향", -DlgDocLangDirLTR : "왼쪽에서 오른쪽 (LTR)", -DlgDocLangDirRTL : "오른쪽에서 왼쪽 (RTL)", -DlgDocLangCode : "언어코드", -DlgDocCharSet : "캐릭터셋 인코딩", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "다른 캐릭터셋 인코딩", - -DlgDocDocType : "문서 헤드", -DlgDocDocTypeOther : "다른 문서헤드", -DlgDocIncXHTML : "XHTML 문서정의 포함", -DlgDocBgColor : "배경색상", -DlgDocBgImage : "배경이미지 URL", -DlgDocBgNoScroll : "스크롤되지않는 배경", -DlgDocCText : "텍스트", -DlgDocCLink : "링크", -DlgDocCVisited : "방문한 링크(Visited)", -DlgDocCActive : "활성화된 링크(Active)", -DlgDocMargins : "페이지 여백", -DlgDocMaTop : "위", -DlgDocMaLeft : "왼쪽", -DlgDocMaRight : "오른쪽", -DlgDocMaBottom : "아래", -DlgDocMeIndex : "문서 키워드 (콤마로 구분)", -DlgDocMeDescr : "문서 설명", -DlgDocMeAuthor : "작성자", -DlgDocMeCopy : "저작권", -DlgDocPreview : "미리보기", - -// Templates Dialog -Templates : "템플릿", -DlgTemplatesTitle : "내용 템플릿", -DlgTemplatesSelMsg : "에디터에서 사용할 템플릿을 선택하십시요.
    (지금까지 작성된 내용은 사라집니다.):", -DlgTemplatesLoading : "템플릿 목록을 불러오는중입니다. 잠시만 기다려주십시요.", -DlgTemplatesNoTpl : "(템플릿이 없습니다.)", -DlgTemplatesReplace : "현재 내용 바꾸기", - -// About Dialog -DlgAboutAboutTab : "About", -DlgAboutBrowserInfoTab : "브라우저 정보", -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "버전", -DlgAboutInfo : "더 많은 정보를 보시려면 다음 사이트로 가십시오.", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/lt.js b/modules/editor/skins/fckeditor/editor/lang/lt.js deleted file mode 100644 index de2f8f52e..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/lt.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Lithuanian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Sutraukti mygtukų juostą", -ToolbarExpand : "Išplėsti mygtukų juostą", - -// Toolbar Items and Context Menu -Save : "Išsaugoti", -NewPage : "Naujas puslapis", -Preview : "Peržiūra", -Cut : "Iškirpti", -Copy : "Kopijuoti", -Paste : "Įdėti", -PasteText : "Įdėti kaip gryną tekstą", -PasteWord : "Įdėti iš Word", -Print : "Spausdinti", -SelectAll : "Pažymėti viską", -RemoveFormat : "Panaikinti formatą", -InsertLinkLbl : "Nuoroda", -InsertLink : "Įterpti/taisyti nuorodą", -RemoveLink : "Panaikinti nuorodą", -VisitLink : "Open Link", //MISSING -Anchor : "Įterpti/modifikuoti žymę", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Vaizdas", -InsertImage : "Įterpti/taisyti vaizdą", -InsertFlashLbl : "Flash", -InsertFlash : "Įterpti/taisyti Flash", -InsertTableLbl : "Lentelė", -InsertTable : "Įterpti/taisyti lentelę", -InsertLineLbl : "Linija", -InsertLine : "Įterpti horizontalią liniją", -InsertSpecialCharLbl: "Spec. simbolis", -InsertSpecialChar : "Įterpti specialų simbolį", -InsertSmileyLbl : "Veideliai", -InsertSmiley : "Įterpti veidelį", -About : "Apie FCKeditor", -Bold : "Pusjuodis", -Italic : "Kursyvas", -Underline : "Pabrauktas", -StrikeThrough : "Perbrauktas", -Subscript : "Apatinis indeksas", -Superscript : "Viršutinis indeksas", -LeftJustify : "Lygiuoti kairę", -CenterJustify : "Centruoti", -RightJustify : "Lygiuoti dešinę", -BlockJustify : "Lygiuoti abi puses", -DecreaseIndent : "Sumažinti įtrauką", -IncreaseIndent : "Padidinti įtrauką", -Blockquote : "Blockquote", //MISSING -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "Atšaukti", -Redo : "Atstatyti", -NumberedListLbl : "Numeruotas sąrašas", -NumberedList : "Įterpti/Panaikinti numeruotą sąrašą", -BulletedListLbl : "Suženklintas sąrašas", -BulletedList : "Įterpti/Panaikinti suženklintą sąrašą", -ShowTableBorders : "Rodyti lentelės rėmus", -ShowDetails : "Rodyti detales", -Style : "Stilius", -FontFormat : "Šrifto formatas", -Font : "Šriftas", -FontSize : "Šrifto dydis", -TextColor : "Teksto spalva", -BGColor : "Fono spalva", -Source : "Šaltinis", -Find : "Rasti", -Replace : "Pakeisti", -SpellCheck : "Rašybos tikrinimas", -UniversalKeyboard : "Universali klaviatūra", -PageBreakLbl : "Puslapių skirtukas", -PageBreak : "Įterpti puslapių skirtuką", - -Form : "Forma", -Checkbox : "Žymimasis langelis", -RadioButton : "Žymimoji akutė", -TextField : "Teksto laukas", -Textarea : "Teksto sritis", -HiddenField : "Nerodomas laukas", -Button : "Mygtukas", -SelectionField : "Atrankos laukas", -ImageButton : "Vaizdinis mygtukas", - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Taisyti nuorodą", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Šalinti eilutes", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Šalinti stulpelius", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Šalinti langelius", -MergeCells : "Sujungti langelius", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Šalinti lentelę", -CellProperties : "Langelio savybės", -TableProperties : "Lentelės savybės", -ImageProperties : "Vaizdo savybės", -FlashProperties : "Flash savybės", - -AnchorProp : "Žymės savybės", -ButtonProp : "Mygtuko savybės", -CheckboxProp : "Žymimojo langelio savybės", -HiddenFieldProp : "Nerodomo lauko savybės", -RadioButtonProp : "Žymimosios akutės savybės", -ImageButtonProp : "Vaizdinio mygtuko savybės", -TextFieldProp : "Teksto lauko savybės", -SelectionFieldProp : "Atrankos lauko savybės", -TextareaProp : "Teksto srities savybės", -FormProp : "Formos savybės", - -FontFormats : "Normalus;Formuotas;Kreipinio;Antraštinis 1;Antraštinis 2;Antraštinis 3;Antraštinis 4;Antraštinis 5;Antraštinis 6", - -// Alerts and Messages -ProcessingXHTML : "Apdorojamas XHTML. Prašome palaukti...", -Done : "Baigta", -PasteWordConfirm : "Įdedamas tekstas yra panašus į kopiją iš Word. Ar Jūs norite prieš įdėjimą išvalyti jį?", -NotCompatiblePaste : "Ši komanda yra prieinama tik per Internet Explorer 5.5 ar aukštesnę versiją. Ar Jūs norite įterpti be valymo?", -UnknownToolbarItem : "Nežinomas mygtukų juosta elementas \"%1\"", -UnknownCommand : "Nežinomas komandos vardas \"%1\"", -NotImplemented : "Komanda nėra įgyvendinta", -UnknownToolbarSet : "Mygtukų juostos rinkinys \"%1\" neegzistuoja", -NoActiveX : "Jūsų naršyklės saugumo nuostatos gali riboti kai kurias redaktoriaus savybes. Jūs turite aktyvuoti opciją \"Run ActiveX controls and plug-ins\". Kitu atveju Jums bus pranešama apie klaidas ir trūkstamas savybes.", -BrowseServerBlocked : "Neįmanoma atidaryti naujo naršyklės lango. Įsitikinkite, kad iškylančių langų blokavimo programos neveiksnios.", -DialogBlocked : "Neįmanoma atidaryti dialogo lango. Įsitikinkite, kad iškylančių langų blokavimo programos neveiksnios.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Nutraukti", -DlgBtnClose : "Uždaryti", -DlgBtnBrowseServer : "Naršyti po serverį", -DlgAdvancedTag : "Papildomas", -DlgOpOther : "", -DlgInfoTab : "Informacija", -DlgAlertUrl : "Prašome įrašyti URL", - -// General Dialogs Labels -DlgGenNotSet : "", -DlgGenId : "Id", -DlgGenLangDir : "Teksto kryptis", -DlgGenLangDirLtr : "Iš kairės į dešinę (LTR)", -DlgGenLangDirRtl : "Iš dešinės į kairę (RTL)", -DlgGenLangCode : "Kalbos kodas", -DlgGenAccessKey : "Prieigos raktas", -DlgGenName : "Vardas", -DlgGenTabIndex : "Tabuliavimo indeksas", -DlgGenLongDescr : "Ilgas aprašymas URL", -DlgGenClass : "Stilių lentelės klasės", -DlgGenTitle : "Konsultacinė antraštė", -DlgGenContType : "Konsultacinio turinio tipas", -DlgGenLinkCharset : "Susietų išteklių simbolių lentelė", -DlgGenStyle : "Stilius", - -// Image Dialog -DlgImgTitle : "Vaizdo savybės", -DlgImgInfoTab : "Vaizdo informacija", -DlgImgBtnUpload : "Siųsti į serverį", -DlgImgURL : "URL", -DlgImgUpload : "Nusiųsti", -DlgImgAlt : "Alternatyvus Tekstas", -DlgImgWidth : "Plotis", -DlgImgHeight : "Aukštis", -DlgImgLockRatio : "Išlaikyti proporciją", -DlgBtnResetSize : "Atstatyti dydį", -DlgImgBorder : "Rėmelis", -DlgImgHSpace : "Hor.Erdvė", -DlgImgVSpace : "Vert.Erdvė", -DlgImgAlign : "Lygiuoti", -DlgImgAlignLeft : "Kairę", -DlgImgAlignAbsBottom: "Absoliučią apačią", -DlgImgAlignAbsMiddle: "Absoliutų vidurį", -DlgImgAlignBaseline : "Apatinę liniją", -DlgImgAlignBottom : "Apačią", -DlgImgAlignMiddle : "Vidurį", -DlgImgAlignRight : "Dešinę", -DlgImgAlignTextTop : "Teksto viršūnę", -DlgImgAlignTop : "Viršūnę", -DlgImgPreview : "Peržiūra", -DlgImgAlertUrl : "Prašome įvesti vaizdo URL", -DlgImgLinkTab : "Nuoroda", - -// Flash Dialog -DlgFlashTitle : "Flash savybės", -DlgFlashChkPlay : "Automatinis paleidimas", -DlgFlashChkLoop : "Ciklas", -DlgFlashChkMenu : "Leisti Flash meniu", -DlgFlashScale : "Mastelis", -DlgFlashScaleAll : "Rodyti visą", -DlgFlashScaleNoBorder : "Be rėmelio", -DlgFlashScaleFit : "Tikslus atitikimas", - -// Link Dialog -DlgLnkWindowTitle : "Nuoroda", -DlgLnkInfoTab : "Nuorodos informacija", -DlgLnkTargetTab : "Paskirtis", - -DlgLnkType : "Nuorodos tipas", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Žymė šiame puslapyje", -DlgLnkTypeEMail : "El.paštas", -DlgLnkProto : "Protokolas", -DlgLnkProtoOther : "", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Pasirinkite žymę", -DlgLnkAnchorByName : "Pagal žymės vardą", -DlgLnkAnchorById : "Pagal žymės Id", -DlgLnkNoAnchors : "(Šiame dokumente žymių nėra)", -DlgLnkEMail : "El.pašto adresas", -DlgLnkEMailSubject : "Žinutės tema", -DlgLnkEMailBody : "Žinutės turinys", -DlgLnkUpload : "Siųsti", -DlgLnkBtnUpload : "Siųsti į serverį", - -DlgLnkTarget : "Paskirties vieta", -DlgLnkTargetFrame : "", -DlgLnkTargetPopup : "", -DlgLnkTargetBlank : "Naujas langas (_blank)", -DlgLnkTargetParent : "Pirminis langas (_parent)", -DlgLnkTargetSelf : "Tas pats langas (_self)", -DlgLnkTargetTop : "Svarbiausias langas (_top)", -DlgLnkTargetFrameName : "Paskirties kadro vardas", -DlgLnkPopWinName : "Paskirties lango vardas", -DlgLnkPopWinFeat : "Išskleidžiamo lango savybės", -DlgLnkPopResize : "Keičiamas dydis", -DlgLnkPopLocation : "Adreso juosta", -DlgLnkPopMenu : "Meniu juosta", -DlgLnkPopScroll : "Slinkties juostos", -DlgLnkPopStatus : "Būsenos juosta", -DlgLnkPopToolbar : "Mygtukų juosta", -DlgLnkPopFullScrn : "Visas ekranas (IE)", -DlgLnkPopDependent : "Priklausomas (Netscape)", -DlgLnkPopWidth : "Plotis", -DlgLnkPopHeight : "Aukštis", -DlgLnkPopLeft : "Kairė pozicija", -DlgLnkPopTop : "Viršutinė pozicija", - -DlnLnkMsgNoUrl : "Prašome įvesti nuorodos URL", -DlnLnkMsgNoEMail : "Prašome įvesti el.pašto adresą", -DlnLnkMsgNoAnchor : "Prašome pasirinkti žymę", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Pasirinkite spalvą", -DlgColorBtnClear : "Trinti", -DlgColorHighlight : "Paryškinta", -DlgColorSelected : "Pažymėta", - -// Smiley Dialog -DlgSmileyTitle : "Įterpti veidelį", - -// Special Character Dialog -DlgSpecialCharTitle : "Pasirinkite specialų simbolį", - -// Table Dialog -DlgTableTitle : "Lentelės savybės", -DlgTableRows : "Eilutės", -DlgTableColumns : "Stulpeliai", -DlgTableBorder : "Rėmelio dydis", -DlgTableAlign : "Lygiuoti", -DlgTableAlignNotSet : "", -DlgTableAlignLeft : "Kairę", -DlgTableAlignCenter : "Centrą", -DlgTableAlignRight : "Dešinę", -DlgTableWidth : "Plotis", -DlgTableWidthPx : "taškais", -DlgTableWidthPc : "procentais", -DlgTableHeight : "Aukštis", -DlgTableCellSpace : "Tarpas tarp langelių", -DlgTableCellPad : "Trapas nuo langelio rėmo iki teksto", -DlgTableCaption : "Antraštė", -DlgTableSummary : "Santrauka", - -// Table Cell Dialog -DlgCellTitle : "Langelio savybės", -DlgCellWidth : "Plotis", -DlgCellWidthPx : "taškais", -DlgCellWidthPc : "procentais", -DlgCellHeight : "Aukštis", -DlgCellWordWrap : "Teksto laužymas", -DlgCellWordWrapNotSet : "", -DlgCellWordWrapYes : "Taip", -DlgCellWordWrapNo : "Ne", -DlgCellHorAlign : "Horizontaliai lygiuoti", -DlgCellHorAlignNotSet : "", -DlgCellHorAlignLeft : "Kairę", -DlgCellHorAlignCenter : "Centrą", -DlgCellHorAlignRight: "Dešinę", -DlgCellVerAlign : "Vertikaliai lygiuoti", -DlgCellVerAlignNotSet : "", -DlgCellVerAlignTop : "Viršų", -DlgCellVerAlignMiddle : "Vidurį", -DlgCellVerAlignBottom : "Apačią", -DlgCellVerAlignBaseline : "Apatinę liniją", -DlgCellRowSpan : "Eilučių apjungimas", -DlgCellCollSpan : "Stulpelių apjungimas", -DlgCellBackColor : "Fono spalva", -DlgCellBorderColor : "Rėmelio spalva", -DlgCellBtnSelect : "Pažymėti...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Paieška", -DlgFindFindBtn : "Surasti", -DlgFindNotFoundMsg : "Nurodytas tekstas nerastas.", - -// Replace Dialog -DlgReplaceTitle : "Pakeisti", -DlgReplaceFindLbl : "Surasti tekstą:", -DlgReplaceReplaceLbl : "Pakeisti tekstu:", -DlgReplaceCaseChk : "Skirti didžiąsias ir mažąsias raides", -DlgReplaceReplaceBtn : "Pakeisti", -DlgReplaceReplAllBtn : "Pakeisti viską", -DlgReplaceWordChk : "Atitikti pilną žodį", - -// Paste Operations / Dialog -PasteErrorCut : "Jūsų naršyklės saugumo nustatymai neleidžia redaktoriui automatiškai įvykdyti iškirpimo operacijų. Tam prašome naudoti klaviatūrą (Ctrl+X).", -PasteErrorCopy : "Jūsų naršyklės saugumo nustatymai neleidžia redaktoriui automatiškai įvykdyti kopijavimo operacijų. Tam prašome naudoti klaviatūrą (Ctrl+C).", - -PasteAsText : "Įdėti kaip gryną tekstą", -PasteFromWord : "Įdėti iš Word", - -DlgPasteMsg2 : "Žemiau esančiame įvedimo lauke įdėkite tekstą, naudodami klaviatūrą (Ctrl+V) ir spūstelkite mygtuką OK.", -DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING -DlgPasteIgnoreFont : "Ignoruoti šriftų nustatymus", -DlgPasteRemoveStyles : "Pašalinti stilių nustatymus", - -// Color Picker -ColorAutomatic : "Automatinis", -ColorMoreColors : "Daugiau spalvų...", - -// Document Properties -DocProps : "Dokumento savybės", - -// Anchor Dialog -DlgAnchorTitle : "Žymės savybės", -DlgAnchorName : "Žymės vardas", -DlgAnchorErrorName : "Prašome įvesti žymės vardą", - -// Speller Pages Dialog -DlgSpellNotInDic : "Žodyne nerastas", -DlgSpellChangeTo : "Pakeisti į", -DlgSpellBtnIgnore : "Ignoruoti", -DlgSpellBtnIgnoreAll : "Ignoruoti visus", -DlgSpellBtnReplace : "Pakeisti", -DlgSpellBtnReplaceAll : "Pakeisti visus", -DlgSpellBtnUndo : "Atšaukti", -DlgSpellNoSuggestions : "- Nėra pasiūlymų -", -DlgSpellProgress : "Vyksta rašybos tikrinimas...", -DlgSpellNoMispell : "Rašybos tikrinimas baigtas: Nerasta rašybos klaidų", -DlgSpellNoChanges : "Rašybos tikrinimas baigtas: Nėra pakeistų žodžių", -DlgSpellOneChange : "Rašybos tikrinimas baigtas: Vienas žodis pakeistas", -DlgSpellManyChanges : "Rašybos tikrinimas baigtas: Pakeista %1 žodžių", - -IeSpellDownload : "Rašybos tikrinimas neinstaliuotas. Ar Jūs norite jį dabar atsisiųsti?", - -// Button Dialog -DlgButtonText : "Tekstas (Reikšmė)", -DlgButtonType : "Tipas", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Vardas", -DlgCheckboxValue : "Reikšmė", -DlgCheckboxSelected : "Pažymėtas", - -// Form Dialog -DlgFormName : "Vardas", -DlgFormAction : "Veiksmas", -DlgFormMethod : "Metodas", - -// Select Field Dialog -DlgSelectName : "Vardas", -DlgSelectValue : "Reikšmė", -DlgSelectSize : "Dydis", -DlgSelectLines : "eilučių", -DlgSelectChkMulti : "Leisti daugeriopą atranką", -DlgSelectOpAvail : "Galimos parinktys", -DlgSelectOpText : "Tekstas", -DlgSelectOpValue : "Reikšmė", -DlgSelectBtnAdd : "Įtraukti", -DlgSelectBtnModify : "Modifikuoti", -DlgSelectBtnUp : "Aukštyn", -DlgSelectBtnDown : "Žemyn", -DlgSelectBtnSetValue : "Laikyti pažymėta reikšme", -DlgSelectBtnDelete : "Trinti", - -// Textarea Dialog -DlgTextareaName : "Vardas", -DlgTextareaCols : "Ilgis", -DlgTextareaRows : "Plotis", - -// Text Field Dialog -DlgTextName : "Vardas", -DlgTextValue : "Reikšmė", -DlgTextCharWidth : "Ilgis simboliais", -DlgTextMaxChars : "Maksimalus simbolių skaičius", -DlgTextType : "Tipas", -DlgTextTypeText : "Tekstas", -DlgTextTypePass : "Slaptažodis", - -// Hidden Field Dialog -DlgHiddenName : "Vardas", -DlgHiddenValue : "Reikšmė", - -// Bulleted List Dialog -BulletedListProp : "Suženklinto sąrašo savybės", -NumberedListProp : "Numeruoto sąrašo savybės", -DlgLstStart : "Start", //MISSING -DlgLstType : "Tipas", -DlgLstTypeCircle : "Apskritimas", -DlgLstTypeDisc : "Diskas", -DlgLstTypeSquare : "Kvadratas", -DlgLstTypeNumbers : "Skaičiai (1, 2, 3)", -DlgLstTypeLCase : "Mažosios raidės (a, b, c)", -DlgLstTypeUCase : "Didžiosios raidės (A, B, C)", -DlgLstTypeSRoman : "Romėnų mažieji skaičiai (i, ii, iii)", -DlgLstTypeLRoman : "Romėnų didieji skaičiai (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Bendros savybės", -DlgDocBackTab : "Fonas", -DlgDocColorsTab : "Spalvos ir kraštinės", -DlgDocMetaTab : "Meta duomenys", - -DlgDocPageTitle : "Puslapio antraštė", -DlgDocLangDir : "Kalbos kryptis", -DlgDocLangDirLTR : "Iš kairės į dešinę (LTR)", -DlgDocLangDirRTL : "Iš dešinės į kairę (RTL)", -DlgDocLangCode : "Kalbos kodas", -DlgDocCharSet : "Simbolių kodavimo lentelė", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Kita simbolių kodavimo lentelė", - -DlgDocDocType : "Dokumento tipo antraštė", -DlgDocDocTypeOther : "Kita dokumento tipo antraštė", -DlgDocIncXHTML : "Įtraukti XHTML deklaracijas", -DlgDocBgColor : "Fono spalva", -DlgDocBgImage : "Fono paveikslėlio nuoroda (URL)", -DlgDocBgNoScroll : "Neslenkantis fonas", -DlgDocCText : "Tekstas", -DlgDocCLink : "Nuoroda", -DlgDocCVisited : "Aplankyta nuoroda", -DlgDocCActive : "Aktyvi nuoroda", -DlgDocMargins : "Puslapio kraštinės", -DlgDocMaTop : "Viršuje", -DlgDocMaLeft : "Kairėje", -DlgDocMaRight : "Dešinėje", -DlgDocMaBottom : "Apačioje", -DlgDocMeIndex : "Dokumento indeksavimo raktiniai žodžiai (atskirti kableliais)", -DlgDocMeDescr : "Dokumento apibūdinimas", -DlgDocMeAuthor : "Autorius", -DlgDocMeCopy : "Autorinės teisės", -DlgDocPreview : "Peržiūra", - -// Templates Dialog -Templates : "Šablonai", -DlgTemplatesTitle : "Turinio šablonai", -DlgTemplatesSelMsg : "Pasirinkite norimą šabloną
    (Dėmesio! esamas turinys bus prarastas):", -DlgTemplatesLoading : "Įkeliamas šablonų sąrašas. Prašome palaukti...", -DlgTemplatesNoTpl : "(Šablonų sąrašas tuščias)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "Apie", -DlgAboutBrowserInfoTab : "Naršyklės informacija", -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "versija", -DlgAboutInfo : "Papildomą informaciją galima gauti", - -// Div Dialog -DlgDivGeneralTab : "General", //MISSING -DlgDivAdvancedTab : "Advanced", //MISSING -DlgDivStyle : "Style", //MISSING -DlgDivInlineStyle : "Inline Style" //MISSING -}; diff --git a/modules/editor/skins/fckeditor/editor/lang/lv.js b/modules/editor/skins/fckeditor/editor/lang/lv.js deleted file mode 100644 index 1db14abfd..000000000 --- a/modules/editor/skins/fckeditor/editor/lang/lv.js +++ /dev/null @@ -1,526 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2008 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Latvian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Samazināt rīku joslu", -ToolbarExpand : "Paplašināt rīku joslu", - -// Toolbar Items and Context Menu -Save : "Saglabāt", -NewPage : "Jauna lapa", -Preview : "Pārskatīt", -Cut : "Izgriezt", -Copy : "Kopēt", -Paste : "Ievietot", -PasteText : "Ievietot kā vienkāršu tekstu", -PasteWord : "Ievietot no Worda", -Print : "Drukāt", -SelectAll : "Iezīmēt visu", -RemoveFormat : "Noņemt stilus", -InsertLinkLbl : "Hipersaite", -InsertLink : "Ievietot/Labot hipersaiti", -RemoveLink : "Noņemt hipersaiti", -VisitLink : "Open Link", //MISSING -Anchor : "Ievietot/Labot iezīmi", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Attēls", -InsertImage : "Ievietot/Labot Attēlu", -InsertFlashLbl : "Flash", -InsertFlash : "Ievietot/Labot Flash", -InsertTableLbl : "Tabula", -InsertTable : "Ievietot/Labot Tabulu", -InsertLineLbl : "Atdalītājsvītra", -InsertLine : "Ievietot horizontālu Atdalītājsvītru", -InsertSpecialCharLbl: "Īpašs simbols", -InsertSpecialChar : "Ievietot speciālo simbolu", -InsertSmileyLbl : "Smaidiņi", -InsertSmiley : "Ievietot smaidiņu", -About : "Īsumā par FCKeditor", -Bold : "Treknu šriftu", -Italic : "Slīprakstā", -Underline : "Apakšsvītra", -StrikeThrough : "Pārsvītrots", -Subscript : "Zemrakstā", -Superscript : "Augšrakstā", -LeftJustify : "Izlīdzināt pa kreisi", -CenterJustify : "Izlīdzināt pret centru", -RightJustify : "Izlīdzināt pa labi", -BlockJustify : "Izlīdzināt malas", -DecreaseIndent : "Samazināt atkāpi", -IncreaseIndent : "Palielināt atkāpi", -Blockquote : "Blockquote", //MISSING -CreateDiv : "Create Div Container", //MISSING -EditDiv : "Edit Div Container", //MISSING -DeleteDiv : "Remove Div Container", //MISSING -Undo : "Atcelt", -Redo : "Atkārtot", -NumberedListLbl : "Numurēts saraksts", -NumberedList : "Ievietot/Noņemt numerēto sarakstu", -BulletedListLbl : "Izcelts saraksts", -BulletedList : "Ievietot/Noņemt izceltu sarakstu", -ShowTableBorders : "Parādīt tabulas robežas", -ShowDetails : "Parādīt sīkāku informāciju", -Style : "Stils", -FontFormat : "Formāts", -Font : "Šrifts", -FontSize : "Izmērs", -TextColor : "Teksta krāsa", -BGColor : "Fona krāsa", -Source : "HTML kods", -Find : "Meklēt", -Replace : "Nomainīt", -SpellCheck : "Pareizrakstības pārbaude", -UniversalKeyboard : "Universāla klaviatūra", -PageBreakLbl : "Lapas pārtraukums", -PageBreak : "Ievietot lapas pārtraukumu", - -Form : "Forma", -Checkbox : "Atzīmēšanas kastīte", -RadioButton : "Izvēles poga", -TextField : "Teksta rinda", -Textarea : "Teksta laukums", -HiddenField : "Paslēpta teksta rinda", -Button : "Poga", -SelectionField : "Iezīmēšanas lauks", -ImageButton : "Attēlpoga", - -FitWindow : "Maksimizēt redaktora izmēru", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Labot hipersaiti", -CellCM : "Šūna", -RowCM : "Rinda", -ColumnCM : "Kolonna", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Dzēst rindas", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Dzēst kolonnas", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Dzēst rūtiņas", -MergeCells : "Apvienot rūtiņas", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Dzēst tabulu", -CellProperties : "Rūtiņas īpašības", -TableProperties : "Tabulas īpašības", -ImageProperties : "Attēla īpašības", -FlashProperties : "Flash īpašības", - -AnchorProp : "Iezīmes īpašības", -ButtonProp : "Pogas īpašības", -CheckboxProp : "Atzīmēšanas kastītes īpašības", -HiddenFieldProp : "Paslēptās teksta rindas īpašības", -RadioButtonProp : "Izvēles poga īpašības", -ImageButtonProp : "Attēlpogas īpašības", -TextFieldProp : "Teksta rindas īpašības", -SelectionFieldProp : "Iezīmēšanas lauka īpašības", -TextareaProp : "Teksta laukuma īpašības", -FormProp : "Formas īpašības", - -FontFormats : "Normāls teksts;Formatēts teksts;Adrese;Virsraksts 1;Virsraksts 2;Virsraksts 3;Virsraksts 4;Virsraksts 5;Virsraksts 6;Rindkopa (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Tiek apstrādāts XHTML. Lūdzu uzgaidiet...", -Done : "Darīts", -PasteWordConfirm : "Teksta fragments, kas tiek ievietots, izskatās, ka būtu sagatavots Word'ā. Vai vēlaties to apstrādāt pirms ievietošanas?", -NotCompatiblePaste : "Šī darbība ir pieejama Internet Explorer'ī, kas jaunāks par 5.5 versiju. Vai vēlaties ievietot bez apstrādes?", -UnknownToolbarItem : "Nezināms rīku joslas objekts \"%1\"", -UnknownCommand : "Nezināmas darbības nosaukums \"%1\"", -NotImplemented : "Darbība netika paveikta", -UnknownToolbarSet : "Rīku joslas komplekts \"%1\" neeksistē", -NoActiveX : "Interneta pārlūkprogrammas drošības uzstādījumi varētu ietekmēt dažas no redaktora īpašībām. Jābūt aktivizētai sadaļai \"Run ActiveX controls and plug-ins\". Savādāk ir iespējamas kļūdas darbībā un kļūdu paziņojumu parādīšanās.", -BrowseServerBlocked : "Resursu pārlūks nevar tikt atvērts. Pārliecinieties, ka uznirstošo logu bloķētāji ir atslēgti.", -DialogBlocked : "Nav iespējams atvērt dialoglogu. Pārliecinieties, ka uznirstošo logu bloķētāji ir atslēgti.", -VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "Darīts!", -DlgBtnCancel : "Atcelt", -DlgBtnClose : "Aizvērt", -DlgBtnBrowseServer : "Skatīt servera saturu", -DlgAdvancedTag : "Izvērstais", -DlgOpOther : "", -DlgInfoTab : "Informācija", -DlgAlertUrl : "Lūdzu, ievietojiet hipersaiti", - -// General Dialogs Labels -DlgGenNotSet : "