Commit 612a9678 authored by peupleLà's avatar peupleLà
Browse files

Trad : include/staff/orgs.inc.php

parent 3dc0a340
<?php
if(!defined('OSTSCPINC') || !$thisstaff) die('Access Denied');
if(!defined('OSTSCPINC') || !$thisstaff) die('Accès refusé');
$qstr='';
......@@ -70,23 +70,23 @@ $query="$select $from $where GROUP BY org.id ORDER BY $order_by LIMIT ".$pageNav
$qhash = md5($query);
$_SESSION['orgs_qs_'.$qhash] = $query;
?>
<h2>Organizations</h2>
<h2>Organisations</h2>
<div style="width:700px; float:left;">
<form action="orgs.php" method="get">
<?php csrf_token(); ?>
<input type="hidden" name="a" value="search">
<input type="hidden" name="a" value="rechercher">
<table>
<tr>
<td><input type="text" id="basic-org-search" name="query" size=30 value="<?php echo Format::htmlchars($_REQUEST['query']); ?>"
autocomplete="off" autocorrect="off" autocapitalize="off"></td>
<td><input type="submit" name="basic_search" class="button" value="Search"></td>
<!-- <td>&nbsp;&nbsp;<a href="" id="advanced-user-search">[advanced]</a></td> -->
<td><input type="submit" name="basic_search" class="button" value="Rechercher"></td>
<!-- <td>&nbsp;&nbsp;<a href="" id="advanced-user-search">[Recherche avancée]</a></td> -->
</tr>
</table>
</form>
</div>
<div style="float:right;text-align:right;padding-right:5px;">
<b><a href="#orgs/add" class="Icon newDepartment add-org">Add New Organization</a></b></div>
<b><a href="#orgs/add" class="Icon newDepartment add-org">Ajouter une organisation</a></b></div>
<div class="clear"></div>
<?php
$showing = $search ? 'Search Results: ' : '';
......@@ -94,7 +94,7 @@ $res = db_query($query);
if($res && ($num=db_num_rows($res)))
$showing .= $pageNav->showing();
else
$showing .= 'No organizations found!';
$showing .= 'Aucune organisation n’a été trouvée&nbsp;!';
?>
<form action="orgs.php" method="POST" name="staff" >
<?php csrf_token(); ?>
......@@ -104,10 +104,10 @@ else
<caption><?php echo $showing; ?></caption>
<thead>
<tr>
<th width="400"><a <?php echo $name_sort; ?> href="orgs.php?<?php echo $qstr; ?>&sort=name">Name</a></th>
<th width="100"><a <?php echo $users_sort; ?> href="orgs.php?<?php echo $qstr; ?>&sort=users">Users</a></th>
<th width="150"><a <?php echo $create_sort; ?> href="orgs.php?<?php echo $qstr; ?>&sort=create">Created</a></th>
<th width="145"><a <?php echo $update_sort; ?> href="orgs.php?<?php echo $qstr; ?>&sort=update">Updated</a></th>
<th width="400"><a <?php echo $name_sort; ?> href="orgs.php?<?php echo $qstr; ?>&sort=name">Nom</a></th>
<th width="100"><a <?php echo $users_sort; ?> href="orgs.php?<?php echo $qstr; ?>&sort=users">Utlisateurs</a></th>
<th width="150"><a <?php echo $create_sort; ?> href="orgs.php?<?php echo $qstr; ?>&sort=create">Date de création</a></th>
<th width="145"><a <?php echo $update_sort; ?> href="orgs.php?<?php echo $qstr; ?>&sort=update">Mise à jour</a></th>
</tr>
</thead>
<tbody>
......
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