Источник: http://dev.1c-bitrix.ru/community/webdev/user/11948/blog/8096/ |
AddEventHandler('main', 'OnEpilog', array('CMainHandlers', 'OnEpilogHandler')); class CMainHandlers { public static function OnEpilogHandler() { if (isset($_GET['PAGEN_1']) && intval($_GET['PAGEN_1'])>0) { $title = $GLOBALS['APPLICATION']->GetTitle(); $GLOBALS['APPLICATION']->SetPageProperty('title', $title.' (страница '.intval($_GET['PAGEN_1']).')'); } } } |