changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[livejournal] r14775: LJSUP-3069: Find you Friends page - upda...

Committer: ssafronova
LJSUP-3069: Find you Friends page - update path #2 (LJSUP-3618, LJSUP-3586)

U   trunk/bin/upgrading/en.dat
U   trunk/htdocs/tools/endpoints/multisearch.bml
Modified: trunk/bin/upgrading/en.dat
===================================================================
--- trunk/bin/upgrading/en.dat	2009-01-19 05:27:05 UTC (rev 14774)
+++ trunk/bin/upgrading/en.dat	2009-01-19 07:42:25 UTC (rev 14775)
@@ -3511,13 +3511,17 @@
 
 widget.search.email=Email
 
-widget.search.empty.query=Please enter a query
+widget.search.empty.email=Please, enter an email address to search for an exiting user
 
+widget.search.empty.username=Please, enter a username to search for an exiting user
+
+widget.search.empty.IM_handle=Please, enter an IM handler to search for an exiting user
+
 widget.search.google_talk=Google Talk
 
 widget.search.icq=ICQ Number
 
-widget.search.init_text=Gathering information...
+widget.search.init_text=Processing request...
 
 widget.search.interest=Interest
 

Modified: trunk/htdocs/tools/endpoints/multisearch.bml
===================================================================
--- trunk/htdocs/tools/endpoints/multisearch.bml	2009-01-19 05:27:05 UTC (rev 14774)
+++ trunk/htdocs/tools/endpoints/multisearch.bml	2009-01-19 07:42:25 UTC (rev 14775)
@@ -78,6 +78,7 @@
         foreach $uid (@$uids_ref) {
             $uid = $uid->[0]; # dereference
             if (my $u = LJ::load_userid($uid)) {
+                next unless $u->is_validated;
                 next unless $u->opt_findbyemail =~ /Y/; # The user has allowed to search for it by email
                 if ($output eq "foaf") {
                     $ret{result} .= '<a href="' . LJ::journal_base($u) . '/data/foaf">' . $u->{user}. '</a>';

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