SemanticScuttle/templates/sidebar.block.watchlist.php
2007-12-12 16:29:16 +00:00

19 lines
No EOL
427 B
PHP

<?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
}
?>