Commit 559f63f1 authored by peupleLà's avatar peupleLà
Browse files

Trad : include/staff/plugin.inc.php

parent 27165a6d
......@@ -7,9 +7,9 @@ if($plugin && $_REQUEST['a']!='add') {
$form = $config->getForm();
if ($_POST)
$form->isValid();
$title = 'Update Plugin';
$action = 'update';
$submit_text='Save Changes';
$title = 'Mettre à jour le plug-in';
$action = 'update'; /*same question etc.*/
$submit_text='Sauvegarder les modifications';
$info = $plugin->ht;
}
$info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
......@@ -19,7 +19,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
<?php csrf_token(); ?>
<input type="hidden" name="do" value="<?php echo $action; ?>">
<input type="hidden" name="id" value="<?php echo $info['id']; ?>">
<h2>Manage Plugin
<h2>Gérer les plug-in
<br/><small><?php echo $plugin->getName(); ?></small></h2>
<h3>Configuration</h3>
......@@ -29,16 +29,16 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
if ($form)
$form->render();
else { ?>
<tr><th>This plugin has no configurable settings<br>
<em>Every plugin should be so easy to use</em></th></tr>
<tr><th>Ce plug-in n’a pas de paramètres configurables<br>
<em>Tous les plug-in devraient être faciles d’utilisation</em></th></tr>
<?php }
?>
</tbody></table>
<p class="centered">
<?php if ($form) { ?>
<input type="submit" name="submit" value="<?php echo $submit_text; ?>">
<input type="reset" name="reset" value="Reset">
<input type="reset" name="reset" value="Réinitialiser">
<?php } ?>
<input type="button" name="cancel" value="Cancel" onclick='window.location.href="?"'>
<input type="button" name="cancel" value="Annuler" onclick='window.location.href="?"'>
</p>
</form>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment