Index: branches/5.2.x/core/admin_templates/promo_block_groups/promo_block_group_list.tpl
===================================================================
diff -u -N -r15165 -r16062
--- branches/5.2.x/core/admin_templates/promo_block_groups/promo_block_group_list.tpl (.../promo_block_group_list.tpl) (revision 15165)
+++ branches/5.2.x/core/admin_templates/promo_block_groups/promo_block_group_list.tpl (.../promo_block_group_list.tpl) (revision 16062)
@@ -56,7 +56,7 @@
-
+
Index: branches/5.2.x/core/admin_templates/head.tpl
===================================================================
diff -u -N -r15539 -r16062
--- branches/5.2.x/core/admin_templates/head.tpl (.../head.tpl) (revision 15539)
+++ branches/5.2.x/core/admin_templates/head.tpl (.../head.tpl) (revision 16062)
@@ -110,7 +110,7 @@
}
function change_password() {
- getFrame('main').set_hidden_field('u_id', );
+ getFrame('main').set_hidden_field('u_id', );
open_popup('u', '', 'users/root_edit_password');
@@ -122,4 +122,4 @@
$FrameResizer = new FrameResizer('', '', window.parent, '', );
$FrameResizer.InitControls($FrameResizer);
$FrameResizer.SetStatus(01);
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/config/config_universal.tpl
===================================================================
diff -u -N -r15525 -r16062
--- branches/5.2.x/core/admin_templates/config/config_universal.tpl (.../config_universal.tpl) (revision 15525)
+++ branches/5.2.x/core/admin_templates/config/config_universal.tpl (.../config_universal.tpl) (revision 16062)
@@ -1,7 +1,7 @@
-
+
@@ -148,4 +148,4 @@
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/submissions/submissions_list.tpl
===================================================================
diff -u -N -r14614 -r16062
--- branches/5.2.x/core/admin_templates/submissions/submissions_list.tpl (.../submissions_list.tpl) (revision 14614)
+++ branches/5.2.x/core/admin_templates/submissions/submissions_list.tpl (.../submissions_list.tpl) (revision 16062)
@@ -1,6 +1,6 @@
-
+
@@ -64,4 +64,4 @@
Grids['formsubs'].SetDependantToolbarButtons( new Array('edit','delete') );
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/reviews/reviews_tab.tpl
===================================================================
diff -u -N -r15445 -r16062
--- branches/5.2.x/core/admin_templates/reviews/reviews_tab.tpl (.../reviews_tab.tpl) (revision 15445)
+++ branches/5.2.x/core/admin_templates/reviews/reviews_tab.tpl (.../reviews_tab.tpl) (revision 16062)
@@ -39,5 +39,5 @@
-
-
\ No newline at end of file
+
+
Index: branches/5.2.x/core/admin_templates/import/import_start.tpl
===================================================================
diff -u -N -r14244 -r16062
--- branches/5.2.x/core/admin_templates/import/import_start.tpl (.../import_start.tpl) (revision 14244)
+++ branches/5.2.x/core/admin_templates/import/import_start.tpl (.../import_start.tpl) (revision 16062)
@@ -3,7 +3,7 @@
-
+
@@ -50,4 +50,4 @@
" />
" />
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/catalog/catalog_counters.tpl
===================================================================
diff -u -N -r14244 -r16062
--- branches/5.2.x/core/admin_templates/catalog/catalog_counters.tpl (.../catalog_counters.tpl) (revision 14244)
+++ branches/5.2.x/core/admin_templates/catalog/catalog_counters.tpl (.../catalog_counters.tpl) (revision 16062)
@@ -19,11 +19,11 @@
set_window_title( RemoveTranslationLink(document.getElementById('blue_bar').innerHTML, false).replace(/(<[^<]+>)/g, '').replace(/\s+/g, ' ').trim() );
-
+
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/export/export_progress.tpl
===================================================================
diff -u -N -r14244 -r16062
--- branches/5.2.x/core/admin_templates/export/export_progress.tpl (.../export_progress.tpl) (revision 14244)
+++ branches/5.2.x/core/admin_templates/export/export_progress.tpl (.../export_progress.tpl) (revision 16062)
@@ -1,7 +1,7 @@
-
+
@@ -32,4 +32,4 @@
$QueueProcessor = new AjaxProgressBar(action_url);
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/catalog_tab.tpl
===================================================================
diff -u -N -r15861 -r16062
--- branches/5.2.x/core/admin_templates/catalog_tab.tpl (.../catalog_tab.tpl) (revision 15861)
+++ branches/5.2.x/core/admin_templates/catalog_tab.tpl (.../catalog_tab.tpl) (revision 16062)
@@ -35,7 +35,7 @@
// substiture form action, like from was created from here
document.getElementById('categories_form').action = '';
$Catalog.setItemCount('', '');
- $Catalog.setCurrentCategory('', );
+ $Catalog.setCurrentCategory('', );
$Catalog.saveSearch('', '', '');
@@ -92,4 +92,4 @@
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/categories/permissions_tab.tpl
===================================================================
diff -u -N -r15445 -r16062
--- branches/5.2.x/core/admin_templates/categories/permissions_tab.tpl (.../permissions_tab.tpl) (revision 15445)
+++ branches/5.2.x/core/admin_templates/categories/permissions_tab.tpl (.../permissions_tab.tpl) (revision 16062)
@@ -5,8 +5,8 @@
if ($request_visible) {
- document.getElementById('_div').setAttribute('group_id', );
- maximizeElement( jq('#_div') );
+ document.getElementById('_div').setAttribute('group_id', );
+ maximizeElement( jq('#_div') );
}
@@ -74,4 +74,4 @@
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/config/config_general.tpl
===================================================================
diff -u -N -r15525 -r16062
--- branches/5.2.x/core/admin_templates/config/config_general.tpl (.../config_general.tpl) (revision 15525)
+++ branches/5.2.x/core/admin_templates/config/config_general.tpl (.../config_general.tpl) (revision 16062)
@@ -1,6 +1,6 @@
-
+
@@ -177,4 +177,4 @@
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/categories/category_path.tpl
===================================================================
diff -u -N -r15165 -r16062
--- branches/5.2.x/core/admin_templates/categories/category_path.tpl (.../category_path.tpl) (revision 15165)
+++ branches/5.2.x/core/admin_templates/categories/category_path.tpl (.../category_path.tpl) (revision 16062)
@@ -2,7 +2,7 @@
-
+
@@ -12,4 +12,4 @@
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/config/config_search.tpl
===================================================================
diff -u -N -r14637 -r16062
--- branches/5.2.x/core/admin_templates/config/config_search.tpl (.../config_search.tpl) (revision 14637)
+++ branches/5.2.x/core/admin_templates/config/config_search.tpl (.../config_search.tpl) (revision 16062)
@@ -1,6 +1,6 @@
-
+
@@ -139,4 +139,4 @@
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/submissions/submission_edit_logs.tpl
===================================================================
diff -u -N -r14244 -r16062
--- branches/5.2.x/core/admin_templates/submissions/submission_edit_logs.tpl (.../submission_edit_logs.tpl) (revision 14244)
+++ branches/5.2.x/core/admin_templates/submissions/submission_edit_logs.tpl (.../submission_edit_logs.tpl) (revision 16062)
@@ -1,7 +1,7 @@
-
+
@@ -146,4 +146,4 @@
Grids['submission-log'].SetDependantToolbarButtons( new Array('edit','delete', 'resend') );
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/config/config_edit.tpl
===================================================================
diff -u -N -r15614 -r16062
--- branches/5.2.x/core/admin_templates/config/config_edit.tpl (.../config_edit.tpl) (revision 15614)
+++ branches/5.2.x/core/admin_templates/config/config_edit.tpl (.../config_edit.tpl) (revision 16062)
@@ -1,7 +1,7 @@
-
+
@@ -97,4 +97,4 @@
});
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/custom_fields/custom_fields_list.tpl
===================================================================
diff -u -N -r14244 -r16062
--- branches/5.2.x/core/admin_templates/custom_fields/custom_fields_list.tpl (.../custom_fields_list.tpl) (revision 14244)
+++ branches/5.2.x/core/admin_templates/custom_fields/custom_fields_list.tpl (.../custom_fields_list.tpl) (revision 16062)
@@ -1,6 +1,6 @@
-
+
@@ -89,4 +89,4 @@
Grids['cf'].SetDependantToolbarButtons( new Array('edit','delete', 'clone', 'move_down', 'move_up') );
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/submissions/submission_log_edit.tpl
===================================================================
diff -u -N -r15614 -r16062
--- branches/5.2.x/core/admin_templates/submissions/submission_log_edit.tpl (.../submission_log_edit.tpl) (revision 15614)
+++ branches/5.2.x/core/admin_templates/submissions/submission_log_edit.tpl (.../submission_log_edit.tpl) (revision 16062)
@@ -2,7 +2,7 @@
-
+
@@ -131,4 +131,4 @@
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/config/config_search_edit.tpl
===================================================================
diff -u -N -r15539 -r16062
--- branches/5.2.x/core/admin_templates/config/config_search_edit.tpl (.../config_search_edit.tpl) (revision 15539)
+++ branches/5.2.x/core/admin_templates/config/config_search_edit.tpl (.../config_search_edit.tpl) (revision 16062)
@@ -2,7 +2,7 @@
-
+
Index: branches/5.2.x/core/admin_templates/custom_fields/custom_fields_edit.tpl
===================================================================
diff -u -N -r14244 -r16062
--- branches/5.2.x/core/admin_templates/custom_fields/custom_fields_edit.tpl (.../custom_fields_edit.tpl) (revision 14244)
+++ branches/5.2.x/core/admin_templates/custom_fields/custom_fields_edit.tpl (.../custom_fields_edit.tpl) (revision 16062)
@@ -1,7 +1,7 @@
-
+
Index: branches/5.2.x/core/admin_templates/reviews/review_direct_edit.tpl
===================================================================
diff -u -N -r14244 -r16062
--- branches/5.2.x/core/admin_templates/reviews/review_direct_edit.tpl (.../review_direct_edit.tpl) (revision 14244)
+++ branches/5.2.x/core/admin_templates/reviews/review_direct_edit.tpl (.../review_direct_edit.tpl) (revision 16062)
@@ -2,7 +2,7 @@
-
+
@@ -48,4 +48,4 @@
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/submissions/submission_view.tpl
===================================================================
diff -u -N -r15858 -r16062
--- branches/5.2.x/core/admin_templates/submissions/submission_view.tpl (.../submission_view.tpl) (revision 15858)
+++ branches/5.2.x/core/admin_templates/submissions/submission_view.tpl (.../submission_view.tpl) (revision 16062)
@@ -1,7 +1,7 @@
-
+
@@ -220,4 +220,4 @@
-
\ No newline at end of file
+
Index: branches/5.2.x/core/kernel/processors/main_processor.php
===================================================================
diff -u -N -r16027 -r16062
--- branches/5.2.x/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 16027)
+++ branches/5.2.x/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 16062)
@@ -1,6 +1,6 @@
Application->GetVar($regs[1], Array ());
- array_unshift_ref($function_params, $ret);
+ $ret = $this->Application->GetVar($regs[1], array());
+ kUtil::array_unshift_ref($function_params, $ret);
- return call_user_func_array('getArrayValue', $function_params);
+ $ret = call_user_func_array('getArrayValue', $function_params);
}
else {
$ret = $this->Application->GetVar($name, '');
}
- if (array_key_exists('no_html_escape', $params) && $params['no_html_escape']) {
- return kUtil::unescape($ret, kUtil::ESCAPE_HTML);
+ if ( array_key_exists('no_html_escape', $params) && $params['no_html_escape'] ) {
+ return $this->Application->isAdmin ? $ret : kUtil::unescape($ret, kUtil::ESCAPE_HTML);
}
- return $ret;
+ return kUtil::escape($ret, kUtil::ESCAPE_HTML);
}
/**