Page MenuHomeIn-Portal Phabricator

D318.id758.diff
No OneTemporary

File Metadata

Created
Tue, Feb 11, 12:03 PM

D318.id758.diff

Index: core/admin_templates/catalog/catalog_counters.tpl
===================================================================
--- core/admin_templates/catalog/catalog_counters.tpl
+++ core/admin_templates/catalog/catalog_counters.tpl
@@ -19,7 +19,7 @@
set_window_title( RemoveTranslationLink(document.getElementById('blue_bar').innerHTML, false).replace(/(<[^<]+>)/g, '').replace(/\s+/g, ' ').trim() );
<inp2:m_if check="m_Get" name="last_template">
- <inp2:m_Get name="last_template" no_html_escape="1" result_to_var="last_template"/>
+ <inp2:m_Get name="last_template" result_to_var="last_template"/>
<inp2:c_UpdateLastTemplate template="$last_template"/>
<inp2:m_else/>
<inp2:c_UpdateLastTemplate template="catalog/catalog"/>
Index: core/admin_templates/catalog_tab.tpl
===================================================================
--- core/admin_templates/catalog_tab.tpl
+++ core/admin_templates/catalog_tab.tpl
@@ -35,7 +35,7 @@
// substitute form action, like from was created from here
document.getElementById('categories_form').action = '<inp2:m_t pass="all" no_amp="1" js_escape="1"/>';
$Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:$prefix_CatalogItemCount/>');
- $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" no_html_escape="1" js_escape="1"/>);
+ $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" js_escape="1"/>);
$Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword js_escape="1"/>', '<inp2:m_Param name="grid_name"/>');
<inp2:m_RenderElement name="structure_reload_element"/>
Index: core/admin_templates/categories/category_path.tpl
===================================================================
--- core/admin_templates/categories/category_path.tpl
+++ core/admin_templates/categories/category_path.tpl
@@ -2,7 +2,7 @@
<inp2:m_if check="m_Get" name="ajax" equals_to="yes">
<inp2:m_NoDebug/>
- <inp2:m_Get name="category_id" no_html_escape="1" result_to_var="category_id"/>
+ <inp2:m_Get name="category_id" result_to_var="category_id"/>
</inp2:m_if>
<inp2:m_DefineElement name="category_caption">
Index: core/admin_templates/categories/permissions_tab.tpl
===================================================================
--- core/admin_templates/categories/permissions_tab.tpl
+++ core/admin_templates/categories/permissions_tab.tpl
@@ -5,8 +5,8 @@
<inp2:m_else/>
<inp2:lang.current_SetContentType content_type="text/plain"/>
if ($request_visible) {
- document.getElementById('<inp2:m_get name="item_prefix" no_html_escape="1" js_escape="1"/>_div').setAttribute('group_id', <inp2:m_get name="group_id" no_html_escape="1" js_escape="1"/>);
- maximizeElement( jq('#<inp2:m_get name="item_prefix" no_html_escape="1" js_escape="1"/>_div') );
+ document.getElementById('<inp2:m_get name="item_prefix" js_escape="1"/>_div').setAttribute('group_id', <inp2:m_get name="group_id" js_escape="1"/>);
+ maximizeElement( jq('#<inp2:m_get name="item_prefix" js_escape="1"/>_div') );
}
<inp2:m_if check="c_SaveWarning">
Index: core/admin_templates/config/config_edit.tpl
===================================================================
--- core/admin_templates/config/config_edit.tpl
+++ core/admin_templates/config/config_edit.tpl
@@ -1,7 +1,7 @@
<inp2:adm_SetPopupSize width="650" height="790"/>
<inp2:m_include t="incs/header"/>
-<inp2:m_Get name="section" no_html_escape="1" result_to_var="section"/>
+<inp2:m_Get name="section" result_to_var="section"/>
<inp2:m_RenderElement name="combined_header" prefix="conf" section="$section" title_preset="config_edit"/>
<!-- ToolBar -->
Index: core/admin_templates/config/config_general.tpl
===================================================================
--- core/admin_templates/config/config_general.tpl
+++ core/admin_templates/config/config_general.tpl
@@ -1,6 +1,6 @@
<inp2:m_include t="incs/header"/>
-<inp2:m_Get name="section" no_html_escape="1" result_to_var="section"/>
+<inp2:m_Get name="section" result_to_var="section"/>
<inp2:m_RenderElement name="combined_header" prefix="conf" section="$section" perm_event="conf:OnLoad" title_preset="config_list_general"/>
<!-- ToolBar -->
Index: core/admin_templates/config/config_search.tpl
===================================================================
--- core/admin_templates/config/config_search.tpl
+++ core/admin_templates/config/config_search.tpl
@@ -1,6 +1,6 @@
<inp2:m_include t="incs/header"/>
-<inp2:m_Get name="section" no_html_escape="1" result_to_var="section"/>
+<inp2:m_Get name="section" result_to_var="section"/>
<inp2:m_RenderElement name="combined_header" prefix="confs" section="$section" perm_event="confs:OnLoad" title_preset="config_list_search"/>
<!-- ToolBar -->
Index: core/admin_templates/config/config_search_edit.tpl
===================================================================
--- core/admin_templates/config/config_search_edit.tpl
+++ core/admin_templates/config/config_search_edit.tpl
@@ -2,7 +2,7 @@
<inp2:m_include t="incs/header"/>
-<inp2:m_Get name="section" no_html_escape="1" result_to_var="section"/>
+<inp2:m_Get name="section" result_to_var="section"/>
<inp2:m_RenderElement name="combined_header" prefix="confs" section="$section" perm_event="confs:OnLoad" title_preset="configsearch_edit"/>
<!-- ToolBar -->
Index: core/admin_templates/config/config_universal.tpl
===================================================================
--- core/admin_templates/config/config_universal.tpl
+++ core/admin_templates/config/config_universal.tpl
@@ -1,7 +1,7 @@
<inp2:m_include t="incs/header"/>
<inp2:conf_InitList per_page="-1"/>
-<inp2:m_Get name="section" no_html_escape="1" result_to_var="section"/>
+<inp2:m_Get name="section" result_to_var="section"/>
<inp2:m_RenderElement name="combined_header" prefix="conf" section="$section" title_preset="section_label" perm_event="conf:OnLoad"/>
<!-- ToolBar -->
Index: core/admin_templates/custom_fields/custom_fields_edit.tpl
===================================================================
--- core/admin_templates/custom_fields/custom_fields_edit.tpl
+++ core/admin_templates/custom_fields/custom_fields_edit.tpl
@@ -1,7 +1,7 @@
<inp2:adm_SetPopupSize width="750" height="620"/>
<inp2:m_include t="incs/header"/>
-<inp2:m_Get name="section" no_html_escape="1" result_to_var="section"/>
+<inp2:m_Get name="section" result_to_var="section"/>
<inp2:m_RenderElement name="combined_header" prefix="cf" section="$section" perm_event="cf:OnLoad" title_preset="custom_fields_edit"/>
<!-- ToolBar -->
Index: core/admin_templates/custom_fields/custom_fields_list.tpl
===================================================================
--- core/admin_templates/custom_fields/custom_fields_list.tpl
+++ core/admin_templates/custom_fields/custom_fields_list.tpl
@@ -1,6 +1,6 @@
<inp2:m_include t="incs/header"/>
-<inp2:m_Get name="section" no_html_escape="1" result_to_var="section"/>
+<inp2:m_Get name="section" result_to_var="section"/>
<inp2:m_RenderElement name="combined_header" prefix="cf" section="$section" perm_event="cf:OnLoad" title_preset="custom_fields_list" pagination="1"/>
<!-- ToolBar -->
Index: core/admin_templates/export/export_progress.tpl
===================================================================
--- core/admin_templates/export/export_progress.tpl
+++ core/admin_templates/export/export_progress.tpl
@@ -1,7 +1,7 @@
<inp2:adm_SetPopupSize width="515" height="194"/>
<inp2:m_include t="incs/header"/>
-<inp2:m_Get var="PrefixSpecial" no_html_escape="1" result_to_var="exportprefix" />
+<inp2:m_Get var="PrefixSpecial" result_to_var="exportprefix" />
<inp2:{$exportprefix}_PermSection section="main" result_to_var="permsection" />
<inp2:m_RenderElement name="combined_header" section="$permsection" prefix="adm" title_preset="csv_export"/>
Index: core/admin_templates/head.tpl
===================================================================
--- core/admin_templates/head.tpl
+++ core/admin_templates/head.tpl
@@ -110,7 +110,7 @@
}
function change_password() {
- var $user_id = Number('<inp2:m_get name="u.current_id" no_html_escape="1" js_escape="1"/>');
+ var $user_id = Number('<inp2:m_get name="u.current_id" js_escape="1"/>');
if ( $modal_windows ) {
getFrame('main').set_hidden_field('u_id', $user_id);
Index: core/admin_templates/import/import_start.tpl
===================================================================
--- core/admin_templates/import/import_start.tpl
+++ core/admin_templates/import/import_start.tpl
@@ -3,7 +3,7 @@
<inp2:m_set adm_id="0" />
-<inp2:m_Get var="PrefixSpecial" no_html_escape="1" result_to_var="importprefix" />
+<inp2:m_Get var="PrefixSpecial" result_to_var="importprefix" />
<inp2:{$importprefix}_PermSection section="main" result_to_var="permsection" />
<inp2:m_RenderElement name="combined_header" section="$permsection" prefix="adm" title_preset="csv_import"/>
Index: core/admin_templates/promo_block_groups/promo_block_group_list.tpl
===================================================================
--- core/admin_templates/promo_block_groups/promo_block_group_list.tpl
+++ core/admin_templates/promo_block_groups/promo_block_group_list.tpl
@@ -56,7 +56,7 @@
<inp2:m_if check="m_Get" var="grid_error">
<inp2:m_RenderElement design="form_message" pass_params="1">
- <inp2:m_Get name="grid_error" no_html_escape="1" result_to_var="grid_error"/>
+ <inp2:m_Get name="grid_error" result_to_var="grid_error"/>
<inp2:m_Phrase name="$grid_error"/>
</inp2:m_RenderElement>
</inp2:m_if>
Index: core/admin_templates/reviews/review_direct_edit.tpl
===================================================================
--- core/admin_templates/reviews/review_direct_edit.tpl
+++ core/admin_templates/reviews/review_direct_edit.tpl
@@ -2,7 +2,7 @@
<inp2:m_include t="incs/header"/>
-<inp2:m_Get name="item_prefix" no_html_escape="1" result_to_var="prefix"/>
+<inp2:m_Get name="item_prefix" result_to_var="prefix"/>
<inp2:m_RenderElement name="combined_header" prefix="c" section="in-portal:reviews" title_preset="review_edit"/>
<!-- ToolBar -->
Index: core/admin_templates/reviews/reviews_tab.tpl
===================================================================
--- core/admin_templates/reviews/reviews_tab.tpl
+++ core/admin_templates/reviews/reviews_tab.tpl
@@ -39,5 +39,5 @@
</inp2:m_if>
</inp2:m_DefineElement>
-<inp2:m_Get name="item_prefix" no_html_escape="1" result_to_var="prefix"/>
+<inp2:m_Get name="item_prefix" result_to_var="prefix"/>
<inp2:{$prefix}_InitCatalogTab render_as="catalog_tab" default_grid="ReviewsSection" radio_grid="Radio"/>
Index: core/admin_templates/submissions/submission_edit_logs.tpl
===================================================================
--- core/admin_templates/submissions/submission_edit_logs.tpl
+++ core/admin_templates/submissions/submission_edit_logs.tpl
@@ -1,7 +1,7 @@
<inp2:adm_SetPopupSize width="800" height="640"/>
<inp2:m_include t="incs/header"/>
-<inp2:m_Get var="form_id" no_html_escape="1" result_to_var="form_id"/>
+<inp2:m_Get var="form_id" result_to_var="form_id"/>
<inp2:m_RenderElement name="combined_header" prefix="formsubs" section="in-portal:submissions:$form_id" title_preset="submission_edit_logs" tab_preset="Default" />
Index: core/admin_templates/submissions/submission_log_edit.tpl
===================================================================
--- core/admin_templates/submissions/submission_log_edit.tpl
+++ core/admin_templates/submissions/submission_log_edit.tpl
@@ -2,7 +2,7 @@
<inp2:m_include t="incs/header"/>
-<inp2:m_Get var="form_id" no_html_escape="1" result_to_var="form_id"/>
+<inp2:m_Get var="form_id" result_to_var="form_id"/>
<inp2:m_RenderElement name="combined_header" prefix="formsubs" section="in-portal:submissions:$form_id" title_preset="submission_log_edit"/>
<!-- ToolBar --->
Index: core/admin_templates/submissions/submission_view.tpl
===================================================================
--- core/admin_templates/submissions/submission_view.tpl
+++ core/admin_templates/submissions/submission_view.tpl
@@ -1,7 +1,7 @@
<inp2:adm_SetPopupSize width="800" height="640"/>
<inp2:m_include t="incs/header"/>
-<inp2:m_Get var="form_id" no_html_escape="1" result_to_var="form_id"/>
+<inp2:m_Get var="form_id" result_to_var="form_id"/>
<inp2:m_if check="form_Field" name="EnableEmailCommunication" db="db">
<inp2:m_RenderElement name="combined_header" prefix="formsubs" section="in-portal:submissions:$form_id" title_preset="formsubs_view" tab_preset="Default"/>
Index: core/admin_templates/submissions/submissions_list.tpl
===================================================================
--- core/admin_templates/submissions/submissions_list.tpl
+++ core/admin_templates/submissions/submissions_list.tpl
@@ -1,6 +1,6 @@
<inp2:m_include t="incs/header" />
-<inp2:m_Get var="form_id" no_html_escape="1" result_to_var="form_id"/>
+<inp2:m_Get var="form_id" result_to_var="form_id"/>
<inp2:m_RenderElement name="combined_header" prefix="formsubs" section="in-portal:submissions:$form_id" pagination="1" title_preset="formsubs_list" />
<!-- ToolBar -->
Index: modules/in-bulletin/admin_templates/catalog_tab.tpl
===================================================================
--- modules/in-bulletin/admin_templates/catalog_tab.tpl
+++ modules/in-bulletin/admin_templates/catalog_tab.tpl
@@ -29,7 +29,7 @@
<inp2:$prefix_InitList grid="$grid_name"/>
$Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:{$prefix}_CatalogItemCount/>');
- $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" no_html_escape="1" js_escape="1"/>);
+ $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" js_escape="1"/>);
$Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword js_escape="1"/>', '<inp2:m_Param name="grid_name"/>');
<inp2:m_RenderElement name="grid_js" PrefixSpecial="$prefix" IdField="TopicId" grid="$grid_name" menu_filters="yes"/>
Index: modules/in-bulletin/admin_templates/user_item_tab.tpl
===================================================================
--- modules/in-bulletin/admin_templates/user_item_tab.tpl
+++ modules/in-bulletin/admin_templates/user_item_tab.tpl
@@ -15,7 +15,7 @@
<inp2:$prefix_InitList grid="$grid_name"/>
$Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:{$prefix}_CatalogItemCount/>');
- $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" no_html_escape="1" js_escape="1"/>);
+ $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" js_escape="1"/>);
$Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword js_escape="1"/>', '<inp2:m_Param name="grid_name"/>');
<inp2:m_RenderElement name="grid_js" PrefixSpecial="$prefix" IdField="TopicId" grid="$grid_name" menu_filters="yes"/>
Index: modules/in-commerce/admin_templates/catalog_tab.tpl
===================================================================
--- modules/in-commerce/admin_templates/catalog_tab.tpl
+++ modules/in-commerce/admin_templates/catalog_tab.tpl
@@ -67,7 +67,7 @@
<inp2:$prefix_InitList grid="$grid_name"/>
$Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:{$prefix}_CatalogItemCount/>');
- $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" no_html_escape="1" js_escape="1"/>);
+ $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" js_escape="1"/>);
$Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword js_escape="1"/>', '<inp2:m_Param name="grid_name"/>');
<inp2:m_DefineElement name="qty_td">
Index: modules/in-commerce/admin_templates/payment_type/payment_type_gateway.tpl
===================================================================
--- modules/in-commerce/admin_templates/payment_type/payment_type_gateway.tpl
+++ modules/in-commerce/admin_templates/payment_type/payment_type_gateway.tpl
@@ -60,7 +60,7 @@
<script type="text/javascript">
function refresh_fields() {
- var $dropdown=document.getElementById('pt[<inp2:m_get name="pt_id" />][GatewayId]');
+ var $dropdown=document.getElementById('pt[<inp2:m_get name="pt_id" js_escape="1"/>][GatewayId]');
var $table=document.getElementById('gateway_fields');
var $display_style='';
var $i=0;
@@ -130,4 +130,4 @@
</table>
</div>
-<inp2:m_include t="incs/footer"/>
\ No newline at end of file
+<inp2:m_include t="incs/footer"/>
Index: modules/in-commerce/admin_templates/products/products_pricing_grid.tpl
===================================================================
--- modules/in-commerce/admin_templates/products/products_pricing_grid.tpl
+++ modules/in-commerce/admin_templates/products/products_pricing_grid.tpl
@@ -5,8 +5,8 @@
<inp2:m_else/>
<inp2:lang.current_SetContentType content_type="text/plain"/>
if ($request_visible) {
- document.getElementById('<inp2:m_get name="item_prefix" no_html_escape="1" js_escape="1"/>_div').setAttribute('group_id', <inp2:m_get name="group_id" no_html_escape="1" js_escape="1"/>);
- maximizeElement( jq('#<inp2:m_get name="item_prefix" no_html_escape="1" js_escape="1"/>_div') );
+ document.getElementById('<inp2:m_get name="item_prefix" js_escape="1"/>_div').setAttribute('group_id', <inp2:m_get name="group_id" js_escape="1"/>);
+ maximizeElement( jq('#<inp2:m_get name="item_prefix" js_escape="1"/>_div') );
}
<inp2:m_if check="c_SaveWarning">
document.getElementById('save_warning').style.display = 'block';
Index: modules/in-commerce/admin_templates/user_item_tab.tpl
===================================================================
--- modules/in-commerce/admin_templates/user_item_tab.tpl
+++ modules/in-commerce/admin_templates/user_item_tab.tpl
@@ -16,7 +16,7 @@
<inp2:$prefix_InitList grid="$grid_name"/>
$Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:{$prefix}_CatalogItemCount/>');
- $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" no_html_escape="1" js_escape="1"/>);
+ $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" js_escape="1"/>);
$Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword js_escape="1"/>', '<inp2:m_Param name="grid_name"/>');
<inp2:m_DefineElement name="qty_td">
Index: modules/in-commerce/admin_templates/user_order_item_tab.tpl
===================================================================
--- modules/in-commerce/admin_templates/user_order_item_tab.tpl
+++ modules/in-commerce/admin_templates/user_order_item_tab.tpl
@@ -17,7 +17,7 @@
<inp2:$prefix_InitList grid="$grid_name"/>
$Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:{$prefix}_TotalRecords/>');
- $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" no_html_escape="1" js_escape="1"/>);
+ $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" js_escape="1"/>);
$Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword js_escape="1"/>', '<inp2:m_Param name="grid_name"/>');
<inp2:m_RenderElement name="grid_js" PrefixSpecial="$prefix" IdField="OrderId" grid="$grid_name"/>
Index: modules/in-link/admin_templates/catalog_tab.tpl
===================================================================
--- modules/in-link/admin_templates/catalog_tab.tpl
+++ modules/in-link/admin_templates/catalog_tab.tpl
@@ -28,7 +28,7 @@
<inp2:$prefix_InitList grid="$grid_name"/>
$Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:{$prefix}_CatalogItemCount/>');
- $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" no_html_escape="1" js_escape="1"/>);
+ $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" js_escape="1"/>);
$Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword js_escape="1"/>', '<inp2:m_Param name="grid_name"/>');
<inp2:m_RenderElement name="grid_js" PrefixSpecial="$prefix" IdField="LinkId" grid="$grid_name" menu_filters="yes"/>
Index: modules/in-link/admin_templates/duplicate_checker.tpl
===================================================================
--- modules/in-link/admin_templates/duplicate_checker.tpl
+++ modules/in-link/admin_templates/duplicate_checker.tpl
@@ -41,7 +41,7 @@
$Menus['l.duplicates_grouping_menu'].applyBorder(false, false, false, false);
$Menus['l.duplicates_grouping_menu'].dropShadow("none");
$Menus['l.duplicates_grouping_menu'].showIcon = true;
- <inp2:m_Get name="m_lang" no_html_escape="1" result_to_var="language"/>
+ <inp2:m_Get name="m_lang" result_to_var="language"/>
$Menus['l.duplicates_grouping_menu'].addItem(rs('l.duplicates.group.name'), 'Name', 'javascript:set_grouping("l.duplicates", "|l<inp2:m_Param name="language"/>_Name|");' <inp2:m_if check="m_RecallEquals" name="l.duplicates_dupe_fields" value="|l{$language}_Name|">,['img/check_on.gif']</inp2:m_if>);
$Menus['l.duplicates_grouping_menu'].addItem(rs('l.duplicates.group.url'), 'Url', 'javascript:set_grouping("l.duplicates", "|Url|");' <inp2:m_if check="m_RecallEquals" name="l.duplicates_dupe_fields" value="|Url|">,['img/check_on.gif']</inp2:m_if>);
$Menus['l.duplicates_grouping_menu'].addItem(rs('l.duplicates.group.name.url'), 'Name <inp2:m_phrase name="la_and"/> Url', 'javascript:set_grouping("l.duplicates", "|l<inp2:m_Param name="language"/>_Name|Url|");' <inp2:m_if check="m_RecallEquals" name="l.duplicates_dupe_fields" value="|l{$language}_Name|Url|">,['img/check_on.gif']</inp2:m_if>);
Index: modules/in-link/admin_templates/user_item_tab.tpl
===================================================================
--- modules/in-link/admin_templates/user_item_tab.tpl
+++ modules/in-link/admin_templates/user_item_tab.tpl
@@ -15,7 +15,7 @@
<inp2:$prefix_InitList grid="$grid_name"/>
$Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:{$prefix}_CatalogItemCount/>');
- $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" no_html_escape="1" js_escape="1"/>);
+ $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" js_escape="1"/>);
$Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword js_escape="1"/>', '<inp2:m_Param name="grid_name"/>');
<inp2:m_RenderElement name="grid_js" PrefixSpecial="$prefix" IdField="LinkId" grid="$grid_name" menu_filters="yes"/>
Index: modules/in-news/admin_templates/catalog_tab.tpl
===================================================================
--- modules/in-news/admin_templates/catalog_tab.tpl
+++ modules/in-news/admin_templates/catalog_tab.tpl
@@ -28,7 +28,7 @@
<inp2:$prefix_InitList grid="$grid_name"/>
$Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:{$prefix}_CatalogItemCount/>');
- $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" no_html_escape="1" js_escape="1"/>);
+ $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" js_escape="1"/>);
$Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword js_escape="1"/>', '<inp2:m_Param name="grid_name"/>');
<inp2:m_DefineElement name="article_expire_td" no_special="">
Index: modules/in-news/admin_templates/user_item_tab.tpl
===================================================================
--- modules/in-news/admin_templates/user_item_tab.tpl
+++ modules/in-news/admin_templates/user_item_tab.tpl
@@ -16,7 +16,7 @@
<inp2:$prefix_InitList grid="$grid_name"/>
$Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:{$prefix}_CatalogItemCount/>');
- $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" no_html_escape="1" js_escape="1"/>);
+ $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" js_escape="1"/>);
$Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword js_escape="1"/>', '<inp2:m_Param name="grid_name"/>');
<inp2:m_DefineElement name="article_expire_td" no_special="">

Event Timeline