diff options
Diffstat (limited to 'mod/notifications/views')
-rw-r--r-- | mod/notifications/views/default/notifications/subscriptions/form.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/mod/notifications/views/default/notifications/subscriptions/form.php b/mod/notifications/views/default/notifications/subscriptions/form.php index 8ae27f829..559354eff 100644 --- a/mod/notifications/views/default/notifications/subscriptions/form.php +++ b/mod/notifications/views/default/notifications/subscriptions/form.php @@ -2,15 +2,11 @@ /** * Elgg personal notifications * - * @uses $vars['user'] ElggUser + * @uses $vars['user'] ElggUser that owns the notification settings */ - +// @todo is this a view for extensions? echo elgg_view('subscriptions/form/additions', $vars); - -// Display a description -echo elgg_view_form('notificationsettings/save', array( - 'class' => 'elgg-form-alt', - 'user' => $vars['user'] -)); +$form_vars = array('class' => 'elgg-form-alt'); +echo elgg_view_form('notificationsettings/save', $form_vars, $vars); |