Subversion Repositories Applications.papyrus

Rev

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

Rev 1830 Rev 1841
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: identification.php,v 1.37 2008-04-18 14:19:09 jp_milcent Exp $
22
// CVS : $Id: identification.php,v 1.38 2008-05-22 15:05:54 alexandre_tb Exp $
23
/**
23
/**
24
* Applette : identification
24
* Applette : identification
25
*
25
*
26
* Génère un formulaire les champs nécessaires pour s'identifier.
26
* Génère un formulaire les champs nécessaires pour s'identifier.
27
* Nécessite :
27
* Nécessite :
Line 36... Line 36...
36
//Auteur original :
36
//Auteur original :
37
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
37
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
38
//Autres auteurs :
38
//Autres auteurs :
39
*@author        Aucun
39
*@author        Aucun
40
*@copyright     Tela-Botanica 2000-2004
40
*@copyright     Tela-Botanica 2000-2004
41
*@version       $Revision: 1.37 $ $Date: 2008-04-18 14:19:09 $
41
*@version       $Revision: 1.38 $ $Date: 2008-05-22 15:05:54 $
42
// +------------------------------------------------------------------------------------------------------+
42
// +------------------------------------------------------------------------------------------------------+
43
*/
43
*/
Line 44... Line 44...
44
 
44
 
45
// +------------------------------------------------------------------------------------------------------+
45
// +------------------------------------------------------------------------------------------------------+
Line 199... Line 199...
199
    $chp_structure='';           
199
    $chp_structure='';           
200
    if (isset($InfoAuthBdd->chp_structure_nom)) {
200
    if (isset($InfoAuthBdd->chp_structure_nom)) {
201
    	$chp_structure = $objet_pear_auth->getAuthData($InfoAuthBdd->chp_structure_nom);
201
    	$chp_structure = $objet_pear_auth->getAuthData($InfoAuthBdd->chp_structure_nom);
202
    }
202
    }
203
    if ($objet_pear_auth->getAuth()) { $loggue = true; } else { $loggue = false; }
203
    if ($objet_pear_auth->getAuth()) { $loggue = true; } else { $loggue = false; }
204
            
204
    
-
 
205
    /** Compteur sert a compter le nombre de fois qu est appele l applet
-
 
206
     * et ce afin que les tabindex du formulaire soient correct
-
 
207
     */  
-
 
208
    
-
 
209
    static $compteur = 0;
205
	ob_start();
210
	ob_start();
206
	include $options['template'];
211
	include $options['template'];
207
	$retour = ob_get_contents();
212
	$retour = ob_get_contents();
208
	// Arrete et detruit le buffer
213
	// Arrete et detruit le buffer
209
	ob_end_clean();		       
214
	ob_end_clean();		 
-
 
215
	      
-
 
216
	$compteur++;
210
 
217
	
211
    return $retour;
218
    return $retour;
212
}
219
}
Line 213... Line 220...
213
 
220
 
214
// +------------------------------------------------------------------------------------------------------+
221
// +------------------------------------------------------------------------------------------------------+
Line 218... Line 225...
218
 
225
 
219
 
226
 
220
/* +--Fin du code ----------------------------------------------------------------------------------------+
227
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
228
*
-
 
229
* $Log: not supported by cvs2svn $
-
 
230
* Revision 1.37  2008-04-18 14:19:09  jp_milcent
221
*
231
* Fusion avec la livraison AHA : 18 avril 2008
222
* $Log: not supported by cvs2svn $
232
*
223
* Revision 1.35.2.2  2008-04-18 14:14:55  jp_milcent
233
* Revision 1.35.2.2  2008-04-18 14:14:55  jp_milcent
224
* Gestion de plusieurs applettes identifications sur la même page html.
234
* Gestion de plusieurs applettes identifications sur la même page html.
225
* Correction de bogues.
235
* Correction de bogues.