affichage code source html propre
This commit is contained in:
parent
2b6bd7f196
commit
2c20636d2d
@ -2,6 +2,7 @@
|
|||||||
/* Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
|
* Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -22,9 +23,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\file htdocs/user/fiche.php
|
\file htdocs/user/fiche.php
|
||||||
\brief Onglet user et permissions de la fiche utilisateur
|
\brief Onglet user et permissions de la fiche utilisateur
|
||||||
\version $Revision$
|
\version $Revision$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -295,9 +296,9 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
print "<tr $bc[$var]>";
|
print "<tr $bc[$var]>";
|
||||||
print '<td align="right"><a href="fiche.php?id='.$fuser->id.'&action=perms&subaction=delrights&rights='.$obj->id.'">'.img_edit_remove().'</a></td>';
|
print " <td align= \"right\"><a href=\"fiche.php?id=".$fuser->id."&action=perms&subaction=delrights&rights=".$obj->id."\">".img_edit_remove()."</a></td>\n";
|
||||||
print "<td>".$obj->libelle . '</td><td>'.$obj->module . '</td>';
|
print " <td>".$obj->libelle . "</td><td>".$obj->module . "</td>\n";
|
||||||
print '</tr>';
|
print "</tr>";
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -416,10 +417,9 @@ else
|
|||||||
$oldmod = $obj->module;
|
$oldmod = $obj->module;
|
||||||
$var = !$var;
|
$var = !$var;
|
||||||
}
|
}
|
||||||
$fac = 'facture';
|
print '<tr '. $bc[$var].'>';
|
||||||
$bac = "lire";
|
print '<td>'.$obj->libelle . '</td><td>'.$obj->module . '</td>';
|
||||||
$alpha = $fuser->rights->$fac->$bac; //"user->rights->".$obj->perms;
|
print '</tr>';
|
||||||
print "<tr $bc[$var]><td>".$alpha . '</td><td>'.$$alpha." ".$fuser->rights->facture->lire."</td></tr>\n";
|
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user