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

Benjamin Mako Hill || Want to submit a patch?