本文整理汇总了PHP中CAdminTabControl::End方法的典型用法代码示例。如果您正苦于以下问题:PHP CAdminTabControl::End方法的具体用法?PHP CAdminTabControl::End怎么用?PHP CAdminTabControl::End使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CAdminTabControl
的用法示例。
在下文中一共展示了CAdminTabControl::End方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: BeginNote
<tr>
<td><?=GetMessage('INTEGRITY_CHECK_OPTION')?></td>
<td><input type="checkbox" name="dump_integrity_check" <?=IntOption('dump_integrity_check') ? 'checked' : '' ?>>
</tr>
<tr>
<td><?=GetMessage("MAIN_DUMP_MAX_ARCHIVE_SIZE")?></td>
<td><input name="dump_archive_size_limit" value="<?=intval(COption::GetOptionString('main', 'dump_archive_size_limit', 1024 * 1024 * 1024)) / 1024 / 1024?>" size=4></td>
</tr>
<?$editTab->Buttons();
?>
<input type="button" id="start_button" value="<?=GetMessage("MAIN_DUMP_FILE_DUMP_BUTTON")?>" <?=!CBackup::CheckDumpFiles() && !CBackup::CheckDumpClouds() && !IntOption("dump_base") ? "disabled" : ''?> OnClick="StartDump();">
<input type="button" id="stop_button" value="<?=GetMessage("MAIN_DUMP_FILE_STOP_BUTTON")?>" OnClick="EndDump();" disabled>
<?
$editTab->End();
?>
</form>
<?
$lAdmin->DisplayList();
echo BeginNote();
echo '<span class=required><sup>1</sup></span> '.GetMessage("MAIN_DUMP_FOOTER_MASK");
echo EndNote();
require($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/include/epilog_admin.php");
#################################################
################## FUNCTIONS
function IntOption($name)
示例2: function
{
BX.WindowManager.Get().ClearButtons();
if (type == 'search') {
BX.WindowManager.Get().SetButtons(_trBTNSearch);
BX('replace_oper').value = 'N';
} else {
BX.WindowManager.Get().SetButtons(_trBTNReplace);
BX('replace_oper').value = 'Y';
}
}
_trSetBTN('search');
BX.bind(document, 'keypress', function (event)
{
event || (event = window.event);
if (event.keyCode == 13 || event.charCode == 13) {
document.forms.form_search.submit();
}
});
--></script>
<?php
$tabControl->EndTab();
$tabControl->Buttons();
$tabControl->End();
?>
</form>
<?php
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
示例3: EndNote
<?php
echo EndNote();
?>
</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"]);
?>
">
<?php
}
?>
<?php
echo bitrix_sessid_post();
?>
</form>
<?php
}
?>
<?php
$tabControl2->End();
}
?>
示例4: showDiscountReindex
</tr>
<?
}
else
{
?>
<tr>
<td colspan="2"><?php
echo Loc::getMessage("CAT_STORE_LIST_IS_EMPTY");
?>
</td>
</tr>
<?
}
}
$systemTabControl->End();
?>
<script type="text/javascript">
function showDiscountReindex()
{
var obDiscount, params;
params = {
bxpublic: 'Y',
sessid: BX.bitrix_sessid()
};
var obBtn = {
title: '<? echo CUtil::JSEscape(Loc::getMessage('CAT_POPUP_WINDOW_CLOSE_BTN')) ?>',
id: 'close',
name: 'close',
示例5: AddSlashes
}
?>
</td>
</tr>
<?php
}
$o_tab->Buttons();
?>
<input type="submit" name="save" value="<?php
echo Loc::getMessage("DEVTM_BEGATEWAY_SAVE_BTN_NAME");
?>
" title="<?php
echo Loc::getMessage("DEVTM_BEGATEWAY_SAVE_BTN_NAME");
?>
" class="adm-btn-save">
<input type="submit" name="reset" title="<?php
echo Loc::getMessage("DEVTM_BEGATEWAY_RESET_BTN_NAME");
?>
" OnClick="return confirm('<?php
echo AddSlashes(Loc::getMessage("DEVTM_BEGATEWAY_RESTORE_WARNING"));
?>
')" value="<?php
echo Loc::getMessage("DEVTM_BEGATEWAY_RESET_BTN_NAME");
?>
">
<?php
echo bitrix_sessid_post();
$o_tab->End();
?>
</form>
示例6: htmlspecialcharsbx
echo htmlspecialcharsbx(COption::GetOptionString("main", "controller_proxy_password"));
?>
" name="controller_proxy_password" id="controller_proxy_password"></td>
</tr>
<tr>
<td> </td>
<td>
<input type="submit" name="controller_save_proxy" value="<?echo GetMessage("MAIN_OPTION_CONTROLLER_PROXY_SAVE")?>" <?if (!$USER->IsAdmin()) echo "disabled" ?>>
</td>
</tr>
<?$tabControl->EndTab();?>
</form>
<?endif; //if(IsModuleInstalled("controller"))?>
<?if ($diskSpace <= 0):?>
<?$tabControl->End();?>
<?else: ?>
<?$tabControl->EndTab();?>
<?$tabControl->BeginNextTab();?>
<tr>
<td align="left">
<IFRAME style="width:0; height:0; border:none;" src="javascript:void(0)" name="frame_disk_quota" id="frame_disk_quota"></IFRAME>
<?
$arParam = array();
$usedSpace = 0;
$quota = new CDiskQuota();
foreach (array("db", "files") as $name):
$res = array();
if (COption::GetOptionString("main_size", "~".$name."_params"))
$res = unserialize(COption::GetOptionString("main_size", "~".$name."_params"));
示例7: array
oTA.value = "</body>\n</html>";
}
</script>
<?php
$aTabs_dialog = array(array("DIV" => "__bx_head", "TAB" => GetMessage("FILEMAN_ED_TOP_AREA"), "ICON" => "", "TITLE" => GetMessage("FILEMAN_ED_EDIT_HEAD"), "ONSELECT" => "window.oBXEditorDialog.adjustSizeEx();"), array("DIV" => "__bx_footer", "TAB" => GetMessage("FILEMAN_ED_BOTTOM_AREA"), "ICON" => "", "TITLE" => GetMessage("FILEMAN_ED_EDIT_FOOTER"), "ONSELECT" => "window.oBXEditorDialog.adjustSizeEx();"));
$tabControlDialog = new CAdminTabControl("tabControlDialog_templ", $aTabs_dialog, false, true);
$tabControlDialog->Begin();
$tabControlDialog->BeginNextTab();
?>
<div id="__bx_head"></div>
<?php
$tabControlDialog->BeginNextTab();
?>
<div id="__bx_footer"></div>
<?php
$tabControlDialog->End();
}
?>
<script>
if (!window.oBXEditorDialog.bUseTabControl)
{
window.oBXEditorDialog.Show();
window.oBXEditorDialog.SetContent('<?php
echo CUtil::JSEscape($dialogHTML);
?>
');
OnLoad(window.oBXEditorDialog.editorParams || {});
}
else
{
示例8: GetMessage
"
title="<?php
echo GetMessage("MAIN_OPT_CANCEL_TITLE");
?>
"
onclick="window.location='<?echo htmlspecialchars(\CUtil::addslashes($_REQUEST["back_url_settings"]))?>'">
<input type="hidden" name="back_url_settings" value="<?php
echo htmlspecialchars($_REQUEST["back_url_settings"]);
?>
">
<? endif?>
<?php
echo bitrix_sessid_post();
?>
<?
$TabControl->End();
?>
</form>
</div>
<?
foreach ($arTabsList as &$arTab) {
if (!empty($arTab["CONTROLLER"])) {
/**
* @var \OBX\Sms\Settings\Tab $arTabCtrl
*/
$arTabCtrl = &$arTab['CONTROLLER'];
?>
<div id="<?php
echo $arTab["DIV"] . "_scripts";
?>
"><?
示例9: GetMessage
" class="button" name="" disabled="disabled" value="<?php
echo GetMessage("ws_projectsettings_save_button_name");
?>
" /><?
?><input type="button" id="<?php
echo $jsParams['defaultButton'];
?>
" class="button" name="" value="<?php
echo GetMessage("ws_projectsettings_default_button_name");
?>
" /><?
?><input type="button" id="<?php
echo $jsParams['cancelButton'];
?>
" class="button" name="" value="<?php
echo GetMessage("ws_projectsettings_cancel_button_name");
?>
" /><?
$tab->End();
?></div>
<script type="text/javascript">WS.ProjectSettings(<?php
echo CUtil::PhpToJSObject($jsParams, true);
?>
);</script>
<style>
.project_settings a.action {
text-decoration: none;
border-bottom: 1px dashed;
}
</style><?
require_once($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php");
示例10: ShowHTML
//.........这里部分代码省略.........
$input = '<input id="__FD_PARAM_' . $opt . '" name="' . $opt . '" size="' . $arOptParams['FIELD_SIZE'] . '" value="' . htmlspecialchars($val) . '" type="text" style="float: left;" ' . ($arOptParams['FIELD_READONLY'] == 'Y' ? 'readonly' : '') . ' />
<input value="' . $arOptParams['BUTTON_TEXT'] . '" type="button" onclick="window.BX_FD_' . $opt . '();" />
<script>
setTimeout(function(){
if (BX("bx_fd_input_' . strtolower($opt) . '"))
BX("bx_fd_input_' . strtolower($opt) . '").onclick = window.BX_FD_' . $opt . ';
}, 200);
window.BX_FD_ONRESULT_' . $opt . ' = function(filename, filepath)
{
var oInput = BX("__FD_PARAM_' . $opt . '");
if (typeof filename == "object")
oInput.value = filename.src;
else
oInput.value = (filepath + "/" + filename).replace(/\\/\\//ig, \'/\');
}
</script>';
if ($arOptParams['REFRESH'] == 'Y') {
$input .= '<input type="submit" name="refresh" value="OK" />';
}
break;
case 'CUSTOM':
$input = $arOptParams['VALUE'];
break;
default:
if (!isset($arOptParams['SIZE'])) {
$arOptParams['SIZE'] = 25;
}
if (!isset($arOptParams['MAXLENGTH'])) {
$arOptParams['MAXLENGTH'] = 255;
}
$input = '<input type="' . ($arOptParams['TYPE'] == 'INT' ? 'number' : 'text') . '" size="' . $arOptParams['SIZE'] . '" maxlength="' . $arOptParams['MAXLENGTH'] . '" value="' . htmlspecialchars($val) . '" name="' . htmlspecialchars($option) . '" />';
if ($arOptParams['REFRESH'] == 'Y') {
$input .= '<input type="submit" name="refresh" value="OK" />';
}
break;
}
if (isset($arOptParams['NOTES']) && $arOptParams['NOTES'] != '') {
$input .= '<div class="notes">
<table cellspacing="0" cellpadding="0" border="0" class="notes">
<tbody>
<tr class="top">
<td class="left"><div class="empty"></div></td>
<td><div class="empty"></div></td>
<td class="right"><div class="empty"></div></td>
</tr>
<tr>
<td class="left"><div class="empty"></div></td>
<td class="content">
' . $arOptParams['NOTES'] . '
</td>
<td class="right"><div class="empty"></div></td>
</tr>
<tr class="bottom">
<td class="left"><div class="empty"></div></td>
<td><div class="empty"></div></td>
<td class="right"><div class="empty"></div></td>
</tr>
</tbody>
</table>
</div>';
}
$arP[$this->arGroups[$arOptParams['GROUP']]['TAB']][$arOptParams['GROUP']]['OPTIONS'][] = $label != '' ? '<tr><td valign="top" width="40%">' . $label . '</td><td valign="top" nowrap>' . $input . '</td></tr>' : '<tr><td valign="top" colspan="2" align="center">' . $input . '</td></tr>';
$arP[$this->arGroups[$arOptParams['GROUP']]['TAB']][$arOptParams['GROUP']]['OPTIONS_SORT'][] = $arOptParams['SORT'];
}
$tabControl = new CAdminTabControl('tabControl', $this->arTabs);
$tabControl->Begin();
echo '<form name="' . $this->module_id . '" method="POST" action="' . $APPLICATION->GetCurPage() . '?mid=' . $this->module_id . '&lang=' . LANGUAGE_ID . '" enctype="multipart/form-data">' . bitrix_sessid_post();
foreach ($arP as $tab => $groups) {
$tabControl->BeginNextTab();
foreach ($groups as $group_id => $group) {
if (sizeof($group['OPTIONS_SORT']) > 0) {
echo '<tr class="heading"><td colspan="2">' . $this->arGroups[$group_id]['TITLE'] . '</td></tr>';
array_multisort($group['OPTIONS_SORT'], $group['OPTIONS']);
foreach ($group['OPTIONS'] as $opt) {
echo $opt;
}
}
}
}
if ($this->need_access_tab) {
$tabControl->BeginNextTab();
$module_id = $this->module_id;
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/admin/group_rights.php";
}
$tabControl->Buttons();
?>
<input type="hidden" name="update" value="Y" />
<input type="submit" name="save" value="<?php
echo GetMessage("ICS_BS");
?>
" />
<input type="reset" name="reset" value="<?php
echo GetMessage("ICS_BR");
?>
" />
</form>
<?php
$tabControl->End();
}
}
示例11: GetMessage
" onclick="migrationMigrationToggleView('list');" class="adm-btn c-migration-filter c-migration-filter-list" />
<input type="button" value="<?php
echo GetMessage('SPRINT_MIGRATION_TOGGLE_NEW');
?>
" onclick="migrationMigrationToggleView('new');" class="adm-btn c-migration-filter c-migration-filter-new" />
<input type="button" value="<?php
echo GetMessage('SPRINT_MIGRATION_TOGGLE_STATUS');
?>
" onclick="migrationMigrationToggleView('status');" class="adm-btn c-migration-filter c-migration-filter-status" />
</div>
<input type="hidden" value="<?php
echo bitrix_sessid();
?>
" name="send_sessid" />
<?php
$tabControl1->End();
?>
<div class="adm-info-message-wrap c-migration-adm-info">
<div class="adm-info-message ">
<strong>Легенда</strong><br/>
<p>
<span style="background: #a00;"></span>
- <?php
echo GetMessage('SPRINT_MIGRATION_LEGEND_NEW');
?>
</p>
<p>
<span style="background: #080;"></span>
- <?php
示例12: GetMessage
</span>
<span>
<?= CExtra::SelectBox('brend_markup[]', COption::GetOptionInt('markup', 'type_3', 0), GetMessage('QTZ_MARKUP_NONE')) ?>
</span>
<input type="button" value="Удалить параметр" onclick="deleteRow(this, 'markup_parm_brend')" />
</td>
</tr>
<tr>
<td style="padding: 20px 10px 10px 0px; text-align: right; vertical-align: bottom">
<input type="button" value="Добавить параметр" onclick="addNewRow('markup_parm_brend')" />
</td>
</tr>
</table>
</td>
</tr>
<?endif?>
<?break;?>
<?endswitch;?>
<?endforeach;?>
<?php // Tap for price types ?>
<?php $tabControl->Buttons(); ?>
<input type='submit' name='Update' value='<?= GetMessage('MAIN_SAVE') ?>' title='<?= GetMessage('MAIN_OPT_SAVE_TITLE') ?>'/>
<?php if (strlen($_REQUEST['back_url_settings']) > 0): ?>
<input type='button' name='Cancel' value='<?= GetMessage('MAIN_OPT_CANCEL') ?>' title='<?= GetMessage('MAIN_OPT_CANCEL_TITLE') ?>' onclick='window.location='<?= htmlspecialchars(CUtil::addslashes($_REQUEST['back_url_settings'])) ?>''/>
<input type='hidden' name='back_url_settings' value='<?= htmlspecialchars($_REQUEST['back_url_settings']) ?>'/>
<?php endif ?>
</form>
<?php $tabControl->End(); ?>
示例13: wrapDescrLHE
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="edit-table" id="params_<?php
echo htmlspecialcharsbx($profileId);
?>
_table"><?php
printProfileInfo($SID, $profileId, $arProfile, $arDeliveryInfo[$SITE_ID]["BASE_CURRENCY"]);
?>
</table><?php
}
}
$tabControl->End();
?>
</td>
</tr>
<?php
$parentTabControl->Buttons(array("disabled" => $saleModulePermissions < "W", "back_url" => "/bitrix/admin/sale_delivery_handlers.php?lang=" . LANG));
$parentTabControl->End();
?>
</form>
<?php
require $DOCUMENT_ROOT . "/bitrix/modules/main/include/epilog_admin.php";
function wrapDescrLHE($inputName, $content = '', $divId = false)
{
ob_start();
$ar = array('inputName' => $inputName, 'height' => '160', 'width' => '320', 'content' => $content, 'bResizable' => true, 'bManualResize' => true, 'bUseFileDialogs' => false, 'bFloatingToolbar' => false, 'bArisingToolbar' => false, 'bAutoResize' => true, 'bSaveOnBlur' => true, 'toolbarConfig' => array('Bold', 'Italic', 'Underline', 'Strike', 'CreateLink', 'DeleteLink', 'Source', 'BackColor', 'ForeColor'));
if ($divId) {
$ar['id'] = $divId;
}
$LHE = new CLightHTMLEditor();
$LHE->Show($ar);
$sVal = ob_get_contents();