[evolvis-commits] r6540: - Two small bugfixes => Button in the right high and a release file zip name will now again not displayed if there is no zip file .
papel at evolvis.org
papel at evolvis.org
Fri Apr 16 16:32:45 CEST 2010
Author: papel
Date: 2010-04-16 14:32:44 +0000 (Fri, 16 Apr 2010)
New Revision: 6540
Modified:
trunk/gforge_base/gforge-4.8.1+evolvis/www/frs/index.php
trunk/gforge_base/gforge-4.8.1+evolvis/www/reporting/useract.php
Log:
- Two small bugfixes => Button in the right high and a release file zip name will now again not displayed if there is no zip file.
Modified: trunk/gforge_base/gforge-4.8.1+evolvis/www/frs/index.php
===================================================================
--- trunk/gforge_base/gforge-4.8.1+evolvis/www/frs/index.php 2010-04-15 09:08:35 UTC (rev 6539)
+++ trunk/gforge_base/gforge-4.8.1+evolvis/www/frs/index.php 2010-04-16 14:32:44 UTC (rev 6540)
@@ -126,10 +126,11 @@
$frsDownload->createNewestReleaseFilesAsZip(); #Creates a zip-archiv
$fileName = $frsDownload->getNewestReleaseAsStandardFileName();
if(file_exists($frsDownload->getPackagePathAsString().'/'.$fileName)) {
- $link=util_make_url ('/frs/download.php/'.$fileName.'?group_id='.$cur_group->getID().'&package_id='.$frsPackage->getID().'&file='.$fileName.'&static_link=true&release_zip=true');
+ $link_=util_make_url ('/frs/download.php/'.$fileName.'?group_id='.$cur_group->getID().'&package_id='.$frsPackage->getID().'&file='.$fileName.'&static_link=true&release_zip=true');
+ $link = '<a href="'.$link_.'" title="'._('This link always points to the newest release zip file.').'" />'.$fileName.'</a>';
} else { $link = _('No version available.'); }
- print '<table><tr '.$cur_style.'><td colspan="3"> <em>'._('Download newest version:').' <a href="'.$link.'" title="'._('This link always points to the newest release zip file.').'" />'.$fileName.'</a></em></td></tr></table>';
+ print '<table><tr '.$cur_style.'><td colspan="3"> <em>'._('Download newest version:').' '.$link.'</em></td></tr></table>';
print '</td></tr>';
// get the releases of the package
Modified: trunk/gforge_base/gforge-4.8.1+evolvis/www/reporting/useract.php
===================================================================
--- trunk/gforge_base/gforge-4.8.1+evolvis/www/reporting/useract.php 2010-04-15 09:08:35 UTC (rev 6539)
+++ trunk/gforge_base/gforge-4.8.1+evolvis/www/reporting/useract.php 2010-04-16 14:32:44 UTC (rev 6540)
@@ -72,7 +72,7 @@
<td><strong><?php echo _('Type'); ?>:</strong><br /><?php echo report_span_box('SPAN',$SPAN); ?></td>
<td><strong><?php echo _('Start'); ?>:</strong><br /><?php echo report_months_box($report, 'start', $start); ?></td>
<td><strong><?php echo _('End'); ?>:</strong><br /><?php echo report_months_box($report, 'end', $end); ?></td>
- <td><input type="submit" name="submit" value="<?php echo _('Refresh'); ?>"></td>
+ <td><br /><input type="submit" name="submit" value="<?php echo _('Refresh'); ?>"></td>
</tr></table>
</form>
<p>
More information about the evolvis-commits
mailing list