diff --git a/application/config/api.php b/application/config/api.php
old mode 100644
new mode 100755
diff --git a/application/config/auth.php b/application/config/auth.php
old mode 100644
new mode 100755
diff --git a/application/config/autoload.php b/application/config/autoload.php
old mode 100644
new mode 100755
diff --git a/application/config/constants.php b/application/config/constants.php
old mode 100644
new mode 100755
diff --git a/application/config/forms.php b/application/config/forms.php
old mode 100644
new mode 100755
diff --git a/application/config/hooks.php b/application/config/hooks.php
old mode 100644
new mode 100755
diff --git a/application/config/index.html b/application/config/index.html
old mode 100644
new mode 100755
diff --git a/application/config/mimes.php b/application/config/mimes.php
old mode 100644
new mode 100755
diff --git a/application/config/routes.php b/application/config/routes.php
old mode 100644
new mode 100755
diff --git a/application/config/smileys.php b/application/config/smileys.php
old mode 100644
new mode 100755
diff --git a/application/config/user_agents.php b/application/config/user_agents.php
old mode 100644
new mode 100755
diff --git a/application/controllers/index.html b/application/controllers/index.html
old mode 100644
new mode 100755
diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php
old mode 100644
new mode 100755
diff --git a/application/core/MY_Controller.php b/application/core/MY_Controller.php
old mode 100644
new mode 100755
diff --git a/application/core/MY_Input.php b/application/core/MY_Input.php
old mode 100644
new mode 100755
diff --git a/application/core/MY_Loader.php b/application/core/MY_Loader.php
old mode 100644
new mode 100755
diff --git a/application/core/MY_Router.php b/application/core/MY_Router.php
old mode 100644
new mode 100755
diff --git a/application/core/MY_URI.php b/application/core/MY_URI.php
old mode 100644
new mode 100755
diff --git a/application/errors/error_404.php b/application/errors/error_404.php
old mode 100644
new mode 100755
diff --git a/application/errors/error_db.php b/application/errors/error_db.php
old mode 100644
new mode 100755
diff --git a/application/errors/error_general.php b/application/errors/error_general.php
old mode 100644
new mode 100755
diff --git a/application/errors/error_php.php b/application/errors/error_php.php
old mode 100644
new mode 100755
diff --git a/application/errors/index.html b/application/errors/index.html
old mode 100644
new mode 100755
diff --git a/application/helpers/admin_helper.php b/application/helpers/admin_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/array_helper.php b/application/helpers/array_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/cache_helper.php b/application/helpers/cache_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/category_helper.php b/application/helpers/category_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/component_helper.php b/application/helpers/component_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/dx_captcha_helper.php b/application/helpers/dx_captcha_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/form_csrf_helper.php b/application/helpers/form_csrf_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/html_helper.php b/application/helpers/html_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/index.html b/application/helpers/index.html
old mode 100644
new mode 100755
diff --git a/application/helpers/javascript_helper.php b/application/helpers/javascript_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/my_url_helper.php b/application/helpers/my_url_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/page_helper.php b/application/helpers/page_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/recaptcha_helper.php b/application/helpers/recaptcha_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/rules_helper.php b/application/helpers/rules_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/translit_helper.php b/application/helpers/translit_helper.php
old mode 100644
new mode 100755
diff --git a/application/helpers/widget_helper.php b/application/helpers/widget_helper.php
old mode 100644
new mode 100755
diff --git a/application/index.html b/application/index.html
old mode 100644
new mode 100755
diff --git a/application/language/admin/admin_lang.php b/application/language/admin/admin_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/admin/admin_lang_en.php b/application/language/admin/admin_lang_en.php
old mode 100644
new mode 100755
diff --git a/application/language/admin/english_lang/admin_lang.php b/application/language/admin/english_lang/admin_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/admin/english_lang/admin_shop_lang.php b/application/language/admin/english_lang/admin_shop_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/admin/english_lang/basemodules_lang.php b/application/language/admin/english_lang/basemodules_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/admin/english_lang/controller_lang.php b/application/language/admin/english_lang/controller_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/admin/russian_lang/admin_lang.php b/application/language/admin/russian_lang/admin_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/admin/russian_lang/admin_shop_lang.php b/application/language/admin/russian_lang/admin_shop_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/admin/russian_lang/basemodules_lang.php b/application/language/admin/russian_lang/basemodules_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/admin/russian_lang/controller_lang.php b/application/language/admin/russian_lang/controller_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/calendar_lang.php b/application/language/english/calendar_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/date_lang.php b/application/language/english/date_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/db_lang.php b/application/language/english/db_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/dx_auth_lang.php b/application/language/english/dx_auth_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/email_lang.php b/application/language/english/email_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/form_validation_lang.php b/application/language/english/form_validation_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/ftp_lang.php b/application/language/english/ftp_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/imglib_lang.php b/application/language/english/imglib_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/index.html b/application/language/english/index.html
old mode 100644
new mode 100755
diff --git a/application/language/english/main_lang.php b/application/language/english/main_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/number_lang.php b/application/language/english/number_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/profiler_lang.php b/application/language/english/profiler_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/scaffolding_lang.php b/application/language/english/scaffolding_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/unit_test_lang.php b/application/language/english/unit_test_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/upload_lang.php b/application/language/english/upload_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/english/validation_lang.php b/application/language/english/validation_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/index.html b/application/language/index.html
old mode 100644
new mode 100755
diff --git a/application/language/russian/calendar_lang.php b/application/language/russian/calendar_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/date_lang.php b/application/language/russian/date_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/db_lang.php b/application/language/russian/db_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/dx_auth_lang.php b/application/language/russian/dx_auth_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/email_lang.php b/application/language/russian/email_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/form_validation_lang.php b/application/language/russian/form_validation_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/ftp_lang.php b/application/language/russian/ftp_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/imglib_lang.php b/application/language/russian/imglib_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/index.html b/application/language/russian/index.html
old mode 100644
new mode 100755
diff --git a/application/language/russian/main_lang.php b/application/language/russian/main_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/number_lang.php b/application/language/russian/number_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/profiler_lang.php b/application/language/russian/profiler_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/scaffolding_lang.php b/application/language/russian/scaffolding_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/unit_test_lang.php b/application/language/russian/unit_test_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/upload_lang.php b/application/language/russian/upload_lang.php
old mode 100644
new mode 100755
diff --git a/application/language/russian/validation_lang.php b/application/language/russian/validation_lang.php
old mode 100644
new mode 100755
diff --git a/application/libraries/BaseAdminController.php b/application/libraries/BaseAdminController.php
old mode 100644
new mode 100755
diff --git a/application/libraries/Console.php b/application/libraries/Console.php
old mode 100644
new mode 100755
diff --git a/application/libraries/DX_Auth.php b/application/libraries/DX_Auth.php
old mode 100644
new mode 100755
diff --git a/application/libraries/DX_Auth_Event.php b/application/libraries/DX_Auth_Event.php
old mode 100644
new mode 100755
diff --git a/application/libraries/Elfinder_lib.php b/application/libraries/Elfinder_lib.php
old mode 100644
new mode 100755
diff --git a/application/libraries/MCAPI.php b/application/libraries/MCAPI.php
old mode 100644
new mode 100755
diff --git a/application/libraries/MY_Email.php b/application/libraries/MY_Email.php
old mode 100644
new mode 100755
diff --git a/application/libraries/MY_Form_validation.php b/application/libraries/MY_Form_validation.php
old mode 100644
new mode 100755
diff --git a/application/libraries/MY_Pagination.php b/application/libraries/MY_Pagination.php
old mode 100644
new mode 100755
diff --git a/application/libraries/Permitions.php b/application/libraries/Permitions.php
old mode 100644
new mode 100755
diff --git a/application/libraries/Profiler.php b/application/libraries/Profiler.php
old mode 100644
new mode 100755
diff --git a/application/libraries/cache.php b/application/libraries/cache.php
old mode 100644
new mode 100755
diff --git a/application/libraries/cms_hooks.php b/application/libraries/cms_hooks.php
old mode 100644
new mode 100755
diff --git a/application/libraries/elfinder/MySQLStorage.sql b/application/libraries/elfinder/MySQLStorage.sql
old mode 100644
new mode 100755
diff --git a/application/libraries/elfinder/connector.php b/application/libraries/elfinder/connector.php
old mode 100644
new mode 100755
diff --git a/application/libraries/elfinder/elFinder.class.php b/application/libraries/elfinder/elFinder.class.php
old mode 100644
new mode 100755
diff --git a/application/libraries/elfinder/elFinderConnector.class.php b/application/libraries/elfinder/elFinderConnector.class.php
old mode 100644
new mode 100755
diff --git a/application/libraries/elfinder/elFinderVolumeDriver.class.php b/application/libraries/elfinder/elFinderVolumeDriver.class.php
old mode 100644
new mode 100755
diff --git a/application/libraries/elfinder/elFinderVolumeLocalFileSystem.class.php b/application/libraries/elfinder/elFinderVolumeLocalFileSystem.class.php
old mode 100644
new mode 100755
diff --git a/application/libraries/elfinder/elFinderVolumeMySQL.class.php b/application/libraries/elfinder/elFinderVolumeMySQL.class.php
old mode 100644
new mode 100755
diff --git a/application/libraries/elfinder/mime.types b/application/libraries/elfinder/mime.types
old mode 100644
new mode 100755
diff --git a/application/libraries/index.html b/application/libraries/index.html
old mode 100644
new mode 100755
diff --git a/application/libraries/lib_admin.php b/application/libraries/lib_admin.php
old mode 100644
new mode 100755
diff --git a/application/libraries/lib_category.php b/application/libraries/lib_category.php
old mode 100644
new mode 100755
diff --git a/application/libraries/lib_csrf.php b/application/libraries/lib_csrf.php
old mode 100644
new mode 100755
diff --git a/application/libraries/lib_init.php b/application/libraries/lib_init.php
old mode 100644
new mode 100755
diff --git a/application/libraries/lib_seo.php b/application/libraries/lib_seo.php
old mode 100644
new mode 100755
diff --git a/application/libraries/lib_xml.php b/application/libraries/lib_xml.php
old mode 100644
new mode 100755
diff --git a/application/libraries/mabilis/Config.class.php b/application/libraries/mabilis/Config.class.php
old mode 100644
new mode 100755
diff --git a/application/libraries/mabilis/Mabilis.class.php b/application/libraries/mabilis/Mabilis.class.php
old mode 100644
new mode 100755
diff --git a/application/libraries/mabilis/Mabilis.compiler.php b/application/libraries/mabilis/Mabilis.compiler.php
old mode 100644
new mode 100755
diff --git a/application/libraries/mabilis/functions/func.counter.php b/application/libraries/mabilis/functions/func.counter.php
old mode 100644
new mode 100755
diff --git a/application/libraries/mabilis/functions/func.truncate.php b/application/libraries/mabilis/functions/func.truncate.php
old mode 100644
new mode 100755
diff --git a/application/libraries/mabilis/functions/index.html b/application/libraries/mabilis/functions/index.html
old mode 100644
new mode 100755
diff --git a/application/libraries/mabilis/index.html b/application/libraries/mabilis/index.html
old mode 100644
new mode 100755
diff --git a/application/libraries/mem_cache.php b/application/libraries/mem_cache.php
old mode 100644
new mode 100755
diff --git a/application/libraries/native_session.php b/application/libraries/native_session.php
old mode 100644
new mode 100755
diff --git a/application/libraries/pclzip.php b/application/libraries/pclzip.php
old mode 100644
new mode 100755
diff --git a/application/libraries/template.php b/application/libraries/template.php
old mode 100644
new mode 100755
diff --git a/application/models/cms_admin.php b/application/models/cms_admin.php
old mode 100644
new mode 100755
diff --git a/application/models/cms_base.php b/application/models/cms_base.php
old mode 100644
new mode 100755
diff --git a/application/models/dx_auth/index.html b/application/models/dx_auth/index.html
old mode 100644
new mode 100755
diff --git a/application/models/dx_auth/login_attempts.php b/application/models/dx_auth/login_attempts.php
old mode 100644
new mode 100755
diff --git a/application/models/dx_auth/permissions.php b/application/models/dx_auth/permissions.php
old mode 100644
new mode 100755
diff --git a/application/models/dx_auth/roles.php b/application/models/dx_auth/roles.php
old mode 100644
new mode 100755
diff --git a/application/models/dx_auth/user_autologin.php b/application/models/dx_auth/user_autologin.php
old mode 100644
new mode 100755
diff --git a/application/models/dx_auth/user_profile.php b/application/models/dx_auth/user_profile.php
old mode 100644
new mode 100755
diff --git a/application/models/dx_auth/user_temp.php b/application/models/dx_auth/user_temp.php
old mode 100644
new mode 100755
diff --git a/application/models/dx_auth/users.php b/application/models/dx_auth/users.php
old mode 100644
new mode 100755
diff --git a/application/models/email_model.php b/application/models/email_model.php
old mode 100644
new mode 100755
diff --git a/application/models/index.html b/application/models/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/CMSFactory/BaseEvents.php b/application/modules/CMSFactory/BaseEvents.php
old mode 100644
new mode 100755
diff --git a/application/modules/CMSFactory/CMSFactory.php b/application/modules/CMSFactory/CMSFactory.php
old mode 100644
new mode 100755
diff --git a/application/modules/CMSFactory/Events.php b/application/modules/CMSFactory/Events.php
old mode 100644
new mode 100755
diff --git a/application/modules/CMSFactory/_module_info.php b/application/modules/CMSFactory/_module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/CMSFactory/admin.php b/application/modules/CMSFactory/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/CMSFactory/assetManager.php b/application/modules/CMSFactory/assetManager.php
old mode 100644
new mode 100755
diff --git a/application/modules/CMSFactory/assets/admin/index.tpl b/application/modules/CMSFactory/assets/admin/index.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/admin/admin.php b/application/modules/admin/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/admin_logs.php b/application/modules/admin/admin_logs.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/admin_search.php b/application/modules/admin/admin_search.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/backup.php b/application/modules/admin/backup.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/cache_all.php b/application/modules/admin/cache_all.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/categories.php b/application/modules/admin/categories.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/components.php b/application/modules/admin/components.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/dashboard.php b/application/modules/admin/dashboard.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/index.html b/application/modules/admin/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/admin/languages.php b/application/modules/admin/languages.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/login.php b/application/modules/admin/login.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/mod_search.php b/application/modules/admin/mod_search.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/pages.php b/application/modules/admin/pages.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/rbac.php b/application/modules/admin/rbac.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/settings.php b/application/modules/admin/settings.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/sys_info.php b/application/modules/admin/sys_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/sys_upgrade.php b/application/modules/admin/sys_upgrade.php
old mode 100644
new mode 100755
diff --git a/application/modules/admin/widgets_manager.php b/application/modules/admin/widgets_manager.php
old mode 100644
new mode 100755
diff --git a/application/modules/auth/auth.php b/application/modules/auth/auth.php
old mode 100644
new mode 100755
diff --git a/application/modules/auth/index.html b/application/modules/auth/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/auth/module_info.php b/application/modules/auth/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/admin.php b/application/modules/cfcm/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/cfcm.php b/application/modules/cfcm/cfcm.php
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/cfcm_forms.php b/application/modules/cfcm/cfcm_forms.php
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/hooks.xml b/application/modules/cfcm/hooks.xml
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/module_info.php b/application/modules/cfcm/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/templates/admin/_form.tpl b/application/modules/cfcm/templates/admin/_form.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/templates/admin/_onpage_form.tpl b/application/modules/cfcm/templates/admin/_onpage_form.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/templates/admin/fields_tab.tpl b/application/modules/cfcm/templates/admin/fields_tab.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/templates/admin/group_list.tpl b/application/modules/cfcm/templates/admin/group_list.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/templates/admin/index.html b/application/modules/cfcm/templates/admin/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/templates/admin/index.tpl b/application/modules/cfcm/templates/admin/index.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/templates/admin/top_navigation.tpl b/application/modules/cfcm/templates/admin/top_navigation.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/templates/index.html b/application/modules/cfcm/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/cfcm/templates/public/index.html b/application/modules/cfcm/templates/public/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/comments/admin.php b/application/modules/comments/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/comments/api.php b/application/modules/comments/api.php
old mode 100644
new mode 100755
index 773f0862a2..0c1bc637b8
--- a/application/modules/comments/api.php
+++ b/application/modules/comments/api.php
@@ -5,6 +5,14 @@
class Api extends Comments {
public $tpl_name = 'comments_api';
+ public $period = 5; // Post comment period in minutes. If user is unregistered, check will be made by ip address. 0 - To disable this method.
+ public $can_comment = 0; // Possible values: 0 - all, 1 - registered only.
+ public $max_comment_length = 500; // Max. comments text lenght.
+ public $use_captcha = FALSE; // Possible values TRUE/FALSE;
+ public $cache_ttl = 86400;
+ public $comment_controller = 'comments/add';
+ public $use_moderation = TRUE;
+ public $validation_errors;
public function __construct() {
parent::__construct();
@@ -27,7 +35,6 @@ private function init_settings() {
}
public function renderPosts() {
-// var_dump($_POST);
$comments = array();
($hook = get_hook('comments_on_build_comments')) ? eval($hook) : NULL;
@@ -38,17 +45,23 @@ public function renderPosts() {
// ($hook = get_hook('comments_fetch_cache_ok')) ? eval($hook) : NULL;
// // Comments fetched from cahce file
// } else {
- $this->db->where('module', 'shop');
- $comments = $this->base->get($this->input->post(item_id));
+// $this->db->where('module', 'shop');
+ $comments = $this->base->get($this->parsUrl($_SERVER['HTTP_REFERER']));
// Read comments template
// Set page id for comments form
if ($comments != FALSE) {
($hook = get_hook('comments_store_cache')) ? eval($hook) : NULL;
- $this->cache->store('comments_' . $this->input->post(item_id) . $this->module, $comments, $this->cache_ttl, 'comments');
+ $this->cache->store('comments_' . $this->parsUrl($_SERVER['HTTP_REFERER']) . $this->module, $comments, $this->cache_ttl, 'comments');
}
//}
+ if ($comments != null) {
+ $comments_count = count($comments);
+ } else {
+ $comments_count = 0;
+ }
+
if (is_array($comments)) {
$i = 0;
foreach ($comments as $comment) {
@@ -69,11 +82,6 @@ public function renderPosts() {
//
// echo $this->pagination->create_links();
- if ($comments != null) {
- $comments_count = count($comments);
- } else {
- $comments_count = 0;
- }
$data = array(
'comments_arr' => $comments,
@@ -82,7 +90,7 @@ public function renderPosts() {
'total_comments' => lang('lang_total_comments') . count($comments),
'can_comment' => $this->can_comment,
'use_captcha' => $this->use_captcha,
- 'item_id' => $this->input->post(item_id)
+// 'item_id' => $this->input->post(item_id)
);
if ($this->use_captcha == TRUE) {
@@ -97,7 +105,11 @@ public function renderPosts() {
($hook = get_hook('comments_assign_tpl_data')) ? eval($hook) : NULL;
//$this->render('comments_list', array('comments'=>$comments));
- echo json_encode(array('comments' => $comments));
+ echo json_encode(array(
+ 'comments' => $comments,
+ 'total_comments' => $comments_count,
+ 'validation_errors' => $this->validation_errors
+ ));
}
/**
@@ -106,32 +118,142 @@ public function renderPosts() {
* if product - return id
*/
public function parsUrl($url) {
- if (strstr($url, 'product')) {
+ if (strstr($url, '/product/')) {
$url = parse_url($url);
$search = array('shop', 'product', '/');
$replace = array('', '', '');
$url = str_replace($search, $replace, $url['path']);
- $id = $this->db->select('id')->where('url', $url)->get('shop_products')->row();
+ $id = $this->db->select('id')
+ ->where('url', $url)
+ ->get('shop_products')
+ ->row();
+ return $id->id;
+ }
+
+ if (strstr($url, '/bloh/')) {
+ $url = parse_url($url);
+ $search = array('bloh', '/');
+ $replace = array('', '');
+ $url = str_replace($search, $replace, $url['path']);
+ $id = $this->db->select('id')
+ ->where('url', $url)
+ ->get('content')
+ ->row();
return $id->id;
}
}
+ public function getModule($url) {
+ if (strstr($url, '/shop/')) {
+ return 'shop';
+ }
+
+ if (strstr($url, '/bloh/')) {
+ return 'core';
+ }
+ }
+
public function newPost() {
+ ($hook = get_hook('comments_on_add')) ? eval($hook) : NULL;
+
$this->load->library('user_agent');
+ $this->load->library('form_validation');
+ $this->load->model('base');
+
+
+ $item_id = $this->parsUrl($_SERVER['HTTP_REFERER']);
+
+ // Check if page comments status.
+ if ($this->module == 'core') {
+ if ($this->base->get_item_comments_status($item_id) == FALSE) {
+ ($hook = get_hook('comments_page_comments_disabled')) ? eval($hook) : NULL;
+ $this->core->error(lang('error_comments_diabled'));
+ }
+ }
+
+ if ($this->period > 0)
+ if ($this->check_comment_period() == FALSE) {
+ ($hook = get_hook('comments_period_error')) ? eval($hook) : NULL;
+ $this->core->error(sprintf(lang('error_comments_period'), $this->period));
+ }
+
+ // Validate email and nickname from unregistered users.
+ if ($this->dx_auth->is_logged_in() == FALSE) {
+ ($hook = get_hook('comments_set_val_rules')) ? eval($hook) : NULL;
+
+ $this->form_validation->set_rules('comment_email', 'lang:lang_comment_email', 'trim|required|xss_clean|valid_email');
+ $this->form_validation->set_rules('comment_author', 'lang:lang_comment_author', 'trim|required|xss_clean|max_length[50]');
+ $this->form_validation->set_rules('comment_site', 'lang:lang_comment_site', 'trim|xss_clean|max_length[250]');
+ }
+
+ // Check captcha code if captcha_check enabled and user in not admin.
+ if ($this->use_captcha == TRUE AND $this->dx_auth->is_admin() == FALSE) {
+ ($hook = get_hook('comments_set_captcha')) ? eval($hook) : NULL;
+ if ($this->dx_auth->use_recaptcha)
+ $this->form_validation->set_rules('recaptcha_response_field', lang('lang_captcha'), 'trim|required|xss_clean|callback_captcha_check');
+ else
+ $this->form_validation->set_rules('captcha', lang('lang_captcha'), 'trim|required|xss_clean|callback_captcha_check');
+ }
+
+ $this->form_validation->set_rules('comment_text', 'lang:lang_comment_text', 'trim|required|xss_clean|max_length[' . $this->max_comment_length . ']');
+
+ if ($this->form_validation->run($this) == FALSE) {
+ ($hook = get_hook('comments_validation_failed')) ? eval($hook) : NULL;
+ //$this->core->error( validation_errors() );
+// $this->template->assign('comment_errors', validation_errors());
+ } else {
+ if ($this->dx_auth->is_logged_in() == FALSE) {
+ ($hook = get_hook('comments_author_not_logged')) ? eval($hook) : NULL;
+
+ $comment_author = trim(htmlspecialchars($this->input->post('comment_author')));
+ $comment_email = trim(htmlspecialchars($this->input->post('comment_email')));
+
+ // Write on cookie nickname and email
+ $this->_write_cookie($comment_author, $comment_email, $this->input->post('comment_site'));
+ } else {
+ ($hook = get_hook('comments_author_logged')) ? eval($hook) : NULL;
+
+ $user = $this->db->get_where('users', array('id' => $this->dx_auth->get_user_id()))->row_array();
+ $comment_author = $user['username'];
+ $comment_email = $user['email'];
+ }
+
+ $comment_text = trim(htmlspecialchars($this->input->post('comment_text')));
+ $comment_text = str_replace("\n", '
', $comment_text);
+ $comment_text_plus = trim(htmlspecialchars($this->input->post('comment_text_plus')));
+ $comment_text_plus = str_replace("\n", '
', $comment_text_plus);
+ $comment_text_minus = trim(htmlspecialchars($this->input->post('comment_text_minus')));
+ $comment_text_minus = str_replace("\n", '
', $comment_text_minus);
+ $rate = $this->input->post('ratec');
+ if ($this->input->post('ratec')) {
+ if (SProductsQuery::create()->findPk($item_id) !== null) {
+ $model = SProductsRatingQuery::create()->findPk($item_id);
+ if ($model === null) {
+ $model = new SProductsRating;
+ $model->setProductId($item_id);
+ }
+ $model->setVotes($model->getVotes() + 1);
+ $model->setRating($model->getRating() + $rate);
+ $model->save();
+ }
+ }
+ }
if ($this->input->post('action') == 'newPost') {
- $email = $this->db->select('email')->get_where('users', array('username' => $this->dx_auth->get_username()), 1)->row();
+ $email = $this->db->select('email')
+ ->get_where('users', array('username' => $this->dx_auth->get_username()), 1)
+ ->row();
- if ($this->dx_auth->is_logged_in())
+ if (!validation_errors()) {
$comment_data = array(
- 'module' => 'shop',//$this->module,
+ 'module' => $this->getModule($_SERVER['HTTP_REFERER']),
'user_id' => $this->dx_auth->get_user_id(), // 0 if unregistered
'user_name' => $this->dx_auth->get_username(),
'user_mail' => $email->email,
'user_site' => htmlspecialchars($this->input->post(comment_site)),
- 'text' => $this->input->post('comment_text'),
- 'text_plus' => $this->input->post('comment_text_plus'),
- 'text_minus' => $this->input->post('comment_text_minus'),
+ 'text' => $comment_text,
+ 'text_plus' => $comment_text_plus,
+ 'text_minus' => $comment_text_minus,
'item_id' => $this->parsUrl($_SERVER['HTTP_REFERER']),
'status' => $this->_comment_status(),
'agent' => $this->agent->agent_string(),
@@ -140,16 +262,27 @@ public function newPost() {
'rate' => $this->input->post('ratec'),
'parent' => $this->input->post('parent')
);
-// else
- $this->db->insert('comments', $comment_data);
- //return JSON
- echo json_encode(array('answer' => 'sucesfull'));
+ $this->db->insert('comments', $comment_data);
+ $this->validation_errors = '';
-// echo 'debugAPI';
+ //return sucesfull JSON answer
+ echo json_encode(
+ array(
+ 'answer' => 'sucesfull'
+ )
+ );
+ } else {
+ echo json_encode(
+ array(
+ 'answer' => 'error',
+ 'validation_errors' => validation_errors()
+ )
+ );
+ }
}
- else
- parent::test();
+// else
+// parent::add();
}
/**
@@ -216,5 +349,85 @@ public function setno() {
}
}
+ private function check_comment_period() {
+ ($hook = get_hook('comments_on_check_period')) ? eval($hook) : NULL;
+
+ if ($this->dx_auth->is_admin() == TRUE) {
+ return TRUE;
+ }
+
+ $this->db->select('id, date');
+ $this->db->order_by('date', 'desc');
+
+ if ($this->dx_auth->is_logged_in() == TRUE) {
+ $this->db->where('user_id', $this->dx_auth->get_user_id());
+ } else {
+ $this->db->where('user_ip', $this->input->ip_address());
+ }
+
+ $query = $this->db->get('comments', 1);
+
+ if ($query->num_rows() == 1) {
+ $query = $query->row_array();
+
+ $latest_comment = $query['date'];
+ $allow_time = $latest_comment + ($this->period * 60);
+
+ if ($allow_time > time()) {
+ return FALSE;
+ } else {
+ return TRUE;
+ }
+ } else {
+ return TRUE;
+ }
+ }
+
+ public function captcha_check($code) {
+ ($hook = get_hook('comments_captcha_check')) ? eval($hook) : NULL;
+
+ if (!$this->dx_auth->captcha_check($code))
+ return FALSE;
+ else
+ return TRUE;
+ }
+
+ function get_comments_number($id) {
+ $this->where('item_id', $id);
+ $query = $this->db->get('comments')->result_array();
+ return count($query);
+ }
+
+ private function _write_cookie($name, $email, $site) {
+ $this->load->helper('cookie');
+
+ ($hook = get_hook('comments_write_cookie')) ? eval($hook) : NULL;
+
+ $cookie_name = array(
+ 'name' => 'comment_author',
+ 'value' => $name,
+ 'expire' => '30000000',
+ );
+
+ $cookie_email = array(
+ 'name' => 'comment_email',
+ 'value' => $email,
+ 'expire' => '30000000',
+ );
+
+ $cookie_site = array(
+ 'name' => 'comment_site',
+ 'value' => $site,
+ 'expire' => '30000000',
+ );
+
+
+ set_cookie($cookie_name);
+ set_cookie($cookie_email);
+ set_cookie($cookie_site);
+
+ return TRUE;
+ }
+
}
diff --git a/application/modules/comments/comments.php b/application/modules/comments/comments.php
old mode 100644
new mode 100755
index 0daa7294a6..5b86d6f0d2
--- a/application/modules/comments/comments.php
+++ b/application/modules/comments/comments.php
@@ -342,7 +342,7 @@ private function _write_cookie($name, $email, $site) {
'value' => $site,
'expire' => '30000000',
);
-
+
set_cookie($cookie_name);
set_cookie($cookie_email);
diff --git a/application/modules/comments/comments_widgets.php b/application/modules/comments/comments_widgets.php
old mode 100644
new mode 100755
diff --git a/application/modules/comments/hooks.xml b/application/modules/comments/hooks.xml
old mode 100644
new mode 100755
diff --git a/application/modules/comments/index.html b/application/modules/comments/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/comments/language/english/comments_lang.php b/application/modules/comments/language/english/comments_lang.php
old mode 100644
new mode 100755
diff --git a/application/modules/comments/language/index.html b/application/modules/comments/language/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/comments/language/russian/comments_lang.php b/application/modules/comments/language/russian/comments_lang.php
old mode 100644
new mode 100755
diff --git a/application/modules/comments/models/base.php b/application/modules/comments/models/base.php
old mode 100644
new mode 100755
diff --git a/application/modules/comments/models/index.html b/application/modules/comments/models/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/comments/module_info.php b/application/modules/comments/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/comments/templates/comments_list.tpl b/application/modules/comments/templates/comments_list.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/comments/templates/edit.tpl b/application/modules/comments/templates/edit.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/comments/templates/index.html b/application/modules/comments/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/comments/templates/recent_comments.tpl b/application/modules/comments/templates/recent_comments.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/comments/templates/recent_comments_form.tpl b/application/modules/comments/templates/recent_comments_form.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/comments/templates/recent_product_comments.tpl b/application/modules/comments/templates/recent_product_comments.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/comments/templates/recent_product_comments_form.tpl b/application/modules/comments/templates/recent_product_comments_form.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/comments/templates/settings.tpl b/application/modules/comments/templates/settings.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/comments/widgets.xml b/application/modules/comments/widgets.xml
old mode 100644
new mode 100755
diff --git a/application/modules/core/core.php b/application/modules/core/core.php
old mode 100644
new mode 100755
diff --git a/application/modules/core/core_widgets.php b/application/modules/core/core_widgets.php
old mode 100644
new mode 100755
diff --git a/application/modules/core/hooks.xml b/application/modules/core/hooks.xml
old mode 100644
new mode 100755
diff --git a/application/modules/core/index.html b/application/modules/core/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/core/templates/index.html b/application/modules/core/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/core/templates/recent_news.tpl b/application/modules/core/templates/recent_news.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/core/templates/recent_news_form.tpl b/application/modules/core/templates/recent_news_form.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/core/templates/similar_posts.tpl b/application/modules/core/templates/similar_posts.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/core/widgets.xml b/application/modules/core/widgets.xml
old mode 100644
new mode 100755
diff --git a/application/modules/exchange/admin.php b/application/modules/exchange/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/exchange/exchange.php b/application/modules/exchange/exchange.php
old mode 100644
new mode 100755
diff --git a/application/modules/exchange/module_info.php b/application/modules/exchange/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/exchange/templates/admin/settings.tpl b/application/modules/exchange/templates/admin/settings.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/feedback/admin.php b/application/modules/feedback/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/feedback/feedback.php b/application/modules/feedback/feedback.php
old mode 100644
new mode 100755
diff --git a/application/modules/feedback/index.html b/application/modules/feedback/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/feedback/module_info.php b/application/modules/feedback/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/feedback/templates/admin/settings.tpl b/application/modules/feedback/templates/admin/settings.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/feedback/templates/feedback.tpl b/application/modules/feedback/templates/feedback.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/feedback/templates/index.html b/application/modules/feedback/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/filter/_admin.php b/application/modules/filter/_admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/filter/filter.php b/application/modules/filter/filter.php
old mode 100644
new mode 100755
diff --git a/application/modules/filter/module_info.php b/application/modules/filter/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/forms/elements/CForm_Checkbox.php b/application/modules/forms/elements/CForm_Checkbox.php
old mode 100644
new mode 100755
diff --git a/application/modules/forms/elements/CForm_Checkgroup.php b/application/modules/forms/elements/CForm_Checkgroup.php
old mode 100644
new mode 100755
diff --git a/application/modules/forms/elements/CForm_Hidden.php b/application/modules/forms/elements/CForm_Hidden.php
old mode 100644
new mode 100755
diff --git a/application/modules/forms/elements/CForm_Html.php b/application/modules/forms/elements/CForm_Html.php
old mode 100644
new mode 100755
diff --git a/application/modules/forms/elements/CForm_Password.php b/application/modules/forms/elements/CForm_Password.php
old mode 100644
new mode 100755
diff --git a/application/modules/forms/elements/CForm_Radiogroup.php b/application/modules/forms/elements/CForm_Radiogroup.php
old mode 100644
new mode 100755
diff --git a/application/modules/forms/elements/CForm_Select.php b/application/modules/forms/elements/CForm_Select.php
old mode 100644
new mode 100755
diff --git a/application/modules/forms/elements/CForm_Text.php b/application/modules/forms/elements/CForm_Text.php
old mode 100644
new mode 100755
diff --git a/application/modules/forms/elements/CForm_Textarea.php b/application/modules/forms/elements/CForm_Textarea.php
old mode 100644
new mode 100755
diff --git a/application/modules/forms/forms.php b/application/modules/forms/forms.php
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/admin.php b/application/modules/gallery/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/gallery.php b/application/modules/gallery/gallery.php
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/gallery_widgets.php b/application/modules/gallery/gallery_widgets.php
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/helpers/gallery_helper.php b/application/modules/gallery/helpers/gallery_helper.php
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/index.html b/application/modules/gallery/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/models/gallery_m.php b/application/modules/gallery/models/gallery_m.php
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/models/index.html b/application/modules/gallery/models/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/models/install.php b/application/modules/gallery/models/install.php
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/module_info.php b/application/modules/gallery/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/admin/album_list.tpl b/application/modules/gallery/templates/admin/album_list.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/admin/album_params.tpl b/application/modules/gallery/templates/admin/album_params.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/admin/categories.tpl b/application/modules/gallery/templates/admin/categories.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/admin/create_album.tpl b/application/modules/gallery/templates/admin/create_album.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/admin/create_category.tpl b/application/modules/gallery/templates/admin/create_category.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/admin/edit_album.tpl b/application/modules/gallery/templates/admin/edit_album.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/admin/edit_category.tpl b/application/modules/gallery/templates/admin/edit_category.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/admin/edit_image.tpl b/application/modules/gallery/templates/admin/edit_image.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/admin/error.tpl b/application/modules/gallery/templates/admin/error.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/admin/index.html b/application/modules/gallery/templates/admin/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/admin/settings.tpl b/application/modules/gallery/templates/admin/settings.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/index.html b/application/modules/gallery/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/latest_fotos.tpl b/application/modules/gallery/templates/latest_fotos.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/latest_fotos_form.tpl b/application/modules/gallery/templates/latest_fotos_form.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/public/album.tpl b/application/modules/gallery/templates/public/album.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/public/albums.tpl b/application/modules/gallery/templates/public/albums.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/public/index.html b/application/modules/gallery/templates/public/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/public/main_backup.tpl b/application/modules/gallery/templates/public/main_backup.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/templates/public/thumbnails.tpl b/application/modules/gallery/templates/public/thumbnails.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/gallery/widgets.xml b/application/modules/gallery/widgets.xml
old mode 100644
new mode 100755
diff --git a/application/modules/group_mailer/admin.php b/application/modules/group_mailer/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/group_mailer/group_mailer.php b/application/modules/group_mailer/group_mailer.php
old mode 100644
new mode 100755
diff --git a/application/modules/group_mailer/module_info.php b/application/modules/group_mailer/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/group_mailer/templates/admin/form.tpl b/application/modules/group_mailer/templates/admin/form.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/group_mailer/templates/admin/index.html b/application/modules/group_mailer/templates/admin/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/group_mailer/templates/index.html b/application/modules/group_mailer/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/install/_install.php b/application/modules/install/_install.php
old mode 100644
new mode 100755
diff --git a/application/modules/install/config.php b/application/modules/install/config.php
old mode 100644
new mode 100755
diff --git a/application/modules/install/config/routes.php b/application/modules/install/config/routes.php
old mode 100644
new mode 100755
diff --git a/application/modules/install/sqlShop.sql b/application/modules/install/sqlShop.sql
old mode 100644
new mode 100755
diff --git a/application/modules/install/sqlShopClean.sql b/application/modules/install/sqlShopClean.sql
old mode 100644
new mode 100755
diff --git a/application/modules/install/sqlSite.sql b/application/modules/install/sqlSite.sql
old mode 100644
new mode 100755
diff --git a/application/modules/install/templates/images/bg.png b/application/modules/install/templates/images/bg.png
old mode 100644
new mode 100755
diff --git a/application/modules/install/templates/images/btn1_130.png b/application/modules/install/templates/images/btn1_130.png
old mode 100644
new mode 100755
diff --git a/application/modules/install/templates/images/error.png b/application/modules/install/templates/images/error.png
old mode 100644
new mode 100755
diff --git a/application/modules/install/templates/images/logo.png b/application/modules/install/templates/images/logo.png
old mode 100644
new mode 100755
diff --git a/application/modules/install/templates/images/okay.png b/application/modules/install/templates/images/okay.png
old mode 100644
new mode 100755
diff --git a/application/modules/install/templates/images/warning.png b/application/modules/install/templates/images/warning.png
old mode 100644
new mode 100755
diff --git a/application/modules/install/views/done.php b/application/modules/install/views/done.php
old mode 100644
new mode 100755
diff --git a/application/modules/install/views/index.html b/application/modules/install/views/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/install/views/license.php b/application/modules/install/views/license.php
old mode 100644
new mode 100755
diff --git a/application/modules/install/views/license_shop.php b/application/modules/install/views/license_shop.php
old mode 100644
new mode 100755
diff --git a/application/modules/install/views/main.php b/application/modules/install/views/main.php
old mode 100644
new mode 100755
diff --git a/application/modules/install/views/step_1.php b/application/modules/install/views/step_1.php
old mode 100644
new mode 100755
diff --git a/application/modules/install/views/step_2.php b/application/modules/install/views/step_2.php
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/_admin.php b/application/modules/language_switch/_admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/language_switch.gif b/application/modules/language_switch/language_switch.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/language_switch.php b/application/modules/language_switch/language_switch.php
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/language_switch.png b/application/modules/language_switch/language_switch.png
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/language_switch_widgets.php b/application/modules/language_switch/language_switch_widgets.php
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/module_info.php b/application/modules/language_switch/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/admin.tpl b/application/modules/language_switch/templates/admin.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/i/ar.gif b/application/modules/language_switch/templates/i/ar.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/i/by.gif b/application/modules/language_switch/templates/i/by.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/i/cz.gif b/application/modules/language_switch/templates/i/cz.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/i/de.gif b/application/modules/language_switch/templates/i/de.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/i/en.gif b/application/modules/language_switch/templates/i/en.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/i/fr.gif b/application/modules/language_switch/templates/i/fr.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/i/kz.gif b/application/modules/language_switch/templates/i/kz.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/i/lt.gif b/application/modules/language_switch/templates/i/lt.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/i/lv.gif b/application/modules/language_switch/templates/i/lv.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/i/nl.gif b/application/modules/language_switch/templates/i/nl.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/i/ru.gif b/application/modules/language_switch/templates/i/ru.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/i/ua.gif b/application/modules/language_switch/templates/i/ua.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/i/us.gif b/application/modules/language_switch/templates/i/us.gif
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/templates/language_switch_show.tpl b/application/modules/language_switch/templates/language_switch_show.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/language_switch/widgets.xml b/application/modules/language_switch/widgets.xml
old mode 100644
new mode 100755
diff --git a/application/modules/mailer/admin.php b/application/modules/mailer/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/mailer/mailer.php b/application/modules/mailer/mailer.php
old mode 100644
new mode 100755
diff --git a/application/modules/mailer/module_info.php b/application/modules/mailer/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/mailer/templates/admin/form.tpl b/application/modules/mailer/templates/admin/form.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/mailer/templates/public/already.tpl b/application/modules/mailer/templates/public/already.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/mailer/templates/public/cancel.tpl b/application/modules/mailer/templates/public/cancel.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/mailer/templates/public/error.tpl b/application/modules/mailer/templates/public/error.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/mailer/templates/public/form.tpl b/application/modules/mailer/templates/public/form.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/mailer/templates/public/no.tpl b/application/modules/mailer/templates/public/no.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/mailer/templates/public/success.tpl b/application/modules/mailer/templates/public/success.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/admin.php b/application/modules/menu/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/menu/helpers/menu_helper.php b/application/modules/menu/helpers/menu_helper.php
old mode 100644
new mode 100755
diff --git a/application/modules/menu/index.html b/application/modules/menu/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/menu/menu.php b/application/modules/menu/menu.php
old mode 100644
new mode 100755
diff --git a/application/modules/menu/models/index.html b/application/modules/menu/models/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/menu/models/menu_model.php b/application/modules/menu/models/menu_model.php
old mode 100644
new mode 100755
diff --git a/application/modules/menu/module_info.php b/application/modules/menu/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/_menulistitem.tpl b/application/modules/menu/templates/_menulistitem.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/category_selector.tpl b/application/modules/menu/templates/category_selector.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/cats.tpl b/application/modules/menu/templates/cats.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/cats_list.tpl b/application/modules/menu/templates/cats_list.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/create_item.tpl b/application/modules/menu/templates/create_item.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/create_menu.tpl b/application/modules/menu/templates/create_menu.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/edit_item.tpl b/application/modules/menu/templates/edit_item.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/edit_menu.tpl b/application/modules/menu/templates/edit_menu.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/index.html b/application/modules/menu/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/main.tpl b/application/modules/menu/templates/main.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/menu_list.tpl b/application/modules/menu/templates/menu_list.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/module_selector.tpl b/application/modules/menu/templates/module_selector.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/pages_selector.tpl b/application/modules/menu/templates/pages_selector.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/error.tpl b/application/modules/menu/templates/public/error.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_0/container.tpl b/application/modules/menu/templates/public/level_0/container.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_0/item_default.tpl b/application/modules/menu/templates/public/level_0/item_default.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_0/item_default_active.tpl b/application/modules/menu/templates/public/level_0/item_default_active.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_0/item_first.tpl b/application/modules/menu/templates/public/level_0/item_first.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_0/item_first_active.tpl b/application/modules/menu/templates/public/level_0/item_first_active.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_0/item_last.tpl b/application/modules/menu/templates/public/level_0/item_last.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_0/item_last_active.tpl b/application/modules/menu/templates/public/level_0/item_last_active.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_0/item_one.tpl b/application/modules/menu/templates/public/level_0/item_one.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_0/item_one_active.tpl b/application/modules/menu/templates/public/level_0/item_one_active.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_1/container.tpl b/application/modules/menu/templates/public/level_1/container.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_1/item_default.tpl b/application/modules/menu/templates/public/level_1/item_default.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_1/item_default_active.tpl b/application/modules/menu/templates/public/level_1/item_default_active.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_1/item_first.tpl b/application/modules/menu/templates/public/level_1/item_first.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_1/item_first_active.tpl b/application/modules/menu/templates/public/level_1/item_first_active.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_1/item_last.tpl b/application/modules/menu/templates/public/level_1/item_last.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_1/item_last_active.tpl b/application/modules/menu/templates/public/level_1/item_last_active.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_1/item_one.tpl b/application/modules/menu/templates/public/level_1/item_one.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_1/item_one_active.tpl b/application/modules/menu/templates/public/level_1/item_one_active.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_2/container.tpl b/application/modules/menu/templates/public/level_2/container.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_2/item_default.tpl b/application/modules/menu/templates/public/level_2/item_default.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_2/item_default_active.tpl b/application/modules/menu/templates/public/level_2/item_default_active.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_2/item_first.tpl b/application/modules/menu/templates/public/level_2/item_first.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_2/item_first_active.tpl b/application/modules/menu/templates/public/level_2/item_first_active.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_2/item_last.tpl b/application/modules/menu/templates/public/level_2/item_last.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_2/item_last_active.tpl b/application/modules/menu/templates/public/level_2/item_last_active.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_2/item_one.tpl b/application/modules/menu/templates/public/level_2/item_one.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/public/level_2/item_one_active.tpl b/application/modules/menu/templates/public/level_2/item_one_active.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/translate_item.tpl b/application/modules/menu/templates/translate_item.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/menu/templates/url_selector.tpl b/application/modules/menu/templates/url_selector.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/navigation/index.html b/application/modules/navigation/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/navigation/module_info.php b/application/modules/navigation/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/navigation/navigation.php b/application/modules/navigation/navigation.php
old mode 100644
new mode 100755
diff --git a/application/modules/navigation/navigation_widgets.php b/application/modules/navigation/navigation_widgets.php
old mode 100644
new mode 100755
diff --git a/application/modules/navigation/templates/index.html b/application/modules/navigation/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/navigation/templates/widget_navigation.tpl b/application/modules/navigation/templates/widget_navigation.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/navigation/widgets.xml b/application/modules/navigation/widgets.xml
old mode 100644
new mode 100755
diff --git a/application/modules/rss/admin.php b/application/modules/rss/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/rss/module_info.php b/application/modules/rss/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/rss/rss.php b/application/modules/rss/rss.php
old mode 100644
new mode 100755
diff --git a/application/modules/rss/templates/admin/settings.tpl b/application/modules/rss/templates/admin/settings.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/rss/templates/public/feed_theme.tpl b/application/modules/rss/templates/public/feed_theme.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/sample/admin.php b/application/modules/sample/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/sample/module_info.php b/application/modules/sample/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/sample/sample.php b/application/modules/sample/sample.php
old mode 100644
new mode 100755
diff --git a/application/modules/sample/templates/admin/index.html b/application/modules/sample/templates/admin/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/sample/templates/index.html b/application/modules/sample/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/sample/templates/public/index.html b/application/modules/sample/templates/public/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/sample_mail/admin.php b/application/modules/sample_mail/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/sample_mail/module_info.php b/application/modules/sample_mail/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/sample_mail/sample_mail.php b/application/modules/sample_mail/sample_mail.php
old mode 100644
new mode 100755
diff --git a/application/modules/sample_mail/templates/admin/create.tpl b/application/modules/sample_mail/templates/admin/create.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/sample_mail/templates/admin/edit.tpl b/application/modules/sample_mail/templates/admin/edit.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/sample_mail/templates/admin/list.tpl b/application/modules/sample_mail/templates/admin/list.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/sample_module/_module_info.php b/application/modules/sample_module/_module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/sample_module/admin.php b/application/modules/sample_module/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/sample_module/sample_module.php b/application/modules/sample_module/sample_module.php
old mode 100644
new mode 100755
diff --git a/application/modules/sample_module/templates/admin/index.html b/application/modules/sample_module/templates/admin/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/sample_module/templates/index.html b/application/modules/sample_module/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/sample_module/templates/public/index.html b/application/modules/sample_module/templates/public/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/search/module_info.php b/application/modules/search/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/search/search.php b/application/modules/search/search.php
old mode 100644
new mode 100755
diff --git a/application/modules/share/admin.php b/application/modules/share/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/share/module_info.php b/application/modules/share/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/share/share.php b/application/modules/share/share.php
old mode 100644
new mode 100755
diff --git a/application/modules/share/templates/admin/settings.tpl b/application/modules/share/templates/admin/settings.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/shop b/application/modules/shop
index 306763ed91..ea1171267d 160000
--- a/application/modules/shop
+++ b/application/modules/shop
@@ -1 +1 @@
-Subproject commit 306763ed91e1537c831e7a90f8c8f088ab573af2
+Subproject commit ea1171267daf6f420947ae3f0d925bcddd8da3f8
diff --git a/application/modules/sitemap/admin.php b/application/modules/sitemap/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/sitemap/config/routes.php b/application/modules/sitemap/config/routes.php
old mode 100644
new mode 100755
diff --git a/application/modules/sitemap/module_info.php b/application/modules/sitemap/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/sitemap/sitemap.php b/application/modules/sitemap/sitemap.php
old mode 100644
new mode 100755
index b9309f0cbd..c6d9ddfc56
--- a/application/modules/sitemap/sitemap.php
+++ b/application/modules/sitemap/sitemap.php
@@ -304,7 +304,9 @@ public function robotsCheck($check) {
* return $code if send (200 = ok) else 'false'
*/
public function ping_google() {
-
+ if (strstr($_SERVER['SERVER_NAME'], '.loc'))
+ return false;
+
$this->db->select('settings');
$a = unserialize(implode(',', $this->db->get_where('components', array('name' => 'sitemap'))->row_array()));
diff --git a/application/modules/sitemap/templates/admin/settings.tpl b/application/modules/sitemap/templates/admin/settings.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/social_servises/_module_info.php b/application/modules/social_servises/_module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/social_servises/admin.php b/application/modules/social_servises/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/social_servises/facebook.php b/application/modules/social_servises/facebook.php
old mode 100644
new mode 100755
diff --git a/application/modules/social_servises/social_servises.php b/application/modules/social_servises/social_servises.php
old mode 100644
new mode 100755
diff --git a/application/modules/social_servises/templates/admin/index.html b/application/modules/social_servises/templates/admin/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/social_servises/templates/admin/settings.tpl b/application/modules/social_servises/templates/admin/settings.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/social_servises/templates/index.html b/application/modules/social_servises/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/social_servises/templates/public/index.html b/application/modules/social_servises/templates/public/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/social_servises/vkapi.class.php b/application/modules/social_servises/vkapi.class.php
old mode 100644
new mode 100755
diff --git a/application/modules/star_rating/admin.php b/application/modules/star_rating/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/star_rating/module_info.php b/application/modules/star_rating/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/star_rating/star_rating.php b/application/modules/star_rating/star_rating.php
old mode 100644
new mode 100755
diff --git a/application/modules/star_rating/templates/admin/settings.tpl b/application/modules/star_rating/templates/admin/settings.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/star_rating/templates/index.html b/application/modules/star_rating/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/star_rating/templates/js/scripts.js b/application/modules/star_rating/templates/js/scripts.js
old mode 100644
new mode 100755
diff --git a/application/modules/star_rating/templates/product_star_rating.tpl b/application/modules/star_rating/templates/product_star_rating.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/star_rating/templates/star_rating.tpl b/application/modules/star_rating/templates/star_rating.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/tags/_admin.php b/application/modules/tags/_admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/tags/helpers/index.html b/application/modules/tags/helpers/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/tags/helpers/tags_helper.php b/application/modules/tags/helpers/tags_helper.php
old mode 100644
new mode 100755
diff --git a/application/modules/tags/index.html b/application/modules/tags/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/tags/module_info.php b/application/modules/tags/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/tags/tags.php b/application/modules/tags/tags.php
old mode 100644
new mode 100755
diff --git a/application/modules/tags/tags_widgets.php b/application/modules/tags/tags_widgets.php
old mode 100644
new mode 100755
diff --git a/application/modules/tags/templates/admin/tags_admin.tpl b/application/modules/tags/templates/admin/tags_admin.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/tags/widgets.xml b/application/modules/tags/widgets.xml
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/admin.php b/application/modules/template_editor/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/admin.php.bak b/application/modules/template_editor/admin.php.bak
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/module_info.php b/application/modules/template_editor/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/tags/admin.php b/application/modules/template_editor/tags/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/tags/helpers/index.html b/application/modules/template_editor/tags/helpers/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/tags/helpers/tags_helper.php b/application/modules/template_editor/tags/helpers/tags_helper.php
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/tags/index.html b/application/modules/template_editor/tags/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/tags/module_info.php b/application/modules/template_editor/tags/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/tags/tags.php b/application/modules/template_editor/tags/tags.php
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/tags/tags_widgets.php b/application/modules/template_editor/tags/tags_widgets.php
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/tags/templates/admin/tags_admin.tpl b/application/modules/template_editor/tags/templates/admin/tags_admin.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/tags/widgets.xml b/application/modules/template_editor/tags/widgets.xml
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/template_editor.php b/application/modules/template_editor/template_editor.php
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/templates/admin/images/document.png b/application/modules/template_editor/templates/admin/images/document.png
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/templates/admin/images/folder-blue.png b/application/modules/template_editor/templates/admin/images/folder-blue.png
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/templates/admin/index.html b/application/modules/template_editor/templates/admin/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/templates/admin/index.tpl b/application/modules/template_editor/templates/admin/index.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/templates/index.html b/application/modules/template_editor/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/template_editor/templates/public/index.html b/application/modules/template_editor/templates/public/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/trash/admin.php b/application/modules/trash/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/trash/module_info.php b/application/modules/trash/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/trash/templates/admin/create_trash.tpl b/application/modules/trash/templates/admin/create_trash.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/trash/templates/admin/edit_trash.tpl b/application/modules/trash/templates/admin/edit_trash.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/trash/templates/admin/main.tpl b/application/modules/trash/templates/admin/main.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/trash/trash.php b/application/modules/trash/trash.php
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/admin.php b/application/modules/user_manager/admin.php
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/index.html b/application/modules/user_manager/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/module_info.php b/application/modules/user_manager/module_info.php
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/templates/create_group.tpl b/application/modules/user_manager/templates/create_group.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/templates/create_user.tpl b/application/modules/user_manager/templates/create_user.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/templates/edit_perms.tpl b/application/modules/user_manager/templates/edit_perms.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/templates/edit_user.tpl b/application/modules/user_manager/templates/edit_user.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/templates/genreroletable.tpl b/application/modules/user_manager/templates/genreroletable.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/templates/groups.tpl b/application/modules/user_manager/templates/groups.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/templates/groups_edit.tpl b/application/modules/user_manager/templates/groups_edit.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/templates/index.html b/application/modules/user_manager/templates/index.html
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/templates/main.tpl b/application/modules/user_manager/templates/main.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/templates/users_table_search.tpl b/application/modules/user_manager/templates/users_table_search.tpl
old mode 100644
new mode 100755
diff --git a/application/modules/user_manager/user_manager.php b/application/modules/user_manager/user_manager.php
old mode 100644
new mode 100755
diff --git a/application/third_party/MX/Base.php b/application/third_party/MX/Base.php
old mode 100644
new mode 100755
diff --git a/application/third_party/MX/Ci.php b/application/third_party/MX/Ci.php
old mode 100644
new mode 100755
diff --git a/application/third_party/MX/Config.php b/application/third_party/MX/Config.php
old mode 100644
new mode 100755
diff --git a/application/third_party/MX/Controller.php b/application/third_party/MX/Controller.php
old mode 100644
new mode 100755
diff --git a/application/third_party/MX/Lang.php b/application/third_party/MX/Lang.php
old mode 100644
new mode 100755
diff --git a/application/third_party/MX/Loader.php b/application/third_party/MX/Loader.php
old mode 100644
new mode 100755
diff --git a/application/third_party/MX/Modules.php b/application/third_party/MX/Modules.php
old mode 100644
new mode 100755
diff --git a/application/third_party/MX/Router.php b/application/third_party/MX/Router.php
old mode 100644
new mode 100755
diff --git a/application/third_party/index.html b/application/third_party/index.html
old mode 100644
new mode 100755
diff --git a/application/third_party/namespaceses.php b/application/third_party/namespaceses.php
old mode 100644
new mode 100755
diff --git a/application/views/profiler_template.php b/application/views/profiler_template.php
old mode 100644
new mode 100755
diff --git a/js/ace/src/ace.js b/js/ace/src/ace.js
old mode 100644
new mode 100755
diff --git a/js/ace/src/mode-css.js b/js/ace/src/mode-css.js
old mode 100644
new mode 100755
diff --git a/js/ace/src/mode-html.js b/js/ace/src/mode-html.js
old mode 100644
new mode 100755
diff --git a/js/ace/src/mode-javascript.js b/js/ace/src/mode-javascript.js
old mode 100644
new mode 100755
diff --git a/js/ace/src/worker-css.js b/js/ace/src/worker-css.js
old mode 100644
new mode 100755
diff --git a/js/ace/src/worker-javascript.js b/js/ace/src/worker-javascript.js
old mode 100644
new mode 100755
diff --git a/js/compress_js.php b/js/compress_js.php
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/Changelog b/js/elfinder-2.0/Changelog
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/README.md b/js/elfinder-2.0/README.md
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/css/Aristo/.gitignore b/js/elfinder-2.0/css/Aristo/.gitignore
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/css/Aristo/css/Aristo/Aristo.css b/js/elfinder-2.0/css/Aristo/css/Aristo/Aristo.css
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/css/Aristo/css/Aristo/images/bg_fallback.png b/js/elfinder-2.0/css/Aristo/css/Aristo/images/bg_fallback.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/css/Aristo/css/Aristo/images/icon_sprite.png b/js/elfinder-2.0/css/Aristo/css/Aristo/images/icon_sprite.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/css/Aristo/css/Aristo/images/progress_bar.gif b/js/elfinder-2.0/css/Aristo/css/Aristo/images/progress_bar.gif
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/css/Aristo/css/Aristo/images/slider_handles.png b/js/elfinder-2.0/css/Aristo/css/Aristo/images/slider_handles.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/css/Aristo/css/Aristo/images/ui-icons_222222_256x240.png b/js/elfinder-2.0/css/Aristo/css/Aristo/images/ui-icons_222222_256x240.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/css/Aristo/css/Aristo/images/ui-icons_454545_256x240.png b/js/elfinder-2.0/css/Aristo/css/Aristo/images/ui-icons_454545_256x240.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/css/elfinder.min.css b/js/elfinder-2.0/css/elfinder.min.css
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/css/theme.css b/js/elfinder-2.0/css/theme.css
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/elfinder.html b/js/elfinder-2.0/elfinder.html
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/img/arrows-active.png b/js/elfinder-2.0/img/arrows-active.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/img/arrows-normal.png b/js/elfinder-2.0/img/arrows-normal.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/img/crop.gif b/js/elfinder-2.0/img/crop.gif
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/img/dialogs.png b/js/elfinder-2.0/img/dialogs.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/img/icons-big.png b/js/elfinder-2.0/img/icons-big.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/img/icons-small.png b/js/elfinder-2.0/img/icons-small.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/img/logo.png b/js/elfinder-2.0/img/logo.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/img/progress.gif b/js/elfinder-2.0/img/progress.gif
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/img/quicklook-bg.png b/js/elfinder-2.0/img/quicklook-bg.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/img/quicklook-icons.png b/js/elfinder-2.0/img/quicklook-icons.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/img/resize.png b/js/elfinder-2.0/img/resize.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/img/spinner-mini.gif b/js/elfinder-2.0/img/spinner-mini.gif
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/img/toolbar.png b/js/elfinder-2.0/img/toolbar.png
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/elfinder.min.js b/js/elfinder-2.0/js/elfinder.min.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.LANG.js b/js/elfinder-2.0/js/i18n/elfinder.LANG.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.ar.js b/js/elfinder-2.0/js/i18n/elfinder.ar.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.bg.js b/js/elfinder-2.0/js/i18n/elfinder.bg.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.ca.js b/js/elfinder-2.0/js/i18n/elfinder.ca.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.cs.js b/js/elfinder-2.0/js/i18n/elfinder.cs.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.de.js b/js/elfinder-2.0/js/i18n/elfinder.de.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.es.js b/js/elfinder-2.0/js/i18n/elfinder.es.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.fr.js b/js/elfinder-2.0/js/i18n/elfinder.fr.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.hu.js b/js/elfinder-2.0/js/i18n/elfinder.hu.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.jp.js b/js/elfinder-2.0/js/i18n/elfinder.jp.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.nl.js b/js/elfinder-2.0/js/i18n/elfinder.nl.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.no.js b/js/elfinder-2.0/js/i18n/elfinder.no.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.pl.js b/js/elfinder-2.0/js/i18n/elfinder.pl.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.pt_BR.js b/js/elfinder-2.0/js/i18n/elfinder.pt_BR.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.ru.js b/js/elfinder-2.0/js/i18n/elfinder.ru.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/i18n/elfinder.zh_CN.js b/js/elfinder-2.0/js/i18n/elfinder.zh_CN.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/js/proxy/elFinderSupportVer1.js b/js/elfinder-2.0/js/proxy/elFinderSupportVer1.js
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/php/MySQLStorage.sql b/js/elfinder-2.0/php/MySQLStorage.sql
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/php/connector.php b/js/elfinder-2.0/php/connector.php
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/php/elFinder.class.php b/js/elfinder-2.0/php/elFinder.class.php
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/php/elFinderConnector.class.php b/js/elfinder-2.0/php/elFinderConnector.class.php
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/php/elFinderVolumeDriver.class.php b/js/elfinder-2.0/php/elFinderVolumeDriver.class.php
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/php/elFinderVolumeLocalFileSystem.class.php b/js/elfinder-2.0/php/elFinderVolumeLocalFileSystem.class.php
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/php/elFinderVolumeMySQL.class.php b/js/elfinder-2.0/php/elFinderVolumeMySQL.class.php
old mode 100644
new mode 100755
diff --git a/js/elfinder-2.0/php/mime.types b/js/elfinder-2.0/php/mime.types
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/Changelog b/js/elrte-1.3/Changelog
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/README b/js/elrte-1.3/README
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/elrte-inner.css b/js/elrte-1.3/css/elrte-inner.css
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/elrte.full.css b/js/elrte-1.3/css/elrte.full.css
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/elrte.min.css b/js/elrte-1.3/css/elrte.min.css
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png b/js/elrte-1.3/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png b/js/elrte-1.3/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png b/js/elrte-1.3/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png b/js/elrte-1.3/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png b/js/elrte-1.3/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png b/js/elrte-1.3/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png b/js/elrte-1.3/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/js/elrte-1.3/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/images/ui-icons_222222_256x240.png b/js/elrte-1.3/css/smoothness/images/ui-icons_222222_256x240.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/images/ui-icons_2e83ff_256x240.png b/js/elrte-1.3/css/smoothness/images/ui-icons_2e83ff_256x240.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/images/ui-icons_454545_256x240.png b/js/elrte-1.3/css/smoothness/images/ui-icons_454545_256x240.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/images/ui-icons_888888_256x240.png b/js/elrte-1.3/css/smoothness/images/ui-icons_888888_256x240.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/images/ui-icons_cd0a0a_256x240.png b/js/elrte-1.3/css/smoothness/images/ui-icons_cd0a0a_256x240.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/css/smoothness/jquery-ui-1.8.13.custom.css b/js/elrte-1.3/css/smoothness/jquery-ui-1.8.13.custom.css
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/elrte.html b/js/elrte-1.3/elrte.html
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/elrte-toolbar.png b/js/elrte-1.3/images/elrte-toolbar.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/google-maps.png b/js/elrte-1.3/images/google-maps.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/iframe.png b/js/elrte-1.3/images/iframe.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/loading.gif b/js/elrte-1.3/images/loading.gif
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/media-director.png b/js/elrte-1.3/images/media-director.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/media-flash.png b/js/elrte-1.3/images/media-flash.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/media-quicktime.png b/js/elrte-1.3/images/media-quicktime.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/media-realaudio.png b/js/elrte-1.3/images/media-realaudio.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/media-rutube.png b/js/elrte-1.3/images/media-rutube.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/media-vimeo.png b/js/elrte-1.3/images/media-vimeo.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/media-winmedia.png b/js/elrte-1.3/images/media-winmedia.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/media-youtube.png b/js/elrte-1.3/images/media-youtube.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/outline-div.png b/js/elrte-1.3/images/outline-div.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/outline-p.png b/js/elrte-1.3/images/outline-p.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/pagebreak.gif b/js/elrte-1.3/images/pagebreak.gif
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/pixel.gif b/js/elrte-1.3/images/pixel.gif
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/smileys/evilgrin.png b/js/elrte-1.3/images/smileys/evilgrin.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/smileys/grin.png b/js/elrte-1.3/images/smileys/grin.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/smileys/happy.png b/js/elrte-1.3/images/smileys/happy.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/smileys/smile.png b/js/elrte-1.3/images/smileys/smile.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/smileys/surprised.png b/js/elrte-1.3/images/smileys/surprised.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/smileys/tongue.png b/js/elrte-1.3/images/smileys/tongue.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/smileys/unhappy.png b/js/elrte-1.3/images/smileys/unhappy.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/smileys/waii.png b/js/elrte-1.3/images/smileys/waii.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/smileys/wink.png b/js/elrte-1.3/images/smileys/wink.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/images/yandex-maps.png b/js/elrte-1.3/images/yandex-maps.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/elrte.full.js b/js/elrte-1.3/js/elrte.full.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/elrte.min.js b/js/elrte-1.3/js/elrte.min.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.YOUR_LANG.js b/js/elrte-1.3/js/i18n/elrte.YOUR_LANG.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.ar.js b/js/elrte-1.3/js/i18n/elrte.ar.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.ca.js b/js/elrte-1.3/js/i18n/elrte.ca.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.cs.js b/js/elrte-1.3/js/i18n/elrte.cs.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.da.js b/js/elrte-1.3/js/i18n/elrte.da.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.de.js b/js/elrte-1.3/js/i18n/elrte.de.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.en.js b/js/elrte-1.3/js/i18n/elrte.en.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.es.js b/js/elrte-1.3/js/i18n/elrte.es.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.fa.js b/js/elrte-1.3/js/i18n/elrte.fa.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.fr.js b/js/elrte-1.3/js/i18n/elrte.fr.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.hr.js b/js/elrte-1.3/js/i18n/elrte.hr.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.hu.js b/js/elrte-1.3/js/i18n/elrte.hu.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.it.js b/js/elrte-1.3/js/i18n/elrte.it.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.jp.js b/js/elrte-1.3/js/i18n/elrte.jp.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.ko.js b/js/elrte-1.3/js/i18n/elrte.ko.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.lv.js b/js/elrte-1.3/js/i18n/elrte.lv.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.nl.js b/js/elrte-1.3/js/i18n/elrte.nl.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.pl.js b/js/elrte-1.3/js/i18n/elrte.pl.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.pt_BR.js b/js/elrte-1.3/js/i18n/elrte.pt_BR.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.ru.js b/js/elrte-1.3/js/i18n/elrte.ru.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.sk.js b/js/elrte-1.3/js/i18n/elrte.sk.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.th.js b/js/elrte-1.3/js/i18n/elrte.th.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.tr.js b/js/elrte-1.3/js/i18n/elrte.tr.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.uk.js b/js/elrte-1.3/js/i18n/elrte.uk.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.vi.js b/js/elrte-1.3/js/i18n/elrte.vi.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.zh_CN.js b/js/elrte-1.3/js/i18n/elrte.zh_CN.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/i18n/elrte.zh_TW.js b/js/elrte-1.3/js/i18n/elrte.zh_TW.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/jquery-1.6.1.min.js b/js/elrte-1.3/js/jquery-1.6.1.min.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/js/jquery-ui-1.8.13.custom.min.js b/js/elrte-1.3/js/jquery-ui-1.8.13.custom.min.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/Makefile b/js/elrte-1.3/src/Makefile
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/about.txt b/js/elrte-1.3/src/about.txt
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/css/elcolorpicker.css b/js/elrte-1.3/src/ellib/css/elcolorpicker.css
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/css/elcommon.css b/js/elrte-1.3/src/ellib/css/elcommon.css
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/css/eldialogform.css b/js/elrte-1.3/src/ellib/css/eldialogform.css
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/css/elpaddinginput.css b/js/elrte-1.3/src/ellib/css/elpaddinginput.css
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/css/elreset.css b/js/elrte-1.3/src/ellib/css/elreset.css
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/css/elselect.css b/js/elrte-1.3/src/ellib/css/elselect.css
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/images/eldirtree.png b/js/elrte-1.3/src/ellib/images/eldirtree.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/images/loading.gif b/js/elrte-1.3/src/ellib/images/loading.gif
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/js/eldialogform.js b/js/elrte-1.3/src/ellib/js/eldialogform.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/js/eli18n.js b/js/elrte-1.3/src/ellib/js/eli18n.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/js/jquery.elborderselect.js b/js/elrte-1.3/src/ellib/js/jquery.elborderselect.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/js/jquery.elcolorpicker.js b/js/elrte-1.3/src/ellib/js/jquery.elcolorpicker.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/js/jquery.elpaddinginput.js b/js/elrte-1.3/src/ellib/js/jquery.elpaddinginput.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/ellib/js/jquery.elselect.js b/js/elrte-1.3/src/ellib/js/jquery.elselect.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte.src.html b/js/elrte-1.3/src/elrte.src.html
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/css/elrte-inner.css b/js/elrte-1.3/src/elrte/css/elrte-inner.css
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/css/elrte.css b/js/elrte-1.3/src/elrte/css/elrte.css
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/css/inner-example.css b/js/elrte-1.3/src/elrte/css/inner-example.css
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/elrte-toolbar.png b/js/elrte-1.3/src/elrte/images/elrte-toolbar.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/google-maps.png b/js/elrte-1.3/src/elrte/images/google-maps.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/iframe.png b/js/elrte-1.3/src/elrte/images/iframe.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/media-director.png b/js/elrte-1.3/src/elrte/images/media-director.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/media-flash.png b/js/elrte-1.3/src/elrte/images/media-flash.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/media-quicktime.png b/js/elrte-1.3/src/elrte/images/media-quicktime.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/media-realaudio.png b/js/elrte-1.3/src/elrte/images/media-realaudio.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/media-rutube.png b/js/elrte-1.3/src/elrte/images/media-rutube.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/media-vimeo.png b/js/elrte-1.3/src/elrte/images/media-vimeo.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/media-winmedia.png b/js/elrte-1.3/src/elrte/images/media-winmedia.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/media-youtube.png b/js/elrte-1.3/src/elrte/images/media-youtube.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/outline-div.png b/js/elrte-1.3/src/elrte/images/outline-div.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/outline-p.png b/js/elrte-1.3/src/elrte/images/outline-p.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/pagebreak.gif b/js/elrte-1.3/src/elrte/images/pagebreak.gif
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/pixel.gif b/js/elrte-1.3/src/elrte/images/pixel.gif
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/smileys/evilgrin.png b/js/elrte-1.3/src/elrte/images/smileys/evilgrin.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/smileys/grin.png b/js/elrte-1.3/src/elrte/images/smileys/grin.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/smileys/happy.png b/js/elrte-1.3/src/elrte/images/smileys/happy.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/smileys/smile.png b/js/elrte-1.3/src/elrte/images/smileys/smile.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/smileys/surprised.png b/js/elrte-1.3/src/elrte/images/smileys/surprised.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/smileys/tongue.png b/js/elrte-1.3/src/elrte/images/smileys/tongue.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/smileys/unhappy.png b/js/elrte-1.3/src/elrte/images/smileys/unhappy.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/smileys/waii.png b/js/elrte-1.3/src/elrte/images/smileys/waii.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/smileys/wink.png b/js/elrte-1.3/src/elrte/images/smileys/wink.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/images/yandex-maps.png b/js/elrte-1.3/src/elrte/images/yandex-maps.png
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/elRTE.DOM.js b/js/elrte-1.3/src/elrte/js/elRTE.DOM.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/elRTE.filter.js b/js/elrte-1.3/src/elrte/js/elRTE.filter.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/elRTE.history.js b/js/elrte-1.3/src/elrte/js/elRTE.history.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/elRTE.js b/js/elrte-1.3/src/elrte/js/elRTE.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/elRTE.options.js b/js/elrte-1.3/src/elrte/js/elRTE.options.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/elRTE.selection.js b/js/elrte-1.3/src/elrte/js/elRTE.selection.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/elRTE.ui.js b/js/elrte-1.3/src/elrte/js/elRTE.ui.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/elRTE.utils.js b/js/elrte-1.3/src/elrte/js/elRTE.utils.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/elRTE.w3cRange.js b/js/elrte-1.3/src/elrte/js/elRTE.w3cRange.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.YOUR_LANG.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.YOUR_LANG.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.ar.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.ar.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.ca.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.ca.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.cs.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.cs.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.da.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.da.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.de.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.de.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.en.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.en.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.es.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.es.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.fa.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.fa.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.fr.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.fr.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.hr.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.hr.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.hu.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.hu.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.it.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.it.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.jp.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.jp.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.ko.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.ko.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.lv.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.lv.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.nl.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.nl.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.pl.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.pl.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.pt_BR.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.pt_BR.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.ru.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.ru.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.sk.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.sk.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.th.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.th.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.tr.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.tr.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.uk.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.uk.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.vi.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.vi.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.zh_CN.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.zh_CN.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/i18n/elrte.zh_TW.js b/js/elrte-1.3/src/elrte/js/i18n/elrte.zh_TW.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/about.js b/js/elrte-1.3/src/elrte/js/ui/about.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/anchor.js b/js/elrte-1.3/src/elrte/js/ui/anchor.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/blockquote.js b/js/elrte-1.3/src/elrte/js/ui/blockquote.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/copy.js b/js/elrte-1.3/src/elrte/js/ui/copy.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/css.js b/js/elrte-1.3/src/elrte/js/ui/css.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/direction.js b/js/elrte-1.3/src/elrte/js/ui/direction.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/div.js b/js/elrte-1.3/src/elrte/js/ui/div.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/docstructure.js b/js/elrte-1.3/src/elrte/js/ui/docstructure.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/elfinder.js b/js/elrte-1.3/src/elrte/js/ui/elfinder.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/flash.js b/js/elrte-1.3/src/elrte/js/ui/flash.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/fontname.js b/js/elrte-1.3/src/elrte/js/ui/fontname.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/fontsize.js b/js/elrte-1.3/src/elrte/js/ui/fontsize.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/forecolor.js b/js/elrte-1.3/src/elrte/js/ui/forecolor.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/formatblock.js b/js/elrte-1.3/src/elrte/js/ui/formatblock.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/fullscreen.js b/js/elrte-1.3/src/elrte/js/ui/fullscreen.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/horizontalrule.js b/js/elrte-1.3/src/elrte/js/ui/horizontalrule.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/image.js b/js/elrte-1.3/src/elrte/js/ui/image.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/indent.js b/js/elrte-1.3/src/elrte/js/ui/indent.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/justifyleft.js b/js/elrte-1.3/src/elrte/js/ui/justifyleft.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/link.js b/js/elrte-1.3/src/elrte/js/ui/link.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/nbsp.js b/js/elrte-1.3/src/elrte/js/ui/nbsp.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/outdent.js b/js/elrte-1.3/src/elrte/js/ui/outdent.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/pagebreak.js b/js/elrte-1.3/src/elrte/js/ui/pagebreak.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/pasteformattext.js b/js/elrte-1.3/src/elrte/js/ui/pasteformattext.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/pastetext.js b/js/elrte-1.3/src/elrte/js/ui/pastetext.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/save.js b/js/elrte-1.3/src/elrte/js/ui/save.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/smiley.js b/js/elrte-1.3/src/elrte/js/ui/smiley.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/stopfloat.js b/js/elrte-1.3/src/elrte/js/ui/stopfloat.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/table.js b/js/elrte-1.3/src/elrte/js/ui/table.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/tablerm.js b/js/elrte-1.3/src/elrte/js/ui/tablerm.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/tbcellprops.js b/js/elrte-1.3/src/elrte/js/ui/tbcellprops.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/tbcellsmerge.js b/js/elrte-1.3/src/elrte/js/ui/tbcellsmerge.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/tbcellsplit.js b/js/elrte-1.3/src/elrte/js/ui/tbcellsplit.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/tbcollbefore.js b/js/elrte-1.3/src/elrte/js/ui/tbcollbefore.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/tbcolrm.js b/js/elrte-1.3/src/elrte/js/ui/tbcolrm.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/tbrowbefore.js b/js/elrte-1.3/src/elrte/js/ui/tbrowbefore.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/tbrowrm.js b/js/elrte-1.3/src/elrte/js/ui/tbrowrm.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/undo.js b/js/elrte-1.3/src/elrte/js/ui/undo.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/elrte/js/ui/unlink.js b/js/elrte-1.3/src/elrte/js/ui/unlink.js
old mode 100644
new mode 100755
diff --git a/js/elrte-1.3/src/post.php b/js/elrte-1.3/src/post.php
old mode 100644
new mode 100755
diff --git a/js/index.html b/js/index.html
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/jquery.tinymce.js b/js/tiny_mce/jquery.tinymce.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/langs/en.js b/js/tiny_mce/langs/en.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/license.txt b/js/tiny_mce/license.txt
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advhr/css/advhr.css b/js/tiny_mce/plugins/advhr/css/advhr.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advhr/editor_plugin.js b/js/tiny_mce/plugins/advhr/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advhr/editor_plugin_src.js b/js/tiny_mce/plugins/advhr/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advhr/js/rule.js b/js/tiny_mce/plugins/advhr/js/rule.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advhr/langs/en_dlg.js b/js/tiny_mce/plugins/advhr/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advhr/rule.htm b/js/tiny_mce/plugins/advhr/rule.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advimage/css/advimage.css b/js/tiny_mce/plugins/advimage/css/advimage.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advimage/editor_plugin.js b/js/tiny_mce/plugins/advimage/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advimage/editor_plugin_src.js b/js/tiny_mce/plugins/advimage/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advimage/image.htm b/js/tiny_mce/plugins/advimage/image.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advimage/img/sample.gif b/js/tiny_mce/plugins/advimage/img/sample.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advimage/js/image.js b/js/tiny_mce/plugins/advimage/js/image.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advimage/langs/en_dlg.js b/js/tiny_mce/plugins/advimage/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advlink/css/advlink.css b/js/tiny_mce/plugins/advlink/css/advlink.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advlink/editor_plugin.js b/js/tiny_mce/plugins/advlink/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advlink/editor_plugin_src.js b/js/tiny_mce/plugins/advlink/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advlink/js/advlink.js b/js/tiny_mce/plugins/advlink/js/advlink.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advlink/langs/en_dlg.js b/js/tiny_mce/plugins/advlink/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advlink/link.htm b/js/tiny_mce/plugins/advlink/link.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advlist/editor_plugin.js b/js/tiny_mce/plugins/advlist/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/advlist/editor_plugin_src.js b/js/tiny_mce/plugins/advlist/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/autolink/editor_plugin.js b/js/tiny_mce/plugins/autolink/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/autolink/editor_plugin_src.js b/js/tiny_mce/plugins/autolink/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/autoresize/editor_plugin.js b/js/tiny_mce/plugins/autoresize/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/autoresize/editor_plugin_src.js b/js/tiny_mce/plugins/autoresize/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/autosave/editor_plugin.js b/js/tiny_mce/plugins/autosave/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/autosave/editor_plugin_src.js b/js/tiny_mce/plugins/autosave/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/bbcode/editor_plugin.js b/js/tiny_mce/plugins/bbcode/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/bbcode/editor_plugin_src.js b/js/tiny_mce/plugins/bbcode/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/contextmenu/editor_plugin.js b/js/tiny_mce/plugins/contextmenu/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/contextmenu/editor_plugin_src.js b/js/tiny_mce/plugins/contextmenu/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/directionality/editor_plugin.js b/js/tiny_mce/plugins/directionality/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/directionality/editor_plugin_src.js b/js/tiny_mce/plugins/directionality/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/editor_plugin.js b/js/tiny_mce/plugins/emotions/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/editor_plugin_src.js b/js/tiny_mce/plugins/emotions/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/emotions.htm b/js/tiny_mce/plugins/emotions/emotions.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-cool.gif b/js/tiny_mce/plugins/emotions/img/smiley-cool.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-cry.gif b/js/tiny_mce/plugins/emotions/img/smiley-cry.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-embarassed.gif b/js/tiny_mce/plugins/emotions/img/smiley-embarassed.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif b/js/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-frown.gif b/js/tiny_mce/plugins/emotions/img/smiley-frown.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-innocent.gif b/js/tiny_mce/plugins/emotions/img/smiley-innocent.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-kiss.gif b/js/tiny_mce/plugins/emotions/img/smiley-kiss.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-laughing.gif b/js/tiny_mce/plugins/emotions/img/smiley-laughing.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif b/js/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-sealed.gif b/js/tiny_mce/plugins/emotions/img/smiley-sealed.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-smile.gif b/js/tiny_mce/plugins/emotions/img/smiley-smile.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-surprised.gif b/js/tiny_mce/plugins/emotions/img/smiley-surprised.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif b/js/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-undecided.gif b/js/tiny_mce/plugins/emotions/img/smiley-undecided.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-wink.gif b/js/tiny_mce/plugins/emotions/img/smiley-wink.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/img/smiley-yell.gif b/js/tiny_mce/plugins/emotions/img/smiley-yell.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/js/emotions.js b/js/tiny_mce/plugins/emotions/js/emotions.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/emotions/langs/en_dlg.js b/js/tiny_mce/plugins/emotions/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/example/dialog.htm b/js/tiny_mce/plugins/example/dialog.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/example/editor_plugin.js b/js/tiny_mce/plugins/example/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/example/editor_plugin_src.js b/js/tiny_mce/plugins/example/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/example/img/example.gif b/js/tiny_mce/plugins/example/img/example.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/example/js/dialog.js b/js/tiny_mce/plugins/example/js/dialog.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/example/langs/en.js b/js/tiny_mce/plugins/example/langs/en.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/example/langs/en_dlg.js b/js/tiny_mce/plugins/example/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/example_dependency/editor_plugin.js b/js/tiny_mce/plugins/example_dependency/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/example_dependency/editor_plugin_src.js b/js/tiny_mce/plugins/example_dependency/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/fullpage/css/fullpage.css b/js/tiny_mce/plugins/fullpage/css/fullpage.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/fullpage/editor_plugin.js b/js/tiny_mce/plugins/fullpage/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/fullpage/editor_plugin_src.js b/js/tiny_mce/plugins/fullpage/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/fullpage/fullpage.htm b/js/tiny_mce/plugins/fullpage/fullpage.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/fullpage/js/fullpage.js b/js/tiny_mce/plugins/fullpage/js/fullpage.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/fullpage/langs/en_dlg.js b/js/tiny_mce/plugins/fullpage/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/fullscreen/editor_plugin.js b/js/tiny_mce/plugins/fullscreen/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/fullscreen/editor_plugin_src.js b/js/tiny_mce/plugins/fullscreen/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/fullscreen/fullscreen.htm b/js/tiny_mce/plugins/fullscreen/fullscreen.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/iespell/editor_plugin.js b/js/tiny_mce/plugins/iespell/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/iespell/editor_plugin_src.js b/js/tiny_mce/plugins/iespell/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/inlinepopups/editor_plugin.js b/js/tiny_mce/plugins/inlinepopups/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/inlinepopups/editor_plugin_src.js b/js/tiny_mce/plugins/inlinepopups/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif b/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif b/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif b/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif b/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif b/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif b/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif b/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css b/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/inlinepopups/template.htm b/js/tiny_mce/plugins/inlinepopups/template.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/insertdatetime/editor_plugin.js b/js/tiny_mce/plugins/insertdatetime/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/insertdatetime/editor_plugin_src.js b/js/tiny_mce/plugins/insertdatetime/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/layer/editor_plugin.js b/js/tiny_mce/plugins/layer/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/layer/editor_plugin_src.js b/js/tiny_mce/plugins/layer/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/legacyoutput/editor_plugin.js b/js/tiny_mce/plugins/legacyoutput/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/legacyoutput/editor_plugin_src.js b/js/tiny_mce/plugins/legacyoutput/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/lists/editor_plugin.js b/js/tiny_mce/plugins/lists/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/lists/editor_plugin_src.js b/js/tiny_mce/plugins/lists/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/media/css/media.css b/js/tiny_mce/plugins/media/css/media.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/media/editor_plugin.js b/js/tiny_mce/plugins/media/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/media/editor_plugin_src.js b/js/tiny_mce/plugins/media/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/media/js/embed.js b/js/tiny_mce/plugins/media/js/embed.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/media/js/media.js b/js/tiny_mce/plugins/media/js/media.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/media/langs/en_dlg.js b/js/tiny_mce/plugins/media/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/media/media.htm b/js/tiny_mce/plugins/media/media.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/media/moxieplayer.swf b/js/tiny_mce/plugins/media/moxieplayer.swf
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/nonbreaking/editor_plugin.js b/js/tiny_mce/plugins/nonbreaking/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/nonbreaking/editor_plugin_src.js b/js/tiny_mce/plugins/nonbreaking/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/noneditable/editor_plugin.js b/js/tiny_mce/plugins/noneditable/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/noneditable/editor_plugin_src.js b/js/tiny_mce/plugins/noneditable/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/pagebreak/editor_plugin.js b/js/tiny_mce/plugins/pagebreak/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/pagebreak/editor_plugin_src.js b/js/tiny_mce/plugins/pagebreak/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/paste/editor_plugin.js b/js/tiny_mce/plugins/paste/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/paste/editor_plugin_src.js b/js/tiny_mce/plugins/paste/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/paste/js/pastetext.js b/js/tiny_mce/plugins/paste/js/pastetext.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/paste/js/pasteword.js b/js/tiny_mce/plugins/paste/js/pasteword.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/paste/langs/en_dlg.js b/js/tiny_mce/plugins/paste/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/paste/pastetext.htm b/js/tiny_mce/plugins/paste/pastetext.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/paste/pasteword.htm b/js/tiny_mce/plugins/paste/pasteword.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/preview/editor_plugin.js b/js/tiny_mce/plugins/preview/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/preview/editor_plugin_src.js b/js/tiny_mce/plugins/preview/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/preview/example.html b/js/tiny_mce/plugins/preview/example.html
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/preview/jscripts/embed.js b/js/tiny_mce/plugins/preview/jscripts/embed.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/preview/preview.html b/js/tiny_mce/plugins/preview/preview.html
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/print/editor_plugin.js b/js/tiny_mce/plugins/print/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/print/editor_plugin_src.js b/js/tiny_mce/plugins/print/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/save/editor_plugin.js b/js/tiny_mce/plugins/save/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/save/editor_plugin_src.js b/js/tiny_mce/plugins/save/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/searchreplace/css/searchreplace.css b/js/tiny_mce/plugins/searchreplace/css/searchreplace.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/searchreplace/editor_plugin.js b/js/tiny_mce/plugins/searchreplace/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js b/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/searchreplace/js/searchreplace.js b/js/tiny_mce/plugins/searchreplace/js/searchreplace.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/searchreplace/langs/en_dlg.js b/js/tiny_mce/plugins/searchreplace/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/searchreplace/searchreplace.htm b/js/tiny_mce/plugins/searchreplace/searchreplace.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/spellchecker/css/content.css b/js/tiny_mce/plugins/spellchecker/css/content.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/spellchecker/editor_plugin.js b/js/tiny_mce/plugins/spellchecker/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/spellchecker/editor_plugin_src.js b/js/tiny_mce/plugins/spellchecker/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/spellchecker/img/wline.gif b/js/tiny_mce/plugins/spellchecker/img/wline.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/style/css/props.css b/js/tiny_mce/plugins/style/css/props.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/style/editor_plugin.js b/js/tiny_mce/plugins/style/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/style/editor_plugin_src.js b/js/tiny_mce/plugins/style/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/style/js/props.js b/js/tiny_mce/plugins/style/js/props.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/style/langs/en_dlg.js b/js/tiny_mce/plugins/style/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/style/props.htm b/js/tiny_mce/plugins/style/props.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/style/readme.txt b/js/tiny_mce/plugins/style/readme.txt
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/tabfocus/editor_plugin.js b/js/tiny_mce/plugins/tabfocus/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/tabfocus/editor_plugin_src.js b/js/tiny_mce/plugins/tabfocus/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/cell.htm b/js/tiny_mce/plugins/table/cell.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/css/cell.css b/js/tiny_mce/plugins/table/css/cell.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/css/row.css b/js/tiny_mce/plugins/table/css/row.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/css/table.css b/js/tiny_mce/plugins/table/css/table.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/editor_plugin.js b/js/tiny_mce/plugins/table/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/editor_plugin_src.js b/js/tiny_mce/plugins/table/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/js/cell.js b/js/tiny_mce/plugins/table/js/cell.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/js/merge_cells.js b/js/tiny_mce/plugins/table/js/merge_cells.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/js/row.js b/js/tiny_mce/plugins/table/js/row.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/js/table.js b/js/tiny_mce/plugins/table/js/table.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/langs/en_dlg.js b/js/tiny_mce/plugins/table/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/merge_cells.htm b/js/tiny_mce/plugins/table/merge_cells.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/row.htm b/js/tiny_mce/plugins/table/row.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/table/table.htm b/js/tiny_mce/plugins/table/table.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/template/blank.htm b/js/tiny_mce/plugins/template/blank.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/template/css/template.css b/js/tiny_mce/plugins/template/css/template.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/template/editor_plugin.js b/js/tiny_mce/plugins/template/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/template/editor_plugin_src.js b/js/tiny_mce/plugins/template/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/template/js/template.js b/js/tiny_mce/plugins/template/js/template.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/template/langs/en_dlg.js b/js/tiny_mce/plugins/template/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/template/template.htm b/js/tiny_mce/plugins/template/template.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/visualblocks/css/visualblocks.css b/js/tiny_mce/plugins/visualblocks/css/visualblocks.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/visualblocks/editor_plugin.js b/js/tiny_mce/plugins/visualblocks/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/visualblocks/editor_plugin_src.js b/js/tiny_mce/plugins/visualblocks/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/visualchars/editor_plugin.js b/js/tiny_mce/plugins/visualchars/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/visualchars/editor_plugin_src.js b/js/tiny_mce/plugins/visualchars/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/wordcount/editor_plugin.js b/js/tiny_mce/plugins/wordcount/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/wordcount/editor_plugin_src.js b/js/tiny_mce/plugins/wordcount/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/abbr.htm b/js/tiny_mce/plugins/xhtmlxtras/abbr.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/acronym.htm b/js/tiny_mce/plugins/xhtmlxtras/acronym.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/attributes.htm b/js/tiny_mce/plugins/xhtmlxtras/attributes.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/cite.htm b/js/tiny_mce/plugins/xhtmlxtras/cite.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/css/attributes.css b/js/tiny_mce/plugins/xhtmlxtras/css/attributes.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/css/popup.css b/js/tiny_mce/plugins/xhtmlxtras/css/popup.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/del.htm b/js/tiny_mce/plugins/xhtmlxtras/del.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/editor_plugin.js b/js/tiny_mce/plugins/xhtmlxtras/editor_plugin.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js b/js/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/ins.htm b/js/tiny_mce/plugins/xhtmlxtras/ins.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/js/abbr.js b/js/tiny_mce/plugins/xhtmlxtras/js/abbr.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/js/acronym.js b/js/tiny_mce/plugins/xhtmlxtras/js/acronym.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/js/attributes.js b/js/tiny_mce/plugins/xhtmlxtras/js/attributes.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/js/cite.js b/js/tiny_mce/plugins/xhtmlxtras/js/cite.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/js/del.js b/js/tiny_mce/plugins/xhtmlxtras/js/del.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/js/element_common.js b/js/tiny_mce/plugins/xhtmlxtras/js/element_common.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/js/ins.js b/js/tiny_mce/plugins/xhtmlxtras/js/ins.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js b/js/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/about.htm b/js/tiny_mce/themes/advanced/about.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/anchor.htm b/js/tiny_mce/themes/advanced/anchor.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/charmap.htm b/js/tiny_mce/themes/advanced/charmap.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/color_picker.htm b/js/tiny_mce/themes/advanced/color_picker.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/editor_template.js b/js/tiny_mce/themes/advanced/editor_template.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/editor_template_src.js b/js/tiny_mce/themes/advanced/editor_template_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/image.htm b/js/tiny_mce/themes/advanced/image.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/img/colorpicker.jpg b/js/tiny_mce/themes/advanced/img/colorpicker.jpg
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/img/flash.gif b/js/tiny_mce/themes/advanced/img/flash.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/img/icons.gif b/js/tiny_mce/themes/advanced/img/icons.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/img/iframe.gif b/js/tiny_mce/themes/advanced/img/iframe.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/img/pagebreak.gif b/js/tiny_mce/themes/advanced/img/pagebreak.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/img/quicktime.gif b/js/tiny_mce/themes/advanced/img/quicktime.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/img/realmedia.gif b/js/tiny_mce/themes/advanced/img/realmedia.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/img/shockwave.gif b/js/tiny_mce/themes/advanced/img/shockwave.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/img/trans.gif b/js/tiny_mce/themes/advanced/img/trans.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/img/video.gif b/js/tiny_mce/themes/advanced/img/video.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/img/windowsmedia.gif b/js/tiny_mce/themes/advanced/img/windowsmedia.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/js/about.js b/js/tiny_mce/themes/advanced/js/about.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/js/anchor.js b/js/tiny_mce/themes/advanced/js/anchor.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/js/charmap.js b/js/tiny_mce/themes/advanced/js/charmap.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/js/color_picker.js b/js/tiny_mce/themes/advanced/js/color_picker.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/js/image.js b/js/tiny_mce/themes/advanced/js/image.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/js/link.js b/js/tiny_mce/themes/advanced/js/link.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/js/source_editor.js b/js/tiny_mce/themes/advanced/js/source_editor.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/langs/en.js b/js/tiny_mce/themes/advanced/langs/en.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/langs/en_dlg.js b/js/tiny_mce/themes/advanced/langs/en_dlg.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/link.htm b/js/tiny_mce/themes/advanced/link.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/shortcuts.htm b/js/tiny_mce/themes/advanced/shortcuts.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/default/content.css b/js/tiny_mce/themes/advanced/skins/default/content.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/default/dialog.css b/js/tiny_mce/themes/advanced/skins/default/dialog.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/default/img/buttons.png b/js/tiny_mce/themes/advanced/skins/default/img/buttons.png
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/default/img/items.gif b/js/tiny_mce/themes/advanced/skins/default/img/items.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif b/js/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/default/img/menu_check.gif b/js/tiny_mce/themes/advanced/skins/default/img/menu_check.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/default/img/progress.gif b/js/tiny_mce/themes/advanced/skins/default/img/progress.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/default/img/tabs.gif b/js/tiny_mce/themes/advanced/skins/default/img/tabs.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/default/ui.css b/js/tiny_mce/themes/advanced/skins/default/ui.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/highcontrast/content.css b/js/tiny_mce/themes/advanced/skins/highcontrast/content.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/highcontrast/dialog.css b/js/tiny_mce/themes/advanced/skins/highcontrast/dialog.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/highcontrast/ui.css b/js/tiny_mce/themes/advanced/skins/highcontrast/ui.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/o2k7/content.css b/js/tiny_mce/themes/advanced/skins/o2k7/content.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/o2k7/dialog.css b/js/tiny_mce/themes/advanced/skins/o2k7/dialog.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png b/js/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png b/js/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png b/js/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/o2k7/ui.css b/js/tiny_mce/themes/advanced/skins/o2k7/ui.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/o2k7/ui_black.css b/js/tiny_mce/themes/advanced/skins/o2k7/ui_black.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css b/js/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/thebigreason/content.css b/js/tiny_mce/themes/advanced/skins/thebigreason/content.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/thebigreason/dialog.css b/js/tiny_mce/themes/advanced/skins/thebigreason/dialog.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/thebigreason/img/button-bg.png b/js/tiny_mce/themes/advanced/skins/thebigreason/img/button-bg.png
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/thebigreason/img/icons.png b/js/tiny_mce/themes/advanced/skins/thebigreason/img/icons.png
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/thebigreason/img/items.gif b/js/tiny_mce/themes/advanced/skins/thebigreason/img/items.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/thebigreason/img/menu-arrow.png b/js/tiny_mce/themes/advanced/skins/thebigreason/img/menu-arrow.png
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/thebigreason/img/menu-check.png b/js/tiny_mce/themes/advanced/skins/thebigreason/img/menu-check.png
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/thebigreason/img/progress.gif b/js/tiny_mce/themes/advanced/skins/thebigreason/img/progress.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/thebigreason/img/toolbar-bg.png b/js/tiny_mce/themes/advanced/skins/thebigreason/img/toolbar-bg.png
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/skins/thebigreason/ui.css b/js/tiny_mce/themes/advanced/skins/thebigreason/ui.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/advanced/source_editor.htm b/js/tiny_mce/themes/advanced/source_editor.htm
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/simple/editor_template.js b/js/tiny_mce/themes/simple/editor_template.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/simple/editor_template_src.js b/js/tiny_mce/themes/simple/editor_template_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/simple/img/icons.gif b/js/tiny_mce/themes/simple/img/icons.gif
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/simple/langs/en.js b/js/tiny_mce/themes/simple/langs/en.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/simple/skins/default/content.css b/js/tiny_mce/themes/simple/skins/default/content.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/simple/skins/default/ui.css b/js/tiny_mce/themes/simple/skins/default/ui.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/simple/skins/o2k7/content.css b/js/tiny_mce/themes/simple/skins/o2k7/content.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png b/js/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/themes/simple/skins/o2k7/ui.css b/js/tiny_mce/themes/simple/skins/o2k7/ui.css
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/tiny_mce.js b/js/tiny_mce/tiny_mce.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/tiny_mce_popup.js b/js/tiny_mce/tiny_mce_popup.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/tiny_mce_src.js b/js/tiny_mce/tiny_mce_src.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/utils/editable_selects.js b/js/tiny_mce/utils/editable_selects.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/utils/form_utils.js b/js/tiny_mce/utils/form_utils.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/utils/mctabs.js b/js/tiny_mce/utils/mctabs.js
old mode 100644
new mode 100755
diff --git a/js/tiny_mce/utils/validate.js b/js/tiny_mce/utils/validate.js
old mode 100644
new mode 100755
diff --git a/system/.htaccess b/system/.htaccess
old mode 100644
new mode 100755
diff --git a/system/cms_bridge.php b/system/cms_bridge.php
old mode 100644
new mode 100755
diff --git a/system/codeigniter/Base4.php b/system/codeigniter/Base4.php
old mode 100644
new mode 100755
diff --git a/system/codeigniter/Base5.php b/system/codeigniter/Base5.php
old mode 100644
new mode 100755
diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php
old mode 100644
new mode 100755
diff --git a/system/codeigniter/Common.php b/system/codeigniter/Common.php
old mode 100644
new mode 100755
diff --git a/system/codeigniter/Compat.php b/system/codeigniter/Compat.php
old mode 100644
new mode 100755
diff --git a/system/codeigniter/index.html b/system/codeigniter/index.html
old mode 100644
new mode 100755
diff --git a/system/core/Benchmark.php b/system/core/Benchmark.php
old mode 100644
new mode 100755
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php
old mode 100644
new mode 100755
diff --git a/system/core/Common.php b/system/core/Common.php
old mode 100644
new mode 100755
diff --git a/system/core/Config.php b/system/core/Config.php
old mode 100644
new mode 100755
diff --git a/system/core/Controller.php b/system/core/Controller.php
old mode 100644
new mode 100755
diff --git a/system/core/Exceptions.php b/system/core/Exceptions.php
old mode 100644
new mode 100755
diff --git a/system/core/Hooks.php b/system/core/Hooks.php
old mode 100644
new mode 100755
diff --git a/system/core/Input.php b/system/core/Input.php
old mode 100644
new mode 100755
diff --git a/system/core/Lang.php b/system/core/Lang.php
old mode 100644
new mode 100755
diff --git a/system/core/Loader.php b/system/core/Loader.php
old mode 100644
new mode 100755
diff --git a/system/core/Model.php b/system/core/Model.php
old mode 100644
new mode 100755
diff --git a/system/core/Output.php b/system/core/Output.php
old mode 100644
new mode 100755
diff --git a/system/core/Router.php b/system/core/Router.php
old mode 100644
new mode 100755
diff --git a/system/core/Security.php b/system/core/Security.php
old mode 100644
new mode 100755
diff --git a/system/core/URI.php b/system/core/URI.php
old mode 100644
new mode 100755
diff --git a/system/core/Utf8.php b/system/core/Utf8.php
old mode 100644
new mode 100755
diff --git a/system/core/index.html b/system/core/index.html
old mode 100644
new mode 100755
diff --git a/system/database/DB.php b/system/database/DB.php
old mode 100644
new mode 100755
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
old mode 100644
new mode 100755
diff --git a/system/database/DB_cache.php b/system/database/DB_cache.php
old mode 100644
new mode 100755
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
old mode 100644
new mode 100755
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php
old mode 100644
new mode 100755
diff --git a/system/database/DB_result.php b/system/database/DB_result.php
old mode 100644
new mode 100755
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/cubrid/cubrid_driver.php b/system/database/drivers/cubrid/cubrid_driver.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/cubrid/cubrid_forge.php b/system/database/drivers/cubrid/cubrid_forge.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/cubrid/cubrid_result.php b/system/database/drivers/cubrid/cubrid_result.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/cubrid/cubrid_utility.php b/system/database/drivers/cubrid/cubrid_utility.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/cubrid/index.html b/system/database/drivers/cubrid/index.html
old mode 100644
new mode 100755
diff --git a/system/database/drivers/index.html b/system/database/drivers/index.html
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mssql/index.html b/system/database/drivers/mssql/index.html
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mssql/mssql_driver.php b/system/database/drivers/mssql/mssql_driver.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mssql/mssql_forge.php b/system/database/drivers/mssql/mssql_forge.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mssql/mssql_result.php b/system/database/drivers/mssql/mssql_result.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mssql/mssql_utility.php b/system/database/drivers/mssql/mssql_utility.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mysql/index.html b/system/database/drivers/mysql/index.html
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mysql/mysql_driver.php b/system/database/drivers/mysql/mysql_driver.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mysql/mysql_forge.php b/system/database/drivers/mysql/mysql_forge.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mysql/mysql_result.php b/system/database/drivers/mysql/mysql_result.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mysql/mysql_utility.php b/system/database/drivers/mysql/mysql_utility.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mysqli/index.html b/system/database/drivers/mysqli/index.html
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mysqli/mysqli_forge.php b/system/database/drivers/mysqli/mysqli_forge.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mysqli/mysqli_result.php b/system/database/drivers/mysqli/mysqli_result.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/mysqli/mysqli_utility.php b/system/database/drivers/mysqli/mysqli_utility.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/oci8/index.html b/system/database/drivers/oci8/index.html
old mode 100644
new mode 100755
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/oci8/oci8_forge.php b/system/database/drivers/oci8/oci8_forge.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/oci8/oci8_result.php b/system/database/drivers/oci8/oci8_result.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/oci8/oci8_utility.php b/system/database/drivers/oci8/oci8_utility.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/odbc/index.html b/system/database/drivers/odbc/index.html
old mode 100644
new mode 100755
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/odbc/odbc_forge.php b/system/database/drivers/odbc/odbc_forge.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/odbc/odbc_result.php b/system/database/drivers/odbc/odbc_result.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/odbc/odbc_utility.php b/system/database/drivers/odbc/odbc_utility.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/pdo/index.html b/system/database/drivers/pdo/index.html
old mode 100644
new mode 100755
diff --git a/system/database/drivers/pdo/pdo_driver.php b/system/database/drivers/pdo/pdo_driver.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/pdo/pdo_forge.php b/system/database/drivers/pdo/pdo_forge.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/pdo/pdo_result.php b/system/database/drivers/pdo/pdo_result.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/pdo/pdo_utility.php b/system/database/drivers/pdo/pdo_utility.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/postgre/index.html b/system/database/drivers/postgre/index.html
old mode 100644
new mode 100755
diff --git a/system/database/drivers/postgre/postgre_driver.php b/system/database/drivers/postgre/postgre_driver.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/postgre/postgre_forge.php b/system/database/drivers/postgre/postgre_forge.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/postgre/postgre_result.php b/system/database/drivers/postgre/postgre_result.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/postgre/postgre_utility.php b/system/database/drivers/postgre/postgre_utility.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/sqlite/index.html b/system/database/drivers/sqlite/index.html
old mode 100644
new mode 100755
diff --git a/system/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/sqlite/sqlite_forge.php b/system/database/drivers/sqlite/sqlite_forge.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/sqlite/sqlite_result.php b/system/database/drivers/sqlite/sqlite_result.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/sqlite/sqlite_utility.php b/system/database/drivers/sqlite/sqlite_utility.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/sqlsrv/index.html b/system/database/drivers/sqlsrv/index.html
old mode 100644
new mode 100755
diff --git a/system/database/drivers/sqlsrv/sqlsrv_driver.php b/system/database/drivers/sqlsrv/sqlsrv_driver.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/sqlsrv/sqlsrv_forge.php b/system/database/drivers/sqlsrv/sqlsrv_forge.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/sqlsrv/sqlsrv_result.php b/system/database/drivers/sqlsrv/sqlsrv_result.php
old mode 100644
new mode 100755
diff --git a/system/database/drivers/sqlsrv/sqlsrv_utility.php b/system/database/drivers/sqlsrv/sqlsrv_utility.php
old mode 100644
new mode 100755
diff --git a/system/database/index.html b/system/database/index.html
old mode 100644
new mode 100755
diff --git a/system/fonts/1.ttf b/system/fonts/1.ttf
old mode 100644
new mode 100755
diff --git a/system/fonts/index.html b/system/fonts/index.html
old mode 100644
new mode 100755
diff --git a/system/fonts/texb.ttf b/system/fonts/texb.ttf
old mode 100644
new mode 100755
diff --git a/system/helpers/array_helper.php b/system/helpers/array_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/captcha_helper.php b/system/helpers/captcha_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/compatibility_helper.php b/system/helpers/compatibility_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/cookie_helper.php b/system/helpers/cookie_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/date_helper.php b/system/helpers/date_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/directory_helper.php b/system/helpers/directory_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/email_helper.php b/system/helpers/email_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/index.html b/system/helpers/index.html
old mode 100644
new mode 100755
diff --git a/system/helpers/inflector_helper.php b/system/helpers/inflector_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/language_helper.php b/system/helpers/language_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/number_helper.php b/system/helpers/number_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/path_helper.php b/system/helpers/path_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/security_helper.php b/system/helpers/security_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/smiley_helper.php b/system/helpers/smiley_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/string_helper.php b/system/helpers/string_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/text_helper.php b/system/helpers/text_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/typography_helper.php b/system/helpers/typography_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php
old mode 100644
new mode 100755
diff --git a/system/helpers/xml_helper.php b/system/helpers/xml_helper.php
old mode 100644
new mode 100755
diff --git a/system/index.html b/system/index.html
old mode 100644
new mode 100755
diff --git a/system/language/english/calendar_lang.php b/system/language/english/calendar_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/english/date_lang.php b/system/language/english/date_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/english/db_lang.php b/system/language/english/db_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/english/email_lang.php b/system/language/english/email_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/english/form_validation_lang.php b/system/language/english/form_validation_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/english/ftp_lang.php b/system/language/english/ftp_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/english/imglib_lang.php b/system/language/english/imglib_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/english/index.html b/system/language/english/index.html
old mode 100644
new mode 100755
diff --git a/system/language/english/migration_lang.php b/system/language/english/migration_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/english/number_lang.php b/system/language/english/number_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/english/profiler_lang.php b/system/language/english/profiler_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/english/scaffolding_lang.php b/system/language/english/scaffolding_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/english/unit_test_lang.php b/system/language/english/unit_test_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/english/upload_lang.php b/system/language/english/upload_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/english/validation_lang.php b/system/language/english/validation_lang.php
old mode 100644
new mode 100755
diff --git a/system/language/index.html b/system/language/index.html
old mode 100644
new mode 100755
diff --git a/system/libraries/Benchmark.php b/system/libraries/Benchmark.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Cache/Cache.php b/system/libraries/Cache/Cache.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Cache/drivers/Cache_apc.php b/system/libraries/Cache/drivers/Cache_apc.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Cache/drivers/Cache_dummy.php b/system/libraries/Cache/drivers/Cache_dummy.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Cache/drivers/Cache_file.php b/system/libraries/Cache/drivers/Cache_file.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Cache/drivers/Cache_memcached.php b/system/libraries/Cache/drivers/Cache_memcached.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Calendar.php b/system/libraries/Calendar.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Config.php b/system/libraries/Config.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Controller.php b/system/libraries/Controller.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Driver.php b/system/libraries/Driver.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Exceptions.php b/system/libraries/Exceptions.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Ftp.php b/system/libraries/Ftp.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Hooks.php b/system/libraries/Hooks.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Javascript.php b/system/libraries/Javascript.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Language.php b/system/libraries/Language.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Log.php b/system/libraries/Log.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Migration.php b/system/libraries/Migration.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Model.php b/system/libraries/Model.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Output.php b/system/libraries/Output.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Pagination.php b/system/libraries/Pagination.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Parser.php b/system/libraries/Parser.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Router.php b/system/libraries/Router.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Security.php b/system/libraries/Security.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Session.php b/system/libraries/Session.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Sha1.php b/system/libraries/Sha1.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Table.php b/system/libraries/Table.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Trackback.php b/system/libraries/Trackback.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Typography.php b/system/libraries/Typography.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Unit_test.php b/system/libraries/Unit_test.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
old mode 100644
new mode 100755
diff --git a/system/libraries/User_agent.php b/system/libraries/User_agent.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Xmlrpcs.php b/system/libraries/Xmlrpcs.php
old mode 100644
new mode 100755
diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php
old mode 100644
new mode 100755
diff --git a/system/libraries/index.html b/system/libraries/index.html
old mode 100644
new mode 100755
diff --git a/system/libraries/javascript/Jquery.php b/system/libraries/javascript/Jquery.php
old mode 100644
new mode 100755
diff --git a/system/plugins/captcha_pi.php b/system/plugins/captcha_pi.php
old mode 100644
new mode 100755
diff --git a/system/plugins/index.html b/system/plugins/index.html
old mode 100644
new mode 100755
diff --git a/system/plugins/js_calendar_pi.php b/system/plugins/js_calendar_pi.php
old mode 100644
new mode 100755
diff --git a/system/scaffolding/Scaffolding.php b/system/scaffolding/Scaffolding.php
old mode 100644
new mode 100755
diff --git a/system/scaffolding/images/background.jpg b/system/scaffolding/images/background.jpg
old mode 100644
new mode 100755
diff --git a/system/scaffolding/images/index.html b/system/scaffolding/images/index.html
old mode 100644
new mode 100755
diff --git a/system/scaffolding/images/logo.jpg b/system/scaffolding/images/logo.jpg
old mode 100644
new mode 100755
diff --git a/system/scaffolding/index.html b/system/scaffolding/index.html
old mode 100644
new mode 100755
diff --git a/system/scaffolding/views/add.php b/system/scaffolding/views/add.php
old mode 100644
new mode 100755
diff --git a/system/scaffolding/views/delete.php b/system/scaffolding/views/delete.php
old mode 100644
new mode 100755
diff --git a/system/scaffolding/views/edit.php b/system/scaffolding/views/edit.php
old mode 100644
new mode 100755
diff --git a/system/scaffolding/views/footer.php b/system/scaffolding/views/footer.php
old mode 100644
new mode 100755
diff --git a/system/scaffolding/views/header.php b/system/scaffolding/views/header.php
old mode 100644
new mode 100755
diff --git a/system/scaffolding/views/index.html b/system/scaffolding/views/index.html
old mode 100644
new mode 100755
diff --git a/system/scaffolding/views/no_data.php b/system/scaffolding/views/no_data.php
old mode 100644
new mode 100755
diff --git a/system/scaffolding/views/stylesheet.css b/system/scaffolding/views/stylesheet.css
old mode 100644
new mode 100755
diff --git a/system/scaffolding/views/view.php b/system/scaffolding/views/view.php
old mode 100644
new mode 100755
diff --git a/templates/administrator/images/favicon.png b/templates/administrator/images/favicon.png
old mode 100644
new mode 100755
diff --git a/templates/administrator/js/json.js b/templates/administrator/js/json.js
old mode 100644
new mode 100755
diff --git a/templates/commerce/404.tpl b/templates/commerce/404.tpl
old mode 100644
new mode 100755
diff --git a/templates/commerce/PaymentSystem/LiqPay.tpl b/templates/commerce/PaymentSystem/LiqPay.tpl
old mode 100644
new mode 100755
diff --git a/templates/commerce/PaymentSystem/PayPal.tpl b/templates/commerce/PaymentSystem/PayPal.tpl
old mode 100644
new mode 100755
diff --git a/templates/commerce/PaymentSystem/QIWI.tpl b/templates/commerce/PaymentSystem/QIWI.tpl
old mode 100644
new mode 100755
diff --git a/templates/commerce/PaymentSystem/WebMoney.tpl b/templates/commerce/PaymentSystem/WebMoney.tpl
old mode 100644
new mode 100755
diff --git a/templates/commerce/PaymentSystem/YandexMoney.tpl b/templates/commerce/PaymentSystem/YandexMoney.tpl
old mode 100644
new mode 100755
diff --git a/templates/commerce/PaymentSystem/robokassa.tpl b/templates/commerce/PaymentSystem/robokassa.tpl
old mode 100644
new mode 100755
diff --git a/templates/commerce/category.tpl b/templates/commerce/category.tpl
old mode 100644
new mode 100755
diff --git a/templates/commerce/comments.tpl b/templates/commerce/comments.tpl
old mode 100644
new mode 100755
diff --git a/templates/commerce/comments_api.tpl b/templates/commerce/comments_api.tpl
old mode 100644
new mode 100755
index 15c2aa0058..24f85f7a81
--- a/templates/commerce/comments_api.tpl
+++ b/templates/commerce/comments_api.tpl
@@ -1,5 +1,7 @@
{# Comments form for product}
+
{sprintf(lang('login_for_comments'), site_url($modules.auth))} @@ -27,6 +29,7 @@ {/if} + {if $can_comment == 0 OR $is_logged_in}