[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/administrator/components/com_installer/ -> toolbar.installer.html.php (source)

   1  <?php
   2  /**
   3  * @package Mambo
   4  * @subpackage Installer
   5  * @author Mambo Foundation Inc see README.php
   6  * @copyright (C) 2000 - 2009 Mambo Foundation Inc.
   7  * See COPYRIGHT.php for copyright notices and details.
   8  * @license GNU/GPL Version 2, see LICENSE.php
   9  *
  10  * Redistributions of files must retain the above copyright notice.
  11  *
  12  * Mambo is free software; you can redistribute it and/or
  13  * modify it under the terms of the GNU General Public License
  14  * as published by the Free Software Foundation; version 2 of the License.
  15  */
  16  
  17  class TOOLBAR_installer
  18  {
  19  	function _DEFAULT()    {
  20          mosMenuBar::startTable();
  21          if ($GLOBALS['task'] == 'thesource') {
  22              mosMenuBar::help( 'source' );
  23          } else {
  24              mosMenuBar::help( 'universal' );
  25          }
  26          mosMenuBar::endTable();
  27      }
  28  
  29  	function _DEFAULT2($element)    {
  30          mosMenuBar::startTable();
  31          mosMenuBar::deleteList( '', 'remove', T_('Uninstall'));
  32          mosMenuBar::spacer();
  33          mosMenuBar::help( $element );
  34          mosMenuBar::endTable();
  35      }
  36  
  37  	function _NEW()    {
  38          mosMenuBar::startTable();
  39          mosMenuBar::save();
  40          mosMenuBar::spacer();
  41          mosMenuBar::cancel();
  42          mosMenuBar::endTable();
  43      }
  44  }
  45  ?>