Changeset 78282 in spip-zone


Ignore:
Timestamp:
Nov 10, 2013, 11:38:34 AM (6 years ago)
Author:
p@…
Message:

Respecter le head des différent framework Z et les éventuel surcharges de plugins. On passe donc tout dans le pipeline.

Location:
_plugins_/foundation-4-spip/trunk
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/foundation-4-spip/trunk/foundation_pipelines.php

    • Property svn:executable set to *
    r74537 r78282  
    2121
    2222    // On renvoie le flux head avec le squelette foundation correspondant.
    23     if ($config['variante'] == '4') return $flux.recuperer_fond('inclure/head-foundation-4');
    24     elseif ($config['variante'] == '3') return $flux.recuperer_fond('inclure/head-foundation-3');
    25     else return $flux;
     23    if ($config['variante'] == '4') $flux = $flux.recuperer_fond('inclure/head-foundation-4');
     24    elseif ($config['variante'] == '3') $flux = $flux.recuperer_fond('inclure/head-foundation-3');
     25    // Si rien dans la config, pour charge foundation 4 par défaut
     26    else $flux = $flux.recuperer_fond('inclure/head-foundation-4');
     27
     28    // Charger le head commun a foundation
     29    $flux = $flux.recuperer_fond('inclure/head-foundation');
     30
     31    return $flux;
    2632}
    2733
Note: See TracChangeset for help on using the changeset viewer.