diff --git a/html/user/clone.php b/html/user/clone.php
new file mode 100644
index 0000000000..07d6fe14f8
--- /dev/null
+++ b/html/user/clone.php
@@ -0,0 +1,32 @@
+Create a custom signup page for ".PROJECT."
+ If you like, you can create a custom signup page
+ for ".PROJECT.".
+ The URL for this page is
+
+
+ ".MASTER_URL."create_account_form.php?userid=$user->id ++ Accounts created through this URL will + be initialized similarly to yours. + Specifically: +
".PROJECT." participants may form teams.
- You may belong to at most one team. + You may belong to only one team. You can join or quit a team at any time.
Each team has a founder, who may
diff --git a/html/user/user.inc b/html/user/user.inc
index d5ca0fe5f9..cd726751e0 100644
--- a/html/user/user.inc
+++ b/html/user/user.inc
@@ -3,7 +3,7 @@
// show dynamic user info (private)
//
function show_user_stats_private($user) {
- row1("Your account statistics");
+ row1("Account statistics");
row2(PROJECT." member since", time_str($user->create_time));
row2("Total credit", $user->total_credit);
row2("Recent average credit", $user->expavg_credit);
@@ -25,19 +25,23 @@ function show_user_profile_private($user) {
} else {
$email_text = "Verification pending";
}
- row1("Your account information");
+ row1("Account information");
row2("Email address
Edit",
$email_text
);
row2("Name", $user->name);
- row2("URL", "http://$user->url");
+ if (strlen($user->url)) {
+ row2("URL", "http://$user->url");
+ } else {
+ row2("URL", "");
+ }
row2("Country", $user->country);
row2("Postal code", $user->postal_code);
row2("", "Edit account info");
- row1("Your preferences");
- row2("General", "View/edit");
- row2(PROJECT, "View/edit");
+ row1("Preferences");
+ row2("General", "View");
+ row2(PROJECT, "View");
}
// show summary of dynamic and static info (public)
@@ -69,7 +73,7 @@ function show_user_summary_public($user) {
// it has info that other users aren't supposed to see
function show_user_page_private($user) {
- start_table();
+ start_table("width=100%");
show_user_profile_private($user);
show_user_stats_private($user);
end_table();
@@ -77,7 +81,7 @@ function show_user_page_private($user) {
}
function user_table_start() {
- start_table();
+ start_table("width=100%");
echo "