order in todo list
This commit is contained in:
parent
09cbd33b29
commit
e204d17d96
1 changed files with 2 additions and 2 deletions
|
|
@ -36,11 +36,11 @@ if ( ! empty ($array) ) {
|
|||
|
||||
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'].'\')">'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue