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


PHP CAdminViewTabControl::BeginNextTab方法代码示例

本文整理汇总了PHP中CAdminViewTabControl::BeginNextTab方法的典型用法代码示例。如果您正苦于以下问题:PHP CAdminViewTabControl::BeginNextTab方法的具体用法?PHP CAdminViewTabControl::BeginNextTab怎么用?PHP CAdminViewTabControl::BeginNextTab使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CAdminViewTabControl的用法示例。


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

示例1: htmlspecialcharsbx

<?
$aSiteTabs = array(array("DIV" => "opt_common", "TAB" => GetMessage("socserv_sett_common"), 'TITLE' => GetMessage("socserv_sett_common_title"), 'ONSELECT'=>"document.forms['socserv_settings'].siteTabControl_active_tab.value='opt_common'"));
foreach($arSites as $arSite)
	$aSiteTabs[] = array("DIV" => "opt_site_".$arSite["ID"], "TAB" => '['.$arSite["ID"].'] '.htmlspecialcharsbx($arSite["NAME"]), 'TITLE' => GetMessage("socserv_sett_site").' ['.$arSite["ID"].'] '.htmlspecialcharsbx($arSite["NAME"]), 'ONSELECT'=>"document.forms['socserv_settings'].siteTabControl_active_tab.value='opt_site_".$arSite["ID"]."'");

$siteTabControl = new CAdminViewTabControl("siteTabControl", $aSiteTabs);

$siteTabControl->Begin();

$arUseOnSites = unserialize(COption::GetOptionString("socialservices", "use_on_sites", ""));

foreach($arSiteList as $site):
	$suffix = ($site <> ''? '_bx_site_'.$site:'');
	$hash = COption::GetOptionString("socialservices", "twitter_search_hash".$suffix, "#b24");
	$twitHashInput = "<input type=\"text\" name=\"twitter_search_hash".$suffix."\" id=\"twitter_search_hash".$suffix."\" size=15 value=\"".htmlspecialcharsbx($hash)."\">";
	$siteTabControl->BeginNextTab();
?>
<?if($site <> ''):?>
<table cellpadding="0" cellspacing="0" border="0" class="edit-table">
	<tr>
		<td width="50%" class="field-name"><label for="use_on_sites<?php 
echo $suffix;
?>
"><?echo GetMessage("socserv_sett_site_apply")?></td>
		<td width="50%" style="padding-left:7px;">
			<input type="hidden" name="use_on_sites[<?php 
echo htmlspecialcharsbx($site);
?>
]" value="N">
			<input type="checkbox" name="use_on_sites[<?php 
echo htmlspecialcharsbx($site);
开发者ID:nProfessor,项目名称:Mytb,代码行数:31,代码来源:options.php

示例2: array

	var gdSaleTabControl_<?php 
echo $arGadgetParams["RND_STRING"];
?>
 = false;
