Plugin Directory

Changeset 3054241


Ignore:
Timestamp:
03/19/2024 09:16:30 AM (2 years ago)
Author:
misterplan
Message:

Version 1.1.6

Location:
misterplan
Files:
339 added
4 edited

Legend:

Unmodified
Added
Removed
  • misterplan/trunk/class.mrplan_TMrPlanPluginAdmin.php

    r3049213 r3054241  
    351351        }
    352352        list($version)                  = explode('.',get_bloginfo( 'version' ));
    353         $full_width                     = (int) $_POST['full_width'];
     353        $full_width                     = isset($_POST['full_width']) ? (int) $_POST['full_width'] : 0;
    354354
    355355        if($version < 6){
  • misterplan/trunk/init.php

    r3051037 r3054241  
    88 * Author: MisterPlan
    99 * Author URI: https://misterplan.es
    10  * Version: 1.1.5
     10 * Version: 1.1.6
    1111 * Text Domain: misterplan
    1212 * Domain Path: /languages
  • misterplan/trunk/readme.txt

    r3051037 r3054241  
    44Tested up to: 6.4.3
    55Requires PHP: 7.2.5
    6 Stable tag: 1.1.5
     6Stable tag: 1.1.6
    77License: GPLv2 or later
    88Contributors: jorgealonso
  • misterplan/trunk/templates/motor/tipo_2.html

    r3050339 r3054241  
    1515        <script>
    1616            window.addEventListener('load', function(){
    17                 var script = document.createElement('script');
    18                 script.src = 'https://www.mrplan.io/experiencias/modulos/TExpReverse/lib/TExpReverseInc.php?id_experiencia={{motor.datos.id_elemento}}&idw={{motor.datos.id_widget}}&paramHash={{motor.datos.hash}}&source_plugin=MrPlanPlugin&web_plugin={{MRPLAN_WORDPRESS_PERMANLINK|url_encode}}';
    19                 script.setAttribute('y', 'text/javascript');
    20                 script.setAttribute('id_elemento', '{{motor.datos.id_elemento}}');
    21                 script.setAttribute('tipo_elemento', '{{motor.datos.tipo_elemento}}');
    22                 script.setAttribute('idw', '{{motor.datos.id_widget}}');
    23                 script.setAttribute('w_type', '{%if motor.datos.modo_ficha=='completa'%}ficha{%endif%}');
    24                 script.setAttribute('url_confirmacion', '{{confirmacion}}');
    25                 script.setAttribute('id_elemento', '{{motor.datos.id_elemento}}');
    26                 script.setAttribute('w_contenido', 'simple');
    27                 script.setAttribute('w_param', 'getURL');
    28                 script.setAttribute('paramHash', '{{motor.datos.hash}}');
    29                 document.getElementById('MrPlanPlugin_MotorScript').appendChild(script);
     17                setTimeout(function(){
     18
     19                    if(typeof jQuery !== 'undefined' && typeof iCl !== 'function'){
     20                        var iCl = jQuery.noConflict();
     21                    }
     22                   
     23                    var script = document.createElement('script');
     24                    script.src = 'https://www.mrplan.io/experiencias/modulos/TExpReverse/lib/TExpReverseInc.php?id_experiencia={{motor.datos.id_elemento}}&idw={{motor.datos.id_widget}}&paramHash={{motor.datos.hash}}&source_plugin=MrPlanPlugin&web_plugin={{MRPLAN_WORDPRESS_PERMANLINK|url_encode}}';
     25                    script.setAttribute('y', 'text/javascript');
     26                    script.setAttribute('id_elemento', '{{motor.datos.id_elemento}}');
     27                    script.setAttribute('tipo_elemento', '{{motor.datos.tipo_elemento}}');
     28                    script.setAttribute('idw', '{{motor.datos.id_widget}}');
     29                    script.setAttribute('w_type', '{%if motor.datos.modo_ficha=='completa'%}ficha{%endif%}');
     30                    script.setAttribute('url_confirmacion', '{{confirmacion}}');
     31                    script.setAttribute('id_elemento', '{{motor.datos.id_elemento}}');
     32                    script.setAttribute('w_contenido', 'simple');
     33                    script.setAttribute('w_param', 'getURL');
     34                    script.setAttribute('paramHash', '{{motor.datos.hash}}');
     35                    document.getElementById('MrPlanPlugin_MotorScript').appendChild(script);
     36                }, 1000);
    3037            });
    3138        </script>
Note: See TracChangeset for help on using the changeset viewer.