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_joomap/toolbar.joomap.php
2012-09-18 20:02:43 +00:00

31 lines
878 B
PHP

<?php
/**
* The Joomap component administrator toolbar
* @author Daniel Grothe
* @see admin.joomap.php
* @package Joomap_Admin
*/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// load language file
if( file_exists($GLOBALS['mosConfig_absolute_path'].'/administrator/components/com_joomap/language/'.$GLOBALS['mosConfig_lang'].'.php') ) {
require_once( $GLOBALS['mosConfig_absolute_path'].'/administrator/components/com_joomap/language/'.$GLOBALS['mosConfig_lang'].'.php' );
} else {
require_once( $GLOBALS['mosConfig_absolute_path'].'/administrator/components/com_joomap/language/english.php' );
}
// load html output class
require_once( $mainframe->getPath( 'toolbar_html' ) );
$act = mosGetParam( $_REQUEST, 'act', '' );
if ($act) {
$task = $act;
}
switch ($task) {
default:
TOOLBAR_joomap::_DEFAULT();
break;
}
?>