Exemple #1
0
        } elseif ($arParams["SHOW_EVENT_ID_FILTER"] == "Y") {
            ?>
<div class="feed-filter-fake-cont"></div><?php 
        }
        if ($arParams["SHOW_EVENT_ID_FILTER"] == "Y") {
            if ($arParams["IS_CRM"] == "Y") {
                $liveFeedFilter = new CCrmLiveFeedFilter(array('GridFormID' => '', 'EntityTypeID' => false));
                AddEventHandler('socialnetwork', 'OnBeforeSonetLogFilterFill', array($liveFeedFilter, 'OnBeforeSonetLogFilterFill'));
            }
            $GLOBALS["APPLICATION"]->IncludeComponent("bitrix:socialnetwork.log.filter", isset($arParams["FILTER_TEMPLATE"]) ? $arParams["FILTER_TEMPLATE"] : ".default", array("arParams" => array_merge($arParams, array("TOP_OUT" => "Y", "USE_TARGET" => !isset($arParams["USE_FILTER_TARGET"]) || $arParams["USE_FILTER_TARGET"] != "N" ? "Y" : "N", "TARGET_ID" => isset($_REQUEST["SONET_FILTER_MODE"]) && $_REQUEST["SONET_FILTER_MODE"] == "AJAX" ? "" : "sonet_blog_form", "USE_SONET_GROUPS" => !isset($arParams["IS_CRM"]) || $arParams["IS_CRM"] != "Y" ? "Y" : "N", "SHOW_FOLLOW" => isset($arParams["SHOW_FOLLOW_FILTER"]) && $arParams["SHOW_FOLLOW_FILTER"] == "N" ? "N" : "Y", "USE_SMART_FILTER" => isset($arResult["USE_SMART_FILTER"]) && $arResult["USE_SMART_FILTER"] == "Y" ? "Y" : "N", "MY_GROUPS_ONLY" => isset($arResult["MY_GROUPS_ONLY"]) && $arResult["MY_GROUPS_ONLY"] == "Y" ? "Y" : "N")), "arResult" => $arResult), null, array("HIDE_ICONS" => "Y"));
            if (isset($_REQUEST["SONET_FILTER_MODE"]) && $_REQUEST["SONET_FILTER_MODE"] == "AJAX") {
                return;
            }
        }
        if (defined("BITRIX24_INDEX_COMPOSITE")) {
            $dynamicArea = new \Bitrix\Main\Page\FrameStatic("live-feed");
            $dynamicArea->startDynamicArea();
            $stub = '
			<div class="bx-placeholder-wrap">
				<div class="bx-placeholder">
					<table class="bx-feed-curtain">
						<tr class="bx-curtain-row-0 1"><td class="bx-curtain-cell-1"></td><td class="bx-curtain-cell-2 transparent"></td><td class="bx-curtain-cell-3"></td><td class="bx-curtain-cell-4"></td><td class="bx-curtain-cell-5"></td><td class="bx-curtain-cell-6"></td><td class="bx-curtain-cell-7"></td></tr><tr class="bx-curtain-row-1 2"><td class="bx-curtain-cell-1"></td><td class="bx-curtain-cell-2 transparent"></td><td class="bx-curtain-cell-3"></td><td class="bx-curtain-cell-4 transparent"></td><td class="bx-curtain-cell-5" colspan="3"></td></tr><tr class="bx-curtain-row-2 3"><td class="bx-curtain-cell-1"></td><td class="bx-curtain-cell-2 transparent"><div class="bx-bx-curtain-avatar"></div></td><td class="bx-curtain-cell-3" colspan="5"></td></tr>
						<tr class="bx-curtain-row-1 4"><td class="bx-curtain-cell-1"></td><td class="bx-curtain-cell-2 transparent"></td><td class="bx-curtain-cell-3"></td><td class="bx-curtain-cell-4 transparent" colspan="3"></td><td class="bx-curtain-cell-7"></td></tr>
						<tr class="bx-curtain-row-2 5"><td class="bx-curtain-cell-1" colspan="7"></td></tr>
						<tr class="bx-curtain-row-1 6"><td class="bx-curtain-cell-1" colspan="3"></td><td class="bx-curtain-cell-4 transparent" colspan="3"></td><td class="bx-curtain-cell-7"></td></tr>
						<tr class="bx-curtain-row-2 7"><td class="bx-curtain-cell-1" colspan="7"></td></tr>
						<tr class="bx-curtain-row-1 8"><td class="bx-curtain-cell-1" colspan="3"></td><td class="bx-curtain-cell-4 transparent" colspan="3"></td><td class="bx-curtain-cell-7"></td></tr>
						<tr class="bx-curtain-row-2 9"><td class="bx-curtain-cell-1" colspan="7"></td></tr>
						<tr class="bx-curtain-row-1 10"><td class="bx-curtain-cell-1" colspan="3"></td><td class="bx-curtain-cell-4 transparent" colspan="2"></td><td class="bx-curtain-cell-6" colspan="2"></td></tr><tr class="bx-curtain-row-last"><td class="bx-curtain-cell-1" colspan="7"></td></tr>
					</table>
				</div>
Exemple #2
0
    echo $arParams["FORM_ID"];
    ?>
", "bx-b-tag-input-<?php 
    echo $arParams["FORM_ID"];
    ?>
");
</script>
</li>
<?php 
}
if ($arParams["DESTINATION_SHOW"] == "Y" || !empty($arParams["TAGS"])) {
    ?>
</ol><?php 
}
if (defined("BITRIX24_INDEX_COMPOSITE")) {
    $dynamicArea = new \Bitrix\Main\Page\FrameStatic("blogpostform-init");
    $dynamicArea->startDynamicArea();
    $dynamicArea->setStub('');
}
if (in_array('socnetlogdest', $array)) {
    ?>
<script type="text/javascript">
	var lastUsers = <?php 
    echo empty($arParams["DESTINATION"]['LAST']['USERS']) ? '{}' : CUtil::PhpToJSObject($arParams["DESTINATION"]['LAST']['USERS']);
    ?>
;
	MPFMentionInit('<?php 
    echo $arParams["FORM_ID"];
    ?>
', {
		editorId : '<?php 
Exemple #3
0
        echo COption::GetOptionString("blog", "use_autosave", "Y") == "Y" ? $arParams["ID"] > 0 ? "onDemand" : "Y" : 'N';
        ?>
',
	activeTab : '<?php 
        echo $bVarsFromForm || $arParams["ID"] > 0 ? $activeTab : '';
        ?>
',
	text : '<?php 
        echo CUtil::JSEscape($formParams["TEXT"]["VALUE"]);
        ?>
'
});
</script>
<?php 
        if (COption::GetOptionString("blog", "use_autosave", "Y") == "Y") {
            $dynamicArea = new \Bitrix\Main\Page\FrameStatic("post-autosave");
            $dynamicArea->startDynamicArea();
            $as = new CAutoSave();
            $as->Init(false);
            $dynamicArea->finishDynamicArea();
        }
        $arButtons = array(array("NAME" => "save", "TEXT" => GetMessage("BLOG_BUTTON_SEND"), "CLICK" => "submitBlogPostForm();"));
        if ($arParams["MICROBLOG"] != "Y") {
            $arButtons[] = array("NAME" => "draft", "TEXT" => GetMessage("BLOG_BUTTON_DRAFT"));
        } else {
            $arButtons[] = array("NAME" => "cancel", "TEXT" => GetMessage("BLOG_BUTTON_CANCEL"), "CLICK" => "window.SBPETabs.getInstance().collapse()", "CLEAR_CANCEL" => "Y");
        }
        ?>
