Subversion Repositories eFlore/Archives.herbiers

Compare Revisions

Ignore whitespace Rev 6 → Rev 7

/trunk/applications/hb_admin/bibliotheque/hba_manipulation.fonct.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: hba_manipulation.fonct.php,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $
// CVS : $Id: hba_manipulation.fonct.php,v 1.2 2006-10-30 18:57:46 jp_milcent Exp $
/**
* Fonctions de manipulation de la base de données Herbier.
*
34,7 → 34,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@clapas.org>
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.1 $ $Date: 2005-11-23 10:32:32 $
*@version $Revision: 1.2 $ $Date: 2006-10-30 18:57:46 $
// +------------------------------------------------------------------------------------------------------+
*/
 
280,8 → 280,9
function nouveau_v(&$un_herbier)
{
$retour = '';
$form = new formFromTable($GLOBALS['_HERBIER_']['bdd'], '');
$form = new formFromTable($GLOBALS['_HERBIER_']['bdd'], 'HERBIERS_ORGANISATION');
$form = $form->acquerir('HERBIERS_ORGANISATION');
$id = $form->insertMySQL();
if ($_POST['INSTITUTION_NAME'] == '') {
$form = new formFromTable($GLOBALS['_HERBIER_']['bdd'], 'HERBIERS_ORGANISATION', 'MOD', $id, 'ID_ORG');
329,6 → 330,8
$form->addCommentaire('<br />'.'Pensez à supprimer le contenu du champs ci-dessous si les informations que vous saisissez ne viennent pas de l\'Index Herbariorum, remplacez par votre nom.');
$form->addChamps('SOURCE_DES_DONNEES', 'Source des informations');
$form->addCommentaire('<strong><span class="symbole_obligatoire">'.'*'.'</span>'.' : '.'</strong>'.'champ obligatoire.');
$form->addChamps('DATE_DERNIERE_MODIF', '', date('Y-m-j H:i:s', time()), $type = 'hidden');
$form->addChamps('CE_MODIFIER_PAR', '', $un_herbier->utilisateur->getId(), $type = 'hidden');
if ($form->id != HBA_EXEMPLE_ID) {
$form->submit('Valider', 'herbier_pere');
684,6 → 687,9
);
$form->addChamps('DOC_STATE', 'État de la documentation : ');
$form->addChamps('PERCENT_DATABASED', '% de la documentation en base de données : ');
$form->addChamps('DATE_DERNIERE_MODIF', '', date('Y-m-j H:i:s', time()), $type = 'hidden');
$form->addChamps('CE_MODIFIER_PAR', '', $un_herbier->utilisateur->getId(), $type = 'hidden');
if ($un_herbier->organisation->getId() != HBA_EXEMPLE_ID) {
$form->submit('Valider');
}
1392,6 → 1398,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2005/11/23 10:32:32 jp_milcent
* Ajout au dépot de l'application Herbiers.
* Elle doit à terme migrer dans eFlore.
*
* Revision 1.5 2005/06/09 17:31:42 jpm
* Affichage en permanence dans le menu du lien vers l'accueil.
*