Plugin Directory

Changeset 788952


Ignore:
Timestamp:
10/16/2013 08:48:40 PM (12 years ago)
Author:
sinetheta
Message:

added tooltip

Location:
bootstrap-shortcodes/trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • bootstrap-shortcodes/trunk/bootstrap-shortcodes.php

    r785988 r788952  
    44Plugin URI: https://github.com/TheWebShop/bootstrap-shortcodes
    55Description: A simple shortcode generator. Add buttons, columns, toggles and alerts to your theme.
    6 Version: 1.4.3
     6Version: 1.5.0
    77Author: Kevin Attfield
    88Author URI: https://github.com/Sinetheta
     
    1919require_once('inc/bs_icons.php');
    2020require_once('inc/bs_lead.php');
     21require_once('inc/bs_tooltip.php');
    2122
    2223class BootstrapShortcodes{
     
    3031        'buttons',
    3132        'icons',
    32         'lead'
     33        'lead',
     34        'tooltip'
    3335    );
    3436
     
    4648
    4749        if(!is_admin()){
    48             if( isset($options['chk_default_options_css']) && $options['chk_default_options_css'] ){
     50            if( isset($options['chk_default_options_css']) && $options['chk_default_options_css'] ) {
    4951                wp_enqueue_style("bs_bootstrap", plugins_url('css/bootstrap.css', __FILE__ ) );
    5052                wp_enqueue_style("bs_shortcodes", plugins_url('css/shortcodes.css', __FILE__ ) );
    5153            }
    52             if( isset($options['chk_default_options_js']) && $options['chk_default_options_js'] )
    53                 wp_enqueue_script('bs_bootstrap', plugins_url('js/bootstrap.js', __FILE__ ) ,array('jquery'));
     54            if( isset($options['chk_default_options_js']) && $options['chk_default_options_js'] ) {
     55                wp_enqueue_script('bs_bootstrap', plugins_url('js/bootstrap.js', __FILE__ ) , array('jquery'));
     56            }
     57            wp_enqueue_script('bs_init', plugins_url('js/init.js', __FILE__ ) , array('bs_bootstrap'));
    5458        } else {
    5559            wp_enqueue_style("bs_admin_style", plugins_url('css/admin.css', __FILE__ ) );
     
    104108                "chk_default_options_buttons"   => "1",
    105109                "chk_default_options_icons"     => "1",
    106                 "chk_default_options_lead"      => "1"
     110                "chk_default_options_lead"      => "1",
     111                "chk_default_options_tooltip"   => "1"
    107112            );
    108113            update_option( 'bs_options', $arr );
  • bootstrap-shortcodes/trunk/css/admin.css

    r784413 r788952  
    77.wp_themeSkin .mceSplitButton span.mce_bs_wells,
    88.wp_themeSkin .mceSplitButton span.mce_bs_buttons,
     9.wp_themeSkin .mceSplitButton span.mce_bs_tooltip,
    910.wp_themeSkin span.mce_bs_icons,
    1011.wp_themeSkin span.mce_bs_lead {
     
    5758.wp_themeSkin .mceSplitButtonSelected .mceSplitButton span.mce_bs_buttons  {
    5859    background-position: -107px 0px !important;
     60}
     61
     62.wp_themeSkin .mceSplitButton span.mce_bs_tooltip {
     63    background-position: -170px -19px !important;
     64}
     65.wp_themeSkin .mceSplitButton:hover span.mce_bs_tooltip,
     66.wp_themeSkin .mceSplitButtonSelected .mceSplitButton span.mce_bs_tooltip  {
     67    background-position: -170px 0px !important;
    5968}
    6069
  • bootstrap-shortcodes/trunk/readme.txt

    r785988 r788952  
    44Requires at least: 3.0
    55Tested up to: 3.6
    6 Stable tag: 1.4.3
     6Stable tag: 1.5.0
    77License: GNU General Public License v2.0
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2727== Changelog ==
    2828
     29= 1.5 =
     30* Added support for tooltips
     31
    2932= 1.4 =
    3033* Added support for tabs
Note: See TracChangeset for help on using the changeset viewer.