Elgg
Version 2.3
|
Go to the source code of this file.
Variables | |
$num_featured_items = elgg_extract('num_featured_items', $vars, 6) | |
Form body for setting up site menu. More... | |
$menu | |
$menu_items = $menu->getItems() | |
$featured_menu_names = elgg_get_config('site_featured_menu_names') | |
$dropdown_values = [] | |
foreach($menu_items as $item) | $dropdown_values [' '] = elgg_echo('none') |
$configure = elgg_view('output/longtext', ['value' => elgg_echo('admin:menu_items:description')]) | |
for ($i=0;$i< $num_featured_items;$i++) | |
$custom_items = elgg_get_config('site_custom_menu_items') | |
$name_str = elgg_echo('name') | |
$url_str = elgg_echo('admin:plugins:label:website') | |
$add_menu_items = '' | |
if(is_array($custom_items)) | $new = elgg_echo('new') |
$name_input = elgg_view('input/text', ['name' => 'custom_menu_titles[]']) | |
$url_input = elgg_view('input/text', ['name' => 'custom_menu_urls[]']) | |
$add_menu = elgg_view('output/longtext', ['value' => elgg_echo('admin:add_menu_item:description')]) | |
$custom_items = elgg_get_config('site_custom_menu_items') |
$featured_menu_names = elgg_get_config('site_featured_menu_names') |
$menu |
$num_featured_items = elgg_extract('num_featured_items', $vars, 6) |