%PDF- %PDF-
| Direktori : /proc/self/root/home/bitrix/www/bitrix/components/bitrix/rest.hook/templates/.default/ |
| Current File : //proc/self/root/home/bitrix/www/bitrix/components/bitrix/rest.hook/templates/.default/list.php |
<?php
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true)
{
die();
}
/**
* Bitrix vars
*
* @var array $arParams
* @var array $arResult
* @var CBitrixComponent $component
* @var CBitrixComponentTemplate $this
* @global CMain $APPLICATION
* @global CUser $USER
*/
$APPLICATION->IncludeComponent(
'bitrix:rest.hook.toolbar',
'',
array(
"COMPONENT_PAGE" => $arParams["COMPONENT_PAGE"],
"LIST_URL" => $arParams["LIST_URL"],
"EVENT_ADD_URL" => $arParams["EVENT_ADD_URL"],
"EVENT_EDIT_URL_TPL" => $arParams["EVENT_EDIT_URL_TPL"],
"AP_ADD_URL" => $arParams["AP_ADD_URL"],
"AP_EDIT_URL_TPL" => $arParams["AP_EDIT_URL_TPL"],
),
$component
);
?>
<h2 class="mp_title_section"><?=\Bitrix\Main\Localization\Loc::getMessage('REST_RH_LIST_EVENT_SECTION')?></h2>
<?
$APPLICATION->IncludeComponent(
'bitrix:rest.hook.event.list',
'',
array(
'EDIT_URL_TPL' => $arParams['EVENT_EDIT_URL_TPL'],
'PAGE_SIZE' => 10,
),
$component
);
?>
<h2 class="mp_title_section"><?=\Bitrix\Main\Localization\Loc::getMessage('REST_RH_LIST_AP_SECTION')?></h2>
<?
$APPLICATION->IncludeComponent(
'bitrix:rest.hook.ap.list',
'',
array(
'EDIT_URL_TPL' => $arParams['AP_EDIT_URL_TPL'],
'PAGE_SIZE' => 10,
),
$component
);