phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r5153 - in phpcompta/tags/rel650/include: . template


From: phpcompta-dev
Subject: [Phpcompta-dev] r5153 - in phpcompta/tags/rel650/include: . template
Date: Sun, 11 Nov 2012 20:51:40 +0100 (CET)

Author: danydb
Date: 2012-11-11 20:51:40 +0100 (Sun, 11 Nov 2012)
New Revision: 5153

Modified:
   phpcompta/tags/rel650/include/fiche.inc.php
   phpcompta/tags/rel650/include/template/fiche_list.php
Log:
0000750: place de nouvelle fiche et effacer

Modified: phpcompta/tags/rel650/include/fiche.inc.php
===================================================================
--- phpcompta/tags/rel650/include/fiche.inc.php 2012-11-11 19:47:20 UTC (rev 
5152)
+++ phpcompta/tags/rel650/include/fiche.inc.php 2012-11-11 19:51:40 UTC (rev 
5153)
@@ -201,8 +201,8 @@
                $cond   order by 2 offset $offset $limit
        ");
        $nb_line = Database::num_row($res);
+       if ($write != 1 || $allcard != 0 )  $str_add_card="";
        require_once 'template/fiche_list.php';
-       if ($write == 1 && $allcard == 0 ) echo $str_add_card;
        echo '<hr>'.$bar;
        exit();
 }

Modified: phpcompta/tags/rel650/include/template/fiche_list.php
===================================================================
--- phpcompta/tags/rel650/include/template/fiche_list.php       2012-11-11 
19:47:20 UTC (rev 5152)
+++ phpcompta/tags/rel650/include/template/fiche_list.php       2012-11-11 
19:51:40 UTC (rev 5153)
@@ -76,6 +76,7 @@
 
 
        </table>
+       <?=$str_add_card?>
 <?=HtmlInput::hidden('action',"1");?>
 <?=HtmlInput::submit('delete','Effacer la sélection ')?>
 <? if ( $allcard ==  0  ): ?>



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]