Plugin Directory

Changeset 1522487


Ignore:
Timestamp:
10/26/2016 01:24:24 PM (9 years ago)
Author:
offshorent
Message:

New Version added

Location:
os-pricing-tables
Files:
90 added
16 edited

Legend:

Unmodified
Added
Removed
  • os-pricing-tables/trunk/includes/admin/meta-boxes/class.ospt.countries.php

    r1321495 r1522487  
    1010 *
    1111 * @class       osptCountries
    12  * @version     1.0
     12 * @version     1.1
    1313 * @category    Class
    1414 * @author      Offshorent Softwares Pvt. Ltd. | Jinesh.P.V
     
    285285 * Returns the main instance of osptCountries to prevent the need to use globals.
    286286 *
    287  * @since  1.0
     287 * @since  1.1
    288288 * @return osptCountries
    289289 */
  • os-pricing-tables/trunk/includes/admin/meta-boxes/class.ospt.currencies.php

    r1321495 r1522487  
    1010 *
    1111 * @class       osptCurrencies
    12  * @version     1.0
     12 * @version     1.1
    1313 * @category    Class
    1414 * @author      Offshorent Softwares Pvt. Ltd. | Jinesh.P.V
     
    225225 * Returns the main instance of osptCurrencies to prevent the need to use globals.
    226226 *
    227  * @since  1.0
     227 * @since  1.1
    228228 * @return osptCurrencies
    229229 */
  • os-pricing-tables/trunk/includes/admin/meta-boxes/class.ospt.designs.php

    r1321495 r1522487  
    1010 *
    1111 * @class       osptMetaboxTypes
    12  * @version     1.0
     12 * @version     1.1
    1313 * @category    Class
    1414 * @author      Offshorent Softwares Pvt. Ltd. | Jinesh.P.V
     
    6060 * Returns the main instance of osptMetaboxTypes to prevent the need to use globals.
    6161 *
    62  * @since  1.0
     62 * @since  1.1
    6363 * @return osptMetaboxTypes
    6464 */
  • os-pricing-tables/trunk/includes/admin/meta-boxes/class.ospt.general.php

    r1321495 r1522487  
    1010 *
    1111 * @class       osptMetaboxGeneral
    12  * @version     1.0
     12 * @version     1.1
    1313 * @category    Class
    1414 * @author      Offshorent Softwares Pvt. Ltd. | Jinesh.P.V
  • os-pricing-tables/trunk/includes/admin/meta-boxes/class.ospt.packages.php

    r1321495 r1522487  
    1010 *
    1111 * @class       osptMetaboxPackages
    12  * @version     1.0
     12 * @version     1.1
    1313 * @category    Class
    1414 * @author      Offshorent Softwares Pvt. Ltd. | Jinesh.P.V
     
    6060 * Returns the main instance of osptMetaboxPackages to prevent the need to use globals.
    6161 *
    62  * @since  1.0
     62 * @since  1.1
    6363 * @return osptMetaboxPackages
    6464 */
  • os-pricing-tables/trunk/includes/admin/meta-boxes/class.ospt.settings.php

    r1321495 r1522487  
    1010 *
    1111 * @class       osptMetaboxSettings
    12  * @version     1.0
     12 * @version     1.1
    1313 * @category    Class
    1414 * @author      Offshorent Softwares Pvt. Ltd. | Jinesh.P.V
  • os-pricing-tables/trunk/includes/admin/meta-boxes/class.ospt.shortcode.php

    r1321495 r1522487  
    1010 *
    1111 * @class       osptMetaboxShortcode
    12  * @version     1.0
     12 * @version     1.1
    1313 * @category    Class
    1414 * @author      Offshorent Softwares Pvt. Ltd. | Jinesh.P.V
  • os-pricing-tables/trunk/includes/admin/meta-boxes/views/ospt.shortcode.php

    r1321495 r1522487  
    33$ospt_custom_meta = $post_type->ospt_return_slider_custom_meta( $post_id );
    44$design = isset( $ospt_custom_meta['design'] ) ? $ospt_custom_meta['design'] : '';
    5 $shortcode = '[os-pricing-table id="' . $post_id . '" design="' . $design . '"]';
    6 $shortcode_function = '<?php echo do_shortcode( [os-pricing-table id="' . $post_id . '" design="' . $design . '"] );?>';
     5$shortcode = '[ospt-pricing-table id="' . $post_id . '" design="' . $design . '"]';
     6$shortcode_function = '<?php echo do_shortcode( [ospt-pricing-table id="' . $post_id . '" design="' . $design . '"] );?>';
    77?>
    88<div id="ospt-shortcode-wrapper">
  • os-pricing-tables/trunk/includes/admin/ospt-about.php

    r1321495 r1522487  
    1010 *
    1111 * @class       OSPTAbout
    12  * @version     1.0
     12 * @version     1.1
    1313 * @category    Class
    1414 * @author      Jinesh, Senior Software Engineer
     
    4040        * about_ourteam_developer for ourteam blog
    4141        *
    42         * @since  1.0
     42        * @since  1.1
    4343        */
    4444   
  • os-pricing-tables/trunk/includes/admin/ospt-colors.php

    r1321495 r1522487  
    1010 *
    1111 * @class       osptColors
    12  * @version     1.0
     12 * @version     1.1
    1313 * @category    Class
    1414 * @author      Jinesh.P.V, Team Leader Offshorent Softwares Pvt Ltd.
  • os-pricing-tables/trunk/includes/admin/ospt-post-types.php

    r1321495 r1522487  
    1010 *
    1111 * @class       osptPostTypes
    12  * @version     1.0
     12 * @version     1.1
    1313 * @category    Class
    1414 * @author      Offshorent Softwares Pvt. Ltd. | Jinesh.P.V
     
    195195 * Returns the main instance of osptPostTypes to prevent the need to use globals.
    196196 *
    197  * @since  1.0
     197 * @since  1.1
    198198 * @return osptPostTypes
    199199 */
  • os-pricing-tables/trunk/includes/ospt-colors.php

    r1321495 r1522487  
    1010 *
    1111 * @class       osptColors
    12  * @version     1.0
     12 * @version     1.1
    1313 * @category    Class
    1414 * @author      Offshorent Softwares Pvt. Ltd. | Jinesh.P.V
  • os-pricing-tables/trunk/includes/ospt-process-payment.php

    r1321495 r1522487  
    1010 *
    1111 * @class       osptPaymentProcess
    12  * @version     1.0
     12 * @version     1.1
    1313 * @category    Class
    1414 * @author      Offshorent Softwares Pvt. Ltd. | Jinesh.P.V
     
    3232        * Ajax function for ospt_process_payment
    3333        *
    34         * @since  1.0
     34        * @since  1.1
    3535        */
    3636         
  • os-pricing-tables/trunk/js/admin/custom-min.js

    r1321495 r1522487  
    1 /*
    2 Plugin Name: OS Pricing Tables
    3 Plugin URI: http://offshorent.com/blog/extensions/os-pricing-tables
    4 Description: Create a Beautiful, Responsive and Highly Converting Pricing or Comparison Table in WordPress using OS Pricing Tables.
    5 Version: 1.0
    6 Author: Jinesh.P.V, Team Leader Offshorent Softwares Pvt Ltd.
    7 Author URI: http://offshorent.com/
    8 License: GPL2
    9 */
    101(function($){$(document).on('click','.toggle',function(e){$(this).parent().parent().next().slideToggle(500);if($(this).hasClass("up"))$(this).removeClass("up").addClass("down");else $(this).removeClass("down").addClass("up")});$(document).on('click','.attribute-box label.attribute',function(e){$(this).next().slideToggle(500)});$('#ospt-slider-wrapper').sortable({handle:'.ospt-header',placeholder:"os-slider-slide-placeholder",forcePlaceholderSize:true,delay:100,update:function(event,ui){$('#ospt-slider-wrapper .ospt-box').each(function(boxIndex,box){$(box).find('input, select, textarea').each(function(i,field){var name=$(field).attr('name');if(name){name=name.replace(/\[[0-9]+\]/,'['+boxIndex+']');$(field).attr('name',name)}})})}});$(document).on('click','#add-package',function(e){var id=$('.ospt-box').length,html=$('.ospt-box-wrap').html();html=html.replace(/{id}/g,id);$('#ospt-slider-wrapper').append(html);e.preventDefault()});$(document).on('click','.ospt-box .delete',function(e){$(this).closest('.ospt-box').remove()});$(document).on('click','.ospt_design',function(e){if($(this).hasClass("active")){$('#ospt_design').val('');$('.ospt_design').parent().removeClass('active')}else{var type_value=$(this).attr('id');$('#ospt_design').val(type_value);$('.ospt_design').parent().removeClass('active');$(this).parent().addClass('active')}});$(document).on('click','.shortcode',function(e){$(this).select();$(this).onmouseup=function(){$(this).onmouseup=null;return false}});$(document).on('change','select[name="ospt[general][payment-method]"]',function(e){var $value=$(this).val();$('#paypal, #authorizenet-aim, #first-data').hide();$('#'+$value).show()});$(document).on('change','select.link-type',function(e){var $value=$(this).val();if($value=='url'){$(this).parent().parent().next().show()}else{$(this).parent().parent().next().hide()}});$(document).on('click','.add-feature',function(e){var id=$(this).attr('id'),html=$('.ospt-feature-wrap').html();html=html.replace(/{id}/g,id);$(this).next('.features').append(html);e.preventDefault()});$(document).on('click','.delete-feature',function(e){$(this).parent().remove()});$('.button-color').wpColorPicker()})(jQuery);
  • os-pricing-tables/trunk/ospt-pricing-tables.php

    r1321495 r1522487  
    44Plugin URI: http://offshorent.com/blog/extensions/os-pricing-tables
    55Description: Create a Beautiful, Responsive and Highly Converting Pricing or Comparison Table in WordPress using OS Pricing Tables.
    6 Version: 1.0
     6Version: 1.1
    77Author: Offshorent Softwares Pvt. Ltd. | Jinesh.P.V
    88Author URI: http://offshorent.com/
     
    3434    *
    3535    * @class osPricingTables
    36     * @version  1.0
     36    * @version  1.1
    3737    */
    3838
     
    4141        /**
    4242        * @var string
    43         * @since    1.0
    44         */
    45          
    46         public $version = '1.0';
     43        * @since    1.1
     44        */
     45         
     46        public $version = '1.1';
    4747       
    4848        /**
    4949        * @var osPricingTables The single instance of the class
    50         * @since 1.0
     50        * @since 1.1
    5151        */
    5252       
     
    5858        * Ensures only one instance of osPricingTables is loaded or can be loaded.
    5959        *
    60         * @since 1.0
     60        * @since 1.1
    6161        * @static
    6262        * @see OSBX()
     
    7474        * Cloning is forbidden.
    7575        *
    76         * @since 1.0
     76        * @since 1.1
    7777        */
    7878
    7979        public function __clone() {
    80             _doing_it_wrong( __FUNCTION__, 'Cheatin&#8217; huh?', '1.0' );
     80            _doing_it_wrong( __FUNCTION__, 'Cheatin&#8217; huh?', '1.1' );
    8181        }
    8282
     
    8484        * Unserializing instances of this class is forbidden.
    8585        *
    86         * @since 1.0
     86        * @since 1.1
    8787        */
    8888         
    8989        public function __wakeup() {
    90             _doing_it_wrong( __FUNCTION__, 'Cheatin&#8217; huh?', '1.0' );
     90            _doing_it_wrong( __FUNCTION__, 'Cheatin&#8217; huh?', '1.1' );
    9191        }
    9292           
     
    9494        * Get the plugin url.
    9595        *
    96         * @since 1.0
     96        * @since 1.1
    9797        */
    9898
     
    104104        * Get the plugin path.
    105105        *
    106         * @since 1.0
     106        * @since 1.1
    107107        */
    108108
     
    114114        * Get Ajax URL.
    115115        *
    116         * @since 1.0
     116        * @since 1.1
    117117        */
    118118
     
    125125        * @access public
    126126        * @return osPricingTables
    127         * @since 1.0
     127        * @since 1.1
    128128        */
    129129         
     
    149149        /**
    150150        * Install osPricingTables
    151         * @since 1.0
     151        * @since 1.1
    152152        */
    153153         
     
    163163        /**
    164164        * Define osPricingTables Constants
    165         * @since 1.0
     165        * @since 1.1
    166166        */
    167167         
     
    178178        * includes admin defaults files
    179179        *
    180         * @since 1.0
     180        * @since 1.1
    181181        */
    182182         
     
    191191        /**
    192192        * Init osPricingTables when WordPress Initialises.
    193         * @since 1.0
     193        * @since 1.1
    194194        */
    195195         
     
    202202        * Clean all output buffers
    203203        *
    204         * @since  1.0
     204        * @since  1.1
    205205        */
    206206         
     
    213213        * Callback function
    214214        *
    215         * @since  1.0
     215        * @since  1.1
    216216        */
    217217         
     
    223223        * Clean all output buffers
    224224        *
    225         * @since  1.0
     225        * @since  1.1
    226226        */
    227227         
     
    232232        /**
    233233        * Admin init osPricingTables when WordPress Initialises.
    234         * @since  1.0
     234        * @since  1.1
    235235        */
    236236         
     
    243243        * Admin side style and javascript hook for osPricingTables
    244244        *
    245         * @since  1.0
     245        * @since  1.1
    246246        */
    247247         
     
    251251            wp_enqueue_style( 'wp-color-picker' );           
    252252            wp_enqueue_style( 'ospt-admin-style', plugins_url( 'css/admin/style-min.css', __FILE__ ) );
    253             wp_enqueue_script( 'ospt-custom-min', plugins_url( 'js/admin/custom-min.js', __FILE__ ), array( 'jquery', 'jquery-ui-sortable', 'wp-color-picker' ), '1.0', true );
     253            wp_enqueue_script( 'ospt-custom-min', plugins_url( 'js/admin/custom-min.js', __FILE__ ), array( 'jquery', 'jquery-ui-sortable', 'wp-color-picker' ), '1.1', true );
    254254        }
    255255
     
    257257        * Frontend style and javascript hook for osPricingTables
    258258        *
    259         * @since  1.0
     259        * @since  1.1
    260260        */
    261261         
     
    271271            wp_enqueue_script( 'ospt-validate-min', plugins_url( 'js/jquery.validate.min.js', __FILE__ ), array( 'jquery' ), '1.14.0', true );
    272272            wp_enqueue_script( 'ospt-colorbox', plugins_url( 'colorbox/jquery.colorbox-min.js', __FILE__ ), array( 'jquery' ), '1.6.3', true );
    273             wp_enqueue_script( 'ospt-custom-min', plugins_url( 'js/custom-min.js', __FILE__ ), array( 'jquery' ), '1.0', true );
     273            wp_enqueue_script( 'ospt-custom-min', plugins_url( 'js/custom-min.js', __FILE__ ), array( 'jquery' ), '1.1', true );
    274274            wp_localize_script( 'ospt-custom-min', 'ospt_params', array(
    275275                                                                        'ajax_url' => self::ajax_url()
     
    281281        * Shortcode function for os-pricing-table
    282282        *
    283         * @since  1.0
     283        * @since  1.1
    284284        */
    285285         
     
    309309 * Returns the main instance of osPricingTables to prevent the need to use globals.
    310310 *
    311  * @since  1.0
     311 * @since  1.1
    312312 * @return osPricingTables
    313313 */
  • os-pricing-tables/trunk/readme.txt

    r1321495 r1522487  
    22Contributors: offshorent
    33Tags: Create a Beautiful, Responsive and Highly Converting Pricing or Comparison Table in WordPress using OS Pricing Tables.
    4 Requires at least: 3.8
    5 Tested up to: 4.3.1
    6 Stable tag: 1.0
     4Requires at least: 4.0
     5Tested up to: 4.6.1
     6Stable tag: 1.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9090
    9191== Changelog ==
    92 = 1.0 =
     92= 1.1 =
    9393* Initial release
Note: See TracChangeset for help on using the changeset viewer.