Changeset 96582 in spip-zone


Ignore:
Timestamp:
Apr 11, 2016, 2:59:59 PM (4 years ago)
Author:
jeanmarie.listes@…
Message:

Optimisation du logo.
On met des retours chariot pour plus de lisibilité.

Location:
_plugins_/responsivenav/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/responsivenav/trunk/paquet.xml

    r96566 r96582  
    22        prefix="responsivenav"
    33        categorie="navigation"
    4         version="0.1.2"
     4        version="0.1.3"
    55        etat="test"
    66        compatibilite="[3.0.0;3.1.*]"
  • _plugins_/responsivenav/trunk/responsivenav_pipelines.php

    r96263 r96582  
    99 * @copyright  2016
    1010 * @author     jeanmarie
    11  * @licence    GNU/GPL
     11 * @licence    CC by-sa
    1212 * @package    SPIP\Responsivenav\Pipelines
    1313 */
     
    1616// on insert la feuille de styles
    1717function responsivenav_insert_head_css($flux) {
    18         $flux .= '<link rel="stylesheet" href="'.produire_fond_statique('css/responsive-nav.css').'" type="text/css" />';
    19         $flux .= '<link rel="stylesheet" href="'.produire_fond_statique('css/responsive-nav.spip.css').'" type="text/css" />';
     18        $flux .="\n".'<link rel="stylesheet" href="'.produire_fond_statique('css/responsive-nav.css').'" type="text/css" />';
     19        $flux .="\n".'<link rel="stylesheet" href="'.produire_fond_statique('css/responsive-nav.spip.css').'" type="text/css" />';
    2020        return $flux;
    2121}
     
    2323// on insert le script et on l'appelle
    2424function responsivenav_insert_head($flux) {
    25         $flux .= '<script type="text/javascript" src="'.find_in_path('javascript/responsive-nav.js').'"></script>';
    26         $flux .= '<script>/*<![CDATA[*/ ;(function($){ $(function(){ var nav = responsiveNav("'.lire_config('responsivenav/selector','#nav').'",{jsClass: "'._RESPONSIVENAV_JSCLASS.'",label: "'.lire_config('responsivenav/label','&#9776; Menu').'",insert: "'.lire_config('responsivenav/insert','before').'"' ;
     25        $flux .="\n".'<script type="text/javascript" src="'.find_in_path('javascript/responsive-nav.js').'"></script>';
     26        $flux .="\n".'<script>/*<![CDATA[*/ ;(function($){ $(function(){ var nav = responsiveNav("'.lire_config('responsivenav/selector','#nav').'",{jsClass: "'._RESPONSIVENAV_JSCLASS.'",label: "'.lire_config('responsivenav/label','&#9776; Menu').'",insert: "'.lire_config('responsivenav/insert','before').'"' ;
    2727        if (defined('_RESPONSIVENAV_ANIMATE')) {$flux .= ',animate: '._RESPONSIVENAV_ANIMATE;}
    2828        if (defined('_RESPONSIVENAV_TRANSITION')) {$flux .= ',transition: '._RESPONSIVENAV_TRANSITION;}
Note: See TracChangeset for help on using the changeset viewer.