[ Index ]
 

Code source de IMP H3 (4.1.5)

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/config/ -> menu.php.dist (source)

   1  <?php
   2  /**
   3   * $Horde: imp/config/menu.php.dist,v 1.5 2004/11/06 18:47:15 jan Exp $
   4   *
   5   * This file lets you extend IMP's menu with your own items.
   6   *
   7   * To add a new menu item, simply add a new entry to the $_menu array.
   8   * Valid attributes for a new menu item are:
   9   *
  10   *  'url'       The URL value for the menu item.
  11   *  'text'      The text to accompany the menu item.
  12   *
  13   * These attributes are optional:
  14   *
  15   *  'icon'      The filename of an icon to use for the menu item.
  16   *  'icon_path' The path to the icon if it doesn't exist in the graphics/
  17   *              directory.
  18   *  'target'    The "target" of the link (e.g. '_top', '_blank').
  19   *  'onclick'   Any JavaScript to execute on the "onclick" event.
  20   *
  21   * Here's an example entry:
  22   *
  23   *  $_menu[] = array(   
  24   *      'url' =>        'http://www.example.com/',
  25   *      'text' =>       'Example, Inc.',
  26   *      'icon' =>       'example.png',
  27   *      'icon_path' =>  'http://www.example.com/images/',
  28   *      'target' =>     '_blank',
  29   *      'onclick' =>    ''
  30   *  );
  31   *
  32   * You can also add a "separator" (a spacer) between menu items.  To add a
  33   * separator, simply add a new string to the $_menu array set to the text
  34   * 'separator'.  It should look like this:
  35   *
  36   *  $_menu[] = 'separator';
  37   */
  38  
  39  $_menu = array();
  40  
  41  /* Add your custom entries below this line. */


Généré le : Thu Nov 29 12:30:07 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics