[ Index ]

PHP Cross Reference of Mambo 4.6.5

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

title

Body

[close]

/administrator/components/com_messages/ -> toolbar.messages.html.php (source)

   1  <?php
   2  /**
   3  * @package Mambo
   4  * @subpackage Messages
   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  /** ensure this file is being included by a parent file */
  18  defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
  19  
  20  class TOOLBAR_messages {
  21  	function _VIEW() {
  22          mosMenuBar::startTable();
  23          mosMenuBar::customX('reply', 'restore.png', 'restore_f2.png', T_('Reply'), false );
  24          mosMenuBar::spacer();
  25          mosMenuBar::deleteList();
  26          mosMenuBar::spacer();
  27          mosMenuBar::cancel();
  28          mosMenuBar::endTable();
  29      }
  30  
  31  	function _EDIT() {
  32          mosMenuBar::startTable();
  33          mosMenuBar::save( 'save', T_('Send') );
  34          mosMenuBar::spacer();
  35          mosMenuBar::cancel();
  36          mosMenuBar::spacer();
  37          mosMenuBar::help( 'new' );
  38          mosMenuBar::endTable();
  39      }
  40  
  41  	function _CONFIG() {
  42          mosMenuBar::startTable();
  43          mosMenuBar::save( 'saveconfig' );
  44          mosMenuBar::spacer();
  45          mosMenuBar::cancel( 'cancelconfig' );
  46          mosMenuBar::spacer();
  47          mosMenuBar::help( 'configuration' );
  48          mosMenuBar::endTable();
  49      }
  50  
  51  	function _DEFAULT() {
  52          mosMenuBar::startTable();
  53          mosMenuBar::addNewX();
  54          mosMenuBar::spacer();
  55          mosMenuBar::deleteList();
  56          mosMenuBar::spacer();
  57          mosMenuBar::help( 'inbox' );
  58          mosMenuBar::endTable();
  59      }
  60  }
  61  ?>