Exemplo n.º 1
0
    echo InputTags("pageTags", $pageTags, array($site), 'style="width:90%;"');
    ?>
</td>
	</tr>
<?php 
}
?>

</table>

<?php 
$jsInheritPropIds .= "];";
?>
<input type="hidden" name="save" value="Y" />
<?php 
$popupWindow->EndContent();
$popupWindow->StartButtons();
?>
<input name="btn_popup_prev" id="btn_popup_prev" type="button" value="<?php 
echo GetMessage("PAGE_NEW_BUTTON_PREV");
?>
" title="<?php 
echo GetMessage("PAGE_NEW_BUTTON_PREV");
?>
" />
<input name="btn_popup_next" id="btn_popup_next" type="button" value="<?php 
echo GetMessage("PAGE_NEW_BUTTON_NEXT");
?>
" title="<?php 
echo GetMessage("PAGE_NEW_BUTTON_NEXT");
?>
Exemplo n.º 2
0
                    $MaxItems = intval($arUserOptions["MAX_ITEMS"]);
                } else {
                    $MaxItems = $arParams["MAX_ITEMS"];
                }
                $strResult = '<input type="hidden" name="sm_action" value="update_menu" id="bx_sm_menusettings_action">';
                $strResult .= '<table cellspacing="0" cellpadding="2">';
                $strResult .= '<tr>';
                $strResult .= '<td valign="top" align="right" width="50%">' . GetMessage("SONET_SM_MAX_ITEMS") . ':</td>';
                $strResult .= '<td valign="top" width="50%"><input type="text" name="max_items" value="' . $MaxItems . '" size="30"></td>';
                $strResult .= '</tr>';
                $strResult .= '</table>';
                require_once $_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/interface/admin_lib.php';
                $obJSPopup = new CJSPopup();
                $obJSPopup->StartContent();
                echo $strResult;
                $obJSPopup->EndContent();
                ?>
				<script type="text/javascript">
				<?php 
                echo $obJSPopup->jsPopup;
                ?>
.SetButtons([
					BX.CDialog.btnSave, BX.CDialog.btnCancel, {
						title: '<?php 
                echo CUtil::JSEscape(GetMessage("SONET_SM_CLEAR"));
                ?>
',
						id: 'resetbtn',
						name: 'resetbtn',
						action: function () {
							if(!confirm(langMenuConfirm1))