source: spip-zone/_plugins_/kconf/kconf_pipelines.php @ 107913

Last change on this file since 107913 was 29648, checked in by shazaam@…, 12 years ago

1er depot plugin kconf, personnalisation avancee

File size: 841 bytes
Line 
1<?php
2
3function kconf_afficher_contenu_objet($flux) {
4        $type = $flux['args']['type'];
5        if ($type=='article' || $type=='rubrique') { // <>< pas compatible avec d'autres objets futur
6                include_spip('exec/kconf_admin');
7                $flux['data'] = exec_kconf_admin_dist().$flux['data'];
8        }
9        return $flux;
10}
11
12// insertion javascript pour color-picker et documentation
13function kconf_header_prive($info) {
14        $info .= '<script type="text/javascript" src="'._DIR_PLUGIN_KCONF.'farbtastic/farbtastic.js"></script>';
15        $info .= '<link id="debug" rel="stylesheet" href="'._DIR_PLUGIN_KCONF.'kconf.css" type="text/css" />';
16        $info .= '<link rel="stylesheet" href="'._DIR_PLUGIN_KCONF.'farbtastic/farbtastic.css" type="text/css" />';
17//      $info .= '<script type="application/javascript" src="'._DIR_PLUGIN_KCONF.'javascript/modal.js"></script>';
18        return $info;
19}
20
21?>
Note: See TracBrowser for help on using the repository browser.