newusers.tpl
1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{literal}
<style>
label
{
display: block;
width: 250px;
float: left;
}
</style>
{/literal}
<div class="titrePage">
<h2>{'Ldap_Login Plugin'|@translate}</h2>
</div>
<i>{"If the LDAP doesn't furnish the mail address, users can set it up in the profile page."|@translate}</i>
<form method="post" action="{$PLUGIN_NEWUSERS}" class="general">
<fieldset>
<legend>{'Ldap_Login configuration'|@translate}</legend>
<p>
{if $ALLOW_NEWUSERS}
<input type="checkbox" id="allow_newusers" name="ALLOW_NEWUSERS" value="{$ALLOW_NEWUSERS}" checked />
{else}
<input type="checkbox" id="allow_newusers" name="ALLOW_NEWUSERS" value="{$ALLOW_NEWUSERS}" />
{/if}
{'Do you allow new piwigo users to be created when users authenticate succesfully on the ldap ?'|@translate}
</p>
<p>
{if $ADVERTISE_ADMINS}
<input type="checkbox" id="advertise_admin_new_ldapuser" name="ADVERTISE_ADMINS" value="{$ADVERTISE_ADMINS}" checked />
{else}
<input type="checkbox" id="advertise_admin_new_ldapuser" name="ADVERTISE_ADMINS" value="{$ADVERTISE_ADMINS}" />
{/if}
{'Do you want admins to be advertised by mail in case of new users creation upon ldap login ?'|@translate}
</p>
<p>
{if $SEND_CASUAL_MAIL}
<input type="checkbox" id="send_password_by_mail_ldap" name="SEND_CASUAL_MAIL" value="{$SEND_CASUAL_MAIL}" checked />
{else}
<input type="checkbox" id="send_password_by_mail_ldap" name="SEND_CASUAL_MAIL" value="{$SEND_CASUAL_MAIL}" />
{/if}
{'Do you want to send mail to the new users, like casual piwigo users receive ?'|@translate}
</p>
</fieldset>
<p>
<input type="submit" value="{'Save'|@translate}" name="save" />
</p>
</form>