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