Subversion Repositories Applications.papyrus

Rev

Rev 754 | Rev 1030 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 754 Rev 1014
Line 17... Line 17...
17
// |                                                                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
19
// | License along with this library; if not, write to the Free Software                                  |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: plan.php,v 1.5 2006-03-02 10:49:49 ddelon Exp $
22
// CVS : $Id: plan.php,v 1.6 2006-10-06 10:03:14 florian Exp $
23
/**
23
/**
24
* Application réalisant le plan d'un site web géré par Papyrus.
24
* Application réalisant le plan d'un site web géré par Papyrus.
25
*
25
*
26
* Construit une liste de listes représentant le plans des sites web gérés par Papyrus.
26
* Construit une liste de listes représentant le plans des sites web gérés par Papyrus.
27
* Cette application est fortement dépendante de Papyrus puisqu'elle se base sur 
27
* Cette application est fortement dépendante de Papyrus puisqu'elle se base sur 
Line 31... Line 31...
31
//Auteur original :
31
//Auteur original :
32
*@author        Alexandre GRANIER <alexandrel@tela-botanica.org>
32
*@author        Alexandre GRANIER <alexandrel@tela-botanica.org>
33
//Autres auteurs :
33
//Autres auteurs :
34
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
34
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
35
*@copyright     Tela-Botanica 2000-2004
35
*@copyright     Tela-Botanica 2000-2004
36
*@version       $Revision: 1.5 $ $Date: 2006-03-02 10:49:49 $
36
*@version       $Revision: 1.6 $ $Date: 2006-10-06 10:03:14 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
Line 39... Line 39...
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 90... Line 90...
90
        $retour .= '<h1 id="titre_page">'.PLAN_PLAN_DES_SITES.'</h1>'."\n";
90
        $retour .= '<h1 id="titre_page">'.PLAN_PLAN_DES_SITES.'</h1>'."\n";
91
    }
91
    }
Line 92... Line 92...
92
    
92
    
93
    foreach ($aso_sites as $cle => $site) {
93
    foreach ($aso_sites as $cle => $site) {
94
    	// On ignore le site admin
94
    	// On ignore le site admin
Line 95... Line 95...
95
    	if ($site['gs_code_alpha'] == 'admin') continue;
95
    	if ($site['gs_code_alpha'] == 'admin' && $GLOBALS['_GEN_commun']['info_site']->gs_code_alpha!='admin') continue;
96
    	
96
    	
97
        if (count($aso_sites) > 1) {
97
        if (count($aso_sites) >= 1) {
98
            if (!empty($site['gs_titre'])) {
98
            if (!empty($site['gs_titre'])) {
99
                $titre = $site['gs_titre'];
99
                $titre = $site['gs_titre'];
100
            } else {
100
            } else {
Line 162... Line 162...
162
 
162
 
163
 
163
 
164
/* +--Fin du code ----------------------------------------------------------------------------------------+
164
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
165
*
-
 
166
* $Log: not supported by cvs2svn $
-
 
167
* Revision 1.5  2006/03/02 10:49:49  ddelon
165
*
168
* Fusion branche multilinguisme dans branche principale
166
* $Log: not supported by cvs2svn $
169
*
167
* Revision 1.4.2.1  2006/02/28 14:02:09  ddelon
170
* Revision 1.4.2.1  2006/02/28 14:02:09  ddelon
168
* Finition multilinguisme
171
* Finition multilinguisme
169
*
172
*