Author: danydb
Date: 2013-10-20 22:33:45 +0200 (Sun, 20 Oct 2013)
New Revision: 5521

Modified:
   phpcompta/trunk/include/history_operation.inc.php
   phpcompta/trunk/include/user_common.php
Log:
Bug with image next/previous

Modified: phpcompta/trunk/include/history_operation.inc.php
===================================================================
--- phpcompta/trunk/include/history_operation.inc.php   2013-10-20 19:42:58 UTC 
(rev 5520)
+++ phpcompta/trunk/include/history_operation.inc.php   2013-10-20 20:33:45 UTC 
(rev 5521)
@@ -144,7 +144,9 @@
 /*
  * Export to csv
  */
-$r = HtmlInput::get_to_hidden(array('l', 'date_start', 'date_end', 'desc', 
'amount_min', 'amount_max', 'qcode', 'accounting', 'unpaid', 'gDossier', 
'ledger_type', 'p_action'));
+$r = HtmlInput::get_to_hidden(array('l', 'date_paid_start','date_paid_end',
+    'date_start', 'date_end', 'desc', 'amount_min', 'amount_max', 'qcode', 
+    'accounting', 'unpaid', 'gDossier', 'ledger_type', 'p_action'));
 if (isset($_GET['r_jrn']))
 {
        foreach ($_GET['r_jrn'] as $k => $v)

Modified: phpcompta/trunk/include/user_common.php
===================================================================
--- phpcompta/trunk/include/user_common.php     2013-10-20 19:42:58 UTC (rev 
5520)
+++ phpcompta/trunk/include/user_common.php     2013-10-20 20:33:45 UTC (rev 
5521)
@@ -116,9 +116,9 @@
         $step=$p_size;
         $offset=($e-1)*$step;
 
-        $r='<A class="mtitle" 
href="'.$_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step".'"
 '.$p_javascript.'>';
-        //$r.="Pr&eacute;c&eacute;dent";
-        $r.='<INPUT TYPE="IMAGE" width="12" SRC="image/go-previous.png">';
+        $r='<A class="mtitle" 
href="'.basename($_SERVER['SCRIPT_FILENAME'])."?".$url."&offset=$offset&step=$step&page=$e&size=$step".'"
 '.$p_javascript.'>';
+        $r.="  &larr;";
+        // $r.='<INPUT TYPE="IMAGE" width="12" SRC="image/go-previous.png">';
         $r.="</A>&nbsp;&nbsp;";
     }
     //----------------------------------------------------------------------
@@ -162,8 +162,8 @@
         $offset=($e-1)*$step;
 
         $r.='&nbsp;<A class="mtitle" 
href="'.$_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step".'"
 '.$p_javascript.' >';
-        //$r.="Suivant";
-        $r.='<INPUT TYPE="IMAGE" width="12" SRC="image/go-next.png">';
+        $r.="&rarr;";
+        //$r.='<INPUT TYPE="IMAGE" width="12" SRC="image/go-next.png">';
         $r.="</A>";
     }
 



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

_______________________________________________
Phpcompta  est un logiciel libre de comptabilit&#233; en ligne 
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to