Subversion Repositories eFlore/Archives.herbiers

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 17
Line 19... Line 19...
19
// |                                                                                                      |
19
// |                                                                                                      |
20
// | You should have received a copy of the GNU General Public License                                    |
20
// | You should have received a copy of the GNU General Public License                                    |
21
// | along with Foobar; if not, write to the Free Software                                                |
21
// | along with Foobar; if not, write to the Free Software                                                |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
23
// +------------------------------------------------------------------------------------------------------+
23
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: hbc_info_herbier.inc.php,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $
24
// CVS : $Id: hbc_info_herbier.inc.php,v 1.2 2006-12-08 17:38:15 jp_milcent Exp $
25
/**
25
/**
26
* Application fournissant des informations sur les herbiers
26
* Application fournissant des informations sur les herbiers
27
*
27
*
28
* Fournit des informations sur un herbier enregistré dans la base de données.
28
* Fournit des informations sur un herbier enregistré dans la base de données.
29
*
29
*
Line 31... Line 31...
31
//Auteur original :
31
//Auteur original :
32
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
32
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
33
//Autres auteurs :
33
//Autres auteurs :
34
*@author        Jean-Pascal MILCENT <jpm@clapas.org>
34
*@author        Jean-Pascal MILCENT <jpm@clapas.org>
35
*@copyright     Tela-Botanica 2000-2005
35
*@copyright     Tela-Botanica 2000-2005
36
*@version       $Revision: 1.1 $ $Date: 2005-11-23 10:32:32 $
36
*@version       $Revision: 1.2 $ $Date: 2006-12-08 17:38:15 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
Line 39... Line 39...
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 103... Line 103...
103
                '</a></h2>'."\n";
103
                '</a></h2>'."\n";
104
} else {
104
} else {
105
    $sortie .= '</h2>'."\n";
105
    $sortie .= '</h2>'."\n";
106
}
106
}
Line -... Line 107...
-
 
107
 
-
 
108
if ($herb->LOGO != '') {
-
 
109
	$sortie .=  '<img id="hb_logo" src="'.$herb->LOGO.'" alt="Logo de l\'institution '.$herb->INSTITUTION_NAME.'"/>'."\n";
-
 
110
}
107
 
111
$sortie .=  '<div id="hb_renseignement_admin">'."\n";
108
$sortie .=  '<dl class="hb_affichage_tabulaire">'."\n".
112
$sortie .=  '<dl class="hb_affichage_tabulaire">'."\n".
-
 
113
            '<dt>'.'Nom : '.'</dt>';
-
 
114
if ($herb->HO_URL != 'http://') {
-
 
115
    $sortie .=  '<dd><a class="lien_ext" href="'.$herb->HO_URL.'">'.$herb->INSTITUTION_NAME.'</a></dd>'."\n";
109
            '<dt>'.'Nom : '.'</dt>'.
116
} else {            
-
 
117
	$sortie .=  '<dd>'.$herb->INSTITUTION_NAME.'</dd>'."\n";
110
            '<dd>'.$herb->INSTITUTION_NAME.'</dd>'."\n";
118
}
111
$sortie .=  '<dt>'.'Index herbariorum : '.'</dt>'."\n";
119
$sortie .=  '<dt>'.'Index herbariorum : '.'</dt>'."\n";
112
if ($herb->EMAIL) {
120
if ($herb->INDEX_HERB) {
113
    $sortie .=  '<dd>'.$herb->INDEX_HERB.'</dd>'."\n";
121
    $sortie .=  '<dd>'.$herb->INDEX_HERB.'</dd>'."\n";
114
} else {
122
} else {
115
    $sortie .=  '<dd>&nbsp;</dd>'."\n";
123
    $sortie .=  '<dd>&nbsp;</dd>'."\n";
116
}
124
}
Line 175... Line 183...
175
            $sortie .= '</dl>'."\n";
183
            $sortie .= '</dl>'."\n";
176
            $sortie .= '</div>'."\n";
184
            $sortie .= '</div>'."\n";
177
        }
185
        }
178
    }
186
    }
179
}
187
}
180
 
-
 
-
 
188
$sortie .=  '</div>'."\n";
181
// 4. l'équipe
189
// 4. l'équipe
182
if (is_array($herb->equipe_liste) && count($herb->equipe_liste) != 0) {
190
if (is_array($herb->equipe_liste) && count($herb->equipe_liste) != 0) {
183
    $sortie .= '<h2>'.'L\'équipe'.'</h2>'."\n";
191
    $sortie .= '<h2>'.'L\'équipe'.'</h2>'."\n";
184
    for ($i = 0 ; $i < count($herb->equipe_liste) ; $i++) {
192
    for ($i = 0 ; $i < count($herb->equipe_liste) ; $i++) {
185
        $sortie .= '<div id="el1'.$i.'Parent" class="parent">'."\n".
193
        $sortie .= '<div id="el1'.$i.'Parent" class="parent">'."\n".
Line 239... Line 247...
239
 
247
 
240
 
248
 
241
/* +--Fin du code ----------------------------------------------------------------------------------------+
249
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
250
*
-
 
251
* $Log: not supported by cvs2svn $
-
 
252
* Revision 1.1  2005/11/23 10:32:32  jp_milcent
-
 
253
* Ajout au dépot de l'application Herbiers.
242
*
254
* Elle doit à terme migrer dans eFlore.
243
* $Log: not supported by cvs2svn $
255
*
244
* Revision 1.4  2005/04/06 13:29:41  jpm
256
* Revision 1.4  2005/04/06 13:29:41  jpm
245
* Correction du nom d'un attribut de la classe organisation.
257
* Correction du nom d'un attribut de la classe organisation.
246
*
258
*