WordPress.org

Plugin Directory

Changeset 368927


Ignore:
Timestamp:
04/05/11 04:14:11 (3 years ago)
Author:
gluten
Message:

Forgot to change variable name when loading classic theme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • galleria-galleria/trunk/galleria-galleria.php

    r368921 r368927  
    2828define ( 'GALLERIA_GALLERIA_PLUGIN_URL', WP_PLUGIN_URL . '/' . dirname( plugin_basename(__FILE__) ) ); 
    2929define ( 'GALLERIA_GALLERIA_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname( plugin_basename(__FILE__) ) ); 
    30 define ( 'GALLERIA_GALLERIA_USER_THEME_DIR',  '/galleria-themes/' ); 
     30define ( 'GALLERIA_GALLERIA_USER_THEME_FOLDER',  '/galleria-themes/' ); 
    3131 
    3232/** 
     
    119119    //Stylesheets Reader 
    120120    $alt_stylesheets = array(); 
    121     $alt_stylesheets_path = get_stylesheet_directory() . GALLERIA_GALLERIA_USER_THEME_DIR; 
     121    $alt_stylesheets_path = get_stylesheet_directory() . GALLERIA_GALLERIA_USER_THEME_FOLDER; 
    122122    if ( is_dir($alt_stylesheets_path) ) { 
    123123        if ($alt_stylesheet_dir = opendir($alt_stylesheets_path) ) {  
     
    363363     
    364364     
    365     // Say our text option must be safe text with no HTML tags 
     365    // Our text option must be safe text with no HTML tags 
    366366    $input['color'] = wp_filter_nohtml_kses( $input['color'] ); 
    367367    $input['height'] = wp_filter_nohtml_kses( $input['height'] ); 
     
    405405    $design = $galleria_galleria['design']; 
    406406        if( $design == 'classic' || $design == '' ) { 
    407                 $design = GALLERIA_GALLERIA_PLUGIN_URL . '/galleria-themes/classic/galleria.classic.min.js'; 
     407            $design_url = GALLERIA_GALLERIA_PLUGIN_URL . '/galleria-themes/classic/galleria.classic.min.js'; 
    408408        } else if( $design == 'dots' ) { 
    409409            $design_url = GALLERIA_GALLERIA_PLUGIN_URL . '/galleria-themes/dots/galleria.dots.min.js'; 
     
    411411            $design_url = GALLERIA_GALLERIA_PLUGIN_URL . '/galleria-themes/fullscreen/galleria.fullscreen.js'; 
    412412        } else if( stristr($design, '.js') !== false ) { 
    413             $design_url = get_stylesheet_directory_uri() . GALLERIA_GALLERIA_USER_THEME_DIR . $design; 
     413            $design_url = get_stylesheet_directory_uri() . GALLERIA_GALLERIA_USER_THEME_FOLDER . $design; 
    414414        } 
    415415    $autoplay = $galleria_galleria['autoplay']; 
Note: See TracChangeset for help on using the changeset viewer.