jQuery Colorbox - Version 3.0.1

Version Description

(2010-03-31) = * BUGFIX: Settings are NOW REALLY not overridden any more every time the plugin gets activated.

Download this release

Release Info

Developer techotronic
Plugin Icon 128x128 jQuery Colorbox
Version 3.0.1
Comparing to
See all releases

Code changes from version 2.0.1 to 3.0.1

Files changed (74) hide show
  1. jquery-colorbox.php +511 -307
  2. localization/jquery-colorbox-ar_AR.mo +0 -0
  3. localization/jquery-colorbox-ar_AR.po +344 -0
  4. localization/jquery-colorbox-bs_BA.mo +0 -0
  5. localization/jquery-colorbox-bs_BA.po +343 -0
  6. localization/jquery-colorbox-de_DE.mo +0 -0
  7. localization/jquery-colorbox-de_DE.po +180 -70
  8. localization/jquery-colorbox-en_EN.mo +0 -0
  9. localization/jquery-colorbox-en_EN.po +160 -61
  10. localization/jquery-colorbox-pt_BR.mo +0 -0
  11. localization/jquery-colorbox-pt_BR.po +342 -0
  12. localization/jquery-colorbox-tr_TR.mo +0 -0
  13. localization/jquery-colorbox-tr_TR.po +344 -0
  14. readme.txt +59 -14
  15. screenshot-1.jpg +0 -0
  16. screenshot-2.jpg +0 -0
  17. screenshot-3.jpg +0 -0
  18. screenshot-4.jpg +0 -0
  19. screenshot-5.jpg +0 -0
  20. screenshot-6.jpg +0 -0
  21. screenshot-7.jpg +0 -0
  22. screenshot-8.jpg +0 -0
  23. themes/theme1/colorbox.css +4 -4
  24. themes/theme1/index.html +0 -86
  25. themes/theme2/colorbox.css +6 -6
  26. themes/theme2/index.html +0 -86
  27. themes/theme3/colorbox.css +2 -2
  28. themes/theme3/index.html +0 -86
  29. themes/theme4/colorbox.css +6 -6
  30. themes/theme4/index.html +0 -86
  31. themes/theme5/colorbox.css +9 -9
  32. themes/theme5/index.html +0 -86
  33. themes/theme6/colorbox.css +43 -0
  34. themes/theme6/images/border.png +0 -0
  35. themes/theme6/images/controls.png +0 -0
  36. themes/theme6/images/internet_explorer/borderBottomCenter.png +0 -0
  37. themes/theme6/images/internet_explorer/borderBottomLeft.png +0 -0
  38. themes/theme6/images/internet_explorer/borderBottomRight.png +0 -0
  39. themes/theme6/images/internet_explorer/borderMiddleLeft.png +0 -0
  40. themes/theme6/images/internet_explorer/borderMiddleRight.png +0 -0
  41. themes/theme6/images/internet_explorer/borderTopCenter.png +0 -0
  42. themes/theme6/images/internet_explorer/borderTopLeft.png +0 -0
  43. themes/theme6/images/internet_explorer/borderTopRight.png +0 -0
  44. themes/theme6/images/loading.gif +0 -0
  45. themes/theme6/images/loading_background.png +0 -0
  46. themes/theme6/images/overlay.png +0 -0
  47. themes/theme7/colorbox.css +43 -0
  48. themes/theme7/images/border.png +0 -0
  49. themes/theme7/images/controls.png +0 -0
  50. themes/theme7/images/internet_explorer/borderBottomCenter.png +0 -0
  51. themes/theme7/images/internet_explorer/borderBottomLeft.png +0 -0
  52. themes/theme7/images/internet_explorer/borderBottomRight.png +0 -0
  53. themes/theme7/images/internet_explorer/borderMiddleLeft.png +0 -0
  54. themes/theme7/images/internet_explorer/borderMiddleRight.png +0 -0
  55. themes/theme7/images/internet_explorer/borderTopCenter.png +0 -0
  56. themes/theme7/images/internet_explorer/borderTopLeft.png +0 -0
  57. themes/theme7/images/internet_explorer/borderTopRight.png +0 -0
  58. themes/theme7/images/loading.gif +0 -0
  59. themes/theme7/images/loading_background.png +0 -0
  60. themes/theme7/images/overlay.png +0 -0
  61. themes/theme8/colorbox.css +43 -0
  62. themes/theme8/images/border.png +0 -0
  63. themes/theme8/images/controls.png +0 -0
  64. themes/theme8/images/internet_explorer/borderBottomCenter.png +0 -0
  65. themes/theme8/images/internet_explorer/borderBottomLeft.png +0 -0
  66. themes/theme8/images/internet_explorer/borderBottomRight.png +0 -0
  67. themes/theme8/images/internet_explorer/borderMiddleLeft.png +0 -0
  68. themes/theme8/images/internet_explorer/borderMiddleRight.png +0 -0
  69. themes/theme8/images/internet_explorer/borderTopCenter.png +0 -0
  70. themes/theme8/images/internet_explorer/borderTopLeft.png +0 -0
  71. themes/theme8/images/internet_explorer/borderTopRight.png +0 -0
  72. themes/theme8/images/loading.gif +0 -0
  73. themes/theme8/images/loading_background.png +0 -0
  74. themes/theme8/images/overlay.png +0 -0
jquery-colorbox.php CHANGED
@@ -6,7 +6,7 @@
6
  * Plugin Name: jQuery Colorbox
7
  * Plugin URI: http://www.techotronic.de/index.php/plugins/jquery-colorbox/
8
  * Description: Used to overlay images on the current page. Images in one post are grouped automatically.
9
- * Version: 2.0.1
10
  * Author: Arne Franken
11
  * Author URI: http://www.techotronic.de/
12
  * License: GPL
@@ -20,36 +20,50 @@
20
  <?php
21
 
22
  /**
23
- * define vital constants
24
  */
25
- define( 'JQUERYCOLORBOX_VERSION', '2.0' );
26
 
27
- if ( ! defined( 'JQUERYCOLORBOX_PLUGIN_BASENAME' ) ) {
28
- define( 'JQUERYCOLORBOX_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
29
  }
30
- if ( ! defined( 'JQUERYCOLORBOX_PLUGIN_NAME' ) ) {
31
- define( 'JQUERYCOLORBOX_PLUGIN_NAME', trim( dirname( JQUERYCOLORBOX_PLUGIN_BASENAME ), '/' ) );
32
  }
33
- if ( ! defined( 'JQUERYCOLORBOX_NAME' ) ) {
34
- define( 'JQUERYCOLORBOX_NAME', 'jQuery Colorbox' );
35
  }
36
- if ( ! defined( 'JQUERYCOLORBOX_TEXTDOMAIN' ) ) {
37
- define( 'JQUERYCOLORBOX_TEXTDOMAIN', 'jquery-colorbox' );
38
  }
39
- if ( ! defined( 'JQUERYCOLORBOX_WP_PLUGIN_DIR' ) ) {
40
- define( 'JQUERYCOLORBOX_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . JQUERYCOLORBOX_PLUGIN_NAME );
 
 
 
 
 
 
41
  }
42
- if ( ! defined( 'JQUERYCOLORBOX_PLUGIN_DIR' ) ) {
43
- define( 'JQUERYCOLORBOX_PLUGIN_DIR', ABSPATH . '/' . PLUGINDIR . '/' . JQUERYCOLORBOX_PLUGIN_NAME );
 
 
 
 
44
  }
45
- if ( ! defined( 'JQUERYCOLORBOX_PLUGIN_URL' ) ) {
46
- define( 'JQUERYCOLORBOX_PLUGIN_URL', WP_PLUGIN_URL . '/' . JQUERYCOLORBOX_PLUGIN_NAME );
 
 
 
 
47
  }
48
- if ( ! defined( 'JQUERYCOLORBOX_PLUGIN_LOCALIZATION_DIR' ) ){
49
- define( 'JQUERYCOLORBOX_PLUGIN_LOCALIZATION_DIR', JQUERYCOLORBOX_PLUGIN_DIR . '/localization' );
50
  }
51
- if ( ! defined( 'JQUERYCOLORBOX_SETTINGSNAME' ) ) {
52
- define( 'JQUERYCOLORBOX_SETTINGSNAME', 'jquery-colorbox_settings' );
53
  }
54
 
55
  class jQueryColorbox {
@@ -69,48 +83,60 @@ class jQueryColorbox {
69
  * @author Arne Franken
70
  */
71
  function jQueryColorbox() {
72
- if ( !function_exists('plugins_url') )
73
  return;
74
- // it seems that there is no way to find the plugin dir relative to the WP_PLUGIN_DIR through the Wordpress API...
75
- load_plugin_textdomain(JQUERYCOLORBOX_TEXTDOMAIN, false, '/jquery-colorbox/localization/' );
76
-
77
- add_action('wp_head', array(&$this, 'buildWordpressHeader') );
78
- add_action('admin_post_jQueryColorboxDeleteSettings', array(&$this, 'jQueryColorboxDeleteSettings') );
79
- add_action('admin_post_jQueryColorboxUpdateSettings', array(&$this, 'jQueryColorboxUpdateSettings') );
80
- // add options page
81
- add_action( 'admin_menu', array(&$this, 'registerAdminMenu') );
82
- //register method for uninstall
83
- if ( function_exists('register_uninstall_hook') ){
84
- register_uninstall_hook(__FILE__, array('jQueryColorbox', 'deleteSettingsFromDatabase' ) );
85
  }
86
 
87
- //write "colorbox-postID" to "img"-tags class attribute.
88
- //Priority = 100, hopefully the preg_replace is then executed after other plugins messed with the_content
89
- add_filter('the_content', array(&$this, 'addColorboxGroupIdToImages'), 100);
90
- add_filter('the_excerpt', array(&$this, 'addColorboxGroupIdToImages'), 100);
91
- add_filter('wp_get_attachment_image_attributes', array(&$this, 'wpPostThumbnailClassFilter') );
 
 
 
 
 
 
 
 
 
 
 
 
 
92
 
93
 
94
- if ( !is_admin() ) {
95
- wp_enqueue_script( 'colorbox', plugins_url( 'js/jquery.colorbox-min.js', __FILE__ ), array( 'jquery' ), '1.3.6' );
96
  }
97
 
98
- // Create list of themes and their human readable names
99
  $this->colorboxThemes = array(
100
- 'theme1' => __( 'Theme #1', JQUERYCOLORBOX_TEXTDOMAIN ),
101
- 'theme2' => __( 'Theme #2', JQUERYCOLORBOX_TEXTDOMAIN ),
102
- 'theme3' => __( 'Theme #3', JQUERYCOLORBOX_TEXTDOMAIN ),
103
- 'theme4' => __( 'Theme #4', JQUERYCOLORBOX_TEXTDOMAIN ),
104
- 'theme5' => __( 'Theme #5', JQUERYCOLORBOX_TEXTDOMAIN ),
 
 
 
 
 
 
 
 
 
105
  );
106
 
107
- // create list of units
108
- $this->colorboxUnits = array (
109
- '%' => __( 'percent', JQUERYCOLORBOX_TEXTDOMAIN ),
110
- 'px' => __( 'pixels', JQUERYCOLORBOX_TEXTDOMAIN )
 
111
  );
112
 
113
- // Create array of default settings
114
  $this->colorboxDefaultSettings = array(
115
  'jQueryColorboxVersion' => JQUERYCOLORBOX_VERSION,
116
  'colorboxTheme' => 'theme1',
@@ -131,21 +157,28 @@ class jQueryColorbox {
131
  'slideshow' => false,
132
  'slideshowAuto' => false,
133
  'scalePhotos' => false,
134
- 'slideshowSpeed' => '2500'
 
 
 
 
 
 
 
135
  );
136
 
137
- // Create the settings array by merging the user's settings and the defaults
138
  $usersettings = (array) get_option(JQUERYCOLORBOX_SETTINGSNAME);
139
- $this->colorboxSettings = wp_parse_args( $usersettings, jQueryColorbox::jQueryColorboxDefaultSettings() );
140
 
141
- // Enqueue the theme in wordpress
142
- if ( empty($this->colorboxThemes[$this->colorboxSettings['colorboxTheme']]) ) {
143
  $defaultArray = jQueryColorbox::jQueryColorboxDefaultSettings();
144
  $this->colorboxSettings['colorboxTheme'] = $defaultArray['colorboxTheme'];
145
  }
146
- if ( !is_admin() ) {
147
- wp_register_style('colorbox-' . $this->colorboxSettings['colorboxTheme'], plugins_url( 'themes/' . $this->colorboxSettings['colorboxTheme'] . '/colorbox.css', __FILE__ ), array(), '1.3.6', 'screen' );
148
- wp_enqueue_style('colorbox-' . $this->colorboxSettings['colorboxTheme'] );
149
  }
150
  }
151
 
@@ -166,13 +199,13 @@ class jQueryColorbox {
166
  * @param the_content or the_excerpt
167
  * @return replaced content or excerpt
168
  */
169
- function addColorboxGroupIdToImages ($content) {
170
  $colorboxSettings = (array) get_option(JQUERYCOLORBOX_SETTINGSNAME);
171
- if(isset($colorboxSettings['autoColorbox']) && $colorboxSettings['autoColorbox']){
172
  global
173
  $post;
174
  $pattern = "/<img(.*?)class=('|\")([A-Za-z0-9 \/_\.\~\:-]*?)('|\")([^\>]*?)>/i";
175
- $replacement = '<img$1class=$2$3 colorbox-'.$post->ID.'$4$5>';
176
  $content = preg_replace($pattern, $replacement, $content);
177
  }
178
  return $content;
@@ -192,12 +225,12 @@ class jQueryColorbox {
192
  * @param $attr class attribute of the attachment link
193
  * @return repaced attributes
194
  */
195
- function wpPostThumbnailClassFilter( $attr ) {
196
  $colorboxSettings = (array) get_option(JQUERYCOLORBOX_SETTINGSNAME);
197
- if(isset($colorboxSettings['autoColorboxGalleries']) && $colorboxSettings['autoColorboxGalleries']){
198
  global
199
  $post;
200
- $attr['class'] .= ' colorbox-'.$post->ID.' ';
201
  }
202
  return $attr;
203
  }
@@ -212,9 +245,9 @@ class jQueryColorbox {
212
  * @author Arne Franken
213
  */
214
  function registerSettingsPage() {
215
- if ( current_user_can('manage_options') ) {
216
- add_filter( 'plugin_action_links_' . JQUERYCOLORBOX_PLUGIN_BASENAME, array(&$this, 'addPluginActionLinks') );
217
- add_options_page( JQUERYCOLORBOX_NAME, JQUERYCOLORBOX_NAME, 'manage_options', JQUERYCOLORBOX_PLUGIN_BASENAME, array(&$this, 'renderSettingsPage') );
218
  }
219
  }
220
 
@@ -231,8 +264,8 @@ class jQueryColorbox {
231
  * @return action_links with link to settings page
232
  */
233
  function addPluginActionLinks($action_links) {
234
- $settings_link = '<a href="options-general.php?page='.JQUERYCOLORBOX_PLUGIN_BASENAME.'">' . __('Settings', JQUERYCOLORBOX_TEXTDOMAIN) . '</a>';
235
- array_unshift( $action_links, $settings_link );
236
 
237
  return $action_links;
238
  }
@@ -246,6 +279,7 @@ class jQueryColorbox {
246
  * @access private
247
  * @author Arne Franken
248
  * @author Fabian Wolf (http://usability-idealist.de/)
 
249
  *
250
  * @return rewritten content or excerpt
251
  */
@@ -253,11 +287,11 @@ class jQueryColorbox {
253
  ?>
254
  <!-- <?php echo JQUERYCOLORBOX_NAME ?> <?php echo JQUERYCOLORBOX_VERSION ?> | by Arne Franken, http://www.techotronic.de/ -->
255
  <?php
256
- if($this->colorboxSettings['colorboxTheme']=='theme1'){
257
  ?>
258
  <!--[if IE]>
259
  <style type="text/css">
260
- /*
261
  The following fixes png-transparency for IE6.
262
  It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
263
 
@@ -267,6 +301,7 @@ class jQueryColorbox {
267
  !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
268
  while regular CSS background images are relative to the CSS document.
269
  */
 
270
  .cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderTopLeft.png, sizingMethod='scale');}
271
  .cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderTopCenter.png, sizingMethod='scale');}
272
  .cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderTopRight.png, sizingMethod='scale');}
@@ -279,11 +314,11 @@ class jQueryColorbox {
279
  <![endif]-->
280
  <?php
281
 
282
- } elseif ($this->colorboxSettings['colorboxTheme']=='theme4'){
283
  ?>
284
  <!--[if IE]>
285
  <style type="text/css">
286
- /*
287
  The following fixes png-transparency for IE6.
288
  It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
289
 
@@ -293,6 +328,7 @@ class jQueryColorbox {
293
  !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
294
  while regular CSS background images are relative to the CSS document.
295
  */
 
296
  .cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderTopLeft.png, sizingMethod='scale');}
297
  .cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderTopCenter.png, sizingMethod='scale');}
298
  .cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderTopRight.png, sizingMethod='scale');}
@@ -311,48 +347,62 @@ class jQueryColorbox {
311
  <script type="text/javascript">
312
  // <![CDATA[
313
  jQuery(document).ready(function($) {
314
- //gets all "a" elements that have a nested "img"
315
  $("a:has(img)").each(function(index, obj) {
316
- //only go on if link points to an image
317
- if ($(obj).attr("href").match('\.(?:jpe?g|gif|png|bmp)')) {
318
- //in this context, the first child is always an image if fundamental Wordpress functions are used
319
  var $nestedElement = $(obj).children(0);
320
  if ($nestedElement.is("img")) {
321
  var $nestedElementClassAttribute = $nestedElement.attr("class");
322
- //either the groupId has to be the automatically created colorbox-123 or the manually added colorbox-manual
323
  var $groupId = $nestedElementClassAttribute.match('colorbox-[0-9]+') || $nestedElementClassAttribute.match('colorbox-manual');
324
- //only call Colorbox if there is a groupId for the image and the image is not excluded
325
  if ($groupId && !$nestedElementClassAttribute.match('colorbox-off')) {
326
- //convert groupId to string for easier use
327
  $groupId = $groupId.toString();
328
- //if groudId is colorbox-manual, set groupId to false so that images with that class are not grouped
329
  if ($groupId == "colorbox-manual") {
330
  $groupId = false;
331
  }
332
- //call Colorbox function on each img. elements with the same groupId in the class attribute are grouped
333
- //the title of the img is used as the title for the Colorbox.
334
  $(obj).colorbox({
335
  rel:$groupId,
336
  title:$nestedElement.attr("title"),
337
- <?php echo $this->colorboxSettings['maxWidth']=="false"?'':'maxWidth:"'.$this->colorboxSettings['maxWidthValue'].$this->colorboxSettings['maxWidthUnit'].'",';
338
- echo $this->colorboxSettings['maxHeight']=="false"?'':'maxHeight:"'.$this->colorboxSettings['maxHeightValue'].$this->colorboxSettings['maxHeightUnit'].'",';
339
- echo $this->colorboxSettings['height']=="false"?'':'height:"'.$this->colorboxSettings['heightValue'].$this->colorboxSettings['heightUnit'].'",';
340
- echo $this->colorboxSettings['width']=="false"?'':'width:"'.$this->colorboxSettings['widthValue'].$this->colorboxSettings['widthUnit'].'",';
341
- echo !$this->colorboxSettings['slideshow']?'':'slideshow:true,';
342
- echo $this->colorboxSettings['slideshowAuto']?'':'slideshowAuto:false,';
343
- echo $this->colorboxSettings['scalePhotos']?'':'scalePhotos:false,'; ?>
344
- slideshowSpeed:"<?php echo $this->colorboxSettings['slideshowSpeed']; ?>",
345
- close:"<?php _e( 'close', JQUERYCOLORBOX_TEXTDOMAIN ); ?>",
346
- next:"<?php _e( 'next', JQUERYCOLORBOX_TEXTDOMAIN ); ?>",
347
- previous:"<?php _e( 'previous', JQUERYCOLORBOX_TEXTDOMAIN ); ?>",
348
- slideshowStart:"<?php _e( 'start slideshow', JQUERYCOLORBOX_TEXTDOMAIN ); ?>",
349
- slideshowStop:"<?php _e( 'stop slideshow', JQUERYCOLORBOX_TEXTDOMAIN ); ?>",
350
- current:"<?php _e( '{current} of {total} images', JQUERYCOLORBOX_TEXTDOMAIN ); ?>"
 
 
 
 
 
351
  });
352
  }
353
  }
354
  }
355
  });
 
 
 
 
 
 
 
 
 
356
  });
357
  // ]]>
358
  </script>
@@ -427,210 +477,313 @@ class jQueryColorbox {
427
  $("#jquery-colorbox-autoColorbox").attr("checked", false);
428
  }
429
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
430
  });
431
  //]]>
432
  </script>
433
  <div class="wrap">
434
  <?php screen_icon(); ?>
435
- <h2><?php printf(__( '%1$s Settings', JQUERYCOLORBOX_TEXTDOMAIN ),JQUERYCOLORBOX_NAME); ?></h2>
436
  <br class="clear"/>
437
 
438
  <?php settings_fields(JQUERYCOLORBOX_SETTINGSNAME); ?>
439
 
440
  <div id="poststuff" class="ui-sortable meta-box-sortables">
441
- <div id="jquery-colorbox-settings" class="postbox">
442
- <h3 id="settings"><?php _e( 'Settings', JQUERYCOLORBOX_TEXTDOMAIN ); ?></h3>
443
-
444
- <div class="inside">
445
- <form name="jquery-colorbox-settings-update" method="post" action="admin-post.php">
446
- <?php if (function_exists('wp_nonce_field') === true) wp_nonce_field('jquery-colorbox-settings-form'); ?>
447
-
448
- <table class="form-table">
449
- <tr valign="top">
450
- <th scope="row">
451
- <label for="jquery-colorbox-theme"><?php _e('Theme', JQUERYCOLORBOX_TEXTDOMAIN); ?></label>
452
- </th>
453
- <td>
454
- <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[colorboxTheme]" id="jquery-colorbox-theme" class="postform" style="margin:0">
455
- <?php
456
- foreach ( $this->colorboxThemes as $theme => $name ) {
457
- echo '<option value="' . esc_attr($theme) . '"';
458
- selected( $this->colorboxSettings['colorboxTheme'], $theme );
459
- echo '>' . htmlspecialchars($name) . "</option>\n";
460
- }
461
- ?>
462
- </select>
463
- <br/><?php _e( 'Select the theme you want to use on your blog.', JQUERYCOLORBOX_TEXTDOMAIN ); ?>
464
- </td>
465
- </tr>
466
- <tr>
467
- <th scope="row">
468
- <label for="jquery-colorbox-autoColorbox"><?php printf(__('Automate %1$s for all images', JQUERYCOLORBOX_TEXTDOMAIN),JQUERYCOLORBOX_NAME); ?>:</label>
469
- </th>
470
- <td>
471
- <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]" id="jquery-colorbox-autoColorbox" value="true" <?php echo ($this->colorboxSettings['autoColorbox'])?'checked="checked"':'';?>/>
472
- <br/><?php _e('Automatically add colorbox-class to images in posts and pages. Also adds colorbox-class to galleries. Images in one page or post are grouped automatically.', JQUERYCOLORBOX_TEXTDOMAIN); ?>
473
- </td>
474
- </tr>
475
- <tr>
476
- <th scope="row">
477
- <label for="jquery-colorbox-autoColorboxGalleries"><?php printf(__('Automate %1$s for images in WordPress galleries', JQUERYCOLORBOX_TEXTDOMAIN),JQUERYCOLORBOX_NAME); ?>:</label>
478
- </th>
479
- <td>
480
- <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorboxGalleries]" id="jquery-colorbox-autoColorboxGalleries" value="true" <?php echo ($this->colorboxSettings['autoColorboxGalleries'])?'checked="checked"':'';?>/>
481
- <br/><?php _e('Automatically add colorbox-class to images in WordPress galleries, but nowhere else. Images in one page or post are grouped automatically.', JQUERYCOLORBOX_TEXTDOMAIN); ?>
482
- </td>
483
- </tr>
484
- <tr>
485
- <th scope="row">
486
- <label for="jquery-colorbox-slideshow"><?php _e('Add Slideshow to groups', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
487
- </th>
488
- <td>
489
- <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[slideshow]" id="jquery-colorbox-slideshow" value="true" <?php echo ($this->colorboxSettings['slideshow'])?'checked="checked"':'';?>/>
490
- <br/><?php printf(__('Add Slideshow functionality for %1$s Groups', JQUERYCOLORBOX_TEXTDOMAIN),JQUERYCOLORBOX_NAME); ?>
491
- </td>
492
- </tr>
493
- <tr>
494
- <th scope="row">
495
- <label for="jquery-colorbox-slideshowAuto"><?php _e('Start Slideshow automatically', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
496
- </th>
497
- <td>
498
- <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[slideshowAuto]" id="jquery-colorbox-slideshowAuto" value="true" <?php echo ($this->colorboxSettings['slideshowAuto'])?'checked="checked"':'';?>/>
499
- <br/><?php printf(__('Start Slideshow automatically if slideshow functionality is added to %1$s Groups', JQUERYCOLORBOX_TEXTDOMAIN),JQUERYCOLORBOX_NAME); ?>
500
- </td>
501
- </tr>
502
- <tr>
503
- <th scope="row">
504
- <label for="jquery-colorbox-slideshowSpeed"><?php _e('Speed of the slideshow', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
505
- </th>
506
- <td>
507
- <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[slideshowSpeed]" id="jquery-colorbox-slideshowSpeed" value="<?php echo $this->colorboxSettings['slideshowSpeed'] ?>" size="5" maxlength="5"/>ms
508
- <br/><?php _e('Sets the speed of the slideshow, in milliseconds', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
509
- </td>
510
- </tr>
511
- <tr>
512
- <th scope="row">
513
- <label for="jquery-colorbox-maxWidthValue"><?php _e('Maximum width of an image', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
514
- </th>
515
- <td>
516
- <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidth]" id="jquery-colorbox-maxWidth-false-radio" value="false" <?php echo ($this->colorboxSettings['maxWidth'])=='false'?'checked="checked"':''; ?>"/>
517
- <label for="jquery-colorbox-maxWidth-false-radio"><?php _e('Do not set width', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
518
- <br/>
519
- <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidth]" id="jquery-colorbox-maxWidth-custom-radio" value="custom" <?php echo ($this->colorboxSettings['maxWidth'])=='custom'?'checked="checked"':''; ?>"/>
520
- <label for="jquery-colorbox-maxWidth-custom-radio"><?php _e('Set maximum width of an image', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
521
- <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidthValue]" id="jquery-colorbox-maxWidthValue" value="<?php echo $this->colorboxSettings['maxWidthValue'] ?>" size="3" maxlength="3"/>
522
- <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidthUnit]" id="jquery-colorbox-maxWidth-unit" class="postform" style="margin:0">
523
- <?php
524
- foreach ( $this->colorboxUnits as $unit => $name ) {
525
- echo '<option value="' . esc_attr($unit) . '"';
526
- selected( $this->colorboxSettings['maxWidthUnit'], $unit );
527
- echo '>' . htmlspecialchars($name) . "</option>\n";
528
- }
529
- ?>
530
- </select>
531
- <br/><?php _e('Set the maximum width of the image in the Colorbox in relation to the browser window in percent or pixels. If maximum width is not set, image is as wide as the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
532
- </td>
533
- </tr>
534
- <tr>
535
- <th scope="row">
536
- <label for="jquery-colorbox-maxHeightValue"><?php _e('Maximum height of an image', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
537
- </th>
538
- <td>
539
- <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeight]" id="jquery-colorbox-maxHeight-false-radio" value="false" <?php echo ($this->colorboxSettings['maxHeight'])=='false'?'checked="checked"':''; ?>"/>
540
- <label for="jquery-colorbox-maxHeight-false-radio"><?php _e('Do not set height', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
541
- <br/>
542
- <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeight]" id="jquery-colorbox-maxHeight-custom-radio" value="custom" <?php echo ($this->colorboxSettings['maxHeight'])=='custom'?'checked="checked"':''; ?>"/>
543
- <label for="jquery-colorbox-maxHeight-custom-radio"><?php _e('Set maximum height of an image', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
544
- <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeightValue]" id="jquery-colorbox-maxHeightValue" value="<?php echo $this->colorboxSettings['maxHeightValue'] ?>" size="3" maxlength="3"/>
545
- <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeightUnit]" id="jquery-colorbox-maxHeight-unit" class="postform" style="margin:0">
546
- <?php
547
- foreach ( $this->colorboxUnits as $unit => $name ) {
548
- echo '<option value="' . esc_attr($unit) . '"';
549
- selected( $this->colorboxSettings['maxHeightUnit'], $unit );
550
- echo '>' . htmlspecialchars($name) . "</option>\n";
551
- }
552
- ?>
553
- </select>
554
- <br/><?php _e('Set the maximum height of the image in the Colorbox in relation to the browser window to a value in percent or pixels. If maximum height is not set, the image is as high as the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
555
- </td>
556
- </tr>
557
- <tr>
558
- <th scope="row">
559
- <label for="jquery-colorbox-widthValue"><?php _e('Maximum width of the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
560
- </th>
561
- <td>
562
- <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[width]" id="jquery-colorbox-width-false-radio" value="false" <?php echo ($this->colorboxSettings['width'])=='false'?'checked="checked"':''; ?>"/>
563
- <label for="jquery-colorbox-width-false-radio"><?php _e('Do not set width', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
564
- <br/>
565
- <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[width]" id="jquery-colorbox-width-custom-radio" value="custom" <?php echo ($this->colorboxSettings['width'])=='custom'?'checked="checked"':''; ?>"/>
566
- <label for="jquery-colorbox-width-custom-radio"><?php _e('Set width of the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
567
- <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[widthValue]" id="jquery-colorbox-widthValue" value="<?php echo $this->colorboxSettings['widthValue'] ?>" size="3" maxlength="3"/>
568
- <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[widthUnit]" id="jquery-colorbox-width-unit" class="postform" style="margin:0">
569
- <?php
570
- foreach ( $this->colorboxUnits as $unit => $name ) {
571
- echo '<option value="' . esc_attr($unit) . '"';
572
- selected( $this->colorboxSettings['widthUnit'], $unit );
573
- echo '>' . htmlspecialchars($name) . "</option>\n";
574
- }
575
- ?>
576
- </select>
577
- <br/><?php _e('Set the maximum width of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If width is not set, the Colorbox will be as wide as the picture in it', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
578
- </td>
579
- </tr>
580
- <tr>
581
- <th scope="row">
582
- <label for="jquery-colorbox-heightValue"><?php _e('Maximum height of the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
583
- </th>
584
- <td>
585
- <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[height]" id="jquery-colorbox-height-false-radio" value="false" <?php echo ($this->colorboxSettings['height'])=='false'?'checked="checked"':''; ?>"/>
586
- <label for="jquery-colorbox-height-false-radio"><?php _e('Do not set height', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
587
- <br/>
588
- <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[height]" id="jquery-colorbox-height-custom-radio" value="custom" <?php echo ($this->colorboxSettings['height'])=='custom'?'checked="checked"':''; ?>"/>
589
- <label for="jquery-colorbox-height-custom-radio"><?php _e('Set height of the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
590
- <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[heightValue]" id="jquery-colorbox-heightValue" value="<?php echo $this->colorboxSettings['heightValue'] ?>" size="3" maxlength="3"/>
591
- <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[heightUnit]" id="jquery-colorbox-height-unit" class="postform" style="margin:0">
592
- <?php
593
- foreach ( $this->colorboxUnits as $unit => $name ) {
594
- echo '<option value="' . esc_attr($unit) . '"';
595
- selected( $this->colorboxSettings['heightUnit'], $unit );
596
- echo '>' . htmlspecialchars($name) . "</option>\n";
597
- }
598
- ?>
599
- </select>
600
- <br/><?php _e('Set the maximum height of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If height is not set, the Colorbox will be as high as the picture in it', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
601
- </td>
602
- </tr>
603
- <tr>
604
- <th scope="row">
605
- <label for="jquery-colorbox-scalePhotos"><?php _e('Resize images', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
606
- </th>
607
- <td>
608
- <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[scalePhotos]" id="jquery-colorbox-scalePhotos" value="true" <?php echo ($this->colorboxSettings['scalePhotos'])?'checked="checked"':'';?>/>
609
- <br/><?php _e('If enabled and if maximum width of images, maximum height of images, width of the Colorbox, or height of the Colorbox have been defined, ColorBox will scale photos to fit within the those values', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
610
- </td>
611
- </tr>
612
- </table>
613
- <p class="submit">
614
- <input type="hidden" name="action" value="jQueryColorboxUpdateSettings"/>
615
- <input type="submit" name="jQueryColorboxUpdateSettings" class="button-primary" value="<?php _e('Save Changes') ?>"/>
616
- </p>
617
- </form>
618
  </div>
619
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
620
  </div>
621
 
622
  <div id="poststuff" class="ui-sortable meta-box-sortables">
623
  <div id="jquery-colorbox-delete_settings" class="postbox">
624
- <h3 id="delete_options"><?php _e('Delete Settings',JQUERYCOLORBOX_TEXTDOMAIN) ?></h3>
625
 
626
  <div class="inside">
627
- <p><?php _e('Check the box and click this button to delete settings of this plugin.',JQUERYCOLORBOX_TEXTDOMAIN); ?></p>
628
 
629
  <form name="delete_settings" method="post" action="admin-post.php">
630
  <?php if (function_exists('wp_nonce_field') === true) wp_nonce_field('jquery-delete_settings-form'); ?>
631
  <p id="submitbutton">
632
  <input type="hidden" name="action" value="jQueryColorboxDeleteSettings"/>
633
- <input type="submit" name="jQueryColorboxDeleteSettings" value="<?php _e('Delete Settings',JQUERYCOLORBOX_TEXTDOMAIN); ?> &raquo;" class="button-secondary"/>
634
  <input type="checkbox" name="delete_settings-true"/>
635
  </p>
636
  </form>
@@ -640,7 +793,7 @@ class jQueryColorbox {
640
 
641
  <div id="poststuff" class="ui-sortable meta-box-sortables">
642
  <div id="jquery-colorbox-donate" class="postbox">
643
- <h3 id="donate"><?php _e('Donate',JQUERYCOLORBOX_TEXTDOMAIN) ?></h3>
644
 
645
  <div class="inside">
646
  <p>
@@ -660,6 +813,16 @@ class jQueryColorbox {
660
  </div>
661
  </div>
662
  </div>
 
 
 
 
 
 
 
 
 
 
663
  </div>
664
  <?php
665
 
@@ -675,13 +838,13 @@ class jQueryColorbox {
675
  * @author Arne Franken
676
  */
677
  function registerAdminMenu() {
678
- if ( function_exists('add_management_page') && current_user_can('manage_options') ) {
679
 
680
  // update, uninstall message
681
- if ( strpos($_SERVER['REQUEST_URI'], 'jquery-colorbox.php') && isset($_GET['jQueryColorboxUpdateSettings'])) {
682
- $return_message = sprintf(__('Successfully updated %1$s settings.', JQUERYCOLORBOX_TEXTDOMAIN),JQUERYCOLORBOX_NAME);
683
  } elseif (strpos($_SERVER['REQUEST_URI'], 'jquery-colorbox.php') && isset($_GET['jQueryColorboxDeleteSettings'])) {
684
- $return_message = sprintf(__('%1$s settings were successfully deleted.', JQUERYCOLORBOX_TEXTDOMAIN),JQUERYCOLORBOX_NAME);
685
  } else {
686
  $return_message = '';
687
  }
@@ -700,14 +863,43 @@ class jQueryColorbox {
700
  * @access private
701
  * @author Arne Franken
702
  */
703
- function registerAdminNotice($notice){
704
- if ( $notice != '' ) {
705
  $message = '<div class="updated fade"><p>' . $notice . '</p></div>';
706
- add_action('admin_notices', create_function( '', "echo '$message';" ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
707
  }
 
 
 
 
 
 
 
 
 
708
  }
709
 
710
- static function jQueryColorboxDefaultSettings(){
 
 
 
 
 
 
 
711
 
712
  // Create and return array of default settings
713
  return array(
@@ -730,7 +922,14 @@ class jQueryColorbox {
730
  'slideshow' => false,
731
  'slideshowAuto' => false,
732
  'scalePhotos' => false,
733
- 'slideshowSpeed' => '2500'
 
 
 
 
 
 
 
734
  );
735
  }
736
 
@@ -745,15 +944,18 @@ class jQueryColorbox {
745
  */
746
  function jQueryColorboxUpdateSettings() {
747
 
748
- if ( !current_user_can('manage_options') )
749
- wp_die( __('Did not update settings, you do not have the necessary rights.', JQUERYCOLORBOX_TEXTDOMAIN) );
750
 
751
- //cross check the given referer for nonce set in settings form
752
  check_admin_referer('jquery-colorbox-settings-form');
 
753
  $this->colorboxSettings = $_POST[JQUERYCOLORBOX_SETTINGSNAME];
 
 
754
  $this->updateSettingsInDatabase();
755
- $referrer = str_replace(array('&jQueryColorboxUpdateSettings','&jQueryColorboxDeleteSettings'), '', $_POST['_wp_http_referer'] );
756
- wp_redirect($referrer . '&jQueryColorboxUpdateSettings' );
757
  }
758
 
759
  // jQueryColorboxUpdateSettings()
@@ -784,17 +986,17 @@ class jQueryColorbox {
784
  */
785
  function jQueryColorboxDeleteSettings() {
786
 
787
- if ( current_user_can('manage_options') && isset($_POST['delete_settings-true']) ){
788
  //cross check the given referer for nonce set in delete settings form
789
  check_admin_referer('jquery-delete_settings-form');
790
  $this->deleteSettingsFromDatabase();
791
  $this->colorboxSettings = jQueryColorbox::jQueryColorboxDefaultSettings();
792
  } else {
793
- wp_die( sprintf(__('Did not delete %1$s settings. Either you dont have the nececssary rights or you didnt check the checkbox.', JQUERYCOLORBOX_TEXTDOMAIN),JQUERYCOLORBOX_NAME) );
794
  }
795
- //clean up referrer
796
- $referrer = str_replace(array('&jQueryColorboxUpdateSettings','&jQueryColorboxDeleteSettings'), '', $_POST['_wp_http_referer'] );
797
- wp_redirect($referrer . '&jQueryColorboxDeleteSettings' );
798
  }
799
 
800
  // jQueryColorboxDeleteSettings()
@@ -823,13 +1025,15 @@ class jQueryColorbox {
823
  */
824
  function activateJqueryColorbox() {
825
  $jquery_colorbox_settings = get_option(JQUERYCOLORBOX_SETTINGSNAME);
826
- if($jquery_colorbox_settings){
827
  //if jQueryColorboxVersion does not exist, the plugin is a version prior to 2.0
828
  //settings are incompatible with 2.0, restore default settings.
829
- if(!array_key_exists('jQueryColorboxVersion',$jquery_colorbox_settings)){
830
- //in case future versions require resetting the settings
831
- //if($jquery_colorbox_settings['jQueryColorboxVersion'] < JQUERYCOLORBOX_VERSION)
832
- update_option(JQUERYCOLORBOX_SETTINGSNAME, jQueryColorbox::jQueryColorboxDefaultSettings());
 
 
833
  }
834
  }
835
  }
@@ -855,8 +1059,8 @@ function jQueryColorbox() {
855
  //jQueryColorbox()
856
 
857
  // add jQueryColorbox() to WordPress initialization
858
- add_action( 'init', 'jQueryColorbox', 7 );
859
 
860
  //register method for activation
861
- register_activation_hook(__FILE__,array('jQueryColorbox', 'activateJqueryColorbox'));
862
  ?>
6
  * Plugin Name: jQuery Colorbox
7
  * Plugin URI: http://www.techotronic.de/index.php/plugins/jquery-colorbox/
8
  * Description: Used to overlay images on the current page. Images in one post are grouped automatically.
9
+ * Version: 3.0.1
10
  * Author: Arne Franken
11
  * Author URI: http://www.techotronic.de/
12
  * License: GPL
20
  <?php
21
 
22
  /**
23
+ * define constants
24
  */
25
+ define('JQUERYCOLORBOX_VERSION', '3.0.1');
26
 
27
+ if (! defined('JQUERYCOLORBOX_PLUGIN_BASENAME')) {
28
+ define('JQUERYCOLORBOX_PLUGIN_BASENAME', plugin_basename(__FILE__));
29
  }
30
+ if (! defined('JQUERYCOLORBOX_PLUGIN_NAME')) {
31
+ define('JQUERYCOLORBOX_PLUGIN_NAME', trim(dirname(JQUERYCOLORBOX_PLUGIN_BASENAME), '/'));
32
  }
33
+ if (! defined('JQUERYCOLORBOX_NAME')) {
34
+ define('JQUERYCOLORBOX_NAME', 'jQuery Colorbox');
35
  }
36
+ if (! defined('JQUERYCOLORBOX_TEXTDOMAIN')) {
37
+ define('JQUERYCOLORBOX_TEXTDOMAIN', 'jquery-colorbox');
38
  }
39
+ if (! defined('JQUERYCOLORBOX_PLUGIN_DIR')) {
40
+ if (is_dir(WPMU_PLUGIN_DIR)) {
41
+ // WP_MU plugin
42
+ define('JQUERYCOLORBOX_PLUGIN_DIR', WPMU_PLUGIN_DIR . '/' . JQUERYCOLORBOX_PLUGIN_NAME);
43
+ } else {
44
+ // WP regular plugin
45
+ define('JQUERYCOLORBOX_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . JQUERYCOLORBOX_PLUGIN_NAME);
46
+ }
47
  }
48
+ if (! defined('JQUERYCOLORBOX_PLUGIN_DIR')) {
49
+ if (is_dir(WPMU_PLUGIN_DIR)) {
50
+ define('JQUERYCOLORBOX_PLUGIN_DIR', ABSPATH . '/' . MUPLUGINDIR . '/' . JQUERYCOLORBOX_PLUGIN_NAME);
51
+ } else {
52
+ define('JQUERYCOLORBOX_PLUGIN_DIR', ABSPATH . '/' . PLUGINDIR . '/' . JQUERYCOLORBOX_PLUGIN_NAME);
53
+ }
54
  }
55
+ if (! defined('JQUERYCOLORBOX_PLUGIN_URL')) {
56
+ if (is_dir(WPMU_PLUGIN_DIR)) {
57
+ define('JQUERYCOLORBOX_PLUGIN_URL', WPMU_PLUGIN_URL . '/' . JQUERYCOLORBOX_PLUGIN_NAME);
58
+ } else {
59
+ define('JQUERYCOLORBOX_PLUGIN_URL', WP_PLUGIN_URL . '/' . JQUERYCOLORBOX_PLUGIN_NAME);
60
+ }
61
  }
62
+ if (! defined('JQUERYCOLORBOX_PLUGIN_LOCALIZATION_DIR')) {
63
+ define('JQUERYCOLORBOX_PLUGIN_LOCALIZATION_DIR', JQUERYCOLORBOX_PLUGIN_DIR . '/localization');
64
  }
65
+ if (! defined('JQUERYCOLORBOX_SETTINGSNAME')) {
66
+ define('JQUERYCOLORBOX_SETTINGSNAME', 'jquery-colorbox_settings');
67
  }
68
 
69
  class jQueryColorbox {
83
  * @author Arne Franken
84
  */
85
  function jQueryColorbox() {
86
+ if (!function_exists('plugins_url')) {
87
  return;
 
 
 
 
 
 
 
 
 
 
 
88
  }
89
 
90
+ load_plugin_textdomain(JQUERYCOLORBOX_TEXTDOMAIN, false, '/jquery-colorbox/localization/');
91
+
92
+ add_action('wp_head', array(& $this, 'buildWordpressHeader'));
93
+ add_action('admin_post_jQueryColorboxDeleteSettings', array(& $this, 'jQueryColorboxDeleteSettings'));
94
+ add_action('admin_post_jQueryColorboxUpdateSettings', array(& $this, 'jQueryColorboxUpdateSettings'));
95
+ // add options page
96
+ add_action('admin_menu', array(& $this, 'registerAdminMenu'));
97
+ add_action('admin_notices', array(& $this, 'registerAdminWarning'));
98
+ //register method for uninstall
99
+ if (function_exists('register_uninstall_hook')) {
100
+ register_uninstall_hook(__FILE__, array('jQueryColorbox', 'deleteSettingsFromDatabase'));
101
+ }
102
+
103
+ //write "colorbox-postID" to "img"-tags class attribute.
104
+ //Priority = 100, hopefully the preg_replace is then executed after other plugins messed with the_content
105
+ add_filter('the_content', array(& $this, 'addColorboxGroupIdToImages'), 100);
106
+ add_filter('the_excerpt', array(& $this, 'addColorboxGroupIdToImages'), 100);
107
+ add_filter('wp_get_attachment_image_attributes', array(& $this, 'wpPostThumbnailClassFilter'));
108
 
109
 
110
+ if (!is_admin()) {
111
+ wp_enqueue_script('colorbox', plugins_url('js/jquery.colorbox-min.js', __FILE__), array('jquery'), '1.3.6');
112
  }
113
 
114
+ // Create list of themes and their human readable names
115
  $this->colorboxThemes = array(
116
+ 'theme1' => __('Theme #1', JQUERYCOLORBOX_TEXTDOMAIN),
117
+ 'theme2' => __('Theme #2', JQUERYCOLORBOX_TEXTDOMAIN),
118
+ 'theme3' => __('Theme #3', JQUERYCOLORBOX_TEXTDOMAIN),
119
+ 'theme4' => __('Theme #4', JQUERYCOLORBOX_TEXTDOMAIN),
120
+ 'theme5' => __('Theme #5', JQUERYCOLORBOX_TEXTDOMAIN),
121
+ 'theme6' => __('Theme #6', JQUERYCOLORBOX_TEXTDOMAIN),
122
+ 'theme7' => __('Theme #7', JQUERYCOLORBOX_TEXTDOMAIN),
123
+ 'theme8' => __('Theme #8', JQUERYCOLORBOX_TEXTDOMAIN)
124
+ );
125
+
126
+ // create list of units
127
+ $this->colorboxUnits = array(
128
+ '%' => __('percent', JQUERYCOLORBOX_TEXTDOMAIN),
129
+ 'px' => __('pixels', JQUERYCOLORBOX_TEXTDOMAIN)
130
  );
131
 
132
+ // create list of units
133
+ $this->colorboxTransitions = array(
134
+ 'elastic' => __('elastic', JQUERYCOLORBOX_TEXTDOMAIN),
135
+ 'fade' => __('fade', JQUERYCOLORBOX_TEXTDOMAIN),
136
+ 'none' => __('none', JQUERYCOLORBOX_TEXTDOMAIN)
137
  );
138
 
139
+ // Create array of default settings
140
  $this->colorboxDefaultSettings = array(
141
  'jQueryColorboxVersion' => JQUERYCOLORBOX_VERSION,
142
  'colorboxTheme' => 'theme1',
157
  'slideshow' => false,
158
  'slideshowAuto' => false,
159
  'scalePhotos' => false,
160
+ 'slideshowSpeed' => '2500',
161
+ 'opacity' => '0.85',
162
+ 'preloading' => false,
163
+ 'transition' => 'elastic',
164
+ 'speed' => '350',
165
+ 'overlayClose' => false,
166
+ 'autoHideFlash' => false,
167
+ 'colorboxWarningOff' => false
168
  );
169
 
170
+ // Create the settings array by merging the user's settings and the defaults
171
  $usersettings = (array) get_option(JQUERYCOLORBOX_SETTINGSNAME);
172
+ $this->colorboxSettings = wp_parse_args($usersettings, jQueryColorbox::jQueryColorboxDefaultSettings());
173
 
174
+ // Enqueue the theme in wordpress
175
+ if (empty($this->colorboxThemes[$this->colorboxSettings['colorboxTheme']])) {
176
  $defaultArray = jQueryColorbox::jQueryColorboxDefaultSettings();
177
  $this->colorboxSettings['colorboxTheme'] = $defaultArray['colorboxTheme'];
178
  }
179
+ if (!is_admin()) {
180
+ wp_register_style('colorbox-' . $this->colorboxSettings['colorboxTheme'], plugins_url('themes/' . $this->colorboxSettings['colorboxTheme'] . '/colorbox.css', __FILE__), array(), '1.3.6', 'screen');
181
+ wp_enqueue_style('colorbox-' . $this->colorboxSettings['colorboxTheme']);
182
  }
183
  }
184
 
199
  * @param the_content or the_excerpt
200
  * @return replaced content or excerpt
201
  */
202
+ function addColorboxGroupIdToImages($content) {
203
  $colorboxSettings = (array) get_option(JQUERYCOLORBOX_SETTINGSNAME);
204
+ if (isset($colorboxSettings['autoColorbox']) && $colorboxSettings['autoColorbox']) {
205
  global
206
  $post;
207
  $pattern = "/<img(.*?)class=('|\")([A-Za-z0-9 \/_\.\~\:-]*?)('|\")([^\>]*?)>/i";
208
+ $replacement = '<img$1class=$2$3 colorbox-' . $post->ID . '$4$5>';
209
  $content = preg_replace($pattern, $replacement, $content);
210
  }
211
  return $content;
225
  * @param $attr class attribute of the attachment link
226
  * @return repaced attributes
227
  */
228
+ function wpPostThumbnailClassFilter($attr) {
229
  $colorboxSettings = (array) get_option(JQUERYCOLORBOX_SETTINGSNAME);
230
+ if (isset($colorboxSettings['autoColorboxGalleries']) && $colorboxSettings['autoColorboxGalleries']) {
231
  global
232
  $post;
233
+ $attr['class'] .= ' colorbox-' . $post->ID . ' ';
234
  }
235
  return $attr;
236
  }
245
  * @author Arne Franken
246
  */
247
  function registerSettingsPage() {
248
+ if (current_user_can('manage_options')) {
249
+ add_filter('plugin_action_links_' . JQUERYCOLORBOX_PLUGIN_BASENAME, array(& $this, 'addPluginActionLinks'));
250
+ add_options_page(JQUERYCOLORBOX_NAME, JQUERYCOLORBOX_NAME, 'manage_options', JQUERYCOLORBOX_PLUGIN_BASENAME, array(& $this, 'renderSettingsPage'));
251
  }
252
  }
253
 
264
  * @return action_links with link to settings page
265
  */
266
  function addPluginActionLinks($action_links) {
267
+ $settings_link = '<a href="options-general.php?page=' . JQUERYCOLORBOX_PLUGIN_BASENAME . '">' . __('Settings', JQUERYCOLORBOX_TEXTDOMAIN) . '</a>';
268
+ array_unshift($action_links, $settings_link);
269
 
270
  return $action_links;
271
  }
279
  * @access private
280
  * @author Arne Franken
281
  * @author Fabian Wolf (http://usability-idealist.de/)
282
+ * @author Jason Stapels (jstapels@realmprojects.com)
283
  *
284
  * @return rewritten content or excerpt
285
  */
287
  ?>
288
  <!-- <?php echo JQUERYCOLORBOX_NAME ?> <?php echo JQUERYCOLORBOX_VERSION ?> | by Arne Franken, http://www.techotronic.de/ -->
289
  <?php
290
+ if ($this->colorboxSettings['colorboxTheme'] == 'theme1') {
291
  ?>
292
  <!--[if IE]>
293
  <style type="text/css">
294
+ <?php /*
295
  The following fixes png-transparency for IE6.
296
  It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
297
 
301
  !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
302
  while regular CSS background images are relative to the CSS document.
303
  */
304
+ ?>
305
  .cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderTopLeft.png, sizingMethod='scale');}
306
  .cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderTopCenter.png, sizingMethod='scale');}
307
  .cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderTopRight.png, sizingMethod='scale');}
314
  <![endif]-->
315
  <?php
316
 
317
+ } elseif ($this->colorboxSettings['colorboxTheme'] == 'theme4') {
318
  ?>
319
  <!--[if IE]>
320
  <style type="text/css">
321
+ <?php /*
322
  The following fixes png-transparency for IE6.
323
  It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
324
 
328
  !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
329
  while regular CSS background images are relative to the CSS document.
330
  */
331
+ ?>
332
  .cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderTopLeft.png, sizingMethod='scale');}
333
  .cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderTopCenter.png, sizingMethod='scale');}
334
  .cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderTopRight.png, sizingMethod='scale');}
347
  <script type="text/javascript">
348
  // <![CDATA[
349
  jQuery(document).ready(function($) {
350
+ <?php //gets all "a" elements that have a nested "img" ?>
351
  $("a:has(img)").each(function(index, obj) {
352
+ <?php //only go on if link points to an image ?>
353
+ if ($(obj).attr("href").match(/\.(?:jpe?g|gif|png|bmp)/i)) {
354
+ <?php //in this context, the first child is always an image if fundamental Wordpress functions are used ?>
355
  var $nestedElement = $(obj).children(0);
356
  if ($nestedElement.is("img")) {
357
  var $nestedElementClassAttribute = $nestedElement.attr("class");
358
+ <?php //either the groupId has to be the automatically created colorbox-123 or the manually added colorbox-manual ?>
359
  var $groupId = $nestedElementClassAttribute.match('colorbox-[0-9]+') || $nestedElementClassAttribute.match('colorbox-manual');
360
+ <?php //only call Colorbox if there is a groupId for the image and the image is not excluded ?>
361
  if ($groupId && !$nestedElementClassAttribute.match('colorbox-off')) {
362
+ <?php //convert groupId to string for easier use ?>
363
  $groupId = $groupId.toString();
364
+ <?php //if groudId is colorbox-manual, set groupId to false so that images with that class are not grouped ?>
365
  if ($groupId == "colorbox-manual") {
366
  $groupId = false;
367
  }
368
+ <?php //call Colorbox function on each img. elements with the same groupId in the class attribute are grouped
369
+ //the title of the img is used as the title for the Colorbox. ?>
370
  $(obj).colorbox({
371
  rel:$groupId,
372
  title:$nestedElement.attr("title"),
373
+ <?php echo $this->colorboxSettings['maxWidth'] == "false" ? '' : 'maxWidth:"' . $this->colorboxSettings['maxWidthValue'] . $this->colorboxSettings['maxWidthUnit'] . '",';
374
+ echo $this->colorboxSettings['maxHeight'] == "false" ? '' : 'maxHeight:"' . $this->colorboxSettings['maxHeightValue'] . $this->colorboxSettings['maxHeightUnit'] . '",';
375
+ echo $this->colorboxSettings['height'] == "false" ? '' : 'height:"' . $this->colorboxSettings['heightValue'] . $this->colorboxSettings['heightUnit'] . '",';
376
+ echo $this->colorboxSettings['width'] == "false" ? '' : 'width:"' . $this->colorboxSettings['widthValue'] . $this->colorboxSettings['widthUnit'] . '",';
377
+ echo !$this->colorboxSettings['slideshow'] ? '' : 'slideshow:true,';
378
+ echo $this->colorboxSettings['slideshowAuto'] ? '' : 'slideshowAuto:false,';
379
+ echo $this->colorboxSettings['scalePhotos'] ? '' : 'scalePhotos:false,';
380
+ echo $this->colorboxSettings['preloading'] ? '' : 'preloading:false,';
381
+ echo $this->colorboxSettings['overlayClose'] ? '' : 'overlayClose:false,';?>
382
+ opacity:"<?php echo $this->colorboxSettings['opacity']; ?>",
383
+ transition:"<?php echo $this->colorboxSettings['transition']; ?>",
384
+ speed:<?php echo $this->colorboxSettings['speed']; ?>,
385
+ slideshowSpeed:<?php echo $this->colorboxSettings['slideshowSpeed']; ?>,
386
+ close:"<?php _e('close', JQUERYCOLORBOX_TEXTDOMAIN); ?>",
387
+ next:"<?php _e('next', JQUERYCOLORBOX_TEXTDOMAIN); ?>",
388
+ previous:"<?php _e('previous', JQUERYCOLORBOX_TEXTDOMAIN); ?>",
389
+ slideshowStart:"<?php _e('start slideshow', JQUERYCOLORBOX_TEXTDOMAIN); ?>",
390
+ slideshowStop:"<?php _e('stop slideshow', JQUERYCOLORBOX_TEXTDOMAIN); ?>",
391
+ current:"<?php _e('{current} of {total} images', JQUERYCOLORBOX_TEXTDOMAIN); ?>"
392
  });
393
  }
394
  }
395
  }
396
  });
397
+ <?php if ($this->colorboxSettings['autoHideFlash'] == true) {
398
+ //hide embedded flash objects automatically under Colorbox layer ?>
399
+ $("object").each(function(index,obj) {
400
+ $(obj).append('<param name="wmode" value="transparent" />');
401
+ });
402
+ $("embed").each(function(index,obj) {
403
+ $(obj).attr('wmode','transparent');
404
+ });
405
+ <?php } ?>
406
  });
407
  // ]]>
408
  </script>
477
  $("#jquery-colorbox-autoColorbox").attr("checked", false);
478
  }
479
  });
480
+
481
+ //activate warning if auto Colorbox is activated
482
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]']").click(function() {
483
+ if ($("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]']").is(':checked')) {
484
+ $("#jquery-colorbox-colorboxWarningOff").attr("checked", true);
485
+ }
486
+ });
487
+
488
+ //activate warning if auto Colorbox is deactivated
489
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]']").click(function() {
490
+ if (!$("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]']").is(':checked')) {
491
+ $("#jquery-colorbox-colorboxWarningOff").attr("checked", false);
492
+ }
493
+ });
494
+
495
+ //change screenshot if new theme is selected
496
+ $("#jquery-colorbox-theme").change(function() {
497
+ var src = $("option:selected", this).val().match(/\d$/i);
498
+ if ( src != "" ){
499
+ $("#jquery-colorbox-theme_screenshot_image").children(0).replaceWith("<img src=\"" + "<?php echo JQUERYCOLORBOX_PLUGIN_URL; echo '/screenshot-' ; ?>" + src + ".jpg\" />");
500
+ }
501
+ });
502
  });
503
  //]]>
504
  </script>
505
  <div class="wrap">
506
  <?php screen_icon(); ?>
507
+ <h2><?php printf(__('%1$s Settings', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?></h2>
508
  <br class="clear"/>
509
 
510
  <?php settings_fields(JQUERYCOLORBOX_SETTINGSNAME); ?>
511
 
512
  <div id="poststuff" class="ui-sortable meta-box-sortables">
513
+ <div id="jquery-colorbox-settings" class="postbox">
514
+ <h3 id="settings"><?php _e('Settings', JQUERYCOLORBOX_TEXTDOMAIN); ?></h3>
515
+
516
+ <div class="inside">
517
+ <form name="jquery-colorbox-settings-update" method="post" action="admin-post.php">
518
+ <?php if (function_exists('wp_nonce_field') === true) wp_nonce_field('jquery-colorbox-settings-form'); ?>
519
+
520
+ <table class="form-table">
521
+ <tr valign="top">
522
+ <th scope="row">
523
+ <label for="jquery-colorbox-theme"><?php _e('Theme', JQUERYCOLORBOX_TEXTDOMAIN); ?></label>
524
+ </th>
525
+ <td>
526
+ <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[colorboxTheme]" id="jquery-colorbox-theme" class="postform" style="margin:0">
527
+ <?php
528
+ foreach ($this->colorboxThemes as $theme => $name) {
529
+ echo '<option value="' . esc_attr($theme) . '"';
530
+ selected($this->colorboxSettings['colorboxTheme'], $theme);
531
+ echo '>' . htmlspecialchars($name) . "</option>\n";
532
+ }
533
+ ?>
534
+ </select>
535
+ <br/><?php _e('Select the theme you want to use on your blog.', JQUERYCOLORBOX_TEXTDOMAIN); ?>
536
+ </td>
537
+ </tr>
538
+ <tr>
539
+ <th scope="row">
540
+ <label for="jquery-colorbox-theme_screenshot_image"><?php _e('Theme screenshot', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
541
+ </th>
542
+ <td height="310px">
543
+ <div id="jquery-colorbox-theme_screenshot_image">
544
+ <img src="<?php echo JQUERYCOLORBOX_PLUGIN_URL; echo '/screenshot-' ; preg_match('/\d$/i',$this->colorboxSettings['colorboxTheme'],$matches); echo $matches[0] ?>.jpg"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
545
  </div>
546
+ </td>
547
+ </tr>
548
+ <tr>
549
+ <th scope="row">
550
+ <label for="jquery-colorbox-autoColorbox"><?php printf(__('Automate %1$s for all images', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?>:</label>
551
+ </th>
552
+ <td>
553
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]" id="jquery-colorbox-autoColorbox" value="true" <?php echo ($this->colorboxSettings['autoColorbox']) ? 'checked="checked"' : '';?>/>
554
+ <br/><?php _e('Automatically add colorbox-class to images in posts and pages. Also adds colorbox-class to galleries. Images in one page or post are grouped automatically.', JQUERYCOLORBOX_TEXTDOMAIN); ?>
555
+ </td>
556
+ </tr>
557
+ <tr>
558
+ <th scope="row">
559
+ <label for="jquery-colorbox-autoColorboxGalleries"><?php printf(__('Automate %1$s for images in WordPress galleries', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?>:</label>
560
+ </th>
561
+ <td>
562
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorboxGalleries]" id="jquery-colorbox-autoColorboxGalleries" value="true" <?php echo ($this->colorboxSettings['autoColorboxGalleries']) ? 'checked="checked"' : '';?>/>
563
+ <br/><?php _e('Automatically add colorbox-class to images in WordPress galleries, but nowhere else. Images in one page or post are grouped automatically.', JQUERYCOLORBOX_TEXTDOMAIN); ?>
564
+ </td>
565
+ </tr>
566
+ <tr>
567
+ <th scope="row">
568
+ <label for="jquery-colorbox-slideshow"><?php _e('Add Slideshow to groups', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
569
+ </th>
570
+ <td>
571
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[slideshow]" id="jquery-colorbox-slideshow" value="true" <?php echo ($this->colorboxSettings['slideshow']) ? 'checked="checked"' : '';?>/>
572
+ <br/><?php printf(__('Add Slideshow functionality for %1$s Groups', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?>
573
+ </td>
574
+ </tr>
575
+ <tr>
576
+ <th scope="row">
577
+ <label for="jquery-colorbox-slideshowAuto"><?php _e('Start Slideshow automatically', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
578
+ </th>
579
+ <td>
580
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[slideshowAuto]" id="jquery-colorbox-slideshowAuto" value="true" <?php echo ($this->colorboxSettings['slideshowAuto']) ? 'checked="checked"' : '';?>/>
581
+ <br/><?php printf(__('Start Slideshow automatically if slideshow functionality is added to %1$s Groups', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?>
582
+ </td>
583
+ </tr>
584
+ <tr>
585
+ <th scope="row">
586
+ <label for="jquery-colorbox-slideshowSpeed"><?php _e('Speed of the slideshow', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
587
+ </th>
588
+ <td>
589
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[slideshowSpeed]" id="jquery-colorbox-slideshowSpeed" value="<?php echo $this->colorboxSettings['slideshowSpeed'] ?>" size="5" maxlength="5"/>ms
590
+ <br/><?php _e('Sets the speed of the slideshow, in milliseconds', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
591
+ </td>
592
+ </tr>
593
+ <tr>
594
+ <th scope="row">
595
+ <label for="jquery-colorbox-maxWidthValue"><?php _e('Maximum width of an image', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
596
+ </th>
597
+ <td>
598
+ <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidth]" id="jquery-colorbox-maxWidth-false-radio" value="false" <?php echo ($this->colorboxSettings['maxWidth']) == 'false' ? 'checked="checked"' : ''; ?>"/>
599
+ <label for="jquery-colorbox-maxWidth-false-radio"><?php _e('Do not set width', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
600
+ <br/>
601
+ <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidth]" id="jquery-colorbox-maxWidth-custom-radio" value="custom" <?php echo ($this->colorboxSettings['maxWidth']) == 'custom' ? 'checked="checked"' : ''; ?>"/>
602
+ <label for="jquery-colorbox-maxWidth-custom-radio"><?php _e('Set maximum width of an image', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
603
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidthValue]" id="jquery-colorbox-maxWidthValue" value="<?php echo $this->colorboxSettings['maxWidthValue'] ?>" size="3" maxlength="3"/>
604
+ <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidthUnit]" id="jquery-colorbox-maxWidth-unit" class="postform" style="margin:0">
605
+ <?php
606
+ foreach ($this->colorboxUnits as $unit => $name) {
607
+ echo '<option value="' . esc_attr($unit) . '"';
608
+ selected($this->colorboxSettings['maxWidthUnit'], $unit);
609
+ echo '>' . htmlspecialchars($name) . "</option>\n";
610
+ }
611
+ ?>
612
+ </select>
613
+ <br/><?php _e('Set the maximum width of the image in the Colorbox in relation to the browser window in percent or pixels. If maximum width is not set, image is as wide as the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
614
+ </td>
615
+ </tr>
616
+ <tr>
617
+ <th scope="row">
618
+ <label for="jquery-colorbox-maxHeightValue"><?php _e('Maximum height of an image', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
619
+ </th>
620
+ <td>
621
+ <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeight]" id="jquery-colorbox-maxHeight-false-radio" value="false" <?php echo ($this->colorboxSettings['maxHeight']) == 'false' ? 'checked="checked"' : ''; ?>"/>
622
+ <label for="jquery-colorbox-maxHeight-false-radio"><?php _e('Do not set height', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
623
+ <br/>
624
+ <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeight]" id="jquery-colorbox-maxHeight-custom-radio" value="custom" <?php echo ($this->colorboxSettings['maxHeight']) == 'custom' ? 'checked="checked"' : ''; ?>"/>
625
+ <label for="jquery-colorbox-maxHeight-custom-radio"><?php _e('Set maximum height of an image', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
626
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeightValue]" id="jquery-colorbox-maxHeightValue" value="<?php echo $this->colorboxSettings['maxHeightValue'] ?>" size="3" maxlength="3"/>
627
+ <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeightUnit]" id="jquery-colorbox-maxHeight-unit" class="postform" style="margin:0">
628
+ <?php
629
+ foreach ($this->colorboxUnits as $unit => $name) {
630
+ echo '<option value="' . esc_attr($unit) . '"';
631
+ selected($this->colorboxSettings['maxHeightUnit'], $unit);
632
+ echo '>' . htmlspecialchars($name) . "</option>\n";
633
+ }
634
+ ?>
635
+ </select>
636
+ <br/><?php _e('Set the maximum height of the image in the Colorbox in relation to the browser window to a value in percent or pixels. If maximum height is not set, the image is as high as the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
637
+ </td>
638
+ </tr>
639
+ <tr>
640
+ <th scope="row">
641
+ <label for="jquery-colorbox-widthValue"><?php _e('Maximum width of the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
642
+ </th>
643
+ <td>
644
+ <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[width]" id="jquery-colorbox-width-false-radio" value="false" <?php echo ($this->colorboxSettings['width']) == 'false' ? 'checked="checked"' : ''; ?>"/>
645
+ <label for="jquery-colorbox-width-false-radio"><?php _e('Do not set width', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
646
+ <br/>
647
+ <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[width]" id="jquery-colorbox-width-custom-radio" value="custom" <?php echo ($this->colorboxSettings['width']) == 'custom' ? 'checked="checked"' : ''; ?>"/>
648
+ <label for="jquery-colorbox-width-custom-radio"><?php _e('Set width of the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
649
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[widthValue]" id="jquery-colorbox-widthValue" value="<?php echo $this->colorboxSettings['widthValue'] ?>" size="3" maxlength="3"/>
650
+ <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[widthUnit]" id="jquery-colorbox-width-unit" class="postform" style="margin:0">
651
+ <?php
652
+ foreach ($this->colorboxUnits as $unit => $name) {
653
+ echo '<option value="' . esc_attr($unit) . '"';
654
+ selected($this->colorboxSettings['widthUnit'], $unit);
655
+ echo '>' . htmlspecialchars($name) . "</option>\n";
656
+ }
657
+ ?>
658
+ </select>
659
+ <br/><?php _e('Set the maximum width of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If width is not set, the Colorbox will be as wide as the picture in it', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
660
+ </td>
661
+ </tr>
662
+ <tr>
663
+ <th scope="row">
664
+ <label for="jquery-colorbox-heightValue"><?php _e('Maximum height of the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
665
+ </th>
666
+ <td>
667
+ <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[height]" id="jquery-colorbox-height-false-radio" value="false" <?php echo ($this->colorboxSettings['height']) == 'false' ? 'checked="checked"' : ''; ?>"/>
668
+ <label for="jquery-colorbox-height-false-radio"><?php _e('Do not set height', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
669
+ <br/>
670
+ <input type="radio" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[height]" id="jquery-colorbox-height-custom-radio" value="custom" <?php echo ($this->colorboxSettings['height']) == 'custom' ? 'checked="checked"' : ''; ?>"/>
671
+ <label for="jquery-colorbox-height-custom-radio"><?php _e('Set height of the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
672
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[heightValue]" id="jquery-colorbox-heightValue" value="<?php echo $this->colorboxSettings['heightValue'] ?>" size="3" maxlength="3"/>
673
+ <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[heightUnit]" id="jquery-colorbox-height-unit" class="postform" style="margin:0">
674
+ <?php
675
+ foreach ($this->colorboxUnits as $unit => $name) {
676
+ echo '<option value="' . esc_attr($unit) . '"';
677
+ selected($this->colorboxSettings['heightUnit'], $unit);
678
+ echo '>' . htmlspecialchars($name) . "</option>\n";
679
+ }
680
+ ?>
681
+ </select>
682
+ <br/><?php _e('Set the maximum height of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If height is not set, the Colorbox will be as high as the picture in it', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
683
+ </td>
684
+ </tr>
685
+ <tr>
686
+ <th scope="row">
687
+ <label for="jquery-colorbox-scalePhotos"><?php _e('Resize images', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
688
+ </th>
689
+ <td>
690
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[scalePhotos]" id="jquery-colorbox-scalePhotos" value="true" <?php echo ($this->colorboxSettings['scalePhotos']) ? 'checked="checked"' : '';?>/>
691
+ <br/><?php _e('If enabled and if maximum width of images, maximum height of images, width of the Colorbox, or height of the Colorbox have been defined, ColorBox will scale photos to fit within the those values', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
692
+ </td>
693
+ </tr>
694
+ <tr>
695
+ <th scope="row">
696
+ <label for="jquery-colorbox-overlayClose"><?php _e('Close Colorbox on overlay click', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
697
+ </th>
698
+ <td>
699
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[overlayClose]" id="jquery-colorbox-overlayClose" value="true" <?php echo ($this->colorboxSettings['overlayClose']) ? 'checked="checked"' : '';?>/>
700
+ <br/><?php _e('If checked, enables closing ColorBox by clicking on the background overlay', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
701
+ </td>
702
+ </tr>
703
+ <tr>
704
+ <th scope="row">
705
+ <label for="jquery-colorbox-preloading"><?php _e('Preload images', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
706
+ </th>
707
+ <td>
708
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[preloading]" id="jquery-colorbox-preloading" value="true" <?php echo ($this->colorboxSettings['preloading']) ? 'checked="checked"' : '';?>/>
709
+ <br/><?php _e('Allows for preloading of "next" and "previous" content in a group, after the current content has finished loading. Uncheck box to disable.', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
710
+ </td>
711
+ </tr>
712
+ <tr>
713
+ <th scope="row">
714
+ <label for="jquery-colorbox-transition"><?php _e('Transition type', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
715
+ </th>
716
+ <td>
717
+ <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[transition]" id="jquery-colorbox-transition" class="postform" style="margin:0">
718
+ <?php
719
+ foreach ($this->colorboxTransitions as $unit => $name) {
720
+ echo '<option value="' . esc_attr($unit) . '"';
721
+ selected($this->colorboxSettings['transition'], $unit);
722
+ echo '>' . htmlspecialchars($name) . "</option>\n";
723
+ }
724
+ ?>
725
+ </select>
726
+ <br/><?php _e('The transition type of the Colorbox. Can be set to "elastic", "fade", or "none"', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
727
+ </td>
728
+ </tr>
729
+ <tr>
730
+ <th scope="row">
731
+ <label for="jquery-colorbox-speed"><?php _e('Transition speed', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
732
+ </th>
733
+ <td>
734
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[speed]" id="jquery-colorbox-speed" value="<?php echo $this->colorboxSettings['speed'] ?>" size="5" maxlength="5"/>ms
735
+ <br/><?php _e('Sets the speed of the "fade" and "elastic" transitions, in milliseconds', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
736
+ </td>
737
+ </tr>
738
+ <tr>
739
+ <th scope="row">
740
+ <label for="jquery-colorbox-opacity"><?php _e('Opacity', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
741
+ </th>
742
+ <td>
743
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[opacity]" id="jquery-colorbox-opacity" value="<?php echo $this->colorboxSettings['opacity'] ?>" size="4" maxlength="4"/>
744
+ <br/><?php _e('The overlay opacity level. Range: 0 to 1', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
745
+ </td>
746
+ </tr>
747
+ <tr>
748
+ <th scope="row">
749
+ <label for="jquery-colorbox-autoHideFlash"><?php printf(__('Automate hiding of flash objects', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?>:</label>
750
+ </th>
751
+ <td>
752
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoHideFlash]" id="jquery-colorbox-autoHideFlash" value="true" <?php echo ($this->colorboxSettings['autoHideFlash']) ? 'checked="checked"' : '';?>/>
753
+ <br/><?php _e('Automatically hide embeded flash objects behind the Colorbox layer. Done by setting the wmode to transparent.', JQUERYCOLORBOX_TEXTDOMAIN); ?>
754
+ </td>
755
+ </tr>
756
+ <tr>
757
+ <th scope="row">
758
+ <label for="jquery-colorbox-colorboxWarningOff"><?php printf(__('Disable warning', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?>:</label>
759
+ </th>
760
+ <td>
761
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[colorboxWarningOff]" id="jquery-colorbox-colorboxWarningOff" value="true" <?php echo ($this->colorboxSettings['colorboxWarningOff']) ? 'checked="checked"' : '';?>/>
762
+ <br/><?php _e('Disables the warning that is displayed if the plugin is activated but the auto-colorbox feature for all images is turned off.', JQUERYCOLORBOX_TEXTDOMAIN); ?>
763
+ </td>
764
+ </tr>
765
+ </table>
766
+ <p class="submit">
767
+ <input type="hidden" name="action" value="jQueryColorboxUpdateSettings"/>
768
+ <input type="submit" name="jQueryColorboxUpdateSettings" class="button-primary" value="<?php _e('Save Changes') ?>"/>
769
+ </p>
770
+ </form>
771
+ </div>
772
+ </div>
773
  </div>
774
 
775
  <div id="poststuff" class="ui-sortable meta-box-sortables">
776
  <div id="jquery-colorbox-delete_settings" class="postbox">
777
+ <h3 id="delete_options"><?php _e('Delete Settings', JQUERYCOLORBOX_TEXTDOMAIN) ?></h3>
778
 
779
  <div class="inside">
780
+ <p><?php _e('Check the box and click this button to delete settings of this plugin.', JQUERYCOLORBOX_TEXTDOMAIN); ?></p>
781
 
782
  <form name="delete_settings" method="post" action="admin-post.php">
783
  <?php if (function_exists('wp_nonce_field') === true) wp_nonce_field('jquery-delete_settings-form'); ?>
784
  <p id="submitbutton">
785
  <input type="hidden" name="action" value="jQueryColorboxDeleteSettings"/>
786
+ <input type="submit" name="jQueryColorboxDeleteSettings" value="<?php _e('Delete Settings', JQUERYCOLORBOX_TEXTDOMAIN); ?> &raquo;" class="button-secondary"/>
787
  <input type="checkbox" name="delete_settings-true"/>
788
  </p>
789
  </form>
793
 
794
  <div id="poststuff" class="ui-sortable meta-box-sortables">
795
  <div id="jquery-colorbox-donate" class="postbox">
796
+ <h3 id="donate"><?php _e('Donate', JQUERYCOLORBOX_TEXTDOMAIN) ?></h3>
797
 
798
  <div class="inside">
799
  <p>
813
  </div>
814
  </div>
815
  </div>
816
+
817
+ <div id="poststuff" class="ui-sortable meta-box-sortables">
818
+ <div id="jquery-colorbox-translation" class="postbox">
819
+ <h3 id="translation"><?php _e('Translation', JQUERYCOLORBOX_TEXTDOMAIN) ?></h3>
820
+
821
+ <div class="inside">
822
+ <p><?php _e('The english translation was done by <a href="http://www.techotronic.de">Arne Franken</a>.', JQUERYCOLORBOX_TEXTDOMAIN); ?></p>
823
+ </div>
824
+ </div>
825
+ </div>
826
  </div>
827
  <?php
828
 
838
  * @author Arne Franken
839
  */
840
  function registerAdminMenu() {
841
+ if (function_exists('add_management_page') && current_user_can('manage_options')) {
842
 
843
  // update, uninstall message
844
+ if (strpos($_SERVER['REQUEST_URI'], 'jquery-colorbox.php') && isset($_GET['jQueryColorboxUpdateSettings'])) {
845
+ $return_message = sprintf(__('Successfully updated %1$s settings.', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME);
846
  } elseif (strpos($_SERVER['REQUEST_URI'], 'jquery-colorbox.php') && isset($_GET['jQueryColorboxDeleteSettings'])) {
847
+ $return_message = sprintf(__('%1$s settings were successfully deleted.', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME);
848
  } else {
849
  $return_message = '';
850
  }
863
  * @access private
864
  * @author Arne Franken
865
  */
866
+ function registerAdminNotice($notice) {
867
+ if ($notice != '') {
868
  $message = '<div class="updated fade"><p>' . $notice . '</p></div>';
869
+ add_action('admin_notices', create_function('', "echo '$message';"));
870
+ }
871
+ }
872
+
873
+ /**
874
+ * Registers the warning for admins
875
+ *
876
+ * @since 2.5
877
+ * @access private
878
+ * @author Arne Franken
879
+ */
880
+ function registerAdminWarning() {
881
+ if (true == $this->colorboxSettings['colorboxWarningOff'] || true == $this->colorboxSettings['autoColorbox']) {
882
+ return;
883
  }
884
+ ?>
885
+
886
+ <div class="updated" style="background-color:#f66;">
887
+ <p>
888
+ <a href="options-general.php?page=<?php echo JQUERYCOLORBOX_PLUGIN_BASENAME ?>"><?php echo JQUERYCOLORBOX_NAME ?></a> <?php _e('needs attention: the plugin is not activated to work for all images.', JQUERYCOLORBOX_TEXTDOMAIN)?>
889
+ </p>
890
+ </div>
891
+ <?php
892
+
893
  }
894
 
895
+ /**
896
+ * Default array of jQuery Colorbox settings
897
+ *
898
+ * @since 2.0
899
+ * @access private
900
+ * @author Arne Franken
901
+ */
902
+ static function jQueryColorboxDefaultSettings() {
903
 
904
  // Create and return array of default settings
905
  return array(
922
  'slideshow' => false,
923
  'slideshowAuto' => false,
924
  'scalePhotos' => false,
925
+ 'slideshowSpeed' => '2500',
926
+ 'opacity' => '0.85',
927
+ 'preloading' => false,
928
+ 'transition' => 'elastic',
929
+ 'speed' => '350',
930
+ 'overlayClose' => false,
931
+ 'autoHideFlash' => false,
932
+ 'colorboxWarningOff' => false
933
  );
934
  }
935
 
944
  */
945
  function jQueryColorboxUpdateSettings() {
946
 
947
+ if (!current_user_can('manage_options'))
948
+ wp_die(__('Did not update settings, you do not have the necessary rights.', JQUERYCOLORBOX_TEXTDOMAIN));
949
 
950
+ //cross check the given referer for nonce set in settings form
951
  check_admin_referer('jquery-colorbox-settings-form');
952
+ //get settings from plugins admin page
953
  $this->colorboxSettings = $_POST[JQUERYCOLORBOX_SETTINGSNAME];
954
+ //have to add jQueryColorboxVersion here because it is not included in the HTML form
955
+ $this->colorboxSettings['jQueryColorboxVersion'] = JQUERYCOLORBOX_VERSION;
956
  $this->updateSettingsInDatabase();
957
+ $referrer = str_replace(array('&jQueryColorboxUpdateSettings', '&jQueryColorboxDeleteSettings'), '', $_POST['_wp_http_referer']);
958
+ wp_redirect($referrer . '&jQueryColorboxUpdateSettings');
959
  }
960
 
961
  // jQueryColorboxUpdateSettings()
986
  */
987
  function jQueryColorboxDeleteSettings() {
988
 
989
+ if (current_user_can('manage_options') && isset($_POST['delete_settings-true'])) {
990
  //cross check the given referer for nonce set in delete settings form
991
  check_admin_referer('jquery-delete_settings-form');
992
  $this->deleteSettingsFromDatabase();
993
  $this->colorboxSettings = jQueryColorbox::jQueryColorboxDefaultSettings();
994
  } else {
995
+ wp_die(sprintf(__('Did not delete %1$s settings. Either you dont have the nececssary rights or you didnt check the checkbox.', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME));
996
  }
997
+ //clean up referrer
998
+ $referrer = str_replace(array('&jQueryColorboxUpdateSettings', '&jQueryColorboxDeleteSettings'), '', $_POST['_wp_http_referer']);
999
+ wp_redirect($referrer . '&jQueryColorboxDeleteSettings');
1000
  }
1001
 
1002
  // jQueryColorboxDeleteSettings()
1025
  */
1026
  function activateJqueryColorbox() {
1027
  $jquery_colorbox_settings = get_option(JQUERYCOLORBOX_SETTINGSNAME);
1028
+ if ($jquery_colorbox_settings) {
1029
  //if jQueryColorboxVersion does not exist, the plugin is a version prior to 2.0
1030
  //settings are incompatible with 2.0, restore default settings.
1031
+ if (!array_key_exists('jQueryColorboxVersion', $jquery_colorbox_settings)) {
1032
+ if(!array_key_exists('scalePhotos', $jquery_colorbox_settings)){
1033
+ //in case future versions require resetting the settings
1034
+ //if($jquery_colorbox_settings['jQueryColorboxVersion'] < JQUERYCOLORBOX_VERSION)
1035
+ update_option(JQUERYCOLORBOX_SETTINGSNAME, jQueryColorbox::jQueryColorboxDefaultSettings());
1036
+ }
1037
  }
1038
  }
1039
  }
1059
  //jQueryColorbox()
1060
 
1061
  // add jQueryColorbox() to WordPress initialization
1062
+ add_action('init', 'jQueryColorbox', 7);
1063
 
1064
  //register method for activation
1065
+ register_activation_hook(__FILE__, array('jQueryColorbox', 'activateJqueryColorbox'));
1066
  ?>
localization/jquery-colorbox-ar_AR.mo ADDED
Binary file
localization/jquery-colorbox-ar_AR.po ADDED
@@ -0,0 +1,344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: jQuery-Colorbox 2.0.1 Arabic\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-03-29 13:12+0100\n"
6
+ "PO-Revision-Date: 2010-03-29 13:13+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Mickey Mouse® <modarsoos@yahoo.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Arabic\n"
13
+ "X-Poedit-KeywordsList: _e;__\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-Country: SYRIAN ARAB REPUBLIC\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: jquery-colorbox.php:116
19
+ msgid "Theme #1"
20
+ msgstr "القالب الأول"
21
+
22
+ #: jquery-colorbox.php:117
23
+ msgid "Theme #2"
24
+ msgstr "القالب الثاني"
25
+
26
+ #: jquery-colorbox.php:118
27
+ msgid "Theme #3"
28
+ msgstr "القالب الثالث"
29
+
30
+ #: jquery-colorbox.php:119
31
+ msgid "Theme #4"
32
+ msgstr "القالب الرابع"
33
+
34
+ #: jquery-colorbox.php:120
35
+ msgid "Theme #5"
36
+ msgstr "القالب الخامس"
37
+
38
+ #: jquery-colorbox.php:121
39
+ msgid "Theme #6"
40
+ msgstr ""
41
+
42
+ #: jquery-colorbox.php:122
43
+ msgid "Theme #7"
44
+ msgstr ""
45
+
46
+ #: jquery-colorbox.php:123
47
+ msgid "Theme #8"
48
+ msgstr ""
49
+
50
+ #: jquery-colorbox.php:128
51
+ msgid "percent"
52
+ msgstr "بالمئة"
53
+
54
+ #: jquery-colorbox.php:129
55
+ msgid "pixels"
56
+ msgstr "بالبيكسل"
57
+
58
+ #: jquery-colorbox.php:134
59
+ msgid "elastic"
60
+ msgstr ""
61
+
62
+ #: jquery-colorbox.php:135
63
+ msgid "fade"
64
+ msgstr ""
65
+
66
+ #: jquery-colorbox.php:136
67
+ msgid "none"
68
+ msgstr ""
69
+
70
+ #: jquery-colorbox.php:267
71
+ #: jquery-colorbox.php:514
72
+ msgid "Settings"
73
+ msgstr "إعدادات"
74
+
75
+ #: jquery-colorbox.php:386
76
+ msgid "close"
77
+ msgstr "إغلاق"
78
+
79
+ #: jquery-colorbox.php:387
80
+ msgid "next"
81
+ msgstr "التالي"
82
+
83
+ #: jquery-colorbox.php:388
84
+ msgid "previous"
85
+ msgstr "السابق"
86
+
87
+ #: jquery-colorbox.php:389
88
+ msgid "start slideshow"
89
+ msgstr "بدء عرض الشرائح"
90
+
91
+ #: jquery-colorbox.php:390
92
+ msgid "stop slideshow"
93
+ msgstr "إيقاف عرض الشرائح"
94
+
95
+ #: jquery-colorbox.php:391
96
+ msgid "{current} of {total} images"
97
+ msgstr "{current} من {total} إجمالي الصور"
98
+
99
+ #: jquery-colorbox.php:507
100
+ #, php-format
101
+ msgid "%1$s Settings"
102
+ msgstr "%1$s إعدادات"
103
+
104
+ #: jquery-colorbox.php:523
105
+ msgid "Theme"
106
+ msgstr "قالب"
107
+
108
+ #: jquery-colorbox.php:535
109
+ msgid "Select the theme you want to use on your blog."
110
+ msgstr "حدد القالب الذي تريد استخدامه في موقعك من القائمة المنسدلة."
111
+
112
+ #: jquery-colorbox.php:540
113
+ msgid "Theme screenshot"
114
+ msgstr ""
115
+
116
+ #: jquery-colorbox.php:550
117
+ #, php-format
118
+ msgid "Automate %1$s for all images"
119
+ msgstr "شغل تلقائياً %1$s لجميع الصور"
120
+
121
+ #: jquery-colorbox.php:554
122
+ msgid "Automatically add colorbox-class to images in posts and pages. Also adds colorbox-class to galleries. Images in one page or post are grouped automatically."
123
+ msgstr "أضف بشكل تلقائي صندوق عرض الشرائح في جميع المواضيع والصفحات. أيضاً أضف صندوق عرض الشرائح لمعرض الصور. الصور في صفحة واحدة أو موضوع واحد ستندمج بشكل تلقائي."
124
+
125
+ #: jquery-colorbox.php:559
126
+ #, php-format
127
+ msgid "Automate %1$s for images in WordPress galleries"
128
+ msgstr "شغل تلقائياً %1$s لجميع الصور في معرض صور الموقع"
129
+
130
+ #: jquery-colorbox.php:563
131
+ msgid "Automatically add colorbox-class to images in WordPress galleries, but nowhere else. Images in one page or post are grouped automatically."
132
+ msgstr "أضف بشكل تلقائي صندوق عرض الشرائح للصور في معرض ووردبريس، ولكن في أي مكان آخر. الصور في الصفحة أو الموضوع ستندمج تلقائياً."
133
+
134
+ #: jquery-colorbox.php:568
135
+ msgid "Add Slideshow to groups"
136
+ msgstr "إضافة عرض الشرائح للمجموعات"
137
+
138
+ #: jquery-colorbox.php:572
139
+ #, php-format
140
+ msgid "Add Slideshow functionality for %1$s Groups"
141
+ msgstr "إضافة عرض الشرائح ل %1$s مجموعات"
142
+
143
+ #: jquery-colorbox.php:577
144
+ msgid "Start Slideshow automatically"
145
+ msgstr "ابدأ عرض الشرائح تلقائياً"
146
+
147
+ #: jquery-colorbox.php:581
148
+ #, php-format
149
+ msgid "Start Slideshow automatically if slideshow functionality is added to %1$s Groups"
150
+ msgstr "ابدأ عرض الشرائح تلقائياً إذا كانت خصائص عرض الشرائح قد أضيفت ل %1$s المجموعات"
151
+
152
+ #: jquery-colorbox.php:586
153
+ msgid "Speed of the slideshow"
154
+ msgstr "سرعة عرض الشرائح"
155
+
156
+ #: jquery-colorbox.php:590
157
+ msgid "Sets the speed of the slideshow, in milliseconds"
158
+ msgstr "حدد سرعة عرض الشرائح بالميلي"
159
+
160
+ #: jquery-colorbox.php:595
161
+ msgid "Maximum width of an image"
162
+ msgstr "الحد الأقصى لعرض صورة"
163
+
164
+ #: jquery-colorbox.php:599
165
+ #: jquery-colorbox.php:645
166
+ msgid "Do not set width"
167
+ msgstr "عدم تعيين عرض"
168
+
169
+ #: jquery-colorbox.php:602
170
+ msgid "Set maximum width of an image"
171
+ msgstr "تعيين أقصى عرض للصورة"
172
+
173
+ #: jquery-colorbox.php:613
174
+ msgid "Set the maximum width of the image in the Colorbox in relation to the browser window in percent or pixels. If maximum width is not set, image is as wide as the Colorbox"
175
+ msgstr "حدد العرض الأقصى لصندوق عرض الشرائح بالنسبة المئوية أو بالبيكسل ليتناسب مع متصفحك. إذا لم يتم تعيين العرض، سيكون عرض الصورة مثل عرض صندوق عرض الشرائح."
176
+
177
+ #: jquery-colorbox.php:618
178
+ msgid "Maximum height of an image"
179
+ msgstr "أقصى ارتفاع للصورة"
180
+
181
+ #: jquery-colorbox.php:622
182
+ #: jquery-colorbox.php:668
183
+ msgid "Do not set height"
184
+ msgstr "عدم تعيين الارتفاع"
185
+
186
+ #: jquery-colorbox.php:625
187
+ msgid "Set maximum height of an image"
188
+ msgstr "تعيين الارتفاع الأقصى للصورة"
189
+
190
+ #: jquery-colorbox.php:636
191
+ msgid "Set the maximum height of the image in the Colorbox in relation to the browser window to a value in percent or pixels. If maximum height is not set, the image is as high as the Colorbox"
192
+ msgstr "حدد الارتفاع الأقصى لصندوق عرض الشرائح بالنسبة المئوية أو بالبيكسل ليتناسب مع متصفحك. إذا لم يتم تعيين الارتفاع، سيكون ارتفاع الصورة مثل ارتفاع صندوق عرض الشرائح."
193
+
194
+ #: jquery-colorbox.php:641
195
+ msgid "Maximum width of the Colorbox"
196
+ msgstr "الحد الأقصى لعرض صندوق عرض الشرائح"
197
+
198
+ #: jquery-colorbox.php:648
199
+ msgid "Set width of the Colorbox"
200
+ msgstr "تعيين عرض صندوق عرض الشرائح"
201
+
202
+ #: jquery-colorbox.php:659
203
+ msgid "Set the maximum width of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If width is not set, the Colorbox will be as wide as the picture in it"
204
+ msgstr "حدد العرض الأقصى لصندوق عرض الشرائح بالنسبة المئوية أو بالبيكسل ليتناسب مع متصفحك. إذا كانت الصورة أكبر من صندوق عرض الشرائح، سيتم عرض أشرطة التمرير، وإذا لم يتم تعيين العرض، سيكون صندوق عرض الشرائح عريضاً كعرض الصورة التي بداخله."
205
+
206
+ #: jquery-colorbox.php:664
207
+ msgid "Maximum height of the Colorbox"
208
+ msgstr "الحد الأقصى لارتفاع صندوق عرض الشرائح"
209
+
210
+ #: jquery-colorbox.php:671
211
+ msgid "Set height of the Colorbox"
212
+ msgstr "تعيين ارتفاع صندوق عرض الشرائح"
213
+
214
+ #: jquery-colorbox.php:682
215
+ msgid "Set the maximum height of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If height is not set, the Colorbox will be as high as the picture in it"
216
+ msgstr "حدد الارتفاع الأقصى لصندوق عرض الشرائح بالنسبة المئوية أو بالبيكسل ليتناسب مع متصفحك. إذا كانت الصورة أكبر من صندوق عرض الشرائح، سيتم عرض أشرطة التمرير، وإذا لم يتم تعيين الارتفاع، سيكون صندوق عرض الشرائح طويلاً كطول الصورة التي بداخله."
217
+
218
+ #: jquery-colorbox.php:687
219
+ msgid "Resize images"
220
+ msgstr "تعديل حجم الصورة"
221
+
222
+ #: jquery-colorbox.php:691
223
+ msgid "If enabled and if maximum width of images, maximum height of images, width of the Colorbox, or height of the Colorbox have been defined, ColorBox will scale photos to fit within the those values"
224
+ msgstr "إذا تم التفعيل وإذا تم تعديل الحد الأقصى لارتفاع وعرض \"الصور وصندوق عرض الشرائح\" سيقوم البرنامج بتصحيح عرض الصور داخل الصندوق ليلائم هذه القيم."
225
+
226
+ #: jquery-colorbox.php:696
227
+ msgid "Close Colorbox on overlay click"
228
+ msgstr ""
229
+
230
+ #: jquery-colorbox.php:700
231
+ msgid "If checked, enables closing ColorBox by clicking on the background overlay"
232
+ msgstr ""
233
+
234
+ #: jquery-colorbox.php:705
235
+ msgid "Preload images"
236
+ msgstr ""
237
+
238
+ #: jquery-colorbox.php:709
239
+ msgid "Allows for preloading of \"next\" and \"previous\" content in a group, after the current content has finished loading. Uncheck box to disable."
240
+ msgstr ""
241
+
242
+ #: jquery-colorbox.php:714
243
+ msgid "Transition type"
244
+ msgstr ""
245
+
246
+ #: jquery-colorbox.php:726
247
+ msgid "The transition type of the Colorbox. Can be set to \"elastic\", \"fade\", or \"none\""
248
+ msgstr ""
249
+
250
+ #: jquery-colorbox.php:731
251
+ msgid "Transition speed"
252
+ msgstr ""
253
+
254
+ #: jquery-colorbox.php:735
255
+ msgid "Sets the speed of the \"fade\" and \"elastic\" transitions, in milliseconds"
256
+ msgstr ""
257
+
258
+ #: jquery-colorbox.php:740
259
+ msgid "Opacity"
260
+ msgstr ""
261
+
262
+ #: jquery-colorbox.php:744
263
+ msgid "The overlay opacity level. Range: 0 to 1"
264
+ msgstr ""
265
+
266
+ #: jquery-colorbox.php:749
267
+ msgid "Automate hiding of flash objects"
268
+ msgstr ""
269
+
270
+ #: jquery-colorbox.php:753
271
+ msgid "Automatically hide embeded flash objects behind the Colorbox layer. Done by setting the wmode to transparent."
272
+ msgstr ""
273
+
274
+ #: jquery-colorbox.php:758
275
+ msgid "Disable warning"
276
+ msgstr ""
277
+
278
+ #: jquery-colorbox.php:762
279
+ msgid "Disables the warning that is displayed if the plugin is activated but the auto-colorbox feature for all images is turned off."
280
+ msgstr ""
281
+
282
+ #: jquery-colorbox.php:768
283
+ msgid "Save Changes"
284
+ msgstr "حفظ التغييرات"
285
+
286
+ #: jquery-colorbox.php:777
287
+ #: jquery-colorbox.php:786
288
+ msgid "Delete Settings"
289
+ msgstr "حذف الإعدادات"
290
+
291
+ #: jquery-colorbox.php:780
292
+ msgid "Check the box and click this button to delete settings of this plugin."
293
+ msgstr "ضع علامة في المربع واضغط على هذا الزر لحذف إعدادات البرنامج."
294
+
295
+ #: jquery-colorbox.php:796
296
+ msgid "Donate"
297
+ msgstr "تبرع"
298
+
299
+ #: jquery-colorbox.php:810
300
+ msgid "If you would like to make a small (or large) contribution towards future development please consider making a donation."
301
+ msgstr "إذا كنت ترغب بالمساهمة في تنمية تطوير هذا البرنامج فنرجو منك التبرع لنا."
302
+
303
+ #: jquery-colorbox.php:819
304
+ msgid "Translation"
305
+ msgstr ""
306
+
307
+ #: jquery-colorbox.php:822
308
+ msgid "The english translation was done by <a href=\"http://www.techotronic.de\">Arne Franken</a>."
309
+ msgstr ""
310
+
311
+ #: jquery-colorbox.php:845
312
+ #, php-format
313
+ msgid "Successfully updated %1$s settings."
314
+ msgstr "تم تحديث الإعدادات %1$s بنجاح."
315
+
316
+ #: jquery-colorbox.php:847
317
+ #, php-format
318
+ msgid "%1$s settings were successfully deleted."
319
+ msgstr "%1$s تم حذف الإعدادات بنجاح."
320
+
321
+ #: jquery-colorbox.php:888
322
+ msgid "needs attention: the plugin is not activated to work for all images."
323
+ msgstr ""
324
+
325
+ #: jquery-colorbox.php:948
326
+ msgid "Did not update settings, you do not have the necessary rights."
327
+ msgstr "لم يتم تحديث الإعدادات، ليس لديك صلاحيات."
328
+
329
+ #: jquery-colorbox.php:995
330
+ #, php-format
331
+ msgid "Did not delete %1$s settings. Either you dont have the nececssary rights or you didnt check the checkbox."
332
+ msgstr "لا تقم بحذف %1$s الإعدادات. إلا إذا كنت تملك التصريح اللازم بذلك أو بأنك لم تقم بتحديد العلامة داخل المربع الصغير."
333
+
334
+ #~ msgid "maxWidth"
335
+ #~ msgstr "Maximum width of an image"
336
+
337
+ #~ msgid "maxHeight"
338
+ #~ msgstr "Maximum height of an image"
339
+
340
+ #~ msgid "width"
341
+ #~ msgstr "Maxinmum width of the Colorbox"
342
+
343
+ #~ msgid "height"
344
+ #~ msgstr "Maximum height of the Colorbox"
localization/jquery-colorbox-bs_BA.mo ADDED
Binary file
localization/jquery-colorbox-bs_BA.po ADDED
@@ -0,0 +1,343 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: jQuery-Colorbox\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-03-31 23:16+0100\n"
6
+ "PO-Revision-Date: 2010-03-31 23:16+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Bosnian\n"
13
+ "X-Poedit-KeywordsList: _e;__\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-SearchPath-0: .\n"
16
+
17
+ #: jquery-colorbox.php:116
18
+ msgid "Theme #1"
19
+ msgstr "Tema #1"
20
+
21
+ #: jquery-colorbox.php:117
22
+ msgid "Theme #2"
23
+ msgstr "Tema #2"
24
+
25
+ #: jquery-colorbox.php:118
26
+ msgid "Theme #3"
27
+ msgstr "Tema #3"
28
+
29
+ #: jquery-colorbox.php:119
30
+ msgid "Theme #4"
31
+ msgstr "Tema #4"
32
+
33
+ #: jquery-colorbox.php:120
34
+ msgid "Theme #5"
35
+ msgstr "Tema #5"
36
+
37
+ #: jquery-colorbox.php:121
38
+ msgid "Theme #6"
39
+ msgstr "Tema #6"
40
+
41
+ #: jquery-colorbox.php:122
42
+ msgid "Theme #7"
43
+ msgstr "Tema #7"
44
+
45
+ #: jquery-colorbox.php:123
46
+ msgid "Theme #8"
47
+ msgstr "Tema #8"
48
+
49
+ #: jquery-colorbox.php:128
50
+ msgid "percent"
51
+ msgstr "procenat"
52
+
53
+ #: jquery-colorbox.php:129
54
+ msgid "pixels"
55
+ msgstr "piksel"
56
+
57
+ #: jquery-colorbox.php:134
58
+ msgid "elastic"
59
+ msgstr "elastično"
60
+
61
+ #: jquery-colorbox.php:135
62
+ msgid "fade"
63
+ msgstr "izblijediti"
64
+
65
+ #: jquery-colorbox.php:136
66
+ msgid "none"
67
+ msgstr "bez efekta"
68
+
69
+ #: jquery-colorbox.php:267
70
+ #: jquery-colorbox.php:514
71
+ msgid "Settings"
72
+ msgstr "Opcije"
73
+
74
+ #: jquery-colorbox.php:386
75
+ msgid "close"
76
+ msgstr "Zatvoriti"
77
+
78
+ #: jquery-colorbox.php:387
79
+ msgid "next"
80
+ msgstr "Naprijed"
81
+
82
+ #: jquery-colorbox.php:388
83
+ msgid "previous"
84
+ msgstr "Nazad"
85
+
86
+ #: jquery-colorbox.php:389
87
+ msgid "start slideshow"
88
+ msgstr "Pokreni slideshow"
89
+
90
+ #: jquery-colorbox.php:390
91
+ msgid "stop slideshow"
92
+ msgstr "Zaustavi slideshow"
93
+
94
+ #: jquery-colorbox.php:391
95
+ msgid "{current} of {total} images"
96
+ msgstr "{current} od {total} slika"
97
+
98
+ #: jquery-colorbox.php:507
99
+ #, php-format
100
+ msgid "%1$s Settings"
101
+ msgstr "%1$s opcija"
102
+
103
+ #: jquery-colorbox.php:523
104
+ msgid "Theme"
105
+ msgstr "Tema"
106
+
107
+ #: jquery-colorbox.php:535
108
+ msgid "Select the theme you want to use on your blog."
109
+ msgstr "Izaberi temu za svoj blog"
110
+
111
+ #: jquery-colorbox.php:540
112
+ msgid "Theme screenshot"
113
+ msgstr "Screenshot teme"
114
+
115
+ #: jquery-colorbox.php:550
116
+ #, php-format
117
+ msgid "Automate %1$s for all images"
118
+ msgstr "Automatiziraj %1$s za sve slike"
119
+
120
+ #: jquery-colorbox.php:554
121
+ msgid "Automatically add colorbox-class to images in posts and pages. Also adds colorbox-class to galleries. Images in one page or post are grouped automatically."
122
+ msgstr "Dodaj automatski colorbox-klasu slikama u člancima i na stranicama. Takođe dodaje colobox-klasu galerijama. Sve slike unutar jednog članka ili jedne stranice če automatski biti grupirane. "
123
+
124
+ #: jquery-colorbox.php:559
125
+ #, php-format
126
+ msgid "Automate %1$s for images in WordPress galleries"
127
+ msgstr "Automatiziraj %1$s za slike u WordPress galeriji."
128
+
129
+ #: jquery-colorbox.php:563
130
+ msgid "Automatically add colorbox-class to images in WordPress galleries, but nowhere else. Images in one page or post are grouped automatically."
131
+ msgstr "Dodaj automatksi colorbox-klasu za slike samo u galerijama, nigdje drugdje. SSe slike unutar jednog članka ili jedne stranice če automatski biti grupirane. "
132
+
133
+ #: jquery-colorbox.php:568
134
+ msgid "Add Slideshow to groups"
135
+ msgstr "Dodaj slideshow grupama"
136
+
137
+ #: jquery-colorbox.php:572
138
+ #, php-format
139
+ msgid "Add Slideshow functionality for %1$s Groups"
140
+ msgstr "Dodaj slideshow funkcionalnost za %1$s grupe"
141
+
142
+ #: jquery-colorbox.php:577
143
+ msgid "Start Slideshow automatically"
144
+ msgstr "Pokreni slideshow automatski"
145
+
146
+ #: jquery-colorbox.php:581
147
+ #, php-format
148
+ msgid "Start Slideshow automatically if slideshow functionality is added to %1$s Groups"
149
+ msgstr "Pokreni slideshow automatski ako je slideshow funkcionalnost dodana %1$s grupama"
150
+
151
+ #: jquery-colorbox.php:586
152
+ msgid "Speed of the slideshow"
153
+ msgstr "Brzina slideshowa"
154
+
155
+ #: jquery-colorbox.php:590
156
+ msgid "Sets the speed of the slideshow, in milliseconds"
157
+ msgstr "Postavi brzinu slideshowa u milisekundama"
158
+
159
+ #: jquery-colorbox.php:595
160
+ msgid "Maximum width of an image"
161
+ msgstr "Maksimalna širina slike"
162
+
163
+ #: jquery-colorbox.php:599
164
+ #: jquery-colorbox.php:645
165
+ msgid "Do not set width"
166
+ msgstr "Ne postavljaj širinu"
167
+
168
+ #: jquery-colorbox.php:602
169
+ msgid "Set maximum width of an image"
170
+ msgstr "Postavi maksimalnu širinu slike"
171
+
172
+ #: jquery-colorbox.php:613
173
+ msgid "Set the maximum width of the image in the Colorbox in relation to the browser window in percent or pixels. If maximum width is not set, image is as wide as the Colorbox"
174
+ msgstr "Postavi maksimalnu širinu slike u Colorboxu u relaciji prema web pretraživaču u postotcima ili pikselima. Ako maksimalna širina nije postavljenja, slika je iste širine kao Colorbox"
175
+
176
+ #: jquery-colorbox.php:618
177
+ msgid "Maximum height of an image"
178
+ msgstr "Maksimalma visina slike"
179
+
180
+ #: jquery-colorbox.php:622
181
+ #: jquery-colorbox.php:668
182
+ msgid "Do not set height"
183
+ msgstr "Ne postavljaj visinu"
184
+
185
+ #: jquery-colorbox.php:625
186
+ msgid "Set maximum height of an image"
187
+ msgstr "Postavi visinu slike"
188
+
189
+ #: jquery-colorbox.php:636
190
+ msgid "Set the maximum height of the image in the Colorbox in relation to the browser window to a value in percent or pixels. If maximum height is not set, the image is as high as the Colorbox"
191
+ msgstr "Postavi maksimalnu visinu slike u Colorboxu u relaciji prema web pretraživaču u postotcima ili pikselima. Ako maksimalna visina nije postavljenja, slika je iste visine kao Colorbox"
192
+
193
+ #: jquery-colorbox.php:641
194
+ msgid "Maximum width of the Colorbox"
195
+ msgstr "Maksimalna širina Colorboxa"
196
+
197
+ #: jquery-colorbox.php:648
198
+ msgid "Set width of the Colorbox"
199
+ msgstr "Postavi širinu Colorboxa"
200
+
201
+ #: jquery-colorbox.php:659
202
+ msgid "Set the maximum width of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If width is not set, the Colorbox will be as wide as the picture in it"
203
+ msgstr "Postavi maksimalnu širinu Colorboxa u relaciji prema web pretraživaču u postotcima ili pikselima. Ako je slika veća od Colorboxa bit će prikazan scrollbar. Ako širina nije postavljena, Colorbox će biti iste širine kao i sama slika"
204
+
205
+ #: jquery-colorbox.php:664
206
+ msgid "Maximum height of the Colorbox"
207
+ msgstr "Maksimalna visina Colorboxa"
208
+
209
+ #: jquery-colorbox.php:671
210
+ msgid "Set height of the Colorbox"
211
+ msgstr "Postavi visinu Colorboxa"
212
+
213
+ #: jquery-colorbox.php:682
214
+ msgid "Set the maximum height of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If height is not set, the Colorbox will be as high as the picture in it"
215
+ msgstr "Postavi maksimalnu visinu Colorboxa u relaciji prema web pretraživaču u postotcima ili pikselima. Ako je slika veća od Colorboxa bit će prikazan scrollbar. Ako visina nije postavljena, Colorbox će biti iste visine kao i sama slika"
216
+
217
+ #: jquery-colorbox.php:687
218
+ msgid "Resize images"
219
+ msgstr "Promijeni veličinu slike"
220
+
221
+ #: jquery-colorbox.php:691
222
+ msgid "If enabled and if maximum width of images, maximum height of images, width of the Colorbox, or height of the Colorbox have been defined, ColorBox will scale photos to fit within the those values"
223
+ msgstr "Ako su omogučeni i definirani maksimalna širina slike, maksimalna visina slike, širina Colorboxa ili visina Colorboxa, Clorobox će prilagoditi veličinu slike ovim vrijednostima"
224
+
225
+ #: jquery-colorbox.php:696
226
+ msgid "Close Colorbox on overlay click"
227
+ msgstr "Zatvori Colorbox ako se klikne na overlay."
228
+
229
+ #: jquery-colorbox.php:700
230
+ msgid "If checked, enables closing ColorBox by clicking on the background overlay"
231
+ msgstr "Ako označeno, omogućava zatvaranje Colorboxa klikom na overlay u pozadini"
232
+
233
+ #: jquery-colorbox.php:705
234
+ msgid "Preload images"
235
+ msgstr "Preučitaj slike"
236
+
237
+ #: jquery-colorbox.php:709
238
+ msgid "Allows for preloading of \"next\" and \"previous\" content in a group, after the current content has finished loading. Uncheck box to disable."
239
+ msgstr "Dozvoljava preučitavanje \"next\" i \"previous\" slika unutar jedne grupe nakon učitavanja aktuelnog sadržaja. Da bi deaktivirao ovaj elemenat ukloni kvačicu iz odjeljka. "
240
+
241
+ #: jquery-colorbox.php:714
242
+ msgid "Transition type"
243
+ msgstr "Tip izmjene"
244
+
245
+ #: jquery-colorbox.php:726
246
+ msgid "The transition type of the Colorbox. Can be set to \"elastic\", \"fade\", or \"none\""
247
+ msgstr "Vrsta prijelaza.Može biti postavljena na \"elastic\", \"fade\", ili \"none\""
248
+
249
+ #: jquery-colorbox.php:731
250
+ msgid "Transition speed"
251
+ msgstr "Brzina izjmene"
252
+
253
+ #: jquery-colorbox.php:735
254
+ msgid "Sets the speed of the \"fade\" and \"elastic\" transitions, in milliseconds"
255
+ msgstr "Određuje brzinu \"fade\" i \"elastic\" prijelaza, u milisekundama"
256
+
257
+ #: jquery-colorbox.php:740
258
+ msgid "Opacity"
259
+ msgstr "Prozirnost"
260
+
261
+ #: jquery-colorbox.php:744
262
+ msgid "The overlay opacity level. Range: 0 to 1"
263
+ msgstr "Nivo Neprozirnosti overlaya. Raspon od 0 do 1"
264
+
265
+ #: jquery-colorbox.php:749
266
+ msgid "Automate hiding of flash objects"
267
+ msgstr "Automatsko sakrivanje flash objekata"
268
+
269
+ #: jquery-colorbox.php:753
270
+ msgid "Automatically hide embeded flash objects behind the Colorbox layer. Done by setting the wmode to transparent."
271
+ msgstr "Sakrij automatski flash objekte iza Colorbox layera. Za to će \"wmode\" biti podešen na \"transparent\"."
272
+
273
+ #: jquery-colorbox.php:758
274
+ msgid "Disable warning"
275
+ msgstr "Deaktiviraj upozorenje"
276
+
277
+ #: jquery-colorbox.php:762
278
+ msgid "Disables the warning that is displayed if the plugin is activated but the auto-colorbox feature for all images is turned off."
279
+ msgstr "Onemogućuje opomenu, prikazanu ako je plugin aktiviran ali element \"auto-colorbox\" za sve slike nije."
280
+
281
+ #: jquery-colorbox.php:768
282
+ msgid "Save Changes"
283
+ msgstr "Sačuvaj promjene"
284
+
285
+ #: jquery-colorbox.php:777
286
+ #: jquery-colorbox.php:786
287
+ msgid "Delete Settings"
288
+ msgstr "Izbriši postavke"
289
+
290
+ #: jquery-colorbox.php:780
291
+ msgid "Check the box and click this button to delete settings of this plugin."
292
+ msgstr "Aktiviraj Checkbox i klikni na odgovarajuće dugme da bi izbrisao opcije ovog plugin-a."
293
+
294
+ #: jquery-colorbox.php:796
295
+ msgid "Donate"
296
+ msgstr "Doniraj"
297
+
298
+ #: jquery-colorbox.php:810
299
+ msgid "If you would like to make a small (or large) contribution towards future development please consider making a donation."
300
+ msgstr "Ako bi želio da daš doprinos daljnjem usavršavanju, molim te razmisli o davanju donacije. "
301
+
302
+ #: jquery-colorbox.php:819
303
+ msgid "Translation"
304
+ msgstr ""
305
+
306
+ #: jquery-colorbox.php:822
307
+ msgid "The english translation was done by <a href=\"http://www.techotronic.de\">Arne Franken</a>."
308
+ msgstr ""
309
+
310
+ #: jquery-colorbox.php:845
311
+ #, php-format
312
+ msgid "Successfully updated %1$s settings."
313
+ msgstr "Uspješno ažurirano %1$s promjena."
314
+
315
+ #: jquery-colorbox.php:847
316
+ #, php-format
317
+ msgid "%1$s settings were successfully deleted."
318
+ msgstr "%1$s opcije su uspiješno izbrisane."
319
+
320
+ #: jquery-colorbox.php:888
321
+ msgid "needs attention: the plugin is not activated to work for all images."
322
+ msgstr "Pažnja "
323
+
324
+ #: jquery-colorbox.php:948
325
+ msgid "Did not update settings, you do not have the necessary rights."
326
+ msgstr "Opcije nisu ažurirane, nemaš potrebna ovlaštenja."
327
+
328
+ #: jquery-colorbox.php:995
329
+ #, php-format
330
+ msgid "Did not delete %1$s settings. Either you dont have the nececssary rights or you didnt check the checkbox."
331
+ msgstr " %1$s opcije nisu mogle biti izbrisane. Ili nemaš potrebna ovlaštenja ili si zaboravio da aktiviraš Checkbox."
332
+
333
+ #~ msgid "maxWidth"
334
+ #~ msgstr "Maximum width of an image"
335
+
336
+ #~ msgid "maxHeight"
337
+ #~ msgstr "Maximum height of an image"
338
+
339
+ #~ msgid "width"
340
+ #~ msgstr "Maxinmum width of the Colorbox"
341
+
342
+ #~ msgid "height"
343
+ #~ msgstr "Maximum height of the Colorbox"
localization/jquery-colorbox-de_DE.mo CHANGED
Binary file
localization/jquery-colorbox-de_DE.po CHANGED
@@ -2,266 +2,376 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: jQuery-Colorbox\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2010-02-10 22:12+0100\n"
6
- "PO-Revision-Date: 2010-02-10 22:13+0100\n"
7
- "Last-Translator: Arne Franken <blog@techotronic.de>\n"
8
- "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-Language: English\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ..\n"
 
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
- #: jquery-colorbox.php:101
18
  msgid "Theme #1"
19
- msgstr ""
20
 
21
- #: jquery-colorbox.php:102
22
  msgid "Theme #2"
23
- msgstr ""
24
 
25
- #: jquery-colorbox.php:103
26
  msgid "Theme #3"
27
- msgstr ""
28
 
29
- #: jquery-colorbox.php:104
30
  msgid "Theme #4"
31
- msgstr ""
32
 
33
- #: jquery-colorbox.php:105
34
  msgid "Theme #5"
35
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
- #: jquery-colorbox.php:110
38
  msgid "percent"
39
  msgstr "Prozent"
40
 
41
- #: jquery-colorbox.php:111
42
  msgid "pixels"
43
  msgstr "Pixel"
44
 
45
- #: jquery-colorbox.php:235
46
- #: jquery-colorbox.php:456
 
 
 
 
 
 
 
 
 
 
 
 
47
  msgid "Settings"
48
  msgstr "Einstellungen"
49
 
50
- #: jquery-colorbox.php:359
51
  msgid "close"
52
  msgstr "Schließen"
53
 
54
- #: jquery-colorbox.php:360
55
  msgid "next"
56
  msgstr "Vor"
57
 
58
- #: jquery-colorbox.php:361
59
  msgid "previous"
60
  msgstr "Zurück"
61
 
62
- #: jquery-colorbox.php:362
63
  msgid "start slideshow"
64
  msgstr "Slideshow starten"
65
 
66
- #: jquery-colorbox.php:363
67
  msgid "stop slideshow"
68
  msgstr "Slideshow beenden"
69
 
70
- #: jquery-colorbox.php:364
71
  msgid "{current} of {total} images"
72
  msgstr "{current} von {total} Bildern"
73
 
74
- #: jquery-colorbox.php:449
75
  #, php-format
76
  msgid "%1$s Settings"
77
  msgstr "%1$s Einstellungen"
78
 
79
- #: jquery-colorbox.php:465
80
  msgid "Theme"
81
- msgstr ""
82
 
83
- #: jquery-colorbox.php:477
84
  msgid "Select the theme you want to use on your blog."
85
  msgstr "W&auml;hle das Theme aus, das Du auf Deinem Blog benutzen m&ouml;chtest."
86
 
87
- #: jquery-colorbox.php:482
 
 
 
 
88
  #, php-format
89
  msgid "Automate %1$s for all images"
90
  msgstr "%1$s f&uuml;r alle Bilder automatisieren"
91
 
92
- #: jquery-colorbox.php:486
93
  msgid "Automatically add colorbox-class to images in posts and pages. Also adds colorbox-class to galleries. Images in one page or post are grouped automatically."
94
  msgstr "Automatisch die Colorbox-CSS-Klasse f&uuml;r Bilder in Beitr&auml;gen und Seite einf&uuml;gen. F&uuml;gt die Klasse auch f&uuml;r Gallerien ein. Alle Bilder innerhalb eines Beitrags oder einer Seite werden automatisch gruppiert."
95
 
96
- #: jquery-colorbox.php:491
97
  #, php-format
98
  msgid "Automate %1$s for images in WordPress galleries"
99
  msgstr "%1$s f&uuml;r Bilder in WordPress Gallerien automatisieren"
100
 
101
- #: jquery-colorbox.php:495
102
  msgid "Automatically add colorbox-class to images in WordPress galleries, but nowhere else. Images in one page or post are grouped automatically."
103
  msgstr "Automatisch die Colorbox-CSS-Klasse f&uuml;r Bilder in Gallerien einf&uuml;gen, sonst nirgends. Alle Bilder innerhalb eines Beitrags oder einer Seite werden automatisch gruppiert."
104
 
105
- #: jquery-colorbox.php:500
106
  msgid "Add Slideshow to groups"
107
  msgstr "Slideshow f&uuml;r Gruppen"
108
 
109
- #: jquery-colorbox.php:504
110
  #, php-format
111
  msgid "Add Slideshow functionality for %1$s Groups"
112
  msgstr "Slideshow Funktionalit&auml;t zu %1$s Gruppen hinzuf&uuml;gen"
113
 
114
- #: jquery-colorbox.php:509
115
  msgid "Start Slideshow automatically"
116
  msgstr "Slideshow automatisch starten"
117
 
118
- #: jquery-colorbox.php:513
119
  #, php-format
120
  msgid "Start Slideshow automatically if slideshow functionality is added to %1$s Groups"
121
  msgstr "Slideshow automatisch starten, wenn die Slideshow Funktionalit&auml;t zu %1$s Gruppen hinzugef&uuml;gt wird"
122
 
123
- #: jquery-colorbox.php:518
124
  msgid "Speed of the slideshow"
125
  msgstr "Geschwindigkeit der Slideshow"
126
 
127
- #: jquery-colorbox.php:522
128
  msgid "Sets the speed of the slideshow, in milliseconds"
129
  msgstr "Die Geschwindigkeit der Slideshow in Millisekunden einstellen"
130
 
131
- #: jquery-colorbox.php:527
132
  msgid "Maximum width of an image"
133
  msgstr "Maximale Breite eines Bildes"
134
 
135
- #: jquery-colorbox.php:531
136
- #: jquery-colorbox.php:577
137
  msgid "Do not set width"
138
  msgstr "Breite nicht setzen"
139
 
140
- #: jquery-colorbox.php:534
141
  msgid "Set maximum width of an image"
142
  msgstr "Maximale Breite eines Bildes setzen"
143
 
144
- #: jquery-colorbox.php:545
145
  msgid "Set the maximum width of the image in the Colorbox in relation to the browser window in percent or pixels. If maximum width is not set, image is as wide as the Colorbox"
146
  msgstr "Hier l&auml;sst sich die maximale Breite des Bildes in der Colorbox in Relation zum Browserfenster als Prozentwert oder in Pixeln festlegen. Das Bild wird verkleinert falls n&ouml;tig. Wenn die maximale Breite des Bildes nicht gesetzt ist, ist das Bild ist so breit wie die Colorbox"
147
 
148
- #: jquery-colorbox.php:550
149
  msgid "Maximum height of an image"
150
  msgstr "Maximale H&ouml;he eines Bildes"
151
 
152
- #: jquery-colorbox.php:554
153
- #: jquery-colorbox.php:600
154
  msgid "Do not set height"
155
  msgstr "Die H&ouml;he nicht setzen"
156
 
157
- #: jquery-colorbox.php:557
158
  msgid "Set maximum height of an image"
159
  msgstr "Maximale H&ouml;he eines Bildes setzen"
160
 
161
- #: jquery-colorbox.php:568
162
  msgid "Set the maximum height of the image in the Colorbox in relation to the browser window to a value in percent or pixels. If maximum height is not set, the image is as high as the Colorbox"
163
  msgstr "Hier l&auml;sst sich die maximale H&ouml;he des Bildes in der colorbox in Relation zum Browserfenster als Prozentwert oder in Pixeln festlegen. Das Bild wird verkleinert falls n&ouml;tig. Wenn die maximale H&oumlhe des Bildes nicht gesetzt ist, ist das Bild so hoch wie die Colorbox"
164
 
165
- #: jquery-colorbox.php:573
166
  msgid "Maximum width of the Colorbox"
167
  msgstr "Maximale Breite der Colorbox"
168
 
169
- #: jquery-colorbox.php:580
170
  msgid "Set width of the Colorbox"
171
  msgstr "Breite der Colorbox"
172
 
173
- #: jquery-colorbox.php:591
174
  msgid "Set the maximum width of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If width is not set, the Colorbox will be as wide as the picture in it"
175
  msgstr "Hier l&auml;sst sich die maximale Breite der Colorbox in Relation zum Browserfenster als Prozentwert oder in Pixeln festlegen. Wenn das Bild gr&ouml;sser als die Colorbox ist, werden Scrollbalken dargestellt. Wenn keine maximale Breite f&uuml;r die Colorbox gesetzt ist, wird die Colorbox so breit wie das Bild"
176
 
177
- #: jquery-colorbox.php:596
178
  msgid "Maximum height of the Colorbox"
179
  msgstr "Maximale H&ouml;he der Colorbox"
180
 
181
- #: jquery-colorbox.php:603
182
  msgid "Set height of the Colorbox"
183
  msgstr "H&ouml;he der Colorbox"
184
 
185
- #: jquery-colorbox.php:614
186
  msgid "Set the maximum height of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If height is not set, the Colorbox will be as high as the picture in it"
187
  msgstr "Hier l&auml;sst sich die maximale H&ouml;he der Colorbox inRrelation zum Browserfenster als Prozentwert oder in Pixeln festlegen. Wenn das Bild gr&ouml;sser als die Colorbox ist, werden Scrollbalken dargestellt. Wenn keine maximale H&ouml;he f&uuml;r die Colorbox gesetzt ist, wird die Colorbox so hoch wie das Bild"
188
 
189
- #: jquery-colorbox.php:619
190
  msgid "Resize images"
191
  msgstr "Bilder skalieren"
192
 
193
- #: jquery-colorbox.php:623
194
  msgid "If enabled and if maximum width of images, maximum height of images, width of the Colorbox, or height of the Colorbox have been defined, ColorBox will scale photos to fit within the those values"
195
  msgstr "Wenn diese Option aktiviert ist und die maximale Breite von Bildern, die maximale H&ouml;he von Bildern, die Breite der Colorbox oder die H&ouml;he der Colorbox gesetzt ist, wird Colorbox Bilder skalieren"
196
 
197
- #: jquery-colorbox.php:629
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
198
  msgid "Save Changes"
199
  msgstr "&Auml;nderungen speichern"
200
 
201
- #: jquery-colorbox.php:638
202
- #: jquery-colorbox.php:647
203
  msgid "Delete Settings"
204
  msgstr "Einstellungen löschen"
205
 
206
- #: jquery-colorbox.php:641
207
  msgid "Check the box and click this button to delete settings of this plugin."
208
  msgstr "Aktivieren Sie die Checkbox und klicken Sie anschließend die folgende Schaltfläche, um die Einstellungen dieses Plugins zu entfernen."
209
 
210
- #: jquery-colorbox.php:657
211
  msgid "Donate"
212
  msgstr "Spenden"
213
 
214
- #: jquery-colorbox.php:671
215
  msgid "If you would like to make a small (or large) contribution towards future development please consider making a donation."
216
  msgstr "Wenn Du eine kleine (oder grosse) Spende f&uuml;r die Weiterentwicklung abgeben m&ouml;chtest, kannst Du das per PayPal tun."
217
 
218
- #: jquery-colorbox.php:696
 
 
 
 
 
 
 
 
219
  #, php-format
220
  msgid "Successfully updated %1$s settings."
221
- msgstr "&Auml;nderungen der %1$s Einstellungen wurden erfolgreich gespeichert"
222
 
223
- #: jquery-colorbox.php:698
224
  #, php-format
225
  msgid "%1$s settings were successfully deleted."
226
  msgstr "Die Einstellungen von %1$s wurden erfolgreich entfernt."
227
 
228
- #: jquery-colorbox.php:780
 
 
 
 
229
  msgid "Did not update settings, you do not have the necessary rights."
230
  msgstr "Einstellungen nicht aktualisiert, da Sie nicht die hierfür erforderlichen Rechte besitzen."
231
 
232
- #: jquery-colorbox.php:830
233
  #, php-format
234
  msgid "Did not delete %1$s settings. Either you dont have the nececssary rights or you didnt check the checkbox."
235
- msgstr "Konnte die Einstellungen von %1$s nicht entfernen. Entweder besitzen Sie nicht die notwendigen Rechte hierzu oder Sie haben vergessen, die Checkbox [x] zu aktivieren."
236
 
237
  #~ msgid "jQuery Colorbox"
238
  #~ msgstr "jQuery ColorBox"
 
239
  #~ msgid "jQuery Colorbox Settings"
240
  #~ msgstr "jQuery Colorbox Einstellungen"
 
241
  #~ msgid "Automate jQuery Colorbox"
242
  #~ msgstr "Colorbox automatisieren"
 
243
  #~ msgid "Do not set maximum width"
244
  #~ msgstr "Maximale Breite nicht setzen"
 
245
  #~ msgid "Do not set maximum height"
246
  #~ msgstr "Die maximale H&ouml;he nicht setzen"
 
247
  #~ msgid "Set width of an image"
248
  #~ msgstr "Maximale Breite eines Bildes setzen"
 
249
  #~ msgid "Set height of an image"
250
  #~ msgstr "Maximale H&ouml;he eines Bildes setzen"
 
251
  #~ msgid "maxWidth"
252
  #~ msgstr "Maximale Breite des Bildes"
 
253
  #~ msgid "maxHeight"
254
  #~ msgstr "Maximale H&ouml;he des Bildes"
 
255
  #~ msgid "width"
256
  #~ msgstr "Maximale Breite der Colorbox"
 
257
  #~ msgid "height"
258
  #~ msgstr "Maximale H&ouml;he der Colorbox"
 
259
  #~ msgid "donation"
260
  #~ msgstr "Spende"
 
261
  #~ msgid "Enable Automatic"
262
  #~ msgstr "Automatismus aktivieren"
 
263
  #~ msgid "You can disable the colorbox effect from the Wordpress editor."
264
  #~ msgstr "Du kannst den Colorbox Effekt im Wordpress Editor abschalten."
 
265
  #~ msgid "Disable Colorbox"
266
  #~ msgstr "Colorbox abschalten"
267
-
2
  msgstr ""
3
  "Project-Id-Version: jQuery-Colorbox\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-03-28 21:48+0100\n"
6
+ "PO-Revision-Date: 2010-03-28 22:58+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Techotronic <blog@techotronic.de>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: German\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-Country: GERMANY\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
+ #: jquery-colorbox.php:116
19
  msgid "Theme #1"
20
+ msgstr "Thema #1"
21
 
22
+ #: jquery-colorbox.php:117
23
  msgid "Theme #2"
24
+ msgstr "Thema #2"
25
 
26
+ #: jquery-colorbox.php:118
27
  msgid "Theme #3"
28
+ msgstr "Thema #3"
29
 
30
+ #: jquery-colorbox.php:119
31
  msgid "Theme #4"
32
+ msgstr "Thema #4"
33
 
34
+ #: jquery-colorbox.php:120
35
  msgid "Theme #5"
36
+ msgstr "Thema #5"
37
+
38
+ #: jquery-colorbox.php:121
39
+ msgid "Theme #6"
40
+ msgstr "Thema #6"
41
+
42
+ #: jquery-colorbox.php:122
43
+ msgid "Theme #7"
44
+ msgstr "Thema #7"
45
+
46
+ #: jquery-colorbox.php:123
47
+ msgid "Theme #8"
48
+ msgstr "Thema #8"
49
 
50
+ #: jquery-colorbox.php:128
51
  msgid "percent"
52
  msgstr "Prozent"
53
 
54
+ #: jquery-colorbox.php:129
55
  msgid "pixels"
56
  msgstr "Pixel"
57
 
58
+ #: jquery-colorbox.php:134
59
+ msgid "elastic"
60
+ msgstr "Elastisch"
61
+
62
+ #: jquery-colorbox.php:135
63
+ msgid "fade"
64
+ msgstr "Verblassen"
65
+
66
+ #: jquery-colorbox.php:136
67
+ msgid "none"
68
+ msgstr "Kein Effekt"
69
+
70
+ #: jquery-colorbox.php:267
71
+ #: jquery-colorbox.php:514
72
  msgid "Settings"
73
  msgstr "Einstellungen"
74
 
75
+ #: jquery-colorbox.php:386
76
  msgid "close"
77
  msgstr "Schließen"
78
 
79
+ #: jquery-colorbox.php:387
80
  msgid "next"
81
  msgstr "Vor"
82
 
83
+ #: jquery-colorbox.php:388
84
  msgid "previous"
85
  msgstr "Zurück"
86
 
87
+ #: jquery-colorbox.php:389
88
  msgid "start slideshow"
89
  msgstr "Slideshow starten"
90
 
91
+ #: jquery-colorbox.php:390
92
  msgid "stop slideshow"
93
  msgstr "Slideshow beenden"
94
 
95
+ #: jquery-colorbox.php:391
96
  msgid "{current} of {total} images"
97
  msgstr "{current} von {total} Bildern"
98
 
99
+ #: jquery-colorbox.php:507
100
  #, php-format
101
  msgid "%1$s Settings"
102
  msgstr "%1$s Einstellungen"
103
 
104
+ #: jquery-colorbox.php:523
105
  msgid "Theme"
106
+ msgstr "Thema"
107
 
108
+ #: jquery-colorbox.php:535
109
  msgid "Select the theme you want to use on your blog."
110
  msgstr "W&auml;hle das Theme aus, das Du auf Deinem Blog benutzen m&ouml;chtest."
111
 
112
+ #: jquery-colorbox.php:540
113
+ msgid "Theme screenshot"
114
+ msgstr "Screenshot des Themas"
115
+
116
+ #: jquery-colorbox.php:550
117
  #, php-format
118
  msgid "Automate %1$s for all images"
119
  msgstr "%1$s f&uuml;r alle Bilder automatisieren"
120
 
121
+ #: jquery-colorbox.php:554
122
  msgid "Automatically add colorbox-class to images in posts and pages. Also adds colorbox-class to galleries. Images in one page or post are grouped automatically."
123
  msgstr "Automatisch die Colorbox-CSS-Klasse f&uuml;r Bilder in Beitr&auml;gen und Seite einf&uuml;gen. F&uuml;gt die Klasse auch f&uuml;r Gallerien ein. Alle Bilder innerhalb eines Beitrags oder einer Seite werden automatisch gruppiert."
124
 
125
+ #: jquery-colorbox.php:559
126
  #, php-format
127
  msgid "Automate %1$s for images in WordPress galleries"
128
  msgstr "%1$s f&uuml;r Bilder in WordPress Gallerien automatisieren"
129
 
130
+ #: jquery-colorbox.php:563
131
  msgid "Automatically add colorbox-class to images in WordPress galleries, but nowhere else. Images in one page or post are grouped automatically."
132
  msgstr "Automatisch die Colorbox-CSS-Klasse f&uuml;r Bilder in Gallerien einf&uuml;gen, sonst nirgends. Alle Bilder innerhalb eines Beitrags oder einer Seite werden automatisch gruppiert."
133
 
134
+ #: jquery-colorbox.php:568
135
  msgid "Add Slideshow to groups"
136
  msgstr "Slideshow f&uuml;r Gruppen"
137
 
138
+ #: jquery-colorbox.php:572
139
  #, php-format
140
  msgid "Add Slideshow functionality for %1$s Groups"
141
  msgstr "Slideshow Funktionalit&auml;t zu %1$s Gruppen hinzuf&uuml;gen"
142
 
143
+ #: jquery-colorbox.php:577
144
  msgid "Start Slideshow automatically"
145
  msgstr "Slideshow automatisch starten"
146
 
147
+ #: jquery-colorbox.php:581
148
  #, php-format
149
  msgid "Start Slideshow automatically if slideshow functionality is added to %1$s Groups"
150
  msgstr "Slideshow automatisch starten, wenn die Slideshow Funktionalit&auml;t zu %1$s Gruppen hinzugef&uuml;gt wird"
151
 
152
+ #: jquery-colorbox.php:586
153
  msgid "Speed of the slideshow"
154
  msgstr "Geschwindigkeit der Slideshow"
155
 
156
+ #: jquery-colorbox.php:590
157
  msgid "Sets the speed of the slideshow, in milliseconds"
158
  msgstr "Die Geschwindigkeit der Slideshow in Millisekunden einstellen"
159
 
160
+ #: jquery-colorbox.php:595
161
  msgid "Maximum width of an image"
162
  msgstr "Maximale Breite eines Bildes"
163
 
164
+ #: jquery-colorbox.php:599
165
+ #: jquery-colorbox.php:645
166
  msgid "Do not set width"
167
  msgstr "Breite nicht setzen"
168
 
169
+ #: jquery-colorbox.php:602
170
  msgid "Set maximum width of an image"
171
  msgstr "Maximale Breite eines Bildes setzen"
172
 
173
+ #: jquery-colorbox.php:613
174
  msgid "Set the maximum width of the image in the Colorbox in relation to the browser window in percent or pixels. If maximum width is not set, image is as wide as the Colorbox"
175
  msgstr "Hier l&auml;sst sich die maximale Breite des Bildes in der Colorbox in Relation zum Browserfenster als Prozentwert oder in Pixeln festlegen. Das Bild wird verkleinert falls n&ouml;tig. Wenn die maximale Breite des Bildes nicht gesetzt ist, ist das Bild ist so breit wie die Colorbox"
176
 
177
+ #: jquery-colorbox.php:618
178
  msgid "Maximum height of an image"
179
  msgstr "Maximale H&ouml;he eines Bildes"
180
 
181
+ #: jquery-colorbox.php:622
182
+ #: jquery-colorbox.php:668
183
  msgid "Do not set height"
184
  msgstr "Die H&ouml;he nicht setzen"
185
 
186
+ #: jquery-colorbox.php:625
187
  msgid "Set maximum height of an image"
188
  msgstr "Maximale H&ouml;he eines Bildes setzen"
189
 
190
+ #: jquery-colorbox.php:636
191
  msgid "Set the maximum height of the image in the Colorbox in relation to the browser window to a value in percent or pixels. If maximum height is not set, the image is as high as the Colorbox"
192
  msgstr "Hier l&auml;sst sich die maximale H&ouml;he des Bildes in der colorbox in Relation zum Browserfenster als Prozentwert oder in Pixeln festlegen. Das Bild wird verkleinert falls n&ouml;tig. Wenn die maximale H&oumlhe des Bildes nicht gesetzt ist, ist das Bild so hoch wie die Colorbox"
193
 
194
+ #: jquery-colorbox.php:641
195
  msgid "Maximum width of the Colorbox"
196
  msgstr "Maximale Breite der Colorbox"
197
 
198
+ #: jquery-colorbox.php:648
199
  msgid "Set width of the Colorbox"
200
  msgstr "Breite der Colorbox"
201
 
202
+ #: jquery-colorbox.php:659
203
  msgid "Set the maximum width of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If width is not set, the Colorbox will be as wide as the picture in it"
204
  msgstr "Hier l&auml;sst sich die maximale Breite der Colorbox in Relation zum Browserfenster als Prozentwert oder in Pixeln festlegen. Wenn das Bild gr&ouml;sser als die Colorbox ist, werden Scrollbalken dargestellt. Wenn keine maximale Breite f&uuml;r die Colorbox gesetzt ist, wird die Colorbox so breit wie das Bild"
205
 
206
+ #: jquery-colorbox.php:664
207
  msgid "Maximum height of the Colorbox"
208
  msgstr "Maximale H&ouml;he der Colorbox"
209
 
210
+ #: jquery-colorbox.php:671
211
  msgid "Set height of the Colorbox"
212
  msgstr "H&ouml;he der Colorbox"
213
 
214
+ #: jquery-colorbox.php:682
215
  msgid "Set the maximum height of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If height is not set, the Colorbox will be as high as the picture in it"
216
  msgstr "Hier l&auml;sst sich die maximale H&ouml;he der Colorbox inRrelation zum Browserfenster als Prozentwert oder in Pixeln festlegen. Wenn das Bild gr&ouml;sser als die Colorbox ist, werden Scrollbalken dargestellt. Wenn keine maximale H&ouml;he f&uuml;r die Colorbox gesetzt ist, wird die Colorbox so hoch wie das Bild"
217
 
218
+ #: jquery-colorbox.php:687
219
  msgid "Resize images"
220
  msgstr "Bilder skalieren"
221
 
222
+ #: jquery-colorbox.php:691
223
  msgid "If enabled and if maximum width of images, maximum height of images, width of the Colorbox, or height of the Colorbox have been defined, ColorBox will scale photos to fit within the those values"
224
  msgstr "Wenn diese Option aktiviert ist und die maximale Breite von Bildern, die maximale H&ouml;he von Bildern, die Breite der Colorbox oder die H&ouml;he der Colorbox gesetzt ist, wird Colorbox Bilder skalieren"
225
 
226
+ #: jquery-colorbox.php:696
227
+ msgid "Close Colorbox on overlay click"
228
+ msgstr "Colorbox schliessen wenn auf das Overlay geklickt wird"
229
+
230
+ #: jquery-colorbox.php:700
231
+ msgid "If checked, enables closing ColorBox by clicking on the background overlay"
232
+ msgstr "Erlaubt das Schliessen der Colorbox wenn man auf das Overlay klickt"
233
+
234
+ #: jquery-colorbox.php:705
235
+ msgid "Preload images"
236
+ msgstr "Bilder vorladen"
237
+
238
+ #: jquery-colorbox.php:709
239
+ msgid "Allows for preloading of \"next\" and \"previous\" content in a group, after the current content has finished loading. Uncheck box to disable."
240
+ msgstr "Erlaubt das vorladen der \"Vor\" und \"Zur&uuml;ck\" Bilder innerhalb einer Gruppe nachdem der aktuell angezeigte Inhalt geladen wurde. Haken aus der Box entfernen um dieses Feature zu deaktivieren."
241
+
242
+ #: jquery-colorbox.php:714
243
+ msgid "Transition type"
244
+ msgstr "&Uuml;bergangstyp"
245
+
246
+ #: jquery-colorbox.php:726
247
+ msgid "The transition type of the Colorbox. Can be set to \"elastic\", \"fade\", or \"none\""
248
+ msgstr "Der &Uuml;bergangstyp der Colorbox. Kann auf \"Elastisch\", \"Verblassen\" oder \"kein Effekt\" gesetzt werden"
249
+
250
+ #: jquery-colorbox.php:731
251
+ msgid "Transition speed"
252
+ msgstr "Geschwindigkeit des &Uuml;bergangs"
253
+
254
+ #: jquery-colorbox.php:735
255
+ msgid "Sets the speed of the \"fade\" and \"elastic\" transitions, in milliseconds"
256
+ msgstr "Die Geschwindigkeit der &Uuml;berg&auml;nge \"Elastisch\" und \"Verblassen\", in Millisekunden"
257
+
258
+ #: jquery-colorbox.php:740
259
+ msgid "Opacity"
260
+ msgstr "Deckkraft"
261
+
262
+ #: jquery-colorbox.php:744
263
+ msgid "The overlay opacity level. Range: 0 to 1"
264
+ msgstr "Die Deckkraft des Overlays. Werte von 0 bis 1 sind zugelassen"
265
+
266
+ #: jquery-colorbox.php:749
267
+ msgid "Automate hiding of flash objects"
268
+ msgstr "Verstecken von Flash Objekten"
269
+
270
+ #: jquery-colorbox.php:753
271
+ msgid "Automatically hide embeded flash objects behind the Colorbox layer. Done by setting the wmode to transparent."
272
+ msgstr "Flash Objekte automatisch unter dem Colorbox Overlay verstecken. Daf&uuml;r wird der \"wmode\" auf \"transparent\" gesetzt."
273
+
274
+ #: jquery-colorbox.php:758
275
+ msgid "Disable warning"
276
+ msgstr "Warnung deaktivieren"
277
+
278
+ #: jquery-colorbox.php:762
279
+ msgid "Disables the warning that is displayed if the plugin is activated but the auto-colorbox feature for all images is turned off."
280
+ msgstr "Deaktiviert die Warnung, die angezeigt wird, wenn das Plugin aktiviert ist, aber das auto-colorbox Feature f&uuml;r alle Bilder nicht."
281
+
282
+ #: jquery-colorbox.php:768
283
  msgid "Save Changes"
284
  msgstr "&Auml;nderungen speichern"
285
 
286
+ #: jquery-colorbox.php:777
287
+ #: jquery-colorbox.php:786
288
  msgid "Delete Settings"
289
  msgstr "Einstellungen löschen"
290
 
291
+ #: jquery-colorbox.php:780
292
  msgid "Check the box and click this button to delete settings of this plugin."
293
  msgstr "Aktivieren Sie die Checkbox und klicken Sie anschließend die folgende Schaltfläche, um die Einstellungen dieses Plugins zu entfernen."
294
 
295
+ #: jquery-colorbox.php:796
296
  msgid "Donate"
297
  msgstr "Spenden"
298
 
299
+ #: jquery-colorbox.php:810
300
  msgid "If you would like to make a small (or large) contribution towards future development please consider making a donation."
301
  msgstr "Wenn Du eine kleine (oder grosse) Spende f&uuml;r die Weiterentwicklung abgeben m&ouml;chtest, kannst Du das per PayPal tun."
302
 
303
+ #: jquery-colorbox.php:819
304
+ msgid "Translation"
305
+ msgstr "&Uuml;bersetzung"
306
+
307
+ #: jquery-colorbox.php:822
308
+ msgid "The english translation was done by <a href=\"http://www.techotronic.de\">Arne Franken</a>."
309
+ msgstr "Die &Uuml;bersetzung ins Deutsche wurde von <a href=\"http://www.techotronic.de\">Arne Franken</a> durchgef&uuml;hrt."
310
+
311
+ #: jquery-colorbox.php:845
312
  #, php-format
313
  msgid "Successfully updated %1$s settings."
314
+ msgstr "&Auml;nderungen der %1$s Einstellungen wurden erfolgreich gespeichert."
315
 
316
+ #: jquery-colorbox.php:847
317
  #, php-format
318
  msgid "%1$s settings were successfully deleted."
319
  msgstr "Die Einstellungen von %1$s wurden erfolgreich entfernt."
320
 
321
+ #: jquery-colorbox.php:888
322
+ msgid "needs attention: the plugin is not activated to work for all images."
323
+ msgstr "ben&ouml;tigt Aufmerksamkeit: das Plugin ist nicht f&uuml;r alle Bilder aktiviert."
324
+
325
+ #: jquery-colorbox.php:948
326
  msgid "Did not update settings, you do not have the necessary rights."
327
  msgstr "Einstellungen nicht aktualisiert, da Sie nicht die hierfür erforderlichen Rechte besitzen."
328
 
329
+ #: jquery-colorbox.php:995
330
  #, php-format
331
  msgid "Did not delete %1$s settings. Either you dont have the nececssary rights or you didnt check the checkbox."
332
+ msgstr "Konnte die Einstellungen von %1$s nicht entfernen. Entweder besitzen Sie nicht die notwendigen Rechte, oder Sie haben vergessen, die Checkbox [x] zu aktivieren."
333
 
334
  #~ msgid "jQuery Colorbox"
335
  #~ msgstr "jQuery ColorBox"
336
+
337
  #~ msgid "jQuery Colorbox Settings"
338
  #~ msgstr "jQuery Colorbox Einstellungen"
339
+
340
  #~ msgid "Automate jQuery Colorbox"
341
  #~ msgstr "Colorbox automatisieren"
342
+
343
  #~ msgid "Do not set maximum width"
344
  #~ msgstr "Maximale Breite nicht setzen"
345
+
346
  #~ msgid "Do not set maximum height"
347
  #~ msgstr "Die maximale H&ouml;he nicht setzen"
348
+
349
  #~ msgid "Set width of an image"
350
  #~ msgstr "Maximale Breite eines Bildes setzen"
351
+
352
  #~ msgid "Set height of an image"
353
  #~ msgstr "Maximale H&ouml;he eines Bildes setzen"
354
+
355
  #~ msgid "maxWidth"
356
  #~ msgstr "Maximale Breite des Bildes"
357
+
358
  #~ msgid "maxHeight"
359
  #~ msgstr "Maximale H&ouml;he des Bildes"
360
+
361
  #~ msgid "width"
362
  #~ msgstr "Maximale Breite der Colorbox"
363
+
364
  #~ msgid "height"
365
  #~ msgstr "Maximale H&ouml;he der Colorbox"
366
+
367
  #~ msgid "donation"
368
  #~ msgstr "Spende"
369
+
370
  #~ msgid "Enable Automatic"
371
  #~ msgstr "Automatismus aktivieren"
372
+
373
  #~ msgid "You can disable the colorbox effect from the Wordpress editor."
374
  #~ msgstr "Du kannst den Colorbox Effekt im Wordpress Editor abschalten."
375
+
376
  #~ msgid "Disable Colorbox"
377
  #~ msgstr "Colorbox abschalten"
 
localization/jquery-colorbox-en_EN.mo CHANGED
Binary file
localization/jquery-colorbox-en_EN.po CHANGED
@@ -2,244 +2,343 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: jQuery-Colorbox\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2010-02-10 22:12+0100\n"
6
- "PO-Revision-Date: 2010-02-10 22:12+0100\n"
7
- "Last-Translator: Arne Franken <blog@techotronic.de>\n"
8
- "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Poedit-Language: English\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ..\n"
 
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
- #: jquery-colorbox.php:101
18
  msgid "Theme #1"
19
  msgstr ""
20
 
21
- #: jquery-colorbox.php:102
22
  msgid "Theme #2"
23
  msgstr ""
24
 
25
- #: jquery-colorbox.php:103
26
  msgid "Theme #3"
27
  msgstr ""
28
 
29
- #: jquery-colorbox.php:104
30
  msgid "Theme #4"
31
  msgstr ""
32
 
33
- #: jquery-colorbox.php:105
34
  msgid "Theme #5"
35
  msgstr ""
36
 
37
- #: jquery-colorbox.php:110
 
 
 
 
 
 
 
 
 
 
 
 
38
  msgid "percent"
39
  msgstr ""
40
 
41
- #: jquery-colorbox.php:111
42
  msgid "pixels"
43
  msgstr ""
44
 
45
- #: jquery-colorbox.php:235
46
- #: jquery-colorbox.php:456
 
 
 
 
 
 
 
 
 
 
 
 
47
  msgid "Settings"
48
  msgstr ""
49
 
50
- #: jquery-colorbox.php:359
51
  msgid "close"
52
  msgstr ""
53
 
54
- #: jquery-colorbox.php:360
55
  msgid "next"
56
  msgstr ""
57
 
58
- #: jquery-colorbox.php:361
59
  msgid "previous"
60
  msgstr ""
61
 
62
- #: jquery-colorbox.php:362
63
  msgid "start slideshow"
64
  msgstr ""
65
 
66
- #: jquery-colorbox.php:363
67
  msgid "stop slideshow"
68
  msgstr ""
69
 
70
- #: jquery-colorbox.php:364
71
  msgid "{current} of {total} images"
72
  msgstr ""
73
 
74
- #: jquery-colorbox.php:449
75
  #, php-format
76
  msgid "%1$s Settings"
77
  msgstr ""
78
 
79
- #: jquery-colorbox.php:465
80
  msgid "Theme"
81
  msgstr ""
82
 
83
- #: jquery-colorbox.php:477
84
  msgid "Select the theme you want to use on your blog."
85
  msgstr ""
86
 
87
- #: jquery-colorbox.php:482
 
 
 
 
88
  #, php-format
89
  msgid "Automate %1$s for all images"
90
  msgstr ""
91
 
92
- #: jquery-colorbox.php:486
93
  msgid "Automatically add colorbox-class to images in posts and pages. Also adds colorbox-class to galleries. Images in one page or post are grouped automatically."
94
  msgstr ""
95
 
96
- #: jquery-colorbox.php:491
97
  #, php-format
98
  msgid "Automate %1$s for images in WordPress galleries"
99
  msgstr ""
100
 
101
- #: jquery-colorbox.php:495
102
  msgid "Automatically add colorbox-class to images in WordPress galleries, but nowhere else. Images in one page or post are grouped automatically."
103
  msgstr ""
104
 
105
- #: jquery-colorbox.php:500
106
  msgid "Add Slideshow to groups"
107
  msgstr ""
108
 
109
- #: jquery-colorbox.php:504
110
  #, php-format
111
  msgid "Add Slideshow functionality for %1$s Groups"
112
  msgstr ""
113
 
114
- #: jquery-colorbox.php:509
115
  msgid "Start Slideshow automatically"
116
  msgstr ""
117
 
118
- #: jquery-colorbox.php:513
119
  #, php-format
120
  msgid "Start Slideshow automatically if slideshow functionality is added to %1$s Groups"
121
  msgstr ""
122
 
123
- #: jquery-colorbox.php:518
124
  msgid "Speed of the slideshow"
125
  msgstr ""
126
 
127
- #: jquery-colorbox.php:522
128
  msgid "Sets the speed of the slideshow, in milliseconds"
129
  msgstr ""
130
 
131
- #: jquery-colorbox.php:527
132
  msgid "Maximum width of an image"
133
  msgstr ""
134
 
135
- #: jquery-colorbox.php:531
136
- #: jquery-colorbox.php:577
137
  msgid "Do not set width"
138
  msgstr ""
139
 
140
- #: jquery-colorbox.php:534
141
  msgid "Set maximum width of an image"
142
  msgstr ""
143
 
144
- #: jquery-colorbox.php:545
145
  msgid "Set the maximum width of the image in the Colorbox in relation to the browser window in percent or pixels. If maximum width is not set, image is as wide as the Colorbox"
146
  msgstr ""
147
 
148
- #: jquery-colorbox.php:550
149
  msgid "Maximum height of an image"
150
  msgstr ""
151
 
152
- #: jquery-colorbox.php:554
153
- #: jquery-colorbox.php:600
154
  msgid "Do not set height"
155
  msgstr ""
156
 
157
- #: jquery-colorbox.php:557
158
  msgid "Set maximum height of an image"
159
  msgstr ""
160
 
161
- #: jquery-colorbox.php:568
162
  msgid "Set the maximum height of the image in the Colorbox in relation to the browser window to a value in percent or pixels. If maximum height is not set, the image is as high as the Colorbox"
163
  msgstr ""
164
 
165
- #: jquery-colorbox.php:573
166
  msgid "Maximum width of the Colorbox"
167
  msgstr ""
168
 
169
- #: jquery-colorbox.php:580
170
  msgid "Set width of the Colorbox"
171
  msgstr ""
172
 
173
- #: jquery-colorbox.php:591
174
  msgid "Set the maximum width of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If width is not set, the Colorbox will be as wide as the picture in it"
175
  msgstr ""
176
 
177
- #: jquery-colorbox.php:596
178
  msgid "Maximum height of the Colorbox"
179
  msgstr ""
180
 
181
- #: jquery-colorbox.php:603
182
  msgid "Set height of the Colorbox"
183
  msgstr ""
184
 
185
- #: jquery-colorbox.php:614
186
  msgid "Set the maximum height of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If height is not set, the Colorbox will be as high as the picture in it"
187
  msgstr ""
188
 
189
- #: jquery-colorbox.php:619
190
  msgid "Resize images"
191
  msgstr ""
192
 
193
- #: jquery-colorbox.php:623
194
  msgid "If enabled and if maximum width of images, maximum height of images, width of the Colorbox, or height of the Colorbox have been defined, ColorBox will scale photos to fit within the those values"
195
  msgstr ""
196
 
197
- #: jquery-colorbox.php:629
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
198
  msgid "Save Changes"
199
  msgstr ""
200
 
201
- #: jquery-colorbox.php:638
202
- #: jquery-colorbox.php:647
203
  msgid "Delete Settings"
204
  msgstr ""
205
 
206
- #: jquery-colorbox.php:641
207
  msgid "Check the box and click this button to delete settings of this plugin."
208
  msgstr ""
209
 
210
- #: jquery-colorbox.php:657
211
  msgid "Donate"
212
  msgstr ""
213
 
214
- #: jquery-colorbox.php:671
215
  msgid "If you would like to make a small (or large) contribution towards future development please consider making a donation."
216
  msgstr ""
217
 
218
- #: jquery-colorbox.php:696
 
 
 
 
 
 
 
 
219
  #, php-format
220
  msgid "Successfully updated %1$s settings."
221
  msgstr ""
222
 
223
- #: jquery-colorbox.php:698
224
  #, php-format
225
  msgid "%1$s settings were successfully deleted."
226
  msgstr ""
227
 
228
- #: jquery-colorbox.php:780
 
 
 
 
229
  msgid "Did not update settings, you do not have the necessary rights."
230
  msgstr ""
231
 
232
- #: jquery-colorbox.php:830
233
  #, php-format
234
  msgid "Did not delete %1$s settings. Either you dont have the nececssary rights or you didnt check the checkbox."
235
  msgstr ""
236
 
237
  #~ msgid "maxWidth"
238
  #~ msgstr "Maximum width of an image"
 
239
  #~ msgid "maxHeight"
240
  #~ msgstr "Maximum height of an image"
 
241
  #~ msgid "width"
242
  #~ msgstr "Maxinmum width of the Colorbox"
 
243
  #~ msgid "height"
244
  #~ msgstr "Maximum height of the Colorbox"
245
-
2
  msgstr ""
3
  "Project-Id-Version: jQuery-Colorbox\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-03-28 21:47+0100\n"
6
+ "PO-Revision-Date: 2010-03-28 22:58+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Techotronic <blog@techotronic.de>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Poedit-Language: English\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-Country: GERMANY\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
+ #: jquery-colorbox.php:116
19
  msgid "Theme #1"
20
  msgstr ""
21
 
22
+ #: jquery-colorbox.php:117
23
  msgid "Theme #2"
24
  msgstr ""
25
 
26
+ #: jquery-colorbox.php:118
27
  msgid "Theme #3"
28
  msgstr ""
29
 
30
+ #: jquery-colorbox.php:119
31
  msgid "Theme #4"
32
  msgstr ""
33
 
34
+ #: jquery-colorbox.php:120
35
  msgid "Theme #5"
36
  msgstr ""
37
 
38
+ #: jquery-colorbox.php:121
39
+ msgid "Theme #6"
40
+ msgstr ""
41
+
42
+ #: jquery-colorbox.php:122
43
+ msgid "Theme #7"
44
+ msgstr ""
45
+
46
+ #: jquery-colorbox.php:123
47
+ msgid "Theme #8"
48
+ msgstr ""
49
+
50
+ #: jquery-colorbox.php:128
51
  msgid "percent"
52
  msgstr ""
53
 
54
+ #: jquery-colorbox.php:129
55
  msgid "pixels"
56
  msgstr ""
57
 
58
+ #: jquery-colorbox.php:134
59
+ msgid "elastic"
60
+ msgstr ""
61
+
62
+ #: jquery-colorbox.php:135
63
+ msgid "fade"
64
+ msgstr ""
65
+
66
+ #: jquery-colorbox.php:136
67
+ msgid "none"
68
+ msgstr ""
69
+
70
+ #: jquery-colorbox.php:267
71
+ #: jquery-colorbox.php:514
72
  msgid "Settings"
73
  msgstr ""
74
 
75
+ #: jquery-colorbox.php:386
76
  msgid "close"
77
  msgstr ""
78
 
79
+ #: jquery-colorbox.php:387
80
  msgid "next"
81
  msgstr ""
82
 
83
+ #: jquery-colorbox.php:388
84
  msgid "previous"
85
  msgstr ""
86
 
87
+ #: jquery-colorbox.php:389
88
  msgid "start slideshow"
89
  msgstr ""
90
 
91
+ #: jquery-colorbox.php:390
92
  msgid "stop slideshow"
93
  msgstr ""
94
 
95
+ #: jquery-colorbox.php:391
96
  msgid "{current} of {total} images"
97
  msgstr ""
98
 
99
+ #: jquery-colorbox.php:507
100
  #, php-format
101
  msgid "%1$s Settings"
102
  msgstr ""
103
 
104
+ #: jquery-colorbox.php:523
105
  msgid "Theme"
106
  msgstr ""
107
 
108
+ #: jquery-colorbox.php:535
109
  msgid "Select the theme you want to use on your blog."
110
  msgstr ""
111
 
112
+ #: jquery-colorbox.php:540
113
+ msgid "Theme screenshot"
114
+ msgstr ""
115
+
116
+ #: jquery-colorbox.php:550
117
  #, php-format
118
  msgid "Automate %1$s for all images"
119
  msgstr ""
120
 
121
+ #: jquery-colorbox.php:554
122
  msgid "Automatically add colorbox-class to images in posts and pages. Also adds colorbox-class to galleries. Images in one page or post are grouped automatically."
123
  msgstr ""
124
 
125
+ #: jquery-colorbox.php:559
126
  #, php-format
127
  msgid "Automate %1$s for images in WordPress galleries"
128
  msgstr ""
129
 
130
+ #: jquery-colorbox.php:563
131
  msgid "Automatically add colorbox-class to images in WordPress galleries, but nowhere else. Images in one page or post are grouped automatically."
132
  msgstr ""
133
 
134
+ #: jquery-colorbox.php:568
135
  msgid "Add Slideshow to groups"
136
  msgstr ""
137
 
138
+ #: jquery-colorbox.php:572
139
  #, php-format
140
  msgid "Add Slideshow functionality for %1$s Groups"
141
  msgstr ""
142
 
143
+ #: jquery-colorbox.php:577
144
  msgid "Start Slideshow automatically"
145
  msgstr ""
146
 
147
+ #: jquery-colorbox.php:581
148
  #, php-format
149
  msgid "Start Slideshow automatically if slideshow functionality is added to %1$s Groups"
150
  msgstr ""
151
 
152
+ #: jquery-colorbox.php:586
153
  msgid "Speed of the slideshow"
154
  msgstr ""
155
 
156
+ #: jquery-colorbox.php:590
157
  msgid "Sets the speed of the slideshow, in milliseconds"
158
  msgstr ""
159
 
160
+ #: jquery-colorbox.php:595
161
  msgid "Maximum width of an image"
162
  msgstr ""
163
 
164
+ #: jquery-colorbox.php:599
165
+ #: jquery-colorbox.php:645
166
  msgid "Do not set width"
167
  msgstr ""
168
 
169
+ #: jquery-colorbox.php:602
170
  msgid "Set maximum width of an image"
171
  msgstr ""
172
 
173
+ #: jquery-colorbox.php:613
174
  msgid "Set the maximum width of the image in the Colorbox in relation to the browser window in percent or pixels. If maximum width is not set, image is as wide as the Colorbox"
175
  msgstr ""
176
 
177
+ #: jquery-colorbox.php:618
178
  msgid "Maximum height of an image"
179
  msgstr ""
180
 
181
+ #: jquery-colorbox.php:622
182
+ #: jquery-colorbox.php:668
183
  msgid "Do not set height"
184
  msgstr ""
185
 
186
+ #: jquery-colorbox.php:625
187
  msgid "Set maximum height of an image"
188
  msgstr ""
189
 
190
+ #: jquery-colorbox.php:636
191
  msgid "Set the maximum height of the image in the Colorbox in relation to the browser window to a value in percent or pixels. If maximum height is not set, the image is as high as the Colorbox"
192
  msgstr ""
193
 
194
+ #: jquery-colorbox.php:641
195
  msgid "Maximum width of the Colorbox"
196
  msgstr ""
197
 
198
+ #: jquery-colorbox.php:648
199
  msgid "Set width of the Colorbox"
200
  msgstr ""
201
 
202
+ #: jquery-colorbox.php:659
203
  msgid "Set the maximum width of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If width is not set, the Colorbox will be as wide as the picture in it"
204
  msgstr ""
205
 
206
+ #: jquery-colorbox.php:664
207
  msgid "Maximum height of the Colorbox"
208
  msgstr ""
209
 
210
+ #: jquery-colorbox.php:671
211
  msgid "Set height of the Colorbox"
212
  msgstr ""
213
 
214
+ #: jquery-colorbox.php:682
215
  msgid "Set the maximum height of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If height is not set, the Colorbox will be as high as the picture in it"
216
  msgstr ""
217
 
218
+ #: jquery-colorbox.php:687
219
  msgid "Resize images"
220
  msgstr ""
221
 
222
+ #: jquery-colorbox.php:691
223
  msgid "If enabled and if maximum width of images, maximum height of images, width of the Colorbox, or height of the Colorbox have been defined, ColorBox will scale photos to fit within the those values"
224
  msgstr ""
225
 
226
+ #: jquery-colorbox.php:696
227
+ msgid "Close Colorbox on overlay click"
228
+ msgstr ""
229
+
230
+ #: jquery-colorbox.php:700
231
+ msgid "If checked, enables closing ColorBox by clicking on the background overlay"
232
+ msgstr ""
233
+
234
+ #: jquery-colorbox.php:705
235
+ msgid "Preload images"
236
+ msgstr ""
237
+
238
+ #: jquery-colorbox.php:709
239
+ msgid "Allows for preloading of \"next\" and \"previous\" content in a group, after the current content has finished loading. Uncheck box to disable."
240
+ msgstr ""
241
+
242
+ #: jquery-colorbox.php:714
243
+ msgid "Transition type"
244
+ msgstr ""
245
+
246
+ #: jquery-colorbox.php:726
247
+ msgid "The transition type of the Colorbox. Can be set to \"elastic\", \"fade\", or \"none\""
248
+ msgstr ""
249
+
250
+ #: jquery-colorbox.php:731
251
+ msgid "Transition speed"
252
+ msgstr ""
253
+
254
+ #: jquery-colorbox.php:735
255
+ msgid "Sets the speed of the \"fade\" and \"elastic\" transitions, in milliseconds"
256
+ msgstr ""
257
+
258
+ #: jquery-colorbox.php:740
259
+ msgid "Opacity"
260
+ msgstr ""
261
+
262
+ #: jquery-colorbox.php:744
263
+ msgid "The overlay opacity level. Range: 0 to 1"
264
+ msgstr ""
265
+
266
+ #: jquery-colorbox.php:749
267
+ msgid "Automate hiding of flash objects"
268
+ msgstr ""
269
+
270
+ #: jquery-colorbox.php:753
271
+ msgid "Automatically hide embeded flash objects behind the Colorbox layer. Done by setting the wmode to transparent."
272
+ msgstr ""
273
+
274
+ #: jquery-colorbox.php:758
275
+ msgid "Disable warning"
276
+ msgstr ""
277
+
278
+ #: jquery-colorbox.php:762
279
+ msgid "Disables the warning that is displayed if the plugin is activated but the auto-colorbox feature for all images is turned off."
280
+ msgstr ""
281
+
282
+ #: jquery-colorbox.php:768
283
  msgid "Save Changes"
284
  msgstr ""
285
 
286
+ #: jquery-colorbox.php:777
287
+ #: jquery-colorbox.php:786
288
  msgid "Delete Settings"
289
  msgstr ""
290
 
291
+ #: jquery-colorbox.php:780
292
  msgid "Check the box and click this button to delete settings of this plugin."
293
  msgstr ""
294
 
295
+ #: jquery-colorbox.php:796
296
  msgid "Donate"
297
  msgstr ""
298
 
299
+ #: jquery-colorbox.php:810
300
  msgid "If you would like to make a small (or large) contribution towards future development please consider making a donation."
301
  msgstr ""
302
 
303
+ #: jquery-colorbox.php:819
304
+ msgid "Translation"
305
+ msgstr ""
306
+
307
+ #: jquery-colorbox.php:822
308
+ msgid "The english translation was done by <a href=\"http://www.techotronic.de\">Arne Franken</a>."
309
+ msgstr ""
310
+
311
+ #: jquery-colorbox.php:845
312
  #, php-format
313
  msgid "Successfully updated %1$s settings."
314
  msgstr ""
315
 
316
+ #: jquery-colorbox.php:847
317
  #, php-format
318
  msgid "%1$s settings were successfully deleted."
319
  msgstr ""
320
 
321
+ #: jquery-colorbox.php:888
322
+ msgid "needs attention: the plugin is not activated to work for all images."
323
+ msgstr ""
324
+
325
+ #: jquery-colorbox.php:948
326
  msgid "Did not update settings, you do not have the necessary rights."
327
  msgstr ""
328
 
329
+ #: jquery-colorbox.php:995
330
  #, php-format
331
  msgid "Did not delete %1$s settings. Either you dont have the nececssary rights or you didnt check the checkbox."
332
  msgstr ""
333
 
334
  #~ msgid "maxWidth"
335
  #~ msgstr "Maximum width of an image"
336
+
337
  #~ msgid "maxHeight"
338
  #~ msgstr "Maximum height of an image"
339
+
340
  #~ msgid "width"
341
  #~ msgstr "Maxinmum width of the Colorbox"
342
+
343
  #~ msgid "height"
344
  #~ msgstr "Maximum height of the Colorbox"
 
localization/jquery-colorbox-pt_BR.mo ADDED
Binary file
localization/jquery-colorbox-pt_BR.po ADDED
@@ -0,0 +1,342 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: jQuery-Colorbox\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-03-28 21:50+0100\n"
6
+ "PO-Revision-Date: 2010-03-28 22:50-0300\n"
7
+ "Last-Translator: Gervásio Antônio <gdsa32-translation@yahoo.com.br>\n"
8
+ "Language-Team: Gervásio Antônio\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Brazilian Portuguese\n"
13
+ "X-Poedit-KeywordsList: _e;__\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-Country: BRAZIL\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: jquery-colorbox.php:116
19
+ msgid "Theme #1"
20
+ msgstr "Tema #1"
21
+
22
+ #: jquery-colorbox.php:117
23
+ msgid "Theme #2"
24
+ msgstr "Tema #2"
25
+
26
+ #: jquery-colorbox.php:118
27
+ msgid "Theme #3"
28
+ msgstr "Tema #3"
29
+
30
+ #: jquery-colorbox.php:119
31
+ msgid "Theme #4"
32
+ msgstr "Tema #4"
33
+
34
+ #: jquery-colorbox.php:120
35
+ msgid "Theme #5"
36
+ msgstr "Tema #5"
37
+
38
+ #: jquery-colorbox.php:121
39
+ msgid "Theme #6"
40
+ msgstr "Tema #6"
41
+
42
+ #: jquery-colorbox.php:122
43
+ msgid "Theme #7"
44
+ msgstr "Tema #7"
45
+
46
+ #: jquery-colorbox.php:123
47
+ msgid "Theme #8"
48
+ msgstr "Tema #8"
49
+
50
+ #: jquery-colorbox.php:128
51
+ msgid "percent"
52
+ msgstr "%"
53
+
54
+ #: jquery-colorbox.php:129
55
+ msgid "pixels"
56
+ msgstr "pixels"
57
+
58
+ #: jquery-colorbox.php:134
59
+ msgid "elastic"
60
+ msgstr "elástico"
61
+
62
+ #: jquery-colorbox.php:135
63
+ msgid "fade"
64
+ msgstr "esmaecer"
65
+
66
+ #: jquery-colorbox.php:136
67
+ msgid "none"
68
+ msgstr "nenhuma"
69
+
70
+ #: jquery-colorbox.php:267
71
+ #: jquery-colorbox.php:514
72
+ msgid "Settings"
73
+ msgstr "Configurações"
74
+
75
+ #: jquery-colorbox.php:386
76
+ msgid "close"
77
+ msgstr "fechar"
78
+
79
+ #: jquery-colorbox.php:387
80
+ msgid "next"
81
+ msgstr "próxima"
82
+
83
+ #: jquery-colorbox.php:388
84
+ msgid "previous"
85
+ msgstr "anterior"
86
+
87
+ #: jquery-colorbox.php:389
88
+ msgid "start slideshow"
89
+ msgstr "iniciar apresentação"
90
+
91
+ #: jquery-colorbox.php:390
92
+ msgid "stop slideshow"
93
+ msgstr "parar apresentação"
94
+
95
+ #: jquery-colorbox.php:391
96
+ msgid "{current} of {total} images"
97
+ msgstr "Imagem {current} de {total}"
98
+
99
+ #: jquery-colorbox.php:507
100
+ #, php-format
101
+ msgid "%1$s Settings"
102
+ msgstr "Configurações do %1$s"
103
+
104
+ #: jquery-colorbox.php:523
105
+ msgid "Theme"
106
+ msgstr "Tema"
107
+
108
+ #: jquery-colorbox.php:535
109
+ msgid "Select the theme you want to use on your blog."
110
+ msgstr "Selecione o tema que você deseja usar em seu site."
111
+
112
+ #: jquery-colorbox.php:540
113
+ msgid "Theme screenshot"
114
+ msgstr "Amostra do tema"
115
+
116
+ #: jquery-colorbox.php:550
117
+ #, php-format
118
+ msgid "Automate %1$s for all images"
119
+ msgstr "Tornar o %1$s automático para todas as imagens"
120
+
121
+ #: jquery-colorbox.php:554
122
+ msgid "Automatically add colorbox-class to images in posts and pages. Also adds colorbox-class to galleries. Images in one page or post are grouped automatically."
123
+ msgstr "Adicionar automaticamente a classe colorbox às imagens existentes em artigos, páginas e galerias. Múltiplas imagens em uma página são agrupadas automaticamente."
124
+
125
+ #: jquery-colorbox.php:559
126
+ #, php-format
127
+ msgid "Automate %1$s for images in WordPress galleries"
128
+ msgstr "Tornar o %1$s automático somente para imagens em galerias"
129
+
130
+ #: jquery-colorbox.php:563
131
+ msgid "Automatically add colorbox-class to images in WordPress galleries, but nowhere else. Images in one page or post are grouped automatically."
132
+ msgstr "Adicionar automaticamente a classe colorbox somente às imagens existentes em galerias do Wordpress, e em mais nenhum outro lugar. Múltiplas imagens em uma página são agrupadas automaticamente."
133
+
134
+ #: jquery-colorbox.php:568
135
+ msgid "Add Slideshow to groups"
136
+ msgstr "Adicionar Apresentação de Slides aos grupos"
137
+
138
+ #: jquery-colorbox.php:572
139
+ #, php-format
140
+ msgid "Add Slideshow functionality for %1$s Groups"
141
+ msgstr "Adicionar a funcionalidade de Apresentação de Slides aos grupos de imagens do %1$s"
142
+
143
+ #: jquery-colorbox.php:577
144
+ msgid "Start Slideshow automatically"
145
+ msgstr "Iniciar Apresentação de Slides automaticamente"
146
+
147
+ #: jquery-colorbox.php:581
148
+ #, php-format
149
+ msgid "Start Slideshow automatically if slideshow functionality is added to %1$s Groups"
150
+ msgstr "Iniciar Apresentação de Slides automaticamente, caso essa funcionalidade seja adicionada aos grupos de imagens do %1$s"
151
+
152
+ #: jquery-colorbox.php:586
153
+ msgid "Speed of the slideshow"
154
+ msgstr "Velocidade da Apresentação de Slides"
155
+
156
+ #: jquery-colorbox.php:590
157
+ msgid "Sets the speed of the slideshow, in milliseconds"
158
+ msgstr "Define a velocidade da Apresentação de Slides, em milissegundos"
159
+
160
+ #: jquery-colorbox.php:595
161
+ msgid "Maximum width of an image"
162
+ msgstr "Largura máxima de uma imagem"
163
+
164
+ #: jquery-colorbox.php:599
165
+ #: jquery-colorbox.php:645
166
+ msgid "Do not set width"
167
+ msgstr "Não definir a largura"
168
+
169
+ #: jquery-colorbox.php:602
170
+ msgid "Set maximum width of an image"
171
+ msgstr "Definir a largura máxima de uma imagem"
172
+
173
+ #: jquery-colorbox.php:613
174
+ msgid "Set the maximum width of the image in the Colorbox in relation to the browser window in percent or pixels. If maximum width is not set, image is as wide as the Colorbox"
175
+ msgstr "Defina, em porcentagem ou pixels, a largura máxima da imagem exibida pelo Colorbox em relação à janela do navegador. Se o valor máximo não for definido, a imagem terá a mesma largura do Colorbox"
176
+
177
+ #: jquery-colorbox.php:618
178
+ msgid "Maximum height of an image"
179
+ msgstr "Altura máxima de uma imagem"
180
+
181
+ #: jquery-colorbox.php:622
182
+ #: jquery-colorbox.php:668
183
+ msgid "Do not set height"
184
+ msgstr "Não definir a altura"
185
+
186
+ #: jquery-colorbox.php:625
187
+ msgid "Set maximum height of an image"
188
+ msgstr "Definir a altura máxima de uma imagem"
189
+
190
+ #: jquery-colorbox.php:636
191
+ msgid "Set the maximum height of the image in the Colorbox in relation to the browser window to a value in percent or pixels. If maximum height is not set, the image is as high as the Colorbox"
192
+ msgstr "Defina, em porcentagem ou pixels, a altura máxima da imagem exibida pelo Colorbox em relação à janela do navegador. Se o valor máximo não for definido, a imagem terá a mesma altura do Colorbox"
193
+
194
+ #: jquery-colorbox.php:641
195
+ msgid "Maximum width of the Colorbox"
196
+ msgstr "Largura máxima do Colorbox"
197
+
198
+ #: jquery-colorbox.php:648
199
+ msgid "Set width of the Colorbox"
200
+ msgstr "Definir a largura máxima do Colorbox"
201
+
202
+ #: jquery-colorbox.php:659
203
+ msgid "Set the maximum width of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If width is not set, the Colorbox will be as wide as the picture in it"
204
+ msgstr "Defina, em porcentagem ou pixels, a largura máxima da própria janela do Colorbox em relação à janela do navegador. Se a imagem for maior que o Colorbox, barras de rolagem serão exibidas. Se o valor máximo não for definido, a janela do Colorbox terá a largura necessária para exibir a imagem"
205
+
206
+ #: jquery-colorbox.php:664
207
+ msgid "Maximum height of the Colorbox"
208
+ msgstr "Altura máxima do Colorbox"
209
+
210
+ #: jquery-colorbox.php:671
211
+ msgid "Set height of the Colorbox"
212
+ msgstr "Definir a altura máxima do Colorbox"
213
+
214
+ #: jquery-colorbox.php:682
215
+ msgid "Set the maximum height of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If height is not set, the Colorbox will be as high as the picture in it"
216
+ msgstr "Defina, em porcentagem ou pixels, a altura máxima da própria janela do Colorbox em relação à janela do navegador. Se a imagem for maior que o Colorbox, barras de rolagem serão exibidas. Se o valor máximo não for definido, a janela do Colorbox terá a altura necessária para exibir a imagem"
217
+
218
+ #: jquery-colorbox.php:687
219
+ msgid "Resize images"
220
+ msgstr "Redimensionar imagens"
221
+
222
+ #: jquery-colorbox.php:691
223
+ msgid "If enabled and if maximum width of images, maximum height of images, width of the Colorbox, or height of the Colorbox have been defined, ColorBox will scale photos to fit within the those values"
224
+ msgstr "Se esta opção for habilitada e se tiverem sido definidas altura e largura máximas das imagens, bem como altura e largura do Colorbox, as imagens serão redimensionadas para que caibam nas dimensões definidas"
225
+
226
+ #: jquery-colorbox.php:696
227
+ msgid "Close Colorbox on overlay click"
228
+ msgstr "Fechar o Colorbox ao clicar sobre a camada de fundo"
229
+
230
+ #: jquery-colorbox.php:700
231
+ msgid "If checked, enables closing ColorBox by clicking on the background overlay"
232
+ msgstr "Se esta opção for habilitada, o Colorbox será fechado ao se clicar sobre o plano de fundo"
233
+
234
+ #: jquery-colorbox.php:705
235
+ msgid "Preload images"
236
+ msgstr "Pré-carregar imagens"
237
+
238
+ #: jquery-colorbox.php:709
239
+ msgid "Allows for preloading of \"next\" and \"previous\" content in a group, after the current content has finished loading. Uncheck box to disable."
240
+ msgstr "Permite carregar em segundo plano o conteúdo \"próximo\" e \"anterior\", depois que o conteúdo atual já tiver sido carregado. Com isso, aproveita-se a conexão ociosa e o conteúdo já terá sido baixado quando iniciar a próxima transição."
241
+
242
+ #: jquery-colorbox.php:714
243
+ msgid "Transition type"
244
+ msgstr "Tipo de transição"
245
+
246
+ #: jquery-colorbox.php:726
247
+ msgid "The transition type of the Colorbox. Can be set to \"elastic\", \"fade\", or \"none\""
248
+ msgstr "O tipo de efeito usado nas transições do Colorbox. Pode ser definido como \"elástico\", \"esmaecer\", ou \"nenhuma\""
249
+
250
+ #: jquery-colorbox.php:731
251
+ msgid "Transition speed"
252
+ msgstr "Velocidade da transição"
253
+
254
+ #: jquery-colorbox.php:735
255
+ msgid "Sets the speed of the \"fade\" and \"elastic\" transitions, in milliseconds"
256
+ msgstr "Define a velocidade\tdas transições \"elástico\" e \"esmaecer\", em milissegundos"
257
+
258
+ #: jquery-colorbox.php:740
259
+ msgid "Opacity"
260
+ msgstr "Opacidade"
261
+
262
+ #: jquery-colorbox.php:744
263
+ msgid "The overlay opacity level. Range: 0 to 1"
264
+ msgstr "Define o nível de opacidade da camada de fundo. Variação: 0 até 1"
265
+
266
+ #: jquery-colorbox.php:749
267
+ msgid "Automate hiding of flash objects"
268
+ msgstr "Ocultar objetos flash automaticamente"
269
+
270
+ #: jquery-colorbox.php:753
271
+ msgid "Automatically hide embeded flash objects behind the Colorbox layer. Done by setting the wmode to transparent."
272
+ msgstr "Ocultar automaticamente objetos flash atrás da camada do Colorbox. É feito definindo wmode para transparente."
273
+
274
+ #: jquery-colorbox.php:758
275
+ msgid "Disable warning"
276
+ msgstr "Desativar aviso"
277
+
278
+ #: jquery-colorbox.php:762
279
+ msgid "Disables the warning that is displayed if the plugin is activated but the auto-colorbox feature for all images is turned off."
280
+ msgstr "Desativa o aviso que é exibido se o plugin estiver ativado mas a função Colorbox Automático para todas as imagens estiver desligada."
281
+
282
+ #: jquery-colorbox.php:768
283
+ msgid "Save Changes"
284
+ msgstr "Salvar alterações"
285
+
286
+ #: jquery-colorbox.php:777
287
+ #: jquery-colorbox.php:786
288
+ msgid "Delete Settings"
289
+ msgstr "Excluir configurações"
290
+
291
+ #: jquery-colorbox.php:780
292
+ msgid "Check the box and click this button to delete settings of this plugin."
293
+ msgstr "Marque a caixa de opção e depois clique no botão abaixo para excluir todas as configurações deste plug-in."
294
+
295
+ #: jquery-colorbox.php:796
296
+ msgid "Donate"
297
+ msgstr "Doar"
298
+
299
+ #: jquery-colorbox.php:810
300
+ msgid "If you would like to make a small (or large) contribution towards future development please consider making a donation."
301
+ msgstr "Se desejar contribuir (pouco ou muito) com o desenvolvimento futuro desse plug-in, você pode fazer uma doação."
302
+
303
+ #: jquery-colorbox.php:819
304
+ msgid "Translation"
305
+ msgstr "Tradução"
306
+
307
+ #: jquery-colorbox.php:822
308
+ msgid "The english translation was done by <a href=\"http://www.techotronic.de\">Arne Franken</a>."
309
+ msgstr "A tradução para o Português do Brasil foi feita por <a href=\"http://www.twitter.com/gervasioantonio\">Gervásio Antônio</a>."
310
+
311
+ #: jquery-colorbox.php:845
312
+ #, php-format
313
+ msgid "Successfully updated %1$s settings."
314
+ msgstr "As configurações do %1$s foram atualizadas com sucesso."
315
+
316
+ #: jquery-colorbox.php:847
317
+ #, php-format
318
+ msgid "%1$s settings were successfully deleted."
319
+ msgstr "As configurações do %1$s foram excluídas com sucesso."
320
+
321
+ #: jquery-colorbox.php:888
322
+ msgid "needs attention: the plugin is not activated to work for all images."
323
+ msgstr "requer atenção: o plugin não está configurado para trabalhar com todas as imagens."
324
+
325
+ #: jquery-colorbox.php:948
326
+ msgid "Did not update settings, you do not have the necessary rights."
327
+ msgstr "As configurações não foram atualizadas. Você não possui as permissões necessárias."
328
+
329
+ #: jquery-colorbox.php:995
330
+ #, php-format
331
+ msgid "Did not delete %1$s settings. Either you dont have the nececssary rights or you didnt check the checkbox."
332
+ msgstr "As configurações do %1$s não foram excluídas. Você não possui as permissões necessárias ou não marcou a opção 'Excluir configurações'."
333
+
334
+ #~ msgid "maxWidth"
335
+ #~ msgstr "Maximum width of an image"
336
+ #~ msgid "maxHeight"
337
+ #~ msgstr "Maximum height of an image"
338
+ #~ msgid "width"
339
+ #~ msgstr "Maxinmum width of the Colorbox"
340
+ #~ msgid "height"
341
+ #~ msgstr "Maximum height of the Colorbox"
342
+
localization/jquery-colorbox-tr_TR.mo ADDED
Binary file
localization/jquery-colorbox-tr_TR.po ADDED
@@ -0,0 +1,344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: jQuery-Colorbox\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-03-28 21:50+0100\n"
6
+ "PO-Revision-Date: 2010-03-28 23:00+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Serhat Yolaçan\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Turkish\n"
13
+ "X-Poedit-KeywordsList: _e;__\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-Country: TURKEY\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: jquery-colorbox.php:116
19
+ msgid "Theme #1"
20
+ msgstr "Tema #1"
21
+
22
+ #: jquery-colorbox.php:117
23
+ msgid "Theme #2"
24
+ msgstr "Tema #2"
25
+
26
+ #: jquery-colorbox.php:118
27
+ msgid "Theme #3"
28
+ msgstr "Tema #3"
29
+
30
+ #: jquery-colorbox.php:119
31
+ msgid "Theme #4"
32
+ msgstr "Tema #4"
33
+
34
+ #: jquery-colorbox.php:120
35
+ msgid "Theme #5"
36
+ msgstr "Tema #5"
37
+
38
+ #: jquery-colorbox.php:121
39
+ msgid "Theme #6"
40
+ msgstr "Tema #6"
41
+
42
+ #: jquery-colorbox.php:122
43
+ msgid "Theme #7"
44
+ msgstr "Tema #7"
45
+
46
+ #: jquery-colorbox.php:123
47
+ msgid "Theme #8"
48
+ msgstr "Tema #8"
49
+
50
+ #: jquery-colorbox.php:128
51
+ msgid "percent"
52
+ msgstr "yüzde"
53
+
54
+ #: jquery-colorbox.php:129
55
+ msgid "pixels"
56
+ msgstr "piksel"
57
+
58
+ #: jquery-colorbox.php:134
59
+ msgid "elastic"
60
+ msgstr "elastik"
61
+
62
+ #: jquery-colorbox.php:135
63
+ msgid "fade"
64
+ msgstr "solma"
65
+
66
+ #: jquery-colorbox.php:136
67
+ msgid "none"
68
+ msgstr "hiçbiri"
69
+
70
+ #: jquery-colorbox.php:267
71
+ #: jquery-colorbox.php:514
72
+ msgid "Settings"
73
+ msgstr "Ayarlar"
74
+
75
+ #: jquery-colorbox.php:386
76
+ msgid "close"
77
+ msgstr "kapat"
78
+
79
+ #: jquery-colorbox.php:387
80
+ msgid "next"
81
+ msgstr "ileri"
82
+
83
+ #: jquery-colorbox.php:388
84
+ msgid "previous"
85
+ msgstr "geri"
86
+
87
+ #: jquery-colorbox.php:389
88
+ msgid "start slideshow"
89
+ msgstr "slayt gösterisi başlat"
90
+
91
+ #: jquery-colorbox.php:390
92
+ msgid "stop slideshow"
93
+ msgstr "slayt gösterisini durdur"
94
+
95
+ #: jquery-colorbox.php:391
96
+ msgid "{current} of {total} images"
97
+ msgstr "{current} / {total}"
98
+
99
+ #: jquery-colorbox.php:507
100
+ #, php-format
101
+ msgid "%1$s Settings"
102
+ msgstr "%1$s Ayarları"
103
+
104
+ #: jquery-colorbox.php:523
105
+ msgid "Theme"
106
+ msgstr "Tema"
107
+
108
+ #: jquery-colorbox.php:535
109
+ msgid "Select the theme you want to use on your blog."
110
+ msgstr "Blogunuzda kullanmak istediğiniz temayı seçiniz."
111
+
112
+ #: jquery-colorbox.php:540
113
+ msgid "Theme screenshot"
114
+ msgstr ""
115
+
116
+ #: jquery-colorbox.php:550
117
+ #, php-format
118
+ msgid "Automate %1$s for all images"
119
+ msgstr "Tüm resimlerde %1$s kullan"
120
+
121
+ #: jquery-colorbox.php:554
122
+ msgid "Automatically add colorbox-class to images in posts and pages. Also adds colorbox-class to galleries. Images in one page or post are grouped automatically."
123
+ msgstr "Yazılardaki ve sayfalardaki resimlere otomatik olarak colorbox-sınıfı ekler. Galerilere de colorbox-sınıfı ekler. Yazı yada sayfadaki resimleri otomatik olarak gruplandırır."
124
+
125
+ #: jquery-colorbox.php:559
126
+ #, php-format
127
+ msgid "Automate %1$s for images in WordPress galleries"
128
+ msgstr "Wordpress galerilerine otomatik olarak %1$s ekleyin"
129
+
130
+ #: jquery-colorbox.php:563
131
+ msgid "Automatically add colorbox-class to images in WordPress galleries, but nowhere else. Images in one page or post are grouped automatically."
132
+ msgstr "Wordpress galerilerindeki resimlere otomatik olarak colorbox-sınıfı ekler fakat başka yere eklemez. Yazı yada sayfadaki resimler otomatik olarak gruplandırılır."
133
+
134
+ #: jquery-colorbox.php:568
135
+ msgid "Add Slideshow to groups"
136
+ msgstr "Gruplara slayt gösterisi ekle"
137
+
138
+ #: jquery-colorbox.php:572
139
+ #, php-format
140
+ msgid "Add Slideshow functionality for %1$s Groups"
141
+ msgstr "Slayt gösterisi fonksiyonunu %1$s gruplarına ekler."
142
+
143
+ #: jquery-colorbox.php:577
144
+ msgid "Start Slideshow automatically"
145
+ msgstr "Slayt gösterisini otomatik olarak başlat"
146
+
147
+ #: jquery-colorbox.php:581
148
+ #, php-format
149
+ msgid "Start Slideshow automatically if slideshow functionality is added to %1$s Groups"
150
+ msgstr "Eğer slayt gösterisi fonksiyonu %1$s gruplarına eklenmişse, slayt gösterisini otomatik olarak başlatır."
151
+
152
+ #: jquery-colorbox.php:586
153
+ msgid "Speed of the slideshow"
154
+ msgstr "Slayt gösterisi hızı"
155
+
156
+ #: jquery-colorbox.php:590
157
+ msgid "Sets the speed of the slideshow, in milliseconds"
158
+ msgstr "Slayt gösterisinin hızını milisaniye cinsinden belirleyin"
159
+
160
+ #: jquery-colorbox.php:595
161
+ msgid "Maximum width of an image"
162
+ msgstr "Maksimum resim genişliği"
163
+
164
+ #: jquery-colorbox.php:599
165
+ #: jquery-colorbox.php:645
166
+ msgid "Do not set width"
167
+ msgstr "Genişlik ayarlarma"
168
+
169
+ #: jquery-colorbox.php:602
170
+ msgid "Set maximum width of an image"
171
+ msgstr "Resimler için maksimum genişlik değeri belirleyin"
172
+
173
+ #: jquery-colorbox.php:613
174
+ msgid "Set the maximum width of the image in the Colorbox in relation to the browser window in percent or pixels. If maximum width is not set, image is as wide as the Colorbox"
175
+ msgstr "Tarayıcı penceresinde çıkan Colorbox içindeki resimler için yüzde yada piksel değeri belirtin. Eğer maksimum genişlik belirtilmezse resim Colorbox genişliği kadar görünür. Eğer maksimum genişlik belirtilmezse resim Colorbox genişliği kadar görünür"
176
+
177
+ #: jquery-colorbox.php:618
178
+ msgid "Maximum height of an image"
179
+ msgstr "Maksimum resim yüksekliği"
180
+
181
+ #: jquery-colorbox.php:622
182
+ #: jquery-colorbox.php:668
183
+ msgid "Do not set height"
184
+ msgstr "Yükseklik ayarlarma"
185
+
186
+ #: jquery-colorbox.php:625
187
+ msgid "Set maximum height of an image"
188
+ msgstr "Resimler için maksimum yükseklik değeri belirleyin"
189
+
190
+ #: jquery-colorbox.php:636
191
+ msgid "Set the maximum height of the image in the Colorbox in relation to the browser window to a value in percent or pixels. If maximum height is not set, the image is as high as the Colorbox"
192
+ msgstr "Tarayıcı penceresinde çıkan Colorbox içindeki resimler için yüzde yada piksel değeri belirtin. Eğer maksimum yükseklik belirtilmezse resim Colorbox yüksekliği kadar görünür. Eğer yükseklik belirtilmezse Colorbox resim kadar yüksek olur"
193
+
194
+ #: jquery-colorbox.php:641
195
+ msgid "Maximum width of the Colorbox"
196
+ msgstr "Colorbox maksimum genişliği"
197
+
198
+ #: jquery-colorbox.php:648
199
+ msgid "Set width of the Colorbox"
200
+ msgstr "Colorbox için genişlik belirleyin"
201
+
202
+ #: jquery-colorbox.php:659
203
+ msgid "Set the maximum width of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If width is not set, the Colorbox will be as wide as the picture in it"
204
+ msgstr "Tarayıcı penceresinde çıkan Colorbox'ın maksimum genişliği için yüzde ve piksel değeri belirtin. Eğer resim Colorbox'tan büyükse, kaydırma çubukları çıkar. Eğer genişlik belirtilmezse Colorbox resim kadar geniş olur"
205
+
206
+ #: jquery-colorbox.php:664
207
+ msgid "Maximum height of the Colorbox"
208
+ msgstr "Colorbox maksimum yüksekliği"
209
+
210
+ #: jquery-colorbox.php:671
211
+ msgid "Set height of the Colorbox"
212
+ msgstr "Colorbox için yükseklik belirleyin"
213
+
214
+ #: jquery-colorbox.php:682
215
+ msgid "Set the maximum height of the Colorbox itself in relation to the browser window to a value between in percent or pixels. If the image is bigger than the colorbox, scrollbars are displayed. If height is not set, the Colorbox will be as high as the picture in it"
216
+ msgstr "Tarayıcı penceresinde çıkan Colorbox'ın maksimum yüksekliği için yüzde ve piksel değeri belirtin. Eğer resim Colorbox'tan büyükse, kaydırma çubukları çıkar. Eğer yükseklik belirtilmezse Colorbox resim kadar yüksek olur"
217
+
218
+ #: jquery-colorbox.php:687
219
+ msgid "Resize images"
220
+ msgstr "Resimleri tekrar boyutlandır"
221
+
222
+ #: jquery-colorbox.php:691
223
+ msgid "If enabled and if maximum width of images, maximum height of images, width of the Colorbox, or height of the Colorbox have been defined, ColorBox will scale photos to fit within the those values"
224
+ msgstr "Eğer aktifse, resimlerin maksimum genişliği ile yüksekliği ve Colorbox maksimum yüksekliği ile genişliği belirliyse, Colorbox resimleri bu değerlere ölçekler"
225
+
226
+ #: jquery-colorbox.php:696
227
+ msgid "Close Colorbox on overlay click"
228
+ msgstr "Katmana tıklandığında Colorbox kapat"
229
+
230
+ #: jquery-colorbox.php:700
231
+ msgid "If checked, enables closing ColorBox by clicking on the background overlay"
232
+ msgstr "Eğer aktifse, arka plandaki katmana tıklandığında Colorbox'ın kapanmasını sağlar"
233
+
234
+ #: jquery-colorbox.php:705
235
+ msgid "Preload images"
236
+ msgstr "Resimleri önceden yükle"
237
+
238
+ #: jquery-colorbox.php:709
239
+ msgid "Allows for preloading of \"next\" and \"previous\" content in a group, after the current content has finished loading. Uncheck box to disable."
240
+ msgstr "Görüntülenen içeriğin yüklenmesi bittikten sonra, gruptaki \"ileri\" ve \"geri\" içeriğini önceden yükler. Bu sayede galerideki resimler arasında hızlıca geçiş yapılabilir ancak galeride büyük resimler varsa yada çok resim bulunuyorsa yüklenmesi uzun sürecektir. Aktif olmaması için kutucuğu boş bırakın"
241
+
242
+ #: jquery-colorbox.php:714
243
+ msgid "Transition type"
244
+ msgstr "Geçiş tipi"
245
+
246
+ #: jquery-colorbox.php:726
247
+ msgid "The transition type of the Colorbox. Can be set to \"elastic\", \"fade\", or \"none\""
248
+ msgstr "Colorbox geçiş tipidir. \"elastik\", \"solma\" ya da \"hiçbiri\" seçilebilir"
249
+
250
+ #: jquery-colorbox.php:731
251
+ msgid "Transition speed"
252
+ msgstr "Geçiş hızı"
253
+
254
+ #: jquery-colorbox.php:735
255
+ msgid "Sets the speed of the \"fade\" and \"elastic\" transitions, in milliseconds"
256
+ msgstr "\"solma\" ve \"elastik\" geçiş hızını milisaniye cinsinden ayarlar"
257
+
258
+ #: jquery-colorbox.php:740
259
+ msgid "Opacity"
260
+ msgstr "Şeffaflık"
261
+
262
+ #: jquery-colorbox.php:744
263
+ msgid "The overlay opacity level. Range: 0 to 1"
264
+ msgstr "Katmanın şeffaflık seviyesi. Aralık: 0 ile 1 arasındadır"
265
+
266
+ #: jquery-colorbox.php:749
267
+ msgid "Automate hiding of flash objects"
268
+ msgstr ""
269
+
270
+ #: jquery-colorbox.php:753
271
+ msgid "Automatically hide embeded flash objects behind the Colorbox layer. Done by setting the wmode to transparent."
272
+ msgstr ""
273
+
274
+ #: jquery-colorbox.php:758
275
+ msgid "Disable warning"
276
+ msgstr "Uyarıyı kapat"
277
+
278
+ #: jquery-colorbox.php:762
279
+ msgid "Disables the warning that is displayed if the plugin is activated but the auto-colorbox feature for all images is turned off."
280
+ msgstr "Bu seçenek ile eklenti aktifleştirildikten sonra tüm resimlere otomatik olarak colorbox ekleme seçeneği kapalıysa yönetici panelinde çıkan uyarıyı gizleyebilirsiniz."
281
+
282
+ #: jquery-colorbox.php:768
283
+ msgid "Save Changes"
284
+ msgstr "Değişiklikleri kaydet"
285
+
286
+ #: jquery-colorbox.php:777
287
+ #: jquery-colorbox.php:786
288
+ msgid "Delete Settings"
289
+ msgstr "Ayarları sıfırlayın"
290
+
291
+ #: jquery-colorbox.php:780
292
+ msgid "Check the box and click this button to delete settings of this plugin."
293
+ msgstr "Bu eklentinin ayarlarını sıfırlamak için kutucuğu doldurup yanındaki butona tıklayın."
294
+
295
+ #: jquery-colorbox.php:796
296
+ msgid "Donate"
297
+ msgstr "Bağış yapın"
298
+
299
+ #: jquery-colorbox.php:810
300
+ msgid "If you would like to make a small (or large) contribution towards future development please consider making a donation."
301
+ msgstr "Gelecek sürümler için az (yada fazla) farketmez, bağış yapmaktan çekinmeyin."
302
+
303
+ #: jquery-colorbox.php:819
304
+ msgid "Translation"
305
+ msgstr ""
306
+
307
+ #: jquery-colorbox.php:822
308
+ msgid "The english translation was done by <a href=\"http://www.techotronic.de\">Arne Franken</a>."
309
+ msgstr ""
310
+
311
+ #: jquery-colorbox.php:845
312
+ #, php-format
313
+ msgid "Successfully updated %1$s settings."
314
+ msgstr "%1$s ayarları başarılıyla güncellendi."
315
+
316
+ #: jquery-colorbox.php:847
317
+ #, php-format
318
+ msgid "%1$s settings were successfully deleted."
319
+ msgstr "%1$s ayarları başarıyla silindi."
320
+
321
+ #: jquery-colorbox.php:888
322
+ msgid "needs attention: the plugin is not activated to work for all images."
323
+ msgstr "uyarısı: Eklenti tüm resimlerde çalışmak için ayarlanmamış."
324
+
325
+ #: jquery-colorbox.php:948
326
+ msgid "Did not update settings, you do not have the necessary rights."
327
+ msgstr "Ayarları güncelleyemedim, gerekli yetkilere sahip değilsin."
328
+
329
+ #: jquery-colorbox.php:995
330
+ #, php-format
331
+ msgid "Did not delete %1$s settings. Either you dont have the nececssary rights or you didnt check the checkbox."
332
+ msgstr "%1$s ayarlarını sıfırlayamadım. Ya gerekli yetkilere sahip değilsin yada kutucuğu doldurmadın."
333
+
334
+ #~ msgid "maxWidth"
335
+ #~ msgstr "Maximum width of an image"
336
+
337
+ #~ msgid "maxHeight"
338
+ #~ msgstr "Maximum height of an image"
339
+
340
+ #~ msgid "width"
341
+ #~ msgstr "Maxinmum width of the Colorbox"
342
+
343
+ #~ msgid "height"
344
+ #~ msgstr "Maximum height of the Colorbox"
readme.txt CHANGED
@@ -1,22 +1,24 @@
1
  === Plugin Name ===
2
  Contributors: techotronic
3
  Donate link: http://www.techotronic.de/index.php/donate/
4
- Tags: jquery, colorbox, lightbox, images, gallery, javascript, overlay
5
  Requires at least: 2.8.5
6
  Tested up to: 2.9.1
7
- Stable tag: 2.0.1
8
 
9
- Adds Colorbox/Lightbox functionality to images on the blog. Images are grouped by post or page. Also works on WordPress galleries.
10
 
11
  == Description ==
12
 
13
- Yet another Colorbox plugin for Wordpress.
 
 
14
 
15
  When adding an image to a post or page, usually a thumbnail is inserted and linked to the image in original size.
16
  All images in posts and pages can be displayed in a layer when the thumbnail is clicked.
17
  Images are grouped as galleries when linked in the same post or page. Groups can be displayed in an automatic slideshow.
18
 
19
- Images can be excluded by giving them a special CSS class.
20
 
21
  See the <a href="http://www.techotronic.de/index.php/plugins/jquery-colorbox/">plugin page</a> for demo pages.
22
 
@@ -27,11 +29,14 @@ Localization
27
 
28
  * English (en_EN) by <a href="http://www.techotronic.de/">Arne Franken</a>
29
  * German (de_DE) by <a href="http://www.techotronic.de/">Arne Franken</a>
 
 
 
30
 
31
  Is your native language missing? Translating the plugin is easy if you understand english and are fluent in another language. Just send me an email.
32
 
33
  Includes <a href="http://colorpowered.com/colorbox/">ColorBox</a> 1.3.6 jQuery plugin from Jack Moore. Colorbox is licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a>.
34
- jQuery Colorbox uses the jQuery library version 1.3.2 bundled with Wordpress. Should work with jQuery 1.4 too.
35
 
36
  == Installation ==
37
 
@@ -45,10 +50,22 @@ Extract all files from the ZIP file, making sure to keep the file structure inta
45
 
46
  ###Configuring The Plugin###
47
 
48
- Go to the settings page and choose one of the five themes bundled with the plugin and other settings.
 
49
 
50
  **See Also:** <a href="http://codex.wordpress.org/Managing_Plugins#Installing_Plugins">"Installing Plugins" article on the WP Codex</a>
51
 
 
 
 
 
 
 
 
 
 
 
 
52
  == Frequently Asked Questions ==
53
  * I have installed and activated (or updated) jQuery Colorbox, but it doesn't show up when I click on a thumbnail in my blog. Is the plugin broken?
54
 
@@ -56,6 +73,8 @@ Since version 2.0, jQuery Colorbox' automatic behaviour can be switched on and o
56
 
57
  The default ist OFF.
58
 
 
 
59
  * How does jQuery Colorbox work?
60
 
61
  When inserting a picture, the field "Link URL" needs to contain the link to the full-sized image. (press the button "Link to Image" below the field)
@@ -73,19 +92,18 @@ For all images in a post or page, the same CSS class is added. All images with t
73
 
74
  * I have Flash (e.g. Youtube videos) embedded on my website. Why do they show up over the layer when I click on an image?
75
 
76
- This is a Flash issue, but relatively easy to solve. Adobe described on these sites what the problem is and how to fix it:
 
 
77
  <a href="http://kb2.adobe.com/cps/155/tn_15523.html">Adobe Knowledgebase 1</a>
78
  <a href="http://kb2.adobe.com/cps/142/tn_14201.html">Adobe Knowledgebase 2</a>
79
- In short:
80
- 1. Add the following parameter to the OBJECT tag: &lt;param name="wmode" value="transparent"&gt;
81
- 2. Add the following parameter to the EMBED tag: wmode="transparent"
82
 
83
  * I installed your plugin, but when I click on a thumbnail, the original picture is loaded directly instead of in the Colorbox. What could be the problem?
84
 
85
- Tricky.
86
 
87
- I have seen problems where other plugins include older, incompatible versions of the jQuery library my plugin uses.
88
- Since I include the jQuery library in a non-conflicting way, the other jQuery library is usually loaded.
89
 
90
  Maybe the images you want jQuery Colorbox to work on are added by a plugin and the images are added after jQuery Colorbox manipulates the HTML when rendering your blog.
91
 
@@ -104,6 +122,33 @@ Feel free to write an email to blog [at] techotronic.de or write a entry at <a h
104
  I'll include new FAQs in every new version. Promise.
105
 
106
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  = 2.0.1 (2010-02-11) =
108
  * BUGFIX: slideshow does not start automatically any more if the setting is not checked on the settings page.
109
 
1
  === Plugin Name ===
2
  Contributors: techotronic
3
  Donate link: http://www.techotronic.de/index.php/donate/
4
+ Tags: jquery, colorbox, lightbox, images, pictures, photos, gallery, javascript, overlay
5
  Requires at least: 2.8.5
6
  Tested up to: 2.9.1
7
+ Stable tag: 3.0.1
8
 
9
+ Adds Colorbox/Lightbox functionality to images on the blog. Images are grouped by post or page. Also works for WordPress galleries.
10
 
11
  == Description ==
12
 
13
+ Yet another Colorbox/Lightbox plugin for Wordpress.
14
+
15
+ jQuery Colorbox features 8 themes from which you can choose. See screenshots tab.
16
 
17
  When adding an image to a post or page, usually a thumbnail is inserted and linked to the image in original size.
18
  All images in posts and pages can be displayed in a layer when the thumbnail is clicked.
19
  Images are grouped as galleries when linked in the same post or page. Groups can be displayed in an automatic slideshow.
20
 
21
+ Individual images can be excluded by adding a special CSS class.
22
 
23
  See the <a href="http://www.techotronic.de/index.php/plugins/jquery-colorbox/">plugin page</a> for demo pages.
24
 
29
 
30
  * English (en_EN) by <a href="http://www.techotronic.de/">Arne Franken</a>
31
  * German (de_DE) by <a href="http://www.techotronic.de/">Arne Franken</a>
32
+ * Turkish (tr_TR) by <a href="http://www.serhatyolacan.com/">Serhat Yolaçan</a>
33
+ * Portuguese (pt_BR) by <a href="http://twitter.com/gervasioantonio">Gervásio Antônio</a>
34
+ * Bosnian (bs_BA) by <a href="http://www.vjucon.com/">Vedran Jurincic</a>
35
 
36
  Is your native language missing? Translating the plugin is easy if you understand english and are fluent in another language. Just send me an email.
37
 
38
  Includes <a href="http://colorpowered.com/colorbox/">ColorBox</a> 1.3.6 jQuery plugin from Jack Moore. Colorbox is licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a>.
39
+ jQuery Colorbox uses the jQuery library version 1.3.2 bundled with Wordpress. Works with jQuery 1.4.2 too.
40
 
41
  == Installation ==
42
 
50
 
51
  ###Configuring The Plugin###
52
 
53
+ Go to the settings page and choose one of the six themes bundled with the plugin and other settings.
54
+ Do not forget to activate auto Colorbox if you want Colorbox to work for all images.
55
 
56
  **See Also:** <a href="http://codex.wordpress.org/Managing_Plugins#Installing_Plugins">"Installing Plugins" article on the WP Codex</a>
57
 
58
+ == Screenshots ==
59
+
60
+ 1. Theme #1
61
+ 2. Theme #2
62
+ 3. Theme #3
63
+ 4. Theme #4
64
+ 5. Theme #5
65
+ 6. Theme #6
66
+ 7. Theme #7
67
+ 8. Theme #8
68
+
69
  == Frequently Asked Questions ==
70
  * I have installed and activated (or updated) jQuery Colorbox, but it doesn't show up when I click on a thumbnail in my blog. Is the plugin broken?
71
 
73
 
74
  The default ist OFF.
75
 
76
+ New in 3.0: If the plugin is activated, but the auto Colorbox feature is turned off, a warning is displayed.
77
+
78
  * How does jQuery Colorbox work?
79
 
80
  When inserting a picture, the field "Link URL" needs to contain the link to the full-sized image. (press the button "Link to Image" below the field)
92
 
93
  * I have Flash (e.g. Youtube videos) embedded on my website. Why do they show up over the layer when I click on an image?
94
 
95
+ This is a Flash issue, but relatively easy to solve. Just activate the automatic hiding of embedded flash objects on the settings page.
96
+
97
+ Adobe described on these sites what the problem is and how to fix it manually:
98
  <a href="http://kb2.adobe.com/cps/155/tn_15523.html">Adobe Knowledgebase 1</a>
99
  <a href="http://kb2.adobe.com/cps/142/tn_14201.html">Adobe Knowledgebase 2</a>
 
 
 
100
 
101
  * I installed your plugin, but when I click on a thumbnail, the original picture is loaded directly instead of in the Colorbox. What could be the problem?
102
 
103
+ Make sure that your theme uses the `wp_head();` function in the HTML head-tag.
104
 
105
+ I have seen problems where other plugins include their own versions of the jQuery library my plugin uses.
106
+ Chances are that the other jQuery libary is loaded after the one that I load. If that happens, the colorbox features are overwritten.
107
 
108
  Maybe the images you want jQuery Colorbox to work on are added by a plugin and the images are added after jQuery Colorbox manipulates the HTML when rendering your blog.
109
 
122
  I'll include new FAQs in every new version. Promise.
123
 
124
  == Changelog ==
125
+ = 3.0.1 (2010-03-31) =
126
+ * BUGFIX: Settings are NOW REALLY not overridden any more every time the plugin gets activated.
127
+
128
+ = 3.0 (2010-03-31) =
129
+ * NEW: Decided to move from 2.0.1 to 3.0 because I implemented many new features
130
+ * BUGFIX: Slideshow speed setting works now.
131
+ * BUGFIX: Settings are not overridden any more every time the plugin gets activated.
132
+ * BUGFIX: jQuery Colorbox now works again for links with uppercase suffixes (IMG,JPG etc) thx to Jason Stapels (jstapels@realmprojects.com) for the bug report and fix!
133
+ * NEW: Added theme#6, a modified version of theme#1. (not compatible with IE6) thx to <a href="http://twitter.com/gervasioantonio">Gervásio Antônio</a> for all the hard work!
134
+ * NEW: Added theme#7, a modified version of theme#1. thx to <a href="http://www.vjucon.com/">Vedran Jurincic</a> for the feature request!
135
+ * NEW: Added theme#8, a modified version of theme#6.
136
+ * NEW: Added screenshots of all themes, screenshot of selected theme is shown in admin menu
137
+ * NEW: Added warning if the plugin is activated but not set to work for all images on the blog. Warning can be turned off on the settings page.
138
+ * NEW: Added setting for automatic hiding of embedded flash objects under Colorbox layer. Default: false
139
+ * NEW: Added switch for preloading of "previous" and "next" images. Default: false
140
+ * NEW: Added switch for closing of Colorbox on click on opacity layer. Default: false
141
+ * NEW: Added setting for transition type. Default: elastic
142
+ * NEW: Added setting for transition speed. Default: 250 milliseconds
143
+ * NEW: Added setting for overlay opacity. Default: 0.85
144
+ * CHANGE: Fixed fonts in Colorbox to Arial 12px
145
+ * NEW: Turkish translation by <a href="http://www.serhatyolacan.com/">Serhat Yolaçan</a>
146
+ * NEW: Portuguese translation by <a href="http://twitter.com/gervasioantonio">Gervásio Antônio</a>
147
+ * NEW: Bosnian translation by <a href="http://www.vjucon.com/">Vedran Jurincic</a>
148
+ * NEW: Plugin should be WPMU compatible now. Haven't tested myself, though. Would appreciate any feedback.
149
+ * NEW: Successfully tested jQuery Colorbox with jQuery 1.4.2
150
+ * CHANGE: Fixed "slideshow" offset from right hand side in the Colorbox of theme#4
151
+
152
  = 2.0.1 (2010-02-11) =
153
  * BUGFIX: slideshow does not start automatically any more if the setting is not checked on the settings page.
154
 
screenshot-1.jpg ADDED
Binary file
screenshot-2.jpg ADDED
Binary file
screenshot-3.jpg ADDED
Binary file
screenshot-4.jpg ADDED
Binary file
screenshot-5.jpg ADDED
Binary file
screenshot-6.jpg ADDED
Binary file
screenshot-7.jpg ADDED
Binary file
screenshot-8.jpg ADDED
Binary file
themes/theme1/colorbox.css CHANGED
@@ -19,7 +19,7 @@
19
  order/nesting of the generated HTML, so that the structure easier to understand.
20
  */
21
  #cboxOverlay{background:url(images/overlay.png) 0 0 repeat;}
22
- #colorbox{}
23
  #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;}
24
  #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;}
25
  #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;}
@@ -33,11 +33,11 @@
33
  #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
34
  #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
35
  #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
36
- #cboxPrevious{position:absolute; bottom:0; left:0px; background:url(images/controls.png) -75px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
37
  #cboxPrevious.hover{background-position:-75px -25px;}
38
- #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
39
  #cboxNext.hover{background-position:-50px -25px;}
40
  #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
41
  #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
42
- #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
43
  #cboxClose.hover{background-position:-25px -25px;}
19
  order/nesting of the generated HTML, so that the structure easier to understand.
20
  */
21
  #cboxOverlay{background:url(images/overlay.png) 0 0 repeat;}
22
+ #colorbox{font: 12px Arial,sans-serif;}
23
  #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;}
24
  #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;}
25
  #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;}
33
  #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
34
  #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
35
  #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
36
+ #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) -75px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
37
  #cboxPrevious.hover{background-position:-75px -25px;}
38
+ #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
39
  #cboxNext.hover{background-position:-50px -25px;}
40
  #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
41
  #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
42
+ #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
43
  #cboxClose.hover{background-position:-25px -25px;}
themes/theme1/index.html DELETED
@@ -1,86 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
- <title>ColorBox Examples</title>
6
- <style type="text/css">
7
- body{font:12px/1.2 Verdana, Arial, san-serrif; padding:0 10px;}
8
- a:link, a:visited{text-decoration:none; color:#416CE5; border-bottom:1px solid #416CE5;}
9
- h2{font-size:13px; margin:15px 0 0 0;}
10
- </style>
11
- <link type="text/css" media="screen" rel="stylesheet" href="colorbox.css" />
12
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
13
- <script type="text/javascript" src="../colorbox/jquery.colorbox.js"></script>
14
- <script type="text/javascript">
15
- $(document).ready(function(){
16
- //Examples of how to assign the ColorBox event to elements
17
- $("a[rel='example1']").colorbox();
18
- $("a[rel='example2']").colorbox({transition:"fade"});
19
- $("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
20
- $("a[rel='example4']").colorbox({slideshow:true});
21
- $(".example5").colorbox();
22
- $(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});
23
- $(".example7").colorbox({width:"80%", height:"80%", iframe:true});
24
- $(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});
25
- $(".example9").colorbox({
26
- onOpen:function(){ alert('onOpen: colorbox is about to open'); },
27
- onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
28
- onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
29
- onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
30
- onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
31
- });
32
-
33
- //Example of preserving a JavaScript event for inline calls.
34
- $("#click").click(function(){
35
- $('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
36
- return false;
37
- });
38
- });
39
- </script>
40
- </head>
41
- <body>
42
- <h1>ColorBox Demonstration</h1>
43
- <h2>Elastic Transition</h2>
44
- <p><a href="../content/ohoopee1.jpg" rel="example1" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
45
- <p><a href="../content/ohoopee2.jpg" rel="example1" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
46
- <p><a href="../content/ohoopee3.jpg" rel="example1" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
47
-
48
- <h2>Fade Transition</h2>
49
- <p><a href="../content/ohoopee1.jpg" rel="example2" title="Me and my grandfather on the Ohoopee">Grouped Photo 1</a></p>
50
- <p><a href="../content/ohoopee2.jpg" rel="example2" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
51
- <p><a href="../content/ohoopee3.jpg" rel="example2" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
52
-
53
- <h2>No Transition + fixed width and height (75% of screen size)</h2>
54
- <p><a href="../content/ohoopee1.jpg" rel="example3" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
55
- <p><a href="../content/ohoopee2.jpg" rel="example3" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
56
- <p><a href="../content/ohoopee3.jpg" rel="example3" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
57
-
58
- <h2>Slideshow</h2>
59
- <p><a href="../content/ohoopee1.jpg" rel="example4" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
60
- <p><a href="../content/ohoopee2.jpg" rel="example4" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
61
- <p><a href="../content/ohoopee3.jpg" rel="example4" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
62
-
63
- <h2>Other Content Types</h2>
64
- <p><a class='example5' href="../content/ajax.html" title="Homer Defined">Outside HTML (Ajax)</a></p>
65
- <p><a class='example5' href="../content/flash.html" title="Royksopp: Remind Me">Flash / Video (Ajax/Embedded)</a></p>
66
- <p><a class='example6' href="http://www.youtube.com/v/617ANIA5Rqs" title="The Knife: We Share Our Mother's Health">Flash / Video (Iframe/Direct Link To YouTube)</a></p>
67
- <p><a class='example7' href="http://google.com">Outside Webpage (Iframe)</a></p>
68
- <p><a class='example8' href="#">Inline HTML</a></p>
69
-
70
- <h2>Demonstration of using callbacks</h2>
71
- <p><a class='example9' href="../content/marylou.jpg" title="Marylou on Cumberland Island">Example with alerts</a>. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.</p>
72
-
73
- <!-- This contains the hidden content for inline calls -->
74
- <div style='display:none'>
75
- <div id='inline_example1' style='padding:10px; background:#fff;'>
76
- <p><strong>This content comes from a hidden element on this page.</strong></p>
77
- <p>The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.<br />
78
- <a id="click" href="#" style='padding:5px; background:#ccc;'>Click me, it will be preserved!</a></p>
79
-
80
- <p><strong>If you try to open a new ColorBox while it is already open, it will update itself with the new content.</strong></p>
81
- <p>Updating Content Example:<br />
82
- <a class="example5" href="../content/flash.html">Click here to load new content</a></p>
83
- </div>
84
- </div>
85
- </body>
86
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
themes/theme2/colorbox.css CHANGED
@@ -20,7 +20,7 @@
20
  */
21
  #cboxOverlay{background:#fff;}
22
 
23
- #colorbox{}
24
  #cboxContent{margin-top:32px;}
25
  #cboxLoadedContent{background:#000; padding:1px;}
26
  #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
@@ -28,14 +28,14 @@
28
  #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
29
  #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
30
  #cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) 0 0 no-repeat;}
31
- #cboxPrevious{background-position:0px 0px; right:44px;}
32
- #cboxPrevious.hover{background-position:0px -25px;}
33
- #cboxNext{background-position:-25px 0px; right:22px;}
34
  #cboxNext.hover{background-position:-25px -25px;}
35
- #cboxClose{background-position:-50px 0px; right:0;}
36
  #cboxClose.hover{background-position:-50px -25px;}
37
  .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
38
  .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
39
  .cboxSlideshow_on #cboxSlideshow.hover{background-position:-100px -25px;}
40
- .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
41
  .cboxSlideshow_off #cboxSlideshow.hover{background-position:-75px -25px;}
20
  */
21
  #cboxOverlay{background:#fff;}
22
 
23
+ #colorbox{font: 12px Arial,sans-serif;}
24
  #cboxContent{margin-top:32px;}
25
  #cboxLoadedContent{background:#000; padding:1px;}
26
  #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
28
  #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
29
  #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
30
  #cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) 0 0 no-repeat;}
31
+ #cboxPrevious{background-position:0 0; right:44px;}
32
+ #cboxPrevious.hover{background-position:0 -25px;}
33
+ #cboxNext{background-position:-25px 0; right:22px;}
34
  #cboxNext.hover{background-position:-25px -25px;}
35
+ #cboxClose{background-position:-50px 0; right:0;}
36
  #cboxClose.hover{background-position:-50px -25px;}
37
  .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
38
  .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
39
  .cboxSlideshow_on #cboxSlideshow.hover{background-position:-100px -25px;}
40
+ .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0; right:44px;}
41
  .cboxSlideshow_off #cboxSlideshow.hover{background-position:-75px -25px;}
themes/theme2/index.html DELETED
@@ -1,86 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
- <title>ColorBox Examples</title>
6
- <style type="text/css">
7
- body{font:12px/1.2 Verdana, Arial, san-serrif; padding:0 10px;}
8
- a:link, a:visited{text-decoration:none; color:#416CE5; border-bottom:1px solid #416CE5;}
9
- h2{font-size:13px; margin:15px 0 0 0;}
10
- </style>
11
- <link type="text/css" media="screen" rel="stylesheet" href="colorbox.css" />
12
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
13
- <script type="text/javascript" src="../colorbox/jquery.colorbox.js"></script>
14
- <script type="text/javascript">
15
- $(document).ready(function(){
16
- //Examples of how to assign the ColorBox event to elements
17
- $("a[rel='example1']").colorbox();
18
- $("a[rel='example2']").colorbox({transition:"fade"});
19
- $("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
20
- $("a[rel='example4']").colorbox({slideshow:true});
21
- $(".example5").colorbox();
22
- $(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});
23
- $(".example7").colorbox({width:"80%", height:"80%", iframe:true});
24
- $(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});
25
- $(".example9").colorbox({
26
- onOpen:function(){ alert('onOpen: colorbox is about to open'); },
27
- onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
28
- onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
29
- onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
30
- onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
31
- });
32
-
33
- //Example of preserving a JavaScript event for inline calls.
34
- $("#click").click(function(){
35
- $('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
36
- return false;
37
- });
38
- });
39
- </script>
40
- </head>
41
- <body>
42
- <h1>ColorBox Demonstration</h1>
43
- <h2>Elastic Transition</h2>
44
- <p><a href="../content/ohoopee1.jpg" rel="example1" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
45
- <p><a href="../content/ohoopee2.jpg" rel="example1" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
46
- <p><a href="../content/ohoopee3.jpg" rel="example1" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
47
-
48
- <h2>Fade Transition</h2>
49
- <p><a href="../content/ohoopee1.jpg" rel="example2" title="Me and my grandfather on the Ohoopee">Grouped Photo 1</a></p>
50
- <p><a href="../content/ohoopee2.jpg" rel="example2" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
51
- <p><a href="../content/ohoopee3.jpg" rel="example2" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
52
-
53
- <h2>No Transition + fixed width and height (75% of screen size)</h2>
54
- <p><a href="../content/ohoopee1.jpg" rel="example3" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
55
- <p><a href="../content/ohoopee2.jpg" rel="example3" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
56
- <p><a href="../content/ohoopee3.jpg" rel="example3" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
57
-
58
- <h2>Slideshow</h2>
59
- <p><a href="../content/ohoopee1.jpg" rel="example4" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
60
- <p><a href="../content/ohoopee2.jpg" rel="example4" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
61
- <p><a href="../content/ohoopee3.jpg" rel="example4" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
62
-
63
- <h2>Other Content Types</h2>
64
- <p><a class='example5' href="../content/ajax.html" title="Homer Defined">Outside HTML (Ajax)</a></p>
65
- <p><a class='example5' href="../content/flash.html" title="Royksopp: Remind Me">Flash / Video (Ajax/Embedded)</a></p>
66
- <p><a class='example6' href="http://www.youtube.com/v/617ANIA5Rqs" title="The Knife: We Share Our Mother's Health">Flash / Video (Iframe/Direct Link To YouTube)</a></p>
67
- <p><a class='example7' href="http://google.com">Outside Webpage (Iframe)</a></p>
68
- <p><a class='example8' href="#">Inline HTML</a></p>
69
-
70
- <h2>Demonstration of using callbacks</h2>
71
- <p><a class='example9' href="../content/marylou.jpg" title="Marylou on Cumberland Island">Example with alerts</a>. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.</p>
72
-
73
- <!-- This contains the hidden content for inline calls -->
74
- <div style='display:none'>
75
- <div id='inline_example1' style='padding:10px; background:#fff;'>
76
- <p><strong>This content comes from a hidden element on this page.</strong></p>
77
- <p>The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.<br />
78
- <a id="click" href="#" style='padding:5px; background:#ccc;'>Click me, it will be preserved!</a></p>
79
-
80
- <p><strong>If you try to open a new ColorBox while it is already open, it will update itself with the new content.</strong></p>
81
- <p>Updating Content Example:<br />
82
- <a class="example5" href="../content/flash.html">Click here to load new content</a></p>
83
- </div>
84
- </div>
85
- </body>
86
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
themes/theme3/colorbox.css CHANGED
@@ -20,11 +20,11 @@
20
  */
21
  #cboxOverlay{background:#000;}
22
 
23
- #colorbox{}
24
  #cboxContent{margin-top:20px;}
25
  #cboxLoadedContent{background:#000; padding:5px;}
26
  #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
27
- #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
28
  #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
29
  #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(images/controls.png) top left no-repeat; width:28px; height:65px; text-indent:-9999px;}
30
  #cboxPrevious.hover{background-position:bottom left;}
20
  */
21
  #cboxOverlay{background:#000;}
22
 
23
+ #colorbox{font: 12px Arial,sans-serif;}
24
  #cboxContent{margin-top:20px;}
25
  #cboxLoadedContent{background:#000; padding:5px;}
26
  #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
27
+ #cboxCurrent{position:absolute; top:-20px; right:0; color:#ccc;}
28
  #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
29
  #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(images/controls.png) top left no-repeat; width:28px; height:65px; text-indent:-9999px;}
30
  #cboxPrevious.hover{background-position:bottom left;}
themes/theme3/index.html DELETED
@@ -1,86 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
- <title>ColorBox Examples</title>
6
- <style type="text/css">
7
- body{font:12px/1.2 Verdana, Arial, san-serrif; padding:0 10px;}
8
- a:link, a:visited{text-decoration:none; color:#416CE5; border-bottom:1px solid #416CE5;}
9
- h2{font-size:13px; margin:15px 0 0 0;}
10
- </style>
11
- <link type="text/css" media="screen" rel="stylesheet" href="colorbox.css" />
12
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
13
- <script type="text/javascript" src="../colorbox/jquery.colorbox.js"></script>
14
- <script type="text/javascript">
15
- $(document).ready(function(){
16
- //Examples of how to assign the ColorBox event to elements
17
- $("a[rel='example1']").colorbox();
18
- $("a[rel='example2']").colorbox({transition:"fade"});
19
- $("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
20
- $("a[rel='example4']").colorbox({slideshow:true});
21
- $(".example5").colorbox();
22
- $(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});
23
- $(".example7").colorbox({width:"80%", height:"80%", iframe:true});
24
- $(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});
25
- $(".example9").colorbox({
26
- onOpen:function(){ alert('onOpen: colorbox is about to open'); },
27
- onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
28
- onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
29
- onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
30
- onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
31
- });
32
-
33
- //Example of preserving a JavaScript event for inline calls.
34
- $("#click").click(function(){
35
- $('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
36
- return false;
37
- });
38
- });
39
- </script>
40
- </head>
41
- <body>
42
- <h1>ColorBox Demonstration</h1>
43
- <h2>Elastic Transition</h2>
44
- <p><a href="../content/ohoopee1.jpg" rel="example1" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
45
- <p><a href="../content/ohoopee2.jpg" rel="example1" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
46
- <p><a href="../content/ohoopee3.jpg" rel="example1" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
47
-
48
- <h2>Fade Transition</h2>
49
- <p><a href="../content/ohoopee1.jpg" rel="example2" title="Me and my grandfather on the Ohoopee">Grouped Photo 1</a></p>
50
- <p><a href="../content/ohoopee2.jpg" rel="example2" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
51
- <p><a href="../content/ohoopee3.jpg" rel="example2" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
52
-
53
- <h2>No Transition + fixed width and height (75% of screen size)</h2>
54
- <p><a href="../content/ohoopee1.jpg" rel="example3" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
55
- <p><a href="../content/ohoopee2.jpg" rel="example3" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
56
- <p><a href="../content/ohoopee3.jpg" rel="example3" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
57
-
58
- <h2>Slideshow</h2>
59
- <p><a href="../content/ohoopee1.jpg" rel="example4" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
60
- <p><a href="../content/ohoopee2.jpg" rel="example4" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
61
- <p><a href="../content/ohoopee3.jpg" rel="example4" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
62
-
63
- <h2>Other Content Types</h2>
64
- <p><a class='example5' href="../content/ajax.html" title="Homer Defined">Outside HTML (Ajax)</a></p>
65
- <p><a class='example5' href="../content/flash.html" title="Royksopp: Remind Me">Flash / Video (Ajax/Embedded)</a></p>
66
- <p><a class='example6' href="http://www.youtube.com/v/617ANIA5Rqs" title="The Knife: We Share Our Mother's Health">Flash / Video (Iframe/Direct Link To YouTube)</a></p>
67
- <p><a class='example7' href="http://google.com">Outside Webpage (Iframe)</a></p>
68
- <p><a class='example8' href="#">Inline HTML</a></p>
69
-
70
- <h2>Demonstration of using callbacks</h2>
71
- <p><a class='example9' href="../content/marylou.jpg" title="Marylou on Cumberland Island">Example with alerts</a>. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.</p>
72
-
73
- <!-- This contains the hidden content for inline calls -->
74
- <div style='display:none'>
75
- <div id='inline_example1' style='padding:10px; background:#fff;'>
76
- <p><strong>This content comes from a hidden element on this page.</strong></p>
77
- <p>The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.<br />
78
- <a id="click" href="#" style='padding:5px; background:#ccc;'>Click me, it will be preserved!</a></p>
79
-
80
- <p><strong>If you try to open a new ColorBox while it is already open, it will update itself with the new content.</strong></p>
81
- <p>Updating Content Example:<br />
82
- <a class="example5" href="../content/flash.html">Click here to load new content</a></p>
83
- </div>
84
- </div>
85
- </body>
86
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
themes/theme4/colorbox.css CHANGED
@@ -20,7 +20,7 @@
20
  */
21
  #cboxOverlay{background:#fff;}
22
 
23
- #colorBox{}
24
  #cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) 0 0 no-repeat;}
25
  #cboxTopCenter{height:25px; background:url(images/border1.png) 0 -50px repeat-x;}
26
  #cboxTopRight{width:25px; height:25px; background:url(images/border1.png) -25px 0 no-repeat;}
@@ -31,10 +31,10 @@
31
  #cboxMiddleRight{width:25px; background:url(images/border2.png) -25px 0 repeat-y;}
32
  #cboxContent{background:#fff;}
33
  #cboxLoadedContent{margin-bottom:20px;}
34
- #cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
35
- #cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
36
- #cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;}
37
- #cboxPrevious{position:absolute; bottom:0px; left:0; color:#444;}
38
- #cboxNext{position:absolute; bottom:0px; left:63px; color:#444;}
39
  #cboxLoadingOverlay{background:url(images/loading.gif) 5px 5px no-repeat #fff;}
40
  #cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;}
20
  */
21
  #cboxOverlay{background:#fff;}
22
 
23
+ #colorBox{font: 12px Arial,sans-serif;}
24
  #cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) 0 0 no-repeat;}
25
  #cboxTopCenter{height:25px; background:url(images/border1.png) 0 -50px repeat-x;}
26
  #cboxTopRight{width:25px; height:25px; background:url(images/border1.png) -25px 0 no-repeat;}
31
  #cboxMiddleRight{width:25px; background:url(images/border2.png) -25px 0 repeat-y;}
32
  #cboxContent{background:#fff;}
33
  #cboxLoadedContent{margin-bottom:20px;}
34
+ #cboxTitle{position:absolute; bottom:0; left:0; text-align:center; width:100%; color:#999;}
35
+ #cboxCurrent{position:absolute; bottom:0; left:100px; color:#999;}
36
+ #cboxSlideshow{position:absolute; bottom:0; right:70px; color:#444;}
37
+ #cboxPrevious{position:absolute; bottom:0; left:0; color:#444;}
38
+ #cboxNext{position:absolute; bottom:0; left:63px; color:#444;}
39
  #cboxLoadingOverlay{background:url(images/loading.gif) 5px 5px no-repeat #fff;}
40
  #cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;}
themes/theme4/index.html DELETED
@@ -1,86 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
- <title>ColorBox Examples</title>
6
- <style type="text/css">
7
- body{font:12px/1.2 Verdana, Arial, san-serrif; padding:0 10px;}
8
- a:link, a:visited{text-decoration:none; color:#416CE5; border-bottom:1px solid #416CE5;}
9
- h2{font-size:13px; margin:15px 0 0 0;}
10
- </style>
11
- <link type="text/css" media="screen" rel="stylesheet" href="colorbox.css" />
12
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
13
- <script type="text/javascript" src="../colorbox/jquery.colorbox.js"></script>
14
- <script type="text/javascript">
15
- $(document).ready(function(){
16
- //Examples of how to assign the ColorBox event to elements
17
- $("a[rel='example1']").colorbox();
18
- $("a[rel='example2']").colorbox({transition:"fade"});
19
- $("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
20
- $("a[rel='example4']").colorbox({slideshow:true});
21
- $(".example5").colorbox();
22
- $(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});
23
- $(".example7").colorbox({width:"80%", height:"80%", iframe:true});
24
- $(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});
25
- $(".example9").colorbox({
26
- onOpen:function(){ alert('onOpen: colorbox is about to open'); },
27
- onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
28
- onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
29
- onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
30
- onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
31
- });
32
-
33
- //Example of preserving a JavaScript event for inline calls.
34
- $("#click").click(function(){
35
- $('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
36
- return false;
37
- });
38
- });
39
- </script>
40
- </head>
41
- <body>
42
- <h1>ColorBox Demonstration</h1>
43
- <h2>Elastic Transition</h2>
44
- <p><a href="../content/ohoopee1.jpg" rel="example1" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
45
- <p><a href="../content/ohoopee2.jpg" rel="example1" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
46
- <p><a href="../content/ohoopee3.jpg" rel="example1" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
47
-
48
- <h2>Fade Transition</h2>
49
- <p><a href="../content/ohoopee1.jpg" rel="example2" title="Me and my grandfather on the Ohoopee">Grouped Photo 1</a></p>
50
- <p><a href="../content/ohoopee2.jpg" rel="example2" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
51
- <p><a href="../content/ohoopee3.jpg" rel="example2" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
52
-
53
- <h2>No Transition + fixed width and height (75% of screen size)</h2>
54
- <p><a href="../content/ohoopee1.jpg" rel="example3" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
55
- <p><a href="../content/ohoopee2.jpg" rel="example3" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
56
- <p><a href="../content/ohoopee3.jpg" rel="example3" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
57
-
58
- <h2>Slideshow</h2>
59
- <p><a href="../content/ohoopee1.jpg" rel="example4" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
60
- <p><a href="../content/ohoopee2.jpg" rel="example4" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
61
- <p><a href="../content/ohoopee3.jpg" rel="example4" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
62
-
63
- <h2>Other Content Types</h2>
64
- <p><a class='example5' href="../content/ajax.html" title="Homer Defined">Outside HTML (Ajax)</a></p>
65
- <p><a class='example5' href="../content/flash.html" title="Royksopp: Remind Me">Flash / Video (Ajax/Embedded)</a></p>
66
- <p><a class='example6' href="http://www.youtube.com/v/617ANIA5Rqs" title="The Knife: We Share Our Mother's Health">Flash / Video (Iframe/Direct Link To YouTube)</a></p>
67
- <p><a class='example7' href="http://google.com">Outside Webpage (Iframe)</a></p>
68
- <p><a class='example8' href="#">Inline HTML</a></p>
69
-
70
- <h2>Demonstration of using callbacks</h2>
71
- <p><a class='example9' href="../content/marylou.jpg" title="Marylou on Cumberland Island">Example with alerts</a>. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.</p>
72
-
73
- <!-- This contains the hidden content for inline calls -->
74
- <div style='display:none'>
75
- <div id='inline_example1' style='padding:10px; background:#fff;'>
76
- <p><strong>This content comes from a hidden element on this page.</strong></p>
77
- <p>The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.<br />
78
- <a id="click" href="#" style='padding:5px; background:#ccc;'>Click me, it will be preserved!</a></p>
79
-
80
- <p><strong>If you try to open a new ColorBox while it is already open, it will update itself with the new content.</strong></p>
81
- <p>Updating Content Example:<br />
82
- <a class="example5" href="../content/flash.html">Click here to load new content</a></p>
83
- </div>
84
- </div>
85
- </body>
86
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
themes/theme5/colorbox.css CHANGED
@@ -20,7 +20,7 @@
20
  */
21
  #cboxOverlay{background:#000;}
22
 
23
- #colorbox{}
24
  #cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) 0 0 no-repeat;}
25
  #cboxTopCenter{height:14px; background:url(images/border.png) top left repeat-x;}
26
  #cboxTopRight{width:14px; height:14px; background:url(images/controls.png) -36px 0 no-repeat;}
@@ -36,15 +36,15 @@
36
  #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}
37
  #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}
38
 
39
- #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(images/controls.png) 0px 0px no-repeat; width:23px; height:23px; text-indent:-9999px;}
40
- #cboxPrevious{left:0px; background-position: -51px -25px;}
41
- #cboxPrevious.hover{background-position:-51px 0px;}
42
  #cboxNext{left:27px; background-position:-75px -25px;}
43
- #cboxNext.hover{background-position:-75px 0px;}
44
  #cboxClose{right:0; background-position:-100px -25px;}
45
- #cboxClose.hover{background-position:-100px 0px;}
46
 
47
- .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
48
- .cboxSlideshow_on #cboxSlideshow.hover{background-position:-150px 0px;}
49
  .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
50
- .cboxSlideshow_off #cboxSlideshow.hover{background-position:-125px 0px;}
20
  */
21
  #cboxOverlay{background:#000;}
22
 
23
+ #colorbox{font: 12px Arial,sans-serif;}
24
  #cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) 0 0 no-repeat;}
25
  #cboxTopCenter{height:14px; background:url(images/border.png) top left repeat-x;}
26
  #cboxTopRight{width:14px; height:14px; background:url(images/controls.png) -36px 0 no-repeat;}
36
  #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}
37
  #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}
38
 
39
+ #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(images/controls.png) 0 0 no-repeat; width:23px; height:23px; text-indent:-9999px;}
40
+ #cboxPrevious{left:0; background-position: -51px -25px;}
41
+ #cboxPrevious.hover{background-position:-51px 0;}
42
  #cboxNext{left:27px; background-position:-75px -25px;}
43
+ #cboxNext.hover{background-position:-75px 0;}
44
  #cboxClose{right:0; background-position:-100px -25px;}
45
+ #cboxClose.hover{background-position:-100px 0;}
46
 
47
+ .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0; right:27px;}
48
+ .cboxSlideshow_on #cboxSlideshow.hover{background-position:-150px 0;}
49
  .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
50
+ .cboxSlideshow_off #cboxSlideshow.hover{background-position:-125px 0;}
themes/theme5/index.html DELETED
@@ -1,86 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
- <title>ColorBox Examples</title>
6
- <style type="text/css">
7
- body{font:12px/1.2 Verdana, Arial, san-serrif; padding:0 10px;}
8
- a:link, a:visited{text-decoration:none; color:#416CE5; border-bottom:1px solid #416CE5;}
9
- h2{font-size:13px; margin:15px 0 0 0;}
10
- </style>
11
- <link type="text/css" media="screen" rel="stylesheet" href="colorbox.css" />
12
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
13
- <script type="text/javascript" src="../colorbox/jquery.colorbox.js"></script>
14
- <script type="text/javascript">
15
- $(document).ready(function(){
16
- //Examples of how to assign the ColorBox event to elements
17
- $("a[rel='example1']").colorbox();
18
- $("a[rel='example2']").colorbox({transition:"fade"});
19
- $("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
20
- $("a[rel='example4']").colorbox({slideshow:true});
21
- $(".example5").colorbox();
22
- $(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});
23
- $(".example7").colorbox({width:"80%", height:"80%", iframe:true});
24
- $(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});
25
- $(".example9").colorbox({
26
- onOpen:function(){ alert('onOpen: colorbox is about to open'); },
27
- onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
28
- onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
29
- onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
30
- onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
31
- });
32
-
33
- //Example of preserving a JavaScript event for inline calls.
34
- $("#click").click(function(){
35
- $('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
36
- return false;
37
- });
38
- });
39
- </script>
40
- </head>
41
- <body>
42
- <h1>ColorBox Demonstration</h1>
43
- <h2>Elastic Transition</h2>
44
- <p><a href="../content/ohoopee1.jpg" rel="example1" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
45
- <p><a href="../content/ohoopee2.jpg" rel="example1" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
46
- <p><a href="../content/ohoopee3.jpg" rel="example1" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
47
-
48
- <h2>Fade Transition</h2>
49
- <p><a href="../content/ohoopee1.jpg" rel="example2" title="Me and my grandfather on the Ohoopee">Grouped Photo 1</a></p>
50
- <p><a href="../content/ohoopee2.jpg" rel="example2" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
51
- <p><a href="../content/ohoopee3.jpg" rel="example2" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
52
-
53
- <h2>No Transition + fixed width and height (75% of screen size)</h2>
54
- <p><a href="../content/ohoopee1.jpg" rel="example3" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
55
- <p><a href="../content/ohoopee2.jpg" rel="example3" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
56
- <p><a href="../content/ohoopee3.jpg" rel="example3" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
57
-
58
- <h2>Slideshow</h2>
59
- <p><a href="../content/ohoopee1.jpg" rel="example4" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
60
- <p><a href="../content/ohoopee2.jpg" rel="example4" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
61
- <p><a href="../content/ohoopee3.jpg" rel="example4" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
62
-
63
- <h2>Other Content Types</h2>
64
- <p><a class='example5' href="../content/ajax.html" title="Homer Defined">Outside HTML (Ajax)</a></p>
65
- <p><a class='example5' href="../content/flash.html" title="Royksopp: Remind Me">Flash / Video (Ajax/Embedded)</a></p>
66
- <p><a class='example6' href="http://www.youtube.com/v/617ANIA5Rqs" title="The Knife: We Share Our Mother's Health">Flash / Video (Iframe/Direct Link To YouTube)</a></p>
67
- <p><a class='example7' href="http://google.com">Outside Webpage (Iframe)</a></p>
68
- <p><a class='example8' href="#">Inline HTML</a></p>
69
-
70
- <h2>Demonstration of using callbacks</h2>
71
- <p><a class='example9' href="../content/marylou.jpg" title="Marylou on Cumberland Island">Example with alerts</a>. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.</p>
72
-
73
- <!-- This contains the hidden content for inline calls -->
74
- <div style='display:none'>
75
- <div id='inline_example1' style='padding:10px; background:#fff;'>
76
- <p><strong>This content comes from a hidden element on this page.</strong></p>
77
- <p>The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.<br />
78
- <a id="click" href="#" style='padding:5px; background:#ccc;'>Click me, it will be preserved!</a></p>
79
-
80
- <p><strong>If you try to open a new ColorBox while it is already open, it will update itself with the new content.</strong></p>
81
- <p>Updating Content Example:<br />
82
- <a class="example5" href="../content/flash.html">Click here to load new content</a></p>
83
- </div>
84
- </div>
85
- </body>
86
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
themes/theme6/colorbox.css ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ ColorBox Core Style
3
+ The following rules are the styles that are consistant between themes.
4
+ Avoid changing this area to maintain compatability with future versions of ColorBox.
5
+ */
6
+ #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
7
+ #cboxOverlay{position:fixed; width:100%; height:100%;}
8
+ #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
9
+ #cboxContent{position:relative; overflow:hidden;}
10
+ #cboxLoadedContent{overflow:auto;}
11
+ #cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
12
+ #cboxTitle{margin:0;}
13
+ #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
14
+ #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
15
+
16
+ /*
17
+ Example user style
18
+ The following rules are ordered and tabbed in a way that represents the
19
+ order/nesting of the generated HTML, so that the structure easier to understand.
20
+ */
21
+ #cboxOverlay{background:url(images/overlay.png) 0 0 repeat;}
22
+ #colorbox{font: 12px Arial,sans-serif;}
23
+ #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;}
24
+ #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;}
25
+ #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;}
26
+ #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) -129px -29px no-repeat;}
27
+ #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
28
+ #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
29
+ #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
30
+ #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
31
+ #cboxContent{background:#fff;}
32
+ #cboxLoadedContent{margin-bottom:28px;}
33
+ #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
34
+ #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
35
+ #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
36
+ #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) -75px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
37
+ #cboxPrevious.hover{background-position:-75px -25px;}
38
+ #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
39
+ #cboxNext.hover{background-position:-50px -25px;}
40
+ #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
41
+ #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
42
+ #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
43
+ #cboxClose.hover{background-position:-25px -25px;}
themes/theme6/images/border.png ADDED
Binary file
themes/theme6/images/controls.png ADDED
Binary file
themes/theme6/images/internet_explorer/borderBottomCenter.png ADDED
Binary file
themes/theme6/images/internet_explorer/borderBottomLeft.png ADDED
Binary file
themes/theme6/images/internet_explorer/borderBottomRight.png ADDED
Binary file
themes/theme6/images/internet_explorer/borderMiddleLeft.png ADDED
Binary file
themes/theme6/images/internet_explorer/borderMiddleRight.png ADDED
Binary file
themes/theme6/images/internet_explorer/borderTopCenter.png ADDED
Binary file
themes/theme6/images/internet_explorer/borderTopLeft.png ADDED
Binary file
themes/theme6/images/internet_explorer/borderTopRight.png ADDED
Binary file
themes/theme6/images/loading.gif ADDED
Binary file
themes/theme6/images/loading_background.png ADDED
Binary file
themes/theme6/images/overlay.png ADDED
Binary file
themes/theme7/colorbox.css ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ ColorBox Core Style
3
+ The following rules are the styles that are consistant between themes.
4
+ Avoid changing this area to maintain compatability with future versions of ColorBox.
5
+ */
6
+ #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
7
+ #cboxOverlay{position:fixed; width:100%; height:100%;}
8
+ #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
9
+ #cboxContent{position:relative; overflow:hidden;}
10
+ #cboxLoadedContent{overflow:auto;}
11
+ #cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
12
+ #cboxTitle{margin:0;}
13
+ #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
14
+ #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
15
+
16
+ /*
17
+ Example user style
18
+ The following rules are ordered and tabbed in a way that represents the
19
+ order/nesting of the generated HTML, so that the structure easier to understand.
20
+ */
21
+ #cboxOverlay{background:#000;}
22
+ #colorbox{font: 12px Arial,sans-serif;}
23
+ #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;}
24
+ #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;}
25
+ #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;}
26
+ #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) -129px -29px no-repeat;}
27
+ #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
28
+ #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
29
+ #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
30
+ #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
31
+ #cboxContent{background:#fff;}
32
+ #cboxLoadedContent{margin-bottom:28px;}
33
+ #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
34
+ #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
35
+ #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
36
+ #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) -75px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
37
+ #cboxPrevious.hover{background-position:-75px -25px;}
38
+ #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
39
+ #cboxNext.hover{background-position:-50px -25px;}
40
+ #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
41
+ #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
42
+ #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
43
+ #cboxClose.hover{background-position:-25px -25px;}
themes/theme7/images/border.png ADDED
Binary file
themes/theme7/images/controls.png ADDED
Binary file
themes/theme7/images/internet_explorer/borderBottomCenter.png ADDED
Binary file
themes/theme7/images/internet_explorer/borderBottomLeft.png ADDED
Binary file
themes/theme7/images/internet_explorer/borderBottomRight.png ADDED
Binary file
themes/theme7/images/internet_explorer/borderMiddleLeft.png ADDED
Binary file
themes/theme7/images/internet_explorer/borderMiddleRight.png ADDED
Binary file
themes/theme7/images/internet_explorer/borderTopCenter.png ADDED
Binary file
themes/theme7/images/internet_explorer/borderTopLeft.png ADDED
Binary file
themes/theme7/images/internet_explorer/borderTopRight.png ADDED
Binary file
themes/theme7/images/loading.gif ADDED
Binary file
themes/theme7/images/loading_background.png ADDED
Binary file
themes/theme7/images/overlay.png ADDED
Binary file
themes/theme8/colorbox.css ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ ColorBox Core Style
3
+ The following rules are the styles that are consistant between themes.
4
+ Avoid changing this area to maintain compatability with future versions of ColorBox.
5
+ */
6
+ #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
7
+ #cboxOverlay{position:fixed; width:100%; height:100%;}
8
+ #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
9
+ #cboxContent{position:relative; overflow:hidden;}
10
+ #cboxLoadedContent{overflow:auto;}
11
+ #cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
12
+ #cboxTitle{margin:0;}
13
+ #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
14
+ #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
15
+
16
+ /*
17
+ Example user style
18
+ The following rules are ordered and tabbed in a way that represents the
19
+ order/nesting of the generated HTML, so that the structure easier to understand.
20
+ */
21
+ #cboxOverlay{background:#000;}
22
+ #colorbox{font: 12px Arial,sans-serif;}
23
+ #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;}
24
+ #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;}
25
+ #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;}
26
+ #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) -129px -29px no-repeat;}
27
+ #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
28
+ #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
29
+ #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
30
+ #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
31
+ #cboxContent{background:#fff;}
32
+ #cboxLoadedContent{margin-bottom:28px;}
33
+ #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
34
+ #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
35
+ #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
36
+ #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) -75px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
37
+ #cboxPrevious.hover{background-position:-75px -25px;}
38
+ #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
39
+ #cboxNext.hover{background-position:-50px -25px;}
40
+ #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
41
+ #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
42
+ #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
43
+ #cboxClose.hover{background-position:-25px -25px;}
themes/theme8/images/border.png ADDED
Binary file
themes/theme8/images/controls.png ADDED
Binary file
themes/theme8/images/internet_explorer/borderBottomCenter.png ADDED
Binary file
themes/theme8/images/internet_explorer/borderBottomLeft.png ADDED
Binary file
themes/theme8/images/internet_explorer/borderBottomRight.png ADDED
Binary file
themes/theme8/images/internet_explorer/borderMiddleLeft.png ADDED
Binary file
themes/theme8/images/internet_explorer/borderMiddleRight.png ADDED
Binary file
themes/theme8/images/internet_explorer/borderTopCenter.png ADDED
Binary file
themes/theme8/images/internet_explorer/borderTopLeft.png ADDED
Binary file
themes/theme8/images/internet_explorer/borderTopRight.png ADDED
Binary file
themes/theme8/images/loading.gif ADDED
Binary file
themes/theme8/images/loading_background.png ADDED
Binary file
themes/theme8/images/overlay.png ADDED
Binary file