Changeset 79145 in spip-zone


Ignore:
Timestamp:
Dec 4, 2013, 5:19:15 PM (6 years ago)
Author:
amaury.adon@…
Message:

Début de la configuration des couleurs des événements dans le calendrier

Location:
_plugins_/seminaire/seminaire_squelettes
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/seminaire/seminaire_squelettes/paquet.xml

    r79115 r79145  
    1919
    2020        <pipeline nom="insert_head_css" action="insert_head_css" inclure="seminaire_skel_pipelines.php" />
     21        <pipeline nom="recuperer_fond" action="recuperer_fond" inclure="seminaire_skel_pipelines.php" />
    2122</paquet>
  • _plugins_/seminaire/seminaire_squelettes/seminaire_skel_pipelines.php

    r78919 r79145  
    1414}
    1515
     16function seminaire_skel_recuperer_fond($flux){
     17        if ($flux['args']['fond'] == 'formulaires/configurer_seminaire'){
     18        $ajout = recuperer_fond('inc/choix_couleur');
     19        $flux['data'] = preg_replace('%(<!--extra-->)%is', '<ul class="champs_extras">'.$ajout.'</ul>'."\n".'$1', $flux['data']);       }
     20        return $flux;
     21}
    1622?>
Note: See TracChangeset for help on using the changeset viewer.