Ignore:
Timestamp:
May 21, 2014, 11:11:51 AM (7 years ago)
Author:
chankalan@…
Message:

ajout fonctionnalités (liens_individuels historique + tooltip et mediabox comme avant) + choix du message pauseonhover + langue (en cours)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/sjcycle/trunk/sjcycle_pipelines.php

    r82430 r82655  
    66
    77function sjcycle_insert_head_css($flux){
     8        $conf_sjcycle = lire_config('sjcycle');
     9
     10        if($conf_sjcycle['tooltip']) {
     11                $flux .="\n".'<link rel="stylesheet" href="'.find_in_path('lib/jquery.tooltip.css').'" type="text/css" media="all" />';
     12        }
    813        $flux .= "\n".'<link rel="stylesheet" type="text/css" href="'.find_in_path('css/sjcycle.css').'" media="all" />'."\n";
    914        return $flux;
     
    1116
    1217function sjcycle_insert_head($flux){
     18        $conf_sjcycle = lire_config('sjcycle');
    1319
    1420        $flux .="\n".'<script src="'.find_in_path('lib/jquery.cycle2.js').'" type="text/javascript"></script>';
     
    1824        $flux .="\n".'<script src="'.find_in_path('lib/jquery.cycle2.shuffle.js').'" type="text/javascript"></script>';
    1925        $flux .="\n".'<script src="'.find_in_path('lib/jquery.cycle2.tile.js').'" type="text/javascript"></script>';
     26        if($conf_sjcycle['tooltip']) {
     27                $flux .="\n".'<script src="'.find_in_path('lib/jquery.tooltip.js').'" type="text/javascript" charset="utf-8"></script>';
     28        }
    2029       
    2130        return $flux;
Note: See TracChangeset for help on using the changeset viewer.