Version Description
- 26.08.2013 =
- Update : The French language file is updated.
- Bugfix : We added replacing spaces in the file name when uploading.
Download this release
Release Info
Developer | bestwebsoft |
Plugin | Gallery by BestWebSoft |
Version | 3.9.7 |
Comparing to | |
See all releases |
Code changes from version 3.9.6 to 3.9.7
- gallery-plugin.php +236 -257
- languages/gallery-fr_FR.mo +0 -0
- languages/gallery-fr_FR.po +217 -223
- languages/gallery-sr_RS.po +0 -0
- languages/gallery-tr.mo +0 -0
- languages/gallery-tr.po +0 -0
- readme.txt +12 -2
- template/gallery-single-template.php +1 -1
- template/gallery-template.php +1 -1
gallery-plugin.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Gallery Plugin
|
|
4 |
Plugin URI: http://bestwebsoft.com/plugin/
|
5 |
Description: This plugin allows you to implement gallery page into web site.
|
6 |
Author: BestWebSoft
|
7 |
-
Version: 3.9.
|
8 |
Author URI: http://bestwebsoft.com/
|
9 |
License: GPLv2 or later
|
10 |
*/
|
@@ -25,7 +25,7 @@ License: GPLv2 or later
|
|
25 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
26 |
*/
|
27 |
|
28 |
-
if( ! function_exists( 'gllr_plugin_install' ) ) {
|
29 |
function gllr_plugin_install() {
|
30 |
$filename_1 = WP_PLUGIN_DIR .'/gallery-plugin/template/gallery-template.php';
|
31 |
$filename_2 = WP_PLUGIN_DIR .'/gallery-plugin/template/gallery-single-template.php';
|
@@ -96,10 +96,10 @@ if( ! function_exists( 'gllr_admin_error' ) ) {
|
|
96 |
function gllr_admin_error() {
|
97 |
$post = isset( $_REQUEST['post'] ) ? $_REQUEST['post'] : "" ;
|
98 |
$post_type = isset( $_REQUEST['post_type'] ) ? $_REQUEST['post_type'] : "" ;
|
99 |
-
if ( ( 'gallery' == get_post_type( $post )
|
100 |
gllr_plugin_install();
|
101 |
}
|
102 |
-
if ( ( 'gallery' == get_post_type( $post )
|
103 |
echo '<div class="error"><p><strong>'.__( 'The following files "gallery-template.php" and "gallery-single-template.php" were not found in the directory of your theme. Please copy them from the directory `/wp-content/plugins/gallery-plugin/template/` to the directory of your theme for the correct work of the Gallery plugin', 'gallery' ).'</strong></p></div>';
|
104 |
}
|
105 |
}
|
@@ -149,7 +149,7 @@ if( ! function_exists( 'post_type_images' ) ) {
|
|
149 |
}
|
150 |
}
|
151 |
|
152 |
-
if( ! function_exists( 'addImageAncestorToMenu' ) ) {
|
153 |
function addImageAncestorToMenu( $classes ) {
|
154 |
if ( is_singular( 'gallery' ) ) {
|
155 |
global $wpdb, $post;
|
@@ -167,8 +167,7 @@ if( ! function_exists( 'addImageAncestorToMenu' ) ) {
|
|
167 |
if( empty( $parent_id ) )
|
168 |
return $classes;
|
169 |
$post_ancestors = array( $parent_id );
|
170 |
-
}
|
171 |
-
else {
|
172 |
$post_ancestors = $post->ancestors;
|
173 |
}
|
174 |
|
@@ -188,9 +187,11 @@ if( ! function_exists( 'addImageAncestorToMenu' ) ) {
|
|
188 |
}
|
189 |
}
|
190 |
|
191 |
-
|
192 |
-
|
193 |
-
|
|
|
|
|
194 |
}
|
195 |
|
196 |
// Create custom meta box for portfolio post type
|
@@ -205,7 +206,7 @@ if ( ! function_exists( 'gllr_post_custom_box' ) ) {
|
|
205 |
$uploader = true;
|
206 |
|
207 |
$post_types = get_post_types( array( '_builtin' => false ) );
|
208 |
-
if( ! is_writable ( plugin_dir_path( __FILE__ ) ."upload/files/" ) ) {
|
209 |
$error = __( "The gallery temp directory (gallery-plugin/upload/files) is not available for record on your webserver. Please use the standard WP functionality to upload images (media library)", 'gallery' );
|
210 |
$uploader = false;
|
211 |
}
|
@@ -235,10 +236,9 @@ if ( ! function_exists( 'gllr_post_custom_box' ) ) {
|
|
235 |
action: '../wp-admin/admin-ajax.php?action=upload_gallery_image',
|
236 |
debug: false,
|
237 |
onComplete: function( id, fileName, result ) {
|
238 |
-
if(result.error) {
|
239 |
//
|
240 |
-
}
|
241 |
-
else {
|
242 |
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');
|
243 |
jQuery('<input type="hidden" name="undefined[]" id="undefined" value="'+fileName+'" />').appendTo('#hidden');
|
244 |
}
|
@@ -311,13 +311,13 @@ if ( ! function_exists ( 'gllr_save_postdata' ) ) {
|
|
311 |
$uploadDir = wp_upload_dir( $time );
|
312 |
|
313 |
while( list( $key, $val ) = each( $array_file_name ) ) {
|
314 |
-
$imagename = $val;
|
315 |
$uploadFile[] = $uploadDir["path"] ."/" . $imagename;
|
316 |
}
|
317 |
reset( $array_file_name );
|
318 |
require_once( ABSPATH . 'wp-admin/includes/image.php' );
|
319 |
while( list( $key, $val ) = each( $array_file_name ) ) {
|
320 |
-
$file_name = $val;
|
321 |
if( file_exists( $uploadFile[$key] ) ){
|
322 |
$uploadFile[$key] = $uploadDir["path"] ."/" . pathinfo( $uploadFile[$key], PATHINFO_FILENAME ).uniqid().".".pathinfo( $uploadFile[$key], PATHINFO_EXTENSION );
|
323 |
}
|
@@ -354,21 +354,20 @@ if ( ! function_exists ( 'gllr_save_postdata' ) ) {
|
|
354 |
if( isset( $_REQUEST['gllr_image_text'] ) ) {
|
355 |
$posts = get_posts( array(
|
356 |
"showposts" => -1,
|
357 |
-
"what_to_show"
|
358 |
"post_status" => "inherit",
|
359 |
"post_type" => "attachment",
|
360 |
-
"orderby"
|
361 |
-
"order"
|
362 |
-
"post_mime_type"=> "image/jpeg,image/gif,image/jpg,image/png",
|
363 |
"post_parent" => $post->ID ));
|
364 |
foreach ( $posts as $page ) {
|
365 |
if( isset( $_REQUEST['gllr_image_text'][$page->ID] ) ) {
|
366 |
$value = $_REQUEST['gllr_image_text'][$page->ID];
|
367 |
-
if( get_post_meta( $page->ID, $key, FALSE ) ) {
|
368 |
// Custom field has a value and this custom field exists in database
|
369 |
update_post_meta( $page->ID, $key, $value );
|
370 |
-
}
|
371 |
-
elseif( $value ) {
|
372 |
// Custom field has a value, but this custom field does not exist in database
|
373 |
add_post_meta( $page->ID, $key, $value );
|
374 |
}
|
@@ -383,38 +382,35 @@ if ( ! function_exists ( 'gllr_save_postdata' ) ) {
|
|
383 |
if( isset( $_REQUEST['gllr_link_url'] ) ) {
|
384 |
$posts = get_posts( array(
|
385 |
"showposts" => -1,
|
386 |
-
"what_to_show"
|
387 |
"post_status" => "inherit",
|
388 |
"post_type" => "attachment",
|
389 |
-
"orderby"
|
390 |
-
"order"
|
391 |
-
"post_mime_type"=> "image/jpeg,image/gif,image/jpg,image/png",
|
392 |
"post_parent" => $post->ID ));
|
393 |
foreach ( $posts as $page ) {
|
394 |
if( isset( $_REQUEST['gllr_link_url'][$page->ID] ) ) {
|
395 |
$value = $_REQUEST['gllr_link_url'][$page->ID];
|
396 |
-
if( get_post_meta( $page->ID, $link_key, FALSE ) ) {
|
397 |
// Custom field has a value and this custom field exists in database
|
398 |
update_post_meta( $page->ID, $link_key, $value );
|
399 |
-
}
|
400 |
-
elseif( $value ) {
|
401 |
// Custom field has a value, but this custom field does not exist in database
|
402 |
add_post_meta( $page->ID, $link_key, $value );
|
403 |
}
|
404 |
}
|
405 |
}
|
406 |
}
|
407 |
-
if( isset( $_REQUEST['gllr_download_link'] ) ){
|
408 |
-
if( get_post_meta( $post_id, 'gllr_download_link', FALSE ) ) {
|
409 |
// Custom field has a value and this custom field exists in database
|
410 |
update_post_meta( $post_id, 'gllr_download_link', 1 );
|
411 |
-
}
|
412 |
-
else {
|
413 |
// Custom field has a value, but this custom field does not exist in database
|
414 |
add_post_meta( $post_id, 'gllr_download_link', 1 );
|
415 |
}
|
416 |
-
}
|
417 |
-
else{
|
418 |
delete_post_meta( $post_id, 'gllr_download_link' );
|
419 |
}
|
420 |
}
|
@@ -422,12 +418,12 @@ if ( ! function_exists ( 'gllr_save_postdata' ) ) {
|
|
422 |
|
423 |
if ( ! function_exists ( 'gllr_plugin_init' ) ) {
|
424 |
function gllr_plugin_init() {
|
425 |
-
|
426 |
load_plugin_textdomain( 'gallery', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
427 |
}
|
428 |
}
|
429 |
|
430 |
-
if( ! function_exists( 'gllr_custom_permalinks' ) ) {
|
431 |
function gllr_custom_permalinks( $rules ) {
|
432 |
$newrules = array();
|
433 |
if ( ! isset( $rules['(.+)/gallery/([^/]+)/?$'] ) || ! isset( $rules['/gallery/([^/]+)/?$'] ) ) {
|
@@ -452,19 +448,19 @@ if( ! function_exists( 'gllr_custom_permalinks' ) ) {
|
|
452 |
|
453 |
// flush_rules() if our rules are not yet included
|
454 |
if ( ! function_exists( 'gllr_flush_rules' ) ) {
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
}
|
461 |
}
|
|
|
462 |
}
|
463 |
|
464 |
if ( ! function_exists( 'gllr_template_redirect' ) ) {
|
465 |
function gllr_template_redirect() {
|
466 |
global $wp_query, $post, $posts;
|
467 |
-
if( 'gallery' == get_post_type() && "" == $wp_query->query_vars["s"] ) {
|
468 |
include( STYLESHEETPATH . '/gallery-single-template.php' );
|
469 |
exit();
|
470 |
}
|
@@ -475,10 +471,10 @@ if ( ! function_exists( 'gllr_template_redirect' ) ) {
|
|
475 |
if ( ! function_exists( 'gllr_change_columns' ) ) {
|
476 |
function gllr_change_columns( $cols ) {
|
477 |
$cols = array(
|
478 |
-
'cb'
|
479 |
'title' => __( 'Title', 'gallery' ),
|
480 |
'autor' => __( 'Author', 'gallery' ),
|
481 |
-
'gallery'
|
482 |
'status' => __( 'Publishing', 'gallery' ),
|
483 |
'dates' => __( 'Date', 'gallery' )
|
484 |
);
|
@@ -522,21 +518,20 @@ if ( ! function_exists( 'gllr_custom_columns' ) ) {
|
|
522 |
|
523 |
if ( ! function_exists( 'get_ID_by_slug' ) ) {
|
524 |
function get_ID_by_slug( $page_slug ) {
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
}
|
532 |
}
|
533 |
}
|
534 |
|
535 |
-
if( ! function_exists( 'the_excerpt_max_charlength' ) ) {
|
536 |
function the_excerpt_max_charlength( $charlength ) {
|
537 |
$excerpt = get_the_excerpt();
|
538 |
$charlength ++;
|
539 |
-
if( strlen( $excerpt ) > $charlength ) {
|
540 |
$subex = substr( $excerpt, 0, $charlength-5 );
|
541 |
$exwords = explode( " ", $subex );
|
542 |
$excut = - ( strlen ( $exwords [ count( $exwords ) - 1 ] ) );
|
@@ -547,14 +542,13 @@ if( ! function_exists( 'the_excerpt_max_charlength' ) ) {
|
|
547 |
echo $subex;
|
548 |
}
|
549 |
echo "...";
|
550 |
-
}
|
551 |
-
else {
|
552 |
echo $excerpt;
|
553 |
}
|
554 |
}
|
555 |
}
|
556 |
|
557 |
-
if( ! function_exists( 'gllr_page_css_class' ) ) {
|
558 |
function gllr_page_css_class( $classes, $item ) {
|
559 |
global $wpdb;
|
560 |
$post_type = get_query_var( 'post_type' );
|
@@ -604,7 +598,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
|
604 |
array( 'updater\/updater.php', 'Updater', 'http://bestwebsoft.com/plugin/updater-plugin/', 'http://bestwebsoft.com/plugin/updater-plugin/#download', '/wp-admin/plugin-install.php?tab=search&s=updater+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=updater-options' )
|
605 |
);
|
606 |
foreach ( $array_plugins as $plugins ) {
|
607 |
-
if( 0 < count( preg_grep( "/".$plugins[0]."/", $active_plugins ) ) ) {
|
608 |
$array_activate[$count_activate]["title"] = $plugins[1];
|
609 |
$array_activate[$count_activate]["link"] = $plugins[2];
|
610 |
$array_activate[$count_activate]["href"] = $plugins[3];
|
@@ -629,10 +623,11 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
|
629 |
$count_activate_pro = $count_install_pro = $count_recomend_pro = 0;
|
630 |
$array_plugins_pro = array(
|
631 |
array( 'gallery-plugin-pro\/gallery-plugin-pro.php', 'Gallery Pro', 'http://bestwebsoft.com/plugin/gallery-pro/?k=382e5ce7c96a6391f5ffa5e116b37fe0', 'http://bestwebsoft.com/plugin/gallery-pro/?k=382e5ce7c96a6391f5ffa5e116b37fe0#purchase', 'admin.php?page=gallery-plugin-pro.php' ),
|
632 |
-
array( 'contact-form-pro\/contact_form_pro.php', 'Contact Form Pro', 'http://bestwebsoft.com/plugin/contact-form-pro/?k=773dc97bb3551975db0e32edca1a6d71', 'http://bestwebsoft.com/plugin/contact-form-pro/?k=773dc97bb3551975db0e32edca1a6d71#purchase', 'admin.php?page=contact_form_pro.php' )
|
|
|
633 |
);
|
634 |
foreach ( $array_plugins_pro as $plugins ) {
|
635 |
-
if( 0 < count( preg_grep( "/".$plugins[0]."/", $active_plugins ) ) ) {
|
636 |
$array_activate_pro[$count_activate_pro]["title"] = $plugins[1];
|
637 |
$array_activate_pro[$count_activate_pro]["link"] = $plugins[2];
|
638 |
$array_activate_pro[$count_activate_pro]["href"] = $plugins[3];
|
@@ -937,41 +932,40 @@ if( ! function_exists( 'register_gllr_settings' ) ) {
|
|
937 |
//var_dump($wp_filesystem);
|
938 |
|
939 |
$gllr_option_defaults = array(
|
940 |
-
'gllr_custom_size_name'
|
941 |
'gllr_custom_size_px' => array( array( 120, 80 ), array( 160, 120 ) ),
|
942 |
-
'border_images'
|
943 |
'border_images_width' => 10,
|
944 |
'border_images_color' => '#F1F1F1',
|
945 |
-
'custom_image_row_count'
|
946 |
-
'start_slideshow'
|
947 |
'slideshow_interval' => 2000,
|
948 |
-
'order_by'
|
949 |
-
'order'
|
950 |
'read_more_link_text' => __( 'See images »', 'gallery' ),
|
951 |
-
'image_text'
|
952 |
-
'return_link'
|
953 |
'return_link_text' => 'Return to all albums',
|
954 |
'return_link_page' => 'gallery_template_url',
|
955 |
-
'return_link_url'
|
956 |
-
'return_link_shortcode'
|
957 |
);
|
958 |
|
959 |
// install the option defaults
|
960 |
if ( 1 == $wpmu ) {
|
961 |
-
if( ! get_site_option( 'gllr_options' ) ) {
|
962 |
add_site_option( 'gllr_options', $gllr_option_defaults, '', 'yes' );
|
963 |
}
|
964 |
-
}
|
965 |
-
|
966 |
-
if( ! get_option( 'gllr_options' ) )
|
967 |
add_option( 'gllr_options', $gllr_option_defaults, '', 'yes' );
|
968 |
}
|
969 |
|
970 |
// get options from the database
|
971 |
if ( 1 == $wpmu )
|
972 |
-
|
973 |
else
|
974 |
-
|
975 |
|
976 |
// array merge incase this version has added new options
|
977 |
$gllr_options = array_merge( $gllr_option_defaults, $gllr_options );
|
@@ -1000,10 +994,7 @@ if( ! function_exists( 'gllr_settings_page' ) ) {
|
|
1000 |
array( intval( trim( $_REQUEST['gllr_custom_image_size_w_photo'] ) ), intval( trim( $_REQUEST['gllr_custom_image_size_h_photo'] ) ) )
|
1001 |
);
|
1002 |
|
1003 |
-
|
1004 |
-
$gllr_request_options["border_images"] = 1;
|
1005 |
-
else
|
1006 |
-
$gllr_request_options["border_images"] = 0;
|
1007 |
|
1008 |
$gllr_request_options["border_images_width"] = intval( trim( $_REQUEST['gllr_border_images_width'] ) );
|
1009 |
$gllr_request_options["border_images_color"] = trim( $_REQUEST['gllr_border_images_color'] );
|
@@ -1012,31 +1003,19 @@ if( ! function_exists( 'gllr_settings_page' ) ) {
|
|
1012 |
if( $gllr_request_options["custom_image_row_count"] == "" || $gllr_request_options["custom_image_row_count"] < 1 )
|
1013 |
$gllr_request_options["custom_image_row_count"] = 1;
|
1014 |
|
1015 |
-
|
1016 |
-
|
1017 |
-
else
|
1018 |
-
$gllr_request_options["start_slideshow"] = 0;
|
1019 |
$gllr_request_options["slideshow_interval"] = $_REQUEST['gllr_slideshow_interval'];
|
1020 |
$gllr_request_options["order_by"] = $_REQUEST['gllr_order_by'];
|
1021 |
$gllr_request_options["order"] = $_REQUEST['gllr_order'];
|
1022 |
|
1023 |
-
|
1024 |
-
|
1025 |
-
else
|
1026 |
-
$gllr_request_options["image_text"] = 0;
|
1027 |
-
|
1028 |
-
if( isset( $_REQUEST['gllr_return_link'] ) )
|
1029 |
-
$gllr_request_options["return_link"] = 1;
|
1030 |
-
else
|
1031 |
-
$gllr_request_options["return_link"] = 0;
|
1032 |
|
1033 |
$gllr_request_options["return_link_page"] = $_REQUEST['gllr_return_link_page'];
|
1034 |
$gllr_request_options["return_link_url"] = strpos( $_REQUEST['gllr_return_link_url'], "http:" ) !== false ? trim( $_REQUEST['gllr_return_link_url'] ) : 'http://'.trim( $_REQUEST['gllr_return_link_url'] );
|
1035 |
|
1036 |
-
|
1037 |
-
$gllr_request_options["return_link_shortcode"] = 1;
|
1038 |
-
else
|
1039 |
-
$gllr_request_options["return_link_shortcode"] = 0;
|
1040 |
|
1041 |
$gllr_request_options["return_link_text"] = $_REQUEST['gllr_return_link_text'];
|
1042 |
$gllr_request_options["read_more_link_text"] = $_REQUEST['gllr_read_more_link_text'];
|
@@ -1050,7 +1029,7 @@ if( ! function_exists( 'gllr_settings_page' ) ) {
|
|
1050 |
}
|
1051 |
|
1052 |
if ( ! file_exists( get_stylesheet_directory() .'/gallery-template.php' ) || ! file_exists( get_stylesheet_directory() .'/gallery-single-template.php' ) ) {
|
1053 |
-
|
1054 |
}
|
1055 |
if ( ! file_exists( get_stylesheet_directory() .'/gallery-template.php' ) || ! file_exists( get_stylesheet_directory() .'/gallery-single-template.php' ) ) {
|
1056 |
$error .= __( 'The following files "gallery-template.php" and "gallery-single-template.php" were not found in the directory of your theme. Please copy them from the directory `/wp-content/plugins/gallery-plugin/template/` to the directory of your theme for the correct work of the Gallery plugin', 'gallery' );
|
@@ -1250,7 +1229,7 @@ if( ! function_exists( 'gllr_settings_page' ) ) {
|
|
1250 |
<?php }
|
1251 |
}
|
1252 |
|
1253 |
-
if( ! function_exists( 'gllr_register_plugin_links' ) ) {
|
1254 |
function gllr_register_plugin_links( $links, $file ) {
|
1255 |
$base = plugin_basename( __FILE__ );
|
1256 |
if ( $file == $base ) {
|
@@ -1262,7 +1241,7 @@ if( ! function_exists( 'gllr_register_plugin_links' ) ) {
|
|
1262 |
}
|
1263 |
}
|
1264 |
|
1265 |
-
if( ! function_exists( 'gllr_plugin_action_links' ) ) {
|
1266 |
function gllr_plugin_action_links( $links, $file ) {
|
1267 |
//Static so we don't call plugin_basename on every plugin row.
|
1268 |
static $this_plugin;
|
@@ -1280,7 +1259,7 @@ if ( ! function_exists ( 'gllr_add_admin_script' ) ) {
|
|
1280 |
function gllr_add_admin_script() {
|
1281 |
global $wp_version;
|
1282 |
|
1283 |
-
if( $wp_version >= 3.5 && isset( $_REQUEST['page'] ) && $_REQUEST['page'] == 'gallery-plugin.php' ) { ?>
|
1284 |
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo plugins_url( 'minicolors/jquery.miniColors.css', __FILE__ ); ?>" />
|
1285 |
<script type="text/javascript" src="<?php echo plugins_url( 'minicolors/jquery.miniColors.js', __FILE__ ); ?>"></script>
|
1286 |
<?php } ?>
|
@@ -1336,7 +1315,7 @@ if ( ! function_exists ( 'gllr_admin_head' ) ) {
|
|
1336 |
wp_enqueue_style( 'gllrFileuploaderCss', plugins_url( 'upload/fileuploader.css', __FILE__ ) );
|
1337 |
wp_enqueue_style( 'farbtastic' );
|
1338 |
wp_enqueue_script( 'jquery' );
|
1339 |
-
if( $wp_version < 3.5 ) {
|
1340 |
wp_enqueue_script( 'farbtastic' );
|
1341 |
}
|
1342 |
wp_enqueue_script( 'jquery-ui-sortable' );
|
@@ -1505,168 +1484,168 @@ if ( ! function_exists ( 'gllr_shortcode' ) ) {
|
|
1505 |
}
|
1506 |
}
|
1507 |
|
1508 |
-
if( ! function_exists( 'upload_gallery_image' ) ){
|
1509 |
-
|
1510 |
-
|
1511 |
-
|
1512 |
-
|
1513 |
-
|
1514 |
-
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
|
1522 |
-
|
1523 |
-
}
|
1524 |
-
|
1525 |
-
$target = fopen( $path, "w" );
|
1526 |
-
fseek( $temp, 0, SEEK_SET );
|
1527 |
-
stream_copy_to_stream( $temp, $target );
|
1528 |
-
fclose( $target );
|
1529 |
-
|
1530 |
-
return true;
|
1531 |
-
}
|
1532 |
-
function getName() {
|
1533 |
-
return $_GET['qqfile'];
|
1534 |
}
|
1535 |
-
|
1536 |
-
|
1537 |
-
|
1538 |
-
|
1539 |
-
|
1540 |
-
|
1541 |
-
|
1542 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1543 |
|
|
|
|
|
|
|
|
|
1544 |
/**
|
1545 |
-
*
|
|
|
1546 |
*/
|
1547 |
-
|
1548 |
-
|
1549 |
-
|
1550 |
-
|
1551 |
-
|
1552 |
-
function save($path) {
|
1553 |
-
if( ! move_uploaded_file( $_FILES['qqfile']['tmp_name'], $path ) ){
|
1554 |
-
return false;
|
1555 |
-
}
|
1556 |
-
return true;
|
1557 |
-
}
|
1558 |
-
function getName() {
|
1559 |
-
return $_FILES['qqfile']['name'];
|
1560 |
-
}
|
1561 |
-
function getSize() {
|
1562 |
-
return $_FILES['qqfile']['size'];
|
1563 |
-
}
|
1564 |
}
|
1565 |
-
|
1566 |
-
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
function __construct( array $allowedExtensions = array(), $sizeLimit = 10485760 ){
|
1572 |
-
$allowedExtensions = array_map( "strtolower", $allowedExtensions );
|
1573 |
-
|
1574 |
-
$this->allowedExtensions = $allowedExtensions;
|
1575 |
-
$this->sizeLimit = $sizeLimit;
|
1576 |
-
|
1577 |
-
//$this->checkServerSettings();
|
1578 |
-
|
1579 |
-
if ( isset( $_GET['qqfile'] ) ) {
|
1580 |
-
$this->file = new qqUploadedFileXhr();
|
1581 |
-
} elseif ( isset( $_FILES['qqfile'] ) ) {
|
1582 |
-
$this->file = new qqUploadedFileForm();
|
1583 |
-
} else {
|
1584 |
-
$this->file = false;
|
1585 |
-
}
|
1586 |
-
}
|
1587 |
-
|
1588 |
-
private function checkServerSettings(){
|
1589 |
-
$postSize = $this->toBytes( ini_get( 'post_max_size' ) );
|
1590 |
-
$uploadSize = $this->toBytes( ini_get( 'upload_max_filesize' ) );
|
1591 |
-
|
1592 |
-
if ($postSize < $this->sizeLimit || $uploadSize < $this->sizeLimit){
|
1593 |
-
$size = max( 1, $this->sizeLimit / 1024 / 1024 ) . 'M';
|
1594 |
-
die( "{error:'increase post_max_size and upload_max_filesize to $size'}" );
|
1595 |
-
}
|
1596 |
-
}
|
1597 |
-
|
1598 |
-
private function toBytes( $str ){
|
1599 |
-
$val = trim( $str );
|
1600 |
-
$last = strtolower( $str[strlen( $str )-1] );
|
1601 |
-
switch( $last ) {
|
1602 |
-
case 'g': $val *= 1024;
|
1603 |
-
case 'm': $val *= 1024;
|
1604 |
-
case 'k': $val *= 1024;
|
1605 |
-
}
|
1606 |
-
return $val;
|
1607 |
-
}
|
1608 |
-
|
1609 |
-
/**
|
1610 |
-
* Returns array('success'=>true) or array('error'=>'error message')
|
1611 |
-
*/
|
1612 |
-
function handleUpload( $uploadDirectory, $replaceOldFile = FALSE ){
|
1613 |
-
if ( ! is_writable( $uploadDirectory ) ){
|
1614 |
-
return "{error:'Server error. Upload directory isn't writable.'}";
|
1615 |
-
}
|
1616 |
-
|
1617 |
-
if ( ! $this->file ){
|
1618 |
-
return "{error:'No files were uploaded.'}";
|
1619 |
-
}
|
1620 |
-
|
1621 |
-
$size = $this->file->getSize();
|
1622 |
-
|
1623 |
-
if ( $size == 0 ) {
|
1624 |
-
return "{error:'File is empty'}";
|
1625 |
-
}
|
1626 |
-
|
1627 |
-
if ( $size > $this->sizeLimit ) {
|
1628 |
-
return "{error:'File is too large'}";
|
1629 |
-
}
|
1630 |
-
|
1631 |
-
$pathinfo = pathinfo( $this->file->getName() );
|
1632 |
-
$ext = $pathinfo['extension'];
|
1633 |
-
$filename = str_replace( ".".$ext, "", $pathinfo['basename'] );
|
1634 |
-
//$filename = md5(uniqid());
|
1635 |
-
|
1636 |
-
if( $this->allowedExtensions && ! in_array( strtolower( $ext ), $this->allowedExtensions ) ){
|
1637 |
-
$these = implode( ', ', $this->allowedExtensions );
|
1638 |
-
return "{error:'File has an invalid extension, it should be one of $these .'}";
|
1639 |
-
}
|
1640 |
-
|
1641 |
-
if( ! $replaceOldFile ){
|
1642 |
-
/// don't overwrite previous files that were uploaded
|
1643 |
-
while ( file_exists( $uploadDirectory . $filename . '.' . $ext ) ) {
|
1644 |
-
$filename .= rand( 10, 99 );
|
1645 |
-
}
|
1646 |
-
}
|
1647 |
-
|
1648 |
-
if ( $this->file->save( $uploadDirectory . $filename . '.' . $ext ) ){
|
1649 |
-
list( $width, $height, $type, $attr ) = getimagesize( $uploadDirectory . $filename . '.' . $ext );
|
1650 |
-
return "{success:true,width:".$width.",height:".$height."}";
|
1651 |
-
} else {
|
1652 |
-
return "{error:'Could not save uploaded file. The upload was cancelled, or server error encountered'}";
|
1653 |
-
}
|
1654 |
-
|
1655 |
-
}
|
1656 |
}
|
|
|
1657 |
|
1658 |
-
|
1659 |
-
$allowedExtensions = array(
|
1660 |
-
|
1661 |
-
$
|
1662 |
|
1663 |
-
$
|
1664 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1665 |
|
1666 |
-
|
1667 |
-
|
1668 |
-
|
|
|
|
|
|
|
|
|
|
|
1669 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1670 |
}
|
1671 |
|
1672 |
if( ! function_exists( 'gllr_add_for_ios' ) ) {
|
@@ -1691,7 +1670,7 @@ if ( ! function_exists ( 'gllr_plugin_banner' ) ) {
|
|
1691 |
global $hook_suffix;
|
1692 |
if ( $hook_suffix == 'plugins.php' ) {
|
1693 |
echo '<div class="updated" style="padding: 0; margin: 0; border: none; background: none;">
|
1694 |
-
<script type="text/javascript" src="'.plugins_url( 'js/jquery.cookie.js', __FILE__ ).'"></script>
|
1695 |
<script type="text/javascript">
|
1696 |
(function($){
|
1697 |
$(document).ready(function(){
|
4 |
Plugin URI: http://bestwebsoft.com/plugin/
|
5 |
Description: This plugin allows you to implement gallery page into web site.
|
6 |
Author: BestWebSoft
|
7 |
+
Version: 3.9.7
|
8 |
Author URI: http://bestwebsoft.com/
|
9 |
License: GPLv2 or later
|
10 |
*/
|
25 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
26 |
*/
|
27 |
|
28 |
+
if ( ! function_exists( 'gllr_plugin_install' ) ) {
|
29 |
function gllr_plugin_install() {
|
30 |
$filename_1 = WP_PLUGIN_DIR .'/gallery-plugin/template/gallery-template.php';
|
31 |
$filename_2 = WP_PLUGIN_DIR .'/gallery-plugin/template/gallery-single-template.php';
|
96 |
function gllr_admin_error() {
|
97 |
$post = isset( $_REQUEST['post'] ) ? $_REQUEST['post'] : "" ;
|
98 |
$post_type = isset( $_REQUEST['post_type'] ) ? $_REQUEST['post_type'] : "" ;
|
99 |
+
if ( ( 'gallery' == get_post_type( $post ) || 'gallery' == $post_type ) && ( ! file_exists( get_stylesheet_directory() .'/gallery-template.php' ) || ! file_exists( get_stylesheet_directory() .'/gallery-single-template.php' ) ) ) {
|
100 |
gllr_plugin_install();
|
101 |
}
|
102 |
+
if ( ( 'gallery' == get_post_type( $post ) || 'gallery' == $post_type ) && ( ! file_exists( get_stylesheet_directory() .'/gallery-template.php' ) || ! file_exists( get_stylesheet_directory() .'/gallery-single-template.php' ) ) ) {
|
103 |
echo '<div class="error"><p><strong>'.__( 'The following files "gallery-template.php" and "gallery-single-template.php" were not found in the directory of your theme. Please copy them from the directory `/wp-content/plugins/gallery-plugin/template/` to the directory of your theme for the correct work of the Gallery plugin', 'gallery' ).'</strong></p></div>';
|
104 |
}
|
105 |
}
|
149 |
}
|
150 |
}
|
151 |
|
152 |
+
if ( ! function_exists( 'addImageAncestorToMenu' ) ) {
|
153 |
function addImageAncestorToMenu( $classes ) {
|
154 |
if ( is_singular( 'gallery' ) ) {
|
155 |
global $wpdb, $post;
|
167 |
if( empty( $parent_id ) )
|
168 |
return $classes;
|
169 |
$post_ancestors = array( $parent_id );
|
170 |
+
} else {
|
|
|
171 |
$post_ancestors = $post->ancestors;
|
172 |
}
|
173 |
|
187 |
}
|
188 |
}
|
189 |
|
190 |
+
if ( ! function_exists( 'init_metaboxes_gallery' ) ) {
|
191 |
+
function init_metaboxes_gallery() {
|
192 |
+
add_meta_box( 'Upload-File', __( 'Upload File', 'gallery' ), 'gllr_post_custom_box', 'gallery', 'normal', 'high' );
|
193 |
+
add_meta_box( 'Gallery-Shortcode', __( 'Gallery Shortcode', 'gallery' ), 'gllr_post_shortcode_box', 'gallery', 'side', 'high' );
|
194 |
+
}
|
195 |
}
|
196 |
|
197 |
// Create custom meta box for portfolio post type
|
206 |
$uploader = true;
|
207 |
|
208 |
$post_types = get_post_types( array( '_builtin' => false ) );
|
209 |
+
if ( ! is_writable ( plugin_dir_path( __FILE__ ) ."upload/files/" ) ) {
|
210 |
$error = __( "The gallery temp directory (gallery-plugin/upload/files) is not available for record on your webserver. Please use the standard WP functionality to upload images (media library)", 'gallery' );
|
211 |
$uploader = false;
|
212 |
}
|
236 |
action: '../wp-admin/admin-ajax.php?action=upload_gallery_image',
|
237 |
debug: false,
|
238 |
onComplete: function( id, fileName, result ) {
|
239 |
+
if ( result.error ) {
|
240 |
//
|
241 |
+
} else {
|
|
|
242 |
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');
|
243 |
jQuery('<input type="hidden" name="undefined[]" id="undefined" value="'+fileName+'" />').appendTo('#hidden');
|
244 |
}
|
311 |
$uploadDir = wp_upload_dir( $time );
|
312 |
|
313 |
while( list( $key, $val ) = each( $array_file_name ) ) {
|
314 |
+
$imagename = sanitize_file_name( $val );
|
315 |
$uploadFile[] = $uploadDir["path"] ."/" . $imagename;
|
316 |
}
|
317 |
reset( $array_file_name );
|
318 |
require_once( ABSPATH . 'wp-admin/includes/image.php' );
|
319 |
while( list( $key, $val ) = each( $array_file_name ) ) {
|
320 |
+
$file_name = sanitize_file_name( $val );
|
321 |
if( file_exists( $uploadFile[$key] ) ){
|
322 |
$uploadFile[$key] = $uploadDir["path"] ."/" . pathinfo( $uploadFile[$key], PATHINFO_FILENAME ).uniqid().".".pathinfo( $uploadFile[$key], PATHINFO_EXTENSION );
|
323 |
}
|
354 |
if( isset( $_REQUEST['gllr_image_text'] ) ) {
|
355 |
$posts = get_posts( array(
|
356 |
"showposts" => -1,
|
357 |
+
"what_to_show" => "posts",
|
358 |
"post_status" => "inherit",
|
359 |
"post_type" => "attachment",
|
360 |
+
"orderby" => "menu_order",
|
361 |
+
"order" => "ASC",
|
362 |
+
"post_mime_type" => "image/jpeg,image/gif,image/jpg,image/png",
|
363 |
"post_parent" => $post->ID ));
|
364 |
foreach ( $posts as $page ) {
|
365 |
if( isset( $_REQUEST['gllr_image_text'][$page->ID] ) ) {
|
366 |
$value = $_REQUEST['gllr_image_text'][$page->ID];
|
367 |
+
if ( get_post_meta( $page->ID, $key, FALSE ) ) {
|
368 |
// Custom field has a value and this custom field exists in database
|
369 |
update_post_meta( $page->ID, $key, $value );
|
370 |
+
} elseif( $value ) {
|
|
|
371 |
// Custom field has a value, but this custom field does not exist in database
|
372 |
add_post_meta( $page->ID, $key, $value );
|
373 |
}
|
382 |
if( isset( $_REQUEST['gllr_link_url'] ) ) {
|
383 |
$posts = get_posts( array(
|
384 |
"showposts" => -1,
|
385 |
+
"what_to_show" => "posts",
|
386 |
"post_status" => "inherit",
|
387 |
"post_type" => "attachment",
|
388 |
+
"orderby" => "menu_order",
|
389 |
+
"order" => "ASC",
|
390 |
+
"post_mime_type" => "image/jpeg,image/gif,image/jpg,image/png",
|
391 |
"post_parent" => $post->ID ));
|
392 |
foreach ( $posts as $page ) {
|
393 |
if( isset( $_REQUEST['gllr_link_url'][$page->ID] ) ) {
|
394 |
$value = $_REQUEST['gllr_link_url'][$page->ID];
|
395 |
+
if ( get_post_meta( $page->ID, $link_key, FALSE ) ) {
|
396 |
// Custom field has a value and this custom field exists in database
|
397 |
update_post_meta( $page->ID, $link_key, $value );
|
398 |
+
} elseif( $value ) {
|
|
|
399 |
// Custom field has a value, but this custom field does not exist in database
|
400 |
add_post_meta( $page->ID, $link_key, $value );
|
401 |
}
|
402 |
}
|
403 |
}
|
404 |
}
|
405 |
+
if ( isset( $_REQUEST['gllr_download_link'] ) ) {
|
406 |
+
if ( get_post_meta( $post_id, 'gllr_download_link', FALSE ) ) {
|
407 |
// Custom field has a value and this custom field exists in database
|
408 |
update_post_meta( $post_id, 'gllr_download_link', 1 );
|
409 |
+
} else {
|
|
|
410 |
// Custom field has a value, but this custom field does not exist in database
|
411 |
add_post_meta( $post_id, 'gllr_download_link', 1 );
|
412 |
}
|
413 |
+
} else {
|
|
|
414 |
delete_post_meta( $post_id, 'gllr_download_link' );
|
415 |
}
|
416 |
}
|
418 |
|
419 |
if ( ! function_exists ( 'gllr_plugin_init' ) ) {
|
420 |
function gllr_plugin_init() {
|
421 |
+
// Internationalization, first(!)
|
422 |
load_plugin_textdomain( 'gallery', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
423 |
}
|
424 |
}
|
425 |
|
426 |
+
if ( ! function_exists( 'gllr_custom_permalinks' ) ) {
|
427 |
function gllr_custom_permalinks( $rules ) {
|
428 |
$newrules = array();
|
429 |
if ( ! isset( $rules['(.+)/gallery/([^/]+)/?$'] ) || ! isset( $rules['/gallery/([^/]+)/?$'] ) ) {
|
448 |
|
449 |
// flush_rules() if our rules are not yet included
|
450 |
if ( ! function_exists( 'gllr_flush_rules' ) ) {
|
451 |
+
function gllr_flush_rules(){
|
452 |
+
$rules = get_option( 'rewrite_rules' );
|
453 |
+
if ( ! isset( $rules['(.+)/gallery/([^/]+)/?$'] ) || ! isset( $rules['/gallery/([^/]+)/?$'] ) ) {
|
454 |
+
global $wp_rewrite;
|
455 |
+
$wp_rewrite->flush_rules();
|
|
|
456 |
}
|
457 |
+
}
|
458 |
}
|
459 |
|
460 |
if ( ! function_exists( 'gllr_template_redirect' ) ) {
|
461 |
function gllr_template_redirect() {
|
462 |
global $wp_query, $post, $posts;
|
463 |
+
if ( 'gallery' == get_post_type() && "" == $wp_query->query_vars["s"] ) {
|
464 |
include( STYLESHEETPATH . '/gallery-single-template.php' );
|
465 |
exit();
|
466 |
}
|
471 |
if ( ! function_exists( 'gllr_change_columns' ) ) {
|
472 |
function gllr_change_columns( $cols ) {
|
473 |
$cols = array(
|
474 |
+
'cb' => '<input type="checkbox" />',
|
475 |
'title' => __( 'Title', 'gallery' ),
|
476 |
'autor' => __( 'Author', 'gallery' ),
|
477 |
+
'gallery' => __( 'Photo', 'gallery' ),
|
478 |
'status' => __( 'Publishing', 'gallery' ),
|
479 |
'dates' => __( 'Date', 'gallery' )
|
480 |
);
|
518 |
|
519 |
if ( ! function_exists( 'get_ID_by_slug' ) ) {
|
520 |
function get_ID_by_slug( $page_slug ) {
|
521 |
+
$page = get_page_by_path( $page_slug );
|
522 |
+
if ( $page ) {
|
523 |
+
return $page->ID;
|
524 |
+
} else {
|
525 |
+
return null;
|
526 |
+
}
|
|
|
527 |
}
|
528 |
}
|
529 |
|
530 |
+
if ( ! function_exists( 'the_excerpt_max_charlength' ) ) {
|
531 |
function the_excerpt_max_charlength( $charlength ) {
|
532 |
$excerpt = get_the_excerpt();
|
533 |
$charlength ++;
|
534 |
+
if ( strlen( $excerpt ) > $charlength ) {
|
535 |
$subex = substr( $excerpt, 0, $charlength-5 );
|
536 |
$exwords = explode( " ", $subex );
|
537 |
$excut = - ( strlen ( $exwords [ count( $exwords ) - 1 ] ) );
|
542 |
echo $subex;
|
543 |
}
|
544 |
echo "...";
|
545 |
+
} else {
|
|
|
546 |
echo $excerpt;
|
547 |
}
|
548 |
}
|
549 |
}
|
550 |
|
551 |
+
if ( ! function_exists( 'gllr_page_css_class' ) ) {
|
552 |
function gllr_page_css_class( $classes, $item ) {
|
553 |
global $wpdb;
|
554 |
$post_type = get_query_var( 'post_type' );
|
598 |
array( 'updater\/updater.php', 'Updater', 'http://bestwebsoft.com/plugin/updater-plugin/', 'http://bestwebsoft.com/plugin/updater-plugin/#download', '/wp-admin/plugin-install.php?tab=search&s=updater+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=updater-options' )
|
599 |
);
|
600 |
foreach ( $array_plugins as $plugins ) {
|
601 |
+
if ( 0 < count( preg_grep( "/".$plugins[0]."/", $active_plugins ) ) ) {
|
602 |
$array_activate[$count_activate]["title"] = $plugins[1];
|
603 |
$array_activate[$count_activate]["link"] = $plugins[2];
|
604 |
$array_activate[$count_activate]["href"] = $plugins[3];
|
623 |
$count_activate_pro = $count_install_pro = $count_recomend_pro = 0;
|
624 |
$array_plugins_pro = array(
|
625 |
array( 'gallery-plugin-pro\/gallery-plugin-pro.php', 'Gallery Pro', 'http://bestwebsoft.com/plugin/gallery-pro/?k=382e5ce7c96a6391f5ffa5e116b37fe0', 'http://bestwebsoft.com/plugin/gallery-pro/?k=382e5ce7c96a6391f5ffa5e116b37fe0#purchase', 'admin.php?page=gallery-plugin-pro.php' ),
|
626 |
+
array( 'contact-form-pro\/contact_form_pro.php', 'Contact Form Pro', 'http://bestwebsoft.com/plugin/contact-form-pro/?k=773dc97bb3551975db0e32edca1a6d71', 'http://bestwebsoft.com/plugin/contact-form-pro/?k=773dc97bb3551975db0e32edca1a6d71#purchase', 'admin.php?page=contact_form_pro.php' ),
|
627 |
+
array( 'captcha-pro\/captcha_pro.php', 'Captcha Pro', 'http://bestwebsoft.com/plugin/captcha-pro/?k=ff7d65e55e5e7f98f219be9ed711094e', 'http://bestwebsoft.com/plugin/captcha-pro/?k=ff7d65e55e5e7f98f219be9ed711094e#purchase', 'admin.php?page=captcha_pro.php' )
|
628 |
);
|
629 |
foreach ( $array_plugins_pro as $plugins ) {
|
630 |
+
if ( 0 < count( preg_grep( "/".$plugins[0]."/", $active_plugins ) ) ) {
|
631 |
$array_activate_pro[$count_activate_pro]["title"] = $plugins[1];
|
632 |
$array_activate_pro[$count_activate_pro]["link"] = $plugins[2];
|
633 |
$array_activate_pro[$count_activate_pro]["href"] = $plugins[3];
|
932 |
//var_dump($wp_filesystem);
|
933 |
|
934 |
$gllr_option_defaults = array(
|
935 |
+
'gllr_custom_size_name' => array( 'album-thumb', 'photo-thumb' ),
|
936 |
'gllr_custom_size_px' => array( array( 120, 80 ), array( 160, 120 ) ),
|
937 |
+
'border_images' => 1,
|
938 |
'border_images_width' => 10,
|
939 |
'border_images_color' => '#F1F1F1',
|
940 |
+
'custom_image_row_count' => 3,
|
941 |
+
'start_slideshow' => 0,
|
942 |
'slideshow_interval' => 2000,
|
943 |
+
'order_by' => 'menu_order',
|
944 |
+
'order' => 'ASC',
|
945 |
'read_more_link_text' => __( 'See images »', 'gallery' ),
|
946 |
+
'image_text' => 1,
|
947 |
+
'return_link' => 0,
|
948 |
'return_link_text' => 'Return to all albums',
|
949 |
'return_link_page' => 'gallery_template_url',
|
950 |
+
'return_link_url' => '',
|
951 |
+
'return_link_shortcode' => 0
|
952 |
);
|
953 |
|
954 |
// install the option defaults
|
955 |
if ( 1 == $wpmu ) {
|
956 |
+
if ( ! get_site_option( 'gllr_options' ) ) {
|
957 |
add_site_option( 'gllr_options', $gllr_option_defaults, '', 'yes' );
|
958 |
}
|
959 |
+
} else {
|
960 |
+
if ( ! get_option( 'gllr_options' ) )
|
|
|
961 |
add_option( 'gllr_options', $gllr_option_defaults, '', 'yes' );
|
962 |
}
|
963 |
|
964 |
// get options from the database
|
965 |
if ( 1 == $wpmu )
|
966 |
+
$gllr_options = get_site_option( 'gllr_options' ); // get options from the database
|
967 |
else
|
968 |
+
$gllr_options = get_option( 'gllr_options' );// get options from the database
|
969 |
|
970 |
// array merge incase this version has added new options
|
971 |
$gllr_options = array_merge( $gllr_option_defaults, $gllr_options );
|
994 |
array( intval( trim( $_REQUEST['gllr_custom_image_size_w_photo'] ) ), intval( trim( $_REQUEST['gllr_custom_image_size_h_photo'] ) ) )
|
995 |
);
|
996 |
|
997 |
+
$gllr_request_options["border_images"] = ( isset( $_REQUEST['gllr_border_images'] ) ) ? 1 : 0;
|
|
|
|
|
|
|
998 |
|
999 |
$gllr_request_options["border_images_width"] = intval( trim( $_REQUEST['gllr_border_images_width'] ) );
|
1000 |
$gllr_request_options["border_images_color"] = trim( $_REQUEST['gllr_border_images_color'] );
|
1003 |
if( $gllr_request_options["custom_image_row_count"] == "" || $gllr_request_options["custom_image_row_count"] < 1 )
|
1004 |
$gllr_request_options["custom_image_row_count"] = 1;
|
1005 |
|
1006 |
+
$gllr_request_options["start_slideshow"] = ( isset( $_REQUEST['gllr_start_slideshow'] ) ) ? 1 : 0;
|
1007 |
+
|
|
|
|
|
1008 |
$gllr_request_options["slideshow_interval"] = $_REQUEST['gllr_slideshow_interval'];
|
1009 |
$gllr_request_options["order_by"] = $_REQUEST['gllr_order_by'];
|
1010 |
$gllr_request_options["order"] = $_REQUEST['gllr_order'];
|
1011 |
|
1012 |
+
$gllr_request_options["image_text"] = ( isset( $_REQUEST['gllr_image_text'] ) ) ? 1 : 0;
|
1013 |
+
$gllr_request_options["return_link"] = ( isset( $_REQUEST['gllr_return_link'] ) ) ? 1 : 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1014 |
|
1015 |
$gllr_request_options["return_link_page"] = $_REQUEST['gllr_return_link_page'];
|
1016 |
$gllr_request_options["return_link_url"] = strpos( $_REQUEST['gllr_return_link_url'], "http:" ) !== false ? trim( $_REQUEST['gllr_return_link_url'] ) : 'http://'.trim( $_REQUEST['gllr_return_link_url'] );
|
1017 |
|
1018 |
+
$gllr_request_options["return_link_shortcode"] = ( isset( $_REQUEST['gllr_return_link_shortcode'] ) ) ? 1 : 0;
|
|
|
|
|
|
|
1019 |
|
1020 |
$gllr_request_options["return_link_text"] = $_REQUEST['gllr_return_link_text'];
|
1021 |
$gllr_request_options["read_more_link_text"] = $_REQUEST['gllr_read_more_link_text'];
|
1029 |
}
|
1030 |
|
1031 |
if ( ! file_exists( get_stylesheet_directory() .'/gallery-template.php' ) || ! file_exists( get_stylesheet_directory() .'/gallery-single-template.php' ) ) {
|
1032 |
+
gllr_plugin_install();
|
1033 |
}
|
1034 |
if ( ! file_exists( get_stylesheet_directory() .'/gallery-template.php' ) || ! file_exists( get_stylesheet_directory() .'/gallery-single-template.php' ) ) {
|
1035 |
$error .= __( 'The following files "gallery-template.php" and "gallery-single-template.php" were not found in the directory of your theme. Please copy them from the directory `/wp-content/plugins/gallery-plugin/template/` to the directory of your theme for the correct work of the Gallery plugin', 'gallery' );
|
1229 |
<?php }
|
1230 |
}
|
1231 |
|
1232 |
+
if ( ! function_exists( 'gllr_register_plugin_links' ) ) {
|
1233 |
function gllr_register_plugin_links( $links, $file ) {
|
1234 |
$base = plugin_basename( __FILE__ );
|
1235 |
if ( $file == $base ) {
|
1241 |
}
|
1242 |
}
|
1243 |
|
1244 |
+
if ( ! function_exists( 'gllr_plugin_action_links' ) ) {
|
1245 |
function gllr_plugin_action_links( $links, $file ) {
|
1246 |
//Static so we don't call plugin_basename on every plugin row.
|
1247 |
static $this_plugin;
|
1259 |
function gllr_add_admin_script() {
|
1260 |
global $wp_version;
|
1261 |
|
1262 |
+
if ( $wp_version >= 3.5 && isset( $_REQUEST['page'] ) && $_REQUEST['page'] == 'gallery-plugin.php' ) { ?>
|
1263 |
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo plugins_url( 'minicolors/jquery.miniColors.css', __FILE__ ); ?>" />
|
1264 |
<script type="text/javascript" src="<?php echo plugins_url( 'minicolors/jquery.miniColors.js', __FILE__ ); ?>"></script>
|
1265 |
<?php } ?>
|
1315 |
wp_enqueue_style( 'gllrFileuploaderCss', plugins_url( 'upload/fileuploader.css', __FILE__ ) );
|
1316 |
wp_enqueue_style( 'farbtastic' );
|
1317 |
wp_enqueue_script( 'jquery' );
|
1318 |
+
if ( $wp_version < 3.5 ) {
|
1319 |
wp_enqueue_script( 'farbtastic' );
|
1320 |
}
|
1321 |
wp_enqueue_script( 'jquery-ui-sortable' );
|
1484 |
}
|
1485 |
}
|
1486 |
|
1487 |
+
if ( ! function_exists( 'upload_gallery_image' ) ){
|
1488 |
+
function upload_gallery_image() {
|
1489 |
+
class qqUploadedFileXhr {
|
1490 |
+
/**
|
1491 |
+
* Save the file to the specified path
|
1492 |
+
* @return boolean TRUE on success
|
1493 |
+
*/
|
1494 |
+
function save( $path ) {
|
1495 |
+
$input = fopen( "php://input", "r" );
|
1496 |
+
$temp = tmpfile();
|
1497 |
+
$realSize = stream_copy_to_stream( $input, $temp );
|
1498 |
+
fclose( $input );
|
1499 |
+
|
1500 |
+
if ( $realSize != $this->getSize() ){
|
1501 |
+
return false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1502 |
}
|
1503 |
+
|
1504 |
+
$target = fopen( $path, "w" );
|
1505 |
+
fseek( $temp, 0, SEEK_SET );
|
1506 |
+
stream_copy_to_stream( $temp, $target );
|
1507 |
+
fclose( $target );
|
1508 |
+
|
1509 |
+
return true;
|
1510 |
+
}
|
1511 |
+
function getName() {
|
1512 |
+
return sanitize_file_name( $_GET['qqfile'] );
|
1513 |
+
}
|
1514 |
+
function getSize() {
|
1515 |
+
if ( isset( $_SERVER["CONTENT_LENGTH"] ) ){
|
1516 |
+
return (int)$_SERVER["CONTENT_LENGTH"];
|
1517 |
+
} else {
|
1518 |
+
throw new Exception( 'Getting content length is not supported.' );
|
1519 |
+
}
|
1520 |
+
}
|
1521 |
+
}
|
1522 |
|
1523 |
+
/**
|
1524 |
+
* Handle file uploads via regular form post (uses the $_FILES array)
|
1525 |
+
*/
|
1526 |
+
class qqUploadedFileForm {
|
1527 |
/**
|
1528 |
+
* Save the file to the specified path
|
1529 |
+
* @return boolean TRUE on success
|
1530 |
*/
|
1531 |
+
function save($path) {
|
1532 |
+
if( ! move_uploaded_file( $_FILES['qqfile']['tmp_name'], $path ) ){
|
1533 |
+
return false;
|
1534 |
+
}
|
1535 |
+
return true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1536 |
}
|
1537 |
+
function getName() {
|
1538 |
+
return sanitize_file_name( $_FILES['qqfile']['name'] );
|
1539 |
+
}
|
1540 |
+
function getSize() {
|
1541 |
+
return $_FILES['qqfile']['size'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1542 |
}
|
1543 |
+
}
|
1544 |
|
1545 |
+
class qqFileUploader {
|
1546 |
+
private $allowedExtensions = array();
|
1547 |
+
private $sizeLimit = 10485760;
|
1548 |
+
private $file;
|
1549 |
|
1550 |
+
function __construct( array $allowedExtensions = array(), $sizeLimit = 10485760 ){
|
1551 |
+
$allowedExtensions = array_map( "strtolower", $allowedExtensions );
|
1552 |
+
|
1553 |
+
$this->allowedExtensions = $allowedExtensions;
|
1554 |
+
$this->sizeLimit = $sizeLimit;
|
1555 |
+
|
1556 |
+
//$this->checkServerSettings();
|
1557 |
+
|
1558 |
+
if ( isset( $_GET['qqfile'] ) ) {
|
1559 |
+
$this->file = new qqUploadedFileXhr();
|
1560 |
+
} elseif ( isset( $_FILES['qqfile'] ) ) {
|
1561 |
+
$this->file = new qqUploadedFileForm();
|
1562 |
+
} else {
|
1563 |
+
$this->file = false;
|
1564 |
+
}
|
1565 |
+
}
|
1566 |
+
|
1567 |
+
private function checkServerSettings(){
|
1568 |
+
$postSize = $this->toBytes( ini_get( 'post_max_size' ) );
|
1569 |
+
$uploadSize = $this->toBytes( ini_get( 'upload_max_filesize' ) );
|
1570 |
+
|
1571 |
+
if ( $postSize < $this->sizeLimit || $uploadSize < $this->sizeLimit ){
|
1572 |
+
$size = max( 1, $this->sizeLimit / 1024 / 1024 ) . 'M';
|
1573 |
+
die( "{error:'increase post_max_size and upload_max_filesize to $size'}" );
|
1574 |
+
}
|
1575 |
+
}
|
1576 |
+
|
1577 |
+
private function toBytes( $str ) {
|
1578 |
+
$val = trim( $str );
|
1579 |
+
$last = strtolower( $str[strlen( $str )-1] );
|
1580 |
+
switch( $last ) {
|
1581 |
+
case 'g': $val *= 1024;
|
1582 |
+
case 'm': $val *= 1024;
|
1583 |
+
case 'k': $val *= 1024;
|
1584 |
+
}
|
1585 |
+
return $val;
|
1586 |
+
}
|
1587 |
+
|
1588 |
+
/**
|
1589 |
+
* Returns array('success'=>true) or array('error'=>'error message')
|
1590 |
+
*/
|
1591 |
+
function handleUpload( $uploadDirectory, $replaceOldFile = FALSE ){
|
1592 |
+
if ( ! is_writable( $uploadDirectory ) ){
|
1593 |
+
return "{error:'Server error. Upload directory isn't writable.'}";
|
1594 |
+
}
|
1595 |
+
|
1596 |
+
if ( ! $this->file ){
|
1597 |
+
return "{error:'No files were uploaded.'}";
|
1598 |
+
}
|
1599 |
+
|
1600 |
+
$size = $this->file->getSize();
|
1601 |
+
|
1602 |
+
if ( $size == 0 ) {
|
1603 |
+
return "{error:'File is empty'}";
|
1604 |
+
}
|
1605 |
+
|
1606 |
+
if ( $size > $this->sizeLimit ) {
|
1607 |
+
return "{error:'File is too large'}";
|
1608 |
+
}
|
1609 |
+
|
1610 |
+
$pathinfo = pathinfo( $this->file->getName() );
|
1611 |
+
$ext = $pathinfo['extension'];
|
1612 |
+
$filename = str_replace( ".".$ext, "", $pathinfo['basename'] );
|
1613 |
+
//$filename = md5(uniqid());
|
1614 |
+
|
1615 |
+
if( $this->allowedExtensions && ! in_array( strtolower( $ext ), $this->allowedExtensions ) ){
|
1616 |
+
$these = implode( ', ', $this->allowedExtensions );
|
1617 |
+
return "{error:'File has an invalid extension, it should be one of $these .'}";
|
1618 |
+
}
|
1619 |
+
|
1620 |
+
if( ! $replaceOldFile ){
|
1621 |
+
/// don't overwrite previous files that were uploaded
|
1622 |
+
while ( file_exists( $uploadDirectory . $filename . '.' . $ext ) ) {
|
1623 |
+
$filename .= rand( 10, 99 );
|
1624 |
+
}
|
1625 |
+
}
|
1626 |
|
1627 |
+
if ( $this->file->save( $uploadDirectory . $filename . '.' . $ext ) ){
|
1628 |
+
list( $width, $height, $type, $attr ) = getimagesize( $uploadDirectory . $filename . '.' . $ext );
|
1629 |
+
return "{success:true,width:".$width.",height:".$height."}";
|
1630 |
+
} else {
|
1631 |
+
return "{error:'Could not save uploaded file. The upload was cancelled, or server error encountered'}";
|
1632 |
+
}
|
1633 |
+
|
1634 |
+
}
|
1635 |
}
|
1636 |
+
|
1637 |
+
// list of valid extensions, ex. array("jpeg", "xml", "bmp")
|
1638 |
+
$allowedExtensions = array( "jpeg", "jpg", "gif", "png" );
|
1639 |
+
// max file size in bytes
|
1640 |
+
$sizeLimit = 10 * 1024 * 1024;
|
1641 |
+
|
1642 |
+
$uploader = new qqFileUploader( $allowedExtensions, $sizeLimit );
|
1643 |
+
$result = $uploader->handleUpload( plugin_dir_path( __FILE__ ) . 'upload/files/' );
|
1644 |
+
|
1645 |
+
// to pass data through iframe you will need to encode all html tags
|
1646 |
+
echo $result;
|
1647 |
+
die(); // this is required to return a proper result
|
1648 |
+
}
|
1649 |
}
|
1650 |
|
1651 |
if( ! function_exists( 'gllr_add_for_ios' ) ) {
|
1670 |
global $hook_suffix;
|
1671 |
if ( $hook_suffix == 'plugins.php' ) {
|
1672 |
echo '<div class="updated" style="padding: 0; margin: 0; border: none; background: none;">
|
1673 |
+
<script type="text/javascript" src="' . plugins_url( 'js/jquery.cookie.js', __FILE__ ).'"></script>
|
1674 |
<script type="text/javascript">
|
1675 |
(function($){
|
1676 |
$(document).ready(function(){
|
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: 2013-
|
6 |
-
"PO-Revision-Date: 2013-
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Didier, L Capronnier <lcapronnier@yahoo.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -14,11 +14,11 @@ msgstr ""
|
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
-
"X-Generator: Poedit 1.5.
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
|
20 |
#: gallery-plugin.php:103
|
21 |
-
#: gallery-plugin.php:
|
22 |
msgid "The following files \"gallery-template.php\" and \"gallery-single-template.php\" were not found in the directory of your theme. Please copy them from the directory `/wp-content/plugins/gallery-plugin/template/` to the directory of your theme for the correct work of the Gallery plugin"
|
23 |
msgstr "Les fichiers suivants \"gallery-template.php\" et \"gallery-single-template.php\" n'ont pas été trouvés dans le répertoire de votre thème. Merci de les copier depuis le répertoire `/wp-content/plugins/gallery-plugin/template/` dans le répertoire de votre thème pour le bon fonctionnement de l'extension Gallery"
|
24 |
|
@@ -28,7 +28,7 @@ msgid "Galleries"
|
|
28 |
msgstr "Galeries"
|
29 |
|
30 |
#: gallery-plugin.php:128
|
31 |
-
#: gallery-plugin.php:
|
32 |
msgid "Gallery"
|
33 |
msgstr "Galerie"
|
34 |
|
@@ -60,590 +60,584 @@ msgstr "Trouver une galerie"
|
|
60 |
msgid "No Gallery found"
|
61 |
msgstr "Pas de galeries trouvées"
|
62 |
|
63 |
-
#: gallery-plugin.php:
|
64 |
msgid "Upload File"
|
65 |
msgstr "Envoi de fichier"
|
66 |
|
67 |
-
#: gallery-plugin.php:
|
68 |
msgid "Gallery Shortcode"
|
69 |
msgstr "Gallery Shortcode"
|
70 |
|
71 |
-
#: gallery-plugin.php:
|
72 |
msgid "The gallery temp directory (gallery-plugin/upload/files) is not available for record on your webserver. Please use the standard WP functionality to upload images (media library)"
|
73 |
msgstr "Le répertoire temporaire de la gallery (gallery-plugin/upload/files) n'est pas autorisé en écriture par votre serveur Web. Merci d'utliser les fonctions standards de WP pour charger les images (Média)"
|
74 |
|
75 |
-
#: gallery-plugin.php:
|
76 |
msgid "Choose an image for upload:"
|
77 |
msgstr "Choisir l'image à envoyer :"
|
78 |
|
79 |
-
#: gallery-plugin.php:
|
80 |
msgid "Please enable JavaScript to use the file uploader."
|
81 |
msgstr "Merci d'activer JavaScript pour utiliser l'envoi de fichiers."
|
82 |
|
83 |
-
#: gallery-plugin.php:
|
84 |
msgid "Allow the download link for all images in this gallery"
|
85 |
msgstr "Autoriser les liens de téléchargement des images dans cette galerie"
|
86 |
|
87 |
-
#: gallery-plugin.php:
|
88 |
msgid "Please use the drag and drop function to change an order of the images displaying and do not forget to save the post."
|
89 |
msgstr "Merci d'utiliser les fonctions de glisser/déposer pour modifier l'ordre d'affichage des images. Ne pas oublier d'enregistrer l'article."
|
90 |
|
91 |
-
#: gallery-plugin.php:
|
92 |
msgid "Please make a choice"
|
93 |
msgstr "Merci de faire un choix"
|
94 |
|
95 |
-
#: gallery-plugin.php:
|
96 |
-
#: gallery-plugin.php:
|
97 |
msgid "Sort images by"
|
98 |
msgstr "Trier les images par"
|
99 |
|
100 |
-
#: gallery-plugin.php:
|
101 |
msgid "sort images"
|
102 |
msgstr "trier les images"
|
103 |
|
104 |
-
#: gallery-plugin.php:
|
105 |
msgid "on the plugin settings page ("
|
106 |
msgstr "dans les paramètres du plugin ("
|
107 |
|
108 |
-
#: gallery-plugin.php:
|
|
|
|
|
|
|
|
|
|
|
109 |
msgid "URL"
|
110 |
msgstr "URL"
|
111 |
|
112 |
-
#: gallery-plugin.php:275
|
113 |
-
msgid "(by click on image <br /> opens a link in a new window)"
|
114 |
-
msgstr "(cliquer sur l'image<br /> ouvre le lien dans une nouvelle fenêtre)"
|
115 |
-
|
116 |
#: gallery-plugin.php:276
|
|
|
|
|
|
|
|
|
117 |
msgid "This setting is available in Pro version"
|
118 |
msgstr "Ce paramètre est disponible dans la version Pro"
|
119 |
|
120 |
-
#: gallery-plugin.php:
|
121 |
msgid "Open the link"
|
122 |
msgstr "Ouvrir le lien"
|
123 |
|
124 |
-
#: gallery-plugin.php:
|
125 |
msgid "Current window"
|
126 |
msgstr "Fenêtre courrante"
|
127 |
|
128 |
-
#: gallery-plugin.php:
|
129 |
msgid "New window"
|
130 |
msgstr "Nouvelle fenêtre"
|
131 |
|
132 |
-
#: gallery-plugin.php:
|
133 |
msgid "Delete"
|
134 |
msgstr "Supprimer"
|
135 |
|
136 |
-
#: gallery-plugin.php:
|
137 |
msgid "You can add a Single Gallery to the page or post by inserting this shortcode into the content"
|
138 |
msgstr "Vous pouvez ajouter la galerie dans la page ou l'article en insérant le code court dans le contenu"
|
139 |
|
140 |
-
#: gallery-plugin.php:
|
141 |
msgid "If you want to display a short description containing a screenshot and the link to the Single Gallery Page"
|
142 |
msgstr "Si vous voulez avoir un bref aperçu de la galerie avec un lien vers une page unique de la galerie"
|
143 |
|
144 |
-
#: gallery-plugin.php:
|
145 |
-
msgid "Title"
|
146 |
-
msgstr "Titre"
|
147 |
-
|
148 |
-
#: gallery-plugin.php:480
|
149 |
msgid "Author"
|
150 |
msgstr "Auteur"
|
151 |
|
152 |
-
#: gallery-plugin.php:
|
153 |
msgid "Photo"
|
154 |
msgstr "Photo"
|
155 |
|
156 |
-
#: gallery-plugin.php:
|
157 |
msgid "Publishing"
|
158 |
msgstr "Public"
|
159 |
|
160 |
-
#: gallery-plugin.php:
|
161 |
-
#: gallery-plugin.php:
|
162 |
msgid "Date"
|
163 |
msgstr "Date"
|
164 |
|
165 |
-
#: gallery-plugin.php:
|
166 |
msgid "Not set"
|
167 |
-
msgstr ""
|
168 |
|
|
|
169 |
#: gallery-plugin.php:660
|
170 |
-
#: gallery-plugin.php:664
|
171 |
msgid "On"
|
172 |
-
msgstr ""
|
173 |
|
|
|
174 |
#: gallery-plugin.php:662
|
175 |
-
#: gallery-plugin.php:666
|
176 |
msgid "Off"
|
177 |
-
msgstr ""
|
178 |
|
|
|
179 |
#: gallery-plugin.php:670
|
180 |
#: gallery-plugin.php:674
|
181 |
#: gallery-plugin.php:678
|
182 |
#: gallery-plugin.php:682
|
183 |
-
#: gallery-plugin.php:
|
184 |
-
#: gallery-plugin.php:712
|
185 |
msgid "N/A"
|
186 |
-
msgstr ""
|
187 |
|
188 |
-
#: gallery-plugin.php:
|
189 |
msgid " Mb"
|
190 |
-
msgstr ""
|
191 |
|
|
|
192 |
#: gallery-plugin.php:688
|
193 |
#: gallery-plugin.php:692
|
194 |
-
#: gallery-plugin.php:
|
195 |
-
#: gallery-plugin.php:707
|
196 |
msgid "Yes"
|
197 |
-
msgstr ""
|
198 |
|
|
|
199 |
#: gallery-plugin.php:690
|
200 |
#: gallery-plugin.php:694
|
201 |
-
#: gallery-plugin.php:
|
202 |
-
#: gallery-plugin.php:709
|
203 |
msgid "No"
|
204 |
-
msgstr ""
|
205 |
|
206 |
-
#: gallery-plugin.php:
|
207 |
msgid "Operating System"
|
208 |
-
msgstr ""
|
209 |
|
210 |
-
#: gallery-plugin.php:
|
211 |
msgid "Server"
|
212 |
-
msgstr ""
|
213 |
|
214 |
-
#: gallery-plugin.php:
|
215 |
msgid "Memory usage"
|
216 |
-
msgstr ""
|
217 |
|
218 |
-
#: gallery-plugin.php:
|
219 |
msgid "MYSQL Version"
|
220 |
-
msgstr ""
|
221 |
|
222 |
-
#: gallery-plugin.php:
|
223 |
msgid "SQL Mode"
|
224 |
-
msgstr ""
|
225 |
|
226 |
-
#: gallery-plugin.php:
|
227 |
msgid "PHP Version"
|
228 |
-
msgstr ""
|
229 |
|
230 |
-
#: gallery-plugin.php:
|
231 |
msgid "PHP Safe Mode"
|
232 |
-
msgstr ""
|
233 |
|
234 |
-
#: gallery-plugin.php:
|
235 |
msgid "PHP Allow URL fopen"
|
236 |
-
msgstr ""
|
237 |
|
238 |
-
#: gallery-plugin.php:
|
239 |
msgid "PHP Memory Limit"
|
240 |
-
msgstr ""
|
241 |
|
242 |
-
#: gallery-plugin.php:
|
243 |
-
#, fuzzy
|
244 |
msgid "PHP Max Upload Size"
|
245 |
-
msgstr "
|
246 |
|
247 |
-
#: gallery-plugin.php:
|
248 |
msgid "PHP Max Post Size"
|
249 |
-
msgstr ""
|
250 |
|
251 |
-
#: gallery-plugin.php:
|
252 |
msgid "PHP Max Script Execute Time"
|
253 |
-
msgstr ""
|
254 |
|
255 |
-
#: gallery-plugin.php:
|
256 |
msgid "PHP Exif support"
|
257 |
-
msgstr ""
|
258 |
|
259 |
-
#: gallery-plugin.php:
|
260 |
msgid "PHP IPTC support"
|
261 |
-
msgstr ""
|
262 |
|
263 |
-
#: gallery-plugin.php:
|
264 |
msgid "PHP XML support"
|
265 |
-
msgstr ""
|
266 |
|
267 |
-
#: gallery-plugin.php:
|
268 |
-
#, fuzzy
|
269 |
msgid "Site URL"
|
270 |
-
msgstr "URL
|
271 |
|
272 |
-
#: gallery-plugin.php:
|
273 |
msgid "Home URL"
|
274 |
-
msgstr ""
|
275 |
|
276 |
-
#: gallery-plugin.php:
|
277 |
msgid "WordPress Version"
|
278 |
-
msgstr ""
|
279 |
|
280 |
-
#: gallery-plugin.php:
|
281 |
msgid "WordPress DB Version"
|
282 |
-
msgstr ""
|
283 |
|
284 |
-
#: gallery-plugin.php:
|
285 |
msgid "Multisite"
|
286 |
-
msgstr ""
|
287 |
|
288 |
-
#: gallery-plugin.php:
|
289 |
msgid "Active Theme"
|
290 |
-
msgstr ""
|
291 |
|
292 |
-
#: gallery-plugin.php:
|
293 |
msgid "Please enter a valid email address."
|
294 |
-
msgstr ""
|
295 |
|
296 |
-
#: gallery-plugin.php:
|
297 |
msgid "Email with system info is sent to "
|
298 |
-
msgstr ""
|
299 |
|
300 |
-
#: gallery-plugin.php:
|
301 |
msgid "Thank you for contacting us."
|
302 |
-
msgstr ""
|
303 |
|
304 |
-
#: gallery-plugin.php:
|
305 |
msgid "Sorry, email message could not be delivered."
|
306 |
-
msgstr ""
|
307 |
|
308 |
-
#: gallery-plugin.php:
|
309 |
msgid "Pro plugins"
|
310 |
msgstr "Extensions Pro"
|
311 |
|
312 |
-
#: gallery-plugin.php:
|
313 |
-
#: gallery-plugin.php:
|
314 |
msgid "Activated plugins"
|
315 |
msgstr "Extensions activées"
|
316 |
|
317 |
-
#: gallery-plugin.php:
|
318 |
-
#: gallery-plugin.php:
|
319 |
-
#: gallery-plugin.php:
|
320 |
-
#: gallery-plugin.php:
|
321 |
-
#: gallery-plugin.php:
|
322 |
-
#: gallery-plugin.php:
|
323 |
msgid "Read more"
|
324 |
msgstr "Lire plus..."
|
325 |
|
326 |
-
#: gallery-plugin.php:
|
327 |
-
#: gallery-plugin.php:
|
328 |
-
#: gallery-plugin.php:
|
329 |
-
#: gallery-plugin.php:
|
330 |
msgid "Settings"
|
331 |
msgstr "Paramètres"
|
332 |
|
333 |
-
#: gallery-plugin.php:
|
334 |
-
#: gallery-plugin.php:
|
335 |
msgid "Installed plugins"
|
336 |
msgstr "Extensions installées"
|
337 |
|
338 |
-
#: gallery-plugin.php:
|
339 |
-
#: gallery-plugin.php:
|
340 |
msgid "Recommended plugins"
|
341 |
msgstr "Extensions recommandées"
|
342 |
|
343 |
-
#: gallery-plugin.php:
|
344 |
msgid "Purchase"
|
345 |
msgstr "Acheter"
|
346 |
|
347 |
-
#: gallery-plugin.php:
|
348 |
msgid "Free plugins"
|
349 |
msgstr "Extensions gratuites"
|
350 |
|
351 |
-
#: gallery-plugin.php:
|
352 |
msgid "Download"
|
353 |
msgstr "Télécharger"
|
354 |
|
355 |
-
#: gallery-plugin.php:
|
356 |
#, php-format
|
357 |
msgid "Install %s"
|
358 |
msgstr "Installation %s"
|
359 |
|
360 |
-
#: gallery-plugin.php:
|
361 |
msgid "Install now from wordpress.org"
|
362 |
msgstr "Installation à partir de wordpress.org"
|
363 |
|
364 |
-
#: gallery-plugin.php:
|
365 |
msgid "If you have any questions, please contact us via"
|
366 |
msgstr "Si vous avez des questions, merci de nous contacter via "
|
367 |
|
368 |
-
#: gallery-plugin.php:
|
369 |
msgid "System status"
|
370 |
-
msgstr ""
|
371 |
|
372 |
-
#: gallery-plugin.php:
|
373 |
msgid "Environment"
|
374 |
-
msgstr ""
|
375 |
|
376 |
-
#: gallery-plugin.php:
|
377 |
-
#, fuzzy
|
378 |
msgid "Active Plugins"
|
379 |
-
msgstr "
|
380 |
|
381 |
-
#: gallery-plugin.php:
|
382 |
-
#, fuzzy
|
383 |
msgid "Inactive Plugins"
|
384 |
-
msgstr "
|
385 |
|
386 |
-
#: gallery-plugin.php:
|
387 |
-
#, fuzzy
|
388 |
msgid "Send to support"
|
389 |
-
msgstr "
|
390 |
|
391 |
-
#: gallery-plugin.php:
|
392 |
msgid "Send to custom email »"
|
393 |
-
msgstr ""
|
394 |
|
395 |
-
#: gallery-plugin.php:
|
396 |
msgid "See images »"
|
397 |
msgstr "Voir les images »"
|
398 |
|
399 |
-
#: gallery-plugin.php:
|
400 |
msgid "Settings are saved"
|
401 |
msgstr "Paramètres sauvegardés."
|
402 |
|
403 |
-
#: gallery-plugin.php:
|
404 |
msgid "Gallery Settings"
|
405 |
msgstr "Paramètres de la galerie"
|
406 |
|
407 |
-
#: gallery-plugin.php:
|
408 |
msgid "If you would like to add a Single Gallery to your page or post, just copy and paste this shortcode into your post or page:"
|
409 |
msgstr "Si vous voulez ajouter la galerie dans une page ou un article, copier le code court suivant dans le contenu de votre page ou de votre article:"
|
410 |
|
411 |
-
#: gallery-plugin.php:
|
412 |
msgid "Image size for the album cover"
|
413 |
msgstr "Taille de la vignette de l'album"
|
414 |
|
415 |
-
#: gallery-plugin.php:
|
416 |
-
#: gallery-plugin.php:
|
417 |
-
#: gallery-plugin.php:
|
418 |
msgid "Image size"
|
419 |
msgstr "Taille de l'image"
|
420 |
|
421 |
-
#: gallery-plugin.php:
|
422 |
-
#: gallery-plugin.php:
|
423 |
msgid "Width (in px)"
|
424 |
msgstr "Largeur (en pixels)"
|
425 |
|
426 |
-
#: gallery-plugin.php:
|
427 |
-
#: gallery-plugin.php:
|
428 |
msgid "Height (in px)"
|
429 |
msgstr "Hauteur (en pixels)"
|
430 |
|
431 |
-
#: gallery-plugin.php:
|
432 |
msgid "Gallery image size"
|
433 |
msgstr "Taille de l'image de la galerie"
|
434 |
|
435 |
-
#: gallery-plugin.php:
|
436 |
msgid "WordPress will create a new thumbnail with the specified dimensions when you upload a new photo."
|
437 |
msgstr "WordPress créera une copie de la miniature avec les dimensions spécifiées quand vous envoyez une nouvelle photo."
|
438 |
|
439 |
-
#: gallery-plugin.php:
|
440 |
msgid "Gallery image size in the lightbox"
|
441 |
msgstr "Taille de l'image de la galerie"
|
442 |
|
443 |
-
#: gallery-plugin.php:
|
444 |
msgid "Max width (in px)"
|
445 |
msgstr "Largeur maximum (en pixels)"
|
446 |
|
447 |
-
#: gallery-plugin.php:
|
448 |
msgid "Max height (in px)"
|
449 |
msgstr "Hauteur maximum (en pixels)"
|
450 |
|
451 |
-
#: gallery-plugin.php:
|
452 |
msgid "Display a full size image in the lightbox"
|
453 |
-
msgstr "Afficher une image en taille normale dans
|
454 |
|
455 |
-
#: gallery-plugin.php:
|
456 |
msgid "Crop position"
|
457 |
msgstr "Point de base"
|
458 |
|
459 |
-
#: gallery-plugin.php:
|
460 |
msgid "Horizontal"
|
461 |
msgstr "Horizontale"
|
462 |
|
463 |
-
#: gallery-plugin.php:
|
464 |
msgid "left"
|
465 |
msgstr "gauche"
|
466 |
|
467 |
-
#: gallery-plugin.php:
|
468 |
-
#: gallery-plugin.php:
|
469 |
msgid "center"
|
470 |
msgstr "centré"
|
471 |
|
472 |
-
#: gallery-plugin.php:
|
473 |
msgid "right"
|
474 |
msgstr "droite"
|
475 |
|
476 |
-
#: gallery-plugin.php:
|
477 |
msgid "Vertical"
|
478 |
msgstr "Verticale"
|
479 |
|
480 |
-
#: gallery-plugin.php:
|
481 |
msgid "top"
|
482 |
msgstr "haut"
|
483 |
|
484 |
-
#: gallery-plugin.php:
|
485 |
msgid "bottom"
|
486 |
msgstr "bas"
|
487 |
|
488 |
-
#: gallery-plugin.php:
|
489 |
msgid "Lightbox background"
|
490 |
msgstr "Fond de la boite"
|
491 |
|
492 |
-
#: gallery-plugin.php:
|
493 |
msgid "Default"
|
494 |
msgstr "Défaut"
|
495 |
|
496 |
-
#: gallery-plugin.php:
|
497 |
msgid "Background transparency (from 0 to 1)"
|
498 |
msgstr "Transparence du fond (de 0 à 1)"
|
499 |
|
500 |
-
#: gallery-plugin.php:
|
501 |
msgid "Select a background color"
|
502 |
msgstr "Choisir une couleur pour le fond"
|
503 |
|
504 |
-
#: gallery-plugin.php:
|
505 |
msgid "Background color"
|
506 |
msgstr "Couleur du fond"
|
507 |
|
508 |
-
#: gallery-plugin.php:
|
509 |
-
#: gallery-plugin.php:
|
510 |
msgid "This functionality is available in the Pro version of the plugin. For more details, please follow the link"
|
511 |
msgstr "Cette fonction est disponible dans le version pro de ce plugin. Pour plus de détails, suivre le lien"
|
512 |
|
513 |
-
#: gallery-plugin.php:
|
514 |
msgid "Images with border"
|
515 |
msgstr "Image avec bordure"
|
516 |
|
517 |
-
#: gallery-plugin.php:
|
518 |
msgid "Border width in px, just numbers"
|
519 |
msgstr "Taille de la bordure en pixel, juste le nombre"
|
520 |
|
521 |
-
#: gallery-plugin.php:
|
522 |
-
#: gallery-plugin.php:
|
523 |
msgid "Select a border color"
|
524 |
msgstr "Choisir une couleur pour la bordure"
|
525 |
|
526 |
-
#: gallery-plugin.php:
|
527 |
msgid "Number of images in the row"
|
528 |
msgstr "Nombre d'images par ligne"
|
529 |
|
530 |
-
#: gallery-plugin.php:
|
531 |
msgid "Start slideshow"
|
532 |
msgstr "Démarer le diaporama"
|
533 |
|
534 |
-
#: gallery-plugin.php:
|
535 |
msgid "Slideshow interval"
|
536 |
msgstr "Interval de transition pour le diaporama"
|
537 |
|
538 |
-
#: gallery-plugin.php:
|
539 |
msgid "Attachment ID"
|
540 |
msgstr "ID du fichier"
|
541 |
|
542 |
-
#: gallery-plugin.php:
|
543 |
msgid "Image Name"
|
544 |
msgstr "Nom de l'image "
|
545 |
|
546 |
-
#: gallery-plugin.php:
|
547 |
msgid "Sorting order (the input field for sorting order in the Insert / Upload Media Gallery dialog)"
|
548 |
msgstr "Ordre de tri (le nombre dans la fenêtre d'insertion / téléchargement de la galerie)"
|
549 |
|
550 |
-
#: gallery-plugin.php:
|
551 |
msgid "Random"
|
552 |
msgstr "Aléatoire"
|
553 |
|
554 |
-
#: gallery-plugin.php:
|
555 |
msgid "Sort images"
|
556 |
msgstr "Trier les images"
|
557 |
|
558 |
-
#: gallery-plugin.php:
|
559 |
msgid "ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)"
|
560 |
msgstr "ASC (ordre ascendant de la plus petite à la plus grande valeur - 1, 2, 3; a, b, c)"
|
561 |
|
562 |
-
#: gallery-plugin.php:
|
563 |
msgid "DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)"
|
564 |
msgstr "DESC (ordre descendant de la plus grade à la plus petite - 3, 2, 1; c, b, a)"
|
565 |
|
566 |
-
#: gallery-plugin.php:
|
567 |
msgid "Display text above the image"
|
568 |
msgstr "Aficher le texte au dessus de l'image"
|
569 |
|
570 |
-
#: gallery-plugin.php:
|
571 |
-
msgid "
|
572 |
-
msgstr "Si vous voulez juste afficher du texte dans
|
573 |
|
574 |
-
#: gallery-plugin.php:
|
575 |
msgid "Display the Back link"
|
576 |
msgstr "Afficher le lien de retour"
|
577 |
|
578 |
-
#: gallery-plugin.php:
|
579 |
msgid "Display the Back link in the shortcode"
|
580 |
msgstr "Afficher le lien de retour dans le code court"
|
581 |
|
582 |
-
#: gallery-plugin.php:
|
583 |
msgid "The Back link text"
|
584 |
msgstr "Le text pour le lien de retour"
|
585 |
|
586 |
-
#: gallery-plugin.php:
|
587 |
msgid "The Back link URL"
|
588 |
msgstr "L'URL pour le lien de retour"
|
589 |
|
590 |
-
#: gallery-plugin.php:
|
591 |
msgid "Gallery page (Page with Gallery Template)"
|
592 |
msgstr "Page de la galerie (Page avec le modèle de galerie)"
|
593 |
|
594 |
-
#: gallery-plugin.php:
|
595 |
msgid "(Full URL to custom page)"
|
596 |
msgstr "(URL complète pour la page spécifique)"
|
597 |
|
598 |
-
#: gallery-plugin.php:
|
599 |
msgid "The Read More link text"
|
600 |
msgstr "Texte pour le lien \"Read More\""
|
601 |
|
602 |
-
#: gallery-plugin.php:
|
603 |
-
#, fuzzy
|
604 |
msgid "Display Like buttons in the lightbox"
|
605 |
-
msgstr "Afficher
|
606 |
|
607 |
-
#: gallery-plugin.php:
|
608 |
msgid "FaceBook"
|
609 |
-
msgstr ""
|
610 |
|
611 |
-
#: gallery-plugin.php:
|
612 |
-
#, fuzzy
|
613 |
msgid "Twitter"
|
614 |
-
msgstr "
|
615 |
|
616 |
-
#: gallery-plugin.php:
|
617 |
msgid "Pinterest"
|
618 |
-
msgstr ""
|
619 |
|
620 |
-
#: gallery-plugin.php:
|
621 |
msgid "Google +1"
|
622 |
-
msgstr ""
|
623 |
|
624 |
-
#: gallery-plugin.php:
|
625 |
msgid "Save Changes"
|
626 |
msgstr "Sauvegarder"
|
627 |
|
628 |
-
#: gallery-plugin.php:
|
629 |
msgid "FAQ"
|
630 |
msgstr "FAQ"
|
631 |
|
632 |
-
#: gallery-plugin.php:
|
633 |
msgid "Support"
|
634 |
msgstr "Soutien"
|
635 |
|
636 |
-
#: gallery-plugin.php:
|
637 |
#: template/gallery-single-template.php:76
|
638 |
msgid "Sorry, nothing found."
|
639 |
msgstr "Désolé, rien n'a été trouvé"
|
640 |
|
641 |
-
#: gallery-plugin.php:
|
642 |
-
#: template/gallery-single-template.php:
|
643 |
msgid "Download high resolution image"
|
644 |
msgstr "Télécharger l'image en haute résolution"
|
645 |
|
646 |
-
#: template/gallery-single-template.php:
|
647 |
msgid "Image"
|
648 |
msgstr "Image "
|
649 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: gallery\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2013-08-26 15:03+0300\n"
|
6 |
+
"PO-Revision-Date: 2013-08-26 15:03+0300\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Didier, L Capronnier <lcapronnier@yahoo.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
+
"X-Generator: Poedit 1.5.7\n"
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
|
20 |
#: gallery-plugin.php:103
|
21 |
+
#: gallery-plugin.php:1036
|
22 |
msgid "The following files \"gallery-template.php\" and \"gallery-single-template.php\" were not found in the directory of your theme. Please copy them from the directory `/wp-content/plugins/gallery-plugin/template/` to the directory of your theme for the correct work of the Gallery plugin"
|
23 |
msgstr "Les fichiers suivants \"gallery-template.php\" et \"gallery-single-template.php\" n'ont pas été trouvés dans le répertoire de votre thème. Merci de les copier depuis le répertoire `/wp-content/plugins/gallery-plugin/template/` dans le répertoire de votre thème pour le bon fonctionnement de l'extension Gallery"
|
24 |
|
28 |
msgstr "Galeries"
|
29 |
|
30 |
#: gallery-plugin.php:128
|
31 |
+
#: gallery-plugin.php:919
|
32 |
msgid "Gallery"
|
33 |
msgstr "Galerie"
|
34 |
|
60 |
msgid "No Gallery found"
|
61 |
msgstr "Pas de galeries trouvées"
|
62 |
|
63 |
+
#: gallery-plugin.php:193
|
64 |
msgid "Upload File"
|
65 |
msgstr "Envoi de fichier"
|
66 |
|
67 |
+
#: gallery-plugin.php:194
|
68 |
msgid "Gallery Shortcode"
|
69 |
msgstr "Gallery Shortcode"
|
70 |
|
71 |
+
#: gallery-plugin.php:211
|
72 |
msgid "The gallery temp directory (gallery-plugin/upload/files) is not available for record on your webserver. Please use the standard WP functionality to upload images (media library)"
|
73 |
msgstr "Le répertoire temporaire de la gallery (gallery-plugin/upload/files) n'est pas autorisé en écriture par votre serveur Web. Merci d'utliser les fonctions standards de WP pour charger les images (Média)"
|
74 |
|
75 |
+
#: gallery-plugin.php:215
|
76 |
msgid "Choose an image for upload:"
|
77 |
msgstr "Choisir l'image à envoyer :"
|
78 |
|
79 |
+
#: gallery-plugin.php:220
|
80 |
msgid "Please enable JavaScript to use the file uploader."
|
81 |
msgstr "Merci d'activer JavaScript pour utiliser l'envoi de fichiers."
|
82 |
|
83 |
+
#: gallery-plugin.php:227
|
84 |
msgid "Allow the download link for all images in this gallery"
|
85 |
msgstr "Autoriser les liens de téléchargement des images dans cette galerie"
|
86 |
|
87 |
+
#: gallery-plugin.php:228
|
88 |
msgid "Please use the drag and drop function to change an order of the images displaying and do not forget to save the post."
|
89 |
msgstr "Merci d'utiliser les fonctions de glisser/déposer pour modifier l'ordre d'affichage des images. Ne pas oublier d'enregistrer l'article."
|
90 |
|
91 |
+
#: gallery-plugin.php:230
|
92 |
msgid "Please make a choice"
|
93 |
msgstr "Merci de faire un choix"
|
94 |
|
95 |
+
#: gallery-plugin.php:230
|
96 |
+
#: gallery-plugin.php:1150
|
97 |
msgid "Sort images by"
|
98 |
msgstr "Trier les images par"
|
99 |
|
100 |
+
#: gallery-plugin.php:230
|
101 |
msgid "sort images"
|
102 |
msgstr "trier les images"
|
103 |
|
104 |
+
#: gallery-plugin.php:230
|
105 |
msgid "on the plugin settings page ("
|
106 |
msgstr "dans les paramètres du plugin ("
|
107 |
|
108 |
+
#: gallery-plugin.php:274
|
109 |
+
#: gallery-plugin.php:476
|
110 |
+
msgid "Title"
|
111 |
+
msgstr "Titre"
|
112 |
+
|
113 |
+
#: gallery-plugin.php:276
|
114 |
msgid "URL"
|
115 |
msgstr "URL"
|
116 |
|
|
|
|
|
|
|
|
|
117 |
#: gallery-plugin.php:276
|
118 |
+
msgid "(by click on image opens a link in a new window)"
|
119 |
+
msgstr "(cliquer sur l'image ouvre le lien dans une nouvelle fenêtre)"
|
120 |
+
|
121 |
+
#: gallery-plugin.php:277
|
122 |
msgid "This setting is available in Pro version"
|
123 |
msgstr "Ce paramètre est disponible dans la version Pro"
|
124 |
|
125 |
+
#: gallery-plugin.php:278
|
126 |
msgid "Open the link"
|
127 |
msgstr "Ouvrir le lien"
|
128 |
|
129 |
+
#: gallery-plugin.php:278
|
130 |
msgid "Current window"
|
131 |
msgstr "Fenêtre courrante"
|
132 |
|
133 |
+
#: gallery-plugin.php:278
|
134 |
msgid "New window"
|
135 |
msgstr "Nouvelle fenêtre"
|
136 |
|
137 |
+
#: gallery-plugin.php:279
|
138 |
msgid "Delete"
|
139 |
msgstr "Supprimer"
|
140 |
|
141 |
+
#: gallery-plugin.php:293
|
142 |
msgid "You can add a Single Gallery to the page or post by inserting this shortcode into the content"
|
143 |
msgstr "Vous pouvez ajouter la galerie dans la page ou l'article en insérant le code court dans le contenu"
|
144 |
|
145 |
+
#: gallery-plugin.php:295
|
146 |
msgid "If you want to display a short description containing a screenshot and the link to the Single Gallery Page"
|
147 |
msgstr "Si vous voulez avoir un bref aperçu de la galerie avec un lien vers une page unique de la galerie"
|
148 |
|
149 |
+
#: gallery-plugin.php:477
|
|
|
|
|
|
|
|
|
150 |
msgid "Author"
|
151 |
msgstr "Auteur"
|
152 |
|
153 |
+
#: gallery-plugin.php:478
|
154 |
msgid "Photo"
|
155 |
msgstr "Photo"
|
156 |
|
157 |
+
#: gallery-plugin.php:479
|
158 |
msgid "Publishing"
|
159 |
msgstr "Public"
|
160 |
|
161 |
+
#: gallery-plugin.php:480
|
162 |
+
#: gallery-plugin.php:1154
|
163 |
msgid "Date"
|
164 |
msgstr "Date"
|
165 |
|
166 |
+
#: gallery-plugin.php:654
|
167 |
msgid "Not set"
|
168 |
+
msgstr "Not set"
|
169 |
|
170 |
+
#: gallery-plugin.php:656
|
171 |
#: gallery-plugin.php:660
|
|
|
172 |
msgid "On"
|
173 |
+
msgstr "On"
|
174 |
|
175 |
+
#: gallery-plugin.php:658
|
176 |
#: gallery-plugin.php:662
|
|
|
177 |
msgid "Off"
|
178 |
+
msgstr "Off"
|
179 |
|
180 |
+
#: gallery-plugin.php:666
|
181 |
#: gallery-plugin.php:670
|
182 |
#: gallery-plugin.php:674
|
183 |
#: gallery-plugin.php:678
|
184 |
#: gallery-plugin.php:682
|
185 |
+
#: gallery-plugin.php:708
|
|
|
186 |
msgid "N/A"
|
187 |
+
msgstr "N/A"
|
188 |
|
189 |
+
#: gallery-plugin.php:680
|
190 |
msgid " Mb"
|
191 |
+
msgstr " Mb"
|
192 |
|
193 |
+
#: gallery-plugin.php:684
|
194 |
#: gallery-plugin.php:688
|
195 |
#: gallery-plugin.php:692
|
196 |
+
#: gallery-plugin.php:703
|
|
|
197 |
msgid "Yes"
|
198 |
+
msgstr "Yes"
|
199 |
|
200 |
+
#: gallery-plugin.php:686
|
201 |
#: gallery-plugin.php:690
|
202 |
#: gallery-plugin.php:694
|
203 |
+
#: gallery-plugin.php:705
|
|
|
204 |
msgid "No"
|
205 |
+
msgstr "No"
|
206 |
|
207 |
+
#: gallery-plugin.php:719
|
208 |
msgid "Operating System"
|
209 |
+
msgstr "Operating System"
|
210 |
|
211 |
+
#: gallery-plugin.php:720
|
212 |
msgid "Server"
|
213 |
+
msgstr "Server"
|
214 |
|
215 |
+
#: gallery-plugin.php:721
|
216 |
msgid "Memory usage"
|
217 |
+
msgstr "Memory usage"
|
218 |
|
219 |
+
#: gallery-plugin.php:722
|
220 |
msgid "MYSQL Version"
|
221 |
+
msgstr "MYSQL Version"
|
222 |
|
223 |
+
#: gallery-plugin.php:723
|
224 |
msgid "SQL Mode"
|
225 |
+
msgstr "SQL Mode"
|
226 |
|
227 |
+
#: gallery-plugin.php:724
|
228 |
msgid "PHP Version"
|
229 |
+
msgstr "PHP Version"
|
230 |
|
231 |
+
#: gallery-plugin.php:725
|
232 |
msgid "PHP Safe Mode"
|
233 |
+
msgstr "PHP Safe Mode"
|
234 |
|
235 |
+
#: gallery-plugin.php:726
|
236 |
msgid "PHP Allow URL fopen"
|
237 |
+
msgstr "PHP Allow URL fopen"
|
238 |
|
239 |
+
#: gallery-plugin.php:727
|
240 |
msgid "PHP Memory Limit"
|
241 |
+
msgstr "PHP Memory Limit"
|
242 |
|
243 |
+
#: gallery-plugin.php:728
|
|
|
244 |
msgid "PHP Max Upload Size"
|
245 |
+
msgstr "PHP Max Upload Size"
|
246 |
|
247 |
+
#: gallery-plugin.php:729
|
248 |
msgid "PHP Max Post Size"
|
249 |
+
msgstr "PHP Max Post Size"
|
250 |
|
251 |
+
#: gallery-plugin.php:730
|
252 |
msgid "PHP Max Script Execute Time"
|
253 |
+
msgstr "PHP Max Script Execute Time"
|
254 |
|
255 |
+
#: gallery-plugin.php:731
|
256 |
msgid "PHP Exif support"
|
257 |
+
msgstr "PHP Exif support"
|
258 |
|
259 |
+
#: gallery-plugin.php:732
|
260 |
msgid "PHP IPTC support"
|
261 |
+
msgstr "PHP IPTC support"
|
262 |
|
263 |
+
#: gallery-plugin.php:733
|
264 |
msgid "PHP XML support"
|
265 |
+
msgstr "PHP XML support"
|
266 |
|
267 |
+
#: gallery-plugin.php:734
|
|
|
268 |
msgid "Site URL"
|
269 |
+
msgstr "Site URL"
|
270 |
|
271 |
+
#: gallery-plugin.php:735
|
272 |
msgid "Home URL"
|
273 |
+
msgstr "Home URL"
|
274 |
|
275 |
+
#: gallery-plugin.php:736
|
276 |
msgid "WordPress Version"
|
277 |
+
msgstr "WordPress Version"
|
278 |
|
279 |
+
#: gallery-plugin.php:737
|
280 |
msgid "WordPress DB Version"
|
281 |
+
msgstr "WordPress DB Version"
|
282 |
|
283 |
+
#: gallery-plugin.php:738
|
284 |
msgid "Multisite"
|
285 |
+
msgstr "Multisite"
|
286 |
|
287 |
+
#: gallery-plugin.php:739
|
288 |
msgid "Active Theme"
|
289 |
+
msgstr "Active Theme"
|
290 |
|
291 |
+
#: gallery-plugin.php:754
|
292 |
msgid "Please enter a valid email address."
|
293 |
+
msgstr "Merci de fournir une adresse e-mail valide."
|
294 |
|
295 |
+
#: gallery-plugin.php:758
|
296 |
msgid "Email with system info is sent to "
|
297 |
+
msgstr "L'e-mail avec les informations systèmes est envoyé à "
|
298 |
|
299 |
+
#: gallery-plugin.php:762
|
300 |
msgid "Thank you for contacting us."
|
301 |
+
msgstr "Merci d'avoir pris contact avec nous."
|
302 |
|
303 |
+
#: gallery-plugin.php:790
|
304 |
msgid "Sorry, email message could not be delivered."
|
305 |
+
msgstr "Désoler, l'e-mail n'a pas pu être envoyé."
|
306 |
|
307 |
+
#: gallery-plugin.php:798
|
308 |
msgid "Pro plugins"
|
309 |
msgstr "Extensions Pro"
|
310 |
|
311 |
+
#: gallery-plugin.php:801
|
312 |
+
#: gallery-plugin.php:827
|
313 |
msgid "Activated plugins"
|
314 |
msgstr "Extensions activées"
|
315 |
|
316 |
+
#: gallery-plugin.php:803
|
317 |
+
#: gallery-plugin.php:811
|
318 |
+
#: gallery-plugin.php:819
|
319 |
+
#: gallery-plugin.php:829
|
320 |
+
#: gallery-plugin.php:837
|
321 |
+
#: gallery-plugin.php:845
|
322 |
msgid "Read more"
|
323 |
msgstr "Lire plus..."
|
324 |
|
325 |
+
#: gallery-plugin.php:803
|
326 |
+
#: gallery-plugin.php:829
|
327 |
+
#: gallery-plugin.php:1237
|
328 |
+
#: gallery-plugin.php:1252
|
329 |
msgid "Settings"
|
330 |
msgstr "Paramètres"
|
331 |
|
332 |
+
#: gallery-plugin.php:809
|
333 |
+
#: gallery-plugin.php:835
|
334 |
msgid "Installed plugins"
|
335 |
msgstr "Extensions installées"
|
336 |
|
337 |
+
#: gallery-plugin.php:817
|
338 |
+
#: gallery-plugin.php:843
|
339 |
msgid "Recommended plugins"
|
340 |
msgstr "Extensions recommandées"
|
341 |
|
342 |
+
#: gallery-plugin.php:819
|
343 |
msgid "Purchase"
|
344 |
msgstr "Acheter"
|
345 |
|
346 |
+
#: gallery-plugin.php:824
|
347 |
msgid "Free plugins"
|
348 |
msgstr "Extensions gratuites"
|
349 |
|
350 |
+
#: gallery-plugin.php:845
|
351 |
msgid "Download"
|
352 |
msgstr "Télécharger"
|
353 |
|
354 |
+
#: gallery-plugin.php:845
|
355 |
#, php-format
|
356 |
msgid "Install %s"
|
357 |
msgstr "Installation %s"
|
358 |
|
359 |
+
#: gallery-plugin.php:845
|
360 |
msgid "Install now from wordpress.org"
|
361 |
msgstr "Installation à partir de wordpress.org"
|
362 |
|
363 |
+
#: gallery-plugin.php:850
|
364 |
msgid "If you have any questions, please contact us via"
|
365 |
msgstr "Si vous avez des questions, merci de nous contacter via "
|
366 |
|
367 |
+
#: gallery-plugin.php:857
|
368 |
msgid "System status"
|
369 |
+
msgstr "System status"
|
370 |
|
371 |
+
#: gallery-plugin.php:861
|
372 |
msgid "Environment"
|
373 |
+
msgstr "Environment"
|
374 |
|
375 |
+
#: gallery-plugin.php:872
|
|
|
376 |
msgid "Active Plugins"
|
377 |
+
msgstr "Active Plugins"
|
378 |
|
379 |
+
#: gallery-plugin.php:883
|
|
|
380 |
msgid "Inactive Plugins"
|
381 |
+
msgstr "Inactive Plugins"
|
382 |
|
383 |
+
#: gallery-plugin.php:897
|
|
|
384 |
msgid "Send to support"
|
385 |
+
msgstr "Envoyer au support"
|
386 |
|
387 |
+
#: gallery-plugin.php:904
|
388 |
msgid "Send to custom email »"
|
389 |
+
msgstr "Envoyer un e-mail spécifique »"
|
390 |
|
391 |
+
#: gallery-plugin.php:946
|
392 |
msgid "See images »"
|
393 |
msgstr "Voir les images »"
|
394 |
|
395 |
+
#: gallery-plugin.php:1029
|
396 |
msgid "Settings are saved"
|
397 |
msgstr "Paramètres sauvegardés."
|
398 |
|
399 |
+
#: gallery-plugin.php:1043
|
400 |
msgid "Gallery Settings"
|
401 |
msgstr "Paramètres de la galerie"
|
402 |
|
403 |
+
#: gallery-plugin.php:1046
|
404 |
msgid "If you would like to add a Single Gallery to your page or post, just copy and paste this shortcode into your post or page:"
|
405 |
msgstr "Si vous voulez ajouter la galerie dans une page ou un article, copier le code court suivant dans le contenu de votre page ou de votre article:"
|
406 |
|
407 |
+
#: gallery-plugin.php:1050
|
408 |
msgid "Image size for the album cover"
|
409 |
msgstr "Taille de la vignette de l'album"
|
410 |
|
411 |
+
#: gallery-plugin.php:1052
|
412 |
+
#: gallery-plugin.php:1060
|
413 |
+
#: gallery-plugin.php:1073
|
414 |
msgid "Image size"
|
415 |
msgstr "Taille de l'image"
|
416 |
|
417 |
+
#: gallery-plugin.php:1053
|
418 |
+
#: gallery-plugin.php:1061
|
419 |
msgid "Width (in px)"
|
420 |
msgstr "Largeur (en pixels)"
|
421 |
|
422 |
+
#: gallery-plugin.php:1054
|
423 |
+
#: gallery-plugin.php:1062
|
424 |
msgid "Height (in px)"
|
425 |
msgstr "Hauteur (en pixels)"
|
426 |
|
427 |
+
#: gallery-plugin.php:1058
|
428 |
msgid "Gallery image size"
|
429 |
msgstr "Taille de l'image de la galerie"
|
430 |
|
431 |
+
#: gallery-plugin.php:1066
|
432 |
msgid "WordPress will create a new thumbnail with the specified dimensions when you upload a new photo."
|
433 |
msgstr "WordPress créera une copie de la miniature avec les dimensions spécifiées quand vous envoyez une nouvelle photo."
|
434 |
|
435 |
+
#: gallery-plugin.php:1071
|
436 |
msgid "Gallery image size in the lightbox"
|
437 |
msgstr "Taille de l'image de la galerie"
|
438 |
|
439 |
+
#: gallery-plugin.php:1074
|
440 |
msgid "Max width (in px)"
|
441 |
msgstr "Largeur maximum (en pixels)"
|
442 |
|
443 |
+
#: gallery-plugin.php:1075
|
444 |
msgid "Max height (in px)"
|
445 |
msgstr "Hauteur maximum (en pixels)"
|
446 |
|
447 |
+
#: gallery-plugin.php:1076
|
448 |
msgid "Display a full size image in the lightbox"
|
449 |
+
msgstr "Afficher une image en taille normale dans la boite"
|
450 |
|
451 |
+
#: gallery-plugin.php:1080
|
452 |
msgid "Crop position"
|
453 |
msgstr "Point de base"
|
454 |
|
455 |
+
#: gallery-plugin.php:1082
|
456 |
msgid "Horizontal"
|
457 |
msgstr "Horizontale"
|
458 |
|
459 |
+
#: gallery-plugin.php:1084
|
460 |
msgid "left"
|
461 |
msgstr "gauche"
|
462 |
|
463 |
+
#: gallery-plugin.php:1085
|
464 |
+
#: gallery-plugin.php:1092
|
465 |
msgid "center"
|
466 |
msgstr "centré"
|
467 |
|
468 |
+
#: gallery-plugin.php:1086
|
469 |
msgid "right"
|
470 |
msgstr "droite"
|
471 |
|
472 |
+
#: gallery-plugin.php:1089
|
473 |
msgid "Vertical"
|
474 |
msgstr "Verticale"
|
475 |
|
476 |
+
#: gallery-plugin.php:1091
|
477 |
msgid "top"
|
478 |
msgstr "haut"
|
479 |
|
480 |
+
#: gallery-plugin.php:1093
|
481 |
msgid "bottom"
|
482 |
msgstr "bas"
|
483 |
|
484 |
+
#: gallery-plugin.php:1098
|
485 |
msgid "Lightbox background"
|
486 |
msgstr "Fond de la boite"
|
487 |
|
488 |
+
#: gallery-plugin.php:1100
|
489 |
msgid "Default"
|
490 |
msgstr "Défaut"
|
491 |
|
492 |
+
#: gallery-plugin.php:1101
|
493 |
msgid "Background transparency (from 0 to 1)"
|
494 |
msgstr "Transparence du fond (de 0 à 1)"
|
495 |
|
496 |
+
#: gallery-plugin.php:1103
|
497 |
msgid "Select a background color"
|
498 |
msgstr "Choisir une couleur pour le fond"
|
499 |
|
500 |
+
#: gallery-plugin.php:1105
|
501 |
msgid "Background color"
|
502 |
msgstr "Couleur du fond"
|
503 |
|
504 |
+
#: gallery-plugin.php:1112
|
505 |
+
#: gallery-plugin.php:1217
|
506 |
msgid "This functionality is available in the Pro version of the plugin. For more details, please follow the link"
|
507 |
msgstr "Cette fonction est disponible dans le version pro de ce plugin. Pour plus de détails, suivre le lien"
|
508 |
|
509 |
+
#: gallery-plugin.php:1119
|
510 |
msgid "Images with border"
|
511 |
msgstr "Image avec bordure"
|
512 |
|
513 |
+
#: gallery-plugin.php:1122
|
514 |
msgid "Border width in px, just numbers"
|
515 |
msgstr "Taille de la bordure en pixel, juste le nombre"
|
516 |
|
517 |
+
#: gallery-plugin.php:1124
|
518 |
+
#: gallery-plugin.php:1126
|
519 |
msgid "Select a border color"
|
520 |
msgstr "Choisir une couleur pour la bordure"
|
521 |
|
522 |
+
#: gallery-plugin.php:1132
|
523 |
msgid "Number of images in the row"
|
524 |
msgstr "Nombre d'images par ligne"
|
525 |
|
526 |
+
#: gallery-plugin.php:1138
|
527 |
msgid "Start slideshow"
|
528 |
msgstr "Démarer le diaporama"
|
529 |
|
530 |
+
#: gallery-plugin.php:1144
|
531 |
msgid "Slideshow interval"
|
532 |
msgstr "Interval de transition pour le diaporama"
|
533 |
|
534 |
+
#: gallery-plugin.php:1152
|
535 |
msgid "Attachment ID"
|
536 |
msgstr "ID du fichier"
|
537 |
|
538 |
+
#: gallery-plugin.php:1153
|
539 |
msgid "Image Name"
|
540 |
msgstr "Nom de l'image "
|
541 |
|
542 |
+
#: gallery-plugin.php:1155
|
543 |
msgid "Sorting order (the input field for sorting order in the Insert / Upload Media Gallery dialog)"
|
544 |
msgstr "Ordre de tri (le nombre dans la fenêtre d'insertion / téléchargement de la galerie)"
|
545 |
|
546 |
+
#: gallery-plugin.php:1156
|
547 |
msgid "Random"
|
548 |
msgstr "Aléatoire"
|
549 |
|
550 |
+
#: gallery-plugin.php:1160
|
551 |
msgid "Sort images"
|
552 |
msgstr "Trier les images"
|
553 |
|
554 |
+
#: gallery-plugin.php:1162
|
555 |
msgid "ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)"
|
556 |
msgstr "ASC (ordre ascendant de la plus petite à la plus grande valeur - 1, 2, 3; a, b, c)"
|
557 |
|
558 |
+
#: gallery-plugin.php:1163
|
559 |
msgid "DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)"
|
560 |
msgstr "DESC (ordre descendant de la plus grade à la plus petite - 3, 2, 1; c, b, a)"
|
561 |
|
562 |
+
#: gallery-plugin.php:1167
|
563 |
msgid "Display text above the image"
|
564 |
msgstr "Aficher le texte au dessus de l'image"
|
565 |
|
566 |
+
#: gallery-plugin.php:1169
|
567 |
+
msgid "Turn off the checkbox, if you want to display text just in a lightbox"
|
568 |
+
msgstr "Si vous voulez juste afficher du texte dans une boite, désactiver l'option"
|
569 |
|
570 |
+
#: gallery-plugin.php:1173
|
571 |
msgid "Display the Back link"
|
572 |
msgstr "Afficher le lien de retour"
|
573 |
|
574 |
+
#: gallery-plugin.php:1179
|
575 |
msgid "Display the Back link in the shortcode"
|
576 |
msgstr "Afficher le lien de retour dans le code court"
|
577 |
|
578 |
+
#: gallery-plugin.php:1185
|
579 |
msgid "The Back link text"
|
580 |
msgstr "Le text pour le lien de retour"
|
581 |
|
582 |
+
#: gallery-plugin.php:1191
|
583 |
msgid "The Back link URL"
|
584 |
msgstr "L'URL pour le lien de retour"
|
585 |
|
586 |
+
#: gallery-plugin.php:1193
|
587 |
msgid "Gallery page (Page with Gallery Template)"
|
588 |
msgstr "Page de la galerie (Page avec le modèle de galerie)"
|
589 |
|
590 |
+
#: gallery-plugin.php:1195
|
591 |
msgid "(Full URL to custom page)"
|
592 |
msgstr "(URL complète pour la page spécifique)"
|
593 |
|
594 |
+
#: gallery-plugin.php:1199
|
595 |
msgid "The Read More link text"
|
596 |
msgstr "Texte pour le lien \"Read More\""
|
597 |
|
598 |
+
#: gallery-plugin.php:1207
|
|
|
599 |
msgid "Display Like buttons in the lightbox"
|
600 |
+
msgstr "Afficher les boutons des réseaux sociaux dans la boite"
|
601 |
|
602 |
+
#: gallery-plugin.php:1209
|
603 |
msgid "FaceBook"
|
604 |
+
msgstr "FaceBook"
|
605 |
|
606 |
+
#: gallery-plugin.php:1210
|
|
|
607 |
msgid "Twitter"
|
608 |
+
msgstr "Twitter"
|
609 |
|
610 |
+
#: gallery-plugin.php:1211
|
611 |
msgid "Pinterest"
|
612 |
+
msgstr "Pinterest"
|
613 |
|
614 |
+
#: gallery-plugin.php:1212
|
615 |
msgid "Google +1"
|
616 |
+
msgstr "Google +1"
|
617 |
|
618 |
+
#: gallery-plugin.php:1225
|
619 |
msgid "Save Changes"
|
620 |
msgstr "Sauvegarder"
|
621 |
|
622 |
+
#: gallery-plugin.php:1238
|
623 |
msgid "FAQ"
|
624 |
msgstr "FAQ"
|
625 |
|
626 |
+
#: gallery-plugin.php:1239
|
627 |
msgid "Support"
|
628 |
msgstr "Soutien"
|
629 |
|
630 |
+
#: gallery-plugin.php:1449
|
631 |
#: template/gallery-single-template.php:76
|
632 |
msgid "Sorry, nothing found."
|
633 |
msgstr "Désolé, rien n'a été trouvé"
|
634 |
|
635 |
+
#: gallery-plugin.php:1471
|
636 |
+
#: template/gallery-single-template.php:102
|
637 |
msgid "Download high resolution image"
|
638 |
msgstr "Télécharger l'image en haute résolution"
|
639 |
|
640 |
+
#: template/gallery-single-template.php:102
|
641 |
msgid "Image"
|
642 |
msgstr "Image "
|
643 |
|
languages/gallery-sr_RS.po
CHANGED
File without changes
|
languages/gallery-tr.mo
CHANGED
File without changes
|
languages/gallery-tr.po
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=10
|
|
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.6
|
7 |
-
Stable tag: 3.9.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -16,6 +16,7 @@ This plugin makes it possible to implement as many galleries as you want into yo
|
|
16 |
|
17 |
<a href="http://wordpress.org/extend/plugins/gallery-plugin/faq/" target="_blank">FAQ</a>
|
18 |
<a href="http://support.bestwebsoft.com" target="_blank">Support</a>
|
|
|
19 |
|
20 |
<a href="http://bestwebsoft.com/plugin/gallery-pro/?k=57ad5c0c7fe312e2a45ef9a76f47334c" target="_blank">Upgrade to Pro Version</a>
|
21 |
|
@@ -48,7 +49,7 @@ This plugin makes it possible to implement as many galleries as you want into yo
|
|
48 |
* Persian (fa_IR) (thanks to Einolah Kiamehr and Meisam)
|
49 |
* Polish (pl_PL) (thanks to Janusz Janczy, Bezcennyczas.pl)
|
50 |
* Russian (ru_RU)
|
51 |
-
* Serbian (sr_RS) (thanks to
|
52 |
* Spanish (es) (thanks to Victor Garcia)
|
53 |
* Turkish (tr) (thanks to <a href="mailto:ce.demirbilek@gmail.com">Ismail Demirbilek</a>)
|
54 |
* Ukrainian (uk_UA)(thanks to Ted Mosby)
|
@@ -63,6 +64,8 @@ If you notice any bugs in the plugins, you can notify us about it and we'll inve
|
|
63 |
Moreover we can customize the plugin according to your requirements. It's a paid service (as a rule it costs $40, but the price can vary depending on the amount of the necessary changes and their complexity). Please note that we could also include this or that feature (developed for you) in the next release and share with the other users then.
|
64 |
We can fix some things for free for the users who provide translation of our plugin into their native language (this should be a new translation of a certain plugin, you can check available translations on the official plugin page).
|
65 |
|
|
|
|
|
66 |
== Installation ==
|
67 |
|
68 |
1. Upload the `Gallery` folder to the directory `/wp-content/plugins/`.
|
@@ -144,6 +147,10 @@ and add (for the themes Twenty Eleven or Twenty Ten):
|
|
144 |
|
145 |
== Changelog ==
|
146 |
|
|
|
|
|
|
|
|
|
147 |
= V3.9.6 - 13.08.2013 =
|
148 |
* Update : The Serbian language file is updated.
|
149 |
|
@@ -316,6 +323,9 @@ and add (for the themes Twenty Eleven or Twenty Ten):
|
|
316 |
|
317 |
== Upgrade Notice ==
|
318 |
|
|
|
|
|
|
|
319 |
= V3.9.6 =
|
320 |
The Serbian language file is updated.
|
321 |
|
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.6
|
7 |
+
Stable tag: 3.9.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
16 |
|
17 |
<a href="http://wordpress.org/extend/plugins/gallery-plugin/faq/" target="_blank">FAQ</a>
|
18 |
<a href="http://support.bestwebsoft.com" target="_blank">Support</a>
|
19 |
+
<a href="https://bestwebsoft.zendesk.com/entries/25561503-Information-for-our-customers" target="_blank">Сonditions of support</a>
|
20 |
|
21 |
<a href="http://bestwebsoft.com/plugin/gallery-pro/?k=57ad5c0c7fe312e2a45ef9a76f47334c" target="_blank">Upgrade to Pro Version</a>
|
22 |
|
49 |
* Persian (fa_IR) (thanks to Einolah Kiamehr and Meisam)
|
50 |
* Polish (pl_PL) (thanks to Janusz Janczy, Bezcennyczas.pl)
|
51 |
* Russian (ru_RU)
|
52 |
+
* Serbian (sr_RS) (thanks to <a href="mailto:andrijanan@webhostinggeeks.com">Andrijana Nikolic</a> www.webhostinggeeks.com )
|
53 |
* Spanish (es) (thanks to Victor Garcia)
|
54 |
* Turkish (tr) (thanks to <a href="mailto:ce.demirbilek@gmail.com">Ismail Demirbilek</a>)
|
55 |
* Ukrainian (uk_UA)(thanks to Ted Mosby)
|
64 |
Moreover we can customize the plugin according to your requirements. It's a paid service (as a rule it costs $40, but the price can vary depending on the amount of the necessary changes and their complexity). Please note that we could also include this or that feature (developed for you) in the next release and share with the other users then.
|
65 |
We can fix some things for free for the users who provide translation of our plugin into their native language (this should be a new translation of a certain plugin, you can check available translations on the official plugin page).
|
66 |
|
67 |
+
For more details see <a href="https://bestwebsoft.zendesk.com/entries/25561503-Information-for-our-customers" target="_blank">Сonditions of support</a>.
|
68 |
+
|
69 |
== Installation ==
|
70 |
|
71 |
1. Upload the `Gallery` folder to the directory `/wp-content/plugins/`.
|
147 |
|
148 |
== Changelog ==
|
149 |
|
150 |
+
= V3.9.7 - 26.08.2013 =
|
151 |
+
* Update : The French language file is updated.
|
152 |
+
* Bugfix : We added replacing spaces in the file name when uploading.
|
153 |
+
|
154 |
= V3.9.6 - 13.08.2013 =
|
155 |
* Update : The Serbian language file is updated.
|
156 |
|
323 |
|
324 |
== Upgrade Notice ==
|
325 |
|
326 |
+
= V3.9.7 =
|
327 |
+
The French language file is updated. We added replacing spaces in the file name when uploading.
|
328 |
+
|
329 |
= V3.9.6 =
|
330 |
The Serbian language file is updated.
|
331 |
|
template/gallery-single-template.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php get_header(); ?>
|
2 |
<div id="container" class="site-content">
|
3 |
-
<div
|
4 |
<?php
|
5 |
global $post, $wp_query;
|
6 |
$args = array(
|
1 |
<?php get_header(); ?>
|
2 |
<div id="container" class="site-content">
|
3 |
+
<div id="content" class="hentry">
|
4 |
<?php
|
5 |
global $post, $wp_query;
|
6 |
$args = array(
|
template/gallery-template.php
CHANGED
@@ -6,7 +6,7 @@ Template Name: Gallery Template
|
|
6 |
|
7 |
<?php get_header(); ?>
|
8 |
<div id="container" class="site-content">
|
9 |
-
<div
|
10 |
<h1 class="home_page_title entry-header"><?php the_title(); ?></h1>
|
11 |
<?php if ( function_exists( 'pdfprnt_show_buttons_for_custom_post_type' ) ) echo pdfprnt_show_buttons_for_custom_post_type( 'post_type=gallery&orderby=post_date' ); ?>
|
12 |
<div class="gallery_box entry-content">
|
6 |
|
7 |
<?php get_header(); ?>
|
8 |
<div id="container" class="site-content">
|
9 |
+
<div id="content" class="hentry">
|
10 |
<h1 class="home_page_title entry-header"><?php the_title(); ?></h1>
|
11 |
<?php if ( function_exists( 'pdfprnt_show_buttons_for_custom_post_type' ) ) echo pdfprnt_show_buttons_for_custom_post_type( 'post_type=gallery&orderby=post_date' ); ?>
|
12 |
<div class="gallery_box entry-content">
|