Gallery by BestWebSoft - Version 2.08

Version Description

  • 24.02.2012 =
  • Change : Code to include styles and scripts in a plug for the correct SSL verification.
  • Bugfix : The bug with style for image block on admin page was fixed.
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Gallery by BestWebSoft
Version 2.08
Comparing to
See all releases

Code changes from version 2.07 to 2.08

css/stylesheet.css CHANGED
@@ -52,10 +52,9 @@ ul.gallery {
52
  #Upload-File .gallery .gllr_image_block {
53
  border: 1px solid #BDBDBD;
54
  float: left;
55
- height: 150px;
56
  margin: 15px 6px 50px 0;
57
- padding: 5px;
58
- width: 150px;
59
  }
60
 
61
  .gallery .delete {
52
  #Upload-File .gallery .gllr_image_block {
53
  border: 1px solid #BDBDBD;
54
  float: left;
55
+ height: 170px;
56
  margin: 15px 6px 50px 0;
57
+ width: 170px;
 
58
  }
59
 
60
  .gallery .delete {
gallery-plugin.php CHANGED
@@ -32,11 +32,23 @@ $gllr_boxes = array (
32
 
33
  if( ! function_exists( 'gllr_plugin_install' ) ) {
34
  function gllr_plugin_install() {
35
- if ( ! file_exists( TEMPLATEPATH .'/gallery-template.php' ) && ! copy(WP_PLUGIN_DIR .'/gallery-plugin/template/gallery-template.php', TEMPLATEPATH .'/gallery-template.php' ) ) {
36
- add_action( 'admin_notices', create_function( '', 'echo "Error copy template file";' ) );
 
37
  }
38
- if ( ! file_exists( TEMPLATEPATH .'/gallery-single-template.php' ) && ! copy(WP_PLUGIN_DIR .'/gallery-plugin/template/gallery-single-template.php', TEMPLATEPATH .'/gallery-single-template.php') ) {
39
- add_action( 'admin_notices', create_function( '', 'echo "Error copy template file";' ) );
 
 
 
 
 
 
 
 
 
 
 
40
  }
41
  }
42
  }
@@ -60,17 +72,17 @@ if( ! function_exists( 'post_type_images' ) ) {
60
  function post_type_images() {
61
  register_post_type('gallery', array(
62
  'labels' => array(
63
- 'name' => __( 'Galleries', 'gallery'),
64
- 'singular_name' => __( 'Gallery', 'gallery'),
65
- 'add_new' => __( 'Add New', 'gallery'),
66
- 'add_new_item' => __( 'Add New Gallery', 'gallery'),
67
- 'edit_item' => __( 'Edit Gallery', 'gallery'),
68
- 'new_item' => __( 'New Gallery', 'gallery'),
69
- 'view_item' => __( 'View Gallery', 'gallery'),
70
- 'search_items' => __( 'Search Galleries', 'gallery'),
71
- 'not_found' => __( 'No Galleries found', 'gallery'),
72
  'parent_item_colon' => '',
73
- 'menu_name' => __( 'Galleries', 'gallery')
74
  ),
75
  'public' => true,
76
  'publicly_queryable' => true,
@@ -83,11 +95,11 @@ if( ! function_exists( 'post_type_images' ) ) {
83
  'register_meta_box_cb' => 'init_metaboxes_gallery'
84
  ));
85
 
86
- wp_enqueue_style( 'gllrStylesheet', WP_PLUGIN_URL .'/gallery-plugin/css/stylesheet.css' );
87
- wp_enqueue_style( 'gllrPrettyPhotoStylesheet', WP_PLUGIN_URL .'/gallery-plugin/pretty_photo/css/prettyPhoto.css' );
88
- wp_enqueue_script( 'gllrPrettyPhotoJs', WP_PLUGIN_URL .'/gallery-plugin/pretty_photo/js/jquery.prettyPhoto.js', array( 'jquery' ) );
89
- wp_enqueue_script( 'gllrFileuploaderJs', WP_PLUGIN_URL .'/gallery-plugin/upload/fileuploader.js', array( 'jquery' ) );
90
- wp_enqueue_style( 'gllrFileuploadercss', WP_PLUGIN_URL .'/gallery-plugin/upload/fileuploader.css' );
91
  }
92
  }
93
 
@@ -127,6 +139,8 @@ if ( ! function_exists( 'gllr_post_custom_box' ) ) {
127
  $key = "gllr_image_text";
128
 
129
  $post_types = get_post_types( array( '_builtin' => false ) );
 
 
130
  ?>
131
  <div style="padding-top:10px;"><label for="uploadscreen"><?php echo __( 'Choose a screenshot to upload:', 'gallery' ); ?></label>
132
  <input name="MAX_FILE_SIZE" value="1048576" type="hidden" />
@@ -143,14 +157,14 @@ if ( ! function_exists( 'gllr_post_custom_box' ) ) {
143
  {
144
  var uploader = new qq.FileUploader({
145
  element: document.getElementById('file-uploader-demo1'),
146
- action: '<?php echo WP_PLUGIN_URL; ?>/gallery-plugin/upload/php.php',
147
  debug: false,
148
  onComplete: function(id, fileName, result) {
149
  if(result.error) {
150
  //
151
  }
152
  else {
153
- jQuery('<li></li>').appendTo('#files').html('<img src="<?php echo WP_PLUGIN_URL; ?>/gallery-plugin/upload/files/'+fileName+'" alt="" /><div style="width:200px">'+fileName+'<br />' +result.width+'x'+result.height+'</div>').addClass('success');
154
  jQuery('<input type="hidden" name="undefined[]" id="undefined" value="'+fileName+'" />').appendTo('#hidden');
155
  }
156
  }
@@ -159,10 +173,10 @@ if ( ! function_exists( 'gllr_post_custom_box' ) ) {
159
 
160
  });
161
 
162
- function img_delete(id) {
163
- jQuery('#'+id).hide();
164
- jQuery('#delete_images').append('<input type="hidden" name="delete_images[]" value="'+id+'" />');
165
- }
166
  </script>
167
  <?php
168
 
@@ -171,7 +185,8 @@ if ( ! function_exists( 'gllr_post_custom_box' ) ) {
171
  "what_to_show" => "posts",
172
  "post_status" => "inherit",
173
  "post_type" => "attachment",
174
- "orderby" => "menu_order ASC, ID ASC",
 
175
  "post_mime_type"=> "image/jpeg,image/gif,image/jpg,image/png",
176
  "post_parent" => $post->ID)); ?>
177
  <ul class="gallery clearfix">
@@ -202,8 +217,9 @@ if( ! function_exists ( 'echo_gllr_nonce' ) ) {
202
 
203
  if ( ! function_exists ( 'gllr_save_postdata' ) ) {
204
  function gllr_save_postdata( $post_id, $post ) {
205
- global $post;
206
- global $wpdb;
 
207
  if( isset( $_REQUEST['undefined'] ) && ! empty( $_REQUEST['undefined'] ) ) {
208
  $array_file_name = $_REQUEST['undefined'];
209
  $uploadFile = array();
@@ -242,7 +258,6 @@ if ( ! function_exists ( 'gllr_save_postdata' ) ) {
242
  $i++;
243
  }
244
  }
245
- $key = "gllr_image_text";
246
  if( isset( $_REQUEST['delete_images'] ) ) {
247
  foreach( $_REQUEST['delete_images'] as $delete_id ) {
248
  delete_post_meta( $delete_id, $key );
@@ -255,7 +270,8 @@ if ( ! function_exists ( 'gllr_save_postdata' ) ) {
255
  "what_to_show" => "posts",
256
  "post_status" => "inherit",
257
  "post_type" => "attachment",
258
- "orderby" => "menu_order ASC, ID ASC",
 
259
  "post_mime_type"=> "image/jpeg,image/gif,image/jpg,image/png",
260
  "post_parent" => $post->ID));
261
  foreach ( $posts as $page ) {
@@ -290,8 +306,6 @@ if( ! function_exists( 'gllr_custom_permalinks' ) ) {
290
  if( ! empty( $parent ) ) {
291
  $wp_rewrite->add_rule( '(.+)/'.$parent.'/([^/]+)/?$', 'index.php?post_type=gallery&title=$matches[2]&posts_per_page=-1', 'top' );
292
  $wp_rewrite->add_rule( ''.$parent.'/([^/]+)/?$', 'index.php?post_type=gallery&title=$matches[1]&posts_per_page=-1', 'top' );
293
- $wp_rewrite->add_rule( '(.+)/'.$parent.'/page/([^/]+)/?$', 'index.php?pagename='.$parent.'&paged=$matches[2]', 'top' );
294
- $wp_rewrite->add_rule( ''.$parent.'/page/([^/]+)/?$', 'index.php?pagename='.$parent.'&paged=$matches[1]', 'top' );
295
  }
296
 
297
  $wp_rewrite->flush_rules();
@@ -299,15 +313,9 @@ if( ! function_exists( 'gllr_custom_permalinks' ) ) {
299
  }
300
 
301
  if ( ! function_exists( 'gllr_template_redirect' ) ) {
302
- function gllr_template_redirect()
303
- {
304
  global $wp_query, $post, $posts;
305
  if( 'gallery' == get_post_type() && "" == $wp_query->query_vars["s"] ) {
306
- $category = get_term_by( 'slug', $wp_query->query_vars["taxonomy"], 'images_album');
307
- if( 'private' == get_post_meta( $category->term_id, '_gllr_public_status', true ) && ! is_user_logged_in() ) {
308
- @header( "Location: ".get_bloginfo( 'url' ) );
309
- exit();
310
- }
311
  include( TEMPLATEPATH . '/gallery-single-template.php' );
312
  exit();
313
  }
@@ -361,7 +369,6 @@ if ( ! function_exists( 'gllr_custom_columns' ) ) {
361
  echo strtolower( __( date( "F", strtotime( $post->post_date ) ), 'kerksite' ) )." ".date( "j Y", strtotime( $post->post_date ) );
362
  break;
363
  }
364
- $wp_query = $old_query;
365
  }
366
  }
367
 
@@ -370,65 +377,17 @@ if ( ! function_exists( 'get_ID_by_slug' ) ) {
370
  $page = get_page_by_path($page_slug);
371
  if ($page) {
372
  return $page->ID;
373
- } else {
 
374
  return null;
375
  }
376
  }
377
  }
378
 
379
- if ( ! function_exists( 'getPostsAvailableToRegisteredUsers' ) ) {
380
- function getPostsAvailableToRegisteredUsers()
381
- {
382
- $theme_location = 'menu_2';
383
- $theme_locations = get_nav_menu_locations();
384
- if( ! isset( $theme_locations[$theme_location] ) ) return false;
385
-
386
- $menu_obj = get_term( $theme_locations[$theme_location], 'nav_menu' );
387
- if( ! $menu_obj )
388
- $menu_obj = false;
389
-
390
- global $wpdb;
391
-
392
- // Menu posts
393
- $menuPosts = $wpdb->get_col("
394
- SELECT
395
- pm.meta_value
396
- FROM
397
- $wpdb->terms t INNER JOIN $wpdb->term_taxonomy tt ON t.term_id = tt.term_id
398
- INNER JOIN $wpdb->term_relationships tr ON tt.term_taxonomy_id = tr.term_taxonomy_id
399
- INNER JOIN $wpdb->postmeta pm ON tr.object_id = pm.post_id
400
- WHERE
401
- t.slug = '".$menu_obj->slug."' AND
402
- pm.meta_key = '_menu_item_object_id'
403
- ");
404
-
405
- if (empty($menuPosts))
406
- {
407
- $menuPosts = array();
408
- }
409
-
410
- // All private posts
411
- $privatePosts = array();
412
- while (count($menuPosts))
413
- {
414
- $postId = array_shift($menuPosts);
415
- array_push($privatePosts, (int) $postId);
416
-
417
- $childPosts = $wpdb->get_col($wpdb->prepare("SELECT ID FROM $wpdb->posts WHERE post_parent = %d AND post_type IN ('document', 'page', 'image')", $postId));
418
- if (is_array($childPosts) && count($childPosts))
419
- {
420
- $menuPosts = array_merge($menuPosts, $childPosts);
421
- }
422
- }
423
-
424
- return array_unique($privatePosts);
425
- }
426
- }
427
-
428
  if( ! function_exists( 'the_excerpt_max_charlength' ) ) {
429
- function the_excerpt_max_charlength($charlength) {
430
  $excerpt = get_the_excerpt();
431
- $charlength++;
432
  if( strlen( $excerpt ) > $charlength ) {
433
  $subex = substr( $excerpt, 0, $charlength-5 );
434
  $exwords = explode( " ", $subex );
@@ -449,22 +408,22 @@ if( ! function_exists( 'the_excerpt_max_charlength' ) ) {
449
 
450
  if( ! function_exists( 'gllr_page_css_class' ) ) {
451
  function gllr_page_css_class( $classes, $item ) {
452
- $post_type = get_query_var( 'post_type' );
453
  global $wpdb;
 
454
  $parent_id = 0;
455
  if( $post_type == "gallery" ) {
456
- $parent_id = $wpdb->get_var("SELECT $wpdb->posts.ID FROM $wpdb->posts, $wpdb->postmeta WHERE meta_key = '_wp_page_template' AND meta_value = 'gallery-template.php' AND post_status = 'publish' AND $wpdb->posts.ID = $wpdb->postmeta.post_id");
457
- while ($parent_id) {
458
- $page = get_page($parent_id);
459
- if($page->post_parent > 0 )
460
  $parent_id = $page->post_parent;
461
  else
462
  break;
463
  }
464
  wp_reset_query();
465
  }
466
- if ($item->ID == $parent_id) {
467
- array_push($classes, 'current_page_item');
468
  }
469
  return $classes;
470
  }
@@ -487,27 +446,24 @@ if( ! function_exists( 'bws_add_menu_render' ) ) {
487
  array( 'twitter-plugin\/twitter.php', 'Twitter Plugin', 'http://wordpress.org/extend/plugins/twitter-plugin/', 'http://bestwebsoft.com/plugin/twitter-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Twitter+Plugin+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=twitter.php' ),
488
  array( 'portfolio\/portfolio.php', 'Portfolio', 'http://wordpress.org/extend/plugins/portfolio/', 'http://bestwebsoft.com/plugin/portfolio-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Portfolio+bestwebsoft&plugin-search-input=Search+Plugins', '' ),
489
  array( 'gallery-plugin\/gallery-plugin.php', 'Gallery', 'http://wordpress.org/extend/plugins/gallery-plugin/', 'http://bestwebsoft.com/plugin/gallery-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Gallery+Plugin+bestwebsoft&plugin-search-input=Search+Plugins', '' ),
490
- array( 'adsense-plugin\/adsense-plugin.php', 'Google AdSense Plugin', 'http://wordpress.org/extend/plugins/adsense-plugin/', 'http://bestwebsoft.com/plugin/google-adsense-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Adsense+Plugin+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=adsense-plugin.php' )
 
491
  );
492
- foreach($array_plugins as $plugins)
493
- {
494
- if( 0 < count( preg_grep( "/".$plugins[0]."/", $active_plugins ) ) )
495
- {
496
  $array_activate[$count_activate]['title'] = $plugins[1];
497
  $array_activate[$count_activate]['link'] = $plugins[2];
498
  $array_activate[$count_activate]['href'] = $plugins[3];
499
  $array_activate[$count_activate]['url'] = $plugins[5];
500
  $count_activate++;
501
  }
502
- else if( array_key_exists(str_replace("\\", "", $plugins[0]), $all_plugins) )
503
- {
504
  $array_install[$count_install]['title'] = $plugins[1];
505
  $array_install[$count_install]['link'] = $plugins[2];
506
  $array_install[$count_install]['href'] = $plugins[3];
507
  $count_install++;
508
  }
509
- else
510
- {
511
  $array_recomend[$count_recomend]['title'] = $plugins[1];
512
  $array_recomend[$count_recomend]['link'] = $plugins[2];
513
  $array_recomend[$count_recomend]['href'] = $plugins[3];
@@ -573,12 +529,12 @@ if( ! function_exists( 'register_gllr_settings' ) ) {
573
 
574
  // install the option defaults
575
  if ( 1 == $wpmu ) {
576
- if( !get_site_option( 'gllr_options' ) ) {
577
  add_site_option( 'gllr_options', $gllr_option_defaults, '', 'yes' );
578
  }
579
  }
580
  else {
581
- if( !get_option( 'gllr_options' ) )
582
  add_option( 'gllr_options', $gllr_option_defaults, '', 'yes' );
583
  }
584
 
32
 
33
  if( ! function_exists( 'gllr_plugin_install' ) ) {
34
  function gllr_plugin_install() {
35
+ if ( ! file_exists( TEMPLATEPATH .'/gallery-template.php' ) ) {
36
+ if( ! copy( WP_PLUGIN_DIR .'/gallery-plugin/template/gallery-template.php', TEMPLATEPATH .'/gallery-template.php' ) )
37
+ add_action( 'admin_notices', create_function( '', 'echo "Error copy template file";' ) );
38
  }
39
+ else {
40
+ copy( TEMPLATEPATH .'/gallery-template.php', TEMPLATEPATH .'/gallery-template.php.bak' );
41
+ if( ! copy( WP_PLUGIN_DIR .'/gallery-plugin/template/gallery-template.php', TEMPLATEPATH .'/gallery-template.php' ) )
42
+ add_action( 'admin_notices', create_function( '', 'echo "Error copy template file";' ) );
43
+ }
44
+ if ( ! file_exists( TEMPLATEPATH .'/gallery-single-template.php' ) ) {
45
+ if( ! copy( WP_PLUGIN_DIR .'/gallery-plugin/template/gallery-single-template.php', TEMPLATEPATH .'/gallery-single-template.php' ) )
46
+ add_action( 'admin_notices', create_function( '', 'echo "Error copy template file";' ) );
47
+ }
48
+ else {
49
+ copy( TEMPLATEPATH .'/gallery-single-template.php', TEMPLATEPATH .'/gallery-single-template.php.bak' );
50
+ if( ! copy( WP_PLUGIN_DIR .'/gallery-plugin/template/gallery-single-template.php', TEMPLATEPATH .'/gallery-single-template.php' ) )
51
+ add_action( 'admin_notices', create_function( '', 'echo "Error copy template file";' ) );
52
  }
53
  }
54
  }
72
  function post_type_images() {
73
  register_post_type('gallery', array(
74
  'labels' => array(
75
+ 'name' => __( 'Galleries', 'gallery' ),
76
+ 'singular_name' => __( 'Gallery', 'gallery' ),
77
+ 'add_new' => __( 'Add New', 'gallery' ),
78
+ 'add_new_item' => __( 'Add New Gallery', 'gallery' ),
79
+ 'edit_item' => __( 'Edit Gallery', 'gallery' ),
80
+ 'new_item' => __( 'New Gallery', 'gallery' ),
81
+ 'view_item' => __( 'View Gallery', 'gallery' ),
82
+ 'search_items' => __( 'Search Galleries', 'gallery' ),
83
+ 'not_found' => __( 'No Galleries found', 'gallery' ),
84
  'parent_item_colon' => '',
85
+ 'menu_name' => __( 'Galleries', 'gallery' )
86
  ),
87
  'public' => true,
88
  'publicly_queryable' => true,
95
  'register_meta_box_cb' => 'init_metaboxes_gallery'
96
  ));
97
 
98
+ wp_enqueue_style( 'gllrStylesheet', plugins_url( 'css/stylesheet.css', __FILE__ ) );
99
+ wp_enqueue_style( 'gllrPrettyPhotoStylesheet', plugins_url( 'pretty_photo/css/prettyPhoto.css', __FILE__ ) );
100
+ wp_enqueue_script( 'gllrPrettyPhotoJs', plugins_url( 'pretty_photo/js/jquery.prettyPhoto.js', __FILE__ ), array( 'jquery' ) );
101
+ wp_enqueue_style( 'gllrFileuploaderCss', plugins_url( 'upload/fileuploader.css', __FILE__ ) );
102
+ wp_enqueue_script( 'gllrFileuploaderJs', plugins_url( 'upload/fileuploader.js', __FILE__ ), array( 'jquery' ) );
103
  }
104
  }
105
 
139
  $key = "gllr_image_text";
140
 
141
  $post_types = get_post_types( array( '_builtin' => false ) );
142
+ if( ! is_writable ( ABSPATH ."wp-content/plugins/gallery-plugin/upload/files/" ) )
143
+ chmod( ABSPATH ."wp-content/plugins/gallery-plugin/upload/files/", 0777 );
144
  ?>
145
  <div style="padding-top:10px;"><label for="uploadscreen"><?php echo __( 'Choose a screenshot to upload:', 'gallery' ); ?></label>
146
  <input name="MAX_FILE_SIZE" value="1048576" type="hidden" />
157
  {
158
  var uploader = new qq.FileUploader({
159
  element: document.getElementById('file-uploader-demo1'),
160
+ action: '<?php echo plugins_url( "upload/php.php" , __FILE__ ); ?>',
161
  debug: false,
162
  onComplete: function(id, fileName, result) {
163
  if(result.error) {
164
  //
165
  }
166
  else {
167
+ jQuery('<li></li>').appendTo('#files').html('<img src="<?php echo plugins_url( "upload/files/" , __FILE__ ); ?>'+fileName+'" alt="" /><div style="width:200px">'+fileName+'<br />' +result.width+'x'+result.height+'</div>').addClass('success');
168
  jQuery('<input type="hidden" name="undefined[]" id="undefined" value="'+fileName+'" />').appendTo('#hidden');
169
  }
170
  }
173
 
174
  });
175
 
176
+ function img_delete(id) {
177
+ jQuery('#'+id).hide();
178
+ jQuery('#delete_images').append('<input type="hidden" name="delete_images[]" value="'+id+'" />');
179
+ }
180
  </script>
181
  <?php
182
 
185
  "what_to_show" => "posts",
186
  "post_status" => "inherit",
187
  "post_type" => "attachment",
188
+ "orderby" => "menu_order",
189
+ "order" => "ASC",
190
  "post_mime_type"=> "image/jpeg,image/gif,image/jpg,image/png",
191
  "post_parent" => $post->ID)); ?>
192
  <ul class="gallery clearfix">
217
 
218
  if ( ! function_exists ( 'gllr_save_postdata' ) ) {
219
  function gllr_save_postdata( $post_id, $post ) {
220
+ global $post, $wpdb;
221
+ $key = "gllr_image_text";
222
+
223
  if( isset( $_REQUEST['undefined'] ) && ! empty( $_REQUEST['undefined'] ) ) {
224
  $array_file_name = $_REQUEST['undefined'];
225
  $uploadFile = array();
258
  $i++;
259
  }
260
  }
 
261
  if( isset( $_REQUEST['delete_images'] ) ) {
262
  foreach( $_REQUEST['delete_images'] as $delete_id ) {
263
  delete_post_meta( $delete_id, $key );
270
  "what_to_show" => "posts",
271
  "post_status" => "inherit",
272
  "post_type" => "attachment",
273
+ "orderby" => "menu_order",
274
+ "order" => "ASC",
275
  "post_mime_type"=> "image/jpeg,image/gif,image/jpg,image/png",
276
  "post_parent" => $post->ID));
277
  foreach ( $posts as $page ) {
306
  if( ! empty( $parent ) ) {
307
  $wp_rewrite->add_rule( '(.+)/'.$parent.'/([^/]+)/?$', 'index.php?post_type=gallery&title=$matches[2]&posts_per_page=-1', 'top' );
308
  $wp_rewrite->add_rule( ''.$parent.'/([^/]+)/?$', 'index.php?post_type=gallery&title=$matches[1]&posts_per_page=-1', 'top' );
 
 
309
  }
310
 
311
  $wp_rewrite->flush_rules();
313
  }
314
 
315
  if ( ! function_exists( 'gllr_template_redirect' ) ) {
316
+ function gllr_template_redirect() {
 
317
  global $wp_query, $post, $posts;
318
  if( 'gallery' == get_post_type() && "" == $wp_query->query_vars["s"] ) {
 
 
 
 
 
319
  include( TEMPLATEPATH . '/gallery-single-template.php' );
320
  exit();
321
  }
369
  echo strtolower( __( date( "F", strtotime( $post->post_date ) ), 'kerksite' ) )." ".date( "j Y", strtotime( $post->post_date ) );
370
  break;
371
  }
 
372
  }
373
  }
374
 
377
  $page = get_page_by_path($page_slug);
378
  if ($page) {
379
  return $page->ID;
380
+ }
381
+ else {
382
  return null;
383
  }
384
  }
385
  }
386
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
387
  if( ! function_exists( 'the_excerpt_max_charlength' ) ) {
388
+ function the_excerpt_max_charlength( $charlength ) {
389
  $excerpt = get_the_excerpt();
390
+ $charlength ++;
391
  if( strlen( $excerpt ) > $charlength ) {
392
  $subex = substr( $excerpt, 0, $charlength-5 );
393
  $exwords = explode( " ", $subex );
408
 
409
  if( ! function_exists( 'gllr_page_css_class' ) ) {
410
  function gllr_page_css_class( $classes, $item ) {
 
411
  global $wpdb;
412
+ $post_type = get_query_var( 'post_type' );
413
  $parent_id = 0;
414
  if( $post_type == "gallery" ) {
415
+ $parent_id = $wpdb->get_var( "SELECT $wpdb->posts.ID FROM $wpdb->posts, $wpdb->postmeta WHERE meta_key = '_wp_page_template' AND meta_value = 'gallery-template.php' AND post_status = 'publish' AND $wpdb->posts.ID = $wpdb->postmeta.post_id" );
416
+ while ( $parent_id ) {
417
+ $page = get_page( $parent_id );
418
+ if( $page->post_parent > 0 )
419
  $parent_id = $page->post_parent;
420
  else
421
  break;
422
  }
423
  wp_reset_query();
424
  }
425
+ if ( $item->ID == $parent_id ) {
426
+ array_push( $classes, 'current_page_item' );
427
  }
428
  return $classes;
429
  }
446
  array( 'twitter-plugin\/twitter.php', 'Twitter Plugin', 'http://wordpress.org/extend/plugins/twitter-plugin/', 'http://bestwebsoft.com/plugin/twitter-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Twitter+Plugin+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=twitter.php' ),
447
  array( 'portfolio\/portfolio.php', 'Portfolio', 'http://wordpress.org/extend/plugins/portfolio/', 'http://bestwebsoft.com/plugin/portfolio-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Portfolio+bestwebsoft&plugin-search-input=Search+Plugins', '' ),
448
  array( 'gallery-plugin\/gallery-plugin.php', 'Gallery', 'http://wordpress.org/extend/plugins/gallery-plugin/', 'http://bestwebsoft.com/plugin/gallery-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Gallery+Plugin+bestwebsoft&plugin-search-input=Search+Plugins', '' ),
449
+ array( 'adsense-plugin\/adsense-plugin.php', 'Google AdSense Plugin', 'http://wordpress.org/extend/plugins/adsense-plugin/', 'http://bestwebsoft.com/plugin/google-adsense-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Adsense+Plugin+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=adsense-plugin.php' ),
450
+ array( 'custom-search-plugin\/custom-search-plugin.php', 'Custom Search Plugin', 'http://wordpress.org/extend/plugins/custom-search-plugin/', 'http://bestwebsoft.com/plugin/custom-search-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Custom+Search+plugin+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=custom_search.php' )
451
  );
452
+ foreach($array_plugins as $plugins) {
453
+ if( 0 < count( preg_grep( "/".$plugins[0]."/", $active_plugins ) ) ) {
 
 
454
  $array_activate[$count_activate]['title'] = $plugins[1];
455
  $array_activate[$count_activate]['link'] = $plugins[2];
456
  $array_activate[$count_activate]['href'] = $plugins[3];
457
  $array_activate[$count_activate]['url'] = $plugins[5];
458
  $count_activate++;
459
  }
460
+ else if( array_key_exists(str_replace("\\", "", $plugins[0]), $all_plugins) ) {
 
461
  $array_install[$count_install]['title'] = $plugins[1];
462
  $array_install[$count_install]['link'] = $plugins[2];
463
  $array_install[$count_install]['href'] = $plugins[3];
464
  $count_install++;
465
  }
466
+ else {
 
467
  $array_recomend[$count_recomend]['title'] = $plugins[1];
468
  $array_recomend[$count_recomend]['link'] = $plugins[2];
469
  $array_recomend[$count_recomend]['href'] = $plugins[3];
529
 
530
  // install the option defaults
531
  if ( 1 == $wpmu ) {
532
+ if( ! get_site_option( 'gllr_options' ) ) {
533
  add_site_option( 'gllr_options', $gllr_option_defaults, '', 'yes' );
534
  }
535
  }
536
  else {
537
+ if( ! get_option( 'gllr_options' ) )
538
  add_option( 'gllr_options', $gllr_option_defaults, '', 'yes' );
539
  }
540
 
languages/gallery-fr_FR.mo CHANGED
Binary file
languages/gallery-fr_FR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-01-30 11:49+0200\n"
6
- "PO-Revision-Date: 2012-01-30 11:49+0200\n"
7
  "Last-Translator: BWS <zos@bestwebsoft.com>\n"
8
  "Language-Team: Wolforg <contact@wolforg.eu>\n"
9
  "MIME-Version: 1.0\n"
@@ -16,169 +16,169 @@ msgstr ""
16
  "X-Poedit-SourceCharset: utf-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: gallery-plugin.php:63
20
- #: gallery-plugin.php:73
21
  msgid "Galleries"
22
  msgstr "Galeries"
23
 
24
- #: gallery-plugin.php:64
25
- #: gallery-plugin.php:555
26
  msgid "Gallery"
27
  msgstr "Galerie"
28
 
29
- #: gallery-plugin.php:65
30
  msgid "Add New"
31
  msgstr "Ajouter"
32
 
33
- #: gallery-plugin.php:66
34
  msgid "Add New Gallery"
35
  msgstr "Ajouter nouvelle galerie"
36
 
37
- #: gallery-plugin.php:67
38
  msgid "Edit Gallery"
39
  msgstr "Modifier la galerie"
40
 
41
- #: gallery-plugin.php:68
42
  msgid "New Gallery"
43
  msgstr "Nouvelle galerie"
44
 
45
- #: gallery-plugin.php:69
46
  msgid "View Gallery"
47
  msgstr "Voir la galerie"
48
 
49
- #: gallery-plugin.php:70
50
  msgid "Search Galleries"
51
  msgstr "Rechercher une galerie"
52
 
53
- #: gallery-plugin.php:71
54
  msgid "No Galleries found"
55
  msgstr "Pas de galeries trouvées"
56
 
57
- #: gallery-plugin.php:120
58
  msgid "Upload File"
59
  msgstr "Envoi de fichier"
60
 
61
- #: gallery-plugin.php:131
62
  msgid "Choose a screenshot to upload:"
63
  msgstr "Choix de la capture d'écran à envoyer :"
64
 
65
- #: gallery-plugin.php:135
66
  msgid "Please enable JavaScript to use the file uploader."
67
  msgstr "Merci d'activer JavaScript pour utiliser l'envoi de fichiers."
68
 
69
- #: gallery-plugin.php:323
70
  msgid "Title"
71
  msgstr "Titre"
72
 
73
- #: gallery-plugin.php:324
74
  msgid "Author"
75
  msgstr "Auteur"
76
 
77
- #: gallery-plugin.php:325
78
  msgid "Photo's"
79
  msgstr "Photo's"
80
 
81
- #: gallery-plugin.php:326
82
  msgid "Public"
83
  msgstr "Public"
84
 
85
- #: gallery-plugin.php:327
86
  msgid "Date"
87
  msgstr "Date"
88
 
89
- #: gallery-plugin.php:524
90
  msgid "Activated plugins"
91
  msgstr "Extensions activées"
92
 
93
- #: gallery-plugin.php:526
94
- #: gallery-plugin.php:534
95
- #: gallery-plugin.php:542
96
  msgid "Read more"
97
  msgstr "Lire plus..."
98
 
99
- #: gallery-plugin.php:526
100
- #: gallery-plugin.php:674
101
- #: gallery-plugin.php:689
102
  msgid "Settings"
103
  msgstr "Paramètres"
104
 
105
- #: gallery-plugin.php:532
106
  msgid "Installed plugins"
107
  msgstr "Extensions installées"
108
 
109
- #: gallery-plugin.php:540
110
  msgid "Recommended plugins"
111
  msgstr "Extensions recommandées"
112
 
113
- #: gallery-plugin.php:542
114
  msgid "Download"
115
  msgstr "Télécharger"
116
 
117
- #: gallery-plugin.php:542
118
  #, php-format
119
  msgid "Install %s"
120
  msgstr "Installation %s"
121
 
122
- #: gallery-plugin.php:542
123
  msgid "Install now from wordpress.org"
124
  msgstr "Installation à partir via wordpress.org"
125
 
126
- #: gallery-plugin.php:544
127
  msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
128
  msgstr "Si vous avez des questions, merci de nous contacter via plugin@bestwebsoft.com ou remplissez le formulaire de contact sur notre site"
129
 
130
- #: gallery-plugin.php:623
131
  msgid "Options saved."
132
  msgstr "Options sauvegardées"
133
 
134
- #: gallery-plugin.php:630
135
  msgid "Gallery Options"
136
  msgstr "Options de galerie"
137
 
138
- #: gallery-plugin.php:636
139
  msgid "The size of the cover album for gallery"
140
  msgstr "Taille de Couverture de la galerie"
141
 
142
- #: gallery-plugin.php:638
143
- #: gallery-plugin.php:646
144
  msgid "Image size name"
145
  msgstr "Nom de la taille"
146
 
147
- #: gallery-plugin.php:639
148
- #: gallery-plugin.php:647
149
  msgid "Width (in px)"
150
  msgstr "Largeur (en pixels)"
151
 
152
- #: gallery-plugin.php:640
153
- #: gallery-plugin.php:648
154
  msgid "Height (in px)"
155
  msgstr "Hauteur (en pixels)"
156
 
157
- #: gallery-plugin.php:644
158
  msgid "Size for gallery image"
159
  msgstr "Taille de la galerie"
160
 
161
- #: gallery-plugin.php:652
162
  msgid "WordPress will create a copy of the post thumbnail with the specified dimensions when you upload a new photo."
163
  msgstr "WordPress créera une copie de la miniature d'article avec les dimensions spécifiées quand vous envoyez une nouvelle photo."
164
 
165
- #: gallery-plugin.php:655
166
  msgid "Count images in row"
167
  msgstr "Nombre d'image par ligne"
168
 
169
- #: gallery-plugin.php:663
170
  msgid "Save Changes"
171
  msgstr "Sauvegarder"
172
 
173
- #: gallery-plugin.php:675
174
  msgid "FAQ"
175
  msgstr "FAQ"
176
 
177
- #: gallery-plugin.php:676
178
  msgid "Support"
179
  msgstr "Soutien"
180
 
181
- #: template/gallery-single-template.php:63
182
  msgid "Sorry - nothing to found."
183
  msgstr "Désolé, rien de trouvé"
184
 
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-24 16:31+0200\n"
6
+ "PO-Revision-Date: 2012-02-24 16:31+0200\n"
7
  "Last-Translator: BWS <zos@bestwebsoft.com>\n"
8
  "Language-Team: Wolforg <contact@wolforg.eu>\n"
9
  "MIME-Version: 1.0\n"
16
  "X-Poedit-SourceCharset: utf-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: gallery-plugin.php:75
20
+ #: gallery-plugin.php:85
21
  msgid "Galleries"
22
  msgstr "Galeries"
23
 
24
+ #: gallery-plugin.php:76
25
+ #: gallery-plugin.php:516
26
  msgid "Gallery"
27
  msgstr "Galerie"
28
 
29
+ #: gallery-plugin.php:77
30
  msgid "Add New"
31
  msgstr "Ajouter"
32
 
33
+ #: gallery-plugin.php:78
34
  msgid "Add New Gallery"
35
  msgstr "Ajouter nouvelle galerie"
36
 
37
+ #: gallery-plugin.php:79
38
  msgid "Edit Gallery"
39
  msgstr "Modifier la galerie"
40
 
41
+ #: gallery-plugin.php:80
42
  msgid "New Gallery"
43
  msgstr "Nouvelle galerie"
44
 
45
+ #: gallery-plugin.php:81
46
  msgid "View Gallery"
47
  msgstr "Voir la galerie"
48
 
49
+ #: gallery-plugin.php:82
50
  msgid "Search Galleries"
51
  msgstr "Rechercher une galerie"
52
 
53
+ #: gallery-plugin.php:83
54
  msgid "No Galleries found"
55
  msgstr "Pas de galeries trouvées"
56
 
57
+ #: gallery-plugin.php:132
58
  msgid "Upload File"
59
  msgstr "Envoi de fichier"
60
 
61
+ #: gallery-plugin.php:145
62
  msgid "Choose a screenshot to upload:"
63
  msgstr "Choix de la capture d'écran à envoyer :"
64
 
65
+ #: gallery-plugin.php:149
66
  msgid "Please enable JavaScript to use the file uploader."
67
  msgstr "Merci d'activer JavaScript pour utiliser l'envoi de fichiers."
68
 
69
+ #: gallery-plugin.php:336
70
  msgid "Title"
71
  msgstr "Titre"
72
 
73
+ #: gallery-plugin.php:337
74
  msgid "Author"
75
  msgstr "Auteur"
76
 
77
+ #: gallery-plugin.php:338
78
  msgid "Photo's"
79
  msgstr "Photo's"
80
 
81
+ #: gallery-plugin.php:339
82
  msgid "Public"
83
  msgstr "Public"
84
 
85
+ #: gallery-plugin.php:340
86
  msgid "Date"
87
  msgstr "Date"
88
 
89
+ #: gallery-plugin.php:485
90
  msgid "Activated plugins"
91
  msgstr "Extensions activées"
92
 
93
+ #: gallery-plugin.php:487
94
+ #: gallery-plugin.php:495
95
+ #: gallery-plugin.php:503
96
  msgid "Read more"
97
  msgstr "Lire plus..."
98
 
99
+ #: gallery-plugin.php:487
100
+ #: gallery-plugin.php:635
101
+ #: gallery-plugin.php:650
102
  msgid "Settings"
103
  msgstr "Paramètres"
104
 
105
+ #: gallery-plugin.php:493
106
  msgid "Installed plugins"
107
  msgstr "Extensions installées"
108
 
109
+ #: gallery-plugin.php:501
110
  msgid "Recommended plugins"
111
  msgstr "Extensions recommandées"
112
 
113
+ #: gallery-plugin.php:503
114
  msgid "Download"
115
  msgstr "Télécharger"
116
 
117
+ #: gallery-plugin.php:503
118
  #, php-format
119
  msgid "Install %s"
120
  msgstr "Installation %s"
121
 
122
+ #: gallery-plugin.php:503
123
  msgid "Install now from wordpress.org"
124
  msgstr "Installation à partir via wordpress.org"
125
 
126
+ #: gallery-plugin.php:505
127
  msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
128
  msgstr "Si vous avez des questions, merci de nous contacter via plugin@bestwebsoft.com ou remplissez le formulaire de contact sur notre site"
129
 
130
+ #: gallery-plugin.php:584
131
  msgid "Options saved."
132
  msgstr "Options sauvegardées"
133
 
134
+ #: gallery-plugin.php:591
135
  msgid "Gallery Options"
136
  msgstr "Options de galerie"
137
 
138
+ #: gallery-plugin.php:597
139
  msgid "The size of the cover album for gallery"
140
  msgstr "Taille de Couverture de la galerie"
141
 
142
+ #: gallery-plugin.php:599
143
+ #: gallery-plugin.php:607
144
  msgid "Image size name"
145
  msgstr "Nom de la taille"
146
 
147
+ #: gallery-plugin.php:600
148
+ #: gallery-plugin.php:608
149
  msgid "Width (in px)"
150
  msgstr "Largeur (en pixels)"
151
 
152
+ #: gallery-plugin.php:601
153
+ #: gallery-plugin.php:609
154
  msgid "Height (in px)"
155
  msgstr "Hauteur (en pixels)"
156
 
157
+ #: gallery-plugin.php:605
158
  msgid "Size for gallery image"
159
  msgstr "Taille de la galerie"
160
 
161
+ #: gallery-plugin.php:613
162
  msgid "WordPress will create a copy of the post thumbnail with the specified dimensions when you upload a new photo."
163
  msgstr "WordPress créera une copie de la miniature d'article avec les dimensions spécifiées quand vous envoyez une nouvelle photo."
164
 
165
+ #: gallery-plugin.php:616
166
  msgid "Count images in row"
167
  msgstr "Nombre d'image par ligne"
168
 
169
+ #: gallery-plugin.php:624
170
  msgid "Save Changes"
171
  msgstr "Sauvegarder"
172
 
173
+ #: gallery-plugin.php:636
174
  msgid "FAQ"
175
  msgstr "FAQ"
176
 
177
+ #: gallery-plugin.php:637
178
  msgid "Support"
179
  msgstr "Soutien"
180
 
181
+ #: template/gallery-single-template.php:64
182
  msgid "Sorry - nothing to found."
183
  msgstr "Désolé, rien de trouvé"
184
 
languages/gallery-ka_GE.mo CHANGED
Binary file
languages/gallery-ka_GE.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-01-30 11:49+0200\n"
6
- "PO-Revision-Date: 2012-01-30 11:49+0200\n"
7
  "Last-Translator: BWS <zos@bestwebsoft.com>\n"
8
  "Language-Team: Vako Patashuri <vpatashuri@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
@@ -16,169 +16,169 @@ msgstr ""
16
  "X-Poedit-SourceCharset: utf-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: gallery-plugin.php:63
20
- #: gallery-plugin.php:73
21
  msgid "Galleries"
22
  msgstr "გალერეა"
23
 
24
- #: gallery-plugin.php:64
25
- #: gallery-plugin.php:555
26
  msgid "Gallery"
27
  msgstr "გალერეა"
28
 
29
- #: gallery-plugin.php:65
30
  msgid "Add New"
31
  msgstr "ახლის დამატება"
32
 
33
- #: gallery-plugin.php:66
34
  msgid "Add New Gallery"
35
  msgstr "ახალი გალერეას დამატება"
36
 
37
- #: gallery-plugin.php:67
38
  msgid "Edit Gallery"
39
  msgstr "გალერეას შესწორება"
40
 
41
- #: gallery-plugin.php:68
42
  msgid "New Gallery"
43
  msgstr "ახალი გალერეა"
44
 
45
- #: gallery-plugin.php:69
46
  msgid "View Gallery"
47
  msgstr "გალერეას ნახვა"
48
 
49
- #: gallery-plugin.php:70
50
  msgid "Search Galleries"
51
  msgstr "გალერეას ძებნა"
52
 
53
- #: gallery-plugin.php:71
54
  msgid "No Galleries found"
55
  msgstr "გალერეა არ მოძებნა"
56
 
57
- #: gallery-plugin.php:120
58
  msgid "Upload File"
59
  msgstr "ფაილის ატვირთვა"
60
 
61
- #: gallery-plugin.php:131
62
  msgid "Choose a screenshot to upload:"
63
  msgstr "აირჩიეთ სურათი ასატვირთად:"
64
 
65
- #: gallery-plugin.php:135
66
  msgid "Please enable JavaScript to use the file uploader."
67
  msgstr "გთხოვთ ჩართეთ JavaScript რომ გამოიყენოთ ფაილების ამტვირთავი."
68
 
69
- #: gallery-plugin.php:323
70
  msgid "Title"
71
  msgstr "სათაური"
72
 
73
- #: gallery-plugin.php:324
74
  msgid "Author"
75
  msgstr "ავტორი"
76
 
77
- #: gallery-plugin.php:325
78
  msgid "Photo's"
79
  msgstr "ფოტო"
80
 
81
- #: gallery-plugin.php:326
82
  msgid "Public"
83
  msgstr "საჯარო"
84
 
85
- #: gallery-plugin.php:327
86
  msgid "Date"
87
  msgstr "თარიღი"
88
 
89
- #: gallery-plugin.php:524
90
  msgid "Activated plugins"
91
  msgstr "გააქტიურებული დანამატები:"
92
 
93
- #: gallery-plugin.php:526
94
- #: gallery-plugin.php:534
95
- #: gallery-plugin.php:542
96
  msgid "Read more"
97
  msgstr "სრულად ნახვა"
98
 
99
- #: gallery-plugin.php:526
100
- #: gallery-plugin.php:674
101
- #: gallery-plugin.php:689
102
  msgid "Settings"
103
  msgstr "პარამეტრები"
104
 
105
- #: gallery-plugin.php:532
106
  msgid "Installed plugins"
107
  msgstr "დაყენებული დანამატები"
108
 
109
- #: gallery-plugin.php:540
110
  msgid "Recommended plugins"
111
  msgstr "რეკომენდირებული დანამატები"
112
 
113
- #: gallery-plugin.php:542
114
  msgid "Download"
115
  msgstr "გადმოტვირთვა"
116
 
117
- #: gallery-plugin.php:542
118
  #, php-format
119
  msgid "Install %s"
120
  msgstr "დაყენებულია %s"
121
 
122
- #: gallery-plugin.php:542
123
  msgid "Install now from wordpress.org"
124
  msgstr "დააყენეთ wordpress.org-იდან"
125
 
126
- #: gallery-plugin.php:544
127
  msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
128
  msgstr "თუ თქვენ გაქვთ რაიმე შეკითხვა, გთხოვთ მოგვწერეთ ელფოსტაზე plugin@bestwebsoft.com ან შეავსეთ საკონტაქტო ფორმა გამოსაგზავნად"
129
 
130
- #: gallery-plugin.php:623
131
  msgid "Options saved."
132
  msgstr "პარამეტრები შენახულია"
133
 
134
- #: gallery-plugin.php:630
135
  msgid "Gallery Options"
136
  msgstr "გალერეის პარამეტრები"
137
 
138
- #: gallery-plugin.php:636
139
  msgid "The size of the cover album for gallery"
140
  msgstr "ალბომის ყდის ზომა გალერეისთვის"
141
 
142
- #: gallery-plugin.php:638
143
- #: gallery-plugin.php:646
144
  msgid "Image size name"
145
  msgstr "ზომის სახელი"
146
 
147
- #: gallery-plugin.php:639
148
- #: gallery-plugin.php:647
149
  msgid "Width (in px)"
150
  msgstr "სიგანე(პიქსელებში)"
151
 
152
- #: gallery-plugin.php:640
153
- #: gallery-plugin.php:648
154
  msgid "Height (in px)"
155
  msgstr "სიმაღლე(პიქსელებში)"
156
 
157
- #: gallery-plugin.php:644
158
  msgid "Size for gallery image"
159
  msgstr "ზომა გალერეის სურათისთვის"
160
 
161
- #: gallery-plugin.php:652
162
  msgid "WordPress will create a copy of the post thumbnail with the specified dimensions when you upload a new photo."
163
  msgstr "ვორდპრესი შექმნის მინიატურული პოსტის კოპიას განსაზღვრულ ზომებში, როდესაც ატვირთავთ სურათს."
164
 
165
- #: gallery-plugin.php:655
166
  msgid "Count images in row"
167
  msgstr "სურათების რაოდენობა მწკრივში"
168
 
169
- #: gallery-plugin.php:663
170
  msgid "Save Changes"
171
  msgstr "ცვლილებების შენახვა"
172
 
173
- #: gallery-plugin.php:675
174
  msgid "FAQ"
175
  msgstr "FAQ"
176
 
177
- #: gallery-plugin.php:676
178
  msgid "Support"
179
  msgstr "Support"
180
 
181
- #: template/gallery-single-template.php:63
182
  msgid "Sorry - nothing to found."
183
  msgstr "მაპატიეთ - არაფერია ნაპოვნი."
184
 
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-24 16:31+0200\n"
6
+ "PO-Revision-Date: 2012-02-24 16:31+0200\n"
7
  "Last-Translator: BWS <zos@bestwebsoft.com>\n"
8
  "Language-Team: Vako Patashuri <vpatashuri@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
16
  "X-Poedit-SourceCharset: utf-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: gallery-plugin.php:75
20
+ #: gallery-plugin.php:85
21
  msgid "Galleries"
22
  msgstr "გალერეა"
23
 
24
+ #: gallery-plugin.php:76
25
+ #: gallery-plugin.php:516
26
  msgid "Gallery"
27
  msgstr "გალერეა"
28
 
29
+ #: gallery-plugin.php:77
30
  msgid "Add New"
31
  msgstr "ახლის დამატება"
32
 
33
+ #: gallery-plugin.php:78
34
  msgid "Add New Gallery"
35
  msgstr "ახალი გალერეას დამატება"
36
 
37
+ #: gallery-plugin.php:79
38
  msgid "Edit Gallery"
39
  msgstr "გალერეას შესწორება"
40
 
41
+ #: gallery-plugin.php:80
42
  msgid "New Gallery"
43
  msgstr "ახალი გალერეა"
44
 
45
+ #: gallery-plugin.php:81
46
  msgid "View Gallery"
47
  msgstr "გალერეას ნახვა"
48
 
49
+ #: gallery-plugin.php:82
50
  msgid "Search Galleries"
51
  msgstr "გალერეას ძებნა"
52
 
53
+ #: gallery-plugin.php:83
54
  msgid "No Galleries found"
55
  msgstr "გალერეა არ მოძებნა"
56
 
57
+ #: gallery-plugin.php:132
58
  msgid "Upload File"
59
  msgstr "ფაილის ატვირთვა"
60
 
61
+ #: gallery-plugin.php:145
62
  msgid "Choose a screenshot to upload:"
63
  msgstr "აირჩიეთ სურათი ასატვირთად:"
64
 
65
+ #: gallery-plugin.php:149
66
  msgid "Please enable JavaScript to use the file uploader."
67
  msgstr "გთხოვთ ჩართეთ JavaScript რომ გამოიყენოთ ფაილების ამტვირთავი."
68
 
69
+ #: gallery-plugin.php:336
70
  msgid "Title"
71
  msgstr "სათაური"
72
 
73
+ #: gallery-plugin.php:337
74
  msgid "Author"
75
  msgstr "ავტორი"
76
 
77
+ #: gallery-plugin.php:338
78
  msgid "Photo's"
79
  msgstr "ფოტო"
80
 
81
+ #: gallery-plugin.php:339
82
  msgid "Public"
83
  msgstr "საჯარო"
84
 
85
+ #: gallery-plugin.php:340
86
  msgid "Date"
87
  msgstr "თარიღი"
88
 
89
+ #: gallery-plugin.php:485
90
  msgid "Activated plugins"
91
  msgstr "გააქტიურებული დანამატები:"
92
 
93
+ #: gallery-plugin.php:487
94
+ #: gallery-plugin.php:495
95
+ #: gallery-plugin.php:503
96
  msgid "Read more"
97
  msgstr "სრულად ნახვა"
98
 
99
+ #: gallery-plugin.php:487
100
+ #: gallery-plugin.php:635
101
+ #: gallery-plugin.php:650
102
  msgid "Settings"
103
  msgstr "პარამეტრები"
104
 
105
+ #: gallery-plugin.php:493
106
  msgid "Installed plugins"
107
  msgstr "დაყენებული დანამატები"
108
 
109
+ #: gallery-plugin.php:501
110
  msgid "Recommended plugins"
111
  msgstr "რეკომენდირებული დანამატები"
112
 
113
+ #: gallery-plugin.php:503
114
  msgid "Download"
115
  msgstr "გადმოტვირთვა"
116
 
117
+ #: gallery-plugin.php:503
118
  #, php-format
119
  msgid "Install %s"
120
  msgstr "დაყენებულია %s"
121
 
122
+ #: gallery-plugin.php:503
123
  msgid "Install now from wordpress.org"
124
  msgstr "დააყენეთ wordpress.org-იდან"
125
 
126
+ #: gallery-plugin.php:505
127
  msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
128
  msgstr "თუ თქვენ გაქვთ რაიმე შეკითხვა, გთხოვთ მოგვწერეთ ელფოსტაზე plugin@bestwebsoft.com ან შეავსეთ საკონტაქტო ფორმა გამოსაგზავნად"
129
 
130
+ #: gallery-plugin.php:584
131
  msgid "Options saved."
132
  msgstr "პარამეტრები შენახულია"
133
 
134
+ #: gallery-plugin.php:591
135
  msgid "Gallery Options"
136
  msgstr "გალერეის პარამეტრები"
137
 
138
+ #: gallery-plugin.php:597
139
  msgid "The size of the cover album for gallery"
140
  msgstr "ალბომის ყდის ზომა გალერეისთვის"
141
 
142
+ #: gallery-plugin.php:599
143
+ #: gallery-plugin.php:607
144
  msgid "Image size name"
145
  msgstr "ზომის სახელი"
146
 
147
+ #: gallery-plugin.php:600
148
+ #: gallery-plugin.php:608
149
  msgid "Width (in px)"
150
  msgstr "სიგანე(პიქსელებში)"
151
 
152
+ #: gallery-plugin.php:601
153
+ #: gallery-plugin.php:609
154
  msgid "Height (in px)"
155
  msgstr "სიმაღლე(პიქსელებში)"
156
 
157
+ #: gallery-plugin.php:605
158
  msgid "Size for gallery image"
159
  msgstr "ზომა გალერეის სურათისთვის"
160
 
161
+ #: gallery-plugin.php:613
162
  msgid "WordPress will create a copy of the post thumbnail with the specified dimensions when you upload a new photo."
163
  msgstr "ვორდპრესი შექმნის მინიატურული პოსტის კოპიას განსაზღვრულ ზომებში, როდესაც ატვირთავთ სურათს."
164
 
165
+ #: gallery-plugin.php:616
166
  msgid "Count images in row"
167
  msgstr "სურათების რაოდენობა მწკრივში"
168
 
169
+ #: gallery-plugin.php:624
170
  msgid "Save Changes"
171
  msgstr "ცვლილებების შენახვა"
172
 
173
+ #: gallery-plugin.php:636
174
  msgid "FAQ"
175
  msgstr "FAQ"
176
 
177
+ #: gallery-plugin.php:637
178
  msgid "Support"
179
  msgstr "Support"
180
 
181
+ #: template/gallery-single-template.php:64
182
  msgid "Sorry - nothing to found."
183
  msgstr "მაპატიეთ - არაფერია ნაპოვნი."
184
 
languages/gallery-nl_NL.mo CHANGED
Binary file
languages/gallery-nl_NL.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-02-14 10:50+0200\n"
6
- "PO-Revision-Date: 2012-02-14 10:52+0200\n"
7
  "Last-Translator: BWS <zos@bestwebsoft.com>\n"
8
  "Language-Team: Ronald <ronald@bhi.nl>\n"
9
  "MIME-Version: 1.0\n"
@@ -16,169 +16,169 @@ msgstr ""
16
  "X-Poedit-SourceCharset: utf-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: gallery-plugin.php:63
20
- #: gallery-plugin.php:73
21
  msgid "Galleries"
22
  msgstr "Fotoalbum's"
23
 
24
- #: gallery-plugin.php:64
25
- #: gallery-plugin.php:555
26
  msgid "Gallery"
27
  msgstr "Fotoalbum"
28
 
29
- #: gallery-plugin.php:65
30
  msgid "Add New"
31
  msgstr "Nieuw fotoalbum"
32
 
33
- #: gallery-plugin.php:66
34
  msgid "Add New Gallery"
35
  msgstr "Nieuw fotoalbum"
36
 
37
- #: gallery-plugin.php:67
38
  msgid "Edit Gallery"
39
  msgstr "Fotoalbum bewerken"
40
 
41
- #: gallery-plugin.php:68
42
  msgid "New Gallery"
43
  msgstr "Nieuwe foto"
44
 
45
- #: gallery-plugin.php:69
46
  msgid "View Gallery"
47
  msgstr "Foto bekijken"
48
 
49
- #: gallery-plugin.php:70
50
  msgid "Search Galleries"
51
  msgstr "Zoeken"
52
 
53
- #: gallery-plugin.php:71
54
  msgid "No Galleries found"
55
  msgstr "Niets gevonden"
56
 
57
- #: gallery-plugin.php:120
58
  msgid "Upload File"
59
  msgstr "Foto's uploaden"
60
 
61
- #: gallery-plugin.php:131
62
  msgid "Choose a screenshot to upload:"
63
  msgstr "Foto's uploaden: "
64
 
65
- #: gallery-plugin.php:135
66
  msgid "Please enable JavaScript to use the file uploader."
67
  msgstr "Activeer JavaScript om foto's te kunnen uploaden."
68
 
69
- #: gallery-plugin.php:323
70
  msgid "Title"
71
  msgstr "Titel"
72
 
73
- #: gallery-plugin.php:324
74
  msgid "Author"
75
  msgstr "Auteur"
76
 
77
- #: gallery-plugin.php:325
78
  msgid "Photo's"
79
  msgstr "Foto's"
80
 
81
- #: gallery-plugin.php:326
82
  msgid "Public"
83
  msgstr "Gepubliceerd"
84
 
85
- #: gallery-plugin.php:327
86
  msgid "Date"
87
  msgstr "Datum"
88
 
89
- #: gallery-plugin.php:524
90
  msgid "Activated plugins"
91
  msgstr "Geactiveerde plugins"
92
 
93
- #: gallery-plugin.php:526
94
- #: gallery-plugin.php:534
95
- #: gallery-plugin.php:542
96
  msgid "Read more"
97
  msgstr "Lees verder"
98
 
99
- #: gallery-plugin.php:526
100
- #: gallery-plugin.php:674
101
- #: gallery-plugin.php:689
102
  msgid "Settings"
103
  msgstr "Instellingen"
104
 
105
- #: gallery-plugin.php:532
106
  msgid "Installed plugins"
107
  msgstr "Geinstalleerde plugins"
108
 
109
- #: gallery-plugin.php:540
110
  msgid "Recommended plugins"
111
  msgstr "Aanbevolen plugins"
112
 
113
- #: gallery-plugin.php:542
114
  msgid "Download"
115
  msgstr "Download"
116
 
117
- #: gallery-plugin.php:542
118
  #, php-format
119
  msgid "Install %s"
120
  msgstr "Install %s"
121
 
122
- #: gallery-plugin.php:542
123
  msgid "Install now from wordpress.org"
124
  msgstr "Installeer nu vanaf wordpress.org"
125
 
126
- #: gallery-plugin.php:544
127
  msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
128
  msgstr "Indien u nog vragen heeft, neem contact op via plugin@bestwebsoft.com of vul het contactformulier in op onze website"
129
 
130
- #: gallery-plugin.php:623
131
  msgid "Options saved."
132
  msgstr "Opties opgeslagen"
133
 
134
- #: gallery-plugin.php:630
135
  msgid "Gallery Options"
136
  msgstr "Fotoalbum opties"
137
 
138
- #: gallery-plugin.php:636
139
  msgid "The size of the cover album for gallery"
140
  msgstr "De afmetingen voor de cover van het album"
141
 
142
- #: gallery-plugin.php:638
143
- #: gallery-plugin.php:646
144
  msgid "Image size name"
145
  msgstr "Afbeelding grootte"
146
 
147
- #: gallery-plugin.php:639
148
- #: gallery-plugin.php:647
149
  msgid "Width (in px)"
150
  msgstr "Breedte (in px)"
151
 
152
- #: gallery-plugin.php:640
153
- #: gallery-plugin.php:648
154
  msgid "Height (in px)"
155
  msgstr "Hoogte (in px)"
156
 
157
- #: gallery-plugin.php:644
158
  msgid "Size for gallery image"
159
  msgstr "Grootte voor album afbeelding"
160
 
161
- #: gallery-plugin.php:652
162
  msgid "WordPress will create a copy of the post thumbnail with the specified dimensions when you upload a new photo."
163
  msgstr "Wordpress zal een kopie maken van de thumbnail in de opgegeven afmetingen als u een nieuwe foto upload."
164
 
165
- #: gallery-plugin.php:655
166
  msgid "Count images in row"
167
  msgstr "Aantal afbeeldingen op een rij"
168
 
169
- #: gallery-plugin.php:663
170
  msgid "Save Changes"
171
  msgstr "Bewaar veranderingen"
172
 
173
- #: gallery-plugin.php:675
174
  msgid "FAQ"
175
  msgstr "FAQ"
176
 
177
- #: gallery-plugin.php:676
178
  msgid "Support"
179
  msgstr "Support"
180
 
181
- #: template/gallery-single-template.php:63
182
  msgid "Sorry - nothing to found."
183
  msgstr "Helaas - niets gevonden"
184
 
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-24 16:31+0200\n"
6
+ "PO-Revision-Date: 2012-02-24 16:31+0200\n"
7
  "Last-Translator: BWS <zos@bestwebsoft.com>\n"
8
  "Language-Team: Ronald <ronald@bhi.nl>\n"
9
  "MIME-Version: 1.0\n"
16
  "X-Poedit-SourceCharset: utf-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: gallery-plugin.php:75
20
+ #: gallery-plugin.php:85
21
  msgid "Galleries"
22
  msgstr "Fotoalbum's"
23
 
24
+ #: gallery-plugin.php:76
25
+ #: gallery-plugin.php:516
26
  msgid "Gallery"
27
  msgstr "Fotoalbum"
28
 
29
+ #: gallery-plugin.php:77
30
  msgid "Add New"
31
  msgstr "Nieuw fotoalbum"
32
 
33
+ #: gallery-plugin.php:78
34
  msgid "Add New Gallery"
35
  msgstr "Nieuw fotoalbum"
36
 
37
+ #: gallery-plugin.php:79
38
  msgid "Edit Gallery"
39
  msgstr "Fotoalbum bewerken"
40
 
41
+ #: gallery-plugin.php:80
42
  msgid "New Gallery"
43
  msgstr "Nieuwe foto"
44
 
45
+ #: gallery-plugin.php:81
46
  msgid "View Gallery"
47
  msgstr "Foto bekijken"
48
 
49
+ #: gallery-plugin.php:82
50
  msgid "Search Galleries"
51
  msgstr "Zoeken"
52
 
53
+ #: gallery-plugin.php:83
54
  msgid "No Galleries found"
55
  msgstr "Niets gevonden"
56
 
57
+ #: gallery-plugin.php:132
58
  msgid "Upload File"
59
  msgstr "Foto's uploaden"
60
 
61
+ #: gallery-plugin.php:145
62
  msgid "Choose a screenshot to upload:"
63
  msgstr "Foto's uploaden: "
64
 
65
+ #: gallery-plugin.php:149
66
  msgid "Please enable JavaScript to use the file uploader."
67
  msgstr "Activeer JavaScript om foto's te kunnen uploaden."
68
 
69
+ #: gallery-plugin.php:336
70
  msgid "Title"
71
  msgstr "Titel"
72
 
73
+ #: gallery-plugin.php:337
74
  msgid "Author"
75
  msgstr "Auteur"
76
 
77
+ #: gallery-plugin.php:338
78
  msgid "Photo's"
79
  msgstr "Foto's"
80
 
81
+ #: gallery-plugin.php:339
82
  msgid "Public"
83
  msgstr "Gepubliceerd"
84
 
85
+ #: gallery-plugin.php:340
86
  msgid "Date"
87
  msgstr "Datum"
88
 
89
+ #: gallery-plugin.php:485
90
  msgid "Activated plugins"
91
  msgstr "Geactiveerde plugins"
92
 
93
+ #: gallery-plugin.php:487
94
+ #: gallery-plugin.php:495
95
+ #: gallery-plugin.php:503
96
  msgid "Read more"
97
  msgstr "Lees verder"
98
 
99
+ #: gallery-plugin.php:487
100
+ #: gallery-plugin.php:635
101
+ #: gallery-plugin.php:650
102
  msgid "Settings"
103
  msgstr "Instellingen"
104
 
105
+ #: gallery-plugin.php:493
106
  msgid "Installed plugins"
107
  msgstr "Geinstalleerde plugins"
108
 
109
+ #: gallery-plugin.php:501
110
  msgid "Recommended plugins"
111
  msgstr "Aanbevolen plugins"
112
 
113
+ #: gallery-plugin.php:503
114
  msgid "Download"
115
  msgstr "Download"
116
 
117
+ #: gallery-plugin.php:503
118
  #, php-format
119
  msgid "Install %s"
120
  msgstr "Install %s"
121
 
122
+ #: gallery-plugin.php:503
123
  msgid "Install now from wordpress.org"
124
  msgstr "Installeer nu vanaf wordpress.org"
125
 
126
+ #: gallery-plugin.php:505
127
  msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
128
  msgstr "Indien u nog vragen heeft, neem contact op via plugin@bestwebsoft.com of vul het contactformulier in op onze website"
129
 
130
+ #: gallery-plugin.php:584
131
  msgid "Options saved."
132
  msgstr "Opties opgeslagen"
133
 
134
+ #: gallery-plugin.php:591
135
  msgid "Gallery Options"
136
  msgstr "Fotoalbum opties"
137
 
138
+ #: gallery-plugin.php:597
139
  msgid "The size of the cover album for gallery"
140
  msgstr "De afmetingen voor de cover van het album"
141
 
142
+ #: gallery-plugin.php:599
143
+ #: gallery-plugin.php:607
144
  msgid "Image size name"
145
  msgstr "Afbeelding grootte"
146
 
147
+ #: gallery-plugin.php:600
148
+ #: gallery-plugin.php:608
149
  msgid "Width (in px)"
150
  msgstr "Breedte (in px)"
151
 
152
+ #: gallery-plugin.php:601
153
+ #: gallery-plugin.php:609
154
  msgid "Height (in px)"
155
  msgstr "Hoogte (in px)"
156
 
157
+ #: gallery-plugin.php:605
158
  msgid "Size for gallery image"
159
  msgstr "Grootte voor album afbeelding"
160
 
161
+ #: gallery-plugin.php:613
162
  msgid "WordPress will create a copy of the post thumbnail with the specified dimensions when you upload a new photo."
163
  msgstr "Wordpress zal een kopie maken van de thumbnail in de opgegeven afmetingen als u een nieuwe foto upload."
164
 
165
+ #: gallery-plugin.php:616
166
  msgid "Count images in row"
167
  msgstr "Aantal afbeeldingen op een rij"
168
 
169
+ #: gallery-plugin.php:624
170
  msgid "Save Changes"
171
  msgstr "Bewaar veranderingen"
172
 
173
+ #: gallery-plugin.php:636
174
  msgid "FAQ"
175
  msgstr "FAQ"
176
 
177
+ #: gallery-plugin.php:637
178
  msgid "Support"
179
  msgstr "Support"
180
 
181
+ #: template/gallery-single-template.php:64
182
  msgid "Sorry - nothing to found."
183
  msgstr "Helaas - niets gevonden"
184
 
languages/gallery-ru_RU.mo CHANGED
Binary file
languages/gallery-ru_RU.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-01-30 11:50+0200\n"
6
- "PO-Revision-Date: 2012-01-30 11:50+0200\n"
7
  "Last-Translator: BWS <zos@bestwebsoft.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -16,169 +16,169 @@ msgstr ""
16
  "X-Poedit-SourceCharset: utf-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: gallery-plugin.php:63
20
- #: gallery-plugin.php:73
21
  msgid "Galleries"
22
  msgstr "Галереи"
23
 
24
- #: gallery-plugin.php:64
25
- #: gallery-plugin.php:555
26
  msgid "Gallery"
27
  msgstr "Галерея"
28
 
29
- #: gallery-plugin.php:65
30
  msgid "Add New"
31
  msgstr "Добавить галерею"
32
 
33
- #: gallery-plugin.php:66
34
  msgid "Add New Gallery"
35
  msgstr "добавить новую галерею"
36
 
37
- #: gallery-plugin.php:67
38
  msgid "Edit Gallery"
39
  msgstr "Редактировать галерею"
40
 
41
- #: gallery-plugin.php:68
42
  msgid "New Gallery"
43
  msgstr "Новая галерея"
44
 
45
- #: gallery-plugin.php:69
46
  msgid "View Gallery"
47
  msgstr "Просмотреть галерею"
48
 
49
- #: gallery-plugin.php:70
50
  msgid "Search Galleries"
51
  msgstr "Поиск галереи"
52
 
53
- #: gallery-plugin.php:71
54
  msgid "No Galleries found"
55
  msgstr "Ни одной галереи не найдено"
56
 
57
- #: gallery-plugin.php:120
58
  msgid "Upload File"
59
  msgstr "Загрузить файлы"
60
 
61
- #: gallery-plugin.php:131
62
  msgid "Choose a screenshot to upload:"
63
  msgstr "Выбрать файлы для загрузки: "
64
 
65
- #: gallery-plugin.php:135
66
  msgid "Please enable JavaScript to use the file uploader."
67
  msgstr "Пожалуйста, включите javascript для использования загрузчика файлов."
68
 
69
- #: gallery-plugin.php:323
70
  msgid "Title"
71
  msgstr "Название"
72
 
73
- #: gallery-plugin.php:324
74
  msgid "Author"
75
  msgstr "Автор"
76
 
77
- #: gallery-plugin.php:325
78
  msgid "Photo's"
79
  msgstr "Фото"
80
 
81
- #: gallery-plugin.php:326
82
  msgid "Public"
83
  msgstr "Опубликование"
84
 
85
- #: gallery-plugin.php:327
86
  msgid "Date"
87
  msgstr "Дата"
88
 
89
- #: gallery-plugin.php:524
90
  msgid "Activated plugins"
91
  msgstr "Активированные плагины"
92
 
93
- #: gallery-plugin.php:526
94
- #: gallery-plugin.php:534
95
- #: gallery-plugin.php:542
96
  msgid "Read more"
97
  msgstr "Подробнее..."
98
 
99
- #: gallery-plugin.php:526
100
- #: gallery-plugin.php:674
101
- #: gallery-plugin.php:689
102
  msgid "Settings"
103
  msgstr "Настройки"
104
 
105
- #: gallery-plugin.php:532
106
  msgid "Installed plugins"
107
  msgstr "Установленные плагины"
108
 
109
- #: gallery-plugin.php:540
110
  msgid "Recommended plugins"
111
  msgstr "Рекомендованные к установке плагины"
112
 
113
- #: gallery-plugin.php:542
114
  msgid "Download"
115
  msgstr "Скачать"
116
 
117
- #: gallery-plugin.php:542
118
  #, php-format
119
  msgid "Install %s"
120
  msgstr "Установлено %s"
121
 
122
- #: gallery-plugin.php:542
123
  msgid "Install now from wordpress.org"
124
  msgstr "Установить с wordpress.org"
125
 
126
- #: gallery-plugin.php:544
127
  msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
128
  msgstr "Если у вас есть какие-то впросы, обращайтесь на plugin@bestwebsoft.com или заполните контактную форму на нашем сайте"
129
 
130
- #: gallery-plugin.php:623
131
  msgid "Options saved."
132
  msgstr "Опции сохранены"
133
 
134
- #: gallery-plugin.php:630
135
  msgid "Gallery Options"
136
  msgstr "Настройки Галереи"
137
 
138
- #: gallery-plugin.php:636
139
  msgid "The size of the cover album for gallery"
140
  msgstr "Размер изображения для обложки альбома галереи"
141
 
142
- #: gallery-plugin.php:638
143
- #: gallery-plugin.php:646
144
  msgid "Image size name"
145
  msgstr "Название размера изображение"
146
 
147
- #: gallery-plugin.php:639
148
- #: gallery-plugin.php:647
149
  msgid "Width (in px)"
150
  msgstr "Ширина (в px)"
151
 
152
- #: gallery-plugin.php:640
153
- #: gallery-plugin.php:648
154
  msgid "Height (in px)"
155
  msgstr "Высота (в px)"
156
 
157
- #: gallery-plugin.php:644
158
  msgid "Size for gallery image"
159
  msgstr "Размер изображений Галереи"
160
 
161
- #: gallery-plugin.php:652
162
  msgid "WordPress will create a copy of the post thumbnail with the specified dimensions when you upload a new photo."
163
  msgstr "WordPress создаст новую миниатюру с заданными размерами при загрузке новой фотографии."
164
 
165
- #: gallery-plugin.php:655
166
  msgid "Count images in row"
167
  msgstr "Количество изображений в строке"
168
 
169
- #: gallery-plugin.php:663
170
  msgid "Save Changes"
171
  msgstr ""
172
 
173
- #: gallery-plugin.php:675
174
  msgid "FAQ"
175
  msgstr "FAQ"
176
 
177
- #: gallery-plugin.php:676
178
  msgid "Support"
179
  msgstr "Поддержка"
180
 
181
- #: template/gallery-single-template.php:63
182
  msgid "Sorry - nothing to found."
183
  msgstr "Извините, ничего не найдено."
184
 
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-24 16:31+0200\n"
6
+ "PO-Revision-Date: 2012-02-24 16:31+0200\n"
7
  "Last-Translator: BWS <zos@bestwebsoft.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
16
  "X-Poedit-SourceCharset: utf-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: gallery-plugin.php:75
20
+ #: gallery-plugin.php:85
21
  msgid "Galleries"
22
  msgstr "Галереи"
23
 
24
+ #: gallery-plugin.php:76
25
+ #: gallery-plugin.php:516
26
  msgid "Gallery"
27
  msgstr "Галерея"
28
 
29
+ #: gallery-plugin.php:77
30
  msgid "Add New"
31
  msgstr "Добавить галерею"
32
 
33
+ #: gallery-plugin.php:78
34
  msgid "Add New Gallery"
35
  msgstr "добавить новую галерею"
36
 
37
+ #: gallery-plugin.php:79
38
  msgid "Edit Gallery"
39
  msgstr "Редактировать галерею"
40
 
41
+ #: gallery-plugin.php:80
42
  msgid "New Gallery"
43
  msgstr "Новая галерея"
44
 
45
+ #: gallery-plugin.php:81
46
  msgid "View Gallery"
47
  msgstr "Просмотреть галерею"
48
 
49
+ #: gallery-plugin.php:82
50
  msgid "Search Galleries"
51
  msgstr "Поиск галереи"
52
 
53
+ #: gallery-plugin.php:83
54
  msgid "No Galleries found"
55
  msgstr "Ни одной галереи не найдено"
56
 
57
+ #: gallery-plugin.php:132
58
  msgid "Upload File"
59
  msgstr "Загрузить файлы"
60
 
61
+ #: gallery-plugin.php:145
62
  msgid "Choose a screenshot to upload:"
63
  msgstr "Выбрать файлы для загрузки: "
64
 
65
+ #: gallery-plugin.php:149
66
  msgid "Please enable JavaScript to use the file uploader."
67
  msgstr "Пожалуйста, включите javascript для использования загрузчика файлов."
68
 
69
+ #: gallery-plugin.php:336
70
  msgid "Title"
71
  msgstr "Название"
72
 
73
+ #: gallery-plugin.php:337
74
  msgid "Author"
75
  msgstr "Автор"
76
 
77
+ #: gallery-plugin.php:338
78
  msgid "Photo's"
79
  msgstr "Фото"
80
 
81
+ #: gallery-plugin.php:339
82
  msgid "Public"
83
  msgstr "Опубликование"
84
 
85
+ #: gallery-plugin.php:340
86
  msgid "Date"
87
  msgstr "Дата"
88
 
89
+ #: gallery-plugin.php:485
90
  msgid "Activated plugins"
91
  msgstr "Активированные плагины"
92
 
93
+ #: gallery-plugin.php:487
94
+ #: gallery-plugin.php:495
95
+ #: gallery-plugin.php:503
96
  msgid "Read more"
97
  msgstr "Подробнее..."
98
 
99
+ #: gallery-plugin.php:487
100
+ #: gallery-plugin.php:635
101
+ #: gallery-plugin.php:650
102
  msgid "Settings"
103
  msgstr "Настройки"
104
 
105
+ #: gallery-plugin.php:493
106
  msgid "Installed plugins"
107
  msgstr "Установленные плагины"
108
 
109
+ #: gallery-plugin.php:501
110
  msgid "Recommended plugins"
111
  msgstr "Рекомендованные к установке плагины"
112
 
113
+ #: gallery-plugin.php:503
114
  msgid "Download"
115
  msgstr "Скачать"
116
 
117
+ #: gallery-plugin.php:503
118
  #, php-format
119
  msgid "Install %s"
120
  msgstr "Установлено %s"
121
 
122
+ #: gallery-plugin.php:503
123
  msgid "Install now from wordpress.org"
124
  msgstr "Установить с wordpress.org"
125
 
126
+ #: gallery-plugin.php:505
127
  msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
128
  msgstr "Если у вас есть какие-то впросы, обращайтесь на plugin@bestwebsoft.com или заполните контактную форму на нашем сайте"
129
 
130
+ #: gallery-plugin.php:584
131
  msgid "Options saved."
132
  msgstr "Опции сохранены"
133
 
134
+ #: gallery-plugin.php:591
135
  msgid "Gallery Options"
136
  msgstr "Настройки Галереи"
137
 
138
+ #: gallery-plugin.php:597
139
  msgid "The size of the cover album for gallery"
140
  msgstr "Размер изображения для обложки альбома галереи"
141
 
142
+ #: gallery-plugin.php:599
143
+ #: gallery-plugin.php:607
144
  msgid "Image size name"
145
  msgstr "Название размера изображение"
146
 
147
+ #: gallery-plugin.php:600
148
+ #: gallery-plugin.php:608
149
  msgid "Width (in px)"
150
  msgstr "Ширина (в px)"
151
 
152
+ #: gallery-plugin.php:601
153
+ #: gallery-plugin.php:609
154
  msgid "Height (in px)"
155
  msgstr "Высота (в px)"
156
 
157
+ #: gallery-plugin.php:605
158
  msgid "Size for gallery image"
159
  msgstr "Размер изображений Галереи"
160
 
161
+ #: gallery-plugin.php:613
162
  msgid "WordPress will create a copy of the post thumbnail with the specified dimensions when you upload a new photo."
163
  msgstr "WordPress создаст новую миниатюру с заданными размерами при загрузке новой фотографии."
164
 
165
+ #: gallery-plugin.php:616
166
  msgid "Count images in row"
167
  msgstr "Количество изображений в строке"
168
 
169
+ #: gallery-plugin.php:624
170
  msgid "Save Changes"
171
  msgstr ""
172
 
173
+ #: gallery-plugin.php:636
174
  msgid "FAQ"
175
  msgstr "FAQ"
176
 
177
+ #: gallery-plugin.php:637
178
  msgid "Support"
179
  msgstr "Поддержка"
180
 
181
+ #: template/gallery-single-template.php:64
182
  msgid "Sorry - nothing to found."
183
  msgstr "Извините, ничего не найдено."
184
 
languages/gallery-uk.mo CHANGED
Binary file
languages/gallery-uk.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-02-17 10:24+0200\n"
6
- "PO-Revision-Date: 2012-02-17 10:26+0200\n"
7
  "Last-Translator: BWS <zos@bestwebsoft.com>\n"
8
  "Language-Team: Ted Mosby <tmosbyd@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
@@ -16,169 +16,169 @@ msgstr ""
16
  "X-Poedit-SourceCharset: utf-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: gallery-plugin.php:63
20
- #: gallery-plugin.php:73
21
  msgid "Galleries"
22
  msgstr "Галереi"
23
 
24
- #: gallery-plugin.php:64
25
- #: gallery-plugin.php:555
26
  msgid "Gallery"
27
  msgstr "Галерея"
28
 
29
- #: gallery-plugin.php:65
30
  msgid "Add New"
31
  msgstr "Додати новий"
32
 
33
- #: gallery-plugin.php:66
34
  msgid "Add New Gallery"
35
  msgstr "Додати нову галерею"
36
 
37
- #: gallery-plugin.php:67
38
  msgid "Edit Gallery"
39
  msgstr "Редагування галерея"
40
 
41
- #: gallery-plugin.php:68
42
  msgid "New Gallery"
43
  msgstr "Нова галерея"
44
 
45
- #: gallery-plugin.php:69
46
  msgid "View Gallery"
47
  msgstr "Перегляд галереї"
48
 
49
- #: gallery-plugin.php:70
50
  msgid "Search Galleries"
51
  msgstr "Пошук галереї"
52
 
53
- #: gallery-plugin.php:71
54
  msgid "No Galleries found"
55
  msgstr "Галереї, не знайдено"
56
 
57
- #: gallery-plugin.php:120
58
  msgid "Upload File"
59
  msgstr "Завантажити файл"
60
 
61
- #: gallery-plugin.php:131
62
  msgid "Choose a screenshot to upload:"
63
  msgstr "Вибрати скріншот, щоб завантажити:"
64
 
65
- #: gallery-plugin.php:135
66
  msgid "Please enable JavaScript to use the file uploader."
67
  msgstr "Будь ласка Дозвольте JavaScript, щоб використовувати файл uploader."
68
 
69
- #: gallery-plugin.php:323
70
  msgid "Title"
71
  msgstr "Назва"
72
 
73
- #: gallery-plugin.php:324
74
  msgid "Author"
75
  msgstr "Автор "
76
 
77
- #: gallery-plugin.php:325
78
  msgid "Photo's"
79
  msgstr "Фото "
80
 
81
- #: gallery-plugin.php:326
82
  msgid "Public"
83
  msgstr "Громадськості"
84
 
85
- #: gallery-plugin.php:327
86
  msgid "Date"
87
  msgstr "Дата "
88
 
89
- #: gallery-plugin.php:524
90
  msgid "Activated plugins"
91
  msgstr "Активоване плагіни"
92
 
93
- #: gallery-plugin.php:526
94
- #: gallery-plugin.php:534
95
- #: gallery-plugin.php:542
96
  msgid "Read more"
97
  msgstr "Читати далі"
98
 
99
- #: gallery-plugin.php:526
100
- #: gallery-plugin.php:674
101
- #: gallery-plugin.php:689
102
  msgid "Settings"
103
  msgstr "Параметри"
104
 
105
- #: gallery-plugin.php:532
106
  msgid "Installed plugins"
107
  msgstr "Встановлених модулів"
108
 
109
- #: gallery-plugin.php:540
110
  msgid "Recommended plugins"
111
  msgstr "Плагіни Рекомендовані"
112
 
113
- #: gallery-plugin.php:542
114
  msgid "Download"
115
  msgstr "Завантажити"
116
 
117
- #: gallery-plugin.php:542
118
  #, php-format
119
  msgid "Install %s"
120
  msgstr "Установка %s"
121
 
122
- #: gallery-plugin.php:542
123
  msgid "Install now from wordpress.org"
124
  msgstr "Установити зараз від wordpress.org"
125
 
126
- #: gallery-plugin.php:544
127
  msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
128
  msgstr "Якщо у вас є які-небудь питання, будь ласка, зв'яжіться з нами через plugin@bestwebsoft.com або заповнити нашу контактну форму на нашому сайті"
129
 
130
- #: gallery-plugin.php:623
131
  msgid "Options saved."
132
  msgstr "Параметри зберігаються."
133
 
134
- #: gallery-plugin.php:630
135
  msgid "Gallery Options"
136
  msgstr "Параметри галереї"
137
 
138
- #: gallery-plugin.php:636
139
  msgid "The size of the cover album for gallery"
140
  msgstr "Розмір обкладинки альбому для галереї"
141
 
142
- #: gallery-plugin.php:638
143
- #: gallery-plugin.php:646
144
  msgid "Image size name"
145
  msgstr "Ім'я розмір зображення"
146
 
147
- #: gallery-plugin.php:639
148
- #: gallery-plugin.php:647
149
  msgid "Width (in px)"
150
  msgstr "Ширина (в px)"
151
 
152
- #: gallery-plugin.php:640
153
- #: gallery-plugin.php:648
154
  msgid "Height (in px)"
155
  msgstr "Висота (в px)"
156
 
157
- #: gallery-plugin.php:644
158
  msgid "Size for gallery image"
159
  msgstr "Розмір зображення галерея"
160
 
161
- #: gallery-plugin.php:652
162
  msgid "WordPress will create a copy of the post thumbnail with the specified dimensions when you upload a new photo."
163
  msgstr "WordPress створить копію ескізу пост з заданими розмірами, коли ви завантажити нову фотографію."
164
 
165
- #: gallery-plugin.php:655
166
  msgid "Count images in row"
167
  msgstr "Кількість зображень у рядку"
168
 
169
- #: gallery-plugin.php:663
170
  msgid "Save Changes"
171
  msgstr "Зберегти зміни"
172
 
173
- #: gallery-plugin.php:675
174
  msgid "FAQ"
175
  msgstr "FAQ "
176
 
177
- #: gallery-plugin.php:676
178
  msgid "Support"
179
  msgstr "Підтримка"
180
 
181
- #: template/gallery-single-template.php:63
182
  msgid "Sorry - nothing to found."
183
  msgstr "Вибачте - нічого не знайдено."
184
 
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-24 16:31+0200\n"
6
+ "PO-Revision-Date: 2012-02-24 16:31+0200\n"
7
  "Last-Translator: BWS <zos@bestwebsoft.com>\n"
8
  "Language-Team: Ted Mosby <tmosbyd@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
16
  "X-Poedit-SourceCharset: utf-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: gallery-plugin.php:75
20
+ #: gallery-plugin.php:85
21
  msgid "Galleries"
22
  msgstr "Галереi"
23
 
24
+ #: gallery-plugin.php:76
25
+ #: gallery-plugin.php:516
26
  msgid "Gallery"
27
  msgstr "Галерея"
28
 
29
+ #: gallery-plugin.php:77
30
  msgid "Add New"
31
  msgstr "Додати новий"
32
 
33
+ #: gallery-plugin.php:78
34
  msgid "Add New Gallery"
35
  msgstr "Додати нову галерею"
36
 
37
+ #: gallery-plugin.php:79
38
  msgid "Edit Gallery"
39
  msgstr "Редагування галерея"
40
 
41
+ #: gallery-plugin.php:80
42
  msgid "New Gallery"
43
  msgstr "Нова галерея"
44
 
45
+ #: gallery-plugin.php:81
46
  msgid "View Gallery"
47
  msgstr "Перегляд галереї"
48
 
49
+ #: gallery-plugin.php:82
50
  msgid "Search Galleries"
51
  msgstr "Пошук галереї"
52
 
53
+ #: gallery-plugin.php:83
54
  msgid "No Galleries found"
55
  msgstr "Галереї, не знайдено"
56
 
57
+ #: gallery-plugin.php:132
58
  msgid "Upload File"
59
  msgstr "Завантажити файл"
60
 
61
+ #: gallery-plugin.php:145
62
  msgid "Choose a screenshot to upload:"
63
  msgstr "Вибрати скріншот, щоб завантажити:"
64
 
65
+ #: gallery-plugin.php:149
66
  msgid "Please enable JavaScript to use the file uploader."
67
  msgstr "Будь ласка Дозвольте JavaScript, щоб використовувати файл uploader."
68
 
69
+ #: gallery-plugin.php:336
70
  msgid "Title"
71
  msgstr "Назва"
72
 
73
+ #: gallery-plugin.php:337
74
  msgid "Author"
75
  msgstr "Автор "
76
 
77
+ #: gallery-plugin.php:338
78
  msgid "Photo's"
79
  msgstr "Фото "
80
 
81
+ #: gallery-plugin.php:339
82
  msgid "Public"
83
  msgstr "Громадськості"
84
 
85
+ #: gallery-plugin.php:340
86
  msgid "Date"
87
  msgstr "Дата "
88
 
89
+ #: gallery-plugin.php:485
90
  msgid "Activated plugins"
91
  msgstr "Активоване плагіни"
92
 
93
+ #: gallery-plugin.php:487
94
+ #: gallery-plugin.php:495
95
+ #: gallery-plugin.php:503
96
  msgid "Read more"
97
  msgstr "Читати далі"
98
 
99
+ #: gallery-plugin.php:487
100
+ #: gallery-plugin.php:635
101
+ #: gallery-plugin.php:650
102
  msgid "Settings"
103
  msgstr "Параметри"
104
 
105
+ #: gallery-plugin.php:493
106
  msgid "Installed plugins"
107
  msgstr "Встановлених модулів"
108
 
109
+ #: gallery-plugin.php:501
110
  msgid "Recommended plugins"
111
  msgstr "Плагіни Рекомендовані"
112
 
113
+ #: gallery-plugin.php:503
114
  msgid "Download"
115
  msgstr "Завантажити"
116
 
117
+ #: gallery-plugin.php:503
118
  #, php-format
119
  msgid "Install %s"
120
  msgstr "Установка %s"
121
 
122
+ #: gallery-plugin.php:503
123
  msgid "Install now from wordpress.org"
124
  msgstr "Установити зараз від wordpress.org"
125
 
126
+ #: gallery-plugin.php:505
127
  msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
128
  msgstr "Якщо у вас є які-небудь питання, будь ласка, зв'яжіться з нами через plugin@bestwebsoft.com або заповнити нашу контактну форму на нашому сайті"
129
 
130
+ #: gallery-plugin.php:584
131
  msgid "Options saved."
132
  msgstr "Параметри зберігаються."
133
 
134
+ #: gallery-plugin.php:591
135
  msgid "Gallery Options"
136
  msgstr "Параметри галереї"
137
 
138
+ #: gallery-plugin.php:597
139
  msgid "The size of the cover album for gallery"
140
  msgstr "Розмір обкладинки альбому для галереї"
141
 
142
+ #: gallery-plugin.php:599
143
+ #: gallery-plugin.php:607
144
  msgid "Image size name"
145
  msgstr "Ім'я розмір зображення"
146
 
147
+ #: gallery-plugin.php:600
148
+ #: gallery-plugin.php:608
149
  msgid "Width (in px)"
150
  msgstr "Ширина (в px)"
151
 
152
+ #: gallery-plugin.php:601
153
+ #: gallery-plugin.php:609
154
  msgid "Height (in px)"
155
  msgstr "Висота (в px)"
156
 
157
+ #: gallery-plugin.php:605
158
  msgid "Size for gallery image"
159
  msgstr "Розмір зображення галерея"
160
 
161
+ #: gallery-plugin.php:613
162
  msgid "WordPress will create a copy of the post thumbnail with the specified dimensions when you upload a new photo."
163
  msgstr "WordPress створить копію ескізу пост з заданими розмірами, коли ви завантажити нову фотографію."
164
 
165
+ #: gallery-plugin.php:616
166
  msgid "Count images in row"
167
  msgstr "Кількість зображень у рядку"
168
 
169
+ #: gallery-plugin.php:624
170
  msgid "Save Changes"
171
  msgstr "Зберегти зміни"
172
 
173
+ #: gallery-plugin.php:636
174
  msgid "FAQ"
175
  msgstr "FAQ "
176
 
177
+ #: gallery-plugin.php:637
178
  msgid "Support"
179
  msgstr "Підтримка"
180
 
181
+ #: template/gallery-single-template.php:64
182
  msgid "Sorry - nothing to found."
183
  msgstr "Вибачте - нічого не знайдено."
184
 
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Gallery ===
2
  Contributors: bestwebsoft
3
- Donate link: http://bestwebsoft.com/
4
- Tags: gallery, image, gallery image, album, foto, fotoalbum
5
  Requires at least: 3.0
6
  Tested up to: 3.3
7
- Stable tag: 2.07
8
 
9
  This plugin allows you to implement gallery page into web site.
10
 
@@ -31,7 +31,7 @@ This plugin makes it possible to implement as many galleries as you want into yo
31
  * French (fr_FR) (thanks Didier)
32
  * Georgian (ka_GE) (thanks Vako Patashuri)
33
  * Russian (ru_RU)
34
- * Ukrainian (ru_RU)(thanks VTed Mosby)
35
 
36
  If you create your own language pack or update the existing one, you can send <a href="http://codex.wordpress.org/Translating_WordPress" target="_blank">the text of PO and MO files</a> for <a href="http://bestwebsoft.com/" target="_blank">BWS</a> and we'll add it to the plugin. You can download the latest version of the program for work with PO and MO files <a href="http://www.poedit.net/download.php" target="_blank">Poedit</a>.
37
 
@@ -76,6 +76,10 @@ The multiple files upload is supported by all modern browsers except Internet Ex
76
 
77
  == Changelog ==
78
 
 
 
 
 
79
  = V2.07 - 17.02.2012 =
80
  * NEW : Added Ukrainian language files for plugin.
81
  * Bugfix : Problem with copying files gallery-single-template.php to theme was fixed.
@@ -111,6 +115,9 @@ The multiple files upload is supported by all modern browsers except Internet Ex
111
 
112
  == Upgrade Notice ==
113
 
 
 
 
114
  = V2.07 =
115
  Added Ukrainian language files for plugin. Problem with copying files gallery-single-template.php to theme was fixed.
116
 
1
  === Gallery ===
2
  Contributors: bestwebsoft
3
+ Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=1&product_id=13
4
+ Tags: gallery, image, gallery image, album, foto, fotoalbum, website gallery, multiple pictures, pictures, photo, photoalbum, photogallery
5
  Requires at least: 3.0
6
  Tested up to: 3.3
7
+ Stable tag: 2.08
8
 
9
  This plugin allows you to implement gallery page into web site.
10
 
31
  * French (fr_FR) (thanks Didier)
32
  * Georgian (ka_GE) (thanks Vako Patashuri)
33
  * Russian (ru_RU)
34
+ * Ukrainian (uk_UA)(thanks Ted Mosby)
35
 
36
  If you create your own language pack or update the existing one, you can send <a href="http://codex.wordpress.org/Translating_WordPress" target="_blank">the text of PO and MO files</a> for <a href="http://bestwebsoft.com/" target="_blank">BWS</a> and we'll add it to the plugin. You can download the latest version of the program for work with PO and MO files <a href="http://www.poedit.net/download.php" target="_blank">Poedit</a>.
37
 
76
 
77
  == Changelog ==
78
 
79
+ = V2.08 - 24.02.2012 =
80
+ * Change : Code to include styles and scripts in a plug for the correct SSL verification.
81
+ * Bugfix : The bug with style for image block on admin page was fixed.
82
+
83
  = V2.07 - 17.02.2012 =
84
  * NEW : Added Ukrainian language files for plugin.
85
  * Bugfix : Problem with copying files gallery-single-template.php to theme was fixed.
115
 
116
  == Upgrade Notice ==
117
 
118
+ = V2.08 =
119
+ Changed code to include styles and scripts in a plug for the correct SSL verification. The bug with style for image block on admin page was fixed.
120
+
121
  = V2.07 =
122
  Added Ukrainian language files for plugin. Problem with copying files gallery-single-template.php to theme was fixed.
123
 
template/gallery-single-template.php CHANGED
@@ -24,18 +24,19 @@
24
  "what_to_show" => "posts",
25
  "post_status" => "inherit",
26
  "post_type" => "attachment",
27
- "orderby" => "menu_order ASC, ID ASC",
 
28
  "post_mime_type"=> "image/jpeg,image/gif,image/jpg,image/png",
29
  "post_parent" => $post->ID
30
  ));
31
- if( count($posts) > 0 ) {
32
  $count_image_block = 0; ?>
33
  <div class="gallery clearfix">
34
- <?php foreach($posts as $attachment) {
35
  $key = "gllr_image_text";
36
  $image_attributes = wp_get_attachment_image_src( $attachment->ID, 'photo-thumb' );
37
  $image_attributes_large = wp_get_attachment_image_src( $attachment->ID, 'large' );
38
- if($count_image_block%$gllr_options['custom_image_row_count'] == 0) { ?>
39
  <div class="gllr_image_row">
40
  <?php } ?>
41
  <div class="gllr_image_block">
24
  "what_to_show" => "posts",
25
  "post_status" => "inherit",
26
  "post_type" => "attachment",
27
+ "orderby" => "post_date",
28
+ "order" => "ASC",
29
  "post_mime_type"=> "image/jpeg,image/gif,image/jpg,image/png",
30
  "post_parent" => $post->ID
31
  ));
32
+ if( count( $posts ) > 0 ) {
33
  $count_image_block = 0; ?>
34
  <div class="gallery clearfix">
35
+ <?php foreach( $posts as $attachment ) {
36
  $key = "gllr_image_text";
37
  $image_attributes = wp_get_attachment_image_src( $attachment->ID, 'photo-thumb' );
38
  $image_attributes_large = wp_get_attachment_image_src( $attachment->ID, 'large' );
39
+ if( $count_image_block % $gllr_options['custom_image_row_count'] == 0 ) { ?>
40
  <div class="gllr_image_row">
41
  <?php } ?>
42
  <div class="gllr_image_block">