GX-Bug #44224 » PageParameterFix.patch
src/system/extender/ApplicationBottomExtenderComponent.inc.php (revision ) | ||
---|---|---|
41 | 41 |
if ($this->v_data_array['GET']['coID'] == 13) $t_page = 'Guestbook'; |
42 | 42 |
elseif($this->v_data_array['GET']['coID'] == 14) $t_page = 'CallbackService'; |
43 | 43 |
elseif(!empty($this->v_data_array['GET']['manufacturers_id']) && substr_count($t_script_name, 'index.php') > 0) $t_page = 'Manufacturers'; |
44 |
elseif(!empty($this->v_data_array['GET']['cat']) || substr_count($_SERVER["QUERY_STRING"], 'cat=') > 0 || substr_count($_SERVER["REQUEST_URI"], 'cat/') > 0 || substr_count($t_script_name, 'advanced_search_result.php') > 0 || isset($this->v_data_array['GET']['filter_fv_id']) || isset($this->v_data_array['GET']['filter_price_min']) || isset($this->v_data_array['GET']['filter_price_max']) || isset($this->v_data_array['GET']['filter_id'])) $t_page = 'Cat';
|
|
44 |
elseif(!empty($this->v_data_array['GET']['cat']) || substr_count($_SERVER["QUERY_STRING"], 'cat=') > 0 || substr_count($_SERVER["REQUEST_URI"], 'cat/') == 1 || substr_count($t_script_name, 'advanced_search_result.php') > 0 || isset($this->v_data_array['GET']['filter_fv_id']) || isset($this->v_data_array['GET']['filter_price_min']) || isset($this->v_data_array['GET']['filter_price_max']) || isset($this->v_data_array['GET']['filter_id'])) $t_page = 'Cat';
|
|
45 | 45 |
elseif(substr_count($t_script_name, 'product_info.php') > 0) $t_page = 'ProductInfo'; |
46 | 46 |
elseif(substr_count($t_script_name, 'gm_price_offer.php') > 0) $t_page = 'PriceOffer'; |
47 | 47 |
elseif(substr_count($t_script_name, 'shopping_cart.php') > 0) $t_page = 'Cart'; |