Changeset 634692
- Timestamp:
- 12/06/2012 04:24:28 AM (13 years ago)
- Location:
- dm-albums/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (2 diffs)
-
wp-dm-albums.php (modified) (5 diffs)
-
wp-dm-upload.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dm-albums/trunk/readme.txt
r610527 r634692 5 5 Requires at least: 2.7 6 6 Tested up to: 3.3.1 7 Stable tag: 3.1. 67 Stable tag: 3.1.7 8 8 9 9 DM Albums™ is an inline photo album/gallery plugin that displays high quality images and thumbnails perfectly sized to your blog. … … 79 79 80 80 = 3.1.7 = 81 <ul><li>Added fix for empty existing albums problem. Thanks to Mark Lagendijk for finding the fix.</li></ul> 81 <ul><li>Added (another) patch to (hopefully) fix some user's issues with albums not appearing when uploading.</li> 82 <li>Updated to 1.2.8 of galleria; this should resolve many of the JQuery issues some users were experiencing</li></ul> 83 82 84 = 3.1.6 = 83 85 <ul><li>Added patch to (hopefully) fix some user's issues with albums not appearing when uploading.</li> -
dm-albums/trunk/wp-dm-albums.php
r610527 r634692 30 30 31 31 3.1.7 32 * Added fix for empty existing albums problem. Thanks to Mark Lagendijk for finding the fix. 33 34 3.1.4 32 * Added (another) patch to (hopefully) fix some user's issues with albums not appearing when uploading. 33 * Updated to 1.2.8 of galleria; this should resolve many of the JQuery issues some users were experiencing 34 35 3.1.7 35 36 * Added patch to (hopefully) fix some user's issues with albums not appearing when uploading. 36 37 * Fixed versioning of javascript libs 37 38 38 3.1. 439 3.1.6 39 40 * Added Flikr support: enter [dmalbum flikr="setid"/] where setid is the id of your set, i.e. [dmalbum flikr="72157629383149390"/] 40 41 * Fixed positioning of photo counter element so it is visible 41 42 42 3.1. 443 3.1.5 43 44 * Two new options added: Transition Effect and Transition Speed. 44 45 … … 317 318 318 319 // Global variables 319 $DM_PHOTOALBUM_APP_VERSION = "3.1. 7";320 $DM_PHOTOALBUM_APP_VERSION = "3.1.4"; 320 321 $DM_PHOTOALBUM_APP_DOCS = "http://www.dutchmonkey.com/wp-plugins/"; 321 322 … … 593 594 if(get_option('DM_JQUERY_LIB') == "GOOGLE") 594 595 { 596 //wp_register_script( 'dm_jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js'); 595 597 wp_register_script( 'dm_jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js'); 596 598 wp_enqueue_script( 'dm_jquery' ); … … 600 602 { 601 603 wp_deregister_script( 'jquery' ); 602 wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js'); 603 wp_enqueue_script( 'jquery' ); 604 } 605 606 wp_register_script( 'dm_galleria', plugins_url() . '/dm-albums/galleria/galleria-1.2.6.min.js', 'dm_jquery'); 604 //wp_register_script( 'dm_jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js'); 605 wp_register_script( 'dm_jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js'); 606 wp_enqueue_script( 'jquery' ); 607 } 608 609 wp_register_script( 'dm_galleria', plugins_url() . '/dm-albums/galleria/galleria-1.2.8.min.js', 'dm_jquery'); 607 610 wp_enqueue_script( 'dm_galleria' ); 608 611 … … 613 616 wp_enqueue_script( 'dm_galleria_common' ); 614 617 615 wp_register_script( 'dm_galleria_theme', plugins_url() . '/dm-albums/galleria/themes/classic/galleria.classic.min.js');616 wp_enqueue_script( 'dm_galleria_theme' );618 //wp_register_script( 'dm_galleria_theme', plugins_url() . '/dm-albums/galleria/themes/dmclassic/galleria.classic.min.js'); 619 //wp_enqueue_script( 'dm_galleria_theme' ); 617 620 } 618 621 -
dm-albums/trunk/wp-dm-upload.php
r554955 r634692 8 8 ***************************************************************/ 9 9 10 if (isset($_POST["PHPSESSID"])) { 10 /* 11 if (isset($_POST["PHPSESSID"])) { 11 12 session_id($_POST["PHPSESSID"]); 12 13 } else if (isset($_GET["PHPSESSID"])) { … … 15 16 16 17 session_start(); 17 18 */ 18 19 require_once('../../../wp-config.php'); 19 20 require_once('php/includes.php'); 20 21 21 if($_SESSION["DM_AUTH_UPLOAD"] != 1)22 /*if(!$_SESSION["DM_AUTH_UPLOAD"] != 1) 22 23 { 23 24 print("User not authorized.</br>"); 24 25 exit(0); 26 }*/ 27 28 if(!current_user_can('upload_files')) 29 { 30 print("User not authorized.</br>"); 31 exit(0); 25 32 } 26 33
Note: See TracChangeset
for help on using the changeset viewer.