From 576afacf8baca34d96cee962047bf5b79fbba447 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 26 Apr 2003 14:25:47 +0000 Subject: [PATCH] Ajout fonction Block Access --- htdocs/lib/functions.inc.php3 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/htdocs/lib/functions.inc.php3 b/htdocs/lib/functions.inc.php3 index ab8febf574f..0b4ad38d357 100644 --- a/htdocs/lib/functions.inc.php3 +++ b/htdocs/lib/functions.inc.php3 @@ -240,11 +240,10 @@ function print_liste_field_titre($name, $file, $field, $begin="") print ''; print ''; print ''; - } function print_titre($titre) - { +{ global $conf; print ''; print ''; @@ -254,6 +253,19 @@ function print_titre($titre) * * */ + +function block_access() +{ + llxHeader(); + print "Accés refusé"; + llxFooter(); +} + +/* + * + * + */ + function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $sortorder='', $form='') { global $conf;
'.$titre.'