当前位置: 首页>>代码示例>>PHP>>正文


PHP GetMessageJS函数代码示例

本文整理汇总了PHP中GetMessageJS函数的典型用法代码示例。如果您正苦于以下问题:PHP GetMessageJS函数的具体用法?PHP GetMessageJS怎么用?PHP GetMessageJS使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了GetMessageJS函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: wdPrintAccessTab

function wdPrintAccessTab(array $arResult, $printButtons = true)
{
    return '
	<div class="bx-webdav-invite-access">
		<form onsubmit="BX.PreventDefault();" action="' . $arResult['URL_TO_SHARE_FOLDER'] . '" name="webdav-invite-share" id="webdav-invite-share" method="POST">
		<div class="bx-webdav-invite-access-title">' . GetMessage('DISK_FOLDER_LIST_INVITE_MODAL_TITLE_SHARING') . ' "' . $arResult['OBJECT']['NAME'] . '"</div>
		<div class="bx-webdav-invite-cont">
			<div class="bx-webdav-invite-whom">
				<div class="bx-webdav-invite-whom-l">' . GetMessage('DISK_FOLDER_LIST_INVITE_MODAL_DESTINATION') . '</div>
				<div id="feed-add-post-destination-container-post" class="bx-webdav-invite-whom-r">
					<span id="feed-add-post-destination-item"></span>
					<span class="feed-add-destination-input-box" id="feed-add-post-destination-input-box">
						<input autocomplete="off" type="text" value="" class="feed-add-destination-inp" id="feed-add-post-destination-input"/>
					</span>
					<a href="#" class="feed-add-destination-link" id="bx-destination-tag">' . GetMessageJS("DISK_FOLDER_LIST_INVITE_MODAL_DESTINATION_1") . '</a>
				</div>
			</div>
			<textarea name="invite_description" id="inviteDescription" class="bx-webdav-invite-textar" placeholder="' . GetMessage('DISK_FOLDER_LIST_INVITE_MODAL_PLACEHOLDER') . '"></textarea>
			<div class="bx-webdav-invite-checkbox-wrap">
				<input name="can_edit" type="checkbox" class="bx-webdav-invite-checkbox" id="canEdit" checked="checked"/><label for="canEdit" class="bx-webdav-invite-label">' . GetMessage('DISK_FOLDER_LIST_INVITE_MODAL_CAN_EDIT') . '</label>
			</div>
		</div>
		' . ($printButtons ? wdPrintAccessTabButtons($arResult) : '') . '
	</div>
';
}
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:26,代码来源:detail_real.php

示例2: MULChangeOnlineStatus

    function MULChangeOnlineStatus($USER_ID = false, $HTML_ID = false)
    {
        static $arUserList, $arUserListID, $arUserListHTML_ID;
        static $bNotFirstCall;
        if (!$bNotFirstCall) {
            $GLOBALS["APPLICATION"]->AddBufferContent("MULChangeOnlineStatus");
            $bNotFirstCall = true;
        }
        if (intval($USER_ID) > 0) {
            if (!$HTML_ID) {
                $HTML_ID = "main_" . $USER_ID;
            }
            $arUserListID[] = $USER_ID;
            $arUserListHTML_ID[] = "'" . $HTML_ID . "'";
            $arUserList[] = array("USER_ID" => $USER_ID, "HTML_ID" => $HTML_ID);
        } else {
            $arUserListIDUnique = array_unique($arUserListID);
            $strUserListID = implode("|", $arUserListIDUnique);
            $rsUser = CUser::GetList($by = "id", $order = "desc", array("ID" => $strUserListID));
            $arUserListOnlineHTML_ID = array();
            while ($arUser = $rsUser->Fetch()) {
                if (time() - intval(MakeTimeStamp($arUser["LAST_ACTIVITY_DATE"], "YYYY-MM-DD HH-MI-SS")) < 120) {
                    foreach ($arUserList as $arTmp) {
                        if ($arUser["ID"] == $arTmp["USER_ID"]) {
                            $arUserListOnlineHTML_ID[] = "'" . $arTmp["HTML_ID"] . "'";
                        }
                    }
                }
            }
            return '<script type="text/javascript">

			BX.ready(function() {
				var arMULUserList = [' . implode(",", $arUserListHTML_ID) . '];
				var arMULUserListOnline = [' . implode(",", $arUserListOnlineHTML_ID) . '];

				for(var i=0; i<arMULUserList.length; i++)
				{
					var elOnline = document.getElementById(arMULUserList[i]);
					if(elOnline)
					{
						if (BX.util.in_array(arMULUserList[i], arMULUserListOnline))
						{
							elOnline.className = "bx-user-info-online";
							elOnline.title = "' . GetMessageJS("MAIN_UL_ONLINE") . '";
						}
						else
						{
							elOnline.className = "bx-user-info-offline";
							elOnline.title = "";
						}

					}

				}
			});
			</script>';
        }
    }
