jQuery Colorbox - Version 3.1

Version Description

(2010-04-10) = * BUGFIX: Automatic hiding of embedded flash objects under Colorbox layer now works in Internet Explorer. * NEW: Added theme#9, a modified version of theme#4. * NEW: French translation by Tolingo Translations * NEW: If auto colorbox is switched on, plugin now adds Colorbox functionality to every image regardless of position * CHANGE: Serhat Yolaan updated the turkish translation.

Download this release

Release Info

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

Code changes from version 3.0.1 to 3.1

includes/iefix-theme1.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Techotronic
4
+ * @subpackage jQuery Colorbox
5
+ *
6
+ * @since 3.1
7
+ *
8
+ * CSS fixes for IE
9
+ */
10
+ ?>
11
+ <!--[if IE]>
12
+ <style type="text/css">
13
+ <?php /*
14
+ The following fixes png-transparency for IE6.
15
+ It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
16
+
17
+ Since this method does not support CSS background-positioning, it is incompatible with CSS sprites.
18
+ Colorbox preloads navigation hover classes to account for this.
19
+
20
+ !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
21
+ while regular CSS background images are relative to the CSS document.
22
+ */
23
+ ?>
24
+ .cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderTopLeft.png, sizingMethod='scale');}
25
+ .cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderTopCenter.png, sizingMethod='scale');}
26
+ .cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderTopRight.png, sizingMethod='scale');}
27
+ .cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderBottomLeft.png, sizingMethod='scale');}
28
+ .cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderBottomCenter.png, sizingMethod='scale');}
29
+ .cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderBottomRight.png, sizingMethod='scale');}
30
+ .cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderMiddleLeft.png, sizingMethod='scale');}
31
+ .cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderMiddleRight.png, sizingMethod='scale');}
32
+ </style>
33
+ <![endif]-->
includes/iefix-theme4.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Techotronic
4
+ * @subpackage jQuery Colorbox
5
+ *
6
+ * @since 3.1
7
+ *
8
+ * CSS fixes for IE
9
+ */
10
+ ?>
11
+ <!--[if IE]>
12
+ <style type="text/css">
13
+ <?php /*
14
+ The following fixes png-transparency for IE6.
15
+ It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
16
+
17
+ Since this method does not support CSS background-positioning, it is incompatible with CSS sprites.
18
+ Colorbox preloads navigation hover classes to account for this.
19
+
20
+ !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
21
+ while regular CSS background images are relative to the CSS document.
22
+ */
23
+ ?>
24
+ .cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderTopLeft.png, sizingMethod='scale');}
25
+ .cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderTopCenter.png, sizingMethod='scale');}
26
+ .cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderTopRight.png, sizingMethod='scale');}
27
+ .cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderBottomLeft.png, sizingMethod='scale');}
28
+ .cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderBottomCenter.png, sizingMethod='scale');}
29
+ .cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderBottomRight.png, sizingMethod='scale');}
30
+ .cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderMiddleLeft.png, sizingMethod='scale');}
31
+ .cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderMiddleRight.png, sizingMethod='scale');}
32
+ </style>
33
+ <![endif]-->
includes/settings-page.php ADDED
@@ -0,0 +1,412 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Techotronic
4
+ * @subpackage jQuery Colorbox
5
+ *
6
+ * @since 3.1
7
+ *
8
+ * HTML for settings page
9
+ */
10
+ ?>
11
+ <script type="text/javascript">
12
+ //<![CDATA[
13
+ jQuery(document).ready(function($) {
14
+ //delete value from maxWidthValue if maxWidth radio button is selected
15
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidth]']").click(function() {
16
+ if ("jquery-colorbox-maxWidth-custom-radio" != $(this).attr("id"))
17
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidthValue]']").val("");
18
+ });
19
+ //set maxWidth radio button if cursor is set into maxWidthValue
20
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidthValue]']").focus(function() {
21
+ $("#jquery-colorbox-maxWidth-custom-radio").attr("checked", "checked");
22
+ });
23
+
24
+ //delete value from maxHeightValue if maxHeight radio button is selected
25
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeight]']").click(function() {
26
+ if ("jquery-colorbox-maxHeight-custom-radio" != $(this).attr("id"))
27
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeightValue]']").val("");
28
+ });
29
+ //set maxHeight radio button if cursor is set into maxHeightValue
30
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeightValue]']").focus(function() {
31
+ $("#jquery-colorbox-maxHeight-custom-radio").attr("checked", "checked");
32
+ });
33
+
34
+ //delete value from widthValue if width radio button is selected
35
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[width]']").click(function() {
36
+ if ("jquery-colorbox-width-custom-radio" != $(this).attr("id"))
37
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[widthValue]']").val("");
38
+ });
39
+ //set width radio button if cursor is set into widthValue
40
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[widthValue]']").focus(function() {
41
+ $("#jquery-colorbox-width-custom-radio").attr("checked", "checked");
42
+ });
43
+
44
+ //delete value from heightValue if height radio button is selected
45
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[height]']").click(function() {
46
+ if ("jquery-colorbox-height-custom-radio" != $(this).attr("id"))
47
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[heightValue]']").val("");
48
+ });
49
+ //set height radio button if cursor is set into heightValue
50
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[heightValue]']").focus(function() {
51
+ $("#jquery-colorbox-height-custom-radio").attr("checked", "checked");
52
+ });
53
+
54
+ //only one of the checkboxes is allowed to be selected.
55
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]']").click(function() {
56
+ if ($("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]']").is(':checked')) {
57
+ $("#jquery-colorbox-autoColorboxGalleries").attr("checked", false);
58
+ }
59
+ });
60
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorboxGalleries]']").click(function() {
61
+ if ($("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorboxGalleries]']").is(':checked')) {
62
+ $("#jquery-colorbox-autoColorbox").attr("checked", false);
63
+ }
64
+ });
65
+
66
+ //activate warning if auto Colorbox is activated
67
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]']").click(function() {
68
+ if ($("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]']").is(':checked')) {
69
+ $("#jquery-colorbox-colorboxWarningOff").attr("checked", true);
70
+ }
71
+ });
72
+
73
+ //activate warning if auto Colorbox is deactivated
74
+ $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]']").click(function() {
75
+ if (!$("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]']").is(':checked')) {
76
+ $("#jquery-colorbox-colorboxWarningOff").attr("checked", false);
77
+ }
78
+ });
79
+
80
+ //change screenshot if new theme is selected
81
+ $("#jquery-colorbox-theme").change(function() {
82
+ var src = $("option:selected", this).val().match(/\d$/i);
83
+ if ( src != "" ){
84
+ var $imgTag = "<img src=\"" + "<?php echo JQUERYCOLORBOX_PLUGIN_URL; echo '/screenshot-' ; ?>" + src + ".jpg\" />";
85
+ $("#jquery-colorbox-theme_screenshot_image").empty().html($imgTag).fadeIn();
86
+ }
87
+ });
88
+ });
89
+ //]]>
90
+ </script>
91
+ <div class="wrap">
92
+ <?php screen_icon(); ?>
93
+ <h2><?php printf(__('%1$s Settings', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?></h2>
94
+ <br class="clear"/>
95
+
96
+ <?php settings_fields(JQUERYCOLORBOX_SETTINGSNAME); ?>
97
+
98
+ <div id="poststuff" class="ui-sortable meta-box-sortables">
99
+ <div id="jquery-colorbox-settings" class="postbox">
100
+ <h3 id="settings"><?php _e('Settings', JQUERYCOLORBOX_TEXTDOMAIN); ?></h3>
101
+
102
+ <div class="inside">
103
+ <form name="jquery-colorbox-settings-update" method="post" action="admin-post.php">
104
+ <?php if (function_exists('wp_nonce_field') === true) wp_nonce_field('jquery-colorbox-settings-form'); ?>
105
+
106
+ <table class="form-table">
107
+ <tr valign="top">
108
+ <th scope="row">
109
+ <label for="jquery-colorbox-theme"><?php _e('Theme', JQUERYCOLORBOX_TEXTDOMAIN); ?></label>
110
+ </th>
111
+ <td>
112
+ <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[colorboxTheme]" id="jquery-colorbox-theme" class="postform" style="margin:0">
113
+ <?php
114
+ foreach ($this->colorboxThemes as $theme => $name) {
115
+ echo '<option value="' . esc_attr($theme) . '"';
116
+ selected($this->colorboxSettings['colorboxTheme'], $theme);
117
+ echo '>' . htmlspecialchars($name) . "</option>\n";
118
+ }
119
+ ?>
120
+ </select>
121
+ <br/><?php _e('Select the theme you want to use on your blog.', JQUERYCOLORBOX_TEXTDOMAIN); ?>
122
+ </td>
123
+ </tr>
124
+ <tr>
125
+ <th scope="row">
126
+ <label for="jquery-colorbox-theme_screenshot_image"><?php _e('Theme screenshot', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
127
+ </th>
128
+ <td height="310px">
129
+ <div id="jquery-colorbox-theme_screenshot_image">
130
+ <img src="<?php echo JQUERYCOLORBOX_PLUGIN_URL; echo '/screenshot-' ; preg_match('/\d$/i',$this->colorboxSettings['colorboxTheme'],$matches); echo $matches[0] ?>.jpg"/>
131
+ </div>
132
+ </td>
133
+ </tr>
134
+ <tr>
135
+ <th scope="row">
136
+ <label for="jquery-colorbox-autoColorbox"><?php printf(__('Automate %1$s for all images', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?>:</label>
137
+ </th>
138
+ <td>
139
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]" id="jquery-colorbox-autoColorbox" value="true" <?php echo ($this->colorboxSettings['autoColorbox']) ? 'checked="checked"' : '';?>/>
140
+ <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); ?>
141
+ </td>
142
+ </tr>
143
+ <tr>
144
+ <th scope="row">
145
+ <label for="jquery-colorbox-autoColorboxGalleries"><?php printf(__('Automate %1$s for images in WordPress galleries', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?>:</label>
146
+ </th>
147
+ <td>
148
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorboxGalleries]" id="jquery-colorbox-autoColorboxGalleries" value="true" <?php echo ($this->colorboxSettings['autoColorboxGalleries']) ? 'checked="checked"' : '';?>/>
149
+ <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); ?>
150
+ </td>
151
+ </tr>
152
+ <tr>
153
+ <th scope="row">
154
+ <label for="jquery-colorbox-slideshow"><?php _e('Add Slideshow to groups', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
155
+ </th>
156
+ <td>
157
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[slideshow]" id="jquery-colorbox-slideshow" value="true" <?php echo ($this->colorboxSettings['slideshow']) ? 'checked="checked"' : '';?>/>
158
+ <br/><?php printf(__('Add Slideshow functionality for %1$s Groups', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?>
159
+ </td>
160
+ </tr>
161
+ <tr>
162
+ <th scope="row">
163
+ <label for="jquery-colorbox-slideshowAuto"><?php _e('Start Slideshow automatically', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
164
+ </th>
165
+ <td>
166
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[slideshowAuto]" id="jquery-colorbox-slideshowAuto" value="true" <?php echo ($this->colorboxSettings['slideshowAuto']) ? 'checked="checked"' : '';?>/>
167
+ <br/><?php printf(__('Start Slideshow automatically if slideshow functionality is added to %1$s Groups', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?>
168
+ </td>
169
+ </tr>
170
+ <tr>
171
+ <th scope="row">
172
+ <label for="jquery-colorbox-slideshowSpeed"><?php _e('Speed of the slideshow', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
173
+ </th>
174
+ <td>
175
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[slideshowSpeed]" id="jquery-colorbox-slideshowSpeed" value="<?php echo $this->colorboxSettings['slideshowSpeed'] ?>" size="5" maxlength="5"/>ms
176
+ <br/><?php _e('Sets the speed of the slideshow, in milliseconds', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
177
+ </td>
178
+ </tr>
179
+ <tr>
180
+ <th scope="row">
181
+ <label for="jquery-colorbox-maxWidthValue"><?php _e('Maximum width of an image', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
182
+ </th>
183
+ <td>
184
+ <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"' : ''; ?>"/>
185
+ <label for="jquery-colorbox-maxWidth-false-radio"><?php _e('Do not set width', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
186
+ <br/>
187
+ <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"' : ''; ?>"/>
188
+ <label for="jquery-colorbox-maxWidth-custom-radio"><?php _e('Set maximum width of an image', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
189
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidthValue]" id="jquery-colorbox-maxWidthValue" value="<?php echo $this->colorboxSettings['maxWidthValue'] ?>" size="3" maxlength="3"/>
190
+ <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidthUnit]" id="jquery-colorbox-maxWidth-unit" class="postform" style="margin:0">
191
+ <?php
192
+ foreach ($this->colorboxUnits as $unit => $name) {
193
+ echo '<option value="' . esc_attr($unit) . '"';
194
+ selected($this->colorboxSettings['maxWidthUnit'], $unit);
195
+ echo '>' . htmlspecialchars($name) . "</option>\n";
196
+ }
197
+ ?>
198
+ </select>
199
+ <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); ?>.
200
+ </td>
201
+ </tr>
202
+ <tr>
203
+ <th scope="row">
204
+ <label for="jquery-colorbox-maxHeightValue"><?php _e('Maximum height of an image', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
205
+ </th>
206
+ <td>
207
+ <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"' : ''; ?>"/>
208
+ <label for="jquery-colorbox-maxHeight-false-radio"><?php _e('Do not set height', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
209
+ <br/>
210
+ <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"' : ''; ?>"/>
211
+ <label for="jquery-colorbox-maxHeight-custom-radio"><?php _e('Set maximum height of an image', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
212
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeightValue]" id="jquery-colorbox-maxHeightValue" value="<?php echo $this->colorboxSettings['maxHeightValue'] ?>" size="3" maxlength="3"/>
213
+ <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeightUnit]" id="jquery-colorbox-maxHeight-unit" class="postform" style="margin:0">
214
+ <?php
215
+ foreach ($this->colorboxUnits as $unit => $name) {
216
+ echo '<option value="' . esc_attr($unit) . '"';
217
+ selected($this->colorboxSettings['maxHeightUnit'], $unit);
218
+ echo '>' . htmlspecialchars($name) . "</option>\n";
219
+ }
220
+ ?>
221
+ </select>
222
+ <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); ?>.
223
+ </td>
224
+ </tr>
225
+ <tr>
226
+ <th scope="row">
227
+ <label for="jquery-colorbox-widthValue"><?php _e('Maximum width of the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
228
+ </th>
229
+ <td>
230
+ <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"' : ''; ?>"/>
231
+ <label for="jquery-colorbox-width-false-radio"><?php _e('Do not set width', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
232
+ <br/>
233
+ <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"' : ''; ?>"/>
234
+ <label for="jquery-colorbox-width-custom-radio"><?php _e('Set width of the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
235
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[widthValue]" id="jquery-colorbox-widthValue" value="<?php echo $this->colorboxSettings['widthValue'] ?>" size="3" maxlength="3"/>
236
+ <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[widthUnit]" id="jquery-colorbox-width-unit" class="postform" style="margin:0">
237
+ <?php
238
+ foreach ($this->colorboxUnits as $unit => $name) {
239
+ echo '<option value="' . esc_attr($unit) . '"';
240
+ selected($this->colorboxSettings['widthUnit'], $unit);
241
+ echo '>' . htmlspecialchars($name) . "</option>\n";
242
+ }
243
+ ?>
244
+ </select>
245
+ <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); ?>.
246
+ </td>
247
+ </tr>
248
+ <tr>
249
+ <th scope="row">
250
+ <label for="jquery-colorbox-heightValue"><?php _e('Maximum height of the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
251
+ </th>
252
+ <td>
253
+ <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"' : ''; ?>"/>
254
+ <label for="jquery-colorbox-height-false-radio"><?php _e('Do not set height', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
255
+ <br/>
256
+ <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"' : ''; ?>"/>
257
+ <label for="jquery-colorbox-height-custom-radio"><?php _e('Set height of the Colorbox', JQUERYCOLORBOX_TEXTDOMAIN); ?>.</label>
258
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[heightValue]" id="jquery-colorbox-heightValue" value="<?php echo $this->colorboxSettings['heightValue'] ?>" size="3" maxlength="3"/>
259
+ <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[heightUnit]" id="jquery-colorbox-height-unit" class="postform" style="margin:0">
260
+ <?php
261
+ foreach ($this->colorboxUnits as $unit => $name) {
262
+ echo '<option value="' . esc_attr($unit) . '"';
263
+ selected($this->colorboxSettings['heightUnit'], $unit);
264
+ echo '>' . htmlspecialchars($name) . "</option>\n";
265
+ }
266
+ ?>
267
+ </select>
268
+ <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); ?>.
269
+ </td>
270
+ </tr>
271
+ <tr>
272
+ <th scope="row">
273
+ <label for="jquery-colorbox-scalePhotos"><?php _e('Resize images', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
274
+ </th>
275
+ <td>
276
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[scalePhotos]" id="jquery-colorbox-scalePhotos" value="true" <?php echo ($this->colorboxSettings['scalePhotos']) ? 'checked="checked"' : '';?>/>
277
+ <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); ?>.
278
+ </td>
279
+ </tr>
280
+ <tr>
281
+ <th scope="row">
282
+ <label for="jquery-colorbox-overlayClose"><?php _e('Close Colorbox on overlay click', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
283
+ </th>
284
+ <td>
285
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[overlayClose]" id="jquery-colorbox-overlayClose" value="true" <?php echo ($this->colorboxSettings['overlayClose']) ? 'checked="checked"' : '';?>/>
286
+ <br/><?php _e('If checked, enables closing ColorBox by clicking on the background overlay', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
287
+ </td>
288
+ </tr>
289
+ <tr>
290
+ <th scope="row">
291
+ <label for="jquery-colorbox-preloading"><?php _e('Preload images', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
292
+ </th>
293
+ <td>
294
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[preloading]" id="jquery-colorbox-preloading" value="true" <?php echo ($this->colorboxSettings['preloading']) ? 'checked="checked"' : '';?>/>
295
+ <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); ?>.
296
+ </td>
297
+ </tr>
298
+ <tr>
299
+ <th scope="row">
300
+ <label for="jquery-colorbox-transition"><?php _e('Transition type', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
301
+ </th>
302
+ <td>
303
+ <select name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[transition]" id="jquery-colorbox-transition" class="postform" style="margin:0">
304
+ <?php
305
+ foreach ($this->colorboxTransitions as $unit => $name) {
306
+ echo '<option value="' . esc_attr($unit) . '"';
307
+ selected($this->colorboxSettings['transition'], $unit);
308
+ echo '>' . htmlspecialchars($name) . "</option>\n";
309
+ }
310
+ ?>
311
+ </select>
312
+ <br/><?php _e('The transition type of the Colorbox. Can be set to "elastic", "fade", or "none"', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
313
+ </td>
314
+ </tr>
315
+ <tr>
316
+ <th scope="row">
317
+ <label for="jquery-colorbox-speed"><?php _e('Transition speed', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
318
+ </th>
319
+ <td>
320
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[speed]" id="jquery-colorbox-speed" value="<?php echo $this->colorboxSettings['speed'] ?>" size="5" maxlength="5"/>ms
321
+ <br/><?php _e('Sets the speed of the "fade" and "elastic" transitions, in milliseconds', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
322
+ </td>
323
+ </tr>
324
+ <tr>
325
+ <th scope="row">
326
+ <label for="jquery-colorbox-opacity"><?php _e('Opacity', JQUERYCOLORBOX_TEXTDOMAIN); ?>:</label>
327
+ </th>
328
+ <td>
329
+ <input type="text" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[opacity]" id="jquery-colorbox-opacity" value="<?php echo $this->colorboxSettings['opacity'] ?>" size="4" maxlength="4"/>
330
+ <br/><?php _e('The overlay opacity level. Range: 0 to 1', JQUERYCOLORBOX_TEXTDOMAIN); ?>.
331
+ </td>
332
+ </tr>
333
+ <tr>
334
+ <th scope="row">
335
+ <label for="jquery-colorbox-autoHideFlash"><?php printf(__('Automate hiding of flash objects', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?>:</label>
336
+ </th>
337
+ <td>
338
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoHideFlash]" id="jquery-colorbox-autoHideFlash" value="true" <?php echo ($this->colorboxSettings['autoHideFlash']) ? 'checked="checked"' : '';?>/>
339
+ <br/><?php _e('Automatically hide embeded flash objects behind the Colorbox layer. Done by setting the wmode to transparent.', JQUERYCOLORBOX_TEXTDOMAIN); ?>
340
+ </td>
341
+ </tr>
342
+ <tr>
343
+ <th scope="row">
344
+ <label for="jquery-colorbox-colorboxWarningOff"><?php printf(__('Disable warning', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?>:</label>
345
+ </th>
346
+ <td>
347
+ <input type="checkbox" name="<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[colorboxWarningOff]" id="jquery-colorbox-colorboxWarningOff" value="true" <?php echo ($this->colorboxSettings['colorboxWarningOff']) ? 'checked="checked"' : '';?>/>
348
+ <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); ?>
349
+ </td>
350
+ </tr>
351
+ </table>
352
+ <p class="submit">
353
+ <input type="hidden" name="action" value="jQueryColorboxUpdateSettings"/>
354
+ <input type="submit" name="jQueryColorboxUpdateSettings" class="button-primary" value="<?php _e('Save Changes') ?>"/>
355
+ </p>
356
+ </form>
357
+ </div>
358
+ </div>
359
+ </div>
360
+
361
+ <div id="poststuff" class="ui-sortable meta-box-sortables">
362
+ <div id="jquery-colorbox-delete_settings" class="postbox">
363
+ <h3 id="delete_options"><?php _e('Delete Settings', JQUERYCOLORBOX_TEXTDOMAIN) ?></h3>
364
+
365
+ <div class="inside">
366
+ <p><?php _e('Check the box and click this button to delete settings of this plugin.', JQUERYCOLORBOX_TEXTDOMAIN); ?></p>
367
+
368
+ <form name="delete_settings" method="post" action="admin-post.php">
369
+ <?php if (function_exists('wp_nonce_field') === true) wp_nonce_field('jquery-delete_settings-form'); ?>
370
+ <p id="submitbutton">
371
+ <input type="hidden" name="action" value="jQueryColorboxDeleteSettings"/>
372
+ <input type="submit" name="jQueryColorboxDeleteSettings" value="<?php _e('Delete Settings', JQUERYCOLORBOX_TEXTDOMAIN); ?> &raquo;" class="button-secondary"/>
373
+ <input type="checkbox" name="delete_settings-true"/>
374
+ </p>
375
+ </form>
376
+ </div>
377
+ </div>
378
+ </div>
379
+
380
+ <div id="poststuff" class="ui-sortable meta-box-sortables">
381
+ <div id="jquery-colorbox-donate" class="postbox">
382
+ <h3 id="donate"><?php _e('Donate', JQUERYCOLORBOX_TEXTDOMAIN) ?></h3>
383
+
384
+ <div class="inside">
385
+ <p>
386
+ <span style="float: left;">
387
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
388
+ <input type="hidden" name="cmd" value="_s-xclick">
389
+ <input type="hidden" name="hosted_button_id" value="11235030">
390
+ <input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_donate_SM.gif" name="submit" alt="PayPal - The safer, easier way to pay online.">
391
+ <img alt="" border="0" src="https://www.paypal.com/de_DE/i/scr/pixel.gif" width="1" height="1">
392
+ </form>
393
+ </span>
394
+ </p>
395
+ <p>
396
+ <?php _e('If you would like to make a small (or large) contribution towards future development please consider making a donation.', JQUERYCOLORBOX_TEXTDOMAIN) ?>
397
+ <br/>&copy; Copyright 2009 - <?php echo date("Y"); ?> <a href="http://www.techotronic.de">Arne Franken</a>
398
+ </p>
399
+ </div>
400
+ </div>
401
+ </div>
402
+
403
+ <div id="poststuff" class="ui-sortable meta-box-sortables">
404
+ <div id="jquery-colorbox-translation" class="postbox">
405
+ <h3 id="translation"><?php _e('Translation', JQUERYCOLORBOX_TEXTDOMAIN) ?></h3>
406
+
407
+ <div class="inside">
408
+ <p><?php _e('The english translation was done by <a href="http://www.techotronic.de">Arne Franken</a>.', JQUERYCOLORBOX_TEXTDOMAIN); ?></p>
409
+ </div>
410
+ </div>
411
+ </div>
412
+ </div>
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: 3.0.1
10
  * Author: Arne Franken
11
  * Author URI: http://www.techotronic.de/
12
  * License: GPL
@@ -18,11 +18,8 @@
18
  */
19
  ?>
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__));
@@ -106,11 +103,6 @@ class jQueryColorbox {
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),
@@ -120,7 +112,8 @@ class jQueryColorbox {
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
@@ -180,6 +173,17 @@ class jQueryColorbox {
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
 
185
  //jQueryColorbox()
@@ -273,7 +277,7 @@ class jQueryColorbox {
273
  //addPluginActionLinks()
274
 
275
  /**
276
- * Insert JavaScript for Colorbox into WP Header
277
  *
278
  * @since 1.0
279
  * @access private
@@ -281,67 +285,18 @@ class jQueryColorbox {
281
  * @author Fabian Wolf (http://usability-idealist.de/)
282
  * @author Jason Stapels (jstapels@realmprojects.com)
283
  *
284
- * @return rewritten content or excerpt
285
  */
286
  function buildWordpressHeader() {
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
-
298
- Since this method does not support CSS background-positioning, it is incompatible with CSS sprites.
299
- Colorbox preloads navigation hover classes to account for this.
300
-
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');}
308
- .cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderBottomLeft.png, sizingMethod='scale');}
309
- .cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderBottomCenter.png, sizingMethod='scale');}
310
- .cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderBottomRight.png, sizingMethod='scale');}
311
- .cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderMiddleLeft.png, sizingMethod='scale');}
312
- .cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme1/images/internet_explorer/borderMiddleRight.png, sizingMethod='scale');}
313
- </style>
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
-
325
- Since this method does not support CSS background-positioning, it is incompatible with CSS sprites.
326
- Colorbox preloads navigation hover classes to account for this.
327
-
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');}
335
- .cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderBottomLeft.png, sizingMethod='scale');}
336
- .cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderBottomCenter.png, sizingMethod='scale');}
337
- .cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderBottomRight.png, sizingMethod='scale');}
338
- .cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderMiddleLeft.png, sizingMethod='scale');}
339
- .cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo JQUERYCOLORBOX_PLUGIN_URL ?>/themes/theme4/images/internet_explorer/borderMiddleRight.png, sizingMethod='scale');}
340
- </style>
341
- <![endif]-->
342
- <?php
343
-
344
- }
345
  ?>
346
 
347
  <script type="text/javascript">
@@ -361,9 +316,9 @@ class jQueryColorbox {
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. ?>
@@ -394,15 +349,6 @@ class jQueryColorbox {
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>
@@ -421,411 +367,7 @@ class jQueryColorbox {
421
  * @author Arne Franken
422
  */
423
  function renderSettingsPage() {
424
- ?>
425
-
426
- <script type="text/javascript">
427
- //<![CDATA[
428
- jQuery(document).ready(function($) {
429
- //delete value from maxWidthValue if maxWidth radio button is selected
430
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidth]']").click(function() {
431
- if ("jquery-colorbox-maxWidth-custom-radio" != $(this).attr("id"))
432
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidthValue]']").val("");
433
- });
434
- //set maxWidth radio button if cursor is set into maxWidthValue
435
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxWidthValue]']").focus(function() {
436
- $("#jquery-colorbox-maxWidth-custom-radio").attr("checked", "checked");
437
- });
438
-
439
- //delete value from maxHeightValue if maxHeight radio button is selected
440
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeight]']").click(function() {
441
- if ("jquery-colorbox-maxHeight-custom-radio" != $(this).attr("id"))
442
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeightValue]']").val("");
443
- });
444
- //set maxHeight radio button if cursor is set into maxHeightValue
445
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[maxHeightValue]']").focus(function() {
446
- $("#jquery-colorbox-maxHeight-custom-radio").attr("checked", "checked");
447
- });
448
-
449
- //delete value from widthValue if width radio button is selected
450
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[width]']").click(function() {
451
- if ("jquery-colorbox-width-custom-radio" != $(this).attr("id"))
452
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[widthValue]']").val("");
453
- });
454
- //set width radio button if cursor is set into widthValue
455
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[widthValue]']").focus(function() {
456
- $("#jquery-colorbox-width-custom-radio").attr("checked", "checked");
457
- });
458
-
459
- //delete value from heightValue if height radio button is selected
460
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[height]']").click(function() {
461
- if ("jquery-colorbox-height-custom-radio" != $(this).attr("id"))
462
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[heightValue]']").val("");
463
- });
464
- //set height radio button if cursor is set into heightValue
465
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[heightValue]']").focus(function() {
466
- $("#jquery-colorbox-height-custom-radio").attr("checked", "checked");
467
- });
468
-
469
- //only one of the checkboxes is allowed to be selected.
470
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]']").click(function() {
471
- if ($("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorbox]']").is(':checked')) {
472
- $("#jquery-colorbox-autoColorboxGalleries").attr("checked", false);
473
- }
474
- });
475
- $("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorboxGalleries]']").click(function() {
476
- if ($("input[name='<?php echo JQUERYCOLORBOX_SETTINGSNAME ?>[autoColorboxGalleries]']").is(':checked')) {
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>
790
- </div>
791
- </div>
792
- </div>
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>
800
- <span style="float: left;">
801
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
802
- <input type="hidden" name="cmd" value="_s-xclick">
803
- <input type="hidden" name="hosted_button_id" value="11235030">
804
- <input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_donate_SM.gif" name="submit" alt="PayPal - The safer, easier way to pay online.">
805
- <img alt="" border="0" src="https://www.paypal.com/de_DE/i/scr/pixel.gif" width="1" height="1">
806
- </form>
807
- </span>
808
- </p>
809
- <p>
810
- <?php _e('If you would like to make a small (or large) contribution towards future development please consider making a donation.', JQUERYCOLORBOX_TEXTDOMAIN) ?>
811
- <br/>&copy; Copyright 2009 - <?php echo date("Y"); ?> <a href="http://www.techotronic.de">Arne Franken</a>
812
- </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
-
829
  }
830
 
831
  //renderSettingsPage()
@@ -934,7 +476,7 @@ class jQueryColorbox {
934
  }
935
 
936
  /**
937
- * Update jQuery Colorbox settings
938
  *
939
  * handles checks and redirect
940
  *
@@ -976,7 +518,7 @@ class jQueryColorbox {
976
  //updateSettings()
977
 
978
  /**
979
- * Delete jQuery Colorbox settings
980
  *
981
  * handles checks and redirect
982
  *
@@ -1017,7 +559,7 @@ class jQueryColorbox {
1017
  // deleteSettings()
1018
 
1019
  /**
1020
- * execute during activation.
1021
  *
1022
  * @since 2.0
1023
  * @access private
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.1
10
  * Author: Arne Franken
11
  * Author URI: http://www.techotronic.de/
12
  * License: GPL
18
  */
19
  ?>
20
  <?php
21
+ //define constants
22
+ define('JQUERYCOLORBOX_VERSION', '3.1');
 
 
 
23
 
24
  if (! defined('JQUERYCOLORBOX_PLUGIN_BASENAME')) {
25
  define('JQUERYCOLORBOX_PLUGIN_BASENAME', plugin_basename(__FILE__));
103
  add_filter('the_excerpt', array(& $this, 'addColorboxGroupIdToImages'), 100);
104
  add_filter('wp_get_attachment_image_attributes', array(& $this, 'wpPostThumbnailClassFilter'));
105
 
 
 
 
 
 
106
  // Create list of themes and their human readable names
107
  $this->colorboxThemes = array(
108
  'theme1' => __('Theme #1', JQUERYCOLORBOX_TEXTDOMAIN),
112
  'theme5' => __('Theme #5', JQUERYCOLORBOX_TEXTDOMAIN),
113
  'theme6' => __('Theme #6', JQUERYCOLORBOX_TEXTDOMAIN),
114
  'theme7' => __('Theme #7', JQUERYCOLORBOX_TEXTDOMAIN),
115
+ 'theme8' => __('Theme #8', JQUERYCOLORBOX_TEXTDOMAIN),
116
+ 'theme9' => __('Theme #9', JQUERYCOLORBOX_TEXTDOMAIN)
117
  );
118
 
119
  // create list of units
173
  wp_register_style('colorbox-' . $this->colorboxSettings['colorboxTheme'], plugins_url('themes/' . $this->colorboxSettings['colorboxTheme'] . '/colorbox.css', __FILE__), array(), '1.3.6', 'screen');
174
  wp_enqueue_style('colorbox-' . $this->colorboxSettings['colorboxTheme']);
175
  }
176
+
177
+ // enqueue javascripts in wordpress
178
+ if (!is_admin()) {
179
+ wp_enqueue_script('colorbox', plugins_url('js/jquery.colorbox-min.js', __FILE__), array('jquery'), '1.3.6');
180
+ if($this->colorboxSettings['autoColorbox']) {
181
+ wp_enqueue_script('colorbox-auto', plugins_url('js/jquery-colorbox-auto.js', __FILE__), array('colorbox'), '3.1');
182
+ }
183
+ if ($this->colorboxSettings['autoHideFlash']) {
184
+ wp_enqueue_script('colorbox-hideflash', plugins_url('js/jquery-colorbox-hideFlash.js', __FILE__), array('colorbox'), '3.1');
185
+ }
186
+ }
187
  }
188
 
189
  //jQueryColorbox()
277
  //addPluginActionLinks()
278
 
279
  /**
280
+ * Insert JavaScript and CSS for Colorbox into WP Header
281
  *
282
  * @since 1.0
283
  * @access private
285
  * @author Fabian Wolf (http://usability-idealist.de/)
286
  * @author Jason Stapels (jstapels@realmprojects.com)
287
  *
288
+ * @return wordpress header insert
289
  */
290
  function buildWordpressHeader() {
291
  ?>
292
+ <!-- <?php echo JQUERYCOLORBOX_NAME ?> <?php echo JQUERYCOLORBOX_VERSION ?> | by Arne Franken, http://www.techotronic.de/ -->
293
  <?php
294
+ // include CSS fixes for IE for certain themes
295
  if ($this->colorboxSettings['colorboxTheme'] == 'theme1') {
296
+ include_once 'includes/iefix-theme1.php';
297
+ } elseif ($this->colorboxSettings['colorboxTheme'] == 'theme4') {
298
+ include_once 'includes/iefix-theme4.php';
299
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
300
  ?>
301
 
302
  <script type="text/javascript">
316
  if ($groupId && !$nestedElementClassAttribute.match('colorbox-off')) {
317
  <?php //convert groupId to string for easier use ?>
318
  $groupId = $groupId.toString();
319
+ <?php //if groudId is colorbox-manual, set groupId to "nofollow" so that images with that class are not grouped ?>
320
  if ($groupId == "colorbox-manual") {
321
+ $groupId = "nofollow";
322
  }
323
  <?php //call Colorbox function on each img. elements with the same groupId in the class attribute are grouped
324
  //the title of the img is used as the title for the Colorbox. ?>
349
  }
350
  }
351
  });
 
 
 
 
 
 
 
 
 
