Changeset 74841 in spip-zone


Ignore:
Timestamp:
Aug 19, 2013, 3:47:42 PM (6 years ago)
Author:
brunobergot@…
Message:

Version 1.0.1 : ouverture fichier php + indentation cf http://contrib.spip.net/Moodboard#comment470137

Location:
_squelettes_/moodboard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/moodboard/moodboard_fonctions.php

    r74746 r74841  
    1 <?
    2     $GLOBALS['spip_pipeline']['insert_head'] .= "|moodboard";
    3      
    4     function moodboard_insert_head($flux){
    5     $js_jquery_wookmark = find_in_path('js/jquery.wookmark.js');
    6     $flux .= "<script type='text/javascript' src='$js_jquery_wookmark'></script>\n";
    7     return $flux;
    8     }
    9     $GLOBALS['spip_pipeline']['insert_head_css'] .= "|moodboard";
    10      
    11     function moodboard_insert_head_css($flux){
    12     $css_moodboard = find_in_path('css/moodboard.css');
    13     $flux .= "<link rel='stylesheet' type='text/css' media='all' href='$css_moodboard' />\n";
    14     return $flux;
    15     }
     1<?php
     2
     3if (!defined('_ECRIRE_INC_VERSION')) return;
     4
     5$GLOBALS['spip_pipeline']['insert_head'] .= "|moodboard";
     6 
     7function moodboard_insert_head($flux){
     8        $js_jquery_wookmark = find_in_path('js/jquery.wookmark.js');
     9        $flux .= "<script type='text/javascript' src='$js_jquery_wookmark'></script>\n";
     10        return $flux;
     11}
     12
     13$GLOBALS['spip_pipeline']['insert_head_css'] .= "|moodboard";
     14 
     15function moodboard_insert_head_css($flux){
     16        $css_moodboard = find_in_path('css/moodboard.css');
     17        $flux .= "<link rel='stylesheet' type='text/css' media='all' href='$css_moodboard' />\n";
     18        return $flux;
     19}
    1620?>
  • _squelettes_/moodboard/paquet.xml

    r74746 r74841  
    22 prefix="moodboard"
    33 categorie="squelette"
    4  version="1.0.0"
     4 version="1.0.1"
    55 etat="test"
    66 logo="prive/themes/spip/images/moodboard-32.png"
Note: See TracChangeset for help on using the changeset viewer.