Changeset 93757 in spip-zone


Ignore:
Timestamp:
Dec 17, 2015, 11:12:55 PM (4 years ago)
Author:
p@…
Message:

Nouveau prefixe dédié à Foundation 6

Location:
_plugins_/foundation_6/trunk
Files:
4 added
4 deleted
1 edited
10 moved

Legend:

Unmodified
Added
Removed
  • _plugins_/foundation_6/trunk/foundation_6_administrations.php

    r93756 r93757  
    1616*   - Pas de Javascript chargé.
    1717*/
    18 function foundation_upgrade($nom_meta_base_version, $version_cible) {
     18function foundation_6_upgrade($nom_meta_base_version, $version_cible) {
    1919
    2020    // Création du tableau des mises à jour.
     
    3131    // Tableau de la configuration par défaut
    3232    $maj['create'] = array(
    33             array('ecrire_meta', 'foundation', serialize($config_default))
     33            array('ecrire_meta', 'foundation_6', serialize($config_default))
    3434        );
    3535
     
    4242*   Désintaller foundation.
    4343*/
    44 function foundation_vider_tables($nom_meta_base_version) {
     44function foundation_6_vider_tables($nom_meta_base_version) {
    4545    // Supprimer les méta, ou oublie pas celle de la base.
    46     effacer_meta('foundation_base_version');
    47     effacer_meta('foundation');
     46    effacer_meta('foundation_6_base_version');
     47    effacer_meta('foundation_6');
    4848}
  • _plugins_/foundation_6/trunk/foundation_6_pipelines.php

    r93756 r93757  
    1515*   Pipeline Insert_head
    1616*/
    17 function foundation_insert_head ($flux) {
     17function foundation_6_insert_head ($flux) {
    1818  include_spip('inc/foundation');
    1919  return foundation_get_js($flux);
     
    2323*   Pipeline Insert_head_css
    2424*/
    25 function foundation_insert_head_css ($flux) {
     25function foundation_6_insert_head_css ($flux) {
    2626  include_spip('inc/foundation');
    2727  return foundation_get_css($flux);
  • _plugins_/foundation_6/trunk/paquet.xml

    r93756 r93757  
    11<paquet
    2     prefix="foundation"
     2    prefix="foundation_6"
    33    categorie="outil"
    44    version="2.3.21"
    55    etat="stable"
    66    compatibilite="[3.0.8;3.1.*]"
    7     logo="prive/themes/spip/images/foundation-64.png"
     7    logo="prive/themes/spip/images/foundation_6-64.png"
    88    schema="1.0"
    99    documentation="http://contrib.spip.net/Foundation-4-Spip"
    1010>
    11     <nom>Foundation</nom>
     11    <nom>Foundation 6</nom>
    1212    <!-- Plugin qui intégre le framework Foundation à l'interface public de SPIP. -->
    1313
     
    1717
    1818    <!-- On active le pipeline pour modifier le header -->
    19     <pipeline nom="insert_head" inclure="foundation_pipelines.php" />
    20     <pipeline nom="insert_head_css" inclure="foundation_pipelines.php" />
     19    <pipeline nom="insert_head" inclure="foundation_6_pipelines.php" />
     20    <pipeline nom="insert_head_css" inclure="foundation_6_pipelines.php" />
    2121
    2222    <!-- On ajoute un bouton pour la configuration -->
    2323    <!-- Bouton pour la configuration -->
    24     <menu nom="foundation_titre" titre="foundation:foundation_titre" parent="menu_configuration" icone="images/foundation-16.png" action="configurer_foundation" />
     24    <menu nom="foundation_titre" titre="foundation:foundation_6_titre" parent="menu_configuration" icone="images/foundation_6-16.png" action="configurer_foundation" />
    2525
    2626    <!-- Les plugins indispensable -->
Note: See TracChangeset for help on using the changeset viewer.