aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications/views
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-27 07:26:16 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-27 07:26:16 -0400
commitd450c043eeabbe5d0d5466cba59045fd3a1888c9 (patch)
tree0702d87fb9d50193119cbd27422490bc6952401a /mod/notifications/views
parente82534d0bceb80f7a9e7ba8f00748ee1eb32b214 (diff)
downloadelgg-d450c043eeabbe5d0d5466cba59045fd3a1888c9.tar.gz
elgg-d450c043eeabbe5d0d5466cba59045fd3a1888c9.tar.bz2
Refs #3407 using elgg-form and elgg-foot in core forms. Plugins next
Diffstat (limited to 'mod/notifications/views')
-rw-r--r--mod/notifications/views/default/forms/notificationsettings/save.php7
-rw-r--r--mod/notifications/views/default/notifications/subscriptions/form.php2
-rw-r--r--mod/notifications/views/default/notifications/subscriptions/forminternals.php8
3 files changed, 7 insertions, 10 deletions
diff --git a/mod/notifications/views/default/forms/notificationsettings/save.php b/mod/notifications/views/default/forms/notificationsettings/save.php
index 0306080b8..ff32d8558 100644
--- a/mod/notifications/views/default/forms/notificationsettings/save.php
+++ b/mod/notifications/views/default/forms/notificationsettings/save.php
@@ -5,4 +5,9 @@
echo elgg_view('notifications/subscriptions/personal');
echo elgg_view('notifications/subscriptions/collections');
-echo elgg_view('notifications/subscriptions/forminternals'); \ No newline at end of file
+echo elgg_view('notifications/subscriptions/forminternals');
+
+?>
+<div class="elgg-foot">
+<?php echo elgg_view('input/submit', array('value' => elgg_echo('save'))); ?>
+</div>
diff --git a/mod/notifications/views/default/notifications/subscriptions/form.php b/mod/notifications/views/default/notifications/subscriptions/form.php
index 008e98554..f2f6238f9 100644
--- a/mod/notifications/views/default/notifications/subscriptions/form.php
+++ b/mod/notifications/views/default/notifications/subscriptions/form.php
@@ -8,4 +8,4 @@ echo elgg_view('subscriptions/form/additions',$vars);
// Display a description
-echo elgg_view_form('notificationsettings/save');
+echo elgg_view_form('notificationsettings/save', array('class' => 'elgg-form-alt'));
diff --git a/mod/notifications/views/default/notifications/subscriptions/forminternals.php b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
index b059db487..106eadc54 100644
--- a/mod/notifications/views/default/notifications/subscriptions/forminternals.php
+++ b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
@@ -324,12 +324,4 @@ if (!isset($vars['replacement'])) {
}
?>
-
- <div class="elgg-form-footer-alt">
-<?php
-echo elgg_view('input/submit', array(
- 'value' => elgg_echo('save'),
-));
-?>
- </p>
</div>