summaryrefslogtreecommitdiff
path: root/templates/sidebar.block.watchlist.php
blob: eaf68dc6e7b29a15364e2e310cc805f71c070815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/* Service creation: only useful services are created */
//No specific services

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

<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; ?>
        <li>
          <form action="<?php echo createURL('watch', '');?>" method="post">
            <input type="text" name="contact" value="<?php echo T_('Add a contact...');?>" onfocus="if (this.value == '<?php echo T_('Add a contact...');?>') this.value = '';" onblur="if (this.value == '') this.value = '<?php echo T_('Add a contact...');?>';" title="<?php echo T_('Type a username to add it to your contacts.') ?>" />
          </form>
        </li>
    </ul>

</div>