本文整理汇总了PHP中CJSCore类的典型用法代码示例。如果您正苦于以下问题:PHP CJSCore类的具体用法?PHP CJSCore怎么用?PHP CJSCore使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了CJSCore类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: OnPlannerInit
public static function OnPlannerInit($params)
{
global $USER, $DB, $CACHE_MANAGER;
$CACHE_MANAGER->RegisterTag('calendar_user_' . $USER->GetID());
$date_from = ConvertTimeStamp();
$ts_date_from = MakeTimeStamp($date_from);
$ts_date_to = $ts_date_from + 86399;
$date_to = ConvertTimeStamp($ts_date_to, 'FULL');
$arFilter = array('arFilter' => array("OWNER_ID" => $USER->GetID(), "FROM_LIMIT" => $date_from, "TO_LIMIT" => $date_to), 'parseRecursion' => true, 'userId' => $USER->GetID(), 'skipDeclined' => true, 'fetchAttendees' => false, 'fetchMeetings' => true);
$arEvents = array();
$eventTime = -1;
$arNewEvents = CCalendarEvent::GetList($arFilter);
if (count($arNewEvents) > 0) {
$now = time() + CTimeZone::GetOffset();
$today = ConvertTimeStamp($now, 'SHORT');
$format = $DB->dateFormatToPHP(IsAmPmMode() ? 'H:MI T' : 'HH:MI');
foreach ($arNewEvents as $arEvent) {
$ts_from = MakeTimeStamp($arEvent['DT_FROM']);
if ($arEvent['RRULE']) {
$ts_to = MakeTimeStamp($arEvent['DT_TO']);
if ($ts_to < $ts_date_from || $ts_from > $ts_date_to) {
continue;
}
}
if (($eventTime < 0 || $eventTime > $ts_from) && $ts_from >= $now) {
$eventTime = $ts_from;
}
if ($params['FULL']) {
$arEvents[] = array('ID' => $arEvent['ID'], 'OWNER_ID' => $USER->GetID(), 'CREATED_BY' => $arEvent['CREATED_BY'], 'NAME' => $arEvent['NAME'], 'DATE_FROM' => $arEvent['DT_FROM'], 'DATE_TO' => $arEvent['DT_TO'], 'TIME_FROM' => FormatDate($format, MakeTimeStamp($arEvent['DT_FROM'])), 'TIME_TO' => FormatDate($format, MakeTimeStamp($arEvent['DT_TO'])), 'IMPORTANCE' => $arEvent['IMPORTANCE'], 'ACCESSIBILITY' => $arEvent['ACCESSIBILITY'], 'DATE_FROM_TODAY' => $today == ConvertTimeStamp(MakeTimeStamp($arEvent['DT_FROM']), 'SHORT'), 'DATE_TO_TODAY' => $today == ConvertTimeStamp(MakeTimeStamp($arEvent['DT_TO']), 'SHORT'));
}
}
}
CJSCore::RegisterExt('calendar_planner_handler', array('js' => '/bitrix/js/calendar/core_planner_handler.js', 'css' => '/bitrix/js/calendar/core_planner_handler.css', 'lang' => BX_ROOT . '/modules/calendar/lang/' . LANGUAGE_ID . '/core_planner_handler.php', 'rel' => array('date', 'timer')));
return array('DATA' => array('CALENDAR_ENABLED' => true, 'EVENTS' => $arEvents, 'EVENT_TIME' => $eventTime < 0 ? '' : FormatDate(IsAmPmMode() ? "g:i a" : "H:i", $eventTime)), 'SCRIPTS' => array('calendar_planner_handler'));
}
示例2: GetPublicEditHtml
public static function GetPublicEditHtml($arProperty, $arValue, $strHTMLControlName)
{
$strID = preg_replace('/[^a-zA-Z0-9_]/i', 'x', $strHTMLControlName["VALUE"]);
CJSCore::Init(array('asd_palette'));
$strResult = '<input type="text" name="' . htmlspecialcharsbx($strHTMLControlName['VALUE']) . '" id="' . htmlspecialcharsbx($strID) . '" value="' . htmlspecialcharsbx($arValue['VALUE']) . '" />';
$strResult .= '<script type="text/javascript">
BX.ready(function()
{
$("#' . htmlspecialcharsbx($strID) . '").jPicker({
window: {title: "' . GetMessage('ASD_UT_PALETTE_WND_TITLE') . '"},
images: {clientPath : "/bitrix/js/asd.iblock/jpicker/images/"},
localization: {
text: {
title: "' . GetMessage('ASD_UT_PALETTE_WND_TITLE') . '",
newColor: "' . GetMessage('ASD_UT_PALETTE_WND_NEW_COLOR') . '", currentColor: "' . GetMessage('ASD_UT_PALETTE_WND_CURRENT_COLOR') . '",
ok: "' . GetMessage('ASD_UT_PALETTE_WND_OK') . '", cancel: "' . GetMessage('ASD_UT_PALETTE_WND_CANCEL') . '"
},
tooltips: {
colors: { newColor: "' . GetMessage('ASD_UT_PALETTE_TIPS_NEW_COLOR') . '", currentColor: "' . GetMessage('ASD_UT_PALETTE_TIPS_CURRENT_COLOR') . '" },
buttons: { ok: "' . GetMessage('ASD_UT_PALETTE_TIPS_BTN_OK') . '", cancel: "' . GetMessage('ASD_UT_PALETTE_TIPS_BTN_CANCEL') . '" },
hue: { radio: "' . GetMessage('ASD_UT_PALETTE_TIPS_HUE_MODE') . '", textbox: "' . GetMessage('ASD_UT_PALETTE_TIPS_HUE_VALUE') . '" },
saturation: { radio: "' . GetMessage('ASD_UT_PALETTE_TIPS_SATURATION_MODE') . '", textbox: "' . GetMessage('ASD_UT_PALETTE_TIPS_SATURATION_VALUE') . '" },
value: { radio: "' . GetMessage('ASD_UT_PALETTE_TIPS_BRIGHTNESS_MODE') . '", textbox: "' . GetMessage('ASD_UT_PALETTE_TIPS_BRIGHTNESS_VALUE') . '" },
red: { radio: "' . GetMessage('ASD_UT_PALETTE_TIPS_RED_MODE') . '", textbox: "' . GetMessage('ASD_UT_PALETTE_TIPS_RED_VALUE') . '" },
green: { radio: "' . GetMessage('ASD_UT_PALETTE_TIPS_GREEN_MODE') . '", textbox: "' . GetMessage('ASD_UT_PALETTE_TIPS_GREEN_VALUE') . '" },
blue: { radio: "' . GetMessage('ASD_UT_PALETTE_TIPS_BLUE_MODE') . '", textbox: "' . GetMessage('ASD_UT_PALETTE_TIPS_BLUE_VALUE') . '" },
alpha: { radio: "' . GetMessage('ASD_UT_PALETTE_TIPS_ALPHA_MODE') . '", textbox: "' . GetMessage('ASD_UT_PALETTE_TIPS_ALPHA_VALUE') . '" },
hex: { textbox: "' . GetMessage('ASD_UT_PALETTE_TIPS_HEX_VALUE') . '", alpha: "' . GetMessage('ASD_UT_PALETTE_TIPS_HEX_ALPHA') . '" }
}
}
});
});
</script>';
return $strResult;
}
示例3: initScripts
public static function initScripts($arData)
{
global $APPLICATION;
$arExt = array('planner');
$arScripts = array();
if (is_array($arData['SCRIPTS'])) {
foreach ($arData['SCRIPTS'] as $script) {
if (CJSCore::IsExtRegistered($script)) {
$arExt[] = $script;
} else {
$arScripts[] = $script;
}
}
}
if (is_array($arData['STYLES'])) {
foreach ($arData['STYLES'] as $style) {
$APPLICATION->SetAdditionalCSS($style);
}
}
\Bitrix\Main\Page\Asset::getInstance()->addJsKernelInfo('calendar_planner_handler', array('/bitrix/js/calendar/core_planner_handler.js'));
\Bitrix\Main\Page\Asset::getInstance()->addCssKernelInfo('calendar_planner_handler', array('/bitrix/js/calendar/core_planner_handler.css'));
CJSCore::Init($arExt);
foreach ($arScripts as $script) {
$APPLICATION->AddHeadScript($script);
}
}
示例4: ShowStep
function ShowStep()
{
$wizard = & $this->GetWizard();
$path = $wizard->package->path;
CJSCore::Init(array('ajax'));
$this->content = '<div id="treelike_comments_import_progress">' . GetMessage('PRMEDIA_TLC_IMPORT_IMPORT_CONTENT') . '</div>';
$this->content .= '<link rel="stylesheet" href="/bitrix/panel/main/admin-public.css" />';
$this->content .= '<style>#wait_treelike_comments_import_progress, .step-buttons {display: none !important;}</style>';
$this->content .= '
<script>
parent.document.getElementsByClassName("bx-core-adm-icon-close")[0].style.display = "none";
;(function (window) {
var BX = window.BX;
var commentImporter = function () {};
commentImporter.prototype.init = function () {
BX.ajax.insertToNode("' . $path . '/ajax/import.php?start=Y", BX("treelike_comments_import_progress"));
};
commentImporter.prototype.update = function () {
BX.ajax.insertToNode("' . $path . '/ajax/import.php", BX("treelike_comments_import_progress"));
};
// add library to window context
window.jsPrmediaCommentImporter = new commentImporter();
}) (window);
jsPrmediaCommentImporter.init();
</script>
';
}
示例5: getList
/**
* Возвращает выпадающий список с часовыми поясами
* @param string $name
* @param string $value
* @param bool $is_multiple
*/
protected static function getList($arProperty, $name, $value, $is_multiple = false)
{
$image = self::getImage($arProperty);
if (!$image) {
return '';
}
global $APPLICATION;
if (self::$counter === 0) {
$script = file_get_contents(__DIR__ . '/../assets/jquery.canvasAreaDraw.js');
\CJSCore::Init(array("jquery"));
$APPLICATION->AddHeadString("<script>{$script}</script>", true);
}
$id = 'canv_' . md5('CanvasPolygon' . $name . self::$counter);
$html = <<<EOD
\t<div style="max-width: 100%; max-height: 600px; overflow: scroll;">
\t\t<input type="hidden" value="{$value}" id="{$id}" name="{$name}">
\t</div>
\t<button id="reset_{$id}">Очистить</button>
\t<script type="text/javascript">
\t\t(function(\$) {
\t\t\tvar \$input = \$('#{$id}');
\t\t\tvar \$parent = \$input.parent();
\t\t\t\$parent.width(\$parent.parent().width());
\t\t\t\$input.canvasAreaDraw({
\t\t\t\timageUrl: "{$image}",
\t\t\t\treset: "#reset_{$id}"
\t\t\t});
\t\t})(jQuery);
\t</script>
EOD;
self::$counter++;
return $html;
}
示例6: l
static function l()
{
if (file_exists($_SERVER["DOCUMENT_ROOT"] . "/bxd_log.txt")) {
$content = file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/bxd_log.txt");
global $APPLICATION;
CJSCore::Init(array('bxd'));
$APPLICATION->AddViewContent("bxd_debug", $content, 1);
}
}
示例7: OnPlannerInit
public static function OnPlannerInit($params)
{
global $APPLICATION, $USER, $CACHE_MANAGER;
self::$SITE_ID = $params['SITE_ID'];
self::$USER_ID = $USER->GetID();
$arTasks = array();
if (self::$USER_ID > 0) {
$CACHE_MANAGER->RegisterTag('tasks_user_' . self::$USER_ID);
$CACHE_MANAGER->RegisterTag('tasks_user_fields');
$arTaskIDs = self::getCurrentTasksList();
$tasksCount = self::getTasksCount($arTaskIDs);
} else {
$arTaskIDs = array();
$tasksCount = 0;
}
if ($params['FULL']) {
if (self::$USER_ID > 0) {
if (is_array($arTaskIDs) && !empty($arTaskIDs)) {
$arTasks = self::getTasks($arTaskIDs);
}
}
} else {
$APPLICATION->IncludeComponent("bitrix:tasks.iframe.popup", ".default", array("ON_TASK_ADDED" => "BX.DoNothing", "ON_TASK_CHANGED" => "BX.DoNothing", "ON_TASK_DELETED" => "BX.DoNothing"), null, array("HIDE_ICONS" => "Y"));
}
CJSCore::RegisterExt('tasks_planner_handler', array('js' => '/bitrix/js/tasks/core_planner_handler.js', 'css' => '/bitrix/js/tasks/css/tasks.css', 'lang' => BX_ROOT . '/modules/tasks/lang/' . LANGUAGE_ID . '/core_planner_handler.php', 'rel' => array('popup', 'tooltip')));
if (self::$USER_ID > 0) {
$oTimer = CTaskTimerManager::getInstance(self::$USER_ID);
$arTimer = $oTimer->getLastTimer();
$arTaskOnTimer = false;
if ($arTimer !== false && $arTimer['TASK_ID'] > 0) {
// Timered task can be in day plan, try to found it
if (in_array($arTimer['TASK_ID'], $arTaskIDs)) {
foreach ($arTasks as &$arTaskData) {
if ($arTaskData['ID'] == $arTimer['TASK_ID']) {
$arTaskOnTimer = $arTaskData;
break;
}
}
unset($arTaskData);
}
// If task not found, select it
if ($arTaskOnTimer === false) {
$arTmp = self::getTasks(array($arTimer['TASK_ID']));
if (isset($arTmp[0])) {
$arTaskOnTimer = $arTmp[0];
}
}
}
} else {
$arTimer = false;
$arTaskOnTimer = false;
}
$arResult = array('DATA' => array('TASKS_ENABLED' => true, 'TASKS' => $arTasks, 'TASKS_COUNT' => $tasksCount, 'TASKS_TIMER' => $arTimer, 'TASK_ON_TIMER' => $arTaskOnTimer, 'MANDATORY_UFS' => CTasksRarelyTools::isMandatoryUserFieldExists() ? 'Y' : 'N'), 'STYLES' => array('/bitrix/js/tasks/css/tasks.css'), 'SCRIPTS' => array('CJSTask', 'taskQuickPopups', 'tasks_planner_handler', '/bitrix/js/tasks/task-iframe-popup.js'));
return $arResult;
}
示例8: initJs
static function initJs()
{
static $done = false;
if (!$done) {
$done = true;
\CJSCore::RegisterExt('input', array('js' => '/bitrix/js/sale/input.js', 'lang' => '/bitrix/modules/sale/lang/' . LANGUAGE_ID . '/lib/internals/input.php'));
\CJSCore::Init(array('input'));
print '<div style="display:none">';
$GLOBALS['APPLICATION']->IncludeComponent("bitrix:sale.location.selector." . \Bitrix\Sale\Location\Admin\LocationHelper::getWidgetAppearance(), "", array("ID" => '', "CODE" => '', "INPUT_NAME" => 'SALE_LOCATION_SELECTOR_RESOURCES', "PROVIDE_LINK_BY" => 'code', "FILTER_BY_SITE" => 'Y', "SHOW_DEFAULT_LOCATIONS" => 'Y', "SEARCH_BY_PRIMARY" => 'Y', "JS_CONTROL_GLOBAL_ID" => 'SALE_LOCATION_SELECTOR_RESOURCES', "USE_JS_SPAWN" => 'Y'), false, array('HIDE_ICONS' => 'Y'));
print '</div>';
}
}
示例9: executeComponent
/**
* @return bool
*/
public function executeComponent()
{
if (!CModule::IncludeModule('pull')) {
return false;
}
global $USER;
$this->arResult['userId'] = $USER->getId();
$this->arResult['signalingLink'] = $this->getPath() . '/call.ajax.php';
CJSCore::RegisterExt('pullDemoWebrtc', array('js' => $this->getPath() . '/demo_webrtc.js', 'lang' => $this->getPath() . '/lang/' . LANGUAGE_ID . '/js_demo_webrtc.php', 'rel' => array('webrtc')));
CJSCore::Init('pullDemoWebrtc');
$this->includeComponentTemplate();
return true;
}
示例10: setEnable
/**
* Sets isEnable property value
* @param bool $isEnable
*/
public static function setEnable($isEnable = true)
{
if ($isEnable && !self::$isEnable) {
self::$onBeforeHandleKey = AddEventHandler("main", "OnBeforeEndBufferContent", array(__CLASS__, "OnBeforeEndBufferContent"));
self::$onHandleKey = AddEventHandler("main", "OnEndBufferContent", array(__CLASS__, "OnEndBufferContent"));
self::$isEnable = true;
\CJSCore::init(array("fc"), false);
$actionType = \Bitrix\Main\Context::getCurrent()->getServer()->get("HTTP_BX_ACTION_TYPE");
if ($actionType == "get_dynamic") {
//Is it the background request?
self::$isBackgroundRequest = true;
}
} elseif (!$isEnable && self::$isEnable) {
if (self::$onBeforeHandleKey >= 0) {
RemoveEventHandler("main", "OnBeforeEndBufferContent", self::$onBeforeHandleKey);
}
if (self::$onBeforeHandleKey >= 0) {
RemoveEventHandler("main", "OnEndBufferContent", self::$onHandleKey);
}
self::$isEnable = false;
}
}
示例11: GetPropertyFieldHtml
function GetPropertyFieldHtml($arProperty, $value, $strHTMLControlName)
{
$tableID = md5($strHTMLControlName['VALUE']);
$id = $arProperty['ID'];
CJSCore::Init('jquery');
global $APPLICATION;
$APPLICATION->AddHeadScript('https://cdnjs.cloudflare.com/ajax/libs/tinyColorPicker/1.1.0/jqColorPicker.min.js');
ob_start();
?>
<script>$(function () {
$('#<?php
echo $tableID;
?>
').colorPicker({
opacity: false, renderCallback: function ($elm, toggled) {
if ($elm.val()) {
$elm.val('#' + this.color.colors.HEX);
}
}
});
})</script>
<input type="text" name="<?php
echo $strHTMLControlName['VALUE'];
?>
"
value="<?php
echo $value['VALUE'];
?>
"
id="<?php
echo $tableID;
?>
">
<?php
$return = ob_get_contents();
ob_end_clean();
return $return;
}
示例12: getScripts
/**
* @param Order $order
* @param $formId
* @return string
*/
public static function getScripts(Order $order, $formId)
{
Asset::getInstance()->addJs("/bitrix/js/sale/admin/order_edit.js");
Asset::getInstance()->addJs("/bitrix/js/sale/admin/order_ajaxer.js");
$currencyId = $order->getCurrency();
$currencies = array();
if (Loader::includeModule('currency')) {
\CJSCore::Init(array('currency'));
$currencyFormat = \CCurrencyLang::getFormatDescription($currencyId);
$currencies = array(array('CURRENCY' => $currencyId, 'FORMAT' => array('FORMAT_STRING' => $currencyFormat['FORMAT_STRING'], 'DEC_POINT' => $currencyFormat['DEC_POINT'], 'THOUSANDS_SEP' => $currencyFormat['THOUSANDS_SEP'], 'DECIMALS' => $currencyFormat['DECIMALS'], 'THOUSANDS_VARIANT' => $currencyFormat['THOUSANDS_VARIANT'], 'HIDE_ZERO' => "N")));
}
$curFormat = \CCurrencyLang::getCurrencyFormat($currencyId);
$currencyLang = trim(str_replace("#", '', $curFormat["FORMAT_STRING"]));
$langPhrases = array("SALE_ORDEREDIT_DISCOUNT_UNKNOWN", "SALE_ORDEREDIT_REFRESHING_DATA", "SALE_ORDEREDIT_FIX", "SALE_ORDEREDIT_UNFIX");
$result = '
<script type="text/javascript">
BX.ready(function(){
BX.Sale.Admin.OrderEditPage.orderId = "' . $order->getId() . '";
BX.Sale.Admin.OrderEditPage.siteId = "' . $order->getSiteId() . '";
BX.Sale.Admin.OrderEditPage.languageId = "' . LANGUAGE_ID . '";
BX.Sale.Admin.OrderEditPage.formId = "' . $formId . '_form";
BX.Sale.Admin.OrderEditPage.adminTabControlId = "' . $formId . '";
' . (!empty($currencies) ? 'BX.Currency.setCurrencies(' . \CUtil::PhpToJSObject($currencies, false, true, true) . ');' : '') . 'BX.Sale.Admin.OrderEditPage.currency = "' . $currencyId . '";
BX.Sale.Admin.OrderEditPage.currencyLang = "' . \CUtil::JSEscape($currencyLang) . '";';
if ($formId == "sale_order_create") {
$result .= '
BX.Sale.Admin.OrderEditPage.registerFieldsUpdaters(BX.Sale.Admin.OrderPayment.prototype.getCreateOrderFieldsUpdaters());';
}
foreach ($langPhrases as $phrase) {
$result .= ' BX.message({' . $phrase . ': "' . \CUtil::JSEscape(Loc::getMessage($phrase)) . '"});';
}
$result .= '});
</script>
';
return $result;
}
示例13: foreach
print "<hr /><pre>";
foreach ($args as $arg) {
print_r($arg);
}
print "</pre>";
}
}
if ($_GET["date_from"] || $_GET["date_to"]) {
$date_from = $_GET["date_from"];
$date_to = $_GET["date_to"];
} else {
$date_from = date('d.m.Y', time() - 3600 * 24 * 10);
$date_to = date('d.m.Y', time());
}
$APPLICATION->ShowHead();
CJSCore::Init("jquery");
$APPLICATION->ShowPanel();
$APPLICATION->SetTitle("Статистика приглашений детально");
$groupObj = CGroup::GetList();
$groups = array();
while ($group = $groupObj->Fetch()) {
if ($group["ID"] == 8 || $group["ID"] == 9) {
//Усилители / Сотрудники
$groups[$group["ID"]] = $group["NAME"];
}
}
$arFilter = array("DATE_REGISTER_1" => $date_from, "DATE_REGISTER_2" => $date_to);
$usersObj = CUser::GetList($sort = "id", $direct = "asc", $arFilter, array("SELECT" => array("UF_*"), "FIELDS" => array("*")));
$counter = array();
while ($user = $usersObj->Fetch()) {
if ($user["UF_USER_PARENT"]) {
示例14: array
<?php
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
die;
}
$APPLICATION->SetAdditionalCSS("/bitrix/components/bitrix/voximplant.main/templates/.default/telephony.css");
CJSCore::RegisterExt('voximplant_config_rent', array('js' => '/bitrix/components/bitrix/voximplant.config.rent/templates/.default/template.js', 'lang' => '/bitrix/components/bitrix/voximplant.config.rent/templates/.default/lang/' . LANGUAGE_ID . '/template.php'));
CJSCore::Init(array('voximplant_config_rent'));
if (empty($arResult['LIST_RENT_NUMBERS'])) {
?>
<div class="tel-set-text-block">
<?php
echo GetMessage('VI_CONFIG_RENT_ADD_DESC_2');
?>
<div class="tel-set-text-block-price-include">
<?php
echo GetMessage('VI_CONFIG_RENT_INCLUDE_2');
?>
</div>
</div>
<div class="tel-set-inp-add-new" style="padding-left: 6px">
<a class="webform-button webform-button-create" href="#rent" id="vi_rent_options"><span class="webform-button-left"></span><span class="webform-button-text"><?php
echo GetMessage('VI_CONFIG_RENT_FIRST');
?>
</span><span class="webform-button-right"></span></a>
</div>
<?php
} else {
?>
<div class="tel-set-text-block" id="phone-confing-title"><strong><?php
示例15: ShowError
<?php
if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) {
die;
}
if (!CModule::IncludeModule('mobileapp')) {
ShowError(GetMessage('MOBILEAPP_NOT_INSTALLED'));
return;
}
$menuBuildParams = array('MENU_FILE' => $arParams['MENU_FILE_PATH'], 'EVENT_NAME' => $arParams['BUILD_MENU_EVENT_NAME'], 'MOBILE_APP_INDEX_PAGE' => MOBILE_APP_ADMIN_PATH);
$arResult['MENU'] = CAdminMobileMenu::buildMenu($menuBuildParams);
if (!is_array($arResult['MENU']) || empty($arResult['MENU'])) {
return;
}
$arResult['MENU_TITLE'] = $arParams['MENU_TITLE'];
if (isset($arParams['SYNC_REQUEST_PATH'])) {
$arResult['LOGOUT_REQUEST_URL'] = $arParams['SYNC_REQUEST_PATH'] . '?mobile_action=logout';
} else {
$arResult['SYNC_REQUEST_PATH'] = false;
}
CModule::IncludeModule('pull');
CJSCore::Init(array('pull'));
$this->IncludeComponentTemplate();