[dw-free] Add interest and payment history menu items
[commit: http://hg.dwscoalition.org/dw-free/rev/5142cf283270]
http://bugs.dwscoalition.org/show_bug.cgi?id=1212
Add Explore => Interests, Shop => Payment History
Patch by
foxfirefey.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1212
Add Explore => Interests, Shop => Payment History
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- bin/upgrading/en.dat
- cgi-bin/DW/Logic/MenuNav.pm
-------------------------------------------------------------------------------- diff -r 4d1f317cc75c -r 5142cf283270 bin/upgrading/en.dat --- a/bin/upgrading/en.dat Sat May 16 02:14:22 2009 +0000 +++ b/bin/upgrading/en.dat Sat May 16 05:08:30 2009 +0000 @@ -2153,6 +2153,8 @@ menunav.create.uploaduserpics=Upload Ico menunav.explore=Explore +menunav.explore.interests=Interests + menunav.explore.directorysearch=Directory Search menunav.explore.faq=FAQ @@ -2194,6 +2196,8 @@ menunav.shop=Shop menunav.shop=Shop menunav.shop.paidtime=Buy a Paid Account + +menunav.shop.history=Payment History notification_method.email.title=Email diff -r 4d1f317cc75c -r 5142cf283270 cgi-bin/DW/Logic/MenuNav.pm --- a/cgi-bin/DW/Logic/MenuNav.pm Sat May 16 02:14:22 2009 +0000 +++ b/cgi-bin/DW/Logic/MenuNav.pm Sat May 16 05:08:30 2009 +0000 @@ -178,6 +178,10 @@ sub get_menu_navigation { { name => 'explore', items => [ + { url => "$LJ::SITEROOT/interests.bml", + text => "menunav.explore.interests", + display => $always, + }, { url => "$LJ::SITEROOT/directorysearch.bml", text => "menunav.explore.directorysearch", @@ -198,6 +202,11 @@ sub get_menu_navigation { text => "menunav.shop.paidtime", display => LJ::is_enabled( 'payments' ) ? 1 : 0, }, + { + url => "$LJ::SITEROOT/shop/history.bml", + text => "menunav.shop.history", + display => LJ::is_enabled( 'payments' ) && $loggedin ? 1 : 0, + }, ], }, ); --------------------------------------------------------------------------------
no subject