Plugin Directory

Changeset 580209


Ignore:
Timestamp:
08/01/2012 10:19:28 AM (14 years ago)
Author:
tailoredweb
Message:

1.3.5 Update

Location:
tailored-tools
Files:
24 added
5 edited

Legend:

Unmodified
Added
Removed
  • tailored-tools/trunk/lib/class.forms.php

    r570563 r580209  
    1919    // Customise these in child-class
    2020    public      $nonce          = 'tailored-tools';
     21    public      $admin_menu     = 'index.php';  // parent-hook for add_menu_item
    2122    public      $form_name      = false;
    2223    public      $questions      = false;    // Will be an array of questions.  See docs for sample.
     
    492493            if ($count && $count->private>0)    $counter = '<span class="update-plugins"><span class="update-count">'. $count->private .'</span></span>';
    493494        }
    494         $hook = add_submenu_page('index.php', $this->form_name, $this->form_name.$counter, 'edit_posts', $this->option_key,  array(&$this,'admin_page'));
     495        $hook = add_submenu_page($this->admin_menu, $this->form_name, $this->form_name.$counter, 'edit_posts', $this->option_key,  array(&$this,'admin_page'));
    495496        add_action("load-$hook", array(&$this,'admin_enqueue'));
    496497    }
  • tailored-tools/trunk/readme.txt

    r570563 r580209  
    44Requires at least:  3.0
    55Tested up to:       3.4.1
    6 Stable tag:         1.3.4
     6Stable tag:         1.3.5
    77
    88Contains some helper classes to help you build custom forms.
     
    5151== Changelog ==
    5252
     53= 1.3.5 =
     54* Fix issue with ui_tabs - JS and shortcode
     55* Added some more filters for better
     56
    5357= 1.3.4 =
    5458* Fix to apply 'required' class to datepicker elements
  • tailored-tools/trunk/resource/loader.js

    r566366 r580209  
    2525var tab_counter = 0;
    2626jQuery(document).ready(function($) {
    27     if ($('.format_text .ui_tabs').size() < 1) { return; }
    28     $('.format_text .ui_tabs').each(function(i, tabset) {
     27    if ($('.ui_tabs').size() < 1) { return; }
     28    $('.ui_tabs').each(function(i, tabset) {
    2929        var ul = $( document.createElement('ul') );
    3030        //var ul = $('ul');
  • tailored-tools/trunk/shortcodes.php

    r566366 r580209  
    5050        // Using do_shortcode() to apply shortcodes inside the tabs
    5151        $content = '<div class="ui_tabs">'."\n".do_shortcode($content)."\n".'</div>'."\n";
     52        // Add JS
     53        wp_enqueue_script('jquery-ui-tabs');
     54        // Return
    5255        return $content;
    5356    }
  • tailored-tools/trunk/tools.php

    r566843 r580209  
    33Plugin Name:    Tailored Tools
    44Description:    Adds some functionality to WordPress that you'll need.
    5 Version:        1.3.3
     5Version:        1.3.5
    66Author:         Tailored Web Services
    77Author URI:     http://www.tailored.com.au
     
    3131
    3232
     33
     34
    3335?>
Note: See TracChangeset for help on using the changeset viewer.