开发者ID:rasuldev,项目名称:torino,代码行数:58,代码来源:include.php

示例3: GetMessageJS

",
		createBlankFileUrl: "<?php 
    echo CUtil::JSUrlEscape($arResult['CLOUD_DOCUMENT']['CREATE_BLANK_FILE_URL']);
    ?>
",
		renameBlankFileUrl: "<?php 
    echo CUtil::JSUrlEscape($arResult['CLOUD_DOCUMENT']['RENAME_BLANK_FILE_URL']);
    ?>
",
		<?php 
}
?>
		targetFolderId: "<?php 
echo $arParams['FOLDER_ID'];
?>
"
	});

	BX.message({
		'BX_FPD_LINK_1':'<?php 
echo GetMessageJS("EC_DESTINATION_1");
?>
',
		'BX_FPD_LINK_2':'<?php 
echo GetMessageJS("EC_DESTINATION_2");
?>
'
	});
});
</script>
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:30,代码来源:template.php

示例4: array

                            }
                        }
                        if ($bContinue) {
                            continue;
                        }
                    }
                    $arReports[] = array("TEXT" => $rep_title, "ONCLICK" => "window.open('/bitrix/admin/sale_order_print_new.php?&ORDER_ID=" . $ID . "&doc=" . substr($file, 0, strlen($file) - 4) . "&" . bitrix_sessid_get() . "', '_blank');");
                }
            }
        }
        closedir($handle);
    }
}
$aMenu[] = array("TEXT" => Loc::getMessage("SALE_OVIEW_TO_PRINT"), "TITLE" => Loc::getMessage("SALE_OVIEW_TO_PRINT_TITLE"), "LINK" => "/bitrix/admin/sale_order_print.php?ID=" . $ID . "&lang=" . LANGUAGE_ID . GetFilterParams("filter_"), "MENU" => $arReports);
$aMenu[] = array("TEXT" => Loc::getMessage("SALE_OVIEW_ORDER_COPY"), "TITLE" => Loc::getMessage("SALE_OVIEW_ORDER_COPY_TITLE"), "LINK" => '/bitrix/admin/sale_order_create.php?lang=' . LANGUAGE_ID . "&SITE_ID=" . $saleOrder->getSiteId() . "&ID=" . $ID . "&" . bitrix_sessid_get() . GetFilterParams("filter_"));
$aMenu[] = array("TEXT" => Loc::getMessage("SALE_OVIEW_DELETE"), "TITLE" => Loc::getMessage("SALE_OVIEW_DELETE_TITLE"), "LINK" => "javascript:if(confirm('" . GetMessageJS("SALE_OVIEW_DEL_MESSAGE") . "')) window.location='sale_order.php?ID=" . $ID . "&action=delete&lang=" . LANGUAGE_ID . "&" . bitrix_sessid_get() . urlencode(GetFilterParams("filter_")) . "'", "WARNING" => "Y");
$context = new CAdminContextMenu($aMenu);
$context->Show();
//prepare blocks order
$defaultBlocksOrder = array("statusorder", "buyer", "delivery", "financeinfo", "payment", "additional", "basket");
$formId = "sale_order_view";
$orderBasket = new Admin\Blocks\OrderBasket($saleOrder, "BX.Sale.Admin.OrderBasketObj", "sale_order_basket", true, Admin\Blocks\OrderBasket::VIEW_MODE);
echo Admin\OrderEdit::getScripts($saleOrder, $formId);
echo Admin\Blocks\OrderInfo::getScripts();
echo Admin\Blocks\OrderBuyer::getScripts();
echo Admin\Blocks\OrderPayment::getScripts();
echo Admin\Blocks\OrderStatus::getScripts($saleOrder, $USER->GetID());
echo Admin\Blocks\OrderAdditional::getScripts();
echo Admin\Blocks\OrderFinanceInfo::getScripts();
echo Admin\Blocks\OrderShipment::getScripts();
echo Admin\Blocks\OrderAnalysis::getScripts();
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:order_view.php

