Changeset 2897537
- Timestamp:
- 04/12/2023 03:55:04 AM (3 years ago)
- Location:
- ragic-shortcode
- Files:
-
- 4 edited
- 1 copied
-
tags/1.1 (copied) (copied from ragic-shortcode/trunk)
-
tags/1.1/ragic.php (modified) (4 diffs)
-
tags/1.1/readme.txt (modified) (2 diffs)
-
trunk/ragic.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ragic-shortcode/tags/1.1/ragic.php
r888626 r2897537 3 3 Plugin Name: Ragic Shortcode Plugin 4 4 Description: Enables shortcode to Ragic Web Embed forms. 5 Version: 1. 05 Version: 1.1 6 6 License: GPL 7 Author: Vencil Chiu / Ragic7 Author: ragicsupport 8 8 Author URI: https://www.ragic.com 9 9 */ … … 13 13 'ragic_url' => '', 14 14 'ragic_feature' => '', 15 'ragic_webform_version_is_new' => false, 16 'ragic_version' => '', 15 17 ), $atts)); 16 18 … … 24 26 return $error; 25 27 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"; 26 31 } else { 27 32 $executer = "<div id='ragic_webview'></div>\n"; … … 32 37 $executer .= " var ragic_url = a.hostname + (a.pathname.charAt(0) == '/' ? '' : '/') + a.pathname;\n"; 33 38 $executer .= " var ragic_feature= '$ragic_feature';\n"; 39 if ($ragic_webform_version_is_new) $executer.= "var webFormVersionIsNew = true;\n"; 34 40 $executer .= " /* * * DON'T EDIT BELOW THIS LINE * * */\n"; 35 41 $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 === 2 Contributors: ragicsupport 5 3 Plugin URI: http://www.ragic.com/ 6 4 Tags: Ragic, embed form, shortcode 7 5 Requires at least: 2.6 8 Tested up to: 4.39 Stable tag: 1. 06 Tested up to: 6.2 7 Stable tag: 1.1 10 8 License: GPLv2 or later 11 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 40 38 == Changelog == 41 39 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 3 3 Plugin Name: Ragic Shortcode Plugin 4 4 Description: Enables shortcode to Ragic Web Embed forms. 5 Version: 1. 05 Version: 1.1 6 6 License: GPL 7 Author: Vencil Chiu / Ragic7 Author: ragicsupport 8 8 Author URI: https://www.ragic.com 9 9 */ … … 13 13 'ragic_url' => '', 14 14 'ragic_feature' => '', 15 'ragic_webform_version_is_new' => false, 16 'ragic_version' => '', 15 17 ), $atts)); 16 18 … … 24 26 return $error; 25 27 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"; 26 31 } else { 27 32 $executer = "<div id='ragic_webview'></div>\n"; … … 32 37 $executer .= " var ragic_url = a.hostname + (a.pathname.charAt(0) == '/' ? '' : '/') + a.pathname;\n"; 33 38 $executer .= " var ragic_feature= '$ragic_feature';\n"; 39 if ($ragic_webform_version_is_new) $executer.= "var webFormVersionIsNew = true;\n"; 34 40 $executer .= " /* * * DON'T EDIT BELOW THIS LINE * * */\n"; 35 41 $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 === 2 Contributors: ragicsupport 5 3 Plugin URI: http://www.ragic.com/ 6 4 Tags: Ragic, embed form, shortcode 7 5 Requires at least: 2.6 8 Tested up to: 4.39 Stable tag: 1. 06 Tested up to: 6.2 7 Stable tag: 1.1 10 8 License: GPLv2 or later 11 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 40 38 == Changelog == 41 39 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.