|
@@ -30,67 +30,65 @@
|
30
|
30
|
</tr>
|
31
|
31
|
<tr class="required">
|
32
|
32
|
<td align="right">
|
33
|
|
- <label for="cookie_name">Cookie name</label>
|
|
33
|
+ <label for="cookie_name"><?php print_string('cookie_name_label', 'auth_macaroons'); ?></label>
|
34
|
34
|
</td>
|
35
|
35
|
<td>
|
36
|
36
|
<input name="cookie_name" id="cookie_name" type="text" size="50" value="<?php echo $config->cookie_name; ?>" required="true" />
|
37
|
37
|
</td>
|
38
|
|
- <td>Name of the cookie your macaroon is located in.</td>
|
|
38
|
+ <td><?php print_string('cookie_name_help', 'auth_macaroons'); ?></td>
|
39
|
39
|
</tr>
|
40
|
40
|
<tr class="required">
|
41
|
41
|
<td align="right">
|
42
|
|
- <label for="secret">Secret</label>
|
|
42
|
+ <label for="secret"><?php print_string('secret_label', 'auth_macaroons'); ?></label>
|
43
|
43
|
</td>
|
44
|
44
|
<td>
|
45
|
45
|
<input name="secret" id="secret" type="text" size="50" value="<?php echo $config->secret; ?>" />
|
46
|
46
|
</td>
|
47
|
|
- <td>The secret your macaroon was signed with</td>
|
|
47
|
+ <td><?php print_string('secret_help', 'auth_macaroons'); ?></td>
|
48
|
48
|
</tr>
|
49
|
49
|
<tr class="required">
|
50
|
50
|
<td align="right">
|
51
|
|
- <label for="identifier_format">Identifier format</label>
|
|
51
|
+ <label for="identifier_format"><?php print_string('identifier_format_label', 'auth_macaroons'); ?></label>
|
52
|
52
|
</td>
|
53
|
53
|
<td>
|
54
|
54
|
<input name="identifier_format" id="identifier_format" type="text" size="50" value="<?php echo $config->identifier_format; ?>" required="true" />
|
55
|
55
|
</td>
|
56
|
|
- <td>Your Macaroon's identifier format. Available placeholders are {{username}}, {{firstname}}, {{lastname}}. Elements must me delimited with semicolons (";").<br />
|
57
|
|
-eg: {{firstname}};{{lastname}}</td>
|
|
56
|
+ <td><?php print_string('identifier_format_help', 'auth_macaroons'); ?></td>
|
58
|
57
|
</tr>
|
59
|
58
|
<tr class="required">
|
60
|
59
|
<td align="right">
|
61
|
|
- <label for="email_config">E-mail template</label>
|
|
60
|
+ <label for="email_config"><?php print_string('email_config_label', 'auth_macaroons'); ?></label>
|
62
|
61
|
</td>
|
63
|
62
|
<td>
|
64
|
63
|
<input name="email_config" id="email_config" type="text" size="50" value="<?php echo $config->email_config; ?>" required="true" />
|
65
|
64
|
</td>
|
66
|
|
- <td>Template for emails. Available placeholders are {{firstname}} and {{lastname}}.<br />
|
67
|
|
-eg: {{firstname}}.{{lastname}}@company.tld</td>
|
|
65
|
+ <td><?php print_string('email_config_help', 'auth_macaroons'); ?></td>
|
68
|
66
|
</tr>
|
69
|
67
|
<tr>
|
70
|
68
|
<td align="right">
|
71
|
|
- <label for="caveat1_condition">First caveat condition</label>
|
|
69
|
+ <label for="caveat1_condition"><?php print_string('caveat1_condition_label', 'auth_macaroons'); ?></label>
|
72
|
70
|
</td>
|
73
|
71
|
<td>
|
74
|
72
|
<input name="caveat1_condition" id="caveat1_condition" type="text" size="50" value="<?php echo $config->caveat1_condition; ?>" />
|
75
|
73
|
</td>
|
76
|
|
- <td>The condition in your macaroon's first caveat (optional)</td>
|
|
74
|
+ <td><?php print_string('caveat1_condition_help', 'auth_macaroons'); ?></td>
|
77
|
75
|
</tr>
|
78
|
76
|
<tr>
|
79
|
77
|
<td align="right">
|
80
|
|
- <label for="caveat2_condition">Second caveat condition</label>
|
|
78
|
+ <label for="caveat2_condition"><?php print_string('caveat2_condition_label', 'auth_macaroons'); ?></label>
|
81
|
79
|
</td>
|
82
|
80
|
<td>
|
83
|
81
|
<input name="caveat2_condition" id="caveat2_condition" type="text" size="50" value="<?php echo $config->caveat2_condition; ?>" />
|
84
|
82
|
</td>
|
85
|
|
- <td>The condition in your macaroon's second caveat (optional)</td>
|
|
83
|
+ <td><?php print_string('caveat2_condition_help', 'auth_macaroons'); ?></td>
|
86
|
84
|
</tr>
|
87
|
85
|
<tr>
|
88
|
86
|
<td align="right">
|
89
|
|
- <label for="caveat3_condition">Third caveat condition</label>
|
|
87
|
+ <label for="caveat3_condition"><?php print_string('caveat3_condition_label', 'auth_macaroons'); ?></label>
|
90
|
88
|
</td>
|
91
|
89
|
<td>
|
92
|
90
|
<input name="caveat3_condition" id="caveat3_condition" type="text" size="50" value="<?php echo $config->caveat3_condition; ?>" />
|
93
|
91
|
</td>
|
94
|
|
- <td>The condition in your macaroon's third caveat (optional)</td>
|
|
92
|
+ <td><?php print_string('caveat3_condition_help', 'auth_macaroons'); ?></td>
|
95
|
93
|
</tr>
|
96
|
94
|
</table>
|