[dw-free] Pass sitename to /directorysearch.bml.use_this_dir
[commit: http://hg.dwscoalition.org/dw-free/rev/e352f4cd3bdb]
http://bugs.dwscoalition.org/show_bug.cgi?id=881
Replace translation string
Patch by
denise.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=881
Replace translation string
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- htdocs/directorysearch.bml
- htdocs/directorysearch.bml.text
-------------------------------------------------------------------------------- diff -r 224ca2685a61 -r e352f4cd3bdb htdocs/directorysearch.bml --- a/htdocs/directorysearch.bml Sat May 16 12:00:45 2009 +0000 +++ b/htdocs/directorysearch.bml Sat May 16 12:34:55 2009 +0000 @@ -38,7 +38,7 @@ _code?> <?p <?_code - my $ret = BML::ml('.use_this_dir', { 'aopts' => "href='/community/search.bml'" }); + my $ret = BML::ml('.use_this_dir2', { 'aopts' => "href='$LJ::SITEROOT/community/search.bml'", sitename => $LJ::SITENAMESHORT }); return $ret; _code?> p?> diff -r 224ca2685a61 -r e352f4cd3bdb htdocs/directorysearch.bml.text --- a/htdocs/directorysearch.bml.text Sat May 16 12:00:45 2009 +0000 +++ b/htdocs/directorysearch.bml.text Sat May 16 12:34:55 2009 +0000 @@ -54,7 +54,7 @@ .updated_in_last=Updated in last -.use_this_dir=Use this directory to search for LiveJournal users. If you fill in more than one blank, the directory will display results that match all your criteria. (i.e user lives in "San Francisco" AND lists "music" as an interest.). Check out our <a [[aopts]]>community search</a> page to find new and interesting communities. +.use_this_dir2=Use this directory to search for [[sitename]] users. If you fill in more than one blank, the directory will display results that match all your criteria. (e.g. user lives in "San Francisco" AND lists "music" as an interest.) Check out our <a [[aopts]]>community search</a> page to find new and interesting communities. .user_likes=User likes: --------------------------------------------------------------------------------