Annotation of /mambo/branches/4.6/administrator/components/com_comment/toolbar.comment.php
Parent Directory
|
Revision Log
Revision 971 - (view) (download)
| 1 : | elpie | 964 | <?php |
| 2 : | /** | ||
| 3 : | * @package Mambo | ||
| 4 : | * @subpackage Comment | ||
| 5 : | * @copyright Refer to copyright.php | ||
| 6 : | * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL | ||
| 7 : | elpie | 971 | * @author Mambo Foundation Inc see README.php |
| 8 : | elpie | 964 | */ |
| 9 : | |||
| 10 : | /** ensure this file is being included by a parent file */ | ||
| 11 : | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); | ||
| 12 : | |||
| 13 : | require_once( $mainframe->getPath( 'toolbar_html' ) ); | ||
| 14 : | |||
| 15 : | switch ( $task ) { | ||
| 16 : | |||
| 17 : | case "new": | ||
| 18 : | case "edit": | ||
| 19 : | case "editA": | ||
| 20 : | TOOLBAR_MenuComment::FILE_MENU(); | ||
| 21 : | break; | ||
| 22 : | |||
| 23 : | case "settings": | ||
| 24 : | TOOLBAR_MenuComment::CONFIG_MENU(); | ||
| 25 : | break; | ||
| 26 : | |||
| 27 : | default: | ||
| 28 : | TOOLBAR_MenuComment::DEFAULT_MENU(); | ||
| 29 : | break; | ||
| 30 : | |||
| 31 : | } | ||
| 32 : | neilt | 590 | ?> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

