[Fusionforge-commits] r14511 - branches/Branch_5_1/src/www/frs

Julien HEYMAN jheyman at fusionforge.org
Fri Sep 30 12:42:48 CEST 2011


Author: jheyman
Date: 2011-09-30 12:42:48 +0200 (Fri, 30 Sep 2011)
New Revision: 14511

Modified:
   branches/Branch_5_1/src/www/frs/index.php
Log:
Fix date display in FRS

Modified: branches/Branch_5_1/src/www/frs/index.php
===================================================================
--- branches/Branch_5_1/src/www/frs/index.php	2011-09-30 10:42:38 UTC (rev 14510)
+++ branches/Branch_5_1/src/www/frs/index.php	2011-09-30 10:42:48 UTC (rev 14511)
@@ -135,7 +135,7 @@
                 // Switch whether release_id exists and/or release_id is current one
                 if ( ! $release_id || $release_id==$package_release['release_id'] ) {
                     // no release_id OR release_id is current one
-                    $release_title = util_make_link ( 'frs/shownotes.php?release_id=' . $package_release['release_id'], $package_name.' '.$package_release['name']);
+                    $release_title = util_make_link ( 'frs/shownotes.php?release_id=' . $package_release['release_id'], $package_name.' '.$package_release['name'].' ('.date(_('Y-m-d H:i'),$package_release['release_date']).')');
                     echo $GLOBALS['HTML']->boxTop($release_title, $package_name . '_' . $package_release['name'])."\n";
                 } elseif ( $release_id!=$package_release['release_id'] ) {
                     // release_id but not current one
@@ -193,7 +193,7 @@
                             $file_release = db_fetch_array( $res_file );
 
                             $tmp_col1 = util_make_link ('/frs/download.php/'.$file_release['file_id'].'/'.$file_release['filename'], $file_release['filename']);
-                            $tmp_col2 = date(_('Y-m-d H:i'), $package_release['release_date'] );
+                            $tmp_col2 = date(_('Y-m-d H:i'), $file_release['release_time'] );
                             $tmp_col3 = human_readable_bytes($file_release['file_size']);
                             $tmp_col4 = ($file_release['downloads'] ? number_format($file_release['downloads'], 0) : '0');
                             $tmp_col5 = $file_release['processor'];




More information about the Fusionforge-commits mailing list