Committer: Apostolos Koutsoulelos <apostolos@desktop.(none)>
[arthrology.git] / toolbar.arthrology.php
blobeb82d935d2e5794d0f41995f079d9086b17e6f81
1 <?php
3 /*
4 * Arthrology for Elxis CMS 2008.x and 2009.x
6 * Backend Toolbar Event Handler
8 * @version 1.3
9 * @package Arthrology
10 * @author Apostolos Koutsoulelos <akoutsoulelos@yahoo.gr>
11 * @authorurl http://www.bitcraft-labs.gr
12 * @copyright Copyright (C) 2009-2011 Apostolos Koutsoulelos. All rights reserved.
13 * @license GNU/GPL (http://www.gnu.org/copyleft/gpl.html)
15 * @link http://www.elxis-downloads.com/downloads/miscellaneous/204.html
18 // Prevent direct inclusion of this file
19 defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
21 // Includes
22 require_once($mainframe->getCfg('absolute_path').'/administrator/components/com_arthrology/toolbar.arthrology.html.php'); // Component's html file for the administration area
24 // Intialize variables
26 // Display toolbar
27 switch ($task) {
28 case 'edit':
29 case 'new':
30 clsArthrologyToolbarHTML::_EDIT();
31 break;
32 case 'list':
33 clsArthrologyToolbarHTML::_LIST();
34 break;
35 case 'conf':
36 clsArthrologyToolbarHTML::_CONF();
37 break;
38 case 'cp':
39 default:
40 clsArthrologyToolbarHTML::_CP();
41 break;