示例5: GetMessageJS

<script type="text/javascript">
	BX.ready(
		function()
		{
			BX.CrmWidget.messages =
			{
				"legend" : "<?php 
echo GetMessageJS("CRM_WGT_RATING_LEGEND");
?>
",
				"nomineeRatingPosition" : "<?php 
echo GetMessageJS("CRM_WGT_RATING_NOMINEE_POSITION");
?>
",
				"ratingPosition" : "<?php 
echo GetMessageJS("CRM_WGT_RATING_POSITION");
?>
"
			};<?php 
$width = 100;
if ($layout === '70/30') {
    $width = 70;
} elseif ($layout === '50/50') {
    $width = 50;
} elseif ($layout === '30/70') {
    $width = 30;
}
$qty = count($settings);
for ($i = 0; $i < $qty; $i++) {
    $setting = $settings[$i];
    $id = "{$quid}_{$i}";
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:31,代码来源:template.php

示例6: GetMessageJS

    ?>
',
		SGMSubscribeButtonHintOn: '<?php 
    echo GetMessageJS("SONET_SGM_T_NOTIFY_HINT_ON");
    ?>
',
		SGMSubscribeButtonHintOff: '<?php 
    echo GetMessageJS("SONET_SGM_T_NOTIFY_HINT_OFF");
    ?>
',
		SGMSubscribeButtonTitleOn: '<?php 
    echo GetMessageJS("SONET_SGM_T_NOTIFY_TITLE_ON");
    ?>
',
		SGMSubscribeButtonTitleOff: '<?php 
    echo GetMessageJS("SONET_SGM_T_NOTIFY_TITLE_OFF");
    ?>
'
	});
	</script><?php 
    CUtil::InitJSCore(array("ajax", "popup"));
    $GLOBALS["APPLICATION"]->AddHeadScript("/bitrix/components/bitrix/socialnetwork.group_menu/templates/.default/script.js");
    $GLOBALS["APPLICATION"]->SetAdditionalCSS("/bitrix/components/bitrix/socialnetwork.group_menu/templates/.default/style.css");
    if (strpos(SITE_TEMPLATE_ID, "stretchy") === 0 || strpos(SITE_TEMPLATE_ID, "taby") === 0) {
        $this->SetViewTarget("sidebar", 5);
        ?>
<style>
			#sidebar { position: relative; }
			#sidebar .content-title { padding-right: 23px; }
		</style>
		<a id="group_menu_subscribe_button" class="profile-menu-notify-btn<?php 
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:util_community.php

示例7: GetMessageJS

echo CUtil::JSEscape($template);
?>
',
	"JERROR_NO_MESSAGE" : '<?php 
echo GetMessageJS("JERROR_NO_MESSAGE");
?>
',
	"BLOG_C_HIDE" : '<?php 
echo GetMessageJS("BLOG_C_HIDE");
?>
',
	JQOUTE_AUTHOR_WRITES : '<?php 
echo GetMessageJS("JQOUTE_AUTHOR_WRITES");
?>
',
	FC_ERROR : '<?php 
echo GetMessageJS("B_B_PC_COM_ERROR");
?>
'
	<?php 
if (IsModuleInstalled("socialnetwork")) {
    ?>
			, "MPL_WORKGROUPS_PATH" : '<?php 
    echo CUtil::JSEscape(COption::GetOptionString("socialnetwork", "workgroups_page", SITE_DIR . "workgroups/", SITE_ID));
    ?>
'
			<?php 
}
?>
	});
</script>
开发者ID:spas-viktor,项目名称:books,代码行数:31,代码来源:messages.php

示例8: empty

',
		extranetUser : <?php 
    echo $arParams["DESTINATION"]["EXTRANET_USER"] == 'Y' ? 'true' : 'false';
    ?>
,
		initDestination : <?php 
    echo $arParams["DESTINATION_SHOW"] == "Y" ? "true" : "false";
    ?>
