• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP CAdminContextMenu类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: 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();
echo $orderBasket->getScripts();
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:order_view.php


示例2: ShowMenu

 static function ShowMenu()
 {
     global $APPLICATION;
     $aContext = array(array("ICON" => "btn_list", "TEXT" => GetMessage("MAIN_ADMIN_MENU_LIST"), "LINK" => self::LIST_URL . "?lang=" . LANG . GetFilterParams("filter_"), "TITLE" => GetMessage("MAIN_ADMIN_MENU_LIST")));
     if (!self::$notSaved) {
         $aContext[] = array("ICON" => "btn_delete", "TEXT" => GetMessage("MAIN_ADMIN_MENU_DELETE"), "LINK" => "javascript:if(confirm('" . GetMessage("SUP_CONFIRM_DEL_MESSAGE") . "'))window.location='" . LIST_URL . "?lang=" . LANG . "&action=delete&ID=" . self::$holidaysFields->ID . "&" . bitrix_sessid_get() . urlencode(GetFilterParams("filter_", false)) . "';");
     }
     if (self::SHOW_FORM_SETTINGS) {
         $link = DeleteParam(array("mode"));
         $link = $APPLICATION->GetCurPage() . "?mode=settings" . ($link != "" ? "&" . $link : "");
         $aContext[] = array("TEXT" => GetMessage("SUP_FORM_SETTINGS"), "TITLE" => GetMessage("SUP_FORM_SETTINGS_EX"), "LINK" => "javascript:" . self::$objCAdminForm->GetName() . ".ShowSettings('" . urlencode($link) . "')", "ICON" => "btn_settings");
     }
     $context = new CAdminContextMenu($aContext);
     $context->Show();
 }
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:15,代码来源:ticket_holidays_edit.php


示例3: sprintf

    if (!$result->isSuccess()) {
        $errorsList = $result->getErrorMessages();
    } else {
        if ($submitTypeApply) {
            $redirectPath = sprintf('user_vars_group_edit.php?ID=%dlang=%s', $groupId, LANGUAGE_ID);
        } else {
            $redirectPath = sprintf('user_vars.php?lang=%s', LANGUAGE_ID);
        }
        LocalRedirect($redirectPath);
    }
    foreach ($postData as $key => $value) {
        $dataGroup[$key] = $value;
    }
}
$tabControl = new CAdminTabControl('tabControl', $tabsStructur);
$context = new CAdminContextMenu($contextMenu);
$errorsList = isset($errorsList) ? $errorsList : array();
$dataGroup = array_map('htmlspecialchars', $dataGroup);
$prologType = $request->getQuery('mode') == 'list' ? 'prolog_js' : 'prolog';
require sprintf('%s%s', getenv('DOCUMENT_ROOT'), $includePath[$prologType]);
$context->show();
if (sizeof($errorsList) > 0) {
    CAdminMessage::ShowMessage(join(PHP_EOL, $errorsList));
}
?>
    <form method="post" action="<?php 
echo $applicationOld->getCurPage();
?>
" enctype="multipart/form-data">
    <input type="hidden" name="ID" value="<?php 
echo $dataGroup['ID'];
开发者ID:ASDAFF,项目名称:citfact.uservars,代码行数:31,代码来源:user_vars_group_edit.php


示例4: show

 /**
  * Выводит детальную страницу
  * @internal
  */
 public function show()
 {
     $this->fillMenu();
     $context = new \CAdminContextMenu($this->menu);
     $context->Show();
     $this->tabControl->BeginPrologContent();
     $this->showMessages();
     $this->showProlog();
     $this->tabControl->EndPrologContent();
     $this->tabControl->BeginEpilogContent();
     $this->showEpilog();
     $this->tabControl->EndEpilogContent();
     $query = $this->additionalUrlParams;
     if (isset($_REQUEST[$this->pk()])) {
         $query[$this->pk()] = $_REQUEST[$this->pk()];
     }
     $this->tabControl->Begin(array('FORM_ACTION' => static::getEditPageURL($query)));
     foreach ($this->tabs as $tabSettings) {
         if ($tabSettings['VISIBLE']) {
             $this->showTabElements($tabSettings);
         }
     }
     $this->showEditPageButtons();
     $this->tabControl->ShowWarnings('editform', array());
     //TODO: дописать
     $this->tabControl->Show();
 }
开发者ID:Reprezo,项目名称:digitalwand.admin_helper,代码行数:31,代码来源:AdminEditHelper.php


示例5: array

