Changeset 111429 in spip-zone
- Timestamp:
- Aug 25, 2018, 5:43:38 AM (2 years ago)
- Location:
- _plugins_/owlcarousel/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/owlcarousel/trunk/formulaires/configurer_owlcarousel.html
r104551 r111429 12 12 <div class="editer-groupe"> 13 13 <div class="editer editer_css editer_radio"> 14 <label for=" lazy_class"><:owlcarousel:cfg_label_css:></label>14 <label for="css"><:owlcarousel:cfg_label_css:></label> 15 15 <p class="explication"><:owlcarousel:cfg_explication_css:></p> 16 16 <div class="choix"> … … 18 18 <label for='cssn'> 19 19 <:owlcarousel:cfg_label_css:> 20 </label> 21 </div> 22 </div> 23 </div> 24 <div class="editer-groupe"> 25 <div class="editer editer_header_prive editer_radio"> 26 <label for="lazy_class"><:owlcarousel:cfg_label_header_prive:></label> 27 <p class="explication"><:owlcarousel:cfg_explication_header_prive:></p> 28 <div class="choix"> 29 <input type="checkbox" name="header_prive" class="checkbox" value='on' id='header_prive'[(#ENV{header_prive}|oui)checked="checked" ]/> 30 <label for='header_prive'> 31 <:owlcarousel:cfg_label_header_prive:> 20 32 </label> 21 33 </div> -
_plugins_/owlcarousel/trunk/lang/owlcarousel_fr.php
r110327 r111429 13 13 'cfg_explication_css' => 'Les styles seront inssérés dans l\'entête de toutes les pages', 14 14 'cfg_titre_page_configurer_owlcarousel' => 'OwlCarousel', 15 15 'cfg_label_header_prive' => 'Insertion dans l\'espace privé de spip', 16 'cfg_explication_header_prive' => 'Les styles et javascript seront inssérés dans l\'entête de l\'espace privé de spip', 16 17 'cfg_titre_parametrages' => 'Configurer OwlCarousel', 17 18 -
_plugins_/owlcarousel/trunk/owlcarousel_pipelines.php
r104551 r111429 15 15 $flux.='<link rel="stylesheet" type="text/css" href="'.find_in_path('css/owl.theme.css').'" media="screen" />'."\n"; 16 16 } 17 18 return $flux; 17 return $flux; 19 18 } 20 19 21 20 function owlcarousel_insert_head($flux){ 22 23 21 $flux.='<script src="'.find_in_path('javascript/owl.carousel.js').'" type="text/javascript"></script>'."\n"; 24 25 return $flux; 22 return $flux; 26 23 } 27 24 28 25 function owlcarousel_header_prive($flux){ 26 include_spip('inc/config'); 27 if(lire_config('owlcarousel/header_prive', 0)){ 28 $flux.='<link rel="stylesheet" type="text/css" href="'.find_in_path('css/owl.carousel.css').'" media="screen" />'."\n"; 29 $flux.='<link rel="stylesheet" type="text/css" href="'.find_in_path('css/owl.theme.css').'" media="screen" />'."\n"; 30 $flux = owlcarousel_insert_head($flux); 31 } 32 return $flux; 33 } 29 34 30 35 /** … … 38 43 return $table; 39 44 } 40 -
_plugins_/owlcarousel/trunk/paquet.xml
r111254 r111429 2 2 prefix="owlcarousel" 3 3 categorie="multimedia" 4 version="1.0.1 2"4 version="1.0.13" 5 5 schema="0.0.1" 6 6 etat="test" … … 18 18 <pipeline nom="insert_head_css" inclure="owlcarousel_pipelines.php" /> 19 19 <pipeline nom="insert_head" inclure="owlcarousel_pipelines.php" /> 20 <pipeline nom="header_prive" inclure="owlcarousel_pipelines.php" /> 20 21 21 22 <!-- Import export de config-->
Note: See TracChangeset
for help on using the changeset viewer.