Index: trunk/admin/relation_select.php =================================================================== diff -u -r1510 -r1566 --- trunk/admin/relation_select.php (.../relation_select.php) (revision 1510) +++ trunk/admin/relation_select.php (.../relation_select.php) (revision 1566) @@ -12,6 +12,37 @@ ## result in revocation of the license and support ## ## privileges along maximum prosecution allowed by law. ## ############################################################## +define('IS_POPUP', 1); + +//KERNEL4 STARTUP - FOR ACTIONS HANDLING + +function k4getmicrotime() +{ + list($usec, $sec) = explode(" ", microtime()); + return ((float)$usec + (float)$sec); +} + +$start = k4getmicrotime(); + +define('ADMIN', 1); +define('FULL_PATH', realpath(dirname(__FILE__).'/..')); +define('APPLICATION_CLASS', 'MyApplication'); +define('ADMINS_LIST','/in-portal/users/users.php'); +include_once(FULL_PATH."/kernel/kernel4/startup.php"); + +$application =& kApplication::Instance(); +$application->Init(); + +$application->SetVar('t', 'in-commerce/products/products_select'); + +if( $application->GetVar('CatId') ) +{ + $application->SetVar('m_cat_id', $application->GetVar('CatId') ); +} +$application->Run(); + +//KERNEL4 END + //$b_topmargin = "0"; $hideSelectAll = true; @@ -235,7 +266,7 @@ var images = tabHeader.getElementsByTagName("IMG"); if (images.length < 1) continue; - images[0].src = "$imagesURL/itemtabs/" + ((tab.active) ? "divider_up" : "divider_empty") + ".gif"; + images[0].src = "$imagesURL/itemtabs/" + ((tab.active) ? "divider_up" : "divider_dn") + ".gif"; } } @@ -293,6 +324,7 @@ "> +