Source for file toolbar.menus.php
Documentation is available at toolbar.menus.php
* @copyright Refer to copyright.php
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @author Mambo Foundation Inc see README.php
/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
require_once( $mainframe->getPath( 'toolbar_html' ) );
require_once( $mainframe->getPath( 'toolbar_default' ) );
$path =
$mosConfig_absolute_path .
'/administrator/components/com_menus/';
$query =
"SELECT type FROM #__menu WHERE id = $cid[0]";
$database->setQuery( $query );
$type =
$database->loadResult();
$item_path =
$path .
$type .
'/'.
$type .
'.menubar.php';
require_once( $item_path );
echo
$database->stderr();
$item_path =
$path .
$type .
'/'.
$type .
'.menubar.php';
require_once( $item_path );
$item_path =
$path .
$type .
'/'.
$type .
'.menubar.php';
require_once( $item_path );
Documentation generated on Mon, 05 May 2008 16:23:40 +0400 by phpDocumentor 1.4.0