Пример #1
0
echo GetMessage("PAGE_NEW_BUTTON_FINISH");
?>
" />
&nbsp;&nbsp;&nbsp;&nbsp;<input name="btn_popup_close" type="button" value="<?php 
echo GetMessage("PAGE_NEW_BUTTON_CANCEL");
?>
" onclick="<?php 
echo $popupWindow->jsPopup;
?>
.CloseDialog()" title="<?php 
echo GetMessage("PAGE_NEW_BUTTON_CANCEL");
?>
" />

<?php 
$popupWindow->EndButtons();
?>

<script>

var bxMenuType = <?php 
echo CUtil::PhpToJSObject($arMenu);
?>
;

window.BXChangeMenuType = function(menuType, onChange)
{
	if (!bxMenuType[menuType])
		return;

	var menuItems = BX("bx_menu_items");
Пример #2
0
');" title="<?php 
    echo GetMessage("comp_prop_save_title");
    ?>
" name="save" class="adm-btn-save" />
	<input type="button" value="<?php 
    echo GetMessage("comp_prop_cancel");
    ?>
" onclick="<?php 
    echo $obJSPopup->jsPopup;
    ?>
.CloseDialog()" title="<?php 
    echo GetMessage("comp_prop_cancel_title");
    ?>
" />
<?php 
    $obJSPopup->EndButtons();
} else {
    //!empty($arTemplate["PARAMS"])
    $obJSPopup->StartButtons();
    ?>
	<input type="button" value="<?php 
    echo GetMessage("comp_prop_close_w");
    ?>
" onclick="<?php 
    echo $obJSPopup->jsPopup;
    ?>
.CloseDialog()" title="<?php 
    echo GetMessage("comp_prop_close");
    ?>
">
<?php