Subversion Repositories Applications.papyrus

Rev

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

Rev 442 Rev 487
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: integrateur_wikini.admin.php,v 1.3 2005-09-14 09:12:15 ddelon Exp $
22
// CVS : $Id: integrateur_wikini.admin.php,v 1.4 2005-09-30 07:48:35 ddelon Exp $
23
/**
23
/**
24
* Gestion des Wikini associé à un menu pour papyrus : lit et stocke les informations dans la
24
* Gestion des Wikini associé à un menu pour papyrus : lit et stocke les informations dans la
25
* champs gm_application_arguments de la table gen_menu 
25
* champs gm_application_arguments de la table gen_menu 
26
* 
26
* 
27
* Principe :
27
* Principe :
Line 51... Line 51...
51
* 
51
* 
52
*@package IntegrateurWikini
52
*@package IntegrateurWikini
53
//Auteur original :
53
//Auteur original :
54
*@author        David Delon <david.delon@clapas.net>
54
*@author        David Delon <david.delon@clapas.net>
55
*@copyright     Tela-Botanica 2000-2004
55
*@copyright     Tela-Botanica 2000-2004
56
*@version       $Revision: 1.3 $ $Date: 2005-09-14 09:12:15 $
56
*@version       $Revision: 1.4 $ $Date: 2005-09-30 07:48:35 $
57
// +------------------------------------------------------------------------------------------------------+
57
// +------------------------------------------------------------------------------------------------------+
58
*/
58
*/
Line 59... Line 59...
59
 
59
 
Line 206... Line 206...
206
	    	$requete = "select * from gen_wikini where gewi_id_wikini=".$_GET['id_wikini'] ;
206
	    	$requete = "select * from gen_wikini where gewi_id_wikini=".$_GET['id_wikini'] ;
207
    		$resultat = $db->query ($requete) ;
207
    		$resultat = $db->query ($requete) ;
208
    		if (DB::isError ($resultat)) {
208
    		if (DB::isError ($resultat)) {
209
        		trigger_error("Echec de la requete : $requete<br />".$resultat->getMessage(), E_USER_WARNING) ;
209
        		trigger_error("Echec de la requete : $requete<br />".$resultat->getMessage(), E_USER_WARNING) ;
210
        	return ;
210
        	return ;
211
    	}
211
    		}
Line 212... Line 212...
212
    	
212
    	
213
    	$info_wikini = $resultat->fetchRow (DB_FETCHMODE_OBJECT) ;
213
	    	$info_wikini = $resultat->fetchRow (DB_FETCHMODE_OBJECT) ;
214
	    $formulaire->setDefaults(array('code_alpha_wikini'=>$info_wikini->gewi_code_alpha_wikini)) ;
214
		    $formulaire->setDefaults(array('code_alpha_wikini'=>$info_wikini->gewi_code_alpha_wikini)) ;
215
	    $formulaire->setDefaults(array('page'=>$info_wikini->gewi_page)) ;
215
		    $formulaire->setDefaults(array('page'=>$info_wikini->gewi_page)) ;
216
	    $resultat->free();
216
		    $resultat->free();
217
	    
217
		    
218
	    }	
218
	    }	
Line 219... Line 219...
219
	    else {
219
	    else {
220
	    	
220
	    	
Line 274... Line 274...
274
 
274
 
275
 
275
 
276
/* +--Fin du code ----------------------------------------------------------------------------------------+
276
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
277
*
-
 
278
* $Log: not supported by cvs2svn $
-
 
279
* Revision 1.3  2005/09/14 09:12:15  ddelon
277
*
280
* Integrateur Wikini et administration des Wikini
278
* $Log: not supported by cvs2svn $
281
*
279
* Revision 1.2  2005/09/06 08:35:36  ddelon
282
* Revision 1.2  2005/09/06 08:35:36  ddelon
280
* Integrateur Wikini et administration des Wikini
283
* Integrateur Wikini et administration des Wikini
281
*
284
*