Last change
on this file was
28534,
checked in by 22decembre, 10 years ago
|
add function to sync ldap and piwigo groups
ldap groups correspond to webmasters and admin roles
|
File size:
2.0 KB
|
Line | |
---|
1 | {literal} |
---|
2 | <style> |
---|
3 | label |
---|
4 | { |
---|
5 | display: block; |
---|
6 | width: 250px; |
---|
7 | float: left; |
---|
8 | } |
---|
9 | </style> |
---|
10 | {/literal} |
---|
11 | |
---|
12 | <div class="titrePage"> |
---|
13 | <h2>{'Ldap_Login Plugin'|@translate}</h2> |
---|
14 | </div> |
---|
15 | |
---|
16 | <i>{"If the LDAP doesn't furnish the mail address, users can set it up in the profile page."|@translate}</i> |
---|
17 | <form method="post" action="{$PLUGIN_NEWUSERS}" class="general"> |
---|
18 | |
---|
19 | <fieldset> |
---|
20 | <legend>{'Ldap_Login configuration'|@translate}</legend> |
---|
21 | |
---|
22 | <p> |
---|
23 | {if $ALLOW_NEWUSERS} |
---|
24 | <input type="checkbox" id="allow_newusers" name="ALLOW_NEWUSERS" value="{$ALLOW_NEWUSERS}" checked /> |
---|
25 | {else} |
---|
26 | <input type="checkbox" id="allow_newusers" name="ALLOW_NEWUSERS" value="{$ALLOW_NEWUSERS}" /> |
---|
27 | {/if} |
---|
28 | {'Do you allow new piwigo users to be created when users authenticate succesfully on the ldap ?'|@translate} |
---|
29 | </p> |
---|
30 | |
---|
31 | <p> |
---|
32 | <b><label for="users_group">{'Users group'|@translate}</label></b> |
---|
33 | <br> |
---|
34 | {'Users members of this ldap group (e.g.: piwigo,users ... , default is void ) can authenticate on piwigo and are created if the option above is selected. If left blank, everyone can authenticate.'|@translate} |
---|
35 | <input size="70" type="text" id="users_group" name="USERS_GROUP" value="{$USERS_GROUP}" /> |
---|
36 | </p> |
---|
37 | |
---|
38 | <p> |
---|
39 | {if $ADVERTISE_ADMINS} |
---|
40 | <input type="checkbox" id="advertise_admin_new_ldapuser" name="ADVERTISE_ADMINS" value="{$ADVERTISE_ADMINS}" checked /> |
---|
41 | {else} |
---|
42 | <input type="checkbox" id="advertise_admin_new_ldapuser" name="ADVERTISE_ADMINS" value="{$ADVERTISE_ADMINS}" /> |
---|
43 | {/if} |
---|
44 | {'Do you want admins to be advertised by mail in case of new users creation upon ldap login ?'|@translate} |
---|
45 | </p> |
---|
46 | |
---|
47 | <p> |
---|
48 | {if $SEND_CASUAL_MAIL} |
---|
49 | <input type="checkbox" id="send_password_by_mail_ldap" name="SEND_CASUAL_MAIL" value="{$SEND_CASUAL_MAIL}" checked /> |
---|
50 | {else} |
---|
51 | <input type="checkbox" id="send_password_by_mail_ldap" name="SEND_CASUAL_MAIL" value="{$SEND_CASUAL_MAIL}" /> |
---|
52 | {/if} |
---|
53 | {'Do you want to send mail to the new users, like casual piwigo users receive ?'|@translate} |
---|
54 | </p> |
---|
55 | |
---|
56 | </fieldset> |
---|
57 | |
---|
58 | <p> |
---|
59 | <input type="submit" value="{'Save'|@translate}" name="save" /> |
---|
60 | </p> |
---|
61 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.