352
  });
353
  // ]]>
354
  </script>
367
  * @author Arne Franken
368
  */
369
  function renderSettingsPage() {
370
+ include_once 'includes/settings-page.php';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
371
  }
372
 
373
  //renderSettingsPage()
476
  }
477
 
478
  /**
479
+ * Update jQuery Colorbox settings wrapper
480
  *
481
  * handles checks and redirect
482
  *
518
  //updateSettings()
519
 
520
  /**
521
+ * Delete jQuery Colorbox settings wrapper
522
  *
523
  * handles checks and redirect
524
  *
559
  // deleteSettings()
560
 
561
  /**
562
+ * executed during activation.
563
  *
564
  * @since 2.0
565
  * @access private
js/jquery-colorbox-auto.js ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jQuery Colorbox Wordpress Plugin.
3
+ *
4
+ * @author Arne Franken
5
+ *
6
+ * adds colorbox-manual to ALL img tags that are found in the output
7
+ */
8
+ jQuery(document).ready(function($) {
9
+ $("img").each( function(index,obj){
10
+ $classValue = $(obj).attr("class");
11
+ if(!$classValue){
12
+ $(obj).attr("class","colorbox-manual");
13
+ }
14
+ if(!$classValue.match('colorbox')) {
15
+ $classValue += " colorbox-manual";
16
+ $(obj).attr("class",$classValue);
17
+ }
18
+ });
19
+ });
js/jquery-colorbox-hideFlash.js ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jQuery Colorbox Wordpress Plugin.
3
+ *
4
+ * @author Arne Franken
5
+ *
6
+ * handles automatic hiding of flash object and embed tags
7
+ */
8
+ jQuery(document).ready(function($) {
9
+ $(document).bind('cbox_open', function(){
10
+ var flashObjects = document.getElementsByTagName("object");
11
+ for (i = 0; i < flashObjects.length; i++) {
12
+ flashObjects[i].style.visibility = "hidden";
13
+ }
14
+ var flashEmbeds = document.getElementsByTagName("embed");
15
+ for (i = 0; i < flashEmbeds.length; i++) {
16
+ flashEmbeds[i].style.visibility = "hidden";
17
+ }
18
+ });
19
+ $(document).bind('cbox_closed', function(){
20
+ var flashObjects = document.getElementsByTagName("object");
21
+ for (i = 0; i < flashObjects.length; i++) {
22
+ flashObjects[i].style.visibility = "visible";
23
+ }
24
+ var flashEmbeds = document.getElementsByTagName("embed");
25
+ for (i = 0; i < flashEmbeds.length; i++) {
26
+ flashEmbeds[i].style.visibility = "visible";
27
+ }
28
+ });
29
+ });
localization/jquery-colorbox-fr_FR.mo ADDED
Binary file
localization/jquery-colorbox-fr_FR.po ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: jQuery-Colorbox\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-04-09 18:05+0100\n"
6
+ "PO-Revision-Date: 2010-04-09 18:05+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: tolingo translations <info@tolingo.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: French\n"
13
+ "X-Poedit-KeywordsList: _e;__\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-Country: FRANCE\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: jquery-colorbox.php:116
19
+ msgid "Theme #1"
20
+ msgstr "Thème n°1"
21
+
22
+ #: jquery-colorbox.php:117
23
+ msgid "Theme #2"
24
+ msgstr "Thème n°2"
25
+
26
+ #: jquery-colorbox.php:118
27
+ msgid "Theme #3"
28
+ msgstr "Thème n°3"
29
+
30
+ #: jquery-colorbox.php:119
31
+ msgid "Theme #4"
32
+ msgstr "Thème n°4"
33
+
34
+ #: jquery-colorbox.php:120
35
+ msgid "Theme #5"
36
+ msgstr "Thème n°5"
37
+
38
+ #: jquery-colorbox.php:121
39
+ msgid "Theme #6"
40
+ msgstr "Thème n°6"
41
+
42
+ #: jquery-colorbox.php:122
43
+ msgid "Theme #7"
44
+ msgstr "Thème n°7"
45
+
46
+ #: jquery-colorbox.php:123
47
+ msgid "Theme #8"
48
+ msgstr "Thème n°8"
49
+
50
+ #: jquery-colorbox.php:124
51
+ msgid "Theme #9"
52
+ msgstr "Thème n°9"
53
+
54
+ #: jquery-colorbox.php:129
55
+ msgid "percent"
56
+ msgstr "pourcent"
57
+
58
+ #: jquery-colorbox.php:130
59
+ msgid "pixels"
60
+ msgstr "pixels"
61
+
62
+ #: jquery-colorbox.php:135
63
+ msgid "elastic"
64
+ msgstr "élastique"
65
+
66
+ #: jquery-colorbox.php:136
67
+ msgid "fade"
68
+ msgstr "s'effacer"
69
+
70
+ #: jquery-colorbox.php:137
71
+ msgid "none"
72
+ msgstr "aucun"
73
+
74
+ #: jquery-colorbox.php:268
75
+ #: jquery-colorbox.php:555
76
+ msgid "Settings"
77
+ msgstr "Paramètres"
78
+
79
+ #: jquery-colorbox.php:406
80
+ msgid "close"
81
+ msgstr "fermer"
82
+
83
+ #: jquery-colorbox.php:407
84
+ msgid "next"
85
+ msgstr "suivant"
86
+
87
+ #: jquery-colorbox.php:408
88
+ msgid "previous"
89
+ msgstr "précédent"
90
+
91
+ #: jquery-colorbox.php:409
92
+ msgid "start slideshow"
93
+ msgstr "commencer le diaporama"
94
+
95
+ #: jquery-colorbox.php:410
96
+ msgid "stop slideshow"
97
+ msgstr "arrêter le diaporama"
98
+
99
+ #: jquery-colorbox.php:411
100
+ msgid "{current} of {total} images"
101
+ msgstr "{en cours} du {total} d'images"
102
+
103
+ #: jquery-colorbox.php:548
104
+ #, php-format
105
+ msgid "%1$s Settings"
106
+ msgstr "Paramètres %1$s"
107
+
108
+ #: jquery-colorbox.php:564
109
+ msgid "Theme"
110
+ msgstr "Thème"
111
+
112
+ #: jquery-colorbox.php:576
113
+ msgid "Select the theme you want to use on your blog."
114
+ msgstr "Sélectionner le thème que vous voulez utiliser sur votre blog."
115
+
116
+ #: jquery-colorbox.php:581
117
+ msgid "Theme screenshot"
118
+ msgstr "Capture d'écran du thème"
119
+
120
+ #: jquery-colorbox.php:591
121
+ #, php-format
122
+ msgid "Automate %1$s for all images"
123
+ msgstr "Automatiser %1$s pour toutes les images"
124
+
125
+ #: jquery-colorbox.php:595
126
+ 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."
127
+ msgstr "Ajouter automatiquement une classe colorbox aux images dans les billets et les pages. Ajouter aussi une classe colorbox aux galeries. Les images sur une page ou un billet sont automatiquement groupées."
128
+
129
+ #: jquery-colorbox.php:600
130
+ #, php-format
131
+ msgid "Automate %1$s for images in WordPress galleries"
132
+ msgstr "Automatiser %1$s pour les images des galeries WordPress"
133
+
134
+ #: jquery-colorbox.php:604
135
+ msgid "Automatically add colorbox-class to images in WordPress galleries, but nowhere else. Images in one page or post are grouped automatically."
136
+ msgstr "Ajouter automatiquement une classe colorbox aux images dans les galeries WordPress, mais nulle part ailleurs. Les images sur une page ou un billet sont automatiquement groupées."
137
+
138
+ #: jquery-colorbox.php:609
139
+ msgid "Add Slideshow to groups"
140
+ msgstr "Ajouter un diaporama aux groupes"
141
+
142
+ #: jquery-colorbox.php:613
143
+ #, php-format
144
+ msgid "Add Slideshow functionality for %1$s Groups"
145
+ msgstr "Ajouter la fonction Diaporama aux groupes %1$s"
146
+
147
+ #: jquery-colorbox.php:618
148
+ msgid "Start Slideshow automatically"
149
+ msgstr "Démarrer automatiquement le diaporama"
150
+
151
+ #: jquery-colorbox.php:622
152
+ #, php-format
153
+ msgid "Start Slideshow automatically if slideshow functionality is added to %1$s Groups"
154
+ msgstr "Démarrer automatiquement le diaporama si la fonction Diaporama a été ajoutée aux groupes %1$s"
155
+
156
+ #: jquery-colorbox.php:627
157
+ msgid "Speed of the slideshow"
158
+ msgstr "Vitesse du diaporama"
159
+
160
+ #: jquery-colorbox.php:631
161
+ msgid "Sets the speed of the slideshow, in milliseconds"
162
+ msgstr "Fixe la vitesse du diaporama en millisecondes"
163
+
164
+ #: jquery-colorbox.php:636
165
+ msgid "Maximum width of an image"
166
+ msgstr "Largeur maximum d'une image"
167
+
168
+ #: jquery-colorbox.php:640
169
+ #: jquery-colorbox.php:686
170
+ msgid "Do not set width"
171
+ msgstr "Ne pas fixer la largeur"
172
+
173
+ #: jquery-colorbox.php:643
174
+ msgid "Set maximum width of an image"
175
+ msgstr "Fixer la largeur maximum d'une image"
176
+
177
+ #: jquery-colorbox.php:654
178
+ 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"
179
+ msgstr "Fixer la largeur maximum d'une image dans la Colorbox en fonction de la fenêtre du navigateur en pourcent ou en pixels. Si la largeur maximum n'est pas fixée, l'image est aussi large que la Colorbox"
180
+
181
+ #: jquery-colorbox.php:659
182
+ msgid "Maximum height of an image"
183
+ msgstr "Hauteur maximum d'une image"
184
+
185
+ #: jquery-colorbox.php:663
186
+ #: jquery-colorbox.php:709
187
+ msgid "Do not set height"
188
+ msgstr "Ne pas fixer la hauteur"
189
+
190
+ #: jquery-colorbox.php:666
191
+ msgid "Set maximum height of an image"
192
+ msgstr "Fixer la hauteur maximum d'une image"
193
+
194
+ #: jquery-colorbox.php:677
195
+ 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"
196
+ msgstr "Fixer la hauteur maximum d'une image dans la Colorbox en fonction de la fenêtre du navigateur sur une valeur en pourcent ou en pixels. Si la hauteur maximum n'est pas fixée, l'image est aussi haute que la Colorbox."
197
+
198
+ #: jquery-colorbox.php:682
199
+ msgid "Maximum width of the Colorbox"
200
+ msgstr "Largeur maximum de la Colorbox"
201
+
202
+ #: jquery-colorbox.php:689
203
+ msgid "Set width of the Colorbox"
204
+ msgstr "Fixer la largeur de la Colorbox"
205
+
206
+ #: jquery-colorbox.php:700
207
+ 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"
208
+ msgstr "Fixer la largeur maximum de la Colorbox elle-même en fonction de la fenêtre du navigateur sur une valeur comprise entre en pourcent ou en pixels. Si l'image est plus grande que la Colorbox, des barres de défilement sont affichées. Si la largeur n'est pas fixée, la Colorbox sera aussi large que l'image qu'elle contient"
209
+
210
+ #: jquery-colorbox.php:705
211
+ msgid "Maximum height of the Colorbox"
212
+ msgstr "Hauteur maximum de la Colorbox"
213
+
214
+ #: jquery-colorbox.php:712
215
+ msgid "Set height of the Colorbox"
216
+ msgstr "Fixer la hauteur de la Colorbox"
217
+
218
+ #: jquery-colorbox.php:723
219
+ 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"
220
+ msgstr "Fixer la hauteur maximum de la Colorbox elle-même en fonction de la fenêtre du navigateur sur une valeur comprise entre en pourcent ou en pixels. Si l'image est plus grande que la Colorbox, des barres de défilement sont affichées. Si la hauteur n'est pas fixée, la Colorbox sera aussi haute que l'image qu'elle contient"
221
+
222
+ #: jquery-colorbox.php:728
223
+ msgid "Resize images"
224
+ msgstr "Redimensionner les images"
225
+
226
+ #: jquery-colorbox.php:732
227
+ 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"
228
+ msgstr "Si cette fonction est activée et si la largeur maximum des images, la hauteur maximum des images, la largeur de la Colorbox ou la hauteur de la Colorbox ont été définies, la ColorBox mettra les photos à l'échelle de façon qu'elles s'adaptent à ces valeurs"
229
+
230
+ #: jquery-colorbox.php:737
231
+ msgid "Close Colorbox on overlay click"
232
+ msgstr "Fermer la Colorbox en cliquant sur le recouvrement"
233
+
234
+ #: jquery-colorbox.php:741
235
+ msgid "If checked, enables closing ColorBox by clicking on the background overlay"
236
+ msgstr "Si elle est cochée, cette case active la fermeture de la ColorBox en cliquant sur le recouvrement de l'arrière-plan"
237
+
238
+ #: jquery-colorbox.php:746
239
+ msgid "Preload images"
240
+ msgstr "Précharger les images"
241
+
242
+ #: jquery-colorbox.php:750
243
+ msgid "Allows for preloading of \"next\" and \"previous\" content in a group, after the current content has finished loading. Uncheck box to disable."
244
+ msgstr "Permet le préchargement des contenus \"suivant\" et \"précédent\" d'un groupe, après que le contenu en cours a terminé son chargement. Décochez la case pour désactiver la fonction."
245
+
246
+ #: jquery-colorbox.php:755
247
+ msgid "Transition type"
248
+ msgstr "Type de transition"
249
+
250
+ #: jquery-colorbox.php:767
251
+ msgid "The transition type of the Colorbox. Can be set to \"elastic\", \"fade\", or \"none\""
252
+ msgstr "Le type de transition de la Colorbox. Il peut être fixé sur \"élastique\", \"effacé\" ou \"aucun\""
253
+
254
+ #: jquery-colorbox.php:772
255
+ msgid "Transition speed"
256
+ msgstr "Vitesse de transition"
257
+
258
+ #: jquery-colorbox.php:776
259
+ msgid "Sets the speed of the \"fade\" and \"elastic\" transitions, in milliseconds"
260
+ msgstr "Fixe la vitesse des transitions \"effacé\" et \"élastique\", en millisecondes"
261
+
262
+ #: jquery-colorbox.php:781
263
+ msgid "Opacity"
264
+ msgstr "Opacité"
265
+
266
+ #: jquery-colorbox.php:785
267
+ msgid "The overlay opacity level. Range: 0 to 1"
268
+ msgstr "Le niveau d'opacité du recouvrement. Plage : 0 à 1"
269
+
270
+ #: jquery-colorbox.php:790
271
+ msgid "Automate hiding of flash objects"
272
+ msgstr "Masquage automatique des objets flash"
273
+
274
+ #: jquery-colorbox.php:794
275
+ msgid "Automatically hide embeded flash objects behind the Colorbox layer. Done by setting the wmode to transparent."
276
+ msgstr "Masquer automatiquement les objets flash intégrés derrière la couche de la Colorbox. Obtenu en réglant le wmode sur transparent."
277
+
278
+ #: jquery-colorbox.php:799
279
+ msgid "Disable warning"
280
+ msgstr "Désactiver l'avertissement"
281
+
282
+ #: jquery-colorbox.php:803
283
+ msgid "Disables the warning that is displayed if the plugin is activated but the auto-colorbox feature for all images is turned off."
284
+ msgstr "Désactive l'avertissement qui est affiché si le plugin est activé mais que la fonction auto-colorbox est hors fonction pour toutes les images."
285
+
286
+ #: jquery-colorbox.php:809
287
+ msgid "Save Changes"
288
+ msgstr "Enregistrer les modifications"
289
+
290
+ #: jquery-colorbox.php:818
291
+ #: jquery-colorbox.php:827
292
+ msgid "Delete Settings"
293
+ msgstr "Supprimer les paramètres"
294
+
295
+ #: jquery-colorbox.php:821
296
+ msgid "Check the box and click this button to delete settings of this plugin."
297
+ msgstr "Cocher la case et cliquer sur ce bouton pour supprimer les paramètres de ce plugin."
298
+
299
+ #: jquery-colorbox.php:837
300
+ msgid "Donate"
301
+ msgstr "Faire un don"
302
+
303
+ #: jquery-colorbox.php:851
304
+ msgid "If you would like to make a small (or large) contribution towards future development please consider making a donation."
305
+ msgstr "Si vous voulez apporter une contribution, petite ou importante, en vue de développements futurs, vous pouvez faire un don."
306
+
307
+ #: jquery-colorbox.php:860
308
+ msgid "Translation"
309
+ msgstr "Traduction"
310
+
311
+ #: jquery-colorbox.php:863
312
+ msgid "The english translation was done by <a href=\"http://www.techotronic.de\">Arne Franken</a>."
313
+ msgstr "La traduction en français a été faite par<a href=\"http://www.tolingo.com\">tolingo translations</a>."
314
+
315
+ #: jquery-colorbox.php:886
316
+ #, php-format
317
+ msgid "Successfully updated %1$s settings."
318
+ msgstr "Mise à jour réussie des paramètres %1$s."
319
+
320
+ #: jquery-colorbox.php:888
321
+ #, php-format
322
+ msgid "%1$s settings were successfully deleted."
323
+ msgstr "Suppression réussie des paramètres %1$s."
324
+
325
+ #: jquery-colorbox.php:929
326
+ msgid "needs attention: the plugin is not activated to work for all images."
327
+ msgstr "attention : le plugin n'est pas activé pour fonctionner avec toutes les images."
328
+
329
+ #: jquery-colorbox.php:989
330
+ msgid "Did not update settings, you do not have the necessary rights."
331
+ msgstr "Les paramètres n'ont pas été mis à jour, vous ne disposez pas des droits nécessaires."
332
+
333
+ #: jquery-colorbox.php:1036
334
+ #, php-format
335
+ msgid "Did not delete %1$s settings. Either you dont have the nececssary rights or you didnt check the checkbox."
336
+ msgstr "Les paramètres %1$s n'ont pas été supprimés. Soit vous ne disposez pas des droits nécessaires, soit vous n'avez pas coché la case."
337
+
338
+ #~ msgid "maxWidth"
339
+ #~ msgstr "Maximum width of an image"
340
+
341
+ #~ msgid "maxHeight"
342
+ #~ msgstr "Maximum height of an image"
343
+
344
+ #~ msgid "width"
345
+ #~ msgstr "Maxinmum width of the Colorbox"
346
+
347
+ #~ msgid "height"
348
+ #~ msgstr "Maximum height of the Colorbox"
localization/jquery-colorbox-tr_TR.mo CHANGED
Binary file
localization/jquery-colorbox-tr_TR.po CHANGED
@@ -2,8 +2,8 @@ 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"
@@ -47,286 +47,290 @@ msgstr "Tema #7"
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."
2
  msgstr ""
3
  "Project-Id-Version: jQuery-Colorbox\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-04-04 14:21+0100\n"
6
+ "PO-Revision-Date: 2010-04-04 14:21+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Serhat Yolaçan\n"
9
  "MIME-Version: 1.0\n"
47
  msgid "Theme #8"
48
  msgstr "Tema #8"
49
 
50
+ #: jquery-colorbox.php:124
51
+ msgid "Theme #9"
52
+ msgstr "Tema #9"
53
+
54
+ #: jquery-colorbox.php:129
55
  msgid "percent"
56
  msgstr "yüzde"
57
 
58
+ #: jquery-colorbox.php:130
59
  msgid "pixels"
60
  msgstr "piksel"
61
 
62
+ #: jquery-colorbox.php:135
63
  msgid "elastic"
64
  msgstr "elastik"
65
 
66
+ #: jquery-colorbox.php:136
67
  msgid "fade"
68
  msgstr "solma"
69
 
70
+ #: jquery-colorbox.php:137
71
  msgid "none"
72
  msgstr "hiçbiri"
73
 
74
+ #: jquery-colorbox.php:268
75
+ #: jquery-colorbox.php:515
76
  msgid "Settings"
77
  msgstr "Ayarlar"
78
 
79
+ #: jquery-colorbox.php:387
80
  msgid "close"
