本文整理汇总了PHP中CAdminTabControl::BeginNextTab方法的典型用法代码示例。如果您正苦于以下问题:PHP CAdminTabControl::BeginNextTab方法的具体用法?PHP CAdminTabControl::BeginNextTab怎么用?PHP CAdminTabControl::BeginNextTab使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CAdminTabControl
的用法示例。
在下文中一共展示了CAdminTabControl::BeginNextTab方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: bitrix_sessid_post
}
$path = htmlspecialcharsbx($path);
$aTabs = array(array("DIV" => "edit1", "TAB" => GetMessage("TRANS_SEARCH"), "ICON" => "translate_search", "TITLE" => GetMessage("TRANS_SEARCH_TITLE"), 'ONSELECT' => "_trSetBTN('search');"), array("DIV" => "edit2", "TAB" => GetMessage("TRANS_REPLACE"), "ICON" => "translate_replace", "TITLE" => GetMessage("TRANS_REPLACE_TITLE"), 'ONSELECT' => "_trSetBTN('replace');"));
$tabControl = new CAdminTabControl("tabControl2", $aTabs, false);
?>
<form name="form_search" method="POST" action="">
<input type="hidden" name="path" value="<?php
echo $path;
?>
">
<input type="hidden" name="tr_search" value="1">
<input type="hidden" id="replace_oper" name="replace_oper" value="N">
<?php
echo bitrix_sessid_post();
$tabControl->Begin();
$tabControl->BeginNextTab();
?>
<tr>
<td><?php
echo GetMessage("TR_SEARCH_PHRASE");
?>
:</td>
<td><input type="text" name="search_phrase" value="<?php
echo htmlspecialcharsbx($search_phrase);
?>
" ></td>
</tr>
<tr>
<td><?php
echo GetMessage("TR_SEARCH_MESSAGE");
?>
示例2: htmlspecialcharsbx
if (el.bxwaiter && el.bxwaiter.parentNode)
{
el.bxwaiter.parentNode.removeChild(el.bxwaiter);
el.bxwaiter = null;
}
el.disabled = false;
}
}
</script>
<?
}
$systemTabControl = new CAdminTabControl("tabControl2", $aTabs, true, true);
$systemTabControl->Begin();
$systemTabControl->BeginNextTab();
?><tr><td align="left"><?
$arAgentInfo = false;
$rsAgents = CAgent::GetList(array(),array('MODULE_ID' => 'catalog','NAME' => 'CCatalog::PreGenerateXML("yandex");'));
if ($arAgent = $rsAgents->Fetch())
{
$arAgentInfo = $arAgent;
}
if (!is_array($arAgentInfo) || empty($arAgentInfo))
{
?><form name="agent_form" method="POST" action="<?echo $APPLICATION->GetCurPage()?>?mid=<?php
echo htmlspecialcharsbx($mid);
?>
&lang=<?php
echo LANGUAGE_ID;
?>
示例3: RefreshList
CHttpRequest.Post(url, data);
else
CHttpRequest.Send(url);
}
function RefreshList()
{
tbl_dump.GetAdminList('/bitrix/admin/dump.php?lang=<?=LANGUAGE_ID?>');
}
</script>
<form name="fd1" action="<?echo $APPLICATION->GetCurPage()?>?lang=<?=LANGUAGE_ID?>" method="GET">
<?
$editTab->Begin();
$editTab->BeginNextTab();
?>
<tr>
<td colspan=2 align=center><?
echo BeginNote();
echo GetMessage('MODE_DESC');
echo EndNote();
?></td>
</tr>
<tr>
<td> </td>
<td><label><input type="radio" name=arc_profile value=shared id='shared_profile' onclick="SetMode(this.value)"> <?=GetMessage('MODE_SHARED')?></label></td>
</tr>
<tr>
<td> </td>
示例4: urlencode
}
$o_tab->Begin();
?>
<form method="post" action="<?php
echo $APPLICATION->GetCurPage();
?>
?mid=<?php
echo urlencode($module_id);
?>
&lang=<?php
echo LANGUAGE_ID;
?>
">
<?php
$o_tab->BeginNextTab();
foreach ($all_options as &$option) {
$type = $option[2];
if ($option[0] == "group_ids") {
$cur_opt_val = explode("|", Bitrix\Main\Config\Option::get($module_id, $option[0]));
} else {
$cur_opt_val = Bitrix\Main\Config\Option::get($module_id, $option[0]);
}
?>
<tr>
<td width="40%" <?php
if ($type == "textarea") {
echo "class=\"adm-detail-valign-top\"";
}
?>
>
示例5: htmlspecialcharsbx
}
$tabControl = new CAdminTabControl("tabControl2", $aTabs, true, true);
$tabControl->Begin();
?>
<form method="POST" action="<?echo $APPLICATION->GetCurPage()?>?mid=<?php
echo htmlspecialcharsbx($mid);
?>
&lang=<?echo LANG?>">
<?php
echo freetrix_sessid_post();
?>
<input type="hidden" name="tabControl2_active_tab" value="fedit2">
<?$tabControl->BeginNextTab();?>
<tr>
<td colspan="2" align="left">
<?if(COption::GetOptionString("main", "site_stopped", "N")=="Y"):?>
<span style="color:red;"><?echo GetMessage("MAIN_OPTION_PUBL_CLOSES")?></span>
<?else:?>
<span style="color:green;"><?echo GetMessage("MAIN_OPTION_PUBL_OPENED")?></span>
<?endif?>
<br><br>
</td>
</tr>
<tr>
<td colspan="2" align="left">
<?if(COption::GetOptionString("main", "site_stopped", "N")=="Y"):?>
<input type="hidden" name="start_site" value="Y">
<input type="submit" <?if (!$USER->CanDoOperation('edit_other_settings')) echo "disabled" ?> name="start_siteb" value="<?echo GetMessage("MAIN_OPTION_PUBL_OPEN")?>">
示例6: 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();
}
}
示例7: insertDefault_footer
function insertDefault_footer()
{
if (!confirm("<?php
echo GetMessage("FILEMAN_ED_CONFIRM_FOOTER");
?>
"))
return;
var oTA = BX("__bx_footer_ta");
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();
示例8: urlencode
$tabControl = new CAdminTabControl("tabControl", $aTabs);
$tabControl->Begin();
?>
<form method="post" action="<?php
echo $APPLICATION->GetCurPage();
?>
?mid=<?php
echo urlencode($mid);
?>
&lang=<?php
echo LANGUAGE_ID;
?>
">
<?$tabControl->BeginNextTab()?>
<tr>
<td width="50%" class="adm-detail-content-cell-l">
<label for="painkiller_host"><?php
echo GetMessage('PAINKILLER_HOST');
?>
:</label>
</td>
<td valign="top" width="50%">
<input type="text"
id="painkiller_host"
name="painkiller_host"
value="<?php
echo $siteHost;
?>
">
示例9: GetMessage
.c-migration-adm-info p{
margin: 5px 0;padding: 0;
}
.c-migration-adm-info span{
display: inline-block;
width: 10px;
height: 10px;
}
</style>
<div id="migration_progress" style="margin:0 0 10px 0;"></div>
<?php
$tabControl1 = new CAdminTabControl("tabControl2", array(array("DIV" => "tab2", "TAB" => GetMessage('SPRINT_MIGRATION_TAB1'), "TITLE" => GetMessage('SPRINT_MIGRATION_TAB1_TITLE'))));
$tabControl1->Begin();
$tabControl1->BeginNextTab();
?>
<tr>
<td class="adm-detail-content-cell-l" style="text-align:left;vertical-align:top;width:40%;">
</td>
<td class="adm-detail-content-cell-r" style="vertical-align:top;width:60%">
<div id="migration_migrations"></div>
</td>
</tr>
<tr>
<td class="adm-detail-content-cell-l" style="width:40%;"> </td>
<td class="adm-detail-content-cell-r" style="width:60%">
<?php
echo GetMessage('SPRINT_MIGRATION_DESCR2');
?>
示例10: implode
COption::SetOptionString('markup', 'catalogs', implode(',', $_REQUEST['catalogs']));
// Обновление параметра "Тип цены"
COption::SetOptionInt('markup', 'priceTypes', $_REQUEST['priceTypes']);
if (strlen($Update) > 0 && strlen($_REQUEST['back_url_settings']) > 0) {
LocalRedirect($_REQUEST['back_url_settings']);
} else {
LocalRedirect($APPLICATION->GetCurPage() . '?mid=' . urlencode($mid) . '&lang=' . urlencode(LANGUAGE_ID) . '&back_url_settings=' . urlencode($_REQUEST['back_url_settings']) . '&' . $tabControl->ActiveTabParam());
}
}
$tabControl->Begin();
?>
<form method='post' action=''>
<?php $tabControl->BeginNextTab(); ?>
<tr>
<td valign='middle' width='50%'>
<label for='catalogs[]'><?= GetMessage('QTZ_MARKUP_OPTION_CATALOGS') ?></label>
</td>
<td valign='top' width='50%'>
<select multiple='multiple' size='2' name='catalogs[]'>
<?php foreach (getCatalogList() as $catalog) { ?>
<option value='<?= $catalog['ID'] ?>' <?php if ($catalog['SELECTED']): ?>selected='selected'<? endif ?>><?= htmlspecialchars($catalog['NAME']) ?></option>
<?php } ?>
</select>
</td>
</tr>
<tr>
<td valign='middle' width='50%'>
示例11: htmlspecialcharsbx
" name="form1" onSubmit='return prepareData()' enctype="multipart/form-data">
<input type="hidden" name="lang" value="<?php
echo LANG;
?>
" />
<input type="hidden" name="Update" value="Y" />
<input type="hidden" name="SID" value="<?php
echo htmlspecialcharsbx($SID);
?>
" />
<input type="hidden" name="STRUCTURE" id="STRUCTURE" value="" />
<?php
echo bitrix_sessid_post();
$parentTabControl->Begin();
$parentTabControl->BeginNextTab();
?>
<tr>
<td width="50%">
<label for="USE_DIFF_SITES_SETTINGS"><?php
echo GetMessage('SALE_DH_USE_DIFF_SITES_SETTINGS');
?>
:</label>
</td>
<td width="50%">
<input type="checkbox" name="USE_DIFF_SITES_SETTINGS" id="USE_DIFF_SITES_SETTINGS"<?php
echo $bSites ? " checked=\"checked\"" : "";
?>
onclick="changeSiteList(!this.checked)" value="Y" />
</td>
</tr>
示例12: htmlspecialchars
?>
<form method="post" action="<?php
echo $APPLICATION->GetCurPage();
?>
?mid=<?php
echo htmlspecialchars($mid);
?>
&lang=<?php
echo LANGUAGE_ID;
?>
">
<?php
echo bitrix_sessid_post();
?>
<?php
echo $tabControl->BeginNextTab();
?>
<?php
foreach ($arDisplayOptions as $Option) {
$val = COption::GetOptionString($module_id, $Option[0]);
$type = $Option[2];
?>
<tr>
<td valign="top" width="30%"><?php
if ($type[0] == "checkbox") {
echo "<label for=\"" . htmlspecialchars($Option[0]) . "\">" . $Option[1] . "</label>";
} else {
echo $Option[1];
}
?>
</td>