source: extensions/Ldap_Login/admin/newusers.tpl @ 27036

Last change on this file since 27036 was 27036, checked in by 22decembre, 10 years ago

version 1.0.1

add main function : ability to add new piwigo users when ldap is successful.
add danish language, must be reviewed

this version is not yet considered stable, as needed to be reviewed and commented by beta-testers

File size: 1.6 KB
Line 
1{literal}
2<style>
3label
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        {if $ADVERTISE_ADMINS}
33                <input type="checkbox" id="advertise_admin_new_ldapuser" name="ADVERTISE_ADMINS" value="{$ADVERTISE_ADMINS}" checked />
34        {else}
35                <input type="checkbox" id="advertise_admin_new_ldapuser" name="ADVERTISE_ADMINS" value="{$ADVERTISE_ADMINS}" />
36        {/if}
37        {'Do you want admins to be advertised by mail in case of new users creation upon ldap login ?'|@translate}
38    </p>
39   
40    <p>
41        {if $SEND_CASUAL_MAIL}
42                <input type="checkbox" id="send_password_by_mail_ldap" name="SEND_CASUAL_MAIL" value="{$SEND_CASUAL_MAIL}" checked />
43        {else}
44                <input type="checkbox" id="send_password_by_mail_ldap" name="SEND_CASUAL_MAIL" value="{$SEND_CASUAL_MAIL}" />
45        {/if}
46        {'Do you want to send mail to the new users, like casual piwigo users receive ?'|@translate}
47    </p>
48   
49</fieldset>
50 
51<p>
52<input type="submit" value="{'Save'|@translate}" name="save" />
53</p>
54</form>
Note: See TracBrowser for help on using the repository browser.