NextGEN Gallery – WordPress Gallery Plugin - Version 0.64

Version Description

Download this release

Release Info

Developer alexrabe
Plugin Icon 128x128 NextGEN Gallery – WordPress Gallery Plugin
Version 0.64
Comparing to
See all releases

Code changes from version 0.63 to 0.64

admin/about.php CHANGED
@@ -100,7 +100,19 @@ function ngg_list_support() {
100
  "Ghettomaster" => "http://www.ghettoworld.de/",
101
  "Joe Pharis" => "http://www.southernstylecruisers.com/",
102
  "Charlie (Jump Media)" => "",
103
- "Gil Yaker (Documentation)" => "http://bamboosoup.com/"
 
 
 
 
 
 
 
 
 
 
 
 
104
  );
105
 
106
 
100
  "Ghettomaster" => "http://www.ghettoworld.de/",
101
  "Joe Pharis" => "http://www.southernstylecruisers.com/",
102
  "Charlie (Jump Media)" => "",
103
+ "Gil Yaker (Documentation)" => "http://bamboosoup.com/",
104
+ "Simon Paarlberg" => "http://www.paarlberg.dk/",
105
+ "Morten Johansen (Danish Translation)" => "http://www.fr3ak.dk/",
106
+ "Clive Loseby" => "http://www.access-bydesign.com/",
107
+ "Vidar Seland (Norwegian Translation)" => "http://www.viidar.net/",
108
+ "Emre Guler (Turkish Translation)" => "http://www.emreguler.com/",
109
+ "Tonny Kluften" => "http://www.tinnitus-behandling.info/",
110
+ "Andreas Oeye" => "http://www.andreasoye.com/",
111
+ "Laurent Momy" => "",
112
+ "Emilio Lauretti (Italian Translation)" => "",
113
+ "Jan Angelovic (Czech Translation)" => "http://www.angelovic.cz/",
114
+ "Patrick Hennessey" => "http://www.digitalvagabonding.com/",
115
+ "Hans Kiesouw" => "http://www.digitalvagabonding.com/"
116
  );
117
 
118
 
admin/addgallery.php CHANGED
@@ -498,7 +498,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
498
  $ext = array("jpeg", "jpg", "png", "gif");
