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

		parent::Button($item, $hkInst);
	}
Example #2
0
    ?>
);
	</script>
	<div class="bx-gadgets-header"><?php 
    if (array_key_exists($arParams["DESKTOP_PAGE"], $arResult["DESKTOPS"])) {
        $title = strlen($arResult["DESKTOPS"][$arParams["DESKTOP_PAGE"]]["NAME"]) > 0 ? $arResult["DESKTOPS"][$arParams["DESKTOP_PAGE"]]["NAME"] : str_replace("#NUM#", intval($arParams["DESKTOP_PAGE"] + 1), GetMessage("CMDESKTOP_TDEF_ADMIN_TITLE_DEFAULT"));
        $title = str_replace("#TITLE#", $title, GetMessage("CMDESKTOP_TDEF_ADMIN_TITLE"));
        ?>
<h1 id="adm-title" class="adm-title" id=""><?php 
        echo htmlspecialcharsbx($title);
        ?>
</h1><?php 
    }
    ?>
<div class="bx-gadgets-buttons"><?php 
    $mContext->Button($arGadgetsButton, CHotKeys::getInstance());
    $mContext->Button($arSettingsButton, CHotKeys::getInstance());
    ?>
</div>
	</div>
	<?php 
}
?>
<form action="<?php 
echo POST_FORM_ACTION_URI;
?>
" method="POST" id="GDHolderForm_<?php 
echo $arResult["ID"];
?>
">
<?php