mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-01 07:22:09 +02:00
1f71a31084
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 : - $lang['conf_<section>_<param>'] - $lang['conf_<section>_<param>_info'] - $lang['conf_<section>_<param>_error'] optionnaly - 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 git-svn-id: http://piwigo.org/svn/trunk@512 68402e56-0260-453c-a942-63ccdbb3a9ee
59 lines
1.6 KiB
Smarty
59 lines
1.6 KiB
Smarty
<!-- BEGIN errors -->
|
|
<div class="errors">
|
|
<ul>
|
|
<!-- BEGIN error -->
|
|
<li>{errors.error.ERROR}</li>
|
|
<!-- END error -->
|
|
</ul>
|
|
</div>
|
|
<!-- END errors -->
|
|
<!-- BEGIN confirmation -->
|
|
<div class="info">{L_CONFIRM}</div>
|
|
<!-- END confirmation -->
|
|
|
|
<form method="post" action="{F_ACTION}">
|
|
|
|
<p class="confMenu">
|
|
<!-- BEGIN confmenu_item -->
|
|
<a class="{confmenu_item.CLASS}" href="{confmenu_item.URL}">{confmenu_item.NAME}</a>
|
|
<!-- END confmenu_item -->
|
|
</p>
|
|
|
|
<table width="100%" align="center">
|
|
<!-- BEGIN line -->
|
|
<tr>
|
|
<td width="50%">
|
|
<span class="confLineName">{line.NAME} :</span>
|
|
<br />
|
|
<span class="confLineInfo">{line.INFO}</span>
|
|
</td>
|
|
<td class="confLineField">
|
|
|
|
<!-- BEGIN textfield -->
|
|
<input type="text" size="{line.textfield.SIZE}" name="{line.textfield.NAME}" value="{line.textfield.VALUE}" />
|
|
<!-- END textfield -->
|
|
|
|
<!-- BEGIN radio -->
|
|
<input type="radio" class="radio" name="{line.radio.NAME}" value="{line.radio.VALUE}" {line.radio.CHECKED} />{line.radio.OPTION}
|
|
<!-- END radio -->
|
|
|
|
<!-- BEGIN select -->
|
|
<select name="{line.select.NAME}">
|
|
<!-- BEGIN select_option -->
|
|
<option value="{line.select.select_option.VALUE}" {line.select.select_option.SELECTED}>{line.select.select_option.OPTION}</option>
|
|
<!-- END select_option -->
|
|
</select>
|
|
<!-- END select -->
|
|
|
|
</td>
|
|
</tr>
|
|
<!-- END line -->
|
|
<tr>
|
|
<td colspan="2" align="center">
|
|
<input type="submit" name="submit" class="bouton" value="{L_SUBMIT}" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|