Version Description
- 27.11.2011
Download this release
Release Info
Developer | alexrabe |
Plugin | NextGEN Gallery – WordPress Gallery Plugin |
Version | 1.9.0 |
Comparing to | |
See all releases |
Code changes from version 1.8.4 to 1.9.0
- admin/addgallery.php +142 -18
- admin/admin.php +118 -37
- admin/album.php +7 -3
- admin/css/nggadmin.css +1 -6
- admin/edit-thumbnail.php +10 -12
- admin/functions.php +20 -16
- admin/install.php +0 -2
- admin/js/jquery.ui.autocomplete.js +612 -0
- admin/js/jquery.ui.autocomplete.min.js +19 -18
- admin/js/ngg.progressbar.js +6 -3
- admin/js/plupload.handler.js +244 -0
- admin/js/swfupload.handler.js +1 -1
- admin/manage-galleries.php +1 -0
- admin/manage-images.php +6 -5
- admin/manage.php +14 -7
- admin/overview.php +15 -12
- admin/pointer.php +98 -0
- admin/rotate.php +1 -1
- admin/settings.php +5 -9
- admin/tinymce/window.php +3 -3
- admin/upload.php +0 -3
- changelog.txt +17 -2
- css/nggallery.css +5 -4
- js/jquery.cycle.all.js +355 -195
- js/jquery.cycle.all.min.js +1 -21
- lang/nggallery-de_DE.mo +0 -0
- lang/nggallery-de_DE.po +627 -507
- lang/nggallery.pot +618 -506
- lib/core.php +18 -2
- lib/gd.thumbnail.inc.php +48 -57
- lib/media-rss.php +3 -5
- lib/meta.php +27 -11
- lib/navigation.php +10 -7
- lib/ngg-db.php +1 -1
- lib/post-thumbnail.php +4 -5
- lib/shortcodes.php +16 -3
- lib/tags.php +1 -1
- lib/xmlrpc.php +2 -2
- nggallery.php +32 -24
- nggfunctions.php +12 -12
- readme.txt +18 -2
- shutter/shutter-reloaded.css +1 -0
- shutter/shutter-reloaded.js +13 -4
- xml/json.php +14 -13
admin/addgallery.php
CHANGED
@@ -15,7 +15,7 @@ class nggAddGallery {
|
|
15 |
}
|
16 |
|
17 |
/**
|
18 |
-
*
|
19 |
*
|
20 |
* @return void
|
21 |
*/
|
@@ -35,11 +35,11 @@ class nggAddGallery {
|
|
35 |
* @return void
|
36 |
*/
|
37 |
function processor() {
|
38 |
-
global $wpdb, $ngg;
|
39 |
|
40 |
$defaultpath = $ngg->options['gallerypath'];
|
41 |
|
42 |
-
if ($_POST['addgallery']){
|
43 |
check_admin_referer('ngg_addgallery');
|
44 |
|
45 |
if ( !nggGallery::current_user_can( 'NextGEN Add new gallery' ))
|
@@ -50,7 +50,7 @@ class nggAddGallery {
|
|
50 |
nggAdmin::create_gallery($newgallery, $defaultpath);
|
51 |
}
|
52 |
|
53 |
-
if ($_POST['zipupload']){
|
54 |
check_admin_referer('ngg_addgallery');
|
55 |
|
56 |
if ( !nggGallery::current_user_can( 'NextGEN Upload a zip' ))
|
@@ -62,7 +62,7 @@ class nggAddGallery {
|
|
62 |
nggGallery::show_error( __('Upload failed!','nggallery') );
|
63 |
}
|
64 |
|
65 |
-
if ($_POST['importfolder']){
|
66 |
check_admin_referer('ngg_addgallery');
|
67 |
|
68 |
if ( !nggGallery::current_user_can( 'NextGEN Import image folder' ))
|
@@ -73,7 +73,7 @@ class nggAddGallery {
|
|
73 |
nggAdmin::import_gallery($galleryfolder);
|
74 |
}
|
75 |
|
76 |
-
if ($_POST['uploadimage']){
|
77 |
check_admin_referer('ngg_addgallery');
|
78 |
|
79 |
if ( !nggGallery::current_user_can( 'NextGEN Upload in all galleries' ))
|
@@ -85,15 +85,17 @@ class nggAddGallery {
|
|
85 |
nggGallery::show_error( __('Upload failed! ' . nggAdmin::decode_upload_error( $_FILES['imagefiles']['error'][0]),'nggallery') );
|
86 |
}
|
87 |
|
88 |
-
if (isset($_POST['swf_callback'])){
|
89 |
if ($_POST['galleryselect'] == '0' )
|
90 |
nggGallery::show_error(__('No gallery selected !','nggallery'));
|
91 |
else {
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
|
|
|
|
97 |
}
|
98 |
|
99 |
if ( isset($_POST['disable_flash']) ){
|
@@ -136,9 +138,108 @@ class nggAddGallery {
|
|
136 |
|
137 |
// with this filter you can add custom file types
|
138 |
$file_types = apply_filters( 'ngg_swf_file_types', '*.jpg;*.jpeg;*.gif;*.png;*.JPG;*.JPEG;*.GIF;*.PNG' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
?>
|
140 |
|
141 |
<?php if($ngg->options['swfUpload'] && !empty ($this->gallerylist) ) { ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
<!-- SWFUpload script -->
|
143 |
<script type="text/javascript">
|
144 |
var ngg_swf_upload;
|
@@ -200,7 +301,7 @@ class nggAddGallery {
|
|
200 |
|
201 |
};
|
202 |
</script>
|
203 |
-
|
204 |
<?php } else { ?>
|
205 |
<!-- MultiFile script -->
|
206 |
<script type="text/javascript">
|
@@ -220,7 +321,8 @@ class nggAddGallery {
|
|
220 |
/* <![CDATA[ */
|
221 |
jQuery(document).ready(function(){
|
222 |
jQuery('html,body').scrollTop(0);
|
223 |
-
jQuery('#slider').tabs({ fxFade: true, fxSpeed: 'fast' });
|
|
|
224 |
});
|
225 |
|
226 |
// File Tree implementation
|
@@ -237,7 +339,7 @@ class nggAddGallery {
|
|
237 |
});
|
238 |
/* ]]> */
|
239 |
</script>
|
240 |
-
<div id="slider" class="wrap">
|
241 |
<ul id="tabs">
|
242 |
<?php
|
243 |
foreach($tabs as $tab_key => $tab_name) {
|
@@ -375,16 +477,38 @@ class nggAddGallery {
|
|
375 |
|
376 |
function tab_uploadimage() {
|
377 |
global $ngg;
|
|
|
|
|
378 |
?>
|
379 |
<!-- upload images -->
|
380 |
<h2><?php _e('Upload Images', 'nggallery') ;?></h2>
|
381 |
<form name="uploadimage" id="uploadimage_form" method="POST" enctype="multipart/form-data" action="<?php echo $this->filepath.'#uploadimage'; ?>" accept-charset="utf-8" >
|
382 |
<?php wp_nonce_field('ngg_addgallery') ?>
|
383 |
-
<table class="form-table">
|
384 |
-
|
|
|
385 |
<th scope="row"><?php _e('Upload image', 'nggallery') ;?></th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
386 |
<td><span id='spanButtonPlaceholder'></span><input type="file" name="imagefiles[]" id="imagefiles" size="35" class="imagefiles"/></td>
|
387 |
-
|
|
|
388 |
<tr valign="top">
|
389 |
<th scope="row"><?php _e('in to', 'nggallery') ;?></th>
|
390 |
<td><select name="galleryselect" id="galleryselect">
|
15 |
}
|
16 |
|
17 |
/**
|
18 |
+
* nggAddGallery::__construct()
|
19 |
*
|
20 |
* @return void
|
21 |
*/
|
35 |
* @return void
|
36 |
*/
|
37 |
function processor() {
|
38 |
+
global $wpdb, $ngg, $nggdb;
|
39 |
|
40 |
$defaultpath = $ngg->options['gallerypath'];
|
41 |
|
42 |
+
if ( isset($_POST['addgallery']) ){
|
43 |
check_admin_referer('ngg_addgallery');
|
44 |
|
45 |
if ( !nggGallery::current_user_can( 'NextGEN Add new gallery' ))
|
50 |
nggAdmin::create_gallery($newgallery, $defaultpath);
|
51 |
}
|
52 |
|
53 |
+
if ( isset($_POST['zipupload']) ){
|
54 |
check_admin_referer('ngg_addgallery');
|
55 |
|
56 |
if ( !nggGallery::current_user_can( 'NextGEN Upload a zip' ))
|
62 |
nggGallery::show_error( __('Upload failed!','nggallery') );
|
63 |
}
|
64 |
|
65 |
+
if ( isset($_POST['importfolder']) ){
|
66 |
check_admin_referer('ngg_addgallery');
|
67 |
|
68 |
if ( !nggGallery::current_user_can( 'NextGEN Import image folder' ))
|
73 |
nggAdmin::import_gallery($galleryfolder);
|
74 |
}
|
75 |
|
76 |
+
if ( isset($_POST['uploadimage']) ){
|
77 |
check_admin_referer('ngg_addgallery');
|
78 |
|
79 |
if ( !nggGallery::current_user_can( 'NextGEN Upload in all galleries' ))
|
85 |
nggGallery::show_error( __('Upload failed! ' . nggAdmin::decode_upload_error( $_FILES['imagefiles']['error'][0]),'nggallery') );
|
86 |
}
|
87 |
|
88 |
+
if ( isset($_POST['swf_callback']) ){
|
89 |
if ($_POST['galleryselect'] == '0' )
|
90 |
nggGallery::show_error(__('No gallery selected !','nggallery'));
|
91 |
else {
|
92 |
+
if ($_POST['swf_callback'] == '-1' )
|
93 |
+
nggGallery::show_error( __('Upload failed! ','nggallery') );
|
94 |
+
else {
|
95 |
+
$gallery = $nggdb->find_gallery( (int) $_POST['galleryselect'] );
|
96 |
+
nggAdmin::import_gallery( $gallery->path );
|
97 |
+
}
|
98 |
+
}
|
99 |
}
|
100 |
|
101 |
if ( isset($_POST['disable_flash']) ){
|
138 |
|
139 |
// with this filter you can add custom file types
|
140 |
$file_types = apply_filters( 'ngg_swf_file_types', '*.jpg;*.jpeg;*.gif;*.png;*.JPG;*.JPEG;*.GIF;*.PNG' );
|
141 |
+
|
142 |
+
// Set the post params, which plupload will post back with the file, and pass them through a filter.
|
143 |
+
$post_params = array(
|
144 |
+
"auth_cookie" => (is_ssl() ? $_COOKIE[SECURE_AUTH_COOKIE] : $_COOKIE[AUTH_COOKIE]),
|
145 |
+
"logged_in_cookie" => $_COOKIE[LOGGED_IN_COOKIE],
|
146 |
+
"_wpnonce" => wp_create_nonce('ngg_swfupload'),
|
147 |
+
"galleryselect" => "0",
|
148 |
+
);
|
149 |
+
$p = array();
|
150 |
+
|
151 |
+
foreach ( $post_params as $param => $val ) {
|
152 |
+
$val = esc_js( $val );
|
153 |
+
$p[] = "'$param' : '$val'";
|
154 |
+
}
|
155 |
+
|
156 |
+
$post_params_str = implode( ',', $p ). "\n";
|
157 |
+
|
158 |
?>
|
159 |
|
160 |
<?php if($ngg->options['swfUpload'] && !empty ($this->gallerylist) ) { ?>
|
161 |
+
<?php if ( defined('IS_WP_3_3') ) { ?>
|
162 |
+
<!-- plupload script -->
|
163 |
+
<script type="text/javascript">
|
164 |
+
//<![CDATA[
|
165 |
+
var resize_height = <?php echo (int) $ngg->options['imgHeight']; ?>,
|
166 |
+
resize_width = <?php echo (int) $ngg->options['imgWidth']; ?>;
|
167 |
+
|
168 |
+
jQuery(document).ready(function($) {
|
169 |
+
window.uploader = new plupload.Uploader({
|
170 |
+
runtimes: '<?php echo apply_filters('plupload_runtimes', 'html5,flash,silverlight,html4,'); ?>',
|
171 |
+
browse_button: 'plupload-browse-button',
|
172 |
+
container: 'plupload-upload-ui',
|
173 |
+
drop_element: 'uploadimage',
|
174 |
+
file_data_name: 'Filedata',
|
175 |
+
max_file_size: '<?php echo round( (int) wp_max_upload_size() / 1024 ); ?>kb',
|
176 |
+
url: '<?php echo esc_js( $swf_upload_link ); ?>',
|
177 |
+
flash_swf_url: '<?php echo esc_js( includes_url('js/plupload/plupload.flash.swf') ); ?>',
|
178 |
+
silverlight_xap_url: '<?php echo esc_js( includes_url('js/plupload/plupload.silverlight.xap') ); ?>',
|
179 |
+
filters: [
|
180 |
+
{title: '<?php echo esc_js( __('Image Files', 'nggallery') ); ?>', extensions: '<?php echo esc_js( str_replace( array('*.', ';'), array('', ','), $file_types) ); ?>'}
|
181 |
+
],
|
182 |
+
multipart: true,
|
183 |
+
urlstream_upload: true,
|
184 |
+
multipart_params : {
|
185 |
+
<?php echo $post_params_str; ?>
|
186 |
+
},
|
187 |
+
debug: false,
|
188 |
+
preinit : {
|
189 |
+
Init: function(up, info) {
|
190 |
+
debug('[Init]', 'Info :', info, 'Features :', up.features);
|
191 |
+
initUploader();
|
192 |
+
}
|
193 |
+
},
|
194 |
+
i18n : {
|
195 |
+
'remove' : '<?php _e('remove', 'nggallery') ;?>',
|
196 |
+
'browse' : '<?php _e('Browse...', 'nggallery') ;?>',
|
197 |
+
'upload' : '<?php _e('Upload images', 'nggallery') ;?>'
|
198 |
+
}
|
199 |
+
});
|
200 |
+
|
201 |
+
uploader.bind('FilesAdded', function(up, files) {
|
202 |
+
$.each(files, function(i, file) {
|
203 |
+
fileQueued(file);
|
204 |
+
});
|
205 |
+
|
206 |
+
up.refresh();
|
207 |
+
});
|
208 |
+
|
209 |
+
uploader.bind('BeforeUpload', function(up, file) {
|
210 |
+
uploadStart(file);
|
211 |
+
});
|
212 |
+
|
213 |
+
uploader.bind('UploadProgress', function(up, file) {
|
214 |
+
uploadProgress(file, file.loaded, file.size);
|
215 |
+
});
|
216 |
+
|
217 |
+
uploader.bind('Error', function(up, err) {
|
218 |
+
uploadError(err.file, err.code, err.message);
|
219 |
+
|
220 |
+
up.refresh();
|
221 |
+
});
|
222 |
+
|
223 |
+
uploader.bind('FileUploaded', function(up, file, response) {
|
224 |
+
uploadSuccess(file, response);
|
225 |
+
});
|
226 |
+
|
227 |
+
uploader.bind('UploadComplete', function(up, file) {
|
228 |
+
uploadComplete(file);
|
229 |
+
});
|
230 |
+
|
231 |
+
// on load change the upload to plupload
|
232 |
+
uploader.init();
|
233 |
+
|
234 |
+
nggAjaxOptions = {
|
235 |
+
header: "<?php _e('Upload images', 'nggallery') ;?>",
|
236 |
+
maxStep: 100
|
237 |
+
};
|
238 |
+
|
239 |
+
});
|
240 |
+
//]]>
|
241 |
+
</script>
|
242 |
+
<?php } else { ?>
|
243 |
<!-- SWFUpload script -->
|
244 |
<script type="text/javascript">
|
245 |
var ngg_swf_upload;
|
301 |
|
302 |
};
|
303 |
</script>
|
304 |
+
<?php } ?>
|
305 |
<?php } else { ?>
|
306 |
<!-- MultiFile script -->
|
307 |
<script type="text/javascript">
|
321 |
/* <![CDATA[ */
|
322 |
jQuery(document).ready(function(){
|
323 |
jQuery('html,body').scrollTop(0);
|
324 |
+
jQuery('#slider').tabs({ fxFade: true, fxSpeed: 'fast' });
|
325 |
+
jQuery('#slider').css('display', 'block');
|
326 |
});
|
327 |
|
328 |
// File Tree implementation
|
339 |
});
|
340 |
/* ]]> */
|
341 |
</script>
|
342 |
+
<div id="slider" class="wrap" style="display: none;">
|
343 |
<ul id="tabs">
|
344 |
<?php
|
345 |
foreach($tabs as $tab_key => $tab_name) {
|
477 |
|
478 |
function tab_uploadimage() {
|
479 |
global $ngg;
|
480 |
+
// check the cookie for the current setting
|
481 |
+
$checked = get_user_setting('ngg_upload_resize') ? ' checked="true"' : '';
|
482 |
?>
|
483 |
<!-- upload images -->
|
484 |
<h2><?php _e('Upload Images', 'nggallery') ;?></h2>
|
485 |
<form name="uploadimage" id="uploadimage_form" method="POST" enctype="multipart/form-data" action="<?php echo $this->filepath.'#uploadimage'; ?>" accept-charset="utf-8" >
|
486 |
<?php wp_nonce_field('ngg_addgallery') ?>
|
487 |
+
<table class="form-table">
|
488 |
+
|
489 |
+
<tr valign="top">
|
490 |
<th scope="row"><?php _e('Upload image', 'nggallery') ;?></th>
|
491 |
+
<?php if ($ngg->options['swfUpload'] && defined('IS_WP_3_3') ) { ?>
|
492 |
+
<td>
|
493 |
+
<div id="plupload-upload-ui">
|
494 |
+
<div>
|
495 |
+
<?php _e( 'Choose files to upload' ); ?>
|
496 |
+
<input id="plupload-browse-button" type="button" value="<?php esc_attr_e('Select Files'); ?>" class="button" />
|
497 |
+
</div>
|
498 |
+
<p class="ngg-dragdrop-info howto" style="display:none;" ><?php _e('Or you can drop the files into this window.'); ?></p>
|
499 |
+
<div id='uploadQueue'></div>
|
500 |
+
<p><label><input name="image_resize" type="checkbox" id="image_resize" value="true"<?php echo $checked; ?> />
|
501 |
+
<?php printf( __( 'Scale images to max width %1$dpx or max height %2$dpx', 'nggallery' ), (int) $ngg->options['imgWidth' ], (int) $ngg->options[ 'imgHeight' ] ); ?>
|
502 |
+
<div id='image_resize_pointer'> </div>
|
503 |
+
</label>
|
504 |
+
</p>
|
505 |
+
|
506 |
+
</div>
|
507 |
+
</td>
|
508 |
+
<?php } else { ?>
|
509 |
<td><span id='spanButtonPlaceholder'></span><input type="file" name="imagefiles[]" id="imagefiles" size="35" class="imagefiles"/></td>
|
510 |
+
<?php } ?>
|
511 |
+
</tr>
|
512 |
<tr valign="top">
|
513 |
<th scope="row"><?php _e('in to', 'nggallery') ;?></th>
|
514 |
<td><select name="galleryselect" id="galleryselect">
|
admin/admin.php
CHANGED
@@ -4,22 +4,24 @@
|
|
4 |
*
|
5 |
* @package NextGEN Gallery
|
6 |
* @author Alex Rabe
|
7 |
-
* @copyright 2008-
|
8 |
* @since 1.0.0
|
9 |
*/
|
10 |
class nggAdminPanel{
|
11 |
|
12 |
// constructor
|
13 |
-
function
|
14 |
|
15 |
// Add the admin menu
|
16 |
add_action( 'admin_menu', array (&$this, 'add_menu') );
|
|
|
17 |
add_action( 'network_admin_menu', array (&$this, 'add_network_admin_menu') );
|
18 |
|
19 |
// Add the script and style files
|
20 |
add_action('admin_print_scripts', array(&$this, 'load_scripts') );
|
21 |
add_action('admin_print_styles', array(&$this, 'load_styles') );
|
22 |
-
|
|
|
23 |
add_filter('contextual_help', array(&$this, 'show_help'), 10, 2);
|
24 |
add_filter('current_screen', array(&$this, 'edit_current_screen'));
|
25 |
|
@@ -43,9 +45,6 @@ class nggAdminPanel{
|
|
43 |
if ( wpmu_enable_function('wpmuRoles') || wpmu_site_admin() )
|
44 |
add_submenu_page( NGGFOLDER , __('Roles', 'nggallery'), __('Roles', 'nggallery'), 'activate_plugins', 'nggallery-roles', array (&$this, 'show_menu'));
|
45 |
add_submenu_page( NGGFOLDER , __('About this Gallery', 'nggallery'), __('About', 'nggallery'), 'NextGEN Gallery overview', 'nggallery-about', array (&$this, 'show_menu'));
|
46 |
-
//TODO: Remove after WP 3.1 release, not longer needed
|
47 |
-
if ( is_multisite() && wpmu_site_admin() )
|
48 |
-
add_submenu_page( 'ms-admin.php' , __('NextGEN Gallery', 'nggallery'), __('NextGEN Gallery', 'nggallery'), 'activate_plugins', 'nggallery-wpmu', array (&$this, 'show_menu'));
|
49 |
|
50 |
if ( !is_multisite() || wpmu_site_admin() )
|
51 |
add_submenu_page( NGGFOLDER , __('Reset / Uninstall', 'nggallery'), __('Reset / Uninstall', 'nggallery'), 'activate_plugins', 'nggallery-setup', array (&$this, 'show_menu'));
|
@@ -62,6 +61,37 @@ class nggAdminPanel{
|
|
62 |
add_submenu_page( NGGFOLDER , __('Reset / Uninstall', 'nggallery'), __('Reset / Uninstall', 'nggallery'), 'activate_plugins', 'nggallery-setup', array (&$this, 'show_menu'));
|
63 |
}
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
// show the network page
|
66 |
function show_network_settings() {
|
67 |
include_once ( dirname (__FILE__) . '/style.php' );
|
@@ -158,12 +188,6 @@ class nggAdminPanel{
|
|
158 |
include_once ( dirname (__FILE__) . '/about.php' ); // nggallery_admin_about
|
159 |
nggallery_admin_about();
|
160 |
break;
|
161 |
-
//TODO: Remove after WP 3.1 release, not longer needed
|
162 |
-
case "nggallery-wpmu" :
|
163 |
-
include_once ( dirname (__FILE__) . '/style.php' );
|
164 |
-
include_once ( dirname (__FILE__) . '/wpmu.php' ); // nggallery_wpmu_admin
|
165 |
-
nggallery_wpmu_setup();
|
166 |
-
break;
|
167 |
case "nggallery" :
|
168 |
default :
|
169 |
include_once ( dirname (__FILE__) . '/overview.php' ); // nggallery_admin_overview
|
@@ -190,10 +214,32 @@ class nggAdminPanel{
|
|
190 |
'error' => __('Unexpected Error', 'nggallery'),
|
191 |
'failure' => __('A failure occurred', 'nggallery')
|
192 |
) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
wp_register_script('ngg-progressbar', NGGALLERY_URLPATH .'admin/js/ngg.progressbar.js', array('jquery'), '2.0.1');
|
|
|
194 |
wp_register_script('swfupload_f10', NGGALLERY_URLPATH .'admin/js/swfupload.js', array('jquery'), '2.2.0');
|
195 |
-
// Until release of 3.1 not used, due to script conflict
|
196 |
-
wp_register_script('jquery-ui-autocomplete', NGGALLERY_URLPATH .'admin/js/jquery.ui.autocomplete.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.9');
|
197 |
|
198 |
switch ($_GET['page']) {
|
199 |
case NGGFOLDER :
|
@@ -205,7 +251,13 @@ class nggAdminPanel{
|
|
205 |
wp_enqueue_script( 'ngg-ajax' );
|
206 |
wp_enqueue_script( 'ngg-progressbar' );
|
207 |
wp_enqueue_script( 'jquery-ui-dialog' );
|
208 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
break;
|
210 |
case "nggallery-manage-album" :
|
211 |
if ( version_compare( $wp_version, '3.0.999', '>' ) ) {
|
@@ -227,8 +279,11 @@ class nggAdminPanel{
|
|
227 |
break;
|
228 |
case "nggallery-add-gallery" :
|
229 |
wp_enqueue_script( 'jquery-ui-tabs' );
|
230 |
-
wp_enqueue_script( '
|
231 |
-
|
|
|
|
|
|
|
232 |
wp_enqueue_script( 'ngg-ajax' );
|
233 |
wp_enqueue_script( 'ngg-progressbar' );
|
234 |
wp_enqueue_script( 'jquery-ui-dialog' );
|
@@ -257,7 +312,9 @@ class nggAdminPanel{
|
|
257 |
wp_enqueue_style( 'thickbox' );
|
258 |
case "nggallery-about" :
|
259 |
wp_enqueue_style( 'nggadmin' );
|
260 |
-
|
|
|
|
|
261 |
break;
|
262 |
case "nggallery-add-gallery" :
|
263 |
wp_enqueue_style( 'ngg-jqueryui' );
|
@@ -267,11 +324,11 @@ class nggAdminPanel{
|
|
267 |
wp_enqueue_style( 'nggadmin' );
|
268 |
break;
|
269 |
case "nggallery-manage-gallery" :
|
|
|
270 |
case "nggallery-roles" :
|
271 |
case "nggallery-manage-album" :
|
272 |
wp_enqueue_style( 'ngg-jqueryui' );
|
273 |
wp_enqueue_style( 'nggadmin' );
|
274 |
-
wp_enqueue_style( 'thickbox' );
|
275 |
break;
|
276 |
case "nggallery-tags" :
|
277 |
wp_enqueue_style( 'nggtags', NGGALLERY_URLPATH .'admin/css/tags-admin.css', false, '2.6.1', 'screen' );
|
@@ -285,11 +342,11 @@ class nggAdminPanel{
|
|
285 |
}
|
286 |
|
287 |
function show_help($help, $screen) {
|
288 |
-
|
289 |
// since WP3.0 it's an object
|
290 |
if ( is_object($screen) )
|
291 |
$screen = $screen->id;
|
292 |
-
|
293 |
$link = '';
|
294 |
// menu title is localized...
|
295 |
$i18n = strtolower ( _n( 'Gallery', 'Galleries', 1, 'nggallery' ) );
|
@@ -357,6 +414,20 @@ class nggAdminPanel{
|
|
357 |
return $help;
|
358 |
}
|
359 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
360 |
/**
|
361 |
* We need to manipulate the current_screen name so that we can show the correct column screen options
|
362 |
*
|
@@ -385,6 +456,9 @@ class nggAdminPanel{
|
|
385 |
$screen->base = $screen->id = 'nggallery-manage-gallery';
|
386 |
break;
|
387 |
}
|
|
|
|
|
|
|
388 |
|
389 |
return $screen;
|
390 |
}
|
@@ -411,22 +485,29 @@ class nggAdminPanel{
|
|
411 |
* @return array of the content
|
412 |
*/
|
413 |
function get_remote_array($url) {
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
430 |
|
431 |
if (is_array($content))
|
432 |
return $content;
|
4 |
*
|
5 |
* @package NextGEN Gallery
|
6 |
* @author Alex Rabe
|
7 |
+
* @copyright 2008-2011
|
8 |
* @since 1.0.0
|
9 |
*/
|
10 |
class nggAdminPanel{
|
11 |
|
12 |
// constructor
|
13 |
+
function __construct() {
|
14 |
|
15 |
// Add the admin menu
|
16 |
add_action( 'admin_menu', array (&$this, 'add_menu') );
|
17 |
+
add_action( 'admin_bar_menu', array(&$this, 'admin_bar_menu'), 99 );
|
18 |
add_action( 'network_admin_menu', array (&$this, 'add_network_admin_menu') );
|
19 |
|
20 |
// Add the script and style files
|
21 |
add_action('admin_print_scripts', array(&$this, 'load_scripts') );
|
22 |
add_action('admin_print_styles', array(&$this, 'load_styles') );
|
23 |
+
|
24 |
+
//TODO: remove after release of Wordpress 3.3
|
25 |
add_filter('contextual_help', array(&$this, 'show_help'), 10, 2);
|
26 |
add_filter('current_screen', array(&$this, 'edit_current_screen'));
|
27 |
|
45 |
if ( wpmu_enable_function('wpmuRoles') || wpmu_site_admin() )
|
46 |
add_submenu_page( NGGFOLDER , __('Roles', 'nggallery'), __('Roles', 'nggallery'), 'activate_plugins', 'nggallery-roles', array (&$this, 'show_menu'));
|
47 |
add_submenu_page( NGGFOLDER , __('About this Gallery', 'nggallery'), __('About', 'nggallery'), 'NextGEN Gallery overview', 'nggallery-about', array (&$this, 'show_menu'));
|
|
|
|
|
|
|
48 |
|
49 |
if ( !is_multisite() || wpmu_site_admin() )
|
50 |
add_submenu_page( NGGFOLDER , __('Reset / Uninstall', 'nggallery'), __('Reset / Uninstall', 'nggallery'), 'activate_plugins', 'nggallery-setup', array (&$this, 'show_menu'));
|
61 |
add_submenu_page( NGGFOLDER , __('Reset / Uninstall', 'nggallery'), __('Reset / Uninstall', 'nggallery'), 'activate_plugins', 'nggallery-setup', array (&$this, 'show_menu'));
|
62 |
}
|
63 |
|
64 |
+
/**
|
65 |
+
* Adding NextGEN Gallery to the Admin bar
|
66 |
+
*
|
67 |
+
* @since 1.9.0
|
68 |
+
*
|
69 |
+
* @return void
|
70 |
+
*/
|
71 |
+
function admin_bar_menu() {
|
72 |
+
// If the current user can't write posts, this is all of no use, so let's not output an admin menu
|
73 |
+
if ( !current_user_can('NextGEN Gallery overview') )
|
74 |
+
return;
|
75 |
+
|
76 |
+
global $wp_admin_bar;
|
77 |
+
|
78 |
+
$wp_admin_bar->add_menu( array( 'id' => 'ngg-menu', 'title' => __( 'Gallery' ), 'href' => admin_url('admin.php?page='. NGGFOLDER) ) );
|
79 |
+
$wp_admin_bar->add_menu( array( 'parent' => 'ngg-menu', 'id' => 'ngg-menu-overview', 'title' => __('Overview', 'nggallery'), 'href' => admin_url('admin.php?page='. NGGFOLDER) ) );
|
80 |
+
if ( current_user_can('NextGEN Upload images') )
|
81 |
+
$wp_admin_bar->add_menu( array( 'parent' => 'ngg-menu', 'id' => 'ngg-menu-add-gallery', 'title' => __('Add Gallery / Images', 'nggallery'), 'href' => admin_url('admin.php?page=nggallery-add-gallery') ) );
|
82 |
+
if ( current_user_can('NextGEN Manage gallery') )
|
83 |
+
$wp_admin_bar->add_menu( array( 'parent' => 'ngg-menu', 'id' => 'ngg-menu-manage-gallery', 'title' => __('Manage Gallery', 'nggallery'), 'href' => admin_url('admin.php?page=nggallery-manage-gallery') ) );
|
84 |
+
if ( current_user_can('NextGEN Edit album') )
|
85 |
+
$wp_admin_bar->add_menu( array( 'parent' => 'ngg-menu', 'id' => 'ngg-menu-manage-album', 'title' => _n( 'Album', 'Albums', 1, 'nggallery' ), 'href' => admin_url('admin.php?page=nggallery-manage-album') ) );
|
86 |
+
if ( current_user_can('NextGEN Manage tags') )
|
87 |
+
$wp_admin_bar->add_menu( array( 'parent' => 'ngg-menu', 'id' => 'ngg-menu-tags', 'title' => __('Tags', 'nggallery'), 'href' => admin_url('admin.php?page=nggallery-tags') ) );
|
88 |
+
if ( current_user_can('NextGEN Change options') )
|
89 |
+
$wp_admin_bar->add_menu( array( 'parent' => 'ngg-menu', 'id' => 'ngg-menu-options', 'title' => __('Options', 'nggallery'), 'href' => admin_url('admin.php?page=nggallery-options') ) );
|
90 |
+
if ( wpmu_enable_function('wpmuStyle') && ( current_user_can('NextGEN Change style') ))
|
91 |
+
$wp_admin_bar->add_menu( array( 'parent' => 'ngg-menu', 'id' => 'ngg-menu-style', 'title' => __('Style', 'nggallery'), 'href' => admin_url('admin.php?page=nggallery-style') ) );
|
92 |
+
$wp_admin_bar->add_menu( array( 'parent' => 'ngg-menu', 'id' => 'ngg-menu-about', 'title' => __('About', 'nggallery'), 'href' => admin_url('admin.php?page=nggallery-about') ) );
|
93 |
+
}
|
94 |
+
|
95 |
// show the network page
|
96 |
function show_network_settings() {
|
97 |
include_once ( dirname (__FILE__) . '/style.php' );
|
188 |
include_once ( dirname (__FILE__) . '/about.php' ); // nggallery_admin_about
|
189 |
nggallery_admin_about();
|
190 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
case "nggallery" :
|
192 |
default :
|
193 |
include_once ( dirname (__FILE__) . '/overview.php' ); // nggallery_admin_overview
|
214 |
'error' => __('Unexpected Error', 'nggallery'),
|
215 |
'failure' => __('A failure occurred', 'nggallery')
|
216 |
) );
|
217 |
+
wp_register_script( 'ngg-plupload-handler', NGGALLERY_URLPATH .'admin/js/plupload.handler.js', array('plupload-all'), '0.0.1' );
|
218 |
+
wp_localize_script( 'ngg-plupload-handler', 'pluploadL10n', array(
|
219 |
+
'queue_limit_exceeded' => __('You have attempted to queue too many files.'),
|
220 |
+
'file_exceeds_size_limit' => __('This file exceeds the maximum upload size for this site.'),
|
221 |
+
'zero_byte_file' => __('This file is empty. Please try another.'),
|
222 |
+
'invalid_filetype' => __('This file type is not allowed. Please try another.'),
|
223 |
+
'not_an_image' => __('This file is not an image. Please try another.'),
|
224 |
+
'image_memory_exceeded' => __('Memory exceeded. Please try another smaller file.'),
|
225 |
+
'image_dimensions_exceeded' => __('This is larger than the maximum size. Please try another.'),
|
226 |
+
'default_error' => __('An error occurred in the upload. Please try again later.'),
|
227 |
+
'missing_upload_url' => __('There was a configuration error. Please contact the server administrator.'),
|
228 |
+
'upload_limit_exceeded' => __('You may only upload 1 file.'),
|
229 |
+
'http_error' => __('HTTP error.'),
|
230 |
+
'upload_failed' => __('Upload failed.'),
|
231 |
+
'io_error' => __('IO error.'),
|
232 |
+
'security_error' => __('Security error.'),
|
233 |
+
'file_cancelled' => __('File canceled.'),
|
234 |
+
'upload_stopped' => __('Upload stopped.'),
|
235 |
+
'dismiss' => __('Dismiss'),
|
236 |
+
'crunching' => __('Crunching…'),
|
237 |
+
'deleted' => __('moved to the trash.'),
|
238 |
+
'error_uploading' => __('“%s” has failed to upload due to an error')
|
239 |
+
) );
|
240 |
wp_register_script('ngg-progressbar', NGGALLERY_URLPATH .'admin/js/ngg.progressbar.js', array('jquery'), '2.0.1');
|
241 |
+
wp_register_script('jquery-ui-autocomplete', NGGALLERY_URLPATH .'admin/js/jquery.ui.autocomplete.min.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.15');
|
242 |
wp_register_script('swfupload_f10', NGGALLERY_URLPATH .'admin/js/swfupload.js', array('jquery'), '2.2.0');
|
|
|
|
|
243 |
|
244 |
switch ($_GET['page']) {
|
245 |
case NGGFOLDER :
|
251 |
wp_enqueue_script( 'ngg-ajax' );
|
252 |
wp_enqueue_script( 'ngg-progressbar' );
|
253 |
wp_enqueue_script( 'jquery-ui-dialog' );
|
254 |
+
wp_register_script('shutter', NGGALLERY_URLPATH .'shutter/shutter-reloaded.js', false ,'1.3.2');
|
255 |
+
wp_localize_script('shutter', 'shutterSettings', array(
|
256 |
+
'msgLoading' => __('L O A D I N G', 'nggallery'),
|
257 |
+
'msgClose' => __('Click to Close', 'nggallery'),
|
258 |
+
'imageCount' => '1'
|
259 |
+
) );
|
260 |
+
wp_enqueue_script( 'shutter' );
|
261 |
break;
|
262 |
case "nggallery-manage-album" :
|
263 |
if ( version_compare( $wp_version, '3.0.999', '>' ) ) {
|
279 |
break;
|
280 |
case "nggallery-add-gallery" :
|
281 |
wp_enqueue_script( 'jquery-ui-tabs' );
|
282 |
+
wp_enqueue_script( 'multifile', NGGALLERY_URLPATH .'admin/js/jquery.MultiFile.js', array('jquery'), '1.4.4' );
|
283 |
+
if ( defined('IS_WP_3_3') )
|
284 |
+
wp_enqueue_script( 'ngg-plupload-handler' );
|
285 |
+
else
|
286 |
+
wp_enqueue_script( 'ngg-swfupload-handler', NGGALLERY_URLPATH .'admin/js/swfupload.handler.js', array('swfupload_f10'), '1.0.3' );
|
287 |
wp_enqueue_script( 'ngg-ajax' );
|
288 |
wp_enqueue_script( 'ngg-progressbar' );
|
289 |
wp_enqueue_script( 'jquery-ui-dialog' );
|
312 |
wp_enqueue_style( 'thickbox' );
|
313 |
case "nggallery-about" :
|
314 |
wp_enqueue_style( 'nggadmin' );
|
315 |
+
//TODO:Remove after WP 3.3 release
|
316 |
+
if ( !defined('IS_WP_3_3') )
|
317 |
+
wp_admin_css( 'css/dashboard' );
|
318 |
break;
|
319 |
case "nggallery-add-gallery" :
|
320 |
wp_enqueue_style( 'ngg-jqueryui' );
|
324 |
wp_enqueue_style( 'nggadmin' );
|
325 |
break;
|
326 |
case "nggallery-manage-gallery" :
|
327 |
+
wp_enqueue_style('shutter', NGGALLERY_URLPATH .'shutter/shutter-reloaded.css', false, '1.3.2', 'screen');
|
328 |
case "nggallery-roles" :
|
329 |
case "nggallery-manage-album" :
|
330 |
wp_enqueue_style( 'ngg-jqueryui' );
|
331 |
wp_enqueue_style( 'nggadmin' );
|
|
|
332 |
break;
|
333 |
case "nggallery-tags" :
|
334 |
wp_enqueue_style( 'nggtags', NGGALLERY_URLPATH .'admin/css/tags-admin.css', false, '2.6.1', 'screen' );
|
342 |
}
|
343 |
|
344 |
function show_help($help, $screen) {
|
345 |
+
|
346 |
// since WP3.0 it's an object
|
347 |
if ( is_object($screen) )
|
348 |
$screen = $screen->id;
|
349 |
+
|
350 |
$link = '';
|
351 |
// menu title is localized...
|
352 |
$i18n = strtolower ( _n( 'Gallery', 'Galleries', 1, 'nggallery' ) );
|
414 |
return $help;
|
415 |
}
|
416 |
|
417 |
+
/**
|
418 |
+
* New wrapper for WordPress 3.3, so contextual help will be added to the admin bar
|
419 |
+
*
|
420 |
+
* @since 1.9.0
|
421 |
+
* @param object $screen
|
422 |
+
* @return void
|
423 |
+
*/
|
424 |
+
function add_contextual_help($screen) {
|
425 |
+
|
426 |
+
$help = $this->show_help('', $screen);
|
427 |
+
add_contextual_help( $screen, $help );
|
428 |
+
|
429 |
+
}
|
430 |
+
|
431 |
/**
|
432 |
* We need to manipulate the current_screen name so that we can show the correct column screen options
|
433 |
*
|
456 |
$screen->base = $screen->id = 'nggallery-manage-gallery';
|
457 |
break;
|
458 |
}
|
459 |
+
|
460 |
+
if ( defined('IS_WP_3_3') )
|
461 |
+
$this->add_contextual_help($screen);
|
462 |
|
463 |
return $screen;
|
464 |
}
|
485 |
* @return array of the content
|
486 |
*/
|
487 |
function get_remote_array($url) {
|
488 |
+
|
489 |
+
if ( function_exists('wp_remote_request') ) {
|
490 |
+
|
491 |
+
if ( false === ( $content = get_transient( 'ngg_request_' . md5($url) ) ) ) {
|
492 |
+
|
493 |
+
$options = array();
|
494 |
+
$options['headers'] = array(
|
495 |
+
'User-Agent' => 'NextGEN Gallery Information Reader V' . NGGVERSION . '; (' . get_bloginfo('url') .')'
|
496 |
+
);
|
497 |
+
|
498 |
+
$response = wp_remote_request($url, $options);
|
499 |
+
|
500 |
+
if ( is_wp_error( $response ) )
|
501 |
+
return false;
|
502 |
+
|
503 |
+
if ( 200 != $response['response']['code'] )
|
504 |
+
return false;
|
505 |
+
|
506 |
+
$content = $response['body'];
|
507 |
+
set_transient( 'ngg_request_' . md5($url), $content, 60*60*48 );
|
508 |
+
}
|
509 |
+
|
510 |
+
$content = unserialize($content);
|
511 |
|
512 |
if (is_array($content))
|
513 |
return $content;
|
admin/album.php
CHANGED
@@ -173,7 +173,7 @@ jQuery(document).ready(
|
|
173 |
function()
|
174 |
{
|
175 |
jQuery("#previewpic").nggAutocomplete( {
|
176 |
-
type: 'image',domain: "<?php echo home_url('index.php');
|
177 |
});
|
178 |
|
179 |
jQuery('#selectContainer').sortable( {
|
@@ -368,7 +368,7 @@ function showDialog() {
|
|
368 |
</div>
|
369 |
|
370 |
<!-- /#target-album -->
|
371 |
-
<div class="widget target-album widget-
|
372 |
|
373 |
<?php
|
374 |
if ($this->currentID > 0){
|
@@ -400,6 +400,7 @@ function showDialog() {
|
|
400 |
</div><!-- /#container -->
|
401 |
</div><!-- /#wrap -->
|
402 |
|
|
|
403 |
<!-- #editalbum -->
|
404 |
<div id="editalbum" style="display: none;" >
|
405 |
<form id="form-edit-album" method="POST" accept-charset="utf-8">
|
@@ -461,6 +462,7 @@ function showDialog() {
|
|
461 |
</form>
|
462 |
</div>
|
463 |
<!-- /#editalbum -->
|
|
|
464 |
|
465 |
<?php
|
466 |
|
@@ -488,6 +490,7 @@ function showDialog() {
|
|
488 |
|
489 |
$obj['id'] = $album->id;
|
490 |
$obj['name'] = $obj['title'] = $album->name;
|
|
|
491 |
$class = 'album_obj';
|
492 |
|
493 |
// get the post name
|
@@ -512,6 +515,7 @@ function showDialog() {
|
|
512 |
$obj['id'] = $gallery->gid;
|
513 |
$obj['name'] = $gallery->name;
|
514 |
$obj['title'] = $gallery->title;
|
|
|
515 |
|
516 |
// get the post name
|
517 |
$post = get_post($gallery->pageid);
|
@@ -541,7 +545,7 @@ function showDialog() {
|
|
541 |
<p><strong>' . __('Name', 'nggallery') . ' : </strong>' . nggGallery::i18n( $obj['name'] ) . '</p>
|
542 |
<p><strong>' . __('Title', 'nggallery') . ' : </strong>' . nggGallery::i18n( $obj['title'] ) . '</p>
|
543 |
<p><strong>' . __('Page', 'nggallery'). ' : </strong>' . nggGallery::i18n( $obj['pagenname'] ) . '</p>
|
544 |
-
' . apply_filters('ngg_display_album_item_content', '', $obj
|
545 |
</div>
|
546 |
</div>
|
547 |
</div>';
|
173 |
function()
|
174 |
{
|
175 |
jQuery("#previewpic").nggAutocomplete( {
|
176 |
+
type: 'image',domain: "<?php echo home_url('index.php', is_ssl() ? 'https' : 'http'); ?>"
|
177 |
});
|
178 |
|
179 |
jQuery('#selectContainer').sortable( {
|
368 |
</div>
|
369 |
|
370 |
<!-- /#target-album -->
|
371 |
+
<div class="widget target-album widget-left">
|
372 |
|
373 |
<?php
|
374 |
if ($this->currentID > 0){
|
400 |
</div><!-- /#container -->
|
401 |
</div><!-- /#wrap -->
|
402 |
|
403 |
+
<?php if ($this->currentID > 0) : ?>
|
404 |
<!-- #editalbum -->
|
405 |
<div id="editalbum" style="display: none;" >
|
406 |
<form id="form-edit-album" method="POST" accept-charset="utf-8">
|
462 |
</form>
|
463 |
</div>
|
464 |
<!-- /#editalbum -->
|
465 |
+
<?php endif; ?>
|
466 |
|
467 |
<?php
|
468 |
|
490 |
|
491 |
$obj['id'] = $album->id;
|
492 |
$obj['name'] = $obj['title'] = $album->name;
|
493 |
+
$obj['type'] = 'album';
|
494 |
$class = 'album_obj';
|
495 |
|
496 |
// get the post name
|
515 |
$obj['id'] = $gallery->gid;
|
516 |
$obj['name'] = $gallery->name;
|
517 |
$obj['title'] = $gallery->title;
|
518 |
+
$obj['type'] = 'gallery';
|
519 |
|
520 |
// get the post name
|
521 |
$post = get_post($gallery->pageid);
|
545 |
<p><strong>' . __('Name', 'nggallery') . ' : </strong>' . nggGallery::i18n( $obj['name'] ) . '</p>
|
546 |
<p><strong>' . __('Title', 'nggallery') . ' : </strong>' . nggGallery::i18n( $obj['title'] ) . '</p>
|
547 |
<p><strong>' . __('Page', 'nggallery'). ' : </strong>' . nggGallery::i18n( $obj['pagenname'] ) . '</p>
|
548 |
+
' . apply_filters('ngg_display_album_item_content', '', $obj) . '
|
549 |
</div>
|
550 |
</div>
|
551 |
</div>';
|
admin/css/nggadmin.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*
|
2 |
-
** NextGEN Gallery Style for Wordpress 3.
|
3 |
*/
|
4 |
|
5 |
/* SETTINGS FOR Overview Gallery */
|
@@ -143,11 +143,6 @@ p#ngg-inlinebutton {
|
|
143 |
top:-25pt;
|
144 |
}
|
145 |
|
146 |
-
.ngg-tablenav .button-secondary {
|
147 |
-
padding:2px 8px;
|
148 |
-
vertical-align: top;
|
149 |
-
}
|
150 |
-
|
151 |
.fixed tbody th.column-cb {
|
152 |
padding:7px 0 22px;
|
153 |
}
|
1 |
/*
|
2 |
+
** NextGEN Gallery Style for Wordpress 3.2
|
3 |
*/
|
4 |
|
5 |
/* SETTINGS FOR Overview Gallery */
|
143 |
top:-25pt;
|
144 |
}
|
145 |
|
|
|
|
|
|
|
|
|
|
|
146 |
.fixed tbody th.column-cb {
|
147 |
padding:7px 0 22px;
|
148 |
}
|
admin/edit-thumbnail.php
CHANGED
@@ -65,9 +65,8 @@ if ( ($ngg_options['thumbfix'] == 1) ) {
|
|
65 |
<script src="<?php echo NGGALLERY_URLPATH; ?>/admin/js/Jcrop/js/jquery.Jcrop.js"></script>
|
66 |
<link rel="stylesheet" href="<?php echo NGGALLERY_URLPATH; ?>/admin/js/Jcrop/css/jquery.Jcrop.css" type="text/css" />
|
67 |
|
68 |
-
<script
|
69 |
-
|
70 |
-
|
71 |
var status = 'start';
|
72 |
var xT, yT, wT, hT, selectedCoords;
|
73 |
var selectedImage = "thumb<?php echo $id ?>";
|
@@ -108,9 +107,9 @@ if ( ($ngg_options['thumbfix'] == 1) ) {
|
|
108 |
}
|
109 |
|
110 |
jQuery.ajax({
|
111 |
-
url:
|
112 |
type : "POST",
|
113 |
-
|
114 |
cache: false,
|
115 |
success: function(data){
|
116 |
var d = new Date();
|
@@ -128,9 +127,8 @@ if ( ($ngg_options['thumbfix'] == 1) ) {
|
|
128 |
}
|
129 |
});
|
130 |
|
131 |
-
}
|
132 |
-
|
133 |
-
-->
|
134 |
</script>
|
135 |
|
136 |
<table width="98%" align="center" style="border:1px solid #DADADA">
|
@@ -161,13 +159,13 @@ if ( ($ngg_options['thumbfix'] == 1) ) {
|
|
161 |
</table>
|
162 |
|
163 |
<script type="text/javascript">
|
164 |
-
|
165 |
jQuery(document).ready(function(){
|
166 |
jQuery('#imageToEdit').Jcrop({
|
167 |
onChange: showPreview,
|
168 |
onSelect: showPreview,
|
169 |
-
aspectRatio: <?php echo round($WidthHtmlPrev/$HeightHtmlPrev, 3) ?>
|
170 |
});
|
171 |
});
|
172 |
-
|
173 |
-
</script>
|
65 |
<script src="<?php echo NGGALLERY_URLPATH; ?>/admin/js/Jcrop/js/jquery.Jcrop.js"></script>
|
66 |
<link rel="stylesheet" href="<?php echo NGGALLERY_URLPATH; ?>/admin/js/Jcrop/css/jquery.Jcrop.css" type="text/css" />
|
67 |
|
68 |
+
<script type="text/javascript">
|
69 |
+
//<![CDATA[
|
|
|
70 |
var status = 'start';
|
71 |
var xT, yT, wT, hT, selectedCoords;
|
72 |
var selectedImage = "thumb<?php echo $id ?>";
|
107 |
}
|
108 |
|
109 |
jQuery.ajax({
|
110 |
+
url: ajaxurl,
|
111 |
type : "POST",
|
112 |
+
data: {x: xT, y: yT, w: wT, h: hT, action: 'createNewThumb', id: <?php echo $id; ?>, rr: <?php echo str_replace(',','.',$rr); ?>},
|
113 |
cache: false,
|
114 |
success: function(data){
|
115 |
var d = new Date();
|
127 |
}
|
128 |
});
|
129 |
|
130 |
+
};
|
131 |
+
//]]>
|
|
|
132 |
</script>
|
133 |
|
134 |
<table width="98%" align="center" style="border:1px solid #DADADA">
|
159 |
</table>
|
160 |
|
161 |
<script type="text/javascript">
|
162 |
+
//<![CDATA[
|
163 |
jQuery(document).ready(function(){
|
164 |
jQuery('#imageToEdit').Jcrop({
|
165 |
onChange: showPreview,
|
166 |
onSelect: showPreview,
|
167 |
+
aspectRatio: <?php echo str_replace(',', '.', round($WidthHtmlPrev/$HeightHtmlPrev, 3)); ?>
|
168 |
});
|
169 |
});
|
170 |
+
//]]>
|
171 |
+
</script>
|
admin/functions.php
CHANGED
@@ -142,7 +142,7 @@ class nggAdmin{
|
|
142 |
$created_msg = '';
|
143 |
|
144 |
// remove trailing slash at the end, if somebody use it
|
145 |
-
|
146 |
$gallerypath = WINABSPATH . $galleryfolder;
|
147 |
|
148 |
if (!is_dir($gallerypath)) {
|
@@ -170,13 +170,13 @@ class nggAdmin{
|
|
170 |
$gallery_id = $wpdb->get_var("SELECT gid FROM $wpdb->nggallery WHERE path = '$galleryfolder' ");
|
171 |
|
172 |
if (!$gallery_id) {
|
173 |
-
|
174 |
-
|
|
|
175 |
nggGallery::show_error(__('Database error. Could not add gallery!','nggallery'));
|
176 |
return;
|
177 |
}
|
178 |
$created_msg = _n( 'Gallery', 'Galleries', 1, 'nggallery' ) . ' <strong>' . $galleryname . '</strong> ' . __('successfully created!','nggallery') . '<br />';
|
179 |
-
$gallery_id = $wpdb->insert_id; // get index_id
|
180 |
}
|
181 |
|
182 |
// Look for existing image list
|
@@ -212,7 +212,12 @@ class nggAdmin{
|
|
212 |
nggAdmin::do_ajax_operation( 'create_thumbnail' , $image_ids, __('Create new thumbnails','nggallery') );
|
213 |
|
214 |
//TODO:Message will not shown, because AJAX routine require more time, message should be passed to AJAX
|
215 |
-
|
|
|
|
|
|
|
|
|
|
|
216 |
|
217 |
return;
|
218 |
|
@@ -363,7 +368,7 @@ class nggAdmin{
|
|
363 |
if ( ($ngg->options['imgBackup'] == 1) && (!file_exists($image->imagePath . '_backup')) )
|
364 |
@copy ($image->imagePath, $image->imagePath . '_backup');
|
365 |
|
366 |
-
$file->resize($width, $height
|
367 |
$file->save($image->imagePath, $ngg->options['imgQuality']);
|
368 |
// read the new sizes
|
369 |
$size = @getimagesize ( $image->imagePath );
|
@@ -1032,7 +1037,7 @@ class nggAdmin{
|
|
1032 |
*/
|
1033 |
function swfupload_image($galleryID = 0) {
|
1034 |
|
1035 |
-
global $
|
1036 |
|
1037 |
if ($galleryID == 0)
|
1038 |
return __('No gallery selected !', 'nggallery');
|
@@ -1056,15 +1061,15 @@ class nggAdmin{
|
|
1056 |
if (!in_array( strtolower( $filepart['extension'] ), $ext))
|
1057 |
return $_FILES[$key]['name'] . __('is no valid image file!', 'nggallery');
|
1058 |
|
1059 |
-
// get the path to the gallery
|
1060 |
-
|
1061 |
-
if (
|
1062 |
@unlink($temp_file);
|
1063 |
return __('Failure in database, no gallery path set !', 'nggallery');
|
1064 |
}
|
1065 |
|
1066 |
// read list of images
|
1067 |
-
$imageslist = nggAdmin::scandir( WINABSPATH . $
|
1068 |
|
1069 |
// check if this filename already exist
|
1070 |
$i = 0;
|
@@ -1072,11 +1077,11 @@ class nggAdmin{
|
|
1072 |
$filename = $filepart['filename'] . '_' . $i++ . '.' . $filepart['extension'];
|
1073 |
}
|
1074 |
|
1075 |
-
$dest_file = WINABSPATH . $
|
1076 |
|
1077 |
// save temp file to gallery
|
1078 |
if ( !@move_uploaded_file($_FILES["Filedata"]['tmp_name'], $dest_file) ){
|
1079 |
-
nggAdmin::check_safemode(WINABSPATH
|
1080 |
return __('Error, the file could not be moved to : ','nggallery').$dest_file;
|
1081 |
}
|
1082 |
|
@@ -1095,9 +1100,8 @@ class nggAdmin{
|
|
1095 |
*/
|
1096 |
function chmod($filename = '') {
|
1097 |
|
1098 |
-
$stat = @ stat(dirname($filename));
|
1099 |
-
$perms = $stat['mode'] &
|
1100 |
-
$perms = $perms & 0000666;
|
1101 |
if ( @chmod($filename, $perms) )
|
1102 |
return true;
|
1103 |
|
142 |
$created_msg = '';
|
143 |
|
144 |
// remove trailing slash at the end, if somebody use it
|
145 |
+
$galleryfolder = untrailingslashit($galleryfolder);
|
146 |
$gallerypath = WINABSPATH . $galleryfolder;
|
147 |
|
148 |
if (!is_dir($gallerypath)) {
|
170 |
$gallery_id = $wpdb->get_var("SELECT gid FROM $wpdb->nggallery WHERE path = '$galleryfolder' ");
|
171 |
|
172 |
if (!$gallery_id) {
|
173 |
+
// now add the gallery to the database
|
174 |
+
$gallery_id = nggdb::add_gallery( $galleryname, $galleryfolder, '', 0, 0, $user_ID );
|
175 |
+
if (!$gallery_id) {
|
176 |
nggGallery::show_error(__('Database error. Could not add gallery!','nggallery'));
|
177 |
return;
|
178 |
}
|
179 |
$created_msg = _n( 'Gallery', 'Galleries', 1, 'nggallery' ) . ' <strong>' . $galleryname . '</strong> ' . __('successfully created!','nggallery') . '<br />';
|
|
|
180 |
}
|
181 |
|
182 |
// Look for existing image list
|
212 |
nggAdmin::do_ajax_operation( 'create_thumbnail' , $image_ids, __('Create new thumbnails','nggallery') );
|
213 |
|
214 |
//TODO:Message will not shown, because AJAX routine require more time, message should be passed to AJAX
|
215 |
+
$message = $created_msg . count($image_ids) .__(' picture(s) successfully added','nggallery');
|
216 |
+
$message .= ' [<a href="' . admin_url() . 'admin.php?page=nggallery-manage-gallery&mode=edit&gid=' . $gallery_id . '" >';
|
217 |
+
$message .= __('Edit gallery','nggallery');
|
218 |
+
$message .= '</a>]';
|
219 |
+
|
220 |
+
nggGallery::show_message($message);
|
221 |
|
222 |
return;
|
223 |
|
368 |
if ( ($ngg->options['imgBackup'] == 1) && (!file_exists($image->imagePath . '_backup')) )
|
369 |
@copy ($image->imagePath, $image->imagePath . '_backup');
|
370 |
|
371 |
+
$file->resize($width, $height);
|
372 |
$file->save($image->imagePath, $ngg->options['imgQuality']);
|
373 |
// read the new sizes
|
374 |
$size = @getimagesize ( $image->imagePath );
|
1037 |
*/
|
1038 |
function swfupload_image($galleryID = 0) {
|
1039 |
|
1040 |
+
global $nggdb;
|
1041 |
|
1042 |
if ($galleryID == 0)
|
1043 |
return __('No gallery selected !', 'nggallery');
|
1061 |
if (!in_array( strtolower( $filepart['extension'] ), $ext))
|
1062 |
return $_FILES[$key]['name'] . __('is no valid image file!', 'nggallery');
|
1063 |
|
1064 |
+
// get the path to the gallery
|
1065 |
+
$gallery = $nggdb->find_gallery( (int) $galleryID );
|
1066 |
+
if ( empty($gallery->path) ){
|
1067 |
@unlink($temp_file);
|
1068 |
return __('Failure in database, no gallery path set !', 'nggallery');
|
1069 |
}
|
1070 |
|
1071 |
// read list of images
|
1072 |
+
$imageslist = nggAdmin::scandir( WINABSPATH . $gallery->path );
|
1073 |
|
1074 |
// check if this filename already exist
|
1075 |
$i = 0;
|
1077 |
$filename = $filepart['filename'] . '_' . $i++ . '.' . $filepart['extension'];
|
1078 |
}
|
1079 |
|
1080 |
+
$dest_file = WINABSPATH . $gallery->path . '/' . $filename;
|
1081 |
|
1082 |
// save temp file to gallery
|
1083 |
if ( !@move_uploaded_file($_FILES["Filedata"]['tmp_name'], $dest_file) ){
|
1084 |
+
nggAdmin::check_safemode(WINABSPATH . $gallery->path);
|
1085 |
return __('Error, the file could not be moved to : ','nggallery').$dest_file;
|
1086 |
}
|
1087 |
|
1100 |
*/
|
1101 |
function chmod($filename = '') {
|
1102 |
|
1103 |
+
$stat = @ stat( dirname($filename) );
|
1104 |
+
$perms = $stat['mode'] & 0000666; // Remove execute bits for files
|
|
|
1105 |
if ( @chmod($filename, $perms) )
|
1106 |
return true;
|
1107 |
|
admin/install.php
CHANGED
@@ -159,7 +159,6 @@ function ngg_default_options() {
|
|
159 |
$ngg_options['imgWidth'] = 800; // Image Width
|
160 |
$ngg_options['imgHeight'] = 600; // Image height
|
161 |
$ngg_options['imgQuality'] = 85; // Image Quality
|
162 |
-
$ngg_options['imgCacheSinglePic'] = true; // Cached the singlepic
|
163 |
$ngg_options['imgBackup'] = true; // Create a backup
|
164 |
$ngg_options['imgAutoResize'] = false; // Resize after upload
|
165 |
|
@@ -234,7 +233,6 @@ function ngg_default_options() {
|
|
234 |
|
235 |
$ngg_options['gallerypath'] = str_replace("%BLOG_ID%", $blog_id , $ngg_wpmu_options['gallerypath']);
|
236 |
$ngg_options['CSSfile'] = $ngg_wpmu_options['wpmuCSSfile'];
|
237 |
-
$ngg_options['imgCacheSinglePic'] = true; // under WPMU this should be enabled
|
238 |
}
|
239 |
|
240 |
update_option('ngg_options', $ngg_options);
|
159 |
$ngg_options['imgWidth'] = 800; // Image Width
|
160 |
$ngg_options['imgHeight'] = 600; // Image height
|
161 |
$ngg_options['imgQuality'] = 85; // Image Quality
|
|
|
162 |
$ngg_options['imgBackup'] = true; // Create a backup
|
163 |
$ngg_options['imgAutoResize'] = false; // Resize after upload
|
164 |
|
233 |
|
234 |
$ngg_options['gallerypath'] = str_replace("%BLOG_ID%", $blog_id , $ngg_wpmu_options['gallerypath']);
|
235 |
$ngg_options['CSSfile'] = $ngg_wpmu_options['wpmuCSSfile'];
|
|
|
236 |
}
|
237 |
|
238 |
update_option('ngg_options', $ngg_options);
|
admin/js/jquery.ui.autocomplete.js
ADDED
@@ -0,0 +1,612 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* jQuery UI Autocomplete 1.8.15
|
3 |
+
*
|
4 |
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
5 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6 |
+
* http://jquery.org/license
|
7 |
+
*
|
8 |
+
* http://docs.jquery.com/UI/Autocomplete
|
9 |
+
*
|
10 |
+
* Depends:
|
11 |
+
* jquery.ui.core.js
|
12 |
+
* jquery.ui.widget.js
|
13 |
+
* jquery.ui.position.js
|
14 |
+
*/
|
15 |
+
(function( $, undefined ) {
|
16 |
+
|
17 |
+
// used to prevent race conditions with remote data sources
|
18 |
+
var requestIndex = 0;
|
19 |
+
|
20 |
+
$.widget( "ui.autocomplete", {
|
21 |
+
options: {
|
22 |
+
appendTo: "body",
|
23 |
+
autoFocus: false,
|
24 |
+
delay: 300,
|
25 |
+
minLength: 1,
|
26 |
+
position: {
|
27 |
+
my: "left top",
|
28 |
+
at: "left bottom",
|
29 |
+
collision: "none"
|
30 |
+
},
|
31 |
+
source: null
|
32 |
+
},
|
33 |
+
|
34 |
+
pending: 0,
|
35 |
+
|
36 |
+
_create: function() {
|
37 |
+
var self = this,
|
38 |
+
doc = this.element[ 0 ].ownerDocument,
|
39 |
+
suppressKeyPress;
|
40 |
+
|
41 |
+
this.element
|
42 |
+
.addClass( "ui-autocomplete-input" )
|
43 |
+
.attr( "autocomplete", "off" )
|
44 |
+
// TODO verify these actually work as intended
|
45 |
+
.attr({
|
46 |
+
role: "textbox",
|
47 |
+
"aria-autocomplete": "list",
|
48 |
+
"aria-haspopup": "true"
|
49 |
+
})
|
50 |
+
.bind( "keydown.autocomplete", function( event ) {
|
51 |
+
if ( self.options.disabled || self.element.propAttr( "readOnly" ) ) {
|
52 |
+
return;
|
53 |
+
}
|
54 |
+
|
55 |
+
suppressKeyPress = false;
|
56 |
+
var keyCode = $.ui.keyCode;
|
57 |
+
switch( event.keyCode ) {
|
58 |
+
case keyCode.PAGE_UP:
|
59 |
+
self._move( "previousPage", event );
|
60 |
+
break;
|
61 |
+
case keyCode.PAGE_DOWN:
|
62 |
+
self._move( "nextPage", event );
|
63 |
+
break;
|
64 |
+
case keyCode.UP:
|
65 |
+
self._move( "previous", event );
|
66 |
+
// prevent moving cursor to beginning of text field in some browsers
|
67 |
+
event.preventDefault();
|
68 |
+
break;
|
69 |
+
case keyCode.DOWN:
|
70 |
+
self._move( "next", event );
|
71 |
+
// prevent moving cursor to end of text field in some browsers
|
72 |
+
event.preventDefault();
|
73 |
+
break;
|
74 |
+
case keyCode.ENTER:
|
75 |
+
case keyCode.NUMPAD_ENTER:
|
76 |
+
// when menu is open and has focus
|
77 |
+
if ( self.menu.active ) {
|
78 |
+
// #6055 - Opera still allows the keypress to occur
|
79 |
+
// which causes forms to submit
|
80 |
+
suppressKeyPress = true;
|
81 |
+
event.preventDefault();
|
82 |
+
}
|
83 |
+
//passthrough - ENTER and TAB both select the current element
|
84 |
+
case keyCode.TAB:
|
85 |
+
if ( !self.menu.active ) {
|
86 |
+
return;
|
87 |
+
}
|
88 |
+
self.menu.select( event );
|
89 |
+
break;
|
90 |
+
case keyCode.ESCAPE:
|
91 |
+
self.element.val( self.term );
|
92 |
+
self.close( event );
|
93 |
+
break;
|
94 |
+
default:
|
95 |
+
// keypress is triggered before the input value is changed
|
96 |
+
clearTimeout( self.searching );
|
97 |
+
self.searching = setTimeout(function() {
|
98 |
+
// only search if the value has changed
|
99 |
+
if ( self.term != self.element.val() ) {
|
100 |
+
self.selectedItem = null;
|
101 |
+
self.search( null, event );
|
102 |
+
}
|
103 |
+
}, self.options.delay );
|
104 |
+
break;
|
105 |
+
}
|
106 |
+
})
|
107 |
+
.bind( "keypress.autocomplete", function( event ) {
|
108 |
+
if ( suppressKeyPress ) {
|
109 |
+
suppressKeyPress = false;
|
110 |
+
event.preventDefault();
|
111 |
+
}
|
112 |
+
})
|
113 |
+
.bind( "focus.autocomplete", function() {
|
114 |
+
if ( self.options.disabled ) {
|
115 |
+
return;
|
116 |
+
}
|
117 |
+
|
118 |
+
self.selectedItem = null;
|
119 |
+
self.previous = self.element.val();
|
120 |
+
})
|
121 |
+
.bind( "blur.autocomplete", function( event ) {
|
122 |
+
if ( self.options.disabled ) {
|
123 |
+
return;
|
124 |
+
}
|
125 |
+
|
126 |
+
clearTimeout( self.searching );
|
127 |
+
// clicks on the menu (or a button to trigger a search) will cause a blur event
|
128 |
+
self.closing = setTimeout(function() {
|
129 |
+
self.close( event );
|
130 |
+
self._change( event );
|
131 |
+
}, 150 );
|
132 |
+
});
|
133 |
+
this._initSource();
|
134 |
+
this.response = function() {
|
135 |
+
return self._response.apply( self, arguments );
|
136 |
+
};
|
137 |
+
this.menu = $( "<ul></ul>" )
|
138 |
+
.addClass( "ui-autocomplete" )
|
139 |
+
.appendTo( $( this.options.appendTo || "body", doc )[0] )
|
140 |
+
// prevent the close-on-blur in case of a "slow" click on the menu (long mousedown)
|
141 |
+
.mousedown(function( event ) {
|
142 |
+
// clicking on the scrollbar causes focus to shift to the body
|
143 |
+
// but we can't detect a mouseup or a click immediately afterward
|
144 |
+
// so we have to track the next mousedown and close the menu if
|
145 |
+
// the user clicks somewhere outside of the autocomplete
|
146 |
+
var menuElement = self.menu.element[ 0 ];
|
147 |
+
if ( !$( event.target ).closest( ".ui-menu-item" ).length ) {
|
148 |
+
setTimeout(function() {
|
149 |
+
$( document ).one( 'mousedown', function( event ) {
|
150 |
+
if ( event.target !== self.element[ 0 ] &&
|
151 |
+
event.target !== menuElement &&
|
152 |
+
!$.ui.contains( menuElement, event.target ) ) {
|
153 |
+
self.close();
|
154 |
+
}
|
155 |
+
});
|
156 |
+
}, 1 );
|
157 |
+
}
|
158 |
+
|
159 |
+
// use another timeout to make sure the blur-event-handler on the input was already triggered
|
160 |
+
setTimeout(function() {
|
161 |
+
clearTimeout( self.closing );
|
162 |
+
}, 13);
|
163 |
+
})
|
164 |
+
.menu({
|
165 |
+
focus: function( event, ui ) {
|
166 |
+
var item = ui.item.data( "item.autocomplete" );
|
167 |
+
if ( false !== self._trigger( "focus", event, { item: item } ) ) {
|
168 |
+
// use value to match what will end up in the input, if it was a key event
|
169 |
+
if ( /^key/.test(event.originalEvent.type) ) {
|
170 |
+
self.element.val( item.value );
|
171 |
+
}
|
172 |
+
}
|
173 |
+
},
|
174 |
+
selected: function( event, ui ) {
|
175 |
+
var item = ui.item.data( "item.autocomplete" ),
|
176 |
+
previous = self.previous;
|
177 |
+
|
178 |
+
// only trigger when focus was lost (click on menu)
|
179 |
+
if ( self.element[0] !== doc.activeElement ) {
|
180 |
+
self.element.focus();
|
181 |
+
self.previous = previous;
|
182 |
+
// #6109 - IE triggers two focus events and the second
|
183 |
+
// is asynchronous, so we need to reset the previous
|
184 |
+
// term synchronously and asynchronously :-(
|
185 |
+
setTimeout(function() {
|
186 |
+
self.previous = previous;
|
187 |
+
self.selectedItem = item;
|
188 |
+
}, 1);
|
189 |
+
}
|
190 |
+
|
191 |
+
if ( false !== self._trigger( "select", event, { item: item } ) ) {
|
192 |
+
self.element.val( item.value );
|
193 |
+
}
|
194 |
+
// reset the term after the select event
|
195 |
+
// this allows custom select handling to work properly
|
196 |
+
self.term = self.element.val();
|
197 |
+
|
198 |
+
self.close( event );
|
199 |
+
self.selectedItem = item;
|
200 |
+
},
|
201 |
+
blur: function( event, ui ) {
|
202 |
+
// don't set the value of the text field if it's already correct
|
203 |
+
// this prevents moving the cursor unnecessarily
|
204 |
+
if ( self.menu.element.is(":visible") &&
|
205 |
+
( self.element.val() !== self.term ) ) {
|
206 |
+
self.element.val( self.term );
|
207 |
+
}
|
208 |
+
}
|
209 |
+
})
|
210 |
+
.zIndex( this.element.zIndex() + 1 )
|
211 |
+
// workaround for jQuery bug #5781 http://dev.jquery.com/ticket/5781
|
212 |
+
.css({ top: 0, left: 0 })
|
213 |
+
.hide()
|
214 |
+
.data( "menu" );
|
215 |
+
if ( $.fn.bgiframe ) {
|
216 |
+
this.menu.element.bgiframe();
|
217 |
+
}
|
218 |
+
},
|
219 |
+
|
220 |
+
destroy: function() {
|
221 |
+
this.element
|
222 |
+
.removeClass( "ui-autocomplete-input" )
|
223 |
+
.removeAttr( "autocomplete" )
|
224 |
+
.removeAttr( "role" )
|
225 |
+
.removeAttr( "aria-autocomplete" )
|
226 |
+
.removeAttr( "aria-haspopup" );
|
227 |
+
this.menu.element.remove();
|
228 |
+
$.Widget.prototype.destroy.call( this );
|
229 |
+
},
|
230 |
+
|
231 |
+
_setOption: function( key, value ) {
|
232 |
+
$.Widget.prototype._setOption.apply( this, arguments );
|
233 |
+
if ( key === "source" ) {
|
234 |
+
this._initSource();
|
235 |
+
}
|
236 |
+
if ( key === "appendTo" ) {
|
237 |
+
this.menu.element.appendTo( $( value || "body", this.element[0].ownerDocument )[0] )
|
238 |
+
}
|
239 |
+
if ( key === "disabled" && value && this.xhr ) {
|
240 |
+
this.xhr.abort();
|
241 |
+
}
|
242 |
+
},
|
243 |
+
|
244 |
+
_initSource: function() {
|
245 |
+
var self = this,
|
246 |
+
array,
|
247 |
+
url;
|
248 |
+
if ( $.isArray(this.options.source) ) {
|
249 |
+
array = this.options.source;
|
250 |
+
this.source = function( request, response ) {
|
251 |
+
response( $.ui.autocomplete.filter(array, request.term) );
|
252 |
+
};
|
253 |
+
} else if ( typeof this.options.source === "string" ) {
|
254 |
+
url = this.options.source;
|
255 |
+
this.source = function( request, response ) {
|
256 |
+
if ( self.xhr ) {
|
257 |
+
self.xhr.abort();
|
258 |
+
}
|
259 |
+
self.xhr = $.ajax({
|
260 |
+
url: url,
|
261 |
+
data: request,
|
262 |
+
dataType: "json",
|
263 |
+
autocompleteRequest: ++requestIndex,
|
264 |
+
success: function( data, status ) {
|
265 |
+
if ( this.autocompleteRequest === requestIndex ) {
|
266 |
+
response( data );
|
267 |
+
}
|
268 |
+
},
|
269 |
+
error: function() {
|
270 |
+
if ( this.autocompleteRequest === requestIndex ) {
|
271 |
+
response( [] );
|
272 |
+
}
|
273 |
+
}
|
274 |
+
});
|
275 |
+
};
|
276 |
+
} else {
|
277 |
+
this.source = this.options.source;
|
278 |
+
}
|
279 |
+
},
|
280 |
+
|
281 |
+
search: function( value, event ) {
|
282 |
+
value = value != null ? value : this.element.val();
|
283 |
+
|
284 |
+
// always save the actual value, not the one passed as an argument
|
285 |
+
this.term = this.element.val();
|
286 |
+
|
287 |
+
if ( value.length < this.options.minLength ) {
|
288 |
+
return this.close( event );
|
289 |
+
}
|
290 |
+
|
291 |
+
clearTimeout( this.closing );
|
292 |
+
if ( this._trigger( "search", event ) === false ) {
|
293 |
+
return;
|
294 |
+
}
|
295 |
+
|
296 |
+
return this._search( value );
|
297 |
+
},
|
298 |
+
|
299 |
+
_search: function( value ) {
|
300 |
+
this.pending++;
|
301 |
+
this.element.addClass( "ui-autocomplete-loading" );
|
302 |
+
|
303 |
+
this.source( { term: value }, this.response );
|
304 |
+
},
|
305 |
+
|
306 |
+
_response: function( content ) {
|
307 |
+
if ( !this.options.disabled && content && content.length ) {
|
308 |
+
content = this._normalize( content );
|
309 |
+
this._suggest( content );
|
310 |
+
this._trigger( "open" );
|
311 |
+
} else {
|
312 |
+
this.close();
|
313 |
+
}
|
314 |
+
this.pending--;
|
315 |
+
if ( !this.pending ) {
|
316 |
+
this.element.removeClass( "ui-autocomplete-loading" );
|
317 |
+
}
|
318 |
+
},
|
319 |
+
|
320 |
+
close: function( event ) {
|
321 |
+
clearTimeout( this.closing );
|
322 |
+
if ( this.menu.element.is(":visible") ) {
|
323 |
+
this.menu.element.hide();
|
324 |
+
this.menu.deactivate();
|
325 |
+
this._trigger( "close", event );
|
326 |
+
}
|
327 |
+
},
|
328 |
+
|
329 |
+
_change: function( event ) {
|
330 |
+
if ( this.previous !== this.element.val() ) {
|
331 |
+
this._trigger( "change", event, { item: this.selectedItem } );
|
332 |
+
}
|
333 |
+
},
|
334 |
+
|
335 |
+
_normalize: function( items ) {
|
336 |
+
// assume all items have the right format when the first item is complete
|
337 |
+
if ( items.length && items[0].label && items[0].value ) {
|
338 |
+
return items;
|
339 |
+
}
|
340 |
+
return $.map( items, function(item) {
|
341 |
+
if ( typeof item === "string" ) {
|
342 |
+
return {
|
343 |
+
label: item,
|
344 |
+
value: item
|
345 |
+
};
|
346 |
+
}
|
347 |
+
return $.extend({
|
348 |
+
label: item.label || item.value,
|
349 |
+
value: item.value || item.label
|
350 |
+
}, item );
|
351 |
+
});
|
352 |
+
},
|
353 |
+
|
354 |
+
_suggest: function( items ) {
|
355 |
+
var ul = this.menu.element
|
356 |
+
.empty()
|
357 |
+
.zIndex( this.element.zIndex() + 1 );
|
358 |
+
this._renderMenu( ul, items );
|
359 |
+
// TODO refresh should check if the active item is still in the dom, removing the need for a manual deactivate
|
360 |
+
this.menu.deactivate();
|
361 |
+
this.menu.refresh();
|
362 |
+
|
363 |
+
// size and position menu
|
364 |
+
ul.show();
|
365 |
+
this._resizeMenu();
|
366 |
+
ul.position( $.extend({
|
367 |
+
of: this.element
|
368 |
+
}, this.options.position ));
|
369 |
+
|
370 |
+
if ( this.options.autoFocus ) {
|
371 |
+
this.menu.next( new $.Event("mouseover") );
|
372 |
+
}
|
373 |
+
},
|
374 |
+
|
375 |
+
_resizeMenu: function() {
|
376 |
+
var ul = this.menu.element;
|
377 |
+
ul.outerWidth( Math.max(
|
378 |
+
ul.width( "" ).outerWidth(),
|
379 |
+
this.element.outerWidth()
|
380 |
+
) );
|
381 |
+
},
|
382 |
+
|
383 |
+
_renderMenu: function( ul, items ) {
|
384 |
+
var self = this;
|
385 |
+
$.each( items, function( index, item ) {
|
386 |
+
self._renderItem( ul, item );
|
387 |
+
});
|
388 |
+
},
|
389 |
+
|
390 |
+
_renderItem: function( ul, item) {
|
391 |
+
return $( "<li></li>" )
|
392 |
+
.data( "item.autocomplete", item )
|
393 |
+
.append( $( "<a></a>" ).text( item.label ) )
|
394 |
+
.appendTo( ul );
|
395 |
+
},
|
396 |
+
|
397 |
+
_move: function( direction, event ) {
|
398 |
+
if ( !this.menu.element.is(":visible") ) {
|
399 |
+
this.search( null, event );
|
400 |
+
return;
|
401 |
+
}
|
402 |
+
if ( this.menu.first() && /^previous/.test(direction) ||
|
403 |
+
this.menu.last() && /^next/.test(direction) ) {
|
404 |
+
this.element.val( this.term );
|
405 |
+
this.menu.deactivate();
|
406 |
+
return;
|
407 |
+
}
|
408 |
+
this.menu[ direction ]( event );
|
409 |
+
},
|
410 |
+
|
411 |
+
widget: function() {
|
412 |
+
return this.menu.element;
|
413 |
+
}
|
414 |
+
});
|
415 |
+
|
416 |
+
$.extend( $.ui.autocomplete, {
|
417 |
+
escapeRegex: function( value ) {
|
418 |
+
return value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
419 |
+
},
|
420 |
+
filter: function(array, term) {
|
421 |
+
var matcher = new RegExp( $.ui.autocomplete.escapeRegex(term), "i" );
|
422 |
+
return $.grep( array, function(value) {
|
423 |
+
return matcher.test( value.label || value.value || value );
|
424 |
+
});
|
425 |
+
}
|
426 |
+
});
|
427 |
+
|
428 |
+
}( jQuery ));
|
429 |
+
|
430 |
+
/*
|
431 |
+
* jQuery UI Menu (not officially released)
|
432 |
+
*
|
433 |
+
* This widget isn't yet finished and the API is subject to change. We plan to finish
|
434 |
+
* it for the next release. You're welcome to give it a try anyway and give us feedback,
|
435 |
+
* as long as you're okay with migrating your code later on. We can help with that, too.
|
436 |
+
*
|
437 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
438 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
439 |
+
* http://jquery.org/license
|
440 |
+
*
|
441 |
+
* http://docs.jquery.com/UI/Menu
|
442 |
+
*
|
443 |
+
* Depends:
|
444 |
+
* jquery.ui.core.js
|
445 |
+
* jquery.ui.widget.js
|
446 |
+
*/
|
447 |
+
(function($) {
|
448 |
+
|
449 |
+
$.widget("ui.menu", {
|
450 |
+
_create: function() {
|
451 |
+
var self = this;
|
452 |
+
this.element
|
453 |
+
.addClass("ui-menu ui-widget ui-widget-content ui-corner-all")
|
454 |
+
.attr({
|
455 |
+
role: "listbox",
|
456 |
+
"aria-activedescendant": "ui-active-menuitem"
|
457 |
+
})
|
458 |
+
.click(function( event ) {
|
459 |
+
if ( !$( event.target ).closest( ".ui-menu-item a" ).length ) {
|
460 |
+
return;
|
461 |
+
}
|
462 |
+
// temporary
|
463 |
+
event.preventDefault();
|
464 |
+
self.select( event );
|
465 |
+
});
|
466 |
+
this.refresh();
|
467 |
+
},
|
468 |
+
|
469 |
+
refresh: function() {
|
470 |
+
var self = this;
|
471 |
+
|
472 |
+
// don't refresh list items that are already adapted
|
473 |
+
var items = this.element.children("li:not(.ui-menu-item):has(a)")
|
474 |
+
.addClass("ui-menu-item")
|
475 |
+
.attr("role", "menuitem");
|
476 |
+
|
477 |
+
items.children("a")
|
478 |
+
.addClass("ui-corner-all")
|
479 |
+
.attr("tabindex", -1)
|
480 |
+
// mouseenter doesn't work with event delegation
|
481 |
+
.mouseenter(function( event ) {
|
482 |
+
self.activate( event, $(this).parent() );
|
483 |
+
})
|
484 |
+
.mouseleave(function() {
|
485 |
+
self.deactivate();
|
486 |
+
});
|
487 |
+
},
|
488 |
+
|
489 |
+
activate: function( event, item ) {
|
490 |
+
this.deactivate();
|
491 |
+
if (this.hasScroll()) {
|
492 |
+
var offset = item.offset().top - this.element.offset().top,
|
493 |
+
scroll = this.element.scrollTop(),
|
494 |
+
elementHeight = this.element.height();
|
495 |
+
if (offset < 0) {
|
496 |
+
this.element.scrollTop( scroll + offset);
|
497 |
+
} else if (offset >= elementHeight) {
|
498 |
+
this.element.scrollTop( scroll + offset - elementHeight + item.height());
|
499 |
+
}
|
500 |
+
}
|
501 |
+
this.active = item.eq(0)
|
502 |
+
.children("a")
|
503 |
+
.addClass("ui-state-hover")
|
504 |
+
.attr("id", "ui-active-menuitem")
|
505 |
+
.end();
|
506 |
+
this._trigger("focus", event, { item: item });
|
507 |
+
},
|
508 |
+
|
509 |
+
deactivate: function() {
|
510 |
+
if (!this.active) { return; }
|
511 |
+
|
512 |
+
this.active.children("a")
|
513 |
+
.removeClass("ui-state-hover")
|
514 |
+
.removeAttr("id");
|
515 |
+
this._trigger("blur");
|
516 |
+
this.active = null;
|
517 |
+
},
|
518 |
+
|
519 |
+
next: function(event) {
|
520 |
+
this.move("next", ".ui-menu-item:first", event);
|
521 |
+
},
|
522 |
+
|
523 |
+
previous: function(event) {
|
524 |
+
this.move("prev", ".ui-menu-item:last", event);
|
525 |
+
},
|
526 |
+
|
527 |
+
first: function() {
|
528 |
+
return this.active && !this.active.prevAll(".ui-menu-item").length;
|
529 |
+
},
|
530 |
+
|
531 |
+
last: function() {
|
532 |
+
return this.active && !this.active.nextAll(".ui-menu-item").length;
|
533 |
+
},
|
534 |
+
|
535 |
+
move: function(direction, edge, event) {
|
536 |
+
if (!this.active) {
|
537 |
+
this.activate(event, this.element.children(edge));
|
538 |
+
return;
|
539 |
+
}
|
540 |
+
var next = this.active[direction + "All"](".ui-menu-item").eq(0);
|
541 |
+
if (next.length) {
|
542 |
+
this.activate(event, next);
|
543 |
+
} else {
|
544 |
+
this.activate(event, this.element.children(edge));
|
545 |
+
}
|
546 |
+
},
|
547 |
+
|
548 |
+
// TODO merge with previousPage
|
549 |
+
nextPage: function(event) {
|
550 |
+
if (this.hasScroll()) {
|
551 |
+
// TODO merge with no-scroll-else
|
552 |
+
if (!this.active || this.last()) {
|
553 |
+
this.activate(event, this.element.children(".ui-menu-item:first"));
|
554 |
+
return;
|
555 |
+
}
|
556 |
+
var base = this.active.offset().top,
|
557 |
+
height = this.element.height(),
|
558 |
+
result = this.element.children(".ui-menu-item").filter(function() {
|
559 |
+
var close = $(this).offset().top - base - height + $(this).height();
|
560 |
+
// TODO improve approximation
|
561 |
+
return close < 10 && close > -10;
|
562 |
+
});
|
563 |
+
|
564 |
+
// TODO try to catch this earlier when scrollTop indicates the last page anyway
|
565 |
+
if (!result.length) {
|
566 |
+
result = this.element.children(".ui-menu-item:last");
|
567 |
+
}
|
568 |
+
this.activate(event, result);
|
569 |
+
} else {
|
570 |
+
this.activate(event, this.element.children(".ui-menu-item")
|
571 |
+
.filter(!this.active || this.last() ? ":first" : ":last"));
|
572 |
+
}
|
573 |
+
},
|
574 |
+
|
575 |
+
// TODO merge with nextPage
|
576 |
+
previousPage: function(event) {
|
577 |
+
if (this.hasScroll()) {
|
578 |
+
// TODO merge with no-scroll-else
|
579 |
+
if (!this.active || this.first()) {
|
580 |
+
this.activate(event, this.element.children(".ui-menu-item:last"));
|
581 |
+
return;
|
582 |
+
}
|
583 |
+
|
584 |
+
var base = this.active.offset().top,
|
585 |
+
height = this.element.height();
|
586 |
+
result = this.element.children(".ui-menu-item").filter(function() {
|
587 |
+
var close = $(this).offset().top - base + height - $(this).height();
|
588 |
+
// TODO improve approximation
|
589 |
+
return close < 10 && close > -10;
|
590 |
+
});
|
591 |
+
|
592 |
+
// TODO try to catch this earlier when scrollTop indicates the last page anyway
|
593 |
+
if (!result.length) {
|
594 |
+
result = this.element.children(".ui-menu-item:first");
|
595 |
+
}
|
596 |
+
this.activate(event, result);
|
597 |
+
} else {
|
598 |
+
this.activate(event, this.element.children(".ui-menu-item")
|
599 |
+
.filter(!this.active || this.first() ? ":last" : ":first"));
|
600 |
+
}
|
601 |
+
},
|
602 |
+
|
603 |
+
hasScroll: function() {
|
604 |
+
return this.element.height() < this.element[ $.fn.prop ? "prop" : "attr" ]("scrollHeight");
|
605 |
+
},
|
606 |
+
|
607 |
+
select: function( event ) {
|
608 |
+
this._trigger("selected", event, { item: this.active });
|
609 |
+
}
|
610 |
+
});
|
611 |
+
|
612 |
+
}(jQuery));
|
admin/js/jquery.ui.autocomplete.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*
|
2 |
-
* jQuery UI Autocomplete 1.8.
|
3 |
*
|
4 |
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
5 |
* Dual licensed under the MIT or GPL Version 2 licenses.
|
@@ -12,20 +12,21 @@
|
|
12 |
* jquery.ui.widget.js
|
13 |
* jquery.ui.position.js
|
14 |
*/
|
15 |
-
(function(d){d.widget("ui.autocomplete",{options:{appendTo:"body",delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var a=this,b=this.element[0].ownerDocument,
|
16 |
-
switch(c.keyCode){case
|
17 |
-
null;a.search(null,c)}},a.options.delay);break}}}).bind("keypress.autocomplete",function(c){if(
|
18 |
-
"body",b)[0]).mousedown(function(c){var
|
19 |
-
h=a.previous;if(a.element[0]!==b.activeElement){a.element.focus();a.previous=
|
20 |
-
this.menu.element.remove();d.Widget.prototype.destroy.call(this)},_setOption:function(a,b){d.Widget.prototype._setOption.apply(this,arguments);a==="source"&&this._initSource();if(a==="appendTo")this.menu.element.appendTo(d(b||"body",this.element[0].ownerDocument)[0]);a==="disabled"&&
|
21 |
-
"string"){
|
22 |
-
this.element.
|
23 |
-
this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(a){if(a.length&&a[0].label&&a[0].value)return a;return d.map(a,function(b){if(typeof b==="string")return{label:b,value:b};return d.extend({label:b.label||
|
24 |
-
|
25 |
-
else this.search(null,b)},widget:function(){return this.menu.element}});d.extend(d.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,
|
26 |
-
|
27 |
-
|
28 |
-
deactivate:function(){if(this.
|
29 |
-
|
30 |
-
|
31 |
-
this.
|
|
1 |
/*
|
2 |
+
* jQuery UI Autocomplete 1.8.15
|
3 |
*
|
4 |
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
5 |
* Dual licensed under the MIT or GPL Version 2 licenses.
|
12 |
* jquery.ui.widget.js
|
13 |
* jquery.ui.position.js
|
14 |
*/
|
15 |
+
(function(d){var e=0;d.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var a=this,b=this.element[0].ownerDocument,g;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(!(a.options.disabled||a.element.propAttr("readOnly"))){g=
|
16 |
+
false;var f=d.ui.keyCode;switch(c.keyCode){case f.PAGE_UP:a._move("previousPage",c);break;case f.PAGE_DOWN:a._move("nextPage",c);break;case f.UP:a._move("previous",c);c.preventDefault();break;case f.DOWN:a._move("next",c);c.preventDefault();break;case f.ENTER:case f.NUMPAD_ENTER:if(a.menu.active){g=true;c.preventDefault()}case f.TAB:if(!a.menu.active)return;a.menu.select(c);break;case f.ESCAPE:a.element.val(a.term);a.close(c);break;default:clearTimeout(a.searching);a.searching=setTimeout(function(){if(a.term!=
|
17 |
+
a.element.val()){a.selectedItem=null;a.search(null,c)}},a.options.delay);break}}}).bind("keypress.autocomplete",function(c){if(g){g=false;c.preventDefault()}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){return a._response.apply(a,arguments)};
|
18 |
+
this.menu=d("<ul></ul>").addClass("ui-autocomplete").appendTo(d(this.options.appendTo||"body",b)[0]).mousedown(function(c){var f=a.menu.element[0];d(c.target).closest(".ui-menu-item").length||setTimeout(function(){d(document).one("mousedown",function(h){h.target!==a.element[0]&&h.target!==f&&!d.ui.contains(f,h.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,f){f=f.item.data("item.autocomplete");false!==a._trigger("focus",c,{item:f})&&/^key/.test(c.originalEvent.type)&&
|
19 |
+
a.element.val(f.value)},selected:function(c,f){var h=f.item.data("item.autocomplete"),i=a.previous;if(a.element[0]!==b.activeElement){a.element.focus();a.previous=i;setTimeout(function(){a.previous=i;a.selectedItem=h},1)}false!==a._trigger("select",c,{item:h})&&a.element.val(h.value);a.term=a.element.val();a.close(c);a.selectedItem=h},blur:function(){a.menu.element.is(":visible")&&a.element.val()!==a.term&&a.element.val(a.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");
|
20 |
+
d.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");this.menu.element.remove();d.Widget.prototype.destroy.call(this)},_setOption:function(a,b){d.Widget.prototype._setOption.apply(this,arguments);a==="source"&&this._initSource();if(a==="appendTo")this.menu.element.appendTo(d(b||"body",this.element[0].ownerDocument)[0]);a==="disabled"&&
|
21 |
+
b&&this.xhr&&this.xhr.abort()},_initSource:function(){var a=this,b,g;if(d.isArray(this.options.source)){b=this.options.source;this.source=function(c,f){f(d.ui.autocomplete.filter(b,c.term))}}else if(typeof this.options.source==="string"){g=this.options.source;this.source=function(c,f){a.xhr&&a.xhr.abort();a.xhr=d.ajax({url:g,data:c,dataType:"json",autocompleteRequest:++e,success:function(h){this.autocompleteRequest===e&&f(h)},error:function(){this.autocompleteRequest===e&&f([])}})}}else this.source=
|
22 |
+
this.options.source},search:function(a,b){a=a!=null?a:this.element.val();this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger("search",b)!==false)return this._search(a)},_search:function(a){this.pending++;this.element.addClass("ui-autocomplete-loading");this.source({term:a},this.response)},_response:function(a){if(!this.options.disabled&&a&&a.length){a=this._normalize(a);this._suggest(a);this._trigger("open")}else this.close();
|
23 |
+
this.pending--;this.pending||this.element.removeClass("ui-autocomplete-loading")},close:function(a){clearTimeout(this.closing);if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.deactivate();this._trigger("close",a)}},_change:function(a){this.previous!==this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(a){if(a.length&&a[0].label&&a[0].value)return a;return d.map(a,function(b){if(typeof b==="string")return{label:b,value:b};return d.extend({label:b.label||
|
24 |
+
b.value,value:b.value||b.label},b)})},_suggest:function(a){var b=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(b,a);this.menu.deactivate();this.menu.refresh();b.show();this._resizeMenu();b.position(d.extend({of:this.element},this.options.position));this.options.autoFocus&&this.menu.next(new d.Event("mouseover"))},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth(),this.element.outerWidth()))},_renderMenu:function(a,b){var g=this;
|
25 |
+
d.each(b,function(c,f){g._renderItem(a,f)})},_renderItem:function(a,b){return d("<li></li>").data("item.autocomplete",b).append(d("<a></a>").text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});d.extend(d.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,
|
26 |
+
"\\$&")},filter:function(a,b){var g=new RegExp(d.ui.autocomplete.escapeRegex(b),"i");return d.grep(a,function(c){return g.test(c.label||c.value||c)})}})})(jQuery);
|
27 |
+
(function(d){d.widget("ui.menu",{_create:function(){var e=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(a){if(d(a.target).closest(".ui-menu-item a").length){a.preventDefault();e.select(a)}});this.refresh()},refresh:function(){var e=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",
|
28 |
+
-1).mouseenter(function(a){e.activate(a,d(this).parent())}).mouseleave(function(){e.deactivate()})},activate:function(e,a){this.deactivate();if(this.hasScroll()){var b=a.offset().top-this.element.offset().top,g=this.element.scrollTop(),c=this.element.height();if(b<0)this.element.scrollTop(g+b);else b>=c&&this.element.scrollTop(g+b-c+a.height())}this.active=a.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",e,{item:a})},deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");
|
29 |
+
this._trigger("blur");this.active=null}},next:function(e){this.move("next",".ui-menu-item:first",e)},previous:function(e){this.move("prev",".ui-menu-item:last",e)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(e,a,b){if(this.active){e=this.active[e+"All"](".ui-menu-item").eq(0);e.length?this.activate(b,e):this.activate(b,this.element.children(a))}else this.activate(b,
|
30 |
+
this.element.children(a))},nextPage:function(e){if(this.hasScroll())if(!this.active||this.last())this.activate(e,this.element.children(".ui-menu-item:first"));else{var a=this.active.offset().top,b=this.element.height(),g=this.element.children(".ui-menu-item").filter(function(){var c=d(this).offset().top-a-b+d(this).height();return c<10&&c>-10});g.length||(g=this.element.children(".ui-menu-item:last"));this.activate(e,g)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||
|
31 |
+
this.last()?":first":":last"))},previousPage:function(e){if(this.hasScroll())if(!this.active||this.first())this.activate(e,this.element.children(".ui-menu-item:last"));else{var a=this.active.offset().top,b=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var g=d(this).offset().top-a+b-d(this).height();return g<10&&g>-10});result.length||(result=this.element.children(".ui-menu-item:first"));this.activate(e,result)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||
|
32 |
+
this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element[d.fn.prop?"prop":"attr"]("scrollHeight")},select:function(e){this._trigger("selected",e,{item:this.active})}})})(jQuery);
|
admin/js/ngg.progressbar.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/*
|
2 |
* Progress bar Plugin for NextGEN gallery
|
3 |
-
* Version: 2.0.
|
4 |
* Author : Alex Rabe
|
5 |
*/
|
6 |
(function($) {
|
@@ -10,13 +10,13 @@
|
|
10 |
id: 'progressbar',
|
11 |
maxStep: 100,
|
12 |
wait: false,
|
13 |
-
header: ''
|
|
|
14 |
},
|
15 |
|
16 |
init: function( s ) {
|
17 |
|
18 |
s = this.settings = $.extend( {}, this.settings, {}, s || {} );
|
19 |
-
div = $('#' + s.id + '_dialog');
|
20 |
width = Math.round( ( 100 / s.maxStep ) * 100 ) /100;
|
21 |
// add the initial progressbar
|
22 |
if ( $( "#" + s.id + "_dialog" ).length == 0) {
|
@@ -31,6 +31,9 @@
|
|
31 |
title: s.header
|
32 |
});
|
33 |
}
|
|
|
|
|
|
|
34 |
},
|
35 |
|
36 |
addMessage: function( message ) {
|
1 |
/*
|
2 |
* Progress bar Plugin for NextGEN gallery
|
3 |
+
* Version: 2.0.3
|
4 |
* Author : Alex Rabe
|
5 |
*/
|
6 |
(function($) {
|
10 |
id: 'progressbar',
|
11 |
maxStep: 100,
|
12 |
wait: false,
|
13 |
+
header: '',
|
14 |
+
init:false
|
15 |
},
|
16 |
|
17 |
init: function( s ) {
|
18 |
|
19 |
s = this.settings = $.extend( {}, this.settings, {}, s || {} );
|
|
|
20 |
width = Math.round( ( 100 / s.maxStep ) * 100 ) /100;
|
21 |
// add the initial progressbar
|
22 |
if ( $( "#" + s.id + "_dialog" ).length == 0) {
|
31 |
title: s.header
|
32 |
});
|
33 |
}
|
34 |
+
// get the pointer to the dialog
|
35 |
+
div = $('#' + s.id + '_dialog');
|
36 |
+
s.init = true;
|
37 |
},
|
38 |
|
39 |
addMessage: function( message ) {
|
admin/js/plupload.handler.js
ADDED
@@ -0,0 +1,244 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* NextGEN Gallery - plupload Handlers
|
3 |
+
*
|
4 |
+
* Built on top of the plupload library
|
5 |
+
* http://www.plupload.com version 1.4.2
|
6 |
+
*
|
7 |
+
* version 1.0.0
|
8 |
+
*/
|
9 |
+
|
10 |
+
// on load change the upload to plupload
|
11 |
+
function initUploader() {
|
12 |
+
|
13 |
+
jQuery(document).ready(function($){
|
14 |
+
|
15 |
+
/* Not working in chrome, needs rework
|
16 |
+
var dropElm = jQuery('#' + uploader.settings.drop_element);
|
17 |
+
if (dropElm.length && uploader.features.dragdrop) {
|
18 |
+
dropElm.bind('dragenter', function() {
|
19 |
+
jQuery(this).css('border', '3px dashed #cccccc');
|
20 |
+
});
|
21 |
+
dropElm.bind('dragout drop', function() {
|
22 |
+
jQuery(this).css('border', 'none');
|
23 |
+
});
|
24 |
+
}*/
|
25 |
+
|
26 |
+
// enable or disable the resize feature
|
27 |
+
jQuery('#image_resize').bind('change', function() {
|
28 |
+
var arg = jQuery(this).prop('checked');
|
29 |
+
setResize( arg );
|
30 |
+
|
31 |
+
if ( arg )
|
32 |
+
setUserSetting('ngg_upload_resize', '1');
|
33 |
+
else
|
34 |
+
deleteUserSetting('ngg_upload_resize');
|
35 |
+
});
|
36 |
+
|
37 |
+
// get user settings from cookie
|
38 |
+
setResize( getUserSetting('ngg_upload_resize', false) );
|
39 |
+
|
40 |
+
if ( uploader.features.dragdrop )
|
41 |
+
jQuery('.ngg-dragdrop-info').show();
|
42 |
+
|
43 |
+
jQuery("#uploadimage_btn").after("<input class='button-primary' type='button' name='uploadimage' id='plupload_btn' value='" + uploader.settings.i18n.upload + "' />")
|
44 |
+
.remove();
|
45 |
+
jQuery("#plupload_btn").click( function() { uploader.start(); } );
|
46 |
+
});
|
47 |
+
}
|
48 |
+
|
49 |
+
// called when a file is added
|
50 |
+
function fileQueued( fileObj ) {
|
51 |
+
debug('[FilesAdded]', fileObj);
|
52 |
+
|
53 |
+
filesize = " (" + plupload.formatSize(fileObj.size) + ") ";
|
54 |
+
jQuery("#txtFileName").val(fileObj.name);
|
55 |
+
jQuery("#uploadQueue")
|
56 |
+
.append("<div id='" + fileObj.id + "' class='nggUploadItem'> [<a href=''>" + uploader.settings.i18n.remove + "</a>] " + fileObj.name + filesize + "</div>")
|
57 |
+
.children("div:last").slideDown("slow")
|
58 |
+
.end();
|
59 |
+
jQuery('#' + fileObj.id + ' a').click(function(e) {
|
60 |
+
jQuery('#' + fileObj.id).remove();
|
61 |
+
uploader.removeFile(fileObj);
|
62 |
+
e.preventDefault();
|
63 |
+
});
|
64 |
+
}
|
65 |
+
|
66 |
+
// called before the uploads start
|
67 |
+
function uploadStart(fileObj) {
|
68 |
+
debug('[uploadStart]');
|
69 |
+
nggProgressBar.init(nggAjaxOptions);
|
70 |
+
// check if a gallery is selected
|
71 |
+
if (jQuery('#galleryselect').val() > "0") {
|
72 |
+
debug('[gallery selected]');
|
73 |
+
// update the selected gallery in the post_params
|
74 |
+
uploader.settings.multipart_params.galleryselect = jQuery('#galleryselect').val();
|
75 |
+
} else {
|
76 |
+
debug('[gallery not selected]');
|
77 |
+
jQuery('#uploadimage_form').prepend("<input type=\"hidden\" name=\"swf_callback\" value=\"-1\">");
|
78 |
+
jQuery("#uploadimage_form").submit();
|
79 |
+
}
|
80 |
+
return true;
|
81 |
+
}
|
82 |
+
|
83 |
+
// called during the upload progress
|
84 |
+
function uploadProgress(fileObj, bytesDone, bytesTotal) {
|
85 |
+
var percent = Math.ceil((bytesDone / bytesTotal) * 100);
|
86 |
+
debug('[uploadProgress]', fileObj.name + ' : ' + percent + "%");
|
87 |
+
nggProgressBar.increase( percent );
|
88 |
+
jQuery("#progressbar span").text(percent + "% - " + fileObj.name);
|
89 |
+
}
|
90 |
+
|
91 |
+
// called when all files are uploaded
|
92 |
+
function uploadComplete(fileObj) {
|
93 |
+
debug('[uploadComplete]');
|
94 |
+
|
95 |
+
// Upload the next file until queue is empty
|
96 |
+
if ( uploader.total.queued == 0) {
|
97 |
+
//TODO: we submit here no error code
|
98 |
+
jQuery('#uploadimage_form').prepend("<input type=\"hidden\" name=\"swf_callback\" value=\"0\">");
|
99 |
+
nggProgressBar.finished();
|
100 |
+
jQuery("#uploadimage_form").submit();
|
101 |
+
}
|
102 |
+
}
|
103 |
+
|
104 |
+
// called when the file is uploaded
|
105 |
+
function uploadSuccess(fileObj, serverData) {
|
106 |
+
debug('[uploadSuccess]', serverData);
|
107 |
+
|
108 |
+
if (serverData.response != 0)
|
109 |
+
nggProgressBar.addNote("<strong>ERROR</strong>: " + fileObj.name + " : " + serverData.response);
|
110 |
+
|
111 |
+
jQuery("#" + fileObj.id).hide("slow");
|
112 |
+
jQuery("#" + fileObj.id).remove();
|
113 |
+
}
|
114 |
+
|
115 |
+
function cancelUpload() {
|
116 |
+
uploader.stop();
|
117 |
+
jQuery.each(uploader.files, function(i,file) {
|
118 |
+
if (file.status == plupload.STOPPED)
|
119 |
+
jQuery('#' + file.id).remove();
|
120 |
+
});
|
121 |
+
}
|
122 |
+
|
123 |
+
function uploadError(fileObj, errorCode, message) {
|
124 |
+
debug('[uploadError]', errorCode, message);
|
125 |
+
switch (errorCode) {
|
126 |
+
case plupload.FAILED:
|
127 |
+
error_name = fileObj.name + " : " + pluploadL10n.upload_failed;
|
128 |
+
break;
|
129 |
+
case plupload.FILE_EXTENSION_ERROR:
|
130 |
+
error_name = fileObj.name + " : " + pluploadL10n.invalid_filetype;
|
131 |
+
break;
|
132 |
+
case plupload.FILE_SIZE_ERROR:
|
133 |
+
error_name = fileObj.name + " : " + pluploadL10n.upload_limit_exceeded;
|
134 |
+
break;
|
135 |
+
case plupload.IMAGE_FORMAT_ERROR:
|
136 |
+
error_name = fileObj.name + " : " + pluploadL10n.not_an_image;
|
137 |
+
break;
|
138 |
+
case plupload.IMAGE_MEMORY_ERROR:
|
139 |
+
error_name = fileObj.name + " : " + pluploadL10n.image_memory_exceeded;
|
140 |
+
break;
|
141 |
+
case plupload.IMAGE_DIMENSIONS_ERROR:
|
142 |
+
error_name = fileObj.name + " : " + pluploadL10n.image_dimensions_exceeded;
|
143 |
+
break;
|
144 |
+
case plupload.GENERIC_ERROR:
|
145 |
+
error_name = pluploadL10n.upload_failed;
|
146 |
+
break;
|
147 |
+
case plupload.IO_ERROR:
|
148 |
+
error_name = pluploadL10n.io_error;
|
149 |
+
break;
|
150 |
+
case plupload.HTTP_ERROR:
|
151 |
+
error_name = pluploadL10n.http_error;
|
152 |
+
break;
|
153 |
+
case plupload.INIT_ERROR:
|
154 |
+
/* what should we do in this case ? */
|
155 |
+
//switchUploader(0);
|
156 |
+
//jQuery('.upload-html-bypass').hide();
|
157 |
+
break;
|
158 |
+
case plupload.SECURITY_ERROR:
|
159 |
+
error_name = pluploadL10n.security_error;
|
160 |
+
break;
|
161 |
+
case plupload.UPLOAD_ERROR.UPLOAD_STOPPED:
|
162 |
+
case plupload.UPLOAD_ERROR.FILE_CANCELLED:
|
163 |
+
break;
|
164 |
+
default:
|
165 |
+
FileError(fileObj, pluploadL10n.default_error);
|
166 |
+
}
|
167 |
+
nggProgressBar.addNote("<strong>ERROR " + error_name + " </strong>: " + message);
|
168 |
+
jQuery("#" + fileObj.id).hide("slow");
|
169 |
+
jQuery("#" + fileObj.id).remove();
|
170 |
+
}
|
171 |
+
|
172 |
+
// client side resize feature
|
173 |
+
function setResize(arg) {
|
174 |
+
if ( arg ) {
|
175 |
+
debug('[enable resize]');
|
176 |
+
if ( uploader.features.jpgresize )
|
177 |
+
uploader.settings['resize'] = { width: resize_width, height: resize_height, quality: 100 };
|
178 |
+
else
|
179 |
+
uploader.settings.multipart_params.image_resize = true;
|
180 |
+
} else {
|
181 |
+
debug('[disable resize]');
|
182 |
+
delete(uploader.settings.resize);
|
183 |
+
delete(uploader.settings.multipart_params.image_resize);
|
184 |
+
}
|
185 |
+
}
|
186 |
+
|
187 |
+
function debug() {
|
188 |
+
if ( uploader.settings.debug ) {
|
189 |
+
plupload.each(arguments, function(message) {
|
190 |
+
var exceptionMessage, exceptionValues = [];
|
191 |
+
|
192 |
+
// Check for an exception object and print it nicely
|
193 |
+
if (typeof message === "object" && typeof message.name === "string" && typeof message.message === "string") {
|
194 |
+
for (var key in message) {
|
195 |
+
if (message.hasOwnProperty(key)) {
|
196 |
+
exceptionValues.push(key + ": " + message[key]);
|
197 |
+
}
|
198 |
+
}
|
199 |
+
exceptionMessage = exceptionValues.join("\n") || "";
|
200 |
+
exceptionValues = exceptionMessage.split("\n");
|
201 |
+
exceptionMessage = "EXCEPTION: " + exceptionValues.join("\nEXCEPTION: ");
|
202 |
+
if (window.console)
|
203 |
+
console.log(exceptionMessage);
|
204 |
+
else
|
205 |
+
debugConsole(exceptionMessage);
|
206 |
+
} else {
|
207 |
+
if (window.console)
|
208 |
+
console.log(message);
|
209 |
+
else
|
210 |
+
debugConsole(message);
|
211 |
+
}
|
212 |
+
});
|
213 |
+
}
|
214 |
+
};
|
215 |
+
|
216 |
+
function debugConsole(message) {
|
217 |
+
var console, documentForm;
|
218 |
+
|
219 |
+
try {
|
220 |
+
console = document.getElementById("plupload_Console");
|
221 |
+
|
222 |
+
if (!console) {
|
223 |
+
documentForm = document.createElement("form");
|
224 |
+
document.getElementsByTagName("body")[0].appendChild(documentForm);
|
225 |
+
|
226 |
+
console = document.createElement("textarea");
|
227 |
+
console.id = "plupload_Console";
|
228 |
+
console.style.fontFamily = "monospace";
|
229 |
+
console.setAttribute("wrap", "off");
|
230 |
+
console.wrap = "off";
|
231 |
+
console.style.overflow = "auto";
|
232 |
+
console.style.width = "99%";
|
233 |
+
console.style.height = "350px";
|
234 |
+
console.style.margin = "5px";
|
235 |
+
documentForm.appendChild(console);
|
236 |
+
}
|
237 |
+
|
238 |
+
console.value += message + "\n";
|
239 |
+
|
240 |
+
console.scrollTop = console.scrollHeight - console.clientHeight;
|
241 |
+
} catch (ex) {
|
242 |
+
alert("Exception: " + ex.name + " Message: " + ex.message);
|
243 |
+
}
|
244 |
+
};
|
admin/js/swfupload.handler.js
CHANGED
@@ -32,7 +32,7 @@ function fileBrowse() {
|
|
32 |
|
33 |
// called when a file is added
|
34 |
function fileQueued(fileObj) {
|
35 |
-
filesize = " (" + Math.round(fileObj.size/1024) + " kB) "
|
36 |
jQuery("#txtFileName").val(fileObj.name);
|
37 |
jQuery("#uploadQueue")
|
38 |
.append("<div id='" + fileObj.id + "' class='nggUploadItem'> [<a href='javascript:removeFile(\"" + fileObj.id + "\");'>" + ngg_swf_upload.customSettings.remove + "</a>] " + fileObj.name + filesize + "</div>")
|
32 |
|
33 |
// called when a file is added
|
34 |
function fileQueued(fileObj) {
|
35 |
+
filesize = " (" + Math.round(fileObj.size/1024) + " kB) ";
|
36 |
jQuery("#txtFileName").val(fileObj.name);
|
37 |
jQuery("#uploadQueue")
|
38 |
.append("<div id='" + fileObj.id + "' class='nggUploadItem'> [<a href='javascript:removeFile(\"" + fileObj.id + "\");'>" + ngg_swf_upload.customSettings.remove + "</a>] " + fileObj.name + filesize + "</div>")
|
admin/manage-galleries.php
CHANGED
@@ -283,6 +283,7 @@ if($gallerylist) {
|
|
283 |
<i>( <?php _e('Allowed characters for file and folder names are', 'nggallery') ;?>: a-z, A-Z, 0-9, -, _ )</i>
|
284 |
</td>
|
285 |
</tr>
|
|
|
286 |
<tr align="right">
|
287 |
<td class="submit">
|
288 |
<input class="button-primary" type="submit" name="addgallery" value="<?php _e('OK','nggallery'); ?>" />
|
283 |
<i>( <?php _e('Allowed characters for file and folder names are', 'nggallery') ;?>: a-z, A-Z, 0-9, -, _ )</i>
|
284 |
</td>
|
285 |
</tr>
|
286 |
+
<?php do_action('ngg_add_new_gallery_form'); ?>
|
287 |
<tr align="right">
|
288 |
<td class="submit">
|
289 |
<input class="button-primary" type="submit" name="addgallery" value="<?php _e('OK','nggallery'); ?>" />
|
admin/manage-images.php
CHANGED
@@ -231,7 +231,7 @@ jQuery(document).ready( function() {
|
|
231 |
|
232 |
<br style="clear: both;" />
|
233 |
|
234 |
-
<form id="updategallery" class="nggform" method="POST" action="<?php echo $ngg->manage_page->base_page . '&mode=edit&s=' .
|
235 |
<?php wp_nonce_field('ngg_updategallery') ?>
|
236 |
<input type="hidden" name="page" value="manage-images" />
|
237 |
|
@@ -274,7 +274,8 @@ jQuery(document).ready( function() {
|
|
274 |
if ( intval($gallery->previewpic) != 0) {
|
275 |
if ( !array_key_exists ($gallery->previewpic, $picturelist )){
|
276 |
$previewpic = $nggdb->find_image($gallery->previewpic);
|
277 |
-
|
|
|
278 |
}
|
279 |
}
|
280 |
if(is_array($picturelist)) {
|
@@ -436,7 +437,7 @@ if($picturelist) {
|
|
436 |
<p>
|
437 |
<?php
|
438 |
$actions = array();
|
439 |
-
$actions['view'] = '<a class="
|
440 |
$actions['meta'] = '<a class="ngg-dialog" href="' . NGGALLERY_URLPATH . 'admin/showmeta.php?id=' . $pid . '" title="' . __('Show Meta data','nggallery') . '">' . __('Meta', 'nggallery') . '</a>';
|
441 |
$actions['custom_thumb'] = '<a class="ngg-dialog" href="' . NGGALLERY_URLPATH . 'admin/edit-thumbnail.php?id=' . $pid . '" title="' . __('Customize thumbnail','nggallery') . '">' . __('Edit thumb', 'nggallery') . '</a>';
|
442 |
$actions['rotate'] = '<a class="ngg-dialog" href="' . NGGALLERY_URLPATH . 'admin/rotate.php?id=' . $pid . '" title="' . __('Rotate','nggallery') . '">' . __('Rotate', 'nggallery') . '</a>';
|
@@ -461,8 +462,8 @@ if($picturelist) {
|
|
461 |
case 'thumbnail' :
|
462 |
$attributes = 'class="id column-thumbnail media-icon"' . $style;
|
463 |
?>
|
464 |
-
<td <?php echo $attributes ?>><a href="<?php echo
|
465 |
-
<img class="thumb" src="<?php echo
|
466 |
</a>
|
467 |
</td>
|
468 |
<?php
|
231 |
|
232 |
<br style="clear: both;" />
|
233 |
|
234 |
+
<form id="updategallery" class="nggform" method="POST" action="<?php echo $ngg->manage_page->base_page . '&mode=edit&s=' . get_search_query(); ?>" accept-charset="utf-8">
|
235 |
<?php wp_nonce_field('ngg_updategallery') ?>
|
236 |
<input type="hidden" name="page" value="manage-images" />
|
237 |
|
274 |
if ( intval($gallery->previewpic) != 0) {
|
275 |
if ( !array_key_exists ($gallery->previewpic, $picturelist )){
|
276 |
$previewpic = $nggdb->find_image($gallery->previewpic);
|
277 |
+
if ($previewpic)
|
278 |
+
echo '<option value="'.$previewpic->pid.'" selected="selected" >'.$previewpic->pid.' - '.$previewpic->filename.'</option>'."\n";
|
279 |
}
|
280 |
}
|
281 |
if(is_array($picturelist)) {
|
437 |
<p>
|
438 |
<?php
|
439 |
$actions = array();
|
440 |
+
$actions['view'] = '<a class="shutter" href="' . $picture->imageURL . '" title="' . esc_attr(sprintf(__('View "%s"'), $picture->filename)) . '">' . __('View', 'nggallery') . '</a>';
|
441 |
$actions['meta'] = '<a class="ngg-dialog" href="' . NGGALLERY_URLPATH . 'admin/showmeta.php?id=' . $pid . '" title="' . __('Show Meta data','nggallery') . '">' . __('Meta', 'nggallery') . '</a>';
|
442 |
$actions['custom_thumb'] = '<a class="ngg-dialog" href="' . NGGALLERY_URLPATH . 'admin/edit-thumbnail.php?id=' . $pid . '" title="' . __('Customize thumbnail','nggallery') . '">' . __('Edit thumb', 'nggallery') . '</a>';
|
443 |
$actions['rotate'] = '<a class="ngg-dialog" href="' . NGGALLERY_URLPATH . 'admin/rotate.php?id=' . $pid . '" title="' . __('Rotate','nggallery') . '">' . __('Rotate', 'nggallery') . '</a>';
|
462 |
case 'thumbnail' :
|
463 |
$attributes = 'class="id column-thumbnail media-icon"' . $style;
|
464 |
?>
|
465 |
+
<td <?php echo $attributes ?>><a href="<?php echo add_query_arg('i', mt_rand(), $picture->imageURL); ?>" class="shutter" title="<?php echo $picture->filename ?>">
|
466 |
+
<img class="thumb" src="<?php echo add_query_arg('i', mt_rand(), $picture->thumbURL); ?>" id="thumb<?php echo $pid ?>" />
|
467 |
</a>
|
468 |
</td>
|
469 |
<?php
|
admin/manage.php
CHANGED
@@ -75,14 +75,16 @@ class nggManageGallery {
|
|
75 |
if ($ngg->options['deleteImg']) {
|
76 |
@unlink($image->imagePath);
|
77 |
@unlink($image->thumbPath);
|
78 |
-
@unlink($image->imagePath .
|
79 |
}
|
80 |
-
$
|
81 |
}
|
82 |
|
83 |
-
if($
|
84 |
nggGallery::show_message( __('Picture','nggallery').' \''.$this->pid.'\' '.__('deleted successfully','nggallery') );
|
85 |
-
|
|
|
|
|
86 |
$this->mode = 'edit'; // show pictures
|
87 |
|
88 |
}
|
@@ -171,8 +173,11 @@ class nggManageGallery {
|
|
171 |
$deleted = nggdb::delete_gallery( $id );
|
172 |
}
|
173 |
|
174 |
-
if($deleted)
|
175 |
-
|
|
|
|
|
|
|
176 |
}
|
177 |
break;
|
178 |
}
|
@@ -190,6 +195,8 @@ class nggManageGallery {
|
|
190 |
$newgallery = esc_attr( $_POST['galleryname']);
|
191 |
if ( !empty($newgallery) )
|
192 |
nggAdmin::create_gallery($newgallery, $defaultpath);
|
|
|
|
|
193 |
}
|
194 |
|
195 |
if (isset ($_POST['TB_bulkaction']) && isset ($_POST['TB_ResizeImages'])) {
|
@@ -214,7 +221,7 @@ class nggManageGallery {
|
|
214 |
//save the new values for the next operation
|
215 |
$ngg->options['thumbwidth'] = (int) $_POST['thumbwidth'];
|
216 |
$ngg->options['thumbheight'] = (int) $_POST['thumbheight'];
|
217 |
-
$ngg->options['thumbfix'] = (
|
218 |
// What is in the case the user has no if cap 'NextGEN Change options' ? Check feedback
|
219 |
update_option('ngg_options', $ngg->options);
|
220 |
|
75 |
if ($ngg->options['deleteImg']) {
|
76 |
@unlink($image->imagePath);
|
77 |
@unlink($image->thumbPath);
|
78 |
+
@unlink($image->imagePath . '_backup' );
|
79 |
}
|
80 |
+
$result = nggdb::delete_image ( $this->pid );
|
81 |
}
|
82 |
|
83 |
+
if ($result) {
|
84 |
nggGallery::show_message( __('Picture','nggallery').' \''.$this->pid.'\' '.__('deleted successfully','nggallery') );
|
85 |
+
do_action('ngg_delete_picture', $this->pid);
|
86 |
+
}
|
87 |
+
|
88 |
$this->mode = 'edit'; // show pictures
|
89 |
|
90 |
}
|
173 |
$deleted = nggdb::delete_gallery( $id );
|
174 |
}
|
175 |
|
176 |
+
if($deleted) {
|
177 |
+
nggGallery::show_message(__('Gallery deleted successfully ', 'nggallery'));
|
178 |
+
do_action('ngg_delete_gallery', $id);
|
179 |
+
}
|
180 |
+
|
181 |
}
|
182 |
break;
|
183 |
}
|
195 |
$newgallery = esc_attr( $_POST['galleryname']);
|
196 |
if ( !empty($newgallery) )
|
197 |
nggAdmin::create_gallery($newgallery, $defaultpath);
|
198 |
+
|
199 |
+
do_action( 'ngg_update_addgallery_page' );
|
200 |
}
|
201 |
|
202 |
if (isset ($_POST['TB_bulkaction']) && isset ($_POST['TB_ResizeImages'])) {
|
221 |
//save the new values for the next operation
|
222 |
$ngg->options['thumbwidth'] = (int) $_POST['thumbwidth'];
|
223 |
$ngg->options['thumbheight'] = (int) $_POST['thumbheight'];
|
224 |
+
$ngg->options['thumbfix'] = isset ($_POST['thumbfix']) ? true : false;
|
225 |
// What is in the case the user has no if cap 'NextGEN Change options' ? Check feedback
|
226 |
update_option('ngg_options', $ngg->options);
|
227 |
|
admin/overview.php
CHANGED
@@ -13,14 +13,14 @@ function nggallery_admin_overview() {
|
|
13 |
<?php screen_icon( 'nextgen-gallery' ); ?>
|
14 |
<h2><?php _e('NextGEN Gallery Overview', 'nggallery') ?></h2>
|
15 |
<?php if (version_compare(PHP_VERSION, '5.0.0', '<')) ngg_check_for_PHP5(); ?>
|
16 |
-
<div id="dashboard-widgets-
|
17 |
<div id="dashboard-widgets" class="metabox-holder">
|
18 |
<div id="post-body">
|
19 |
<div id="dashboard-widgets-main-content">
|
20 |
-
<div class="postbox-container" style="width:75%;">
|
21 |
<?php do_meta_boxes('ngg_overview', 'left', ''); ?>
|
22 |
</div>
|
23 |
-
<div class="postbox-container" style="width:24%;">
|
24 |
<?php do_meta_boxes('ngg_overview', 'right', ''); ?>
|
25 |
</div>
|
26 |
</div>
|
@@ -136,8 +136,7 @@ function ngg_plugin_check() {
|
|
136 |
img_run: '<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="icon" alt="started"/>',
|
137 |
img_ok: '<img src="<?php echo esc_url( admin_url( 'images/yes.png' ) ); ?>" class="icon" alt="ok"/>',
|
138 |
img_fail: '<img src="<?php echo esc_url( admin_url( 'images/no.png' ) ); ?>" class="icon" alt="failed" />',
|
139 |
-
|
140 |
-
domain: '<?php echo esc_url( home_url('index.php') ); ?>'
|
141 |
},
|
142 |
|
143 |
run: function( index, state ) {
|
@@ -188,7 +187,7 @@ function ngg_plugin_check() {
|
|
188 |
var stop = false;
|
189 |
var req = $.ajax({
|
190 |
type: "POST",
|
191 |
-
url:
|
192 |
data:"action=ngg_image_check&step=" + step,
|
193 |
cache: false,
|
194 |
timeout: 10000,
|
@@ -222,7 +221,7 @@ function ngg_plugin_check() {
|
|
222 |
this.start(3);
|
223 |
var req = $.ajax({
|
224 |
type: "POST",
|
225 |
-
url:
|
226 |
data:"action=ngg_test_head_footer",
|
227 |
cache: false,
|
228 |
timeout: 10000,
|
@@ -784,11 +783,15 @@ function ngg_widget_related_plugins() {
|
|
784 |
function ngg_related_plugins() {
|
785 |
include(ABSPATH . 'wp-admin/includes/plugin-install.php');
|
786 |
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
|
|
|
|
|
|
|
|
792 |
|
793 |
// don't show my own plugin :-) and some other plugins, which come up with the search result
|
794 |
$blacklist = array(
|
13 |
<?php screen_icon( 'nextgen-gallery' ); ?>
|
14 |
<h2><?php _e('NextGEN Gallery Overview', 'nggallery') ?></h2>
|
15 |
<?php if (version_compare(PHP_VERSION, '5.0.0', '<')) ngg_check_for_PHP5(); ?>
|
16 |
+
<div id="dashboard-widgets-container" class="ngg-overview">
|
17 |
<div id="dashboard-widgets" class="metabox-holder">
|
18 |
<div id="post-body">
|
19 |
<div id="dashboard-widgets-main-content">
|
20 |
+
<div class="postbox-container" id="main-container" style="width:75%;">
|
21 |
<?php do_meta_boxes('ngg_overview', 'left', ''); ?>
|
22 |
</div>
|
23 |
+
<div class="postbox-container" id="side-container" style="width:24%;">
|
24 |
<?php do_meta_boxes('ngg_overview', 'right', ''); ?>
|
25 |
</div>
|
26 |
</div>
|
136 |
img_run: '<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="icon" alt="started"/>',
|
137 |
img_ok: '<img src="<?php echo esc_url( admin_url( 'images/yes.png' ) ); ?>" class="icon" alt="ok"/>',
|
138 |
img_fail: '<img src="<?php echo esc_url( admin_url( 'images/no.png' ) ); ?>" class="icon" alt="failed" />',
|
139 |
+
domain: '<?php echo esc_url( home_url('index.php', is_ssl() ? 'https' : 'http') ); ?>'
|
|
|
140 |
},
|
141 |
|
142 |
run: function( index, state ) {
|
187 |
var stop = false;
|
188 |
var req = $.ajax({
|
189 |
type: "POST",
|
190 |
+
url: ajaxurl,
|
191 |
data:"action=ngg_image_check&step=" + step,
|
192 |
cache: false,
|
193 |
timeout: 10000,
|
221 |
this.start(3);
|
222 |
var req = $.ajax({
|
223 |
type: "POST",
|
224 |
+
url: ajaxurl,
|
225 |
data:"action=ngg_test_head_footer",
|
226 |
cache: false,
|
227 |
timeout: 10000,
|
783 |
function ngg_related_plugins() {
|
784 |
include(ABSPATH . 'wp-admin/includes/plugin-install.php');
|
785 |
|
786 |
+
if ( false === ( $api = get_transient( 'ngg_related_plugins' ) ) ) {
|
787 |
+
// this api sucks , tags will not be used in the correct way : nextgen-gallery cannot be searched
|
788 |
+
$api = plugins_api('query_plugins', array('search' => 'nextgen') );
|
789 |
+
|
790 |
+
if ( is_wp_error($api) )
|
791 |
+
return;
|
792 |
+
|
793 |
+
set_transient( 'ngg_related_plugins', $api, 60*60*24 );
|
794 |
+
}
|
795 |
|
796 |
// don't show my own plugin :-) and some other plugins, which come up with the search result
|
797 |
$blacklist = array(
|
admin/pointer.php
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* NGG_Pointers Class for WordPress 3.3, Thanks to the pre-work of the YOAST (WP-Seo)
|
4 |
+
* @example http://theme.fm/?p=2407 and http://core.trac.wordpress.org/ticket/18693
|
5 |
+
*
|
6 |
+
* @package NextGEN-Gallery
|
7 |
+
* @version 0.9.0
|
8 |
+
* @since 1.9.0
|
9 |
+
* @access public
|
10 |
+
*/
|
11 |
+
class NGG_Pointers {
|
12 |
+
|
13 |
+
var $pointers = array();
|
14 |
+
var $settings = array();
|
15 |
+
|
16 |
+
function __construct() {
|
17 |
+
|
18 |
+
// create an array if pointers for each page
|
19 |
+
$this->pointers = array(
|
20 |
+
'nggallery-add-gallery' => array(
|
21 |
+
'id' => 'image_resize_pointer',
|
22 |
+
'content' => __('<h3>Client side resize</h3><p>You can now resize the images before you start with the upload.</p>', 'nggallery'),
|
23 |
+
'posititon'=> 'top'
|
24 |
+
)
|
25 |
+
);
|
26 |
+
|
27 |
+
$page = ( isset($_GET['page']) ) ? $_GET['page'] : '';
|
28 |
+
$this->settings = ( isset( $this->pointers[$page] ) ) ? $this->pointers[$page] : array();
|
29 |
+
|
30 |
+
add_action( 'admin_enqueue_scripts', array( &$this, 'enqueue' ) );
|
31 |
+
}
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Deleting settings would reset them to the defaults.
|
35 |
+
* This function has to be used before any output has started as it calls setcookie()
|
36 |
+
*
|
37 |
+
* @return void
|
38 |
+
*/
|
39 |
+
function delete_user_setting() {
|
40 |
+
if ( isset( $_GET['ngg_restart_tour'] ) )
|
41 |
+
delete_user_setting('nextgen_tour_pointer');
|
42 |
+
}
|
43 |
+
|
44 |
+
function enqueue() {
|
45 |
+
|
46 |
+
//TODO : Reset currently all pointer tours, needs to be more specific
|
47 |
+
if ( isset( $_GET['ngg_restart_tour'] ) )
|
48 |
+
delete_user_meta(get_current_user_id(), 'dismissed_wp_pointers' );
|
49 |
+
|
50 |
+
$dismissed = explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );
|
51 |
+
|
52 |
+
// if we are not on the correct page we will notenqueue the pointer scripts
|
53 |
+
if ( !empty( $this->settings ) ) {
|
54 |
+
|
55 |
+
// exit if the user already closed it
|
56 |
+
if ( in_array( 'ngg-' . $this->settings['id'], $dismissed ) )
|
57 |
+
return;
|
58 |
+
|
59 |
+
wp_enqueue_style( 'wp-pointer' );
|
60 |
+
wp_enqueue_script( 'wp-pointer' );
|
61 |
+
add_action( 'admin_print_footer_scripts', array( &$this, 'print_scripts' ), 99 );
|
62 |
+
}
|
63 |
+
}
|
64 |
+
|
65 |
+
function print_scripts() {
|
66 |
+
// show up the pointer dialog with the correct settings
|
67 |
+
$this->show_pointer( $this->settings );
|
68 |
+
}
|
69 |
+
|
70 |
+
/**
|
71 |
+
* Show up the pointer
|
72 |
+
*
|
73 |
+
* @param array $settings
|
74 |
+
* @return void
|
75 |
+
*/
|
76 |
+
function show_pointer( $settings ) {
|
77 |
+
?>
|
78 |
+
<script type="text/javascript">
|
79 |
+
//<![CDATA[
|
80 |
+
jQuery(document).ready( function() {
|
81 |
+
jQuery('#<?php echo $settings['id']; ?>').pointer({
|
82 |
+
content: '<?php echo addslashes( $settings['content'] ); ?>',
|
83 |
+
position: '<?php echo $settings['posititon']; ?>',
|
84 |
+
close: function() {
|
85 |
+
jQuery.post( ajaxurl, {
|
86 |
+
pointer: 'ngg-<?php echo $settings['id']; ?>',
|
87 |
+
action: 'dismiss-wp-pointer'
|
88 |
+
});
|
89 |
+
}
|
90 |
+
}).pointer('open');
|
91 |
+
});
|
92 |
+
//]]>
|
93 |
+
</script>
|
94 |
+
<?php
|
95 |
+
}
|
96 |
+
}
|
97 |
+
|
98 |
+
$ngg_pointers = new NGG_Pointers;
|
admin/rotate.php
CHANGED
@@ -48,7 +48,7 @@ $preview_image = home_url() . '/' . 'index.php?callback=image&pid=' . $pict
|
|
48 |
var rotate_angle = jQuery('input[name=ra]:checked').val();
|
49 |
|
50 |
jQuery.ajax({
|
51 |
-
url:
|
52 |
type : "POST",
|
53 |
data: {action: 'rotateImage', id: <?php echo $id ?>, ra: rotate_angle},
|
54 |
cache: false,
|
48 |
var rotate_angle = jQuery('input[name=ra]:checked').val();
|
49 |
|
50 |
jQuery.ajax({
|
51 |
+
url: ajaxurl,
|
52 |
type : "POST",
|
53 |
data: {action: 'rotateImage', id: <?php echo $id ?>, ra: rotate_angle},
|
54 |
cache: false,
|
admin/settings.php
CHANGED
@@ -129,7 +129,8 @@ class nggOptions {
|
|
129 |
return false;
|
130 |
});
|
131 |
*/
|
132 |
-
|
|
|
133 |
/*
|
134 |
jQuery('.picker').ColorPicker({
|
135 |
onSubmit: function(hsb, hex, rgb, el) {
|
@@ -180,7 +181,7 @@ class nggOptions {
|
|
180 |
};
|
181 |
</script>
|
182 |
|
183 |
-
<div id="slider" class="wrap">
|
184 |
<ul id="tabs">
|
185 |
<?php
|
186 |
foreach($tabs as $tab_key => $tab_name) {
|
@@ -341,7 +342,7 @@ class nggOptions {
|
|
341 |
<h2><?php _e('Image settings','nggallery'); ?></h2>
|
342 |
<form name="imagesettings" method="POST" action="<?php echo $this->filepath.'#images'; ?>" >
|
343 |
<?php wp_nonce_field('ngg_settings') ?>
|
344 |
-
<input type="hidden" name="page_options" value="imgResize,imgWidth,imgHeight,imgQuality,imgBackup,imgAutoResize
|
345 |
<table class="form-table ngg-options">
|
346 |
<tr valign="top">
|
347 |
<th valign="top"><label for="fixratio"><?php _e('Resize Images','nggallery') ?></label></th>
|
@@ -365,11 +366,6 @@ class nggOptions {
|
|
365 |
</table>
|
366 |
<h3 class="expert"><?php _e('Single picture','nggallery') ?></h3>
|
367 |
<table class="expert form-table ngg-options">
|
368 |
-
<tr>
|
369 |
-
<th valign="top"><?php _e('Cache single pictures','nggallery'); ?></th>
|
370 |
-
<td><input <?php if (is_multisite()) echo 'readonly = "readonly"'; ?> type="checkbox" name="imgCacheSinglePic" value="1" <?php checked('1', $ngg->options['imgCacheSinglePic']); ?> />
|
371 |
-
<span class="setting-description"><?php _e('Creates a file for each singlepic settings. Reduce the CPU load','nggallery') ?></span></td>
|
372 |
-
</tr>
|
373 |
<tr>
|
374 |
<th valign="top"><?php _e('Clear cache folder','nggallery'); ?></th>
|
375 |
<td><input type="submit" name="clearcache" class="button-secondary" value="<?php _e('Proceed now','nggallery') ;?> »"/></td>
|
@@ -508,7 +504,7 @@ class nggOptions {
|
|
508 |
|
509 |
// take the first image as sample
|
510 |
$imageID = $wpdb->get_var("SELECT MIN(pid) FROM $wpdb->nggpictures");
|
511 |
-
$imageURL = ($imageID) ? $imageURL = '<img src="'. home_url(
|
512 |
|
513 |
?>
|
514 |
<!-- Watermark settings -->
|
129 |
return false;
|
130 |
});
|
131 |
*/
|
132 |
+
jQuery('#slider').tabs({ fxFade: true, fxSpeed: 'fast' });
|
133 |
+
jQuery('#slider').css('display', 'block');
|
134 |
/*
|
135 |
jQuery('.picker').ColorPicker({
|
136 |
onSubmit: function(hsb, hex, rgb, el) {
|
181 |
};
|
182 |
</script>
|
183 |
|
184 |
+
<div id="slider" class="wrap" style="display: none;">
|
185 |
<ul id="tabs">
|
186 |
<?php
|
187 |
foreach($tabs as $tab_key => $tab_name) {
|
342 |
<h2><?php _e('Image settings','nggallery'); ?></h2>
|
343 |
<form name="imagesettings" method="POST" action="<?php echo $this->filepath.'#images'; ?>" >
|
344 |
<?php wp_nonce_field('ngg_settings') ?>
|
345 |
+
<input type="hidden" name="page_options" value="imgResize,imgWidth,imgHeight,imgQuality,imgBackup,imgAutoResize" />
|
346 |
<table class="form-table ngg-options">
|
347 |
<tr valign="top">
|
348 |
<th valign="top"><label for="fixratio"><?php _e('Resize Images','nggallery') ?></label></th>
|
366 |
</table>
|
367 |
<h3 class="expert"><?php _e('Single picture','nggallery') ?></h3>
|
368 |
<table class="expert form-table ngg-options">
|
|
|
|
|
|
|
|
|
|
|
369 |
<tr>
|
370 |
<th valign="top"><?php _e('Clear cache folder','nggallery'); ?></th>
|
371 |
<td><input type="submit" name="clearcache" class="button-secondary" value="<?php _e('Proceed now','nggallery') ;?> »"/></td>
|
504 |
|
505 |
// take the first image as sample
|
506 |
$imageID = $wpdb->get_var("SELECT MIN(pid) FROM $wpdb->nggpictures");
|
507 |
+
$imageURL = ($imageID) ? $imageURL = '<img src="'. home_url('index.php') . '?callback=image&pid=' . intval ($imageID) . '&mode=watermark&width=300&height=250" />' : '';
|
508 |
|
509 |
?>
|
510 |
<!-- Watermark settings -->
|
admin/tinymce/window.php
CHANGED
@@ -24,13 +24,13 @@ global $wpdb, $nggdb;
|
|
24 |
<script type="text/javascript">
|
25 |
jQuery(document).ready(function(){
|
26 |
jQuery("#gallerytag").nggAutocomplete( {
|
27 |
-
type: 'gallery',domain: "<?php echo home_url('index.php');
|
28 |
});
|
29 |
jQuery("#albumtag").nggAutocomplete( {
|
30 |
-
type: 'album',domain: "<?php echo home_url('index.php');
|
31 |
});
|
32 |
jQuery("#singlepictag").nggAutocomplete( {
|
33 |
-
type: 'image',domain: "<?php echo home_url('index.php');
|
34 |
});
|
35 |
});
|
36 |
</script>
|
24 |
<script type="text/javascript">
|
25 |
jQuery(document).ready(function(){
|
26 |
jQuery("#gallerytag").nggAutocomplete( {
|
27 |
+
type: 'gallery',domain: "<?php echo home_url('index.php', is_ssl() ? 'https' : 'http'); ?>"
|
28 |
});
|
29 |
jQuery("#albumtag").nggAutocomplete( {
|
30 |
+
type: 'album',domain: "<?php echo home_url('index.php', is_ssl() ? 'https' : 'http'); ?>"
|
31 |
});
|
32 |
jQuery("#singlepictag").nggAutocomplete( {
|
33 |
+
type: 'image',domain: "<?php echo home_url('index.php', is_ssl() ? 'https' : 'http'); ?>"
|
34 |
});
|
35 |
});
|
36 |
</script>
|
admin/upload.php
CHANGED
@@ -5,9 +5,6 @@
|
|
5 |
* @package NextGEN-Gallery
|
6 |
* @subpackage Administration
|
7 |
*/
|
8 |
-
|
9 |
-
define('WP_ADMIN', true);
|
10 |
-
|
11 |
// look up for the path
|
12 |
require_once( dirname( dirname(__FILE__) ) . '/ngg-config.php');
|
13 |
|
5 |
* @package NextGEN-Gallery
|
6 |
* @subpackage Administration
|
7 |
*/
|
|
|
|
|
|
|
8 |
// look up for the path
|
9 |
require_once( dirname( dirname(__FILE__) ) . '/ngg-config.php');
|
10 |
|
changelog.txt
CHANGED
@@ -1,11 +1,26 @@
|
|
1 |
NextGEN Gallery
|
2 |
by Alex Rabe & NextGEN DEV Team
|
3 |
|
4 |
-
=
|
5 |
* TODO : Facebook connector
|
6 |
-
* TODO : Switch to Plupload (http://www.plupload.com/) see also http://wordpress.org/extend/plugins/wplupload/
|
7 |
* TODO : Rework album page for large amount of galleries
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
= V1.8.4 - 26.10.2011 =
|
10 |
* Bugfix : Fixed security vulnerability (TXH to Alain Schneider)
|
11 |
|
1 |
NextGEN Gallery
|
2 |
by Alex Rabe & NextGEN DEV Team
|
3 |
|
4 |
+
= V2.0.0 - In the future =
|
5 |
* TODO : Facebook connector
|
|
|
6 |
* TODO : Rework album page for large amount of galleries
|
7 |
|
8 |
+
= V1.9.0 - 27.11.2011 =
|
9 |
+
* NEW : Keep images transparency for PNG and GIF format
|
10 |
+
* NEW : Switch to Plupload, support now HTML5 Upload (only with WordPress 3.3)
|
11 |
+
* NEW : Added client side resize feature (only with WordPress 3.3)
|
12 |
+
* NEW : Support for gallery templates in album shortcodes [ album id=x template="name" gallery="templatename" ]
|
13 |
+
* NEW : Added new hook ngg_delete_picture
|
14 |
+
* Changed : Updated to jQuery Cycle Version 2.9995
|
15 |
+
* Changed : Always cache the single pictures, remove option
|
16 |
+
* Bugfix : Couldn't use bulk operation for serach results
|
17 |
+
* Bugfix : Bugfix for Edit thumbnails under IE 8 + 9
|
18 |
+
* Bugfix : Allow empty altext in ngg.editImage
|
19 |
+
* Bugfix : Various PHP notice fixes
|
20 |
+
* Bugfix : Resize fix for Shutter effect and mobile Browser
|
21 |
+
* Bugfix : FTP Import missing slug field into database
|
22 |
+
* Bugfix : Check also EXIF field "DateTimeOriginal" for timestamp
|
23 |
+
|
24 |
= V1.8.4 - 26.10.2011 =
|
25 |
* Bugfix : Fixed security vulnerability (TXH to Alain Schneider)
|
26 |
|
css/nggallery.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
CSS Name: Default Styles
|
3 |
Description: NextGEN Default Gallery Stylesheet
|
4 |
Author: Alex Rabe
|
5 |
-
Version: 2.
|
6 |
|
7 |
This is a template stylesheet that can be used with NextGEN Gallery. I tested the
|
8 |
styles with a default theme Kubrick. Modify it when your theme struggle with it,
|
@@ -169,9 +169,9 @@ html>body .ngg-album {
|
|
169 |
font-size:0.9em !important;
|
170 |
clear:both !important;
|
171 |
display:block !important;
|
172 |
-
padding-top:15px;
|
|
|
173 |
text-align:center;
|
174 |
-
|
175 |
}
|
176 |
|
177 |
.ngg-navigation span {
|
@@ -187,7 +187,8 @@ html>body .ngg-album {
|
|
187 |
.ngg-navigation span.prev {
|
188 |
border:1px solid #DDDDDD;
|
189 |
margin-right:3px;
|
190 |
-
padding:3px
|
|
|
191 |
}
|
192 |
|
193 |
.ngg-navigation a.page-numbers:hover,
|
2 |
CSS Name: Default Styles
|
3 |
Description: NextGEN Default Gallery Stylesheet
|
4 |
Author: Alex Rabe
|
5 |
+
Version: 2.11
|
6 |
|
7 |
This is a template stylesheet that can be used with NextGEN Gallery. I tested the
|
8 |
styles with a default theme Kubrick. Modify it when your theme struggle with it,
|
169 |
font-size:0.9em !important;
|
170 |
clear:both !important;
|
171 |
display:block !important;
|
172 |
+
padding-top: 15px;
|
173 |
+
padding-bottom: 2px;
|
174 |
text-align:center;
|
|
|
175 |
}
|
176 |
|
177 |
.ngg-navigation span {
|
187 |
.ngg-navigation span.prev {
|
188 |
border:1px solid #DDDDDD;
|
189 |
margin-right:3px;
|
190 |
+
padding:3px 8px;
|
191 |
+
text-decoration: none;
|
192 |
}
|
193 |
|
194 |
.ngg-navigation a.page-numbers:hover,
|
js/jquery.cycle.all.js
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
* jQuery Cycle Plugin (with Transition Definitions)
|
3 |
* Examples and documentation at: http://jquery.malsup.com/cycle/
|
4 |
* Copyright (c) 2007-2010 M. Alsup
|
5 |
-
* Version: 2.
|
6 |
* Dual licensed under the MIT and GPL licenses.
|
7 |
* http://jquery.malsup.com/license.html
|
8 |
-
* Requires: jQuery v1.2
|
9 |
*/
|
10 |
-
|
11 |
|
12 |
-
var ver = '2.
|
13 |
|
14 |
// if $.support is not defined (pre jQuery 1.3) add what I need
|
15 |
if ($.support == undefined) {
|
@@ -19,13 +19,15 @@ if ($.support == undefined) {
|
|
19 |
}
|
20 |
|
21 |
function debug(s) {
|
22 |
-
|
23 |
-
log(s);
|
24 |
}
|
25 |
function log() {
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
29 |
|
30 |
// the options arg can be...
|
31 |
// a number - indicates an immediate transition should occur to the given slide index
|
@@ -70,16 +72,17 @@ $.fn.cycle = function(options, arg2) {
|
|
70 |
var $cont = $(this);
|
71 |
var $slides = opts.slideExpr ? $(opts.slideExpr, this) : $cont.children();
|
72 |
var els = $slides.get();
|
73 |
-
if (els.length < 2) {
|
74 |
-
log('terminating; too few slides: ' + els.length);
|
75 |
-
return;
|
76 |
-
}
|
77 |
|
78 |
var opts2 = buildOptions($cont, $slides, els, opts, o);
|
79 |
if (opts2 === false)
|
80 |
return;
|
81 |
|
82 |
-
|
|
|
|
|
|
|
|
|
|
|
83 |
|
84 |
// if it's an auto slideshow, kick it off
|
85 |
if (startTime) {
|
@@ -87,11 +90,20 @@ $.fn.cycle = function(options, arg2) {
|
|
87 |
if (startTime < 10)
|
88 |
startTime = 10;
|
89 |
debug('first timeout: ' + startTime);
|
90 |
-
this.cycleTimeout = setTimeout(function(){go(els,opts2,0
|
91 |
}
|
92 |
});
|
93 |
};
|
94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
// process the args that were passed to the plugin fn
|
96 |
function handleArguments(cont, options, arg2) {
|
97 |
if (cont.cycleStop == undefined)
|
@@ -109,6 +121,7 @@ function handleArguments(cont, options, arg2) {
|
|
109 |
if (cont.cycleTimeout)
|
110 |
clearTimeout(cont.cycleTimeout);
|
111 |
cont.cycleTimeout = 0;
|
|
|
112 |
$(cont).removeData('cycle.opts');
|
113 |
if (options == 'destroy')
|
114 |
destroy(opts);
|
@@ -116,13 +129,16 @@ function handleArguments(cont, options, arg2) {
|
|
116 |
case 'toggle':
|
117 |
cont.cyclePause = (cont.cyclePause === 1) ? 0 : 1;
|
118 |
checkInstantResume(cont.cyclePause, arg2, cont);
|
|
|
119 |
return false;
|
120 |
case 'pause':
|
121 |
cont.cyclePause = 1;
|
|
|
122 |
return false;
|
123 |
case 'resume':
|
124 |
cont.cyclePause = 0;
|
125 |
checkInstantResume(false, arg2, cont);
|
|
|
126 |
return false;
|
127 |
case 'prev':
|
128 |
case 'next':
|
@@ -173,7 +189,7 @@ function handleArguments(cont, options, arg2) {
|
|
173 |
clearTimeout(cont.cycleTimeout);
|
174 |
cont.cycleTimeout = 0;
|
175 |
}
|
176 |
-
go(options.elements, options, 1,
|
177 |
}
|
178 |
}
|
179 |
};
|
@@ -205,6 +221,9 @@ function destroy(opts) {
|
|
205 |
function buildOptions($cont, $slides, els, options, o) {
|
206 |
// support metadata plugin (v1.0 and v2.0)
|
207 |
var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {});
|
|
|
|
|
|
|
208 |
if (opts.autostop)
|
209 |
opts.countdown = opts.autostopCount || els.length;
|
210 |
|
@@ -215,13 +234,12 @@ function buildOptions($cont, $slides, els, options, o) {
|
|
215 |
opts.elements = els;
|
216 |
opts.before = opts.before ? [opts.before] : [];
|
217 |
opts.after = opts.after ? [opts.after] : [];
|
218 |
-
opts.after.unshift(function(){ opts.busy=0; });
|
219 |
|
220 |
// push some after callbacks
|
221 |
if (!$.support.opacity && opts.cleartype)
|
222 |
opts.after.push(function() { removeFilter(this, opts); });
|
223 |
if (opts.continuous)
|
224 |
-
opts.after.push(function() { go(els,opts,0
|
225 |
|
226 |
saveOriginalOpts(opts);
|
227 |
|
@@ -238,7 +256,7 @@ function buildOptions($cont, $slides, els, options, o) {
|
|
238 |
$cont.height(opts.height);
|
239 |
|
240 |
if (opts.startingSlide)
|
241 |
-
opts.startingSlide = parseInt(opts.startingSlide);
|
242 |
else if (opts.backwards)
|
243 |
opts.startingSlide = els.length - 1;
|
244 |
|
@@ -271,18 +289,60 @@ function buildOptions($cont, $slides, els, options, o) {
|
|
271 |
removeFilter(els[first], opts);
|
272 |
|
273 |
// stretch slides
|
274 |
-
if (opts.fit
|
275 |
-
|
276 |
-
|
277 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
// stretch container
|
280 |
var reshape = opts.containerResize && !$cont.innerHeight();
|
281 |
if (reshape) { // do this only if container has no size http://tinyurl.com/da2oa9
|
282 |
var maxw = 0, maxh = 0;
|
283 |
for(var j=0; j < els.length; j++) {
|
284 |
var $e = $(els[j]), e = $e[0], w = $e.outerWidth(), h = $e.outerHeight();
|
285 |
-
if (!w) w = e.offsetWidth || e.width || $e.attr('width')
|
286 |
if (!h) h = e.offsetHeight || e.height || $e.attr('height');
|
287 |
maxw = w > maxw ? w : maxw;
|
288 |
maxh = h > maxh ? h : maxh;
|
@@ -291,8 +351,19 @@ function buildOptions($cont, $slides, els, options, o) {
|
|
291 |
$cont.css({width:maxw+'px',height:maxh+'px'});
|
292 |
}
|
293 |
|
|
|
294 |
if (opts.pause)
|
295 |
-
$cont.hover(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
296 |
|
297 |
if (supportMultiTransitions(opts) === false)
|
298 |
return false;
|
@@ -335,22 +406,23 @@ function buildOptions($cont, $slides, els, options, o) {
|
|
335 |
return false;
|
336 |
|
337 |
opts.cssBefore = opts.cssBefore || {};
|
|
|
|
|
338 |
opts.animIn = opts.animIn || {};
|
339 |
opts.animOut = opts.animOut || {};
|
340 |
|
341 |
$slides.not(':eq('+first+')').css(opts.cssBefore);
|
342 |
-
|
343 |
-
$($slides[first]).css(opts.cssFirst);
|
344 |
|
345 |
if (opts.timeout) {
|
346 |
-
opts.timeout = parseInt(opts.timeout);
|
347 |
// ensure that timeout and speed settings are sane
|
348 |
if (opts.speed.constructor == String)
|
349 |
-
opts.speed = $.fx.speeds[opts.speed] || parseInt(opts.speed);
|
350 |
if (!opts.sync)
|
351 |
opts.speed = opts.speed / 2;
|
352 |
|
353 |
-
var buffer = opts.fx == 'shuffle' ? 500 : 250;
|
354 |
while((opts.timeout - opts.speed) < buffer) // sanitize timeout
|
355 |
opts.timeout += opts.speed;
|
356 |
}
|
@@ -386,15 +458,16 @@ function buildOptions($cont, $slides, els, options, o) {
|
|
386 |
|
387 |
// fire artificial events
|
388 |
var e0 = $slides[first];
|
389 |
-
if (opts.
|
390 |
-
opts.before
|
391 |
-
|
392 |
-
opts.after
|
393 |
-
|
|
|
394 |
if (opts.next)
|
395 |
-
$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,
|
396 |
if (opts.prev)
|
397 |
-
$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,
|
398 |
if (opts.pager || opts.pagerAnchorBuilder)
|
399 |
buildPager(els,opts);
|
400 |
|
@@ -523,7 +596,7 @@ function go(els, opts, manual, fwd) {
|
|
523 |
// let manual transitions requests trump active ones
|
524 |
debug('manualTrump in go(), stopping active transition');
|
525 |
$(els).stop(true,true);
|
526 |
-
opts.busy =
|
527 |
}
|
528 |
// don't begin another timeout-based transition if there is one active
|
529 |
if (opts.busy) {
|
@@ -559,10 +632,11 @@ function go(els, opts, manual, fwd) {
|
|
559 |
|
560 |
// support multiple transition types
|
561 |
if (opts.multiFx) {
|
562 |
-
if (opts.lastFx == undefined || ++opts.lastFx >= opts.fxs.length)
|
563 |
opts.lastFx = 0;
|
|
|
|
|
564 |
fx = opts.fxs[opts.lastFx];
|
565 |
-
opts.currFx = fx;
|
566 |
}
|
567 |
|
568 |
// one-time fx overrides apply to: $('div').cycle(3,'zoom');
|
@@ -582,13 +656,14 @@ function go(els, opts, manual, fwd) {
|
|
582 |
|
583 |
// stage the after callacks
|
584 |
var after = function() {
|
|
|
585 |
$.each(opts.after, function(i,o) {
|
586 |
if (p.cycleStop != opts.stopCount) return;
|
587 |
o.apply(next, [curr, next, opts, fwd]);
|
588 |
});
|
589 |
};
|
590 |
|
591 |
-
debug('tx firing; currSlide: ' + opts.currSlide + '; nextSlide: ' + opts.nextSlide);
|
592 |
|
593 |
// get ready to perform the transition
|
594 |
opts.busy = 1;
|
@@ -646,7 +721,7 @@ function go(els, opts, manual, fwd) {
|
|
646 |
else if (opts.continuous && p.cyclePause) // continuous shows work off an after callback, not this timer logic
|
647 |
ms = 10;
|
648 |
if (ms > 0)
|
649 |
-
p.cycleTimeout = setTimeout(function(){ go(els, opts, 0,
|
650 |
};
|
651 |
|
652 |
// invoked after transition
|
@@ -661,7 +736,7 @@ function getTimeout(curr, next, opts, fwd) {
|
|
661 |
if (opts.timeoutFn) {
|
662 |
// call user provided calc fn
|
663 |
var t = opts.timeoutFn.call(curr,curr,next,opts,fwd);
|
664 |
-
while ((t - opts.speed) < 250) // sanitize timeout
|
665 |
t += opts.speed;
|
666 |
debug('calculated timeout: ' + t + '; speed: ' + opts.speed);
|
667 |
if (t !== false)
|
@@ -671,11 +746,12 @@ function getTimeout(curr, next, opts, fwd) {
|
|
671 |
};
|
672 |
|
673 |
// expose next/prev function, caller must pass in state
|
674 |
-
$.fn.cycle.next = function(opts) { advance(opts,
|
675 |
-
$.fn.cycle.prev = function(opts) { advance(opts,
|
676 |
|
677 |
// advance slide forward or back
|
678 |
-
function advance(opts,
|
|
|
679 |
var els = opts.elements;
|
680 |
var p = opts.$cont[0], timeout = p.cycleTimeout;
|
681 |
if (timeout) {
|
@@ -709,7 +785,7 @@ function advance(opts, val) {
|
|
709 |
var cb = opts.onPrevNextEvent || opts.prevNextClick; // prevNextClick is deprecated
|
710 |
if ($.isFunction(cb))
|
711 |
cb(val > 0, opts.nextSlide, els[opts.nextSlide]);
|
712 |
-
go(els, opts, 1,
|
713 |
return false;
|
714 |
};
|
715 |
|
@@ -751,7 +827,8 @@ $.fn.cycle.createPagerAnchor = function(i, el, $p, els, opts) {
|
|
751 |
|
752 |
opts.pagerAnchors = opts.pagerAnchors || [];
|
753 |
opts.pagerAnchors.push($a);
|
754 |
-
|
|
|
755 |
e.preventDefault();
|
756 |
opts.nextSlide = i;
|
757 |
var p = opts.$cont[0], timeout = p.cycleTimeout;
|
@@ -764,13 +841,32 @@ $.fn.cycle.createPagerAnchor = function(i, el, $p, els, opts) {
|
|
764 |
cb(opts.nextSlide, els[opts.nextSlide]);
|
765 |
go(els,opts,1,opts.currSlide < i); // trigger the trans
|
766 |
// return false; // <== allow bubble
|
767 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
768 |
|
769 |
if ( ! /^click/.test(opts.pagerEvent) && !opts.allowPagerClickBubble)
|
770 |
$a.bind('click.cycle', function(){return false;}); // suppress click
|
771 |
|
772 |
-
|
773 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
774 |
};
|
775 |
|
776 |
// helper fn to calculate the number of slides between the current and the next
|
@@ -788,13 +884,13 @@ $.fn.cycle.hopsFromLast = function(opts, fwd) {
|
|
788 |
function clearTypeFix($slides) {
|
789 |
debug('applying clearType background-color hack');
|
790 |
function hex(s) {
|
791 |
-
s = parseInt(s).toString(16);
|
792 |
return s.length < 2 ? '0'+s : s;
|
793 |
};
|
794 |
function getBg(e) {
|
795 |
for ( ; e && e.nodeName.toLowerCase() != 'html'; e = e.parentNode) {
|
796 |
var v = $.css(e,'background-color');
|
797 |
-
if (v.indexOf('rgb') >= 0 ) {
|
798 |
var rgb = v.match(/\d+/g);
|
799 |
return '#'+ hex(rgb[0]) + hex(rgb[1]) + hex(rgb[2]);
|
800 |
}
|
@@ -809,11 +905,12 @@ function clearTypeFix($slides) {
|
|
809 |
// reset common props before the next transition
|
810 |
$.fn.cycle.commonReset = function(curr,next,opts,w,h,rev) {
|
811 |
$(opts.elements).not(curr).hide();
|
812 |
-
opts.cssBefore.opacity
|
|
|
813 |
opts.cssBefore.display = 'block';
|
814 |
-
if (w !== false && next.cycleW > 0)
|
815 |
opts.cssBefore.width = next.cycleW;
|
816 |
-
if (h !== false && next.cycleH > 0)
|
817 |
opts.cssBefore.height = next.cycleH;
|
818 |
opts.cssAfter = opts.cssAfter || {};
|
819 |
opts.cssAfter.display = 'none';
|
@@ -833,10 +930,15 @@ $.fn.cycle.custom = function(curr, next, opts, cb, fwd, speedOverride) {
|
|
833 |
speedIn = speedOut = 1;
|
834 |
easeIn = easeOut = null;
|
835 |
}
|
836 |
-
var fn = function() {
|
|
|
|
|
|
|
|
|
837 |
$l.animate(opts.animOut, speedOut, easeOut, function() {
|
838 |
-
|
839 |
-
if (!opts.sync)
|
|
|
840 |
});
|
841 |
if (opts.sync) fn();
|
842 |
};
|
@@ -859,60 +961,64 @@ $.fn.cycle.ver = function() { return ver; };
|
|
859 |
|
860 |
// override these globally if you like (they are all optional)
|
861 |
$.fn.cycle.defaults = {
|
862 |
-
|
863 |
-
timeout: 4000, // milliseconds between slide transitions (0 to disable auto advance)
|
864 |
-
timeoutFn: null, // callback for determining per-slide timeout value: function(currSlideElement, nextSlideElement, options, forwardFlag)
|
865 |
-
continuous: 0, // true to start next transition immediately after current one completes
|
866 |
-
speed: 1000, // speed of the transition (any valid fx speed value)
|
867 |
-
speedIn: null, // speed of the 'in' transition
|
868 |
-
speedOut: null, // speed of the 'out' transition
|
869 |
-
next: null, // selector for element to use as event trigger for next slide
|
870 |
-
prev: null, // selector for element to use as event trigger for previous slide
|
871 |
-
// prevNextClick: null, // @deprecated; please use onPrevNextEvent instead
|
872 |
-
onPrevNextEvent: null, // callback fn for prev/next events: function(isNext, zeroBasedSlideIndex, slideElement)
|
873 |
-
prevNextEvent:'click.cycle',// event which drives the manual transition to the previous or next slide
|
874 |
-
pager: null, // selector for element to use as pager container
|
875 |
-
//pagerClick null, // @deprecated; please use onPagerEvent instead
|
876 |
-
onPagerEvent: null, // callback fn for pager events: function(zeroBasedSlideIndex, slideElement)
|
877 |
-
pagerEvent: 'click.cycle', // name of event which drives the pager navigation
|
878 |
-
allowPagerClickBubble: false, // allows or prevents click event on pager anchors from bubbling
|
879 |
-
pagerAnchorBuilder: null, // callback fn for building anchor links: function(index, DOMelement)
|
880 |
-
before: null, // transition callback (scope set to element to be shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
|
881 |
after: null, // transition callback (scope set to element that was shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
|
882 |
-
|
883 |
-
easing: null, // easing method for both in and out transitions
|
884 |
-
easeIn: null, // easing for "in" transition
|
885 |
-
easeOut: null, // easing for "out" transition
|
886 |
-
shuffle: null, // coords for shuffle animation, ex: { top:15, left: 200 }
|
887 |
animIn: null, // properties that define how the slide animates in
|
888 |
animOut: null, // properties that define how the slide animates out
|
889 |
-
|
890 |
-
cssAfter: null, // properties that defined the state of the slide after transitioning out
|
891 |
-
fxFn: null, // function used to control the transition: function(currSlideElement, nextSlideElement, options, afterCalback, forwardFlag)
|
892 |
-
height: 'auto', // container height
|
893 |
-
startingSlide: 0, // zero-based index of the first slide to be displayed
|
894 |
-
sync: 1, // true if in/out transitions should occur simultaneously
|
895 |
-
random: 0, // true for random, false for sequence (not applicable to shuffle fx)
|
896 |
-
fit: 0, // force slides to fit container
|
897 |
-
containerResize: 1, // resize container to fit largest slide
|
898 |
-
pause: 0, // true to enable "pause on hover"
|
899 |
-
pauseOnPagerHover: 0, // true to pause when hovering over pager link
|
900 |
autostop: 0, // true to end slideshow after X transitions (where X == slide count)
|
901 |
autostopCount: 0, // number of transitions (optionally used with autostop to define X)
|
902 |
-
|
903 |
-
|
|
|
904 |
cleartype: !$.support.opacity, // true if clearType corrections should be applied (for IE)
|
905 |
cleartypeNoBg: false, // set to true to disable extra cleartype fixing (leave false to force background color setting on slides)
|
906 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
907 |
fastOnEvent: 0, // force fast transitions when triggered manually (via pager or prev/next); value == time in ms
|
908 |
-
|
909 |
-
|
|
|
|
|
910 |
manualTrump: true, // causes manual transition to stop an active transition instead of being ignored
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
911 |
requeueOnImageNotLoaded: true, // requeue the slideshow if any image slides are not yet loaded
|
912 |
requeueTimeout: 250, // ms delay for requeue
|
913 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
914 |
updateActivePagerLink: null, // callback fn invoked to update the active pager link (adds/removes activePagerClass style)
|
915 |
-
|
916 |
};
|
917 |
|
918 |
})(jQuery);
|
@@ -923,7 +1029,7 @@ $.fn.cycle.defaults = {
|
|
923 |
* This script is a plugin for the jQuery Cycle Plugin
|
924 |
* Examples and documentation at: http://malsup.com/jquery/cycle/
|
925 |
* Copyright (c) 2007-2010 M. Alsup
|
926 |
-
* Version: 2.
|
927 |
* Dual licensed under the MIT and GPL licenses:
|
928 |
* http://www.opensource.org/licenses/mit-license.php
|
929 |
* http://www.gnu.org/licenses/gpl.html
|
@@ -931,7 +1037,7 @@ $.fn.cycle.defaults = {
|
|
931 |
(function($) {
|
932 |
|
933 |
//
|
934 |
-
// These functions define
|
935 |
// transitions. To save file size feel free to remove any of these that you
|
936 |
// don't need.
|
937 |
//
|
@@ -941,68 +1047,90 @@ $.fn.cycle.transitions.none = function($cont, $slides, opts) {
|
|
941 |
$(curr).hide();
|
942 |
after();
|
943 |
};
|
944 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
945 |
|
946 |
// scrollUp/Down/Left/Right
|
947 |
$.fn.cycle.transitions.scrollUp = function($cont, $slides, opts) {
|
948 |
$cont.css('overflow','hidden');
|
949 |
opts.before.push($.fn.cycle.commonReset);
|
950 |
var h = $cont.height();
|
951 |
-
opts.cssBefore =
|
952 |
-
opts.
|
953 |
-
opts.
|
954 |
-
opts.
|
|
|
955 |
};
|
956 |
$.fn.cycle.transitions.scrollDown = function($cont, $slides, opts) {
|
957 |
$cont.css('overflow','hidden');
|
958 |
opts.before.push($.fn.cycle.commonReset);
|
959 |
var h = $cont.height();
|
960 |
-
opts.cssFirst =
|
961 |
-
opts.cssBefore=
|
962 |
-
opts.
|
963 |
-
opts.
|
|
|
964 |
};
|
965 |
$.fn.cycle.transitions.scrollLeft = function($cont, $slides, opts) {
|
966 |
$cont.css('overflow','hidden');
|
967 |
opts.before.push($.fn.cycle.commonReset);
|
968 |
var w = $cont.width();
|
969 |
-
opts.cssFirst =
|
970 |
-
opts.cssBefore=
|
971 |
-
opts.
|
972 |
-
opts.
|
|
|
973 |
};
|
974 |
$.fn.cycle.transitions.scrollRight = function($cont, $slides, opts) {
|
975 |
$cont.css('overflow','hidden');
|
976 |
opts.before.push($.fn.cycle.commonReset);
|
977 |
var w = $cont.width();
|
978 |
-
opts.cssFirst =
|
979 |
-
opts.cssBefore=
|
980 |
-
opts.
|
981 |
-
opts.
|
|
|
982 |
};
|
983 |
$.fn.cycle.transitions.scrollHorz = function($cont, $slides, opts) {
|
984 |
$cont.css('overflow','hidden').width();
|
985 |
opts.before.push(function(curr, next, opts, fwd) {
|
|
|
|
|
986 |
$.fn.cycle.commonReset(curr,next,opts);
|
987 |
opts.cssBefore.left = fwd ? (next.cycleW-1) : (1-next.cycleW);
|
988 |
opts.animOut.left = fwd ? -curr.cycleW : curr.cycleW;
|
989 |
});
|
990 |
-
opts.cssFirst =
|
991 |
-
opts.cssBefore=
|
992 |
-
opts.animIn
|
993 |
-
opts.animOut
|
994 |
};
|
995 |
$.fn.cycle.transitions.scrollVert = function($cont, $slides, opts) {
|
996 |
$cont.css('overflow','hidden');
|
997 |
opts.before.push(function(curr, next, opts, fwd) {
|
|
|
|
|
998 |
$.fn.cycle.commonReset(curr,next,opts);
|
999 |
opts.cssBefore.top = fwd ? (1-next.cycleH) : (next.cycleH-1);
|
1000 |
opts.animOut.top = fwd ? curr.cycleH : -curr.cycleH;
|
1001 |
});
|
1002 |
-
opts.cssFirst =
|
1003 |
-
opts.cssBefore=
|
1004 |
-
opts.animIn
|
1005 |
-
opts.animOut
|
1006 |
};
|
1007 |
|
1008 |
// slideX/slideY
|
@@ -1012,9 +1140,11 @@ $.fn.cycle.transitions.slideX = function($cont, $slides, opts) {
|
|
1012 |
$.fn.cycle.commonReset(curr,next,opts,false,true);
|
1013 |
opts.animIn.width = next.cycleW;
|
1014 |
});
|
1015 |
-
opts.cssBefore =
|
1016 |
-
opts.
|
1017 |
-
opts.
|
|
|
|
|
1018 |
};
|
1019 |
$.fn.cycle.transitions.slideY = function($cont, $slides, opts) {
|
1020 |
opts.before.push(function(curr, next, opts) {
|
@@ -1022,9 +1152,11 @@ $.fn.cycle.transitions.slideY = function($cont, $slides, opts) {
|
|
1022 |
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
1023 |
opts.animIn.height = next.cycleH;
|
1024 |
});
|
1025 |
-
opts.cssBefore =
|
1026 |
-
opts.
|
1027 |
-
opts.
|
|
|
|
|
1028 |
};
|
1029 |
|
1030 |
// shuffle
|
@@ -1050,6 +1182,8 @@ $.fn.cycle.transitions.shuffle = function($cont, $slides, opts) {
|
|
1050 |
|
1051 |
// custom transition fn (hat tip to Benjamin Sterling for this bit of sweetness!)
|
1052 |
opts.fxFn = function(curr, next, opts, cb, fwd) {
|
|
|
|
|
1053 |
var $el = fwd ? $(curr) : $(next);
|
1054 |
$(next).css(opts.cssBefore);
|
1055 |
var count = opts.slideCount;
|
@@ -1063,7 +1197,7 @@ $.fn.cycle.transitions.shuffle = function($cont, $slides, opts) {
|
|
1063 |
}
|
1064 |
else {
|
1065 |
var z = $(curr).css('z-index');
|
1066 |
-
$el.css('z-index', parseInt(z)+1+count);
|
1067 |
}
|
1068 |
$el.animate({left:0, top:0}, opts.speedOut, opts.easeOut, function() {
|
1069 |
$(fwd ? this : curr).hide();
|
@@ -1071,7 +1205,7 @@ $.fn.cycle.transitions.shuffle = function($cont, $slides, opts) {
|
|
1071 |
});
|
1072 |
});
|
1073 |
};
|
1074 |
-
opts.cssBefore
|
1075 |
};
|
1076 |
|
1077 |
// turnUp/Down/Left/Right
|
@@ -1080,11 +1214,13 @@ $.fn.cycle.transitions.turnUp = function($cont, $slides, opts) {
|
|
1080 |
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
1081 |
opts.cssBefore.top = next.cycleH;
|
1082 |
opts.animIn.height = next.cycleH;
|
|
|
1083 |
});
|
1084 |
-
opts.cssFirst
|
1085 |
-
opts.cssBefore =
|
1086 |
-
opts.
|
1087 |
-
opts.
|
|
|
1088 |
};
|
1089 |
$.fn.cycle.transitions.turnDown = function($cont, $slides, opts) {
|
1090 |
opts.before.push(function(curr, next, opts) {
|
@@ -1092,9 +1228,11 @@ $.fn.cycle.transitions.turnDown = function($cont, $slides, opts) {
|
|
1092 |
opts.animIn.height = next.cycleH;
|
1093 |
opts.animOut.top = curr.cycleH;
|
1094 |
});
|
1095 |
-
opts.cssFirst
|
1096 |
-
opts.cssBefore =
|
1097 |
-
opts.
|
|
|
|
|
1098 |
};
|
1099 |
$.fn.cycle.transitions.turnLeft = function($cont, $slides, opts) {
|
1100 |
opts.before.push(function(curr, next, opts) {
|
@@ -1102,9 +1240,10 @@ $.fn.cycle.transitions.turnLeft = function($cont, $slides, opts) {
|
|
1102 |
opts.cssBefore.left = next.cycleW;
|
1103 |
opts.animIn.width = next.cycleW;
|
1104 |
});
|
1105 |
-
opts.cssBefore =
|
1106 |
-
opts.
|
1107 |
-
opts.
|
|
|
1108 |
};
|
1109 |
$.fn.cycle.transitions.turnRight = function($cont, $slides, opts) {
|
1110 |
opts.before.push(function(curr, next, opts) {
|
@@ -1112,9 +1251,9 @@ $.fn.cycle.transitions.turnRight = function($cont, $slides, opts) {
|
|
1112 |
opts.animIn.width = next.cycleW;
|
1113 |
opts.animOut.left = curr.cycleW;
|
1114 |
});
|
1115 |
-
opts.cssBefore
|
1116 |
-
opts.animIn
|
1117 |
-
opts.animOut
|
1118 |
};
|
1119 |
|
1120 |
// zoom
|
@@ -1123,11 +1262,13 @@ $.fn.cycle.transitions.zoom = function($cont, $slides, opts) {
|
|
1123 |
$.fn.cycle.commonReset(curr,next,opts,false,false,true);
|
1124 |
opts.cssBefore.top = next.cycleH/2;
|
1125 |
opts.cssBefore.left = next.cycleW/2;
|
1126 |
-
opts.animIn
|
1127 |
-
opts.animOut
|
1128 |
});
|
1129 |
-
opts.cssFirst =
|
1130 |
-
opts.
|
|
|
|
|
1131 |
};
|
1132 |
|
1133 |
// fadeZoom
|
@@ -1136,10 +1277,11 @@ $.fn.cycle.transitions.fadeZoom = function($cont, $slides, opts) {
|
|
1136 |
$.fn.cycle.commonReset(curr,next,opts,false,false);
|
1137 |
opts.cssBefore.left = next.cycleW/2;
|
1138 |
opts.cssBefore.top = next.cycleH/2;
|
1139 |
-
opts.animIn
|
1140 |
});
|
1141 |
-
opts.cssBefore =
|
1142 |
-
opts.
|
|
|
1143 |
};
|
1144 |
|
1145 |
// blindX
|
@@ -1150,9 +1292,10 @@ $.fn.cycle.transitions.blindX = function($cont, $slides, opts) {
|
|
1150 |
opts.animIn.width = next.cycleW;
|
1151 |
opts.animOut.left = curr.cycleW;
|
1152 |
});
|
1153 |
-
opts.cssBefore =
|
1154 |
-
opts.
|
1155 |
-
opts.
|
|
|
1156 |
};
|
1157 |
// blindY
|
1158 |
$.fn.cycle.transitions.blindY = function($cont, $slides, opts) {
|
@@ -1162,9 +1305,10 @@ $.fn.cycle.transitions.blindY = function($cont, $slides, opts) {
|
|
1162 |
opts.animIn.height = next.cycleH;
|
1163 |
opts.animOut.top = curr.cycleH;
|
1164 |
});
|
1165 |
-
opts.cssBefore =
|
1166 |
-
opts.
|
1167 |
-
opts.
|
|
|
1168 |
};
|
1169 |
// blindZ
|
1170 |
$.fn.cycle.transitions.blindZ = function($cont, $slides, opts) {
|
@@ -1175,9 +1319,12 @@ $.fn.cycle.transitions.blindZ = function($cont, $slides, opts) {
|
|
1175 |
opts.animIn.height = next.cycleH;
|
1176 |
opts.animOut.top = curr.cycleH;
|
1177 |
});
|
1178 |
-
opts.cssBefore =
|
1179 |
-
opts.
|
1180 |
-
opts.
|
|
|
|
|
|
|
1181 |
};
|
1182 |
|
1183 |
// growX - grow horizontally from centered 0 width
|
@@ -1185,20 +1332,24 @@ $.fn.cycle.transitions.growX = function($cont, $slides, opts) {
|
|
1185 |
opts.before.push(function(curr, next, opts) {
|
1186 |
$.fn.cycle.commonReset(curr,next,opts,false,true);
|
1187 |
opts.cssBefore.left = this.cycleW/2;
|
1188 |
-
opts.animIn =
|
1189 |
-
opts.
|
|
|
1190 |
});
|
1191 |
-
opts.cssBefore =
|
|
|
1192 |
};
|
1193 |
// growY - grow vertically from centered 0 height
|
1194 |
$.fn.cycle.transitions.growY = function($cont, $slides, opts) {
|
1195 |
opts.before.push(function(curr, next, opts) {
|
1196 |
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
1197 |
opts.cssBefore.top = this.cycleH/2;
|
1198 |
-
opts.animIn =
|
1199 |
-
opts.
|
|
|
1200 |
});
|
1201 |
-
opts.cssBefore =
|
|
|
1202 |
};
|
1203 |
|
1204 |
// curtainX - squeeze in both edges horizontally
|
@@ -1206,20 +1357,26 @@ $.fn.cycle.transitions.curtainX = function($cont, $slides, opts) {
|
|
1206 |
opts.before.push(function(curr, next, opts) {
|
1207 |
$.fn.cycle.commonReset(curr,next,opts,false,true,true);
|
1208 |
opts.cssBefore.left = next.cycleW/2;
|
1209 |
-
opts.animIn =
|
1210 |
-
opts.
|
|
|
|
|
1211 |
});
|
1212 |
-
opts.cssBefore =
|
|
|
1213 |
};
|
1214 |
// curtainY - squeeze in both edges vertically
|
1215 |
$.fn.cycle.transitions.curtainY = function($cont, $slides, opts) {
|
1216 |
opts.before.push(function(curr, next, opts) {
|
1217 |
$.fn.cycle.commonReset(curr,next,opts,true,false,true);
|
1218 |
opts.cssBefore.top = next.cycleH/2;
|
1219 |
-
opts.animIn =
|
1220 |
-
opts.
|
|
|
|
|
1221 |
});
|
1222 |
-
opts.cssBefore =
|
|
|
1223 |
};
|
1224 |
|
1225 |
// cover - curr slide covered by next slide
|
@@ -1238,9 +1395,10 @@ $.fn.cycle.transitions.cover = function($cont, $slides, opts) {
|
|
1238 |
else
|
1239 |
opts.cssBefore.left = w;
|
1240 |
});
|
1241 |
-
opts.animIn =
|
1242 |
-
opts.
|
1243 |
-
opts.cssBefore =
|
|
|
1244 |
};
|
1245 |
|
1246 |
// uncover - curr slide moves off next slide
|
@@ -1259,9 +1417,10 @@ $.fn.cycle.transitions.uncover = function($cont, $slides, opts) {
|
|
1259 |
else
|
1260 |
opts.animOut.left = -w;
|
1261 |
});
|
1262 |
-
opts.animIn =
|
1263 |
-
opts.
|
1264 |
-
opts.cssBefore =
|
|
|
1265 |
};
|
1266 |
|
1267 |
// toss - move top slide and fade away
|
@@ -1272,12 +1431,13 @@ $.fn.cycle.transitions.toss = function($cont, $slides, opts) {
|
|
1272 |
$.fn.cycle.commonReset(curr,next,opts,true,true,true);
|
1273 |
// provide default toss settings if animOut not provided
|
1274 |
if (!opts.animOut.left && !opts.animOut.top)
|
1275 |
-
opts.animOut
|
1276 |
else
|
1277 |
opts.animOut.opacity = 0;
|
1278 |
});
|
1279 |
-
opts.cssBefore =
|
1280 |
-
opts.
|
|
|
1281 |
};
|
1282 |
|
1283 |
// wipe - clip animation
|
@@ -1296,8 +1456,8 @@ $.fn.cycle.transitions.wipe = function($cont, $slides, opts) {
|
|
1296 |
else if (/b2t/.test(opts.clip))
|
1297 |
clip = 'rect('+h+'px '+w+'px '+h+'px 0px)';
|
1298 |
else if (/zoom/.test(opts.clip)) {
|
1299 |
-
var top = parseInt(h/2);
|
1300 |
-
var left = parseInt(w/2);
|
1301 |
clip = 'rect('+top+'px '+left+'px '+top+'px '+left+'px)';
|
1302 |
}
|
1303 |
}
|
@@ -1305,7 +1465,7 @@ $.fn.cycle.transitions.wipe = function($cont, $slides, opts) {
|
|
1305 |
opts.cssBefore.clip = opts.cssBefore.clip || clip || 'rect(0px 0px 0px 0px)';
|
1306 |
|
1307 |
var d = opts.cssBefore.clip.match(/(\d+)/g);
|
1308 |
-
var t = parseInt(d[0]), r = parseInt(d[1]), b = parseInt(d[2]), l = parseInt(d[3]);
|
1309 |
|
1310 |
opts.before.push(function(curr, next, opts) {
|
1311 |
if (curr == next) return;
|
@@ -1313,17 +1473,17 @@ $.fn.cycle.transitions.wipe = function($cont, $slides, opts) {
|
|
1313 |
$.fn.cycle.commonReset(curr,next,opts,true,true,false);
|
1314 |
opts.cssAfter.display = 'block';
|
1315 |
|
1316 |
-
var step = 1, count = parseInt((opts.speedIn / 13)) - 1;
|
1317 |
(function f() {
|
1318 |
-
var tt = t ? t - parseInt(step * (t/count)) : 0;
|
1319 |
-
var ll = l ? l - parseInt(step * (l/count)) : 0;
|
1320 |
-
var bb = b < h ? b + parseInt(step * ((h-b)/count || 1)) : h;
|
1321 |
-
var rr = r < w ? r + parseInt(step * ((w-r)/count || 1)) : w;
|
1322 |
$next.css({ clip: 'rect('+tt+'px '+rr+'px '+bb+'px '+ll+'px)' });
|
1323 |
(step++ <= count) ? setTimeout(f, 13) : $curr.css('display', 'none');
|
1324 |
})();
|
1325 |
});
|
1326 |
-
opts.cssBefore
|
1327 |
opts.animIn = { left: 0 };
|
1328 |
opts.animOut = { left: 0 };
|
1329 |
};
|
2 |
* jQuery Cycle Plugin (with Transition Definitions)
|
3 |
* Examples and documentation at: http://jquery.malsup.com/cycle/
|
4 |
* Copyright (c) 2007-2010 M. Alsup
|
5 |
+
* Version: 2.9995 (09-AUG-2011)
|
6 |
* Dual licensed under the MIT and GPL licenses.
|
7 |
* http://jquery.malsup.com/license.html
|
8 |
+
* Requires: jQuery v1.3.2 or later
|
9 |
*/
|
10 |
+
(function($) {
|
11 |
|
12 |
+
var ver = '2.9995';
|
13 |
|
14 |
// if $.support is not defined (pre jQuery 1.3) add what I need
|
15 |
if ($.support == undefined) {
|
19 |
}
|
20 |
|
21 |
function debug(s) {
|
22 |
+
$.fn.cycle.debug && log(s);
|
|
|
23 |
}
|
24 |
function log() {
|
25 |
+
window.console && console.log && console.log('[cycle] ' + Array.prototype.join.call(arguments,' '));
|
26 |
+
}
|
27 |
+
$.expr[':'].paused = function(el) {
|
28 |
+
return el.cyclePause;
|
29 |
+
}
|
30 |
+
|
31 |
|
32 |
// the options arg can be...
|
33 |
// a number - indicates an immediate transition should occur to the given slide index
|
72 |
var $cont = $(this);
|
73 |
var $slides = opts.slideExpr ? $(opts.slideExpr, this) : $cont.children();
|
74 |
var els = $slides.get();
|
|
|
|
|
|
|
|
|
75 |
|
76 |
var opts2 = buildOptions($cont, $slides, els, opts, o);
|
77 |
if (opts2 === false)
|
78 |
return;
|
79 |
|
80 |
+
if (els.length < 2) {
|
81 |
+
log('terminating; too few slides: ' + els.length);
|
82 |
+
return;
|
83 |
+
}
|
84 |
+
|
85 |
+
var startTime = opts2.continuous ? 10 : getTimeout(els[opts2.currSlide], els[opts2.nextSlide], opts2, !opts2.backwards);
|
86 |
|
87 |
// if it's an auto slideshow, kick it off
|
88 |
if (startTime) {
|
90 |
if (startTime < 10)
|
91 |
startTime = 10;
|
92 |
debug('first timeout: ' + startTime);
|
93 |
+
this.cycleTimeout = setTimeout(function(){go(els,opts2,0,!opts.backwards)}, startTime);
|
94 |
}
|
95 |
});
|
96 |
};
|
97 |
|
98 |
+
function triggerPause(cont, byHover, onPager) {
|
99 |
+
var opts = $(cont).data('cycle.opts');
|
100 |
+
var paused = !!cont.cyclePause;
|
101 |
+
if (paused && opts.paused)
|
102 |
+
opts.paused(cont, opts, byHover, onPager);
|
103 |
+
else if (!paused && opts.resumed)
|
104 |
+
opts.resumed(cont, opts, byHover, onPager);
|
105 |
+
}
|
106 |
+
|
107 |
// process the args that were passed to the plugin fn
|
108 |
function handleArguments(cont, options, arg2) {
|
109 |
if (cont.cycleStop == undefined)
|
121 |
if (cont.cycleTimeout)
|
122 |
clearTimeout(cont.cycleTimeout);
|
123 |
cont.cycleTimeout = 0;
|
124 |
+
opts.elements && $(opts.elements).stop();
|
125 |
$(cont).removeData('cycle.opts');
|
126 |
if (options == 'destroy')
|
127 |
destroy(opts);
|
129 |
case 'toggle':
|
130 |
cont.cyclePause = (cont.cyclePause === 1) ? 0 : 1;
|
131 |
checkInstantResume(cont.cyclePause, arg2, cont);
|
132 |
+
triggerPause(cont);
|
133 |
return false;
|
134 |
case 'pause':
|
135 |
cont.cyclePause = 1;
|
136 |
+
triggerPause(cont);
|
137 |
return false;
|
138 |
case 'resume':
|
139 |
cont.cyclePause = 0;
|
140 |
checkInstantResume(false, arg2, cont);
|
141 |
+
triggerPause(cont);
|
142 |
return false;
|
143 |
case 'prev':
|
144 |
case 'next':
|
189 |
clearTimeout(cont.cycleTimeout);
|
190 |
cont.cycleTimeout = 0;
|
191 |
}
|
192 |
+
go(options.elements, options, 1, !options.backwards);
|
193 |
}
|
194 |
}
|
195 |
};
|
221 |
function buildOptions($cont, $slides, els, options, o) {
|
222 |
// support metadata plugin (v1.0 and v2.0)
|
223 |
var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {});
|
224 |
+
var meta = $.isFunction($cont.data) ? $cont.data(opts.metaAttr) : null;
|
225 |
+
if (meta)
|
226 |
+
opts = $.extend(opts, meta);
|
227 |
if (opts.autostop)
|
228 |
opts.countdown = opts.autostopCount || els.length;
|
229 |
|
234 |
opts.elements = els;
|
235 |
opts.before = opts.before ? [opts.before] : [];
|
236 |
opts.after = opts.after ? [opts.after] : [];
|
|
|
237 |
|
238 |
// push some after callbacks
|
239 |
if (!$.support.opacity && opts.cleartype)
|
240 |
opts.after.push(function() { removeFilter(this, opts); });
|
241 |
if (opts.continuous)
|
242 |
+
opts.after.push(function() { go(els,opts,0,!opts.backwards); });
|
243 |
|
244 |
saveOriginalOpts(opts);
|
245 |
|
256 |
$cont.height(opts.height);
|
257 |
|
258 |
if (opts.startingSlide)
|
259 |
+
opts.startingSlide = parseInt(opts.startingSlide,10);
|
260 |
else if (opts.backwards)
|
261 |
opts.startingSlide = els.length - 1;
|
262 |
|
289 |
removeFilter(els[first], opts);
|
290 |
|
291 |
// stretch slides
|
292 |
+
if (opts.fit) {
|
293 |
+
if (!opts.aspect) {
|
294 |
+
if (opts.width)
|
295 |
+
$slides.width(opts.width);
|
296 |
+
if (opts.height && opts.height != 'auto')
|
297 |
+
$slides.height(opts.height);
|
298 |
+
} else {
|
299 |
+
$slides.each(function(){
|
300 |
+
var $slide = $(this);
|
301 |
+
var ratio = (opts.aspect === true) ? $slide.width()/$slide.height() : opts.aspect;
|
302 |
+
if( opts.width && $slide.width() != opts.width ) {
|
303 |
+
$slide.width( opts.width );
|
304 |
+
$slide.height( opts.width / ratio );
|
305 |
+
}
|
306 |
+
|
307 |
+
if( opts.height && $slide.height() < opts.height ) {
|
308 |
+
$slide.height( opts.height );
|
309 |
+
$slide.width( opts.height * ratio );
|
310 |
+
}
|
311 |
+
});
|
312 |
+
}
|
313 |
+
}
|
314 |
|
315 |
+
if (opts.center && ((!opts.fit) || opts.aspect)) {
|
316 |
+
$slides.each(function(){
|
317 |
+
var $slide = $(this);
|
318 |
+
$slide.css({
|
319 |
+
"margin-left": opts.width ?
|
320 |
+
((opts.width - $slide.width()) / 2) + "px" :
|
321 |
+
0,
|
322 |
+
"margin-top": opts.height ?
|
323 |
+
((opts.height - $slide.height()) / 2) + "px" :
|
324 |
+
0
|
325 |
+
});
|
326 |
+
});
|
327 |
+
}
|
328 |
+
|
329 |
+
if (opts.center && !opts.fit && !opts.slideResize) {
|
330 |
+
$slides.each(function(){
|
331 |
+
var $slide = $(this);
|
332 |
+
$slide.css({
|
333 |
+
"margin-left": opts.width ? ((opts.width - $slide.width()) / 2) + "px" : 0,
|
334 |
+
"margin-top": opts.height ? ((opts.height - $slide.height()) / 2) + "px" : 0
|
335 |
+
});
|
336 |
+
});
|
337 |
+
}
|
338 |
+
|
339 |
// stretch container
|
340 |
var reshape = opts.containerResize && !$cont.innerHeight();
|
341 |
if (reshape) { // do this only if container has no size http://tinyurl.com/da2oa9
|
342 |
var maxw = 0, maxh = 0;
|
343 |
for(var j=0; j < els.length; j++) {
|
344 |
var $e = $(els[j]), e = $e[0], w = $e.outerWidth(), h = $e.outerHeight();
|
345 |
+
if (!w) w = e.offsetWidth || e.width || $e.attr('width');
|
346 |
if (!h) h = e.offsetHeight || e.height || $e.attr('height');
|
347 |
maxw = w > maxw ? w : maxw;
|
348 |
maxh = h > maxh ? h : maxh;
|
351 |
$cont.css({width:maxw+'px',height:maxh+'px'});
|
352 |
}
|
353 |
|
354 |
+
var pauseFlag = false; // https://github.com/malsup/cycle/issues/44
|
355 |
if (opts.pause)
|
356 |
+
$cont.hover(
|
357 |
+
function(){
|
358 |
+
pauseFlag = true;
|
359 |
+
this.cyclePause++;
|
360 |
+
triggerPause(cont, true);
|
361 |
+
},
|
362 |
+
function(){
|
363 |
+
pauseFlag && this.cyclePause--;
|
364 |
+
triggerPause(cont, true);
|
365 |
+
}
|
366 |
+
);
|
367 |
|
368 |
if (supportMultiTransitions(opts) === false)
|
369 |
return false;
|
406 |
return false;
|
407 |
|
408 |
opts.cssBefore = opts.cssBefore || {};
|
409 |
+
opts.cssAfter = opts.cssAfter || {};
|
410 |
+
opts.cssFirst = opts.cssFirst || {};
|
411 |
opts.animIn = opts.animIn || {};
|
412 |
opts.animOut = opts.animOut || {};
|
413 |
|
414 |
$slides.not(':eq('+first+')').css(opts.cssBefore);
|
415 |
+
$($slides[first]).css(opts.cssFirst);
|
|
|
416 |
|
417 |
if (opts.timeout) {
|
418 |
+
opts.timeout = parseInt(opts.timeout,10);
|
419 |
// ensure that timeout and speed settings are sane
|
420 |
if (opts.speed.constructor == String)
|
421 |
+
opts.speed = $.fx.speeds[opts.speed] || parseInt(opts.speed,10);
|
422 |
if (!opts.sync)
|
423 |
opts.speed = opts.speed / 2;
|
424 |
|
425 |
+
var buffer = opts.fx == 'none' ? 0 : opts.fx == 'shuffle' ? 500 : 250;
|
426 |
while((opts.timeout - opts.speed) < buffer) // sanitize timeout
|
427 |
opts.timeout += opts.speed;
|
428 |
}
|
458 |
|
459 |
// fire artificial events
|
460 |
var e0 = $slides[first];
|
461 |
+
if (!opts.skipInitializationCallbacks) {
|
462 |
+
if (opts.before.length)
|
463 |
+
opts.before[0].apply(e0, [e0, e0, opts, true]);
|
464 |
+
if (opts.after.length)
|
465 |
+
opts.after[0].apply(e0, [e0, e0, opts, true]);
|
466 |
+
}
|
467 |
if (opts.next)
|
468 |
+
$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1)});
|
469 |
if (opts.prev)
|
470 |
+
$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0)});
|
471 |
if (opts.pager || opts.pagerAnchorBuilder)
|
472 |
buildPager(els,opts);
|
473 |
|
596 |
// let manual transitions requests trump active ones
|
597 |
debug('manualTrump in go(), stopping active transition');
|
598 |
$(els).stop(true,true);
|
599 |
+
opts.busy = 0;
|
600 |
}
|
601 |
// don't begin another timeout-based transition if there is one active
|
602 |
if (opts.busy) {
|
632 |
|
633 |
// support multiple transition types
|
634 |
if (opts.multiFx) {
|
635 |
+
if (fwd && (opts.lastFx == undefined || ++opts.lastFx >= opts.fxs.length))
|
636 |
opts.lastFx = 0;
|
637 |
+
else if (!fwd && (opts.lastFx == undefined || --opts.lastFx < 0))
|
638 |
+
opts.lastFx = opts.fxs.length - 1;
|
639 |
fx = opts.fxs[opts.lastFx];
|
|
|
640 |
}
|
641 |
|
642 |
// one-time fx overrides apply to: $('div').cycle(3,'zoom');
|
656 |
|
657 |
// stage the after callacks
|
658 |
var after = function() {
|
659 |
+
opts.busy = 0;
|
660 |
$.each(opts.after, function(i,o) {
|
661 |
if (p.cycleStop != opts.stopCount) return;
|
662 |
o.apply(next, [curr, next, opts, fwd]);
|
663 |
});
|
664 |
};
|
665 |
|
666 |
+
debug('tx firing('+fx+'); currSlide: ' + opts.currSlide + '; nextSlide: ' + opts.nextSlide);
|
667 |
|
668 |
// get ready to perform the transition
|
669 |
opts.busy = 1;
|
721 |
else if (opts.continuous && p.cyclePause) // continuous shows work off an after callback, not this timer logic
|
722 |
ms = 10;
|
723 |
if (ms > 0)
|
724 |
+
p.cycleTimeout = setTimeout(function(){ go(els, opts, 0, !opts.backwards) }, ms);
|
725 |
};
|
726 |
|
727 |
// invoked after transition
|
736 |
if (opts.timeoutFn) {
|
737 |
// call user provided calc fn
|
738 |
var t = opts.timeoutFn.call(curr,curr,next,opts,fwd);
|
739 |
+
while (opts.fx != 'none' && (t - opts.speed) < 250) // sanitize timeout
|
740 |
t += opts.speed;
|
741 |
debug('calculated timeout: ' + t + '; speed: ' + opts.speed);
|
742 |
if (t !== false)
|
746 |
};
|
747 |
|
748 |
// expose next/prev function, caller must pass in state
|
749 |
+
$.fn.cycle.next = function(opts) { advance(opts,1); };
|
750 |
+
$.fn.cycle.prev = function(opts) { advance(opts,0);};
|
751 |
|
752 |
// advance slide forward or back
|
753 |
+
function advance(opts, moveForward) {
|
754 |
+
var val = moveForward ? 1 : -1;
|
755 |
var els = opts.elements;
|
756 |
var p = opts.$cont[0], timeout = p.cycleTimeout;
|
757 |
if (timeout) {
|
785 |
var cb = opts.onPrevNextEvent || opts.prevNextClick; // prevNextClick is deprecated
|
786 |
if ($.isFunction(cb))
|
787 |
cb(val > 0, opts.nextSlide, els[opts.nextSlide]);
|
788 |
+
go(els, opts, 1, moveForward);
|
789 |
return false;
|
790 |
};
|
791 |
|
827 |
|
828 |
opts.pagerAnchors = opts.pagerAnchors || [];
|
829 |
opts.pagerAnchors.push($a);
|
830 |
+
|
831 |
+
var pagerFn = function(e) {
|
832 |
e.preventDefault();
|
833 |
opts.nextSlide = i;
|
834 |
var p = opts.$cont[0], timeout = p.cycleTimeout;
|
841 |
cb(opts.nextSlide, els[opts.nextSlide]);
|
842 |
go(els,opts,1,opts.currSlide < i); // trigger the trans
|
843 |
// return false; // <== allow bubble
|
844 |
+
}
|
845 |
+
|
846 |
+
if ( /mouseenter|mouseover/i.test(opts.pagerEvent) ) {
|
847 |
+
$a.hover(pagerFn, function(){/* no-op */} );
|
848 |
+
}
|
849 |
+
else {
|
850 |
+
$a.bind(opts.pagerEvent, pagerFn);
|
851 |
+
}
|
852 |
|
853 |
if ( ! /^click/.test(opts.pagerEvent) && !opts.allowPagerClickBubble)
|
854 |
$a.bind('click.cycle', function(){return false;}); // suppress click
|
855 |
|
856 |
+
var cont = opts.$cont[0];
|
857 |
+
var pauseFlag = false; // https://github.com/malsup/cycle/issues/44
|
858 |
+
if (opts.pauseOnPagerHover) {
|
859 |
+
$a.hover(
|
860 |
+
function() {
|
861 |
+
pauseFlag = true;
|
862 |
+
cont.cyclePause++;
|
863 |
+
triggerPause(cont,true,true);
|
864 |
+
}, function() {
|
865 |
+
pauseFlag && cont.cyclePause--;
|
866 |
+
triggerPause(cont,true,true);
|
867 |
+
}
|
868 |
+
);
|
869 |
+
}
|
870 |
};
|
871 |
|
872 |
// helper fn to calculate the number of slides between the current and the next
|
884 |
function clearTypeFix($slides) {
|
885 |
debug('applying clearType background-color hack');
|
886 |
function hex(s) {
|
887 |
+
s = parseInt(s,10).toString(16);
|
888 |
return s.length < 2 ? '0'+s : s;
|
889 |
};
|
890 |
function getBg(e) {
|
891 |
for ( ; e && e.nodeName.toLowerCase() != 'html'; e = e.parentNode) {
|
892 |
var v = $.css(e,'background-color');
|
893 |
+
if (v && v.indexOf('rgb') >= 0 ) {
|
894 |
var rgb = v.match(/\d+/g);
|
895 |
return '#'+ hex(rgb[0]) + hex(rgb[1]) + hex(rgb[2]);
|
896 |
}
|
905 |
// reset common props before the next transition
|
906 |
$.fn.cycle.commonReset = function(curr,next,opts,w,h,rev) {
|
907 |
$(opts.elements).not(curr).hide();
|
908 |
+
if (typeof opts.cssBefore.opacity == 'undefined')
|
909 |
+
opts.cssBefore.opacity = 1;
|
910 |
opts.cssBefore.display = 'block';
|
911 |
+
if (opts.slideResize && w !== false && next.cycleW > 0)
|
912 |
opts.cssBefore.width = next.cycleW;
|
913 |
+
if (opts.slideResize && h !== false && next.cycleH > 0)
|
914 |
opts.cssBefore.height = next.cycleH;
|
915 |
opts.cssAfter = opts.cssAfter || {};
|
916 |
opts.cssAfter.display = 'none';
|
930 |
speedIn = speedOut = 1;
|
931 |
easeIn = easeOut = null;
|
932 |
}
|
933 |
+
var fn = function() {
|
934 |
+
$n.animate(opts.animIn, speedIn, easeIn, function() {
|
935 |
+
cb();
|
936 |
+
});
|
937 |
+
};
|
938 |
$l.animate(opts.animOut, speedOut, easeOut, function() {
|
939 |
+
$l.css(opts.cssAfter);
|
940 |
+
if (!opts.sync)
|
941 |
+
fn();
|
942 |
});
|
943 |
if (opts.sync) fn();
|
944 |
};
|
961 |
|
962 |
// override these globally if you like (they are all optional)
|
963 |
$.fn.cycle.defaults = {
|
964 |
+
activePagerClass: 'activeSlide', // class name used for the active pager link
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
965 |
after: null, // transition callback (scope set to element that was shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
|
966 |
+
allowPagerClickBubble: false, // allows or prevents click event on pager anchors from bubbling
|
|
|
|
|
|
|
|
|
967 |
animIn: null, // properties that define how the slide animates in
|
968 |
animOut: null, // properties that define how the slide animates out
|
969 |
+
aspect: false, // preserve aspect ratio during fit resizing, cropping if necessary (must be used with fit option)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
970 |
autostop: 0, // true to end slideshow after X transitions (where X == slide count)
|
971 |
autostopCount: 0, // number of transitions (optionally used with autostop to define X)
|
972 |
+
backwards: false, // true to start slideshow at last slide and move backwards through the stack
|
973 |
+
before: null, // transition callback (scope set to element to be shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
|
974 |
+
center: null, // set to true to have cycle add top/left margin to each slide (use with width and height options)
|
975 |
cleartype: !$.support.opacity, // true if clearType corrections should be applied (for IE)
|
976 |
cleartypeNoBg: false, // set to true to disable extra cleartype fixing (leave false to force background color setting on slides)
|
977 |
+
containerResize: 1, // resize container to fit largest slide
|
978 |
+
continuous: 0, // true to start next transition immediately after current one completes
|
979 |
+
cssAfter: null, // properties that defined the state of the slide after transitioning out
|
980 |
+
cssBefore: null, // properties that define the initial state of the slide before transitioning in
|
981 |
+
delay: 0, // additional delay (in ms) for first transition (hint: can be negative)
|
982 |
+
easeIn: null, // easing for "in" transition
|
983 |
+
easeOut: null, // easing for "out" transition
|
984 |
+
easing: null, // easing method for both in and out transitions
|
985 |
+
end: null, // callback invoked when the slideshow terminates (use with autostop or nowrap options): function(options)
|
986 |
fastOnEvent: 0, // force fast transitions when triggered manually (via pager or prev/next); value == time in ms
|
987 |
+
fit: 0, // force slides to fit container
|
988 |
+
fx: 'fade', // name of transition effect (or comma separated names, ex: 'fade,scrollUp,shuffle')
|
989 |
+
fxFn: null, // function used to control the transition: function(currSlideElement, nextSlideElement, options, afterCalback, forwardFlag)
|
990 |
+
height: 'auto', // container height (if the 'fit' option is true, the slides will be set to this height as well)
|
991 |
manualTrump: true, // causes manual transition to stop an active transition instead of being ignored
|
992 |
+
metaAttr: 'cycle',// data- attribute that holds the option data for the slideshow
|
993 |
+
next: null, // element, jQuery object, or jQuery selector string for the element to use as event trigger for next slide
|
994 |
+
nowrap: 0, // true to prevent slideshow from wrapping
|
995 |
+
onPagerEvent: null, // callback fn for pager events: function(zeroBasedSlideIndex, slideElement)
|
996 |
+
onPrevNextEvent: null,// callback fn for prev/next events: function(isNext, zeroBasedSlideIndex, slideElement)
|
997 |
+
pager: null, // element, jQuery object, or jQuery selector string for the element to use as pager container
|
998 |
+
pagerAnchorBuilder: null, // callback fn for building anchor links: function(index, DOMelement)
|
999 |
+
pagerEvent: 'click.cycle', // name of event which drives the pager navigation
|
1000 |
+
pause: 0, // true to enable "pause on hover"
|
1001 |
+
pauseOnPagerHover: 0, // true to pause when hovering over pager link
|
1002 |
+
prev: null, // element, jQuery object, or jQuery selector string for the element to use as event trigger for previous slide
|
1003 |
+
prevNextEvent:'click.cycle',// event which drives the manual transition to the previous or next slide
|
1004 |
+
random: 0, // true for random, false for sequence (not applicable to shuffle fx)
|
1005 |
+
randomizeEffects: 1, // valid when multiple effects are used; true to make the effect sequence random
|
1006 |
requeueOnImageNotLoaded: true, // requeue the slideshow if any image slides are not yet loaded
|
1007 |
requeueTimeout: 250, // ms delay for requeue
|
1008 |
+
rev: 0, // causes animations to transition in reverse (for effects that support it such as scrollHorz/scrollVert/shuffle)
|
1009 |
+
shuffle: null, // coords for shuffle animation, ex: { top:15, left: 200 }
|
1010 |
+
skipInitializationCallbacks: false, // set to true to disable the first before/after callback that occurs prior to any transition
|
1011 |
+
slideExpr: null, // expression for selecting slides (if something other than all children is required)
|
1012 |
+
slideResize: 1, // force slide width/height to fixed size before every transition
|
1013 |
+
speed: 1000, // speed of the transition (any valid fx speed value)
|
1014 |
+
speedIn: null, // speed of the 'in' transition
|
1015 |
+
speedOut: null, // speed of the 'out' transition
|
1016 |
+
startingSlide: 0, // zero-based index of the first slide to be displayed
|
1017 |
+
sync: 1, // true if in/out transitions should occur simultaneously
|
1018 |
+
timeout: 4000, // milliseconds between slide transitions (0 to disable auto advance)
|
1019 |
+
timeoutFn: null, // callback for determining per-slide timeout value: function(currSlideElement, nextSlideElement, options, forwardFlag)
|
1020 |
updateActivePagerLink: null, // callback fn invoked to update the active pager link (adds/removes activePagerClass style)
|
1021 |
+
width: null // container width (if the 'fit' option is true, the slides will be set to this width as well)
|
1022 |
};
|
1023 |
|
1024 |
})(jQuery);
|
1029 |
* This script is a plugin for the jQuery Cycle Plugin
|
1030 |
* Examples and documentation at: http://malsup.com/jquery/cycle/
|
1031 |
* Copyright (c) 2007-2010 M. Alsup
|
1032 |
+
* Version: 2.73
|
1033 |
* Dual licensed under the MIT and GPL licenses:
|
1034 |
* http://www.opensource.org/licenses/mit-license.php
|
1035 |
* http://www.gnu.org/licenses/gpl.html
|
1037 |
(function($) {
|
1038 |
|
1039 |
//
|
1040 |
+
// These functions define slide initialization and properties for the named
|
1041 |
// transitions. To save file size feel free to remove any of these that you
|
1042 |
// don't need.
|
1043 |
//
|
1047 |
$(curr).hide();
|
1048 |
after();
|
1049 |
};
|
1050 |
+
};
|
1051 |
+
|
1052 |
+
// not a cross-fade, fadeout only fades out the top slide
|
1053 |
+
$.fn.cycle.transitions.fadeout = function($cont, $slides, opts) {
|
1054 |
+
$slides.not(':eq('+opts.currSlide+')').css({ display: 'block', 'opacity': 1 });
|
1055 |
+
opts.before.push(function(curr,next,opts,w,h,rev) {
|
1056 |
+
$(curr).css('zIndex',opts.slideCount + (!rev === true ? 1 : 0));
|
1057 |
+
$(next).css('zIndex',opts.slideCount + (!rev === true ? 0 : 1));
|
1058 |
+
});
|
1059 |
+
opts.animIn.opacity = 1;
|
1060 |
+
opts.animOut.opacity = 0;
|
1061 |
+
opts.cssBefore.opacity = 1;
|
1062 |
+
opts.cssBefore.display = 'block';
|
1063 |
+
opts.cssAfter.zIndex = 0;
|
1064 |
+
};
|
1065 |
|
1066 |
// scrollUp/Down/Left/Right
|
1067 |
$.fn.cycle.transitions.scrollUp = function($cont, $slides, opts) {
|
1068 |
$cont.css('overflow','hidden');
|
1069 |
opts.before.push($.fn.cycle.commonReset);
|
1070 |
var h = $cont.height();
|
1071 |
+
opts.cssBefore.top = h;
|
1072 |
+
opts.cssBefore.left = 0;
|
1073 |
+
opts.cssFirst.top = 0;
|
1074 |
+
opts.animIn.top = 0;
|
1075 |
+
opts.animOut.top = -h;
|
1076 |
};
|
1077 |
$.fn.cycle.transitions.scrollDown = function($cont, $slides, opts) {
|
1078 |
$cont.css('overflow','hidden');
|
1079 |
opts.before.push($.fn.cycle.commonReset);
|
1080 |
var h = $cont.height();
|
1081 |
+
opts.cssFirst.top = 0;
|
1082 |
+
opts.cssBefore.top = -h;
|
1083 |
+
opts.cssBefore.left = 0;
|
1084 |
+
opts.animIn.top = 0;
|
1085 |
+
opts.animOut.top = h;
|
1086 |
};
|
1087 |
$.fn.cycle.transitions.scrollLeft = function($cont, $slides, opts) {
|
1088 |
$cont.css('overflow','hidden');
|
1089 |
opts.before.push($.fn.cycle.commonReset);
|
1090 |
var w = $cont.width();
|
1091 |
+
opts.cssFirst.left = 0;
|
1092 |
+
opts.cssBefore.left = w;
|
1093 |
+
opts.cssBefore.top = 0;
|
1094 |
+
opts.animIn.left = 0;
|
1095 |
+
opts.animOut.left = 0-w;
|
1096 |
};
|
1097 |
$.fn.cycle.transitions.scrollRight = function($cont, $slides, opts) {
|
1098 |
$cont.css('overflow','hidden');
|
1099 |
opts.before.push($.fn.cycle.commonReset);
|
1100 |
var w = $cont.width();
|
1101 |
+
opts.cssFirst.left = 0;
|
1102 |
+
opts.cssBefore.left = -w;
|
1103 |
+
opts.cssBefore.top = 0;
|
1104 |
+
opts.animIn.left = 0;
|
1105 |
+
opts.animOut.left = w;
|
1106 |
};
|
1107 |
$.fn.cycle.transitions.scrollHorz = function($cont, $slides, opts) {
|
1108 |
$cont.css('overflow','hidden').width();
|
1109 |
opts.before.push(function(curr, next, opts, fwd) {
|
1110 |
+
if (opts.rev)
|
1111 |
+
fwd = !fwd;
|
1112 |
$.fn.cycle.commonReset(curr,next,opts);
|
1113 |
opts.cssBefore.left = fwd ? (next.cycleW-1) : (1-next.cycleW);
|
1114 |
opts.animOut.left = fwd ? -curr.cycleW : curr.cycleW;
|
1115 |
});
|
1116 |
+
opts.cssFirst.left = 0;
|
1117 |
+
opts.cssBefore.top = 0;
|
1118 |
+
opts.animIn.left = 0;
|
1119 |
+
opts.animOut.top = 0;
|
1120 |
};
|
1121 |
$.fn.cycle.transitions.scrollVert = function($cont, $slides, opts) {
|
1122 |
$cont.css('overflow','hidden');
|
1123 |
opts.before.push(function(curr, next, opts, fwd) {
|
1124 |
+
if (opts.rev)
|
1125 |
+
fwd = !fwd;
|
1126 |
$.fn.cycle.commonReset(curr,next,opts);
|
1127 |
opts.cssBefore.top = fwd ? (1-next.cycleH) : (next.cycleH-1);
|
1128 |
opts.animOut.top = fwd ? curr.cycleH : -curr.cycleH;
|
1129 |
});
|
1130 |
+
opts.cssFirst.top = 0;
|
1131 |
+
opts.cssBefore.left = 0;
|
1132 |
+
opts.animIn.top = 0;
|
1133 |
+
opts.animOut.left = 0;
|
1134 |
};
|
1135 |
|
1136 |
// slideX/slideY
|
1140 |
$.fn.cycle.commonReset(curr,next,opts,false,true);
|
1141 |
opts.animIn.width = next.cycleW;
|
1142 |
});
|
1143 |
+
opts.cssBefore.left = 0;
|
1144 |
+
opts.cssBefore.top = 0;
|
1145 |
+
opts.cssBefore.width = 0;
|
1146 |
+
opts.animIn.width = 'show';
|
1147 |
+
opts.animOut.width = 0;
|
1148 |
};
|
1149 |
$.fn.cycle.transitions.slideY = function($cont, $slides, opts) {
|
1150 |
opts.before.push(function(curr, next, opts) {
|
1152 |
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
1153 |
opts.animIn.height = next.cycleH;
|
1154 |
});
|
1155 |
+
opts.cssBefore.left = 0;
|
1156 |
+
opts.cssBefore.top = 0;
|
1157 |
+
opts.cssBefore.height = 0;
|
1158 |
+
opts.animIn.height = 'show';
|
1159 |
+
opts.animOut.height = 0;
|
1160 |
};
|
1161 |
|
1162 |
// shuffle
|
1182 |
|
1183 |
// custom transition fn (hat tip to Benjamin Sterling for this bit of sweetness!)
|
1184 |
opts.fxFn = function(curr, next, opts, cb, fwd) {
|
1185 |
+
if (opts.rev)
|
1186 |
+
fwd = !fwd;
|
1187 |
var $el = fwd ? $(curr) : $(next);
|
1188 |
$(next).css(opts.cssBefore);
|
1189 |
var count = opts.slideCount;
|
1197 |
}
|
1198 |
else {
|
1199 |
var z = $(curr).css('z-index');
|
1200 |
+
$el.css('z-index', parseInt(z,10)+1+count);
|
1201 |
}
|
1202 |
$el.animate({left:0, top:0}, opts.speedOut, opts.easeOut, function() {
|
1203 |
$(fwd ? this : curr).hide();
|
1205 |
});
|
1206 |
});
|
1207 |
};
|
1208 |
+
$.extend(opts.cssBefore, { display: 'block', opacity: 1, top: 0, left: 0 });
|
1209 |
};
|
1210 |
|
1211 |
// turnUp/Down/Left/Right
|
1214 |
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
1215 |
opts.cssBefore.top = next.cycleH;
|
1216 |
opts.animIn.height = next.cycleH;
|
1217 |
+
opts.animOut.width = next.cycleW;
|
1218 |
});
|
1219 |
+
opts.cssFirst.top = 0;
|
1220 |
+
opts.cssBefore.left = 0;
|
1221 |
+
opts.cssBefore.height = 0;
|
1222 |
+
opts.animIn.top = 0;
|
1223 |
+
opts.animOut.height = 0;
|
1224 |
};
|
1225 |
$.fn.cycle.transitions.turnDown = function($cont, $slides, opts) {
|
1226 |
opts.before.push(function(curr, next, opts) {
|
1228 |
opts.animIn.height = next.cycleH;
|
1229 |
opts.animOut.top = curr.cycleH;
|
1230 |
});
|
1231 |
+
opts.cssFirst.top = 0;
|
1232 |
+
opts.cssBefore.left = 0;
|
1233 |
+
opts.cssBefore.top = 0;
|
1234 |
+
opts.cssBefore.height = 0;
|
1235 |
+
opts.animOut.height = 0;
|
1236 |
};
|
1237 |
$.fn.cycle.transitions.turnLeft = function($cont, $slides, opts) {
|
1238 |
opts.before.push(function(curr, next, opts) {
|
1240 |
opts.cssBefore.left = next.cycleW;
|
1241 |
opts.animIn.width = next.cycleW;
|
1242 |
});
|
1243 |
+
opts.cssBefore.top = 0;
|
1244 |
+
opts.cssBefore.width = 0;
|
1245 |
+
opts.animIn.left = 0;
|
1246 |
+
opts.animOut.width = 0;
|
1247 |
};
|
1248 |
$.fn.cycle.transitions.turnRight = function($cont, $slides, opts) {
|
1249 |
opts.before.push(function(curr, next, opts) {
|
1251 |
opts.animIn.width = next.cycleW;
|
1252 |
opts.animOut.left = curr.cycleW;
|
1253 |
});
|
1254 |
+
$.extend(opts.cssBefore, { top: 0, left: 0, width: 0 });
|
1255 |
+
opts.animIn.left = 0;
|
1256 |
+
opts.animOut.width = 0;
|
1257 |
};
|
1258 |
|
1259 |
// zoom
|
1262 |
$.fn.cycle.commonReset(curr,next,opts,false,false,true);
|
1263 |
opts.cssBefore.top = next.cycleH/2;
|
1264 |
opts.cssBefore.left = next.cycleW/2;
|
1265 |
+
$.extend(opts.animIn, { top: 0, left: 0, width: next.cycleW, height: next.cycleH });
|
1266 |
+
$.extend(opts.animOut, { width: 0, height: 0, top: curr.cycleH/2, left: curr.cycleW/2 });
|
1267 |
});
|
1268 |
+
opts.cssFirst.top = 0;
|
1269 |
+
opts.cssFirst.left = 0;
|
1270 |
+
opts.cssBefore.width = 0;
|
1271 |
+
opts.cssBefore.height = 0;
|
1272 |
};
|
1273 |
|
1274 |
// fadeZoom
|
1277 |
$.fn.cycle.commonReset(curr,next,opts,false,false);
|
1278 |
opts.cssBefore.left = next.cycleW/2;
|
1279 |
opts.cssBefore.top = next.cycleH/2;
|
1280 |
+
$.extend(opts.animIn, { top: 0, left: 0, width: next.cycleW, height: next.cycleH });
|
1281 |
});
|
1282 |
+
opts.cssBefore.width = 0;
|
1283 |
+
opts.cssBefore.height = 0;
|
1284 |
+
opts.animOut.opacity = 0;
|
1285 |
};
|
1286 |
|
1287 |
// blindX
|
1292 |
opts.animIn.width = next.cycleW;
|
1293 |
opts.animOut.left = curr.cycleW;
|
1294 |
});
|
1295 |
+
opts.cssBefore.left = w;
|
1296 |
+
opts.cssBefore.top = 0;
|
1297 |
+
opts.animIn.left = 0;
|
1298 |
+
opts.animOut.left = w;
|
1299 |
};
|
1300 |
// blindY
|
1301 |
$.fn.cycle.transitions.blindY = function($cont, $slides, opts) {
|
1305 |
opts.animIn.height = next.cycleH;
|
1306 |
opts.animOut.top = curr.cycleH;
|
1307 |
});
|
1308 |
+
opts.cssBefore.top = h;
|
1309 |
+
opts.cssBefore.left = 0;
|
1310 |
+
opts.animIn.top = 0;
|
1311 |
+
opts.animOut.top = h;
|
1312 |
};
|
1313 |
// blindZ
|
1314 |
$.fn.cycle.transitions.blindZ = function($cont, $slides, opts) {
|
1319 |
opts.animIn.height = next.cycleH;
|
1320 |
opts.animOut.top = curr.cycleH;
|
1321 |
});
|
1322 |
+
opts.cssBefore.top = h;
|
1323 |
+
opts.cssBefore.left = w;
|
1324 |
+
opts.animIn.top = 0;
|
1325 |
+
opts.animIn.left = 0;
|
1326 |
+
opts.animOut.top = h;
|
1327 |
+
opts.animOut.left = w;
|
1328 |
};
|
1329 |
|
1330 |
// growX - grow horizontally from centered 0 width
|
1332 |
opts.before.push(function(curr, next, opts) {
|
1333 |
$.fn.cycle.commonReset(curr,next,opts,false,true);
|
1334 |
opts.cssBefore.left = this.cycleW/2;
|
1335 |
+
opts.animIn.left = 0;
|
1336 |
+
opts.animIn.width = this.cycleW;
|
1337 |
+
opts.animOut.left = 0;
|
1338 |
});
|
1339 |
+
opts.cssBefore.top = 0;
|
1340 |
+
opts.cssBefore.width = 0;
|
1341 |
};
|
1342 |
// growY - grow vertically from centered 0 height
|
1343 |
$.fn.cycle.transitions.growY = function($cont, $slides, opts) {
|
1344 |
opts.before.push(function(curr, next, opts) {
|
1345 |
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
1346 |
opts.cssBefore.top = this.cycleH/2;
|
1347 |
+
opts.animIn.top = 0;
|
1348 |
+
opts.animIn.height = this.cycleH;
|
1349 |
+
opts.animOut.top = 0;
|
1350 |
});
|
1351 |
+
opts.cssBefore.height = 0;
|
1352 |
+
opts.cssBefore.left = 0;
|
1353 |
};
|
1354 |
|
1355 |
// curtainX - squeeze in both edges horizontally
|
1357 |
opts.before.push(function(curr, next, opts) {
|
1358 |
$.fn.cycle.commonReset(curr,next,opts,false,true,true);
|
1359 |
opts.cssBefore.left = next.cycleW/2;
|
1360 |
+
opts.animIn.left = 0;
|
1361 |
+
opts.animIn.width = this.cycleW;
|
1362 |
+
opts.animOut.left = curr.cycleW/2;
|
1363 |
+
opts.animOut.width = 0;
|
1364 |
});
|
1365 |
+
opts.cssBefore.top = 0;
|
1366 |
+
opts.cssBefore.width = 0;
|
1367 |
};
|
1368 |
// curtainY - squeeze in both edges vertically
|
1369 |
$.fn.cycle.transitions.curtainY = function($cont, $slides, opts) {
|
1370 |
opts.before.push(function(curr, next, opts) {
|
1371 |
$.fn.cycle.commonReset(curr,next,opts,true,false,true);
|
1372 |
opts.cssBefore.top = next.cycleH/2;
|
1373 |
+
opts.animIn.top = 0;
|
1374 |
+
opts.animIn.height = next.cycleH;
|
1375 |
+
opts.animOut.top = curr.cycleH/2;
|
1376 |
+
opts.animOut.height = 0;
|
1377 |
});
|
1378 |
+
opts.cssBefore.height = 0;
|
1379 |
+
opts.cssBefore.left = 0;
|
1380 |
};
|
1381 |
|
1382 |
// cover - curr slide covered by next slide
|
1395 |
else
|
1396 |
opts.cssBefore.left = w;
|
1397 |
});
|
1398 |
+
opts.animIn.left = 0;
|
1399 |
+
opts.animIn.top = 0;
|
1400 |
+
opts.cssBefore.top = 0;
|
1401 |
+
opts.cssBefore.left = 0;
|
1402 |
};
|
1403 |
|
1404 |
// uncover - curr slide moves off next slide
|
1417 |
else
|
1418 |
opts.animOut.left = -w;
|
1419 |
});
|
1420 |
+
opts.animIn.left = 0;
|
1421 |
+
opts.animIn.top = 0;
|
1422 |
+
opts.cssBefore.top = 0;
|
1423 |
+
opts.cssBefore.left = 0;
|
1424 |
};
|
1425 |
|
1426 |
// toss - move top slide and fade away
|
1431 |
$.fn.cycle.commonReset(curr,next,opts,true,true,true);
|
1432 |
// provide default toss settings if animOut not provided
|
1433 |
if (!opts.animOut.left && !opts.animOut.top)
|
1434 |
+
$.extend(opts.animOut, { left: w*2, top: -h/2, opacity: 0 });
|
1435 |
else
|
1436 |
opts.animOut.opacity = 0;
|
1437 |
});
|
1438 |
+
opts.cssBefore.left = 0;
|
1439 |
+
opts.cssBefore.top = 0;
|
1440 |
+
opts.animIn.left = 0;
|
1441 |
};
|
1442 |
|
1443 |
// wipe - clip animation
|
1456 |
else if (/b2t/.test(opts.clip))
|
1457 |
clip = 'rect('+h+'px '+w+'px '+h+'px 0px)';
|
1458 |
else if (/zoom/.test(opts.clip)) {
|
1459 |
+
var top = parseInt(h/2,10);
|
1460 |
+
var left = parseInt(w/2,10);
|
1461 |
clip = 'rect('+top+'px '+left+'px '+top+'px '+left+'px)';
|
1462 |
}
|
1463 |
}
|
1465 |
opts.cssBefore.clip = opts.cssBefore.clip || clip || 'rect(0px 0px 0px 0px)';
|
1466 |
|
1467 |
var d = opts.cssBefore.clip.match(/(\d+)/g);
|
1468 |
+
var t = parseInt(d[0],10), r = parseInt(d[1],10), b = parseInt(d[2],10), l = parseInt(d[3],10);
|
1469 |
|
1470 |
opts.before.push(function(curr, next, opts) {
|
1471 |
if (curr == next) return;
|
1473 |
$.fn.cycle.commonReset(curr,next,opts,true,true,false);
|
1474 |
opts.cssAfter.display = 'block';
|
1475 |
|
1476 |
+
var step = 1, count = parseInt((opts.speedIn / 13),10) - 1;
|
1477 |
(function f() {
|
1478 |
+
var tt = t ? t - parseInt(step * (t/count),10) : 0;
|
1479 |
+
var ll = l ? l - parseInt(step * (l/count),10) : 0;
|
1480 |
+
var bb = b < h ? b + parseInt(step * ((h-b)/count || 1),10) : h;
|
1481 |
+
var rr = r < w ? r + parseInt(step * ((w-r)/count || 1),10) : w;
|
1482 |
$next.css({ clip: 'rect('+tt+'px '+rr+'px '+bb+'px '+ll+'px)' });
|
1483 |
(step++ <= count) ? setTimeout(f, 13) : $curr.css('display', 'none');
|
1484 |
})();
|
1485 |
});
|
1486 |
+
$.extend(opts.cssBefore, { display: 'block', opacity: 1, top: 0, left: 0 });
|
1487 |
opts.animIn = { left: 0 };
|
1488 |
opts.animOut = { left: 0 };
|
1489 |
};
|
js/jquery.cycle.all.min.js
CHANGED
@@ -1,21 +1 @@
|
|
1 |
-
/*
|
2 |
-
* jQuery Cycle Plugin (with Transition Definitions)
|
3 |
-
* Examples and documentation at: http://jquery.malsup.com/cycle/
|
4 |
-
* Copyright (c) 2007-2010 M. Alsup
|
5 |
-
* Version: 2.88 (08-JUN-2010)
|
6 |
-
* Dual licensed under the MIT and GPL licenses.
|
7 |
-
* http://jquery.malsup.com/license.html
|
8 |
-
* Requires: jQuery v1.2.6 or later
|
9 |
-
*/
|
10 |
-
(function($){var ver="2.88";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){if($.fn.cycle.debug){log(s);}}function log(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "));}}$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length===0&&options!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(options,arg2);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){var opts=handleArguments(this,options,arg2);if(opts===false){return;}opts.updateActivePagerLink=opts.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=opts.slideExpr?$(opts.slideExpr,this):$cont.children();var els=$slides.get();if(els.length<2){log("terminating; too few slides: "+els.length);return;}var opts2=buildOptions($cont,$slides,els,opts,o);if(opts2===false){return;}var startTime=opts2.continuous?10:getTimeout(els[opts2.currSlide],els[opts2.nextSlide],opts2,!opts2.rev);if(startTime){startTime+=(opts2.delay||0);if(startTime<10){startTime=10;}debug("first timeout: "+startTime);this.cycleTimeout=setTimeout(function(){go(els,opts2,0,(!opts2.rev&&!opts.backwards));},startTime);}});};function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined){cont.cycleStop=0;}if(options===undefined||options===null){options={};}if(options.constructor==String){switch(options){case"destroy":case"stop":var opts=$(cont).data("cycle.opts");if(!opts){return false;}cont.cycleStop++;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);}cont.cycleTimeout=0;$(cont).removeData("cycle.opts");if(options=="destroy"){destroy(opts);}return false;case"toggle":cont.cyclePause=(cont.cyclePause===1)?0:1;checkInstantResume(cont.cyclePause,arg2,cont);return false;case"pause":cont.cyclePause=1;return false;case"resume":cont.cyclePause=0;checkInstantResume(false,arg2,cont);return false;case"prev":case"next":var opts=$(cont).data("cycle.opts");if(!opts){log('options not found, "prev/next" ignored');return false;}$.fn.cycle[options](opts);return false;default:options={fx:options};}return options;}else{if(options.constructor==Number){var num=options;options=$(cont).data("cycle.opts");if(!options){log("options not found, can not advance slide");return false;}if(num<0||num>=options.elements.length){log("invalid slide index: "+num);return false;}options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}if(typeof arg2=="string"){options.oneTimeFx=arg2;}go(options.elements,options,1,num>=options.currSlide);return false;}}return options;function checkInstantResume(isPaused,arg2,cont){if(!isPaused&&arg2===true){var options=$(cont).data("cycle.opts");if(!options){log("options not found, can not resume");return false;}if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}go(options.elements,options,1,(!opts.rev&&!opts.backwards));}}}function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function destroy(opts){if(opts.next){$(opts.next).unbind(opts.prevNextEvent);}if(opts.prev){$(opts.prev).unbind(opts.prevNextEvent);}if(opts.pager||opts.pagerAnchorBuilder){$.each(opts.pagerAnchors||[],function(){this.unbind().remove();});}opts.pagerAnchors=null;if(opts.destroy){opts.destroy(opts);}}function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});if(opts.autostop){opts.countdown=opts.autostopCount||els.length;}var cont=$cont[0];$cont.data("cycle.opts",opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];opts.after.unshift(function(){opts.busy=0;});if(!$.support.opacity&&opts.cleartype){opts.after.push(function(){removeFilter(this,opts);});}if(opts.continuous){opts.after.push(function(){go(els,opts,0,(!opts.rev&&!opts.backwards));});}saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($slides);}if($cont.css("position")=="static"){$cont.css("position","relative");}if(opts.width){$cont.width(opts.width);}if(opts.height&&opts.height!="auto"){$cont.height(opts.height);}if(opts.startingSlide){opts.startingSlide=parseInt(opts.startingSlide);}else{if(opts.backwards){opts.startingSlide=els.length-1;}}if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++){opts.randomMap.push(i);}opts.randomMap.sort(function(a,b){return Math.random()-0.5;});opts.randomIndex=1;opts.startingSlide=opts.randomMap[1];}else{if(opts.startingSlide>=els.length){opts.startingSlide=0;}}opts.currSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z;if(opts.backwards){z=first?i<=first?els.length+(i-first):first-i:els.length-i;}else{z=first?i>=first?els.length-(i-first):first-i:els.length-i;}$(this).css("z-index",z);});$(els[first]).css("opacity",1).show();removeFilter(els[first],opts);if(opts.fit&&opts.width){$slides.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var j=0;j<els.length;j++){var $e=$(els[j]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth||e.width||$e.attr("width");}if(!h){h=e.offsetHeight||e.height||$e.attr("height");}maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh;}if(maxw>0&&maxh>0){$cont.css({width:maxw+"px",height:maxh+"px"});}}if(opts.pause){$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(opts)===false){return false;}var requeue=false;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:($el.height()||this.offsetHeight||this.height||$el.attr("height")||0);this.cycleW=(opts.fit&&opts.width)?opts.width:($el.width()||this.offsetWidth||this.width||$el.attr("width")||0);if($el.is("img")){var loadingIE=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingFF=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var loadingOp=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingFF||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options);},opts.requeueTimeout);requeue=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(requeue){return false;}opts.cssBefore=opts.cssBefore||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(":eq("+first+")").css(opts.cssBefore);if(opts.cssFirst){$($slides[first]).css(opts.cssFirst);}if(opts.timeout){opts.timeout=parseInt(opts.timeout);if(opts.speed.constructor==String){opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed);}if(!opts.sync){opts.speed=opts.speed/2;}var buffer=opts.fx=="shuffle"?500:250;while((opts.timeout-opts.speed)<buffer){opts.timeout+=opts.speed;}}if(opts.easing){opts.easeIn=opts.easeOut=opts.easing;}if(!opts.speedIn){opts.speedIn=opts.speed;}if(!opts.speedOut){opts.speedOut=opts.speed;}opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.backwards){opts.nextSlide=opts.startingSlide==0?(els.length-1):opts.startingSlide-1;}else{opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;}}if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init)){init($cont,$slides,opts);}else{if(opts.fx!="custom"&&!opts.multiFx){log("unknown transition: "+opts.fx,"; slideshow terminating");return false;}}}var e0=$slides[first];if(opts.before.length){opts.before[0].apply(e0,[e0,e0,opts,true]);}if(opts.after.length>1){opts.after[1].apply(e0,[e0,e0,opts,true]);}if(opts.next){$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?-1:1);});}if(opts.prev){$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?1:-1);});}if(opts.pager||opts.pagerAnchorBuilder){buildPager(els,opts);}exposeAddSlide(opts,els);return opts;}function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this);});$.each(opts.after,function(){opts.original.after.push(this);});}function supportMultiTransitions(opts){var i,tx,txs=$.fn.cycle.transitions;if(opts.fx.indexOf(",")>0){opts.multiFx=true;opts.fxs=opts.fx.replace(/\s*/g,"").split(",");for(i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);opts.fxs.splice(i,1);i--;}}if(!opts.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(opts.fx=="all"){opts.multiFx=true;opts.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){opts.fxs.push(p);}}}}if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0]);}debug("randomized fx sequence: ",opts.fxs);}return true;}function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];if(!opts.autostopCount){opts.countdown++;}els[prepend?"unshift":"push"](s);if(opts.els){opts.els[prepend?"unshift":"push"](s);}opts.slideCount=els.length;$s.css("position","absolute");$s[prepend?"prependTo":"appendTo"](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++;}if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($s);}if(opts.fit&&opts.width){$s.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager||opts.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);}if($.isFunction(opts.onAddSlide)){opts.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this);});$.each(opts.original.after,function(){opts.after.push(this);});var init=$.fn.cycle.transitions[fx];if($.isFunction(init)){init(opts.$cont,$(opts.elements),opts);}};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){debug("manualTrump in go(), stopping active transition");$(els).stop(true,true);opts.busy=false;}if(opts.busy){debug("transition active, ignoring new tx request");return;}var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual){return;}if(!manual&&!p.cyclePause&&!opts.bounce&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end){opts.end(opts);}return;}var changed=false;if((manual||!p.cyclePause)&&(opts.nextSlide!=opts.currSlide)){changed=true;var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length){opts.lastFx=0;}fx=opts.fxs[opts.lastFx];opts.currFx=fx;}if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null;}$.fn.cycle.resetState(opts,fx);if(opts.before.length){$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});}var after=function(){$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});};debug("tx firing; currSlide: "+opts.currSlide+"; nextSlide: "+opts.nextSlide);opts.busy=1;if(opts.fxFn){opts.fxFn(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{if($.isFunction($.fn.cycle[opts.fx])){$.fn.cycle[opts.fx](curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{$.fn.cycle.custom(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}}}if(changed||opts.nextSlide==opts.currSlide){opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];if(opts.nextSlide==opts.currSlide){opts.nextSlide=(opts.currSlide==opts.slideCount-1)?0:opts.currSlide+1;}}else{if(opts.backwards){var roll=(opts.nextSlide-1)<0;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=1;opts.currSlide=0;}else{opts.nextSlide=roll?(els.length-1):opts.nextSlide-1;opts.currSlide=roll?0:opts.nextSlide+1;}}else{var roll=(opts.nextSlide+1)==els.length;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=els.length-2;opts.currSlide=els.length-1;}else{opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1;}}}}if(changed&&opts.pager){opts.updateActivePagerLink(opts.pager,opts.currSlide,opts.activePagerClass);}var ms=0;if(opts.timeout&&!opts.continuous){ms=getTimeout(els[opts.currSlide],els[opts.nextSlide],opts,fwd);}else{if(opts.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,opts,0,(!opts.rev&&!opts.backwards));},ms);}}$.fn.cycle.updateActivePagerLink=function(pager,currSlide,clsName){$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);});};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn.call(curr,curr,next,opts,fwd);while((t-opts.speed)<250){t+=opts.speed;}debug("calculated timeout: "+t+"; speed: "+opts.speed);if(t!==false){return t;}}return opts.timeout;}$.fn.cycle.next=function(opts){advance(opts,opts.rev?-1:1);};$.fn.cycle.prev=function(opts){advance(opts,opts.rev?1:-1);};function advance(opts,val){var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2){opts.randomIndex=els.length-2;}else{if(opts.randomIndex==-1){opts.randomIndex=els.length-1;}}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.random){opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap){return false;}opts.nextSlide=els.length-1;}else{if(opts.nextSlide>=els.length){if(opts.nowrap){return false;}opts.nextSlide=0;}}}}var cb=opts.onPrevNextEvent||opts.prevNextClick;if($.isFunction(cb)){cb(val>0,opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,val>=0);return false;}function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);});opts.updateActivePagerLink(opts.pager,opts.startingSlide,opts.activePagerClass);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a;if($.isFunction(opts.pagerAnchorBuilder)){a=opts.pagerAnchorBuilder(i,el);debug("pagerAnchorBuilder("+i+", el) returned: "+a);}else{a='<a href="#">'+(i+1)+"</a>";}if(!a){return;}var $a=$(a);if($a.parents("body").length===0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(true);$(this).append($clone);arr.push($clone[0]);});$a=$(arr);}else{$a.appendTo($p);}}opts.pagerAnchors=opts.pagerAnchors||[];opts.pagerAnchors.push($a);$a.bind(opts.pagerEvent,function(e){e.preventDefault();opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}var cb=opts.onPagerEvent||opts.pagerClick;if($.isFunction(cb)){cb(opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,opts.currSlide<i);});if(!/^click/.test(opts.pagerEvent)&&!opts.allowPagerClickBubble){$a.bind("click.cycle",function(){return false;});}if(opts.pauseOnPagerHover){$a.hover(function(){opts.$cont[0].cyclePause++;},function(){opts.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd){hops=c>l?c-l:opts.slideCount-l;}else{hops=c<l?l-c:l+opts.slideCount-c;}return hops;};function clearTypeFix($slides){debug("applying clearType background-color hack");function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}$slides.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();opts.cssBefore.opacity=1;opts.cssBefore.display="block";if(w!==false&&next.cycleW>0){opts.cssBefore.width=next.cycleW;}if(h!==false&&next.cycleH>0){opts.cssBefore.height=next.cycleH;}opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display="none";$(curr).css("zIndex",opts.slideCount+(rev===true?1:0));$(next).css("zIndex",opts.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(curr,next,opts,cb,fwd,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=="number"){speedIn=speedOut=speedOverride;}else{speedIn=speedOut=1;}easeIn=easeOut=null;}var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,cb);};$l.animate(opts.animOut,speedOut,easeOut,function(){if(opts.cssAfter){$l.css(opts.cssAfter);}if(!opts.sync){fn();}});if(opts.sync){fn();}};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css("opacity",0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0;});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return ver;};$.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:null,onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:false,pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!$.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null,backwards:false};})(jQuery);
|
11 |
-
/*
|
12 |
-
* jQuery Cycle Plugin Transition Definitions
|
13 |
-
* This script is a plugin for the jQuery Cycle Plugin
|
14 |
-
* Examples and documentation at: http://malsup.com/jquery/cycle/
|
15 |
-
* Copyright (c) 2007-2010 M. Alsup
|
16 |
-
* Version: 2.72
|
17 |
-
* Dual licensed under the MIT and GPL licenses:
|
18 |
-
* http://www.opensource.org/licenses/mit-license.php
|
19 |
-
* http://www.gnu.org/licenses/gpl.html
|
20 |
-
*/
|
21 |
-
(function($){$.fn.cycle.transitions.none=function($cont,$slides,opts){opts.fxFn=function(curr,next,opts,after){$(next).show();$(curr).hide();after();};};$.fn.cycle.transitions.scrollUp=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssBefore={top:h,left:0};opts.cssFirst={top:0};opts.animIn={top:0};opts.animOut={top:-h};};$.fn.cycle.transitions.scrollDown=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssFirst={top:0};opts.cssBefore={top:-h,left:0};opts.animIn={top:0};opts.animOut={top:h};};$.fn.cycle.transitions.scrollLeft=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst={left:0};opts.cssBefore={left:w,top:0};opts.animIn={left:0};opts.animOut={left:0-w};};$.fn.cycle.transitions.scrollRight=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst={left:0};opts.cssBefore={left:-w,top:0};opts.animIn={left:0};opts.animOut={left:w};};$.fn.cycle.transitions.scrollHorz=function($cont,$slides,opts){$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts,fwd){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.left=fwd?(next.cycleW-1):(1-next.cycleW);opts.animOut.left=fwd?-curr.cycleW:curr.cycleW;});opts.cssFirst={left:0};opts.cssBefore={top:0};opts.animIn={left:0};opts.animOut={top:0};};$.fn.cycle.transitions.scrollVert=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push(function(curr,next,opts,fwd){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.top=fwd?(1-next.cycleH):(next.cycleH-1);opts.animOut.top=fwd?curr.cycleH:-curr.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0};opts.animIn={top:0};opts.animOut={left:0};};$.fn.cycle.transitions.slideX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;});opts.cssBefore={left:0,top:0,width:0};opts.animIn={width:"show"};opts.animOut={width:0};};$.fn.cycle.transitions.slideY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;});opts.cssBefore={left:0,top:0,height:0};opts.animIn={height:"show"};opts.animOut={height:0};};$.fn.cycle.transitions.shuffle=function($cont,$slides,opts){var i,w=$cont.css("overflow","visible").width();$slides.css({left:0,top:0});opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);});if(!opts.speedAdjusted){opts.speed=opts.speed/2;opts.speedAdjusted=true;}opts.random=0;opts.shuffle=opts.shuffle||{left:-w,top:15};opts.els=[];for(i=0;i<$slides.length;i++){opts.els.push($slides[i]);}for(i=0;i<opts.currSlide;i++){opts.els.push(opts.els.shift());}opts.fxFn=function(curr,next,opts,cb,fwd){var $el=fwd?$(curr):$(next);$(next).css(opts.cssBefore);var count=opts.slideCount;$el.animate(opts.shuffle,opts.speedIn,opts.easeIn,function(){var hops=$.fn.cycle.hopsFromLast(opts,fwd);for(var k=0;k<hops;k++){fwd?opts.els.push(opts.els.shift()):opts.els.unshift(opts.els.pop());}if(fwd){for(var i=0,len=opts.els.length;i<len;i++){$(opts.els[i]).css("z-index",len-i+count);}}else{var z=$(curr).css("z-index");$el.css("z-index",parseInt(z)+1+count);}$el.animate({left:0,top:0},opts.speedOut,opts.easeOut,function(){$(fwd?this:curr).hide();if(cb){cb();}});});};opts.cssBefore={display:"block",opacity:1,top:0,left:0};};$.fn.cycle.transitions.turnUp=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=next.cycleH;opts.animIn.height=next.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0,height:0};opts.animIn={top:0};opts.animOut={height:0};};$.fn.cycle.transitions.turnDown=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0,top:0,height:0};opts.animOut={height:0};};$.fn.cycle.transitions.turnLeft=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=next.cycleW;opts.animIn.width=next.cycleW;});opts.cssBefore={top:0,width:0};opts.animIn={left:0};opts.animOut={width:0};};$.fn.cycle.transitions.turnRight=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore={top:0,left:0,width:0};opts.animIn={left:0};opts.animOut={width:0};};$.fn.cycle.transitions.zoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false,true);opts.cssBefore.top=next.cycleH/2;opts.cssBefore.left=next.cycleW/2;opts.animIn={top:0,left:0,width:next.cycleW,height:next.cycleH};opts.animOut={width:0,height:0,top:curr.cycleH/2,left:curr.cycleW/2};});opts.cssFirst={top:0,left:0};opts.cssBefore={width:0,height:0};};$.fn.cycle.transitions.fadeZoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false);opts.cssBefore.left=next.cycleW/2;opts.cssBefore.top=next.cycleH/2;opts.animIn={top:0,left:0,width:next.cycleW,height:next.cycleH};});opts.cssBefore={width:0,height:0};opts.animOut={opacity:0};};$.fn.cycle.transitions.blindX=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore={left:w,top:0};opts.animIn={left:0};opts.animOut={left:w};};$.fn.cycle.transitions.blindY=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore={top:h,left:0};opts.animIn={top:0};opts.animOut={top:h};};$.fn.cycle.transitions.blindZ=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();var w=$cont.width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore={top:h,left:w};opts.animIn={top:0,left:0};opts.animOut={top:h,left:w};};$.fn.cycle.transitions.growX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=this.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:0};});opts.cssBefore={width:0,top:0};};$.fn.cycle.transitions.growY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=this.cycleH/2;opts.animIn={top:0,height:this.cycleH};opts.animOut={top:0};});opts.cssBefore={height:0,left:0};};$.fn.cycle.transitions.curtainX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true,true);opts.cssBefore.left=next.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:curr.cycleW/2,width:0};});opts.cssBefore={top:0,width:0};};$.fn.cycle.transitions.curtainY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false,true);opts.cssBefore.top=next.cycleH/2;opts.animIn={top:0,height:next.cycleH};opts.animOut={top:curr.cycleH/2,height:0};});opts.cssBefore={left:0,height:0};};$.fn.cycle.transitions.cover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=="right"){opts.cssBefore.left=-w;}else{if(d=="up"){opts.cssBefore.top=h;}else{if(d=="down"){opts.cssBefore.top=-h;}else{opts.cssBefore.left=w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.uncover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(d=="right"){opts.animOut.left=w;}else{if(d=="up"){opts.animOut.top=-h;}else{if(d=="down"){opts.animOut.top=h;}else{opts.animOut.left=-w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.toss=function($cont,$slides,opts){var w=$cont.css("overflow","visible").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(!opts.animOut.left&&!opts.animOut.top){opts.animOut={left:w*2,top:-h/2,opacity:0};}else{opts.animOut.opacity=0;}});opts.cssBefore={left:0,top:0};opts.animIn={left:0};};$.fn.cycle.transitions.wipe=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip)){clip="rect(0px 0px "+h+"px 0px)";}else{if(/r2l/.test(opts.clip)){clip="rect(0px "+w+"px "+h+"px "+w+"px)";}else{if(/t2b/.test(opts.clip)){clip="rect(0px "+w+"px 0px 0px)";}else{if(/b2t/.test(opts.clip)){clip="rect("+h+"px "+w+"px "+h+"px 0px)";}else{if(/zoom/.test(opts.clip)){var top=parseInt(h/2);var left=parseInt(w/2);clip="rect("+top+"px "+left+"px "+top+"px "+left+"px)";}}}}}}opts.cssBefore.clip=opts.cssBefore.clip||clip||"rect(0px 0px 0px 0px)";var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0]),r=parseInt(d[1]),b=parseInt(d[2]),l=parseInt(d[3]);opts.before.push(function(curr,next,opts){if(curr==next){return;}var $curr=$(curr),$next=$(next);$.fn.cycle.commonReset(curr,next,opts,true,true,false);opts.cssAfter.display="block";var step=1,count=parseInt((opts.speedIn/13))-1;(function f(){var tt=t?t-parseInt(step*(t/count)):0;var ll=l?l-parseInt(step*(l/count)):0;var bb=b<h?b+parseInt(step*((h-b)/count||1)):h;var rr=r<w?r+parseInt(step*((w-r)/count||1)):w;$next.css({clip:"rect("+tt+"px "+rr+"px "+bb+"px "+ll+"px)"});(step++<=count)?setTimeout(f,13):$curr.css("display","none");})();});opts.cssBefore={display:"block",opacity:1,top:0,left:0};opts.animIn={left:0};opts.animOut={left:0};};})(jQuery);
|
1 |
+
(function(a){function r(b){function e(b){for(;b&&b.nodeName.toLowerCase()!="html";b=b.parentNode){var c=a.css(b,"background-color");if(c&&c.indexOf("rgb")>=0){var e=c.match(/\d+/g);return"#"+d(e[0])+d(e[1])+d(e[2])}if(c&&c!="transparent")return c}return"#ffffff"}function d(a){a=parseInt(a,10).toString(16);return a.length<2?"0"+a:a}c("applying clearType background-color hack");b.each(function(){a(this).css("background-color",e(this))})}function q(b,c){var d=a(c.pager);a.each(b,function(e,f){a.fn.cycle.createPagerAnchor(e,f,d,b,c)});c.updateActivePagerLink(c.pager,c.startingSlide,c.activePagerClass)}function o(b,c){var d=c?1:-1;var e=b.elements;var f=b.$cont[0],g=f.cycleTimeout;if(g){clearTimeout(g);f.cycleTimeout=0}if(b.random&&d<0){b.randomIndex--;if(--b.randomIndex==-2)b.randomIndex=e.length-2;else if(b.randomIndex==-1)b.randomIndex=e.length-1;b.nextSlide=b.randomMap[b.randomIndex]}else if(b.random){b.nextSlide=b.randomMap[b.randomIndex]}else{b.nextSlide=b.currSlide+d;if(b.nextSlide<0){if(b.nowrap)return false;b.nextSlide=e.length-1}else if(b.nextSlide>=e.length){if(b.nowrap)return false;b.nextSlide=0}}var h=b.onPrevNextEvent||b.prevNextClick;if(a.isFunction(h))h(d>0,b.nextSlide,e[b.nextSlide]);m(e,b,1,c);return false}function n(a,b,d,e){if(d.timeoutFn){var f=d.timeoutFn.call(a,a,b,d,e);while(d.fx!="none"&&f-d.speed<250)f+=d.speed;c("calculated timeout: "+f+"; speed: "+d.speed);if(f!==false)return f}return d.timeout}function m(b,d,e,f){if(e&&d.busy&&d.manualTrump){c("manualTrump in go(), stopping active transition");a(b).stop(true,true);d.busy=0}if(d.busy){c("transition active, ignoring new tx request");return}var g=d.$cont[0],h=b[d.currSlide],i=b[d.nextSlide];if(g.cycleStop!=d.stopCount||g.cycleTimeout===0&&!e)return;if(!e&&!g.cyclePause&&!d.bounce&&(d.autostop&&--d.countdown<=0||d.nowrap&&!d.random&&d.nextSlide<d.currSlide)){if(d.end)d.end(d);return}var j=false;if((e||!g.cyclePause)&&d.nextSlide!=d.currSlide){j=true;var k=d.fx;h.cycleH=h.cycleH||a(h).height();h.cycleW=h.cycleW||a(h).width();i.cycleH=i.cycleH||a(i).height();i.cycleW=i.cycleW||a(i).width();if(d.multiFx){if(f&&(d.lastFx==undefined||++d.lastFx>=d.fxs.length))d.lastFx=0;else if(!f&&(d.lastFx==undefined||--d.lastFx<0))d.lastFx=d.fxs.length-1;k=d.fxs[d.lastFx]}if(d.oneTimeFx){k=d.oneTimeFx;d.oneTimeFx=null}a.fn.cycle.resetState(d,k);if(d.before.length)a.each(d.before,function(a,b){if(g.cycleStop!=d.stopCount)return;b.apply(i,[h,i,d,f])});var l=function(){d.busy=0;a.each(d.after,function(a,b){if(g.cycleStop!=d.stopCount)return;b.apply(i,[h,i,d,f])})};c("tx firing("+k+"); currSlide: "+d.currSlide+"; nextSlide: "+d.nextSlide);d.busy=1;if(d.fxFn)d.fxFn(h,i,d,l,f,e&&d.fastOnEvent);else if(a.isFunction(a.fn.cycle[d.fx]))a.fn.cycle[d.fx](h,i,d,l,f,e&&d.fastOnEvent);else a.fn.cycle.custom(h,i,d,l,f,e&&d.fastOnEvent)}if(j||d.nextSlide==d.currSlide){d.lastSlide=d.currSlide;if(d.random){d.currSlide=d.nextSlide;if(++d.randomIndex==b.length)d.randomIndex=0;d.nextSlide=d.randomMap[d.randomIndex];if(d.nextSlide==d.currSlide)d.nextSlide=d.currSlide==d.slideCount-1?0:d.currSlide+1}else if(d.backwards){var o=d.nextSlide-1<0;if(o&&d.bounce){d.backwards=!d.backwards;d.nextSlide=1;d.currSlide=0}else{d.nextSlide=o?b.length-1:d.nextSlide-1;d.currSlide=o?0:d.nextSlide+1}}else{var o=d.nextSlide+1==b.length;if(o&&d.bounce){d.backwards=!d.backwards;d.nextSlide=b.length-2;d.currSlide=b.length-1}else{d.nextSlide=o?0:d.nextSlide+1;d.currSlide=o?b.length-1:d.nextSlide-1}}}if(j&&d.pager)d.updateActivePagerLink(d.pager,d.currSlide,d.activePagerClass);var p=0;if(d.timeout&&!d.continuous)p=n(b[d.currSlide],b[d.nextSlide],d,f);else if(d.continuous&&g.cyclePause)p=10;if(p>0)g.cycleTimeout=setTimeout(function(){m(b,d,0,!d.backwards)},p)}function l(b,c){b.addSlide=function(d,e){var f=a(d),g=f[0];if(!b.autostopCount)b.countdown++;c[e?"unshift":"push"](g);if(b.els)b.els[e?"unshift":"push"](g);b.slideCount=c.length;f.css("position","absolute");f[e?"prependTo":"appendTo"](b.$cont);if(e){b.currSlide++;b.nextSlide++}if(!a.support.opacity&&b.cleartype&&!b.cleartypeNoBg)r(f);if(b.fit&&b.width)f.width(b.width);if(b.fit&&b.height&&b.height!="auto")f.height(b.height);g.cycleH=b.fit&&b.height?b.height:f.height();g.cycleW=b.fit&&b.width?b.width:f.width();f.css(b.cssBefore);if(b.pager||b.pagerAnchorBuilder)a.fn.cycle.createPagerAnchor(c.length-1,g,a(b.pager),c,b);if(a.isFunction(b.onAddSlide))b.onAddSlide(f);else f.hide()}}function k(b){var e,f,g=a.fn.cycle.transitions;if(b.fx.indexOf(",")>0){b.multiFx=true;b.fxs=b.fx.replace(/\s*/g,"").split(",");for(e=0;e<b.fxs.length;e++){var h=b.fxs[e];f=g[h];if(!f||!g.hasOwnProperty(h)||!a.isFunction(f)){d("discarding unknown transition: ",h);b.fxs.splice(e,1);e--}}if(!b.fxs.length){d("No valid transitions named; slideshow terminating.");return false}}else if(b.fx=="all"){b.multiFx=true;b.fxs=[];for(p in g){f=g[p];if(g.hasOwnProperty(p)&&a.isFunction(f))b.fxs.push(p)}}if(b.multiFx&&b.randomizeEffects){var i=Math.floor(Math.random()*20)+30;for(e=0;e<i;e++){var j=Math.floor(Math.random()*b.fxs.length);b.fxs.push(b.fxs.splice(j,1)[0])}c("randomized fx sequence: ",b.fxs)}return true}function j(b){b.original={before:[],after:[]};b.original.cssBefore=a.extend({},b.cssBefore);b.original.cssAfter=a.extend({},b.cssAfter);b.original.animIn=a.extend({},b.animIn);b.original.animOut=a.extend({},b.animOut);a.each(b.before,function(){b.original.before.push(this)});a.each(b.after,function(){b.original.after.push(this)})}function i(b,c,f,h,i){var n=a.extend({},a.fn.cycle.defaults,h||{},a.metadata?b.metadata():a.meta?b.data():{});var p=a.isFunction(b.data)?b.data(n.metaAttr):null;if(p)n=a.extend(n,p);if(n.autostop)n.countdown=n.autostopCount||f.length;var s=b[0];b.data("cycle.opts",n);n.$cont=b;n.stopCount=s.cycleStop;n.elements=f;n.before=n.before?[n.before]:[];n.after=n.after?[n.after]:[];if(!a.support.opacity&&n.cleartype)n.after.push(function(){g(this,n)});if(n.continuous)n.after.push(function(){m(f,n,0,!n.backwards)});j(n);if(!a.support.opacity&&n.cleartype&&!n.cleartypeNoBg)r(c);if(b.css("position")=="static")b.css("position","relative");if(n.width)b.width(n.width);if(n.height&&n.height!="auto")b.height(n.height);if(n.startingSlide)n.startingSlide=parseInt(n.startingSlide,10);else if(n.backwards)n.startingSlide=f.length-1;if(n.random){n.randomMap=[];for(var t=0;t<f.length;t++)n.randomMap.push(t);n.randomMap.sort(function(a,b){return Math.random()-.5});n.randomIndex=1;n.startingSlide=n.randomMap[1]}else if(n.startingSlide>=f.length)n.startingSlide=0;n.currSlide=n.startingSlide||0;var u=n.startingSlide;c.css({position:"absolute",top:0,left:0}).hide().each(function(b){var c;if(n.backwards)c=u?b<=u?f.length+(b-u):u-b:f.length-b;else c=u?b>=u?f.length-(b-u):u-b:f.length-b;a(this).css("z-index",c)});a(f[u]).css("opacity",1).show();g(f[u],n);if(n.fit){if(!n.aspect){if(n.width)c.width(n.width);if(n.height&&n.height!="auto")c.height(n.height)}else{c.each(function(){var b=a(this);var c=n.aspect===true?b.width()/b.height():n.aspect;if(n.width&&b.width()!=n.width){b.width(n.width);b.height(n.width/c)}if(n.height&&b.height()<n.height){b.height(n.height);b.width(n.height*c)}})}}if(n.center&&(!n.fit||n.aspect)){c.each(function(){var b=a(this);b.css({"margin-left":n.width?(n.width-b.width())/2+"px":0,"margin-top":n.height?(n.height-b.height())/2+"px":0})})}if(n.center&&!n.fit&&!n.slideResize){c.each(function(){var b=a(this);b.css({"margin-left":n.width?(n.width-b.width())/2+"px":0,"margin-top":n.height?(n.height-b.height())/2+"px":0})})}var v=n.containerResize&&!b.innerHeight();if(v){var w=0,x=0;for(var y=0;y<f.length;y++){var z=a(f[y]),A=z[0],B=z.outerWidth(),C=z.outerHeight();if(!B)B=A.offsetWidth||A.width||z.attr("width");if(!C)C=A.offsetHeight||A.height||z.attr("height");w=B>w?B:w;x=C>x?C:x}if(w>0&&x>0)b.css({width:w+"px",height:x+"px"})}var D=false;if(n.pause)b.hover(function(){D=true;this.cyclePause++;e(s,true)},function(){D&&this.cyclePause--;e(s,true)});if(k(n)===false)return false;var E=false;h.requeueAttempts=h.requeueAttempts||0;c.each(function(){var b=a(this);this.cycleH=n.fit&&n.height?n.height:b.height()||this.offsetHeight||this.height||b.attr("height")||0;this.cycleW=n.fit&&n.width?n.width:b.width()||this.offsetWidth||this.width||b.attr("width")||0;if(b.is("img")){var c=a.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete;var e=a.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete;var f=a.browser.opera&&(this.cycleW==42&&this.cycleH==19||this.cycleW==37&&this.cycleH==17)&&!this.complete;var g=this.cycleH==0&&this.cycleW==0&&!this.complete;if(c||e||f||g){if(i.s&&n.requeueOnImageNotLoaded&&++h.requeueAttempts<100){d(h.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){a(i.s,i.c).cycle(h)},n.requeueTimeout);E=true;return false}else{d("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(E)return false;n.cssBefore=n.cssBefore||{};n.cssAfter=n.cssAfter||{};n.cssFirst=n.cssFirst||{};n.animIn=n.animIn||{};n.animOut=n.animOut||{};c.not(":eq("+u+")").css(n.cssBefore);a(c[u]).css(n.cssFirst);if(n.timeout){n.timeout=parseInt(n.timeout,10);if(n.speed.constructor==String)n.speed=a.fx.speeds[n.speed]||parseInt(n.speed,10);if(!n.sync)n.speed=n.speed/2;var F=n.fx=="none"?0:n.fx=="shuffle"?500:250;while(n.timeout-n.speed<F)n.timeout+=n.speed}if(n.easing)n.easeIn=n.easeOut=n.easing;if(!n.speedIn)n.speedIn=n.speed;if(!n.speedOut)n.speedOut=n.speed;n.slideCount=f.length;n.currSlide=n.lastSlide=u;if(n.random){if(++n.randomIndex==f.length)n.randomIndex=0;n.nextSlide=n.randomMap[n.randomIndex]}else if(n.backwards)n.nextSlide=n.startingSlide==0?f.length-1:n.startingSlide-1;else n.nextSlide=n.startingSlide>=f.length-1?0:n.startingSlide+1;if(!n.multiFx){var G=a.fn.cycle.transitions[n.fx];if(a.isFunction(G))G(b,c,n);else if(n.fx!="custom"&&!n.multiFx){d("unknown transition: "+n.fx,"; slideshow terminating");return false}}var H=c[u];if(!n.skipInitializationCallbacks){if(n.before.length)n.before[0].apply(H,[H,H,n,true]);if(n.after.length)n.after[0].apply(H,[H,H,n,true])}if(n.next)a(n.next).bind(n.prevNextEvent,function(){return o(n,1)});if(n.prev)a(n.prev).bind(n.prevNextEvent,function(){return o(n,0)});if(n.pager||n.pagerAnchorBuilder)q(f,n);l(n,f);return n}function h(b){if(b.next)a(b.next).unbind(b.prevNextEvent);if(b.prev)a(b.prev).unbind(b.prevNextEvent);if(b.pager||b.pagerAnchorBuilder)a.each(b.pagerAnchors||[],function(){this.unbind().remove()});b.pagerAnchors=null;if(b.destroy)b.destroy(b)}function g(b,c){if(!a.support.opacity&&c.cleartype&&b.style.filter){try{b.style.removeAttribute("filter")}catch(d){}}}function f(b,c,f){function j(b,c,e){if(!b&&c===true){var f=a(e).data("cycle.opts");if(!f){d("options not found, can not resume");return false}if(e.cycleTimeout){clearTimeout(e.cycleTimeout);e.cycleTimeout=0}m(f.elements,f,1,!f.backwards)}}if(b.cycleStop==undefined)b.cycleStop=0;if(c===undefined||c===null)c={};if(c.constructor==String){switch(c){case"destroy":case"stop":var g=a(b).data("cycle.opts");if(!g)return false;b.cycleStop++;if(b.cycleTimeout)clearTimeout(b.cycleTimeout);b.cycleTimeout=0;g.elements&&a(g.elements).stop();a(b).removeData("cycle.opts");if(c=="destroy")h(g);return false;case"toggle":b.cyclePause=b.cyclePause===1?0:1;j(b.cyclePause,f,b);e(b);return false;case"pause":b.cyclePause=1;e(b);return false;case"resume":b.cyclePause=0;j(false,f,b);e(b);return false;case"prev":case"next":var g=a(b).data("cycle.opts");if(!g){d('options not found, "prev/next" ignored');return false}a.fn.cycle[c](g);return false;default:c={fx:c}}return c}else if(c.constructor==Number){var i=c;c=a(b).data("cycle.opts");if(!c){d("options not found, can not advance slide");return false}if(i<0||i>=c.elements.length){d("invalid slide index: "+i);return false}c.nextSlide=i;if(b.cycleTimeout){clearTimeout(b.cycleTimeout);b.cycleTimeout=0}if(typeof f=="string")c.oneTimeFx=f;m(c.elements,c,1,i>=c.currSlide);return false}return c}function e(b,c,d){var e=a(b).data("cycle.opts");var f=!!b.cyclePause;if(f&&e.paused)e.paused(b,e,c,d);else if(!f&&e.resumed)e.resumed(b,e,c,d)}function d(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "))}function c(b){a.fn.cycle.debug&&d(b)}var b="2.9995";if(a.support==undefined){a.support={opacity:!a.browser.msie}}a.expr[":"].paused=function(a){return a.cyclePause};a.fn.cycle=function(b,e){var g={s:this.selector,c:this.context};if(this.length===0&&b!="stop"){if(!a.isReady&&g.s){d("DOM not ready, queuing slideshow");a(function(){a(g.s,g.c).cycle(b,e)});return this}d("terminating; zero elements found by selector"+(a.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var h=f(this,b,e);if(h===false)return;h.updateActivePagerLink=h.updateActivePagerLink||a.fn.cycle.updateActivePagerLink;if(this.cycleTimeout)clearTimeout(this.cycleTimeout);this.cycleTimeout=this.cyclePause=0;var j=a(this);var k=h.slideExpr?a(h.slideExpr,this):j.children();var l=k.get();var o=i(j,k,l,h,g);if(o===false)return;if(l.length<2){d("terminating; too few slides: "+l.length);return}var p=o.continuous?10:n(l[o.currSlide],l[o.nextSlide],o,!o.backwards);if(p){p+=o.delay||0;if(p<10)p=10;c("first timeout: "+p);this.cycleTimeout=setTimeout(function(){m(l,o,0,!h.backwards)},p)}})};a.fn.cycle.resetState=function(b,c){c=c||b.fx;b.before=[];b.after=[];b.cssBefore=a.extend({},b.original.cssBefore);b.cssAfter=a.extend({},b.original.cssAfter);b.animIn=a.extend({},b.original.animIn);b.animOut=a.extend({},b.original.animOut);b.fxFn=null;a.each(b.original.before,function(){b.before.push(this)});a.each(b.original.after,function(){b.after.push(this)});var d=a.fn.cycle.transitions[c];if(a.isFunction(d))d(b.$cont,a(b.elements),b)};a.fn.cycle.updateActivePagerLink=function(b,c,d){a(b).each(function(){a(this).children().removeClass(d).eq(c).addClass(d)})};a.fn.cycle.next=function(a){o(a,1)};a.fn.cycle.prev=function(a){o(a,0)};a.fn.cycle.createPagerAnchor=function(b,d,f,g,h){var i;if(a.isFunction(h.pagerAnchorBuilder)){i=h.pagerAnchorBuilder(b,d);c("pagerAnchorBuilder("+b+", el) returned: "+i)}else i='<a href="#">'+(b+1)+"</a>";if(!i)return;var j=a(i);if(j.parents("body").length===0){var k=[];if(f.length>1){f.each(function(){var b=j.clone(true);a(this).append(b);k.push(b[0])});j=a(k)}else{j.appendTo(f)}}h.pagerAnchors=h.pagerAnchors||[];h.pagerAnchors.push(j);var l=function(c){c.preventDefault();h.nextSlide=b;var d=h.$cont[0],e=d.cycleTimeout;if(e){clearTimeout(e);d.cycleTimeout=0}var f=h.onPagerEvent||h.pagerClick;if(a.isFunction(f))f(h.nextSlide,g[h.nextSlide]);m(g,h,1,h.currSlide<b)};if(/mouseenter|mouseover/i.test(h.pagerEvent)){j.hover(l,function(){})}else{j.bind(h.pagerEvent,l)}if(!/^click/.test(h.pagerEvent)&&!h.allowPagerClickBubble)j.bind("click.cycle",function(){return false});var n=h.$cont[0];var o=false;if(h.pauseOnPagerHover){j.hover(function(){o=true;n.cyclePause++;e(n,true,true)},function(){o&&n.cyclePause--;e(n,true,true)})}};a.fn.cycle.hopsFromLast=function(a,b){var c,d=a.lastSlide,e=a.currSlide;if(b)c=e>d?e-d:a.slideCount-d;else c=e<d?d-e:d+a.slideCount-e;return c};a.fn.cycle.commonReset=function(b,c,d,e,f,g){a(d.elements).not(b).hide();if(typeof d.cssBefore.opacity=="undefined")d.cssBefore.opacity=1;d.cssBefore.display="block";if(d.slideResize&&e!==false&&c.cycleW>0)d.cssBefore.width=c.cycleW;if(d.slideResize&&f!==false&&c.cycleH>0)d.cssBefore.height=c.cycleH;d.cssAfter=d.cssAfter||{};d.cssAfter.display="none";a(b).css("zIndex",d.slideCount+(g===true?1:0));a(c).css("zIndex",d.slideCount+(g===true?0:1))};a.fn.cycle.custom=function(b,c,d,e,f,g){var h=a(b),i=a(c);var j=d.speedIn,k=d.speedOut,l=d.easeIn,m=d.easeOut;i.css(d.cssBefore);if(g){if(typeof g=="number")j=k=g;else j=k=1;l=m=null}var n=function(){i.animate(d.animIn,j,l,function(){e()})};h.animate(d.animOut,k,m,function(){h.css(d.cssAfter);if(!d.sync)n()});if(d.sync)n()};a.fn.cycle.transitions={fade:function(b,c,d){c.not(":eq("+d.currSlide+")").css("opacity",0);d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d);d.cssBefore.opacity=0});d.animIn={opacity:1};d.animOut={opacity:0};d.cssBefore={top:0,left:0}}};a.fn.cycle.ver=function(){return b};a.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:false,animIn:null,animOut:null,aspect:false,autostop:0,autostopCount:0,backwards:false,before:null,center:null,cleartype:!a.support.opacity,cleartypeNoBg:false,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:true,metaAttr:"cycle",next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:true,requeueTimeout:250,rev:0,shuffle:null,skipInitializationCallbacks:false,slideExpr:null,slideResize:1,speed:1e3,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4e3,timeoutFn:null,updateActivePagerLink:null,width:null}})(jQuery);(function(a){a.fn.cycle.transitions.none=function(b,c,d){d.fxFn=function(b,c,d,e){a(c).show();a(b).hide();e()}};a.fn.cycle.transitions.fadeout=function(b,c,d){c.not(":eq("+d.currSlide+")").css({display:"block",opacity:1});d.before.push(function(b,c,d,e,f,g){a(b).css("zIndex",d.slideCount+(!g===true?1:0));a(c).css("zIndex",d.slideCount+(!g===true?0:1))});d.animIn.opacity=1;d.animOut.opacity=0;d.cssBefore.opacity=1;d.cssBefore.display="block";d.cssAfter.zIndex=0};a.fn.cycle.transitions.scrollUp=function(b,c,d){b.css("overflow","hidden");d.before.push(a.fn.cycle.commonReset);var e=b.height();d.cssBefore.top=e;d.cssBefore.left=0;d.cssFirst.top=0;d.animIn.top=0;d.animOut.top=-e};a.fn.cycle.transitions.scrollDown=function(b,c,d){b.css("overflow","hidden");d.before.push(a.fn.cycle.commonReset);var e=b.height();d.cssFirst.top=0;d.cssBefore.top=-e;d.cssBefore.left=0;d.animIn.top=0;d.animOut.top=e};a.fn.cycle.transitions.scrollLeft=function(b,c,d){b.css("overflow","hidden");d.before.push(a.fn.cycle.commonReset);var e=b.width();d.cssFirst.left=0;d.cssBefore.left=e;d.cssBefore.top=0;d.animIn.left=0;d.animOut.left=0-e};a.fn.cycle.transitions.scrollRight=function(b,c,d){b.css("overflow","hidden");d.before.push(a.fn.cycle.commonReset);var e=b.width();d.cssFirst.left=0;d.cssBefore.left=-e;d.cssBefore.top=0;d.animIn.left=0;d.animOut.left=e};a.fn.cycle.transitions.scrollHorz=function(b,c,d){b.css("overflow","hidden").width();d.before.push(function(b,c,d,e){if(d.rev)e=!e;a.fn.cycle.commonReset(b,c,d);d.cssBefore.left=e?c.cycleW-1:1-c.cycleW;d.animOut.left=e?-b.cycleW:b.cycleW});d.cssFirst.left=0;d.cssBefore.top=0;d.animIn.left=0;d.animOut.top=0};a.fn.cycle.transitions.scrollVert=function(b,c,d){b.css("overflow","hidden");d.before.push(function(b,c,d,e){if(d.rev)e=!e;a.fn.cycle.commonReset(b,c,d);d.cssBefore.top=e?1-c.cycleH:c.cycleH-1;d.animOut.top=e?b.cycleH:-b.cycleH});d.cssFirst.top=0;d.cssBefore.left=0;d.animIn.top=0;d.animOut.left=0};a.fn.cycle.transitions.slideX=function(b,c,d){d.before.push(function(b,c,d){a(d.elements).not(b).hide();a.fn.cycle.commonReset(b,c,d,false,true);d.animIn.width=c.cycleW});d.cssBefore.left=0;d.cssBefore.top=0;d.cssBefore.width=0;d.animIn.width="show";d.animOut.width=0};a.fn.cycle.transitions.slideY=function(b,c,d){d.before.push(function(b,c,d){a(d.elements).not(b).hide();a.fn.cycle.commonReset(b,c,d,true,false);d.animIn.height=c.cycleH});d.cssBefore.left=0;d.cssBefore.top=0;d.cssBefore.height=0;d.animIn.height="show";d.animOut.height=0};a.fn.cycle.transitions.shuffle=function(b,c,d){var e,f=b.css("overflow","visible").width();c.css({left:0,top:0});d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,true,true)});if(!d.speedAdjusted){d.speed=d.speed/2;d.speedAdjusted=true}d.random=0;d.shuffle=d.shuffle||{left:-f,top:15};d.els=[];for(e=0;e<c.length;e++)d.els.push(c[e]);for(e=0;e<d.currSlide;e++)d.els.push(d.els.shift());d.fxFn=function(b,c,d,e,f){if(d.rev)f=!f;var g=f?a(b):a(c);a(c).css(d.cssBefore);var h=d.slideCount;g.animate(d.shuffle,d.speedIn,d.easeIn,function(){var c=a.fn.cycle.hopsFromLast(d,f);for(var i=0;i<c;i++)f?d.els.push(d.els.shift()):d.els.unshift(d.els.pop());if(f){for(var j=0,k=d.els.length;j<k;j++)a(d.els[j]).css("z-index",k-j+h)}else{var l=a(b).css("z-index");g.css("z-index",parseInt(l,10)+1+h)}g.animate({left:0,top:0},d.speedOut,d.easeOut,function(){a(f?this:b).hide();if(e)e()})})};a.extend(d.cssBefore,{display:"block",opacity:1,top:0,left:0})};a.fn.cycle.transitions.turnUp=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,false);d.cssBefore.top=c.cycleH;d.animIn.height=c.cycleH;d.animOut.width=c.cycleW});d.cssFirst.top=0;d.cssBefore.left=0;d.cssBefore.height=0;d.animIn.top=0;d.animOut.height=0};a.fn.cycle.transitions.turnDown=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,false);d.animIn.height=c.cycleH;d.animOut.top=b.cycleH});d.cssFirst.top=0;d.cssBefore.left=0;d.cssBefore.top=0;d.cssBefore.height=0;d.animOut.height=0};a.fn.cycle.transitions.turnLeft=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,false,true);d.cssBefore.left=c.cycleW;d.animIn.width=c.cycleW});d.cssBefore.top=0;d.cssBefore.width=0;d.animIn.left=0;d.animOut.width=0};a.fn.cycle.transitions.turnRight=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,false,true);d.animIn.width=c.cycleW;d.animOut.left=b.cycleW});a.extend(d.cssBefore,{top:0,left:0,width:0});d.animIn.left=0;d.animOut.width=0};a.fn.cycle.transitions.zoom=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,false,false,true);d.cssBefore.top=c.cycleH/2;d.cssBefore.left=c.cycleW/2;a.extend(d.animIn,{top:0,left:0,width:c.cycleW,height:c.cycleH});a.extend(d.animOut,{width:0,height:0,top:b.cycleH/2,left:b.cycleW/2})});d.cssFirst.top=0;d.cssFirst.left=0;d.cssBefore.width=0;d.cssBefore.height=0};a.fn.cycle.transitions.fadeZoom=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,false,false);d.cssBefore.left=c.cycleW/2;d.cssBefore.top=c.cycleH/2;a.extend(d.animIn,{top:0,left:0,width:c.cycleW,height:c.cycleH})});d.cssBefore.width=0;d.cssBefore.height=0;d.animOut.opacity=0};a.fn.cycle.transitions.blindX=function(b,c,d){var e=b.css("overflow","hidden").width();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d);d.animIn.width=c.cycleW;d.animOut.left=b.cycleW});d.cssBefore.left=e;d.cssBefore.top=0;d.animIn.left=0;d.animOut.left=e};a.fn.cycle.transitions.blindY=function(b,c,d){var e=b.css("overflow","hidden").height();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d);d.animIn.height=c.cycleH;d.animOut.top=b.cycleH});d.cssBefore.top=e;d.cssBefore.left=0;d.animIn.top=0;d.animOut.top=e};a.fn.cycle.transitions.blindZ=function(b,c,d){var e=b.css("overflow","hidden").height();var f=b.width();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d);d.animIn.height=c.cycleH;d.animOut.top=b.cycleH});d.cssBefore.top=e;d.cssBefore.left=f;d.animIn.top=0;d.animIn.left=0;d.animOut.top=e;d.animOut.left=f};a.fn.cycle.transitions.growX=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,false,true);d.cssBefore.left=this.cycleW/2;d.animIn.left=0;d.animIn.width=this.cycleW;d.animOut.left=0});d.cssBefore.top=0;d.cssBefore.width=0};a.fn.cycle.transitions.growY=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,false);d.cssBefore.top=this.cycleH/2;d.animIn.top=0;d.animIn.height=this.cycleH;d.animOut.top=0});d.cssBefore.height=0;d.cssBefore.left=0};a.fn.cycle.transitions.curtainX=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,false,true,true);d.cssBefore.left=c.cycleW/2;d.animIn.left=0;d.animIn.width=this.cycleW;d.animOut.left=b.cycleW/2;d.animOut.width=0});d.cssBefore.top=0;d.cssBefore.width=0};a.fn.cycle.transitions.curtainY=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,false,true);d.cssBefore.top=c.cycleH/2;d.animIn.top=0;d.animIn.height=c.cycleH;d.animOut.top=b.cycleH/2;d.animOut.height=0});d.cssBefore.height=0;d.cssBefore.left=0};a.fn.cycle.transitions.cover=function(b,c,d){var e=d.direction||"left";var f=b.css("overflow","hidden").width();var g=b.height();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d);if(e=="right")d.cssBefore.left=-f;else if(e=="up")d.cssBefore.top=g;else if(e=="down")d.cssBefore.top=-g;else d.cssBefore.left=f});d.animIn.left=0;d.animIn.top=0;d.cssBefore.top=0;d.cssBefore.left=0};a.fn.cycle.transitions.uncover=function(b,c,d){var e=d.direction||"left";var f=b.css("overflow","hidden").width();var g=b.height();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,true,true);if(e=="right")d.animOut.left=f;else if(e=="up")d.animOut.top=-g;else if(e=="down")d.animOut.top=g;else d.animOut.left=-f});d.animIn.left=0;d.animIn.top=0;d.cssBefore.top=0;d.cssBefore.left=0};a.fn.cycle.transitions.toss=function(b,c,d){var e=b.css("overflow","visible").width();var f=b.height();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,true,true);if(!d.animOut.left&&!d.animOut.top)a.extend(d.animOut,{left:e*2,top:-f/2,opacity:0});else d.animOut.opacity=0});d.cssBefore.left=0;d.cssBefore.top=0;d.animIn.left=0};a.fn.cycle.transitions.wipe=function(b,c,d){var e=b.css("overflow","hidden").width();var f=b.height();d.cssBefore=d.cssBefore||{};var g;if(d.clip){if(/l2r/.test(d.clip))g="rect(0px 0px "+f+"px 0px)";else if(/r2l/.test(d.clip))g="rect(0px "+e+"px "+f+"px "+e+"px)";else if(/t2b/.test(d.clip))g="rect(0px "+e+"px 0px 0px)";else if(/b2t/.test(d.clip))g="rect("+f+"px "+e+"px "+f+"px 0px)";else if(/zoom/.test(d.clip)){var h=parseInt(f/2,10);var i=parseInt(e/2,10);g="rect("+h+"px "+i+"px "+h+"px "+i+"px)"}}d.cssBefore.clip=d.cssBefore.clip||g||"rect(0px 0px 0px 0px)";var j=d.cssBefore.clip.match(/(\d+)/g);var k=parseInt(j[0],10),l=parseInt(j[1],10),m=parseInt(j[2],10),n=parseInt(j[3],10);d.before.push(function(b,c,d){if(b==c)return;var g=a(b),h=a(c);a.fn.cycle.commonReset(b,c,d,true,true,false);d.cssAfter.display="block";var i=1,j=parseInt(d.speedIn/13,10)-1;(function o(){var a=k?k-parseInt(i*(k/j),10):0;var b=n?n-parseInt(i*(n/j),10):0;var c=m<f?m+parseInt(i*((f-m)/j||1),10):f;var d=l<e?l+parseInt(i*((e-l)/j||1),10):e;h.css({clip:"rect("+a+"px "+d+"px "+c+"px "+b+"px)"});i++<=j?setTimeout(o,13):g.css("display","none")})()});a.extend(d.cssBefore,{display:"block",opacity:1,top:0,left:0});d.animIn={left:0};d.animOut={left:0}}})(jQuery)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lang/nggallery-de_DE.mo
CHANGED
Binary file
|
lang/nggallery-de_DE.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: NextGEN Gallery\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2011-
|
6 |
-
"PO-Revision-Date: 2011-
|
7 |
"Last-Translator: Alex Rabe\n"
|
8 |
"Language-Team: Alex Rabe\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -18,65 +18,68 @@ msgstr ""
|
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
"X-Poedit-SearchPath-1: ..\n"
|
20 |
|
21 |
-
#: ../nggallery.php:
|
22 |
msgid "<strong>Translation by : </strong><a target=\"_blank\" href=\"http://alexrabe.de/wordpress-plugins/nextgen-gallery/languages/\">See here</a>"
|
23 |
msgstr "<strong>Übersetzt von : </strong><a target=\"_blank\" href=\"http://alexrabe.de/wordpress-plugins/wordtube/translation-of-plugins/\">Alex Rabe</a>"
|
24 |
|
25 |
-
#: ../nggallery.php:
|
26 |
-
msgid "<strong>This translation is not yet updated for Version 1.
|
27 |
msgstr "Sollten jemand Rechtschreibfehler, Deppenapostrophe oder andere deutsche Ungereimtheiten finden, freue ich mich jederzeit über einen kurzen Hinweis</p>"
|
28 |
|
29 |
-
#: ../nggallery.php:
|
30 |
msgid "Sorry, NextGEN Gallery works only with a Memory Limit of 16 MB or higher"
|
31 |
msgstr "Tut mir leid, aber NextGEN-Galerie benötigt minimum 16MB Speicher (Memory Limit) oder mehr"
|
32 |
|
33 |
-
#: ../nggallery.php:
|
34 |
msgid "Please update the database of NextGEN Gallery."
|
35 |
msgstr "Bitte aktualisiere die Datenbank von NextGEN Gallery."
|
36 |
|
37 |
-
#: ../nggallery.php:
|
38 |
msgid "Click here to proceed."
|
39 |
msgstr "Hier klicken um fortzufahren."
|
40 |
|
41 |
-
#: ../nggallery.php:
|
42 |
msgid "Picture tag"
|
43 |
msgstr "Bilder-Stichwort"
|
44 |
|
45 |
-
#: ../nggallery.php:
|
46 |
msgid "Picture tag: %2$l."
|
47 |
msgstr "Bilder-Stichwort: %2$l."
|
48 |
|
49 |
-
#: ../nggallery.php:
|
50 |
msgid "Separate picture tags with commas."
|
51 |
msgstr "Trenne Stichwörter mittels Komma"
|
52 |
|
53 |
-
#: ../nggallery.php:
|
|
|
54 |
msgid "L O A D I N G"
|
55 |
msgstr "B I T T E W A R T E N"
|
56 |
|
57 |
-
#: ../nggallery.php:
|
|
|
58 |
msgid "Click to Close"
|
59 |
msgstr "Klicken zum Schliessen "
|
60 |
|
61 |
-
#: ../nggallery.php:
|
62 |
msgid "loading"
|
63 |
msgstr "lade..."
|
64 |
|
65 |
-
#: ../nggallery.php:
|
66 |
-
#: ../nggfunctions.php:
|
67 |
-
#: ../admin/admin.php:
|
|
|
68 |
msgid "Overview"
|
69 |
msgstr "Übersicht"
|
70 |
|
71 |
-
#: ../nggallery.php:
|
72 |
msgid "Get help"
|
73 |
msgstr "Hilfe"
|
74 |
|
75 |
-
#: ../nggallery.php:
|
76 |
msgid "Contribute"
|
77 |
msgstr "Mithelfen"
|
78 |
|
79 |
-
#: ../nggallery.php:
|
80 |
msgid "Donate"
|
81 |
msgstr "Spenden"
|
82 |
|
@@ -84,20 +87,20 @@ msgstr "Spenden"
|
|
84 |
msgid "The <a href=\"http://www.macromedia.com/go/getflashplayer\">Flash Player</a> and <a href=\"http://www.mozilla.com/firefox/\">a browser with Javascript support</a> are needed."
|
85 |
msgstr "Es wird der <a href=\"http://www.macromedia.com/go/getflashplayer\">Adobe Flash Player</a> benötigt und <a href=\"http://www.mozilla.com/firefox/\">im Browser muss Javascript</a> aktiviert sein."
|
86 |
|
87 |
-
#: ../nggfunctions.php:
|
88 |
-
#: ../nggfunctions.php:
|
89 |
msgid "[Gallery not found]"
|
90 |
msgstr "[Galerie nicht gefunden]"
|
91 |
|
92 |
-
#: ../nggfunctions.php:
|
93 |
msgid "[Album not found]"
|
94 |
msgstr "[Album nicht gefunden]"
|
95 |
|
96 |
-
#: ../nggfunctions.php:
|
97 |
msgid "[SinglePic not found]"
|
98 |
msgstr "[Bild nicht gefunden]"
|
99 |
|
100 |
-
#: ../nggfunctions.php:
|
101 |
msgid "Related images for"
|
102 |
msgstr "Verwandte Bilder von"
|
103 |
|
@@ -235,153 +238,177 @@ msgid "Upload failed!"
|
|
235 |
msgstr "Upload fehlgeschlagen!"
|
236 |
|
237 |
#: ../admin/addgallery.php:85
|
|
|
238 |
msgid "Upload failed! "
|
239 |
msgstr "Upload fehlgeschlagen!"
|
240 |
|
241 |
#: ../admin/addgallery.php:90
|
242 |
-
#: ../admin/functions.php:
|
243 |
-
#: ../admin/functions.php:
|
244 |
msgid "No gallery selected !"
|
245 |
msgstr "Keine Galerie ausgewählt !"
|
246 |
|
247 |
-
#: ../admin/addgallery.php:
|
|
|
248 |
msgid "Image Files"
|
249 |
msgstr "Bilder"
|
250 |
|
251 |
-
#: ../admin/addgallery.php:
|
252 |
-
#: ../admin/addgallery.php:
|
|
|
253 |
msgid "remove"
|
254 |
msgstr "Entfernen"
|
255 |
|
256 |
-
#: ../admin/addgallery.php:
|
257 |
-
#: ../admin/addgallery.php:
|
|
|
258 |
msgid "Browse..."
|
259 |
msgstr "Durchsuche..."
|
260 |
|
261 |
-
#: ../admin/addgallery.php:185
|
262 |
#: ../admin/addgallery.php:197
|
263 |
-
#: ../admin/addgallery.php:
|
|
|
|
|
|
|
264 |
msgid "Upload images"
|
265 |
msgstr "Bilder hochladen"
|
266 |
|
267 |
-
#: ../admin/addgallery.php:
|
268 |
-
#: ../admin/addgallery.php:
|
269 |
msgid "Upload Images"
|
270 |
msgstr "Bilder hochladen"
|
271 |
|
272 |
-
#: ../admin/addgallery.php:
|
273 |
-
#: ../admin/addgallery.php:
|
274 |
#: ../admin/manage-galleries.php:119
|
275 |
#: ../admin/manage-galleries.php:156
|
276 |
msgid "Add new gallery"
|
277 |
msgstr "Neue Galerie erstellen"
|
278 |
|
279 |
-
#: ../admin/addgallery.php:
|
280 |
-
#: ../admin/addgallery.php:
|
281 |
msgid "Upload a Zip-File"
|
282 |
msgstr "Zip-Datei hochladen"
|
283 |
|
284 |
-
#: ../admin/addgallery.php:
|
285 |
-
#: ../admin/addgallery.php:
|
286 |
msgid "Import image folder"
|
287 |
msgstr "Bilder-Verzeichnis importieren"
|
288 |
|
289 |
-
#: ../admin/addgallery.php:
|
290 |
#: ../admin/manage-galleries.php:279
|
291 |
msgid "New Gallery"
|
292 |
msgstr "Neue Galerie"
|
293 |
|
294 |
-
#: ../admin/addgallery.php:
|
295 |
#: ../admin/manage-galleries.php:281
|
296 |
msgid "Create a new , empty gallery below the folder"
|
297 |
msgstr "Erstelle eine neue, leere Galerie unter dem Verzeichnis"
|
298 |
|
299 |
-
#: ../admin/addgallery.php:
|
300 |
#: ../admin/manage-galleries.php:283
|
301 |
msgid "Allowed characters for file and folder names are"
|
302 |
msgstr "Erlaubte Zeichen für die Datei- und Verzeichnisnamen sind"
|
303 |
|
304 |
-
#: ../admin/addgallery.php:
|
305 |
msgid "Add gallery"
|
306 |
msgstr "Galerie hinzufügen"
|
307 |
|
308 |
-
#: ../admin/addgallery.php:
|
309 |
msgid "Select Zip-File"
|
310 |
msgstr "Wähle Zip-Datei"
|
311 |
|
312 |
-
#: ../admin/addgallery.php:
|
313 |
msgid "Upload a zip file with images"
|
314 |
msgstr "Lade eine Zip-Datei mit Bildern hoch"
|
315 |
|
316 |
-
#: ../admin/addgallery.php:
|
317 |
msgid "or enter a Zip-File URL"
|
318 |
msgstr "oder gib eine URL zur ZIP-Datei an"
|
319 |
|
320 |
-
#: ../admin/addgallery.php:
|
321 |
msgid "Import a zip file with images from a url"
|
322 |
msgstr "Lade eine Zip-Datei mit Bildern über ein URL hoch"
|
323 |
|
324 |
-
#: ../admin/addgallery.php:
|
325 |
-
#: ../admin/addgallery.php:
|
326 |
msgid "in to"
|
327 |
msgstr "in"
|
328 |
|
329 |
-
#: ../admin/addgallery.php:
|
330 |
msgid "a new gallery"
|
331 |
msgstr "eine neue Galerie"
|
332 |
|
333 |
-
#: ../admin/addgallery.php:
|
334 |
msgid "Note : The upload limit on your server is "
|
335 |
msgstr "Hinweis : Das Upload-Limit auf dem Server beträgt "
|
336 |
|
337 |
-
#: ../admin/addgallery.php:
|
338 |
msgid "Start upload"
|
339 |
msgstr "Upload starten"
|
340 |
|
341 |
-
#: ../admin/addgallery.php:
|
342 |
msgid "Import from Server path:"
|
343 |
msgstr "Importieren aus Server-Pfad:"
|
344 |
|
345 |
-
#: ../admin/addgallery.php:
|
346 |
msgid "Note : Change the default path in the gallery settings"
|
347 |
msgstr "Hinweis : Der Default-Pfad kann in den Einstellungen angepasst werden"
|
348 |
|
349 |
-
#: ../admin/addgallery.php:
|
350 |
msgid " Please note : For safe-mode = ON you need to add the subfolder thumbs manually"
|
351 |
msgstr "Achtung : Da der Safe-Mode (PHP.INI) eingeschaltet ist, mußt Du das Unterverzeichnis für die Vorschaubilder (\"thumbs\") manuell (per FTP) anlegen"
|
352 |
|
353 |
-
#: ../admin/addgallery.php:
|
354 |
msgid "Import folder"
|
355 |
msgstr "Verzeichnis importieren"
|
356 |
|
357 |
-
#: ../admin/addgallery.php:
|
358 |
msgid "Upload image"
|
359 |
msgstr "Bild hochladen"
|
360 |
|
361 |
-
#: ../admin/addgallery.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
362 |
msgid "Choose gallery"
|
363 |
msgstr "Wähle Galerie"
|
364 |
|
365 |
-
#: ../admin/addgallery.php:
|
366 |
msgid "The batch upload requires Adobe Flash 10, disable it if you have problems"
|
367 |
msgstr "Das Batch-Upload benötigt Adbode Flash 10, wenn es Probleme gibt deaktiviere es besser."
|
368 |
|
369 |
-
#: ../admin/addgallery.php:
|
370 |
msgid "Disable flash upload"
|
371 |
msgstr "Deaktiviere Batch-Upload"
|
372 |
|
373 |
-
#: ../admin/addgallery.php:
|
374 |
msgid "Upload multiple files at once by ctrl/shift-selecting in dialog"
|
375 |
msgstr "Wähle im Dialog mit Ctrl/Shift mehrere Bilder gleichzeitig aus."
|
376 |
|
377 |
-
#: ../admin/addgallery.php:
|
378 |
msgid "Enable flash based upload"
|
379 |
msgstr "Aktiviere Flash Batch Upload"
|
380 |
|
381 |
-
#: ../admin/admin.php:
|
382 |
-
#: ../admin/admin.php:
|
383 |
-
#: ../admin/admin.php:
|
384 |
-
#: ../admin/admin.php:
|
|
|
385 |
#: ../admin/functions.php:178
|
386 |
#: ../admin/manage-galleries.php:127
|
387 |
#: ../admin/manage-galleries.php:407
|
@@ -391,174 +418,258 @@ msgid_plural "Galleries"
|
|
391 |
msgstr[0] "Galerie"
|
392 |
msgstr[1] "Galerien"
|
393 |
|
394 |
-
#: ../admin/admin.php:
|
|
|
395 |
msgid "Add Gallery / Images"
|
396 |
msgstr "Galerie / Bilder hinzufügen"
|
397 |
|
398 |
-
#: ../admin/admin.php:
|
|
|
399 |
msgid "Manage Gallery"
|
400 |
msgstr "Galerie verwalten"
|
401 |
|
402 |
-
#: ../admin/admin.php:
|
|
|
403 |
msgid "Album"
|
404 |
msgid_plural "Albums"
|
405 |
msgstr[0] "Album"
|
406 |
msgstr[1] "Alben"
|
407 |
|
408 |
-
#: ../admin/admin.php:
|
|
|
409 |
msgid "Tags"
|
410 |
msgstr "Stichwörter"
|
411 |
|
412 |
-
#: ../admin/admin.php:
|
|
|
413 |
msgid "Options"
|
414 |
msgstr "Optionen"
|
415 |
|
416 |
-
#: ../admin/admin.php:
|
|
|
417 |
msgid "Style"
|
418 |
msgstr "Style"
|
419 |
|
420 |
-
#: ../admin/admin.php:
|
421 |
msgid "Roles"
|
422 |
msgstr "Zugriff"
|
423 |
|
424 |
-
#: ../admin/admin.php:
|
425 |
msgid "About this Gallery"
|
426 |
msgstr "Über diese Galerie"
|
427 |
|
428 |
-
#: ../admin/admin.php:
|
|
|
429 |
msgid "About"
|
430 |
msgstr "Über"
|
431 |
|
432 |
-
#: ../admin/admin.php:
|
433 |
-
|
434 |
-
msgstr "NextGEN Gallery"
|
435 |
-
|
436 |
-
#: ../admin/admin.php:51
|
437 |
-
#: ../admin/admin.php:62
|
438 |
msgid "Reset / Uninstall"
|
439 |
msgstr "Rücksetzen"
|
440 |
|
441 |
-
#: ../admin/admin.php:
|
442 |
msgid "Network settings"
|
443 |
msgstr "Netzwerk Einstellungen"
|
444 |
|
445 |
-
#: ../admin/admin.php:
|
446 |
#, php-format
|
447 |
msgid "Thanks for using this plugin, I hope you are satisfied ! If you would like to support the further development, please consider a <strong><a href=\"%s\">donation</a></strong>! If you still need some help, please post your questions <a href=\"http://wordpress.org/tags/nextgen-gallery?forum_id=10\">here</a> ."
|
448 |
msgstr "Vielen Dank, dass Du dieses Plugin nutzt. Ich hoffe, Du bist soweit zufrieden! Wenn Du die Weiterentwicklung unterstützen möchtest, würde ich mich über eine kleine <strong><a href=\"%s\">Spende</a></strong> freuen! Wenn Du Fragen oder Problem hast, schreib sie doch <a href=\"http://wordpress.org/tags/nextgen-gallery?forum_id=10\">hier</a> ins Forum."
|
449 |
|
450 |
-
#: ../admin/admin.php:
|
451 |
msgid "OK, hide this message now !"
|
452 |
msgstr "OK, danke für die Info !"
|
453 |
|
454 |
-
#: ../admin/admin.php:
|
455 |
msgid "You do not have the correct permission"
|
456 |
msgstr "Du hast keine Zugriffsrechte"
|
457 |
|
458 |
-
#: ../admin/admin.php:
|
459 |
msgid "Unexpected Error"
|
460 |
msgstr "Unerwarteter Fehler"
|
461 |
|
462 |
-
#: ../admin/admin.php:
|
463 |
msgid "A failure occurred"
|
464 |
msgstr "Ein Fehler ist aufgetreten"
|
465 |
|
466 |
-
#: ../admin/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
467 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Introduction</a>"
|
468 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
|
469 |
|
470 |
-
#: ../admin/admin.php:
|
471 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Setup</a>"
|
472 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Setup</a>"
|
473 |
|
474 |
-
#: ../admin/admin.php:
|
475 |
msgid "<a href=\"http://alexrabe.de/wordpress-plugins/nextgen-gallery/languages/\" target=\"_blank\">Translation by alex rabe</a>"
|
476 |
msgstr "<a href=\"http://alexrabe.de/wordpress-plugins/nextgen-gallery/languages/\" target=\"_blank\">Unterstütze bei der Übersetzung</a>"
|
477 |
|
478 |
-
#: ../admin/admin.php:
|
479 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Roles / Capabilities</a>"
|
480 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
|
481 |
|
482 |
-
#: ../admin/admin.php:
|
483 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Styles</a>"
|
484 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
|
485 |
|
486 |
-
#: ../admin/admin.php:
|
487 |
msgid "Templates"
|
488 |
msgstr "Vorlagen"
|
489 |
|
490 |
-
#: ../admin/admin.php:
|
491 |
-
#: ../admin/admin.php:
|
492 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery management</a>"
|
493 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
|
494 |
|
495 |
-
#: ../admin/admin.php:
|
496 |
msgid "Gallery example"
|
497 |
msgstr "Galerie Beispiel"
|
498 |
|
499 |
-
#: ../admin/admin.php:
|
500 |
-
#: ../admin/admin.php:
|
501 |
msgid "Gallery tags"
|
502 |
msgstr "Galerie Stichwörter"
|
503 |
|
504 |
-
#: ../admin/admin.php:
|
505 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Album management</a>"
|
506 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
|
507 |
|
508 |
-
#: ../admin/admin.php:
|
509 |
msgid "Album example"
|
510 |
msgstr "Album Beispiel"
|
511 |
|
512 |
-
#: ../admin/admin.php:
|
513 |
-
#: ../admin/admin.php:
|
514 |
msgid "Album tags"
|
515 |
msgstr "Album Stichwörter"
|
516 |
|
517 |
-
#: ../admin/admin.php:
|
518 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery tags</a>"
|
519 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
|
520 |
|
521 |
-
#: ../admin/admin.php:
|
522 |
msgid "Related images"
|
523 |
msgstr "Verwandte Bilder"
|
524 |
|
525 |
-
#: ../admin/admin.php:
|
526 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-image-management/\" target=\"_blank\">Image management</a>"
|
527 |
msgstr "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-image-management/\" target=\"_blank\">Bilderverwaltung (englisch)</a>"
|
528 |
|
529 |
-
#: ../admin/admin.php:
|
530 |
msgid "Custom fields"
|
531 |
msgstr "Spezialfelder"
|
532 |
|
533 |
-
#: ../admin/admin.php:
|
534 |
msgid "Get help with NextGEN Gallery"
|
535 |
msgstr "Weitere Hilfe zu NextGEN Gallery"
|
536 |
|
537 |
-
#: ../admin/admin.php:
|
538 |
msgid "More Help & Info"
|
539 |
msgstr "Weitere Hilfe & Informationen"
|
540 |
|
541 |
-
#: ../admin/admin.php:
|
542 |
msgid "<a href=\"http://wordpress.org/tags/nextgen-gallery?forum_id=10\" target=\"_blank\">Support Forums</a>"
|
543 |
msgstr "<a href=\"http://wordpress.org/tags/nextgen-gallery?forum_id=10\" target=\"_blank\">Support Forum (englisch)</a>"
|
544 |
|
545 |
-
#: ../admin/admin.php:
|
546 |
msgid "FAQ"
|
547 |
msgstr "FAQ (englisch)"
|
548 |
|
549 |
-
#: ../admin/admin.php:
|
550 |
msgid "Feature request"
|
551 |
msgstr "Wünsch Dir was"
|
552 |
|
553 |
-
#: ../admin/admin.php:
|
554 |
msgid "Get your language pack"
|
555 |
msgstr "Lade Deine Sprachdatei"
|
556 |
|
557 |
-
#: ../admin/admin.php:
|
558 |
msgid "Contribute development"
|
559 |
msgstr "Entwicklung helfen"
|
560 |
|
561 |
-
#: ../admin/admin.php:
|
562 |
msgid "Download latest version"
|
563 |
msgstr "Aktuelle Version downloaden"
|
564 |
|
@@ -599,7 +710,7 @@ msgid "No album selected"
|
|
599 |
msgstr "Kein Album ausgewählt"
|
600 |
|
601 |
#: ../admin/album.php:297
|
602 |
-
#: ../admin/edit-thumbnail.php:
|
603 |
msgid "Update"
|
604 |
msgstr "Aktualisiere"
|
605 |
|
@@ -609,7 +720,7 @@ msgstr "Album ändern"
|
|
609 |
|
610 |
#: ../admin/album.php:302
|
611 |
#: ../admin/manage-galleries.php:146
|
612 |
-
#: ../admin/manage-images.php:
|
613 |
msgid "Delete"
|
614 |
msgstr "Lösche"
|
615 |
|
@@ -692,10 +803,10 @@ msgstr "Nicht verlinkt"
|
|
692 |
#: ../admin/manage-galleries.php:288
|
693 |
#: ../admin/manage-galleries.php:317
|
694 |
#: ../admin/manage-galleries.php:347
|
695 |
-
#: ../admin/manage-images.php:
|
696 |
-
#: ../admin/manage-images.php:
|
697 |
-
#: ../admin/manage-images.php:
|
698 |
-
#: ../admin/manage-images.php:
|
699 |
msgid "OK"
|
700 |
msgstr "OK"
|
701 |
|
@@ -703,39 +814,39 @@ msgstr "OK"
|
|
703 |
#: ../admin/manage-galleries.php:290
|
704 |
#: ../admin/manage-galleries.php:319
|
705 |
#: ../admin/manage-galleries.php:349
|
706 |
-
#: ../admin/manage-images.php:
|
707 |
-
#: ../admin/manage-images.php:
|
708 |
-
#: ../admin/manage-images.php:
|
709 |
-
#: ../admin/manage-images.php:
|
710 |
msgid "Cancel"
|
711 |
msgstr "Abbrechen"
|
712 |
|
713 |
-
#: ../admin/album.php:
|
714 |
msgid "Name"
|
715 |
msgstr "Name"
|
716 |
|
717 |
-
#: ../admin/album.php:
|
718 |
#: ../admin/manage-images.php:255
|
719 |
msgid "Title"
|
720 |
msgstr "Titel"
|
721 |
|
722 |
-
#: ../admin/album.php:
|
723 |
msgid "Page"
|
724 |
msgstr "Seite"
|
725 |
|
726 |
-
#: ../admin/edit-thumbnail.php:
|
727 |
msgid "Select with the mouse the area for the new thumbnail"
|
728 |
msgstr "Wähle mit der Maus den Bereich für das neue Thumbnail"
|
729 |
|
730 |
-
#: ../admin/edit-thumbnail.php:
|
731 |
msgid "Thumbnail updated"
|
732 |
msgstr "Thumbnail geändert"
|
733 |
|
734 |
-
#: ../admin/edit-thumbnail.php:
|
735 |
msgid "Error updating thumbnail"
|
736 |
msgstr "Konnte Vorschaubild nicht erzeugen"
|
737 |
|
738 |
-
#: ../admin/edit-thumbnail.php:
|
739 |
msgid "Select the area for the thumbnail from the picture on the left."
|
740 |
msgstr "Wähle den Ausschnitt für das Vorschaubild innerhalb des Bildes"
|
741 |
|
@@ -767,7 +878,7 @@ msgstr "ist schreibgeschützt !"
|
|
767 |
|
768 |
#: ../admin/functions.php:76
|
769 |
#: ../admin/functions.php:85
|
770 |
-
#: ../admin/functions.php:
|
771 |
msgid "Unable to create directory "
|
772 |
msgstr "Kann Verzeichnis nicht erstellen "
|
773 |
|
@@ -793,6 +904,7 @@ msgid "Gallery ID %1$s successfully created. You can show this gallery in your p
|
|
793 |
msgstr "Galerie ID %1$s erstellt..<br/>Du kannst diese Galerie jetzt mit dem Stichwort %2$s in einen Artikel einbinden.<br/>"
|
794 |
|
795 |
#: ../admin/functions.php:119
|
|
|
796 |
msgid "Edit gallery"
|
797 |
msgstr "Galerie ändern"
|
798 |
|
@@ -813,11 +925,11 @@ msgid "successfully created!"
|
|
813 |
msgstr "erfolgreich erstellt!"
|
814 |
|
815 |
#: ../admin/functions.php:212
|
816 |
-
#: ../admin/functions.php:
|
817 |
#: ../admin/manage-galleries.php:81
|
818 |
#: ../admin/manage-galleries.php:148
|
819 |
#: ../admin/manage-images.php:203
|
820 |
-
#: ../admin/manage-images.php:
|
821 |
#: ../admin/manage.php:223
|
822 |
#: ../admin/manage.php:299
|
823 |
msgid "Create new thumbnails"
|
@@ -827,184 +939,184 @@ msgstr "Neue Vorschaubilder erstellen"
|
|
827 |
msgid " picture(s) successfully added"
|
828 |
msgstr " Bild(er) erfolgreich hinzugefügt"
|
829 |
|
830 |
-
#: ../admin/functions.php:
|
831 |
-
#: ../admin/functions.php:
|
832 |
-
#: ../admin/functions.php:
|
833 |
-
#: ../admin/functions.php:
|
834 |
-
#: ../admin/functions.php:
|
835 |
msgid "Object didn't contain correct data"
|
836 |
msgstr "Das Objekt enhält nicht die notwendigen Daten"
|
837 |
|
838 |
-
#: ../admin/functions.php:
|
839 |
msgid " is not writeable "
|
840 |
msgstr "ist schreibgeschützt !"
|
841 |
|
842 |
-
#: ../admin/functions.php:
|
843 |
-
#: ../admin/functions.php:
|
844 |
-
#: ../admin/functions.php:
|
845 |
-
#: ../admin/functions.php:
|
846 |
msgid " is not writeable"
|
847 |
msgstr "ist schreibgeschützt !"
|
848 |
|
849 |
-
#: ../admin/functions.php:
|
850 |
msgid "File do not exists"
|
851 |
msgstr "Datei existiert nicht"
|
852 |
|
853 |
-
#: ../admin/functions.php:
|
854 |
msgid "Couldn't restore original image"
|
855 |
msgstr "Konnte Originalbild nicht wiederherstellen"
|
856 |
|
857 |
-
#: ../admin/functions.php:
|
858 |
msgid "(Error : Couldn't not update data base)"
|
859 |
msgstr "(Fehler : Konnte Datenbank nicht updaten)"
|
860 |
|
861 |
-
#: ../admin/functions.php:
|
862 |
msgid "(Error : Couldn't not update meta data)"
|
863 |
msgstr "(Fehler : Konnte Metadaten nicht speichern)"
|
864 |
|
865 |
-
#: ../admin/functions.php:
|
866 |
msgid "(Error : Couldn't not find image)"
|
867 |
msgstr "(Fehler : Konnte das Bild nicht finden)"
|
868 |
|
869 |
-
#: ../admin/functions.php:
|
870 |
msgid "No valid URL path "
|
871 |
msgstr "Kein gültiger URL-Pfad"
|
872 |
|
873 |
-
#: ../admin/functions.php:
|
874 |
msgid "Import via cURL failed."
|
875 |
msgstr "Import via cURL abgebrochen"
|
876 |
|
877 |
-
#: ../admin/functions.php:
|
878 |
msgid "Uploaded file was no or a faulty zip file ! The server recognized : "
|
879 |
msgstr "Die hochgeladene Datei war keine korrekte Zip-Datei. Servermeldung :"
|
880 |
|
881 |
-
#: ../admin/functions.php:
|
882 |
msgid "Could not get a valid foldername"
|
883 |
msgstr "Konnte keinen gültigen Verzeichnisnamen finden"
|
884 |
|
885 |
-
#: ../admin/functions.php:
|
886 |
#, php-format
|
887 |
msgid "Unable to create directory %s. Is its parent directory writable by the server?"
|
888 |
msgstr "Kann das Verzeichnis %s nicht erstellen. Ist das Hauptverzeichnis vielleicht schreibgeschützt ?"
|
889 |
|
890 |
-
#: ../admin/functions.php:
|
891 |
msgid "Zip-File successfully unpacked"
|
892 |
msgstr "Zip-Datei erfolgreich entpackt"
|
893 |
|
894 |
-
#: ../admin/functions.php:
|
895 |
-
#: ../admin/functions.php:
|
896 |
msgid "Failure in database, no gallery path set !"
|
897 |
msgstr "Datenbankfehler! Kein Galerie-Pfad gesetzt !"
|
898 |
|
899 |
-
#: ../admin/functions.php:
|
900 |
-
#: ../admin/functions.php:
|
901 |
msgid "is no valid image file!"
|
902 |
msgstr "ist keine zulässige Bilddatei !"
|
903 |
|
904 |
-
#: ../admin/functions.php:
|
905 |
-
#: ../admin/functions.php:
|
906 |
-
#: ../admin/functions.php:
|
907 |
#, php-format
|
908 |
msgid "Unable to write to directory %s. Is this directory writable by the server?"
|
909 |
msgstr "Kann das Verzeichnis %s nicht erstellen. Ist das Hauptverzeichnis vielleicht schreibgeschützt ?"
|
910 |
|
911 |
-
#: ../admin/functions.php:
|
912 |
-
#: ../admin/functions.php:
|
913 |
msgid "Error, the file could not be moved to : "
|
914 |
msgstr "Fehler: Diese Datei kann nicht verschoben werden zu :"
|
915 |
|
916 |
-
#: ../admin/functions.php:
|
917 |
-
#: ../admin/functions.php:
|
918 |
msgid "Error, the file permissions could not be set"
|
919 |
msgstr "Fehler: Die Berechtigungen für diese Datei können nicht gesetzt werden"
|
920 |
|
921 |
-
#: ../admin/functions.php:
|
922 |
msgid " Image(s) successfully added"
|
923 |
msgstr " Bild(er) erfolgreich hinzugefügt"
|
924 |
|
925 |
-
#: ../admin/functions.php:
|
926 |
msgid "Invalid upload. Error Code : "
|
927 |
msgstr "Ungültiger Upload. Fehler Code :"
|
928 |
|
929 |
-
#: ../admin/functions.php:
|
930 |
#, php-format
|
931 |
msgid "SAFE MODE Restriction in effect! You need to create the folder <strong>%s</strong> manually"
|
932 |
msgstr "SAFE MODE Einschränkungen ist aktiv. Du musst das Verzeichnis <strong>%s</strong> manuell anlegen."
|
933 |
|
934 |
-
#: ../admin/functions.php:
|
935 |
#, php-format
|
936 |
msgid "When safe_mode is on, PHP checks to see if the owner (%s) of the current script matches the owner (%s) of the file to be operated on by a file function or its directory"
|
937 |
msgstr "Wenn der Safe-Mode eingeschaltet ist, überprüft PHP, ob der Besitzer (%s) des Skript mit dem Besitzer (%s) der Datei/Verzeichnis übereinstimmt."
|
938 |
|
939 |
-
#: ../admin/functions.php:
|
940 |
-
#: ../admin/functions.php:
|
941 |
msgid "The destination gallery does not exist"
|
942 |
msgstr "Die ausgewählte Galerie existiert nicht"
|
943 |
|
944 |
-
#: ../admin/functions.php:
|
945 |
#, php-format
|
946 |
msgid "Failed to move image %1$s to %2$s"
|
947 |
msgstr "Konnte das Bild %1$s nicht nach %2$s verschieben"
|
948 |
|
949 |
-
#: ../admin/functions.php:
|
950 |
#, php-format
|
951 |
msgid "Moved %1$s picture(s) to gallery : %2$s ."
|
952 |
msgstr " %1$s Bild(er) in Galerie : %2$s verschoben."
|
953 |
|
954 |
-
#: ../admin/functions.php:
|
955 |
#, php-format
|
956 |
msgid "Failed to copy image %1$s to %2$s"
|
957 |
msgstr "Konnte das Bild %1$s nicht nach %2$s kopieren"
|
958 |
|
959 |
-
#: ../admin/functions.php:
|
960 |
#, php-format
|
961 |
msgid "Failed to copy database row for picture %s"
|
962 |
msgstr "Fehler bei der Datenbank-Operation für Bild %s"
|
963 |
|
964 |
-
#: ../admin/functions.php:
|
965 |
#, php-format
|
966 |
msgid "Image %1$s (%2$s) copied as image %3$s (%4$s) » The file already existed in the destination gallery."
|
967 |
msgstr "Bild %1$s (%2$s) als Bild %3$s (%4$s) kopiert » Die Datei existierte bereits."
|
968 |
|
969 |
-
#: ../admin/functions.php:
|
970 |
#, php-format
|
971 |
msgid "Image %1$s (%2$s) copied as image %3$s (%4$s)"
|
972 |
msgstr "Bild %1$s (%2$s) kopiert als Bild %3$s (%4$s)"
|
973 |
|
974 |
-
#: ../admin/functions.php:
|
975 |
#, php-format
|
976 |
msgid "Copied %1$s picture(s) to gallery: %2$s ."
|
977 |
msgstr "Kopiere %1$s Bild(er) in die Galerie : %2$s ."
|
978 |
|
979 |
-
#: ../admin/functions.php:
|
980 |
msgid "The uploaded file exceeds the upload_max_filesize directive in php.ini"
|
981 |
msgstr "Die Datei überschreitet die erlaubte Grösse (upload_max_filesize) in der php.ini"
|
982 |
|
983 |
-
#: ../admin/functions.php:
|
984 |
msgid "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form"
|
985 |
msgstr "Die Datei ist zu gross"
|
986 |
|
987 |
-
#: ../admin/functions.php:
|
988 |
msgid "The uploaded file was only partially uploaded"
|
989 |
msgstr "Die Datei wurde nur teilweise hochgeladen"
|
990 |
|
991 |
-
#: ../admin/functions.php:
|
992 |
msgid "No file was uploaded"
|
993 |
msgstr "Keinen Datei wurde geladen"
|
994 |
|
995 |
-
#: ../admin/functions.php:
|
996 |
msgid "Missing a temporary folder"
|
997 |
msgstr "Konnte temporäres Verzeichnis nicht finden"
|
998 |
|
999 |
-
#: ../admin/functions.php:
|
1000 |
msgid "Failed to write file to disk"
|
1001 |
msgstr "Konnte Datei nicht speichern"
|
1002 |
|
1003 |
-
#: ../admin/functions.php:
|
1004 |
msgid "File upload stopped by extension"
|
1005 |
msgstr "Upload dieser Dateierweiterung nicht erlaubt"
|
1006 |
|
1007 |
-
#: ../admin/functions.php:
|
1008 |
msgid "Unknown upload error"
|
1009 |
msgstr "Unbekannter Uploadfehler"
|
1010 |
|
@@ -1016,11 +1128,11 @@ msgstr "Tut mir leid, aber NextGEN Gallery benötigt zwingend die Rolle \"Admini
|
|
1016 |
msgid "NextGEN Gallery : Tables could not created, please check your database settings"
|
1017 |
msgstr "NextGEN Gallery : Tabellen konnten nicht erstellt werden, überprüfe Deine Datenbank"
|
1018 |
|
1019 |
-
#: ../admin/install.php:
|
1020 |
msgid "[Show as slideshow]"
|
1021 |
msgstr "[Zeige als Diashow]"
|
1022 |
|
1023 |
-
#: ../admin/install.php:
|
1024 |
msgid "[Show picture list]"
|
1025 |
msgstr "[Zeige Bilder-Liste]"
|
1026 |
|
@@ -1032,7 +1144,7 @@ msgstr "Keine Bilder ausgewählt"
|
|
1032 |
#: ../admin/manage-galleries.php:77
|
1033 |
#: ../admin/manage-galleries.php:149
|
1034 |
#: ../admin/manage-images.php:199
|
1035 |
-
#: ../admin/manage-images.php:
|
1036 |
#: ../admin/manage.php:207
|
1037 |
#: ../admin/manage.php:285
|
1038 |
msgid "Resize images"
|
@@ -1057,33 +1169,33 @@ msgid "Search Images"
|
|
1057 |
msgstr "Suche Bilder"
|
1058 |
|
1059 |
#: ../admin/manage-galleries.php:145
|
1060 |
-
#: ../admin/manage-images.php:
|
1061 |
msgid "Bulk actions"
|
1062 |
msgstr "Aktion wählen"
|
1063 |
|
1064 |
#: ../admin/manage-galleries.php:147
|
1065 |
-
#: ../admin/manage-images.php:
|
1066 |
#: ../admin/manage.php:140
|
1067 |
#: ../admin/manage.php:249
|
1068 |
msgid "Set watermark"
|
1069 |
msgstr "Wasserzeichen setzen"
|
1070 |
|
1071 |
#: ../admin/manage-galleries.php:150
|
1072 |
-
#: ../admin/manage-images.php:
|
1073 |
#: ../admin/manage.php:145
|
1074 |
#: ../admin/manage.php:269
|
1075 |
msgid "Import metadata"
|
1076 |
msgstr "Metadaten importieren"
|
1077 |
|
1078 |
#: ../admin/manage-galleries.php:151
|
1079 |
-
#: ../admin/manage-images.php:
|
1080 |
#: ../admin/manage.php:135
|
1081 |
#: ../admin/manage.php:246
|
1082 |
msgid "Recover from backup"
|
1083 |
msgstr "Original wiederherstellen"
|
1084 |
|
1085 |
#: ../admin/manage-galleries.php:153
|
1086 |
-
#: ../admin/manage-images.php:
|
1087 |
msgid "Apply"
|
1088 |
msgstr "Übernehmen"
|
1089 |
|
@@ -1092,53 +1204,53 @@ msgid "Edit"
|
|
1092 |
msgstr "Bearbeiten"
|
1093 |
|
1094 |
#: ../admin/manage-galleries.php:261
|
1095 |
-
#: ../admin/manage-images.php:
|
1096 |
msgid "No entries found"
|
1097 |
msgstr "Keine Einträge gefunden"
|
1098 |
|
1099 |
#: ../admin/manage-galleries.php:308
|
1100 |
-
#: ../admin/manage-images.php:
|
1101 |
msgid "Resize Images to"
|
1102 |
msgstr "Verkleiner Bilder auf"
|
1103 |
|
1104 |
#: ../admin/manage-galleries.php:312
|
1105 |
-
#: ../admin/manage-images.php:
|
1106 |
msgid "Width x height (in pixel). NextGEN Gallery will keep ratio size"
|
1107 |
msgstr "Breite x Höhe (in Pixel). Das Seitenverhältnis wird berücksichtigt."
|
1108 |
|
1109 |
#: ../admin/manage-galleries.php:336
|
1110 |
-
#: ../admin/manage-images.php:
|
1111 |
msgid "Width x height (in pixel)"
|
1112 |
msgstr "Breite x Höhe (in Pixel)"
|
1113 |
|
1114 |
#: ../admin/manage-galleries.php:338
|
1115 |
-
#: ../admin/manage-images.php:
|
1116 |
msgid "These values are maximum values "
|
1117 |
msgstr "Diese Angaben sind maximale Angaben."
|
1118 |
|
1119 |
#: ../admin/manage-galleries.php:341
|
1120 |
-
#: ../admin/manage-images.php:
|
1121 |
msgid "Set fix dimension"
|
1122 |
msgstr "Setze feste Größe"
|
1123 |
|
1124 |
#: ../admin/manage-galleries.php:343
|
1125 |
-
#: ../admin/manage-images.php:
|
1126 |
msgid "Ignore the aspect ratio, no portrait thumbnails"
|
1127 |
msgstr "Ignoriere Bildseitenverhältnis"
|
1128 |
|
1129 |
#: ../admin/manage-galleries.php:406
|
1130 |
-
#: ../admin/manage-images.php:
|
1131 |
msgid "ID"
|
1132 |
msgstr "ID"
|
1133 |
|
1134 |
#: ../admin/manage-galleries.php:408
|
1135 |
#: ../admin/manage-images.php:266
|
1136 |
-
#: ../admin/manage-images.php:
|
1137 |
msgid "Description"
|
1138 |
msgstr "Beschreibung"
|
1139 |
|
1140 |
#: ../admin/manage-galleries.php:409
|
1141 |
-
#: ../admin/manage-images.php:
|
1142 |
msgid "Author"
|
1143 |
msgstr "Autor"
|
1144 |
|
@@ -1173,7 +1285,7 @@ msgid "Add new tags"
|
|
1173 |
msgstr "Stichwörter hinzufügen"
|
1174 |
|
1175 |
#: ../admin/manage-images.php:191
|
1176 |
-
#: ../admin/manage-images.php:
|
1177 |
msgid "Delete tags"
|
1178 |
msgstr "Stichwörter löschen"
|
1179 |
|
@@ -1213,145 +1325,145 @@ msgstr "Vorschau-Bild"
|
|
1213 |
msgid "No Picture"
|
1214 |
msgstr "Kein Bild"
|
1215 |
|
1216 |
-
#: ../admin/manage-images.php:
|
1217 |
msgid "Path"
|
1218 |
msgstr "Pfad"
|
1219 |
|
1220 |
-
#: ../admin/manage-images.php:
|
1221 |
msgid "Create new page"
|
1222 |
msgstr "Neue Seite erstellen"
|
1223 |
|
1224 |
-
#: ../admin/manage-images.php:
|
1225 |
msgid "Main page (No parent)"
|
1226 |
msgstr "Hauptseite (keine Unterseite)"
|
1227 |
|
1228 |
-
#: ../admin/manage-images.php:
|
1229 |
msgid "Add page"
|
1230 |
msgstr "Seite hinzufügen"
|
1231 |
|
1232 |
-
#: ../admin/manage-images.php:
|
1233 |
msgid "Scan Folder for new images"
|
1234 |
msgstr "Überprüfe Verzeichnis nach neuen Bildern"
|
1235 |
|
1236 |
-
#: ../admin/manage-images.php:
|
1237 |
-
#: ../admin/manage-images.php:
|
1238 |
-
#: ../admin/manage-images.php:
|
1239 |
msgid "Save Changes"
|
1240 |
msgstr "Änderungen speichern"
|
1241 |
|
1242 |
-
#: ../admin/manage-images.php:
|
1243 |
msgid "Delete images"
|
1244 |
msgstr "Bilder löschen"
|
1245 |
|
1246 |
-
#: ../admin/manage-images.php:
|
1247 |
msgid "Rotate images clockwise"
|
1248 |
msgstr "Rechts drehen"
|
1249 |
|
1250 |
-
#: ../admin/manage-images.php:
|
1251 |
msgid "Rotate images counter-clockwise"
|
1252 |
msgstr "Links drehen"
|
1253 |
|
1254 |
-
#: ../admin/manage-images.php:
|
1255 |
msgid "Copy to..."
|
1256 |
msgstr "Kopiere nach..."
|
1257 |
|
1258 |
-
#: ../admin/manage-images.php:
|
1259 |
msgid "Move to..."
|
1260 |
msgstr "Verschiebe nach..."
|
1261 |
|
1262 |
-
#: ../admin/manage-images.php:
|
1263 |
msgid "Add tags"
|
1264 |
msgstr "Stichwörter hinzufügen"
|
1265 |
|
1266 |
-
#: ../admin/manage-images.php:
|
1267 |
msgid "Overwrite tags"
|
1268 |
msgstr "Stichwörter überschreiben"
|
1269 |
|
1270 |
-
#: ../admin/manage-images.php:
|
1271 |
msgid "Sort gallery"
|
1272 |
msgstr "Sortiere Bilder"
|
1273 |
|
1274 |
-
#: ../admin/manage-images.php:
|
1275 |
msgid "pixel"
|
1276 |
msgstr "pixel"
|
1277 |
|
1278 |
-
#: ../admin/manage-images.php:
|
1279 |
#, php-format
|
1280 |
msgid "View \"%s\""
|
1281 |
msgstr "Anzeigen \"%s\""
|
1282 |
|
1283 |
-
#: ../admin/manage-images.php:
|
1284 |
msgid "View"
|
1285 |
msgstr "Ansehen"
|
1286 |
|
1287 |
-
#: ../admin/manage-images.php:
|
1288 |
msgid "Show Meta data"
|
1289 |
msgstr "Zeige Metadaten"
|
1290 |
|
1291 |
-
#: ../admin/manage-images.php:
|
1292 |
msgid "Meta"
|
1293 |
msgstr "Meta"
|
1294 |
|
1295 |
-
#: ../admin/manage-images.php:
|
1296 |
msgid "Customize thumbnail"
|
1297 |
msgstr "Thumbnails anpassen"
|
1298 |
|
1299 |
-
#: ../admin/manage-images.php:
|
1300 |
msgid "Edit thumb"
|
1301 |
msgstr "Thumbnail ändern"
|
1302 |
|
1303 |
-
#: ../admin/manage-images.php:
|
1304 |
msgid "Rotate"
|
1305 |
msgstr "Drehen"
|
1306 |
|
1307 |
-
#: ../admin/manage-images.php:
|
1308 |
msgid "Publish this image"
|
1309 |
msgstr "Bild veröffentlichen"
|
1310 |
|
1311 |
-
#: ../admin/manage-images.php:
|
1312 |
msgid "Publish"
|
1313 |
msgstr "Veröffentlichen"
|
1314 |
|
1315 |
-
#: ../admin/manage-images.php:
|
1316 |
msgid "Recover"
|
1317 |
msgstr "Rücksetzen"
|
1318 |
|
1319 |
-
#: ../admin/manage-images.php:
|
1320 |
#, php-format
|
1321 |
msgid "Recover \"%s\" ?"
|
1322 |
msgstr " \"%s\" wiederherstellen ?"
|
1323 |
|
1324 |
-
#: ../admin/manage-images.php:
|
1325 |
#, php-format
|
1326 |
msgid "Delete \"%s\" ?"
|
1327 |
msgstr "Lösche \"%s\" ?"
|
1328 |
|
1329 |
-
#: ../admin/manage-images.php:
|
1330 |
msgid "Enter the tags"
|
1331 |
msgstr "Stichwörter angeben"
|
1332 |
|
1333 |
-
#: ../admin/manage-images.php:
|
1334 |
msgid "Select the destination gallery:"
|
1335 |
msgstr "Galerie auswählen:"
|
1336 |
|
1337 |
-
#: ../admin/manage-images.php:
|
1338 |
msgid "Thumbnail"
|
1339 |
msgstr "Thumbnail"
|
1340 |
|
1341 |
-
#: ../admin/manage-images.php:
|
1342 |
#: ../admin/manage-sort.php:77
|
1343 |
msgid "Filename"
|
1344 |
msgstr "Dateiname"
|
1345 |
|
1346 |
-
#: ../admin/manage-images.php:
|
1347 |
msgid "Alt & Title Text"
|
1348 |
msgstr "Alt & Titel Text"
|
1349 |
|
1350 |
-
#: ../admin/manage-images.php:
|
1351 |
msgid "Tags (comma separated list)"
|
1352 |
msgstr "Stichwörter (Tags)"
|
1353 |
|
1354 |
-
#: ../admin/manage-images.php:
|
1355 |
msgid "exclude"
|
1356 |
msgstr "ausschließen"
|
1357 |
|
@@ -1445,13 +1557,17 @@ msgstr "erstellt"
|
|
1445 |
msgid "Published a new post"
|
1446 |
msgstr "Verföffentliche einen neuen Beitrag"
|
1447 |
|
1448 |
-
#: ../admin/manage.php:
|
1449 |
#, php-format
|
1450 |
msgid "1 item"
|
1451 |
msgid_plural "%s items"
|
1452 |
msgstr[0] "1 Element"
|
1453 |
msgstr[1] "%s Elemente"
|
1454 |
|
|
|
|
|
|
|
|
|
1455 |
#: ../admin/media-upload.php:166
|
1456 |
msgid "No gallery"
|
1457 |
msgstr "Keine Galerie"
|
@@ -1479,7 +1595,7 @@ msgstr "Ausrichtung"
|
|
1479 |
|
1480 |
#: ../admin/media-upload.php:232
|
1481 |
#: ../admin/publish.php:57
|
1482 |
-
#: ../admin/settings.php:
|
1483 |
msgid "None"
|
1484 |
msgstr "Keiner"
|
1485 |
|
@@ -1502,7 +1618,7 @@ msgid "Right"
|
|
1502 |
msgstr "Rechts"
|
1503 |
|
1504 |
#: ../admin/media-upload.php:242
|
1505 |
-
#: ../admin/settings.php:
|
1506 |
msgid "Size"
|
1507 |
msgstr "Größe"
|
1508 |
|
@@ -1575,258 +1691,262 @@ msgstr "Zeig Dich für diese Arbeit per PayPal dankbar"
|
|
1575 |
msgid "Help translating it."
|
1576 |
msgstr "Hilf das Plugin zu übersetzen."
|
1577 |
|
1578 |
-
#: ../admin/overview.php:
|
1579 |
msgid "Running..."
|
1580 |
msgstr "Läuft... Bitte warten"
|
1581 |
|
1582 |
-
#: ../admin/overview.php:
|
1583 |
msgid "Check plugin/theme conflict"
|
1584 |
msgstr "Plugin/Theme Konflikt prüfen"
|
1585 |
|
1586 |
-
#: ../admin/overview.php:
|
1587 |
-
#: ../admin/overview.php:
|
1588 |
-
#: ../admin/overview.php:
|
1589 |
msgid "Not tested"
|
1590 |
msgstr "Nicht getested"
|
1591 |
|
1592 |
-
#: ../admin/overview.php:
|
1593 |
msgid "No conflict could be detected"
|
1594 |
msgstr "Es konnte kein Konflikt festgestellt werden"
|
1595 |
|
1596 |
-
#: ../admin/overview.php:
|
1597 |
msgid "Test failed, disable other plugins & switch to default theme"
|
1598 |
msgstr "Test fehlgeschlagen, deaktiviere andere Plugins & aktiviere das Default Theme"
|
1599 |
|
1600 |
-
#: ../admin/overview.php:
|
1601 |
msgid "Test image function"
|
1602 |
msgstr "Teste Bildbearbeitung"
|
1603 |
|
1604 |
-
#: ../admin/overview.php:
|
1605 |
msgid "The plugin could create images"
|
1606 |
msgstr "Es konnte ein Bild erstellt werden"
|
1607 |
|
1608 |
-
#: ../admin/overview.php:
|
1609 |
msgid "Couldn't create image, check your memory limit"
|
1610 |
msgstr "Konne kein Bild erzeugen, überprüfe dein Speicherlimit (Server)"
|
1611 |
|
1612 |
-
#: ../admin/overview.php:
|
1613 |
msgid "Check theme compatibility"
|
1614 |
msgstr "Theme Kompatibilität prüfen"
|
1615 |
|
1616 |
-
#: ../admin/overview.php:
|
1617 |
msgid "Your theme should work fine with NextGEN Gallery"
|
1618 |
msgstr "Dein Theme sollte mit NextGEN Gallery funktionieren"
|
1619 |
|
1620 |
-
#: ../admin/overview.php:
|
1621 |
msgid "wp_head()/wp_footer() is missing, contact the theme author"
|
1622 |
msgstr "wp_head()/wp_footer() wurde nicht gefunden, kontaktiere den Theme Author"
|
1623 |
|
1624 |
-
#: ../admin/overview.php:
|
1625 |
msgid "Check plugin"
|
1626 |
msgstr "Plugin prüfen"
|
1627 |
|
1628 |
-
#: ../admin/overview.php:
|
1629 |
msgid "Graphic Library"
|
1630 |
msgstr "Grafik-Bibliothek"
|
1631 |
|
1632 |
-
#: ../admin/overview.php:
|
1633 |
-
#: ../admin/overview.php:
|
1634 |
-
#: ../admin/overview.php:
|
1635 |
-
#: ../admin/overview.php:
|
1636 |
msgid "Loading…"
|
1637 |
msgstr "Lade…"
|
1638 |
|
1639 |
-
#: ../admin/overview.php:
|
1640 |
-
#: ../admin/overview.php:
|
1641 |
-
#: ../admin/overview.php:
|
1642 |
-
#: ../admin/overview.php:
|
1643 |
msgid "This widget requires JavaScript."
|
1644 |
msgstr "Dieses Widget braucht JavaScript."
|
1645 |
|
1646 |
-
#: ../admin/overview.php:
|
1647 |
msgid "Thanks to all donators..."
|
1648 |
msgstr "Danke an alle Spender..."
|
1649 |
|
1650 |
-
#: ../admin/overview.php:
|
1651 |
msgid "View all"
|
1652 |
msgstr "Alle ansehen"
|
1653 |
|
1654 |
-
#: ../admin/overview.php:
|
1655 |
#, php-format
|
1656 |
msgid "Newsfeed could not be loaded. Check the <a href=\"%s\">front page</a> to check for updates."
|
1657 |
msgstr "Der Newsfeed kann nicht geladen werden. Schaue auf die <a href=\"%s\">Hauptseite</a>, um Updates mitzubekommen."
|
1658 |
|
1659 |
-
#: ../admin/overview.php:
|
1660 |
msgid "Untitled"
|
1661 |
msgstr "Kein Titel"
|
1662 |
|
1663 |
-
#: ../admin/overview.php:
|
1664 |
msgid "At a Glance"
|
1665 |
msgstr "Übersicht"
|
1666 |
|
1667 |
-
#: ../admin/overview.php:
|
1668 |
msgid "Upload pictures"
|
1669 |
msgstr "Bilder hochladen"
|
1670 |
|
1671 |
-
#: ../admin/overview.php:
|
1672 |
msgid "Here you can control your images, galleries and albums."
|
1673 |
msgstr "Hier kannst Du die Bilder, Galerien und Alben verwalten."
|
1674 |
|
1675 |
-
#: ../admin/overview.php:
|
1676 |
msgid "Storage Space"
|
1677 |
msgstr "Speicherplatz"
|
1678 |
|
1679 |
-
#: ../admin/overview.php:
|
1680 |
#, php-format
|
1681 |
msgid "<a href=\"%1$s\" title=\"Manage Uploads\" class=\"musublink\">%2$sMB</a>"
|
1682 |
msgstr "<a href=\"%1$s\" title=\"Verwalte Uploads\" class=\"musublink\">%2$sMB</a>"
|
1683 |
|
1684 |
-
#: ../admin/overview.php:
|
1685 |
msgid "Space Allowed"
|
1686 |
msgstr "Speicher verfügbar"
|
1687 |
|
1688 |
-
#: ../admin/overview.php:
|
1689 |
#, php-format
|
1690 |
msgid "<a href=\"%1$s\" title=\"Manage Uploads\" class=\"musublink\">%2$sMB (%3$s%%)</a>"
|
1691 |
msgstr "<a href=\"%1$s\" title=\"Verwalte Uploads\" class=\"musublink\">%2$sMB (%3$s%%)</a>"
|
1692 |
|
1693 |
-
#: ../admin/overview.php:
|
1694 |
msgid "Space Used"
|
1695 |
msgstr "Verbrauchter Uploadspeicher"
|
1696 |
|
1697 |
-
#: ../admin/overview.php:
|
1698 |
msgid "Translation file successful updated. Please reload page."
|
1699 |
msgstr "Übersetzungsdatei aktualisiert. Bitte Seite neu laden."
|
1700 |
|
1701 |
-
#: ../admin/overview.php:
|
1702 |
msgid "Reload page"
|
1703 |
msgstr "Seite neu laden"
|
1704 |
|
1705 |
-
#: ../admin/overview.php:
|
1706 |
msgid "Translation file couldn't be updated"
|
1707 |
msgstr "Übersetzung konnte nicht aktualisiert werden"
|
1708 |
|
1709 |
-
#: ../admin/overview.php:
|
1710 |
msgid "Download"
|
1711 |
msgstr "Jetzt updaten"
|
1712 |
|
1713 |
-
#: ../admin/overview.php:
|
1714 |
msgid "No GD support"
|
1715 |
msgstr "Keine GD Unterstützung"
|
1716 |
|
1717 |
-
#: ../admin/overview.php:
|
1718 |
-
#: ../admin/overview.php:
|
1719 |
-
#: ../admin/overview.php:
|
1720 |
-
#: ../admin/overview.php:
|
1721 |
msgid "Yes"
|
1722 |
msgstr "Ja"
|
1723 |
|
1724 |
-
#: ../admin/overview.php:
|
1725 |
-
#: ../admin/overview.php:
|
1726 |
-
#: ../admin/overview.php:
|
1727 |
-
#: ../admin/overview.php:
|
1728 |
msgid "No"
|
1729 |
msgstr "Nein"
|
1730 |
|
1731 |
-
#: ../admin/overview.php:
|
1732 |
msgid "Not set"
|
1733 |
msgstr "Nicht gesetzt"
|
1734 |
|
1735 |
-
#: ../admin/overview.php:
|
1736 |
-
#: ../admin/overview.php:
|
1737 |
msgid "On"
|
1738 |
msgstr "An"
|
1739 |
|
1740 |
-
#: ../admin/overview.php:
|
1741 |
-
#: ../admin/overview.php:
|
1742 |
msgid "Off"
|
1743 |
msgstr "Aus"
|
1744 |
|
1745 |
-
#: ../admin/overview.php:
|
1746 |
-
#: ../admin/overview.php:
|
1747 |
-
#: ../admin/overview.php:
|
1748 |
-
#: ../admin/overview.php:
|
1749 |
-
#: ../admin/overview.php:
|
1750 |
-
#: ../admin/overview.php:
|
1751 |
msgid "N/A"
|
1752 |
msgstr "N/A"
|
1753 |
|
1754 |
-
#: ../admin/overview.php:
|
1755 |
msgid " MByte"
|
1756 |
msgstr " MByte"
|
1757 |
|
1758 |
-
#: ../admin/overview.php:
|
1759 |
msgid "Operating System"
|
1760 |
msgstr "Betriebssystem"
|
1761 |
|
1762 |
-
#: ../admin/overview.php:
|
1763 |
msgid "Server"
|
1764 |
msgstr "Server"
|
1765 |
|
1766 |
-
#: ../admin/overview.php:
|
1767 |
msgid "Memory usage"
|
1768 |
msgstr "Speicherverbrauch"
|
1769 |
|
1770 |
-
#: ../admin/overview.php:
|
1771 |
msgid "MYSQL Version"
|
1772 |
msgstr "MySQL Version"
|
1773 |
|
1774 |
-
#: ../admin/overview.php:
|
1775 |
msgid "SQL Mode"
|
1776 |
msgstr "SQL Modus"
|
1777 |
|
1778 |
-
#: ../admin/overview.php:
|
1779 |
msgid "PHP Version"
|
1780 |
msgstr "PHP Version"
|
1781 |
|
1782 |
-
#: ../admin/overview.php:
|
1783 |
msgid "PHP Safe Mode"
|
1784 |
msgstr "PHP Safe Mode"
|
1785 |
|
1786 |
-
#: ../admin/overview.php:
|
1787 |
msgid "PHP Allow URL fopen"
|
1788 |
msgstr "PHP Allow URL fopen"
|
1789 |
|
1790 |
-
#: ../admin/overview.php:
|
1791 |
msgid "PHP Memory Limit"
|
1792 |
msgstr "PHP Memory Limit"
|
1793 |
|
1794 |
-
#: ../admin/overview.php:
|
1795 |
msgid "PHP Max Upload Size"
|
1796 |
msgstr "PHP Max Upload Größe"
|
1797 |
|
1798 |
-
#: ../admin/overview.php:
|
1799 |
msgid "PHP Max Post Size"
|
1800 |
msgstr "PHP Max Post Größe"
|
1801 |
|
1802 |
-
#: ../admin/overview.php:
|
1803 |
msgid "PCRE Backtracking Limit"
|
1804 |
msgstr "PCRE Backtracking Limit"
|
1805 |
|
1806 |
-
#: ../admin/overview.php:
|
1807 |
msgid "PHP Max Script Execute Time"
|
1808 |
msgstr "PHP Max Script Execute Time"
|
1809 |
|
1810 |
-
#: ../admin/overview.php:
|
1811 |
msgid "PHP Exif support"
|
1812 |
msgstr "PHP Exif Modul"
|
1813 |
|
1814 |
-
#: ../admin/overview.php:
|
1815 |
msgid "PHP IPTC support"
|
1816 |
msgstr "PHP IPTC Modul"
|
1817 |
|
1818 |
-
#: ../admin/overview.php:
|
1819 |
msgid "PHP XML support"
|
1820 |
msgstr "PHP XML Modul"
|
1821 |
|
1822 |
-
#: ../admin/overview.php:
|
1823 |
msgid "NextGEN Gallery contains some functions which are only available under PHP 5.2. You are using the old PHP 4 version, upgrade now! It's no longer supported by the PHP group. Many shared hosting providers offer both PHP 4 and PHP 5, running simultaneously. Ask your provider if they can do this."
|
1824 |
msgstr "NextGEN Gallery enthält einige Funktionen, die nur unter PHP 5.2 verfügbar sind. Du nutzt immer noch die alte PHP 4 Version. Bitte aktualisiere so bald wie möglich diese Version, sie wird nicht mehr gepflegt und weiterentwicklelt. Die meisten Hoster bieten bereits PHP5 an. Bitte kontaktiere Deinen Provider und frag kurz nach, ob sie ein Update durchführen können."
|
1825 |
|
1826 |
-
#: ../admin/overview.php:
|
1827 |
msgid "Install"
|
1828 |
msgstr "Installieren"
|
1829 |
|
|
|
|
|
|
|
|
|
1830 |
#: ../admin/publish.php:45
|
1831 |
msgid "Post title"
|
1832 |
msgstr "Beitragstitel"
|
@@ -1923,585 +2043,577 @@ msgstr "Horizontal spiegeln"
|
|
1923 |
msgid "Cache cleared"
|
1924 |
msgstr "Cache löschen"
|
1925 |
|
1926 |
-
#: ../admin/settings.php:
|
1927 |
-
#: ../admin/settings.php:
|
1928 |
msgid "General Options"
|
1929 |
msgstr "Allg. Optionen"
|
1930 |
|
1931 |
-
#: ../admin/settings.php:
|
1932 |
-
#: ../admin/settings.php:
|
1933 |
msgid "Thumbnails"
|
1934 |
msgstr "Thumbnails"
|
1935 |
|
1936 |
-
#: ../admin/settings.php:
|
1937 |
msgid "Images"
|
1938 |
msgstr "Bilder"
|
1939 |
|
1940 |
-
#: ../admin/settings.php:
|
1941 |
-
#: ../admin/settings.php:
|
1942 |
msgid "Effects"
|
1943 |
msgstr "Effekte"
|
1944 |
|
1945 |
-
#: ../admin/settings.php:
|
1946 |
-
#: ../admin/settings.php:
|
1947 |
#: ../admin/tinymce/window.php:110
|
1948 |
msgid "Watermark"
|
1949 |
msgstr "Wasserzeichen"
|
1950 |
|
1951 |
-
#: ../admin/settings.php:
|
1952 |
-
#: ../admin/settings.php:
|
1953 |
-
#: ../admin/settings.php:
|
1954 |
#: ../admin/tinymce/window.php:63
|
1955 |
msgid "Slideshow"
|
1956 |
msgstr "Slideshow"
|
1957 |
|
1958 |
-
#: ../admin/settings.php:
|
1959 |
#: ../admin/wpmu.php:68
|
1960 |
msgid "Gallery path"
|
1961 |
msgstr "Galerie-Pfad"
|
1962 |
|
1963 |
-
#: ../admin/settings.php:
|
1964 |
msgid "This is the default path for all galleries"
|
1965 |
msgstr "Dies ist der Standard-Pfad für alle Galerien"
|
1966 |
|
1967 |
-
#: ../admin/settings.php:
|
1968 |
msgid "Delete image files"
|
1969 |
msgstr "Lösche Bilddateien"
|
1970 |
|
1971 |
-
#: ../admin/settings.php:
|
1972 |
msgid "Delete files, when removing a gallery in the database"
|
1973 |
msgstr "Löscht auch die Dateien, falls die Galerie aus der Datenbank entfernt wird"
|
1974 |
|
1975 |
-
#: ../admin/settings.php:
|
1976 |
msgid "Activate permalinks"
|
1977 |
msgstr "Aktiviere Permalinks"
|
1978 |
|
1979 |
-
#: ../admin/settings.php:
|
1980 |
msgid "When you activate this option, you need to update your permalink structure one time."
|
1981 |
msgstr "Wenn Du diese Option aktivierst, muss Du einmal die Permalink Struktur aktualisieren."
|
1982 |
|
1983 |
-
#: ../admin/settings.php:
|
1984 |
msgid "Gallery slug name :"
|
1985 |
msgstr "Galerie Schlagwort :"
|
1986 |
|
1987 |
-
#: ../admin/settings.php:
|
1988 |
msgid "Create new URL friendly image slugs"
|
1989 |
msgstr "Erstelle neue URL lesbare Schlagwörter "
|
1990 |
|
1991 |
-
#: ../admin/settings.php:
|
1992 |
-
#: ../admin/settings.php:
|
1993 |
msgid "Proceed now"
|
1994 |
msgstr "Jetzt durchführen"
|
1995 |
|
1996 |
-
#: ../admin/settings.php:
|
1997 |
msgid "Select graphic library"
|
1998 |
msgstr "Wähle Grafik-Bibliothek"
|
1999 |
|
2000 |
-
#: ../admin/settings.php:
|
2001 |
msgid "GD Library"
|
2002 |
msgstr "GD Bibliothek"
|
2003 |
|
2004 |
-
#: ../admin/settings.php:
|
2005 |
msgid "ImageMagick (Experimental). Path to the library :"
|
2006 |
msgstr "ImageMagick (Experimental). Pfad zur Bibliothek :"
|
2007 |
|
2008 |
-
#: ../admin/settings.php:
|
2009 |
msgid "Activate Media RSS feed"
|
2010 |
msgstr "Aktiviere Media-RSS-Feed"
|
2011 |
|
2012 |
-
#: ../admin/settings.php:
|
2013 |
msgid "A RSS feed will be added to you blog header. Useful for CoolIris/PicLens"
|
2014 |
msgstr "Ein Bilder-RSS Feed wird zum Blog hinzugefügt"
|
2015 |
|
2016 |
-
#: ../admin/settings.php:
|
2017 |
msgid "Activate PicLens/CoolIris support"
|
2018 |
msgstr "Aktiviere PicLens/CoolIris"
|
2019 |
|
2020 |
-
#: ../admin/settings.php:
|
2021 |
msgid "When you activate this option, some javascript is added to your site footer. Make sure that wp_footer is called in your theme."
|
2022 |
msgstr "Dieser Effekt fügt ein neues Javascript zu Deinem Theme hinzu. Beachte, dass wp_footer() in Deinen Vorlagen aufgerufen wird."
|
2023 |
|
2024 |
-
#: ../admin/settings.php:
|
2025 |
msgid "Tags / Categories"
|
2026 |
msgstr "Stichwörter / Kategorien"
|
2027 |
|
2028 |
-
#: ../admin/settings.php:
|
2029 |
msgid "Activate related images"
|
2030 |
msgstr "Verwandte Bilder anzeigen"
|
2031 |
|
2032 |
-
#: ../admin/settings.php:
|
2033 |
msgid "This option will append related images to every post"
|
2034 |
msgstr "Diese Option hängt verwandte Bilder an jeden Beitrag"
|
2035 |
|
2036 |
-
#: ../admin/settings.php:
|
2037 |
msgid "Match with"
|
2038 |
msgstr "Vergleiche mit"
|
2039 |
|
2040 |
-
#: ../admin/settings.php:
|
2041 |
msgid "Categories"
|
2042 |
msgstr "Kategorien"
|
2043 |
|
2044 |
-
#: ../admin/settings.php:
|
2045 |
msgid "Max. number of images"
|
2046 |
msgstr "Max. Anzahl der Bilder"
|
2047 |
|
2048 |
-
#: ../admin/settings.php:
|
2049 |
msgid "0 will show all images"
|
2050 |
msgstr "0 zeige alle verwandten Bilder"
|
2051 |
|
2052 |
-
#: ../admin/settings.php:
|
2053 |
-
#: ../admin/settings.php:
|
2054 |
-
#: ../admin/settings.php:
|
2055 |
-
#: ../admin/settings.php:
|
2056 |
-
#: ../admin/settings.php:
|
2057 |
-
#: ../admin/settings.php:
|
2058 |
msgid "More settings"
|
2059 |
msgstr "Mehr Einstellungen"
|
2060 |
|
2061 |
-
#: ../admin/settings.php:
|
2062 |
msgid "Thumbnail settings"
|
2063 |
msgstr "Thumbnail-Einstellungen"
|
2064 |
|
2065 |
-
#: ../admin/settings.php:
|
2066 |
msgid "Please note : If you change the settings, you need to recreate the thumbnails under -> Manage Gallery ."
|
2067 |
msgstr "Bitte beachten : Änderungen der Einstellungen werden erst übernommen, wenn Du neue Thumbnails unter -> \"Gallery verwalten\" erstellst"
|
2068 |
|
2069 |
-
#: ../admin/settings.php:
|
2070 |
msgid "Thumbnail quality"
|
2071 |
msgstr "Thumbnail Qualität"
|
2072 |
|
2073 |
-
#: ../admin/settings.php:
|
2074 |
msgid "Image settings"
|
2075 |
msgstr "Bild-Einstellungen"
|
2076 |
|
2077 |
-
#: ../admin/settings.php:
|
2078 |
msgid "Resize Images"
|
2079 |
msgstr "Bilder verkleinern"
|
2080 |
|
2081 |
-
#: ../admin/settings.php:
|
2082 |
msgid "Image quality"
|
2083 |
msgstr "Bild Qualität"
|
2084 |
|
2085 |
-
#: ../admin/settings.php:
|
2086 |
msgid "Backup original images"
|
2087 |
msgstr "Backup von Original-Bildern "
|
2088 |
|
2089 |
-
#: ../admin/settings.php:
|
2090 |
msgid "Creates a backup for inserted images"
|
2091 |
msgstr "Backup der Bilder anlegen"
|
2092 |
|
2093 |
-
#: ../admin/settings.php:
|
2094 |
msgid "Automatically resize"
|
2095 |
msgstr "Grösse automatisch anpassen"
|
2096 |
|
2097 |
-
#: ../admin/settings.php:
|
2098 |
msgid "Automatically resize images on upload."
|
2099 |
msgstr "Passt die Grösse automatisch beim Upload an"
|
2100 |
|
2101 |
-
#: ../admin/settings.php:
|
2102 |
msgid "Single picture"
|
2103 |
msgstr "Einzelbilder"
|
2104 |
|
2105 |
-
#: ../admin/settings.php:
|
2106 |
-
msgid "Cache single pictures"
|
2107 |
-
msgstr "Nutze Cache für Einzelbilder"
|
2108 |
-
|
2109 |
-
#: ../admin/settings.php:371
|
2110 |
-
msgid "Creates a file for each singlepic settings. Reduce the CPU load"
|
2111 |
-
msgstr "Erstellt ein Cache-Bild für jedes Einzelbild (singlepic). Reduziert die CPU Belastung."
|
2112 |
-
|
2113 |
-
#: ../admin/settings.php:374
|
2114 |
msgid "Clear cache folder"
|
2115 |
msgstr "Lösche Cache-Verzeichnis"
|
2116 |
|
2117 |
-
#: ../admin/settings.php:
|
2118 |
msgid "Deactivate gallery page link"
|
2119 |
msgstr "Keine Seitenverzweigung"
|
2120 |
|
2121 |
-
#: ../admin/settings.php:
|
2122 |
msgid "The album will not link to a gallery subpage. The gallery is shown on the same page."
|
2123 |
msgstr "Ein Album benötigt dann keinen Link zur Seite. Die Galerie wird direkt angezeigt."
|
2124 |
|
2125 |
-
#: ../admin/settings.php:
|
2126 |
msgid "Number of images per page"
|
2127 |
msgstr "Anzahl der Bilder pro Seite"
|
2128 |
|
2129 |
-
#: ../admin/settings.php:
|
2130 |
msgid "0 will disable pagination, all images on one page"
|
2131 |
msgstr "0 schaltet Blätterfunktion ab ( = alle Bilder auf einer Seite )"
|
2132 |
|
2133 |
-
#: ../admin/settings.php:
|
2134 |
msgid "Number of columns"
|
2135 |
msgstr "Anzahl der Spalten"
|
2136 |
|
2137 |
-
#: ../admin/settings.php:
|
2138 |
msgid "0 will display as much as possible based on the width of your theme. Setting normally only required for captions below the images"
|
2139 |
msgstr "Mit \"0\" werden soviele Bilder wie möglich in einer Reihe dargestellt. Die Einstellung ist normalerweise nur für Beschriftungen unterhalb der Bilder sinnvoll."
|
2140 |
|
2141 |
-
#: ../admin/settings.php:
|
2142 |
msgid "Integrate slideshow"
|
2143 |
msgstr "Slideshow verwenden"
|
2144 |
|
2145 |
-
#: ../admin/settings.php:
|
2146 |
msgid "Show first"
|
2147 |
msgstr "Zeige als Erstes"
|
2148 |
|
2149 |
-
#: ../admin/settings.php:
|
2150 |
msgid "Show ImageBrowser"
|
2151 |
msgstr "Zeige Bilder-Browser"
|
2152 |
|
2153 |
-
#: ../admin/settings.php:
|
2154 |
msgid "The gallery will open the ImageBrowser instead the effect."
|
2155 |
msgstr "Es wird der Bilder-Browser angezeigt (Kein JavaScript Effekt)"
|
2156 |
|
2157 |
-
#: ../admin/settings.php:
|
2158 |
msgid "Add hidden images"
|
2159 |
msgstr "Versteckte Bilder hinzufügen"
|
2160 |
|
2161 |
-
#: ../admin/settings.php:
|
2162 |
msgid "If pagination is used, this option will still show all images in the modal window (Thickbox, Lightbox etc.). Note : This increases the page load"
|
2163 |
msgstr "Wenn Du die Blätterfunktion nutzt, dann kannst Du mit dieser Option alle Bilder im Modal-Fenster (Thickbox,Lightbox etc.) anzeigen. Berücksichtige, dass die Ladezeit der Seite erhöht wird."
|
2164 |
|
2165 |
-
#: ../admin/settings.php:
|
2166 |
msgid "Enable AJAX pagination"
|
2167 |
msgstr "Aktiviere AJAX-Navigation"
|
2168 |
|
2169 |
-
#: ../admin/settings.php:
|
2170 |
msgid "Browse images without reload the page. Note : Works only in combination with Shutter effect"
|
2171 |
msgstr "Ermöglicht das Blättern zwischen den Bildern ohne die Seite neu zu laden. Hinweis : Funktioniert nur mit dem Shutter-Effekt."
|
2172 |
|
2173 |
-
#: ../admin/settings.php:
|
2174 |
msgid "Sort options"
|
2175 |
msgstr "Sortierung"
|
2176 |
|
2177 |
-
#: ../admin/settings.php:
|
2178 |
msgid "Sort thumbnails"
|
2179 |
msgstr "Thumbnails sortieren"
|
2180 |
|
2181 |
-
#: ../admin/settings.php:
|
2182 |
msgid "Custom order"
|
2183 |
msgstr "Benutzerdefiniert"
|
2184 |
|
2185 |
-
#: ../admin/settings.php:
|
2186 |
msgid "File name"
|
2187 |
msgstr "Dateiname"
|
2188 |
|
2189 |
-
#: ../admin/settings.php:
|
2190 |
msgid "Alt / Title text"
|
2191 |
msgstr "Alt / Titel Text"
|
2192 |
|
2193 |
-
#: ../admin/settings.php:
|
2194 |
msgid "Date / Time"
|
2195 |
msgstr "Datum/Zeit"
|
2196 |
|
2197 |
-
#: ../admin/settings.php:
|
2198 |
msgid "Sort direction"
|
2199 |
msgstr "Sortierreihenfolge"
|
2200 |
|
2201 |
-
#: ../admin/settings.php:
|
2202 |
msgid "Here you can select the thumbnail effect, NextGEN Gallery will integrate the required HTML code in the images. Please note that only the Shutter and Thickbox effect will automatic added to your theme."
|
2203 |
msgstr "Hier kannst Du den Effekt für die Thumbnails auswählen. NextGEN Galerie wird den benötigten HTML-Code verwenden. Bitte beachte, dass nur Shutter und der Thickbox Effekt automatisch in Dein Theme von Wordpress integriert wird. Alle anderen Effekte mußt Du selbst in die header.php eintragen (JS)."
|
2204 |
|
2205 |
-
#: ../admin/settings.php:
|
2206 |
msgid "With the placeholder"
|
2207 |
msgstr "Mit Platzhalter"
|
2208 |
|
2209 |
-
#: ../admin/settings.php:
|
2210 |
msgid "you can activate a navigation through the images (depend on the effect). Change the code line only , when you use a different thumbnail effect or you know what you do."
|
2211 |
msgstr "Du kannst eine Navigation durch die Bilder aktivieren (hängt vom Effekt ab). Ändere nur die Codezeile, falls Du einen anderen Effekt für die Thumbnails verwendest oder einfach weißt, was Du tust."
|
2212 |
|
2213 |
-
#: ../admin/settings.php:
|
2214 |
msgid "JavaScript Thumbnail effect"
|
2215 |
msgstr "JavaScript Thumbnail Effekt"
|
2216 |
|
2217 |
-
#: ../admin/settings.php:
|
2218 |
msgid "Thickbox"
|
2219 |
msgstr "Thickbox"
|
2220 |
|
2221 |
-
#: ../admin/settings.php:
|
2222 |
msgid "Lightbox"
|
2223 |
msgstr "Lightbox"
|
2224 |
|
2225 |
-
#: ../admin/settings.php:
|
2226 |
msgid "Highslide"
|
2227 |
msgstr "Highslide"
|
2228 |
|
2229 |
-
#: ../admin/settings.php:
|
2230 |
msgid "Shutter"
|
2231 |
msgstr "Shutter"
|
2232 |
|
2233 |
-
#: ../admin/settings.php:
|
2234 |
msgid "Custom"
|
2235 |
msgstr "Eigener"
|
2236 |
|
2237 |
-
#: ../admin/settings.php:
|
2238 |
msgid "Link Code line"
|
2239 |
msgstr "Link-Code-Zeile"
|
2240 |
|
2241 |
-
#: ../admin/settings.php:
|
2242 |
msgid "Please note : You can only activate the watermark under -> Manage Gallery . This action cannot be undone."
|
2243 |
msgstr "Bitte beachten : Das Wasserzeichen kann nur unter der Galerieverwaltung gesetzt werden. "
|
2244 |
|
2245 |
-
#: ../admin/settings.php:
|
2246 |
msgid "Preview"
|
2247 |
msgstr "Vorschau"
|
2248 |
|
2249 |
-
#: ../admin/settings.php:
|
2250 |
-
#: ../admin/settings.php:
|
2251 |
msgid "Position"
|
2252 |
msgstr "Position"
|
2253 |
|
2254 |
-
#: ../admin/settings.php:
|
2255 |
msgid "Offset"
|
2256 |
msgstr "Abstand"
|
2257 |
|
2258 |
-
#: ../admin/settings.php:
|
2259 |
msgid "Use image as watermark"
|
2260 |
msgstr "Benutze das Bild als Wasserzeichen"
|
2261 |
|
2262 |
-
#: ../admin/settings.php:
|
2263 |
msgid "URL to file"
|
2264 |
msgstr "URL zur Datei"
|
2265 |
|
2266 |
-
#: ../admin/settings.php:
|
2267 |
msgid "The accessing of URL files is disabled at your server (allow_url_fopen)"
|
2268 |
msgstr "Der Dateizugriff von URLs ist auf diesem Server deaktiviert (allow_url_fopen)"
|
2269 |
|
2270 |
-
#: ../admin/settings.php:
|
2271 |
msgid "Use text as watermark"
|
2272 |
msgstr "Benutze Text als Wasserzeichen"
|
2273 |
|
2274 |
-
#: ../admin/settings.php:
|
2275 |
msgid "Font"
|
2276 |
msgstr "Schriftart"
|
2277 |
|
2278 |
-
#: ../admin/settings.php:
|
2279 |
msgid "This function will not work, cause you need the FreeType library"
|
2280 |
msgstr "Diese Funktion benötigt die FreeType-Bibliothek"
|
2281 |
|
2282 |
-
#: ../admin/settings.php:
|
2283 |
msgid "You can upload more fonts in the folder <strong>nggallery/fonts</strong>"
|
2284 |
msgstr "Du kannst mehr Schriftarten in das Verzeichniss <strong>nggallery/fonts</strong> hochladen."
|
2285 |
|
2286 |
-
#: ../admin/settings.php:
|
2287 |
msgid "Color"
|
2288 |
msgstr "Farbe"
|
2289 |
|
2290 |
-
#: ../admin/settings.php:
|
2291 |
msgid "(hex w/o #)"
|
2292 |
msgstr "(hex w/o #)"
|
2293 |
|
2294 |
-
#: ../admin/settings.php:
|
2295 |
msgid "Text"
|
2296 |
msgstr "Text"
|
2297 |
|
2298 |
-
#: ../admin/settings.php:
|
2299 |
msgid "Opaque"
|
2300 |
msgstr "Transparenz"
|
2301 |
|
2302 |
-
#: ../admin/settings.php:
|
2303 |
msgid "Default size (W x H)"
|
2304 |
msgstr "Standard Größe (B x H)"
|
2305 |
|
2306 |
-
#: ../admin/settings.php:
|
2307 |
msgid "Duration time"
|
2308 |
msgstr "Dauer"
|
2309 |
|
2310 |
-
#: ../admin/settings.php:
|
2311 |
msgid "sec."
|
2312 |
msgstr "Sek."
|
2313 |
|
2314 |
-
#: ../admin/settings.php:
|
2315 |
-
#: ../admin/settings.php:
|
2316 |
msgid "Transition / Fade effect"
|
2317 |
msgstr "Fade Effekt"
|
2318 |
|
2319 |
-
#: ../admin/settings.php:
|
2320 |
-
#: ../admin/settings.php:
|
2321 |
msgid "fade"
|
2322 |
msgstr "Fade"
|
2323 |
|
2324 |
-
#: ../admin/settings.php:
|
2325 |
msgid "blindX"
|
2326 |
msgstr "blindX"
|
2327 |
|
2328 |
-
#: ../admin/settings.php:
|
2329 |
msgid "cover"
|
2330 |
msgstr "Blenden"
|
2331 |
|
2332 |
-
#: ../admin/settings.php:
|
2333 |
msgid "scrollUp"
|
2334 |
msgstr "ScrollUp"
|
2335 |
|
2336 |
-
#: ../admin/settings.php:
|
2337 |
msgid "scrollDown"
|
2338 |
msgstr "ScrollDown"
|
2339 |
|
2340 |
-
#: ../admin/settings.php:
|
2341 |
msgid "shuffle"
|
2342 |
msgstr "Shuffle"
|
2343 |
|
2344 |
-
#: ../admin/settings.php:
|
2345 |
msgid "toss"
|
2346 |
msgstr "Schüttel"
|
2347 |
|
2348 |
-
#: ../admin/settings.php:
|
2349 |
msgid "wipe"
|
2350 |
msgstr "wischen"
|
2351 |
|
2352 |
-
#: ../admin/settings.php:
|
2353 |
msgid "See here for more information about the effects :"
|
2354 |
msgstr "Hier bekommst du mehr Informationen über die Effekte :"
|
2355 |
|
2356 |
-
#: ../admin/settings.php:
|
2357 |
msgid "Settings for the JW Image Rotator"
|
2358 |
msgstr "JW-Image-Rotator Einstellungen"
|
2359 |
|
2360 |
-
#: ../admin/settings.php:
|
2361 |
msgid "The settings are only used in the JW Image Rotator Version"
|
2362 |
msgstr "Die Einstellungen werden im JW-Image-Rotator benutzt, in der Version"
|
2363 |
|
2364 |
-
#: ../admin/settings.php:
|
2365 |
msgid "See more information for the Flash Player on the web page"
|
2366 |
msgstr "Weitere Informationen auf der Flash-Player-Homepage"
|
2367 |
|
2368 |
-
#: ../admin/settings.php:
|
2369 |
msgid "The path to imagerotator.swf is not defined, the slideshow will not work."
|
2370 |
msgstr "Der Pfad zu imagerotator.swf ist nicht gesetzt, die Flash-Diaschau kann dann nicht angezeigt werden"
|
2371 |
|
2372 |
-
#: ../admin/settings.php:
|
2373 |
msgid "If you would like to use the JW Image Rotatator, please download the player <a href=\"http://www.longtailvideo.com/players/jw-image-rotator/\" target=\"_blank\" >here</a> and upload it to your Upload folder (Default is wp-content/uploads)."
|
2374 |
msgstr "Wenn Du den JW-Image-Rotator (Slideshow) nutzen möchtest, lade Dir die aktuelle Version <a href=\"http://www.longtailvideo.com/players/jw-image-rotator/\" target=\"_blank\" >hier</a> herunter und übertrage sie dann in Dein WordPress-Upload-Verzeichnis (normalerweise wp-content/uploads),"
|
2375 |
|
2376 |
-
#: ../admin/settings.php:
|
2377 |
msgid "Enable flash slideshow"
|
2378 |
msgstr "Aktiviere Flash Slideshow"
|
2379 |
|
2380 |
-
#: ../admin/settings.php:
|
2381 |
msgid "Integrate the flash based slideshow for all flash supported devices"
|
2382 |
msgstr "Verwende die Flash Slideshow für alle Flash-unterstützte Geräte"
|
2383 |
|
2384 |
-
#: ../admin/settings.php:
|
2385 |
msgid "Path to the Imagerotator (URL)"
|
2386 |
msgstr "Pfad zum JW-Image-Rotator (URL)"
|
2387 |
|
2388 |
-
#: ../admin/settings.php:
|
2389 |
msgid "Search now"
|
2390 |
msgstr "Suche jetzt"
|
2391 |
|
2392 |
-
#: ../admin/settings.php:
|
2393 |
msgid "Press the button to search automatically for the imagerotator, if you uploaded it to wp-content/uploads or a subfolder"
|
2394 |
msgstr "Drücke 'Suche jetzt' um automatisch den Pfad zum Image-Rotator zu ermitteln, sofern Du den Player in wp-content/uploads oder ein Unterverzeichnis hochgeladen hast."
|
2395 |
|
2396 |
-
#: ../admin/settings.php:
|
2397 |
msgid "Shuffle mode"
|
2398 |
msgstr "Shuffle Modus"
|
2399 |
|
2400 |
-
#: ../admin/settings.php:
|
2401 |
msgid "Show next image on click"
|
2402 |
msgstr "Zeige nächstes Bild bei Klick"
|
2403 |
|
2404 |
-
#: ../admin/settings.php:
|
2405 |
msgid "Show navigation bar"
|
2406 |
msgstr "Zeige Navigations-Leiste"
|
2407 |
|
2408 |
-
#: ../admin/settings.php:
|
2409 |
msgid "Show loading icon"
|
2410 |
msgstr "Zeige Lade-Bildchen"
|
2411 |
|
2412 |
-
#: ../admin/settings.php:
|
2413 |
msgid "Use watermark logo"
|
2414 |
msgstr "Wasserzeichen anzeigen"
|
2415 |
|
2416 |
-
#: ../admin/settings.php:
|
2417 |
msgid "You can change the logo at the watermark settings"
|
2418 |
msgstr "Du kannst den Pfad in Einstellungen für das Wasserzeichen angeben"
|
2419 |
|
2420 |
-
#: ../admin/settings.php:
|
2421 |
msgid "Stretch image"
|
2422 |
msgstr "Bild dehnen"
|
2423 |
|
2424 |
-
#: ../admin/settings.php:
|
2425 |
msgid "true"
|
2426 |
msgstr "Ja"
|
2427 |
|
2428 |
-
#: ../admin/settings.php:
|
2429 |
msgid "false"
|
2430 |
msgstr "Nein"
|
2431 |
|
2432 |
-
#: ../admin/settings.php:
|
2433 |
msgid "fit"
|
2434 |
msgstr "Passend"
|
2435 |
|
2436 |
-
#: ../admin/settings.php:
|
2437 |
msgid "none"
|
2438 |
msgstr "keiner"
|
2439 |
|
2440 |
-
#: ../admin/settings.php:
|
2441 |
msgid "bgfade"
|
2442 |
msgstr "BGFade"
|
2443 |
|
2444 |
-
#: ../admin/settings.php:
|
2445 |
msgid "slowfade"
|
2446 |
msgstr "Slowfade"
|
2447 |
|
2448 |
-
#: ../admin/settings.php:
|
2449 |
msgid "circles"
|
2450 |
msgstr "Kreise"
|
2451 |
|
2452 |
-
#: ../admin/settings.php:
|
2453 |
msgid "bubbles"
|
2454 |
msgstr "Blasen"
|
2455 |
|
2456 |
-
#: ../admin/settings.php:
|
2457 |
msgid "blocks"
|
2458 |
msgstr "Blöcke"
|
2459 |
|
2460 |
-
#: ../admin/settings.php:
|
2461 |
msgid "fluids"
|
2462 |
msgstr "Fluids"
|
2463 |
|
2464 |
-
#: ../admin/settings.php:
|
2465 |
msgid "flash"
|
2466 |
msgstr "Flash"
|
2467 |
|
2468 |
-
#: ../admin/settings.php:
|
2469 |
msgid "lines"
|
2470 |
msgstr "Linien"
|
2471 |
|
2472 |
-
#: ../admin/settings.php:
|
2473 |
msgid "random"
|
2474 |
msgstr "Zufall"
|
2475 |
|
2476 |
-
#: ../admin/settings.php:
|
2477 |
msgid "Use slow zooming effect"
|
2478 |
msgstr "nutze Zoom-Effekt"
|
2479 |
|
2480 |
-
#: ../admin/settings.php:
|
2481 |
msgid "Background Color"
|
2482 |
msgstr "Hintergrund (BG) Farbe"
|
2483 |
|
2484 |
-
#: ../admin/settings.php:
|
2485 |
msgid "Texts / Buttons Color"
|
2486 |
msgstr "Text- / Button Farbe"
|
2487 |
|
2488 |
-
#: ../admin/settings.php:
|
2489 |
msgid "Rollover / Active Color"
|
2490 |
msgstr "Rollover / Aktiv (Link) Farbe"
|
2491 |
|
2492 |
-
#: ../admin/settings.php:
|
2493 |
msgid "Screen Color"
|
2494 |
msgstr "Seiten-Farbe"
|
2495 |
|
2496 |
-
#: ../admin/settings.php:
|
2497 |
msgid "Background music (URL)"
|
2498 |
msgstr "Hintergrundmusik (URL)"
|
2499 |
|
2500 |
-
#: ../admin/settings.php:
|
2501 |
msgid "Try XHTML validation (with CDATA)"
|
2502 |
msgstr "Integriere XHTML-Validierung (mittels CDATA)"
|
2503 |
|
2504 |
-
#: ../admin/settings.php:
|
2505 |
msgid "Important : Could causes problem at some browser. Please recheck your page."
|
2506 |
msgstr "Wichtig : Es könnten Probleme bei einigen Browser entstehen. Unbedingt Seite danach prüfen."
|
2507 |
|
@@ -2715,7 +2827,7 @@ msgstr "Vorheriges Stichwort"
|
|
2715 |
|
2716 |
#: ../admin/tags.php:169
|
2717 |
msgid "Next tags"
|
2718 |
-
msgstr "Nächstes
|
2719 |
|
2720 |
#: ../admin/tags.php:181
|
2721 |
msgid "Rename Tag"
|
@@ -2779,51 +2891,51 @@ msgid "Upgrade database structure..."
|
|
2779 |
msgstr "Aktualisiere die Datenbank-Struturen..."
|
2780 |
|
2781 |
#: ../admin/upgrade.php:108
|
2782 |
-
#: ../admin/upgrade.php:
|
2783 |
-
#: ../admin/upgrade.php:
|
2784 |
-
#: ../admin/upgrade.php:
|
2785 |
-
#: ../admin/upgrade.php:
|
2786 |
msgid "finished"
|
2787 |
msgstr "beendet"
|
2788 |
|
2789 |
-
#: ../admin/upgrade.php:
|
2790 |
msgid "Update file structure..."
|
2791 |
msgstr "Aktualisiere Verzeichnisse..."
|
2792 |
|
2793 |
-
#: ../admin/upgrade.php:
|
2794 |
msgid "Import date and time information..."
|
2795 |
msgstr "Importiere Datum/Uhrzeit..."
|
2796 |
|
2797 |
-
#: ../admin/upgrade.php:
|
2798 |
msgid "Move imagerotator to new location..."
|
2799 |
msgstr "Verschiebe den Image-Rotator in ein neues Verzeichnis..."
|
2800 |
|
2801 |
-
#: ../admin/upgrade.php:
|
2802 |
msgid "Update settings..."
|
2803 |
msgstr "Einstellungen gespeichert..."
|
2804 |
|
2805 |
-
#: ../admin/upgrade.php:
|
2806 |
msgid "Updated widget structure. If you used NextGEN Widgets, you need to setup them again..."
|
2807 |
msgstr "Die Widgets wurden überarbeitet. Wenn Du NextGEN Widgets nutzt, musst du Sie nun neu einfügen..."
|
2808 |
|
2809 |
-
#: ../admin/upgrade.php:
|
2810 |
-
#: ../admin/upgrade.php:
|
2811 |
msgid "Updated options."
|
2812 |
msgstr "Einstellungen gespeichert."
|
2813 |
|
2814 |
-
#: ../admin/upgrade.php:
|
2815 |
msgid "Create unique slug"
|
2816 |
msgstr "Permalinks erstellen"
|
2817 |
|
2818 |
-
#: ../admin/upgrade.php:
|
2819 |
msgid "One of the upcomming features are a reworked permalinks structure."
|
2820 |
msgstr "Die Permalinkstruktur wird in einer kommenden Version überarbeitet."
|
2821 |
|
2822 |
-
#: ../admin/upgrade.php:
|
2823 |
msgid "Therefore it's needed to have a unique identifier for each image, gallery and album."
|
2824 |
msgstr "Deshalb ist es notwendig ein eindeutiges Schlagwort für jedes Bild, Galerie und Album zu erzeugen."
|
2825 |
|
2826 |
-
#: ../admin/upgrade.php:
|
2827 |
msgid "Depend on the amount of database entries this will take a while, don't reload this page."
|
2828 |
msgstr "Diese Operation kann je nach Anzahl der Bilder eine Weile daueren, bitte die Seite nicht neu laden."
|
2829 |
|
@@ -3022,7 +3134,7 @@ msgstr "Kein Float"
|
|
3022 |
msgid "Insert"
|
3023 |
msgstr "Einfügen"
|
3024 |
|
3025 |
-
#: ../lib/core.php:
|
3026 |
#, php-format
|
3027 |
msgid "Note : Based on your server memory limit you should not upload larger images then <strong>%d x %d</strong> pixel"
|
3028 |
msgstr "Hinweis: Basierend auf der Speicherbegrenzung auf dem Server, solltest Du keine Bilder grösser als <strong>%d x %d</strong> Pixel hochladen"
|
@@ -3181,12 +3293,12 @@ msgstr "Blitz"
|
|
3181 |
msgid "Sorry, you have used your space allocation. Please delete some files to upload more files."
|
3182 |
msgstr "Schade, Dein freier Speicher scheint aufgebraucht zu sein. Bitte lösche zuerst ein paar Bilder."
|
3183 |
|
3184 |
-
#: ../lib/ngg-db.php:330
|
3185 |
#: ../lib/ngg-db.php:331
|
|
|
3186 |
msgid "Album overview"
|
3187 |
msgstr "Album Übersicht"
|
3188 |
|
3189 |
-
#: ../lib/shortcodes.php:
|
3190 |
msgid "[Pictures not found]"
|
3191 |
msgstr "[Bilder nicht gefunden]"
|
3192 |
|
@@ -3540,6 +3652,14 @@ msgstr "Album-ID %s existiert nicht"
|
|
3540 |
msgid "Invalid MediaRSS command"
|
3541 |
msgstr "Ungültiger Media-RSS-Befehl"
|
3542 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3543 |
#~ msgid "Currently not used, prepare database for upcoming version"
|
3544 |
#~ msgstr "Derzeit nicht genutzt, Vorbereitung für kommende Versionen"
|
3545 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: NextGEN Gallery\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-10-23 18:03+0100\n"
|
6 |
+
"PO-Revision-Date: 2011-10-30 21:01+0100\n"
|
7 |
"Last-Translator: Alex Rabe\n"
|
8 |
"Language-Team: Alex Rabe\n"
|
9 |
"MIME-Version: 1.0\n"
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
"X-Poedit-SearchPath-1: ..\n"
|
20 |
|
21 |
+
#: ../nggallery.php:100
|
22 |
msgid "<strong>Translation by : </strong><a target=\"_blank\" href=\"http://alexrabe.de/wordpress-plugins/nextgen-gallery/languages/\">See here</a>"
|
23 |
msgstr "<strong>Übersetzt von : </strong><a target=\"_blank\" href=\"http://alexrabe.de/wordpress-plugins/wordtube/translation-of-plugins/\">Alex Rabe</a>"
|
24 |
|
25 |
+
#: ../nggallery.php:101
|
26 |
+
msgid "<strong>This translation is not yet updated for Version 1.9.0</strong>. If you would like to help with translation, download the current po from the plugin folder and read <a href=\"http://alexrabe.de/wordpress-plugins/wordtube/translation-of-plugins/\">here</a> how you can translate the plugin."
|
27 |
msgstr "Sollten jemand Rechtschreibfehler, Deppenapostrophe oder andere deutsche Ungereimtheiten finden, freue ich mich jederzeit über einen kurzen Hinweis</p>"
|
28 |
|
29 |
+
#: ../nggallery.php:205
|
30 |
msgid "Sorry, NextGEN Gallery works only with a Memory Limit of 16 MB or higher"
|
31 |
msgstr "Tut mir leid, aber NextGEN-Galerie benötigt minimum 16MB Speicher (Memory Limit) oder mehr"
|
32 |
|
33 |
+
#: ../nggallery.php:225
|
34 |
msgid "Please update the database of NextGEN Gallery."
|
35 |
msgstr "Bitte aktualisiere die Datenbank von NextGEN Gallery."
|
36 |
|
37 |
+
#: ../nggallery.php:225
|
38 |
msgid "Click here to proceed."
|
39 |
msgstr "Hier klicken um fortzufahren."
|
40 |
|
41 |
+
#: ../nggallery.php:248
|
42 |
msgid "Picture tag"
|
43 |
msgstr "Bilder-Stichwort"
|
44 |
|
45 |
+
#: ../nggallery.php:249
|
46 |
msgid "Picture tag: %2$l."
|
47 |
msgstr "Bilder-Stichwort: %2$l."
|
48 |
|
49 |
+
#: ../nggallery.php:250
|
50 |
msgid "Separate picture tags with commas."
|
51 |
msgstr "Trenne Stichwörter mittels Komma"
|
52 |
|
53 |
+
#: ../nggallery.php:357
|
54 |
+
#: ../admin/admin.php:256
|
55 |
msgid "L O A D I N G"
|
56 |
msgstr "B I T T E W A R T E N"
|
57 |
|
58 |
+
#: ../nggallery.php:358
|
59 |
+
#: ../admin/admin.php:257
|
60 |
msgid "Click to Close"
|
61 |
msgstr "Klicken zum Schliessen "
|
62 |
|
63 |
+
#: ../nggallery.php:379
|
64 |
msgid "loading"
|
65 |
msgstr "lade..."
|
66 |
|
67 |
+
#: ../nggallery.php:517
|
68 |
+
#: ../nggfunctions.php:941
|
69 |
+
#: ../admin/admin.php:37
|
70 |
+
#: ../admin/admin.php:79
|
71 |
msgid "Overview"
|
72 |
msgstr "Übersicht"
|
73 |
|
74 |
+
#: ../nggallery.php:518
|
75 |
msgid "Get help"
|
76 |
msgstr "Hilfe"
|
77 |
|
78 |
+
#: ../nggallery.php:519
|
79 |
msgid "Contribute"
|
80 |
msgstr "Mithelfen"
|
81 |
|
82 |
+
#: ../nggallery.php:520
|
83 |
msgid "Donate"
|
84 |
msgstr "Spenden"
|
85 |
|
87 |
msgid "The <a href=\"http://www.macromedia.com/go/getflashplayer\">Flash Player</a> and <a href=\"http://www.mozilla.com/firefox/\">a browser with Javascript support</a> are needed."
|
88 |
msgstr "Es wird der <a href=\"http://www.macromedia.com/go/getflashplayer\">Adobe Flash Player</a> benötigt und <a href=\"http://www.mozilla.com/firefox/\">im Browser muss Javascript</a> aktiviert sein."
|
89 |
|
90 |
+
#: ../nggfunctions.php:164
|
91 |
+
#: ../nggfunctions.php:642
|
92 |
msgid "[Gallery not found]"
|
93 |
msgstr "[Galerie nicht gefunden]"
|
94 |
|
95 |
+
#: ../nggfunctions.php:450
|
96 |
msgid "[Album not found]"
|
97 |
msgstr "[Album nicht gefunden]"
|
98 |
|
99 |
+
#: ../nggfunctions.php:771
|
100 |
msgid "[SinglePic not found]"
|
101 |
msgstr "[Bild nicht gefunden]"
|
102 |
|
103 |
+
#: ../nggfunctions.php:906
|
104 |
msgid "Related images for"
|
105 |
msgstr "Verwandte Bilder von"
|
106 |
|
238 |
msgstr "Upload fehlgeschlagen!"
|
239 |
|
240 |
#: ../admin/addgallery.php:85
|
241 |
+
#: ../admin/addgallery.php:93
|
242 |
msgid "Upload failed! "
|
243 |
msgstr "Upload fehlgeschlagen!"
|
244 |
|
245 |
#: ../admin/addgallery.php:90
|
246 |
+
#: ../admin/functions.php:943
|
247 |
+
#: ../admin/functions.php:1043
|
248 |
msgid "No gallery selected !"
|
249 |
msgstr "Keine Galerie ausgewählt !"
|
250 |
|
251 |
+
#: ../admin/addgallery.php:180
|
252 |
+
#: ../admin/addgallery.php:263
|
253 |
msgid "Image Files"
|
254 |
msgstr "Bilder"
|
255 |
|
256 |
+
#: ../admin/addgallery.php:195
|
257 |
+
#: ../admin/addgallery.php:284
|
258 |
+
#: ../admin/addgallery.php:312
|
259 |
msgid "remove"
|
260 |
msgstr "Entfernen"
|
261 |
|
262 |
+
#: ../admin/addgallery.php:196
|
263 |
+
#: ../admin/addgallery.php:285
|
264 |
+
#: ../admin/addgallery.php:466
|
265 |
msgid "Browse..."
|
266 |
msgstr "Durchsuche..."
|
267 |
|
|
|
268 |
#: ../admin/addgallery.php:197
|
269 |
+
#: ../admin/addgallery.php:235
|
270 |
+
#: ../admin/addgallery.php:286
|
271 |
+
#: ../admin/addgallery.php:298
|
272 |
+
#: ../admin/addgallery.php:537
|
273 |
msgid "Upload images"
|
274 |
msgstr "Bilder hochladen"
|
275 |
|
276 |
+
#: ../admin/addgallery.php:376
|
277 |
+
#: ../admin/addgallery.php:484
|
278 |
msgid "Upload Images"
|
279 |
msgstr "Bilder hochladen"
|
280 |
|
281 |
+
#: ../admin/addgallery.php:379
|
282 |
+
#: ../admin/addgallery.php:396
|
283 |
#: ../admin/manage-galleries.php:119
|
284 |
#: ../admin/manage-galleries.php:156
|
285 |
msgid "Add new gallery"
|
286 |
msgstr "Neue Galerie erstellen"
|
287 |
|
288 |
+
#: ../admin/addgallery.php:382
|
289 |
+
#: ../admin/addgallery.php:418
|
290 |
msgid "Upload a Zip-File"
|
291 |
msgstr "Zip-Datei hochladen"
|
292 |
|
293 |
+
#: ../admin/addgallery.php:385
|
294 |
+
#: ../admin/addgallery.php:460
|
295 |
msgid "Import image folder"
|
296 |
msgstr "Bilder-Verzeichnis importieren"
|
297 |
|
298 |
+
#: ../admin/addgallery.php:401
|
299 |
#: ../admin/manage-galleries.php:279
|
300 |
msgid "New Gallery"
|
301 |
msgstr "Neue Galerie"
|
302 |
|
303 |
+
#: ../admin/addgallery.php:404
|
304 |
#: ../admin/manage-galleries.php:281
|
305 |
msgid "Create a new , empty gallery below the folder"
|
306 |
msgstr "Erstelle eine neue, leere Galerie unter dem Verzeichnis"
|
307 |
|
308 |
+
#: ../admin/addgallery.php:406
|
309 |
#: ../admin/manage-galleries.php:283
|
310 |
msgid "Allowed characters for file and folder names are"
|
311 |
msgstr "Erlaubte Zeichen für die Datei- und Verzeichnisnamen sind"
|
312 |
|
313 |
+
#: ../admin/addgallery.php:410
|
314 |
msgid "Add gallery"
|
315 |
msgstr "Galerie hinzufügen"
|
316 |
|
317 |
+
#: ../admin/addgallery.php:423
|
318 |
msgid "Select Zip-File"
|
319 |
msgstr "Wähle Zip-Datei"
|
320 |
|
321 |
+
#: ../admin/addgallery.php:425
|
322 |
msgid "Upload a zip file with images"
|
323 |
msgstr "Lade eine Zip-Datei mit Bildern hoch"
|
324 |
|
325 |
+
#: ../admin/addgallery.php:429
|
326 |
msgid "or enter a Zip-File URL"
|
327 |
msgstr "oder gib eine URL zur ZIP-Datei an"
|
328 |
|
329 |
+
#: ../admin/addgallery.php:431
|
330 |
msgid "Import a zip file with images from a url"
|
331 |
msgstr "Lade eine Zip-Datei mit Bildern über ein URL hoch"
|
332 |
|
333 |
+
#: ../admin/addgallery.php:435
|
334 |
+
#: ../admin/addgallery.php:512
|
335 |
msgid "in to"
|
336 |
msgstr "in"
|
337 |
|
338 |
+
#: ../admin/addgallery.php:437
|
339 |
msgid "a new gallery"
|
340 |
msgstr "eine neue Galerie"
|
341 |
|
342 |
+
#: ../admin/addgallery.php:448
|
343 |
msgid "Note : The upload limit on your server is "
|
344 |
msgstr "Hinweis : Das Upload-Limit auf dem Server beträgt "
|
345 |
|
346 |
+
#: ../admin/addgallery.php:452
|
347 |
msgid "Start upload"
|
348 |
msgstr "Upload starten"
|
349 |
|
350 |
+
#: ../admin/addgallery.php:465
|
351 |
msgid "Import from Server path:"
|
352 |
msgstr "Importieren aus Server-Pfad:"
|
353 |
|
354 |
+
#: ../admin/addgallery.php:468
|
355 |
msgid "Note : Change the default path in the gallery settings"
|
356 |
msgstr "Hinweis : Der Default-Pfad kann in den Einstellungen angepasst werden"
|
357 |
|
358 |
+
#: ../admin/addgallery.php:470
|
359 |
msgid " Please note : For safe-mode = ON you need to add the subfolder thumbs manually"
|
360 |
msgstr "Achtung : Da der Safe-Mode (PHP.INI) eingeschaltet ist, mußt Du das Unterverzeichnis für die Vorschaubilder (\"thumbs\") manuell (per FTP) anlegen"
|
361 |
|
362 |
+
#: ../admin/addgallery.php:473
|
363 |
msgid "Import folder"
|
364 |
msgstr "Verzeichnis importieren"
|
365 |
|
366 |
+
#: ../admin/addgallery.php:490
|
367 |
msgid "Upload image"
|
368 |
msgstr "Bild hochladen"
|
369 |
|
370 |
+
#: ../admin/addgallery.php:495
|
371 |
+
msgid "Choose files to upload"
|
372 |
+
msgstr "Wähle die Bilder zum Upload aus"
|
373 |
+
|
374 |
+
#: ../admin/addgallery.php:496
|
375 |
+
msgid "Select Files"
|
376 |
+
msgstr "Wähle Datei"
|
377 |
+
|
378 |
+
#: ../admin/addgallery.php:498
|
379 |
+
msgid "Or you can drop the files into this window."
|
380 |
+
msgstr "Du kannst auch die Bilder per Darg & Drop in den Browser schieben."
|
381 |
+
|
382 |
+
#: ../admin/addgallery.php:501
|
383 |
+
#, php-format
|
384 |
+
msgid "Scale images to max width %1$dpx or max height %2$dpx"
|
385 |
+
msgstr "Skaliere die Bilder mit einer max. Breite von %1$dpx oder max. Höhe von %2$dpx"
|
386 |
+
|
387 |
+
#: ../admin/addgallery.php:514
|
388 |
msgid "Choose gallery"
|
389 |
msgstr "Wähle Galerie"
|
390 |
|
391 |
+
#: ../admin/addgallery.php:533
|
392 |
msgid "The batch upload requires Adobe Flash 10, disable it if you have problems"
|
393 |
msgstr "Das Batch-Upload benötigt Adbode Flash 10, wenn es Probleme gibt deaktiviere es besser."
|
394 |
|
395 |
+
#: ../admin/addgallery.php:533
|
396 |
msgid "Disable flash upload"
|
397 |
msgstr "Deaktiviere Batch-Upload"
|
398 |
|
399 |
+
#: ../admin/addgallery.php:535
|
400 |
msgid "Upload multiple files at once by ctrl/shift-selecting in dialog"
|
401 |
msgstr "Wähle im Dialog mit Ctrl/Shift mehrere Bilder gleichzeitig aus."
|
402 |
|
403 |
+
#: ../admin/addgallery.php:535
|
404 |
msgid "Enable flash based upload"
|
405 |
msgstr "Aktiviere Flash Batch Upload"
|
406 |
|
407 |
+
#: ../admin/admin.php:36
|
408 |
+
#: ../admin/admin.php:59
|
409 |
+
#: ../admin/admin.php:78
|
410 |
+
#: ../admin/admin.php:352
|
411 |
+
#: ../admin/admin.php:444
|
412 |
#: ../admin/functions.php:178
|
413 |
#: ../admin/manage-galleries.php:127
|
414 |
#: ../admin/manage-galleries.php:407
|
418 |
msgstr[0] "Galerie"
|
419 |
msgstr[1] "Galerien"
|
420 |
|
421 |
+
#: ../admin/admin.php:38
|
422 |
+
#: ../admin/admin.php:81
|
423 |
msgid "Add Gallery / Images"
|
424 |
msgstr "Galerie / Bilder hinzufügen"
|
425 |
|
426 |
+
#: ../admin/admin.php:39
|
427 |
+
#: ../admin/admin.php:83
|
428 |
msgid "Manage Gallery"
|
429 |
msgstr "Galerie verwalten"
|
430 |
|
431 |
+
#: ../admin/admin.php:40
|
432 |
+
#: ../admin/admin.php:85
|
433 |
msgid "Album"
|
434 |
msgid_plural "Albums"
|
435 |
msgstr[0] "Album"
|
436 |
msgstr[1] "Alben"
|
437 |
|
438 |
+
#: ../admin/admin.php:41
|
439 |
+
#: ../admin/admin.php:87
|
440 |
msgid "Tags"
|
441 |
msgstr "Stichwörter"
|
442 |
|
443 |
+
#: ../admin/admin.php:42
|
444 |
+
#: ../admin/admin.php:89
|
445 |
msgid "Options"
|
446 |
msgstr "Optionen"
|
447 |
|
448 |
+
#: ../admin/admin.php:44
|
449 |
+
#: ../admin/admin.php:91
|
450 |
msgid "Style"
|
451 |
msgstr "Style"
|
452 |
|
453 |
+
#: ../admin/admin.php:46
|
454 |
msgid "Roles"
|
455 |
msgstr "Zugriff"
|
456 |
|
457 |
+
#: ../admin/admin.php:47
|
458 |
msgid "About this Gallery"
|
459 |
msgstr "Über diese Galerie"
|
460 |
|
461 |
+
#: ../admin/admin.php:47
|
462 |
+
#: ../admin/admin.php:92
|
463 |
msgid "About"
|
464 |
msgstr "Über"
|
465 |
|
466 |
+
#: ../admin/admin.php:50
|
467 |
+
#: ../admin/admin.php:61
|
|
|
|
|
|
|
|
|
468 |
msgid "Reset / Uninstall"
|
469 |
msgstr "Rücksetzen"
|
470 |
|
471 |
+
#: ../admin/admin.php:60
|
472 |
msgid "Network settings"
|
473 |
msgstr "Netzwerk Einstellungen"
|
474 |
|
475 |
+
#: ../admin/admin.php:131
|
476 |
#, php-format
|
477 |
msgid "Thanks for using this plugin, I hope you are satisfied ! If you would like to support the further development, please consider a <strong><a href=\"%s\">donation</a></strong>! If you still need some help, please post your questions <a href=\"http://wordpress.org/tags/nextgen-gallery?forum_id=10\">here</a> ."
|
478 |
msgstr "Vielen Dank, dass Du dieses Plugin nutzt. Ich hoffe, Du bist soweit zufrieden! Wenn Du die Weiterentwicklung unterstützen möchtest, würde ich mich über eine kleine <strong><a href=\"%s\">Spende</a></strong> freuen! Wenn Du Fragen oder Problem hast, schreib sie doch <a href=\"http://wordpress.org/tags/nextgen-gallery?forum_id=10\">hier</a> ins Forum."
|
479 |
|
480 |
+
#: ../admin/admin.php:134
|
481 |
msgid "OK, hide this message now !"
|
482 |
msgstr "OK, danke für die Info !"
|
483 |
|
484 |
+
#: ../admin/admin.php:213
|
485 |
msgid "You do not have the correct permission"
|
486 |
msgstr "Du hast keine Zugriffsrechte"
|
487 |
|
488 |
+
#: ../admin/admin.php:214
|
489 |
msgid "Unexpected Error"
|
490 |
msgstr "Unerwarteter Fehler"
|
491 |
|
492 |
+
#: ../admin/admin.php:215
|
493 |
msgid "A failure occurred"
|
494 |
msgstr "Ein Fehler ist aufgetreten"
|
495 |
|
496 |
+
#: ../admin/admin.php:219
|
497 |
+
msgid "You have attempted to queue too many files."
|
498 |
+
msgstr "Du hast zu viele Bilder versucht zu laden."
|
499 |
+
|
500 |
+
#: ../admin/admin.php:220
|
501 |
+
msgid "This file exceeds the maximum upload size for this site."
|
502 |
+
msgstr "Diese Datei übersteigt die zugelassene Uploadmenge."
|
503 |
+
|
504 |
+
#: ../admin/admin.php:221
|
505 |
+
msgid "This file is empty. Please try another."
|
506 |
+
msgstr "Diese Datei ist leer."
|
507 |
+
|
508 |
+
#: ../admin/admin.php:222
|
509 |
+
msgid "This file type is not allowed. Please try another."
|
510 |
+
msgstr "Dieser Dateityp ist nicht erlaubt."
|
511 |
+
|
512 |
+
#: ../admin/admin.php:223
|
513 |
+
msgid "This file is not an image. Please try another."
|
514 |
+
msgstr "Diese Datei ist kein Bild. Bitte versuche es mit einer anderen Datei."
|
515 |
+
|
516 |
+
#: ../admin/admin.php:224
|
517 |
+
msgid "Memory exceeded. Please try another smaller file."
|
518 |
+
msgstr "Speicher überschritten. Bitte verkleinere das Bild zuerst"
|
519 |
+
|
520 |
+
#: ../admin/admin.php:225
|
521 |
+
msgid "This is larger than the maximum size. Please try another."
|
522 |
+
msgstr "Die Datei ist zu groß. "
|
523 |
+
|
524 |
+
#: ../admin/admin.php:226
|
525 |
+
msgid "An error occurred in the upload. Please try again later."
|
526 |
+
msgstr "Ein Fehler trat während dem uplaod auf. Bitte verusche es später nochmal."
|
527 |
+
|
528 |
+
#: ../admin/admin.php:227
|
529 |
+
msgid "There was a configuration error. Please contact the server administrator."
|
530 |
+
msgstr "Es besteht ein Konfigurationsfehler."
|
531 |
+
|
532 |
+
#: ../admin/admin.php:228
|
533 |
+
msgid "You may only upload 1 file."
|
534 |
+
msgstr "Du kannst nur ein Bild uploaden."
|
535 |
+
|
536 |
+
#: ../admin/admin.php:229
|
537 |
+
msgid "HTTP error."
|
538 |
+
msgstr "HTTP Fehler."
|
539 |
+
|
540 |
+
#: ../admin/admin.php:230
|
541 |
+
msgid "Upload failed."
|
542 |
+
msgstr "Upload fehlgeschlagen!"
|
543 |
+
|
544 |
+
#: ../admin/admin.php:231
|
545 |
+
msgid "IO error."
|
546 |
+
msgstr "IO Fehler."
|
547 |
+
|
548 |
+
#: ../admin/admin.php:232
|
549 |
+
msgid "Security error."
|
550 |
+
msgstr "Sicherheitsfehler."
|
551 |
+
|
552 |
+
#: ../admin/admin.php:233
|
553 |
+
msgid "File canceled."
|
554 |
+
msgstr "Datei abbgebrochen."
|
555 |
+
|
556 |
+
#: ../admin/admin.php:234
|
557 |
+
msgid "Upload stopped."
|
558 |
+
msgstr "Upload angehalten."
|
559 |
+
|
560 |
+
#: ../admin/admin.php:235
|
561 |
+
msgid "Dismiss"
|
562 |
+
msgstr "Verwerfen"
|
563 |
+
|
564 |
+
#: ../admin/admin.php:236
|
565 |
+
msgid "Crunching…"
|
566 |
+
msgstr "Bearbeiten…"
|
567 |
+
|
568 |
+
#: ../admin/admin.php:237
|
569 |
+
msgid "moved to the trash."
|
570 |
+
msgstr "in den Papierkorb geschoben."
|
571 |
+
|
572 |
+
#: ../admin/admin.php:238
|
573 |
+
#, php-format
|
574 |
+
msgid "“%s” has failed to upload due to an error"
|
575 |
+
msgstr "“%s” konnte auf Grund eines Fehler nicht geladen werden."
|
576 |
+
|
577 |
+
#: ../admin/admin.php:356
|
578 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Introduction</a>"
|
579 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
|
580 |
|
581 |
+
#: ../admin/admin.php:359
|
582 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Setup</a>"
|
583 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Setup</a>"
|
584 |
|
585 |
+
#: ../admin/admin.php:362
|
586 |
msgid "<a href=\"http://alexrabe.de/wordpress-plugins/nextgen-gallery/languages/\" target=\"_blank\">Translation by alex rabe</a>"
|
587 |
msgstr "<a href=\"http://alexrabe.de/wordpress-plugins/nextgen-gallery/languages/\" target=\"_blank\">Unterstütze bei der Übersetzung</a>"
|
588 |
|
589 |
+
#: ../admin/admin.php:365
|
590 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Roles / Capabilities</a>"
|
591 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
|
592 |
|
593 |
+
#: ../admin/admin.php:368
|
594 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Styles</a>"
|
595 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
|
596 |
|
597 |
+
#: ../admin/admin.php:369
|
598 |
msgid "Templates"
|
599 |
msgstr "Vorlagen"
|
600 |
|
601 |
+
#: ../admin/admin.php:372
|
602 |
+
#: ../admin/admin.php:378
|
603 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery management</a>"
|
604 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
|
605 |
|
606 |
+
#: ../admin/admin.php:373
|
607 |
msgid "Gallery example"
|
608 |
msgstr "Galerie Beispiel"
|
609 |
|
610 |
+
#: ../admin/admin.php:379
|
611 |
+
#: ../admin/admin.php:389
|
612 |
msgid "Gallery tags"
|
613 |
msgstr "Galerie Stichwörter"
|
614 |
|
615 |
+
#: ../admin/admin.php:382
|
616 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Album management</a>"
|
617 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
|
618 |
|
619 |
+
#: ../admin/admin.php:383
|
620 |
msgid "Album example"
|
621 |
msgstr "Album Beispiel"
|
622 |
|
623 |
+
#: ../admin/admin.php:384
|
624 |
+
#: ../admin/admin.php:390
|
625 |
msgid "Album tags"
|
626 |
msgstr "Album Stichwörter"
|
627 |
|
628 |
+
#: ../admin/admin.php:387
|
629 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery tags</a>"
|
630 |
msgstr "<a href=\"http://www.curlyrob.de/curlyrob/?page_id=129\" target=\"_blank\">Einführung</a>"
|
631 |
|
632 |
+
#: ../admin/admin.php:388
|
633 |
msgid "Related images"
|
634 |
msgstr "Verwandte Bilder"
|
635 |
|
636 |
+
#: ../admin/admin.php:393
|
637 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-image-management/\" target=\"_blank\">Image management</a>"
|
638 |
msgstr "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-image-management/\" target=\"_blank\">Bilderverwaltung (englisch)</a>"
|
639 |
|
640 |
+
#: ../admin/admin.php:394
|
641 |
msgid "Custom fields"
|
642 |
msgstr "Spezialfelder"
|
643 |
|
644 |
+
#: ../admin/admin.php:399
|
645 |
msgid "Get help with NextGEN Gallery"
|
646 |
msgstr "Weitere Hilfe zu NextGEN Gallery"
|
647 |
|
648 |
+
#: ../admin/admin.php:403
|
649 |
msgid "More Help & Info"
|
650 |
msgstr "Weitere Hilfe & Informationen"
|
651 |
|
652 |
+
#: ../admin/admin.php:405
|
653 |
msgid "<a href=\"http://wordpress.org/tags/nextgen-gallery?forum_id=10\" target=\"_blank\">Support Forums</a>"
|
654 |
msgstr "<a href=\"http://wordpress.org/tags/nextgen-gallery?forum_id=10\" target=\"_blank\">Support Forum (englisch)</a>"
|
655 |
|
656 |
+
#: ../admin/admin.php:406
|
657 |
msgid "FAQ"
|
658 |
msgstr "FAQ (englisch)"
|
659 |
|
660 |
+
#: ../admin/admin.php:407
|
661 |
msgid "Feature request"
|
662 |
msgstr "Wünsch Dir was"
|
663 |
|
664 |
+
#: ../admin/admin.php:408
|
665 |
msgid "Get your language pack"
|
666 |
msgstr "Lade Deine Sprachdatei"
|
667 |
|
668 |
+
#: ../admin/admin.php:409
|
669 |
msgid "Contribute development"
|
670 |
msgstr "Entwicklung helfen"
|
671 |
|
672 |
+
#: ../admin/admin.php:410
|
673 |
msgid "Download latest version"
|
674 |
msgstr "Aktuelle Version downloaden"
|
675 |
|
710 |
msgstr "Kein Album ausgewählt"
|
711 |
|
712 |
#: ../admin/album.php:297
|
713 |
+
#: ../admin/edit-thumbnail.php:155
|
714 |
msgid "Update"
|
715 |
msgstr "Aktualisiere"
|
716 |
|
720 |
|
721 |
#: ../admin/album.php:302
|
722 |
#: ../admin/manage-galleries.php:146
|
723 |
+
#: ../admin/manage-images.php:448
|
724 |
msgid "Delete"
|
725 |
msgstr "Lösche"
|
726 |
|
803 |
#: ../admin/manage-galleries.php:288
|
804 |
#: ../admin/manage-galleries.php:317
|
805 |
#: ../admin/manage-galleries.php:347
|
806 |
+
#: ../admin/manage-images.php:533
|
807 |
+
#: ../admin/manage-images.php:569
|
808 |
+
#: ../admin/manage-images.php:598
|
809 |
+
#: ../admin/manage-images.php:628
|
810 |
msgid "OK"
|
811 |
msgstr "OK"
|
812 |
|
814 |
#: ../admin/manage-galleries.php:290
|
815 |
#: ../admin/manage-galleries.php:319
|
816 |
#: ../admin/manage-galleries.php:349
|
817 |
+
#: ../admin/manage-images.php:535
|
818 |
+
#: ../admin/manage-images.php:571
|
819 |
+
#: ../admin/manage-images.php:600
|
820 |
+
#: ../admin/manage-images.php:630
|
821 |
msgid "Cancel"
|
822 |
msgstr "Abbrechen"
|
823 |
|
824 |
+
#: ../admin/album.php:543
|
825 |
msgid "Name"
|
826 |
msgstr "Name"
|
827 |
|
828 |
+
#: ../admin/album.php:544
|
829 |
#: ../admin/manage-images.php:255
|
830 |
msgid "Title"
|
831 |
msgstr "Titel"
|
832 |
|
833 |
+
#: ../admin/album.php:545
|
834 |
msgid "Page"
|
835 |
msgstr "Seite"
|
836 |
|
837 |
+
#: ../admin/edit-thumbnail.php:105
|
838 |
msgid "Select with the mouse the area for the new thumbnail"
|
839 |
msgstr "Wähle mit der Maus den Bereich für das neue Thumbnail"
|
840 |
|
841 |
+
#: ../admin/edit-thumbnail.php:119
|
842 |
msgid "Thumbnail updated"
|
843 |
msgstr "Thumbnail geändert"
|
844 |
|
845 |
+
#: ../admin/edit-thumbnail.php:124
|
846 |
msgid "Error updating thumbnail"
|
847 |
msgstr "Konnte Vorschaubild nicht erzeugen"
|
848 |
|
849 |
+
#: ../admin/edit-thumbnail.php:140
|
850 |
msgid "Select the area for the thumbnail from the picture on the left."
|
851 |
msgstr "Wähle den Ausschnitt für das Vorschaubild innerhalb des Bildes"
|
852 |
|
878 |
|
879 |
#: ../admin/functions.php:76
|
880 |
#: ../admin/functions.php:85
|
881 |
+
#: ../admin/functions.php:902
|
882 |
msgid "Unable to create directory "
|
883 |
msgstr "Kann Verzeichnis nicht erstellen "
|
884 |
|
904 |
msgstr "Galerie ID %1$s erstellt..<br/>Du kannst diese Galerie jetzt mit dem Stichwort %2$s in einen Artikel einbinden.<br/>"
|
905 |
|
906 |
#: ../admin/functions.php:119
|
907 |
+
#: ../admin/functions.php:217
|
908 |
msgid "Edit gallery"
|
909 |
msgstr "Galerie ändern"
|
910 |
|
925 |
msgstr "erfolgreich erstellt!"
|
926 |
|
927 |
#: ../admin/functions.php:212
|
928 |
+
#: ../admin/functions.php:1019
|
929 |
#: ../admin/manage-galleries.php:81
|
930 |
#: ../admin/manage-galleries.php:148
|
931 |
#: ../admin/manage-images.php:203
|
932 |
+
#: ../admin/manage-images.php:342
|
933 |
#: ../admin/manage.php:223
|
934 |
#: ../admin/manage.php:299
|
935 |
msgid "Create new thumbnails"
|
939 |
msgid " picture(s) successfully added"
|
940 |
msgstr " Bild(er) erfolgreich hinzugefügt"
|
941 |
|
942 |
+
#: ../admin/functions.php:270
|
943 |
+
#: ../admin/functions.php:350
|
944 |
+
#: ../admin/functions.php:405
|
945 |
+
#: ../admin/functions.php:502
|
946 |
+
#: ../admin/functions.php:556
|
947 |
msgid "Object didn't contain correct data"
|
948 |
msgstr "Das Objekt enhält nicht die notwendigen Daten"
|
949 |
|
950 |
+
#: ../admin/functions.php:278
|
951 |
msgid " is not writeable "
|
952 |
msgstr "ist schreibgeschützt !"
|
953 |
|
954 |
+
#: ../admin/functions.php:360
|
955 |
+
#: ../admin/functions.php:408
|
956 |
+
#: ../admin/functions.php:508
|
957 |
+
#: ../admin/functions.php:559
|
958 |
msgid " is not writeable"
|
959 |
msgstr "ist schreibgeschützt !"
|
960 |
|
961 |
+
#: ../admin/functions.php:562
|
962 |
msgid "File do not exists"
|
963 |
msgstr "Datei existiert nicht"
|
964 |
|
965 |
+
#: ../admin/functions.php:566
|
966 |
msgid "Couldn't restore original image"
|
967 |
msgstr "Konnte Originalbild nicht wiederherstellen"
|
968 |
|
969 |
+
#: ../admin/functions.php:682
|
970 |
msgid "(Error : Couldn't not update data base)"
|
971 |
msgstr "(Fehler : Konnte Datenbank nicht updaten)"
|
972 |
|
973 |
+
#: ../admin/functions.php:689
|
974 |
msgid "(Error : Couldn't not update meta data)"
|
975 |
msgstr "(Fehler : Konnte Metadaten nicht speichern)"
|
976 |
|
977 |
+
#: ../admin/functions.php:698
|
978 |
msgid "(Error : Couldn't not find image)"
|
979 |
msgstr "(Fehler : Konnte das Bild nicht finden)"
|
980 |
|
981 |
+
#: ../admin/functions.php:836
|
982 |
msgid "No valid URL path "
|
983 |
msgstr "Kein gültiger URL-Pfad"
|
984 |
|
985 |
+
#: ../admin/functions.php:852
|
986 |
msgid "Import via cURL failed."
|
987 |
msgstr "Import via cURL abgebrochen"
|
988 |
|
989 |
+
#: ../admin/functions.php:869
|
990 |
msgid "Uploaded file was no or a faulty zip file ! The server recognized : "
|
991 |
msgstr "Die hochgeladene Datei war keine korrekte Zip-Datei. Servermeldung :"
|
992 |
|
993 |
+
#: ../admin/functions.php:886
|
994 |
msgid "Could not get a valid foldername"
|
995 |
msgstr "Konnte keinen gültigen Verzeichnisnamen finden"
|
996 |
|
997 |
+
#: ../admin/functions.php:897
|
998 |
#, php-format
|
999 |
msgid "Unable to create directory %s. Is its parent directory writable by the server?"
|
1000 |
msgstr "Kann das Verzeichnis %s nicht erstellen. Ist das Hauptverzeichnis vielleicht schreibgeschützt ?"
|
1001 |
|
1002 |
+
#: ../admin/functions.php:912
|
1003 |
msgid "Zip-File successfully unpacked"
|
1004 |
msgstr "Zip-Datei erfolgreich entpackt"
|
1005 |
|
1006 |
+
#: ../admin/functions.php:951
|
1007 |
+
#: ../admin/functions.php:1068
|
1008 |
msgid "Failure in database, no gallery path set !"
|
1009 |
msgstr "Datenbankfehler! Kein Galerie-Pfad gesetzt !"
|
1010 |
|
1011 |
+
#: ../admin/functions.php:975
|
1012 |
+
#: ../admin/functions.php:1062
|
1013 |
msgid "is no valid image file!"
|
1014 |
msgstr "ist keine zulässige Bilddatei !"
|
1015 |
|
1016 |
+
#: ../admin/functions.php:989
|
1017 |
+
#: ../admin/functions.php:1187
|
1018 |
+
#: ../admin/functions.php:1264
|
1019 |
#, php-format
|
1020 |
msgid "Unable to write to directory %s. Is this directory writable by the server?"
|
1021 |
msgstr "Kann das Verzeichnis %s nicht erstellen. Ist das Hauptverzeichnis vielleicht schreibgeschützt ?"
|
1022 |
|
1023 |
+
#: ../admin/functions.php:996
|
1024 |
+
#: ../admin/functions.php:1085
|
1025 |
msgid "Error, the file could not be moved to : "
|
1026 |
msgstr "Fehler: Diese Datei kann nicht verschoben werden zu :"
|
1027 |
|
1028 |
+
#: ../admin/functions.php:1001
|
1029 |
+
#: ../admin/functions.php:1089
|
1030 |
msgid "Error, the file permissions could not be set"
|
1031 |
msgstr "Fehler: Die Berechtigungen für diese Datei können nicht gesetzt werden"
|
1032 |
|
1033 |
+
#: ../admin/functions.php:1024
|
1034 |
msgid " Image(s) successfully added"
|
1035 |
msgstr " Bild(er) erfolgreich hinzugefügt"
|
1036 |
|
1037 |
+
#: ../admin/functions.php:1051
|
1038 |
msgid "Invalid upload. Error Code : "
|
1039 |
msgstr "Ungültiger Upload. Fehler Code :"
|
1040 |
|
1041 |
+
#: ../admin/functions.php:1127
|
1042 |
#, php-format
|
1043 |
msgid "SAFE MODE Restriction in effect! You need to create the folder <strong>%s</strong> manually"
|
1044 |
msgstr "SAFE MODE Einschränkungen ist aktiv. Du musst das Verzeichnis <strong>%s</strong> manuell anlegen."
|
1045 |
|
1046 |
+
#: ../admin/functions.php:1128
|
1047 |
#, php-format
|
1048 |
msgid "When safe_mode is on, PHP checks to see if the owner (%s) of the current script matches the owner (%s) of the file to be operated on by a file function or its directory"
|
1049 |
msgstr "Wenn der Safe-Mode eingeschaltet ist, überprüft PHP, ob der Besitzer (%s) des Skript mit dem Besitzer (%s) der Datei/Verzeichnis übereinstimmt."
|
1050 |
|
1051 |
+
#: ../admin/functions.php:1181
|
1052 |
+
#: ../admin/functions.php:1258
|
1053 |
msgid "The destination gallery does not exist"
|
1054 |
msgstr "Die ausgewählte Galerie existiert nicht"
|
1055 |
|
1056 |
+
#: ../admin/functions.php:1212
|
1057 |
#, php-format
|
1058 |
msgid "Failed to move image %1$s to %2$s"
|
1059 |
msgstr "Konnte das Bild %1$s nicht nach %2$s verschieben"
|
1060 |
|
1061 |
+
#: ../admin/functions.php:1232
|
1062 |
#, php-format
|
1063 |
msgid "Moved %1$s picture(s) to gallery : %2$s ."
|
1064 |
msgstr " %1$s Bild(er) in Galerie : %2$s verschoben."
|
1065 |
|
1066 |
+
#: ../admin/functions.php:1291
|
1067 |
#, php-format
|
1068 |
msgid "Failed to copy image %1$s to %2$s"
|
1069 |
msgstr "Konnte das Bild %1$s nicht nach %2$s kopieren"
|
1070 |
|
1071 |
+
#: ../admin/functions.php:1305
|
1072 |
#, php-format
|
1073 |
msgid "Failed to copy database row for picture %s"
|
1074 |
msgstr "Fehler bei der Datenbank-Operation für Bild %s"
|
1075 |
|
1076 |
+
#: ../admin/functions.php:1317
|
1077 |
#, php-format
|
1078 |
msgid "Image %1$s (%2$s) copied as image %3$s (%4$s) » The file already existed in the destination gallery."
|
1079 |
msgstr "Bild %1$s (%2$s) als Bild %3$s (%4$s) kopiert » Die Datei existierte bereits."
|
1080 |
|
1081 |
+
#: ../admin/functions.php:1320
|
1082 |
#, php-format
|
1083 |
msgid "Image %1$s (%2$s) copied as image %3$s (%4$s)"
|
1084 |
msgstr "Bild %1$s (%2$s) kopiert als Bild %3$s (%4$s)"
|
1085 |
|
1086 |
+
#: ../admin/functions.php:1329
|
1087 |
#, php-format
|
1088 |
msgid "Copied %1$s picture(s) to gallery: %2$s ."
|
1089 |
msgstr "Kopiere %1$s Bild(er) in die Galerie : %2$s ."
|
1090 |
|
1091 |
+
#: ../admin/functions.php:1437
|
1092 |
msgid "The uploaded file exceeds the upload_max_filesize directive in php.ini"
|
1093 |
msgstr "Die Datei überschreitet die erlaubte Grösse (upload_max_filesize) in der php.ini"
|
1094 |
|
1095 |
+
#: ../admin/functions.php:1440
|
1096 |
msgid "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form"
|
1097 |
msgstr "Die Datei ist zu gross"
|
1098 |
|
1099 |
+
#: ../admin/functions.php:1443
|
1100 |
msgid "The uploaded file was only partially uploaded"
|
1101 |
msgstr "Die Datei wurde nur teilweise hochgeladen"
|
1102 |
|
1103 |
+
#: ../admin/functions.php:1446
|
1104 |
msgid "No file was uploaded"
|
1105 |
msgstr "Keinen Datei wurde geladen"
|
1106 |
|
1107 |
+
#: ../admin/functions.php:1449
|
1108 |
msgid "Missing a temporary folder"
|
1109 |
msgstr "Konnte temporäres Verzeichnis nicht finden"
|
1110 |
|
1111 |
+
#: ../admin/functions.php:1452
|
1112 |
msgid "Failed to write file to disk"
|
1113 |
msgstr "Konnte Datei nicht speichern"
|
1114 |
|
1115 |
+
#: ../admin/functions.php:1455
|
1116 |
msgid "File upload stopped by extension"
|
1117 |
msgstr "Upload dieser Dateierweiterung nicht erlaubt"
|
1118 |
|
1119 |
+
#: ../admin/functions.php:1458
|
1120 |
msgid "Unknown upload error"
|
1121 |
msgstr "Unbekannter Uploadfehler"
|
1122 |
|
1128 |
msgid "NextGEN Gallery : Tables could not created, please check your database settings"
|
1129 |
msgstr "NextGEN Gallery : Tabellen konnten nicht erstellt werden, überprüfe Deine Datenbank"
|
1130 |
|
1131 |
+
#: ../admin/install.php:170
|
1132 |
msgid "[Show as slideshow]"
|
1133 |
msgstr "[Zeige als Diashow]"
|
1134 |
|
1135 |
+
#: ../admin/install.php:171
|
1136 |
msgid "[Show picture list]"
|
1137 |
msgstr "[Zeige Bilder-Liste]"
|
1138 |
|
1144 |
#: ../admin/manage-galleries.php:77
|
1145 |
#: ../admin/manage-galleries.php:149
|
1146 |
#: ../admin/manage-images.php:199
|
1147 |
+
#: ../admin/manage-images.php:343
|
1148 |
#: ../admin/manage.php:207
|
1149 |
#: ../admin/manage.php:285
|
1150 |
msgid "Resize images"
|
1169 |
msgstr "Suche Bilder"
|
1170 |
|
1171 |
#: ../admin/manage-galleries.php:145
|
1172 |
+
#: ../admin/manage-images.php:340
|
1173 |
msgid "Bulk actions"
|
1174 |
msgstr "Aktion wählen"
|
1175 |
|
1176 |
#: ../admin/manage-galleries.php:147
|
1177 |
+
#: ../admin/manage-images.php:341
|
1178 |
#: ../admin/manage.php:140
|
1179 |
#: ../admin/manage.php:249
|
1180 |
msgid "Set watermark"
|
1181 |
msgstr "Wasserzeichen setzen"
|
1182 |
|
1183 |
#: ../admin/manage-galleries.php:150
|
1184 |
+
#: ../admin/manage-images.php:346
|
1185 |
#: ../admin/manage.php:145
|
1186 |
#: ../admin/manage.php:269
|
1187 |
msgid "Import metadata"
|
1188 |
msgstr "Metadaten importieren"
|
1189 |
|
1190 |
#: ../admin/manage-galleries.php:151
|
1191 |
+
#: ../admin/manage-images.php:344
|
1192 |
#: ../admin/manage.php:135
|
1193 |
#: ../admin/manage.php:246
|
1194 |
msgid "Recover from backup"
|
1195 |
msgstr "Original wiederherstellen"
|
1196 |
|
1197 |
#: ../admin/manage-galleries.php:153
|
1198 |
+
#: ../admin/manage-images.php:355
|
1199 |
msgid "Apply"
|
1200 |
msgstr "Übernehmen"
|
1201 |
|
1204 |
msgstr "Bearbeiten"
|
1205 |
|
1206 |
#: ../admin/manage-galleries.php:261
|
1207 |
+
#: ../admin/manage-images.php:506
|
1208 |
msgid "No entries found"
|
1209 |
msgstr "Keine Einträge gefunden"
|
1210 |
|
1211 |
#: ../admin/manage-galleries.php:308
|
1212 |
+
#: ../admin/manage-images.php:589
|
1213 |
msgid "Resize Images to"
|
1214 |
msgstr "Verkleiner Bilder auf"
|
1215 |
|
1216 |
#: ../admin/manage-galleries.php:312
|
1217 |
+
#: ../admin/manage-images.php:593
|
1218 |
msgid "Width x height (in pixel). NextGEN Gallery will keep ratio size"
|
1219 |
msgstr "Breite x Höhe (in Pixel). Das Seitenverhältnis wird berücksichtigt."
|
1220 |
|
1221 |
#: ../admin/manage-galleries.php:336
|
1222 |
+
#: ../admin/manage-images.php:617
|
1223 |
msgid "Width x height (in pixel)"
|
1224 |
msgstr "Breite x Höhe (in Pixel)"
|
1225 |
|
1226 |
#: ../admin/manage-galleries.php:338
|
1227 |
+
#: ../admin/manage-images.php:619
|
1228 |
msgid "These values are maximum values "
|
1229 |
msgstr "Diese Angaben sind maximale Angaben."
|
1230 |
|
1231 |
#: ../admin/manage-galleries.php:341
|
1232 |
+
#: ../admin/manage-images.php:622
|
1233 |
msgid "Set fix dimension"
|
1234 |
msgstr "Setze feste Größe"
|
1235 |
|
1236 |
#: ../admin/manage-galleries.php:343
|
1237 |
+
#: ../admin/manage-images.php:624
|
1238 |
msgid "Ignore the aspect ratio, no portrait thumbnails"
|
1239 |
msgstr "Ignoriere Bildseitenverhältnis"
|
1240 |
|
1241 |
#: ../admin/manage-galleries.php:406
|
1242 |
+
#: ../admin/manage-images.php:694
|
1243 |
msgid "ID"
|
1244 |
msgstr "ID"
|
1245 |
|
1246 |
#: ../admin/manage-galleries.php:408
|
1247 |
#: ../admin/manage-images.php:266
|
1248 |
+
#: ../admin/manage-images.php:697
|
1249 |
msgid "Description"
|
1250 |
msgstr "Beschreibung"
|
1251 |
|
1252 |
#: ../admin/manage-galleries.php:409
|
1253 |
+
#: ../admin/manage-images.php:295
|
1254 |
msgid "Author"
|
1255 |
msgstr "Autor"
|
1256 |
|
1285 |
msgstr "Stichwörter hinzufügen"
|
1286 |
|
1287 |
#: ../admin/manage-images.php:191
|
1288 |
+
#: ../admin/manage-images.php:352
|
1289 |
msgid "Delete tags"
|
1290 |
msgstr "Stichwörter löschen"
|
1291 |
|
1325 |
msgid "No Picture"
|
1326 |
msgstr "Kein Bild"
|
1327 |
|
1328 |
+
#: ../admin/manage-images.php:293
|
1329 |
msgid "Path"
|
1330 |
msgstr "Pfad"
|
1331 |
|
1332 |
+
#: ../admin/manage-images.php:310
|
1333 |
msgid "Create new page"
|
1334 |
msgstr "Neue Seite erstellen"
|
1335 |
|
1336 |
+
#: ../admin/manage-images.php:313
|
1337 |
msgid "Main page (No parent)"
|
1338 |
msgstr "Hauptseite (keine Unterseite)"
|
1339 |
|
1340 |
+
#: ../admin/manage-images.php:316
|
1341 |
msgid "Add page"
|
1342 |
msgstr "Seite hinzufügen"
|
1343 |
|
1344 |
+
#: ../admin/manage-images.php:325
|
1345 |
msgid "Scan Folder for new images"
|
1346 |
msgstr "Überprüfe Verzeichnis nach neuen Bildern"
|
1347 |
|
1348 |
+
#: ../admin/manage-images.php:326
|
1349 |
+
#: ../admin/manage-images.php:361
|
1350 |
+
#: ../admin/manage-images.php:513
|
1351 |
msgid "Save Changes"
|
1352 |
msgstr "Änderungen speichern"
|
1353 |
|
1354 |
+
#: ../admin/manage-images.php:345
|
1355 |
msgid "Delete images"
|
1356 |
msgstr "Bilder löschen"
|
1357 |
|
1358 |
+
#: ../admin/manage-images.php:347
|
1359 |
msgid "Rotate images clockwise"
|
1360 |
msgstr "Rechts drehen"
|
1361 |
|
1362 |
+
#: ../admin/manage-images.php:348
|
1363 |
msgid "Rotate images counter-clockwise"
|
1364 |
msgstr "Links drehen"
|
1365 |
|
1366 |
+
#: ../admin/manage-images.php:349
|
1367 |
msgid "Copy to..."
|
1368 |
msgstr "Kopiere nach..."
|
1369 |
|
1370 |
+
#: ../admin/manage-images.php:350
|
1371 |
msgid "Move to..."
|
1372 |
msgstr "Verschiebe nach..."
|
1373 |
|
1374 |
+
#: ../admin/manage-images.php:351
|
1375 |
msgid "Add tags"
|
1376 |
msgstr "Stichwörter hinzufügen"
|
1377 |
|
1378 |
+
#: ../admin/manage-images.php:353
|
1379 |
msgid "Overwrite tags"
|
1380 |
msgstr "Stichwörter überschreiben"
|
1381 |
|
1382 |
+
#: ../admin/manage-images.php:358
|
1383 |
msgid "Sort gallery"
|
1384 |
msgstr "Sortiere Bilder"
|
1385 |
|
1386 |
+
#: ../admin/manage-images.php:434
|
1387 |
msgid "pixel"
|
1388 |
msgstr "pixel"
|
1389 |
|
1390 |
+
#: ../admin/manage-images.php:440
|
1391 |
#, php-format
|
1392 |
msgid "View \"%s\""
|
1393 |
msgstr "Anzeigen \"%s\""
|
1394 |
|
1395 |
+
#: ../admin/manage-images.php:440
|
1396 |
msgid "View"
|
1397 |
msgstr "Ansehen"
|
1398 |
|
1399 |
+
#: ../admin/manage-images.php:441
|
1400 |
msgid "Show Meta data"
|
1401 |
msgstr "Zeige Metadaten"
|
1402 |
|
1403 |
+
#: ../admin/manage-images.php:441
|
1404 |
msgid "Meta"
|
1405 |
msgstr "Meta"
|
1406 |
|
1407 |
+
#: ../admin/manage-images.php:442
|
1408 |
msgid "Customize thumbnail"
|
1409 |
msgstr "Thumbnails anpassen"
|
1410 |
|
1411 |
+
#: ../admin/manage-images.php:442
|
1412 |
msgid "Edit thumb"
|
1413 |
msgstr "Thumbnail ändern"
|
1414 |
|
1415 |
+
#: ../admin/manage-images.php:443
|
1416 |
msgid "Rotate"
|
1417 |
msgstr "Drehen"
|
1418 |
|
1419 |
+
#: ../admin/manage-images.php:445
|
1420 |
msgid "Publish this image"
|
1421 |
msgstr "Bild veröffentlichen"
|
1422 |
|
1423 |
+
#: ../admin/manage-images.php:445
|
1424 |
msgid "Publish"
|
1425 |
msgstr "Veröffentlichen"
|
1426 |
|
1427 |
+
#: ../admin/manage-images.php:447
|
1428 |
msgid "Recover"
|
1429 |
msgstr "Rücksetzen"
|
1430 |
|
1431 |
+
#: ../admin/manage-images.php:447
|
1432 |
#, php-format
|
1433 |
msgid "Recover \"%s\" ?"
|
1434 |
msgstr " \"%s\" wiederherstellen ?"
|
1435 |
|
1436 |
+
#: ../admin/manage-images.php:448
|
1437 |
#, php-format
|
1438 |
msgid "Delete \"%s\" ?"
|
1439 |
msgstr "Lösche \"%s\" ?"
|
1440 |
|
1441 |
+
#: ../admin/manage-images.php:529
|
1442 |
msgid "Enter the tags"
|
1443 |
msgstr "Stichwörter angeben"
|
1444 |
|
1445 |
+
#: ../admin/manage-images.php:553
|
1446 |
msgid "Select the destination gallery:"
|
1447 |
msgstr "Galerie auswählen:"
|
1448 |
|
1449 |
+
#: ../admin/manage-images.php:695
|
1450 |
msgid "Thumbnail"
|
1451 |
msgstr "Thumbnail"
|
1452 |
|
1453 |
+
#: ../admin/manage-images.php:696
|
1454 |
#: ../admin/manage-sort.php:77
|
1455 |
msgid "Filename"
|
1456 |
msgstr "Dateiname"
|
1457 |
|
1458 |
+
#: ../admin/manage-images.php:697
|
1459 |
msgid "Alt & Title Text"
|
1460 |
msgstr "Alt & Titel Text"
|
1461 |
|
1462 |
+
#: ../admin/manage-images.php:698
|
1463 |
msgid "Tags (comma separated list)"
|
1464 |
msgstr "Stichwörter (Tags)"
|
1465 |
|
1466 |
+
#: ../admin/manage-images.php:699
|
1467 |
msgid "exclude"
|
1468 |
msgstr "ausschließen"
|
1469 |
|
1557 |
msgid "Published a new post"
|
1558 |
msgstr "Verföffentliche einen neuen Beitrag"
|
1559 |
|
1560 |
+
#: ../admin/manage.php:582
|
1561 |
#, php-format
|
1562 |
msgid "1 item"
|
1563 |
msgid_plural "%s items"
|
1564 |
msgstr[0] "1 Element"
|
1565 |
msgstr[1] "%s Elemente"
|
1566 |
|
1567 |
+
#: ../admin/media-upload.php:11
|
1568 |
+
msgid "NextGEN Gallery"
|
1569 |
+
msgstr "NextGEN Gallery"
|
1570 |
+
|
1571 |
#: ../admin/media-upload.php:166
|
1572 |
msgid "No gallery"
|
1573 |
msgstr "Keine Galerie"
|
1595 |
|
1596 |
#: ../admin/media-upload.php:232
|
1597 |
#: ../admin/publish.php:57
|
1598 |
+
#: ../admin/settings.php:480
|
1599 |
msgid "None"
|
1600 |
msgstr "Keiner"
|
1601 |
|
1618 |
msgstr "Rechts"
|
1619 |
|
1620 |
#: ../admin/media-upload.php:242
|
1621 |
+
#: ../admin/settings.php:587
|
1622 |
msgid "Size"
|
1623 |
msgstr "Größe"
|
1624 |
|
1691 |
msgid "Help translating it."
|
1692 |
msgstr "Hilf das Plugin zu übersetzen."
|
1693 |
|
1694 |
+
#: ../admin/overview.php:252
|
1695 |
msgid "Running..."
|
1696 |
msgstr "Läuft... Bitte warten"
|
1697 |
|
1698 |
+
#: ../admin/overview.php:299
|
1699 |
msgid "Check plugin/theme conflict"
|
1700 |
msgstr "Plugin/Theme Konflikt prüfen"
|
1701 |
|
1702 |
+
#: ../admin/overview.php:300
|
1703 |
+
#: ../admin/overview.php:306
|
1704 |
+
#: ../admin/overview.php:312
|
1705 |
msgid "Not tested"
|
1706 |
msgstr "Nicht getested"
|
1707 |
|
1708 |
+
#: ../admin/overview.php:301
|
1709 |
msgid "No conflict could be detected"
|
1710 |
msgstr "Es konnte kein Konflikt festgestellt werden"
|
1711 |
|
1712 |
+
#: ../admin/overview.php:302
|
1713 |
msgid "Test failed, disable other plugins & switch to default theme"
|
1714 |
msgstr "Test fehlgeschlagen, deaktiviere andere Plugins & aktiviere das Default Theme"
|
1715 |
|
1716 |
+
#: ../admin/overview.php:305
|
1717 |
msgid "Test image function"
|
1718 |
msgstr "Teste Bildbearbeitung"
|
1719 |
|
1720 |
+
#: ../admin/overview.php:307
|
1721 |
msgid "The plugin could create images"
|
1722 |
msgstr "Es konnte ein Bild erstellt werden"
|
1723 |
|
1724 |
+
#: ../admin/overview.php:308
|
1725 |
msgid "Couldn't create image, check your memory limit"
|
1726 |
msgstr "Konne kein Bild erzeugen, überprüfe dein Speicherlimit (Server)"
|
1727 |
|
1728 |
+
#: ../admin/overview.php:311
|
1729 |
msgid "Check theme compatibility"
|
1730 |
msgstr "Theme Kompatibilität prüfen"
|
1731 |
|
1732 |
+
#: ../admin/overview.php:313
|
1733 |
msgid "Your theme should work fine with NextGEN Gallery"
|
1734 |
msgstr "Dein Theme sollte mit NextGEN Gallery funktionieren"
|
1735 |
|
1736 |
+
#: ../admin/overview.php:314
|
1737 |
msgid "wp_head()/wp_footer() is missing, contact the theme author"
|
1738 |
msgstr "wp_head()/wp_footer() wurde nicht gefunden, kontaktiere den Theme Author"
|
1739 |
|
1740 |
+
#: ../admin/overview.php:318
|
1741 |
msgid "Check plugin"
|
1742 |
msgstr "Plugin prüfen"
|
1743 |
|
1744 |
+
#: ../admin/overview.php:339
|
1745 |
msgid "Graphic Library"
|
1746 |
msgstr "Grafik-Bibliothek"
|
1747 |
|
1748 |
+
#: ../admin/overview.php:355
|
1749 |
+
#: ../admin/overview.php:404
|
1750 |
+
#: ../admin/overview.php:591
|
1751 |
+
#: ../admin/overview.php:781
|
1752 |
msgid "Loading…"
|
1753 |
msgstr "Lade…"
|
1754 |
|
1755 |
+
#: ../admin/overview.php:355
|
1756 |
+
#: ../admin/overview.php:404
|
1757 |
+
#: ../admin/overview.php:591
|
1758 |
+
#: ../admin/overview.php:781
|
1759 |
msgid "This widget requires JavaScript."
|
1760 |
msgstr "Dieses Widget braucht JavaScript."
|
1761 |
|
1762 |
+
#: ../admin/overview.php:368
|
1763 |
msgid "Thanks to all donators..."
|
1764 |
msgstr "Danke an alle Spender..."
|
1765 |
|
1766 |
+
#: ../admin/overview.php:390
|
1767 |
msgid "View all"
|
1768 |
msgstr "Alle ansehen"
|
1769 |
|
1770 |
+
#: ../admin/overview.php:416
|
1771 |
#, php-format
|
1772 |
msgid "Newsfeed could not be loaded. Check the <a href=\"%s\">front page</a> to check for updates."
|
1773 |
msgstr "Der Newsfeed kann nicht geladen werden. Schaue auf die <a href=\"%s\">Hauptseite</a>, um Updates mitzubekommen."
|
1774 |
|
1775 |
+
#: ../admin/overview.php:428
|
1776 |
msgid "Untitled"
|
1777 |
msgstr "Kein Titel"
|
1778 |
|
1779 |
+
#: ../admin/overview.php:478
|
1780 |
msgid "At a Glance"
|
1781 |
msgstr "Übersicht"
|
1782 |
|
1783 |
+
#: ../admin/overview.php:504
|
1784 |
msgid "Upload pictures"
|
1785 |
msgstr "Bilder hochladen"
|
1786 |
|
1787 |
+
#: ../admin/overview.php:505
|
1788 |
msgid "Here you can control your images, galleries and albums."
|
1789 |
msgstr "Hier kannst Du die Bilder, Galerien und Alben verwalten."
|
1790 |
|
1791 |
+
#: ../admin/overview.php:535
|
1792 |
msgid "Storage Space"
|
1793 |
msgstr "Speicherplatz"
|
1794 |
|
1795 |
+
#: ../admin/overview.php:539
|
1796 |
#, php-format
|
1797 |
msgid "<a href=\"%1$s\" title=\"Manage Uploads\" class=\"musublink\">%2$sMB</a>"
|
1798 |
msgstr "<a href=\"%1$s\" title=\"Verwalte Uploads\" class=\"musublink\">%2$sMB</a>"
|
1799 |
|
1800 |
+
#: ../admin/overview.php:540
|
1801 |
msgid "Space Allowed"
|
1802 |
msgstr "Speicher verfügbar"
|
1803 |
|
1804 |
+
#: ../admin/overview.php:547
|
1805 |
#, php-format
|
1806 |
msgid "<a href=\"%1$s\" title=\"Manage Uploads\" class=\"musublink\">%2$sMB (%3$s%%)</a>"
|
1807 |
msgstr "<a href=\"%1$s\" title=\"Verwalte Uploads\" class=\"musublink\">%2$sMB (%3$s%%)</a>"
|
1808 |
|
1809 |
+
#: ../admin/overview.php:548
|
1810 |
msgid "Space Used"
|
1811 |
msgstr "Verbrauchter Uploadspeicher"
|
1812 |
|
1813 |
+
#: ../admin/overview.php:577
|
1814 |
msgid "Translation file successful updated. Please reload page."
|
1815 |
msgstr "Übersetzungsdatei aktualisiert. Bitte Seite neu laden."
|
1816 |
|
1817 |
+
#: ../admin/overview.php:579
|
1818 |
msgid "Reload page"
|
1819 |
msgstr "Seite neu laden"
|
1820 |
|
1821 |
+
#: ../admin/overview.php:584
|
1822 |
msgid "Translation file couldn't be updated"
|
1823 |
msgstr "Übersetzung konnte nicht aktualisiert werden"
|
1824 |
|
1825 |
+
#: ../admin/overview.php:621
|
1826 |
msgid "Download"
|
1827 |
msgstr "Jetzt updaten"
|
1828 |
|
1829 |
+
#: ../admin/overview.php:650
|
1830 |
msgid "No GD support"
|
1831 |
msgstr "Keine GD Unterstützung"
|
1832 |
|
1833 |
+
#: ../admin/overview.php:662
|
1834 |
+
#: ../admin/overview.php:708
|
1835 |
+
#: ../admin/overview.php:711
|
1836 |
+
#: ../admin/overview.php:714
|
1837 |
msgid "Yes"
|
1838 |
msgstr "Ja"
|
1839 |
|
1840 |
+
#: ../admin/overview.php:664
|
1841 |
+
#: ../admin/overview.php:709
|
1842 |
+
#: ../admin/overview.php:712
|
1843 |
+
#: ../admin/overview.php:715
|
1844 |
msgid "No"
|
1845 |
msgstr "Nein"
|
1846 |
|
1847 |
+
#: ../admin/overview.php:682
|
1848 |
msgid "Not set"
|
1849 |
msgstr "Nicht gesetzt"
|
1850 |
|
1851 |
+
#: ../admin/overview.php:684
|
1852 |
+
#: ../admin/overview.php:687
|
1853 |
msgid "On"
|
1854 |
msgstr "An"
|
1855 |
|
1856 |
+
#: ../admin/overview.php:685
|
1857 |
+
#: ../admin/overview.php:688
|
1858 |
msgid "Off"
|
1859 |
msgstr "Aus"
|
1860 |
|
1861 |
+
#: ../admin/overview.php:691
|
1862 |
+
#: ../admin/overview.php:694
|
1863 |
+
#: ../admin/overview.php:697
|
1864 |
+
#: ../admin/overview.php:700
|
1865 |
+
#: ../admin/overview.php:703
|
1866 |
+
#: ../admin/overview.php:706
|
1867 |
msgid "N/A"
|
1868 |
msgstr "N/A"
|
1869 |
|
1870 |
+
#: ../admin/overview.php:705
|
1871 |
msgid " MByte"
|
1872 |
msgstr " MByte"
|
1873 |
|
1874 |
+
#: ../admin/overview.php:718
|
1875 |
msgid "Operating System"
|
1876 |
msgstr "Betriebssystem"
|
1877 |
|
1878 |
+
#: ../admin/overview.php:719
|
1879 |
msgid "Server"
|
1880 |
msgstr "Server"
|
1881 |
|
1882 |
+
#: ../admin/overview.php:720
|
1883 |
msgid "Memory usage"
|
1884 |
msgstr "Speicherverbrauch"
|
1885 |
|
1886 |
+
#: ../admin/overview.php:721
|
1887 |
msgid "MYSQL Version"
|
1888 |
msgstr "MySQL Version"
|
1889 |
|
1890 |
+
#: ../admin/overview.php:722
|
1891 |
msgid "SQL Mode"
|
1892 |
msgstr "SQL Modus"
|
1893 |
|
1894 |
+
#: ../admin/overview.php:723
|
1895 |
msgid "PHP Version"
|
1896 |
msgstr "PHP Version"
|
1897 |
|
1898 |
+
#: ../admin/overview.php:724
|
1899 |
msgid "PHP Safe Mode"
|
1900 |
msgstr "PHP Safe Mode"
|
1901 |
|
1902 |
+
#: ../admin/overview.php:725
|
1903 |
msgid "PHP Allow URL fopen"
|
1904 |
msgstr "PHP Allow URL fopen"
|
1905 |
|
1906 |
+
#: ../admin/overview.php:726
|
1907 |
msgid "PHP Memory Limit"
|
1908 |
msgstr "PHP Memory Limit"
|
1909 |
|
1910 |
+
#: ../admin/overview.php:727
|
1911 |
msgid "PHP Max Upload Size"
|
1912 |
msgstr "PHP Max Upload Größe"
|
1913 |
|
1914 |
+
#: ../admin/overview.php:728
|
1915 |
msgid "PHP Max Post Size"
|
1916 |
msgstr "PHP Max Post Größe"
|
1917 |
|
1918 |
+
#: ../admin/overview.php:729
|
1919 |
msgid "PCRE Backtracking Limit"
|
1920 |
msgstr "PCRE Backtracking Limit"
|
1921 |
|
1922 |
+
#: ../admin/overview.php:730
|
1923 |
msgid "PHP Max Script Execute Time"
|
1924 |
msgstr "PHP Max Script Execute Time"
|
1925 |
|
1926 |
+
#: ../admin/overview.php:731
|
1927 |
msgid "PHP Exif support"
|
1928 |
msgstr "PHP Exif Modul"
|
1929 |
|
1930 |
+
#: ../admin/overview.php:732
|
1931 |
msgid "PHP IPTC support"
|
1932 |
msgstr "PHP IPTC Modul"
|
1933 |
|
1934 |
+
#: ../admin/overview.php:733
|
1935 |
msgid "PHP XML support"
|
1936 |
msgstr "PHP XML Modul"
|
1937 |
|
1938 |
+
#: ../admin/overview.php:745
|
1939 |
msgid "NextGEN Gallery contains some functions which are only available under PHP 5.2. You are using the old PHP 4 version, upgrade now! It's no longer supported by the PHP group. Many shared hosting providers offer both PHP 4 and PHP 5, running simultaneously. Ask your provider if they can do this."
|
1940 |
msgstr "NextGEN Gallery enthält einige Funktionen, die nur unter PHP 5.2 verfügbar sind. Du nutzt immer noch die alte PHP 4 Version. Bitte aktualisiere so bald wie möglich diese Version, sie wird nicht mehr gepflegt und weiterentwicklelt. Die meisten Hoster bieten bereits PHP5 an. Bitte kontaktiere Deinen Provider und frag kurz nach, ob sie ein Update durchführen können."
|
1941 |
|
1942 |
+
#: ../admin/overview.php:841
|
1943 |
msgid "Install"
|
1944 |
msgstr "Installieren"
|
1945 |
|
1946 |
+
#: ../admin/pointer.php:22
|
1947 |
+
msgid "<h3>Client side resize</h3><p>You can now resize the images before you start with the upload.</p>"
|
1948 |
+
msgstr "<h3>Neue Funktion</h3><p>Du kannst nun die Bilder bereits vor dem Upload beschneiden.</p>"
|
1949 |
+
|
1950 |
#: ../admin/publish.php:45
|
1951 |
msgid "Post title"
|
1952 |
msgstr "Beitragstitel"
|
2043 |
msgid "Cache cleared"
|
2044 |
msgstr "Cache löschen"
|
2045 |
|
2046 |
+
#: ../admin/settings.php:217
|
2047 |
+
#: ../admin/settings.php:236
|
2048 |
msgid "General Options"
|
2049 |
msgstr "Allg. Optionen"
|
2050 |
|
2051 |
+
#: ../admin/settings.php:218
|
2052 |
+
#: ../admin/settings.php:417
|
2053 |
msgid "Thumbnails"
|
2054 |
msgstr "Thumbnails"
|
2055 |
|
2056 |
+
#: ../admin/settings.php:219
|
2057 |
msgid "Images"
|
2058 |
msgstr "Bilder"
|
2059 |
|
2060 |
+
#: ../admin/settings.php:221
|
2061 |
+
#: ../admin/settings.php:469
|
2062 |
msgid "Effects"
|
2063 |
msgstr "Effekte"
|
2064 |
|
2065 |
+
#: ../admin/settings.php:222
|
2066 |
+
#: ../admin/settings.php:511
|
2067 |
#: ../admin/tinymce/window.php:110
|
2068 |
msgid "Watermark"
|
2069 |
msgstr "Wasserzeichen"
|
2070 |
|
2071 |
+
#: ../admin/settings.php:223
|
2072 |
+
#: ../admin/settings.php:418
|
2073 |
+
#: ../admin/settings.php:618
|
2074 |
#: ../admin/tinymce/window.php:63
|
2075 |
msgid "Slideshow"
|
2076 |
msgstr "Slideshow"
|
2077 |
|
2078 |
+
#: ../admin/settings.php:242
|
2079 |
#: ../admin/wpmu.php:68
|
2080 |
msgid "Gallery path"
|
2081 |
msgstr "Galerie-Pfad"
|
2082 |
|
2083 |
+
#: ../admin/settings.php:244
|
2084 |
msgid "This is the default path for all galleries"
|
2085 |
msgstr "Dies ist der Standard-Pfad für alle Galerien"
|
2086 |
|
2087 |
+
#: ../admin/settings.php:247
|
2088 |
msgid "Delete image files"
|
2089 |
msgstr "Lösche Bilddateien"
|
2090 |
|
2091 |
+
#: ../admin/settings.php:249
|
2092 |
msgid "Delete files, when removing a gallery in the database"
|
2093 |
msgstr "Löscht auch die Dateien, falls die Galerie aus der Datenbank entfernt wird"
|
2094 |
|
2095 |
+
#: ../admin/settings.php:252
|
2096 |
msgid "Activate permalinks"
|
2097 |
msgstr "Aktiviere Permalinks"
|
2098 |
|
2099 |
+
#: ../admin/settings.php:254
|
2100 |
msgid "When you activate this option, you need to update your permalink structure one time."
|
2101 |
msgstr "Wenn Du diese Option aktivierst, muss Du einmal die Permalink Struktur aktualisieren."
|
2102 |
|
2103 |
+
#: ../admin/settings.php:255
|
2104 |
msgid "Gallery slug name :"
|
2105 |
msgstr "Galerie Schlagwort :"
|
2106 |
|
2107 |
+
#: ../admin/settings.php:259
|
2108 |
msgid "Create new URL friendly image slugs"
|
2109 |
msgstr "Erstelle neue URL lesbare Schlagwörter "
|
2110 |
|
2111 |
+
#: ../admin/settings.php:260
|
2112 |
+
#: ../admin/settings.php:371
|
2113 |
msgid "Proceed now"
|
2114 |
msgstr "Jetzt durchführen"
|
2115 |
|
2116 |
+
#: ../admin/settings.php:263
|
2117 |
msgid "Select graphic library"
|
2118 |
msgstr "Wähle Grafik-Bibliothek"
|
2119 |
|
2120 |
+
#: ../admin/settings.php:264
|
2121 |
msgid "GD Library"
|
2122 |
msgstr "GD Bibliothek"
|
2123 |
|
2124 |
+
#: ../admin/settings.php:265
|
2125 |
msgid "ImageMagick (Experimental). Path to the library :"
|
2126 |
msgstr "ImageMagick (Experimental). Pfad zur Bibliothek :"
|
2127 |
|
2128 |
+
#: ../admin/settings.php:270
|
2129 |
msgid "Activate Media RSS feed"
|
2130 |
msgstr "Aktiviere Media-RSS-Feed"
|
2131 |
|
2132 |
+
#: ../admin/settings.php:272
|
2133 |
msgid "A RSS feed will be added to you blog header. Useful for CoolIris/PicLens"
|
2134 |
msgstr "Ein Bilder-RSS Feed wird zum Blog hinzugefügt"
|
2135 |
|
2136 |
+
#: ../admin/settings.php:275
|
2137 |
msgid "Activate PicLens/CoolIris support"
|
2138 |
msgstr "Aktiviere PicLens/CoolIris"
|
2139 |
|
2140 |
+
#: ../admin/settings.php:277
|
2141 |
msgid "When you activate this option, some javascript is added to your site footer. Make sure that wp_footer is called in your theme."
|
2142 |
msgstr "Dieser Effekt fügt ein neues Javascript zu Deinem Theme hinzu. Beachte, dass wp_footer() in Deinen Vorlagen aufgerufen wird."
|
2143 |
|
2144 |
+
#: ../admin/settings.php:280
|
2145 |
msgid "Tags / Categories"
|
2146 |
msgstr "Stichwörter / Kategorien"
|
2147 |
|
2148 |
+
#: ../admin/settings.php:283
|
2149 |
msgid "Activate related images"
|
2150 |
msgstr "Verwandte Bilder anzeigen"
|
2151 |
|
2152 |
+
#: ../admin/settings.php:285
|
2153 |
msgid "This option will append related images to every post"
|
2154 |
msgstr "Diese Option hängt verwandte Bilder an jeden Beitrag"
|
2155 |
|
2156 |
+
#: ../admin/settings.php:289
|
2157 |
msgid "Match with"
|
2158 |
msgstr "Vergleiche mit"
|
2159 |
|
2160 |
+
#: ../admin/settings.php:290
|
2161 |
msgid "Categories"
|
2162 |
msgstr "Kategorien"
|
2163 |
|
2164 |
+
#: ../admin/settings.php:295
|
2165 |
msgid "Max. number of images"
|
2166 |
msgstr "Max. Anzahl der Bilder"
|
2167 |
|
2168 |
+
#: ../admin/settings.php:297
|
2169 |
msgid "0 will show all images"
|
2170 |
msgstr "0 zeige alle verwandten Bilder"
|
2171 |
|
2172 |
+
#: ../admin/settings.php:301
|
2173 |
+
#: ../admin/settings.php:332
|
2174 |
+
#: ../admin/settings.php:374
|
2175 |
+
#: ../admin/settings.php:459
|
2176 |
+
#: ../admin/settings.php:494
|
2177 |
+
#: ../admin/settings.php:755
|
2178 |
msgid "More settings"
|
2179 |
msgstr "Mehr Einstellungen"
|
2180 |
|
2181 |
+
#: ../admin/settings.php:311
|
2182 |
msgid "Thumbnail settings"
|
2183 |
msgstr "Thumbnail-Einstellungen"
|
2184 |
|
2185 |
+
#: ../admin/settings.php:315
|
2186 |
msgid "Please note : If you change the settings, you need to recreate the thumbnails under -> Manage Gallery ."
|
2187 |
msgstr "Bitte beachten : Änderungen der Einstellungen werden erst übernommen, wenn Du neue Thumbnails unter -> \"Gallery verwalten\" erstellst"
|
2188 |
|
2189 |
+
#: ../admin/settings.php:328
|
2190 |
msgid "Thumbnail quality"
|
2191 |
msgstr "Thumbnail Qualität"
|
2192 |
|
2193 |
+
#: ../admin/settings.php:342
|
2194 |
msgid "Image settings"
|
2195 |
msgstr "Bild-Einstellungen"
|
2196 |
|
2197 |
+
#: ../admin/settings.php:348
|
2198 |
msgid "Resize Images"
|
2199 |
msgstr "Bilder verkleinern"
|
2200 |
|
2201 |
+
#: ../admin/settings.php:353
|
2202 |
msgid "Image quality"
|
2203 |
msgstr "Bild Qualität"
|
2204 |
|
2205 |
+
#: ../admin/settings.php:357
|
2206 |
msgid "Backup original images"
|
2207 |
msgstr "Backup von Original-Bildern "
|
2208 |
|
2209 |
+
#: ../admin/settings.php:359
|
2210 |
msgid "Creates a backup for inserted images"
|
2211 |
msgstr "Backup der Bilder anlegen"
|
2212 |
|
2213 |
+
#: ../admin/settings.php:362
|
2214 |
msgid "Automatically resize"
|
2215 |
msgstr "Grösse automatisch anpassen"
|
2216 |
|
2217 |
+
#: ../admin/settings.php:364
|
2218 |
msgid "Automatically resize images on upload."
|
2219 |
msgstr "Passt die Grösse automatisch beim Upload an"
|
2220 |
|
2221 |
+
#: ../admin/settings.php:367
|
2222 |
msgid "Single picture"
|
2223 |
msgstr "Einzelbilder"
|
2224 |
|
2225 |
+
#: ../admin/settings.php:370
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2226 |
msgid "Clear cache folder"
|
2227 |
msgstr "Lösche Cache-Verzeichnis"
|
2228 |
|
2229 |
+
#: ../admin/settings.php:391
|
2230 |
msgid "Deactivate gallery page link"
|
2231 |
msgstr "Keine Seitenverzweigung"
|
2232 |
|
2233 |
+
#: ../admin/settings.php:393
|
2234 |
msgid "The album will not link to a gallery subpage. The gallery is shown on the same page."
|
2235 |
msgstr "Ein Album benötigt dann keinen Link zur Seite. Die Galerie wird direkt angezeigt."
|
2236 |
|
2237 |
+
#: ../admin/settings.php:397
|
2238 |
msgid "Number of images per page"
|
2239 |
msgstr "Anzahl der Bilder pro Seite"
|
2240 |
|
2241 |
+
#: ../admin/settings.php:399
|
2242 |
msgid "0 will disable pagination, all images on one page"
|
2243 |
msgstr "0 schaltet Blätterfunktion ab ( = alle Bilder auf einer Seite )"
|
2244 |
|
2245 |
+
#: ../admin/settings.php:403
|
2246 |
msgid "Number of columns"
|
2247 |
msgstr "Anzahl der Spalten"
|
2248 |
|
2249 |
+
#: ../admin/settings.php:405
|
2250 |
msgid "0 will display as much as possible based on the width of your theme. Setting normally only required for captions below the images"
|
2251 |
msgstr "Mit \"0\" werden soviele Bilder wie möglich in einer Reihe dargestellt. Die Einstellung ist normalerweise nur für Beschriftungen unterhalb der Bilder sinnvoll."
|
2252 |
|
2253 |
+
#: ../admin/settings.php:409
|
2254 |
msgid "Integrate slideshow"
|
2255 |
msgstr "Slideshow verwenden"
|
2256 |
|
2257 |
+
#: ../admin/settings.php:416
|
2258 |
msgid "Show first"
|
2259 |
msgstr "Zeige als Erstes"
|
2260 |
|
2261 |
+
#: ../admin/settings.php:422
|
2262 |
msgid "Show ImageBrowser"
|
2263 |
msgstr "Zeige Bilder-Browser"
|
2264 |
|
2265 |
+
#: ../admin/settings.php:424
|
2266 |
msgid "The gallery will open the ImageBrowser instead the effect."
|
2267 |
msgstr "Es wird der Bilder-Browser angezeigt (Kein JavaScript Effekt)"
|
2268 |
|
2269 |
+
#: ../admin/settings.php:428
|
2270 |
msgid "Add hidden images"
|
2271 |
msgstr "Versteckte Bilder hinzufügen"
|
2272 |
|
2273 |
+
#: ../admin/settings.php:430
|
2274 |
msgid "If pagination is used, this option will still show all images in the modal window (Thickbox, Lightbox etc.). Note : This increases the page load"
|
2275 |
msgstr "Wenn Du die Blätterfunktion nutzt, dann kannst Du mit dieser Option alle Bilder im Modal-Fenster (Thickbox,Lightbox etc.) anzeigen. Berücksichtige, dass die Ladezeit der Seite erhöht wird."
|
2276 |
|
2277 |
+
#: ../admin/settings.php:434
|
2278 |
msgid "Enable AJAX pagination"
|
2279 |
msgstr "Aktiviere AJAX-Navigation"
|
2280 |
|
2281 |
+
#: ../admin/settings.php:436
|
2282 |
msgid "Browse images without reload the page. Note : Works only in combination with Shutter effect"
|
2283 |
msgstr "Ermöglicht das Blättern zwischen den Bildern ohne die Seite neu zu laden. Hinweis : Funktioniert nur mit dem Shutter-Effekt."
|
2284 |
|
2285 |
+
#: ../admin/settings.php:440
|
2286 |
msgid "Sort options"
|
2287 |
msgstr "Sortierung"
|
2288 |
|
2289 |
+
#: ../admin/settings.php:443
|
2290 |
msgid "Sort thumbnails"
|
2291 |
msgstr "Thumbnails sortieren"
|
2292 |
|
2293 |
+
#: ../admin/settings.php:445
|
2294 |
msgid "Custom order"
|
2295 |
msgstr "Benutzerdefiniert"
|
2296 |
|
2297 |
+
#: ../admin/settings.php:447
|
2298 |
msgid "File name"
|
2299 |
msgstr "Dateiname"
|
2300 |
|
2301 |
+
#: ../admin/settings.php:448
|
2302 |
msgid "Alt / Title text"
|
2303 |
msgstr "Alt / Titel Text"
|
2304 |
|
2305 |
+
#: ../admin/settings.php:449
|
2306 |
msgid "Date / Time"
|
2307 |
msgstr "Datum/Zeit"
|
2308 |
|
2309 |
+
#: ../admin/settings.php:453
|
2310 |
msgid "Sort direction"
|
2311 |
msgstr "Sortierreihenfolge"
|
2312 |
|
2313 |
+
#: ../admin/settings.php:473
|
2314 |
msgid "Here you can select the thumbnail effect, NextGEN Gallery will integrate the required HTML code in the images. Please note that only the Shutter and Thickbox effect will automatic added to your theme."
|
2315 |
msgstr "Hier kannst Du den Effekt für die Thumbnails auswählen. NextGEN Galerie wird den benötigten HTML-Code verwenden. Bitte beachte, dass nur Shutter und der Thickbox Effekt automatisch in Dein Theme von Wordpress integriert wird. Alle anderen Effekte mußt Du selbst in die header.php eintragen (JS)."
|
2316 |
|
2317 |
+
#: ../admin/settings.php:474
|
2318 |
msgid "With the placeholder"
|
2319 |
msgstr "Mit Platzhalter"
|
2320 |
|
2321 |
+
#: ../admin/settings.php:474
|
2322 |
msgid "you can activate a navigation through the images (depend on the effect). Change the code line only , when you use a different thumbnail effect or you know what you do."
|
2323 |
msgstr "Du kannst eine Navigation durch die Bilder aktivieren (hängt vom Effekt ab). Ändere nur die Codezeile, falls Du einen anderen Effekt für die Thumbnails verwendest oder einfach weißt, was Du tust."
|
2324 |
|
2325 |
+
#: ../admin/settings.php:477
|
2326 |
msgid "JavaScript Thumbnail effect"
|
2327 |
msgstr "JavaScript Thumbnail Effekt"
|
2328 |
|
2329 |
+
#: ../admin/settings.php:481
|
2330 |
msgid "Thickbox"
|
2331 |
msgstr "Thickbox"
|
2332 |
|
2333 |
+
#: ../admin/settings.php:482
|
2334 |
msgid "Lightbox"
|
2335 |
msgstr "Lightbox"
|
2336 |
|
2337 |
+
#: ../admin/settings.php:483
|
2338 |
msgid "Highslide"
|
2339 |
msgstr "Highslide"
|
2340 |
|
2341 |
+
#: ../admin/settings.php:484
|
2342 |
msgid "Shutter"
|
2343 |
msgstr "Shutter"
|
2344 |
|
2345 |
+
#: ../admin/settings.php:485
|
2346 |
msgid "Custom"
|
2347 |
msgstr "Eigener"
|
2348 |
|
2349 |
+
#: ../admin/settings.php:490
|
2350 |
msgid "Link Code line"
|
2351 |
msgstr "Link-Code-Zeile"
|
2352 |
|
2353 |
+
#: ../admin/settings.php:512
|
2354 |
msgid "Please note : You can only activate the watermark under -> Manage Gallery . This action cannot be undone."
|
2355 |
msgstr "Bitte beachten : Das Wasserzeichen kann nur unter der Galerieverwaltung gesetzt werden. "
|
2356 |
|
2357 |
+
#: ../admin/settings.php:517
|
2358 |
msgid "Preview"
|
2359 |
msgstr "Vorschau"
|
2360 |
|
2361 |
+
#: ../admin/settings.php:519
|
2362 |
+
#: ../admin/settings.php:524
|
2363 |
msgid "Position"
|
2364 |
msgstr "Position"
|
2365 |
|
2366 |
+
#: ../admin/settings.php:544
|
2367 |
msgid "Offset"
|
2368 |
msgstr "Abstand"
|
2369 |
|
2370 |
+
#: ../admin/settings.php:560
|
2371 |
msgid "Use image as watermark"
|
2372 |
msgstr "Benutze das Bild als Wasserzeichen"
|
2373 |
|
2374 |
+
#: ../admin/settings.php:563
|
2375 |
msgid "URL to file"
|
2376 |
msgstr "URL zur Datei"
|
2377 |
|
2378 |
+
#: ../admin/settings.php:565
|
2379 |
msgid "The accessing of URL files is disabled at your server (allow_url_fopen)"
|
2380 |
msgstr "Der Dateizugriff von URLs ist auf diesem Server deaktiviert (allow_url_fopen)"
|
2381 |
|
2382 |
+
#: ../admin/settings.php:568
|
2383 |
msgid "Use text as watermark"
|
2384 |
msgstr "Benutze Text als Wasserzeichen"
|
2385 |
|
2386 |
+
#: ../admin/settings.php:571
|
2387 |
msgid "Font"
|
2388 |
msgstr "Schriftart"
|
2389 |
|
2390 |
+
#: ../admin/settings.php:580
|
2391 |
msgid "This function will not work, cause you need the FreeType library"
|
2392 |
msgstr "Diese Funktion benötigt die FreeType-Bibliothek"
|
2393 |
|
2394 |
+
#: ../admin/settings.php:582
|
2395 |
msgid "You can upload more fonts in the folder <strong>nggallery/fonts</strong>"
|
2396 |
msgstr "Du kannst mehr Schriftarten in das Verzeichniss <strong>nggallery/fonts</strong> hochladen."
|
2397 |
|
2398 |
+
#: ../admin/settings.php:591
|
2399 |
msgid "Color"
|
2400 |
msgstr "Farbe"
|
2401 |
|
2402 |
+
#: ../admin/settings.php:593
|
2403 |
msgid "(hex w/o #)"
|
2404 |
msgstr "(hex w/o #)"
|
2405 |
|
2406 |
+
#: ../admin/settings.php:596
|
2407 |
msgid "Text"
|
2408 |
msgstr "Text"
|
2409 |
|
2410 |
+
#: ../admin/settings.php:600
|
2411 |
msgid "Opaque"
|
2412 |
msgstr "Transparenz"
|
2413 |
|
2414 |
+
#: ../admin/settings.php:621
|
2415 |
msgid "Default size (W x H)"
|
2416 |
msgstr "Standard Größe (B x H)"
|
2417 |
|
2418 |
+
#: ../admin/settings.php:626
|
2419 |
msgid "Duration time"
|
2420 |
msgstr "Dauer"
|
2421 |
|
2422 |
+
#: ../admin/settings.php:627
|
2423 |
msgid "sec."
|
2424 |
msgstr "Sek."
|
2425 |
|
2426 |
+
#: ../admin/settings.php:630
|
2427 |
+
#: ../admin/settings.php:705
|
2428 |
msgid "Transition / Fade effect"
|
2429 |
msgstr "Fade Effekt"
|
2430 |
|
2431 |
+
#: ../admin/settings.php:633
|
2432 |
+
#: ../admin/settings.php:708
|
2433 |
msgid "fade"
|
2434 |
msgstr "Fade"
|
2435 |
|
2436 |
+
#: ../admin/settings.php:634
|
2437 |
msgid "blindX"
|
2438 |
msgstr "blindX"
|
2439 |
|
2440 |
+
#: ../admin/settings.php:635
|
2441 |
msgid "cover"
|
2442 |
msgstr "Blenden"
|
2443 |
|
2444 |
+
#: ../admin/settings.php:636
|
2445 |
msgid "scrollUp"
|
2446 |
msgstr "ScrollUp"
|
2447 |
|
2448 |
+
#: ../admin/settings.php:637
|
2449 |
msgid "scrollDown"
|
2450 |
msgstr "ScrollDown"
|
2451 |
|
2452 |
+
#: ../admin/settings.php:638
|
2453 |
msgid "shuffle"
|
2454 |
msgstr "Shuffle"
|
2455 |
|
2456 |
+
#: ../admin/settings.php:639
|
2457 |
msgid "toss"
|
2458 |
msgstr "Schüttel"
|
2459 |
|
2460 |
+
#: ../admin/settings.php:640
|
2461 |
msgid "wipe"
|
2462 |
msgstr "wischen"
|
2463 |
|
2464 |
+
#: ../admin/settings.php:642
|
2465 |
msgid "See here for more information about the effects :"
|
2466 |
msgstr "Hier bekommst du mehr Informationen über die Effekte :"
|
2467 |
|
2468 |
+
#: ../admin/settings.php:646
|
2469 |
msgid "Settings for the JW Image Rotator"
|
2470 |
msgstr "JW-Image-Rotator Einstellungen"
|
2471 |
|
2472 |
+
#: ../admin/settings.php:647
|
2473 |
msgid "The settings are only used in the JW Image Rotator Version"
|
2474 |
msgstr "Die Einstellungen werden im JW-Image-Rotator benutzt, in der Version"
|
2475 |
|
2476 |
+
#: ../admin/settings.php:648
|
2477 |
msgid "See more information for the Flash Player on the web page"
|
2478 |
msgstr "Weitere Informationen auf der Flash-Player-Homepage"
|
2479 |
|
2480 |
+
#: ../admin/settings.php:653
|
2481 |
msgid "The path to imagerotator.swf is not defined, the slideshow will not work."
|
2482 |
msgstr "Der Pfad zu imagerotator.swf ist nicht gesetzt, die Flash-Diaschau kann dann nicht angezeigt werden"
|
2483 |
|
2484 |
+
#: ../admin/settings.php:654
|
2485 |
msgid "If you would like to use the JW Image Rotatator, please download the player <a href=\"http://www.longtailvideo.com/players/jw-image-rotator/\" target=\"_blank\" >here</a> and upload it to your Upload folder (Default is wp-content/uploads)."
|
2486 |
msgstr "Wenn Du den JW-Image-Rotator (Slideshow) nutzen möchtest, lade Dir die aktuelle Version <a href=\"http://www.longtailvideo.com/players/jw-image-rotator/\" target=\"_blank\" >hier</a> herunter und übertrage sie dann in Dein WordPress-Upload-Verzeichnis (normalerweise wp-content/uploads),"
|
2487 |
|
2488 |
+
#: ../admin/settings.php:660
|
2489 |
msgid "Enable flash slideshow"
|
2490 |
msgstr "Aktiviere Flash Slideshow"
|
2491 |
|
2492 |
+
#: ../admin/settings.php:662
|
2493 |
msgid "Integrate the flash based slideshow for all flash supported devices"
|
2494 |
msgstr "Verwende die Flash Slideshow für alle Flash-unterstützte Geräte"
|
2495 |
|
2496 |
+
#: ../admin/settings.php:665
|
2497 |
msgid "Path to the Imagerotator (URL)"
|
2498 |
msgstr "Pfad zum JW-Image-Rotator (URL)"
|
2499 |
|
2500 |
+
#: ../admin/settings.php:668
|
2501 |
msgid "Search now"
|
2502 |
msgstr "Suche jetzt"
|
2503 |
|
2504 |
+
#: ../admin/settings.php:669
|
2505 |
msgid "Press the button to search automatically for the imagerotator, if you uploaded it to wp-content/uploads or a subfolder"
|
2506 |
msgstr "Drücke 'Suche jetzt' um automatisch den Pfad zum Image-Rotator zu ermitteln, sofern Du den Player in wp-content/uploads oder ein Unterverzeichnis hochgeladen hast."
|
2507 |
|
2508 |
+
#: ../admin/settings.php:673
|
2509 |
msgid "Shuffle mode"
|
2510 |
msgstr "Shuffle Modus"
|
2511 |
|
2512 |
+
#: ../admin/settings.php:677
|
2513 |
msgid "Show next image on click"
|
2514 |
msgstr "Zeige nächstes Bild bei Klick"
|
2515 |
|
2516 |
+
#: ../admin/settings.php:681
|
2517 |
msgid "Show navigation bar"
|
2518 |
msgstr "Zeige Navigations-Leiste"
|
2519 |
|
2520 |
+
#: ../admin/settings.php:685
|
2521 |
msgid "Show loading icon"
|
2522 |
msgstr "Zeige Lade-Bildchen"
|
2523 |
|
2524 |
+
#: ../admin/settings.php:689
|
2525 |
msgid "Use watermark logo"
|
2526 |
msgstr "Wasserzeichen anzeigen"
|
2527 |
|
2528 |
+
#: ../admin/settings.php:691
|
2529 |
msgid "You can change the logo at the watermark settings"
|
2530 |
msgstr "Du kannst den Pfad in Einstellungen für das Wasserzeichen angeben"
|
2531 |
|
2532 |
+
#: ../admin/settings.php:694
|
2533 |
msgid "Stretch image"
|
2534 |
msgstr "Bild dehnen"
|
2535 |
|
2536 |
+
#: ../admin/settings.php:697
|
2537 |
msgid "true"
|
2538 |
msgstr "Ja"
|
2539 |
|
2540 |
+
#: ../admin/settings.php:698
|
2541 |
msgid "false"
|
2542 |
msgstr "Nein"
|
2543 |
|
2544 |
+
#: ../admin/settings.php:699
|
2545 |
msgid "fit"
|
2546 |
msgstr "Passend"
|
2547 |
|
2548 |
+
#: ../admin/settings.php:700
|
2549 |
msgid "none"
|
2550 |
msgstr "keiner"
|
2551 |
|
2552 |
+
#: ../admin/settings.php:709
|
2553 |
msgid "bgfade"
|
2554 |
msgstr "BGFade"
|
2555 |
|
2556 |
+
#: ../admin/settings.php:710
|
2557 |
msgid "slowfade"
|
2558 |
msgstr "Slowfade"
|
2559 |
|
2560 |
+
#: ../admin/settings.php:711
|
2561 |
msgid "circles"
|
2562 |
msgstr "Kreise"
|
2563 |
|
2564 |
+
#: ../admin/settings.php:712
|
2565 |
msgid "bubbles"
|
2566 |
msgstr "Blasen"
|
2567 |
|
2568 |
+
#: ../admin/settings.php:713
|
2569 |
msgid "blocks"
|
2570 |
msgstr "Blöcke"
|
2571 |
|
2572 |
+
#: ../admin/settings.php:714
|
2573 |
msgid "fluids"
|
2574 |
msgstr "Fluids"
|
2575 |
|
2576 |
+
#: ../admin/settings.php:715
|
2577 |
msgid "flash"
|
2578 |
msgstr "Flash"
|
2579 |
|
2580 |
+
#: ../admin/settings.php:716
|
2581 |
msgid "lines"
|
2582 |
msgstr "Linien"
|
2583 |
|
2584 |
+
#: ../admin/settings.php:717
|
2585 |
msgid "random"
|
2586 |
msgstr "Zufall"
|
2587 |
|
2588 |
+
#: ../admin/settings.php:722
|
2589 |
msgid "Use slow zooming effect"
|
2590 |
msgstr "nutze Zoom-Effekt"
|
2591 |
|
2592 |
+
#: ../admin/settings.php:726
|
2593 |
msgid "Background Color"
|
2594 |
msgstr "Hintergrund (BG) Farbe"
|
2595 |
|
2596 |
+
#: ../admin/settings.php:731
|
2597 |
msgid "Texts / Buttons Color"
|
2598 |
msgstr "Text- / Button Farbe"
|
2599 |
|
2600 |
+
#: ../admin/settings.php:736
|
2601 |
msgid "Rollover / Active Color"
|
2602 |
msgstr "Rollover / Aktiv (Link) Farbe"
|
2603 |
|
2604 |
+
#: ../admin/settings.php:741
|
2605 |
msgid "Screen Color"
|
2606 |
msgstr "Seiten-Farbe"
|
2607 |
|
2608 |
+
#: ../admin/settings.php:746
|
2609 |
msgid "Background music (URL)"
|
2610 |
msgstr "Hintergrundmusik (URL)"
|
2611 |
|
2612 |
+
#: ../admin/settings.php:750
|
2613 |
msgid "Try XHTML validation (with CDATA)"
|
2614 |
msgstr "Integriere XHTML-Validierung (mittels CDATA)"
|
2615 |
|
2616 |
+
#: ../admin/settings.php:752
|
2617 |
msgid "Important : Could causes problem at some browser. Please recheck your page."
|
2618 |
msgstr "Wichtig : Es könnten Probleme bei einigen Browser entstehen. Unbedingt Seite danach prüfen."
|
2619 |
|
2827 |
|
2828 |
#: ../admin/tags.php:169
|
2829 |
msgid "Next tags"
|
2830 |
+
msgstr "Nächstes Stichwort"
|
2831 |
|
2832 |
#: ../admin/tags.php:181
|
2833 |
msgid "Rename Tag"
|
2891 |
msgstr "Aktualisiere die Datenbank-Struturen..."
|
2892 |
|
2893 |
#: ../admin/upgrade.php:108
|
2894 |
+
#: ../admin/upgrade.php:119
|
2895 |
+
#: ../admin/upgrade.php:126
|
2896 |
+
#: ../admin/upgrade.php:137
|
2897 |
+
#: ../admin/upgrade.php:151
|
2898 |
msgid "finished"
|
2899 |
msgstr "beendet"
|
2900 |
|
2901 |
+
#: ../admin/upgrade.php:117
|
2902 |
msgid "Update file structure..."
|
2903 |
msgstr "Aktualisiere Verzeichnisse..."
|
2904 |
|
2905 |
+
#: ../admin/upgrade.php:124
|
2906 |
msgid "Import date and time information..."
|
2907 |
msgstr "Importiere Datum/Uhrzeit..."
|
2908 |
|
2909 |
+
#: ../admin/upgrade.php:132
|
2910 |
msgid "Move imagerotator to new location..."
|
2911 |
msgstr "Verschiebe den Image-Rotator in ein neues Verzeichnis..."
|
2912 |
|
2913 |
+
#: ../admin/upgrade.php:143
|
2914 |
msgid "Update settings..."
|
2915 |
msgstr "Einstellungen gespeichert..."
|
2916 |
|
2917 |
+
#: ../admin/upgrade.php:157
|
2918 |
msgid "Updated widget structure. If you used NextGEN Widgets, you need to setup them again..."
|
2919 |
msgstr "Die Widgets wurden überarbeitet. Wenn Du NextGEN Widgets nutzt, musst du Sie nun neu einfügen..."
|
2920 |
|
2921 |
+
#: ../admin/upgrade.php:165
|
2922 |
+
#: ../admin/upgrade.php:187
|
2923 |
msgid "Updated options."
|
2924 |
msgstr "Einstellungen gespeichert."
|
2925 |
|
2926 |
+
#: ../admin/upgrade.php:172
|
2927 |
msgid "Create unique slug"
|
2928 |
msgstr "Permalinks erstellen"
|
2929 |
|
2930 |
+
#: ../admin/upgrade.php:173
|
2931 |
msgid "One of the upcomming features are a reworked permalinks structure."
|
2932 |
msgstr "Die Permalinkstruktur wird in einer kommenden Version überarbeitet."
|
2933 |
|
2934 |
+
#: ../admin/upgrade.php:174
|
2935 |
msgid "Therefore it's needed to have a unique identifier for each image, gallery and album."
|
2936 |
msgstr "Deshalb ist es notwendig ein eindeutiges Schlagwort für jedes Bild, Galerie und Album zu erzeugen."
|
2937 |
|
2938 |
+
#: ../admin/upgrade.php:175
|
2939 |
msgid "Depend on the amount of database entries this will take a while, don't reload this page."
|
2940 |
msgstr "Diese Operation kann je nach Anzahl der Bilder eine Weile daueren, bitte die Seite nicht neu laden."
|
2941 |
|
3134 |
msgid "Insert"
|
3135 |
msgstr "Einfügen"
|
3136 |
|
3137 |
+
#: ../lib/core.php:407
|
3138 |
#, php-format
|
3139 |
msgid "Note : Based on your server memory limit you should not upload larger images then <strong>%d x %d</strong> pixel"
|
3140 |
msgstr "Hinweis: Basierend auf der Speicherbegrenzung auf dem Server, solltest Du keine Bilder grösser als <strong>%d x %d</strong> Pixel hochladen"
|
3293 |
msgid "Sorry, you have used your space allocation. Please delete some files to upload more files."
|
3294 |
msgstr "Schade, Dein freier Speicher scheint aufgebraucht zu sein. Bitte lösche zuerst ein paar Bilder."
|
3295 |
|
|
|
3296 |
#: ../lib/ngg-db.php:331
|
3297 |
+
#: ../lib/ngg-db.php:332
|
3298 |
msgid "Album overview"
|
3299 |
msgstr "Album Übersicht"
|
3300 |
|
3301 |
+
#: ../lib/shortcodes.php:311
|
3302 |
msgid "[Pictures not found]"
|
3303 |
msgstr "[Bilder nicht gefunden]"
|
3304 |
|
3652 |
msgid "Invalid MediaRSS command"
|
3653 |
msgstr "Ungültiger Media-RSS-Befehl"
|
3654 |
|
3655 |
+
#~ msgid "Cache single pictures"
|
3656 |
+
#~ msgstr "Nutze Cache für Einzelbilder"
|
3657 |
+
|
3658 |
+
#~ msgid "Creates a file for each singlepic settings. Reduce the CPU load"
|
3659 |
+
#~ msgstr ""
|
3660 |
+
#~ "Erstellt ein Cache-Bild für jedes Einzelbild (singlepic). Reduziert die "
|
3661 |
+
#~ "CPU Belastung."
|
3662 |
+
|
3663 |
#~ msgid "Currently not used, prepare database for upcoming version"
|
3664 |
#~ msgstr "Derzeit nicht genutzt, Vorbereitung für kommende Versionen"
|
3665 |
|
lang/nggallery.pot
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: NextGEN Gallery\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2011-
|
6 |
-
"PO-Revision-Date: 2011-
|
7 |
"Last-Translator: Alex Rabe\n"
|
8 |
"Language-Team: Alex Rabe\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -17,65 +17,68 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPath-1: ..\n"
|
19 |
|
20 |
-
#: ../nggallery.php:
|
21 |
msgid "<strong>Translation by : </strong><a target=\"_blank\" href=\"http://alexrabe.de/wordpress-plugins/nextgen-gallery/languages/\">See here</a>"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: ../nggallery.php:
|
25 |
-
msgid "<strong>This translation is not yet updated for Version 1.
|
26 |
msgstr ""
|
27 |
|
28 |
-
#: ../nggallery.php:
|
29 |
msgid "Sorry, NextGEN Gallery works only with a Memory Limit of 16 MB or higher"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: ../nggallery.php:
|
33 |
msgid "Please update the database of NextGEN Gallery."
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: ../nggallery.php:
|
37 |
msgid "Click here to proceed."
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: ../nggallery.php:
|
41 |
msgid "Picture tag"
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: ../nggallery.php:
|
45 |
msgid "Picture tag: %2$l."
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: ../nggallery.php:
|
49 |
msgid "Separate picture tags with commas."
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: ../nggallery.php:
|
|
|
53 |
msgid "L O A D I N G"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: ../nggallery.php:
|
|
|
57 |
msgid "Click to Close"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: ../nggallery.php:
|
61 |
msgid "loading"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: ../nggallery.php:
|
65 |
-
#: ../nggfunctions.php:
|
66 |
-
#: ../admin/admin.php:
|
|
|
67 |
msgid "Overview"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: ../nggallery.php:
|
71 |
msgid "Get help"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: ../nggallery.php:
|
75 |
msgid "Contribute"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: ../nggallery.php:
|
79 |
msgid "Donate"
|
80 |
msgstr ""
|
81 |
|
@@ -83,20 +86,20 @@ msgstr ""
|
|
83 |
msgid "The <a href=\"http://www.macromedia.com/go/getflashplayer\">Flash Player</a> and <a href=\"http://www.mozilla.com/firefox/\">a browser with Javascript support</a> are needed."
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: ../nggfunctions.php:
|
87 |
-
#: ../nggfunctions.php:
|
88 |
msgid "[Gallery not found]"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: ../nggfunctions.php:
|
92 |
msgid "[Album not found]"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: ../nggfunctions.php:
|
96 |
msgid "[SinglePic not found]"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: ../nggfunctions.php:
|
100 |
msgid "Related images for"
|
101 |
msgstr ""
|
102 |
|
@@ -234,153 +237,177 @@ msgid "Upload failed!"
|
|
234 |
msgstr ""
|
235 |
|
236 |
#: ../admin/addgallery.php:85
|
|
|
237 |
msgid "Upload failed! "
|
238 |
msgstr ""
|
239 |
|
240 |
#: ../admin/addgallery.php:90
|
241 |
-
#: ../admin/functions.php:
|
242 |
-
#: ../admin/functions.php:
|
243 |
msgid "No gallery selected !"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: ../admin/addgallery.php:
|
|
|
247 |
msgid "Image Files"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: ../admin/addgallery.php:
|
251 |
-
#: ../admin/addgallery.php:
|
|
|
252 |
msgid "remove"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: ../admin/addgallery.php:
|
256 |
-
#: ../admin/addgallery.php:
|
|
|
257 |
msgid "Browse..."
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: ../admin/addgallery.php:185
|
261 |
#: ../admin/addgallery.php:197
|
262 |
-
#: ../admin/addgallery.php:
|
|
|
|
|
|
|
263 |
msgid "Upload images"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: ../admin/addgallery.php:
|
267 |
-
#: ../admin/addgallery.php:
|
268 |
msgid "Upload Images"
|
269 |
msgstr ""
|
270 |
|
271 |
-
#: ../admin/addgallery.php:
|
272 |
-
#: ../admin/addgallery.php:
|
273 |
#: ../admin/manage-galleries.php:119
|
274 |
#: ../admin/manage-galleries.php:156
|
275 |
msgid "Add new gallery"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: ../admin/addgallery.php:
|
279 |
-
#: ../admin/addgallery.php:
|
280 |
msgid "Upload a Zip-File"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: ../admin/addgallery.php:
|
284 |
-
#: ../admin/addgallery.php:
|
285 |
msgid "Import image folder"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: ../admin/addgallery.php:
|
289 |
#: ../admin/manage-galleries.php:279
|
290 |
msgid "New Gallery"
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: ../admin/addgallery.php:
|
294 |
#: ../admin/manage-galleries.php:281
|
295 |
msgid "Create a new , empty gallery below the folder"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: ../admin/addgallery.php:
|
299 |
#: ../admin/manage-galleries.php:283
|
300 |
msgid "Allowed characters for file and folder names are"
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: ../admin/addgallery.php:
|
304 |
msgid "Add gallery"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: ../admin/addgallery.php:
|
308 |
msgid "Select Zip-File"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: ../admin/addgallery.php:
|
312 |
msgid "Upload a zip file with images"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: ../admin/addgallery.php:
|
316 |
msgid "or enter a Zip-File URL"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: ../admin/addgallery.php:
|
320 |
msgid "Import a zip file with images from a url"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: ../admin/addgallery.php:
|
324 |
-
#: ../admin/addgallery.php:
|
325 |
msgid "in to"
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: ../admin/addgallery.php:
|
329 |
msgid "a new gallery"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: ../admin/addgallery.php:
|
333 |
msgid "Note : The upload limit on your server is "
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: ../admin/addgallery.php:
|
337 |
msgid "Start upload"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: ../admin/addgallery.php:
|
341 |
msgid "Import from Server path:"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: ../admin/addgallery.php:
|
345 |
msgid "Note : Change the default path in the gallery settings"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: ../admin/addgallery.php:
|
349 |
msgid " Please note : For safe-mode = ON you need to add the subfolder thumbs manually"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: ../admin/addgallery.php:
|
353 |
msgid "Import folder"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: ../admin/addgallery.php:
|
357 |
msgid "Upload image"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: ../admin/addgallery.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
361 |
msgid "Choose gallery"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: ../admin/addgallery.php:
|
365 |
msgid "The batch upload requires Adobe Flash 10, disable it if you have problems"
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: ../admin/addgallery.php:
|
369 |
msgid "Disable flash upload"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: ../admin/addgallery.php:
|
373 |
msgid "Upload multiple files at once by ctrl/shift-selecting in dialog"
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: ../admin/addgallery.php:
|
377 |
msgid "Enable flash based upload"
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: ../admin/admin.php:
|
381 |
-
#: ../admin/admin.php:
|
382 |
-
#: ../admin/admin.php:
|
383 |
-
#: ../admin/admin.php:
|
|
|
384 |
#: ../admin/functions.php:178
|
385 |
#: ../admin/manage-galleries.php:127
|
386 |
#: ../admin/manage-galleries.php:407
|
@@ -390,174 +417,258 @@ msgid_plural "Galleries"
|
|
390 |
msgstr[0] ""
|
391 |
msgstr[1] ""
|
392 |
|
393 |
-
#: ../admin/admin.php:
|
|
|
394 |
msgid "Add Gallery / Images"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: ../admin/admin.php:
|
|
|
398 |
msgid "Manage Gallery"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: ../admin/admin.php:
|
|
|
402 |
msgid "Album"
|
403 |
msgid_plural "Albums"
|
404 |
msgstr[0] ""
|
405 |
msgstr[1] ""
|
406 |
|
407 |
-
#: ../admin/admin.php:
|
|
|
408 |
msgid "Tags"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: ../admin/admin.php:
|
|
|
412 |
msgid "Options"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: ../admin/admin.php:
|
|
|
416 |
msgid "Style"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: ../admin/admin.php:
|
420 |
msgid "Roles"
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: ../admin/admin.php:
|
424 |
msgid "About this Gallery"
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: ../admin/admin.php:
|
|
|
428 |
msgid "About"
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: ../admin/admin.php:
|
432 |
-
|
433 |
-
msgstr ""
|
434 |
-
|
435 |
-
#: ../admin/admin.php:51
|
436 |
-
#: ../admin/admin.php:62
|
437 |
msgid "Reset / Uninstall"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: ../admin/admin.php:
|
441 |
msgid "Network settings"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: ../admin/admin.php:
|
445 |
#, php-format
|
446 |
msgid "Thanks for using this plugin, I hope you are satisfied ! If you would like to support the further development, please consider a <strong><a href=\"%s\">donation</a></strong>! If you still need some help, please post your questions <a href=\"http://wordpress.org/tags/nextgen-gallery?forum_id=10\">here</a> ."
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: ../admin/admin.php:
|
450 |
msgid "OK, hide this message now !"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: ../admin/admin.php:
|
454 |
msgid "You do not have the correct permission"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: ../admin/admin.php:
|
458 |
msgid "Unexpected Error"
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: ../admin/admin.php:
|
462 |
msgid "A failure occurred"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: ../admin/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
466 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Introduction</a>"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: ../admin/admin.php:
|
470 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Setup</a>"
|
471 |
msgstr ""
|
472 |
|
473 |
-
#: ../admin/admin.php:
|
474 |
msgid "<a href=\"http://alexrabe.de/wordpress-plugins/nextgen-gallery/languages/\" target=\"_blank\">Translation by alex rabe</a>"
|
475 |
msgstr ""
|
476 |
|
477 |
-
#: ../admin/admin.php:
|
478 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Roles / Capabilities</a>"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: ../admin/admin.php:
|
482 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Styles</a>"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: ../admin/admin.php:
|
486 |
msgid "Templates"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: ../admin/admin.php:
|
490 |
-
#: ../admin/admin.php:
|
491 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery management</a>"
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: ../admin/admin.php:
|
495 |
msgid "Gallery example"
|
496 |
msgstr ""
|
497 |
|
498 |
-
#: ../admin/admin.php:
|
499 |
-
#: ../admin/admin.php:
|
500 |
msgid "Gallery tags"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: ../admin/admin.php:
|
504 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Album management</a>"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: ../admin/admin.php:
|
508 |
msgid "Album example"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: ../admin/admin.php:
|
512 |
-
#: ../admin/admin.php:
|
513 |
msgid "Album tags"
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: ../admin/admin.php:
|
517 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery tags</a>"
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: ../admin/admin.php:
|
521 |
msgid "Related images"
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: ../admin/admin.php:
|
525 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-image-management/\" target=\"_blank\">Image management</a>"
|
526 |
msgstr ""
|
527 |
|
528 |
-
#: ../admin/admin.php:
|
529 |
msgid "Custom fields"
|
530 |
msgstr ""
|
531 |
|
532 |
-
#: ../admin/admin.php:
|
533 |
msgid "Get help with NextGEN Gallery"
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: ../admin/admin.php:
|
537 |
msgid "More Help & Info"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: ../admin/admin.php:
|
541 |
msgid "<a href=\"http://wordpress.org/tags/nextgen-gallery?forum_id=10\" target=\"_blank\">Support Forums</a>"
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: ../admin/admin.php:
|
545 |
msgid "FAQ"
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: ../admin/admin.php:
|
549 |
msgid "Feature request"
|
550 |
msgstr ""
|
551 |
|
552 |
-
#: ../admin/admin.php:
|
553 |
msgid "Get your language pack"
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: ../admin/admin.php:
|
557 |
msgid "Contribute development"
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: ../admin/admin.php:
|
561 |
msgid "Download latest version"
|
562 |
msgstr ""
|
563 |
|
@@ -598,7 +709,7 @@ msgid "No album selected"
|
|
598 |
msgstr ""
|
599 |
|
600 |
#: ../admin/album.php:297
|
601 |
-
#: ../admin/edit-thumbnail.php:
|
602 |
msgid "Update"
|
603 |
msgstr ""
|
604 |
|
@@ -608,7 +719,7 @@ msgstr ""
|
|
608 |
|
609 |
#: ../admin/album.php:302
|
610 |
#: ../admin/manage-galleries.php:146
|
611 |
-
#: ../admin/manage-images.php:
|
612 |
msgid "Delete"
|
613 |
msgstr ""
|
614 |
|
@@ -691,10 +802,10 @@ msgstr ""
|
|
691 |
#: ../admin/manage-galleries.php:288
|
692 |
#: ../admin/manage-galleries.php:317
|
693 |
#: ../admin/manage-galleries.php:347
|
694 |
-
#: ../admin/manage-images.php:
|
695 |
-
#: ../admin/manage-images.php:
|
696 |
-
#: ../admin/manage-images.php:
|
697 |
-
#: ../admin/manage-images.php:
|
698 |
msgid "OK"
|
699 |
msgstr ""
|
700 |
|
@@ -702,39 +813,39 @@ msgstr ""
|
|
702 |
#: ../admin/manage-galleries.php:290
|
703 |
#: ../admin/manage-galleries.php:319
|
704 |
#: ../admin/manage-galleries.php:349
|
705 |
-
#: ../admin/manage-images.php:
|
706 |
-
#: ../admin/manage-images.php:
|
707 |
-
#: ../admin/manage-images.php:
|
708 |
-
#: ../admin/manage-images.php:
|
709 |
msgid "Cancel"
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: ../admin/album.php:
|
713 |
msgid "Name"
|
714 |
msgstr ""
|
715 |
|
716 |
-
#: ../admin/album.php:
|
717 |
#: ../admin/manage-images.php:255
|
718 |
msgid "Title"
|
719 |
msgstr ""
|
720 |
|
721 |
-
#: ../admin/album.php:
|
722 |
msgid "Page"
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: ../admin/edit-thumbnail.php:
|
726 |
msgid "Select with the mouse the area for the new thumbnail"
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: ../admin/edit-thumbnail.php:
|
730 |
msgid "Thumbnail updated"
|
731 |
msgstr ""
|
732 |
|
733 |
-
#: ../admin/edit-thumbnail.php:
|
734 |
msgid "Error updating thumbnail"
|
735 |
msgstr ""
|
736 |
|
737 |
-
#: ../admin/edit-thumbnail.php:
|
738 |
msgid "Select the area for the thumbnail from the picture on the left."
|
739 |
msgstr ""
|
740 |
|
@@ -766,7 +877,7 @@ msgstr ""
|
|
766 |
|
767 |
#: ../admin/functions.php:76
|
768 |
#: ../admin/functions.php:85
|
769 |
-
#: ../admin/functions.php:
|
770 |
msgid "Unable to create directory "
|
771 |
msgstr ""
|
772 |
|
@@ -792,6 +903,7 @@ msgid "Gallery ID %1$s successfully created. You can show this gallery in your p
|
|
792 |
msgstr ""
|
793 |
|
794 |
#: ../admin/functions.php:119
|
|
|
795 |
msgid "Edit gallery"
|
796 |
msgstr ""
|
797 |
|
@@ -812,11 +924,11 @@ msgid "successfully created!"
|
|
812 |
msgstr ""
|
813 |
|
814 |
#: ../admin/functions.php:212
|
815 |
-
#: ../admin/functions.php:
|
816 |
#: ../admin/manage-galleries.php:81
|
817 |
#: ../admin/manage-galleries.php:148
|
818 |
#: ../admin/manage-images.php:203
|
819 |
-
#: ../admin/manage-images.php:
|
820 |
#: ../admin/manage.php:223
|
821 |
#: ../admin/manage.php:299
|
822 |
msgid "Create new thumbnails"
|
@@ -826,184 +938,184 @@ msgstr ""
|
|
826 |
msgid " picture(s) successfully added"
|
827 |
msgstr ""
|
828 |
|
829 |
-
#: ../admin/functions.php:
|
830 |
-
#: ../admin/functions.php:
|
831 |
-
#: ../admin/functions.php:
|
832 |
-
#: ../admin/functions.php:
|
833 |
-
#: ../admin/functions.php:
|
834 |
msgid "Object didn't contain correct data"
|
835 |
msgstr ""
|
836 |
|
837 |
-
#: ../admin/functions.php:
|
838 |
msgid " is not writeable "
|
839 |
msgstr ""
|
840 |
|
841 |
-
#: ../admin/functions.php:
|
842 |
-
#: ../admin/functions.php:
|
843 |
-
#: ../admin/functions.php:
|
844 |
-
#: ../admin/functions.php:
|
845 |
msgid " is not writeable"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: ../admin/functions.php:
|
849 |
msgid "File do not exists"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: ../admin/functions.php:
|
853 |
msgid "Couldn't restore original image"
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: ../admin/functions.php:
|
857 |
msgid "(Error : Couldn't not update data base)"
|
858 |
msgstr ""
|
859 |
|
860 |
-
#: ../admin/functions.php:
|
861 |
msgid "(Error : Couldn't not update meta data)"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: ../admin/functions.php:
|
865 |
msgid "(Error : Couldn't not find image)"
|
866 |
msgstr ""
|
867 |
|
868 |
-
#: ../admin/functions.php:
|
869 |
msgid "No valid URL path "
|
870 |
msgstr ""
|
871 |
|
872 |
-
#: ../admin/functions.php:
|
873 |
msgid "Import via cURL failed."
|
874 |
msgstr ""
|
875 |
|
876 |
-
#: ../admin/functions.php:
|
877 |
msgid "Uploaded file was no or a faulty zip file ! The server recognized : "
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: ../admin/functions.php:
|
881 |
msgid "Could not get a valid foldername"
|
882 |
msgstr ""
|
883 |
|
884 |
-
#: ../admin/functions.php:
|
885 |
#, php-format
|
886 |
msgid "Unable to create directory %s. Is its parent directory writable by the server?"
|
887 |
msgstr ""
|
888 |
|
889 |
-
#: ../admin/functions.php:
|
890 |
msgid "Zip-File successfully unpacked"
|
891 |
msgstr ""
|
892 |
|
893 |
-
#: ../admin/functions.php:
|
894 |
-
#: ../admin/functions.php:
|
895 |
msgid "Failure in database, no gallery path set !"
|
896 |
msgstr ""
|
897 |
|
898 |
-
#: ../admin/functions.php:
|
899 |
-
#: ../admin/functions.php:
|
900 |
msgid "is no valid image file!"
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: ../admin/functions.php:
|
904 |
-
#: ../admin/functions.php:
|
905 |
-
#: ../admin/functions.php:
|
906 |
#, php-format
|
907 |
msgid "Unable to write to directory %s. Is this directory writable by the server?"
|
908 |
msgstr ""
|
909 |
|
910 |
-
#: ../admin/functions.php:
|
911 |
-
#: ../admin/functions.php:
|
912 |
msgid "Error, the file could not be moved to : "
|
913 |
msgstr ""
|
914 |
|
915 |
-
#: ../admin/functions.php:
|
916 |
-
#: ../admin/functions.php:
|
917 |
msgid "Error, the file permissions could not be set"
|
918 |
msgstr ""
|
919 |
|
920 |
-
#: ../admin/functions.php:
|
921 |
msgid " Image(s) successfully added"
|
922 |
msgstr ""
|
923 |
|
924 |
-
#: ../admin/functions.php:
|
925 |
msgid "Invalid upload. Error Code : "
|
926 |
msgstr ""
|
927 |
|
928 |
-
#: ../admin/functions.php:
|
929 |
#, php-format
|
930 |
msgid "SAFE MODE Restriction in effect! You need to create the folder <strong>%s</strong> manually"
|
931 |
msgstr ""
|
932 |
|
933 |
-
#: ../admin/functions.php:
|
934 |
#, php-format
|
935 |
msgid "When safe_mode is on, PHP checks to see if the owner (%s) of the current script matches the owner (%s) of the file to be operated on by a file function or its directory"
|
936 |
msgstr ""
|
937 |
|
938 |
-
#: ../admin/functions.php:
|
939 |
-
#: ../admin/functions.php:
|
940 |
msgid "The destination gallery does not exist"
|
941 |
msgstr ""
|
942 |
|
943 |
-
#: ../admin/functions.php:
|
944 |
#, php-format
|
945 |
msgid "Failed to move image %1$s to %2$s"
|
946 |
msgstr ""
|
947 |
|
948 |
-
#: ../admin/functions.php:
|
949 |
#, php-format
|
950 |
msgid "Moved %1$s picture(s) to gallery : %2$s ."
|
951 |
msgstr ""
|
952 |
|
953 |
-
#: ../admin/functions.php:
|
954 |
#, php-format
|
955 |
msgid "Failed to copy image %1$s to %2$s"
|
956 |
msgstr ""
|
957 |
|
958 |
-
#: ../admin/functions.php:
|
959 |
#, php-format
|
960 |
msgid "Failed to copy database row for picture %s"
|
961 |
msgstr ""
|
962 |
|
963 |
-
#: ../admin/functions.php:
|
964 |
#, php-format
|
965 |
msgid "Image %1$s (%2$s) copied as image %3$s (%4$s) » The file already existed in the destination gallery."
|
966 |
msgstr ""
|
967 |
|
968 |
-
#: ../admin/functions.php:
|
969 |
#, php-format
|
970 |
msgid "Image %1$s (%2$s) copied as image %3$s (%4$s)"
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: ../admin/functions.php:
|
974 |
#, php-format
|
975 |
msgid "Copied %1$s picture(s) to gallery: %2$s ."
|
976 |
msgstr ""
|
977 |
|
978 |
-
#: ../admin/functions.php:
|
979 |
msgid "The uploaded file exceeds the upload_max_filesize directive in php.ini"
|
980 |
msgstr ""
|
981 |
|
982 |
-
#: ../admin/functions.php:
|
983 |
msgid "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form"
|
984 |
msgstr ""
|
985 |
|
986 |
-
#: ../admin/functions.php:
|
987 |
msgid "The uploaded file was only partially uploaded"
|
988 |
msgstr ""
|
989 |
|
990 |
-
#: ../admin/functions.php:
|
991 |
msgid "No file was uploaded"
|
992 |
msgstr ""
|
993 |
|
994 |
-
#: ../admin/functions.php:
|
995 |
msgid "Missing a temporary folder"
|
996 |
msgstr ""
|
997 |
|
998 |
-
#: ../admin/functions.php:
|
999 |
msgid "Failed to write file to disk"
|
1000 |
msgstr ""
|
1001 |
|
1002 |
-
#: ../admin/functions.php:
|
1003 |
msgid "File upload stopped by extension"
|
1004 |
msgstr ""
|
1005 |
|
1006 |
-
#: ../admin/functions.php:
|
1007 |
msgid "Unknown upload error"
|
1008 |
msgstr ""
|
1009 |
|
@@ -1015,11 +1127,11 @@ msgstr ""
|
|
1015 |
msgid "NextGEN Gallery : Tables could not created, please check your database settings"
|
1016 |
msgstr ""
|
1017 |
|
1018 |
-
#: ../admin/install.php:
|
1019 |
msgid "[Show as slideshow]"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
-
#: ../admin/install.php:
|
1023 |
msgid "[Show picture list]"
|
1024 |
msgstr ""
|
1025 |
|
@@ -1031,7 +1143,7 @@ msgstr ""
|
|
1031 |
#: ../admin/manage-galleries.php:77
|
1032 |
#: ../admin/manage-galleries.php:149
|
1033 |
#: ../admin/manage-images.php:199
|
1034 |
-
#: ../admin/manage-images.php:
|
1035 |
#: ../admin/manage.php:207
|
1036 |
#: ../admin/manage.php:285
|
1037 |
msgid "Resize images"
|
@@ -1053,33 +1165,33 @@ msgid "Search Images"
|
|
1053 |
msgstr ""
|
1054 |
|
1055 |
#: ../admin/manage-galleries.php:145
|
1056 |
-
#: ../admin/manage-images.php:
|
1057 |
msgid "Bulk actions"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
#: ../admin/manage-galleries.php:147
|
1061 |
-
#: ../admin/manage-images.php:
|
1062 |
#: ../admin/manage.php:140
|
1063 |
#: ../admin/manage.php:249
|
1064 |
msgid "Set watermark"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
#: ../admin/manage-galleries.php:150
|
1068 |
-
#: ../admin/manage-images.php:
|
1069 |
#: ../admin/manage.php:145
|
1070 |
#: ../admin/manage.php:269
|
1071 |
msgid "Import metadata"
|
1072 |
msgstr ""
|
1073 |
|
1074 |
#: ../admin/manage-galleries.php:151
|
1075 |
-
#: ../admin/manage-images.php:
|
1076 |
#: ../admin/manage.php:135
|
1077 |
#: ../admin/manage.php:246
|
1078 |
msgid "Recover from backup"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
#: ../admin/manage-galleries.php:153
|
1082 |
-
#: ../admin/manage-images.php:
|
1083 |
msgid "Apply"
|
1084 |
msgstr ""
|
1085 |
|
@@ -1088,53 +1200,53 @@ msgid "Edit"
|
|
1088 |
msgstr ""
|
1089 |
|
1090 |
#: ../admin/manage-galleries.php:261
|
1091 |
-
#: ../admin/manage-images.php:
|
1092 |
msgid "No entries found"
|
1093 |
msgstr ""
|
1094 |
|
1095 |
#: ../admin/manage-galleries.php:308
|
1096 |
-
#: ../admin/manage-images.php:
|
1097 |
msgid "Resize Images to"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
#: ../admin/manage-galleries.php:312
|
1101 |
-
#: ../admin/manage-images.php:
|
1102 |
msgid "Width x height (in pixel). NextGEN Gallery will keep ratio size"
|
1103 |
msgstr ""
|
1104 |
|
1105 |
#: ../admin/manage-galleries.php:336
|
1106 |
-
#: ../admin/manage-images.php:
|
1107 |
msgid "Width x height (in pixel)"
|
1108 |
msgstr ""
|
1109 |
|
1110 |
#: ../admin/manage-galleries.php:338
|
1111 |
-
#: ../admin/manage-images.php:
|
1112 |
msgid "These values are maximum values "
|
1113 |
msgstr ""
|
1114 |
|
1115 |
#: ../admin/manage-galleries.php:341
|
1116 |
-
#: ../admin/manage-images.php:
|
1117 |
msgid "Set fix dimension"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
#: ../admin/manage-galleries.php:343
|
1121 |
-
#: ../admin/manage-images.php:
|
1122 |
msgid "Ignore the aspect ratio, no portrait thumbnails"
|
1123 |
msgstr ""
|
1124 |
|
1125 |
#: ../admin/manage-galleries.php:406
|
1126 |
-
#: ../admin/manage-images.php:
|
1127 |
msgid "ID"
|
1128 |
msgstr ""
|
1129 |
|
1130 |
#: ../admin/manage-galleries.php:408
|
1131 |
#: ../admin/manage-images.php:266
|
1132 |
-
#: ../admin/manage-images.php:
|
1133 |
msgid "Description"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
#: ../admin/manage-galleries.php:409
|
1137 |
-
#: ../admin/manage-images.php:
|
1138 |
msgid "Author"
|
1139 |
msgstr ""
|
1140 |
|
@@ -1169,7 +1281,7 @@ msgid "Add new tags"
|
|
1169 |
msgstr ""
|
1170 |
|
1171 |
#: ../admin/manage-images.php:191
|
1172 |
-
#: ../admin/manage-images.php:
|
1173 |
msgid "Delete tags"
|
1174 |
msgstr ""
|
1175 |
|
@@ -1206,145 +1318,145 @@ msgstr ""
|
|
1206 |
msgid "No Picture"
|
1207 |
msgstr ""
|
1208 |
|
1209 |
-
#: ../admin/manage-images.php:
|
1210 |
msgid "Path"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
-
#: ../admin/manage-images.php:
|
1214 |
msgid "Create new page"
|
1215 |
msgstr ""
|
1216 |
|
1217 |
-
#: ../admin/manage-images.php:
|
1218 |
msgid "Main page (No parent)"
|
1219 |
msgstr ""
|
1220 |
|
1221 |
-
#: ../admin/manage-images.php:
|
1222 |
msgid "Add page"
|
1223 |
msgstr ""
|
1224 |
|
1225 |
-
#: ../admin/manage-images.php:
|
1226 |
msgid "Scan Folder for new images"
|
1227 |
msgstr ""
|
1228 |
|
1229 |
-
#: ../admin/manage-images.php:
|
1230 |
-
#: ../admin/manage-images.php:
|
1231 |
-
#: ../admin/manage-images.php:
|
1232 |
msgid "Save Changes"
|
1233 |
msgstr ""
|
1234 |
|
1235 |
-
#: ../admin/manage-images.php:
|
1236 |
msgid "Delete images"
|
1237 |
msgstr ""
|
1238 |
|
1239 |
-
#: ../admin/manage-images.php:
|
1240 |
msgid "Rotate images clockwise"
|
1241 |
msgstr ""
|
1242 |
|
1243 |
-
#: ../admin/manage-images.php:
|
1244 |
msgid "Rotate images counter-clockwise"
|
1245 |
msgstr ""
|
1246 |
|
1247 |
-
#: ../admin/manage-images.php:
|
1248 |
msgid "Copy to..."
|
1249 |
msgstr ""
|
1250 |
|
1251 |
-
#: ../admin/manage-images.php:
|
1252 |
msgid "Move to..."
|
1253 |
msgstr ""
|
1254 |
|
1255 |
-
#: ../admin/manage-images.php:
|
1256 |
msgid "Add tags"
|
1257 |
msgstr ""
|
1258 |
|
1259 |
-
#: ../admin/manage-images.php:
|
1260 |
msgid "Overwrite tags"
|
1261 |
msgstr ""
|
1262 |
|
1263 |
-
#: ../admin/manage-images.php:
|
1264 |
msgid "Sort gallery"
|
1265 |
msgstr ""
|
1266 |
|
1267 |
-
#: ../admin/manage-images.php:
|
1268 |
msgid "pixel"
|
1269 |
msgstr ""
|
1270 |
|
1271 |
-
#: ../admin/manage-images.php:
|
1272 |
#, php-format
|
1273 |
msgid "View \"%s\""
|
1274 |
msgstr ""
|
1275 |
|
1276 |
-
#: ../admin/manage-images.php:
|
1277 |
msgid "View"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
-
#: ../admin/manage-images.php:
|
1281 |
msgid "Show Meta data"
|
1282 |
msgstr ""
|
1283 |
|
1284 |
-
#: ../admin/manage-images.php:
|
1285 |
msgid "Meta"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
-
#: ../admin/manage-images.php:
|
1289 |
msgid "Customize thumbnail"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
-
#: ../admin/manage-images.php:
|
1293 |
msgid "Edit thumb"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
-
#: ../admin/manage-images.php:
|
1297 |
msgid "Rotate"
|
1298 |
msgstr ""
|
1299 |
|
1300 |
-
#: ../admin/manage-images.php:
|
1301 |
msgid "Publish this image"
|
1302 |
msgstr ""
|
1303 |
|
1304 |
-
#: ../admin/manage-images.php:
|
1305 |
msgid "Publish"
|
1306 |
msgstr ""
|
1307 |
|
1308 |
-
#: ../admin/manage-images.php:
|
1309 |
msgid "Recover"
|
1310 |
msgstr ""
|
1311 |
|
1312 |
-
#: ../admin/manage-images.php:
|
1313 |
#, php-format
|
1314 |
msgid "Recover \"%s\" ?"
|
1315 |
msgstr ""
|
1316 |
|
1317 |
-
#: ../admin/manage-images.php:
|
1318 |
#, php-format
|
1319 |
msgid "Delete \"%s\" ?"
|
1320 |
msgstr ""
|
1321 |
|
1322 |
-
#: ../admin/manage-images.php:
|
1323 |
msgid "Enter the tags"
|
1324 |
msgstr ""
|
1325 |
|
1326 |
-
#: ../admin/manage-images.php:
|
1327 |
msgid "Select the destination gallery:"
|
1328 |
msgstr ""
|
1329 |
|
1330 |
-
#: ../admin/manage-images.php:
|
1331 |
msgid "Thumbnail"
|
1332 |
msgstr ""
|
1333 |
|
1334 |
-
#: ../admin/manage-images.php:
|
1335 |
#: ../admin/manage-sort.php:77
|
1336 |
msgid "Filename"
|
1337 |
msgstr ""
|
1338 |
|
1339 |
-
#: ../admin/manage-images.php:
|
1340 |
msgid "Alt & Title Text"
|
1341 |
msgstr ""
|
1342 |
|
1343 |
-
#: ../admin/manage-images.php:
|
1344 |
msgid "Tags (comma separated list)"
|
1345 |
msgstr ""
|
1346 |
|
1347 |
-
#: ../admin/manage-images.php:
|
1348 |
msgid "exclude"
|
1349 |
msgstr ""
|
1350 |
|
@@ -1438,13 +1550,17 @@ msgstr ""
|
|
1438 |
msgid "Published a new post"
|
1439 |
msgstr ""
|
1440 |
|
1441 |
-
#: ../admin/manage.php:
|
1442 |
#, php-format
|
1443 |
msgid "1 item"
|
1444 |
msgid_plural "%s items"
|
1445 |
msgstr[0] ""
|
1446 |
msgstr[1] ""
|
1447 |
|
|
|
|
|
|
|
|
|
1448 |
#: ../admin/media-upload.php:166
|
1449 |
msgid "No gallery"
|
1450 |
msgstr ""
|
@@ -1472,7 +1588,7 @@ msgstr ""
|
|
1472 |
|
1473 |
#: ../admin/media-upload.php:232
|
1474 |
#: ../admin/publish.php:57
|
1475 |
-
#: ../admin/settings.php:
|
1476 |
msgid "None"
|
1477 |
msgstr ""
|
1478 |
|
@@ -1495,7 +1611,7 @@ msgid "Right"
|
|
1495 |
msgstr ""
|
1496 |
|
1497 |
#: ../admin/media-upload.php:242
|
1498 |
-
#: ../admin/settings.php:
|
1499 |
msgid "Size"
|
1500 |
msgstr ""
|
1501 |
|
@@ -1568,258 +1684,262 @@ msgstr ""
|
|
1568 |
msgid "Help translating it."
|
1569 |
msgstr ""
|
1570 |
|
1571 |
-
#: ../admin/overview.php:
|
1572 |
msgid "Running..."
|
1573 |
msgstr ""
|
1574 |
|
1575 |
-
#: ../admin/overview.php:
|
1576 |
msgid "Check plugin/theme conflict"
|
1577 |
msgstr ""
|
1578 |
|
1579 |
-
#: ../admin/overview.php:
|
1580 |
-
#: ../admin/overview.php:
|
1581 |
-
#: ../admin/overview.php:
|
1582 |
msgid "Not tested"
|
1583 |
msgstr ""
|
1584 |
|
1585 |
-
#: ../admin/overview.php:
|
1586 |
msgid "No conflict could be detected"
|
1587 |
msgstr ""
|
1588 |
|
1589 |
-
#: ../admin/overview.php:
|
1590 |
msgid "Test failed, disable other plugins & switch to default theme"
|
1591 |
msgstr ""
|
1592 |
|
1593 |
-
#: ../admin/overview.php:
|
1594 |
msgid "Test image function"
|
1595 |
msgstr ""
|
1596 |
|
1597 |
-
#: ../admin/overview.php:
|
1598 |
msgid "The plugin could create images"
|
1599 |
msgstr ""
|
1600 |
|
1601 |
-
#: ../admin/overview.php:
|
1602 |
msgid "Couldn't create image, check your memory limit"
|
1603 |
msgstr ""
|
1604 |
|
1605 |
-
#: ../admin/overview.php:
|
1606 |
msgid "Check theme compatibility"
|
1607 |
msgstr ""
|
1608 |
|
1609 |
-
#: ../admin/overview.php:
|
1610 |
msgid "Your theme should work fine with NextGEN Gallery"
|
1611 |
msgstr ""
|
1612 |
|
1613 |
-
#: ../admin/overview.php:
|
1614 |
msgid "wp_head()/wp_footer() is missing, contact the theme author"
|
1615 |
msgstr ""
|
1616 |
|
1617 |
-
#: ../admin/overview.php:
|
1618 |
msgid "Check plugin"
|
1619 |
msgstr ""
|
1620 |
|
1621 |
-
#: ../admin/overview.php:
|
1622 |
msgid "Graphic Library"
|
1623 |
msgstr ""
|
1624 |
|
1625 |
-
#: ../admin/overview.php:
|
1626 |
-
#: ../admin/overview.php:
|
1627 |
-
#: ../admin/overview.php:
|
1628 |
-
#: ../admin/overview.php:
|
1629 |
msgid "Loading…"
|
1630 |
msgstr ""
|
1631 |
|
1632 |
-
#: ../admin/overview.php:
|
1633 |
-
#: ../admin/overview.php:
|
1634 |
-
#: ../admin/overview.php:
|
1635 |
-
#: ../admin/overview.php:
|
1636 |
msgid "This widget requires JavaScript."
|
1637 |
msgstr ""
|
1638 |
|
1639 |
-
#: ../admin/overview.php:
|
1640 |
msgid "Thanks to all donators..."
|
1641 |
msgstr ""
|
1642 |
|
1643 |
-
#: ../admin/overview.php:
|
1644 |
msgid "View all"
|
1645 |
msgstr ""
|
1646 |
|
1647 |
-
#: ../admin/overview.php:
|
1648 |
#, php-format
|
1649 |
msgid "Newsfeed could not be loaded. Check the <a href=\"%s\">front page</a> to check for updates."
|
1650 |
msgstr ""
|
1651 |
|
1652 |
-
#: ../admin/overview.php:
|
1653 |
msgid "Untitled"
|
1654 |
msgstr ""
|
1655 |
|
1656 |
-
#: ../admin/overview.php:
|
1657 |
msgid "At a Glance"
|
1658 |
msgstr ""
|
1659 |
|
1660 |
-
#: ../admin/overview.php:
|
1661 |
msgid "Upload pictures"
|
1662 |
msgstr ""
|
1663 |
|
1664 |
-
#: ../admin/overview.php:
|
1665 |
msgid "Here you can control your images, galleries and albums."
|
1666 |
msgstr ""
|
1667 |
|
1668 |
-
#: ../admin/overview.php:
|
1669 |
msgid "Storage Space"
|
1670 |
msgstr ""
|
1671 |
|
1672 |
-
#: ../admin/overview.php:
|
1673 |
#, php-format
|
1674 |
msgid "<a href=\"%1$s\" title=\"Manage Uploads\" class=\"musublink\">%2$sMB</a>"
|
1675 |
msgstr ""
|
1676 |
|
1677 |
-
#: ../admin/overview.php:
|
1678 |
msgid "Space Allowed"
|
1679 |
msgstr ""
|
1680 |
|
1681 |
-
#: ../admin/overview.php:
|
1682 |
#, php-format
|
1683 |
msgid "<a href=\"%1$s\" title=\"Manage Uploads\" class=\"musublink\">%2$sMB (%3$s%%)</a>"
|
1684 |
msgstr ""
|
1685 |
|
1686 |
-
#: ../admin/overview.php:
|
1687 |
msgid "Space Used"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
-
#: ../admin/overview.php:
|
1691 |
msgid "Translation file successful updated. Please reload page."
|
1692 |
msgstr ""
|
1693 |
|
1694 |
-
#: ../admin/overview.php:
|
1695 |
msgid "Reload page"
|
1696 |
msgstr ""
|
1697 |
|
1698 |
-
#: ../admin/overview.php:
|
1699 |
msgid "Translation file couldn't be updated"
|
1700 |
msgstr ""
|
1701 |
|
1702 |
-
#: ../admin/overview.php:
|
1703 |
msgid "Download"
|
1704 |
msgstr ""
|
1705 |
|
1706 |
-
#: ../admin/overview.php:
|
1707 |
msgid "No GD support"
|
1708 |
msgstr ""
|
1709 |
|
1710 |
-
#: ../admin/overview.php:
|
1711 |
-
#: ../admin/overview.php:
|
1712 |
-
#: ../admin/overview.php:
|
1713 |
-
#: ../admin/overview.php:
|
1714 |
msgid "Yes"
|
1715 |
msgstr ""
|
1716 |
|
1717 |
-
#: ../admin/overview.php:
|
1718 |
-
#: ../admin/overview.php:
|
1719 |
-
#: ../admin/overview.php:
|
1720 |
-
#: ../admin/overview.php:
|
1721 |
msgid "No"
|
1722 |
msgstr ""
|
1723 |
|
1724 |
-
#: ../admin/overview.php:
|
1725 |
msgid "Not set"
|
1726 |
msgstr ""
|
1727 |
|
1728 |
-
#: ../admin/overview.php:
|
1729 |
-
#: ../admin/overview.php:
|
1730 |
msgid "On"
|
1731 |
msgstr ""
|
1732 |
|
1733 |
-
#: ../admin/overview.php:
|
1734 |
-
#: ../admin/overview.php:
|
1735 |
msgid "Off"
|
1736 |
msgstr ""
|
1737 |
|
1738 |
-
#: ../admin/overview.php:
|
1739 |
-
#: ../admin/overview.php:
|
1740 |
-
#: ../admin/overview.php:
|
1741 |
-
#: ../admin/overview.php:
|
1742 |
-
#: ../admin/overview.php:
|
1743 |
-
#: ../admin/overview.php:
|
1744 |
msgid "N/A"
|
1745 |
msgstr ""
|
1746 |
|
1747 |
-
#: ../admin/overview.php:
|
1748 |
msgid " MByte"
|
1749 |
msgstr ""
|
1750 |
|
1751 |
-
#: ../admin/overview.php:
|
1752 |
msgid "Operating System"
|
1753 |
msgstr ""
|
1754 |
|
1755 |
-
#: ../admin/overview.php:
|
1756 |
msgid "Server"
|
1757 |
msgstr ""
|
1758 |
|
1759 |
-
#: ../admin/overview.php:
|
1760 |
msgid "Memory usage"
|
1761 |
msgstr ""
|
1762 |
|
1763 |
-
#: ../admin/overview.php:
|
1764 |
msgid "MYSQL Version"
|
1765 |
msgstr ""
|
1766 |
|
1767 |
-
#: ../admin/overview.php:
|
1768 |
msgid "SQL Mode"
|
1769 |
msgstr ""
|
1770 |
|
1771 |
-
#: ../admin/overview.php:
|
1772 |
msgid "PHP Version"
|
1773 |
msgstr ""
|
1774 |
|
1775 |
-
#: ../admin/overview.php:
|
1776 |
msgid "PHP Safe Mode"
|
1777 |
msgstr ""
|
1778 |
|
1779 |
-
#: ../admin/overview.php:
|
1780 |
msgid "PHP Allow URL fopen"
|
1781 |
msgstr ""
|
1782 |
|
1783 |
-
#: ../admin/overview.php:
|
1784 |
msgid "PHP Memory Limit"
|
1785 |
msgstr ""
|
1786 |
|
1787 |
-
#: ../admin/overview.php:
|
1788 |
msgid "PHP Max Upload Size"
|
1789 |
msgstr ""
|
1790 |
|
1791 |
-
#: ../admin/overview.php:
|
1792 |
msgid "PHP Max Post Size"
|
1793 |
msgstr ""
|
1794 |
|
1795 |
-
#: ../admin/overview.php:
|
1796 |
msgid "PCRE Backtracking Limit"
|
1797 |
msgstr ""
|
1798 |
|
1799 |
-
#: ../admin/overview.php:
|
1800 |
msgid "PHP Max Script Execute Time"
|
1801 |
msgstr ""
|
1802 |
|
1803 |
-
#: ../admin/overview.php:
|
1804 |
msgid "PHP Exif support"
|
1805 |
msgstr ""
|
1806 |
|
1807 |
-
#: ../admin/overview.php:
|
1808 |
msgid "PHP IPTC support"
|
1809 |
msgstr ""
|
1810 |
|
1811 |
-
#: ../admin/overview.php:
|
1812 |
msgid "PHP XML support"
|
1813 |
msgstr ""
|
1814 |
|
1815 |
-
#: ../admin/overview.php:
|
1816 |
msgid "NextGEN Gallery contains some functions which are only available under PHP 5.2. You are using the old PHP 4 version, upgrade now! It's no longer supported by the PHP group. Many shared hosting providers offer both PHP 4 and PHP 5, running simultaneously. Ask your provider if they can do this."
|
1817 |
msgstr ""
|
1818 |
|
1819 |
-
#: ../admin/overview.php:
|
1820 |
msgid "Install"
|
1821 |
msgstr ""
|
1822 |
|
|
|
|
|
|
|
|
|
1823 |
#: ../admin/publish.php:45
|
1824 |
msgid "Post title"
|
1825 |
msgstr ""
|
@@ -1916,585 +2036,577 @@ msgstr ""
|
|
1916 |
msgid "Cache cleared"
|
1917 |
msgstr ""
|
1918 |
|
1919 |
-
#: ../admin/settings.php:
|
1920 |
-
#: ../admin/settings.php:
|
1921 |
msgid "General Options"
|
1922 |
msgstr ""
|
1923 |
|
1924 |
-
#: ../admin/settings.php:
|
1925 |
-
#: ../admin/settings.php:
|
1926 |
msgid "Thumbnails"
|
1927 |
msgstr ""
|
1928 |
|
1929 |
-
#: ../admin/settings.php:
|
1930 |
msgid "Images"
|
1931 |
msgstr ""
|
1932 |
|
1933 |
-
#: ../admin/settings.php:
|
1934 |
-
#: ../admin/settings.php:
|
1935 |
msgid "Effects"
|
1936 |
msgstr ""
|
1937 |
|
1938 |
-
#: ../admin/settings.php:
|
1939 |
-
#: ../admin/settings.php:
|
1940 |
#: ../admin/tinymce/window.php:110
|
1941 |
msgid "Watermark"
|
1942 |
msgstr ""
|
1943 |
|
1944 |
-
#: ../admin/settings.php:
|
1945 |
-
#: ../admin/settings.php:
|
1946 |
-
#: ../admin/settings.php:
|
1947 |
#: ../admin/tinymce/window.php:63
|
1948 |
msgid "Slideshow"
|
1949 |
msgstr ""
|
1950 |
|
1951 |
-
#: ../admin/settings.php:
|
1952 |
#: ../admin/wpmu.php:68
|
1953 |
msgid "Gallery path"
|
1954 |
msgstr ""
|
1955 |
|
1956 |
-
#: ../admin/settings.php:
|
1957 |
msgid "This is the default path for all galleries"
|
1958 |
msgstr ""
|
1959 |
|
1960 |
-
#: ../admin/settings.php:
|
1961 |
msgid "Delete image files"
|
1962 |
msgstr ""
|
1963 |
|
1964 |
-
#: ../admin/settings.php:
|
1965 |
msgid "Delete files, when removing a gallery in the database"
|
1966 |
msgstr ""
|
1967 |
|
1968 |
-
#: ../admin/settings.php:
|
1969 |
msgid "Activate permalinks"
|
1970 |
msgstr ""
|
1971 |
|
1972 |
-
#: ../admin/settings.php:
|
1973 |
msgid "When you activate this option, you need to update your permalink structure one time."
|
1974 |
msgstr ""
|
1975 |
|
1976 |
-
#: ../admin/settings.php:
|
1977 |
msgid "Gallery slug name :"
|
1978 |
msgstr ""
|
1979 |
|
1980 |
-
#: ../admin/settings.php:
|
1981 |
msgid "Create new URL friendly image slugs"
|
1982 |
msgstr ""
|
1983 |
|
1984 |
-
#: ../admin/settings.php:
|
1985 |
-
#: ../admin/settings.php:
|
1986 |
msgid "Proceed now"
|
1987 |
msgstr ""
|
1988 |
|
1989 |
-
#: ../admin/settings.php:
|
1990 |
msgid "Select graphic library"
|
1991 |
msgstr ""
|
1992 |
|
1993 |
-
#: ../admin/settings.php:
|
1994 |
msgid "GD Library"
|
1995 |
msgstr ""
|
1996 |
|
1997 |
-
#: ../admin/settings.php:
|
1998 |
msgid "ImageMagick (Experimental). Path to the library :"
|
1999 |
msgstr ""
|
2000 |
|
2001 |
-
#: ../admin/settings.php:
|
2002 |
msgid "Activate Media RSS feed"
|
2003 |
msgstr ""
|
2004 |
|
2005 |
-
#: ../admin/settings.php:
|
2006 |
msgid "A RSS feed will be added to you blog header. Useful for CoolIris/PicLens"
|
2007 |
msgstr ""
|
2008 |
|
2009 |
-
#: ../admin/settings.php:
|
2010 |
msgid "Activate PicLens/CoolIris support"
|
2011 |
msgstr ""
|
2012 |
|
2013 |
-
#: ../admin/settings.php:
|
2014 |
msgid "When you activate this option, some javascript is added to your site footer. Make sure that wp_footer is called in your theme."
|
2015 |
msgstr ""
|
2016 |
|
2017 |
-
#: ../admin/settings.php:
|
2018 |
msgid "Tags / Categories"
|
2019 |
msgstr ""
|
2020 |
|
2021 |
-
#: ../admin/settings.php:
|
2022 |
msgid "Activate related images"
|
2023 |
msgstr ""
|
2024 |
|
2025 |
-
#: ../admin/settings.php:
|
2026 |
msgid "This option will append related images to every post"
|
2027 |
msgstr ""
|
2028 |
|
2029 |
-
#: ../admin/settings.php:
|
2030 |
msgid "Match with"
|
2031 |
msgstr ""
|
2032 |
|
2033 |
-
#: ../admin/settings.php:
|
2034 |
msgid "Categories"
|
2035 |
msgstr ""
|
2036 |
|
2037 |
-
#: ../admin/settings.php:
|
2038 |
msgid "Max. number of images"
|
2039 |
msgstr ""
|
2040 |
|
2041 |
-
#: ../admin/settings.php:
|
2042 |
msgid "0 will show all images"
|
2043 |
msgstr ""
|
2044 |
|
2045 |
-
#: ../admin/settings.php:
|
2046 |
-
#: ../admin/settings.php:
|
2047 |
-
#: ../admin/settings.php:
|
2048 |
-
#: ../admin/settings.php:
|
2049 |
-
#: ../admin/settings.php:
|
2050 |
-
#: ../admin/settings.php:
|
2051 |
msgid "More settings"
|
2052 |
msgstr ""
|
2053 |
|
2054 |
-
#: ../admin/settings.php:
|
2055 |
msgid "Thumbnail settings"
|
2056 |
msgstr ""
|
2057 |
|
2058 |
-
#: ../admin/settings.php:
|
2059 |
msgid "Please note : If you change the settings, you need to recreate the thumbnails under -> Manage Gallery ."
|
2060 |
msgstr ""
|
2061 |
|
2062 |
-
#: ../admin/settings.php:
|
2063 |
msgid "Thumbnail quality"
|
2064 |
msgstr ""
|
2065 |
|
2066 |
-
#: ../admin/settings.php:
|
2067 |
msgid "Image settings"
|
2068 |
msgstr ""
|
2069 |
|
2070 |
-
#: ../admin/settings.php:
|
2071 |
msgid "Resize Images"
|
2072 |
msgstr ""
|
2073 |
|
2074 |
-
#: ../admin/settings.php:
|
2075 |
msgid "Image quality"
|
2076 |
msgstr ""
|
2077 |
|
2078 |
-
#: ../admin/settings.php:
|
2079 |
msgid "Backup original images"
|
2080 |
msgstr ""
|
2081 |
|
2082 |
-
#: ../admin/settings.php:
|
2083 |
msgid "Creates a backup for inserted images"
|
2084 |
msgstr ""
|
2085 |
|
2086 |
-
#: ../admin/settings.php:
|
2087 |
msgid "Automatically resize"
|
2088 |
msgstr ""
|
2089 |
|
2090 |
-
#: ../admin/settings.php:
|
2091 |
msgid "Automatically resize images on upload."
|
2092 |
msgstr ""
|
2093 |
|
2094 |
-
#: ../admin/settings.php:
|
2095 |
msgid "Single picture"
|
2096 |
msgstr ""
|
2097 |
|
2098 |
-
#: ../admin/settings.php:
|
2099 |
-
msgid "Cache single pictures"
|
2100 |
-
msgstr ""
|
2101 |
-
|
2102 |
-
#: ../admin/settings.php:371
|
2103 |
-
msgid "Creates a file for each singlepic settings. Reduce the CPU load"
|
2104 |
-
msgstr ""
|
2105 |
-
|
2106 |
-
#: ../admin/settings.php:374
|
2107 |
msgid "Clear cache folder"
|
2108 |
msgstr ""
|
2109 |
|
2110 |
-
#: ../admin/settings.php:
|
2111 |
msgid "Deactivate gallery page link"
|
2112 |
msgstr ""
|
2113 |
|
2114 |
-
#: ../admin/settings.php:
|
2115 |
msgid "The album will not link to a gallery subpage. The gallery is shown on the same page."
|
2116 |
msgstr ""
|
2117 |
|
2118 |
-
#: ../admin/settings.php:
|
2119 |
msgid "Number of images per page"
|
2120 |
msgstr ""
|
2121 |
|
2122 |
-
#: ../admin/settings.php:
|
2123 |
msgid "0 will disable pagination, all images on one page"
|
2124 |
msgstr ""
|
2125 |
|
2126 |
-
#: ../admin/settings.php:
|
2127 |
msgid "Number of columns"
|
2128 |
msgstr ""
|
2129 |
|
2130 |
-
#: ../admin/settings.php:
|
2131 |
msgid "0 will display as much as possible based on the width of your theme. Setting normally only required for captions below the images"
|
2132 |
msgstr ""
|
2133 |
|
2134 |
-
#: ../admin/settings.php:
|
2135 |
msgid "Integrate slideshow"
|
2136 |
msgstr ""
|
2137 |
|
2138 |
-
#: ../admin/settings.php:
|
2139 |
msgid "Show first"
|
2140 |
msgstr ""
|
2141 |
|
2142 |
-
#: ../admin/settings.php:
|
2143 |
msgid "Show ImageBrowser"
|
2144 |
msgstr ""
|
2145 |
|
2146 |
-
#: ../admin/settings.php:
|
2147 |
msgid "The gallery will open the ImageBrowser instead the effect."
|
2148 |
msgstr ""
|
2149 |
|
2150 |
-
#: ../admin/settings.php:
|
2151 |
msgid "Add hidden images"
|
2152 |
msgstr ""
|
2153 |
|
2154 |
-
#: ../admin/settings.php:
|
2155 |
msgid "If pagination is used, this option will still show all images in the modal window (Thickbox, Lightbox etc.). Note : This increases the page load"
|
2156 |
msgstr ""
|
2157 |
|
2158 |
-
#: ../admin/settings.php:
|
2159 |
msgid "Enable AJAX pagination"
|
2160 |
msgstr ""
|
2161 |
|
2162 |
-
#: ../admin/settings.php:
|
2163 |
msgid "Browse images without reload the page. Note : Works only in combination with Shutter effect"
|
2164 |
msgstr ""
|
2165 |
|
2166 |
-
#: ../admin/settings.php:
|
2167 |
msgid "Sort options"
|
2168 |
msgstr ""
|
2169 |
|
2170 |
-
#: ../admin/settings.php:
|
2171 |
msgid "Sort thumbnails"
|
2172 |
msgstr ""
|
2173 |
|
2174 |
-
#: ../admin/settings.php:
|
2175 |
msgid "Custom order"
|
2176 |
msgstr ""
|
2177 |
|
2178 |
-
#: ../admin/settings.php:
|
2179 |
msgid "File name"
|
2180 |
msgstr ""
|
2181 |
|
2182 |
-
#: ../admin/settings.php:
|
2183 |
msgid "Alt / Title text"
|
2184 |
msgstr ""
|
2185 |
|
2186 |
-
#: ../admin/settings.php:
|
2187 |
msgid "Date / Time"
|
2188 |
msgstr ""
|
2189 |
|
2190 |
-
#: ../admin/settings.php:
|
2191 |
msgid "Sort direction"
|
2192 |
msgstr ""
|
2193 |
|
2194 |
-
#: ../admin/settings.php:
|
2195 |
msgid "Here you can select the thumbnail effect, NextGEN Gallery will integrate the required HTML code in the images. Please note that only the Shutter and Thickbox effect will automatic added to your theme."
|
2196 |
msgstr ""
|
2197 |
|
2198 |
-
#: ../admin/settings.php:
|
2199 |
msgid "With the placeholder"
|
2200 |
msgstr ""
|
2201 |
|
2202 |
-
#: ../admin/settings.php:
|
2203 |
msgid "you can activate a navigation through the images (depend on the effect). Change the code line only , when you use a different thumbnail effect or you know what you do."
|
2204 |
msgstr ""
|
2205 |
|
2206 |
-
#: ../admin/settings.php:
|
2207 |
msgid "JavaScript Thumbnail effect"
|
2208 |
msgstr ""
|
2209 |
|
2210 |
-
#: ../admin/settings.php:
|
2211 |
msgid "Thickbox"
|
2212 |
msgstr ""
|
2213 |
|
2214 |
-
#: ../admin/settings.php:
|
2215 |
msgid "Lightbox"
|
2216 |
msgstr ""
|
2217 |
|
2218 |
-
#: ../admin/settings.php:
|
2219 |
msgid "Highslide"
|
2220 |
msgstr ""
|
2221 |
|
2222 |
-
#: ../admin/settings.php:
|
2223 |
msgid "Shutter"
|
2224 |
msgstr ""
|
2225 |
|
2226 |
-
#: ../admin/settings.php:
|
2227 |
msgid "Custom"
|
2228 |
msgstr ""
|
2229 |
|
2230 |
-
#: ../admin/settings.php:
|
2231 |
msgid "Link Code line"
|
2232 |
msgstr ""
|
2233 |
|
2234 |
-
#: ../admin/settings.php:
|
2235 |
msgid "Please note : You can only activate the watermark under -> Manage Gallery . This action cannot be undone."
|
2236 |
msgstr ""
|
2237 |
|
2238 |
-
#: ../admin/settings.php:
|
2239 |
msgid "Preview"
|
2240 |
msgstr ""
|
2241 |
|
2242 |
-
#: ../admin/settings.php:
|
2243 |
-
#: ../admin/settings.php:
|
2244 |
msgid "Position"
|
2245 |
msgstr ""
|
2246 |
|
2247 |
-
#: ../admin/settings.php:
|
2248 |
msgid "Offset"
|
2249 |
msgstr ""
|
2250 |
|
2251 |
-
#: ../admin/settings.php:
|
2252 |
msgid "Use image as watermark"
|
2253 |
msgstr ""
|
2254 |
|
2255 |
-
#: ../admin/settings.php:
|
2256 |
msgid "URL to file"
|
2257 |
msgstr ""
|
2258 |
|
2259 |
-
#: ../admin/settings.php:
|
2260 |
msgid "The accessing of URL files is disabled at your server (allow_url_fopen)"
|
2261 |
msgstr ""
|
2262 |
|
2263 |
-
#: ../admin/settings.php:
|
2264 |
msgid "Use text as watermark"
|
2265 |
msgstr ""
|
2266 |
|
2267 |
-
#: ../admin/settings.php:
|
2268 |
msgid "Font"
|
2269 |
msgstr ""
|
2270 |
|
2271 |
-
#: ../admin/settings.php:
|
2272 |
msgid "This function will not work, cause you need the FreeType library"
|
2273 |
msgstr ""
|
2274 |
|
2275 |
-
#: ../admin/settings.php:
|
2276 |
msgid "You can upload more fonts in the folder <strong>nggallery/fonts</strong>"
|
2277 |
msgstr ""
|
2278 |
|
2279 |
-
#: ../admin/settings.php:
|
2280 |
msgid "Color"
|
2281 |
msgstr ""
|
2282 |
|
2283 |
-
#: ../admin/settings.php:
|
2284 |
msgid "(hex w/o #)"
|
2285 |
msgstr ""
|
2286 |
|
2287 |
-
#: ../admin/settings.php:
|
2288 |
msgid "Text"
|
2289 |
msgstr ""
|
2290 |
|
2291 |
-
#: ../admin/settings.php:
|
2292 |
msgid "Opaque"
|
2293 |
msgstr ""
|
2294 |
|
2295 |
-
#: ../admin/settings.php:
|
2296 |
msgid "Default size (W x H)"
|
2297 |
msgstr ""
|
2298 |
|
2299 |
-
#: ../admin/settings.php:
|
2300 |
msgid "Duration time"
|
2301 |
msgstr ""
|
2302 |
|
2303 |
-
#: ../admin/settings.php:
|
2304 |
msgid "sec."
|
2305 |
msgstr ""
|
2306 |
|
2307 |
-
#: ../admin/settings.php:
|
2308 |
-
#: ../admin/settings.php:
|
2309 |
msgid "Transition / Fade effect"
|
2310 |
msgstr ""
|
2311 |
|
2312 |
-
#: ../admin/settings.php:
|
2313 |
-
#: ../admin/settings.php:
|
2314 |
msgid "fade"
|
2315 |
msgstr ""
|
2316 |
|
2317 |
-
#: ../admin/settings.php:
|
2318 |
msgid "blindX"
|
2319 |
msgstr ""
|
2320 |
|
2321 |
-
#: ../admin/settings.php:
|
2322 |
msgid "cover"
|
2323 |
msgstr ""
|
2324 |
|
2325 |
-
#: ../admin/settings.php:
|
2326 |
msgid "scrollUp"
|
2327 |
msgstr ""
|
2328 |
|
2329 |
-
#: ../admin/settings.php:
|
2330 |
msgid "scrollDown"
|
2331 |
msgstr ""
|
2332 |
|
2333 |
-
#: ../admin/settings.php:
|
2334 |
msgid "shuffle"
|
2335 |
msgstr ""
|
2336 |
|
2337 |
-
#: ../admin/settings.php:
|
2338 |
msgid "toss"
|
2339 |
msgstr ""
|
2340 |
|
2341 |
-
#: ../admin/settings.php:
|
2342 |
msgid "wipe"
|
2343 |
msgstr ""
|
2344 |
|
2345 |
-
#: ../admin/settings.php:
|
2346 |
msgid "See here for more information about the effects :"
|
2347 |
msgstr ""
|
2348 |
|
2349 |
-
#: ../admin/settings.php:
|
2350 |
msgid "Settings for the JW Image Rotator"
|
2351 |
msgstr ""
|
2352 |
|
2353 |
-
#: ../admin/settings.php:
|
2354 |
msgid "The settings are only used in the JW Image Rotator Version"
|
2355 |
msgstr ""
|
2356 |
|
2357 |
-
#: ../admin/settings.php:
|
2358 |
msgid "See more information for the Flash Player on the web page"
|
2359 |
msgstr ""
|
2360 |
|
2361 |
-
#: ../admin/settings.php:
|
2362 |
msgid "The path to imagerotator.swf is not defined, the slideshow will not work."
|
2363 |
msgstr ""
|
2364 |
|
2365 |
-
#: ../admin/settings.php:
|
2366 |
msgid "If you would like to use the JW Image Rotatator, please download the player <a href=\"http://www.longtailvideo.com/players/jw-image-rotator/\" target=\"_blank\" >here</a> and upload it to your Upload folder (Default is wp-content/uploads)."
|
2367 |
msgstr ""
|
2368 |
|
2369 |
-
#: ../admin/settings.php:
|
2370 |
msgid "Enable flash slideshow"
|
2371 |
msgstr ""
|
2372 |
|
2373 |
-
#: ../admin/settings.php:
|
2374 |
msgid "Integrate the flash based slideshow for all flash supported devices"
|
2375 |
msgstr ""
|
2376 |
|
2377 |
-
#: ../admin/settings.php:
|
2378 |
msgid "Path to the Imagerotator (URL)"
|
2379 |
msgstr ""
|
2380 |
|
2381 |
-
#: ../admin/settings.php:
|
2382 |
msgid "Search now"
|
2383 |
msgstr ""
|
2384 |
|
2385 |
-
#: ../admin/settings.php:
|
2386 |
msgid "Press the button to search automatically for the imagerotator, if you uploaded it to wp-content/uploads or a subfolder"
|
2387 |
msgstr ""
|
2388 |
|
2389 |
-
#: ../admin/settings.php:
|
2390 |
msgid "Shuffle mode"
|
2391 |
msgstr ""
|
2392 |
|
2393 |
-
#: ../admin/settings.php:
|
2394 |
msgid "Show next image on click"
|
2395 |
msgstr ""
|
2396 |
|
2397 |
-
#: ../admin/settings.php:
|
2398 |
msgid "Show navigation bar"
|
2399 |
msgstr ""
|
2400 |
|
2401 |
-
#: ../admin/settings.php:
|
2402 |
msgid "Show loading icon"
|
2403 |
msgstr ""
|
2404 |
|
2405 |
-
#: ../admin/settings.php:
|
2406 |
msgid "Use watermark logo"
|
2407 |
msgstr ""
|
2408 |
|
2409 |
-
#: ../admin/settings.php:
|
2410 |
msgid "You can change the logo at the watermark settings"
|
2411 |
msgstr ""
|
2412 |
|
2413 |
-
#: ../admin/settings.php:
|
2414 |
msgid "Stretch image"
|
2415 |
msgstr ""
|
2416 |
|
2417 |
-
#: ../admin/settings.php:
|
2418 |
msgid "true"
|
2419 |
msgstr ""
|
2420 |
|
2421 |
-
#: ../admin/settings.php:
|
2422 |
msgid "false"
|
2423 |
msgstr ""
|
2424 |
|
2425 |
-
#: ../admin/settings.php:
|
2426 |
msgid "fit"
|
2427 |
msgstr ""
|
2428 |
|
2429 |
-
#: ../admin/settings.php:
|
2430 |
msgid "none"
|
2431 |
msgstr ""
|
2432 |
|
2433 |
-
#: ../admin/settings.php:
|
2434 |
msgid "bgfade"
|
2435 |
msgstr ""
|
2436 |
|
2437 |
-
#: ../admin/settings.php:
|
2438 |
msgid "slowfade"
|
2439 |
msgstr ""
|
2440 |
|
2441 |
-
#: ../admin/settings.php:
|
2442 |
msgid "circles"
|
2443 |
msgstr ""
|
2444 |
|
2445 |
-
#: ../admin/settings.php:
|
2446 |
msgid "bubbles"
|
2447 |
msgstr ""
|
2448 |
|
2449 |
-
#: ../admin/settings.php:
|
2450 |
msgid "blocks"
|
2451 |
msgstr ""
|
2452 |
|
2453 |
-
#: ../admin/settings.php:
|
2454 |
msgid "fluids"
|
2455 |
msgstr ""
|
2456 |
|
2457 |
-
#: ../admin/settings.php:
|
2458 |
msgid "flash"
|
2459 |
msgstr ""
|
2460 |
|
2461 |
-
#: ../admin/settings.php:
|
2462 |
msgid "lines"
|
2463 |
msgstr ""
|
2464 |
|
2465 |
-
#: ../admin/settings.php:
|
2466 |
msgid "random"
|
2467 |
msgstr ""
|
2468 |
|
2469 |
-
#: ../admin/settings.php:
|
2470 |
msgid "Use slow zooming effect"
|
2471 |
msgstr ""
|
2472 |
|
2473 |
-
#: ../admin/settings.php:
|
2474 |
msgid "Background Color"
|
2475 |
msgstr ""
|
2476 |
|
2477 |
-
#: ../admin/settings.php:
|
2478 |
msgid "Texts / Buttons Color"
|
2479 |
msgstr ""
|
2480 |
|
2481 |
-
#: ../admin/settings.php:
|
2482 |
msgid "Rollover / Active Color"
|
2483 |
msgstr ""
|
2484 |
|
2485 |
-
#: ../admin/settings.php:
|
2486 |
msgid "Screen Color"
|
2487 |
msgstr ""
|
2488 |
|
2489 |
-
#: ../admin/settings.php:
|
2490 |
msgid "Background music (URL)"
|
2491 |
msgstr ""
|
2492 |
|
2493 |
-
#: ../admin/settings.php:
|
2494 |
msgid "Try XHTML validation (with CDATA)"
|
2495 |
msgstr ""
|
2496 |
|
2497 |
-
#: ../admin/settings.php:
|
2498 |
msgid "Important : Could causes problem at some browser. Please recheck your page."
|
2499 |
msgstr ""
|
2500 |
|
@@ -2765,51 +2877,51 @@ msgid "Upgrade database structure..."
|
|
2765 |
msgstr ""
|
2766 |
|
2767 |
#: ../admin/upgrade.php:108
|
2768 |
-
#: ../admin/upgrade.php:
|
2769 |
-
#: ../admin/upgrade.php:
|
2770 |
-
#: ../admin/upgrade.php:
|
2771 |
-
#: ../admin/upgrade.php:
|
2772 |
msgid "finished"
|
2773 |
msgstr ""
|
2774 |
|
2775 |
-
#: ../admin/upgrade.php:
|
2776 |
msgid "Update file structure..."
|
2777 |
msgstr ""
|
2778 |
|
2779 |
-
#: ../admin/upgrade.php:
|
2780 |
msgid "Import date and time information..."
|
2781 |
msgstr ""
|
2782 |
|
2783 |
-
#: ../admin/upgrade.php:
|
2784 |
msgid "Move imagerotator to new location..."
|
2785 |
msgstr ""
|
2786 |
|
2787 |
-
#: ../admin/upgrade.php:
|
2788 |
msgid "Update settings..."
|
2789 |
msgstr ""
|
2790 |
|
2791 |
-
#: ../admin/upgrade.php:
|
2792 |
msgid "Updated widget structure. If you used NextGEN Widgets, you need to setup them again..."
|
2793 |
msgstr ""
|
2794 |
|
2795 |
-
#: ../admin/upgrade.php:
|
2796 |
-
#: ../admin/upgrade.php:
|
2797 |
msgid "Updated options."
|
2798 |
msgstr ""
|
2799 |
|
2800 |
-
#: ../admin/upgrade.php:
|
2801 |
msgid "Create unique slug"
|
2802 |
msgstr ""
|
2803 |
|
2804 |
-
#: ../admin/upgrade.php:
|
2805 |
msgid "One of the upcomming features are a reworked permalinks structure."
|
2806 |
msgstr ""
|
2807 |
|
2808 |
-
#: ../admin/upgrade.php:
|
2809 |
msgid "Therefore it's needed to have a unique identifier for each image, gallery and album."
|
2810 |
msgstr ""
|
2811 |
|
2812 |
-
#: ../admin/upgrade.php:
|
2813 |
msgid "Depend on the amount of database entries this will take a while, don't reload this page."
|
2814 |
msgstr ""
|
2815 |
|
@@ -3008,7 +3120,7 @@ msgstr ""
|
|
3008 |
msgid "Insert"
|
3009 |
msgstr ""
|
3010 |
|
3011 |
-
#: ../lib/core.php:
|
3012 |
#, php-format
|
3013 |
msgid "Note : Based on your server memory limit you should not upload larger images then <strong>%d x %d</strong> pixel"
|
3014 |
msgstr ""
|
@@ -3167,12 +3279,12 @@ msgstr ""
|
|
3167 |
msgid "Sorry, you have used your space allocation. Please delete some files to upload more files."
|
3168 |
msgstr ""
|
3169 |
|
3170 |
-
#: ../lib/ngg-db.php:330
|
3171 |
#: ../lib/ngg-db.php:331
|
|
|
3172 |
msgid "Album overview"
|
3173 |
msgstr ""
|
3174 |
|
3175 |
-
#: ../lib/shortcodes.php:
|
3176 |
msgid "[Pictures not found]"
|
3177 |
msgstr ""
|
3178 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: NextGEN Gallery\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-10-23 18:02+0100\n"
|
6 |
+
"PO-Revision-Date: 2011-10-23 18:03+0100\n"
|
7 |
"Last-Translator: Alex Rabe\n"
|
8 |
"Language-Team: Alex Rabe\n"
|
9 |
"MIME-Version: 1.0\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPath-1: ..\n"
|
19 |
|
20 |
+
#: ../nggallery.php:100
|
21 |
msgid "<strong>Translation by : </strong><a target=\"_blank\" href=\"http://alexrabe.de/wordpress-plugins/nextgen-gallery/languages/\">See here</a>"
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: ../nggallery.php:101
|
25 |
+
msgid "<strong>This translation is not yet updated for Version 1.9.0</strong>. If you would like to help with translation, download the current po from the plugin folder and read <a href=\"http://alexrabe.de/wordpress-plugins/wordtube/translation-of-plugins/\">here</a> how you can translate the plugin."
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: ../nggallery.php:205
|
29 |
msgid "Sorry, NextGEN Gallery works only with a Memory Limit of 16 MB or higher"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: ../nggallery.php:225
|
33 |
msgid "Please update the database of NextGEN Gallery."
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: ../nggallery.php:225
|
37 |
msgid "Click here to proceed."
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: ../nggallery.php:248
|
41 |
msgid "Picture tag"
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: ../nggallery.php:249
|
45 |
msgid "Picture tag: %2$l."
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: ../nggallery.php:250
|
49 |
msgid "Separate picture tags with commas."
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: ../nggallery.php:357
|
53 |
+
#: ../admin/admin.php:256
|
54 |
msgid "L O A D I N G"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: ../nggallery.php:358
|
58 |
+
#: ../admin/admin.php:257
|
59 |
msgid "Click to Close"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: ../nggallery.php:379
|
63 |
msgid "loading"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: ../nggallery.php:517
|
67 |
+
#: ../nggfunctions.php:941
|
68 |
+
#: ../admin/admin.php:37
|
69 |
+
#: ../admin/admin.php:79
|
70 |
msgid "Overview"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: ../nggallery.php:518
|
74 |
msgid "Get help"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: ../nggallery.php:519
|
78 |
msgid "Contribute"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: ../nggallery.php:520
|
82 |
msgid "Donate"
|
83 |
msgstr ""
|
84 |
|
86 |
msgid "The <a href=\"http://www.macromedia.com/go/getflashplayer\">Flash Player</a> and <a href=\"http://www.mozilla.com/firefox/\">a browser with Javascript support</a> are needed."
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: ../nggfunctions.php:164
|
90 |
+
#: ../nggfunctions.php:642
|
91 |
msgid "[Gallery not found]"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: ../nggfunctions.php:450
|
95 |
msgid "[Album not found]"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: ../nggfunctions.php:771
|
99 |
msgid "[SinglePic not found]"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: ../nggfunctions.php:906
|
103 |
msgid "Related images for"
|
104 |
msgstr ""
|
105 |
|
237 |
msgstr ""
|
238 |
|
239 |
#: ../admin/addgallery.php:85
|
240 |
+
#: ../admin/addgallery.php:93
|
241 |
msgid "Upload failed! "
|
242 |
msgstr ""
|
243 |
|
244 |
#: ../admin/addgallery.php:90
|
245 |
+
#: ../admin/functions.php:943
|
246 |
+
#: ../admin/functions.php:1043
|
247 |
msgid "No gallery selected !"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: ../admin/addgallery.php:180
|
251 |
+
#: ../admin/addgallery.php:263
|
252 |
msgid "Image Files"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: ../admin/addgallery.php:195
|
256 |
+
#: ../admin/addgallery.php:284
|
257 |
+
#: ../admin/addgallery.php:312
|
258 |
msgid "remove"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: ../admin/addgallery.php:196
|
262 |
+
#: ../admin/addgallery.php:285
|
263 |
+
#: ../admin/addgallery.php:466
|
264 |
msgid "Browse..."
|
265 |
msgstr ""
|
266 |
|
|
|
267 |
#: ../admin/addgallery.php:197
|
268 |
+
#: ../admin/addgallery.php:235
|
269 |
+
#: ../admin/addgallery.php:286
|
270 |
+
#: ../admin/addgallery.php:298
|
271 |
+
#: ../admin/addgallery.php:537
|
272 |
msgid "Upload images"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: ../admin/addgallery.php:376
|
276 |
+
#: ../admin/addgallery.php:484
|
277 |
msgid "Upload Images"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: ../admin/addgallery.php:379
|
281 |
+
#: ../admin/addgallery.php:396
|
282 |
#: ../admin/manage-galleries.php:119
|
283 |
#: ../admin/manage-galleries.php:156
|
284 |
msgid "Add new gallery"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: ../admin/addgallery.php:382
|
288 |
+
#: ../admin/addgallery.php:418
|
289 |
msgid "Upload a Zip-File"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: ../admin/addgallery.php:385
|
293 |
+
#: ../admin/addgallery.php:460
|
294 |
msgid "Import image folder"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: ../admin/addgallery.php:401
|
298 |
#: ../admin/manage-galleries.php:279
|
299 |
msgid "New Gallery"
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: ../admin/addgallery.php:404
|
303 |
#: ../admin/manage-galleries.php:281
|
304 |
msgid "Create a new , empty gallery below the folder"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: ../admin/addgallery.php:406
|
308 |
#: ../admin/manage-galleries.php:283
|
309 |
msgid "Allowed characters for file and folder names are"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: ../admin/addgallery.php:410
|
313 |
msgid "Add gallery"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: ../admin/addgallery.php:423
|
317 |
msgid "Select Zip-File"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: ../admin/addgallery.php:425
|
321 |
msgid "Upload a zip file with images"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: ../admin/addgallery.php:429
|
325 |
msgid "or enter a Zip-File URL"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: ../admin/addgallery.php:431
|
329 |
msgid "Import a zip file with images from a url"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: ../admin/addgallery.php:435
|
333 |
+
#: ../admin/addgallery.php:512
|
334 |
msgid "in to"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: ../admin/addgallery.php:437
|
338 |
msgid "a new gallery"
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: ../admin/addgallery.php:448
|
342 |
msgid "Note : The upload limit on your server is "
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: ../admin/addgallery.php:452
|
346 |
msgid "Start upload"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: ../admin/addgallery.php:465
|
350 |
msgid "Import from Server path:"
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: ../admin/addgallery.php:468
|
354 |
msgid "Note : Change the default path in the gallery settings"
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: ../admin/addgallery.php:470
|
358 |
msgid " Please note : For safe-mode = ON you need to add the subfolder thumbs manually"
|
359 |
msgstr ""
|
360 |
|
361 |
+
#: ../admin/addgallery.php:473
|
362 |
msgid "Import folder"
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: ../admin/addgallery.php:490
|
366 |
msgid "Upload image"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: ../admin/addgallery.php:495
|
370 |
+
msgid "Choose files to upload"
|
371 |
+
msgstr ""
|
372 |
+
|
373 |
+
#: ../admin/addgallery.php:496
|
374 |
+
msgid "Select Files"
|
375 |
+
msgstr ""
|
376 |
+
|
377 |
+
#: ../admin/addgallery.php:498
|
378 |
+
msgid "Or you can drop the files into this window."
|
379 |
+
msgstr ""
|
380 |
+
|
381 |
+
#: ../admin/addgallery.php:501
|
382 |
+
#, php-format
|
383 |
+
msgid "Scale images to max width %1$dpx or max height %2$dpx"
|
384 |
+
msgstr ""
|
385 |
+
|
386 |
+
#: ../admin/addgallery.php:514
|
387 |
msgid "Choose gallery"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: ../admin/addgallery.php:533
|
391 |
msgid "The batch upload requires Adobe Flash 10, disable it if you have problems"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: ../admin/addgallery.php:533
|
395 |
msgid "Disable flash upload"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: ../admin/addgallery.php:535
|
399 |
msgid "Upload multiple files at once by ctrl/shift-selecting in dialog"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: ../admin/addgallery.php:535
|
403 |
msgid "Enable flash based upload"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: ../admin/admin.php:36
|
407 |
+
#: ../admin/admin.php:59
|
408 |
+
#: ../admin/admin.php:78
|
409 |
+
#: ../admin/admin.php:352
|
410 |
+
#: ../admin/admin.php:444
|
411 |
#: ../admin/functions.php:178
|
412 |
#: ../admin/manage-galleries.php:127
|
413 |
#: ../admin/manage-galleries.php:407
|
417 |
msgstr[0] ""
|
418 |
msgstr[1] ""
|
419 |
|
420 |
+
#: ../admin/admin.php:38
|
421 |
+
#: ../admin/admin.php:81
|
422 |
msgid "Add Gallery / Images"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: ../admin/admin.php:39
|
426 |
+
#: ../admin/admin.php:83
|
427 |
msgid "Manage Gallery"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: ../admin/admin.php:40
|
431 |
+
#: ../admin/admin.php:85
|
432 |
msgid "Album"
|
433 |
msgid_plural "Albums"
|
434 |
msgstr[0] ""
|
435 |
msgstr[1] ""
|
436 |
|
437 |
+
#: ../admin/admin.php:41
|
438 |
+
#: ../admin/admin.php:87
|
439 |
msgid "Tags"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: ../admin/admin.php:42
|
443 |
+
#: ../admin/admin.php:89
|
444 |
msgid "Options"
|
445 |
msgstr ""
|
446 |
|
447 |
+
#: ../admin/admin.php:44
|
448 |
+
#: ../admin/admin.php:91
|
449 |
msgid "Style"
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: ../admin/admin.php:46
|
453 |
msgid "Roles"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: ../admin/admin.php:47
|
457 |
msgid "About this Gallery"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: ../admin/admin.php:47
|
461 |
+
#: ../admin/admin.php:92
|
462 |
msgid "About"
|
463 |
msgstr ""
|
464 |
|
465 |
+
#: ../admin/admin.php:50
|
466 |
+
#: ../admin/admin.php:61
|
|
|
|
|
|
|
|
|
467 |
msgid "Reset / Uninstall"
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: ../admin/admin.php:60
|
471 |
msgid "Network settings"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: ../admin/admin.php:131
|
475 |
#, php-format
|
476 |
msgid "Thanks for using this plugin, I hope you are satisfied ! If you would like to support the further development, please consider a <strong><a href=\"%s\">donation</a></strong>! If you still need some help, please post your questions <a href=\"http://wordpress.org/tags/nextgen-gallery?forum_id=10\">here</a> ."
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: ../admin/admin.php:134
|
480 |
msgid "OK, hide this message now !"
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: ../admin/admin.php:213
|
484 |
msgid "You do not have the correct permission"
|
485 |
msgstr ""
|
486 |
|
487 |
+
#: ../admin/admin.php:214
|
488 |
msgid "Unexpected Error"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: ../admin/admin.php:215
|
492 |
msgid "A failure occurred"
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: ../admin/admin.php:219
|
496 |
+
msgid "You have attempted to queue too many files."
|
497 |
+
msgstr ""
|
498 |
+
|
499 |
+
#: ../admin/admin.php:220
|
500 |
+
msgid "This file exceeds the maximum upload size for this site."
|
501 |
+
msgstr ""
|
502 |
+
|
503 |
+
#: ../admin/admin.php:221
|
504 |
+
msgid "This file is empty. Please try another."
|
505 |
+
msgstr ""
|
506 |
+
|
507 |
+
#: ../admin/admin.php:222
|
508 |
+
msgid "This file type is not allowed. Please try another."
|
509 |
+
msgstr ""
|
510 |
+
|
511 |
+
#: ../admin/admin.php:223
|
512 |
+
msgid "This file is not an image. Please try another."
|
513 |
+
msgstr ""
|
514 |
+
|
515 |
+
#: ../admin/admin.php:224
|
516 |
+
msgid "Memory exceeded. Please try another smaller file."
|
517 |
+
msgstr ""
|
518 |
+
|
519 |
+
#: ../admin/admin.php:225
|
520 |
+
msgid "This is larger than the maximum size. Please try another."
|
521 |
+
msgstr ""
|
522 |
+
|
523 |
+
#: ../admin/admin.php:226
|
524 |
+
msgid "An error occurred in the upload. Please try again later."
|
525 |
+
msgstr ""
|
526 |
+
|
527 |
+
#: ../admin/admin.php:227
|
528 |
+
msgid "There was a configuration error. Please contact the server administrator."
|
529 |
+
msgstr ""
|
530 |
+
|
531 |
+
#: ../admin/admin.php:228
|
532 |
+
msgid "You may only upload 1 file."
|
533 |
+
msgstr ""
|
534 |
+
|
535 |
+
#: ../admin/admin.php:229
|
536 |
+
msgid "HTTP error."
|
537 |
+
msgstr ""
|
538 |
+
|
539 |
+
#: ../admin/admin.php:230
|
540 |
+
msgid "Upload failed."
|
541 |
+
msgstr ""
|
542 |
+
|
543 |
+
#: ../admin/admin.php:231
|
544 |
+
msgid "IO error."
|
545 |
+
msgstr ""
|
546 |
+
|
547 |
+
#: ../admin/admin.php:232
|
548 |
+
msgid "Security error."
|
549 |
+
msgstr ""
|
550 |
+
|
551 |
+
#: ../admin/admin.php:233
|
552 |
+
msgid "File canceled."
|
553 |
+
msgstr ""
|
554 |
+
|
555 |
+
#: ../admin/admin.php:234
|
556 |
+
msgid "Upload stopped."
|
557 |
+
msgstr ""
|
558 |
+
|
559 |
+
#: ../admin/admin.php:235
|
560 |
+
msgid "Dismiss"
|
561 |
+
msgstr ""
|
562 |
+
|
563 |
+
#: ../admin/admin.php:236
|
564 |
+
msgid "Crunching…"
|
565 |
+
msgstr ""
|
566 |
+
|
567 |
+
#: ../admin/admin.php:237
|
568 |
+
msgid "moved to the trash."
|
569 |
+
msgstr ""
|
570 |
+
|
571 |
+
#: ../admin/admin.php:238
|
572 |
+
#, php-format
|
573 |
+
msgid "“%s” has failed to upload due to an error"
|
574 |
+
msgstr ""
|
575 |
+
|
576 |
+
#: ../admin/admin.php:356
|
577 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Introduction</a>"
|
578 |
msgstr ""
|
579 |
|
580 |
+
#: ../admin/admin.php:359
|
581 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Setup</a>"
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: ../admin/admin.php:362
|
585 |
msgid "<a href=\"http://alexrabe.de/wordpress-plugins/nextgen-gallery/languages/\" target=\"_blank\">Translation by alex rabe</a>"
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: ../admin/admin.php:365
|
589 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Roles / Capabilities</a>"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: ../admin/admin.php:368
|
593 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Styles</a>"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: ../admin/admin.php:369
|
597 |
msgid "Templates"
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: ../admin/admin.php:372
|
601 |
+
#: ../admin/admin.php:378
|
602 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery management</a>"
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: ../admin/admin.php:373
|
606 |
msgid "Gallery example"
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: ../admin/admin.php:379
|
610 |
+
#: ../admin/admin.php:389
|
611 |
msgid "Gallery tags"
|
612 |
msgstr ""
|
613 |
|
614 |
+
#: ../admin/admin.php:382
|
615 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Album management</a>"
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: ../admin/admin.php:383
|
619 |
msgid "Album example"
|
620 |
msgstr ""
|
621 |
|
622 |
+
#: ../admin/admin.php:384
|
623 |
+
#: ../admin/admin.php:390
|
624 |
msgid "Album tags"
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: ../admin/admin.php:387
|
628 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-introduction/\" target=\"_blank\">Gallery tags</a>"
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: ../admin/admin.php:388
|
632 |
msgid "Related images"
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: ../admin/admin.php:393
|
636 |
msgid "<a href=\"http://dpotter.net/Technical/2008/03/nextgen-gallery-review-image-management/\" target=\"_blank\">Image management</a>"
|
637 |
msgstr ""
|
638 |
|
639 |
+
#: ../admin/admin.php:394
|
640 |
msgid "Custom fields"
|
641 |
msgstr ""
|
642 |
|
643 |
+
#: ../admin/admin.php:399
|
644 |
msgid "Get help with NextGEN Gallery"
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: ../admin/admin.php:403
|
648 |
msgid "More Help & Info"
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: ../admin/admin.php:405
|
652 |
msgid "<a href=\"http://wordpress.org/tags/nextgen-gallery?forum_id=10\" target=\"_blank\">Support Forums</a>"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: ../admin/admin.php:406
|
656 |
msgid "FAQ"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: ../admin/admin.php:407
|
660 |
msgid "Feature request"
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: ../admin/admin.php:408
|
664 |
msgid "Get your language pack"
|
665 |
msgstr ""
|
666 |
|
667 |
+
#: ../admin/admin.php:409
|
668 |
msgid "Contribute development"
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: ../admin/admin.php:410
|
672 |
msgid "Download latest version"
|
673 |
msgstr ""
|
674 |
|
709 |
msgstr ""
|
710 |
|
711 |
#: ../admin/album.php:297
|
712 |
+
#: ../admin/edit-thumbnail.php:155
|
713 |
msgid "Update"
|
714 |
msgstr ""
|
715 |
|
719 |
|
720 |
#: ../admin/album.php:302
|
721 |
#: ../admin/manage-galleries.php:146
|
722 |
+
#: ../admin/manage-images.php:448
|
723 |
msgid "Delete"
|
724 |
msgstr ""
|
725 |
|
802 |
#: ../admin/manage-galleries.php:288
|
803 |
#: ../admin/manage-galleries.php:317
|
804 |
#: ../admin/manage-galleries.php:347
|
805 |
+
#: ../admin/manage-images.php:533
|
806 |
+
#: ../admin/manage-images.php:569
|
807 |
+
#: ../admin/manage-images.php:598
|
808 |
+
#: ../admin/manage-images.php:628
|
809 |
msgid "OK"
|
810 |
msgstr ""
|
811 |
|
813 |
#: ../admin/manage-galleries.php:290
|
814 |
#: ../admin/manage-galleries.php:319
|
815 |
#: ../admin/manage-galleries.php:349
|
816 |
+
#: ../admin/manage-images.php:535
|
817 |
+
#: ../admin/manage-images.php:571
|
818 |
+
#: ../admin/manage-images.php:600
|
819 |
+
#: ../admin/manage-images.php:630
|
820 |
msgid "Cancel"
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: ../admin/album.php:543
|
824 |
msgid "Name"
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: ../admin/album.php:544
|
828 |
#: ../admin/manage-images.php:255
|
829 |
msgid "Title"
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: ../admin/album.php:545
|
833 |
msgid "Page"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: ../admin/edit-thumbnail.php:105
|
837 |
msgid "Select with the mouse the area for the new thumbnail"
|
838 |
msgstr ""
|
839 |
|
840 |
+
#: ../admin/edit-thumbnail.php:119
|
841 |
msgid "Thumbnail updated"
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: ../admin/edit-thumbnail.php:124
|
845 |
msgid "Error updating thumbnail"
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: ../admin/edit-thumbnail.php:140
|
849 |
msgid "Select the area for the thumbnail from the picture on the left."
|
850 |
msgstr ""
|
851 |
|
877 |
|
878 |
#: ../admin/functions.php:76
|
879 |
#: ../admin/functions.php:85
|
880 |
+
#: ../admin/functions.php:902
|
881 |
msgid "Unable to create directory "
|
882 |
msgstr ""
|
883 |
|
903 |
msgstr ""
|
904 |
|
905 |
#: ../admin/functions.php:119
|
906 |
+
#: ../admin/functions.php:217
|
907 |
msgid "Edit gallery"
|
908 |
msgstr ""
|
909 |
|
924 |
msgstr ""
|
925 |
|
926 |
#: ../admin/functions.php:212
|
927 |
+
#: ../admin/functions.php:1019
|
928 |
#: ../admin/manage-galleries.php:81
|
929 |
#: ../admin/manage-galleries.php:148
|
930 |
#: ../admin/manage-images.php:203
|
931 |
+
#: ../admin/manage-images.php:342
|
932 |
#: ../admin/manage.php:223
|
933 |
#: ../admin/manage.php:299
|
934 |
msgid "Create new thumbnails"
|
938 |
msgid " picture(s) successfully added"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: ../admin/functions.php:270
|
942 |
+
#: ../admin/functions.php:350
|
943 |
+
#: ../admin/functions.php:405
|
944 |
+
#: ../admin/functions.php:502
|
945 |
+
#: ../admin/functions.php:556
|
946 |
msgid "Object didn't contain correct data"
|
947 |
msgstr ""
|
948 |
|
949 |
+
#: ../admin/functions.php:278
|
950 |
msgid " is not writeable "
|
951 |
msgstr ""
|
952 |
|
953 |
+
#: ../admin/functions.php:360
|
954 |
+
#: ../admin/functions.php:408
|
955 |
+
#: ../admin/functions.php:508
|
956 |
+
#: ../admin/functions.php:559
|
957 |
msgid " is not writeable"
|
958 |
msgstr ""
|
959 |
|
960 |
+
#: ../admin/functions.php:562
|
961 |
msgid "File do not exists"
|
962 |
msgstr ""
|
963 |
|
964 |
+
#: ../admin/functions.php:566
|
965 |
msgid "Couldn't restore original image"
|
966 |
msgstr ""
|
967 |
|
968 |
+
#: ../admin/functions.php:682
|
969 |
msgid "(Error : Couldn't not update data base)"
|
970 |
msgstr ""
|
971 |
|
972 |
+
#: ../admin/functions.php:689
|
973 |
msgid "(Error : Couldn't not update meta data)"
|
974 |
msgstr ""
|
975 |
|
976 |
+
#: ../admin/functions.php:698
|
977 |
msgid "(Error : Couldn't not find image)"
|
978 |
msgstr ""
|
979 |
|
980 |
+
#: ../admin/functions.php:836
|
981 |
msgid "No valid URL path "
|
982 |
msgstr ""
|
983 |
|
984 |
+
#: ../admin/functions.php:852
|
985 |
msgid "Import via cURL failed."
|
986 |
msgstr ""
|
987 |
|
988 |
+
#: ../admin/functions.php:869
|
989 |
msgid "Uploaded file was no or a faulty zip file ! The server recognized : "
|
990 |
msgstr ""
|
991 |
|
992 |
+
#: ../admin/functions.php:886
|
993 |
msgid "Could not get a valid foldername"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: ../admin/functions.php:897
|
997 |
#, php-format
|
998 |
msgid "Unable to create directory %s. Is its parent directory writable by the server?"
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: ../admin/functions.php:912
|
1002 |
msgid "Zip-File successfully unpacked"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
+
#: ../admin/functions.php:951
|
1006 |
+
#: ../admin/functions.php:1068
|
1007 |
msgid "Failure in database, no gallery path set !"
|
1008 |
msgstr ""
|
1009 |
|
1010 |
+
#: ../admin/functions.php:975
|
1011 |
+
#: ../admin/functions.php:1062
|
1012 |
msgid "is no valid image file!"
|
1013 |
msgstr ""
|
1014 |
|
1015 |
+
#: ../admin/functions.php:989
|
1016 |
+
#: ../admin/functions.php:1187
|
1017 |
+
#: ../admin/functions.php:1264
|
1018 |
#, php-format
|
1019 |
msgid "Unable to write to directory %s. Is this directory writable by the server?"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
+
#: ../admin/functions.php:996
|
1023 |
+
#: ../admin/functions.php:1085
|
1024 |
msgid "Error, the file could not be moved to : "
|
1025 |
msgstr ""
|
1026 |
|
1027 |
+
#: ../admin/functions.php:1001
|
1028 |
+
#: ../admin/functions.php:1089
|
1029 |
msgid "Error, the file permissions could not be set"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: ../admin/functions.php:1024
|
1033 |
msgid " Image(s) successfully added"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
+
#: ../admin/functions.php:1051
|
1037 |
msgid "Invalid upload. Error Code : "
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: ../admin/functions.php:1127
|
1041 |
#, php-format
|
1042 |
msgid "SAFE MODE Restriction in effect! You need to create the folder <strong>%s</strong> manually"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
+
#: ../admin/functions.php:1128
|
1046 |
#, php-format
|
1047 |
msgid "When safe_mode is on, PHP checks to see if the owner (%s) of the current script matches the owner (%s) of the file to be operated on by a file function or its directory"
|
1048 |
msgstr ""
|
1049 |
|
1050 |
+
#: ../admin/functions.php:1181
|
1051 |
+
#: ../admin/functions.php:1258
|
1052 |
msgid "The destination gallery does not exist"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
+
#: ../admin/functions.php:1212
|
1056 |
#, php-format
|
1057 |
msgid "Failed to move image %1$s to %2$s"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
+
#: ../admin/functions.php:1232
|
1061 |
#, php-format
|
1062 |
msgid "Moved %1$s picture(s) to gallery : %2$s ."
|
1063 |
msgstr ""
|
1064 |
|
1065 |
+
#: ../admin/functions.php:1291
|
1066 |
#, php-format
|
1067 |
msgid "Failed to copy image %1$s to %2$s"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
+
#: ../admin/functions.php:1305
|
1071 |
#, php-format
|
1072 |
msgid "Failed to copy database row for picture %s"
|
1073 |
msgstr ""
|
1074 |
|
1075 |
+
#: ../admin/functions.php:1317
|
1076 |
#, php-format
|
1077 |
msgid "Image %1$s (%2$s) copied as image %3$s (%4$s) » The file already existed in the destination gallery."
|
1078 |
msgstr ""
|
1079 |
|
1080 |
+
#: ../admin/functions.php:1320
|
1081 |
#, php-format
|
1082 |
msgid "Image %1$s (%2$s) copied as image %3$s (%4$s)"
|
1083 |
msgstr ""
|
1084 |
|
1085 |
+
#: ../admin/functions.php:1329
|
1086 |
#, php-format
|
1087 |
msgid "Copied %1$s picture(s) to gallery: %2$s ."
|
1088 |
msgstr ""
|
1089 |
|
1090 |
+
#: ../admin/functions.php:1437
|
1091 |
msgid "The uploaded file exceeds the upload_max_filesize directive in php.ini"
|
1092 |
msgstr ""
|
1093 |
|
1094 |
+
#: ../admin/functions.php:1440
|
1095 |
msgid "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form"
|
1096 |
msgstr ""
|
1097 |
|
1098 |
+
#: ../admin/functions.php:1443
|
1099 |
msgid "The uploaded file was only partially uploaded"
|
1100 |
msgstr ""
|
1101 |
|
1102 |
+
#: ../admin/functions.php:1446
|
1103 |
msgid "No file was uploaded"
|
1104 |
msgstr ""
|
1105 |
|
1106 |
+
#: ../admin/functions.php:1449
|
1107 |
msgid "Missing a temporary folder"
|
1108 |
msgstr ""
|
1109 |
|
1110 |
+
#: ../admin/functions.php:1452
|
1111 |
msgid "Failed to write file to disk"
|
1112 |
msgstr ""
|
1113 |
|
1114 |
+
#: ../admin/functions.php:1455
|
1115 |
msgid "File upload stopped by extension"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
+
#: ../admin/functions.php:1458
|
1119 |
msgid "Unknown upload error"
|
1120 |
msgstr ""
|
1121 |
|
1127 |
msgid "NextGEN Gallery : Tables could not created, please check your database settings"
|
1128 |
msgstr ""
|
1129 |
|
1130 |
+
#: ../admin/install.php:170
|
1131 |
msgid "[Show as slideshow]"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
+
#: ../admin/install.php:171
|
1135 |
msgid "[Show picture list]"
|
1136 |
msgstr ""
|
1137 |
|
1143 |
#: ../admin/manage-galleries.php:77
|
1144 |
#: ../admin/manage-galleries.php:149
|
1145 |
#: ../admin/manage-images.php:199
|
1146 |
+
#: ../admin/manage-images.php:343
|
1147 |
#: ../admin/manage.php:207
|
1148 |
#: ../admin/manage.php:285
|
1149 |
msgid "Resize images"
|
1165 |
msgstr ""
|
1166 |
|
1167 |
#: ../admin/manage-galleries.php:145
|
1168 |
+
#: ../admin/manage-images.php:340
|
1169 |
msgid "Bulk actions"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
#: ../admin/manage-galleries.php:147
|
1173 |
+
#: ../admin/manage-images.php:341
|
1174 |
#: ../admin/manage.php:140
|
1175 |
#: ../admin/manage.php:249
|
1176 |
msgid "Set watermark"
|
1177 |
msgstr ""
|
1178 |
|
1179 |
#: ../admin/manage-galleries.php:150
|
1180 |
+
#: ../admin/manage-images.php:346
|
1181 |
#: ../admin/manage.php:145
|
1182 |
#: ../admin/manage.php:269
|
1183 |
msgid "Import metadata"
|
1184 |
msgstr ""
|
1185 |
|
1186 |
#: ../admin/manage-galleries.php:151
|
1187 |
+
#: ../admin/manage-images.php:344
|
1188 |
#: ../admin/manage.php:135
|
1189 |
#: ../admin/manage.php:246
|
1190 |
msgid "Recover from backup"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
#: ../admin/manage-galleries.php:153
|
1194 |
+
#: ../admin/manage-images.php:355
|
1195 |
msgid "Apply"
|
1196 |
msgstr ""
|
1197 |
|
1200 |
msgstr ""
|
1201 |
|
1202 |
#: ../admin/manage-galleries.php:261
|
1203 |
+
#: ../admin/manage-images.php:506
|
1204 |
msgid "No entries found"
|
1205 |
msgstr ""
|
1206 |
|
1207 |
#: ../admin/manage-galleries.php:308
|
1208 |
+
#: ../admin/manage-images.php:589
|
1209 |
msgid "Resize Images to"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
#: ../admin/manage-galleries.php:312
|
1213 |
+
#: ../admin/manage-images.php:593
|
1214 |
msgid "Width x height (in pixel). NextGEN Gallery will keep ratio size"
|
1215 |
msgstr ""
|
1216 |
|
1217 |
#: ../admin/manage-galleries.php:336
|
1218 |
+
#: ../admin/manage-images.php:617
|
1219 |
msgid "Width x height (in pixel)"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
#: ../admin/manage-galleries.php:338
|
1223 |
+
#: ../admin/manage-images.php:619
|
1224 |
msgid "These values are maximum values "
|
1225 |
msgstr ""
|
1226 |
|
1227 |
#: ../admin/manage-galleries.php:341
|
1228 |
+
#: ../admin/manage-images.php:622
|
1229 |
msgid "Set fix dimension"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
#: ../admin/manage-galleries.php:343
|
1233 |
+
#: ../admin/manage-images.php:624
|
1234 |
msgid "Ignore the aspect ratio, no portrait thumbnails"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
#: ../admin/manage-galleries.php:406
|
1238 |
+
#: ../admin/manage-images.php:694
|
1239 |
msgid "ID"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
#: ../admin/manage-galleries.php:408
|
1243 |
#: ../admin/manage-images.php:266
|
1244 |
+
#: ../admin/manage-images.php:697
|
1245 |
msgid "Description"
|
1246 |
msgstr ""
|
1247 |
|
1248 |
#: ../admin/manage-galleries.php:409
|
1249 |
+
#: ../admin/manage-images.php:295
|
1250 |
msgid "Author"
|
1251 |
msgstr ""
|
1252 |
|
1281 |
msgstr ""
|
1282 |
|
1283 |
#: ../admin/manage-images.php:191
|
1284 |
+
#: ../admin/manage-images.php:352
|
1285 |
msgid "Delete tags"
|
1286 |
msgstr ""
|
1287 |
|
1318 |
msgid "No Picture"
|
1319 |
msgstr ""
|
1320 |
|
1321 |
+
#: ../admin/manage-images.php:293
|
1322 |
msgid "Path"
|
1323 |
msgstr ""
|
1324 |
|
1325 |
+
#: ../admin/manage-images.php:310
|
1326 |
msgid "Create new page"
|
1327 |
msgstr ""
|
1328 |
|
1329 |
+
#: ../admin/manage-images.php:313
|
1330 |
msgid "Main page (No parent)"
|
1331 |
msgstr ""
|
1332 |
|
1333 |
+
#: ../admin/manage-images.php:316
|
1334 |
msgid "Add page"
|
1335 |
msgstr ""
|
1336 |
|
1337 |
+
#: ../admin/manage-images.php:325
|
1338 |
msgid "Scan Folder for new images"
|
1339 |
msgstr ""
|
1340 |
|
1341 |
+
#: ../admin/manage-images.php:326
|
1342 |
+
#: ../admin/manage-images.php:361
|
1343 |
+
#: ../admin/manage-images.php:513
|
1344 |
msgid "Save Changes"
|
1345 |
msgstr ""
|
1346 |
|
1347 |
+
#: ../admin/manage-images.php:345
|
1348 |
msgid "Delete images"
|
1349 |
msgstr ""
|
1350 |
|
1351 |
+
#: ../admin/manage-images.php:347
|
1352 |
msgid "Rotate images clockwise"
|
1353 |
msgstr ""
|
1354 |
|
1355 |
+
#: ../admin/manage-images.php:348
|
1356 |
msgid "Rotate images counter-clockwise"
|
1357 |
msgstr ""
|
1358 |
|
1359 |
+
#: ../admin/manage-images.php:349
|
1360 |
msgid "Copy to..."
|
1361 |
msgstr ""
|
1362 |
|
1363 |
+
#: ../admin/manage-images.php:350
|
1364 |
msgid "Move to..."
|
1365 |
msgstr ""
|
1366 |
|
1367 |
+
#: ../admin/manage-images.php:351
|
1368 |
msgid "Add tags"
|
1369 |
msgstr ""
|
1370 |
|
1371 |
+
#: ../admin/manage-images.php:353
|
1372 |
msgid "Overwrite tags"
|
1373 |
msgstr ""
|
1374 |
|
1375 |
+
#: ../admin/manage-images.php:358
|
1376 |
msgid "Sort gallery"
|
1377 |
msgstr ""
|
1378 |
|
1379 |
+
#: ../admin/manage-images.php:434
|
1380 |
msgid "pixel"
|
1381 |
msgstr ""
|
1382 |
|
1383 |
+
#: ../admin/manage-images.php:440
|
1384 |
#, php-format
|
1385 |
msgid "View \"%s\""
|
1386 |
msgstr ""
|
1387 |
|
1388 |
+
#: ../admin/manage-images.php:440
|
1389 |
msgid "View"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
+
#: ../admin/manage-images.php:441
|
1393 |
msgid "Show Meta data"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
+
#: ../admin/manage-images.php:441
|
1397 |
msgid "Meta"
|
1398 |
msgstr ""
|
1399 |
|
1400 |
+
#: ../admin/manage-images.php:442
|
1401 |
msgid "Customize thumbnail"
|
1402 |
msgstr ""
|
1403 |
|
1404 |
+
#: ../admin/manage-images.php:442
|
1405 |
msgid "Edit thumb"
|
1406 |
msgstr ""
|
1407 |
|
1408 |
+
#: ../admin/manage-images.php:443
|
1409 |
msgid "Rotate"
|
1410 |
msgstr ""
|
1411 |
|
1412 |
+
#: ../admin/manage-images.php:445
|
1413 |
msgid "Publish this image"
|
1414 |
msgstr ""
|
1415 |
|
1416 |
+
#: ../admin/manage-images.php:445
|
1417 |
msgid "Publish"
|
1418 |
msgstr ""
|
1419 |
|
1420 |
+
#: ../admin/manage-images.php:447
|
1421 |
msgid "Recover"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
+
#: ../admin/manage-images.php:447
|
1425 |
#, php-format
|
1426 |
msgid "Recover \"%s\" ?"
|
1427 |
msgstr ""
|
1428 |
|
1429 |
+
#: ../admin/manage-images.php:448
|
1430 |
#, php-format
|
1431 |
msgid "Delete \"%s\" ?"
|
1432 |
msgstr ""
|
1433 |
|
1434 |
+
#: ../admin/manage-images.php:529
|
1435 |
msgid "Enter the tags"
|
1436 |
msgstr ""
|
1437 |
|
1438 |
+
#: ../admin/manage-images.php:553
|
1439 |
msgid "Select the destination gallery:"
|
1440 |
msgstr ""
|
1441 |
|
1442 |
+
#: ../admin/manage-images.php:695
|
1443 |
msgid "Thumbnail"
|
1444 |
msgstr ""
|
1445 |
|
1446 |
+
#: ../admin/manage-images.php:696
|
1447 |
#: ../admin/manage-sort.php:77
|
1448 |
msgid "Filename"
|
1449 |
msgstr ""
|
1450 |
|
1451 |
+
#: ../admin/manage-images.php:697
|
1452 |
msgid "Alt & Title Text"
|
1453 |
msgstr ""
|
1454 |
|
1455 |
+
#: ../admin/manage-images.php:698
|
1456 |
msgid "Tags (comma separated list)"
|
1457 |
msgstr ""
|
1458 |
|
1459 |
+
#: ../admin/manage-images.php:699
|
1460 |
msgid "exclude"
|
1461 |
msgstr ""
|
1462 |
|
1550 |
msgid "Published a new post"
|
1551 |
msgstr ""
|
1552 |
|
1553 |
+
#: ../admin/manage.php:582
|
1554 |
#, php-format
|
1555 |
msgid "1 item"
|
1556 |
msgid_plural "%s items"
|
1557 |
msgstr[0] ""
|
1558 |
msgstr[1] ""
|
1559 |
|
1560 |
+
#: ../admin/media-upload.php:11
|
1561 |
+
msgid "NextGEN Gallery"
|
1562 |
+
msgstr ""
|
1563 |
+
|
1564 |
#: ../admin/media-upload.php:166
|
1565 |
msgid "No gallery"
|
1566 |
msgstr ""
|
1588 |
|
1589 |
#: ../admin/media-upload.php:232
|
1590 |
#: ../admin/publish.php:57
|
1591 |
+
#: ../admin/settings.php:480
|
1592 |
msgid "None"
|
1593 |
msgstr ""
|
1594 |
|
1611 |
msgstr ""
|
1612 |
|
1613 |
#: ../admin/media-upload.php:242
|
1614 |
+
#: ../admin/settings.php:587
|
1615 |
msgid "Size"
|
1616 |
msgstr ""
|
1617 |
|
1684 |
msgid "Help translating it."
|
1685 |
msgstr ""
|
1686 |
|
1687 |
+
#: ../admin/overview.php:252
|
1688 |
msgid "Running..."
|
1689 |
msgstr ""
|
1690 |
|
1691 |
+
#: ../admin/overview.php:299
|
1692 |
msgid "Check plugin/theme conflict"
|
1693 |
msgstr ""
|
1694 |
|
1695 |
+
#: ../admin/overview.php:300
|
1696 |
+
#: ../admin/overview.php:306
|
1697 |
+
#: ../admin/overview.php:312
|
1698 |
msgid "Not tested"
|
1699 |
msgstr ""
|
1700 |
|
1701 |
+
#: ../admin/overview.php:301
|
1702 |
msgid "No conflict could be detected"
|
1703 |
msgstr ""
|
1704 |
|
1705 |
+
#: ../admin/overview.php:302
|
1706 |
msgid "Test failed, disable other plugins & switch to default theme"
|
1707 |
msgstr ""
|
1708 |
|
1709 |
+
#: ../admin/overview.php:305
|
1710 |
msgid "Test image function"
|
1711 |
msgstr ""
|
1712 |
|
1713 |
+
#: ../admin/overview.php:307
|
1714 |
msgid "The plugin could create images"
|
1715 |
msgstr ""
|
1716 |
|
1717 |
+
#: ../admin/overview.php:308
|
1718 |
msgid "Couldn't create image, check your memory limit"
|
1719 |
msgstr ""
|
1720 |
|
1721 |
+
#: ../admin/overview.php:311
|
1722 |
msgid "Check theme compatibility"
|
1723 |
msgstr ""
|
1724 |
|
1725 |
+
#: ../admin/overview.php:313
|
1726 |
msgid "Your theme should work fine with NextGEN Gallery"
|
1727 |
msgstr ""
|
1728 |
|
1729 |
+
#: ../admin/overview.php:314
|
1730 |
msgid "wp_head()/wp_footer() is missing, contact the theme author"
|
1731 |
msgstr ""
|
1732 |
|
1733 |
+
#: ../admin/overview.php:318
|
1734 |
msgid "Check plugin"
|
1735 |
msgstr ""
|
1736 |
|
1737 |
+
#: ../admin/overview.php:339
|
1738 |
msgid "Graphic Library"
|
1739 |
msgstr ""
|
1740 |
|
1741 |
+
#: ../admin/overview.php:355
|
1742 |
+
#: ../admin/overview.php:404
|
1743 |
+
#: ../admin/overview.php:591
|
1744 |
+
#: ../admin/overview.php:781
|
1745 |
msgid "Loading…"
|
1746 |
msgstr ""
|
1747 |
|
1748 |
+
#: ../admin/overview.php:355
|
1749 |
+
#: ../admin/overview.php:404
|
1750 |
+
#: ../admin/overview.php:591
|
1751 |
+
#: ../admin/overview.php:781
|
1752 |
msgid "This widget requires JavaScript."
|
1753 |
msgstr ""
|
1754 |
|
1755 |
+
#: ../admin/overview.php:368
|
1756 |
msgid "Thanks to all donators..."
|
1757 |
msgstr ""
|
1758 |
|
1759 |
+
#: ../admin/overview.php:390
|
1760 |
msgid "View all"
|
1761 |
msgstr ""
|
1762 |
|
1763 |
+
#: ../admin/overview.php:416
|
1764 |
#, php-format
|
1765 |
msgid "Newsfeed could not be loaded. Check the <a href=\"%s\">front page</a> to check for updates."
|
1766 |
msgstr ""
|
1767 |
|
1768 |
+
#: ../admin/overview.php:428
|
1769 |
msgid "Untitled"
|
1770 |
msgstr ""
|
1771 |
|
1772 |
+
#: ../admin/overview.php:478
|
1773 |
msgid "At a Glance"
|
1774 |
msgstr ""
|
1775 |
|
1776 |
+
#: ../admin/overview.php:504
|
1777 |
msgid "Upload pictures"
|
1778 |
msgstr ""
|
1779 |
|
1780 |
+
#: ../admin/overview.php:505
|
1781 |
msgid "Here you can control your images, galleries and albums."
|
1782 |
msgstr ""
|
1783 |
|
1784 |
+
#: ../admin/overview.php:535
|
1785 |
msgid "Storage Space"
|
1786 |
msgstr ""
|
1787 |
|
1788 |
+
#: ../admin/overview.php:539
|
1789 |
#, php-format
|
1790 |
msgid "<a href=\"%1$s\" title=\"Manage Uploads\" class=\"musublink\">%2$sMB</a>"
|
1791 |
msgstr ""
|
1792 |
|
1793 |
+
#: ../admin/overview.php:540
|
1794 |
msgid "Space Allowed"
|
1795 |
msgstr ""
|
1796 |
|
1797 |
+
#: ../admin/overview.php:547
|
1798 |
#, php-format
|
1799 |
msgid "<a href=\"%1$s\" title=\"Manage Uploads\" class=\"musublink\">%2$sMB (%3$s%%)</a>"
|
1800 |
msgstr ""
|
1801 |
|
1802 |
+
#: ../admin/overview.php:548
|
1803 |
msgid "Space Used"
|
1804 |
msgstr ""
|
1805 |
|
1806 |
+
#: ../admin/overview.php:577
|
1807 |
msgid "Translation file successful updated. Please reload page."
|
1808 |
msgstr ""
|
1809 |
|
1810 |
+
#: ../admin/overview.php:579
|
1811 |
msgid "Reload page"
|
1812 |
msgstr ""
|
1813 |
|
1814 |
+
#: ../admin/overview.php:584
|
1815 |
msgid "Translation file couldn't be updated"
|
1816 |
msgstr ""
|
1817 |
|
1818 |
+
#: ../admin/overview.php:621
|
1819 |
msgid "Download"
|
1820 |
msgstr ""
|
1821 |
|
1822 |
+
#: ../admin/overview.php:650
|
1823 |
msgid "No GD support"
|
1824 |
msgstr ""
|
1825 |
|
1826 |
+
#: ../admin/overview.php:662
|
1827 |
+
#: ../admin/overview.php:708
|
1828 |
+
#: ../admin/overview.php:711
|
1829 |
+
#: ../admin/overview.php:714
|
1830 |
msgid "Yes"
|
1831 |
msgstr ""
|
1832 |
|
1833 |
+
#: ../admin/overview.php:664
|
1834 |
+
#: ../admin/overview.php:709
|
1835 |
+
#: ../admin/overview.php:712
|
1836 |
+
#: ../admin/overview.php:715
|
1837 |
msgid "No"
|
1838 |
msgstr ""
|
1839 |
|
1840 |
+
#: ../admin/overview.php:682
|
1841 |
msgid "Not set"
|
1842 |
msgstr ""
|
1843 |
|
1844 |
+
#: ../admin/overview.php:684
|
1845 |
+
#: ../admin/overview.php:687
|
1846 |
msgid "On"
|
1847 |
msgstr ""
|
1848 |
|
1849 |
+
#: ../admin/overview.php:685
|
1850 |
+
#: ../admin/overview.php:688
|
1851 |
msgid "Off"
|
1852 |
msgstr ""
|
1853 |
|
1854 |
+
#: ../admin/overview.php:691
|
1855 |
+
#: ../admin/overview.php:694
|
1856 |
+
#: ../admin/overview.php:697
|
1857 |
+
#: ../admin/overview.php:700
|
1858 |
+
#: ../admin/overview.php:703
|
1859 |
+
#: ../admin/overview.php:706
|
1860 |
msgid "N/A"
|
1861 |
msgstr ""
|
1862 |
|
1863 |
+
#: ../admin/overview.php:705
|
1864 |
msgid " MByte"
|
1865 |
msgstr ""
|
1866 |
|
1867 |
+
#: ../admin/overview.php:718
|
1868 |
msgid "Operating System"
|
1869 |
msgstr ""
|
1870 |
|
1871 |
+
#: ../admin/overview.php:719
|
1872 |
msgid "Server"
|
1873 |
msgstr ""
|
1874 |
|
1875 |
+
#: ../admin/overview.php:720
|
1876 |
msgid "Memory usage"
|
1877 |
msgstr ""
|
1878 |
|
1879 |
+
#: ../admin/overview.php:721
|
1880 |
msgid "MYSQL Version"
|
1881 |
msgstr ""
|
1882 |
|
1883 |
+
#: ../admin/overview.php:722
|
1884 |
msgid "SQL Mode"
|
1885 |
msgstr ""
|
1886 |
|
1887 |
+
#: ../admin/overview.php:723
|
1888 |
msgid "PHP Version"
|
1889 |
msgstr ""
|
1890 |
|
1891 |
+
#: ../admin/overview.php:724
|
1892 |
msgid "PHP Safe Mode"
|
1893 |
msgstr ""
|
1894 |
|
1895 |
+
#: ../admin/overview.php:725
|
1896 |
msgid "PHP Allow URL fopen"
|
1897 |
msgstr ""
|
1898 |
|
1899 |
+
#: ../admin/overview.php:726
|
1900 |
msgid "PHP Memory Limit"
|
1901 |
msgstr ""
|
1902 |
|
1903 |
+
#: ../admin/overview.php:727
|
1904 |
msgid "PHP Max Upload Size"
|
1905 |
msgstr ""
|
1906 |
|
1907 |
+
#: ../admin/overview.php:728
|
1908 |
msgid "PHP Max Post Size"
|
1909 |
msgstr ""
|
1910 |
|
1911 |
+
#: ../admin/overview.php:729
|
1912 |
msgid "PCRE Backtracking Limit"
|
1913 |
msgstr ""
|
1914 |
|
1915 |
+
#: ../admin/overview.php:730
|
1916 |
msgid "PHP Max Script Execute Time"
|
1917 |
msgstr ""
|
1918 |
|
1919 |
+
#: ../admin/overview.php:731
|
1920 |
msgid "PHP Exif support"
|
1921 |
msgstr ""
|
1922 |
|
1923 |
+
#: ../admin/overview.php:732
|
1924 |
msgid "PHP IPTC support"
|
1925 |
msgstr ""
|
1926 |
|
1927 |
+
#: ../admin/overview.php:733
|
1928 |
msgid "PHP XML support"
|
1929 |
msgstr ""
|
1930 |
|
1931 |
+
#: ../admin/overview.php:745
|
1932 |
msgid "NextGEN Gallery contains some functions which are only available under PHP 5.2. You are using the old PHP 4 version, upgrade now! It's no longer supported by the PHP group. Many shared hosting providers offer both PHP 4 and PHP 5, running simultaneously. Ask your provider if they can do this."
|
1933 |
msgstr ""
|
1934 |
|
1935 |
+
#: ../admin/overview.php:841
|
1936 |
msgid "Install"
|
1937 |
msgstr ""
|
1938 |
|
1939 |
+
#: ../admin/pointer.php:22
|
1940 |
+
msgid "<h3>Client side resize</h3><p>You can now resize the images before you start with the upload.</p>"
|
1941 |
+
msgstr ""
|
1942 |
+
|
1943 |
#: ../admin/publish.php:45
|
1944 |
msgid "Post title"
|
1945 |
msgstr ""
|
2036 |
msgid "Cache cleared"
|
2037 |
msgstr ""
|
2038 |
|
2039 |
+
#: ../admin/settings.php:217
|
2040 |
+
#: ../admin/settings.php:236
|
2041 |
msgid "General Options"
|
2042 |
msgstr ""
|
2043 |
|
2044 |
+
#: ../admin/settings.php:218
|
2045 |
+
#: ../admin/settings.php:417
|
2046 |
msgid "Thumbnails"
|
2047 |
msgstr ""
|
2048 |
|
2049 |
+
#: ../admin/settings.php:219
|
2050 |
msgid "Images"
|
2051 |
msgstr ""
|
2052 |
|
2053 |
+
#: ../admin/settings.php:221
|
2054 |
+
#: ../admin/settings.php:469
|
2055 |
msgid "Effects"
|
2056 |
msgstr ""
|
2057 |
|
2058 |
+
#: ../admin/settings.php:222
|
2059 |
+
#: ../admin/settings.php:511
|
2060 |
#: ../admin/tinymce/window.php:110
|
2061 |
msgid "Watermark"
|
2062 |
msgstr ""
|
2063 |
|
2064 |
+
#: ../admin/settings.php:223
|
2065 |
+
#: ../admin/settings.php:418
|
2066 |
+
#: ../admin/settings.php:618
|
2067 |
#: ../admin/tinymce/window.php:63
|
2068 |
msgid "Slideshow"
|
2069 |
msgstr ""
|
2070 |
|
2071 |
+
#: ../admin/settings.php:242
|
2072 |
#: ../admin/wpmu.php:68
|
2073 |
msgid "Gallery path"
|
2074 |
msgstr ""
|
2075 |
|
2076 |
+
#: ../admin/settings.php:244
|
2077 |
msgid "This is the default path for all galleries"
|
2078 |
msgstr ""
|
2079 |
|
2080 |
+
#: ../admin/settings.php:247
|
2081 |
msgid "Delete image files"
|
2082 |
msgstr ""
|
2083 |
|
2084 |
+
#: ../admin/settings.php:249
|
2085 |
msgid "Delete files, when removing a gallery in the database"
|
2086 |
msgstr ""
|
2087 |
|
2088 |
+
#: ../admin/settings.php:252
|
2089 |
msgid "Activate permalinks"
|
2090 |
msgstr ""
|
2091 |
|
2092 |
+
#: ../admin/settings.php:254
|
2093 |
msgid "When you activate this option, you need to update your permalink structure one time."
|
2094 |
msgstr ""
|
2095 |
|
2096 |
+
#: ../admin/settings.php:255
|
2097 |
msgid "Gallery slug name :"
|
2098 |
msgstr ""
|
2099 |
|
2100 |
+
#: ../admin/settings.php:259
|
2101 |
msgid "Create new URL friendly image slugs"
|
2102 |
msgstr ""
|
2103 |
|
2104 |
+
#: ../admin/settings.php:260
|
2105 |
+
#: ../admin/settings.php:371
|
2106 |
msgid "Proceed now"
|
2107 |
msgstr ""
|
2108 |
|
2109 |
+
#: ../admin/settings.php:263
|
2110 |
msgid "Select graphic library"
|
2111 |
msgstr ""
|
2112 |
|
2113 |
+
#: ../admin/settings.php:264
|
2114 |
msgid "GD Library"
|
2115 |
msgstr ""
|
2116 |
|
2117 |
+
#: ../admin/settings.php:265
|
2118 |
msgid "ImageMagick (Experimental). Path to the library :"
|
2119 |
msgstr ""
|
2120 |
|
2121 |
+
#: ../admin/settings.php:270
|
2122 |
msgid "Activate Media RSS feed"
|
2123 |
msgstr ""
|
2124 |
|
2125 |
+
#: ../admin/settings.php:272
|
2126 |
msgid "A RSS feed will be added to you blog header. Useful for CoolIris/PicLens"
|
2127 |
msgstr ""
|
2128 |
|
2129 |
+
#: ../admin/settings.php:275
|
2130 |
msgid "Activate PicLens/CoolIris support"
|
2131 |
msgstr ""
|
2132 |
|
2133 |
+
#: ../admin/settings.php:277
|
2134 |
msgid "When you activate this option, some javascript is added to your site footer. Make sure that wp_footer is called in your theme."
|
2135 |
msgstr ""
|
2136 |
|
2137 |
+
#: ../admin/settings.php:280
|
2138 |
msgid "Tags / Categories"
|
2139 |
msgstr ""
|
2140 |
|
2141 |
+
#: ../admin/settings.php:283
|
2142 |
msgid "Activate related images"
|
2143 |
msgstr ""
|
2144 |
|
2145 |
+
#: ../admin/settings.php:285
|
2146 |
msgid "This option will append related images to every post"
|
2147 |
msgstr ""
|
2148 |
|
2149 |
+
#: ../admin/settings.php:289
|
2150 |
msgid "Match with"
|
2151 |
msgstr ""
|
2152 |
|
2153 |
+
#: ../admin/settings.php:290
|
2154 |
msgid "Categories"
|
2155 |
msgstr ""
|
2156 |
|
2157 |
+
#: ../admin/settings.php:295
|
2158 |
msgid "Max. number of images"
|
2159 |
msgstr ""
|
2160 |
|
2161 |
+
#: ../admin/settings.php:297
|
2162 |
msgid "0 will show all images"
|
2163 |
msgstr ""
|
2164 |
|
2165 |
+
#: ../admin/settings.php:301
|
2166 |
+
#: ../admin/settings.php:332
|
2167 |
+
#: ../admin/settings.php:374
|
2168 |
+
#: ../admin/settings.php:459
|
2169 |
+
#: ../admin/settings.php:494
|
2170 |
+
#: ../admin/settings.php:755
|
2171 |
msgid "More settings"
|
2172 |
msgstr ""
|
2173 |
|
2174 |
+
#: ../admin/settings.php:311
|
2175 |
msgid "Thumbnail settings"
|
2176 |
msgstr ""
|
2177 |
|
2178 |
+
#: ../admin/settings.php:315
|
2179 |
msgid "Please note : If you change the settings, you need to recreate the thumbnails under -> Manage Gallery ."
|
2180 |
msgstr ""
|
2181 |
|
2182 |
+
#: ../admin/settings.php:328
|
2183 |
msgid "Thumbnail quality"
|
2184 |
msgstr ""
|
2185 |
|
2186 |
+
#: ../admin/settings.php:342
|
2187 |
msgid "Image settings"
|
2188 |
msgstr ""
|
2189 |
|
2190 |
+
#: ../admin/settings.php:348
|
2191 |
msgid "Resize Images"
|
2192 |
msgstr ""
|
2193 |
|
2194 |
+
#: ../admin/settings.php:353
|
2195 |
msgid "Image quality"
|
2196 |
msgstr ""
|
2197 |
|
2198 |
+
#: ../admin/settings.php:357
|
2199 |
msgid "Backup original images"
|
2200 |
msgstr ""
|
2201 |
|
2202 |
+
#: ../admin/settings.php:359
|
2203 |
msgid "Creates a backup for inserted images"
|
2204 |
msgstr ""
|
2205 |
|
2206 |
+
#: ../admin/settings.php:362
|
2207 |
msgid "Automatically resize"
|
2208 |
msgstr ""
|
2209 |
|
2210 |
+
#: ../admin/settings.php:364
|
2211 |
msgid "Automatically resize images on upload."
|
2212 |
msgstr ""
|
2213 |
|
2214 |
+
#: ../admin/settings.php:367
|
2215 |
msgid "Single picture"
|
2216 |
msgstr ""
|
2217 |
|
2218 |
+
#: ../admin/settings.php:370
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2219 |
msgid "Clear cache folder"
|
2220 |
msgstr ""
|
2221 |
|
2222 |
+
#: ../admin/settings.php:391
|
2223 |
msgid "Deactivate gallery page link"
|
2224 |
msgstr ""
|
2225 |
|
2226 |
+
#: ../admin/settings.php:393
|
2227 |
msgid "The album will not link to a gallery subpage. The gallery is shown on the same page."
|
2228 |
msgstr ""
|
2229 |
|
2230 |
+
#: ../admin/settings.php:397
|
2231 |
msgid "Number of images per page"
|
2232 |
msgstr ""
|
2233 |
|
2234 |
+
#: ../admin/settings.php:399
|
2235 |
msgid "0 will disable pagination, all images on one page"
|
2236 |
msgstr ""
|
2237 |
|
2238 |
+
#: ../admin/settings.php:403
|
2239 |
msgid "Number of columns"
|
2240 |
msgstr ""
|
2241 |
|
2242 |
+
#: ../admin/settings.php:405
|
2243 |
msgid "0 will display as much as possible based on the width of your theme. Setting normally only required for captions below the images"
|
2244 |
msgstr ""
|
2245 |
|
2246 |
+
#: ../admin/settings.php:409
|
2247 |
msgid "Integrate slideshow"
|
2248 |
msgstr ""
|
2249 |
|
2250 |
+
#: ../admin/settings.php:416
|
2251 |
msgid "Show first"
|
2252 |
msgstr ""
|
2253 |
|
2254 |
+
#: ../admin/settings.php:422
|
2255 |
msgid "Show ImageBrowser"
|
2256 |
msgstr ""
|
2257 |
|
2258 |
+
#: ../admin/settings.php:424
|
2259 |
msgid "The gallery will open the ImageBrowser instead the effect."
|
2260 |
msgstr ""
|
2261 |
|
2262 |
+
#: ../admin/settings.php:428
|
2263 |
msgid "Add hidden images"
|
2264 |
msgstr ""
|
2265 |
|
2266 |
+
#: ../admin/settings.php:430
|
2267 |
msgid "If pagination is used, this option will still show all images in the modal window (Thickbox, Lightbox etc.). Note : This increases the page load"
|
2268 |
msgstr ""
|
2269 |
|
2270 |
+
#: ../admin/settings.php:434
|
2271 |
msgid "Enable AJAX pagination"
|
2272 |
msgstr ""
|
2273 |
|
2274 |
+
#: ../admin/settings.php:436
|
2275 |
msgid "Browse images without reload the page. Note : Works only in combination with Shutter effect"
|
2276 |
msgstr ""
|
2277 |
|
2278 |
+
#: ../admin/settings.php:440
|
2279 |
msgid "Sort options"
|
2280 |
msgstr ""
|
2281 |
|
2282 |
+
#: ../admin/settings.php:443
|
2283 |
msgid "Sort thumbnails"
|
2284 |
msgstr ""
|
2285 |
|
2286 |
+
#: ../admin/settings.php:445
|
2287 |
msgid "Custom order"
|
2288 |
msgstr ""
|
2289 |
|
2290 |
+
#: ../admin/settings.php:447
|
2291 |
msgid "File name"
|
2292 |
msgstr ""
|
2293 |
|
2294 |
+
#: ../admin/settings.php:448
|
2295 |
msgid "Alt / Title text"
|
2296 |
msgstr ""
|
2297 |
|
2298 |
+
#: ../admin/settings.php:449
|
2299 |
msgid "Date / Time"
|
2300 |
msgstr ""
|
2301 |
|
2302 |
+
#: ../admin/settings.php:453
|
2303 |
msgid "Sort direction"
|
2304 |
msgstr ""
|
2305 |
|
2306 |
+
#: ../admin/settings.php:473
|
2307 |
msgid "Here you can select the thumbnail effect, NextGEN Gallery will integrate the required HTML code in the images. Please note that only the Shutter and Thickbox effect will automatic added to your theme."
|
2308 |
msgstr ""
|
2309 |
|
2310 |
+
#: ../admin/settings.php:474
|
2311 |
msgid "With the placeholder"
|
2312 |
msgstr ""
|
2313 |
|
2314 |
+
#: ../admin/settings.php:474
|
2315 |
msgid "you can activate a navigation through the images (depend on the effect). Change the code line only , when you use a different thumbnail effect or you know what you do."
|
2316 |
msgstr ""
|
2317 |
|
2318 |
+
#: ../admin/settings.php:477
|
2319 |
msgid "JavaScript Thumbnail effect"
|
2320 |
msgstr ""
|
2321 |
|
2322 |
+
#: ../admin/settings.php:481
|
2323 |
msgid "Thickbox"
|
2324 |
msgstr ""
|
2325 |
|
2326 |
+
#: ../admin/settings.php:482
|
2327 |
msgid "Lightbox"
|
2328 |
msgstr ""
|
2329 |
|
2330 |
+
#: ../admin/settings.php:483
|
2331 |
msgid "Highslide"
|
2332 |
msgstr ""
|
2333 |
|
2334 |
+
#: ../admin/settings.php:484
|
2335 |
msgid "Shutter"
|
2336 |
msgstr ""
|
2337 |
|
2338 |
+
#: ../admin/settings.php:485
|
2339 |
msgid "Custom"
|
2340 |
msgstr ""
|
2341 |
|
2342 |
+
#: ../admin/settings.php:490
|
2343 |
msgid "Link Code line"
|
2344 |
msgstr ""
|
2345 |
|
2346 |
+
#: ../admin/settings.php:512
|
2347 |
msgid "Please note : You can only activate the watermark under -> Manage Gallery . This action cannot be undone."
|
2348 |
msgstr ""
|
2349 |
|
2350 |
+
#: ../admin/settings.php:517
|
2351 |
msgid "Preview"
|
2352 |
msgstr ""
|
2353 |
|
2354 |
+
#: ../admin/settings.php:519
|
2355 |
+
#: ../admin/settings.php:524
|
2356 |
msgid "Position"
|
2357 |
msgstr ""
|
2358 |
|
2359 |
+
#: ../admin/settings.php:544
|
2360 |
msgid "Offset"
|
2361 |
msgstr ""
|
2362 |
|
2363 |
+
#: ../admin/settings.php:560
|
2364 |
msgid "Use image as watermark"
|
2365 |
msgstr ""
|
2366 |
|
2367 |
+
#: ../admin/settings.php:563
|
2368 |
msgid "URL to file"
|
2369 |
msgstr ""
|
2370 |
|
2371 |
+
#: ../admin/settings.php:565
|
2372 |
msgid "The accessing of URL files is disabled at your server (allow_url_fopen)"
|
2373 |
msgstr ""
|
2374 |
|
2375 |
+
#: ../admin/settings.php:568
|
2376 |
msgid "Use text as watermark"
|
2377 |
msgstr ""
|
2378 |
|
2379 |
+
#: ../admin/settings.php:571
|
2380 |
msgid "Font"
|
2381 |
msgstr ""
|
2382 |
|
2383 |
+
#: ../admin/settings.php:580
|
2384 |
msgid "This function will not work, cause you need the FreeType library"
|
2385 |
msgstr ""
|
2386 |
|
2387 |
+
#: ../admin/settings.php:582
|
2388 |
msgid "You can upload more fonts in the folder <strong>nggallery/fonts</strong>"
|
2389 |
msgstr ""
|
2390 |
|
2391 |
+
#: ../admin/settings.php:591
|
2392 |
msgid "Color"
|
2393 |
msgstr ""
|
2394 |
|
2395 |
+
#: ../admin/settings.php:593
|
2396 |
msgid "(hex w/o #)"
|
2397 |
msgstr ""
|
2398 |
|
2399 |
+
#: ../admin/settings.php:596
|
2400 |
msgid "Text"
|
2401 |
msgstr ""
|
2402 |
|
2403 |
+
#: ../admin/settings.php:600
|
2404 |
msgid "Opaque"
|
2405 |
msgstr ""
|
2406 |
|
2407 |
+
#: ../admin/settings.php:621
|
2408 |
msgid "Default size (W x H)"
|
2409 |
msgstr ""
|
2410 |
|
2411 |
+
#: ../admin/settings.php:626
|
2412 |
msgid "Duration time"
|
2413 |
msgstr ""
|
2414 |
|
2415 |
+
#: ../admin/settings.php:627
|
2416 |
msgid "sec."
|
2417 |
msgstr ""
|
2418 |
|
2419 |
+
#: ../admin/settings.php:630
|
2420 |
+
#: ../admin/settings.php:705
|
2421 |
msgid "Transition / Fade effect"
|
2422 |
msgstr ""
|
2423 |
|
2424 |
+
#: ../admin/settings.php:633
|
2425 |
+
#: ../admin/settings.php:708
|
2426 |
msgid "fade"
|
2427 |
msgstr ""
|
2428 |
|
2429 |
+
#: ../admin/settings.php:634
|
2430 |
msgid "blindX"
|
2431 |
msgstr ""
|
2432 |
|
2433 |
+
#: ../admin/settings.php:635
|
2434 |
msgid "cover"
|
2435 |
msgstr ""
|
2436 |
|
2437 |
+
#: ../admin/settings.php:636
|
2438 |
msgid "scrollUp"
|
2439 |
msgstr ""
|
2440 |
|
2441 |
+
#: ../admin/settings.php:637
|
2442 |
msgid "scrollDown"
|
2443 |
msgstr ""
|
2444 |
|
2445 |
+
#: ../admin/settings.php:638
|
2446 |
msgid "shuffle"
|
2447 |
msgstr ""
|
2448 |
|
2449 |
+
#: ../admin/settings.php:639
|
2450 |
msgid "toss"
|
2451 |
msgstr ""
|
2452 |
|
2453 |
+
#: ../admin/settings.php:640
|
2454 |
msgid "wipe"
|
2455 |
msgstr ""
|
2456 |
|
2457 |
+
#: ../admin/settings.php:642
|
2458 |
msgid "See here for more information about the effects :"
|
2459 |
msgstr ""
|
2460 |
|
2461 |
+
#: ../admin/settings.php:646
|
2462 |
msgid "Settings for the JW Image Rotator"
|
2463 |
msgstr ""
|
2464 |
|
2465 |
+
#: ../admin/settings.php:647
|
2466 |
msgid "The settings are only used in the JW Image Rotator Version"
|
2467 |
msgstr ""
|
2468 |
|
2469 |
+
#: ../admin/settings.php:648
|
2470 |
msgid "See more information for the Flash Player on the web page"
|
2471 |
msgstr ""
|
2472 |
|
2473 |
+
#: ../admin/settings.php:653
|
2474 |
msgid "The path to imagerotator.swf is not defined, the slideshow will not work."
|
2475 |
msgstr ""
|
2476 |
|
2477 |
+
#: ../admin/settings.php:654
|
2478 |
msgid "If you would like to use the JW Image Rotatator, please download the player <a href=\"http://www.longtailvideo.com/players/jw-image-rotator/\" target=\"_blank\" >here</a> and upload it to your Upload folder (Default is wp-content/uploads)."
|
2479 |
msgstr ""
|
2480 |
|
2481 |
+
#: ../admin/settings.php:660
|
2482 |
msgid "Enable flash slideshow"
|
2483 |
msgstr ""
|
2484 |
|
2485 |
+
#: ../admin/settings.php:662
|
2486 |
msgid "Integrate the flash based slideshow for all flash supported devices"
|
2487 |
msgstr ""
|
2488 |
|
2489 |
+
#: ../admin/settings.php:665
|
2490 |
msgid "Path to the Imagerotator (URL)"
|
2491 |
msgstr ""
|
2492 |
|
2493 |
+
#: ../admin/settings.php:668
|
2494 |
msgid "Search now"
|
2495 |
msgstr ""
|
2496 |
|
2497 |
+
#: ../admin/settings.php:669
|
2498 |
msgid "Press the button to search automatically for the imagerotator, if you uploaded it to wp-content/uploads or a subfolder"
|
2499 |
msgstr ""
|
2500 |
|
2501 |
+
#: ../admin/settings.php:673
|
2502 |
msgid "Shuffle mode"
|
2503 |
msgstr ""
|
2504 |
|
2505 |
+
#: ../admin/settings.php:677
|
2506 |
msgid "Show next image on click"
|
2507 |
msgstr ""
|
2508 |
|
2509 |
+
#: ../admin/settings.php:681
|
2510 |
msgid "Show navigation bar"
|
2511 |
msgstr ""
|
2512 |
|
2513 |
+
#: ../admin/settings.php:685
|
2514 |
msgid "Show loading icon"
|
2515 |
msgstr ""
|
2516 |
|
2517 |
+
#: ../admin/settings.php:689
|
2518 |
msgid "Use watermark logo"
|
2519 |
msgstr ""
|
2520 |
|
2521 |
+
#: ../admin/settings.php:691
|
2522 |
msgid "You can change the logo at the watermark settings"
|
2523 |
msgstr ""
|
2524 |
|
2525 |
+
#: ../admin/settings.php:694
|
2526 |
msgid "Stretch image"
|
2527 |
msgstr ""
|
2528 |
|
2529 |
+
#: ../admin/settings.php:697
|
2530 |
msgid "true"
|
2531 |
msgstr ""
|
2532 |
|
2533 |
+
#: ../admin/settings.php:698
|
2534 |
msgid "false"
|
2535 |
msgstr ""
|
2536 |
|
2537 |
+
#: ../admin/settings.php:699
|
2538 |
msgid "fit"
|
2539 |
msgstr ""
|
2540 |
|
2541 |
+
#: ../admin/settings.php:700
|
2542 |
msgid "none"
|
2543 |
msgstr ""
|
2544 |
|
2545 |
+
#: ../admin/settings.php:709
|
2546 |
msgid "bgfade"
|
2547 |
msgstr ""
|
2548 |
|
2549 |
+
#: ../admin/settings.php:710
|
2550 |
msgid "slowfade"
|
2551 |
msgstr ""
|
2552 |
|
2553 |
+
#: ../admin/settings.php:711
|
2554 |
msgid "circles"
|
2555 |
msgstr ""
|
2556 |
|
2557 |
+
#: ../admin/settings.php:712
|
2558 |
msgid "bubbles"
|
2559 |
msgstr ""
|
2560 |
|
2561 |
+
#: ../admin/settings.php:713
|
2562 |
msgid "blocks"
|
2563 |
msgstr ""
|
2564 |
|
2565 |
+
#: ../admin/settings.php:714
|
2566 |
msgid "fluids"
|
2567 |
msgstr ""
|
2568 |
|
2569 |
+
#: ../admin/settings.php:715
|
2570 |
msgid "flash"
|
2571 |
msgstr ""
|
2572 |
|
2573 |
+
#: ../admin/settings.php:716
|
2574 |
msgid "lines"
|
2575 |
msgstr ""
|
2576 |
|
2577 |
+
#: ../admin/settings.php:717
|
2578 |
msgid "random"
|
2579 |
msgstr ""
|
2580 |
|
2581 |
+
#: ../admin/settings.php:722
|
2582 |
msgid "Use slow zooming effect"
|
2583 |
msgstr ""
|
2584 |
|
2585 |
+
#: ../admin/settings.php:726
|
2586 |
msgid "Background Color"
|
2587 |
msgstr ""
|
2588 |
|
2589 |
+
#: ../admin/settings.php:731
|
2590 |
msgid "Texts / Buttons Color"
|
2591 |
msgstr ""
|
2592 |
|
2593 |
+
#: ../admin/settings.php:736
|
2594 |
msgid "Rollover / Active Color"
|
2595 |
msgstr ""
|
2596 |
|
2597 |
+
#: ../admin/settings.php:741
|
2598 |
msgid "Screen Color"
|
2599 |
msgstr ""
|
2600 |
|
2601 |
+
#: ../admin/settings.php:746
|
2602 |
msgid "Background music (URL)"
|
2603 |
msgstr ""
|
2604 |
|
2605 |
+
#: ../admin/settings.php:750
|
2606 |
msgid "Try XHTML validation (with CDATA)"
|
2607 |
msgstr ""
|
2608 |
|
2609 |
+
#: ../admin/settings.php:752
|
2610 |
msgid "Important : Could causes problem at some browser. Please recheck your page."
|
2611 |
msgstr ""
|
2612 |
|
2877 |
msgstr ""
|
2878 |
|
2879 |
#: ../admin/upgrade.php:108
|
2880 |
+
#: ../admin/upgrade.php:119
|
2881 |
+
#: ../admin/upgrade.php:126
|
2882 |
+
#: ../admin/upgrade.php:137
|
2883 |
+
#: ../admin/upgrade.php:151
|
2884 |
msgid "finished"
|
2885 |
msgstr ""
|
2886 |
|
2887 |
+
#: ../admin/upgrade.php:117
|
2888 |
msgid "Update file structure..."
|
2889 |
msgstr ""
|
2890 |
|
2891 |
+
#: ../admin/upgrade.php:124
|
2892 |
msgid "Import date and time information..."
|
2893 |
msgstr ""
|
2894 |
|
2895 |
+
#: ../admin/upgrade.php:132
|
2896 |
msgid "Move imagerotator to new location..."
|
2897 |
msgstr ""
|
2898 |
|
2899 |
+
#: ../admin/upgrade.php:143
|
2900 |
msgid "Update settings..."
|
2901 |
msgstr ""
|
2902 |
|
2903 |
+
#: ../admin/upgrade.php:157
|
2904 |
msgid "Updated widget structure. If you used NextGEN Widgets, you need to setup them again..."
|
2905 |
msgstr ""
|
2906 |
|
2907 |
+
#: ../admin/upgrade.php:165
|
2908 |
+
#: ../admin/upgrade.php:187
|
2909 |
msgid "Updated options."
|
2910 |
msgstr ""
|
2911 |
|
2912 |
+
#: ../admin/upgrade.php:172
|
2913 |
msgid "Create unique slug"
|
2914 |
msgstr ""
|
2915 |
|
2916 |
+
#: ../admin/upgrade.php:173
|
2917 |
msgid "One of the upcomming features are a reworked permalinks structure."
|
2918 |
msgstr ""
|
2919 |
|
2920 |
+
#: ../admin/upgrade.php:174
|
2921 |
msgid "Therefore it's needed to have a unique identifier for each image, gallery and album."
|
2922 |
msgstr ""
|
2923 |
|
2924 |
+
#: ../admin/upgrade.php:175
|
2925 |
msgid "Depend on the amount of database entries this will take a while, don't reload this page."
|
2926 |
msgstr ""
|
2927 |
|
3120 |
msgid "Insert"
|
3121 |
msgstr ""
|
3122 |
|
3123 |
+
#: ../lib/core.php:407
|
3124 |
#, php-format
|
3125 |
msgid "Note : Based on your server memory limit you should not upload larger images then <strong>%d x %d</strong> pixel"
|
3126 |
msgstr ""
|
3279 |
msgid "Sorry, you have used your space allocation. Please delete some files to upload more files."
|
3280 |
msgstr ""
|
3281 |
|
|
|
3282 |
#: ../lib/ngg-db.php:331
|
3283 |
+
#: ../lib/ngg-db.php:332
|
3284 |
msgid "Album overview"
|
3285 |
msgstr ""
|
3286 |
|
3287 |
+
#: ../lib/shortcodes.php:311
|
3288 |
msgid "[Pictures not found]"
|
3289 |
msgstr ""
|
3290 |
|
lib/core.php
CHANGED
@@ -255,9 +255,10 @@ class nggGallery {
|
|
255 |
* @autor John Godley
|
256 |
* @param string $template_name Name of the template file (without extension)
|
257 |
* @param string $vars Array of variable name=>value that is available to the display code (optional)
|
|
|
258 |
* @return void
|
259 |
**/
|
260 |
-
function render($template_name, $vars = array ()) {
|
261 |
foreach ($vars AS $key => $val) {
|
262 |
$$key = $val;
|
263 |
}
|
@@ -271,8 +272,12 @@ class nggGallery {
|
|
271 |
include (STYLESHEETPATH . "/nggallery/$template_name.php");
|
272 |
} else if (file_exists (NGGALLERY_ABSPATH . "/view/$template_name.php")) {
|
273 |
include (NGGALLERY_ABSPATH . "/view/$template_name.php");
|
|
|
|
|
274 |
} else {
|
275 |
-
|
|
|
|
|
276 |
}
|
277 |
}
|
278 |
|
@@ -571,5 +576,16 @@ class nggGallery {
|
|
571 |
echo $text . ': ' . $exp . $rounded .'<br />';
|
572 |
|
573 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
574 |
}
|
575 |
?>
|
255 |
* @autor John Godley
|
256 |
* @param string $template_name Name of the template file (without extension)
|
257 |
* @param string $vars Array of variable name=>value that is available to the display code (optional)
|
258 |
+
* @param bool $callback In case we check we didn't find template we tested it one time more (optional)
|
259 |
* @return void
|
260 |
**/
|
261 |
+
function render($template_name, $vars = array (), $callback = false) {
|
262 |
foreach ($vars AS $key => $val) {
|
263 |
$$key = $val;
|
264 |
}
|
272 |
include (STYLESHEETPATH . "/nggallery/$template_name.php");
|
273 |
} else if (file_exists (NGGALLERY_ABSPATH . "/view/$template_name.php")) {
|
274 |
include (NGGALLERY_ABSPATH . "/view/$template_name.php");
|
275 |
+
} else if ( $callback === true ) {
|
276 |
+
echo "<p>Rendering of template $template_name.php failed</p>";
|
277 |
} else {
|
278 |
+
//test without the "-template" name one time more
|
279 |
+
$template_name = array_shift( explode('-', $template_name , 2) );
|
280 |
+
nggGallery::render ($template_name, $vars , true);
|
281 |
}
|
282 |
}
|
283 |
|
576 |
echo $text . ': ' . $exp . $rounded .'<br />';
|
577 |
|
578 |
}
|
579 |
+
|
580 |
+
/**
|
581 |
+
* Show NextGEN Version in header
|
582 |
+
* @since 1.9.0
|
583 |
+
*
|
584 |
+
* @return void
|
585 |
+
*/
|
586 |
+
function nextgen_version() {
|
587 |
+
global $ngg;
|
588 |
+
echo apply_filters('show_nextgen_version', '<!-- <meta name="NextGEN" version="'. $ngg->version . '" /> -->' . "\n");
|
589 |
+
}
|
590 |
}
|
591 |
?>
|
lib/gd.thumbnail.inc.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Ian Selby (ian@gen-x-design.com)
|
6 |
* @copyright Copyright 2006-2011
|
7 |
-
* @version 1.
|
8 |
* @modded by Alex Rabe
|
9 |
*
|
10 |
*/
|
@@ -233,6 +233,11 @@ class ngg_Thumbnail {
|
|
233 |
$memoryNeeded = memory_get_usage() + $memoryNeeded;
|
234 |
// get memory limit
|
235 |
$memory_limit = ini_get('memory_limit');
|
|
|
|
|
|
|
|
|
|
|
236 |
if ( strtolower(substr($memory_limit, -1)) == 'm' ) {
|
237 |
|
238 |
if ($memory_limit != '') {
|
@@ -382,9 +387,8 @@ class ngg_Thumbnail {
|
|
382 |
*
|
383 |
* @param int $Width
|
384 |
* @param int $Height
|
385 |
-
* @param int $resampleMode
|
386 |
*/
|
387 |
-
function resizeFix($Width = 0, $Height = 0, $
|
388 |
$this->newWidth = $Width;
|
389 |
$this->newHeight = $Height;
|
390 |
|
@@ -396,7 +400,7 @@ class ngg_Thumbnail {
|
|
396 |
}
|
397 |
|
398 |
// ImageCopyResampled(
|
399 |
-
$this->
|
400 |
$this->workingImage,
|
401 |
$this->oldImage,
|
402 |
0,
|
@@ -406,8 +410,7 @@ class ngg_Thumbnail {
|
|
406 |
$this->newWidth,
|
407 |
$this->newHeight,
|
408 |
$this->currentDimensions['width'],
|
409 |
-
$this->currentDimensions['height']
|
410 |
-
$resampleMode
|
411 |
);
|
412 |
|
413 |
$this->oldImage = $this->workingImage;
|
@@ -422,9 +425,8 @@ class ngg_Thumbnail {
|
|
422 |
*
|
423 |
* @param int $maxWidth
|
424 |
* @param int $maxHeight
|
425 |
-
* @param int $resampleMode
|
426 |
*/
|
427 |
-
function resize($maxWidth = 0, $maxHeight = 0, $
|
428 |
$this->maxWidth = $maxWidth;
|
429 |
$this->maxHeight = $maxHeight;
|
430 |
|
@@ -438,7 +440,7 @@ class ngg_Thumbnail {
|
|
438 |
}
|
439 |
|
440 |
// ImageCopyResampled(
|
441 |
-
$this->
|
442 |
$this->workingImage,
|
443 |
$this->oldImage,
|
444 |
0,
|
@@ -448,8 +450,7 @@ class ngg_Thumbnail {
|
|
448 |
$this->newDimensions['newWidth'],
|
449 |
$this->newDimensions['newHeight'],
|
450 |
$this->currentDimensions['width'],
|
451 |
-
$this->currentDimensions['height']
|
452 |
-
$resampleMode
|
453 |
);
|
454 |
|
455 |
$this->oldImage = $this->workingImage;
|
@@ -475,7 +476,7 @@ class ngg_Thumbnail {
|
|
475 |
$this->workingImage = ImageCreate($this->newDimensions['newWidth'],$this->newDimensions['newHeight']);
|
476 |
}
|
477 |
|
478 |
-
ImageCopyResampled(
|
479 |
$this->workingImage,
|
480 |
$this->oldImage,
|
481 |
0,
|
@@ -498,9 +499,8 @@ class ngg_Thumbnail {
|
|
498 |
* Crops the image from calculated center in a square of $cropSize pixels
|
499 |
*
|
500 |
* @param int $cropSize
|
501 |
-
* @param int $resampleMode
|
502 |
*/
|
503 |
-
function cropFromCenter($cropSize
|
504 |
if($cropSize > $this->currentDimensions['width']) $cropSize = $this->currentDimensions['width'];
|
505 |
if($cropSize > $this->currentDimensions['height']) $cropSize = $this->currentDimensions['height'];
|
506 |
|
@@ -514,8 +514,7 @@ class ngg_Thumbnail {
|
|
514 |
$this->workingImage = ImageCreate($cropSize,$cropSize);
|
515 |
}
|
516 |
|
517 |
-
|
518 |
-
$this->fastimagecopyresampled(
|
519 |
$this->workingImage,
|
520 |
$this->oldImage,
|
521 |
0,
|
@@ -525,8 +524,7 @@ class ngg_Thumbnail {
|
|
525 |
$cropSize,
|
526 |
$cropSize,
|
527 |
$cropSize,
|
528 |
-
$cropSize
|
529 |
-
$resampleMode
|
530 |
);
|
531 |
|
532 |
$this->oldImage = $this->workingImage;
|
@@ -560,7 +558,7 @@ class ngg_Thumbnail {
|
|
560 |
$this->workingImage = ImageCreate($width,$height);
|
561 |
}
|
562 |
|
563 |
-
imagecopyresampled(
|
564 |
$this->workingImage,
|
565 |
$this->oldImage,
|
566 |
0,
|
@@ -713,7 +711,7 @@ class ngg_Thumbnail {
|
|
713 |
|
714 |
$this->workingImage = imagecreatetruecolor( $this->currentDimensions['width'], $this->currentDimensions['height'] );
|
715 |
|
716 |
-
imagecopyresampled($this->workingImage, $this->oldImage, 0, 0, $sx, $sy, $this->currentDimensions['width'], $this->currentDimensions['height'], $sw, $sh) ;
|
717 |
$this->oldImage = $this->workingImage;
|
718 |
$this->newImage = $this->workingImage;
|
719 |
|
@@ -913,41 +911,34 @@ class ngg_Thumbnail {
|
|
913 |
}
|
914 |
|
915 |
/**
|
916 |
-
*
|
917 |
-
*
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
-
|
941 |
-
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
imagecopyresampled ($dst_image, $temp, 0, 0, 0, 0, $dst_w, $dst_h, $tmp_w, $tmp_h);
|
946 |
-
imagedestroy ($temp);
|
947 |
-
} else {
|
948 |
-
imagecopyresampled ($dst_image, $src_image, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h);
|
949 |
-
}
|
950 |
-
return true;
|
951 |
-
}
|
952 |
}
|
953 |
-
?>
|
4 |
*
|
5 |
* @author Ian Selby (ian@gen-x-design.com)
|
6 |
* @copyright Copyright 2006-2011
|
7 |
+
* @version 1.3.0 (based on 1.1.3)
|
8 |
* @modded by Alex Rabe
|
9 |
*
|
10 |
*/
|
233 |
$memoryNeeded = memory_get_usage() + $memoryNeeded;
|
234 |
// get memory limit
|
235 |
$memory_limit = ini_get('memory_limit');
|
236 |
+
|
237 |
+
// PHP docs : Note that to have no memory limit, set this directive to -1.
|
238 |
+
if ($memory_limit == -1 ) return;
|
239 |
+
|
240 |
+
// Just check megabyte limits, not higher
|
241 |
if ( strtolower(substr($memory_limit, -1)) == 'm' ) {
|
242 |
|
243 |
if ($memory_limit != '') {
|
387 |
*
|
388 |
* @param int $Width
|
389 |
* @param int $Height
|
|
|
390 |
*/
|
391 |
+
function resizeFix($Width = 0, $Height = 0, $deprecated = 3) {
|
392 |
$this->newWidth = $Width;
|
393 |
$this->newHeight = $Height;
|
394 |
|
400 |
}
|
401 |
|
402 |
// ImageCopyResampled(
|
403 |
+
$this->imagecopyresampled(
|
404 |
$this->workingImage,
|
405 |
$this->oldImage,
|
406 |
0,
|
410 |
$this->newWidth,
|
411 |
$this->newHeight,
|
412 |
$this->currentDimensions['width'],
|
413 |
+
$this->currentDimensions['height']
|
|
|
414 |
);
|
415 |
|
416 |
$this->oldImage = $this->workingImage;
|
425 |
*
|
426 |
* @param int $maxWidth
|
427 |
* @param int $maxHeight
|
|
|
428 |
*/
|
429 |
+
function resize($maxWidth = 0, $maxHeight = 0, $deprecated = 3) {
|
430 |
$this->maxWidth = $maxWidth;
|
431 |
$this->maxHeight = $maxHeight;
|
432 |
|
440 |
}
|
441 |
|
442 |
// ImageCopyResampled(
|
443 |
+
$this->imagecopyresampled(
|
444 |
$this->workingImage,
|
445 |
$this->oldImage,
|
446 |
0,
|
450 |
$this->newDimensions['newWidth'],
|
451 |
$this->newDimensions['newHeight'],
|
452 |
$this->currentDimensions['width'],
|
453 |
+
$this->currentDimensions['height']
|
|
|
454 |
);
|
455 |
|
456 |
$this->oldImage = $this->workingImage;
|
476 |
$this->workingImage = ImageCreate($this->newDimensions['newWidth'],$this->newDimensions['newHeight']);
|
477 |
}
|
478 |
|
479 |
+
$this->ImageCopyResampled(
|
480 |
$this->workingImage,
|
481 |
$this->oldImage,
|
482 |
0,
|
499 |
* Crops the image from calculated center in a square of $cropSize pixels
|
500 |
*
|
501 |
* @param int $cropSize
|
|
|
502 |
*/
|
503 |
+
function cropFromCenter($cropSize) {
|
504 |
if($cropSize > $this->currentDimensions['width']) $cropSize = $this->currentDimensions['width'];
|
505 |
if($cropSize > $this->currentDimensions['height']) $cropSize = $this->currentDimensions['height'];
|
506 |
|
514 |
$this->workingImage = ImageCreate($cropSize,$cropSize);
|
515 |
}
|
516 |
|
517 |
+
$this->imagecopyresampled(
|
|
|
518 |
$this->workingImage,
|
519 |
$this->oldImage,
|
520 |
0,
|
524 |
$cropSize,
|
525 |
$cropSize,
|
526 |
$cropSize,
|
527 |
+
$cropSize
|
|
|
528 |
);
|
529 |
|
530 |
$this->oldImage = $this->workingImage;
|
558 |
$this->workingImage = ImageCreate($width,$height);
|
559 |
}
|
560 |
|
561 |
+
$this->imagecopyresampled(
|
562 |
$this->workingImage,
|
563 |
$this->oldImage,
|
564 |
0,
|
711 |
|
712 |
$this->workingImage = imagecreatetruecolor( $this->currentDimensions['width'], $this->currentDimensions['height'] );
|
713 |
|
714 |
+
$this->imagecopyresampled($this->workingImage, $this->oldImage, 0, 0, $sx, $sy, $this->currentDimensions['width'], $this->currentDimensions['height'], $sw, $sh) ;
|
715 |
$this->oldImage = $this->workingImage;
|
716 |
$this->newImage = $this->workingImage;
|
717 |
|
911 |
}
|
912 |
|
913 |
/**
|
914 |
+
* Modfied imagecopyresampled function to save transparent images
|
915 |
+
* See : http://www.akemapa.com/2008/07/10/php-gd-resize-transparent-image-png-gif/
|
916 |
+
* @since 1.9.0
|
917 |
+
*
|
918 |
+
* @param resource $dst_image
|
919 |
+
* @param resource $src_image
|
920 |
+
* @param int $dst_x
|
921 |
+
* @param int $dst_y
|
922 |
+
* @param int $src_x
|
923 |
+
* @param int $src_y
|
924 |
+
* @param int $dst_w
|
925 |
+
* @param int $dst_h
|
926 |
+
* @param int $src_w
|
927 |
+
* @param int $src_h
|
928 |
+
* @return bool
|
929 |
+
*/
|
930 |
+
function imagecopyresampled( &$dst_image , $src_image , $dst_x , $dst_y , $src_x , $src_y , $dst_w , $dst_h , $src_w , $src_h) {
|
931 |
+
|
932 |
+
// Check if this image is PNG or GIF, then set if Transparent
|
933 |
+
if( $this->format == 'GIF' || $this->format == 'PNG'){
|
934 |
+
imagealphablending($dst_image, false);
|
935 |
+
imagesavealpha($dst_image, true);
|
936 |
+
$transparent = imagecolorallocatealpha($dst_image, 255, 255, 255, 127);
|
937 |
+
imagefilledrectangle($dst_image, 0, 0, $dst_w, $dst_h, $transparent);
|
938 |
+
}
|
939 |
+
|
940 |
+
imagecopyresampled($dst_image , $src_image , $dst_x , $dst_y , $src_x , $src_y , $dst_w , $dst_h , $src_w , $src_h);
|
941 |
+
return true;
|
942 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
943 |
}
|
944 |
+
?>
|
lib/media-rss.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Class to produce Media RSS nodes
|
4 |
*
|
5 |
* @author Vincent Prat
|
6 |
-
* @copyright Copyright 2008
|
7 |
*/
|
8 |
class nggMediaRss {
|
9 |
|
@@ -18,12 +18,10 @@ class nggMediaRss {
|
|
18 |
* Add the javascript required to enable PicLens/CoolIris support
|
19 |
*/
|
20 |
function add_piclens_javascript() {
|
21 |
-
echo "\n" . '<!-- NextGeEN Gallery CoolIris/PicLens support -->';
|
22 |
if (is_ssl())
|
23 |
-
|
24 |
else
|
25 |
-
|
26 |
-
echo "\n" . '<!-- /NextGEN Gallery CoolIris/PicLens support -->';
|
27 |
}
|
28 |
|
29 |
/**
|
3 |
* Class to produce Media RSS nodes
|
4 |
*
|
5 |
* @author Vincent Prat
|
6 |
+
* @copyright Copyright 2008-2011
|
7 |
*/
|
8 |
class nggMediaRss {
|
9 |
|
18 |
* Add the javascript required to enable PicLens/CoolIris support
|
19 |
*/
|
20 |
function add_piclens_javascript() {
|
|
|
21 |
if (is_ssl())
|
22 |
+
wp_enqueue_script( 'piclens', 'https://lite.piclens.com/current/piclens_optimized.js', array(), false, true);
|
23 |
else
|
24 |
+
wp_enqueue_script( 'piclens', 'http://lite.piclens.com/current/piclens_optimized.js', array(), false, true);
|
|
|
25 |
}
|
26 |
|
27 |
/**
|
lib/meta.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* nggmeta.lib.php
|
6 |
*
|
7 |
* @author Alex Rabe
|
8 |
-
* @copyright Copyright 2007-
|
9 |
*
|
10 |
*/
|
11 |
|
@@ -45,19 +45,19 @@ class nggMeta{
|
|
45 |
|
46 |
// get exif - data
|
47 |
if ( is_callable('exif_read_data'))
|
48 |
-
|
49 |
|
50 |
// stop here if we didn't need other meta data
|
51 |
if ($onlyEXIF)
|
52 |
return true;
|
53 |
-
|
54 |
// get the iptc data - should be in APP13
|
55 |
-
if ( is_callable('iptcparse'))
|
56 |
-
|
57 |
|
58 |
// get the xmp data in a XML format
|
59 |
if ( is_callable('xml_parser_create'))
|
60 |
-
|
61 |
|
62 |
return true;
|
63 |
}
|
@@ -120,6 +120,8 @@ class nggMeta{
|
|
120 |
$meta['camera'] = trim( $exif['Model'] );
|
121 |
if (!empty($exif['DateTimeDigitized']))
|
122 |
$meta['created_timestamp'] = date_i18n(get_option('date_format') . ' ' . get_option('time_format'), $this->exif_date2ts($exif['DateTimeDigitized']));
|
|
|
|
|
123 |
if (!empty($exif['FocalLength']))
|
124 |
$meta['focal_length'] = $this->exif_frac2dec( $exif['FocalLength'] ) . __(' mm','nggallery');
|
125 |
if (!empty($exif['ISOSpeedRatings']))
|
@@ -380,8 +382,8 @@ class nggMeta{
|
|
380 |
}
|
381 |
|
382 |
// return one element if requested
|
383 |
-
if ($object)
|
384 |
-
return $this->xmp_array[$object];
|
385 |
|
386 |
return $this->xmp_array;
|
387 |
}
|
@@ -472,16 +474,30 @@ class nggMeta{
|
|
472 |
|
473 |
}
|
474 |
|
|
|
|
|
|
|
|
|
|
|
475 |
function get_date_time() {
|
476 |
-
|
|
|
|
|
477 |
// get exif - data
|
478 |
-
if ( $this->exif_data ) {
|
479 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
480 |
// if we didn't get the correct exif value we take filetime
|
481 |
if ($date_time == null)
|
482 |
$date_time = $this->exif_data['FILE']['FileDateTime'];
|
483 |
else
|
484 |
$date_time = $this->exif_date2ts($date_time);
|
|
|
485 |
} else {
|
486 |
// if no other date available, get the filetime
|
487 |
$date_time = @filectime($this->image->imagePath );
|
5 |
* nggmeta.lib.php
|
6 |
*
|
7 |
* @author Alex Rabe
|
8 |
+
* @copyright Copyright 2007-2011
|
9 |
*
|
10 |
*/
|
11 |
|
45 |
|
46 |
// get exif - data
|
47 |
if ( is_callable('exif_read_data'))
|
48 |
+
$this->exif_data = @exif_read_data($this->image->imagePath , 0, true );
|
49 |
|
50 |
// stop here if we didn't need other meta data
|
51 |
if ($onlyEXIF)
|
52 |
return true;
|
53 |
+
|
54 |
// get the iptc data - should be in APP13
|
55 |
+
if ( is_callable('iptcparse') && isset($metadata['APP13']) )
|
56 |
+
$this->iptc_data = @iptcparse($metadata['APP13']);
|
57 |
|
58 |
// get the xmp data in a XML format
|
59 |
if ( is_callable('xml_parser_create'))
|
60 |
+
$this->xmp_data = $this->extract_XMP($this->image->imagePath );
|
61 |
|
62 |
return true;
|
63 |
}
|
120 |
$meta['camera'] = trim( $exif['Model'] );
|
121 |
if (!empty($exif['DateTimeDigitized']))
|
122 |
$meta['created_timestamp'] = date_i18n(get_option('date_format') . ' ' . get_option('time_format'), $this->exif_date2ts($exif['DateTimeDigitized']));
|
123 |
+
else if (!empty($exif['DateTimeOriginal']))
|
124 |
+
$meta['created_timestamp'] = date_i18n(get_option('date_format') . ' ' . get_option('time_format'), $this->exif_date2ts($exif['DateTimeOriginal']));
|
125 |
if (!empty($exif['FocalLength']))
|
126 |
$meta['focal_length'] = $this->exif_frac2dec( $exif['FocalLength'] ) . __(' mm','nggallery');
|
127 |
if (!empty($exif['ISOSpeedRatings']))
|
382 |
}
|
383 |
|
384 |
// return one element if requested
|
385 |
+
if ($object != false )
|
386 |
+
return isset($this->xmp_array[$object]) ? $this->xmp_array[$object] : false;
|
387 |
|
388 |
return $this->xmp_array;
|
389 |
}
|
474 |
|
475 |
}
|
476 |
|
477 |
+
/**
|
478 |
+
* Return the Timestamp from the image , if possible it's read from exif data
|
479 |
+
*
|
480 |
+
* @return
|
481 |
+
*/
|
482 |
function get_date_time() {
|
483 |
+
|
484 |
+
$date_time = false;
|
485 |
+
|
486 |
// get exif - data
|
487 |
+
if ( isset( $this->exif_data['EXIF']) ) {
|
488 |
+
|
489 |
+
// try to read the date / time from the exif
|
490 |
+
if ( empty($this->exif_data['EXIF']['DateTimeDigitized']) )
|
491 |
+
$date_time = $this->exif_data['EXIF']['DateTimeOriginal'];
|
492 |
+
else
|
493 |
+
$date_time = $this->exif_data['EXIF']['DateTimeDigitized'];
|
494 |
+
|
495 |
// if we didn't get the correct exif value we take filetime
|
496 |
if ($date_time == null)
|
497 |
$date_time = $this->exif_data['FILE']['FileDateTime'];
|
498 |
else
|
499 |
$date_time = $this->exif_date2ts($date_time);
|
500 |
+
|
501 |
} else {
|
502 |
// if no other date available, get the filetime
|
503 |
$date_time = @filectime($this->image->imagePath );
|
lib/navigation.php
CHANGED
@@ -4,8 +4,8 @@
|
|
4 |
*
|
5 |
* @package NextGEN Gallery
|
6 |
* @author Alex Rabe
|
7 |
-
* @copyright 2009
|
8 |
-
* @version 1.0.
|
9 |
* @access public
|
10 |
*/
|
11 |
class nggNavigation {
|
@@ -61,7 +61,10 @@ class nggNavigation {
|
|
61 |
*/
|
62 |
function create_navigation($page, $totalElement, $maxElement = 0) {
|
63 |
global $nggRewrite;
|
64 |
-
|
|
|
|
|
|
|
65 |
if ($maxElement > 0) {
|
66 |
$total = $totalElement;
|
67 |
|
@@ -76,7 +79,7 @@ class nggNavigation {
|
|
76 |
$previous = 1;
|
77 |
}
|
78 |
$this->prev = $nggRewrite->get_permalink ( $args );
|
79 |
-
$r .= '<a class="prev" id="ngg-prev-' . $previous . '" href="' . $this->prev . '"
|
80 |
}
|
81 |
|
82 |
$total_pages = ceil( $total / $maxElement );
|
@@ -84,7 +87,7 @@ class nggNavigation {
|
|
84 |
if ( $total_pages > 1 ) {
|
85 |
for ( $page_num = 1; $page_num <= $total_pages; $page_num++ ) {
|
86 |
if ( $page == $page_num ) {
|
87 |
-
$r .= '<span>' . $page_num . '</span>';
|
88 |
} else {
|
89 |
$p = false;
|
90 |
if ( $page_num < 3 || ( $page_num >= $page - 3 && $page_num <= $page + 3 ) || $page_num > $total_pages - 3 ) {
|
@@ -92,7 +95,7 @@ class nggNavigation {
|
|
92 |
$r .= '<a class="page-numbers" href="' . $nggRewrite->get_permalink( $args ) . '">' . ( $page_num ) . '</a>';
|
93 |
$in = true;
|
94 |
} elseif ( $in == true ) {
|
95 |
-
$r .= '<span>...</span>';
|
96 |
$in = false;
|
97 |
}
|
98 |
}
|
@@ -102,7 +105,7 @@ class nggNavigation {
|
|
102 |
if ( ( $page ) * $maxElement < $total || -1 == $total ) {
|
103 |
$args['nggpage'] = $page + 1;
|
104 |
$this->next = $nggRewrite->get_permalink ( $args );
|
105 |
-
$r .= '<a class="next" id="ngg-next-' . $args['nggpage'] . '" href="' . $this->next . '"
|
106 |
}
|
107 |
|
108 |
$this->output = "<div class='ngg-navigation'>$r</div>";
|
4 |
*
|
5 |
* @package NextGEN Gallery
|
6 |
* @author Alex Rabe
|
7 |
+
* @copyright 2009-2011
|
8 |
+
* @version 1.0.1
|
9 |
* @access public
|
10 |
*/
|
11 |
class nggNavigation {
|
61 |
*/
|
62 |
function create_navigation($page, $totalElement, $maxElement = 0) {
|
63 |
global $nggRewrite;
|
64 |
+
|
65 |
+
$prev_symbol = apply_filters('ngg_prev_symbol', '◄');
|
66 |
+
$next_symbol = apply_filters('ngg_prev_symbol', '►');
|
67 |
+
|
68 |
if ($maxElement > 0) {
|
69 |
$total = $totalElement;
|
70 |
|
79 |
$previous = 1;
|
80 |
}
|
81 |
$this->prev = $nggRewrite->get_permalink ( $args );
|
82 |
+
$r .= '<a class="prev" id="ngg-prev-' . $previous . '" href="' . $this->prev . '">' . $prev_symbol . '</a>';
|
83 |
}
|
84 |
|
85 |
$total_pages = ceil( $total / $maxElement );
|
87 |
if ( $total_pages > 1 ) {
|
88 |
for ( $page_num = 1; $page_num <= $total_pages; $page_num++ ) {
|
89 |
if ( $page == $page_num ) {
|
90 |
+
$r .= '<span class="current">' . $page_num . '</span>';
|
91 |
} else {
|
92 |
$p = false;
|
93 |
if ( $page_num < 3 || ( $page_num >= $page - 3 && $page_num <= $page + 3 ) || $page_num > $total_pages - 3 ) {
|
95 |
$r .= '<a class="page-numbers" href="' . $nggRewrite->get_permalink( $args ) . '">' . ( $page_num ) . '</a>';
|
96 |
$in = true;
|
97 |
} elseif ( $in == true ) {
|
98 |
+
$r .= '<span class="more">...</span>';
|
99 |
$in = false;
|
100 |
}
|
101 |
}
|
105 |
if ( ( $page ) * $maxElement < $total || -1 == $total ) {
|
106 |
$args['nggpage'] = $page + 1;
|
107 |
$this->next = $nggRewrite->get_permalink ( $args );
|
108 |
+
$r .= '<a class="next" id="ngg-next-' . $args['nggpage'] . '" href="' . $this->next . '">' . $next_symbol . '</a>';
|
109 |
}
|
110 |
|
111 |
$this->output = "<div class='ngg-navigation'>$r</div>";
|
lib/ngg-db.php
CHANGED
@@ -252,7 +252,7 @@ class nggdb {
|
|
252 |
// due to a browser bug we need to remove the key for associative array for json request
|
253 |
// (see http://code.google.com/p/chromium/issues/detail?id=883)
|
254 |
if ($json) $key = $i++;
|
255 |
-
$gallery[$key] = new nggImage( $value ); // keep in
|
256 |
|
257 |
}
|
258 |
}
|
252 |
// due to a browser bug we need to remove the key for associative array for json request
|
253 |
// (see http://code.google.com/p/chromium/issues/detail?id=883)
|
254 |
if ($json) $key = $i++;
|
255 |
+
$gallery[$key] = new nggImage( $value ); // keep in mind each request require 8-16 kb memory usage
|
256 |
|
257 |
}
|
258 |
}
|
lib/post-thumbnail.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
4 |
* nggPostThumbnail - Class for adding the post thumbnail feature
|
5 |
*
|
@@ -90,7 +90,7 @@ class nggPostThumbnail {
|
|
90 |
|
91 |
$class = 'wp-post-image ngg-image-' . $image->pid . ' ';
|
92 |
|
93 |
-
// look up for the post
|
94 |
if ($size == 'post-thumbnail') {
|
95 |
if ( is_array($_wp_additional_image_sizes) && isset($_wp_additional_image_sizes['post-thumbnail']) ) {
|
96 |
$size = array();
|
@@ -111,7 +111,7 @@ class nggPostThumbnail {
|
|
111 |
$mode = isset($size[2]) ? $size[2] : '';
|
112 |
|
113 |
// check fo cached picture
|
114 |
-
if (
|
115 |
$img_src = $image->cached_singlepic_file( $width, $height, $mode );
|
116 |
|
117 |
// if we didn't use a cached image then we take the on-the-fly mode
|
@@ -189,8 +189,7 @@ class nggPostThumbnail {
|
|
189 |
$width = absint( $_wp_additional_image_sizes['post-thumbnail']['width'] );
|
190 |
$height = absint( $_wp_additional_image_sizes['post-thumbnail']['height'] );
|
191 |
// check fo cached picture
|
192 |
-
|
193 |
-
$img_src = $image->cached_singlepic_file( $width, $height, 'crop' );
|
194 |
}
|
195 |
|
196 |
// if we didn't use a cached image then we take the on-the-fly mode
|
1 |
<?php
|
2 |
+
// see : http://wordpress.org/support/topic/plugin-nextgen-gallery-ngg-and-featured-image-issue?replies=14
|
3 |
/**
|
4 |
* nggPostThumbnail - Class for adding the post thumbnail feature
|
5 |
*
|
90 |
|
91 |
$class = 'wp-post-image ngg-image-' . $image->pid . ' ';
|
92 |
|
93 |
+
// look up for the post thumbnail size and use them if defined
|
94 |
if ($size == 'post-thumbnail') {
|
95 |
if ( is_array($_wp_additional_image_sizes) && isset($_wp_additional_image_sizes['post-thumbnail']) ) {
|
96 |
$size = array();
|
111 |
$mode = isset($size[2]) ? $size[2] : '';
|
112 |
|
113 |
// check fo cached picture
|
114 |
+
if ( $post->post_status == 'publish' )
|
115 |
$img_src = $image->cached_singlepic_file( $width, $height, $mode );
|
116 |
|
117 |
// if we didn't use a cached image then we take the on-the-fly mode
|
189 |
$width = absint( $_wp_additional_image_sizes['post-thumbnail']['width'] );
|
190 |
$height = absint( $_wp_additional_image_sizes['post-thumbnail']['height'] );
|
191 |
// check fo cached picture
|
192 |
+
$img_src = $image->cached_singlepic_file( $width, $height, 'crop' );
|
|
|
193 |
}
|
194 |
|
195 |
// if we didn't use a cached image then we take the on-the-fly mode
|
lib/shortcodes.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @author Alex Rabe, Vincent Prat
|
4 |
-
* @copyright 2008 -
|
5 |
* @since 1.0.0
|
6 |
* @description Use WordPress Shortcode API for more features
|
7 |
* @Docs http://codex.wordpress.org/Shortcode_API
|
@@ -180,14 +180,27 @@ class NextGEN_shortcodes {
|
|
180 |
return $out;
|
181 |
}
|
182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
function show_album( $atts ) {
|
184 |
|
185 |
extract(shortcode_atts(array(
|
186 |
'id' => 0,
|
187 |
-
'template' => 'extend'
|
|
|
188 |
), $atts ));
|
189 |
|
190 |
-
$out = nggShowAlbum($id, $template);
|
191 |
|
192 |
return $out;
|
193 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
* @author Alex Rabe, Vincent Prat
|
4 |
+
* @copyright 2008 - 2011
|
5 |
* @since 1.0.0
|
6 |
* @description Use WordPress Shortcode API for more features
|
7 |
* @Docs http://codex.wordpress.org/Shortcode_API
|
180 |
return $out;
|
181 |
}
|
182 |
|
183 |
+
/**
|
184 |
+
* Function to show a collection of galleries:
|
185 |
+
*
|
186 |
+
* [album id="1,2,4,5,..." template="filename" gallery="filename" /]
|
187 |
+
* where
|
188 |
+
* - id of a album
|
189 |
+
* - template is a name for a album template, which is located in themefolder/nggallery or plugins/nextgen-gallery/view
|
190 |
+
* - template is a name for a gallery template, which is located in themefolder/nggallery or plugins/nextgen-gallery/view
|
191 |
+
*
|
192 |
+
* @param array $atts
|
193 |
+
* @return the_content
|
194 |
+
*/
|
195 |
function show_album( $atts ) {
|
196 |
|
197 |
extract(shortcode_atts(array(
|
198 |
'id' => 0,
|
199 |
+
'template' => 'extend',
|
200 |
+
'gallery' => ''
|
201 |
), $atts ));
|
202 |
|
203 |
+
$out = nggShowAlbum($id, $template, $gallery);
|
204 |
|
205 |
return $out;
|
206 |
}
|
lib/tags.php
CHANGED
@@ -126,7 +126,7 @@ class nggTags {
|
|
126 |
}
|
127 |
|
128 |
// Test if term is also a category
|
129 |
-
if (
|
130 |
// Edit the slug to use the new term
|
131 |
$slug = sanitize_title($new_tag);
|
132 |
nggTags::edit_tag_slug( $new_tag, $slug );
|
126 |
}
|
127 |
|
128 |
// Test if term is also a category
|
129 |
+
if ( term_exists($new_tag, 'category') ) {
|
130 |
// Edit the slug to use the new term
|
131 |
$slug = sanitize_title($new_tag);
|
132 |
nggTags::edit_tag_slug( $new_tag, $slug );
|
lib/xmlrpc.php
CHANGED
@@ -296,12 +296,12 @@ class nggXMLRPC{
|
|
296 |
return $this->error;
|
297 |
|
298 |
if ( !$image = nggdb::find_image($id) )
|
299 |
-
return(new IXR_Error(404, __(
|
300 |
|
301 |
if ( !current_user_can( 'NextGEN Manage gallery' ) && !nggAdmin::can_manage_this_gallery($image->author) )
|
302 |
return new IXR_Error( 401, __( 'Sorry, you must be able to edit this image' ) );
|
303 |
|
304 |
-
if ( !empty( $
|
305 |
$result = nggdb::update_image($id, false, false, $description, $alttext, $exclude);
|
306 |
|
307 |
if ( !$result )
|
296 |
return $this->error;
|
297 |
|
298 |
if ( !$image = nggdb::find_image($id) )
|
299 |
+
return(new IXR_Error(404, __( 'Invalid image ID' )));
|
300 |
|
301 |
if ( !current_user_can( 'NextGEN Manage gallery' ) && !nggAdmin::can_manage_this_gallery($image->author) )
|
302 |
return new IXR_Error( 401, __( 'Sorry, you must be able to edit this image' ) );
|
303 |
|
304 |
+
if ( !empty( $id ) )
|
305 |
$result = nggdb::update_image($id, false, false, $description, $alttext, $exclude);
|
306 |
|
307 |
if ( !$result )
|
nggallery.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: NextGEN Gallery
|
|
4 |
Plugin URI: http://alexrabe.de/?page_id=80
|
5 |
Description: A NextGENeration Photo Gallery for WordPress
|
6 |
Author: Alex Rabe
|
7 |
-
Version: 1.
|
8 |
|
9 |
Author URI: http://alexrabe.de/
|
10 |
|
@@ -34,7 +34,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
|
|
34 |
if (!class_exists('nggLoader')) {
|
35 |
class nggLoader {
|
36 |
|
37 |
-
var $version = '1.
|
38 |
var $dbversion = '1.8.0';
|
39 |
var $minium_WP = '3.1';
|
40 |
var $donators = 'http://nextgen.boelinger.com/donators.php';
|
@@ -55,7 +55,7 @@ class nggLoader {
|
|
55 |
$this->load_dependencies();
|
56 |
$this->start_rewrite_module();
|
57 |
|
58 |
-
$this->plugin_name =
|
59 |
|
60 |
// Init options & tables during activation & deregister init option
|
61 |
register_activation_hook( $this->plugin_name, array(&$this, 'activate') );
|
@@ -82,7 +82,10 @@ class nggLoader {
|
|
82 |
add_filter('plugin_row_meta', array(&$this, 'add_plugin_links'), 10, 2);
|
83 |
|
84 |
// Check for the header / footer
|
85 |
-
add_action( 'init', array(&$this, 'test_head_footer_init' ) );
|
|
|
|
|
|
|
86 |
|
87 |
}
|
88 |
|
@@ -95,7 +98,7 @@ class nggLoader {
|
|
95 |
|
96 |
// All credits to the tranlator
|
97 |
$this->translator = '<p class="hint">'. __('<strong>Translation by : </strong><a target="_blank" href="http://alexrabe.de/wordpress-plugins/nextgen-gallery/languages/">See here</a>', 'nggallery') . '</p>';
|
98 |
-
$this->translator .= '<p class="hint">'. __('<strong>This translation is not yet updated for Version 1.
|
99 |
|
100 |
// Check for upgrade
|
101 |
$this->check_for_upgrade();
|
@@ -127,9 +130,6 @@ class nggLoader {
|
|
127 |
add_action('template_redirect', array(&$this, 'load_scripts') );
|
128 |
add_action('template_redirect', array(&$this, 'load_styles') );
|
129 |
|
130 |
-
// Add a version number to the header
|
131 |
-
add_action('wp_head', create_function('', 'echo "\n<meta name=\'NextGEN\' content=\'' . $this->version . '\' />\n";') );
|
132 |
-
|
133 |
}
|
134 |
}
|
135 |
|
@@ -188,6 +188,9 @@ class nggLoader {
|
|
188 |
// get the real memory limit before some increase it
|
189 |
$this->memory_limit = ini_get('memory_limit');
|
190 |
|
|
|
|
|
|
|
191 |
// Yes, we reached Gigabyte limits, so check if it's a megabyte limit
|
192 |
if (strtolower( substr($this->memory_limit, -1) ) == 'm') {
|
193 |
|
@@ -253,7 +256,9 @@ class nggLoader {
|
|
253 |
}
|
254 |
|
255 |
function define_constant() {
|
256 |
-
|
|
|
|
|
257 |
//TODO:SHOULD BE REMOVED LATER
|
258 |
define('NGGVERSION', $this->version);
|
259 |
// Minimum required database version
|
@@ -263,10 +268,10 @@ class nggLoader {
|
|
263 |
define('WINABSPATH', str_replace("\\", "/", ABSPATH) );
|
264 |
|
265 |
// define URL
|
266 |
-
define('NGGFOLDER',
|
267 |
|
268 |
-
define('NGGALLERY_ABSPATH', trailingslashit( str_replace("\\","/", WP_PLUGIN_DIR . '/' .
|
269 |
-
define('NGGALLERY_URLPATH', trailingslashit( plugins_url(
|
270 |
|
271 |
// look for imagerotator
|
272 |
define('NGGALLERY_IREXIST', !empty( $this->options['irURL'] ));
|
@@ -278,6 +283,9 @@ class nggLoader {
|
|
278 |
else define( 'SAFE_MODE', ini_get('safe_mode') );
|
279 |
} else
|
280 |
define( 'SAFE_MODE', ini_get('safe_mode') );
|
|
|
|
|
|
|
281 |
|
282 |
}
|
283 |
|
@@ -315,14 +323,16 @@ class nggLoader {
|
|
315 |
if ( is_admin() ) {
|
316 |
require_once (dirname (__FILE__) . '/admin/admin.php');
|
317 |
require_once (dirname (__FILE__) . '/admin/media-upload.php');
|
318 |
-
|
|
|
|
|
319 |
}
|
320 |
}
|
321 |
}
|
322 |
|
323 |
function load_textdomain() {
|
324 |
|
325 |
-
load_plugin_textdomain('nggallery', false,
|
326 |
|
327 |
}
|
328 |
|
@@ -342,7 +352,7 @@ class nggLoader {
|
|
342 |
|
343 |
// activate modified Shutter reloaded if not use the Shutter plugin
|
344 |
if ( ($this->options['thumbEffect'] == "shutter") && !function_exists('srel_makeshutter') ) {
|
345 |
-
wp_register_script('shutter', NGGALLERY_URLPATH .'shutter/shutter-reloaded.js', false ,'1.3.
|
346 |
wp_localize_script('shutter', 'shutterSettings', array(
|
347 |
'msgLoading' => __('L O A D I N G', 'nggallery'),
|
348 |
'msgClose' => __('Click to Close', 'nggallery'),
|
@@ -355,7 +365,7 @@ class nggLoader {
|
|
355 |
if ( NGGALLERY_IREXIST == true && $this->options['enableIR'] == '1' && nggGallery::detect_mobile_phone() === false )
|
356 |
wp_enqueue_script('swfobject', NGGALLERY_URLPATH .'admin/js/swfobject.js', FALSE, '2.2');
|
357 |
else {
|
358 |
-
wp_register_script('jquery-cycle', NGGALLERY_URLPATH .'js/jquery.cycle.all.min.js', array('jquery'), '2.
|
359 |
wp_enqueue_script('ngg-slideshow', NGGALLERY_URLPATH .'js/ngg.slideshow.min.js', array('jquery-cycle'), '1.05');
|
360 |
|
361 |
}
|
@@ -392,7 +402,7 @@ class nggLoader {
|
|
392 |
|
393 |
// activate modified Shutter reloaded if not use the Shutter plugin
|
394 |
if ( ($this->options['thumbEffect'] == 'shutter') && !function_exists('srel_makeshutter') )
|
395 |
-
wp_enqueue_style('shutter', NGGALLERY_URLPATH .'shutter/shutter-reloaded.css', false, '1.3.
|
396 |
|
397 |
}
|
398 |
|
@@ -428,7 +438,7 @@ class nggLoader {
|
|
428 |
global $wpdb;
|
429 |
//Starting from version 1.8.0 it's works only with PHP5.2
|
430 |
if (version_compare(PHP_VERSION, '5.2.0', '<')) {
|
431 |
-
deactivate_plugins(
|
432 |
wp_die("Sorry, but you can't run this plugin, it requires PHP 5.2 or higher.");
|
433 |
return;
|
434 |
}
|
@@ -482,16 +492,14 @@ class nggLoader {
|
|
482 |
}
|
483 |
|
484 |
function disable_upgrade($option){
|
485 |
-
|
486 |
-
$this_plugin = plugin_basename(__FILE__);
|
487 |
|
488 |
// PHP5.2 is required for NGG V1.4.0
|
489 |
-
if ( version_compare($option->response[ $
|
490 |
return $option;
|
491 |
|
492 |
-
if( isset($option->response[ $
|
493 |
//Clear it''s download link
|
494 |
-
$option->response[ $
|
495 |
|
496 |
//Add a notice message
|
497 |
if ($this->add_PHP5_notice == false){
|
@@ -505,7 +513,7 @@ class nggLoader {
|
|
505 |
// Taken from Google XML Sitemaps from Arne Brachhold
|
506 |
function add_plugin_links($links, $file) {
|
507 |
|
508 |
-
if ( $file ==
|
509 |
$links[] = '<a href="admin.php?page=nextgen-gallery">' . __('Overview', 'nggallery') . '</a>';
|
510 |
$links[] = '<a href="http://wordpress.org/tags/nextgen-gallery?forum_id=10">' . __('Get help', 'nggallery') . '</a>';
|
511 |
$links[] = '<a href="http://code.google.com/p/nextgen-gallery/">' . __('Contribute', 'nggallery') . '</a>';
|
4 |
Plugin URI: http://alexrabe.de/?page_id=80
|
5 |
Description: A NextGENeration Photo Gallery for WordPress
|
6 |
Author: Alex Rabe
|
7 |
+
Version: 1.9.0
|
8 |
|
9 |
Author URI: http://alexrabe.de/
|
10 |
|
34 |
if (!class_exists('nggLoader')) {
|
35 |
class nggLoader {
|
36 |
|
37 |
+
var $version = '1.9.0';
|
38 |
var $dbversion = '1.8.0';
|
39 |
var $minium_WP = '3.1';
|
40 |
var $donators = 'http://nextgen.boelinger.com/donators.php';
|
55 |
$this->load_dependencies();
|
56 |
$this->start_rewrite_module();
|
57 |
|
58 |
+
$this->plugin_name = basename(dirname(__FILE__)).'/'.basename(__FILE__);
|
59 |
|
60 |
// Init options & tables during activation & deregister init option
|
61 |
register_activation_hook( $this->plugin_name, array(&$this, 'activate') );
|
82 |
add_filter('plugin_row_meta', array(&$this, 'add_plugin_links'), 10, 2);
|
83 |
|
84 |
// Check for the header / footer
|
85 |
+
add_action( 'init', array(&$this, 'test_head_footer_init' ) );
|
86 |
+
|
87 |
+
// Show NextGEN version in header
|
88 |
+
add_action('wp_head', array('nggGallery', 'nextgen_version') );
|
89 |
|
90 |
}
|
91 |
|
98 |
|
99 |
// All credits to the tranlator
|
100 |
$this->translator = '<p class="hint">'. __('<strong>Translation by : </strong><a target="_blank" href="http://alexrabe.de/wordpress-plugins/nextgen-gallery/languages/">See here</a>', 'nggallery') . '</p>';
|
101 |
+
$this->translator .= '<p class="hint">'. __('<strong>This translation is not yet updated for Version 1.9.0</strong>. If you would like to help with translation, download the current po from the plugin folder and read <a href="http://alexrabe.de/wordpress-plugins/wordtube/translation-of-plugins/">here</a> how you can translate the plugin.', 'nggallery') . '</p>';
|
102 |
|
103 |
// Check for upgrade
|
104 |
$this->check_for_upgrade();
|
130 |
add_action('template_redirect', array(&$this, 'load_scripts') );
|
131 |
add_action('template_redirect', array(&$this, 'load_styles') );
|
132 |
|
|
|
|
|
|
|
133 |
}
|
134 |
}
|
135 |
|
188 |
// get the real memory limit before some increase it
|
189 |
$this->memory_limit = ini_get('memory_limit');
|
190 |
|
191 |
+
// PHP docs : Note that to have no memory limit, set this directive to -1.
|
192 |
+
if ($this->memory_limit == -1 ) return true;
|
193 |
+
|
194 |
// Yes, we reached Gigabyte limits, so check if it's a megabyte limit
|
195 |
if (strtolower( substr($this->memory_limit, -1) ) == 'm') {
|
196 |
|
256 |
}
|
257 |
|
258 |
function define_constant() {
|
259 |
+
|
260 |
+
global $wp_version;
|
261 |
+
|
262 |
//TODO:SHOULD BE REMOVED LATER
|
263 |
define('NGGVERSION', $this->version);
|
264 |
// Minimum required database version
|
268 |
define('WINABSPATH', str_replace("\\", "/", ABSPATH) );
|
269 |
|
270 |
// define URL
|
271 |
+
define('NGGFOLDER', basename( dirname(__FILE__) ) );
|
272 |
|
273 |
+
define('NGGALLERY_ABSPATH', trailingslashit( str_replace("\\","/", WP_PLUGIN_DIR . '/' . NGGFOLDER ) ) );
|
274 |
+
define('NGGALLERY_URLPATH', trailingslashit( plugins_url( NGGFOLDER ) ) );
|
275 |
|
276 |
// look for imagerotator
|
277 |
define('NGGALLERY_IREXIST', !empty( $this->options['irURL'] ));
|
283 |
else define( 'SAFE_MODE', ini_get('safe_mode') );
|
284 |
} else
|
285 |
define( 'SAFE_MODE', ini_get('safe_mode') );
|
286 |
+
|
287 |
+
if ( version_compare($wp_version, '3.2.999', '>') )
|
288 |
+
define('IS_WP_3_3', TRUE);
|
289 |
|
290 |
}
|
291 |
|
323 |
if ( is_admin() ) {
|
324 |
require_once (dirname (__FILE__) . '/admin/admin.php');
|
325 |
require_once (dirname (__FILE__) . '/admin/media-upload.php');
|
326 |
+
if ( defined('IS_WP_3_3') )
|
327 |
+
require_once (dirname (__FILE__) . '/admin/pointer.php');
|
328 |
+
$this->nggAdminPanel = new nggAdminPanel();
|
329 |
}
|
330 |
}
|
331 |
}
|
332 |
|
333 |
function load_textdomain() {
|
334 |
|
335 |
+
load_plugin_textdomain('nggallery', false, NGGFOLDER . '/lang');
|
336 |
|
337 |
}
|
338 |
|
352 |
|
353 |
// activate modified Shutter reloaded if not use the Shutter plugin
|
354 |
if ( ($this->options['thumbEffect'] == "shutter") && !function_exists('srel_makeshutter') ) {
|
355 |
+
wp_register_script('shutter', NGGALLERY_URLPATH .'shutter/shutter-reloaded.js', false ,'1.3.3');
|
356 |
wp_localize_script('shutter', 'shutterSettings', array(
|
357 |
'msgLoading' => __('L O A D I N G', 'nggallery'),
|
358 |
'msgClose' => __('Click to Close', 'nggallery'),
|
365 |
if ( NGGALLERY_IREXIST == true && $this->options['enableIR'] == '1' && nggGallery::detect_mobile_phone() === false )
|
366 |
wp_enqueue_script('swfobject', NGGALLERY_URLPATH .'admin/js/swfobject.js', FALSE, '2.2');
|
367 |
else {
|
368 |
+
wp_register_script('jquery-cycle', NGGALLERY_URLPATH .'js/jquery.cycle.all.min.js', array('jquery'), '2.9995');
|
369 |
wp_enqueue_script('ngg-slideshow', NGGALLERY_URLPATH .'js/ngg.slideshow.min.js', array('jquery-cycle'), '1.05');
|
370 |
|
371 |
}
|
402 |
|
403 |
// activate modified Shutter reloaded if not use the Shutter plugin
|
404 |
if ( ($this->options['thumbEffect'] == 'shutter') && !function_exists('srel_makeshutter') )
|
405 |
+
wp_enqueue_style('shutter', NGGALLERY_URLPATH .'shutter/shutter-reloaded.css', false, '1.3.3', 'screen');
|
406 |
|
407 |
}
|
408 |
|
438 |
global $wpdb;
|
439 |
//Starting from version 1.8.0 it's works only with PHP5.2
|
440 |
if (version_compare(PHP_VERSION, '5.2.0', '<')) {
|
441 |
+
deactivate_plugins($this->plugin_name); // Deactivate ourself
|
442 |
wp_die("Sorry, but you can't run this plugin, it requires PHP 5.2 or higher.");
|
443 |
return;
|
444 |
}
|
492 |
}
|
493 |
|
494 |
function disable_upgrade($option){
|
|
|
|
|
495 |
|
496 |
// PHP5.2 is required for NGG V1.4.0
|
497 |
+
if ( version_compare($option->response[ $this->plugin_name ]->new_version, '1.4.0', '>=') )
|
498 |
return $option;
|
499 |
|
500 |
+
if( isset($option->response[ $this->plugin_name ]) ){
|
501 |
//Clear it''s download link
|
502 |
+
$option->response[ $this->plugin_name ]->package = '';
|
503 |
|
504 |
//Add a notice message
|
505 |
if ($this->add_PHP5_notice == false){
|
513 |
// Taken from Google XML Sitemaps from Arne Brachhold
|
514 |
function add_plugin_links($links, $file) {
|
515 |
|
516 |
+
if ( $file == $this->plugin_name ) {
|
517 |
$links[] = '<a href="admin.php?page=nextgen-gallery">' . __('Overview', 'nggallery') . '</a>';
|
518 |
$links[] = '<a href="http://wordpress.org/tags/nextgen-gallery?forum_id=10">' . __('Get help', 'nggallery') . '</a>';
|
519 |
$links[] = '<a href="http://code.google.com/p/nextgen-gallery/">' . __('Contribute', 'nggallery') . '</a>';
|
nggfunctions.php
CHANGED
@@ -347,12 +347,12 @@ function nggCreateGallery($picturelist, $galleryID = false, $template = '', $ima
|
|
347 |
$thumbcode = ($ngg_options['galImgBrowser']) ? '' : $picture->get_thumbcode(get_the_title());
|
348 |
|
349 |
// create link for imagebrowser and other effects
|
350 |
-
$args ['nggpage'] = empty($nggpage) ? false : $nggpage;
|
351 |
$args ['pid'] = ($ngg_options['usePermalinks']) ? $picture->image_slug : $picture->pid;
|
352 |
$picturelist[$key]->pidlink = $nggRewrite->get_permalink( $args );
|
353 |
|
354 |
// generate the thumbnail size if the meta data available
|
355 |
-
if (is_array ($size = $picturelist[$key]->meta_data['thumbnail']) )
|
356 |
$thumbsize = 'width="' . $size['width'] . '" height="' . $size['height'] . '"';
|
357 |
|
358 |
// choose link between imagebrowser or effect
|
@@ -406,9 +406,10 @@ function nggCreateGallery($picturelist, $galleryID = false, $template = '', $ima
|
|
406 |
* @access public
|
407 |
* @param int | string $albumID
|
408 |
* @param string (optional) $template
|
|
|
409 |
* @return the content
|
410 |
*/
|
411 |
-
function nggShowAlbum($albumID, $template = 'extend') {
|
412 |
|
413 |
// $_GET from wp_query
|
414 |
$gallery = get_query_var('gallery');
|
@@ -426,7 +427,7 @@ function nggShowAlbum($albumID, $template = 'extend') {
|
|
426 |
return;
|
427 |
|
428 |
// if gallery is submit , then show the gallery instead
|
429 |
-
$out = nggShowGallery( $gallery );
|
430 |
$GLOBALS['nggShowGallery'] = true;
|
431 |
|
432 |
return $out;
|
@@ -526,11 +527,7 @@ function nggCreateAlbum( $galleriesID, $template = 'extend', $album = 0) {
|
|
526 |
$args['gallery'] = false;
|
527 |
$args['nggpage'] = false;
|
528 |
$pageid = (isset($subalbum->pageid) ? $subalbum->pageid : 0);
|
529 |
-
|
530 |
-
$galleries[$key]->pagelink = get_permalink($pageid);
|
531 |
-
} else {
|
532 |
-
$galleries[$key]->pagelink = $nggRewrite->get_permalink($args);
|
533 |
-
}
|
534 |
$galleries[$key]->galdesc = html_entity_decode ( nggGallery::i18n($subalbum->albumdesc) );
|
535 |
$galleries[$key]->title = html_entity_decode ( nggGallery::i18n($subalbum->name) );
|
536 |
|
@@ -570,7 +567,7 @@ function nggCreateAlbum( $galleriesID, $template = 'extend', $album = 0) {
|
|
570 |
}
|
571 |
|
572 |
// description can contain HTML tags
|
573 |
-
$galleries[$key]->galdesc = html_entity_decode ( stripslashes($galleries[$key]->galdesc) ) ;
|
574 |
|
575 |
// i18n
|
576 |
$galleries[$key]->title = html_entity_decode ( nggGallery::i18n( stripslashes($galleries[$key]->title) ) ) ;
|
@@ -578,7 +575,10 @@ function nggCreateAlbum( $galleriesID, $template = 'extend', $album = 0) {
|
|
578 |
// apply a filter on gallery object before the output
|
579 |
$galleries[$key] = apply_filters('ngg_album_galleryobject', $galleries[$key]);
|
580 |
}
|
581 |
-
|
|
|
|
|
|
|
582 |
// check for page navigation
|
583 |
if ($maxElement > 0) {
|
584 |
if ( !is_home() || $pageid == get_the_ID() ) {
|
@@ -797,7 +797,7 @@ function nggSinglePicture($imageID, $width = 250, $height = 250, $mode = '', $fl
|
|
797 |
$picture->thumbnailURL = false;
|
798 |
|
799 |
// check fo cached picture
|
800 |
-
if (
|
801 |
$picture->thumbnailURL = $picture->cached_singlepic_file($width, $height, $mode );
|
802 |
|
803 |
// if we didn't use a cached image then we take the on-the-fly mode
|
347 |
$thumbcode = ($ngg_options['galImgBrowser']) ? '' : $picture->get_thumbcode(get_the_title());
|
348 |
|
349 |
// create link for imagebrowser and other effects
|
350 |
+
$args ['nggpage'] = empty($nggpage) || ($template != 'carousel') ? false : $nggpage; // only needed for carousel mode
|
351 |
$args ['pid'] = ($ngg_options['usePermalinks']) ? $picture->image_slug : $picture->pid;
|
352 |
$picturelist[$key]->pidlink = $nggRewrite->get_permalink( $args );
|
353 |
|
354 |
// generate the thumbnail size if the meta data available
|
355 |
+
if ( isset($picturelist[$key]->meta_data['thumbnail']) && is_array ($size = $picturelist[$key]->meta_data['thumbnail']) )
|
356 |
$thumbsize = 'width="' . $size['width'] . '" height="' . $size['height'] . '"';
|
357 |
|
358 |
// choose link between imagebrowser or effect
|
406 |
* @access public
|
407 |
* @param int | string $albumID
|
408 |
* @param string (optional) $template
|
409 |
+
* @param string (optional) $gallery_template
|
410 |
* @return the content
|
411 |
*/
|
412 |
+
function nggShowAlbum($albumID, $template = 'extend', $gallery_template = '') {
|
413 |
|
414 |
// $_GET from wp_query
|
415 |
$gallery = get_query_var('gallery');
|
427 |
return;
|
428 |
|
429 |
// if gallery is submit , then show the gallery instead
|
430 |
+
$out = nggShowGallery( $gallery, $gallery_template );
|
431 |
$GLOBALS['nggShowGallery'] = true;
|
432 |
|
433 |
return $out;
|
527 |
$args['gallery'] = false;
|
528 |
$args['nggpage'] = false;
|
529 |
$pageid = (isset($subalbum->pageid) ? $subalbum->pageid : 0);
|
530 |
+
$galleries[$key]->pagelink = ($pageid > 0) ? get_permalink($pageid) : $nggRewrite->get_permalink($args);
|
|
|
|
|
|
|
|
|
531 |
$galleries[$key]->galdesc = html_entity_decode ( nggGallery::i18n($subalbum->albumdesc) );
|
532 |
$galleries[$key]->title = html_entity_decode ( nggGallery::i18n($subalbum->name) );
|
533 |
|
567 |
}
|
568 |
|
569 |
// description can contain HTML tags
|
570 |
+
$galleries[$key]->galdesc = html_entity_decode ( nggGallery::i18n( stripslashes($galleries[$key]->galdesc) ) ) ;
|
571 |
|
572 |
// i18n
|
573 |
$galleries[$key]->title = html_entity_decode ( nggGallery::i18n( stripslashes($galleries[$key]->title) ) ) ;
|
575 |
// apply a filter on gallery object before the output
|
576 |
$galleries[$key] = apply_filters('ngg_album_galleryobject', $galleries[$key]);
|
577 |
}
|
578 |
+
|
579 |
+
// apply a filter on gallery object before paging starts
|
580 |
+
$galleries = apply_filters('ngg_album_galleries_before_paging', $galleries, $album);
|
581 |
+
|
582 |
// check for page navigation
|
583 |
if ($maxElement > 0) {
|
584 |
if ( !is_home() || $pageid == get_the_ID() ) {
|
797 |
$picture->thumbnailURL = false;
|
798 |
|
799 |
// check fo cached picture
|
800 |
+
if ( $post->post_status == 'publish' )
|
801 |
$picture->thumbnailURL = $picture->cached_singlepic_file($width, $height, $mode );
|
802 |
|
803 |
// if we didn't use a cached image then we take the on-the-fly mode
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: alexrabe
|
3 |
Donate link: http://alexrabe.de/donation/
|
4 |
Tags: photos,flash,slideshow,images,gallery,media,admin,post,photo-albums,pictures,widgets,photo,picture,image,nextgen-gallery,nextgen gallery
|
5 |
-
Requires at least: 3.
|
6 |
-
Tested up to: 3.
|
7 |
Stable tag: trunk
|
8 |
|
9 |
NextGEN Gallery is a full integrated Image Gallery plugin for WordPress with dozens of options and features.
|
@@ -130,6 +130,22 @@ To show the most recent added mages : **[recent max=x ]**
|
|
130 |
|
131 |
== Changelog ==
|
132 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
= V1.8.4 - 26.10.2011 =
|
134 |
* Bugfix : Fixed security vulnerability (TXH to Alain Schneider)
|
135 |
|
2 |
Contributors: alexrabe
|
3 |
Donate link: http://alexrabe.de/donation/
|
4 |
Tags: photos,flash,slideshow,images,gallery,media,admin,post,photo-albums,pictures,widgets,photo,picture,image,nextgen-gallery,nextgen gallery
|
5 |
+
Requires at least: 3.2
|
6 |
+
Tested up to: 3.3
|
7 |
Stable tag: trunk
|
8 |
|
9 |
NextGEN Gallery is a full integrated Image Gallery plugin for WordPress with dozens of options and features.
|
130 |
|
131 |
== Changelog ==
|
132 |
|
133 |
+
= V1.9.0 - 27.11.2011 =
|
134 |
+
* NEW : Keep images transparency for PNG and GIF format
|
135 |
+
* NEW : Switch to Plupload, support now HTML5 Upload (only with WordPress 3.3)
|
136 |
+
* NEW : Added client side resize feature (only with WordPress 3.3)
|
137 |
+
* NEW : Support for gallery templates in album shortcodes [ album id=x template="name" gallery="templatename" ]
|
138 |
+
* NEW : Added new hook ngg_delete_picture
|
139 |
+
* Changed : Updated to jQuery Cycle Version 2.9995
|
140 |
+
* Changed : Always cache the single pictures, remove option
|
141 |
+
* Bugfix : Couldn't use bulk operation for serach results
|
142 |
+
* Bugfix : Bugfix for Edit thumbnails under IE 8 + 9
|
143 |
+
* Bugfix : Allow empty altext in ngg.editImage
|
144 |
+
* Bugfix : Various PHP notice fixes
|
145 |
+
* Bugfix : Resize fix for Shutter effect and mobile Browser
|
146 |
+
* Bugfix : FTP Import missing slug field into database
|
147 |
+
* Bugfix : Check also EXIF field "DateTimeOriginal" for timestamp
|
148 |
+
|
149 |
= V1.8.4 - 26.10.2011 =
|
150 |
* Bugfix : Fixed security vulnerability (TXH to Alain Schneider)
|
151 |
|
shutter/shutter-reloaded.css
CHANGED
@@ -90,4 +90,5 @@ div#shWaitBar {
|
|
90 |
z-index: 1001;
|
91 |
margin-top: 160px;
|
92 |
color: #ae0a0a;
|
|
|
93 |
}
|
90 |
z-index: 1001;
|
91 |
margin-top: 160px;
|
92 |
color: #ae0a0a;
|
93 |
+
text-align: center;
|
94 |
}
|
shutter/shutter-reloaded.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/*
|
2 |
Shutter Reloaded for NextGEN Gallery
|
3 |
http://www.laptoptips.ca/javascripts/shutter-reloaded/
|
4 |
-
Version: 1.3.
|
5 |
Copyright (C) 2007-2008 Andrew Ozz (Modification by Alex Rabe)
|
6 |
Released under the GPL, http://www.gnu.org/copyleft/gpl.html
|
7 |
|
@@ -35,7 +35,10 @@ shutterReloaded = {
|
|
35 |
var t = this, L, T, ext, i, m, setid, inset, shfile, shMenuPre, k, img;
|
36 |
shutterLinks = {}, shutterSets = {};
|
37 |
if ( 'object' != typeof shutterSettings ) shutterSettings = {};
|
38 |
-
|
|
|
|
|
|
|
39 |
for ( i = 0; i < document.links.length; i++ ) {
|
40 |
L = document.links[i];
|
41 |
ext = ( L.href.indexOf('?') == -1 ) ? L.href.slice(-4).toLowerCase() : L.href.substring( 0, L.href.indexOf('?') ).slice(-4).toLowerCase();
|
@@ -80,7 +83,12 @@ shutterReloaded = {
|
|
80 |
else t.FS = shutterSettings.FS || 0;
|
81 |
|
82 |
if ( t.resizing ) t.resizing = null;
|
83 |
-
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
document.documentElement.style.overflowX = 'hidden';
|
86 |
if ( ! t.VP ) {
|
@@ -133,7 +141,7 @@ shutterReloaded = {
|
|
133 |
//Google Chrome 4.0.249.78 bug for onload attribute
|
134 |
document.getElementById('shTopImg').src = shutterLinks[ln].link;
|
135 |
|
136 |
-
window.setTimeout(function(){shutterReloaded.loading();},
|
137 |
},
|
138 |
|
139 |
loading : function() {
|
@@ -144,6 +152,7 @@ shutterReloaded = {
|
|
144 |
WB = document.createElement('div');
|
145 |
WB.setAttribute('id','shWaitBar');
|
146 |
WB.style.top = t.Top + 'px';
|
|
|
147 |
WB.innerHTML = t.msgLoading;
|
148 |
S.appendChild(WB);
|
149 |
},
|
1 |
/*
|
2 |
Shutter Reloaded for NextGEN Gallery
|
3 |
http://www.laptoptips.ca/javascripts/shutter-reloaded/
|
4 |
+
Version: 1.3.3
|
5 |
Copyright (C) 2007-2008 Andrew Ozz (Modification by Alex Rabe)
|
6 |
Released under the GPL, http://www.gnu.org/copyleft/gpl.html
|
7 |
|
35 |
var t = this, L, T, ext, i, m, setid, inset, shfile, shMenuPre, k, img;
|
36 |
shutterLinks = {}, shutterSets = {};
|
37 |
if ( 'object' != typeof shutterSettings ) shutterSettings = {};
|
38 |
+
|
39 |
+
// If the screen orientation is defined we are in a modern mobile OS
|
40 |
+
t.mobileOS = typeof orientation != 'undefined' ? true : false;
|
41 |
+
|
42 |
for ( i = 0; i < document.links.length; i++ ) {
|
43 |
L = document.links[i];
|
44 |
ext = ( L.href.indexOf('?') == -1 ) ? L.href.slice(-4).toLowerCase() : L.href.substring( 0, L.href.indexOf('?') ).slice(-4).toLowerCase();
|
83 |
else t.FS = shutterSettings.FS || 0;
|
84 |
|
85 |
if ( t.resizing ) t.resizing = null;
|
86 |
+
|
87 |
+
// resize event if window or orientation changed (i.e. iOS)
|
88 |
+
if(t.mobileOS == true)
|
89 |
+
window.onorientationchange = new Function('shutterReloaded.resize("'+ln+'");');
|
90 |
+
else
|
91 |
+
window.onresize = new Function('shutterReloaded.resize("'+ln+'");');
|
92 |
|
93 |
document.documentElement.style.overflowX = 'hidden';
|
94 |
if ( ! t.VP ) {
|
141 |
//Google Chrome 4.0.249.78 bug for onload attribute
|
142 |
document.getElementById('shTopImg').src = shutterLinks[ln].link;
|
143 |
|
144 |
+
window.setTimeout(function(){shutterReloaded.loading();},1000);
|
145 |
},
|
146 |
|
147 |
loading : function() {
|
152 |
WB = document.createElement('div');
|
153 |
WB.setAttribute('id','shWaitBar');
|
154 |
WB.style.top = t.Top + 'px';
|
155 |
+
WB.style.marginTop =(t.pgHeight/2) + 'px'
|
156 |
WB.innerHTML = t.msgLoading;
|
157 |
S.appendChild(WB);
|
158 |
},
|
xml/json.php
CHANGED
@@ -21,9 +21,9 @@ class nggAPI {
|
|
21 |
*/
|
22 |
var $format = false; // $_GET['format'] : Return a XML oder JSON output
|
23 |
var $api_key = false; // $_GET['api_key'] : Protect the access via a random key (required if user is not logged into backend)
|
24 |
-
var $method = false; // $_GET['method'] : search | gallery | image | tag | autocomplete
|
25 |
var $term = false; // $_GET['term'] : The search term (required for method search | tag)
|
26 |
-
var $id = false; // $_GET['id'] :
|
27 |
var $limit = false; // $_GET['limit'] : maximum of images which we request
|
28 |
var $type = false; // $_GET['type'] : gallery | image | album (required for method autocomplete)
|
29 |
|
@@ -84,6 +84,10 @@ class nggAPI {
|
|
84 |
//search for some images
|
85 |
$this->result['images'] = array_merge( (array) nggdb::search_for_images( $this->term ), (array) nggTags::find_images_for_tags( $this->term , 'ASC' ));
|
86 |
break;
|
|
|
|
|
|
|
|
|
87 |
case 'gallery' :
|
88 |
//search for some gallery
|
89 |
$this->result['images'] = ($this->id == 0) ? nggdb::find_last_images( 0 , 100 ) : nggdb::get_gallery( $this->id, $ngg->options['galSort'], $ngg->options['galSortDir'], true, 0, 0, true );
|
@@ -223,24 +227,21 @@ class nggAPI {
|
|
223 |
*/
|
224 |
function create_xml_array( &$arr )
|
225 |
{
|
|
|
|
|
226 |
if( is_object( $arr ) )
|
227 |
$arr = get_object_vars( $arr );
|
228 |
|
229 |
foreach( (array)$arr as $k => $v ) {
|
230 |
if( is_object( $v ) )
|
231 |
$v = get_object_vars( $v );
|
232 |
-
|
233 |
-
if(
|
234 |
-
$
|
|
|
|
|
235 |
else
|
236 |
-
|
237 |
-
if( is_numeric( $k ) )
|
238 |
-
$k = 'job';
|
239 |
-
|
240 |
-
$xml .= "<$k>\n";
|
241 |
-
$xml .= $this->create_xml_array( $v );
|
242 |
-
$xml .= "</$k>\n";
|
243 |
-
}
|
244 |
}
|
245 |
|
246 |
return $xml;
|
21 |
*/
|
22 |
var $format = false; // $_GET['format'] : Return a XML oder JSON output
|
23 |
var $api_key = false; // $_GET['api_key'] : Protect the access via a random key (required if user is not logged into backend)
|
24 |
+
var $method = false; // $_GET['method'] : search | gallery | image | album | tag | autocomplete
|
25 |
var $term = false; // $_GET['term'] : The search term (required for method search | tag)
|
26 |
+
var $id = false; // $_GET['id'] : object id (required for method gallery | image | album )
|
27 |
var $limit = false; // $_GET['limit'] : maximum of images which we request
|
28 |
var $type = false; // $_GET['type'] : gallery | image | album (required for method autocomplete)
|
29 |
|
84 |
//search for some images
|
85 |
$this->result['images'] = array_merge( (array) nggdb::search_for_images( $this->term ), (array) nggTags::find_images_for_tags( $this->term , 'ASC' ));
|
86 |
break;
|
87 |
+
case 'album' :
|
88 |
+
//search for some album //TODO : Get images for each gallery, could end in a big db query
|
89 |
+
$this->result['album'] = nggdb::find_album( $this->id );
|
90 |
+
break;
|
91 |
case 'gallery' :
|
92 |
//search for some gallery
|
93 |
$this->result['images'] = ($this->id == 0) ? nggdb::find_last_images( 0 , 100 ) : nggdb::get_gallery( $this->id, $ngg->options['galSort'], $ngg->options['galSortDir'], true, 0, 0, true );
|
227 |
*/
|
228 |
function create_xml_array( &$arr )
|
229 |
{
|
230 |
+
$xml = '';
|
231 |
+
|
232 |
if( is_object( $arr ) )
|
233 |
$arr = get_object_vars( $arr );
|
234 |
|
235 |
foreach( (array)$arr as $k => $v ) {
|
236 |
if( is_object( $v ) )
|
237 |
$v = get_object_vars( $v );
|
238 |
+
//nodes must contain letters
|
239 |
+
if( is_numeric( $k ) )
|
240 |
+
$k = 'id-'.$k;
|
241 |
+
if( is_array( $v ) )
|
242 |
+
$xml .= "<$k>\n". $this->create_xml_array( $v ). "</$k>\n";
|
243 |
else
|
244 |
+
$xml .= "<$k>$v</$k>\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
}
|
246 |
|
247 |
return $xml;
|