source: trunk/template/default/admin/configuration.tpl @ 512

Last change on this file since 512 was 512, checked in by z0rglub, 20 years ago
  • in admin/configuration, add new step with "sections" (general, comments, default, upload, metadata, sessions)
  • admin/configuration.php and its template have been higly simplificated by making things more generic : for example, for each configuration parameter, its name must correspond to the name we find in the config table and belongs to a section, in the lang array we find :
  • more described message when connection to database server is impossible
  • redefinitions of get_languages and get_templates functions
  • deletion of configuration parameters : webmaster, session_keyword
  • rename of configuration parameters :
  • default_lang => default_language
  • default_style => default_template
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1<!-- BEGIN errors -->
2<div class="errors">
3<ul>
4  <!-- BEGIN error -->
5  <li>{errors.error.ERROR}</li>
6  <!-- END error -->
7</ul>
8</div>
9<!-- END errors -->
10<!-- BEGIN confirmation -->
11<div class="info">{L_CONFIRM}</div>
12<!-- END confirmation -->
13
14<form method="post" action="{F_ACTION}">
15
16<p class="confMenu">
17  <!-- BEGIN confmenu_item -->
18  <a class="{confmenu_item.CLASS}" href="{confmenu_item.URL}">{confmenu_item.NAME}</a>
19  <!-- END confmenu_item -->
20</p>
21
22<table width="100%" align="center">
23  <!-- BEGIN line -->
24  <tr>
25    <td width="50%">
26      <span class="confLineName">{line.NAME} :</span>
27      <br />
28      <span class="confLineInfo">{line.INFO}</span>
29    </td>
30    <td class="confLineField">
31
32      <!-- BEGIN textfield -->
33      <input type="text" size="{line.textfield.SIZE}" name="{line.textfield.NAME}" value="{line.textfield.VALUE}" />
34      <!-- END textfield -->
35
36      <!-- BEGIN radio -->
37      <input type="radio" class="radio" name="{line.radio.NAME}" value="{line.radio.VALUE}" {line.radio.CHECKED} />{line.radio.OPTION}
38      <!-- END radio -->
39
40      <!-- BEGIN select -->
41      <select name="{line.select.NAME}">
42        <!-- BEGIN select_option -->
43        <option value="{line.select.select_option.VALUE}" {line.select.select_option.SELECTED}>{line.select.select_option.OPTION}</option>
44        <!-- END select_option -->
45      </select>
46      <!-- END select -->
47
48    </td>
49  </tr>
50  <!-- END line -->
51  <tr>
52    <td colspan="2" align="center">
53      <input type="submit" name="submit" class="bouton" value="{L_SUBMIT}" />
54    </td>
55  </tr>
56</table>
57
58</form>
Note: See TracBrowser for help on using the repository browser.