From 08022a1ddb0539014d7ebd05ec31da149c52555c Mon Sep 17 00:00:00 2001 From: khongchi Date: Thu, 7 Nov 2013 02:29:45 +0000 Subject: [PATCH 001/473] block 'phar' file upload git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13179 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/file/file.controller.php | 2 +- modules/importer/importer.admin.controller.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/file/file.controller.php b/modules/file/file.controller.php index f8c072c52..0fc4bf5e8 100644 --- a/modules/file/file.controller.php +++ b/modules/file/file.controller.php @@ -636,7 +636,7 @@ class fileController extends file if(preg_match("/\.(jpe?g|gif|png|wm[va]|mpe?g|avi|swf|flv|mp[1-4]|as[fx]|wav|midi?|moo?v|qt|r[am]{1,2}|m4v)$/i", $file_info['name'])) { // Immediately remove the direct file if it has any kind of extensions for hacking - $file_info['name'] = preg_replace('/\.(php|phtm|html?|cgi|pl|exe|jsp|asp|inc)/i', '$0-x',$file_info['name']); + $file_info['name'] = preg_replace('/\.(php|phtm|phar|html?|cgi|pl|exe|jsp|asp|inc)/i', '$0-x',$file_info['name']); $file_info['name'] = str_replace(array('<','>'),array('%3C','%3E'),$file_info['name']); $path = sprintf("./files/attach/images/%s/%s", $module_srl,getNumberingPath($upload_target_srl,3)); diff --git a/modules/importer/importer.admin.controller.php b/modules/importer/importer.admin.controller.php index 6eb554a21..c47b20aea 100644 --- a/modules/importer/importer.admin.controller.php +++ b/modules/importer/importer.admin.controller.php @@ -1056,7 +1056,7 @@ class importerAdminController extends importer if(preg_match("/\.(jpe?g|gif|png|wm[va]|mpe?g|avi|swf|flv|mp[1-4]|as[fx]|wav|midi?|moo?v|qt|r[am]{1,2}|m4v)$/i", $file_obj->source_filename)) { // Immediately remove the direct file if it has any kind of extensions for hacking - $file_obj->source_filename = preg_replace('/\.(php|phtm|html?|cgi|pl|exe|jsp|asp|inc)/i', '$0-x', $file_obj->source_filename); + $file_obj->source_filename = preg_replace('/\.(php|phtm|phar|html?|cgi|pl|exe|jsp|asp|inc)/i', '$0-x', $file_obj->source_filename); $file_obj->source_filename = str_replace(array('<', '>'), array('%3C', '%3E'), $file_obj->source_filename); $path = sprintf("./files/attach/images/%s/%s", $module_srl, getNumberingPath($upload_target_srl, 3)); From dbc18a4f99885eabb635475669707f9c556c96e4 Mon Sep 17 00:00:00 2001 From: ngleader Date: Thu, 7 Nov 2013 02:42:42 +0000 Subject: [PATCH 002/473] change author git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13180 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- addons/adminlogging/adminlogging.addon.php | 2 +- addons/adminlogging/conf/info.xml | 18 ++++----- addons/autolink/autolink.addon.php | 2 +- addons/autolink/autolink.js | 2 +- addons/autolink/conf/info.xml | 18 ++++----- addons/blogapi/blogapi.addon.php | 2 +- addons/blogapi/blogapi.func.php | 2 +- addons/blogapi/conf/info.xml | 18 ++++----- addons/captcha/captcha.addon.php | 2 +- addons/captcha/conf/info.xml | 14 +++---- addons/counter/conf/info.xml | 18 ++++----- addons/counter/counter.addon.php | 2 +- addons/member_communication/conf/info.xml | 18 ++++----- .../member_communication.addon.php | 2 +- addons/member_extra_info/conf/info.xml | 18 ++++----- .../member_extra_info.addon.php | 2 +- addons/mobile/classes/hdml.class.php | 2 +- addons/mobile/classes/mhtml.class.php | 2 +- addons/mobile/classes/mobile.class.php | 2 +- addons/mobile/classes/wml.class.php | 2 +- addons/mobile/conf/info.xml | 14 +++---- addons/mobile/mobile.addon.php | 2 +- addons/openid_delegation_id/conf/info.xml | 18 ++++----- .../openid_delegation_id.addon.php | 2 +- addons/point_level_icon/conf/info.xml | 18 ++++----- .../point_level_icon.addon.php | 2 +- addons/resize_image/conf/info.xml | 18 ++++----- addons/resize_image/resize_image.addon.php | 2 +- classes/cache/CacheApc.class.php | 2 +- classes/cache/CacheHandler.class.php | 4 +- classes/cache/CacheMemcache.class.php | 2 +- classes/context/Context.class.php | 2 +- classes/db/DB.class.php | 2 +- classes/db/DBCubrid.class.php | 2 +- classes/db/DBMssql.class.php | 2 +- classes/db/DBMysql.class.php | 2 +- classes/db/DBMysql_innodb.class.php | 2 +- classes/db/DBMysqli.class.php | 2 +- classes/db/queryparts/Query.class.php | 2 +- classes/db/queryparts/Subquery.class.php | 2 +- .../queryparts/condition/Condition.class.php | 2 +- .../condition/ConditionGroup.class.php | 2 +- .../condition/ConditionSubquery.class.php | 2 +- .../condition/ConditionWithArgument.class.php | 2 +- .../ConditionWithoutArgument.class.php | 2 +- classes/db/queryparts/limit/Limit.class.php | 2 +- .../queryparts/order/OrderByColumn.class.php | 2 +- .../table/CubridTableWithHint.class.php | 2 +- .../db/queryparts/table/IndexHint.class.php | 2 +- .../table/MssqlTableWithHint.class.php | 2 +- .../table/MysqlTableWithHint.class.php | 2 +- classes/db/queryparts/table/Table.class.php | 2 +- classes/display/DisplayHandler.class.php | 2 +- classes/editor/EditorHandler.class.php | 2 +- classes/extravar/Extravar.class.php | 4 +- classes/file/FileHandler.class.php | 2 +- classes/file/FileObject.class.php | 2 +- .../FrontEndFileHandler.class.php | 2 +- classes/handler/Handler.class.php | 2 +- classes/httprequest/XEHttpRequest.class.php | 2 +- classes/mail/Mail.class.php | 2 +- classes/mobile/Mobile.class.php | 2 +- classes/module/ModuleHandler.class.php | 2 +- classes/module/ModuleObject.class.php | 2 +- classes/object/Object.class.php | 2 +- classes/page/PageHandler.class.php | 2 +- classes/security/Security.class.php | 2 +- classes/security/conf/embedWhiteUrl.xml | 8 ++-- classes/template/TemplateHandler.class.php | 2 +- classes/validator/Validator.class.php | 2 +- classes/widget/WidgetHandler.class.php | 2 +- classes/xml/GeneralXmlParser.class.php | 2 +- classes/xml/XmlGenerator.class.php | 2 +- classes/xml/XmlJsFilter.class.php | 2 +- classes/xml/XmlLangParser.class.php | 2 +- classes/xml/XmlParser.class.php | 4 +- classes/xml/XmlQueryParser.class.php | 2 +- .../xml/xmlquery/argument/Argument.class.php | 2 +- .../argument/ConditionArgument.class.php | 2 +- .../xmlquery/argument/SortArgument.class.php | 2 +- .../queryargument/DefaultValue.class.php | 2 +- .../queryargument/QueryArgument.class.php | 2 +- .../queryargument/SortQueryArgument.class.php | 2 +- .../QueryArgumentValidator.class.php | 2 +- common/css/xe.css | 2 +- common/js/common.js | 2 +- common/js/js_app.js | 2 +- common/js/plugins/ui.calendar/ui.calendar.js | 2 +- .../plugins/ui.colorpicker/xe_colorpicker.js | 2 +- .../plugins/watchinput/jquery.watchinput.js | 2 +- common/js/xe.header.js | 2 +- common/js/xe.js | 10 ++--- common/js/xml_handler.js | 2 +- common/js/xml_js_filter.js | 2 +- config/config.inc.php | 2 +- config/func.inc.php | 2 +- index.php | 2 +- layouts/default/conf/info.xml | 4 +- layouts/xe_official/conf/info.xml | 40 +++++++++---------- layouts/xe_official/css/black.css | 2 +- layouts/xe_official/css/default.css | 2 +- layouts/xe_official/css/white.css | 2 +- libs/ftp.class.php | 2 +- m.layouts/colorCode/conf/info.xml | 18 ++++----- m.layouts/default/conf/info.xml | 20 +++++----- m.layouts/simpleGray/conf/info.xml | 10 ++--- modules/addon/addon.admin.controller.php | 2 +- modules/addon/addon.admin.model.php | 2 +- modules/addon/addon.admin.view.php | 2 +- modules/addon/addon.class.php | 2 +- modules/addon/addon.controller.php | 2 +- modules/addon/conf/info.xml | 20 +++++----- modules/admin/admin.admin.controller.php | 2 +- modules/admin/admin.admin.model.php | 2 +- modules/admin/admin.admin.view.php | 2 +- modules/admin/admin.class.php | 2 +- modules/admin/conf/info.xml | 18 ++++----- modules/admin/tpl/js/admin.js | 2 +- modules/admin/tpl/js/sitemap.js | 2 +- modules/adminlogging/adminlogging.class.php | 2 +- .../adminlogging/adminlogging.controller.php | 2 +- modules/adminlogging/adminlogging.model.php | 2 +- modules/adminlogging/conf/info.xml | 18 ++++----- .../autoinstall.admin.controller.php | 2 +- .../autoinstall/autoinstall.admin.model.php | 2 +- .../autoinstall/autoinstall.admin.view.php | 2 +- modules/autoinstall/autoinstall.class.php | 4 +- modules/autoinstall/autoinstall.lib.php | 8 ++-- modules/autoinstall/autoinstall.model.php | 2 +- modules/autoinstall/conf/info.xml | 14 +++---- modules/autoinstall/tpl/css/autoinstall.css | 2 +- modules/comment/comment.admin.controller.php | 2 +- modules/comment/comment.admin.view.php | 2 +- modules/comment/comment.class.php | 2 +- modules/comment/comment.controller.php | 2 +- modules/comment/comment.item.php | 2 +- modules/comment/comment.model.php | 2 +- modules/comment/comment.view.php | 2 +- modules/comment/conf/info.xml | 18 ++++----- .../communication.admin.controller.php | 2 +- .../communication.admin.model.php | 2 +- .../communication.admin.view.php | 2 +- modules/communication/communication.class.php | 2 +- .../communication.controller.php | 2 +- .../communication/communication.mobile.php | 2 +- modules/communication/communication.model.php | 2 +- modules/communication/communication.view.php | 2 +- modules/communication/conf/info.xml | 16 ++++---- .../communication/m.skins/default/skin.xml | 10 ++--- modules/communication/skins/default/skin.xml | 36 ++++++++--------- modules/counter/conf/info.xml | 18 ++++----- modules/counter/counter.admin.view.php | 2 +- modules/counter/counter.class.php | 2 +- modules/counter/counter.controller.php | 2 +- modules/counter/counter.model.php | 2 +- modules/document/conf/info.xml | 18 ++++----- .../document/document.admin.controller.php | 2 +- modules/document/document.admin.model.php | 2 +- modules/document/document.admin.view.php | 2 +- modules/document/document.class.php | 2 +- modules/document/document.controller.php | 2 +- modules/document/document.item.php | 2 +- modules/document/document.model.php | 2 +- modules/document/document.view.php | 2 +- modules/document/tpl/js/document_category.js | 2 +- .../components/emoticon/emoticon.class.php | 2 +- modules/editor/components/emoticon/info.xml | 18 ++++----- .../image_gallery/image_gallery.class.php | 2 +- .../editor/components/image_gallery/info.xml | 18 ++++----- .../image_gallery/tpl/list_gallery.js | 2 +- .../image_gallery/tpl/list_gallery.min.js | 2 +- .../image_gallery/tpl/popup.min.css | 2 +- .../image_gallery/tpl/slide_gallery.js | 2 +- .../image_gallery/tpl/slide_gallery.min.css | 2 +- .../image_gallery/tpl/slide_gallery.min.js | 2 +- .../image_link/image_link.class.php | 2 +- modules/editor/components/image_link/info.xml | 18 ++++----- .../components/multimedia_link/info.xml | 18 ++++----- .../multimedia_link/multimedia_link.class.php | 2 +- modules/editor/components/poll_maker/info.xml | 18 ++++----- .../poll_maker/poll_maker.class.php | 2 +- modules/editor/conf/info.xml | 18 ++++----- modules/editor/editor.admin.controller.php | 2 +- modules/editor/editor.admin.view.php | 2 +- modules/editor/editor.api.php | 2 +- modules/editor/editor.class.php | 2 +- modules/editor/editor.controller.php | 2 +- modules/editor/editor.model.php | 2 +- modules/editor/editor.view.php | 2 +- .../skins/dreditor/drcomponents/fold/info.xml | 10 ++--- .../dreditor/drcomponents/fold/tpl/fold.js | 2 +- modules/editor/skins/dreditor/js/DrEditor.js | 2 +- .../editor/skins/dreditor/js/Xpress_Editor.js | 2 +- .../editor/skins/dreditor/js/xe_interface.js | 2 +- modules/editor/skins/dreditor/skin.xml | 14 +++---- .../editor/skins/xpresseditor/css/default.css | 2 +- .../skins/xpresseditor/js/Xpress_Editor.js | 12 +++--- .../skins/xpresseditor/js/xpresseditor.js | 12 +++--- modules/editor/skins/xpresseditor/skin.xml | 30 +++++++------- modules/editor/styles/default/editor.css | 2 +- modules/editor/styles/default/skin.xml | 14 +++---- modules/editor/styles/default/style.css | 2 +- modules/editor/styles/dreditor/editor.css | 2 +- modules/editor/styles/dreditor/skin.xml | 6 +-- modules/editor/styles/dreditor/style.css | 2 +- modules/editor/styles/xeStyle/editor.css | 2 +- modules/editor/styles/xeStyle/skin.xml | 12 +++--- modules/editor/styles/xeStyle/style.css | 2 +- modules/editor/styles/xeStyleBlack/editor.css | 2 +- modules/editor/styles/xeStyleBlack/skin.xml | 12 +++--- modules/editor/styles/xeStyleBlack/style.css | 2 +- modules/editor/tpl/js/editor.js | 2 +- modules/editor/tpl/js/editor_admin.js | 2 +- modules/editor/tpl/js/uploader.js | 2 +- modules/file/conf/info.xml | 18 ++++----- modules/file/file.admin.controller.php | 2 +- modules/file/file.admin.model.php | 2 +- modules/file/file.admin.view.php | 2 +- modules/file/file.class.php | 2 +- modules/file/file.controller.php | 2 +- modules/file/file.model.php | 2 +- modules/file/file.view.php | 2 +- modules/importer/conf/info.xml | 18 ++++----- modules/importer/extract.class.php | 2 +- .../importer/importer.admin.controller.php | 2 +- modules/importer/importer.admin.view.php | 2 +- modules/importer/importer.class.php | 2 +- modules/importer/tpl/js/importer_admin.js | 2 +- modules/importer/tpl/js/importer_admin.min.js | 2 +- modules/importer/ttimport.class.php | 2 +- modules/install/conf/info.xml | 18 ++++----- modules/install/install.admin.controller.php | 2 +- modules/install/install.class.php | 2 +- modules/install/install.controller.php | 2 +- modules/install/install.view.php | 2 +- modules/install/tpl/css/install.css | 2 +- modules/integration_search/conf/info.xml | 18 ++++----- .../integration_search.admin.controller.php | 2 +- .../integration_search.admin.view.php | 2 +- .../integration_search.class.php | 2 +- .../integration_search.model.php | 2 +- .../integration_search.view.php | 2 +- .../integration_search/skins/default/skin.xml | 14 +++---- .../tpl/js/integration_search_admin.js | 2 +- modules/layout/conf/info.xml | 18 ++++----- modules/layout/faceoff/conf/info.xml | 20 +++++----- modules/layout/faceoff/css/layout.css | 2 +- modules/layout/layout.admin.controller.php | 2 +- modules/layout/layout.admin.model.php | 2 +- modules/layout/layout.admin.view.php | 2 +- modules/layout/layout.class.php | 2 +- modules/layout/layout.model.php | 2 +- modules/layout/layout.view.php | 2 +- modules/layout/tpl/css/faceoff_menu.css | 2 +- modules/layout/tpl/css/widget.css | 2 +- modules/layout/tpl/js/ui.hotkey.js | 2 +- modules/layout/tpl/js/ui.toolbar.js | 2 +- modules/member/conf/info.xml | 18 ++++----- modules/member/m.skins/default/skin.xml | 10 ++--- modules/member/member.admin.controller.php | 2 +- modules/member/member.admin.model.php | 2 +- modules/member/member.admin.view.php | 2 +- modules/member/member.api.php | 2 +- modules/member/member.class.php | 2 +- modules/member/member.controller.php | 2 +- modules/member/member.model.php | 2 +- modules/member/member.view.php | 2 +- modules/member/skins/default/skin.xml | 36 ++++++++--------- modules/member/tpl/js/signup_check.js | 2 +- modules/menu/conf/info.xml | 18 ++++----- modules/menu/menu.admin.controller.php | 2 +- modules/menu/menu.admin.model.php | 2 +- modules/menu/menu.admin.view.php | 2 +- modules/menu/menu.class.php | 2 +- modules/menu/menu.mobile.php | 2 +- modules/menu/tpl/js/sitemap.js | 2 +- modules/message/conf/info.xml | 18 ++++----- modules/message/message.admin.controller.php | 2 +- modules/message/message.admin.view.php | 2 +- modules/message/message.class.php | 2 +- modules/message/message.view.php | 2 +- modules/message/skins/default/message.css | 2 +- modules/module/conf/info.xml | 18 ++++----- modules/module/module.admin.controller.php | 2 +- modules/module/module.admin.model.php | 2 +- modules/module/module.admin.view.php | 2 +- modules/module/module.class.php | 2 +- modules/module/module.controller.php | 2 +- modules/module/module.model.php | 2 +- modules/module/module.view.php | 2 +- modules/module/tpl/js/module_admin.js | 2 +- modules/page/conf/info.xml | 18 ++++----- modules/page/m.skins/default/skin.xml | 16 ++++---- modules/page/page.admin.controller.php | 2 +- modules/page/page.admin.view.php | 2 +- modules/page/page.api.php | 2 +- modules/page/page.class.php | 2 +- modules/page/page.controller.php | 2 +- modules/page/page.view.php | 2 +- modules/page/page.wap.php | 2 +- modules/page/skins/default/skin.xml | 16 ++++---- modules/page/tpl/js/page_admin.js | 2 +- modules/point/conf/info.xml | 18 ++++----- modules/point/point.admin.controller.php | 2 +- modules/point/point.admin.view.php | 2 +- modules/point/point.class.php | 2 +- modules/point/point.controller.php | 2 +- modules/point/point.model.php | 2 +- modules/point/point.view.php | 2 +- modules/point/tpl/js/point_admin.js | 2 +- modules/poll/conf/info.xml | 18 ++++----- modules/poll/poll.admin.controller.php | 2 +- modules/poll/poll.admin.model.php | 2 +- modules/poll/poll.admin.view.php | 2 +- modules/poll/poll.class.php | 2 +- modules/poll/poll.controller.php | 2 +- modules/poll/poll.model.php | 2 +- modules/poll/skins/default/skin.xml | 14 +++---- modules/poll/skins/simple/skin.xml | 12 +++--- modules/poll/tpl/js/poll_admin.js | 2 +- modules/rss/conf/info.xml | 18 ++++----- modules/rss/rss.admin.controller.php | 2 +- modules/rss/rss.admin.view.php | 2 +- modules/rss/rss.class.php | 2 +- modules/rss/rss.controller.php | 2 +- modules/rss/rss.model.php | 2 +- modules/rss/rss.view.php | 2 +- modules/session/conf/info.xml | 14 +++---- modules/session/session.admin.controller.php | 2 +- modules/session/session.admin.view.php | 2 +- modules/session/session.class.php | 2 +- modules/session/session.controller.php | 2 +- modules/session/session.model.php | 2 +- modules/spamfilter/conf/info.xml | 18 ++++----- .../spamfilter.admin.controller.php | 2 +- modules/spamfilter/spamfilter.admin.view.php | 2 +- modules/spamfilter/spamfilter.class.php | 2 +- modules/spamfilter/spamfilter.controller.php | 2 +- modules/spamfilter/spamfilter.model.php | 2 +- modules/tag/conf/info.xml | 18 ++++----- modules/tag/tag.admin.controller.php | 2 +- modules/tag/tag.class.php | 2 +- modules/tag/tag.controller.php | 2 +- modules/tag/tag.model.php | 2 +- modules/trackback/conf/info.xml | 18 ++++----- .../trackback/trackback.admin.controller.php | 2 +- modules/trackback/trackback.admin.model.php | 2 +- modules/trackback/trackback.admin.view.php | 2 +- modules/trackback/trackback.class.php | 2 +- modules/trackback/trackback.controller.php | 2 +- modules/trackback/trackback.model.php | 2 +- modules/trackback/trackback.view.php | 2 +- modules/trash/conf/info.xml | 18 ++++----- modules/trash/tpl/js/trash_admin.js | 2 +- modules/trash/trash.admin.controller.php | 2 +- modules/trash/trash.admin.view.php | 2 +- modules/trash/trash.class.php | 2 +- modules/trash/trash.controller.php | 2 +- modules/trash/trash.model.php | 2 +- modules/trash/trash.view.php | 2 +- modules/widget/conf/info.xml | 18 ++++----- modules/widget/tpl/js/widget.js | 2 +- modules/widget/tpl/js/widget.min.js | 2 +- modules/widget/tpl/js/widget_admin.js | 2 +- modules/widget/widget.admin.view.php | 2 +- modules/widget/widget.class.php | 2 +- modules/widget/widget.controller.php | 2 +- modules/widget/widget.model.php | 2 +- modules/widget/widget.view.php | 2 +- .../xml/xmlquery/argument/data/en.lang.php | 2 +- tools/minify/minify.php | 2 +- widgets/content/conf/info.xml | 18 ++++----- widgets/content/content.class.php | 2 +- widgets/content/skins/default/skin.xml | 26 ++++++------ widgets/counter_status/conf/info.xml | 18 ++++----- .../counter_status/counter_status.class.php | 2 +- widgets/counter_status/skins/default/skin.xml | 14 +++---- widgets/language_select/conf/info.xml | 18 ++++----- .../language_select/language_select.class.php | 2 +- .../language_select/skins/default/skin.xml | 14 +++---- widgets/login_info/conf/info.xml | 18 ++++----- widgets/login_info/login_info.class.php | 2 +- widgets/login_info/skins/default/skin.xml | 4 +- widgets/login_info/skins/xe_global/skin.xml | 10 ++--- .../login_info/skins/xe_globalTwo/skin.xml | 10 ++--- widgets/login_info/skins/xe_official/skin.xml | 28 ++++++------- .../skins/xe_solid_enterprise_login/skin.xml | 16 ++++---- widgets/mcontent/conf/info.xml | 18 ++++----- widgets/mcontent/mcontent.class.php | 2 +- widgets/mcontent/skins/default/skin.xml | 6 +-- widgetstyles/simple/skin.xml | 14 +++---- 391 files changed, 1025 insertions(+), 1025 deletions(-) diff --git a/addons/adminlogging/adminlogging.addon.php b/addons/adminlogging/adminlogging.addon.php index 6253d12fd..c18c47844 100644 --- a/addons/adminlogging/adminlogging.addon.php +++ b/addons/adminlogging/adminlogging.addon.php @@ -5,7 +5,7 @@ if(!defined('__XE__')) /** * @file adminlogging.addon.php - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief Automatic link add-on */ $logged_info = Context::get('logged_info'); diff --git a/addons/adminlogging/conf/info.xml b/addons/adminlogging/conf/info.xml index b27e706ab..e1f196b9c 100644 --- a/addons/adminlogging/conf/info.xml +++ b/addons/adminlogging/conf/info.xml @@ -17,14 +17,14 @@ 2011-09-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/addons/autolink/autolink.addon.php b/addons/autolink/autolink.addon.php index 7d1a38743..9b0212c77 100644 --- a/addons/autolink/autolink.addon.php +++ b/addons/autolink/autolink.addon.php @@ -5,7 +5,7 @@ if(!defined('__XE__')) /** * @file autolink.addon.php - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief Automatic link add-on */ if($called_position == 'after_module_proc' && Context::getResponseMethod() != "XMLRPC") diff --git a/addons/autolink/autolink.js b/addons/autolink/autolink.js index ad2dcecf6..8b9973c82 100644 --- a/addons/autolink/autolink.js +++ b/addons/autolink/autolink.js @@ -1,7 +1,7 @@ /** * @file autolink.js * @brief javascript code for autolink addon - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ (function($){ var protocol_re = '(https?|ftp|news|telnet|irc|mms)://'; diff --git a/addons/autolink/conf/info.xml b/addons/autolink/conf/info.xml index 62bad172d..f68dee081 100644 --- a/addons/autolink/conf/info.xml +++ b/addons/autolink/conf/info.xml @@ -40,14 +40,14 @@ 2008-04-22 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/addons/blogapi/blogapi.addon.php b/addons/blogapi/blogapi.addon.php index e1126450d..584437608 100644 --- a/addons/blogapi/blogapi.addon.php +++ b/addons/blogapi/blogapi.addon.php @@ -5,7 +5,7 @@ if(!defined('__XE__')) /** * @file blogapicounter.addon.php - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief Add blogAPI * * It enables to write a post by using an external tool such as ms live writer, firefox performancing, zoundry and so on. diff --git a/addons/blogapi/blogapi.func.php b/addons/blogapi/blogapi.func.php index 338282a8e..eee750b39 100644 --- a/addons/blogapi/blogapi.func.php +++ b/addons/blogapi/blogapi.func.php @@ -5,7 +5,7 @@ if(!defined('__XE__')) /** * @file ./addons/blogapi/blogapi.func.php - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief Function collections for the implementation of blogapi * */ // Error messages diff --git a/addons/blogapi/conf/info.xml b/addons/blogapi/conf/info.xml index 631184856..de1ce1a59 100644 --- a/addons/blogapi/conf/info.xml +++ b/addons/blogapi/conf/info.xml @@ -67,14 +67,14 @@ 2012-02-22 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/addons/captcha/captcha.addon.php b/addons/captcha/captcha.addon.php index f061488bd..9c8aae6f1 100644 --- a/addons/captcha/captcha.addon.php +++ b/addons/captcha/captcha.addon.php @@ -3,7 +3,7 @@ if(!defined("__XE__")) exit(); /** * @file captcha.addon.php - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief Captcha for a particular action * English alphabets and voice verification added * */ diff --git a/addons/captcha/conf/info.xml b/addons/captcha/conf/info.xml index bc8bd86ba..b740f34c1 100644 --- a/addons/captcha/conf/info.xml +++ b/addons/captcha/conf/info.xml @@ -37,13 +37,13 @@ 2010-08-19 - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/addons/counter/conf/info.xml b/addons/counter/conf/info.xml index afcd04ec0..a1de042c1 100644 --- a/addons/counter/conf/info.xml +++ b/addons/counter/conf/info.xml @@ -49,14 +49,14 @@ 2007-02-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/addons/counter/counter.addon.php b/addons/counter/counter.addon.php index aa4952d6d..5208d0482 100644 --- a/addons/counter/counter.addon.php +++ b/addons/counter/counter.addon.php @@ -5,7 +5,7 @@ if(!defined('__XE__')) /** * @file counter.addon.php - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief Counter add-on */ // Execute if called_position is before_display_content diff --git a/addons/member_communication/conf/info.xml b/addons/member_communication/conf/info.xml index 6b45e674e..ec4b150a9 100644 --- a/addons/member_communication/conf/info.xml +++ b/addons/member_communication/conf/info.xml @@ -45,15 +45,15 @@ 2008-05-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/addons/member_communication/member_communication.addon.php b/addons/member_communication/member_communication.addon.php index c2ce562b7..c3fe92f73 100644 --- a/addons/member_communication/member_communication.addon.php +++ b/addons/member_communication/member_communication.addon.php @@ -5,7 +5,7 @@ if(!defined('__XE__')) /** * @file member_communication.addon.php - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief Promote user communication * * - Pop-up the message if new message comes in diff --git a/addons/member_extra_info/conf/info.xml b/addons/member_extra_info/conf/info.xml index f75c6d929..813553378 100644 --- a/addons/member_extra_info/conf/info.xml +++ b/addons/member_extra_info/conf/info.xml @@ -40,14 +40,14 @@ 2007-02-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/addons/member_extra_info/member_extra_info.addon.php b/addons/member_extra_info/member_extra_info.addon.php index 20dca76fe..d7aa42ab3 100644 --- a/addons/member_extra_info/member_extra_info.addon.php +++ b/addons/member_extra_info/member_extra_info.addon.php @@ -5,7 +5,7 @@ if(!defined('__XE__')) /** * @file image_name.addon.php - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief Display user image name/image mark * * Find member_srl in the part with
....
diff --git a/addons/mobile/classes/hdml.class.php b/addons/mobile/classes/hdml.class.php index a51eb79bc..868df7faa 100644 --- a/addons/mobile/classes/hdml.class.php +++ b/addons/mobile/classes/hdml.class.php @@ -1,7 +1,7 @@ 2009-05-23 - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/addons/mobile/mobile.addon.php b/addons/mobile/mobile.addon.php index 8539c64bd..5e9197f0d 100644 --- a/addons/mobile/mobile.addon.php +++ b/addons/mobile/mobile.addon.php @@ -5,7 +5,7 @@ if(!defined('__XE__')) /** * @file mobile.addon.php - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief Mobile XE add-on * * If a mobile connection is made (see the header information), display contents with WAP tags diff --git a/addons/openid_delegation_id/conf/info.xml b/addons/openid_delegation_id/conf/info.xml index 9adf737f8..9e708f644 100644 --- a/addons/openid_delegation_id/conf/info.xml +++ b/addons/openid_delegation_id/conf/info.xml @@ -49,15 +49,15 @@ 2007-02-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/addons/openid_delegation_id/openid_delegation_id.addon.php b/addons/openid_delegation_id/openid_delegation_id.addon.php index 42c9a8a2d..ede67b7cd 100644 --- a/addons/openid_delegation_id/openid_delegation_id.addon.php +++ b/addons/openid_delegation_id/openid_delegation_id.addon.php @@ -5,7 +5,7 @@ if(!defined('__XE__')) /** * @file openid_delegation_id.addon.php - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief OpenID Delegation ID Add-on * * This enables to use openID as user's homepage or blog url. diff --git a/addons/point_level_icon/conf/info.xml b/addons/point_level_icon/conf/info.xml index 2399143d3..546b24e51 100644 --- a/addons/point_level_icon/conf/info.xml +++ b/addons/point_level_icon/conf/info.xml @@ -49,14 +49,14 @@ 2007-07-26 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/addons/point_level_icon/point_level_icon.addon.php b/addons/point_level_icon/point_level_icon.addon.php index be46a3eb8..d02cfaa60 100644 --- a/addons/point_level_icon/point_level_icon.addon.php +++ b/addons/point_level_icon/point_level_icon.addon.php @@ -5,7 +5,7 @@ if(!defined('__XE__')) /** * @file point.addon.php - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief Icon-on-point level * * Display point level icon before user name when point system is enabled. diff --git a/addons/resize_image/conf/info.xml b/addons/resize_image/conf/info.xml index e50589268..571e56740 100644 --- a/addons/resize_image/conf/info.xml +++ b/addons/resize_image/conf/info.xml @@ -40,14 +40,14 @@ 2008-04-22 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/addons/resize_image/resize_image.addon.php b/addons/resize_image/resize_image.addon.php index 29ee1b319..7c72cc600 100644 --- a/addons/resize_image/resize_image.addon.php +++ b/addons/resize_image/resize_image.addon.php @@ -5,7 +5,7 @@ if(!defined('__XE__')) /** * @file resize_image.addon.php - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief Add-on to resize images in the body */ if($called_position == 'after_module_proc' && Context::getResponseMethod() == "HTML") diff --git a/classes/cache/CacheApc.class.php b/classes/cache/CacheApc.class.php index 64a7d3d45..bfea1eba9 100644 --- a/classes/cache/CacheApc.class.php +++ b/classes/cache/CacheApc.class.php @@ -3,7 +3,7 @@ /** * Cache class for APC * - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) * */ class CacheApc extends CacheBase { diff --git a/classes/cache/CacheHandler.class.php b/classes/cache/CacheHandler.class.php index dc574b6e3..b8b68181e 100644 --- a/classes/cache/CacheHandler.class.php +++ b/classes/cache/CacheHandler.class.php @@ -3,7 +3,7 @@ /** * CacheHandler * - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ class CacheHandler extends Handler { @@ -254,7 +254,7 @@ class CacheHandler extends Handler /** * Base class of Cache * - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ class CacheBase { diff --git a/classes/cache/CacheMemcache.class.php b/classes/cache/CacheMemcache.class.php index 1ba319ef2..2432f2816 100644 --- a/classes/cache/CacheMemcache.class.php +++ b/classes/cache/CacheMemcache.class.php @@ -3,7 +3,7 @@ /** * Cache class for memcache * - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ class CacheMemcache extends CacheBase { diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index 6fc4792dc..538a736a1 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -8,7 +8,7 @@ define('RELEASE_SSL', 2); * Manages Context such as request arguments/environment variables * It has dual method structure, easy-to use methods which can be called as Context::methodname(),and methods called with static object. * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class Context { diff --git a/classes/db/DB.class.php b/classes/db/DB.class.php index 8ac6079ba..6b1d12e71 100644 --- a/classes/db/DB.class.php +++ b/classes/db/DB.class.php @@ -42,7 +42,7 @@ if(!defined('__XE_LOADED_DB_CLASS__')) * - query xml has unique query id, and will be created in module * - queryid = module_name.query_name * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/db * @version 0.1 */ diff --git a/classes/db/DBCubrid.class.php b/classes/db/DBCubrid.class.php index 4a4b26f53..aff375397 100644 --- a/classes/db/DBCubrid.class.php +++ b/classes/db/DBCubrid.class.php @@ -5,7 +5,7 @@ * - Cubrid DBMS to use the class * - Works with CUBRID up to 8.4.1 * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/db * @version 0.1 */ diff --git a/classes/db/DBMssql.class.php b/classes/db/DBMssql.class.php index 9f9e6d13a..88633609b 100644 --- a/classes/db/DBMssql.class.php +++ b/classes/db/DBMssql.class.php @@ -4,7 +4,7 @@ * - DBMSSQL * - Modified to use MSSQL driver by sol (sol@ngleader.com) * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/db * @version 0.1 */ diff --git a/classes/db/DBMysql.class.php b/classes/db/DBMysql.class.php index 1e845a368..45bf30155 100644 --- a/classes/db/DBMysql.class.php +++ b/classes/db/DBMysql.class.php @@ -6,7 +6,7 @@ * * Does not use prepared statements, since mysql driver does not support them * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/db * @version 0.1 */ diff --git a/classes/db/DBMysql_innodb.class.php b/classes/db/DBMysql_innodb.class.php index 039c62305..2c8cf1389 100644 --- a/classes/db/DBMysql_innodb.class.php +++ b/classes/db/DBMysql_innodb.class.php @@ -8,7 +8,7 @@ require_once('DBMysql.class.php'); * * Does not use prepared statements, since mysql driver does not support them * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/db * @version 0.1 */ diff --git a/classes/db/DBMysqli.class.php b/classes/db/DBMysqli.class.php index 2f4f4f723..e80f6e3f4 100644 --- a/classes/db/DBMysqli.class.php +++ b/classes/db/DBMysqli.class.php @@ -8,7 +8,7 @@ require_once('DBMysql.class.php'); * * Does not use prepared statements, since mysql driver does not support them * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/db * @version 0.1 */ diff --git a/classes/db/queryparts/Query.class.php b/classes/db/queryparts/Query.class.php index 5d7448f02..251aad53d 100644 --- a/classes/db/queryparts/Query.class.php +++ b/classes/db/queryparts/Query.class.php @@ -1,7 +1,7 @@ - + http://serviceapi.nmv.naver.com/ http://scrap.ad.naver.com/ http://event.dn.naver.com/sbsplayer/vmplayer.xap - + http://test-player.naver.com/naverPlayer/posting/ http://alpha-player.naver.com/naverPlayer/posting/ http://beta-player.naver.com/naverPlayer/posting/ @@ -20,7 +20,7 @@ http://beta.player.music.naver.com/ http://stage.player.music.naver.com/ - + http://dev-idogame.hangame.com/idogame/ClientBin/iDoGamePlayer.xap http://idogame.hangame.com/idogame/ClientBin/iDoGamePlayer.xap @@ -191,7 +191,7 @@ http://dotsub.com/static/players/portalplayer.swf - + http://static.campaign.naver.com/0/campaign/2010/10/socialsearch/swf/ diff --git a/classes/template/TemplateHandler.class.php b/classes/template/TemplateHandler.class.php index ac33e3d4d..6f120d609 100644 --- a/classes/template/TemplateHandler.class.php +++ b/classes/template/TemplateHandler.class.php @@ -2,7 +2,7 @@ /** * @class TemplateHandler - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * template compiler * @version 0.1 * @remarks It compiles template file by using regular expression into php diff --git a/classes/validator/Validator.class.php b/classes/validator/Validator.class.php index 1c1ab55fb..b62570462 100644 --- a/classes/validator/Validator.class.php +++ b/classes/validator/Validator.class.php @@ -2,7 +2,7 @@ /** * Validator class - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/validator * @version 0.1 */ diff --git a/classes/widget/WidgetHandler.class.php b/classes/widget/WidgetHandler.class.php index 455f17157..397aebab5 100644 --- a/classes/widget/WidgetHandler.class.php +++ b/classes/widget/WidgetHandler.class.php @@ -2,7 +2,7 @@ /** * @class WidgetHandler - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief Handler class for widget execution * @remark it is empty for now, it would be removed in the future */ diff --git a/classes/xml/GeneralXmlParser.class.php b/classes/xml/GeneralXmlParser.class.php index dfba383c2..3b6b4cfb0 100644 --- a/classes/xml/GeneralXmlParser.class.php +++ b/classes/xml/GeneralXmlParser.class.php @@ -3,7 +3,7 @@ /** * GeneralXmlParser class * Generic XML parser for XE - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/xml * @version 0.1 */ diff --git a/classes/xml/XmlGenerator.class.php b/classes/xml/XmlGenerator.class.php index 32714c2f2..220b1acd6 100644 --- a/classes/xml/XmlGenerator.class.php +++ b/classes/xml/XmlGenerator.class.php @@ -2,7 +2,7 @@ /** * XmlGenerator class - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/xml * @version 0.1 */ diff --git a/classes/xml/XmlJsFilter.class.php b/classes/xml/XmlJsFilter.class.php index ef0274d43..48c72442b 100644 --- a/classes/xml/XmlJsFilter.class.php +++ b/classes/xml/XmlJsFilter.class.php @@ -41,7 +41,7 @@ * tag = key : name of variable that will contain the result of the execution * } * @class XmlJsFilter - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/xml * @version 0.2 */ diff --git a/classes/xml/XmlLangParser.class.php b/classes/xml/XmlLangParser.class.php index a4143b4a2..7767907c5 100644 --- a/classes/xml/XmlLangParser.class.php +++ b/classes/xml/XmlLangParser.class.php @@ -3,7 +3,7 @@ /** * XmlLangParser class * Change to lang php file from xml. - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/xml * @version 0.1 */ diff --git a/classes/xml/XmlParser.class.php b/classes/xml/XmlParser.class.php index 035f791e3..54a978721 100644 --- a/classes/xml/XmlParser.class.php +++ b/classes/xml/XmlParser.class.php @@ -3,7 +3,7 @@ /** * Xml_Node_ class * Element node or attribute node. - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/xml * @version 0.1 */ @@ -30,7 +30,7 @@ class Xml_Node_ * attributes when kor is only supported language. It seems to work fine now but we did not scrutinze any potential side effects, * } * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/xml * @version 0.1 */ diff --git a/classes/xml/XmlQueryParser.class.php b/classes/xml/XmlQueryParser.class.php index 67bab74d5..d4a7b2b6d 100644 --- a/classes/xml/XmlQueryParser.class.php +++ b/classes/xml/XmlQueryParser.class.php @@ -4,7 +4,7 @@ * XmlQueryParser * Case to parse XE xml query * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @version 0.1 * @todo need to support extend query such as subquery, union */ diff --git a/classes/xml/xmlquery/argument/Argument.class.php b/classes/xml/xmlquery/argument/Argument.class.php index 32d027a28..e836839ae 100644 --- a/classes/xml/xmlquery/argument/Argument.class.php +++ b/classes/xml/xmlquery/argument/Argument.class.php @@ -2,7 +2,7 @@ /** * Argument class - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/xml/xmlquery/argument * @version 0.1 */ diff --git a/classes/xml/xmlquery/argument/ConditionArgument.class.php b/classes/xml/xmlquery/argument/ConditionArgument.class.php index b0302e458..c31acd704 100644 --- a/classes/xml/xmlquery/argument/ConditionArgument.class.php +++ b/classes/xml/xmlquery/argument/ConditionArgument.class.php @@ -2,7 +2,7 @@ /** * ConditionArgument class - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/xml/xmlquery/argument * @version 0.1 */ diff --git a/classes/xml/xmlquery/argument/SortArgument.class.php b/classes/xml/xmlquery/argument/SortArgument.class.php index 38320581f..c2623a1e1 100644 --- a/classes/xml/xmlquery/argument/SortArgument.class.php +++ b/classes/xml/xmlquery/argument/SortArgument.class.php @@ -2,7 +2,7 @@ /** * SortArgument class - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/xml/xmlquery/argument * @version 0.1 */ diff --git a/classes/xml/xmlquery/queryargument/DefaultValue.class.php b/classes/xml/xmlquery/queryargument/DefaultValue.class.php index 0159eb64d..16e13a96b 100644 --- a/classes/xml/xmlquery/queryargument/DefaultValue.class.php +++ b/classes/xml/xmlquery/queryargument/DefaultValue.class.php @@ -2,7 +2,7 @@ /** * DefaultValue class - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/xml/xmlquery/queryargument * @version 0.1 */ diff --git a/classes/xml/xmlquery/queryargument/QueryArgument.class.php b/classes/xml/xmlquery/queryargument/QueryArgument.class.php index a38765927..f2f2725bf 100644 --- a/classes/xml/xmlquery/queryargument/QueryArgument.class.php +++ b/classes/xml/xmlquery/queryargument/QueryArgument.class.php @@ -2,7 +2,7 @@ /** * QueryArgument class - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/xml/xmlquery/queryargument * @version 0.1 */ diff --git a/classes/xml/xmlquery/queryargument/SortQueryArgument.class.php b/classes/xml/xmlquery/queryargument/SortQueryArgument.class.php index 61a3b5f7f..dc17ce1c1 100644 --- a/classes/xml/xmlquery/queryargument/SortQueryArgument.class.php +++ b/classes/xml/xmlquery/queryargument/SortQueryArgument.class.php @@ -2,7 +2,7 @@ /** * SortQueryArgument class - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/xml/xmlquery/queryargument * @version 0.1 */ diff --git a/classes/xml/xmlquery/queryargument/validator/QueryArgumentValidator.class.php b/classes/xml/xmlquery/queryargument/validator/QueryArgumentValidator.class.php index c077516ae..943d6e278 100644 --- a/classes/xml/xmlquery/queryargument/validator/QueryArgumentValidator.class.php +++ b/classes/xml/xmlquery/queryargument/validator/QueryArgumentValidator.class.php @@ -2,7 +2,7 @@ /** * QueryArgumentValidator class - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /classes/xml/xmlquery/queryargument/validator * @version 0.1 */ diff --git a/common/css/xe.css b/common/css/xe.css index 8263038b5..5d2d53a19 100644 --- a/common/css/xe.css +++ b/common/css/xe.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ /* Element Reset */ body,table,input,textarea,select,button{font-family:Tahoma,Geneva,sans-serif;font-size:12px} article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block} diff --git a/common/js/common.js b/common/js/common.js index d3779a297..d72b1293d 100644 --- a/common/js/common.js +++ b/common/js/common.js @@ -1,6 +1,6 @@ /** * @file common.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief 몇가지 유용한 & 기본적으로 자주 사용되는 자바스크립트 함수들 모음 **/ diff --git a/common/js/js_app.js b/common/js/js_app.js index 9c115fa8d..5f2f1e9ad 100644 --- a/common/js/js_app.js +++ b/common/js/js_app.js @@ -1,6 +1,6 @@ /** * @file js_app.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief XE JavaScript Application Framework (JAF) * @namespace xe * @update 20100701 diff --git a/common/js/plugins/ui.calendar/ui.calendar.js b/common/js/plugins/ui.calendar/ui.calendar.js index f59d4d814..35b654c1f 100644 --- a/common/js/plugins/ui.calendar/ui.calendar.js +++ b/common/js/plugins/ui.calendar/ui.calendar.js @@ -1,6 +1,6 @@ /** * @brief XE Calendar - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * * 사용법 * diff --git a/common/js/plugins/ui.colorpicker/xe_colorpicker.js b/common/js/plugins/ui.colorpicker/xe_colorpicker.js index 6930a7db3..70e8426da 100644 --- a/common/js/plugins/ui.colorpicker/xe_colorpicker.js +++ b/common/js/plugins/ui.colorpicker/xe_colorpicker.js @@ -1,6 +1,6 @@ /** * @brief XE Colorpicker - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) **/ jQuery(function($){ diff --git a/common/js/plugins/watchinput/jquery.watchinput.js b/common/js/plugins/watchinput/jquery.watchinput.js index 1654ac33c..535555de7 100644 --- a/common/js/plugins/watchinput/jquery.watchinput.js +++ b/common/js/plugins/watchinput/jquery.watchinput.js @@ -1,6 +1,6 @@ /** * @brief Watch Input box - * @author NHN (developers@xpresseingine.com) + * @author NAVER (developers@xpresseingine.com) **/ (function($){ diff --git a/common/js/xe.header.js b/common/js/xe.header.js index 9a29487a0..9455dd3a0 100644 --- a/common/js/xe.header.js +++ b/common/js/xe.header.js @@ -1,5 +1,5 @@ /** * @file common/js/xe.min.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief XE Common JavaScript **/ diff --git a/common/js/xe.js b/common/js/xe.js index cb3ad6567..0589a30d7 100644 --- a/common/js/xe.js +++ b/common/js/xe.js @@ -1,11 +1,11 @@ /** * @file common/js/xe.min.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief XE Common JavaScript **/ /** * @file js_app.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief XE JavaScript Application Framework (JAF) * @namespace xe * @update 20100701 @@ -284,7 +284,7 @@ $(window).load(function(){ xe.broadcast('ONLOAD'); }); })(jQuery); /** * @file common.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief 몇가지 유용한 & 기본적으로 자주 사용되는 자바스크립트 함수들 모음 **/ @@ -1428,7 +1428,7 @@ function xml2json(xml, tab, ignoreAttrib) { (function($){ /** * @brief exec_xml - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) **/ $.exec_xml = window.exec_xml = function(module, act, params, callback_func, response_tags, callback_func_arg, fo_obj) { var xml_path = request_uri+"index.php" @@ -1701,7 +1701,7 @@ $(function($){ })(jQuery); /** * @file common/js/xml_js_filter.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief xml filter (validator) plugin * * A rule is a method validate one field. diff --git a/common/js/xml_handler.js b/common/js/xml_handler.js index d1e57148b..9ce8e2173 100644 --- a/common/js/xml_handler.js +++ b/common/js/xml_handler.js @@ -177,7 +177,7 @@ function xml2json(xml, tab, ignoreAttrib) { (function($){ /** * @brief exec_xml - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) **/ $.exec_xml = window.exec_xml = function(module, act, params, callback_func, response_tags, callback_func_arg, fo_obj) { var xml_path = request_uri+"index.php" diff --git a/common/js/xml_js_filter.js b/common/js/xml_js_filter.js index 4a93a2b09..5e2a8b40f 100644 --- a/common/js/xml_js_filter.js +++ b/common/js/xml_js_filter.js @@ -1,6 +1,6 @@ /** * @file common/js/xml_js_filter.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief xml filter (validator) plugin * * A rule is a method validate one field. diff --git a/config/config.inc.php b/config/config.inc.php index 5d0daeba1..66d923cd6 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -4,7 +4,7 @@ * set the include of the class file and other environment configurations * * @file config/config.inc.php - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ if(version_compare(PHP_VERSION, '5.4.0', '<')) { diff --git a/config/func.inc.php b/config/func.inc.php index 04a3fd86c..875871651 100644 --- a/config/func.inc.php +++ b/config/func.inc.php @@ -3,7 +3,7 @@ /** * function library files for convenience * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ if(!defined('__XE__')) { diff --git a/index.php b/index.php index 6dcc6ad47..690b6a22d 100644 --- a/index.php +++ b/index.php @@ -1,7 +1,7 @@ 1.0 2013-02-28 - NHN - NHN + NAVER + NAVER diff --git a/layouts/xe_official/conf/info.xml b/layouts/xe_official/conf/info.xml index 1355aedce..33d20afff 100644 --- a/layouts/xe_official/conf/info.xml +++ b/layouts/xe_official/conf/info.xml @@ -12,59 +12,59 @@ XE Resmi Websitesi Yerleşim Düzeni XE 공식 사이트 레이아웃입니다. - 제작 : NHN + 제작 : NAVER XEの公式サイトのレイアウトです。 - 제작 : NHN + 제작 : NAVER This layout is the Official website layout for XE. - 제작 : NHN + 제작 : NAVER Dieses Layout ist das XE Offizielle Website-Layout. - 제작 : NHN + 제작 : NAVER Этот формат является XE Официальный сайт компоновку. - 제작 : NHN + 제작 : NAVER Este diseño is el diseño oficial de la página web de Zerobard XE. - 제작 : NHN + 제작 : NAVER XE官方网站布局。 - 제작 : NHN + 제작 : NAVER XE官方網站版面。 - 제작 : NHN + 제작 : NAVER Đây là giao diện chính thức của XE. - 제작 : NHN + 제작 : NAVER Bu yerleşim düzeni, XE'nin resmi website yerleşim düzenidir. - 제작 : NHN + 제작 : NAVER 0.1 2007-08-01 http://xpressengine.com/ - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/layouts/xe_official/css/black.css b/layouts/xe_official/css/black.css index 8813fea6d..4912d3702 100644 --- a/layouts/xe_official/css/black.css +++ b/layouts/xe_official/css/black.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ /* Site Layout - Body Wrap */ body{background:#000} .xe{position:relative;width:960px;margin:0 auto;padding:1.5em 0 0 0;font-family:Tahoma, Geneva, sans-serif} diff --git a/layouts/xe_official/css/default.css b/layouts/xe_official/css/default.css index e3794dfd3..762c9bfab 100644 --- a/layouts/xe_official/css/default.css +++ b/layouts/xe_official/css/default.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ /* Default Skin - Start */ .selectLang{margin:0;padding:0} /* Site Layout - Body Wrap */ diff --git a/layouts/xe_official/css/white.css b/layouts/xe_official/css/white.css index d4850085d..7b60801ee 100644 --- a/layouts/xe_official/css/white.css +++ b/layouts/xe_official/css/white.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ /* Site Layout - Body Wrap */ body{background:#fff} .xe{position:relative;width:960px;margin:0 auto;padding:1.5em 0 0 0;font-family:Tahoma, Geneva, sans-serif} diff --git a/libs/ftp.class.php b/libs/ftp.class.php index c716bda90..1494a96c2 100644 --- a/libs/ftp.class.php +++ b/libs/ftp.class.php @@ -2,7 +2,7 @@ /********************************************************************* * * PHP FTP Client Class By TOMO ( groove@spencernetwork.org ) - * Modified By NHN ( developers@xpressengine.com ) + * Modified By NAVER ( developers@xpressengine.com ) * * - Version 0.13 (2010/09/29) * diff --git a/m.layouts/colorCode/conf/info.xml b/m.layouts/colorCode/conf/info.xml index d9b0cfa44..c952da22c 100644 --- a/m.layouts/colorCode/conf/info.xml +++ b/m.layouts/colorCode/conf/info.xml @@ -7,33 +7,33 @@ XE Color Code 移动布局 XE Color Code 모바일 레이아웃입니다. - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) XEの Color Code レイアウトです。 - 제작 : NHN + 제작 : NAVER This layout is the XE Color Code Mobile layout for XE. - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) XE Color Code 移动布局 - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) XE Color Code 官方網站版面。 - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) 0.1 2012-03-14 http://xpressengine.com/ - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER diff --git a/m.layouts/default/conf/info.xml b/m.layouts/default/conf/info.xml index bffa955ba..8ce012b9d 100644 --- a/m.layouts/default/conf/info.xml +++ b/m.layouts/default/conf/info.xml @@ -7,34 +7,34 @@ XE Resmi Hareketli Yerleşim Düzeni XE 공식 모바일 레이아웃입니다. - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) This layout is the Official website layout for XE. - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) 官方移动版布局。 - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) XE Mobile 官方網站版面。 - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) Bu yerleşim düzeni, XE Resmi website yerleşim düzenidir. - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) 0.1 2010-08-20 http://xpressengine.com/ - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/m.layouts/simpleGray/conf/info.xml b/m.layouts/simpleGray/conf/info.xml index eee95afd3..137f037b6 100644 --- a/m.layouts/simpleGray/conf/info.xml +++ b/m.layouts/simpleGray/conf/info.xml @@ -35,11 +35,11 @@ http://xpressengine.com - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/addon/addon.admin.controller.php b/modules/addon/addon.admin.controller.php index e156e882d..24a333063 100644 --- a/modules/addon/addon.admin.controller.php +++ b/modules/addon/addon.admin.controller.php @@ -4,7 +4,7 @@ require_once(_XE_PATH_ . 'modules/addon/addon.controller.php'); /** * Admin controller class of addon modules - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class addonAdminController extends addonController { diff --git a/modules/addon/addon.admin.model.php b/modules/addon/addon.admin.model.php index 4e943277f..2bcaec5f4 100644 --- a/modules/addon/addon.admin.model.php +++ b/modules/addon/addon.admin.model.php @@ -2,7 +2,7 @@ /** * Admin model class of addon module - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class addonAdminModel extends addon { diff --git a/modules/addon/addon.admin.view.php b/modules/addon/addon.admin.view.php index 3d4342c17..8bdfa0d9f 100644 --- a/modules/addon/addon.admin.view.php +++ b/modules/addon/addon.admin.view.php @@ -2,7 +2,7 @@ /** * Admin view class of addon modules - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class addonAdminView extends addon { diff --git a/modules/addon/addon.class.php b/modules/addon/addon.class.php index db18ea60a..0b238262e 100644 --- a/modules/addon/addon.class.php +++ b/modules/addon/addon.class.php @@ -2,7 +2,7 @@ /** * High class of addon modules - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class addon extends ModuleObject { diff --git a/modules/addon/addon.controller.php b/modules/addon/addon.controller.php index d57d9f147..894936497 100644 --- a/modules/addon/addon.controller.php +++ b/modules/addon/addon.controller.php @@ -2,7 +2,7 @@ /** * Addon module's controller class - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class addonController extends addon { diff --git a/modules/addon/conf/info.xml b/modules/addon/conf/info.xml index d3efe5005..efd0955d8 100644 --- a/modules/addon/conf/info.xml +++ b/modules/addon/conf/info.xml @@ -25,15 +25,15 @@ utility - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/admin/admin.admin.controller.php b/modules/admin/admin.admin.controller.php index bc9023d01..f268a39ac 100644 --- a/modules/admin/admin.admin.controller.php +++ b/modules/admin/admin.admin.controller.php @@ -3,7 +3,7 @@ /** * adminAdminController class * admin controller class of admin module - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/admin * @version 0.1 */ diff --git a/modules/admin/admin.admin.model.php b/modules/admin/admin.admin.model.php index d61db110a..91dad5667 100644 --- a/modules/admin/admin.admin.model.php +++ b/modules/admin/admin.admin.model.php @@ -3,7 +3,7 @@ /** * adminAdminModel class * admin model class of admin module - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/admin * @version 0.1 */ diff --git a/modules/admin/admin.admin.view.php b/modules/admin/admin.admin.view.php index b68031fc6..abb26dff1 100644 --- a/modules/admin/admin.admin.view.php +++ b/modules/admin/admin.admin.view.php @@ -4,7 +4,7 @@ * adminAdminView class * Admin view class of admin module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/admin * @version 0.1 */ diff --git a/modules/admin/admin.class.php b/modules/admin/admin.class.php index d74e09608..962accdfd 100644 --- a/modules/admin/admin.class.php +++ b/modules/admin/admin.class.php @@ -4,7 +4,7 @@ * admin class * Base class of admin module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/admin * @version 0.1 */ diff --git a/modules/admin/conf/info.xml b/modules/admin/conf/info.xml index c89621d83..1d5f9163b 100644 --- a/modules/admin/conf/info.xml +++ b/modules/admin/conf/info.xml @@ -23,14 +23,14 @@ system - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/admin/tpl/js/admin.js b/modules/admin/tpl/js/admin.js index 2675a5458..4f549e18e 100644 --- a/modules/admin/tpl/js/admin.js +++ b/modules/admin/tpl/js/admin.js @@ -1,4 +1,4 @@ -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ // install module function doInstallModule(module) { var params = new Array(); diff --git a/modules/admin/tpl/js/sitemap.js b/modules/admin/tpl/js/sitemap.js index c4207f859..3027f48f7 100644 --- a/modules/admin/tpl/js/sitemap.js +++ b/modules/admin/tpl/js/sitemap.js @@ -1,4 +1,4 @@ -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ jQuery(function($){ var diff --git a/modules/adminlogging/adminlogging.class.php b/modules/adminlogging/adminlogging.class.php index 93c28c617..6ec6ed3aa 100644 --- a/modules/adminlogging/adminlogging.class.php +++ b/modules/adminlogging/adminlogging.class.php @@ -4,7 +4,7 @@ * adminlogging class * Base class of adminlogging module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/adminlogging * @version 0.1 */ diff --git a/modules/adminlogging/adminlogging.controller.php b/modules/adminlogging/adminlogging.controller.php index 62eb68d51..e1da018a9 100644 --- a/modules/adminlogging/adminlogging.controller.php +++ b/modules/adminlogging/adminlogging.controller.php @@ -4,7 +4,7 @@ * adminloggingController class * controller class of adminlogging module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/adminlogging * @version 0.1 */ diff --git a/modules/adminlogging/adminlogging.model.php b/modules/adminlogging/adminlogging.model.php index f4499de92..f9638d7ef 100644 --- a/modules/adminlogging/adminlogging.model.php +++ b/modules/adminlogging/adminlogging.model.php @@ -4,7 +4,7 @@ * adminloggingModel class * model class of adminlogging module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/adminlogging * @version 0.1 */ diff --git a/modules/adminlogging/conf/info.xml b/modules/adminlogging/conf/info.xml index 866d49e04..571790707 100644 --- a/modules/adminlogging/conf/info.xml +++ b/modules/adminlogging/conf/info.xml @@ -7,14 +7,14 @@ system - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/autoinstall/autoinstall.admin.controller.php b/modules/autoinstall/autoinstall.admin.controller.php index ad16760fe..f4e530586 100644 --- a/modules/autoinstall/autoinstall.admin.controller.php +++ b/modules/autoinstall/autoinstall.admin.controller.php @@ -5,7 +5,7 @@ require_once(_XE_PATH_ . 'modules/autoinstall/autoinstall.lib.php'); /** * autoinstall module admin controller class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class autoinstallAdminController extends autoinstall { diff --git a/modules/autoinstall/autoinstall.admin.model.php b/modules/autoinstall/autoinstall.admin.model.php index b4d814dfd..113a1540a 100644 --- a/modules/autoinstall/autoinstall.admin.model.php +++ b/modules/autoinstall/autoinstall.admin.model.php @@ -2,7 +2,7 @@ /** * Model class of the autoinstall module - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class autoinstallAdminModel extends autoinstall { diff --git a/modules/autoinstall/autoinstall.admin.view.php b/modules/autoinstall/autoinstall.admin.view.php index 2fa4aa811..40fc1dfc0 100644 --- a/modules/autoinstall/autoinstall.admin.view.php +++ b/modules/autoinstall/autoinstall.admin.view.php @@ -2,7 +2,7 @@ /** * Admin view class in the autoinstall module - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class autoinstallAdminView extends autoinstall { diff --git a/modules/autoinstall/autoinstall.class.php b/modules/autoinstall/autoinstall.class.php index 5128ca002..aaa64eff9 100644 --- a/modules/autoinstall/autoinstall.class.php +++ b/modules/autoinstall/autoinstall.class.php @@ -2,7 +2,7 @@ /** * XML Generater - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class XmlGenerater { @@ -54,7 +54,7 @@ class XmlGenerater /** * High class of the autoinstall module - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class autoinstall extends ModuleObject { diff --git a/modules/autoinstall/autoinstall.lib.php b/modules/autoinstall/autoinstall.lib.php index 851e8c169..1d8bab883 100644 --- a/modules/autoinstall/autoinstall.lib.php +++ b/modules/autoinstall/autoinstall.lib.php @@ -4,7 +4,7 @@ require_once(_XE_PATH_ . 'libs/ftp.class.php'); /** * Module installer - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class ModuleInstaller { @@ -314,7 +314,7 @@ class ModuleInstaller /** * Module installer for SFTP - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class SFTPModuleInstaller extends ModuleInstaller { @@ -483,7 +483,7 @@ class SFTPModuleInstaller extends ModuleInstaller /** * Module installer for PHP FTP - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class PHPFTPModuleInstaller extends ModuleInstaller { @@ -697,7 +697,7 @@ class PHPFTPModuleInstaller extends ModuleInstaller /** * Module installer for FTP - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class FTPModuleInstaller extends ModuleInstaller { diff --git a/modules/autoinstall/autoinstall.model.php b/modules/autoinstall/autoinstall.model.php index 3a6e018da..89f2ebf75 100644 --- a/modules/autoinstall/autoinstall.model.php +++ b/modules/autoinstall/autoinstall.model.php @@ -2,7 +2,7 @@ /** * Model class of the autoinstall module - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class autoinstallModel extends autoinstall { diff --git a/modules/autoinstall/conf/info.xml b/modules/autoinstall/conf/info.xml index d57e03849..bb57e2c34 100644 --- a/modules/autoinstall/conf/info.xml +++ b/modules/autoinstall/conf/info.xml @@ -19,12 +19,12 @@ 2009-11-11 system - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/autoinstall/tpl/css/autoinstall.css b/modules/autoinstall/tpl/css/autoinstall.css index 41694ddb0..6c5090a10 100644 --- a/modules/autoinstall/tpl/css/autoinstall.css +++ b/modules/autoinstall/tpl/css/autoinstall.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ a>i{opacity:.5;filter:alpha(opacity=50)} .x_label, .x_badge{font-weight:normal} diff --git a/modules/comment/comment.admin.controller.php b/modules/comment/comment.admin.controller.php index 10050d3d8..4b4d40060 100644 --- a/modules/comment/comment.admin.controller.php +++ b/modules/comment/comment.admin.controller.php @@ -4,7 +4,7 @@ * commentAdminController class * admin controller class of the comment module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/comment * @version 0.1 */ diff --git a/modules/comment/comment.admin.view.php b/modules/comment/comment.admin.view.php index 03bc81597..26af7f9e2 100644 --- a/modules/comment/comment.admin.view.php +++ b/modules/comment/comment.admin.view.php @@ -4,7 +4,7 @@ * commentAdminView class * admin view class of the comment module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/comment * @version 0.1 */ diff --git a/modules/comment/comment.class.php b/modules/comment/comment.class.php index fae2f3708..495728597 100644 --- a/modules/comment/comment.class.php +++ b/modules/comment/comment.class.php @@ -6,7 +6,7 @@ require_once(_XE_PATH_ . 'modules/comment/comment.item.php'); * comment * comment module's high class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/comment * @version 0.1 */ diff --git a/modules/comment/comment.controller.php b/modules/comment/comment.controller.php index b787ef218..b078fae33 100644 --- a/modules/comment/comment.controller.php +++ b/modules/comment/comment.controller.php @@ -4,7 +4,7 @@ * commentController class * controller class of the comment module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/comment * @version 0.1 */ diff --git a/modules/comment/comment.item.php b/modules/comment/comment.item.php index 628d8f40f..1a8d436ad 100644 --- a/modules/comment/comment.item.php +++ b/modules/comment/comment.item.php @@ -4,7 +4,7 @@ * commentItem class * comment Object * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/comment * @version 0.1 */ diff --git a/modules/comment/comment.model.php b/modules/comment/comment.model.php index 2c9f8a83c..726b8286b 100644 --- a/modules/comment/comment.model.php +++ b/modules/comment/comment.model.php @@ -4,7 +4,7 @@ * commentModel class * model class of the comment module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/comment * @version 0.1 */ diff --git a/modules/comment/comment.view.php b/modules/comment/comment.view.php index 8f0221530..262ea8ce4 100644 --- a/modules/comment/comment.view.php +++ b/modules/comment/comment.view.php @@ -4,7 +4,7 @@ * commentView class * comment module's view class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/comment * @version 0.1 */ diff --git a/modules/comment/conf/info.xml b/modules/comment/conf/info.xml index e1393920f..2342a5034 100644 --- a/modules/comment/conf/info.xml +++ b/modules/comment/conf/info.xml @@ -23,14 +23,14 @@ content - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/communication/communication.admin.controller.php b/modules/communication/communication.admin.controller.php index 43ad84679..1329e388a 100644 --- a/modules/communication/communication.admin.controller.php +++ b/modules/communication/communication.admin.controller.php @@ -2,7 +2,7 @@ /** * @class communicationAdminController - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief communication module of the admin controller class */ class communicationAdminController extends communication diff --git a/modules/communication/communication.admin.model.php b/modules/communication/communication.admin.model.php index 38d318cdf..3fad20f4e 100644 --- a/modules/communication/communication.admin.model.php +++ b/modules/communication/communication.admin.model.php @@ -2,7 +2,7 @@ /** * @class communicationAdminModel - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief communication module of the admin model class */ class communicationAdminModel extends communication diff --git a/modules/communication/communication.admin.view.php b/modules/communication/communication.admin.view.php index d34c8eb6e..6e80048dc 100644 --- a/modules/communication/communication.admin.view.php +++ b/modules/communication/communication.admin.view.php @@ -2,7 +2,7 @@ /** * @class communicationAdminView - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * communication module of the admin view class */ class communicationAdminView extends communication diff --git a/modules/communication/communication.class.php b/modules/communication/communication.class.php index d9438d6c8..2551833ed 100644 --- a/modules/communication/communication.class.php +++ b/modules/communication/communication.class.php @@ -2,7 +2,7 @@ /** * @class communication - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * communication module of the high class */ class communication extends ModuleObject diff --git a/modules/communication/communication.controller.php b/modules/communication/communication.controller.php index d72c8252b..1f8e5bb43 100644 --- a/modules/communication/communication.controller.php +++ b/modules/communication/communication.controller.php @@ -2,7 +2,7 @@ /** * @class communicationController - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * communication module of the Controller class */ class communicationController extends communication diff --git a/modules/communication/communication.mobile.php b/modules/communication/communication.mobile.php index c7337234d..427870b23 100644 --- a/modules/communication/communication.mobile.php +++ b/modules/communication/communication.mobile.php @@ -4,7 +4,7 @@ require_once(_XE_PATH_ . 'modules/communication/communication.view.php'); /** * @class communicationMobile - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * Mobile class of communication module */ class communicationMobile extends communicationView diff --git a/modules/communication/communication.model.php b/modules/communication/communication.model.php index b96c2c052..37415a2a5 100644 --- a/modules/communication/communication.model.php +++ b/modules/communication/communication.model.php @@ -2,7 +2,7 @@ /** * @class communicationModel - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * communication module of the Model class */ class communicationModel extends communication diff --git a/modules/communication/communication.view.php b/modules/communication/communication.view.php index 23a9b2ae5..41c941a8d 100644 --- a/modules/communication/communication.view.php +++ b/modules/communication/communication.view.php @@ -2,7 +2,7 @@ /** * @class communicationView - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * View class of communication module */ class communicationView extends communication diff --git a/modules/communication/conf/info.xml b/modules/communication/conf/info.xml index 76ba64468..3ec988633 100644 --- a/modules/communication/conf/info.xml +++ b/modules/communication/conf/info.xml @@ -21,13 +21,13 @@ member - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/communication/m.skins/default/skin.xml b/modules/communication/m.skins/default/skin.xml index 6dbcff553..fa8169aea 100644 --- a/modules/communication/m.skins/default/skin.xml +++ b/modules/communication/m.skins/default/skin.xml @@ -3,14 +3,14 @@ XE 커뮤니케이션 모바일 기본 스킨 XE 커뮤니케이션 모바일 기본 스킨입니다. - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) 0.1 2012-08-07 - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER diff --git a/modules/communication/skins/default/skin.xml b/modules/communication/skins/default/skin.xml index 0bfc15498..7cc5d5217 100644 --- a/modules/communication/skins/default/skin.xml +++ b/modules/communication/skins/default/skin.xml @@ -10,44 +10,44 @@ 預設面板 Varsayılan Dış Görünüm - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) 0.1 2008-05-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/counter/conf/info.xml b/modules/counter/conf/info.xml index 2b610bf04..ffe760e24 100644 --- a/modules/counter/conf/info.xml +++ b/modules/counter/conf/info.xml @@ -23,14 +23,14 @@ statistics - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/counter/counter.admin.view.php b/modules/counter/counter.admin.view.php index 5e6bf8299..a0050052d 100644 --- a/modules/counter/counter.admin.view.php +++ b/modules/counter/counter.admin.view.php @@ -3,7 +3,7 @@ /** * Admin view class of counter module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class counterAdminView extends counter { diff --git a/modules/counter/counter.class.php b/modules/counter/counter.class.php index a5924168a..887f70070 100644 --- a/modules/counter/counter.class.php +++ b/modules/counter/counter.class.php @@ -3,7 +3,7 @@ /** * High class of counter module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class counter extends ModuleObject { diff --git a/modules/counter/counter.controller.php b/modules/counter/counter.controller.php index 17bdd626b..6d65a87f8 100644 --- a/modules/counter/counter.controller.php +++ b/modules/counter/counter.controller.php @@ -3,7 +3,7 @@ /** * Counter module's controller class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class counterController extends counter { diff --git a/modules/counter/counter.model.php b/modules/counter/counter.model.php index d6117452b..9baff0991 100644 --- a/modules/counter/counter.model.php +++ b/modules/counter/counter.model.php @@ -3,7 +3,7 @@ /** * Model class of counter module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class counterModel extends counter { diff --git a/modules/document/conf/info.xml b/modules/document/conf/info.xml index 0c2f9118a..6507b3dec 100644 --- a/modules/document/conf/info.xml +++ b/modules/document/conf/info.xml @@ -23,14 +23,14 @@ content - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/document/document.admin.controller.php b/modules/document/document.admin.controller.php index e401fd42d..597012365 100644 --- a/modules/document/document.admin.controller.php +++ b/modules/document/document.admin.controller.php @@ -3,7 +3,7 @@ * documentAdminController class * Document the module's admin controller class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/document * @version 0.1 */ diff --git a/modules/document/document.admin.model.php b/modules/document/document.admin.model.php index 614bcf172..77b3d38dd 100644 --- a/modules/document/document.admin.model.php +++ b/modules/document/document.admin.model.php @@ -3,7 +3,7 @@ * documentAdminModel class * Document the module's admin model class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/document * @version 0.1 */ diff --git a/modules/document/document.admin.view.php b/modules/document/document.admin.view.php index 6e4685dfb..cb343756b 100644 --- a/modules/document/document.admin.view.php +++ b/modules/document/document.admin.view.php @@ -3,7 +3,7 @@ * documentAdminView class * Document admin view of the module class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/document * @version 0.1 */ diff --git a/modules/document/document.class.php b/modules/document/document.class.php index 4a648ea35..bc065ce33 100644 --- a/modules/document/document.class.php +++ b/modules/document/document.class.php @@ -6,7 +6,7 @@ require_once(_XE_PATH_.'modules/document/document.item.php'); * @brief document the module's high class * {@internal Silently adds one extra Foo to compensate for lack of Foo } * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/document * @version 0.1 */ diff --git a/modules/document/document.controller.php b/modules/document/document.controller.php index a4677133f..21c6674e0 100644 --- a/modules/document/document.controller.php +++ b/modules/document/document.controller.php @@ -3,7 +3,7 @@ * documentController class * document the module's controller class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/document * @version 0.1 */ diff --git a/modules/document/document.item.php b/modules/document/document.item.php index 1137d7a76..b1f4c18b9 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -3,7 +3,7 @@ * documentItem class * document object * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/document * @version 0.1 */ diff --git a/modules/document/document.model.php b/modules/document/document.model.php index 3e66483f3..dcf5ed0bf 100644 --- a/modules/document/document.model.php +++ b/modules/document/document.model.php @@ -3,7 +3,7 @@ * documentModel class * model class of the module document * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/document * @version 0.1 */ diff --git a/modules/document/document.view.php b/modules/document/document.view.php index 17bcc9caa..462b81784 100644 --- a/modules/document/document.view.php +++ b/modules/document/document.view.php @@ -3,7 +3,7 @@ * documentView class * View class of the module document * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/document * @version 0.1 */ diff --git a/modules/document/tpl/js/document_category.js b/modules/document/tpl/js/document_category.js index 77c2b77c5..3a9344c63 100644 --- a/modules/document/tpl/js/document_category.js +++ b/modules/document/tpl/js/document_category.js @@ -1,6 +1,6 @@ /** * @file modules/document/tpl/js/document_category.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief document 모듈의 category tree javascript **/ diff --git a/modules/editor/components/emoticon/emoticon.class.php b/modules/editor/components/emoticon/emoticon.class.php index d810a114a..36816474f 100644 --- a/modules/editor/components/emoticon/emoticon.class.php +++ b/modules/editor/components/emoticon/emoticon.class.php @@ -1,7 +1,7 @@ 2007-02-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/editor/components/image_gallery/image_gallery.class.php b/modules/editor/components/image_gallery/image_gallery.class.php index 54a250356..487ac9226 100644 --- a/modules/editor/components/image_gallery/image_gallery.class.php +++ b/modules/editor/components/image_gallery/image_gallery.class.php @@ -1,7 +1,7 @@ 2007-02-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/editor/components/image_gallery/tpl/list_gallery.js b/modules/editor/components/image_gallery/tpl/list_gallery.js index 41acf3b4b..64ff3b163 100644 --- a/modules/editor/components/image_gallery/tpl/list_gallery.js +++ b/modules/editor/components/image_gallery/tpl/list_gallery.js @@ -1,7 +1,7 @@ /** * @file list_gallery.js * @brief List-type image gallery - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) **/ (function($){ diff --git a/modules/editor/components/image_gallery/tpl/list_gallery.min.js b/modules/editor/components/image_gallery/tpl/list_gallery.min.js index 3d9a37584..6f05edaf9 100644 --- a/modules/editor/components/image_gallery/tpl/list_gallery.min.js +++ b/modules/editor/components/image_gallery/tpl/list_gallery.min.js @@ -1,7 +1,7 @@ /** * @file list_gallery.js * @brief List-type image gallery - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) **/ (function(l){var h=xe.createPlugin("list",{API_SHOW_LIST:function(j,h){var d=h[0],e,f,k,b,a,g,c;e=this.cast("GET_IMAGES",[d]);if(e.length){d=l("#zone_list_gallery_"+d).empty();width=d.innerWidth();f=0;for(k=e.length;fwidth-25&&(g=width-25,a=g/a,c=Math.floor(c*a),a=g,b.$obj.attr("rel","xe_gallery")),d.append(b.$obj),b.$obj.css({width:a+"px",height:c,margin:"0 10px",display:"block"})}}}), j=xe.getApp("Gallery")[0];j&&j.registerPlugin(new h)})(jQuery); diff --git a/modules/editor/components/image_gallery/tpl/popup.min.css b/modules/editor/components/image_gallery/tpl/popup.min.css index 128196c55..a902492c0 100644 --- a/modules/editor/components/image_gallery/tpl/popup.min.css +++ b/modules/editor/components/image_gallery/tpl/popup.min.css @@ -1,6 +1,6 @@ /** * @file slide_gallery.js * @brief Slideshow type image gallery plugin - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) **/ @charset "utf-8";@import "../../../../../modules/admin/tpl/css/admin.css";@import "../../../../../common/css/bootstrap.min.css"; \ No newline at end of file diff --git a/modules/editor/components/image_gallery/tpl/slide_gallery.js b/modules/editor/components/image_gallery/tpl/slide_gallery.js index b2aa90358..5d5bd5163 100644 --- a/modules/editor/components/image_gallery/tpl/slide_gallery.js +++ b/modules/editor/components/image_gallery/tpl/slide_gallery.js @@ -1,7 +1,7 @@ /** * @file slide_gallery.js * @brief Slideshow type image gallery plugin - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) **/ (function($){ diff --git a/modules/editor/components/image_gallery/tpl/slide_gallery.min.css b/modules/editor/components/image_gallery/tpl/slide_gallery.min.css index ccf996add..79cc3cdec 100644 --- a/modules/editor/components/image_gallery/tpl/slide_gallery.min.css +++ b/modules/editor/components/image_gallery/tpl/slide_gallery.min.css @@ -1,6 +1,6 @@ /** * @file slide_gallery.js * @brief Slideshow type image gallery plugin - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) **/ @charset "utf-8";.slide_gallery_loading_text{color:#555555;font-size:8pt;font-family:tahoma;font-weight:bold;margin:20px 0px 20px 0px;text-align:center}.slide_gallery_navigator_box{font-size:9pt;text-align:center;margin:5px 0px 5px 0px}.zone_gallery_navigator_status{color:#444444;font-family:verdana;font-size:8pt;cursor:pointer}.slide_gallery_navigator_box img{vertical-align:bottom}.slide_gallery_main_image_box{border:3px solid #EEEEEE;margin:10px}.slide_gallery_thumbnail_image_box{margin:10px;text-align:center}.slide_gallery_thumbnail_image_box img{border:1px solid #555555;padding:1px;margin:4px}.slide_gallery_filename{margin:5px 0px 10px 0px}.slide_gallery_filename A{color:#000000;text-decoration:none} \ No newline at end of file diff --git a/modules/editor/components/image_gallery/tpl/slide_gallery.min.js b/modules/editor/components/image_gallery/tpl/slide_gallery.min.js index ccf3489c3..a143813f5 100644 --- a/modules/editor/components/image_gallery/tpl/slide_gallery.min.js +++ b/modules/editor/components/image_gallery/tpl/slide_gallery.min.js @@ -1,7 +1,7 @@ /** * @file slide_gallery.js * @brief Slideshow type image gallery plugin - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) **/ (function(l){var n=xe.createPlugin("slideShow",{_holders:{},_thumbs:{},_current:{},init:function(){this._holders={};this._thumbs={};this._current={}},API_SHOW_SLIDE:function(h,f){var b=this,a=f[0],d="@"+a,c,e,k,j,g,m;c=this.cast("GET_IMAGES",[a]);if(c.length){g=0;for(e=c.length;g2007-02-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/editor/components/multimedia_link/info.xml b/modules/editor/components/multimedia_link/info.xml index 3ea53ca3f..12a1719c5 100644 --- a/modules/editor/components/multimedia_link/info.xml +++ b/modules/editor/components/multimedia_link/info.xml @@ -22,14 +22,14 @@ 2007-02-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/editor/components/multimedia_link/multimedia_link.class.php b/modules/editor/components/multimedia_link/multimedia_link.class.php index 13885d10d..537da6a19 100644 --- a/modules/editor/components/multimedia_link/multimedia_link.class.php +++ b/modules/editor/components/multimedia_link/multimedia_link.class.php @@ -1,7 +1,7 @@ 2007-02-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/editor/components/poll_maker/poll_maker.class.php b/modules/editor/components/poll_maker/poll_maker.class.php index 3bc470a8b..000f8096c 100644 --- a/modules/editor/components/poll_maker/poll_maker.class.php +++ b/modules/editor/components/poll_maker/poll_maker.class.php @@ -1,7 +1,7 @@ utility - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/editor/editor.admin.controller.php b/modules/editor/editor.admin.controller.php index 35f14ff0d..1cf30669d 100644 --- a/modules/editor/editor.admin.controller.php +++ b/modules/editor/editor.admin.controller.php @@ -1,7 +1,7 @@ 0.2 - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/editor/skins/dreditor/drcomponents/fold/tpl/fold.js b/modules/editor/skins/dreditor/drcomponents/fold/tpl/fold.js index cd1182e21..e1fcaa792 100644 --- a/modules/editor/skins/dreditor/drcomponents/fold/tpl/fold.js +++ b/modules/editor/skins/dreditor/drcomponents/fold/tpl/fold.js @@ -1,6 +1,6 @@ /** * Fold component - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ jQuery(function($){ diff --git a/modules/editor/skins/dreditor/js/DrEditor.js b/modules/editor/skins/dreditor/js/DrEditor.js index 56e37fbee..71eec4bf1 100644 --- a/modules/editor/skins/dreditor/js/DrEditor.js +++ b/modules/editor/skins/dreditor/js/DrEditor.js @@ -1,6 +1,6 @@ /** * 단락에디터 Paragraph Editor - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ (function($){ diff --git a/modules/editor/skins/dreditor/js/Xpress_Editor.js b/modules/editor/skins/dreditor/js/Xpress_Editor.js index 9f57f3bb7..645003795 100644 --- a/modules/editor/skins/dreditor/js/Xpress_Editor.js +++ b/modules/editor/skins/dreditor/js/Xpress_Editor.js @@ -5619,7 +5619,7 @@ xe.XE_FormatWithSelectUI = jQuery.Class({ (function($){ /** * Enhanced Table Fetures - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ // 표 편집 확장 기능 diff --git a/modules/editor/skins/dreditor/js/xe_interface.js b/modules/editor/skins/dreditor/js/xe_interface.js index 27ed52426..115ad1997 100644 --- a/modules/editor/skins/dreditor/js/xe_interface.js +++ b/modules/editor/skins/dreditor/js/xe_interface.js @@ -1,7 +1,7 @@ /** * @file xe_interface.js * @brief XE Editor Standard Interface - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ (function($){ diff --git a/modules/editor/skins/dreditor/skin.xml b/modules/editor/skins/dreditor/skin.xml index 98a737303..900e4105a 100644 --- a/modules/editor/skins/dreditor/skin.xml +++ b/modules/editor/skins/dreditor/skin.xml @@ -31,13 +31,13 @@ 1.3.0 2010-04-30 - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/editor/skins/xpresseditor/css/default.css b/modules/editor/skins/xpresseditor/css/default.css index 43c2387f0..0f07b0706 100644 --- a/modules/editor/skins/xpresseditor/css/default.css +++ b/modules/editor/skins/xpresseditor/css/default.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ /* TextEditor */ .xeTextEditor {margin:0 12px 0 0} .xeTextEditor textarea {display:block;margin:0;padding:5px} diff --git a/modules/editor/skins/xpresseditor/js/Xpress_Editor.js b/modules/editor/skins/xpresseditor/js/Xpress_Editor.js index ffe43da58..d92d287ac 100644 --- a/modules/editor/skins/xpresseditor/js/Xpress_Editor.js +++ b/modules/editor/skins/xpresseditor/js/Xpress_Editor.js @@ -2816,7 +2816,7 @@ var TextRange = function(oEl) { /** * Selection for textfield - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ TextRange.prototype.getSelection = function() { var obj = this._o; @@ -5102,7 +5102,7 @@ var oMessageMap = { xe.XpressCore.oMessageMap = oMessageMap; /** * XHTML Formatter - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ var regex_meanless_css1 = /<(.*?)\s+style\s*=\s*"(.*?(?:margin|padding)\s*:\s*0(?:px)?.*?|.*?\-(?:moz|ms|webkit|opera).*?)"(.*?)>/ig, @@ -5265,7 +5265,7 @@ xe.XE_XHTMLFormatter = $.Class({ /** * Support XE extensions - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ xe.XE_Extension = $.Class({ name : "XE_Extension", @@ -5352,7 +5352,7 @@ xe.XE_Extension = $.Class({ }); /** * Auto saving - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ xe.XE_AutoSave = $.Class({ name : "XE_AutoSave", @@ -5399,7 +5399,7 @@ xe.XE_AutoSave = $.Class({ }); /** * Format Block plugin - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ xe.XE_FormatWithSelectUI = $.Class({ name : "XE_FormatWithSelectUI", @@ -5439,7 +5439,7 @@ xe.XE_FormatWithSelectUI = $.Class({ }); /** * Enhanced Table Fetures - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ // 표 편집 확장 기능 diff --git a/modules/editor/skins/xpresseditor/js/xpresseditor.js b/modules/editor/skins/xpresseditor/js/xpresseditor.js index c9b9b0b9a..767f7f176 100644 --- a/modules/editor/skins/xpresseditor/js/xpresseditor.js +++ b/modules/editor/skins/xpresseditor/js/xpresseditor.js @@ -2816,7 +2816,7 @@ var TextRange = function(oEl) { /** * Selection for textfield - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ TextRange.prototype.getSelection = function() { var obj = this._o; @@ -5102,7 +5102,7 @@ var oMessageMap = { xe.XpressCore.oMessageMap = oMessageMap; /** * XHTML Formatter - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ var regex_meanless_css1 = /<(.*?)\s+style\s*=\s*"(.*?(?:margin|padding)\s*:\s*0(?:px)?.*?|.*?\-(?:moz|ms|webkit|opera).*?)"(.*?)>/ig, @@ -5265,7 +5265,7 @@ xe.XE_XHTMLFormatter = $.Class({ /** * Support XE extensions - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ xe.XE_Extension = $.Class({ name : "XE_Extension", @@ -5352,7 +5352,7 @@ xe.XE_Extension = $.Class({ }); /** * Auto saving - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ xe.XE_AutoSave = $.Class({ name : "XE_AutoSave", @@ -5399,7 +5399,7 @@ xe.XE_AutoSave = $.Class({ }); /** * Format Block plugin - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ xe.XE_FormatWithSelectUI = $.Class({ name : "XE_FormatWithSelectUI", @@ -5439,7 +5439,7 @@ xe.XE_FormatWithSelectUI = $.Class({ }); /** * Enhanced Table Fetures - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ // 표 편집 확장 기능 diff --git a/modules/editor/skins/xpresseditor/skin.xml b/modules/editor/skins/xpresseditor/skin.xml index 30a4017ed..f0c714350 100644 --- a/modules/editor/skins/xpresseditor/skin.xml +++ b/modules/editor/skins/xpresseditor/skin.xml @@ -9,25 +9,25 @@ XpressEditor面板 XpressEditor Dış Görünümü - XpressEditor based on SmartEditor Basic by NHN + XpressEditor based on SmartEditor Basic by NAVER - XpressEditor based on SmartEditor Basic by NHN + XpressEditor based on SmartEditor Basic by NAVER - XpressEditor dựa trên SmartEditor cơ bản, được tạo bởi NHN + XpressEditor dựa trên SmartEditor cơ bản, được tạo bởi NAVER - XpressEditor based on SmartEditor Basic by NHN + XpressEditor based on SmartEditor Basic by NAVER - XpressEditor based on SmartEditor Basic by NHN + XpressEditor based on SmartEditor Basic by NAVER - XpressEditor based on SmartEditor Basic by NHN + XpressEditor based on SmartEditor Basic by NAVER - XpressEditor based on SmartEditor Basic by NHN + XpressEditor based on SmartEditor Basic by NAVER XpressEditor, SmartEditor 'e dayanmaktadır. @@ -35,14 +35,14 @@ 0.3.16 2009-03-22 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/editor/styles/default/editor.css b/modules/editor/styles/default/editor.css index 059364e94..b6b7abf7f 100644 --- a/modules/editor/styles/default/editor.css +++ b/modules/editor/styles/default/editor.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ html,body{height:100%} body{margin:0;padding:0} .xe_content{color:#000;font-size:12px;line-height:1.5;word-break:break-all;word-wrap:break-word} diff --git a/modules/editor/styles/default/skin.xml b/modules/editor/styles/default/skin.xml index 7b79a9e34..de273ee6c 100644 --- a/modules/editor/styles/default/skin.xml +++ b/modules/editor/styles/default/skin.xml @@ -38,12 +38,12 @@ 0.0.1 2009-05-23 - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/editor/styles/default/style.css b/modules/editor/styles/default/style.css index d48a19630..28b5adbf0 100755 --- a/modules/editor/styles/default/style.css +++ b/modules/editor/styles/default/style.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ .xe_content{color:#000;font-size:12px;line-height:1.5} .xe_content blockquote.q1, .xe_content blockquote.q2, diff --git a/modules/editor/styles/dreditor/editor.css b/modules/editor/styles/dreditor/editor.css index a4979f436..d72206f77 100644 --- a/modules/editor/styles/dreditor/editor.css +++ b/modules/editor/styles/dreditor/editor.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ html, body{height:100%;background-color:transparent;padding:0;margin:0} .xe_content{color:#000;font-size:12px;line-height:1.5;word-break:break-all;word-wrap:break-word} .xe_content blockquote.q1, diff --git a/modules/editor/styles/dreditor/skin.xml b/modules/editor/styles/dreditor/skin.xml index b8656ced6..9cbaaf697 100644 --- a/modules/editor/styles/dreditor/skin.xml +++ b/modules/editor/styles/dreditor/skin.xml @@ -18,8 +18,8 @@ 0.1 2010-05-25 - NHN - NHN - NHN + NAVER + NAVER + NAVER diff --git a/modules/editor/styles/dreditor/style.css b/modules/editor/styles/dreditor/style.css index 6ea7f053b..809d7c3a4 100644 --- a/modules/editor/styles/dreditor/style.css +++ b/modules/editor/styles/dreditor/style.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ .xe_content{font-size:12px;line-height:1.6;clear:both} .xe_content h1{font-size:24px} .xe_content h2{font-size:20px} diff --git a/modules/editor/styles/xeStyle/editor.css b/modules/editor/styles/xeStyle/editor.css index bd6faccb7..ea716b3f5 100755 --- a/modules/editor/styles/xeStyle/editor.css +++ b/modules/editor/styles/xeStyle/editor.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ html, body{height:100%;background-color:transparent;padding:0;margin:0} .xe_content.editable {margin-right:8px;word-break:break-all;word-wrap:break-word} .xe_content.editable h1, diff --git a/modules/editor/styles/xeStyle/skin.xml b/modules/editor/styles/xeStyle/skin.xml index f5b3f9bde..18cb1caa0 100644 --- a/modules/editor/styles/xeStyle/skin.xml +++ b/modules/editor/styles/xeStyle/skin.xml @@ -35,11 +35,11 @@ 0.0.1 2009-04-17 - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/editor/styles/xeStyle/style.css b/modules/editor/styles/xeStyle/style.css index 5f7d778a5..590cda33d 100755 --- a/modules/editor/styles/xeStyle/style.css +++ b/modules/editor/styles/xeStyle/style.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ .xe_content{color:#000;font-size:12px} .xe_content blockquote.q1, .xe_content blockquote.q2, diff --git a/modules/editor/styles/xeStyleBlack/editor.css b/modules/editor/styles/xeStyleBlack/editor.css index bb0253bce..d0e49bd13 100644 --- a/modules/editor/styles/xeStyleBlack/editor.css +++ b/modules/editor/styles/xeStyleBlack/editor.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ html, body{height:100%;background-color:transparent;padding:0;margin:0} .xe_content.editable{margin-right:8px;word-break:break-all;word-wrap:break-word} .xe_content.editable h1, diff --git a/modules/editor/styles/xeStyleBlack/skin.xml b/modules/editor/styles/xeStyleBlack/skin.xml index 26238c13a..84823641d 100644 --- a/modules/editor/styles/xeStyleBlack/skin.xml +++ b/modules/editor/styles/xeStyleBlack/skin.xml @@ -36,11 +36,11 @@ 0.0.1 2009-04-17 - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/editor/styles/xeStyleBlack/style.css b/modules/editor/styles/xeStyleBlack/style.css index 48bd9ea6d..ce4b31234 100755 --- a/modules/editor/styles/xeStyleBlack/style.css +++ b/modules/editor/styles/xeStyleBlack/style.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ .xe_content{color:#fff;font-size:12px} .xe_content blockquote.q1, .xe_content blockquote.q2, diff --git a/modules/editor/tpl/js/editor.js b/modules/editor/tpl/js/editor.js index 805ef409d..592a7165b 100755 --- a/modules/editor/tpl/js/editor.js +++ b/modules/editor/tpl/js/editor.js @@ -1,5 +1,5 @@ /** - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @version 0.1 * @brief 에디터 관련 스크립트 */ diff --git a/modules/editor/tpl/js/editor_admin.js b/modules/editor/tpl/js/editor_admin.js index 1c8966f7a..a3e5fd349 100644 --- a/modules/editor/tpl/js/editor_admin.js +++ b/modules/editor/tpl/js/editor_admin.js @@ -1,5 +1,5 @@ /** - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @version 0.1 * @brief 에디터 관리자 페이지용 스크립트 **/ diff --git a/modules/editor/tpl/js/uploader.js b/modules/editor/tpl/js/uploader.js index 51a835164..a86f52ac3 100755 --- a/modules/editor/tpl/js/uploader.js +++ b/modules/editor/tpl/js/uploader.js @@ -1,5 +1,5 @@ /** - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @version 0.1.1 * @brief 파일 업로드 관련 **/ diff --git a/modules/file/conf/info.xml b/modules/file/conf/info.xml index 92266fba1..66aef6bd3 100644 --- a/modules/file/conf/info.xml +++ b/modules/file/conf/info.xml @@ -23,14 +23,14 @@ content - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/file/file.admin.controller.php b/modules/file/file.admin.controller.php index 5b1605ec5..2fd2196d0 100644 --- a/modules/file/file.admin.controller.php +++ b/modules/file/file.admin.controller.php @@ -1,7 +1,7 @@ migration - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/importer/extract.class.php b/modules/importer/extract.class.php index c20d4e341..7c6b7842e 100644 --- a/modules/importer/extract.class.php +++ b/modules/importer/extract.class.php @@ -3,7 +3,7 @@ * extract class * Class to save each file by using tags in the large xml * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/importer * @version 0.1 */ diff --git a/modules/importer/importer.admin.controller.php b/modules/importer/importer.admin.controller.php index c47b20aea..dee930ebc 100644 --- a/modules/importer/importer.admin.controller.php +++ b/modules/importer/importer.admin.controller.php @@ -6,7 +6,7 @@ require_once('./modules/importer/extract.class.php'); * importerAdminController class * admin controller class of importer module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/importer * @version 0.1 */ diff --git a/modules/importer/importer.admin.view.php b/modules/importer/importer.admin.view.php index 0067a580b..1bc20df0b 100644 --- a/modules/importer/importer.admin.view.php +++ b/modules/importer/importer.admin.view.php @@ -3,7 +3,7 @@ * importerAdminView class * admin view class of the importer module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/importer * @version 0.1 */ diff --git a/modules/importer/importer.class.php b/modules/importer/importer.class.php index 8bd420e54..268eaf968 100644 --- a/modules/importer/importer.class.php +++ b/modules/importer/importer.class.php @@ -3,7 +3,7 @@ * importer * high class of importer module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/importer * @version 0.1 */ diff --git a/modules/importer/tpl/js/importer_admin.js b/modules/importer/tpl/js/importer_admin.js index bc5e0f201..3d95b12d4 100644 --- a/modules/importer/tpl/js/importer_admin.js +++ b/modules/importer/tpl/js/importer_admin.js @@ -1,6 +1,6 @@ /** * @file modules/importer/js/importer_admin.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief importer에서 사용하는 javascript **/ jQuery(function($){ diff --git a/modules/importer/tpl/js/importer_admin.min.js b/modules/importer/tpl/js/importer_admin.min.js index 14d97a873..b372fea29 100644 --- a/modules/importer/tpl/js/importer_admin.min.js +++ b/modules/importer/tpl/js/importer_admin.min.js @@ -1,6 +1,6 @@ /** * @file modules/importer/js/importer_admin.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief importer에서 사용하는 javascript **/ jQuery(function($){$('.checkxml').find('input:text').change(function(){$(this).closest('.checkxml').find('.x_help-inline').hide()}).end().find('button').click(function(){var $this,$container,$input,$messages,$loading,$form,$syncmember,count;$this=$(this).prop('disabled',true);$form=$this.closest('form');$container=$this.closest('.checkxml');$input=$container.find('input').prop('disabled',true).addClass('loading');$message=$container.find('.x_help-inline').hide() diff --git a/modules/importer/ttimport.class.php b/modules/importer/ttimport.class.php index bb38934c2..a0a253359 100644 --- a/modules/importer/ttimport.class.php +++ b/modules/importer/ttimport.class.php @@ -6,7 +6,7 @@ * ttimport class * ttxml import class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/importer * @version 0.1 */ diff --git a/modules/install/conf/info.xml b/modules/install/conf/info.xml index dfa9eb5d9..3f09ebf9c 100644 --- a/modules/install/conf/info.xml +++ b/modules/install/conf/info.xml @@ -23,14 +23,14 @@ system - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/install/install.admin.controller.php b/modules/install/install.admin.controller.php index af75d2519..00425f8c8 100644 --- a/modules/install/install.admin.controller.php +++ b/modules/install/install.admin.controller.php @@ -1,7 +1,7 @@ service - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/integration_search/integration_search.admin.controller.php b/modules/integration_search/integration_search.admin.controller.php index d8cf34293..3f259d4d0 100644 --- a/modules/integration_search/integration_search.admin.controller.php +++ b/modules/integration_search/integration_search.admin.controller.php @@ -2,7 +2,7 @@ /** * The admin view class of the integration_search module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class integration_searchAdminController extends integration_search { diff --git a/modules/integration_search/integration_search.admin.view.php b/modules/integration_search/integration_search.admin.view.php index c3d2fc815..420ba20fd 100644 --- a/modules/integration_search/integration_search.admin.view.php +++ b/modules/integration_search/integration_search.admin.view.php @@ -2,7 +2,7 @@ /** * The admin view class of the integration_search module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class integration_searchAdminView extends integration_search { diff --git a/modules/integration_search/integration_search.class.php b/modules/integration_search/integration_search.class.php index 03c2a0001..482a42e29 100644 --- a/modules/integration_search/integration_search.class.php +++ b/modules/integration_search/integration_search.class.php @@ -2,7 +2,7 @@ /** * The view class of the integration_search module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class integration_search extends ModuleObject { diff --git a/modules/integration_search/integration_search.model.php b/modules/integration_search/integration_search.model.php index 8a5e11710..ae8e54437 100644 --- a/modules/integration_search/integration_search.model.php +++ b/modules/integration_search/integration_search.model.php @@ -2,7 +2,7 @@ /** * The model class of integration module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class integration_searchModel extends module { diff --git a/modules/integration_search/integration_search.view.php b/modules/integration_search/integration_search.view.php index f9cd03eac..cec782e15 100644 --- a/modules/integration_search/integration_search.view.php +++ b/modules/integration_search/integration_search.view.php @@ -2,7 +2,7 @@ /** * The view class of the integration_search module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class integration_searchView extends integration_search { diff --git a/modules/integration_search/skins/default/skin.xml b/modules/integration_search/skins/default/skin.xml index 2dc18a181..d6199e25d 100644 --- a/modules/integration_search/skins/default/skin.xml +++ b/modules/integration_search/skins/default/skin.xml @@ -18,13 +18,13 @@ 2007-07-24 - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/integration_search/tpl/js/integration_search_admin.js b/modules/integration_search/tpl/js/integration_search_admin.js index 0ffa05049..c9e7bd5b3 100644 --- a/modules/integration_search/tpl/js/integration_search_admin.js +++ b/modules/integration_search/tpl/js/integration_search_admin.js @@ -1,5 +1,5 @@ /** * @file modules/board/js/board_admin.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief integration_search 모듈의 관리자용 javascript **/ diff --git a/modules/layout/conf/info.xml b/modules/layout/conf/info.xml index a21d38b85..dcae2b02c 100644 --- a/modules/layout/conf/info.xml +++ b/modules/layout/conf/info.xml @@ -23,14 +23,14 @@ construction - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/layout/faceoff/conf/info.xml b/modules/layout/faceoff/conf/info.xml index ad7ae81ff..70b3303f4 100644 --- a/modules/layout/faceoff/conf/info.xml +++ b/modules/layout/faceoff/conf/info.xml @@ -15,16 +15,16 @@ 0.1 2009-01-02 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/layout/faceoff/css/layout.css b/modules/layout/faceoff/css/layout.css index 5585d797b..4a3dc91bf 100644 --- a/modules/layout/faceoff/css/layout.css +++ b/modules/layout/faceoff/css/layout.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ /* html{ overflow:auto;} */ diff --git a/modules/layout/layout.admin.controller.php b/modules/layout/layout.admin.controller.php index c7f8281db..c671fe4ea 100644 --- a/modules/layout/layout.admin.controller.php +++ b/modules/layout/layout.admin.controller.php @@ -1,7 +1,7 @@ UIT Center > Open UI Technology Team > Kim Taegon(gonom9@nhncorp.com) */ +/* NAVER > UIT Center > Open UI Technology Team > Kim Taegon(gonom9@nhncorp.com) */ /* toolbar */ #toolbar { position:relative; z-index:1000; background:url(../images/bgMenu.gif) repeat-x 0 0; font-size:12px; height:35px; clear:both; } diff --git a/modules/layout/tpl/css/widget.css b/modules/layout/tpl/css/widget.css index c3283cd11..78b1bba8c 100755 --- a/modules/layout/tpl/css/widget.css +++ b/modules/layout/tpl/css/widget.css @@ -1,5 +1,5 @@ @charset "utf-8"; -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ /* common */ .open{ display:block !important;} diff --git a/modules/layout/tpl/js/ui.hotkey.js b/modules/layout/tpl/js/ui.hotkey.js index f0fe5b336..7da9f15f6 100644 --- a/modules/layout/tpl/js/ui.hotkey.js +++ b/modules/layout/tpl/js/ui.hotkey.js @@ -1,6 +1,6 @@ /* * jQuery Hotkey Plug-in - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ (function($){ diff --git a/modules/layout/tpl/js/ui.toolbar.js b/modules/layout/tpl/js/ui.toolbar.js index 871503387..1de87cc03 100644 --- a/modules/layout/tpl/js/ui.toolbar.js +++ b/modules/layout/tpl/js/ui.toolbar.js @@ -1,6 +1,6 @@ /* * jQuery Toolbar Plug-in - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) */ (function($){ diff --git a/modules/member/conf/info.xml b/modules/member/conf/info.xml index 8bdd20638..edef6ff2a 100644 --- a/modules/member/conf/info.xml +++ b/modules/member/conf/info.xml @@ -23,14 +23,14 @@ member - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/member/m.skins/default/skin.xml b/modules/member/m.skins/default/skin.xml index 180a09ff4..68478332d 100644 --- a/modules/member/m.skins/default/skin.xml +++ b/modules/member/m.skins/default/skin.xml @@ -4,14 +4,14 @@ XE Basic Member Mobile Skin XE 기본 모바일 스킨 입니다. - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) 0.1 2012-09-21 - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER diff --git a/modules/member/member.admin.controller.php b/modules/member/member.admin.controller.php index 41739bdfb..28bbf0bc4 100644 --- a/modules/member/member.admin.controller.php +++ b/modules/member/member.admin.controller.php @@ -1,7 +1,7 @@ Varsayılan Kullanıcı Dış Görünümü 회원 기본 스킨 - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) 会员模块的默认皮肤。 - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) 会員モジュールのデフォルトスキン - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) The default skin of the member - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) Giao diện mặc định của Module Thành viên - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) Por defecto de la piel miembro módulo - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) умолчанию кожу члена модуль - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) 會員模組預設面板。 - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) Üye modülünün varsayılan dış görünümü - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) 0.1 2007-02-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/member/tpl/js/signup_check.js b/modules/member/tpl/js/signup_check.js index 312eaa710..e267c09da 100644 --- a/modules/member/tpl/js/signup_check.js +++ b/modules/member/tpl/js/signup_check.js @@ -1,6 +1,6 @@ /** * @brief 회원 가입시나 정보 수정시 각 항목의 중복 검사등을 하는 기능을 구현 - * @author NHN (developer@xpressengine.com) + * @author NAVER (developer@xpressengine.com) **/ // 입력이 시작된 것과 입력후 정해진 시간동안 내용이 변하였을 경우 서버에 ajax로 체크를 하기 위한 변수 설정 diff --git a/modules/menu/conf/info.xml b/modules/menu/conf/info.xml index 9fe1754c2..77a83284f 100644 --- a/modules/menu/conf/info.xml +++ b/modules/menu/conf/info.xml @@ -23,14 +23,14 @@ construction - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/menu/menu.admin.controller.php b/modules/menu/menu.admin.controller.php index 8f19bf4b4..c7d8348d7 100644 --- a/modules/menu/menu.admin.controller.php +++ b/modules/menu/menu.admin.controller.php @@ -3,7 +3,7 @@ * menuAdminController class * admin controller class of the menu module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/menu * @version 0.1 */ diff --git a/modules/menu/menu.admin.model.php b/modules/menu/menu.admin.model.php index 1a9250646..6cd1c038d 100644 --- a/modules/menu/menu.admin.model.php +++ b/modules/menu/menu.admin.model.php @@ -3,7 +3,7 @@ * @class menuAdminModel * @brief admin model class of the menu module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/menu * @version 0.1 */ diff --git a/modules/menu/menu.admin.view.php b/modules/menu/menu.admin.view.php index b51b5efd3..14277317c 100644 --- a/modules/menu/menu.admin.view.php +++ b/modules/menu/menu.admin.view.php @@ -3,7 +3,7 @@ * menuAdminView class * admin view class of the menu module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/menu * @version 0.1 */ diff --git a/modules/menu/menu.class.php b/modules/menu/menu.class.php index 2e36ae900..3fd50bf0b 100644 --- a/modules/menu/menu.class.php +++ b/modules/menu/menu.class.php @@ -3,7 +3,7 @@ * menu class * high class of the menu module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/menu * @version 0.1 */ diff --git a/modules/menu/menu.mobile.php b/modules/menu/menu.mobile.php index 4945818f2..862ff76cc 100644 --- a/modules/menu/menu.mobile.php +++ b/modules/menu/menu.mobile.php @@ -3,7 +3,7 @@ * menuMobile class * mobile class of the menu module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/menu * @version 0.1 */ diff --git a/modules/menu/tpl/js/sitemap.js b/modules/menu/tpl/js/sitemap.js index b4ae216c8..fd44c7ed8 100644 --- a/modules/menu/tpl/js/sitemap.js +++ b/modules/menu/tpl/js/sitemap.js @@ -1,4 +1,4 @@ -/* NHN (developers@xpressengine.com) */ +/* NAVER (developers@xpressengine.com) */ jQuery(function($){ // get add/edit menu title diff --git a/modules/message/conf/info.xml b/modules/message/conf/info.xml index dcc951bb5..916e8aa99 100644 --- a/modules/message/conf/info.xml +++ b/modules/message/conf/info.xml @@ -23,14 +23,14 @@ system - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/message/message.admin.controller.php b/modules/message/message.admin.controller.php index c286fe3e2..a6dd4d4d2 100644 --- a/modules/message/message.admin.controller.php +++ b/modules/message/message.admin.controller.php @@ -1,7 +1,7 @@ system - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/module/module.admin.controller.php b/modules/module/module.admin.controller.php index 39eedb423..d3691f583 100644 --- a/modules/module/module.admin.controller.php +++ b/modules/module/module.admin.controller.php @@ -1,7 +1,7 @@ service - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/page/m.skins/default/skin.xml b/modules/page/m.skins/default/skin.xml index dec89bdff..cac8ae394 100644 --- a/modules/page/m.skins/default/skin.xml +++ b/modules/page/m.skins/default/skin.xml @@ -9,14 +9,14 @@ 2012-08-30 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/page/page.admin.controller.php b/modules/page/page.admin.controller.php index ec8ee5d1f..d16a2a342 100644 --- a/modules/page/page.admin.controller.php +++ b/modules/page/page.admin.controller.php @@ -1,7 +1,7 @@ 2012-08-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/page/tpl/js/page_admin.js b/modules/page/tpl/js/page_admin.js index 7ac0bc7ea..122544b66 100644 --- a/modules/page/tpl/js/page_admin.js +++ b/modules/page/tpl/js/page_admin.js @@ -1,6 +1,6 @@ /** * @file modules/page/js/page_admin.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief page모듈의 관리자용 javascript **/ diff --git a/modules/point/conf/info.xml b/modules/point/conf/info.xml index 2ef3dff79..537e6a680 100644 --- a/modules/point/conf/info.xml +++ b/modules/point/conf/info.xml @@ -59,14 +59,14 @@ member - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/point/point.admin.controller.php b/modules/point/point.admin.controller.php index c618933a0..b42c46376 100644 --- a/modules/point/point.admin.controller.php +++ b/modules/point/point.admin.controller.php @@ -1,7 +1,7 @@ content - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/poll/poll.admin.controller.php b/modules/poll/poll.admin.controller.php index fde28db90..5c46c0c06 100644 --- a/modules/poll/poll.admin.controller.php +++ b/modules/poll/poll.admin.controller.php @@ -1,7 +1,7 @@ 2007-02-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/poll/skins/simple/skin.xml b/modules/poll/skins/simple/skin.xml index 1cc968eab..03896b383 100644 --- a/modules/poll/skins/simple/skin.xml +++ b/modules/poll/skins/simple/skin.xml @@ -16,12 +16,12 @@ 2008-04-16 - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/poll/tpl/js/poll_admin.js b/modules/poll/tpl/js/poll_admin.js index 3c87c4acb..55d796024 100644 --- a/modules/poll/tpl/js/poll_admin.js +++ b/modules/poll/tpl/js/poll_admin.js @@ -1,6 +1,6 @@ /** * @file modules/poll/js/poll_admin.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief poll 모듈의 관리자용 javascript **/ diff --git a/modules/rss/conf/info.xml b/modules/rss/conf/info.xml index 705b1f0f6..fd6cc05d9 100644 --- a/modules/rss/conf/info.xml +++ b/modules/rss/conf/info.xml @@ -23,14 +23,14 @@ utility - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/rss/rss.admin.controller.php b/modules/rss/rss.admin.controller.php index d7282f14c..b1cf8ab36 100644 --- a/modules/rss/rss.admin.controller.php +++ b/modules/rss/rss.admin.controller.php @@ -2,7 +2,7 @@ /** * The admin controller class of the rss module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class rssAdminController extends rss { diff --git a/modules/rss/rss.admin.view.php b/modules/rss/rss.admin.view.php index 88fc0e311..c11967f85 100644 --- a/modules/rss/rss.admin.view.php +++ b/modules/rss/rss.admin.view.php @@ -2,7 +2,7 @@ /** * The admin view class of the rss module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class rssAdminView extends rss { diff --git a/modules/rss/rss.class.php b/modules/rss/rss.class.php index 72824f2f6..ac40f9c68 100644 --- a/modules/rss/rss.class.php +++ b/modules/rss/rss.class.php @@ -2,7 +2,7 @@ /** * High class of rss module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class rss extends ModuleObject { diff --git a/modules/rss/rss.controller.php b/modules/rss/rss.controller.php index 8ad364365..f33428f2c 100644 --- a/modules/rss/rss.controller.php +++ b/modules/rss/rss.controller.php @@ -2,7 +2,7 @@ /** * The controller class of rss module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class rssController extends rss { diff --git a/modules/rss/rss.model.php b/modules/rss/rss.model.php index b4663a0cc..25466790f 100644 --- a/modules/rss/rss.model.php +++ b/modules/rss/rss.model.php @@ -2,7 +2,7 @@ /** * The model class of the rss module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class rssModel extends rss { diff --git a/modules/rss/rss.view.php b/modules/rss/rss.view.php index 216c7c489..85ca77f29 100644 --- a/modules/rss/rss.view.php +++ b/modules/rss/rss.view.php @@ -2,7 +2,7 @@ /** * The view class of the rss module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) */ class rssView extends rss { diff --git a/modules/session/conf/info.xml b/modules/session/conf/info.xml index 8386403b3..95601549c 100644 --- a/modules/session/conf/info.xml +++ b/modules/session/conf/info.xml @@ -39,12 +39,12 @@ system - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/session/session.admin.controller.php b/modules/session/session.admin.controller.php index 581707b2b..62c42027c 100644 --- a/modules/session/session.admin.controller.php +++ b/modules/session/session.admin.controller.php @@ -1,7 +1,7 @@ accessory - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/spamfilter/spamfilter.admin.controller.php b/modules/spamfilter/spamfilter.admin.controller.php index 0ca7dfe10..02c696ecb 100644 --- a/modules/spamfilter/spamfilter.admin.controller.php +++ b/modules/spamfilter/spamfilter.admin.controller.php @@ -1,7 +1,7 @@ content - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/tag/tag.admin.controller.php b/modules/tag/tag.admin.controller.php index 249ef37aa..839c7a0bb 100644 --- a/modules/tag/tag.admin.controller.php +++ b/modules/tag/tag.admin.controller.php @@ -1,7 +1,7 @@ content - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/trackback/trackback.admin.controller.php b/modules/trackback/trackback.admin.controller.php index 78a67c5ff..18e94cae8 100644 --- a/modules/trackback/trackback.admin.controller.php +++ b/modules/trackback/trackback.admin.controller.php @@ -3,7 +3,7 @@ * trackbackAdminController class * trackback module admin controller class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/trackback * @version 0.1 */ diff --git a/modules/trackback/trackback.admin.model.php b/modules/trackback/trackback.admin.model.php index 28e08377b..20db5873a 100644 --- a/modules/trackback/trackback.admin.model.php +++ b/modules/trackback/trackback.admin.model.php @@ -3,7 +3,7 @@ * @class trackbackAdminModel * @brief trackback module admin model class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/trackback * @version 0.1 */ diff --git a/modules/trackback/trackback.admin.view.php b/modules/trackback/trackback.admin.view.php index ad136c15c..2f520d290 100644 --- a/modules/trackback/trackback.admin.view.php +++ b/modules/trackback/trackback.admin.view.php @@ -3,7 +3,7 @@ * trackbackAdminView class * trackback module admin view class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/trackback * @version 0.1 */ diff --git a/modules/trackback/trackback.class.php b/modules/trackback/trackback.class.php index 40d81affd..99121b487 100644 --- a/modules/trackback/trackback.class.php +++ b/modules/trackback/trackback.class.php @@ -3,7 +3,7 @@ * trackback class * trackback module's high class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/trackback * @version 0.1 */ diff --git a/modules/trackback/trackback.controller.php b/modules/trackback/trackback.controller.php index 51fb8f49d..ece0fae24 100644 --- a/modules/trackback/trackback.controller.php +++ b/modules/trackback/trackback.controller.php @@ -3,7 +3,7 @@ * trackbackController class * trackback module's Controller class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/trackback * @version 0.1 */ diff --git a/modules/trackback/trackback.model.php b/modules/trackback/trackback.model.php index dfb5390ac..f9b4bfa85 100644 --- a/modules/trackback/trackback.model.php +++ b/modules/trackback/trackback.model.php @@ -3,7 +3,7 @@ * trackbackModel class * trackback module model class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/trackback * @version 0.1 */ diff --git a/modules/trackback/trackback.view.php b/modules/trackback/trackback.view.php index b17c5667a..faea62bc8 100644 --- a/modules/trackback/trackback.view.php +++ b/modules/trackback/trackback.view.php @@ -3,7 +3,7 @@ * @class trackbackView * @brief trackback module's view class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/trackback * @version 0.1 */ diff --git a/modules/trash/conf/info.xml b/modules/trash/conf/info.xml index 941e2e22c..b614da989 100644 --- a/modules/trash/conf/info.xml +++ b/modules/trash/conf/info.xml @@ -8,14 +8,14 @@ 2011-05-12 content - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/trash/tpl/js/trash_admin.js b/modules/trash/tpl/js/trash_admin.js index 46ca7de79..2c9204adf 100644 --- a/modules/trash/tpl/js/trash_admin.js +++ b/modules/trash/tpl/js/trash_admin.js @@ -1,6 +1,6 @@ /** * @file modules/trash/js/trash_admin.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief trash 모듈의 관리자용 javascript **/ diff --git a/modules/trash/trash.admin.controller.php b/modules/trash/trash.admin.controller.php index d5bbb54de..abb918af0 100644 --- a/modules/trash/trash.admin.controller.php +++ b/modules/trash/trash.admin.controller.php @@ -3,7 +3,7 @@ * trashAdminController class * trash admin the module's controller class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/trash * @version 0.1 */ diff --git a/modules/trash/trash.admin.view.php b/modules/trash/trash.admin.view.php index 3022ae0f2..5080bf8ec 100644 --- a/modules/trash/trash.admin.view.php +++ b/modules/trash/trash.admin.view.php @@ -3,7 +3,7 @@ * trashAdminView class * Admin view class of the trash module * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/trash * @version 0.1 */ diff --git a/modules/trash/trash.class.php b/modules/trash/trash.class.php index 07399bd1d..5e495719d 100644 --- a/modules/trash/trash.class.php +++ b/modules/trash/trash.class.php @@ -5,7 +5,7 @@ require_once(_XE_PATH_.'modules/trash/model/TrashVO.php'); * trash class * trash the module's high class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/trash * @version 0.1 */ diff --git a/modules/trash/trash.controller.php b/modules/trash/trash.controller.php index f7490a983..876657213 100644 --- a/modules/trash/trash.controller.php +++ b/modules/trash/trash.controller.php @@ -3,7 +3,7 @@ * trashController * trash the module's controller class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/trash * @version 0.1 */ diff --git a/modules/trash/trash.model.php b/modules/trash/trash.model.php index 85e24c89a..cd8a13a3d 100644 --- a/modules/trash/trash.model.php +++ b/modules/trash/trash.model.php @@ -3,7 +3,7 @@ * trashModel class * trash the module's model class * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/trash * @version 0.1 */ diff --git a/modules/trash/trash.view.php b/modules/trash/trash.view.php index 7ed577603..c1e7ff88a 100644 --- a/modules/trash/trash.view.php +++ b/modules/trash/trash.view.php @@ -3,7 +3,7 @@ * trashView class * View class of the module trash * - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @package /modules/trash * @version 0.1 */ diff --git a/modules/widget/conf/info.xml b/modules/widget/conf/info.xml index 4bdcf0365..c40935978 100644 --- a/modules/widget/conf/info.xml +++ b/modules/widget/conf/info.xml @@ -23,14 +23,14 @@ construction - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/modules/widget/tpl/js/widget.js b/modules/widget/tpl/js/widget.js index 91d03a272..121714082 100644 --- a/modules/widget/tpl/js/widget.js +++ b/modules/widget/tpl/js/widget.js @@ -1,6 +1,6 @@ /** * @file modules/widget/js/widget.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief 위젯 관리용 자바스크립트 **/ diff --git a/modules/widget/tpl/js/widget.min.js b/modules/widget/tpl/js/widget.min.js index b9ea94d3c..89eacc1a0 100644 --- a/modules/widget/tpl/js/widget.min.js +++ b/modules/widget/tpl/js/widget.min.js @@ -1,6 +1,6 @@ /** * @file modules/widget/js/widget.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief 위젯 관리용 자바스크립트 **/ function getStyle(obj){var style=obj.getAttribute("style");if(!style)style=obj.style;if(typeof (style)=="object")style=style.cssText;style=style.replace(/\burl\s*\(\s*"(.*?)"\s*\)/i,"url('$1')");return style} diff --git a/modules/widget/tpl/js/widget_admin.js b/modules/widget/tpl/js/widget_admin.js index 1b565376b..bb2f6ec26 100644 --- a/modules/widget/tpl/js/widget_admin.js +++ b/modules/widget/tpl/js/widget_admin.js @@ -1,6 +1,6 @@ /** * @file modules/widget/js/widget_admin.js - * @author NHN (developers@xpressengine.com) + * @author NAVER (developers@xpressengine.com) * @brief widget 모듈의 관리자용 javascript **/ diff --git a/modules/widget/widget.admin.view.php b/modules/widget/widget.admin.view.php index 933a9e3b4..9c6542c51 100644 --- a/modules/widget/widget.admin.view.php +++ b/modules/widget/widget.admin.view.php @@ -1,7 +1,7 @@ 0.1 2009-03-16 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/widgets/content/content.class.php b/widgets/content/content.class.php index 789315259..f1923e54b 100644 --- a/widgets/content/content.class.php +++ b/widgets/content/content.class.php @@ -1,7 +1,7 @@ コンテンツウィジェットのデフォルトスキン Genel içerik durumunda varsayılan dış görünüm. Content 위젯 기본 스킨 입니다. - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) Skin mặc định Widget Nội dung. - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) 全局内容控件默认皮肤。 - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) 内容預設面板。 - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) コンテンツウィジェットのデフォルトスキン - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) Genel içerik durumunda varsayılan dış görünüm. - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) 0.1 2009-02-10 http://xpressengine.com/ - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/widgets/counter_status/conf/info.xml b/widgets/counter_status/conf/info.xml index 00a64ce30..6d98e9296 100644 --- a/widgets/counter_status/conf/info.xml +++ b/widgets/counter_status/conf/info.xml @@ -54,14 +54,14 @@ 2007-02-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/widgets/counter_status/counter_status.class.php b/widgets/counter_status/counter_status.class.php index 3c235f947..c4ff67123 100644 --- a/widgets/counter_status/counter_status.class.php +++ b/widgets/counter_status/counter_status.class.php @@ -1,7 +1,7 @@ 2007-02-28 http://xpressengine.com/ - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/widgets/language_select/conf/info.xml b/widgets/language_select/conf/info.xml index dee0e528f..f1af6d236 100644 --- a/widgets/language_select/conf/info.xml +++ b/widgets/language_select/conf/info.xml @@ -22,15 +22,15 @@ 2007-02-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/widgets/language_select/language_select.class.php b/widgets/language_select/language_select.class.php index 1bab435f7..7715bc46a 100644 --- a/widgets/language_select/language_select.class.php +++ b/widgets/language_select/language_select.class.php @@ -1,7 +1,7 @@ http://xpressengine.com/ - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/widgets/login_info/conf/info.xml b/widgets/login_info/conf/info.xml index aaccfe933..40e2a50bf 100644 --- a/widgets/login_info/conf/info.xml +++ b/widgets/login_info/conf/info.xml @@ -21,14 +21,14 @@ 0.1 2007-02-28 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/widgets/login_info/login_info.class.php b/widgets/login_info/login_info.class.php index b206f5b53..37118b8fe 100644 --- a/widgets/login_info/login_info.class.php +++ b/widgets/login_info/login_info.class.php @@ -1,7 +1,7 @@ 1.0 2013-02-28 - NHN - NHN + NAVER + NAVER \ No newline at end of file diff --git a/widgets/login_info/skins/xe_global/skin.xml b/widgets/login_info/skins/xe_global/skin.xml index 8ebbdf666..c17bb8af4 100644 --- a/widgets/login_info/skins/xe_global/skin.xml +++ b/widgets/login_info/skins/xe_global/skin.xml @@ -15,11 +15,11 @@ http://www.xpressengine.com - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/widgets/login_info/skins/xe_globalTwo/skin.xml b/widgets/login_info/skins/xe_globalTwo/skin.xml index 11a426612..0f4e17619 100644 --- a/widgets/login_info/skins/xe_globalTwo/skin.xml +++ b/widgets/login_info/skins/xe_globalTwo/skin.xml @@ -15,11 +15,11 @@ http://www.xpressengine.com - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/widgets/login_info/skins/xe_official/skin.xml b/widgets/login_info/skins/xe_official/skin.xml index 4607e4514..4930c645b 100644 --- a/widgets/login_info/skins/xe_official/skin.xml +++ b/widgets/login_info/skins/xe_official/skin.xml @@ -9,44 +9,44 @@ XE Resmi Giriş Bilgilerini Görüntüle. XE 공식 레이아웃에 적합한 로그인 정보 출력 위젯입니다. - 제작 : NHN + 제작 : NAVER XE公式レイアウトに適したログイン情報表示用のウィジェットです。 - 제작 : NHN + 제작 : NAVER This widget displays the login information for the Official layout of XE. - 제작 : NHN + 제작 : NAVER Widget hiển thị thông tin đăng nhập với giao diện chính thức của XE. - 제작 : NHN + 제작 : NAVER 适合XE 官房网站布局的登陆表单控件。 - 제작 : NHN + 제작 : NAVER 適合XE 官方網站登入面板。 - 제작 : NHN + 제작 : NAVER Bu görsel bileşen, XE Resmi yerleşim düzeni için uygun giriş bilgisidir. - 제작 : NHN + 제작 : NAVER 0.1 2007-02-28 http://xpressengine.com/ - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/widgets/login_info/skins/xe_solid_enterprise_login/skin.xml b/widgets/login_info/skins/xe_solid_enterprise_login/skin.xml index 8a52b7dcf..511dc6470 100644 --- a/widgets/login_info/skins/xe_solid_enterprise_login/skin.xml +++ b/widgets/login_info/skins/xe_solid_enterprise_login/skin.xml @@ -9,7 +9,7 @@ XE Solid Enterprise Login Skin XE 기업용 레이아웃과 조합하여 쓰이도록 디자인 된 로그인 위젯스킨입니다. - NHN (developers@xpressengine.com) + NAVER (developers@xpressengine.com) The Skin inherits the style from the XE Solid Enterprise layout, the users are able to login the site conveniently. @@ -40,13 +40,13 @@ http://www.xpressengine.com/ - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/widgets/mcontent/conf/info.xml b/widgets/mcontent/conf/info.xml index 25454791b..81ba42070 100644 --- a/widgets/mcontent/conf/info.xml +++ b/widgets/mcontent/conf/info.xml @@ -18,15 +18,15 @@ 2009-03-16 - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER diff --git a/widgets/mcontent/mcontent.class.php b/widgets/mcontent/mcontent.class.php index 4563b4da4..3e9c3eb24 100644 --- a/widgets/mcontent/mcontent.class.php +++ b/widgets/mcontent/mcontent.class.php @@ -1,7 +1,7 @@ 0.1 2009-08-20 - NHN - NHN - NHN + NAVER + NAVER + NAVER diff --git a/widgetstyles/simple/skin.xml b/widgetstyles/simple/skin.xml index a6a65b847..8ec2b37da 100644 --- a/widgetstyles/simple/skin.xml +++ b/widgetstyles/simple/skin.xml @@ -19,13 +19,13 @@ preview.gif - NHN - NHN - NHN - NHN - NHN - NHN - NHN + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER + NAVER From f010a2ce7f7e55bfaf5b13f9f4852de09bbab285 Mon Sep 17 00:00:00 2001 From: ngleader Date: Thu, 7 Nov 2013 05:20:44 +0000 Subject: [PATCH 003/473] adding COPYING file for NAVER git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13181 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- COPYING | 1 + 1 file changed, 1 insertion(+) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 000000000..0809f3778 --- /dev/null +++ b/COPYING @@ -0,0 +1 @@ +Copyright (C) 2013 NAVER From acd89ccd9a07420fcc943e77910910fe3768cf29 Mon Sep 17 00:00:00 2001 From: khongchi Date: Fri, 8 Nov 2013 03:44:04 +0000 Subject: [PATCH 004/473] issue 3633, protect from file upload hacking git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13182 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/security/UploadFileFilter.class.php | 40 +++++++++++++++++++ config/func.inc.php | 12 ++++++ modules/file/file.controller.php | 4 ++ .../integration_search.admin.controller.php | 4 +- modules/layout/layout.admin.controller.php | 7 +++- modules/member/member.controller.php | 10 +++++ modules/menu/menu.admin.controller.php | 35 ++++++++++++---- modules/module/module.admin.controller.php | 2 +- modules/module/module.controller.php | 9 ++++- modules/rss/rss.admin.controller.php | 3 +- 10 files changed, 111 insertions(+), 15 deletions(-) create mode 100644 classes/security/UploadFileFilter.class.php diff --git a/classes/security/UploadFileFilter.class.php b/classes/security/UploadFileFilter.class.php new file mode 100644 index 000000000..47e55f765 --- /dev/null +++ b/classes/security/UploadFileFilter.class.php @@ -0,0 +1,40 @@ +{$vars->name} = $module_info->{$vars->name}; continue; } - // Ignore if the file is not successfully uploaded - if(!is_uploaded_file($image_obj['tmp_name'])) + // Ignore if the file is not successfully uploaded, and check uploaded file + if(!is_uploaded_file($image_obj['tmp_name']) || !checkUploadedFile($image_obj['tmp_name'])) { unset($obj->{$vars->name}); continue; diff --git a/modules/layout/layout.admin.controller.php b/modules/layout/layout.admin.controller.php index c671fe4ea..02e074b1c 100644 --- a/modules/layout/layout.admin.controller.php +++ b/modules/layout/layout.admin.controller.php @@ -440,6 +440,9 @@ class layoutAdminController extends layout $filename = sprintf('%s.%s', md5($filename), $ext); } + // Check uploaded file + if(!checkUploadedFile($source['tmp_name'])) return false; + if(file_exists($path .'/'. $filename)) @unlink($path . $filename); if(!move_uploaded_file($source['tmp_name'], $path . $filename )) return false; return true; @@ -692,7 +695,7 @@ class layoutAdminController extends layout // check upload if(!Context::isUploaded()) exit(); $file = Context::get('file'); - if(!is_uploaded_file($file['tmp_name'])) exit(); + if(!is_uploaded_file($file['tmp_name']) || !checkUploadedFile($file['tmp_name'])) exit(); if(!preg_match('/\.(tar)$/i', $file['name'])) exit(); $layout_srl = Context::get('layout_srl'); @@ -927,7 +930,7 @@ class layoutAdminController extends layout $this->setTemplatePath($this->module_path.'tpl'); $this->setTemplateFile("after_upload_config_image.html"); - if(!$img['tmp_name'] || !is_uploaded_file($img['tmp_name'])) + if(!$img['tmp_name'] || !is_uploaded_file($img['tmp_name']) || !checkUploadedFile($img['tmp_name'])) { Context::set('msg', Context::getLang('upload failed')); return; diff --git a/modules/member/member.controller.php b/modules/member/member.controller.php index 2ea73a10f..a2c15a429 100644 --- a/modules/member/member.controller.php +++ b/modules/member/member.controller.php @@ -645,6 +645,10 @@ class memberController extends member */ function insertProfileImage($member_srl, $target_file) { + + // Check uploaded file + if(!checkUploadedFile($target_file)) return; + $oModuleModel = &getModel('module'); $config = $oModuleModel->getModuleConfig('member'); // Get an image size @@ -706,6 +710,9 @@ class memberController extends member */ function insertImageName($member_srl, $target_file) { + // Check uploaded file + if(!checkUploadedFile($target_file)) return; + $oModuleModel = &getModel('module'); $config = $oModuleModel->getModuleConfig('member'); // Get an image size @@ -812,6 +819,9 @@ class memberController extends member */ function insertImageMark($member_srl, $target_file) { + // Check uploaded file + if(!checkUploadedFile($target_file)) return; + $oModuleModel = &getModel('module'); $config = $oModuleModel->getModuleConfig('member'); // Get an image size diff --git a/modules/menu/menu.admin.controller.php b/modules/menu/menu.admin.controller.php index c7d8348d7..b84191839 100644 --- a/modules/menu/menu.admin.controller.php +++ b/modules/menu/menu.admin.controller.php @@ -1361,11 +1361,17 @@ class menuAdminController extends menu $target = Context::get('target'); $target_file = Context::get($target); // Error occurs when the target is neither a uploaded file nor a valid file - if(!$menu_srl || !$menu_item_srl || !$target_file || !is_uploaded_file($target_file['tmp_name']) || !preg_match('/\.(gif|jpeg|jpg|png)/i',$target_file['name'])) + if(!$menu_srl || !$menu_item_srl) { Context::set('error_messge', Context::getLang('msg_invalid_request')); - // Move the file to a specific director if the uploaded file meets requirement + } + else if(!$target_file || !is_uploaded_file($target_file['tmp_name']) || !preg_match('/\.(gif|jpeg|jpg|png)/i',$target_file['name']) || !checkUploadedFile($target_file['tmp_name'])) + { + Context::set('error_messge', Context::getLang('msg_invalid_request')); + } + + // Move the file to a specific director if the uploaded file meets requirement else { $tmp_arr = explode('.',$target_file['name']); @@ -1977,8 +1983,12 @@ class menuAdminController extends menu $ext = $tmp_arr[count($tmp_arr)-1]; $filename = sprintf('%s%d.%s.%s.%s', $path, $args->menu_item_srl, $date, 'menu_normal_btn', $ext); - move_uploaded_file($args->menu_normal_btn['tmp_name'], $filename); - $returnArray['normal_btn'] = $filename; + + if(checkUploadedFile($args->menu_normal_btn['tmp_name'])) + { + move_uploaded_file ( $args->menu_normal_btn ['tmp_name'], $filename ); + $returnArray ['normal_btn'] = $filename; + } } // hover button @@ -1988,8 +1998,12 @@ class menuAdminController extends menu $ext = $tmp_arr[count($tmp_arr)-1]; $filename = sprintf('%s%d.%s.%s.%s', $path, $args->menu_item_srl, $date, 'menu_hover_btn', $ext); - move_uploaded_file($args->menu_hover_btn['tmp_name'], $filename); - $returnArray['hover_btn'] = $filename; + + if(checkUploadedFile($args->menu_hover_btn['tmp_name'])) + { + move_uploaded_file($args->menu_hover_btn['tmp_name'], $filename); + $returnArray['hover_btn'] = $filename; + } } // active button @@ -1999,8 +2013,13 @@ class menuAdminController extends menu $ext = $tmp_arr[count($tmp_arr)-1]; $filename = sprintf('%s%d.%s.%s.%s', $path, $args->menu_item_srl, $date, 'menu_active_btn', $ext); - move_uploaded_file($args->menu_active_btn['tmp_name'], $filename); - $returnArray['active_btn'] = $filename; + + if(checkUploadedFile($args->menu_active_btn['tmp_name'])) + { + move_uploaded_file($args->menu_active_btn['tmp_name'], $filename); + $returnArray['active_btn'] = $filename; + } + } return $returnArray; } diff --git a/modules/module/module.admin.controller.php b/modules/module/module.admin.controller.php index d3691f583..752265c2b 100644 --- a/modules/module/module.admin.controller.php +++ b/modules/module/module.admin.controller.php @@ -436,7 +436,7 @@ class moduleAdminController extends module continue; } // Ignore if the file is not successfully uploaded - if(!is_uploaded_file($image_obj['tmp_name'])) + if(!is_uploaded_file($image_obj['tmp_name']) || !checkUploadedFile($image_obj['tmp_name'])) { unset($obj->{$vars->name}); continue; diff --git a/modules/module/module.controller.php b/modules/module/module.controller.php index 35a40611e..8bd46c4a2 100644 --- a/modules/module/module.controller.php +++ b/modules/module/module.controller.php @@ -1134,7 +1134,8 @@ class moduleController extends module } else { - $this->add('save_filename', $output->get('save_filename')); + if($output) $this->add('save_filename', $output->get('save_filename')); + else $this->add('save_filename', ''); } } @@ -1156,6 +1157,9 @@ class moduleController extends module $save_filename = sprintf('%s%s.%s',$path, $vars->module_filebox_srl, $ext); $tmp = $vars->addfile['tmp_name']; + // Check uploaded file + if(!checkUploadedFile($tmp)) return false; + if(!@move_uploaded_file($tmp, $save_filename)) { return false; @@ -1188,6 +1192,9 @@ class moduleController extends module $save_filename = sprintf('%s%s.%s',$path, $vars->module_filebox_srl, $vars->ext); $tmp = $vars->addfile['tmp_name']; + // Check uploaded file + if(!checkUploadedFile($tmp)) return false; + // upload if(!@move_uploaded_file($tmp, $save_filename)) { diff --git a/modules/rss/rss.admin.controller.php b/modules/rss/rss.admin.controller.php index b1cf8ab36..a1c2a165a 100644 --- a/modules/rss/rss.admin.controller.php +++ b/modules/rss/rss.admin.controller.php @@ -44,7 +44,7 @@ class rssAdminController extends rss $total_config->image = ''; } // Ignore if the file is not the one which has been successfully uploaded - if($image_obj['tmp_name'] && is_uploaded_file($image_obj['tmp_name'])) + if($image_obj['tmp_name'] && is_uploaded_file($image_obj['tmp_name']) && checkUploadedFile($image_obj['tmp_name'])) { // Ignore if the file is not an image (swf is accepted ~) $image_obj['name'] = Context::convertEncodingStr($image_obj['name']); @@ -59,6 +59,7 @@ class rssAdminController extends rss else { $filename = $path.$image_obj['name']; + // Move the file if(!move_uploaded_file($image_obj['tmp_name'], $filename)) $alt_message = 'msg_error_occured'; else From 2ac48d1a3bd79eaa9656f6cb9c617b913e205aa4 Mon Sep 17 00:00:00 2001 From: bnu Date: Fri, 8 Nov 2013 03:44:27 +0000 Subject: [PATCH 005/473] =?UTF-8?q?Issue=203634=20=EB=8C=93=EA=B8=80=20?= =?UTF-8?q?=EC=9E=91=EC=84=B1=20=EC=8B=9C=20=20checkCSRF()=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13183 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/comment/comment.controller.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/comment/comment.controller.php b/modules/comment/comment.controller.php index b078fae33..45f649d57 100644 --- a/modules/comment/comment.controller.php +++ b/modules/comment/comment.controller.php @@ -185,6 +185,11 @@ class commentController extends comment */ function insertComment($obj, $manual_inserted = FALSE) { + if(!$manual_inserted && !checkCSRF()) + { + return new Object(-1, 'msg_invalid_request'); + } + if(!is_object($obj)) { $obj = new stdClass(); From e0879ea45cdc36663a51d1603947e4019a84688b Mon Sep 17 00:00:00 2001 From: khongchi Date: Fri, 8 Nov 2013 04:27:55 +0000 Subject: [PATCH 006/473] remove debugPrint git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13184 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/security/UploadFileFilter.class.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/classes/security/UploadFileFilter.class.php b/classes/security/UploadFileFilter.class.php index 47e55f765..f49573e27 100644 --- a/classes/security/UploadFileFilter.class.php +++ b/classes/security/UploadFileFilter.class.php @@ -23,7 +23,6 @@ class UploadFileFilter if (FALSE !== $has_php_tag && FALSE !== strpos($content, $v)) { fclose($fp); - debugPrint('unvalid file'); return FALSE; } } @@ -31,7 +30,6 @@ class UploadFileFilter fclose($fp); - debugPrint('valid file'); return TRUE; } } From bce0a0b6d4db9ea26c68e4c37eca24e761318a10 Mon Sep 17 00:00:00 2001 From: akasima Date: Fri, 8 Nov 2013 05:52:51 +0000 Subject: [PATCH 007/473] copyright add to php files git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13186 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- addons/adminlogging/adminlogging.addon.php | 1 + addons/autolink/autolink.addon.php | 1 + addons/blogapi/blogapi.addon.php | 1 + addons/blogapi/blogapi.func.php | 1 + addons/captcha/captcha.addon.php | 2 ++ addons/counter/counter.addon.php | 1 + addons/member_communication/member_communication.addon.php | 1 + addons/member_extra_info/member_extra_info.addon.php | 1 + addons/member_extra_info/member_extra_info.lib.php | 1 + addons/mobile/mobile.addon.php | 1 + addons/openid_delegation_id/openid_delegation_id.addon.php | 1 + addons/point_level_icon/point_level_icon.addon.php | 1 + addons/point_level_icon/point_level_icon.lib.php | 1 + addons/resize_image/resize_image.addon.php | 1 + admin/index.php | 2 ++ classes/cache/CacheApc.class.php | 1 + classes/cache/CacheFile.class.php | 1 + classes/cache/CacheHandler.class.php | 1 + classes/cache/CacheMemcache.class.php | 1 + classes/cache/CacheWincache.class.php | 1 + classes/context/Context.class.php | 1 + classes/db/DB.class.php | 1 + classes/db/DBCubrid.class.php | 1 + classes/db/DBMssql.class.php | 1 + classes/db/DBMysql.class.php | 1 + classes/db/DBMysql_innodb.class.php | 1 + classes/db/DBMysqli.class.php | 1 + classes/db/queryparts/Query.class.php | 1 + classes/db/queryparts/Subquery.class.php | 1 + classes/db/queryparts/condition/Condition.class.php | 1 + classes/db/queryparts/condition/ConditionGroup.class.php | 1 + classes/db/queryparts/condition/ConditionSubquery.class.php | 1 + .../db/queryparts/condition/ConditionWithArgument.class.php | 1 + .../queryparts/condition/ConditionWithoutArgument.class.php | 1 + .../db/queryparts/expression/ClickCountExpression.class.php | 1 + classes/db/queryparts/expression/DeleteExpression.class.php | 1 + classes/db/queryparts/expression/Expression.class.php | 1 + classes/db/queryparts/expression/InsertExpression.class.php | 1 + classes/db/queryparts/expression/SelectExpression.class.php | 1 + classes/db/queryparts/expression/StarExpression.class.php | 1 + classes/db/queryparts/expression/UpdateExpression.class.php | 1 + .../expression/UpdateExpressionWithoutArgument.class.php | 1 + classes/db/queryparts/limit/Limit.class.php | 1 + classes/db/queryparts/order/OrderByColumn.class.php | 1 + classes/db/queryparts/table/CubridTableWithHint.class.php | 1 + classes/db/queryparts/table/IndexHint.class.php | 1 + classes/db/queryparts/table/JoinTable.class.php | 1 + classes/db/queryparts/table/MssqlTableWithHint.class.php | 1 + classes/db/queryparts/table/MysqlTableWithHint.class.php | 1 + classes/db/queryparts/table/Table.class.php | 1 + classes/display/DisplayHandler.class.php | 1 + classes/display/HTMLDisplayHandler.php | 1 + classes/display/JSCallbackDisplayHandler.php | 1 + classes/display/JSONDisplayHandler.php | 1 + classes/display/VirtualXMLDisplayHandler.php | 1 + classes/display/XMLDisplayHandler.php | 1 + classes/editor/EditorHandler.class.php | 1 + classes/extravar/Extravar.class.php | 1 + classes/file/FileHandler.class.php | 1 + classes/file/FileObject.class.php | 1 + classes/frontendfile/FrontEndFileHandler.class.php | 1 + classes/handler/Handler.class.php | 1 + classes/httprequest/XEHttpRequest.class.php | 1 + classes/mail/Mail.class.php | 1 + classes/mobile/Mobile.class.php | 1 + classes/module/ModuleHandler.class.php | 1 + classes/module/ModuleObject.class.php | 1 + classes/object/Object.class.php | 1 + classes/page/PageHandler.class.php | 1 + classes/security/EmbedFilter.class.php | 1 + classes/security/Purifier.class.php | 1 + classes/security/Security.class.php | 1 + classes/security/UploadFileFilter.class.php | 1 + classes/template/TemplateHandler.class.php | 1 + classes/validator/Validator.class.php | 1 + classes/widget/WidgetHandler.class.php | 1 + classes/xml/GeneralXmlParser.class.php | 1 + classes/xml/XmlGenerator.class.php | 1 + classes/xml/XmlJsFilter.class.php | 1 + classes/xml/XmlLangParser.class.php | 1 + classes/xml/XmlParser.class.php | 1 + classes/xml/XmlQueryParser.150.class.php | 1 + classes/xml/XmlQueryParser.class.php | 1 + classes/xml/xmlquery/DBParser.class.php | 1 + classes/xml/xmlquery/QueryParser.class.php | 1 + classes/xml/xmlquery/argument/Argument.class.php | 1 + classes/xml/xmlquery/argument/ConditionArgument.class.php | 1 + classes/xml/xmlquery/argument/SortArgument.class.php | 1 + classes/xml/xmlquery/queryargument/DefaultValue.class.php | 1 + classes/xml/xmlquery/queryargument/QueryArgument.class.php | 1 + .../xml/xmlquery/queryargument/SortQueryArgument.class.php | 1 + .../queryargument/validator/QueryArgumentValidator.class.php | 1 + classes/xml/xmlquery/tags/column/ColumnTag.class.php | 1 + classes/xml/xmlquery/tags/column/InsertColumnTag.class.php | 1 + .../tags/column/InsertColumnTagWithoutArgument.class.php | 1 + classes/xml/xmlquery/tags/column/InsertColumnsTag.class.php | 1 + classes/xml/xmlquery/tags/column/SelectColumnTag.class.php | 1 + classes/xml/xmlquery/tags/column/SelectColumnsTag.class.php | 1 + classes/xml/xmlquery/tags/column/UpdateColumnTag.class.php | 1 + classes/xml/xmlquery/tags/column/UpdateColumnsTag.class.php | 1 + .../xml/xmlquery/tags/condition/ConditionGroupTag.class.php | 1 + classes/xml/xmlquery/tags/condition/ConditionTag.class.php | 1 + classes/xml/xmlquery/tags/condition/ConditionsTag.class.php | 1 + .../xml/xmlquery/tags/condition/JoinConditionsTag.class.php | 1 + classes/xml/xmlquery/tags/group/GroupsTag.class.php | 1 + classes/xml/xmlquery/tags/navigation/IndexTag.class.php | 1 + classes/xml/xmlquery/tags/navigation/LimitTag.class.php | 1 + classes/xml/xmlquery/tags/navigation/NavigationTag.class.php | 1 + classes/xml/xmlquery/tags/query/QueryTag.class.php | 1 + classes/xml/xmlquery/tags/table/HintTableTag.class.php | 1 + classes/xml/xmlquery/tags/table/TableTag.class.php | 1 + classes/xml/xmlquery/tags/table/TablesTag.class.php | 1 + common/css/xe.css | 1 + common/css/xe.min.css | 2 +- common/js/foggyLayer.js | 2 +- common/js/html5.js | 2 +- common/js/plugins/filebox/filebox.js | 3 +-- common/js/plugins/ui.calendar/ui.calendar.js | 2 +- common/js/x.js | 2 +- config/config.inc.php | 1 + config/func.inc.php | 1 + config/package.inc.php | 1 + index.php | 1 + layouts/default/default.layout.css | 2 +- layouts/default/default.layout.ie7.css | 2 +- layouts/default/default.layout.ie78.css | 2 +- layouts/default/default.layout.webfont.css | 2 +- layouts/user_layout/user_layout.css | 2 +- layouts/xe_official/css/black.css | 2 +- layouts/xe_official/css/default.css | 2 +- layouts/xe_official/css/white.css | 2 +- m.layouts/colorCode/css/Blue/layout.css | 2 +- m.layouts/colorCode/css/Gray/layout.css | 2 +- m.layouts/colorCode/css/Orange/layout.css | 2 +- m.layouts/colorCode/css/Red/layout.css | 2 +- m.layouts/colorCode/css/nGreenA/layout.css | 2 +- m.layouts/colorCode/css/nGreenB/layout.css | 2 +- m.layouts/default/mx.css | 2 +- modules/addon/addon.admin.controller.php | 1 + modules/addon/addon.admin.model.php | 1 + modules/addon/addon.admin.view.php | 1 + modules/addon/addon.class.php | 1 + modules/addon/addon.controller.php | 1 + modules/admin/admin.admin.controller.php | 1 + modules/admin/admin.admin.model.php | 1 + modules/admin/admin.admin.view.php | 1 + modules/admin/admin.class.php | 1 + modules/adminlogging/adminlogging.class.php | 1 + modules/adminlogging/adminlogging.controller.php | 1 + modules/adminlogging/adminlogging.model.php | 1 + modules/autoinstall/autoinstall.admin.controller.php | 1 + modules/autoinstall/autoinstall.admin.model.php | 1 + modules/autoinstall/autoinstall.admin.view.php | 1 + modules/autoinstall/autoinstall.class.php | 1 + modules/autoinstall/autoinstall.lib.php | 1 + modules/autoinstall/autoinstall.model.php | 1 + modules/comment/comment.admin.controller.php | 1 + modules/comment/comment.admin.view.php | 1 + modules/comment/comment.class.php | 1 + modules/comment/comment.controller.php | 1 + modules/comment/comment.item.php | 1 + modules/comment/comment.model.php | 1 + modules/comment/comment.view.php | 1 + modules/communication/communication.admin.controller.php | 1 + modules/communication/communication.admin.model.php | 1 + modules/communication/communication.admin.view.php | 1 + modules/communication/communication.class.php | 1 + modules/communication/communication.controller.php | 1 + modules/communication/communication.mobile.php | 1 + modules/communication/communication.model.php | 1 + modules/communication/communication.view.php | 1 + modules/counter/counter.admin.view.php | 1 + modules/counter/counter.class.php | 1 + modules/counter/counter.controller.php | 1 + modules/counter/counter.model.php | 1 + modules/document/document.admin.controller.php | 2 ++ modules/document/document.admin.model.php | 2 ++ modules/document/document.admin.view.php | 1 + modules/document/document.class.php | 1 + modules/document/document.controller.php | 1 + modules/document/document.item.php | 1 + modules/document/document.model.php | 1 + modules/document/document.view.php | 1 + modules/editor/components/emoticon/emoticon.class.php | 1 + .../editor/components/image_gallery/image_gallery.class.php | 1 + modules/editor/components/image_link/image_link.class.php | 1 + .../components/multimedia_link/multimedia_link.class.php | 1 + modules/editor/components/poll_maker/poll_maker.class.php | 1 + modules/editor/editor.admin.controller.php | 1 + modules/editor/editor.admin.view.php | 1 + modules/editor/editor.api.php | 1 + modules/editor/editor.class.php | 1 + modules/editor/editor.controller.php | 1 + modules/editor/editor.model.php | 1 + modules/editor/editor.view.php | 2 ++ modules/file/file.admin.controller.php | 1 + modules/file/file.admin.model.php | 1 + modules/file/file.admin.view.php | 1 + modules/file/file.class.php | 1 + modules/file/file.controller.php | 1 + modules/file/file.model.php | 1 + modules/file/file.view.php | 1 + modules/importer/extract.class.php | 1 + modules/importer/importer.admin.controller.php | 1 + modules/importer/importer.admin.view.php | 1 + modules/importer/importer.class.php | 1 + modules/importer/ttimport.class.php | 1 + modules/install/install.admin.controller.php | 1 + modules/install/install.class.php | 1 + modules/install/install.controller.php | 1 + modules/install/install.model.php | 1 + modules/install/install.view.php | 1 + .../integration_search.admin.controller.php | 1 + modules/integration_search/integration_search.admin.view.php | 1 + modules/integration_search/integration_search.class.php | 1 + modules/integration_search/integration_search.model.php | 1 + modules/integration_search/integration_search.view.php | 1 + modules/layout/layout.admin.controller.php | 1 + modules/layout/layout.admin.model.php | 1 + modules/layout/layout.admin.view.php | 1 + modules/layout/layout.class.php | 1 + modules/layout/layout.model.php | 1 + modules/layout/layout.view.php | 1 + modules/member/member.admin.controller.php | 1 + modules/member/member.admin.model.php | 1 + modules/member/member.admin.view.php | 1 + modules/member/member.api.php | 1 + modules/member/member.class.php | 1 + modules/member/member.controller.php | 1 + modules/member/member.mobile.php | 1 + modules/member/member.model.php | 1 + modules/member/member.view.php | 1 + modules/menu/menu.admin.controller.php | 1 + modules/menu/menu.admin.model.php | 1 + modules/menu/menu.admin.view.php | 1 + modules/menu/menu.class.php | 1 + modules/menu/menu.mobile.php | 1 + modules/message/message.admin.controller.php | 1 + modules/message/message.admin.model.php | 3 ++- modules/message/message.admin.view.php | 1 + modules/message/message.class.php | 1 + modules/message/message.mobile.php | 1 + modules/message/message.view.php | 1 + modules/module/module.admin.controller.php | 1 + modules/module/module.admin.model.php | 1 + modules/module/module.admin.view.php | 1 + modules/module/module.class.php | 1 + modules/module/module.controller.php | 1 + modules/module/module.mobile.php | 1 + modules/module/module.model.php | 1 + modules/module/module.view.php | 1 + modules/page/page.admin.controller.php | 1 + modules/page/page.admin.view.php | 1 + modules/page/page.api.php | 1 + modules/page/page.class.php | 1 + modules/page/page.controller.php | 1 + modules/page/page.mobile.php | 1 + modules/page/page.view.php | 1 + modules/page/page.wap.php | 1 + modules/point/point.admin.controller.php | 1 + modules/point/point.admin.view.php | 1 + modules/point/point.class.php | 1 + modules/point/point.controller.php | 1 + modules/point/point.model.php | 1 + modules/point/point.view.php | 1 + modules/poll/poll.admin.controller.php | 1 + modules/poll/poll.admin.model.php | 1 + modules/poll/poll.admin.view.php | 1 + modules/poll/poll.class.php | 1 + modules/poll/poll.controller.php | 1 + modules/poll/poll.model.php | 1 + modules/rss/rss.admin.controller.php | 1 + modules/rss/rss.admin.view.php | 1 + modules/rss/rss.class.php | 1 + modules/rss/rss.controller.php | 1 + modules/rss/rss.model.php | 1 + modules/rss/rss.view.php | 1 + modules/session/session.admin.controller.php | 1 + modules/session/session.admin.view.php | 1 + modules/session/session.class.php | 1 + modules/session/session.controller.php | 1 + modules/session/session.model.php | 1 + modules/spamfilter/spamfilter.admin.controller.php | 1 + modules/spamfilter/spamfilter.admin.view.php | 1 + modules/spamfilter/spamfilter.class.php | 1 + modules/spamfilter/spamfilter.controller.php | 1 + modules/spamfilter/spamfilter.model.php | 1 + modules/tag/tag.admin.controller.php | 1 + modules/tag/tag.class.php | 1 + modules/tag/tag.controller.php | 1 + modules/tag/tag.model.php | 1 + modules/trackback/trackback.admin.controller.php | 1 + modules/trackback/trackback.admin.model.php | 1 + modules/trackback/trackback.admin.view.php | 1 + modules/trackback/trackback.class.php | 1 + modules/trackback/trackback.controller.php | 1 + modules/trackback/trackback.model.php | 1 + modules/trackback/trackback.view.php | 1 + modules/trash/trash.admin.controller.php | 1 + modules/trash/trash.admin.view.php | 1 + modules/trash/trash.class.php | 1 + modules/trash/trash.controller.php | 1 + modules/trash/trash.model.php | 1 + modules/trash/trash.view.php | 1 + modules/widget/widget.admin.view.php | 1 + modules/widget/widget.class.php | 1 + modules/widget/widget.controller.php | 1 + modules/widget/widget.model.php | 1 + modules/widget/widget.view.php | 1 + tests/Bootstrap.php | 1 + tests/FuncIncTest.class.php | 1 + tests/classes/context/Context.mock.php | 1 + tests/classes/context/ContextTest.php | 1 + tests/classes/db/Helper.class.php | 3 ++- tests/classes/db/QueryTester.class.php | 3 ++- .../db/queryparts/condition/ConditionWithArgumentTest.php | 1 + tests/classes/db/classes/db/queryparts/table/TableTest.php | 1 + .../db/classes/xml/xmlquery/argument/ArgumentTest.php | 1 + .../classes/xml/xmlquery/argument/ConditionArgumentTest.php | 1 + .../db/classes/xml/xmlquery/argument/data/en.lang.php | 3 ++- .../classes/xml/xmlquery/queryargument/QueryArgumentTest.php | 1 + .../classes/xml/xmlquery/tags/condition/ConditionTagTest.php | 1 + .../db/classes/xml/xmlquery/tags/table/TableTagTest.php | 3 ++- .../db/classes/xml/xmlquery/tags/table/TablesTagTest.php | 3 ++- tests/classes/db/config/config.inc.php | 3 ++- tests/classes/db/db/CubridOnlineTest.php | 1 + tests/classes/db/db/CubridTest.php | 1 + tests/classes/db/db/DBTest.php | 1 + tests/classes/db/db/ExpressionParserTest.php | 3 ++- tests/classes/db/db/MockDb.php | 3 ++- tests/classes/db/db/MssqlOnlineTest.php | 1 + tests/classes/db/db/MssqlTest.php | 1 + tests/classes/db/db/MysqlTest.php | 1 + tests/classes/db/db/SqliteTest.php | 1 + tests/classes/db/db/xml_query/cubrid/CubridDeleteTest.php | 3 ++- tests/classes/db/db/xml_query/cubrid/CubridIndexHintTest.php | 1 + .../db/db/xml_query/cubrid/CubridInsertOnlineTest.php | 3 ++- tests/classes/db/db/xml_query/cubrid/CubridInsertTest.php | 3 ++- .../db/db/xml_query/cubrid/CubridSelectOnlineTest.php | 1 + tests/classes/db/db/xml_query/cubrid/CubridSelectTest.php | 3 ++- tests/classes/db/db/xml_query/cubrid/CubridSubqueryTest.php | 1 + tests/classes/db/db/xml_query/cubrid/CubridUpdateTest.php | 3 ++- tests/classes/db/db/xml_query/mssql/MssqlIndexHintTest.php | 1 + .../classes/db/db/xml_query/mssql/MssqlSelectOnlineTest.php | 3 ++- tests/classes/db/db/xml_query/mssql/MssqlSelectTest.php | 3 ++- .../classes/db/db/xml_query/mssql/MssqlUpdateOnlineTest.php | 3 ++- tests/classes/db/db/xml_query/mssql/MssqlUpdateTest.php | 3 ++- tests/classes/db/db/xml_query/mysql/MysqlIndexHintTest.php | 1 + tests/classes/db/db/xml_query/mysql/MysqlInsertTest.php | 1 + tests/classes/db/db/xml_query/mysql/MysqlSelectTest.php | 1 + tests/classes/db/db/xml_query/mysql/MysqlUpdateTest.php | 3 ++- tests/classes/db/db/xml_query/sqlite/SqliteDeleteTest.php | 3 ++- tests/classes/db/db/xml_query/sqlite/SqliteUpdateTest.php | 3 ++- tests/classes/file/FileHandlerTest.php | 1 + tests/classes/frontendfile/FrontEndFileHandlerTest.php | 1 + tests/classes/security/SecurityTest.php | 1 + tests/classes/template/TemplateHandlerTest.php | 1 + tests/classes/validator/ValidatorTest.php | 1 + tests/modules/admin/admin.Test.php | 1 + tests/modules/document/document.Test.php | 1 + tools/dbxml_validator/connect_wrapper.php | 1 + tools/dbxml_validator/tests/xmlQueriesTest.php | 1 + tools/dbxml_validator/validate.php | 1 + tools/minify/cssmin/CSSmin.php | 1 + tools/minify/jsminplus/jsminplus.php | 3 ++- tools/minify/minify.php | 1 + widgets/content/content.class.php | 1 + widgets/counter_status/counter_status.class.php | 1 + widgets/language_select/language_select.class.php | 1 + widgets/login_info/login_info.class.php | 1 + widgets/login_info/skins/default/default.login.css | 5 +++-- .../login_info/skins/xe_solid_enterprise_login/css/style.css | 2 +- widgets/mcontent/mcontent.class.php | 1 + 373 files changed, 402 insertions(+), 47 deletions(-) diff --git a/addons/adminlogging/adminlogging.addon.php b/addons/adminlogging/adminlogging.addon.php index c18c47844..3cc15cd02 100644 --- a/addons/adminlogging/adminlogging.addon.php +++ b/addons/adminlogging/adminlogging.addon.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) exit(); diff --git a/addons/autolink/autolink.addon.php b/addons/autolink/autolink.addon.php index 9b0212c77..00674ff53 100644 --- a/addons/autolink/autolink.addon.php +++ b/addons/autolink/autolink.addon.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) exit(); diff --git a/addons/blogapi/blogapi.addon.php b/addons/blogapi/blogapi.addon.php index 584437608..cbc3cf77e 100644 --- a/addons/blogapi/blogapi.addon.php +++ b/addons/blogapi/blogapi.addon.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) exit(); diff --git a/addons/blogapi/blogapi.func.php b/addons/blogapi/blogapi.func.php index eee750b39..5c6377728 100644 --- a/addons/blogapi/blogapi.func.php +++ b/addons/blogapi/blogapi.func.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) exit(); diff --git a/addons/captcha/captcha.addon.php b/addons/captcha/captcha.addon.php index 9c8aae6f1..40bf04b19 100644 --- a/addons/captcha/captcha.addon.php +++ b/addons/captcha/captcha.addon.php @@ -1,4 +1,6 @@ */ + if(!defined("__XE__")) exit(); /** diff --git a/addons/counter/counter.addon.php b/addons/counter/counter.addon.php index 5208d0482..57a594565 100644 --- a/addons/counter/counter.addon.php +++ b/addons/counter/counter.addon.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) exit(); diff --git a/addons/member_communication/member_communication.addon.php b/addons/member_communication/member_communication.addon.php index c3fe92f73..4f8f24088 100644 --- a/addons/member_communication/member_communication.addon.php +++ b/addons/member_communication/member_communication.addon.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) exit(); diff --git a/addons/member_extra_info/member_extra_info.addon.php b/addons/member_extra_info/member_extra_info.addon.php index d7aa42ab3..57925e484 100644 --- a/addons/member_extra_info/member_extra_info.addon.php +++ b/addons/member_extra_info/member_extra_info.addon.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) exit(); diff --git a/addons/member_extra_info/member_extra_info.lib.php b/addons/member_extra_info/member_extra_info.lib.php index 4a288e328..b6d641874 100644 --- a/addons/member_extra_info/member_extra_info.lib.php +++ b/addons/member_extra_info/member_extra_info.lib.php @@ -1,4 +1,5 @@ */ /** * @brief If member_srl exists in the div or span, replace to image name or nick image for each member_srl diff --git a/addons/mobile/mobile.addon.php b/addons/mobile/mobile.addon.php index 5e9197f0d..df8b408e3 100644 --- a/addons/mobile/mobile.addon.php +++ b/addons/mobile/mobile.addon.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) exit(); diff --git a/addons/openid_delegation_id/openid_delegation_id.addon.php b/addons/openid_delegation_id/openid_delegation_id.addon.php index ede67b7cd..7b9b9d6b0 100644 --- a/addons/openid_delegation_id/openid_delegation_id.addon.php +++ b/addons/openid_delegation_id/openid_delegation_id.addon.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) exit(); diff --git a/addons/point_level_icon/point_level_icon.addon.php b/addons/point_level_icon/point_level_icon.addon.php index d02cfaa60..bddadad61 100644 --- a/addons/point_level_icon/point_level_icon.addon.php +++ b/addons/point_level_icon/point_level_icon.addon.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) exit(); diff --git a/addons/point_level_icon/point_level_icon.lib.php b/addons/point_level_icon/point_level_icon.lib.php index 5caa1cd7c..999e1f021 100644 --- a/addons/point_level_icon/point_level_icon.lib.php +++ b/addons/point_level_icon/point_level_icon.lib.php @@ -1,4 +1,5 @@ */ /** * @brief Function to change point icon. diff --git a/addons/resize_image/resize_image.addon.php b/addons/resize_image/resize_image.addon.php index 7c72cc600..357aa401c 100644 --- a/addons/resize_image/resize_image.addon.php +++ b/addons/resize_image/resize_image.addon.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) exit(); diff --git a/admin/index.php b/admin/index.php index 1a6d787e3..f29a4f98d 100644 --- a/admin/index.php +++ b/admin/index.php @@ -1,4 +1,6 @@ */ + header('Location: ../index.php?module=admin'); /* End of file index.php */ diff --git a/classes/cache/CacheApc.class.php b/classes/cache/CacheApc.class.php index bfea1eba9..689382a34 100644 --- a/classes/cache/CacheApc.class.php +++ b/classes/cache/CacheApc.class.php @@ -1,4 +1,5 @@ */ /** * Cache class for APC diff --git a/classes/cache/CacheFile.class.php b/classes/cache/CacheFile.class.php index 5e8b31dd7..e0acbc6e4 100644 --- a/classes/cache/CacheFile.class.php +++ b/classes/cache/CacheFile.class.php @@ -1,4 +1,5 @@ */ /** * Cache class for file diff --git a/classes/cache/CacheHandler.class.php b/classes/cache/CacheHandler.class.php index b8b68181e..8b0442638 100644 --- a/classes/cache/CacheHandler.class.php +++ b/classes/cache/CacheHandler.class.php @@ -1,4 +1,5 @@ */ /** * CacheHandler diff --git a/classes/cache/CacheMemcache.class.php b/classes/cache/CacheMemcache.class.php index 2432f2816..fb741ea29 100644 --- a/classes/cache/CacheMemcache.class.php +++ b/classes/cache/CacheMemcache.class.php @@ -1,4 +1,5 @@ */ /** * Cache class for memcache diff --git a/classes/cache/CacheWincache.class.php b/classes/cache/CacheWincache.class.php index 3b86815ee..8c9c6b32a 100644 --- a/classes/cache/CacheWincache.class.php +++ b/classes/cache/CacheWincache.class.php @@ -1,4 +1,5 @@ */ /** * Cache class for Wincache diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index 538a736a1..1426bfcba 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -1,4 +1,5 @@ */ define('FOLLOW_REQUEST_SSL', 0); define('ENFORCE_SSL', 1); diff --git a/classes/db/DB.class.php b/classes/db/DB.class.php index 6b1d12e71..fac85ff76 100644 --- a/classes/db/DB.class.php +++ b/classes/db/DB.class.php @@ -1,4 +1,5 @@ */ if(!defined('__XE_LOADED_DB_CLASS__')) { diff --git a/classes/db/DBCubrid.class.php b/classes/db/DBCubrid.class.php index aff375397..06ba24f9a 100644 --- a/classes/db/DBCubrid.class.php +++ b/classes/db/DBCubrid.class.php @@ -1,4 +1,5 @@ */ /** * - DB child class diff --git a/classes/db/DBMssql.class.php b/classes/db/DBMssql.class.php index 88633609b..619117b99 100644 --- a/classes/db/DBMssql.class.php +++ b/classes/db/DBMssql.class.php @@ -1,4 +1,5 @@ */ /** * - DBMSSQL diff --git a/classes/db/DBMysql.class.php b/classes/db/DBMysql.class.php index 45bf30155..608afe640 100644 --- a/classes/db/DBMysql.class.php +++ b/classes/db/DBMysql.class.php @@ -1,4 +1,5 @@ */ /** * Class to use MySQL DBMS diff --git a/classes/db/DBMysql_innodb.class.php b/classes/db/DBMysql_innodb.class.php index 2c8cf1389..143ef8a58 100644 --- a/classes/db/DBMysql_innodb.class.php +++ b/classes/db/DBMysql_innodb.class.php @@ -1,4 +1,5 @@ */ require_once('DBMysql.class.php'); diff --git a/classes/db/DBMysqli.class.php b/classes/db/DBMysqli.class.php index e80f6e3f4..77e07af85 100644 --- a/classes/db/DBMysqli.class.php +++ b/classes/db/DBMysqli.class.php @@ -1,4 +1,5 @@ */ require_once('DBMysql.class.php'); diff --git a/classes/db/queryparts/Query.class.php b/classes/db/queryparts/Query.class.php index 251aad53d..bc16629ac 100644 --- a/classes/db/queryparts/Query.class.php +++ b/classes/db/queryparts/Query.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/db/queryparts/Subquery.class.php b/classes/db/queryparts/Subquery.class.php index ff52df177..b9ff3b605 100644 --- a/classes/db/queryparts/Subquery.class.php +++ b/classes/db/queryparts/Subquery.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/db/queryparts/condition/Condition.class.php b/classes/db/queryparts/condition/Condition.class.php index 0a6eabf66..10fd88e25 100644 --- a/classes/db/queryparts/condition/Condition.class.php +++ b/classes/db/queryparts/condition/Condition.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/db/queryparts/condition/ConditionGroup.class.php b/classes/db/queryparts/condition/ConditionGroup.class.php index 4eec71394..5906e4a2e 100644 --- a/classes/db/queryparts/condition/ConditionGroup.class.php +++ b/classes/db/queryparts/condition/ConditionGroup.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/db/queryparts/condition/ConditionSubquery.class.php b/classes/db/queryparts/condition/ConditionSubquery.class.php index ad282a663..b338663f7 100644 --- a/classes/db/queryparts/condition/ConditionSubquery.class.php +++ b/classes/db/queryparts/condition/ConditionSubquery.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/db/queryparts/condition/ConditionWithArgument.class.php b/classes/db/queryparts/condition/ConditionWithArgument.class.php index e4a5de9d4..8c9919f92 100644 --- a/classes/db/queryparts/condition/ConditionWithArgument.class.php +++ b/classes/db/queryparts/condition/ConditionWithArgument.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/db/queryparts/condition/ConditionWithoutArgument.class.php b/classes/db/queryparts/condition/ConditionWithoutArgument.class.php index 19bf8491a..f4590475d 100644 --- a/classes/db/queryparts/condition/ConditionWithoutArgument.class.php +++ b/classes/db/queryparts/condition/ConditionWithoutArgument.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/db/queryparts/expression/ClickCountExpression.class.php b/classes/db/queryparts/expression/ClickCountExpression.class.php index 50f48da5f..05ac92e16 100644 --- a/classes/db/queryparts/expression/ClickCountExpression.class.php +++ b/classes/db/queryparts/expression/ClickCountExpression.class.php @@ -1,4 +1,5 @@ */ /** * ClickCountExpression diff --git a/classes/db/queryparts/expression/DeleteExpression.class.php b/classes/db/queryparts/expression/DeleteExpression.class.php index c86a4d4fb..7342c7412 100644 --- a/classes/db/queryparts/expression/DeleteExpression.class.php +++ b/classes/db/queryparts/expression/DeleteExpression.class.php @@ -1,4 +1,5 @@ */ /** * DeleteExpression diff --git a/classes/db/queryparts/expression/Expression.class.php b/classes/db/queryparts/expression/Expression.class.php index 463f107ed..1436f8995 100644 --- a/classes/db/queryparts/expression/Expression.class.php +++ b/classes/db/queryparts/expression/Expression.class.php @@ -1,4 +1,5 @@ */ /** * Expression diff --git a/classes/db/queryparts/expression/InsertExpression.class.php b/classes/db/queryparts/expression/InsertExpression.class.php index efd0e58f8..16bd5e72f 100644 --- a/classes/db/queryparts/expression/InsertExpression.class.php +++ b/classes/db/queryparts/expression/InsertExpression.class.php @@ -1,4 +1,5 @@ */ /** * InsertExpression diff --git a/classes/db/queryparts/expression/SelectExpression.class.php b/classes/db/queryparts/expression/SelectExpression.class.php index 6ae36d52b..173a222c4 100644 --- a/classes/db/queryparts/expression/SelectExpression.class.php +++ b/classes/db/queryparts/expression/SelectExpression.class.php @@ -1,4 +1,5 @@ */ /** * SelectExpression diff --git a/classes/db/queryparts/expression/StarExpression.class.php b/classes/db/queryparts/expression/StarExpression.class.php index f010c8593..589f8f0b3 100644 --- a/classes/db/queryparts/expression/StarExpression.class.php +++ b/classes/db/queryparts/expression/StarExpression.class.php @@ -1,4 +1,5 @@ */ /** * StarExpression diff --git a/classes/db/queryparts/expression/UpdateExpression.class.php b/classes/db/queryparts/expression/UpdateExpression.class.php index a942a9f9c..c95b6324c 100644 --- a/classes/db/queryparts/expression/UpdateExpression.class.php +++ b/classes/db/queryparts/expression/UpdateExpression.class.php @@ -1,4 +1,5 @@ */ /** * UpdateExpression diff --git a/classes/db/queryparts/expression/UpdateExpressionWithoutArgument.class.php b/classes/db/queryparts/expression/UpdateExpressionWithoutArgument.class.php index 38123f221..dd1831ede 100644 --- a/classes/db/queryparts/expression/UpdateExpressionWithoutArgument.class.php +++ b/classes/db/queryparts/expression/UpdateExpressionWithoutArgument.class.php @@ -1,4 +1,5 @@ */ /** * UpdateExpression diff --git a/classes/db/queryparts/limit/Limit.class.php b/classes/db/queryparts/limit/Limit.class.php index ac6579b21..5dfbf855d 100644 --- a/classes/db/queryparts/limit/Limit.class.php +++ b/classes/db/queryparts/limit/Limit.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/db/queryparts/order/OrderByColumn.class.php b/classes/db/queryparts/order/OrderByColumn.class.php index 84af09def..c36a6fcf5 100644 --- a/classes/db/queryparts/order/OrderByColumn.class.php +++ b/classes/db/queryparts/order/OrderByColumn.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/db/queryparts/table/CubridTableWithHint.class.php b/classes/db/queryparts/table/CubridTableWithHint.class.php index 2b3f72dc0..c43234066 100644 --- a/classes/db/queryparts/table/CubridTableWithHint.class.php +++ b/classes/db/queryparts/table/CubridTableWithHint.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/db/queryparts/table/IndexHint.class.php b/classes/db/queryparts/table/IndexHint.class.php index 681e31ea4..665614902 100644 --- a/classes/db/queryparts/table/IndexHint.class.php +++ b/classes/db/queryparts/table/IndexHint.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/db/queryparts/table/JoinTable.class.php b/classes/db/queryparts/table/JoinTable.class.php index da5f951ca..d216b4cad 100644 --- a/classes/db/queryparts/table/JoinTable.class.php +++ b/classes/db/queryparts/table/JoinTable.class.php @@ -1,4 +1,5 @@ */ /** * class JoinTable diff --git a/classes/db/queryparts/table/MssqlTableWithHint.class.php b/classes/db/queryparts/table/MssqlTableWithHint.class.php index 65b2fda52..ef880cfe6 100644 --- a/classes/db/queryparts/table/MssqlTableWithHint.class.php +++ b/classes/db/queryparts/table/MssqlTableWithHint.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/db/queryparts/table/MysqlTableWithHint.class.php b/classes/db/queryparts/table/MysqlTableWithHint.class.php index fc782bfe0..f37193323 100644 --- a/classes/db/queryparts/table/MysqlTableWithHint.class.php +++ b/classes/db/queryparts/table/MysqlTableWithHint.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/db/queryparts/table/Table.class.php b/classes/db/queryparts/table/Table.class.php index 45cbf4ed7..ce667cd36 100644 --- a/classes/db/queryparts/table/Table.class.php +++ b/classes/db/queryparts/table/Table.class.php @@ -1,4 +1,5 @@ */ /** * @author NAVER (developers@xpressengine.com) diff --git a/classes/display/DisplayHandler.class.php b/classes/display/DisplayHandler.class.php index ff9b0b638..0d59299f8 100644 --- a/classes/display/DisplayHandler.class.php +++ b/classes/display/DisplayHandler.class.php @@ -1,4 +1,5 @@ */ /** * @class DisplayHandler diff --git a/classes/display/HTMLDisplayHandler.php b/classes/display/HTMLDisplayHandler.php index d5c0b0942..8a36e8d06 100644 --- a/classes/display/HTMLDisplayHandler.php +++ b/classes/display/HTMLDisplayHandler.php @@ -1,4 +1,5 @@ */ class HTMLDisplayHandler { diff --git a/classes/display/JSCallbackDisplayHandler.php b/classes/display/JSCallbackDisplayHandler.php index e72d1a91c..c6cb78c24 100644 --- a/classes/display/JSCallbackDisplayHandler.php +++ b/classes/display/JSCallbackDisplayHandler.php @@ -1,4 +1,5 @@ */ class JSCallbackDisplayHandler { diff --git a/classes/display/JSONDisplayHandler.php b/classes/display/JSONDisplayHandler.php index 0a35c09cf..4befddc58 100644 --- a/classes/display/JSONDisplayHandler.php +++ b/classes/display/JSONDisplayHandler.php @@ -1,4 +1,5 @@ */ class JSONDisplayHandler { diff --git a/classes/display/VirtualXMLDisplayHandler.php b/classes/display/VirtualXMLDisplayHandler.php index d43bbe6b8..6a07c3c3a 100644 --- a/classes/display/VirtualXMLDisplayHandler.php +++ b/classes/display/VirtualXMLDisplayHandler.php @@ -1,4 +1,5 @@ */ class VirtualXMLDisplayHandler { diff --git a/classes/display/XMLDisplayHandler.php b/classes/display/XMLDisplayHandler.php index 946d77981..9f65125e0 100644 --- a/classes/display/XMLDisplayHandler.php +++ b/classes/display/XMLDisplayHandler.php @@ -1,4 +1,5 @@ */ class XMLDisplayHandler { diff --git a/classes/editor/EditorHandler.class.php b/classes/editor/EditorHandler.class.php index 3d3ad5ba0..aaf867456 100644 --- a/classes/editor/EditorHandler.class.php +++ b/classes/editor/EditorHandler.class.php @@ -1,4 +1,5 @@ */ /** * Superclass of the edit component. diff --git a/classes/extravar/Extravar.class.php b/classes/extravar/Extravar.class.php index 4a716cf78..5c807f923 100644 --- a/classes/extravar/Extravar.class.php +++ b/classes/extravar/Extravar.class.php @@ -1,4 +1,5 @@ */ /** * A class to handle extra variables used in posts, member and others diff --git a/classes/file/FileHandler.class.php b/classes/file/FileHandler.class.php index 6a71919dd..5078e9469 100644 --- a/classes/file/FileHandler.class.php +++ b/classes/file/FileHandler.class.php @@ -1,4 +1,5 @@ */ /** * Contains methods for accessing file system diff --git a/classes/file/FileObject.class.php b/classes/file/FileObject.class.php index e389853a7..f8134a43c 100644 --- a/classes/file/FileObject.class.php +++ b/classes/file/FileObject.class.php @@ -1,4 +1,5 @@ */ /** * File abstraction class diff --git a/classes/frontendfile/FrontEndFileHandler.class.php b/classes/frontendfile/FrontEndFileHandler.class.php index 95034acbc..316946203 100644 --- a/classes/frontendfile/FrontEndFileHandler.class.php +++ b/classes/frontendfile/FrontEndFileHandler.class.php @@ -1,4 +1,5 @@ */ /** * Handle front end files diff --git a/classes/handler/Handler.class.php b/classes/handler/Handler.class.php index a629a4dd6..0dd62c8e7 100644 --- a/classes/handler/Handler.class.php +++ b/classes/handler/Handler.class.php @@ -1,4 +1,5 @@ */ /** * An abstract class of (*)Handler diff --git a/classes/httprequest/XEHttpRequest.class.php b/classes/httprequest/XEHttpRequest.class.php index 2eac377ca..0fe8514fc 100644 --- a/classes/httprequest/XEHttpRequest.class.php +++ b/classes/httprequest/XEHttpRequest.class.php @@ -1,4 +1,5 @@ */ /** * - HttpRequest class diff --git a/classes/mail/Mail.class.php b/classes/mail/Mail.class.php index 3af7dc22b..7842db788 100644 --- a/classes/mail/Mail.class.php +++ b/classes/mail/Mail.class.php @@ -1,4 +1,5 @@ */ if(version_compare(PHP_VERSION, '5.0.0', '>=')) { diff --git a/classes/mobile/Mobile.class.php b/classes/mobile/Mobile.class.php index 8c7de8265..79607c26e 100644 --- a/classes/mobile/Mobile.class.php +++ b/classes/mobile/Mobile.class.php @@ -1,4 +1,5 @@ */ /** * Mobile class diff --git a/classes/module/ModuleHandler.class.php b/classes/module/ModuleHandler.class.php index e46e76cba..3eaf13275 100644 --- a/classes/module/ModuleHandler.class.php +++ b/classes/module/ModuleHandler.class.php @@ -1,4 +1,5 @@ */ /** * @class ModuleHandler diff --git a/classes/module/ModuleObject.class.php b/classes/module/ModuleObject.class.php index 5d61fca8e..4af9ec4d2 100644 --- a/classes/module/ModuleObject.class.php +++ b/classes/module/ModuleObject.class.php @@ -1,4 +1,5 @@ */ /** * @class ModuleObject diff --git a/classes/object/Object.class.php b/classes/object/Object.class.php index bf2b333a3..e6ca0331c 100644 --- a/classes/object/Object.class.php +++ b/classes/object/Object.class.php @@ -1,4 +1,5 @@ */ /** * Every modules inherits from Object class. It includes error, message, and other variables for communicatin purpose. diff --git a/classes/page/PageHandler.class.php b/classes/page/PageHandler.class.php index 777f6e2b6..9b2322b75 100644 --- a/classes/page/PageHandler.class.php +++ b/classes/page/PageHandler.class.php @@ -1,4 +1,5 @@ */ /** * @class PageHandler diff --git a/classes/security/EmbedFilter.class.php b/classes/security/EmbedFilter.class.php index 0b5d5dd4f..622f4d3fa 100644 --- a/classes/security/EmbedFilter.class.php +++ b/classes/security/EmbedFilter.class.php @@ -1,4 +1,5 @@ */ include _XE_PATH_ . 'classes/security/phphtmlparser/src/htmlparser.inc'; diff --git a/classes/security/Purifier.class.php b/classes/security/Purifier.class.php index 3d467ccd4..19f869936 100644 --- a/classes/security/Purifier.class.php +++ b/classes/security/Purifier.class.php @@ -1,4 +1,5 @@ */ class Purifier { diff --git a/classes/security/Security.class.php b/classes/security/Security.class.php index 12711ed95..17c229b55 100644 --- a/classes/security/Security.class.php +++ b/classes/security/Security.class.php @@ -1,4 +1,5 @@ */ /** * - Security class diff --git a/classes/security/UploadFileFilter.class.php b/classes/security/UploadFileFilter.class.php index f49573e27..3f345f743 100644 --- a/classes/security/UploadFileFilter.class.php +++ b/classes/security/UploadFileFilter.class.php @@ -1,4 +1,5 @@ */ class UploadFileFilter { diff --git a/classes/template/TemplateHandler.class.php b/classes/template/TemplateHandler.class.php index 6f120d609..44e23bf2b 100644 --- a/classes/template/TemplateHandler.class.php +++ b/classes/template/TemplateHandler.class.php @@ -1,4 +1,5 @@ */ /** * @class TemplateHandler diff --git a/classes/validator/Validator.class.php b/classes/validator/Validator.class.php index b62570462..e00188998 100644 --- a/classes/validator/Validator.class.php +++ b/classes/validator/Validator.class.php @@ -1,4 +1,5 @@ */ /** * Validator class diff --git a/classes/widget/WidgetHandler.class.php b/classes/widget/WidgetHandler.class.php index 397aebab5..94a9c2320 100644 --- a/classes/widget/WidgetHandler.class.php +++ b/classes/widget/WidgetHandler.class.php @@ -1,4 +1,5 @@ */ /** * @class WidgetHandler diff --git a/classes/xml/GeneralXmlParser.class.php b/classes/xml/GeneralXmlParser.class.php index 3b6b4cfb0..f4d2378c9 100644 --- a/classes/xml/GeneralXmlParser.class.php +++ b/classes/xml/GeneralXmlParser.class.php @@ -1,4 +1,5 @@ */ /** * GeneralXmlParser class diff --git a/classes/xml/XmlGenerator.class.php b/classes/xml/XmlGenerator.class.php index 220b1acd6..130510ec3 100644 --- a/classes/xml/XmlGenerator.class.php +++ b/classes/xml/XmlGenerator.class.php @@ -1,4 +1,5 @@ */ /** * XmlGenerator class diff --git a/classes/xml/XmlJsFilter.class.php b/classes/xml/XmlJsFilter.class.php index 48c72442b..55dab10b7 100644 --- a/classes/xml/XmlJsFilter.class.php +++ b/classes/xml/XmlJsFilter.class.php @@ -1,4 +1,5 @@ */ /** * filter class traslate xml content into javascript code diff --git a/classes/xml/XmlLangParser.class.php b/classes/xml/XmlLangParser.class.php index 7767907c5..6804e68df 100644 --- a/classes/xml/XmlLangParser.class.php +++ b/classes/xml/XmlLangParser.class.php @@ -1,4 +1,5 @@ */ /** * XmlLangParser class diff --git a/classes/xml/XmlParser.class.php b/classes/xml/XmlParser.class.php index 54a978721..8225aedad 100644 --- a/classes/xml/XmlParser.class.php +++ b/classes/xml/XmlParser.class.php @@ -1,4 +1,5 @@ */ /** * Xml_Node_ class diff --git a/classes/xml/XmlQueryParser.150.class.php b/classes/xml/XmlQueryParser.150.class.php index 31c389f79..4c9af5a23 100644 --- a/classes/xml/XmlQueryParser.150.class.php +++ b/classes/xml/XmlQueryParser.150.class.php @@ -1,4 +1,5 @@ */ /** * File containing the XE 1.5 XmlQueryParserClass diff --git a/classes/xml/XmlQueryParser.class.php b/classes/xml/XmlQueryParser.class.php index d4a7b2b6d..ff7d2e312 100644 --- a/classes/xml/XmlQueryParser.class.php +++ b/classes/xml/XmlQueryParser.class.php @@ -1,4 +1,5 @@ */ /** * XmlQueryParser diff --git a/classes/xml/xmlquery/DBParser.class.php b/classes/xml/xmlquery/DBParser.class.php index 2e5c767f6..042ce6348 100644 --- a/classes/xml/xmlquery/DBParser.class.php +++ b/classes/xml/xmlquery/DBParser.class.php @@ -1,4 +1,5 @@ */ /** * File containing the DBParser class diff --git a/classes/xml/xmlquery/QueryParser.class.php b/classes/xml/xmlquery/QueryParser.class.php index 87dad67ec..80e9975b0 100644 --- a/classes/xml/xmlquery/QueryParser.class.php +++ b/classes/xml/xmlquery/QueryParser.class.php @@ -1,4 +1,5 @@ */ /** * File containing the QueryParser class diff --git a/classes/xml/xmlquery/argument/Argument.class.php b/classes/xml/xmlquery/argument/Argument.class.php index e836839ae..3a6fb7382 100644 --- a/classes/xml/xmlquery/argument/Argument.class.php +++ b/classes/xml/xmlquery/argument/Argument.class.php @@ -1,4 +1,5 @@ */ /** * Argument class diff --git a/classes/xml/xmlquery/argument/ConditionArgument.class.php b/classes/xml/xmlquery/argument/ConditionArgument.class.php index c31acd704..956977432 100644 --- a/classes/xml/xmlquery/argument/ConditionArgument.class.php +++ b/classes/xml/xmlquery/argument/ConditionArgument.class.php @@ -1,4 +1,5 @@ */ /** * ConditionArgument class diff --git a/classes/xml/xmlquery/argument/SortArgument.class.php b/classes/xml/xmlquery/argument/SortArgument.class.php index c2623a1e1..a89c56bb5 100644 --- a/classes/xml/xmlquery/argument/SortArgument.class.php +++ b/classes/xml/xmlquery/argument/SortArgument.class.php @@ -1,4 +1,5 @@ */ /** * SortArgument class diff --git a/classes/xml/xmlquery/queryargument/DefaultValue.class.php b/classes/xml/xmlquery/queryargument/DefaultValue.class.php index 16e13a96b..cf618cd0a 100644 --- a/classes/xml/xmlquery/queryargument/DefaultValue.class.php +++ b/classes/xml/xmlquery/queryargument/DefaultValue.class.php @@ -1,4 +1,5 @@ */ /** * DefaultValue class diff --git a/classes/xml/xmlquery/queryargument/QueryArgument.class.php b/classes/xml/xmlquery/queryargument/QueryArgument.class.php index f2f2725bf..d026cae89 100644 --- a/classes/xml/xmlquery/queryargument/QueryArgument.class.php +++ b/classes/xml/xmlquery/queryargument/QueryArgument.class.php @@ -1,4 +1,5 @@ */ /** * QueryArgument class diff --git a/classes/xml/xmlquery/queryargument/SortQueryArgument.class.php b/classes/xml/xmlquery/queryargument/SortQueryArgument.class.php index dc17ce1c1..f757c3b9c 100644 --- a/classes/xml/xmlquery/queryargument/SortQueryArgument.class.php +++ b/classes/xml/xmlquery/queryargument/SortQueryArgument.class.php @@ -1,4 +1,5 @@ */ /** * SortQueryArgument class diff --git a/classes/xml/xmlquery/queryargument/validator/QueryArgumentValidator.class.php b/classes/xml/xmlquery/queryargument/validator/QueryArgumentValidator.class.php index 943d6e278..d5fc37f2b 100644 --- a/classes/xml/xmlquery/queryargument/validator/QueryArgumentValidator.class.php +++ b/classes/xml/xmlquery/queryargument/validator/QueryArgumentValidator.class.php @@ -1,4 +1,5 @@ */ /** * QueryArgumentValidator class diff --git a/classes/xml/xmlquery/tags/column/ColumnTag.class.php b/classes/xml/xmlquery/tags/column/ColumnTag.class.php index cade38823..6d92caff2 100644 --- a/classes/xml/xmlquery/tags/column/ColumnTag.class.php +++ b/classes/xml/xmlquery/tags/column/ColumnTag.class.php @@ -1,4 +1,5 @@ */ /** * Models the <column> tag inside an XML Query file
diff --git a/classes/xml/xmlquery/tags/column/InsertColumnTag.class.php b/classes/xml/xmlquery/tags/column/InsertColumnTag.class.php index 604e9320f..26573f28c 100644 --- a/classes/xml/xmlquery/tags/column/InsertColumnTag.class.php +++ b/classes/xml/xmlquery/tags/column/InsertColumnTag.class.php @@ -1,4 +1,5 @@ */ /** * Models the <column> tag inside an XML Query file whose action is 'insert' diff --git a/classes/xml/xmlquery/tags/column/InsertColumnTagWithoutArgument.class.php b/classes/xml/xmlquery/tags/column/InsertColumnTagWithoutArgument.class.php index 1be669d37..9a7de0b5d 100644 --- a/classes/xml/xmlquery/tags/column/InsertColumnTagWithoutArgument.class.php +++ b/classes/xml/xmlquery/tags/column/InsertColumnTagWithoutArgument.class.php @@ -1,4 +1,5 @@ */ /** * Models the <column> tag inside an XML Query file whose action is 'insert-select' diff --git a/classes/xml/xmlquery/tags/column/InsertColumnsTag.class.php b/classes/xml/xmlquery/tags/column/InsertColumnsTag.class.php index 4b01d7b8c..f3fe110b4 100644 --- a/classes/xml/xmlquery/tags/column/InsertColumnsTag.class.php +++ b/classes/xml/xmlquery/tags/column/InsertColumnsTag.class.php @@ -1,4 +1,5 @@ */ /** * Models the <columns> tag inside an XML Query file whose action is 'insert' diff --git a/classes/xml/xmlquery/tags/column/SelectColumnTag.class.php b/classes/xml/xmlquery/tags/column/SelectColumnTag.class.php index a06d8fe58..a29192ea9 100644 --- a/classes/xml/xmlquery/tags/column/SelectColumnTag.class.php +++ b/classes/xml/xmlquery/tags/column/SelectColumnTag.class.php @@ -1,4 +1,5 @@ */ /** * Models the <column> tag inside an XML Query file whose action is 'select' diff --git a/classes/xml/xmlquery/tags/column/SelectColumnsTag.class.php b/classes/xml/xmlquery/tags/column/SelectColumnsTag.class.php index d0939450d..271cee8a5 100644 --- a/classes/xml/xmlquery/tags/column/SelectColumnsTag.class.php +++ b/classes/xml/xmlquery/tags/column/SelectColumnsTag.class.php @@ -1,4 +1,5 @@ */ /** * Models the <columns> tag inside an XML Query file whose action is 'select' diff --git a/classes/xml/xmlquery/tags/column/UpdateColumnTag.class.php b/classes/xml/xmlquery/tags/column/UpdateColumnTag.class.php index 405a35c97..462c31192 100644 --- a/classes/xml/xmlquery/tags/column/UpdateColumnTag.class.php +++ b/classes/xml/xmlquery/tags/column/UpdateColumnTag.class.php @@ -1,4 +1,5 @@ */ /** * Models the <column> tag inside an XML Query file whose action is 'update' diff --git a/classes/xml/xmlquery/tags/column/UpdateColumnsTag.class.php b/classes/xml/xmlquery/tags/column/UpdateColumnsTag.class.php index 3432623ad..765999db6 100644 --- a/classes/xml/xmlquery/tags/column/UpdateColumnsTag.class.php +++ b/classes/xml/xmlquery/tags/column/UpdateColumnsTag.class.php @@ -1,4 +1,5 @@ */ /** * Models the <columns> tag inside an XML Query file whose action is 'update' diff --git a/classes/xml/xmlquery/tags/condition/ConditionGroupTag.class.php b/classes/xml/xmlquery/tags/condition/ConditionGroupTag.class.php index 069dfc605..dce3c825b 100644 --- a/classes/xml/xmlquery/tags/condition/ConditionGroupTag.class.php +++ b/classes/xml/xmlquery/tags/condition/ConditionGroupTag.class.php @@ -1,4 +1,5 @@ */ /** * ConditionGroupTag class diff --git a/classes/xml/xmlquery/tags/condition/ConditionTag.class.php b/classes/xml/xmlquery/tags/condition/ConditionTag.class.php index 4383cb195..12f4323bb 100644 --- a/classes/xml/xmlquery/tags/condition/ConditionTag.class.php +++ b/classes/xml/xmlquery/tags/condition/ConditionTag.class.php @@ -1,4 +1,5 @@ */ /** * ConditionTag diff --git a/classes/xml/xmlquery/tags/condition/ConditionsTag.class.php b/classes/xml/xmlquery/tags/condition/ConditionsTag.class.php index 7456761d6..661afa533 100644 --- a/classes/xml/xmlquery/tags/condition/ConditionsTag.class.php +++ b/classes/xml/xmlquery/tags/condition/ConditionsTag.class.php @@ -1,4 +1,5 @@ */ /** * ConditionsTag class diff --git a/classes/xml/xmlquery/tags/condition/JoinConditionsTag.class.php b/classes/xml/xmlquery/tags/condition/JoinConditionsTag.class.php index f263d5db3..c4c253032 100644 --- a/classes/xml/xmlquery/tags/condition/JoinConditionsTag.class.php +++ b/classes/xml/xmlquery/tags/condition/JoinConditionsTag.class.php @@ -1,4 +1,5 @@ */ /** * JoinConditionsTag class diff --git a/classes/xml/xmlquery/tags/group/GroupsTag.class.php b/classes/xml/xmlquery/tags/group/GroupsTag.class.php index a383429a4..8320e8d7b 100644 --- a/classes/xml/xmlquery/tags/group/GroupsTag.class.php +++ b/classes/xml/xmlquery/tags/group/GroupsTag.class.php @@ -1,4 +1,5 @@ */ /** * GroupsTag class diff --git a/classes/xml/xmlquery/tags/navigation/IndexTag.class.php b/classes/xml/xmlquery/tags/navigation/IndexTag.class.php index e1eb29bf0..76800fbc5 100644 --- a/classes/xml/xmlquery/tags/navigation/IndexTag.class.php +++ b/classes/xml/xmlquery/tags/navigation/IndexTag.class.php @@ -1,4 +1,5 @@ */ /** * IndexTag class diff --git a/classes/xml/xmlquery/tags/navigation/LimitTag.class.php b/classes/xml/xmlquery/tags/navigation/LimitTag.class.php index 03cea98f9..6c92b76cc 100644 --- a/classes/xml/xmlquery/tags/navigation/LimitTag.class.php +++ b/classes/xml/xmlquery/tags/navigation/LimitTag.class.php @@ -1,4 +1,5 @@ */ /** * LimitTag class diff --git a/classes/xml/xmlquery/tags/navigation/NavigationTag.class.php b/classes/xml/xmlquery/tags/navigation/NavigationTag.class.php index 7b7dd9707..6c2019d65 100644 --- a/classes/xml/xmlquery/tags/navigation/NavigationTag.class.php +++ b/classes/xml/xmlquery/tags/navigation/NavigationTag.class.php @@ -1,4 +1,5 @@ */ /** * NavigationTag class diff --git a/classes/xml/xmlquery/tags/query/QueryTag.class.php b/classes/xml/xmlquery/tags/query/QueryTag.class.php index e2dedadb4..36df75a11 100644 --- a/classes/xml/xmlquery/tags/query/QueryTag.class.php +++ b/classes/xml/xmlquery/tags/query/QueryTag.class.php @@ -1,4 +1,5 @@ */ /** * QueryTag class diff --git a/classes/xml/xmlquery/tags/table/HintTableTag.class.php b/classes/xml/xmlquery/tags/table/HintTableTag.class.php index 87c82e74b..d499c2c1f 100644 --- a/classes/xml/xmlquery/tags/table/HintTableTag.class.php +++ b/classes/xml/xmlquery/tags/table/HintTableTag.class.php @@ -1,4 +1,5 @@ */ /** * HintTableTag diff --git a/classes/xml/xmlquery/tags/table/TableTag.class.php b/classes/xml/xmlquery/tags/table/TableTag.class.php index 84ba819a2..1156a678b 100644 --- a/classes/xml/xmlquery/tags/table/TableTag.class.php +++ b/classes/xml/xmlquery/tags/table/TableTag.class.php @@ -1,4 +1,5 @@ */ /** * TableTag diff --git a/classes/xml/xmlquery/tags/table/TablesTag.class.php b/classes/xml/xmlquery/tags/table/TablesTag.class.php index 23d2a2ec5..80eb97ee1 100644 --- a/classes/xml/xmlquery/tags/table/TablesTag.class.php +++ b/classes/xml/xmlquery/tags/table/TablesTag.class.php @@ -1,4 +1,5 @@ */ /** * TablesTag class diff --git a/common/css/xe.css b/common/css/xe.css index 5d2d53a19..e7255c80f 100644 --- a/common/css/xe.css +++ b/common/css/xe.css @@ -1,4 +1,5 @@ @charset "utf-8"; +/* Copyright (C) NAVER */ /* NAVER (developers@xpressengine.com) */ /* Element Reset */ body,table,input,textarea,select,button{font-family:Tahoma,Geneva,sans-serif;font-size:12px} diff --git a/common/css/xe.min.css b/common/css/xe.min.css index 26eb6e95c..c80088c81 100644 --- a/common/css/xe.min.css +++ b/common/css/xe.min.css @@ -1 +1 @@ -@charset "utf-8";body,table,input,textarea,select,button{font-family:Tahoma,Geneva,sans-serif;font-size:12px}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}body{position:relative;word-wrap:break-word}a img{border:0}[hidden]{display:none}.xe_content img{max-width:100%;height:auto}@media \0screen{img{max-width:none}}#popup_menu_area{position:absolute;background:#fff;border:1px solid #e9e9e9;border-radius:3px;margin:10px 0;padding:10px;font-size:12px;box-shadow:0 0 6px #666;filter:progid:DXImageTransform.Microsoft.Shadow(color=#999999,direction=135, strength=5)}#popup_menu_area ul{list-style:none;margin:0;padding:0}#popup_menu_area li{margin:0;padding:0;line-height:1.25}#popup_menu_area a{display:block;text-decoration:none;color:#333;border-radius:2px;padding:1px 3px}#popup_menu_area a:hover,#popup_menu_area a:active,#popup_menu_area a:focus{background:#666;color:#fff}.message{position:relative;border:1px solid #ddd;background-color:#f8f8f8;margin:1em 0;padding:0 1em;border-radius:4px;line-height:1.4;font-size:13px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5)}body>.message{margin:1em}.message p{margin:1em 0 !important}.message.info{border-color:#BCE8F1;background-color:#D9EDF7;color:#3A87AD}.message.error{border-color:#EED3D7;background-color:#F2DEDE;color:#B94A48}.message.update{border-color:#D6E9C6;background-color:#DFF0D8;color:#468847}.wfsr{display:none;position:absolute;position:fixed;left:0;top:0;right:0;z-index:100;color:#fff;background:#333 url(../../common/img/msg.loading.gif) no-repeat center 15px;text-align:center;margin:0;padding:20px 0 0 0;opacity:.8;filter:alpha(opacity=80);font:bold 16px/60px "Helvetica Neue", Helvetica, Arial, 돋움, Dotum, sans-serif;box-shadow:0 0 5px #000;border-bottom:1px solid #ccc}#adminBar{position:fixed;top:0;left:0;right:0;height:28px;background:#666;width:100%;z-index:9999;color:#fff;font:12px/28px Arial,Helvetica,sans-serif;padding:0;overflow:hidden;border-top:1px solid #eee;border-bottom:1px solid #eee;box-shadow:0 0 5px #333}#adminBar>h1{margin:0 10px 0 0;padding:6px 0 0 10px;float:left;font-size:12px;line-height:1}#adminBar img{vertical-align:top}#adminBar>p{margin:0}#adminBar>.admin{float:left}#adminBar>.link{float:right;padding:0 10px 0 0}#adminBar a{color:#fff;text-decoration:none}#adminBar a:hover,#adminBar a:active,#adminBar a:focus{text-decoration:underline}.btnArea{padding:0;margin:10px 0;text-align:right;zoom:1;clear:both}.btnArea:after{content:"";display:block;clear:both}.btn{text-decoration:none !important;display:inline-block;*display:inline;*zoom:1;padding:0 12px !important;margin:0;line-height:24px !important;height:24px !important;font-family:inherit;font-size:12px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);vertical-align:top;cursor:pointer;overflow:visible;background-color:#f5f5f5;*background-color:#e6e6e6;background-image:-moz-linear-gradient(top, #ffffff, #e6e6e6);background-image:-webkit-linear-gradient(top, #ffffff, #e6e6e6);background-image:-o-linear-gradient(top, #ffffff, #e6e6e6);background-image:linear-gradient(top, #ffffff, #e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #bbbbbb;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);border-bottom-color:#a2a2a2;border-radius:2px;box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05)}input.btn,button.btn{height:26px !important}.btn:hover,.btn:active,.btn[disabled]{color:#333333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn>a,.btn>button,.btn>input,.btn>span{display:inline-block;*zoom:1;margin:0 -12px !important;padding:0 12px !important;text-decoration:none !important;width:auto;font-family:inherit;line-height:24px;height:24px;border:0;background:none;color:#333;font-size:12px;vertical-align:top;overflow:visible;cursor:pointer}.btn-group{position:relative;display:inline-block;*display:inline;*margin-left:.3em;font-size:0;white-space:nowrap;vertical-align:middle;*zoom:1}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-group>.btn{position:relative;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn+.btn{margin-left:-1px}.btn-group>.btn:first-child{margin-left:0;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.btn-group>.btn:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2} \ No newline at end of file +@charset "utf-8";body,table,input,textarea,select,button{font-family:Tahoma,Geneva,sans-serif;font-size:12px}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}body{position:relative;word-wrap:break-word}a img{border:0}[hidden]{display:none}.xe_content img{max-width:100%;height:auto}@media \0screen{img{max-width:none}}#popup_menu_area{position:absolute;background:#fff;border:1px solid #e9e9e9;border-radius:3px;margin:10px 0;padding:10px;font-size:12px;box-shadow:0 0 6px #666;filter:progid:DXImageTransform.Microsoft.Shadow(color=#999999,direction=135, strength=5)}#popup_menu_area ul{list-style:none;margin:0;padding:0}#popup_menu_area li{margin:0;padding:0;line-height:1.25}#popup_menu_area a{display:block;text-decoration:none;color:#333;border-radius:2px;padding:1px 3px}#popup_menu_area a:hover,#popup_menu_area a:active,#popup_menu_area a:focus{background:#666;color:#fff}.message{position:relative;border:1px solid #ddd;background-color:#f8f8f8;margin:1em 0;padding:0 1em;border-radius:4px;line-height:1.4;font-size:13px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5)}body>.message{margin:1em}.message p{margin:1em 0 !important}.message.info{border-color:#BCE8F1;background-color:#D9EDF7;color:#3A87AD}.message.error{border-color:#EED3D7;background-color:#F2DEDE;color:#B94A48}.message.update{border-color:#D6E9C6;background-color:#DFF0D8;color:#468847}.wfsr{display:none;position:absolute;position:fixed;left:0;top:0;right:0;z-index:100;color:#fff;background:#333 url(../../common/img/msg.loading.gif) no-repeat center 15px;text-align:center;margin:0;padding:20px 0 0 0;opacity:.8;filter:alpha(opacity=80);font:bold 16px/60px "Helvetica Neue", Helvetica, Arial, 돋움, Dotum, sans-serif;box-shadow:0 0 5px #000;border-bottom:1px solid #ccc}#adminBar{position:fixed;top:0;left:0;right:0;height:28px;background:#666;width:100%;z-index:9999;color:#fff;font:12px/28px Arial,Helvetica,sans-serif;padding:0;overflow:hidden;border-top:1px solid #eee;border-bottom:1px solid #eee;box-shadow:0 0 5px #333}#adminBar>h1{margin:0 10px 0 0;padding:6px 0 0 10px;float:left;font-size:12px;line-height:1}#adminBar img{vertical-align:top}#adminBar>p{margin:0}#adminBar>.admin{float:left}#adminBar>.link{float:right;padding:0 10px 0 0}#adminBar a{color:#fff;text-decoration:none}#adminBar a:hover,#adminBar a:active,#adminBar a:focus{text-decoration:underline}.btnArea{padding:0;margin:10px 0;text-align:right;zoom:1;clear:both}.btnArea:after{content:"";display:block;clear:both}.btn{text-decoration:none !important;display:inline-block;*display:inline;*zoom:1;padding:0 12px !important;margin:0;line-height:24px !important;height:24px !important;font-family:inherit;font-size:12px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);vertical-align:top;cursor:pointer;overflow:visible;background-color:#f5f5f5;*background-color:#e6e6e6;background-image:-moz-linear-gradient(top, #ffffff, #e6e6e6);background-image:-webkit-linear-gradient(top, #ffffff, #e6e6e6);background-image:-o-linear-gradient(top, #ffffff, #e6e6e6);background-image:linear-gradient(top, #ffffff, #e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #bbbbbb;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);border-bottom-color:#a2a2a2;border-radius:2px;box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05)}input.btn,button.btn{height:26px !important}.btn:hover,.btn:active,.btn[disabled]{color:#333333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn>a,.btn>button,.btn>input,.btn>span{display:inline-block;*zoom:1;margin:0 -12px !important;padding:0 12px !important;text-decoration:none !important;width:auto;font-family:inherit;line-height:24px;height:24px;border:0;background:none;color:#333;font-size:12px;vertical-align:top;overflow:visible;cursor:pointer}.btn-group{position:relative;display:inline-block;*display:inline;*margin-left:.3em;font-size:0;white-space:nowrap;vertical-align:middle;*zoom:1}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-group>.btn{position:relative;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn+.btn{margin-left:-1px}.btn-group>.btn:first-child{margin-left:0;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.btn-group>.btn:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2} diff --git a/common/js/foggyLayer.js b/common/js/foggyLayer.js index 8f428281a..22a965e8f 100644 --- a/common/js/foggyLayer.js +++ b/common/js/foggyLayer.js @@ -28,4 +28,4 @@ jQuery(function($){ }); $foggyLayer.show(); -}); \ No newline at end of file +}); diff --git a/common/js/html5.js b/common/js/html5.js index 1b6624172..cde263d7e 100644 --- a/common/js/html5.js +++ b/common/js/html5.js @@ -1,2 +1,2 @@ /*! HTML5 Shiv pre3.5 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */ -(function(a,b){function h(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function i(){var a=l.elements;return typeof a=="string"?a.split(" "):a}function j(a){var b={},c=a.createElement,f=a.createDocumentFragment,g=f();a.createElement=function(a){l.shivMethods||c(a);var f;return b[a]?f=b[a].cloneNode():e.test(a)?f=(b[a]=c(a)).cloneNode():f=c(a),f.canHaveChildren&&!d.test(a)?g.appendChild(f):f},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/\w+/g,function(a){return b[a]=c(a),g.createElement(a),'c("'+a+'")'})+");return n}")(l,g)}function k(a){var b;return a.documentShived?a:(l.shivCSS&&!f&&(b=!!h(a,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),g||(b=!j(a)),b&&(a.documentShived=b),a)}function p(a){var b,c=a.getElementsByTagName("*"),d=c.length,e=RegExp("^(?:"+i().join("|")+")$","i"),f=[];while(d--)b=c[d],e.test(b.nodeName)&&f.push(b.applyElement(q(b)));return f}function q(a){var b,c=a.attributes,d=c.length,e=a.ownerDocument.createElement(n+":"+a.nodeName);while(d--)b=c[d],b.specified&&e.setAttribute(b.nodeName,b.nodeValue);return e.style.cssText=a.style.cssText,e}function r(a){var b,c=a.split("{"),d=c.length,e=RegExp("(^|[\\s,>+~])("+i().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),f="$1"+n+"\\:$2";while(d--)b=c[d]=c[d].split("}"),b[b.length-1]=b[b.length-1].replace(e,f),c[d]=b.join("}");return c.join("{")}function s(a){var b=a.length;while(b--)a[b].removeNode()}function t(a){var b,c,d=a.namespaces,e=a.parentWindow;return!o||a.printShived?a:(typeof d[n]=="undefined"&&d.add(n),e.attachEvent("onbeforeprint",function(){var d,e,f,g=a.styleSheets,i=[],j=g.length,k=Array(j);while(j--)k[j]=g[j];while(f=k.pop())if(!f.disabled&&m.test(f.media)){for(d=f.imports,j=0,e=d.length;j",f="hidden"in c,f&&typeof injectElementWithStyles=="function"&&injectElementWithStyles("#modernizr{}",function(b){b.hidden=!0,f=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).display=="none"}),g=c.childNodes.length==1||function(){try{b.createElement("a")}catch(a){return!0}var c=b.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()})();var l={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:k};a.html5=l,k(b);var m=/^$|\b(?:all|print)\b/,n="html5shiv",o=!g&&function(){var c=b.documentElement;return typeof b.namespaces!="undefined"&&typeof b.parentWindow!="undefined"&&typeof c.applyElement!="undefined"&&typeof c.removeNode!="undefined"&&typeof a.attachEvent!="undefined"}();l.type+=" print",l.shivPrint=t,t(b)})(this,document) \ No newline at end of file +(function(a,b){function h(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function i(){var a=l.elements;return typeof a=="string"?a.split(" "):a}function j(a){var b={},c=a.createElement,f=a.createDocumentFragment,g=f();a.createElement=function(a){l.shivMethods||c(a);var f;return b[a]?f=b[a].cloneNode():e.test(a)?f=(b[a]=c(a)).cloneNode():f=c(a),f.canHaveChildren&&!d.test(a)?g.appendChild(f):f},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/\w+/g,function(a){return b[a]=c(a),g.createElement(a),'c("'+a+'")'})+");return n}")(l,g)}function k(a){var b;return a.documentShived?a:(l.shivCSS&&!f&&(b=!!h(a,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),g||(b=!j(a)),b&&(a.documentShived=b),a)}function p(a){var b,c=a.getElementsByTagName("*"),d=c.length,e=RegExp("^(?:"+i().join("|")+")$","i"),f=[];while(d--)b=c[d],e.test(b.nodeName)&&f.push(b.applyElement(q(b)));return f}function q(a){var b,c=a.attributes,d=c.length,e=a.ownerDocument.createElement(n+":"+a.nodeName);while(d--)b=c[d],b.specified&&e.setAttribute(b.nodeName,b.nodeValue);return e.style.cssText=a.style.cssText,e}function r(a){var b,c=a.split("{"),d=c.length,e=RegExp("(^|[\\s,>+~])("+i().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),f="$1"+n+"\\:$2";while(d--)b=c[d]=c[d].split("}"),b[b.length-1]=b[b.length-1].replace(e,f),c[d]=b.join("}");return c.join("{")}function s(a){var b=a.length;while(b--)a[b].removeNode()}function t(a){var b,c,d=a.namespaces,e=a.parentWindow;return!o||a.printShived?a:(typeof d[n]=="undefined"&&d.add(n),e.attachEvent("onbeforeprint",function(){var d,e,f,g=a.styleSheets,i=[],j=g.length,k=Array(j);while(j--)k[j]=g[j];while(f=k.pop())if(!f.disabled&&m.test(f.media)){for(d=f.imports,j=0,e=d.length;j",f="hidden"in c,f&&typeof injectElementWithStyles=="function"&&injectElementWithStyles("#modernizr{}",function(b){b.hidden=!0,f=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).display=="none"}),g=c.childNodes.length==1||function(){try{b.createElement("a")}catch(a){return!0}var c=b.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()})();var l={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:k};a.html5=l,k(b);var m=/^$|\b(?:all|print)\b/,n="html5shiv",o=!g&&function(){var c=b.documentElement;return typeof b.namespaces!="undefined"&&typeof b.parentWindow!="undefined"&&typeof c.applyElement!="undefined"&&typeof c.removeNode!="undefined"&&typeof a.attachEvent!="undefined"}();l.type+=" print",l.shivPrint=t,t(b)})(this,document) diff --git a/common/js/plugins/filebox/filebox.js b/common/js/plugins/filebox/filebox.js index 09ecc53e7..23c984ce6 100644 --- a/common/js/plugins/filebox/filebox.js +++ b/common/js/plugins/filebox/filebox.js @@ -1,4 +1,3 @@ - ;(function($) { var defaults = { @@ -153,4 +152,4 @@ jQuery(document).ready(function($){ $(this).attr('target', 'iframeTarget'); } }); -}); \ No newline at end of file +}); diff --git a/common/js/plugins/ui.calendar/ui.calendar.js b/common/js/plugins/ui.calendar/ui.calendar.js index 35b654c1f..24d65e774 100644 --- a/common/js/plugins/ui.calendar/ui.calendar.js +++ b/common/js/plugins/ui.calendar/ui.calendar.js @@ -365,4 +365,4 @@ template.month = ''; -})(jQuery); \ No newline at end of file +})(jQuery); diff --git a/common/js/x.js b/common/js/x.js index 4c81f34c8..e0a065970 100644 --- a/common/js/x.js +++ b/common/js/x.js @@ -672,4 +672,4 @@ function xStopPropagation(evt) xDeprecate('xStopPropagation'); if (evt && evt.stopPropagation) evt.stopPropagation(); else if (window.event) window.event.cancelBubble = true; -} \ No newline at end of file +} diff --git a/config/config.inc.php b/config/config.inc.php index 66d923cd6..ab9a5d9eb 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -1,4 +1,5 @@ */ /** * set the include of the class file and other environment configurations diff --git a/config/func.inc.php b/config/func.inc.php index c9c832a40..5e49dcdc7 100644 --- a/config/func.inc.php +++ b/config/func.inc.php @@ -1,4 +1,5 @@ */ /** * function library files for convenience diff --git a/config/package.inc.php b/config/package.inc.php index 8f3498b61..46eb98584 100644 --- a/config/package.inc.php +++ b/config/package.inc.php @@ -1,4 +1,5 @@ */ define('_XE_PACKAGE_', 'XE'); define('_XE_LOCATION_', 'ko'); diff --git a/index.php b/index.php index 690b6a22d..9c0319d29 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,5 @@ */ /** * @file index.php * @author NAVER (developers@xpressengine.com) diff --git a/layouts/default/default.layout.css b/layouts/default/default.layout.css index 80717238a..179770b73 100644 --- a/layouts/default/default.layout.css +++ b/layouts/default/default.layout.css @@ -104,4 +104,4 @@ body{margin:0} .body.sub .lnb li li>a{line-height:20px;padding:0 10px 0 25px} .body.sub .lnb li li.active>a, .body.sub .lnb li li>a:hover, -.body.sub .lnb li li>a:focus{background:#f5f5f5;color:#3192d7} \ No newline at end of file +.body.sub .lnb li li>a:focus{background:#f5f5f5;color:#3192d7} diff --git a/layouts/default/default.layout.ie7.css b/layouts/default/default.layout.ie7.css index 70a1a639d..b05119f3c 100644 --- a/layouts/default/default.layout.ie7.css +++ b/layouts/default/default.layout.ie7.css @@ -1,2 +1,2 @@ @charset "utf-8"; -.visual>button>i{top:50%} \ No newline at end of file +.visual>button>i{top:50%} diff --git a/layouts/default/default.layout.ie78.css b/layouts/default/default.layout.ie78.css index b0c087f21..ac559b4b7 100644 --- a/layouts/default/default.layout.ie78.css +++ b/layouts/default/default.layout.ie78.css @@ -2,4 +2,4 @@ .gnb, .gnb>ul>li.active>a, .gnb>ul>li.hover>a{filter:none} -.visual>button>i{top:auto} \ No newline at end of file +.visual>button>i{top:auto} diff --git a/layouts/default/default.layout.webfont.css b/layouts/default/default.layout.webfont.css index 40c4bba23..433d0efd1 100644 --- a/layouts/default/default.layout.webfont.css +++ b/layouts/default/default.layout.webfont.css @@ -2,4 +2,4 @@ @font-face{font-family:NG;src:url(https://themes.googleusercontent.com/static/fonts/earlyaccess/nanumgothic/v3/NanumGothic-Regular.eot);src:local(※),url(https://themes.googleusercontent.com/static/fonts/earlyaccess/nanumgothic/v3/NanumGothic-Regular.woff) format('woff')} @media all and (min-width:768px){ body,table,input,textarea,select,button{font-family:나눔고딕,NanumGothic,NG,돋움,Dotum,Arial,Helvetica,sans-serif} -} \ No newline at end of file +} diff --git a/layouts/user_layout/user_layout.css b/layouts/user_layout/user_layout.css index d384338f0..71c0ee68f 100644 --- a/layouts/user_layout/user_layout.css +++ b/layouts/user_layout/user_layout.css @@ -12,4 +12,4 @@ form, fieldset{border:0;margin:0;padding:0} .lnb{float:left;width:200px;background:#ddd} .account{} .content{float:right;width:740px;background:#ddd} -.footer{background:#ddd} \ No newline at end of file +.footer{background:#ddd} diff --git a/layouts/xe_official/css/black.css b/layouts/xe_official/css/black.css index 4912d3702..fe413d883 100644 --- a/layouts/xe_official/css/black.css +++ b/layouts/xe_official/css/black.css @@ -52,4 +52,4 @@ body{background:#000} /* Site Layout - Footer */ .footer{border-top:3px solid #424242;padding:1em 0;clear:both} .footer p{text-align:center;margin:0} -.footer a{color:#818181;font-size:.9em;text-decoration:none} \ No newline at end of file +.footer a{color:#818181;font-size:.9em;text-decoration:none} diff --git a/layouts/xe_official/css/default.css b/layouts/xe_official/css/default.css index 762c9bfab..f0d1cf815 100644 --- a/layouts/xe_official/css/default.css +++ b/layouts/xe_official/css/default.css @@ -55,4 +55,4 @@ html{background:#fff url(../images/default/bgBody.gif) repeat-x left top;font-fa /* Site Layout - Footer */ .footer{border-top:3px solid #f4f4f4;padding:1em 0;clear:both} .footer p{text-align:center;margin:0} -.footer a{color:#999;font-size:.9em;text-decoration:none} \ No newline at end of file +.footer a{color:#999;font-size:.9em;text-decoration:none} diff --git a/layouts/xe_official/css/white.css b/layouts/xe_official/css/white.css index 7b60801ee..831af7e6f 100644 --- a/layouts/xe_official/css/white.css +++ b/layouts/xe_official/css/white.css @@ -51,4 +51,4 @@ body{background:#fff} /* Site Layout - Footer */ .footer{border-top:3px solid #f4f4f4;padding:1em 0;clear:both} .footer p{text-align:center;margin:0} -.footer a{color:#999;font-size:.9em;text-decoration:none} \ No newline at end of file +.footer a{color:#999;font-size:.9em;text-decoration:none} diff --git a/m.layouts/colorCode/css/Blue/layout.css b/m.layouts/colorCode/css/Blue/layout.css index 0cc602be9..7c6cb422d 100644 --- a/m.layouts/colorCode/css/Blue/layout.css +++ b/m.layouts/colorCode/css/Blue/layout.css @@ -58,4 +58,4 @@ ul.link .lang_lst li{width:90px;padding-left:1px;background:url('../../img/Blue/ .lang_lst li:first-child a{border-top:none} p.cr{height:20px;padding:11px 0 2px;text-align:center;font-size:12px;line-height:12px;color:#a5b9c7} .lo_foot.fixed{position:fixed;bottom:0;} -.lo_foot.static{position:static;} \ No newline at end of file +.lo_foot.static{position:static;} diff --git a/m.layouts/colorCode/css/Gray/layout.css b/m.layouts/colorCode/css/Gray/layout.css index 6f73f536e..c980f5d21 100644 --- a/m.layouts/colorCode/css/Gray/layout.css +++ b/m.layouts/colorCode/css/Gray/layout.css @@ -58,4 +58,4 @@ ul.link .lang_lst li{width:90px;padding-left:1px;background:url('../../img/Gray/ .lang_lst li:first-child a{border-top:none} p.cr{height:20px;padding:11px 0 2px;text-align:center;font-size:12px;line-height:12px;color:#bababa} .lo_foot.fixed{position:fixed;bottom:0;} -.lo_foot.static{position:static;} \ No newline at end of file +.lo_foot.static{position:static;} diff --git a/m.layouts/colorCode/css/Orange/layout.css b/m.layouts/colorCode/css/Orange/layout.css index 3df98424a..3a36df098 100644 --- a/m.layouts/colorCode/css/Orange/layout.css +++ b/m.layouts/colorCode/css/Orange/layout.css @@ -58,4 +58,4 @@ ul.link .lang_lst li{width:90px;padding-left:1px;background:url('../../img/Orang .lang_lst li:first-child a{border-top:none} p.cr{height:20px;padding:11px 0 2px;text-align:center;font-size:12px;line-height:12px;color:#dbb7a7} .lo_foot.fixed{position:fixed;bottom:0;} -.lo_foot.static{position:static;} \ No newline at end of file +.lo_foot.static{position:static;} diff --git a/m.layouts/colorCode/css/Red/layout.css b/m.layouts/colorCode/css/Red/layout.css index 24b57786c..59d1c1668 100644 --- a/m.layouts/colorCode/css/Red/layout.css +++ b/m.layouts/colorCode/css/Red/layout.css @@ -58,4 +58,4 @@ ul.link .lang_lst li{width:90px;padding-left:1px;background:url('../../img/Red/b .lang_lst li:first-child a{border-top:none} p.cr{height:20px;padding:11px 0 2px;text-align:center;font-size:12px;line-height:12px;color:#efefef} .lo_foot.fixed{position:fixed;bottom:0;} -.lo_foot.static{position:static;} \ No newline at end of file +.lo_foot.static{position:static;} diff --git a/m.layouts/colorCode/css/nGreenA/layout.css b/m.layouts/colorCode/css/nGreenA/layout.css index 1bf7d1fcb..fdb6c8d0a 100644 --- a/m.layouts/colorCode/css/nGreenA/layout.css +++ b/m.layouts/colorCode/css/nGreenA/layout.css @@ -58,4 +58,4 @@ ul.link .lang_lst li{width:90px;padding-left:1px;background:url('../../img/nGree .lang_lst li:first-child a{border-top:none} p.cr{height:20px;padding:11px 0 2px;text-align:center;font-size:12px;line-height:12px;color:#848484} .lo_foot.fixed{position:fixed;bottom:0;} -.lo_foot.static{position:static;} \ No newline at end of file +.lo_foot.static{position:static;} diff --git a/m.layouts/colorCode/css/nGreenB/layout.css b/m.layouts/colorCode/css/nGreenB/layout.css index 5e5afe3cd..c18d267d5 100644 --- a/m.layouts/colorCode/css/nGreenB/layout.css +++ b/m.layouts/colorCode/css/nGreenB/layout.css @@ -52,4 +52,4 @@ ul.link .lang_lst li{width:90px;padding-left:1px;background:url('../../img/nGree .lang_lst li:first-child a{border-top:none} p.cr{height:20px;padding:11px 0 2px;text-align:center;font-size:12px;line-height:12px;color:#848484} .lo_foot.fixed{position:fixed;bottom:0;} -.lo_foot.static{position:static;} \ No newline at end of file +.lo_foot.static{position:static;} diff --git a/m.layouts/default/mx.css b/m.layouts/default/mx.css index 91bacf010..ec01d12ab 100644 --- a/m.layouts/default/mx.css +++ b/m.layouts/default/mx.css @@ -23,4 +23,4 @@ body,input,textarea,select,button,table{font-family:Tahoma,Geneva,sans-serif} .ft li{margin:0;padding:0;border:1px solid #9c9a99;border-top:0;border-bottom:0;margin:0 -1px;background:#868686} .ft a{display:inline-block;padding:0 15px;color:#fff;text-shadow:0 0 2px #000;font-size:12px;font-weight:bold;line-height:32px;text-decoration:none} /* Copyright */ -.cr{margin:0;text-align:center;background:#f2f0ec;color:#494949;font-size:11px;line-height:26px} \ No newline at end of file +.cr{margin:0;text-align:center;background:#f2f0ec;color:#494949;font-size:11px;line-height:26px} diff --git a/modules/addon/addon.admin.controller.php b/modules/addon/addon.admin.controller.php index 24a333063..0efe3dc79 100644 --- a/modules/addon/addon.admin.controller.php +++ b/modules/addon/addon.admin.controller.php @@ -1,4 +1,5 @@ */ require_once(_XE_PATH_ . 'modules/addon/addon.controller.php'); diff --git a/modules/addon/addon.admin.model.php b/modules/addon/addon.admin.model.php index 2bcaec5f4..3afb79f37 100644 --- a/modules/addon/addon.admin.model.php +++ b/modules/addon/addon.admin.model.php @@ -1,4 +1,5 @@ */ /** * Admin model class of addon module diff --git a/modules/addon/addon.admin.view.php b/modules/addon/addon.admin.view.php index 8bdfa0d9f..78c523641 100644 --- a/modules/addon/addon.admin.view.php +++ b/modules/addon/addon.admin.view.php @@ -1,4 +1,5 @@ */ /** * Admin view class of addon modules diff --git a/modules/addon/addon.class.php b/modules/addon/addon.class.php index 0b238262e..bf7e7ad1c 100644 --- a/modules/addon/addon.class.php +++ b/modules/addon/addon.class.php @@ -1,4 +1,5 @@ */ /** * High class of addon modules diff --git a/modules/addon/addon.controller.php b/modules/addon/addon.controller.php index 894936497..8e690e1e6 100644 --- a/modules/addon/addon.controller.php +++ b/modules/addon/addon.controller.php @@ -1,4 +1,5 @@ */ /** * Addon module's controller class diff --git a/modules/admin/admin.admin.controller.php b/modules/admin/admin.admin.controller.php index f268a39ac..e21a7443c 100644 --- a/modules/admin/admin.admin.controller.php +++ b/modules/admin/admin.admin.controller.php @@ -1,4 +1,5 @@ */ /** * adminAdminController class diff --git a/modules/admin/admin.admin.model.php b/modules/admin/admin.admin.model.php index 91dad5667..0aef3bf81 100644 --- a/modules/admin/admin.admin.model.php +++ b/modules/admin/admin.admin.model.php @@ -1,4 +1,5 @@ */ /** * adminAdminModel class diff --git a/modules/admin/admin.admin.view.php b/modules/admin/admin.admin.view.php index abb26dff1..2baca8c6f 100644 --- a/modules/admin/admin.admin.view.php +++ b/modules/admin/admin.admin.view.php @@ -1,4 +1,5 @@ */ /** * adminAdminView class diff --git a/modules/admin/admin.class.php b/modules/admin/admin.class.php index 962accdfd..0bbb60e9a 100644 --- a/modules/admin/admin.class.php +++ b/modules/admin/admin.class.php @@ -1,4 +1,5 @@ */ /** * admin class diff --git a/modules/adminlogging/adminlogging.class.php b/modules/adminlogging/adminlogging.class.php index 6ec6ed3aa..f8dc29185 100644 --- a/modules/adminlogging/adminlogging.class.php +++ b/modules/adminlogging/adminlogging.class.php @@ -1,4 +1,5 @@ */ /** * adminlogging class diff --git a/modules/adminlogging/adminlogging.controller.php b/modules/adminlogging/adminlogging.controller.php index e1da018a9..eebde5a00 100644 --- a/modules/adminlogging/adminlogging.controller.php +++ b/modules/adminlogging/adminlogging.controller.php @@ -1,4 +1,5 @@ */ /** * adminloggingController class diff --git a/modules/adminlogging/adminlogging.model.php b/modules/adminlogging/adminlogging.model.php index f9638d7ef..bdad50df1 100644 --- a/modules/adminlogging/adminlogging.model.php +++ b/modules/adminlogging/adminlogging.model.php @@ -1,4 +1,5 @@ */ /** * adminloggingModel class diff --git a/modules/autoinstall/autoinstall.admin.controller.php b/modules/autoinstall/autoinstall.admin.controller.php index f4e530586..0559ed293 100644 --- a/modules/autoinstall/autoinstall.admin.controller.php +++ b/modules/autoinstall/autoinstall.admin.controller.php @@ -1,4 +1,5 @@ */ require_once(_XE_PATH_ . 'modules/autoinstall/autoinstall.lib.php'); diff --git a/modules/autoinstall/autoinstall.admin.model.php b/modules/autoinstall/autoinstall.admin.model.php index 113a1540a..0b228e801 100644 --- a/modules/autoinstall/autoinstall.admin.model.php +++ b/modules/autoinstall/autoinstall.admin.model.php @@ -1,4 +1,5 @@ */ /** * Model class of the autoinstall module diff --git a/modules/autoinstall/autoinstall.admin.view.php b/modules/autoinstall/autoinstall.admin.view.php index 40fc1dfc0..956ac3e3f 100644 --- a/modules/autoinstall/autoinstall.admin.view.php +++ b/modules/autoinstall/autoinstall.admin.view.php @@ -1,4 +1,5 @@ */ /** * Admin view class in the autoinstall module diff --git a/modules/autoinstall/autoinstall.class.php b/modules/autoinstall/autoinstall.class.php index aaa64eff9..d3294a509 100644 --- a/modules/autoinstall/autoinstall.class.php +++ b/modules/autoinstall/autoinstall.class.php @@ -1,4 +1,5 @@ */ /** * XML Generater diff --git a/modules/autoinstall/autoinstall.lib.php b/modules/autoinstall/autoinstall.lib.php index 1d8bab883..f1ebfbad2 100644 --- a/modules/autoinstall/autoinstall.lib.php +++ b/modules/autoinstall/autoinstall.lib.php @@ -1,4 +1,5 @@ */ require_once(_XE_PATH_ . 'libs/ftp.class.php'); diff --git a/modules/autoinstall/autoinstall.model.php b/modules/autoinstall/autoinstall.model.php index 89f2ebf75..b837d9751 100644 --- a/modules/autoinstall/autoinstall.model.php +++ b/modules/autoinstall/autoinstall.model.php @@ -1,4 +1,5 @@ */ /** * Model class of the autoinstall module diff --git a/modules/comment/comment.admin.controller.php b/modules/comment/comment.admin.controller.php index 4b4d40060..abc27b476 100644 --- a/modules/comment/comment.admin.controller.php +++ b/modules/comment/comment.admin.controller.php @@ -1,4 +1,5 @@ */ /** * commentAdminController class diff --git a/modules/comment/comment.admin.view.php b/modules/comment/comment.admin.view.php index 26af7f9e2..f79c89abb 100644 --- a/modules/comment/comment.admin.view.php +++ b/modules/comment/comment.admin.view.php @@ -1,4 +1,5 @@ */ /** * commentAdminView class diff --git a/modules/comment/comment.class.php b/modules/comment/comment.class.php index 495728597..808130b15 100644 --- a/modules/comment/comment.class.php +++ b/modules/comment/comment.class.php @@ -1,4 +1,5 @@ */ require_once(_XE_PATH_ . 'modules/comment/comment.item.php'); diff --git a/modules/comment/comment.controller.php b/modules/comment/comment.controller.php index 45f649d57..87c0f2f1f 100644 --- a/modules/comment/comment.controller.php +++ b/modules/comment/comment.controller.php @@ -1,4 +1,5 @@ */ /** * commentController class diff --git a/modules/comment/comment.item.php b/modules/comment/comment.item.php index 1a8d436ad..ad0f1dfc0 100644 --- a/modules/comment/comment.item.php +++ b/modules/comment/comment.item.php @@ -1,4 +1,5 @@ */ /** * commentItem class diff --git a/modules/comment/comment.model.php b/modules/comment/comment.model.php index 726b8286b..095085a01 100644 --- a/modules/comment/comment.model.php +++ b/modules/comment/comment.model.php @@ -1,4 +1,5 @@ */ /** * commentModel class diff --git a/modules/comment/comment.view.php b/modules/comment/comment.view.php index 262ea8ce4..0e2cb92aa 100644 --- a/modules/comment/comment.view.php +++ b/modules/comment/comment.view.php @@ -1,4 +1,5 @@ */ /** * commentView class diff --git a/modules/communication/communication.admin.controller.php b/modules/communication/communication.admin.controller.php index 1329e388a..be289821f 100644 --- a/modules/communication/communication.admin.controller.php +++ b/modules/communication/communication.admin.controller.php @@ -1,4 +1,5 @@ */ /** * @class communicationAdminController diff --git a/modules/communication/communication.admin.model.php b/modules/communication/communication.admin.model.php index 3fad20f4e..6dcb1210e 100644 --- a/modules/communication/communication.admin.model.php +++ b/modules/communication/communication.admin.model.php @@ -1,4 +1,5 @@ */ /** * @class communicationAdminModel diff --git a/modules/communication/communication.admin.view.php b/modules/communication/communication.admin.view.php index 6e80048dc..039a33c99 100644 --- a/modules/communication/communication.admin.view.php +++ b/modules/communication/communication.admin.view.php @@ -1,4 +1,5 @@ */ /** * @class communicationAdminView diff --git a/modules/communication/communication.class.php b/modules/communication/communication.class.php index 2551833ed..155fd6413 100644 --- a/modules/communication/communication.class.php +++ b/modules/communication/communication.class.php @@ -1,4 +1,5 @@ */ /** * @class communication diff --git a/modules/communication/communication.controller.php b/modules/communication/communication.controller.php index 1f8e5bb43..8f1d830fc 100644 --- a/modules/communication/communication.controller.php +++ b/modules/communication/communication.controller.php @@ -1,4 +1,5 @@ */ /** * @class communicationController diff --git a/modules/communication/communication.mobile.php b/modules/communication/communication.mobile.php index 427870b23..d846f4cca 100644 --- a/modules/communication/communication.mobile.php +++ b/modules/communication/communication.mobile.php @@ -1,4 +1,5 @@ */ require_once(_XE_PATH_ . 'modules/communication/communication.view.php'); diff --git a/modules/communication/communication.model.php b/modules/communication/communication.model.php index 37415a2a5..d5a0f88e3 100644 --- a/modules/communication/communication.model.php +++ b/modules/communication/communication.model.php @@ -1,4 +1,5 @@ */ /** * @class communicationModel diff --git a/modules/communication/communication.view.php b/modules/communication/communication.view.php index 41c941a8d..7553081cd 100644 --- a/modules/communication/communication.view.php +++ b/modules/communication/communication.view.php @@ -1,4 +1,5 @@ */ /** * @class communicationView diff --git a/modules/counter/counter.admin.view.php b/modules/counter/counter.admin.view.php index a0050052d..ad85f2d0a 100644 --- a/modules/counter/counter.admin.view.php +++ b/modules/counter/counter.admin.view.php @@ -1,4 +1,5 @@ */ /** * Admin view class of counter module diff --git a/modules/counter/counter.class.php b/modules/counter/counter.class.php index 887f70070..43afca409 100644 --- a/modules/counter/counter.class.php +++ b/modules/counter/counter.class.php @@ -1,4 +1,5 @@ */ /** * High class of counter module diff --git a/modules/counter/counter.controller.php b/modules/counter/counter.controller.php index 6d65a87f8..3ec4ecde5 100644 --- a/modules/counter/counter.controller.php +++ b/modules/counter/counter.controller.php @@ -1,4 +1,5 @@ */ /** * Counter module's controller class diff --git a/modules/counter/counter.model.php b/modules/counter/counter.model.php index 9baff0991..d961ae44c 100644 --- a/modules/counter/counter.model.php +++ b/modules/counter/counter.model.php @@ -1,4 +1,5 @@ */ /** * Model class of counter module diff --git a/modules/document/document.admin.controller.php b/modules/document/document.admin.controller.php index 597012365..290b43379 100644 --- a/modules/document/document.admin.controller.php +++ b/modules/document/document.admin.controller.php @@ -1,4 +1,6 @@ */ + /** * documentAdminController class * Document the module's admin controller class diff --git a/modules/document/document.admin.model.php b/modules/document/document.admin.model.php index 77b3d38dd..ca7666355 100644 --- a/modules/document/document.admin.model.php +++ b/modules/document/document.admin.model.php @@ -1,4 +1,6 @@ */ + /** * documentAdminModel class * Document the module's admin model class diff --git a/modules/document/document.admin.view.php b/modules/document/document.admin.view.php index cb343756b..70d29cb13 100644 --- a/modules/document/document.admin.view.php +++ b/modules/document/document.admin.view.php @@ -1,4 +1,5 @@ */ /** * documentAdminView class * Document admin view of the module class diff --git a/modules/document/document.class.php b/modules/document/document.class.php index bc065ce33..00e947744 100644 --- a/modules/document/document.class.php +++ b/modules/document/document.class.php @@ -1,4 +1,5 @@ */ require_once(_XE_PATH_.'modules/document/document.item.php'); /** diff --git a/modules/document/document.controller.php b/modules/document/document.controller.php index 21c6674e0..151e5f24e 100644 --- a/modules/document/document.controller.php +++ b/modules/document/document.controller.php @@ -1,4 +1,5 @@ */ /** * documentController class * document the module's controller class diff --git a/modules/document/document.item.php b/modules/document/document.item.php index b1f4c18b9..e2111903a 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -1,4 +1,5 @@ */ /** * documentItem class * document object diff --git a/modules/document/document.model.php b/modules/document/document.model.php index dcf5ed0bf..94840fca6 100644 --- a/modules/document/document.model.php +++ b/modules/document/document.model.php @@ -1,4 +1,5 @@ */ /** * documentModel class * model class of the module document diff --git a/modules/document/document.view.php b/modules/document/document.view.php index 462b81784..788708bf9 100644 --- a/modules/document/document.view.php +++ b/modules/document/document.view.php @@ -1,4 +1,5 @@ */ /** * documentView class * View class of the module document diff --git a/modules/editor/components/emoticon/emoticon.class.php b/modules/editor/components/emoticon/emoticon.class.php index 36816474f..8634b93f6 100644 --- a/modules/editor/components/emoticon/emoticon.class.php +++ b/modules/editor/components/emoticon/emoticon.class.php @@ -1,4 +1,5 @@ */ /** * @class emoticon * @author NAVER (developers@xpressengine.com) diff --git a/modules/editor/components/image_gallery/image_gallery.class.php b/modules/editor/components/image_gallery/image_gallery.class.php index 487ac9226..debf2ebc3 100644 --- a/modules/editor/components/image_gallery/image_gallery.class.php +++ b/modules/editor/components/image_gallery/image_gallery.class.php @@ -1,4 +1,5 @@ */ /** * @class image_gallery * @author NAVER (developers@xpressengine.com) diff --git a/modules/editor/components/image_link/image_link.class.php b/modules/editor/components/image_link/image_link.class.php index 49030c010..56707f0c8 100644 --- a/modules/editor/components/image_link/image_link.class.php +++ b/modules/editor/components/image_link/image_link.class.php @@ -1,4 +1,5 @@ */ /** * @class image_link * @author NAVER (developers@xpressengine.com) diff --git a/modules/editor/components/multimedia_link/multimedia_link.class.php b/modules/editor/components/multimedia_link/multimedia_link.class.php index 537da6a19..86aea3563 100644 --- a/modules/editor/components/multimedia_link/multimedia_link.class.php +++ b/modules/editor/components/multimedia_link/multimedia_link.class.php @@ -1,4 +1,5 @@ */ /** * @class multimedia_link * @author NAVER (developers@xpressengine.com) diff --git a/modules/editor/components/poll_maker/poll_maker.class.php b/modules/editor/components/poll_maker/poll_maker.class.php index 000f8096c..1ff5a8571 100644 --- a/modules/editor/components/poll_maker/poll_maker.class.php +++ b/modules/editor/components/poll_maker/poll_maker.class.php @@ -1,4 +1,5 @@ */ /** * @class poll_maker * @author NAVER (developers@xpressengine.com) diff --git a/modules/editor/editor.admin.controller.php b/modules/editor/editor.admin.controller.php index 1cf30669d..771d1165c 100644 --- a/modules/editor/editor.admin.controller.php +++ b/modules/editor/editor.admin.controller.php @@ -1,4 +1,5 @@ */ /** * @class editorAdminController * @author NAVER (developers@xpressengine.com) diff --git a/modules/editor/editor.admin.view.php b/modules/editor/editor.admin.view.php index 5c1cdc2cc..bbb58cd25 100644 --- a/modules/editor/editor.admin.view.php +++ b/modules/editor/editor.admin.view.php @@ -1,4 +1,5 @@ */ /** * @class editorAdminView * @author NAVER (developers@xpressengine.com) diff --git a/modules/editor/editor.api.php b/modules/editor/editor.api.php index aee43f706..ffa9356aa 100644 --- a/modules/editor/editor.api.php +++ b/modules/editor/editor.api.php @@ -1,4 +1,5 @@ */ /** * @class editorAPI * @author NAVER (developers@xpressengine.com) diff --git a/modules/editor/editor.class.php b/modules/editor/editor.class.php index 288852e85..fe936a09c 100644 --- a/modules/editor/editor.class.php +++ b/modules/editor/editor.class.php @@ -1,4 +1,5 @@ */ /** * @class editor * @author NAVER (developers@xpressengine.com) diff --git a/modules/editor/editor.controller.php b/modules/editor/editor.controller.php index 160a690f4..4e43f9fcc 100644 --- a/modules/editor/editor.controller.php +++ b/modules/editor/editor.controller.php @@ -1,4 +1,5 @@ */ /** * @class editor * @author NAVER (developers@xpressengine.com) diff --git a/modules/editor/editor.model.php b/modules/editor/editor.model.php index c655608dc..acfe070d9 100644 --- a/modules/editor/editor.model.php +++ b/modules/editor/editor.model.php @@ -1,4 +1,5 @@ */ /** * @class editorModel * @author NAVER (developers@xpressengine.com) diff --git a/modules/editor/editor.view.php b/modules/editor/editor.view.php index 2b435ea05..90908a7d4 100644 --- a/modules/editor/editor.view.php +++ b/modules/editor/editor.view.php @@ -1,4 +1,6 @@ */ + /** * @class editorView * @author NAVER (developers@xpressengine.com) diff --git a/modules/file/file.admin.controller.php b/modules/file/file.admin.controller.php index 2fd2196d0..5e0ccb081 100644 --- a/modules/file/file.admin.controller.php +++ b/modules/file/file.admin.controller.php @@ -1,4 +1,5 @@ */ /** * admin controller class of the file module * @author NAVER (developers@xpressengine.com) diff --git a/modules/file/file.admin.model.php b/modules/file/file.admin.model.php index ba2c5ae0d..d20949c28 100644 --- a/modules/file/file.admin.model.php +++ b/modules/file/file.admin.model.php @@ -1,4 +1,5 @@ */ /** * Admin model class of the file module * @author NAVER (developers@xpressengine.com) diff --git a/modules/file/file.admin.view.php b/modules/file/file.admin.view.php index b483b4b81..d193dbf54 100644 --- a/modules/file/file.admin.view.php +++ b/modules/file/file.admin.view.php @@ -1,4 +1,5 @@ */ /** * Admin view of the module class file * @author NAVER (developers@xpressengine.com) diff --git a/modules/file/file.class.php b/modules/file/file.class.php index bf3f4384c..99d1133d8 100644 --- a/modules/file/file.class.php +++ b/modules/file/file.class.php @@ -1,4 +1,5 @@ */ /** * High class of the file module * @author NAVER (developers@xpressengine.com) diff --git a/modules/file/file.controller.php b/modules/file/file.controller.php index 9283ecd75..902721c1f 100644 --- a/modules/file/file.controller.php +++ b/modules/file/file.controller.php @@ -1,4 +1,5 @@ */ /** * Controller class of the file module * @author NAVER (developers@xpressengine.com) diff --git a/modules/file/file.model.php b/modules/file/file.model.php index cb496456e..56c8fa60f 100644 --- a/modules/file/file.model.php +++ b/modules/file/file.model.php @@ -1,4 +1,5 @@ */ /** * Model class of the file module * @author NAVER (developers@xpressengine.com) diff --git a/modules/file/file.view.php b/modules/file/file.view.php index 08485e221..8779e3dcd 100644 --- a/modules/file/file.view.php +++ b/modules/file/file.view.php @@ -1,4 +1,5 @@ */ /** * The view class file module * @author NAVER (developers@xpressengine.com) diff --git a/modules/importer/extract.class.php b/modules/importer/extract.class.php index 7c6b7842e..2dd2c7252 100644 --- a/modules/importer/extract.class.php +++ b/modules/importer/extract.class.php @@ -1,4 +1,5 @@ */ /** * extract class * Class to save each file by using tags in the large xml diff --git a/modules/importer/importer.admin.controller.php b/modules/importer/importer.admin.controller.php index dee930ebc..c250ac25b 100644 --- a/modules/importer/importer.admin.controller.php +++ b/modules/importer/importer.admin.controller.php @@ -1,4 +1,5 @@ */ @set_time_limit(0); require_once('./modules/importer/extract.class.php'); diff --git a/modules/importer/importer.admin.view.php b/modules/importer/importer.admin.view.php index 1bc20df0b..3dc0fd28f 100644 --- a/modules/importer/importer.admin.view.php +++ b/modules/importer/importer.admin.view.php @@ -1,4 +1,5 @@ */ /** * importerAdminView class * admin view class of the importer module diff --git a/modules/importer/importer.class.php b/modules/importer/importer.class.php index 268eaf968..13914a71b 100644 --- a/modules/importer/importer.class.php +++ b/modules/importer/importer.class.php @@ -1,4 +1,5 @@ */ /** * importer * high class of importer module diff --git a/modules/importer/ttimport.class.php b/modules/importer/ttimport.class.php index a0a253359..dc3d72be8 100644 --- a/modules/importer/ttimport.class.php +++ b/modules/importer/ttimport.class.php @@ -1,4 +1,5 @@ */ @set_time_limit(0); @require_once('./modules/importer/extract.class.php'); diff --git a/modules/install/install.admin.controller.php b/modules/install/install.admin.controller.php index 00425f8c8..353a231e4 100644 --- a/modules/install/install.admin.controller.php +++ b/modules/install/install.admin.controller.php @@ -1,4 +1,5 @@ */ /** * @class installAdminController * @author NAVER (developers@xpressengine.com) diff --git a/modules/install/install.class.php b/modules/install/install.class.php index 104fa6f79..9435e4a74 100644 --- a/modules/install/install.class.php +++ b/modules/install/install.class.php @@ -1,4 +1,5 @@ */ /** * @class install * @author NAVER (developers@xpressengine.com) diff --git a/modules/install/install.controller.php b/modules/install/install.controller.php index 7f1b287c8..0e302525a 100644 --- a/modules/install/install.controller.php +++ b/modules/install/install.controller.php @@ -1,4 +1,5 @@ */ /** * @class installController * @author NAVER (developers@xpressengine.com) diff --git a/modules/install/install.model.php b/modules/install/install.model.php index 505361647..654610672 100644 --- a/modules/install/install.model.php +++ b/modules/install/install.model.php @@ -1,4 +1,5 @@ */ class installModel extends install { var $pwd; diff --git a/modules/install/install.view.php b/modules/install/install.view.php index 3bf39452e..4db8fe48b 100644 --- a/modules/install/install.view.php +++ b/modules/install/install.view.php @@ -1,4 +1,5 @@ */ /** * @class installView * @author NAVER (developers@xpressengine.com) diff --git a/modules/integration_search/integration_search.admin.controller.php b/modules/integration_search/integration_search.admin.controller.php index 29bf3b1a8..c4f58cc75 100644 --- a/modules/integration_search/integration_search.admin.controller.php +++ b/modules/integration_search/integration_search.admin.controller.php @@ -1,4 +1,5 @@ */ /** * The admin view class of the integration_search module * diff --git a/modules/integration_search/integration_search.admin.view.php b/modules/integration_search/integration_search.admin.view.php index 420ba20fd..8e1bb4269 100644 --- a/modules/integration_search/integration_search.admin.view.php +++ b/modules/integration_search/integration_search.admin.view.php @@ -1,4 +1,5 @@ */ /** * The admin view class of the integration_search module * diff --git a/modules/integration_search/integration_search.class.php b/modules/integration_search/integration_search.class.php index 482a42e29..06c993300 100644 --- a/modules/integration_search/integration_search.class.php +++ b/modules/integration_search/integration_search.class.php @@ -1,4 +1,5 @@ */ /** * The view class of the integration_search module * diff --git a/modules/integration_search/integration_search.model.php b/modules/integration_search/integration_search.model.php index ae8e54437..b739917a1 100644 --- a/modules/integration_search/integration_search.model.php +++ b/modules/integration_search/integration_search.model.php @@ -1,4 +1,5 @@ */ /** * The model class of integration module * diff --git a/modules/integration_search/integration_search.view.php b/modules/integration_search/integration_search.view.php index cec782e15..8da454be9 100644 --- a/modules/integration_search/integration_search.view.php +++ b/modules/integration_search/integration_search.view.php @@ -1,4 +1,5 @@ */ /** * The view class of the integration_search module * diff --git a/modules/layout/layout.admin.controller.php b/modules/layout/layout.admin.controller.php index 02e074b1c..1c830324d 100644 --- a/modules/layout/layout.admin.controller.php +++ b/modules/layout/layout.admin.controller.php @@ -1,4 +1,5 @@ */ /** * @class layoutAdminController * @author NAVER (developers@xpressengine.com) diff --git a/modules/layout/layout.admin.model.php b/modules/layout/layout.admin.model.php index ab75dfd0a..cbcd27311 100644 --- a/modules/layout/layout.admin.model.php +++ b/modules/layout/layout.admin.model.php @@ -1,4 +1,5 @@ */ /** * @class layoutAdminView * @author NAVER (developers@xpressengine.com) diff --git a/modules/layout/layout.admin.view.php b/modules/layout/layout.admin.view.php index 4a043c14d..6f427aaaa 100644 --- a/modules/layout/layout.admin.view.php +++ b/modules/layout/layout.admin.view.php @@ -1,4 +1,5 @@ */ /** * @class layoutAdminView * @author NAVER (developers@xpressengine.com) diff --git a/modules/layout/layout.class.php b/modules/layout/layout.class.php index 13e397a02..2519f6446 100644 --- a/modules/layout/layout.class.php +++ b/modules/layout/layout.class.php @@ -1,4 +1,5 @@ */ /** * @class layout * @author NAVER (developers@xpressengine.com) diff --git a/modules/layout/layout.model.php b/modules/layout/layout.model.php index a9c795a18..e0a9b8f49 100644 --- a/modules/layout/layout.model.php +++ b/modules/layout/layout.model.php @@ -1,4 +1,5 @@ */ /** * @class layoutModel * @author NAVER (developers@xpressengine.com) diff --git a/modules/layout/layout.view.php b/modules/layout/layout.view.php index ea9d24688..c952f3e69 100644 --- a/modules/layout/layout.view.php +++ b/modules/layout/layout.view.php @@ -1,4 +1,5 @@ */ /** * @class layoutView * @author NAVER (developers@xpressengine.com) diff --git a/modules/member/member.admin.controller.php b/modules/member/member.admin.controller.php index 28bbf0bc4..5718e7ecb 100644 --- a/modules/member/member.admin.controller.php +++ b/modules/member/member.admin.controller.php @@ -1,4 +1,5 @@ */ /** * @class memberAdminController * @author NAVER (developers@xpressengine.com) diff --git a/modules/member/member.admin.model.php b/modules/member/member.admin.model.php index 0dde3b48a..06e344f7e 100644 --- a/modules/member/member.admin.model.php +++ b/modules/member/member.admin.model.php @@ -1,4 +1,5 @@ */ /** * @class memberAdminModel * @author NAVER (developers@xpressengine.com) diff --git a/modules/member/member.admin.view.php b/modules/member/member.admin.view.php index 74bbe46ca..ebf1bde58 100644 --- a/modules/member/member.admin.view.php +++ b/modules/member/member.admin.view.php @@ -1,4 +1,5 @@ */ /** * @class memberAdminView * @author NAVER (developers@xpressengine.com) diff --git a/modules/member/member.api.php b/modules/member/member.api.php index 01ddcd531..8c70bb140 100644 --- a/modules/member/member.api.php +++ b/modules/member/member.api.php @@ -1,4 +1,5 @@ */ /** * @class memberAPI * @author NAVER (developers@xpressengine.com) diff --git a/modules/member/member.class.php b/modules/member/member.class.php index 463323fe0..e7bde82dd 100644 --- a/modules/member/member.class.php +++ b/modules/member/member.class.php @@ -1,4 +1,5 @@ */ /** * @class member * @author NAVER (developers@xpressengine.com) diff --git a/modules/member/member.controller.php b/modules/member/member.controller.php index a2c15a429..4147f9ce7 100644 --- a/modules/member/member.controller.php +++ b/modules/member/member.controller.php @@ -1,4 +1,5 @@ */ /** * @class memberController * @author NAVER (developers@xpressengine.com) diff --git a/modules/member/member.mobile.php b/modules/member/member.mobile.php index 101bf3ed9..b323d0ee3 100644 --- a/modules/member/member.mobile.php +++ b/modules/member/member.mobile.php @@ -1,4 +1,5 @@ */ require_once(_XE_PATH_.'modules/member/member.view.php'); class memberMobile extends memberView { diff --git a/modules/member/member.model.php b/modules/member/member.model.php index baab61cf6..731d67b56 100644 --- a/modules/member/member.model.php +++ b/modules/member/member.model.php @@ -1,4 +1,5 @@ */ /** * @class memberModel * @author NAVER (developers@xpressengine.com) diff --git a/modules/member/member.view.php b/modules/member/member.view.php index 34003ec2e..8edab4b28 100644 --- a/modules/member/member.view.php +++ b/modules/member/member.view.php @@ -1,4 +1,5 @@ */ /** * @class memberView * @author NAVER (developers@xpressengine.com) diff --git a/modules/menu/menu.admin.controller.php b/modules/menu/menu.admin.controller.php index b84191839..47d55b0f1 100644 --- a/modules/menu/menu.admin.controller.php +++ b/modules/menu/menu.admin.controller.php @@ -1,4 +1,5 @@ */ /** * menuAdminController class * admin controller class of the menu module diff --git a/modules/menu/menu.admin.model.php b/modules/menu/menu.admin.model.php index 6cd1c038d..89d95015d 100644 --- a/modules/menu/menu.admin.model.php +++ b/modules/menu/menu.admin.model.php @@ -1,4 +1,5 @@ */ /** * @class menuAdminModel * @brief admin model class of the menu module diff --git a/modules/menu/menu.admin.view.php b/modules/menu/menu.admin.view.php index 14277317c..9400fba32 100644 --- a/modules/menu/menu.admin.view.php +++ b/modules/menu/menu.admin.view.php @@ -1,4 +1,5 @@ */ /** * menuAdminView class * admin view class of the menu module diff --git a/modules/menu/menu.class.php b/modules/menu/menu.class.php index 3fd50bf0b..bd5521040 100644 --- a/modules/menu/menu.class.php +++ b/modules/menu/menu.class.php @@ -1,4 +1,5 @@ */ /** * menu class * high class of the menu module diff --git a/modules/menu/menu.mobile.php b/modules/menu/menu.mobile.php index 862ff76cc..7e9bf7fb7 100644 --- a/modules/menu/menu.mobile.php +++ b/modules/menu/menu.mobile.php @@ -1,4 +1,5 @@ */ /** * menuMobile class * mobile class of the menu module diff --git a/modules/message/message.admin.controller.php b/modules/message/message.admin.controller.php index a6dd4d4d2..03fd5a2bc 100644 --- a/modules/message/message.admin.controller.php +++ b/modules/message/message.admin.controller.php @@ -1,4 +1,5 @@ */ /** * @class messageAdminController * @author NAVER (developers@xpressengine.com) diff --git a/modules/message/message.admin.model.php b/modules/message/message.admin.model.php index c7a91d088..3d53a1160 100644 --- a/modules/message/message.admin.model.php +++ b/modules/message/message.admin.model.php @@ -1,4 +1,5 @@ */ class messageAdminModel extends message{ public function getMessageAdminColorset() { @@ -26,4 +27,4 @@ class messageAdminModel extends message{ $this->add('tpl', $tpl); } -} \ No newline at end of file +} diff --git a/modules/message/message.admin.view.php b/modules/message/message.admin.view.php index 88bfb29a9..27468f8e0 100644 --- a/modules/message/message.admin.view.php +++ b/modules/message/message.admin.view.php @@ -1,4 +1,5 @@ */ /** * @class messageAdminView * @author NAVER (developers@xpressengine.com) diff --git a/modules/message/message.class.php b/modules/message/message.class.php index 7267245c3..462ceb37f 100644 --- a/modules/message/message.class.php +++ b/modules/message/message.class.php @@ -1,4 +1,5 @@ */ /** * @class message * @author NAVER (developers@xpressengine.com) diff --git a/modules/message/message.mobile.php b/modules/message/message.mobile.php index c57c02a14..55371ff71 100644 --- a/modules/message/message.mobile.php +++ b/modules/message/message.mobile.php @@ -1,4 +1,5 @@ */ require_once(_XE_PATH_.'modules/message/message.view.php'); class messageMobile extends messageView { diff --git a/modules/message/message.view.php b/modules/message/message.view.php index d3d23dafd..b935c444d 100644 --- a/modules/message/message.view.php +++ b/modules/message/message.view.php @@ -1,4 +1,5 @@ */ /** * @class messageView * @author NAVER (developers@xpressengine.com) diff --git a/modules/module/module.admin.controller.php b/modules/module/module.admin.controller.php index 752265c2b..a323f5c55 100644 --- a/modules/module/module.admin.controller.php +++ b/modules/module/module.admin.controller.php @@ -1,4 +1,5 @@ */ /** * @class moduleAdminController * @author NAVER (developers@xpressengine.com) diff --git a/modules/module/module.admin.model.php b/modules/module/module.admin.model.php index 6a4839181..fad0674d3 100644 --- a/modules/module/module.admin.model.php +++ b/modules/module/module.admin.model.php @@ -1,4 +1,5 @@ */ /** * @class moduleAdminModel * @author NAVER (developers@xpressengine.com) diff --git a/modules/module/module.admin.view.php b/modules/module/module.admin.view.php index 490e266db..004a79f76 100644 --- a/modules/module/module.admin.view.php +++ b/modules/module/module.admin.view.php @@ -1,4 +1,5 @@ */ /** * @class moduleAdminView * @author NAVER (developers@xpressengine.com) diff --git a/modules/module/module.class.php b/modules/module/module.class.php index 28bfe3b02..b7150bafb 100644 --- a/modules/module/module.class.php +++ b/modules/module/module.class.php @@ -1,4 +1,5 @@ */ /** * @class module * @author NAVER (developers@xpressengine.com) diff --git a/modules/module/module.controller.php b/modules/module/module.controller.php index 8bd46c4a2..322e7118c 100644 --- a/modules/module/module.controller.php +++ b/modules/module/module.controller.php @@ -1,4 +1,5 @@ */ /** * @class moduleController * @author NAVER (developers@xpressengine.com) diff --git a/modules/module/module.mobile.php b/modules/module/module.mobile.php index 9f377a58f..32f40ad1e 100644 --- a/modules/module/module.mobile.php +++ b/modules/module/module.mobile.php @@ -1,4 +1,5 @@ */ class moduleMobile extends moduleObject { function dispModuleChangeLang() diff --git a/modules/module/module.model.php b/modules/module/module.model.php index 22d12c261..d260abc7b 100644 --- a/modules/module/module.model.php +++ b/modules/module/module.model.php @@ -1,4 +1,5 @@ */ /** * @class moduleModel * @author NAVER (developers@xpressengine.com) diff --git a/modules/module/module.view.php b/modules/module/module.view.php index d35bcd876..a69a748c8 100644 --- a/modules/module/module.view.php +++ b/modules/module/module.view.php @@ -1,4 +1,5 @@ */ /** * @class moduleView * @author NAVER (developers@xpressengine.com) diff --git a/modules/page/page.admin.controller.php b/modules/page/page.admin.controller.php index d16a2a342..90b925a91 100644 --- a/modules/page/page.admin.controller.php +++ b/modules/page/page.admin.controller.php @@ -1,4 +1,5 @@ */ /** * @class pageAdminController * @author NAVER (developers@xpressengine.com) diff --git a/modules/page/page.admin.view.php b/modules/page/page.admin.view.php index f360a915e..dc215ca81 100644 --- a/modules/page/page.admin.view.php +++ b/modules/page/page.admin.view.php @@ -1,4 +1,5 @@ */ /** * @class pageAdminView * @author NAVER (developers@xpressengine.com) diff --git a/modules/page/page.api.php b/modules/page/page.api.php index e26a78ed9..b844c10d5 100644 --- a/modules/page/page.api.php +++ b/modules/page/page.api.php @@ -1,4 +1,5 @@ */ /** * @class pageAPI * @author NAVER (developers@xpressengine.com) diff --git a/modules/page/page.class.php b/modules/page/page.class.php index 3c1620347..2839dce2e 100644 --- a/modules/page/page.class.php +++ b/modules/page/page.class.php @@ -1,4 +1,5 @@ */ /** * @class page * @author NAVER (developers@xpressengine.com) diff --git a/modules/page/page.controller.php b/modules/page/page.controller.php index cd29a0458..24378049c 100644 --- a/modules/page/page.controller.php +++ b/modules/page/page.controller.php @@ -1,4 +1,5 @@ */ /** * @class documentController * @author NAVER (developers@xpressengine.com) diff --git a/modules/page/page.mobile.php b/modules/page/page.mobile.php index a8b336a0c..417d082e1 100644 --- a/modules/page/page.mobile.php +++ b/modules/page/page.mobile.php @@ -1,4 +1,5 @@ */ require_once(_XE_PATH_.'modules/page/page.view.php'); class pageMobile extends pageView diff --git a/modules/page/page.view.php b/modules/page/page.view.php index edae8c984..41c585b64 100644 --- a/modules/page/page.view.php +++ b/modules/page/page.view.php @@ -1,4 +1,5 @@ */ /** * @class pageView * @author NAVER (developers@xpressengine.com) diff --git a/modules/page/page.wap.php b/modules/page/page.wap.php index 8f4285ad0..1d8c5cebf 100644 --- a/modules/page/page.wap.php +++ b/modules/page/page.wap.php @@ -1,4 +1,5 @@ */ /** * @class pageWap * @author NAVER (developers@xpressengine.com) diff --git a/modules/point/point.admin.controller.php b/modules/point/point.admin.controller.php index b42c46376..b788d1b97 100644 --- a/modules/point/point.admin.controller.php +++ b/modules/point/point.admin.controller.php @@ -1,4 +1,5 @@ */ /** * @class pointAdminController * @author NAVER (developers@xpressengine.com) diff --git a/modules/point/point.admin.view.php b/modules/point/point.admin.view.php index cbed64420..d5b84f088 100644 --- a/modules/point/point.admin.view.php +++ b/modules/point/point.admin.view.php @@ -1,4 +1,5 @@ */ /** * @class pointAdminView * @author NAVER (developers@xpressengine.com) diff --git a/modules/point/point.class.php b/modules/point/point.class.php index 9c3ed5511..3ff4d05cd 100644 --- a/modules/point/point.class.php +++ b/modules/point/point.class.php @@ -1,4 +1,5 @@ */ /** * @class point * @author NAVER (developers@xpressengine.com) diff --git a/modules/point/point.controller.php b/modules/point/point.controller.php index 1ac7311a6..1d317a1a8 100644 --- a/modules/point/point.controller.php +++ b/modules/point/point.controller.php @@ -1,4 +1,5 @@ */ /** * @class pointController * @author NAVER (developers@xpressengine.com) diff --git a/modules/point/point.model.php b/modules/point/point.model.php index fa7279904..6d5a3b95b 100644 --- a/modules/point/point.model.php +++ b/modules/point/point.model.php @@ -1,4 +1,5 @@ */ /** * @class pointModel * @author NAVER (developers@xpressengine.com) diff --git a/modules/point/point.view.php b/modules/point/point.view.php index af27ca7b8..c5e482b49 100644 --- a/modules/point/point.view.php +++ b/modules/point/point.view.php @@ -1,4 +1,5 @@ */ /** * @class pointView * @author NAVER (developers@xpressengine.com) diff --git a/modules/poll/poll.admin.controller.php b/modules/poll/poll.admin.controller.php index 5c46c0c06..9459d2d7b 100644 --- a/modules/poll/poll.admin.controller.php +++ b/modules/poll/poll.admin.controller.php @@ -1,4 +1,5 @@ */ /** * @class pollAdminController * @author NAVER (developers@xpressengine.com) diff --git a/modules/poll/poll.admin.model.php b/modules/poll/poll.admin.model.php index 46e7fc013..c4da8adbf 100644 --- a/modules/poll/poll.admin.model.php +++ b/modules/poll/poll.admin.model.php @@ -1,4 +1,5 @@ */ /** * @class pollAdminModel * @author NAVER (developers@xpressengine.com) diff --git a/modules/poll/poll.admin.view.php b/modules/poll/poll.admin.view.php index 891276a4a..a3d4c4b6b 100644 --- a/modules/poll/poll.admin.view.php +++ b/modules/poll/poll.admin.view.php @@ -1,4 +1,5 @@ */ /** * @class pollAdminView * @author NAVER (developers@xpressengine.com) diff --git a/modules/poll/poll.class.php b/modules/poll/poll.class.php index d1893d7e3..3d8dac4de 100644 --- a/modules/poll/poll.class.php +++ b/modules/poll/poll.class.php @@ -1,4 +1,5 @@ */ /** * @class poll * @author NAVER (developers@xpressengine.com) diff --git a/modules/poll/poll.controller.php b/modules/poll/poll.controller.php index 305affd1a..bba43c900 100644 --- a/modules/poll/poll.controller.php +++ b/modules/poll/poll.controller.php @@ -1,4 +1,5 @@ */ /** * @class pollController * @author NAVER (developers@xpressengine.com) diff --git a/modules/poll/poll.model.php b/modules/poll/poll.model.php index ff85fafda..79d3a7df5 100644 --- a/modules/poll/poll.model.php +++ b/modules/poll/poll.model.php @@ -1,4 +1,5 @@ */ /** * @class pollModel * @author NAVER (developers@xpressengine.com) diff --git a/modules/rss/rss.admin.controller.php b/modules/rss/rss.admin.controller.php index a1c2a165a..208193bed 100644 --- a/modules/rss/rss.admin.controller.php +++ b/modules/rss/rss.admin.controller.php @@ -1,4 +1,5 @@ */ /** * The admin controller class of the rss module * diff --git a/modules/rss/rss.admin.view.php b/modules/rss/rss.admin.view.php index c11967f85..30833e0ee 100644 --- a/modules/rss/rss.admin.view.php +++ b/modules/rss/rss.admin.view.php @@ -1,4 +1,5 @@ */ /** * The admin view class of the rss module * diff --git a/modules/rss/rss.class.php b/modules/rss/rss.class.php index ac40f9c68..396be7ea1 100644 --- a/modules/rss/rss.class.php +++ b/modules/rss/rss.class.php @@ -1,4 +1,5 @@ */ /** * High class of rss module * diff --git a/modules/rss/rss.controller.php b/modules/rss/rss.controller.php index f33428f2c..140c5dcea 100644 --- a/modules/rss/rss.controller.php +++ b/modules/rss/rss.controller.php @@ -1,4 +1,5 @@ */ /** * The controller class of rss module * diff --git a/modules/rss/rss.model.php b/modules/rss/rss.model.php index 25466790f..7df8d6bdc 100644 --- a/modules/rss/rss.model.php +++ b/modules/rss/rss.model.php @@ -1,4 +1,5 @@ */ /** * The model class of the rss module * diff --git a/modules/rss/rss.view.php b/modules/rss/rss.view.php index 85ca77f29..afdcacfa8 100644 --- a/modules/rss/rss.view.php +++ b/modules/rss/rss.view.php @@ -1,4 +1,5 @@ */ /** * The view class of the rss module * diff --git a/modules/session/session.admin.controller.php b/modules/session/session.admin.controller.php index 62c42027c..fb00d64c7 100644 --- a/modules/session/session.admin.controller.php +++ b/modules/session/session.admin.controller.php @@ -1,4 +1,5 @@ */ /** * @class sessionAdminController * @author NAVER (developers@xpressengine.com) diff --git a/modules/session/session.admin.view.php b/modules/session/session.admin.view.php index e8f9b6c64..d1d4098b2 100644 --- a/modules/session/session.admin.view.php +++ b/modules/session/session.admin.view.php @@ -1,4 +1,5 @@ */ /** * @class sessionAdminView * @author NAVER (developers@xpressengine.com) diff --git a/modules/session/session.class.php b/modules/session/session.class.php index c9526ffc7..0b422e654 100644 --- a/modules/session/session.class.php +++ b/modules/session/session.class.php @@ -1,4 +1,5 @@ */ /** * @class session * @author NAVER (developers@xpressengine.com) diff --git a/modules/session/session.controller.php b/modules/session/session.controller.php index a2187a2d8..6661af4bb 100644 --- a/modules/session/session.controller.php +++ b/modules/session/session.controller.php @@ -1,4 +1,5 @@ */ /** * @class sessionController * @author NAVER (developers@xpressengine.com) diff --git a/modules/session/session.model.php b/modules/session/session.model.php index 991f63907..6663ab361 100644 --- a/modules/session/session.model.php +++ b/modules/session/session.model.php @@ -1,4 +1,5 @@ */ /** * @class sessionModel * @author NAVER (developers@xpressengine.com) diff --git a/modules/spamfilter/spamfilter.admin.controller.php b/modules/spamfilter/spamfilter.admin.controller.php index 02c696ecb..e2d4c66c9 100644 --- a/modules/spamfilter/spamfilter.admin.controller.php +++ b/modules/spamfilter/spamfilter.admin.controller.php @@ -1,4 +1,5 @@ */ /** * @class spamfilterAdminController * @author NAVER (developers@xpressengine.com) diff --git a/modules/spamfilter/spamfilter.admin.view.php b/modules/spamfilter/spamfilter.admin.view.php index 93e12e29a..ddce398a8 100644 --- a/modules/spamfilter/spamfilter.admin.view.php +++ b/modules/spamfilter/spamfilter.admin.view.php @@ -1,4 +1,5 @@ */ /** * @class spamfilterAdminView * @author NAVER (developers@xpressengine.com) diff --git a/modules/spamfilter/spamfilter.class.php b/modules/spamfilter/spamfilter.class.php index 328dc0eda..1ae3b36c2 100644 --- a/modules/spamfilter/spamfilter.class.php +++ b/modules/spamfilter/spamfilter.class.php @@ -1,4 +1,5 @@ */ /** * @class spamfilter * @author NAVER (developers@xpressengine.com) diff --git a/modules/spamfilter/spamfilter.controller.php b/modules/spamfilter/spamfilter.controller.php index 3bff2ccd8..db64ca398 100644 --- a/modules/spamfilter/spamfilter.controller.php +++ b/modules/spamfilter/spamfilter.controller.php @@ -1,4 +1,5 @@ */ /** * @class spamfilterController * @author NAVER (developers@xpressengine.com) diff --git a/modules/spamfilter/spamfilter.model.php b/modules/spamfilter/spamfilter.model.php index aef1ddcb5..1aa685f01 100644 --- a/modules/spamfilter/spamfilter.model.php +++ b/modules/spamfilter/spamfilter.model.php @@ -1,4 +1,5 @@ */ /** * @class spamfilterModel * @author NAVER (developers@xpressengine.com) diff --git a/modules/tag/tag.admin.controller.php b/modules/tag/tag.admin.controller.php index 839c7a0bb..50d947ce5 100644 --- a/modules/tag/tag.admin.controller.php +++ b/modules/tag/tag.admin.controller.php @@ -1,4 +1,5 @@ */ /** * @class tagAdminController * @author NAVER (developers@xpressengine.com) diff --git a/modules/tag/tag.class.php b/modules/tag/tag.class.php index 251e0bd35..445da83fb 100644 --- a/modules/tag/tag.class.php +++ b/modules/tag/tag.class.php @@ -1,4 +1,5 @@ */ /** * @class tag * @author NAVER (developers@xpressengine.com) diff --git a/modules/tag/tag.controller.php b/modules/tag/tag.controller.php index 899471fc3..d5028d2dd 100644 --- a/modules/tag/tag.controller.php +++ b/modules/tag/tag.controller.php @@ -1,4 +1,5 @@ */ /** * @class tagController * @author NAVER (developers@xpressengine.com) diff --git a/modules/tag/tag.model.php b/modules/tag/tag.model.php index f93c99f77..a34fc5c69 100644 --- a/modules/tag/tag.model.php +++ b/modules/tag/tag.model.php @@ -1,4 +1,5 @@ */ /** * @class tagModel * @author NAVER (developers@xpressengine.com) diff --git a/modules/trackback/trackback.admin.controller.php b/modules/trackback/trackback.admin.controller.php index 18e94cae8..53b9bd9fd 100644 --- a/modules/trackback/trackback.admin.controller.php +++ b/modules/trackback/trackback.admin.controller.php @@ -1,4 +1,5 @@ */ /** * trackbackAdminController class * trackback module admin controller class diff --git a/modules/trackback/trackback.admin.model.php b/modules/trackback/trackback.admin.model.php index 20db5873a..c8403ce82 100644 --- a/modules/trackback/trackback.admin.model.php +++ b/modules/trackback/trackback.admin.model.php @@ -1,4 +1,5 @@ */ /** * @class trackbackAdminModel * @brief trackback module admin model class diff --git a/modules/trackback/trackback.admin.view.php b/modules/trackback/trackback.admin.view.php index 2f520d290..2ae00ff7b 100644 --- a/modules/trackback/trackback.admin.view.php +++ b/modules/trackback/trackback.admin.view.php @@ -1,4 +1,5 @@ */ /** * trackbackAdminView class * trackback module admin view class diff --git a/modules/trackback/trackback.class.php b/modules/trackback/trackback.class.php index 99121b487..ee17788a4 100644 --- a/modules/trackback/trackback.class.php +++ b/modules/trackback/trackback.class.php @@ -1,4 +1,5 @@ */ /** * trackback class * trackback module's high class diff --git a/modules/trackback/trackback.controller.php b/modules/trackback/trackback.controller.php index ece0fae24..05c46f1a6 100644 --- a/modules/trackback/trackback.controller.php +++ b/modules/trackback/trackback.controller.php @@ -1,4 +1,5 @@ */ /** * trackbackController class * trackback module's Controller class diff --git a/modules/trackback/trackback.model.php b/modules/trackback/trackback.model.php index f9b4bfa85..f50817c74 100644 --- a/modules/trackback/trackback.model.php +++ b/modules/trackback/trackback.model.php @@ -1,4 +1,5 @@ */ /** * trackbackModel class * trackback module model class diff --git a/modules/trackback/trackback.view.php b/modules/trackback/trackback.view.php index faea62bc8..c5b6a2c07 100644 --- a/modules/trackback/trackback.view.php +++ b/modules/trackback/trackback.view.php @@ -1,4 +1,5 @@ */ /** * @class trackbackView * @brief trackback module's view class diff --git a/modules/trash/trash.admin.controller.php b/modules/trash/trash.admin.controller.php index abb918af0..4b975b6f4 100644 --- a/modules/trash/trash.admin.controller.php +++ b/modules/trash/trash.admin.controller.php @@ -1,4 +1,5 @@ */ /** * trashAdminController class * trash admin the module's controller class diff --git a/modules/trash/trash.admin.view.php b/modules/trash/trash.admin.view.php index 5080bf8ec..871912d4e 100644 --- a/modules/trash/trash.admin.view.php +++ b/modules/trash/trash.admin.view.php @@ -1,4 +1,5 @@ */ /** * trashAdminView class * Admin view class of the trash module diff --git a/modules/trash/trash.class.php b/modules/trash/trash.class.php index 5e495719d..cb292d790 100644 --- a/modules/trash/trash.class.php +++ b/modules/trash/trash.class.php @@ -1,4 +1,5 @@ */ require_once(_XE_PATH_.'modules/trash/model/TrashVO.php'); /** diff --git a/modules/trash/trash.controller.php b/modules/trash/trash.controller.php index 876657213..809dda99c 100644 --- a/modules/trash/trash.controller.php +++ b/modules/trash/trash.controller.php @@ -1,4 +1,5 @@ */ /** * trashController * trash the module's controller class diff --git a/modules/trash/trash.model.php b/modules/trash/trash.model.php index cd8a13a3d..9185d0e51 100644 --- a/modules/trash/trash.model.php +++ b/modules/trash/trash.model.php @@ -1,4 +1,5 @@ */ /** * trashModel class * trash the module's model class diff --git a/modules/trash/trash.view.php b/modules/trash/trash.view.php index c1e7ff88a..1562d133c 100644 --- a/modules/trash/trash.view.php +++ b/modules/trash/trash.view.php @@ -1,4 +1,5 @@ */ /** * trashView class * View class of the module trash diff --git a/modules/widget/widget.admin.view.php b/modules/widget/widget.admin.view.php index 9c6542c51..6d38fe82b 100644 --- a/modules/widget/widget.admin.view.php +++ b/modules/widget/widget.admin.view.php @@ -1,4 +1,5 @@ */ /** * @class widgetAdminView * @author NAVER (developers@xpressengine.com) diff --git a/modules/widget/widget.class.php b/modules/widget/widget.class.php index ccd156586..89ce8eede 100644 --- a/modules/widget/widget.class.php +++ b/modules/widget/widget.class.php @@ -1,4 +1,5 @@ */ /** * @class widget * @author NAVER (developers@xpressengine.com) diff --git a/modules/widget/widget.controller.php b/modules/widget/widget.controller.php index 55ac7aadd..94beded98 100644 --- a/modules/widget/widget.controller.php +++ b/modules/widget/widget.controller.php @@ -1,4 +1,5 @@ */ /** * @class widgetController * @author NAVER (developers@xpressengine.com) diff --git a/modules/widget/widget.model.php b/modules/widget/widget.model.php index d929b74cf..06530773a 100644 --- a/modules/widget/widget.model.php +++ b/modules/widget/widget.model.php @@ -1,4 +1,5 @@ */ /** * @class widgetModel * @author NAVER (developers@xpressengine.com) diff --git a/modules/widget/widget.view.php b/modules/widget/widget.view.php index 17be4aeb0..0e0e9476b 100644 --- a/modules/widget/widget.view.php +++ b/modules/widget/widget.view.php @@ -1,4 +1,5 @@ */ /** * @class widgetView * @author NAVER (developers@xpressengine.com) diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index 12da3030a..28119bdb3 100644 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -1,4 +1,5 @@ */ if(!defined('__DEBUG__')) define('__DEBUG__', 1); if(!defined('__XE__')) define('__XE__', true); diff --git a/tests/FuncIncTest.class.php b/tests/FuncIncTest.class.php index bb49f66e9..ff436a91a 100644 --- a/tests/FuncIncTest.class.php +++ b/tests/FuncIncTest.class.php @@ -1,4 +1,5 @@ */ define('__XE__', 1); define('_XE_PATH_', realpath(dirname(__FILE__).'/../')); diff --git a/tests/classes/context/Context.mock.php b/tests/classes/context/Context.mock.php index f6c3888b8..7b577a9c7 100644 --- a/tests/classes/context/Context.mock.php +++ b/tests/classes/context/Context.mock.php @@ -1,4 +1,5 @@ */ if(!defined('FOLLOW_REQUEST_SSL')) define('FOLLOW_REQUEST_SSL',0); if(!defined('ENFORCE_SSL')) define('ENFORCE_SSL',1); diff --git a/tests/classes/context/ContextTest.php b/tests/classes/context/ContextTest.php index 70a61226c..d4551b4d6 100644 --- a/tests/classes/context/ContextTest.php +++ b/tests/classes/context/ContextTest.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) require dirname(__FILE__).'/../../Bootstrap.php'; diff --git a/tests/classes/db/Helper.class.php b/tests/classes/db/Helper.class.php index 597d52ac3..e3aa4ad02 100644 --- a/tests/classes/db/Helper.class.php +++ b/tests/classes/db/Helper.class.php @@ -1,4 +1,5 @@ */ class Helper { static function cleanString($query){ @@ -20,4 +21,4 @@ } -?> \ No newline at end of file +?> diff --git a/tests/classes/db/QueryTester.class.php b/tests/classes/db/QueryTester.class.php index 3fc911044..27c44aaa4 100644 --- a/tests/classes/db/QueryTester.class.php +++ b/tests/classes/db/QueryTester.class.php @@ -1,4 +1,5 @@ */ // Only supports queries inside modules for now @@ -317,4 +318,4 @@ } -?> \ No newline at end of file +?> diff --git a/tests/classes/db/classes/db/queryparts/condition/ConditionWithArgumentTest.php b/tests/classes/db/classes/db/queryparts/condition/ConditionWithArgumentTest.php index 2e5f317f7..4b99ab824 100644 --- a/tests/classes/db/classes/db/queryparts/condition/ConditionWithArgumentTest.php +++ b/tests/classes/db/classes/db/queryparts/condition/ConditionWithArgumentTest.php @@ -1,4 +1,5 @@ */ /** * Test class for ConditionWithArgument. diff --git a/tests/classes/db/classes/db/queryparts/table/TableTest.php b/tests/classes/db/classes/db/queryparts/table/TableTest.php index df389a826..96ef0f230 100644 --- a/tests/classes/db/classes/db/queryparts/table/TableTest.php +++ b/tests/classes/db/classes/db/queryparts/table/TableTest.php @@ -1,4 +1,5 @@ */ /** * Test class for Table. diff --git a/tests/classes/db/classes/xml/xmlquery/argument/ArgumentTest.php b/tests/classes/db/classes/xml/xmlquery/argument/ArgumentTest.php index 905936df4..ca44d5dda 100644 --- a/tests/classes/db/classes/xml/xmlquery/argument/ArgumentTest.php +++ b/tests/classes/db/classes/xml/xmlquery/argument/ArgumentTest.php @@ -1,4 +1,5 @@ */ /** * Test class for Argument. diff --git a/tests/classes/db/classes/xml/xmlquery/argument/ConditionArgumentTest.php b/tests/classes/db/classes/xml/xmlquery/argument/ConditionArgumentTest.php index 17b43a3b5..23ded1838 100644 --- a/tests/classes/db/classes/xml/xmlquery/argument/ConditionArgumentTest.php +++ b/tests/classes/db/classes/xml/xmlquery/argument/ConditionArgumentTest.php @@ -1,4 +1,5 @@ */ /** * Test class for ConditionArgument. diff --git a/tests/classes/db/classes/xml/xmlquery/argument/data/en.lang.php b/tests/classes/db/classes/xml/xmlquery/argument/data/en.lang.php index 302b3505a..9d07584f7 100644 --- a/tests/classes/db/classes/xml/xmlquery/argument/data/en.lang.php +++ b/tests/classes/db/classes/xml/xmlquery/argument/data/en.lang.php @@ -1,4 +1,5 @@ */ /** * @file common/lang/en.lang.php * @author NAVER (developers@xpressengine.com) @@ -319,4 +320,4 @@ $lang->filter->invalid_number = "The format of %s is invalid. Please input numbe $lang->security_warning_embed = "Due to security concern, administrators are not allowed to view embedded items.
To view them, please use another non-administrator ID."; $lang->msg_pc_to_mobile = '이 페이지는 모바일 보기가 있습니다. 모바일 보기로 이동하시겠습니까?'; -?> \ No newline at end of file +?> diff --git a/tests/classes/db/classes/xml/xmlquery/queryargument/QueryArgumentTest.php b/tests/classes/db/classes/xml/xmlquery/queryargument/QueryArgumentTest.php index 5aed5baa4..aafc07268 100644 --- a/tests/classes/db/classes/xml/xmlquery/queryargument/QueryArgumentTest.php +++ b/tests/classes/db/classes/xml/xmlquery/queryargument/QueryArgumentTest.php @@ -1,4 +1,5 @@ */ /** * Test class for QueryArgument. diff --git a/tests/classes/db/classes/xml/xmlquery/tags/condition/ConditionTagTest.php b/tests/classes/db/classes/xml/xmlquery/tags/condition/ConditionTagTest.php index 02ce85348..97dda224b 100644 --- a/tests/classes/db/classes/xml/xmlquery/tags/condition/ConditionTagTest.php +++ b/tests/classes/db/classes/xml/xmlquery/tags/condition/ConditionTagTest.php @@ -1,4 +1,5 @@ */ /** * Test class for ConditionTag. diff --git a/tests/classes/db/classes/xml/xmlquery/tags/table/TableTagTest.php b/tests/classes/db/classes/xml/xmlquery/tags/table/TableTagTest.php index 860c44cc0..d449b65fc 100644 --- a/tests/classes/db/classes/xml/xmlquery/tags/table/TableTagTest.php +++ b/tests/classes/db/classes/xml/xmlquery/tags/table/TableTagTest.php @@ -1,4 +1,5 @@ */ /** * Test class for TableTag. */ @@ -129,4 +130,4 @@ $this->assertEquals("modules", $tag->getTableName()); } - } \ No newline at end of file + } diff --git a/tests/classes/db/classes/xml/xmlquery/tags/table/TablesTagTest.php b/tests/classes/db/classes/xml/xmlquery/tags/table/TablesTagTest.php index 4beadadb8..466c22cad 100644 --- a/tests/classes/db/classes/xml/xmlquery/tags/table/TablesTagTest.php +++ b/tests/classes/db/classes/xml/xmlquery/tags/table/TablesTagTest.php @@ -1,4 +1,5 @@ */ /** * Test class for TablesTag. */ @@ -109,4 +110,4 @@ $this->assertTrue(is_a($tables[0], 'TableTag')); $this->assertTrue(is_a($tables[1], 'TableTag')); } - } \ No newline at end of file + } diff --git a/tests/classes/db/config/config.inc.php b/tests/classes/db/config/config.inc.php index 2c1a5106c..599a64464 100644 --- a/tests/classes/db/config/config.inc.php +++ b/tests/classes/db/config/config.inc.php @@ -1,4 +1,5 @@ */ error_reporting(E_ALL ^ E_NOTICE); define('_XE_PATH_', str_replace('tests/classes/db/config/config.inc.php', '', str_replace('\\', '/', __FILE__))); define('_TEST_PATH_', _XE_PATH_ . 'tests/classes/db/'); @@ -59,4 +60,4 @@ require_once(_XE_PATH_.'classes/xml/xmlquery/tags/condition/ConditionTag.class.php'); require_once(_XE_PATH_.'classes/xml/xmlquery/queryargument/QueryArgument.class.php'); require_once(_XE_PATH_.'classes/xml/xmlquery/queryargument/SortQueryArgument.class.php'); -?> \ No newline at end of file +?> diff --git a/tests/classes/db/db/CubridOnlineTest.php b/tests/classes/db/db/CubridOnlineTest.php index 8c368df4c..0e2556368 100644 --- a/tests/classes/db/db/CubridOnlineTest.php +++ b/tests/classes/db/db/CubridOnlineTest.php @@ -1,4 +1,5 @@ */ /** * Base class for tests for CUBRID SQL syntax diff --git a/tests/classes/db/db/CubridTest.php b/tests/classes/db/db/CubridTest.php index 8e3752771..dd02378c6 100644 --- a/tests/classes/db/db/CubridTest.php +++ b/tests/classes/db/db/CubridTest.php @@ -1,4 +1,5 @@ */ /** * Base class for tests for CUBRID SQL syntax diff --git a/tests/classes/db/db/DBTest.php b/tests/classes/db/db/DBTest.php index fe8f28ad6..cdc9e9f83 100644 --- a/tests/classes/db/db/DBTest.php +++ b/tests/classes/db/db/DBTest.php @@ -1,4 +1,5 @@ */ class DBTest extends PHPUnit_Framework_TestCase { diff --git a/tests/classes/db/db/ExpressionParserTest.php b/tests/classes/db/db/ExpressionParserTest.php index c43bd1f13..b48feef46 100644 --- a/tests/classes/db/db/ExpressionParserTest.php +++ b/tests/classes/db/db/ExpressionParserTest.php @@ -1,4 +1,5 @@ */ class ExpressionParserTest extends PHPUnit_Framework_TestCase { /* Escape char for: @@ -106,4 +107,4 @@ $this->_test("abs(score) + abs(totalscore)", NULL , 'abs('.$this->dbLeftEscapeChar.'score'.$this->dbRightEscapeChar.') + abs('.$this->dbLeftEscapeChar.'totalscore'.$this->dbRightEscapeChar.')'); } - } \ No newline at end of file + } diff --git a/tests/classes/db/db/MockDb.php b/tests/classes/db/db/MockDb.php index bfdd6d3ef..009dbff21 100644 --- a/tests/classes/db/db/MockDb.php +++ b/tests/classes/db/db/MockDb.php @@ -1,4 +1,5 @@ */ /** * @brief Mock database base class @@ -78,4 +79,4 @@ } } -?> \ No newline at end of file +?> diff --git a/tests/classes/db/db/MssqlOnlineTest.php b/tests/classes/db/db/MssqlOnlineTest.php index 54d9fa7a9..497f6e1a7 100644 --- a/tests/classes/db/db/MssqlOnlineTest.php +++ b/tests/classes/db/db/MssqlOnlineTest.php @@ -1,4 +1,5 @@ */ /** * Base class for tests for MSSQL SQL syntax diff --git a/tests/classes/db/db/MssqlTest.php b/tests/classes/db/db/MssqlTest.php index 47149ee38..1f09ed99b 100644 --- a/tests/classes/db/db/MssqlTest.php +++ b/tests/classes/db/db/MssqlTest.php @@ -1,4 +1,5 @@ */ /* * To change this template, choose Tools | Templates diff --git a/tests/classes/db/db/MysqlTest.php b/tests/classes/db/db/MysqlTest.php index d04c83ef6..c78e857b3 100644 --- a/tests/classes/db/db/MysqlTest.php +++ b/tests/classes/db/db/MysqlTest.php @@ -1,4 +1,5 @@ */ /** * Base class for tests for Mysql SQL syntax diff --git a/tests/classes/db/db/SqliteTest.php b/tests/classes/db/db/SqliteTest.php index edb62d647..b1916b921 100644 --- a/tests/classes/db/db/SqliteTest.php +++ b/tests/classes/db/db/SqliteTest.php @@ -1,4 +1,5 @@ */ /** * Base class for tests for Sqlite SQL syntax diff --git a/tests/classes/db/db/xml_query/cubrid/CubridDeleteTest.php b/tests/classes/db/db/xml_query/cubrid/CubridDeleteTest.php index 0a210462c..0e9bc8ec1 100644 --- a/tests/classes/db/db/xml_query/cubrid/CubridDeleteTest.php +++ b/tests/classes/db/db/xml_query/cubrid/CubridDeleteTest.php @@ -1,4 +1,5 @@ */ class CubridDeleteTest extends CubridTest { @@ -17,4 +18,4 @@ and "act" = \'tata\''; $this->_test($xml_file, $argsString, $expected); } - } \ No newline at end of file + } diff --git a/tests/classes/db/db/xml_query/cubrid/CubridIndexHintTest.php b/tests/classes/db/db/xml_query/cubrid/CubridIndexHintTest.php index 5133db710..78552090a 100644 --- a/tests/classes/db/db/xml_query/cubrid/CubridIndexHintTest.php +++ b/tests/classes/db/db/xml_query/cubrid/CubridIndexHintTest.php @@ -1,4 +1,5 @@ */ class CubridIndexHintTest extends CubridTest { var $xmlPath = 'data/'; diff --git a/tests/classes/db/db/xml_query/cubrid/CubridInsertOnlineTest.php b/tests/classes/db/db/xml_query/cubrid/CubridInsertOnlineTest.php index 4f8437abf..5ce67752e 100644 --- a/tests/classes/db/db/xml_query/cubrid/CubridInsertOnlineTest.php +++ b/tests/classes/db/db/xml_query/cubrid/CubridInsertOnlineTest.php @@ -1,4 +1,5 @@ */ class CubridInsertOnlineTest extends CubridOnlineTest { @@ -82,4 +83,4 @@ } - } \ No newline at end of file + } diff --git a/tests/classes/db/db/xml_query/cubrid/CubridInsertTest.php b/tests/classes/db/db/xml_query/cubrid/CubridInsertTest.php index 96682c210..204726450 100644 --- a/tests/classes/db/db/xml_query/cubrid/CubridInsertTest.php +++ b/tests/classes/db/db/xml_query/cubrid/CubridInsertTest.php @@ -1,4 +1,5 @@ */ class CubridInsertTest extends CubridTest { @@ -124,4 +125,4 @@ $this->_test($xml_file, $argsString, $expected); } - } \ No newline at end of file + } diff --git a/tests/classes/db/db/xml_query/cubrid/CubridSelectOnlineTest.php b/tests/classes/db/db/xml_query/cubrid/CubridSelectOnlineTest.php index 601d0f9b1..6d4abb679 100644 --- a/tests/classes/db/db/xml_query/cubrid/CubridSelectOnlineTest.php +++ b/tests/classes/db/db/xml_query/cubrid/CubridSelectOnlineTest.php @@ -1,4 +1,5 @@ */ class CubridSelectOnlineTest extends CubridOnlineTest { diff --git a/tests/classes/db/db/xml_query/cubrid/CubridSelectTest.php b/tests/classes/db/db/xml_query/cubrid/CubridSelectTest.php index 44c3c6bf2..bd439956f 100644 --- a/tests/classes/db/db/xml_query/cubrid/CubridSelectTest.php +++ b/tests/classes/db/db/xml_query/cubrid/CubridSelectTest.php @@ -1,4 +1,5 @@ */ class CubridSelectTest extends CubridTest { @@ -452,4 +453,4 @@ $this->_test($xml_file, $argsString, $expected); } - } \ No newline at end of file + } diff --git a/tests/classes/db/db/xml_query/cubrid/CubridSubqueryTest.php b/tests/classes/db/db/xml_query/cubrid/CubridSubqueryTest.php index 81fbcf5b1..42d5c59b0 100644 --- a/tests/classes/db/db/xml_query/cubrid/CubridSubqueryTest.php +++ b/tests/classes/db/db/xml_query/cubrid/CubridSubqueryTest.php @@ -1,4 +1,5 @@ */ /* * To change this template, choose Tools | Templates diff --git a/tests/classes/db/db/xml_query/cubrid/CubridUpdateTest.php b/tests/classes/db/db/xml_query/cubrid/CubridUpdateTest.php index a836ea8b4..2f1012d4b 100644 --- a/tests/classes/db/db/xml_query/cubrid/CubridUpdateTest.php +++ b/tests/classes/db/db/xml_query/cubrid/CubridUpdateTest.php @@ -1,4 +1,5 @@ */ class CubridUpdateTest extends CubridTest { @@ -94,4 +95,4 @@ // $queryTester->test_module_insertModule(); - } \ No newline at end of file + } diff --git a/tests/classes/db/db/xml_query/mssql/MssqlIndexHintTest.php b/tests/classes/db/db/xml_query/mssql/MssqlIndexHintTest.php index b322cc974..307381d20 100644 --- a/tests/classes/db/db/xml_query/mssql/MssqlIndexHintTest.php +++ b/tests/classes/db/db/xml_query/mssql/MssqlIndexHintTest.php @@ -1,4 +1,5 @@ */ class MssqlIndexHintTest extends MssqlTest { var $xmlPath = 'data/'; diff --git a/tests/classes/db/db/xml_query/mssql/MssqlSelectOnlineTest.php b/tests/classes/db/db/xml_query/mssql/MssqlSelectOnlineTest.php index 44867e38f..aef9cc250 100644 --- a/tests/classes/db/db/xml_query/mssql/MssqlSelectOnlineTest.php +++ b/tests/classes/db/db/xml_query/mssql/MssqlSelectOnlineTest.php @@ -1,4 +1,5 @@ */ class MssqlSelectOnlineTest extends MssqlOnlineTest { function test_syndication_getGrantedModule(){ @@ -8,4 +9,4 @@ } } -?> \ No newline at end of file +?> diff --git a/tests/classes/db/db/xml_query/mssql/MssqlSelectTest.php b/tests/classes/db/db/xml_query/mssql/MssqlSelectTest.php index 2b04c3106..64b3d3524 100644 --- a/tests/classes/db/db/xml_query/mssql/MssqlSelectTest.php +++ b/tests/classes/db/db/xml_query/mssql/MssqlSelectTest.php @@ -1,4 +1,5 @@ */ class MssqlSelectTest extends MssqlTest { @@ -167,4 +168,4 @@ or [group_srl] = -2)'; $this->_test($xml_file, $argsString, $expected, array(67)); } - } \ No newline at end of file + } diff --git a/tests/classes/db/db/xml_query/mssql/MssqlUpdateOnlineTest.php b/tests/classes/db/db/xml_query/mssql/MssqlUpdateOnlineTest.php index bcd57fbb2..704771aa3 100644 --- a/tests/classes/db/db/xml_query/mssql/MssqlUpdateOnlineTest.php +++ b/tests/classes/db/db/xml_query/mssql/MssqlUpdateOnlineTest.php @@ -1,4 +1,5 @@ */ class MssqlUpdateOnlineTest extends MssqlOnlineTest { function test_counter_updateCounterUnique(){ @@ -9,4 +10,4 @@ } } -?> \ No newline at end of file +?> diff --git a/tests/classes/db/db/xml_query/mssql/MssqlUpdateTest.php b/tests/classes/db/db/xml_query/mssql/MssqlUpdateTest.php index c3b1d8fb3..8d45a548c 100644 --- a/tests/classes/db/db/xml_query/mssql/MssqlUpdateTest.php +++ b/tests/classes/db/db/xml_query/mssql/MssqlUpdateTest.php @@ -1,4 +1,5 @@ */ class MssqlUpdateTest extends MssqlTest { @@ -19,4 +20,4 @@ class MssqlUpdateTest extends MssqlTest { } -?> \ No newline at end of file +?> diff --git a/tests/classes/db/db/xml_query/mysql/MysqlIndexHintTest.php b/tests/classes/db/db/xml_query/mysql/MysqlIndexHintTest.php index 65d6bea3b..bec4ac6c7 100644 --- a/tests/classes/db/db/xml_query/mysql/MysqlIndexHintTest.php +++ b/tests/classes/db/db/xml_query/mysql/MysqlIndexHintTest.php @@ -1,4 +1,5 @@ */ class MysqlIndexHintTest extends MysqlTest { var $xmlPath = 'data/'; diff --git a/tests/classes/db/db/xml_query/mysql/MysqlInsertTest.php b/tests/classes/db/db/xml_query/mysql/MysqlInsertTest.php index d4bbdce97..aeb6c7057 100644 --- a/tests/classes/db/db/xml_query/mysql/MysqlInsertTest.php +++ b/tests/classes/db/db/xml_query/mysql/MysqlInsertTest.php @@ -1,4 +1,5 @@ */ /** * @class MysqlInsertTest diff --git a/tests/classes/db/db/xml_query/mysql/MysqlSelectTest.php b/tests/classes/db/db/xml_query/mysql/MysqlSelectTest.php index 28d2266fd..53d2a6583 100644 --- a/tests/classes/db/db/xml_query/mysql/MysqlSelectTest.php +++ b/tests/classes/db/db/xml_query/mysql/MysqlSelectTest.php @@ -1,4 +1,5 @@ */ class MysqlSelectTest extends MysqlTest { diff --git a/tests/classes/db/db/xml_query/mysql/MysqlUpdateTest.php b/tests/classes/db/db/xml_query/mysql/MysqlUpdateTest.php index f03c4e2ee..5ba5799a8 100644 --- a/tests/classes/db/db/xml_query/mysql/MysqlUpdateTest.php +++ b/tests/classes/db/db/xml_query/mysql/MysqlUpdateTest.php @@ -1,4 +1,5 @@ */ class MysqlUpdateTest extends MysqlTest { @@ -72,4 +73,4 @@ where `session_key` = \'339321\''; $this->_test($xml_file, $argsString, $expected); } - } \ No newline at end of file + } diff --git a/tests/classes/db/db/xml_query/sqlite/SqliteDeleteTest.php b/tests/classes/db/db/xml_query/sqlite/SqliteDeleteTest.php index 0d5a1c7c8..5bc3830fd 100644 --- a/tests/classes/db/db/xml_query/sqlite/SqliteDeleteTest.php +++ b/tests/classes/db/db/xml_query/sqlite/SqliteDeleteTest.php @@ -1,4 +1,5 @@ */ class SqliteDeleteTest extends SqliteTest { @@ -14,4 +15,4 @@ $this->_test($xml_file, $argsString, $expected); } - } \ No newline at end of file + } diff --git a/tests/classes/db/db/xml_query/sqlite/SqliteUpdateTest.php b/tests/classes/db/db/xml_query/sqlite/SqliteUpdateTest.php index 2df8e2911..2ab9c149d 100644 --- a/tests/classes/db/db/xml_query/sqlite/SqliteUpdateTest.php +++ b/tests/classes/db/db/xml_query/sqlite/SqliteUpdateTest.php @@ -1,4 +1,5 @@ */ class SqliteUpdateTest extends SqliteTest { @@ -18,4 +19,4 @@ $this->_test($xml_file, $argsString, $expected); } - } \ No newline at end of file + } diff --git a/tests/classes/file/FileHandlerTest.php b/tests/classes/file/FileHandlerTest.php index fd56816a5..793a76fe6 100644 --- a/tests/classes/file/FileHandlerTest.php +++ b/tests/classes/file/FileHandlerTest.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) require dirname(__FILE__).'/../../Bootstrap.php'; diff --git a/tests/classes/frontendfile/FrontEndFileHandlerTest.php b/tests/classes/frontendfile/FrontEndFileHandlerTest.php index 69852c667..439b11202 100644 --- a/tests/classes/frontendfile/FrontEndFileHandlerTest.php +++ b/tests/classes/frontendfile/FrontEndFileHandlerTest.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) require dirname(__FILE__).'/../../Bootstrap.php'; diff --git a/tests/classes/security/SecurityTest.php b/tests/classes/security/SecurityTest.php index cb865f3a4..793bfb903 100644 --- a/tests/classes/security/SecurityTest.php +++ b/tests/classes/security/SecurityTest.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) require dirname(__FILE__).'/../../Bootstrap.php'; diff --git a/tests/classes/template/TemplateHandlerTest.php b/tests/classes/template/TemplateHandlerTest.php index 09ea8c6a9..a377f0eee 100644 --- a/tests/classes/template/TemplateHandlerTest.php +++ b/tests/classes/template/TemplateHandlerTest.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) require dirname(__FILE__).'/../../Bootstrap.php'; diff --git a/tests/classes/validator/ValidatorTest.php b/tests/classes/validator/ValidatorTest.php index 4b1f176fe..c5d7d9bcb 100644 --- a/tests/classes/validator/ValidatorTest.php +++ b/tests/classes/validator/ValidatorTest.php @@ -1,4 +1,5 @@ */ if(!defined('__XE__')) require dirname(__FILE__).'/../../Bootstrap.php'; require_once _XE_PATH_.'classes/xml/XmlParser.class.php'; diff --git a/tests/modules/admin/admin.Test.php b/tests/modules/admin/admin.Test.php index 08456c9f2..b94d500b7 100644 --- a/tests/modules/admin/admin.Test.php +++ b/tests/modules/admin/admin.Test.php @@ -1,4 +1,5 @@ */ error_reporting(0); class adminAdminControllerTest extends PHPUnit_Framework_TestCase diff --git a/tests/modules/document/document.Test.php b/tests/modules/document/document.Test.php index 916b7faea..2ae086c70 100644 --- a/tests/modules/document/document.Test.php +++ b/tests/modules/document/document.Test.php @@ -1,4 +1,5 @@ */ error_reporting(0); class documentModelTest extends PHPUnit_Framework_TestCase diff --git a/tools/dbxml_validator/connect_wrapper.php b/tools/dbxml_validator/connect_wrapper.php index d138f073f..0d5afda6d 100644 --- a/tools/dbxml_validator/connect_wrapper.php +++ b/tools/dbxml_validator/connect_wrapper.php @@ -1,4 +1,5 @@ */ /** @file vi: ts=4 diff --git a/tools/dbxml_validator/tests/xmlQueriesTest.php b/tools/dbxml_validator/tests/xmlQueriesTest.php index 212a5c67e..49b5f9c5e 100644 --- a/tools/dbxml_validator/tests/xmlQueriesTest.php +++ b/tools/dbxml_validator/tests/xmlQueriesTest.php @@ -1,4 +1,5 @@ */ if (!defined('__DIR__')) define('__DIR__', realpath(dirname(__FILE__))); diff --git a/tools/dbxml_validator/validate.php b/tools/dbxml_validator/validate.php index 7ac6cca2a..d605a94b0 100644 --- a/tools/dbxml_validator/validate.php +++ b/tools/dbxml_validator/validate.php @@ -1,5 +1,6 @@ #!/bin/env php */ /** vi:set ts=4: @file diff --git a/tools/minify/cssmin/CSSmin.php b/tools/minify/cssmin/CSSmin.php index bb0e52503..a32bb7832 100644 --- a/tools/minify/cssmin/CSSmin.php +++ b/tools/minify/cssmin/CSSmin.php @@ -1,4 +1,5 @@ */ /*! * cssmin.php rev 91c5ea5 diff --git a/tools/minify/jsminplus/jsminplus.php b/tools/minify/jsminplus/jsminplus.php index 4afa43adc..885edee41 100644 --- a/tools/minify/jsminplus/jsminplus.php +++ b/tools/minify/jsminplus/jsminplus.php @@ -1,4 +1,5 @@ */ /** * JSMinPlus version 1.3 @@ -1977,4 +1978,4 @@ class JSToken public $assignOp; } -?> \ No newline at end of file +?> diff --git a/tools/minify/minify.php b/tools/minify/minify.php index 7a7cb6045..37204776f 100755 --- a/tools/minify/minify.php +++ b/tools/minify/minify.php @@ -1,4 +1,5 @@ */ /** * Minify * This script comnbines multiple JavaScript or CSS files with minifying. diff --git a/widgets/content/content.class.php b/widgets/content/content.class.php index f1923e54b..4cd452670 100644 --- a/widgets/content/content.class.php +++ b/widgets/content/content.class.php @@ -1,4 +1,5 @@ */ /** * @class content * @author NAVER (developers@xpressengine.com) diff --git a/widgets/counter_status/counter_status.class.php b/widgets/counter_status/counter_status.class.php index c4ff67123..0e47dc181 100644 --- a/widgets/counter_status/counter_status.class.php +++ b/widgets/counter_status/counter_status.class.php @@ -1,4 +1,5 @@ */ /** * @class counter_status * @author NAVER (developers@xpressengine.com) diff --git a/widgets/language_select/language_select.class.php b/widgets/language_select/language_select.class.php index 7715bc46a..6e8ee001c 100644 --- a/widgets/language_select/language_select.class.php +++ b/widgets/language_select/language_select.class.php @@ -1,4 +1,5 @@ */ /** * @class language_select * @author NAVER (developers@xpressengine.com) diff --git a/widgets/login_info/login_info.class.php b/widgets/login_info/login_info.class.php index 37118b8fe..d3cf2d9d8 100644 --- a/widgets/login_info/login_info.class.php +++ b/widgets/login_info/login_info.class.php @@ -1,4 +1,5 @@ */ /** * @class login_info * @author NAVER (developers@xpressengine.com) diff --git a/widgets/login_info/skins/default/default.login.css b/widgets/login_info/skins/default/default.login.css index 14331fd5e..9e4f443e2 100644 --- a/widgets/login_info/skins/default/default.login.css +++ b/widgets/login_info/skins/default/default.login.css @@ -1,4 +1,5 @@ -@charset "utf-8";.account{display:inline-block;*display:inline;zoom:1;vertical-align:top;margin:0;padding:0} +@charset "utf-8"; +.account{display:inline-block;*display:inline;zoom:1;vertical-align:top;margin:0;padding:0} .account>a, .account>.info .logout{display:inline-block;*display:inline;*zoom:1;background:#f7f7f7;border:1px solid #d4d8db;border-radius:2px;box-shadow:1px 1px 0 #f3f3f3;color:#666;text-decoration:none;padding:0 10px;line-height:21px;font-weight:bold;font-size:12px} .account>fieldset{position:absolute;z-index:2;width:229px;top:30px;right:0;display:none;border:0;background:#fff;border:1px solid #d7d7d7;border-radius:3px;margin:0;padding:20px 16px 18px 16px;box-shadow:0 1px 0 #aaa} @@ -21,4 +22,4 @@ .account .info{list-style:none;margin:0;padding:0} .account .info>li{display:inline-block;*display:inline;zoom:1} .account .info .user{display:inline-block;font-size:13px;font-weight:bold;color:#333;text-decoration:none;margin:0 10px 0 0} -.account .info .user:before{content:"";display:inline-block;width:14px;height:14px;vertical-align:middle;margin:0 2px 0 0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAANCAYAAACZ3F9/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKNJREFUeNpijI2NZcAC2IA4EIg5gXgrEL9GV8CCRZMQEJ8EYhUo/x0QpwPxGmRFTFg0+iFpghlUga4Im0ZmHE4nqJGBXI3vsIi9IEYjKBQvo4k1EaPxFxDPReLfB+J9xGiURgtFRSAuxafRA4iXAvFtIJZAU9cFxJeAuAhqMDgBcEIjXJdAyILke6GG+INsFCVCE3o8e4Ns/ALEsxhIA0cAAgwAuLwYvH6hEcQAAAAASUVORK5CYII=) no-repeat} \ No newline at end of file +.account .info .user:before{content:"";display:inline-block;width:14px;height:14px;vertical-align:middle;margin:0 2px 0 0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAANCAYAAACZ3F9/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKNJREFUeNpijI2NZcAC2IA4EIg5gXgrEL9GV8CCRZMQEJ8EYhUo/x0QpwPxGmRFTFg0+iFpghlUga4Im0ZmHE4nqJGBXI3vsIi9IEYjKBQvo4k1EaPxFxDPReLfB+J9xGiURgtFRSAuxafRA4iXAvFtIJZAU9cFxJeAuAhqMDgBcEIjXJdAyILke6GG+INsFCVCE3o8e4Ns/ALEsxhIA0cAAgwAuLwYvH6hEcQAAAAASUVORK5CYII=) no-repeat} diff --git a/widgets/login_info/skins/xe_solid_enterprise_login/css/style.css b/widgets/login_info/skins/xe_solid_enterprise_login/css/style.css index c8312051f..e81bef9dd 100644 --- a/widgets/login_info/skins/xe_solid_enterprise_login/css/style.css +++ b/widgets/login_info/skins/xe_solid_enterprise_login/css/style.css @@ -51,4 +51,4 @@ .mbInfo_window li.i4 {background:url(../images/icon_article.gif) no-repeat top left;} .mbInfo_window li.i5 {background:url(../images/icon_friends.gif) no-repeat top left;} .mbInfo_window li.i6 {background:url(../images/icon_message.gif) no-repeat top left;} -.mbInfo_window li.i7 {background:url(../images/icon_tool.gif) no-repeat top left;} \ No newline at end of file +.mbInfo_window li.i7 {background:url(../images/icon_tool.gif) no-repeat top left;} diff --git a/widgets/mcontent/mcontent.class.php b/widgets/mcontent/mcontent.class.php index 3e9c3eb24..e7b6b4f5c 100644 --- a/widgets/mcontent/mcontent.class.php +++ b/widgets/mcontent/mcontent.class.php @@ -1,4 +1,5 @@ */ /** * @class mcontent * @author NAVER (developers@xpressengine.com) From 3581db593226f4964675f33937de449060c3dc8f Mon Sep 17 00:00:00 2001 From: khongchi Date: Fri, 8 Nov 2013 06:04:28 +0000 Subject: [PATCH 008/473] remove cdn feature git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13187 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/context/Context.class.php | 13 +---- .../FrontEndFileHandler.class.php | 48 +++---------------- classes/template/TemplateHandler.class.php | 4 +- config/config.inc.php | 18 ------- modules/admin/admin.admin.view.php | 1 - modules/admin/lang/lang.xml | 14 ------ modules/admin/tpl/config_general.html | 8 ---- modules/counter/tpl/index.html | 12 ++--- modules/document/tpl/category_list.html | 2 +- modules/document/tpl/checked_list.html | 2 +- modules/document/tpl/declared_list.html | 2 +- modules/document/tpl/document_list.html | 2 +- modules/document/tpl/extra_keys.html | 2 +- modules/document/tpl/header.html | 2 +- modules/document/tpl/preview_page.html | 2 +- modules/document/tpl/print_page.html | 2 +- modules/editor/tpl/admin_index.html | 2 +- modules/editor/tpl/editor_module_config.html | 2 +- modules/editor/tpl/setup_component.html | 6 +-- modules/editor/tpl/view_component.html | 6 +-- modules/file/tpl/file_list.html | 2 +- modules/file/tpl/header.html | 2 +- modules/importer/tpl/header.html | 4 +- modules/importer/tpl/index.html | 2 +- modules/install/install.admin.controller.php | 4 -- modules/integration_search/tpl/header.html | 2 +- modules/integration_search/tpl/index.html | 2 +- modules/layout/tpl/copy_layout.html | 2 +- .../layout/tpl/layout_all_instance_list.html | 2 +- modules/layout/tpl/layout_edit.html | 2 +- modules/layout/tpl/layout_instance_list.html | 2 +- .../m.skins/default/find_member_account.html | 6 +-- .../m.skins/default/find_temp_password.html | 2 +- .../member/m.skins/default/leave_form.html | 6 +-- .../member/m.skins/default/login_form.html | 4 +- .../m.skins/default/modify_email_address.html | 6 +-- .../member/m.skins/default/modify_info.html | 2 +- .../m.skins/default/modify_password.html | 6 +-- .../m.skins/default/rechecked_password.html | 2 +- .../member/m.skins/default/signup_form.html | 6 +-- modules/member/tpl/group_list.html | 4 +- modules/member/tpl/insert_member.html | 2 +- modules/member/tpl/member_list.html | 6 +-- modules/member/tpl/signup_config.html | 2 +- .../message/skins/default/system_message.html | 2 +- modules/module/tpl/copy_module.html | 2 +- modules/module/tpl/filebox_add.html | 2 +- modules/module/tpl/header.html | 2 +- .../module/tpl/include.manage_selected.html | 2 +- .../tpl/include.module_grant_setup.html | 2 +- modules/module/tpl/lang.html | 2 +- modules/module/tpl/module_grant_setup.html | 2 +- modules/module/tpl/module_grants.html | 2 +- modules/module/tpl/module_selector.html | 2 +- modules/module/tpl/module_setup.html | 2 +- modules/module/tpl/skin_info.html | 2 +- modules/page/tpl/article_content_modify.html | 2 +- modules/page/tpl/content.html | 2 +- modules/page/tpl/header.html | 2 +- modules/page/tpl/index.html | 8 ++-- modules/page/tpl/mcontent.html | 2 +- modules/page/tpl/mobile.html | 2 +- modules/page/tpl/page_content_modify.html | 8 ++-- modules/page/tpl/page_delete.html | 2 +- .../page/tpl/page_mobile_content_modify.html | 8 ++-- modules/point/tpl/header.html | 2 +- modules/point/tpl/member_list.html | 2 +- modules/point/tpl/point_module_config.html | 2 +- modules/poll/tpl/config.html | 2 +- modules/poll/tpl/poll_list.html | 2 +- modules/poll/tpl/result.html | 2 +- modules/session/tpl/index.html | 2 +- modules/spamfilter/tpl/header.html | 2 +- modules/trackback/tpl/trackback_list.html | 2 +- modules/trash/tpl/header.html | 2 +- modules/trash/tpl/trash_list.html | 2 +- modules/widget/tpl/add_content_widget.html | 4 +- modules/widget/tpl/skin_info.html | 2 +- modules/widget/tpl/widget_detail_info.html | 4 +- modules/widget/tpl/widget_generate_code.html | 2 +- .../tpl/widget_generate_code.include.html | 6 +-- .../tpl/widget_generate_code_in_page.html | 16 +++---- .../widget_style_generate_code_in_page.html | 16 +++---- 83 files changed, 137 insertions(+), 225 deletions(-) diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index 1426bfcba..ace27ba4e 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -1994,22 +1994,13 @@ class Context * $args[1]: media, * $args[2]: target IE, * $args[3]: index - * @param bool $useCdn use cdn - * @param string $cdnPrefix cdn prefix - * @param string $cdnVersion cdn version * */ - function loadFile($args, $useCdn = false, $cdnPrefix = '', $cdnVersion = '') + function loadFile($args) { is_a($this, 'Context') ? $self = $this : $self = Context::getInstance(); - if($useCdn && !$cdnPrefix) - { - $cdnPrefix = __XE_CDN_PREFIX__; - $cdnVersion = __XE_CDN_VERSION__; - } - - $self->oFrontEndFileHandler->loadFile($args, $useCdn, $cdnPrefix, $cdnVersion); + $self->oFrontEndFileHandler->loadFile($args); } /** diff --git a/classes/frontendfile/FrontEndFileHandler.class.php b/classes/frontendfile/FrontEndFileHandler.class.php index 316946203..5fbc7b7dc 100644 --- a/classes/frontendfile/FrontEndFileHandler.class.php +++ b/classes/frontendfile/FrontEndFileHandler.class.php @@ -87,28 +87,15 @@ class FrontEndFileHandler extends Handler * $args[3]: index * * - * If $useCdn set true, use CDN instead local file. - * CDN path = $cdnPrefix . $cdnVersion . $args[0]
- *
- * i.e.
- * $cdnPrefix = 'http://static.xpressengine.com/core/';
- * $cdnVersion = 'ardent1';
- * $args[0] = './common/js/xe.js';
- * The CDN path is http://static.xprssengine.com/core/ardent1/common/js/xe.js.
- * * @param array $args Arguments - * @param bool $useCdn If set true, use cdn instead local file - * @param string $cdnPrefix CDN url prefix. (http://static.xpressengine.com/core/) - * @param string $cdnVersion CDN version string (ardent1) * @return void * */ - function loadFile($args, $useCdn = FALSE, $cdnPrefix = '', $cdnVersion = '') + function loadFile($args) { if(!is_array($args)) { $args = array($args); } - $file = $this->getFileInfo($args[0], $args[2], $args[1]); $availableExtension = array('css' => 1, 'js' => 1); @@ -117,9 +104,6 @@ class FrontEndFileHandler extends Handler return; } - $file->useCdn = $useCdn; - $file->cdnPrefix = $cdnPrefix; - $file->cdnVersion = $cdnVersion; $file->index = (int) $args[3]; if($file->fileExtension == 'css') @@ -294,23 +278,14 @@ class FrontEndFileHandler extends Handler $this->_sortMap($map, $mapIndex); - $dbInfo = Context::getDBInfo(); - $useCdn = $dbInfo->use_cdn; - $result = array(); foreach($map as $indexedMap) { foreach($indexedMap as $file) { - if($this->isSsl() == FALSE && $useCdn == 'Y' && $file->useCdn && $file->cdnVersion != '%__XE_CDN_VERSION__%') - { - $fullFilePath = $file->cdnPrefix . $file->cdnVersion . '/' . substr($file->cdnPath, 2) . '/' . $file->fileName; - } - else - { - $noneCache = (is_readable($file->cdnPath . '/' . $file->fileName)) ? '?' . date('YmdHis', filemtime($file->cdnPath . '/' . $file->fileName)) : ''; - $fullFilePath = $file->filePath . '/' . $file->fileName . $noneCache; - } + $noneCache = (is_readable($file->cdnPath . '/' . $file->fileName)) ? '?' . date('YmdHis', filemtime($file->cdnPath . '/' . $file->fileName)) : ''; + $fullFilePath = $file->filePath . '/' . $file->fileName . $noneCache; + $result[] = array('file' => $fullFilePath, 'media' => $file->media, 'targetie' => $file->targetIe); } } @@ -339,23 +314,14 @@ class FrontEndFileHandler extends Handler $this->_sortMap($map, $mapIndex); - $dbInfo = Context::getDBInfo(); - $useCdn = $dbInfo->use_cdn; - $result = array(); foreach($map as $indexedMap) { foreach($indexedMap as $file) { - if($this->isSsl() == FALSE && $useCdn == 'Y' && $file->useCdn && $file->cdnVersion != '%__XE_CDN_VERSION__%') - { - $fullFilePath = $file->cdnPrefix . $file->cdnVersion . '/' . substr($file->cdnPath, 2) . '/' . $file->fileName; - } - else - { - $noneCache = (is_readable($file->cdnPath . '/' . $file->fileName)) ? '?' . date('YmdHis', filemtime($file->cdnPath . '/' . $file->fileName)) : ''; - $fullFilePath = $file->filePath . '/' . $file->fileName . $noneCache; - } + $noneCache = (is_readable($file->cdnPath . '/' . $file->fileName)) ? '?' . date('YmdHis', filemtime($file->cdnPath . '/' . $file->fileName)) : ''; + $fullFilePath = $file->filePath . '/' . $file->fileName . $noneCache; + $result[] = array('file' => $fullFilePath, 'targetie' => $file->targetIe); } } diff --git a/classes/template/TemplateHandler.class.php b/classes/template/TemplateHandler.class.php index 44e23bf2b..1e7cd753d 100644 --- a/classes/template/TemplateHandler.class.php +++ b/classes/template/TemplateHandler.class.php @@ -675,7 +675,7 @@ class TemplateHandler else { $metafile = $attr['target']; - $result = "\$__tmp=array('{$attr['target']}','{$attr['type']}','{$attr['targetie']}','{$attr['index']}');Context::loadFile(\$__tmp,'{$attr['usecdn']}','{$attr['cdnprefix']}','{$attr['cdnversion']}');unset(\$__tmp);"; + $result = "\$__tmp=array('{$attr['target']}','{$attr['type']}','{$attr['targetie']}','{$attr['index']}');Context::loadFile(\$__tmp);unset(\$__tmp);"; } break; case 'css': @@ -686,7 +686,7 @@ class TemplateHandler else { $metafile = $attr['target']; - $result = "\$__tmp=array('{$attr['target']}','{$attr['media']}','{$attr['targetie']}','{$attr['index']}');Context::loadFile(\$__tmp,'{$attr['usecdn']}','{$attr['cdnprefix']}','{$attr['cdnversion']}');unset(\$__tmp);"; + $result = "\$__tmp=array('{$attr['target']}','{$attr['media']}','{$attr['targetie']}','{$attr['index']}');Context::loadFile(\$__tmp);unset(\$__tmp);"; } break; } diff --git a/config/config.inc.php b/config/config.inc.php index ab9a5d9eb..0d986c1e5 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -100,8 +100,6 @@ else * define('__OB_GZHANDLER_ENABLE__', 1); * define('__ENABLE_PHPUNIT_TEST__', 0); * define('__PROXY_SERVER__', 'http://domain:port/path'); - * define('__XE_CDN_PREFIX__', 'http://yourCdnDomain.com/path/'); - * define('__XE_CDN_VERSION__', 'yourCdnVersion'); */ if(file_exists(_XE_PATH_ . 'config/config.user.inc.php')) { @@ -234,22 +232,6 @@ if(!defined('__PROXY_SERVER__')) define('__PROXY_SERVER__', NULL); } -if(!defined('__XE_CDN_PREFIX__')) -{ - /** - * CDN prefix - */ - define('__XE_CDN_PREFIX__', 'http://static.xpressengine.com/core/'); -} - -if(!defined('__XE_CDN_VERSION__')) -{ - /** - * CDN version - */ - define('__XE_CDN_VERSION__', '%__XE_CDN_VERSION__%'); -} - // Require specific files when using Firebug console output if((__DEBUG_OUTPUT__ == 2) && version_compare(PHP_VERSION, '6.0.0') === -1) { diff --git a/modules/admin/admin.admin.view.php b/modules/admin/admin.admin.view.php index 2baca8c6f..afe1fb678 100644 --- a/modules/admin/admin.admin.view.php +++ b/modules/admin/admin.admin.view.php @@ -59,7 +59,6 @@ class adminAdminView extends admin Context::set('use_db_session', $db_info->use_db_session == 'N' ? 'N' : 'Y'); Context::set('use_mobile_view', $db_info->use_mobile_view == 'Y' ? 'Y' : 'N'); Context::set('use_ssl', $db_info->use_ssl ? $db_info->use_ssl : "none"); - Context::set('use_cdn', $db_info->use_cdn ? $db_info->use_cdn : "none"); if($db_info->http_port) { Context::set('http_port', $db_info->http_port); diff --git a/modules/admin/lang/lang.xml b/modules/admin/lang/lang.xml index 4bb5d8190..c5b3d3ac8 100644 --- a/modules/admin/lang/lang.xml +++ b/modules/admin/lang/lang.xml @@ -880,13 +880,6 @@ - - - - - - - @@ -1017,13 +1010,6 @@ - - - - - - - diff --git a/modules/admin/tpl/config_general.html b/modules/admin/tpl/config_general.html index 9c7d6b2e7..766347010 100644 --- a/modules/admin/tpl/config_general.html +++ b/modules/admin/tpl/config_general.html @@ -164,14 +164,6 @@ -
- -
- - -

{$lang->about_cdn}

-
-
diff --git a/modules/counter/tpl/index.html b/modules/counter/tpl/index.html index d8ed0d7c3..bb1a5a34b 100644 --- a/modules/counter/tpl/index.html +++ b/modules/counter/tpl/index.html @@ -1,5 +1,5 @@ - - + + @@ -73,14 +73,14 @@ - +
- + @@ -91,7 +91,7 @@ {@$img_width = 1} - - ":a.browser.firefox?"":"";for(var f='
+ {$key} @@ -102,7 +102,7 @@ {$key} + {$key} {$lang->unit_year} diff --git a/modules/document/tpl/category_list.html b/modules/document/tpl/category_list.html index de5412a05..cd469383c 100644 --- a/modules/document/tpl/category_list.html +++ b/modules/document/tpl/category_list.html @@ -4,7 +4,7 @@ - + - +

{$lang->document} {$lang->help}

diff --git a/modules/document/tpl/document_list.html b/modules/document/tpl/document_list.html index af115fe4c..8cdf6e556 100644 --- a/modules/document/tpl/document_list.html +++ b/modules/document/tpl/document_list.html @@ -2,7 +2,7 @@ xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}'; xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}'; - +

{$lang->document} {$lang->help}

diff --git a/modules/document/tpl/extra_keys.html b/modules/document/tpl/extra_keys.html index e0c43a2f7..22f3edbbe 100644 --- a/modules/document/tpl/extra_keys.html +++ b/modules/document/tpl/extra_keys.html @@ -1,4 +1,4 @@ - + diff --git a/modules/document/tpl/header.html b/modules/document/tpl/header.html index 4ca9dc4b5..0a95fde2a 100644 --- a/modules/document/tpl/header.html +++ b/modules/document/tpl/header.html @@ -1,4 +1,4 @@ - +

{$lang->document} {$lang->cmd_management}

{$lang->document_list} diff --git a/modules/document/tpl/preview_page.html b/modules/document/tpl/preview_page.html index 5195e31d4..eb1e0f8a3 100644 --- a/modules/document/tpl/preview_page.html +++ b/modules/document/tpl/preview_page.html @@ -1,4 +1,4 @@ - + {$content}

diff --git a/modules/document/tpl/print_page.html b/modules/document/tpl/print_page.html index 9cffeb1af..0fc174353 100644 --- a/modules/document/tpl/print_page.html +++ b/modules/document/tpl/print_page.html @@ -1,4 +1,4 @@ - +

{$oDocument->getTitleText()}

{$oDocument->get('nick_name')} {$oDocument->getRegdate()} diff --git a/modules/editor/tpl/admin_index.html b/modules/editor/tpl/admin_index.html index 963879de7..283620454 100644 --- a/modules/editor/tpl/admin_index.html +++ b/modules/editor/tpl/admin_index.html @@ -1,4 +1,4 @@ - +

{$lang->editor} {$lang->help}

diff --git a/modules/editor/tpl/editor_module_config.html b/modules/editor/tpl/editor_module_config.html index 71bff861c..0061f0a61 100644 --- a/modules/editor/tpl/editor_module_config.html +++ b/modules/editor/tpl/editor_module_config.html @@ -1,5 +1,5 @@ - +
diff --git a/modules/editor/tpl/setup_component.html b/modules/editor/tpl/setup_component.html index 6f2bda1e3..9c653a711 100644 --- a/modules/editor/tpl/setup_component.html +++ b/modules/editor/tpl/setup_component.html @@ -1,6 +1,6 @@ - - - + + +

{$lang->editor}

diff --git a/modules/editor/tpl/view_component.html b/modules/editor/tpl/view_component.html index 7f5478941..10cc4ebaf 100644 --- a/modules/editor/tpl/view_component.html +++ b/modules/editor/tpl/view_component.html @@ -1,6 +1,6 @@ - - - + + +

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

diff --git a/modules/file/tpl/file_list.html b/modules/file/tpl/file_list.html index 73de322c9..ffe181a40 100644 --- a/modules/file/tpl/file_list.html +++ b/modules/file/tpl/file_list.html @@ -2,7 +2,7 @@ xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}'; xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}'; - +
diff --git a/modules/file/tpl/header.html b/modules/file/tpl/header.html index b624d5adf..0ee48c509 100644 --- a/modules/file/tpl/header.html +++ b/modules/file/tpl/header.html @@ -1,4 +1,4 @@ - +

{$lang->file} {$lang->cmd_management}

{$lang->file_list} diff --git a/modules/importer/tpl/header.html b/modules/importer/tpl/header.html index f66d188eb..da53b10da 100644 --- a/modules/importer/tpl/header.html +++ b/modules/importer/tpl/header.html @@ -1,5 +1,5 @@ - - + + {@ $type_list = array('module'=>$lang->type_module, 'ttxml'=>$lang->type_ttxml, 'member'=>$lang->type_member, 'sync'=>$lang->type_syncmember, 'message'=>$lang->type_message) }

{$lang->importer} {$lang->help}

diff --git a/modules/importer/tpl/index.html b/modules/importer/tpl/index.html index 5923ebf5a..cac85a045 100644 --- a/modules/importer/tpl/index.html +++ b/modules/importer/tpl/index.html @@ -1,5 +1,5 @@ - +

{$XE_VALIDATOR_MESSAGE}

diff --git a/modules/install/install.admin.controller.php b/modules/install/install.admin.controller.php index 353a231e4..fe149412a 100644 --- a/modules/install/install.admin.controller.php +++ b/modules/install/install.admin.controller.php @@ -67,9 +67,6 @@ class installAdminController extends install $http_port = Context::get('http_port'); $https_port = Context::get('https_port'); - $use_cdn = Context::get('use_cdn'); - if($use_cdn != 'Y') $use_cdn = 'N'; - $use_rewrite = Context::get('use_rewrite'); if($use_rewrite!='Y') $use_rewrite = 'N'; @@ -92,7 +89,6 @@ class installAdminController extends install $db_info->use_rewrite = $use_rewrite; $db_info->use_sso = $use_sso; $db_info->use_ssl = $use_ssl; - $db_info->use_cdn = $use_cdn; $db_info->use_html5 = $use_html5; $db_info->admin_ip_list = $admin_ip_list; diff --git a/modules/integration_search/tpl/header.html b/modules/integration_search/tpl/header.html index b72cf7348..f19d26fdd 100644 --- a/modules/integration_search/tpl/header.html +++ b/modules/integration_search/tpl/header.html @@ -1,4 +1,4 @@ - +

{$lang->integration_search}

diff --git a/modules/integration_search/tpl/index.html b/modules/integration_search/tpl/index.html index 600e805e6..1835af521 100644 --- a/modules/integration_search/tpl/index.html +++ b/modules/integration_search/tpl/index.html @@ -1,5 +1,5 @@ - +

{$XE_VALIDATOR_MESSAGE}

diff --git a/modules/layout/tpl/copy_layout.html b/modules/layout/tpl/copy_layout.html index 795b71305..96054e5d9 100644 --- a/modules/layout/tpl/copy_layout.html +++ b/modules/layout/tpl/copy_layout.html @@ -3,7 +3,7 @@ var newTitle = '{$lang->new_title}'; var layoutTitle = '{$layout->layout_title}'; var addLang = '{$lang->cmd_insert}'; - +

{$XE_VALIDATOR_MESSAGE}

diff --git a/modules/layout/tpl/layout_all_instance_list.html b/modules/layout/tpl/layout_all_instance_list.html index 47198a717..bcc8394e3 100644 --- a/modules/layout/tpl/layout_all_instance_list.html +++ b/modules/layout/tpl/layout_all_instance_list.html @@ -1,5 +1,5 @@ - + diff --git a/modules/layout/tpl/layout_edit.html b/modules/layout/tpl/layout_edit.html index eb4921a00..e926f5854 100644 --- a/modules/layout/tpl/layout_edit.html +++ b/modules/layout/tpl/layout_edit.html @@ -1,5 +1,5 @@ - +

{nl2br($lang->about_layout_code)}

{$lang->layout_image_repository}

diff --git a/modules/layout/tpl/layout_instance_list.html b/modules/layout/tpl/layout_instance_list.html index 13cc2d60a..702ea4fca 100644 --- a/modules/layout/tpl/layout_instance_list.html +++ b/modules/layout/tpl/layout_instance_list.html @@ -1,5 +1,5 @@ - + diff --git a/modules/member/m.skins/default/find_member_account.html b/modules/member/m.skins/default/find_member_account.html index 5eb2b0bdf..517d11bd0 100644 --- a/modules/member/m.skins/default/find_member_account.html +++ b/modules/member/m.skins/default/find_member_account.html @@ -1,6 +1,6 @@ - - - + + +

{$lang->cmd_find_member_account_with_email}

{$XE_VALIDATOR_MESSAGE}

diff --git a/modules/member/m.skins/default/find_temp_password.html b/modules/member/m.skins/default/find_temp_password.html index 3ba9e7c94..b625fd6b4 100644 --- a/modules/member/m.skins/default/find_temp_password.html +++ b/modules/member/m.skins/default/find_temp_password.html @@ -1,4 +1,4 @@ - +

{$lang->cmd_find_member_account}

{$lang->about_temp_password}

diff --git a/modules/member/m.skins/default/leave_form.html b/modules/member/m.skins/default/leave_form.html index 200906203..eba8cb714 100644 --- a/modules/member/m.skins/default/leave_form.html +++ b/modules/member/m.skins/default/leave_form.html @@ -1,6 +1,6 @@ - - - + + +

{$member_title = $lang->msg_leave_member}

{$XE_VALIDATOR_MESSAGE}

diff --git a/modules/member/m.skins/default/login_form.html b/modules/member/m.skins/default/login_form.html index c83f542b8..24493b6ca 100644 --- a/modules/member/m.skins/default/login_form.html +++ b/modules/member/m.skins/default/login_form.html @@ -1,5 +1,5 @@ - - + +

{$lang->cmd_login}

diff --git a/modules/member/m.skins/default/modify_email_address.html b/modules/member/m.skins/default/modify_email_address.html index 3f8577f50..8951bf884 100644 --- a/modules/member/m.skins/default/modify_email_address.html +++ b/modules/member/m.skins/default/modify_email_address.html @@ -1,6 +1,6 @@ - - - + + +

{$lang->cmd_modify_member_email_address}

{$XE_VALIDATOR_MESSAGE}

diff --git a/modules/member/m.skins/default/modify_info.html b/modules/member/m.skins/default/modify_info.html index 76080093f..e70313449 100644 --- a/modules/member/m.skins/default/modify_info.html +++ b/modules/member/m.skins/default/modify_info.html @@ -6,7 +6,7 @@ - + diff --git a/modules/module/tpl/lang.html b/modules/module/tpl/lang.html index 955508825..8ede243f6 100644 --- a/modules/module/tpl/lang.html +++ b/modules/module/tpl/lang.html @@ -1,4 +1,4 @@ - +

Select Your Language

diff --git a/modules/module/tpl/module_grant_setup.html b/modules/module/tpl/module_grant_setup.html index e596e58e7..3a1476010 100644 --- a/modules/module/tpl/module_grant_setup.html +++ b/modules/module/tpl/module_grant_setup.html @@ -1,4 +1,4 @@ - + diff --git a/modules/module/tpl/module_grants.html b/modules/module/tpl/module_grants.html index 89dd5c87e..27dac3b18 100644 --- a/modules/module/tpl/module_grants.html +++ b/modules/module/tpl/module_grants.html @@ -1,5 +1,5 @@ - + - + @@ -92,7 +92,7 @@ jQuery(function($){ - + diff --git a/modules/page/tpl/mcontent.html b/modules/page/tpl/mcontent.html index 6339ceeb5..36b180a06 100644 --- a/modules/page/tpl/mcontent.html +++ b/modules/page/tpl/mcontent.html @@ -1,6 +1,6 @@ {$page_content} - +

{$lang->about_mcontent}

diff --git a/modules/page/tpl/mobile.html b/modules/page/tpl/mobile.html index e295f91fe..ec955fb92 100644 --- a/modules/page/tpl/mobile.html +++ b/modules/page/tpl/mobile.html @@ -1,4 +1,4 @@ - +
{$page_content}
diff --git a/modules/page/tpl/page_content_modify.html b/modules/page/tpl/page_content_modify.html index 388d59632..520abe078 100644 --- a/modules/page/tpl/page_content_modify.html +++ b/modules/page/tpl/page_content_modify.html @@ -1,8 +1,8 @@ - - - - + + + +
{$page_content}
diff --git a/modules/page/tpl/page_delete.html b/modules/page/tpl/page_delete.html index a1cbf33aa..5f3d6c64b 100644 --- a/modules/page/tpl/page_delete.html +++ b/modules/page/tpl/page_delete.html @@ -1,4 +1,4 @@ - +
diff --git a/modules/page/tpl/page_mobile_content_modify.html b/modules/page/tpl/page_mobile_content_modify.html index 3b6486696..7be77183b 100644 --- a/modules/page/tpl/page_mobile_content_modify.html +++ b/modules/page/tpl/page_mobile_content_modify.html @@ -1,8 +1,8 @@ - - - - + + + +
{$page_content}
diff --git a/modules/point/tpl/header.html b/modules/point/tpl/header.html index 759db716a..a388e500f 100644 --- a/modules/point/tpl/header.html +++ b/modules/point/tpl/header.html @@ -1,4 +1,4 @@ - +

{$lang->point} {$lang->cmd_management} {$lang->help}

diff --git a/modules/point/tpl/member_list.html b/modules/point/tpl/member_list.html index f2222cf70..1f6456c75 100644 --- a/modules/point/tpl/member_list.html +++ b/modules/point/tpl/member_list.html @@ -1,5 +1,5 @@ - +

{$XE_VALIDATOR_MESSAGE}

diff --git a/modules/point/tpl/point_module_config.html b/modules/point/tpl/point_module_config.html index 787821f43..81273df1c 100644 --- a/modules/point/tpl/point_module_config.html +++ b/modules/point/tpl/point_module_config.html @@ -1,4 +1,4 @@ - +

{$lang->point}

diff --git a/modules/poll/tpl/config.html b/modules/poll/tpl/config.html index 41956cd00..fc1d5ebde 100644 --- a/modules/poll/tpl/config.html +++ b/modules/poll/tpl/config.html @@ -1,4 +1,4 @@ - +
diff --git a/modules/poll/tpl/poll_list.html b/modules/poll/tpl/poll_list.html index e83ce7ddf..7d540a6c3 100644 --- a/modules/poll/tpl/poll_list.html +++ b/modules/poll/tpl/poll_list.html @@ -4,7 +4,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}'; xe.lang.msg_select_poll = '{$lang->msg_poll_is_null}'; xe.lang.confirm_poll_delete = '{$lang->confirm_poll_delete}'; - +

{$lang->poll} {$lang->help}

diff --git a/modules/poll/tpl/result.html b/modules/poll/tpl/result.html index 3684b5f8f..c604ac379 100644 --- a/modules/poll/tpl/result.html +++ b/modules/poll/tpl/result.html @@ -1,4 +1,4 @@ - +

{$lang->poll_stop_date} : {zdate($poll->stop_date, "Y-m-d H:i")} {$lang->poll_join_count} : {number_format($poll->poll_count)}

diff --git a/modules/session/tpl/index.html b/modules/session/tpl/index.html index 7c3ffafa1..c3cc9114e 100644 --- a/modules/session/tpl/index.html +++ b/modules/session/tpl/index.html @@ -1,4 +1,4 @@ - +

{$lang->session} {$lang->cmd_management}

diff --git a/modules/spamfilter/tpl/header.html b/modules/spamfilter/tpl/header.html index a9ef8de56..ef8da12e1 100644 --- a/modules/spamfilter/tpl/header.html +++ b/modules/spamfilter/tpl/header.html @@ -1,4 +1,4 @@ - +

{$lang->spamfilter} {$lang->help}

diff --git a/modules/trackback/tpl/trackback_list.html b/modules/trackback/tpl/trackback_list.html index 504065bf5..10ed25382 100644 --- a/modules/trackback/tpl/trackback_list.html +++ b/modules/trackback/tpl/trackback_list.html @@ -2,7 +2,7 @@ xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}'; xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}'; - +

{$lang->trackback} {$lang->help}

diff --git a/modules/trash/tpl/header.html b/modules/trash/tpl/header.html index cf7e9e9de..bd7fd3cbc 100644 --- a/modules/trash/tpl/header.html +++ b/modules/trash/tpl/header.html @@ -1,2 +1,2 @@ - +

{$lang->cmd_trash} {$lang->cmd_management}

diff --git a/modules/trash/tpl/trash_list.html b/modules/trash/tpl/trash_list.html index a0de0190f..8f08c3e82 100644 --- a/modules/trash/tpl/trash_list.html +++ b/modules/trash/tpl/trash_list.html @@ -2,7 +2,7 @@ var confirm_restore_msg = '{$lang->confirm_restore}'; var no_text_comment = '{$lang->no_text_comment}'; - +

{$lang->trash} {$lang->help}

diff --git a/modules/widget/tpl/add_content_widget.html b/modules/widget/tpl/add_content_widget.html index 01174f180..9d1a4dc3a 100644 --- a/modules/widget/tpl/add_content_widget.html +++ b/modules/widget/tpl/add_content_widget.html @@ -1,5 +1,5 @@ - - + + diff --git a/modules/widget/tpl/skin_info.html b/modules/widget/tpl/skin_info.html index ec3711114..98defb9e2 100644 --- a/modules/widget/tpl/skin_info.html +++ b/modules/widget/tpl/skin_info.html @@ -1,4 +1,4 @@ - +

{$skin_info->title}

Total: {number_format($total_count)}, Page: {number_format($page)}/{number_format($total_page)}
diff --git a/modules/widget/tpl/widget_detail_info.html b/modules/widget/tpl/widget_detail_info.html index d2e05f811..a66f928b6 100644 --- a/modules/widget/tpl/widget_detail_info.html +++ b/modules/widget/tpl/widget_detail_info.html @@ -1,5 +1,5 @@ - - + +

{$lang->widget}

{$lang->widget_maker}

diff --git a/modules/widget/tpl/widget_generate_code.html b/modules/widget/tpl/widget_generate_code.html index c70a00f67..044278e22 100644 --- a/modules/widget/tpl/widget_generate_code.html +++ b/modules/widget/tpl/widget_generate_code.html @@ -1,5 +1,5 @@ - + diff --git a/modules/widget/tpl/widget_generate_code.include.html b/modules/widget/tpl/widget_generate_code.include.html index 840c6681e..145582f6b 100644 --- a/modules/widget/tpl/widget_generate_code.include.html +++ b/modules/widget/tpl/widget_generate_code.include.html @@ -1,6 +1,6 @@ - - - + + +
diff --git a/modules/widget/tpl/widget_generate_code_in_page.html b/modules/widget/tpl/widget_generate_code_in_page.html index 16b831654..1780a887d 100644 --- a/modules/widget/tpl/widget_generate_code_in_page.html +++ b/modules/widget/tpl/widget_generate_code_in_page.html @@ -1,11 +1,11 @@ - - - - - - - - + + + + + + + + '); + Context::addHtmlHeader(''); Context::loadFile(array('./addons/captcha/captcha.min.js', 'body', '', null), true); } } // compare session when calling actions such as writing a post or a comment on the board/issue tracker module - if(!$_SESSION['captcha_authed'] && in_array(Context::get('act'), $target_acts)) + if(!$_SESSION['captcha_authed'] && in_array(Context::get('act'), $this->target_acts)) { Context::loadLang('./addons/captcha/lang'); $ModuleHandler->error = "captcha_denied"; @@ -309,6 +301,8 @@ if(!class_exists('AddonCaptcha')) function compareCaptcha() { + if(!in_array(Context::get('act'), $this->target_acts)) return true; + if($_SESSION['captcha_authed']) { return true; diff --git a/addons/captcha/captcha.js b/addons/captcha/captcha.js index e7ce7591b..8be891b75 100644 --- a/addons/captcha/captcha.js +++ b/addons/captcha/captcha.js @@ -1,12 +1,10 @@ /* procFilter 함수를 가로채서 captcha 이미지 및 폼을 출력 */ -var oldExecXml = null; var calledArgs = null; (function($){ - $(function() { - - var captchaXE = null; + $(function() { + var captchaXE = null; - function xeCaptcha() { + function xeCaptcha() { $('form').each(function(i) { var isSubmitHook = false; @@ -21,7 +19,6 @@ var calledArgs = null; break; } } - } if (isSubmitHook) @@ -49,17 +46,17 @@ var calledArgs = null; $(self).append(''); $(self).submit(); }); - var params = new Array(); - params['captcha_action'] = 'setCaptchaSession'; - params['mid'] = current_mid; - oldExecXml('', '', params, captchaXE.show,new Array('error','message','about_captcha','captcha_reload','captcha_play','cmd_input','cmd_cancel')); + var params = new Array(); + params['captcha_action'] = 'setCaptchaSession'; + params['mid'] = current_mid; + window.oldExecXml('', '', params, captchaXE.show,new Array('error','message','about_captcha','captcha_reload','captcha_play','cmd_input','cmd_cancel')); }); } }); - var body = $(document.body); - var captchaIma; - - if (!captchaXE) { + var body = $(document.body); + var captchaIma; + + if (!captchaXE) { var fc_isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false; var fc_isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false; var fc_isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false; @@ -68,14 +65,14 @@ var calledArgs = null; if(fc_isIE && fc_isWin && !fc_isOpera){ _object_ =''; _object_ += ''; - _object_ += ''; + _object_ += ''; _object_ += ''; - _object_ += ''; + _object_ += ''; _object_ += ''; - _object_ += ''; + _object_ += ''; _object_ += ''; }else{ - _object_ = ''; + _object_ = ''; } captchaXE = $('').appendTo(captchaXE); - $div.find('button.cancel') + $div.find('button.cancel') .click(function(){ $('#captcha_layer').hide(); }); - + $div.find('button.play') .click(function(){ var swf = window['captcha_audio'] || document['captcha_audio']; @@ -114,15 +111,15 @@ var calledArgs = null; var params = new Array(); params['captcha_action'] = 'setCaptchaSession'; params['mid'] = current_mid; - oldExecXml('','',params, function() { + window.oldExecXml('','',params, function() { $("#captcha_image").attr("src", current_url.setQuery('captcha_action','captchaImage').setQuery('rnd', (new Date).getTime())); }); }); - captchaXE.exec = function(module, act, params, callback_func, response_tags, callback_func_arg, fo_obj) { - var doCheck = false; + captchaXE.exec = function(module, act, params, callback_func, response_tags, callback_func_arg, fo_obj) { + var doCheck = false; - $.each(captchaTargetAct || {}, function(key,val){ if (val == act){ doCheck = true; return false; } }); + $.each(captchaTargetAct || {}, function(key,val){ if (val == act){ doCheck = true; return false; } }); if (doCheck) { /* captcha 를 사용하는 경우 */ @@ -133,49 +130,51 @@ var calledArgs = null; $(this).find('input[type=text]').val('').focus(); return false; } - captchaXE.compare(); return false; + captchaXE.compare(); return false; }); - 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}; - var params = new Array(); - params['captcha_action'] = 'setCaptchaSession'; - params['mid'] = current_mid; - oldExecXml(module, act, params, captchaXE.show,new Array('error','message','about_captcha','captcha_reload','captcha_play','cmd_input','cmd_cancel')); + 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}; + var params = new Array(); + params['captcha_action'] = 'setCaptchaSession'; + params['mid'] = current_mid; + window.oldExecXml(module, act, params, captchaXE.show,new Array('error','message','about_captcha','captcha_reload','captcha_play','cmd_input','cmd_cancel')); } else { - oldExecXml(module, act, params, callback_func, response_tags, callback_func_arg, fo_obj); + window.oldExecXml(module, act, params, callback_func, response_tags, callback_func_arg, fo_obj); } - return true; - }; + return true; + }; - captchaXE.show = function(ret_obj) { + captchaXE.show = function(ret_obj) { $('#captcha_layer').show(); $("#captchaAbout").html(ret_obj['about_captcha']); $("#captcha_layer .reload").attr('title',ret_obj['captcha_reload']); - $("#captcha_layer .play").attr('title',ret_obj['captcha_play']); + $("#captcha_layer .play").attr('title',ret_obj['captcha_play']); $("#captcha_layer button[type=submit]").html(ret_obj['cmd_input']); $("#captcha_layer button.cancel").html(ret_obj['cmd_cancel']); $("#captcha_image").attr("src", current_url.setQuery('captcha_action','captchaImage').setQuery('rnd', (new Date).getTime())); $div.find('input[type=text]').val('').focus(); $('html, body').css('height','100%'); - }; + }; - captchaXE.compare = function(e) { - var params = new Array(); - params['captcha_action'] = 'captchaCompare'; - params['mid'] = current_mid; - params['secret_text'] = $('#secret_text').val(); - oldExecXml(calledArgs.module,calledArgs.act,params, function() { - $("#captcha_layer").hide(); - oldExecXml(calledArgs.module, calledArgs.act, calledArgs.params, calledArgs.callback_func, calledArgs.response_tags, calledArgs.callback_func_arg, calledArgs.fo_obj); - } ); - }; - } - return captchaXE; - } + captchaXE.compare = function(e) { + var params = new Array(); + params['captcha_action'] = 'captchaCompare'; + params['mid'] = current_mid; + params['secret_text'] = $('#secret_text').val(); + window.oldExecXml(calledArgs.module,calledArgs.act,params, function() { + $("#captcha_layer").hide(); + window.oldExecXml(calledArgs.module, calledArgs.act, calledArgs.params, calledArgs.callback_func, calledArgs.response_tags, calledArgs.callback_func_arg, calledArgs.fo_obj); + } ); + }; + } + return captchaXE; + } - $(window).ready(function(){ - oldExecXml = exec_xml; - exec_xml = xeCaptcha().exec; - }); - }); + $(window).ready(function(){ + if(!window.oldExecXml) { + window.oldExecXml = window.exec_xml; + window.exec_xml = xeCaptcha().exec; + } + }); + }); })(jQuery); diff --git a/addons/captcha/captcha.min.js b/addons/captcha/captcha.min.js index da4a0eee5..0df1ecced 100644 --- a/addons/captcha/captcha.min.js +++ b/addons/captcha/captcha.min.js @@ -1,2 +1,2 @@ -var oldExecXml=null,calledArgs=null;(function($){$(function(){var captchaXE=null -function xeCaptcha(){$('form').each(function(i){var isSubmitHook=false;if(!$(this).attr('onsubmit')||$(this).attr('onsubmit').indexOf('procFilter')<0){var act=$(this).find('input[name=act]').val();for(var i=0;i');if(!$(this).find('input[name=error_return_url]'))$(this).append('');$(this).submit(function(event){if($(this).find('input[name=secret_text]').val())return true;event.preventDefault();var self=this;$('#captcha_layer form').submit(function(e){e.preventDefault();if(!$('#secret_text').val()){$(this).find('input[type=text]').val('').focus();return false};$(self).append('');$(self).submit()});var params=new Array();params.captcha_action='setCaptchaSession';params.mid=current_mid;oldExecXml('','',params,captchaXE.show,new Array('error','message','about_captcha','captcha_reload','captcha_play','cmd_input','cmd_cancel'))})}});var body=$(document.body),captchaIma;if(!captchaXE){var fc_isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false,fc_isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false,fc_isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false,_swfURL_=request_uri+'addons/captcha/swf/play.swf';if(fc_isIE&&fc_isWin&&!fc_isOpera){_object_='';_object_+='';_object_+='';_object_+='';_object_+='';_object_+='';_object_+='';_object_+=''}else _object_='';captchaXE=$('
@@ -91,7 +91,7 @@ {@$img_width = 1} - - diff --git a/modules/member/tpl/member_list.html b/modules/member/tpl/member_list.html index 9256a8cf4..cadab8c32 100644 --- a/modules/member/tpl/member_list.html +++ b/modules/member/tpl/member_list.html @@ -30,8 +30,8 @@ - - + + from table fragments + if ( !jQuery.support.tbody ) { + + // String was a
+ {$key} @@ -102,7 +102,7 @@ {$key} + {$key} {$lang->unit_year} diff --git a/modules/member/tpl/group_list.html b/modules/member/tpl/group_list.html index 6d69479ae..f36cf5971 100644 --- a/modules/member/tpl/group_list.html +++ b/modules/member/tpl/group_list.html @@ -53,7 +53,7 @@ - {$lang->help} + {$lang->help}
{$lang->email} {$title}{$lang->signup_date} ������{$lang->last_login} ������{$lang->signup_date} {$lang->last_login} {$lang->member_group} {$lang->inquiry}/{$lang->cmd_modify} diff --git a/modules/page/tpl/index.html b/modules/page/tpl/index.html index e63569932..885a96123 100644 --- a/modules/page/tpl/index.html +++ b/modules/page/tpl/index.html @@ -5,7 +5,7 @@

{$XE_VALIDATOR_MESSAGE}

- +
, *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
" && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !jQuery.support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = jQuery.support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== core_strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + core_deletedIds.push( id ); + } + } + } + } + }, + + _evalUrl: function( url ) { + return jQuery.ajax({ + url: url, + type: "GET", + dataType: "script", + async: false, + global: false, + "throws": true + }); + } +}); +jQuery.fn.extend({ + wrapAll: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapAll( html.call(this, i) ); + }); + } + + if ( this[0] ) { + // The elements to wrap the target around + var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); + + if ( this[0].parentNode ) { + wrap.insertBefore( this[0] ); + } + + wrap.map(function() { + var elem = this; + + while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { + elem = elem.firstChild; + } + + return elem; + }).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapInner( html.call(this, i) ); + }); + } + + return this.each(function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + }); + }, + + wrap: function( html ) { + var isFunction = jQuery.isFunction( html ); + + return this.each(function(i) { + jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); + }); + }, + + unwrap: function() { + return this.parent().each(function() { + if ( !jQuery.nodeName( this, "body" ) ) { + jQuery( this ).replaceWith( this.childNodes ); + } + }).end(); + } +}); +var iframe, getStyles, curCSS, + ralpha = /alpha\([^)]*\)/i, + ropacity = /opacity\s*=\s*([^)]*)/, + rposition = /^(top|right|bottom|left)$/, + // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" + // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rmargin = /^margin/, + rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), + rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), + rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ), + elemdisplay = { BODY: "block" }, + + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: 0, + fontWeight: 400 + }, + + cssExpand = [ "Top", "Right", "Bottom", "Left" ], + cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; + +// return a css property mapped to a potentially vendor prefixed property +function vendorPropName( style, name ) { + + // shortcut for names that are not vendor prefixed + if ( name in style ) { + return name; + } + + // check for vendor prefixed names + var capName = name.charAt(0).toUpperCase() + name.slice(1), + origName = name, + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in style ) { + return name; + } + } + + return origName; +} + +function isHidden( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); +} + +function showHide( elements, show ) { + var display, elem, hidden, + values = [], + index = 0, + length = elements.length; + + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + values[ index ] = jQuery._data( elem, "olddisplay" ); + display = elem.style.display; + if ( show ) { + // Reset the inline display of this element to learn if it is + // being hidden by cascaded rules or not + if ( !values[ index ] && display === "none" ) { + elem.style.display = ""; + } + + // Set elements which have been overridden with display: none + // in a stylesheet to whatever the default browser style is + // for such an element + if ( elem.style.display === "" && isHidden( elem ) ) { + values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); + } + } else { + + if ( !values[ index ] ) { + hidden = isHidden( elem ); + + if ( display && display !== "none" || !hidden ) { + jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) ); + } + } + } + } + + // Set the display of most of the elements in a second loop + // to avoid the constant reflow + for ( index = 0; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + if ( !show || elem.style.display === "none" || elem.style.display === "" ) { + elem.style.display = show ? values[ index ] || "" : "none"; + } + } + + return elements; +} + +jQuery.fn.extend({ + css: function( name, value ) { + return jQuery.access( this, function( elem, name, value ) { + var len, styles, + map = {}, + i = 0; + + if ( jQuery.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + }, + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each(function() { + if ( isHidden( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + }); + } +}); + +jQuery.extend({ + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "columnCount": true, + "fillOpacity": true, + "fontWeight": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: { + // normalize float css property + "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" + }, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = jQuery.camelCase( name ), + style = elem.style; + + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // convert relative number strings (+= or -=) to relative numbers. #7345 + if ( type === "string" && (ret = rrelNum.exec( value )) ) { + value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); + // Fixes bug #9237 + type = "number"; + } + + // Make sure that NaN and null values aren't set. See: #7116 + if ( value == null || type === "number" && isNaN( value ) ) { + return; + } + + // If a number was passed in, add 'px' to the (except for certain CSS properties) + if ( type === "number" && !jQuery.cssNumber[ origName ] ) { + value += "px"; + } + + // Fixes #8908, it can be done more correctly by specifing setters in cssHooks, + // but it would mean to define eight (for every problematic property) identical functions + if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { + + // Wrapped to prevent IE from throwing errors when 'invalid' values are provided + // Fixes bug #5509 + try { + style[ name ] = value; + } catch(e) {} + } + + } else { + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var num, val, hooks, + origName = jQuery.camelCase( name ); + + // Make sure that we're working with the right name + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + //convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Return, converting to number if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; + } + return val; + } +}); + +// NOTE: we've included the "window" in window.getComputedStyle +// because jsdom on node.js will break without it. +if ( window.getComputedStyle ) { + getStyles = function( elem ) { + return window.getComputedStyle( elem, null ); + }; + + curCSS = function( elem, name, _computed ) { + var width, minWidth, maxWidth, + computed = _computed || getStyles( elem ), + + // getPropertyValue is only needed for .css('filter') in IE9, see #12537 + ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined, + style = elem.style; + + if ( computed ) { + + if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right + // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels + // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values + if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret; + }; +} else if ( document.documentElement.currentStyle ) { + getStyles = function( elem ) { + return elem.currentStyle; + }; + + curCSS = function( elem, name, _computed ) { + var left, rs, rsLeft, + computed = _computed || getStyles( elem ), + ret = computed ? computed[ name ] : undefined, + style = elem.style; + + // Avoid setting ret to empty string here + // so we don't default to auto + if ( ret == null && style && style[ name ] ) { + ret = style[ name ]; + } + + // From the awesome hack by Dean Edwards + // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 + + // If we're not dealing with a regular pixel number + // but a number that has a weird ending, we need to convert it to pixels + // but not position css attributes, as those are proportional to the parent element instead + // and we can't measure the parent instead because it might trigger a "stacking dolls" problem + if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { + + // Remember the original values + left = style.left; + rs = elem.runtimeStyle; + rsLeft = rs && rs.left; + + // Put in the new values to get a computed value out + if ( rsLeft ) { + rs.left = elem.currentStyle.left; + } + style.left = name === "fontSize" ? "1em" : ret; + ret = style.pixelLeft + "px"; + + // Revert the changed values + style.left = left; + if ( rsLeft ) { + rs.left = rsLeft; + } + } + + return ret === "" ? "auto" : ret; + }; +} + +function setPositiveNumber( elem, value, subtract ) { + var matches = rnumsplit.exec( value ); + return matches ? + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : + value; +} + +function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { + var i = extra === ( isBorderBox ? "border" : "content" ) ? + // If we already have the right measurement, avoid augmentation + 4 : + // Otherwise initialize for horizontal or vertical properties + name === "width" ? 1 : 0, + + val = 0; + + for ( ; i < 4; i += 2 ) { + // both box models exclude margin, so add it if we want it + if ( extra === "margin" ) { + val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); + } + + if ( isBorderBox ) { + // border-box includes padding, so remove it if we want content + if ( extra === "content" ) { + val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // at this point, extra isn't border nor margin, so remove border + if ( extra !== "margin" ) { + val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } else { + // at this point, extra isn't content, so add padding + val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // at this point, extra isn't content nor padding, so add border + if ( extra !== "padding" ) { + val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + return val; +} + +function getWidthOrHeight( elem, name, extra ) { + + // Start with offset property, which is equivalent to the border-box value + var valueIsBorderBox = true, + val = name === "width" ? elem.offsetWidth : elem.offsetHeight, + styles = getStyles( elem ), + isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // some non-html elements return undefined for offsetWidth, so check for null/undefined + // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 + // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 + if ( val <= 0 || val == null ) { + // Fall back to computed then uncomputed css if necessary + val = curCSS( elem, name, styles ); + if ( val < 0 || val == null ) { + val = elem.style[ name ]; + } + + // Computed unit is not pixels. Stop here and return. + if ( rnumnonpx.test(val) ) { + return val; + } + + // we need the check for style in case a browser which returns unreliable values + // for getComputedStyle silently falls back to the reliable elem.style + valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); + + // Normalize "", auto, and prepare for extra + val = parseFloat( val ) || 0; + } + + // use the active box-sizing model to add/subtract irrelevant styles + return ( val + + augmentWidthOrHeight( + elem, + name, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles + ) + ) + "px"; +} + +// Try to determine the default display value of an element +function css_defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + // Use the already-created iframe if possible + iframe = ( iframe || + jQuery("':""),a._keyEvent=!1,K},_generateMonthYearHeader:function(a,b,c,d,e,f,g,h){var i=this._get(a,"changeMonth"),j=this._get(a,"changeYear"),k=this._get(a,"showMonthAfterYear"),l='
',m="";if(f||!i)m+=''+g[b]+"";else{var n=d&&d.getFullYear()==c,o=e&&e.getFullYear()==c;m+='"}k||(l+=m+(f||!i||!j?" ":""));if(!a.yearshtml){a.yearshtml="";if(f||!j)l+=''+c+"";else{var q=this._get(a,"yearRange").split(":"),r=(new Date).getFullYear(),s=function(a){var b=a.match(/c[+-].*/)?c+parseInt(a.substring(1),10):a.match(/[+-].*/)?r+parseInt(a,10):parseInt(a,10);return isNaN(b)?r:b},t=s(q[0]),u=Math.max(t,s(q[1]||""));t=d?Math.max(t,d.getFullYear()):t,u=e?Math.min(u,e.getFullYear()):u,a.yearshtml+='",l+=a.yearshtml,a.yearshtml=null}}return l+=this._get(a,"yearSuffix"),k&&(l+=(f||!i||!j?" ":"")+m),l+="
",l},_adjustInstDate:function(a,b,c){var d=a.drawYear+(c=="Y"?b:0),e=a.drawMonth+(c=="M"?b:0),f=Math.min(a.selectedDay,this._getDaysInMonth(d,e))+(c=="D"?b:0),g=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(d,e,f)));a.selectedDay=g.getDate(),a.drawMonth=a.selectedMonth=g.getMonth(),a.drawYear=a.selectedYear=g.getFullYear(),(c=="M"||c=="Y")&&this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min"),d=this._getMinMaxDate(a,"max"),e=c&&bd?d:e,e},_notifyChange:function(a){var b=this._get(a,"onChangeMonthYear");b&&b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){var b=this._get(a,"numberOfMonths");return b==null?[1,1]:typeof b=="number"?[1,b]:b},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a,b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,d){var e=this._getNumberOfMonths(a),f=this._daylightSavingAdjust(new Date(c,d+(b<0?b:e[0]*e[1]),1));return b<0&&f.setDate(this._getDaysInMonth(f.getFullYear(),f.getMonth())),this._isInRange(a,f)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min"),d=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!d||b.getTime()<=d.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");return b=typeof b!="string"?b:(new Date).getFullYear()%100+parseInt(b,10),{shortYearCutoff:b,dayNamesShort:this._get(a,"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,d){b||(a.currentDay=a.selectedDay,a.currentMonth=a.selectedMonth,a.currentYear=a.selectedYear);var e=b?typeof b=="object"?b:this._daylightSavingAdjust(new Date(d,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),e,this._getFormatConfig(a))}}),$.fn.datepicker=function(a){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find("body").append($.datepicker.dpDiv),$.datepicker.initialized=!0);var b=Array.prototype.slice.call(arguments,1);return typeof a!="string"||a!="isDisabled"&&a!="getDate"&&a!="widget"?a=="option"&&arguments.length==2&&typeof arguments[1]=="string"?$.datepicker["_"+a+"Datepicker"].apply($.datepicker,[this[0]].concat(b)):this.each(function(){typeof a=="string"?$.datepicker["_"+a+"Datepicker"].apply($.datepicker,[this].concat(b)):$.datepicker._attachDatepicker(this,a)}):$.datepicker["_"+a+"Datepicker"].apply($.datepicker,[this[0]].concat(b))},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version="@VERSION",window["DP_jQuery_"+dpuuid]=$})(jQuery);/*! jQuery UI - v1.8.19 - 2012-04-16 -* https://github.com/jquery/jquery-ui -* Includes: jquery.ui.progressbar.js -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ -(function(a,b){a.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()}),this.valueDiv=a("
").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove(),a.Widget.prototype.destroy.apply(this,arguments)},value:function(a){return a===b?this._value():(this._setOption("value",a),this)},_setOption:function(b,c){b==="value"&&(this.options.value=c,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete")),a.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;return typeof a!="number"&&(a=0),Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var a=this.value(),b=this._percentage();this.oldValue!==a&&(this.oldValue=a,this._trigger("change")),this.valueDiv.toggle(a>this.min).toggleClass("ui-corner-right",a===this.options.max).width(b.toFixed(0)+"%"),this.element.attr("aria-valuenow",a)}}),a.extend(a.ui.progressbar,{version:"1.8.19"})})(jQuery);/*! jQuery UI - v1.8.19 - 2012-04-16 -* https://github.com/jquery/jquery-ui -* Includes: jquery.effects.core.js -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ -jQuery.effects||function(a,b){function c(b){var c;return b&&b.constructor==Array&&b.length==3?b:(c=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(b))?[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10)]:(c=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(b))?[parseFloat(c[1])*2.55,parseFloat(c[2])*2.55,parseFloat(c[3])*2.55]:(c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(b))?[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)]:(c=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(b))?[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]:(c=/rgba\(0, 0, 0, 0\)/.exec(b))?e.transparent:e[a.trim(b).toLowerCase()]}function d(b,d){var e;do{e=a.curCSS(b,d);if(e!=""&&e!="transparent"||a.nodeName(b,"body"))break;d="backgroundColor"}while(b=b.parentNode);return c(e)}function h(){var a=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,b={},c,d;if(a&&a.length&&a[0]&&a[a[0]]){var e=a.length;while(e--)c=a[e],typeof a[c]=="string"&&(d=c.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()}),b[d]=a[c])}else for(c in a)typeof a[c]=="string"&&(b[c]=a[c]);return b}function i(b){var c,d;for(c in b)d=b[c],(d==null||a.isFunction(d)||c in g||/scrollbar/.test(c)||!/color/i.test(c)&&isNaN(parseFloat(d)))&&delete b[c];return b}function j(a,b){var c={_:0},d;for(d in b)a[d]!=b[d]&&(c[d]=b[d]);return c}function k(b,c,d,e){typeof b=="object"&&(e=c,d=null,c=b,b=c.effect),a.isFunction(c)&&(e=c,d=null,c={});if(typeof c=="number"||a.fx.speeds[c])e=d,d=c,c={};return a.isFunction(d)&&(e=d,d=null),c=c||{},d=d||c.duration,d=a.fx.off?0:typeof d=="number"?d:d in a.fx.speeds?a.fx.speeds[d]:a.fx.speeds._default,e=e||c.complete,[b,c,d,e]}function l(b){return!b||typeof b=="number"||a.fx.speeds[b]?!0:typeof b=="string"&&!a.effects[b]?!0:!1}a.effects={},a.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","borderColor","color","outlineColor"],function(b,e){a.fx.step[e]=function(a){a.colorInit||(a.start=d(a.elem,e),a.end=c(a.end),a.colorInit=!0),a.elem.style[e]="rgb("+Math.max(Math.min(parseInt(a.pos*(a.end[0]-a.start[0])+a.start[0],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[1]-a.start[1])+a.start[1],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[2]-a.start[2])+a.start[2],10),255),0)+")"}});var e={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},f=["add","remove","toggle"],g={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};a.effects.animateClass=function(b,c,d,e){return a.isFunction(d)&&(e=d,d=null),this.queue(function(){var g=a(this),k=g.attr("style")||" ",l=i(h.call(this)),m,n=g.attr("class")||"";a.each(f,function(a,c){b[c]&&g[c+"Class"](b[c])}),m=i(h.call(this)),g.attr("class",n),g.animate(j(l,m),{queue:!1,duration:c,easing:d,complete:function(){a.each(f,function(a,c){b[c]&&g[c+"Class"](b[c])}),typeof g.attr("style")=="object"?(g.attr("style").cssText="",g.attr("style").cssText=k):g.attr("style",k),e&&e.apply(this,arguments),a.dequeue(this)}})})},a.fn.extend({_addClass:a.fn.addClass,addClass:function(b,c,d,e){return c?a.effects.animateClass.apply(this,[{add:b},c,d,e]):this._addClass(b)},_removeClass:a.fn.removeClass,removeClass:function(b,c,d,e){return c?a.effects.animateClass.apply(this,[{remove:b},c,d,e]):this._removeClass(b)},_toggleClass:a.fn.toggleClass,toggleClass:function(c,d,e,f,g){return typeof d=="boolean"||d===b?e?a.effects.animateClass.apply(this,[d?{add:c}:{remove:c},e,f,g]):this._toggleClass(c,d):a.effects.animateClass.apply(this,[{toggle:c},d,e,f])},switchClass:function(b,c,d,e,f){return a.effects.animateClass.apply(this,[{add:c,remove:b},d,e,f])}}),a.extend(a.effects,{version:"1.8.19",save:function(a,b){for(var c=0;c").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e=document.activeElement;return b.wrap(d),(b[0]===e||a.contains(b[0],e))&&a(e).focus(),d=b.parent(),b.css("position")=="static"?(d.css({position:"relative"}),b.css({position:"relative"})):(a.extend(c,{position:b.css("position"),zIndex:b.css("z-index")}),a.each(["top","left","bottom","right"],function(a,d){c[d]=b.css(d),isNaN(parseInt(c[d],10))&&(c[d]="auto")}),b.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),d.css(c).show()},removeWrapper:function(b){var c,d=document.activeElement;return b.parent().is(".ui-effects-wrapper")?(c=b.parent().replaceWith(b),(b[0]===d||a.contains(b[0],d))&&a(d).focus(),c):b},setTransition:function(b,c,d,e){return e=e||{},a.each(c,function(a,c){var f=b.cssUnit(c);f[0]>0&&(e[c]=f[0]*d+f[1])}),e}}),a.fn.extend({effect:function(b,c,d,e){var f=k.apply(this,arguments),g={options:f[1],duration:f[2],callback:f[3]},h=g.options.mode,i=a.effects[b];return a.fx.off||!i?h?this[h](g.duration,g.callback):this.each(function(){g.callback&&g.callback.call(this)}):i.call(this,g)},_show:a.fn.show,show:function(a){if(l(a))return this._show.apply(this,arguments);var b=k.apply(this,arguments);return b[1].mode="show",this.effect.apply(this,b)},_hide:a.fn.hide,hide:function(a){if(l(a))return this._hide.apply(this,arguments);var b=k.apply(this,arguments);return b[1].mode="hide",this.effect.apply(this,b)},__toggle:a.fn.toggle,toggle:function(b){if(l(b)||typeof b=="boolean"||a.isFunction(b))return this.__toggle.apply(this,arguments);var c=k.apply(this,arguments);return c[1].mode="toggle",this.effect.apply(this,c)},cssUnit:function(b){var c=this.css(b),d=[];return a.each(["em","px","%","pt"],function(a,b){c.indexOf(b)>0&&(d=[parseFloat(c),b])}),d}}),a.easing.jswing=a.easing.swing,a.extend(a.easing,{def:"easeOutQuad",swing:function(b,c,d,e,f){return a.easing[a.easing.def](b,c,d,e,f)},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b+c:-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b+c:d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b*b+c:-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b*b*b+c:d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return b==0?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){return b==0?c:b==e?c+d:(b/=e/2)<1?d/2*Math.pow(2,10*(b-1))+c:d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)*b)+c},easeInOutCirc:function(a,b,c,d,e){return(b/=e/2)<1?-d/2*(Math.sqrt(1-b*b)-1)+c:d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(b==0)return c;if((b/=e)==1)return c+d;g||(g=e*.3);if(h").css({position:"absolute",visibility:"visible",left:-j*(g/d),top:-i*(h/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:g/d,height:h/c,left:f.left+j*(g/d)+(b.options.mode=="show"?(j-Math.floor(d/2))*(g/d):0),top:f.top+i*(h/c)+(b.options.mode=="show"?(i-Math.floor(c/2))*(h/c):0),opacity:b.options.mode=="show"?0:1}).animate({left:f.left+j*(g/d)+(b.options.mode=="show"?0:(j-Math.floor(d/2))*(g/d)),top:f.top+i*(h/c)+(b.options.mode=="show"?0:(i-Math.floor(c/2))*(h/c)),opacity:b.options.mode=="show"?1:0},b.duration||500);setTimeout(function(){b.options.mode=="show"?e.css({visibility:"visible"}):e.css({visibility:"visible"}).hide(),b.callback&&b.callback.apply(e[0]),e.dequeue(),a("div.ui-effects-explode").remove()},b.duration||500)})}})(jQuery);/*! jQuery UI - v1.8.19 - 2012-04-16 -* https://github.com/jquery/jquery-ui -* Includes: jquery.effects.fade.js -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ -(function(a,b){a.effects.fade=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||"hide");c.animate({opacity:d},{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery);/*! jQuery UI - v1.8.19 - 2012-04-16 -* https://github.com/jquery/jquery-ui -* Includes: jquery.effects.fold.js -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ -(function(a,b){a.effects.fold=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right"],e=a.effects.setMode(c,b.options.mode||"hide"),f=b.options.size||15,g=!!b.options.horizFirst,h=b.duration?b.duration/2:a.fx.speeds._default/2;a.effects.save(c,d),c.show();var i=a.effects.createWrapper(c).css({overflow:"hidden"}),j=e=="show"!=g,k=j?["width","height"]:["height","width"],l=j?[i.width(),i.height()]:[i.height(),i.width()],m=/([0-9]+)%/.exec(f);m&&(f=parseInt(m[1],10)/100*l[e=="hide"?0:1]),e=="show"&&i.css(g?{height:0,width:f}:{height:f,width:0});var n={},p={};n[k[0]]=e=="show"?l[0]:f,p[k[1]]=e=="show"?l[1]:0,i.animate(n,h,b.options.easing).animate(p,h,b.options.easing,function(){e=="hide"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}})(jQuery);/*! jQuery UI - v1.8.19 - 2012-04-16 -* https://github.com/jquery/jquery-ui -* Includes: jquery.effects.highlight.js -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ -(function(a,b){a.effects.highlight=function(b){return this.queue(function(){var c=a(this),d=["backgroundImage","backgroundColor","opacity"],e=a.effects.setMode(c,b.options.mode||"show"),f={backgroundColor:c.css("backgroundColor")};e=="hide"&&(f.opacity=0),a.effects.save(c,d),c.show().css({backgroundImage:"none",backgroundColor:b.options.color||"#ffff99"}).animate(f,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e=="hide"&&c.hide(),a.effects.restore(c,d),e=="show"&&!a.support.opacity&&this.style.removeAttribute("filter"),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery);/*! jQuery UI - v1.8.19 - 2012-04-16 -* https://github.com/jquery/jquery-ui -* Includes: jquery.effects.pulsate.js -* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ -(function(a,b){a.effects.pulsate=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||"show"),e=(b.options.times||5)*2-1,f=b.duration?b.duration/2:a.fx.speeds._default/2,g=c.is(":visible"),h=0;g||(c.css("opacity",0).show(),h=1),(d=="hide"&&g||d=="show"&&!g)&&e--;for(var i=0;i').appendTo(document.body).addClass(b.options.className).css({top:g.top,left:g.left,height:c.innerHeight(),width:c.innerWidth(),position:"absolute"}).animate(f,b.duration,b.options.easing,function(){h.remove(),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}})(jQuery); \ No newline at end of file +/*! jQuery UI - v1.10.3 - 2013-05-03 +* http://jqueryui.com +* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js +* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ +(function(t,e){function i(e,i){var n,o,a,r=e.nodeName.toLowerCase();return"area"===r?(n=e.parentNode,o=n.name,e.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap=#"+o+"]")[0],!!a&&s(a)):!1):(/input|select|textarea|button|object/.test(r)?!e.disabled:"a"===r?e.href||i:i)&&s(e)}function s(e){return t.expr.filters.visible(e)&&!t(e).parents().addBack().filter(function(){return"hidden"===t.css(this,"visibility")}).length}var n=0,o=/^ui-id-\d+$/;t.ui=t.ui||{},t.extend(t.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),t.fn.extend({focus:function(e){return function(i,s){return"number"==typeof i?this.each(function(){var e=this;setTimeout(function(){t(e).focus(),s&&s.call(e)},i)}):e.apply(this,arguments)}}(t.fn.focus),scrollParent:function(){var e;return e=t.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(t.css(this,"position"))&&/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!e.length?t(document):e},zIndex:function(i){if(i!==e)return this.css("zIndex",i);if(this.length)for(var s,n,o=t(this[0]);o.length&&o[0]!==document;){if(s=o.css("position"),("absolute"===s||"relative"===s||"fixed"===s)&&(n=parseInt(o.css("zIndex"),10),!isNaN(n)&&0!==n))return n;o=o.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++n)})},removeUniqueId:function(){return this.each(function(){o.test(this.id)&&t(this).removeAttr("id")})}}),t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])},focusable:function(e){return i(e,!isNaN(t.attr(e,"tabindex")))},tabbable:function(e){var s=t.attr(e,"tabindex"),n=isNaN(s);return(n||s>=0)&&i(e,!n)}}),t("
").outerWidth(1).jquery||t.each(["Width","Height"],function(i,s){function n(e,i,s,n){return t.each(o,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),n&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var o="Width"===s?["Left","Right"]:["Top","Bottom"],a=s.toLowerCase(),r={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+s]=function(i){return i===e?r["inner"+s].call(this):this.each(function(){t(this).css(a,n(this,i)+"px")})},t.fn["outer"+s]=function(e,i){return"number"!=typeof e?r["outer"+s].call(this,e):this.each(function(){t(this).css(a,n(this,e,!0,i)+"px")})}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t("").data("a-b","a").removeData("a-b").data("a-b")&&(t.fn.removeData=function(e){return function(i){return arguments.length?e.call(this,t.camelCase(i)):e.call(this)}}(t.fn.removeData)),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),t.support.selectstart="onselectstart"in document.createElement("div"),t.fn.extend({disableSelection:function(){return this.bind((t.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),t.extend(t.ui,{plugin:{add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i){var s,n=t.plugins[e];if(n&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(s=0;n.length>s;s++)t.options[n[s][0]]&&n[s][1].apply(t.element,i)}},hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)}})})(jQuery),function(t,e){var i=0,s=Array.prototype.slice,n=t.cleanData;t.cleanData=function(e){for(var i,s=0;null!=(i=e[s]);s++)try{t(i).triggerHandler("remove")}catch(o){}n(e)},t.widget=function(i,s,n){var o,a,r,h,l={},c=i.split(".")[0];i=i.split(".")[1],o=c+"-"+i,n||(n=s,s=t.Widget),t.expr[":"][o.toLowerCase()]=function(e){return!!t.data(e,o)},t[c]=t[c]||{},a=t[c][i],r=t[c][i]=function(t,i){return this._createWidget?(arguments.length&&this._createWidget(t,i),e):new r(t,i)},t.extend(r,a,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),h=new s,h.options=t.widget.extend({},h.options),t.each(n,function(i,n){return t.isFunction(n)?(l[i]=function(){var t=function(){return s.prototype[i].apply(this,arguments)},e=function(t){return s.prototype[i].apply(this,t)};return function(){var i,s=this._super,o=this._superApply;return this._super=t,this._superApply=e,i=n.apply(this,arguments),this._super=s,this._superApply=o,i}}(),e):(l[i]=n,e)}),r.prototype=t.widget.extend(h,{widgetEventPrefix:a?h.widgetEventPrefix:i},l,{constructor:r,namespace:c,widgetName:i,widgetFullName:o}),a?(t.each(a._childConstructors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,r,i._proto)}),delete a._childConstructors):s._childConstructors.push(r),t.widget.bridge(i,r)},t.widget.extend=function(i){for(var n,o,a=s.call(arguments,1),r=0,h=a.length;h>r;r++)for(n in a[r])o=a[r][n],a[r].hasOwnProperty(n)&&o!==e&&(i[n]=t.isPlainObject(o)?t.isPlainObject(i[n])?t.widget.extend({},i[n],o):t.widget.extend({},o):o);return i},t.widget.bridge=function(i,n){var o=n.prototype.widgetFullName||i;t.fn[i]=function(a){var r="string"==typeof a,h=s.call(arguments,1),l=this;return a=!r&&h.length?t.widget.extend.apply(null,[a].concat(h)):a,r?this.each(function(){var s,n=t.data(this,o);return n?t.isFunction(n[a])&&"_"!==a.charAt(0)?(s=n[a].apply(n,h),s!==n&&s!==e?(l=s&&s.jquery?l.pushStack(s.get()):s,!1):e):t.error("no such method '"+a+"' for "+i+" widget instance"):t.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+a+"'")}):this.each(function(){var e=t.data(this,o);e?e.option(a||{})._init():t.data(this,o,new n(a,this))}),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
",options:{disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=t(),this.hoverable=t(),this.focusable=t(),s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(i,s){var n,o,a,r=i;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof i)if(r={},n=i.split("."),i=n.shift(),n.length){for(o=r[i]=t.widget.extend({},this.options[i]),a=0;n.length-1>a;a++)o[n[a]]=o[n[a]]||{},o=o[n[a]];if(i=n.pop(),s===e)return o[i]===e?null:o[i];o[i]=s}else{if(s===e)return this.options[i]===e?null:this.options[i];r[i]=s}return this._setOptions(r),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!e).attr("aria-disabled",e),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,s,n){var o,a=this;"boolean"!=typeof i&&(n=s,s=i,i=!1),n?(s=o=t(s),this.bindings=this.bindings.add(s)):(n=s,s=this.element,o=this.widget()),t.each(n,function(n,r){function h(){return i||a.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof r?a[r]:r).apply(a,arguments):e}"string"!=typeof r&&(h.guid=r.guid=r.guid||h.guid||t.guid++);var l=n.match(/^(\w+)\s*(.*)$/),c=l[1]+a.eventNamespace,u=l[2];u?o.delegate(u,c,h):s.bind(c,h)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){t(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){t(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}})}(jQuery),function(t){var e=!1;t(document).mouseup(function(){e=!1}),t.widget("ui.mouse",{version:"1.10.3",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):undefined}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!e){this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,n=1===i.which,o="string"==typeof this.options.cancel&&i.target.nodeName?t(i.target).closest(this.options.cancel).length:!1;return n&&!o&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){s.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===t.data(i.target,this.widgetName+".preventClickEvent")&&t.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return s._mouseMove(t)},this._mouseUpDelegate=function(t){return s._mouseUp(t)},t(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),e=!0,!0)):!0}},_mouseMove:function(e){return t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button?this._mouseUp(e):this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){return t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(t){t.widget("ui.draggable",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"!==this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(e){var i=this.options;return this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(e),this.handle?(t(i.iframeFix===!0?"iframe":i.iframeFix).each(function(){t("
").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(t(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offsetParent=this.helper.offsetParent(),this.offsetParentCssPosition=this.offsetParent.css("position"),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.offset.scroll=!1,t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_mouseDrag:function(e,i){if("fixed"===this.offsetParentCssPosition&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",e,s)===!1)return this._mouseUp({}),!1;this.position=s.position}return this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,s=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(s=t.ui.ddmanager.drop(this,e)),this.dropped&&(s=this.dropped,this.dropped=!1),"original"!==this.options.helper||t.contains(this.element[0].ownerDocument,this.element[0])?("invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger("stop",e)!==!1&&i._clear()}):this._trigger("stop",e)!==!1&&this._clear(),!1):!1},_mouseUp:function(e){return t("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:!0},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return s.parents("body").length||s.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s[0]===this.element[0]||/(fixed|absolute)/.test(s.css("position"))||s.css("position","absolute"),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.element.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;return n.containment?"window"===n.containment?(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):"document"===n.containment?(this.containment=[0,0,t(document).width()-this.helperProportions.width-this.margins.left,(t(document).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):n.containment.constructor===Array?(this.containment=n.containment,undefined):("parent"===n.containment&&(n.containment=this.helper[0].parentNode),i=t(n.containment),s=i[0],s&&(e="hidden"!==i.css("overflow"),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i),undefined):(this.containment=null,undefined)},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent;return this.offset.scroll||(this.offset.scroll={top:n.scrollTop(),left:n.scrollLeft()}),{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top)*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)*s}},_generatePosition:function(e){var i,s,n,o,a=this.options,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=e.pageX,l=e.pageY;return this.offset.scroll||(this.offset.scroll={top:r.scrollTop(),left:r.scrollLeft()}),this.originalPosition&&(this.containment&&(this.relative_container?(s=this.relative_container.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,e.pageX-this.offset.click.lefti[2]&&(h=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(l=i[3]+this.offset.click.top)),a.grid&&(n=a.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,l=i?n-this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-this.offset.click.top>=i[1]?n-a.grid[1]:n+a.grid[1]:n,o=a.grid[0]?this.originalPageX+Math.round((h-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,h=i?o-this.offset.click.left>=i[0]||o-this.offset.click.left>i[2]?o:o-this.offset.click.left>=i[0]?o-a.grid[0]:o+a.grid[0]:o)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top),left:h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(e,i,s){return s=s||this._uiHash(),t.ui.plugin.call(this,e,[i,s]),"drag"===e&&(this.positionAbs=this._convertPositionTo("absolute")),t.Widget.prototype._trigger.call(this,e,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i){var s=t(this).data("ui-draggable"),n=s.options,o=t.extend({},i,{item:s.element});s.sortables=[],t(n.connectToSortable).each(function(){var i=t.data(this,"ui-sortable");i&&!i.options.disabled&&(s.sortables.push({instance:i,shouldRevert:i.options.revert}),i.refreshPositions(),i._trigger("activate",e,o))})},stop:function(e,i){var s=t(this).data("ui-draggable"),n=t.extend({},i,{item:s.element});t.each(s.sortables,function(){this.instance.isOver?(this.instance.isOver=0,s.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(e),this.instance.options.helper=this.instance.options._helper,"original"===s.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",e,n))})},drag:function(e,i){var s=t(this).data("ui-draggable"),n=this;t.each(s.sortables,function(){var o=!1,a=this;this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(o=!0,t.each(s.sortables,function(){return this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this!==a&&this.instance._intersectsWith(this.instance.containerCache)&&t.contains(a.instance.element[0],this.instance.element[0])&&(o=!1),o})),o?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=t(n).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return i.helper[0]},e.target=this.instance.currentItem[0],this.instance._mouseCapture(e,!0),this.instance._mouseStart(e,!0,!0),this.instance.offset.click.top=s.offset.click.top,this.instance.offset.click.left=s.offset.click.left,this.instance.offset.parent.left-=s.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=s.offset.parent.top-this.instance.offset.parent.top,s._trigger("toSortable",e),s.dropped=this.instance.element,s.currentItem=s.element,this.instance.fromOutside=s),this.instance.currentItem&&this.instance._mouseDrag(e)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",e,this.instance._uiHash(this.instance)),this.instance._mouseStop(e,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),s._trigger("fromSortable",e),s.dropped=!1)})}}),t.ui.plugin.add("draggable","cursor",{start:function(){var e=t("body"),i=t(this).data("ui-draggable").options;e.css("cursor")&&(i._cursor=e.css("cursor")),e.css("cursor",i.cursor)},stop:function(){var e=t(this).data("ui-draggable").options;e._cursor&&t("body").css("cursor",e._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i){var s=t(i.helper),n=t(this).data("ui-draggable").options;s.css("opacity")&&(n._opacity=s.css("opacity")),s.css("opacity",n.opacity)},stop:function(e,i){var s=t(this).data("ui-draggable").options;s._opacity&&t(i.helper).css("opacity",s._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(){var e=t(this).data("ui-draggable");e.scrollParent[0]!==document&&"HTML"!==e.scrollParent[0].tagName&&(e.overflowOffset=e.scrollParent.offset())},drag:function(e){var i=t(this).data("ui-draggable"),s=i.options,n=!1;i.scrollParent[0]!==document&&"HTML"!==i.scrollParent[0].tagName?(s.axis&&"x"===s.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-e.pageY=0;u--)r=p.snapElements[u].left,h=r+p.snapElements[u].width,l=p.snapElements[u].top,c=l+p.snapElements[u].height,r-g>v||m>h+g||l-g>b||_>c+g||!t.contains(p.snapElements[u].item.ownerDocument,p.snapElements[u].item)?(p.snapElements[u].snapping&&p.options.snap.release&&p.options.snap.release.call(p.element,e,t.extend(p._uiHash(),{snapItem:p.snapElements[u].item})),p.snapElements[u].snapping=!1):("inner"!==f.snapMode&&(s=g>=Math.abs(l-b),n=g>=Math.abs(c-_),o=g>=Math.abs(r-v),a=g>=Math.abs(h-m),s&&(i.position.top=p._convertPositionTo("relative",{top:l-p.helperProportions.height,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:c,left:0}).top-p.margins.top),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r-p.helperProportions.width}).left-p.margins.left),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:h}).left-p.margins.left)),d=s||n||o||a,"outer"!==f.snapMode&&(s=g>=Math.abs(l-_),n=g>=Math.abs(c-b),o=g>=Math.abs(r-m),a=g>=Math.abs(h-v),s&&(i.position.top=p._convertPositionTo("relative",{top:l,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:c-p.helperProportions.height,left:0}).top-p.margins.top),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r}).left-p.margins.left),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:h-p.helperProportions.width}).left-p.margins.left)),!p.snapElements[u].snapping&&(s||n||o||a||d)&&p.options.snap.snap&&p.options.snap.snap.call(p.element,e,t.extend(p._uiHash(),{snapItem:p.snapElements[u].item})),p.snapElements[u].snapping=s||n||o||a||d)}}),t.ui.plugin.add("draggable","stack",{start:function(){var e,i=this.data("ui-draggable").options,s=t.makeArray(t(i.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});s.length&&(e=parseInt(t(s[0]).css("zIndex"),10)||0,t(s).each(function(i){t(this).css("zIndex",e+i)}),this.css("zIndex",e+s.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i){var s=t(i.helper),n=t(this).data("ui-draggable").options;s.css("zIndex")&&(n._zIndex=s.css("zIndex")),s.css("zIndex",n.zIndex)},stop:function(e,i){var s=t(this).data("ui-draggable").options;s._zIndex&&t(i.helper).css("zIndex",s._zIndex)}})}(jQuery),function(t){function e(t,e,i){return t>e&&e+i>t}t.widget("ui.droppable",{version:"1.10.3",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e=this.options,i=e.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(i)?i:function(t){return t.is(i) +},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},t.ui.ddmanager.droppables[e.scope]=t.ui.ddmanager.droppables[e.scope]||[],t.ui.ddmanager.droppables[e.scope].push(this),e.addClasses&&this.element.addClass("ui-droppable")},_destroy:function(){for(var e=0,i=t.ui.ddmanager.droppables[this.options.scope];i.length>e;e++)i[e]===this&&i.splice(e,1);this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(e,i){"accept"===e&&(this.accept=t.isFunction(i)?i:function(t){return t.is(i)}),t.Widget.prototype._setOption.apply(this,arguments)},_activate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),i&&this._trigger("activate",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),i&&this._trigger("deactivate",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",e,this.ui(i)))},_drop:function(e,i){var s=i||t.ui.ddmanager.current,n=!1;return s&&(s.currentItem||s.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=t.data(this,"ui-droppable");return e.options.greedy&&!e.options.disabled&&e.options.scope===s.options.scope&&e.accept.call(e.element[0],s.currentItem||s.element)&&t.ui.intersect(s,t.extend(e,{offset:e.element.offset()}),e.options.tolerance)?(n=!0,!1):undefined}),n?!1:this.accept.call(this.element[0],s.currentItem||s.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",e,this.ui(s)),this.element):!1):!1},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}}}),t.ui.intersect=function(t,i,s){if(!i.offset)return!1;var n,o,a=(t.positionAbs||t.position.absolute).left,r=a+t.helperProportions.width,h=(t.positionAbs||t.position.absolute).top,l=h+t.helperProportions.height,c=i.offset.left,u=c+i.proportions.width,d=i.offset.top,p=d+i.proportions.height;switch(s){case"fit":return a>=c&&u>=r&&h>=d&&p>=l;case"intersect":return a+t.helperProportions.width/2>c&&u>r-t.helperProportions.width/2&&h+t.helperProportions.height/2>d&&p>l-t.helperProportions.height/2;case"pointer":return n=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,o=(t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top,e(o,d,i.proportions.height)&&e(n,c,i.proportions.width);case"touch":return(h>=d&&p>=h||l>=d&&p>=l||d>h&&l>p)&&(a>=c&&u>=a||r>=c&&u>=r||c>a&&r>u);default:return!1}},t.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(e,i){var s,n,o=t.ui.ddmanager.droppables[e.options.scope]||[],a=i?i.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(s=0;o.length>s;s++)if(!(o[s].options.disabled||e&&!o[s].accept.call(o[s].element[0],e.currentItem||e.element))){for(n=0;r.length>n;n++)if(r[n]===o[s].element[0]){o[s].proportions.height=0;continue t}o[s].visible="none"!==o[s].element.css("display"),o[s].visible&&("mousedown"===a&&o[s]._activate.call(o[s],i),o[s].offset=o[s].element.offset(),o[s].proportions={width:o[s].element[0].offsetWidth,height:o[s].element[0].offsetHeight})}},drop:function(e,i){var s=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&t.ui.intersect(e,this,this.options.tolerance)&&(s=this._drop.call(this,i)||s),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),s},dragStart:function(e,i){e.element.parentsUntil("body").bind("scroll.droppable",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)})},drag:function(e,i){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,i),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var s,n,o,a=t.ui.intersect(e,this,this.options.tolerance),r=!a&&this.isover?"isout":a&&!this.isover?"isover":null;r&&(this.options.greedy&&(n=this.options.scope,o=this.element.parents(":data(ui-droppable)").filter(function(){return t.data(this,"ui-droppable").options.scope===n}),o.length&&(s=t.data(o[0],"ui-droppable"),s.greedyChild="isover"===r)),s&&"isover"===r&&(s.isover=!1,s.isout=!0,s._out.call(s,i)),this[r]=!0,this["isout"===r?"isover":"isout"]=!1,this["isover"===r?"_over":"_out"].call(this,i),s&&"isout"===r&&(s.isout=!1,s.isover=!0,s._over.call(s,i)))}})},dragStop:function(e,i){e.element.parentsUntil("body").unbind("scroll.droppable"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)}}}(jQuery),function(t){function e(t){return parseInt(t,10)||0}function i(t){return!isNaN(parseInt(t,10))}t.widget("ui.resizable",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_create:function(){var e,i,s,n,o,a=this,r=this.options;if(this.element.addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!r.aspectRatio,aspectRatio:r.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:r.helper||r.ghost||r.animate?r.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(t("
").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.data("ui-resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=r.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),e=this.handles.split(","),this.handles={},i=0;e.length>i;i++)s=t.trim(e[i]),o="ui-resizable-"+s,n=t("
"),n.css({zIndex:r.zIndex}),"se"===s&&n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(n);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String&&(this.handles[i]=t(this.handles[i],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),t(this.handles[i]).length},this._renderAxis(this.element),this._handles=t(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){a.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),a.axis=n&&n[1]?n[1]:"se")}),r.autoHide&&(this._handles.hide(),t(this.element).addClass("ui-resizable-autohide").mouseenter(function(){r.disabled||(t(this).removeClass("ui-resizable-autohide"),a._handles.show())}).mouseleave(function(){r.disabled||a.resizing||(t(this).addClass("ui-resizable-autohide"),a._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(i){var s,n,o,a=this.options,r=this.element.position(),h=this.element;return this.resizing=!0,/absolute/.test(h.css("position"))?h.css({position:"absolute",top:h.css("top"),left:h.css("left")}):h.is(".ui-draggable")&&h.css({position:"absolute",top:r.top,left:r.left}),this._renderProxy(),s=e(this.helper.css("left")),n=e(this.helper.css("top")),a.containment&&(s+=t(a.containment).scrollLeft()||0,n+=t(a.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:s,top:n},this.size=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalSize=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalPosition={left:s,top:n},this.sizeDiff={width:h.outerWidth()-h.width(),height:h.outerHeight()-h.height()},this.originalMousePosition={left:i.pageX,top:i.pageY},this.aspectRatio="number"==typeof a.aspectRatio?a.aspectRatio:this.originalSize.width/this.originalSize.height||1,o=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===o?this.axis+"-resize":o),h.addClass("ui-resizable-resizing"),this._propagate("start",i),!0},_mouseDrag:function(e){var i,s=this.helper,n={},o=this.originalMousePosition,a=this.axis,r=this.position.top,h=this.position.left,l=this.size.width,c=this.size.height,u=e.pageX-o.left||0,d=e.pageY-o.top||0,p=this._change[a];return p?(i=p.apply(this,[e,u,d]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),this.position.top!==r&&(n.top=this.position.top+"px"),this.position.left!==h&&(n.left=this.position.left+"px"),this.size.width!==l&&(n.width=this.size.width+"px"),this.size.height!==c&&(n.height=this.size.height+"px"),s.css(n),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(n)||this._trigger("resize",e,this.ui()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&t.ui.hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null,h=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(t){var e,s,n,o,a,r=this.options;a={minWidth:i(r.minWidth)?r.minWidth:0,maxWidth:i(r.maxWidth)?r.maxWidth:1/0,minHeight:i(r.minHeight)?r.minHeight:0,maxHeight:i(r.maxHeight)?r.maxHeight:1/0},(this._aspectRatio||t)&&(e=a.minHeight*this.aspectRatio,n=a.minWidth/this.aspectRatio,s=a.maxHeight*this.aspectRatio,o=a.maxWidth/this.aspectRatio,e>a.minWidth&&(a.minWidth=e),n>a.minHeight&&(a.minHeight=n),a.maxWidth>s&&(a.maxWidth=s),a.maxHeight>o&&(a.maxHeight=o)),this._vBoundaries=a},_updateCache:function(t){this.offset=this.helper.offset(),i(t.left)&&(this.position.left=t.left),i(t.top)&&(this.position.top=t.top),i(t.height)&&(this.size.height=t.height),i(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,s=this.size,n=this.axis;return i(t.height)?t.width=t.height*this.aspectRatio:i(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(s.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(s.height-t.height),t.left=e.left+(s.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,s=this.axis,n=i(t.width)&&e.maxWidth&&e.maxWidtht.width,r=i(t.height)&&e.minHeight&&e.minHeight>t.height,h=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,c=/sw|nw|w/.test(s),u=/nw|ne|n/.test(s);return a&&(t.width=e.minWidth),r&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),o&&(t.height=e.maxHeight),a&&c&&(t.left=h-e.minWidth),n&&c&&(t.left=h-e.maxWidth),r&&u&&(t.top=l-e.minHeight),o&&u&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_proportionallyResize:function(){if(this._proportionallyResizeElements.length){var t,e,i,s,n,o=this.helper||this.element;for(t=0;this._proportionallyResizeElements.length>t;t++){if(n=this._proportionallyResizeElements[t],!this.borderDif)for(this.borderDif=[],i=[n.css("borderTopWidth"),n.css("borderRightWidth"),n.css("borderBottomWidth"),n.css("borderLeftWidth")],s=[n.css("paddingTop"),n.css("paddingRight"),n.css("paddingBottom"),n.css("paddingLeft")],e=0;i.length>e;e++)this.borderDif[e]=(parseInt(i[e],10)||0)+(parseInt(s[e],10)||0);n.css({height:o.height()-this.borderDif[0]-this.borderDif[2]||0,width:o.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("
"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).data("ui-resizable"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&t.ui.hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,c=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var i,s,n,o,a,r,h,l=t(this).data("ui-resizable"),c=l.options,u=l.element,d=c.containment,p=d instanceof t?d.get(0):/parent/.test(d)?u.parent().get(0):d;p&&(l.containerElement=t(p),/document/.test(d)||d===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(i=t(p),s=[],t(["Top","Right","Left","Bottom"]).each(function(t,n){s[t]=e(i.css("padding"+n))}),l.containerOffset=i.offset(),l.containerPosition=i.position(),l.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},n=l.containerOffset,o=l.containerSize.height,a=l.containerSize.width,r=t.ui.hasScroll(p,"left")?p.scrollWidth:a,h=t.ui.hasScroll(p)?p.scrollHeight:o,l.parentData={element:p,left:n.left,top:n.top,width:r,height:h}))},resize:function(e){var i,s,n,o,a=t(this).data("ui-resizable"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio),a.position.top=a._helper?h.top:0),a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top,i=Math.abs((a._helper?a.offset.left-u.left:a.offset.left-u.left)+a.sizeDiff.width),s=Math.abs((a._helper?a.offset.top-u.top:a.offset.top-h.top)+a.sizeDiff.height),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o&&(i-=a.parentData.left),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio))},stop:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).data("ui-resizable"),i=e.options,s=function(e){t(e).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css("left"),10),top:parseInt(e.css("top"),10)})})};"object"!=typeof i.alsoResize||i.alsoResize.parentNode?s(i.alsoResize):i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):t.each(i.alsoResize,function(t){s(t)})},resize:function(e,i){var s=t(this).data("ui-resizable"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0},h=function(e,s){t(e).each(function(){var e=t(this),n=t(this).data("ui-resizable-alsoresize"),o={},a=s&&s.length?s:e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(a,function(t,e){var i=(n[e]||0)+(r[e]||0);i&&i>=0&&(o[e]=i||null)}),e.css(o)})};"object"!=typeof n.alsoResize||n.alsoResize.nodeType?h(n.alsoResize):t.each(n.alsoResize,function(t,e){h(t,e)})},stop:function(){t(this).removeData("resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof i.ghost?i.ghost:""),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).data("ui-resizable");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).data("ui-resizable");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,a=e.axis,r="number"==typeof i.grid?[i.grid,i.grid]:i.grid,h=r[0]||1,l=r[1]||1,c=Math.round((s.width-n.width)/h)*h,u=Math.round((s.height-n.height)/l)*l,d=n.width+c,p=n.height+u,f=i.maxWidth&&d>i.maxWidth,g=i.maxHeight&&p>i.maxHeight,m=i.minWidth&&i.minWidth>d,v=i.minHeight&&i.minHeight>p;i.grid=r,m&&(d+=h),v&&(p+=l),f&&(d-=h),g&&(p-=l),/^(se|s|e)$/.test(a)?(e.size.width=d,e.size.height=p):/^(ne)$/.test(a)?(e.size.width=d,e.size.height=p,e.position.top=o.top-u):/^(sw)$/.test(a)?(e.size.width=d,e.size.height=p,e.position.left=o.left-c):(e.size.width=d,e.size.height=p,e.position.top=o.top-u,e.position.left=o.left-c)}})}(jQuery),function(t){t.widget("ui.selectable",t.ui.mouse,{version:"1.10.3",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e,i=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){e=t(i.options.filter,i.element[0]),e.addClass("ui-selectee"),e.each(function(){var e=t(this),i=e.offset();t.data(this,"selectable-item",{element:this,$element:e,left:i.left,top:i.top,right:i.left+e.outerWidth(),bottom:i.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=e.addClass("ui-selectee"),this._mouseInit(),this.helper=t("
")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(e){var i=this,s=this.options;this.opos=[e.pageX,e.pageY],this.options.disabled||(this.selectees=t(s.filter,this.element[0]),this._trigger("start",e),t(s.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),s.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var s=t.data(this,"selectable-item");s.startselected=!0,e.metaKey||e.ctrlKey||(s.$element.removeClass("ui-selected"),s.selected=!1,s.$element.addClass("ui-unselecting"),s.unselecting=!0,i._trigger("unselecting",e,{unselecting:s.element}))}),t(e.target).parents().addBack().each(function(){var s,n=t.data(this,"selectable-item");return n?(s=!e.metaKey&&!e.ctrlKey||!n.$element.hasClass("ui-selected"),n.$element.removeClass(s?"ui-unselecting":"ui-selected").addClass(s?"ui-selecting":"ui-unselecting"),n.unselecting=!s,n.selecting=s,n.selected=s,s?i._trigger("selecting",e,{selecting:n.element}):i._trigger("unselecting",e,{unselecting:n.element}),!1):undefined}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var i,s=this,n=this.options,o=this.opos[0],a=this.opos[1],r=e.pageX,h=e.pageY;return o>r&&(i=r,r=o,o=i),a>h&&(i=h,h=a,a=i),this.helper.css({left:o,top:a,width:r-o,height:h-a}),this.selectees.each(function(){var i=t.data(this,"selectable-item"),l=!1;i&&i.element!==s.element[0]&&("touch"===n.tolerance?l=!(i.left>r||o>i.right||i.top>h||a>i.bottom):"fit"===n.tolerance&&(l=i.left>o&&r>i.right&&i.top>a&&h>i.bottom),l?(i.selected&&(i.$element.removeClass("ui-selected"),i.selected=!1),i.unselecting&&(i.$element.removeClass("ui-unselecting"),i.unselecting=!1),i.selecting||(i.$element.addClass("ui-selecting"),i.selecting=!0,s._trigger("selecting",e,{selecting:i.element}))):(i.selecting&&((e.metaKey||e.ctrlKey)&&i.startselected?(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.$element.addClass("ui-selected"),i.selected=!0):(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.startselected&&(i.$element.addClass("ui-unselecting"),i.unselecting=!0),s._trigger("unselecting",e,{unselecting:i.element}))),i.selected&&(e.metaKey||e.ctrlKey||i.startselected||(i.$element.removeClass("ui-selected"),i.selected=!1,i.$element.addClass("ui-unselecting"),i.unselecting=!0,s._trigger("unselecting",e,{unselecting:i.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");s.$element.removeClass("ui-unselecting"),s.unselecting=!1,s.startselected=!1,i._trigger("unselected",e,{unselected:s.element})}),t(".ui-selecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");s.$element.removeClass("ui-selecting").addClass("ui-selected"),s.selecting=!1,s.selected=!0,s.startselected=!0,i._trigger("selected",e,{selected:s.element})}),this._trigger("stop",e),this.helper.remove(),!1}})}(jQuery),function(t){function e(t,e,i){return t>e&&e+i>t}function i(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))}t.widget("ui.sortable",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var t=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?"x"===t.axis||i(this.items[0].item):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_setOption:function(e,i){"disabled"===e?(this.options[e]=i,this.widget().toggleClass("ui-sortable-disabled",!!i)):t.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(e,i){var s=null,n=!1,o=this;return this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._refreshItems(e),t(e.target).parents().each(function(){return t.data(this,o.widgetName+"-item")===o?(s=t(this),!1):undefined}),t.data(e.target,o.widgetName+"-item")===o&&(s=t(e.target)),s?!this.options.handle||i||(t(this.options.handle,s).find("*").addBack().each(function(){this===e.target&&(n=!0)}),n)?(this.currentItem=s,this._removeCurrentsFromItems(),!0):!1:!1)},_mouseStart:function(e,i,s){var n,o,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(o=this.document.find("body"),this.storedCursor=o.css("cursor"),o.css("cursor",a.cursor),this.storedStylesheet=t("").appendTo(o)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(n=this.containers.length-1;n>=0;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,s,n,o,a=this.options,r=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY=0;i--)if(s=this.items[i],n=s.item[0],o=this._intersectsWithPointer(s),o&&s.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===o?"next":"prev"]()[0]!==n&&!t.contains(this.placeholder[0],n)&&("semi-dynamic"===this.options.type?!t.contains(this.element[0],n):!0)){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(s))break; +this._rearrange(e,s),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var s=this,n=this.placeholder.offset(),o=this.options.axis,a={};o&&"x"!==o||(a.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(a.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){s._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&s.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))}),!s.length&&e.key&&s.push(e.key+"="),s.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},i.each(function(){s.push(t(e.item||this).attr(e.attribute||"id")||"")}),s},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,n=s+this.helperProportions.height,o=t.left,a=o+t.width,r=t.top,h=r+t.height,l=this.offset.click.top,c=this.offset.click.left,u="x"===this.options.axis||s+l>r&&h>s+l,d="y"===this.options.axis||e+c>o&&a>e+c,p=u&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?p:e+this.helperProportions.width/2>o&&a>i-this.helperProportions.width/2&&s+this.helperProportions.height/2>r&&h>n-this.helperProportions.height/2},_intersectsWithPointer:function(t){var i="x"===this.options.axis||e(this.positionAbs.top+this.offset.click.top,t.top,t.height),s="y"===this.options.axis||e(this.positionAbs.left+this.offset.click.left,t.left,t.width),n=i&&s,o=this._getDragVerticalDirection(),a=this._getDragHorizontalDirection();return n?this.floating?a&&"right"===a||"down"===o?2:1:o&&("down"===o?2:1):!1},_intersectsWithSides:function(t){var i=e(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),s=e(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return this.floating&&o?"right"===o&&s||"left"===o&&!s:n&&("down"===n&&i||"up"===n&&!i)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,s,n,o,a=[],r=[],h=this._connectWith();if(h&&e)for(i=h.length-1;i>=0;i--)for(n=t(h[i]),s=n.length-1;s>=0;s--)o=t.data(n[s],this.widgetFullName),o&&o!==this&&!o.options.disabled&&r.push([t.isFunction(o.options.items)?o.options.items.call(o.element):t(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);for(r.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=r.length-1;i>=0;i--)r[i][0].each(function(){a.push(this)});return t(a)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var i=0;e.length>i;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,s,n,o,a,r,h,l,c=this.items,u=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(i=d.length-1;i>=0;i--)for(n=t(d[i]),s=n.length-1;s>=0;s--)o=t.data(n[s],this.widgetFullName),o&&o!==this&&!o.options.disabled&&(u.push([t.isFunction(o.options.items)?o.options.items.call(o.element[0],e,{item:this.currentItem}):t(o.options.items,o.element),o]),this.containers.push(o));for(i=u.length-1;i>=0;i--)for(a=u[i][1],r=u[i][0],s=0,l=r.length;l>s;s++)h=t(r[s]),h.data(this.widgetName+"-item",a),c.push({item:h,instance:a,width:0,height:0,left:0,top:0})},refreshPositions:function(e){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,s,n,o;for(i=this.items.length-1;i>=0;i--)s=this.items[i],s.instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?t(this.options.toleranceElement,s.item):s.item,e||(s.width=n.outerWidth(),s.height=n.outerHeight()),o=n.offset(),s.left=o.left,s.top=o.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)o=this.containers[i].element.offset(),this.containers[i].containerCache.left=o.left,this.containers[i].containerCache.top=o.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){e=e||this;var i,s=e.options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeholder,s.placeholder={element:function(){var s=e.currentItem[0].nodeName.toLowerCase(),n=t("<"+s+">",e.document[0]).addClass(i||e.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===s?e.currentItem.children().each(function(){t("
",e.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(n)}):"img"===s&&n.attr("src",e.currentItem.attr("src")),i||n.css("visibility","hidden"),n},update:function(t,n){(!i||s.forcePlaceholderSize)&&(n.height()||n.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),n.width()||n.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(s.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),s.placeholder.update(e,e.placeholder)},_contactContainers:function(s){var n,o,a,r,h,l,c,u,d,p,f=null,g=null;for(n=this.containers.length-1;n>=0;n--)if(!t.contains(this.currentItem[0],this.containers[n].element[0]))if(this._intersectsWith(this.containers[n].containerCache)){if(f&&t.contains(this.containers[n].element[0],f.element[0]))continue;f=this.containers[n],g=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",s,this._uiHash(this)),this.containers[n].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[g].containerCache.over||(this.containers[g]._trigger("over",s,this._uiHash(this)),this.containers[g].containerCache.over=1);else{for(a=1e4,r=null,p=f.floating||i(this.currentItem),h=p?"left":"top",l=p?"width":"height",c=this.positionAbs[h]+this.offset.click[h],o=this.items.length-1;o>=0;o--)t.contains(this.containers[g].element[0],this.items[o].item[0])&&this.items[o].item[0]!==this.currentItem[0]&&(!p||e(this.positionAbs.top+this.offset.click.top,this.items[o].top,this.items[o].height))&&(u=this.items[o].item.offset()[h],d=!1,Math.abs(u-c)>Math.abs(u+this.items[o][l]-c)&&(d=!0,u+=this.items[o][l]),a>Math.abs(u-c)&&(a=Math.abs(u-c),r=this.items[o],this.direction=d?"up":"down"));if(!r&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[g])return;r?this._rearrange(s,r,null,!0):this._rearrange(s,null,this.containers[g].element,!0),this._trigger("change",s,this._uiHash()),this.containers[g]._trigger("change",s,this._uiHash(this)),this.currentContainer=this.containers[g],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[g]._trigger("over",s,this._uiHash(this)),this.containers[g].containerCache.over=1}},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||t("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!s[0].style.width||i.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,t("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,(t("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(e=t(n.containment)[0],i=t(n.containment).offset(),s="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:n.scrollLeft())*s}},_generatePosition:function(e){var i,s,n=this.options,o=e.pageX,a=e.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.leftthis.containment[2]&&(o=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),n.grid&&(i=this.originalPageY+Math.round((a-this.originalPageY)/n.grid[1])*n.grid[1],a=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-n.grid[1]:i+n.grid[1]:i,s=this.originalPageX+Math.round((o-this.originalPageX)/n.grid[0])*n.grid[0],o=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-n.grid[0]:s+n.grid[0]:s)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:r.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter;this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)("auto"===this._storedCSS[i]||"static"===this._storedCSS[i])&&(this._storedCSS[i]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&s.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||s.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(s.push(function(t){this._trigger("remove",t,this._uiHash())}),s.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)e||s.push(function(t){return function(e){t._trigger("deactivate",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(function(t){return function(e){t._trigger("out",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!e){for(this._trigger("beforeStop",t,this._uiHash()),i=0;s.length>i;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!1}if(e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!e){for(i=0;s.length>i;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}})}(jQuery),function(t,e){var i="ui-effects-";t.effects={effect:{}},function(t,e){function i(t,e,i){var s=u[e.type]||{};return null==t?i||!e.def?null:e.def:(t=s.floor?~~t:parseFloat(t),isNaN(t)?e.def:s.mod?(t+s.mod)%s.mod:0>t?0:t>s.max?s.max:t)}function s(i){var s=l(),n=s._rgba=[];return i=i.toLowerCase(),f(h,function(t,o){var a,r=o.re.exec(i),h=r&&o.parse(r),l=o.space||"rgba";return h?(a=s[l](h),s[c[l].cache]=a[c[l].cache],n=s._rgba=a._rgba,!1):e}),n.length?("0,0,0,0"===n.join()&&t.extend(n,o.transparent),s):o[i]}function n(t,e,i){return i=(i+1)%1,1>6*i?t+6*(e-t)*i:1>2*i?e:2>3*i?t+6*(e-t)*(2/3-i):t}var o,a="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",r=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],l=t.Color=function(e,i,s,n){return new t.Color.fn.parse(e,i,s,n)},c={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},u={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=l.support={},p=t("

")[0],f=t.each;p.style.cssText="background-color:rgba(1,1,1,.5)",d.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(c,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),l.fn=t.extend(l.prototype,{parse:function(n,a,r,h){if(n===e)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=t(n).css(a),a=e);var u=this,d=t.type(n),p=this._rgba=[];return a!==e&&(n=[n,a,r,h],d="array"),"string"===d?this.parse(s(n)||o._default):"array"===d?(f(c.rgba.props,function(t,e){p[e.idx]=i(n[e.idx],e)}),this):"object"===d?(n instanceof l?f(c,function(t,e){n[e.cache]&&(u[e.cache]=n[e.cache].slice())}):f(c,function(e,s){var o=s.cache;f(s.props,function(t,e){if(!u[o]&&s.to){if("alpha"===t||null==n[t])return;u[o]=s.to(u._rgba)}u[o][e.idx]=i(n[t],e,!0)}),u[o]&&0>t.inArray(null,u[o].slice(0,3))&&(u[o][3]=1,s.from&&(u._rgba=s.from(u[o])))}),this):e},is:function(t){var i=l(t),s=!0,n=this;return f(c,function(t,o){var a,r=i[o.cache];return r&&(a=n[o.cache]||o.to&&o.to(n._rgba)||[],f(o.props,function(t,i){return null!=r[i.idx]?s=r[i.idx]===a[i.idx]:e})),s}),s},_space:function(){var t=[],e=this;return f(c,function(i,s){e[s.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var s=l(t),n=s._space(),o=c[n],a=0===this.alpha()?l("transparent"):this,r=a[o.cache]||o.to(a._rgba),h=r.slice();return s=s[o.cache],f(o.props,function(t,n){var o=n.idx,a=r[o],l=s[o],c=u[n.type]||{};null!==l&&(null===a?h[o]=l:(c.mod&&(l-a>c.mod/2?a+=c.mod:a-l>c.mod/2&&(a-=c.mod)),h[o]=i((l-a)*e+a,n)))}),this[n](h)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),s=i.pop(),n=l(e)._rgba;return l(t.map(i,function(t,e){return(1-s)*n[e]+s*t}))},toRgbaString:function(){var e="rgba(",i=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===i[3]&&(i.pop(),e="rgb("),e+i.join()+")"},toHslaString:function(){var e="hsla(",i=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&3>e&&(t=Math.round(100*t)+"%"),t});return 1===i[3]&&(i.pop(),e="hsl("),e+i.join()+")"},toHexString:function(e){var i=this._rgba.slice(),s=i.pop();return e&&i.push(~~(255*s)),"#"+t.map(i,function(t){return t=(t||0).toString(16),1===t.length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,c.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,s=t[0]/255,n=t[1]/255,o=t[2]/255,a=t[3],r=Math.max(s,n,o),h=Math.min(s,n,o),l=r-h,c=r+h,u=.5*c;return e=h===r?0:s===r?60*(n-o)/l+360:n===r?60*(o-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=u?l/c:l/(2-c),[Math.round(e)%360,i,u,null==a?1:a]},c.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],s=t[2],o=t[3],a=.5>=s?s*(1+i):s+i-s*i,r=2*s-a;return[Math.round(255*n(r,a,e+1/3)),Math.round(255*n(r,a,e)),Math.round(255*n(r,a,e-1/3)),o]},f(c,function(s,n){var o=n.props,a=n.cache,h=n.to,c=n.from;l.fn[s]=function(s){if(h&&!this[a]&&(this[a]=h(this._rgba)),s===e)return this[a].slice();var n,r=t.type(s),u="array"===r||"object"===r?s:arguments,d=this[a].slice();return f(o,function(t,e){var s=u["object"===r?t:e.idx];null==s&&(s=d[e.idx]),d[e.idx]=i(s,e)}),c?(n=l(c(d)),n[a]=d,n):l(d)},f(o,function(e,i){l.fn[e]||(l.fn[e]=function(n){var o,a=t.type(n),h="alpha"===e?this._hsla?"hsla":"rgba":s,l=this[h](),c=l[i.idx];return"undefined"===a?c:("function"===a&&(n=n.call(this,c),a=t.type(n)),null==n&&i.empty?this:("string"===a&&(o=r.exec(n),o&&(n=c+parseFloat(o[2])*("+"===o[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(e){var i=e.split(" ");f(i,function(e,i){t.cssHooks[i]={set:function(e,n){var o,a,r="";if("transparent"!==n&&("string"!==t.type(n)||(o=s(n)))){if(n=l(o||n),!d.rgba&&1!==n._rgba[3]){for(a="backgroundColor"===i?e.parentNode:e;(""===r||"transparent"===r)&&a&&a.style;)try{r=t.css(a,"backgroundColor"),a=a.parentNode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.toRgbaString()}try{e.style[i]=n}catch(h){}}},t.fx.step[i]=function(e){e.colorInit||(e.start=l(e.elem,i),e.end=l(e.end),e.colorInit=!0),t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})},l.hook(a),t.cssHooks.borderColor={expand:function(t){var e={};return f(["Top","Right","Bottom","Left"],function(i,s){e["border"+s+"Color"]=t}),e}},o=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function i(e){var i,s,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,o={};if(n&&n.length&&n[0]&&n[n[0]])for(s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(o[t.camelCase(i)]=n[i]);else for(i in n)"string"==typeof n[i]&&(o[i]=n[i]);return o}function s(e,i){var s,n,a={};for(s in i)n=i[s],e[s]!==n&&(o[s]||(t.fx.step[s]||!isNaN(parseFloat(n)))&&(a[s]=n));return a}var n=["add","remove","toggle"],o={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,i){t.fx.step[i]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(jQuery.style(t.elem,i,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(e,o,a,r){var h=t.speed(o,a,r);return this.queue(function(){var o,a=t(this),r=a.attr("class")||"",l=h.children?a.find("*").addBack():a;l=l.map(function(){var e=t(this);return{el:e,start:i(this)}}),o=function(){t.each(n,function(t,i){e[i]&&a[i+"Class"](e[i])})},o(),l=l.map(function(){return this.end=i(this.el[0]),this.diff=s(this.start,this.end),this}),a.attr("class",r),l=l.map(function(){var e=this,i=t.Deferred(),s=t.extend({},h,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,s),i.promise()}),t.when.apply(t,l.get()).done(function(){o(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),h.complete.call(a[0])})})},t.fn.extend({addClass:function(e){return function(i,s,n,o){return s?t.effects.animateClass.call(this,{add:i},s,n,o):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,s,n,o){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},s,n,o):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(i){return function(s,n,o,a,r){return"boolean"==typeof n||n===e?o?t.effects.animateClass.call(this,n?{add:s}:{remove:s},o,a,r):i.apply(this,arguments):t.effects.animateClass.call(this,{toggle:s},n,o,a)}}(t.fn.toggleClass),switchClass:function(e,i,s,n,o){return t.effects.animateClass.call(this,{add:i,remove:e},s,n,o)}})}(),function(){function s(e,i,s,n){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isFunction(i)&&(n=i,s=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(n=s,s=i,i={}),t.isFunction(s)&&(n=s,s=null),i&&t.extend(e,i),s=s||i.duration,e.duration=t.fx.off?0:"number"==typeof s?s:s in t.fx.speeds?t.fx.speeds[s]:t.fx.speeds._default,e.complete=n||i.complete,e}function n(e){return!e||"number"==typeof e||t.fx.speeds[e]?!0:"string"!=typeof e||t.effects.effect[e]?t.isFunction(e)?!0:"object"!=typeof e||e.effect?!1:!0:!0}t.extend(t.effects,{version:"1.10.3",save:function(t,e){for(var s=0;e.length>s;s++)null!==e[s]&&t.data(i+e[s],t[0].style[e[s]])},restore:function(t,s){var n,o;for(o=0;s.length>o;o++)null!==s[o]&&(n=t.data(i+s[o]),n===e&&(n=""),t.css(s[o],n))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},getBaseline:function(t,e){var i,s;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=t[1]/e.width}return{x:s,y:i}},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var i={width:e.outerWidth(!0),height:e.outerHeight(!0),"float":e.css("float")},s=t("

").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:e.width(),height:e.height()},o=document.activeElement;try{o.id}catch(a){o=document.body}return e.wrap(s),(e[0]===o||t.contains(e[0],o))&&t(o).focus(),s=e.parent(),"static"===e.css("position")?(s.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,s){i[s]=e.css(s),isNaN(parseInt(i[s],10))&&(i[s]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(n),s.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).focus()),e},setTransition:function(e,i,s,n){return n=n||{},t.each(i,function(t,i){var o=e.cssUnit(i);o[0]>0&&(n[i]=o[0]*s+o[1])}),n}}),t.fn.extend({effect:function(){function e(e){function s(){t.isFunction(o)&&o.call(n[0]),t.isFunction(e)&&e()}var n=t(this),o=i.complete,r=i.mode;(n.is(":hidden")?"hide"===r:"show"===r)?(n[r](),s()):a.call(n[0],i,s)}var i=s.apply(this,arguments),n=i.mode,o=i.queue,a=t.effects.effect[i.effect];return t.fx.off||!a?n?this[n](i.duration,i.complete):this.each(function(){i.complete&&i.complete.call(this)}):o===!1?this.each(e):this.queue(o||"fx",e)},show:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="show",this.effect.call(this,i)}}(t.fn.show),hide:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="hide",this.effect.call(this,i)}}(t.fn.hide),toggle:function(t){return function(e){if(n(e)||"boolean"==typeof e)return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="toggle",this.effect.call(this,i)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),s=[];return t.each(["em","px","%","pt"],function(t,e){i.indexOf(e)>0&&(s=[parseFloat(i),e])}),s}})}(),function(){var e={};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,i){e[i]=function(e){return Math.pow(e,t+2)}}),t.extend(e,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;((e=Math.pow(2,--i))-1)/11>t;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,i){t.easing["easeIn"+e]=i,t.easing["easeOut"+e]=function(t){return 1-i(1-t)},t.easing["easeInOut"+e]=function(t){return.5>t?i(2*t)/2:1-i(-2*t+2)/2}})}()}(jQuery),function(t){var e=0,i={},s={};i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="hide",s.height=s.paddingTop=s.paddingBottom=s.borderTopWidth=s.borderBottomWidth="show",t.widget("ui.accordion",{version:"1.10.3",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),e.collapsible||e.active!==!1&&null!=e.active||(e.active=0),this._processPanels(),0>e.active&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t(),content:this.active.length?this.active.next():t()}},_createIcons:function(){var e=this.options.icons;e&&(t("").addClass("ui-accordion-header-icon ui-icon "+e.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(e.header).addClass(e.activeHeader),this.headers.addClass("ui-accordion-icons")) +},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){return"active"===t?(this._activate(e),undefined):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||this.options.active!==!1||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons()),"disabled"===t&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!e),undefined)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var i=t.ui.keyCode,s=this.headers.length,n=this.headers.index(e.target),o=!1;switch(e.keyCode){case i.RIGHT:case i.DOWN:o=this.headers[(n+1)%s];break;case i.LEFT:case i.UP:o=this.headers[(n-1+s)%s];break;case i.SPACE:case i.ENTER:this._eventHandler(e);break;case i.HOME:o=this.headers[0];break;case i.END:o=this.headers[s-1]}o&&(t(e.target).attr("tabIndex",-1),t(o).attr("tabIndex",0),o.focus(),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().focus()},refresh:function(){var e=this.options;this._processPanels(),e.active===!1&&e.collapsible===!0||!this.headers.length?(e.active=!1,this.active=t()):e.active===!1?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var i,s=this.options,n=s.heightStyle,o=this.element.parent(),a=this.accordionId="ui-accordion-"+(this.element.attr("id")||++e);this.active=this._findActive(s.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(e){var i=t(this),s=i.attr("id"),n=i.next(),o=n.attr("id");s||(s=a+"-header-"+e,i.attr("id",s)),o||(o=a+"-panel-"+e,n.attr("id",o)),i.attr("aria-controls",o),n.attr("aria-labelledby",s)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(s.event),"fill"===n?(i=o.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===n&&(i=0,this.headers.next().each(function(){i=Math.max(i,t(this).css("height","").height())}).height(i))},_activate:function(e){var i=this._findActive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),o=n[0]===s[0],a=o&&i.collapsible,r=a?t():n.next(),h=s.next(),l={oldHeader:s,oldPanel:h,newHeader:a?t():n,newPanel:r};e.preventDefault(),o&&!i.collapsible||this._trigger("beforeActivate",e,l)===!1||(i.active=a?!1:this.headers.index(n),this.active=o?t():n,this._toggle(l),s.removeClass("ui-accordion-header-active ui-state-active"),i.icons&&s.children(".ui-accordion-header-icon").removeClass(i.icons.activeHeader).addClass(i.icons.header),o||(n.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),i.icons&&n.children(".ui-accordion-header-icon").removeClass(i.icons.header).addClass(i.icons.activeHeader),n.next().addClass("ui-accordion-content-active")))},_toggle:function(e){var i=e.newPanel,s=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=s,this.options.animate?this._animate(i,s,e):(s.hide(),i.show(),this._toggleComplete(e)),s.attr({"aria-expanded":"false","aria-hidden":"true"}),s.prev().attr("aria-selected","false"),i.length&&s.length?s.prev().attr("tabIndex",-1):i.length&&this.headers.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),i.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(t,e,n){var o,a,r,h=this,l=0,c=t.length&&(!e.length||t.index()",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var e,i,s,n=this.element[0].nodeName.toLowerCase(),o="textarea"===n,a="input"===n;this.isMultiLine=o?!0:a?!1:this.element.prop("isContentEditable"),this.valueMethod=this.element[o||a?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return e=!0,s=!0,i=!0,undefined;e=!1,s=!1,i=!1;var o=t.ui.keyCode;switch(n.keyCode){case o.PAGE_UP:e=!0,this._move("previousPage",n);break;case o.PAGE_DOWN:e=!0,this._move("nextPage",n);break;case o.UP:e=!0,this._keyEvent("previous",n);break;case o.DOWN:e=!0,this._keyEvent("next",n);break;case o.ENTER:case o.NUMPAD_ENTER:this.menu.active&&(e=!0,n.preventDefault(),this.menu.select(n));break;case o.TAB:this.menu.active&&this.menu.select(n);break;case o.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(e)return e=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&s.preventDefault(),undefined;if(!i){var n=t.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(t){return s?(s=!1,t.preventDefault(),undefined):(this._searchTimeout(t),undefined)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,undefined):(clearTimeout(this.searching),this.close(t),this._change(t),undefined)}}),this._initSource(),this.menu=t("
 
"+"",T=u?"":"",w=0;7>w;w++)M=(w+c)%7,T+="=5?" class='ui-datepicker-week-end'":"")+">"+""+p[M]+"";for(P+=T+"",S=this._getDaysInMonth(te,Z),te===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,S)),z=(this._getFirstDayOfMonth(te,Z)-c+7)%7,A=Math.ceil((z+S)/7),H=X?this.maxRows>A?this.maxRows:A:A,this.maxRows=H,E=this._daylightSavingAdjust(new Date(te,Z,1-z)),N=0;H>N;N++){for(P+="",W=u?"":"",w=0;7>w;w++)O=m?m.apply(t.input?t.input[0]:null,[E]):[!0,""],F=E.getMonth()!==Z,R=F&&!_||!O[0]||G&&G>E||J&&E>J,W+="",E.setDate(E.getDate()+1),E=this._daylightSavingAdjust(E);P+=W+""}Z++,Z>11&&(Z=0,te++),P+="
"+this._get(t,"weekHeader")+"
"+this._get(t,"calculateWeek")(E)+""+(F&&!v?" ":R?""+E.getDate()+"":""+E.getDate()+"")+"
"+(X?"
"+(U[0]>0&&D===U[1]-1?"
":""):""),x+=P}y+=x}return y+=l,t._keyEvent=!1,y},_generateMonthYearHeader:function(t,e,i,s,n,o,a,r){var h,l,c,u,d,p,f,g,m=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),_=this._get(t,"showMonthAfterYear"),b="
",y="";if(o||!m)y+=""+a[e]+"";else{for(h=s&&s.getFullYear()===i,l=n&&n.getFullYear()===i,y+=""}if(_||(b+=y+(!o&&m&&v?"":" ")),!t.yearshtml)if(t.yearshtml="",o||!v)b+=""+i+"";else{for(u=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),p=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e},f=p(u[0]),g=Math.max(f,p(u[1]||"")),f=s?Math.max(f,s.getFullYear()):f,g=n?Math.min(g,n.getFullYear()):g,t.yearshtml+="",b+=t.yearshtml,t.yearshtml=null}return b+=this._get(t,"yearSuffix"),_&&(b+=(!o&&m&&v?"":" ")+y),b+="
"},_adjustInstDate:function(t,e,i){var s=t.drawYear+("Y"===i?e:0),n=t.drawMonth+("M"===i?e:0),o=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"===i?e:0),a=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,o)));t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),s=this._getMinMaxDate(t,"max"),n=i&&i>e?i:e;return s&&n>s?s:n},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,s){var n=this._getNumberOfMonths(t),o=this._daylightSavingAdjust(new Date(i,s+(0>e?e:n[0]*n[1]),1));return 0>e&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(t,o)},_isInRange:function(t,e){var i,s,n=this._getMinMaxDate(t,"min"),o=this._getMinMaxDate(t,"max"),a=null,r=null,h=this._get(t,"yearRange");return h&&(i=h.split(":"),s=(new Date).getFullYear(),a=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=s),i[1].match(/[+\-].*/)&&(r+=s)),(!n||e.getTime()>=n.getTime())&&(!o||e.getTime()<=o.getTime())&&(!a||e.getFullYear()>=a)&&(!r||r>=e.getFullYear())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var n=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),n,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).mousedown(t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new i,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.10.3"}(jQuery),function(t){var e={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};t.widget("ui.dialog",{version:"1.10.3",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var i=t(this).css(e).offset().top;0>i&&t(this).css("top",e.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),t=e.parent.children().eq(e.index),t.length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var i=this;this._isOpen&&this._trigger("beforeClose",e)!==!1&&(this._isOpen=!1,this._destroyOverlay(),this.opener.filter(":focusable").focus().length||t(this.document[0].activeElement).blur(),this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var i=!!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length;return i&&!e&&this._trigger("focus",t),i},open:function(){var e=this;return this._isOpen?(this._moveToTop()&&this._focusTabbable(),undefined):(this._isOpen=!0,this.opener=t(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._trigger("open"),undefined)},_focusTabbable:function(){var t=this.element.find("[autofocus]");t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).focus()},_keepFocus:function(e){function i(){var e=this.document[0].activeElement,i=this.uiDialog[0]===e||t.contains(this.uiDialog[0],e);i||this._focusTabbable()}e.preventDefault(),i.call(this),this._delay(i)},_createWrapper:function(){this.uiDialog=t("
").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),this.close(e),undefined;if(e.keyCode===t.ui.keyCode.TAB){var i=this.uiDialog.find(":tabbable"),s=i.filter(":first"),n=i.filter(":last");e.target!==n[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==s[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(n.focus(1),e.preventDefault()):(s.focus(1),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("
").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=t("").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(e),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title||t.html(" "),t.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=t("
").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("
").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(i)||t.isArray(i)&&!i.length?(this.uiDialog.removeClass("ui-dialog-buttons"),undefined):(t.each(i,function(i,s){var n,o;s=t.isFunction(s)?{click:s,text:i}:s,s=t.extend({type:"button"},s),n=s.click,s.click=function(){n.apply(e.element[0],arguments)},o={icons:s.icons,text:s.showText},delete s.icons,delete s.showText,t("",s).button(o).appendTo(e.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog),undefined)},_makeDraggable:function(){function e(t){return{position:t.position,offset:t.offset}}var i=this,s=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(s,n){t(this).addClass("ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",s,e(n))},drag:function(t,s){i._trigger("drag",t,e(s))},stop:function(n,o){s.position=[o.position.left-i.document.scrollLeft(),o.position.top-i.document.scrollTop()],t(this).removeClass("ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",n,e(o))}})},_makeResizable:function(){function e(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size} +}var i=this,s=this.options,n=s.resizable,o=this.uiDialog.css("position"),a="string"==typeof n?n:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._minHeight(),handles:a,start:function(s,n){t(this).addClass("ui-dialog-resizing"),i._blockFrames(),i._trigger("resizeStart",s,e(n))},resize:function(t,s){i._trigger("resize",t,e(s))},stop:function(n,o){s.height=t(this).height(),s.width=t(this).width(),t(this).removeClass("ui-dialog-resizing"),i._unblockFrames(),i._trigger("resizeStop",n,e(o))}}).css("position",o)},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(s){var n=this,o=!1,a={};t.each(s,function(t,s){n._setOption(t,s),t in e&&(o=!0),t in i&&(a[t]=s)}),o&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",a)},_setOption:function(t,e){var i,s,n=this.uiDialog;"dialogClass"===t&&n.removeClass(this.options.dialogClass).addClass(e),"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:""+e}),"draggable"===t&&(i=n.is(":data(ui-draggable)"),i&&!e&&n.draggable("destroy"),!i&&e&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&(s=n.is(":data(ui-resizable)"),s&&!e&&n.resizable("destroy"),s&&"string"==typeof e&&n.resizable("option","handles",e),s||e===!1||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,s=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),e=Math.max(0,s.minHeight-t),i="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-t):"none","auto"===s.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,s.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("
").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return t(e.target).closest(".ui-dialog").length?!0:!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=this,i=this.widgetFullName;t.ui.dialog.overlayInstances||this._delay(function(){t.ui.dialog.overlayInstances&&this.document.bind("focusin.dialog",function(s){e._allowInteraction(s)||(s.preventDefault(),t(".ui-dialog:visible:last .ui-dialog-content").data(i)._focusTabbable())})}),this.overlay=t("
").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),t.ui.dialog.overlayInstances++}},_destroyOverlay:function(){this.options.modal&&this.overlay&&(t.ui.dialog.overlayInstances--,t.ui.dialog.overlayInstances||this.document.unbind("focusin.dialog"),this.overlay.remove(),this.overlay=null)}}),t.ui.dialog.overlayInstances=0,t.uiBackCompat!==!1&&t.widget("ui.dialog",t.ui.dialog,{_position:function(){var e,i=this.options.position,s=[],n=[0,0];i?(("string"==typeof i||"object"==typeof i&&"0"in i)&&(s=i.split?i.split(" "):[i[0],i[1]],1===s.length&&(s[1]=s[0]),t.each(["left","top"],function(t,e){+s[t]===s[t]&&(n[t]=s[t],s[t]=e)}),i={my:s[0]+(0>n[0]?n[0]:"+"+n[0])+" "+s[1]+(0>n[1]?n[1]:"+"+n[1]),at:s.join(" ")}),i=t.extend({},t.ui.dialog.prototype.options.position,i)):i=t.ui.dialog.prototype.options.position,e=this.uiDialog.is(":visible"),e||this.uiDialog.show(),this.uiDialog.position(i),e||this.uiDialog.hide()}})}(jQuery),function(t){var e=/up|down|vertical/,i=/up|left|vertical|horizontal/;t.effects.effect.blind=function(s,n){var o,a,r,h=t(this),l=["position","top","bottom","left","right","height","width"],c=t.effects.setMode(h,s.mode||"hide"),u=s.direction||"up",d=e.test(u),p=d?"height":"width",f=d?"top":"left",g=i.test(u),m={},v="show"===c;h.parent().is(".ui-effects-wrapper")?t.effects.save(h.parent(),l):t.effects.save(h,l),h.show(),o=t.effects.createWrapper(h).css({overflow:"hidden"}),a=o[p](),r=parseFloat(o.css(f))||0,m[p]=v?a:0,g||(h.css(d?"bottom":"right",0).css(d?"top":"left","auto").css({position:"absolute"}),m[f]=v?r:a+r),v&&(o.css(p,0),g||o.css(f,r+a)),o.animate(m,{duration:s.duration,easing:s.easing,queue:!1,complete:function(){"hide"===c&&h.hide(),t.effects.restore(h,l),t.effects.removeWrapper(h),n()}})}}(jQuery),function(t){t.effects.effect.bounce=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","height","width"],h=t.effects.setMode(a,e.mode||"effect"),l="hide"===h,c="show"===h,u=e.direction||"up",d=e.distance,p=e.times||5,f=2*p+(c||l?1:0),g=e.duration/f,m=e.easing,v="up"===u||"down"===u?"top":"left",_="up"===u||"left"===u,b=a.queue(),y=b.length;for((c||l)&&r.push("opacity"),t.effects.save(a,r),a.show(),t.effects.createWrapper(a),d||(d=a["top"===v?"outerHeight":"outerWidth"]()/3),c&&(o={opacity:1},o[v]=0,a.css("opacity",0).css(v,_?2*-d:2*d).animate(o,g,m)),l&&(d/=Math.pow(2,p-1)),o={},o[v]=0,s=0;p>s;s++)n={},n[v]=(_?"-=":"+=")+d,a.animate(n,g,m).animate(o,g,m),d=l?2*d:d/2;l&&(n={opacity:0},n[v]=(_?"-=":"+=")+d,a.animate(n,g,m)),a.queue(function(){l&&a.hide(),t.effects.restore(a,r),t.effects.removeWrapper(a),i()}),y>1&&b.splice.apply(b,[1,0].concat(b.splice(y,f+1))),a.dequeue()}}(jQuery),function(t){t.effects.effect.clip=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","height","width"],h=t.effects.setMode(a,e.mode||"hide"),l="show"===h,c=e.direction||"vertical",u="vertical"===c,d=u?"height":"width",p=u?"top":"left",f={};t.effects.save(a,r),a.show(),s=t.effects.createWrapper(a).css({overflow:"hidden"}),n="IMG"===a[0].tagName?s:a,o=n[d](),l&&(n.css(d,0),n.css(p,o/2)),f[d]=l?o:0,f[p]=l?0:o/2,n.animate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){l||a.hide(),t.effects.restore(a,r),t.effects.removeWrapper(a),i()}})}}(jQuery),function(t){t.effects.effect.drop=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","opacity","height","width"],a=t.effects.setMode(n,e.mode||"hide"),r="show"===a,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h?"pos":"neg",u={opacity:r?1:0};t.effects.save(n,o),n.show(),t.effects.createWrapper(n),s=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity",0).css(l,"pos"===c?-s:s),u[l]=(r?"pos"===c?"+=":"-=":"pos"===c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}})}}(jQuery),function(t){t.effects.effect.explode=function(e,i){function s(){b.push(this),b.length===u*d&&n()}function n(){p.css({visibility:"visible"}),t(b).remove(),g||p.hide(),i()}var o,a,r,h,l,c,u=e.pieces?Math.round(Math.sqrt(e.pieces)):3,d=u,p=t(this),f=t.effects.setMode(p,e.mode||"hide"),g="show"===f,m=p.show().css("visibility","hidden").offset(),v=Math.ceil(p.outerWidth()/d),_=Math.ceil(p.outerHeight()/u),b=[];for(o=0;u>o;o++)for(h=m.top+o*_,c=o-(u-1)/2,a=0;d>a;a++)r=m.left+a*v,l=a-(d-1)/2,p.clone().appendTo("body").wrap("
").css({position:"absolute",visibility:"visible",left:-a*v,top:-o*_}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:v,height:_,left:r+(g?l*v:0),top:h+(g?c*_:0),opacity:g?0:1}).animate({left:r+(g?0:l*v),top:h+(g?0:c*_),opacity:g?1:0},e.duration||500,e.easing,s)}}(jQuery),function(t){t.effects.effect.fade=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"toggle");s.animate({opacity:n},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}}(jQuery),function(t){t.effects.effect.fold=function(e,i){var s,n,o=t(this),a=["position","top","bottom","left","right","height","width"],r=t.effects.setMode(o,e.mode||"hide"),h="show"===r,l="hide"===r,c=e.size||15,u=/([0-9]+)%/.exec(c),d=!!e.horizFirst,p=h!==d,f=p?["width","height"]:["height","width"],g=e.duration/2,m={},v={};t.effects.save(o,a),o.show(),s=t.effects.createWrapper(o).css({overflow:"hidden"}),n=p?[s.width(),s.height()]:[s.height(),s.width()],u&&(c=parseInt(u[1],10)/100*n[l?0:1]),h&&s.css(d?{height:0,width:c}:{height:c,width:0}),m[f[0]]=h?n[0]:c,v[f[1]]=h?n[1]:0,s.animate(m,g,e.easing).animate(v,g,e.easing,function(){l&&o.hide(),t.effects.restore(o,a),t.effects.removeWrapper(o),i()})}}(jQuery),function(t){t.effects.effect.highlight=function(e,i){var s=t(this),n=["backgroundImage","backgroundColor","opacity"],o=t.effects.setMode(s,e.mode||"show"),a={backgroundColor:s.css("backgroundColor")};"hide"===o&&(a.opacity=0),t.effects.save(s,n),s.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(a,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&s.hide(),t.effects.restore(s,n),i()}})}}(jQuery),function(t){t.effects.effect.pulsate=function(e,i){var s,n=t(this),o=t.effects.setMode(n,e.mode||"show"),a="show"===o,r="hide"===o,h=a||"hide"===o,l=2*(e.times||5)+(h?1:0),c=e.duration/l,u=0,d=n.queue(),p=d.length;for((a||!n.is(":visible"))&&(n.css("opacity",0).show(),u=1),s=1;l>s;s++)n.animate({opacity:u},c,e.easing),u=1-u;n.animate({opacity:u},c,e.easing),n.queue(function(){r&&n.hide(),i()}),p>1&&d.splice.apply(d,[1,0].concat(d.splice(p,l+1))),n.dequeue()}}(jQuery),function(t){t.effects.effect.puff=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"hide"),o="hide"===n,a=parseInt(e.percent,10)||150,r=a/100,h={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()};t.extend(e,{effect:"scale",queue:!1,fade:!0,mode:n,complete:i,percent:o?a:100,from:o?h:{height:h.height*r,width:h.width*r,outerHeight:h.outerHeight*r,outerWidth:h.outerWidth*r}}),s.effect(e)},t.effects.effect.scale=function(e,i){var s=t(this),n=t.extend(!0,{},e),o=t.effects.setMode(s,e.mode||"effect"),a=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"hide"===o?0:100),r=e.direction||"both",h=e.origin,l={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()},c={y:"horizontal"!==r?a/100:1,x:"vertical"!==r?a/100:1};n.effect="size",n.queue=!1,n.complete=i,"effect"!==o&&(n.origin=h||["middle","center"],n.restore=!0),n.from=e.from||("show"===o?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*c.y,width:l.width*c.x,outerHeight:l.outerHeight*c.y,outerWidth:l.outerWidth*c.x},n.fade&&("show"===o&&(n.from.opacity=0,n.to.opacity=1),"hide"===o&&(n.from.opacity=1,n.to.opacity=0)),s.effect(n)},t.effects.effect.size=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","width","height","overflow","opacity"],h=["position","top","bottom","left","right","overflow","opacity"],l=["width","height","overflow"],c=["fontSize"],u=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],d=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],p=t.effects.setMode(a,e.mode||"effect"),f=e.restore||"effect"!==p,g=e.scale||"both",m=e.origin||["middle","center"],v=a.css("position"),_=f?r:h,b={height:0,width:0,outerHeight:0,outerWidth:0};"show"===p&&a.show(),s={height:a.height(),width:a.width(),outerHeight:a.outerHeight(),outerWidth:a.outerWidth()},"toggle"===e.mode&&"show"===p?(a.from=e.to||b,a.to=e.from||s):(a.from=e.from||("show"===p?b:s),a.to=e.to||("hide"===p?b:s)),o={from:{y:a.from.height/s.height,x:a.from.width/s.width},to:{y:a.to.height/s.height,x:a.to.width/s.width}},("box"===g||"both"===g)&&(o.from.y!==o.to.y&&(_=_.concat(u),a.from=t.effects.setTransition(a,u,o.from.y,a.from),a.to=t.effects.setTransition(a,u,o.to.y,a.to)),o.from.x!==o.to.x&&(_=_.concat(d),a.from=t.effects.setTransition(a,d,o.from.x,a.from),a.to=t.effects.setTransition(a,d,o.to.x,a.to))),("content"===g||"both"===g)&&o.from.y!==o.to.y&&(_=_.concat(c).concat(l),a.from=t.effects.setTransition(a,c,o.from.y,a.from),a.to=t.effects.setTransition(a,c,o.to.y,a.to)),t.effects.save(a,_),a.show(),t.effects.createWrapper(a),a.css("overflow","hidden").css(a.from),m&&(n=t.effects.getBaseline(m,s),a.from.top=(s.outerHeight-a.outerHeight())*n.y,a.from.left=(s.outerWidth-a.outerWidth())*n.x,a.to.top=(s.outerHeight-a.to.outerHeight)*n.y,a.to.left=(s.outerWidth-a.to.outerWidth)*n.x),a.css(a.from),("content"===g||"both"===g)&&(u=u.concat(["marginTop","marginBottom"]).concat(c),d=d.concat(["marginLeft","marginRight"]),l=r.concat(u).concat(d),a.find("*[width]").each(function(){var i=t(this),s={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};f&&t.effects.save(i,l),i.from={height:s.height*o.from.y,width:s.width*o.from.x,outerHeight:s.outerHeight*o.from.y,outerWidth:s.outerWidth*o.from.x},i.to={height:s.height*o.to.y,width:s.width*o.to.x,outerHeight:s.height*o.to.y,outerWidth:s.width*o.to.x},o.from.y!==o.to.y&&(i.from=t.effects.setTransition(i,u,o.from.y,i.from),i.to=t.effects.setTransition(i,u,o.to.y,i.to)),o.from.x!==o.to.x&&(i.from=t.effects.setTransition(i,d,o.from.x,i.from),i.to=t.effects.setTransition(i,d,o.to.x,i.to)),i.css(i.from),i.animate(i.to,e.duration,e.easing,function(){f&&t.effects.restore(i,l)})})),a.animate(a.to,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){0===a.to.opacity&&a.css("opacity",a.from.opacity),"hide"===p&&a.hide(),t.effects.restore(a,_),f||("static"===v?a.css({position:"relative",top:a.to.top,left:a.to.left}):t.each(["top","left"],function(t,e){a.css(e,function(e,i){var s=parseInt(i,10),n=t?a.to.left:a.to.top;return"auto"===i?n+"px":s+n+"px"})})),t.effects.removeWrapper(a),i()}})}}(jQuery),function(t){t.effects.effect.shake=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","height","width"],a=t.effects.setMode(n,e.mode||"effect"),r=e.direction||"left",h=e.distance||20,l=e.times||3,c=2*l+1,u=Math.round(e.duration/c),d="up"===r||"down"===r?"top":"left",p="up"===r||"left"===r,f={},g={},m={},v=n.queue(),_=v.length;for(t.effects.save(n,o),n.show(),t.effects.createWrapper(n),f[d]=(p?"-=":"+=")+h,g[d]=(p?"+=":"-=")+2*h,m[d]=(p?"-=":"+=")+2*h,n.animate(f,u,e.easing),s=1;l>s;s++)n.animate(g,u,e.easing).animate(m,u,e.easing);n.animate(g,u,e.easing).animate(f,u/2,e.easing).queue(function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}),_>1&&v.splice.apply(v,[1,0].concat(v.splice(_,c+1))),n.dequeue()}}(jQuery),function(t){t.effects.effect.slide=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","width","height"],a=t.effects.setMode(n,e.mode||"show"),r="show"===a,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h,u={};t.effects.save(n,o),n.show(),s=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0),t.effects.createWrapper(n).css({overflow:"hidden"}),r&&n.css(l,c?isNaN(s)?"-"+s:-s:s),u[l]=(r?c?"+=":"-=":c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}})}}(jQuery),function(t){t.effects.effect.transfer=function(e,i){var s=t(this),n=t(e.to),o="fixed"===n.css("position"),a=t("body"),r=o?a.scrollTop():0,h=o?a.scrollLeft():0,l=n.offset(),c={top:l.top-r,left:l.left-h,height:n.innerHeight(),width:n.innerWidth()},u=s.offset(),d=t("
").appendTo(document.body).addClass(e.className).css({top:u.top-r,left:u.left-h,height:s.innerHeight(),width:s.innerWidth(),position:o?"fixed":"absolute"}).animate(c,e.duration,e.easing,function(){d.remove(),i()})}}(jQuery),function(t){t.widget("ui.menu",{version:"1.10.3",defaultElement:"
    ",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,t.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(t){t.preventDefault()},"click .ui-state-disabled > a":function(t){t.preventDefault()},"click .ui-menu-item:has(a)":function(e){var i=t(e.target).closest(".ui-menu-item");!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.mouseHandled=!0,this.select(e),i.has(".ui-menu").length?this.expand(e):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){var i=t(e.currentTarget);i.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(e,i)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.children(".ui-menu-item").eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){t.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){t(e.target).closest(".ui-menu").length||this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=t(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var s,n,o,a,r,h=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:h=!1,n=this.previousFilter||"",o=String.fromCharCode(e.keyCode),a=!1,clearTimeout(this.filterTimer),o===n?a=!0:o=n+o,r=RegExp("^"+i(o),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())}),s=a&&-1!==s.index(this.active.next())?this.active.nextAll(".ui-menu-item"):s,s.length||(o=String.fromCharCode(e.keyCode),r=RegExp("^"+i(o),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())})),s.length?(this.focus(e,s),s.length>1?(this.previousFilter=o,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}h&&e.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i=this.options.icons.submenu,s=this.element.find(this.options.menus);s.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),s=e.prev("a"),n=t("").addClass("ui-menu-icon ui-icon "+i).data("ui-menu-submenu-carat",!0);s.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",s.attr("id"))}),e=s.add(this.element),e.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),e.children(":not(.ui-menu-item)").each(function(){var e=t(this);/[^\-\u2014\u2013\s]/.test(e.text())||e.addClass("ui-widget-content ui-menu-divider")}),e.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){"icons"===t&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu),this._super(t,e)},focus:function(t,e){var i,s;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,s,n,o,a,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-i-s,o=this.activeMenu.scrollTop(),a=this.activeMenu.height(),r=e.height(),0>n?this.activeMenu.scrollTop(o+n):n+r>a&&this.activeMenu.scrollTop(o+n-a+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(i,s)},nextPage:function(e){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())),undefined):(this.next(e),undefined)},previousPage:function(e){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item").first())),undefined):(this.next(e),undefined)},_hasScroll:function(){return this.element.outerHeight()
"),a=n.children()[0];return t("body").append(n),i=a.offsetWidth,n.css("overflow","scroll"),s=a.offsetWidth,i===s&&(s=n[0].clientWidth),n.remove(),o=i-s},getScrollInfo:function(e){var i=e.isWindow?"":e.element.css("overflow-x"),s=e.isWindow?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widths?"left":i>0?"right":"center",vertical:0>o?"top":n>0?"bottom":"middle"};u>p&&p>r(i+s)&&(h.horizontal="center"),d>g&&g>r(n+o)&&(h.vertical="middle"),h.important=a(r(i),r(s))>a(r(n),r(o))?"horizontal":"vertical",e.using.call(this,t,h)}),c.offset(t.extend(I,{using:l}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,o=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-o-n;e.collisionWidth>o?h>0&&0>=l?(i=t.left+h+e.collisionWidth-o-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+o-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=a(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,o=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-o-n;e.collisionHeight>o?h>0&&0>=l?(i=t.top+h+e.collisionHeight-o-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+o-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=a(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,a=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-a-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-a-o,(0>i||r(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>r(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,a=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-a-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-a-o,t.top+p+f+g>c&&(0>s||r(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-h,t.top+p+f+g>u&&(i>0||u>r(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}},function(){var e,i,s,n,o,a=document.getElementsByTagName("body")[0],r=document.createElement("div");e=document.createElement(a?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},a&&t.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(o in s)e.style[o]=s[o];e.appendChild(r),i=a||document.documentElement,i.insertBefore(e,i.firstChild),r.style.cssText="position: absolute; left: 10.7432222px;",n=t(r).offset().left,t.support.offsetFractions=n>10&&11>n,e.innerHTML="",i.removeChild(e)}()}(jQuery),function(t,e){t.widget("ui.progressbar",{version:"1.10.3",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=t("
").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove() +},value:function(t){return t===e?this.options.value:(this.options.value=this._constrainedValue(t),this._refreshValue(),e)},_constrainedValue:function(t){return t===e&&(t=this.options.value),this.indeterminate=t===!1,"number"!=typeof t&&(t=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(i.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("
").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}})}(jQuery),function(t){var e=5;t.widget("ui.slider",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,s=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),o="",a=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)a.push(o);this.handles=n.add(t(a.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,i="";e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=t("
").appendTo(this.element),i="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(i+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):this.range=t([])},_setupEvents:function(){var t=this.handles.add(this.range).filter("a");this._off(t),this._on(t,this._handleEvents),this._hoverable(t),this._focusable(t)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,s,n,o,a,r,h,l,c=this,u=this.options;return u.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(s-c.values(e));(n>i||n===i&&(e===c._lastChangedValue||c.values(e)===u.min))&&(n=i,o=t(this),a=e)}),r=this._start(e,a),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=a,o.addClass("ui-state-active").focus(),h=o.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-h.left-o.width()/2,top:e.pageY-h.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,a,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,s,n,o;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),o=this._valueMin()+s*n,this._trimAlignValue(o)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var s,n,o;this.options.values&&this.options.values.length?(s=this.values(e?0:1),2===this.options.values.length&&this.options.range===!0&&(0===e&&i>s||1===e&&s>i)&&(i=s),i!==this.values(e)&&(n=this.values(),n[e]=i,o=this._trigger("slide",t,{handle:this.handles[e],value:i,values:n}),s=this.values(e?0:1),o!==!1&&this.values(e,i,!0))):i!==this.value()&&(o=this._trigger("slide",t,{handle:this.handles[e],value:i}),o!==!1&&this.value(i))},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("stop",t,i)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._lastChangedValue=e,this._trigger("change",t,i)}},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0),undefined):this._value()},values:function(e,i){var s,n,o;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),this._change(null,e),undefined;if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(s=this.options.values,n=arguments[0],o=0;s.length>o;o+=1)s[o]=this._trimAlignValue(n[o]),this._change(null,o);this._refreshValue()},_setOption:function(e,i){var s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(n=this.options.values.length),t.Widget.prototype._setOption.apply(this,arguments),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=0;n>s;s+=1)this._change(null,s);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,s;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,s=t-i;return 2*Math.abs(i)>=e&&(s+=i>0?e:-e),parseFloat(s.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,s,n,o,a=this.options.range,r=this.options,h=this,l=this._animateOff?!1:r.animate,c={};this.options.values&&this.options.values.length?this.handles.each(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-h._valueMin())),c["horizontal"===h.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[l?"animate":"css"](c,r.animate),h.options.range===!0&&("horizontal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&h.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valueMin(),o=this._valueMax(),i=o!==n?100*((s-n)/(o-n)):0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](c,r.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===a&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:r.animate}),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===a&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(i){var s,n,o,a,r=t(i.target).data("ui-slider-handle-index");switch(i.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i.preventDefault(),!this._keySliding&&(this._keySliding=!0,t(i.target).addClass("ui-state-active"),s=this._start(i,r),s===!1))return}switch(a=this.options.step,n=o=this.options.values&&this.options.values.length?this.values(r):this.value(),i.keyCode){case t.ui.keyCode.HOME:o=this._valueMin();break;case t.ui.keyCode.END:o=this._valueMax();break;case t.ui.keyCode.PAGE_UP:o=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.PAGE_DOWN:o=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;o=this._trimAlignValue(n+a);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;o=this._trimAlignValue(n-a)}this._slide(i,r,o)},click:function(t){t.preventDefault()},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),t(e.target).removeClass("ui-state-active"))}}})}(jQuery),function(t){function e(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.widget("ui.spinner",{version:"1.10.3",defaultElement:"",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e={},i=this.element;return t.each(["min","max","step"],function(t,s){var n=i.attr(s);void 0!==n&&n.length&&(e[s]=n)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,void 0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t),void 0)},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(e){function i(){var t=this.element[0]===this.document[0].activeElement;t||(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s}))}var s;s=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),this._start(e)!==!1&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return t(e.currentTarget).hasClass("ui-state-active")?this._start(e)===!1?!1:(this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e),void 0):void 0},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var t=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=t.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*t.height())&&t.height()>0&&t.height(t.height()),this.options.disabled&&this.disable()},_keydown:function(e){var i=this.options,s=t.ui.keyCode;switch(e.keyCode){case s.UP:return this._repeat(null,1,e),!0;case s.DOWN:return this._repeat(null,-1,e),!0;case s.PAGE_UP:return this._repeat(null,i.page,e),!0;case s.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_uiSpinnerHtml:function(){return""},_buttonHtml:function(){return""+""+""+""+""},_start:function(t){return this.spinning||this._trigger("start",t)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&this._trigger("spin",e,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=""+t,i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,s=this.options;return e=null!==s.min?s.min:0,i=t-e,i=Math.round(i/s.step)*s.step,t=e+i,t=parseFloat(t.toFixed(this._precision())),null!==s.max&&t>s.max?s.max:null!==s.min&&s.min>t?s.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){if("culture"===t||"numberFormat"===t){var i=this._parse(this.element.val());return this.options[t]=e,this.element.val(this._format(i)),void 0}("max"===t||"min"===t||"step"===t)&&"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(e.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(e.down)),this._super(t,e),"disabled"===t&&(e?(this.element.prop("disabled",!0),this.buttons.button("disable")):(this.element.prop("disabled",!1),this.buttons.button("enable")))},_setOptions:e(function(t){this._super(t),this._value(this.element.val())}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},_value:function(t,e){var i;""!==t&&(i=this._parse(t),null!==i&&(e||(i=this._adjustValue(i)),t=this._format(i))),this.element.val(t),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?(e(this._value).call(this,t),void 0):this._parse(this.element.val())},widget:function(){return this.uiSpinner}})}(jQuery),function(t,e){function i(){return++n}function s(t){return t.hash.length>1&&decodeURIComponent(t.href.replace(o,""))===decodeURIComponent(location.href.replace(o,""))}var n=0,o=/#.*$/;t.widget("ui.tabs",{version:"1.10.3",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var e=this,i=this.options;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",i.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),i.active=this._initialActive(),t.isArray(i.disabled)&&(i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),this.active=this.options.active!==!1&&this.anchors.length?this._findActive(i.active):t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var i=this.options.active,s=this.options.collapsible,n=location.hash.substring(1);return null===i&&(n&&this.tabs.each(function(s,o){return t(o).attr("aria-controls")===n?(i=s,!1):e}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===i||-1===i)&&(i=this.tabs.length?0:!1)),i!==!1&&(i=this.tabs.index(this.tabs.eq(i)),-1===i&&(i=s?!1:0)),!s&&i===!1&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(i){var s=t(this.document[0].activeElement).closest("li"),n=this.tabs.index(s),o=!0;if(!this._handlePageNav(i)){switch(i.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:o=!1,n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:return i.preventDefault(),clearTimeout(this.activating),this._activate(n),e;case t.ui.keyCode.ENTER:return i.preventDefault(),clearTimeout(this.activating),this._activate(n===this.options.active?!1:n),e;default:return}i.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,o),i.ctrlKey||(s.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.focus())},_handlePageNav:function(i){return i.altKey&&i.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):i.altKey&&i.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):e},_findNextTab:function(e,i){function s(){return e>n&&(e=0),0>e&&(e=n),e}for(var n=this.tabs.length-1;-1!==t.inArray(s(),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).focus(),t},_setOption:function(t,i){return"active"===t?(this._activate(i),e):"disabled"===t?(this._setupDisabled(i),e):(this._super(t,i),"collapsible"===t&&(this.element.toggleClass("ui-tabs-collapsible",i),i||this.options.active!==!1||this._activate(0)),"event"===t&&this._setupEvents(i),"heightStyle"===t&&this._setupHeightStyle(i),e)},_tabId:function(t){return t.attr("aria-controls")||"ui-tabs-"+i()},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),function(t){return i.index(t)}),this._processTabs(),e.active!==!1&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=t(),this.anchors.each(function(i,n){var o,a,r,h=t(n).uniqueId().attr("id"),l=t(n).closest("li"),c=l.attr("aria-controls");s(n)?(o=n.hash,a=e.element.find(e._sanitizeSelector(o))):(r=e._tabId(l),o="#"+r,a=e.element.find(o),a.length||(a=e._createPanel(r),a.insertAfter(e.panels[i-1]||e.tablist)),a.attr("aria-live","polite")),a.length&&(e.panels=e.panels.add(a)),c&&l.data("ui-tabs-aria-controls",c),l.attr({"aria-controls":o.substring(1),"aria-labelledby":h}),a.attr("aria-labelledby",h)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(e){return t("
").attr("id",e).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(e){t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1);for(var i,s=0;i=this.tabs[s];s++)e===!0||-1!==t.inArray(s,e)?t(i).addClass("ui-state-disabled").attr("aria-disabled","true"):t(i).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=e},_setupEvents:function(e){var i={click:function(t){t.preventDefault()}};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,s=this.element.parent();"fill"===e?(i=s.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height("").height())}).height(i))},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),o=n.closest("li"),a=o[0]===s[0],r=a&&i.collapsible,h=r?t():this._getPanelForTab(o),l=s.length?this._getPanelForTab(s):t(),c={oldTab:s,oldPanel:l,newTab:r?t():o,newPanel:h};e.preventDefault(),o.hasClass("ui-state-disabled")||o.hasClass("ui-tabs-loading")||this.running||a&&!i.collapsible||this._trigger("beforeActivate",e,c)===!1||(i.active=r?!1:this.tabs.index(o),this.active=a?t():o,this.xhr&&this.xhr.abort(),l.length||h.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),h.length&&this.load(this.tabs.index(o),e),this._toggle(e,c))},_toggle:function(e,i){function s(){o.running=!1,o._trigger("activate",e,i)}function n(){i.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),a.length&&o.options.show?o._show(a,o.options.show,s):(a.show(),s())}var o=this,a=i.newPanel,r=i.oldPanel;this.running=!0,r.length&&this.options.hide?this._hide(r,this.options.hide,function(){i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),n()}):(i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),r.hide(),n()),r.attr({"aria-expanded":"false","aria-hidden":"true"}),i.oldTab.attr("aria-selected","false"),a.length&&r.length?i.oldTab.attr("tabIndex",-1):a.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),a.attr({"aria-expanded":"true","aria-hidden":"false"}),i.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(e){var i,s=this._findActive(e);s[0]!==this.active[0]&&(s.length||(s=this.active),i=s.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return e===!1?t():this.tabs.eq(e)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+t+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var e=t(this),i=e.data("ui-tabs-aria-controls");i?e.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var s=this.options.disabled;s!==!1&&(i===e?s=!1:(i=this._getIndex(i),s=t.isArray(s)?t.map(s,function(t){return t!==i?t:null}):t.map(this.tabs,function(t,e){return e!==i?e:null})),this._setupDisabled(s))},disable:function(i){var s=this.options.disabled;if(s!==!0){if(i===e)s=!0;else{if(i=this._getIndex(i),-1!==t.inArray(i,s))return;s=t.isArray(s)?t.merge([i],s).sort():[i]}this._setupDisabled(s)}},load:function(e,i){e=this._getIndex(e);var n=this,o=this.tabs.eq(e),a=o.find(".ui-tabs-anchor"),r=this._getPanelForTab(o),h={tab:o,panel:r};s(a[0])||(this.xhr=t.ajax(this._ajaxSettings(a,i,h)),this.xhr&&"canceled"!==this.xhr.statusText&&(o.addClass("ui-tabs-loading"),r.attr("aria-busy","true"),this.xhr.success(function(t){setTimeout(function(){r.html(t),n._trigger("load",i,h)},1)}).complete(function(t,e){setTimeout(function(){"abort"===e&&n.panels.stop(!1,!0),o.removeClass("ui-tabs-loading"),r.removeAttr("aria-busy"),t===n.xhr&&delete n.xhr},1)})))},_ajaxSettings:function(e,i,s){var n=this;return{url:e.attr("href"),beforeSend:function(e,o){return n._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:o},s))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}})}(jQuery),function(t){function e(e,i){var s=(e.attr("aria-describedby")||"").split(/\s+/);s.push(i),e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(s.join(" ")))}function i(e){var i=e.data("ui-tooltip-id"),s=(e.attr("aria-describedby")||"").split(/\s+/),n=t.inArray(i,s);-1!==n&&s.splice(n,1),e.removeData("ui-tooltip-id"),s=t.trim(s.join(" ")),s?e.attr("aria-describedby",s):e.removeAttr("aria-describedby")}var s=0;t.widget("ui.tooltip",{version:"1.10.3",options:{content:function(){var e=t(this).attr("title")||"";return t("").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(e,i){var s=this;return"disabled"===e?(this[i?"_disable":"_enable"](),this.options[e]=i,void 0):(this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){s._updateContent(e)}),void 0)},_disable:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0)}),this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.is("[title]")&&e.data("ui-tooltip-title",e.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))})},open:function(e){var i=this,s=t(e?e.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&s.parents().each(function(){var e,s=t(this);s.data("ui-tooltip-open")&&(e=t.Event("blur"),e.target=e.currentTarget=this,i.close(e,!0)),s.attr("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._updateContent(s,e))},_updateContent:function(t,e){var i,s=this.options.content,n=this,o=e?e.type:null;return"string"==typeof s?this._open(e,t,s):(i=s.call(t[0],function(i){t.data("ui-tooltip-open")&&n._delay(function(){e&&(e.type=o),this._open(e,t,i)})}),i&&this._open(e,t,i),void 0)},_open:function(i,s,n){function o(t){l.of=t,a.is(":hidden")||a.position(l)}var a,r,h,l=t.extend({},this.options.position); +if(n){if(a=this._find(s),a.length)return a.find(".ui-tooltip-content").html(n),void 0;s.is("[title]")&&(i&&"mouseover"===i.type?s.attr("title",""):s.removeAttr("title")),a=this._tooltip(s),e(s,a.attr("id")),a.find(".ui-tooltip-content").html(n),this.options.track&&i&&/^mouse/.test(i.type)?(this._on(this.document,{mousemove:o}),o(i)):a.position(t.extend({of:s},this.options.position)),a.hide(),this._show(a,this.options.show),this.options.show&&this.options.show.delay&&(h=this.delayedShow=setInterval(function(){a.is(":visible")&&(o(l.of),clearInterval(h))},t.fx.interval)),this._trigger("open",i,{tooltip:a}),r={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var i=t.Event(e);i.currentTarget=s[0],this.close(i,!0)}},remove:function(){this._removeTooltip(a)}},i&&"mouseover"!==i.type||(r.mouseleave="close"),i&&"focusin"!==i.type||(r.focusout="close"),this._on(!0,s,r)}},close:function(e){var s=this,n=t(e?e.currentTarget:this.element),o=this._find(n);this.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&n.attr("title",n.data("ui-tooltip-title")),i(n),o.stop(!0),this._hide(o,this.options.hide,function(){s._removeTooltip(t(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete s.parents[e]}),this.closing=!0,this._trigger("close",e,{tooltip:o}),this.closing=!1)},_tooltip:function(e){var i="ui-tooltip-"+s++,n=t("
").attr({id:i,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return t("
").addClass("ui-tooltip-content").appendTo(n),n.appendTo(this.document[0].body),this.tooltips[i]=e,n},_find:function(e){var i=e.data("ui-tooltip-id");return i?t("#"+i):t()},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_destroy:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0),t("#"+i).remove(),s.data("ui-tooltip-title")&&(s.attr("title",s.data("ui-tooltip-title")),s.removeData("ui-tooltip-title"))})}})}(jQuery); \ No newline at end of file diff --git a/common/js/plugins/ui/jquery.ui.datepicker-ko.js b/common/js/plugins/ui/jquery.ui.datepicker-ko.js index 61ea6eaf8..af36f3d6b 100644 --- a/common/js/plugins/ui/jquery.ui.datepicker-ko.js +++ b/common/js/plugins/ui/jquery.ui.datepicker-ko.js @@ -1,20 +1,23 @@ /* Korean initialisation for the jQuery calendar extension. */ -/* Written by DaeKwon Kang (ncrash.dk@gmail.com). */ - jQuery.datepicker.regional['ko'] = { +/* Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie. */ +jQuery(function($){ + $.datepicker.regional['ko'] = { closeText: '닫기', prevText: '이전달', nextText: '다음달', currentText: '오늘', - monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', - '7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], - monthNamesShort: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', - '7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], - dayNames: ['일','월','화','수','목','금','토'], + monthNames: ['1월','2월','3월','4월','5월','6월', + '7월','8월','9월','10월','11월','12월'], + monthNamesShort: ['1월','2월','3월','4월','5월','6월', + '7월','8월','9월','10월','11월','12월'], + dayNames: ['일요일','월요일','화요일','수요일','목요일','금요일','토요일'], dayNamesShort: ['일','월','화','수','목','금','토'], dayNamesMin: ['일','월','화','수','목','금','토'], weekHeader: 'Wk', dateFormat: 'yy-mm-dd', firstDay: 0, isRTL: false, - showMonthAfterYear: false, + showMonthAfterYear: true, yearSuffix: '년'}; + $.datepicker.setDefaults($.datepicker.regional['ko']); +}); diff --git a/common/js/plugins/ui/plugin.load b/common/js/plugins/ui/plugin.load index b497ba25b..49fcfdc53 100644 --- a/common/js/plugins/ui/plugin.load +++ b/common/js/plugins/ui/plugin.load @@ -1,3 +1,3 @@ jquery-ui.min.js -jquery-ui.css +jquery-ui.min.css jquery.ui.datepicker-ko.js From 608cdf138a4f2a15c9ef3ffaf86494d440cf893a Mon Sep 17 00:00:00 2001 From: bnu Date: Sun, 24 Nov 2013 00:37:11 +0900 Subject: [PATCH 119/473] =?UTF-8?q?grunt=20=E2=80=98jshint=E2=80=99task?= =?UTF-8?q?=EC=97=90=EC=84=9C=20jQuery=20=ED=8C=8C=EC=9D=BC=20=EC=A0=9C?= =?UTF-8?q?=EC=99=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gruntfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Gruntfile.js b/Gruntfile.js index 4bc54e98d..96e01d794 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -118,6 +118,7 @@ module.exports = function(grunt) { 'modules/widget/tpl/js/generate_code.js', 'modules/widget/tpl/js/widget.js', 'modules/widget/tpl/js/widget_admin.js', + '!**/jquery*.js', '!**/*.min.js', '!**/*-packed.js' ], From 0ea0e78599bc413620665aed1dc030ed9e36721d Mon Sep 17 00:00:00 2001 From: bnu Date: Sun, 24 Nov 2013 00:38:49 +0900 Subject: [PATCH 120/473] minify --- modules/editor/skins/xpresseditor/js/xpresseditor.js | 4 +++- modules/editor/skins/xpresseditor/js/xpresseditor.min.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/editor/skins/xpresseditor/js/xpresseditor.js b/modules/editor/skins/xpresseditor/js/xpresseditor.js index a0a8c1361..4013aa264 100644 --- a/modules/editor/skins/xpresseditor/js/xpresseditor.js +++ b/modules/editor/skins/xpresseditor/js/xpresseditor.js @@ -5378,11 +5378,13 @@ xe.XE_AutoSave = $.Class({ $ON_MSG_APP_READY : function() { var elTitle = $(this.form._saved_doc_title); var elContent = $(this.form._saved_doc_content); + var elDocument_srl = $(this.form._saved_doc_document_srl); var title = $.trim(elTitle.val()); var content = $.trim(elContent.val()); + var document_srl = $.trim(elDocument_srl.val()); - if (title || content) { + if (title || content || document_srl) { if (confirm(this.form._saved_doc_message.value)) { $(this.form.title).val(title); this.oApp.setIR(content); diff --git a/modules/editor/skins/xpresseditor/js/xpresseditor.min.js b/modules/editor/skins/xpresseditor/js/xpresseditor.min.js index 360ee9a62..ae6bcccc4 100644 --- a/modules/editor/skins/xpresseditor/js/xpresseditor.min.js +++ b/modules/editor/skins/xpresseditor/js/xpresseditor.min.js @@ -1,4 +1,4 @@ function editorStart_xe(a,b,c,d,e,f,g,h){function i(){try{var a,b=q.contentWindow.document;if("about:blank"==b.location)throw"blank";b.body.innerHTML=b.body.innerHTML.trim(),a=b.body.innerHTML,p.registerPlugin(new xe.XE_EditingArea_WYSIWYG(q)),p.registerPlugin(new xe.XpressRangeManager(q)),p.registerPlugin(new xe.XE_ExecCommand(q)),g&&!b.body.style.fontFamily&&(b.body.style.fontFamily=g),h&&!b.body.style.fontSize&&(b.body.style.fontSize=h),p.run()}catch(c){setTimeout(i,0)}}"undefined"==typeof e&&(e="white"),"undefined"==typeof f&&(f="xeStyle"),"undefined"==typeof g&&(g=""),"undefined"==typeof h&&(h="");var j=request_uri+"modules/editor/styles/"+f+"/editor.html",k=jQuery("#xpress-editor-"+a),l=jQuery(''),m=jQuery(''),n=k.get(0).form;n.setAttribute("editor_sequence",a),k.css("display","none");var o="";jQuery("input[name=content]",n).size()>0&&(o=jQuery("input[name=content]",n).val().replace(/src=\"files\/attach/g,'src="'+request_uri+"files/attach"),jQuery("#xpress-editor-"+a).val(o)),k.hide().css("width","100%").before(l).after(m);var p=new xe.XpressCore,q=l.get(0),r=k.get(0),t=m.get(0),u=jQuery(".xpress-editor",n).get(0);p.getFrame=function(){return q},p.getContent=function(){editorGetContentTextarea_xe(a)};var v=n[c].value;return xFF&&!v&&(v="
"),v=editorReplacePath(v),n[c].value=v,jQuery("#xpress-editor-"+a).val(v),editorRelKeys[a]=new Array,editorRelKeys[a].primary=n[b],editorRelKeys[a].content=n[c],editorRelKeys[a].func=editorGetContentTextarea_xe,editorRelKeys[a].editor=p,editorRelKeys[a].pasteHTML=function(a){p.exec("PASTE_HTML",[a])},xe.Editors[a]=p,p.registerPlugin(new xe.CorePlugin(null)),p.registerPlugin(new xe.XE_PreservTemplate(jQuery("#xpress-editor-"+a).val())),p.registerPlugin(new xe.StringConverterManager),p.registerPlugin(new xe.XE_EditingAreaManager("WYSIWYG",r,{nHeight:parseInt(d),nMinHeight:100},null,u)),p.registerPlugin(new xe.XE_EditingArea_HTMLSrc(t)),p.registerPlugin(new xe.XE_EditingAreaVerticalResizer(u)),p.registerPlugin(new xe.Utils),p.registerPlugin(new xe.DialogLayerManager),p.registerPlugin(new xe.ActiveLayerManager),p.registerPlugin(new xe.Hotkey),p.registerPlugin(new xe.XE_WYSIWYGStyler),p.registerPlugin(new xe.XE_WYSIWYGStyleGetter),p.registerPlugin(new xe.MessageManager(xe.XpressCore.oMessageMap)),p.registerPlugin(new xe.XE_Toolbar(u)),p.registerPlugin(new xe.XE_XHTMLFormatter),p.registerPlugin(new xe.XE_GET_WYSYWYG_MODE(a)),jQuery("ul.extra1").length&&(p.registerPlugin(new xe.XE_ColorPalette(u)),p.registerPlugin(new xe.XE_FontColor(u)),p.registerPlugin(new xe.XE_BGColor(u)),p.registerPlugin(new xe.XE_Quote(u)),p.registerPlugin(new xe.XE_FontNameWithSelectUI(u)),p.registerPlugin(new xe.XE_FontSizeWithSelectUI(u)),p.registerPlugin(new xe.XE_LineHeightWithSelectUI(u)),p.registerPlugin(new xe.XE_UndoRedo),p.registerPlugin(new xe.XE_Table(u)),p.registerPlugin(new xe.XE_Hyperlink(u)),p.registerPlugin(new xe.XE_FormatWithSelectUI(u)),p.registerPlugin(new xe.XE_SCharacter(u))),jQuery("ul.extra2").length&&p.registerPlugin(new xe.XE_Extension(u,a)),jQuery("ul.extra3").length&&p.registerPlugin(new xe.XE_EditingModeToggler(u)),jQuery("#editorresize").length&&p.registerPlugin(new xe.XE_Editorresize(u,q)),jQuery.browser.msie||jQuery.browser.opera||p.registerPlugin(new xe.XE_WYSIWYGEnterKey(q)),(s=n._saved_doc_title)&&p.registerPlugin(new xe.XE_AutoSave(r,u)),i(),p}function editorGetContentTextarea_xe(a){var b=xe.Editors[a]||null;if(!b)return"";var c=b.getIR();if(!jQuery.trim(c.replace(/( |<\/?(p|br|span|div)([^>]+)?>)/gi,"")))return"";if(c=c.replace(/
$/i,""),c.length<1024){var d=Array("#text","A","BR","IMG","EM","STRONG","SPAN","BIG","CITE","CODE","DD","DFN","HR","INS","KBD","LINK","Q","SAMP","SMALL","SUB","SUP","TT"),e=!0,f=jQuery("
"+c+"
").eq(0),g=f.contents();jQuery.each(g,function(){3!=this.nodeType&&-1==jQuery.inArray(this.nodeName,d)&&(e=!1)}),e&&(c="

"+c+"

")}return c=c.replace(/src\s?=\s?(["']?)(?:\.\.\/)+(files\/attach\/)/gi,function(a,b,c){return"src="+(b||"")+c}),c=c.replace(/\<(\/)?([A-Z]+)([^>]*)\>/gi,function(a,b,c,d){return d=d?d.replace(/ ([A-Z]+?)\=/gi,function(a,b){return b=b.toLowerCase()," "+b+"="}):"",c=c.toLowerCase(),b||(b=""),"<"+b+c+d+">"}),c=c.replace("
","
")}function editorGetIframe(a){return jQuery("iframe#editor_iframe_"+a).get(0)}function editorReplaceHTML(a,b){b=editorReplacePath(b);var c=parseInt(a.id.replace(/^.*_/,""),10);editorRelKeys[c].pasteHTML(b)}function editorReplacePath(a){return a=a.replace(/\<([^\>\<]*)(src=|href=|url\()("|\')*([^"\'\)]+)("|\'|\))*(\s|>)*/gi,function(a,b,c,d,e,f,g){"url("==c?(d="",f=")"):("undefined"==typeof d&&(d='"'),"undefined"==typeof f&&(f='"'),"undefined"==typeof g&&(g=""));var h=jQuery.trim(e).replace(/^\.\//,"");return/^(http\:|https\:|ftp\:|telnet\:|mms\:|mailto\:|\/|\.\.|\#)/i.test(h)?a:"<"+b+c+d+request_uri+h+f+g})}function editorGetAutoSavedDoc(a){var b=new Array;b.mid=current_mid,b.editor_sequence=a.getAttribute("editor_sequence"),setTimeout(function(){var a=new Array("error","message","editor_sequence","title","content","document_srl");exec_xml("editor","procEditorLoadSavedDocument",b,function(a){editorRelKeys[b.editor_sequence].primary.value=a.document_srl,"object"==typeof uploadSettingObj[b.editor_sequence]&&editorUploadInit(uploadSettingObj[b.editor_sequence],!0)},a)},0)}!function(a){function b(b){function c(a){return function(){return a.apply(this.$this,arguments)}}var d=b.prototype;this.prototype.$super={};for(var e in d)d.propertyIsEnumerable(e)&&("undefined"==typeof this.prototype[e]&&(this.prototype[e]=d[e]),this.prototype.$super[e]=a.isFunction(d[e])?c(d[e]):d[e]);return this}a.extend({Class:function(c){function d(){"undefined"!=typeof this.$super&&(this.$super.$this=this),a.isFunction(this.$init)&&this.$init.apply(this,arguments)}return d.prototype=c,d.constructor=d,d.extend=b,d},$:function(b){return"string"==typeof b?"<"==b.substring(0,1)?a(b).get(0):a("#"+b).get(0):b},fnBind:function(b,c){var d=a.makeArray(arguments);return d.shift(),d.shift(),function(){var e=d.concat(a.makeArray(arguments));return b.apply(c,e)}}}),a.browser.nVersion=parseFloat(a.browser.version),"undefined"==typeof window.xe&&(window.xe={}),xe.XpressCore=a.Class({name:"XpressCore",$init:function(b){b=b?a.Class({}).extend({oDebugger:null}).extend(b):{},b.oDebugger&&(this.oDebugger=b.oDebugger,this.oDebugger.oApp=this),this.commandQueue=[],this.oCommandMap={},this.oDisabledCommand={},this.aPlugins=[],this.appStatus=xe.APP_STATUS.NOT_READY,this.registerPlugin(this)},exec:function(a,b,c){return this.appStatus==xe.APP_STATUS.NOT_READY?(this.commandQueue[this.commandQueue.length]={msg:a,args:b,event:c},!0):(this.exec=this._exec,this.exec(a,b,c),void 0)},delayedExec:function(b,c,d,e){var f=a.fnBind(this.exec,this,b,c,e);setTimeout(f,d)},_exec:function(a,b,c){return(this._exec=this.oDebugger?this._execWithDebugger:this._execWithoutDebugger).call(this,a,b,c)},_execWithDebugger:function(a,b,c){this.oDebugger.log_MessageStart(a,b);var d=this._doExec(a,b,c);return this.oDebugger.log_MessageEnd(a,b),d},_execWithoutDebugger:function(a,b,c){return this._doExec(a,b,c)},_doExec:function(a,b,c){var d=!1;if(!this.oDisabledCommand[a]){var e=[];if(b&&b.length)for(var f=b.length,g=0;f>g;g++)e[g]=b[g];c&&(e[e.length]=c);var d=!0;d=this._execMsgStep("BEFORE",a,e),d&&(d=this._execMsgStep("ON",a,e)),d&&(d=this._execMsgStep("AFTER",a,e))}return d},registerPlugin:function(a){if(!a)throw"An error occured in registerPlugin(): invalid plug-in";return a.nIdx=this.aPlugins.length,a.oApp=this,this.aPlugins[a.nIdx]=a,a.status!=xe.PLUGIN_STATUS.NOT_READY&&(a.status=xe.PLUGIN_STATUS.READY),this.exec("MSG_PLUGIN_REGISTERED",[a]),a.nIdx},disableCommand:function(a,b){this.oDisabledCommand[a]=b},registerBrowserEvent:function(b,c,d,e,f){if(b){e=e||[];var g=f?a.fnBind(this.delayedExec,this,d,e,f):a.fnBind(this.exec,this,d,e);a(b).bind(c,g)}},run:function(){this._changeAppStatus(xe.APP_STATUS.WAITING_FOR_PLUGINS_READY);var a=this.commandQueue.length;for(i=0;a>i;i++){var b=this.commandQueue[i];this.exec(b.msg,b.args,b.event)}this._waitForPluginReady()},createCommandMap:function(a){this.oCommandMap[a]=[];for(var b=this.aPlugins.length,c=0;b>c;c++)this._doAddToCommandMap(a,this.aPlugins[c])},addToCommandMap:function(a,b){this.oCommandMap[a]&&this._addToCommandMap(a,b)},_changeAppStatus:function(a){this.appStatus=a,this.appStatus==xe.APP_STATUS.READY&&this.exec("MSG_APP_READY")},_execMsgStep:function(a,b,c){return(this._execMsgStep=this.oDebugger?this._execMsgStepWithDebugger:this._execMsgStepWithoutDebugger).call(this,a,b,c)},_execMsgStepWithDebugger:function(a,b,c){this.oDebugger.log_MessageStepStart(a,b,c);var d=this._execMsgHandler("$"+a+"_"+b,c);return this.oDebugger.log_MessageStepEnd(a,b,c),d},_execMsgStepWithoutDebugger:function(a,b,c){return this._execMsgHandler("$"+a+"_"+b,c)},_execMsgHandler:function(a,b){this.oCommandMap[a]||this.createCommandMap(a);var c=this.oCommandMap[a],d=c.length;if(0==d)return!0;var e,f=!0;if(a.match(/^\$(BEFORE|ON|AFTER)_MSG_APP_READY$/)){for(var g=0;d>g;g++)if(e=this._execHandler(c[g],a,b),e===!1){f=!1;break}}else for(var g=0;d>g;g++)if(("function"!=typeof c[g].$PRECONDITION||this._execHandler(c[g],"$PRECONDITION",[a,b]))&&(e=this._execHandler(c[g],a,b),e===!1)){f=!1;break}return f},_execHandler:function(a,b,c){return(this._execHandler=this.oDebugger?this._execHandlerWithDebugger:this._execHandlerWithoutDebugger).call(this,a,b,c)},_execHandlerWithDebugger:function(a,b,c){this.oDebugger.log_CallHandlerStart(a,b,c);var d=a[b].apply(a,c);return this.oDebugger.log_CallHandlerEnd(a,b,c),d},_execHandlerWithoutDebugger:function(a,b,c){return a[b].apply(a,c)},_doAddToCommandMap:function(a,b){"function"==typeof b[a]&&(this.oCommandMap[a][this.oCommandMap[a].length]=b)},_waitForPluginReady:function(){for(var b=!0,c=0;cb)return b;var i=b-1,j=a[b].cloneNode(!1);for(a[b]==e&&(c=j),a[b]==f&&(d=j);i>=0&&xe.DOMFix.parentNode(a[i])==a[b];)i=this._recurConstructClonedTree(a,i,a[b],j,c,d);return h.insertBefore(j,h.firstChild),i},a[a.length]=xe.DOMFix.parentNode(a[a.length-1]),_recurConstructClonedTree(a,a.length-1,a[a.length-1],b),{oStartContainer:c,oEndContainer:d}},cloneRange:function(){return this._copyRange(new xe.W3CDOMRange(this._document))},_copyRange:function(a){return a.collapsed=this.collapsed,a.commonAncestorContainer=this.commonAncestorContainer,a.endContainer=this.endContainer,a.endOffset=this.endOffset,a.startContainer=this.startContainer,a.startOffset=this.startOffset,a._document=this._document,a},collapse:function(a){a?(this.endContainer=this.startContainer,this.endOffset=this.startOffset):(this.startContainer=this.endContainer,this.startOffset=this.endOffset),this._updateRangeInfo()},compareBoundaryPoints:function(a,b){switch(a){case xe.W3CDOMRange.START_TO_START:return this._compareEndPoint(this.startContainer,this.startOffset,b.startContainer,b.startOffset);case xe.W3CDOMRange.START_TO_END:return this._compareEndPoint(this.endContainer,this.endOffset,b.startContainer,b.startOffset);case xe.W3CDOMRange.END_TO_END:return this._compareEndPoint(this.endContainer,this.endOffset,b.endContainer,b.endOffset);case xe.W3CDOMRange.END_TO_START:return this._compareEndPoint(this.startContainer,this.startOffset,b.endContainer,b.endOffset)}},_findBody:function(a){if(!a)return null;for(;a;){if("BODY"==a.tagName)return a;a=xe.DOMFix.parentNode(a)}return null},_compareEndPoint:function(a,b,c,d){var e,f;a&&this._findBody(a)==this._document.body||(a=this._document.body,b=0),c&&this._findBody(c)==this._document.body||(c=this._document.body,d=0);var g=function(a,b){return-1==b&&(b=a+1),b>a?-1:a==b?0:1},h=this._getCommonAncestorContainer(a,c),i=a;if(i!=h){for(;(oTmpNode=xe.DOMFix.parentNode(i))!=h;)i=oTmpNode;e=this._getPosIdx(i)+.5}else e=b;var j=c;if(j!=h){for(;(oTmpNode=xe.DOMFix.parentNode(j))!=h;)j=oTmpNode;f=this._getPosIdx(j)+.5}else f=d;return g(e,f)},_getCommonAncestorContainer:function(a,b){for(var c=b;a;){for(;c;){if(a==c)return a;c=xe.DOMFix.parentNode(c)}c=b,a=xe.DOMFix.parentNode(a)}return this._document.body},deleteContents:function(){if(!this.collapsed){this._splitTextEndNodesOfTheRange();var a=this._getNodesInRange();if(!(a.length<1)){for(var b=a[0].previousSibling;b&&this._isBlankTextNode(b);)b=b.previousSibling;var c,d;b||(c=xe.DOMFix.parentNode(a[0]),d=0);for(var e=0;ea.nodeValue.length&&(b=a.nodeValue.length):b>xe.DOMFix.childNodes(a).length&&(b=xe.DOMFix.childNodes(a).length),b},setEnd:function(a,b){b=this._endsNodeValidation(a,b),this.endContainer=a,this.endOffset=b,this.startContainer&&-1==this._compareEndPoint(this.startContainer,this.startOffset,this.endContainer,this.endOffset)||this.collapse(!1),this._updateRangeInfo()},setEndAfter:function(a){if(!a)throw new Error("INVALID_NODE_TYPE_ERR in setEndAfter");return"BODY"==a.tagName?(this.setEnd(a,xe.DOMFix.childNodes(a).length),void 0):(this.setEnd(xe.DOMFix.parentNode(a),this._getPosIdx(a)+1),void 0)},setEndBefore:function(a){if(!a)throw new Error("INVALID_NODE_TYPE_ERR in setEndBefore");return"BODY"==a.tagName?(this.setEnd(a,0),void 0):(this.setEnd(xe.DOMFix.parentNode(a),this._getPosIdx(a)),void 0)},setStart:function(a,b){b=this._endsNodeValidation(a,b),this.startContainer=a,this.startOffset=b,this.endContainer&&-1==this._compareEndPoint(this.startContainer,this.startOffset,this.endContainer,this.endOffset)||this.collapse(!0),this._updateRangeInfo()},setStartAfter:function(a){if(!a)throw new Error("INVALID_NODE_TYPE_ERR in setStartAfter");return"BODY"==a.tagName?(this.setStart(a,xe.DOMFix.childNodes(a).length),void 0):(this.setStart(xe.DOMFix.parentNode(a),this._getPosIdx(a)+1),void 0)},setStartBefore:function(a){if(!a)throw new Error("INVALID_NODE_TYPE_ERR in setStartBefore");return"BODY"==a.tagName?(this.setStart(a,0),void 0):(this.setStart(xe.DOMFix.parentNode(a),this._getPosIdx(a)),void 0)},surroundContents:function(a){a.appendChild(this.extractContents()),this.insertNode(a),this.selectNode(a)},toString:function(){var a=this._document.createElement("DIV");return a.appendChild(this.cloneContents()),a.textContent||a.innerText||""},_isBlankTextNode:function(a){return 3==a.nodeType&&""==a.nodeValue?!0:!1},_getPosIdx:function(a){for(var b=0,c=a.previousSibling;c;c=c.previousSibling)b++;return b},_updateRangeInfo:function(){return this.startContainer?(this.collapsed=this._isCollapsed(this.startContainer,this.startOffset,this.endContainer,this.endOffset),this.commonAncestorContainer=this._getCommonAncestorContainer(this.startContainer,this.endContainer),void 0):(this.init(this._document),void 0)},_isCollapsed:function(a,b,c,d){var e=!1;if(a==c&&b==d)e=!0;else{var f=this._getActualStartNode(a,b),g=this._getActualEndNode(c,d);f=this._getNextNode(this._getPrevNode(f)),g=this._getPrevNode(this._getNextNode(g)),f&&g&&"BODY"!=g.tagName&&(this._getNextNode(g)==f||g==f&&this._isBlankTextNode(g))&&(e=!0)}return e},_splitTextEndNodesOfTheRange:function(){var a=this._splitTextEndNodes({oStartContainer:this.startContainer,iStartOffset:this.startOffset,oEndContainer:this.endContainer,iEndOffset:this.endOffset});this.startContainer=a.oStartContainer,this.startOffset=a.iStartOffset,this.endContainer=a.oEndContainer,this.endOffset=a.iEndOffset},_splitTextEndNodes:function(a){return a=this._splitStartTextNode(a),a=this._splitEndTextNode(a)},_splitStartTextNode:function(a){var b=a.oStartContainer,c=a.iStartOffset,d=a.oEndContainer,e=a.iEndOffset;if(!b)return a;if(3!=b.nodeType)return a;if(0==c)return a;if(b.nodeValue.length<=c)return a;var f=b.splitText(c);return b==d&&(e-=c,d=f),b=f,c=0,{oStartContainer:b,iStartOffset:c,oEndContainer:d,iEndOffset:e}},_splitEndTextNode:function(a){var b=a.oStartContainer,c=a.iStartOffset,d=a.oEndContainer,e=a.iEndOffset;return d?3!=d.nodeType?a:e>=d.nodeValue.length?a:0==e?a:(d.splitText(e),{oStartContainer:b,iStartOffset:c,oEndContainer:d,iEndOffset:e}):a},_getNodesInRange:function(){if(this.collapsed)return[];var a=this._getActualStartNode(this.startContainer,this.startOffset),b=this._getActualEndNode(this.endContainer,this.endOffset);return this._getNodesBetween(a,b)},_getActualStartNode:function(a,b){var c=a;return 3==a.nodeType?b>=a.nodeValue.length?(c=this._getNextNode(a),"BODY"==c.tagName&&(c=null)):c=a:b=this.startContainer.nodeValue.length?this._getNextNode(this.startContainer):this.startContainer:this.startOffset>=xe.DOMFix.childNodes(this.startContainer).length?this._getNextNode(this.startContainer):xe.DOMFix.childNodes(this.startContainer)[this.startOffset]},getEndNode:function(){return this.collapsed?this.getStartNode():3==this.endContainer.nodeType?0==this.endOffset?this._getPrevNode(this.endContainer):this.endContainer:0==this.endOffset?this._getPrevNode(this.endContainer):xe.DOMFix.childNodes(this.endContainer)[this.endOffset-1]},getNodeAroundRange:function(a,b){if(this.collapsed&&this.startContainer&&3==this.startContainer.nodeType)return this.startContainer;if(!this.collapsed||this.startContainer&&3==this.startContainer.nodeType)return this.getStartNode();var c,d,e;return d=this.startOffset>=xe.DOMFix.childNodes(this.startContainer).length?this._getNextNode(this.startContainer):xe.DOMFix.childNodes(this.startContainer)[this.startOffset],c=0==this.endOffset?this._getPrevNode(this.endContainer):xe.DOMFix.childNodes(this.endContainer)[this.endOffset-1],a?(e=c,e||b||(e=d)):(e=d,e||b||(e=c)),e},_getXPath:function(a){for(var b="";a&&1==a.nodeType;)b="/"+a.tagName+"["+this._getPosIdx4XPath(a)+"]"+b,a=xe.DOMFix.parentNode(a);return b},_getPosIdx4XPath:function(a){for(var b=0,c=a.previousSibling;c;c=c.previousSibling)c.tagName==a.tagName&&b++;return b},_evaluateXPath:function(a,b){a=a.substring(1,a.length-1);for(var c=a.split(/\//),d=b.body,e=2;el;l++)h[l].tagName==f&&(i[k++]=h[l]);d=i.length-1&&e){for(var f=xe.DOMFix.childNodes(e),g=null,h=c,i=d;(g=f[h])&&3==g.nodeType&&g.nodeValue.length=b&&e>=0?!0:bIncludePartlyIncluded?1==c?!1:-1==d?!1:!0:!1},isNodeInRange:function(a,b,c){var d=new xe.XpressRange(this._window);return c&&a.firstChild?(d.setStartBefore(a.firstChild),d.setEndAfter(a.lastChild)):d.selectNode(a),isRangeInRange(d,b)},pasteHTML:function(a){if(""==a)return this.deleteContents(),void 0;var b=this._document.createElement("DIV");b.innerHTML=a;for(var c=b.firstChild,d=b.lastChild,e=this.cloneRange(),f=e.placeStringBookmark();b.lastChild;)this.insertNode(b.lastChild);this.setEndNodes(c,d),e.moveToBookmark(f),e.deleteContents(),e.removeStringBookmark(f)},toString:function(){return this.toString=xe.W3CDOMRange.prototype.toString,this.toString()},toHTMLString:function(){var a=this._document.createElement("DIV");return a.appendChild(this.cloneContents()),a.innerHTML},findAncestorByTagName:function(a){for(var b=this.commonAncestorContainer;b&&b.tagName!=a;)b=xe.DOMFix.parentNode(b);return b},selectNodeContents:function(a){if(a){var b=a.firstChild?a.firstChild:a,c=a.lastChild?a.lastChild:a;3==b.nodeType?this.setStart(b,0):this.setStartBefore(b),3==c.nodeType?this.setEnd(c,c.nodeValue.length):this.setEndAfter(c)}},styleRange:function(b,c,d){var e=this._getStyleParentNodes(d);if(!(e.length<1)){for(var f,g,h=0;ho;o++)if(c=k[o],c&&3==c.nodeType&&""!=c.nodeValue){if(h=xe.DOMFix.parentNode(c),"SPAN"==h.tagName){var p=a(h).html();if(d=this._getVeryFirstRealChild(h),f=d==c?1:p.indexOf(d),-1!=f&&(d=this._getVeryLastRealChild(h),g=d==c?1:p.indexOf(d)),-1!=f&&-1!=g){l[m++]=h;continue}}e=this._document.createElement("SPAN"),h.insertBefore(e,c),e.appendChild(c),l[m++]=e,b&&e.setAttribute(b,"true")}return this.setStartBefore(i),this.setEndAfter(j),l},_getVeryFirstChild:function(a){return a.firstChild?this._getVeryFirstChild(a.firstChild):a},_getVeryLastChild:function(a){return a.lastChild?this._getVeryLastChild(a.lastChild):a},_getFirstRealChild:function(a){for(var b=a.firstChild;b&&3==b.nodeType&&""==b.nodeValue;)b=b.nextSibling;return b},_getLastRealChild:function(a){for(var b=a.lastChild;b&&3==b.nodeType&&""==b.nodeValue;)b=b.previousSibling;return b},_getVeryFirstRealChild:function(a){var b=this._getFirstRealChild(a);return b?this._getVeryFirstRealChild(b):a},_getVeryLastRealChild:function(a){var b=this._getLastRealChild(a);return b?this._getVeryLastChild(b):a},_getLineStartInfo:function(a){function b(a){if(a&&!d){if(h.test(a.tagName))return f=a,d=e,g=!0,void 0;e=a,c(a.previousSibling),d||b(xe.DOMFix.parentNode(a))}}function c(a){if(a&&!d){if(h.test(a.tagName))return f=a,d=e,g=!1,void 0;if(a.firstChild&&"TABLE"!=a.tagName)for(var b=a.lastChild;b&&!d;)c(b),b=b.previousSibling;else e=a;d||c(a.previousSibling)}}var d=null,e=a,f=a,g=!0,h=this.rxLineBreaker;return b(a),{oNode:d,oLineBreaker:f,bParentBreak:g}},_getLineEndInfo:function(a){function b(a){if(a&&!d){if(h.test(a.tagName))return f=a,d=e,g=!0,void 0;e=a,c(a.nextSibling),d||b(xe.DOMFix.parentNode(a))}}function c(a){if(a&&!d){if(h.test(a.tagName))return f=a,d=e,g=!1,void 0;if(a.firstChild&&"TABLE"!=a.tagName)for(var b=a.firstChild;b&&!d;)c(b),b=b.nextSibling;else e=a;d||c(a.nextSibling)}}var d=null,e=a,f=a,g=!0,h=this.rxLineBreaker;return b(a),{oNode:d,oLineBreaker:f,bParentBreak:g}},getLineInfo:function(){var a=this.getStartNode(),b=this.getEndNode();a||(a=this.getNodeAroundRange(!0,!0)),b||(b=this.getNodeAroundRange(!0,!0));var c=this._getLineStartInfo(a),d=c.oNode,e=this._getLineEndInfo(b),f=e.oNode,g=this._compareEndPoint(xe.DOMFix.parentNode(d),this._getPosIdx(d),this.endContainer,this.endOffset),h=this._compareEndPoint(xe.DOMFix.parentNode(f),this._getPosIdx(f)+1,this.startContainer,this.startOffset);return 0>=g&&h>=0||(a=this.getNodeAroundRange(!1,!0),b=this.getNodeAroundRange(!1,!0),c=this._getLineStartInfo(a),e=this._getLineEndInfo(b)),{oStart:c,oEnd:e}}}).extend(xe.W3CDOMRange),xe.SimpleSelection=function(b){this.init=function(a){this._window=a||window,this._document=this._window.document},this.init(b),a.browser.msie?xe.SimpleSelectionImpl_IE.apply(this):xe.SimpleSelectionImpl_FF.apply(this),this.selectRange=function(a){this.selectNone(),this.addRange(a)},this.selectionLoaded=!0,this._oSelection||(this.selectionLoaded=!1)},xe.SimpleSelectionImpl_FF=function(){this._oSelection=this._window.getSelection(),this.getRangeAt=function(a){a=a||0;try{var b=this._oSelection.getRangeAt(a)}catch(c){return new xe.W3CDOMRange(this._document)}return this._FFRange2W3CRange(b)},this.addRange=function(a){var b=this._W3CRange2FFRange(a);this._oSelection.addRange(b)},this.selectNone=function(){this._oSelection.removeAllRanges()},this._FFRange2W3CRange=function(a){var b=new xe.W3CDOMRange(this._document);return b.setStart(a.startContainer,a.startOffset),b.setEnd(a.endContainer,a.endOffset),b},this._W3CRange2FFRange=function(a){var b=this._document.createRange(); return b.setStart(a.startContainer,a.startOffset),b.setEnd(a.endContainer,a.endOffset),b}},xe.SimpleSelectionImpl_IE=function(){this._oSelection=this._document.selection,this.getRangeAt=function(a){if(a=a||0,"Control"==this._oSelection.type){var b=new xe.W3CDOMRange(this._document),c=this._oSelection.createRange().item(a);return c&&c.ownerDocument==this._document?(b.selectNode(c),b):b}var c=this._oSelection.createRangeCollection().item(a).parentElement();if(!c||c.ownerDocument!=this._document){var b=new xe.W3CDOMRange(this._document);return b}return this._IERange2W3CRange(this._oSelection.createRangeCollection().item(a))},this.addRange=function(a){var b=this._W3CRange2IERange(a);b.select()},this.selectNone=function(){this._oSelection.empty()},this._W3CRange2IERange=function(a){var b=this._getIERangeAt(a.startContainer,a.startOffset),c=this._getIERangeAt(a.endContainer,a.endOffset);return b.setEndPoint("EndToEnd",c),b},this._getIERangeAt=function(a,b){var c=this._document.body.createTextRange(),d=this._getSelectableNodeAndOffsetForIE(a,b),e=d.oSelectableNodeForIE,f=d.iOffsetForIE;return c.moveToElementText(e),c.collapse(d.bCollapseToStart),c.moveStart("character",f),c},this._getSelectableNodeAndOffsetForIE=function(a,b){var c=this._document.body.createTextRange(),d=null,e=null,f=0;3==a.nodeType?(d=xe.DOMFix.parentNode(a),e=xe.DOMFix.childNodes(d),f=e.length):(d=a,e=xe.DOMFix.childNodes(d),f=b);for(var g=null,h=0,i=!0,j=0;f>j;j++)if(g=e[j],3==g.nodeType){if(g==a)break;h+=g.nodeValue.length}else c.moveToElementText(g),d=g,h=0,i=!1;return 3==a.nodeType&&(h+=b),{oSelectableNodeForIE:d,iOffsetForIE:h,bCollapseToStart:i}},this._IERange2W3CRange=function(a){var b=new xe.W3CDOMRange(this._document),c=null,d=null;c=a.duplicate(),c.collapse(!0),d=this._getW3CContainerAndOffset(c,!0),b.setStart(d.oContainer,d.iOffset);var e=a.duplicate();return e.collapse(!0),e.isEqual(a)?b.collapse(!0):(c=a.duplicate(),c.collapse(!1),d=this._getW3CContainerAndOffset(c),b.setEnd(d.oContainer,d.iOffset)),b},this._getW3CContainerAndOffset=function(a,b){for(var c=a,d=c.parentElement(),e=-1,f=this._document.body.createTextRange(),g=xe.DOMFix.childNodes(d),h=null,i=0,j=0;j=0)break;h=g[j]}var i=j;if(0!=i&&3==g[i-1].nodeType){var k=this._document.body.createTextRange(),l=null;h?(k.moveToElementText(h),k.collapse(!1),l=h.nextSibling):(k.moveToElementText(d),k.collapse(!0),l=d.firstChild);var m=c.duplicate();m.setEndPoint("StartToStart",k);for(var n=m.text.length;n>l.nodeValue.length&&l.nextSibling;)n-=l.nodeValue.length,l=l.nextSibling;{l.nodeValue}b&&l.nextSibling&&3==l.nextSibling.nodeType&&n==l.nodeValue.length&&(n-=l.nodeValue.length,l=l.nextSibling),d=l,e=n}else d=c.parentElement(),e=i;return{oContainer:d,iOffset:e}}},xe.DOMFix=new(a.Class({$init:function(){a.browser.msie||a.browser.opera?(this.childNodes=this._childNodes_Fix,this.parentNode=this._parentNode_Fix):(this.childNodes=this._childNodes_Native,this.parentNode=this._parentNode_Native)},_parentNode_Native:function(a){return a.parentNode},_parentNode_Fix:function(a){if(!a)return a;for(;a.previousSibling;)a=a.previousSibling;return a.parentNode},_childNodes_Native:function(a){return a.childNodes},_childNodes_Fix:function(a){var b=null,c=0;if(a){var b=[];for(a=a.firstChild;a;)b[c++]=a,a=a.nextSibling}return b}})),xe.DraggableLayer=a.Class({$init:function(b,c){this.oOptions=a.extend({bModal:"false",oHandle:b,iMinX:-999999,iMinY:-999999,iMaxX:999999,iMaxY:999999},c),this.oHandle=this.oOptions.oHandle,b.style.display="block",b.style.position="absolute",b.style.zIndex="9999",this.aBasePosition=this.getBaseOffset(b),b.style.top=this.toInt(a(b).offset().top)-this.aBasePosition.top+"px",b.style.left=this.toInt(a(b).offset().left)-this.aBasePosition.left+"px",this.$FnMouseDown=a.fnBind(this._mousedown,this,b),this.$FnMouseMove=a.fnBind(this._mousemove,this,b),this.$FnMouseUp=a.fnBind(this._mouseup,this,b),a(this.oHandle).bind("mousedown",this.$FnMouseDown)},_mousedown:function(b,c){"INPUT"!=c.target.tagName&&(this.MouseOffsetY=c.pageY-this.toInt(b.style.top)-this.aBasePosition.top,this.MouseOffsetX=c.pageX-this.toInt(b.style.left)-this.aBasePosition.left,a(b).bind("mousemove",this.$FnMouseMove),a(b).bind("mouseup",this.$FnMouseUp))},_mousemove:function(a,b){var c=b.pageY-this.MouseOffsetY-this.aBasePosition.top,d=b.pageX-this.MouseOffsetX-this.aBasePosition.left;cthis.oOptions.iMaxY&&(c=this.oOptions.iMaxY),dthis.oOptions.iMaxX&&(d=this.oOptions.iMaxX),a.style.top=c+"px",a.style.left=d+"px"},_mouseup:function(b){a(b).unbind("mousemove",this.$FnMouseMove),a(b).unbind("mouseup",this.$FnMouseUp)},toInt:function(a){var b=parseInt(a);return b||0},findNonStatic:function(b){return b?"BODY"==b.tagName?b:a(b).css("position").match(/absolute|relative/i)?b:this.findNonStatic(b.offsetParent):null},getBaseOffset:function(b){var c=this.findNonStatic(b.offsetParent),d=a(c).offset();return{top:d.top,left:d.left}}}),xe.CorePlugin=a.Class({name:"CorePlugin",$init:function(a){this.funcOnReady=a},$AFTER_MSG_APP_READY:function(){this.oApp.exec("EXEC_ON_READY_FUNCTION",[])},$ON_ADD_APP_PROPERTY:function(a,b){this.oApp[a]=b},$ON_REGISTER_BROWSER_EVENT:function(a,b,c,d,e){this.oApp.registerBrowserEvent(a,b,c,d,e)},$ON_DISABLE_COMMAND:function(a){this.oApp.disableCommand(a,!0)},$ON_ENABLE_COMMAND:function(a){this.oApp.disableCommand(a,!1)},$ON_EXEC_ON_READY_FUNCTION:function(){"function"==typeof this.funcOnReady&&this.funcOnReady()}}),xe.Utils=a.Class({name:"Utils",$init:function(){if(a.browser.msie&&6==a.browser.nVersion)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(b){}},$ON_ATTACH_HOVER_EVENTS:function(b,c){c=c||"hover",b&&a(b).hover(function(){a(this).addClass(c)},function(){a(this).removeClass(c)})}}),xe.XpressRangeManager=a.Class({name:"XpressRangeManager",oWindow:null,$init:function(a){this.oWindow=a||window},$BEFORE_MSG_APP_READY:function(){this.oWindow&&"IFRAME"==this.oWindow.tagName&&(this.oWindow=this.oWindow.contentWindow),this.oApp.exec("ADD_APP_PROPERTY",["getSelection",a.fnBind(this.getSelection,this)]),this.oApp.exec("ADD_APP_PROPERTY",["getEmptySelection",a.fnBind(this.getEmptySelection,this)])},$ON_SET_EDITING_WINDOW:function(a){this.oWindow=a},getEmptySelection:function(){var a=new xe.XpressRange(this.oWindow);return a},getSelection:function(){this.oApp.exec("RESTORE_IE_SELECTION",[]);var a=this.getEmptySelection();try{a.setFromSelection()}catch(b){}return a}}),xe.Hotkey=a.Class({name:"Hotkey",storage:{},keyhash:{},$init:function(){this.storage={},this.keyhash={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,meta:224,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,left:37,up:38,right:39,down:40,del:46,comma:188,period:190,slash:191,hyphen:109,equal:61},(a.browser.msie||a.browser.safari)&&(this.keyhash.hyphen=189,this.keyhash.equal=187,this.keyhash.meta=91)},$ON_MSG_APP_READY:function(){a(this.oApp.getWYSIWYGDocument()||document).keydown(a.fnBind(this.keydown,this))},$ON_REGISTER_HOTKEY:function(b,c,d){d||(d=[]);var e=a.fnBind(this.oApp.exec,this.oApp,c,d);return(b=this.normalize(b))?(this.add(b,e),void 0):!1},add:function(a,b){"undefined"==typeof this.storage[a]?this.storage[a]=[b]:this.storage[a].push(b)},keydown:function(b){var c=[],d=this.keyhash;if(!(a.inArray(b.keyCode,[d.shift,d.ctrl,d.alt,d.meta])>=0)&&(b.shiftKey&&c.push("shift"),b.altKey&&c.push("alt"),b.ctrlKey&&c.push("ctrl"),b.metaKey&&c.push("meta"),c.length&&(1==c.length&&b.metaKey&&(c=["ctrl","meta"]),c.push(b.keyCode),c=c.join("+"),this.storage[c])))return a.each(this.storage[c],function(){this()}),!1},normalize:function(b){var c,d,e,f,g,h=(b||"").toLowerCase().split("+");return c=d=e=f=g=!1,a.each(h,function(){var a=""+this;switch(a){case"shift":c=!0;case"alt":e=!0;case"ctrl":d=!0;case"meta":f=!0;default:g=a}}),g?(h=[],c&&h.push("shift"),e&&h.push("alt"),d&&h.push("ctrl"),(f||d&&!c&&!e)&&h.push("meta"),h.push(this.keyhash[g]||g.toUpperCase().charCodeAt(0)),h.join("+")):""}}),xe.DialogLayerManager=a.Class({name:"DialogLayerManager",aMadeDraggable:null,aOpenedLayers:null,$init:function(){this.aMadeDraggable=[],this.aOpenedLayers=[]},$ON_SHOW_DIALOG_LAYER:function(b,c){b=a.$(b),c=a.$(c)||!1,b&&-1==a.inArray(b,this.aOpenedLayers)&&(this.oApp.exec("POSITION_DIALOG_LAYER",[b]),this.aOpenedLayers[this.aOpenedLayers.length]=b,-1==a.inArray(b,this.aMadeDraggable)?(new xe.DraggableLayer(b,{bModal:c,iMinY:0}),this.aMadeDraggable[this.aMadeDraggable.length]=b):b.style.display="block")},$ON_HIDE_LAST_DIALOG_LAYER:function(){this.oApp.exec("HIDE_DIALOG_LAYER",[this.aOpenedLayers[this.aOpenedLayers.length-1]])},$ON_HIDE_ALL_DIALOG_LAYER:function(){for(var a=this.aOpenedLayers.length-1;a>=0;a--)this.oApp.exec("HIDE_DIALOG_LAYER",[this.aOpenedLayers[a]])},$ON_HIDE_DIALOG_LAYER:function(b){b=a.$(b),b&&(b.style.display="none"),this.aOpenedLayers=a.grep(this.aOpenedLayers,function(a){return a!=b})},$ON_SET_DIALOG_LAYER_POSITION:function(a,b,c){a.style.top=b,a.style.left=c}}),xe.ActiveLayerManager=a.Class({name:"ActiveLayerManager",oCurrentLayer:null,$ON_TOGGLE_ACTIVE_LAYER:function(a,b,c,d,e){a==this.oCurrentLayer?this.oApp.exec("HIDE_ACTIVE_LAYER",[]):(this.oApp.exec("SHOW_ACTIVE_LAYER",[a,d,e]),b&&this.oApp.exec(b,c))},$ON_SHOW_ACTIVE_LAYER:function(b,c,d){b=a.$(b),this.sOnCloseCmd=c,this.aOnCloseParam=d;var e=this.oCurrentLayer;b!=e&&(this.oApp.exec("HIDE_ACTIVE_LAYER",[]),b.style.display="block",this.oCurrentLayer=b)},$ON_HIDE_ACTIVE_LAYER:function(){var a=this.oCurrentLayer;a&&(a.style.display="none",this.oCurrentLayer=null,this.sOnCloseCmd&&this.oApp.exec(this.sOnCloseCmd,this.aOnCloseParam))},$ON_HIDE_CURRENT_ACTIVE_LAYER:function(){this.oApp.exec("HIDE_ACTIVE_LAYER",[])},$ON_EVENT_EDITING_AREA_KEYDOWN:function(){this.oApp.exec("HIDE_ACTIVE_LAYER",[])},$ON_EVENT_EDITING_AREA_MOUSEDOWN:function(){this.oApp.exec("HIDE_ACTIVE_LAYER",[])}}),xe.StringConverterManager=a.Class({name:"StringConverterManager",oConverters:null,$init:function(){this.oConverters={}},$BEFORE_MSG_APP_READY:function(){this.oApp.exec("ADD_APP_PROPERTY",["applyConverter",a.fnBind(this.applyConverter,this)]),this.oApp.exec("ADD_APP_PROPERTY",["addConverter",a.fnBind(this.addConverter,this)])},applyConverter:function(a,b){var c=this.oConverters[a];if(!c)return b;for(var d=0;df;f++)if(e.test(c[f].className)){var g=RegExp.$1;if(null!=this.htUIList[g])continue;this.htUIList[g]=a(">*:first-child",c[f]).get(0)}},$ON_MSG_APP_READY:function(){this.oApp.registerBrowserEvent(this.toolbarArea,"mouseover","EVENT_TOOLBAR_MOUSEOVER",[]),this.oApp.registerBrowserEvent(this.toolbarArea,"mouseout","EVENT_TOOLBAR_MOUSEOUT",[]),this.oApp.exec("ADD_APP_PROPERTY",["getToolbarButtonByUIName",a.fnBind(this.getToolbarButtonByUIName,this)])},$ON_EVENT_TOOLBAR_MOUSEOVER:function(b){"BUTTON"==b.target.tagName&&a(b.target).addClass("hover").parent("span").addClass("hover")},$ON_EVENT_TOOLBAR_MOUSEOUT:function(b){"BUTTON"==b.target.tagName&&a(b.target).removeClass("hover").parent("span").removeClass("hover")},$ON_TOGGLE_TOOLBAR_ACTIVE_LAYER:function(a,b,c,d,e,f){this.oApp.exec("TOGGLE_ACTIVE_LAYER",[a,"MSG_TOOLBAR_LAYER_SHOWN",[a,b,c,d],e,f])},$ON_MSG_TOOLBAR_LAYER_SHOWN:function(a,b,c,d){this.oApp.exec("POSITION_TOOLBAR_LAYER",[a,b]),c&&this.oApp.exec(c,d)},$ON_SHOW_TOOLBAR_ACTIVE_LAYER:function(a,b,c,d){this.oApp.exec("SHOW_ACTIVE_LAYER",[a,b,c]),this.oApp.exec("POSITION_TOOLBAR_LAYER",[a,d])},$ON_ENABLE_UI:function(b){var c=this.htUIList[b];if(c){a(c).removeClass("off"),c.disabled=!1;var d="";if(this.aUICmdMap[b])for(var e=0;ef&&(b.style.left=f-e-5+"px")}},getToolbarButtonByUIName:function(a){return this.htUIList[a]}}),xe.XE_EditingAreaManager=a.Class({name:"XE_EditingAreaManager",oActivePlugin:null,oIRField:null,bIsDirty:!1,$init:function(b,c,d,e,f){this.sInitialMode=b,this.oIRField=a.$(c),this._assignHTMLObjects(f),this.fOnBeforeUnload=e,this.oEditingMode={},this.elEditingAreaContainer.style.height=parseInt(d.nHeight||this.elEditingAreaContainer.offsetHeight)+"px",this.nMinHeight=d.nMinHeight||10,this.niMinWidth=d.nMinWidth||10},_assignHTMLObjects:function(b){b=a.$(b)||document,this.elEditingAreaContainer=a("DIV.xpress_xeditor_editing_area_container",b).get(0),this.elEditingAreaSkipUI=a("A.skip",b).get(0)},$BEFORE_MSG_APP_READY:function(){this.oApp.exec("ADD_APP_PROPERTY",["elEditingAreaContainer",this.elEditingAreaContainer]),this.oApp.exec("ADD_APP_PROPERTY",["getIR",a.fnBind(this.getIR,this)]),this.oApp.exec("ADD_APP_PROPERTY",["setIR",this.setIR]),this.oApp.exec("ADD_APP_PROPERTY",["getEditingMode",a.fnBind(this.getEditingMode,this)])},$ON_MSG_APP_READY:function(){this.oApp.exec("CHANGE_EDITING_MODE",[this.sInitialMode,!0]),this.oApp.exec("LOAD_IR_FIELD",[!1]),this.oApp.registerBrowserEvent(this.elEditingAreaSkipUI,"focus","MSG_EDITING_AREA_SIZE_CHANGED",[],50),this.oApp.registerBrowserEvent(this.elEditingAreaSkipUI,"blur","MSG_EDITING_AREA_SIZE_CHANGED",[],50)},$AFTER_MSG_APP_READY:function(){this.oApp.exec("UPDATE_IR_FIELD",[])},$ON_LOAD_IR_FIELD:function(a){this.oApp.setIR(this.oIRField.value,a)},$ON_UPDATE_IR_FIELD:function(){this.oIRField.value=this.oApp.getIR()},$BEFORE_CHANGE_EDITING_MODE:function(a){this._oPrevActivePlugin=this.oActivePlugin,this.oActivePlugin=this.oEditingMode[a]},$AFTER_CHANGE_EDITING_MODE:function(a,b){if(this._oPrevActivePlugin){var c=this._oPrevActivePlugin.getIR();this.oApp.exec("SET_IR",[c]),this.oApp.exec("ENABLE_UI",[this._oPrevActivePlugin.sMode]),this._setEditingAreaDimension()}this.oApp.exec("DISABLE_UI",[this.oActivePlugin.sMode]),b||this.oApp.exec("FOCUS",[])},$ON_SET_IS_DIRTY:function(a){this.bIsDirty=a},$ON_FOCUS:function(){this.oActivePlugin&&"function"==typeof this.oActivePlugin.setIR&&this.oActivePlugin.focus()},$BEFORE_SET_IR:function(a,b){b=b||!1,b||this.oApp.exec("RECORD_UNDO_ACTION",["SET CONTENTS"])},$ON_SET_IR:function(a){this.oActivePlugin&&"function"==typeof this.oActivePlugin.setIR&&this.oActivePlugin.setIR(a)},$AFTER_SET_IR:function(a,b){b=b||!1,b||this.oApp.exec("RECORD_UNDO_ACTION",["SET CONTENTS"])},$ON_REGISTER_EDITING_AREA:function(a){this.oEditingMode[a.sMode]=a,this.attachDocumentEvents(a.oEditingArea)},$ON_MSG_EDITING_AREA_RESIZE_STARTED:function(){this.oActivePlugin.elEditingArea.style.display="none",this.iStartingHeight=parseInt(this.elEditingAreaContainer.style.height)},$ON_RESIZE_EDITING_AREA:function(a,b){var c=parseInt(a),d=parseInt(b);c"]);break;default:return}a.preventDefault(),a.stopPropagation()}},$ON_EVENT_EDITING_AREA_KEYUP:function(a){229==a.keyCode||13==a.keyCode||a.altKey||a.ctrlKey||a.keyCode>=33&&a.keyCode<=40||16==a.keyCode||this._recordUndo(a)},$ON_PASTE_HTML:function(b,c){if(this.oApp.getEditingMode()==this.sMode){var d=c||this.oApp.getSelection();if(d.pasteHTML(b),!a.browser.msie){var e=d.placeStringBookmark();this.oApp.getWYSIWYGDocument().body.innerHTML=this.oApp.getWYSIWYGDocument().body.innerHTML,d.moveToBookmark(e),d.collapseToEnd(),d.select(),d.removeStringBookmark(e)}this.oApp.exec("RECORD_UNDO_ACTION",["INSERT HTML"])}},$AFTER_MSG_EDITING_AREA_RESIZE_ENDED:function(){this.oApp.exec("REFRESH_WYSIWYG",[])},$ON_RESTORE_IE_SELECTION:function(){this._oIERange&&(this._oIERange.select(),this._oPrevIERange=this._oIERange,this._oIERange=null)},initIframe:function(){try{if(this.doc=this.iframe.contentWindow.document,null==this.doc||"about:blank"==this.doc.location.href)throw new Error("Access denied");this._enableWYSIWYG(),this.status=xe.PLUGIN_STATUS.READY}catch(b){if(!(this._nIFrameReadyCount-->0))throw"iframe for WYSIWYG editing mode can't be initialized. Please check if the iframe document exists and is also accessable(cross-domain issues). ";setTimeout(a.fnBind(this.initIframe,this),100)}},getIR:function(){var a,b=this.doc.body.innerHTML;return a=this.oApp.applyConverter?this.oApp.applyConverter(this.sMode+"_TO_IR",b):b},setIR:function(b){var c;c=this.oApp.applyConverter?this.oApp.applyConverter("IR_TO_"+this.sMode,b):b,this.doc.body.innerHTML=c,a.browser.mozilla&&""==this.doc.body.innerHTML&&(this.doc.body.innerHTML="
")},getWindow:function(){return this.iframe.contentWindow},getDocument:function(){return this.iframe.contentWindow.document},focus:function(){},_recordUndo:function(a){var b=new Date;b-this.iLastUndoRecorded"),""==h.innerHTML&&(h.innerHTML="
"),h.nextSibling&&"BR"==h.nextSibling.tagName&&h.parentNode.removeChild(h.nextSibling),b.selectNodeContents(h),b.collapseToStart(),b.select(),this.oApp.exec("CHECK_STYLE_CHANGE",[])}else b.removeStringBookmark(c)}}}),xe.XE_WYSIWYGStyler=a.Class({name:"XE_WYSIWYGStyler",$PRECONDITION:function(){return"WYSIWYG"==this.oApp.getEditingMode()},$ON_SET_WYSIWYG_STYLE:function(b){var c=this.oApp.getSelection();if(c.collapsed){var d=this.oApp.getWYSIWYGDocument().createElement("SPAN");c.insertNode(d),d.innerHTML=unescape("%uFEFF");var e;for(var f in b)e=b[f],"string"==typeof e&&(d.style[f]=e);return c.selectNodeContents(d),c.collapseToEnd(),c._window.focus(),c._window.document.body.focus(),c.select(),a.browser.mozilla&&3==a.browser.nVersion&&(d.innerHTML=""),void 0}this.oApp.exec("RECORD_UNDO_BEFORE_ACTION",["FONT STYLE"]),c.styleRange(b),c._window.focus(),c.select(),this.oApp.exec("RECORD_UNDO_AFTER_ACTION",["FONT STYLE"])}}),xe.XE_WYSIWYGStyleGetter=a.Class({name:"XE_WYSIWYGStyleGetter",hKeyUp:null,getStyleInterval:200,oStyleMap:{fontFamily:{type:"Value",css:"fontFamily"},fontSize:{type:"Value",css:"fontSize"},lineHeight:{type:"Value",css:"lineHeight",converter:function(a,b){return a.match(/px$/)?Math.ceil(parseInt(a)/parseInt(b.fontSize)*10)/10:a}},bold:{command:"bold"},underline:{command:"underline"},italic:{command:"italic"},lineThrough:{command:"strikethrough"},superscript:{command:"superscript"},subscript:{command:"subscript"},justifyleft:{command:"justifyleft"},justifycenter:{command:"justifycenter"},justifyright:{command:"justifyright"},justifyfull:{command:"justifyfull"},orderedlist:{command:"insertorderedlist"},unorderedlist:{command:"insertunorderedlist"}},$init:function(){this.oStyle=this._getBlankStyle()},$PRECONDITION:function(){return"WYSIWYG"!=this.oApp.getEditingMode()?!1:!0},$ON_MSG_APP_READY:function(){this.oDocument=this.oApp.getWYSIWYGDocument(),this.oApp.exec("ADD_APP_PROPERTY",["getCurrentStyle",a.fnBind(this.getCurrentStyle,this)])},$ON_EVENT_EDITING_AREA_MOUSEUP:function(){this.hKeyUp&&clearTimeout(this.hKeyUp),this.oApp.exec("CHECK_STYLE_CHANGE",[])},$ON_EVENT_EDITING_AREA_KEYUP:function(b){(8==b.keyCode||b.keyCode>=33&&b.keyCode<=40||45==b.keyCode||46==b.keyCode)&&(this.hKeyUp&&clearTimeout(this.hKeyUp),this.hKeyUp=setTimeout(a.fnBind(this.oApp.exec,this.oApp,"CHECK_STYLE_CHANGE",[]),this.getStyleInterval))},$ON_CHECK_STYLE_CHANGE:function(){this._getStyle()},$ON_RESET_STYLE_STATUS:function(){var a=this._getBlankStyle();for(var b in a)this.oApp.exec("SET_STYLE_STATUS",[b,a[b]])},getCurrentStyle:function(){return this.oStyle},_check_style_change:function(){this.oApp.exec("CHECK_STYLE_CHANGE",[])},_getBlankStyle:function(){var a={};for(var b in this.oStyleMap)a[b]="Value"==this.oStyleMap[b].type?"":0; return a},_getStyle:function(){var a,b,c=this.oApp.getSelection(),d=function(a){return a.childNodes&&0!=a.childNodes.length?!1:!0},e=c.getNodes(!1,d);a=0==e.length?this._getStyleOf(c.commonAncestorContainer):this._getStyleOf(e[0]);for(b in a)this.oStyleMap[b].converter&&(a[b]=this.oStyleMap[b].converter(a[b],a)),this.oStyle[b]!=a[b]&&this.oApp.exec("MSG_STYLE_CHANGED",[b,a[b]]);this.oStyle=a},_getStyleOf:function(b){var c=this._getBlankStyle();if(!b)return c;3==b.nodeType&&(b=b.parentNode);var d,e=a(b);for(var f in this.oStyle)if(d=this.oStyleMap[f],d.type&&"Value"==d.type){if(d.css){var g=e.css(d.css);"fontFamily"==f&&(g=g.split(/,/)[0]),c[f]=g}else if(d.command)try{c[f]=this.oDocument.queryCommandState(d.command)}catch(h){}}else if(d.command)try{c[f]=this.oDocument.queryCommandState(d.command)?1:0}catch(h){}return c}}),xe.XE_FontSizeWithSelectUI=a.Class({name:"XE_FontSizeWithSelectUI",$init:function(a){this._assignHTMLObjects(a)},_assignHTMLObjects:function(b){this.elFontSizeSelect=a("SELECT.xpress_xeditor_ui_fontSize_select",b).get(0)},$ON_MSG_APP_READY:function(){this.oApp.registerBrowserEvent(this.elFontSizeSelect,"change","SET_FONTSIZE_FROM_SELECT_UI"),this.elFontSizeSelect.selectedIndex=0},$ON_MSG_STYLE_CHANGED:function(a,b){"fontSize"==a&&(this.elFontSizeSelect.value=b,this.elFontSizeSelect.selectedIndex<0&&(this.elFontSizeSelect.selectedIndex=0))},$ON_SET_FONTSIZE_FROM_SELECT_UI:function(){var a=this.elFontSizeSelect.value;a&&(this.oApp.exec("SET_WYSIWYG_STYLE",[{fontSize:a}]),this.oApp.exec("CHECK_STYLE_CHANGE",[]))}}),xe.XE_FontNameWithSelectUI=a.Class({name:"XE_FontNameWithSelectUI",$init:function(a){this._assignHTMLObjects(a)},_assignHTMLObjects:function(b){this.elFontNameSelect=a("SELECT.xpress_xeditor_ui_fontName_select",b).get(0)},$ON_MSG_APP_READY:function(){this.oApp.registerBrowserEvent(this.elFontNameSelect,"change","SET_FONTNAME_FROM_SELECT_UI"),this.elFontNameSelect.selectedIndex=0},$ON_MSG_STYLE_CHANGED:function(a,b){"fontFamily"==a&&(this.elFontNameSelect.value=b.toLowerCase(),this.elFontNameSelect.selectedIndex<0&&(this.elFontNameSelect.selectedIndex=0))},$ON_SET_FONTNAME_FROM_SELECT_UI:function(){var a=this.elFontNameSelect.value;a&&(this.oApp.exec("SET_WYSIWYG_STYLE",[{fontFamily:a}]),this.oApp.exec("CHECK_STYLE_CHANGE",[]))}}),xe.XE_LineHeight=a.Class({name:"XE_LineHeight",$init:function(a){this._assignHTMLObjects(a)},_assignHTMLObjects:function(){},$ON_SET_LINEHEIGHT:function(a){this.setLineHeight(a)},getLineHeight:function(){var b,c,d,e=this._getSelectedNodes(!1);if(0==e.length)return-1;var f=e.length;0==f?d=-1:(c=this._getLineWrapper(e[0]),d=this._getWrapperLineheight(c));var g=this.oSelection.getStartNode();if(d>0)for(var h=1;f>h;h++)if(!this._isChildOf(e[h],b)&&e[h]&&(b=this._getLineWrapper(e[h]),b!=c)){if(curHeight=this._getWrapperLineheight(b),curHeight!=d){d=-1;break}c=b}b=this._getLineWrapper(e[f-1]);var i=this.oSelection.getEndNode();return selectText=a.fnBind(function(a,b){this.oSelection.setEndNodes(a,b),this.oSelection.select()},this,g,i),setTimeout(selectText,100),d},setLineHeight:function(b){function c(a,b){if(!a)try{a=thisRef.oSelection.surroundContentsWithNewNode("P")}catch(c){a=thisRef.oSelection.surroundContentsWithNewNode("DIV")}return a.style.lineHeight=b,a}function d(a){for(;a&&"BODY"!=a.tagName;)a=xe.DOMFix.parentNode(a);return a?!0:!1}thisRef=this;var e=this._getSelectedNodes(!1);if(0!=e.length){var f,g,h=e.length;this.oApp.exec("RECORD_UNDO_BEFORE_ACTION",["LINEHEIGHT"]),g=this._getLineWrapper(e[0]),g=c(g,b);for(var i=g,j=g,k=1;h>k;k++){try{if(!d(xe.DOMFix.parentNode(e[k])))continue}catch(l){continue}this._isChildOf(e[k],f)||(f=this._getLineWrapper(e[k]),f!=g&&(f=c(f,b),g=f))}j=f||i,setTimeout(a.fnBind(function(a,b){this.oSelection.setEndNodes(a,b),this.oSelection.select(),this.oApp.exec("RECORD_UNDO_AFTER_ACTION",["LINEHEIGHT"])},this,i,j),100)}},_getSelectedNodes:function(a){a||(this.oSelection=this.oApp.getSelection()),this.oSelection.collapsed&&this.oSelection.selectNode(this.oSelection.commonAncestorContainer);var b=this.oSelection.getTextNodes();if(0==b.length){var c=this.oSelection.getStartNode();c?b[0]=c:b=[]}return b},_getWrapperLineheight:function(a){var b="";if(a&&a.style.lineHeight)b=a.style.lineHeight;else for(a=this.oSelection.commonAncesterContainer;a&&!this.oSelection.rxLineBreaker.test(a.tagName);){if(a&&a.style.lineHeight){b=a.style.lineHeight;break}a=xe.DOMFix.parentNode(a)}return b},_isChildOf:function(a,b){for(;a&&"BODY"!=a.tagName;){if(a==b)return!0;a=xe.DOMFix.parentNode(a)}return!1},_getLineWrapper:function(a){var b=this.oApp.getEmptySelection();b.selectNode(a);var c,d,e,f,g=b.getLineInfo(),h=g.oStart,i=g.oEnd,j=null;return c=h.oNode,e=h.oLineBreaker,d=i.oNode,f=i.oLineBreaker,this.oSelection.setEndNodes(c,d),e==f&&("P"==e.tagName||"DIV"==e.tagName?j=e:this.oSelection.setEndNodes(e.firstChild,e.lastChild)),j}}),xe.XE_LineHeightWithSelectUI=a.Class({name:"XE_LineHeightWithSelectUI",_assignHTMLObjects:function(b){this.elLineHeightSelect=a("SELECT.xpress_xeditor_ui_lineHeight_select",b).get(0)},$ON_MSG_APP_READY:function(){this.oApp.registerBrowserEvent(this.elLineHeightSelect,"change","SET_LINEHEIGHT_FROM_SELECT_UI"),this.elLineHeightSelect.selectedIndex=0},$ON_MSG_STYLE_CHANGED:function(a,b){"lineHeight"==a&&(this.elLineHeightSelect.value=b,this.elLineHeightSelect.selectedIndex<0&&(this.elLineHeightSelect.selectedIndex=0))},$ON_SET_LINEHEIGHT_FROM_SELECT_UI:function(){var a=this.elLineHeightSelect.value;a&&(this.elLineHeightSelect.selectedIndex=0,this.oApp.exec("SET_LINEHEIGHT",[a]),this.oApp.exec("CHECK_STYLE_CHANGE",[]))}}).extend(xe.XE_LineHeight),xe.XE_ColorPalette=a.Class({name:"XE_ColorPalette",rxRGBColorPattern:/rgb\((\d+), ?(\d+), ?(\d+)\)/i,$init:function(a){this._assignHTMLObjects(a)},_assignHTMLObjects:function(b){this.elColorPaletteLayer=a("UL.xpress_xeditor_color_palette",b).get(0)},$ON_MSG_APP_READY:function(){this.oApp.registerBrowserEvent(this.elColorPaletteLayer,"click","EVENT_MOUSEUP_COLOR_PALETTE")},$ON_SHOW_COLOR_PALETTE:function(a,b){this.sCallbackCmd=a,this.oLayerContainer=b,this.oLayerContainer.insertBefore(this.elColorPaletteLayer,null),this.elColorPaletteLayer.style.display="block"},$ON_HIDE_COLOR_PALETTE:function(){this.elColorPaletteLayer.style.display="none"},$ON_COLOR_PALETTE_APPLY_COLOR:function(a){function b(a){var b=parseInt(a).toString(16);return b.length<2&&(b="0"+b),b.toUpperCase()}if(this.rxRGBColorPattern.test(a)){var c=b(RegExp.$1),d=b(RegExp.$2),e=b(RegExp.$3);a="#"+c+d+e}this.oApp.exec(this.sCallbackCmd,[a])},$ON_EVENT_MOUSEUP_COLOR_PALETTE:function(a){var b=a.target;b.style.backgroundColor&&this.oApp.exec("COLOR_PALETTE_APPLY_COLOR",[b.style.backgroundColor])}}),xe.XE_FontColor=a.Class({name:"XE_FontColor",rxColorPattern:/^#?[0-9a-fA-F]{6}$|^rgb\(\d+, ?\d+, ?\d+\)$/i,$init:function(a){this._assignHTMLObjects(a)},_assignHTMLObjects:function(b){this.elDropdownLayer=a("DIV.xpress_xeditor_fontcolor_layer",b).get(0)},$ON_MSG_APP_READY:function(){this.oApp.exec("REGISTER_UI_EVENT",["fontColor","click","TOGGLE_FONTCOLOR_LAYER"])},$ON_TOGGLE_FONTCOLOR_LAYER:function(){this.oApp.exec("TOGGLE_TOOLBAR_ACTIVE_LAYER",[this.elDropdownLayer,null,"SHOW_COLOR_PALETTE",["APPLY_FONTCOLOR",this.elDropdownLayer]])},$ON_APPLY_FONTCOLOR:function(a){return this.rxColorPattern.test(a)?(this.oApp.exec("SET_WYSIWYG_STYLE",[{color:a}]),this.oApp.exec("HIDE_ACTIVE_LAYER"),void 0):(alert(this.oApp.$MSG("XE_FontColor.invalidColorCode")),void 0)}}),xe.XE_BGColor=a.Class({name:"XE_BGColor",rxColorPattern:/^#?[0-9a-fA-F]{6}$|^rgb\(\d+, ?\d+, ?\d+\)$/i,$init:function(a){this._assignHTMLObjects(a)},_assignHTMLObjects:function(b){this.elDropdownLayer=a("DIV.xpress_xeditor_bgcolor_layer",b).get(0)},$ON_MSG_APP_READY:function(){this.oApp.exec("REGISTER_UI_EVENT",["bgColor","click","TOGGLE_BGCOLOR_LAYER"]),this.oApp.registerBrowserEvent(this.elDropdownLayer,"click","EVENT_APPLY_BGCOLOR",[])},$ON_TOGGLE_BGCOLOR_LAYER:function(){this.oApp.exec("TOGGLE_TOOLBAR_ACTIVE_LAYER",[this.elDropdownLayer,null,"SHOW_COLOR_PALETTE",["APPLY_BGCOLOR",this.elDropdownLayer]])},$ON_EVENT_APPLY_BGCOLOR:function(a){var b=a.target;if("SPAN"==b.tagName&&(b=b.parentNode),"BUTTON"==b.tagName){var c,d;c=b.style.backgroundColor,d=b.style.color,this.oApp.exec("APPLY_BGCOLOR",[c,d])}},$ON_APPLY_BGCOLOR:function(a,b){if(!this.rxColorPattern.test(a))return alert(this.oApp.$MSG("XE_BGColor.invalidColorCode")),void 0;var c={backgroundColor:a};b&&(c.color=b),this.oApp.exec("SET_WYSIWYG_STYLE",[c]),this.oApp.exec("HIDE_ACTIVE_LAYER")}}),xe.XE_Quote=a.Class({name:"XE_Quote",$init:function(a){this._assignHTMLObjects(a)},_assignHTMLObjects:function(b){this.elDropdownLayer=a("DIV.xpress_xeditor_blockquote_layer",b).get(0)},$ON_MSG_APP_READY:function(){this.oApp.exec("REGISTER_UI_EVENT",["quote","click","TOGGLE_BLOCKQUOTE_LAYER"]),this.oApp.registerBrowserEvent(this.elDropdownLayer,"click","EVENT_APPLY_SEDITOR_BLOCKQUOTE",[])},$ON_TOGGLE_BLOCKQUOTE_LAYER:function(){this.oApp.exec("TOGGLE_TOOLBAR_ACTIVE_LAYER",[this.elDropdownLayer])},$ON_EVENT_APPLY_SEDITOR_BLOCKQUOTE:function(a){var b=a.target;if("BUTTON"==b.tagName){var c=b.parentNode.className;"q8"!=c?this._wrapBlock("BLOCKQUOTE",c):this._unwrapBlock("BLOCKQUOTE"),this.oApp.exec("HIDE_ACTIVE_LAYER",[])}},_unwrapBlock:function(a){for(var b=this.oApp.getSelection(),c=b.commonAncestorContainer;c&&c.tagName!=a;)c=c.parentNode;if(c){for(;c.firstChild;)c.parentNode.insertBefore(c.firstChild,c);c.parentNode.removeChild(c)}},_wrapBlock:function(a,b){var c,d,e=this.oApp.getSelection(),f=e.getLineInfo(),g=f.oStart,h=f.oEnd,i=/BODY|TD|LI/i;c=g.bParentBreak&&!i.test(g.oLineBreaker.tagName)?g.oNode.parentNode:g.oNode,d=h.bParentBreak&&!i.test(h.oLineBreaker.tagName)?h.oNode.parentNode:h.oNode,e.setStartBefore(c),e.setEndAfter(d);var j=this._expandToTableStart(e,d);j&&(d=j,e.setEndAfter(j)),j=this._expandToTableStart(e,c),j&&(c=j,e.setStartBefore(j)),j=c;for(var k=e.commonAncestorContainer;j&&j!=k&&j.parentNode!=k;)j=j.parentNode;oFormattingNode=e._document.createElement(a),b&&(oFormattingNode.className=b),j==k?k.insertBefore(oFormattingNode,k.firstChild):k.insertBefore(oFormattingNode,j),e.setStartAfter(oFormattingNode),e.setEndAfter(d),e.surroundContents(oFormattingNode);for(var l,m=oFormattingNode.childNodes,n=m.length-1;n>=0;n--)if(3==m[n].nodeType||"BR"==m[n].tagName){var o=e._document.createElement("P");for(l=m[n].nextSibling;n>=0&&m[n]&&(3==m[n].nodeType||"BR"==m[n].tagName);)o.insertBefore(m[n--],o.firstChild);oFormattingNode.insertBefore(o,l),n++}if(oFormattingNode&&oFormattingNode.parentNode){var o=e._document.createElement("P");o.innerHTML=unescape("
"),oFormattingNode.parentNode.insertBefore(o,oFormattingNode.nextSibling)}return this.oApp.exec("RECORD_UNDO_ACTION",["Block Quote"]),oFormattingNode},_expandToTableStart:function(a,b){for(var c=a.commonAncestorContainer,d=null,e=!1;b&&!e;){if(b==c&&(e=!0),/TBODY|TFOOT|THEAD|TR/i.test(b.tagName)){d=this._getTableRoot(b);break}b=b.parentNode}return d},_getTableRoot:function(a){for(;a&&"TABLE"!=a.tagName;)a=a.parentNode;return a}}),xe.XE_SCharacter=a.Class({name:"XE_SCharacter",$init:function(b){this.bIE=a.browser.msie,this._assignHTMLObjects(b),this.charSet=[],this.charSet[0]=unescape("FF5B FF5D 3014 3015 3008 3009 300A 300B 300C 300D 300E 300F 3010 3011 2018 2019 201C 201D 3001 3002 %B7 2025 2026 %A7 203B 2606 2605 25CB 25CF 25CE 25C7 25C6 25A1 25A0 25B3 25B2 25BD 25BC 25C1 25C0 25B7 25B6 2664 2660 2661 2665 2667 2663 2299 25C8 25A3 25D0 25D1 2592 25A4 25A5 25A8 25A7 25A6 25A9 %B1 %D7 %F7 2260 2264 2265 221E 2234 %B0 2032 2033 2220 22A5 2312 2202 2261 2252 226A 226B 221A 223D 221D 2235 222B 222C 2208 220B 2286 2287 2282 2283 222A 2229 2227 2228 FFE2 21D2 21D4 2200 2203 %B4 FF5E 02C7 02D8 02DD 02DA 02D9 %B8 02DB %A1 %BF 02D0 222E 2211 220F 266D 2669 266A 266C 327F 2192 2190 2191 2193 2194 2195 2197 2199 2196 2198 321C 2116 33C7 2122 33C2 33D8 2121 2668 260F 260E 261C 261E %B6 2020 2021 %AE %AA %BA 2642 2640").replace(/(\S{4})/g,function(a){return"%u"+a}).split(" "),this.charSet[1]=unescape("%BD 2153 2154 %BC %BE 215B 215C 215D 215E %B9 %B2 %B3 2074 207F 2081 2082 2083 2084 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 FFE6 %24 FFE5 FFE1 20AC 2103 212B 2109 FFE0 %A4 2030 3395 3396 3397 2113 3398 33C4 33A3 33A4 33A5 33A6 3399 339A 339B 339C 339D 339E 339F 33A0 33A1 33A2 33CA 338D 338E 338F 33CF 3388 3389 33C8 33A7 33A8 33B0 33B1 33B2 33B3 33B4 33B5 33B6 33B7 33B8 33B9 3380 3381 3382 3383 3384 33BA 33BB 33BC 33BD 33BE 33BF 3390 3391 3392 3393 3394 2126 33C0 33C1 338A 338B 338C 33D6 33C5 33AD 33AE 33AF 33DB 33A9 33AA 33AB 33AC 33DD 33D0 33D3 33C3 33C9 33DC 33C6").replace(/(\S{4})/g,function(a){return"%u"+a}).split(" "),this.charSet[2]=unescape("3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 326A 326B 326C 326D 326E 326F 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 327A 327B 24D0 24D1 24D2 24D3 24D4 24D5 24D6 24D7 24D8 24D9 24DA 24DB 24DC 24DD 24DE 24DF 24E0 24E1 24E2 24E3 24E4 24E5 24E6 24E7 24E8 24E9 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 246A 246B 246C 246D 246E 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 320A 320B 320C 320D 320E 320F 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 321A 321B 249C 249D 249E 249F 24A0 24A1 24A2 24A3 24A4 24A5 24A6 24A7 24A8 24A9 24AA 24AB 24AC 24AD 24AE 24AF 24B0 24B1 24B2 24B3 24B4 24B5 2474 2475 2476 2477 2478 2479 247A 247B 247C 247D 247E 247F 2480 2481 2482").replace(/(\S{4})/g,function(a){return"%u"+a}).split(" "),this.charSet[3]=unescape("3131 3132 3133 3134 3135 3136 3137 3138 3139 313A 313B 313C 313D 313E 313F 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 314A 314B 314C 314D 314E 314F 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 315A 315B 315C 315D 315E 315F 3160 3161 3162 3163 3165 3166 3167 3168 3169 316A 316B 316C 316D 316E 316F 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 317A 317B 317C 317D 317E 317F 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 318A 318B 318C 318D 318E").replace(/(\S{4})/g,function(a){return"%u"+a}).split(" "),this.charSet[4]=unescape("0391 0392 0393 0394 0395 0396 0397 0398 0399 039A 039B 039C 039D 039E 039F 03A0 03A1 03A3 03A4 03A5 03A6 03A7 03A8 03A9 03B1 03B2 03B3 03B4 03B5 03B6 03B7 03B8 03B9 03BA 03BB 03BC 03BD 03BE 03BF 03C0 03C1 03C3 03C4 03C5 03C6 03C7 03C8 03C9 %C6 %D0 0126 0132 013F 0141 %D8 0152 %DE 0166 014A %E6 0111 %F0 0127 I 0133 0138 0140 0142 0142 0153 %DF %FE 0167 014B 0149 0411 0413 0414 0401 0416 0417 0418 0419 041B 041F 0426 0427 0428 0429 042A 042B 042C 042D 042E 042F 0431 0432 0433 0434 0451 0436 0437 0438 0439 043B 043F 0444 0446 0447 0448 0449 044A 044B 044C 044D 044E 044F").replace(/(\S{4})/g,function(a){return"%u"+a}).split(" "),this.charSet[5]=unescape("3041 3042 3043 3044 3045 3046 3047 3048 3049 304A 304B 304C 304D 304E 304F 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 305A 305B 305C 305D 305E 305F 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 306A 306B 306C 306D 306E 306F 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 307A 307B 307C 307D 307E 307F 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 308A 308B 308C 308D 308E 308F 3090 3091 3092 3093 30A1 30A2 30A3 30A4 30A5 30A6 30A7 30A8 30A9 30AA 30AB 30AC 30AD 30AE 30AF 30B0 30B1 30B2 30B3 30B4 30B5 30B6 30B7 30B8 30B9 30BA 30BB 30BC 30BD 30BE 30BF 30C0 30C1 30C2 30C3 30C4 30C5 30C6 30C7 30C8 30C9 30CA 30CB 30CC 30CD 30CE 30CF 30D0 30D1 30D2 30D3 30D4 30D5 30D6 30D7 30D8 30D9 30DA 30DB 30DC 30DD 30DE 30DF 30E0 30E1 30E2 30E3 30E4 30E5 30E6 30E7 30E8 30E9 30EA 30EB 30EC 30ED 30EE 30EF 30F0 30F1 30F2 30F3 30F4 30F5 30F6").replace(/(\S{4})/g,function(a){return"%u"+a}).split(" ")},_assignHTMLObjects:function(b){b=a.$(b)||document,this.elDropdownLayer=a("DIV.xpress_xeditor_sCharacter_layer",b).get(0),this.oTextField=a("INPUT",this.elDropdownLayer).get(0),this.oInsertButton=a("+ BUTTON",this.oTextField).get(0),this.aCloseButton=a("BUTTON.close",this.elDropdownLayer).get(),this.aSCharList=a(".list",this.elDropdownLayer).get();var c=a(">UL",this.elDropdownLayer).get(0);this.aLabelA=a("A",c).get()},$ON_MSG_APP_READY:function(){var b=a.fnBind(this.oApp.exec,this.oApp,"INSERT_SCHARACTERS",[this.oTextField.value]);a(this.oInsertButton).click(b),this.oApp.exec("SET_SCHARACTER_LIST",[this.charSet]);for(var c=0;cd;d++)c[d]=document.createElement("LI"),c[d].innerHTML='",this.aSCharList[a].appendChild(c[d])}},_stopBrowserEvent:function(b,c){a(b).bind(c,function(a){a.stopPropagation(),a.preventDefault()})}}),xe.XE_UndoRedo=a.Class({name:"XE_UndoRedo",actionHistory:null,oCurStateIdx:null,iMinimumSizeChange:10,sBlankContentsForFF:"
",$init:function(){this.aUndoHistory=[],this.oCurStateIdx={nIdx:0,nStep:0}},$PRECONDITION:function(a){if(a.match(/_DO_RECORD_UNDO_HISTORY_AT$/))return!0;try{if("WYSIWYG"!=this.oApp.getEditingMode())return!1}catch(b){return!1}return!0},$BEFORE_MSG_APP_READY:function(){this.oApp.exec("DO_RECORD_UNDO_HISTORY_AT",[this.oCurStateIdx,"","",null])},$ON_MSG_APP_READY:function(){this.bFF=a.browser.mozilla,this.oApp.exec("ADD_APP_PROPERTY",["getUndoHistory",a.fnBind(this.getUndoHistory,this)]),this.oApp.exec("ADD_APP_PROPERTY",["getUndoStateIdx",a.fnBind(this.getUndoStateIdx,this)]),this.oApp.exec("REGISTER_UI_EVENT",["undo","click","UNDO"]),this.oApp.exec("REGISTER_UI_EVENT",["redo","click","REDO"]),this.oApp.exec("REGISTER_HOTKEY",["ctrl+z","UNDO"]),this.oApp.exec("REGISTER_HOTKEY",["ctrl+y","REDO"])},$ON_UNDO:function(){if(this.oApp.exec("DO_RECORD_UNDO_HISTORY",["KEYPRESS",!1,!1,1]),0!=this.oCurStateIdx.nIdx){if(this.oCurStateIdx.nStep>0)this.oCurStateIdx.nStep--;else{var a=this.aUndoHistory[this.oCurStateIdx.nIdx];this.oCurStateIdx.nIdx--,a.nTotalSteps>1?this.oCurStateIdx.nStep=0:(a=this.aUndoHistory[this.oCurStateIdx.nIdx],this.oCurStateIdx.nStep=a.nTotalSteps-1)}this.oApp.exec("RESTORE_UNDO_HISTORY",[this.oCurStateIdx.nIdx,this.oCurStateIdx.nStep]),this.oApp.exec("CHECK_STYLE_CHANGE",[])}},$ON_REDO:function(){if(!(this.oCurStateIdx.nIdx>=this.aUndoHistory.length)){var a=this.aUndoHistory[this.oCurStateIdx.nIdx];this.oCurStateIdx.nIdx==this.aUndoHistory.length-1&&this.oCurStateIdx.nStep>=a.nTotalSteps-1||(this.oCurStateIdx.nStep"+b+"
";this.oSelection.pasteHTML(e)}else{var f=Math.ceil(1e4*Math.random()),g=this.sATagMarker+f,h=""==b?["unlink"]:["createLink",!1,g+b];this.oApp.exec("EXECCOMMAND",h);try{this.oSelection.setFromSelection()}catch(i){}var j=this.oApp.getWYSIWYGDocument();a(j.body.getElementsByTagName("A")).filter('[href^="'+g+'"]').attr("href",function(){var b=new RegExp("^"+g.replace(/([\.\\])/g,"\\$1"),"i");return d?a(this).attr("target",d):a(this).removeAttr("target"),this.href.replace(b,"")})}this.oApp.exec("HIDE_ACTIVE_LAYER"),setTimeout(a.fnBind(function(){try{this.oSelection.select()}catch(a){}},this),0)},_validateURL:function(a){return/^(http|https|ftp|mailto):(?:\/\/)?((\w|-)+(?:[\.:@](\w|-))+)(?:\/|@)?([^"\?]*?)(?:\?([^\?"]*?))?$/.test(a)},$ON_EVENT_XE_HYPERLINK_KEYDOWN:function(a){13==a.keyCode&&(this.oApp.exec("XE_APPLY_HYPERLINK"),a.preventDefault(),a.stopPropagation())}}),xe.XE_Table=a.Class({name:"XE_Table",iMinRows:1,iMaxRows:20,iMinColumns:1,iMaxColumns:10,iMinBorderWidth:1,iMaxBorderWidth:10,oSelection:null,$init:function(a){this._assignHTMLObjects(a)},_assignHTMLObjects:function(b){var c=null;this.elDropdownLayer=a("DIV.xpress_xeditor_table_layer",b).get(0),this.welDropdownLayer=a(this.elDropdownLayer),c=a("INPUT",this.elDropdownLayer).get(),this.oRowInput=c[0],this.oColumnInput=c[1],this.oBorderWidthInput=c[2],this.oBorderColorInput=c[3],this.oBGColorInput=c[4],c=a("BUTTON",this.elDropdownLayer).get(),this.oButton_AddRow=c[0],this.oButton_RemoveRow=c[1],this.oButton_AddColumn=c[2],this.oButton_RemoveColumn=c[3],this.oButton_IncBorderWidth=c[4],this.oButton_DecBorderWidth=c[5],this.oButton_BorderColorPreview=c[6],this.oButton_BorderColor=c[7],this.oButton_BGColorPreview=c[8],this.oButton_BGColor=c[9],this.oButton_Insert=c[10],this.oButton_Cancel=c[11],this.oSampleTable=a("TABLE",this.elDropdownLayer).get(0)},$ON_MSG_APP_READY:function(){this.oApp.exec("REGISTER_UI_EVENT",["table","click","ST_TOGGLE_TOOLBAR_LAYER"]),this.oApp.registerBrowserEvent(this.oRowInput,"change","ST_SET_ROW_NUM",[null,0]),this.oApp.registerBrowserEvent(this.oColumnInput,"change","ST_SET_COLUMN_NUM",[null,0]),this.oApp.registerBrowserEvent(this.oBorderWidthInput,"change","ST_SET_BORDER_WIDTH",[null,0]),this.oApp.registerBrowserEvent(this.oButton_AddRow,"click","ST_ADD_ROW"),this.oApp.registerBrowserEvent(this.oButton_RemoveRow,"click","ST_REMOVE_ROW"),this.oApp.registerBrowserEvent(this.oButton_AddColumn,"click","ST_ADD_COLUMN"),this.oApp.registerBrowserEvent(this.oButton_RemoveColumn,"click","ST_REMOVE_COLUMN"),this.oApp.registerBrowserEvent(this.oButton_IncBorderWidth,"click","ST_INC_BORDER_WIDTH"),this.oApp.registerBrowserEvent(this.oButton_DecBorderWidth,"click","ST_DEC_BORDER_WIDTH"),this.oApp.registerBrowserEvent(this.oButton_BorderColorPreview,"click","ST_TOGGLE_BORDER_COLOR_LAYER"),this.oApp.registerBrowserEvent(this.oButton_BGColorPreview,"click","ST_TOGGLE_BGCOLOR_LAYER"),this.oApp.registerBrowserEvent(this.oButton_BorderColor,"click","ST_TOGGLE_BORDER_COLOR_LAYER"),this.oApp.registerBrowserEvent(this.oButton_BGColor,"click","ST_TOGGLE_BGCOLOR_LAYER"),this.oApp.registerBrowserEvent(this.oButton_Insert,"click","ST_INSERT_TABLE"),this.oApp.registerBrowserEvent(this.oButton_Cancel,"click","ST_CLOSE"),this.oApp.exec("ST_SET_BORDER_COLOR",["#CCCCCC"]),this.oApp.exec("ST_SET_BGCOLOR",["#FFFFFF"])},$ON_ST_TOGGLE_TOOLBAR_LAYER:function(){this.oApp.exec("RECORD_UNDO_ACTION_FORCED",["KEYPRESS"]),this._showNewTable(),this.oApp.exec("TOGGLE_TOOLBAR_ACTIVE_LAYER",[this.elDropdownLayer])},$ON_ST_ADD_ROW:function(){this.oApp.exec("ST_SET_ROW_NUM",[null,1])},$ON_ST_REMOVE_ROW:function(){this.oApp.exec("ST_SET_ROW_NUM",[null,-1])},$ON_ST_ADD_COLUMN:function(){this.oApp.exec("ST_SET_COLUMN_NUM",[null,1])},$ON_ST_REMOVE_COLUMN:function(){this.oApp.exec("ST_SET_COLUMN_NUM",[null,-1])},$ON_ST_SET_ROW_NUM:function(a,b){a=a||parseInt(this.oRowInput.value),b=b||0,a+=b,athis.iMaxRows&&(a=this.iMaxRows),this.oRowInput.value=a,this._showNewTable()},$ON_ST_SET_COLUMN_NUM:function(a,b){a=a||parseInt(this.oColumnInput.value),b=b||0,a+=b,athis.iMaxColumns&&(a=this.iMaxColumns),this.oColumnInput.value=a,this._showNewTable()},$ON_ST_INSERT_TABLE:function(){var a=this._getTableString();this.oApp.exec("PASTE_HTML",[a]),this.oApp.exec("ST_CLOSE",[])},$ON_ST_CLOSE:function(){this.oApp.exec("HIDE_ACTIVE_LAYER",[])},$ON_ST_SET_BORDER_WIDTH:function(a,b){a=a||parseInt(this.oBorderWidthInput.value),b=b||0,a+=b,athis.iMaxBorderWidth&&(a=this.iMaxBorderWidth),this.oBorderWidthInput.value=a,this._showNewTable()},$ON_ST_INC_BORDER_WIDTH:function(){this.oApp.exec("ST_SET_BORDER_WIDTH",[null,1])},$ON_ST_DEC_BORDER_WIDTH:function(){this.oApp.exec("ST_SET_BORDER_WIDTH",[null,-1])},$ON_ST_TOGGLE_BORDER_COLOR_LAYER:function(){this.welDropdownLayer.hasClass("p1")?this.oApp.exec("ST_HIDE_BORDER_COLOR_LAYER",[]):this.oApp.exec("ST_SHOW_BORDER_COLOR_LAYER",[])},$ON_ST_SHOW_BORDER_COLOR_LAYER:function(){this.welDropdownLayer.addClass("p1"),this.welDropdownLayer.removeClass("p2"),this.oApp.exec("SHOW_COLOR_PALETTE",["ST_SET_BORDER_COLOR_FROM_PALETTE",this.elDropdownLayer])},$ON_ST_HIDE_BORDER_COLOR_LAYER:function(){this.welDropdownLayer.removeClass("p1"),this.oApp.exec("HIDE_COLOR_PALETTE",[])},$ON_ST_TOGGLE_BGCOLOR_LAYER:function(){this.welDropdownLayer.hasClass("p2")?this.oApp.exec("ST_HIDE_BGCOLOR_LAYER",[]):this.oApp.exec("ST_SHOW_BGCOLOR_LAYER",[])},$ON_ST_SHOW_BGCOLOR_LAYER:function(){this.welDropdownLayer.removeClass("p1"),this.welDropdownLayer.addClass("p2"),this.oApp.exec("SHOW_COLOR_PALETTE",["ST_SET_BGCOLOR_FROM_PALETTE",this.elDropdownLayer])},$ON_ST_HIDE_BGCOLOR_LAYER:function(){this.welDropdownLayer.removeClass("p2"),this.oApp.exec("HIDE_COLOR_PALETTE",[])},$ON_ST_SET_BORDER_COLOR_FROM_PALETTE:function(a){this.oApp.exec("ST_SET_BORDER_COLOR",[a]),this.oApp.exec("ST_HIDE_BORDER_COLOR_LAYER",[])},$ON_ST_SET_BORDER_COLOR:function(a){this.oBorderColorInput.value=a,this.oButton_BorderColorPreview.style.backgroundColor=a,this._showNewTable()},$ON_ST_SET_BGCOLOR_FROM_PALETTE:function(a){this.oApp.exec("ST_SET_BGCOLOR",[a]),this.oApp.exec("ST_HIDE_BGCOLOR_LAYER",[])},$ON_ST_SET_BGCOLOR:function(a){this.oBGColorInput.value=a,this.oButton_BGColorPreview.style.backgroundColor=a,this._showNewTable()},_showNewTable:function(){var a=document.createElement("DIV");a.innerHTML=this._getTableString();var b=a.firstChild;this.oSampleTable.parentNode.insertBefore(b,this.oSampleTable),this.oSampleTable.parentNode.removeChild(this.oSampleTable),this.oSampleTable=b},_getTableString:function(){var b=this.oBorderColorInput.value,c=this.oBGColorInput.value,d=this.oBorderWidthInput.value,e="";e=a.browser.msie?"


 

',g='',h=this.oColumnInput.value,i=0;h>i;i++)g+=e;g+="\n";var j=this.oRowInput.value;f+="";for(var i=0;j>i;i++)f+=g;return f+="",f+="
"}}),xe.XE_EditingModeToggler=a.Class({name:"XE_EditingModeToggler",$init:function(a){this._assignHTMLObjects(a)},_assignHTMLObjects:function(b){b=a.$(b)||document,this.elModeToggleButton=a("BUTTON.xpress_xeditor_mode_toggle_button",b).get(0),this.welModeToggleButton=a(this.elModeToggleButton)},$ON_MSG_APP_READY:function(){this.oApp.registerBrowserEvent(this.elModeToggleButton,"click","EVENT_TOGGLE_EDITING_MODE",[])},$ON_EVENT_TOGGLE_EDITING_MODE:function(){"WYSIWYG"==this.oApp.getEditingMode()?this.oApp.exec("CHANGE_EDITING_MODE",["HTMLSrc"]):this.oApp.exec("CHANGE_EDITING_MODE",["WYSIWYG"])},$ON_CHANGE_EDITING_MODE:function(a){"HTMLSrc"==a?(this.welModeToggleButton.addClass("active").parent("span").addClass("active"),this.oApp.exec("DISABLE_ALL_UI",[])):(this.welModeToggleButton.removeClass("active").parent("span").removeClass("active"),this.oApp.exec("ENABLE_ALL_UI",[])) -}}),xe.XE_Editorresize=a.Class({name:"XE_Editorresize",$init:function(b,c){this.inputArea=a(".xpress_xeditor_editing_area_container",b).get(0),this.oVerticalResizer=a(".xpress_xeditor_editingArea_verticalResizer",b).get(0),this.oCheckBox=a("#editorresize",b).get(0),this.oIframe=c;var d=this;a(c).load(function(){d.oIframeBody=a(c).contents().find("body")})},$ON_MSG_APP_READY:function(){this.oApp.registerBrowserEvent(this.oCheckBox,"change","XE_TOGGLE_EDITOR_RESIZE")},$ON_XE_TOGGLE_EDITOR_RESIZE:function(){1==this.oCheckBox.checked?(void 0==this._prevHeight&&(this._prevHeight=this.inputArea.style.height),this.oVerticalResizer.style.display="none",this.oApp.registerBrowserEvent(this.oIframeBody,"keydown","XE_EDITOR_RESIZE"),this.inputArea.style.height=this.oIframe.style.height=this.oIframeBody[0].scrollHeight+"px"):(a(this.oIframeBody).unbind("keydown"),this.oVerticalResizer.style.display="block",this.inputArea.style.height=this._prevHeight,this.oIframe.style.height=this._prevHeight)},$ON_XE_EDITOR_RESIZE:function(){var a=this;setTimeout(function(){a.inputArea.style.height=a.oIframe.style.height=a.oIframeBody[0].scrollHeight+"px"},0)}});var d={"XE_EditingAreaManager.onExit":"%uB0B4%uC6A9%uC774%20%uBCC0%uACBD%uB418%uC5C8%uC2B5%uB2C8%uB2E4.","XE_FontColor.invalidColorCode":"%uC0C9%uC0C1%20%uCF54%uB4DC%uB97C%20%uC62C%uBC14%uB974%uAC8C%20%uC785%uB825%uD558%uC5EC%20%uC8FC%uC2DC%uAE30%20%uBC14%uB78D%uB2C8%uB2E4.\n\n%uC608%29%20%23000000%2C%20%23FF0000%2C%20%23FFFFFF%2C%20%23ffffff%2C%20ffffff","XE_BGColor.invalidColorCode":"%uC0C9%uC0C1%20%uCF54%uB4DC%uB97C%20%uC62C%uBC14%uB974%uAC8C%20%uC785%uB825%uD558%uC5EC%20%uC8FC%uC2DC%uAE30%20%uBC14%uB78D%uB2C8%uB2E4.\n\n%uC608%29%20%23000000%2C%20%23FF0000%2C%20%23FFFFFF%2C%20%23ffffff%2C%20ffffff","XE_Hyperlink.invalidURL":"%uC785%uB825%uD558%uC2E0%20URL%uC774%20%uC62C%uBC14%uB974%uC9C0%20%uC54A%uC2B5%uB2C8%uB2E4."};xe.XpressCore.oMessageMap=d;regex_handler=/<(.*?)\s+on[a-z]+\s*=(?:\s*".*?"|\s*'.*?'|[^\s>]+)(.*?)>/gi,regex_font_color=/color\s*=(?:\s*"(.*?)"|\s*'(.*?)'|([^\s>]+))/i,regex_font_face=/face\s*=(?:\s*"(.*?)"|\s*'(.*?)'|([^\s>]+))/i,regex_font_size=/size\s*=(?:\s*"(\d+)"|\s*'(\d+)'|(\d+))/i,regex_style=/style\s*=\s*(?:\s*"(.*?)"|\s*'(.*?)'|([^\s>]+))/i,regex_font_weight=/font-weight\s*:\s*([a-z]+);?/i,regex_font_style=/font-style\s*:\s*italic;?/i,regex_font_decoration=/text-decoration\s*:\s*([a-z -]+);?/i,regex_jquery=/jQuery\d+\s*=(\s*"\d+"|\d+)/gi,regex_quote_attr=/([\w-]+\s*=(?:\s*"[^"]+"|\s*'[^']+'))|([\w-]+)=([^\s]+)/g;var e=("a,abbr,acronym,address,area,blockquote,br,caption,center,cite,code,col,colgroup,dd,del,dfn,div,dl,dt,em,embed,h1,h2,h3,h4,h5,h6,hr,img,ins,kbd,li,map,object,ol,p,param,pre,q,samp,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,tt,u,ul,var,iframe,object,param,style".split(","),"area,br,col,embed,hr,img,input,param,base,meta,link,basefont,isindex".split(","));xe.XE_XHTMLFormatter=a.Class({name:"XE_XHTMLFormatter",$ON_MSG_APP_READY:function(){this.oApp.addConverter("WYSIWYG_TO_IR",this.TO_IR),this.oApp.addConverter("HTMLSrc_TO_IR",this.TO_IR),this.oApp.addConverter("IR_TO_HTMLSrc",this.IR_TO),this.oApp.addConverter("IR_TO_WYSIWYG",this.IR_TO)},TO_IR:function(b){var c=[];if(a.browser.msie&&(b=b.replace(regex_jquery,""),b=b.replace(/<(\w+) ([^>]+)>/g,function(a,b,c){return"<"+b+" "+c.replace(regex_quote_attr,function(a,b,c,d){return b?b:/^"/.test(d)||/"$/.test(d)?c+"="+d:c+'="'+(d||c)+'"'})+">"})),regex=/<(\/)?([:\w\/-]+)(.*?)>/gi,b=b.replace(regex,function(b,d,f,g){var h="";if(d=d||"",f=f.toLowerCase(),g=a.trim(g||""),d){var i=[],j="";if(a.inArray(f,e)>=0)return"";if(!c.length)return"";do j=c.pop(),j.tag==f&&"deleted"!=j.state&&i.push("");while(c.length&&j.tag!=f);return i.join("")}if(a.inArray(f,e)>=0){var k=g.length;return"br"==f&&(g=""),g&&"/"==g.substring(k-1,k)||(g+=" /"),"<"+f+" "+a.trim(g)+">"}return c.push({tag:f,state:h}),"<"+d+f+(g?" "+g:"")+">"}),c.length){var d="";do d=c.pop(),"deleted"!=d.state&&(b+="");while(c.length)}return regex=/<\/p>[ \t]*(\n)?/gi,b=b.replace(regex,"

\n")},IR_TO:function(a){return a}}),xe.XE_Extension=a.Class({name:"XE_Extension",seq:"",last_doc:"",$init:function(a,b){this.seq=b,this._assignHTMLObjects(a)},_assignHTMLObjects:function(b){this.elDropdownLayer=a("DIV.xpress_xeditor_extension_layer",b).get(0)},_removeAttrs:function(a){return a},_addEvent:function(){if("WYSIWYG"==this.oApp.getEditingMode()){var b=this.oApp.getWYSIWYGDocument(),c=this.seq,d=function(){var b=a(this),d=b.attr("editor_component");d&&a.isFunction(openComponent)&&(editorPrevNode=b.get(0),openComponent(d,c))};a(b).find("img,div[editor_component]").each(function(){var c=a(this);"IMG"!=this.nodeName||c.attr("editor_component")||c.attr("widget")||c.attr("editor_component","image_link"),this.last_doc!=b&&(c.unbind("dblclick.widget").bind("dblclick.widget",d),this.last_doc=b)})}},$ON_MSG_APP_READY:function(){var b=this.oApp;b.exec("REGISTER_UI_EVENT",["extension","click","TOGGLE_EXTENSION_LAYER"]);var c=function(){b.exec("HIDE_ACTIVE_LAYER",[])};a("a",this.elDropdownLayer).each(function(){var b=a(this);b.attr("component_onclick_event_added")||(b.click(c),b.attr("component_onclick_event_added","Y"))})},$ON_TOGGLE_EXTENSION_LAYER:function(){this.oApp.exec("TOGGLE_TOOLBAR_ACTIVE_LAYER",[this.elDropdownLayer])},$ON_CHANGE_EDITING_MODE:function(){var a=this;setTimeout(function(){a._addEvent()},100)},$ON_PASTE_HTML:function(){var a=this;setTimeout(function(){a._addEvent()},100)},$ON_LOAD_IR_FIELD:function(){var a=this;setTimeout(function(){a._addEvent()},100)},$ON_SET_IR:function(){var a=this;setTimeout(function(){a._addEvent()},100)}}),xe.XE_AutoSave=a.Class({name:"XE_AutoSave",form:null,textarea:null,$init:function(a,b){this.form=a.form,this.textarea=a,this._assignHTMLObjects(b)},_assignHTMLObjects:function(){this.welMessageBox=a("autosave_message")},$ON_MSG_APP_READY:function(){var b=a(this.form._saved_doc_title),c=a(this.form._saved_doc_content),d=a.trim(b.val()),e=a.trim(c.val());(d||e)&&(confirm(this.form._saved_doc_message.value)?(a(this.form.title).val(d),this.oApp.setIR(e),"function"==typeof editorGetAutoSavedDoc&&editorGetAutoSavedDoc(this.form)):editorRemoveSavedDoc()),editorEnableAutoSave(this.form,a(this.form).attr("editor_sequence")),this.oApp.exec("REGISTER_HOTKEY",["ctrl+shift+s","AUTO_SAVE"])},$ON_AUTO_SAVE:function(){_editorAutoSave()}}),xe.XE_FormatWithSelectUI=a.Class({name:"XE_FormatWithSelectUI",$init:function(a){this._assignHTMLObjects(a)},_assignHTMLObjects:function(b){this.elFormatSelect=a("SELECT.xpress_xeditor_ui_format_select",b).get(0)},$ON_MSG_APP_READY:function(){this.oApp.registerBrowserEvent(this.elFormatSelect,"change","SET_FORMAT_FROM_SELECT_UI"),this.elFormatSelect.selectedIndex=0},$ON_MSG_STYLE_CHANGED:function(){var b=this.oApp.getWYSIWYGDocument().queryCommandValue("FormatBlock");return b?(a.browser.msie&&/([0-9])/.test(b)&&(b="h"+RegExp.$1),this.elFormatSelect.value=b.toLowerCase(),this.elFormatSelect.selectedIndex<0&&(this.elFormatSelect.selectedIndex=0),this.elFormatSelect.value!=b.toLowerCase()&&(this.elFormatSelect.selectedIndex=0),void 0):this.elFormatSelect.selectedIndex=0},$ON_SET_FORMAT_FROM_SELECT_UI:function(){var b=this.elFormatSelect.value;b&&(a.browser.msie&&(b="<"+b+">"),this.oApp.exec("EXECCOMMAND",["FormatBlock",!1,b]),this.oApp.exec("CHECK_STYLE_CHANGE",[]))}}),xe.XE_Table=a.Class({_startSel:null,_endSel:null,$ON_MSG_APP_READY:function(){this._doc=a(this.oApp.getWYSIWYGDocument()),this.$FnMouseDown=a.fnBind(this._mousedown,this),this.$FnMouseUp=a.fnBind(this._mouseup,this),this.$FnMouseMove=a.fnBind(this._mousemove,this),this._doc.mousedown(this.$FnMouseDown),this._startSel=null,this._endSel=null,this.oApp.exec("REGISTER_UI_EVENT",["merge_cells","click","MERGE_CELLS"]),this.oApp.exec("REGISTER_UI_EVENT",["split_col","click","CELL_SPLIT_BY_COL"]),this.oApp.exec("REGISTER_UI_EVENT",["split_row","click","CELL_SPLIT_BY_ROW"]),this.oApp.exec("REGISTER_HOTKEY",["ctrl+alt+m","MERGE_CELLS"]),this.$super.$ON_MSG_APP_READY()},$ON_MERGE_CELLS:function(){var b="",c=a(".xe_selected_cell",this.oApp.getWYSIWYGDocument()).filter("td,th"),d=this;if(c.length){this.oApp.exec("RECORD_UNDO_ACTION",["Cell:Merge"]),c.each(function(){b+=a(this).html()}).eq(0).html(b);var e=0;c.eq(0).nextAll("td,th").andSelf().filter(".xe_selected_cell").each(function(){e+=d._getSpan(this,"col")});var f=(this._getRect(c.eq(0)),c.eq(0).parent("tr")),g=c.eq(c.length-1).parent("tr"),h=c.parents("table").eq(0).find("tr"),i=h.index(g.get(0))-h.index(f.get(0))+this._getSpan(c.eq(c.length-1),"row");c.eq(0).attr("colSpan",e).attr("rowSpan",i),c.slice(1).remove()}},$ON_CELL_SPLIT_BY_ROW:function(){var b=a(".xe_selected_cell",this.oApp.getWYSIWYGDocument()).filter("td,th"),c=b.parents("table").eq(0),d=this;if(b.length){this.oApp.exec("RECORD_UNDO_ACTION",["Cell:Split By Row"]);var e=this._getRect(b.eq(0)).top,f=this._getRect(b.eq(b.length-1)).bottom;(b=c.find("td,th").filter(function(){var b=d._getRect(a(this));return!(b.bottom<=e||b.top>=f)})).filter(".xe_selected_cell").each(function(){var c=a(this),e=c.parent("tr"),f=d._getSpan(c,"row"),g=d._getRect(c),h=[],i=c.clone().html("
"),j=1,k=1;f>1?(j=Math.ceil(f/2),k=f-j,h.push(function(){c.attr("rowSpan",j)}),i.attr("rowSpan",k)):(b.filter(function(){if(c.get(0)==this)return!1;var b=a(this),e=d._getRect(b);return e.bottom<=g.top||e.top>=g.bottom?!1:!0}).each(function(){var b=a(this),c=d._getSpan(b,"row")+1;h.push(function(){b.attr("rowSpan",c)})}),a.browser.msie?e.after(e.clone().empty().get(0).outerHTML):e.after(e.clone().empty()));var l=e.nextAll("tr");if(l.length){var m=l.eq(j-1).children("td,th").filter(function(){return d._getRect(a(this)).left>g.left});a.browser.msie?m.length?m.eq(0).before(i.get(0).outerHTML):l.eq(j-1).append(i.get(0).outerHTML):m.length?m.slice(0,1).before(i):l.slice(j-1,1).append(i)}else e.after(e.clone().empty().append(i));a.each(h,function(){this()})})}},$ON_CELL_SPLIT_BY_COL:function(){{var b=a(".xe_selected_cell",this.oApp.getWYSIWYGDocument()).filter("td,th"),c=b.parents("table").slice(0,1),d=this;(new Date).getTime()}if(b.length){this.oApp.exec("RECORD_UNDO_ACTION",["Cell:Split By Column"]);var e=b.eq(0).parent("tr"),f=this._getRect(e.find(".xe_selected_cell:first")).left,g=this._getRect(e.find(".xe_selected_cell:last")).right;(b=c.find("td,th").filter(function(){var b=d._getRect(a(this));return!(b.right<=f||b.left>=g)})).filter(".xe_selected_cell").each(function(){var c=a(this),e=d._getSpan(c,"col"),f=c.clone().html("
");if(e>1){var g=Math.ceil(e/2),h=e-g;c.attr("colSpan",g),f.attr("colSpan",h)}else{var i=d._getRect(c);b.filter(function(){if(c.get(0)==this)return!1;var b=a(this),e=d._getRect(b);return e.right<=i.left||e.left>=i.right?!1:!0}).each(function(){var b=a(this);b.attr("colSpan",d._getSpan(b,"col")+1)}),f.attr("colSpan",1)}a.browser.msie?c.after(f.get(0).outerHTML):c.after(f)})}},$ON_CHECK_STYLE_CHANGE:function(){var b=["merge_cells","split_col","split_row"],c=this.oApp,d=this._startSel&&this._startSel.is(".xe_selected_cell")?"ENABLE_UI":"DISABLE_UI";a.each(b,function(){c.exec(d,[this])})},_mousedown:function(b){function c(){return e=f.getSelection().cloneRange(),e.collapseToStart(),e=a(e.startContainer).parents().andSelf().filter("td,th").eq(0),e.length?(g._getRect(g._startSel=e),g._doc.bind("mousemove",g.$FnMouseMove),g._doc.bind("mouseup",g.$FnMouseUp),void 0):g._removeAllListener()||!0}var d=a(b.target),e=d.parents().andSelf().filter("td,th,table"),f=this.oApp,g=this;a("td.xe_selected_cell",this.oApp.getWYSIWYGDocument()).removeClass("xe_selected_cell"),this._startSel=null,this._endSel=null,e.length&&this._isLeftClicked(b.button)&&setTimeout(c,0)},_mouseup:function(){this._removeAllListener(),this._startSel=this._endSel=null},_mousemove:function(b){function c(){var a=f.oApp.getSelection();f._startSel&&(f._startSel.get(0).firstChild||f._startSel.text(" "),a.selectNode(f._startSel.get(0).firstChild),a.collapseToStart(),a.select())}var d=a(b.target),e=d.parents().andSelf().filter("td,th").eq(0),f=this;if(e.length&&this._isLeftClicked(b.button)&&!(!this._endSel&&e.get(0)==this._startSel.get(0)||this._endSel&&e.get(0)==this._endSel.get(0))){this._getRect(this._endSel=e);var g=Math.min(this._startSel.rect.top,this._endSel.rect.top),h=Math.min(this._startSel.rect.left,this._endSel.rect.left),i=Math.max(this._startSel.rect.bottom,this._endSel.rect.bottom),j=Math.max(this._startSel.rect.right,this._endSel.rect.right),k=e.parents("table"),l=k.find("td,th").removeClass("xe_selected_cell"),m=a();do m.each(function(){var b=f._getRect(a(this));b.right>j&&(j=b.right),b.lefti&&(i=b.bottom)}),l=l.filter(":not(.xe_selected_cell)"),m=l.filter(function(){var b=f._getRect(a(this));return b.right<=h||b.left>=j||b.bottom<=g||b.top>=i?!1:!0}).addClass("xe_selected_cell");while(m.length);return a.browser.mozilla||setTimeout(c,0),!1}},_removeAllListener:function(){this._doc.unbind("mousemove",this.$FnMouseMove),this._doc.unbind("mouseup",this.$FnMouseUp)},_isLeftClicked:function(b){return a.browser.msie?!!(1&b):0==b},_getRect:function(a){var b=a.get(0);return a.rect={},a.rect.top=b.offsetTop,a.rect.left=b.offsetLeft,a.rect.bottom=a.rect.top+b.offsetHeight,a.rect.right=a.rect.left+b.offsetWidth,a.rect},_getSpan:function(b,c){var d=parseInt(a(b).attr(c+"span"));return isNaN(d)?1:d}}).extend(xe.XE_Table)}(jQuery),window.xe||(xe={}),xe.Editors=[],xe.XE_GET_WYSYWYG_MODE=jQuery.Class({name:"XE_GET_WYSYWYG_MODE",$init:function(a){this.editor_sequence=a},$ON_CHANGE_EDITING_MODE:function(a){editorMode[this.editor_sequence]="HTMLSrc"==a?"html":"wysiwyg"}}),xe.XE_PreservTemplate=jQuery.Class({name:"XE_PreservTemplate",isRun:!1,$BEFORE_SET_IR:function(a){return this.isRun||a?void 0:(this.isRun=!0,!1)}}),xe.XE_Preview=jQuery.Class({name:"XE_Preview",elPreviewButton:null,$init:function(a){this._assignHTMLObjects(a)},_assignHTMLObjects:function(a){this.elPreviewButton=jQuery("BUTTON.xpress_xeditor_preview_button",a)},$ON_MSG_APP_READY:function(){this.oApp.registerBrowserEvent(this.elPreviewButton.get(0),"click","EVENT_PREVIEW",[])},$ON_EVENT_PREVIEW:function(){}}); \ No newline at end of file +}}),xe.XE_Editorresize=a.Class({name:"XE_Editorresize",$init:function(b,c){this.inputArea=a(".xpress_xeditor_editing_area_container",b).get(0),this.oVerticalResizer=a(".xpress_xeditor_editingArea_verticalResizer",b).get(0),this.oCheckBox=a("#editorresize",b).get(0),this.oIframe=c;var d=this;a(c).load(function(){d.oIframeBody=a(c).contents().find("body")})},$ON_MSG_APP_READY:function(){this.oApp.registerBrowserEvent(this.oCheckBox,"change","XE_TOGGLE_EDITOR_RESIZE")},$ON_XE_TOGGLE_EDITOR_RESIZE:function(){1==this.oCheckBox.checked?(void 0==this._prevHeight&&(this._prevHeight=this.inputArea.style.height),this.oVerticalResizer.style.display="none",this.oApp.registerBrowserEvent(this.oIframeBody,"keydown","XE_EDITOR_RESIZE"),this.inputArea.style.height=this.oIframe.style.height=this.oIframeBody[0].scrollHeight+"px"):(a(this.oIframeBody).unbind("keydown"),this.oVerticalResizer.style.display="block",this.inputArea.style.height=this._prevHeight,this.oIframe.style.height=this._prevHeight)},$ON_XE_EDITOR_RESIZE:function(){var a=this;setTimeout(function(){a.inputArea.style.height=a.oIframe.style.height=a.oIframeBody[0].scrollHeight+"px"},0)}});var d={"XE_EditingAreaManager.onExit":"%uB0B4%uC6A9%uC774%20%uBCC0%uACBD%uB418%uC5C8%uC2B5%uB2C8%uB2E4.","XE_FontColor.invalidColorCode":"%uC0C9%uC0C1%20%uCF54%uB4DC%uB97C%20%uC62C%uBC14%uB974%uAC8C%20%uC785%uB825%uD558%uC5EC%20%uC8FC%uC2DC%uAE30%20%uBC14%uB78D%uB2C8%uB2E4.\n\n%uC608%29%20%23000000%2C%20%23FF0000%2C%20%23FFFFFF%2C%20%23ffffff%2C%20ffffff","XE_BGColor.invalidColorCode":"%uC0C9%uC0C1%20%uCF54%uB4DC%uB97C%20%uC62C%uBC14%uB974%uAC8C%20%uC785%uB825%uD558%uC5EC%20%uC8FC%uC2DC%uAE30%20%uBC14%uB78D%uB2C8%uB2E4.\n\n%uC608%29%20%23000000%2C%20%23FF0000%2C%20%23FFFFFF%2C%20%23ffffff%2C%20ffffff","XE_Hyperlink.invalidURL":"%uC785%uB825%uD558%uC2E0%20URL%uC774%20%uC62C%uBC14%uB974%uC9C0%20%uC54A%uC2B5%uB2C8%uB2E4."};xe.XpressCore.oMessageMap=d;regex_handler=/<(.*?)\s+on[a-z]+\s*=(?:\s*".*?"|\s*'.*?'|[^\s>]+)(.*?)>/gi,regex_font_color=/color\s*=(?:\s*"(.*?)"|\s*'(.*?)'|([^\s>]+))/i,regex_font_face=/face\s*=(?:\s*"(.*?)"|\s*'(.*?)'|([^\s>]+))/i,regex_font_size=/size\s*=(?:\s*"(\d+)"|\s*'(\d+)'|(\d+))/i,regex_style=/style\s*=\s*(?:\s*"(.*?)"|\s*'(.*?)'|([^\s>]+))/i,regex_font_weight=/font-weight\s*:\s*([a-z]+);?/i,regex_font_style=/font-style\s*:\s*italic;?/i,regex_font_decoration=/text-decoration\s*:\s*([a-z -]+);?/i,regex_jquery=/jQuery\d+\s*=(\s*"\d+"|\d+)/gi,regex_quote_attr=/([\w-]+\s*=(?:\s*"[^"]+"|\s*'[^']+'))|([\w-]+)=([^\s]+)/g;var e=("a,abbr,acronym,address,area,blockquote,br,caption,center,cite,code,col,colgroup,dd,del,dfn,div,dl,dt,em,embed,h1,h2,h3,h4,h5,h6,hr,img,ins,kbd,li,map,object,ol,p,param,pre,q,samp,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,tt,u,ul,var,iframe,object,param,style".split(","),"area,br,col,embed,hr,img,input,param,base,meta,link,basefont,isindex".split(","));xe.XE_XHTMLFormatter=a.Class({name:"XE_XHTMLFormatter",$ON_MSG_APP_READY:function(){this.oApp.addConverter("WYSIWYG_TO_IR",this.TO_IR),this.oApp.addConverter("HTMLSrc_TO_IR",this.TO_IR),this.oApp.addConverter("IR_TO_HTMLSrc",this.IR_TO),this.oApp.addConverter("IR_TO_WYSIWYG",this.IR_TO)},TO_IR:function(b){var c=[];if(a.browser.msie&&(b=b.replace(regex_jquery,""),b=b.replace(/<(\w+) ([^>]+)>/g,function(a,b,c){return"<"+b+" "+c.replace(regex_quote_attr,function(a,b,c,d){return b?b:/^"/.test(d)||/"$/.test(d)?c+"="+d:c+'="'+(d||c)+'"'})+">"})),regex=/<(\/)?([:\w\/-]+)(.*?)>/gi,b=b.replace(regex,function(b,d,f,g){var h="";if(d=d||"",f=f.toLowerCase(),g=a.trim(g||""),d){var i=[],j="";if(a.inArray(f,e)>=0)return"";if(!c.length)return"";do j=c.pop(),j.tag==f&&"deleted"!=j.state&&i.push("");while(c.length&&j.tag!=f);return i.join("")}if(a.inArray(f,e)>=0){var k=g.length;return"br"==f&&(g=""),g&&"/"==g.substring(k-1,k)||(g+=" /"),"<"+f+" "+a.trim(g)+">"}return c.push({tag:f,state:h}),"<"+d+f+(g?" "+g:"")+">"}),c.length){var d="";do d=c.pop(),"deleted"!=d.state&&(b+="");while(c.length)}return regex=/<\/p>[ \t]*(\n)?/gi,b=b.replace(regex,"

\n")},IR_TO:function(a){return a}}),xe.XE_Extension=a.Class({name:"XE_Extension",seq:"",last_doc:"",$init:function(a,b){this.seq=b,this._assignHTMLObjects(a)},_assignHTMLObjects:function(b){this.elDropdownLayer=a("DIV.xpress_xeditor_extension_layer",b).get(0)},_removeAttrs:function(a){return a},_addEvent:function(){if("WYSIWYG"==this.oApp.getEditingMode()){var b=this.oApp.getWYSIWYGDocument(),c=this.seq,d=function(){var b=a(this),d=b.attr("editor_component");d&&a.isFunction(openComponent)&&(editorPrevNode=b.get(0),openComponent(d,c))};a(b).find("img,div[editor_component]").each(function(){var c=a(this);"IMG"!=this.nodeName||c.attr("editor_component")||c.attr("widget")||c.attr("editor_component","image_link"),this.last_doc!=b&&(c.unbind("dblclick.widget").bind("dblclick.widget",d),this.last_doc=b)})}},$ON_MSG_APP_READY:function(){var b=this.oApp;b.exec("REGISTER_UI_EVENT",["extension","click","TOGGLE_EXTENSION_LAYER"]);var c=function(){b.exec("HIDE_ACTIVE_LAYER",[])};a("a",this.elDropdownLayer).each(function(){var b=a(this);b.attr("component_onclick_event_added")||(b.click(c),b.attr("component_onclick_event_added","Y"))})},$ON_TOGGLE_EXTENSION_LAYER:function(){this.oApp.exec("TOGGLE_TOOLBAR_ACTIVE_LAYER",[this.elDropdownLayer])},$ON_CHANGE_EDITING_MODE:function(){var a=this;setTimeout(function(){a._addEvent()},100)},$ON_PASTE_HTML:function(){var a=this;setTimeout(function(){a._addEvent()},100)},$ON_LOAD_IR_FIELD:function(){var a=this;setTimeout(function(){a._addEvent()},100)},$ON_SET_IR:function(){var a=this;setTimeout(function(){a._addEvent()},100)}}),xe.XE_AutoSave=a.Class({name:"XE_AutoSave",form:null,textarea:null,$init:function(a,b){this.form=a.form,this.textarea=a,this._assignHTMLObjects(b)},_assignHTMLObjects:function(){this.welMessageBox=a("autosave_message")},$ON_MSG_APP_READY:function(){var b=a(this.form._saved_doc_title),c=a(this.form._saved_doc_content),d=a(this.form._saved_doc_document_srl),e=a.trim(b.val()),f=a.trim(c.val()),g=a.trim(d.val());(e||f||g)&&(confirm(this.form._saved_doc_message.value)?(a(this.form.title).val(e),this.oApp.setIR(f),"function"==typeof editorGetAutoSavedDoc&&editorGetAutoSavedDoc(this.form)):editorRemoveSavedDoc()),editorEnableAutoSave(this.form,a(this.form).attr("editor_sequence")),this.oApp.exec("REGISTER_HOTKEY",["ctrl+shift+s","AUTO_SAVE"])},$ON_AUTO_SAVE:function(){_editorAutoSave()}}),xe.XE_FormatWithSelectUI=a.Class({name:"XE_FormatWithSelectUI",$init:function(a){this._assignHTMLObjects(a)},_assignHTMLObjects:function(b){this.elFormatSelect=a("SELECT.xpress_xeditor_ui_format_select",b).get(0)},$ON_MSG_APP_READY:function(){this.oApp.registerBrowserEvent(this.elFormatSelect,"change","SET_FORMAT_FROM_SELECT_UI"),this.elFormatSelect.selectedIndex=0},$ON_MSG_STYLE_CHANGED:function(){var b=this.oApp.getWYSIWYGDocument().queryCommandValue("FormatBlock");return b?(a.browser.msie&&/([0-9])/.test(b)&&(b="h"+RegExp.$1),this.elFormatSelect.value=b.toLowerCase(),this.elFormatSelect.selectedIndex<0&&(this.elFormatSelect.selectedIndex=0),this.elFormatSelect.value!=b.toLowerCase()&&(this.elFormatSelect.selectedIndex=0),void 0):this.elFormatSelect.selectedIndex=0},$ON_SET_FORMAT_FROM_SELECT_UI:function(){var b=this.elFormatSelect.value;b&&(a.browser.msie&&(b="<"+b+">"),this.oApp.exec("EXECCOMMAND",["FormatBlock",!1,b]),this.oApp.exec("CHECK_STYLE_CHANGE",[]))}}),xe.XE_Table=a.Class({_startSel:null,_endSel:null,$ON_MSG_APP_READY:function(){this._doc=a(this.oApp.getWYSIWYGDocument()),this.$FnMouseDown=a.fnBind(this._mousedown,this),this.$FnMouseUp=a.fnBind(this._mouseup,this),this.$FnMouseMove=a.fnBind(this._mousemove,this),this._doc.mousedown(this.$FnMouseDown),this._startSel=null,this._endSel=null,this.oApp.exec("REGISTER_UI_EVENT",["merge_cells","click","MERGE_CELLS"]),this.oApp.exec("REGISTER_UI_EVENT",["split_col","click","CELL_SPLIT_BY_COL"]),this.oApp.exec("REGISTER_UI_EVENT",["split_row","click","CELL_SPLIT_BY_ROW"]),this.oApp.exec("REGISTER_HOTKEY",["ctrl+alt+m","MERGE_CELLS"]),this.$super.$ON_MSG_APP_READY()},$ON_MERGE_CELLS:function(){var b="",c=a(".xe_selected_cell",this.oApp.getWYSIWYGDocument()).filter("td,th"),d=this;if(c.length){this.oApp.exec("RECORD_UNDO_ACTION",["Cell:Merge"]),c.each(function(){b+=a(this).html()}).eq(0).html(b);var e=0;c.eq(0).nextAll("td,th").andSelf().filter(".xe_selected_cell").each(function(){e+=d._getSpan(this,"col")});var f=(this._getRect(c.eq(0)),c.eq(0).parent("tr")),g=c.eq(c.length-1).parent("tr"),h=c.parents("table").eq(0).find("tr"),i=h.index(g.get(0))-h.index(f.get(0))+this._getSpan(c.eq(c.length-1),"row");c.eq(0).attr("colSpan",e).attr("rowSpan",i),c.slice(1).remove()}},$ON_CELL_SPLIT_BY_ROW:function(){var b=a(".xe_selected_cell",this.oApp.getWYSIWYGDocument()).filter("td,th"),c=b.parents("table").eq(0),d=this;if(b.length){this.oApp.exec("RECORD_UNDO_ACTION",["Cell:Split By Row"]);var e=this._getRect(b.eq(0)).top,f=this._getRect(b.eq(b.length-1)).bottom;(b=c.find("td,th").filter(function(){var b=d._getRect(a(this));return!(b.bottom<=e||b.top>=f)})).filter(".xe_selected_cell").each(function(){var c=a(this),e=c.parent("tr"),f=d._getSpan(c,"row"),g=d._getRect(c),h=[],i=c.clone().html("
"),j=1,k=1;f>1?(j=Math.ceil(f/2),k=f-j,h.push(function(){c.attr("rowSpan",j)}),i.attr("rowSpan",k)):(b.filter(function(){if(c.get(0)==this)return!1;var b=a(this),e=d._getRect(b);return e.bottom<=g.top||e.top>=g.bottom?!1:!0}).each(function(){var b=a(this),c=d._getSpan(b,"row")+1;h.push(function(){b.attr("rowSpan",c)})}),a.browser.msie?e.after(e.clone().empty().get(0).outerHTML):e.after(e.clone().empty()));var l=e.nextAll("tr");if(l.length){var m=l.eq(j-1).children("td,th").filter(function(){return d._getRect(a(this)).left>g.left});a.browser.msie?m.length?m.eq(0).before(i.get(0).outerHTML):l.eq(j-1).append(i.get(0).outerHTML):m.length?m.slice(0,1).before(i):l.slice(j-1,1).append(i)}else e.after(e.clone().empty().append(i));a.each(h,function(){this()})})}},$ON_CELL_SPLIT_BY_COL:function(){{var b=a(".xe_selected_cell",this.oApp.getWYSIWYGDocument()).filter("td,th"),c=b.parents("table").slice(0,1),d=this;(new Date).getTime()}if(b.length){this.oApp.exec("RECORD_UNDO_ACTION",["Cell:Split By Column"]);var e=b.eq(0).parent("tr"),f=this._getRect(e.find(".xe_selected_cell:first")).left,g=this._getRect(e.find(".xe_selected_cell:last")).right;(b=c.find("td,th").filter(function(){var b=d._getRect(a(this));return!(b.right<=f||b.left>=g)})).filter(".xe_selected_cell").each(function(){var c=a(this),e=d._getSpan(c,"col"),f=c.clone().html("
");if(e>1){var g=Math.ceil(e/2),h=e-g;c.attr("colSpan",g),f.attr("colSpan",h)}else{var i=d._getRect(c);b.filter(function(){if(c.get(0)==this)return!1;var b=a(this),e=d._getRect(b);return e.right<=i.left||e.left>=i.right?!1:!0}).each(function(){var b=a(this);b.attr("colSpan",d._getSpan(b,"col")+1)}),f.attr("colSpan",1)}a.browser.msie?c.after(f.get(0).outerHTML):c.after(f)})}},$ON_CHECK_STYLE_CHANGE:function(){var b=["merge_cells","split_col","split_row"],c=this.oApp,d=this._startSel&&this._startSel.is(".xe_selected_cell")?"ENABLE_UI":"DISABLE_UI";a.each(b,function(){c.exec(d,[this])})},_mousedown:function(b){function c(){return e=f.getSelection().cloneRange(),e.collapseToStart(),e=a(e.startContainer).parents().andSelf().filter("td,th").eq(0),e.length?(g._getRect(g._startSel=e),g._doc.bind("mousemove",g.$FnMouseMove),g._doc.bind("mouseup",g.$FnMouseUp),void 0):g._removeAllListener()||!0}var d=a(b.target),e=d.parents().andSelf().filter("td,th,table"),f=this.oApp,g=this;a("td.xe_selected_cell",this.oApp.getWYSIWYGDocument()).removeClass("xe_selected_cell"),this._startSel=null,this._endSel=null,e.length&&this._isLeftClicked(b.button)&&setTimeout(c,0)},_mouseup:function(){this._removeAllListener(),this._startSel=this._endSel=null},_mousemove:function(b){function c(){var a=f.oApp.getSelection();f._startSel&&(f._startSel.get(0).firstChild||f._startSel.text(" "),a.selectNode(f._startSel.get(0).firstChild),a.collapseToStart(),a.select())}var d=a(b.target),e=d.parents().andSelf().filter("td,th").eq(0),f=this;if(e.length&&this._isLeftClicked(b.button)&&!(!this._endSel&&e.get(0)==this._startSel.get(0)||this._endSel&&e.get(0)==this._endSel.get(0))){this._getRect(this._endSel=e);var g=Math.min(this._startSel.rect.top,this._endSel.rect.top),h=Math.min(this._startSel.rect.left,this._endSel.rect.left),i=Math.max(this._startSel.rect.bottom,this._endSel.rect.bottom),j=Math.max(this._startSel.rect.right,this._endSel.rect.right),k=e.parents("table"),l=k.find("td,th").removeClass("xe_selected_cell"),m=a();do m.each(function(){var b=f._getRect(a(this));b.right>j&&(j=b.right),b.lefti&&(i=b.bottom)}),l=l.filter(":not(.xe_selected_cell)"),m=l.filter(function(){var b=f._getRect(a(this));return b.right<=h||b.left>=j||b.bottom<=g||b.top>=i?!1:!0}).addClass("xe_selected_cell");while(m.length);return a.browser.mozilla||setTimeout(c,0),!1}},_removeAllListener:function(){this._doc.unbind("mousemove",this.$FnMouseMove),this._doc.unbind("mouseup",this.$FnMouseUp)},_isLeftClicked:function(b){return a.browser.msie?!!(1&b):0==b},_getRect:function(a){var b=a.get(0);return a.rect={},a.rect.top=b.offsetTop,a.rect.left=b.offsetLeft,a.rect.bottom=a.rect.top+b.offsetHeight,a.rect.right=a.rect.left+b.offsetWidth,a.rect},_getSpan:function(b,c){var d=parseInt(a(b).attr(c+"span"));return isNaN(d)?1:d}}).extend(xe.XE_Table)}(jQuery),window.xe||(xe={}),xe.Editors=[],xe.XE_GET_WYSYWYG_MODE=jQuery.Class({name:"XE_GET_WYSYWYG_MODE",$init:function(a){this.editor_sequence=a},$ON_CHANGE_EDITING_MODE:function(a){editorMode[this.editor_sequence]="HTMLSrc"==a?"html":"wysiwyg"}}),xe.XE_PreservTemplate=jQuery.Class({name:"XE_PreservTemplate",isRun:!1,$BEFORE_SET_IR:function(a){return this.isRun||a?void 0:(this.isRun=!0,!1)}}),xe.XE_Preview=jQuery.Class({name:"XE_Preview",elPreviewButton:null,$init:function(a){this._assignHTMLObjects(a)},_assignHTMLObjects:function(a){this.elPreviewButton=jQuery("BUTTON.xpress_xeditor_preview_button",a)},$ON_MSG_APP_READY:function(){this.oApp.registerBrowserEvent(this.elPreviewButton.get(0),"click","EVENT_PREVIEW",[])},$ON_EVENT_PREVIEW:function(){}}); \ No newline at end of file From 21be1718e63138cc494d07767adffe1610bf1306 Mon Sep 17 00:00:00 2001 From: bnu Date: Sun, 24 Nov 2013 01:51:51 +0900 Subject: [PATCH 121/473] =?UTF-8?q?minify=20=EC=84=A4=EC=A0=95=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gruntfile.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index 96e01d794..0a41f9f26 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -79,6 +79,9 @@ module.exports = function(grunt) { 'modules/widget/tpl/js/generate_code.min.js': ['modules/widget/tpl/js/generate_code.js'], 'modules/widget/tpl/js/widget.min.js': ['modules/widget/tpl/js/widget.js'], 'modules/widget/tpl/js/widget_admin.min.js': ['modules/widget/tpl/js/widget_admin.js'], + // modules/poll + 'modules/poll/tpl/js/poll_admin.min.js': ['modules/poll/tpl/js/poll_admin.js'], + 'modules/poll/tpl/js/poll.min.js': ['modules/poll/tpl/js/poll.js'], } } }, @@ -109,6 +112,18 @@ module.exports = function(grunt) { files: { 'modules/widget/tpl/css/widget.min.css': ['modules/widget/tpl/css/widget.css'], } + }, + 'moudle-poll': { + files: { + 'modules/poll/tpl/css/poll.min.css': ['modules/poll/tpl/css/poll.css'], + 'modules/poll/skins/default/css/poll.min.css': ['modules/poll/skins/default/css/poll.css'], + 'modules/poll/skins/simple/css/poll.min.css': ['modules/poll/skins/simple/css/poll.css'], + } + }, + 'moudle-editor': { + files: { + 'modules/editor/skins/xpresseditor/css/default.min.css': ['modules/editor/skins/xpresseditor/css/default.css'], + } } }, jshint: { From 75a2a95ff01d2f5aed1d0e7dbe3853150ec80bdd Mon Sep 17 00:00:00 2001 From: bnu Date: Sun, 24 Nov 2013 01:52:23 +0900 Subject: [PATCH 122/473] minify js, css --- common/js/common.min.js | 1 - modules/editor/skins/xpresseditor/css/default.min.css | 2 +- modules/poll/skins/default/css/poll.min.css | 2 +- modules/poll/skins/simple/css/poll.min.css | 2 +- modules/poll/tpl/css/poll.min.css | 2 +- modules/poll/tpl/js/poll.min.js | 3 +-- modules/poll/tpl/js/poll_admin.min.js | 2 +- 7 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 common/js/common.min.js diff --git a/common/js/common.min.js b/common/js/common.min.js deleted file mode 100644 index 8a3dd079a..000000000 --- a/common/js/common.min.js +++ /dev/null @@ -1 +0,0 @@ -if(jQuery){jQuery.noConflict()}(function(b){var a=navigator.userAgent.toLowerCase();b.os={Linux:/linux/.test(a),Unix:/x11/.test(a),Mac:/mac/.test(a),Windows:/win/.test(a)};b.os.name=(b.os.Windows)?"Windows":(b.os.Linux)?"Linux":(b.os.Unix)?"Unix":(b.os.Mac)?"Mac":"";window.XE={loaded_popup_menus:new Array(),addedDocument:new Array(),checkboxToggleAll:function(d){if(!is_def(d)){d="cart"}var c={wrap:null,checked:"toggle",doClick:false};switch(arguments.length){case 1:if(typeof(arguments[0])=="string"){d=arguments[0]}else{b.extend(c,arguments[0]||{});d="cart"}break;case 2:d=arguments[0];b.extend(c,arguments[1]||{})}if(c.doClick==true){c.checked=null}if(typeof(c.wrap)=="string"){c.wrap="#"+c.wrap}if(c.wrap){var e=b(c.wrap).find("input[name="+d+"]:checkbox")}else{var e=b("input[name="+d+"]:checkbox")}if(c.checked=="toggle"){e.each(function(){b(this).attr("checked",(b(this).attr("checked"))?false:true)})}else{(c.doClick==true)?e.click():e.attr("checked",c.checked)}},displayPopupMenu:function(k,e,h){var s=h.target_srl;var r=h.menu_id;var j=k.menus;var n="";if(this.loaded_popup_menus[r]){n=this.loaded_popup_menus[r]}else{if(j){var t=j.item;if(typeof(t.length)=="undefined"||t.length<1){t=new Array(t)}if(t.length){for(var l=0;l"+p+" "}}}this.loaded_popup_menus[r]=n}if(n){var f=b("#popup_menu_area").html("
    "+n+"
");var g={top:h.page_y,left:h.page_x};if(f.outerHeight()+g.top>b(window).height()+b(window).scrollTop()){g.top=b(window).height()-f.outerHeight()+b(window).scrollTop()}if(f.outerWidth()+g.left>b(window).width()+b(window).scrollLeft()){g.left=b(window).width()-f.outerWidth()+b(window).scrollLeft()}f.css({top:g.top,left:g.left}).show().focus()}}}})(jQuery);jQuery(function(c){c('a[href^="#"]').click(function(){c(c(this).attr("href")).attr("tabindex","0").focus()});if(c.browser.msie){c("select").each(function(g,d){var f=false;var h=new Array();for(var e=0;e-1)?h[g]:e}}if(!f){return}d.oldonchange=d.onchange;d.onchange=function(){if(this.options[this.selectedIndex].disabled){this.selectedIndex=h[g]}else{if(this.oldonchange){this.oldonchange()}}};if(d.selectedIndex>=0&&d.options[d.selectedIndex].disabled){d.onchange()}})}var a=c(".xe_content .fold_button");if(a.size()){var b=c("div.fold_container",a);c("button.more",a).click(function(){c(this).hide().next("button").show().parent().next(b).show()});c("button.less",a).click(function(){c(this).hide().prev("button").show().parent().next(b).hide()})}jQuery('input[type="submit"],button[type="submit"]').click(function(e){var d=jQuery(e.currentTarget);setTimeout(function(){return function(){d.attr("disabled","disabled")}}(),0);setTimeout(function(){return function(){d.removeAttr("disabled")}}(),3000)})});(function(){function a(d,c){return(d.replace(/#.*$/,"")===c.replace(/#.*$/,""))}var b=Array.isArray||function(c){return Object.prototype.toString.call(c)=="[object Array]"};String.prototype.getQuery=function(e){var h=a(this,window.location.href)?current_url:this;var c=h.indexOf("?");if(c==-1){return null}var g=h.substr(c+1,this.length),d={};g.replace(/([^=]+)=([^&]*)(&|$)/g,function(){d[arguments[1]]=arguments[2]});var f=d[e];if(typeof(f)=="undefined"){f=""}return f};String.prototype.setQuery=function(p,e){var j=a(this,window.location.href)?current_url:this;var o=j.indexOf("?");var f=j.replace(/#$/,"");var k,r,q;if(typeof(e)=="undefined"){e=""}if(o!=-1){var h=f.substr(o+1,j.length),l={},t=[];f=j.substr(0,o);h.replace(/([^=]+)=([^&]*)(&|$)/g,function(i,c,u){l[c]=u});l[p]=e;for(var d in l){if(!l.hasOwnProperty(d)){continue}if(!(q=String(l[d]).trim())){continue}t.push(d+"="+decodeURI(q))}h=t.join("&");f=f+(h?"?"+h:"")}else{if(String(e).trim()){f=f+"?"+p+"="+e}}r=/^https:\/\/([^:\/]+)(:\d+|)/i;if(r.test(f)){var s="http://"+RegExp.$1;if(window.http_port&&http_port!=80){s+=":"+http_port}f=f.replace(r,s)}var n=!!window.enforce_ssl;if(!n&&b(window.ssl_actions)&&(k=f.getQuery("act"))){for(var g=0,m=ssl_actions.length;g-1&&!a.getQuery("vid")){a=a.setQuery("vid",xeVid)}try{if(f!="_blank"&&winopen_list[f]){winopen_list[f].close();winopen_list[f]=null}}catch(d){}if(typeof(f)=="undefined"){f="_blank"}if(typeof(b)=="undefined"){b=""}var c=window.open(a,f,b);c.focus();if(f!="_blank"){winopen_list[f]=c}}function popopen(a,b){if(typeof(b)=="undefined"){b="_blank"}if(typeof(xeVid)!="undefined"&&a.indexOf(request_uri)>-1&&!a.getQuery("vid")){a=a.setQuery("vid",xeVid)}winopen(a,b,"width=800,height=600,scrollbars=yes,resizable=yes,toolbars=no")}function sendMailTo(a){location.href="mailto:"+a}function move_url(a,b){if(!a){return false}if(typeof(b)=="undefined"){b="N"}if(b=="N"){b=false}else{b=true}if(/^\./.test(a)){a=request_uri+a}if(b){winopen(a)}else{location.href=a}return false}function displayMultimedia(e,d,a,b){var c=_displayMultimedia(e,d,a,b);if(c){document.writeln(c)}}function _displayMultimedia(a,c,i,k){if(a.indexOf("files")==0){a=request_uri+a}var e={wmode:"transparent",allowScriptAccess:"sameDomain",quality:"high",flashvars:"",autostart:false};var d=jQuery.extend(e,k||{});var j=(d.autostart&&d.autostart!="false")?"true":"false";delete (d.autostart);var f="";var g="";var h="";if(/\.(gif|jpg|jpeg|bmp|png)$/i.test(a)){h=''}else{if(/\.flv$/i.test(a)||/\.mov$/i.test(a)||/\.moov$/i.test(a)||/\.m4v$/i.test(a)){h=''}else{if(/\.swf/i.test(a)){f="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";if(typeof(enforce_ssl)!="undefined"&&enforce_ssl){g="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"}else{g="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"}h='';h+='';for(var b in d){if(d[b]!="undefined"&&d[b]!=""){h+=''}}h+=''}else{if(jQuery.browser.mozilla||jQuery.browser.opera){j=(d.autostart&&d.autostart!="false")?"1":"0"}h='.popup"),a,d,c,e,g;g=b.css({overflow:"scroll"}).offset();a=b.width(10).height(10000).get(0).scrollWidth+g.left*2;d=b.height(10).width(10000).get(0).scrollHeight+g.top*2;if(a<800){a=800+g.left*2}c=i.width();e=i.height();if(a!=c){window.resizeBy(a-c,0)}if(d!=e){window.resizeBy(0,d-e)}b.width(a-g.left*2).css({overflow:"",height:""})}function doCallModuleAction(a,c,b){var d={target_srl:b,cur_mid:current_mid,mid:current_mid};exec_xml(a,c,d,completeCallModuleAction)}function completeCallModuleAction(a,b){if(a.message!="success"){alert(a.message)}location.reload()}function completeMessage(a){alert(a.message);location.reload()}function doChangeLangType(a){if(typeof(a)=="string"){setLangType(a)}else{var b=a.options[a.selectedIndex].value;setLangType(b)}location.href=location.href.setQuery("l","")}function setLangType(b){var a=new Date();a.setTime(a.getTime()+(7000*24*3600000));setCookie("lang_type",b,a,"/")}function doDocumentPreview(e){var a=e;while(a.nodeName!="FORM"){a=a.parentNode}if(a.nodeName!="FORM"){return}var b=a.getAttribute("editor_sequence");var c=editorGetContent(b);var d=window.open("","previewDocument","toolbars=no,width=700px;height=800px,scrollbars=yes,resizable=yes");var f=jQuery("#previewDocument");if(!f.length){jQuery('
').appendTo(document.body);f=jQuery("#previewDocument")[0]}else{f=f[0]}if(f){f.content.value=c;f.submit()}}function doDocumentSave(f){var b=f.form.getAttribute("editor_sequence");var h=editorRelKeys[b]["content"].value;if(typeof(b)!="undefined"&&b&&typeof(editorRelKeys)!="undefined"&&typeof(editorGetContent)=="function"){var c=editorGetContent(b);editorRelKeys[b]["content"].value=c}var g={},e=["error","message","document_srl"],a=f.form.elements,d=jQuery(f.form).serializeArray();jQuery.each(d,function(j,k){var l=jQuery.trim(k.value);if(!l){return true}if(/\[\]$/.test(k.name)){k.name=k.name.replace(/\[\]$/,"")}if(g[k.name]){g[k.name]+="|@|"+l}else{g[k.name]=k.value}});exec_xml("document","procDocumentTempSave",g,completeDocumentSave,e,g,f.form);editorRelKeys[b]["content"].value=h;return false}function completeDocumentSave(a){jQuery("input[name=document_srl]").eq(0).val(a.document_srl);alert(a.message)}var objForSavedDoc=null;function doDocumentLoad(a){objForSavedDoc=a.form;popopen(request_uri.setQuery("module","document").setQuery("act","dispTempSavedList"))}function doDocumentSelect(a){if(!opener||!opener.objForSavedDoc){window.close();return}opener.location.href=opener.current_url.setQuery("document_srl",a).setQuery("act","dispBoardWrite");window.close()}function viewSkinInfo(a,b){popopen("./?module=module&act=dispModuleSkinInfo&selected_module="+a+"&skin="+b,"SkinInfo")}var addedDocument=new Array();function doAddDocumentCart(b){var a=b.value;addedDocument[addedDocument.length]=a;setTimeout(function(){callAddDocumentCart(addedDocument.length)},100)}function callAddDocumentCart(a){if(addedDocument.length<1||a!=addedDocument.length){return}var b=new Array();b.srls=addedDocument.join(",");exec_xml("document","procDocumentAddCart",b,null);addedDocument=new Array()}function transRGB2Hex(d){if(!d){return d}if(d.indexOf("#")>-1){return d.replace(/^#/,"")}if(d.toLowerCase().indexOf("rgb")<0){return d}d=d.replace(/^rgb\(/i,"").replace(/\)$/,"");value_list=d.split(",");var c="";for(var b=0;b>2;g=((k&3)<<4)|(h>>4);e=((h&15)<<2)|(f>>6);d=f&63;if(isNaN(h)){e=d=64}else{if(isNaN(f)){d=64}}a=a+this._keyStr.charAt(j)+this._keyStr.charAt(g)+this._keyStr.charAt(e)+this._keyStr.charAt(d)}return a},decode:function(c){var a="";var k,h,f;var j,g,e,d;var b=0;c=c.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(b>4);h=((g&15)<<4)|(e>>2);f=((e&3)<<6)|d;a=a+String.fromCharCode(k);if(e!=64){a=a+String.fromCharCode(h)}if(d!=64){a=a+String.fromCharCode(f)}}a=Base64._utf8_decode(a);return a},_utf8_encode:function(b){b=b.replace(/\r\n/g,"\n");var a="";for(var e=0;e127)&&(d<2048)){a+=String.fromCharCode((d>>6)|192);a+=String.fromCharCode((d&63)|128)}else{a+=String.fromCharCode((d>>12)|224);a+=String.fromCharCode(((d>>6)&63)|128);a+=String.fromCharCode((d&63)|128)}}}return a},_utf8_decode:function(a){var b="";var d=0;var e=c1=c2=0;while(d191)&&(e<224)){c2=a.charCodeAt(d+1);b+=String.fromCharCode(((e&31)<<6)|(c2&63));d+=2}else{c2=a.charCodeAt(d+1);c3=a.charCodeAt(d+2);b+=String.fromCharCode(((e&15)<<12)|((c2&63)<<6)|(c3&63));d+=3}}}return b}};if(typeof(resizeImageContents)=="undefined"){function resizeImageContents(){}}if(typeof(activateOptionDisabled)=="undefined"){function activateOptionDisabled(){}}objectExtend=jQuery.extend;function toggleDisplay(a){jQuery("#"+a).toggle()}function svc_folder_open(a){jQuery("#_folder_open_"+a).hide();jQuery("#_folder_close_"+a).show();jQuery("#_folder_"+a).show()}function svc_folder_close(a){jQuery("#_folder_open_"+a).show();jQuery("#_folder_close_"+a).hide();jQuery("#_folder_"+a).hide()}function open_calendar(c,d,b){if(typeof(d)=="undefined"){d=""}var a="./common/tpl/calendar.php?";if(c){a+="fo_id="+c}if(d){a+="&day_str="+d}if(b){a+="&callback_func="+b}popopen(a,"Calendar")}var loaded_popup_menus=XE.loaded_popup_menus;function createPopupMenu(){}function chkPopupMenu(){}function displayPopupMenu(a,b,c){XE.displayPopupMenu(a,b,c)}function GetObjLeft(a){return jQuery(a).offset().left}function GetObjTop(a){return jQuery(a).offset().top}function replaceOuterHTML(b,a){jQuery(b).replaceWith(a)}function getOuterHTML(a){return jQuery(a).html().trim()}function setCookie(b,c,a,e){var d=b+"="+escape(c)+((!a)?"":("; expires="+a.toGMTString()))+"; path="+((!e)?"/":e);document.cookie=d}function getCookie(b){var a=document.cookie.match(new RegExp(b+"=(.*?)(?:;|$)"));if(a){return unescape(a[1])}}function is_def(a){return(typeof(a)!="undefined")}function ucfirst(a){return a.charAt(0).toUpperCase()+a.slice(1)}function get_by_id(a){return document.getElementById(a)}jQuery(function(a){a(document).click(function(d){var e=a("#popup_menu_area");if(!e.length){e=a('
{$lang->db_info_desc}

{$lang->advanced_setup}

-