Plugin Directory

Changeset 1505929


Ignore:
Timestamp:
09/30/2016 01:59:19 PM (9 years ago)
Author:
obox
Message:

Updated folder name conventions, last update threw a bug into the mix

Location:
launchpad-by-obox
Files:
128 added
3 edited

Legend:

Unmodified
Added
Removed
  • launchpad-by-obox/trunk/functions/class.php

    r1502788 r1505929  
    3434
    3535    function template_dir(){
    36         $template_path = LAUNCHPADDIR."themes";
     36        $template_path = LAUNCHPADDIR."/themes";
    3737        return $template_path;
    3838    }
    3939
    4040    function template_uri(){
    41         $template_path = plugins_url("launchpad-by-obox/")."themes";
     41        $template_path = LAUNCHPADURI."/themes";
    4242        return $template_path;
    4343    }
     
    8888                wp_enqueue_script( 'jquery-ui-slider' );
    8989
    90                 wp_enqueue_script( 'ui-jquery-timepicker', LAUNCHPADURI . '/jquery.timepicker.js', array( 'jquery' ) );
     90                wp_enqueue_script( 'ui-jquery-timepicker', LAUNCHPADURI . '/js/jquery.timepicker.js', array( 'jquery' ) );
    9191                wp_enqueue_script( 'jquery-checkboxes', LAUNCHPADURI . '/js/jquery.checkboxes.js', array( 'jquery' ) );
    9292                wp_enqueue_script( 'apollo-admin', LAUNCHPADURI . '/js/admin.js' , array( 'jquery', 'media-upload' ) );
    9393
    9494                wp_localize_script( 'apollo-admin', 'base', LAUNCHPADURI );
     95
    9596                wp_enqueue_script( 'theme-preview' );
    9697                add_thickbox();
     
    101102                wp_register_style( 'jquery-checkbox', LAUNCHPADURI . '/css/checkboxes.css' );
    102103
     104
    103105                wp_enqueue_style( 'apollo-admin' );
    104106                wp_enqueue_style( 'ui-jquery-style' );
     
    110112        elseif( !( in_array( $GLOBALS['pagenow'], array( 'wp-login.php', 'wp-register.php' ) ) ) ) :
    111113            $apollo_options =  get_option("apollo_display_options");
     114
    112115            wp_enqueue_script( "countdown-jquery", LAUNCHPADURI . '/js/jquery.countdown.js', array( "jquery" ) );
    113116            wp_enqueue_script( "apollo", LAUNCHPADURI . '/js/jquery.apollo.js' , array( "jquery" ) );
     117
    114118            $date_launch = date("F d, Y G:i:s", strtotime($apollo_options["launchdate"]));
    115119            $date_now = date("F d, Y G:i:s", current_time('timestamp') );
     
    128132            if(isset($_REQUEST['page']) && $_REQUEST['page'] == "apollo_general_settings") :
    129133                // Styles
     134
    130135                wp_register_style( 'apollo-admin', LAUNCHPADURI . '/css/admin.css' );
    131136                wp_register_style( 'ui-jquery-style', LAUNCHPADURI . '/css/jquery-ui.css' );
    132137                wp_register_style( 'jquery-checkbox', LAUNCHPADURI . '/css/checkboxes.css' );
    133 
    134138                wp_enqueue_style( 'apollo-admin' );
    135139                wp_enqueue_style( 'ui-jquery-style' );
  • launchpad-by-obox/trunk/index.php

    r1502788 r1505929  
    55    Description: Deploys a beautiful, responsive Coming Soon or Down for Maintenance page for your site. Collect emails, change styles, show social links and more
    66    Author: Obox Themes
    7     Version: 1.0.12
     7    Version: 1.0.13
    88    Author URI: http://oboxthemes.com
    99*/
  • launchpad-by-obox/trunk/readme.txt

    r1502788 r1505929  
    44Requires at least: 4.0
    55Tested up to: 4.6.1
    6 Stable tag: 1.0.12
     6Stable tag: 1.0.13
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    103103== Changelog ==
    104104
     105=======
     106
     107= 1.0.13 =
     108* Hotfix for folder compatability
     109
    105110= 1.0.12 =
    106111* Added compatability with any folder name (no longer reliant on /launchpad-by-obox/)
Note: See TracChangeset for help on using the changeset viewer.