From: x2001corpet Date: Sun, 31 Jul 2005 04:01:04 +0000 (+0000) Subject: bug 310, affichage du nombre max de photos dans trombi promo X-Git-Tag: xorg/0.9.9~186 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=0c17d715cc6ac890d61b321fe2421d6bbe04df67;p=platal.git bug 310, affichage du nombre max de photos dans trombi promo git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@9 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/ChangeLog b/ChangeLog index 987003c..541f6b4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,9 +8,12 @@ New : Bug/Wish : + * Core : + - #310: Display the max number of photo in trombipromo. -Car + * Profile : - #330: Interface to delete usage name is clearer. -Car - + ================================================================================ VERSION 0.9.8 18 Jul 2005 diff --git a/htdocs/trombipromo.php b/htdocs/trombipromo.php index a499834..403274a 100644 --- a/htdocs/trombipromo.php +++ b/htdocs/trombipromo.php @@ -59,6 +59,9 @@ if (Env::has('xpromo')) { $trombi->setAdmin(); $page->assign_by_ref('trombi',$trombi); } +} else { + $tmp = new Trombi(); + $page->assign("limit", $tmp->limit); } $page->run();