81
  msgstr "kapat"
82
 
83
+ #: jquery-colorbox.php:388
84
  msgid "next"
85
  msgstr "ileri"
86
 
87
+ #: jquery-colorbox.php:389
88
  msgid "previous"
89
  msgstr "geri"
90
 
91
+ #: jquery-colorbox.php:390
92
  msgid "start slideshow"
93
  msgstr "slayt gösterisi başlat"
94
 
95
+ #: jquery-colorbox.php:391
96
  msgid "stop slideshow"
97
  msgstr "slayt gösterisini durdur"
98
 
99
+ #: jquery-colorbox.php:392
100
  msgid "{current} of {total} images"
101
  msgstr "{current} / {total}"
102
 
103
+ #: jquery-colorbox.php:508
104
  #, php-format
105
  msgid "%1$s Settings"
106
  msgstr "%1$s Ayarları"
107
 
108
+ #: jquery-colorbox.php:524
109
  msgid "Theme"
110
  msgstr "Tema"
111
 
112
+ #: jquery-colorbox.php:536
113
  msgid "Select the theme you want to use on your blog."
114
  msgstr "Blogunuzda kullanmak istediğiniz temayı seçiniz."
115
 
116
+ #: jquery-colorbox.php:541
117
  msgid "Theme screenshot"
