Elgg  Version 1.8
 All Classes Namespaces Files Functions Variables
Variables
save.php File Reference

Go to the source code of this file.

Variables

 $num_featured_items = 6
 Form body for setting up site menu. More...
 
 $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[]',
))
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Definition: views.php:388

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[]',
))
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Definition: views.php:388

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.