NextGEN Gallery – WordPress Gallery Plugin - Version 1.1.0

Version Description

Download this release

Release Info

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

Code changes from version 1.0.2 to 1.1.0

admin/about.php CHANGED
@@ -133,122 +133,14 @@ function ngg_list_contributors() {
133
  function ngg_list_support() {
134
  /* The list of my supporters. Thanks to all of them !*/
135
 
136
- $supporter = array(
137
- 'Mike DAmbrose' => 'http://www.videovisions.com/',
138
- 'Ideablogger' => 'http://www.ablogofideas.net/',
139
- 'Chuck Coury' => '',
140
- 'Kelter' => 'http://www.badcat.com',
141
- 'Martin Bahr' => 'http://www.law-vodcast.de/',
142
- 'Marcel Kneuer' => '',
143
- 'Alakhnor' => 'http://www.alakhnor.info',
144
- 'Rod' => 'http://www.le-hiboo.com',
145
- 'Ttancm' => 'http://www.ttancm.com/',
146
- 'Francoise Pescatore' => '' ,
147
- 'Andreas (die-andis)' => 'http://www.rummel-platz.de/',
148
- 'Andreas' => 'http://blog.friedlandreas.de/',
149
- 'Joern Kretzschmar' => 'http://diekretzschmars.de/',
150
- 'Mike' => 'http://www.mikemuscroft.com/',
151
- 'Sabine (Haselina)' => 'http://www.haselina.de/',
152
- 'Milemann' => '',
153
- 'Kees de Bruin' => 'http://www.kdbruin.net/fotoalbum/',
154
- 'Helene D.' => 'http://supernatural.hellioness.com/imagegallery/',
155
- 'Ghettomaster' => 'http://www.ghettoworld.de/',
156
- 'Joe Pharis' => 'http://www.southernstylecruisers.com/',
157
- 'Charlie (Jump Media)' => '',
158
- 'Simon Paarlberg' => 'http://www.paarlberg.dk/',
159
- 'Clive Loseby' => 'http://www.access-bydesign.com/',
160
- 'Tonny Kluften' => 'http://www.tinnitus-behandling.info/',
161
- 'Andreas Oeye' => 'http://www.andreasoye.com/',
162
- 'Laurent Momy' => '',
163
- 'Patrick Hennessey' => 'http://www.digitalvagabonding.com/',
164
- 'Hans Kiesouw' => 'http://www.digitalvagabonding.com/',
165
- 'Thomas Bradley' => 'http://www.tobeon.co.uk/wordpress/',
166
- 'Frederic Deghetto' => '',
167
- 'Christopher Weddell' => '',
168
- 'Martin Scholz' => '',
169
- 'Non Eric' => 'http://www.lunatec.de/',
170
- 'Ronen Hirsch' => 'http://www.stillcreation.com/',
171
- 'Michael Erhart' => '',
172
- 'Luc Saint-Elie' => 'http://luc.saint-elie.com/',
173
- 'Matthew Barker' => '',
174
- 'Emanuel Kluge' => '',
175
- 'Alba Bentos Pereira' => '',
176
- 'Bill Babcock' => 'http://www.bnj.com',
177
- 'Jesper Haug Karsrud' => 'http://www.beyond-sanity.com',
178
- 'Marco van de Ven' => 'http://www.mvdven.nl',
179
- 'Peter Krabshuis' => 'http://www.dragoneye.nl',
180
- 'Teresa Lo' => 'http://www.invivoanalytics.com',
181
- 'Jes Carlskov' => '',
182
- 'John Statler' => 'http://www.systemsolver.com',
183
- 'Joshua Katinger' => 'http://www.accessionmedia.com',
184
- 'iSight Technologies' => 'http://www.isighttech.com',
185
- 'Kay Germer' => 'http://highkay.de/',
186
- 'Ramon Cutanda Lopez' => '',
187
- 'Luc Dubois' => 'http://www.oriste.com/',
188
- 'Dixie Reid' => 'http://www.thereids.co.nz/',
189
- 'Gareth Bridger' => '',
190
- 'McGillveray Studios' => 'http://www.mcgillveraystudios.ca/',
191
- 'Paul Rogers' => 'http://www.swarfworks.com',
192
- 'Steve Lieber' => 'http://www.stevelieber.com',
193
- 'Modo Web Design' => 'http://www.modowebdesign.com',
194
- 'Matthew Feldman' => '',
195
- 'Gideon Kiers' => 'http://www.gideonkiers.com',
196
- 'Susan Bates' => 'http://www.fineartsmith.com',
197
- 'ILISA International USA' => 'http://www.ilisa.com',
198
- 'Mark Campbell' => 'http://www.layersofcolor.com',
199
- 'Aaron Snyder' => 'http://www.aaronsnyder.net',
200
- 'Patrick Pirker' => '',
201
- 'Christoph Wander' => '',
202
- 'Monterey Bay Singles LLC' => '',
203
- 'Elvina Flower' => '',
204
- 'Colossal Pups' => '',
205
- 'Florian Seuret' => '',
206
- 'Petri Teittinen' => '',
207
- 'Deval Shah' => 'http://www.LuvPix.net',
208
- 'Simply Charlotte Mason, LLC' => '',
209
- 'John Williams' => '',
210
- 'George Branchflower' => '',
211
- 'Douglas J Barnum' => '',
212
- 'Bradford Weir' => 'http://www.bweir.com',
213
- 'Almost Anything Desktop Publishing' => 'http://www.almost-anything.com.au/',
214
- 'Aengus Moran' => '',
215
- 'Fias Co Farm' => 'http://www.fiascofarm.com',
216
- 'Overdrive Design Labs' => 'http://www.overdrivedesign.biz',
217
- 'Lincoln Hardwood and Tool Company, Inc.' => 'http://www.lhtcinc.com',
218
- 'Kurt Perschke' => 'http://www.redballproject.com',
219
- 'Christian Hoegl' => 'http://www.creativbox.at',
220
- 'John Swartz' => 'http://www.jswartz.net',
221
- 'Michael Kubala' => '',
222
- 'Kyle Meyers' => '',
223
- 'DF Design' => '',
224
- 'Olivia Loh' => '',
225
- 'Henner Guenter' => 'http://www.rvweser.de',
226
- 'Fadli Fadli' => '',
227
- 'Philippe Vanhoolandt' => 'http://www.ramdam.com',
228
- 'Gary Verhoff' => '',
229
- 'Detlev Danner' => 'http://www.mcdd.ch',
230
- 'Laaß / Brembs GbR' => 'http://www.camoart.com',
231
- 'Dean Cowan' => 'http://www.deanandlinda.com',
232
- 'Ross Calloway' => '',
233
- 'Scott Kyle' => '',
234
- 'Allan Corfix Lykke' => '',
235
- 'Marieke van de Pol' => '',
236
- 'Tobias Kern' => 'http://www.tobikern.de',
237
- 'Sander van Loon' => '',
238
- 'Daniel Oliver Habenicht' => 'http://www.audioschmiede.de',
239
- 'Michael Sinclair' => '',
240
- 'Serira Designs' => 'http://www.seriradesigns.com',
241
- 'Wang Qingsheng' => '',
242
- 'Maurice van der Linden' => 'http://www.vd-linden.nl',
243
- 'Sandra Longmore' => '',
244
- 'Grupo Probeta' => 'http://www.grupoprobeta.com',
245
- 'Aaron Simpson' => '',
246
- 'Dana Burns' => '',
247
- 'Craig Thompson' => 'http://www.globalwebhq.com/',
248
- 'Cynthia Spangler' => 'http://www.parkcityweb.com/',
249
- 'Guy Raif' => ''
250
- );
251
 
 
 
 
 
 
 
252
  ksort($supporter);
253
  $i = count($supporter);
254
  foreach ($supporter as $name => $url)
133
  function ngg_list_support() {
134
  /* The list of my supporters. Thanks to all of them !*/
135
 
136
+ global $ngg;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
 
138
+ $supporter = nggAdminPanel::get_remote_array($ngg->donators);
139
+
140
+ // Ensure that this is a array
141
+ if ( !is_array($supporter) )
142
+ return _e('and all donators...', 'nggallery');
143
+
144
  ksort($supporter);
145
  $i = count($supporter);
146
  foreach ($supporter as $name => $url)
admin/addgallery.php CHANGED
@@ -6,7 +6,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
6
 
7
  function nggallery_admin_add_gallery() {
8
 
9
- global $wpdb, $ngg;
10
 
11
  // same as $_SERVER['REQUEST_URI'], but should work under IIS 6.0
12
  $filepath = admin_url() . 'admin.php?page=' . $_GET['page'];
@@ -74,7 +74,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
74
  }
75
 
76
  //get all galleries (after we added new ones)
77
- $gallerylist = nggdb::find_all_galleries();
78
 
79
  ?>
80
 
6
 
7
  function nggallery_admin_add_gallery() {
8
 
9
+ global $wpdb, $nggdb, $ngg;
10
 
11
  // same as $_SERVER['REQUEST_URI'], but should work under IIS 6.0
12
  $filepath = admin_url() . 'admin.php?page=' . $_GET['page'];
74
  }
75
 
76
  //get all galleries (after we added new ones)
77
+ $gallerylist = $nggdb->find_all_galleries();
78
 
79
  ?>
80
 
admin/admin.php CHANGED
@@ -20,7 +20,9 @@ class nggAdminPanel{
20
  add_action('admin_print_styles', array(&$this, 'load_styles') );
21
 
22
  add_filter('contextual_help', array(&$this, 'show_help'), 10, 2);
23
-
 
 
24
  }
25
 
26
  // integrate the menu
@@ -150,6 +152,8 @@ class nggAdminPanel{
150
  wp_enqueue_script( 'postbox' );
151
  wp_enqueue_script( 'ngg-ajax' );
152
  wp_enqueue_script( 'ngg-progressbar' );
 
 
153
  add_thickbox();
154
  break;
155
  case "nggallery-manage-album" :
@@ -259,6 +263,74 @@ class nggAdminPanel{
259
 
260
  return $help;
261
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
262
 
263
  }
264
 
20
  add_action('admin_print_styles', array(&$this, 'load_styles') );
21
 
22
  add_filter('contextual_help', array(&$this, 'show_help'), 10, 2);
23
+ add_filter('screen_meta_screen', array(&$this, 'edit_screen_meta'));
24
+
25
+ $this->register_columns();
26
  }
27
 
28
  // integrate the menu
152
  wp_enqueue_script( 'postbox' );
153
  wp_enqueue_script( 'ngg-ajax' );
154
  wp_enqueue_script( 'ngg-progressbar' );
155
+ //TODO:Add Inline edit later
156
+ //wp_enqueue_script( 'ngg-inline-edit', NGGALLERY_URLPATH .'admin/js/ngg.inline-edit-images.js', array('jquery'), '1.0.0' );
157
  add_thickbox();
158
  break;
159
  case "nggallery-manage-album" :
263
 
264
  return $help;
265
  }
266
+
267
+ function edit_screen_meta($screen) {
268
+
269
+ // menu title is localized, so we need to change the toplevel name
270
+ $i18n = strtolower ( __ngettext( 'Gallery', 'Galleries', 1, 'nggallery' ) );
271
+
272
+ switch ($screen) {
273
+ case "{$i18n}_page_nggallery-manage-gallery" :
274
+ // we would like to have screen option only at the manage images / gallery page
275
+ if ( isset ($_POST['sortGallery']) )
276
+ $screen = $screen;
277
+ else if ( ($_GET['mode'] == 'edit') || isset ($_POST['backToGallery']) )
278
+ $screen = 'nggallery-manage-images';
279
+ else if ( ($_GET['mode'] == 'sort') )
280
+ $screen = $screen;
281
+ else
282
+ $screen = 'nggallery-manage-gallery';
283
+ break;
284
+ }
285
+
286
+ return $screen;
287
+ }
288
+
289
+ function register_column_headers($screen, $columns) {
290
+ global $_wp_column_headers;
291
+
292
+ if ( !isset($_wp_column_headers) )
293
+ $_wp_column_headers = array();
294
+
295
+ $_wp_column_headers[$screen] = $columns;
296
+ }
297
+
298
+ function register_columns() {
299
+ include_once ( dirname (__FILE__) . '/manage-images.php' );
300
+
301
+ $this->register_column_headers('nggallery-manage-images', ngg_manage_gallery_columns() );
302
+ }
303
+
304
+ /**
305
+ * Read an array from a remote url
306
+ *
307
+ * @param string $url
308
+ * @return array of the content
309
+ */
310
+ function get_remote_array($url) {
311
+ if ( function_exists(wp_remote_request) ) {
312
+
313
+ $options = array();
314
+ $options['headers'] = array(
315
+ 'User-Agent' => 'NextGEN Gallery Information Reader V' . NGGVERSION . '; (' . get_bloginfo('url') .')'
316
+ );
317
+
318
+ $response = wp_remote_request($url, $options);
319
+
320
+ if ( is_wp_error( $response ) )
321
+ return false;
322
+
323
+ if ( 200 != $response['response']['code'] )
324
+ return false;
325
+
326
+ $content = unserialize($response['body']);
327
+
328
+ if (is_array($content))
329
+ return $content;
330
+ }
331
+
332
+ return false;
333
+ }
334
 
335
  }
336
 
admin/css/nggadmin.css CHANGED
@@ -98,14 +98,45 @@ p#ngg-inlinebutton {
98
  top:-25pt;
99
  }
100
 
101
- div .ngg-tablenav {
102
- overflow:hidden;
 
103
  }
104
 
105
  #ngg-listimages td, #ngg-listimages th {
106
- vertical-align: middle;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  }
108
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  /* SETTINGS FOR PROGRESS BAR */
110
 
111
  div .progressborder {
98
  top:-25pt;
99
  }
100
 
101
+ .ngg-tablenav .button-secondary {
102
+ padding:2px 8px;
103
+ vertical-align: top;
104
  }
105
 
106
  #ngg-listimages td, #ngg-listimages th {
107
+
108
+ }
109
+
110
+ .fixed tbody th.column-cb {
111
+ padding:7px 0 22px;
112
+ }
113
+ .fixed .column-cb {
114
+ padding:0;
115
+ width:2.2em;
116
+ }
117
+
118
+ .fixed .column-thumbnail{
119
+ width:80px;
120
+ }
121
+
122
+ .fixed .column-thumbnail img{
123
+ max-height:60px;
124
+ max-width:80px;
125
  }
126
 
127
+ .fixed .column-id {
128
+ width: 2em;
129
+ }
130
+
131
+ .fixed .column-alt_title_desc {
132
+
133
+ }
134
+
135
+ .fixed .column-exclude, .fixed .column-action, .fixed .column-delete {
136
+ width: 10%;
137
+ }
138
+
139
+
140
  /* SETTINGS FOR PROGRESS BAR */
141
 
142
  div .progressborder {
admin/functions.php CHANGED
@@ -84,7 +84,7 @@ class nggAdmin{
84
  $result = $wpdb->query("INSERT INTO $wpdb->nggallery (name, path, title, author) VALUES ('$galleryname', '$nggpath', '$gallerytitle' , '$user_ID') ");
85
  if ($result) {
86
  $message = __('Gallery %1$s successfully created.<br/>You can show this gallery with the tag %2$s.<br/>','nggallery');
87
- $message = sprintf($message, $galleryname, '[gallery=' . $wpdb->insert_id . ']');
88
  $message .= '<a href="' . admin_url() . 'admin.php?page=nggallery-manage-gallery&mode=edit&gid=' . $wpdb->insert_id . '" >';
89
  $message .= __('Edit gallery','nggallery');
90
  $message .= '</a>';
@@ -365,7 +365,11 @@ class nggAdmin{
365
 
366
  // add the metadata
367
  nggAdmin::import_MetaData($pic_id);
368
-
 
 
 
 
369
  }
370
  } // is_array
371
 
@@ -653,7 +657,7 @@ class nggAdmin{
653
  $filepart = pathinfo ( strtolower($_FILES['Filedata']['name']) );
654
  // required until PHP 5.2.0
655
  $filepart['filename'] = substr($filepart['basename'],0 ,strlen($filepart['basename']) - (strlen($filepart["extension"]) + 1) );
656
- $filename = sanitize_title($filepart['filename']).".".$filepart['extension'];
657
 
658
  // check for allowed extension
659
  $ext = array('jpeg', 'jpg', 'png', 'gif');
@@ -673,7 +677,7 @@ class nggAdmin{
673
  // check if this filename already exist
674
  $i = 0;
675
  while (in_array($filename,$imageslist)) {
676
- $filename = sanitize_title($filepart['filename']) . '_' . $i++ . '.' .$filepart['extension'];
677
  }
678
 
679
  $dest_file = WINABSPATH . $gallerypath . '/' . $filename;
@@ -687,7 +691,7 @@ class nggAdmin{
687
  if ( !nggAdmin::chmod($dest_file) )
688
  return __('Error, the file permissions could not set','nggallery');
689
 
690
- return "0";
691
  }
692
 
693
  // **************************************************************
84
  $result = $wpdb->query("INSERT INTO $wpdb->nggallery (name, path, title, author) VALUES ('$galleryname', '$nggpath', '$gallerytitle' , '$user_ID') ");
85
  if ($result) {
86
  $message = __('Gallery %1$s successfully created.<br/>You can show this gallery with the tag %2$s.<br/>','nggallery');
87
+ $message = sprintf($message, $galleryname, '[gallery id=' . $wpdb->insert_id . ']');
88
  $message .= '<a href="' . admin_url() . 'admin.php?page=nggallery-manage-gallery&mode=edit&gid=' . $wpdb->insert_id . '" >';
89
  $message .= __('Edit gallery','nggallery');
90
  $message .= '</a>';
365
 
366
  // add the metadata
367
  nggAdmin::import_MetaData($pic_id);
368
+
369
+ // action hook for post process after the image is added to the database
370
+ $image = array( 'id' => $pic_id, 'filename' => $picture, 'galleryID' => $galleryID);
371
+ do_action('ngg_added_new_image', $image);
372
+
373
  }
374
  } // is_array
375
 
657
  $filepart = pathinfo ( strtolower($_FILES['Filedata']['name']) );
658
  // required until PHP 5.2.0
659
  $filepart['filename'] = substr($filepart['basename'],0 ,strlen($filepart['basename']) - (strlen($filepart["extension"]) + 1) );
660
+ $filename = sanitize_title($filepart['filename']) . '.' . $filepart['extension'];
661
 
662
  // check for allowed extension
663
  $ext = array('jpeg', 'jpg', 'png', 'gif');
677
  // check if this filename already exist
678
  $i = 0;
679
  while (in_array($filename,$imageslist)) {
680
+ $filename = sanitize_title($filepart['filename']) . '_' . $i++ . '.' . $filepart['extension'];
681
  }
682
 
683
  $dest_file = WINABSPATH . $gallerypath . '/' . $filename;
691
  if ( !nggAdmin::chmod($dest_file) )
692
  return __('Error, the file permissions could not set','nggallery');
693
 
694
+ return '0';
695
  }
696
 
697
  // **************************************************************
admin/install.php CHANGED
@@ -153,7 +153,9 @@ function ngg_default_options() {
153
  $ngg_options['imgCacheSinglePic'] = true; // cached the singlepic
154
 
155
  // Gallery Settings
156
- $ngg_options['galImages'] = '20'; // Number Of images per page
 
 
157
  $ngg_options['galShowSlide'] = true; // Show slideshow
158
  $ngg_options['galTextSlide'] = __('[Show as slideshow]','nggallery'); // Text for slideshow
159
  $ngg_options['galTextGallery'] = __('[Show picture list]','nggallery'); // Text for gallery
@@ -180,6 +182,7 @@ function ngg_default_options() {
180
  $ngg_options['wmOpaque'] = '100'; // Font Opaque
181
 
182
  // Image Rotator settings
 
183
  $ngg_options['irXHTMLvalid'] = false;
184
  $ngg_options['irAudio'] = '';
185
  $ngg_options['irWidth'] = 320;
153
  $ngg_options['imgCacheSinglePic'] = true; // cached the singlepic
154
 
155
  // Gallery Settings
156
+ $ngg_options['galImages'] = '20'; // Number of images per page
157
+ $ngg_options['galPagedGalleries'] = 0; // Number of galleries per page (in a album)
158
+ $ngg_options['galColumns'] = 0; // Number of columns for the gallery
159
  $ngg_options['galShowSlide'] = true; // Show slideshow
160
  $ngg_options['galTextSlide'] = __('[Show as slideshow]','nggallery'); // Text for slideshow
161
  $ngg_options['galTextGallery'] = __('[Show picture list]','nggallery'); // Text for gallery
182
  $ngg_options['wmOpaque'] = '100'; // Font Opaque
183
 
184
  // Image Rotator settings
185
+ $ngg_options['irURL'] = '';
186
  $ngg_options['irXHTMLvalid'] = false;
187
  $ngg_options['irAudio'] = '';
188
  $ngg_options['irWidth'] = 320;
admin/js/swfupload.js CHANGED
@@ -131,7 +131,7 @@ SWFUpload.prototype.initSettings = function () {
131
  this.ensureDefault("button_text_left_padding", 0);
132
  this.ensureDefault("button_action", SWFUpload.BUTTON_ACTION.SELECT_FILES);
133
  this.ensureDefault("button_disabled", false);
134
- this.ensureDefault("button_placeholder_id", null);
135
  this.ensureDefault("button_cursor", SWFUpload.CURSOR.ARROW);
136
  this.ensureDefault("button_window_mode", SWFUpload.WINDOW_MODE.WINDOW);
137
 
@@ -162,7 +162,7 @@ SWFUpload.prototype.initSettings = function () {
162
 
163
  // Update the flash url if needed
164
  if (this.settings.prevent_swf_caching) {
165
- this.settings.flash_url = this.settings.flash_url + "?swfuploadrnd=" + Math.floor(Math.random() * 999999999);
166
  }
167
 
168
  delete this.ensureDefault;
@@ -223,7 +223,7 @@ SWFUpload.prototype.replaceWithFlash = function () {
223
  targetElement = document.getElementById(this.settings.button_placeholder_id);
224
 
225
  if (targetElement == undefined) {
226
- throw "Could not find the placeholder element.";
227
  }
228
 
229
  // Append the container and load the flash
@@ -242,7 +242,7 @@ SWFUpload.prototype.replaceWithFlash = function () {
242
  SWFUpload.prototype.getFlashHTML = function () {
243
  // Flash Satay object syntax: http://www.alistapart.com/articles/flashsatay
244
  return ['<object id="', this.movieName, '" type="application/x-shockwave-flash" data="', this.settings.flash_url, '" width="', this.settings.button_width, '" height="', this.settings.button_height, '" class="swfupload">',
245
- '<param name="wmode" value="', this.settings.button_window_mode , '" />',
246
  '<param name="movie" value="', this.settings.flash_url, '" />',
247
  '<param name="quality" value="high" />',
248
  '<param name="menu" value="false" />',
@@ -325,11 +325,12 @@ SWFUpload.prototype.destroy = function () {
325
  // Make sure Flash is done before we try to remove it
326
  this.cancelUpload(null, false);
327
 
 
328
  // Remove the SWFUpload DOM nodes
329
  var movieElement = null;
330
  movieElement = this.getMovieElement();
331
 
332
- if (movieElement) {
333
  // Loop through all the movie's properties and remove all function references (DOM/JS IE 6/7 memory leak workaround)
334
  for (var i in movieElement) {
335
  try {
@@ -345,7 +346,6 @@ SWFUpload.prototype.destroy = function () {
345
  } catch (ex) {}
346
  }
347
 
348
-
349
  // Remove IE form fix reference
350
  window[this.movieName] = null;
351
 
@@ -361,11 +361,12 @@ SWFUpload.prototype.destroy = function () {
361
 
362
 
363
  return true;
364
- } catch (ex1) {
365
  return false;
366
  }
367
  };
368
 
 
369
  // Public: displayDebugInfo prints out settings and configuration
370
  // information about this SWFUpload instance.
371
  // This function (and any references to it) can be deleted when placing
@@ -776,24 +777,51 @@ SWFUpload.prototype.unescapeFilePostParams = function (file) {
776
  return file;
777
  };
778
 
 
 
 
 
 
 
 
 
 
 
 
779
  SWFUpload.prototype.flashReady = function () {
780
  // Check that the movie element is loaded correctly with its ExternalInterface methods defined
781
  var movieElement = this.getMovieElement();
782
 
 
 
 
 
 
 
 
 
 
 
 
 
 
783
  // Pro-actively unhook all the Flash functions
784
- if (typeof(movieElement.CallFunction) === "unknown") { // We only want to do this in IE
785
- this.debug("Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)");
786
- for (var key in movieElement) {
787
- try {
788
- if (typeof(movieElement[key]) === "function") {
789
- movieElement[key] = null;
 
 
 
790
  }
791
- } catch (ex) {
792
  }
793
  }
794
- }
795
 
796
- this.queueEvent("swfupload_loaded_handler");
 
797
  };
798
 
799
 
131
  this.ensureDefault("button_text_left_padding", 0);
132
  this.ensureDefault("button_action", SWFUpload.BUTTON_ACTION.SELECT_FILES);
133
  this.ensureDefault("button_disabled", false);
134
+ this.ensureDefault("button_placeholder_id", "");
135
  this.ensureDefault("button_cursor", SWFUpload.CURSOR.ARROW);
136
  this.ensureDefault("button_window_mode", SWFUpload.WINDOW_MODE.WINDOW);
137
 
162
 
163
  // Update the flash url if needed
164
  if (this.settings.prevent_swf_caching) {
165
+ this.settings.flash_url = this.settings.flash_url;// + (this.settings.flash_url.indexOf("?") < 0 ? "?" : "&") + new Date().getTime();
166
  }
167
 
168
  delete this.ensureDefault;
223
  targetElement = document.getElementById(this.settings.button_placeholder_id);
224
 
225
  if (targetElement == undefined) {
226
+ throw "Could not find the placeholder element: " + this.settings.button_placeholder_id;
227
  }
228
 
229
  // Append the container and load the flash
242
  SWFUpload.prototype.getFlashHTML = function () {
243
  // Flash Satay object syntax: http://www.alistapart.com/articles/flashsatay
244
  return ['<object id="', this.movieName, '" type="application/x-shockwave-flash" data="', this.settings.flash_url, '" width="', this.settings.button_width, '" height="', this.settings.button_height, '" class="swfupload">',
245
+ '<param name="wmode" value="', this.settings.button_window_mode, '" />',
246
  '<param name="movie" value="', this.settings.flash_url, '" />',
247
  '<param name="quality" value="high" />',
248
  '<param name="menu" value="false" />',
325
  // Make sure Flash is done before we try to remove it
326
  this.cancelUpload(null, false);
327
 
328
+
329
  // Remove the SWFUpload DOM nodes
330
  var movieElement = null;
331
  movieElement = this.getMovieElement();
332
 
333
+ if (movieElement && typeof(movieElement.CallFunction) === "unknown") { // We only want to do this in IE
334
  // Loop through all the movie's properties and remove all function references (DOM/JS IE 6/7 memory leak workaround)
335
  for (var i in movieElement) {
336
  try {
346
  } catch (ex) {}
347
  }
348
 
 
349
  // Remove IE form fix reference
350
  window[this.movieName] = null;
351
 
361
 
362
 
363
  return true;
364
+ } catch (ex2) {
365
  return false;
366
  }
367
  };
368
 
369
+
370
  // Public: displayDebugInfo prints out settings and configuration
371
  // information about this SWFUpload instance.
372
  // This function (and any references to it) can be deleted when placing
777
  return file;
778
  };
779
 
780
+ // Private: Called by Flash to see if JS can call in to Flash (test if External Interface is working)
781
+ SWFUpload.prototype.testExternalInterface = function () {
782
+ try {
783
+ return this.callFlash("TestExternalInterface");
784
+ } catch (ex) {
785
+ return false;
786
+ }
787
+ };
788
+
789
+ // Private: This event is called by Flash when it has finished loading. Don't modify this.
790
+ // Use the swfupload_loaded_handler event setting to execute custom code when SWFUpload has loaded.
791
  SWFUpload.prototype.flashReady = function () {
792
  // Check that the movie element is loaded correctly with its ExternalInterface methods defined
793
  var movieElement = this.getMovieElement();
794
 
795
+ if (!movieElement) {
796
+ this.debug("Flash called back ready but the flash movie can't be found.");
797
+ return;
798
+ }
799
+
800
+ this.cleanUp(movieElement);
801
+
802
+ this.queueEvent("swfupload_loaded_handler");
803
+ };
804
+
805
+ // Private: removes Flash added fuctions to the DOM node to prevent memory leaks in IE.
806
+ // This function is called by Flash each time the ExternalInterface functions are created.
807
+ SWFUpload.prototype.cleanUp = function (movieElement) {
808
  // Pro-actively unhook all the Flash functions
809
+ try {
810
+ if (this.movieElement && typeof(movieElement.CallFunction) === "unknown") { // We only want to do this in IE
811
+ this.debug("Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)");
812
+ for (var key in movieElement) {
813
+ try {
814
+ if (typeof(movieElement[key]) === "function") {
815
+ movieElement[key] = null;
816
+ }
817
+ } catch (ex) {
818
  }
 
819
  }
820
  }
821
+ } catch (ex1) {
822
 
823
+ }
824
+
825
  };
826
 
827
 
admin/js/swfupload.swf CHANGED
Binary file
admin/manage-galleries.php CHANGED
@@ -5,13 +5,38 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
5
  // *** show main gallery list
6
  function nggallery_manage_gallery_main() {
7
 
8
- global $wpdb, $ngg;
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  ?>
11
  <div class="wrap">
12
  <h2><?php _e('Gallery Overview', 'nggallery') ?></h2>
13
- <br style="clear: both;"/>
14
- <table class="widefat">
 
 
 
 
 
 
 
 
 
 
15
  <thead>
16
  <tr>
17
  <th scope="col" ><?php _e('ID') ?></th>
@@ -25,8 +50,6 @@ function nggallery_manage_gallery_main() {
25
  </thead>
26
  <tbody>
27
  <?php
28
-
29
- $gallerylist = nggdb::find_all_galleries('gid', 'asc', TRUE);
30
 
31
  if($gallerylist) {
32
  foreach($gallerylist as $gallery) {
5
  // *** show main gallery list
6
  function nggallery_manage_gallery_main() {
7
 
8
+ global $wpdb, $ngg, $nggdb, $wp_query;
9
 
10
+ if ( ! isset( $_GET['paged'] ) || $_GET['paged'] < 1 )
11
+ $_GET['paged'] = 1;
12
+
13
+ $start = ( $_GET['paged'] - 1 ) * 25;
14
+ $gallerylist = $nggdb->find_all_galleries('gid', 'asc', TRUE, 25, $start);
15
+
16
+ $page_links = paginate_links( array(
17
+ 'base' => add_query_arg( 'paged', '%#%' ),
18
+ 'format' => '',
19
+ 'prev_text' => __('&laquo;'),
20
+ 'next_text' => __('&raquo;'),
21
+ 'total' => $nggdb->paged['max_objects_per_page'],
22
+ 'current' => $_GET['paged']
23
+ ));
24
+
25
  ?>
26
  <div class="wrap">
27
  <h2><?php _e('Gallery Overview', 'nggallery') ?></h2>
28
+ <?php if ( $page_links ) : ?>
29
+ <div class="tablenav">
30
+ <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>%s',
31
+ number_format_i18n( ( $_GET['paged'] - 1 ) * $nggdb->paged['objects_per_page'] + 1 ),
32
+ number_format_i18n( min( $_GET['paged'] * $nggdb->paged['objects_per_page'], $nggdb->paged['total_objects'] ) ),
33
+ number_format_i18n( $nggdb->paged['total_objects'] ),
34
+ $page_links
35
+ ); echo $page_links_text; ?></div>
36
+ <br class="clear" />
37
+ </div>
38
+ <?php endif; ?>
39
+ <table class="widefat" cellspacing="0">
40
  <thead>
41
  <tr>
42
  <th scope="col" ><?php _e('ID') ?></th>
50
  </thead>
51
  <tbody>
52
  <?php
 
 
53
 
54
  if($gallerylist) {
55
  foreach($gallerylist as $gallery) {
admin/manage-images.php CHANGED
@@ -4,7 +4,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
4
 
5
  function nggallery_picturelist() {
6
  // *** show picture list
7
- global $wpdb, $user_ID, $ngg;
8
 
9
  // GET variables
10
  $act_gid = $ngg->manage_page->gid;
@@ -12,46 +12,66 @@ function nggallery_picturelist() {
12
  $hideThumbs = $ngg->manage_page->hideThumbs;
13
 
14
  // Load the gallery metadata
15
- $gallery = nggdb::find_gallery($act_gid);
16
 
17
  if (!$gallery) {
18
  nggGallery::show_error(__('Gallery not found.', 'nggallery'));
19
  return;
20
  }
21
-
 
 
 
 
 
 
22
  // get picture values
23
- $picturelist = nggdb::get_gallery($act_gid, $ngg->options['galSort'], $ngg->options['galSortDir'], false);
 
 
 
 
 
 
 
 
 
 
24
 
25
  // get the current author
26
  $act_author_user = get_userdata( (int) $gallery->author );
27
 
28
  // list all galleries
29
- $gallerylist = nggdb::find_all_galleries();
30
 
 
 
 
 
31
  ?>
32
 
33
  <script type="text/javascript">
34
- function showDialog( windowId ) {
35
- var form = document.getElementById('updategallery');
36
- var elementlist = "";
37
- for (i = 0, n = form.elements.length; i < n; i++) {
38
- if(form.elements[i].type == "checkbox") {
39
- if(form.elements[i].name == "doaction[]")
40
- if(form.elements[i].checked == true)
41
- if (elementlist == "")
42
- elementlist = form.elements[i].value
43
- else
44
- elementlist += "," + form.elements[i].value ;
45
- }
 
46
  }
47
- jQuery("#" + windowId + "_bulkaction").val(jQuery("#bulkaction").val());
48
- jQuery("#" + windowId + "_imagelist").val(elementlist);
49
- // console.log (jQuery("#TB_imagelist").val());
50
- tb_show("", "#TB_inline?width=640&height=120&inlineId=" + windowId + "&modal=true", false);
51
  }
52
- </script>
53
- <script type="text/javascript">
54
- <!--
 
 
 
55
  function checkAll(form)
56
  {
57
  for (i = 0, n = form.elements.length; i < n; i++) {
@@ -88,17 +108,23 @@ function checkSelected() {
88
  alert('<?php echo js_escape(__("No images selected",'nggallery')); ?>');
89
  return false;
90
  }
91
- //TODO: For copy to and move to we need some better way around
92
- if (jQuery('#bulkaction').val() == 'copy_to') {
93
- showDialog('selectgallery');
94
- return false;
95
- }
96
 
97
- if (jQuery('#bulkaction').val() == 'move_to') {
98
- showDialog('selectgallery');
99
- return false;
 
 
 
 
 
 
 
 
 
 
 
100
  }
101
-
102
  return confirm('<?php echo sprintf(js_escape(__("You are about to start the bulk edit for %s images \n \n 'Cancel' to stop, 'OK' to proceed.",'nggallery')), "' + numchecked + '") ; ?>');
103
  }
104
 
@@ -112,6 +138,7 @@ jQuery(document).ready( function() {
112
  add_postbox_toggles('ngg-manage-gallery'); // WP 2.6
113
 
114
  });
 
115
  //-->
116
  </script>
117
 
@@ -121,11 +148,9 @@ jQuery(document).ready( function() {
121
 
122
  <br style="clear: both;" />
123
 
124
- <form id="updategallery" class="nggform" method="POST" action="<?php echo $ngg->manage_page->base_page . '&amp;mode=edit&amp;gid=' . $act_gid ?>" accept-charset="utf-8">
125
  <?php wp_nonce_field('ngg_updategallery') ?>
126
 
127
- <?php if ($showTags) { ?><input type="hidden" name="showTags" value="true" /><?php } ?>
128
- <?php if ($hideThumbs) { ?><input type="hidden" name="hideThumbs" value="true" /><?php } ?>
129
  <div id="poststuff">
130
  <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
131
  <div id="gallerydiv" class="postbox <?php echo postbox_classes('gallerydiv', 'ngg-manage-gallery'); ?>" >
@@ -199,10 +224,17 @@ jQuery(document).ready( function() {
199
  </div> <!-- poststuff -->
200
 
201
  <div class="tablenav ngg-tablenav">
202
- <div class="alignleft actions" style="float: left;">
 
 
 
 
 
 
 
 
203
  <select id="bulkaction" name="bulkaction">
204
  <option value="no_action" ><?php _e("No action",'nggallery')?></option>
205
- <?php if (!$showTags) { ?>
206
  <option value="set_watermark" ><?php _e("Set watermark",'nggallery')?></option>
207
  <option value="new_thumbnail" ><?php _e("Create new thumbnails",'nggallery')?></option>
208
  <option value="resize_images" ><?php _e("Resize images",'nggallery')?></option>
@@ -210,88 +242,37 @@ jQuery(document).ready( function() {
210
  <option value="import_meta" ><?php _e("Import metadata",'nggallery')?></option>
211
  <option value="copy_to" ><?php _e("Copy to...",'nggallery')?></option>
212
  <option value="move_to"><?php _e("Move to...",'nggallery')?></option>
213
- <?php } else { ?>
214
  <option value="add_tags" ><?php _e("Add tags",'nggallery')?></option>
215
  <option value="delete_tags" ><?php _e("Delete tags",'nggallery')?></option>
216
  <option value="overwrite_tags" ><?php _e("Overwrite tags",'nggallery')?></option>
217
- <?php } ?>
218
  </select>
219
-
220
- <?php if (!$showTags) { ?>
221
- <input class="button-secondary" type="submit" name="doaction" value="<?php _e("OK",'nggallery')?>" onclick="if ( !checkSelected() ) return false;" />
222
- <?php } else {?>
223
- <input class="button-secondary" type="submit" name="showThickbox" value="<?php _e("OK",'nggallery')?>" onclick="showDialog('tags'); return false;" />
224
- <?php } ?>
225
-
226
- <?php if (!$hideThumbs) { ?>
227
- <input class="button-secondary" type="submit" name="togglethumbs" value="<?php _e("Hide thumbnails ",'nggallery')?>" />
228
- <?php } else {?>
229
- <input class="button-secondary" type="submit" name="togglethumbs" value="<?php _e("Show thumbnails ",'nggallery')?>" />
230
- <?php } ?>
231
-
232
- <?php if (!$showTags) { ?>
233
- <input class="button-secondary" type="submit" name="toggletags" value="<?php _e("Show tags",'nggallery')?>" />
234
- <?php } else {?>
235
- <input class="button-secondary" type="submit" name="toggletags" value="<?php _e("Hide tags",'nggallery')?>" />
236
- <?php } ?>
237
 
238
  <?php if ($ngg->options['galSort'] == "sortorder") { ?>
239
  <input class="button-secondary" type="submit" name="sortGallery" value="<?php _e("Sort gallery",'nggallery')?>" />
240
  <?php } ?>
241
-
 
242
  </div>
243
- <span style="float:right; padding:2px 8px 0 0;"><input type="submit" name="updatepictures" class="button-primary action" value="<?php _e("Save Changes",'nggallery')?>" /></span>
244
  </div>
245
 
246
- <table id="ngg-listimages" class="widefat" >
 
247
  <thead>
248
  <tr>
249
- <?php $gallery_columns = ngg_manage_gallery_columns(); ?>
250
- <?php foreach($gallery_columns as $gallery_column_key => $column_display_name) {
251
- switch ($gallery_column_key) {
252
- case 'cb' :
253
- $class = ' class="check-column;"';
254
- break;
255
- case 'tags' :
256
- $class = ' style="width:70%;"';
257
- break;
258
- case 'action' :
259
- $class = ' colspan="3" style="text-align: center;"';
260
- break;
261
- default :
262
- $class = ' style="text-align: center;"';
263
- }
264
- ?>
265
- <th scope="col"<?php echo $class; ?>><?php echo $column_display_name; ?></th>
266
- <?php } ?>
267
  </tr>
268
  </thead>
269
  <tfoot>
270
  <tr>
271
- <?php foreach($gallery_columns as $gallery_column_key => $column_display_name) {
272
- switch ($gallery_column_key) {
273
- case 'cb' :
274
- $class = ' class="check-column;"';
275
- break;
276
- case 'tags' :
277
- $class = ' style="width:70%;"';
278
- break;
279
- case 'action' :
280
- $class = ' colspan="3" style="text-align: center;"';
281
- break;
282
- default :
283
- $class = ' style="text-align: center;"';
284
- }
285
- ?>
286
- <th scope="col"<?php echo $class; ?>><?php echo $column_display_name; ?></th>
287
- <?php } ?>
288
  </tr>
289
  </tfoot>
290
  <tbody>
291
  <?php
292
  if($picturelist) {
293
 
294
- $thumbsize = "";
295
  if ($ngg->options['thumbfix']) {
296
  $thumbsize = 'width="'.$ngg->options['thumbwidth'].'" height="'.$ngg->options['thumbheight'].'"';
297
  }
@@ -302,84 +283,94 @@ if($picturelist) {
302
 
303
  foreach($picturelist as $picture) {
304
 
305
- $pid = (int) $picture->pid;
306
- $class = ( $class == 'class="alternate"' ) ? '' : 'class="alternate"';
307
- $exclude = ( $picture->exclude ) ? 'checked="checked"' : '';
308
  $date = mysql2date(get_option('date_format'), $picture->imagedate);
309
  $time = mysql2date(get_option('time_format'), $picture->imagedate);
310
 
311
  ?>
312
- <tr id="picture-<?php echo $pid ?>" <?php echo $class ?> style="text-align:center">
313
- <?php foreach($gallery_columns as $gallery_column_key => $column_display_name) {
 
 
 
 
 
 
 
 
 
314
  switch ($gallery_column_key) {
315
  case 'cb' :
316
  ?>
317
- <td class="check-column" scope="row"><input name="doaction[]" type="checkbox" value="<?php echo $pid ?>" /></td>
318
  <?php
319
  break;
320
  case 'id' :
321
  ?>
322
- <td class="id column-id" scope="row" style="text-align: center"><?php echo $pid ?></td>
323
  <?php
324
  break;
325
  case 'filename' :
326
  ?>
327
- <td class="media-icon" style="text-align: left;">
328
- <a href="<?php echo $picture->imageURL; ?>" class="thickbox" title="<?php echo $picture->filename ?>">
329
- <?php echo $picture->filename ?>
330
- </a>
331
  <br /><?php echo $date?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
332
  </td>
333
  <?php
334
  break;
335
  case 'thumbnail' :
336
  ?>
337
- <td class="thumbnail column-thumbnail"><a href="<?php echo $picture->imageURL; ?>" class="thickbox" title="<?php echo $picture->filename ?>">
338
  <img class="thumb" src="<?php echo $picture->thumbURL; ?>" <?php echo $thumbsize ?> />
339
  </a>
340
- <br /><?php echo $date?>
341
  </td>
342
  <?php
343
  break;
344
  case 'alt_title_desc' :
345
  ?>
346
- <td class="altdesc column-altdesc" style="width:500px">
347
  <input name="alttext[<?php echo $pid ?>]" type="text" style="width:95%; margin-bottom: 2px;" value="<?php echo stripslashes($picture->alttext) ?>" /><br/>
348
  <textarea name="description[<?php echo $pid ?>]" style="width:95%; margin-top: 2px;" rows="2" ><?php echo stripslashes($picture->description) ?></textarea>
349
  </td>
350
  <?php
351
  break;
352
- case 'description' :
353
- ?>
354
- <td class="description column-description"><textarea name="description[<?php echo $pid ?>]" class="textarea1" cols="42" rows="2" ><?php echo stripslashes($picture->description) ?></textarea></td>
355
- <?php
356
- break;
357
- case 'alt_title_text' :
358
- ?>
359
- <td class="alttext column-alttext"><input name="alttext[<?php echo $pid ?>]" type="text" size="30" value="<?php echo stripslashes($picture->alttext) ?>" /></td>
360
- <?php
361
- break;
362
  case 'exclude' :
363
  ?>
364
- <td class="exclude column-exclude"><input name="exclude[<?php echo $pid ?>]" type="checkbox" value="1" <?php echo $exclude ?> /></td>
365
  <?php
366
  break;
367
  case 'tags' :
368
  $picture->tags = wp_get_object_terms($pid, 'ngg_tag', 'fields=names');
369
  if (is_array ($picture->tags) ) $picture->tags = implode(', ', $picture->tags);
370
  ?>
371
- <td class="tags column-tags" style="width:500px;"><textarea name="tags[<?php echo $pid ?>]" style="width:95%;" rows="2"><?php echo $picture->tags ?></textarea></td>
372
  <?php
373
  break;
374
- case 'action' :
375
- ?>
376
- <td><a href="<?php echo NGGALLERY_URLPATH."admin/showmeta.php?id=".$pid ?>" class="thickbox" title="<?php _e("Show Meta data",'nggallery')?>" ><?php _e('Meta') ?></a></td>
377
- <td><a href="<?php echo wp_nonce_url("admin.php?page=nggallery-manage-gallery&amp;mode=delpic&amp;gid=".$act_gid."&amp;pid=".$pid, 'ngg_delpicture')?>" class="delete" onclick="javascript:check=confirm( '<?php _e("Delete this file ?",'nggallery')?>');if(check==false) return false;" ><?php _e('Delete') ?></a></td>
378
- <?php
379
- break;
380
  default :
381
  ?>
382
- <td><?php do_action('ngg_manage_gallery_custom_column', $gallery_column_key, $pid); ?></td>
383
  <?php
384
  break;
385
  }
@@ -389,7 +380,7 @@ if($picturelist) {
389
  <?php
390
  }
391
  } else {
392
- echo '<tr><td colspan="8" align="center"><strong>'.__('No entries found','nggallery').'</strong></td></tr>';
393
  }
394
  ?>
395
 
@@ -401,20 +392,18 @@ if($picturelist) {
401
  </div><!-- /#wrap -->
402
 
403
  <!-- #entertags -->
404
- <div id="tags" style="display: none;" >
405
  <form id="form-tags" method="POST" accept-charset="utf-8">
406
  <?php wp_nonce_field('ngg_thickbox_form') ?>
407
- <?php if ($showTags) { ?><input type="hidden" name="showTags" value="true" /><?php } ?>
408
- <?php if ($hideThumbs) { ?><input type="hidden" name="hideThumbs" value="true" /><?php } ?>
409
- <input type="hidden" id="tags_imagelist" name="TB_imagelist" value="" />
410
- <input type="hidden" id="tags_bulkaction" name="TB_bulkaction" value="" />
411
  <table width="100%" border="0" cellspacing="3" cellpadding="3" >
412
  <tr>
413
  <th><?php _e("Enter the tags",'nggallery')?> : <input name="taglist" type="text" style="width:90%" value="" /></th>
414
  </tr>
415
  <tr align="right">
416
  <td class="submit">
417
- <input class="button-primary" type="submit" name="TB_EditTags" value="<?php _e("OK",'nggallery')?>" onclick="var numchecked = getNumChecked(document.getElementById('updategallery')); if(numchecked < 1) { alert('<?php echo js_escape(__("No images selected",'nggallery')); ?>'); tb_remove(); return false } return confirm('<?php echo sprintf(js_escape(__("You are about to start the bulk edit for %s images \n \n 'Cancel' to stop, 'OK' to proceed.",'nggallery')), "' + numchecked + '") ; ?>')" />
418
  &nbsp;
419
  <input class="button-secondary" type="reset" value="&nbsp;<?php _e("Cancel",'nggallery')?>&nbsp;" onclick="tb_remove()"/>
420
  </td>
@@ -428,14 +417,12 @@ if($picturelist) {
428
  <div id="selectgallery" style="display: none;" >
429
  <form id="form-select-gallery" method="POST" accept-charset="utf-8">
430
  <?php wp_nonce_field('ngg_thickbox_form') ?>
431
- <?php if ($showTags) { ?><input type="hidden" name="showTags" value="true" /><?php } ?>
432
- <?php if ($hideThumbs) { ?><input type="hidden" name="hideThumbs" value="true" /><?php } ?>
433
  <input type="hidden" id="selectgallery_imagelist" name="TB_imagelist" value="" />
434
  <input type="hidden" id="selectgallery_bulkaction" name="TB_bulkaction" value="" />
435
  <table width="100%" border="0" cellspacing="3" cellpadding="3" >
436
  <tr>
437
  <th>
438
- <?php _e("Select the destination gallery:", 'nggallery'); ?>&nbsp;
439
  <select name="dest_gid" style="width:90%" >
440
  <?php
441
  foreach ($gallerylist as $gallery) {
@@ -451,7 +438,7 @@ if($picturelist) {
451
  </tr>
452
  <tr align="right">
453
  <td class="submit">
454
- <input type="submit" class="button-primary" name="TB_SelectGallery" value="<?php _e("OK",'nggallery')?>" onclick="var numchecked = getNumChecked(document.getElementById('updategallery')); if(numchecked < 1) { alert('<?php echo js_escape(__("No images selected",'nggallery')); ?>'); tb_remove(); return false } return confirm('<?php echo sprintf(js_escape(__("You are about to copy or move %s images \n \n 'Cancel' to stop, 'OK' to proceed.",'nggallery')), "' + numchecked + '") ; ?>')" />
455
  &nbsp;
456
  <input class="button-secondary" type="reset" value="<?php _e("Cancel",'nggallery')?>" onclick="tb_remove()"/>
457
  </td>
@@ -460,6 +447,12 @@ if($picturelist) {
460
  </form>
461
  </div>
462
  <!-- /#selectgallery -->
 
 
 
 
 
 
463
  <?php
464
  }
465
 
@@ -471,26 +464,18 @@ function ngg_manage_gallery_columns() {
471
 
472
  $gallery_columns['cb'] = '<input name="checkall" type="checkbox" onclick="checkAll(document.getElementById(\'updategallery\'));" />';
473
  $gallery_columns['id'] = __('ID');
 
474
 
475
- if ( !$ngg->manage_page->hideThumbs ) {
476
- $gallery_columns['thumbnail'] = __('Thumbnail', 'nggallery') . ' / ' . __('Date', 'nggallery');
477
- } else {
478
- $gallery_columns['filename'] = __('File name', 'nggallery') . ' / ' . __('Date', 'nggallery');
479
- }
480
 
481
- if ( !$ngg->manage_page->showTags ) {
482
- $gallery_columns['alt_title_desc'] = __('Alt &amp; Title Text', 'nggallery') . ' / ' . __('Description', 'nggallery');
483
- // $gallery_columns['description'] = __('Description', 'nggallery');
484
- // $gallery_columns['alt_title_text'] = __('Alt &amp; Title Text', 'nggallery');
485
- $gallery_columns['exclude'] = __('exclude', 'nggallery');
486
- } else {
487
- $gallery_columns['tags'] = __('Tags (comma separated list)', 'nggallery');
488
- }
489
- $gallery_columns['action'] = __('Action', 'nggallery');
490
 
491
  $gallery_columns = apply_filters('ngg_manage_gallery_columns', $gallery_columns);
492
 
493
  return $gallery_columns;
494
  }
495
 
496
- ?>
4
 
5
  function nggallery_picturelist() {
6
  // *** show picture list
7
+ global $wpdb, $nggdb, $user_ID, $ngg;
8
 
9
  // GET variables
10
  $act_gid = $ngg->manage_page->gid;
12
  $hideThumbs = $ngg->manage_page->hideThumbs;
13
 
14
  // Load the gallery metadata
15
+ $gallery = $nggdb->find_gallery($act_gid);
16
 
17
  if (!$gallery) {
18
  nggGallery::show_error(__('Gallery not found.', 'nggallery'));
19
  return;
20
  }
21
+
22
+ // look for pagination
23
+ if ( ! isset( $_GET['paged'] ) || $_GET['paged'] < 1 )
24
+ $_GET['paged'] = 1;
25
+
26
+ $start = ( $_GET['paged'] - 1 ) * 50;
27
+
28
  // get picture values
29
+ $picturelist = $nggdb->get_gallery($act_gid, $ngg->options['galSort'], $ngg->options['galSortDir'], false, 50, $start );
30
+
31
+ // build pagination
32
+ $page_links = paginate_links( array(
33
+ 'base' => add_query_arg( 'paged', '%#%' ),
34
+ 'format' => '',
35
+ 'prev_text' => __('&laquo;'),
36
+ 'next_text' => __('&raquo;'),
37
+ 'total' => $nggdb->paged['max_objects_per_page'],
38
+ 'current' => $_GET['paged']
39
+ ));
40
 
41
  // get the current author
42
  $act_author_user = get_userdata( (int) $gallery->author );
43
 
44
  // list all galleries
45
+ $gallerylist = $nggdb->find_all_galleries();
46
 
47
+ //get the columns
48
+ $gallery_columns = ngg_manage_gallery_columns();
49
+ $hidden_columns = get_hidden_columns('nggallery-manage-images');
50
+ $num_columns = count($gallery_columns) - count($hidden_columns);
51
  ?>
52
 
53
  <script type="text/javascript">
54
+ <!--
55
+
56
+ function showDialog( windowId ) {
57
+ var form = document.getElementById('updategallery');
58
+ var elementlist = "";
59
+ for (i = 0, n = form.elements.length; i < n; i++) {
60
+ if(form.elements[i].type == "checkbox") {
61
+ if(form.elements[i].name == "doaction[]")
62
+ if(form.elements[i].checked == true)
63
+ if (elementlist == "")
64
+ elementlist = form.elements[i].value
65
+ else
66
+ elementlist += "," + form.elements[i].value ;
67
  }
 
 
 
 
68
  }
69
+ jQuery("#" + windowId + "_bulkaction").val(jQuery("#bulkaction").val());
70
+ jQuery("#" + windowId + "_imagelist").val(elementlist);
71
+ // console.log (jQuery("#TB_imagelist").val());
72
+ tb_show("", "#TB_inline?width=640&height=120&inlineId=" + windowId + "&modal=true", false);
73
+ }
74
+
75
  function checkAll(form)
76
  {
77
  for (i = 0, n = form.elements.length; i < n; i++) {
108
  alert('<?php echo js_escape(__("No images selected",'nggallery')); ?>');
109
  return false;
110
  }
 
 
 
 
 
111
 
112
+ actionId = jQuery('#bulkaction').val();
113
+
114
+ switch (actionId) {
115
+ case "copy_to":
116
+ case "move_to":
117
+ showDialog('selectgallery');
118
+ return false;
119
+ break;
120
+ case "add_tags":
121
+ case "delete_tags":
122
+ case "overwrite_tags":
123
+ showDialog('entertags');
124
+ return false;
125
+ break;
126
  }
127
+
128
  return confirm('<?php echo sprintf(js_escape(__("You are about to start the bulk edit for %s images \n \n 'Cancel' to stop, 'OK' to proceed.",'nggallery')), "' + numchecked + '") ; ?>');
129
  }
130
 
138
  add_postbox_toggles('ngg-manage-gallery'); // WP 2.6
139
 
140
  });
141
+
142
  //-->
143
  </script>
144
 
148
 
149
  <br style="clear: both;" />
150
 
151
+ <form id="updategallery" class="nggform" method="POST" action="<?php echo $ngg->manage_page->base_page . '&amp;mode=edit&amp;gid=' . $act_gid . '&amp;paged=' . $_GET['paged']; ?>" accept-charset="utf-8">
152
  <?php wp_nonce_field('ngg_updategallery') ?>
153
 
 
 
154
  <div id="poststuff">
155
  <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
156
  <div id="gallerydiv" class="postbox <?php echo postbox_classes('gallerydiv', 'ngg-manage-gallery'); ?>" >
224
  </div> <!-- poststuff -->
225
 
226
  <div class="tablenav ngg-tablenav">
227
+ <?php if ( $page_links ) : ?>
228
+ <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>%s',
229
+ number_format_i18n( ( $_GET['paged'] - 1 ) * $nggdb->paged['objects_per_page'] + 1 ),
230
+ number_format_i18n( min( $_GET['paged'] * $nggdb->paged['objects_per_page'], $nggdb->paged['total_objects'] ) ),
231
+ number_format_i18n( $nggdb->paged['total_objects'] ),
232
+ $page_links
233
+ ); echo $page_links_text; ?></div>
234
+ <?php endif; ?>
235
+ <div class="alignleft actions">
236
  <select id="bulkaction" name="bulkaction">
237
  <option value="no_action" ><?php _e("No action",'nggallery')?></option>
 
238
  <option value="set_watermark" ><?php _e("Set watermark",'nggallery')?></option>
239
  <option value="new_thumbnail" ><?php _e("Create new thumbnails",'nggallery')?></option>
240
  <option value="resize_images" ><?php _e("Resize images",'nggallery')?></option>
242
  <option value="import_meta" ><?php _e("Import metadata",'nggallery')?></option>
243
  <option value="copy_to" ><?php _e("Copy to...",'nggallery')?></option>
244
  <option value="move_to"><?php _e("Move to...",'nggallery')?></option>
 
245
  <option value="add_tags" ><?php _e("Add tags",'nggallery')?></option>
246
  <option value="delete_tags" ><?php _e("Delete tags",'nggallery')?></option>
247
  <option value="overwrite_tags" ><?php _e("Overwrite tags",'nggallery')?></option>
 
248
  </select>
249
+ <input class="button-secondary" type="submit" name="showThickbox" value="<?php _e("OK",'nggallery')?>" onclick="if ( !checkSelected() ) return false;" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
250
 
251
  <?php if ($ngg->options['galSort'] == "sortorder") { ?>
252
  <input class="button-secondary" type="submit" name="sortGallery" value="<?php _e("Sort gallery",'nggallery')?>" />
253
  <?php } ?>
254
+
255
+ <input type="submit" name="updatepictures" class="button-primary action" value="<?php _e("Save Changes",'nggallery')?>" />
256
  </div>
 
257
  </div>
258
 
259
+ <table id="ngg-listimages" class="widefat fixed" cellspacing="0" >
260
+
261
  <thead>
262
  <tr>
263
+ <?php print_column_headers('nggallery-manage-images'); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
  </tr>
265
  </thead>
266
  <tfoot>
267
  <tr>
268
+ <?php print_column_headers('nggallery-manage-images', false); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
269
  </tr>
270
  </tfoot>
271
  <tbody>
272
  <?php
273
  if($picturelist) {
274
 
275
+ $thumbsize = '';
276
  if ($ngg->options['thumbfix']) {
277
  $thumbsize = 'width="'.$ngg->options['thumbwidth'].'" height="'.$ngg->options['thumbheight'].'"';
278
  }
283
 
284
  foreach($picturelist as $picture) {
285
 
286
+ $pid = (int) $picture->pid;
287
+ $alternate = ( $alternate == 'alternate' ) ? '' : 'alternate';
288
+ $exclude = ( $picture->exclude ) ? 'checked="checked"' : '';
289
  $date = mysql2date(get_option('date_format'), $picture->imagedate);
290
  $time = mysql2date(get_option('time_format'), $picture->imagedate);
291
 
292
  ?>
293
+ <tr id="picture-<?php echo $pid ?>" class="<?php echo $alternate ?> iedit" valign="top">
294
+ <?php
295
+ foreach($gallery_columns as $gallery_column_key => $column_display_name) {
296
+ $class = "class=\"$gallery_column_key column-$gallery_column_key\"";
297
+
298
+ $style = '';
299
+ if ( in_array($gallery_column_key, $hidden_columns) )
300
+ $style = ' style="display:none;"';
301
+
302
+ $attributes = "$class$style";
303
+
304
  switch ($gallery_column_key) {
305
  case 'cb' :
306
  ?>
307
+ <th <?php echo $attributes ?> scope="row"><input name="doaction[]" type="checkbox" value="<?php echo $pid ?>" /></th>
308
  <?php
309
  break;
310
  case 'id' :
311
  ?>
312
+ <td <?php echo $attributes ?> scope="row" style=""><?php echo $pid ?></td>
313
  <?php
314
  break;
315
  case 'filename' :
316
  ?>
317
+ <td <?php echo $attributes ?>>
318
+ <strong><a href="<?php echo $picture->imageURL; ?>" class="thickbox" title="<?php echo $picture->filename ?>">
319
+ <?php echo ( empty($picture->alttext) ) ? $picture->filename : stripslashes($picture->alttext); ?>
320
+ </a></strong>
321
  <br /><?php echo $date?>
322
+ <p>
323
+ <?php
324
+ $actions = array();
325
+ //TODO:Add a JS edit option
326
+ //$actions['edit'] = '<a class="editinline" href="#">' . __('Edit') . '</a>';
327
+ $actions['view'] = '<a class="thickbox" href="' . $picture->imageURL . '" title="' . attribute_escape(sprintf(__('View "%s"'), $picture->filename)) . '">' . __('View', 'nggallery') . '</a>';
328
+ $actions['meta'] = '<a class="thickbox" href="' . NGGALLERY_URLPATH . 'admin/showmeta.php?id=' . $pid . '" title="' . __('Show Meta data','nggallery') . '">' . __('Meta', 'nggallery') . '</a>';
329
+ $actions['delete'] = '<a class="submitdelete" href="' . wp_nonce_url("admin.php?page=nggallery-manage-gallery&amp;mode=delpic&amp;gid=".$act_gid."&amp;pid=".$pid, 'ngg_delpicture'). '" class="delete column-delete" onclick="javascript:check=confirm( \'' . attribute_escape(sprintf(__('Delete "%s"' , 'nggallery'), $picture->filename)). '\');if(check==false) return false;">' . __('Delete') . '</a>';
330
+ $action_count = count($actions);
331
+ $i = 0;
332
+ echo '<div class="row-actions">';
333
+ foreach ( $actions as $action => $link ) {
334
+ ++$i;
335
+ ( $i == $action_count ) ? $sep = '' : $sep = ' | ';
336
+ echo "<span class='$action'>$link$sep</span>";
337
+ }
338
+ echo '</div>';
339
+ ?></p>
340
  </td>
341
  <?php
342
  break;
343
  case 'thumbnail' :
344
  ?>
345
+ <td <?php echo $attributes ?>><a href="<?php echo $picture->imageURL; ?>" class="thickbox" title="<?php echo $picture->filename ?>">
346
  <img class="thumb" src="<?php echo $picture->thumbURL; ?>" <?php echo $thumbsize ?> />
347
  </a>
 
348
  </td>
349
  <?php
350
  break;
351
  case 'alt_title_desc' :
352
  ?>
353
+ <td <?php echo $attributes ?>>
354
  <input name="alttext[<?php echo $pid ?>]" type="text" style="width:95%; margin-bottom: 2px;" value="<?php echo stripslashes($picture->alttext) ?>" /><br/>
355
  <textarea name="description[<?php echo $pid ?>]" style="width:95%; margin-top: 2px;" rows="2" ><?php echo stripslashes($picture->description) ?></textarea>
356
  </td>
357
  <?php
358
  break;
 
 
 
 
 
 
 
 
 
 
359
  case 'exclude' :
360
  ?>
361
+ <td <?php echo $attributes ?>><input name="exclude[<?php echo $pid ?>]" type="checkbox" value="1" <?php echo $exclude ?> /></td>
362
  <?php
363
  break;
364
  case 'tags' :
365
  $picture->tags = wp_get_object_terms($pid, 'ngg_tag', 'fields=names');
366
  if (is_array ($picture->tags) ) $picture->tags = implode(', ', $picture->tags);
367
  ?>
368
+ <td <?php echo $attributes ?>><textarea name="tags[<?php echo $pid ?>]" style="width:95%;" rows="2"><?php echo $picture->tags ?></textarea></td>
369
  <?php
370
  break;
 
 
 
 
 
 
371
  default :
372
  ?>
373
+ <td <?php echo $attributes ?>><?php do_action('ngg_manage_gallery_custom_column', $gallery_column_key, $pid); ?></td>
374
  <?php
375
  break;
376
  }
380
  <?php
381
  }
382
  } else {
383
+ echo '<tr><td colspan="' . $num_columns . '" align="center"><strong>'.__('No entries found','nggallery').'</strong></td></tr>';
384
  }
385
  ?>
386
 
392
  </div><!-- /#wrap -->
393
 
394
  <!-- #entertags -->
395
+ <div id="entertags" style="display: none;" >
396
  <form id="form-tags" method="POST" accept-charset="utf-8">
397
  <?php wp_nonce_field('ngg_thickbox_form') ?>
398
+ <input type="hidden" id="entertags_imagelist" name="TB_imagelist" value="" />
399
+ <input type="hidden" id="entertags_bulkaction" name="TB_bulkaction" value="" />
 
 
400
  <table width="100%" border="0" cellspacing="3" cellpadding="3" >
401
  <tr>
402
  <th><?php _e("Enter the tags",'nggallery')?> : <input name="taglist" type="text" style="width:90%" value="" /></th>
403
  </tr>
404
  <tr align="right">
405
  <td class="submit">
406
+ <input class="button-primary" type="submit" name="TB_EditTags" value="<?php _e("OK",'nggallery')?>" />
407
  &nbsp;
408
  <input class="button-secondary" type="reset" value="&nbsp;<?php _e("Cancel",'nggallery')?>&nbsp;" onclick="tb_remove()"/>
409
  </td>
417
  <div id="selectgallery" style="display: none;" >
418
  <form id="form-select-gallery" method="POST" accept-charset="utf-8">
419
  <?php wp_nonce_field('ngg_thickbox_form') ?>
 
 
420
  <input type="hidden" id="selectgallery_imagelist" name="TB_imagelist" value="" />
421
  <input type="hidden" id="selectgallery_bulkaction" name="TB_bulkaction" value="" />
422
  <table width="100%" border="0" cellspacing="3" cellpadding="3" >
423
  <tr>
424
  <th>
425
+ <?php _e('Select the destination gallery:', 'nggallery'); ?>&nbsp;
426
  <select name="dest_gid" style="width:90%" >
427
  <?php
428
  foreach ($gallerylist as $gallery) {
438
  </tr>
439
  <tr align="right">
440
  <td class="submit">
441
+ <input type="submit" class="button-primary" name="TB_SelectGallery" value="<?php _e("OK",'nggallery')?>" />
442
  &nbsp;
443
  <input class="button-secondary" type="reset" value="<?php _e("Cancel",'nggallery')?>" onclick="tb_remove()"/>
444
  </td>
447
  </form>
448
  </div>
449
  <!-- /#selectgallery -->
450
+
451
+ <script type="text/javascript">
452
+ /* <![CDATA[ */
453
+ columns.init('nggallery-manage-images');
454
+ /* ]]> */
455
+ </script>
456
  <?php
457
  }
458
 
464
 
465
  $gallery_columns['cb'] = '<input name="checkall" type="checkbox" onclick="checkAll(document.getElementById(\'updategallery\'));" />';
466
  $gallery_columns['id'] = __('ID');
467
+ $gallery_columns['thumbnail'] = __('Thumbnail', 'nggallery');
468
 
469
+ $gallery_columns['filename'] = __('Filename', 'nggallery');
 
 
 
 
470
 
471
+ $gallery_columns['alt_title_desc'] = __('Alt &amp; Title Text', 'nggallery') . ' / ' . __('Description', 'nggallery');
472
+ $gallery_columns['tags'] = __('Tags (comma separated list)', 'nggallery');
473
+
474
+ $gallery_columns['exclude'] = __('exclude', 'nggallery');
 
 
 
 
 
475
 
476
  $gallery_columns = apply_filters('ngg_manage_gallery_columns', $gallery_columns);
477
 
478
  return $gallery_columns;
479
  }
480
 
481
+ ?>
admin/manage.php CHANGED
@@ -7,8 +7,6 @@ class nggManageGallery {
7
  var $mode = 'main';
8
  var $gid = false;
9
  var $pid = false;
10
- var $hideThumbs = false;
11
- var $showTags = false;
12
  var $base_page = 'admin.php?page=nggallery-manage-gallery';
13
 
14
  // initiate the manage page
@@ -19,10 +17,6 @@ class nggManageGallery {
19
  $this->pid = (int) $_GET['pid'];
20
  $this->mode = trim ($_GET['mode']);
21
 
22
- //TODO: Remove this vars
23
- $this->hide_thumb();
24
- $this->show_tags();
25
-
26
  //Look for POST process
27
  if ( !empty($_POST) || !empty($_GET) )
28
  $this->processor();
@@ -96,7 +90,7 @@ class nggManageGallery {
96
  if ($gallerypath){
97
  $thumb_folder = nggGallery::get_thumbnail_folder($gallerypath, FALSE);
98
  if ($ngg->options['deleteImg']) {
99
- @unlink(WINABSPATH . $gallerypath. '/thumbs/thumbs_' .$filename);
100
  @unlink(WINABSPATH . $gallerypath . '/' . $filename);
101
  }
102
  }
@@ -176,7 +170,7 @@ class nggManageGallery {
176
 
177
  check_admin_referer('ngg_thickbox_form');
178
 
179
- $pic_ids = explode(",", $_POST['TB_imagelist']);
180
  $dest_gid = (int) $_POST['dest_gid'];
181
 
182
  switch ($_POST['TB_bulkaction']) {
@@ -197,8 +191,8 @@ class nggManageGallery {
197
  check_admin_referer('ngg_thickbox_form');
198
 
199
  // get the images list
200
- $pic_ids = explode(",", $_POST['TB_imagelist']);
201
- $taglist = explode(",", $_POST['taglist']);
202
  $taglist = array_map('trim', $taglist);
203
 
204
  if (is_array($pic_ids)) {
@@ -218,7 +212,7 @@ class nggManageGallery {
218
  // Add / append tags
219
  wp_set_object_terms($pic_id, $taglist, 'ngg_tag', TRUE);
220
  break;
221
- case 'delte_tags':
222
  // Delete tags
223
  $oldtags = wp_get_object_terms($pic_id, 'ngg_tag', 'fields=names');
224
  // get the slugs, to vaoid case sensitive problems
@@ -231,7 +225,7 @@ class nggManageGallery {
231
  }
232
  }
233
 
234
- nggGallery::show_message(__('Tags changed',"nggallery"));
235
  }
236
  }
237
 
@@ -239,7 +233,7 @@ class nggManageGallery {
239
  // Update pictures
240
 
241
  check_admin_referer('ngg_updategallery');
242
-
243
  $gallery_title = attribute_escape($_POST['title']);
244
  $gallery_path = attribute_escape($_POST['path']);
245
  $gallery_desc = attribute_escape($_POST['gallerydesc']);
@@ -253,10 +247,7 @@ class nggManageGallery {
253
  $wpdb->query("UPDATE $wpdb->nggallery SET author = '$gallery_author' WHERE gid = '$this->gid'");
254
  }
255
 
256
- if ($this->showTags)
257
- $this->update_tags();
258
- else
259
- $this->update_pictures();
260
 
261
  //hook for other plugin to update the fields
262
  do_action('ngg_update_gallery', $this->gid, $_POST);
@@ -308,34 +299,35 @@ class nggManageGallery {
308
  }
309
 
310
  function update_pictures() {
311
- //TODO: Message when update failed
312
  global $wpdb;
 
 
 
313
 
314
- $nggdescription = attribute_escape( $_POST['description'] );
315
- $nggalttext = attribute_escape( $_POST['alttext'] );
316
- $nggexclude = attribute_escape( $_POST['exclude'] );
317
-
318
- if ( is_array($nggdescription) ) {
319
- foreach( $nggdescription as $key=>$value ) {
 
320
  $desc = $wpdb->escape($value);
321
- $result=$wpdb->query( "UPDATE $wpdb->nggpictures SET description = '$desc' WHERE pid = $key");
322
- if($result) $update_ok = $result;
323
  }
324
  }
325
- if ( is_array($nggalttext) ){
326
- foreach( $nggalttext as $key=>$value ) {
327
  $alttext = $wpdb->escape($value);
328
- $result=$wpdb->query( "UPDATE $wpdb->nggpictures SET alttext = '$alttext' WHERE pid = $key");
329
- if($result) $update_ok = $result;
330
  }
331
  }
332
 
333
- $nggpictures = $wpdb->get_results("SELECT pid FROM $wpdb->nggpictures WHERE galleryid = '$this->gid'");
334
 
335
- if ( is_array($nggpictures) ){
336
- foreach($nggpictures as $picture){
337
- if (is_array($nggexclude)){
338
- if ( array_key_exists($picture->pid, $nggexclude) )
339
  $wpdb->query("UPDATE $wpdb->nggpictures SET exclude = 1 WHERE pid = '$picture->pid'");
340
  else
341
  $wpdb->query("UPDATE $wpdb->nggpictures SET exclude = 0 WHERE pid = '$picture->pid'");
@@ -344,24 +336,17 @@ class nggManageGallery {
344
  }
345
  }
346
  }
347
-
348
- return;
349
- }
350
 
351
- function update_tags() {
352
-
353
- $taglist = attribute_escape($_POST['tags']);
354
-
355
- if (is_array($taglist)){
356
  foreach($taglist as $key=>$value) {
357
- $tags = explode(",", $value);
358
  wp_set_object_terms($key, $tags, 'ngg_tag');
359
  }
360
  }
361
-
362
  return;
363
  }
364
-
365
  // Check if user can select a author
366
  function get_editable_user_ids( $user_id, $exclude_zeros = true ) {
367
  global $wpdb;
@@ -382,31 +367,5 @@ class nggManageGallery {
382
 
383
  return $wpdb->get_col( $query );
384
  }
385
-
386
- function hide_thumb() {
387
-
388
- if (isset ($_POST['togglethumbs'])) {
389
- check_admin_referer('ngg_updategallery');
390
- // Toggle thumnails, forgive me if it's to complicated
391
- $this->hideThumbs = (isset ($_POST['hideThumbs'])) ? false : true ;
392
- } else {
393
- $this->hideThumbs = (isset ($_POST['hideThumbs'])) ? true : false ;
394
- }
395
- return;
396
- }
397
-
398
- function show_tags() {
399
-
400
- if (isset ($_POST['toggletags'])) {
401
- check_admin_referer('ngg_updategallery');
402
- // Toggle tag view
403
- $this->showTags = (isset ($_POST['showTags'])) ? false : true ;
404
- } else {
405
- $this->showTags = (isset ($_POST['showTags'])) ? true : false ;
406
- }
407
-
408
- return;
409
- }
410
-
411
  }
412
  ?>
7
  var $mode = 'main';
8
  var $gid = false;
9
  var $pid = false;
 
 
10
  var $base_page = 'admin.php?page=nggallery-manage-gallery';
11
 
12
  // initiate the manage page
17
  $this->pid = (int) $_GET['pid'];
18
  $this->mode = trim ($_GET['mode']);
19
 
 
 
 
 
20
  //Look for POST process
21
  if ( !empty($_POST) || !empty($_GET) )
22
  $this->processor();
90
  if ($gallerypath){
91
  $thumb_folder = nggGallery::get_thumbnail_folder($gallerypath, FALSE);
92
  if ($ngg->options['deleteImg']) {
93
+ @unlink(WINABSPATH . $gallerypath . '/thumbs/thumbs_' .$filename);
94
  @unlink(WINABSPATH . $gallerypath . '/' . $filename);
95
  }
96
  }
170
 
171
  check_admin_referer('ngg_thickbox_form');
172
 
173
+ $pic_ids = explode(',', $_POST['TB_imagelist']);
174
  $dest_gid = (int) $_POST['dest_gid'];
175
 
176
  switch ($_POST['TB_bulkaction']) {
191
  check_admin_referer('ngg_thickbox_form');
192
 
193
  // get the images list
194
+ $pic_ids = explode(',', $_POST['TB_imagelist']);
195
+ $taglist = explode(',', $_POST['taglist']);
196
  $taglist = array_map('trim', $taglist);
197
 
198
  if (is_array($pic_ids)) {
212
  // Add / append tags
213
  wp_set_object_terms($pic_id, $taglist, 'ngg_tag', TRUE);
214
  break;
215
+ case 'delete_tags':
216
  // Delete tags
217
  $oldtags = wp_get_object_terms($pic_id, 'ngg_tag', 'fields=names');
218
  // get the slugs, to vaoid case sensitive problems
225
  }
226
  }
227
 
228
+ nggGallery::show_message( __('Tags changed',"nggallery") );
229
  }
230
  }
231
 
233
  // Update pictures
234
 
235
  check_admin_referer('ngg_updategallery');
236
+
237
  $gallery_title = attribute_escape($_POST['title']);
238
  $gallery_path = attribute_escape($_POST['path']);
239
  $gallery_desc = attribute_escape($_POST['gallerydesc']);
247
  $wpdb->query("UPDATE $wpdb->nggallery SET author = '$gallery_author' WHERE gid = '$this->gid'");
248
  }
249
 
250
+ $this->update_pictures();
 
 
 
251
 
252
  //hook for other plugin to update the fields
253
  do_action('ngg_update_gallery', $this->gid, $_POST);
299
  }
300
 
301
  function update_pictures() {
 
302
  global $wpdb;
303
+
304
+ //TODO:Error message when update failed
305
+ //TODO:Combine update in one query per image
306
 
307
+ $description = $_POST['description'];
308
+ $alttext = $_POST['alttext'];
309
+ $exclude = $_POST['exclude'];
310
+ $taglist = $_POST['tags'];
311
+
312
+ if ( is_array($description) ) {
313
+ foreach( $description as $key=>$value ) {
314
  $desc = $wpdb->escape($value);
315
+ $wpdb->query( "UPDATE $wpdb->nggpictures SET description = '$desc' WHERE pid = $key");
 
316
  }
317
  }
318
+ if ( is_array($alttext) ){
319
+ foreach( $alttext as $key=>$value ) {
320
  $alttext = $wpdb->escape($value);
321
+ $wpdb->query( "UPDATE $wpdb->nggpictures SET alttext = '$alttext' WHERE pid = $key");
 
322
  }
323
  }
324
 
325
+ $pictures = $wpdb->get_results("SELECT pid FROM $wpdb->nggpictures WHERE galleryid = '$this->gid'");
326
 
327
+ if ( is_array($pictures) ){
328
+ foreach($pictures as $picture){
329
+ if (is_array($exclude)){
330
+ if ( array_key_exists($picture->pid, $exclude) )
331
  $wpdb->query("UPDATE $wpdb->nggpictures SET exclude = 1 WHERE pid = '$picture->pid'");
332
  else
333
  $wpdb->query("UPDATE $wpdb->nggpictures SET exclude = 0 WHERE pid = '$picture->pid'");
336
  }
337
  }
338
  }
 
 
 
339
 
340
+ if ( is_array($taglist) ){
 
 
 
 
341
  foreach($taglist as $key=>$value) {
342
+ $tags = explode(',', $value);
343
  wp_set_object_terms($key, $tags, 'ngg_tag');
344
  }
345
  }
346
+
347
  return;
348
  }
349
+
350
  // Check if user can select a author
351
  function get_editable_user_ids( $user_id, $exclude_zeros = true ) {
352
  global $wpdb;
367
 
368
  return $wpdb->get_col( $query );
369
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
370
  }
371
  ?>
admin/settings.php CHANGED
@@ -4,12 +4,18 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
4
  function nggallery_admin_options() {
5
 
6
  global $wpdb, $ngg, $nggRewrite;
7
-
8
  $old_state = $ngg->options['usePermalinks'];
9
 
10
  // same as $_SERVER['REQUEST_URI'], but should work under IIS 6.0
11
  $filepath = admin_url() . 'admin.php?page='.$_GET['page'];
12
 
 
 
 
 
 
 
13
  if ( isset($_POST['updateoption']) ) {
14
  check_admin_referer('ngg_settings');
15
  // get the hidden option fields, taken from WP core
@@ -253,7 +259,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
253
  <h2><?php _e('Gallery settings','nggallery'); ?></h2>
254
  <form name="galleryform" method="POST" action="<?php echo $filepath.'#gallery'; ?>" >
255
  <?php wp_nonce_field('ngg_settings') ?>
256
- <input type="hidden" name="page_options" value="galNoPages,galImages,galShowSlide,galTextSlide,galTextGallery,galShowOrder,galImgBrowser,galSort,galSortDir" />
257
  <table class="form-table ngg-options">
258
  <tr>
259
  <th valign="top"><?php _e('Deactivate gallery page link','nggallery') ?>:</th>
@@ -267,6 +273,12 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
267
  <span class="setting-description"><?php _e('0 will disable pagination, all images on one page','nggallery') ?></span>
268
  </td>
269
  </tr>
 
 
 
 
 
 
270
  <tr>
271
  <th valign="top"><?php _e('Integrate slideshow','nggallery') ?>:</th>
272
  <td><input name="galShowSlide" type="checkbox" value="1" <?php checked('1', $ngg->options['galShowSlide']); ?> />
@@ -347,7 +359,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
347
  <?php
348
  $imageID = $wpdb->get_var("SELECT MIN(pid) FROM $wpdb->nggpictures");
349
  $imageID = $wpdb->get_row("SELECT * FROM $wpdb->nggpictures WHERE pid = '$imageID'");
350
- if ($imageID) $imageURL = '<img width="75%" src="'.NGGALLERY_URLPATH.'nggshow.php?pid='.$imageID->pid.'&amp;mode=watermark&amp;width=320&amp;height=240" alt="'.$imageID->alttext.'" title="'.$imageID->alttext.'" />';
351
 
352
  ?>
353
  <div id="watermark">
@@ -454,13 +466,30 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
454
  <div id="slideshow">
455
  <form name="player_options" method="POST" action="<?php echo $filepath.'#slideshow'; ?>" >
456
  <?php wp_nonce_field('ngg_settings') ?>
457
- <input type="hidden" name="page_options" value="irWidth,irHeight,irShuffle,irLinkfromdisplay,irShownavigation,irShowicons,irWatermark,irOverstretch,irRotatetime,irTransition,irKenburns,irBackcolor,irFrontcolor,irLightcolor,irScreencolor,irAudio,irXHTMLvalid" />
458
  <h2><?php _e('Slideshow','nggallery'); ?></h2>
459
- <?php if (!NGGALLERY_IREXIST) { ?><p><div id="message" class="error fade"><p><?php _e('The imagerotator.swf is not in the nggallery folder, the slideshow will not work.','nggallery') ?></p></div></p><?php }?>
 
 
 
 
 
 
 
 
 
460
  <p><?php _e('The settings are used in the JW Image Rotator Version', 'nggallery') ?> 3.17 .
461
  <?php _e('See more information for the Flash Player on the web page', 'nggallery') ?> <a href="http://www.longtailvideo.com/players/jw-image-rotator/" target="_blank" >JW Image Rotator from Jeroen Wijering</a>.
462
  </p>
463
  <table class="form-table ngg-options">
 
 
 
 
 
 
 
 
464
  <tr>
465
  <th><?php _e('Default size (W x H)','nggallery') ?>:</th>
466
  <td><input type="text" size="3" maxlength="4" name="irWidth" value="<?php echo $ngg->options['irWidth'] ?>" /> x
@@ -593,6 +622,38 @@ function ngg_get_TTFfont() {
593
  return $ttf_fonts;
594
  }
595
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
596
  /**********************************************************/
597
  // taken from WP Core
598
 
4
  function nggallery_admin_options() {
5
 
6
  global $wpdb, $ngg, $nggRewrite;
7
+
8
  $old_state = $ngg->options['usePermalinks'];
9
 
10
  // same as $_SERVER['REQUEST_URI'], but should work under IIS 6.0
11
  $filepath = admin_url() . 'admin.php?page='.$_GET['page'];
12
 
13
+ if ( isset($_POST['irDetect']) ) {
14
+ check_admin_referer('ngg_settings');
15
+ $ngg->options['irURL'] = ngg_search_imagerotator();
16
+ update_option('ngg_options', $ngg->options);
17
+ }
18
+
19
  if ( isset($_POST['updateoption']) ) {
20
  check_admin_referer('ngg_settings');
21
  // get the hidden option fields, taken from WP core
259
  <h2><?php _e('Gallery settings','nggallery'); ?></h2>
260
  <form name="galleryform" method="POST" action="<?php echo $filepath.'#gallery'; ?>" >
261
  <?php wp_nonce_field('ngg_settings') ?>
262
+ <input type="hidden" name="page_options" value="galNoPages,galImages,galColumns,galShowSlide,galTextSlide,galTextGallery,galShowOrder,galImgBrowser,galSort,galSortDir" />
263
  <table class="form-table ngg-options">
264
  <tr>
265
  <th valign="top"><?php _e('Deactivate gallery page link','nggallery') ?>:</th>
273
  <span class="setting-description"><?php _e('0 will disable pagination, all images on one page','nggallery') ?></span>
274
  </td>
275
  </tr>
276
+ <tr>
277
+ <th valign="top"><?php _e('Number of columns','nggallery') ?>:</th>
278
+ <td><input type="text" name="galColumns" value="<?php echo $ngg->options['galColumns'] ?>" size="3" maxlength="3" />
279
+ <span class="setting-description"><?php _e('0 will display as much as possible based on the width of your theme. Setting normally only required for captions below the images','nggallery') ?></span>
280
+ </td>
281
+ </tr>
282
  <tr>
283
  <th valign="top"><?php _e('Integrate slideshow','nggallery') ?>:</th>
284
  <td><input name="galShowSlide" type="checkbox" value="1" <?php checked('1', $ngg->options['galShowSlide']); ?> />
359
  <?php
360
  $imageID = $wpdb->get_var("SELECT MIN(pid) FROM $wpdb->nggpictures");
361
  $imageID = $wpdb->get_row("SELECT * FROM $wpdb->nggpictures WHERE pid = '$imageID'");
362
+ if ($imageID) $imageURL = '<img src="'.NGGALLERY_URLPATH.'nggshow.php?pid='.$imageID->pid.'&amp;mode=watermark&amp;width=400&amp;height=300" alt="'.$imageID->alttext.'" title="'.$imageID->alttext.'" />';
363
 
364
  ?>
365
  <div id="watermark">
466
  <div id="slideshow">
467
  <form name="player_options" method="POST" action="<?php echo $filepath.'#slideshow'; ?>" >
468
  <?php wp_nonce_field('ngg_settings') ?>
469
+ <input type="hidden" name="page_options" value="irURL,irWidth,irHeight,irShuffle,irLinkfromdisplay,irShownavigation,irShowicons,irWatermark,irOverstretch,irRotatetime,irTransition,irKenburns,irBackcolor,irFrontcolor,irLightcolor,irScreencolor,irAudio,irXHTMLvalid" />
470
  <h2><?php _e('Slideshow','nggallery'); ?></h2>
471
+ <?php if (empty($ngg->options['irURL'])) { ?>
472
+ <p>
473
+ <div id="message" class="error">
474
+ <p>
475
+ <?php _e('The path to imagerotator.swf is not defined, the slideshow will not work.','nggallery') ?><br />
476
+ <?php _e('If you would like to use the JW Image Rotatator, please download the player <a href="http://www.longtailvideo.com/players/jw-image-rotator/" target="_blank" >here</a> and upload it to your Upload folder (Default is wp-content/uploads).','nggallery') ?>
477
+ </p>
478
+ </div>
479
+ </p>
480
+ <?php }?>
481
  <p><?php _e('The settings are used in the JW Image Rotator Version', 'nggallery') ?> 3.17 .
482
  <?php _e('See more information for the Flash Player on the web page', 'nggallery') ?> <a href="http://www.longtailvideo.com/players/jw-image-rotator/" target="_blank" >JW Image Rotator from Jeroen Wijering</a>.
483
  </p>
484
  <table class="form-table ngg-options">
485
+ <tr>
486
+ <th><?php _e('Path to the Imagerotator (URL)','nggallery') ?>:</th>
487
+ <td>
488
+ <input type="text" size="50" id="irURL" name="irURL" value="<?php echo $ngg->options['irURL'] ?>" />
489
+ <input type="submit" name="irDetect" class="button-secondary" value="<?php _e('Search now','nggallery') ;?> &raquo;"/>
490
+ <br /><span class="setting-description"><?php _e('Press the button to search automatic for the imagerotator, if you uploaded it to wp-content/uploads or a subfolder','nggallery') ?></span>
491
+ </td>
492
+ </tr>
493
  <tr>
494
  <th><?php _e('Default size (W x H)','nggallery') ?>:</th>
495
  <td><input type="text" size="3" maxlength="4" name="irWidth" value="<?php echo $ngg->options['irWidth'] ?>" /> x
622
  return $ttf_fonts;
623
  }
624
 
625
+ function ngg_search_imagerotator() {
626
+ global $wpdb;
627
+
628
+ $upload = wp_upload_dir();
629
+
630
+ // look first at the old place and move it to wp-content/uploads
631
+ if ( file_exists( NGGALLERY_ABSPATH . 'imagerotator.swf' ) )
632
+ @rename(NGGALLERY_ABSPATH . 'imagerotator.swf', $upload['basedir'] . '/imagerotator.swf');
633
+
634
+ // This should be the new place
635
+ if ( file_exists( $upload['basedir'] . '/imagerotator.swf' ) )
636
+ return $upload['baseurl'] . '/imagerotator.swf';
637
+
638
+ // Find the path to the imagerotator via the media library
639
+ if ( $path = $wpdb->get_var( "SELECT guid FROM {$wpdb->posts} WHERE guid LIKE '%imagerotator.swf%'" ) )
640
+ return $path;
641
+
642
+ // maybe it's located at wp-content
643
+ if ( file_exists( WP_CONTENT_DIR . '/imagerotator.swf' ) )
644
+ return WP_CONTENT_URL . '/imagerotator.swf';
645
+
646
+ // or in the plugin folder
647
+ if ( file_exists( WP_PLUGIN_DIR . '/imagerotator.swf' ) )
648
+ return WP_PLUGIN_URL . '/imagerotator.swf';
649
+
650
+ // this is deprecated and will be ereased during a automatic upgrade
651
+ if ( file_exists( NGGALLERY_ABSPATH . 'imagerotator.swf' ) )
652
+ return NGGALLERY_URLPATH . 'imagerotator.swf';
653
+
654
+ return '';
655
+ }
656
+
657
  /**********************************************************/
658
  // taken from WP Core
659
 
admin/upgrade.php CHANGED
@@ -11,38 +11,42 @@ function ngg_upgrade() {
11
 
12
  global $wpdb, $user_ID;
13
 
14
- $nggpictures = $wpdb->prefix . 'ngg_pictures';
15
- $nggallery = $wpdb->prefix . 'ngg_gallery';
16
  // get the current user ID
17
  get_currentuserinfo();
18
 
19
  // Be sure that the tables exist
20
- if($wpdb->get_var("show tables like '$nggpictures'") == $nggpictures) {
21
 
22
  echo __('Upgrade database structure...', 'nggallery');
 
23
 
24
  $installed_ver = get_option( "ngg_db_version" );
 
 
 
 
25
  // v0.33 -> v.071
26
  if (version_compare($installed_ver, '0.71', '<')) {
27
- $wpdb->query("ALTER TABLE ".$nggpictures." CHANGE pid pid BIGINT(20) NOT NULL AUTO_INCREMENT ");
28
- $wpdb->query("ALTER TABLE ".$nggpictures." CHANGE galleryid galleryid BIGINT(20) NOT NULL ");
29
- $wpdb->query("ALTER TABLE ".$nggallery." CHANGE gid gid BIGINT(20) NOT NULL AUTO_INCREMENT ");
30
- $wpdb->query("ALTER TABLE ".$nggallery." CHANGE pageid pageid BIGINT(20) NULL DEFAULT '0'");
31
- $wpdb->query("ALTER TABLE ".$nggallery." CHANGE previewpic previewpic BIGINT(20) NULL DEFAULT '0'");
32
- $wpdb->query("ALTER TABLE ".$nggallery." CHANGE gid gid BIGINT(20) NOT NULL AUTO_INCREMENT ");
33
- $wpdb->query("ALTER TABLE ".$nggallery." CHANGE description galdesc MEDIUMTEXT NULL");
34
  }
 
35
  // v0.71 -> v0.84
36
  if (version_compare($installed_ver, '0.84', '<')) {
37
- $wpdb->query("ALTER TABLE ".$nggpictures." ADD sortorder BIGINT(20) DEFAULT '0' NOT NULL AFTER exclude");
38
  }
39
 
40
  // v0.84 -> v0.95
41
  if (version_compare($installed_ver, '0.95', '<')) {
42
  // first add the author field and set it to the current administrator
43
- $wpdb->query("ALTER TABLE ".$nggallery." ADD author BIGINT(20) NOT NULL DEFAULT '$user_ID' AFTER previewpic");
44
  // switch back to zero
45
- $wpdb->query("ALTER TABLE ".$nggallery." CHANGE author author BIGINT(20) NOT NULL DEFAULT '0'");
46
  }
47
 
48
  // v0.95 -> v0.97
@@ -50,8 +54,8 @@ function ngg_upgrade() {
50
  // Convert into WordPress Core taxonomy scheme
51
  ngg_convert_tags();
52
  // Drop tables, we don't need them anymore
53
- $wpdb->query("DROP TABLE " . $wpdb->prefix . "ngg_tags");
54
- $wpdb->query("DROP TABLE " . $wpdb->prefix . "ngg_pic2tags");
55
 
56
  // New capability for administrator role
57
  $role = get_role('administrator');
@@ -66,12 +70,16 @@ function ngg_upgrade() {
66
 
67
  // v0.97 -> v1.00
68
  if (version_compare($installed_ver, '0.97', '<')) {
69
- $wpdb->query("ALTER TABLE ".$nggpictures." ADD imagedate DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER alttext");
70
  }
71
 
72
  // update now the database
73
  update_option( "ngg_db_version", NGG_DBVERSION );
74
  echo __('finished', 'nggallery') . "<br />\n";
 
 
 
 
75
 
76
  // Change all thumbnail folders to "thumbs"
77
  if (version_compare($installed_ver, '0.96', '<')) {
@@ -87,6 +95,16 @@ function ngg_upgrade() {
87
  echo __('finished', 'nggallery') . "<br />\n";
88
  }
89
 
 
 
 
 
 
 
 
 
 
 
90
  return;
91
  }
92
  }
@@ -133,30 +151,56 @@ function ngg_convert_filestructure() {
133
  $gallerypath = WINABSPATH.$gallery->path;
134
 
135
  // old mygallery check, convert the wrong folder/ file name now
136
- if (@is_dir($gallerypath."/tumbs")) {
137
- if ( !rename($gallerypath."/tumbs", $gallerypath."/thumbs") )
138
- $errors[] = $gallery->path . "/thumbs";
139
  // read list of images
140
- $imageslist = nggAdmin::scandir($gallerypath."/thumbs");
141
  if ( !empty($imageslist)) {
142
  foreach($imageslist as $image) {
143
  $purename = substr($image, 4);
144
- if ( !rename($gallerypath."/thumbs/".$image, $gallerypath."/thumbs/"."thumbs_".$purename ))
145
- $errors[] = $gallery->path . "/thumbs/"."thumbs_".$purename ;
146
  }
147
  }
148
  }
149
  }
 
150
  if (!empty($errors)) {
151
  echo "<div class='error_inline'><p>". __('Some folders/files could not renamed, please recheck the permission and rescan the folder in the manage gallery section.', 'nggallery') ."</p>";
152
  foreach($errors as $value) {
153
- echo __('Rename failed', 'nggallery') . " : <strong>" . $value . "</strong><br />\n";
154
  }
155
- echo "</div>";
156
  }
157
  }
158
  }
159
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  /**
161
  * ngg_import_date_time() - Read the timestamp from exif and insert it into the database
162
  *
@@ -176,13 +220,43 @@ function ngg_import_date_time() {
176
  }
177
  }
178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  /**
180
  * nggallery_upgrade_page() - This page showsup , when the database version doesn't fir to the script NGG_DBVERSION constant.
181
  *
182
  * @return Upgrade Message
183
  */
184
  function nggallery_upgrade_page() {
185
- $filepath = admin_url() . 'admin.php?page='.$_GET['page'];
186
 
187
  if ($_GET['upgrade'] == 'now') {
188
  nggallery_start_upgrade($filepath);
11
 
12
  global $wpdb, $user_ID;
13
 
 
 
14
  // get the current user ID
15
  get_currentuserinfo();
16
 
17
  // Be sure that the tables exist
18
+ if($wpdb->get_var("show tables like '$wpdb->nggpictures'") == $wpdb->prefix . 'ngg_pictures') {
19
 
20
  echo __('Upgrade database structure...', 'nggallery');
21
+ $wpdb->show_errors();
22
 
23
  $installed_ver = get_option( "ngg_db_version" );
24
+
25
+ // 0.9.7 is smaller that 0.97, my fault :-)
26
+ if ( $installed_ver == '0.9.7' ) $installed_ver = '0.97';
27
+
28
  // v0.33 -> v.071
29
  if (version_compare($installed_ver, '0.71', '<')) {
30
+ $wpdb->query("ALTER TABLE $wpdb->nggpictures CHANGE pid pid BIGINT(20) NOT NULL AUTO_INCREMENT ");
31
+ $wpdb->query("ALTER TABLE $wpdb->nggpictures CHANGE galleryid galleryid BIGINT(20) NOT NULL ");
32
+ $wpdb->query("ALTER TABLE $wpdb->nggallery CHANGE gid gid BIGINT(20) NOT NULL AUTO_INCREMENT ");
33
+ $wpdb->query("ALTER TABLE $wpdb->nggallery CHANGE pageid pageid BIGINT(20) NULL DEFAULT '0'");
34
+ $wpdb->query("ALTER TABLE $wpdb->nggallery CHANGE previewpic previewpic BIGINT(20) NULL DEFAULT '0'");
35
+ $wpdb->query("ALTER TABLE $wpdb->nggallery CHANGE gid gid BIGINT(20) NOT NULL AUTO_INCREMENT ");
36
+ $wpdb->query("ALTER TABLE $wpdb->nggallery CHANGE description galdesc MEDIUMTEXT NULL");
37
  }
38
+
39
  // v0.71 -> v0.84
40
  if (version_compare($installed_ver, '0.84', '<')) {
41
+ ngg_maybe_add_column( $wpdb->nggallery, 'sortorder', "BIGINT(20) DEFAULT '0' NOT NULL AFTER exclude");
42
  }
43
 
44
  // v0.84 -> v0.95
45
  if (version_compare($installed_ver, '0.95', '<')) {
46
  // first add the author field and set it to the current administrator
47
+ ngg_maybe_add_column( $wpdb->nggallery, 'author', "BIGINT(20) NOT NULL DEFAULT '$user_ID' AFTER previewpic");
48
  // switch back to zero
49
+ $wpdb->query("ALTER TABLE $wpdb->nggallery CHANGE author author BIGINT(20) NOT NULL DEFAULT '0'");
50
  }
51
 
52
  // v0.95 -> v0.97
54
  // Convert into WordPress Core taxonomy scheme
55
  ngg_convert_tags();
56
  // Drop tables, we don't need them anymore
57
+ $wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "ngg_tags");
58
+ $wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "ngg_pic2tags");
59
 
60
  // New capability for administrator role
61
  $role = get_role('administrator');
70
 
71
  // v0.97 -> v1.00
72
  if (version_compare($installed_ver, '0.97', '<')) {
73
+ ngg_maybe_add_column( $wpdb->nggpictures, 'imagedate', "DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER alttext");
74
  }
75
 
76
  // update now the database
77
  update_option( "ngg_db_version", NGG_DBVERSION );
78
  echo __('finished', 'nggallery') . "<br />\n";
79
+ $wpdb->hide_errors();
80
+
81
+ // *** From here we start file operation which could failed sometimes,
82
+ // *** ensure that the DB changes are not performed two times...
83
 
84
  // Change all thumbnail folders to "thumbs"
85
  if (version_compare($installed_ver, '0.96', '<')) {
95
  echo __('finished', 'nggallery') . "<br />\n";
96
  }
97
 
98
+ // Move imagerotator outside the plugin folder
99
+ if (version_compare($installed_ver, '1.1.0', '<')) {
100
+ $ngg_options = get_option('ngg_options');
101
+ echo __('Move imagerotator to new location...', 'nggallery');
102
+ $ngg_options['irURL'] = ngg_move_imagerotator();
103
+ $ngg_options['galPagedGalleries'] = 0;
104
+ $ngg_options['galColumns'] = 0;
105
+ update_option('ngg_options', $ngg_options);
106
+ echo __('finished', 'nggallery') . "<br />\n";
107
+ }
108
  return;
109
  }
110
  }
151
  $gallerypath = WINABSPATH.$gallery->path;
152
 
153
  // old mygallery check, convert the wrong folder/ file name now
154
+ if (@is_dir($gallerypath .'/tumbs')) {
155
+ if ( !@rename($gallerypath . '/tumbs' , $gallerypath .'/thumbs') )
156
+ $errors[] = $gallery->path . '/thumbs';
157
  // read list of images
158
+ $imageslist = nggAdmin::scandir($gallerypath . '/thumbs');
159
  if ( !empty($imageslist)) {
160
  foreach($imageslist as $image) {
161
  $purename = substr($image, 4);
162
+ if ( !@rename($gallerypath . '/thumbs/' . $image, $gallerypath . '/thumbs/thumbs_' . $purename ))
163
+ $errors[] = $gallery->path . '/thumbs/thumbs_' . $purename ;
164
  }
165
  }
166
  }
167
  }
168
+
169
  if (!empty($errors)) {
170
  echo "<div class='error_inline'><p>". __('Some folders/files could not renamed, please recheck the permission and rescan the folder in the manage gallery section.', 'nggallery') ."</p>";
171
  foreach($errors as $value) {
172
+ echo __('Rename failed', 'nggallery') . ' : <strong>' . $value . "</strong><br />\n";
173
  }
174
+ echo '</div>';
175
  }
176
  }
177
  }
178
 
179
+ /**
180
+ * Move the imagerotator outside the plugin folder, as we remove it from the REPO with the next update
181
+ *
182
+ * @return string $path URL to the imagerotator
183
+ */
184
+ function ngg_move_imagerotator() {
185
+
186
+ $upload = wp_upload_dir();
187
+
188
+ // look first at the old place and move it
189
+ if ( file_exists( NGGALLERY_ABSPATH . 'imagerotator.swf' ) )
190
+ @rename(NGGALLERY_ABSPATH . 'imagerotator.swf', $upload['basedir'] . '/imagerotator.swf');
191
+
192
+ // If it's successfull then we return the new path
193
+ if ( file_exists( $upload['basedir'] . '/imagerotator.swf' ) )
194
+ return $upload['baseurl'] . '/imagerotator.swf';
195
+
196
+ //In some worse case it's still at the old place
197
+ if ( file_exists( NGGALLERY_ABSPATH . 'imagerotator.swf' ) )
198
+ return NGGALLERY_URLPATH . 'imagerotator.swf';
199
+
200
+ // if something failed, we must return a empty string
201
+ return '';
202
+ }
203
+
204
  /**
205
  * ngg_import_date_time() - Read the timestamp from exif and insert it into the database
206
  *
220
  }
221
  }
222
 
223
+ /**
224
+ * Adding a new column if needed
225
+ * Example : ngg_maybe_add_column( $wpdb->nggpictures, 'imagedate', "DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER alttext");
226
+ *
227
+ * @param string $table_name Database table name.
228
+ * @param string $column_name Database column name to create.
229
+ * @param string $create_ddl SQL statement to create column
230
+ * @return bool True, when done with execution.
231
+ */
232
+ function ngg_maybe_add_column($table_name, $column_name, $create_ddl) {
233
+ global $wpdb;
234
+
235
+ foreach ($wpdb->get_col("SHOW COLUMNS FROM $table_name") as $column ) {
236
+ if ($column == $column_name)
237
+ return true;
238
+ }
239
+
240
+ //didn't find it try to create it.
241
+ $wpdb->query("ALTER TABLE $table_name ADD $column_name " . $create_ddl);
242
+
243
+ // we cannot directly tell that whether this succeeded!
244
+ foreach ($wpdb->get_col("SHOW COLUMNS FROM $table_name") as $column ) {
245
+ if ($column == $column_name)
246
+ return true;
247
+ }
248
+
249
+ echo("Could not add column $column_name in table $table_name<br />\n");
250
+ return false;
251
+ }
252
+
253
  /**
254
  * nggallery_upgrade_page() - This page showsup , when the database version doesn't fir to the script NGG_DBVERSION constant.
255
  *
256
  * @return Upgrade Message
257
  */
258
  function nggallery_upgrade_page() {
259
+ $filepath = admin_url() . 'admin.php?page=' . $_GET['page'];
260
 
261
  if ($_GET['upgrade'] == 'now') {
262
  nggallery_start_upgrade($filepath);
changelog.txt CHANGED
@@ -1,6 +1,24 @@
1
  NextGEN Gallery
2
  by Alex Rabe & NextGEN DEV Team
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  V1.0.2 - 19.12.2008
5
  - Added : Option to enable/disable the MediaRSS Feed
6
  - Added : For flash under FF3/WIN we should use outline: none;
1
  NextGEN Gallery
2
  by Alex Rabe & NextGEN DEV Team
3
 
4
+ V1.1.0 - 26.01.2009
5
+ - NEW : Pagination for album page via custom fields ('ngg_paged_Galleries')
6
+ - NEW : Support for fixed number of columns inside the gallery
7
+ - NEW : Added pagination for galleries and images in admin section
8
+ - NEW : New action hook after image is added to database, called 'ngg_added_new_image'
9
+ - NEW : New template for caption below images, called via [nggallery id=x template=caption]
10
+ - Added : SWFUpload V2.2.0 B4
11
+ - Changed : Rework of Manage image tables
12
+ - Changed : Move imagerotator.swf to wp-content/uploads
13
+ - Changed : Added a URL field to setup the path to the Imagerotator
14
+ - Changed : Add additional parameter to gallery object
15
+ - Changed : Load donators list external
16
+ - Bugfix : Style fixes for tables in IE7
17
+ - Bugfix : All albums code couldn't use the slideshow, query is empty for 0
18
+ - Bugfix : Htmlentities() for links in the a href title description
19
+ - Bugfix : Clean up mode for singlepic
20
+ - Bugfix : Typo in widget settings
21
+
22
  V1.0.2 - 19.12.2008
23
  - Added : Option to enable/disable the MediaRSS Feed
24
  - Added : For flash under FF3/WIN we should use outline: none;
css/nggallery.css CHANGED
@@ -136,6 +136,7 @@ html>body .ngg-album {
136
  .ngg-gallery-thumbnail {
137
  float: left;
138
  margin-right: 5px;
 
139
  }
140
 
141
  .ngg-gallery-thumbnail img {
136
  .ngg-gallery-thumbnail {
137
  float: left;
138
  margin-right: 5px;
139
+ text-align: center;
140
  }
141
 
142
  .ngg-gallery-thumbnail img {
lang/nggallery-de_DE.mo CHANGED
Binary file
lang/nggallery-de_DE.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: NextGEN Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-12-15 12:50+0100\n"
6
- "PO-Revision-Date: 2008-12-15 12:50+0100\n"
7
  "Last-Translator: Alex Rabe <no@email.com>\n"
8
  "Language-Team: Alex Rabe\n"
9
  "MIME-Version: 1.0\n"
@@ -18,53 +18,53 @@ msgstr ""
18
  "X-Poedit-SearchPath-0: .\n"
19
  "X-Poedit-SearchPath-1: ..\n"
20
 
21
- #: ../nggallery.php:153
22
  msgid "Sorry, NextGEN Gallery works only with a Memory Limit of 16 MB higher"
23
  msgstr "Tut mir leid, aber NextGEN Galerie benötigt minimum 16MB Speicher (Memory Limit) oder mehr"
24
 
25
- #: ../nggallery.php:180
26
  msgid "Picture tag"
27
  msgstr "Bilder Stichwort"
28
 
29
- #: ../nggallery.php:181
30
  msgid "Picture tag: %2$l."
31
  msgstr "Bilder Stichwort: %2$l."
32
 
33
- #: ../nggallery.php:182
34
  msgid "Separate picture tags with commas."
35
  msgstr "Trenne Stichwörter mittels Komma"
36
 
37
- #: ../nggallery.php:276
38
  msgid "L O A D I N G"
39
  msgstr "B I T T E W A R T E N"
40
 
41
- #: ../nggallery.php:277
42
  msgid "Click to Close"
43
  msgstr "Klicken zum Schliessen "
44
 
45
- #: ../nggfunctions.php:32
46
  msgid "The <a href=\"http://www.macromedia.com/go/getflashplayer\">Flash Player</a> and <a href=\"http://www.mozilla.com/firefox/\">a browser with Javascript support</a> are needed.."
47
  msgstr "Es wird der <a href=\"http://www.macromedia.com/go/getflashplayer\">Adobe Flash Player</a> benötigt und <a href=\"http://www.mozilla.com/firefox/\">im Browser muss Javascript</a> aktiviert sein.."
48
 
49
- #: ../nggfunctions.php:96
50
- #: ../nggfunctions.php:393
51
  msgid "[Gallery not found]"
52
  msgstr "[Galerie nicht gefunden]"
53
 
54
- #: ../nggfunctions.php:278
55
  msgid "[Album not found]"
56
  msgstr "[Album nicht gefunden]"
57
 
58
- #: ../nggfunctions.php:495
59
  msgid "[SinglePic not found]"
60
  msgstr "[Bild nicht gefunden]"
61
 
62
- #: ../nggfunctions.php:614
63
  msgid "Related images for"
64
  msgstr "Verwandte Bilder von"
65
 
66
- #: ../nggfunctions.php:649
67
- #: ../admin/admin.php:30
68
  msgid "Overview"
69
  msgstr "Übersicht"
70
 
@@ -209,7 +209,7 @@ msgid "Browse..."
209
  msgstr "Durchsuche..."
210
 
211
  #: ../admin/addgallery.php:123
212
- #: ../admin/addgallery.php:271
213
  msgid "Upload images"
214
  msgstr "Bilder hochladen"
215
 
@@ -224,12 +224,12 @@ msgid "Upload a Zip-File"
224
  msgstr "Zip-Datei hochladen"
225
 
226
  #: ../admin/addgallery.php:172
227
- #: ../admin/addgallery.php:227
228
  msgid "Import image folder"
229
  msgstr "Bilder-Verzeichnis importieren"
230
 
231
  #: ../admin/addgallery.php:174
232
- #: ../admin/addgallery.php:244
233
  msgid "Upload Images"
234
  msgstr "Bilder hochladen"
235
 
@@ -258,7 +258,7 @@ msgid "Upload a zip file with images"
258
  msgstr "Lade eine Zip-Datei mit Bildern hoch"
259
 
260
  #: ../admin/addgallery.php:208
261
- #: ../admin/addgallery.php:253
262
  msgid "in to"
263
  msgstr "in"
264
 
@@ -266,232 +266,233 @@ msgstr "in"
266
  msgid "a new gallery"
267
  msgstr "eine neue Galerie"
268
 
269
- #: ../admin/addgallery.php:216
270
- #: ../admin/addgallery.php:261
271
  msgid "Note : The upload limit on your server is "
272
  msgstr "Hinweis : Das Upload-Limit auf dem Server beträgt "
273
 
274
- #: ../admin/addgallery.php:220
275
  msgid "Start upload"
276
  msgstr "Upload starten"
277
 
278
- #: ../admin/addgallery.php:232
279
  msgid "Import from Server path:"
280
  msgstr "Importieren aus Server-Pfad:"
281
 
282
- #: ../admin/addgallery.php:234
283
  msgid "Import a folder with all images."
284
- msgstr "Importiere ein Verzeichniss mit Bildern."
285
 
286
- #: ../admin/addgallery.php:235
287
  msgid " Please note : For safe-mode = ON you need to add the subfolder thumbs manually"
288
  msgstr "Achtung : Da der Safe-Mode (PHP.INI) eingeschaltet ist, mußt Du das Unterverzeichnis für die Vorschaubilder (\"thumbs\") manuell (per FTP) anlegen"
289
 
290
- #: ../admin/addgallery.php:238
291
  msgid "Import folder"
292
  msgstr "Verzeichnis importieren"
293
 
294
- #: ../admin/addgallery.php:249
295
  msgid "Upload image"
296
  msgstr "Bild hochladen"
297
 
298
- #: ../admin/addgallery.php:255
299
  msgid "Choose gallery"
300
  msgstr "Wähle Galerie"
301
 
302
- #: ../admin/addgallery.php:267
303
  msgid "The batch upload requires Adobe Flash 9, disable it if you have problems"
304
  msgstr "Das Batch-Upload-Skript benötigt Adbode Flash 9, wenn es Probleme gibt deaktiviere es besser."
305
 
306
- #: ../admin/addgallery.php:267
307
  msgid "Disable flash upload"
308
  msgstr "Deaktiviere Batch-Upload"
309
 
310
- #: ../admin/addgallery.php:269
311
  msgid "Upload multiple files at once by ctrl/shift-selecting in dialog"
312
  msgstr "Wähle im Dialog mit Ctrl/Shift mehrere Bilder gleichzeitig aus."
313
 
314
- #: ../admin/addgallery.php:269
315
  msgid "Enable flash based upload"
316
  msgstr "Aktiviere Flash Batch Upload"
317
 
318
- #: ../admin/admin.php:29
319
- #: ../admin/admin.php:200
 
320
  #: ../admin/functions.php:81
321
  #: ../admin/functions.php:142
322
- #: ../admin/manage-images.php:120
323
- #: ../admin/manage.php:84
324
  msgid "Gallery"
325
  msgid_plural "Galleries"
326
  msgstr[0] "Galerie"
327
  msgstr[1] "Galerien"
328
 
329
- #: ../admin/admin.php:31
330
  msgid "Add Gallery / Images"
331
  msgstr "Galerie / Bilder hinzufügen"
332
 
333
- #: ../admin/admin.php:32
334
  msgid "Manage Gallery"
335
  msgstr "Galerie verwalten"
336
 
337
- #: ../admin/admin.php:33
338
  msgid "Album"
339
  msgid_plural "Albums"
340
  msgstr[0] "Album"
341
  msgstr[1] "Alben"
342
 
343
- #: ../admin/admin.php:34
344
  msgid "Tags"
345
  msgstr "Stichwörter"
346
 
347
- #: ../admin/admin.php:35
348
  msgid "Options"
349
  msgstr "Optionen"
350
 
351
- #: ../admin/admin.php:37
352
  msgid "Style"
353
  msgstr "Style"
354
 
355
- #: ../admin/admin.php:38
356
  msgid "Setup Gallery"
357
  msgstr "Galerie Setup"
358
 
359
- #: ../admin/admin.php:38
360
  msgid "Setup"
361
  msgstr "Setup"
362
 
363
- #: ../admin/admin.php:40
364
  msgid "Roles"
365
  msgstr "Zugriff"
366
 
367
- #: ../admin/admin.php:41
368
  msgid "About this Gallery"
369
  msgstr "Über diese Galerie"
370
 
371
- #: ../admin/admin.php:41
372
  msgid "About"
373
  msgstr "Über"
374
 
375
- #: ../admin/admin.php:43
376
  msgid "NextGEN Gallery"
377
  msgstr "NextGEN Gallery"
378
 
379
- #: ../admin/admin.php:68
380
  msgid "A new version of NextGEN Gallery is available !"
381
  msgstr "Eine neue Version von NextGEN Gallery ist jetzt verfügbar"
382
 
383
- #: ../admin/admin.php:68
384
  msgid "Download here"
385
  msgstr "Hier downloaden"
386
 
387
- #: ../admin/admin.php:139
388
  msgid "You do not have the correct permission"
389
  msgstr "Du hast keine Zugriffsrechte"
390
 
391
- #: ../admin/admin.php:140
392
  msgid "Unexpected Error"
393
  msgstr "Unerwarteter Fehler"
394
 
395
- #: ../admin/admin.php:141
396
  msgid "A failure occurred"
397
  msgstr "Ein Fehler ist aufgetreten"
398
 
399
- #: ../admin/admin.php:204
400
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Introduction</a>"
401
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
402
 
403
- #: ../admin/admin.php:207
404
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Setup</a>"
405
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Setup</a>"
406
 
407
- #: ../admin/admin.php:210
408
  msgid "<a href=\"http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/languages/\" target=\"_blank\">Translation by alex rabe</a>"
409
  msgstr "<a href=\"http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/languages/\" target=\"_blank\">Unterstütze bei der Übersetzung</a>"
410
 
411
- #: ../admin/admin.php:213
412
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Roles / Capabilities</a>"
413
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
414
 
415
- #: ../admin/admin.php:216
416
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Styles</a>"
417
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
418
 
419
- #: ../admin/admin.php:217
420
  msgid "Templates"
421
  msgstr "Vorlagen"
422
 
423
- #: ../admin/admin.php:220
424
  #: ../admin/admin.php:224
 
425
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery management</a>"
426
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
427
 
428
- #: ../admin/admin.php:221
429
  msgid "Gallery example"
430
  msgstr "Galerie Beispiel"
431
 
432
- #: ../admin/admin.php:225
433
- #: ../admin/admin.php:235
434
  msgid "Gallery tags"
435
  msgstr "Galerie Stichwörter"
436
 
437
- #: ../admin/admin.php:228
438
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Album management</a>"
439
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
440
 
441
- #: ../admin/admin.php:229
442
  msgid "Album example"
443
  msgstr "Album Beispiel"
444
 
445
- #: ../admin/admin.php:230
446
- #: ../admin/admin.php:236
447
  msgid "Album tags"
448
  msgstr "Album Stichwörter"
449
 
450
- #: ../admin/admin.php:233
451
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery tags</a>"
452
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
453
 
454
- #: ../admin/admin.php:234
455
  msgid "Related images"
456
  msgstr "Verwandte Bilder"
457
 
458
- #: ../admin/admin.php:239
459
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-image-management/\" target=\"_blank\">Image management</a>"
460
  msgstr "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-image-management/\" target=\"_blank\">Bilderverwaltung (Englisch)</a>"
461
 
462
- #: ../admin/admin.php:240
463
  msgid "Custom fields"
464
  msgstr "Spezialfelder"
465
 
466
- #: ../admin/admin.php:245
467
  msgid "Get help with NextGEN Gallery"
468
  msgstr "Weitere Hilfe zu NextGEN Gallery"
469
 
470
- #: ../admin/admin.php:249
471
  msgid "More Help & Info"
472
  msgstr "Weitere Hilfe & Informationen"
473
 
474
- #: ../admin/admin.php:251
475
  msgid "<a href=\"http://wordpress.org/tags/nextgen-gallery\" target=\"_blank\">Support Forums</a>"
476
  msgstr "<a href=\"http://wordpress.org/tags/nextgen-gallery\" target=\"_blank\">Support Forum (Englisch)</a>"
477
 
478
- #: ../admin/admin.php:252
479
  msgid "FAQ"
480
  msgstr "FAQ (englisch)"
481
 
482
- #: ../admin/admin.php:253
483
  msgid "Feature request"
484
  msgstr "Wünsch dir was"
485
 
486
- #: ../admin/admin.php:254
487
  msgid "Get your language pack"
488
  msgstr "Lade deine Sprachdatei"
489
 
490
- #: ../admin/admin.php:255
491
  msgid "Contribute development"
492
  msgstr "Entwicklung helfen"
493
 
494
- #: ../admin/admin.php:256
495
  msgid "Download latest version"
496
  msgstr "Aktuelle Version downloaden"
497
 
@@ -521,8 +522,8 @@ msgid "Update"
521
  msgstr "Aktualisiere"
522
 
523
  #: ../admin/album.php:147
524
- #: ../admin/manage-galleries.php:55
525
- #: ../admin/manage-images.php:377
526
  msgid "Delete"
527
  msgstr "Lösche"
528
 
@@ -567,8 +568,8 @@ msgid "No album selected!"
567
  msgstr "Kein Album ausgewählt"
568
 
569
  #: ../admin/album.php:254
570
- #: ../admin/manage-galleries.php:17
571
- #: ../admin/manage-images.php:473
572
  msgid "ID"
573
  msgstr "ID"
574
 
@@ -577,8 +578,8 @@ msgid "Name"
577
  msgstr "Name"
578
 
579
  #: ../admin/album.php:256
580
- #: ../admin/manage-galleries.php:18
581
- #: ../admin/manage-images.php:136
582
  msgid "Title"
583
  msgstr "Titel"
584
 
@@ -665,8 +666,8 @@ msgstr "erfolgreich erstellt!"
665
 
666
  #: ../admin/functions.php:161
667
  #: ../admin/functions.php:622
668
- #: ../admin/manage-images.php:207
669
- #: ../admin/manage.php:136
670
  msgid "Create new thumbnails"
671
  msgstr "Neue Thumbnails erstellen"
672
 
@@ -803,52 +804,67 @@ msgstr "Tut mir leid, aber NextGEN Galerie benötigt zwingend die Rolle \"Admini
803
  msgid "NextGEN Gallery : Tables could not created, please check your database settings"
804
  msgstr "NextGEN Gallery : Tabellen konnten nicht erstellt werden, überprüfe deine Datenbank"
805
 
806
- #: ../admin/install.php:158
807
  msgid "[Show as slideshow]"
808
  msgstr "[Zeige als Diashow]"
809
 
810
- #: ../admin/install.php:159
811
  msgid "[Show picture list]"
812
  msgstr "[Zeige Bilder-Liste]"
813
 
814
- #: ../admin/manage-galleries.php:12
 
 
 
 
 
 
 
 
 
 
815
  msgid "Gallery Overview"
816
  msgstr "Galerie Übersicht"
817
 
818
- #: ../admin/manage-galleries.php:19
819
- #: ../admin/manage-images.php:147
820
- #: ../admin/manage-images.php:482
 
 
 
 
 
 
821
  msgid "Description"
822
  msgstr "Beschreibung"
823
 
824
- #: ../admin/manage-galleries.php:20
825
- #: ../admin/manage-images.php:167
826
  msgid "Author"
827
  msgstr "Autor"
828
 
829
- #: ../admin/manage-galleries.php:21
830
  msgid "Page ID"
831
  msgstr "Seiten ID"
832
 
833
- #: ../admin/manage-galleries.php:22
834
  msgid "Quantity"
835
  msgstr "Anzahl"
836
 
837
- #: ../admin/manage-galleries.php:23
838
- #: ../admin/manage-images.php:489
839
  msgid "Action"
840
  msgstr "Aktion"
841
 
842
- #: ../admin/manage-galleries.php:42
843
  msgid "Edit"
844
  msgstr "Bearbeiten"
845
 
846
- #: ../admin/manage-galleries.php:55
847
  msgid "Delete this gallery ?"
848
  msgstr "Diese Galerie löschen ?"
849
 
850
- #: ../admin/manage-galleries.php:62
851
- #: ../admin/manage-images.php:392
852
  msgid "No entries found"
853
  msgstr "Keine Einträge gefunden"
854
 
@@ -856,14 +872,11 @@ msgstr "Keine Einträge gefunden"
856
  msgid "Gallery not found."
857
  msgstr "Galerie nicht gefunden"
858
 
859
- #: ../admin/manage-images.php:88
860
- #: ../admin/manage-images.php:417
861
- #: ../admin/manage-images.php:454
862
  msgid "No images selected"
863
  msgstr "Keine Bilder ausgewählt"
864
 
865
- #: ../admin/manage-images.php:102
866
- #: ../admin/manage-images.php:417
867
  #, php-format
868
  msgid ""
869
  "You are about to start the bulk edit for %s images \n"
@@ -874,186 +887,164 @@ msgstr ""
874
  " \n"
875
  " 'Abbrechen' um zu stoppen, 'OK' um die Bearbeitung durchzuführen."
876
 
877
- #: ../admin/manage-images.php:132
878
  msgid "Gallery settings"
879
  msgstr "Galerie Einstellungen"
880
 
881
- #: ../admin/manage-images.php:132
882
  msgid "Click here for more settings"
883
  msgstr "Hier klicken für weitere Einstellungen"
884
 
885
- #: ../admin/manage-images.php:138
886
  msgid "Page Link to"
887
  msgstr "Seite verlinkt zu"
888
 
889
- #: ../admin/manage-images.php:141
890
  msgid "Not linked"
891
  msgstr "Nicht verlinkt"
892
 
893
- #: ../admin/manage-images.php:149
894
  msgid "Preview image"
895
  msgstr "Vorschau-Bild"
896
 
897
- #: ../admin/manage-images.php:152
898
  msgid "No Picture"
899
  msgstr "Kein Bild"
900
 
901
- #: ../admin/manage-images.php:165
902
  msgid "Path"
903
  msgstr "Pfad"
904
 
905
- #: ../admin/manage-images.php:181
906
  msgid "Create new page"
907
  msgstr "Neue Seite erstellen"
908
 
909
- #: ../admin/manage-images.php:184
910
  msgid "Main page (No parent)"
911
  msgstr "Haupseite (keine Unterseite)"
912
 
913
- #: ../admin/manage-images.php:187
914
  msgid "Add page"
915
  msgstr "Seite hinzufügen"
916
 
917
- #: ../admin/manage-images.php:193
918
  msgid "Scan Folder for new images"
919
- msgstr "Überprüfe Verzeichniss nach neuen Bildern"
920
 
921
- #: ../admin/manage-images.php:194
922
- #: ../admin/manage-images.php:243
923
- #: ../admin/manage-images.php:398
924
  msgid "Save Changes"
925
- msgstr "Änderungen Speichern"
926
 
927
- #: ../admin/manage-images.php:204
928
  msgid "No action"
929
  msgstr "Keine Aktion"
930
 
931
- #: ../admin/manage-images.php:206
932
- #: ../admin/manage.php:132
933
  msgid "Set watermark"
934
  msgstr "Wasserzeichen setzen"
935
 
936
- #: ../admin/manage-images.php:208
937
- #: ../admin/manage.php:140
938
  msgid "Resize images"
939
  msgstr "Bilder verkleinern"
940
 
941
- #: ../admin/manage-images.php:209
942
  msgid "Delete images"
943
  msgstr "Bilder löschen"
944
 
945
- #: ../admin/manage-images.php:210
946
  msgid "Import metadata"
947
  msgstr "Metadaten importieren"
948
 
949
- #: ../admin/manage-images.php:211
950
  msgid "Copy to..."
951
  msgstr "Kopiere nach..."
952
 
953
- #: ../admin/manage-images.php:212
954
  msgid "Move to..."
955
  msgstr "Verschiebe nach..."
956
 
957
- #: ../admin/manage-images.php:214
958
  msgid "Add tags"
959
  msgstr "Stichwörter hinzufügen"
960
 
961
- #: ../admin/manage-images.php:215
962
  msgid "Delete tags"
963
  msgstr "Stichwörter löschen"
964
 
965
- #: ../admin/manage-images.php:216
966
  msgid "Overwrite tags"
967
  msgstr "Stichwörter überschreiben"
968
 
969
- #: ../admin/manage-images.php:221
970
- #: ../admin/manage-images.php:223
971
- #: ../admin/manage-images.php:417
972
- #: ../admin/manage-images.php:454
973
  msgid "OK"
974
  msgstr "OK"
975
 
976
- #: ../admin/manage-images.php:227
977
- msgid "Hide thumbnails "
978
- msgstr "Thumbnails verstecken"
979
-
980
- #: ../admin/manage-images.php:229
981
- msgid "Show thumbnails "
982
- msgstr "Thumbnails zeigen"
983
-
984
- #: ../admin/manage-images.php:233
985
- msgid "Show tags"
986
- msgstr "Zeige Tags"
987
-
988
- #: ../admin/manage-images.php:235
989
- msgid "Hide tags"
990
- msgstr "Verstecke Tags"
991
-
992
- #: ../admin/manage-images.php:239
993
  msgid "Sort gallery"
994
  msgstr "Sortiere Bilder"
995
 
996
- #: ../admin/manage-images.php:376
 
 
 
 
 
 
 
 
 
997
  msgid "Show Meta data"
998
  msgstr "Zeige Metadaten"
999
 
1000
- #: ../admin/manage-images.php:376
1001
  msgid "Meta"
1002
  msgstr "Meta"
1003
 
1004
- #: ../admin/manage-images.php:377
1005
- msgid "Delete this file ?"
1006
- msgstr "Diese Datei löschen ?"
 
1007
 
1008
- #: ../admin/manage-images.php:413
1009
  msgid "Enter the tags"
1010
  msgstr "Stichwörter angeben"
1011
 
1012
- #: ../admin/manage-images.php:419
1013
- #: ../admin/manage-images.php:456
1014
  msgid "Cancel"
1015
  msgstr "Abbrechen"
1016
 
1017
- #: ../admin/manage-images.php:438
1018
  msgid "Select the destination gallery:"
1019
- msgstr "Galerie nicht gefunden"
1020
 
1021
- #: ../admin/manage-images.php:454
1022
- #, php-format
1023
- msgid ""
1024
- "You are about to copy or move %s images \n"
1025
- " \n"
1026
- " 'Cancel' to stop, 'OK' to proceed."
1027
- msgstr ""
1028
- "Willst du wirklich %s Bild(er) verschieben \n"
1029
- " \n"
1030
- " 'Abbrechen' um zu stoppen, 'OK' um die Bearbeitung durchzuführen."
1031
-
1032
- #: ../admin/manage-images.php:476
1033
  msgid "Thumbnail"
1034
  msgstr "Thumbnail"
1035
 
1036
- #: ../admin/manage-images.php:476
1037
- #: ../admin/manage-images.php:478
1038
- msgid "Date"
1039
- msgstr "Datum"
1040
-
1041
- #: ../admin/manage-images.php:478
1042
- msgid "File name"
1043
  msgstr "Dateiname"
1044
 
1045
- #: ../admin/manage-images.php:482
1046
  msgid "Alt &amp; Title Text"
1047
  msgstr "Alt &amp; Titel Text"
1048
 
1049
- #: ../admin/manage-images.php:485
1050
- msgid "exclude"
1051
- msgstr "ausschließen"
1052
-
1053
- #: ../admin/manage-images.php:487
1054
  msgid "Tags (comma separated list)"
1055
  msgstr "Stichwörter (Tags)"
1056
 
 
 
 
 
1057
  #: ../admin/manage-sort.php:30
1058
  msgid "Sort order changed"
1059
  msgstr "Reihenfolge aktualisiert"
@@ -1082,10 +1073,6 @@ msgstr "Unsortiert"
1082
  msgid "Image ID"
1083
  msgstr "Bilder ID"
1084
 
1085
- #: ../admin/manage-sort.php:80
1086
- msgid "Filename"
1087
- msgstr "Dateiname"
1088
-
1089
  #: ../admin/manage-sort.php:81
1090
  msgid "Alt/Title text"
1091
  msgstr "Alt / Titel Text"
@@ -1102,40 +1089,40 @@ msgstr "Aufsteigend"
1102
  msgid "Descending"
1103
  msgstr "Absteigend"
1104
 
1105
- #: ../admin/manage.php:84
1106
- #: ../admin/manage.php:106
1107
  msgid "deleted successfully"
1108
  msgstr "erfolgreich gelöscht"
1109
 
1110
- #: ../admin/manage.php:106
1111
  msgid "Picture"
1112
  msgstr "Bild"
1113
 
1114
- #: ../admin/manage.php:157
1115
  msgid "Pictures deleted successfully "
1116
  msgstr "Bilder erfolgreich gelöscht"
1117
 
1118
- #: ../admin/manage.php:163
1119
  msgid "Import metadata finished"
1120
  msgstr "Import der Metadaten beendet"
1121
 
1122
- #: ../admin/manage.php:171
1123
  msgid "Operation successfull. Please clear your browser cache."
1124
  msgstr "Thumbnails erfolgreich erstellt. Bitte Browser-Cache aktualisieren."
1125
 
1126
- #: ../admin/manage.php:234
1127
  msgid "Tags changed"
1128
  msgstr "Stichwörter geändert"
1129
 
1130
- #: ../admin/manage.php:264
1131
  msgid "Update successful"
1132
  msgstr "Aktualisierung erfolgreich"
1133
 
1134
- #: ../admin/manage.php:297
1135
  msgid "New gallery page ID"
1136
  msgstr "Neue Galerie Seiten ID"
1137
 
1138
- #: ../admin/manage.php:297
1139
  msgid "created"
1140
  msgstr "erstellt"
1141
 
@@ -1165,27 +1152,27 @@ msgid "Alignment"
1165
  msgstr "Ausrichtung"
1166
 
1167
  #: ../admin/media-upload.php:198
1168
- #: ../admin/settings.php:325
1169
  msgid "None"
1170
  msgstr "Keiner"
1171
 
1172
  #: ../admin/media-upload.php:200
1173
- #: ../admin/tinymce/window.php:128
1174
  msgid "Left"
1175
  msgstr "Links"
1176
 
1177
  #: ../admin/media-upload.php:202
1178
- #: ../admin/tinymce/window.php:129
1179
  msgid "Center"
1180
  msgstr "Zentrieren"
1181
 
1182
  #: ../admin/media-upload.php:204
1183
- #: ../admin/tinymce/window.php:130
1184
  msgid "Right"
1185
  msgstr "Rechts"
1186
 
1187
  #: ../admin/media-upload.php:208
1188
- #: ../admin/settings.php:428
1189
  msgid "Size"
1190
  msgstr "Größe"
1191
 
@@ -1433,493 +1420,521 @@ msgstr "Optionen änderen"
1433
  msgid "Update capabilities"
1434
  msgstr "Rechte aktualisieren"
1435
 
1436
- #: ../admin/settings.php:53
1437
  msgid "Cache cleared"
1438
  msgstr "Cache löschen"
1439
 
1440
- #: ../admin/settings.php:101
1441
- #: ../admin/settings.php:113
1442
  msgid "General Options"
1443
  msgstr "Allg. Optionen"
1444
 
1445
- #: ../admin/settings.php:102
1446
- #: ../admin/settings.php:277
1447
  msgid "Thumbnails"
1448
  msgstr "Thumbnails"
1449
 
1450
- #: ../admin/settings.php:103
1451
  msgid "Images"
1452
  msgstr "Bilder"
1453
 
1454
- #: ../admin/settings.php:105
1455
- #: ../admin/settings.php:314
1456
  msgid "Effects"
1457
  msgstr "Effekte"
1458
 
1459
- #: ../admin/settings.php:106
1460
- #: ../admin/settings.php:352
1461
- #: ../admin/tinymce/window.php:118
1462
  msgid "Watermark"
1463
  msgstr "Wasserzeichen"
1464
 
1465
- #: ../admin/settings.php:107
1466
- #: ../admin/settings.php:278
1467
- #: ../admin/settings.php:456
1468
- #: ../admin/tinymce/window.php:57
1469
  msgid "Slideshow"
1470
  msgstr "Slideshow"
1471
 
1472
- #: ../admin/settings.php:119
1473
  #: ../admin/wpmu.php:48
1474
  msgid "Gallery path"
1475
  msgstr "Galerie-Pfad"
1476
 
1477
- #: ../admin/settings.php:121
1478
  msgid "This is the default path for all galleries"
1479
  msgstr "Dies ist der Standard-Pfad für alle Galerien"
1480
 
1481
- #: ../admin/settings.php:124
1482
  msgid "Delete image files"
1483
  msgstr "Lösche Bilddateien"
1484
 
1485
- #: ../admin/settings.php:126
1486
  msgid "Delete files, when removing a gallery in the database"
1487
  msgstr "Löscht auch die Dateien, falls die Galerie aus der Datenbank entfernt wird"
1488
 
1489
- #: ../admin/settings.php:129
1490
  msgid "Activate permalinks"
1491
  msgstr "Aktiviere Permalinks"
1492
 
1493
- #: ../admin/settings.php:131
1494
  msgid "When you activate this option, you need to update your permalink structure one time."
1495
  msgstr "Wenn du diese Option aktivierst, muss du einmal die Permalink Struktur aktualisieren."
1496
 
1497
- #: ../admin/settings.php:134
1498
  msgid "Select graphic library"
1499
  msgstr "Wähle Grafik-Bibliothek"
1500
 
1501
- #: ../admin/settings.php:135
1502
  msgid "GD Library"
1503
  msgstr "GD Bibliothek"
1504
 
1505
- #: ../admin/settings.php:136
1506
  msgid "ImageMagick (Experimental). Path to the library :"
1507
  msgstr "ImageMagick (Experimental). Pfad zur Bibliothek :"
1508
 
1509
- #: ../admin/settings.php:141
1510
  msgid "Activate Media RSS feed"
1511
  msgstr "Aktiviere Media RSS Feed"
1512
 
1513
- #: ../admin/settings.php:143
1514
  msgid "A RSS feed will be added to you blog header. Usefull for CoolIris/PicLens"
1515
  msgstr "Ein Bilder-RSS Feed wird zum Blog hinzugefügt"
1516
 
1517
- #: ../admin/settings.php:146
1518
  msgid "Activate PicLens/CoolIris support"
1519
  msgstr "Aktiviere PicLens/CoolIris"
1520
 
1521
- #: ../admin/settings.php:148
1522
  msgid "When you activate this option, some javascript is added to your site footer. Make sure that wp_footer is called in your theme."
1523
  msgstr "Dieser Effekt fügt ein neues Javascript zu deinem Theme hinzu. Beachte das wp_footer() in deinen Vorlagen aufgerufen wird."
1524
 
1525
- #: ../admin/settings.php:151
1526
  msgid "Tags / Categories"
1527
  msgstr "Stichwörter / Kategorien"
1528
 
1529
- #: ../admin/settings.php:154
1530
  msgid "Activate related images"
1531
  msgstr "Verwandte Bilder anzeigen"
1532
 
1533
- #: ../admin/settings.php:156
1534
  msgid "This option will append related images to every post"
1535
  msgstr "Diese Option hängt verwandte Bilder an jeden Beitrag"
1536
 
1537
- #: ../admin/settings.php:160
1538
  msgid "Match with"
1539
  msgstr "Vergleiche mit"
1540
 
1541
- #: ../admin/settings.php:161
1542
  msgid "Categories"
1543
  msgstr "Kategorien"
1544
 
1545
- #: ../admin/settings.php:166
1546
  msgid "Max. number of images"
1547
  msgstr "Max. Anzahl der Bilder"
1548
 
1549
- #: ../admin/settings.php:168
1550
  msgid "0 will show all images"
1551
  msgstr "0 zeige alle verwandten Bilder"
1552
 
1553
- #: ../admin/settings.php:179
1554
  msgid "Thumbnail settings"
1555
  msgstr "Thumbnail Einstellungen"
1556
 
1557
- #: ../admin/settings.php:183
1558
  msgid "Please note : If you change the settings, you need to recreate the thumbnails under -> Manage Gallery ."
1559
  msgstr "Bitte beachten : Änderungen der Einstellungen werden erst übernommen, wenn Du neue Thumbnails unter -> \"Gallery verwalten\" erstellst"
1560
 
1561
- #: ../admin/settings.php:186
1562
  msgid "Width x height (in pixel)"
1563
  msgstr "Breite x Höhe (in Pixel)"
1564
 
1565
- #: ../admin/settings.php:188
1566
  msgid "These values are maximum values "
1567
  msgstr "Diese Angaben sind maximale Angaben."
1568
 
1569
- #: ../admin/settings.php:191
1570
  msgid "Set fix dimension"
1571
  msgstr "Setze fixe Größe"
1572
 
1573
- #: ../admin/settings.php:193
1574
  msgid "Ignore the aspect ratio, no portrait thumbnails"
1575
  msgstr "Ignoriere Bildseitenverhältnis"
1576
 
1577
- #: ../admin/settings.php:196
1578
  msgid "Crop square thumbnail from image"
1579
  msgstr "Mittige Thumbnails aus Bildern ausschneiden"
1580
 
1581
- #: ../admin/settings.php:198
1582
  msgid "Create square thumbnails, use only the width setting :"
1583
  msgstr "Erstellt viereckige Thumbnails, nutzt nur den Wert der Breite :"
1584
 
1585
- #: ../admin/settings.php:201
1586
  msgid "Thumbnail quality"
1587
  msgstr "Thumbnail Qualität"
1588
 
1589
- #: ../admin/settings.php:212
1590
  msgid "Image settings"
1591
  msgstr "Bild Einstellungen"
1592
 
1593
- #: ../admin/settings.php:218
1594
  msgid "Resize Images"
1595
  msgstr "Bilder verkleinern"
1596
 
1597
- #: ../admin/settings.php:222
1598
  msgid "Width x height (in pixel). NextGEN Gallery will keep ratio size"
1599
  msgstr "Breite x Höhe (in Pixel). NextGEN Galerie beachtet das Seitenverhältnis."
1600
 
1601
- #: ../admin/settings.php:225
1602
  msgid "Image quality"
1603
  msgstr "Bild Qualität"
1604
 
1605
- #: ../admin/settings.php:230
1606
  msgid "Single picture"
1607
  msgstr "Einzelbilder"
1608
 
1609
- #: ../admin/settings.php:233
1610
  msgid "Cache single pictures"
1611
  msgstr "Nutze Cache für Einzelbidler"
1612
 
1613
- #: ../admin/settings.php:236
1614
  msgid "Creates a file for each singlepic settings. Reduce the CPU load"
1615
  msgstr "Erstellt ein Cache-Bild für jedes Einzelbild (singlepic). Reduziert die CPU Belastung."
1616
 
1617
- #: ../admin/settings.php:239
1618
  msgid "Clear cache folder"
1619
  msgstr "Lösche Cache Verzeichnis"
1620
 
1621
- #: ../admin/settings.php:241
1622
  msgid "Proceed now"
1623
  msgstr "Jetzt durchführen"
1624
 
1625
- #: ../admin/settings.php:257
1626
  msgid "Deactivate gallery page link"
1627
  msgstr "Keine Seitenverzweigung"
1628
 
1629
- #: ../admin/settings.php:259
1630
  msgid "The album will not link to a gallery subpage. The gallery is shown on the same page."
1631
  msgstr "Ein Album benötigt dann keinen Link zur Seite. Die Galerie wird direkt angezeigt."
1632
 
1633
- #: ../admin/settings.php:263
1634
  msgid "Number of images per page"
1635
  msgstr "Anzahl der Bilder pro Seite"
1636
 
1637
- #: ../admin/settings.php:265
1638
  msgid "0 will disable pagination, all images on one page"
1639
  msgstr "0 schaltet Blätterfunktion ab ( = alle Bilder auf einer Seite )"
1640
 
1641
- #: ../admin/settings.php:269
 
 
 
 
 
 
 
 
1642
  msgid "Integrate slideshow"
1643
  msgstr "Slideshow verwenden"
1644
 
1645
- #: ../admin/settings.php:276
1646
  msgid "Show first"
1647
  msgstr "Zeige als Erstes"
1648
 
1649
- #: ../admin/settings.php:282
1650
  msgid "Show ImageBrowser"
1651
  msgstr "Zeige Bilder Browser"
1652
 
1653
- #: ../admin/settings.php:284
1654
  msgid "The gallery will open the ImageBrowser instead the effect."
1655
  msgstr "Es wird der Bilder Browser angezeigt (Kein JavaScript Effekt)"
1656
 
1657
- #: ../admin/settings.php:288
1658
  msgid "Sort options"
1659
  msgstr "Sortierung"
1660
 
1661
- #: ../admin/settings.php:291
1662
  msgid "Sort thumbnails"
1663
  msgstr "Thumbnails sortieren"
1664
 
1665
- #: ../admin/settings.php:293
1666
  msgid "Custom order"
1667
  msgstr "Benutzerdefiniert"
1668
 
1669
- #: ../admin/settings.php:296
 
 
 
 
1670
  msgid "Alt / Title text"
1671
  msgstr "Alt / Titel Text"
1672
 
1673
- #: ../admin/settings.php:297
1674
  msgid "Date / Time"
1675
  msgstr "Datum/Zeit"
1676
 
1677
- #: ../admin/settings.php:301
1678
  msgid "Sort direction"
1679
  msgstr "Sortierreihenfolge"
1680
 
1681
- #: ../admin/settings.php:318
1682
  msgid "Here you can select the thumbnail effect, NextGEN Gallery will integrate the required HTML code in the images. Please note that only the Thickbox effect will automatic added to your theme."
1683
  msgstr "Hier kannst Du den Effekt für die Thumbnails auswählen. NextGEN Galerie wird den benötigten HTML Code verwenden. Bitte beachte, das nur der Thickbox Effekt automatisch in Dein Theme von Wordpress integriert wird. Alle anderen Effekte mußt Du selbst in die header.php eintragen (JS)."
1684
 
1685
- #: ../admin/settings.php:319
1686
  msgid "With the placeholder"
1687
  msgstr "Mit Platzhalter"
1688
 
1689
- #: ../admin/settings.php:319
1690
  msgid "you can activate a navigation through the images (depend on the effect). Change the code line only , when you use a different thumbnail effect or you know what you do."
1691
  msgstr "Du kannst eine Navigation durch die Bilder aktivieren (hängt vom Effekt ab). Ändere nur die Codezeile falls Du einen anderen Effekt für die Thumbnails verwendest oder einfach weißt, was Du tust."
1692
 
1693
- #: ../admin/settings.php:322
1694
  msgid "JavaScript Thumbnail effect"
1695
  msgstr "JavaScript Thumbnail Effekt"
1696
 
1697
- #: ../admin/settings.php:326
1698
  msgid "Thickbox"
1699
  msgstr "Thickbox"
1700
 
1701
- #: ../admin/settings.php:327
1702
  msgid "Lightbox"
1703
  msgstr "Lightbox"
1704
 
1705
- #: ../admin/settings.php:328
1706
  msgid "Highslide"
1707
  msgstr "Highslide"
1708
 
1709
- #: ../admin/settings.php:329
1710
  msgid "Shutter"
1711
  msgstr "Shutter"
1712
 
1713
- #: ../admin/settings.php:330
1714
  msgid "Custom"
1715
  msgstr "Eigener"
1716
 
1717
- #: ../admin/settings.php:335
1718
  msgid "Link Code line"
1719
  msgstr "Link Code Zeile"
1720
 
1721
- #: ../admin/settings.php:353
1722
  msgid "Please note : You can only activate the watermark under -> Manage Gallery . This action cannot be undone."
1723
  msgstr "Bitte beachten : Das Wasserzeichen kann nur unter der Galerieverwaltung gesetzt werden. "
1724
 
1725
- #: ../admin/settings.php:358
1726
  msgid "Preview"
1727
  msgstr "Vorschau"
1728
 
1729
- #: ../admin/settings.php:360
1730
- #: ../admin/settings.php:365
1731
  msgid "Position"
1732
  msgstr "Position"
1733
 
1734
- #: ../admin/settings.php:385
1735
  msgid "Offset"
1736
  msgstr "Abstand"
1737
 
1738
- #: ../admin/settings.php:401
1739
  msgid "Use image as watermark"
1740
  msgstr "Benutze Bild als Wasserzeichen"
1741
 
1742
- #: ../admin/settings.php:404
1743
  msgid "URL to file"
1744
  msgstr "URL zur Datei"
1745
 
1746
- #: ../admin/settings.php:406
1747
  msgid "The accessing of URL files is disabled at your server (allow_url_fopen)"
1748
  msgstr "Der Dateizugriff von URL's ist auf diesem Server deaktiviert (allow_url_fopen)"
1749
 
1750
- #: ../admin/settings.php:409
1751
  msgid "Use text as watermark"
1752
  msgstr "Benutze Text als Wasserzeichen"
1753
 
1754
- #: ../admin/settings.php:412
1755
  msgid "Font"
1756
  msgstr "Schriftart"
1757
 
1758
- #: ../admin/settings.php:421
1759
  msgid "This function will not work, cause you need the FreeType library"
1760
  msgstr "Diese Funktion benötigt die FreeType Bibliothek"
1761
 
1762
- #: ../admin/settings.php:423
1763
  msgid "You can upload more fonts in the folder <strong>nggallery/fonts</strong>"
1764
  msgstr "Du kannst mehr Schriftarten in das Verzeichniss <strong>nggallery/fonts</strong> hochladen."
1765
 
1766
- #: ../admin/settings.php:432
1767
  msgid "Color"
1768
  msgstr "Farbe"
1769
 
1770
- #: ../admin/settings.php:434
1771
  msgid "(hex w/o #)"
1772
  msgstr "(hex w/o #)"
1773
 
1774
- #: ../admin/settings.php:437
1775
  msgid "Text"
1776
  msgstr "Text"
1777
 
1778
- #: ../admin/settings.php:441
1779
  msgid "Opaque"
1780
  msgstr "Transparenz"
1781
 
1782
- #: ../admin/settings.php:457
1783
- msgid "The imagerotator.swf is not in the nggallery folder, the slideshow will not work."
1784
- msgstr "Die Datei imagerotator.swf ist nicht im Plugin Verzeichniss -> so wird die Slideshow nicht funktionieren."
1785
 
1786
- #: ../admin/settings.php:458
 
 
 
 
1787
  msgid "The settings are used in the JW Image Rotator Version"
1788
  msgstr "Die Einstellungen werden im JW Image Rotator benutzt , in der Version"
1789
 
1790
- #: ../admin/settings.php:459
1791
  msgid "See more information for the Flash Player on the web page"
1792
  msgstr "Weitere Informationen auf der Flash Player Homepage"
1793
 
1794
- #: ../admin/settings.php:463
 
 
 
 
 
 
 
 
 
 
 
 
1795
  msgid "Default size (W x H)"
1796
  msgstr "Standard Größe (B x H)"
1797
 
1798
- #: ../admin/settings.php:468
1799
  msgid "Shuffle mode"
1800
  msgstr "Shuffle Modus"
1801
 
1802
- #: ../admin/settings.php:472
1803
  msgid "Show next image on click"
1804
  msgstr "Zeige nächstes Bild bei Klick"
1805
 
1806
- #: ../admin/settings.php:476
1807
  msgid "Show navigation bar"
1808
  msgstr "Zeige Navigations-Leiste"
1809
 
1810
- #: ../admin/settings.php:480
1811
  msgid "Show loading icon"
1812
  msgstr "Zeige Lade-Bildchen"
1813
 
1814
- #: ../admin/settings.php:484
1815
  msgid "Use watermark logo"
1816
  msgstr "Wasserzeichen anzeigen"
1817
 
1818
- #: ../admin/settings.php:486
1819
  msgid "You can change the logo at the watermark settings"
1820
  msgstr "Du kannst den Pfad in Einstellungen für da Wasserzeichen angeben"
1821
 
1822
- #: ../admin/settings.php:489
1823
  msgid "Stretch image"
1824
  msgstr "Bild dehnen"
1825
 
1826
- #: ../admin/settings.php:492
1827
  msgid "true"
1828
  msgstr "Ja"
1829
 
1830
- #: ../admin/settings.php:493
1831
  msgid "false"
1832
  msgstr "Nein"
1833
 
1834
- #: ../admin/settings.php:494
1835
  msgid "fit"
1836
  msgstr "Passend"
1837
 
1838
- #: ../admin/settings.php:495
1839
  msgid "none"
1840
  msgstr "keiner"
1841
 
1842
- #: ../admin/settings.php:500
1843
  msgid "Duration time"
1844
  msgstr "Dauer"
1845
 
1846
- #: ../admin/settings.php:501
1847
  msgid "sec."
1848
  msgstr "Sek."
1849
 
1850
- #: ../admin/settings.php:504
1851
  msgid "Transition / Fade effect"
1852
  msgstr "Fade Effekt"
1853
 
1854
- #: ../admin/settings.php:507
1855
  msgid "fade"
1856
  msgstr "Fade"
1857
 
1858
- #: ../admin/settings.php:508
1859
  msgid "bgfade"
1860
  msgstr "BGFade"
1861
 
1862
- #: ../admin/settings.php:509
1863
  msgid "slowfade"
1864
  msgstr "Slowfade"
1865
 
1866
- #: ../admin/settings.php:510
1867
  msgid "circles"
1868
  msgstr "Kreise"
1869
 
1870
- #: ../admin/settings.php:511
1871
  msgid "bubbles"
1872
  msgstr "Blasen"
1873
 
1874
- #: ../admin/settings.php:512
1875
  msgid "blocks"
1876
  msgstr "Blöcke"
1877
 
1878
- #: ../admin/settings.php:513
1879
  msgid "fluids"
1880
  msgstr "Fluids"
1881
 
1882
- #: ../admin/settings.php:514
1883
  msgid "flash"
1884
  msgstr "Flash"
1885
 
1886
- #: ../admin/settings.php:515
1887
  msgid "lines"
1888
  msgstr "Linien"
1889
 
1890
- #: ../admin/settings.php:516
1891
  msgid "random"
1892
  msgstr "Zufall"
1893
 
1894
- #: ../admin/settings.php:520
1895
  msgid "Use slow zooming effect"
1896
  msgstr "nutze Zoom Effekt"
1897
 
1898
- #: ../admin/settings.php:524
1899
  msgid "Background Color"
1900
  msgstr "Hintergrund (BG) Farbe"
1901
 
1902
- #: ../admin/settings.php:529
1903
  msgid "Texts / Buttons Color"
1904
  msgstr "Text- / Button Farbe"
1905
 
1906
- #: ../admin/settings.php:534
1907
  msgid "Rollover / Active Color"
1908
  msgstr "Rollover / Aktiv (Link) Farbe"
1909
 
1910
- #: ../admin/settings.php:539
1911
  msgid "Screen Color"
1912
  msgstr "Seiten Farbe"
1913
 
1914
- #: ../admin/settings.php:544
1915
  msgid "Background music (URL)"
1916
  msgstr "Hintergrundmusik (URL)"
1917
 
1918
- #: ../admin/settings.php:548
1919
  msgid "Try XHTML validation (with CDATA)"
1920
  msgstr "Integriere XHTML Validierung (mittels CDATA)"
1921
 
1922
- #: ../admin/settings.php:550
1923
  msgid "Important : Could causes problem at some browser. Please recheck your page."
1924
  msgstr "Wichtig : Es könnnten Probleme bei einigen Browser auftauchen. Unbedingt Seite prüfen."
1925
 
@@ -2188,62 +2203,67 @@ msgstr "Stichwörter vergleichen :"
2188
  msgid "Slug(s) to set:"
2189
  msgstr "Schlagwörter setzen:"
2190
 
2191
- #: ../admin/upgrade.php:22
2192
  msgid "Upgrade database structure..."
2193
  msgstr "Aktualisiere die Datenbank-Struturen..."
2194
 
2195
- #: ../admin/upgrade.php:74
2196
- #: ../admin/upgrade.php:80
2197
- #: ../admin/upgrade.php:87
 
2198
  msgid "finished"
2199
  msgstr "beendet"
2200
 
2201
- #: ../admin/upgrade.php:78
2202
  msgid "Update file structure..."
2203
  msgstr "Aktualisiere Verzeichnisse..."
2204
 
2205
- #: ../admin/upgrade.php:85
2206
  msgid "Import date and time information..."
2207
  msgstr "Importiere Datum/Uhrzeit..."
2208
 
2209
- #: ../admin/upgrade.php:151
 
 
 
 
2210
  msgid "Some folders/files could not renamed, please recheck the permission and rescan the folder in the manage gallery section."
2211
  msgstr "Einige Verzeichnisse / Bilder konnten nicht umbenannt werden, bitte überprüfe die Zugriffsrechte und Scanne dann das Verzeichnis neu ein."
2212
 
2213
- #: ../admin/upgrade.php:153
2214
  msgid "Rename failed"
2215
  msgstr "Konnte nicht umbenannt werden"
2216
 
2217
- #: ../admin/upgrade.php:193
2218
- #: ../admin/upgrade.php:213
2219
  msgid "Upgrade NextGEN Gallery"
2220
  msgstr "NextGEN Gallery aktualisieren"
2221
 
2222
- #: ../admin/upgrade.php:194
2223
  msgid "The script detect that you upgrade from a older version."
2224
  msgstr "Es wurde eine ältere NextGEN Datenbank erkannt."
2225
 
2226
- #: ../admin/upgrade.php:195
2227
  msgid "Your database tables for NextGEN Gallery is out-of-date, and must be upgraded before you can continue."
2228
  msgstr "Deinen Datenbank für NextGEN Gallery ist nicht auf dem aktuellen Stand, Sie muss jetzt aktualisiert werden."
2229
 
2230
- #: ../admin/upgrade.php:196
2231
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
2232
  msgstr "Wenn du wieder auf eine älter Version zurückgehen möchtest, musst du vorher die Datenbank sichern."
2233
 
2234
- #: ../admin/upgrade.php:197
2235
  msgid "The upgrade process may take a while, so please be patient."
2236
  msgstr "Der Upgrade Prozess kann etwas dauern, bitte sei geduldig..."
2237
 
2238
- #: ../admin/upgrade.php:198
2239
  msgid "Start upgrade now"
2240
  msgstr "Aktualisierung starten"
2241
 
2242
- #: ../admin/upgrade.php:215
2243
  msgid "Upgrade sucessfull"
2244
  msgstr "Aktualisierung erfolgreich"
2245
 
2246
- #: ../admin/upgrade.php:216
2247
  msgid "Continue"
2248
  msgstr "Weiter"
2249
 
@@ -2307,64 +2327,64 @@ msgstr "Keine Zugrangsberechtigung"
2307
  msgid "Select gallery"
2308
  msgstr "Wähle Galerie"
2309
 
2310
- #: ../admin/tinymce/window.php:55
2311
- #: ../admin/tinymce/window.php:83
2312
  msgid "Show as"
2313
  msgstr "Zeige als"
2314
 
2315
- #: ../admin/tinymce/window.php:56
2316
  msgid "Image list"
2317
  msgstr "Bilder-Liste"
2318
 
2319
- #: ../admin/tinymce/window.php:58
2320
  msgid "Imagebrowser"
2321
  msgstr "Bilder Browser"
2322
 
2323
- #: ../admin/tinymce/window.php:71
2324
  msgid "No album"
2325
  msgstr "Kein Album"
2326
 
2327
- #: ../admin/tinymce/window.php:84
2328
  msgid "Extended version"
2329
  msgstr "Erweiterte Version"
2330
 
2331
- #: ../admin/tinymce/window.php:85
2332
  msgid "Compact version"
2333
  msgstr "Kompakte Version"
2334
 
2335
- #: ../admin/tinymce/window.php:96
2336
  msgid "Select picture"
2337
  msgstr "Wähle Bild"
2338
 
2339
- #: ../admin/tinymce/window.php:98
2340
  msgid "No picture"
2341
  msgstr "Kein Bild"
2342
 
2343
- #: ../admin/tinymce/window.php:110
2344
  msgid "Width x Height"
2345
  msgstr "Breite x Höhe"
2346
 
2347
- #: ../admin/tinymce/window.php:114
2348
  msgid "Effect"
2349
  msgstr "Effekt"
2350
 
2351
- #: ../admin/tinymce/window.php:117
2352
  msgid "No effect"
2353
  msgstr "Kein Effekt"
2354
 
2355
- #: ../admin/tinymce/window.php:119
2356
  msgid "Web 2.0"
2357
  msgstr "Web 2.0"
2358
 
2359
- #: ../admin/tinymce/window.php:124
2360
  msgid "Float"
2361
  msgstr "Float"
2362
 
2363
- #: ../admin/tinymce/window.php:127
2364
  msgid "No float"
2365
  msgstr "Kein Float"
2366
 
2367
- #: ../admin/tinymce/window.php:146
2368
  msgid "Insert"
2369
  msgstr "Einfügen"
2370
 
@@ -2491,7 +2511,7 @@ msgstr "Programm"
2491
  msgid "Format"
2492
  msgstr "Format"
2493
 
2494
- #: ../lib/ngg-db.php:198
2495
  msgid "Album overview"
2496
  msgstr "Album Übersicht"
2497
 
@@ -2572,6 +2592,7 @@ msgstr "%s Stichwörter geändert"
2572
  msgid "Photos"
2573
  msgstr "Fotos"
2574
 
 
2575
  #: ../view/gallery.php:32
2576
  #: ../widgets/media-rss-widget.php:236
2577
  msgid "[View with PicLens]"
@@ -2624,7 +2645,6 @@ msgid "Link to the main image feed"
2624
  msgstr "Link zum Bilder-Feed"
2625
 
2626
  #: ../widgets/media-rss-widget.php:153
2627
- #: ../widgets/widgets.php:135
2628
  msgid "Title:"
2629
  msgstr "Titel:"
2630
 
@@ -2657,71 +2677,71 @@ msgstr "NextGEN Diashow"
2657
  msgid "<a href=\"http://www.macromedia.com/go/getflashplayer\">Get the Flash Player</a> to see the slideshow."
2658
  msgstr "<a href=\"http://www.macromedia.com/go/getflashplayer\">Lade Dir den Flash Player</a> um die Diashow zu sehen."
2659
 
2660
- #: ../widgets/widgets.php:137
2661
  msgid "Select Gallery:"
2662
  msgstr "Wähle Galerie"
2663
 
2664
- #: ../widgets/widgets.php:139
2665
  msgid "All images"
2666
  msgstr "Alle Bilder"
2667
 
2668
- #: ../widgets/widgets.php:152
2669
  msgid "Height:"
2670
  msgstr "Höhe:"
2671
 
2672
- #: ../widgets/widgets.php:153
2673
  msgid "Width:"
2674
  msgstr "Breite:"
2675
 
2676
- #: ../widgets/widgets.php:186
2677
  msgid "Add recent or random images from the galleries"
2678
  msgstr "Füge die neusten Bilder oder Zufallsbilder aus NextGEN Gallery ein"
2679
 
2680
- #: ../widgets/widgets.php:188
2681
  msgid "NextGEN Widget"
2682
  msgstr "NextGEN Widget"
2683
 
2684
- #: ../widgets/widgets.php:286
2685
  msgid "Title :"
2686
  msgstr "Titel :"
2687
 
2688
- #: ../widgets/widgets.php:292
2689
  msgid "Show :"
2690
  msgstr "Zeige als :"
2691
 
2692
- #: ../widgets/widgets.php:298
2693
  msgid "Orginal images"
2694
  msgstr "Orginal Bilder"
2695
 
2696
- #: ../widgets/widgets.php:306
2697
  msgid "recent added "
2698
  msgstr "zuletzt hinzugefügt"
2699
 
2700
- #: ../widgets/widgets.php:311
2701
  msgid "Width x Height :"
2702
  msgstr "Breite x Höhe :"
2703
 
2704
- #: ../widgets/widgets.php:318
2705
  msgid "Select :"
2706
  msgstr "Wähle :"
2707
 
2708
- #: ../widgets/widgets.php:320
2709
  msgid "All galleries"
2710
  msgstr "Alle Galerien"
2711
 
2712
- #: ../widgets/widgets.php:321
2713
  msgid "Only which are not listed"
2714
  msgstr "Nur ungelistete"
2715
 
2716
- #: ../widgets/widgets.php:322
2717
  msgid "Only which are listed"
2718
  msgstr "Nur gelistete"
2719
 
2720
- #: ../widgets/widgets.php:328
2721
  msgid "Gallery ID :"
2722
  msgstr "Galerie ID :"
2723
 
2724
- #: ../widgets/widgets.php:330
2725
  msgid "Gallery IDs, separated by commas."
2726
  msgstr "Galerie ID's, mit Kommas getrennt"
2727
 
@@ -2748,6 +2768,26 @@ msgstr "Album-ID %s existiert nicht"
2748
  msgid "Invalid MediaRSS command (%s)."
2749
  msgstr "Ungültiger Media RSS Befehl (%s)"
2750
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2751
  #~ msgid "Add Gallery"
2752
  #~ msgstr "Bilder/Galerie hinzufügen"
2753
  #~ msgid "Manage galleries"
@@ -2814,8 +2854,6 @@ msgstr "Ungültiger Media RSS Befehl (%s)"
2814
  #~ msgstr "Wasserzeichen erfolgreich erstellt"
2815
  #~ msgid "Images successfully resized"
2816
  #~ msgstr "Bilder erfolgreich verkleinert"
2817
- #~ msgid "View"
2818
- #~ msgstr "Ansehen"
2819
  #~ msgid " (require WordPress 2.3 or higher)"
2820
  #~ msgstr " (benötigt WordPress 2.3 oder höher)"
2821
  #~ msgid "Show thumbnail description"
@@ -2857,8 +2895,6 @@ msgstr "Ungültiger Media RSS Befehl (%s)"
2857
  #~ msgstr "Bilder löschen ?"
2858
  #~ msgid "Browse your files"
2859
  #~ msgstr "Durchsuche deine Dateien"
2860
- #~ msgid "&laquo; Back"
2861
- #~ msgstr "&laquo; Zurück"
2862
  #~ msgid "Direct link to file"
2863
  #~ msgstr "Link zur Datei"
2864
  #~ msgid "Show:"
@@ -2869,8 +2905,6 @@ msgstr "Ungültiger Media RSS Befehl (%s)"
2869
  #~ msgstr "Datei"
2870
  #~ msgid "Send to editor &raquo;"
2871
  #~ msgstr "Zum Editor schicken &raquo;"
2872
- #~ msgid "Save &raquo;"
2873
- #~ msgstr "Speichern &raquo;"
2874
  #~ msgid ""
2875
  #~ "Are you sure you want to delete the file '%s'?\n"
2876
  #~ "Click ok to delete or cancel to go back."
2
  msgstr ""
3
  "Project-Id-Version: NextGEN Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-01-04 12:18+0100\n"
6
+ "PO-Revision-Date: 2009-01-04 22:51+0100\n"
7
  "Last-Translator: Alex Rabe <no@email.com>\n"
8
  "Language-Team: Alex Rabe\n"
9
  "MIME-Version: 1.0\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
  "X-Poedit-SearchPath-1: ..\n"
20
 
21
+ #: ../nggallery.php:154
22
  msgid "Sorry, NextGEN Gallery works only with a Memory Limit of 16 MB higher"
23
  msgstr "Tut mir leid, aber NextGEN Galerie benötigt minimum 16MB Speicher (Memory Limit) oder mehr"
24
 
25
+ #: ../nggallery.php:181
26
  msgid "Picture tag"
27
  msgstr "Bilder Stichwort"
28
 
29
+ #: ../nggallery.php:182
30
  msgid "Picture tag: %2$l."
31
  msgstr "Bilder Stichwort: %2$l."
32
 
33
+ #: ../nggallery.php:183
34
  msgid "Separate picture tags with commas."
35
  msgstr "Trenne Stichwörter mittels Komma"
36
 
37
+ #: ../nggallery.php:278
38
  msgid "L O A D I N G"
39
  msgstr "B I T T E W A R T E N"
40
 
41
+ #: ../nggallery.php:279
42
  msgid "Click to Close"
43
  msgstr "Klicken zum Schliessen "
44
 
45
+ #: ../nggfunctions.php:36
46
  msgid "The <a href=\"http://www.macromedia.com/go/getflashplayer\">Flash Player</a> and <a href=\"http://www.mozilla.com/firefox/\">a browser with Javascript support</a> are needed.."
47
  msgstr "Es wird der <a href=\"http://www.macromedia.com/go/getflashplayer\">Adobe Flash Player</a> benötigt und <a href=\"http://www.mozilla.com/firefox/\">im Browser muss Javascript</a> aktiviert sein.."
48
 
49
+ #: ../nggfunctions.php:100
50
+ #: ../nggfunctions.php:435
51
  msgid "[Gallery not found]"
52
  msgstr "[Galerie nicht gefunden]"
53
 
54
+ #: ../nggfunctions.php:290
55
  msgid "[Album not found]"
56
  msgstr "[Album nicht gefunden]"
57
 
58
+ #: ../nggfunctions.php:537
59
  msgid "[SinglePic not found]"
60
  msgstr "[Bild nicht gefunden]"
61
 
62
+ #: ../nggfunctions.php:662
63
  msgid "Related images for"
64
  msgstr "Verwandte Bilder von"
65
 
66
+ #: ../nggfunctions.php:697
67
+ #: ../admin/admin.php:32
68
  msgid "Overview"
69
  msgstr "Übersicht"
70
 
209
  msgstr "Durchsuche..."
210
 
211
  #: ../admin/addgallery.php:123
212
+ #: ../admin/addgallery.php:274
213
  msgid "Upload images"
214
  msgstr "Bilder hochladen"
215
 
224
  msgstr "Zip-Datei hochladen"
225
 
226
  #: ../admin/addgallery.php:172
227
+ #: ../admin/addgallery.php:229
228
  msgid "Import image folder"
229
  msgstr "Bilder-Verzeichnis importieren"
230
 
231
  #: ../admin/addgallery.php:174
232
+ #: ../admin/addgallery.php:246
233
  msgid "Upload Images"
234
  msgstr "Bilder hochladen"
235
 
258
  msgstr "Lade eine Zip-Datei mit Bildern hoch"
259
 
260
  #: ../admin/addgallery.php:208
261
+ #: ../admin/addgallery.php:255
262
  msgid "in to"
263
  msgstr "in"
264
 
266
  msgid "a new gallery"
267
  msgstr "eine neue Galerie"
268
 
269
+ #: ../admin/addgallery.php:218
270
+ #: ../admin/addgallery.php:264
271
  msgid "Note : The upload limit on your server is "
272
  msgstr "Hinweis : Das Upload-Limit auf dem Server beträgt "
273
 
274
+ #: ../admin/addgallery.php:222
275
  msgid "Start upload"
276
  msgstr "Upload starten"
277
 
278
+ #: ../admin/addgallery.php:234
279
  msgid "Import from Server path:"
280
  msgstr "Importieren aus Server-Pfad:"
281
 
282
+ #: ../admin/addgallery.php:236
283
  msgid "Import a folder with all images."
284
+ msgstr "Importiere ein Verzeichnis mit Bildern."
285
 
286
+ #: ../admin/addgallery.php:237
287
  msgid " Please note : For safe-mode = ON you need to add the subfolder thumbs manually"
288
  msgstr "Achtung : Da der Safe-Mode (PHP.INI) eingeschaltet ist, mußt Du das Unterverzeichnis für die Vorschaubilder (\"thumbs\") manuell (per FTP) anlegen"
289
 
290
+ #: ../admin/addgallery.php:240
291
  msgid "Import folder"
292
  msgstr "Verzeichnis importieren"
293
 
294
+ #: ../admin/addgallery.php:251
295
  msgid "Upload image"
296
  msgstr "Bild hochladen"
297
 
298
+ #: ../admin/addgallery.php:257
299
  msgid "Choose gallery"
300
  msgstr "Wähle Galerie"
301
 
302
+ #: ../admin/addgallery.php:270
303
  msgid "The batch upload requires Adobe Flash 9, disable it if you have problems"
304
  msgstr "Das Batch-Upload-Skript benötigt Adbode Flash 9, wenn es Probleme gibt deaktiviere es besser."
305
 
306
+ #: ../admin/addgallery.php:270
307
  msgid "Disable flash upload"
308
  msgstr "Deaktiviere Batch-Upload"
309
 
310
+ #: ../admin/addgallery.php:272
311
  msgid "Upload multiple files at once by ctrl/shift-selecting in dialog"
312
  msgstr "Wähle im Dialog mit Ctrl/Shift mehrere Bilder gleichzeitig aus."
313
 
314
+ #: ../admin/addgallery.php:272
315
  msgid "Enable flash based upload"
316
  msgstr "Aktiviere Flash Batch Upload"
317
 
318
+ #: ../admin/admin.php:31
319
+ #: ../admin/admin.php:204
320
+ #: ../admin/admin.php:270
321
  #: ../admin/functions.php:81
322
  #: ../admin/functions.php:142
323
+ #: ../admin/manage-images.php:147
324
+ #: ../admin/manage.php:78
325
  msgid "Gallery"
326
  msgid_plural "Galleries"
327
  msgstr[0] "Galerie"
328
  msgstr[1] "Galerien"
329
 
330
+ #: ../admin/admin.php:33
331
  msgid "Add Gallery / Images"
332
  msgstr "Galerie / Bilder hinzufügen"
333
 
334
+ #: ../admin/admin.php:34
335
  msgid "Manage Gallery"
336
  msgstr "Galerie verwalten"
337
 
338
+ #: ../admin/admin.php:35
339
  msgid "Album"
340
  msgid_plural "Albums"
341
  msgstr[0] "Album"
342
  msgstr[1] "Alben"
343
 
344
+ #: ../admin/admin.php:36
345
  msgid "Tags"
346
  msgstr "Stichwörter"
347
 
348
+ #: ../admin/admin.php:37
349
  msgid "Options"
350
  msgstr "Optionen"
351
 
352
+ #: ../admin/admin.php:39
353
  msgid "Style"
354
  msgstr "Style"
355
 
356
+ #: ../admin/admin.php:40
357
  msgid "Setup Gallery"
358
  msgstr "Galerie Setup"
359
 
360
+ #: ../admin/admin.php:40
361
  msgid "Setup"
362
  msgstr "Setup"
363
 
364
+ #: ../admin/admin.php:42
365
  msgid "Roles"
366
  msgstr "Zugriff"
367
 
368
+ #: ../admin/admin.php:43
369
  msgid "About this Gallery"
370
  msgstr "Über diese Galerie"
371
 
372
+ #: ../admin/admin.php:43
373
  msgid "About"
374
  msgstr "Über"
375
 
376
+ #: ../admin/admin.php:45
377
  msgid "NextGEN Gallery"
378
  msgstr "NextGEN Gallery"
379
 
380
+ #: ../admin/admin.php:70
381
  msgid "A new version of NextGEN Gallery is available !"
382
  msgstr "Eine neue Version von NextGEN Gallery ist jetzt verfügbar"
383
 
384
+ #: ../admin/admin.php:70
385
  msgid "Download here"
386
  msgstr "Hier downloaden"
387
 
388
+ #: ../admin/admin.php:141
389
  msgid "You do not have the correct permission"
390
  msgstr "Du hast keine Zugriffsrechte"
391
 
392
+ #: ../admin/admin.php:142
393
  msgid "Unexpected Error"
394
  msgstr "Unerwarteter Fehler"
395
 
396
+ #: ../admin/admin.php:143
397
  msgid "A failure occurred"
398
  msgstr "Ein Fehler ist aufgetreten"
399
 
400
+ #: ../admin/admin.php:208
401
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Introduction</a>"
402
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
403
 
404
+ #: ../admin/admin.php:211
405
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Setup</a>"
406
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Setup</a>"
407
 
408
+ #: ../admin/admin.php:214
409
  msgid "<a href=\"http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/languages/\" target=\"_blank\">Translation by alex rabe</a>"
410
  msgstr "<a href=\"http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/languages/\" target=\"_blank\">Unterstütze bei der Übersetzung</a>"
411
 
412
+ #: ../admin/admin.php:217
413
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Roles / Capabilities</a>"
414
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
415
 
416
+ #: ../admin/admin.php:220
417
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Styles</a>"
418
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
419
 
420
+ #: ../admin/admin.php:221
421
  msgid "Templates"
422
  msgstr "Vorlagen"
423
 
 
424
  #: ../admin/admin.php:224
425
+ #: ../admin/admin.php:228
426
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery management</a>"
427
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
428
 
429
+ #: ../admin/admin.php:225
430
  msgid "Gallery example"
431
  msgstr "Galerie Beispiel"
432
 
433
+ #: ../admin/admin.php:229
434
+ #: ../admin/admin.php:239
435
  msgid "Gallery tags"
436
  msgstr "Galerie Stichwörter"
437
 
438
+ #: ../admin/admin.php:232
439
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Album management</a>"
440
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
441
 
442
+ #: ../admin/admin.php:233
443
  msgid "Album example"
444
  msgstr "Album Beispiel"
445
 
446
+ #: ../admin/admin.php:234
447
+ #: ../admin/admin.php:240
448
  msgid "Album tags"
449
  msgstr "Album Stichwörter"
450
 
451
+ #: ../admin/admin.php:237
452
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery tags</a>"
453
  msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
454
 
455
+ #: ../admin/admin.php:238
456
  msgid "Related images"
457
  msgstr "Verwandte Bilder"
458
 
459
+ #: ../admin/admin.php:243
460
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-image-management/\" target=\"_blank\">Image management</a>"
461
  msgstr "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-image-management/\" target=\"_blank\">Bilderverwaltung (Englisch)</a>"
462
 
463
+ #: ../admin/admin.php:244
464
  msgid "Custom fields"
465
  msgstr "Spezialfelder"
466
 
467
+ #: ../admin/admin.php:249
468
  msgid "Get help with NextGEN Gallery"
469
  msgstr "Weitere Hilfe zu NextGEN Gallery"
470
 
471
+ #: ../admin/admin.php:253
472
  msgid "More Help & Info"
473
  msgstr "Weitere Hilfe & Informationen"
474
 
475
+ #: ../admin/admin.php:255
476
  msgid "<a href=\"http://wordpress.org/tags/nextgen-gallery\" target=\"_blank\">Support Forums</a>"
477
  msgstr "<a href=\"http://wordpress.org/tags/nextgen-gallery\" target=\"_blank\">Support Forum (Englisch)</a>"
478
 
479
+ #: ../admin/admin.php:256
480
  msgid "FAQ"
481
  msgstr "FAQ (englisch)"
482
 
483
+ #: ../admin/admin.php:257
484
  msgid "Feature request"
485
  msgstr "Wünsch dir was"
486
 
487
+ #: ../admin/admin.php:258
488
  msgid "Get your language pack"
489
  msgstr "Lade deine Sprachdatei"
490
 
491
+ #: ../admin/admin.php:259
492
  msgid "Contribute development"
493
  msgstr "Entwicklung helfen"
494
 
495
+ #: ../admin/admin.php:260
496
  msgid "Download latest version"
497
  msgstr "Aktuelle Version downloaden"
498
 
522
  msgstr "Aktualisiere"
523
 
524
  #: ../admin/album.php:147
525
+ #: ../admin/manage-galleries.php:78
526
+ #: ../admin/manage-images.php:331
527
  msgid "Delete"
528
  msgstr "Lösche"
529
 
568
  msgstr "Kein Album ausgewählt"
569
 
570
  #: ../admin/album.php:254
571
+ #: ../admin/manage-galleries.php:42
572
+ #: ../admin/manage-images.php:468
573
  msgid "ID"
574
  msgstr "ID"
575
 
578
  msgstr "Name"
579
 
580
  #: ../admin/album.php:256
581
+ #: ../admin/manage-galleries.php:43
582
+ #: ../admin/manage-images.php:161
583
  msgid "Title"
584
  msgstr "Titel"
585
 
666
 
667
  #: ../admin/functions.php:161
668
  #: ../admin/functions.php:622
669
+ #: ../admin/manage-images.php:239
670
+ #: ../admin/manage.php:130
671
  msgid "Create new thumbnails"
672
  msgstr "Neue Thumbnails erstellen"
673
 
804
  msgid "NextGEN Gallery : Tables could not created, please check your database settings"
805
  msgstr "NextGEN Gallery : Tabellen konnten nicht erstellt werden, überprüfe deine Datenbank"
806
 
807
+ #: ../admin/install.php:160
808
  msgid "[Show as slideshow]"
809
  msgstr "[Zeige als Diashow]"
810
 
811
+ #: ../admin/install.php:161
812
  msgid "[Show picture list]"
813
  msgstr "[Zeige Bilder-Liste]"
814
 
815
+ #: ../admin/manage-galleries.php:19
816
+ #: ../admin/manage-images.php:35
817
+ msgid "&laquo;"
818
+ msgstr "&laquo;"
819
+
820
+ #: ../admin/manage-galleries.php:20
821
+ #: ../admin/manage-images.php:36
822
+ msgid "&raquo;"
823
+ msgstr "&raquo;"
824
+
825
+ #: ../admin/manage-galleries.php:27
826
  msgid "Gallery Overview"
827
  msgstr "Galerie Übersicht"
828
 
829
+ #: ../admin/manage-galleries.php:30
830
+ #: ../admin/manage-images.php:228
831
+ #, php-format
832
+ msgid "Displaying %s&#8211;%s of %s"
833
+ msgstr "Zeige %s&#8211;%s von %s"
834
+
835
+ #: ../admin/manage-galleries.php:44
836
+ #: ../admin/manage-images.php:172
837
+ #: ../admin/manage-images.php:473
838
  msgid "Description"
839
  msgstr "Beschreibung"
840
 
841
+ #: ../admin/manage-galleries.php:45
842
+ #: ../admin/manage-images.php:192
843
  msgid "Author"
844
  msgstr "Autor"
845
 
846
+ #: ../admin/manage-galleries.php:46
847
  msgid "Page ID"
848
  msgstr "Seiten ID"
849
 
850
+ #: ../admin/manage-galleries.php:47
851
  msgid "Quantity"
852
  msgstr "Anzahl"
853
 
854
+ #: ../admin/manage-galleries.php:48
 
855
  msgid "Action"
856
  msgstr "Aktion"
857
 
858
+ #: ../admin/manage-galleries.php:65
859
  msgid "Edit"
860
  msgstr "Bearbeiten"
861
 
862
+ #: ../admin/manage-galleries.php:78
863
  msgid "Delete this gallery ?"
864
  msgstr "Diese Galerie löschen ?"
865
 
866
+ #: ../admin/manage-galleries.php:85
867
+ #: ../admin/manage-images.php:385
868
  msgid "No entries found"
869
  msgstr "Keine Einträge gefunden"
870
 
872
  msgid "Gallery not found."
873
  msgstr "Galerie nicht gefunden"
874
 
875
+ #: ../admin/manage-images.php:108
 
 
876
  msgid "No images selected"
877
  msgstr "Keine Bilder ausgewählt"
878
 
879
+ #: ../admin/manage-images.php:128
 
880
  #, php-format
881
  msgid ""
882
  "You are about to start the bulk edit for %s images \n"
887
  " \n"
888
  " 'Abbrechen' um zu stoppen, 'OK' um die Bearbeitung durchzuführen."
889
 
890
+ #: ../admin/manage-images.php:157
891
  msgid "Gallery settings"
892
  msgstr "Galerie Einstellungen"
893
 
894
+ #: ../admin/manage-images.php:157
895
  msgid "Click here for more settings"
896
  msgstr "Hier klicken für weitere Einstellungen"
897
 
898
+ #: ../admin/manage-images.php:163
899
  msgid "Page Link to"
900
  msgstr "Seite verlinkt zu"
901
 
902
+ #: ../admin/manage-images.php:166
903
  msgid "Not linked"
904
  msgstr "Nicht verlinkt"
905
 
906
+ #: ../admin/manage-images.php:174
907
  msgid "Preview image"
908
  msgstr "Vorschau-Bild"
909
 
910
+ #: ../admin/manage-images.php:177
911
  msgid "No Picture"
912
  msgstr "Kein Bild"
913
 
914
+ #: ../admin/manage-images.php:190
915
  msgid "Path"
916
  msgstr "Pfad"
917
 
918
+ #: ../admin/manage-images.php:206
919
  msgid "Create new page"
920
  msgstr "Neue Seite erstellen"
921
 
922
+ #: ../admin/manage-images.php:209
923
  msgid "Main page (No parent)"
924
  msgstr "Haupseite (keine Unterseite)"
925
 
926
+ #: ../admin/manage-images.php:212
927
  msgid "Add page"
928
  msgstr "Seite hinzufügen"
929
 
930
+ #: ../admin/manage-images.php:218
931
  msgid "Scan Folder for new images"
932
+ msgstr "Überprüfe Verzeichnis nach neuen Bildern"
933
 
934
+ #: ../admin/manage-images.php:219
935
+ #: ../admin/manage-images.php:255
936
+ #: ../admin/manage-images.php:391
937
  msgid "Save Changes"
938
+ msgstr "Änderungen speichern"
939
 
940
+ #: ../admin/manage-images.php:237
941
  msgid "No action"
942
  msgstr "Keine Aktion"
943
 
944
+ #: ../admin/manage-images.php:238
945
+ #: ../admin/manage.php:126
946
  msgid "Set watermark"
947
  msgstr "Wasserzeichen setzen"
948
 
949
+ #: ../admin/manage-images.php:240
950
+ #: ../admin/manage.php:134
951
  msgid "Resize images"
952
  msgstr "Bilder verkleinern"
953
 
954
+ #: ../admin/manage-images.php:241
955
  msgid "Delete images"
956
  msgstr "Bilder löschen"
957
 
958
+ #: ../admin/manage-images.php:242
959
  msgid "Import metadata"
960
  msgstr "Metadaten importieren"
961
 
962
+ #: ../admin/manage-images.php:243
963
  msgid "Copy to..."
964
  msgstr "Kopiere nach..."
965
 
966
+ #: ../admin/manage-images.php:244
967
  msgid "Move to..."
968
  msgstr "Verschiebe nach..."
969
 
970
+ #: ../admin/manage-images.php:245
971
  msgid "Add tags"
972
  msgstr "Stichwörter hinzufügen"
973
 
974
+ #: ../admin/manage-images.php:246
975
  msgid "Delete tags"
976
  msgstr "Stichwörter löschen"
977
 
978
+ #: ../admin/manage-images.php:247
979
  msgid "Overwrite tags"
980
  msgstr "Stichwörter überschreiben"
981
 
982
+ #: ../admin/manage-images.php:249
983
+ #: ../admin/manage-images.php:408
984
+ #: ../admin/manage-images.php:443
 
985
  msgid "OK"
986
  msgstr "OK"
987
 
988
+ #: ../admin/manage-images.php:252
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
989
  msgid "Sort gallery"
990
  msgstr "Sortiere Bilder"
991
 
992
+ #: ../admin/manage-images.php:329
993
+ #, php-format
994
+ msgid "View \"%s\""
995
+ msgstr "Anzeigen \"%s\""
996
+
997
+ #: ../admin/manage-images.php:329
998
+ msgid "View"
999
+ msgstr "Ansehen"
1000
+
1001
+ #: ../admin/manage-images.php:330
1002
  msgid "Show Meta data"
1003
  msgstr "Zeige Metadaten"
1004
 
1005
+ #: ../admin/manage-images.php:330
1006
  msgid "Meta"
1007
  msgstr "Meta"
1008
 
1009
+ #: ../admin/manage-images.php:331
1010
+ #, php-format
1011
+ msgid "Delete \"%s\""
1012
+ msgstr "Lösche \"%s\""
1013
 
1014
+ #: ../admin/manage-images.php:404
1015
  msgid "Enter the tags"
1016
  msgstr "Stichwörter angeben"
1017
 
1018
+ #: ../admin/manage-images.php:410
1019
+ #: ../admin/manage-images.php:445
1020
  msgid "Cancel"
1021
  msgstr "Abbrechen"
1022
 
1023
+ #: ../admin/manage-images.php:427
1024
  msgid "Select the destination gallery:"
1025
+ msgstr "Galerie auswählen:"
1026
 
1027
+ #: ../admin/manage-images.php:469
 
 
 
 
 
 
 
 
 
 
 
1028
  msgid "Thumbnail"
1029
  msgstr "Thumbnail"
1030
 
1031
+ #: ../admin/manage-images.php:471
1032
+ #: ../admin/manage-sort.php:80
1033
+ msgid "Filename"
 
 
 
 
1034
  msgstr "Dateiname"
1035
 
1036
+ #: ../admin/manage-images.php:473
1037
  msgid "Alt &amp; Title Text"
1038
  msgstr "Alt &amp; Titel Text"
1039
 
1040
+ #: ../admin/manage-images.php:474
 
 
 
 
1041
  msgid "Tags (comma separated list)"
1042
  msgstr "Stichwörter (Tags)"
1043
 
1044
+ #: ../admin/manage-images.php:476
1045
+ msgid "exclude"
1046
+ msgstr "ausschließen"
1047
+
1048
  #: ../admin/manage-sort.php:30
1049
  msgid "Sort order changed"
1050
  msgstr "Reihenfolge aktualisiert"
1073
  msgid "Image ID"
1074
  msgstr "Bilder ID"
1075
 
 
 
 
 
1076
  #: ../admin/manage-sort.php:81
1077
  msgid "Alt/Title text"
1078
  msgstr "Alt / Titel Text"
1089
  msgid "Descending"
1090
  msgstr "Absteigend"
1091
 
1092
+ #: ../admin/manage.php:78
1093
+ #: ../admin/manage.php:100
1094
  msgid "deleted successfully"
1095
  msgstr "erfolgreich gelöscht"
1096
 
1097
+ #: ../admin/manage.php:100
1098
  msgid "Picture"
1099
  msgstr "Bild"
1100
 
1101
+ #: ../admin/manage.php:151
1102
  msgid "Pictures deleted successfully "
1103
  msgstr "Bilder erfolgreich gelöscht"
1104
 
1105
+ #: ../admin/manage.php:157
1106
  msgid "Import metadata finished"
1107
  msgstr "Import der Metadaten beendet"
1108
 
1109
+ #: ../admin/manage.php:165
1110
  msgid "Operation successfull. Please clear your browser cache."
1111
  msgstr "Thumbnails erfolgreich erstellt. Bitte Browser-Cache aktualisieren."
1112
 
1113
+ #: ../admin/manage.php:228
1114
  msgid "Tags changed"
1115
  msgstr "Stichwörter geändert"
1116
 
1117
+ #: ../admin/manage.php:255
1118
  msgid "Update successful"
1119
  msgstr "Aktualisierung erfolgreich"
1120
 
1121
+ #: ../admin/manage.php:288
1122
  msgid "New gallery page ID"
1123
  msgstr "Neue Galerie Seiten ID"
1124
 
1125
+ #: ../admin/manage.php:288
1126
  msgid "created"
1127
  msgstr "erstellt"
1128
 
1152
  msgstr "Ausrichtung"
1153
 
1154
  #: ../admin/media-upload.php:198
1155
+ #: ../admin/settings.php:339
1156
  msgid "None"
1157
  msgstr "Keiner"
1158
 
1159
  #: ../admin/media-upload.php:200
1160
+ #: ../admin/tinymce/window.php:129
1161
  msgid "Left"
1162
  msgstr "Links"
1163
 
1164
  #: ../admin/media-upload.php:202
1165
+ #: ../admin/tinymce/window.php:130
1166
  msgid "Center"
1167
  msgstr "Zentrieren"
1168
 
1169
  #: ../admin/media-upload.php:204
1170
+ #: ../admin/tinymce/window.php:131
1171
  msgid "Right"
1172
  msgstr "Rechts"
1173
 
1174
  #: ../admin/media-upload.php:208
1175
+ #: ../admin/settings.php:442
1176
  msgid "Size"
1177
  msgstr "Größe"
1178
 
1420
  msgid "Update capabilities"
1421
  msgstr "Rechte aktualisieren"
1422
 
1423
+ #: ../admin/settings.php:61
1424
  msgid "Cache cleared"
1425
  msgstr "Cache löschen"
1426
 
1427
+ #: ../admin/settings.php:109
1428
+ #: ../admin/settings.php:121
1429
  msgid "General Options"
1430
  msgstr "Allg. Optionen"
1431
 
1432
+ #: ../admin/settings.php:110
1433
+ #: ../admin/settings.php:291
1434
  msgid "Thumbnails"
1435
  msgstr "Thumbnails"
1436
 
1437
+ #: ../admin/settings.php:111
1438
  msgid "Images"
1439
  msgstr "Bilder"
1440
 
1441
+ #: ../admin/settings.php:113
1442
+ #: ../admin/settings.php:328
1443
  msgid "Effects"
1444
  msgstr "Effekte"
1445
 
1446
+ #: ../admin/settings.php:114
1447
+ #: ../admin/settings.php:366
1448
+ #: ../admin/tinymce/window.php:119
1449
  msgid "Watermark"
1450
  msgstr "Wasserzeichen"
1451
 
1452
+ #: ../admin/settings.php:115
1453
+ #: ../admin/settings.php:292
1454
+ #: ../admin/settings.php:470
1455
+ #: ../admin/tinymce/window.php:58
1456
  msgid "Slideshow"
1457
  msgstr "Slideshow"
1458
 
1459
+ #: ../admin/settings.php:127
1460
  #: ../admin/wpmu.php:48
1461
  msgid "Gallery path"
1462
  msgstr "Galerie-Pfad"
1463
 
1464
+ #: ../admin/settings.php:129
1465
  msgid "This is the default path for all galleries"
1466
  msgstr "Dies ist der Standard-Pfad für alle Galerien"
1467
 
1468
+ #: ../admin/settings.php:132
1469
  msgid "Delete image files"
1470
  msgstr "Lösche Bilddateien"
1471
 
1472
+ #: ../admin/settings.php:134
1473
  msgid "Delete files, when removing a gallery in the database"
1474
  msgstr "Löscht auch die Dateien, falls die Galerie aus der Datenbank entfernt wird"
1475
 
1476
+ #: ../admin/settings.php:137
1477
  msgid "Activate permalinks"
1478
  msgstr "Aktiviere Permalinks"
1479
 
1480
+ #: ../admin/settings.php:139
1481
  msgid "When you activate this option, you need to update your permalink structure one time."
1482
  msgstr "Wenn du diese Option aktivierst, muss du einmal die Permalink Struktur aktualisieren."
1483
 
1484
+ #: ../admin/settings.php:142
1485
  msgid "Select graphic library"
1486
  msgstr "Wähle Grafik-Bibliothek"
1487
 
1488
+ #: ../admin/settings.php:143
1489
  msgid "GD Library"
1490
  msgstr "GD Bibliothek"
1491
 
1492
+ #: ../admin/settings.php:144
1493
  msgid "ImageMagick (Experimental). Path to the library :"
1494
  msgstr "ImageMagick (Experimental). Pfad zur Bibliothek :"
1495
 
1496
+ #: ../admin/settings.php:149
1497
  msgid "Activate Media RSS feed"
1498
  msgstr "Aktiviere Media RSS Feed"
1499
 
1500
+ #: ../admin/settings.php:151
1501
  msgid "A RSS feed will be added to you blog header. Usefull for CoolIris/PicLens"
1502
  msgstr "Ein Bilder-RSS Feed wird zum Blog hinzugefügt"
1503
 
1504
+ #: ../admin/settings.php:154
1505
  msgid "Activate PicLens/CoolIris support"
1506
  msgstr "Aktiviere PicLens/CoolIris"
1507
 
1508
+ #: ../admin/settings.php:156
1509
  msgid "When you activate this option, some javascript is added to your site footer. Make sure that wp_footer is called in your theme."
1510
  msgstr "Dieser Effekt fügt ein neues Javascript zu deinem Theme hinzu. Beachte das wp_footer() in deinen Vorlagen aufgerufen wird."
1511
 
1512
+ #: ../admin/settings.php:159
1513
  msgid "Tags / Categories"
1514
  msgstr "Stichwörter / Kategorien"
1515
 
1516
+ #: ../admin/settings.php:162
1517
  msgid "Activate related images"
1518
  msgstr "Verwandte Bilder anzeigen"
1519
 
1520
+ #: ../admin/settings.php:164
1521
  msgid "This option will append related images to every post"
1522
  msgstr "Diese Option hängt verwandte Bilder an jeden Beitrag"
1523
 
1524
+ #: ../admin/settings.php:168
1525
  msgid "Match with"
1526
  msgstr "Vergleiche mit"
1527
 
1528
+ #: ../admin/settings.php:169
1529
  msgid "Categories"
1530
  msgstr "Kategorien"
1531
 
1532
+ #: ../admin/settings.php:174
1533
  msgid "Max. number of images"
1534
  msgstr "Max. Anzahl der Bilder"
1535
 
1536
+ #: ../admin/settings.php:176
1537
  msgid "0 will show all images"
1538
  msgstr "0 zeige alle verwandten Bilder"
1539
 
1540
+ #: ../admin/settings.php:187
1541
  msgid "Thumbnail settings"
1542
  msgstr "Thumbnail Einstellungen"
1543
 
1544
+ #: ../admin/settings.php:191
1545
  msgid "Please note : If you change the settings, you need to recreate the thumbnails under -> Manage Gallery ."
1546
  msgstr "Bitte beachten : Änderungen der Einstellungen werden erst übernommen, wenn Du neue Thumbnails unter -> \"Gallery verwalten\" erstellst"
1547
 
1548
+ #: ../admin/settings.php:194
1549
  msgid "Width x height (in pixel)"
1550
  msgstr "Breite x Höhe (in Pixel)"
1551
 
1552
+ #: ../admin/settings.php:196
1553
  msgid "These values are maximum values "
1554
  msgstr "Diese Angaben sind maximale Angaben."
1555
 
1556
+ #: ../admin/settings.php:199
1557
  msgid "Set fix dimension"
1558
  msgstr "Setze fixe Größe"
1559
 
1560
+ #: ../admin/settings.php:201
1561
  msgid "Ignore the aspect ratio, no portrait thumbnails"
1562
  msgstr "Ignoriere Bildseitenverhältnis"
1563
 
1564
+ #: ../admin/settings.php:204
1565
  msgid "Crop square thumbnail from image"
1566
  msgstr "Mittige Thumbnails aus Bildern ausschneiden"
1567
 
1568
+ #: ../admin/settings.php:206
1569
  msgid "Create square thumbnails, use only the width setting :"
1570
  msgstr "Erstellt viereckige Thumbnails, nutzt nur den Wert der Breite :"
1571
 
1572
+ #: ../admin/settings.php:209
1573
  msgid "Thumbnail quality"
1574
  msgstr "Thumbnail Qualität"
1575
 
1576
+ #: ../admin/settings.php:220
1577
  msgid "Image settings"
1578
  msgstr "Bild Einstellungen"
1579
 
1580
+ #: ../admin/settings.php:226
1581
  msgid "Resize Images"
1582
  msgstr "Bilder verkleinern"
1583
 
1584
+ #: ../admin/settings.php:230
1585
  msgid "Width x height (in pixel). NextGEN Gallery will keep ratio size"
1586
  msgstr "Breite x Höhe (in Pixel). NextGEN Galerie beachtet das Seitenverhältnis."
1587
 
1588
+ #: ../admin/settings.php:233
1589
  msgid "Image quality"
1590
  msgstr "Bild Qualität"
1591
 
1592
+ #: ../admin/settings.php:238
1593
  msgid "Single picture"
1594
  msgstr "Einzelbilder"
1595
 
1596
+ #: ../admin/settings.php:241
1597
  msgid "Cache single pictures"
1598
  msgstr "Nutze Cache für Einzelbidler"
1599
 
1600
+ #: ../admin/settings.php:244
1601
  msgid "Creates a file for each singlepic settings. Reduce the CPU load"
1602
  msgstr "Erstellt ein Cache-Bild für jedes Einzelbild (singlepic). Reduziert die CPU Belastung."
1603
 
1604
+ #: ../admin/settings.php:247
1605
  msgid "Clear cache folder"
1606
  msgstr "Lösche Cache Verzeichnis"
1607
 
1608
+ #: ../admin/settings.php:249
1609
  msgid "Proceed now"
1610
  msgstr "Jetzt durchführen"
1611
 
1612
+ #: ../admin/settings.php:265
1613
  msgid "Deactivate gallery page link"
1614
  msgstr "Keine Seitenverzweigung"
1615
 
1616
+ #: ../admin/settings.php:267
1617
  msgid "The album will not link to a gallery subpage. The gallery is shown on the same page."
1618
  msgstr "Ein Album benötigt dann keinen Link zur Seite. Die Galerie wird direkt angezeigt."
1619
 
1620
+ #: ../admin/settings.php:271
1621
  msgid "Number of images per page"
1622
  msgstr "Anzahl der Bilder pro Seite"
1623
 
1624
+ #: ../admin/settings.php:273
1625
  msgid "0 will disable pagination, all images on one page"
1626
  msgstr "0 schaltet Blätterfunktion ab ( = alle Bilder auf einer Seite )"
1627
 
1628
+ #: ../admin/settings.php:277
1629
+ msgid "Number of columns"
1630
+ msgstr "Anzahl der Spalten"
1631
+
1632
+ #: ../admin/settings.php:279
1633
+ msgid "0 will display as much as possible based on the width of your theme. Setting normally only required for captions below the images"
1634
+ msgstr "Mit \"0\" werden soviele Bilder wie möglich in einer Reihe dargestellt. Die Einstellung ist normalerweise nur für Beschriftungen unterhalb der Bilder sinnvoll."
1635
+
1636
+ #: ../admin/settings.php:283
1637
  msgid "Integrate slideshow"
1638
  msgstr "Slideshow verwenden"
1639
 
1640
+ #: ../admin/settings.php:290
1641
  msgid "Show first"
1642
  msgstr "Zeige als Erstes"
1643
 
1644
+ #: ../admin/settings.php:296
1645
  msgid "Show ImageBrowser"
1646
  msgstr "Zeige Bilder Browser"
1647
 
1648
+ #: ../admin/settings.php:298
1649
  msgid "The gallery will open the ImageBrowser instead the effect."
1650
  msgstr "Es wird der Bilder Browser angezeigt (Kein JavaScript Effekt)"
1651
 
1652
+ #: ../admin/settings.php:302
1653
  msgid "Sort options"
1654
  msgstr "Sortierung"
1655
 
1656
+ #: ../admin/settings.php:305
1657
  msgid "Sort thumbnails"
1658
  msgstr "Thumbnails sortieren"
1659
 
1660
+ #: ../admin/settings.php:307
1661
  msgid "Custom order"
1662
  msgstr "Benutzerdefiniert"
1663
 
1664
+ #: ../admin/settings.php:309
1665
+ msgid "File name"
1666
+ msgstr "Dateiname"
1667
+
1668
+ #: ../admin/settings.php:310
1669
  msgid "Alt / Title text"
1670
  msgstr "Alt / Titel Text"
1671
 
1672
+ #: ../admin/settings.php:311
1673
  msgid "Date / Time"
1674
  msgstr "Datum/Zeit"
1675
 
1676
+ #: ../admin/settings.php:315
1677
  msgid "Sort direction"
1678
  msgstr "Sortierreihenfolge"
1679
 
1680
+ #: ../admin/settings.php:332
1681
  msgid "Here you can select the thumbnail effect, NextGEN Gallery will integrate the required HTML code in the images. Please note that only the Thickbox effect will automatic added to your theme."
1682
  msgstr "Hier kannst Du den Effekt für die Thumbnails auswählen. NextGEN Galerie wird den benötigten HTML Code verwenden. Bitte beachte, das nur der Thickbox Effekt automatisch in Dein Theme von Wordpress integriert wird. Alle anderen Effekte mußt Du selbst in die header.php eintragen (JS)."
1683
 
1684
+ #: ../admin/settings.php:333
1685
  msgid "With the placeholder"
1686
  msgstr "Mit Platzhalter"
1687
 
1688
+ #: ../admin/settings.php:333
1689
  msgid "you can activate a navigation through the images (depend on the effect). Change the code line only , when you use a different thumbnail effect or you know what you do."
1690
  msgstr "Du kannst eine Navigation durch die Bilder aktivieren (hängt vom Effekt ab). Ändere nur die Codezeile falls Du einen anderen Effekt für die Thumbnails verwendest oder einfach weißt, was Du tust."
1691
 
1692
+ #: ../admin/settings.php:336
1693
  msgid "JavaScript Thumbnail effect"
1694
  msgstr "JavaScript Thumbnail Effekt"
1695
 
1696
+ #: ../admin/settings.php:340
1697
  msgid "Thickbox"
1698
  msgstr "Thickbox"
1699
 
1700
+ #: ../admin/settings.php:341
1701
  msgid "Lightbox"
1702
  msgstr "Lightbox"
1703
 
1704
+ #: ../admin/settings.php:342
1705
  msgid "Highslide"
1706
  msgstr "Highslide"
1707
 
1708
+ #: ../admin/settings.php:343
1709
  msgid "Shutter"
1710
  msgstr "Shutter"
1711
 
1712
+ #: ../admin/settings.php:344
1713
  msgid "Custom"
1714
  msgstr "Eigener"
1715
 
1716
+ #: ../admin/settings.php:349
1717
  msgid "Link Code line"
1718
  msgstr "Link Code Zeile"
1719
 
1720
+ #: ../admin/settings.php:367
1721
  msgid "Please note : You can only activate the watermark under -> Manage Gallery . This action cannot be undone."
1722
  msgstr "Bitte beachten : Das Wasserzeichen kann nur unter der Galerieverwaltung gesetzt werden. "
1723
 
1724
+ #: ../admin/settings.php:372
1725
  msgid "Preview"
1726
  msgstr "Vorschau"
1727
 
1728
+ #: ../admin/settings.php:374
1729
+ #: ../admin/settings.php:379
1730
  msgid "Position"
1731
  msgstr "Position"
1732
 
1733
+ #: ../admin/settings.php:399
1734
  msgid "Offset"
1735
  msgstr "Abstand"
1736
 
1737
+ #: ../admin/settings.php:415
1738
  msgid "Use image as watermark"
1739
  msgstr "Benutze Bild als Wasserzeichen"
1740
 
1741
+ #: ../admin/settings.php:418
1742
  msgid "URL to file"
1743
  msgstr "URL zur Datei"
1744
 
1745
+ #: ../admin/settings.php:420
1746
  msgid "The accessing of URL files is disabled at your server (allow_url_fopen)"
1747
  msgstr "Der Dateizugriff von URL's ist auf diesem Server deaktiviert (allow_url_fopen)"
1748
 
1749
+ #: ../admin/settings.php:423
1750
  msgid "Use text as watermark"
1751
  msgstr "Benutze Text als Wasserzeichen"
1752
 
1753
+ #: ../admin/settings.php:426
1754
  msgid "Font"
1755
  msgstr "Schriftart"
1756
 
1757
+ #: ../admin/settings.php:435
1758
  msgid "This function will not work, cause you need the FreeType library"
1759
  msgstr "Diese Funktion benötigt die FreeType Bibliothek"
1760
 
1761
+ #: ../admin/settings.php:437
1762
  msgid "You can upload more fonts in the folder <strong>nggallery/fonts</strong>"
1763
  msgstr "Du kannst mehr Schriftarten in das Verzeichniss <strong>nggallery/fonts</strong> hochladen."
1764
 
1765
+ #: ../admin/settings.php:446
1766
  msgid "Color"
1767
  msgstr "Farbe"
1768
 
1769
+ #: ../admin/settings.php:448
1770
  msgid "(hex w/o #)"
1771
  msgstr "(hex w/o #)"
1772
 
1773
+ #: ../admin/settings.php:451
1774
  msgid "Text"
1775
  msgstr "Text"
1776
 
1777
+ #: ../admin/settings.php:455
1778
  msgid "Opaque"
1779
  msgstr "Transparenz"
1780
 
1781
+ #: ../admin/settings.php:475
1782
+ msgid "The path to imagerotator.swf is not defined, the slideshow will not work."
1783
+ msgstr "Der Pfad zu imagerotator.swf ist nicht gesetzt, die Flash-Diaschau kann dann nicht angezeigt werden"
1784
 
1785
+ #: ../admin/settings.php:476
1786
+ msgid "If you would like to use the JW Image Rotatator, please download the player <a href=\"http://www.longtailvideo.com/players/jw-image-rotator/\" target=\"_blank\" >here</a> and upload it to your Upload folder (Default is wp-content/uploads)."
1787
+ msgstr "Wenn du den JW Image Rotator (Slideshow) nutzen möchtest, lade dir die aktuelle Version <a href=\"http://www.longtailvideo.com/players/jw-image-rotator/\" target=\"_blank\" >hier</a> herunter und übertrage sie dann in dein WordPress Upload Verzeichnis (Normalerweise wp-content/uploads),"
1788
+
1789
+ #: ../admin/settings.php:481
1790
  msgid "The settings are used in the JW Image Rotator Version"
1791
  msgstr "Die Einstellungen werden im JW Image Rotator benutzt , in der Version"
1792
 
1793
+ #: ../admin/settings.php:482
1794
  msgid "See more information for the Flash Player on the web page"
1795
  msgstr "Weitere Informationen auf der Flash Player Homepage"
1796
 
1797
+ #: ../admin/settings.php:486
1798
+ msgid "Path to the Imagerotator (URL)"
1799
+ msgstr "Pfad zum JW Image Rotator (URL)"
1800
+
1801
+ #: ../admin/settings.php:489
1802
+ msgid "Search now"
1803
+ msgstr "Suche jetzt"
1804
+
1805
+ #: ../admin/settings.php:490
1806
+ msgid "Press the button to search automatic for the imagerotator, if you uploaded it to wp-content/uploads or a subfolder"
1807
+ msgstr "Drücke 'Suche jetzt' um automatisch den Pfad zum Image Rotator zu ermitteln, sofern du den Player in wp-content/uploads oder ein Unterverzeichnis hochgeladen hast."
1808
+
1809
+ #: ../admin/settings.php:494
1810
  msgid "Default size (W x H)"
1811
  msgstr "Standard Größe (B x H)"
1812
 
1813
+ #: ../admin/settings.php:499
1814
  msgid "Shuffle mode"
1815
  msgstr "Shuffle Modus"
1816
 
1817
+ #: ../admin/settings.php:503
1818
  msgid "Show next image on click"
1819
  msgstr "Zeige nächstes Bild bei Klick"
1820
 
1821
+ #: ../admin/settings.php:507
1822
  msgid "Show navigation bar"
1823
  msgstr "Zeige Navigations-Leiste"
1824
 
1825
+ #: ../admin/settings.php:511
1826
  msgid "Show loading icon"
1827
  msgstr "Zeige Lade-Bildchen"
1828
 
1829
+ #: ../admin/settings.php:515
1830
  msgid "Use watermark logo"
1831
  msgstr "Wasserzeichen anzeigen"
1832
 
1833
+ #: ../admin/settings.php:517
1834
  msgid "You can change the logo at the watermark settings"
1835
  msgstr "Du kannst den Pfad in Einstellungen für da Wasserzeichen angeben"
1836
 
1837
+ #: ../admin/settings.php:520
1838
  msgid "Stretch image"
1839
  msgstr "Bild dehnen"
1840
 
1841
+ #: ../admin/settings.php:523
1842
  msgid "true"
1843
  msgstr "Ja"
1844
 
1845
+ #: ../admin/settings.php:524
1846
  msgid "false"
1847
  msgstr "Nein"
1848
 
1849
+ #: ../admin/settings.php:525
1850
  msgid "fit"
1851
  msgstr "Passend"
1852
 
1853
+ #: ../admin/settings.php:526
1854
  msgid "none"
1855
  msgstr "keiner"
1856
 
1857
+ #: ../admin/settings.php:531
1858
  msgid "Duration time"
1859
  msgstr "Dauer"
1860
 
1861
+ #: ../admin/settings.php:532
1862
  msgid "sec."
1863
  msgstr "Sek."
1864
 
1865
+ #: ../admin/settings.php:535
1866
  msgid "Transition / Fade effect"
1867
  msgstr "Fade Effekt"
1868
 
1869
+ #: ../admin/settings.php:538
1870
  msgid "fade"
1871
  msgstr "Fade"
1872
 
1873
+ #: ../admin/settings.php:539
1874
  msgid "bgfade"
1875
  msgstr "BGFade"
1876
 
1877
+ #: ../admin/settings.php:540
1878
  msgid "slowfade"
1879
  msgstr "Slowfade"
1880
 
1881
+ #: ../admin/settings.php:541
1882
  msgid "circles"
1883
  msgstr "Kreise"
1884
 
1885
+ #: ../admin/settings.php:542
1886
  msgid "bubbles"
1887
  msgstr "Blasen"
1888
 
1889
+ #: ../admin/settings.php:543
1890
  msgid "blocks"
1891
  msgstr "Blöcke"
1892
 
1893
+ #: ../admin/settings.php:544
1894
  msgid "fluids"
1895
  msgstr "Fluids"
1896
 
1897
+ #: ../admin/settings.php:545
1898
  msgid "flash"
1899
  msgstr "Flash"
1900
 
1901
+ #: ../admin/settings.php:546
1902
  msgid "lines"
1903
  msgstr "Linien"
1904
 
1905
+ #: ../admin/settings.php:547
1906
  msgid "random"
1907
  msgstr "Zufall"
1908
 
1909
+ #: ../admin/settings.php:551
1910
  msgid "Use slow zooming effect"
1911
  msgstr "nutze Zoom Effekt"
1912
 
1913
+ #: ../admin/settings.php:555
1914
  msgid "Background Color"
1915
  msgstr "Hintergrund (BG) Farbe"
1916
 
1917
+ #: ../admin/settings.php:560
1918
  msgid "Texts / Buttons Color"
1919
  msgstr "Text- / Button Farbe"
1920
 
1921
+ #: ../admin/settings.php:565
1922
  msgid "Rollover / Active Color"
1923
  msgstr "Rollover / Aktiv (Link) Farbe"
1924
 
1925
+ #: ../admin/settings.php:570
1926
  msgid "Screen Color"
1927
  msgstr "Seiten Farbe"
1928
 
1929
+ #: ../admin/settings.php:575
1930
  msgid "Background music (URL)"
1931
  msgstr "Hintergrundmusik (URL)"
1932
 
1933
+ #: ../admin/settings.php:579
1934
  msgid "Try XHTML validation (with CDATA)"
1935
  msgstr "Integriere XHTML Validierung (mittels CDATA)"
1936
 
1937
+ #: ../admin/settings.php:581
1938
  msgid "Important : Could causes problem at some browser. Please recheck your page."
1939
  msgstr "Wichtig : Es könnnten Probleme bei einigen Browser auftauchen. Unbedingt Seite prüfen."
1940
 
2203
  msgid "Slug(s) to set:"
2204
  msgstr "Schlagwörter setzen:"
2205
 
2206
+ #: ../admin/upgrade.php:20
2207
  msgid "Upgrade database structure..."
2208
  msgstr "Aktualisiere die Datenbank-Struturen..."
2209
 
2210
+ #: ../admin/upgrade.php:78
2211
+ #: ../admin/upgrade.php:88
2212
+ #: ../admin/upgrade.php:95
2213
+ #: ../admin/upgrade.php:106
2214
  msgid "finished"
2215
  msgstr "beendet"
2216
 
2217
+ #: ../admin/upgrade.php:86
2218
  msgid "Update file structure..."
2219
  msgstr "Aktualisiere Verzeichnisse..."
2220
 
2221
+ #: ../admin/upgrade.php:93
2222
  msgid "Import date and time information..."
2223
  msgstr "Importiere Datum/Uhrzeit..."
2224
 
2225
+ #: ../admin/upgrade.php:101
2226
+ msgid "Move imagerotator to new location..."
2227
+ msgstr "Verschiebe den Image Rotator in ein neues Verzeichnis..."
2228
+
2229
+ #: ../admin/upgrade.php:170
2230
  msgid "Some folders/files could not renamed, please recheck the permission and rescan the folder in the manage gallery section."
2231
  msgstr "Einige Verzeichnisse / Bilder konnten nicht umbenannt werden, bitte überprüfe die Zugriffsrechte und Scanne dann das Verzeichnis neu ein."
2232
 
2233
+ #: ../admin/upgrade.php:172
2234
  msgid "Rename failed"
2235
  msgstr "Konnte nicht umbenannt werden"
2236
 
2237
+ #: ../admin/upgrade.php:267
2238
+ #: ../admin/upgrade.php:287
2239
  msgid "Upgrade NextGEN Gallery"
2240
  msgstr "NextGEN Gallery aktualisieren"
2241
 
2242
+ #: ../admin/upgrade.php:268
2243
  msgid "The script detect that you upgrade from a older version."
2244
  msgstr "Es wurde eine ältere NextGEN Datenbank erkannt."
2245
 
2246
+ #: ../admin/upgrade.php:269
2247
  msgid "Your database tables for NextGEN Gallery is out-of-date, and must be upgraded before you can continue."
2248
  msgstr "Deinen Datenbank für NextGEN Gallery ist nicht auf dem aktuellen Stand, Sie muss jetzt aktualisiert werden."
2249
 
2250
+ #: ../admin/upgrade.php:270
2251
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
2252
  msgstr "Wenn du wieder auf eine älter Version zurückgehen möchtest, musst du vorher die Datenbank sichern."
2253
 
2254
+ #: ../admin/upgrade.php:271
2255
  msgid "The upgrade process may take a while, so please be patient."
2256
  msgstr "Der Upgrade Prozess kann etwas dauern, bitte sei geduldig..."
2257
 
2258
+ #: ../admin/upgrade.php:272
2259
  msgid "Start upgrade now"
2260
  msgstr "Aktualisierung starten"
2261
 
2262
+ #: ../admin/upgrade.php:289
2263
  msgid "Upgrade sucessfull"
2264
  msgstr "Aktualisierung erfolgreich"
2265
 
2266
+ #: ../admin/upgrade.php:290
2267
  msgid "Continue"
2268
  msgstr "Weiter"
2269
 
2327
  msgid "Select gallery"
2328
  msgstr "Wähle Galerie"
2329
 
2330
+ #: ../admin/tinymce/window.php:56
2331
+ #: ../admin/tinymce/window.php:84
2332
  msgid "Show as"
2333
  msgstr "Zeige als"
2334
 
2335
+ #: ../admin/tinymce/window.php:57
2336
  msgid "Image list"
2337
  msgstr "Bilder-Liste"
2338
 
2339
+ #: ../admin/tinymce/window.php:59
2340
  msgid "Imagebrowser"
2341
  msgstr "Bilder Browser"
2342
 
2343
+ #: ../admin/tinymce/window.php:72
2344
  msgid "No album"
2345
  msgstr "Kein Album"
2346
 
2347
+ #: ../admin/tinymce/window.php:85
2348
  msgid "Extended version"
2349
  msgstr "Erweiterte Version"
2350
 
2351
+ #: ../admin/tinymce/window.php:86
2352
  msgid "Compact version"
2353
  msgstr "Kompakte Version"
2354
 
2355
+ #: ../admin/tinymce/window.php:97
2356
  msgid "Select picture"
2357
  msgstr "Wähle Bild"
2358
 
2359
+ #: ../admin/tinymce/window.php:99
2360
  msgid "No picture"
2361
  msgstr "Kein Bild"
2362
 
2363
+ #: ../admin/tinymce/window.php:111
2364
  msgid "Width x Height"
2365
  msgstr "Breite x Höhe"
2366
 
2367
+ #: ../admin/tinymce/window.php:115
2368
  msgid "Effect"
2369
  msgstr "Effekt"
2370
 
2371
+ #: ../admin/tinymce/window.php:118
2372
  msgid "No effect"
2373
  msgstr "Kein Effekt"
2374
 
2375
+ #: ../admin/tinymce/window.php:120
2376
  msgid "Web 2.0"
2377
  msgstr "Web 2.0"
2378
 
2379
+ #: ../admin/tinymce/window.php:125
2380
  msgid "Float"
2381
  msgstr "Float"
2382
 
2383
+ #: ../admin/tinymce/window.php:128
2384
  msgid "No float"
2385
  msgstr "Kein Float"
2386
 
2387
+ #: ../admin/tinymce/window.php:147
2388
  msgid "Insert"
2389
  msgstr "Einfügen"
2390
 
2511
  msgid "Format"
2512
  msgstr "Format"
2513
 
2514
+ #: ../lib/ngg-db.php:243
2515
  msgid "Album overview"
2516
  msgstr "Album Übersicht"
2517
 
2592
  msgid "Photos"
2593
  msgstr "Fotos"
2594
 
2595
+ #: ../view/gallery-caption.php:32
2596
  #: ../view/gallery.php:32
2597
  #: ../widgets/media-rss-widget.php:236
2598
  msgid "[View with PicLens]"
2645
  msgstr "Link zum Bilder-Feed"
2646
 
2647
  #: ../widgets/media-rss-widget.php:153
 
2648
  msgid "Title:"
2649
  msgstr "Titel:"
2650
 
2677
  msgid "<a href=\"http://www.macromedia.com/go/getflashplayer\">Get the Flash Player</a> to see the slideshow."
2678
  msgstr "<a href=\"http://www.macromedia.com/go/getflashplayer\">Lade Dir den Flash Player</a> um die Diashow zu sehen."
2679
 
2680
+ #: ../widgets/widgets.php:135
2681
  msgid "Select Gallery:"
2682
  msgstr "Wähle Galerie"
2683
 
2684
+ #: ../widgets/widgets.php:137
2685
  msgid "All images"
2686
  msgstr "Alle Bilder"
2687
 
2688
+ #: ../widgets/widgets.php:150
2689
  msgid "Height:"
2690
  msgstr "Höhe:"
2691
 
2692
+ #: ../widgets/widgets.php:151
2693
  msgid "Width:"
2694
  msgstr "Breite:"
2695
 
2696
+ #: ../widgets/widgets.php:184
2697
  msgid "Add recent or random images from the galleries"
2698
  msgstr "Füge die neusten Bilder oder Zufallsbilder aus NextGEN Gallery ein"
2699
 
2700
+ #: ../widgets/widgets.php:186
2701
  msgid "NextGEN Widget"
2702
  msgstr "NextGEN Widget"
2703
 
2704
+ #: ../widgets/widgets.php:284
2705
  msgid "Title :"
2706
  msgstr "Titel :"
2707
 
2708
+ #: ../widgets/widgets.php:290
2709
  msgid "Show :"
2710
  msgstr "Zeige als :"
2711
 
2712
+ #: ../widgets/widgets.php:296
2713
  msgid "Orginal images"
2714
  msgstr "Orginal Bilder"
2715
 
2716
+ #: ../widgets/widgets.php:304
2717
  msgid "recent added "
2718
  msgstr "zuletzt hinzugefügt"
2719
 
2720
+ #: ../widgets/widgets.php:309
2721
  msgid "Width x Height :"
2722
  msgstr "Breite x Höhe :"
2723
 
2724
+ #: ../widgets/widgets.php:316
2725
  msgid "Select :"
2726
  msgstr "Wähle :"
2727
 
2728
+ #: ../widgets/widgets.php:318
2729
  msgid "All galleries"
2730
  msgstr "Alle Galerien"
2731
 
2732
+ #: ../widgets/widgets.php:319
2733
  msgid "Only which are not listed"
2734
  msgstr "Nur ungelistete"
2735
 
2736
+ #: ../widgets/widgets.php:320
2737
  msgid "Only which are listed"
2738
  msgstr "Nur gelistete"
2739
 
2740
+ #: ../widgets/widgets.php:326
2741
  msgid "Gallery ID :"
2742
  msgstr "Galerie ID :"
2743
 
2744
+ #: ../widgets/widgets.php:328
2745
  msgid "Gallery IDs, separated by commas."
2746
  msgstr "Galerie ID's, mit Kommas getrennt"
2747
 
2768
  msgid "Invalid MediaRSS command (%s)."
2769
  msgstr "Ungültiger Media RSS Befehl (%s)"
2770
 
2771
+ #~ msgid "Show tags"
2772
+ #~ msgstr "Zeige Tags"
2773
+ #~ msgid "Hide tags"
2774
+ #~ msgstr "Verstecke Tags"
2775
+ #~ msgid "Delete this file ?"
2776
+ #~ msgstr "Diese Datei löschen ?"
2777
+ #~ msgid ""
2778
+ #~ "You are about to copy or move %s images \n"
2779
+ #~ " \n"
2780
+ #~ " 'Cancel' to stop, 'OK' to proceed."
2781
+ #~ msgstr ""
2782
+ #~ "Willst du wirklich %s Bild(er) verschieben \n"
2783
+ #~ " \n"
2784
+ #~ " 'Abbrechen' um zu stoppen, 'OK' um die Bearbeitung durchzuführen."
2785
+ #~ msgid "Date"
2786
+ #~ msgstr "Datum"
2787
+ #~ msgid "Hide thumbnails "
2788
+ #~ msgstr "Thumbnails verstecken"
2789
+ #~ msgid "Show thumbnails "
2790
+ #~ msgstr "Thumbnails zeigen"
2791
  #~ msgid "Add Gallery"
2792
  #~ msgstr "Bilder/Galerie hinzufügen"
2793
  #~ msgid "Manage galleries"
2854
  #~ msgstr "Wasserzeichen erfolgreich erstellt"
2855
  #~ msgid "Images successfully resized"
2856
  #~ msgstr "Bilder erfolgreich verkleinert"
 
 
2857
  #~ msgid " (require WordPress 2.3 or higher)"
2858
  #~ msgstr " (benötigt WordPress 2.3 oder höher)"
2859
  #~ msgid "Show thumbnail description"
2895
  #~ msgstr "Bilder löschen ?"
2896
  #~ msgid "Browse your files"
2897
  #~ msgstr "Durchsuche deine Dateien"
 
 
2898
  #~ msgid "Direct link to file"
2899
  #~ msgstr "Link zur Datei"
2900
  #~ msgid "Show:"
2905
  #~ msgstr "Datei"
2906
  #~ msgid "Send to editor &raquo;"
2907
  #~ msgstr "Zum Editor schicken &raquo;"
 
 
2908
  #~ msgid ""
2909
  #~ "Are you sure you want to delete the file '%s'?\n"
2910
  #~ "Click ok to delete or cancel to go back."
lang/nggallery.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: NextGEN Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-12-15 12:50+0100\n"
6
- "PO-Revision-Date: 2008-12-15 12:50+0100\n"
7
  "Last-Translator: Alex Rabe <no@email.com>\n"
8
  "Language-Team: Alex Rabe\n"
9
  "MIME-Version: 1.0\n"
@@ -17,53 +17,53 @@ msgstr ""
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
19
 
20
- #: ../nggallery.php:153
21
  msgid "Sorry, NextGEN Gallery works only with a Memory Limit of 16 MB higher"
22
  msgstr ""
23
 
24
- #: ../nggallery.php:180
25
  msgid "Picture tag"
26
  msgstr ""
27
 
28
- #: ../nggallery.php:181
29
  msgid "Picture tag: %2$l."
30
  msgstr ""
31
 
32
- #: ../nggallery.php:182
33
  msgid "Separate picture tags with commas."
34
  msgstr ""
35
 
36
- #: ../nggallery.php:276
37
  msgid "L O A D I N G"
38
  msgstr ""
39
 
40
- #: ../nggallery.php:277
41
  msgid "Click to Close"
42
  msgstr ""
43
 
44
- #: ../nggfunctions.php:32
45
  msgid "The <a href=\"http://www.macromedia.com/go/getflashplayer\">Flash Player</a> and <a href=\"http://www.mozilla.com/firefox/\">a browser with Javascript support</a> are needed.."
46
  msgstr ""
47
 
48
- #: ../nggfunctions.php:96
49
- #: ../nggfunctions.php:393
50
  msgid "[Gallery not found]"
51
  msgstr ""
52
 
53
- #: ../nggfunctions.php:278
54
  msgid "[Album not found]"
55
  msgstr ""
56
 
57
- #: ../nggfunctions.php:495
58
  msgid "[SinglePic not found]"
59
  msgstr ""
60
 
61
- #: ../nggfunctions.php:614
62
  msgid "Related images for"
63
  msgstr ""
64
 
65
- #: ../nggfunctions.php:649
66
- #: ../admin/admin.php:30
67
  msgid "Overview"
68
  msgstr ""
69
 
@@ -208,7 +208,7 @@ msgid "Browse..."
208
  msgstr ""
209
 
210
  #: ../admin/addgallery.php:123
211
- #: ../admin/addgallery.php:271
212
  msgid "Upload images"
213
  msgstr ""
214
 
@@ -223,12 +223,12 @@ msgid "Upload a Zip-File"
223
  msgstr ""
224
 
225
  #: ../admin/addgallery.php:172
226
- #: ../admin/addgallery.php:227
227
  msgid "Import image folder"
228
  msgstr ""
229
 
230
  #: ../admin/addgallery.php:174
231
- #: ../admin/addgallery.php:244
232
  msgid "Upload Images"
233
  msgstr ""
234
 
@@ -257,7 +257,7 @@ msgid "Upload a zip file with images"
257
  msgstr ""
258
 
259
  #: ../admin/addgallery.php:208
260
- #: ../admin/addgallery.php:253
261
  msgid "in to"
262
  msgstr ""
263
 
@@ -265,232 +265,233 @@ msgstr ""
265
  msgid "a new gallery"
266
  msgstr ""
267
 
268
- #: ../admin/addgallery.php:216
269
- #: ../admin/addgallery.php:261
270
  msgid "Note : The upload limit on your server is "
271
  msgstr ""
272
 
273
- #: ../admin/addgallery.php:220
274
  msgid "Start upload"
275
  msgstr ""
276
 
277
- #: ../admin/addgallery.php:232
278
  msgid "Import from Server path:"
279
  msgstr ""
280
 
281
- #: ../admin/addgallery.php:234
282
  msgid "Import a folder with all images."
283
  msgstr ""
284
 
285
- #: ../admin/addgallery.php:235
286
  msgid " Please note : For safe-mode = ON you need to add the subfolder thumbs manually"
287
  msgstr ""
288
 
289
- #: ../admin/addgallery.php:238
290
  msgid "Import folder"
291
  msgstr ""
292
 
293
- #: ../admin/addgallery.php:249
294
  msgid "Upload image"
295
  msgstr ""
296
 
297
- #: ../admin/addgallery.php:255
298
  msgid "Choose gallery"
299
  msgstr ""
300
 
301
- #: ../admin/addgallery.php:267
302
  msgid "The batch upload requires Adobe Flash 9, disable it if you have problems"
303
  msgstr ""
304
 
305
- #: ../admin/addgallery.php:267
306
  msgid "Disable flash upload"
307
  msgstr ""
308
 
309
- #: ../admin/addgallery.php:269
310
  msgid "Upload multiple files at once by ctrl/shift-selecting in dialog"
311
  msgstr ""
312
 
313
- #: ../admin/addgallery.php:269
314
  msgid "Enable flash based upload"
315
  msgstr ""
316
 
317
- #: ../admin/admin.php:29
318
- #: ../admin/admin.php:200
 
319
  #: ../admin/functions.php:81
320
  #: ../admin/functions.php:142
321
- #: ../admin/manage-images.php:120
322
- #: ../admin/manage.php:84
323
  msgid "Gallery"
324
  msgid_plural "Galleries"
325
  msgstr[0] ""
326
  msgstr[1] ""
327
 
328
- #: ../admin/admin.php:31
329
  msgid "Add Gallery / Images"
330
  msgstr ""
331
 
332
- #: ../admin/admin.php:32
333
  msgid "Manage Gallery"
334
  msgstr ""
335
 
336
- #: ../admin/admin.php:33
337
  msgid "Album"
338
  msgid_plural "Albums"
339
  msgstr[0] ""
340
  msgstr[1] ""
341
 
342
- #: ../admin/admin.php:34
343
  msgid "Tags"
344
  msgstr ""
345
 
346
- #: ../admin/admin.php:35
347
  msgid "Options"
348
  msgstr ""
349
 
350
- #: ../admin/admin.php:37
351
  msgid "Style"
352
  msgstr ""
353
 
354
- #: ../admin/admin.php:38
355
  msgid "Setup Gallery"
356
  msgstr ""
357
 
358
- #: ../admin/admin.php:38
359
  msgid "Setup"
360
  msgstr ""
361
 
362
- #: ../admin/admin.php:40
363
  msgid "Roles"
364
  msgstr ""
365
 
366
- #: ../admin/admin.php:41
367
  msgid "About this Gallery"
368
  msgstr ""
369
 
370
- #: ../admin/admin.php:41
371
  msgid "About"
372
  msgstr ""
373
 
374
- #: ../admin/admin.php:43
375
  msgid "NextGEN Gallery"
376
  msgstr ""
377
 
378
- #: ../admin/admin.php:68
379
  msgid "A new version of NextGEN Gallery is available !"
380
  msgstr ""
381
 
382
- #: ../admin/admin.php:68
383
  msgid "Download here"
384
  msgstr ""
385
 
386
- #: ../admin/admin.php:139
387
  msgid "You do not have the correct permission"
388
  msgstr ""
389
 
390
- #: ../admin/admin.php:140
391
  msgid "Unexpected Error"
392
  msgstr ""
393
 
394
- #: ../admin/admin.php:141
395
  msgid "A failure occurred"
396
  msgstr ""
397
 
398
- #: ../admin/admin.php:204
399
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Introduction</a>"
400
  msgstr ""
401
 
402
- #: ../admin/admin.php:207
403
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Setup</a>"
404
  msgstr ""
405
 
406
- #: ../admin/admin.php:210
407
  msgid "<a href=\"http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/languages/\" target=\"_blank\">Translation by alex rabe</a>"
408
  msgstr ""
409
 
410
- #: ../admin/admin.php:213
411
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Roles / Capabilities</a>"
412
  msgstr ""
413
 
414
- #: ../admin/admin.php:216
415
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Styles</a>"
416
  msgstr ""
417
 
418
- #: ../admin/admin.php:217
419
  msgid "Templates"
420
  msgstr ""
421
 
422
- #: ../admin/admin.php:220
423
  #: ../admin/admin.php:224
 
424
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery management</a>"
425
  msgstr ""
426
 
427
- #: ../admin/admin.php:221
428
  msgid "Gallery example"
429
  msgstr ""
430
 
431
- #: ../admin/admin.php:225
432
- #: ../admin/admin.php:235
433
  msgid "Gallery tags"
434
  msgstr ""
435
 
436
- #: ../admin/admin.php:228
437
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Album management</a>"
438
  msgstr ""
439
 
440
- #: ../admin/admin.php:229
441
  msgid "Album example"
442
  msgstr ""
443
 
444
- #: ../admin/admin.php:230
445
- #: ../admin/admin.php:236
446
  msgid "Album tags"
447
  msgstr ""
448
 
449
- #: ../admin/admin.php:233
450
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery tags</a>"
451
  msgstr ""
452
 
453
- #: ../admin/admin.php:234
454
  msgid "Related images"
455
  msgstr ""
456
 
457
- #: ../admin/admin.php:239
458
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-image-management/\" target=\"_blank\">Image management</a>"
459
  msgstr ""
460
 
461
- #: ../admin/admin.php:240
462
  msgid "Custom fields"
463
  msgstr ""
464
 
465
- #: ../admin/admin.php:245
466
  msgid "Get help with NextGEN Gallery"
467
  msgstr ""
468
 
469
- #: ../admin/admin.php:249
470
  msgid "More Help & Info"
471
  msgstr ""
472
 
473
- #: ../admin/admin.php:251
474
  msgid "<a href=\"http://wordpress.org/tags/nextgen-gallery\" target=\"_blank\">Support Forums</a>"
475
  msgstr ""
476
 
477
- #: ../admin/admin.php:252
478
  msgid "FAQ"
479
  msgstr ""
480
 
481
- #: ../admin/admin.php:253
482
  msgid "Feature request"
483
  msgstr ""
484
 
485
- #: ../admin/admin.php:254
486
  msgid "Get your language pack"
487
  msgstr ""
488
 
489
- #: ../admin/admin.php:255
490
  msgid "Contribute development"
491
  msgstr ""
492
 
493
- #: ../admin/admin.php:256
494
  msgid "Download latest version"
495
  msgstr ""
496
 
@@ -520,8 +521,8 @@ msgid "Update"
520
  msgstr ""
521
 
522
  #: ../admin/album.php:147
523
- #: ../admin/manage-galleries.php:55
524
- #: ../admin/manage-images.php:377
525
  msgid "Delete"
526
  msgstr ""
527
 
@@ -566,8 +567,8 @@ msgid "No album selected!"
566
  msgstr ""
567
 
568
  #: ../admin/album.php:254
569
- #: ../admin/manage-galleries.php:17
570
- #: ../admin/manage-images.php:473
571
  msgid "ID"
572
  msgstr ""
573
 
@@ -576,8 +577,8 @@ msgid "Name"
576
  msgstr ""
577
 
578
  #: ../admin/album.php:256
579
- #: ../admin/manage-galleries.php:18
580
- #: ../admin/manage-images.php:136
581
  msgid "Title"
582
  msgstr ""
583
 
@@ -664,8 +665,8 @@ msgstr ""
664
 
665
  #: ../admin/functions.php:161
666
  #: ../admin/functions.php:622
667
- #: ../admin/manage-images.php:207
668
- #: ../admin/manage.php:136
669
  msgid "Create new thumbnails"
670
  msgstr ""
671
 
@@ -802,52 +803,67 @@ msgstr ""
802
  msgid "NextGEN Gallery : Tables could not created, please check your database settings"
803
  msgstr ""
804
 
805
- #: ../admin/install.php:158
806
  msgid "[Show as slideshow]"
807
  msgstr ""
808
 
809
- #: ../admin/install.php:159
810
  msgid "[Show picture list]"
811
  msgstr ""
812
 
813
- #: ../admin/manage-galleries.php:12
 
 
 
 
 
 
 
 
 
 
814
  msgid "Gallery Overview"
815
  msgstr ""
816
 
817
- #: ../admin/manage-galleries.php:19
818
- #: ../admin/manage-images.php:147
819
- #: ../admin/manage-images.php:482
 
 
 
 
 
 
820
  msgid "Description"
821
  msgstr ""
822
 
823
- #: ../admin/manage-galleries.php:20
824
- #: ../admin/manage-images.php:167
825
  msgid "Author"
826
  msgstr ""
827
 
828
- #: ../admin/manage-galleries.php:21
829
  msgid "Page ID"
830
  msgstr ""
831
 
832
- #: ../admin/manage-galleries.php:22
833
  msgid "Quantity"
834
  msgstr ""
835
 
836
- #: ../admin/manage-galleries.php:23
837
- #: ../admin/manage-images.php:489
838
  msgid "Action"
839
  msgstr ""
840
 
841
- #: ../admin/manage-galleries.php:42
842
  msgid "Edit"
843
  msgstr ""
844
 
845
- #: ../admin/manage-galleries.php:55
846
  msgid "Delete this gallery ?"
847
  msgstr ""
848
 
849
- #: ../admin/manage-galleries.php:62
850
- #: ../admin/manage-images.php:392
851
  msgid "No entries found"
852
  msgstr ""
853
 
@@ -855,14 +871,11 @@ msgstr ""
855
  msgid "Gallery not found."
856
  msgstr ""
857
 
858
- #: ../admin/manage-images.php:88
859
- #: ../admin/manage-images.php:417
860
- #: ../admin/manage-images.php:454
861
  msgid "No images selected"
862
  msgstr ""
863
 
864
- #: ../admin/manage-images.php:102
865
- #: ../admin/manage-images.php:417
866
  #, php-format
867
  msgid ""
868
  "You are about to start the bulk edit for %s images \n"
@@ -870,181 +883,162 @@ msgid ""
870
  " 'Cancel' to stop, 'OK' to proceed."
871
  msgstr ""
872
 
873
- #: ../admin/manage-images.php:132
874
  msgid "Gallery settings"
875
  msgstr ""
876
 
877
- #: ../admin/manage-images.php:132
878
  msgid "Click here for more settings"
879
  msgstr ""
880
 
881
- #: ../admin/manage-images.php:138
882
  msgid "Page Link to"
883
  msgstr ""
884
 
885
- #: ../admin/manage-images.php:141
886
  msgid "Not linked"
887
  msgstr ""
888
 
889
- #: ../admin/manage-images.php:149
890
  msgid "Preview image"
891
  msgstr ""
892
 
893
- #: ../admin/manage-images.php:152
894
  msgid "No Picture"
895
  msgstr ""
896
 
897
- #: ../admin/manage-images.php:165
898
  msgid "Path"
899
  msgstr ""
900
 
901
- #: ../admin/manage-images.php:181
902
  msgid "Create new page"
903
  msgstr ""
904
 
905
- #: ../admin/manage-images.php:184
906
  msgid "Main page (No parent)"
907
  msgstr ""
908
 
909
- #: ../admin/manage-images.php:187
910
  msgid "Add page"
911
  msgstr ""
912
 
913
- #: ../admin/manage-images.php:193
914
  msgid "Scan Folder for new images"
915
  msgstr ""
916
 
917
- #: ../admin/manage-images.php:194
918
- #: ../admin/manage-images.php:243
919
- #: ../admin/manage-images.php:398
920
  msgid "Save Changes"
921
  msgstr ""
922
 
923
- #: ../admin/manage-images.php:204
924
  msgid "No action"
925
  msgstr ""
926
 
927
- #: ../admin/manage-images.php:206
928
- #: ../admin/manage.php:132
929
  msgid "Set watermark"
930
  msgstr ""
931
 
932
- #: ../admin/manage-images.php:208
933
- #: ../admin/manage.php:140
934
  msgid "Resize images"
935
  msgstr ""
936
 
937
- #: ../admin/manage-images.php:209
938
  msgid "Delete images"
939
  msgstr ""
940
 
941
- #: ../admin/manage-images.php:210
942
  msgid "Import metadata"
943
  msgstr ""
944
 
945
- #: ../admin/manage-images.php:211
946
  msgid "Copy to..."
947
  msgstr ""
948
 
949
- #: ../admin/manage-images.php:212
950
  msgid "Move to..."
951
  msgstr ""
952
 
953
- #: ../admin/manage-images.php:214
954
  msgid "Add tags"
955
  msgstr ""
956
 
957
- #: ../admin/manage-images.php:215
958
  msgid "Delete tags"
959
  msgstr ""
960
 
961
- #: ../admin/manage-images.php:216
962
  msgid "Overwrite tags"
963
  msgstr ""
964
 
965
- #: ../admin/manage-images.php:221
966
- #: ../admin/manage-images.php:223
967
- #: ../admin/manage-images.php:417
968
- #: ../admin/manage-images.php:454
969
  msgid "OK"
970
  msgstr ""
971
 
972
- #: ../admin/manage-images.php:227
973
- msgid "Hide thumbnails "
974
- msgstr ""
975
-
976
- #: ../admin/manage-images.php:229
977
- msgid "Show thumbnails "
978
- msgstr ""
979
-
980
- #: ../admin/manage-images.php:233
981
- msgid "Show tags"
982
  msgstr ""
983
 
984
- #: ../admin/manage-images.php:235
985
- msgid "Hide tags"
 
986
  msgstr ""
987
 
988
- #: ../admin/manage-images.php:239
989
- msgid "Sort gallery"
990
  msgstr ""
991
 
992
- #: ../admin/manage-images.php:376
993
  msgid "Show Meta data"
994
  msgstr ""
995
 
996
- #: ../admin/manage-images.php:376
997
  msgid "Meta"
998
  msgstr ""
999
 
1000
- #: ../admin/manage-images.php:377
1001
- msgid "Delete this file ?"
 
1002
  msgstr ""
1003
 
1004
- #: ../admin/manage-images.php:413
1005
  msgid "Enter the tags"
1006
  msgstr ""
1007
 
1008
- #: ../admin/manage-images.php:419
1009
- #: ../admin/manage-images.php:456
1010
  msgid "Cancel"
1011
  msgstr ""
1012
 
1013
- #: ../admin/manage-images.php:438
1014
  msgid "Select the destination gallery:"
1015
  msgstr ""
1016
 
1017
- #: ../admin/manage-images.php:454
1018
- #, php-format
1019
- msgid ""
1020
- "You are about to copy or move %s images \n"
1021
- " \n"
1022
- " 'Cancel' to stop, 'OK' to proceed."
1023
- msgstr ""
1024
-
1025
- #: ../admin/manage-images.php:476
1026
  msgid "Thumbnail"
1027
  msgstr ""
1028
 
1029
- #: ../admin/manage-images.php:476
1030
- #: ../admin/manage-images.php:478
1031
- msgid "Date"
1032
- msgstr ""
1033
-
1034
- #: ../admin/manage-images.php:478
1035
- msgid "File name"
1036
  msgstr ""
1037
 
1038
- #: ../admin/manage-images.php:482
1039
  msgid "Alt &amp; Title Text"
1040
  msgstr ""
1041
 
1042
- #: ../admin/manage-images.php:485
1043
- msgid "exclude"
1044
  msgstr ""
1045
 
1046
- #: ../admin/manage-images.php:487
1047
- msgid "Tags (comma separated list)"
1048
  msgstr ""
1049
 
1050
  #: ../admin/manage-sort.php:30
@@ -1075,10 +1069,6 @@ msgstr ""
1075
  msgid "Image ID"
1076
  msgstr ""
1077
 
1078
- #: ../admin/manage-sort.php:80
1079
- msgid "Filename"
1080
- msgstr ""
1081
-
1082
  #: ../admin/manage-sort.php:81
1083
  msgid "Alt/Title text"
1084
  msgstr ""
@@ -1095,40 +1085,40 @@ msgstr ""
1095
  msgid "Descending"
1096
  msgstr ""
1097
 
1098
- #: ../admin/manage.php:84
1099
- #: ../admin/manage.php:106
1100
  msgid "deleted successfully"
1101
  msgstr ""
1102
 
1103
- #: ../admin/manage.php:106
1104
  msgid "Picture"
1105
  msgstr ""
1106
 
1107
- #: ../admin/manage.php:157
1108
  msgid "Pictures deleted successfully "
1109
  msgstr ""
1110
 
1111
- #: ../admin/manage.php:163
1112
  msgid "Import metadata finished"
1113
  msgstr ""
1114
 
1115
- #: ../admin/manage.php:171
1116
  msgid "Operation successfull. Please clear your browser cache."
1117
  msgstr ""
1118
 
1119
- #: ../admin/manage.php:234
1120
  msgid "Tags changed"
1121
  msgstr ""
1122
 
1123
- #: ../admin/manage.php:264
1124
  msgid "Update successful"
1125
  msgstr ""
1126
 
1127
- #: ../admin/manage.php:297
1128
  msgid "New gallery page ID"
1129
  msgstr ""
1130
 
1131
- #: ../admin/manage.php:297
1132
  msgid "created"
1133
  msgstr ""
1134
 
@@ -1158,27 +1148,27 @@ msgid "Alignment"
1158
  msgstr ""
1159
 
1160
  #: ../admin/media-upload.php:198
1161
- #: ../admin/settings.php:325
1162
  msgid "None"
1163
  msgstr ""
1164
 
1165
  #: ../admin/media-upload.php:200
1166
- #: ../admin/tinymce/window.php:128
1167
  msgid "Left"
1168
  msgstr ""
1169
 
1170
  #: ../admin/media-upload.php:202
1171
- #: ../admin/tinymce/window.php:129
1172
  msgid "Center"
1173
  msgstr ""
1174
 
1175
  #: ../admin/media-upload.php:204
1176
- #: ../admin/tinymce/window.php:130
1177
  msgid "Right"
1178
  msgstr ""
1179
 
1180
  #: ../admin/media-upload.php:208
1181
- #: ../admin/settings.php:428
1182
  msgid "Size"
1183
  msgstr ""
1184
 
@@ -1426,493 +1416,521 @@ msgstr ""
1426
  msgid "Update capabilities"
1427
  msgstr ""
1428
 
1429
- #: ../admin/settings.php:53
1430
  msgid "Cache cleared"
1431
  msgstr ""
1432
 
1433
- #: ../admin/settings.php:101
1434
- #: ../admin/settings.php:113
1435
  msgid "General Options"
1436
  msgstr ""
1437
 
1438
- #: ../admin/settings.php:102
1439
- #: ../admin/settings.php:277
1440
  msgid "Thumbnails"
1441
  msgstr ""
1442
 
1443
- #: ../admin/settings.php:103
1444
  msgid "Images"
1445
  msgstr ""
1446
 
1447
- #: ../admin/settings.php:105
1448
- #: ../admin/settings.php:314
1449
  msgid "Effects"
1450
  msgstr ""
1451
 
1452
- #: ../admin/settings.php:106
1453
- #: ../admin/settings.php:352
1454
- #: ../admin/tinymce/window.php:118
1455
  msgid "Watermark"
1456
  msgstr ""
1457
 
1458
- #: ../admin/settings.php:107
1459
- #: ../admin/settings.php:278
1460
- #: ../admin/settings.php:456
1461
- #: ../admin/tinymce/window.php:57
1462
  msgid "Slideshow"
1463
  msgstr ""
1464
 
1465
- #: ../admin/settings.php:119
1466
  #: ../admin/wpmu.php:48
1467
  msgid "Gallery path"
1468
  msgstr ""
1469
 
1470
- #: ../admin/settings.php:121
1471
  msgid "This is the default path for all galleries"
1472
  msgstr ""
1473
 
1474
- #: ../admin/settings.php:124
1475
  msgid "Delete image files"
1476
  msgstr ""
1477
 
1478
- #: ../admin/settings.php:126
1479
  msgid "Delete files, when removing a gallery in the database"
1480
  msgstr ""
1481
 
1482
- #: ../admin/settings.php:129
1483
  msgid "Activate permalinks"
1484
  msgstr ""
1485
 
1486
- #: ../admin/settings.php:131
1487
  msgid "When you activate this option, you need to update your permalink structure one time."
1488
  msgstr ""
1489
 
1490
- #: ../admin/settings.php:134
1491
  msgid "Select graphic library"
1492
  msgstr ""
1493
 
1494
- #: ../admin/settings.php:135
1495
  msgid "GD Library"
1496
  msgstr ""
1497
 
1498
- #: ../admin/settings.php:136
1499
  msgid "ImageMagick (Experimental). Path to the library :"
1500
  msgstr ""
1501
 
1502
- #: ../admin/settings.php:141
1503
  msgid "Activate Media RSS feed"
1504
  msgstr ""
1505
 
1506
- #: ../admin/settings.php:143
1507
  msgid "A RSS feed will be added to you blog header. Usefull for CoolIris/PicLens"
1508
  msgstr ""
1509
 
1510
- #: ../admin/settings.php:146
1511
  msgid "Activate PicLens/CoolIris support"
1512
  msgstr ""
1513
 
1514
- #: ../admin/settings.php:148
1515
  msgid "When you activate this option, some javascript is added to your site footer. Make sure that wp_footer is called in your theme."
1516
  msgstr ""
1517
 
1518
- #: ../admin/settings.php:151
1519
  msgid "Tags / Categories"
1520
  msgstr ""
1521
 
1522
- #: ../admin/settings.php:154
1523
  msgid "Activate related images"
1524
  msgstr ""
1525
 
1526
- #: ../admin/settings.php:156
1527
  msgid "This option will append related images to every post"
1528
  msgstr ""
1529
 
1530
- #: ../admin/settings.php:160
1531
  msgid "Match with"
1532
  msgstr ""
1533
 
1534
- #: ../admin/settings.php:161
1535
  msgid "Categories"
1536
  msgstr ""
1537
 
1538
- #: ../admin/settings.php:166
1539
  msgid "Max. number of images"
1540
  msgstr ""
1541
 
1542
- #: ../admin/settings.php:168
1543
  msgid "0 will show all images"
1544
  msgstr ""
1545
 
1546
- #: ../admin/settings.php:179
1547
  msgid "Thumbnail settings"
1548
  msgstr ""
1549
 
1550
- #: ../admin/settings.php:183
1551
  msgid "Please note : If you change the settings, you need to recreate the thumbnails under -> Manage Gallery ."
1552
  msgstr ""
1553
 
1554
- #: ../admin/settings.php:186
1555
  msgid "Width x height (in pixel)"
1556
  msgstr ""
1557
 
1558
- #: ../admin/settings.php:188
1559
  msgid "These values are maximum values "
1560
  msgstr ""
1561
 
1562
- #: ../admin/settings.php:191
1563
  msgid "Set fix dimension"
1564
  msgstr ""
1565
 
1566
- #: ../admin/settings.php:193
1567
  msgid "Ignore the aspect ratio, no portrait thumbnails"
1568
  msgstr ""
1569
 
1570
- #: ../admin/settings.php:196
1571
  msgid "Crop square thumbnail from image"
1572
  msgstr ""
1573
 
1574
- #: ../admin/settings.php:198
1575
  msgid "Create square thumbnails, use only the width setting :"
1576
  msgstr ""
1577
 
1578
- #: ../admin/settings.php:201
1579
  msgid "Thumbnail quality"
1580
  msgstr ""
1581
 
1582
- #: ../admin/settings.php:212
1583
  msgid "Image settings"
1584
  msgstr ""
1585
 
1586
- #: ../admin/settings.php:218
1587
  msgid "Resize Images"
1588
  msgstr ""
1589
 
1590
- #: ../admin/settings.php:222
1591
  msgid "Width x height (in pixel). NextGEN Gallery will keep ratio size"
1592
  msgstr ""
1593
 
1594
- #: ../admin/settings.php:225
1595
  msgid "Image quality"
1596
  msgstr ""
1597
 
1598
- #: ../admin/settings.php:230
1599
  msgid "Single picture"
1600
  msgstr ""
1601
 
1602
- #: ../admin/settings.php:233
1603
  msgid "Cache single pictures"
1604
  msgstr ""
1605
 
1606
- #: ../admin/settings.php:236
1607
  msgid "Creates a file for each singlepic settings. Reduce the CPU load"
1608
  msgstr ""
1609
 
1610
- #: ../admin/settings.php:239
1611
  msgid "Clear cache folder"
1612
  msgstr ""
1613
 
1614
- #: ../admin/settings.php:241
1615
  msgid "Proceed now"
1616
  msgstr ""
1617
 
1618
- #: ../admin/settings.php:257
1619
  msgid "Deactivate gallery page link"
1620
  msgstr ""
1621
 
1622
- #: ../admin/settings.php:259
1623
  msgid "The album will not link to a gallery subpage. The gallery is shown on the same page."
1624
  msgstr ""
1625
 
1626
- #: ../admin/settings.php:263
1627
  msgid "Number of images per page"
1628
  msgstr ""
1629
 
1630
- #: ../admin/settings.php:265
1631
  msgid "0 will disable pagination, all images on one page"
1632
  msgstr ""
1633
 
1634
- #: ../admin/settings.php:269
 
 
 
 
 
 
 
 
1635
  msgid "Integrate slideshow"
1636
  msgstr ""
1637
 
1638
- #: ../admin/settings.php:276
1639
  msgid "Show first"
1640
  msgstr ""
1641
 
1642
- #: ../admin/settings.php:282
1643
  msgid "Show ImageBrowser"
1644
  msgstr ""
1645
 
1646
- #: ../admin/settings.php:284
1647
  msgid "The gallery will open the ImageBrowser instead the effect."
1648
  msgstr ""
1649
 
1650
- #: ../admin/settings.php:288
1651
  msgid "Sort options"
1652
  msgstr ""
1653
 
1654
- #: ../admin/settings.php:291
1655
  msgid "Sort thumbnails"
1656
  msgstr ""
1657
 
1658
- #: ../admin/settings.php:293
1659
  msgid "Custom order"
1660
  msgstr ""
1661
 
1662
- #: ../admin/settings.php:296
 
 
 
 
1663
  msgid "Alt / Title text"
1664
  msgstr ""
1665
 
1666
- #: ../admin/settings.php:297
1667
  msgid "Date / Time"
1668
  msgstr ""
1669
 
1670
- #: ../admin/settings.php:301
1671
  msgid "Sort direction"
1672
  msgstr ""
1673
 
1674
- #: ../admin/settings.php:318
1675
  msgid "Here you can select the thumbnail effect, NextGEN Gallery will integrate the required HTML code in the images. Please note that only the Thickbox effect will automatic added to your theme."
1676
  msgstr ""
1677
 
1678
- #: ../admin/settings.php:319
1679
  msgid "With the placeholder"
1680
  msgstr ""
1681
 
1682
- #: ../admin/settings.php:319
1683
  msgid "you can activate a navigation through the images (depend on the effect). Change the code line only , when you use a different thumbnail effect or you know what you do."
1684
  msgstr ""
1685
 
1686
- #: ../admin/settings.php:322
1687
  msgid "JavaScript Thumbnail effect"
1688
  msgstr ""
1689
 
1690
- #: ../admin/settings.php:326
1691
  msgid "Thickbox"
1692
  msgstr ""
1693
 
1694
- #: ../admin/settings.php:327
1695
  msgid "Lightbox"
1696
  msgstr ""
1697
 
1698
- #: ../admin/settings.php:328
1699
  msgid "Highslide"
1700
  msgstr ""
1701
 
1702
- #: ../admin/settings.php:329
1703
  msgid "Shutter"
1704
  msgstr ""
1705
 
1706
- #: ../admin/settings.php:330
1707
  msgid "Custom"
1708
  msgstr ""
1709
 
1710
- #: ../admin/settings.php:335
1711
  msgid "Link Code line"
1712
  msgstr ""
1713
 
1714
- #: ../admin/settings.php:353
1715
  msgid "Please note : You can only activate the watermark under -> Manage Gallery . This action cannot be undone."
1716
  msgstr ""
1717
 
1718
- #: ../admin/settings.php:358
1719
  msgid "Preview"
1720
  msgstr ""
1721
 
1722
- #: ../admin/settings.php:360
1723
- #: ../admin/settings.php:365
1724
  msgid "Position"
1725
  msgstr ""
1726
 
1727
- #: ../admin/settings.php:385
1728
  msgid "Offset"
1729
  msgstr ""
1730
 
1731
- #: ../admin/settings.php:401
1732
  msgid "Use image as watermark"
1733
  msgstr ""
1734
 
1735
- #: ../admin/settings.php:404
1736
  msgid "URL to file"
1737
  msgstr ""
1738
 
1739
- #: ../admin/settings.php:406
1740
  msgid "The accessing of URL files is disabled at your server (allow_url_fopen)"
1741
  msgstr ""
1742
 
1743
- #: ../admin/settings.php:409
1744
  msgid "Use text as watermark"
1745
  msgstr ""
1746
 
1747
- #: ../admin/settings.php:412
1748
  msgid "Font"
1749
  msgstr ""
1750
 
1751
- #: ../admin/settings.php:421
1752
  msgid "This function will not work, cause you need the FreeType library"
1753
  msgstr ""
1754
 
1755
- #: ../admin/settings.php:423
1756
  msgid "You can upload more fonts in the folder <strong>nggallery/fonts</strong>"
1757
  msgstr ""
1758
 
1759
- #: ../admin/settings.php:432
1760
  msgid "Color"
1761
  msgstr ""
1762
 
1763
- #: ../admin/settings.php:434
1764
  msgid "(hex w/o #)"
1765
  msgstr ""
1766
 
1767
- #: ../admin/settings.php:437
1768
  msgid "Text"
1769
  msgstr ""
1770
 
1771
- #: ../admin/settings.php:441
1772
  msgid "Opaque"
1773
  msgstr ""
1774
 
1775
- #: ../admin/settings.php:457
1776
- msgid "The imagerotator.swf is not in the nggallery folder, the slideshow will not work."
 
 
 
 
1777
  msgstr ""
1778
 
1779
- #: ../admin/settings.php:458
1780
  msgid "The settings are used in the JW Image Rotator Version"
1781
  msgstr ""
1782
 
1783
- #: ../admin/settings.php:459
1784
  msgid "See more information for the Flash Player on the web page"
1785
  msgstr ""
1786
 
1787
- #: ../admin/settings.php:463
 
 
 
 
 
 
 
 
 
 
 
 
1788
  msgid "Default size (W x H)"
1789
  msgstr ""
1790
 
1791
- #: ../admin/settings.php:468
1792
  msgid "Shuffle mode"
1793
  msgstr ""
1794
 
1795
- #: ../admin/settings.php:472
1796
  msgid "Show next image on click"
1797
  msgstr ""
1798
 
1799
- #: ../admin/settings.php:476
1800
  msgid "Show navigation bar"
1801
  msgstr ""
1802
 
1803
- #: ../admin/settings.php:480
1804
  msgid "Show loading icon"
1805
  msgstr ""
1806
 
1807
- #: ../admin/settings.php:484
1808
  msgid "Use watermark logo"
1809
  msgstr ""
1810
 
1811
- #: ../admin/settings.php:486
1812
  msgid "You can change the logo at the watermark settings"
1813
  msgstr ""
1814
 
1815
- #: ../admin/settings.php:489
1816
  msgid "Stretch image"
1817
  msgstr ""
1818
 
1819
- #: ../admin/settings.php:492
1820
  msgid "true"
1821
  msgstr ""
1822
 
1823
- #: ../admin/settings.php:493
1824
  msgid "false"
1825
  msgstr ""
1826
 
1827
- #: ../admin/settings.php:494
1828
  msgid "fit"
1829
  msgstr ""
1830
 
1831
- #: ../admin/settings.php:495
1832
  msgid "none"
1833
  msgstr ""
1834
 
1835
- #: ../admin/settings.php:500
1836
  msgid "Duration time"
1837
  msgstr ""
1838
 
1839
- #: ../admin/settings.php:501
1840
  msgid "sec."
1841
  msgstr ""
1842
 
1843
- #: ../admin/settings.php:504
1844
  msgid "Transition / Fade effect"
1845
  msgstr ""
1846
 
1847
- #: ../admin/settings.php:507
1848
  msgid "fade"
1849
  msgstr ""
1850
 
1851
- #: ../admin/settings.php:508
1852
  msgid "bgfade"
1853
  msgstr ""
1854
 
1855
- #: ../admin/settings.php:509
1856
  msgid "slowfade"
1857
  msgstr ""
1858
 
1859
- #: ../admin/settings.php:510
1860
  msgid "circles"
1861
  msgstr ""
1862
 
1863
- #: ../admin/settings.php:511
1864
  msgid "bubbles"
1865
  msgstr ""
1866
 
1867
- #: ../admin/settings.php:512
1868
  msgid "blocks"
1869
  msgstr ""
1870
 
1871
- #: ../admin/settings.php:513
1872
  msgid "fluids"
1873
  msgstr ""
1874
 
1875
- #: ../admin/settings.php:514
1876
  msgid "flash"
1877
  msgstr ""
1878
 
1879
- #: ../admin/settings.php:515
1880
  msgid "lines"
1881
  msgstr ""
1882
 
1883
- #: ../admin/settings.php:516
1884
  msgid "random"
1885
  msgstr ""
1886
 
1887
- #: ../admin/settings.php:520
1888
  msgid "Use slow zooming effect"
1889
  msgstr ""
1890
 
1891
- #: ../admin/settings.php:524
1892
  msgid "Background Color"
1893
  msgstr ""
1894
 
1895
- #: ../admin/settings.php:529
1896
  msgid "Texts / Buttons Color"
1897
  msgstr ""
1898
 
1899
- #: ../admin/settings.php:534
1900
  msgid "Rollover / Active Color"
1901
  msgstr ""
1902
 
1903
- #: ../admin/settings.php:539
1904
  msgid "Screen Color"
1905
  msgstr ""
1906
 
1907
- #: ../admin/settings.php:544
1908
  msgid "Background music (URL)"
1909
  msgstr ""
1910
 
1911
- #: ../admin/settings.php:548
1912
  msgid "Try XHTML validation (with CDATA)"
1913
  msgstr ""
1914
 
1915
- #: ../admin/settings.php:550
1916
  msgid "Important : Could causes problem at some browser. Please recheck your page."
1917
  msgstr ""
1918
 
@@ -2174,62 +2192,67 @@ msgstr ""
2174
  msgid "Slug(s) to set:"
2175
  msgstr ""
2176
 
2177
- #: ../admin/upgrade.php:22
2178
  msgid "Upgrade database structure..."
2179
  msgstr ""
2180
 
2181
- #: ../admin/upgrade.php:74
2182
- #: ../admin/upgrade.php:80
2183
- #: ../admin/upgrade.php:87
 
2184
  msgid "finished"
2185
  msgstr ""
2186
 
2187
- #: ../admin/upgrade.php:78
2188
  msgid "Update file structure..."
2189
  msgstr ""
2190
 
2191
- #: ../admin/upgrade.php:85
2192
  msgid "Import date and time information..."
2193
  msgstr ""
2194
 
2195
- #: ../admin/upgrade.php:151
 
 
 
 
2196
  msgid "Some folders/files could not renamed, please recheck the permission and rescan the folder in the manage gallery section."
2197
  msgstr ""
2198
 
2199
- #: ../admin/upgrade.php:153
2200
  msgid "Rename failed"
2201
  msgstr ""
2202
 
2203
- #: ../admin/upgrade.php:193
2204
- #: ../admin/upgrade.php:213
2205
  msgid "Upgrade NextGEN Gallery"
2206
  msgstr ""
2207
 
2208
- #: ../admin/upgrade.php:194
2209
  msgid "The script detect that you upgrade from a older version."
2210
  msgstr ""
2211
 
2212
- #: ../admin/upgrade.php:195
2213
  msgid "Your database tables for NextGEN Gallery is out-of-date, and must be upgraded before you can continue."
2214
  msgstr ""
2215
 
2216
- #: ../admin/upgrade.php:196
2217
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
2218
  msgstr ""
2219
 
2220
- #: ../admin/upgrade.php:197
2221
  msgid "The upgrade process may take a while, so please be patient."
2222
  msgstr ""
2223
 
2224
- #: ../admin/upgrade.php:198
2225
  msgid "Start upgrade now"
2226
  msgstr ""
2227
 
2228
- #: ../admin/upgrade.php:215
2229
  msgid "Upgrade sucessfull"
2230
  msgstr ""
2231
 
2232
- #: ../admin/upgrade.php:216
2233
  msgid "Continue"
2234
  msgstr ""
2235
 
@@ -2293,64 +2316,64 @@ msgstr ""
2293
  msgid "Select gallery"
2294
  msgstr ""
2295
 
2296
- #: ../admin/tinymce/window.php:55
2297
- #: ../admin/tinymce/window.php:83
2298
  msgid "Show as"
2299
  msgstr ""
2300
 
2301
- #: ../admin/tinymce/window.php:56
2302
  msgid "Image list"
2303
  msgstr ""
2304
 
2305
- #: ../admin/tinymce/window.php:58
2306
  msgid "Imagebrowser"
2307
  msgstr ""
2308
 
2309
- #: ../admin/tinymce/window.php:71
2310
  msgid "No album"
2311
  msgstr ""
2312
 
2313
- #: ../admin/tinymce/window.php:84
2314
  msgid "Extended version"
2315
  msgstr ""
2316
 
2317
- #: ../admin/tinymce/window.php:85
2318
  msgid "Compact version"
2319
  msgstr ""
2320
 
2321
- #: ../admin/tinymce/window.php:96
2322
  msgid "Select picture"
2323
  msgstr ""
2324
 
2325
- #: ../admin/tinymce/window.php:98
2326
  msgid "No picture"
2327
  msgstr ""
2328
 
2329
- #: ../admin/tinymce/window.php:110
2330
  msgid "Width x Height"
2331
  msgstr ""
2332
 
2333
- #: ../admin/tinymce/window.php:114
2334
  msgid "Effect"
2335
  msgstr ""
2336
 
2337
- #: ../admin/tinymce/window.php:117
2338
  msgid "No effect"
2339
  msgstr ""
2340
 
2341
- #: ../admin/tinymce/window.php:119
2342
  msgid "Web 2.0"
2343
  msgstr ""
2344
 
2345
- #: ../admin/tinymce/window.php:124
2346
  msgid "Float"
2347
  msgstr ""
2348
 
2349
- #: ../admin/tinymce/window.php:127
2350
  msgid "No float"
2351
  msgstr ""
2352
 
2353
- #: ../admin/tinymce/window.php:146
2354
  msgid "Insert"
2355
  msgstr ""
2356
 
@@ -2477,7 +2500,7 @@ msgstr ""
2477
  msgid "Format"
2478
  msgstr ""
2479
 
2480
- #: ../lib/ngg-db.php:198
2481
  msgid "Album overview"
2482
  msgstr ""
2483
 
@@ -2558,6 +2581,7 @@ msgstr ""
2558
  msgid "Photos"
2559
  msgstr ""
2560
 
 
2561
  #: ../view/gallery.php:32
2562
  #: ../widgets/media-rss-widget.php:236
2563
  msgid "[View with PicLens]"
@@ -2610,7 +2634,6 @@ msgid "Link to the main image feed"
2610
  msgstr ""
2611
 
2612
  #: ../widgets/media-rss-widget.php:153
2613
- #: ../widgets/widgets.php:135
2614
  msgid "Title:"
2615
  msgstr ""
2616
 
@@ -2643,71 +2666,71 @@ msgstr ""
2643
  msgid "<a href=\"http://www.macromedia.com/go/getflashplayer\">Get the Flash Player</a> to see the slideshow."
2644
  msgstr ""
2645
 
2646
- #: ../widgets/widgets.php:137
2647
  msgid "Select Gallery:"
2648
  msgstr ""
2649
 
2650
- #: ../widgets/widgets.php:139
2651
  msgid "All images"
2652
  msgstr ""
2653
 
2654
- #: ../widgets/widgets.php:152
2655
  msgid "Height:"
2656
  msgstr ""
2657
 
2658
- #: ../widgets/widgets.php:153
2659
  msgid "Width:"
2660
  msgstr ""
2661
 
2662
- #: ../widgets/widgets.php:186
2663
  msgid "Add recent or random images from the galleries"
2664
  msgstr ""
2665
 
2666
- #: ../widgets/widgets.php:188
2667
  msgid "NextGEN Widget"
2668
  msgstr ""
2669
 
2670
- #: ../widgets/widgets.php:286
2671
  msgid "Title :"
2672
  msgstr ""
2673
 
2674
- #: ../widgets/widgets.php:292
2675
  msgid "Show :"
2676
  msgstr ""
2677
 
2678
- #: ../widgets/widgets.php:298
2679
  msgid "Orginal images"
2680
  msgstr ""
2681
 
2682
- #: ../widgets/widgets.php:306
2683
  msgid "recent added "
2684
  msgstr ""
2685
 
2686
- #: ../widgets/widgets.php:311
2687
  msgid "Width x Height :"
2688
  msgstr ""
2689
 
2690
- #: ../widgets/widgets.php:318
2691
  msgid "Select :"
2692
  msgstr ""
2693
 
2694
- #: ../widgets/widgets.php:320
2695
  msgid "All galleries"
2696
  msgstr ""
2697
 
2698
- #: ../widgets/widgets.php:321
2699
  msgid "Only which are not listed"
2700
  msgstr ""
2701
 
2702
- #: ../widgets/widgets.php:322
2703
  msgid "Only which are listed"
2704
  msgstr ""
2705
 
2706
- #: ../widgets/widgets.php:328
2707
  msgid "Gallery ID :"
2708
  msgstr ""
2709
 
2710
- #: ../widgets/widgets.php:330
2711
  msgid "Gallery IDs, separated by commas."
2712
  msgstr ""
2713
 
2
  msgstr ""
3
  "Project-Id-Version: NextGEN Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-01-04 12:18+0100\n"
6
+ "PO-Revision-Date: 2009-01-04 12:18+0100\n"
7
  "Last-Translator: Alex Rabe <no@email.com>\n"
8
  "Language-Team: Alex Rabe\n"
9
  "MIME-Version: 1.0\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
19
 
20
+ #: ../nggallery.php:154
21
  msgid "Sorry, NextGEN Gallery works only with a Memory Limit of 16 MB higher"
22
  msgstr ""
23
 
24
+ #: ../nggallery.php:181
25
  msgid "Picture tag"
26
  msgstr ""
27
 
28
+ #: ../nggallery.php:182
29
  msgid "Picture tag: %2$l."
30
  msgstr ""
31
 
32
+ #: ../nggallery.php:183
33
  msgid "Separate picture tags with commas."
34
  msgstr ""
35
 
36
+ #: ../nggallery.php:278
37
  msgid "L O A D I N G"
38
  msgstr ""
39
 
40
+ #: ../nggallery.php:279
41
  msgid "Click to Close"
42
  msgstr ""
43
 
44
+ #: ../nggfunctions.php:36
45
  msgid "The <a href=\"http://www.macromedia.com/go/getflashplayer\">Flash Player</a> and <a href=\"http://www.mozilla.com/firefox/\">a browser with Javascript support</a> are needed.."
46
  msgstr ""
47
 
48
+ #: ../nggfunctions.php:100
49
+ #: ../nggfunctions.php:435
50
  msgid "[Gallery not found]"
51
  msgstr ""
52
 
53
+ #: ../nggfunctions.php:290
54
  msgid "[Album not found]"
55
  msgstr ""
56
 
57
+ #: ../nggfunctions.php:537
58
  msgid "[SinglePic not found]"
59
  msgstr ""
60
 
61
+ #: ../nggfunctions.php:662
62
  msgid "Related images for"
63
  msgstr ""
64
 
65
+ #: ../nggfunctions.php:697
66
+ #: ../admin/admin.php:32
67
  msgid "Overview"
68
  msgstr ""
69
 
208
  msgstr ""
209
 
210
  #: ../admin/addgallery.php:123
211
+ #: ../admin/addgallery.php:274
212
  msgid "Upload images"
213
  msgstr ""
214
 
223
  msgstr ""
224
 
225
  #: ../admin/addgallery.php:172
226
+ #: ../admin/addgallery.php:229
227
  msgid "Import image folder"
228
  msgstr ""
229
 
230
  #: ../admin/addgallery.php:174
231
+ #: ../admin/addgallery.php:246
232
  msgid "Upload Images"
233
  msgstr ""
234
 
257
  msgstr ""
258
 
259
  #: ../admin/addgallery.php:208
260
+ #: ../admin/addgallery.php:255
261
  msgid "in to"
262
  msgstr ""
263
 
265
  msgid "a new gallery"
266
  msgstr ""
267
 
268
+ #: ../admin/addgallery.php:218
269
+ #: ../admin/addgallery.php:264
270
  msgid "Note : The upload limit on your server is "
271
  msgstr ""
272
 
273
+ #: ../admin/addgallery.php:222
274
  msgid "Start upload"
275
  msgstr ""
276
 
277
+ #: ../admin/addgallery.php:234
278
  msgid "Import from Server path:"
279
  msgstr ""
280
 
281
+ #: ../admin/addgallery.php:236
282
  msgid "Import a folder with all images."
283
  msgstr ""
284
 
285
+ #: ../admin/addgallery.php:237
286
  msgid " Please note : For safe-mode = ON you need to add the subfolder thumbs manually"
287
  msgstr ""
288
 
289
+ #: ../admin/addgallery.php:240
290
  msgid "Import folder"
291
  msgstr ""
292
 
293
+ #: ../admin/addgallery.php:251
294
  msgid "Upload image"
295
  msgstr ""
296
 
297
+ #: ../admin/addgallery.php:257
298
  msgid "Choose gallery"
299
  msgstr ""
300
 
301
+ #: ../admin/addgallery.php:270
302
  msgid "The batch upload requires Adobe Flash 9, disable it if you have problems"
303
  msgstr ""
304
 
305
+ #: ../admin/addgallery.php:270
306
  msgid "Disable flash upload"
307
  msgstr ""
308
 
309
+ #: ../admin/addgallery.php:272
310
  msgid "Upload multiple files at once by ctrl/shift-selecting in dialog"
311
  msgstr ""
312
 
313
+ #: ../admin/addgallery.php:272
314
  msgid "Enable flash based upload"
315
  msgstr ""
316
 
317
+ #: ../admin/admin.php:31
318
+ #: ../admin/admin.php:204
319
+ #: ../admin/admin.php:270
320
  #: ../admin/functions.php:81
321
  #: ../admin/functions.php:142
322
+ #: ../admin/manage-images.php:147
323
+ #: ../admin/manage.php:78
324
  msgid "Gallery"
325
  msgid_plural "Galleries"
326
  msgstr[0] ""
327
  msgstr[1] ""
328
 
329
+ #: ../admin/admin.php:33
330
  msgid "Add Gallery / Images"
331
  msgstr ""
332
 
333
+ #: ../admin/admin.php:34
334
  msgid "Manage Gallery"
335
  msgstr ""
336
 
337
+ #: ../admin/admin.php:35
338
  msgid "Album"
339
  msgid_plural "Albums"
340
  msgstr[0] ""
341
  msgstr[1] ""
342
 
343
+ #: ../admin/admin.php:36
344
  msgid "Tags"
345
  msgstr ""
346
 
347
+ #: ../admin/admin.php:37
348
  msgid "Options"
349
  msgstr ""
350
 
351
+ #: ../admin/admin.php:39
352
  msgid "Style"
353
  msgstr ""
354
 
355
+ #: ../admin/admin.php:40
356
  msgid "Setup Gallery"
357
  msgstr ""
358
 
359
+ #: ../admin/admin.php:40
360
  msgid "Setup"
361
  msgstr ""
362
 
363
+ #: ../admin/admin.php:42
364
  msgid "Roles"
365
  msgstr ""
366
 
367
+ #: ../admin/admin.php:43
368
  msgid "About this Gallery"
369
  msgstr ""
370
 
371
+ #: ../admin/admin.php:43
372
  msgid "About"
373
  msgstr ""
374
 
375
+ #: ../admin/admin.php:45
376
  msgid "NextGEN Gallery"
377
  msgstr ""
378
 
379
+ #: ../admin/admin.php:70
380
  msgid "A new version of NextGEN Gallery is available !"
381
  msgstr ""
382
 
383
+ #: ../admin/admin.php:70
384
  msgid "Download here"
385
  msgstr ""
386
 
387
+ #: ../admin/admin.php:141
388
  msgid "You do not have the correct permission"
389
  msgstr ""
390
 
391
+ #: ../admin/admin.php:142
392
  msgid "Unexpected Error"
393
  msgstr ""
394
 
395
+ #: ../admin/admin.php:143
396
  msgid "A failure occurred"
397
  msgstr ""
398
 
399
+ #: ../admin/admin.php:208
400
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Introduction</a>"
401
  msgstr ""
402
 
403
+ #: ../admin/admin.php:211
404
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Setup</a>"
405
  msgstr ""
406
 
407
+ #: ../admin/admin.php:214
408
  msgid "<a href=\"http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/languages/\" target=\"_blank\">Translation by alex rabe</a>"
409
  msgstr ""
410
 
411
+ #: ../admin/admin.php:217
412
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Roles / Capabilities</a>"
413
  msgstr ""
414
 
415
+ #: ../admin/admin.php:220
416
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Styles</a>"
417
  msgstr ""
418
 
419
+ #: ../admin/admin.php:221
420
  msgid "Templates"
421
  msgstr ""
422
 
 
423
  #: ../admin/admin.php:224
424
+ #: ../admin/admin.php:228
425
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery management</a>"
426
  msgstr ""
427
 
428
+ #: ../admin/admin.php:225
429
  msgid "Gallery example"
430
  msgstr ""
431
 
432
+ #: ../admin/admin.php:229
433
+ #: ../admin/admin.php:239
434
  msgid "Gallery tags"
435
  msgstr ""
436
 
437
+ #: ../admin/admin.php:232
438
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Album management</a>"
439
  msgstr ""
440
 
441
+ #: ../admin/admin.php:233
442
  msgid "Album example"
443
  msgstr ""
444
 
445
+ #: ../admin/admin.php:234
446
+ #: ../admin/admin.php:240
447
  msgid "Album tags"
448
  msgstr ""
449
 
450
+ #: ../admin/admin.php:237
451
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery tags</a>"
452
  msgstr ""
453
 
454
+ #: ../admin/admin.php:238
455
  msgid "Related images"
456
  msgstr ""
457
 
458
+ #: ../admin/admin.php:243
459
  msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-image-management/\" target=\"_blank\">Image management</a>"
460
  msgstr ""
461
 
462
+ #: ../admin/admin.php:244
463
  msgid "Custom fields"
464
  msgstr ""
465
 
466
+ #: ../admin/admin.php:249
467
  msgid "Get help with NextGEN Gallery"
468
  msgstr ""
469
 
470
+ #: ../admin/admin.php:253
471
  msgid "More Help & Info"
472
  msgstr ""
473
 
474
+ #: ../admin/admin.php:255
475
  msgid "<a href=\"http://wordpress.org/tags/nextgen-gallery\" target=\"_blank\">Support Forums</a>"
476
  msgstr ""
477
 
478
+ #: ../admin/admin.php:256
479
  msgid "FAQ"
480
  msgstr ""
481
 
482
+ #: ../admin/admin.php:257
483
  msgid "Feature request"
484
  msgstr ""
485
 
486
+ #: ../admin/admin.php:258
487
  msgid "Get your language pack"
488
  msgstr ""
489
 
490
+ #: ../admin/admin.php:259
491
  msgid "Contribute development"
492
  msgstr ""
493
 
494
+ #: ../admin/admin.php:260
495
  msgid "Download latest version"
496
  msgstr ""
497
 
521
  msgstr ""
522
 
523
  #: ../admin/album.php:147
524
+ #: ../admin/manage-galleries.php:78
525
+ #: ../admin/manage-images.php:331
526
  msgid "Delete"
527
  msgstr ""
528
 
567
  msgstr ""
568
 
569
  #: ../admin/album.php:254
570
+ #: ../admin/manage-galleries.php:42
571
+ #: ../admin/manage-images.php:468
572
  msgid "ID"
573
  msgstr ""
574
 
577
  msgstr ""
578
 
579
  #: ../admin/album.php:256
580
+ #: ../admin/manage-galleries.php:43
581
+ #: ../admin/manage-images.php:161
582
  msgid "Title"
583
  msgstr ""
584
 
665
 
666
  #: ../admin/functions.php:161
667
  #: ../admin/functions.php:622
668
+ #: ../admin/manage-images.php:239
669
+ #: ../admin/manage.php:130
670
  msgid "Create new thumbnails"
671
  msgstr ""
672
 
803
  msgid "NextGEN Gallery : Tables could not created, please check your database settings"
804
  msgstr ""
805
 
806
+ #: ../admin/install.php:160
807
  msgid "[Show as slideshow]"
808
  msgstr ""
809
 
810
+ #: ../admin/install.php:161
811
  msgid "[Show picture list]"
812
  msgstr ""
813
 
814
+ #: ../admin/manage-galleries.php:19
815
+ #: ../admin/manage-images.php:35
816
+ msgid "&laquo;"
817
+ msgstr ""
818
+
819
+ #: ../admin/manage-galleries.php:20
820
+ #: ../admin/manage-images.php:36
821
+ msgid "&raquo;"
822
+ msgstr ""
823
+
824
+ #: ../admin/manage-galleries.php:27
825
  msgid "Gallery Overview"
826
  msgstr ""
827
 
828
+ #: ../admin/manage-galleries.php:30
829
+ #: ../admin/manage-images.php:228
830
+ #, php-format
831
+ msgid "Displaying %s&#8211;%s of %s"
832
+ msgstr ""
833
+
834
+ #: ../admin/manage-galleries.php:44
835
+ #: ../admin/manage-images.php:172
836
+ #: ../admin/manage-images.php:473
837
  msgid "Description"
838
  msgstr ""
839
 
840
+ #: ../admin/manage-galleries.php:45
841
+ #: ../admin/manage-images.php:192
842
  msgid "Author"
843
  msgstr ""
844
 
845
+ #: ../admin/manage-galleries.php:46
846
  msgid "Page ID"
847
  msgstr ""
848
 
849
+ #: ../admin/manage-galleries.php:47
850
  msgid "Quantity"
851
  msgstr ""
852
 
853
+ #: ../admin/manage-galleries.php:48
 
854
  msgid "Action"
855
  msgstr ""
856
 
857
+ #: ../admin/manage-galleries.php:65
858
  msgid "Edit"
859
  msgstr ""
860
 
861
+ #: ../admin/manage-galleries.php:78
862
  msgid "Delete this gallery ?"
863
  msgstr ""
864
 
865
+ #: ../admin/manage-galleries.php:85
866
+ #: ../admin/manage-images.php:385
867
  msgid "No entries found"
868
  msgstr ""
869
 
871
  msgid "Gallery not found."
872
  msgstr ""
873
 
874
+ #: ../admin/manage-images.php:108
 
 
875
  msgid "No images selected"
876
  msgstr ""
877
 
878
+ #: ../admin/manage-images.php:128
 
879
  #, php-format
880
  msgid ""
881
  "You are about to start the bulk edit for %s images \n"
883
  " 'Cancel' to stop, 'OK' to proceed."
884
  msgstr ""
885
 
886
+ #: ../admin/manage-images.php:157
887
  msgid "Gallery settings"
888
  msgstr ""
889
 
890
+ #: ../admin/manage-images.php:157
891
  msgid "Click here for more settings"
892
  msgstr ""
893
 
894
+ #: ../admin/manage-images.php:163
895
  msgid "Page Link to"
896
  msgstr ""
897
 
898
+ #: ../admin/manage-images.php:166
899
  msgid "Not linked"
900
  msgstr ""
901
 
902
+ #: ../admin/manage-images.php:174
903
  msgid "Preview image"
904
  msgstr ""
905
 
906
+ #: ../admin/manage-images.php:177
907
  msgid "No Picture"
908
  msgstr ""
909
 
910
+ #: ../admin/manage-images.php:190
911
  msgid "Path"
912
  msgstr ""
913
 
914
+ #: ../admin/manage-images.php:206
915
  msgid "Create new page"
916
  msgstr ""
917
 
918
+ #: ../admin/manage-images.php:209
919
  msgid "Main page (No parent)"
920
  msgstr ""
921
 
922
+ #: ../admin/manage-images.php:212
923
  msgid "Add page"
924
  msgstr ""
925
 
926
+ #: ../admin/manage-images.php:218
927
  msgid "Scan Folder for new images"
928
  msgstr ""
929
 
930
+ #: ../admin/manage-images.php:219
931
+ #: ../admin/manage-images.php:255
932
+ #: ../admin/manage-images.php:391
933
  msgid "Save Changes"
934
  msgstr ""
935
 
936
+ #: ../admin/manage-images.php:237
937
  msgid "No action"
938
  msgstr ""
939
 
940
+ #: ../admin/manage-images.php:238
941
+ #: ../admin/manage.php:126
942
  msgid "Set watermark"
943
  msgstr ""
944
 
945
+ #: ../admin/manage-images.php:240
946
+ #: ../admin/manage.php:134
947
  msgid "Resize images"
948
  msgstr ""
949
 
950
+ #: ../admin/manage-images.php:241
951
  msgid "Delete images"
952
  msgstr ""
953
 
954
+ #: ../admin/manage-images.php:242
955
  msgid "Import metadata"
956
  msgstr ""
957
 
958
+ #: ../admin/manage-images.php:243
959
  msgid "Copy to..."
960
  msgstr ""
961
 
962
+ #: ../admin/manage-images.php:244
963
  msgid "Move to..."
964
  msgstr ""
965
 
966
+ #: ../admin/manage-images.php:245
967
  msgid "Add tags"
968
  msgstr ""
969
 
970
+ #: ../admin/manage-images.php:246
971
  msgid "Delete tags"
972
  msgstr ""
973
 
974
+ #: ../admin/manage-images.php:247
975
  msgid "Overwrite tags"
976
  msgstr ""
977
 
978
+ #: ../admin/manage-images.php:249
979
+ #: ../admin/manage-images.php:408
980
+ #: ../admin/manage-images.php:443
 
981
  msgid "OK"
982
  msgstr ""
983
 
984
+ #: ../admin/manage-images.php:252
985
+ msgid "Sort gallery"
 
 
 
 
 
 
 
 
986
  msgstr ""
987
 
988
+ #: ../admin/manage-images.php:329
989
+ #, php-format
990
+ msgid "View \"%s\""
991
  msgstr ""
992
 
993
+ #: ../admin/manage-images.php:329
994
+ msgid "View"
995
  msgstr ""
996
 
997
+ #: ../admin/manage-images.php:330
998
  msgid "Show Meta data"
999
  msgstr ""
1000
 
1001
+ #: ../admin/manage-images.php:330
1002
  msgid "Meta"
1003
  msgstr ""
1004
 
1005
+ #: ../admin/manage-images.php:331
1006
+ #, php-format
1007
+ msgid "Delete \"%s\""
1008
  msgstr ""
1009
 
1010
+ #: ../admin/manage-images.php:404
1011
  msgid "Enter the tags"
1012
  msgstr ""
1013
 
1014
+ #: ../admin/manage-images.php:410
1015
+ #: ../admin/manage-images.php:445
1016
  msgid "Cancel"
1017
  msgstr ""
1018
 
1019
+ #: ../admin/manage-images.php:427
1020
  msgid "Select the destination gallery:"
1021
  msgstr ""
1022
 
1023
+ #: ../admin/manage-images.php:469
 
 
 
 
 
 
 
 
1024
  msgid "Thumbnail"
1025
  msgstr ""
1026
 
1027
+ #: ../admin/manage-images.php:471
1028
+ #: ../admin/manage-sort.php:80
1029
+ msgid "Filename"
 
 
 
 
1030
  msgstr ""
1031
 
1032
+ #: ../admin/manage-images.php:473
1033
  msgid "Alt &amp; Title Text"
1034
  msgstr ""
1035
 
1036
+ #: ../admin/manage-images.php:474
1037
+ msgid "Tags (comma separated list)"
1038
  msgstr ""
1039
 
1040
+ #: ../admin/manage-images.php:476
1041
+ msgid "exclude"
1042
  msgstr ""
1043
 
1044
  #: ../admin/manage-sort.php:30
1069
  msgid "Image ID"
1070
  msgstr ""
1071
 
 
 
 
 
1072
  #: ../admin/manage-sort.php:81
1073
  msgid "Alt/Title text"
1074
  msgstr ""
1085
  msgid "Descending"
1086
  msgstr ""
1087
 
1088
+ #: ../admin/manage.php:78
1089
+ #: ../admin/manage.php:100
1090
  msgid "deleted successfully"
1091
  msgstr ""
1092
 
1093
+ #: ../admin/manage.php:100
1094
  msgid "Picture"
1095
  msgstr ""
1096
 
1097
+ #: ../admin/manage.php:151
1098
  msgid "Pictures deleted successfully "
1099
  msgstr ""
1100
 
1101
+ #: ../admin/manage.php:157
1102
  msgid "Import metadata finished"
1103
  msgstr ""
1104
 
1105
+ #: ../admin/manage.php:165
1106
  msgid "Operation successfull. Please clear your browser cache."
1107
  msgstr ""
1108
 
1109
+ #: ../admin/manage.php:228
1110
  msgid "Tags changed"
1111
  msgstr ""
1112
 
1113
+ #: ../admin/manage.php:255
1114
  msgid "Update successful"
1115
  msgstr ""
1116
 
1117
+ #: ../admin/manage.php:288
1118
  msgid "New gallery page ID"
1119
  msgstr ""
1120
 
1121
+ #: ../admin/manage.php:288
1122
  msgid "created"
1123
  msgstr ""
1124
 
1148
  msgstr ""
1149
 
1150
  #: ../admin/media-upload.php:198
1151
+ #: ../admin/settings.php:339
1152
  msgid "None"
1153
  msgstr ""
1154
 
1155
  #: ../admin/media-upload.php:200
1156
+ #: ../admin/tinymce/window.php:129
1157
  msgid "Left"
1158
  msgstr ""
1159
 
1160
  #: ../admin/media-upload.php:202
1161
+ #: ../admin/tinymce/window.php:130
1162
  msgid "Center"
1163
  msgstr ""
1164
 
1165
  #: ../admin/media-upload.php:204
1166
+ #: ../admin/tinymce/window.php:131
1167
  msgid "Right"
1168
  msgstr ""
1169
 
1170
  #: ../admin/media-upload.php:208
1171
+ #: ../admin/settings.php:442
1172
  msgid "Size"
1173
  msgstr ""
1174
 
1416
  msgid "Update capabilities"
1417
  msgstr ""
1418
 
1419
+ #: ../admin/settings.php:61
1420
  msgid "Cache cleared"
1421
  msgstr ""
1422
 
1423
+ #: ../admin/settings.php:109
1424
+ #: ../admin/settings.php:121
1425
  msgid "General Options"
1426
  msgstr ""
1427
 
1428
+ #: ../admin/settings.php:110
1429
+ #: ../admin/settings.php:291
1430
  msgid "Thumbnails"
1431
  msgstr ""
1432
 
1433
+ #: ../admin/settings.php:111
1434
  msgid "Images"
1435
  msgstr ""
1436
 
1437
+ #: ../admin/settings.php:113
1438
+ #: ../admin/settings.php:328
1439
  msgid "Effects"
1440
  msgstr ""
1441
 
1442
+ #: ../admin/settings.php:114
1443
+ #: ../admin/settings.php:366
1444
+ #: ../admin/tinymce/window.php:119
1445
  msgid "Watermark"
1446
  msgstr ""
1447
 
1448
+ #: ../admin/settings.php:115
1449
+ #: ../admin/settings.php:292
1450
+ #: ../admin/settings.php:470
1451
+ #: ../admin/tinymce/window.php:58
1452
  msgid "Slideshow"
1453
  msgstr ""
1454
 
1455
+ #: ../admin/settings.php:127
1456
  #: ../admin/wpmu.php:48
1457
  msgid "Gallery path"
1458
  msgstr ""
1459
 
1460
+ #: ../admin/settings.php:129
1461
  msgid "This is the default path for all galleries"
1462
  msgstr ""
1463
 
1464
+ #: ../admin/settings.php:132
1465
  msgid "Delete image files"
1466
  msgstr ""
1467
 
1468
+ #: ../admin/settings.php:134
1469
  msgid "Delete files, when removing a gallery in the database"
1470
  msgstr ""
1471
 
1472
+ #: ../admin/settings.php:137
1473
  msgid "Activate permalinks"
1474
  msgstr ""
1475
 
1476
+ #: ../admin/settings.php:139
1477
  msgid "When you activate this option, you need to update your permalink structure one time."
1478
  msgstr ""
1479
 
1480
+ #: ../admin/settings.php:142
1481
  msgid "Select graphic library"
1482
  msgstr ""
1483
 
1484
+ #: ../admin/settings.php:143
1485
  msgid "GD Library"
1486
  msgstr ""
1487
 
1488
+ #: ../admin/settings.php:144
1489
  msgid "ImageMagick (Experimental). Path to the library :"
1490
  msgstr ""
1491
 
1492
+ #: ../admin/settings.php:149
1493
  msgid "Activate Media RSS feed"
1494
  msgstr ""
1495
 
1496
+ #: ../admin/settings.php:151
1497
  msgid "A RSS feed will be added to you blog header. Usefull for CoolIris/PicLens"
1498
  msgstr ""
1499
 
1500
+ #: ../admin/settings.php:154
1501
  msgid "Activate PicLens/CoolIris support"
1502
  msgstr ""
1503
 
1504
+ #: ../admin/settings.php:156
1505
  msgid "When you activate this option, some javascript is added to your site footer. Make sure that wp_footer is called in your theme."
1506
  msgstr ""
1507
 
1508
+ #: ../admin/settings.php:159
1509
  msgid "Tags / Categories"
1510
  msgstr ""
1511
 
1512
+ #: ../admin/settings.php:162
1513
  msgid "Activate related images"
1514
  msgstr ""
1515
 
1516
+ #: ../admin/settings.php:164
1517
  msgid "This option will append related images to every post"
1518
  msgstr ""
1519
 
1520
+ #: ../admin/settings.php:168
1521
  msgid "Match with"
1522
  msgstr ""
1523
 
1524
+ #: ../admin/settings.php:169
1525
  msgid "Categories"
1526
  msgstr ""
1527
 
1528
+ #: ../admin/settings.php:174
1529
  msgid "Max. number of images"
1530
  msgstr ""
1531
 
1532
+ #: ../admin/settings.php:176
1533
  msgid "0 will show all images"
1534
  msgstr ""
1535
 
1536
+ #: ../admin/settings.php:187
1537
  msgid "Thumbnail settings"
1538
  msgstr ""
1539
 
1540
+ #: ../admin/settings.php:191
1541
  msgid "Please note : If you change the settings, you need to recreate the thumbnails under -> Manage Gallery ."
1542
  msgstr ""
1543
 
1544
+ #: ../admin/settings.php:194
1545
  msgid "Width x height (in pixel)"
1546
  msgstr ""
1547
 
1548
+ #: ../admin/settings.php:196
1549
  msgid "These values are maximum values "
1550
  msgstr ""
1551
 
1552
+ #: ../admin/settings.php:199
1553
  msgid "Set fix dimension"
1554
  msgstr ""
1555
 
1556
+ #: ../admin/settings.php:201
1557
  msgid "Ignore the aspect ratio, no portrait thumbnails"
1558
  msgstr ""
1559
 
1560
+ #: ../admin/settings.php:204
1561
  msgid "Crop square thumbnail from image"
1562
  msgstr ""
1563
 
1564
+ #: ../admin/settings.php:206
1565
  msgid "Create square thumbnails, use only the width setting :"
1566
  msgstr ""
1567
 
1568
+ #: ../admin/settings.php:209
1569
  msgid "Thumbnail quality"
1570
  msgstr ""
1571
 
1572
+ #: ../admin/settings.php:220
1573
  msgid "Image settings"
1574
  msgstr ""
1575
 
1576
+ #: ../admin/settings.php:226
1577
  msgid "Resize Images"
1578
  msgstr ""
1579
 
1580
+ #: ../admin/settings.php:230
1581
  msgid "Width x height (in pixel). NextGEN Gallery will keep ratio size"
1582
  msgstr ""
1583
 
1584
+ #: ../admin/settings.php:233
1585
  msgid "Image quality"
1586
  msgstr ""
1587
 
1588
+ #: ../admin/settings.php:238
1589
  msgid "Single picture"
1590
  msgstr ""
1591
 
1592
+ #: ../admin/settings.php:241
1593
  msgid "Cache single pictures"
1594
  msgstr ""
1595
 
1596
+ #: ../admin/settings.php:244
1597
  msgid "Creates a file for each singlepic settings. Reduce the CPU load"
1598
  msgstr ""
1599
 
1600
+ #: ../admin/settings.php:247
1601
  msgid "Clear cache folder"
1602
  msgstr ""
1603
 
1604
+ #: ../admin/settings.php:249
1605
  msgid "Proceed now"
1606
  msgstr ""
1607
 
1608
+ #: ../admin/settings.php:265
1609
  msgid "Deactivate gallery page link"
1610
  msgstr ""
1611
 
1612
+ #: ../admin/settings.php:267
1613
  msgid "The album will not link to a gallery subpage. The gallery is shown on the same page."
1614
  msgstr ""
1615
 
1616
+ #: ../admin/settings.php:271
1617
  msgid "Number of images per page"
1618
  msgstr ""
1619
 
1620
+ #: ../admin/settings.php:273
1621
  msgid "0 will disable pagination, all images on one page"
1622
  msgstr ""
1623
 
1624
+ #: ../admin/settings.php:277
1625
+ msgid "Number of columns"
1626
+ msgstr ""
1627
+
1628
+ #: ../admin/settings.php:279
1629
+ msgid "0 will display as much as possible based on the width of your theme. Setting normally only required for captions below the images"
1630
+ msgstr ""
1631
+
1632
+ #: ../admin/settings.php:283
1633
  msgid "Integrate slideshow"
1634
  msgstr ""
1635
 
1636
+ #: ../admin/settings.php:290
1637
  msgid "Show first"
1638
  msgstr ""
1639
 
1640
+ #: ../admin/settings.php:296
1641
  msgid "Show ImageBrowser"
1642
  msgstr ""
1643
 
1644
+ #: ../admin/settings.php:298
1645
  msgid "The gallery will open the ImageBrowser instead the effect."
1646
  msgstr ""
1647
 
1648
+ #: ../admin/settings.php:302
1649
  msgid "Sort options"
1650
  msgstr ""
1651
 
1652
+ #: ../admin/settings.php:305
1653
  msgid "Sort thumbnails"
1654
  msgstr ""
1655
 
1656
+ #: ../admin/settings.php:307
1657
  msgid "Custom order"
1658
  msgstr ""
1659
 
1660
+ #: ../admin/settings.php:309
1661
+ msgid "File name"
1662
+ msgstr ""
1663
+
1664
+ #: ../admin/settings.php:310
1665
  msgid "Alt / Title text"
1666
  msgstr ""
1667
 
1668
+ #: ../admin/settings.php:311
1669
  msgid "Date / Time"
1670
  msgstr ""
1671
 
1672
+ #: ../admin/settings.php:315
1673
  msgid "Sort direction"
1674
  msgstr ""
1675
 
1676
+ #: ../admin/settings.php:332
1677
  msgid "Here you can select the thumbnail effect, NextGEN Gallery will integrate the required HTML code in the images. Please note that only the Thickbox effect will automatic added to your theme."
1678
  msgstr ""
1679
 
1680
+ #: ../admin/settings.php:333
1681
  msgid "With the placeholder"
1682
  msgstr ""
1683
 
1684
+ #: ../admin/settings.php:333
1685
  msgid "you can activate a navigation through the images (depend on the effect). Change the code line only , when you use a different thumbnail effect or you know what you do."
1686
  msgstr ""
1687
 
1688
+ #: ../admin/settings.php:336
1689
  msgid "JavaScript Thumbnail effect"
1690
  msgstr ""
1691
 
1692
+ #: ../admin/settings.php:340
1693
  msgid "Thickbox"
1694
  msgstr ""
1695
 
1696
+ #: ../admin/settings.php:341
1697
  msgid "Lightbox"
1698
  msgstr ""
1699
 
1700
+ #: ../admin/settings.php:342
1701
  msgid "Highslide"
1702
  msgstr ""
1703
 
1704
+ #: ../admin/settings.php:343
1705
  msgid "Shutter"
1706
  msgstr ""
1707
 
1708
+ #: ../admin/settings.php:344
1709
  msgid "Custom"
1710
  msgstr ""
1711
 
1712
+ #: ../admin/settings.php:349
1713
  msgid "Link Code line"
1714
  msgstr ""
1715
 
1716
+ #: ../admin/settings.php:367
1717
  msgid "Please note : You can only activate the watermark under -> Manage Gallery . This action cannot be undone."
1718
  msgstr ""
1719
 
1720
+ #: ../admin/settings.php:372
1721
  msgid "Preview"
1722
  msgstr ""
1723
 
1724
+ #: ../admin/settings.php:374
1725
+ #: ../admin/settings.php:379
1726
  msgid "Position"
1727
  msgstr ""
1728
 
1729
+ #: ../admin/settings.php:399
1730
  msgid "Offset"
1731
  msgstr ""
1732
 
1733
+ #: ../admin/settings.php:415
1734
  msgid "Use image as watermark"
1735
  msgstr ""
1736
 
1737
+ #: ../admin/settings.php:418
1738
  msgid "URL to file"
1739
  msgstr ""
1740
 
1741
+ #: ../admin/settings.php:420
1742
  msgid "The accessing of URL files is disabled at your server (allow_url_fopen)"
1743
  msgstr ""
1744
 
1745
+ #: ../admin/settings.php:423
1746
  msgid "Use text as watermark"
1747
  msgstr ""
1748
 
1749
+ #: ../admin/settings.php:426
1750
  msgid "Font"
1751
  msgstr ""
1752
 
1753
+ #: ../admin/settings.php:435
1754
  msgid "This function will not work, cause you need the FreeType library"
1755
  msgstr ""
1756
 
1757
+ #: ../admin/settings.php:437
1758
  msgid "You can upload more fonts in the folder <strong>nggallery/fonts</strong>"
1759
  msgstr ""
1760
 
1761
+ #: ../admin/settings.php:446
1762
  msgid "Color"
1763
  msgstr ""
1764
 
1765
+ #: ../admin/settings.php:448
1766
  msgid "(hex w/o #)"
1767
  msgstr ""
1768
 
1769
+ #: ../admin/settings.php:451
1770
  msgid "Text"
1771
  msgstr ""
1772
 
1773
+ #: ../admin/settings.php:455
1774
  msgid "Opaque"
1775
  msgstr ""
1776
 
1777
+ #: ../admin/settings.php:475
1778
+ msgid "The path to imagerotator.swf is not defined, the slideshow will not work."
1779
+ msgstr ""
1780
+
1781
+ #: ../admin/settings.php:476
1782
+ msgid "If you would like to use the JW Image Rotatator, please download the player <a href=\"http://www.longtailvideo.com/players/jw-image-rotator/\" target=\"_blank\" >here</a> and upload it to your Upload folder (Default is wp-content/uploads)."
1783
  msgstr ""
1784
 
1785
+ #: ../admin/settings.php:481
1786
  msgid "The settings are used in the JW Image Rotator Version"
1787
  msgstr ""
1788
 
1789
+ #: ../admin/settings.php:482
1790
  msgid "See more information for the Flash Player on the web page"
1791
  msgstr ""
1792
 
1793
+ #: ../admin/settings.php:486
1794
+ msgid "Path to the Imagerotator (URL)"
1795
+ msgstr ""
1796
+
1797
+ #: ../admin/settings.php:489
1798
+ msgid "Search now"
1799
+ msgstr ""
1800
+
1801
+ #: ../admin/settings.php:490
1802
+ msgid "Press the button to search automatic for the imagerotator, if you uploaded it to wp-content/uploads or a subfolder"
1803
+ msgstr ""
1804
+
1805
+ #: ../admin/settings.php:494
1806
  msgid "Default size (W x H)"
1807
  msgstr ""
1808
 
1809
+ #: ../admin/settings.php:499
1810
  msgid "Shuffle mode"
1811
  msgstr ""
1812
 
1813
+ #: ../admin/settings.php:503
1814
  msgid "Show next image on click"
1815
  msgstr ""
1816
 
1817
+ #: ../admin/settings.php:507
1818
  msgid "Show navigation bar"
1819
  msgstr ""
1820
 
1821
+ #: ../admin/settings.php:511
1822
  msgid "Show loading icon"
1823
  msgstr ""
1824
 
1825
+ #: ../admin/settings.php:515
1826
  msgid "Use watermark logo"
1827
  msgstr ""
1828
 
1829
+ #: ../admin/settings.php:517
1830
  msgid "You can change the logo at the watermark settings"
1831
  msgstr ""
1832
 
1833
+ #: ../admin/settings.php:520
1834
  msgid "Stretch image"
1835
  msgstr ""
1836
 
1837
+ #: ../admin/settings.php:523
1838
  msgid "true"
1839
  msgstr ""
1840
 
1841
+ #: ../admin/settings.php:524
1842
  msgid "false"
1843
  msgstr ""
1844
 
1845
+ #: ../admin/settings.php:525
1846
  msgid "fit"
1847
  msgstr ""
1848
 
1849
+ #: ../admin/settings.php:526
1850
  msgid "none"
1851
  msgstr ""
1852
 
1853
+ #: ../admin/settings.php:531
1854
  msgid "Duration time"
1855
  msgstr ""
1856
 
1857
+ #: ../admin/settings.php:532
1858
  msgid "sec."
1859
  msgstr ""
1860
 
1861
+ #: ../admin/settings.php:535
1862
  msgid "Transition / Fade effect"
1863
  msgstr ""
1864
 
1865
+ #: ../admin/settings.php:538
1866
  msgid "fade"
1867
  msgstr ""
1868
 
1869
+ #: ../admin/settings.php:539
1870
  msgid "bgfade"
1871
  msgstr ""
1872
 
1873
+ #: ../admin/settings.php:540
1874
  msgid "slowfade"
1875
  msgstr ""
1876
 
1877
+ #: ../admin/settings.php:541
1878
  msgid "circles"
1879
  msgstr ""
1880
 
1881
+ #: ../admin/settings.php:542
1882
  msgid "bubbles"
1883
  msgstr ""
1884
 
1885
+ #: ../admin/settings.php:543
1886
  msgid "blocks"
1887
  msgstr ""
1888
 
1889
+ #: ../admin/settings.php:544
1890
  msgid "fluids"
1891
  msgstr ""
1892
 
1893
+ #: ../admin/settings.php:545
1894
  msgid "flash"
1895
  msgstr ""
1896
 
1897
+ #: ../admin/settings.php:546
1898
  msgid "lines"
1899
  msgstr ""
1900
 
1901
+ #: ../admin/settings.php:547
1902
  msgid "random"
1903
  msgstr ""
1904
 
1905
+ #: ../admin/settings.php:551
1906
  msgid "Use slow zooming effect"
1907
  msgstr ""
1908
 
1909
+ #: ../admin/settings.php:555
1910
  msgid "Background Color"
1911
  msgstr ""
1912
 
1913
+ #: ../admin/settings.php:560
1914
  msgid "Texts / Buttons Color"
1915
  msgstr ""
1916
 
1917
+ #: ../admin/settings.php:565
1918
  msgid "Rollover / Active Color"
1919
  msgstr ""
1920
 
1921
+ #: ../admin/settings.php:570
1922
  msgid "Screen Color"
1923
  msgstr ""
1924
 
1925
+ #: ../admin/settings.php:575
1926
  msgid "Background music (URL)"
1927
  msgstr ""
1928
 
1929
+ #: ../admin/settings.php:579
1930
  msgid "Try XHTML validation (with CDATA)"
1931
  msgstr ""
1932
 
1933
+ #: ../admin/settings.php:581
1934
  msgid "Important : Could causes problem at some browser. Please recheck your page."
1935
  msgstr ""
1936
 
2192
  msgid "Slug(s) to set:"
2193
  msgstr ""
2194
 
2195
+ #: ../admin/upgrade.php:20
2196
  msgid "Upgrade database structure..."
2197
  msgstr ""
2198
 
2199
+ #: ../admin/upgrade.php:78
2200
+ #: ../admin/upgrade.php:88
2201
+ #: ../admin/upgrade.php:95
2202
+ #: ../admin/upgrade.php:106
2203
  msgid "finished"
2204
  msgstr ""
2205
 
2206
+ #: ../admin/upgrade.php:86
2207
  msgid "Update file structure..."
2208
  msgstr ""
2209
 
2210
+ #: ../admin/upgrade.php:93
2211
  msgid "Import date and time information..."
2212
  msgstr ""
2213
 
2214
+ #: ../admin/upgrade.php:101
2215
+ msgid "Move imagerotator to new location..."
2216
+ msgstr ""
2217
+
2218
+ #: ../admin/upgrade.php:170
2219
  msgid "Some folders/files could not renamed, please recheck the permission and rescan the folder in the manage gallery section."
2220
  msgstr ""
2221
 
2222
+ #: ../admin/upgrade.php:172
2223
  msgid "Rename failed"
2224
  msgstr ""
2225
 
2226
+ #: ../admin/upgrade.php:267
2227
+ #: ../admin/upgrade.php:287
2228
  msgid "Upgrade NextGEN Gallery"
2229
  msgstr ""
2230
 
2231
+ #: ../admin/upgrade.php:268
2232
  msgid "The script detect that you upgrade from a older version."
2233
  msgstr ""
2234
 
2235
+ #: ../admin/upgrade.php:269
2236
  msgid "Your database tables for NextGEN Gallery is out-of-date, and must be upgraded before you can continue."
2237
  msgstr ""
2238
 
2239
+ #: ../admin/upgrade.php:270
2240
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
2241
  msgstr ""
2242
 
2243
+ #: ../admin/upgrade.php:271
2244
  msgid "The upgrade process may take a while, so please be patient."
2245
  msgstr ""
2246
 
2247
+ #: ../admin/upgrade.php:272
2248
  msgid "Start upgrade now"
2249
  msgstr ""
2250
 
2251
+ #: ../admin/upgrade.php:289
2252
  msgid "Upgrade sucessfull"
2253
  msgstr ""
2254
 
2255
+ #: ../admin/upgrade.php:290
2256
  msgid "Continue"
2257
  msgstr ""
2258
 
2316
  msgid "Select gallery"
2317
  msgstr ""
2318
 
2319
+ #: ../admin/tinymce/window.php:56
2320
+ #: ../admin/tinymce/window.php:84
2321
  msgid "Show as"
2322
  msgstr ""
2323
 
2324
+ #: ../admin/tinymce/window.php:57
2325
  msgid "Image list"
2326
  msgstr ""
2327
 
2328
+ #: ../admin/tinymce/window.php:59
2329
  msgid "Imagebrowser"
2330
  msgstr ""
2331
 
2332
+ #: ../admin/tinymce/window.php:72
2333
  msgid "No album"
2334
  msgstr ""
2335
 
2336
+ #: ../admin/tinymce/window.php:85
2337
  msgid "Extended version"
2338
  msgstr ""
2339
 
2340
+ #: ../admin/tinymce/window.php:86
2341
  msgid "Compact version"
2342
  msgstr ""
2343
 
2344
+ #: ../admin/tinymce/window.php:97
2345
  msgid "Select picture"
2346
  msgstr ""
2347
 
2348
+ #: ../admin/tinymce/window.php:99
2349
  msgid "No picture"
2350
  msgstr ""
2351
 
2352
+ #: ../admin/tinymce/window.php:111
2353
  msgid "Width x Height"
2354
  msgstr ""
2355
 
2356
+ #: ../admin/tinymce/window.php:115
2357
  msgid "Effect"
2358
  msgstr ""
2359
 
2360
+ #: ../admin/tinymce/window.php:118
2361
  msgid "No effect"
2362
  msgstr ""
2363
 
2364
+ #: ../admin/tinymce/window.php:120
2365
  msgid "Web 2.0"
2366
  msgstr ""
2367
 
2368
+ #: ../admin/tinymce/window.php:125
2369
  msgid "Float"
2370
  msgstr ""
2371
 
2372
+ #: ../admin/tinymce/window.php:128
2373
  msgid "No float"
2374
  msgstr ""
2375
 
2376
+ #: ../admin/tinymce/window.php:147
2377
  msgid "Insert"
2378
  msgstr ""
2379
 
2500
  msgid "Format"
2501
  msgstr ""
2502
 
2503
+ #: ../lib/ngg-db.php:243
2504
  msgid "Album overview"
2505
  msgstr ""
2506
 
2581
  msgid "Photos"
2582
  msgstr ""
2583
 
2584
+ #: ../view/gallery-caption.php:32
2585
  #: ../view/gallery.php:32
2586
  #: ../widgets/media-rss-widget.php:236
2587
  msgid "[View with PicLens]"
2634
  msgstr ""
2635
 
2636
  #: ../widgets/media-rss-widget.php:153
 
2637
  msgid "Title:"
2638
  msgstr ""
2639
 
2666
  msgid "<a href=\"http://www.macromedia.com/go/getflashplayer\">Get the Flash Player</a> to see the slideshow."
2667
  msgstr ""
2668
 
2669
+ #: ../widgets/widgets.php:135
2670
  msgid "Select Gallery:"
2671
  msgstr ""
2672
 
2673
+ #: ../widgets/widgets.php:137
2674
  msgid "All images"
2675
  msgstr ""
2676
 
2677
+ #: ../widgets/widgets.php:150
2678
  msgid "Height:"
2679
  msgstr ""
2680
 
2681
+ #: ../widgets/widgets.php:151
2682
  msgid "Width:"
2683
  msgstr ""
2684
 
2685
+ #: ../widgets/widgets.php:184
2686
  msgid "Add recent or random images from the galleries"
2687
  msgstr ""
2688
 
2689
+ #: ../widgets/widgets.php:186
2690
  msgid "NextGEN Widget"
2691
  msgstr ""
2692
 
2693
+ #: ../widgets/widgets.php:284
2694
  msgid "Title :"
2695
  msgstr ""
2696
 
2697
+ #: ../widgets/widgets.php:290
2698
  msgid "Show :"
2699
  msgstr ""
2700
 
2701
+ #: ../widgets/widgets.php:296
2702
  msgid "Orginal images"
2703
  msgstr ""
2704
 
2705
+ #: ../widgets/widgets.php:304
2706
  msgid "recent added "
2707
  msgstr ""
2708
 
2709
+ #: ../widgets/widgets.php:309
2710
  msgid "Width x Height :"
2711
  msgstr ""
2712
 
2713
+ #: ../widgets/widgets.php:316
2714
  msgid "Select :"
2715
  msgstr ""
2716
 
2717
+ #: ../widgets/widgets.php:318
2718
  msgid "All galleries"
2719
  msgstr ""
2720
 
2721
+ #: ../widgets/widgets.php:319
2722
  msgid "Only which are not listed"
2723
  msgstr ""
2724
 
2725
+ #: ../widgets/widgets.php:320
2726
  msgid "Only which are listed"
2727
  msgstr ""
2728
 
2729
+ #: ../widgets/widgets.php:326
2730
  msgid "Gallery ID :"
2731
  msgstr ""
2732
 
2733
+ #: ../widgets/widgets.php:328
2734
  msgid "Gallery IDs, separated by commas."
2735
  msgstr ""
2736
 
lib/core.php CHANGED
@@ -94,7 +94,7 @@ class nggGallery {
94
  }
95
 
96
  if (is_admin()) {
97
- if (!is_dir($gallerypath .'/thumbs/')) {
98
  if ( !wp_mkdir_p($gallerypath . '/thumbs/') ) {
99
  if (SAFE_MODE) {
100
  nggAdmin::check_safemode($gallerypath . '/thumbs/');
@@ -136,14 +136,17 @@ class nggGallery {
136
  }
137
 
138
  /**
139
- * create the complete navigation
140
- */
141
- // TODO: shall be moved to another class. This belongs to the view and not to the library.
 
 
 
 
 
142
  function create_navigation($page, $totalElement, $maxElement = 0) {
143
  global $nggRewrite;
144
 
145
- $navigation = "";
146
-
147
  if ($maxElement > 0) {
148
  $total = $totalElement;
149
 
@@ -202,9 +205,8 @@ class nggGallery {
202
  $meta_array = get_post_custom();
203
 
204
  // Ensure that this is a array
205
- if (!is_array($meta_array)) {
206
  $meta_array = array($meta_array);
207
- }
208
 
209
  // assign meta key to db setting key
210
  $meta_tags = array(
@@ -224,6 +226,8 @@ class nggGallery {
224
  'int' => array(
225
  'ngg_gal_Images' => 'galImages',
226
  'ngg_gal_Sort' => 'galSort',
 
 
227
  'ngg_ir_Width' => 'irWidth',
228
  'ngg_ir_Height' => 'irHeight',
229
  'ngg_ir_Rotatetime' => 'irRotatetime'
@@ -357,6 +361,7 @@ class nggGallery {
357
  else
358
  return false;
359
  }
 
360
  }
361
 
362
  ?>
94
  }
95
 
96
  if (is_admin()) {
97
+ if (!is_dir($gallerypath . '/thumbs/')) {
98
  if ( !wp_mkdir_p($gallerypath . '/thumbs/') ) {
99
  if (SAFE_MODE) {
100
  nggAdmin::check_safemode($gallerypath . '/thumbs/');
136
  }
137
 
138
  /**
139
+ * create the complete navigation
140
+ * TODO: shall be moved to another class. This belongs to the view and not to the library.
141
+ *
142
+ * @param mixed $page
143
+ * @param integer $totalElement
144
+ * @param integer $maxElement
145
+ * @return string pagination content
146
+ */
147
  function create_navigation($page, $totalElement, $maxElement = 0) {
148
  global $nggRewrite;
149
 
 
 
150
  if ($maxElement > 0) {
151
  $total = $totalElement;
152
 
205
  $meta_array = get_post_custom();
206
 
207
  // Ensure that this is a array
208
+ if ( !is_array($meta_array) )
209
  $meta_array = array($meta_array);
 
210
 
211
  // assign meta key to db setting key
212
  $meta_tags = array(
226
  'int' => array(
227
  'ngg_gal_Images' => 'galImages',
228
  'ngg_gal_Sort' => 'galSort',
229
+ 'ngg_gal_Columns' => 'galColumns',
230
+ 'ngg_paged_Galleries' => 'galPagedGalleries',
231
  'ngg_ir_Width' => 'irWidth',
232
  'ngg_ir_Height' => 'irHeight',
233
  'ngg_ir_Rotatetime' => 'irRotatetime'
361
  else
362
  return false;
363
  }
364
+
365
  }
366
 
367
  ?>
lib/ngg-db.php CHANGED
@@ -9,6 +9,24 @@
9
  */
10
  class nggdb {
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  /**
13
  * PHP4 compatibility layer for calling the PHP5 constructor.
14
  *
@@ -24,6 +42,9 @@ class nggdb {
24
  function __construct() {
25
  global $wpdb;
26
 
 
 
 
27
  register_shutdown_function(array(&$this, "__destruct"));
28
 
29
  }
@@ -42,38 +63,50 @@ class nggdb {
42
  *
43
  * @param string $order_by
44
  * @param string $order_dir
45
- * @param bool $counter Select true when you need to count the images
 
 
46
  * @return array $galleries
47
  */
48
- function find_all_galleries($order_by = 'gid', $order_dir = 'ASC', $counter = false) {
49
- global $wpdb;
50
 
51
  $order_dir = ( $order_dir == 'DESC') ? 'DESC' : 'ASC';
52
- $galleries = $wpdb->get_results( "SELECT * FROM $wpdb->nggallery ORDER BY {$order_by} {$order_dir}", OBJECT_K );
53
- if ( !$galleries )
 
 
 
 
 
 
 
 
 
54
  return array();
55
 
 
56
  if ( !$counter )
57
- return $galleries;
58
 
59
  // get the galleries information
60
- foreach ($galleries as $key => $value) {
61
  $galleriesID[] = $key;
62
  // init the counter values
63
- $galleries[$key]->counter = 0;
64
  }
65
 
66
  // get the counter values
67
  $picturesCounter = $wpdb->get_results('SELECT galleryid, COUNT(*) as counter FROM '.$wpdb->nggpictures.' WHERE galleryid IN (\''.implode('\',\'', $galleriesID).'\') AND exclude != 1 GROUP BY galleryid', OBJECT_K);
68
 
69
  if ( !$picturesCounter )
70
- return $galleries;
71
 
72
  // add the counter to the gallery objekt
73
  foreach ($picturesCounter as $key => $value)
74
- $galleries[$value->galleryid]->counter = $value->counter;
75
 
76
- return $galleries;
77
  }
78
 
79
  /**
@@ -104,9 +137,11 @@ class nggdb {
104
  * @param string $order_by
105
  * @param string $order_dir (ASC |DESC)
106
  * @param bool $exclude
 
 
107
  * @return An array containing the nggImage objects representing the images in the gallery.
108
  */
109
- function get_gallery($id, $order_by = 'sortorder', $order_dir = 'ASC', $exclude = true) {
110
 
111
  global $wpdb;
112
 
@@ -120,11 +155,21 @@ class nggdb {
120
  $order_dir = ( $order_dir == 'DESC') ? 'DESC' : 'ASC';
121
  $order_by = ( empty($order_by) ) ? 'sortorder' : $order_by;
122
 
 
 
 
123
  // Query database
124
  if( is_numeric($id) )
125
- $result = $wpdb->get_results( $wpdb->prepare( "SELECT tt.*, t.* FROM $wpdb->nggallery AS t INNER JOIN $wpdb->nggpictures AS tt ON t.gid = tt.galleryid WHERE t.gid = %d {$exclude_clause} ORDER BY tt.{$order_by} {$order_dir}", $id ) );
126
  else
127
- $result = $wpdb->get_results( $wpdb->prepare( "SELECT tt.*, t.* FROM $wpdb->nggallery AS t INNER JOIN $wpdb->nggpictures AS tt ON t.gid = tt.galleryid WHERE t.name = %s {$exclude_clause} ORDER BY tt.{$order_by} {$order_dir}", $id ) );
 
 
 
 
 
 
 
128
 
129
  // Build the object
130
  if ($result) {
@@ -194,7 +239,7 @@ class nggdb {
194
  } elseif ( $id == 'all' || $id == 0 ) {
195
  // init the object and fill it
196
  $album = new stdClass();
197
- $album->id = 0;
198
  $album->name = __('Album overview','nggallery');
199
  $album->sortorder = serialize( $wpdb->get_col("SELECT gid FROM $wpdb->nggallery") );
200
  } else {
@@ -456,4 +501,13 @@ class nggdb {
456
  }
457
 
458
  }
 
 
 
 
 
 
 
 
 
459
  ?>
9
  */
10
  class nggdb {
11
 
12
+ /**
13
+ * Holds the list of all galleries
14
+ *
15
+ * @since 1.1.0
16
+ * @access public
17
+ * @var object|array
18
+ */
19
+ var $galleries = false;
20
+
21
+ /**
22
+ * The array for the pagination
23
+ *
24
+ * @since 1.1.0
25
+ * @access public
26
+ * @var array
27
+ */
28
+ var $paged = false;
29
+
30
  /**
31
  * PHP4 compatibility layer for calling the PHP5 constructor.
32
  *
42
  function __construct() {
43
  global $wpdb;
44
 
45
+ $this->galleries = array();
46
+ $this->paged = array();
47
+
48
  register_shutdown_function(array(&$this, "__destruct"));
49
 
50
  }
63
  *
64
  * @param string $order_by
65
  * @param string $order_dir
66
+ * @param bool $counter (optional) Select true when you need to count the images
67
+ * @param int $limit number of paged galleries, 0 shows all galleries
68
+ * @param int $start the start index for paged galleries
69
  * @return array $galleries
70
  */
71
+ function find_all_galleries($order_by = 'gid', $order_dir = 'ASC', $counter = false, $limit = 0, $start = 0) {
72
+ global $wpdb;
73
 
74
  $order_dir = ( $order_dir == 'DESC') ? 'DESC' : 'ASC';
75
+ $limit_by = ( $limit > 0 ) ? 'LIMIT ' . intval($start) . ',' . intval($limit) : '';
76
+ $this->galleries = $wpdb->get_results( "SELECT SQL_CALC_FOUND_ROWS * FROM $wpdb->nggallery ORDER BY {$order_by} {$order_dir} {$limit_by}", OBJECT_K );
77
+
78
+ // Count the number of galleries and calculate the pagination
79
+ if ($limit > 0) {
80
+ $this->paged['total_objects'] = intval ( $wpdb->get_var( "SELECT FOUND_ROWS()" ) );
81
+ $this->paged['objects_per_page'] = count( $this->galleries );
82
+ $this->paged['max_objects_per_page'] = ( $limit > 0 ) ? ceil( $this->paged['total_objects'] / intval($limit)) : 1;
83
+ }
84
+
85
+ if ( !$this->galleries )
86
  return array();
87
 
88
+ // if we didn't need to count the images then stop here
89
  if ( !$counter )
90
+ return $this->galleries;
91
 
92
  // get the galleries information
93
+ foreach ($this->galleries as $key => $value) {
94
  $galleriesID[] = $key;
95
  // init the counter values
96
+ $this->galleries[$key]->counter = 0;
97
  }
98
 
99
  // get the counter values
100
  $picturesCounter = $wpdb->get_results('SELECT galleryid, COUNT(*) as counter FROM '.$wpdb->nggpictures.' WHERE galleryid IN (\''.implode('\',\'', $galleriesID).'\') AND exclude != 1 GROUP BY galleryid', OBJECT_K);
101
 
102
  if ( !$picturesCounter )
103
+ return $this->galleries;
104
 
105
  // add the counter to the gallery objekt
106
  foreach ($picturesCounter as $key => $value)
107
+ $this->galleries[$value->galleryid]->counter = $value->counter;
108
 
109
+ return $this->galleries;
110
  }
111
 
112
  /**
137
  * @param string $order_by
138
  * @param string $order_dir (ASC |DESC)
139
  * @param bool $exclude
140
+ * @param int $limit number of paged galleries, 0 shows all galleries
141
+ * @param int $start the start index for paged galleries
142
  * @return An array containing the nggImage objects representing the images in the gallery.
143
  */
144
+ function get_gallery($id, $order_by = 'sortorder', $order_dir = 'ASC', $exclude = true, $limit = 0, $start = 0) {
145
 
146
  global $wpdb;
147
 
155
  $order_dir = ( $order_dir == 'DESC') ? 'DESC' : 'ASC';
156
  $order_by = ( empty($order_by) ) ? 'sortorder' : $order_by;
157
 
158
+ // Should we limit this query ?
159
+ $limit_by = ( $limit > 0 ) ? 'LIMIT ' . intval($start) . ',' . intval($limit) : '';
160
+
161
  // Query database
162
  if( is_numeric($id) )
163
+ $result = $wpdb->get_results( $wpdb->prepare( "SELECT SQL_CALC_FOUND_ROWS tt.*, t.* FROM $wpdb->nggallery AS t INNER JOIN $wpdb->nggpictures AS tt ON t.gid = tt.galleryid WHERE t.gid = %d {$exclude_clause} ORDER BY tt.{$order_by} {$order_dir} {$limit_by}", $id ) );
164
  else
165
+ $result = $wpdb->get_results( $wpdb->prepare( "SELECT SQL_CALC_FOUND_ROWS tt.*, t.* FROM $wpdb->nggallery AS t INNER JOIN $wpdb->nggpictures AS tt ON t.gid = tt.galleryid WHERE t.name = %s {$exclude_clause} ORDER BY tt.{$order_by} {$order_dir} {$limit_by}", $id ) );
166
+
167
+ // Count the number of images and calculate the pagination
168
+ if ($limit > 0) {
169
+ $this->paged['total_objects'] = intval ( $wpdb->get_var( "SELECT FOUND_ROWS()" ) );
170
+ $this->paged['objects_per_page'] = count( $result );
171
+ $this->paged['max_objects_per_page'] = ( $limit > 0 ) ? ceil( $this->paged['total_objects'] / intval($limit)) : 1;
172
+ }
173
 
174
  // Build the object
175
  if ($result) {
239
  } elseif ( $id == 'all' || $id == 0 ) {
240
  // init the object and fill it
241
  $album = new stdClass();
242
+ $album->id = 'all';
243
  $album->name = __('Album overview','nggallery');
244
  $album->sortorder = serialize( $wpdb->get_col("SELECT gid FROM $wpdb->nggallery") );
245
  } else {
501
  }
502
 
503
  }
504
+
505
+ if ( ! isset($nggdb) ) {
506
+ /**
507
+ * Initate the NextGEN Gallery Database Object, for later cache reasons
508
+ * @global object $nggdb Creates a new wpdb object based on wp-config.php Constants for the database
509
+ * @since 1.1.0
510
+ */
511
+ $nggdb = new nggdb();
512
+ }
513
  ?>
lib/rewrite.php CHANGED
@@ -49,20 +49,17 @@ class nggRewrite {
49
  $post = &get_post(get_the_ID());
50
 
51
  // $_GET from wp_query
52
- $album = get_query_var('album');
53
- if ( !empty( $album ) ) {
54
  $args ['album'] = $album;
55
- }
56
 
57
  $gallery = get_query_var('gallery');
58
- if ( !empty( $gallery ) ) {
59
  $args ['gallery'] = $gallery;
60
- }
61
 
62
  $gallerytag = get_query_var('gallerytag');
63
- if ( !empty( $gallerytag ) ) {
64
  $args ['gallerytag'] = $gallerytag;
65
- }
66
 
67
  /* urlconstructor = slug | type | tags | [nav] | [show]
68
  type : page | post
@@ -79,30 +76,30 @@ class nggRewrite {
79
 
80
  // 2. Post or page ?
81
  if ( $post->post_type == 'page' ) {
82
- $url .= "/page-" . $post->ID; // Pagnename is nicer but how to handle /parent/pagename ? Confused...
83
  } else {
84
- $url .= "/post/" . $post->post_name;
85
  }
86
 
87
  // 3. Album, pid or tags
88
  if (isset ($args['album']) && isset ($args['gallery']) ) {
89
- $url .= "/album-" . $args['album'] . "/gallery-" . $args['gallery'];
90
  }
91
  if (isset ($args['gallerytag'])) {
92
- $url .= "/tags/" . $args['gallerytag'];
93
  }
94
  if (isset ($args['pid'])) {
95
- $url .= "/page/" . $args['pid'];
96
  }
97
 
98
  // 4. Navigation
99
  if (isset ($args['nggpage']) && ($args['nggpage']) ) {
100
- $url .= "/page-" . $args['nggpage'];
101
  }
102
 
103
  // 5. Show images or Slideshow
104
  if (isset ($args['show'])) {
105
- $url .= ( $args['show'] == 'slide' ) ? "/slideshow" : "/images";
106
  }
107
 
108
  return $url;
@@ -216,13 +213,13 @@ class nggRewrite {
216
  $this->slug.'/page-([0-9]+)/images/?$' => 'index.php?page_id=$matches[1]&show=gallery',
217
  $this->slug.'/page-([0-9]+)/tags/([^/]+)/?$' => 'index.php?page_id=$matches[1]&gallerytag=$matches[2]',
218
  $this->slug.'/page-([0-9]+)/tags/([^/]+)/page-([0-9]+)/?$' => 'index.php?page_id=$matches[1]&gallerytag=$matches[2]&nggpage=$matches[3]',
219
- $this->slug.'/page-([0-9]+)/album-([0-9]+)/gallery-([0-9]+)/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]',
220
- $this->slug.'/page-([0-9]+)/album-([0-9]+)/gallery-([0-9]+)/slideshow/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]&show=slide',
221
- $this->slug.'/page-([0-9]+)/album-([0-9]+)/gallery-([0-9]+)/images/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]&show=gallery',
222
- $this->slug.'/page-([0-9]+)/album-([0-9]+)/gallery-([0-9]+)/page/([0-9]+)/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]&pid=$matches[4]',
223
- $this->slug.'/page-([0-9]+)/album-([0-9]+)/gallery-([0-9]+)/page-([0-9]+)/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]',
224
- $this->slug.'/page-([0-9]+)/album-([0-9]+)/gallery-([0-9]+)/page-([0-9]+)/slideshow/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]&show=slide',
225
- $this->slug.'/page-([0-9]+)/album-([0-9]+)/gallery-([0-9]+)/page-([0-9]+)/images/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]&show=gallery',
226
 
227
  // rewrite rules for posts
228
  $this->slug.'/post/([^/]+)/?$' => 'index.php?name=$matches[1]',
@@ -232,13 +229,13 @@ class nggRewrite {
232
  $this->slug.'/post/([^/]+)/images/?$' => 'index.php?name=$matches[1]&show=gallery',
233
  $this->slug.'/post/([^/]+)/tags/([^/]+)/?$' => 'index.php?name=$matches[1]&gallerytag=$matches[2]',
234
  $this->slug.'/post/([^/]+)/tags/([^/]+)/page-([0-9]+)/?$' => 'index.php?name=$matches[1]&gallerytag=$matches[2]&nggpage=$matches[3]',
235
- $this->slug.'/post/([^/]+)/album-([0-9]+)/gallery-([0-9]+)/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]',
236
- $this->slug.'/post/([^/]+)/album-([0-9]+)/gallery-([0-9]+)/slideshow/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&show=slide',
237
- $this->slug.'/post/([^/]+)/album-([0-9]+)/gallery-([0-9]+)/images/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&show=gallery',
238
- $this->slug.'/post/([^/]+)/album-([0-9]+)/gallery-([0-9]+)/page/([0-9]+)/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&pid=$matches[4]',
239
- $this->slug.'/post/([^/]+)/album-([0-9]+)/gallery-([0-9]+)/page-([0-9]+)/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]',
240
- $this->slug.'/post/([^/]+)/album-([0-9]+)/gallery-([0-9]+)/page-([0-9]+)/slideshow/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]&show=slide',
241
- $this->slug.'/post/([^/]+)/album-([0-9]+)/gallery-([0-9]+)/page-([0-9]+)/images/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]&show=gallery',
242
  );
243
 
244
  $wp_rewrite->rules = array_merge($rewrite_rules, $wp_rewrite->rules);
49
  $post = &get_post(get_the_ID());
50
 
51
  // $_GET from wp_query
52
+ $album = get_query_var('album');
53
+ if ( !empty( $album ) )
54
  $args ['album'] = $album;
 
55
 
56
  $gallery = get_query_var('gallery');
57
+ if ( !empty( $gallery ) )
58
  $args ['gallery'] = $gallery;
 
59
 
60
  $gallerytag = get_query_var('gallerytag');
61
+ if ( !empty( $gallerytag ) )
62
  $args ['gallerytag'] = $gallerytag;
 
63
 
64
  /* urlconstructor = slug | type | tags | [nav] | [show]
65
  type : page | post
76
 
77
  // 2. Post or page ?
78
  if ( $post->post_type == 'page' ) {
79
+ $url .= '/page-' . $post->ID; // Pagnename is nicer but how to handle /parent/pagename ? Confused...
80
  } else {
81
+ $url .= '/post/' . $post->post_name;
82
  }
83
 
84
  // 3. Album, pid or tags
85
  if (isset ($args['album']) && isset ($args['gallery']) ) {
86
+ $url .= '/album-' . $args['album'] . '/gallery-' . $args['gallery'];
87
  }
88
  if (isset ($args['gallerytag'])) {
89
+ $url .= '/tags/' . $args['gallerytag'];
90
  }
91
  if (isset ($args['pid'])) {
92
+ $url .= '/page/' . $args['pid'];
93
  }
94
 
95
  // 4. Navigation
96
  if (isset ($args['nggpage']) && ($args['nggpage']) ) {
97
+ $url .= '/page-' . $args['nggpage'];
98
  }
99
 
100
  // 5. Show images or Slideshow
101
  if (isset ($args['show'])) {
102
+ $url .= ( $args['show'] == 'slide' ) ? '/slideshow' : '/images';
103
  }
104
 
105
  return $url;
213
  $this->slug.'/page-([0-9]+)/images/?$' => 'index.php?page_id=$matches[1]&show=gallery',
214
  $this->slug.'/page-([0-9]+)/tags/([^/]+)/?$' => 'index.php?page_id=$matches[1]&gallerytag=$matches[2]',
215
  $this->slug.'/page-([0-9]+)/tags/([^/]+)/page-([0-9]+)/?$' => 'index.php?page_id=$matches[1]&gallerytag=$matches[2]&nggpage=$matches[3]',
216
+ $this->slug.'/page-([0-9]+)/album-([^/]+)/gallery-([0-9]+)/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]',
217
+ $this->slug.'/page-([0-9]+)/album-([^/]+)/gallery-([0-9]+)/slideshow/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]&show=slide',
218
+ $this->slug.'/page-([0-9]+)/album-([^/]+)/gallery-([0-9]+)/images/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]&show=gallery',
219
+ $this->slug.'/page-([0-9]+)/album-([^/]+)/gallery-([0-9]+)/page/([0-9]+)/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]&pid=$matches[4]',
220
+ $this->slug.'/page-([0-9]+)/album-([^/]+)/gallery-([0-9]+)/page-([0-9]+)/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]',
221
+ $this->slug.'/page-([0-9]+)/album-([^/]+)/gallery-([0-9]+)/page-([0-9]+)/slideshow/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]&show=slide',
222
+ $this->slug.'/page-([0-9]+)/album-([^/]+)/gallery-([0-9]+)/page-([0-9]+)/images/?$' => 'index.php?page_id=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]&show=gallery',
223
 
224
  // rewrite rules for posts
225
  $this->slug.'/post/([^/]+)/?$' => 'index.php?name=$matches[1]',
229
  $this->slug.'/post/([^/]+)/images/?$' => 'index.php?name=$matches[1]&show=gallery',
230
  $this->slug.'/post/([^/]+)/tags/([^/]+)/?$' => 'index.php?name=$matches[1]&gallerytag=$matches[2]',
231
  $this->slug.'/post/([^/]+)/tags/([^/]+)/page-([0-9]+)/?$' => 'index.php?name=$matches[1]&gallerytag=$matches[2]&nggpage=$matches[3]',
232
+ $this->slug.'/post/([^/]+)/album-([^/]+)/gallery-([0-9]+)/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]',
233
+ $this->slug.'/post/([^/]+)/album-([^/]+)/gallery-([0-9]+)/slideshow/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&show=slide',
234
+ $this->slug.'/post/([^/]+)/album-([^/]+)/gallery-([0-9]+)/images/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&show=gallery',
235
+ $this->slug.'/post/([^/]+)/album-([^/]+)/gallery-([0-9]+)/page/([0-9]+)/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&pid=$matches[4]',
236
+ $this->slug.'/post/([^/]+)/album-([^/]+)/gallery-([0-9]+)/page-([0-9]+)/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]',
237
+ $this->slug.'/post/([^/]+)/album-([^/]+)/gallery-([0-9]+)/page-([0-9]+)/slideshow/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]&show=slide',
238
+ $this->slug.'/post/([^/]+)/album-([^/]+)/gallery-([0-9]+)/page-([0-9]+)/images/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]&show=gallery',
239
  );
240
 
241
  $wp_rewrite->rules = array_merge($rewrite_rules, $wp_rewrite->rules);
nggallery.php CHANGED
@@ -2,13 +2,13 @@
2
  /*
3
  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: 1.0.2
8
 
9
  Author URI: http://alexrabe.boelinger.com/
10
 
11
- Copyright 2007-2008 by Alex Rabe & NextGEN DEV-Team
12
 
13
  The NextGEN button is taken from the Fugue Icons of http://www.pinvoke.com/.
14
 
@@ -32,7 +32,7 @@ The JW Image Rotator (Slideshow) is not part of this license and is available
32
  under a Creative Commons License, which allowing you to use, modify and redistribute
33
  them for noncommercial purposes.
34
 
35
- For commercial use please look at the Jeroen's homepage : http://www.jeroenwijering.com/
36
 
37
  */
38
 
@@ -44,11 +44,12 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
44
  if (!class_exists('nggLoader')) {
45
  class nggLoader {
46
 
47
- var $version = '1.0.2';
48
- var $dbversion = '0.9.7';
49
  var $minium_WP = '2.7';
50
  var $minium_WPMU = '2.7';
51
  var $updateURL = 'http://nextgen.boelinger.com/version.php';
 
52
  var $options = '';
53
  var $manage_page;
54
 
@@ -62,11 +63,12 @@ class nggLoader {
62
  return;
63
 
64
  // Get some constants first
 
65
  $this->define_constant();
66
  $this->define_tables();
67
  $this->register_taxonomy();
68
- $this->load_options();
69
  $this->load_dependencies();
 
70
 
71
  // Init options & tables during activation & deregister init option
72
  register_activation_hook( dirname(__FILE__) . '/nggallery.php', array(&$this, 'activate') );
@@ -207,7 +209,7 @@ class nggLoader {
207
  define('NGGALLERY_URLPATH', WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/' );
208
 
209
  // look for imagerotator
210
- define('NGGALLERY_IREXIST', file_exists( NGGALLERY_ABSPATH . 'imagerotator.swf' ));
211
 
212
  // get value for safe mode
213
  if ( (gettype( ini_get('safe_mode') ) == 'string') ) {
@@ -220,6 +222,7 @@ class nggLoader {
220
  }
221
 
222
  function load_dependencies() {
 
223
 
224
  // Load global libraries // average memory usage (in bytes)
225
  require_once (dirname (__FILE__) . '/lib/core.php'); // 94.840
@@ -314,6 +317,16 @@ class nggLoader {
314
  $this->options = get_option('ngg_options');
315
  }
316
 
 
 
 
 
 
 
 
 
 
 
317
  function activate() {
318
  include_once (dirname (__FILE__) . '/admin/install.php');
319
  // check for tables
@@ -337,10 +350,8 @@ class nggLoader {
337
 
338
  }
339
  // Let's start the holy plugin
340
- global $ngg, $nggRewrite;
341
  $ngg = new nggLoader();
342
- // Add rewrite rules
343
- if ( class_exists(nggRewrite) )
344
- $nggRewrite = new nggRewrite();
345
  }
346
- ?>
2
  /*
3
  Plugin Name: NextGEN Gallery
4
  Plugin URI: http://alexrabe.boelinger.com/?page_id=80
5
+ Description: A NextGENeration Photo gallery for the Web 2.0.
6
+ Author: Alex Rabe
7
+ Version: 1.1.0
8
 
9
  Author URI: http://alexrabe.boelinger.com/
10
 
11
+ Copyright 2007-2009 by Alex Rabe & NextGEN DEV-Team
12
 
13
  The NextGEN button is taken from the Fugue Icons of http://www.pinvoke.com/.
14
 
32
  under a Creative Commons License, which allowing you to use, modify and redistribute
33
  them for noncommercial purposes.
34
 
35
+ For commercial use please look at the Jeroen's homepage : http://www.longtailvideo.com
36
 
37
  */
38
 
44
  if (!class_exists('nggLoader')) {
45
  class nggLoader {
46
 
47
+ var $version = '1.1.0';
48
+ var $dbversion = '1.1.0';
49
  var $minium_WP = '2.7';
50
  var $minium_WPMU = '2.7';
51
  var $updateURL = 'http://nextgen.boelinger.com/version.php';
52
+ var $donators = 'http://nextgen.boelinger.com/donators.php';
53
  var $options = '';
54
  var $manage_page;
55
 
63
  return;
64
 
65
  // Get some constants first
66
+ $this->load_options();
67
  $this->define_constant();
68
  $this->define_tables();
69
  $this->register_taxonomy();
 
70
  $this->load_dependencies();
71
+ $this->start_rewrite_module();
72
 
73
  // Init options & tables during activation & deregister init option
74
  register_activation_hook( dirname(__FILE__) . '/nggallery.php', array(&$this, 'activate') );
209
  define('NGGALLERY_URLPATH', WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/' );
210
 
211
  // look for imagerotator
212
+ define('NGGALLERY_IREXIST', !empty( $this->options['irURL'] ));
213
 
214
  // get value for safe mode
215
  if ( (gettype( ini_get('safe_mode') ) == 'string') ) {
222
  }
223
 
224
  function load_dependencies() {
225
+ global $nggdb;
226
 
227
  // Load global libraries // average memory usage (in bytes)
228
  require_once (dirname (__FILE__) . '/lib/core.php'); // 94.840
317
  $this->options = get_option('ngg_options');
318
  }
319
 
320
+ // Add rewrite rules
321
+ function start_rewrite_module() {
322
+
323
+ global $nggRewrite;
324
+
325
+ if ( class_exists(nggRewrite) )
326
+ $nggRewrite = new nggRewrite();
327
+
328
+ }
329
+
330
  function activate() {
331
  include_once (dirname (__FILE__) . '/admin/install.php');
332
  // check for tables
350
 
351
  }
352
  // Let's start the holy plugin
353
+ global $ngg;
354
  $ngg = new nggLoader();
355
+
 
 
356
  }
357
+ ?>
nggfunctions.php CHANGED
@@ -22,12 +22,16 @@ function nggShowSlideshow($galleryID, $width, $height) {
22
  $out = '[' . $ngg_options['galTextSlide'] . ']';
23
  return $out;
24
  }
25
-
 
 
 
 
26
  if (empty($width) ) $width = (int) $ngg_options['irWidth'];
27
  if (empty($height)) $height = (int) $ngg_options['irHeight'];
28
 
29
  // init the flash output
30
- $swfobject = new swfobject( NGGALLERY_URLPATH.'imagerotator.swf', 'so' . $galleryID, $width, $height, '7.0.0', 'false');
31
 
32
  $swfobject->message = '<p>'. __('The <a href="http://www.macromedia.com/go/getflashplayer">Flash Player</a> and <a href="http://www.mozilla.com/firefox/">a browser with Javascript support</a> are needed..', 'nggallery').'</p>';
33
  $swfobject->add_params('wmode', 'opaque');
@@ -158,14 +162,25 @@ function nggCreateGallery($picturelist, $galleryID = false, $template = '') {
158
  if ( !is_array($picturelist) )
159
  $picturelist = array($picturelist);
160
 
 
 
161
  $gallery = new stdclass;
162
  $gallery->ID = (int) $galleryID;
163
  $gallery->show_slideshow = false;
164
-
 
 
 
 
 
165
  $maxElement = $ngg_options['galImages'];
166
  $thumbwidth = $ngg_options['thumbwidth'];
167
  $thumbheight = $ngg_options['thumbheight'];
168
 
 
 
 
 
169
  // set thumb size
170
  $thumbsize = '';
171
  if ($ngg_options['thumbfix']) $thumbsize = 'width="'.$thumbwidth.'" height="'.$thumbheight.'"';
@@ -188,10 +203,7 @@ function nggCreateGallery($picturelist, $galleryID = false, $template = '') {
188
  // check for page navigation
189
  if ($maxElement > 0) {
190
  if ( !is_home() || $pageid == get_the_ID() ) {
191
- if ( !empty( $nggpage ) )
192
- $page = (int) $nggpage;
193
- else
194
- $page = 1;
195
  }
196
  else $page = 1;
197
 
@@ -225,8 +237,9 @@ function nggCreateGallery($picturelist, $galleryID = false, $template = '') {
225
  $picturelist[$key]->thumbnailURL = $picture->thumbURL;
226
  $picturelist[$key]->size = $thumbsize;
227
  $picturelist[$key]->thumbcode = $thumbcode;
228
- $picturelist[$key]->description = ( empty($picture->description) ) ? ' ' : stripslashes($picture->description);
229
- $picturelist[$key]->alttext = ( empty($picture->alttext) ) ? ' ' : stripslashes($picture->alttext);
 
230
  }
231
 
232
  // look for gallery-$template.php or pure gallery.php
@@ -254,14 +267,14 @@ function nggShowAlbum($albumID, $template = 'extend') {
254
  // $_GET from wp_query
255
  $gallery = get_query_var('gallery');
256
  $album = get_query_var('album');
257
-
258
- // in the case somebody uses the 'all' keyword, it should be '0' to show all galleries
259
- $albumID = ($albumID == 'all') ? 0 : $albumID;
260
 
261
  // first look for gallery variable
262
  if (!empty( $gallery )) {
263
 
264
- if ( ($albumID != $album) && ($albumID != 0) )
265
  return;
266
 
267
  // if gallery is is submit , then show the gallery instead
@@ -282,7 +295,7 @@ function nggShowAlbum($albumID, $template = 'extend') {
282
  if ( is_array($album->gallery_ids) )
283
  $out = nggCreateAlbum( $album->gallery_ids, $template, $album );
284
 
285
- $out = apply_filters( 'ngg_show_album_content', $out, intval( $album->id ) );
286
 
287
  return $out;
288
  }
@@ -301,8 +314,14 @@ function nggCreateAlbum( $galleriesID, $template = 'extend', $album = 0) {
301
 
302
  global $wpdb, $nggRewrite;
303
 
 
 
 
304
  $ngg_options = nggGallery::get_option('ngg_options');
305
 
 
 
 
306
  $sortorder = $galleriesID;
307
  $galleries = array();
308
 
@@ -347,7 +366,9 @@ function nggCreateAlbum( $galleriesID, $template = 'extend', $album = 0) {
347
  if ($ngg_options['galNoPages']) {
348
  $args['album'] = $album->id;
349
  $args['gallery'] = $key;
 
350
  $galleries[$key]->pagelink = $nggRewrite->get_permalink($args);
 
351
  } else {
352
  $galleries[$key]->pagelink = get_permalink( $galleries[$key]->pageid );
353
  }
@@ -356,11 +377,33 @@ function nggCreateAlbum( $galleriesID, $template = 'extend', $album = 0) {
356
  $galleries[$key]->galdesc = html_entity_decode ( stripslashes($galleries[$key]->galdesc) ) ;
357
  }
358
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
359
  // if sombody didn't enter any template , take the extend version
360
  $filename = ( empty($template) ) ? 'album-extend' : 'album-' . $template ;
361
 
362
  // create the output
363
- $out = nggGallery::capture ( $filename, array ('album' => $album, 'galleries' => $galleries, 'mode' => $mode) );
364
 
365
  return $out;
366
 
@@ -450,6 +493,7 @@ function nggCreateImageBrowser($picarray, $template = '') {
450
  $picture->next_image_link = $nggRewrite->get_permalink(array ('pid' => $next_pid));
451
  $picture->number = $key + 1;
452
  $picture->total = $total;
 
453
  $picture->alttext = html_entity_decode(stripslashes($picture->alttext));
454
  $picture->description = html_entity_decode(stripslashes($picture->description));
455
 
@@ -495,23 +539,28 @@ function nggSinglePicture($imageID, $width = 250, $height = 250, $mode = '', $fl
495
  return __('[SinglePic not found]','nggallery');
496
 
497
  // add float to img
498
- if (!empty($float)) {
499
- switch ($float) {
500
 
501
- case 'left': $float=' ngg-left';
 
502
  break;
503
 
504
- case 'right': $float=' ngg-right';
 
505
  break;
506
 
507
- case 'center': $float=' ngg-center';
 
508
  break;
509
 
510
- default: $float='';
 
511
  break;
512
- }
513
  }
514
 
 
 
 
515
  // check fo cached picture
516
  if ( ($ngg_options['imgCacheSinglePic']) && ($post->post_status == 'publish') )
517
  $picture->thumbnailURL = $picture->cached_singlepic_file($width, $height, $mode );
@@ -522,6 +571,7 @@ function nggSinglePicture($imageID, $width = 250, $height = 250, $mode = '', $fl
522
  $picture->href_link = $picture->get_href_link();
523
  $picture->alttext = html_entity_decode(stripslashes($picture->alttext));
524
  $picture->description = html_entity_decode(stripslashes($picture->description));
 
525
  $picture->classname = 'ngg-singlepic'. $float;
526
  $picture->thumbcode = $picture->get_thumbcode( 'singlepic' . $imageID);
527
  $picture->height = (int) $height;
@@ -668,10 +718,13 @@ function nggShowAlbumTags($taglist) {
668
  $picturelist[$key]->counter = $picture->count;
669
  $picturelist[$key]->title = $picture->name;
670
  $picturelist[$key]->pagelink = $nggRewrite->get_permalink( array('gallerytag'=>$picture->slug) );
671
- }
672
-
 
 
 
673
  // create the output
674
- $out = nggGallery::capture ('album-compact', array ('album' => 0, 'galleries' => $picturelist, 'mode' => 'compact') );
675
 
676
  $out = apply_filters('ngg_show_album_tags_content', $out, $taglist);
677
 
22
  $out = '[' . $ngg_options['galTextSlide'] . ']';
23
  return $out;
24
  }
25
+
26
+ // If the Imagerotator didn't exist, skip the output
27
+ if ( NGGALLERY_IREXIST == false )
28
+ return;
29
+
30
  if (empty($width) ) $width = (int) $ngg_options['irWidth'];
31
  if (empty($height)) $height = (int) $ngg_options['irHeight'];
32
 
33
  // init the flash output
34
+ $swfobject = new swfobject( $ngg_options['irURL'] , 'so' . $galleryID, $width, $height, '7.0.0', 'false');
35
 
36
  $swfobject->message = '<p>'. __('The <a href="http://www.macromedia.com/go/getflashplayer">Flash Player</a> and <a href="http://www.mozilla.com/firefox/">a browser with Javascript support</a> are needed..', 'nggallery').'</p>';
37
  $swfobject->add_params('wmode', 'opaque');
162
  if ( !is_array($picturelist) )
163
  $picturelist = array($picturelist);
164
 
165
+ // Populate galleries values from the first image
166
+ $first_image = current($picturelist);
167
  $gallery = new stdclass;
168
  $gallery->ID = (int) $galleryID;
169
  $gallery->show_slideshow = false;
170
+ $gallery->name = stripslashes ( $first_image->name );
171
+ $gallery->title = stripslashes( $first_image->title );
172
+ $gallery->description = html_entity_decode(stripslashes( $first_image->galdesc));
173
+ $gallery->pageid = $first_image->pageid;
174
+ reset($picturelist);
175
+
176
  $maxElement = $ngg_options['galImages'];
177
  $thumbwidth = $ngg_options['thumbwidth'];
178
  $thumbheight = $ngg_options['thumbheight'];
179
 
180
+ // fixed width if needed
181
+ $gallery->columns = intval($ngg_options['galColumns']);
182
+ $gallery->imagewidth = ($gallery->columns > 0) ? 'style="width:'. floor(100/$gallery->columns) .'%;"' : '';
183
+
184
  // set thumb size
185
  $thumbsize = '';
186
  if ($ngg_options['thumbfix']) $thumbsize = 'width="'.$thumbwidth.'" height="'.$thumbheight.'"';
203
  // check for page navigation
204
  if ($maxElement > 0) {
205
  if ( !is_home() || $pageid == get_the_ID() ) {
206
+ $page = ( !empty( $nggpage ) ) ? (int) $nggpage : 1;
 
 
 
207
  }
208
  else $page = 1;
209
 
237
  $picturelist[$key]->thumbnailURL = $picture->thumbURL;
238
  $picturelist[$key]->size = $thumbsize;
239
  $picturelist[$key]->thumbcode = $thumbcode;
240
+ $picturelist[$key]->description = ( empty($picture->description) ) ? ' ' : htmlspecialchars ( stripslashes($picture->description) );
241
+ $picturelist[$key]->alttext = ( empty($picture->alttext) ) ? ' ' : htmlspecialchars ( stripslashes($picture->alttext) );
242
+ $picturelist[$key]->caption = ( empty($picture->description) ) ? '&nbsp;' : html_entity_decode( stripslashes($picture->description) );
243
  }
244
 
245
  // look for gallery-$template.php or pure gallery.php
267
  // $_GET from wp_query
268
  $gallery = get_query_var('gallery');
269
  $album = get_query_var('album');
270
+
271
+ // in the case somebody uses the '0', it should be 'all' to show all galleries
272
+ $albumID = ($albumID == 0) ? 'all' : $albumID;
273
 
274
  // first look for gallery variable
275
  if (!empty( $gallery )) {
276
 
277
+ if ( ($albumID != $album) && ($albumID != 'all') )
278
  return;
279
 
280
  // if gallery is is submit , then show the gallery instead
295
  if ( is_array($album->gallery_ids) )
296
  $out = nggCreateAlbum( $album->gallery_ids, $template, $album );
297
 
298
+ $out = apply_filters( 'ngg_show_album_content', $out, $album->id );
299
 
300
  return $out;
301
  }
314
 
315
  global $wpdb, $nggRewrite;
316
 
317
+ // $_GET from wp_query
318
+ $nggpage = get_query_var('nggpage');
319
+
320
  $ngg_options = nggGallery::get_option('ngg_options');
321
 
322
+ //this option can currently only set via the custom fields
323
+ $maxElement = (int) $ngg_options['galPagedGalleries'];
324
+
325
  $sortorder = $galleriesID;
326
  $galleries = array();
327
 
366
  if ($ngg_options['galNoPages']) {
367
  $args['album'] = $album->id;
368
  $args['gallery'] = $key;
369
+ $args['nggpage'] = false;
370
  $galleries[$key]->pagelink = $nggRewrite->get_permalink($args);
371
+
372
  } else {
373
  $galleries[$key]->pagelink = get_permalink( $galleries[$key]->pageid );
374
  }
377
  $galleries[$key]->galdesc = html_entity_decode ( stripslashes($galleries[$key]->galdesc) ) ;
378
  }
379
 
380
+ // check for page navigation
381
+ if ($maxElement > 0) {
382
+ if ( !is_home() || $pageid == get_the_ID() ) {
383
+ $page = ( !empty( $nggpage ) ) ? (int) $nggpage : 1;
384
+ }
385
+ else $page = 1;
386
+
387
+ $start = $offset = ( $page - 1 ) * $maxElement;
388
+
389
+ $total = count($galleries);
390
+
391
+ // remove the element if we didn't start at the beginning
392
+ if ($start > 0 ) array_splice($galleries, 0, $start);
393
+
394
+ // return the list of images we need
395
+ array_splice($galleries, $maxElement);
396
+
397
+ $navigation = nggGallery::create_navigation($page, $total, $maxElement);
398
+ } else {
399
+ $navigation = '<div class="ngg-clear">&nbsp;</div>';
400
+ }
401
+
402
  // if sombody didn't enter any template , take the extend version
403
  $filename = ( empty($template) ) ? 'album-extend' : 'album-' . $template ;
404
 
405
  // create the output
406
+ $out = nggGallery::capture ( $filename, array ('album' => $album, 'galleries' => $galleries, 'pagination' => $navigation) );
407
 
408
  return $out;
409
 
493
  $picture->next_image_link = $nggRewrite->get_permalink(array ('pid' => $next_pid));
494
  $picture->number = $key + 1;
495
  $picture->total = $total;
496
+ $picture->linktitle = htmlentities(stripslashes($picture->description));
497
  $picture->alttext = html_entity_decode(stripslashes($picture->alttext));
498
  $picture->description = html_entity_decode(stripslashes($picture->description));
499
 
539
  return __('[SinglePic not found]','nggallery');
540
 
541
  // add float to img
542
+ switch ($float) {
 
543
 
544
+ case 'left':
545
+ $float =' ngg-left';
546
  break;
547
 
548
+ case 'right':
549
+ $float =' ngg-right';
550
  break;
551
 
552
+ case 'center':
553
+ $float =' ngg-center';
554
  break;
555
 
556
+ default:
557
+ $float ='';
558
  break;
 
559
  }
560
 
561
+ // clean mode if needed
562
+ $mode = ( eregi('web20|watermark', $mode) ) ? $mode : '';
563
+
564
  // check fo cached picture
565
  if ( ($ngg_options['imgCacheSinglePic']) && ($post->post_status == 'publish') )
566
  $picture->thumbnailURL = $picture->cached_singlepic_file($width, $height, $mode );
571
  $picture->href_link = $picture->get_href_link();
572
  $picture->alttext = html_entity_decode(stripslashes($picture->alttext));
573
  $picture->description = html_entity_decode(stripslashes($picture->description));
574
+ $picture->linktitle = htmlentities(stripslashes($picture->description));
575
  $picture->classname = 'ngg-singlepic'. $float;
576
  $picture->thumbcode = $picture->get_thumbcode( 'singlepic' . $imageID);
577
  $picture->height = (int) $height;
718
  $picturelist[$key]->counter = $picture->count;
719
  $picturelist[$key]->title = $picture->name;
720
  $picturelist[$key]->pagelink = $nggRewrite->get_permalink( array('gallerytag'=>$picture->slug) );
721
+ }
722
+
723
+ //TODO: Add pagination later
724
+ $navigation = '<div class="ngg-clear">&nbsp;</div>';
725
+
726
  // create the output
727
+ $out = nggGallery::capture ('album-compact', array ('album' => 0, 'galleries' => $picturelist, 'pagination' => $navigation) );
728
 
729
  $out = apply_filters('ngg_show_album_tags_content', $out, $taglist);
730
 
readme.txt CHANGED
@@ -1,6 +1,6 @@
1
  === NextGEN Gallery ===
2
  Contributors: Alex Rabe
3
- Donate link: http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/
4
  Tags: photos, flash, slideshow, images, gallery, media, admin, post, photo-albums, pictures, widgets, photo, picture
5
  Requires at least: 2.7
6
  Tested up to: 2.7
@@ -10,8 +10,16 @@ NextGEN Gallery is a full integrated Image Gallery plugin for WordPress with a F
10
 
11
  == Description ==
12
 
13
- My last and hopefully best plugin for WordPress is a new Gallery plugin called NextGEN Gallery . It's named als "NextGeneration" according to the the development of the game consoles . More over it should indicate that I (try) to use all new possibilities of the great JQuery and the so called Web 2.0.
14
- Before I start writing the plugin I study all image and gallery plugins for WordPress, I figure out that some of them are really good and well designed, but I missed a simple and easy administration back end to handle multiple galleries.
 
 
 
 
 
 
 
 
15
 
16
  = NEW in VERSION 1.0 for WordPress 2.7 =
17
 
@@ -39,16 +47,11 @@ Other features:
39
  * Sort images feature
40
  * Cool flash addons here : http://wordpress.org/extend/plugins/nextgen-flashviewer/
41
 
42
- For support around this plugin please visit http://alexrabe.boelinger.com/forums/
43
-
44
- **For your language file please visit :** http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/languages/
45
-
46
  == Credits ==
47
 
48
- Copyright 2007-2008 Alex Rabe & NextGEN DEV-Team
49
 
50
- The NextGEN button is taken from the Silk set of FamFamFam. See more at
51
- http://www.famfamfam.com/lab/icons/silk/
52
 
53
  This program is free software; you can redistribute it and/or modify
54
  it under the terms of the GNU General Public License as published by
@@ -70,22 +73,20 @@ The JW Image Rotator (Slideshow) is not part of this license and is available
70
  under a Creative Commons License, which allowing you to use, modify and redistribute
71
  them for noncommercial purposes.
72
 
73
- For commercial use please look at the Jeroen's homepage : http://www.jeroenwijering.com/
74
 
75
 
76
  == Installation ==
77
 
78
  1. Upload the files to wp-content/plugins/nextgen-gallery
79
 
80
- 2. Go to the web page http://www.longtailvideo.com/ and download the JW Image Rotator and unpack the conent
81
-
82
- 3. Upload the file imagerotator.swf to the nextgen-gallery folder
83
 
84
- 4. Activate the plugin
85
 
86
- 5. Add a gallery and upload some images (the main gallery folder must have write permission)
87
 
88
- 6. Go to your post/page an enter the tag '[nggallery id=x]' or '[slideshow id=x]'.
89
  See more tags in the FAQ section
90
 
91
  That's it ... Have fun
1
  === NextGEN Gallery ===
2
  Contributors: Alex Rabe
3
+ Donate link: http://alexrabe.boelinger.com/donation/
4
  Tags: photos, flash, slideshow, images, gallery, media, admin, post, photo-albums, pictures, widgets, photo, picture
5
  Requires at least: 2.7
6
  Tested up to: 2.7
10
 
11
  == Description ==
12
 
13
+ NextGEN Gallery is a full integrated Image Gallery plugin for WordPress with a Flash slideshow option. Before I start writing the plugin I study all image and gallery plugins for WordPress,
14
+ I figure out that some of them are really good and well designed, but I missed a simple and easy administration back end to handle multiple galleries and albums.
15
+
16
+ Important Links:
17
+
18
+ * <a href="http://nextgen.boelinger.com/" title="Demonstration page">Demonstration</a>
19
+ * <a href="http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/languages/" title="Translation and Language files">Language files</a>
20
+ * <a href="http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/changelog/" title="NextGEN Gallery Changelog">Changelog</a>
21
+ * <a href="http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/faq/" title="NextGEN Gallery FAQ">NextGEN Gallery FAQ</a>
22
+ * <a href="http://wordpress.org/tags/nextgen-gallery" title="Wordpress Support Forum">Support Forum</a>
23
 
24
  = NEW in VERSION 1.0 for WordPress 2.7 =
25
 
47
  * Sort images feature
48
  * Cool flash addons here : http://wordpress.org/extend/plugins/nextgen-flashviewer/
49
 
 
 
 
 
50
  == Credits ==
51
 
52
+ Copyright 2007-2009 Alex Rabe & NextGEN DEV-Team
53
 
54
+ The NextGEN button is taken from the Fugue Icons of http://www.pinvoke.com/.
 
55
 
56
  This program is free software; you can redistribute it and/or modify
57
  it under the terms of the GNU General Public License as published by
73
  under a Creative Commons License, which allowing you to use, modify and redistribute
74
  them for noncommercial purposes.
75
 
76
+ For commercial use please look at the Jeroen's homepage : http://www.longtailvideo.com/
77
 
78
 
79
  == Installation ==
80
 
81
  1. Upload the files to wp-content/plugins/nextgen-gallery
82
 
83
+ 2. If you would like to use a Flash slideshow (only a option), go to <a href="http://www.longtailvideo.com/players/jw-image-rotator/" title="JW Image Rotator">Longtail Video</a>, download the JW Image Rotator and unpack the conent. Upload the file imagerotator.swf to the NextGEN-Gallery folder
 
 
84
 
85
+ 3. Activate the plugin
86
 
87
+ 4. Add a gallery and upload some images (the main gallery folder must have write permission)
88
 
89
+ 5. Go to your post/page an enter the tag '[nggallery id=x]' or '[slideshow id=x]'.
90
  See more tags in the FAQ section
91
 
92
  That's it ... Have fun
view/album-compact.php CHANGED
@@ -6,7 +6,7 @@ Follow variables are useable :
6
 
7
  $album : Contain information about the album
8
  $galleries : Contain all galleries inside this album
9
- $mode : Contain the selected mode (extended or compact)
10
 
11
  You can check the content when you insert the tag <?php var_dump($variable) ?>
12
  If you would like to show the timestamp of the image ,you can use <?php echo $exif['created_timestamp'] ?>
@@ -32,8 +32,10 @@ Follow variables are useable :
32
  </div>
33
 
34
  <?php endforeach; ?>
 
 
 
35
 
36
  </div>
37
- <div class="ngg-clear"></div>
38
 
39
  <?php endif; ?>
6
 
7
  $album : Contain information about the album
8
  $galleries : Contain all galleries inside this album
9
+ $pagination : Contain the pagination content
10
 
11
  You can check the content when you insert the tag <?php var_dump($variable) ?>
12
  If you would like to show the timestamp of the image ,you can use <?php echo $exif['created_timestamp'] ?>
32
  </div>
33
 
34
  <?php endforeach; ?>
35
+
36
+ <!-- Pagination -->
37
+ <?php echo $pagination ?>
38
 
39
  </div>
 
40
 
41
  <?php endif; ?>
view/album-extend.php CHANGED
@@ -6,7 +6,7 @@ Follow variables are useable :
6
 
7
  $album : Contain information about the album
8
  $galleries : Contain all galleries inside this album
9
- $mode : Contain the selected mode (extended or compact)
10
 
11
  You can check the content when you insert the tag <?php var_dump($variable) ?>
12
  If you would like to show the timestamp of the image ,you can use <?php echo $exif['created_timestamp'] ?>
@@ -32,8 +32,10 @@ Follow variables are useable :
32
  </div>
33
 
34
  <?php endforeach; ?>
35
-
 
 
 
36
  </div>
37
- <div class="ngg-clear"></div>
38
 
39
  <?php endif; ?>
6
 
7
  $album : Contain information about the album
8
  $galleries : Contain all galleries inside this album
9
+ $pagination : Contain the pagination content
10
 
11
  You can check the content when you insert the tag <?php var_dump($variable) ?>
12
  If you would like to show the timestamp of the image ,you can use <?php echo $exif['created_timestamp'] ?>
32
  </div>
33
 
34
  <?php endforeach; ?>
35
+
36
+ <!-- Pagination -->
37
+ <?php echo $pagination ?>
38
+
39
  </div>
 
40
 
41
  <?php endif; ?>
view/gallery-caption.php ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ Template Page for the gallery overview
4
+
5
+ Follow variables are useable :
6
+
7
+ $gallery : Contain all about the gallery
8
+ $images : Contain all images, path, title
9
+ $pagination : Contain the pagination content
10
+
11
+ You can check the content when you insert the tag <?php var_dump($variable) ?>
12
+ If you would like to show the timestamp of the image ,you can use <?php echo $exif['created_timestamp'] ?>
13
+ **/
14
+ ?>
15
+ <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($gallery)) : ?>
16
+
17
+ <div class="ngg-galleryoverview" id="ngg-gallery-<?php echo $gallery->ID ?>">
18
+
19
+ <?php if ($gallery->show_slideshow) { ?>
20
+ <!-- Slideshow link -->
21
+ <div class="slideshowlink">
22
+ <a class="slideshowlink" href="<?php echo $gallery->slideshow_link ?>">
23
+ <?php echo $gallery->slideshow_link_text ?>
24
+ </a>
25
+ </div>
26
+ <?php } ?>
27
+
28
+ <?php if ($gallery->show_piclens) { ?>
29
+ <!-- Piclense link -->
30
+ <div class="piclenselink">
31
+ <a class="piclenselink" href="<?php echo $gallery->piclens_link ?>">
32
+ <?php _e('[View with PicLens]','nggallery'); ?>
33
+ </a>
34
+ </div>
35
+ <?php } ?>
36
+
37
+ <!-- Thumbnails -->
38
+ <?php foreach ($images as $image) : ?>
39
+
40
+ <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $gallery->imagewidth ?> >
41
+ <div class="ngg-gallery-thumbnail" >
42
+ <a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
43
+ <img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
44
+ </a>
45
+ <span><?php echo $image->caption ?></span>
46
+ </div>
47
+ </div>
48
+ <?php if ( $gallery->columns > 0 && ++$i % $gallery->columns == 0 ) { ?>
49
+ <br style="clear: both" />
50
+ <?php } ?>
51
+ <?php endforeach; ?>
52
+
53
+ <!-- Pagination -->
54
+ <?php echo $pagination ?>
55
+
56
+ </div>
57
+
58
+ <?php endif; ?>
view/gallery.php CHANGED
@@ -6,7 +6,7 @@ Follow variables are useable :
6
 
7
  $gallery : Contain all about the gallery
8
  $images : Contain all images, path, title
9
- $pagination : Contain
10
 
11
  You can check the content when you insert the tag <?php var_dump($variable) ?>
12
  If you would like to show the timestamp of the image ,you can use <?php echo $exif['created_timestamp'] ?>
@@ -37,13 +37,16 @@ Follow variables are useable :
37
  <!-- Thumbnails -->
38
  <?php foreach ($images as $image) : ?>
39
 
40
- <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box">
41
  <div class="ngg-gallery-thumbnail" >
42
  <a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
43
  <img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
44
  </a>
45
  </div>
46
  </div>
 
 
 
47
  <?php endforeach; ?>
48
 
49
  <!-- Pagination -->
6
 
7
  $gallery : Contain all about the gallery
8
  $images : Contain all images, path, title
9
+ $pagination : Contain the pagination content
10
 
11
  You can check the content when you insert the tag <?php var_dump($variable) ?>
12
  If you would like to show the timestamp of the image ,you can use <?php echo $exif['created_timestamp'] ?>
37
  <!-- Thumbnails -->
38
  <?php foreach ($images as $image) : ?>
39
 
40
+ <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $gallery->imagewidth ?> >
41
  <div class="ngg-gallery-thumbnail" >
42
  <a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
43
  <img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
44
  </a>
45
  </div>
46
  </div>
47
+ <?php if ( $gallery->columns > 0 && ++$i % $gallery->columns == 0 ) { ?>
48
+ <br style="clear: both" />
49
+ <?php } ?>
50
  <?php endforeach; ?>
51
 
52
  <!-- Pagination -->
view/singlepic.php CHANGED
@@ -16,7 +16,7 @@ Follow variables are useable :
16
  ?>
17
  <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($image)) : ?>
18
 
19
- <a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
20
  <img class="<?php echo $image->classname ?>" src="<?php echo $image->thumbnailURL ?>" alt="<?php echo $image->alttext ?>" title="<?php echo $image->alttext ?>" />
21
  </a>
22
  <?php if (!empty ($image->caption)) : ?><span><?php echo $image->caption ?></span><?php endif; ?>
16
  ?>
17
  <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($image)) : ?>
18
 
19
+ <a href="<?php echo $image->imageURL ?>" title="<?php echo $image->linktitle ?>" <?php echo $image->thumbcode ?> >
20
  <img class="<?php echo $image->classname ?>" src="<?php echo $image->thumbnailURL ?>" alt="<?php echo $image->alttext ?>" title="<?php echo $image->alttext ?>" />
21
  </a>
22
  <?php if (!empty ($image->caption)) : ?><span><?php echo $image->caption ?></span><?php endif; ?>
widgets/widgets.php CHANGED
@@ -48,7 +48,7 @@ class nggSlideshowWidget {
48
  if (empty($irHeight)) $irHeight = (int) $ngg_options['irHeight'];
49
 
50
  // init the flash output
51
- $swfobject = new swfobject( NGGALLERY_URLPATH.'imagerotator.swf', 'sbsl' . $galleryID, $irWidth, $irHeight, '7.0.0', 'false');
52
 
53
  $swfobject->classname = 'ngg-widget-slideshow';
54
  $swfobject->message = __('<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see the slideshow.', 'nggallery');
@@ -87,8 +87,12 @@ class nggSlideshowWidget {
87
  // Slidehow widget control
88
  function widget_output($args) {
89
 
90
- global $wpdb;
91
-
 
 
 
 
92
  extract($args);
93
 
94
  // Each widget can store its own options. We keep strings here.
@@ -289,7 +293,7 @@ function ngg_widget_control($widget_args = 1) {
289
  </select>
290
  <select id="ngg_images-show-<?php echo $number; ?>" name="widget_ngg_images[<?php echo $number; ?>][show]" >
291
  <option <?php selected("thumbnail" , $show); ?> value="thumbnail"><?php _e('Thumbnails','nggallery'); ?></option>
292
- <option <?php selected("orginal" , $show); ?> value="orginal"><?php _e('Orginal images','nggallery'); ?></option>
293
  </select>
294
  </label>
295
  </p>
@@ -388,7 +392,10 @@ function ngg_widget_control($widget_args = 1) {
388
 
389
  //TODO:For mixed portrait/landscape it's better to use only the height setting, if widht is 0 or vice versa
390
  $out = '<a href="'.$image->imageURL.'" title="'.stripslashes($image->description).'" '.$thumbcode.'>';
391
- if ( $options[$number]['show'] == 'orginal' )
 
 
 
392
  $out .= '<img src="'.NGGALLERY_URLPATH.'nggshow.php?pid='.$image->pid.'&amp;width='.$options[$number]['width'].'&amp;height='.$options[$number]['height']. '" width="'.$options[$number]['width'].'" height="'.$options[$number]['height'].'" title="'.$image->alttext.'" alt="'.$image->alttext.'" />';
393
  else
394
  $out .= '<img src="'.$image->thumbURL.'" width="'.$options[$number]['width'].'" height="'.$options[$number]['height'].'" title="'.$image->alttext.'" alt="'.$image->alttext.'" />';
48
  if (empty($irHeight)) $irHeight = (int) $ngg_options['irHeight'];
49
 
50
  // init the flash output
51
+ $swfobject = new swfobject( $ngg_options['irURL'], 'sbsl' . $galleryID, $irWidth, $irHeight, '7.0.0', 'false');
52
 
53
  $swfobject->classname = 'ngg-widget-slideshow';
54
  $swfobject->message = __('<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see the slideshow.', 'nggallery');
87
  // Slidehow widget control
88
  function widget_output($args) {
89
 
90
+ global $wpdb;
91
+
92
+ // If the Imagerotator didn't exist, skip the output
93
+ if ( NGGALLERY_IREXIST == false )
94
+ return;
95
+
96
  extract($args);
97
 
98
  // Each widget can store its own options. We keep strings here.
293
  </select>
294
  <select id="ngg_images-show-<?php echo $number; ?>" name="widget_ngg_images[<?php echo $number; ?>][show]" >
295
  <option <?php selected("thumbnail" , $show); ?> value="thumbnail"><?php _e('Thumbnails','nggallery'); ?></option>
296
+ <option <?php selected("original" , $show); ?> value="orginal"><?php _e('Original images','nggallery'); ?></option>
297
  </select>
298
  </label>
299
  </p>
392
 
393
  //TODO:For mixed portrait/landscape it's better to use only the height setting, if widht is 0 or vice versa
394
  $out = '<a href="'.$image->imageURL.'" title="'.stripslashes($image->description).'" '.$thumbcode.'>';
395
+ // Typo fix for the next updates (happend until 1.0.2)
396
+ $options[$number]['show'] = ( $options[$number]['show'] == 'orginal' ) ? 'original' : $options[$number]['show'];
397
+
398
+ if ( $options[$number]['show'] == 'original' )
399
  $out .= '<img src="'.NGGALLERY_URLPATH.'nggshow.php?pid='.$image->pid.'&amp;width='.$options[$number]['width'].'&amp;height='.$options[$number]['height']. '" width="'.$options[$number]['width'].'" height="'.$options[$number]['height'].'" title="'.$image->alttext.'" alt="'.$image->alttext.'" />';
400
  else
401
  $out .= '<img src="'.$image->thumbURL.'" width="'.$options[$number]['width'].'" height="'.$options[$number]['height'].'" title="'.$image->alttext.'" alt="'.$image->alttext.'" />';
xml/imagerotator.php CHANGED
@@ -11,9 +11,6 @@
11
  // look up for the path
12
  require_once( dirname(__FILE__) . '/../ngg-config.php');
13
 
14
- function get_out_now() { exit; }
15
- add_action('shutdown', 'get_out_now', -1);
16
-
17
  global $wpdb;
18
 
19
  $ngg_options = get_option ('ngg_options');
11
  // look up for the path
12
  require_once( dirname(__FILE__) . '/../ngg-config.php');
13
 
 
 
 
14
  global $wpdb;
15
 
16
  $ngg_options = get_option ('ngg_options');
xml/media-rss.php CHANGED
@@ -51,7 +51,7 @@ if ($mode=='last_pictures') {
51
  } else if ( $mode=='gallery' ) {
52
 
53
  // Get all galleries
54
- $galleries = nggdb::find_all_galleries();
55
 
56
  if ( count($galleries) == 0 ) {
57
  header('content-type:text/plain;charset=utf-8');
51
  } else if ( $mode=='gallery' ) {
52
 
53
  // Get all galleries
54
+ $galleries = $nggdb->find_all_galleries();
55
 
56
  if ( count($galleries) == 0 ) {
57
  header('content-type:text/plain;charset=utf-8');