118
+ msgstr "Tema önizleme"
119
 
120
+ #: jquery-colorbox.php:551
121
  #, php-format
122
  msgid "Automate %1$s for all images"
123
  msgstr "Tüm resimlerde %1$s kullan"
124
 
125
+ #: jquery-colorbox.php:555
126
  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."
127
  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."
128
 
129
+ #: jquery-colorbox.php:560
130
  #, php-format
131
  msgid "Automate %1$s for images in WordPress galleries"
132
  msgstr "Wordpress galerilerine otomatik olarak %1$s ekleyin"
133
 
134
+ #: jquery-colorbox.php:564
135
  msgid "Automatically add colorbox-class to images in WordPress galleries, but nowhere else. Images in one page or post are grouped automatically."
136
  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."
137
 
138
+ #: jquery-colorbox.php:569
139
  msgid "Add Slideshow to groups"
140
  msgstr "Gruplara slayt gösterisi ekle"
141
 
142
+ #: jquery-colorbox.php:573
143
  #, php-format
144
  msgid "Add Slideshow functionality for %1$s Groups"
145
  msgstr "Slayt gösterisi fonksiyonunu %1$s gruplarına ekler."
146
 
147
+ #: jquery-colorbox.php:578
148
  msgid "Start Slideshow automatically"
