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


PHP CIntranetUtils::GetStsSyncURL方法代碼示例

本文整理匯總了PHP中CIntranetUtils::GetStsSyncURL方法的典型用法代碼示例。如果您正苦於以下問題:PHP CIntranetUtils::GetStsSyncURL方法的具體用法?PHP CIntranetUtils::GetStsSyncURL怎麽用?PHP CIntranetUtils::GetStsSyncURL使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在CIntranetUtils的用法示例。


在下文中一共展示了CIntranetUtils::GetStsSyncURL方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: elseif

$show_user = "active";
if (isset($_REQUEST['show_user'])) {
    if ($_REQUEST['show_user'] == 'inactive') {
        $show_user = 'inactive';
    } elseif ($_REQUEST['show_user'] == 'fired') {
        $show_user = 'fired';
    } elseif ($_REQUEST['show_user'] == 'extranet') {
        $show_user = 'extranet';
    } elseif ($_REQUEST['show_user'] == 'all') {
        $show_user = 'all';
    } else {
        $show_user = 'active';
    }
}
$arParams["show_user"] = $show_user;
$outlook_link = 'javascript:' . CIntranetUtils::GetStsSyncURL(array('LINK_URL' => $APPLICATION->GetCurPage()), 'contacts', $arParams["EXTRANET_TYPE"] == "employees" ? true : false);
global $USER;
?>
<div class="employee-search-block">
	<?php 
if (($USER->CanDoOperation('bitrix24_invite') && IsModuleInstalled('bitrix24') || !IsModuleInstalled("bitrix24") && $USER->CanDoOperation('edit_all_users')) && CModule::IncludeModule('intranet') && $arParams['TABLE_VIEW'] != 'group_table') {
    ?>
		<a class="webform-small-button webform-small-button-blue bx24-top-toolbar-add" href="javascript:void(0)" onclick="<?php 
    echo CIntranetInviteDialog::ShowInviteDialogLink();
    ?>
">
			<span class="webform-small-button-icon"></span>
			<span class="webform-small-button-text"><?php 
    echo GetMessage("INTR_COMP_IS_TPL_TOOLBAR_USER_INVITE");
    ?>
</span>
開發者ID:mrdeadmouse,項目名稱:u136006,代碼行數:31,代碼來源:template.php

示例2: htmlspecialcharsbx

<tr><td><li><a href="javascript:<?php 
echo htmlspecialcharsbx(CIntranetUtils::GetStsSyncURL(array('LINK_URL' => '/' . $USER->GetID() . '/'), 'tasks'));
?>
"><?php 
echo GetMessage("COMPANY_TASKS");
?>
</a></td></tr>
<?php 
if (COption::GetOptionInt("intranet", 'iblock_calendar', 0) > 0) {
    $dbRs = CIBlockSection::GetList(array(), array("IBLOCK_ID" => COption::GetOptionInt("intranet", 'iblock_calendar', 0), 'CREATED_BY' => $USER->GetID()));
    if ($arRs = $dbRs->Fetch()) {
        $dbRs2 = CIBlockSection::GetList(array(), array('SECTION_ID' => $arRs["ID"]));
        while ($arRs2 = $dbRs2->GetNext()) {
            ?>
		<tr><td><li><a href="javascript:<?php 
            echo htmlspecialcharsbx(CIntranetUtils::GetStsSyncURL(array('ID' => $arRs2["ID"], 'LINK_URL' => 'company/personal/user/' . $USER->GetID() . '/calendar/'), 'calendar'));
            ?>
"><?php 
            echo GetMessage("COMPANY_CONNECT");
            ?>
 <?php 
            echo $arRs2["NAME"];
            ?>
</a></td></tr>
		<?php 
        }
        ?>
	<?php 
    }
}
?>
開發者ID:mrdeadmouse,項目名稱:u136006,代碼行數:31,代碼來源:outlook_inc.php

示例3: GetMessage

$this->SetViewTarget("sidebar_tools_2", 100);
?>
<div class="sidebar-links">
	<?php 
if ($arResult['USER_CAN_SET_HEAD'] && $current_section) {
    ?>
<span id="blank"></span>
		<a href="javascript:void(0)" id="bx_head_link" onclick="ShowHeadMenu(this);" style="display: none;"><i class="sidebar-action-head"></i><b><?php 
    echo GetMessage('INTR_IS_TPL_HEAD');
    ?>
<span></span></b></a>
		<?php 
}
?>
	<a href="javascript:<?php 
echo htmlspecialcharsbx(CIntranetUtils::GetStsSyncURL(array('LINK_URL' => $APPLICATION->GetCurPage()), 'contacts'));
?>
" title="<?php 
echo GetMessage('INTR_IS_TPL_OUTLOOK_TITLE');
?>
"><i class="sidebar-action-outlook"></i><b><?php 
echo GetMessage('INTR_IS_TPL_OUTLOOK');
?>
</b></a>
</div>
<?php 
$this->EndViewTarget();
echo $sFilter;
?>
<br />
<?php 
開發者ID:mrdeadmouse,項目名稱:u136006,代碼行數:31,代碼來源:template.php

示例4: GetOutlookLink

 public static function GetOutlookLink($Params)
 {
     return CIntranetUtils::GetStsSyncURL($Params);
 }
開發者ID:k-kalashnikov,項目名稱:geekcon_new,代碼行數:4,代碼來源:calendar_sect.php

示例5: GetOutlookLink

 function GetOutlookLink($arParams)
 {
     return CIntranetUtils::GetStsSyncURL($arParams);
 }
開發者ID:DarneoStudio,項目名稱:bitrix,代碼行數:4,代碼來源:event_calendar.php

示例6: htmlspecialcharsbx

											&nbsp;
										</a>
									</div>
								</td>

							<?php 
    }
    ?>
							<?php 
    if ($arParams['TASK_TYPE'] != 'group' && $USER->GetID() == $arParams['OWNER_ID']) {
        ?>
								<td><div class="separator"></div></td>
								<td>
									<div class="controls controls-action outlook">
										<a href="javascript:javascript:<?php 
        echo htmlspecialcharsbx(CIntranetUtils::GetStsSyncURL(array('LINK_URL' => '/' . $USER->GetID() . '/'), 'tasks'));
        ?>
" title="<?php 
        echo GetMessage('INTMT_OUTLOOK_TITLE');
        ?>
"><?php 
        echo GetMessage('INTMT_OUTLOOK');
        ?>
</a>
									</div>
								</td>
							<?php 
    }
    ?>

						<?php 
