Fix: Minor fix into user interface

This commit is contained in:
Laurent Destailleur 2012-12-27 14:25:52 +01:00
parent d4f81a9ee7
commit fc71073e4e
2 changed files with 3 additions and 2 deletions

View File

@ -198,7 +198,8 @@ foreach ($syslogModules as $moduleName)
{
foreach ($setuparray as $option)
{
if (defined($option['constant'])) $value = constant($option['constant']);
if (isset($_POST[$option['constant']])) $value=$_POST[$option['constant']];
else if (defined($option['constant'])) $value = constant($option['constant']);
else $value = (isset($option['default']) ? $option['default'] : '');
print $option['name'].': <input type="text" class="flat" name="'.$option['constant'].'" value="'.$value.'"'.(isset($option['attr']) ? ' '.$option['attr'] : '').'>';

View File

@ -167,7 +167,7 @@ FullPathToPostgreSQLdumpCommand= Chemin complet vers la commande pg_dump
ExportOptions= Options d'exportation
AddDropDatabase= Ajouter ordres DROP DATABASE
AddDropTable= Ajouter ordres DROP TABLE
Structure=Structure
ExportStructure=Structure
Datas= Données
NameColumn= Nomme les colonnes
ExtendedInsert= Instructions INSERT étendues