[dw-free] Add random searches to Explore menu
[commit: http://hg.dwscoalition.org/dw-free/rev/d69d9d7483b6]
http://bugs.dwscoalition.org/show_bug.cgi?id=1330
Add links to random journal and random community under the Explore menu.
Patch by
foxfirefey.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1330
Add links to random journal and random community under the Explore menu.
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 cad4b540c964 -r d69d9d7483b6 bin/upgrading/en.dat --- a/bin/upgrading/en.dat Sat Jun 20 09:51:30 2009 +0000 +++ b/bin/upgrading/en.dat Sat Jun 20 14:17:51 2009 +0000 @@ -2161,6 +2161,10 @@ menunav.explore.interests=Interests menunav.explore.directorysearch=Directory Search +menunav.explore.randomjournal=Random Journal + +menunav.explore.randomcommunity=Random Community + menunav.explore.faq=FAQ menunav.organize=Organize diff -r cad4b540c964 -r d69d9d7483b6 cgi-bin/DW/Logic/MenuNav.pm --- a/cgi-bin/DW/Logic/MenuNav.pm Sat Jun 20 09:51:30 2009 +0000 +++ b/cgi-bin/DW/Logic/MenuNav.pm Sat Jun 20 14:17:51 2009 +0000 @@ -183,13 +183,23 @@ sub get_menu_navigation { { name => 'explore', items => [ - { url => "$LJ::SITEROOT/interests.bml", - text => "menunav.explore.interests", - display => $always, - }, + { url => "$LJ::SITEROOT/interests.bml", + text => "menunav.explore.interests", + display => $always, + }, { url => "$LJ::SITEROOT/directorysearch.bml", text => "menunav.explore.directorysearch", + display => $always, + }, + { + url => "$LJ::SITEROOT/random.bml", + text => "menunav.explore.randomjournal", + display => $always, + }, + { + url => "$LJ::SITEROOT/community/random.bml", + text => "menunav.explore.randomcommunity", display => $always, }, { --------------------------------------------------------------------------------
no subject