vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[ljcom] r8240: LJSUP-5178: new navigation menu

Committer: vad
LJSUP-5178: new navigation menu
U   trunk/bin/upgrading/en_LJ.dat
U   trunk/cgi-bin/LJ/Nav.pm
Modified: trunk/bin/upgrading/en_LJ.dat
===================================================================
--- trunk/bin/upgrading/en_LJ.dat	2010-03-03 10:17:12 UTC (rev 8239)
+++ trunk/bin/upgrading/en_LJ.dat	2010-03-03 11:36:04 UTC (rev 8240)
@@ -2104,6 +2104,28 @@
 
 horizon.nav.comm.search=Search for Communities
 
+horizon.nav.create=Create an account
+
+horizon.nav.explore=Explore
+
+horizon.nav.explore.feeds=Feeds
+
+horizon.nav.explore.frnk_radio=FRNK Radio
+
+horizon.nav.explore.ratings=Ratings
+
+horizon.nav.explore.qotd=Question of the Day
+
+horizon.nav.explore.search_by_interest=Search by Interest
+
+horizon.nav.explore.search_by_school=Search by School
+
+horizon.nav.extralj=ExtraLJ
+horizon.nav.extralj.classifieds=Classifieds
+horizon.nav.extralj.games=Games
+horizon.nav.extralj.ljchat=LJ Chat
+horizon.nav.extralj.tools=Useful tools
+
 horizon.nav.find|staleness=1
 horizon.nav.find=Explore LJ
 
@@ -2138,6 +2160,10 @@
 
 horizon.nav.friends=Friends
 
+horizon.nav.friends.add_or_remove=Add or Remove
+
+horizon.nav.friends.ban_unban=Ban/Unban
+
 horizon.nav.friends.edit=Edit Friends
 
 horizon.nav.friends.editgroups=Edit Friend Groups
@@ -2146,6 +2172,8 @@
 
 horizon.nav.friends.filters=Friend Filters
 
+horizon.nav.friends.friends_of_friends=Friends of Friends
+
 horizon.nav.friends.find|staleness=1
 horizon.nav.friends.find=Find Your Friends
 
@@ -2173,6 +2201,8 @@
 
 horizon.nav.journal=Journal
 
+horizon.nav.journal.calendar=Calendar
+
 horizon.nav.journal.changetheme|staleness=1
 horizon.nav.journal.changetheme=Select Journal Style
 
@@ -2195,12 +2225,19 @@
 
 horizon.nav.journal.postpoll=Post a Poll
 
+horizon.nav.journal.recent_comments=Recent Comments
+
 horizon.nav.journal.settings|staleness=1
+
 horizon.nav.journal.settings=Viewing Options
 
 horizon.nav.journal.statistics|staleness=1
 horizon.nav.journal.statistics=My Stats
 
+horizon.nav.journal.style=Journal Style
+
+horizon.nav.journal.tags=All Tags
+
 horizon.nav.journal.viewjournal=View Journal
 
 horizon.nav.livejournal=LiveJournal
@@ -2213,6 +2250,22 @@
 
 horizon.nav.livejournal.upgrade=Upgrade Account
 
+horizon.nav.me.edit_profile=Edit Profile
+
+horizon.nav.me.inbox=Inbox
+
+horizon.nav.me.memories=Memories
+
+horizon.nav.me.photos=Photos
+
+horizon.nav.me.settings=Settings
+
+horizon.nav.me.statistics=Statistics
+
+horizon.nav.me.upload_photos=Upload Photos
+
+horizon.nav.me.userpics=Userpics
+
 horizon.nav.mylj=My LJ
 
 horizon.nav.photos=Pictures
@@ -2273,6 +2326,24 @@
 
 horizon.nav.scrapbook.view=View Pictures
 
+horizon.nav.shop=Shop
+
+horizon.nav.shop.gift_cert=Gift certificate
+
+horizon.nav.shop.gift_paid_acct=Gift Paid Account
+
+horizon.nav.shop.merchandise=Merchandise
+
+horizon.nav.shop.paid_account=Paid account
+
+horizon.nav.shop.payments_history=Payments History
+
+horizon.nav.shop.rename_account=Rename account
+
+horizon.nav.shop.vgifts=Virtual Gifts
+
+horizon.nav.statistics=Statistics
+
 horizon.search.aim=AIM
 
 horizon.search.email=Email

Modified: trunk/cgi-bin/LJ/Nav.pm
===================================================================
--- trunk/cgi-bin/LJ/Nav.pm	2010-03-03 10:17:12 UTC (rev 8239)
+++ trunk/cgi-bin/LJ/Nav.pm	2010-03-03 11:36:04 UTC (rev 8240)
@@ -10,8 +10,16 @@
     my ($class, $remote, $scheme, $opts) = (@_);
     $scheme = "default" unless defined $scheme;
 
+    my @nav = LJ::run_hook("navbar", { 
+                remote      => $remote, 
+                authmod     => $class->authmod, 
+                siteroot    => $class->siteroot, 
+                fb_siteroot => $class->fb_siteroot,
+                });
+    return @nav if @nav;
+
     my $method = $scheme . "_navbar";
-    my @nav = $class->$method($remote, $opts);
+    @nav = $class->$method($remote, $opts);
     LJ::run_hooks('modify_navbar', \@nav);
     return @nav;
 }

Tags: dat, ljcom, pm, vadvs
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments