aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-10 13:48:07 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-10 13:48:07 +0000
commit8606529e180806c3e193a0f701740874d3590da2 (patch)
tree9d2dedcc75ee88698ed2f6dc5260cfa77e53b7bb /mod/bookmarks
parentc766f56da4c6947096da31a882b596510fcc49db (diff)
downloadelgg-8606529e180806c3e193a0f701740874d3590da2.tar.gz
elgg-8606529e180806c3e193a0f701740874d3590da2.tar.bz2
group bookmarks now provides a link to create if none exist
git-svn-id: http://code.elgg.org/elgg/trunk@6436 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks')
-rwxr-xr-xmod/bookmarks/views/default/bookmarks/group_bookmarks.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/bookmarks/views/default/bookmarks/group_bookmarks.php b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php
index 2bca12718..136c691a2 100755
--- a/mod/bookmarks/views/default/bookmarks/group_bookmarks.php
+++ b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php
@@ -27,6 +27,7 @@ if($bookmarks){
echo "<div class='entity_listing clearfloat'>" . $info . "</div>";
}
} else {
- echo "<p class='margin_top'>" . elgg_echo("bookmarks:none") . "</p>";
+ $create_bookmark = $vars['url'] . "pg/bookmarks/" . page_owner_entity()->username . "/add";
+ echo "<p class='margin_top'><a href=\"{$create_bookmark}\">" . elgg_echo("bookmarks:new") . "</a></p>";
}
echo "</div>"; \ No newline at end of file