aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-02-13 17:57:01 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-02-13 17:57:01 +0000
commitfe6cb7ee4d6ae7721b9ad1fe0fb3a266abd810b4 (patch)
treed45bc70b35d40ca5dd964122a53d3bf7e9189f3f /templates
parenta1044ca5ea2595885be149f30adb91e02642c5a3 (diff)
downloadsemanticscuttle-fe6cb7ee4d6ae7721b9ad1fe0fb3a266abd810b4.tar.gz
semanticscuttle-fe6cb7ee4d6ae7721b9ad1fe0fb3a266abd810b4.tar.bz2
Interface design: allow to access to users' bookmarks from last user sidebox. (Currently, we can just access to their profiles).
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@39 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates')
-rw-r--r--templates/profile.tpl.php4
-rw-r--r--templates/sidebar.block.users.php1
2 files changed, 4 insertions, 1 deletions
diff --git a/templates/profile.tpl.php b/templates/profile.tpl.php
index e9ff91b..d7ace7e 100644
--- a/templates/profile.tpl.php
+++ b/templates/profile.tpl.php
@@ -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
+?>
diff --git a/templates/sidebar.block.users.php b/templates/sidebar.block.users.php
index 23bf1cc..e42012e 100644
--- a/templates/sidebar.block.users.php
+++ b/templates/sidebar.block.users.php
@@ -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>';