/** * @version $Id: separator.menu.html.php,v 1.8 2005/02/15 12:21:08 kochp Exp $ * @package Mambo * @subpackage Menus * @copyright (C) 2000 - 2005 Miro International Pty Ltd * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * Mambo is Free Software */ /** ensure this file is being included by a parent file */ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); /** * Writes the edit form for new and existing content item * * A new record is defined when $row is passed with the id * property set to 0. * @package Mambo * @subpackage Menus */ class separator_menu_html { function edit( $menu, $lists, $params, $option ) { global $mosConfig_live_site, $adminLanguage; ?> function submitbutton(pressbutton) { if (pressbutton == 'cancel') { submitform( pressbutton ); return; } var form = document.adminForm; submitform( pressbutton ); } :: : : : : : } } ?>