From f7b5dec75ec9f49e6590fa731300ab8080798f9f Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Sun, 11 Jul 2010 05:15:01 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AF=AD=E8=A8=80=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +YUCHENG HU+ git-svn-id: https://svn.code.sf.net/p/hawebs/svn@486 a2543c7e-f6e9-4f8a-8bff-1ffc34733512 --- .../b1f3ab3f0c3282ec2b2d60caebd1f4e7.spc | 4 +- .../language/zh-CN/zh-CN.com_jdownloads.ini | 71 +- .../en-GB/en-GB.mod_news_show_gk3.ini | 189 +++ .../trunk/language/zh-CN/_notes/dwsync.xml | 88 ++ .../language/zh-CN/zh-CN.com_categories.ini | 8 +- .../language/zh-CN/zh-CN.com_jce_browser.ini | 12 + .../zh-CN/zh-CN.com_jce_imgmanager.ini | 17 + .../language/zh-CN/zh-CN.com_jce_media.ini | 16 + .../language/zh-CN/zh-CN.com_jce_paste.ini | 26 + .../language/zh-CN/zh-CN.com_jdownloads.ini | 54 +- .../trunk/language/zh-CN/zh-CN.com_login.ini | 2 +- .../language/zh-CN/zh-CN.com_newsfeeds.ini | 10 +- .../zh-CN/zh-CN.com_newsfeeds.menu.ini | 6 +- .../trunk/language/zh-CN/zh-CN.mod_custom.ini | 4 +- .../trunk/language/zh-CN/zh-CN.mod_footer.ini | 2 +- .../zh-CN/zh-CN.mod_news_show_gk3.ini | 189 +++ .../trunk/language/zh-CN/zh-CN.mod_stats.ini | 2 +- .../language/zh-CN/zh-CN.mod_whosonline.ini | 10 +- .../zh-CN/zh-CN.plg_search_content.ini | 2 +- .../zh-CN/zh-CN.plg_search_newsfeeds.ini | 2 +- .../installation/sql/mysql/sample_data.sql | 4 +- .../modules/mod_news_show_gk3/date.class.php | 192 +++ .../modules/mod_news_show_gk3/helper.php | 1054 +++++++++++++++++ .../modules/mod_news_show_gk3/index.html | 1 + .../mod_news_show_gk3/mod_news_show_gk3.php | 31 + .../mod_news_show_gk3/mod_news_show_gk3.xml | 365 ++++++ .../mod_news_show_gk3/scripts/engine_1_11.js | 56 + .../scripts/engine_1_11_compressed.js | 1 + .../mod_news_show_gk3/scripts/engine_1_2_1.js | 56 + .../scripts/engine_1_2_1_compressed.js | 1 + .../mod_news_show_gk3/scripts/index.html | 1 + .../scripts/mootools_1_11.js | 356 ++++++ .../scripts/mootools_1_2_1.js | 504 ++++++++ .../mod_news_show_gk3/style/_notes/dwsync.xml | 4 + .../mod_news_show_gk3/style/index.html | 1 + .../modules/mod_news_show_gk3/style/style.css | 132 +++ .../modules/mod_news_show_gk3/tmpl/index.html | 1 + .../mod_news_show_gk3/tmpl/view.default.php | 100 ++ .../tmpl/view.script_style.php | 18 + .../templates/hawebs/css/_notes/dwsync.xml | 5 + .../trunk/templates/hawebs/css/blue.css | 2 +- .../trunk/templates/hawebs/css/template.css | 2 +- 42 files changed, 3502 insertions(+), 99 deletions(-) create mode 100644 oss/joomla/trunk/language/en-GB/en-GB.mod_news_show_gk3.ini create mode 100644 oss/joomla/trunk/language/zh-CN/_notes/dwsync.xml create mode 100644 oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_browser.ini create mode 100644 oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_imgmanager.ini create mode 100644 oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_media.ini create mode 100644 oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_paste.ini create mode 100644 oss/joomla/trunk/language/zh-CN/zh-CN.mod_news_show_gk3.ini create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/date.class.php create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/helper.php create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/index.html create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/mod_news_show_gk3.php create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/mod_news_show_gk3.xml create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/scripts/engine_1_11.js create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/scripts/engine_1_11_compressed.js create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/scripts/engine_1_2_1.js create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/scripts/engine_1_2_1_compressed.js create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/scripts/index.html create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/scripts/mootools_1_11.js create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/scripts/mootools_1_2_1.js create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/style/_notes/dwsync.xml create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/style/index.html create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/style/style.css create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/tmpl/index.html create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/tmpl/view.default.php create mode 100644 oss/joomla/trunk/modules/mod_news_show_gk3/tmpl/view.script_style.php create mode 100644 oss/joomla/trunk/templates/hawebs/css/_notes/dwsync.xml diff --git a/oss/joomla/trunk/administrator/cache/b1f3ab3f0c3282ec2b2d60caebd1f4e7.spc b/oss/joomla/trunk/administrator/cache/b1f3ab3f0c3282ec2b2d60caebd1f4e7.spc index 7085cb0d..38ce497e 100644 --- a/oss/joomla/trunk/administrator/cache/b1f3ab3f0c3282ec2b2d60caebd1f4e7.spc +++ b/oss/joomla/trunk/administrator/cache/b1f3ab3f0c3282ec2b2d60caebd1f4e7.spc @@ -29,7 +29,7 @@ a:4:{s:5:"child";a:1:{s:0:"";a:1:{s:3:"rss";a:1:{i:0;a:6:{s:4:"data";s:4:" - ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:9:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:25:"OSS 计算技术 - Joomla";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:57:"http://forums.hawebs.net/computer/forumdisplay.php?fid=37";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:27:"Latest 20 threads of Joomla";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:9:"copyright";a:1:{i:0;a:5:{s:4:"data";s:29:"Copyright(C) OSS 计算技术";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:9:"generator";a:1:{i:0;a:5:{s:4:"data";s:13:"HA WEBSYSTEMS";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:13:"lastBuildDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Wed, 30 Jun 2010 03:44:24 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:3:"ttl";a:1:{i:0;a:5:{s:4:"data";s:2:"30";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:5:"image";a:1:{i:0;a:6:{s:4:"data";s:26:" + ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:9:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:25:"OSS 计算技术 - Joomla";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:57:"http://forums.hawebs.net/computer/forumdisplay.php?fid=37";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:27:"Latest 20 threads of Joomla";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:9:"copyright";a:1:{i:0;a:5:{s:4:"data";s:29:"Copyright(C) OSS 计算技术";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:9:"generator";a:1:{i:0;a:5:{s:4:"data";s:13:"HA WEBSYSTEMS";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:13:"lastBuildDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Wed, 30 Jun 2010 16:10:53 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:3:"ttl";a:1:{i:0;a:5:{s:4:"data";s:2:"30";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:5:"image";a:1:{i:0;a:6:{s:4:"data";s:26:" @@ -360,4 +360,4 @@ An appropriate representation of the requested resource /index.php could not be ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:1:{s:0:"";a:6:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:21:"Joomla中的CSS图示";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:56:"http://forums.hawebs.net/computer/viewthread.php?tid=690";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:505:"1205[/attach]


-

";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:6:"Joomla";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:6:"author";a:1:{i:0;a:5:{s:4:"data";s:10:"honeymoose";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Wed, 02 Jun 2010 02:12:12 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}s:27:"http://www.w3.org/2005/Atom";a:1:{s:4:"link";a:2:{i:0;a:5:{s:4:"data";s:0:"";s:7:"attribs";a:1:{s:0:"";a:3:{s:3:"rel";s:4:"self";s:4:"type";s:19:"application/rss+xml";s:4:"href";s:40:"http://feeds.feedburner.com/Moose-Joomla";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:0:"";s:7:"attribs";a:1:{s:0:"";a:2:{s:3:"rel";s:3:"hub";s:4:"href";s:32:"http://pubsubhubbub.appspot.com/";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:42:"http://rssnamespace.org/feedburner/ext/1.0";a:1:{s:4:"info";a:1:{i:0;a:5:{s:4:"data";s:0:"";s:7:"attribs";a:1:{s:0:"";a:1:{s:3:"uri";s:12:"moose-joomla";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}}}}}}s:4:"type";i:128;s:7:"headers";a:10:{s:12:"content-type";s:23:"text/xml; charset=UTF-8";s:4:"etag";s:27:"uh/jdydPZdWXEXaFqJ5kIcZp4+k";s:13:"last-modified";s:29:"Wed, 30 Jun 2010 03:44:27 GMT";s:4:"date";s:29:"Wed, 30 Jun 2010 03:44:27 GMT";s:7:"expires";s:29:"Wed, 30 Jun 2010 03:44:27 GMT";s:13:"cache-control";s:18:"private, max-age=0";s:22:"x-content-type-options";s:7:"nosniff";s:16:"x-xss-protection";s:13:"1; mode=block";s:6:"server";s:3:"GSE";s:17:"transfer-encoding";s:7:"chunked";}s:5:"build";s:14:"20090627192103";} \ No newline at end of file +

";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:6:"Joomla";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:6:"author";a:1:{i:0;a:5:{s:4:"data";s:10:"honeymoose";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Wed, 02 Jun 2010 02:12:12 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}s:27:"http://www.w3.org/2005/Atom";a:1:{s:4:"link";a:2:{i:0;a:5:{s:4:"data";s:0:"";s:7:"attribs";a:1:{s:0:"";a:3:{s:3:"rel";s:4:"self";s:4:"type";s:19:"application/rss+xml";s:4:"href";s:40:"http://feeds.feedburner.com/Moose-Joomla";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:0:"";s:7:"attribs";a:1:{s:0:"";a:2:{s:3:"rel";s:3:"hub";s:4:"href";s:32:"http://pubsubhubbub.appspot.com/";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:42:"http://rssnamespace.org/feedburner/ext/1.0";a:1:{s:4:"info";a:1:{i:0;a:5:{s:4:"data";s:0:"";s:7:"attribs";a:1:{s:0:"";a:1:{s:3:"uri";s:12:"moose-joomla";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}}}}}}s:4:"type";i:128;s:7:"headers";a:10:{s:13:"last-modified";s:29:"Wed, 30 Jun 2010 16:39:07 GMT";s:4:"etag";s:27:"IwzIj5l4YyO4nT6NfXUQMTjwoM8";s:12:"content-type";s:23:"text/xml; charset=UTF-8";s:4:"date";s:29:"Wed, 30 Jun 2010 16:39:07 GMT";s:7:"expires";s:29:"Wed, 30 Jun 2010 16:39:07 GMT";s:13:"cache-control";s:18:"private, max-age=0";s:22:"x-content-type-options";s:7:"nosniff";s:16:"x-xss-protection";s:13:"1; mode=block";s:6:"server";s:3:"GSE";s:17:"transfer-encoding";s:7:"chunked";}s:5:"build";s:14:"20090627192103";} \ No newline at end of file diff --git a/oss/joomla/trunk/administrator/language/zh-CN/zh-CN.com_jdownloads.ini b/oss/joomla/trunk/administrator/language/zh-CN/zh-CN.com_jdownloads.ini index fbfedf9e..f3998bc8 100644 --- a/oss/joomla/trunk/administrator/language/zh-CN/zh-CN.com_jdownloads.ini +++ b/oss/joomla/trunk/administrator/language/zh-CN/zh-CN.com_jdownloads.ini @@ -1,43 +1,30 @@ #/** # * Copyright (C) 2006-2010 YUCHENG HU # * -# * ---------------------------------------------------------------------------------- -# * HA SYSTEMS +# * --------------------------------------------- +# * HA WEBSYSTEMS # * http://www.hawebs.net -# * http://www.hawebs.org -# * http://www.tcivis.com +# * https://www.hawebs.org/forums/computer/ # * -# * Contact +# * CONTACT # * huyuchengus@gmail.com / yuchenghu@hawebs.net # * -# * ---------------------------------------------------------------------------------- -# * This program is free software: you can redistribute it and/or modify -# * it under the terms of the GNU General Public License as published by -# * the Free Software Foundation, either version 3 of the License, or -# * (at your option) any later version. -# * -# * This program is distributed in the hope that it will be useful, -# * but WITHOUT ANY WARRANTY; without even the implied warranty of -# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# * GNU General Public License for more details. +# * --------------------------------------------- +# * GNU GENERAL PUBLIC LICENSE GNU/LGPL +# * http://www.gnu.org/licenses/lgpl.html # * -# * You should have received a copy of the GNU General Public License -# * along with this program. If not, see +# * --------------------------------------------- +# * NOTE +# * 1. 所有的 ini 文件必须采用 UTF-8 编码 +# * 2. 请不要在语言配置文件中使用单引号或双引号 (' 或 ") # * -# * GNU GENERAL PUBLIC LICENSE -# * -# * ---------------------------------------------------------------------------------- +# * --------------------------------------------- # */ -# -# ---------------------------------------------------------------------------------- -# 使用说明: -# 1. 所有语言文件必须存储为UTF-8编码格式 -# 2. 请不要在语言配置文件中使用单引号或双引号 (' 或 ") # 组件信息 JLIST_PRODUCT=jDownloads JLIST_VERSION=

Please give me feedback in the Forum on OSS 计算技术. -JLIST_PRODUCT_FOOTER=Powered by jDownloads +JLIST_PRODUCT_FOOTER=Powered by HAWEBS JLIST_VERSION_FOOTER= # Installation data @@ -64,29 +51,29 @@ JLIST_INSTALL_TITLE_FOR_DEFAULT_LAYOUTS=标准 #FRONTEND -JLIST_FILE_NOT_FOUND=The requested file was not found. Please inform the webmaster. -JLIST_LINKTEXT_VIEW_FILE_TYPES=Start download
(display in a new browser window) -JLIST_LINKTEXT_ZIP=Start download +JLIST_FILE_NOT_FOUND=请求的资源未找到。请联系网站管理员。 +JLIST_LINKTEXT_VIEW_FILE_TYPES=开始下载
( 将打开一个新的浏览器窗口) +JLIST_LINKTEXT_ZIP=开始下载 JLIST_LINKTEXT_DOWNLOAD_URL=Download JLIST_LINKTEXT_HOME=Home JLIST_DEL_ZIP_ADMIN_INFO=
Admin info: error occured while deleting the temporary zip files or file does not exist! -JLIST_FORM_BUTTON_TEXT=Continue +JLIST_FORM_BUTTON_TEXT=继续 JLIST_EMPTY_CAT_TEXT=This category does not contain any files yet.

JLIST_MAIL_DOWNLOADER_NAME_VISITOR=Visitor JLIST_MAIL_DOWNLOADER_GROUP=Guest JLIST_MAILSEND_ERROR=An error occured sending this e-mail! JLIST_FRONTEND_COUNT_SUBCATS=Subcategories: -JLIST_FRONTEND_COUNT_FILES=Files: +JLIST_FRONTEND_COUNT_FILES=文件数量: JLIST_FRONTEND_HOMEPAGE=Homepage JLIST_FRONTEND_BACK_BUTTON=Back -JLIST_FRONTEND_MINI_ICON_ALT_DATE=Date -JLIST_FRONTEND_MINI_ICON_ALT_LICENCE=License -JLIST_FRONTEND_MINI_ICON_ALT_AUTHOR=Author -JLIST_FRONTEND_MINI_ICON_ALT_WEBSITE=Website -JLIST_FRONTEND_MINI_ICON_ALT_SYSTEM=System -JLIST_FRONTEND_MINI_ICON_ALT_LANGUAGE=Language -JLIST_FRONTEND_MINI_ICON_ALT_DOWNLOAD=Download -JLIST_FRONTEND_VERSION_TITLE=Version: +JLIST_FRONTEND_MINI_ICON_ALT_DATE=日期 +JLIST_FRONTEND_MINI_ICON_ALT_LICENCE=许可证 +JLIST_FRONTEND_MINI_ICON_ALT_AUTHOR=作者 +JLIST_FRONTEND_MINI_ICON_ALT_WEBSITE=网址 +JLIST_FRONTEND_MINI_ICON_ALT_SYSTEM=系统 +JLIST_FRONTEND_MINI_ICON_ALT_LANGUAGE=语言 +JLIST_FRONTEND_MINI_ICON_ALT_DOWNLOAD=下载 +JLIST_FRONTEND_VERSION_TITLE=版本号 JLIST_FRONTEND_CAT_ACCESS_REGGED=Please register or login to download files from this category.

#BACKEND TOOLBAR @@ -992,9 +979,9 @@ JLIST_FRONTEND_MINI_ICON_ALT_PRICE=Price JLIST_FRONTEND_MINI_ICON_ALT_FILESIZE=Filesize # FOR DATAFIELDS IN DOWNLOAD DETAILVIEW -JLIST_FE_DETAILS_CREATED_BY_TITLE=Created by -JLIST_FE_DETAILS_MODIFIED_BY_TITLE=Modified by -JLIST_FE_DETAILS_MODIFIED_DATE_TITLE=Changed at +JLIST_FE_DETAILS_CREATED_BY_TITLE=创建者 +JLIST_FE_DETAILS_MODIFIED_BY_TITLE=修改者 +JLIST_FE_DETAILS_MODIFIED_DATE_TITLE=修改时间 # FOR EXTERN FILES - USER INFO IF CHECKBOXES ACTIVE # PLEASE USE NOT SPECIAL CHARS e.g. " ' & ... diff --git a/oss/joomla/trunk/language/en-GB/en-GB.mod_news_show_gk3.ini b/oss/joomla/trunk/language/en-GB/en-GB.mod_news_show_gk3.ini new file mode 100644 index 00000000..c053fca8 --- /dev/null +++ b/oss/joomla/trunk/language/en-GB/en-GB.mod_news_show_gk3.ini @@ -0,0 +1,189 @@ +NEWS SHOW INSTALLED CORRECTLY=

News Show GK3 v.3.2.0

Times up! Please, advance to level 3.

The outstanding success of News Show GK2 through all Joomla comunity, fully exceeded our expectations and it's popularity increases even more our ambitions. GavickPro Team thanks you all! and for the huge News Show acclamation, what's better to honor all you guys out there? So, times up! We invite you to advance to level 3.

Free your Website from limitations and win perfect control of content, news and articles displayment in Joomla!1.5. Released exclusively for the first time along with our Aumi August 2008 Template, finally the Gavick News Show GK3 is out! and available for free to amaze even more.

With more options available, with different languages translation support, most friendly administration and possible integration with our PhotoSlide GK2 component by using a specific plugin, News Show GK3 becomes that unique and indispensable tool. It's fabulous capabilities well recognized, the most powerful and universal joomla content display module, will enriches your web site in a way that no other can.

So, how do you like to show your news?... Well, no matter which way, News Show GK3 will have that perfect solution! Just pick one... or as many you like.

Key Features of the News Show GK3 module:

  • Joomla!1.5 Native
  • Content control display from any section, category or articles ID's
  • Horizontal and vertical news presentation (columns and rows configuration)
  • Show text, image, author, date, section/category name and button "read more" option, with order customization.
  • News amount sorted by date, order, random or hits
  • Use of multiple modules on same page with unique ID configuration
  • Tools panel - font size and amount of news control
  • Timezones adjustment, date format and native language of month / days customization
  • Different language translation support included
  • Partnership with PhotoSlide GK2 (using respective plugin)
  • On/Off front page articles display in modules
  • Clean (X)HTML in content
  • Easy and friendly administration
  • SEF URLs
  • Used Javascript Framework: Mootools
  • Option of compressed JS engine use
  • Fully compatible: Firefox, IE7, Opera 9.5, Safari, Netscape, Google Chrome, Camino, Flock 0.7+
  • XHTML & CSS Validation: W3C XHTML 1.0 Transitional. W3C CSS Valid.

Changelog 3.2.0

  • Support for plugins in article content
  • Fixed problems with UTF-8 encoding
  • New sort option - frontpage order
  • Option to set limit of chars in article title
  • Dynamic generated css are depreaced
  • Support for MooTools 1.2
  • Option to set space beetween article columns
  • Fixed timezone settings
  • Option to add rel="nofollow" in links
  • Option to add target="_blank" in links

Changelog 3.1.0

  • Option to add timestamp in date
  • Option to use weblinks categories instead of article categories
  • Option to show unauthorized links
  • Option to show only frontpage articles
  • Some small code improvements
  • [plugin] Option to set default image for selected category/section

Changelog 3.0.1

  • Fixed problem with translating text Show/Hide options
  • Fixed problem with Tuesday translation
  • Fixed problem with author alias - now it gets data from jos_content.created_by_alias
  • Increased amount of options in Author name - name, username and alias (look previous item)
  • Fixed problems with force enabled scripts
  • Fixed path for force enabled scripts - works also with SEF links