,
		items : {
			users : <?php 
    echo empty($arParams["DESTINATION"]['USERS']) ? '{}' : CUtil::PhpToJSObject($arParams["DESTINATION"]['USERS']);
    ?>
,
			groups : <?php 
    echo $arParams["DESTINATION"]["EXTRANET_USER"] == 'Y' || array_key_exists("DENY_TOALL", $arParams["DESTINATION"]) && $arParams["DESTINATION"]["DENY_TOALL"] ? '{}' : "{'UA' : {'id':'UA','name': '" . (!empty($arParams["DESTINATION"]['DEPARTMENT']) ? GetMessageJS("MPF_DESTINATION_3") : GetMessageJS("MPF_DESTINATION_4")) . "'}}";
    ?>
,
			sonetgroups : <?php 
    echo empty($arParams["DESTINATION"]['SONETGROUPS']) ? '{}' : CUtil::PhpToJSObject($arParams["DESTINATION"]['SONETGROUPS']);
    ?>
,
			department : <?php 
    echo empty($arParams["DESTINATION"]['DEPARTMENT']) ? '{}' : CUtil::PhpToJSObject($arParams["DESTINATION"]['DEPARTMENT']);
    ?>
,
			departmentRelation : <?php 
    echo empty($arParams["DESTINATION"]['DEPARTMENT_RELATION']) ? "false" : CUtil::PhpToJSObject($arParams["DESTINATION"]['DEPARTMENT_RELATION']);
    ?>
,
			contacts : <?php 
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:31,代码来源:template.php

示例9: intval

                ?>
" <?php 
                ?>
class="<?php 
                echo $className;
                echo $isActive ? " " . $className . "-active" : "";
                ?>
" style="white-space:nowrap;"><?php 
                echo $arPresetFilter["NAME"];
                ?>
 <sup id="sonet_log_counter_preset"><?php 
                echo intval($arResult["LOG_COUNTER"]) > 0 ? $arResult["LOG_COUNTER"] : "";
                ?>
</sup><?php 
                ?>
</a><?php 
                $cnt++;
            }
        }
    }
    ?>
</span><?php 
    ?>
<span class="crm-feed-filter-btn" id="lenta-sort-button" onclick="return showLentaMenuBody(this);"><?php 
    echo $buttonName !== false ? $buttonName : "";
    echo $isFiltered ? $buttonName ? " (" . GetMessageJS("SONET_C30_T_FILTER_TITLE") . ")" : GetMessageJS("SONET_C30_T_FILTER_TITLE") : "";
    ?>
</span><?php 
    ?>
</span><?php 
}
开发者ID:webgksupport,项目名称:alpina,代码行数:31,代码来源:template.php

示例10: GetMessageJS

?>
',
	"MPL_IS_EXTRANET_SITE": '<?php 
echo CModule::IncludeModule("extranet") && CExtranet::IsExtranetSite() ? 'Y' : 'N';
?>
',	
	JQOUTE_AUTHOR_WRITES : '<?php 
echo GetMessageJS("JQOUTE_AUTHOR_WRITES");
?>
',
	FC_ERROR : '<?php 
echo GetMessageJS("B_B_PC_COM_ERROR");
?>
',
	MPL_SAFE_EDIT : '<?php 
echo GetMessageJS('MPL_SAFE_EDIT');
?>
'
	<?
		if (IsModuleInstalled("socialnetwork"))
		{
			?>
			, "MPL_WORKGROUPS_PATH" : '<?php 
echo CUtil::JSEscape(COption::GetOptionString("socialnetwork", "workgroups_page", SITE_DIR . "workgroups/", SITE_ID));
?>
'
			<?
		}
	?>
	});
</script>
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:messages.php

示例11: GetMessage

        if ($STAT_RIGHT < "W") {
            echo "disabled";
        }
        ?>
 name="cleanup" value="<?php 
        echo GetMessage("STAT_OPT_OPTIMIZE_BUTTON");
        ?>
" OnClick="javascript: OptimizeSubmit();"><input type="hidden" name="optimize" value="Y"><input type="hidden" name="lang" value="<?php 
        echo LANGUAGE_ID;
        ?>
