Changeset 13732

Show
Ignore:
Timestamp:
10/01/07 20:31:43 (1 year ago)
Author:
boincadm
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/boinc/html/user/team_search.php

    r13731 r13732  
    88db_init(); 
    99 
    10 function print_form() { 
    11     $user = get_logged_in_user(false); 
     10function print_form($user) { 
    1211    echo " 
    1312        <form action=team_search.php> 
     
    1514    start_table(); 
    1615    row2("Key words<br><span class=note>Find teams with these words in their names or descriptions</span>", "<input name=keywords>"); 
    17     row2_init("Country"); 
     16    row2_init("Country", ""); 
    1817    echo "<select name=country><option value=\"\" selected>---</option>"; 
    1918    $country = $user->country; 
     
    143142    search(); 
    144143} else { 
     144    $user = get_logged_in_user(false); 
    145145    page_head("Find a team"); 
    146146    echo " 
     
    151151        <p> 
    152152    "; 
    153     print_form(); 
     153    print_form($user); 
    154154    if (isset($_COOKIE['init'])) { 
    155155        echo " 

If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.