Source for file toolbar.comment.php

Documentation is available at toolbar.comment.php

  1. <?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. @author Mambo Foundation Inc see README.php
  8. */
  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. ?>

Documentation generated on Mon, 05 May 2008 16:23:25 +0400 by phpDocumentor 1.4.0