">
				<SCRIPT LANGUAGE="JavaScript">
					function OptimizeSubmit()
					{
						if(confirm('<?php 
        echo GetMessageJS("STAT_OPT_OPTIMIZE_CONFIRMATION");
        ?>
'))	document.optimizeform.submit();
					}
				</SCRIPT>
			</td>
		</tr>
		<?php 
        $tabControl2->EndTab();
        ?>
		<?php 
        if (strlen($_REQUEST["back_url_settings"]) > 0) {
            ?>
			<input type="hidden" name="back_url_settings" value="<?php 
            echo htmlspecialcharsbx($_REQUEST["back_url_settings"]);
            ?>
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:options.php

示例12: GetMessageJS

        ?>
',
				sonetLCounterType: '<?php 
        echo CUtil::JSEscape($arResult["COUNTER_TYPE"]);
        ?>
',
				sonetLIsB24: '<?php 
        echo SITE_TEMPLATE_ID == "bitrix24" ? "Y" : "N";
        ?>
',
				sonetRatingType : '<?php 
        echo CUtil::JSEscape($arParams["RATING_TYPE"]);
        ?>
',
				sonetLErrorSessid : '<?php 
        echo GetMessageJS("SONET_ERROR_SESSION");
        ?>
',
				sonetLIsCRM : '<?php 
        echo CUtil::JSEscape($arParams["IS_CRM"]);
        ?>
',
				sonetLCanDelete : '<?php 
        echo $arResult["CAN_DELETE"] ? 'Y' : 'N';
        ?>
',
				sonetLForumID : <?php 
        echo intval($arParams["FORUM_ID"]);
        ?>
,
				sonetLFirstPageLastTS : <?php 
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:template.php

示例13: GetMessageJS

    ?>
');
				jsSelectUtils.addNewOption(activeCheckbox, '300', '<?php 
    echo GetMessageJS("PERFMON_OPT_INTERVAL_300_SEC");
    ?>
');
				jsSelectUtils.addNewOption(activeCheckbox, '600', '<?php 
    echo GetMessageJS("PERFMON_OPT_INTERVAL_600_SEC");
    ?>
');
				jsSelectUtils.addNewOption(activeCheckbox, '1800', '<?php 
    echo GetMessageJS("PERFMON_OPT_INTERVAL_1800_SEC");
    ?>
');
				jsSelectUtils.addNewOption(activeCheckbox, '3600', '<?php 
    echo GetMessageJS("PERFMON_OPT_INTERVAL_3600_SEC");
    ?>
');
			}
		}
	}
	BX.ready(function(){
		BX.bind(BX('slow_sql_log'), 'click', slow_sql_log_check);
		slow_sql_log_check();
	});
</script>
<?php 
    if (!empty($arNotes)) {
        echo BeginNote();
        foreach ($arNotes as $i => $str) {
            ?>
开发者ID:spas-viktor,项目名称:books,代码行数:31,代码来源:options.php

示例14: editBarCode

				arTrBarCode[i].style.display = "table-row";
			}
		}
	}
}

function editBarCode()
{
	var obEditBarCode = BX('CAT_BARCODE_EDIT_Y');
	var obBarCode = BX('CAT_BARCODE');
	if (!bReadOnly && !!obEditBarCode && !!obBarCode)
	{
		if (obEditBarCode.checked)
		{
			if (confirm('<?php 
    echo GetMessageJS("CAT_BARCODE_EDIT_CONFIRM");
    ?>
'))
			{
				obBarCode.disabled = false;
			}
			else
			{
				obEditBarCode.checked = false;
				obBarCode.disabled = true;
			}
		}
		else
		{
			obBarCode.disabled = true;
		}
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:product_edit.php

示例15: BX

								window.location = BX('popup-params-product').value;
							}
							else
							{
								var res = eval( '('+BX('popup-params-product').value+')' );
								fAddToBasketMoreProduct(res['type'], res['id']);
							}

							wind.close();
						}
					}
				}
			}),
			new BX.PopupWindowButton({
				text : '<?php 
echo GetMessageJS('NEWO_POPUP_CLOSE');
?>
',
				id : "popup_sku_cancel",
				events : {
					click : function() {
						wind.close();
					}
				}
			})
		]
	});

	function fAddToBasketMoreProductSku(arSKU, arProperties, type, message)
	{
		BX.message(message);
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:order_new.php


注:本文中的GetMessageJS函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。