Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 831 → Rev 832

/trunk/papyrus/pap_connecte_bdd.inc.php
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: pap_connecte_bdd.inc.php,v 1.2 2004-10-15 18:29:19 jpm Exp $
// CVS : $Id: pap_connecte_bdd.inc.php,v 1.3 2006-04-28 12:41:49 florian Exp $
/**
* Connection à la base de données et inclusions des classes générées par DataObject de Pear.
*
32,7 → 32,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.2 $ $Date: 2004-10-15 18:29:19 $
*@version $Revision: 1.3 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
41,7 → 41,7
// +------------------------------------------------------------------------------------------------------+
 
/** <br> Inclusion de la classe PEAR d'abstraction de base de donnée. */
require_once 'DB.php';
require_once PAP_CHEMIN_API_PEAR.'DB.php';
 
// +------------------------------------------------------------------------------------------------------+
// | CORPS du PROGRAMME |
61,6 → 61,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.2 2004/10/15 18:29:19 jpm
* Modif pour gérer l'appli installateur de Papyrus.
*
* Revision 1.1 2004/06/16 08:11:22 jpm
* Changement de nom de Génésia en Papyrus.
* Changement de l'arborescence.
/trunk/papyrus/applications/installateur/bibliotheque/instal_installation.fonct.php
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: instal_installation.fonct.php,v 1.5 2005-09-23 14:20:23 florian Exp $
// CVS : $Id: instal_installation.fonct.php,v 1.6 2006-04-28 12:41:49 florian Exp $
/**
* Bibliothèque des fonctions de l'application Installateur de Papyrus.
*
33,7 → 33,7
//Autres auteurs :
*@author aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.5 $ $Date: 2005-09-23 14:20:23 $
*@version $Revision: 1.6 $ $Date: 2006-04-28 12:41:49 $
*/
 