499
  if (in_array( strtolower($info['extension']), $ext)) {
500
  // For MAC skip the ".image" files
501
- if ($info['filename']{0} == "." )
502
  return 0;
503
  else
504
  return 1;
498
  $ext = array("jpeg", "jpg", "png", "gif");
499
  if (in_array( strtolower($info['extension']), $ext)) {
500
  // For MAC skip the ".image" files
501
+ if ($info['basename']{0} == "." )
502
  return 0;
503
  else
504
  return 1;
changelog.txt CHANGED
@@ -1,6 +1,11 @@
1
  NextGEN Gallery
2
  by Alex Rabe & NextGEN DEV Team
3
 
 
 
 
 
 
4
  V0.63 - 10.07.2007
5
  - NEW : You can now upload a zip file into a existing gallery
6
  - Added : Remove subfolder in Zip-files
1
  NextGEN Gallery
2
  by Alex Rabe & NextGEN DEV Team
3
 
4
+ V0.64 - 31.07.2007
5
+ - Bugfix : Remove arrows in image browser text
6
+ - Bugfix : Include nggadmintab.php with dirname
7
+ - Bugfix : Zip-Upload under Mac > look for basename
8
+
9
  V0.63 - 10.07.2007
10
  - NEW : You can now upload a zip file into a existing gallery
11
  - Added : Remove subfolder in Zip-files
nggallery.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: NextGEN Gallery
4
  Plugin URI: http://alexrabe.boelinger.com/?page_id=80
5
  Description: A NextGENeration Photo gallery for the WEB2.0(beta).
6
  Author: NextGEN DEV-Team
7
- Version: 0.63
8
 
9
  Author URI: http://alexrabe.boelinger.com/
10
 
@@ -45,7 +45,7 @@ global $wpdb, $wp_version;
45
  if (version_compare($wp_version, '2.1', '>=')) {
46
 
47
  // Version and path to check version
48
- define('NGGVERSION', "0.63");
49
  define('NGGURL', "http://nextgen.boelinger.com/version.php");
50
 
51
  // define URL
@@ -155,7 +155,7 @@ function ngg_wp_upload_tabs ($array) {
155
  3 => total number objects OR array(total, objects per page),
156
  4 => add_query_args
157
  */
158
- include_once ("nggadmintab.php");
159
 
160
  // Create navigation
161
  $total = 1;
4
  Plugin URI: http://alexrabe.boelinger.com/?page_id=80
5
  Description: A NextGENeration Photo gallery for the WEB2.0(beta).
6
  Author: NextGEN DEV-Team
7
+ Version: 0.64
8
 
9
  Author URI: http://alexrabe.boelinger.com/
10
 
45
  if (version_compare($wp_version, '2.1', '>=')) {
46
 
47
  // Version and path to check version
48
+ define('NGGVERSION', "0.64");
49
  define('NGGURL', "http://nextgen.boelinger.com/version.php");
50
 
51
  // define URL
155
  3 => total number objects OR array(total, objects per page),
156
  4 => add_query_args
157
  */
158
+ include_once (dirname (__FILE__)."/nggadmintab.php");
159
 
160
  // Create navigation
161
  $total = 1;
nggfunctions.php CHANGED
@@ -446,11 +446,11 @@ function nggShowImageBrowser($galleryID) {
446
  <div class="ngg-imagebrowser-nav">';
447
  if ($back_pid) {
448
  $backlink['pid'] = $back_pid;
449
- $galleryoutput .='<div class="back"><a href="'.add_query_arg($backlink).'">'.$ngg_options[ImgBrTextBack].'</a></div>';
450
  }
451
  if ($next_pid) {
452
  $nextlink['pid'] = $next_pid;
453
- $galleryoutput .='<div class="next"><a href="'.add_query_arg($nextlink).'">'.$ngg_options[ImgBrTextNext].'</a></div>';
454
  }
455
  $galleryoutput .='
456
  <div class="counter">'.__('Picture', 'nggallery').' '.($key+1).' '.__('from', 'nggallery').' '.$total.'</div>
446
  <div class="ngg-imagebrowser-nav">';
447
  if ($back_pid) {
448
  $backlink['pid'] = $back_pid;
449
+ $galleryoutput .='<div class="back"><a href="'.add_query_arg($backlink).'">'.'&#9668; '.$ngg_options['ImgBrTextBack'].'</a></div>';
450
  }
451
  if ($next_pid) {
452
  $nextlink['pid'] = $next_pid;
453
+ $galleryoutput .='<div class="next"><a href="'.add_query_arg($nextlink).'">'.$ngg_options['ImgBrTextNext'].' &#9658;'.'</a></div>';
454
  }
455
  $galleryoutput .='
456
  <div class="counter">'.__('Picture', 'nggallery').' '.($key+1).' '.__('from', 'nggallery').' '.$total.'</div>
ngginstall.php CHANGED
@@ -113,8 +113,8 @@ function ngg_default_options() {
113
  // Image Browser
114
  $ngg_options['ImgBrHead'] = true; // Show header
115
  $ngg_options['ImgBrDesc'] = true; // Show description
116
- $ngg_options['ImgBrTextBack'] = '&#9668; '.__('Back','nggallery'); // Text for Back
117
- $ngg_options['ImgBrTextNext'] = __('Next','nggallery').' &#9658;'; // Text for Next
118
 
119
  // Thumbnail Effect
120
  $ngg_options['thumbEffect'] = "thickbox"; // select effect
113
  // Image Browser
114
  $ngg_options['ImgBrHead'] = true; // Show header
115
  $ngg_options['ImgBrDesc'] = true; // Show description
116
+ $ngg_options['ImgBrTextBack'] = __('Back','nggallery'); // Text for Back
117
+ $ngg_options['ImgBrTextNext'] = __('Next','nggallery'); // Text for Next
118
 
119
  // Thumbnail Effect
120
  $ngg_options['thumbEffect'] = "thickbox"; // select effect