Plugin Directory

Changeset 2897537


Ignore:
Timestamp:
04/12/2023 03:55:04 AM (3 years ago)
Author:
ragicsupport
Message:

1.1 update

Location:
ragic-shortcode
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ragic-shortcode/tags/1.1/ragic.php

    r888626 r2897537  
    33Plugin Name: Ragic Shortcode Plugin
    44Description: Enables shortcode to Ragic Web Embed forms.
    5 Version: 1.0
     5Version: 1.1
    66License: GPL
    7 Author: Vencil Chiu / Ragic
     7Author: ragicsupport
    88Author URI: https://www.ragic.com
    99*/
     
    1313        'ragic_url' => '',
    1414        'ragic_feature' => '',
     15        'ragic_webform_version_is_new' => false,
     16        'ragic_version' => '',
    1517    ), $atts));
    1618   
     
    2426        return $error;
    2527
     28    } else if ("rawembed" == $ragic_feature) {
     29        $executer .= "<div class='ragic_rawembed'><iframe src='$ragic_url' sandbox='allow-modals allow-forms allow-popups allow-scripts allow-same-origin' style='border:none;overflow-x:hidden;overflow-y:hidden;height:600px;width:100%;'></iframe></div>";
     30        return "$executer";
    2631    } else {
    2732        $executer  = "<div id='ragic_webview'></div>\n";
     
    3237        $executer .= "  var ragic_url = a.hostname + (a.pathname.charAt(0) == '/' ? '' : '/') + a.pathname;\n";
    3338        $executer .= "  var ragic_feature= '$ragic_feature';\n";
     39        if ($ragic_webform_version_is_new) $executer.= "var webFormVersionIsNew = true;\n";
    3440        $executer .= "  /* * * DON'T EDIT BELOW THIS LINE * * */\n";
    3541        $executer .= "  (function() {\n";
  • ragic-shortcode/tags/1.1/readme.txt

    r1289944 r2897537  
    1 === Plugin Name ===
    2 
    3 Contributors: Vencil Chiu
    4 Plugin Name: Ragic Shortcode
     1=== Ragic Shortcode ===
     2Contributors: ragicsupport
    53Plugin URI: http://www.ragic.com/
    64Tags: Ragic, embed form, shortcode
    75Requires at least: 2.6
    8 Tested up to: 4.3
    9 Stable tag: 1.0
     6Tested up to: 6.2
     7Stable tag: 1.1
    108License: GPLv2 or later
    119License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4038== Changelog ==
    4139
    42 1.0 - Initial release.
     40= 1.0 =
     41* Initial release.
     42
     43= 1.1 =
     44* Support rawembed.
     45* Support new form
     46
     47== Upgrade Notice ==
     48
     49= 1.1 =
     50* Support two feature
  • ragic-shortcode/trunk/ragic.php

    r888626 r2897537  
    33Plugin Name: Ragic Shortcode Plugin
    44Description: Enables shortcode to Ragic Web Embed forms.
    5 Version: 1.0
     5Version: 1.1
    66License: GPL
    7 Author: Vencil Chiu / Ragic
     7Author: ragicsupport
    88Author URI: https://www.ragic.com
    99*/
     
    1313        'ragic_url' => '',
    1414        'ragic_feature' => '',
     15        'ragic_webform_version_is_new' => false,
     16        'ragic_version' => '',
    1517    ), $atts));
    1618   
     
    2426        return $error;
    2527
     28    } else if ("rawembed" == $ragic_feature) {
     29        $executer .= "<div class='ragic_rawembed'><iframe src='$ragic_url' sandbox='allow-modals allow-forms allow-popups allow-scripts allow-same-origin' style='border:none;overflow-x:hidden;overflow-y:hidden;height:600px;width:100%;'></iframe></div>";
     30        return "$executer";
    2631    } else {
    2732        $executer  = "<div id='ragic_webview'></div>\n";
     
    3237        $executer .= "  var ragic_url = a.hostname + (a.pathname.charAt(0) == '/' ? '' : '/') + a.pathname;\n";
    3338        $executer .= "  var ragic_feature= '$ragic_feature';\n";
     39        if ($ragic_webform_version_is_new) $executer.= "var webFormVersionIsNew = true;\n";
    3440        $executer .= "  /* * * DON'T EDIT BELOW THIS LINE * * */\n";
    3541        $executer .= "  (function() {\n";
  • ragic-shortcode/trunk/readme.txt

    r1289944 r2897537  
    1 === Plugin Name ===
    2 
    3 Contributors: Vencil Chiu
    4 Plugin Name: Ragic Shortcode
     1=== Ragic Shortcode ===
     2Contributors: ragicsupport
    53Plugin URI: http://www.ragic.com/
    64Tags: Ragic, embed form, shortcode
    75Requires at least: 2.6
    8 Tested up to: 4.3
    9 Stable tag: 1.0
     6Tested up to: 6.2
     7Stable tag: 1.1
    108License: GPLv2 or later
    119License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4038== Changelog ==
    4139
    42 1.0 - Initial release.
     40= 1.0 =
     41* Initial release.
     42
     43= 1.1 =
     44* Support rawembed.
     45* Support new form
     46
     47== Upgrade Notice ==
     48
     49= 1.1 =
     50* Support two feature
Note: See TracChangeset for help on using the changeset viewer.