auth.internal.php 6.61 KB
Newer Older
1
2
<?php
/**
Francois Marier's avatar
Francois Marier committed
3
 * Mahara: Electronic portfolio, weblog, resume builder and social networking
4
5
 * Copyright (C) 2006-2009 Catalyst IT Ltd and others; see:
 *                         http://wiki.mahara.org/Contributors
6
 *
Francois Marier's avatar
Francois Marier committed
7
8
9
10
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
11
 *
Francois Marier's avatar
Francois Marier committed
12
13
14
15
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
16
 *
Francois Marier's avatar
Francois Marier committed
17
18
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
20
 *
 * @package    mahara
21
 * @subpackage auth-internal
22
 * @author     Catalyst IT Ltd
23
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL
24
 * @copyright  (C) 2006-2009 Catalyst IT Ltd http://catalyst.net.nz
25
26
27
28
29
30
 *
 */

defined('INTERNAL') || die();

$string['internal'] = 'Internal';
31
32
$string['title'] = 'Internal';
$string['description'] = 'Authenticate against Mahara\'s database';
33

Penny Leach's avatar
Penny Leach committed
34
$string['completeregistration'] = 'Complete Registration';
35
$string['emailalreadytaken'] = 'This e-mail address has already registered here';
Penny Leach's avatar
Penny Leach committed
36
$string['iagreetothetermsandconditions'] = 'I agree to the Terms and Conditions';
37
$string['passwordformdescription'] = 'Your password must be at least six characters long and contain at least one digit and two letters';
38
$string['passwordinvalidform'] = 'Your password must be at least six characters long and contain at least one digit and two letters';
39
$string['registeredemailsubject'] = 'You have registered at %s';
40
$string['registeredemailmessagetext'] = 'Hi %s,
41

42
Thank you for registering an account on %s. Please follow this link to
43
44
complete the signup process:

45
%sregister.php?key=%s
46

47
48
The link will expire in 24 hours.

49
50
51
52
53
--
Regards,
The %s Team';
$string['registeredemailmessagehtml'] = '<p>Hi %s,</p>
<p>Thank you for registering an account on %s. Please follow this link
54
to complete the signup process:</p>
55
<p><a href="%sregister.php?key=%s">%sregister.php?key=%s</a></p>
56
57
<p>The link will expire in 24 hours.</p>

58
59
60
<pre>--
Regards,
The %s Team</pre>';
61
62
63
64
$string['registeredok'] = '<p>You have successfully registered. Please check your e-mail account for instructions on how to activate your account</p>';
$string['registrationnosuchkey'] = 'Sorry, there does not seem to be a registration with this key. Perhaps you waited longer than 24 hours to complete your registration? Otherwise, it might be our fault.';
$string['registrationunsuccessful'] = 'Sorry, your registration attempt was unsuccessful. This is our fault, not yours. Please try again later.';
$string['usernamealreadytaken'] = 'Sorry, this username is already taken';
65
$string['usernameinvalidform'] = 'Usernames may contain letters, numbers and most common symbols, and must be from 3 to 30 characters in length.  Spaces are not allowed.';
66
$string['usernameinvalidadminform'] = 'Usernames may contain letters, numbers and most common symbols, and must be from 3 to 236 characters in length.  Spaces are not allowed.';
67
$string['youmaynotregisterwithouttandc'] = 'You may not register unless you agree to abide by the <a href="terms.php">Terms and Conditions</a>';
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151

// pending institution registrations
$string['confirmcancelregistration'] = 'Are you sure you want to cancel this registration? Doing so will result in your request being removed from the system.';
$string['confirmemailsubject'] = 'Confirm email for registration at %s';
$string['confirmemailmessagetext'] = 'Hi %s,

Thank you for registering an account on %s. Please select the following link to confirm your email address.
The institution adminstrator will be notified and your application will be considered for approval and you
will be notified of the outcome.

%sregister.php?key=%s

The link will expire in 24 hours.

--
Regards,
The %s Team';
$string['confirmemailmessagehtml'] = '<p>Hi %s,</p>
<p>Thank you for registering an account on %s. Please select the following link to confirm your email address.
The institution adminstrator will be notified and your application will be considered for approval and you
will be notified of the outcome.</p>
<p><a href="%sregister.php?key=%s">%sregister.php?key=%s</a></p>
<p>The link will expire in 24 hours.</p>

<pre>--
Regards,
The %s Team</pre>';
$string['emailconfirmedok'] = '<p>You have successfully confirmed your email. You will be notified with further registration details soon.</p>';
$string['registrationcancelledok'] = 'You have successfully cancelled your registration application.';
$string['registrationconfirm'] = 'Confirm registration?';
$string['registrationconfirmdescription'] = 'Registration must be approved by institutional adminstrators.';
$string['registrationdeniedemailsubject'] = 'Registration attempt at %s denied.';
$string['registrationdeniedmessage'] = 'Hi %s,

Your registration attempt at %s has been denied.

--
Regards,
%s
The %s Team';
$string['registrationdeniedmessagereason'] = 'Hi %s,

Your registration attempt at %s has been denied.

Reason:

"%s"

--
Regards,
%s
The %s Team';
$string['registeredokawaitingemail'] = 'You have successfully submitted your application for registration.  An email should have been sent to you in order to confirm your email and continue the process.';
$string['registrationreason'] = 'Registration Reason';
$string['registrationreasondesc'] = 'The reason for requesting registration with your chosen institution and any other details you think might be useful for the administrator in processing your application.  The registration cannot be completed without this information.';

$string['pendingregistrationadminemailsubject'] = "New user registration for institution '%s' at %s.";
$string['pendingregistrationadminemailtext'] = "Hi %s,

A new user has requested to join the institution '%s'.

Because you are listed as an admin of this institution you need to approve or deny this registration request. To do this, select the following link: %s

Details of the registration request follows:

Name: %s
Email: %s
Registration reason:
%s

--
Regards,
The %s Team";
$string['pendingregistrationadminemailhtml'] = "<p>Hi %s,</p>
<p>A new user has requested to join the institution '%s'.</p>
<p>Because you are listed as an admin of this institution you need to approve or deny this registration request. To do this, select the following link: <a href='%s'>%s</a></p>
<p>Details of the registration request follows:</p>
<p>Name: %s</p>
<p>Email: %s</p>
<p>Registration reason:</p>
<p>%s</p>
<pre>--
Regards,
The %s Team</pre>";