Changeset 52875 in spip-zone


Ignore:
Timestamp:
Oct 7, 2011, 11:53:05 AM (8 years ago)
Author:
mespeche@…
Message:

Les donnees de configuration son stockes dans la meta "config_zoombox" et non pas "zoombox"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/zoombox/head.php

    r52793 r52875  
    2121function Zoombox_call_js() {
    2222       
    23         $pointeur = (lire_config($chemin="zoombox/zoombox_pointeur") != '') ? lire_config($chemin="zoombox/zoombox_pointeur") : '.zoombox' ;
    24         $theme = (lire_config($chemin="zoombox/zoombox_theme") != '') ? lire_config($chemin="zoombox/zoombox_theme") : 'zoombox' ;
    25         $opacity = (lire_config($chemin="zoombox/zoombox_opacity") != '') ? lire_config($chemin="zoombox/zoombox_opacity") : 0.8 ;
    26         $duration = (lire_config($chemin="zoombox/zoombox_duration") != '') ? lire_config($chemin="zoombox/zoombox_duration") : 800 ;
    27         $animation = (lire_config($chemin="zoombox/zoombox_animation") != '') ? lire_config($chemin="zoombox/zoombox_animation") : true ;
    28         $width = (lire_config($chemin="zoombox/zoombox_width") != '') ? lire_config($chemin="zoombox/zoombox_width") : 600 ;
    29         $height = (lire_config($chemin="zoombox/zoombox_height") != '') ? lire_config($chemin="zoombox/zoombox_height") : 400 ;
    30         $gallery = (lire_config($chemin="zoombox/zoombox_gallery") != '') ? lire_config($chemin="zoombox/zoombox_gallery") : true ;
    31         $autoplay = (lire_config($chemin="zoombox/zoombox_autoplay") != '') ? lire_config($chemin="zoombox/zoombox_autoplay") : false ;
    32         $overflow = (lire_config($chemin="zoombox/zoombox_overflow") != '') ? lire_config($chemin="zoombox/zoombox_overflow") : false ;
     23        $pointeur = (lire_config($chemin="config_zoombox/zoombox_pointeur") != '') ? lire_config($chemin="config_zoombox/zoombox_pointeur") : '.zoombox' ;
     24        $theme = (lire_config($chemin="config_zoombox/zoombox_theme") != '') ? lire_config($chemin="config_zoombox/zoombox_theme") : 'zoombox' ;
     25        $opacity = (lire_config($chemin="config_zoombox/zoombox_opacity") != '') ? lire_config($chemin="config_zoombox/zoombox_opacity") : 0.8 ;
     26        $duration = (lire_config($chemin="config_zoombox/zoombox_duration") != '') ? lire_config($chemin="config_zoombox/zoombox_duration") : 800 ;
     27        $animation = (lire_config($chemin="config_zoombox/zoombox_animation") != '') ? lire_config($chemin="config_zoombox/zoombox_animation") : true ;
     28        $width = (lire_config($chemin="config_zoombox/zoombox_width") != '') ? lire_config($chemin="config_zoombox/zoombox_width") : 600 ;
     29        $height = (lire_config($chemin="config_zoombox/zoombox_height") != '') ? lire_config($chemin="config_zoombox/zoombox_height") : 400 ;
     30        $gallery = (lire_config($chemin="config_zoombox/zoombox_gallery") != '') ? lire_config($chemin="config_zoombox/zoombox_gallery") : true ;
     31        $autoplay = (lire_config($chemin="config_zoombox/zoombox_autoplay") != '') ? lire_config($chemin="config_zoombox/zoombox_autoplay") : false ;
     32        $overflow = (lire_config($chemin="config_zoombox/zoombox_overflow") != '') ? lire_config($chemin="config_zoombox/zoombox_overflow") : false ;
    3333
    3434        $flux = '<script src=\''.url_absolue(find_in_path('zoombox.js')).'\' type=\'text/javascript\'></script>';
Note: See TracChangeset for help on using the changeset viewer.