[Fusionforge-commits] FusionForge branch master updated. 5fc3a832ee0b7795ea5e04656a0d8bf07e0233d6
Franck VILLAUME
nerville at fusionforge.org
Wed Feb 19 18:46:34 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 5fc3a832ee0b7795ea5e04656a0d8bf07e0233d6 (commit)
from 7e7760e666fe8c1a7c1a04f2e41bc534d4b7e050 (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 5fc3a832ee0b7795ea5e04656a0d8bf07e0233d6
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