Commit b422d285 authored by peupleLà's avatar peupleLà
Browse files

Trad : include/staff/settings-access.inc.php

parent d99470c7
<?php
if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config) die('Access Denied');
if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config) die('Accès refusé');
?>
<h2>Access Control Settings</h2>
<h2>Paramètres de contrôle des accès</h2>
<form action="settings.php?t=access" method="post" id="save">
<?php csrf_token(); ?>
<input type="hidden" name="t" value="access" >
......@@ -10,20 +10,20 @@ if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config)
<thead>
<tr>
<th colspan="2">
<h4>Configure Access to this Help Desk</h4>
<h4>Configurer l’accès à cette fenêtre d’assistance</h4>
</th>
</tr>
</thead>
<tbody>
<tr>
<th colspan="2">
<em><b>Staff Authentication Settings</b></em>
<em><b>Paramètres d’authentification de l’équipe</b></em>
</th>
</tr>
<tr><td>Password Expiration Policy:</th>
<tr><td>Principes d’expiration des mots de passe</th>
<td>
<select name="passwd_reset_period">
<option value="0"> &mdash; No expiration &mdash;</option>
<option value="0"> &mdash; Pas de date d’expiration &mdash;</option>
<?php
for ($i = 1; $i <= 12; $i++) {
echo sprintf('<option value="%d" %s>%s%s</option>',
......@@ -35,13 +35,13 @@ if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config)
<i class="help-tip icon-question-sign" href="#password_expiration_policy"></i>
</td>
</tr>
<tr><td>Allow Password Resets:</th>
<tr><td>Autoriser la réinitialisation des mots de passe</th>
<td>
<input type="checkbox" name="allow_pw_reset" <?php echo $config['allow_pw_reset']?'checked="checked"':''; ?>>
&nbsp;<i class="help-tip icon-question-sign" href="#allow_password_resets"></i>
</td>
</tr>
<tr><td>Reset Token Expiration:</th>
<tr><td>Réinitialiser les jetons d’expiration</th> <!-- euh... je suis pas sûre, là -->
<td>
<input type="text" name="pw_reset_window" size="6" value="<?php
echo $config['pw_reset_window']; ?>">
......@@ -49,7 +49,7 @@ if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config)
&nbsp;<font class="error">&nbsp;<?php echo $errors['pw_reset_window']; ?></font>
</td>
</tr>
<tr><td>Staff Excessive Logins:</td>
<tr><td>Maximum de connexions autorisées pour l’équipe</td>
<td>
<select name="staff_max_logins">
<?php
......@@ -57,23 +57,23 @@ if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config)
echo sprintf('<option value="%d" %s>%d</option>', $i,(($config['staff_max_logins']==$i)?'selected="selected"':''), $i);
}
?>
</select> failed login attempt(s) allowed before a
</select> tentatives échouées de connexions autorisées avant que ne soit appliqué un blocage de
<select name="staff_login_timeout">
<?php
for ($i = 1; $i <= 10; $i++) {
echo sprintf('<option value="%d" %s>%d</option>', $i,(($config['staff_login_timeout']==$i)?'selected="selected"':''), $i);
}
?>
</select> minute lock-out is enforced.
</select> minute(s).
</td>
</tr>
<tr><td>Staff Session Timeout:</td>
<tr><td>Expiration de la session pour l’équipe</td>
<td>
<input type="text" name="staff_session_timeout" size=6 value="<?php echo $config['staff_session_timeout']; ?>">
mins <em>( 0 to disable)</em>. <i class="help-tip icon-question-sign" href="#staff_session_timeout"></i>
</td>
</tr>
<tr><td>Bind Staff Session to IP:</td>
<tr><td>Lier la session à l’adresse IP pour l’équipe</td>
<td>
<input type="checkbox" name="staff_ip_binding" <?php echo $config['staff_ip_binding']?'checked="checked"':''; ?>>
<i class="help-tip icon-question-sign" href="#bind_staff_session_to_ip"></i>
......@@ -81,22 +81,22 @@ if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config)
</tr>
<tr>
<th colspan="2">
<em><b>End User Authentication Settings</b></em>
<em><b>Paramètres d’authentification pour l’utilisateur final</b></em>
</th>
</tr>
<tr><td>Registration Required:</td>
<tr><td>Inscription obligatoire</td>
<td><input type="checkbox" name="clients_only" <?php
if ($config['clients_only'])
echo 'checked="checked"'; ?>/>
Require registration and login to create tickets
Imposer l’inscription et la connexion pour créer des tickets
<i class="help-tip icon-question-sign" href="#registration_method"></i>
</td>
<tr><td>Registration Method:</td>
<tr><td>Métode d’inscription</td>
<td><select name="client_registration">
<?php foreach (array(
'disabled' => 'Disabled — All users are guests',
'public' => 'Public — Anyone can register',
'closed' => 'Private — Only staff can register users',)
'disabled' => 'Disabled — All users are guests', /* si trad => Désactivé — Tous les utilisateurs sont invités*/
'public' => 'Public — Anyone can register', /* si trad => Public — Tout le monde peut s’inscrire*/
'closed' => 'Private — Only staff can register users',) /* si trad => Privé — Seuls les membres de l’équipe peuvent inscrire les utilisateurs*/
as $key=>$val) { ?>
<option value="<?php echo $key; ?>" <?php
if ($config['client_registration'] == $key)
......@@ -107,7 +107,7 @@ if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config)
<i class="help-tip icon-question-sign" href="#registration_method"></i>
</td>
</tr>
<tr><td>User Excessive Logins:</td>
<tr><td>Maximum de connexions autorisées pour les utilisateurs</td>
<td>
<select name="client_max_logins">
<?php
......@@ -116,27 +116,27 @@ if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config)
}
?>
</select> failed login attempt(s) allowed before a
</select> tentatives échouées de connexions autorisées avant que ne soit appliqué un blocage de
<select name="client_login_timeout">
<?php
for ($i = 1; $i <= 10; $i++) {
echo sprintf('<option value="%d" %s>%d</option>', $i,(($config['client_login_timeout']==$i)?'selected="selected"':''), $i);
}
?>
</select> minute lock-out is enforced.
</select> minute(s).
</td>
</tr>
<tr><td>User Session Timeout:</td>
<tr><td>Expiration de la session pour l’utilisateur</td>
<td>
<input type="text" name="client_session_timeout" size=6 value="<?php echo $config['client_session_timeout']; ?>">
<i class="help-tip icon-question-sign" href="#client_session_timeout"></i>
</td>
</tr>
<tr><td>Client Quick Access:</td>
<tr><td>Accès client rapide</td>
<td><input type="checkbox" name="client_verify_email" <?php
if ($config['client_verify_email'])
echo 'checked="checked"'; ?>/>
Require email verification on "Check Ticket Status" page
Demander un courriel de vérification sur la page «&nbsp;Vérifier le statut du ticket&nbsp;» page
<i class="help-tip icon-question-sign" href="#client_verify_email"></i>
</td>
</tr>
......@@ -144,7 +144,7 @@ if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config)
<thead>
<tr>
<th colspan="2">
<h4>Authentication and Registration Templates</h4>
<h4>Modèles de pages d’authentification et d’inscription</h4>
</th>
</tr>
</thead>
......@@ -170,11 +170,11 @@ $manage_content = function($title, $content) use ($contents) {
echo Format::htmlchars($title); ?></a><br/>
<span class="faded" style="display:inline-block;width:90%"><?php
echo Format::display($notes); ?>
<em>(Last Updated <?php echo Format::db_datetime($upd); ?>)</em></span></td></tr><?php
<em>(Dernière mise à jour <?php echo Format::db_datetime($upd); ?>)</em></span></td></tr><?php
}; ?>
<tr>
<th colspan="2">
<em><b>Authentication and Registration Templates</b></em>
<em><b>Modèles de pages d’authentication and et d’inscription</b></em>
</th>
</tr>
<?php $manage_content('Staff Members', 'pwreset-staff'); ?>
......@@ -182,14 +182,14 @@ $manage_content = function($title, $content) use ($contents) {
<?php $manage_content('Guess Ticket Access', 'access-link'); ?>
<tr>
<th colspan="2">
<em><b>Sign-In Pages</b></em>
<em><b>Pages de connexion</b></em>
</th>
</tr>
<?php $manage_content('Staff Login Banner', 'banner-staff'); ?>
<?php $manage_content('Client Sign-In Page', 'banner-client'); ?>
<tr>
<th colspan="2">
<em><b>User Account Registration</b></em>
<em><b>Inscription d’un compte utilisateur </b></em>
</th>
</tr>
<?php $manage_content('Please Confirm Email Address Page', 'registration-confirm'); ?>
......@@ -197,14 +197,14 @@ $manage_content = function($title, $content) use ($contents) {
<?php $manage_content('Account Confirmed Page', 'registration-thanks'); ?>
<tr>
<th colspan="2">
<em><b>Staff Account Registration</b></em>
<em><b>Inscription d’un compte de l’équipe</b></em>
</th>
</tr>
<?php $manage_content('Staff Welcome Email', 'registration-staff'); ?>
</tbody>
</table>
<p style="text-align:center">
<input class="button" type="submit" name="submit" value="Save Changes">
<input class="button" type="reset" name="reset" value="Reset Changes">
<input class="button" type="submit" name="submit" value="Sauvegarder les modifications">
<input class="button" type="reset" name="reset" value="Réinitialiser">
</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