]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Interface design: allow to access to users' bookmarks from last user sidebox. (Curren...
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Wed, 13 Feb 2008 17:57:01 +0000 (17:57 +0000)
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Wed, 13 Feb 2008 17:57:01 +0000 (17:57 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@39 b3834d28-1941-0410-a4f8-b48e95affb8f

templates/profile.tpl.php
templates/sidebar.block.users.php

index e9ff91bd6d5133c71e6837dec5034e9796be24ad..d7ace7ec1bd39115b35431fd95e45c0d4dc9869c 100644 (file)
@@ -60,8 +60,10 @@ if ($watchnames) {
 <?php
 }
 ?>
+<dt><?php echo T_('Bookmarks'); ?></dt>
+    <dd><a href="<?php echo createURL('bookmarks', $user) ?>"><?php echo T_('Go to bookmarks')?> >></a></dd>
 </dl>
 
 <?php
 $this->includeTemplate($GLOBALS['bottom_include']);
-?>
\ No newline at end of file
+?>
index 23bf1cc3589231f8947d0615992140570eda19c7..e42012e51e5f3036fff63e77aa8e1ccab0fc915e 100644 (file)
@@ -20,6 +20,7 @@ foreach ($lastUsers as $row) {
     echo  '<a href="'.createURL('profile', $row['username']).'">';
     echo $row['username'];
     echo '</a>';
+    echo ' (<a href="'.createURL('bookmarks', $user).'">'.T_('bookmarks').'</a>)';
     echo '</td></tr>';
 }
 echo '<tr><td><a href="'.createURL('users').'">...</a></td></tr>';