From 3142aa06940632d0bf052b47a30870a8d5d5b2a9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 8 Jun 2004 11:09:10 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20barre=20navigation=20ann=E9e=20suivante?= =?UTF-8?q?-pr=E9c=E9dente?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/charges/index.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/charges/index.php b/htdocs/compta/charges/index.php index 0950ad023aa..f5f94874bbb 100644 --- a/htdocs/compta/charges/index.php +++ b/htdocs/compta/charges/index.php @@ -28,12 +28,11 @@ $user->getrights('compta'); if (!$user->admin && !$user->rights->compta->charges) accessforbidden(); - $year=$_GET["year"]; $filtre=$_GET["filtre"]; +if (! $year) { $year=date("Y", time()); } - -print_titre("Charges - Résumé".($year > 0?" $year":"")); +print_fiche_titre("Charges",($year?"".img_previous()." Année $year ".img_next()."":"")); print "
"; print '';