diff options
author | Kevin Jardine <kevinjardine@yahoo.com> | 2012-04-26 11:42:27 -0700 |
---|---|---|
committer | Kevin Jardine <kevinjardine@yahoo.com> | 2012-04-26 11:42:27 -0700 |
commit | 6e3d519f4ff1e163fe698607adba1568386d8c55 (patch) | |
tree | 8e253ac75202166d191c2adcdf01d91bacfbf8af /views | |
parent | 2d19bfa232be5eff43bb6c1d1eef12e681552956 (diff) | |
parent | f6b8c737fb13df3d611cc0a0f072723aac174b14 (diff) | |
download | elgg-6e3d519f4ff1e163fe698607adba1568386d8c55.tar.gz elgg-6e3d519f4ff1e163fe698607adba1568386d8c55.tar.bz2 |
Merge pull request #26 from beck24/master
Small fix to clear deprecation notice
Diffstat (limited to 'views')
-rw-r--r-- | views/default/event_calendar/forms/add_to_group.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/event_calendar/forms/add_to_group.php b/views/default/event_calendar/forms/add_to_group.php index 330f72526..f9640733c 100644 --- a/views/default/event_calendar/forms/add_to_group.php +++ b/views/default/event_calendar/forms/add_to_group.php @@ -56,17 +56,17 @@ if ($remove_group) { if ($add_options || $remove_options) { echo '<div class="contentWrapper" >'; - $event_bit = elgg_view('input/hidden', array("internalname" => "event_id","value" => $event_id)); + $event_bit = elgg_view('input/hidden', array("name" => "event_id","value" => $event_id)); if ($add_options) { echo "<h4>".elgg_echo('event_calendar:add_to_group:add_group_title')."</h4>"; - $add_pulldown = elgg_view("input/dropdown",array("internalname" => "group_id","options_values" => $add_options)); + $add_pulldown = elgg_view("input/dropdown",array("name" => "group_id","options_values" => $add_options)); $submit_button = "<p>".elgg_view("input/submit",array("value"=>elgg_echo('event_calendar:add_to_group:add_group_button')))."</p>"; echo elgg_view ('input/form',array("body" => $event_bit.$add_pulldown.$submit_button,"action" => $vars['url']."action/event_calendar/add_to_group")); } if ($remove_options) { echo "<h4>".elgg_echo('event_calendar:add_to_group:remove_group_title')."</h4>"; - $remove_pulldown = elgg_view("input/dropdown",array("internalname" => "group_id","options_values" => $remove_options)); + $remove_pulldown = elgg_view("input/dropdown",array("name" => "group_id","options_values" => $remove_options)); $submit_button = "<p>".elgg_view("input/submit",array("value"=>elgg_echo('event_calendar:add_to_group:remove_group_button')))."</p>"; echo elgg_view ('input/form',array("body" => $event_bit.$remove_pulldown.$submit_button,"action" => $vars['url']."action/event_calendar/remove_from_group")); } |