Ignore:
Timestamp:
12/01/09 14:33:34 (15 years ago)
Author:
amuller
Message:

Ticket #597 - Melhorias no módulos gerenciador de arquivos do expresso livre

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/filemanager/inc/class.uifilemanager.inc.php

    r1726 r1727  
    577577                                $tuple['icon'] = $this->mime_icon($files['mime_type']); 
    578578                                $tuple['type'] = $files['type']; 
    579                                 if ($files['created'] != ''){ 
    580                                         $timestamp = $this->vfs_functions->dateString2timeStamp($files['created']); 
    581                                         if (time() - $timestamp > 86400) // Older than yesterday 
    582                                                 $tuple['creatd']=date("Y-m-d",$timestamp); 
    583                                         else 
    584                                                 $tuple['creatd']=date("H:i",$timestamp); 
    585                                 } 
    586                                 else 
    587                                         $tuple['creatd']=''; 
    588                                 if ($files['modified'] != ''){ 
    589                                         $timestamp = $this->vfs_functions->dateString2timeStamp($files['modified']); 
    590                                         if (time() - $timestamp > 86400) // Older than yesterday 
    591                                                 $tuple['modifd']=date("Y-m-d",$timestamp); 
    592                                         else 
    593                                                 $tuple['modifd']=date("H:i",$timestamp); 
    594                                 } 
    595                                 else 
    596                                         $tuple['modifd']=''; 
    597  
     579                                $tuple['creatd'] = $this->vfs_functions->dateString2timeStamp($files['created']); 
     580                                $tuple['modifd'] = $this->vfs_functions->dateString2timeStamp($files['modified']); 
    598581                                $tuple['size'] = $files['size']; 
    599582                                $tuple['mime'] = $files['mime_type']; 
     
    607590 
    608591                        } 
    609  
     592                        // TODO Order files directly into SQL 
    610593                        foreach ($output as $key => $row) { 
    611                                 $temp[$key]  = $row[$this->criteria]; 
     594                                $temp[$key]  = strtoupper($row[$this->criteria]); 
    612595                        } 
    613596                        if ($this->otype == "1") 
Note: See TracChangeset for help on using the changeset viewer.