[Fusionforge-commits] FusionForge branch master updated. 1973bd6a1e4dd60dc1800c2695bf33bc0db9dfed

Franck VILLAUME nerville at fusionforge.org
Mon Feb 24 17:33:40 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  1973bd6a1e4dd60dc1800c2695bf33bc0db9dfed (commit)
      from  36c1e96904cc14d5c54c84b4386db4eccc448392 (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 1973bd6a1e4dd60dc1800c2695bf33bc0db9dfed
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Mon Feb 24 16:32:58 2014 +0100

    plugin projects-hierarchy: use util_make_link_g

diff --git a/src/plugins/projects-hierarchy/common/projects-hierarchyPlugin.class.php b/src/plugins/projects-hierarchy/common/projects-hierarchyPlugin.class.php
index d973935..a0382c1 100644
--- a/src/plugins/projects-hierarchy/common/projects-hierarchyPlugin.class.php
+++ b/src/plugins/projects-hierarchy/common/projects-hierarchyPlugin.class.php
@@ -182,7 +182,7 @@ class projects_hierarchyPlugin extends Plugin {
 				$return .= html_ao('ul', array('class' => 'simpleTreeMenu'));
 			}
 			foreach ($leafs as $leaf) {
-				$return .= html_ao('li', array('id' => 'leaf-'.$leaf)).util_make_link('/projects/'.group_getunixname($leaf), group_getname($leaf));
+				$return .= html_ao('li', array('id' => 'leaf-'.$leaf)).util_make_link_g(group_getunixname($leaf), $leaf, group_getname($leaf));
 				$return .= $this->getTree($leaf, 'child');
 				$return .= html_ac(html_ap() - 1);
 			}
@@ -194,6 +194,7 @@ class projects_hierarchyPlugin extends Plugin {
 	}
 
 	function showTree() {
+		echo html_ao('div', array('id' => 'project-hierarchy-tree'));
 		echo html_ao('ul', array('id' => 'tree'));
 		echo $this->getTree();
 		echo html_ac(html_ap() -1);
@@ -204,7 +205,7 @@ class projects_hierarchyPlugin extends Plugin {
 				}
 			})
 			//]]>'."\n";
-		echo html_ac(html_ap() -1);
+		echo html_ac(html_ap() - 2);
 	}
 
 	/**

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

Summary of changes:
 .../projects-hierarchy/common/projects-hierarchyPlugin.class.php  |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list