aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar.block.watchlist.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-10 11:40:07 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-10 11:40:07 +0000
commit834b3aedb86bf5a7f76e01646201c495a9da8faf (patch)
tree6f5d653373335e2ef3a066b3d0c1530cbde58e72 /templates/sidebar.block.watchlist.php
parentf39821d848d9b788d5591fdd33dfddcc2fb9a652 (diff)
downloadsemanticscuttle-834b3aedb86bf5a7f76e01646201c495a9da8faf.tar.gz
semanticscuttle-834b3aedb86bf5a7f76e01646201c495a9da8faf.tar.bz2
Minor fix: translations, improve watchlist, improve search behaviour...
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@266 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/sidebar.block.watchlist.php')
-rw-r--r--templates/sidebar.block.watchlist.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/sidebar.block.watchlist.php b/templates/sidebar.block.watchlist.php
index a42acba..eaf68dc 100644
--- a/templates/sidebar.block.watchlist.php
+++ b/templates/sidebar.block.watchlist.php
@@ -3,7 +3,6 @@
//No specific services
$watching = $userservice->getWatchNames($userid);
-if ($watching) {
?>
<h2><?php echo T_('Watching'); ?></h2>
@@ -12,9 +11,11 @@ if ($watching) {
<?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>
-<?php
-}
-?> \ No newline at end of file
+</div>