+ +ENABLED=Enabled +DISABLED=Disabled +FORCEENABLED=Force enabled +FORCEDISABLED=Force disabled +AUTOMATIC=Automatic +PM=pm +AM=am + +MODCLASSSUFFIX=Module Class Suffix +MODCLASSSUFFIX_DESC=A suffix to be applied to the css class of the module (table.moduletable), this allows individual module styling +MODID=Module unique ID +MODID_DESC=Unique ID for module (must be unique if you have two or more modules on one page) (i.e. newsshow1) +WIDTH=Width +WIDTH_DESC=The width of the display block. Value 0 means that width of module is setting automatically. +PADDING=Table cell padding +PADDING_DESC=Set padding for table cells. Add px or % suffix ! (i.e. 3px) + +TYPE=Type of content +TYPE_DESC=Select type of content - if you select weblinks then you can use only categories and IDs options +ARTICLES=Articles +WEBLINKS=Weblinks + +SECTION=Section +SECTION_DESC=Section which will be source of news headings +CATEGORY=Category +CATEGORY_DESC=Category which will be source of news headings +SECTIONS=Sections +SECTIONS_DESC=Sections which will be source of news. IDs separated by comma... +CATEGORIES=Categories +CATEGORIES_DESC=Categories which will be source of news. IDs separated by comma... +IDS=IDs +IDS_DESC=IDs of news. IDs separated by comma... +UNAUTH=Show unauthorize links +UNAUTH_DESC=If you want to show all articles without getting informations about user permissions + +NEWS_AMOUNT=News amount +NEWS_AMOUNT_DESC=The amount of news which will be load by module. This number must be bigger than 0 +NEWS_SORT_VALUE=News sort value +DATE=Date +ORDER=Order +FRONTPAGE_ORDER=Frontpage order +RANDOM=Random +HITS=Hits +NEWS_SORT_ORDER=News sort order +FRONTPAGE=Showing frontpage articles +COLUMNS=Amount of columns +COLUMNS_DESC=The amount of columns... +ROWS=Amount of rows +ROWS_DESC=The amount of rows... +ONLYFRONTPAGE=Show only frontpage articles +ONLYFRONTPAGE_DESC=Enable this option if you want to show only frontpage links + +REST_NEWS=Show list of rest news +SELECT_STYLE=Select style of list +ROUNDED=Rounded corners support + +LEFT=Float left +RIGHT=Float right +CENTER=Centered +JUSTIFY=Justified +AFTER=After text + +READMORE=Readmore +READMORE_DESC=News readmore button text + +HEAD_POS=News content - header position +IMAGE_POS=News content - image position +TEXT_POS=News content - text position +INFO_POS=News content - info position +MORE_POS=News content - readmore position + +HEAD_LINK=News header - link +IMAGE_LINK=News image - link +TEXT_LINK=News text - link +AUTHOR=Show news author +NEWS_CATEGORIES=Show news categories +NEWS_DATE=Show news date +MOREIN=Show 'More in' text + +HEAD_ORDER=News content - header order +IMAGE_ORDER=News content - image order +TEXT_ORDER=News content - text order +INFO_ORDER=News content - info order + +CONF_PANEL=Use configuration panel + +LIMITTYPE=News text limit type +WORDS=Words +CHARS=Chars +MAX_AMOUNT=Maximal amount of words or characters +TITLE_MAX_AMOUNT=Maximal amount of characters in title + +CLEANXHTML=Clean (X)HTML in content +CLEANXHTML_DESC=If you load part of news content then we recommend to turn on this option... + +TIMEZONE=News date - timezone +TIMEZONE_DESC=Select how many hours must be added/substracted from server time + +PLUGIN=Plugin support +PLUGIN_DESC=If you want to use images from Photoslide in module. Enable ONLY if you have installed Photoslide GK2 and News Show GK3 plugin for Photoslide GK2 + +PLUGIN_ONLY=Use only plugin images +PLUGIN_ONLY_DESC=If you want to use only images from Photoslide in module. + +IMAGE_H=News image height +IMAGE_H_DESC=The height of the news image. Add px or % suffix ! (i.e. 200px) +IMAGE_W=News image width +IMAGE_W_DESC=The width of the news image. Add px or % suffix ! (i.e. 200px) +IMAGE_M=News image margin +IMAGE_M_DESC=The margin of the news image. Add px or % suffix ! (i.e. 3px) + +DATE_FORMAT=Date format +DATE_FORMAT_DESC=All special chars will be replaced: D - full day name, s - short day name, d - day (number without 0 prefix), z - day (number with 0 prefix), M - full month name, S - short month name, m - month (number without 0 prefix), Z - month (number with 0 prefix), Y - year, H - hour in 24h format, h - hour in 12h format. + +AUTHORNAME=Author name +NAME=Name +USERNAME=Username +ALIAS=Alias + +FIRST_NEWS=Number of first news +FIRST_NEWS_DESC=It is usable when you need articles in tabmods - you can show first 5 news from categor and in other instance you can show next 5 articles (then set this option as 5). + +HEAD_NOFOLLOW=nofollow in head links +IMAGE_NOFOLLOW=nofollow in image links +TEXT_NOFOLLOW=nofollow in text links +INFO_NOFOLLOW=nofollow in info links +LIST_NOFOLLOW=nofollow in list links +READMORE_NOFOLLOW=nofollow in readmore links +HEAD_TARGET=target _blank in head links +IMAGE_TARGET=target _blank in image links +TEXT_TARGET=target _blank in text links +INFO_TARGET=target _blank in info links +LIST_TARGET=target _blank in list links +READMORE_TARGET=target _blank in readmore links + +MOO=MooTools version +MOO_DESC=Select MooTools version which will be used in module. + +PARSE=Parse plugins +PARSE_DESC=If you want to enable parsing plugins in article content - please enable this option +USEMOO=Use MooTools +USEMOO_DESC=Now modules support new technique of assets JavaScripts files. Use this option only if you have a problem with scripts on your site. In other situations option automatic is strongly recommended. If you want to run more than one copy of this module on one page then set this value for disabled. Also if you have an mootools framework in version 1.11 included on your site then disable this option. +USEJS=Use script +USEJS_DESC=Now modules support new technique of assets JavaScripts files. In other situations option automatic is strongly recommended. Use this option only if you have a problem with scripts on your site. If you want to run more than one copy of this module on one page then set this value for disabled. +COMPRESS=Use compressed engine +COMPRESS_DESC=To minimalize filesize you can use compressed version of engine, but for debugging you should use uncompressed version of engine script (then disable this option). Additionaly - when you use more than one copy of this module per one page then you must set this same value of this option for all instances of module. + +MORE_IN=More in + +JANUARY=January +FEBRUARY=February +MARCH=March +APRIL=April +MAY=May +JUNE=June +JULY=July +AUGUST=August +SEPTEMBER=September +OCTOBER=October +NOVEMBER=November +DECEMBER=December +JAN=Jan +FEB=Feb +MAR=Mar +APR=Apr +MAY=May +JUN=Jun +JUL=Jul +AUG=Aug +SEP=Sep +OCT=Oct +NOV=Nov +DEC=Dec +MONDAY=Monday +TUESDAY=Tuesday +WEDNESDAY=Wednesday +THURSDAY=Thursday +FRIDAY=Friday +SATURDAY=Saturday +SUNDAY=Sunday +MON=Mon +TUE=Tue +WED=Wed +THU=Thu +FRI=Fri +SAT=Sat +SUN=Sun \ No newline at end of file diff --git a/oss/joomla/trunk/language/zh-CN/_notes/dwsync.xml b/oss/joomla/trunk/language/zh-CN/_notes/dwsync.xml new file mode 100644 index 00000000..9e27b645 --- /dev/null +++ b/oss/joomla/trunk/language/zh-CN/_notes/dwsync.xml @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.com_categories.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.com_categories.ini index 550ce8d7..2747a3df 100644 --- a/oss/joomla/trunk/language/zh-CN/zh-CN.com_categories.ini +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.com_categories.ini @@ -72,10 +72,10 @@ MOVE CATEGORY=移动分类 MOVE TO SECTION=移至文章单元 N/A=不提供 NEW CATEGORY=新分类 -NEWSFEEDS=新闻联播 -NEWS FEEDS CATEGORIES=新闻类别 -NEWS FEEDS MANAGER=新闻联播管理 -NEWSFEED CATEGORY TABLE=目录式排版的新闻联播的分类 +NEWSFEEDS=聚合新闻 +NEWS FEEDS CATEGORIES=聚合新闻类别 +NEWS FEEDS MANAGER=聚合新闻管理 +NEWSFEED CATEGORY TABLE=目录式排版的聚合新闻分类 NOTE: IF SAME SECTION=提示:如果选择了相同的单元,则将在该单元中建立新的“分类名称的拷贝”。 ORDER BY=排序 ORDERING=分类排序 diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_browser.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_browser.ini new file mode 100644 index 00000000..118e7cc1 --- /dev/null +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_browser.ini @@ -0,0 +1,12 @@ +# $Id: en-GB.com_jce_browser.ini 18/06/2008$ +# JCE Project +# Copyright (C) 2005 - 2008 Ryan Demmer. All rights reserved. +# License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php +# Note : All ini files need to be saved as UTF-8 + +# Browser plugin +PLUGIN TITLE =Browser + +HELP ABOUT =About the Browser +HELP INTERFACE =The Browser Interface +HELP INSERT =Inserting a file \ No newline at end of file diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_imgmanager.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_imgmanager.ini new file mode 100644 index 00000000..28012353 --- /dev/null +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_imgmanager.ini @@ -0,0 +1,17 @@ +# $Id: en-GB.imgmanager.ini $ +# JCE Project +# Copyright (C) 2006 - 2008 Ryan Demmer. All rights reserved. +# License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php +# Note : All ini files need to be saved as UTF-8 - No BOM + +# Descriptive +PLUGIN TITLE =Image Manager + +# Parameters + +# Help +HELP ABOUT =What is the Image Manager? +HELP INTERFACE =About the Interface +HELP Rollover =Rollver Images +HELP ADVANCED =The Advanced Tab +HELP INSERT =Inserting/Updating \ No newline at end of file diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_media.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_media.ini new file mode 100644 index 00000000..2d99ab03 --- /dev/null +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_media.ini @@ -0,0 +1,16 @@ +# $Id: en-GB.com_jce_media.ini 28/02/2008$ +# JCE Project +# Copyright (C) 2005 - 2008 Ryan Demmer. All rights reserved. +# License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php +# Note : All ini files need to be saved as UTF-8 + +# Media plugin +MEDIA PARAM SCRIPT =Script Mode +MEDIA PARAM STRICT =XHTML Strict +MEDIA PARAM STRICT DESC =Embed Flash files using a single object (no embed element) +MEDIA PARAM SCRIPT DESC =Convert media html (swf, wmv etc) code to javascript to overcome IE6/IE7 active content issue and/or attmept XHTML media code. Requires JCE Embed Mambot or JCE Utilties Mambot. +MEDIA VERSION FLASH =Flash Version +MEDIA VERSION MPLAYER =Media Player Version +MEDIA VERSION SHOCKWAVE =Shockwave Version +MEDIA VERSION QUICKTIME =Quicktime Version +MEDIA VERSION REAL =Realplayer Version \ No newline at end of file diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_paste.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_paste.ini new file mode 100644 index 00000000..8e7aae36 --- /dev/null +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.com_jce_paste.ini @@ -0,0 +1,26 @@ +# $Id: en-GB.com_jce_paste.ini 28/02/2008$ +# JCE Project +# Copyright (C) 2005 - 2008 Ryan Demmer. All rights reserved. +# License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php +# Note : All ini files need to be saved as UTF-8 + +# Paste Plugin +PASTE PARAM CLASSES =Strip Class Attributes +PASTE PARAM CLASSES DESC =This feature allows you to control whether or not class attributes are stripped.
  • all - will strip all class attributes from the pasted content
  • none - will not strip any class attributes from the pasted content.
  • mso - will strip out all of the class attribute values that start with 'Mso', but retain all others.
  • +PASTE PARAM CLASSES ALL =All +PASTE PARAM CLASSES NONE =None +PASTE PARAM CLASSES MSO =Mso +PASTE PARAM SPANS =Remove Spans +PASTE PARAM SPANS DESC =This enables you to control if the Word cleanup operation should remove or keep span elements, they will be removed by default. +PASTE PARAM STYLES =Remove Styles +PASTE PARAM STYLES DESC =This enables you to control if the Word cleanup operation should remove or keep style attributes, they will be removed by default. +PASTE PARAM RETAIN STYLES =Retain Style Properties +PASTE PARAM RETAIN STYLES DESC=Comma separated list of style properties to retain when pasting content from Word. For example: font-size,color. +PASTE PARAM REMOVE STYLES WEBKIT=Remove Webkit Styles +PASTE PARAM REMOVE STYLES WEBKIT DESC=If true, removes all style information when pasting in WebKit since it has a serious paste bug. Default is false. +PASTE PARAM WIDTH =Dialog Width +PASTE PARAM WIDTH DESC =Width of the Paste Dialog in pixels (px) +PASTE PARAM HEIGHT =Dialog Height +PASTE PARAM WIDTH DESC =Height of the Paste Dialog in pixels (px) +PASTE PARAM REMOVE PARAGRAPHS =Remove empty paragraphs +PASTE PARAM REMOVE PARAGRAPHS DESC=Empty paragraphs are removed from pasted content or converted into linebreaks if the Global Configuration 'Newlines' option is set to 'Linebreaks'. \ No newline at end of file diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.com_jdownloads.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.com_jdownloads.ini index 845a88c5..e91afdb6 100644 --- a/oss/joomla/trunk/language/zh-CN/zh-CN.com_jdownloads.ini +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.com_jdownloads.ini @@ -24,7 +24,7 @@ # 组件信息 JLIST_PRODUCT=jDownloads JLIST_VERSION=

    Please give me feedback in the Forum on OSS 计算技术. -JLIST_PRODUCT_FOOTER=Powered by jDownloads +JLIST_PRODUCT_FOOTER=HA WEBSYSTEMS 信息技术有限公司 JLIST_VERSION_FOOTER= # Installation data @@ -51,29 +51,29 @@ JLIST_INSTALL_TITLE_FOR_DEFAULT_LAYOUTS=标准 #FRONTEND -JLIST_FILE_NOT_FOUND=The requested file was not found. Please inform the webmaster. -JLIST_LINKTEXT_VIEW_FILE_TYPES=Start download
    (display in a new browser window) -JLIST_LINKTEXT_ZIP=Start download +JLIST_FILE_NOT_FOUND=请求的资源未找到。请联系网站管理员。 +JLIST_LINKTEXT_VIEW_FILE_TYPES=开始下载
    ( 将打开一个新的浏览器窗口) +JLIST_LINKTEXT_ZIP=开始下载 JLIST_LINKTEXT_DOWNLOAD_URL=Download JLIST_LINKTEXT_HOME=Home JLIST_DEL_ZIP_ADMIN_INFO=
    Admin info: error occured while deleting the temporary zip files or file does not exist! -JLIST_FORM_BUTTON_TEXT=Continue +JLIST_FORM_BUTTON_TEXT=继续 JLIST_EMPTY_CAT_TEXT=This category does not contain any files yet.

    JLIST_MAIL_DOWNLOADER_NAME_VISITOR=Visitor JLIST_MAIL_DOWNLOADER_GROUP=Guest JLIST_MAILSEND_ERROR=An error occured sending this e-mail! JLIST_FRONTEND_COUNT_SUBCATS=Subcategories: -JLIST_FRONTEND_COUNT_FILES=Files: +JLIST_FRONTEND_COUNT_FILES=文件数量: JLIST_FRONTEND_HOMEPAGE=Homepage JLIST_FRONTEND_BACK_BUTTON=Back -JLIST_FRONTEND_MINI_ICON_ALT_DATE=Date -JLIST_FRONTEND_MINI_ICON_ALT_LICENCE=License -JLIST_FRONTEND_MINI_ICON_ALT_AUTHOR=Author -JLIST_FRONTEND_MINI_ICON_ALT_WEBSITE=Website -JLIST_FRONTEND_MINI_ICON_ALT_SYSTEM=System -JLIST_FRONTEND_MINI_ICON_ALT_LANGUAGE=Language -JLIST_FRONTEND_MINI_ICON_ALT_DOWNLOAD=Download -JLIST_FRONTEND_VERSION_TITLE=Version: +JLIST_FRONTEND_MINI_ICON_ALT_DATE=日期 +JLIST_FRONTEND_MINI_ICON_ALT_LICENCE=许可证 +JLIST_FRONTEND_MINI_ICON_ALT_AUTHOR=作者 +JLIST_FRONTEND_MINI_ICON_ALT_WEBSITE=网址 +JLIST_FRONTEND_MINI_ICON_ALT_SYSTEM=系统 +JLIST_FRONTEND_MINI_ICON_ALT_LANGUAGE=语言 +JLIST_FRONTEND_MINI_ICON_ALT_DOWNLOAD=下载 +JLIST_FRONTEND_VERSION_TITLE=版本号 JLIST_FRONTEND_CAT_ACCESS_REGGED=Please register or login to download files from this category.

    #BACKEND TOOLBAR @@ -464,8 +464,8 @@ JLIST_BACKEND_EDIT_LANG_CSS_FILE_WRITABLE_NO=NOT writable! JLIST_BACKEND_EDIT_LANG_CSS_FILE_WRITABLE_INFO=The file must be writable to save new settings. May be you have to change the rights on the file to CHMOD 0777. # BACKEND OTHERS -JLIST_FRONTEND_NOCAT=No categories available yet! -JLIST_FRONTEND_NOFILES=No files available yet for this category! +JLIST_FRONTEND_NOCAT=尚未创建任何分类 +JLIST_FRONTEND_NOFILES=本分类无任何文件可供下载! # Information text JLIST_BACKEND_INFO_TEXT_TITLE=jDownloads information @@ -548,10 +548,10 @@ JLIST_INSTALL_17=JoomFish Installation found! The jDownloads JoomFish definition JLIST_INSTALL_18=The jDownloads JoomFish definitions data were copied to: JLIST_INSTALL_19=If you want to use these definitions with JoomFish, use the installer from Joomfish. -JLIST_FRONTEND_HOME_LINKTEXT=Overview -JLIST_FRONTEND_SUBTITLE_OVER_CATLIST=Overview -JLIST_FRONTEND_SUBTITLE_OVER_ONE_CAT=Category -JLIST_FRONTEND_SUBTITLE_OVER_DETAIL=Download details +JLIST_FRONTEND_HOME_LINKTEXT=下载 +JLIST_FRONTEND_SUBTITLE_OVER_CATLIST=列表显示 +JLIST_FRONTEND_SUBTITLE_OVER_ONE_CAT=分类 +JLIST_FRONTEND_SUBTITLE_OVER_DETAIL=下载明细 # PAGENAVIGATION FRONTEND JLIST_FRONTEND_HEADER_PAGENAVI_PAGE_TEXT=Page: @@ -836,14 +836,14 @@ JLIST_ACTIVE_ANTILEECH_OK= - Download protection is activated! JLIST_ACTIVE_ANTILEECH_OFF_ERROR= - Error deleting .htaccess! JLIST_ACTIVE_ANTILEECH_OFF_OK= - Download protection is deactivated! -JLIST_FRONTEND_ANTILEECH_MESSAGE=Unauthorized access to downloads! +JLIST_FRONTEND_ANTILEECH_MESSAGE=下载链接未授权! JLIST_FRONTEND_FILE_NOT_FOUND_MESSAGE=The recommended file was not found!

    Please inform your Webmaster! -JLIST_FRONTEND_SUMMARY_ZIP_FILESIZE=Filesize for Download package +JLIST_FRONTEND_SUMMARY_ZIP_FILESIZE=下载包大小 JLIST_FRONTEND_NEXT_SITE_BUTTON= >>  JLIST_FRONTEND_PREV_SITE_BUTTON= <<  -JLIST_FRONTEND_SUBHEADER_NUMBER_OF_CATS_TITLE=Number of Categories +JLIST_FRONTEND_SUBHEADER_NUMBER_OF_CATS_TITLE=总分类量 JLIST_FRONTEND_SUBHEADER_NUMBER_OF_SUBCATS_TITLE=Number of Subcategories JLIST_BACKEND_CATSEDIT_ERROR_CATLIST=Please choose a category or >Main category< @@ -1141,13 +1141,13 @@ JLIST_INSTALL_21=Categories check is finished. # NEW TEXT FOR LAYOUT FIELDS TITLE PLACEHOLDERS IN THE FRONTEND VIEW (layout: files) JLIST_FE_FILELIST_LICENSE_TITLE=License JLIST_FE_FILELIST_PRICE_TITLE=Price -JLIST_FE_FILELIST_LANGUAGE_TITLE=Language -JLIST_FE_FILELIST_FILESIZE_TITLE=File size +JLIST_FE_FILELIST_LANGUAGE_TITLE=语言 +JLIST_FE_FILELIST_FILESIZE_TITLE=文件大小 JLIST_FE_FILELIST_SYSTEM_TITLE=System JLIST_FE_FILELIST_AUTHOR_TITLE=Author JLIST_FE_FILELIST_AUTHOR_URL_TITLE=Website -JLIST_FE_FILELIST_CREATED_DATE_TITLE=Date -JLIST_FE_FILELIST_HITS_TITLE=Hits +JLIST_FE_FILELIST_CREATED_DATE_TITLE=日期 +JLIST_FE_FILELIST_HITS_TITLE=下载量 JLIST_FE_FILELIST_CREATED_BY_TITLE=Added by JLIST_FE_FILELIST_MODIFIED_BY_TITLE=Changed by JLIST_FE_FILELIST_MODIFIED_DATE_TITLE=Last changed diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.com_login.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.com_login.ini index 0d74bbb9..784ef15c 100644 --- a/oss/joomla/trunk/language/zh-CN/zh-CN.com_login.ini +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.com_login.ini @@ -21,4 +21,4 @@ # * --------------------------------------------- # */ -DESCUSEVALIDLOGIN=请使用有效的用户名和密码进入管理后台。 +DESCUSEVALIDLOGIN=请使用有效的用户名和密码进入后台管理。 diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.com_newsfeeds.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.com_newsfeeds.ini index 1b8b47d6..decd3949 100644 --- a/oss/joomla/trunk/language/zh-CN/zh-CN.com_newsfeeds.ini +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.com_newsfeeds.ini @@ -21,10 +21,10 @@ # * --------------------------------------------- # */ -NEWS_FEEDS=新闻联播 +NEWS_FEEDS=聚合新闻 DISPLAY NUM=显示# -ERROR: FEED NOT RETRIEVED=出错:未找到新闻联播源 -FEED LINK=新闻联播的链接 -FEED NAME=新闻联播的名称 +ERROR: FEED NOT RETRIEVED=出错:未找到聚合新闻来源 +FEED LINK=聚合新闻的链接 +FEED NAME=聚合新闻的名称 NUM ARTICLES=文章数 -NEWS FEEDS=新闻联播 +NEWS FEEDS=聚合新闻 diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.com_newsfeeds.menu.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.com_newsfeeds.menu.ini index e4d78a2e..816b0349 100644 --- a/oss/joomla/trunk/language/zh-CN/zh-CN.com_newsfeeds.menu.ini +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.com_newsfeeds.menu.ini @@ -21,6 +21,6 @@ # * --------------------------------------------- # */ -COM_NEWSFEEDS=新闻联播 -COM_NEWSFEEDS.FEEDS=新闻联播源 -COM_NEWSFEEDS.CATEGORIES=新闻联播分类 +COM_NEWSFEEDS=聚合新闻 +COM_NEWSFEEDS.FEEDS=聚合新闻来源 +COM_NEWSFEEDS.CATEGORIES=聚合新闻分类 diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.mod_custom.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.mod_custom.ini index 9ef12852..61fbe074 100644 --- a/oss/joomla/trunk/language/zh-CN/zh-CN.mod_custom.ini +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.mod_custom.ini @@ -21,7 +21,7 @@ # * --------------------------------------------- # */ -DESCMODCUSTOM=This Module allows you to create your own HTML Module using a WYSIWYG editor. +DESCMODCUSTOM=这个模块允许你使用所见即所得编辑器创建你自己的 HTML 模块。 MOD_CUSTOM=mod_custom -CUSTOM HTML=Custom HTML +CUSTOM HTML=自定义 HTML diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.mod_footer.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.mod_footer.ini index ef70aa74..d962e0fb 100644 --- a/oss/joomla/trunk/language/zh-CN/zh-CN.mod_footer.ini +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.mod_footer.ini @@ -25,5 +25,5 @@ FOOTER=Footer FOOTER_LINE1=版权所有 © %date% %sitename% 保留所有权利。 FOOTER_LINE2=HA WEBSYSTEMS - 开放源代码软件与信息技术服务供应商,相关软件基于GNU/GPL许可协议。 MOD_FOOTER=mod_footer -THIS MODULE SHOWS THE JOOMLA! COPYRIGHT INFORMATION=This module shows the Joomla! copyright information. +THIS MODULE SHOWS THE JOOMLA! COPYRIGHT INFORMATION=这个模块将显示 Joomla 的版权信息。 diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.mod_news_show_gk3.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.mod_news_show_gk3.ini new file mode 100644 index 00000000..23f1f79f --- /dev/null +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.mod_news_show_gk3.ini @@ -0,0 +1,189 @@ +NEWS SHOW INSTALLED CORRECTLY=

    News Show GK3 v.3.2.0

    Times up! Please, advance to level 3.

    The outstanding success of News Show GK2 through all Joomla comunity, fully exceeded our expectations and it's popularity increases even more our ambitions. GavickPro Team thanks you all! and for the huge News Show acclamation, what's better to honor all you guys out there? So, times up! We invite you to advance to level 3.

    Free your Website from limitations and win perfect control of content, news and articles displayment in Joomla!1.5. Released exclusively for the first time along with our Aumi August 2008 Template, finally the Gavick News Show GK3 is out! and available for free to amaze even more.

    With more options available, with different languages translation support, most friendly administration and possible integration with our PhotoSlide GK2 component by using a specific plugin, News Show GK3 becomes that unique and indispensable tool. It's fabulous capabilities well recognized, the most powerful and universal joomla content display module, will enriches your web site in a way that no other can.

    So, how do you like to show your news?... Well, no matter which way, News Show GK3 will have that perfect solution! Just pick one... or as many you like.

    Key Features of the News Show GK3 module:

    • Joomla!1.5 Native
    • Content control display from any section, category or articles ID's
    • Horizontal and vertical news presentation (columns and rows configuration)
    • Show text, image, author, date, section/category name and button "read more" option, with order customization.
    • News amount sorted by date, order, random or hits
    • Use of multiple modules on same page with unique ID configuration
    • Tools panel - font size and amount of news control
    • Timezones adjustment, date format and native language of month / days customization
    • Different language translation support included
    • Partnership with PhotoSlide GK2 (using respective plugin)
    • On/Off front page articles display in modules
    • Clean (X)HTML in content
    • Easy and friendly administration
    • SEF URLs
    • Used Javascript Framework: Mootools
    • Option of compressed JS engine use
    • Fully compatible: Firefox, IE7, Opera 9.5, Safari, Netscape, Google Chrome, Camino, Flock 0.7+
    • XHTML & CSS Validation: W3C XHTML 1.0 Transitional. W3C CSS Valid.

    Changelog 3.2.0

    • Support for plugins in article content
    • Fixed problems with UTF-8 encoding
    • New sort option - frontpage order
    • Option to set limit of chars in article title
    • Dynamic generated css are depreaced
    • Support for MooTools 1.2
    • Option to set space beetween article columns
    • Fixed timezone settings
    • Option to add rel="nofollow" in links
    • Option to add target="_blank" in links

    Changelog 3.1.0

    • Option to add timestamp in date
    • Option to use weblinks categories instead of article categories
    • Option to show unauthorized links
    • Option to show only frontpage articles
    • Some small code improvements
    • [plugin] Option to set default image for selected category/section

    Changelog 3.0.1

    • Fixed problem with translating text Show/Hide options
    • Fixed problem with Tuesday translation
    • Fixed problem with author alias - now it gets data from jos_content.created_by_alias
    • Increased amount of options in Author name - name, username and alias (look previous item)
    • Fixed problems with force enabled scripts
    • Fixed path for force enabled scripts - works also with SEF links
    + +ENABLED=使用 +DISABLED=禁用 +FORCEENABLED=强制使用 +FORCEDISABLED=强制禁用 +AUTOMATIC=Automatic +PM=pm +AM=am + +MODCLASSSUFFIX=Module Class Suffix +MODCLASSSUFFIX_DESC=A suffix to be applied to the css class of the module (table.moduletable), this allows individual module styling +MODID=Module unique ID +MODID_DESC=Unique ID for module (must be unique if you have two or more modules on one page) (i.e. newsshow1) +WIDTH=Width +WIDTH_DESC=The width of the display block. Value 0 means that width of module is setting automatically. +PADDING=Table cell padding +PADDING_DESC=Set padding for table cells. Add px or % suffix ! (i.e. 3px) + +TYPE=Type of content +TYPE_DESC=Select type of content - if you select weblinks then you can use only categories and IDs options +ARTICLES=Articles +WEBLINKS=Weblinks + +SECTION=Section +SECTION_DESC=Section which will be source of news headings +CATEGORY=Category +CATEGORY_DESC=Category which will be source of news headings +SECTIONS=Sections +SECTIONS_DESC=Sections which will be source of news. IDs separated by comma... +CATEGORIES=Categories +CATEGORIES_DESC=Categories which will be source of news. IDs separated by comma... +IDS=IDs +IDS_DESC=IDs of news. IDs separated by comma... +UNAUTH=Show unauthorize links +UNAUTH_DESC=If you want to show all articles without getting informations about user permissions + +NEWS_AMOUNT=News amount +NEWS_AMOUNT_DESC=The amount of news which will be load by module. This number must be bigger than 0 +NEWS_SORT_VALUE=News sort value +DATE=Date +ORDER=Order +FRONTPAGE_ORDER=Frontpage order +RANDOM=Random +HITS=Hits +NEWS_SORT_ORDER=News sort order +FRONTPAGE=Showing frontpage articles +COLUMNS=Amount of columns +COLUMNS_DESC=The amount of columns... +ROWS=Amount of rows +ROWS_DESC=The amount of rows... +ONLYFRONTPAGE=Show only frontpage articles +ONLYFRONTPAGE_DESC=Enable this option if you want to show only frontpage links + +REST_NEWS=Show list of rest news +SELECT_STYLE=Select style of list +ROUNDED=Rounded corners support + +LEFT=Float left +RIGHT=Float right +CENTER=Centered +JUSTIFY=Justified +AFTER=After text + +READMORE=Readmore +READMORE_DESC=News readmore button text + +HEAD_POS=News content - header position +IMAGE_POS=News content - image position +TEXT_POS=News content - text position +INFO_POS=News content - info position +MORE_POS=News content - readmore position + +HEAD_LINK=News header - link +IMAGE_LINK=News image - link +TEXT_LINK=News text - link +AUTHOR=Show news author +NEWS_CATEGORIES=Show news categories +NEWS_DATE=Show news date +MOREIN=Show 'More in' text + +HEAD_ORDER=News content - header order +IMAGE_ORDER=News content - image order +TEXT_ORDER=News content - text order +INFO_ORDER=News content - info order + +CONF_PANEL=Use configuration panel + +LIMITTYPE=News text limit type +WORDS=Words +CHARS=Chars +MAX_AMOUNT=Maximal amount of words or characters +TITLE_MAX_AMOUNT=Maximal amount of characters in title + +CLEANXHTML=Clean (X)HTML in content +CLEANXHTML_DESC=If you load part of news content then we recommend to turn on this option... + +TIMEZONE=News date - timezone +TIMEZONE_DESC=Select how many hours must be added/substracted from server time + +PLUGIN=Plugin support +PLUGIN_DESC=If you want to use images from Photoslide in module. Enable ONLY if you have installed Photoslide GK2 and News Show GK3 plugin for Photoslide GK2 + +PLUGIN_ONLY=Use only plugin images +PLUGIN_ONLY_DESC=If you want to use only images from Photoslide in module. + +IMAGE_H=News image height +IMAGE_H_DESC=The height of the news image. Add px or % suffix ! (i.e. 200px) +IMAGE_W=News image width +IMAGE_W_DESC=The width of the news image. Add px or % suffix ! (i.e. 200px) +IMAGE_M=News image margin +IMAGE_M_DESC=The margin of the news image. Add px or % suffix ! (i.e. 3px) + +DATE_FORMAT=Date format +DATE_FORMAT_DESC=All special chars will be replaced: D - full day name, s - short day name, d - day (number without 0 prefix), z - day (number with 0 prefix), M - full month name, S - short month name, m - month (number without 0 prefix), Z - month (number with 0 prefix), Y - year, H - hour in 24h format, h - hour in 12h format. + +AUTHORNAME=Author name +NAME=Name +USERNAME=Username +ALIAS=Alias + +FIRST_NEWS=Number of first news +FIRST_NEWS_DESC=It is usable when you need articles in tabmods - you can show first 5 news from categor and in other instance you can show next 5 articles (then set this option as 5). + +HEAD_NOFOLLOW=nofollow in head links +IMAGE_NOFOLLOW=nofollow in image links +TEXT_NOFOLLOW=nofollow in text links +INFO_NOFOLLOW=nofollow in info links +LIST_NOFOLLOW=nofollow in list links +READMORE_NOFOLLOW=nofollow in readmore links +HEAD_TARGET=target _blank in head links +IMAGE_TARGET=target _blank in image links +TEXT_TARGET=target _blank in text links +INFO_TARGET=target _blank in info links +LIST_TARGET=target _blank in list links +READMORE_TARGET=target _blank in readmore links + +MOO=MooTools version +MOO_DESC=Select MooTools version which will be used in module. + +PARSE=Parse plugins +PARSE_DESC=If you want to enable parsing plugins in article content - please enable this option +USEMOO=Use MooTools +USEMOO_DESC=Now modules support new technique of assets JavaScripts files. Use this option only if you have a problem with scripts on your site. In other situations option automatic is strongly recommended. If you want to run more than one copy of this module on one page then set this value for disabled. Also if you have an mootools framework in version 1.11 included on your site then disable this option. +USEJS=Use script +USEJS_DESC=Now modules support new technique of assets JavaScripts files. In other situations option automatic is strongly recommended. Use this option only if you have a problem with scripts on your site. If you want to run more than one copy of this module on one page then set this value for disabled. +COMPRESS=Use compressed engine +COMPRESS_DESC=To minimalize filesize you can use compressed version of engine, but for debugging you should use uncompressed version of engine script (then disable this option). Additionaly - when you use more than one copy of this module per one page then you must set this same value of this option for all instances of module. + +MORE_IN=More in + +JANUARY=January +FEBRUARY=February +MARCH=March +APRIL=April +MAY=May +JUNE=June +JULY=July +AUGUST=August +SEPTEMBER=September +OCTOBER=October +NOVEMBER=November +DECEMBER=December +JAN=Jan +FEB=Feb +MAR=Mar +APR=Apr +MAY=May +JUN=Jun +JUL=Jul +AUG=Aug +SEP=Sep +OCT=Oct +NOV=Nov +DEC=Dec +MONDAY=星期一 +TUESDAY=星期二 +WEDNESDAY=星期三 +THURSDAY=星期四 +FRIDAY=星期五 +SATURDAY=星期六 +SUNDAY=星期日 +MON=周一 +TUE=周二 +WED=周三 +THU=周四 +FRI=周五 +SAT=周六 +SUN=周日 \ No newline at end of file diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.mod_stats.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.mod_stats.ini index 61d6165a..1eadfd58 100644 --- a/oss/joomla/trunk/language/zh-CN/zh-CN.mod_stats.ini +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.mod_stats.ini @@ -45,5 +45,5 @@ SERVER INFO=服务器信息 SITE INFO=本站信息 STATISTICS=本站统计 TIME=时间 -VISITORS=访客 +VISITORS=游客 WEBLINKS=友情链接 \ No newline at end of file diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.mod_whosonline.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.mod_whosonline.ini index ac10f318..a9f3f78e 100644 --- a/oss/joomla/trunk/language/zh-CN/zh-CN.mod_whosonline.ini +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.mod_whosonline.ini @@ -23,18 +23,18 @@ AND=和 BOTH=两者 -DESCWHOSONLINE=在线情况模块将显示目前正在浏览网站的访客以及注册用户。 +DESCWHOSONLINE=在线情况模块将显示目前正在浏览网站游客及注册用户。 DISPLAY=显示 MEMBER NAMES=用户姓名 -MEMBER ONLINE= %s个用户在线 -MEMBERS ONLINE= %s个用户在线 +MEMBER ONLINE= %s 个用户在线 +MEMBERS ONLINE= %s 个用户在线 MOD_WHOSONLINE=在线情况模块 NO USERS ONLINE=无用户在线 NUMBER OF GUESTS/MEMBERS=用户数 ONLINE=在线 SELECT WHAT SHALL BE SHOWN=选择要显示的信息 -GUEST=%s名访客 -GUESTS=%s名访客 +GUEST=%s名游客 +GUESTS=%s名游客 MEMBER=%s名会员 MEMBERS=%s名会员 WE HAVE=当前有 diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.plg_search_content.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.plg_search_content.ini index 57a18560..eb8dab83 100644 --- a/oss/joomla/trunk/language/zh-CN/zh-CN.plg_search_content.ini +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.plg_search_content.ini @@ -21,4 +21,4 @@ # * --------------------------------------------- # */ -ARTICLES=文章 +ARTICLES=文章正文 diff --git a/oss/joomla/trunk/language/zh-CN/zh-CN.plg_search_newsfeeds.ini b/oss/joomla/trunk/language/zh-CN/zh-CN.plg_search_newsfeeds.ini index 87ba8367..d756ac32 100644 --- a/oss/joomla/trunk/language/zh-CN/zh-CN.plg_search_newsfeeds.ini +++ b/oss/joomla/trunk/language/zh-CN/zh-CN.plg_search_newsfeeds.ini @@ -21,4 +21,4 @@ # * --------------------------------------------- # */ -NEWSFEEDS=新闻联播 +NEWSFEEDS=聚合新闻 diff --git a/oss/joomla/trunk/makeinstall/installation/sql/mysql/sample_data.sql b/oss/joomla/trunk/makeinstall/installation/sql/mysql/sample_data.sql index 77f98149..e6e4d875 100644 --- a/oss/joomla/trunk/makeinstall/installation/sql/mysql/sample_data.sql +++ b/oss/joomla/trunk/makeinstall/installation/sql/mysql/sample_data.sql @@ -123,7 +123,7 @@ INSERT INTO `#__content_frontpage` VALUES -- Dumping data for table `#__menu` -- -UPDATE `#__menu` SET `params` = 'show_page_title=1\npage_title=Welcome to the Frontpage\nshow_description=0\nshow_description_image=0\nnum_leading_articles=1\nnum_intro_articles=4\nnum_columns=2\nnum_links=4\nshow_title=1\npageclass_sfx=\nmenu_image=-1\nsecure=0\norderby_pri=\norderby_sec=front\nshow_pagination=2\nshow_pagination_results=1\nshow_noauth=0\nlink_titles=0\nshow_intro=1\nshow_section=0\nlink_section=0\nshow_category=0\nlink_category=0\nshow_author=1\nshow_create_date=1\nshow_modify_date=1\nshow_item_navigation=0\nshow_readmore=1\nshow_vote=0\nshow_icons=1\nshow_pdf_icon=1\nshow_print_icon=1\nshow_email_icon=1\nshow_hits=1\n\n' WHERE id = 1; +UPDATE `#__menu` SET `params` = 'show_page_title=1\npage_title=HA WEBSYSTEMS 信息技术有限公司\nshow_description=0\nshow_description_image=0\nnum_leading_articles=1\nnum_intro_articles=4\nnum_columns=2\nnum_links=4\nshow_title=1\npageclass_sfx=\nmenu_image=-1\nsecure=0\norderby_pri=\norderby_sec=front\nshow_pagination=2\nshow_pagination_results=1\nshow_noauth=0\nlink_titles=0\nshow_intro=1\nshow_section=0\nlink_section=0\nshow_category=0\nlink_category=0\nshow_author=1\nshow_create_date=1\nshow_modify_date=1\nshow_item_navigation=0\nshow_readmore=1\nshow_vote=0\nshow_icons=1\nshow_pdf_icon=1\nshow_print_icon=1\nshow_email_icon=1\nshow_hits=1\n\n' WHERE id = 1; INSERT INTO `#__menu` VALUES (2, 'mainmenu', 'Joomla! License', 'joomla-license', 'index.php?option=com_content&view=article&id=5', 'component', 1, 0, 20, 0, 4, 0, '0000-00-00 00:00:00', 0, 0, 0, 0, 'pageclass_sfx=\nmenu_image=-1\nsecure=0\nshow_noauth=0\nlink_titles=0\nshow_intro=1\nshow_section=0\nlink_section=0\nshow_category=0\nlink_category=0\nshow_author=1\nshow_create_date=1\nshow_modify_date=1\nshow_item_navigation=0\nshow_readmore=1\nshow_vote=0\nshow_icons=1\nshow_pdf_icon=1\nshow_print_icon=1\nshow_email_icon=1\nshow_hits=1\n\n', 0, 0, 0), @@ -152,7 +152,7 @@ INSERT INTO `#__menu` VALUES (46, 'ExamplePages', 'Category Blog', 'categoryblog', 'index.php?option=com_content&view=category&layout=blog&id=31', 'component', 1, 0, 20, 0, 3, 0, '0000-00-00 00:00:00', 0, 0, 0, 0, 'show_page_title=1\npage_title=Example of Category Blog layout (FAQs/General category)\nshow_description=0\nshow_description_image=0\nnum_leading_articles=1\nnum_intro_articles=4\nnum_columns=2\nnum_links=4\nshow_title=1\npageclass_sfx=\nmenu_image=-1\nsecure=0\norderby_pri=\norderby_sec=\nshow_pagination=2\nshow_pagination_results=1\nshow_noauth=0\nlink_titles=0\nshow_intro=1\nshow_section=0\nlink_section=0\nshow_category=0\nlink_category=0\nshow_author=1\nshow_create_date=1\nshow_modify_date=1\nshow_item_navigation=0\nshow_readmore=1\nshow_vote=0\nshow_icons=1\nshow_pdf_icon=1\nshow_print_icon=1\nshow_email_icon=1\nshow_hits=1\n\n', 0, 0, 0), (47, 'ExamplePages', 'Category Table', 'category-table', 'index.php?option=com_content&view=category&id=32', 'component', 1, 0, 20, 0, 4, 0, '0000-00-00 00:00:00', 0, 0, 0, 0, 'show_page_title=1\npage_title=Example of Category Table layout (FAQs/Languages category)\nshow_headings=1\nshow_date=0\ndate_format=\nfilter=1\nfilter_type=title\npageclass_sfx=\nmenu_image=-1\nsecure=0\norderby_sec=\nshow_pagination=1\nshow_pagination_limit=1\nshow_noauth=0\nshow_title=1\nlink_titles=0\nshow_intro=1\nshow_section=0\nlink_section=0\nshow_category=0\nlink_category=0\nshow_author=1\nshow_create_date=1\nshow_modify_date=1\nshow_item_navigation=0\nshow_readmore=1\nshow_vote=0\nshow_icons=1\nshow_pdf_icon=1\nshow_print_icon=1\nshow_email_icon=1\nshow_hits=1\n\n', 0, 0, 0), (48, 'mainmenu', 'Web Links', 'web-links', 'index.php?option=com_weblinks&view=categories', 'component', 1, 0, 4, 0, 8, 0, '0000-00-00 00:00:00', 0, 0, 0, 0, 'page_title=Weblinks\nimage=-1\nimage_align=right\npageclass_sfx=\nmenu_image=-1\nsecure=0\nshow_comp_description=1\ncomp_description=\nshow_link_hits=1\nshow_link_description=1\nshow_other_cats=1\nshow_headings=1\nshow_page_title=1\nlink_target=0\nlink_icons=\n\n', 0, 0, 0), -(49, 'mainmenu', 'News Feeds', 'news-feeds', 'index.php?option=com_newsfeeds&view=categories', 'component', 1, 0, 11, 0, 9, 0, '0000-00-00 00:00:00', 0, 0, 0, 0, 'show_page_title=1\npage_title=Newsfeeds\nshow_comp_description=1\ncomp_description=\nimage=-1\nimage_align=right\npageclass_sfx=\nmenu_image=-1\nsecure=0\nshow_headings=1\nshow_name=1\nshow_articles=1\nshow_link=1\nshow_other_cats=1\nshow_cat_description=1\nshow_cat_items=1\nshow_feed_image=1\nshow_feed_description=1\nshow_item_description=1\nfeed_word_count=0\n\n', 0, 0, 0), +(49, 'mainmenu', '聚合新闻', 'news-feeds', 'index.php?option=com_newsfeeds&view=categories', 'component', 1, 0, 11, 0, 9, 0, '0000-00-00 00:00:00', 0, 0, 0, 0, 'show_page_title=1\npage_title=聚合新闻\nshow_comp_description=1\ncomp_description=\nimage=-1\nimage_align=right\npageclass_sfx=\nmenu_image=-1\nsecure=0\nshow_headings=1\nshow_name=1\nshow_articles=1\nshow_link=1\nshow_other_cats=1\nshow_cat_description=1\nshow_cat_items=1\nshow_feed_image=1\nshow_feed_description=1\nshow_item_description=1\nfeed_word_count=0\n\n', 0, 0, 0), (50, 'mainmenu', 'The News', 'the-news', 'index.php?option=com_content&view=category&layout=blog&id=1', 'component', 1, 0, 20, 0, 7, 0, '0000-00-00 00:00:00', 0, 0, 0, 0, 'show_page_title=1\npage_title=The News\nshow_description=0\nshow_description_image=0\nnum_leading_articles=1\nnum_intro_articles=4\nnum_columns=2\nnum_links=4\nshow_title=1\npageclass_sfx=\nmenu_image=-1\nsecure=0\norderby_pri=\norderby_sec=\nshow_pagination=2\nshow_pagination_results=1\nshow_noauth=0\nlink_titles=0\nshow_intro=1\nshow_section=0\nlink_section=0\nshow_category=0\nlink_category=0\nshow_author=1\nshow_create_date=1\nshow_modify_date=1\nshow_item_navigation=0\nshow_readmore=1\nshow_vote=0\nshow_icons=1\nshow_pdf_icon=1\nshow_print_icon=1\nshow_email_icon=1\nshow_hits=1\n\n', 0, 0, 0), (51, 'usermenu', 'Submit an Article', 'submit-an-article', 'index.php?option=com_content&view=article&layout=form', 'component', 1, 0, 20, 0, 2, 0, '0000-00-00 00:00:00', 0, 0, 2, 0, '', 0, 0, 0), (52, 'usermenu', 'Submit a Web Link', 'submit-a-web-link', 'index.php?option=com_weblinks&view=weblink&layout=form', 'component', 1, 0, 4, 0, 3, 0, '0000-00-00 00:00:00', 0, 0, 2, 0, '', 0, 0, 0); diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/date.class.php b/oss/joomla/trunk/modules/mod_news_show_gk3/date.class.php new file mode 100644 index 00000000..08853ce8 --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/date.class.php @@ -0,0 +1,192 @@ +Months = array( + JText::_('JANUARY'), + JText::_('FEBRUARY'), + JText::_('MARCH'), + JText::_('APRIL'), + JText::_('MAY'), + JText::_('JUNE'), + JText::_('JULY'), + JText::_('AUGUST'), + JText::_('SEPTEMBER'), + JText::_('OCTOBER'), + JText::_('NOVEMBER'), + JText::_('DECEMBER') + ); + + $this->MonthsShort = array( + JText::_('JAN'), + JText::_('FEB'), + JText::_('MAR'), + JText::_('APR'), + JText::_('MAY'), + JText::_('JUN'), + JText::_('JUL'), + JText::_('AUG'), + JText::_('SEP'), + JText::_('OCT'), + JText::_('NOV'), + JText::_('DEC') + ); + + $this->Days = array( + JText::_('MONDAY'), + JText::_('TUESDAY'), + JText::_('WEDNESDAY'), + JText::_('THURSDAY'), + JText::_('FRIDAY'), + JText::_('SATURDAY'), + JText::_('SUNDAY') + ); + + $this->DaysShort = array( + JText::_('MON'), + JText::_('TUE'), + JText::_('WED'), + JText::_('THU'), + JText::_('FRI'), + JText::_('SAT'), + JText::_('SUN') + ); + } + + function news_date($date_string, $date_format){ + $year = (int) substr($date_string, 0, 4); + $month = (int) substr($date_string, 5, 2); + $day = (int) substr($date_string, 8, 2); + $hour = (int) substr($date_string, 11,2); + $minutes = substr($date_string, 14,2); + + $day_name = date("l", strtotime($date_string)); + $month_name = ''; + $date_format = ' '.$date_format; + $output = ''; + + /** + D - full day name, + s - short day name, + s - day (number without 0 prefix), + z - day (number with 0 prefix), + M - full month name, + S - short month name, + m - month (number without 0 prefix), + Z - month (number with 0 prefix), + Y - year + H - hour in 24h format + h - hour in 12h format + **/ + + + + for($i = 0; $i < strlen($date_format); $i++) + { + $letter = ''; + $letter = substr($date_format, $i, 1); + + switch($letter) + { + case 'd' : + $output .= $day; + break; + + case 'z' : + if($day < 10) $day = '0'.$day; + $output .= $day; + break; + + case 'm' : + $output .= $month; + break; + + case 'Z' : + if($month < 10) $month = '0'.$month; + $output .= $month; + break; + + case 'Y' : + $output .= $year; + break; + + case 'D' : + switch($day_name){ + case 'Monday' : $day_name = $this->Days[0];break; + case 'Tuesday' : $day_name = $this->Days[1];break; + case 'Wednesday' : $day_name = $this->Days[2];break; + case 'Thursday' : $day_name = $this->Days[3];break; + case 'Friday' : $day_name = $this->Days[4];break; + case 'Saturday' : $day_name = $this->Days[5];break; + case 'Sunday' : $day_name = $this->Days[6];break; + } + + $output .= $day_name; + break; + + case 's' : + switch($day_name){ + case 'Monday' : $day_name = $this->DaysShort[0];break; + case 'Tuesday' : $day_name = $this->DaysShort[1];break; + case 'Wednesday' : $day_name = $this->DaysShort[2];break; + case 'Thursday' : $day_name = $this->DaysShort[3];break; + case 'Friday' : $day_name = $this->DaysShort[4];break; + case 'Saturday' : $day_name = $this->DaysShort[5];break; + case 'Sunday' : $day_name = $this->DaysShort[6];break; + } + + $output .= $day_name; + break; + + case 'M' : + $month_name = $this->Months[$month-1]; + $output .= $month_name; + break; + + case 'S' : + $month_name = $this->MonthsShort[$month-1]; + $output .= $month_name; + break; + + case 'H' : + $output .= $hour.':'.$minutes; + break; + + case 'h' : + $suf = ($hour > 12) ? JText::_('PM') : JText::_('AM'); + $output .= $hour.':'.$minutes.$suf; + break; + + default : + $output .= $letter; + break; + } + } + + return $output; + } + +} + +?> \ No newline at end of file diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/helper.php b/oss/joomla/trunk/modules/mod_news_show_gk3/helper.php new file mode 100644 index 00000000..cf6d8272 --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/helper.php @@ -0,0 +1,1054 @@ +module_unique_id = $params->get('module_unique_id','gk_news_show-1'); // unique ID + $this->width = $params->get('width', 0); // module width + $this->td_padding = $params->get('td_padding', 0); // table cells padding + + $this->section = $params->get('section', ''); // ID of section from list + $this->category = $params->get('category', ''); // ID of category from list + $this->sections = $params->get('sections', ''); // String contained IDs of sections separated by comma + $this->categoriess = $params->get('categories', ''); // String contained IDs of scategories separated by comma + $this->news_amount = $params->get('news_amount', 15); // News amount to load + $this->news_sort_value = $params->get('news_sort_value','created'); // Parameter for SQL Query - value of sort + $this->news_sort_order = $params->get('news_sort_order','DESC'); // Parameter for SQL Query - sort direct + $this->news_column = $params->get('news_column', 4); // amount of news columns + $this->news_rows = $params->get('news_rows', 3); // amount of news rows + $this->show_list = $params->get('show_list', 1); // boolean value - show list or not + $this->rounded = $params->get('rounded', 1); // boolena value - support for rounded corners + $this->list_style = $params->get('list_style',1); // style of list with rest of news + $this->news_content_header_pos = $params->get('news_content_header_pos', 1); // text-align for news header + $this->news_content_image_pos = $params->get('news_content_image_pos', 1); // text-align for news image + $this->news_content_text_pos = $params->get('news_content_text_pos', 1); // text-align for news text + $this->news_content_readmore_pos = $params->get('news_content_readmore_pos', 2); // text-align for news readmore button + $this->news_content_info_pos = $params->get('news_content_info_pos', 1); // text-align for news info + $this->news_readmore_text = $params->get('news_readmore_text', 'Readmore'); // text for news readmore button + $this->news_header_link = $params->get('news_header_link', 1); // add link to header ? (boolean) + $this->news_image_link = $params->get('news_image_link', 1); // add link to image ? (boolean) + $this->news_text_link = $params->get('news_text_link', 0); // add link to text ? (boolean) + $this->news_header_order = $params->get('news_header_order', 1); // order of news header + $this->news_image_order = $params->get('news_image_order', 2); // order of news image + $this->news_text_order = $params->get('news_text_order', 3); // order of news text + $this->news_limit_type = $params->get('news_limit_type', 0); // type of limit fo news text + $this->news_limit = $params->get('news_limit', 30); // amount of limit "units" + $this->title_limit = $params->get('title_limit', 40); // amount of limit "units" + $this->clean_xhtml = $params->get('clean_xhtml', 1); // cleaning XHTML in news + $this->plugin_support = $params->get('plugin_support', 0); // plugin support + $this->only_plugin = $params->get('only_plugin', 0); // use only plugin images + $this->img_height = $params->get('img_height', 0); // image height + $this->img_width = $params->get('img_width', 0); // image width + $this->img_margin = $params->get('img_margin', '3px'); // image margin + $this->date_format = $params->get('date_format', 'D, d M Y'); // date format + $this->panel = $params->get('panel', 1); // use panel with additional options + $this->useMoo = $params->get('useMoo', 2); // add mootools script to page (if you use more than one module per page then disable it / or if you have mootools included) + $this->useScript = $params->get('useScript', 2); // add script for this module to page (if you use more than one module per page then disable it) + $this->parse_plugins = (bool) $params->get('parse_plugins', 0); + $this->mootools_version = $params->get('mootools_version', '1_11'); + // + ($this->width == 0) ? $this->mstyle = '' : $this->mstyle = ' style="width: '.$this->width.'px;"'; + // + $this->news_datee = $params->get('news_date', 1); + $this->news_cats = $params->get('news_cats', 1); + $this->news_authorr = $params->get('news_author', 1); + $this->news_info_order = $params->get('news_info_order', 4); + $this->news_more_in = $params->get('news_more_in', 1); + // + $this->timezone = $params->get('news_content_timezone','0'); + $this->username = $params->get('username', 0); + // + $this->startposition = $params->get('startposition', 0); + $this->news_frontpage = $params->get('news_frontpage',1); + $this->IDs = $params->get('ids',''); + $this->unauthorized = $params->get('unauthorized', 0); + $this->only_frontpage = $params->get('only_frontpage', 0); + $this->news_type = $params->get('news_type', 0); + // + $this->compress_js = $params->get('compress_js', 1); + // + $this->head_nofollow = $params->get('head_nofollow', 1); + $this->image_nofollow = $params->get('head_nofollow', 1); + $this->text_nofollow = $params->get('text_nofollow', 1); + $this->info_nofollow = $params->get('info_nofollow', 1); + $this->list_nofollow = $params->get('list_nofollow', 1); + $this->readmore_nofollow = $params->get('readmore_nofollow', 1); + $this->head_target = $params->get('head_target', 1); + $this->image_target = $params->get('image_target', 1); + $this->text_target = $params->get('text_target', 1); + $this->info_target = $params->get('info_target', 1); + $this->list_target = $params->get('list_target', 1); + $this->readmore_target = $params->get('readmore_target', 1); + // + if(JString::strpos($this->img_height,'px') === false && JString::strpos($this->img_height,'%') === false) $this->img_height = 0;# Height image + if(JString::strpos($this->img_width,'px') === false && JString::strpos($this->img_width,'%') === false) $this->img_width = 0;# Width image + if(JString::strpos($this->img_margin,'px') === false && JString::strpos($this->img_margin,'%') === false) $this->img_margin = 0;# Margin image + } + + /** + Generating SQL Query + **/ + + function getDatas() + { + global $mainframe; + // + $db =& JFactory::getDBO(); + $user =& JFactory::getUser(); + $aid = $user->get('aid', 0); + $contentConfig = &JComponentHelper::getParams( 'com_content' ); + $noauth = $contentConfig->get('show_noauth'); + $now = date('Y-m-d H:i:s', time() + $mainframe->getCfg('offset') * 60 * 60); + $nullDate = $db->getNullDate(); + // if source type is section / sections + $source = false; + $where1 = ''; + $where2 = ''; + // + if($this->section != 0 + && $this->category == 0 + && $this->sections == '' + && $this->categoriess == '' + && $this->IDs == '' + ) + { + $source = $this->section; + $where1 = ' c.section = '; + $where2 = ' OR c.section = '; + } + elseif($this->category != 0 + && $this->sections == '' + && $this->categoriess == '' + && $this->IDs == '' + ) + { + $source = $this->category; + $where1 = ' c.id = '; + $where2 = ' OR c.id = '; + } + elseif($this->sections != '' + && $this->categoriess == '' + && $this->IDs == '' + ) + { + $source = $this->sections; + $where1 = ' c.section = '; + $where2 = ' OR c.section = '; + } + elseif($this->categoriess != '' + && $this->IDs == '' + ) + { + $source = $this->categoriess; + $where1 = ' c.id = '; + $where2 = ' OR c.id = '; + } + else + { + $source = $this->IDs; + $where1 = ' content.id = '; + $where2 = ' OR content.id = '; + } + // + $content_tab = explode(',', $source); + $where = ''; // initialize WHERE condition + // generating WHERE condition + for($i = 0;$i < count($content_tab);$i++) + { + // + if($i == 0) + { + $where .= $where1.$content_tab[$i]; + } + else // + { + $where .= $where2.$content_tab[$i]; + } + } + // + $query_name = ' + SELECT DISTINCT + c.id AS ID, + c.section AS SID, + c.title AS name, + m.id AS MID + FROM + #__categories AS c + LEFT JOIN + #__menu AS m + ON + c.id = m.componentid + LEFT JOIN + '.(($this->news_type == 0) ? '#__content' : '#__weblinks').' AS content + ON + c.id = content.catid + WHERE + ( '.$where.' ) + AND + c.published = 1'.((!$noauth && $this->unauthorized == 0) ? ' + AND + c.access <= ' .(int) $aid : '').'; + '; + // Executing SQL Query + $db->setQuery($query_name); + // + $this->more_in_text = ''; // + $sql_where = ''; // initialize sql condition + // if in database exist some needs datas + if($categories = $db->loadObjectList()) + { + // + $j = 0; + // getting categories ItemIDs + foreach ($categories as $item) + { + if($this->news_type == 0) + { + $this->more_in_text .= ''. $item->name .', '; + } + // + if($j != 0) + { + $sql_where .= ' OR content.catid = '.$item->ID; + } + else + { + $sql_where .= ' content.catid = '.$item->ID; + } + // + $j++; + } + // + if($this->news_type == 0) + { + $this->more_in_text = JText::_('MORE_IN').": ".JString::substr($this->more_in_text, 0, JString::strlen($this->more_in_text)-2); + } + } + // + if($this->IDs != '') + { + $sql_where = ''; + $idss = explode(',',$this->IDs); + for($z = 0; $z < count($idss); $z++ ) + { + if($z != 0) + { + $sql_where .= ' OR content.id = '.$idss[$z]; + } + else + { + $sql_where .= ' content.id = '.$idss[$z]; + } + } + } + // if some datas are avalabile + if(count($categories) > 0){ + // setting time variable as now + if($this->timezone == '0') + { + $now = gmdate('Y-m-d H:i:s', gmmktime()); + } + else + { + $time = gmmktime() + ((int) $this->timezone * 3600); + $now = gmdate('Y-m-d H:i:s', $time); + } + // + if($this->only_frontpage == 0) + { + $frontpage_con = ($this->news_frontpage == 0) ? ' AND frontpage.content_id IS NULL ' : ''; + } + else + { + $frontpage_con = ' AND frontpage.content_id IS NOT NULL '; + } + + // + $order_options = ''; + // + if($this->news_sort_value == 'random') + { + $order_options = ' RAND() '; + } + else // + { + if($this->news_type == 1 && $this->news_sort_value == 'created') $this->news_sort_value = 'date'; + if($this->news_sort_value != 'fordering') $order_options = ' content.'.$this->news_sort_value.' '.$this->news_sort_order.' '; + else $order_options = ' frontpage.ordering '.$this->news_sort_order.' '; + } + // + $query_news = ' + SELECT DISTINCT + cats.title AS cat, + '.(($this->news_type == 0) ? + ((($this->username != 2) ? 'users.'.(($this->username == 1) ? 'username':'name') : 'content.created_by_alias')) .' AS author, + ' : 'cats.id AS CID,' ).' + cats.section AS SID, + content.title AS title, + '.(($this->news_type == 0) ? 'content.introtext' : 'content.description').' AS text, + '.(($this->news_type == 0) ? 'content.created' : 'content.date').' AS date, + '.(($this->news_type == 0) ? 'content.images AS images,' : '').' + '.(($this->news_type == 0) ? ' + content.id as IID, + CASE WHEN CHAR_LENGTH(content.alias) + THEN CONCAT_WS(":", content.id, content.alias) + ELSE content.id END as ID, + CASE WHEN CHAR_LENGTH(cats.alias) + THEN CONCAT_WS(":", cats.id, cats.alias) + ELSE cats.id END as CID + ' : ' + content.url AS URL + ').' + FROM + '.(($this->news_type == 0) ? '#__content' : '#__weblinks').' AS content + LEFT JOIN + #__categories AS categories + ON categories.id = content.catid + '.(($this->news_type == 0) ? ' + LEFT JOIN + #__sections AS sections + ON sections.id = content.sectionid + LEFT JOIN + #__menu AS menu + ON menu.componentid = content.id + LEFT JOIN + #__users AS users + ON users.id = content.created_by + LEFT JOIN + #__content_frontpage AS frontpage + ON content.id = frontpage.content_id + ' : '').' + LEFT JOIN + #__categories AS cats + ON content.catid = cats.id + WHERE + '.(($this->news_type == 0) ? ' + content.state = 1'.((!$noauth && $this->unauthorized == 0) ? ' + AND categories.access <= ' .(int) $aid . ' + AND content.access <= '.(int) $aid : '').' + AND ' : '' ).' + categories.published = 1 + '.(($this->news_type == 0) ? ' + AND ( content.publish_up = '.$db->Quote($nullDate).' + OR content.publish_up <= '.$db->Quote($now).' ) + AND ( content.publish_down = '.$db->Quote($nullDate).' + OR content.publish_down >= '.$db->Quote($now).' ) + ' : '' ).' + AND ( '.$sql_where.' ) + '.(($this->news_type == 0) ? ' + '.$frontpage_con.' + ' : '').' + ORDER BY + '.$order_options.' + LIMIT + '.$this->startposition.','.($this->news_amount+$this->startposition).'; + '; + // + $db->setQuery($query_news); + // + if($news = $db->loadObjectList()) + { + // generating tables of news data + foreach($news as $item) + { + if($this->news_type == 0) $this->content_id[] = $item->ID; // news IDs + if($this->news_type == 0) $this->content_iid[] = $item->IID; // news IDs + $this->content_cid[] = $item->CID; // news CIDs + $this->content_title[] = $item->title; // news titles + $this->content_text[] = $item->text; // news text + if($this->news_type == 0) $this->content_images[] = $item->images; // news images + $this->content_date[] = $item->date; // news dates + if($this->news_type == 0) $this->content_author[] = $item->author; // news author + $this->content_catname[] = $item->cat; // news category name + if($this->news_type == 0) $this->content_sid[] = $item->SID; // news category section ID + if($this->news_type == 1) $this->content_url[] = $item->URL; // link url + $this->na++; + } + } + // + if($this->plugin_support == 1 && $this->news_type == 0) + { + // + $query_image = ' + SELECT + s.`file` AS filename, + s.`article` AS artID + FROM + #__gk2_photoslide_slides AS s + LEFT JOIN + #__gk2_photoslide_groups AS g + ON + s.group_id = g.id + WHERE + s.access <= '.(int) $aid.' + AND + s.published = 1 + AND + g.plugin = "News Show GK3" + ;'; + // + $db->setQuery($query_image); + // + if($images = $db->loadObjectList()) + { + foreach($images as $image) + { + $this->images_tab[$image->artID] = $image->filename; + } + } + } + } + } + + /** + + **/ + + function renderLayout() + { + unset($news_id, $news_cid, $news_title, $news_text, $news_date, $news_images, $news_author, $news_catname, $news_sid, $news_url); + // selecting correctly part of datas + for($x = 0;$x < count(($this->news_type == 0) ? $this->content_id : $this->content_title);$x++) + { + if($this->news_type == 0) $news_id[] = $this->content_id[$x]; + if($this->news_type == 0) $news_iid[] = $this->content_iid[$x]; + $news_cid[] = $this->content_cid[$x]; + $news_title[] = $this->content_title[$x]; + $news_text[] = $this->content_text[$x]; + $news_date[] = $this->content_date[$x]; + if($this->news_type == 0) $news_images[] = $this->content_images[$x]; + if($this->news_type == 0) $news_author[] = $this->content_author[$x]; + $news_catname[] = $this->content_catname[$x]; + if($this->news_type == 0) $news_sid[] = $this->content_sid[$x]; + if($this->news_type == 1) $news_url[] = $this->content_url[$x]; + } + // tables which will be used in generated content + $news_rest_news_list_tab = ''; + $news_code_html_tab = array(); + // Generating content + if(isset($_COOKIE['gk_ns_amount']) && $this->panel == 1) + { + // + $cookie_content = explode(',', str_replace('\\', '', preg_replace('/({|}|")/', '', $_COOKIE['gk_ns_amount']))); + // + $setted = false; + // + for($j = 0; $j < count($cookie_content); $j++) + { + // + $temp = explode(':', $cookie_content[$j]); + // + if($temp[0] == $this->module_unique_id) + { + // + $news_rows2 = $temp[1]; + $setted = true; + } + } + // + if($setted == false) + { + // + $news_rows2 = $this->news_rows; + } + } + else // + { + // + $news_rows2 = $this->news_rows; + } + // + $uri =& JURI::getInstance(); + // + for($y = 0;$y < count(($this->news_type == 0) ? $news_id : $news_title);$y++) + { + /* + GENERATING NEWS CONTENT + */ + + // GENERATING HEADER + if($this->news_content_header_pos != 0) + { + // + $class = ''; + $attributes = ''; + // + if($this->head_nofollow == 1) $attributes .= ' rel="nofollow" '; + // + if($this->head_target == 1) $attributes .= ' target="_blank" '; + // + switch($this->news_content_header_pos) + { + case 0: $class = '';break; + case 1: $class = 'ta_left';break; + case 2: $class = 'ta_right';break; + case 3: $class = 'ta_center';break; + } + // + if($this->news_type == 0) + { + // + $news_header = ($this->news_header_link == 1) ? '

    '.JString::substr($news_title[$y], 0, $this->title_limit).'

    ' : '

    '.JString::substr($news_title[$y], 0, $this->title_limit).'

    '; + } + else // + { + // + $news_header = ($this->news_header_link == 1) ? '

    '.JString::substr($news_title[$y], 0, $this->title_limit).'

    ' : '

    '.JString::substr($news_title[$y], 0, $this->title_limit).'

    '; + } + } + else + { + $news_header = ''; + } + + if($this->news_type == 0) + { + // GENERATING IMAGE + $news_image = ''; + $IMG_SOURCE = ''; + $IMG_LINK = JRoute::_(ContentHelperRoute::getArticleRoute($news_id[$y], $news_cid[$y], $news_sid[$y])); + //////////////////////////////////////////////////////////////////// + if($this->plugin_support == 0) + { + // + $imgSPos = JString::strpos($news_text[$y],'src="'); + // + if($imgSPos) + { + $imgEPos = JString::strpos($news_text[$y],'"',$imgSPos+5); + } + // + if($imgSPos > 0) + { + $IMG_SOURCE = JString::substr($news_text[$y], ($imgSPos+5), ($imgEPos-($imgSPos+5))); + } + // + } + else + { + if($this->plugin_support == 1 && + ( + isset($this->images_tab[$news_iid[$y]]) || + isset($this->images_tab[200000000+$news_cid[$y]]) || + isset($this->images_tab[300000000+$news_sid[$y]]) + ) + ) + { + if(isset($this->images_tab[$news_iid[$y]])) + { + $IMG_SOURCE = $uri->root().'components/com_gk2_photoslide/images/thumbs/'.$this->images_tab[$news_iid[$y]]; + } + // + elseif(isset($this->images_tab[200000000+$news_cid[$y]])) + { + $IMG_SOURCE = $uri->root().'components/com_gk2_photoslide/images/thumbs/'.$this->images_tab[200000000+$news_cid[$y]]; + } + // + elseif(isset($this->images_tab[300000000+$news_sid[$y]])) + { + $IMG_SOURCE = $uri->root().'components/com_gk2_photoslide/images/thumbs/'.$this->images_tab[300000000+$news_sid[$y]]; + } + } + else + { + if($this->plugin_support == 1 && $this->only_plugin == 0) + { + // + $imgSPos = JString::strpos($news_text[$y],'src="'); + // + if($imgSPos) + { + $imgEPos = JString::strpos($news_text[$y],'"',$imgSPos+5); + } + // + if($imgSPos > 0) + { + $IMG_SOURCE = JString::substr($news_text[$y], ($imgSPos+5), ($imgEPos-($imgSPos+5))); + } + } + } + } + // + if($IMG_SOURCE != '' && $this->news_content_image_pos != 0) + { + // + $class = ''; + $margin = ''; + $attributes = ''; + $size = ''; + // + if($this->image_nofollow == 1) $attributes .= ' rel="nofollow" '; + // + if($this->image_target == 1) $attributes .= ' target="_blank" '; + // + switch($this->news_content_image_pos){ + case 0: $class .= '';break; + case 1: $class .= 'i_left';break; + case 2: $class .= 'i_right';break; + case 3: $class .= 'i_center';break; + } + // + if($this->img_margin != 0) + { + $margin = 'margin: '.$this->img_margin.';'; + } + // + if($this->img_width != 0) $size .= 'width:'.$this->img_width.';'; + if($this->img_height != 0) $size .= 'height:'.$this->img_height.';'; + // + if($this->news_image_link == 1){ + // + $news_image = ($this->news_content_image_pos == 3) ? '
    News image
    ' : 'News image'; + } + else // + { + // + $news_image = ($this->news_content_image_pos == 3) ? '
    News imageimages_tab[$news_iid[$y]])) ? '' : $size).' '.$margin.' />
    ' : $news_image = 'News image'; + } + } + } + // GENERATING READMORE + $news_readmore = ''; + // + if($this->news_content_readmore_pos != 0) + { + // + $class = ''; + $attributes = ''; + // + if($this->readmore_nofollow == 1) $attributes .= ' rel="nofollow" '; + // + if($this->readmore_target == 1) $attributes .= ' target="_blank" '; + // + switch($this->news_content_readmore_pos) + { + case 0: $class = '';break; + case 1: $class .= 'p_left';break; + case 2: $class .= 'p_right';break; + case 3: $class .= 'p_center';break; + case 4: $class = '';break; + } + // + if($this->news_content_readmore_pos != 4) + { + if($this->news_type == 0) + { + $news_readmore = ''.$this->news_readmore_text.''; + } + else + { + $news_readmore = ''.$this->news_readmore_text.''; + } + } + else + { + if($this->news_type == 0) + { + $news_readmore = ''.$this->news_readmore_text.''; + } + } + } + // GENERATING TEXT + $news_textt = ''; + // + if($this->news_content_text_pos != 0) + { + // + $news_textt = $news_text[$y]; + // + if($this->clean_xhtml == 1) $news_textt = strip_tags($news_textt); + // + if($this->news_limit_type == 0) + { + $str = $news_textt; + // + if(JString::strlen($str) > $this->news_limit) + { + $start_strpos = 0; + // + for($i = 0; $i < $this->news_limit && $start_strpos < JString::strlen($str); $i++) + { + // + if(JString::strpos($str, ' ', $start_strpos) !== FALSE) + { + // + $start_strpos = JString::strpos($str, ' ', $start_strpos) + 1; + } + } + + $news_textt = JString::trim($str); + $news_textt = JString::substr($news_textt, 0, $start_strpos); + $news_textt .= "..."; + } + } + else + { + $str = $news_textt; + // + if(JString::strlen($str) > $this->news_limit) + { + // + if(JString::strlen($str) >= $this->news_limit) + { + // + $news_textt = JString::substr($str, 0, $this->news_limit); + $news_textt .= "..."; + } + } + } + // + $attributes = ''; + // + if($this->text_nofollow == 1) $attributes .= ' rel="nofollow" '; + // + if($this->text_target == 1) $attributes .= ' target="_blank" '; + // + if($this->news_type == 0) + { + $news_textt = ($this->news_text_link == 1) ? ''.$news_textt.'' : $news_textt; + } + else + { + $news_textt = ($this->news_text_link == 1) ? ''.$news_textt.'' : $news_textt; + } + // + $class = ''; + // + switch($this->news_content_text_pos) + { + case 0: $class = '';break; + case 1: $class = 'ta_left';break; + case 2: $class = 'ta_right';break; + case 3: $class = 'ta_center';break; + case 4: $class = 'ta_justify';break; + } + // + $news_textt = ($this->news_content_readmore_pos == 4) ? '

    '.$news_textt.' '.$news_readmore.'

    ' : $news_textt = '

    '.$news_textt.'

    '; + } + + + + + + // GENERATE NEWS INFO + $news_infoo = ''; + // + if($this->news_content_info_pos != 0) + { + if($this->news_datee == 1 || $this->news_cats == 1 || $this->news_authorr == 1) + { + // + $class = ''; + $attributes = ''; + // + if($this->text_nofollow == 1) $attributes .= ' rel="nofollow" '; + // + if($this->text_target == 1) $attributes .= ' target="_blank" '; + // + if($this->news_content_info_pos == 1) $class = 'ta_left'; + elseif($this->news_content_info_pos == 2) $class = 'ta_right'; + else $class = 'ta_center'; + // + $news_infoo .= '

    '; + // + if($this->news_cats == 1 && $this->news_type == 0) + { + $news_infoo .= ''.$news_catname[$y].''; + } + // + if($this->news_authorr == 1 && $this->news_type == 0) + { + if($this->news_cats == 1) + { + $news_infoo .= ' | '; + } + // + $news_infoo .= $news_author[$y]; + } + // + if($this->news_datee == 1) + { + if(($this->news_cats == 1 || $this->news_authorr == 1) && $this->news_type == 0) + { + $news_infoo .= ' | '; + } + // + $GKD = new GK3NewsShowDateClass(); + $GKD->init(); + // + $news_infoo .= $GKD->news_date($news_date[$y], $this->date_format); + } + // + $news_infoo .= '

    '; + } + } + + + + // PARSING PLUGINS + if($this->parse_plugins == true) + { + // + $news_textt = $this->ParsePlugins($news_textt); + } + + + + // GENERATE CONTENT FOR TAB + $news_generated_content = ''; // initialize variable + // + for($i = 1;$i < 5;$i++) + { + if($this->news_header_order == $i) $news_generated_content .= $news_header; + if($this->news_image_order == $i && $this->news_type == 0) $news_generated_content .= $news_image; + if($this->news_text_order == $i) $news_generated_content .= $news_textt; + if($this->news_info_order == $i) $news_generated_content .= $news_infoo; + } + // + if($this->news_content_readmore_pos != 4) + { + $news_generated_content .= $news_readmore; + } + // + if($this->show_list == 1) + { + // + $attributes = ''; + // + if($this->list_nofollow == 1) $attributes .= ' rel="nofollow" '; + // + if($this->list_target == 1) $attributes .= ' target="_blank" '; + // if news on list must be visible + $li_visible = (($y+1) > $news_rows2 * $this->news_column) ? 'block' : 'none'; + // creating rest news list + if($this->news_type == 0) + { + $news_rest_news_list_tab .= '
  • '.$news_title[$y].'
  • '; + } + else + { + $news_rest_news_list_tab .= '
  • '.$news_title[$y].'
  • '; + } + } + // creating table with news content + $news_code_html_tab[$y] = $news_generated_content; + } + /** + GENERATING FINAL XHTML CODE START + **/ + + // create instances of basic Joomla! classes + $document =& JFactory::getDocument(); + $uri =& JURI::getInstance(); + // add stylesheets to document header + $document->addStyleSheet( $uri->root().'modules/mod_news_show_gk3/style/style.css', 'text/css' ); + // init $headData variable + $headData = false; + // add scripts with automatic mode to document header + if($this->useMoo == 2) + { + // getting module head section datas + unset($headData); + $headData = $document->getHeadData(); + // generate keys of script section + $headData_keys = array_keys($headData["scripts"]); + // set variable for false + $mootools_founded = false; + // searching phrase mootools in scripts paths + for($i = 0;$i < count($headData_keys); $i++) + { + if(preg_match('/mootools/i', $headData_keys[$i])) + { + // if founded set variable to true and break loop + $mootools_founded = true; + break; + } + } + // if mootools file doesn't exists in document head section + if(!$mootools_founded) + { + // add new script tag connected with mootools from module + $headData["scripts"][$uri->root().'modules/mod_news_show_gk3/scripts/mootools_'.$this->mootools_version.'.js'] = "text/javascript"; + // if added mootools from module then this operation have sense + $document->setHeadData($headData); + } + } + + if($this->useScript == 2) + { + // getting module head section datas + unset($headData); + $headData = $document->getHeadData(); + // generate keys of script section + $headData_keys = array_keys($headData["scripts"]); + // set variable for false + $engine_founded = false; + // searching phrase mootools in scripts paths + if(array_search($uri->root().'modules/mod_news_show_gk3/scripts/engine_'.$this->mootools_version.(($this->compress_js == 1) ? '_compressed' : '').'.js', $headData_keys) > 0) + { + // if founded set variable to true + $engine_founded = true; + } + // if mootools file doesn't exists in document head section + if(!$engine_founded) + { + // add new script tag connected with mootools from module + $headData["scripts"][$uri->root().'modules/mod_news_show_gk3/scripts/engine_'.$this->mootools_version.(($this->compress_js == 1) ? '_compressed' : '').'.js'] = "text/javascript"; + // if added mootools from module then this operation have sense + $document->setHeadData($headData); + } + } + // + $news_amount_to_show = $news_rows2 * $this->news_column; + $column_width = floor(100 / $this->news_column) . "%"; + $panel_content = ''; + // + require(JModuleHelper::getLayoutPath('mod_news_show_gk3', 'view.default')); + // + if($this->useScript != 2 || $this->useMoo != 2) + { + require(JModuleHelper::getLayoutPath('mod_news_show_gk3', 'view.script_style')); + } + } + + /** + Method to parse plugin in article content. + + @access public + @param string - article content + @return string - modified article content + **/ + + function ParsePlugins($text) + { + // getting global mainframe + global $mainframe; + // getting com_content params + $params =& $mainframe->getParams('com_content'); + // getting JDispatcher instance + $dispatcher =& JDispatcher::getInstance(); + // importing plugins + JPluginHelper::importPlugin('content'); + // creating class + $data = new stdClass(); + // fill class with content + $data->text = $text; + // parsing content + $dispatcher->trigger('onPrepareContent', array(&$data, & $params, 0 )); + // returning parsed content (now with parsed plugin content) + return $data->text; + } +} + +?> \ No newline at end of file diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/index.html b/oss/joomla/trunk/modules/mod_news_show_gk3/index.html new file mode 100644 index 00000000..fa6d84e8 --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/mod_news_show_gk3.php b/oss/joomla/trunk/modules/mod_news_show_gk3/mod_news_show_gk3.php new file mode 100644 index 00000000..0538b1ee --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/mod_news_show_gk3.php @@ -0,0 +1,31 @@ +validateVariables($params); +$helper->getDatas(); +$helper->renderLayout(); + +?> \ No newline at end of file diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/mod_news_show_gk3.xml b/oss/joomla/trunk/modules/mod_news_show_gk3/mod_news_show_gk3.xml new file mode 100644 index 00000000..565a4883 --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/mod_news_show_gk3.xml @@ -0,0 +1,365 @@ + + + News Show GK3 + 31/1/2009 + Gavick.com + (C) 2008-2009 Gavick.com + http://www.gnu.org/copyleft/gpl.html GNU/GPL + info@gavick.com + www.gavick.com + 3.2.0 + NEWS SHOW INSTALLED CORRECTLY + + mod_news_show_gk3.php + helper.php + date.class.php + index.html + tmpl/view.default.php + tmpl/view.script_style.php + tmpl/index.html + scripts/engine_1_11.js + scripts/engine_1_2_1.js + scripts/engine_1_11_compressed.js + scripts/engine_1_2_1_compressed.js + scripts/mootools_1_11.js + scripts/mootools_1_2_1.js + scripts/index.html + style/index.html + style/style.css + + + + language/en-GB.mod_news_show_gk3.ini + language/pl-PL.mod_news_show_gk3.ini + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/scripts/engine_1_11.js b/oss/joomla/trunk/modules/mod_news_show_gk3/scripts/engine_1_11.js new file mode 100644 index 00000000..6496be6d --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/scripts/engine_1_11.js @@ -0,0 +1,56 @@ +window.addEvent("load",function(){ + $$('.gk_news_show_table').each(function(el,i){ + var TID = el.getProperty('id'); + var conf = new Hash.Cookie('gk_ns_amount', {duration: 14,path: "/"}); + var main = $(TID); + // + if($E('.gk_news_show_panel_amount',el)){ + var TRs = main.getElementsBySelector('tr'); + var counter = $E('.gk_news_show_panel_amount_value',el); + var NC = TRs[0].getElementsBySelector('td').length; + var NR = TRs.length-2; + var NV = 0; + // + TRs.each(function(el){(el.getStyle("display") == 'none') ? NV++ : NV = NV;}); + counter.setHTML(NR-NV); + var list = $E('.gk_news_show_list_floated',el) || $E('.gk_news_show_list',el) || false; + // + if(list){ + var listOfLi = list.getElementsBySelector('li'); + var amountOfLi = listOfLi.length; + } + // + $E('.gk_news_show_panel_amount_minus',el).addEvent('click',function(){ + if(NV < NR){ + TRs[(NR-NV)-1].setStyle('display','none'); + TRs[(NR-NV)-1].setProperty('class','gk_news_show_tablerow_invisible'); + NV++; + counter.setHTML(NR-NV); + conf.set(TID, (NR-NV)); + // + if(list){ + for(var l=0;l= 0) && (((NR-NV)*NC)+l < amountOfLi)) listOfLi[((NR-NV)*NC)+l].setStyle('display','block'); + } + } + } + }); + // + $E('.gk_news_show_panel_amount_plus',el).addEvent('click',function(){ + if(NV > 0){ + TRs[(NR-NV)].setStyle('display',''); + TRs[(NR-NV)].setProperty('class','gk_news_show_tablerow'); + NV--; + counter.setHTML(NR-NV); + conf.set(TID, (NR-NV)); + // + if(list){ + for(var k=0;k35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('D.j("F",c(){$$(\'.A\').r(c(6,i){5 e=6.J(\'I\');5 n=H K.N(\'M\',{L:G,y:"/"});5 s=$(e);7($E(\'.B\',6)){5 8=s.p(\'z\');5 g=$E(\'.C\',6);5 9=8[0].p(\'O\').q;5 4=8.q-2;5 3=0;8.r(c(6){(6.U("b")==\'h\')?3++:3=3});g.m(4-3);5 a=$E(\'.W\',6)||$E(\'.Y\',6)||X;7(a){5 d=a.p(\'Q\');5 o=d.q}$E(\'.V\',6).j(\'t\',c(){7(3<4){8[(4-3)-1].f(\'b\',\'h\');8[(4-3)-1].w(\'x\',\'R\');3++;g.m(4-3);n.u(e,(4-3));7(a){v(5 l=0;l<9;l++){7((((4-3)*9)+l>=0)&&(((4-3)*9)+l0){8[(4-3)].f(\'b\',\'\');8[(4-3)].w(\'x\',\'P\');3--;g.m(4-3);n.u(e,(4-3));7(a){v(5 k=0;k<9;k++){7(((4-3)*9)-(1+k)= 0) && (((NR-NV)*NC)+l < amountOfLi)) listOfLi[((NR-NV)*NC)+l].setStyle('display','block'); + } + } + } + }); + // + el.getElements('.gk_news_show_panel_amount_plus').addEvent('click',function(){ + if(NV > 0){ + TRs[(NR-NV)].setStyle('display',''); + TRs[(NR-NV)].setProperty('class','gk_news_show_tablerow'); + NV--; + counter.set('html', NR-NV); + conf.set(TID, (NR-NV)); + // + if(list){ + for(var k=0;k35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('H.m("I",b(){$$(\'.F\').u(b(6,i){5 f=6.G(\'L\');5 q=M J.K(\'E\',{z:A,y:"/"});5 t=$(f);8(6.7(\'.D\')){5 9=t.7(\'C\');5 j=6.7(\'.B\');5 a=9[0].7(\'V\').o;5 4=9.o-2;5 3=0;9.u(b(6){(6.U("e")==\'n\')?3++:3=3});j.d(\'r\',4-3);5 c=6.7(\'.T\')||6.7(\'.X\')||W;8(c){5 g=c.7(\'P\');5 p=g.o}6.7(\'.O\').m(\'s\',b(){8(3<4){9[(4-3)-1].h(\'e\',\'n\');9[(4-3)-1].v(\'w\',\'N\');3++;j.d(\'r\',4-3);q.d(f,(4-3));8(c){x(5 l=0;l=0)&&(((4-3)*a)+l0){9[(4-3)].h(\'e\',\'\');9[(4-3)].v(\'w\',\'Q\');3--;j.d(\'r\',4-3);q.d(f,(4-3));8(c){x(5 k=0;k \ No newline at end of file diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/scripts/mootools_1_11.js b/oss/joomla/trunk/modules/mod_news_show_gk3/scripts/mootools_1_11.js new file mode 100644 index 00000000..7ef4ec24 --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/scripts/mootools_1_11.js @@ -0,0 +1,356 @@ +//MooTools, My Object Oriented Javascript Tools. Copyright (c) 2006-2007 Valerio Proietti, , MIT Style License. + +var MooTools={version:"1.11"};function $defined(A){return(A!=undefined);}function $type(B){if(!$defined(B)){return false;}if(B.htmlElement){return"element"; +}var A=typeof B;if(A=="object"&&B.nodeName){switch(B.nodeType){case 1:return"element";case 3:return(/\S/).test(B.nodeValue)?"textnode":"whitespace";}}if(A=="object"||A=="function"){switch(B.constructor){case Array:return"array"; +case RegExp:return"regexp";case Class:return"class";}if(typeof B.length=="number"){if(B.item){return"collection";}if(B.callee){return"arguments";}}}return A; +}function $merge(){var C={};for(var B=0;B-1:this.indexOf(A)>-1;},escapeRegExp:function(){return this.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1"); +}});Array.extend({rgbToHex:function(D){if(this.length<3){return false;}if(this.length==4&&this[3]==0&&!D){return"transparent";}var B=[];for(var A=0;A<3; +A++){var C=(this[A]-0).toString(16);B.push((C.length==1)?"0"+C:C);}return D?B:"#"+B.join("");},hexToRgb:function(C){if(this.length!=3){return false;}var A=[]; +for(var B=0;B<3;B++){A.push(parseInt((this[B].length==1)?this[B]+this[B]:this[B],16));}return C?A:"rgb("+A.join(",")+")";}});Function.extend({create:function(A){var B=this; +A=$merge({"bind":B,"event":false,"arguments":null,"delay":false,"periodical":false,"attempt":false},A);if($chk(A.arguments)&&$type(A.arguments)!="array"){A.arguments=[A.arguments]; +}return function(E){var C;if(A.event){E=E||window.event;C=[(A.event===true)?E:new A.event(E)];if(A.arguments){C.extend(A.arguments);}}else{C=A.arguments||arguments; +}var F=function(){return B.apply($pick(A.bind,B),C);};if(A.delay){return setTimeout(F,A.delay);}if(A.periodical){return setInterval(F,A.periodical);}if(A.attempt){try{return F(); +}catch(D){return false;}}return F();};},pass:function(A,B){return this.create({"arguments":A,"bind":B});},attempt:function(A,B){return this.create({"arguments":A,"bind":B,"attempt":true})(); +},bind:function(B,A){return this.create({"bind":B,"arguments":A});},bindAsEventListener:function(B,A){return this.create({"bind":B,"event":true,"arguments":A}); +},delay:function(B,C,A){return this.create({"delay":B,"bind":C,"arguments":A})();},periodical:function(A,C,B){return this.create({"periodical":A,"bind":C,"arguments":B})(); +}});Number.extend({toInt:function(){return parseInt(this);},toFloat:function(){return parseFloat(this);},limit:function(B,A){return Math.min(A,Math.max(B,this)); +},round:function(A){A=Math.pow(10,A||0);return Math.round(this*A)/A;},times:function(B){for(var A=0;A";}D=document.createElement(D);}D=$(D);return(!C||!D)?D:D.set(C);}});var Elements=new Class({initialize:function(A){return(A)?$extend(A,this):this; +}});Elements.extend=function(A){for(var B in A){this.prototype[B]=A[B];this[B]=$native.generic(B);}};function $(B){if(!B){return null;}if(B.htmlElement){return Garbage.collect(B); +}if([window,document].contains(B)){return B;}var A=$type(B);if(A=="string"){B=document.getElementById(B);A=(B)?"element":false;}if(A!="element"){return null; +}if(B.htmlElement){return Garbage.collect(B);}if(["object","embed"].contains(B.tagName.toLowerCase())){return B;}$extend(B,Element.prototype);B.htmlElement=function(){}; +return Garbage.collect(B);}document.getElementsBySelector=document.getElementsByTagName;function $$(){var D=[];for(var C=0,B=arguments.length;C0&&A<13){this.key="f"+A;}}this.key=this.key||String.fromCharCode(this.code).toLowerCase();}else{if(this.type.test(/(click|mouse|menu)/)){this.page={"x":C.pageX||C.clientX+document.documentElement.scrollLeft,"y":C.pageY||C.clientY+document.documentElement.scrollTop}; +this.client={"x":C.pageX?C.pageX-window.pageXOffset:C.clientX,"y":C.pageY?C.pageY-window.pageYOffset:C.clientY};this.rightClick=(C.which==3)||(C.button==2); +switch(this.type){case"mouseover":this.relatedTarget=C.relatedTarget||C.fromElement;break;case"mouseout":this.relatedTarget=C.relatedTarget||C.toElement; +}this.fixRelatedTarget();}}}return this;},stop:function(){return this.stopPropagation().preventDefault();},stopPropagation:function(){if(this.event.stopPropagation){this.event.stopPropagation(); +}else{this.event.cancelBubble=true;}return this;},preventDefault:function(){if(this.event.preventDefault){this.event.preventDefault();}else{this.event.returnValue=false; +}return this;}});Event.fix={relatedTarget:function(){if(this.relatedTarget&&this.relatedTarget.nodeType==3){this.relatedTarget=this.relatedTarget.parentNode; +}},relatedTargetGecko:function(){try{Event.fix.relatedTarget.call(this);}catch(A){this.relatedTarget=this.target;}}};Event.prototype.fixRelatedTarget=(window.gecko)?Event.fix.relatedTargetGecko:Event.fix.relatedTarget; +Event.keys=new Abstract({"enter":13,"up":38,"down":40,"left":37,"right":39,"esc":27,"space":32,"backspace":8,"tab":9,"delete":46});Element.Methods.Events={addEvent:function(C,B){this.$events=this.$events||{}; +this.$events[C]=this.$events[C]||{"keys":[],"values":[]};if(this.$events[C].keys.contains(B)){return this;}this.$events[C].keys.push(B);var A=C;var D=Element.Events[C]; +if(D){if(D.add){D.add.call(this,B);}if(D.map){B=D.map;}if(D.type){A=D.type;}}if(!this.addEventListener){B=B.create({"bind":this,"event":true});}this.$events[C].values.push(B); +return(Element.NativeEvents.contains(A))?this.addListener(A,B):this;},removeEvent:function(C,B){if(!this.$events||!this.$events[C]){return this;}var F=this.$events[C].keys.indexOf(B); +if(F==-1){return this;}var A=this.$events[C].keys.splice(F,1)[0];var E=this.$events[C].values.splice(F,1)[0];var D=Element.Events[C];if(D){if(D.remove){D.remove.call(this,B); +}if(D.type){C=D.type;}}return(Element.NativeEvents.contains(C))?this.removeListener(C,E):this;},addEvents:function(A){return Element.setMany(this,"addEvent",A); +},removeEvents:function(A){if(!this.$events){return this;}if(!A){for(var B in this.$events){this.removeEvents(B);}this.$events=null;}else{if(this.$events[A]){this.$events[A].keys.each(function(C){this.removeEvent(A,C); +},this);this.$events[A]=null;}}return this;},fireEvent:function(C,B,A){if(this.$events&&this.$events[C]){this.$events[C].keys.each(function(D){D.create({"bind":this,"delay":A,"arguments":B})(); +},this);}return this;},cloneEvents:function(C,A){if(!C.$events){return this;}if(!A){for(var B in C.$events){this.cloneEvents(C,B);}}else{if(C.$events[A]){C.$events[A].keys.each(function(D){this.addEvent(A,D); +},this);}}return this;}};window.extend(Element.Methods.Events);document.extend(Element.Methods.Events);Element.extend(Element.Methods.Events);Element.Events=new Abstract({"mouseenter":{type:"mouseover",map:function(A){A=new Event(A); +if(A.relatedTarget!=this&&!this.hasChild(A.relatedTarget)){this.fireEvent("mouseenter",A);}}},"mouseleave":{type:"mouseout",map:function(A){A=new Event(A); +if(A.relatedTarget!=this&&!this.hasChild(A.relatedTarget)){this.fireEvent("mouseleave",A);}}},"mousewheel":{type:(window.gecko)?"DOMMouseScroll":"mousewheel"}}); +Element.NativeEvents=["click","dblclick","mouseup","mousedown","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","keydown","keypress","keyup","load","unload","beforeunload","resize","move","focus","blur","change","submit","reset","select","error","abort","contextmenu","scroll"]; +Function.extend({bindWithEvent:function(B,A){return this.create({"bind":B,"arguments":A,"event":Event});}});Elements.extend({filterByTag:function(A){return new Elements(this.filter(function(B){return(Element.getTag(B)==A); +}));},filterByClass:function(A,C){var B=this.filter(function(D){return(D.className&&D.className.contains(A," "));});return(C)?B:new Elements(B);},filterById:function(C,B){var A=this.filter(function(D){return(D.id==C); +});return(B)?A:new Elements(A);},filterByAttribute:function(B,A,D,E){var C=this.filter(function(F){var G=Element.getProperty(F,B);if(!G){return false;}if(!A){return true; +}switch(A){case"=":return(G==D);case"*=":return(G.contains(D));case"^=":return(G.substr(0,D.length)==D);case"$=":return(G.substr(G.length-D.length)==D); +case"!=":return(G!=D);case"~=":return G.contains(D," ");}return false;});return(E)?C:new Elements(C);}});function $E(A,B){return($(B)||document).getElement(A); +}function $ES(A,B){return($(B)||document).getElementsBySelector(A);}$$.shared={"regexp":/^(\w*|\*)(?:#([\w-]+)|\.([\w-]+))?(?:\[(\w+)(?:([!*^$]?=)["']?([^"'\]]*)["']?)?])?$/,"xpath":{getParam:function(B,D,E,C){var A=[D.namespaceURI?"xhtml:":"",E[1]]; +if(E[2]){A.push('[@id="',E[2],'"]');}if(E[3]){A.push('[contains(concat(" ", @class, " "), " ',E[3],' ")]');}if(E[4]){if(E[5]&&E[6]){switch(E[5]){case"*=":A.push("[contains(@",E[4],', "',E[6],'")]'); +break;case"^=":A.push("[starts-with(@",E[4],', "',E[6],'")]');break;case"$=":A.push("[substring(@",E[4],", string-length(@",E[4],") - ",E[6].length,' + 1) = "',E[6],'"]'); +break;case"=":A.push("[@",E[4],'="',E[6],'"]');break;case"!=":A.push("[@",E[4],'!="',E[6],'"]');}}else{A.push("[@",E[4],"]");}}B.push(A.join(""));return B; +},getItems:function(B,E,G){var F=[];var A=document.evaluate(".//"+B.join("//"),E,$$.shared.resolver,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(var D=0,C=A.snapshotLength; +D<\/script>'); +$("ie_ready").onreadystatechange=function(){if(this.readyState=="complete"){A();}};}}else{window.addListener("load",A);document.addListener("DOMContentLoaded",A); +}}}};window.onDomReady=function(A){return this.addEvent("domready",A);};window.extend({getWidth:function(){if(this.webkit419){return this.innerWidth;}if(this.opera){return document.body.clientWidth; +}return document.documentElement.clientWidth;},getHeight:function(){if(this.webkit419){return this.innerHeight;}if(this.opera){return document.body.clientHeight; +}return document.documentElement.clientHeight;},getScrollWidth:function(){if(this.ie){return Math.max(document.documentElement.offsetWidth,document.documentElement.scrollWidth); +}if(this.webkit){return document.body.scrollWidth;}return document.documentElement.scrollWidth;},getScrollHeight:function(){if(this.ie){return Math.max(document.documentElement.offsetHeight,document.documentElement.scrollHeight); +}if(this.webkit){return document.body.scrollHeight;}return document.documentElement.scrollHeight;},getScrollLeft:function(){return this.pageXOffset||document.documentElement.scrollLeft; +},getScrollTop:function(){return this.pageYOffset||document.documentElement.scrollTop;},getSize:function(){return{"size":{"x":this.getWidth(),"y":this.getHeight()},"scrollSize":{"x":this.getScrollWidth(),"y":this.getScrollHeight()},"scroll":{"x":this.getScrollLeft(),"y":this.getScrollTop()}}; +},getPosition:function(){return{"x":0,"y":0};}});var Fx={};Fx.Base=new Class({options:{onStart:Class.empty,onComplete:Class.empty,onCancel:Class.empty,transition:function(A){return -(Math.cos(Math.PI*A)-1)/2; +},duration:500,unit:"px",wait:true,fps:50},initialize:function(A){this.element=this.element||null;this.setOptions(A);if(this.options.initialize){this.options.initialize.call(this); +}},step:function(){var A=$time();if(A=(7-4*B)/11){C=-Math.pow((11-6*B-11*D)/4,2)+A*A;break;}}return C;},Elastic:function(B,A){return Math.pow(2,10*--B)*Math.cos(20*B*Math.PI*(A[0]||1)/3); +}});["Quad","Cubic","Quart","Quint"].each(function(B,A){Fx.Transitions[B]=new Fx.Transition(function(C){return Math.pow(C,[A+2]);});Fx.Transitions.compat(B); +});var Drag={};Drag.Base=new Class({options:{handle:false,unit:"px",onStart:Class.empty,onBeforeStart:Class.empty,onComplete:Class.empty,onSnap:Class.empty,onDrag:Class.empty,limit:false,modifiers:{x:"left",y:"top"},grid:false,snap:6},initialize:function(B,A){this.setOptions(A); +this.element=$(B);this.handle=$(this.options.handle)||this.element;this.mouse={"now":{},"pos":{}};this.value={"start":{},"now":{}};this.bound={"start":this.start.bindWithEvent(this),"check":this.check.bindWithEvent(this),"drag":this.drag.bindWithEvent(this),"stop":this.stop.bind(this)}; +this.attach();if(this.options.initialize){this.options.initialize.call(this);}},attach:function(){this.handle.addEvent("mousedown",this.bound.start);return this; +},detach:function(){this.handle.removeEvent("mousedown",this.bound.start);return this;},start:function(C){this.fireEvent("onBeforeStart",this.element); +this.mouse.start=C.page;var A=this.options.limit;this.limit={"x":[],"y":[]};for(var D in this.options.modifiers){if(!this.options.modifiers[D]){continue; +}this.value.now[D]=this.element.getStyle(this.options.modifiers[D]).toInt();this.mouse.pos[D]=C.page[D]-this.value.now[D];if(A&&A[D]){for(var B=0;B<2;B++){if($chk(A[D][B])){this.limit[D][B]=($type(A[D][B])=="function")?A[D][B]():A[D][B]; +}}}}if($type(this.options.grid)=="number"){this.options.grid={"x":this.options.grid,"y":this.options.grid};}document.addListener("mousemove",this.bound.check); +document.addListener("mouseup",this.bound.stop);this.fireEvent("onStart",this.element);C.stop();},check:function(A){var B=Math.round(Math.sqrt(Math.pow(A.page.x-this.mouse.start.x,2)+Math.pow(A.page.y-this.mouse.start.y,2))); +if(B>this.options.snap){document.removeListener("mousemove",this.bound.check);document.addListener("mousemove",this.bound.drag);this.drag(A);this.fireEvent("onSnap",this.element); +}A.stop();},drag:function(A){this.out=false;this.mouse.now=A.page;for(var B in this.options.modifiers){if(!this.options.modifiers[B]){continue;}this.value.now[B]=this.mouse.now[B]-this.mouse.pos[B]; +if(this.limit[B]){if($chk(this.limit[B][1])&&(this.value.now[B]>this.limit[B][1])){this.value.now[B]=this.limit[B][1];this.out=true;}else{if($chk(this.limit[B][0])&&(this.value.now[B]B.left&&A.xB.top);},stop:function(){if(this.overed&&!this.out){this.overed.fireEvent("drop",[this.element,this]); +}else{this.element.fireEvent("emptydrop",this);}this.parent();return this;}});Element.extend({makeDraggable:function(A){return new Drag.Move(this,A);}}); +var XHR=new Class({options:{method:"post",async:true,onRequest:Class.empty,onSuccess:Class.empty,onFailure:Class.empty,urlEncoded:true,encoding:"utf-8",autoCancel:false,headers:{}},setTransport:function(){this.transport=(window.XMLHttpRequest)?new XMLHttpRequest():(window.ie?new ActiveXObject("Microsoft.XMLHTTP"):false); +return this;},initialize:function(A){this.setTransport().setOptions(A);this.options.isSuccess=this.options.isSuccess||this.isSuccess;this.headers={};if(this.options.urlEncoded&&this.options.method=="post"){var B=(this.options.encoding)?"; charset="+this.options.encoding:""; +this.setHeader("Content-type","application/x-www-form-urlencoded"+B);}if(this.options.initialize){this.options.initialize.call(this);}},onStateChange:function(){if(this.transport.readyState!=4||!this.running){return ; +}this.running=false;var A=0;try{A=this.transport.status;}catch(B){}if(this.options.isSuccess.call(this,A)){this.onSuccess();}else{this.onFailure();}this.transport.onreadystatechange=Class.empty; +},isSuccess:function(A){return((A>=200)&&(A<300));},onSuccess:function(){this.response={"text":this.transport.responseText,"xml":this.transport.responseXML}; +this.fireEvent("onSuccess",[this.response.text,this.response.xml]);this.callChain();},onFailure:function(){this.fireEvent("onFailure",this.transport);},setHeader:function(A,B){this.headers[A]=B; +return this;},send:function(A,C){if(this.options.autoCancel){this.cancel();}else{if(this.running){return this;}}this.running=true;if(C&&this.options.method=="get"){A=A+(A.contains("?")?"&":"?")+C; +C=null;}this.transport.open(this.options.method.toUpperCase(),A,this.options.async);this.transport.onreadystatechange=this.onStateChange.bind(this);if((this.options.method=="post")&&this.transport.overrideMimeType){this.setHeader("Connection","close"); +}$extend(this.headers,this.options.headers);for(var B in this.headers){try{this.transport.setRequestHeader(B,this.headers[B]);}catch(D){}}this.fireEvent("onRequest"); +this.transport.send($pick(C,null));return this;},cancel:function(){if(!this.running){return this;}this.running=false;this.transport.abort();this.transport.onreadystatechange=Class.empty; +this.setTransport();this.fireEvent("onCancel");return this;}});XHR.implement(new Chain,new Events,new Options);var Ajax=XHR.extend({options:{data:null,update:null,onComplete:Class.empty,evalScripts:false,evalResponse:false},initialize:function(B,A){this.addEvent("onSuccess",this.onComplete); +this.setOptions(A);this.options.data=this.options.data||this.options.postBody;if(!["post","get"].contains(this.options.method)){this._method="_method="+this.options.method; +this.options.method="post";}this.parent();this.setHeader("X-Requested-With","XMLHttpRequest");this.setHeader("Accept","text/javascript, text/html, application/xml, text/xml, */*"); +this.url=B;},onComplete:function(){if(this.options.update){$(this.options.update).empty().setHTML(this.response.text);}if(this.options.evalScripts||this.options.evalResponse){this.evalScripts(); +}this.fireEvent("onComplete",[this.response.text,this.response.xml],20);},request:function(A){A=A||this.options.data;switch($type(A)){case"element":A=$(A).toQueryString(); +break;case"object":A=Object.toQueryString(A);}if(this._method){A=(A)?[this._method,A].join("&"):this._method;}return this.send(this.url,A);},evalScripts:function(){var B,A; +if(this.options.evalResponse||(/(ecma|java)script/).test(this.getHeader("Content-type"))){A=this.response.text;}else{A=[];var C=/]*>([\s\S]*?)<\/script>/gi; +while((B=C.exec(this.response.text))){A.push(B[1]);}A=A.join("\n");}if(A){(window.execScript)?window.execScript(A):window.setTimeout(A,0);}},getHeader:function(A){try{return this.transport.getResponseHeader(A); +}catch(B){}return null;}});Object.toQueryString=function(B){var C=[];for(var A in B){C.push(encodeURIComponent(A)+"="+encodeURIComponent(B[A]));}return C.join("&"); +};Element.extend({send:function(A){return new Ajax(this.getProperty("action"),$merge({data:this.toQueryString()},A,{method:"post"})).request();}});var Cookie=new Abstract({options:{domain:false,path:false,duration:false,secure:false},set:function(C,D,B){B=$merge(this.options,B); +D=encodeURIComponent(D);if(B.domain){D+="; domain="+B.domain;}if(B.path){D+="; path="+B.path;}if(B.duration){var A=new Date();A.setTime(A.getTime()+B.duration*24*60*60*1000); +D+="; expires="+A.toGMTString();}if(B.secure){D+="; secure";}document.cookie=C+"="+D;return $extend(B,{"key":C,"value":D});},get:function(A){var B=document.cookie.match("(?:^|;)\\s*"+A.escapeRegExp()+"=([^;]*)"); +return B?decodeURIComponent(B[1]):false;},remove:function(B,A){if($type(B)=="object"){this.set(B.key,"",$merge(B,{duration:-1}));}else{this.set(B,"",$merge(A,{duration:-1})); +}}});var Json={toString:function(C){switch($type(C)){case"string":return'"'+C.replace(/(["\\])/g,"\\$1")+'"';case"array":return"["+C.map(Json.toString).join(",")+"]"; +case"object":var A=[];for(var B in C){A.push(Json.toString(B)+":"+Json.toString(C[B]));}return"{"+A.join(",")+"}";case"number":if(isFinite(C)){break;}case false:return"null"; +}return String(C);},evaluate:function(str,secure){return(($type(str)!="string")||(secure&&!str.test(/^("(\\.|[^"\\\n\r])*?"|[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/)))?null:eval("("+str+")"); +}};Json.Remote=XHR.extend({initialize:function(B,A){this.url=B;this.addEvent("onSuccess",this.onComplete);this.parent(A);this.setHeader("X-Request","JSON"); +},send:function(A){return this.parent(this.url,"json="+Json.toString(A));},onComplete:function(){this.fireEvent("onComplete",[Json.evaluate(this.response.text,this.options.secure)]); +}});var Asset=new Abstract({javascript:function(C,B){B=$merge({"onload":Class.empty},B);var A=new Element("script",{"src":C}).addEvents({"load":B.onload,"readystatechange":function(){if(this.readyState=="complete"){this.fireEvent("load"); +}}});delete B.onload;return A.setProperties(B).inject(document.head);},css:function(B,A){return new Element("link",$merge({"rel":"stylesheet","media":"screen","type":"text/css","href":B},A)).inject(document.head); +},image:function(C,B){B=$merge({"onload":Class.empty,"onabort":Class.empty,"onerror":Class.empty},B);var D=new Image();D.src=C;var A=new Element("img",{"src":C}); +["load","abort","error"].each(function(E){var F=B["on"+E];delete B["on"+E];A.addEvent(E,function(){this.removeEvent(E,arguments.callee);F.call(this);}); +});if(D.width&&D.height){A.fireEvent("load",A,1);}return A.setProperties(B);},images:function(D,C){C=$merge({onComplete:Class.empty,onProgress:Class.empty},C); +if(!D.push){D=[D];}var A=[];var B=0;D.each(function(F){var E=new Asset.image(F,{"onload":function(){C.onProgress.call(this,B);B++;if(B==D.length){C.onComplete(); +}}});A.push(E);});return new Elements(A);}});var Hash=new Class({length:0,initialize:function(A){this.obj=A||{};this.setLength();},get:function(A){return(this.hasKey(A))?this.obj[A]:null; +},hasKey:function(A){return(A in this.obj);},set:function(A,B){if(!this.hasKey(A)){this.length++;}this.obj[A]=B;return this;},setLength:function(){this.length=0; +for(var A in this.obj){this.length++;}return this;},remove:function(A){if(this.hasKey(A)){delete this.obj[A];this.length--;}return this;},each:function(A,B){$each(this.obj,A,B); +},extend:function(A){$extend(this.obj,A);return this.setLength();},merge:function(){this.obj=$merge.apply(null,[this.obj].extend(arguments));return this.setLength(); +},empty:function(){this.obj={};this.length=0;return this;},keys:function(){var A=[];for(var B in this.obj){A.push(B);}return A;},values:function(){var A=[]; +for(var B in this.obj){A.push(this.obj[B]);}return A;}});function $H(A){return new Hash(A);}Hash.Cookie=Hash.extend({initialize:function(B,A){this.name=B; +this.options=$extend({"autoSave":true},A||{});this.load();},save:function(){if(this.length==0){Cookie.remove(this.name,this.options);return true;}var A=Json.toString(this.obj); +if(A.length>4096){return false;}Cookie.set(this.name,A,this.options);return true;},load:function(){this.obj=Json.evaluate(Cookie.get(this.name),true)||{}; +this.setLength();}});Hash.Cookie.Methods={};["extend","set","merge","empty","remove"].each(function(A){Hash.Cookie.Methods[A]=function(){Hash.prototype[A].apply(this,arguments); +if(this.options.autoSave){this.save();}return this;};});Hash.Cookie.implement(Hash.Cookie.Methods);var Color=new Class({initialize:function(B,D){D=D||(B.push?"rgb":"hex"); +var C,A;switch(D){case"rgb":C=B;A=C.rgbToHsb();break;case"hsb":C=B.hsbToRgb();A=B;break;default:C=B.hexToRgb(true);A=C.rgbToHsb();}C.hsb=A;C.hex=C.rgbToHex(); +return $extend(C,Color.prototype);},mix:function(){var A=$A(arguments);var C=($type(A[A.length-1])=="number")?A.pop():50;var B=this.copy();A.each(function(D){D=new Color(D); +for(var E=0;E<3;E++){B[E]=Math.round((B[E]/100*(100-C))+(D[E]/100*C));}});return new Color(B,"rgb");},invert:function(){return new Color(this.map(function(A){return 255-A; +}));},setHue:function(A){return new Color([A,this.hsb[1],this.hsb[2]],"hsb");},setSaturation:function(A){return new Color([this.hsb[0],A,this.hsb[2]],"hsb"); +},setBrightness:function(A){return new Color([this.hsb[0],this.hsb[1],A],"hsb");}});function $RGB(C,B,A){return new Color([C,B,A],"rgb");}function $HSB(C,B,A){return new Color([C,B,A],"hsb"); +}Array.extend({rgbToHsb:function(){var B=this[0],C=this[1],J=this[2];var G,F,H;var I=Math.max(B,C,J),E=Math.min(B,C,J);var K=I-E;H=I/255;F=(I!=0)?K/I:0; +if(F==0){G=0;}else{var D=(I-B)/K;var A=(I-C)/K;var L=(I-J)/K;if(B==I){G=L-A;}else{if(C==I){G=2+D-L;}else{G=4+A-D;}}G/=6;if(G<0){G++;}}return[Math.round(G*360),Math.round(F*100),Math.round(H*100)]; +},hsbToRgb:function(){var C=Math.round(this[2]/100*255);if(this[1]==0){return[C,C,C];}else{var A=this[0]%360;var E=A%60;var F=Math.round((this[2]*(100-this[1]))/10000*255); +var D=Math.round((this[2]*(6000-this[1]*E))/600000*255);var B=Math.round((this[2]*(6000-this[1]*(60-E)))/600000*255);switch(Math.floor(A/60)){case 0:return[C,B,F]; +case 1:return[D,C,F];case 2:return[F,C,B];case 3:return[F,D,C];case 4:return[B,F,C];case 5:return[C,F,D];}}return false;}});var Scroller=new Class({options:{area:20,velocity:1,onChange:function(A,B){this.element.scrollTo(A,B); +}},initialize:function(B,A){this.setOptions(A);this.element=$(B);this.mousemover=([window,document].contains(B))?$(document.body):this.element;},start:function(){this.coord=this.getCoords.bindWithEvent(this); +this.mousemover.addListener("mousemove",this.coord);},stop:function(){this.mousemover.removeListener("mousemove",this.coord);this.timer=$clear(this.timer); +},getCoords:function(A){this.page=(this.element==window)?A.client:A.page;if(!this.timer){this.timer=this.scroll.periodical(50,this);}},scroll:function(){var A=this.element.getSize(); +var D=this.element.getPosition();var C={"x":0,"y":0};for(var B in this.page){if(this.page[B]<(this.options.area+D[B])&&A.scroll[B]!=0){C[B]=(this.page[B]-this.options.area-D[B])*this.options.velocity; +}else{if(this.page[B]+this.options.area>(A.size[B]+D[B])&&A.scroll[B]+A.size[B]!=A.scrollSize[B]){C[B]=(this.page[B]-A.size[B]+this.options.area-D[B])*this.options.velocity; +}}}if(C.y||C.x){this.fireEvent("onChange",[A.scroll.x+C.x,A.scroll.y+C.y]);}}});Scroller.implement(new Events,new Options);var Slider=new Class({options:{onChange:Class.empty,onComplete:Class.empty,onTick:function(A){this.knob.setStyle(this.p,A); +},mode:"horizontal",steps:100,offset:0},initialize:function(D,A,B){this.element=$(D);this.knob=$(A);this.setOptions(B);this.previousChange=-1;this.previousEnd=-1; +this.step=-1;this.element.addEvent("mousedown",this.clickedElement.bindWithEvent(this));var C,F;switch(this.options.mode){case"horizontal":this.z="x";this.p="left"; +C={"x":"left","y":false};F="offsetWidth";break;case"vertical":this.z="y";this.p="top";C={"x":false,"y":"top"};F="offsetHeight";}this.max=this.element[F]-this.knob[F]+(this.options.offset*2); +this.half=this.knob[F]/2;this.getPos=this.element["get"+this.p.capitalize()].bind(this.element);this.knob.setStyle("position","relative").setStyle(this.p,-this.options.offset); +var E={};E[this.z]=[-this.options.offset,this.max-this.options.offset];this.drag=new Drag.Base(this.knob,{limit:E,modifiers:C,snap:0,onStart:function(){this.draggedKnob(); +}.bind(this),onDrag:function(){this.draggedKnob();}.bind(this),onComplete:function(){this.draggedKnob();this.end();}.bind(this)});if(this.options.initialize){this.options.initialize.call(this); +}},set:function(A){this.step=A.limit(0,this.options.steps);this.checkStep();this.end();this.fireEvent("onTick",this.toPosition(this.step));return this; +},clickedElement:function(B){var A=B.page[this.z]-this.getPos()-this.half;A=A.limit(-this.options.offset,this.max-this.options.offset);this.step=this.toStep(A); +this.checkStep();this.end();this.fireEvent("onTick",A);},draggedKnob:function(){this.step=this.toStep(this.drag.value.now[this.z]);this.checkStep();},checkStep:function(){if(this.previousChange!=this.step){this.previousChange=this.step; +this.fireEvent("onChange",this.step);}},end:function(){if(this.previousEnd!==this.step){this.previousEnd=this.step;this.fireEvent("onComplete",this.step+""); +}},toStep:function(A){return Math.round((A+this.options.offset)/this.max*this.options.steps);},toPosition:function(A){return this.max*A/this.options.steps; +}});Slider.implement(new Events);Slider.implement(new Options);var SmoothScroll=Fx.Scroll.extend({initialize:function(B){this.parent(window,B);this.links=(this.options.links)?$$(this.options.links):$$(document.links); +var A=window.location.href.match(/^[^#]*/)[0]+"#";this.links.each(function(D){if(D.href.indexOf(A)!=0){return ;}var C=D.href.substr(A.length);if(C&&$(C)){this.useLink(D,C); +}},this);if(!window.webkit419){this.addEvent("onComplete",function(){window.location.hash=this.anchor;});}},useLink:function(B,A){B.addEvent("click",function(C){this.anchor=A; +this.toElement(A);C.stop();}.bindWithEvent(this));}});var Sortables=new Class({options:{handles:false,onStart:Class.empty,onComplete:Class.empty,ghost:true,snap:3,onDragStart:function(A,B){B.setStyle("opacity",0.7); +A.setStyle("opacity",0.7);},onDragComplete:function(A,B){A.setStyle("opacity",1);B.remove();this.trash.remove();}},initialize:function(D,B){this.setOptions(B); +this.list=$(D);this.elements=this.list.getChildren();this.handles=(this.options.handles)?$$(this.options.handles):this.elements;this.bound={"start":[],"moveGhost":this.moveGhost.bindWithEvent(this)}; +for(var C=0,A=this.handles.length;C0);var D=this.active.getPrevious();var C=this.active.getNext(); +if(D&&A&&BC.getCoordinates().top){this.active.injectAfter(C);}this.previous=B;},serialize:function(A){return this.list.getChildren().map(A||function(B){return this.elements.indexOf(B); +},this);},end:function(){this.previous=null;document.removeListener("mousemove",this.bound.move);document.removeListener("mouseup",this.bound.end);if(this.options.ghost){document.removeListener("mousemove",this.bound.moveGhost); +this.fireEvent("onDragComplete",[this.active,this.ghost]);}this.fireEvent("onComplete",this.active);}});Sortables.implement(new Events,new Options);var Tips=new Class({options:{onShow:function(A){A.setStyle("visibility","visible"); +},onHide:function(A){A.setStyle("visibility","hidden");},maxTitleChars:30,showDelay:100,hideDelay:100,className:"tool",offsets:{"x":16,"y":16},fixed:false},initialize:function(B,A){this.setOptions(A); +this.toolTip=new Element("div",{"class":this.options.className+"-tip","styles":{"position":"absolute","top":"0","left":"0","visibility":"hidden"}}).inject(document.body); +this.wrapper=new Element("div").inject(this.toolTip);$$(B).each(this.build,this);if(this.options.initialize){this.options.initialize.call(this);}},build:function(B){B.$tmp.myTitle=(B.href&&B.getTag()=="a")?B.href.replace("http://",""):(B.rel||false); +if(B.title){var C=B.title.split("::");if(C.length>1){B.$tmp.myTitle=C[0].trim();B.$tmp.myText=C[1].trim();}else{B.$tmp.myText=B.title;}B.removeAttribute("title"); +}else{B.$tmp.myText=false;}if(B.$tmp.myTitle&&B.$tmp.myTitle.length>this.options.maxTitleChars){B.$tmp.myTitle=B.$tmp.myTitle.substr(0,this.options.maxTitleChars-1)+"…"; +}B.addEvent("mouseenter",function(D){this.start(B);if(!this.options.fixed){this.locate(D);}else{this.position(B);}}.bind(this));if(!this.options.fixed){B.addEvent("mousemove",this.locate.bindWithEvent(this)); +}var A=this.end.bind(this);B.addEvent("mouseleave",A);B.addEvent("trash",A);},start:function(A){this.wrapper.empty();if(A.$tmp.myTitle){this.title=new Element("span").inject(new Element("div",{"class":this.options.className+"-title"}).inject(this.wrapper)).setHTML(A.$tmp.myTitle); +}if(A.$tmp.myText){this.text=new Element("span").inject(new Element("div",{"class":this.options.className+"-text"}).inject(this.wrapper)).setHTML(A.$tmp.myText); +}$clear(this.timer);this.timer=this.show.delay(this.options.showDelay,this);},end:function(A){$clear(this.timer);this.timer=this.hide.delay(this.options.hideDelay,this); +},position:function(A){var B=A.getPosition();this.toolTip.setStyles({"left":B.x+this.options.offsets.x,"top":B.y+this.options.offsets.y});},locate:function(B){var D={"x":window.getWidth(),"y":window.getHeight()}; +var A={"x":window.getScrollLeft(),"y":window.getScrollTop()};var C={"x":this.toolTip.offsetWidth,"y":this.toolTip.offsetHeight};var G={"x":"left","y":"top"}; +for(var E in G){var F=B.page[E]+this.options.offsets[E];if((F+C[E]-A[E])>D[E]){F=B.page[E]-this.options.offsets[E]-C[E];}this.toolTip.setStyle(G[E],F); +}},show:function(){if(this.options.timeout){this.timer=this.hide.delay(this.options.timeout,this);}this.fireEvent("onShow",[this.toolTip]);},hide:function(){this.fireEvent("onHide",[this.toolTip]); +}});Tips.implement(new Events,new Options);var Group=new Class({initialize:function(){this.instances=$A(arguments);this.events={};this.checker={};},addEvent:function(B,A){this.checker[B]=this.checker[B]||{}; +this.events[B]=this.events[B]||[];if(this.events[B].contains(A)){return false;}else{this.events[B].push(A);}this.instances.each(function(C,D){C.addEvent(B,this.check.bind(this,[B,C,D])); +},this);return this;},check:function(C,A,B){this.checker[C][B]=true;var D=this.instances.every(function(F,E){return this.checker[C][E]||false;},this);if(!D){return ; +}this.checker[C]={};this.events[C].each(function(E){E.call(this,this.instances,A);},this);}});var Accordion=Fx.Elements.extend({options:{onActive:Class.empty,onBackground:Class.empty,display:0,show:false,height:true,width:false,opacity:true,fixedHeight:false,fixedWidth:false,wait:false,alwaysHide:false},initialize:function(){var C,E,F,B; +$each(arguments,function(I,H){switch($type(I)){case"object":C=I;break;case"element":B=$(I);break;default:var G=$$(I);if(!E){E=G;}else{F=G;}}});this.togglers=E||[]; +this.elements=F||[];this.container=$(B);this.setOptions(C);this.previous=-1;if(this.options.alwaysHide){this.options.wait=true;}if($chk(this.options.show)){this.options.display=false; +this.previous=this.options.show;}if(this.options.start){this.options.display=false;this.options.show=false;}this.effects={};if(this.options.opacity){this.effects.opacity="fullOpacity"; +}if(this.options.width){this.effects.width=this.options.fixedWidth?"fullWidth":"offsetWidth";}if(this.options.height){this.effects.height=this.options.fixedHeight?"fullHeight":"scrollHeight"; +}for(var D=0,A=this.togglers.length;D0));this.fireEvent(C?"onBackground":"onActive",[this.togglers[D],E]); +for(var F in this.effects){B[D][F]=C?0:E[this.effects[F]];}},this);return this.start(B);},showThisHideOpen:function(A){return this.display(A);}});Fx.Accordion=Accordion; diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/scripts/mootools_1_2_1.js b/oss/joomla/trunk/modules/mod_news_show_gk3/scripts/mootools_1_2_1.js new file mode 100644 index 00000000..4b3cbb07 --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/scripts/mootools_1_2_1.js @@ -0,0 +1,504 @@ + +//MooTools, , My Object Oriented (JavaScript) Tools. Copyright (c) 2006-2008 Valerio Proietti, , MIT Style License. + +var MooTools={version:"1.2.1",build:"0d4845aab3d9a4fdee2f0d4a6dd59210e4b697cf"};var Native=function(K){K=K||{};var A=K.name;var I=K.legacy;var B=K.protect; +var C=K.implement;var H=K.generics;var F=K.initialize;var G=K.afterImplement||function(){};var D=F||I;H=H!==false;D.constructor=Native;D.$family={name:"native"}; +if(I&&F){D.prototype=I.prototype;}D.prototype.constructor=D;if(A){var E=A.toLowerCase();D.prototype.$family={name:E};Native.typize(D,E);}var J=function(N,L,O,M){if(!B||M||!N.prototype[L]){N.prototype[L]=O; +}if(H){Native.genericize(N,L,B);}G.call(N,L,O);return N;};D.alias=function(N,L,O){if(typeof N=="string"){if((N=this.prototype[N])){return J(this,L,N,O); +}}for(var M in N){this.alias(M,N[M],L);}return this;};D.implement=function(M,L,O){if(typeof M=="string"){return J(this,M,L,O);}for(var N in M){J(this,N,M[N],L); +}return this;};if(C){D.implement(C);}return D;};Native.genericize=function(B,C,A){if((!A||!B[C])&&typeof B.prototype[C]=="function"){B[C]=function(){var D=Array.prototype.slice.call(arguments); +return B.prototype[C].apply(D.shift(),D);};}};Native.implement=function(D,C){for(var B=0,A=D.length;B-1:this.indexOf(A)>-1;},trim:function(){return this.replace(/^\s+|\s+$/g,"");},clean:function(){return this.replace(/\s+/g," ").trim(); +},camelCase:function(){return this.replace(/-\D/g,function(A){return A.charAt(1).toUpperCase();});},hyphenate:function(){return this.replace(/[A-Z]/g,function(A){return("-"+A.charAt(0).toLowerCase()); +});},capitalize:function(){return this.replace(/\b[a-z]/g,function(A){return A.toUpperCase();});},escapeRegExp:function(){return this.replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1"); +},toInt:function(A){return parseInt(this,A||10);},toFloat:function(){return parseFloat(this);},hexToRgb:function(B){var A=this.match(/^#?(\w{1,2})(\w{1,2})(\w{1,2})$/); +return(A)?A.slice(1).hexToRgb(B):null;},rgbToHex:function(B){var A=this.match(/\d{1,3}/g);return(A)?A.rgbToHex(B):null;},stripScripts:function(B){var A=""; +var C=this.replace(/]*>([\s\S]*?)<\/script>/gi,function(){A+=arguments[1]+"\n";return"";});if(B===true){$exec(A);}else{if($type(B)=="function"){B(A,C); +}}return C;},substitute:function(A,B){return this.replace(B||(/\\?\{([^{}]+)\}/g),function(D,C){if(D.charAt(0)=="\\"){return D.slice(1);}return(A[C]!=undefined)?A[C]:""; +});}});Hash.implement({has:Object.prototype.hasOwnProperty,keyOf:function(B){for(var A in this){if(this.hasOwnProperty(A)&&this[A]===B){return A;}}return null; +},hasValue:function(A){return(Hash.keyOf(this,A)!==null);},extend:function(A){Hash.each(A,function(C,B){Hash.set(this,B,C);},this);return this;},combine:function(A){Hash.each(A,function(C,B){Hash.include(this,B,C); +},this);return this;},erase:function(A){if(this.hasOwnProperty(A)){delete this[A];}return this;},get:function(A){return(this.hasOwnProperty(A))?this[A]:null; +},set:function(A,B){if(!this[A]||this.hasOwnProperty(A)){this[A]=B;}return this;},empty:function(){Hash.each(this,function(B,A){delete this[A];},this); +return this;},include:function(B,C){var A=this[B];if(A==undefined){this[B]=C;}return this;},map:function(B,C){var A=new Hash;Hash.each(this,function(E,D){A.set(D,B.call(C,E,D,this)); +},this);return A;},filter:function(B,C){var A=new Hash;Hash.each(this,function(E,D){if(B.call(C,E,D,this)){A.set(D,E);}},this);return A;},every:function(B,C){for(var A in this){if(this.hasOwnProperty(A)&&!B.call(C,this[A],A)){return false; +}}return true;},some:function(B,C){for(var A in this){if(this.hasOwnProperty(A)&&B.call(C,this[A],A)){return true;}}return false;},getKeys:function(){var A=[]; +Hash.each(this,function(C,B){A.push(B);});return A;},getValues:function(){var A=[];Hash.each(this,function(B){A.push(B);});return A;},toQueryString:function(A){var B=[]; +Hash.each(this,function(F,E){if(A){E=A+"["+E+"]";}var D;switch($type(F)){case"object":D=Hash.toQueryString(F,E);break;case"array":var C={};F.each(function(H,G){C[G]=H; +});D=Hash.toQueryString(C,E);break;default:D=E+"="+encodeURIComponent(F);}if(F!=undefined){B.push(D);}});return B.join("&");}});Hash.alias({keyOf:"indexOf",hasValue:"contains"}); +var Event=new Native({name:"Event",initialize:function(A,F){F=F||window;var K=F.document;A=A||F.event;if(A.$extended){return A;}this.$extended=true;var J=A.type; +var G=A.target||A.srcElement;while(G&&G.nodeType==3){G=G.parentNode;}if(J.test(/key/)){var B=A.which||A.keyCode;var M=Event.Keys.keyOf(B);if(J=="keydown"){var D=B-111; +if(D>0&&D<13){M="f"+D;}}M=M||String.fromCharCode(B).toLowerCase();}else{if(J.match(/(click|mouse|menu)/i)){K=(!K.compatMode||K.compatMode=="CSS1Compat")?K.html:K.body; +var I={x:A.pageX||A.clientX+K.scrollLeft,y:A.pageY||A.clientY+K.scrollTop};var C={x:(A.pageX)?A.pageX-F.pageXOffset:A.clientX,y:(A.pageY)?A.pageY-F.pageYOffset:A.clientY}; +if(J.match(/DOMMouseScroll|mousewheel/)){var H=(A.wheelDelta)?A.wheelDelta/120:-(A.detail||0)/3;}var E=(A.which==3)||(A.button==2);var L=null;if(J.match(/over|out/)){switch(J){case"mouseover":L=A.relatedTarget||A.fromElement; +break;case"mouseout":L=A.relatedTarget||A.toElement;}if(!(function(){while(L&&L.nodeType==3){L=L.parentNode;}return true;}).create({attempt:Browser.Engine.gecko})()){L=false; +}}}}return $extend(this,{event:A,type:J,page:I,client:C,rightClick:E,wheel:H,relatedTarget:L,target:G,code:B,key:M,shift:A.shiftKey,control:A.ctrlKey,alt:A.altKey,meta:A.metaKey}); +}});Event.Keys=new Hash({enter:13,up:38,down:40,left:37,right:39,esc:27,space:32,backspace:8,tab:9,"delete":46});Event.implement({stop:function(){return this.stopPropagation().preventDefault(); +},stopPropagation:function(){if(this.event.stopPropagation){this.event.stopPropagation();}else{this.event.cancelBubble=true;}return this;},preventDefault:function(){if(this.event.preventDefault){this.event.preventDefault(); +}else{this.event.returnValue=false;}return this;}});var Class=new Native({name:"Class",initialize:function(B){B=B||{};var A=function(){for(var E in this){if($type(this[E])!="function"){this[E]=$unlink(this[E]); +}}this.constructor=A;if(Class.prototyping){return this;}var D=(this.initialize)?this.initialize.apply(this,arguments):this;if(this.options&&this.options.initialize){this.options.initialize.call(this); +}return D;};for(var C in Class.Mutators){if(!B[C]){continue;}B=Class.Mutators[C](B,B[C]);delete B[C];}$extend(A,this);A.constructor=Class;A.prototype=B; +return A;}});Class.Mutators={Extends:function(C,A){Class.prototyping=A.prototype;var B=new A;delete B.parent;B=Class.inherit(B,C);delete Class.prototyping; +return B;},Implements:function(A,B){$splat(B).each(function(C){Class.prototying=C;$extend(A,($type(C)=="class")?new C:C);delete Class.prototyping;});return A; +}};Class.extend({inherit:function(B,E){var A=arguments.callee.caller;for(var D in E){var C=E[D];var G=B[D];var F=$type(C);if(G&&F=="function"){if(C!=G){if(A){C.__parent=G; +B[D]=C;}else{Class.override(B,D,C);}}}else{if(F=="object"){B[D]=$merge(G,C);}else{B[D]=C;}}}if(A){B.parent=function(){return arguments.callee.caller.__parent.apply(this,arguments); +};}return B;},override:function(B,A,E){var D=Class.prototyping;if(D&&B[A]!=D[A]){D=null;}var C=function(){var F=this.parent;this.parent=D?D[A]:B[A];var G=E.apply(this,arguments); +this.parent=F;return G;};B[A]=C;}});Class.implement({implement:function(){var A=this.prototype;$each(arguments,function(B){Class.inherit(A,B);});return this; +}});var Chain=new Class({$chain:[],chain:function(){this.$chain.extend(Array.flatten(arguments));return this;},callChain:function(){return(this.$chain.length)?this.$chain.shift().apply(this,arguments):false; +},clearChain:function(){this.$chain.empty();return this;}});var Events=new Class({$events:{},addEvent:function(C,B,A){C=Events.removeOn(C);if(B!=$empty){this.$events[C]=this.$events[C]||[]; +this.$events[C].include(B);if(A){B.internal=true;}}return this;},addEvents:function(A){for(var B in A){this.addEvent(B,A[B]);}return this;},fireEvent:function(C,B,A){C=Events.removeOn(C); +if(!this.$events||!this.$events[C]){return this;}this.$events[C].each(function(D){D.create({bind:this,delay:A,"arguments":B})();},this);return this;},removeEvent:function(B,A){B=Events.removeOn(B); +if(!this.$events[B]){return this;}if(!A.internal){this.$events[B].erase(A);}return this;},removeEvents:function(C){if($type(C)=="object"){for(var D in C){this.removeEvent(D,C[D]); +}return this;}if(C){C=Events.removeOn(C);}for(var D in this.$events){if(C&&C!=D){continue;}var B=this.$events[D];for(var A=B.length;A--;A){this.removeEvent(D,B[A]); +}}return this;}});Events.removeOn=function(A){return A.replace(/^on([A-Z])/,function(B,C){return C.toLowerCase();});};var Options=new Class({setOptions:function(){this.options=$merge.run([this.options].extend(arguments)); +if(!this.addEvent){return this;}for(var A in this.options){if($type(this.options[A])!="function"||!(/^on[A-Z]/).test(A)){continue;}this.addEvent(A,this.options[A]); +delete this.options[A];}return this;}});var Element=new Native({name:"Element",legacy:window.Element,initialize:function(A,B){var C=Element.Constructors.get(A); +if(C){return C(B);}if(typeof A=="string"){return document.newElement(A,B);}return $(A).set(B);},afterImplement:function(A,B){Element.Prototype[A]=B;if(Array[A]){return ; +}Elements.implement(A,function(){var C=[],G=true;for(var E=0,D=this.length;E";}return $.element(this.createElement(A)).set(B);},newTextNode:function(A){return this.createTextNode(A); +},getDocument:function(){return this;},getWindow:function(){return this.window;}});Window.implement({$:function(B,C){if(B&&B.$family&&B.uid){return B;}var A=$type(B); +return($[A])?$[A](B,C,this.document):null;},$$:function(A){if(arguments.length==1&&typeof A=="string"){return this.document.getElements(A);}var F=[];var C=Array.flatten(arguments); +for(var D=0,B=C.length;D1);A.each(function(E){var F=this.getElementsByTagName(E.trim());(B)?C.extend(F):C=F;},this);return new Elements(C,{ddup:B,cash:!D}); +}});(function(){var H={},F={};var I={input:"checked",option:"selected",textarea:(Browser.Engine.webkit&&Browser.Engine.version<420)?"innerHTML":"value"}; +var C=function(L){return(F[L]||(F[L]={}));};var G=function(N,L){if(!N){return ;}var M=N.uid;if(Browser.Engine.trident){if(N.clearAttributes){var P=L&&N.cloneNode(false); +N.clearAttributes();if(P){N.mergeAttributes(P);}}else{if(N.removeEvents){N.removeEvents();}}if((/object/i).test(N.tagName)){for(var O in N){if(typeof N[O]=="function"){N[O]=$empty; +}}Element.dispose(N);}}if(!M){return ;}H[M]=F[M]=null;};var D=function(){Hash.each(H,G);if(Browser.Engine.trident){$A(document.getElementsByTagName("object")).each(G); +}if(window.CollectGarbage){CollectGarbage();}H=F=null;};var J=function(N,L,S,M,P,R){var O=N[S||L];var Q=[];while(O){if(O.nodeType==1&&(!M||Element.match(O,M))){if(!P){return $(O,R); +}Q.push(O);}O=O[L];}return(P)?new Elements(Q,{ddup:false,cash:!R}):null;};var E={html:"innerHTML","class":"className","for":"htmlFor",text:(Browser.Engine.trident||(Browser.Engine.webkit&&Browser.Engine.version<420))?"innerText":"textContent"}; +var B=["compact","nowrap","ismap","declare","noshade","checked","disabled","readonly","multiple","selected","noresize","defer"];var K=["value","accessKey","cellPadding","cellSpacing","colSpan","frameBorder","maxLength","readOnly","rowSpan","tabIndex","useMap"]; +Hash.extend(E,B.associate(B));Hash.extend(E,K.associate(K.map(String.toLowerCase)));var A={before:function(M,L){if(L.parentNode){L.parentNode.insertBefore(M,L); +}},after:function(M,L){if(!L.parentNode){return ;}var N=L.nextSibling;(N)?L.parentNode.insertBefore(M,N):L.parentNode.appendChild(M);},bottom:function(M,L){L.appendChild(M); +},top:function(M,L){var N=L.firstChild;(N)?L.insertBefore(M,N):L.appendChild(M);}};A.inside=A.bottom;Hash.each(A,function(L,M){M=M.capitalize();Element.implement("inject"+M,function(N){L(this,$(N,true)); +return this;});Element.implement("grab"+M,function(N){L($(N,true),this);return this;});});Element.implement({set:function(O,M){switch($type(O)){case"object":for(var N in O){this.set(N,O[N]); +}break;case"string":var L=Element.Properties.get(O);(L&&L.set)?L.set.apply(this,Array.slice(arguments,1)):this.setProperty(O,M);}return this;},get:function(M){var L=Element.Properties.get(M); +return(L&&L.get)?L.get.apply(this,Array.slice(arguments,1)):this.getProperty(M);},erase:function(M){var L=Element.Properties.get(M);(L&&L.erase)?L.erase.apply(this):this.removeProperty(M); +return this;},setProperty:function(M,N){var L=E[M];if(N==undefined){return this.removeProperty(M);}if(L&&B[M]){N=!!N;}(L)?this[L]=N:this.setAttribute(M,""+N); +return this;},setProperties:function(L){for(var M in L){this.setProperty(M,L[M]);}return this;},getProperty:function(M){var L=E[M];var N=(L)?this[L]:this.getAttribute(M,2); +return(B[M])?!!N:(L)?N:N||null;},getProperties:function(){var L=$A(arguments);return L.map(this.getProperty,this).associate(L);},removeProperty:function(M){var L=E[M]; +(L)?this[L]=(L&&B[M])?false:"":this.removeAttribute(M);return this;},removeProperties:function(){Array.each(arguments,this.removeProperty,this);return this; +},hasClass:function(L){return this.className.contains(L," ");},addClass:function(L){if(!this.hasClass(L)){this.className=(this.className+" "+L).clean(); +}return this;},removeClass:function(L){this.className=this.className.replace(new RegExp("(^|\\s)"+L+"(?:\\s|$)"),"$1");return this;},toggleClass:function(L){return this.hasClass(L)?this.removeClass(L):this.addClass(L); +},adopt:function(){Array.flatten(arguments).each(function(L){L=$(L,true);if(L){this.appendChild(L);}},this);return this;},appendText:function(M,L){return this.grab(this.getDocument().newTextNode(M),L); +},grab:function(M,L){A[L||"bottom"]($(M,true),this);return this;},inject:function(M,L){A[L||"bottom"](this,$(M,true));return this;},replaces:function(L){L=$(L,true); +L.parentNode.replaceChild(this,L);return this;},wraps:function(M,L){M=$(M,true);return this.replaces(M).grab(M,L);},getPrevious:function(L,M){return J(this,"previousSibling",null,L,false,M); +},getAllPrevious:function(L,M){return J(this,"previousSibling",null,L,true,M);},getNext:function(L,M){return J(this,"nextSibling",null,L,false,M);},getAllNext:function(L,M){return J(this,"nextSibling",null,L,true,M); +},getFirst:function(L,M){return J(this,"nextSibling","firstChild",L,false,M);},getLast:function(L,M){return J(this,"previousSibling","lastChild",L,false,M); +},getParent:function(L,M){return J(this,"parentNode",null,L,false,M);},getParents:function(L,M){return J(this,"parentNode",null,L,true,M);},getChildren:function(L,M){return J(this,"nextSibling","firstChild",L,true,M); +},getWindow:function(){return this.ownerDocument.window;},getDocument:function(){return this.ownerDocument;},getElementById:function(O,N){var M=this.ownerDocument.getElementById(O); +if(!M){return null;}for(var L=M.parentNode;L!=this;L=L.parentNode){if(!L){return null;}}return $.element(M,N);},getSelected:function(){return new Elements($A(this.options).filter(function(L){return L.selected; +}));},getComputedStyle:function(M){if(this.currentStyle){return this.currentStyle[M.camelCase()];}var L=this.getDocument().defaultView.getComputedStyle(this,null); +return(L)?L.getPropertyValue([M.hyphenate()]):null;},toQueryString:function(){var L=[];this.getElements("input, select, textarea",true).each(function(M){if(!M.name||M.disabled){return ; +}var N=(M.tagName.toLowerCase()=="select")?Element.getSelected(M).map(function(O){return O.value;}):((M.type=="radio"||M.type=="checkbox")&&!M.checked)?null:M.value; +$splat(N).each(function(O){if(typeof O!="undefined"){L.push(M.name+"="+encodeURIComponent(O));}});});return L.join("&");},clone:function(O,L){O=O!==false; +var R=this.cloneNode(O);var N=function(V,U){if(!L){V.removeAttribute("id");}if(Browser.Engine.trident){V.clearAttributes();V.mergeAttributes(U);V.removeAttribute("uid"); +if(V.options){var W=V.options,S=U.options;for(var T=W.length;T--;){W[T].selected=S[T].selected;}}}var X=I[U.tagName.toLowerCase()];if(X&&U[X]){V[X]=U[X]; +}};if(O){var P=R.getElementsByTagName("*"),Q=this.getElementsByTagName("*");for(var M=P.length;M--;){N(P[M],Q[M]);}}N(R,this);return $(R);},destroy:function(){Element.empty(this); +Element.dispose(this);G(this,true);return null;},empty:function(){$A(this.childNodes).each(function(L){Element.destroy(L);});return this;},dispose:function(){return(this.parentNode)?this.parentNode.removeChild(this):this; +},hasChild:function(L){L=$(L,true);if(!L){return false;}if(Browser.Engine.webkit&&Browser.Engine.version<420){return $A(this.getElementsByTagName(L.tagName)).contains(L); +}return(this.contains)?(this!=L&&this.contains(L)):!!(this.compareDocumentPosition(L)&16);},match:function(L){return(!L||(L==this)||(Element.get(this,"tag")==L)); +}});Native.implement([Element,Window,Document],{addListener:function(O,N){if(O=="unload"){var L=N,M=this;N=function(){M.removeListener("unload",N);L(); +};}else{H[this.uid]=this;}if(this.addEventListener){this.addEventListener(O,N,false);}else{this.attachEvent("on"+O,N);}return this;},removeListener:function(M,L){if(this.removeEventListener){this.removeEventListener(M,L,false); +}else{this.detachEvent("on"+M,L);}return this;},retrieve:function(M,L){var O=C(this.uid),N=O[M];if(L!=undefined&&N==undefined){N=O[M]=L;}return $pick(N); +},store:function(M,L){var N=C(this.uid);N[M]=L;return this;},eliminate:function(L){var M=C(this.uid);delete M[L];return this;}});window.addListener("unload",D); +})();Element.Properties=new Hash;Element.Properties.style={set:function(A){this.style.cssText=A;},get:function(){return this.style.cssText;},erase:function(){this.style.cssText=""; +}};Element.Properties.tag={get:function(){return this.tagName.toLowerCase();}};Element.Properties.html=(function(){var C=document.createElement("div"); +var A={table:[1,"","
    "],select:[1,""],tbody:[2,"","
    "],tr:[3,"","
    "]}; +A.thead=A.tfoot=A.tbody;var B={set:function(){var E=Array.flatten(arguments).join("");var F=Browser.Engine.trident&&A[this.get("tag")];if(F){var G=C;G.innerHTML=F[1]+E+F[2]; +for(var D=F[0];D--;){G=G.firstChild;}this.empty().adopt(G.childNodes);}else{this.innerHTML=E;}}};B.erase=B.set;return B;})();if(Browser.Engine.webkit&&Browser.Engine.version<420){Element.Properties.text={get:function(){if(this.innerText){return this.innerText; +}var A=this.ownerDocument.newElement("div",{html:this.innerHTML}).inject(this.ownerDocument.body);var B=A.innerText;A.destroy();return B;}};}Element.Properties.events={set:function(A){this.addEvents(A); +}};Native.implement([Element,Window,Document],{addEvent:function(E,G){var H=this.retrieve("events",{});H[E]=H[E]||{keys:[],values:[]};if(H[E].keys.contains(G)){return this; +}H[E].keys.push(G);var F=E,A=Element.Events.get(E),C=G,I=this;if(A){if(A.onAdd){A.onAdd.call(this,G);}if(A.condition){C=function(J){if(A.condition.call(this,J)){return G.call(this,J); +}return true;};}F=A.base||F;}var D=function(){return G.call(I);};var B=Element.NativeEvents[F];if(B){if(B==2){D=function(J){J=new Event(J,I.getWindow()); +if(C.call(I,J)===false){J.stop();}};}this.addListener(F,D);}H[E].values.push(D);return this;},removeEvent:function(C,B){var A=this.retrieve("events");if(!A||!A[C]){return this; +}var F=A[C].keys.indexOf(B);if(F==-1){return this;}A[C].keys.splice(F,1);var E=A[C].values.splice(F,1)[0];var D=Element.Events.get(C);if(D){if(D.onRemove){D.onRemove.call(this,B); +}C=D.base||C;}return(Element.NativeEvents[C])?this.removeListener(C,E):this;},addEvents:function(A){for(var B in A){this.addEvent(B,A[B]);}return this; +},removeEvents:function(A){if($type(A)=="object"){for(var C in A){this.removeEvent(C,A[C]);}return this;}var B=this.retrieve("events");if(!B){return this; +}if(!A){for(var C in B){this.removeEvents(C);}this.eliminate("events");}else{if(B[A]){while(B[A].keys[0]){this.removeEvent(A,B[A].keys[0]);}B[A]=null;}}return this; +},fireEvent:function(D,B,A){var C=this.retrieve("events");if(!C||!C[D]){return this;}C[D].keys.each(function(E){E.create({bind:this,delay:A,"arguments":B})(); +},this);return this;},cloneEvents:function(D,A){D=$(D);var C=D.retrieve("events");if(!C){return this;}if(!A){for(var B in C){this.cloneEvents(D,B);}}else{if(C[A]){C[A].keys.each(function(E){this.addEvent(A,E); +},this);}}return this;}});Element.NativeEvents={click:2,dblclick:2,mouseup:2,mousedown:2,contextmenu:2,mousewheel:2,DOMMouseScroll:2,mouseover:2,mouseout:2,mousemove:2,selectstart:2,selectend:2,keydown:2,keypress:2,keyup:2,focus:2,blur:2,change:2,reset:2,select:2,submit:2,load:1,unload:1,beforeunload:2,resize:1,move:1,DOMContentLoaded:1,readystatechange:1,error:1,abort:1,scroll:1}; +(function(){var A=function(B){var C=B.relatedTarget;if(C==undefined){return true;}if(C===false){return false;}return($type(this)!="document"&&C!=this&&C.prefix!="xul"&&!this.hasChild(C)); +};Element.Events=new Hash({mouseenter:{base:"mouseover",condition:A},mouseleave:{base:"mouseout",condition:A},mousewheel:{base:(Browser.Engine.gecko)?"DOMMouseScroll":"mousewheel"}}); +})();Element.Properties.styles={set:function(A){this.setStyles(A);}};Element.Properties.opacity={set:function(A,B){if(!B){if(A==0){if(this.style.visibility!="hidden"){this.style.visibility="hidden"; +}}else{if(this.style.visibility!="visible"){this.style.visibility="visible";}}}if(!this.currentStyle||!this.currentStyle.hasLayout){this.style.zoom=1;}if(Browser.Engine.trident){this.style.filter=(A==1)?"":"alpha(opacity="+A*100+")"; +}this.style.opacity=A;this.store("opacity",A);},get:function(){return this.retrieve("opacity",1);}};Element.implement({setOpacity:function(A){return this.set("opacity",A,true); +},getOpacity:function(){return this.get("opacity");},setStyle:function(B,A){switch(B){case"opacity":return this.set("opacity",parseFloat(A));case"float":B=(Browser.Engine.trident)?"styleFloat":"cssFloat"; +}B=B.camelCase();if($type(A)!="string"){var C=(Element.Styles.get(B)||"@").split(" ");A=$splat(A).map(function(E,D){if(!C[D]){return"";}return($type(E)=="number")?C[D].replace("@",Math.round(E)):E; +}).join(" ");}else{if(A==String(Number(A))){A=Math.round(A);}}this.style[B]=A;return this;},getStyle:function(G){switch(G){case"opacity":return this.get("opacity"); +case"float":G=(Browser.Engine.trident)?"styleFloat":"cssFloat";}G=G.camelCase();var A=this.style[G];if(!$chk(A)){A=[];for(var F in Element.ShortStyles){if(G!=F){continue; +}for(var E in Element.ShortStyles[F]){A.push(this.getStyle(E));}return A.join(" ");}A=this.getComputedStyle(G);}if(A){A=String(A);var C=A.match(/rgba?\([\d\s,]+\)/); +if(C){A=A.replace(C[0],C[0].rgbToHex());}}if(Browser.Engine.presto||(Browser.Engine.trident&&!$chk(parseInt(A)))){if(G.test(/^(height|width)$/)){var B=(G=="width")?["left","right"]:["top","bottom"],D=0; +B.each(function(H){D+=this.getStyle("border-"+H+"-width").toInt()+this.getStyle("padding-"+H).toInt();},this);return this["offset"+G.capitalize()]-D+"px"; +}if((Browser.Engine.presto)&&String(A).test("px")){return A;}if(G.test(/(border(.+)Width|margin|padding)/)){return"0px";}}return A;},setStyles:function(B){for(var A in B){this.setStyle(A,B[A]); +}return this;},getStyles:function(){var A={};Array.each(arguments,function(B){A[B]=this.getStyle(B);},this);return A;}});Element.Styles=new Hash({left:"@px",top:"@px",bottom:"@px",right:"@px",width:"@px",height:"@px",maxWidth:"@px",maxHeight:"@px",minWidth:"@px",minHeight:"@px",backgroundColor:"rgb(@, @, @)",backgroundPosition:"@px @px",color:"rgb(@, @, @)",fontSize:"@px",letterSpacing:"@px",lineHeight:"@px",clip:"rect(@px @px @px @px)",margin:"@px @px @px @px",padding:"@px @px @px @px",border:"@px @ rgb(@, @, @) @px @ rgb(@, @, @) @px @ rgb(@, @, @)",borderWidth:"@px @px @px @px",borderStyle:"@ @ @ @",borderColor:"rgb(@, @, @) rgb(@, @, @) rgb(@, @, @) rgb(@, @, @)",zIndex:"@",zoom:"@",fontWeight:"@",textIndent:"@px",opacity:"@"}); +Element.ShortStyles={margin:{},padding:{},border:{},borderWidth:{},borderStyle:{},borderColor:{}};["Top","Right","Bottom","Left"].each(function(G){var F=Element.ShortStyles; +var B=Element.Styles;["margin","padding"].each(function(H){var I=H+G;F[H][I]=B[I]="@px";});var E="border"+G;F.border[E]=B[E]="@px @ rgb(@, @, @)";var D=E+"Width",A=E+"Style",C=E+"Color"; +F[E]={};F.borderWidth[D]=F[E][D]=B[D]="@px";F.borderStyle[A]=F[E][A]=B[A]="@";F.borderColor[C]=F[E][C]=B[C]="rgb(@, @, @)";});(function(){Element.implement({scrollTo:function(H,I){if(B(this)){this.getWindow().scrollTo(H,I); +}else{this.scrollLeft=H;this.scrollTop=I;}return this;},getSize:function(){if(B(this)){return this.getWindow().getSize();}return{x:this.offsetWidth,y:this.offsetHeight}; +},getScrollSize:function(){if(B(this)){return this.getWindow().getScrollSize();}return{x:this.scrollWidth,y:this.scrollHeight};},getScroll:function(){if(B(this)){return this.getWindow().getScroll(); +}return{x:this.scrollLeft,y:this.scrollTop};},getScrolls:function(){var I=this,H={x:0,y:0};while(I&&!B(I)){H.x+=I.scrollLeft;H.y+=I.scrollTop;I=I.parentNode; +}return H;},getOffsetParent:function(){var H=this;if(B(H)){return null;}if(!Browser.Engine.trident){return H.offsetParent;}while((H=H.parentNode)&&!B(H)){if(D(H,"position")!="static"){return H; +}}return null;},getOffsets:function(){if(Browser.Engine.trident){var L=this.getBoundingClientRect(),J=this.getDocument().documentElement;return{x:L.left+J.scrollLeft-J.clientLeft,y:L.top+J.scrollTop-J.clientTop}; +}var I=this,H={x:0,y:0};if(B(this)){return H;}while(I&&!B(I)){H.x+=I.offsetLeft;H.y+=I.offsetTop;if(Browser.Engine.gecko){if(!F(I)){H.x+=C(I);H.y+=G(I); +}var K=I.parentNode;if(K&&D(K,"overflow")!="visible"){H.x+=C(K);H.y+=G(K);}}else{if(I!=this&&Browser.Engine.webkit){H.x+=C(I);H.y+=G(I);}}I=I.offsetParent; +}if(Browser.Engine.gecko&&!F(this)){H.x-=C(this);H.y-=G(this);}return H;},getPosition:function(K){if(B(this)){return{x:0,y:0};}var L=this.getOffsets(),I=this.getScrolls(); +var H={x:L.x-I.x,y:L.y-I.y};var J=(K&&(K=$(K)))?K.getPosition():{x:0,y:0};return{x:H.x-J.x,y:H.y-J.y};},getCoordinates:function(J){if(B(this)){return this.getWindow().getCoordinates(); +}var H=this.getPosition(J),I=this.getSize();var K={left:H.x,top:H.y,width:I.x,height:I.y};K.right=K.left+K.width;K.bottom=K.top+K.height;return K;},computePosition:function(H){return{left:H.x-E(this,"margin-left"),top:H.y-E(this,"margin-top")}; +},position:function(H){return this.setStyles(this.computePosition(H));}});Native.implement([Document,Window],{getSize:function(){var I=this.getWindow(); +if(Browser.Engine.presto||Browser.Engine.webkit){return{x:I.innerWidth,y:I.innerHeight};}var H=A(this);return{x:H.clientWidth,y:H.clientHeight};},getScroll:function(){var I=this.getWindow(); +var H=A(this);return{x:I.pageXOffset||H.scrollLeft,y:I.pageYOffset||H.scrollTop};},getScrollSize:function(){var I=A(this);var H=this.getSize();return{x:Math.max(I.scrollWidth,H.x),y:Math.max(I.scrollHeight,H.y)}; +},getPosition:function(){return{x:0,y:0};},getCoordinates:function(){var H=this.getSize();return{top:0,left:0,bottom:H.y,right:H.x,height:H.y,width:H.x}; +}});var D=Element.getComputedStyle;function E(H,I){return D(H,I).toInt()||0;}function F(H){return D(H,"-moz-box-sizing")=="border-box";}function G(H){return E(H,"border-top-width"); +}function C(H){return E(H,"border-left-width");}function B(H){return(/^(?:body|html)$/i).test(H.tagName);}function A(H){var I=H.getDocument();return(!I.compatMode||I.compatMode=="CSS1Compat")?I.html:I.body; +}})();Native.implement([Window,Document,Element],{getHeight:function(){return this.getSize().y;},getWidth:function(){return this.getSize().x;},getScrollTop:function(){return this.getScroll().y; +},getScrollLeft:function(){return this.getScroll().x;},getScrollHeight:function(){return this.getScrollSize().y;},getScrollWidth:function(){return this.getScrollSize().x; +},getTop:function(){return this.getPosition().y;},getLeft:function(){return this.getPosition().x;}});Native.implement([Document,Element],{getElements:function(H,G){H=H.split(","); +var C,E={};for(var D=0,B=H.length;D1),cash:!G});}});Element.implement({match:function(B){if(!B||(B==this)){return true;}var D=Selectors.Utils.parseTagAndID(B); +var A=D[0],E=D[1];if(!Selectors.Filters.byID(this,E)||!Selectors.Filters.byTag(this,A)){return false;}var C=Selectors.Utils.parseSelector(B);return(C)?Selectors.Utils.filter(this,C,{}):true; +}});var Selectors={Cache:{nth:{},parsed:{}}};Selectors.RegExps={id:(/#([\w-]+)/),tag:(/^(\w+|\*)/),quick:(/^(\w+|\*)$/),splitter:(/\s*([+>~\s])\s*([a-zA-Z#.*:\[])/g),combined:(/\.([\w-]+)|\[(\w+)(?:([!*^$~|]?=)(["']?)([^\4]*?)\4)?\]|:([\w-]+)(?:\(["']?(.*?)?["']?\)|$)/g)}; +Selectors.Utils={chk:function(B,C){if(!C){return true;}var A=$uid(B);if(!C[A]){return C[A]=true;}return false;},parseNthArgument:function(F){if(Selectors.Cache.nth[F]){return Selectors.Cache.nth[F]; +}var C=F.match(/^([+-]?\d*)?([a-z]+)?([+-]?\d*)?$/);if(!C){return false;}var E=parseInt(C[1]);var B=(E||E===0)?E:1;var D=C[2]||false;var A=parseInt(C[3])||0; +if(B!=0){A--;while(A<1){A+=B;}while(A>=B){A-=B;}}else{B=A;D="index";}switch(D){case"n":C={a:B,b:A,special:"n"};break;case"odd":C={a:2,b:0,special:"n"}; +break;case"even":C={a:2,b:1,special:"n"};break;case"first":C={a:0,special:"index"};break;case"last":C={special:"last-child"};break;case"only":C={special:"only-child"}; +break;default:C={a:(B-1),special:"index"};}return Selectors.Cache.nth[F]=C;},parseSelector:function(E){if(Selectors.Cache.parsed[E]){return Selectors.Cache.parsed[E]; +}var D,H={classes:[],pseudos:[],attributes:[]};while((D=Selectors.RegExps.combined.exec(E))){var I=D[1],G=D[2],F=D[3],B=D[5],C=D[6],J=D[7];if(I){H.classes.push(I); +}else{if(C){var A=Selectors.Pseudo.get(C);if(A){H.pseudos.push({parser:A,argument:J});}else{H.attributes.push({name:C,operator:"=",value:J});}}else{if(G){H.attributes.push({name:G,operator:F,value:B}); +}}}}if(!H.classes.length){delete H.classes;}if(!H.attributes.length){delete H.attributes;}if(!H.pseudos.length){delete H.pseudos;}if(!H.classes&&!H.attributes&&!H.pseudos){H=null; +}return Selectors.Cache.parsed[E]=H;},parseTagAndID:function(B){var A=B.match(Selectors.RegExps.tag);var C=B.match(Selectors.RegExps.id);return[(A)?A[1]:"*",(C)?C[1]:false]; +},filter:function(F,C,E){var D;if(C.classes){for(D=C.classes.length;D--;D){var G=C.classes[D];if(!Selectors.Filters.byClass(F,G)){return false;}}}if(C.attributes){for(D=C.attributes.length; +D--;D){var B=C.attributes[D];if(!Selectors.Filters.byAttribute(F,B.name,B.operator,B.value)){return false;}}}if(C.pseudos){for(D=C.pseudos.length;D--;D){var A=C.pseudos[D]; +if(!Selectors.Filters.byPseudo(F,A.parser,A.argument,E)){return false;}}}return true;},getByTagAndID:function(B,A,D){if(D){var C=(B.getElementById)?B.getElementById(D,true):Element.getElementById(B,D,true); +return(C&&Selectors.Filters.byTag(C,A))?[C]:[];}else{return B.getElementsByTagName(A);}},search:function(I,H,N){var B=[];var C=H.trim().replace(Selectors.RegExps.splitter,function(Y,X,W){B.push(X); +return":)"+W;}).split(":)");var J,E,U;for(var T=0,P=C.length;T":function(H,G,I,A,F){var C=Selectors.Utils.getByTagAndID(G,I,A);for(var E=0,D=C.length;EA){return false;}}return(C==A);},even:function(B,A){return Selectors.Pseudo["nth-child"].call(this,"2n+1",A); +},odd:function(B,A){return Selectors.Pseudo["nth-child"].call(this,"2n",A);}});Element.Events.domready={onAdd:function(A){if(Browser.loaded){A.call(this); +}}};(function(){var B=function(){if(Browser.loaded){return ;}Browser.loaded=true;window.fireEvent("domready");document.fireEvent("domready");};if(Browser.Engine.trident){var A=document.createElement("div"); +(function(){($try(function(){A.doScroll("left");return $(A).inject(document.body).set("html","temp").dispose();}))?B():arguments.callee.delay(50);})(); +}else{if(Browser.Engine.webkit&&Browser.Engine.version<525){(function(){(["loaded","complete"].contains(document.readyState))?B():arguments.callee.delay(50); +})();}else{window.addEvent("load",B);document.addEvent("DOMContentLoaded",B);}}})();var JSON=new Hash({$specialChars:{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},$replaceChars:function(A){return JSON.$specialChars[A]||"\\u00"+Math.floor(A.charCodeAt()/16).toString(16)+(A.charCodeAt()%16).toString(16); +},encode:function(B){switch($type(B)){case"string":return'"'+B.replace(/[\x00-\x1f\\"]/g,JSON.$replaceChars)+'"';case"array":return"["+String(B.map(JSON.encode).filter($defined))+"]"; +case"object":case"hash":var A=[];Hash.each(B,function(E,D){var C=JSON.encode(E);if(C){A.push(JSON.encode(D)+":"+C);}});return"{"+A+"}";case"number":case"boolean":return String(B); +case false:return"null";}return null;},decode:function(string,secure){if($type(string)!="string"||!string.length){return null;}if(secure&&!(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(string.replace(/\\./g,"@").replace(/"[^"\\\n\r]*"/g,""))){return null; +}return eval("("+string+")");}});Native.implement([Hash,Array,String,Number],{toJSON:function(){return JSON.encode(this);}});var Cookie=new Class({Implements:Options,options:{path:false,domain:false,duration:false,secure:false,document:document},initialize:function(B,A){this.key=B; +this.setOptions(A);},write:function(B){B=encodeURIComponent(B);if(this.options.domain){B+="; domain="+this.options.domain;}if(this.options.path){B+="; path="+this.options.path; +}if(this.options.duration){var A=new Date();A.setTime(A.getTime()+this.options.duration*24*60*60*1000);B+="; expires="+A.toGMTString();}if(this.options.secure){B+="; secure"; +}this.options.document.cookie=this.key+"="+B;return this;},read:function(){var A=this.options.document.cookie.match("(?:^|;)\\s*"+this.key.escapeRegExp()+"=([^;]*)"); +return(A)?decodeURIComponent(A[1]):null;},dispose:function(){new Cookie(this.key,$merge(this.options,{duration:-1})).write("");return this;}});Cookie.write=function(B,C,A){return new Cookie(B,A).write(C); +};Cookie.read=function(A){return new Cookie(A).read();};Cookie.dispose=function(B,A){return new Cookie(B,A).dispose();};var Swiff=new Class({Implements:[Options],options:{id:null,height:1,width:1,container:null,properties:{},params:{quality:"high",allowScriptAccess:"always",wMode:"transparent",swLiveConnect:true},callBacks:{},vars:{}},toElement:function(){return this.object; +},initialize:function(L,M){this.instance="Swiff_"+$time();this.setOptions(M);M=this.options;var B=this.id=M.id||this.instance;var A=$(M.container);Swiff.CallBacks[this.instance]={}; +var E=M.params,G=M.vars,F=M.callBacks;var H=$extend({height:M.height,width:M.width},M.properties);var K=this;for(var D in F){Swiff.CallBacks[this.instance][D]=(function(N){return function(){return N.apply(K.object,arguments); +};})(F[D]);G[D]="Swiff.CallBacks."+this.instance+"."+D;}E.flashVars=Hash.toQueryString(G);if(Browser.Engine.trident){H.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"; +E.movie=L;}else{H.type="application/x-shockwave-flash";H.data=L;}var J=''; +}}J+="";this.object=((A)?A.empty():new Element("div")).set("html",J).firstChild;},replaces:function(A){A=$(A,true);A.parentNode.replaceChild(this.toElement(),A); +return this;},inject:function(A){$(A,true).appendChild(this.toElement());return this;},remote:function(){return Swiff.remote.apply(Swiff,[this.toElement()].extend(arguments)); +}});Swiff.CallBacks={};Swiff.remote=function(obj,fn){var rs=obj.CallFunction(''+__flash__argumentsToXML(arguments,2)+""); +return eval(rs);};var Fx=new Class({Implements:[Chain,Events,Options],options:{fps:50,unit:false,duration:500,link:"ignore"},initialize:function(A){this.subject=this.subject||this; +this.setOptions(A);this.options.duration=Fx.Durations[this.options.duration]||this.options.duration.toInt();var B=this.options.wait;if(B===false){this.options.link="cancel"; +}},getTransition:function(){return function(A){return -(Math.cos(Math.PI*A)-1)/2;};},step:function(){var A=$time();if(A=(7-4*B)/11){C=A*A-Math.pow((11-6*B-11*D)/4,2); +break;}}return C;},Elastic:function(B,A){return Math.pow(2,10*--B)*Math.cos(20*B*Math.PI*(A[0]||1)/3);}});["Quad","Cubic","Quart","Quint"].each(function(B,A){Fx.Transitions[B]=new Fx.Transition(function(C){return Math.pow(C,[A+2]); +});});var Request=new Class({Implements:[Chain,Events,Options],options:{url:"",data:"",headers:{"X-Requested-With":"XMLHttpRequest",Accept:"text/javascript, text/html, application/xml, text/xml, */*"},async:true,format:false,method:"post",link:"ignore",isSuccess:null,emulation:true,urlEncoded:true,encoding:"utf-8",evalScripts:false,evalResponse:false},initialize:function(A){this.xhr=new Browser.Request(); +this.setOptions(A);this.options.isSuccess=this.options.isSuccess||this.isSuccess;this.headers=new Hash(this.options.headers);},onStateChange:function(){if(this.xhr.readyState!=4||!this.running){return ; +}this.running=false;this.status=0;$try(function(){this.status=this.xhr.status;}.bind(this));if(this.options.isSuccess.call(this,this.status)){this.response={text:this.xhr.responseText,xml:this.xhr.responseXML}; +this.success(this.response.text,this.response.xml);}else{this.response={text:null,xml:null};this.failure();}this.xhr.onreadystatechange=$empty;},isSuccess:function(){return((this.status>=200)&&(this.status<300)); +},processScripts:function(A){if(this.options.evalResponse||(/(ecma|java)script/).test(this.getHeader("Content-type"))){return $exec(A);}return A.stripScripts(this.options.evalScripts); +},success:function(B,A){this.onSuccess(this.processScripts(B),A);},onSuccess:function(){this.fireEvent("complete",arguments).fireEvent("success",arguments).callChain(); +},failure:function(){this.onFailure();},onFailure:function(){this.fireEvent("complete").fireEvent("failure",this.xhr);},setHeader:function(A,B){this.headers.set(A,B); +return this;},getHeader:function(A){return $try(function(){return this.xhr.getResponseHeader(A);}.bind(this));},check:function(A){if(!this.running){return true; +}switch(this.options.link){case"cancel":this.cancel();return true;case"chain":this.chain(A.bind(this,Array.slice(arguments,1)));return false;}return false; +},send:function(I){if(!this.check(arguments.callee,I)){return this;}this.running=true;var G=$type(I);if(G=="string"||G=="element"){I={data:I};}var D=this.options; +I=$extend({data:D.data,url:D.url,method:D.method},I);var E=I.data,B=I.url,A=I.method;switch($type(E)){case"element":E=$(E).toQueryString();break;case"object":case"hash":E=Hash.toQueryString(E); +}if(this.options.format){var H="format="+this.options.format;E=(E)?H+"&"+E:H;}if(this.options.emulation&&["put","delete"].contains(A)){var F="_method="+A; +E=(E)?F+"&"+E:F;A="post";}if(this.options.urlEncoded&&A=="post"){var C=(this.options.encoding)?"; charset="+this.options.encoding:"";this.headers.set("Content-type","application/x-www-form-urlencoded"+C); +}if(E&&A=="get"){B=B+(B.contains("?")?"&":"?")+E;E=null;}this.xhr.open(A.toUpperCase(),B,this.options.async);this.xhr.onreadystatechange=this.onStateChange.bind(this); +this.headers.each(function(K,J){try{this.xhr.setRequestHeader(J,K);}catch(L){this.fireEvent("exception",[J,K]);}},this);this.fireEvent("request");this.xhr.send(E); +if(!this.options.async){this.onStateChange();}return this;},cancel:function(){if(!this.running){return this;}this.running=false;this.xhr.abort();this.xhr.onreadystatechange=$empty; +this.xhr=new Browser.Request();this.fireEvent("cancel");return this;}});(function(){var A={};["get","post","put","delete","GET","POST","PUT","DELETE"].each(function(B){A[B]=function(){var C=Array.link(arguments,{url:String.type,data:$defined}); +return this.send($extend(C,{method:B.toLowerCase()}));};});Request.implement(A);})();Element.Properties.send={set:function(A){var B=this.retrieve("send"); +if(B){B.cancel();}return this.eliminate("send").store("send:options",$extend({data:this,link:"cancel",method:this.get("method")||"post",url:this.get("action")},A)); +},get:function(A){if(A||!this.retrieve("send")){if(A||!this.retrieve("send:options")){this.set("send",A);}this.store("send",new Request(this.retrieve("send:options"))); +}return this.retrieve("send");}};Element.implement({send:function(A){var B=this.get("send");B.send({data:this,url:A||B.options.url});return this;}});Request.HTML=new Class({Extends:Request,options:{update:false,evalScripts:true,filter:false},processHTML:function(C){var B=C.match(/]*>([\s\S]*?)<\/body>/i); +C=(B)?B[1]:C;var A=new Element("div");return $try(function(){var D=""+C+"",G;if(Browser.Engine.trident){G=new ActiveXObject("Microsoft.XMLDOM"); +G.async=false;G.loadXML(D);}else{G=new DOMParser().parseFromString(D,"text/xml");}D=G.getElementsByTagName("root")[0];for(var F=0,E=D.childNodes.length; +F. Copyright (c) 2006-2008 Valerio Proietti, , MIT Style License. + +Fx.Slide=new Class({Extends:Fx,options:{mode:"vertical"},initialize:function(B,A){this.addEvent("complete",function(){this.open=(this.wrapper["offset"+this.layout.capitalize()]!=0); +if(this.open&&Browser.Engine.webkit419){this.element.dispose().inject(this.wrapper);}},true);this.element=this.subject=$(B);this.parent(A);var C=this.element.retrieve("wrapper"); +this.wrapper=C||new Element("div",{styles:$extend(this.element.getStyles("margin","position"),{overflow:"hidden"})}).wraps(this.element);this.element.store("wrapper",this.wrapper).setStyle("margin",0); +this.now=[];this.open=true;},vertical:function(){this.margin="margin-top";this.layout="height";this.offset=this.element.offsetHeight;},horizontal:function(){this.margin="margin-left"; +this.layout="width";this.offset=this.element.offsetWidth;},set:function(A){this.element.setStyle(this.margin,A[0]);this.wrapper.setStyle(this.layout,A[1]); +return this;},compute:function(E,D,C){var B=[];var A=2;A.times(function(F){B[F]=Fx.compute(E[F],D[F],C);});return B;},start:function(B,E){if(!this.check(arguments.callee,B,E)){return this; +}this[E||this.options.mode]();var D=this.element.getStyle(this.margin).toInt();var C=this.wrapper.getStyle(this.layout).toInt();var A=[[D,C],[0,this.offset]]; +var G=[[D,C],[-this.offset,0]];var F;switch(B){case"in":F=A;break;case"out":F=G;break;case"toggle":F=(this.wrapper["offset"+this.layout.capitalize()]==0)?A:G; +}return this.parent(F[0],F[1]);},slideIn:function(A){return this.start("in",A);},slideOut:function(A){return this.start("out",A);},hide:function(A){this[A||this.options.mode](); +this.open=false;return this.set([-this.offset,0]);},show:function(A){this[A||this.options.mode]();this.open=true;return this.set([0,this.offset]);},toggle:function(A){return this.start("toggle",A); +}});Element.Properties.slide={set:function(B){var A=this.retrieve("slide");if(A){A.cancel();}return this.eliminate("slide").store("slide:options",$extend({link:"cancel"},B)); +},get:function(A){if(A||!this.retrieve("slide")){if(A||!this.retrieve("slide:options")){this.set("slide",A);}this.store("slide",new Fx.Slide(this,this.retrieve("slide:options"))); +}return this.retrieve("slide");}};Element.implement({slide:function(D,E){D=D||"toggle";var B=this.get("slide"),A;switch(D){case"hide":B.hide(E);break;case"show":B.show(E); +break;case"toggle":var C=this.retrieve("slide:flag",B.open);B[(C)?"slideOut":"slideIn"](E);this.store("slide:flag",!C);A=true;break;default:B.start(D,E); +}if(!A){this.eliminate("slide:flag");}return this;}});Fx.Scroll=new Class({Extends:Fx,options:{offset:{x:0,y:0},wheelStops:true},initialize:function(B,A){this.element=this.subject=$(B); +this.parent(A);var D=this.cancel.bind(this,false);if($type(this.element)!="element"){this.element=$(this.element.getDocument().body);}var C=this.element; +if(this.options.wheelStops){this.addEvent("start",function(){C.addEvent("mousewheel",D);},true);this.addEvent("complete",function(){C.removeEvent("mousewheel",D); +},true);}},set:function(){var A=Array.flatten(arguments);this.element.scrollTo(A[0],A[1]);},compute:function(E,D,C){var B=[];var A=2;A.times(function(F){B.push(Fx.compute(E[F],D[F],C)); +});return B;},start:function(C,H){if(!this.check(arguments.callee,C,H)){return this;}var E=this.element.getSize(),F=this.element.getScrollSize();var B=this.element.getScroll(),D={x:C,y:H}; +for(var G in D){var A=F[G]-E[G];if($chk(D[G])){D[G]=($type(D[G])=="number")?D[G].limit(0,A):A;}else{D[G]=B[G];}D[G]+=this.options.offset[G];}return this.parent([B.x,B.y],[D.x,D.y]); +},toTop:function(){return this.start(false,0);},toLeft:function(){return this.start(0,false);},toRight:function(){return this.start("right",false);},toBottom:function(){return this.start(false,"bottom"); +},toElement:function(B){var A=$(B).getPosition(this.element);return this.start(A.x,A.y);}});Fx.Elements=new Class({Extends:Fx.CSS,initialize:function(B,A){this.elements=this.subject=$$(B); +this.parent(A);},compute:function(G,H,I){var C={};for(var D in G){var A=G[D],E=H[D],F=C[D]={};for(var B in A){F[B]=this.parent(A[B],E[B],I);}}return C; +},set:function(B){for(var C in B){var A=B[C];for(var D in A){this.render(this.elements[C],D,A[D],this.options.unit);}}return this;},start:function(C){if(!this.check(arguments.callee,C)){return this; +}var H={},I={};for(var D in C){var F=C[D],A=H[D]={},G=I[D]={};for(var B in F){var E=this.prepare(this.elements[D],B,F[B]);A[B]=E.from;G[B]=E.to;}}return this.parent(H,I); +}});var Drag=new Class({Implements:[Events,Options],options:{snap:6,unit:"px",grid:false,style:true,limit:false,handle:false,invert:false,preventDefault:false,modifiers:{x:"left",y:"top"}},initialize:function(){var B=Array.link(arguments,{options:Object.type,element:$defined}); +this.element=$(B.element);this.document=this.element.getDocument();this.setOptions(B.options||{});var A=$type(this.options.handle);this.handles=(A=="array"||A=="collection")?$$(this.options.handle):$(this.options.handle)||this.element; +this.mouse={now:{},pos:{}};this.value={start:{},now:{}};this.selection=(Browser.Engine.trident)?"selectstart":"mousedown";this.bound={start:this.start.bind(this),check:this.check.bind(this),drag:this.drag.bind(this),stop:this.stop.bind(this),cancel:this.cancel.bind(this),eventStop:$lambda(false)}; +this.attach();},attach:function(){this.handles.addEvent("mousedown",this.bound.start);return this;},detach:function(){this.handles.removeEvent("mousedown",this.bound.start); +return this;},start:function(C){if(this.options.preventDefault){C.preventDefault();}this.fireEvent("beforeStart",this.element);this.mouse.start=C.page; +var A=this.options.limit;this.limit={x:[],y:[]};for(var D in this.options.modifiers){if(!this.options.modifiers[D]){continue;}if(this.options.style){this.value.now[D]=this.element.getStyle(this.options.modifiers[D]).toInt(); +}else{this.value.now[D]=this.element[this.options.modifiers[D]];}if(this.options.invert){this.value.now[D]*=-1;}this.mouse.pos[D]=C.page[D]-this.value.now[D]; +if(A&&A[D]){for(var B=2;B--;B){if($chk(A[D][B])){this.limit[D][B]=$lambda(A[D][B])();}}}}if($type(this.options.grid)=="number"){this.options.grid={x:this.options.grid,y:this.options.grid}; +}this.document.addEvents({mousemove:this.bound.check,mouseup:this.bound.cancel});this.document.addEvent(this.selection,this.bound.eventStop);},check:function(A){if(this.options.preventDefault){A.preventDefault(); +}var B=Math.round(Math.sqrt(Math.pow(A.page.x-this.mouse.start.x,2)+Math.pow(A.page.y-this.mouse.start.y,2)));if(B>this.options.snap){this.cancel();this.document.addEvents({mousemove:this.bound.drag,mouseup:this.bound.stop}); +this.fireEvent("start",this.element).fireEvent("snap",this.element);}},drag:function(A){if(this.options.preventDefault){A.preventDefault();}this.mouse.now=A.page; +for(var B in this.options.modifiers){if(!this.options.modifiers[B]){continue;}this.value.now[B]=this.mouse.now[B]-this.mouse.pos[B];if(this.options.invert){this.value.now[B]*=-1; +}if(this.options.limit&&this.limit[B]){if($chk(this.limit[B][1])&&(this.value.now[B]>this.limit[B][1])){this.value.now[B]=this.limit[B][1];}else{if($chk(this.limit[B][0])&&(this.value.now[B]B.left&&A.xB.top);},checkDroppables:function(){var A=this.droppables.filter(this.checkAgainst,this).getLast(); +if(this.overed!=A){if(this.overed){this.fireEvent("leave",[this.element,this.overed]);}if(A){this.overed=A;this.fireEvent("enter",[this.element,A]);}else{this.overed=null; +}}},drag:function(A){this.parent(A);if(this.droppables.length){this.checkDroppables();}},stop:function(A){this.checkDroppables();this.fireEvent("drop",[this.element,this.overed]); +this.overed=null;return this.parent(A);}});Element.implement({makeDraggable:function(A){return new Drag.Move(this,A);}});Hash.Cookie=new Class({Extends:Cookie,options:{autoSave:true},initialize:function(B,A){this.parent(B,A); +this.load();},save:function(){var A=JSON.encode(this.hash);if(!A||A.length>4096){return false;}if(A=="{}"){this.dispose();}else{this.write(A);}return true; +},load:function(){this.hash=new Hash(JSON.decode(this.read(),true));return this;}});Hash.Cookie.implement((function(){var A={};Hash.each(Hash.prototype,function(C,B){A[B]=function(){var D=C.apply(this.hash,arguments); +if(this.options.autoSave){this.save();}return D;};});return A;})());var Color=new Native({initialize:function(B,C){if(arguments.length>=3){C="rgb";B=Array.slice(arguments,0,3); +}else{if(typeof B=="string"){if(B.match(/rgb/)){B=B.rgbToHex().hexToRgb(true);}else{if(B.match(/hsb/)){B=B.hsbToRgb();}else{B=B.hexToRgb(true);}}}}C=C||"rgb"; +switch(C){case"hsb":var A=B;B=B.hsbToRgb();B.hsb=A;break;case"hex":B=B.hexToRgb(true);break;}B.rgb=B.slice(0,3);B.hsb=B.hsb||B.rgbToHsb();B.hex=B.rgbToHex(); +return $extend(B,this);}});Color.implement({mix:function(){var A=Array.slice(arguments);var C=($type(A.getLast())=="number")?A.pop():50;var B=this.slice(); +A.each(function(D){D=new Color(D);for(var E=0;E<3;E++){B[E]=Math.round((B[E]/100*(100-C))+(D[E]/100*C));}});return new Color(B,"rgb");},invert:function(){return new Color(this.map(function(A){return 255-A; +}));},setHue:function(A){return new Color([A,this.hsb[1],this.hsb[2]],"hsb");},setSaturation:function(A){return new Color([this.hsb[0],A,this.hsb[2]],"hsb"); +},setBrightness:function(A){return new Color([this.hsb[0],this.hsb[1],A],"hsb");}});function $RGB(C,B,A){return new Color([C,B,A],"rgb");}function $HSB(C,B,A){return new Color([C,B,A],"hsb"); +}function $HEX(A){return new Color(A,"hex");}Array.implement({rgbToHsb:function(){var B=this[0],C=this[1],J=this[2];var G,F,H;var I=Math.max(B,C,J),E=Math.min(B,C,J); +var K=I-E;H=I/255;F=(I!=0)?K/I:0;if(F==0){G=0;}else{var D=(I-B)/K;var A=(I-C)/K;var L=(I-J)/K;if(B==I){G=L-A;}else{if(C==I){G=2+D-L;}else{G=4+A-D;}}G/=6; +if(G<0){G++;}}return[Math.round(G*360),Math.round(F*100),Math.round(H*100)];},hsbToRgb:function(){var C=Math.round(this[2]/100*255);if(this[1]==0){return[C,C,C]; +}else{var A=this[0]%360;var E=A%60;var F=Math.round((this[2]*(100-this[1]))/10000*255);var D=Math.round((this[2]*(6000-this[1]*E))/600000*255);var B=Math.round((this[2]*(6000-this[1]*(60-E)))/600000*255); +switch(Math.floor(A/60)){case 0:return[C,B,F];case 1:return[D,C,F];case 2:return[F,C,B];case 3:return[F,D,C];case 4:return[B,F,C];case 5:return[C,F,D]; +}}return false;}});String.implement({rgbToHsb:function(){var A=this.match(/\d{1,3}/g);return(A)?hsb.rgbToHsb():null;},hsbToRgb:function(){var A=this.match(/\d{1,3}/g); +return(A)?A.hsbToRgb():null;}});var Group=new Class({initialize:function(){this.instances=Array.flatten(arguments);this.events={};this.checker={};},addEvent:function(B,A){this.checker[B]=this.checker[B]||{}; +this.events[B]=this.events[B]||[];if(this.events[B].contains(A)){return false;}else{this.events[B].push(A);}this.instances.each(function(C,D){C.addEvent(B,this.check.bind(this,[B,C,D])); +},this);return this;},check:function(C,A,B){this.checker[C][B]=true;var D=this.instances.every(function(F,E){return this.checker[C][E]||false;},this);if(!D){return ; +}this.checker[C]={};this.events[C].each(function(E){E.call(this,this.instances,A);},this);}});var Asset=new Hash({javascript:function(F,D){D=$extend({onload:$empty,document:document,check:$lambda(true)},D); +var B=new Element("script",{src:F,type:"text/javascript"});var E=D.onload.bind(B),A=D.check,G=D.document;delete D.onload;delete D.check;delete D.document; +B.addEvents({load:E,readystatechange:function(){if(["loaded","complete"].contains(this.readyState)){E();}}}).setProperties(D);if(Browser.Engine.webkit419){var C=(function(){if(!$try(A)){return ; +}$clear(C);E();}).periodical(50);}return B.inject(G.head);},css:function(B,A){return new Element("link",$merge({rel:"stylesheet",media:"screen",type:"text/css",href:B},A)).inject(document.head); +},image:function(C,B){B=$merge({onload:$empty,onabort:$empty,onerror:$empty},B);var D=new Image();var A=$(D)||new Element("img");["load","abort","error"].each(function(E){var F="on"+E; +var G=B[F];delete B[F];D[F]=function(){if(!D){return ;}if(!A.parentNode){A.width=D.width;A.height=D.height;}D=D.onload=D.onabort=D.onerror=null;G.delay(1,A,A); +A.fireEvent(E,A,1);};});D.src=A.src=C;if(D&&D.complete){D.onload.delay(1);}return A.setProperties(B);},images:function(D,C){C=$merge({onComplete:$empty,onProgress:$empty},C); +if(!D.push){D=[D];}var A=[];var B=0;D.each(function(F){var E=new Asset.image(F,{onload:function(){C.onProgress.call(this,B,D.indexOf(F));B++;if(B==D.length){C.onComplete(); +}}});A.push(E);});return new Elements(A);}});var Sortables=new Class({Implements:[Events,Options],options:{snap:4,opacity:1,clone:false,revert:false,handle:false,constrain:false},initialize:function(A,B){this.setOptions(B); +this.elements=[];this.lists=[];this.idle=true;this.addLists($$($(A)||A));if(!this.options.clone){this.options.revert=false;}if(this.options.revert){this.effect=new Fx.Morph(null,$merge({duration:250,link:"cancel"},this.options.revert)); +}},attach:function(){this.addLists(this.lists);return this;},detach:function(){this.lists=this.removeLists(this.lists);return this;},addItems:function(){Array.flatten(arguments).each(function(A){this.elements.push(A); +var B=A.retrieve("sortables:start",this.start.bindWithEvent(this,A));(this.options.handle?A.getElement(this.options.handle)||A:A).addEvent("mousedown",B); +},this);return this;},addLists:function(){Array.flatten(arguments).each(function(A){this.lists.push(A);this.addItems(A.getChildren());},this);return this; +},removeItems:function(){var A=[];Array.flatten(arguments).each(function(B){A.push(B);this.elements.erase(B);var C=B.retrieve("sortables:start");(this.options.handle?B.getElement(this.options.handle)||B:B).removeEvent("mousedown",C); +},this);return $$(A);},removeLists:function(){var A=[];Array.flatten(arguments).each(function(B){A.push(B);this.lists.erase(B);this.removeItems(B.getChildren()); +},this);return $$(A);},getClone:function(B,A){if(!this.options.clone){return new Element("div").inject(document.body);}if($type(this.options.clone)=="function"){return this.options.clone.call(this,B,A,this.list); +}return A.clone(true).setStyles({margin:"0px",position:"absolute",visibility:"hidden",width:A.getStyle("width")}).inject(this.list).position(A.getPosition(A.getOffsetParent())); +},getDroppables:function(){var A=this.list.getChildren();if(!this.options.constrain){A=this.lists.concat(A).erase(this.list);}return A.erase(this.clone).erase(this.element); +},insert:function(C,B){var A="inside";if(this.lists.contains(B)){this.list=B;this.drag.droppables=this.getDroppables();}else{A=this.element.getAllPrevious().contains(B)?"before":"after"; +}this.element.inject(B,A);this.fireEvent("sort",[this.element,this.clone]);},start:function(B,A){if(!this.idle){return ;}this.idle=false;this.element=A; +this.opacity=A.get("opacity");this.list=A.getParent();this.clone=this.getClone(B,A);this.drag=new Drag.Move(this.clone,{snap:this.options.snap,container:this.options.constrain&&this.element.getParent(),droppables:this.getDroppables(),onSnap:function(){B.stop(); +this.clone.setStyle("visibility","visible");this.element.set("opacity",this.options.opacity||0);this.fireEvent("start",[this.element,this.clone]);}.bind(this),onEnter:this.insert.bind(this),onCancel:this.reset.bind(this),onComplete:this.end.bind(this)}); +this.clone.inject(this.element,"before");this.drag.start(B);},end:function(){this.drag.detach();this.element.set("opacity",this.opacity);if(this.effect){var A=this.element.getStyles("width","height"); +var B=this.clone.computePosition(this.element.getPosition(this.clone.offsetParent));this.effect.element=this.clone;this.effect.start({top:B.top,left:B.left,width:A.width,height:A.height,opacity:0.25}).chain(this.reset.bind(this)); +}else{this.reset();}},reset:function(){this.idle=true;this.clone.destroy();this.fireEvent("complete",this.element);},serialize:function(){var C=Array.link(arguments,{modifier:Function.type,index:$defined}); +var B=this.lists.map(function(D){return D.getChildren().map(C.modifier||function(E){return E.get("id");},this);},this);var A=C.index;if(this.lists.length==1){A=0; +}return $chk(A)&&A>=0&&AB[F]){G=D.page[F]-this.options.offsets[F]-E[F];}this.tip.setStyle(C[F],G); +}},fill:function(A,B){(typeof B=="string")?A.set("html",B):A.adopt(B);},show:function(){this.fireEvent("show",this.tip);},hide:function(){this.fireEvent("hide",this.tip); +}});var SmoothScroll=new Class({Extends:Fx.Scroll,initialize:function(B,C){C=C||document;var E=C.getDocument(),D=C.getWindow();this.parent(E,B);this.links=(this.options.links)?$$(this.options.links):$$(E.links); +var A=D.location.href.match(/^[^#]*/)[0]+"#";this.links.each(function(G){if(G.href.indexOf(A)!=0){return ;}var F=G.href.substr(A.length);if(F&&$(F)){this.useLink(G,F); +}},this);if(!Browser.Engine.webkit419){this.addEvent("complete",function(){D.location.hash=this.anchor;},true);}},useLink:function(B,A){B.addEvent("click",function(C){this.anchor=A; +this.toElement(A);C.stop();}.bind(this));}});var Slider=new Class({Implements:[Events,Options],options:{onTick:function(A){if(this.options.snap){A=this.toPosition(this.step); +}this.knob.setStyle(this.property,A);},snap:false,offset:0,range:false,wheel:false,steps:100,mode:"horizontal"},initialize:function(E,A,D){this.setOptions(D); +this.element=$(E);this.knob=$(A);this.previousChange=this.previousEnd=this.step=-1;this.element.addEvent("mousedown",this.clickedElement.bind(this));if(this.options.wheel){this.element.addEvent("mousewheel",this.scrolledElement.bindWithEvent(this)); +}var F,B={},C={x:false,y:false};switch(this.options.mode){case"vertical":this.axis="y";this.property="top";F="offsetHeight";break;case"horizontal":this.axis="x"; +this.property="left";F="offsetWidth";}this.half=this.knob[F]/2;this.full=this.element[F]-this.knob[F]+(this.options.offset*2);this.min=$chk(this.options.range[0])?this.options.range[0]:0; +this.max=$chk(this.options.range[1])?this.options.range[1]:this.options.steps;this.range=this.max-this.min;this.steps=this.options.steps||this.full;this.stepSize=Math.abs(this.range)/this.steps; +this.stepWidth=this.stepSize*this.full/Math.abs(this.range);this.knob.setStyle("position","relative").setStyle(this.property,-this.options.offset);C[this.axis]=this.property; +B[this.axis]=[-this.options.offset,this.full-this.options.offset];this.drag=new Drag(this.knob,{snap:0,limit:B,modifiers:C,onDrag:this.draggedKnob.bind(this),onStart:this.draggedKnob.bind(this),onComplete:function(){this.draggedKnob(); +this.end();}.bind(this)});if(this.options.snap){this.drag.options.grid=Math.ceil(this.stepWidth);this.drag.options.limit[this.axis][1]=this.full;}},set:function(A){if(!((this.range>0)^(A0)^(A>this.max))){A=this.max;}this.step=Math.round(A);this.checkStep();this.end();this.fireEvent("tick",this.toPosition(this.step));return this; +},clickedElement:function(C){var B=this.range<0?-1:1;var A=C.page[this.axis]-this.element.getPosition()[this.axis]-this.half;A=A.limit(-this.options.offset,this.full-this.options.offset); +this.step=Math.round(this.min+B*this.toStep(A));this.checkStep();this.end();this.fireEvent("tick",A);},scrolledElement:function(A){var B=(this.options.mode=="horizontal")?(A.wheel<0):(A.wheel>0); +this.set(B?this.step-this.stepSize:this.step+this.stepSize);A.stop();},draggedKnob:function(){var B=this.range<0?-1:1;var A=this.drag.value.now[this.axis]; +A=A.limit(-this.options.offset,this.full-this.options.offset);this.step=Math.round(this.min+B*this.toStep(A));this.checkStep();},checkStep:function(){if(this.previousChange!=this.step){this.previousChange=this.step; +this.fireEvent("change",this.step);}},end:function(){if(this.previousEnd!==this.step){this.previousEnd=this.step;this.fireEvent("complete",this.step+""); +}},toStep:function(A){var B=(A+this.options.offset)*this.stepSize/this.full*this.steps;return this.options.steps?Math.round(B-=B%this.stepSize):B;},toPosition:function(A){return(this.full*Math.abs(this.min-A))/(this.steps*this.stepSize)-this.options.offset; +}});var Scroller=new Class({Implements:[Events,Options],options:{area:20,velocity:1,onChange:function(A,B){this.element.scrollTo(A,B);}},initialize:function(B,A){this.setOptions(A); +this.element=$(B);this.listener=($type(this.element)!="element")?$(this.element.getDocument().body):this.element;this.timer=null;this.coord=this.getCoords.bind(this); +},start:function(){this.listener.addEvent("mousemove",this.coord);},stop:function(){this.listener.removeEvent("mousemove",this.coord);this.timer=$clear(this.timer); +},getCoords:function(A){this.page=(this.listener.get("tag")=="body")?A.client:A.page;if(!this.timer){this.timer=this.scroll.periodical(50,this);}},scroll:function(){var B=this.element.getSize(),A=this.element.getScroll(),E=this.element.getPosition(),D={x:0,y:0}; +for(var C in this.page){if(this.page[C]<(this.options.area+E[C])&&A[C]!=0){D[C]=(this.page[C]-this.options.area-E[C])*this.options.velocity;}else{if(this.page[C]+this.options.area>(B[C]+E[C])&&B[C]+B[C]!=A[C]){D[C]=(this.page[C]-B[C]+this.options.area-E[C])*this.options.velocity; +}}}if(D.y||D.x){this.fireEvent("change",[A.x+D.x,A.y+D.y]);}}});var Accordion=new Class({Extends:Fx.Elements,options:{display:0,show:false,height:true,width:false,opacity:true,fixedHeight:false,fixedWidth:false,wait:false,alwaysHide:false},initialize:function(){var C=Array.link(arguments,{container:Element.type,options:Object.type,togglers:$defined,elements:$defined}); +this.parent(C.elements,C.options);this.togglers=$$(C.togglers);this.container=$(C.container);this.previous=-1;if(this.options.alwaysHide){this.options.wait=true; +}if($chk(this.options.show)){this.options.display=false;this.previous=this.options.show;}if(this.options.start){this.options.display=false;this.options.show=false; +}this.effects={};if(this.options.opacity){this.effects.opacity="fullOpacity";}if(this.options.width){this.effects.width=this.options.fixedWidth?"fullWidth":"offsetWidth"; +}if(this.options.height){this.effects.height=this.options.fixedHeight?"fullHeight":"scrollHeight";}for(var B=0,A=this.togglers.length;B0));this.fireEvent(C?"background":"active",[this.togglers[D],E]); +for(var F in this.effects){B[D][F]=C?0:E[this.effects[F]];}},this);return this.start(B);}}); \ No newline at end of file diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/style/_notes/dwsync.xml b/oss/joomla/trunk/modules/mod_news_show_gk3/style/_notes/dwsync.xml new file mode 100644 index 00000000..d00de8b0 --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/style/_notes/dwsync.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/style/index.html b/oss/joomla/trunk/modules/mod_news_show_gk3/style/index.html new file mode 100644 index 00000000..fa6d84e8 --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/style/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/style/style.css b/oss/joomla/trunk/modules/mod_news_show_gk3/style/style.css new file mode 100644 index 00000000..389545e8 --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/style/style.css @@ -0,0 +1,132 @@ +/** +* Gavick News Show GK3 - CSS +* @package Joomla! +* @Copyright (C) 2008-2009 Gavick.com +* @ All rights reserved +* @ Joomla! is Free Software +* @ Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html +* @version $Revision: 3.2 $ +**/ + +h4.ta_center, p.ta_center{text-align: center;} +h4.ta_left, p.ta_left{text-align: left;} +h4.ta_right, p.ta_right{text-align: right;} +p.ta_justify{text-align: justify;} +img.i_left{display: block;float: left;} +img.i_right{display: block;float: right;} +img.i_center{display: block;margin: 0 auto;} + +a.readon_class{} + +a.p_left{ + float: left !important; +} + +a.p_right{ + float: right !important; +} + +a.p_center{ + margin: 0 auto !important; +} + +h4.gk_news_show_news_header { + margin: 0 0 8px; + padding:0; + font-size:1.4em; +} + +a.gk_news_show_news_readmore {} + +a.gk_news_show_news_readmore_inline { + margin-left: 10px; +} + +p.gk_news_show_news_text { + margin-top: 3px; + font-size:125%; + line-height:1.5em; +} + +table.gk_news_show_table { + margin-top: 5px; + margin-right: 0; + margin-bottom: 10px; + margin-left: 0; + border-top-style: dotted; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + border-top-color: #003399; + border-top-width: 100%; +} + +td.gk_news_show_tablerow_top {} + +div.gk_news_show_panel { + padding: 6px 0 0 0; +} + +div.gk_news_show_panel_amount { + float: right; + width: 50px; + padding: 0; +} + +div.gk_news_show_panel_amount_plus, +div.gk_news_show_panel_amount_minus { + width: 12px; + height: 12px; + float:left; + line-height: 12px; + padding: 0; + text-align: center; + cursor: pointer; + margin-right: 3px; + border: 1px solid #EEE; +} + +span.gk_news_show_panel_amount_value { + display: block; + float:left; + font-size: 10px; + margin-left: 4px; +} + +div.gk_news_show_panel_tools, +div.gk_news_show_panel_tools_hidden { + cursor: pointer; + padding: 0; + float:right; + font-size: 10px; +} + +td.gk_news_show_panel-border { + border-top: 1px dotted #ccc; +} + +tr.gk_news_show_tablerow {} + +td.gk_news_show_left {} + +td.gk_news_show_center {} + +td.gk_news_show_right {} + +td.gk_news_show_tablerow_bottom ul.gk_news_show_list_floated {} + +ul.gk_news_show_list {} + +tr.gk_news_show_tablerow{} + +tr.gk_news_show_tablerow_invisible{ + display: none; +} + +li.block{ + display: block; +} + +li.none{ + display: none; +} \ No newline at end of file diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/tmpl/index.html b/oss/joomla/trunk/modules/mod_news_show_gk3/tmpl/index.html new file mode 100644 index 00000000..fa6d84e8 --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/tmpl/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/tmpl/view.default.php b/oss/joomla/trunk/modules/mod_news_show_gk3/tmpl/view.default.php new file mode 100644 index 00000000..bb2d3452 --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/tmpl/view.default.php @@ -0,0 +1,100 @@ +na < $this->news_amount) $this->news_amount = $this->na; + +?> + +mstyle; ?> class="gk_news_show_table" id="module_unique_id; ?>"> +news_amount-($b*$this->news_column))>0);$b++) : ?> + + + + + + + + news_column;$c++) : ?> + news_column == 1) + { + $tablecell_class = 'gk_news_show_center'; + } + elseif($this->news_column == 2) + { + $tablecell_class = ($c == 0) ? 'gk_news_show_left' : 'gk_news_show_right'; + } + else + { + if($c == 0) + { + $tablecell_class = 'gk_news_show_left'; + } + else + { + if($c == ($this->news_column - 1) ) + { + $tablecell_class = 'gk_news_show_right'; + } + else + { + $tablecell_class = 'gk_news_show_center'; + } + } + } + ?> + + news_column)+$c) >= count($news_code_html_tab)) : ?> + + + + + + + + +show_list == 1 || $this->news_more_in == 1) : ?> + + + + + +panel == 1) : ?> + + + + + +
    + rounded):?> +
    +
    +
    +
    + + news_column)+$c)]))echo $news_code_html_tab[(($b*$this->news_column)+$c)];?> + rounded):?> +
    +
    +
    +
    + +
    + news_more_in == 1) echo '

    '.$this->more_in_text.'

    '; ?> + show_list == 1) : ?>
    +
    +
    -
    +
    +
    +
    \ No newline at end of file diff --git a/oss/joomla/trunk/modules/mod_news_show_gk3/tmpl/view.script_style.php b/oss/joomla/trunk/modules/mod_news_show_gk3/tmpl/view.script_style.php new file mode 100644 index 00000000..ea97101f --- /dev/null +++ b/oss/joomla/trunk/modules/mod_news_show_gk3/tmpl/view.script_style.php @@ -0,0 +1,18 @@ + + +useMoo == 1) : ?> +useScript == 1) : ?> \ No newline at end of file diff --git a/oss/joomla/trunk/templates/hawebs/css/_notes/dwsync.xml b/oss/joomla/trunk/templates/hawebs/css/_notes/dwsync.xml new file mode 100644 index 00000000..9b348943 --- /dev/null +++ b/oss/joomla/trunk/templates/hawebs/css/_notes/dwsync.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/oss/joomla/trunk/templates/hawebs/css/blue.css b/oss/joomla/trunk/templates/hawebs/css/blue.css index c6b23b2b..df92777e 100644 --- a/oss/joomla/trunk/templates/hawebs/css/blue.css +++ b/oss/joomla/trunk/templates/hawebs/css/blue.css @@ -4,7 +4,7 @@ a:link, a:visited { } a:hover { - color: #0b3768; + color: #FF6600; } #pillmenu a:hover { diff --git a/oss/joomla/trunk/templates/hawebs/css/template.css b/oss/joomla/trunk/templates/hawebs/css/template.css index 73cd9e1c..dabac696 100644 --- a/oss/joomla/trunk/templates/hawebs/css/template.css +++ b/oss/joomla/trunk/templates/hawebs/css/template.css @@ -299,7 +299,7 @@ table.nopad td.middle_pad { table.nopad li{ font-size:1.2em; - line-height:1.2em; + line-height:1.6em; } /*****************************************/