149
  msgstr "Slayt gösterisini otomatik olarak başlat"
150
 
151
+ #: jquery-colorbox.php:582
152
  #, php-format
153
  msgid "Start Slideshow automatically if slideshow functionality is added to %1$s Groups"
154
  msgstr "Eğer slayt gösterisi fonksiyonu %1$s gruplarına eklenmişse, slayt gösterisini otomatik olarak başlatır."
155
 
156
+ #: jquery-colorbox.php:587
157
  msgid "Speed of the slideshow"
158
  msgstr "Slayt gösterisi hızı"
159
 
160
+ #: jquery-colorbox.php:591
161
  msgid "Sets the speed of the slideshow, in milliseconds"
162
  msgstr "Slayt gösterisinin hızını milisaniye cinsinden belirleyin"
163
 
164
+ #: jquery-colorbox.php:596
165
  msgid "Maximum width of an image"
166
  msgstr "Maksimum resim genişliği"
167
 
168
+ #: jquery-colorbox.php:600
169
+ #: jquery-colorbox.php:646
170
  msgid "Do not set width"
171
  msgstr "Genişlik ayarlarma"
172
 
173
+ #: jquery-colorbox.php:603
174
  msgid "Set maximum width of an image"
175
  msgstr "Resimler için maksimum genişlik değeri belirleyin"
