This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
MatritumCantat_Web/www/administrator/components/com_events/toolbar.events.html.php
2012-09-18 20:02:43 +00:00

69 lines
1.7 KiB
PHP

<?php
/**
* Events Component for Joomla 1.0.x
*
* @version $Id: toolbar.events.html.php 844 2007-07-12 07:06:31Z geraint $
* @package Events
* @copyright Copyright (C) 2006 JEvents Project Group
* @copyright Copyright (C) 2000 - 2003 Eric Lamette, Dave McDonnell
* @licence http://www.gnu.org/copyleft/gpl.html
* @link http://joomlacode.org/gf/project/jevents
*/
defined( '_VALID_MOS' ) or die( 'No Direct Access' );
Class menuEvents {
function CONF_MENU() {
mosMenuBar::startTable();
mosMenuBar::spacer();
mosMenuBar::save( 'saveconfig' );
mosMenuBar::cancel( 'cancelconfig' );
mosMenuBar::spacer();
mosMenuBar::endTable();
}
function NEW_MENU() {
mosMenuBar::startTable();
mosMenuBar::preview( 'contentwindow' );
mosMenuBar::save();
mosMenuBar::media_manager();
mosMenuBar::cancel();
mosMenuBar::spacer();
mosMenuBar::endTable();
}
function EDIT_MENU() {
mosMenuBar::startTable();
mosMenuBar::preview( 'contentwindow' );
mosMenuBar::save();
mosMenuBar::media_manager();
mosMenuBar::cancel();
if (file_exists(dirname(__FILE__).'/help/screen.jevent.edit_new_' . _CAL_LANG_LNG . '.html')) {
mosMenuBar::help( 'screen.jevent.edit_new_' . _CAL_LANG_LNG . '.html', true );
}
mosMenuBar::spacer();
mosMenuBar::endTable();
}
function VIEWARCHIV_MENU() {
mosMenuBar::startTable();
mosMenuBar::editList();
mosMenuBar::deleteList();
mosMenuBar::unarchiveList();
mosMenuBar::endTable();
}
function DEFAULT_MENU() {
mosMenuBar::startTable();
mosMenuBar::publishList();
mosMenuBar::unpublishList();
mosMenuBar::addNew();
mosMenuBar::editList();
mosMenuBar::deleteList();
mosMenuBar::archiveList();
mosMenuBar::spacer();
mosMenuBar::endTable();
}
}
?>