/trunk/client/integrateur_wikini/bibliotheque/wikini/wakka.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/formatters/php.php |
---|
File deleted |
\ No newline at end of file |
/trunk/client/integrateur_wikini/bibliotheque/wikini/formatters/raw.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/formatters/code.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/formatters/action.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/formatters/wakka.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/interwiki.conf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/client/integrateur_wikini/bibliotheque/wikini/README |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/recentcomments.php |
---|
File deleted |
\ No newline at end of file |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/header.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/listpages.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/listusers.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/footer.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/usersettings.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/backlinks.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/interwikilist.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/recentchangesrss.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/wantedpages.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/pageindex.php |
---|
File deleted |
\ No newline at end of file |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/resetpassword.php |
---|
File deleted |
\ No newline at end of file |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/mypages.php |
---|
File deleted |
\ No newline at end of file |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/recentchanges.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/textsearch.php |
---|
File deleted |
\ No newline at end of file |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/findpage.php |
---|
File deleted |
\ No newline at end of file |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/mychanges.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/test.php |
---|
File deleted |
\ No newline at end of file |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/orphanedpages.php |
---|
File deleted |
\ No newline at end of file |
/trunk/client/integrateur_wikini/bibliotheque/wikini/actions/recentlycommented.php |
---|
File deleted |
\ No newline at end of file |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/claim.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/edit.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/referrers_sites.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/diff.orig.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/diff.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/code_bota_wikini.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/raw.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/addcomment.php |
---|
File deleted |
\ No newline at end of file |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/wakka.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/deletepage.php |
---|
File deleted |
\ No newline at end of file |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/referrers.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/show.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/xml.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/revisions.php |
---|
File deleted |
/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/acls.php |
---|
File deleted |
\ No newline at end of file |
/trunk/client/integrateur_wikini/bibliotheque/wikini/LICENSE |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/client/integrateur_wikini/bibliotheque/adwi_wikini.fonct.php |
---|
New file |
0,0 → 1,167 |
<?php |
/*vim: set expandtab tabstop=4 shiftwidth=4: */ |
// +------------------------------------------------------------------------------------------------------+ |
// | PHP version 4.1 | |
// +------------------------------------------------------------------------------------------------------+ |
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) | |
// +------------------------------------------------------------------------------------------------------+ |
// | This file is part of Papyrus. | |
// | | |
// | Foobar is free software; you can redistribute it and/or modify | |
// | it under the terms of the GNU General Public License as published by | |
// | the Free Software Foundation; either version 2 of the License, or | |
// | (at your option) any later version. | |
// | | |
// | Foobar is distributed in the hope that it will be useful, | |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
// | GNU General Public License for more details. | |
// | | |
// | You should have received a copy of the GNU General Public License | |
// | along with Foobar; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: adwi_wikini.fonct.php,v 1.1 2005-08-25 08:59:12 ddelon Exp $ |
/** |
* Contient les fonctions de l'application gestion des Wikini |
* |
* |
* |
* |
*@package Admin_Wikini |
*@subpackage Fonctions |
//Auteur original : |
*@author David Delon <david.delon@tela-botanica.org> |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.1 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
// +------------------------------------------------------------------------------------------------------+ |
// | LISTE de FONCTIONS | |
// +------------------------------------------------------------------------------------------------------+ |
/* CRUD */ |
/** |
* |
* D du CRUD |
* @return |
*/ |
function adwi_supprimer_wikini($id_wikini, &$db) { |
$requete = "delete from gen_wikini where gewi_id_wikini =$id_wikini" ; |
$resultat = $db->query ($requete) ; |
} |
/** |
* |
* |
* @return |
*/ |
function adwi_valeurs_par_defaut($id_wikini, &$db) { |
// requete sur gen_wikin |
$requete = "select * from gen_wikini where gewi_id_wikini=$id_wikini" ; |
$resultat = $db->query ($requete) ; |
if (DB::isError ($resultat)) { |
trigger_error("Echec de la requete : $requete<br />".$resultat->getMessage(), E_USER_WARNING) ; |
return ; |
} |
$tableau_retour = array () ; |
$ligne = $resultat->fetchRow (DB_FETCHMODE_OBJECT) ; |
$tableau_retour['code_alpha_wikini'] = $ligne->gewi_code_alpha_wikini; |
$tableau_retour['bdd_hote'] = $ligne->gewi_bdd_hote ; |
$tableau_retour['bdd_nom'] = $ligne->gewi_bdd_nom; |
$tableau_retour['bdd_utilisateur'] = $ligne->gewi_bdd_utilisateur; |
$tableau_retour['bdd_mdp'] = $ligne->gewi_bdd_mdp; |
$tableau_retour['table_prefix'] = $ligne->gewi_table_prefix ; |
$tableau_retour['page'] = $ligne->gewi_page; |
$tableau_retour['description'] = $ligne->gewi_description ; |
unset ($requete, $resultat); |
return $tableau_retour ; |
} |
/** |
* |
* C du CRUD |
* @return |
*/ |
function insertion ($valeur, &$db) { |
// Calcul dernier identifiant |
$id_wikini_bdd = SQL_obtenirNouveauId ($db, 'gen_wikini', 'gewi_id_wikini') ; |
$requete = "insert into gen_wikini set gewi_id_wikini =" |
.$id_wikini_bdd."," |
.requete_gewi_wikini($valeur) ; |
$resultat = $db->query ($requete) ; |
if (DB::isError ($resultat)) { |
trigger_error("Echec de la requete : $requete<br />".$resultat->getMessage(),E_USER_WARNING) ; |
} |
} |
/** |
* |
* U du CRUD |
* @return |
*/ |
function mise_a_jour ($valeur, &$db) { |
$requete = "update gen_wikini set ".requete_gewi_wikini($valeur) |
.' where gewi_id_wikini ='.$GLOBALS['id_wikini'] ; |
$resultat = $db->query ($requete) ; |
if (DB::isError ($resultat)) { |
trigger_error("Echec de la requete : $requete<br />".$resultat->getMessage(),E_USER_WARNING) ; |
} |
} |
/** |
* |
* Formate code sql pour insertion à partir des valeurs entrees dans le formulaire |
* |
* @return string un morceau de code SQL |
*/ |
function requete_gewi_wikini (&$valeur) { |
return 'gewi_code_alpha_wikini ="'.$valeur['code_alpha_wikini'].'", ' |
.'gewi_bdd_hote ="'.$valeur['bdd_hote'].'", ' |
.'gewi_bdd_nom="'.$valeur['bdd_nom'].'", ' |
.'gewi_bdd_utilisateur ="'.$valeur['bdd_utilisateur'].'", ' |
.'gewi_bdd_mdp="'.$valeur['bdd_mdp'].'", ' |
.'gewi_table_prefix="'.$valeur['table_prefix'].'", ' |
.'gewi_description="'.$valeur['description'].'", ' |
.'gewi_page="'.$valeur['page'].'"'; |
} |
// +------------------------------------------------------------------------------------------------------+ |
// | PIED du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.1 2005/03/09 10:44:04 jpm |
* Mise au norme du nom du fichier. |
* |
* Revision 1.2 2005/03/09 10:40:33 alex |
* version initiale |
* |
* Revision 1.1 2004/12/13 18:07:28 alex |
* version initiale |
* |
* |
* +-- Fin du code ----------------------------------------------------------------------------------------+ |
*/ |
?> |
/trunk/client/integrateur_wikini/bibliotheque/adwi_HTML_formulaireWikini.class.php |
---|
New file |
0,0 → 1,119 |
<?php |
/*vim: set expandtab tabstop=4 shiftwidth=4: */ |
// +------------------------------------------------------------------------------------------------------+ |
// | PHP version 4.1 | |
// +------------------------------------------------------------------------------------------------------+ |
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) | |
// +------------------------------------------------------------------------------------------------------+ |
// | This library is free software; you can redistribute it and/or | |
// | modify it under the terms of the GNU General Public | |
// | License as published by the Free Software Foundation; either | |
// | version 2.1 of the License, or (at your option) any later version. | |
// | | |
// | This library is distributed in the hope that it will be useful, | |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
// | General Public License for more details. | |
// | | |
// | You should have received a copy of the GNU General Public | |
// | 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: adwi_HTML_formulaireWikini.class.php,v 1.1 2005-08-25 08:59:12 ddelon Exp $ |
/** |
* |
* Admin Wikini |
* |
* Classe affichage gestion des Wikini de Papyrus |
* |
*@package projet |
//Auteur original : |
*@author David Delon <david.delon@clapas.net> |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.1 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
// +------------------------------------------------------------------------------------------------------+ |
// | ENTETE du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
/** Inclure le fichier de langue pour utiliser cette classe de façon autonome. */ |
require_once 'HTML/QuickForm.php' ; |
require_once 'HTML/QuickForm/checkbox.php' ; |
require_once 'HTML/QuickForm/select.php' ; |
// +------------------------------------------------------------------------------------------------------+ |
// | LISTE des constantes | |
// +------------------------------------------------------------------------------------------------------+ |
/** |
* class HTML_formulaireProjet |
* Cette classe représente un formulaire pour saisir un wikini ou le modifier |
*/ |
class HTML_formulaireWikini extends HTML_QuickForm |
{ |
/** |
* Constructeur |
* |
* @param string formName Le nom du formulaire. |
* @param string method Soit get soit post, voir le protocole HTTP |
* @param string action L'action du formulaire. |
* @param string target La cible du formulaire. |
* @param Array attributes Des attributs supplémentaires pour la balise <form> |
* @param bool trackSubmit Pour repérer si la formulaire a été soumis. |
* @return void |
* @access public |
*/ |
function HTML_formulaireWikini( $formName = "", $method = "post", $action = "", $target = "_self", $attributes = "", $trackSubmit = false ) |
{ |
HTML_QuickForm::HTML_QuickForm($formName, $method, $action, $target, $attributes, $trackSubmit) ; |
} // end of member function HTML_formulaireProjet |
/** |
* Renvoie le code HTML du formulaire. |
* |
* @return string |
* @access public |
*/ |
function toHTML( ) |
{ |
$res = HTML_QuickForm::toHTML() ; |
return $res ; |
} // end of member function toHTML |
/** |
* Ajoute les champs nécessaire au formulaire. |
* |
* @return void |
* @access public |
*/ |
function construitFormulaire($url_retour) |
{ |
$this->addElement ('text', 'code_alpha_wikini', ADWI_NOM_WIKINI, array ('size' => 60)) ; |
$this->addRule ('code_alpha_wikini', ADWI_NOM_WIKINI_ALERTE, 'required', '', 'client') ; |
$this->addElement ('text', 'bdd_hote', ADWI_BDD_HOTE, array ('size' => 60)) ; |
$this->addElement ('text', 'bdd_nom', ADWI_BDD_NOM, array ('size' => 60)) ; |
$this->addElement ('text', 'bdd_utilisateur', ADWI_BDD_UTILISATEUR, array ('size' => 60)) ; |
$this->addElement ('text', 'bdd_mdp', ADWI_BDD_MDP, array ('size' => 60)) ; |
$this->addElement ('text', 'table_prefix', ADWI_TABLE_PREFIX, array ('size' => 60)) ; |
$this->addElement ('text', 'page', ADWI_PAGE, array ('size' => 60)) ; |
$this->addElement ('textarea', 'description', ADWI_DESCRIPTION, array ('cols' => 50, 'rows' => 5)) ; |
$this->setRequiredNote('<span style="color: #ff0000">*</span>'.ADWI_CHAMPS_REQUIS) ; |
// on fait un groupe avec les boutons pour les mettres sur la même ligne |
$buttons[] = &HTML_QuickForm::createElement('button', 'annuler', ADWI_ANNULER, array ("onclick" => "javascript:document.location.href='".str_replace ('&', '&', $url_retour->getURL())."'")); |
$buttons[] = &HTML_QuickForm::createElement('submit', 'valider', ADWI_VALIDER); |
$this->addGroup($buttons, null, null, ' '); |
} // end of member function _construitFormulaire |
} // end of HTML_formulaireProjet |
?> |
/trunk/client/integrateur_wikini/bibliotheque/iw_affichage_xhtml.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: iw_affichage_xhtml.fonct.php,v 1.1 2005-08-18 10:20:08 ddelon Exp $ |
// CVS : $Id: iw_affichage_xhtml.fonct.php,v 1.2 2005-08-25 08:59:12 ddelon Exp $ |
/** |
* Fichier permettant d'inclure les données dans du XHTML. |
* |
34,7 → 34,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2005 |
*@version $Revision: 1.1 $ $Date: 2005-08-18 10:20:08 $ |
*@version $Revision: 1.2 $ $Date: 2005-08-25 08:59:12 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
66,11 → 66,6 |
// +------------------------------------------------------------------------------------------------------+ |
// LES PIEDS DE PAGES |
case "pied_page" : |
$html_renvoyer = |
'<p class="eflore_pied_page">'. |
'Si vous constatez des problèmes ou des insuffisances en utilisant cette application, veuillez contacter :'. |
'<a href="mailto:jpm@tela-botanica.org">Jean-Pascal MILCENT</a>'. |
'</p>'; |
break; |
}//fin du switch |
80,7 → 75,10 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.1 2005/08/18 10:20:08 ddelon |
* Integrateur Wikini et Acces PEAR |
* |
* |
* +-- Fin du code ----------------------------------------------------------------------------------------+ |
*/ |
?> |