Commit 538305f5 authored by peupleLà's avatar peupleLà
Browse files

Trad : include/staff/pages.inc.php

parent cccca41e
<?php
if(!defined('OSTADMININC') || !$thisstaff->isAdmin()) die('Access Denied');
if(!defined('OSTADMININC') || !$thisstaff->isAdmin()) die('Accès refusé');
$qstr='';
$sql='SELECT page.id, page.isactive, page.name, page.created, page.updated, '
......@@ -44,17 +44,17 @@ $res=db_query($query);
if($res && ($num=db_num_rows($res)))
$showing=$pageNav->showing();
else
$showing='No pages found!';
$showing='Aucune page n’a été trouvée&nbsp;!';
?>
<div style="width:700px;padding-top:5px; float:left;">
<h2>Site Pages
<h2>Pages du site
<i class="help-tip icon-question-sign" href="#site_pages"></i>
</h2>
</div>
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
<b><a href="pages.php?a=add" class="Icon newPage">Add New Page</a></b></div>
<b><a href="pages.php?a=add" class="Icon newPage">Ajouter une page</a></b></div>
<div class="clear"></div>
<form action="pages.php" method="POST" name="tpls">
<?php csrf_token(); ?>
......@@ -65,11 +65,11 @@ else
<thead>
<tr>
<th width="7">&nbsp;</th>
<th width="300"><a <?php echo $name_sort; ?> href="pages.php?<?php echo $qstr; ?>&sort=name">Name</a></th>
<th width="300"><a <?php echo $name_sort; ?> href="pages.php?<?php echo $qstr; ?>&sort=name">Nom</a></th>
<th width="90"><a <?php echo $type_sort; ?> href="pages.php?<?php echo $qstr; ?>&sort=type">Type</a></th>
<th width="110"><a <?php echo $status_sort; ?> href="pages.php?<?php echo $qstr; ?>&sort=status">Status</a></th>
<th width="150" nowrap><a <?php echo $created_sort; ?>href="pages.php?<?php echo $qstr; ?>&sort=created">Date Added</a></th>
<th width="150" nowrap><a <?php echo $updated_sort; ?>href="pages.php?<?php echo $qstr; ?>&sort=updated">Last Updated</a></th>
<th width="110"><a <?php echo $status_sort; ?> href="pages.php?<?php echo $qstr; ?>&sort=status">Statut</a></th>
<th width="150" nowrap><a <?php echo $created_sort; ?>href="pages.php?<?php echo $qstr; ?>&sort=created">Date de création</a></th>
<th width="150" nowrap><a <?php echo $updated_sort; ?>href="pages.php?<?php echo $qstr; ?>&sort=updated">Dernière mise à jour</a></th>
</tr>
</thead>
<tbody>
......@@ -92,8 +92,8 @@ else
<td>&nbsp;<a href="pages.php?id=<?php echo $row['id']; ?>"><?php echo Format::htmlchars($row['name']); ?></a></td>
<td class="faded"><?php echo $row['type']; ?></td>
<td>
&nbsp;<?php echo $row['isactive']?'Active':'<b>Disabled</b>'; ?>
&nbsp;&nbsp;<?php echo $inuse?'<em>(in-use)</em>':''; ?>
&nbsp;<?php echo $row['isactive']?'Active':'<b>Désactivé</b>'; ?>
&nbsp;&nbsp;<?php echo $inuse?'<em>(en cours d’utilisation)</em>':''; ?>
</td>
<td>&nbsp;<?php echo Format::db_date($row['created']); ?></td>
<td>&nbsp;<?php echo Format::db_datetime($row['updated']); ?></td>
......@@ -105,12 +105,12 @@ else
<tr>
<td colspan="6">
<?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;
Sélectionner&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 pages found';
echo 'Aucune page n’a été trouvée';
} ?>
</td>
</tr>
......@@ -121,9 +121,9 @@ 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;
......@@ -131,27 +131,27 @@ 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 pages?
Êtes-vous sûr.e de vouloir <b>activer</b> les pages sélectionnées&nbsp;?
</p>
<p class="confirm-action" style="display:none;" id="disable-confirm">
Are you sure want to <b>disable</b> selected pages?
Êtes-vous sûr.e de vouloir <b>désactiver</b> les pages 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 pages?</strong></font>
<br><br>Deleted pages CANNOT be recovered.
<font color="red"><strong>Êtes-vous sûr.e de vouloir SUPPRIMER les pages sélectionnées&nbsp;?</strong></font>
<br><br>Les pages supprimées ne POURRONT PAS être récupérées.
</p>
<div>Please confirm to continue.</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>
......
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