bug 310, affichage du nombre max de photos dans trombi promo
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 31 Jul 2005 04:01:04 +0000 (04:01 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 31 Jul 2005 04:01:04 +0000 (04:01 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@9 839d8a87-29fc-0310-9880-83ba4fa771e5

ChangeLog
htdocs/trombipromo.php

index 987003c..541f6b4 100644 (file)
--- 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
 
index a499834..403274a 100644 (file)
@@ -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();