aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-01 20:27:15 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-01 20:27:15 +0000
commit3e79004b04458c0ec11462a422dc67f2fb3c2bdb (patch)
tree854bf7ee1df19e44961f78ae90de645a7cd1bed9 /mod/notifications/views
parent0fc7a5edbc518abd92c4fc8c34b31ca05836132f (diff)
downloadelgg-3e79004b04458c0ec11462a422dc67f2fb3c2bdb.tar.gz
elgg-3e79004b04458c0ec11462a422dc67f2fb3c2bdb.tar.bz2
using the info module for user settings
git-svn-id: http://code.elgg.org/elgg/trunk@7808 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/notifications/views')
-rw-r--r--mod/notifications/views/default/notifications/subscriptions/collections.php10
-rw-r--r--mod/notifications/views/default/notifications/subscriptions/form.php7
-rw-r--r--mod/notifications/views/default/notifications/subscriptions/forminternals.php10
-rw-r--r--mod/notifications/views/default/notifications/subscriptions/groupsform.php5
-rw-r--r--mod/notifications/views/default/notifications/subscriptions/personal.php10
5 files changed, 22 insertions, 20 deletions
diff --git a/mod/notifications/views/default/notifications/subscriptions/collections.php b/mod/notifications/views/default/notifications/subscriptions/collections.php
index 8cca13689..2a8802037 100644
--- a/mod/notifications/views/default/notifications/subscriptions/collections.php
+++ b/mod/notifications/views/default/notifications/subscriptions/collections.php
@@ -13,10 +13,12 @@
}
</script>
-<div class="notification_friends">
-<h3>
- <?php echo elgg_echo('notifications:subscriptions:friends:title'); ?>
-</h3>
+<div class="elgg-module elgg-info-module">
+ <div class="elgg-head">
+ <h3>
+ <?php echo elgg_echo('notifications:subscriptions:friends:title'); ?>
+ </h3>
+ </div>
<p class="margin-none">
<?php echo elgg_echo('notifications:subscriptions:friends:description'); ?>
</p>
diff --git a/mod/notifications/views/default/notifications/subscriptions/form.php b/mod/notifications/views/default/notifications/subscriptions/form.php
index b7a34f98e..654cb01c1 100644
--- a/mod/notifications/views/default/notifications/subscriptions/form.php
+++ b/mod/notifications/views/default/notifications/subscriptions/form.php
@@ -4,13 +4,9 @@
*/
- echo elgg_view('subscriptions/form/additions',$vars);
+echo elgg_view('subscriptions/form/additions',$vars);
// Display a description
-?>
-<div class="user-settings notifications">
-<?php
-
echo elgg_view('input/form',array(
'body' => elgg_view('notifications/subscriptions/personal') .
@@ -21,4 +17,3 @@ echo elgg_view('input/form',array(
));
?>
-</div>
diff --git a/mod/notifications/views/default/notifications/subscriptions/forminternals.php b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
index 0576bc7b9..d24cd2cd1 100644
--- a/mod/notifications/views/default/notifications/subscriptions/forminternals.php
+++ b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
@@ -1,8 +1,10 @@
-<div class="notifications_per_user">
- <h3>
- <?php echo elgg_echo('notifications:subscriptions:title'); ?>
- </h3>
+<div class="elgg-module elgg-info-module">
+ <div class="elgg-head">
+ <h3>
+ <?php echo elgg_echo('notifications:subscriptions:title'); ?>
+ </h3>
+ </div>
<p>
<?php echo elgg_echo('notifications:subscriptions:description'); ?>
</p>
diff --git a/mod/notifications/views/default/notifications/subscriptions/groupsform.php b/mod/notifications/views/default/notifications/subscriptions/groupsform.php
index b5328e5ab..17db168c3 100644
--- a/mod/notifications/views/default/notifications/subscriptions/groupsform.php
+++ b/mod/notifications/views/default/notifications/subscriptions/groupsform.php
@@ -19,8 +19,8 @@ foreach($NOTIFICATION_HANDLERS as $method => $foo) {
?>
-<div class="user-settings margin-top">
-
+<div class="elgg-module elgg-info-module">
+ <div class="elgg-body">
<?php
echo elgg_view('notifications/subscriptions/jsfuncs',$vars);
?>
@@ -98,4 +98,5 @@ END;
}
?>
<input type="submit" value="<?php echo elgg_echo('save'); ?>" />
+ </div>
</div>
diff --git a/mod/notifications/views/default/notifications/subscriptions/personal.php b/mod/notifications/views/default/notifications/subscriptions/personal.php
index 46c932f0b..c1b379236 100644
--- a/mod/notifications/views/default/notifications/subscriptions/personal.php
+++ b/mod/notifications/views/default/notifications/subscriptions/personal.php
@@ -4,10 +4,12 @@ global $NOTIFICATION_HANDLERS;
?>
<div class="notification_personal">
-<div class="notification_methods">
- <h3>
- <?php echo elgg_echo('notifications:subscriptions:personal:title'); ?>
- </h3>
+<div class="elgg-module elgg-info-module">
+ <div class="elgg-head">
+ <h3>
+ <?php echo elgg_echo('notifications:subscriptions:personal:title'); ?>
+ </h3>
+ </div>
</div>
<table id="notificationstable" cellspacing="0" cellpadding="4" border="0" width="100%">
<tr>