@@ -448,8 +448,8 @@ discard block |
||
448 | 448 | */ |
449 | 449 | public static function get_shortcode_tag( $shortcodes, $short_key, $args ) { |
450 | 450 | _deprecated_function( __FUNCTION__, '3.0', 'FrmShortcodeHelper::get_shortcode_tag' ); |
451 | - return FrmShortcodeHelper::get_shortcode_tag( $shortcodes, $short_key, $args ); |
|
452 | - } |
|
451 | + return FrmShortcodeHelper::get_shortcode_tag( $shortcodes, $short_key, $args ); |
|
452 | + } |
|
453 | 453 | |
454 | 454 | /** |
455 | 455 | * @deprecated 3.01 |
@@ -459,55 +459,55 @@ discard block |
||
459 | 459 | return FrmStylesHelper::get_single_label_positions(); |
460 | 460 | } |
461 | 461 | |
462 | - /** |
|
463 | - * @deprecated 3.02.03 |
|
464 | - */ |
|
465 | - public static function jquery_themes() { |
|
462 | + /** |
|
463 | + * @deprecated 3.02.03 |
|
464 | + */ |
|
465 | + public static function jquery_themes() { |
|
466 | 466 | _deprecated_function( __FUNCTION__, '3.02.03', 'FrmProStylesController::jquery_themes' ); |
467 | 467 | |
468 | - $themes = array( |
|
469 | - 'ui-lightness' => 'UI Lightness', |
|
470 | - 'ui-darkness' => 'UI Darkness', |
|
471 | - 'smoothness' => 'Smoothness', |
|
472 | - 'start' => 'Start', |
|
473 | - 'redmond' => 'Redmond', |
|
474 | - 'sunny' => 'Sunny', |
|
475 | - 'overcast' => 'Overcast', |
|
476 | - 'le-frog' => 'Le Frog', |
|
477 | - 'flick' => 'Flick', |
|
468 | + $themes = array( |
|
469 | + 'ui-lightness' => 'UI Lightness', |
|
470 | + 'ui-darkness' => 'UI Darkness', |
|
471 | + 'smoothness' => 'Smoothness', |
|
472 | + 'start' => 'Start', |
|
473 | + 'redmond' => 'Redmond', |
|
474 | + 'sunny' => 'Sunny', |
|
475 | + 'overcast' => 'Overcast', |
|
476 | + 'le-frog' => 'Le Frog', |
|
477 | + 'flick' => 'Flick', |
|
478 | 478 | 'pepper-grinder' => 'Pepper Grinder', |
479 | - 'eggplant' => 'Eggplant', |
|
480 | - 'dark-hive' => 'Dark Hive', |
|
481 | - 'cupertino' => 'Cupertino', |
|
482 | - 'south-street' => 'South Street', |
|
483 | - 'blitzer' => 'Blitzer', |
|
484 | - 'humanity' => 'Humanity', |
|
485 | - 'hot-sneaks' => 'Hot Sneaks', |
|
486 | - 'excite-bike' => 'Excite Bike', |
|
487 | - 'vader' => 'Vader', |
|
488 | - 'dot-luv' => 'Dot Luv', |
|
489 | - 'mint-choc' => 'Mint Choc', |
|
490 | - 'black-tie' => 'Black Tie', |
|
491 | - 'trontastic' => 'Trontastic', |
|
492 | - 'swanky-purse' => 'Swanky Purse', |
|
493 | - ); |
|
479 | + 'eggplant' => 'Eggplant', |
|
480 | + 'dark-hive' => 'Dark Hive', |
|
481 | + 'cupertino' => 'Cupertino', |
|
482 | + 'south-street' => 'South Street', |
|
483 | + 'blitzer' => 'Blitzer', |
|
484 | + 'humanity' => 'Humanity', |
|
485 | + 'hot-sneaks' => 'Hot Sneaks', |
|
486 | + 'excite-bike' => 'Excite Bike', |
|
487 | + 'vader' => 'Vader', |
|
488 | + 'dot-luv' => 'Dot Luv', |
|
489 | + 'mint-choc' => 'Mint Choc', |
|
490 | + 'black-tie' => 'Black Tie', |
|
491 | + 'trontastic' => 'Trontastic', |
|
492 | + 'swanky-purse' => 'Swanky Purse', |
|
493 | + ); |
|
494 | 494 | |
495 | 495 | $themes = apply_filters( 'frm_jquery_themes', $themes ); |
496 | - return $themes; |
|
497 | - } |
|
496 | + return $themes; |
|
497 | + } |
|
498 | 498 | |
499 | - /** |
|
500 | - * @deprecated 3.02.03 |
|
501 | - */ |
|
502 | - public static function enqueue_jquery_css() { |
|
499 | + /** |
|
500 | + * @deprecated 3.02.03 |
|
501 | + */ |
|
502 | + public static function enqueue_jquery_css() { |
|
503 | 503 | _deprecated_function( __FUNCTION__, '3.02.03', 'FrmProStylesController::enqueue_jquery_css' ); |
504 | 504 | |
505 | 505 | $form = self::get_form_for_page(); |
506 | 506 | $theme_css = FrmStylesController::get_style_val( 'theme_css', $form ); |
507 | - if ( $theme_css != -1 ) { |
|
507 | + if ( $theme_css != -1 ) { |
|
508 | 508 | wp_enqueue_style( 'jquery-theme', self::jquery_css_url( $theme_css ), array(), FrmAppHelper::plugin_version() ); |
509 | - } |
|
510 | - } |
|
509 | + } |
|
510 | + } |
|
511 | 511 | |
512 | 512 | /** |
513 | 513 | * @deprecated 3.02.03 |
@@ -520,7 +520,7 @@ discard block |
||
520 | 520 | } |
521 | 521 | |
522 | 522 | return FrmProStylesController::jquery_css_url( $theme_css ); |
523 | - } |
|
523 | + } |
|
524 | 524 | |
525 | 525 | /** |
526 | 526 | * @deprecated 3.02.03 |