Ticket #982: misc.diff
File misc.diff, 2.4 KB (added by , 14 years ago) |
---|
-
inc/util.inc
188 188 if ($generating_xml) { 189 189 xml_error(-1, $msg); 190 190 } 191 page_head( "Unable to handle request");191 page_head(tra("Unable to handle request")); 192 192 echo $msg; 193 193 page_tail(); 194 194 exit(); -
inc/uotd.inc
24 24 25 25 function uotd_thumbnail($profile, $user) { 26 26 if ($profile->has_picture) { 27 return "<a href=\"".URL_BASE."view_profile.php?userid=$user->id\"><img border=0 vspace=4 hspace=8 align=left src=\"". URL_BASE.IMAGE_URL.$user->id."_sm.jpg\" alt=\"User profile\"></a>";27 return "<a href=\"".URL_BASE."view_profile.php?userid=$user->id\"><img border=0 vspace=4 hspace=8 align=left src=\"".profile_thumb_url($user->id)."\" alt=\"".tra("User profile")."\"></a>"; 28 28 } else { 29 29 return ""; 30 30 } -
user/weak_auth.php
22 22 $url = parse_config(get_config(), "<master_url>"); 23 23 24 24 $user = get_logged_in_user(); 25 page_head( "Weak account key");25 page_head(tra("Weak account key")); 26 26 27 27 $weak_auth = weak_auth($user); 28 28 -
user/uotd.php
24 24 25 25 $profile = get_current_uotd(); 26 26 if (!$profile) { 27 echo "No user of the day has been chosen.";27 echo tra("No user of the day has been chosen."); 28 28 } else { 29 29 $d = date("d F Y", time()); 30 30 $user = lookup_user_id($profile->userid); 31 page_head( "User of the Day for $d: $user->name");31 page_head(tra("User of the Day for %1: %2", $d, $user->name)); 32 32 start_table(); 33 33 show_profile($user, get_logged_in_user(false)); 34 34 end_table(); -
user/translate.php
38 38 39 39 <p> 40 40 You can also help 41 <a href=http://boinc.berkeley.edu/ language.php>translate the BOINC client software</a>.41 <a href=http://boinc.berkeley.edu/translation.php>translate the BOINC client software</a>. 42 42 <p> 43 43 44 44 There is an email list