noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 242/323: ajax_card : warning if there is no c


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 242/323: ajax_card : warning if there is no category of cards
Date: Wed, 14 Mar 2018 17:38:58 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit e0451db986910d29ab6d453ee40ee11933160325
Author: Dany De Bontridder <address@hidden>
Date:   Fri Feb 23 22:25:10 2018 +0100

    ajax_card : warning if there is no category of cards
---
 include/ajax/ajax_card.php | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/include/ajax/ajax_card.php b/include/ajax/ajax_card.php
index eae29a7..d4a076b 100644
--- a/include/ajax/ajax_card.php
+++ b/include/ajax/ajax_card.php
@@ -261,27 +261,23 @@ case 'st':
     }
     if ( strpos($where," in ()") != 0)
     {
-             $html=Icon_Action::close('select_card_div');
-             $html.=h2info(_('Choix de la catégorie'));
-             $html.='<h3 class="notice">';
-             $html.=_("Aucune catégorie de fiche ne correspond à".
+             $html=_("Aucune catégorie de fiche ne correspond à".
             " votre demande, le journal pourrait n'avoir accès à aucune 
fiche");
-             $html.='</h3>';
              break;
     }
     $sql.=" ".$where." order by fd_label";
 
     $array=$cn->get_array($sql);
-    $html=HtmlInput::title_box(_("Choix de la catégorie"), $ctl);
-
+    
+    $list_fiche="";
     if ( empty($array))
     {
-        $html.=_("Aucune catégorie de fiche ne correspond  à votre demande");
+        $html=_("Aucune catégorie de fiche ne correspond  à votre demande");
         if ( DEBUG )        $html.=$sql;
     }
     else
     {
-        $list_fiche="";
+        $html=HtmlInput::title_box(_("Choix de la catégorie"), $ctl);
         $r='';
         
        $r.='<div dd>';



reply via email to

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