Changeset 2703057
- Timestamp:
- 04/01/2022 04:07:31 AM (4 years ago)
- Location:
- info-boxes-shortcode-and-widget
- Files:
-
- 156 added
- 11 edited
-
tags/1.14 (added)
-
tags/1.14/css (added)
-
tags/1.14/css/otw_ibsw_admin.css (added)
-
tags/1.14/images (added)
-
tags/1.14/images/otw-sbm-icon.png (added)
-
tags/1.14/include (added)
-
tags/1.14/include/otw_components (added)
-
tags/1.14/include/otw_components/otw_factory (added)
-
tags/1.14/include/otw_components/otw_factory/css (added)
-
tags/1.14/include/otw_components/otw_factory/css/font-awesome.css (added)
-
tags/1.14/include/otw_components/otw_factory/css/otw_factory.css (added)
-
tags/1.14/include/otw_components/otw_factory/fonts (added)
-
tags/1.14/include/otw_components/otw_factory/fonts/FontAwesome.otf (added)
-
tags/1.14/include/otw_components/otw_factory/fonts/fontawesome-webfont.eot (added)
-
tags/1.14/include/otw_components/otw_factory/fonts/fontawesome-webfont.svg (added)
-
tags/1.14/include/otw_components/otw_factory/fonts/fontawesome-webfont.ttf (added)
-
tags/1.14/include/otw_components/otw_factory/fonts/fontawesome-webfont.woff (added)
-
tags/1.14/include/otw_components/otw_factory/fonts/fontawesome-webfont.woff2 (added)
-
tags/1.14/include/otw_components/otw_factory/otw_factory.class.php (added)
-
tags/1.14/include/otw_components/otw_factory/otw_factory.info.php (added)
-
tags/1.14/include/otw_components/otw_factory/views (added)
-
tags/1.14/include/otw_components/otw_factory/views/action_message.php (added)
-
tags/1.14/include/otw_components/otw_factory/views/license_manager.php (added)
-
tags/1.14/include/otw_components/otw_form (added)
-
tags/1.14/include/otw_components/otw_form/css (added)
-
tags/1.14/include/otw_components/otw_form/css/colorpicker.css (added)
-
tags/1.14/include/otw_components/otw_form/css/datetimepicker.css (added)
-
tags/1.14/include/otw_components/otw_form/css/otw_form_admin.css (added)
-
tags/1.14/include/otw_components/otw_form/css/select2.min.css (added)
-
tags/1.14/include/otw_components/otw_form/img (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/blank.gif (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/colorpicker_background.png (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/colorpicker_hex.png (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/colorpicker_hsb_b.png (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/colorpicker_hsb_h.png (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/colorpicker_hsb_s.png (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/colorpicker_indic.gif (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/colorpicker_overlay.png (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/colorpicker_rgb_b.png (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/colorpicker_rgb_g.png (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/colorpicker_rgb_r.png (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/colorpicker_select.gif (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/colorpicker_submit.png (added)
-
tags/1.14/include/otw_components/otw_form/img/colorpicker/select.png (added)
-
tags/1.14/include/otw_components/otw_form/img/select.png (added)
-
tags/1.14/include/otw_components/otw_form/img/select2-spinner.gif (added)
-
tags/1.14/include/otw_components/otw_form/img/select2.png (added)
-
tags/1.14/include/otw_components/otw_form/js (added)
-
tags/1.14/include/otw_components/otw_form/js/colorpicker.js (added)
-
tags/1.14/include/otw_components/otw_form/js/datetimepicker.js (added)
-
tags/1.14/include/otw_components/otw_form/js/otw_form_admin.js (added)
-
tags/1.14/include/otw_components/otw_form/js/select2.full.min.js (added)
-
tags/1.14/include/otw_components/otw_form/otw_form.class.php (added)
-
tags/1.14/include/otw_components/otw_form/otw_form.info.php (added)
-
tags/1.14/include/otw_components/otw_functions (added)
-
tags/1.14/include/otw_components/otw_functions/otw_component.class.php (added)
-
tags/1.14/include/otw_components/otw_functions/otw_functions.php (added)
-
tags/1.14/include/otw_components/otw_shortcode (added)
-
tags/1.14/include/otw_components/otw_shortcode/build (added)
-
tags/1.14/include/otw_components/otw_shortcode/build/index.asset.php (added)
-
tags/1.14/include/otw_components/otw_shortcode/build/index.js (added)
-
tags/1.14/include/otw_components/otw_shortcode/build/index.js.map (added)
-
tags/1.14/include/otw_components/otw_shortcode/css (added)
-
tags/1.14/include/otw_components/otw_shortcode/css/general_foundicons.css (added)
-
tags/1.14/include/otw_components/otw_shortcode/css/general_foundicons_ie7.css (added)
-
tags/1.14/include/otw_components/otw_shortcode/css/jquery-ui-1.9.1.css (added)
-
tags/1.14/include/otw_components/otw_shortcode/css/otw_shortcode.css (added)
-
tags/1.14/include/otw_components/otw_shortcode/css/otw_shortcode_admin.css (added)
-
tags/1.14/include/otw_components/otw_shortcode/css/otw_shortcode_preview.css (added)
-
tags/1.14/include/otw_components/otw_shortcode/css/social_foundicons.css (added)
-
tags/1.14/include/otw_components/otw_shortcode/css/social_foundicons_ie7.css (added)
-
tags/1.14/include/otw_components/otw_shortcode/fonts (added)
-
tags/1.14/include/otw_components/otw_shortcode/fonts/general_foundicons.eot (added)
-
tags/1.14/include/otw_components/otw_shortcode/fonts/general_foundicons.svg (added)
-
tags/1.14/include/otw_components/otw_shortcode/fonts/general_foundicons.ttf (added)
-
tags/1.14/include/otw_components/otw_shortcode/fonts/general_foundicons.woff (added)
-
tags/1.14/include/otw_components/otw_shortcode/fonts/social_foundicons.eot (added)
-
tags/1.14/include/otw_components/otw_shortcode/fonts/social_foundicons.svg (added)
-
tags/1.14/include/otw_components/otw_shortcode/fonts/social_foundicons.ttf (added)
-
tags/1.14/include/otw_components/otw_shortcode/fonts/social_foundicons.woff (added)
-
tags/1.14/include/otw_components/otw_shortcode/images (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/blockquote-testimonial.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/blockquote.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/bullets (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/bullets/bullet-1.gif (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/bullets/bullet-10.gif (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/bullets/bullet-2.gif (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/bullets/bullet-3.gif (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/bullets/bullet-4.gif (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/bullets/bullet-5.gif (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/bullets/bullet-6.gif (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/bullets/bullet-7.gif (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/bullets/bullet-8.gif (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/bullets/bullet-9.gif (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/desaturate.svg (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/diag-background-translucent-darker.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/diag-background-translucent.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/diag-background.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/gm-delete.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/gm-edit.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/menu_arrow.gif (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/otw-sbm-icon.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/pattern-1.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/pattern-2.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/pattern-3.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/pattern-4.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/pattern-5.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/read-more.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/sidebars-icon-placeholder.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/testimonials-nav.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/images/toggle-icon.png (added)
-
tags/1.14/include/otw_components/otw_shortcode/js (added)
-
tags/1.14/include/otw_components/otw_shortcode/js/otw_shortcode.js (added)
-
tags/1.14/include/otw_components/otw_shortcode/js/otw_shortcode_admin.js (added)
-
tags/1.14/include/otw_components/otw_shortcode/js/otw_shortcode_core.js (added)
-
tags/1.14/include/otw_components/otw_shortcode/js/otw_shortcode_live_preview.js (added)
-
tags/1.14/include/otw_components/otw_shortcode/js/otw_shortcode_messages.js (added)
-
tags/1.14/include/otw_components/otw_shortcode/js/otw_shortcode_shadow_overlay.js (added)
-
tags/1.14/include/otw_components/otw_shortcode/js/otw_shortcode_tinymce_plugin.js (added)
-
tags/1.14/include/otw_components/otw_shortcode/js/otw_shortcode_widget_admin.js (added)
-
tags/1.14/include/otw_components/otw_shortcode/libs (added)
-
tags/1.14/include/otw_components/otw_shortcode/libs/recaptcha-php-1.11 (added)
-
tags/1.14/include/otw_components/otw_shortcode/libs/recaptcha-php-1.11/LICENSE (added)
-
tags/1.14/include/otw_components/otw_shortcode/libs/recaptcha-php-1.11/README (added)
-
tags/1.14/include/otw_components/otw_shortcode/libs/recaptcha-php-1.11/example-captcha.php (added)
-
tags/1.14/include/otw_components/otw_shortcode/libs/recaptcha-php-1.11/example-mailhide.php (added)
-
tags/1.14/include/otw_components/otw_shortcode/libs/recaptcha-php-1.11/recaptchalib.php (added)
-
tags/1.14/include/otw_components/otw_shortcode/otw_shortcode.class.php (added)
-
tags/1.14/include/otw_components/otw_shortcode/otw_shortcode.info.php (added)
-
tags/1.14/include/otw_components/otw_shortcode/package.json (added)
-
tags/1.14/include/otw_components/otw_shortcode/shortcodes (added)
-
tags/1.14/include/otw_components/otw_shortcode/shortcodes/otw_shortcode_info_box.class.php (added)
-
tags/1.14/include/otw_components/otw_shortcode/shortcodes/otw_shortcodes.class.php (added)
-
tags/1.14/include/otw_components/otw_shortcode/src (added)
-
tags/1.14/include/otw_components/otw_shortcode/src/index.js (added)
-
tags/1.14/include/otw_components/otw_shortcode/widgets (added)
-
tags/1.14/include/otw_components/otw_shortcode/widgets/otw_shortcode_widget.class.php (added)
-
tags/1.14/include/otw_components/otw_validator (added)
-
tags/1.14/include/otw_components/otw_validator/otw_validator.class.php (added)
-
tags/1.14/include/otw_components/otw_validator/otw_validator.info.php (added)
-
tags/1.14/include/otw_ibsw_dialog_info.php (added)
-
tags/1.14/include/otw_ibsw_functions.php (added)
-
tags/1.14/include/otw_ibsw_help.php (added)
-
tags/1.14/include/otw_ibsw_process_actions.php (added)
-
tags/1.14/include/otw_ibsw_settings.php (added)
-
tags/1.14/include/otw_labels (added)
-
tags/1.14/include/otw_labels/otw_ibsw_factory_object.labels.php (added)
-
tags/1.14/include/otw_labels/otw_ibsw_form_object.labels.php (added)
-
tags/1.14/include/otw_labels/otw_ibsw_shortcode_object.labels.php (added)
-
tags/1.14/otw_content_manager.php (added)
-
tags/1.14/readme.txt (added)
-
tags/1.14/screenshot-1.png (added)
-
tags/1.14/screenshot-2.png (added)
-
tags/1.14/screenshot-3.png (added)
-
tags/1.14/screenshot-4.png (added)
-
trunk/include/otw_components/otw_factory/otw_factory.class.php (modified) (1 diff)
-
trunk/include/otw_components/otw_factory/otw_factory.info.php (modified) (2 diffs)
-
trunk/include/otw_components/otw_form/otw_form.class.php (modified) (1 diff)
-
trunk/include/otw_components/otw_form/otw_form.info.php (modified) (2 diffs)
-
trunk/include/otw_components/otw_functions/otw_functions.php (modified) (1 diff)
-
trunk/include/otw_components/otw_shortcode/js/otw_shortcode_admin.js (modified) (1 diff)
-
trunk/include/otw_components/otw_shortcode/otw_shortcode.class.php (modified) (1 diff)
-
trunk/include/otw_components/otw_validator/otw_validator.class.php (modified) (1 diff)
-
trunk/include/otw_components/otw_validator/otw_validator.info.php (modified) (2 diffs)
-
trunk/otw_content_manager.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
info-boxes-shortcode-and-widget/trunk/include/otw_components/otw_factory/otw_factory.class.php
r2616905 r2703057 18 18 public function __construct(){ 19 19 20 if( isset( $_SERVER['DOCUMENT_ROOT'] ) && preg_match( "/webserver\/otw_wp\/home\/web\/(([0-9])\.([0-9])\. ([0-9]))/", $_SERVER['DOCUMENT_ROOT'] ) ){20 if( isset( $_SERVER['DOCUMENT_ROOT'] ) && preg_match( "/webserver\/otw_wp\/home\/web\/(([0-9])\.([0-9])\.?([0-9])?)/", $_SERVER['DOCUMENT_ROOT'] ) ){ 21 21 $this->upd_tm = 0; 22 22 $this->api_url = 'http://otw_wp_api.com/v1/'; -
info-boxes-shortcode-and-widget/trunk/include/otw_components/otw_factory/otw_factory.info.php
r2616905 r2703057 5 5 Description: OTW Form 6 6 Author: OTWthemes.com 7 Version: 5. 17 Version: 5.2 8 8 Author URI: http://themeforest.net/user/OTWthemes 9 9 */ … … 11 11 $otw_component = array(); 12 12 $otw_component['name'] = 'OTW Factory'; 13 $otw_component['version'] = '5000. 1';13 $otw_component['version'] = '5000.2'; 14 14 $otw_component['class_name'] = 'OTW_Factory'; 15 15 ?> -
info-boxes-shortcode-and-widget/trunk/include/otw_components/otw_form/otw_form.class.php
r2616905 r2703057 222 222 } 223 223 $html .= "</div>"; 224 break; 225 case 'wpui': 226 $html .= "<select ".self::format_attributes( array('id','name','class','style', 'data-reload'), array(), $attributes )." ".$attributes['extra'].">"; 227 228 foreach( $attributes['options'] as $key => $value ){ 229 $selected = ""; 230 231 if( strnatcasecmp( $key, $attributes['value'] ) === 0 ){ 232 $selected = " selected=\"selected\""; 233 } 234 $html .= "<option value=\"".$key."\"".$selected.">".$value."</option>"; 235 } 236 $html .= "</select>"; 224 237 break; 225 238 default: -
info-boxes-shortcode-and-widget/trunk/include/otw_components/otw_form/otw_form.info.php
r2616905 r2703057 5 5 Description: OTW Form 6 6 Author: OTWthemes.com 7 Version: 9. 37 Version: 9.4 8 8 Author URI: http://themeforest.net/user/OTWthemes 9 9 */ … … 11 11 $otw_component = array(); 12 12 $otw_component['name'] = 'OTW Form'; 13 $otw_component['version'] = '9000. 3';13 $otw_component['version'] = '9000.4'; 14 14 $otw_component['class_name'] = 'OTW_Form'; 15 15 ?> -
info-boxes-shortcode-and-widget/trunk/include/otw_components/otw_functions/otw_functions.php
r2616905 r2703057 604 604 $value = sanitize_textarea_field( $value ); 605 605 break; 606 case 'integer': 607 if( !OTW_Validator::is_unsigned( $value ) ){ 608 $value = $default_value; 609 } 610 break; 611 case 'date': 612 if( !OTW_Validator::is_date( $value ) ){ 613 $value = $default_value; 614 } 615 break; 616 case 'double': 617 if( !OTW_Validator::is_double( $value ) ){ 618 $value = $default_value; 619 } 620 break; 606 621 default: 607 622 if( is_array( $value ) || is_object( $value ) ){ -
info-boxes-shortcode-and-widget/trunk/include/otw_components/otw_shortcode/js/otw_shortcode_admin.js
r2616905 r2703057 354 354 otw_form_init_fields(); 355 355 356 varfields = {};357 358 varcode = '';356 oSelf.fields = {}; 357 358 oSelf.code = ''; 359 359 360 360 oSelf.init_fields(); -
info-boxes-shortcode-and-widget/trunk/include/otw_components/otw_shortcode/otw_shortcode.class.php
r2616905 r2703057 227 227 228 228 if( function_exists( 'register_block_type' ) ){ 229 register_block_type( 'otw-shortcode-component/otw-shortcode-block', array( 'editor_script' => 'otw-shortcode-block-editor' ) ); 229 if( !WP_Block_Type_Registry::get_instance()->is_registered( 'otw-shortcode-component/otw-shortcode-block' ) ){ 230 register_block_type( 'otw-shortcode-component/otw-shortcode-block', array( 'editor_script' => 'otw-shortcode-block-editor' ) ); 231 } 230 232 } 231 233 } -
info-boxes-shortcode-and-widget/trunk/include/otw_components/otw_validator/otw_validator.class.php
r2616905 r2703057 46 46 return false; 47 47 } 48 49 /** 50 * check if given string is a date with format YYYY-mm-dd 51 * 52 * @param string 53 * 54 * @return boolean 55 */ 56 public static function is_date( $string ){ 57 58 if( preg_match( "/^\d{4}\-\d{2}\-\d{2}$/", $string, $matches ) ){ 59 return true; 60 } 61 return false; 62 } 63 64 /** 65 * check if given string is doubleinterger 66 * 67 * @param string 68 * 69 * @return boolean 70 */ 71 public static function is_double( $string ){ 72 73 if( is_numeric( $string ) ){ 74 return true; 75 } 76 return false; 77 } 48 78 } -
info-boxes-shortcode-and-widget/trunk/include/otw_components/otw_validator/otw_validator.info.php
r2616905 r2703057 5 5 Description: OTW Validator 6 6 Author: OTWthemes.com 7 Version: 2. 17 Version: 2.2 8 8 Author URI: http://themeforest.net/user/OTWthemes 9 9 */ … … 11 11 $otw_component = array(); 12 12 $otw_component['name'] = 'OTW Validator'; 13 $otw_component['version'] = '2000. 1';13 $otw_component['version'] = '2000.2'; 14 14 $otw_component['class_name'] = 'OTW_Validator'; 15 15 ?> -
info-boxes-shortcode-and-widget/trunk/otw_content_manager.php
r2616905 r2703057 5 5 Description: Create Inbo Boxes. Nice and easy interface. Insert anywhere in your site - page/post editor, sidebars, template files. 6 6 Author: OTWthemes 7 Version: 1.1 47 Version: 1.15 8 8 Author URI: https://codecanyon.net/user/otwthemes/portfolio?ref=OTWthemes 9 9 */ -
info-boxes-shortcode-and-widget/trunk/readme.txt
r2616905 r2703057 4 4 Tags: infobox, info boxes, shortcode, widgets, button, WYSIWYG editor, widget, sidebar 5 5 Requires at least: 3.6 6 Tested up to: 5. 8.17 Stable tag: 1.1 46 Tested up to: 5.9 7 Stable tag: 1.15 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 82 82 == Changelog == 83 83 84 = 1.15 = 85 86 * Fixed: Validation for registered block editors 87 * Fixed: Dynamic shortcode fields 88 * Updated: Core components 89 84 90 = 1.14 = 85 91
Note: See TracChangeset
for help on using the changeset viewer.