[Fusionforge-commits] FusionForge branch Branch_5_3 updated. ab70e435c16fac47606352507a87a993c6776f17
Franck VILLAUME
nerville at fusionforge.org
Wed Feb 19 18:47:12 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, Branch_5_3 has been updated
via ab70e435c16fac47606352507a87a993c6776f17 (commit)
from e3af452458fd189e2ea61d8c6108ff70e175915e (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 ab70e435c16fac47606352507a87a993c6776f17
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Wed Feb 19 18:46:28 2014 +0100
plugin projectimport: fix admin and tooltip value. These fields are mandatory
diff --git a/src/plugins/projectimport/common/ProjectImportPlugin.class.php b/src/plugins/projectimport/common/ProjectImportPlugin.class.php
index 640cb9e..e388bec 100644
--- a/src/plugins/projectimport/common/ProjectImportPlugin.class.php
+++ b/src/plugins/projectimport/common/ProjectImportPlugin.class.php
@@ -1,7 +1,7 @@
<?php
-
/**
* ProjectImportPlugin Class
+ * Copyright 2014, Franck Villaume - TrivialDev
*
* This file is part of FusionForge. FusionForge is free software;
* you can redistribute it and/or modify it under the terms of the
@@ -65,9 +65,13 @@ class ProjectImportPlugin extends Plugin {
}
if ( $project->usesPlugin ( $this->name ) ) {
$params['TITLES'][]=$this->text;
+ $params['ADMIN'][] = NULL;
+ $params['TOOLTIPS'][] = NULL;
$params['DIRS'][]=util_make_url ('/plugins/projectimport/index.php?type=group&group_id=' . $group_id . "&pluginname=" . $this->name) ; // we indicate the part we're calling is the project one
} else {
$params['TITLES'][]=$this->text." is [Off]";
+ $params['ADMIN'][] = NULL;
+ $params['TOOLTIPS'][] = NULL;
$params['DIRS'][]='';
}
(($params['toptab'] == $this->name) ? $params['selected']=(count($params['TITLES'])-1) : '' );
-----------------------------------------------------------------------
Summary of changes:
src/plugins/projectimport/common/ProjectImportPlugin.class.php | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list