4 * Arthrology for Elxis CMS 2008.x and 2009.x
6 * Backend Toolbar HTML Event Handler
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 /***********************************************************************/
22 /* THE CLASS THAT WILL CONTAIN THE COMPONENT'S TOOLBAR FUNCTIONALITY */
23 /***********************************************************************/
24 class clsArthrologyToolbarHTML
{
25 // Initialize variables
28 static public function _CONF() {
29 global $adminLanguage;
31 mosMenuBar
::startTable();
32 mosMenuBar
::custom( 'conf_save', 'save.png', 'save_f2.png', $adminLanguage->A_SAVE
, false );
34 mosMenuBar
::custom( 'conf_apply', 'apply.png', 'apply_f2.png', $adminLanguage->A_APPLY
, false );
36 mosMenuBar
::cancel( 'conf_cancel' );
37 mosMenuBar
::endTable();
40 static public function _CP() {
41 global $adminLanguage;
43 mosMenuBar
::startTable();
44 mosMenuBar
::custom( 'list', 'arthrology_articles.png', 'arthrology_articles_f2.png', $adminLanguage->A_CMP_ARTHROLOGY_TOOLBAR_ARTICLES
, false );
46 mosMenuBar
::custom( 'cat', 'arthrology_magazines.png', 'arthrology_magazines_f2.png', $adminLanguage->A_CMP_ARTHROLOGY_TOOLBAR_MAGAZINES
, false );
48 mosMenuBar
::divider();
50 mosMenuBar
::custom( 'conf', 'arthrology_config.png', 'arthrology_config_f2.png', $adminLanguage->A_CMP_ARTHROLOGY_TOOLBAR_CONFIG
, false );
51 mosMenuBar
::endTable();
54 // Create event list menu
55 static public function _LIST() {
56 mosMenuBar
::startTable();
57 mosMenuBar
::publishList();
59 mosMenuBar
::unpublishList();
63 mosMenuBar
::editList();
66 mosMenuBar
::deleteList();
67 mosMenuBar
::endTable();
70 // Create edit/add event form
71 static public function _EDIT(){
72 mosMenuBar
::startTable();
78 mosMenuBar
::endTable();