summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-03-05 09:44:20 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-03-05 09:44:20 +0000
commite036187a42ff78e093ded5287b9c23efd222e686 (patch)
tree4e04ed7958c7046719be7124e2cfd6a7dbfa8092 /templates
parente1455c23c1d39542bf51810417eb91fee521c6c1 (diff)
downloadsemanticscuttle-e036187a42ff78e093ded5287b9c23efd222e686.tar.gz
semanticscuttle-e036187a42ff78e093ded5287b9c23efd222e686.tar.bz2
Bug fix: close contacts are now really close contacts
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@307 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates')
-rw-r--r--templates/sidebar.block.watchlist.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/sidebar.block.watchlist.php b/templates/sidebar.block.watchlist.php
index 686550b..b759d70 100644
--- a/templates/sidebar.block.watchlist.php
+++ b/templates/sidebar.block.watchlist.php
@@ -5,7 +5,8 @@
$watching = $userservice->getWatchNames($userid);
$watchedBy = $userservice->getWatchNames($userid, true);
-$closeContacts = array(); // people in my contacts list and whose I am also in the contacts list
+
+$closeContacts = array(); // people in my contacts list and who I am also in the contacts list
foreach($watching as $watchuser) {
if(in_array($watchuser, $watchedBy)) {
$closeContacts[] = $watchuser;
@@ -18,7 +19,7 @@ foreach($watching as $watchuser) {
<h2 title="<?php echo T_('Close contacts are mutual contacts');?>"><?php echo ' &harr '. T_('Close contacts'); ?></h2>
<div id="watching">
<ul>
- <?php foreach($watching as $watchuser): ?>
+ <?php foreach($closeContacts as $watchuser): ?>
<li><a href="<?php echo createURL('bookmarks', $watchuser); ?>"><?php echo $watchuser; ?></a> </li>
<?php endforeach; ?>
</ul>
@@ -48,7 +49,7 @@ foreach($watching as $watchuser) {
</ul>
</div>
-<h2><?php echo ' &larr '. T_('Watched by'); ?></h2>
+<h2><?php echo ' &larr '. T_('Watched By'); ?></h2>
<div id="watching">
<ul>
<?php foreach($watchedBy as $watchuser): ?>