From c0bc34a6ce4c08e652ef86712dd6b9c1781eade5 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 24 Mar 2010 22:20:03 +0000 Subject: Added ability to make arbitrary links for the menu items. git-svn-id: http://code.elgg.org/elgg/trunk@5498 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/menu_items.php | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'views/default/admin/menu_items.php') diff --git a/views/default/admin/menu_items.php b/views/default/admin/menu_items.php index c9bdc5bca..1233eeb1b 100644 --- a/views/default/admin/menu_items.php +++ b/views/default/admin/menu_items.php @@ -41,6 +41,46 @@ for ($i=0; $i<6; $i++) { )); } +$form_body .= '

'; +// add arbitrary links +$form_body .= elgg_view_title(elgg_echo('admin:add_menu_item')); +$form_body .= elgg_view('output/longtext', array('value' => elgg_echo("admin:add_menu_item:description"))); + +$custom_items = get_config('menu_items_custom_items'); + +$name_str = elgg_echo('name'); +$url_str = elgg_echo('admin:plugins:label:website'); + +$form_body .= '"; + $form_body .= '

'; $form_body .= elgg_view('input/submit', array('value' => elgg_echo('save'))); -- cgit v1.2.3