開發者ID:mrdeadmouse,項目名稱:u136006,代碼行數:31,代碼來源:template.php

示例7: GetOutlookLink

 public static function GetOutlookLink($Params)
 {
     if (CModule::IncludeModule('intranet')) {
         return CIntranetUtils::GetStsSyncURL($Params);
     }
 }
開發者ID:andy-profi,項目名稱:bxApiDocs,代碼行數:6,代碼來源:calendar_sect.php

示例8: array

						</ul>
					</div>
				<?php 
        }
        ?>

				<ul class="task-filter-extra-links">
					<li><i class="task-list-to-excel"></i><a href="<?php 
        echo $APPLICATION->GetCurPageParam("EXCEL=Y&ncc=1", array("PAGEN_" . $arResult["NAV_PARAMS"]["PAGEN"], "SHOWALL_" . $arResult["NAV_PARAMS"]["PAGEN"], "VIEW"));
        ?>
"><?php 
        echo GetMessage("TASKS_EXPORT_EXCEL");
        ?>
</a></li>
					<li><i class="task-list-to-outlook"></i><a href="javascript:<?php 
        echo CIntranetUtils::GetStsSyncURL(array('LINK_URL' => '/' . $USER->GetID() . '/'), 'tasks');
        ?>
"><?php 
        echo GetMessage("TASKS_EXPORT_OUTLOOK");
        ?>
</a></li>
				</ul>
			</div>
		</div>
		<?php 
    }
    $arComponentParams = array_merge($arParams, array('VIEW_TYPE' => $arResult['VIEW_TYPE'], 'GROUP' => $arResult['GROUP'], 'TEMPLATES' => $arResult['TEMPLATES'], 'SHOW_QUICK_TASK_ADD' => 'Y', 'SHOW_HELP_ICON' => 'N', 'ADV_FILTER' => $arResult["ADV_FILTER"], 'NAME_TEMPLATE' => '#LAST_NAME# #NAME#'));
    $template = '.default';
    if (defined('SITE_TEMPLATE_ID') && SITE_TEMPLATE_ID === 'bitrix24') {
        $template = 'bitrix24';
    }
開發者ID:mrdeadmouse,項目名稱:u136006,代碼行數:31,代碼來源:template.php


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