<div class="feed-buttons-block" id="feed-add-buttons-block<?php 
        echo $arParams["FORM_ID"];
        ?>
Exemple #4
0
$frame->begin('');
?>
  <input id="compare_list_items" type="hidden" value="<?php 
echo $str;
?>
">
  <?php 
$frame->end();
?>
  </div>



  <div id="sidebar">
    <?php 
$frame = new \Bitrix\Main\Page\FrameStatic("filter-dynamic");
$frame->setAnimation(true);
$frame->setStub("");
$frame->setContainerId("sidebar");
$frame->startDynamicArea();
$APPLICATION->ShowViewContent("sm-filter");
$frame->finishDynamicArea();
?>
  </div>
</div>
<?php 
if ($arParams["USE_COMPARE"] == "Y") {
    ?>
  <?php 
    $this->SetViewTarget("wf_compare_list");
    ?>
Exemple #5
0
(function(alreadyLoaded) {
	if (alreadyLoaded)
	{
		return;
	}
	var ba = document.createElement("script"); ba.type = "text/javascript"; ba.async = true;
	ba.src = document.location.protocol + "//bitrix.info/ba.js";
	var s = document.getElementsByTagName("script")[0];
	s.parentNode.insertBefore(ba, s);
})(_baLoaded);
</script>
<?php 
}
$APPLICATION->IncludeComponent("bitrix:pull.request", "", array(), false, array("HIDE_ICONS" => "Y"));
$APPLICATION->IncludeComponent("bitrix:intranet.mail.check", "", array(), false, array("HIDE_ICONS" => "Y"));
$dynamicArea = new \Bitrix\Main\Page\FrameStatic("otp-info");
$dynamicArea->setAssetMode(\Bitrix\Main\Page\AssetMode::STANDARD);
$dynamicArea->startDynamicArea();
$APPLICATION->IncludeComponent("bitrix:intranet.otp.info", "", array("PATH_TO_PROFILE_SECURITY" => $profile_link . "/user/#user_id#/security/"), false, array("HIDE_ICONS" => "Y"));
$dynamicArea->finishDynamicArea();
?>
<script>
	BX.message({
		"BITRIX24_CS_ONLINE" : "<?php 
echo GetMessageJS("BITRIX24_CS_ONLINE");
?>
",
		"BITRIX24_CS_OFFLINE" : "<?php 
echo GetMessageJS("BITRIX24_CS_OFFLINE");
?>
",
Exemple #6
0
</span></a>
            <div class="popup-feedback" mode="" mode-mess="">
                <?php 
$APPLICATION->IncludeComponent("webfly:message.add", "main_feed", array("OK_TEXT" => GetMessage("WF_OK_TEXT"), "EMAIL_TO" => "*****@*****.**", "IBLOCK_TYPE" => "feedback", "IBLOCK_ID" => "8", "EVENT_MESSAGE_ID" => array(0 => "7", 1 => "38"), "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000", "SET_TITLE" => "N", "COMPONENT_TEMPLATE" => "main_feed"), false);
?>


            </div>
            <?php 
$frame->end();
?>
        </div>
        <div id="bx-composite-banner" style="float: left"></div>
        <div id="footer-right-container">
            <?php 
$frame = new \Bitrix\Main\Page\FrameStatic("footer-dynamic");
$frame->setAnimation(true);
$frame->setStub("");
$frame->setContainerId("footer-right-container");
$frame->startDynamicArea();
?>
            <span class="link-top-hold">
          <a href="#" class="link-top"> </a>
          <span class="arrow-grey"> </span>
        </span>
            <?php 
$APPLICATION->IncludeComponent("bitrix:sale.basket.basket.line", "footer", array("PATH_TO_BASKET" => SITE_DIR . "personal/cart/", "PATH_TO_PERSONAL" => SITE_DIR . "personal/", "SHOW_PERSONAL_LINK" => "N", "SHOW_NUM_PRODUCTS" => "Y", "SHOW_TOTAL_PRICE" => "Y", "SHOW_EMPTY_VALUES" => "N", "SHOW_PRODUCTS" => "N", "POSITION_FIXED" => "N", "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000"));
?>
            <ul class="info">
                <?php 
$ant = $APPLICATION->GetCurDir();
Exemple #7
0
    ?>
								<?php 
} else {
    ?>
									<?php 
    $APPLICATION->IncludeComponent("bitrix:menu", "vertical_multilevel", array("ROOT_MENU_TYPE" => "top", "MENU_CACHE_TYPE" => "Y", "MENU_CACHE_TIME" => "604800", "MENU_CACHE_USE_GROUPS" => "N", "MENU_CACHE_USE_USERS" => "Y", "CACHE_SELECTED_ITEMS" => "N", "MENU_CACHE_GET_VARS" => array(), "MAX_LEVEL" => "2", "CHILD_MENU_TYPE" => "left", "USE_EXT" => "Y", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N"), false);
    ?>
								<?php 
}
?>
						</div>
					</td>
					<td class="bx-layout-inner-center" id="content-table">
					<?php 
if ($isCompositeMode && !$isIndexPage) {
    $dynamicArea = new \Bitrix\Main\Page\FrameStatic("workarea");
    $dynamicArea->setAssetMode(\Bitrix\Main\Page\AssetMode::STANDARD);
    $dynamicArea->setContainerId("content-table");
    $dynamicArea->setStub('
							<table class="bx-layout-inner-inner-table">
								<colgroup>
									<col class="bx-layout-inner-inner-cont">
									<col class="bx-layout-inner-inner-right">
								</colgroup>
								<tr>
									<td class="bx-layout-inner-inner-cont"><div class="pagetitle-wrap"></div>
									<div class="b24-loader" id="b24-loader"><div class="b24-loader-curtain"></div></div></td>
									<td class="bx-layout-inner-inner-right"></td>
								</tr>
							</table>
							<script>B24.showLoading();</script>');