This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.0 has been updated
       via  021a67e0d25b7199e5cb1d1b5dc146b0a0a70807 (commit)
      from  eaf09839fe9e90fec1a34c7e7a6c5dd6992337d1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 021a67e0d25b7199e5cb1d1b5dc146b0a0a70807
Author: Franck Villaume <[email protected]>
Date:   Sat Apr 11 19:26:21 2015 +0200

    frs: fix html syntax

diff --git a/src/common/frs/views/listpackages.php 
b/src/common/frs/views/listpackages.php
index f8b0ef5..19d6bbc 100644
--- a/src/common/frs/views/listpackages.php
+++ b/src/common/frs/views/listpackages.php
@@ -96,10 +96,10 @@ if (count($FRSPackages) < 1) {
                $package_name_protected = $HTML->toSlug($package_name);
                $package_ziplink = '';
                if ($FRSPackageReleases && $num_releases >= 1 && 
class_exists('ZipArchive') && 
file_exists($FRSPackage->getReleaseZipPath($FRSPackage->getNewestReleaseID()))) 
{
-                               // display link to latest-release-as-zip
-                               $package_ziplink = util_make_link('#', 
$HTML->getZipPic(_('Download the newest release as ZIP.').' '._('This link 
always points to the newest release as a ZIP file.')), array('onclick' => 
'location:href=\''.util_make_uri('/frs/download.php/latestzip/'.$FRSPackage->getID().'/'.$FRSPackage->getNewestReleaseZipName()).'\''),
 true);
+                       // display link to latest-release-as-zip
+                       $package_ziplink = html_e('span', array('class' => 
'frs-zip-package'), util_make_link('#', $HTML->getZipPic(_('Download the newest 
release as ZIP.').' '._('This link always points to the newest release as a ZIP 
file.')), array('onclick' => 
'location:href=\''.util_make_uri('/frs/download.php/latestzip/'.$FRSPackage->getID().'/'.$FRSPackage->getNewestReleaseZipName()).'\''),
 true));
                }
-               echo html_e('h2', array('id' => 'title_'. 
$package_name_protected), html_entity_decode($package_name).html_e('span', 
array('class' => 'frs-monitor-package'), $package_monitor).html_e('span', 
array('class' => 'frs-zip-package'), $package_ziplink));
+               echo html_e('h2', array('id' => 'title_'. 
$package_name_protected), html_entity_decode($package_name).html_e('span', 
array('class' => 'frs-monitor-package'), $package_monitor).$package_ziplink);
 
                if ( !$FRSPackageReleases || $num_releases < 1 ) {
                        echo $HTML->warning_msg(_('No releases'));

-----------------------------------------------------------------------

Summary of changes:
 src/common/frs/views/listpackages.php |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to