<script type="text/javascript">top.BX.closeWait(); top.BX.WindowManager.Get().AllowClose(); top.BX.WindowManager.Get().Close();</script><?php 
        die;
    }
}
$APPLICATION->SetTitle($couponID == 0 ? !$multiCoupons ? Loc::getMessage('BX_SALE_DISCOUNT_COUPON_EDIT_TITLE_ADD') : Loc::getMessage('BX_SALE_DISCOUNT_COUPON_EDIT_TITLE_MULTI_ADD') : (!$copy ? Loc::getMessage('BX_SALE_DISCOUNT_COUPON_EDIT_TITLE_UPDATE', array('#ID#' => $couponID)) : Loc::getMessage('BX_SALE_DISCOUNT_COUPON_EDIT_TITLE_COPY', array('#ID#' => $couponID))));
require $_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/include/prolog_admin_after.php';
$contextMenuItems = array(array('ICON' => 'btn_list', 'TEXT' => Loc::getMessage('BX_SALE_DISCOUNT_COUPONT_CONTEXT_COUPON_LIST'), 'LINK' => 'sale_discount_coupons.php?lang=' . LANGUAGE_ID . GetFilterParams('filter_')));
if (!$subWindow && !$readOnly && $couponID > 0) {
    if (!$copy) {
        $contextMenuItems[] = array('SEPARATOR' => 'Y');
        $contextMenuItems[] = array('ICON' => 'btn_new', 'TEXT' => Loc::getMessage('BX_SALE_DISCOUNT_COUPONT_CONTEXT_NEW'), 'LINK' => 'sale_discount_coupon_edit.php?lang=' . LANGUAGE_ID . GetFilterParams('filter_'));
        $contextMenuItems[] = array('ICON' => 'btn_copy', 'TEXT' => Loc::getMessage('BX_SALE_DISCOUNT_COUPONT_CONTEXT_COPY'), 'LINK' => 'sale_discount_coupon_edit.php?lang=' . LANGUAGE_ID . '&ID=' . $couponID . '&action=copy' . GetFilterParams('filter_'));
        $contextMenuItems[] = array('ICON' => 'btn_delete', 'TEXT' => Loc::getMessage('BX_SALE_DISCOUNT_COUPON_CONTEXT_DELETE'), 'LINK' => "javascript:if(confirm('" . CUtil::JSEscape(Loc::getMessage('BX_SALE_DISCOUNT_COUPON_CONTEXT_DELETE_CONFIRM')) . "')) window.location='/bitrix/admin/sale_discount_coupons.php?lang=" . LANGUAGE_ID . "&ID=" . $couponID . "&action=delete&" . bitrix_sessid_get() . "';", 'WARNING' => 'Y');
    }
}
$contextMenu = new CAdminContextMenu($contextMenuItems);
$contextMenu->Show();
unset($contextMenu, $contextMenuItems);
if (!empty($errors)) {
    $errorMessage = new CAdminMessage(array('DETAILS' => implode('<br>', $errors), 'TYPE' => 'ERROR', 'MESSAGE' => Loc::getMessage('BX_SALE_DISCOUNT_COUPON_ERR_SAVE'), 'HTML' => true));
    echo $errorMessage->Show();
    unset($errorMessage);
}
$selectFields = array();
if (!$multiCoupons) {
    $defaultValues = array('DISCOUNT_ID' => '', 'COUPON' => '', 'ACTIVE' => 'Y', 'ACTIVE_FROM' => null, 'ACTIVE_TO' => null, 'TYPE' => Internals\DiscountCouponTable::TYPE_ONE_ORDER, 'MAX_USE' => 0, 'USE_COUNT' => 0, 'USER_ID' => 0, 'DESCRIPTION' => '');
    $selectFields = array('ID', 'DISCOUNT_NAME' => 'DISCOUNT.NAME');
    $selectFields = array_merge($selectFields, array_keys($defaultValues));
} else {
    $defaultValues = array('COUNT' => '', array('DISCOUNT_ID' => '', 'ACTIVE_FROM' => null, 'ACTIVE_TO' => null, 'TYPE' => Internals\DiscountCouponTable::TYPE_ONE_ORDER, 'MAX_USE' => 0));
}
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:discount_coupon_edit.php


示例6: Array

