aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-06 17:05:40 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-06 17:05:40 +0000
commite5fce23a30234b8c643bd0698551c966c830cb90 (patch)
treee2813f896bbc20cf96380c2c13e1c862fef0e806 /mod
parent01b9f9a6adc9e457c54de0273330fd0edf477f1f (diff)
downloadelgg-e5fce23a30234b8c643bd0698551c966c830cb90.tar.gz
elgg-e5fce23a30234b8c643bd0698551c966c830cb90.tar.bz2
Language and UI changes for the notifications plugin.
git-svn-id: https://code.elgg.org/elgg/trunk@2673 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/notifications/languages/en.php1
-rw-r--r--mod/notifications/views/default/notifications/subscriptions/collections.php4
2 files changed, 4 insertions, 1 deletions
diff --git a/mod/notifications/languages/en.php b/mod/notifications/languages/en.php
index 1f43c31de..5121d46f7 100644
--- a/mod/notifications/languages/en.php
+++ b/mod/notifications/languages/en.php
@@ -7,6 +7,7 @@
'notifications:subscriptions:collections:title' => 'Friends collections',
'notifications:subscriptions:collections:description' => 'To toggle settings for members of your friends collections, click the icons below.',
+ 'notifications:subscriptions:collections:edit' => 'To edit your friends collections, click here.',
'notifications:subscriptions:changesettings' => 'Notifications',
'notification:method:email' => 'Email',
diff --git a/mod/notifications/views/default/notifications/subscriptions/collections.php b/mod/notifications/views/default/notifications/subscriptions/collections.php
index 1446b4e31..8582069a8 100644
--- a/mod/notifications/views/default/notifications/subscriptions/collections.php
+++ b/mod/notifications/views/default/notifications/subscriptions/collections.php
@@ -25,6 +25,7 @@
<div class="notification_personal">
<p>
<?php echo elgg_echo('notifications:subscriptions:collections:description'); ?>
+ <a href="<?php echo $vars['url']; ?>pg/collections/<?php echo $vars['user']->username; ?>"><?php echo elgg_echo('notifications:subscriptions:collections:edit') ?></a>
</p>
<table id="notificationstable" cellspacing="0" cellpadding="4" border="1" width="100%">
<tr>
@@ -46,13 +47,14 @@
foreach($collections as $collection) {
$members = get_members_of_access_collection($collection->id, true);
+ $memberno = sizeof($members);
$members = implode(',',$members);
?>
<tr>
<td class="namefield">
<p>
- <?php echo $collection->name; ?>
+ <?php echo $collection->name; ?> (<?php echo $memberno; ?>)
</p>
</td>