Elgg  Version 2.3
Variables
save.php File Reference

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')])
 

Variable Documentation

$add_menu = elgg_view('output/longtext', ['value' => elgg_echo('admin:add_menu_item:description')])

Definition at line 74 of file save.php.

$add_menu_items = ''

Definition at line 46 of file save.php.

$configure = elgg_view('output/longtext', ['value' => elgg_echo('admin:menu_items:description')])

Definition at line 23 of file save.php.

$custom_items = elgg_get_config('site_custom_menu_items')

Definition at line 41 of file save.php.

$dropdown_values = []

Definition at line 17 of file save.php.

foreach ($menu_items as $item) $dropdown_values[' '] = elgg_echo('none')

Definition at line 21 of file save.php.

$featured_menu_names = elgg_get_config('site_featured_menu_names')

Definition at line 15 of file save.php.

$menu
Initial value:
= elgg()->menus->getUnpreparedMenu('site', [
'sort_by' => 'name',
])
elgg
Definition: install.js:23

Definition at line 9 of file save.php.

$menu_items = $menu->getItems()

Definition at line 13 of file save.php.

$name_input = elgg_view('input/text', ['name' => 'custom_menu_titles[]'])

Definition at line 64 of file save.php.

$name_str = elgg_echo('name')

Definition at line 43 of file save.php.

if (is_array($custom_items)) $new = elgg_echo('new')

Definition at line 63 of file save.php.

$num_featured_items = elgg_extract('num_featured_items', $vars, 6)

Form body for setting up site menu.

Definition at line 6 of file save.php.

$url_input = elgg_view('input/text', ['name' => 'custom_menu_urls[]'])

Definition at line 66 of file save.php.

$url_str = elgg_echo('admin:plugins:label:website')

Definition at line 44 of file save.php.

for($i=0;$i< $num_featured_items;$i++)

Definition at line 25 of file save.php.