Plugin Directory

Changeset 1886332


Ignore:
Timestamp:
06/03/2018 03:48:17 PM (8 years ago)
Author:
epointal
Message:

leaflet host - order gpx buttons - tabs tabby - AMP pages

Location:
lf-hiker/trunk
Files:
20 added
7 deleted
13 edited

Legend:

Unmodified
Added
Removed
  • lf-hiker/trunk/Controller/Front.php

    r1839607 r1886332  
    4747    }
    4848    public  function register_scripts () {
    49    
    50         wp_register_style('leaflet_stylesheet', "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.1.0/leaflet.css", Array(), null, false);
    51         wp_register_script('leaflet',"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.1.0/leaflet.js",Array(),null, true);
     49        $cdn = Lfh_Model_Option::get_option('lfh_use_cdn');
     50        if( $cdn ){
     51            wp_register_style('leaflet_stylesheet', "https://cdnjs.cloudflare.com/ajax/libs/leaflet/" . Lf_Hiker_Plugin::LEAFLET_VERSION . '/leaflet.css', Array(), null, false);
     52            wp_register_script('leaflet',"https://cdnjs.cloudflare.com/ajax/libs/leaflet/" . Lf_Hiker_Plugin::LEAFLET_VERSION . "/leaflet.js",Array(),null, true);
    5253     //   wp_register_style('font_awesome', "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css", Array(), null, false);
    53        
     54        }else{
     55            wp_register_style('leaflet_stylesheet', Lf_Hiker_Plugin::$url.'lib/leaflet/'.Lf_Hiker_Plugin::LEAFLET_VERSION.'/leaflet.css', Array(), null, false);
     56            wp_register_script('leaflet', Lf_Hiker_Plugin::$url.'lib/leaflet/'.Lf_Hiker_Plugin::LEAFLET_VERSION.'/leaflet.js',Array(),null, true);
     57           
     58        }
    5459       
    5560        if(WP_DEBUG){
     
    6873   
    6974    public function map_shortcode($atts, $html =null){
     75        if ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() ){
     76            return "";
     77        }
    7078        if( $this->is_divi_get_thumbnail()){
    7179            return "";
  • lf-hiker/trunk/Model/Option.php

    r1833277 r1886332  
    160160            case 'config_lfh':
    161161            return array(
    162                
     162                'lfh_use_cdn' => array(
     163                    'type'   => 'checkbox',
     164                    'default'=> true,
     165                    'label'  => __('Use cdn host for leaflet', 'lfh'),
     166                    'filter' => FILTER_VALIDATE_INT,
     167                    'helper' => esc_html__('If unchecked, use local leaflet version', 'lfh')
     168                    )
    163169                /*'lfh_cache_parent' => array(
    164170                    'type'    => 'text',
     
    226232           }
    227233       }
     234       if( $tab == 'config_lfh'){
     235           if(  isset( $data["lfh_use_cdn"])){
     236               $data["lfh_use_cdn"] = true;
     237           }else{
     238               $data["lfh_use_cdn"] = false;
     239           }
     240       }
    228241   
    229242       $filter = self::get_defaults($tab);
  • lf-hiker/trunk/Tools/Editor.php

    r1833277 r1886332  
    147147    // scripts for helper add-marker.phtml
    148148   public function load_scripts_helper(){
    149        wp_enqueue_style( 'leaflet_css', 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.1.0/leaflet.css',  null, null );
    150        
     149       $cdn = Lfh_Model_Option::get_option("lfh_use_cdn");
     150       if( $cdn){
     151            wp_enqueue_style( 'leaflet_css', 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/'. Lf_Hiker_Plugin::LEAFLET_VERSION .'/leaflet.css',  null, null );
     152            wp_enqueue_script('leaflet','https://cdnjs.cloudflare.com/ajax/libs/leaflet/' .Lf_Hiker_Plugin::LEAFLET_VERSION. '/leaflet.js',Array(),null, true);
     153       }else{
     154           wp_enqueue_style( 'leaflet_css', Lf_Hiker_Plugin::$url.'lib/leaflet/'. Lf_Hiker_Plugin::LEAFLET_VERSION .'/leaflet.css',  null, null );
     155           wp_enqueue_script('leaflet', Lf_Hiker_Plugin::$url.'lib/leaflet/' .Lf_Hiker_Plugin::LEAFLET_VERSION. '/leaflet.js',Array(),null, true);
     156       }
    151157       if(WP_DEBUG){
    152158          wp_enqueue_style('helper_css', Lf_Hiker_Plugin::$url."css/helper.css",Array( 'leaflet_css'), null);
     
    155161           wp_enqueue_style('helper_css', Lf_Hiker_Plugin::$url."dist/helper.".Lf_Hiker_Plugin::VERSION.".css", Array('leaflet_css'), null, null);
    156162       }
    157        wp_enqueue_script('leaflet',"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.1.0/leaflet.js",Array(),null, true);
    158163       wp_enqueue_script('awesome_marker_js',Lf_Hiker_Plugin::$url. "lib/awesome-marker/leaflet.awesome-markers.min.js", Array('leaflet'), null, true);
    159164     
  • lf-hiker/trunk/gulpfile.js

    r1880263 r1886332  
    22//there are in files readme others version numbers: for releases, tested browsers, and the most important wordpress
    33
    4 var old_version = '1.8.2';
    5 var version = '1.9.0';
     4var old_version = '1.9.0';
     5var version = '1.10.0';
    66var gulp = require('gulp');
    77var less = require('gulp-less');
  • lf-hiker/trunk/js/lfh-plugin.js

    r1880263 r1886332  
    462462    [].forEach.call(lfh.all , function( mapi ) {
    463463        mapi.reset();
    464          
    465464     });
    466465}
     
    479478/** add event for tabs situation */
    480479lfh.handle_tab_event = function(){
    481     var nodes = document.querySelectorAll("[role='tab'], [data-tab]");
     480    var nodes = document.querySelectorAll("[data-tab]");
    482481    [].forEach.call( nodes, function( node ){
    483482        L.DomEvent.addListener( node, 'click', function(e){
    484            setTimeout( lfh.reset_all_map, 1000);
     483           setTimeout( lfh.reset_all_map, 100);
    485484        })
    486        
    487        
    488485    })
    489486}
     487window.addEventListener("load", function(e) {
     488    var nodes = document.querySelectorAll(".responsive-tabs__list__item");
     489    [].forEach.call( nodes, function( node ){
     490        L.DomEvent.addListener( node, 'click', function(e){
     491          lfh.reset_all_map();
     492        })
     493    })
     494}, true);
    490495lfh.toggle_next = function( node, delta, map_id){
    491496    if( !node ){
     
    827832               
    828833            }
    829             container.insertBefore( div, container.firstChild);
    830             //appendChild(node);
     834            container.appendChild( div);
    831835           
    832836            L.DomEvent.addListener( node , 'click', function(e){
     
    919923            div.className = "lfh-content";*/
    920924            //begin by gpx
    921             [].forEach.call(_gpx, function( one_gpx){
     925            _gpx.forEach(function( one_gpx, i){
    922926                if( count%3 == 0){
    923927                    div = document.createElement("div");
  • lf-hiker/trunk/languages/lfh-default.po

    r1833277 r1886332  
    22msgstr ""
    33"Project-Id-Version: lfh\n"
    4 "POT-Creation-Date: 2018-03-04 14:51+0100\n"
    5 "PO-Revision-Date: 2018-03-04 14:52+0100\n"
     4"POT-Creation-Date: 2018-06-03 00:33+0100\n"
     5"PO-Revision-Date: 2018-06-03 00:34+0100\n"
    66"Last-Translator: Elisabeth Pointal <elisabeth.pointal@free.fr>\n"
    77"Language-Team: elisabeth\n"
     
    2424"hiker\\Controller\n"
    2525
    26 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:61
     26#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:75
    2727msgid "kilometer"
    2828msgstr "kilometer"
    2929
    30 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:62
     30#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:76
    3131msgid "km"
    3232msgstr "km"
    3333
    34 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:65
     34#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:79
    3535msgid "milles"
    3636msgstr "milles"
    3737
    38 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:66
     38#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:80
    3939msgid "mi"
    4040msgstr "mi"
    4141
    42 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:72
     42#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:86
    4343msgid "meter"
    4444msgstr "meter"
    4545
    46 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:73
     46#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:87
    4747msgid "m"
    4848msgstr "m"
    4949
    50 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:76
     50#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:90
    5151msgid "foot"
    5252msgstr "foot"
    5353
    54 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:77
     54#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:91
    5555msgid "ft"
    5656msgstr "ft"
    5757
    58 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:86
     58#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:100
    5959msgid "Position auto"
    6060msgstr "Position auto"
    6161
    62 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:114
     62#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:128
    6363msgid "Width"
    6464msgstr "Width"
    6565
    66 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:124
     66#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:138
    6767msgid "Height"
    6868msgstr "Height"
    6969
    70 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:142
     70#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:156
    7171msgid "Fullscreen"
    7272msgstr "Fullscreen"
    7373
    74 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:149
     74#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:163
    7575#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/admin/settings.phtml:93
    7676#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/back/editor/map-form.phtml:113
     
    7878msgstr "reset"
    7979
    80 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:156
     80#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:170
    8181#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/map.phtml:20
    8282msgid "list"
    8383msgstr "list"
    8484
    85 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:163
     85#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:177
    8686msgid "Zoom on wheel"
    8787msgstr "Zoom on wheel"
    8888
    89 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:169
     89#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:183
    9090msgid "Tiles"
    9191msgstr "Tiles"
    9292
    93 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:177
     93#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:191
    9494msgid "Open profile automaticaly"
    9595msgstr "Open profile automaticaly"
    9696
    97 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:222
     97#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:237
    9898msgid "no named gpx"
    9999msgstr "no named gpx"
    100100
    101 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:301
     101#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:316
    102102msgid "no named marker"
    103103msgstr "no named marker"
     
    193193msgstr "You can change it for one gpx in shortcode by using property"
    194194
    195 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:204
     195#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:165
     196msgid "Use cdn host for leaflet"
     197msgstr "Use cdn host for leaflet"
     198
     199#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:167
     200msgid "If unchecked, use local leaflet version"
     201msgstr "If unckecked, use local leaflet version"
     202
     203#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:210
    196204msgid "Failed to create a new cache"
    197205msgstr "Failed to create a new cache"
    198206
    199 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:244
     207#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:257
    200208msgid "data updated"
    201209msgstr "data updated"
    202210
    203 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:264
     211#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:277
    204212msgid "data reseted"
    205213msgstr "data reseted"
     
    224232
    225233#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:141
    226 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:281
     234#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:286
    227235msgid "Add here your formated description"
    228236msgstr "Add here your formated description"
    229237
    230 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:257
     238#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:262
    231239msgid "Manage gpx"
    232240msgstr "Manage gpx"
    233241
    234 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:302
     242#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:307
    235243msgid "Display download button"
    236244msgstr "Display download button"
    237245
    238 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:309
     246#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:314
    239247msgid "Color path"
    240248msgstr "Color path"
    241249
    242 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:326
     250#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:331
    243251msgid "Stroke width"
    244252msgstr "Stroke width"
  • lf-hiker/trunk/languages/lfh-fr_FR.po

    r1833277 r1886332  
    22msgstr ""
    33"Project-Id-Version: lfh\n"
    4 "POT-Creation-Date: 2018-03-04 14:52+0100\n"
    5 "PO-Revision-Date: 2018-03-04 14:52+0100\n"
     4"POT-Creation-Date: 2018-06-03 00:34+0100\n"
     5"PO-Revision-Date: 2018-06-03 00:35+0100\n"
    66"Last-Translator: Elisabeth Pointal <elisabeth.pointal@free.fr>\n"
    77"Language-Team: elisabeth\n"
     
    5252
    5353#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:141
    54 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:281
     54#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:286
    5555msgid "Add here your formated description"
    5656msgstr "Ins&eacute;rez votre description format&eacute;e ici"
    5757
    58 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:257
     58#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:262
    5959msgid "Manage gpx"
    6060msgstr "G&egrave;rer les GPX"
    6161
    62 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:302
     62#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:307
    6363msgid "Display download button"
    6464msgstr "Afficher le bouton t&eacute;l&eacute;charger"
    6565
    66 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:309
     66#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:314
    6767msgid "Color path"
    6868msgstr "Couleur du chemin"
    6969
    70 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:326
     70#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Tools/Editor.php:331
    7171msgid "Stroke width"
    7272msgstr "Epaisseur du trait"
     
    121121msgstr "Votre configuration a &eacute;t&eacute; mise &agrave; jour"
    122122
    123 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:61
     123#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:75
    124124msgid "kilometer"
    125125msgstr "kilom&egrave;tre"
    126126
    127 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:62
     127#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:76
    128128msgid "km"
    129129msgstr "km"
    130130
    131 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:65
     131#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:79
    132132msgid "milles"
    133133msgstr "milles"
    134134
    135 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:66
     135#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:80
    136136msgid "mi"
    137137msgstr "mi"
    138138
    139 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:72
     139#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:86
    140140msgid "meter"
    141141msgstr "m&egrave;tre"
    142142
    143 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:73
     143#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:87
    144144msgid "m"
    145145msgstr "m"
    146146
    147 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:76
     147#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:90
    148148msgid "foot"
    149149msgstr "pied"
    150150
    151 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:77
     151#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:91
    152152msgid "ft"
    153153msgstr "ft"
    154154
    155 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:86
     155#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:100
    156156msgid "Position auto"
    157157msgstr "Position auto"
    158158
    159 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:114
     159#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:128
    160160msgid "Width"
    161161msgstr "Largeur"
    162162
    163 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:124
     163#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:138
    164164msgid "Height"
    165165msgstr "Hauteur"
    166166
    167 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:142
     167#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:156
    168168msgid "Fullscreen"
    169169msgstr "Plein &eacute;cran"
    170170
    171 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:149
     171#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:163
    172172#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/admin/settings.phtml:93
    173173#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/back/editor/map-form.phtml:113
     
    177177msgstr "initialiser"
    178178
    179 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:156
     179#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:170
    180180#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/map.phtml:20
    181181#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/map.phtml:20
     
    183183msgstr "liste"
    184184
    185 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:163
     185#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:177
    186186msgid "Zoom on wheel"
    187187msgstr "Zoom sur la mollette"
    188188
    189 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:169
     189#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:183
    190190msgid "Tiles"
    191191msgstr "Tuiles"
    192192
    193 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:177
     193#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:191
    194194msgid "Open profile automaticaly"
    195195msgstr "Ouvrir le profile automatiquemement"
    196196
    197 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:222
     197#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:237
    198198msgid "no named gpx"
    199199msgstr "gpx sans nom"
    200200
    201 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:301
     201#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:316
    202202msgid "no named marker"
    203203msgstr "marqueur sans nom"
     
    299299"propri&eacute;t&eacute; "
    300300
    301 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:204
     301#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:165
     302msgid "Use cdn host for leaflet"
     303msgstr "Utiliser l'hôte cdn pour Leaflet"
     304
     305#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:167
     306msgid "If unchecked, use local leaflet version"
     307msgstr "Si décoché, utilise la version locale de leaflet"
     308
     309#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:210
    302310msgid "Failed to create a new cache"
    303311msgstr "&Eacute;chec lors de la cr&eacute;ation du cache"
    304312
    305 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:244
     313#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:257
    306314msgid "data updated"
    307315msgstr "donn&eacute;es mises &agrave; jour"
    308316
    309 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:264
     317#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:277
    310318msgid "data reseted"
    311319msgstr "Donn&eacute;es initialis&eacute;es"
  • lf-hiker/trunk/lf-hiker.php

    r1880263 r1886332  
    66    Author: epointal
    77    Author URI: http://elisabeth.pointal.org/
    8     Version: 1.9.0
     8    Version: 1.10.0
    99    License: GPL2
    1010    Text domain: lfh
     
    5151class Lf_Hiker_Plugin
    5252{
    53     const VERSION = '1.9.0';
     53    const VERSION = '1.10.0';
     54    const LEAFLET_VERSION = '1.3.1';
    5455   
    5556    private static $_controller;
  • lf-hiker/trunk/package.json

    r1880263 r1886332  
    11{
    22  "name": "lf-hiker",
    3   "version": "1.9.0",
     3  "version": "1.10.0",
    44  "description": "plugin for wordpress for display track with profil elevation",
    55  "main": "index.js",
  • lf-hiker/trunk/readme.txt

    r1880280 r1886332  
    77Tested up to: 4.9 
    88Stable tag: 1.0 
    9 Version: 1.9.0
     9Version: 1.10.0
    1010License: GPLv2 or later 
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    135135
    136136== Changelog ==
     137= 1.10.0 =
     138 * Fixed: lf hiker is destroying the AMP pages
     139 * Fixed: bug with tabby-responsive-tabs plugin
     140 * Evolution: gpx buttons are ordered in list as the gpx files in post/page
     141 * Evolution: Ability to choose the leaflet host
     142 
    137143= 1.9.0 =
    138144 * Fixed: trouble position of gpx dom block, marker block and list block
  • lf-hiker/trunk/views/admin/settings.phtml

    r1830724 r1886332  
    8383    $disabled ='';
    8484    if($active_tab == 'config_lfh'){
    85         $disabled = 'disabled style="display:none;"';
     85       // $disabled = 'disabled style="display:none;"';
    8686    }
    8787    ?>
Note: See TracChangeset for help on using the changeset viewer.