/etc/horde/whups/menu.php.dist is in php-horde-whups 3.0.12-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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | <?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' => ''
* );
*
* To add items in a separate container, separated by line separators, use a
* unique 'container' property for each item to appear in the same container.
*
* For example, the following two entries will appear in the same container:
*
* $_menu[] = array(
* 'url' => 'http://www.example.com/',
* 'text' => 'Example, Inc.',
* 'icon' => 'example.png',
* 'icon_path' => 'http://www.example.com/images/',
* 'target' => '_blank',
* 'container' => 'mylinks'
* );
* $_menu[] = array(
* 'url' => 'http://www.another-example.com/',
* 'text' => 'Another Example, Inc.',
* 'target' => '_blank',
* 'container' => 'mylinks'
* );
*/
$_menu = array();
/* Add your custom entries below this line. */
|