Ticket #980: edit_user_info_form.php.diff

File edit_user_info_form.php.diff, 1.4 KB (added by Christian Beer, 14 years ago)
  • user/edit_user_info_form.php

     
    2424$user = get_logged_in_user();
    2525check_tokens($user->authenticator);
    2626
    27 page_head("Edit account information");
     27page_head(tra("Edit account information"));
    2828
    2929echo "<form method=post action=edit_user_info_action.php>";
    3030echo form_tokens($user->authenticator);
    3131start_table();
    32 row2("Name<br><font size=-2>real name or nickname</font>",
     32row2(tra("Name %1 real name or nickname%2", "<br><font size=-2>", "</font>"),
    3333    "<input name=user_name size=30 value='$user->name'>"
    3434);
    35 row2("URL<br><font size=-2>of your web page; optional</font>",
     35row2(tra("URL %1 of your web page; optional%2", "<br><font size=-2>", "</font>"),
    3636    "http://<input name=url size=50 value='$user->url'>"
    3737);
    38 row2_init("Country",
     38row2_init(tra("Country"),
    3939    "<select name=country>"
    4040);
    4141print_country_select($user->country);
    4242echo "</select></td></tr>\n";
    43 row2("Postal (ZIP) code<br><font size=-2>Optional</font>",
     43row2(tra("Postal (ZIP) code %1 Optional%2", "<br><font size=-2>", "</font>"),
    4444    "<input name=postal_code size=20 value='$user->postal_code'>"
    4545);
    4646
    47 row2("", "<input type=submit value='Update info'>");
     47row2("", "<input type=submit value='".tra("Update info")."'>");
    4848end_table();
    4949echo "</form>\n";
    5050page_tail();