176
 
177
+ #: jquery-colorbox.php:614
178
  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"
179
  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"
180
 
181
+ #: jquery-colorbox.php:619
182
  msgid "Maximum height of an image"
183
  msgstr "Maksimum resim yüksekliği"
184
 
185
+ #: jquery-colorbox.php:623
186
+ #: jquery-colorbox.php:669
187
  msgid "Do not set height"
188
  msgstr "Yükseklik ayarlarma"
189
 
190
+ #: jquery-colorbox.php:626
191
  msgid "Set maximum height of an image"
192
  msgstr "Resimler için maksimum yükseklik değeri belirleyin"
193
 
194
+ #: jquery-colorbox.php:637
195
  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"
196
  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"
197
 
198
+ #: jquery-colorbox.php:642
199
  msgid "Maximum width of the Colorbox"
200
  msgstr "Colorbox maksimum genişliği"
201
 
202
+ #: jquery-colorbox.php:649
203
  msgid "Set width of the Colorbox"
204
  msgstr "Colorbox için genişlik belirleyin"
205
 
206
+ #: jquery-colorbox.php:660
207
  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"
208
  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"
209
 
210
+ #: jquery-colorbox.php:665
211
  msgid "Maximum height of the Colorbox"
212
  msgstr "Colorbox maksimum yüksekliği"
213
 
214
+ #: jquery-colorbox.php:672
215
  msgid "Set height of the Colorbox"
216
  msgstr "Colorbox için yükseklik belirleyin"
217
 
218
+ #: jquery-colorbox.php:683
219
  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"
220
  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"
221
 
222
+ #: jquery-colorbox.php:688
223
  msgid "Resize images"
224
  msgstr "Resimleri tekrar boyutlandır"
225
 
226
+ #: jquery-colorbox.php:692
227
  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"
228
  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"
229
 
230
+ #: jquery-colorbox.php:697
231
  msgid "Close Colorbox on overlay click"
232
  msgstr "Katmana tıklandığında Colorbox kapat"
233
 
234
+ #: jquery-colorbox.php:701
235
  msgid "If checked, enables closing ColorBox by clicking on the background overlay"
236
  msgstr "Eğer aktifse, arka plandaki katmana tıklandığında Colorbox'ın kapanmasını sağlar"
237
 
238
+ #: jquery-colorbox.php:706
239
  msgid "Preload images"
240
  msgstr "Resimleri önceden yükle"
241
 
242
+ #: jquery-colorbox.php:710
243
  msgid "Allows for preloading of \"next\" and \"previous\" content in a group, after the current content has finished loading. Uncheck box to disable."
244
  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"
245
 
246
+ #: jquery-colorbox.php:715
247
  msgid "Transition type"
248
  msgstr "Geçiş tipi"
249
 
250
+ #: jquery-colorbox.php:727
251
  msgid "The transition type of the Colorbox. Can be set to \"elastic\", \"fade\", or \"none\""
252
  msgstr "Colorbox geçiş tipidir. \"elastik\", \"solma\" ya da \"hiçbiri\" seçilebilir"
253
 
254
+ #: jquery-colorbox.php:732
255
  msgid "Transition speed"
256
  msgstr "Geçiş hızı"
257
 
258
+ #: jquery-colorbox.php:736
259
  msgid "Sets the speed of the \"fade\" and \"elastic\" transitions, in milliseconds"
260
  msgstr "\"solma\" ve \"elastik\" geçiş hızını milisaniye cinsinden ayarlar"
261
 
262
+ #: jquery-colorbox.php:741
263
  msgid "Opacity"
264
  msgstr "Şeffaflık"
265
 
266
+ #: jquery-colorbox.php:745
267
  msgid "The overlay opacity level. Range: 0 to 1"
