Commit 5769d088 authored by peupleLà's avatar peupleLà
Browse files

Trad : scp/groups.php

parent 3b36154e
<?php
if(!defined('OSTADMININC') || !$thisstaff->isAdmin()) die('Access Denied');
if(!defined('OSTADMININC') || !$thisstaff->isAdmin()) die('Accès refusé');
$qstr='';
$sql='SELECT * FROM '.API_KEY_TABLE.' WHERE 1';
......@@ -33,17 +33,17 @@ $qstr.='&order='.($order=='DESC'?'ASC':'DESC');
$query="$sql ORDER BY $order_by LIMIT ".$pageNav->getStart().",".$pageNav->getLimit();
$res=db_query($query);
if($res && ($num=db_num_rows($res)))
$showing=$pageNav->showing().' API Keys';
$showing=$pageNav->showing().' Clés API';
else
$showing='No API keys found!';
$showing='Aucune clé API trouvée&nbsp;!';
?>
<div style="width:700px;padding-top:5px; float:left;">
<h2>API Keys</h2>
<h2>Clés API</h2>
</div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
<b><a href="apikeys.php?a=add" class="Icon newapi">Add New API Key</a></b></div>
<b><a href="apikeys.php?a=add" class="Icon newapi">Ajouter une clé API</a></b></div>
<div class="clear"></div>
<form action="apikeys.php" method="POST" name="keys">
<?php csrf_token(); ?>
......@@ -54,11 +54,11 @@ else
<thead>
<tr>
<th width="7">&nbsp;</th>
<th width="320"><a <?php echo $key_sort; ?> href="apikeys.php?<?php echo $qstr; ?>&sort=key">API Key</a></th>
<th width="120"><a <?php echo $ip_sort; ?> href="apikeys.php?<?php echo $qstr; ?>&sort=ip">IP Addr.</a></th>
<th width="100"><a <?php echo $status_sort; ?> href="apikeys.php?<?php echo $qstr; ?>&sort=status">Status</a></th>
<th width="150" nowrap><a <?php echo $date_sort; ?>href="apikeys.php?<?php echo $qstr; ?>&sort=date">Date Added</a></th>
<th width="150" nowrap><a <?php echo $updated_sort; ?>href="apikeys.php?<?php echo $qstr; ?>&sort=updated">Last Updated</a></th>
<th width="320"><a <?php echo $key_sort; ?> href="apikeys.php?<?php echo $qstr; ?>&sort=key">Clé API</a></th>
<th width="120"><a <?php echo $ip_sort; ?> href="apikeys.php?<?php echo $qstr; ?>&sort=ip">Adresse&nbsp;IP</a></th>
<th width="100"><a <?php echo $status_sort; ?> href="apikeys.php?<?php echo $qstr; ?>&sort=status">Statut</a></th>
<th width="150" nowrap><a <?php echo $date_sort; ?>href="apikeys.php?<?php echo $qstr; ?>&sort=date">Date ajoutée/a></th>
<th width="150" nowrap><a <?php echo $updated_sort; ?>href="apikeys.php?<?php echo $qstr; ?>&sort=updated">Dernière mise à jour</a></th>
</tr>
</thead>
<tbody>
......@@ -89,11 +89,11 @@ else
<td colspan="7">
<?php if($res && $num){ ?>
Select:&nbsp;
<a id="selectAll" href="#ckb">All</a>&nbsp;&nbsp;
<a id="selectNone" href="#ckb">None</a>&nbsp;&nbsp;
<a id="selectToggle" href="#ckb">Toggle</a>&nbsp;&nbsp;
<a id="selectAll" href="#ckb">Tout</a>&nbsp;&nbsp;
<a id="selectNone" href="#ckb">Aucun</a>&nbsp;&nbsp;
<a id="selectToggle" href="#ckb">Basculer</a>&nbsp;&nbsp;
<?php }else{
echo 'No API keys found';
echo 'Aucune clé API trouvée';
} ?>
</td>
</tr>
......@@ -104,36 +104,36 @@ if($res && $num): //Show options..
echo '<div>&nbsp;Page:'.$pageNav->getPageLinks().'&nbsp;</div>';
?>
<p class="centered" id="actions">
<input class="button" type="submit" name="enable" value="Enable" >
<input class="button" type="submit" name="disable" value="Disable">
<input class="button" type="submit" name="delete" value="Delete">
<input class="button" type="submit" name="enable" value="Activer >
<input class="button" type="submit" name="disable" value="Désactiver">
<input class="button" type="submit" name="delete" value="Supprimer">
</p>
<?php
endif;
?>
</form>
<div style="display:none;" class="dialog" id="confirm-action">
<h3>Please Confirm</h3>
<h3>Veuillez confirmer</h3>
<a class="close" href=""><i class="icon-remove-circle"></i></a>
<hr/>
<p class="confirm-action" style="display:none;" id="enable-confirm">
Are you sure want to <b>enable</b> selected API keys?
Êtes-vous sûr.e de vouloir <b>activer</b> les clés API sélectionnées&nbsp;?
</p>
<p class="confirm-action" style="display:none;" id="disable-confirm">
Are you sure want to <b>disable</b> selected API keys?
Êtes-vous sûr.e de vouloir <b>désactiver</b> les clés API sélectionnées&nbsp;?
</p>
<p class="confirm-action" style="display:none;" id="delete-confirm">
<font color="red"><strong>Are you sure you want to DELETE selected API keys?</strong></font>
<br><br>Deleted keys CANNOT be recovered.
<font color="red"><strong>Êtes-vous sûr.e de vouloir SUPPRIMER les clés API sélectionnées&nbsp;?</strong></font>
<br><br>Les clés supprimées ne POURRON PAS être récupérées.
</p>
<div>Please confirm to continue.</div>
<div>Veuillez confirmer pour continuer.</div>
<hr style="margin-top:1em"/>
<p class="full-width">
<span class="buttons" style="float:left">
<input type="button" value="No, Cancel" class="close">
<input type="button" value="Non, annuler" class="close">
</span>
<span class="buttons" style="float:right">
<input type="button" value="Yes, Do it!" class="confirm">
<input type="button" value="Oui, je confirme&nbsp;!" class="confirm">
</span>
</p>
<div class="clear"></div>
......
Supports Markdown
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