4 * Event Calendar for Elxis CMS 2008.x and 2009.x
6 * Backend Toolbar HTML Event Handler
9 * @package eventCalendar
10 * @author Apostolos Koutsoulelos <akoutsoulelos@yahoo.gr>
11 * @copyright Copyright (C) 2009-2010 Apostolos Koutsoulelos. All rights reserved.
12 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
16 // Prevent direct inclusion of this file
17 defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
19 /***********************************************************************/
20 /* THE CLASS THAT WILL CONTAIN THE COMPONENT'S TOOLBAR FUNCTIONALITY */
21 /***********************************************************************/
22 class clsEventCalendarToolbarHTML
{
23 // Initialize variables
25 // Create control panel menu
26 static public function _CONTROLPANEL() {
27 global $adminLanguage;
29 mosMenuBar
::startTable();
30 mosMenuBar
::custom( 'cp_save', 'save.png', 'save_f2.png', $adminLanguage->A_SAVE
, false );
32 mosMenuBar
::custom( 'cp_apply', 'apply.png', 'apply_f2.png', $adminLanguage->A_APPLY
, false );
34 mosMenuBar
::cancel( 'cp_cancel' );
36 mosMenuBar
::wiki( 'Event_Calendar_(component)' );
37 mosMenuBar
::endTable();
40 // Create event list menu
41 static public function _DEFAULT() {
42 mosMenuBar
::startTable();
43 mosMenuBar
::publishList();
45 mosMenuBar
::unpublishList();
49 mosMenuBar
::editList();
52 mosMenuBar
::deleteList();
54 mosMenuBar
::wiki( 'Event_Calendar_(component)' );
55 mosMenuBar
::endTable();
58 // Create edit/add event form
59 static public function _EDIT(){
60 mosMenuBar
::startTable();
67 mosMenuBar
::wiki( 'Event_Calendar_(component)' );
68 mosMenuBar
::endTable();