Changeset 111421 in spip-zone
- Timestamp:
- Aug 24, 2018, 3:33:38 PM (2 years ago)
- Location:
- _plugins_/notifications_archive/trunk
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/notifications_archive/trunk/inc/archiver_notification.php
r111043 r111421 9 9 * @package SPIP\Notifications_archive\Inc 10 10 */ 11 if (!defined('_ECRIRE_INC_VERSION')) 12 return; 11 13 12 if (!defined('_ECRIRE_INC_VERSION')) return; 13 14 function inc_archiver_notification_dist($o){ 14 function inc_archiver_notification_dist($o) { 15 15 include_spip('inc/config'); 16 $config=lire_config('notifications_archive',array()); 17 if(isset($config[$o['type']]['activer']) AND $config[$o['type']]['activer']=='on'){ 18 include_spip('inc/editer'); 19 foreach($o AS $champ=>$valeur){ 20 if(is_array($valeur))$valeur=implode(',',$valeur); 21 set_request($champ,$valeur); 16 $config = lire_config('notifications_archive', array()); 17 if (isset($config[$o['type']]['activer']) and $config[$o['type']]['activer'] == 'on') { 18 include_spip('inc/editer'); 19 foreach ($o as $champ => $valeur) { 20 if (is_array($valeur)) 21 $valeur = implode(',', $valeur); 22 set_request($champ, $valeur); 22 23 } 23 formulaires_editer_objet_traiter('notification', 'new');24 } 24 formulaires_editer_objet_traiter('notification', 'new'); 25 } 25 26 } 26 27 ?> -
_plugins_/notifications_archive/trunk/paquet.xml
r111044 r111421 2 2 prefix="notifications_archive" 3 3 categorie="communication" 4 version="1.1. 9"4 version="1.1.10" 5 5 etat="stable" 6 6 compatibilite="[3.0.13;3.2.*]" … … 20 20 <necessite nom="saisies" compatibilite="[2.18.13;]" /> 21 21 22 <!-- Déclaration de pipelines --> 23 <pipeline nom="notifications_archive" action='' /> 24 25 <!-- Appelle les pipelines --> 22 26 <pipeline nom="autoriser" inclure="notifications_archive_autorisations.php" /> 23 27 -
_plugins_/notifications_archive/trunk/prive/squelettes/hierarchie/notification.html
r111044 r111421 1 1 <!-- hierarchie --> 2 <a href=" (#URL_ECRIRE{#ENV{objet}|objet_info{table_objet}})">2 <a href="#URL_ECRIRE{notifications}"> 3 3 <:notifications_archive:titre_notifications:> 4 4 </a> >
Note: See TracChangeset
for help on using the changeset viewer.