* See COPYRIGHT.php for copyright notices and details. * @license GNU/GPL Version 2, see LICENSE.php * Mambo is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; version 2 of the License. */ /** 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'); switch ($task) { case 'new': case 'new_content_typed': case 'new_content_section': case 'edit': case 'editA': case 'edit_content_typed': TOOLBAR_content::_EDIT(); break; case 'showarchive': TOOLBAR_content::_ARCHIVE(); break; case 'movesect': TOOLBAR_content::_MOVE(); break; case 'copy': TOOLBAR_content::_COPY(); break; default: TOOLBAR_content::_DEFAULT(); break; }
* other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ // no direct access defined('_JEXEC') or die('Restricted access'); require_once JApplicationHelper::getPath('toolbar_html'); switch ($task) { case 'add': case 'new_content_typed': case 'new_content_section': TOOLBAR_content::_EDIT(false); break; case 'edit': case 'editA': case 'edit_content_typed': TOOLBAR_content::_EDIT(true); break; /* case 'showarchive': TOOLBAR_content::_ARCHIVE(); break; */ /* case 'showarchive': TOOLBAR_content::_ARCHIVE(); break; */ case 'movesect': TOOLBAR_content::_MOVE(); break; case 'copy':