Elgg  Version 1.8
Variables
views/default/forms/admin/menu/save.php File Reference

Go to the source code of this file.

Variables

 $num_featured_items = 6
 Form body for setting up site menu.
 $menu = elgg_get_config('menus')
 $builder = new ElggMenuBuilder($menu)
 $menu_items = $menu['default']
 $featured_menu_names = elgg_get_config('site_featured_menu_names')
 $dropdown_values = array()
foreach($menu_items as $item) $dropdown_values [' '] = elgg_echo('none')
 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')
if(is_array($custom_items)) $new = elgg_echo('new')
 $name_input
 $url_input

Variable Documentation

$builder = new ElggMenuBuilder($menu)

Definition at line 12 of file save.php.

$custom_items = elgg_get_config('site_custom_menu_items')

Definition at line 62 of file save.php.

$dropdown_values = array()

Definition at line 18 of file save.php.

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

Definition at line 22 of file save.php.

$featured_menu_names = elgg_get_config('site_featured_menu_names')

Definition at line 16 of file save.php.

$menu = elgg_get_config('menus')

Definition at line 10 of file save.php.

$menu_items = $menu['default']

Definition at line 14 of file save.php.

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

Definition at line 86 of file save.php.

$name_str = elgg_echo('name')

Definition at line 64 of file save.php.

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

Definition at line 85 of file save.php.

$num_featured_items = 6

Form body for setting up site menu.

Definition at line 7 of file save.php.

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

Definition at line 90 of file save.php.

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

Definition at line 65 of file save.php.

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

Definition at line 35 of file save.php.

 All Classes Namespaces Files Functions Variables Enumerations