Skip to content
Browse files

Added 'Recent | Popluar' menu to ~user/bookmarks.

Pointed additional /my/bookmarks links to users2.pl
  • Loading branch information...
1 parent 9b1ec3a commit 5b049e5a3d516e18d54c102753de308461fb89b7 Christopher Brown committed Dec 18, 2008
Showing with 6 additions and 0 deletions.
  1. +6 −0 themes/slashcode/templates/u2MainView;users;default
View
6 themes/slashcode/templates/u2MainView;users;default
@@ -194,6 +194,12 @@ __template__
fhbox;
ELSIF data_pane == 'bookmarks';
+ '<div id="friendsmenu">';
+ '<ul>';
+ '<li><a href="'; constants.real_rootdir; '/bookmark.pl/?op=showbookmarks&recent=1">Recent</a></li>';
+ '<li><a href="'; constants.real_rootdir; '/bookmark.pl/?op=showbookmarks&popular=1">Popular</a></li>';
+ '</ul>';
+ '</div>';
fh = Slash.getObject("Slash::FireHose");
fhbox = fh.listView({ fh_page => 'users.pl', view => 'userbookmark', user_view => useredit, not_id => not_fhid });
fhbox;

0 comments on commit 5b049e5

Please sign in to comment.
Something went wrong with that request. Please try again.