source: spip-zone/_plugins_/foundation_6/trunk/foundation_6_pipelines.php @ 93771

Last change on this file since 93771 was 93771, checked in by p@…, 5 years ago

Simplifier le pipeline javascript

  • Property svn:executable set to *
File size: 753 bytes
Line 
1<?php
2/**
3 * Utilisations de pipelines par foundation-4-spip
4 *
5 * @plugin     foundation-4-spip
6 * @copyright  2013
7 * @author     Phenix
8 * @licence    GNU/GPL
9 * @package    SPIP\Foundation\Pipelines
10 */
11
12if (!defined('_ECRIRE_INC_VERSION')) return;
13
14/*
15*   Pipeline Insert_head
16*/
17function foundation_6_insert_head ($flux) {
18  include_spip('inc/foundation');
19
20  // Si on est en mode app, on revoie le bon squelette
21  if (_FOUNDATION_SASS) {
22    $flux .= recuperer_fond('inclure/head-foundation-app');
23  }
24  else {
25    $flux .= recuperer_fond('inclure/head-foundation');
26  }
27
28  return $flux;
29}
30
31/*
32*   Pipeline Insert_head_css
33*/
34function foundation_6_insert_head_css ($flux) {
35  include_spip('inc/foundation');
36  return foundation_get_css($flux);
37}
Note: See TracBrowser for help on using the repository browser.