本文整理汇总了PHP中EndNote函数的典型用法代码示例。如果您正苦于以下问题:PHP EndNote函数的具体用法?PHP EndNote怎么用?PHP EndNote使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了EndNote函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Show
public static function Show()
{
IncludeModuleLangFile($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/interface/prolog_main_admin.php');
$supportFinishDate = COption::GetOptionString('main', '~support_finish_date', '');
if ($supportFinishDate != '' && is_array($aSupportFinishDate = ParseDate($supportFinishDate, 'ymd'))) {
$aGlobalOpt = CUserOptions::GetOption("global", "settings", array());
if ($aGlobalOpt['messages']['support'] != 'N') {
$supportFinishStamp = mktime(0, 0, 0, $aSupportFinishDate[1], $aSupportFinishDate[0], $aSupportFinishDate[2]);
$supportDateDiff = ceil(($supportFinishStamp - time()) / 86400);
$sSupportMess = '';
$sSupWIT = " (<span onclick=\"BX.toggle(BX('supdescr'))\" style='border-bottom: 1px dashed #1c91e7; color: #1c91e7; cursor: pointer;'>" . GetMessage("prolog_main_support_wit") . "</span>)";
if ($supportDateDiff >= 0 && $supportDateDiff <= 30) {
$sSupportMess = GetMessage("prolog_main_support11", array('#FINISH_DATE#' => GetTime($supportFinishStamp), '#DAYS_AGO#' => $supportDateDiff == 0 ? GetMessage("prolog_main_today") : GetMessage('prolog_main_support_days', array('#N_DAYS_AGO#' => $supportDateDiff)), '#LICENSE_KEY#' => md5(LICENSE_KEY), '#WHAT_IS_IT#' => $sSupWIT, '#SUP_FINISH_DATE#' => GetTime(mktime(0, 0, 0, $aSupportFinishDate[1] + 1, $aSupportFinishDate[0], $aSupportFinishDate[2]))));
} elseif ($supportDateDiff < 0 && $supportDateDiff >= -30) {
$sSupportMess = GetMessage("prolog_main_support21", array('#FINISH_DATE#' => GetTime($supportFinishStamp), '#DAYS_AGO#' => -$supportDateDiff, '#LICENSE_KEY#' => md5(LICENSE_KEY), '#WHAT_IS_IT#' => $sSupWIT, '#SUP_FINISH_DATE#' => GetTime(mktime(0, 0, 0, $aSupportFinishDate[1] + 1, $aSupportFinishDate[0], $aSupportFinishDate[2]))));
} elseif ($supportDateDiff < -30) {
$sSupportMess = GetMessage("prolog_main_support31", array('#FINISH_DATE#' => GetTime($supportFinishStamp), '#LICENSE_KEY#' => md5(LICENSE_KEY), '#WHAT_IS_IT#' => $sSupWIT));
}
if ($sSupportMess != '') {
$sSupportMess .= GetMessage('ACRIT_EXPORTPRO_BUY_LICENCE');
$userOption = CUserOptions::GetOption("main", "admSupInf");
if (mktime() > $userOption["showInformerDate"]) {
$prolongUrl = "/bitrix/admin/buy_support.php?lang=" . LANGUAGE_ID;
if (!in_array(LANGUAGE_ID, array("ru", "ua")) || IntVal(COption::GetOptionString("main", "~PARAM_PARTNER_ID")) <= 0) {
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/classes/general/update_client.php";
$prolongUrl = "http://www.acrit-studio.ru/shop/list/lupd/";
}
echo BeginNote('style="position: relative; top: -15px;"');
?>
<div style="float: right; padding-left: 50px; margin-top: -5px; text-align: center;">
<a href="<?php
echo $prolongUrl;
?>
" target="_blank" class="adm-btn adm-btn-save" style="margin-bottom: 4px;"><?php
echo GetMessage("prolog_main_support_button_prolong");
?>
</a><br />
<a href="http://www.acrit-studio.ru/market/" target="_blank"><?php
echo GetMessage("prolog_main_support_button_prolong_modules");
?>
</a>
</div>
<?php
echo $sSupportMess;
?>
<div id="supdescr" style="display: none;"><br /><br /><b><?php
echo GetMessage("prolog_main_support_wit_descr1");
?>
</b><hr><?php
echo GetMessage("prolog_main_support_wit_descr2");
?>
</div>
<?php
echo EndNote();
}
}
}
}
}
示例2: GetSettingsHTML
function GetSettingsHTML($arBucket, $bServiceSet, $cur_SERVICE_ID, $bVarsFromForm)
{
if ($bVarsFromForm) {
$arSettings = $_POST["SETTINGS"][$this->GetID()];
} else {
$arSettings = unserialize($arBucket["SETTINGS"]);
}
if (!is_array($arSettings)) {
$arSettings = array("PROJECT_ID" => "", "ACCESS_KEY" => "", "SECRET_KEY" => "");
}
$htmlID = htmlspecialcharsbx($this->GetID());
$result = '
<tr id="SETTINGS_0_' . $htmlID . '" style="display:' . ($cur_SERVICE_ID == $this->GetID() || !$bServiceSet ? '' : 'none') . '" class="settings-tr adm-detail-required-field">
<td>' . GetMessage("CLO_STORAGE_GOOGLE_EDIT_PROJECT_ID") . ':</td>
<td><input type="hidden" name="SETTINGS[' . $htmlID . '][PROJECT_ID]" id="' . $htmlID . 'PROJECT_ID" value="' . htmlspecialcharsbx($arSettings['PROJECT_ID']) . '"><input type="text" size="55" name="' . $htmlID . 'INP_" id="' . $htmlID . 'INP_PROJECT_ID" value="' . htmlspecialcharsbx($arSettings['PROJECT_ID']) . '" ' . ($arBucket['READ_ONLY'] == 'Y' ? '"disabled"' : '') . ' onchange="BX(\'' . $htmlID . 'PROJECT_ID\').value = this.value"></td>
</tr>
<tr id="SETTINGS_1_' . $htmlID . '" style="display:' . ($cur_SERVICE_ID == $this->GetID() || !$bServiceSet ? '' : 'none') . '" class="settings-tr adm-detail-required-field">
<td>' . GetMessage("CLO_STORAGE_GOOGLE_EDIT_ACCESS_KEY") . ':</td>
<td><input type="hidden" name="SETTINGS[' . $htmlID . '][ACCESS_KEY]" id="' . $htmlID . 'ACCESS_KEY" value="' . htmlspecialcharsbx($arSettings['ACCESS_KEY']) . '"><input type="text" size="55" name="' . $htmlID . 'INP_ACCESS_KEY" id="' . $htmlID . 'INP_ACCESS_KEY" value="' . htmlspecialcharsbx($arSettings['ACCESS_KEY']) . '" ' . ($arBucket['READ_ONLY'] == 'Y' ? '"disabled"' : '') . ' onchange="BX(\'' . $htmlID . 'ACCESS_KEY\').value = this.value"></td>
</tr>
<tr id="SETTINGS_2_' . $htmlID . '" style="display:' . ($cur_SERVICE_ID == $this->GetID() || !$bServiceSet ? '' : 'none') . '" class="settings-tr adm-detail-required-field">
<td>' . GetMessage("CLO_STORAGE_GOOGLE_EDIT_SECRET_KEY") . ':</td>
<td><input type="hidden" name="SETTINGS[' . $htmlID . '][SECRET_KEY]" id="' . $htmlID . 'SECRET_KEY" value="' . htmlspecialcharsbx($arSettings['SECRET_KEY']) . '"><input type="text" size="55" name="' . $htmlID . 'INP_SECRET_KEY" id="' . $htmlID . 'INP_SECRET_KEY" value="' . htmlspecialcharsbx($arSettings['SECRET_KEY']) . '" autocomplete="off" ' . ($arBucket['READ_ONLY'] == 'Y' ? '"disabled"' : '') . ' onchange="BX(\'' . $htmlID . 'SECRET_KEY\').value = this.value"></td>
</tr>
<tr id="SETTINGS_3_' . $htmlID . '" style="display:' . ($cur_SERVICE_ID == $this->GetID() || !$bServiceSet ? '' : 'none') . '" class="settings-tr">
<td> </td>
<td>' . BeginNote() . GetMessage("CLO_STORAGE_GOOGLE_EDIT_HELP") . EndNote() . '</td>
</tr>
';
return $result;
}
示例3: htmlspecialcharsbx
$str_PORT = htmlspecialcharsbx($_REQUEST["PORT"]);
$str_WEIGHT = htmlspecialcharsbx($_REQUEST["WEIGHT"]);
} elseif (is_array($arServer)) {
$str_HOST = htmlspecialcharsbx($arServer["HOST"]);
$str_PORT = htmlspecialcharsbx($arServer["PORT"]);
$str_WEIGHT = htmlspecialcharsbx($arServer["WEIGHT"]);
} else {
$str_HOST = "";
$str_PORT = "11211";
$str_WEIGHT = "100";
}
$APPLICATION->SetTitle(is_array($arServer) ? GetMessage("CLU_MEMCACHE_EDIT_EDIT_TITLE") : GetMessage("CLU_MEMCACHE_EDIT_NEW_TITLE"));
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_after.php";
$arMemcacheServers = CClusterMemcache::LoadConfig();
if ($ID == 0 && count($arMemcacheServers) > 0) {
echo BeginNote(), GetMessage("CLU_MEMCACHE_EDIT_WARNING", array("#link#" => "perfmon_panel.php?lang=" . LANGUAGE_ID)), EndNote();
}
$aMenu = array(array("TEXT" => GetMessage("CLU_MEMCACHE_EDIT_MENU_LIST"), "TITLE" => GetMessage("CLU_MEMCACHE_EDIT_MENU_LIST_TITLE"), "LINK" => "cluster_memcache_list.php?lang=" . LANGUAGE_ID . '&group_id=' . $group_id, "ICON" => "btn_list"));
$context = new CAdminContextMenu($aMenu);
$context->Show();
if ($message) {
echo $message->Show();
}
?>
<form method="POST" action="<?php
echo $APPLICATION->GetCurPage();
?>
" enctype="multipart/form-data" name="editform" id="editform">
<?php
$tabControl->Begin();
$tabControl->BeginNextTab();
示例4: ShowReportList
<?function ShowReportList()
{
global $showHiddenReports;
$arFilter = array("REPORT"=>"Y");
if ($showHiddenReports == 'N')
{
$arFilter['HIDDEN'] = 'N';
}
$dbReport = CCheckListResult::GetList(Array(),$arFilter);
while ($arReport = $dbReport->Fetch())
$arReports[]=$arReport;?>
<form id="bx_project_form" style="display:none;" action="" method="POST" enctype="multipart/form-data">
<div class="checklist-result-form-content" >
<?php
echo BeginNote();
?>
<div class="checklist-result-form-content-data"><?php
echo GetMessage("CL_REPORT_INVITE");
?>
</div>
<div class="checklist-result-form-content-field">
<input id="report_id" name="report_id" type="hidden"/>
<label><?php
echo GetMessage("CL_REPORT_COMPANY_NAME");
?>
</label><input id="COMPANY_NAME" name="COMPANY_NAME" type="text"/>
</div>
<div class="checklist-result-form-content-field">
<label><?php
echo GetMessage("CL_REPORT_CLIENT_NAME");
?>
</label><input id="CLIENT" name="CLIENT" type="text"/>
</div>
<div class="checklist-result-form-content-field">
<label><?php
echo GetMessage("CL_REPORT_CLIENT_POST");
?>
</label><input id="CLIENT_POST" name="CLIENT_POST" type="text"/>
</div>
<div class="checklist-result-form-content-field">
<label><?php
echo GetMessage("CL_REPORT_PHONE");
?>
</label>
<table width="100%" style="border-spacing: 0px">
<tr>
<td width="65%" style="border: 0px; padding: 0">
<input id="PHONE" name="PHONE" type="text" style="width:100%"/>
</td>
<td width="10%" style="border: 0px; padding: 0">
<div style="text-align: right"><?php
echo GetMessage("CL_REPORT_PHONE_ADD");
?>
</div>
</td>
<td style="border: 0px">
<input id="PHONE_ADD" name="PHONE_ADD" type="text"/>
</td>
</tr>
</table>
</div>
<div class="checklist-result-form-content-field">
<label><?php
echo GetMessage("CL_REPORT_EMAIL");
?>
</label><input id="EMAIL" name="EMAIL" type="text"/>
</div>
<div class="checklist-result-textarea-wrap">
<label><?php
echo GetMessage("CL_REPORT_COMMENT");
?>
</label>
<div class="checklist-result-form-content-data"><?php
echo GetMessage("CL_REPORT_COMMENT_HELP");
?>
</div>
<div class="checklist-result-textarea">
<textarea id="report_comment" name="COMMENT" class="checklist-textarea"></textarea>
</div>
</div>
<input id="type_action" type="hidden" name="ACTION" value="ADDSENDREPORT">
<div class="checklist-result-form-button">
<a class="adm-btn adm-btn-green adm-btn" onclick="SaveSendReport();"><?php
echo GetMessage("CL_SAVE_SEND_REPORT");
?>
</a>
</div>
<?php
echo EndNote();
?>
</div>
</form>
<form id="report_actions" method="POST">
<?if(count($arReports)>0) {?>
<div class="checklist-archive-rept">
<?php
//.........这里部分代码省略.........
示例5: BeginNote
echo $type == $key ? ' selected' : '';
?>
><?php
echo $key;
?>
</option><?php
}
}
?>
</select>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<?php
echo BeginNote(), GetMessage('YANDEX_TYPE_NOTE'), EndNote();
?>
</td>
</tr>
<?php
/*
<tr class="heading">
<td colspan="2"><?=GetMessage('YANDEX_PROPS_COMMON')?></td>
</tr>
<tr>
<td colspan="2">
<div id="config_common" style="padding: 10px;">
<table width="75%" class="inner" align="center">
<?
foreach ($arCommonConfig as $prop):
?>
示例6: foreach
$sTableID = "tbl_perfmon_panel";
$APPLICATION->SetTitle(GetMessage("PERFMON_PHP_TITLE"));
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_after.php";
foreach ($data as $i => $arTable) {
$lAdmin = new CAdminList($sTableID . $i);
$lAdmin->BeginPrologContent();
if (array_key_exists("TITLE", $arTable)) {
echo "<h4>" . $arTable["TITLE"] . "</h4>\n";
}
$lAdmin->EndPrologContent();
$lAdmin->AddHeaders($arTable["HEADERS"]);
$rsData = new CDBResult();
$rsData->InitFromArray($arTable["ITEMS"]);
$rsData = new CAdminResult($rsData, $sTableID . $i);
$j = 0;
while ($arRes = $rsData->NavNext(true, "f_")) {
$row =& $lAdmin->AddRow($j++, $arRes);
$row->AddViewField("PARAMETER", $arRes["PARAMETER"]);
if ($arRes["IS_OK"]) {
$row->AddViewField("VALUE", $arRes["VALUE"] . " ");
$row->AddViewField("RECOMMENDATION", " ");
} else {
$row->AddViewField("VALUE", "<span class=\"errortext\">" . $arRes["VALUE"] . " </span>");
$row->AddViewField("RECOMMENDATION", $arRes["RECOMMENDATION"]);
}
}
$lAdmin->CheckListMode();
$lAdmin->DisplayList();
}
echo BeginNote(), "<a href=\"phpinfo.php?test_var1=AAA&test_var2=BBB\">" . GetMessage("PERFMON_PHP_SETTINGS") . "</a>", EndNote();
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
示例7: getEditTemplate
private static function getEditTemplate($data, $index, $post = array())
{
$paid = $post ? $post['PAID'] : $data['PAID'];
$id = $post ? $post['PAYMENT_ID'] : $data['ID'];
$paidString = $paid == 'Y' ? 'YES' : 'NO';
if (!$post) {
if ($data['SUM'] > 0) {
$sum = $data['SUM'];
} else {
$sum = $data['ORDER_PRICE'] - $data['ORDER_PAYMENT_SUM'] <= 0 ? 0 : $data['ORDER_PRICE'] - $data['ORDER_PAYMENT_SUM'];
}
} else {
$sum = $post['SUM'];
}
$psData = self::getPaySystemParams(isset($post['PAY_SYSTEM_ID']) ? $post['PAY_SYSTEM_ID'] : $data['PAY_SYSTEM_ID'], $data['PERSON_TYPE_ID']);
if (isset($psData["LOGOTIP_PATH"])) {
$data['PAY_SYSTEM_LOGOTIP'] = $psData["LOGOTIP_PATH"];
}
$paymentStatus = '<span><span id="BUTTON_PAID_' . $index . '" ' . ($paid != 'Y' ? 'class="notpay"' : '') . '>' . Loc::getMessage('SALE_ORDER_PAYMENT_STATUS_' . $paidString) . '</span><span class="triangle"> ▾</span></span>';
$note = BeginNote();
$note .= Loc::getMessage('SALE_ORDER_PAYMENT_RETURN_ALERT');
$note .= EndNote();
$hiddenPaySystemInnerId = '';
if ($index == 1) {
$hiddenPaySystemInnerId = '<input type="hidden" value="' . PaySystemInner::getId() . '" id="PAYMENT_INNER_BUDGET_ID">';
}
$notPaidBlock = $paid == 'N' && !empty($data['EMP_PAID_ID']) ? '' : 'style="display:none;"';
$return = $post['IS_RETURN'] == 'Y' ? '' : 'style="display:none;"';
$returnInformation = '
<tr ' . $return . ' class="return">
<td class="adm-detail-content-cell-l fwb">' . Loc::getMessage('SALE_ORDER_PAYMENT_RETURN_TO') . ':</td>
<td class="adm-detail-content-cell-r">
<select name="PAYMENT[' . $index . '][OPERATION_ID]" id="OPERATION_ID_' . $index . '" class="adm-bus-select">
<option value="RETURN">' . Loc::getMessage('SALE_ORDER_PAYMENT_RETURN_ACCOUNT') . '</option>
</select>
</td>
</tr>
<tr ' . $return . ' class="return">
<td colspan="2" style="text-align: center">' . $note . '</td>
</tr>
<tr ' . $notPaidBlock . ' class="not_paid">
<td class="adm-detail-content-cell-l" width="40%"><br>' . Loc::getMessage('SALE_ORDER_PAYMENT_PAY_RETURN_NUM') . ':</td>
<td class="adm-detail-content-cell-r tal">
<br>
<input type="text" class="adm-bus-input" name="PAYMENT[' . $index . '][PAY_RETURN_NUM]" id="PAYMENT_RETURN_NUM_' . $index . '" value="' . htmlspecialcharsbx($post['PAY_RETURN_NUM'] ? $post['PAY_RETURN_NUM'] : $data['PAY_RETURN_NUM']) . '" maxlength="20">
</td>
</tr>
<tr ' . $notPaidBlock . ' class="not_paid">
<td class="adm-detail-content-cell-l" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_PAY_RETURN_DATE') . ':</td>
<td class="adm-detail-content-cell-r tal">
<div class="adm-input-wrap adm-calendar-second" style="display: inline-block;">
<input type="text" class="adm-input adm-calendar-to" name="PAYMENT[' . $index . '][PAY_RETURN_DATE]" id="PAYMENT_RETURN_DATE_' . $index . '" size="15" value="' . htmlspecialcharsbx($post['PAY_RETURN_DATE'] ? $post['PAY_RETURN_DATE'] : $data['PAY_RETURN_DATE']) . '">
<span class="adm-calendar-icon" title="' . Loc::getMessage('SALE_ORDER_PAYMENT_CHOOSE_DATE') . '" onclick="BX.calendar({node:this, field:\'PAYMENT_RETURN_DATE_' . $index . '\', form: \'\', bTime: false, bHideTime: false});"></span>
</div>
</td>
</tr>
<tr ' . $notPaidBlock . ' class="not_paid">
<td class="adm-detail-content-cell-l" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_RETURN_COMMENT') . ':</td>
<td class="adm-detail-content-cell-r tal">
<div class="adm-input-wrap adm-calendar-second" style="display: inline-block;">
<textarea name="PAYMENT[' . $index . '][PAY_RETURN_COMMENT]" id="PAYMENT_RETURN_COMMENTS_' . $index . '">' . htmlspecialcharsbx(isset($post['PAY_RETURN_COMMENT']) ? $post['PAY_RETURN_COMMENT'] : $data['PAY_RETURN_COMMENT']) . '</textarea>
</div>
</td>
</tr>';
$lang = Main\Application::getInstance()->getContext()->getLanguage();
$title = $id > 0 ? Loc::getMessage('SALE_ORDER_PAYMENT_BLOCK_EDIT_PAYMENT_TITLE') . '#' . $id : Loc::getMessage('SALE_ORDER_PAYMENT_BLOCK_NEW_PAYMENT_TITLE') . '#' . $index;
$curFormat = \CCurrencyLang::getCurrencyFormat($data['CURRENCY']);
$currencyLang = trim(str_replace("#", '', $curFormat["FORMAT_STRING"]));
$disabled = $data['PAID'] == 'Y' ? 'readonly' : '';
$companyList = OrderEdit::getCompanyList();
if (!empty($companyList)) {
$companies = \Bitrix\Sale\Helpers\Admin\OrderEdit::makeSelectHtml('PAYMENT[' . $index . '][COMPANY_ID]', $companyList, isset($post["COMPANY_ID"]) ? $post["COMPANY_ID"] : $data["COMPANY_ID"], true, array("class" => "adm-bus-select", "id" => "COMPANY_ID"));
} else {
$companies = str_replace("#URL#", "/bitrix/admin/sale_company_edit.php?lang=" . $lang, Loc::getMessage('SALE_ORDER_PAYMENT_ADD_COMPANY'));
}
$result = '<div>
<div class="adm-bus-pay" id="payment_container_' . $index . '">
<input type="hidden" name="PAYMENT[' . $index . '][PAYMENT_ID]" id="payment_id_' . $index . '" value="' . $id . '">
<input type="hidden" name="PAYMENT[' . $index . '][INDEX]" value="' . $index . '" class="index">
<input type="hidden" name="PAYMENT[' . $index . '][PAID]" id="PAYMENT_PAID_' . $index . '" value="' . (empty($paid) ? 'N' : $paid) . '">
<input type="hidden" name="PAYMENT[' . $index . '][IS_RETURN]" id="PAYMENT_IS_RETURN_' . $index . '" value="' . ($post['IS_RETURN'] ? $post['IS_RETURN'] : 'N') . '">
' . $hiddenPaySystemInnerId . '
<div class="adm-bus-component-content-container">
<div class="adm-bus-pay-section">
<div class="adm-bus-pay-section-title-container">
<div class="adm-bus-pay-section-title">' . $title . '</div>
<div class="adm-bus-pay-section-action-block">' . (!isset($data['ID']) || $data['ID'] <= 0 ? '<div class="adm-bus-pay-section-action" id="SECTION_' . $index . '_DELETE">' . Loc::getMessage('SALE_ORDER_PAYMENT_DELETE') . '</div>' : '') . '</div>
</div>
<div class="adm-bus-pay-section-content" id="SECTION_' . $index . '">
<div class="adm-bus-pay-section-sidebar">
<div class="adm-bus-pay-section-sidebar-service-logo">
<img id="LOGOTIP_' . $index . '" src="' . $data['PAY_SYSTEM_LOGOTIP'] . '" alt="">
</div>
</div>
<div class="adm-bus-pay-section-right">
<div class="adm-bus-table-container caption border">
<div class="adm-bus-table-caption-title" style="background: #eef5f5;">' . Loc::getMessage('SALE_ORDER_PAYMENT_METHOD') . '</div>
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="adm-detail-content-table edit-table ">
<tbody>
<tr>
//.........这里部分代码省略.........
示例8: BeginNote
}
$tabControl->BeginNextTab();
?>
<tr>
<td><div id="seo_google_keywords" align="center"><?php
echo BeginNote(), Loc::getMessage('SEO_LOADING'), EndNote();
?>
</div></td>
</tr>
<?
$tabControl->BeginNextTab();
?>
<tr>
<td><div id="seo_google_crawlissues" align="center"><?php
echo BeginNote(), Loc::getMessage('SEO_LOADING'), EndNote();
?>
</div></td>
</tr>
<?
$tabControl->End();
?>
<script type="text/javascript">
function BXLoadInfo(action)
{
BX.ajax.loadJSON(
'/freetrix/tools/seo_google.php?action='+action+'_feed&domain=<?php
echo urlencode($arDomain['DOMAIN']);
?>
&dir=<?php
echo urlencode($arDomain['SITE_DIR']);
示例9: BeginNote
/> <label for="FORUM_ELEMENT_<?php
echo $d;
?>
"><?php
echo Loc::getMessage('MAIN_YES');
?>
</label></td>
</tr>
<?php
}
if ($bFound) {
?>
</table>
<?php
} else {
echo BeginNote(), Loc::getMessage('SEO_SITEMAP_NO_FORUM_FOUND'), EndNote();
}
?>
</td>
</tr>
<?php
}
$tabControl->Buttons(array());
?>
<input type="submit" name="save_and_add" value="<?php
echo Converter::getHtmlConverter()->encode(Loc::getMessage('SEO_SITEMAP_SAVEANDRUN'));
?>
" />
<?php
echo bitrix_sessid_post();
$tabControl->End();
示例10: GetMessage
echo GetMessage('ML_ADD_COL2ITEM');
?>
" name="collection_id" onchange="itemColsSelChange2(this, arguments[0] || window.event);"><?php
echo CMedialib::_BuildCollectionsSelectOptions($res['Collections'], $res['arColTree'], 0, intVal($_GET['col_id']));
?>
</select>
</div>
</form>
<?
include_once($_SERVER['DOCUMENT_ROOT']."/freetrix/image_uploader/version.php");
include_once($_SERVER['DOCUMENT_ROOT']."/freetrix/image_uploader/localization.php");
?>
<?php
echo BeginNote() . GetMessage('FM_ML_UPL_NOTICE') . EndNote();
?>
<div style="border: 1px solid #94918C; float: left; padding: 5px;">
<script>
//
function itemColsSelChange2(pEl, e)
{
if (window.oColAccess[pEl.value] != '1')
alert("<?php
echo GetMessage('FM_ML_UPL_ACCESS_DENIED');
?>
");
}
示例11: function
';
err_str += error;
<?php
if (false === strpos(COption::GetOptionString('main', 'server_name', ''), ':')) {
?>
if (window.location.port && window.location.port != '80')
err_str += '<br /><br /><?php
echo CUtil::JSEscape(GetMessage('SEO_PAGE_CONNECTION_ERROR_HINT'));
?>
';
<?php
}
?>
err_str += '<?php
echo CUtil::JSEscape(EndNote());
?>
';
document.getElementById('bx_seo_error_text').innerHTML = err_str;
}
window.BXUpdatePageExtendedData = function(extended)
{
window.__BXExtendedPageStat = extended;
var arList = ['HEADERS', 'TITLE', 'H', 'META_DESCRIPTION', 'META_KEYWORDS', 'BOLD', 'ITALIC', 'LINK', 'LINK_EXTERNAL', 'NOINDEX', 'NOFOLLOW'];
for (var i = 0; i < arList.length; i++)
{
if (null != extended[arList[i]] && extended[arList[i]].length > 0)
document.getElementById('bx_seo_link_' + arList[i]).innerHTML += ' [' + extended[arList[i]].length + ']';
}
示例12: GetMessage
echo GetMessage("IBSEC_E_PROP_TABLE_ACTION_ADD");
?>
" onclick="javascript:addSectionProperty(<?php
echo $arCatalog["IBLOCK_ID"];
?>
, 'select_SKU_SECTION_PROPERTY', 'shadow_SKU_SECTION_PROPERTY', 'table_SKU_SECTION_PROPERTY')">
</td></tr>
<?php
}
?>
<?php
$tabControl->EndCustomField("SECTION_PROPERTY", '');
}
if (strlen($return_url) > 0) {
$bu = $return_url;
} else {
$bu = "/bitrix/admin/" . CIBlock::GetAdminSectionListLink($IBLOCK_ID, array('find_section_section' => intval($find_section_section)));
}
if (!defined('BX_PUBLIC_MODE') || BX_PUBLIC_MODE != 1) {
$tabControl->Buttons(array("disabled" => false, "btnSaveAndAdd" => true, "return_url" => $bu));
} elseif ($nobuttons !== "Y") {
$save_and_add = "{\n\t\ttitle: '" . CUtil::JSEscape(GetMessage("IBSEC_E_SAVE_AND_ADD")) . "',\n\t\tname: 'save_and_add',\n\t\tid: 'save_and_add',\n\t\tclassName: 'adm-btn-add',\n\t\taction: function () {\n\t\t\tvar FORM = this.parentWindow.GetForm();\n\t\t\tFORM.appendChild(BX.create('INPUT', {\n\t\t\t\tprops: {\n\t\t\t\t\ttype: 'hidden',\n\t\t\t\t\tname: 'save_and_add',\n\t\t\t\t\tvalue: 'Y'\n\t\t\t\t}\n\t\t\t}));\n\n\t\t\tthis.parentWindow.hideNotify();\n\t\t\tthis.disableUntilError();\n\t\t\tthis.parentWindow.Submit();\n\t\t}\n\t}";
$cancel = "{\n\t\ttitle: '" . CUtil::JSEscape(GetMessage("admin_lib_edit_cancel")) . "',\n\t\tname: 'cancel',\n\t\tid: 'cancel',\n\t\taction: function () {\n\t\t\tBX.WindowManager.Get().Close();\n\t\t\tif(window.reloadAfterClose)\n\t\t\t\ttop.BX.reload(true);\n\t\t}\n\t}";
$tabControl->ButtonsPublic(array('.btnSave', $cancel, $save_and_add));
}
$tabControl->Show();
$tabControl->ShowWarnings($tabControl->GetName(), $message);
if (CIBlockRights::UserHasRightTo($IBLOCK_ID, $IBLOCK_ID, "iblock_edit") && (!defined('BX_PUBLIC_MODE') || BX_PUBLIC_MODE != 1)) {
echo BeginNote(), GetMessage("IBSEC_E_IBLOCK_MANAGE_HINT"), ' <a href="iblock_edit.php?type=' . htmlspecialcharsbx($type) . '&lang=' . LANGUAGE_ID . '&ID=' . $IBLOCK_ID . '&admin=Y&return_url=' . urlencode(CIBlock::GetAdminSectionEditLink($IBLOCK_ID, $ID, array("find_section_section" => intval($find_section_section), "return_url" => strlen($return_url) > 0 ? $return_url : null))) . '">', GetMessage("IBSEC_E_IBLOCK_MANAGE_HINT_HREF"), '</a>', EndNote();
}
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
示例13: BeginNote
<td><div id="seo_yandex_crawling" align="center"><?php
echo BeginNote(), Loc::getMessage('SEO_LOADING'), EndNote();
?>
</div></td>
</tr>
<?php
$tabControl->BeginNextTab();
?>
<tr>
<td><div id="seo_yandex_original_texts" align="center"><?php
echo BeginNote(), Loc::getMessage('SEO_LOADING'), EndNote();
?>
</div></td>
</tr><tr>
<td align="center"><?php
echo BeginNote(), Loc::getMessage('SEO_DETAIL_ORIGINAL_HINT'), EndNote();
?>
</td>
</tr>
<?php
$tabControl->End();
?>
<script type="text/javascript">
function BXLoadInfo(action)
{
BX.ajax.loadJSON(
'/bitrix/tools/seo_yandex.php?action='+action+'&domain=<?php
echo urlencode($arDomain['DOMAIN']);
?>
&dir=<?php
echo urlencode($arDomain['SITE_DIR']);
示例14: GetMessage
<label for="server_name"><?php
echo GetMessage("BCL_SERVER_URL");
?>
:</label>
</td>
<td width="60%">
<input type="text" id="server_name" name="server_name" value="<?php
echo htmlspecialcharsbx($server_name);
?>
">
</td>
</tr>
<?php
$tabControl->Buttons(array("back_url" => $_GET["return_url"] ? $_GET["return_url"] : "bitrixcloud_cdn.php?lang=" . LANGUAGE_ID));
echo bitrix_sessid_post();
?>
<input type="hidden" name="debug" value="<?php
echo htmlspecialcharsbx($_REQUEST["debug"]);
?>
">
<input type="hidden" name="lang" value="<?php
echo LANGUAGE_ID;
?>
">
<?php
$tabControl->End();
?>
</form>
<?php
echo BeginNote(), GetMessage("BCL_NOTE"), EndNote();
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
示例15: GetMessage
<td class="field-name"><label for="cal_path_to_vr"><?php
echo GetMessage("CAL_PATH_TO_VR");
?>
:</label></td>
<td><input name="path_to_vr" type="text" value="<?php
echo htmlspecialcharsbx($SET['path_to_vr']);
?>
" id="cal_path_to_vr" size="60"/></td>
</tr>
</table>
</div>
<div id="bxconvert_cont" style="display: none;">
<div id="bxconvert_notice">
<?php
echo BeginNote(), GetMessage('CAL_CONVERT_PROCESSING_NOTICE'), EndNote();
?>
</div>
<h1><?php
echo GetMessage('CAL_CONVERT_PROCES');
?>
</h1>
<span id="bxconvert_result" style="padding: 10px; display: inline-block; border-radius: 3px; border: 1px solid #A9A9A9; font-size: 11px; color:#808080; margin-bottom: 20px; background: #FFFFFF;">
<div> - <?php
echo GetMessage('CAL_CONVERT_STAGE_PREPARE');
?>
</div>
</span>
</div>
<input id="bxconv_but_start" type="button" value="<?php