From e3887d283af14897da8719a9ba00dbca4bf5c300 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 18 Dec 2006 23:11:49 +0000 Subject: [PATCH] Les triggers dont le nom est NORUN n'apparaissent pas actif dans page admin --- htdocs/admin/triggers.php | 14 +++++++------- htdocs/includes/triggers/interface_ldap.class.php | 2 +- .../triggers/interface_notification.class.php | 2 +- htdocs/includes/triggers/interface_user.class.php | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/htdocs/admin/triggers.php b/htdocs/admin/triggers.php index 45244026f1c..1d8c3fd058b 100644 --- a/htdocs/admin/triggers.php +++ b/htdocs/admin/triggers.php @@ -171,15 +171,15 @@ foreach ($orders as $key => $value) print ''; print $objMod->picto?img_object('',$objMod->picto):img_object('','generic'); - print ''.$files[$key]; - print "\n "; - print $objMod->getDesc(); - print "\n "; - print $objMod->getVersion(); - print "\n "; - + print ''; + print ''.$files[$key]."\n"; + print ''.$objMod->getDesc()."\n"; + print "".$objMod->getVersion()."\n"; + // \todo Activation trigger + print ""; $statut_trigger=1; + if (eregi('NORUN$',$files[$key])) $statut_trigger=0; if ($statut_trigger == 1) { diff --git a/htdocs/includes/triggers/interface_ldap.class.php b/htdocs/includes/triggers/interface_ldap.class.php index d25553e93c5..40083d63e96 100644 --- a/htdocs/includes/triggers/interface_ldap.class.php +++ b/htdocs/includes/triggers/interface_ldap.class.php @@ -47,7 +47,7 @@ class InterfaceLdap $this->name = "Ldap"; $this->family = "ldap"; - $this->description = "Les triggers de ce composant permettent d'effectuer les synchro de Dolibarr vers un annuaire LDAP"; + $this->description = "Les triggers de ce composant permettent d'effectuer les synchro de Dolibarr vers un annuaire LDAP."; $this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version } diff --git a/htdocs/includes/triggers/interface_notification.class.php b/htdocs/includes/triggers/interface_notification.class.php index a0519848fff..7b2e70396cd 100644 --- a/htdocs/includes/triggers/interface_notification.class.php +++ b/htdocs/includes/triggers/interface_notification.class.php @@ -45,7 +45,7 @@ class InterfaceNotification $this->name = "Notification"; $this->family = "notification"; - $this->description = "Les triggers de ce composant sont les fonctions qui gèrent les notifications du module Notification"; + $this->description = "Les triggers de ce composant sont les fonctions qui gèrent les notifications par mail du module Notification."; $this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version } diff --git a/htdocs/includes/triggers/interface_user.class.php b/htdocs/includes/triggers/interface_user.class.php index 1e4ac9dc9de..869db939dbf 100644 --- a/htdocs/includes/triggers/interface_user.class.php +++ b/htdocs/includes/triggers/interface_user.class.php @@ -20,9 +20,9 @@ */ /** - \file htdocs/includes/triggers/interface_demo.class.php - \ingroup core - \brief Fichier de demo de personalisation des actions du workflow + \file htdocs/includes/triggers/interface_user.class.php + \ingroup stock + \brief Fichier des actions du workflow de stock utilisateurs \remarks Son propre fichier d'actions peut etre créé par recopie de celui-ci: - Le nom du fichier doit etre interface_xxx.class.php - Le fichier doit rester stocké dans includes/triggers @@ -50,7 +50,7 @@ class InterfaceUser $this->name = "User"; $this->family = "user"; - $this->description = "Les triggers de ce composant s'appliquent sur les utilisateurs."; + $this->description = "Les triggers de ce composant s'appliquent sur les utilisateurs gérant des stocks."; $this->revision = explode(' ','$Revision$'); $this->version = $this->revision[1]; }