aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/notifications/views')
-rw-r--r--mod/notifications/views/default/forms/notificationsettings/groupsave.php12
-rw-r--r--mod/notifications/views/default/notifications/subscriptions/forminternals.php2
2 files changed, 11 insertions, 3 deletions
diff --git a/mod/notifications/views/default/forms/notificationsettings/groupsave.php b/mod/notifications/views/default/forms/notificationsettings/groupsave.php
index a38fe48d0..2bf0d9628 100644
--- a/mod/notifications/views/default/forms/notificationsettings/groupsave.php
+++ b/mod/notifications/views/default/forms/notificationsettings/groupsave.php
@@ -7,7 +7,12 @@
global $NOTIFICATION_HANDLERS;
foreach ($NOTIFICATION_HANDLERS as $method => $foo) {
- $subsbig[$method] = elgg_get_entities_from_relationship(array('relationship' => 'notify' . $method, 'relationship_guid' => elgg_get_logged_in_user_guid(), 'types' => 'group', 'limit' => 99999));
+ $subsbig[$method] = elgg_get_entities_from_relationship(array(
+ 'relationship' => 'notify' . $method,
+ 'relationship_guid' => elgg_get_logged_in_user_guid(),
+ 'types' => 'group',
+ 'limit' => 99999,
+ ));
$tmparray = array();
if ($subsbig[$method]) {
foreach($subsbig[$method] as $tmpent) {
@@ -91,7 +96,10 @@ END;
</table>
<?php
}
+ echo '<div class="mtm">';
+ echo elgg_view('input/submit', array('value' => elgg_echo('save')));
+ echo '</div>';
+
?>
- <input type="submit" value="<?php echo elgg_echo('save'); ?>" />
</div>
</div>
diff --git a/mod/notifications/views/default/notifications/subscriptions/forminternals.php b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
index b6b322a1b..d286d37a3 100644
--- a/mod/notifications/views/default/notifications/subscriptions/forminternals.php
+++ b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
@@ -325,7 +325,7 @@ if (!isset($vars['replacement'])) {
?>
- <p class="elgg-divide-top">
+ <div class="elgg-divide-top mtm ptm">
<?php
echo elgg_view('input/submit', array(
'value' => elgg_echo('save'),