git-svn-id: https://192.168.0.254/svn/Proyectos.MatritumCantat_Web/trunk@2 8e3496fd-7892-4c45-be36-0ff06e9dacc6
69 lines
1.7 KiB
PHP
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();
|
|
}
|
|
}
|
|
?>
|