noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 245/323: Remove obsolete hardcoded sort


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 245/323: Remove obsolete hardcoded sort
Date: Wed, 14 Mar 2018 17:38:59 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 1f5551cc82036d706f785c8673447e6a951669a9
Author: Dany De Bontridder <address@hidden>
Date:   Fri Feb 23 22:31:55 2018 +0100

    Remove obsolete hardcoded sort
---
 include/ajax/ajax_boxcard_search.php         | 1 -
 include/ajax/ajax_navigator.php              | 1 -
 include/class/fiche.class.php                | 2 +-
 include/compta_fin_rec.inc.php               | 2 +-
 include/compta_fin_saldo.inc.php             | 2 +-
 include/template/result_cat_card_summary.php | 3 +--
 6 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/include/ajax/ajax_boxcard_search.php 
b/include/ajax/ajax_boxcard_search.php
index f956af8..e8668f9 100644
--- a/include/ajax/ajax_boxcard_search.php
+++ b/include/ajax/ajax_boxcard_search.php
@@ -51,7 +51,6 @@ 
$max=(count($array)>MAX_CARD_SEARCH)?MAX_CARD_SEARCH:count($array);
                </th>
                <th class=" sorttable_sorted">
                        Nom
-               <span id="sorttable_sortfwdind">&nbsp;&#x25BE;</span>
                </th>
                <th>
                        <?php echo _("Categorie");?>
diff --git a/include/ajax/ajax_navigator.php b/include/ajax/ajax_navigator.php
index 8d08920..757b370 100644
--- a/include/ajax/ajax_navigator.php
+++ b/include/ajax/ajax_navigator.php
@@ -51,7 +51,6 @@ $a_menu=$cn->get_array($sql,array($_SESSION['g_user']));
             <th class='sorttable_sorted'>
                 Code AD 
                 <?php echo Icon_Action::infobulle(34); ?>
-                <span id="sorttable_sortfwdind">&nbsp<img 
src="image/up.gif"></span>
             </th>
             <th>
                 <?php echo _("Chemin");?>
diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index 1da11c7..1486c52 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -1757,7 +1757,7 @@ class Fiche
             <TR >
             <TH>'._('Quick Code').Icon_Action::infobulle(17).'</TH>'.
             '<th>'._('Poste comptable').'</th>'.
-            '<th  class="sorttable_sorted">'._('Nom').'<span 
id="sorttable_sortfwdind"><img src="image/up.gif"></span>'.'</th>
+            '<th  class="sorttable_sorted">'._('Nom').'</th>
             <th>'._('Adresse').'</th>
             <th style="text-align:right">'._('Total débit').'</th>
             <th style="text-align:right">'._('Total crédit').'</th>
diff --git a/include/compta_fin_rec.inc.php b/include/compta_fin_rec.inc.php
index fa79dfe..5577b0e 100644
--- a/include/compta_fin_rec.inc.php
+++ b/include/compta_fin_rec.inc.php
@@ -233,7 +233,7 @@ echo '<span style="display:block">';
        echo '</span>';
 echo '<table id="t_rec_bk" class="sortable" style="width:90%;margin-left:5%">';
 
-$r ='<th class=" sorttable_sorted">'.'Date '.Icon_Action::infobulle(17).'<span 
id="sorttable_sortfwdind"><img src="image/up.gif"></span>'.'</th>';
+$r ='<th class=" sorttable_sorted">'.'Date 
'.Icon_Action::infobulle(17).'</th>';
 $r.=th('Libellé');
 $r.=th('N° interne');
 $r.=th('Montant', ' style="text-align:right"');
diff --git a/include/compta_fin_saldo.inc.php b/include/compta_fin_saldo.inc.php
index c56e567..42b6e9b 100644
--- a/include/compta_fin_saldo.inc.php
+++ b/include/compta_fin_saldo.inc.php
@@ -44,7 +44,7 @@ echo h1(_("Exercice")." ".$exercice);
 echo _('Cherche').' : '.HtmlInput::filter_table("fin_saldo_tb", '0,1,2,3', 
'1');
 echo '<table class="sortable"  style="margin-left:2%;width:96%" class="result" 
id="fin_saldo_tb">';
 echo tr(th('Quick Code', ' class=" sorttable_sorted"',
-                Icon_Action::infobulle(17).'<span 
id="sorttable_sortfwdind"><img src="image/up.gif"></span>')
+                Icon_Action::infobulle(17))
         .th(_('Compte en banque'), ' style="text-align:left"')
         .th(_('Journal'), ' style="text-align:center"')
         .th(_('Description'), ' style="text-align:center"')
diff --git a/include/template/result_cat_card_summary.php 
b/include/template/result_cat_card_summary.php
index 8c91ccc..6fc97b4 100644
--- a/include/template/result_cat_card_summary.php
+++ b/include/template/result_cat_card_summary.php
@@ -16,10 +16,9 @@ for ($i=0;$i<count($aHeading);$i++) :
     $span="";$sort="";
    if ($i==0)
    {
-       $span='<span id="sorttable_sortfwdind">&nbsp;&nbsp;&#x25BE;</span>';
        $sort= 'class="sorttable_sorted"';
    }
-   echo '<th '.$sort.'>'.$aHeading[$i]->ad_text.$span.'</th>';
+   echo '<th '.$sort.'>'.$aHeading[$i]->ad_text.'</th>';
    endfor;
 ?>
 </tr>



reply via email to

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