Source for file toolbar.templates.php

Documentation is available at toolbar.templates.php

  1. <?php
  2. /**
  3. @package Mambo
  4. @subpackage Templates
  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. $client mosGetParam$_REQUEST'client''' );
  16.  
  17. switch ($task{
  18.  
  19.     case "view":
  20.         TOOLBAR_templates::_VIEW();
  21.         break;
  22.  
  23.     case "edit_source":
  24.         TOOLBAR_templates::_EDIT_SOURCE();
  25.         break;
  26.  
  27.     case "edit_css":
  28.         TOOLBAR_templates::_EDIT_CSS();
  29.         break;
  30.  
  31.     case "assign":
  32.         TOOLBAR_templates::_ASSIGN();
  33.         break;
  34.  
  35.     case "positions":
  36.         TOOLBAR_templates::_POSITIONS();
  37.         break;
  38.  
  39.     default:
  40.         TOOLBAR_templates::_DEFAULT($client);
  41.         break;
  42.  
  43. }
  44. ?>

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