Index: trunk/admin/reviews.php =================================================================== diff -u -r1566 -r1855 --- trunk/admin/reviews.php (.../reviews.php) (revision 1566) +++ trunk/admin/reviews.php (.../reviews.php) (revision 1855) @@ -31,11 +31,8 @@ $application =& kApplication::Instance(); $application->Init(); +$application->ProcessRequest(); -$application->SetVar('t', 'in-commerce/products/products_reviews_section'); - -$application->Run(); - //KERNEL4 END define('REQUIRE_LAYER_HEADER', 1); @@ -151,6 +148,15 @@ } } +$application->InitParser(); + +$cat_templates = $objModules->ExecuteFunction('GetModuleInfo', 'reviews_template'); +foreach ($cat_templates as $a_mod => $a_template) { + if (!$a_template) continue; + $a_var = $a_mod.'_TAB_HTML'; + $$a_var = $application->ParseBlock(Array('name'=>$a_template), 0, true); +} + if(!defined('IS_INSTALL'))define('IS_INSTALL',0); if(!IS_INSTALL) {