else // ***************************** Show upploader  **************************
{
	$APPLICATION->AddHeadScript('/freetrix/image_uploader/iuembed.js');

	$APPLICATION->SetTitle(GetMessage('FM_ML_UPL_TITLE1'));
	require($_SERVER["DOCUMENT_ROOT"]."/freetrix/modules/main/include/prolog_admin_after.php");

	$aContext = Array();
	$aContext[] = Array(
		"TEXT" => GetMessage("FM_ML_BACK_IN_ML"),
		"ICON" => "",
		"LINK" => "/freetrix/admin/fileman_medialib_admin.php?lang=".LANGUAGE_ID."&".freetrix_sessid_get(),
		"TITLE" => GetMessage("FM_ML_BACK_IN_ML")
	);

	$menu = new CAdminContextMenu($aContext);
	$menu->Show();

	$res = CMedialib::GetCollectionTree(array('checkByType' => true, 'typeId' => intVal($_GET['type'])));
	/*
	$type = intVal($_GET['type']);
	$arType = CMedialib::GetTypeById($type);

	if ($arType)
	{
		foreach ($res['Collections'] as $id => $col)
		{
			// Del collection escription if it has another type
			if (!CMedialib::CompareTypesEx($res['Collections'][$id]['ML_TYPE'], $arType))
				unset($res['Collections'][$id]);
		}
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:fileman_medialib_upload.php


示例7: CAdminContextMenu

	$fatalFailure = true;

	$code = $e->getCode();
	$fatalFailureMessage = $e->getMessage().(!empty($code) ? ' ('.$code.')' : '');
}

#####################################
#### PAGE INTERFACE GENERATION
#####################################

if(!$fatalFailure) // no fatals like "module not installed, etc."
{
	$topMenu = new CAdminContextMenu(array(
		array(
			"TEXT" => GetMessage("SALE_LOCATION_E_GO_BACK"),
			"LINK" => Helper::getListUrl(),
			"ICON" => "btn_list",
		)
	));

	$tabControl = new CAdminForm("tabcntrl_zone_edit", array(
		array(
			"DIV" => "main", 
			"TAB" => Loc::getMessage('SALE_LOCATION_E_MAIN_TAB'), 
			"TITLE" =>  Loc::getMessage('SALE_LOCATION_E_MAIN_TAB_TITLE')
		)
	));
	$tabControl->BeginPrologContent();
	$tabControl->EndPrologContent();
	$tabControl->BeginEpilogContent();
开发者ID:ASDAFF,项目名称:1C_Bitrix_info_site,代码行数:30,代码来源:location_zone_edit.php


示例8: ob_start

    ob_start();
    require_once $documentRoot . "/bitrix/modules/sale/admin/pay_system_restrictions_list.php";
    $restrictionsHtml = ob_get_contents();
    ob_end_clean();
}
require $documentRoot . "/bitrix/modules/main/include/prolog_admin_after.php";
?>

<?php 
$aMenu = array(array("TEXT" => Loc::getMessage("SPSN_2FLIST"), "LINK" => "/bitrix/admin/sale_pay_system.php?lang=" . $context->getLanguage() . GetFilterParams("filter_"), "ICON" => "btn_list"));
if ($id > 0 && $saleModulePermissions >= "W") {
    $aMenu[] = array("SEPARATOR" => "Y");
    $aMenu[] = array("TEXT" => Loc::getMessage("SPSN_NEW_PAYSYS"), "LINK" => "/bitrix/admin/sale_pay_system_edit.php?lang=" . $context->getLanguage() . GetFilterParams("filter_"), "ICON" => "btn_new");
    $aMenu[] = array("TEXT" => Loc::getMessage("SPSN_DELETE_PAYSYS"), "LINK" => "javascript:if(confirm('" . Loc::getMessage("SPSN_DELETE_PAYSYS_CONFIRM") . "')) window.location='/bitrix/admin/sale_pay_system.php?action=delete&ID[]=" . $id . "&lang=" . $context->getLanguage() . "&" . bitrix_sessid_get() . "#tb';", "WARNING" => "Y", "ICON" => "btn_delete");
}
$contextMenu = new CAdminContextMenu($aMenu);
$contextMenu->Show();
?>

<?php 
if ($errorMessage !== '') {
    CAdminMessage::ShowMessage(array("DETAILS" => $errorMessage, "TYPE" => "ERROR", "MESSAGE" => Loc::getMessage("SPSN_ERROR"), "HTML" => true));
}
?>

<script language="JavaScript">
function setLHEClass(lheDivId)
{
	BX.ready(
		function(){
			var lheDivObj = BX(lheDivId);
开发者ID:akniyev,项目名称:itprom_dobrohost,代码行数:31,代码来源:pay_system_edit.php


示例9: foreach

    foreach ($arResult["GROUPS"] as $arGroup) {
        $arGadgets = array();
        foreach ($arGroup["GADGETS"] as $gadget) {
            if (array_key_exists($gadget, $arResult["ALL_GADGETS"])) {
                $arGadgets[] = array("TEXT" => $arResult["ALL_GADGETS"][$gadget]["NAME"], "TITLE" => $arResult["ALL_GADGETS"][$gadget]["DESCRIPTION"], "ACTION" => "getGadgetHolder('" . AddSlashes($arResult["ID"]) . "').Add('" . AddSlashes($arResult["ALL_GADGETS"][$gadget]["ID"]) . "')");
            }
        }
        $arGadgetGroups[] = array("TEXT" => $arGroup["NAME"], "TITLE" => $arGroup["DESCRIPTION"], "MENU" => $arGadgets);
    }
    $arGadgetsButton = array("TEXT" => GetMessage("CMDESKTOP_TDEF_ADD_BUTTON"), "MENU" => $arGadgetGroups, "ICON" => "btn_desktop_gadgets");
    $arSettingsMenu = array(array("TEXT" => GetMessage("CMDESKTOP_TDEF_DESKTOP_ADD"), "TITLE" => GetMessage("CMDESKTOP_TDEF_DESKTOP_ADD"), "ACTION" => "__ShowDesktopAddDialog()"), array("TEXT" => GetMessage("CMDESKTOP_TDEF_DESKTOP_SETTINGS"), "TITLE" => GetMessage("CMDESKTOP_TDEF_DESKTOP_SETTINGS"), "ACTION" => "__ShowDesktopSettingsDialog()"), array("SEPARATOR" => "Y"), array("TEXT" => GetMessage("CMDESKTOP_TDEF_DESKTOP_ALL_SETTINGS"), "TITLE" => GetMessage("CMDESKTOP_TDEF_DESKTOP_ALL_SETTINGS"), "ACTION" => "__ShowDesktopAllSettingsDialog()"), array("SEPARATOR" => "Y"), array("TEXT" => GetMessage("CMDESKTOP_TDEF_CLEAR"), "TITLE" => GetMessage("CMDESKTOP_TDEF_CLEAR"), "ACTION" => "getGadgetHolder('" . AddSlashes($arResult["ID"]) . "').ClearUserSettingsConfirm()"));
    if ($arResult["PERMISSION"] > "W") {
        $arSettingsMenu[] = array("TEXT" => GetMessage("CMDESKTOP_TDEF_SET"), "TITLE" => GetMessage("CMDESKTOP_TDEF_SET"), "ACTION" => "getGadgetHolder('" . AddSlashes($arResult["ID"]) . "').SetForAll('')");
    }
    $arSettingsButton = array("TEXT" => GetMessage("CMDESKTOP_TDEF_DESKTOP_SETTINGS_BUTTON"), "TITLE" => GetMessage("CMDESKTOP_TDEF_DESKTOP_SETTINGS_BUTTON"), "MENU" => $arSettingsMenu, "ICON" => "btn_desktop_settings");
    $mContext = new CAdminContextMenu(array());
    ?>
	<script type="text/javascript">
		var arGDGroups = <?php 
    echo CUtil::PhpToJSObject($arResult["GROUPS"]);
    ?>
;
		new BX.AdminGadget('<?php 
    echo $arResult["ID"];
    ?>
', <?php 
    echo CUtil::PhpToJSObject($allGD);
    ?>
);
	</script>
	<div class="bx-gadgets-header"><?php 
开发者ID:spas-viktor,项目名称:books,代码行数:31,代码来源:template.php


示例10: show

 /**
  * {@inheritdoc}
  */
 public function show()
 {
     if (!$this->hasReadRights()) {
         $this->addErrors(Loc::getMessage('DIGITALWAND_ADMIN_HELPER_ACCESS_FORBIDDEN'));
         $this->showMessages();
         return false;
     }
     $context = new \CAdminContextMenu($this->getMenu());
     $context->Show();
     $this->tabControl->BeginPrologContent();
     $this->showMessages();
     $this->showProlog();
     $this->tabControl->EndPrologContent();
     $this->tabControl->BeginEpilogContent();
     $this->showEpilog();
     $this->tabControl->EndEpilogContent();
     $query = $this->additionalUrlParams;
     if (isset($_REQUEST[$this->pk()])) {
         $query[$this->pk()] = $_REQUEST[$this->pk()];
     } elseif (isset($_REQUEST['SECTION_ID']) && $_REQUEST['SECTION_ID']) {
         $model = $this->getModel();
         $this->data[$model::getSectionField()] = $_REQUEST['SECTION_ID'];
     }
     $this->tabControl->Begin(array('FORM_ACTION' => static::getUrl($query)));
     foreach ($this->tabs as $tabSettings) {
         if ($tabSettings['VISIBLE']) {
             $this->showTabElements($tabSettings);
         }
     }
     $this->showEditPageButtons();
     $this->tabControl->ShowWarnings('editform', array());
     //TODO: дописать
     $this->tabControl->Show();
 }
开发者ID:s-sementsov,项目名称:digitalwand.admin_helper,代码行数:37,代码来源:AdminEditHelper.php


示例11: foreach

    }
}
if (is_array($arDeliveryInfo[$SITE_ID]["PROFILES"])) {
    foreach ($arDeliveryInfo[$SITE_ID]["PROFILES"] as $profileId => $arProfile) {
        if (!array_key_exists($profileId, $arDeliveryInfo[$SITE_ID]["CONFIG"]["CONFIG_GROUPS"])) {
            $configTabsCount++;
            $aTabs[] = array("DIV" => "edit_" . htmlspecialcharsbx($profileId), "TAB" => htmlspecialcharsbx($arProfile["TITLE"]), "TITLE" => htmlspecialcharsbx($arProfile["TITLE"]));
        }
    }
}
//$aTabs[] = array("DIV" => "editbase_profiles", "TAB" => GetMessage('SALE_DH_EDIT_PROFILES'), "TITLE" => GetMessage('SALE_DH_EDIT_PROFILES_DESCR'));
//$aTabs[] = array("DIV" => "delivery2pay", "TAB" => GetMessage('SALE_TAB_DELIVERY_PAY'), "TITLE" => GetMessage('SALE_TAB_DELIVERY_PAY_DESC'));
$tabControl = new CAdminViewTabControl("tabControl", $aTabs, true, false);
$parentTabControl = new CAdminTabControl('parentTabControl', array(array("DIV" => "edit_main", "TAB" => GetMessage('SALE_DH_TAB_TITLE_EDIT'), "ICON" => "sale", "TITLE" => GetMessage('SALE_DH_TAB_TITLE_EDIT_ALT'))), true, true);
$aContext = array(array("TEXT" => GetMessage("SALE_DH_LIST"), "LINK" => "sale_delivery_handlers.php?lang=" . LANG, "TITLE" => GetMessage("SALE_DH_LIST_ALT"), "ICON" => "btn_list"));
$obContextMenu = new CAdminContextMenu($aContext);
$obContextMenu->Show();
$arConfigValues = array();
foreach ($arDeliveryInfo[$SITE_ID]["CONFIG"]["CONFIG"] as $config_id => $arConfig) {
    if ($arConfig["TYPE"] != "MULTISELECT") {
        $arConfigValues[$config_id] = strlen($arConfig["VALUE"]) > 0 ? $arConfig["VALUE"] : $arConfig["DEFAULT"];
    } else {
        if (is_set($arConfig["VALUE"]) && !is_array($arConfig["VALUE"])) {
            $arConfig["VALUE"] = array("0" => $arConfig["VALUE"]);
        }
        if (!is_set($arConfig["VALUE"]) && is_set($arConfig["DEFAULT"]) && !is_array($arConfig["DEFAULT"])) {
            $arConfig["DEFAULT"] = array("0" => $arConfig["DEFAULT"]);
        }
        $arConfigValues[$config_id] = count($arConfig["VALUE"]) > 0 ? $arConfig["VALUE"] : $arConfig["DEFAULT"];
    }
}
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:delivery_handler_edit.php


示例12: Button

	function Button($item, $hkInst)
	{
		if (isset($item['ICON']) && $item['ICON'] == 'btn_list')
			$item['ICON'] = '';

		parent::Button($item, $hkInst);
	}
开发者ID:ASDAFF,项目名称:open_bx,代码行数:7,代码来源:admin_lib.php


示例13: GetActiveClassByID

	function GetActiveClassByID($icon_id)
	{
		if (substr($icon_id, 0, 7) == 'btn_new')
			return 'adm-btn-save-active';
		else
			return parent::GetActiveClassByID($icon_id);

		return '';
	}
开发者ID:nProfessor,项目名称:Mytb,代码行数:9,代码来源:admin_lib.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP CAdminFileDialog类代码示例发布时间:2022-05-23
下一篇:
PHP CAdminCalendar类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap