本文整理汇总了PHP中CCalendar::IsBitrix24方法的典型用法代码示例。如果您正苦于以下问题:PHP CCalendar::IsBitrix24方法的具体用法?PHP CCalendar::IsBitrix24怎么用?PHP CCalendar::IsBitrix24使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CCalendar
的用法示例。
在下文中一共展示了CCalendar::IsBitrix24方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: DialogSettings
//.........这里部分代码省略.........
?>
_set_sect_sel"></select>
</span>
</div>
<!-- blinking option -->
<div class="bxec-popup-row">
<span class="bxec-field-label-1"><input id="<?php
echo $id;
?>
_uset_blink" type="checkbox" /></span>
<span class="bxec-field-val-2">
<label for="<?php
echo $id;
?>
_uset_blink"><?php
echo GetMessage('EC_BLINK_SET');
?>
</label>
</span>
</div>
<!-- show banner -->
<div class="bxec-popup-row">
<span class="bxec-field-label-1"><input id="<?php
echo $id;
?>
_show_banner" type="checkbox" /></span>
<span class="bxec-field-val-2">
<label for="<?php
echo $id;
?>
_show_banner"><?php
echo GetMessage('EC_SHOW_BANNER', array('#DAV_EXAMPLE#' => CCalendar::IsBitrix24() ? 'CalDAV, MS Outlook' : 'Exchange, CalDAV, MS Outlook'));
?>
</label>
</span>
</div>
<!-- show declined -->
<div class="bxec-popup-row">
<span class="bxec-field-label-1"><input id="<?php
echo $id;
?>
_show_declined" type="checkbox" /></span>
<span class="bxec-field-val-2">
<label for="<?php
echo $id;
?>
_show_declined"><?php
echo GetMessage('EC_OPTION_SHOW_DECLINED');
?>
</label>
</span>
</div>
<?php
}
/*if($bInPersonal)*/
?>
<!-- show declined -->
<div class="bxec-popup-row">
<span class="bxec-field-label-1"><input id="<?php
echo $id;
?>
_show_muted" type="checkbox" /></span>
<span class="bxec-field-val-2">
示例2: DialogMobileCon
</div>
<?
}
public static function DialogMobileCon($Params)
{
$id = $Params['id'];
?>
<div id="bxec_mobile_<?=$id?>" class="bxec-popup" style="width: 560px;">
<div class="bxec-mobile-cont">
<div class="bxec-mobile-header"><?= GetMessage('EC_MOBILE_HELP_HEADER');?></div>
<a id="bxec_mob_link_iphone_<?=$id?>" class="bxec-mobile-link bxec-link-hidden" href="javascript: void(0)"><div class="bxec-iconkit bxec-arrow"></div><?= GetMessage('EC_MOBILE_APPLE');?></a>
<div id="bxec_mobile_iphone_all<?=$id?>" style="display: none;"><?= GetMessage('EC_MOBILE_HELP_IPHONE_ALL_HELP', array('#POINT_SET_PORT#' => GetMessage(CCalendar::IsBitrix24() ? 'EC_SET_PORT_BX24' : 'EC_SET_PORT')))?></div>
<div id="bxec_mobile_iphone_one<?=$id?>" style="display: none;"><?= GetMessage('EC_MOBILE_HELP_IPHONE_ONE_HELP', array('#POINT_SET_PORT#' => GetMessage(CCalendar::IsBitrix24() ? 'EC_SET_PORT_BX24' : 'EC_SET_PORT')))?></div>
<a id="bxec_mob_link_mac_<?=$id?>" class="bxec-mobile-link bxec-link-hidden" href="javascript: void(0)"><div class="bxec-iconkit bxec-arrow"></div><?= GetMessage('EC_MOBILE_MAC_OS');?></a>
<div id="bxec_mobile_mac_cont<?=$id?>" style="display: none;"><?= GetMessage('EC_MOBILE_HELP_MAC_1', array('#POINT_SET_PORT#' => GetMessage(CCalendar::IsBitrix24() ? 'EC_SET_PORT_BX24' : 'EC_SET_PORT')))?></div>
<a id="bxec_mob_link_bird_<?=$id?>" class="bxec-mobile-link bxec-link-hidden" href="javascript: void(0)"><div class="bxec-iconkit bxec-arrow"></div><?= GetMessage('EC_MOBILE_SUNBIRD');?></a>
<div id="bxec_mobile_sunbird_all<?=$id?>" style="display: none;"><?= GetMessage("EC_MOBILE_HELP_SUNBIRD_ALL_HELP")?></div>
<div id="bxec_mobile_sunbird_one<?=$id?>" style="display: none;"><?= GetMessage("EC_MOBILE_HELP_SUNBIRD_ONE_HELP")?></div>
</div>
</div>
<?
}
public static function GetWeekDays()
{
return array(
array(GetMessage('EC_MO_F'), GetMessage('EC_MO'), 'MO'),
array(GetMessage('EC_TU_F'), GetMessage('EC_TU'), 'TU'),
array(GetMessage('EC_WE_F'), GetMessage('EC_WE'), 'WE'),
array(GetMessage('EC_TH_F'), GetMessage('EC_TH'), 'TH'),
示例3: DialogMobileCon
public static function DialogMobileCon($Params)
{
$id = $Params['id'];
?>
<div id="bxec_mobile_<?php
echo $id;
?>
" class="bxec-popup" style="width: 560px;">
<div class="bxec-mobile-cont">
<div class="bxec-mobile-header"><?php
echo GetMessage('EC_MOBILE_HELP_HEADER');
?>
</div>
<a id="bxec_mob_link_iphone_<?php
echo $id;
?>
" class="bxec-mobile-link bxec-link-hidden" href="javascript: void(0)"><div class="bxec-iconkit bxec-arrow"></div><?php
echo GetMessage('EC_MOBILE_APPLE');
?>
</a>
<div id="bxec_mobile_iphone_all<?php
echo $id;
?>
" style="display: none;"><?php
echo GetMessage('EC_MOBILE_HELP_IPHONE_ALL_HELP', array('#POINT_SET_PORT#' => GetMessage(CCalendar::IsBitrix24() ? 'EC_SET_PORT_BX24' : 'EC_SET_PORT')));
?>
</div>
<div id="bxec_mobile_iphone_one<?php
echo $id;
?>
" style="display: none;"><?php
echo GetMessage('EC_MOBILE_HELP_IPHONE_ONE_HELP', array('#POINT_SET_PORT#' => GetMessage(CCalendar::IsBitrix24() ? 'EC_SET_PORT_BX24' : 'EC_SET_PORT')));
?>
</div>
<a id="bxec_mob_link_mac_<?php
echo $id;
?>
" class="bxec-mobile-link bxec-link-hidden" href="javascript: void(0)"><div class="bxec-iconkit bxec-arrow"></div><?php
echo GetMessage('EC_MOBILE_MAC_OS');
?>
</a>
<div id="bxec_mobile_mac_cont<?php
echo $id;
?>
" style="display: none;"><?php
echo GetMessage('EC_MOBILE_HELP_MAC', array('#POINT_SET_PORT#' => GetMessage(CCalendar::IsBitrix24() ? 'EC_SET_PORT_BX24' : 'EC_SET_PORT')));
?>
</div>
<a id="bxec_mob_link_bird_<?php
echo $id;
?>
" class="bxec-mobile-link bxec-link-hidden" href="javascript: void(0)"><div class="bxec-iconkit bxec-arrow"></div><?php
echo GetMessage('EC_MOBILE_SUNBIRD');
?>
</a>
<div id="bxec_mobile_sunbird_all<?php
echo $id;
?>
" style="display: none;"><?php
echo GetMessage("EC_MOBILE_HELP_SUNBIRD_ALL_HELP");
?>
</div>
<div id="bxec_mobile_sunbird_one<?php
echo $id;
?>
" style="display: none;"><?php
echo GetMessage("EC_MOBILE_HELP_SUNBIRD_ONE_HELP");
?>
</div>
</div>
</div>
<?php
}
示例4: InitCalDavParams
private static function InitCalDavParams(&$JSConfig)
{
global $USER;
$JSConfig['bCalDAV'] = true;
$JSConfig['caldav_link_all'] = CCalendar::GetServerPath();
$login = '';
if (self::$type == 'user') {
if (self::$ownerId == self::$userId) {
$login = $USER->GetLogin();
} else {
$rsUser = CUser::GetByID(self::$ownerId);
if ($arUser = $rsUser->Fetch()) {
$login = $arUser['LOGIN'];
}
}
if (CCalendar::IsBitrix24()) {
$JSConfig['caldav_link_one'] = "https://" . CCalendar::GetServerName() . ":1443/bitrix/groupdav.php/" . SITE_ID . "/" . $login . "/calendar/#CALENDAR_ID#/";
} else {
$JSConfig['caldav_link_one'] = CCalendar::GetServerPath() . "/bitrix/groupdav.php/" . SITE_ID . "/" . $login . "/calendar/#CALENDAR_ID#/";
}
} else {
if (self::$type == 'group') {
if (CCalendar::IsBitrix24()) {
$JSConfig['caldav_link_one'] = "https://" . CCalendar::GetServerName() . ":1443/bitrix/groupdav.php/" . SITE_ID . "/group-" . self::$ownerId . "/calendar/#CALENDAR_ID#/";
} else {
$JSConfig['caldav_link_one'] = CCalendar::GetServerPath() . "/bitrix/groupdav.php/" . SITE_ID . "/group-" . self::$ownerId . "/calendar/#CALENDAR_ID#/";
}
}
}
if (self::$type == 'user') {
$res = CDavConnection::GetList(array("ID" => "DESC"), array("ENTITY_TYPE" => "user", "ENTITY_ID" => self::$ownerId, "ACCOUNT_TYPE" => 'caldav'), false, false);
$arConnections = array();
while ($arCon = $res->Fetch()) {
$arConnections[] = array('id' => $arCon['ID'], 'name' => $arCon['NAME'], 'link' => $arCon['SERVER'], 'user_name' => $arCon['SERVER_USERNAME'], 'last_result' => $arCon['LAST_RESULT'], 'sync_date' => $arCon['SYNCHRONIZED']);
}
$JSConfig['connections'] = $arConnections;
}
}
示例5: GetMessage
" style="display: none;"><?php
echo GetMessage('EC_MOBILE_HELP_IPHONE_ONE_HELP', array('#POINT_SET_PORT#' => GetMessage(CCalendar::IsBitrix24() ? 'EC_SET_PORT_BX24' : 'EC_SET_PORT')));
?>
</div>
<a id="bxec_mob_link_mac_<?php
echo $id;
?>
" class="bxec-mobile-link bxec-link-hidden" href="javascript: void(0)"><div class="bxec-iconkit bxec-arrow"></div><?php
echo GetMessage('EC_MOBILE_MAC_OS');
?>
</a>
<div id="bxec_mobile_mac_cont<?php
echo $id;
?>
" style="display: none;"><?php
echo GetMessage('EC_MOBILE_HELP_MAC_1', array('#POINT_SET_PORT#' => GetMessage(CCalendar::IsBitrix24() ? 'EC_SET_PORT_BX24' : 'EC_SET_PORT')));
?>
</div>
<a id="bxec_mob_link_bird_<?php
echo $id;
?>
" class="bxec-mobile-link bxec-link-hidden" href="javascript: void(0)"><div class="bxec-iconkit bxec-arrow"></div><?php
echo GetMessage('EC_MOBILE_SUNBIRD');
?>
</a>
<div id="bxec_mobile_sunbird_all<?php
echo $id;
?>
" style="display: none;"><?php
echo GetMessage("EC_MOBILE_HELP_SUNBIRD_ALL_HELP");
?>