// +------------------------------------------------------------------------------------------------------+
231,6 → 231,7
function retournerInfoRequete($sql)
{
$requete = array();
$resultat='';
if (preg_match('/(?i:CREATE TABLE) +(.+) +\(/', $sql, $resultat)) {
if (isset($resultat[1])) {
$requete['table_nom'] = $resultat[1];
330,7 → 331,10
}
/* +--Fin du code ---------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* $Log: not supported by cvs2svn $
* Revision 1.5 2005/09/23 14:20:23 florian
* nouvel habillage installateur, plus correction de quelques bugs
*
* Revision 1.4 2004/10/25 16:26:56 jpm
* Ajout de la gestion des requêtes de type alter et update.
*
/trunk/papyrus/applications/admin_auth/bibliotheque/HTML_formulaireAuth.class.php
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: HTML_formulaireAuth.class.php,v 1.3 2005-04-14 13:54:51 jpm Exp $
// CVS : $Id: HTML_formulaireAuth.class.php,v 1.4 2006-04-28 12:41:49 florian Exp $
/**
* Application projet
*
31,7 → 31,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.3 $
*@version $Revision: 1.4 $
// +------------------------------------------------------------------------------------------------------+
*/
 
42,9 → 42,9
 
/** 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' ;
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm.php' ;
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm/checkbox.php' ;
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm/select.php' ;
 
// +------------------------------------------------------------------------------------------------------+
// | LISTE des constantes |
/trunk/papyrus/applications/admin_application/bibliotheque/HTML_formulaireAppli.class.php
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: HTML_formulaireAppli.class.php,v 1.2 2005-03-09 10:40:33 alex Exp $
// CVS : $Id: HTML_formulaireAppli.class.php,v 1.3 2006-04-28 12:41:49 florian Exp $
/**
* Application projet
*
31,7 → 31,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.2 $
*@version $Revision: 1.3 $
// +------------------------------------------------------------------------------------------------------+
*/
 
42,9 → 42,9
 
/** 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' ;
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm.php' ;
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm/checkbox.php' ;
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm/select.php' ;
 
// +------------------------------------------------------------------------------------------------------+
// | LISTE des constantes |
/trunk/papyrus/applications/admin_menu/bibliotheque/adme_general.fonct.php
32,7 → 32,7
// pris connaissance de la licence CeCILL, et que vous en avez accepté les
// termes.
// ----
// CVS : $Id: adme_general.fonct.php,v 1.15 2006-03-24 13:03:24 ddelon Exp $
// CVS : $Id: adme_general.fonct.php,v 1.16 2006-04-28 12:41:49 florian Exp $
/**
* Contient l'affichage par défaut de l'appli quand aucune actin
*
46,7 → 46,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.15 $ $Date: 2006-03-24 13:03:24 $
*@version $Revision: 1.16 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
395,7 → 395,7
$objet_pear_url_copie->addQueryString('adme_site_id', $adme_site_id);
$objet_pear_url_copie->addQueryString('adme_menu_id', 0);
$url_ajout_menu_classique_n1 = $objet_pear_url_copie->getURL();
unset($url_ajout_menu_n1);
//unset($url_ajout_menu_n1);
$retour .= '<a href="'.$url_ajout_menu_classique_n1.'" >'.
ADME_LG_MENU_CLASSIQUE_RACINE.'&nbsp;'.
'<img class="'.ADME_CLASS_IMG_ICONE.'" src="'.ADME_IMAGE_NOUVEAU.'" alt="+" />'.
411,7 → 411,7
$objet_pear_url_copie->addQueryString('adme_site_id', $adme_site_id);
$objet_pear_url_copie->addQueryString('adme_menu_id', 0);
$url_ajout_menu_commun_n1 = $objet_pear_url_copie->getURL();
unset($url_ajout_menu_n1);
//unset($url_ajout_menu_n1);
$retour .= '<a href="'.$url_ajout_menu_commun_n1.'">'.
ADME_LG_MENU_COMMUN_RACINE.'&nbsp;'.
'<img class="'.ADME_CLASS_IMG_ICONE.'" src="'.ADME_IMAGE_NOUVEAU.'" alt="+" />'.
429,6 → 429,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.15 2006/03/24 13:03:24 ddelon
* bug afficheur multilinguisme
*
* Revision 1.14 2006/03/23 20:24:59 ddelon
* *** empty log message ***
*
/trunk/papyrus/applications/afficheur/configuration/affi_configuration.inc.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: affi_configuration.inc.php,v 1.12 2005-08-25 08:59:12 ddelon Exp $
// CVS : $Id: affi_configuration.inc.php,v 1.13 2006-04-28 12:41:49 florian Exp $
/**
* Application réalisant l'affichage du contenu stocké dans Papyrus.
*
34,7 → 34,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.12 $ $Date: 2005-08-25 08:59:12 $
*@version $Revision: 1.13 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
50,7 → 50,7
/** Chemin vers la bibliothèque PEAR.*/
define('AFFI_CHEMIN_BIBLIOTHEQUE_PEAR', '');
/** Chemin vers la bibliothèque API.*/
define('AFFI_CHEMIN_BIBLIOTHEQUE_API', GEN_CHEMIN_API);
define('AFFI_CHEMIN_BIBLIOTHEQUE_API', 'api'.GEN_SEP);
/** Chemin vers la bibliothèque API : fckeditor.*/
define('AFFI_CHEMIN_FCKEDITOR', AFFI_CHEMIN_BIBLIOTHEQUE_API.'fckeditor'.GEN_SEP);
/** Chemin vers l'application Admin de l'afficheur de Papyrus.*/
106,6 → 106,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.12 2005/08/25 08:59:12 ddelon
* Integrateur Wikini et administration des Wikini
*
* Revision 1.11 2005/08/18 10:20:04 ddelon
* Integrateur Wikini et Acces PEAR
*
/trunk/papyrus/applications/afficheur/afficheur.admin.php
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: afficheur.admin.php,v 1.17 2006-03-27 13:42:32 ddelon Exp $
// CVS : $Id: afficheur.admin.php,v 1.18 2006-04-28 12:41:49 florian Exp $
/**
* Gestion de la rédaction du contenu pour Papyrus.
*
32,7 → 32,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.17 $ $Date: 2006-03-27 13:42:32 $
*@version $Revision: 1.18 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
345,8 → 345,7
$fckeditor->ToolbarSet = $GLOBALS['_AFFI_']['fckeditor']['barre'];
$fckeditor->Config['CustomConfigurationsPath']=$GLOBALS['_AFFI_']['fckeditor']['CustomConfigurationsPath'];
$fckeditor->Config['AutoDetectLanguage'] = false;
$fckeditor->Config['DefaultLanguage'] = $GLOBALS['_AFFI_']['fckeditor']['langue'];
$fckeditor->Config['DefaultLanguage'] = $GLOBALS['_AFFI_']['fckeditor']['langue'];
$fckeditor->BasePath = AFFI_CHEMIN_FCKEDITOR;
if ($fckeditor->IsCompatible()) {
$form->addElement('html', '<li>'.$fckeditor->CreateHtml().'</li>');
468,6 → 467,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.17 2006/03/27 13:42:32 ddelon
* the last but not the least
*
* Revision 1.16 2006/03/27 11:21:49 ddelon
* Still some pb
*
/trunk/papyrus/configuration/pap_config.inc.php
1,5 → 1,5
<?php
// pap_config.inc.php construit le Tue Mar 14 10:25:18 2006
// pap_config.inc.php construit le Thu Mar 16 16:20:56 2006
// ne changez pas la version de Papyrus manuellement!
 
define('PAP_VERSION','0.21');
10,7 → 10,7
 
define('PAP_BDD_UTILISATEUR','root');
 
define('PAP_BDD_MOT_DE_PASSE','');
define('PAP_BDD_MOT_DE_PASSE','fs1980');
 
define('PAP_DSN', 'mysql://'.PAP_BDD_UTILISATEUR.':'.PAP_BDD_MOT_DE_PASSE.'@'.PAP_BDD_SERVEUR.'/'.PAP_BDD_NOM);
 
20,7 → 20,7
 
define('PAP_FTP_UTILISATEUR','florian');
 
define('PAP_FTP_MOT_DE_PASSE','');
define('PAP_FTP_MOT_DE_PASSE','fs1980');
 
define('PAP_FTP_RACINE','/papyrus/');
 
31,4 → 31,4
define('PAP_URL_REECRITURE','');
 
 
?>
?>
/trunk/papyrus/configuration/pap_config_avancee.inc.php
22,7 → 22,7
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// | |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: pap_config_avancee.inc.php,v 1.19 2006-03-13 21:00:20 ddelon Exp $
// CVS : $Id: pap_config_avancee.inc.php,v 1.20 2006-04-28 12:41:49 florian Exp $
/**
* Page de configuration avancée de Papyrus
*
36,7 → 36,7
*@author Alexandre GRANIER <alex@tela-botanica.org>
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.19 $ $Date: 2006-03-13 21:00:20 $
*@version $Revision: 1.20 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
44,6 → 44,7
// | ENTÊTE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
 
include_once 'pap_config.inc.php';
// +------------------------------------------------------------------------------------------------------+
// Paramétrage du mode d'écriture des fichiers sur le serveur
/** Booléen permetant de savoir si on utilise ou pas le ftp. */
118,7 → 119,7
/** Séparateur dans les chemins d'accès aux fichiers.*/
define('GEN_SEP', '/');
/** Chemin relatif par rapport au fichier papyrus.php vers le dossier contenant les fichiers des api.*/
define('GEN_CHEMIN_API', 'api'.GEN_SEP);
define('GEN_CHEMIN_API', PAP_CHEMIN_RACINE.'api'.GEN_SEP);
/** Chemin relatif par rapport au fichier papyrus.php vers le dossier contenant les fichiers des api.*/
define('PAP_CHEMIN_API_PEAR', GEN_CHEMIN_API.'pear'.GEN_SEP);
/** Chemin relatif par rapport au fichier papyrus.php vers le dossier contenant le reste de l'application Papyrus.*/
199,6 → 200,9
);
/* +--Fin du code ---------------------------------------------------------------------------------------+
* $Log: not supported by cvs2svn $
* Revision 1.19 2006/03/13 21:00:20 ddelon
* Suppression messages d'erreur multilinguisme
*
* Revision 1.18 2006/03/02 10:49:49 ddelon
* Fusion branche multilinguisme dans branche principale
*
/trunk/papyrus/pap_initialise_auth.inc.php
21,7 → 21,7
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// | |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: pap_initialise_auth.inc.php,v 1.20 2006-03-15 09:30:50 florian Exp $
// CVS : $Id: pap_initialise_auth.inc.php,v 1.21 2006-04-28 12:41:49 florian Exp $
/**
* Initialisation de l'authentification.
*
37,7 → 37,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.20 $ $Date: 2006-03-15 09:30:50 $
*@version $Revision: 1.21 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
46,7 → 46,7
// +------------------------------------------------------------------------------------------------------+
 
/** <br> Inclusion de l'authentification de PEAR.*/
include_once 'Auth/Auth.php';
include_once PAP_CHEMIN_API_PEAR.'Auth/Auth.php';
 
/** Inclusion de la bibliothèque de fonctions d'identification.
* Contient entre autre la fonction founissant le formulaire d'identification pour Auth de Pear.
277,10 → 277,10
setcookie('spip_session', $id_session, time() + 3600 * 24 * 30, "/$chemin_cookie_spip/") ;
}
set_include_path(get_include_path().':'.$chemin_spip);
//set_include_path(get_include_path().':'.$chemin_spip);
include_once 'ecrire/inc_db_mysql.php3';
include_once 'ecrire/inc_version.php3';
include_once $chemin_spip.'ecrire/inc_db_mysql.php3';
include_once $chemin_spip.'ecrire/inc_version.php3';
ob_flush();// Nécessaire car spip utilise un ob_start() et cela cause un plantage
include_ecrire ('inc_meta.php3');
310,6 → 310,9
 
/* +--Fin du code ---------------------------------------------------------------------------------------+
* $Log: not supported by cvs2svn $
* Revision 1.20 2006/03/15 09:30:50 florian
* suppression des echos, qui entrainaient des problemes d'affichages
*
* Revision 1.19 2005/09/20 17:01:22 ddelon
* php5 et bugs divers
*
/trunk/papyrus/bibliotheque/fonctions/pap_application.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: pap_application.fonct.php,v 1.2 2005-02-28 11:12:03 jpm Exp $
// CVS : $Id: pap_application.fonct.php,v 1.3 2006-04-28 12:41:49 florian Exp $
/**
* Biblibothèque de fonction sur les applications.
*
34,7 → 34,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.2 $ $Date: 2005-02-28 11:12:03 $
*@version $Revision: 1.3 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
122,6 → 122,7
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
$chemin_appli = $ligne_appli->gap_chemin;
$morceaux='';
preg_match('/([\w_]+).php$/', $chemin_appli, $morceaux);
$nom_interface_admin = ucfirst($morceaux[1]).'_Admin';
return $nom_interface_admin;
145,6 → 146,7
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
$chemin_appli = $ligne_appli->gap_chemin;
$morceaux='';
preg_match('/([\w_]+).php$/', $chemin_appli, $morceaux);
preg_replace('/_(\w)/', '_'.ucfirst(${1}),$morceaux[1]);
$nom_classe_appli = $morceaux[1];
203,6 → 205,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.2 2005/02/28 11:12:03 jpm
* Modification des auteurs.
*
* Revision 1.1 2004/11/09 17:54:50 jpm
* Ajout de fonction permettant de manipuler les informations liées aux applications.
*
/trunk/papyrus/bibliotheque/fonctions/pap_meta.fonct.php
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: pap_meta.fonct.php,v 1.3 2004-12-06 19:45:45 jpm Exp $
// CVS : $Id: pap_meta.fonct.php,v 1.4 2006-04-28 12:41:49 florian Exp $
/**
* Bibliothèque de fonctions permettant d'inclure des balises META.
*
34,7 → 34,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.3 $ $Date: 2004-12-06 19:45:45 $
*@version $Revision: 1.4 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
269,7 → 269,7
}
} else {
die('ERREUR Papyrus : le type de balise est incorrect. <br />'.
'Contenu : '. $content .'<br />'.
'Contenu : <br />'.
'Ligne n° : '. __LINE__ .'<br />'.
'Fichier : '. __FILE__);
}
278,6 → 278,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.3 2004/12/06 19:45:45 jpm
* Ajout d'une fonction permettant de vider les tableaux des meta.
*
* Revision 1.2 2004/12/06 17:58:02 jpm
* Ajout de fonctions permettant de modifier le contenu des balises meta : http-equiv, name et name DC.
*
/trunk/papyrus/pap_verification.inc.php
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: pap_verification.inc.php,v 1.7 2006-03-15 09:30:50 florian Exp $
// CVS : $Id: pap_verification.inc.php,v 1.8 2006-04-28 12:41:49 florian Exp $
/**
* Réalisation de la vérification des besoins de Papyrus.
*
31,7 → 31,7
//Autres auteurs :
*@author Laurent COUDOUNEAU <lc@gsite.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.7 $ $Date: 2006-03-15 09:30:50 $
*@version $Revision: 1.8 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
54,7 → 54,7
 
/** Inclusion du fichier de configuration avancée
** Ajout du fichier de configuration avancée de de Papyrus contenant les chemins des fichiers.*/
include_once 'papyrus/configuration/pap_config_avancee.inc.php';
include_once 'configuration/pap_config_avancee.inc.php';
 
// Gestion du fichier de config par défaut permettant de savoir si l'installation a été faite ou pas
if (file_exists($chemin_fichier_config_defaut)) {
85,6 → 85,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.7 2006/03/15 09:30:50 florian
* suppression des echos, qui entrainaient des problemes d'affichages
*
* Revision 1.6 2005/09/20 17:01:22 ddelon
* php5 et bugs divers
*
/trunk/papyrus/applettes/vous_etes_ici/vous_etes_ici.php
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: vous_etes_ici.php,v 1.9 2006-03-02 10:49:49 ddelon Exp $
// CVS : $Id: vous_etes_ici.php,v 1.10 2006-04-28 12:41:49 florian Exp $
/**
* Applette : Vous Etes Ici
*
39,7 → 39,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.9 $ $Date: 2006-03-02 10:49:49 $
*@version $Revision: 1.10 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
164,7 → 164,8
$retour = '';
for ($i = (count($tab_vei) - 1); $i >= 0 ;$i--) {
if ($i == 0) {
// Supprime le lien pour le nom du menu courant
// Supprime le lien pour le nom du menu courant
$tab_txt_capture='';
preg_match("/>(.*)<\/a>/", $tab_vei[$i], $tab_txt_capture);
$retour .= $tab_txt_capture[1];
} else {
189,6 → 190,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.9 2006/03/02 10:49:49 ddelon
* Fusion branche multilinguisme dans branche principale
*
* Revision 1.8.2.1 2006/02/28 14:02:10 ddelon
* Finition multilinguisme
*
/trunk/papyrus/applettes/selecteur_sites/selecteur_sites.php
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: selecteur_sites.php,v 1.8 2006-03-02 10:49:49 ddelon Exp $
// CVS : $Id: selecteur_sites.php,v 1.9 2006-04-28 12:41:49 florian Exp $
/**
* Applette : selecteur sites
*
40,7 → 40,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.8 $ $Date: 2006-03-02 10:49:49 $
*@version $Revision: 1.9 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
103,7 → 103,8
$bln_xhtml_strict = 1;
}
// Nous vérifions s'il y a des sites que nous ne voulons pas afficher:
$morceau_requete_id_suppr = '';
$morceau_requete_id_suppr = '';
$tab_id_suppr_groupe='';
if (isset($tab_applette_arguments[3]) && ereg('SANS_(.+)', $tab_applette_arguments[3], $tab_id_suppr_groupe)) {
if (preg_match('/^\d+$/', $tab_id_suppr_groupe[1])) {
$liste_id_suppr = $tab_id_suppr_groupe[1];
298,6 → 299,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.8 2006/03/02 10:49:49 ddelon
* Fusion branche multilinguisme dans branche principale
*
* Revision 1.7.2.4 2006/02/28 14:02:07 ddelon
* Finition multilinguisme
*
/trunk/papyrus/applettes/moteur_recherche/moteur_recherche.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: moteur_recherche.php,v 1.8 2006-03-02 10:49:49 ddelon Exp $
// CVS : $Id: moteur_recherche.php,v 1.9 2006-04-28 12:41:49 florian Exp $
/**
* Applette : moteur de recherche
*
38,7 → 38,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.8 $ $Date: 2006-03-02 10:49:49 $
*@version $Revision: 1.9 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
56,7 → 56,7
/** Inclusion de la bibliothèque PEAR de conception de formulaire.*/
require_once MORE_CHEMIN_BIBLIOTHEQUE_PEAR.'HTML/QuickForm.php';
/** Inclusion de la bibliothèque PEAR de modification des squelettes des formulaires QuickForm.*/
require_once 'HTML/QuickForm/Renderer/Default.php';
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm/Renderer/Default.php';
 
// Inclusion des fichiers de traduction de l'appli ADME dePapyrus
if (file_exists(MORE_CHEMIN_LANGUE.'more_langue_'.$GLOBALS['_GEN_commun']['i18n'].'.inc.php')) {
238,6 → 238,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.8 2006/03/02 10:49:49 ddelon
* Fusion branche multilinguisme dans branche principale
*
* Revision 1.7.2.2 2005/12/27 15:56:00 ddelon
* Fusion Head vers multilinguisme (wikini double clic)
*
/trunk/papyrus/applettes/moteur_recherche/bibliotheque/more_recherche.class.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: more_recherche.class.php,v 1.5 2005-09-20 17:01:22 ddelon Exp $
// CVS : $Id: more_recherche.class.php,v 1.6 2006-04-28 12:41:49 florian Exp $
/**
* Classe permettant d'effectuer des recherches sur les métas informations des menus.
*
34,7 → 34,7
//Autres auteurs :
*@author aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.5 $ $Date: 2005-09-20 17:01:22 $
*@version $Revision: 1.6 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
132,44 → 132,31
{
switch ($mois_numerique) {
case '01' :
return 'janvier';
break;
return 'janvier';
case '02' :
return 'février';
break;
return 'février';
case '03' :
return 'mars';
break;
case '04' :
return 'avril';
break;
case '05' :
return 'mai';
break;
case '06' :
return 'juin';
break;
case '07' :
return 'juillet';
break;
case '08' :
return 'août';
break;
case '09' :
return 'septembre';
break;
case '10' :
return 'octobre';
break;
case '11' :
return 'novembre';
break;
case '12' :
return 'décembre';
break;
default:
return '';
break;
}
}
}
177,6 → 164,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.5 2005/09/20 17:01:22 ddelon
* php5 et bugs divers
*
* Revision 1.4 2005/05/25 13:49:22 jpm
* Corection erreur pour la recherche dans le contenu.
*
/trunk/papyrus/applettes/moteur_recherche/bibliotheque/more_recherche_papyrus_menu.class.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: more_recherche_papyrus_menu.class.php,v 1.4 2005-05-25 13:49:22 jpm Exp $
// CVS : $Id: more_recherche_papyrus_menu.class.php,v 1.5 2006-04-28 12:41:49 florian Exp $
/**
* Classe permettant d'effectuer des recherches sur les informations des menus de Papyrus.
*
38,7 → 38,7
//Autres auteurs :
*@author aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.4 $ $Date: 2005-05-25 13:49:22 $
*@version $Revision: 1.5 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
129,6 → 129,7
}
// Analyse du poids de cette page vis à vis du contenu
$tab_morceaux='';
$nbre_correspondance = preg_match_all('/'.$motif.'/i', $aso_menu_contenu['gmc_contenu'], $tab_morceaux);
$aso_resultat['poids'] = $aso_resultat['poids'] + $nbre_correspondance;
143,6 → 144,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.4 2005/05/25 13:49:22 jpm
* Corection erreur pour la recherche dans le contenu.
*
* Revision 1.3 2005/05/19 12:46:12 jpm
* Correction bogue accesskey.
* Ajout d'un id à la liste.
/trunk/papyrus/pap_cache.inc.php
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: pap_cache.inc.php,v 1.2 2005-02-28 11:20:42 jpm Exp $
// CVS : $Id: pap_cache.inc.php,v 1.3 2006-04-28 12:41:49 florian Exp $
/**
* Gestion de la suppression et de la recherche dans le cache.
*
36,7 → 36,7
//Autres auteurs :
*@author Laurent COUDOUNEAU <lc@gsite.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.2 $ $Date: 2005-02-28 11:20:42 $
*@version $Revision: 1.3 $ $Date: 2006-04-28 12:41:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
45,10 → 45,10
// +------------------------------------------------------------------------------------------------------+
 
/** <BR> Inclusion de la bibliothèque de fonctions de gestion du cache.*/
include_once './bibliotheque/fonctions/GEN_cache.fonct.php';
include_once './bibliotheque/fonctions/pap_cache.fonct.php';
 
/** <BR> Inclusion de la bibliothèque de fonctions de compression des données à envoyer.*/
include_once './bibliotheque/fonctions/GEN_compression.fonct.php';
include_once './bibliotheque/fonctions/pap_compression.fonct.php';
 
// +------------------------------------------------------------------------------------------------------+
// | CORPS du PROGRAMME |
105,6 → 105,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.2 2005/02/28 11:20:42 jpm
* Modification des auteurs.
*
* Revision 1.1 2004/06/16 08:11:01 jpm
* Changement de nom de Génésia en Papyrus.
* Changement de l'arborescence.