</script><?php 
$aTabs = array(array("DIV" => "bx_gd_sale_stats_" . $arGadgetParams["RND_STRING"], "TAB" => GetMessage("GD_ORDERS_TAB_STATS"), "ICON" => "", "TITLE" => "", "ONSELECT" => "gdSaleTabControl_" . $arGadgetParams["RND_STRING"] . ".SelectTab('bx_gd_sale_stats_" . $arGadgetParams["RND_STRING"] . "');"), array("DIV" => "bx_gd_sale_orders_" . $arGadgetParams["RND_STRING"], "TAB" => GetMessage("GD_ORDERS_TAB_ORDERS"), "ICON" => "", "TITLE" => "", "ONSELECT" => "gdSaleTabControl_" . $arGadgetParams["RND_STRING"] . ".SelectTab('bx_gd_sale_orders_" . $arGadgetParams["RND_STRING"] . "');"));
$tabControl = new CAdminViewTabControl("saleTabControl_" . $arGadgetParams["RND_STRING"], $aTabs);
?>
<div class="bx-gadgets-tabs-wrap" id="bx_gd_tabset_sale_<?php 
echo $arGadgetParams["RND_STRING"];
?>
"><?php 
$tabControl->Begin();
$countTabs = count($aTabs);
for ($i = 0; $i < $countTabs; $i++) {
    $tabControl->BeginNextTab();
}
$tabControl->End();
?>
<div class="bx-gadgets-tabs-cont"><?php 
$countTab = count($aTabs);
for ($i = 0; $i < $countTab; $i++) {
    ?>
<div id="<?php 
    echo $aTabs[$i]["DIV"];
    ?>
_content" style="display: <?php 
    echo $i == 0 ? "block" : "none";
    ?>
;" class="bx-gadgets-tab-container"><?php 
    if ($i == 0) {
开发者ID:webgksupport,项目名称:alpina,代码行数:31,代码来源:index.php

示例3: count

?>
</a></div>
				</td></tr><?
			}

		endfor;
		
		?><tr><td colspan="2">&nbsp;</td></tr><?
	}
	?><tr>
		<td colspan="2"><?
		$arChildTabControlSite->Begin();

		for($j = 1; $j < $siteCount; $j++)
		{
			$arChildTabControlSite->BeginNextTab();
			?><table cellspacing="7" cellpadding="0" border="0" width="100%"><?
			$tmp_count = count($arAllOptions);
			for ($i = 0; $i < $tmp_count; $i++):
				$Option = $arAllOptions[$i];
				$val = COption::GetOptionString("socialnetwork", $Option[0], $Option[2], $siteList[$j]["ID"]);
				$type = $Option[3];

				if ($type[0] == "select_fields" || $type[0] == "select_properties" || $type[0] == "select_rating"):
					if($type[1] == true) // multiple select
						$val = unserialize($val);
					else
						$val = array($val);
				endif;
				?><tr>
					<td <?php 
开发者ID:ASDAFF,项目名称:bxApiDocs,代码行数:31,代码来源:options.php

示例4: array

                if ($bNewSegment) {
                    $arPriceBoundaries[] = array("FROM" => $arPrice["QUANTITY_FROM"], "TO" => $arPrice["QUANTITY_TO"]);
                }
            }
        }
    }
    if (!empty($arPriceBoundaries)) {
        if (count($arPriceBoundaries) > 1) {
            Main\Type\Collection::sortByColumn($arPriceBoundaries, array('FROM' => SORT_ASC));
        } else {
            $arPriceBoundaries[0]['FROM'] = false;
            $arPriceBoundaries[0]['TO'] = false;
        }
    }
    // prices tab
    $tabControl1->BeginNextTab();
    $arCatPricesExist = array();
    // attr for exist prices for range
    $bUseExtendedPrice = $bVarsFromForm ? $price_useextform == 'Y' : count($arPriceBoundaries) > 1;
    $str_CAT_VAT_ID = $bVarsFromForm ? $CAT_VAT_ID : ($arBaseProduct['VAT_ID'] == 0 ? $arMainCatalog['VAT_ID'] : $arBaseProduct['VAT_ID']);
    $str_CAT_VAT_INCLUDED = $bVarsFromForm ? $CAT_VAT_INCLUDED : $arBaseProduct['VAT_INCLUDED'];
    ?>
<input type="hidden" name="price_useextform" id="price_useextform_N" value="N" />
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="edit-table" id="catalog_vat_table">
	<tr>
		<td width="40%"><label for="price_useextform"><?php 
    echo GetMessage('C2IT_PRICES_USEEXT');
    ?>
:</label></td>
		<td width="60%">
			<input type="checkbox" name="price_useextform" id="price_useextform" value="Y" onclick="togglePriceType()" <?php 
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:product_edit.php

示例5: count

                }
            }
        }
    }
    $intCount = count($arPriceBoundaries);
    for ($i = 0; $i < $intCount - 1; $i++) {
        for ($j = $i + 1; $j < $intCount; $j++) {
            if ($arPriceBoundaries[$i]["FROM"] > $arPriceBoundaries[$j]["FROM"]) {
                $tmp = $arPriceBoundaries[$i];
                $arPriceBoundaries[$i] = $arPriceBoundaries[$j];
                $arPriceBoundaries[$j] = $tmp;
            }
        }
    }
    // prices tab
    $subtabControl1->BeginNextTab();
    $arCatPricesExist = array();
    // attr for exist prices for range
    $bUseExtendedPrice = $bVarsFromForm ? $subprice_useextform == 'Y' : count($arPriceBoundaries) > 1;
    $str_CAT_VAT_ID = $bVarsFromForm ? $SUBCAT_VAT_ID : ($arBaseProduct['VAT_ID'] == 0 ? $arCatalog['VAT_ID'] : $arBaseProduct['VAT_ID']);
    $str_CAT_VAT_INCLUDED = $bVarsFromForm ? $SUBCAT_VAT_INCLUDED : $arBaseProduct['VAT_INCLUDED'];
    ?>
