~ubuntu-branches/ubuntu/trusty/fusionforge/trusty

« back to all changes in this revision

Viewing changes to plugins/projects_hierarchy/www/hierarchy_utils.php

  • Committer: Bazaar Package Importer
  • Author(s): Roland Mas
  • Date: 2011-04-15 14:55:34 UTC
  • mfrom: (4.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20110415145534-mvn1nochufjmw177
Tags: 5.0.3-1
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
2
/*
3
 
 * Copyright 2004 GForge, LLC
4
 
 *
5
 
 * @author Fabien Regnier fabien.regnier@sogeti.com
6
 
 * @date 2006-10-10
7
 
 *
8
 
 * This file is part of GForge.
9
 
 *
10
 
 * GForge is free software; you can redistribute it and/or modify
 
3
 * Copyright 2004 (c) GForge LLC
 
4
 * Copyright 2006 (c) Fabien Regnier - Sogeti
 
5
 *
 
6
 * This file is part of FusionForge.
 
7
 *
 
8
 * FusionForge is free software; you can redistribute it and/or modify
11
9
 * it under the terms of the GNU General Public License as published by
12
10
 * the Free Software Foundation; either version 2 of the License, or
13
11
 * (at your option) any later version.
14
12
 *
15
 
 * GForge is distributed in the hope that it will be useful,
 
13
 * FusionForge is distributed in the hope that it will be useful,
16
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
16
 * GNU General Public License for more details.
19
17
 *
20
18
 * You should have received a copy of the GNU General Public License
21
 
 * along with GForge; if not, write to the Free Software
 
19
 * along with FusionForge; if not, write to the Free Software
22
20
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23
21
 */
24
22
 
28
26
                
29
27
                $family = get_family($group_id);
30
28
                $cond = '';
 
29
                $skipped = array() ;
31
30
                if($family != NULL){
32
31
                        
33
32
                        reset($family);
34
 
                        $skipped = array() ;
35
33
                        while (list($key, $val) = each($family)) {
36
34
                                $skipped[] = $val ;
37
35
                        }