1 | {* $Id: /piwigo/trunk/admin/template/goto/configuration.tpl 7055 2009-03-19T19:51:54.545257Z nikrou $ *} |
---|
2 | |
---|
3 | {include file='include/autosize.inc.tpl'} |
---|
4 | |
---|
5 | <div class="titrePage"> |
---|
6 | <h2>{'title_configuration'|@translate} {$TABSHEET_TITLE}</h2> |
---|
7 | </div> |
---|
8 | |
---|
9 | {if !isset($default)} |
---|
10 | <form method="post" action="{$F_ACTION}" class="properties"> |
---|
11 | {/if} |
---|
12 | |
---|
13 | {if isset($main)} |
---|
14 | <fieldset id="mainConf"> |
---|
15 | <legend></legend> |
---|
16 | <ul> |
---|
17 | <li> |
---|
18 | <span class="property"> |
---|
19 | <label for="gallery_title">{'Gallery title'|@translate}</label> |
---|
20 | </span> |
---|
21 | <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{$main.CONF_GALLERY_TITLE}"> |
---|
22 | </li> |
---|
23 | |
---|
24 | <li> |
---|
25 | <span class="property"> |
---|
26 | <label for="page_banner">{'Page banner'|@translate}</label> |
---|
27 | </span> |
---|
28 | <textarea rows="5" cols="50" class="description" name="page_banner" id="page_banner">{$main.CONF_PAGE_BANNER}</textarea> |
---|
29 | </li> |
---|
30 | |
---|
31 | <li> |
---|
32 | <span class="property"> |
---|
33 | <label for="gallery_url">{'Gallery URL'|@translate}</label> |
---|
34 | </span> |
---|
35 | <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{$main.CONF_GALLERY_URL}"> |
---|
36 | </li> |
---|
37 | </ul> |
---|
38 | </fieldset> |
---|
39 | |
---|
40 | <fieldset id="mainConfCheck"> |
---|
41 | <legend></legend> |
---|
42 | <ul> |
---|
43 | <li> |
---|
44 | <label> |
---|
45 | <span class="property">{'Lock gallery'|@translate}</span> |
---|
46 | <input type="checkbox" name="gallery_locked" {if ($main.gallery_locked)}checked="checked"{/if}> |
---|
47 | </label> |
---|
48 | </li> |
---|
49 | |
---|
50 | <li> |
---|
51 | <label> |
---|
52 | <span class="property">{'Rating'|@translate}</span> |
---|
53 | <input type="checkbox" name="rate" {if ($main.rate)}checked="checked"{/if}> |
---|
54 | </label> |
---|
55 | </li> |
---|
56 | |
---|
57 | <li> |
---|
58 | <label> |
---|
59 | <span class="property">{'Rating by guests'|@translate}</span> |
---|
60 | <input type="checkbox" name="rate_anonymous" {if ($main.rate_anonymous)}checked="checked"{/if}> |
---|
61 | </label> |
---|
62 | </li> |
---|
63 | |
---|
64 | <li> |
---|
65 | <label> |
---|
66 | <span class="property">{'Allow user registration'|@translate}</span> |
---|
67 | <input type="checkbox" name="allow_user_registration" {if ($main.allow_user_registration)}checked="checked"{/if}> |
---|
68 | </label> |
---|
69 | </li> |
---|
70 | |
---|
71 | <li> |
---|
72 | <label> |
---|
73 | <span class="property">{'obligatory_user_mail_address'|@translate}</span> |
---|
74 | <input type="checkbox" name="obligatory_user_mail_address" {if ($main.obligatory_user_mail_address)}checked="checked"{/if}> |
---|
75 | </label> |
---|
76 | </li> |
---|
77 | |
---|
78 | <li> |
---|
79 | <label> |
---|
80 | <span class="property">{'Email administrators when a new user registers'|@translate}</span> |
---|
81 | <input type="checkbox" name="email_admin_on_new_user" {if ($main.email_admin_on_new_user)}checked="checked"{/if}> |
---|
82 | </label> |
---|
83 | </li> |
---|
84 | </ul> |
---|
85 | </fieldset> |
---|
86 | {/if} |
---|
87 | |
---|
88 | {if isset($history)} |
---|
89 | <fieldset id="historyConf"> |
---|
90 | <legend></legend> |
---|
91 | <ul> |
---|
92 | <li> |
---|
93 | <label><span class="property">{'conf_history_guest'|@translate}</span><input type="checkbox" name="history_guest" {if ($history.history_guest)}checked="checked"{/if}></label> |
---|
94 | </li> |
---|
95 | |
---|
96 | <li> |
---|
97 | <label><span class="property">{'conf_history_user'|@translate}</span><input type="checkbox" name="log" {if ($history.log)}checked="checked"{/if}></label> |
---|
98 | </li> |
---|
99 | |
---|
100 | <li> |
---|
101 | <label><span class="property">{'conf_history_admin'|@translate}</span><input type="checkbox" name="history_admin" {if ($history.history_admin)}checked="checked"{/if}></label> |
---|
102 | </li> |
---|
103 | </ul> |
---|
104 | </fieldset> |
---|
105 | {/if} |
---|
106 | |
---|
107 | |
---|
108 | {if isset($comments)} |
---|
109 | <fieldset id="commentsConf"> |
---|
110 | <legend></legend> |
---|
111 | <ul> |
---|
112 | <li> |
---|
113 | <label> |
---|
114 | <span class="property">{'Comments for all'|@translate}</span> |
---|
115 | <input type="checkbox" name="comments_forall" {if ($comments.comments_forall)}checked="checked"{/if}> |
---|
116 | </label> |
---|
117 | </li> |
---|
118 | |
---|
119 | <li> |
---|
120 | <span class="property"> |
---|
121 | <label for="nb_comment_page">{'Number of comments per page'|@translate}</label> |
---|
122 | </span> |
---|
123 | <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{$comments.NB_COMMENTS_PAGE}"> |
---|
124 | </li> |
---|
125 | |
---|
126 | <li> |
---|
127 | <label> |
---|
128 | <span class="property">{'Validation'|@translate}</span> |
---|
129 | <input type="checkbox" name="comments_validation" {if ($comments.comments_validation)}checked="checked"{/if}> |
---|
130 | </label> |
---|
131 | </li> |
---|
132 | |
---|
133 | |
---|
134 | <li> |
---|
135 | <label> |
---|
136 | <span class="property">{'Email administrators when a valid comment is entered'|@translate}</span> |
---|
137 | <input type="checkbox" name="email_admin_on_comment" {if ($comments.email_admin_on_comment)}checked="checked"{/if}> |
---|
138 | </label> |
---|
139 | </li> |
---|
140 | |
---|
141 | <li> |
---|
142 | <label> |
---|
143 | <span class="property">{'Email administrators when a comment requires validation'|@translate}</span> |
---|
144 | <input type="checkbox" name="email_admin_on_comment_validation" {if ($comments.email_admin_on_comment_validation)}checked="checked"{/if}> |
---|
145 | </label> |
---|
146 | </li> |
---|
147 | </ul> |
---|
148 | </fieldset> |
---|
149 | {/if} |
---|
150 | |
---|
151 | {if isset($upload)} |
---|
152 | <fieldset id="uploadConf"> |
---|
153 | <legend></legend> |
---|
154 | <ul> |
---|
155 | <li> |
---|
156 | <label><span class="property">{'Show upload link every time'|@translate}</span> |
---|
157 | <input type="checkbox" name="upload_link_everytime" {if ($upload.upload_link_everytime)}checked="checked"{/if}></label> |
---|
158 | </li> |
---|
159 | <li> |
---|
160 | <label><span class="property">{'User access level to upload'|@translate}</span> |
---|
161 | {html_options name="upload_user_access" options=$upload.upload_user_access_options selected=$upload.upload_user_access_options_selected} |
---|
162 | </label> |
---|
163 | </li> |
---|
164 | <li> |
---|
165 | <label> |
---|
166 | <span class="property">{'Email administrators when a picture is uploaded'|@translate}</span> |
---|
167 | <input type="checkbox" name="email_admin_on_picture_uploaded" {if ($upload.email_admin_on_picture_uploaded)}checked="checked"{/if}> |
---|
168 | </label> |
---|
169 | </li> |
---|
170 | </ul> |
---|
171 | </fieldset> |
---|
172 | {/if} |
---|
173 | |
---|
174 | {if isset($default)} |
---|
175 | {$PROFILE_CONTENT} |
---|
176 | {/if} |
---|
177 | |
---|
178 | {if !isset($default)} |
---|
179 | <p> |
---|
180 | <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> |
---|
181 | <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> |
---|
182 | </p> |
---|
183 | </form> |
---|
184 | {/if} |
---|