%PDF- %PDF-
Direktori : /home/bitrix/www/bitrix/wizards/bitrix/eshop/site/public/ru/personal/ |
Current File : /home/bitrix/www/bitrix/wizards/bitrix/eshop/site/public/ru/personal/.personal.menu_ext.php |
<? if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); global $APPLICATION; $aMenuNativeExt = array(); if (!$GLOBALS["USER"]->IsAuthorized()) { $arParamsToDelete = array( "login", "logout", "register", "forgot_password", "change_password", "confirm_registration", "confirm_code", "confirm_user_id", ); $loginPath = SITE_DIR."login/?backurl=".urlencode($APPLICATION->GetCurPageParam("", array_merge($arParamsToDelete, array("backurl")), $get_index_page=false)); $aMenuNativeExt = array( Array( "Войти", $loginPath, Array(), Array(), "" ) ); } else { $aMenuNativeExt = Array( Array( "Изменить профиль", SITE_DIR."personl/profile/", Array(), Array(), "" ), Array( "Заказы", SITE_DIR."personl/order/", Array(), Array(), "" ), Array( "Выйти", $APPLICATION->GetCurPageParam("logout=yes", Array("logout")), Array(), Array(), "" ), ); } $aMenuLinks = array_merge($aMenuLinks, $aMenuNativeExt); ?>