Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1150 → Rev 1151

/trunk/papyrus/applettes/mot_cles/mot_cles.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: mot_cles.php,v 1.1 2006-12-12 13:32:27 jp_milcent Exp $
// CVS : $Id: mot_cles.php,v 1.2 2006-12-12 17:17:12 jp_milcent Exp $
/**
* papyrus_bp - mot_cles.php
*
33,7 → 33,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 1999-2006
*@version $Revision: 1.1 $ $Date: 2006-12-12 13:32:27 $
*@version $Revision: 1.2 $ $Date: 2006-12-12 17:17:12 $
// +------------------------------------------------------------------------------------------------------+
*/
 
41,7 → 41,18
// | ENTÊTE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
$GLOBALS['_GEN_commun']['info_applette_nom_fonction'] = 'afficherMotCles';
$GLOBALS['_GEN_commun']['info_applette_balise'] = '\{\{[Mm]otCles(?:\s*(?:((?:mots|categorie)="[^"]+")|((?:condition|mots_condition|categorie_condition)="(?i:et|ou)")|(ordre="(?i:asc|desc)")|))+\s*\}\}';
$GLOBALS['_GEN_commun']['info_applette_balise'] = '\{\{[Mm]otCles'.
'(?:\s*'.
'(?:'.
'(mots="[^"]+")|'.
'(categorie="[^"]+")|'.
'(condition="(?i:et|ou)")|'.
'(mots_condition="(?i:et|ou)")|'.
'(categorie_condition="(?i:et|ou)")|'.
'(ordre="(?i:asc|desc)")|'.
')'.
')+'.
'\s*\}\}';
 
// --------------------------------------------------------------------------------------------------------
/** Inclusion du fichier de configuration de cette application.*/
73,6 → 84,7
$sortie = '';
$GLOBALS['_MOT_CLES_']['erreurs'] = array();
$GLOBALS['_MOT_CLES_']['informations'] = array();
$GLOBALS['_MOT_CLES_']['pages'] = array();
//+----------------------------------------------------------------------------------------------------------------+
// Gestion des arguments
80,8 → 92,10
$tab_arguments = $tab_applette_arguments;
unset($tab_arguments[0]);
foreach($tab_arguments as $argument) {
$tab_parametres = explode('=', $argument);
$options[$tab_parametres[0]] = trim($tab_parametres[1], '"');
if ($argument != '') {
$tab_parametres = explode('=', $argument);
$options[$tab_parametres[0]] = trim($tab_parametres[1], '"');
}
}
//+----------------------------------------------------------------------------------------------------------------+
246,7 → 260,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2006/12/12 13:32:27 jp_milcent
* Ajout de l'applette MotCles.
*
*
* +-- Fin du code ----------------------------------------------------------------------------------------+
*/
?>