Plugin Directory

Changeset 191367


Ignore:
Timestamp:
01/08/2010 04:20:42 AM (16 years ago)
Author:
malcalevak
Message:

JSON mods...

Location:
wp-slimbox2/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • wp-slimbox2/trunk/index.php

    r191260 r191367  
    4040    wp_enqueue_style('slimbox2');
    4141    wp_register_script('slimbox2', WP_PLUGIN_URL.'/wp-slimbox2/javascript/slimbox2.js',array('jquery'), '2.02');
    42     wp_register_script('slimbox2_autoload', WP_PLUGIN_URL.'/wp-slimbox2/javascript/slimbox2_autoload.js.php',array('slimbox2'),$options->get_option('cache'));//add option for version number, update with each save
     42    wp_register_script('slimbox2_autoload', WP_PLUGIN_URL.'/wp-slimbox2/javascript/slimbox2_autoload.js',array('slimbox2'),$options->get_option('cache'));//add option for version number, update with each save
    4343    wp_register_script('jquery_easing', WP_PLUGIN_URL.'/wp-slimbox2/javascript/jquery.easing.1.3.packed.js',array('jquery'), '1.3');
    4444}
  • wp-slimbox2/trunk/slimbox2_options.php

    r191256 r191367  
    44if (!defined('WP_PLUGIN_URL')) {define('WP_PLUGIN_URL',WP_CONTENT_URL.'/plugins');}
    55load_plugin_textdomain ('wp-slimbox2', WP_PLUGIN_URL.'/wp-slimbox2/languages', '/wp-slimbox2/languages');
    6 echo json_encode(array(get_option('wp_slimbox'),array(__('default/prevlabel.gif', 'wp-slimbox2'),__('default/nextlabel.gif', 'wp-slimbox2'),__('default/closelabel.gif', 'wp-slimbox2'),__('LTR', 'wp-slimbox2') == 'RTL'))));
     6echo json_encode(array(get_option('wp_slimbox'),array(__('default/prevlabel.gif', 'wp-slimbox2'),__('default/nextlabel.gif', 'wp-slimbox2'),__('default/closelabel.gif', 'wp-slimbox2'),__('LTR', 'wp-slimbox2') == 'RTL')));
    77/*$options = new WPlize('wp_slimbox');
    88$options->get_option('autoload')
     
    2323$options->get_option('picasaweb') == 'on'
    2424$options->get_option('flickr')
     25http://www.wptavern.com/forum/plugins-hacks/1105-sending-settings-javascript-files.html
    2526*/
    2627?>
Note: See TracChangeset for help on using the changeset viewer.