noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 16/27: #0001736: PHP7 comptability + translat


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 16/27: #0001736: PHP7 comptability + translation
Date: Wed, 4 Sep 2019 15:24:57 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit e187a515bcdcb7a33065d1e37cf3049cb646a007
Author: Dany De Bontridder <address@hidden>
Date:   Thu Aug 29 19:14:47 2019 +0200

    #0001736: PHP7 comptability
    + translation
---
 include/template/fiche_def_input.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/template/fiche_def_input.php 
b/include/template/fiche_def_input.php
index b7291e7..ceefb0c 100644
--- a/include/template/fiche_def_input.php
+++ b/include/template/fiche_def_input.php
@@ -23,15 +23,15 @@
 <TD colspan='2'> <INPUT TYPE="CHECKBOX" NAME="create" CHECKED><?php echo 
_("Création automatique du poste comptable uniquement s'il n'y a qu'un seul 
poste")?></TD>
 </TR>
 </table>
-<h2>Modèles de catégorie</h2>
+<h2><?php echo _("Modèles de catégorie")?></h2>
 <ul>
 <?php
-  if ( sizeof($ref)  ) {
+  if ( !empty ($ref)  ) {
     foreach ($ref as $i=>$v) { ?>
     <li style="list-style-type: none">
 <?php echo $iradio->input("FICHE_REF",$v['frd_id']);
    echo $v['frd_text'];
-   if ( sizeof ($v['frd_class_base']) != 0 )
+   if ( !empty ($v['frd_class_base']) != 0 )
           echo "&nbsp;&nbsp<I>Class base = ".$v['frd_class_base']."</I>";
 
     }?>



reply via email to

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