<input type="hidden" name="subprice_useextform" id="subprice_useextform_N" value="N" />
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="edit-table" id="subcatalog_vat_table">
	<tr>
		<td width="40%"><label for="subprice_useextform"><?php 
    echo GetMessage('C2IT_PRICES_USEEXT');
    ?>
:</label></td>
		<td width="60%">
			<input type="checkbox" name="subprice_useextform" id="subprice_useextform" value="Y" onclick="toggleSubPriceType()" <?php 
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:subproduct_edit.php

示例6: array

				</td>
			</tr>
<?php 
        $obDeliveryHandlers = ob_get_contents();
        ob_end_clean();
        /***************************************************************/
        if ($bUseDelivery && $bUseDeliveryHandlers) {
            $aSubTabs = array(array("DIV" => "delivery", "TAB" => GetMessage('SOE_DELIVERY_TAB'), "ONSELECT" => 'document.forms.forder_edit.DELIVERY_type.value=\'\''), array("DIV" => "delivery_handler", "TAB" => GetMessage('SOE_DELIVERY_HANDLER_TAB'), "ONSELECT" => 'document.forms.forder_edit.DELIVERY_type.value=\'handler\''));
            $childTabControl = new CAdminViewTabControl("childTabControl", $aSubTabs);
            ?>
<tr>
	<td colspan="2"><input type="hidden" name="DELIVERY_type" value="" />
<?php 
            $childTabControl->Begin();
            // simple delivery services
            $childTabControl->BeginNextTab();
            ?>
		<table width="100%"><tr><?php 
            echo $obDelivery;
            ?>
</tr></table>
<?php 
            // automated delivery services
            $childTabControl->BeginNextTab();
            ?>
		<table width="100%"><tr><?php 
            echo $obDeliveryHandlers;
            ?>
</tr></table>
<?php 
            $childTabControl->End();
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:order_edit.php

示例7: array

        ?>
>
		<td colSpan="2" align="center">
		<?php 
        $aSubTabs = array();
        foreach ($arSites as $siteId => $siteName) {
            $aSubTabs[] = array("DIV" => "opt_cal_path_" . $siteId, "TAB" => $siteName, 'TITLE' => $siteName);
        }
        $arChildTabControlUserCommon = new CAdminViewTabControl("childTabControlUserCommon", $aSubTabs);
        $arChildTabControlUserCommon->Begin();
        ?>
		<?php 
        foreach ($arSites as $siteId => $siteName) {
            ?>
		<?php 
            $arChildTabControlUserCommon->BeginNextTab();
            ?>
			<table>
			<?php 
            foreach ($arPathes as $pathName) {
                $val = $SET['pathes'][$siteId][$pathName];
                if (!isset($val) || empty($val)) {
                    $val = $SET[$pathName];
                }
                ?>
				<tr>
					<td class="field-name"><label for="cal_<?php 
                echo $pathName;
                ?>
"><?php 
                echo GetMessage("CAL_" . strtoupper($pathName));
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:options.php

示例8: GetMessage

			$ratingWeightType 	 = COption::GetOptionString("main", "rating_weight_type", "auto");
			$authorityRatingId	 = CRatings::GetAuthorityRating();
			$arAuthorityUserProp = CRatings::GetRatingUserPropEx($authorityRatingId, $ID);

			$viewTabControl = new CAdminViewTabControl("tabControlRating", $aTabs2);
			$viewTabControl->Begin();

			foreach($arRatings as $ratingId => $arRating)
			{
				$arRatingResult = CRatings::GetRatingResult($ratingId, $ID);
				$arRatingUserProp = CRatings::GetRatingUserPropEx($ratingId, $ID);

				if ($ratingId == $authorityRatingId && $arRatingUserProp['BONUS'] == 0)
					$arRatingUserProp['BONUS'] = COption::GetOptionString("main", "rating_start_authority", 3);

				$viewTabControl->BeginNextTab();
				?>
					<table cellspacing="7" cellpadding="0" border="0" width="100%" class="edit-table">
				<?	if ($USER->CanDoOperation('edit_ratings') && ($selfEdit || $ID!=$uid)): ?>
					<tr>
						<td class="field-name" width="40%"><?php 
echo GetMessage('RATING_BONUS');
?>
:<sup><span class="required">2</span></sup></td>
						<td><?php 
echo InputType('text', "RATING_BONUS[{$ratingId}]", floatval($arRatingUserProp['BONUS']), false, false, '', 'size="5" maxlength="11"');
?>
 <?php 
echo $ratingWeightType == 'auto' ? 'x ' . GetMessage('RATING_NORM_VOTE_WEIGHT') : '';
?>
</td>
开发者ID:ASDAFF,项目名称:bitrix-5,代码行数:31,代码来源:user_edit.php

示例9: array

                    if (${"sum_" . strtolower($counter_type)} > 0) {
                        $i++;
                        $aTabs[] = array("DIV" => "ttab" . $i, "TAB" => GetMessage("AD_" . $counter_type . "_DIAGRAM"), "TITLE" => GetMessage("AD_CONTRACT_DIAGRAM_TITLE"));
                    }
                }
                reset($arShow);
                $viewTabContract = new CAdminViewTabControl("viewTabContract", $aTabs);
                if (count($aTabs) > 0) {
                    $viewTabContract->Begin();
                }
                foreach ($arShow as $ctype) {
                    $counter_type = strtoupper($ctype);
                    if (${"sum_" . strtolower($counter_type)} > 0) {
                        ?>
						<?php 
                        $viewTabContract->BeginNextTab();
                        ?>
						<div class="graph">
						<table cellspacing=0 cellpadding=2 class="graph">
							<tr>
								<td valign="top"><img class="graph" src="/bitrix/admin/adv_diagram.php?<?php 
                        echo GetFilterParams($FilterArr);
                        ?>
&diagram_type=<?php 
                        echo $diagram_type;
                        ?>
&counter_type=<?php 
                        echo $counter_type;
                        ?>
" width="<?php 
                        echo $diameter;
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:adv_contract_diagram.php

示例10: foreach

                foreach ($arShow as $ctype) {
                    $counter_type = strtoupper($ctype);
                    if (${"sum_" . strtolower($counter_type)} > 0) {
                        $i++;
                        $aTabs[] = array("DIV" => "tttab" . $i, "TAB" => GetMessage("AD_" . $counter_type . "_DIAGRAM"), "TITLE" => GetMessage("AD_GROUP_DIAGRAM_TITLE"));
                    }
                }
                reset($arShow);
                $viewTabGroup = new CAdminViewTabControl("viewTabGroup", $aTabs);
                if (count($aTabs) > 0) {
                    $viewTabGroup->Begin();
                }
                foreach ($arShow as $ctype) {
                    $counter_type = strtoupper($ctype);
                    if (in_array($ctype, $arShow) && ${"sum_" . $ctype} > 0) {
                        $viewTabGroup->BeginNextTab();
                        ?>
						<div class="graph">
						<table cellspacing=0 cellpadding=0 class="graph">
							<tr>
								<td valign="top"><img class="graph" src="/bitrix/admin/adv_diagram.php?<?php 
                        echo GetFilterParams($FilterArr);
                        ?>
&diagram_type=<?php 
                        echo $diagram_type;
                        ?>
&counter_type=<?php 
                        echo $counter_type;
                        ?>
" width="<?php 
                        echo $diameter;
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:adv_banner_diagram.php

示例11: GetMessage

?>
		</td>
	</tr>

	<tr class="heading">
		<td colspan="2"><?php 
echo GetMessage('INTR_OPTION_PATHS');
?>
</td>
	</tr>
	<tr>
		<td colspan="2">
<?php 
$childTabControl_1->Begin();
foreach ($arSites as $SITE_ID => $SITE) {
    $childTabControl_1->BeginNextTab();
    ?>
	<table width="100%" align="center">
	<tr>
		<td valign="top" align="right"><?php 
    echo GetMessage('INTR_OPTION_PATHS_USER');
    ?>
: </td>
		<td><input type="text" name="path_user_<?php 
    echo $SITE_ID;
    ?>
" value="<?php 
    echo htmlspecialcharsbx($path_user[$SITE_ID]);
    ?>
" size="50" /></td>
	</tr>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:options.php


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