Ticket #980: edit_user_info_form.php.diff
File edit_user_info_form.php.diff, 1.4 KB (added by , 14 years ago) |
---|
-
user/edit_user_info_form.php
24 24 $user = get_logged_in_user(); 25 25 check_tokens($user->authenticator); 26 26 27 page_head( "Edit account information");27 page_head(tra("Edit account information")); 28 28 29 29 echo "<form method=post action=edit_user_info_action.php>"; 30 30 echo form_tokens($user->authenticator); 31 31 start_table(); 32 row2( "Name<br><font size=-2>real name or nickname</font>",32 row2(tra("Name %1 real name or nickname%2", "<br><font size=-2>", "</font>"), 33 33 "<input name=user_name size=30 value='$user->name'>" 34 34 ); 35 row2( "URL<br><font size=-2>of your web page; optional</font>",35 row2(tra("URL %1 of your web page; optional%2", "<br><font size=-2>", "</font>"), 36 36 "http://<input name=url size=50 value='$user->url'>" 37 37 ); 38 row2_init( "Country",38 row2_init(tra("Country"), 39 39 "<select name=country>" 40 40 ); 41 41 print_country_select($user->country); 42 42 echo "</select></td></tr>\n"; 43 row2( "Postal (ZIP) code<br><font size=-2>Optional</font>",43 row2(tra("Postal (ZIP) code %1 Optional%2", "<br><font size=-2>", "</font>"), 44 44 "<input name=postal_code size=20 value='$user->postal_code'>" 45 45 ); 46 46 47 row2("", "<input type=submit value=' Update info'>");47 row2("", "<input type=submit value='".tra("Update info")."'>"); 48 48 end_table(); 49 49 echo "</form>\n"; 50 50 page_tail();