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: + + For example, you can create a team for your school or company, + and set up your preferences to show an appropriate logo + in the screensaver graphics. + Then get your friends and coworkers to register for + ".PROJECT." through the URL shown above, + and they will automatically belong to your team + and will see the same screensaver graphics. + "; +?> diff --git a/html/user/project_ap.inc b/html/user/project_ap.inc index 1867c1f8a0..71f9933648 100755 --- a/html/user/project_ap.inc +++ b/html/user/project_ap.inc @@ -24,7 +24,7 @@ function project_banner($user) { } else { echo "
"; } - echo "
\n"; + echo "
\n"; } ?> diff --git a/html/user/team.php b/html/user/team.php index 8588d49a9e..886a7c7211 100644 --- a/html/user/team.php +++ b/html/user/team.php @@ -11,14 +11,14 @@ db_init(); echo "

".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 " Name diff --git a/html/user/util.inc b/html/user/util.inc index cc048c1cfb..972168ce15 100644 --- a/html/user/util.inc +++ b/html/user/util.inc @@ -94,8 +94,8 @@ function time_str($x) { return strftime("%T %b %e, %Y", $x); } -function start_table() { - echo ""; +function start_table($width="") { + echo "
"; } function end_table() {