diff options
author | akshay | 2024-12-12 16:51:44 +0530 |
---|---|---|
committer | GitHub | 2024-12-12 16:51:44 +0530 |
commit | b5c481f6cdf2e5d2e6adc0896085a9a5c47a6644 (patch) | |
tree | 6c9e70d785188404bb56083eb12ab5c857f91711 | |
parent | 28919cd78c16c128a49878c3da9a8cefe16c1b93 (diff) | |
parent | 6b5a9520ea8da2ff6047c2e89a53b79f0b18cbea (diff) | |
download | Esim-Pspice-to-kicad-convertor-b5c481f6cdf2e5d2e6adc0896085a9a5c47a6644.tar.gz Esim-Pspice-to-kicad-convertor-b5c481f6cdf2e5d2e6adc0896085a9a5c47a6644.tar.bz2 Esim-Pspice-to-kicad-convertor-b5c481f6cdf2e5d2e6adc0896085a9a5c47a6644.zip |
table data order by year
-rwxr-xr-x | pspice_to_kicad.module | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pspice_to_kicad.module b/pspice_to_kicad.module index eef6744..971e42c 100755 --- a/pspice_to_kicad.module +++ b/pspice_to_kicad.module @@ -590,10 +590,11 @@ function pspice_to_kicad_view() $rows = array(); $header = array( - array('data' => 'Date'), + array('data' => 'Uploaded by'), array('data' => 'Download'), array('data' => ''), + array('data' => 'Date'), ); @@ -613,10 +614,10 @@ function pspice_to_kicad_view() $user = $query->execute(); $user_data = $user->fetchObject(); - $item = array(date('d-m-Y', strtotime($row->converted_date)), $user_data->name, + $item = array( $user_data->name, l($row->converted_filename, '/pspice-to-kicad/download/file/' . $row->id, array('attributes' => array('title' => 'Click to download converted file'))), "<a href='description/{$row->id}' class='autodialog' data-dialog-width='700' title='Click to view more detail about file'>Detail</a>", - + date('d-m-Y', strtotime($row->converted_date)), ); array_push($rows, $item); } |