268
  msgstr "Katmanın şeffaflık seviyesi. Aralık: 0 ile 1 arasındadır"
269
 
270
+ #: jquery-colorbox.php:750
271
  msgid "Automate hiding of flash objects"
272
+ msgstr "Flash objelerini otomatik gizle"
273
 
274
+ #: jquery-colorbox.php:754
275
  msgid "Automatically hide embeded flash objects behind the Colorbox layer. Done by setting the wmode to transparent."
276
+ msgstr "Colorbox katmanının arkasındaki flash objelerini otomatik olarak gizler. wmode parametresine transparent değeri atar."
277
 
278
+ #: jquery-colorbox.php:759
279
  msgid "Disable warning"
280
  msgstr "Uyarıyı kapat"
281
 
282
+ #: jquery-colorbox.php:763
283
  msgid "Disables the warning that is displayed if the plugin is activated but the auto-colorbox feature for all images is turned off."
284
  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."
285
 
286
+ #: jquery-colorbox.php:769
287
  msgid "Save Changes"
288
  msgstr "Değişiklikleri kaydet"
289
 
290
+ #: jquery-colorbox.php:778
291
+ #: jquery-colorbox.php:787
292
  msgid "Delete Settings"
293
  msgstr "Ayarları sıfırlayın"
294
 
295
+ #: jquery-colorbox.php:781
296
  msgid "Check the box and click this button to delete settings of this plugin."
297
  msgstr "Bu eklentinin ayarlarını sıfırlamak için kutucuğu doldurup yanındaki butona tıklayın."
298
 
299
+ #: jquery-colorbox.php:797
300
  msgid "Donate"
301
  msgstr "Bağış yapın"
302
 
303
+ #: jquery-colorbox.php:811
304
  msgid "If you would like to make a small (or large) contribution towards future development please consider making a donation."
305
  msgstr "Gelecek sürümler için az (yada fazla) farketmez, bağış yapmaktan çekinmeyin."
306
 
307
+ #: jquery-colorbox.php:820
308
  msgid "Translation"
309
+ msgstr "Çeviri"
310
 
311
+ #: jquery-colorbox.php:823
312
  msgid "The english translation was done by <a href=\"http://www.techotronic.de\">Arne Franken</a>."
313
+ msgstr "Türkçe çeviri <a href=\"http://www.serhatyolacan.com\">Serhat Yolaçan</a> tarafından yapılmıştır."
314
 
315
+ #: jquery-colorbox.php:846
316
  #, php-format
317
  msgid "Successfully updated %1$s settings."
318
  msgstr "%1$s ayarları başarılıyla güncellendi."
319
 
320
+ #: jquery-colorbox.php:848
321
  #, php-format
322
  msgid "%1$s settings were successfully deleted."
323
  msgstr "%1$s ayarları başarıyla silindi."
324
 
325
+ #: jquery-colorbox.php:889
326
  msgid "needs attention: the plugin is not activated to work for all images."
327
  msgstr "uyarısı: Eklenti tüm resimlerde çalışmak için ayarlanmamış."
328
 
329
+ #: jquery-colorbox.php:949
330
  msgid "Did not update settings, you do not have the necessary rights."
331
  msgstr "Ayarları güncelleyemedim, gerekli yetkilere sahip değilsin."
332
 
333
+ #: jquery-colorbox.php:996
334
  #, php-format
335
  msgid "Did not delete %1$s settings. Either you dont have the nececssary rights or you didnt check the checkbox."
336
  msgstr "%1$s ayarlarını sıfırlayamadım. Ya gerekli yetkilere sahip değilsin yada kutucuğu doldurmadın."
readme.txt CHANGED
@@ -4,15 +4,15 @@ 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.
@@ -32,11 +32,13 @@ Localization
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,7 +52,7 @@ Extract all files from the ZIP file, making sure to keep the file structure inta
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>
@@ -62,9 +64,10 @@ Do not forget to activate auto Colorbox if you want Colorbox to work for all ima
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?
@@ -122,6 +125,13 @@ Feel free to write an email to blog [at] techotronic.de or write a entry at <a h
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
 
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.1
8
 
9
+ Adds Colorbox/Lightbox functionality to images. They are grouped by post or page. Also works for WordPress galleries. Comes with different themes.
10
 
11
  == Description ==
12
 
13
  Yet another Colorbox/Lightbox plugin for Wordpress.
14
 
15
+ jQuery Colorbox features 9 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.
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
+ * French (fr_FR) by <a href="http://www.tolingo.com/">Tolingo Translations</a>
36
 
37
  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.
38
 
39
  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>.
40
  jQuery Colorbox uses the jQuery library version 1.3.2 bundled with Wordpress. Works with jQuery 1.4.2 too.
41
+ The picture I used for the screenshots was designed by <a href="http://wallpapers.vintage.it/">Davide Vicariotto</a>
42
 
43
  == Installation ==
44
 
52
 
53
  ###Configuring The Plugin###
54
 
55
+ Go to the settings page and choose one of the themes bundled with the plugin and other settings.
56
  Do not forget to activate auto Colorbox if you want Colorbox to work for all images.
57
 
58
  **See Also:** <a href="http://codex.wordpress.org/Managing_Plugins#Installing_Plugins">"Installing Plugins" article on the WP Codex</a>
64
  3. Theme #3
65
  4. Theme #4
66
  5. Theme #5
67
+ 6. Theme #6 (not compatible with IE6)
68
  7. Theme #7
69
+ 8. Theme #8 (not compatible with IE6)
70
+ 9. Theme #9
71
 
72
  == Frequently Asked Questions ==
73
  * 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?
125
  I'll include new FAQs in every new version. Promise.
126
 
127
  == Changelog ==
128
+ = 3.1 (2010-04-10) =
129
+ * BUGFIX: Automatic hiding of embedded flash objects under Colorbox layer now works in Internet Explorer.
130
+ * NEW: Added theme#9, a modified version of theme#4.
131
+ * NEW: French translation by <a href="http://www.tolingo.com/">Tolingo Translations</a>
132
+ * NEW: If auto colorbox is switched on, plugin now adds Colorbox functionality to every image regardless of position
133
+ * CHANGE: <a href="http://www.serhatyolacan.com/">Serhat Yolaçan</a> updated the turkish translation.
134
+
135
  = 3.0.1 (2010-03-31) =
136
  * BUGFIX: Settings are NOW REALLY not overridden any more every time the plugin gets activated.
137
 
screenshot-9.jpg ADDED
Binary file
themes/theme9/colorbox.css ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ColorBox 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:#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;}
27
+ #cboxBottomLeft{width:25px; height:25px; background:url(images/border1.png) 0 -25px no-repeat;}
28
+ #cboxBottomCenter{height:25px; background:url(images/border1.png) 0 -75px repeat-x;}
29
+ #cboxBottomRight{width:25px; height:25px; background:url(images/border1.png) -25px -25px no-repeat;}
30
+ #cboxMiddleLeft{width:25px; background:url(images/border2.png) 0 0 repeat-y;}
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;}*/
41
+
42
+ #cboxLoadedContent{margin-bottom:20px;}
43
+ #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
44
+ #cboxLoadingOverlay{background:#FFF;}
45
+ #cboxTitle{position:absolute; bottom:0; left:0; text-align:left; width:100%; color:#999;}
46
+ #cboxCurrent{position:absolute; bottom:0; right:120px; color:#999;}
47
+ #cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; width:20px; height:20px; position:absolute; bottom:0; background:url(images/controls.png) 0 0 no-repeat;}
48
+ #cboxPrevious{background-position:0 0; right:44px;}
49
+ #cboxPrevious.hover{background-position:0 -25px;}
50
+ #cboxNext{background-position:-25px 0; right:22px;}
51
+ #cboxNext.hover{background-position:-25px -25px;}
52
+ #cboxClose{background-position:-50px 0; right:0;}
53
+ #cboxClose.hover{background-position:-50px -25px;}
54
+ .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
55
+ .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
56
+ .cboxSlideshow_on #cboxSlideshow.hover{background-position:-100px -25px;}
57
+ .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0; right:44px;}
58
+ .cboxSlideshow_off #cboxSlideshow.hover{background-position:-75px -25px;}
themes/theme9/images/border1.png ADDED
Binary file
themes/theme9/images/border2.png ADDED
Binary file
themes/theme9/images/controls.png ADDED
Binary file
themes/theme9/images/internet_explorer/borderBottomCenter.png ADDED
Binary file
themes/theme9/images/internet_explorer/borderBottomLeft.png ADDED
Binary file
themes/theme9/images/internet_explorer/borderBottomRight.png ADDED
Binary file
themes/theme9/images/internet_explorer/borderMiddleLeft.png ADDED
Binary file
themes/theme9/images/internet_explorer/borderMiddleRight.png ADDED
Binary file
themes/theme9/images/internet_explorer/borderTopCenter.png ADDED
Binary file
themes/theme9/images/internet_explorer/borderTopLeft.png ADDED
Binary file
themes/theme9/images/internet_explorer/borderTopRight.png ADDED
Binary file
themes/theme9/images/loading.gif ADDED
Binary file