~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to html/user/create_account_form.php

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
require_once('../inc/countries.inc');
22
22
require_once('../inc/translation.inc');
23
23
 
 
24
$next_url = sanitize_local_url(get_str('next_url', true));
 
25
 
 
26
if (defined('SECURE_URL_BASE')
 
27
    && strstr(SECURE_URL_BASE, "https://")
 
28
    && !$_SERVER['HTTPS']
 
29
) {
 
30
    Header("Location: ".SECURE_URL_BASE."/create_account_form.php?next_url=$next_url");
 
31
    exit;
 
32
 
 
33
}
 
34
 
24
35
page_head(tra("Create an account"));
25
36
 
26
37
$config = get_config();
33
44
    exit();
34
45
}
35
46
 
36
 
$next_url = get_str('next_url', true);
37
 
 
38
47
$wac = parse_bool($config, "web_account_creation");
39
48
if (!$wac) {
40
49
    echo "<p>
41
 
        <b>".tra("NOTE: If you use BOINC version 5.2+ with the BOINC Manager, don't use this form. Just run BOINC, select Attach Project, and enter an email address and password.")."</b></p>
 
50
        <b>".tra("NOTE: If you use the BOINC Manager, don't use this form. Just run BOINC, select Add Project, and enter an email address and password.")."</b></p>
42
51
    ";
43
52
}
44
53
 
108
117
    </form>
109
118
";
110
119
 
111
 
$cvs_version_tracker[]="\$Id: create_account_form.php 15758 2008-08-05 22:43:14Z davea $";  //Generated automatically - do not edit
 
120
$cvs_version_tracker[]="\$Id: create_account_form.php 22471 2010-10-07 17:41:29Z romw $";  //Generated automatically - do not edit
112
121
page_tail();
113
122
?>