Skip to content

Commit

Permalink
Added 'Recent | Popluar' menu to ~user/bookmarks.
Browse files Browse the repository at this point in the history
Pointed additional /my/bookmarks links to users2.pl
  • Loading branch information
Christopher Brown committed Dec 18, 2008
1 parent 9b1ec3a commit 5b049e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions themes/slashcode/templates/u2MainView;users;default
Expand Up @@ -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;
Expand Down

0 comments on commit 5b049e5

Please sign in to comment.