]> projects.mako.cc - scuttle/blob - templates/sidebar.block.watchlist.php
Merge branch 'php8'
[scuttle] / templates / sidebar.block.watchlist.php
1 <?php
2 $sf = new ServiceFactory();
3 $userservice =& $sf->getServiceInstance('UserService');
4
5 $watching = $userservice->getWatchNames($userid);
6 if ($watching) {
7 ?>
8
9 <h2><?php echo T_('Watching'); ?></h2>
10 <div id="watching">
11     <ul>
12     <?php foreach($watching as $watchuser): ?>
13         <li><a href="<?php echo createURL('bookmarks', $watchuser); ?>"><?php echo $watchuser; ?></a> &rarr;</li>
14     <?php endforeach; ?>
15     </ul>
16 </div>
17
18 <?php
19 }
20 ?>

Benjamin Mako Hill || Want to submit a patch?