56 lines
1.8 KiB
Plaintext
56 lines
1.8 KiB
Plaintext
<?php
|
|
/**
|
|
* $Id: a618cf79069c41de2254dc3bc6ec9292789a06e3 $
|
|
*
|
|
* This file lets you extend Kronolith's 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.png',
|
|
* '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. */
|