Add the "Sponsor a User" link under the Shop menu.
Patch by yvi.
diffs (27 lines):
diff -r 057055a4b0b0 -r 6aef6df13192 bin/upgrading/en.dat
--- a/bin/upgrading/en.dat Tue Aug 11 17:49:34 2009 +0000
+++ b/bin/upgrading/en.dat Tue Aug 11 19:13:05 2009 +0000
@@ -2255,6 +2255,8 @@ menunav.shop.paidtime=Buy a Paid Account
menunav.shop.history=Payment History
+menunav.shop.sponsor=Sponsor a User
+
notification_method.email.title=Email
notification_method.im.title=IM
diff -r 057055a4b0b0 -r 6aef6df13192 cgi-bin/DW/Logic/MenuNav.pm
--- a/cgi-bin/DW/Logic/MenuNav.pm Tue Aug 11 17:49:34 2009 +0000
+++ b/cgi-bin/DW/Logic/MenuNav.pm Tue Aug 11 19:13:05 2009 +0000
@@ -239,6 +239,11 @@ sub get_menu_navigation {
text => "menunav.shop.gifts",
display => LJ::is_enabled( 'payments' ) && $loggedin ? 1 :
0,
},
+ {
+ url => "$LJ::SITEROOT/shop/randomgift",
+ text => "menunav.shop.sponsor",
+ display => LJ::is_enabled( 'payments' ) ? 1 : 0,
+ },
],
},
);
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog