Translate direct.php
This commit is contained in:
parent
15ddd36809
commit
06fad8b59c
1 changed files with 2 additions and 1 deletions
|
|
@ -30,12 +30,13 @@ $g_user->check_dossier($_GET['gDossier']);
|
|||
$res=$cn->exec_sql("select distinct code,description from get_profile_menu($1) where code ~* $2 or description ~* $3 order by code limit 5 ",array($g_user->get_profile(),$_POST['acs'],$_POST['acs']));
|
||||
$nb=Database::num_row($res);
|
||||
echo "<ul>";
|
||||
set_language();
|
||||
for ($i = 0;$i< $nb;$i++)
|
||||
{
|
||||
$row=Database::fetch_array($res,$i);
|
||||
echo "<li>";
|
||||
echo $row['code'];
|
||||
echo '<span class="informal"> '.$row['description'].'</span></li>';
|
||||
echo '<span class="informal"> '._($row['description']).'</span></li>';
|
||||
}
|
||||
echo "</ul>";
|
||||
if ( $nb == 0 ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue