19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: eflore.php,v 1.2 2004-06-17 15:20:39 linda Exp $ |
// CVS : $Id: eflore.php,v 1.3 2004-06-22 12:27:20 linda Exp $ |
/** |
* Application de consultation des données d'eFlore. |
* |
36,7 → 36,7 |
//Autres auteurs : |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.2 $ $Date: 2004-06-17 15:20:39 $ |
*@version $Revision: 1.3 $ $Date: 2004-06-22 12:27:20 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
53,6 → 53,9 |
/** Inclusion de la bibliothèque PEAR de conception de formulaire.*/ |
require_once 'HTML/QuickForm.php'; |
|
/** Definition de la variable globale db_eflore.*/ |
$GLOBALS['db_eflore']= DB::connect(EFLORE_DSN); |
|
// +------------------------------------------------------------------------------------------------------+ |
// | CORPS du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
66,14 → 69,14 |
|
function afficherContenuCorps() |
{ |
$onglet = $_GET['onglet']; |
if (!isset($onglet)) |
if (!isset($_GET['onglet'])) |
{ |
$sortie = ""; |
} |
elseif($onglet=='photo') |
elseif($_GET['onglet']=='photo') |
{ |
include_once GEN_CHEMIN_CLIENT.'eflore/eflore_photo.inc.php'; |
$GLOBALS['db_eflore']->disconnect(); |
$sortie=$res; |
} |
|