source: branches/2.0/admin/template/goto/configuration.tpl @ 4894

Last change on this file since 4894 was 2641, checked in by rub, 16 years ago

use "include file" for grow text

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