當前位置: 首頁>>代碼示例>>PHP>>正文


PHP CCalendar::IsBitrix24方法代碼示例

本文整理匯總了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">
開發者ID:DarneoStudio,項目名稱:bitrix,代碼行數:67,代碼來源:calendar_sceleton.php

示例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'),
開發者ID:rasuldev,項目名稱:torino,代碼行數:31,代碼來源:calendar_sceleton.php

示例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 
    }
開發者ID:k-kalashnikov,項目名稱:geekcon_new,代碼行數:73,代碼來源:calendar_sceleton.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;
     }
 }
開發者ID:rasuldev,項目名稱:torino,代碼行數:38,代碼來源:calendar.php

示例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");
?>
開發者ID:ASDAFF,項目名稱:1C_Bitrix_info_site,代碼行數:31,代碼來源:calendar_sceleton.php


注:本文中的CCalendar::IsBitrix24方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。