aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar.block.watchlist.php
blob: e35fa763ea2606b0e1fe424c269963fffb5a7e9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
$userservice =& ServiceFactory::getServiceInstance('UserService');

$watching = $userservice->getWatchNames($userid);
if ($watching) {
?>

<h2><?php echo T_('Watching'); ?></h2>
<div id="watching">
    <ul>
    <?php foreach($watching as $watchuser): ?>
        <li><a href="<?php echo createURL('bookmarks', $watchuser); ?>"><?php echo $watchuser; ?></a> &rarr;</li>
    <?php endforeach; ?>
    </ul>
</div>

<?php
}
?>