[Fusionforge-commits] FusionForge branch master updated. 026795524cd88b32fc061fd1aec73fdf250503c4

Franck Villaume nerville at fusionforge.org
Thu Nov 6 13:38:04 CET 2014


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, master has been updated
       via  026795524cd88b32fc061fd1aec73fdf250503c4 (commit)
      from  ba5d6f1bf4019aa76ba43cf3af7850dee5a64d6c (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 026795524cd88b32fc061fd1aec73fdf250503c4
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Thu Nov 6 13:37:46 2014 +0100

    frs: use getConfigurePic helper

diff --git a/src/common/frs/views/admin.php b/src/common/frs/views/admin.php
index 553664c..edd27d5 100644
--- a/src/common/frs/views/admin.php
+++ b/src/common/frs/views/admin.php
@@ -118,7 +118,7 @@ if (count($FRSPackages) == 0) {
 			$content = util_make_link('/frs/?view=qrs&package_id='.$FRSPackage->getID().'&group_id='.$group_id, '<strong>['._('Add Release').']</strong>');
 		}
 		if (forge_check_perm('frs', $FRSPackage->getID(), 'file') && count($FRSPackage->getReleases()))  {
-			$content .= util_make_link('/frs/?view=showreleases&package_id='.$FRSPackage->getID().'&group_id='.$group_id, '<strong>['._('Edit Releases').']</strong>');
+			$content .= util_make_link('/frs/?view=showreleases&package_id='.$FRSPackage->getID().'&group_id='.$group_id, $HTML->getConfigurePic(_('Edit Releases'), _('Edit Releases')));
 		}
 		$cells[] = array($content, 'style' => 'white-space: nowrap;', 'align' => 'center');
 		$package_nameInputAttr = array('type' => 'text', 'name' => 'package_name', 'value' => html_entity_decode($FRSPackage->getName()), 'size' => 20, 'maxlength' => 60, 'required' => 'required', 'pattern' => '.{3,}', 'title' => _('At least 3 characters'));
diff --git a/src/common/frs/views/showreleases.php b/src/common/frs/views/showreleases.php
index 5946bc9..81beb05 100644
--- a/src/common/frs/views/showreleases.php
+++ b/src/common/frs/views/showreleases.php
@@ -82,7 +82,7 @@ if (count($rs) < 1) {
 		$cells[][] = html_e('input', $releaseInputAttr);
 		$cells[][] = $rs[$i]->getName();
 		$cells[][] = date('Y-m-d H:i',$rs[$i]->getReleaseDate());
-		$content = util_make_link('/frs/?view=editrelease&group_id='.$group_id.'&package_id='.$package_id.'&release_id='.$rs[$i]->getID(), '['._('Edit').']');
+		$content = util_make_link('/frs/?view=editrelease&group_id='.$group_id.'&package_id='.$package_id.'&release_id='.$rs[$i]->getID(), $HTML->getConfigurePic(_('Edit'), _('Edit')));
 		if (forge_check_perm('frs', $package_id, 'release')) {
 			$deleteUrlAction = util_make_uri('/frs/?action=deleterelease&package_id='.$package_id.'&group_id='.$group_id.'&release_id='.$rs[$i]->getID());
 			$content .= util_make_link('#', $HTML->getDeletePic(_('Delete this release'), _('Delete release')), array('onclick' => 'javascript:controllerFRS.toggleConfirmBox({idconfirmbox: \'confirmbox1\', do: \''._('Delete the release').' '.$rs[$i]->getName().'\', cancel: \''._('Cancel').'\', height: 150, width: 300, action: \''.$deleteUrlAction.'\'})' ), true);

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

Summary of changes:
 src/common/frs/views/admin.php        |    2 +-
 src/common/frs/views/showreleases.php |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list