Author: danydb
Date: 2011-12-18 22:05:48 +0100 (Sun, 18 Dec 2011)
New Revision: 4625

Modified:
   phpcompta/trunk/include/template/dashboard.php
Log:
order in todo list

Modified: phpcompta/trunk/include/template/dashboard.php
===================================================================
--- phpcompta/trunk/include/template/dashboard.php      2011-12-18 21:01:50 UTC 
(rev 4624)
+++ phpcompta/trunk/include/template/dashboard.php      2011-12-18 21:05:48 UTC 
(rev 4625)
@@ -36,11 +36,11 @@
 
   foreach ($array as $row) {
     if ( $nb % 2 == 0 ) $odd='class="odd" '; else $odd='class="even" ';
-    if ( strcmp($today,$row['tl_date'])==0) { $odd.=' 
style="background-color:#FFEA00"';}
+    if ( strcmp($today,$row['str_tl_date'])==0) { $odd.=' 
style="background-color:#FFEA00"';}
     $nb++;
     echo '<tr id="tr'.$row['tl_id'].'" '.$odd.'>'.
       '<td>'.
-      $row['tl_date'].
+      $row['str_tl_date'].
       '</td>'.
       '<td>'.
       '<a class="line" href="javascript:void(0)" 
onclick="todo_list_show(\''.$row['tl_id'].'\')">'.


_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to