Slideshow - Version 2.1.16

Version Description

  • Security update enabling HTML in slides again, but only allowing it in a very strict format without any scripts.
  • Added shortcode editor, which provides a more convenient way of inserting slideshows in your posts and pages.
  • Updated the way slideshows are retrieved. A faulty ID will no longer cause the slideshow to not show at all.
  • Slideshows can now also be fetched by their slugs.
  • The example shortcode's ID on the slideshow settings page is now surrounded by quotes to prevent confusion.
Download this release

Release Info

Developer stefanboonstra
Plugin Icon 128x128 Slideshow
Version 2.1.16
Comparing to
See all releases

Code changes from version 2.1.15 to 2.1.16

classes/SlideshowPlugin.php CHANGED
@@ -29,8 +29,23 @@ class SlideshowPlugin {
29
  * @return String $output
30
  */
31
  static function prepare($postId = null){
32
- // Check if defined which Slideshow to use
33
- if(empty($postId) || !is_numeric($postId) || $postId < 0){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  $post = get_posts(array(
35
  'numberposts' => 1,
36
  'orderby' => 'rand',
@@ -39,12 +54,12 @@ class SlideshowPlugin {
39
 
40
  if(is_array($post))
41
  $post = $post[0];
42
- }else
43
- $post = wp_get_single_post($postId);
44
 
45
- // Exit function on error
46
- if(empty($post))
47
- return '';
 
48
 
49
  // Get settings
50
  $allSettings = SlideshowPluginPostType::getSimpleSettings($post->ID, null, false);
29
  * @return String $output
30
  */
31
  static function prepare($postId = null){
32
+ // Get post by its ID, or by its slug
33
+ if(is_numeric($postId))
34
+ $post = wp_get_single_post($postId);
35
+ if(is_string($postId)){
36
+ $query = new WP_Query(array(
37
+ 'post_type' => SlideshowPluginPostType::$postType,
38
+ 'name' => $postId,
39
+ 'orderby' => 'post_date',
40
+ 'order' => 'DESC'
41
+ ));
42
+
43
+ if($query->have_posts())
44
+ $post = $query->next_post();
45
+ }
46
+
47
+ // When no slideshow is found, get one at random
48
+ if(empty($post)){
49
  $post = get_posts(array(
50
  'numberposts' => 1,
51
  'orderby' => 'rand',
54
 
55
  if(is_array($post))
56
  $post = $post[0];
57
+ }
 
58
 
59
+ // Exit on error
60
+ if(empty($post)){echo 'dayum';
61
+ return '<!-- Wordpress Slideshow - No slideshows available -->';
62
+ }
63
 
64
  // Get settings
65
  $allSettings = SlideshowPluginPostType::getSimpleSettings($post->ID, null, false);
classes/SlideshowPluginPostType.php CHANGED
@@ -62,9 +62,6 @@ class SlideshowPluginPostType {
62
  'register_meta_box_cb' => array(__CLASS__, 'registerMetaBoxes')
63
  )
64
  );
65
-
66
- // jQuery
67
- //wp_enqueue_script('jquery');
68
  }
69
 
70
  /**
@@ -155,7 +152,7 @@ class SlideshowPluginPostType {
155
  global $post;
156
 
157
  $snippet = htmlentities(sprintf('<?php do_action(\'slideshow_deploy\', \'%s\'); ?>', $post->ID));
158
- $shortCode = htmlentities(sprintf('[' . SlideshowPluginShortcode::$shortCode . ' id=%s]', $post->ID));
159
 
160
  include(SlideshowPluginMain::getPluginPath() . '/views/' . __CLASS__ . '/information.php');
161
  }
62
  'register_meta_box_cb' => array(__CLASS__, 'registerMetaBoxes')
63
  )
64
  );
 
 
 
65
  }
66
 
67
  /**
152
  global $post;
153
 
154
  $snippet = htmlentities(sprintf('<?php do_action(\'slideshow_deploy\', \'%s\'); ?>', $post->ID));
155
+ $shortCode = htmlentities(sprintf('[' . SlideshowPluginShortcode::$shortCode . ' id=\'%s\']', $post->ID));
156
 
157
  include(SlideshowPluginMain::getPluginPath() . '/views/' . __CLASS__ . '/information.php');
158
  }
classes/SlideshowPluginSecurity.php ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The SlideshowPluginSecurity class contains functions for sanitizing in- and output.
4
+ *
5
+ * @author Stefan Boonstra
6
+ * @since 2.1.16
7
+ * @updated 2.1.16
8
+ */
9
+ class SlideshowPluginSecurity {
10
+
11
+ /**
12
+ * @since 2.1.16
13
+ * @var array List of allowed element tags
14
+ */
15
+ private static $allowedElements = array(
16
+ 'b' => array('endTag' => true, 'attributes' => 'default'),
17
+ 'br' => array('endTag' => false),
18
+ 'div' => array('endTag' => true, 'attributes' => 'default'),
19
+ 'h1' => array('endTag' => true, 'attributes' => 'default'),
20
+ 'h2' => array('endTag' => true, 'attributes' => 'default'),
21
+ 'h3' => array('endTag' => true, 'attributes' => 'default'),
22
+ 'h4' => array('endTag' => true, 'attributes' => 'default'),
23
+ 'h5' => array('endTag' => true, 'attributes' => 'default'),
24
+ 'h6' => array('endTag' => true, 'attributes' => 'default'),
25
+ 'i' => array('endTag' => true, 'attributes' => 'default'),
26
+ 'li' => array('endTag' => true, 'attributes' => 'default'),
27
+ 'ol' => array('endTag' => true, 'attributes' => 'default'),
28
+ 'p' => array('endTag' => true, 'attributes' => 'default'),
29
+ 'span' => array('endTag' => true, 'attributes' => 'default'),
30
+ 'strong' => array('endTag' => true, 'attributes' => 'default'),
31
+ 'sub' => array('endTag' => true, 'attributes' => 'default'),
32
+ 'sup' => array('endTag' => true, 'attributes' => 'default'),
33
+ 'table' => array('endTag' => true, 'attributes' => 'default'),
34
+ 'tbody' => array('endTag' => true, 'attributes' => 'default'),
35
+ 'td' => array('endTag' => true, 'attributes' => 'default'),
36
+ 'tfoot' => array('endTag' => true, 'attributes' => 'default'),
37
+ 'th' => array('endTag' => true, 'attributes' => 'default'),
38
+ 'thead' => array('endTag' => true, 'attributes' => 'default'),
39
+ 'tr' => array('endTag' => true, 'attributes' => 'default'),
40
+ 'ul' => array('endTag' => true, 'attributes' => 'default')
41
+ );
42
+
43
+ /**
44
+ * @since 2.1.16
45
+ * @var array List of attributes allowed in the tags
46
+ */
47
+ private static $defaultAllowedAttributes = array(
48
+ 'class',
49
+ 'id',
50
+ 'style'
51
+ );
52
+
53
+ /**
54
+ * Similar to the htmlspecialchars($text) function, except this function
55
+ * allows the exceptions defined in this class.
56
+ *
57
+ * @since 2.1.16
58
+ * @updated 2.1.16
59
+ */
60
+ static function htmlspecialchars_allow_exceptions($text){
61
+ $text = htmlspecialchars(htmlspecialchars_decode($text));
62
+
63
+ $allowedElements = self::$allowedElements;
64
+
65
+ // Loop through allowed elements decoding their HTML special chars and allowed attributes.
66
+ foreach($allowedElements as $element => $attributes){
67
+
68
+ $position = 0;
69
+
70
+ while(($position = stripos($text, $element, $position)) !== false){ // While element tags found
71
+
72
+ $openingTag = '<';
73
+ $encodedOpeningTag = htmlspecialchars($openingTag);
74
+
75
+ if(substr($text, $position - strlen($encodedOpeningTag), strlen($encodedOpeningTag)) == $encodedOpeningTag){ // Check if an opening tag '<' can be found before the tag name
76
+
77
+ // Replace encoded opening tag
78
+ $text = substr_replace($text, '<', $position - strlen($encodedOpeningTag), strlen($encodedOpeningTag));
79
+ $position -= strlen($encodedOpeningTag) - strlen($openingTag);
80
+
81
+ // Get the position of the first element closing tag
82
+ $closingTag = '>';
83
+ $encodedClosingTag = htmlspecialchars($closingTag);
84
+ $closingTagPosition = stripos($text, $encodedClosingTag, $position);
85
+
86
+ // Replace encoded closing tag
87
+ if($closingTagPosition !== false)
88
+ $text = substr_replace($text, '>', $closingTagPosition, strlen($encodedClosingTag));
89
+
90
+ $elementAttributes = null;
91
+ if(isset($attributes['attributes']) && is_array($attributes['attributes']))
92
+ $elementAttributes = $attributes['attributes'];
93
+ elseif(isset($attributes['attributes']) && $attributes['attributes'] == 'default')
94
+ $elementAttributes = self::$defaultAllowedAttributes;
95
+ else
96
+ continue;
97
+
98
+ $tagText = substr($text, $position, $closingTagPosition - $position);
99
+
100
+ // Decode allowed attributes
101
+ foreach($elementAttributes as $attribute){
102
+
103
+ $attributeOpener = $attribute . '=' . htmlspecialchars('"');
104
+
105
+ $attributePosition = 0;
106
+ if(($attributePosition = stripos($tagText, $attributeOpener, $attributePosition)) !== false){ // Attribute was found
107
+
108
+ $attributeClosingPosition = 0;
109
+ if(($attributeClosingPosition = stripos($tagText, htmlspecialchars('"'), $attributePosition + strlen($attributeOpener))) === false) // If no closing position of attribute was found, skip.
110
+ continue;
111
+
112
+ // Open the attribute
113
+ $tagText = str_ireplace($attributeOpener, $attribute . '="', $tagText);
114
+
115
+ // Close the attribute
116
+ $attributeClosingPosition -= strlen($attributeOpener) - strlen($attribute . '="');
117
+ $tagText = substr_replace($tagText, '"', $attributeClosingPosition, strlen(htmlspecialchars('"')));
118
+ }
119
+
120
+ }
121
+
122
+ // Put the attributes of the tag back in place
123
+ $text = substr_replace($text, $tagText, $position, $closingTagPosition - $position);
124
+ }
125
+
126
+ $position++;
127
+ }
128
+
129
+ // Decode closing tags
130
+ if(isset($attributes['endTag']) && $attributes['endTag'])
131
+ $text = str_ireplace(htmlspecialchars('</' . $element . '>'), '</' . $element . '>', $text);
132
+ }
133
+
134
+ return $text;
135
+ }
136
+ }
classes/SlideshowPluginShortcode.php CHANGED
@@ -1,22 +1,47 @@
1
  <?php
2
  /**
3
- * Class SlideshowPluginShortcode is called on use of shortcode anywhere on the website.
 
 
 
4
  *
 
5
  * @author: Stefan Boonstra
6
  * @version: 25-09-12
7
  */
8
  class SlideshowPluginShortcode {
9
 
10
  /** Variables */
11
- static $shortCode = 'slideshow_deploy';
12
  public static $bookmark = '!slideshow_deploy!';
13
  private static $postIds = array();
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  /**
16
  * Function slideshowDeploy adds a bookmark to where ever a shortcode
17
  * is found and adds the postId to an array, it then is loaded after
18
  * Wordpress has done its HTML checks.
19
  *
 
20
  * @param mixed $atts
21
  * @return String $output
22
  */
@@ -50,6 +75,7 @@ class SlideshowPluginShortcode {
50
  * Function insertSlideshow uses the prepare method of class SlideshowPlugin
51
  * to insert the code for the slideshow on the location a bookmark was found.
52
  *
 
53
  * @param String $content
54
  * @return String $content
55
  */
@@ -67,4 +93,42 @@ class SlideshowPluginShortcode {
67
 
68
  return $content;
69
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  }
1
  <?php
2
  /**
3
+ * Class SlideshowPluginShortcode provides the shortcode function, which is called
4
+ * on use of shortcode anywhere in the posts and pages. Also provides the shortcode
5
+ * inserter, so that it's made easier for non-programmers to insert the shortcode
6
+ * into a post or page.
7
  *
8
+ * @since 1.2.0
9
  * @author: Stefan Boonstra
10
  * @version: 25-09-12
11
  */
12
  class SlideshowPluginShortcode {
13
 
14
  /** Variables */
15
+ public static $shortCode = 'slideshow_deploy';
16
  public static $bookmark = '!slideshow_deploy!';
17
  private static $postIds = array();
18
 
19
+ /**
20
+ * Initializes the shortcode, registering it and hooking the shortcode
21
+ * inserter media buttons.
22
+ *
23
+ * @since 2.1.16
24
+ */
25
+ static function init(){
26
+ // Register shortcode
27
+ add_shortcode(self::$shortCode, array(__CLASS__, 'slideshowDeploy'));
28
+
29
+ // Admin
30
+ if(is_admin()){
31
+ // Add shortcode inserter HTML
32
+ add_action('media_buttons', array(__CLASS__, 'shortcodeInserter'), 11);
33
+
34
+ // Enqueue shortcode inserter script
35
+ add_action('admin_enqueue_scripts', array(__CLASS__, 'shortcodeInserterScript'));
36
+ }
37
+ }
38
+
39
  /**
40
  * Function slideshowDeploy adds a bookmark to where ever a shortcode
41
  * is found and adds the postId to an array, it then is loaded after
42
  * Wordpress has done its HTML checks.
43
  *
44
+ * @since 1.2.0
45
  * @param mixed $atts
46
  * @return String $output
47
  */
75
  * Function insertSlideshow uses the prepare method of class SlideshowPlugin
76
  * to insert the code for the slideshow on the location a bookmark was found.
77
  *
78
+ * @since 2.1.8
79
  * @param String $content
80
  * @return String $content
81
  */
93
 
94
  return $content;
95
  }
96
+
97
+ /**
98
+ * Hooked on the admin's 'media_buttons' hook, outputs the shortcode inserter media button
99
+ *
100
+ * @since 2.1.16
101
+ */
102
+ static function shortcodeInserter(){
103
+ // Get slideshows
104
+ $slideshows = new WP_Query(array(
105
+ 'post_type' => SlideshowPluginPostType::$postType,
106
+ 'orderby' => 'post_date',
107
+ 'order' => 'DESC'
108
+ ));
109
+
110
+ include(SlideshowPluginMain::getPluginPath() . DIRECTORY_SEPARATOR . 'views' . DIRECTORY_SEPARATOR . __CLASS__ . DIRECTORY_SEPARATOR . 'shortcode-inserter.php');
111
+ }
112
+
113
+ /**
114
+ * Enqueues the shortcode inserter script
115
+ *
116
+ * @since 2.1.16
117
+ */
118
+ static function shortcodeInserterScript(){
119
+ wp_enqueue_script(
120
+ 'slideshow-shortcode-inserter',
121
+ SlideshowPluginMain::getPluginUrl() . '/js/' . __CLASS__ . '/shortcode-inserter.js',
122
+ array('jquery')
123
+ );
124
+
125
+ wp_localize_script(
126
+ 'slideshow-shortcode-inserter',
127
+ 'SlideshowShortcodeInserter',
128
+ array(
129
+ 'undefinedSlideshowMessage' => __('No slideshow selected.', 'slideshow-plugin'),
130
+ 'shortcode' => SlideshowPluginShortcode::$shortCode
131
+ )
132
+ );
133
+ }
134
  }
classes/SlideshowPluginWidget.php CHANGED
@@ -69,6 +69,7 @@ class SlideshowPluginWidget extends WP_Widget {
69
  * The form shown on the admins widget page. Here settings can be changed.
70
  *
71
  * @param mixed array $instance
 
72
  */
73
  function form($instance){
74
  // Defaults
69
  * The form shown on the admins widget page. Here settings can be changed.
70
  *
71
  * @param mixed array $instance
72
+ * @return string
73
  */
74
  function form($instance){
75
  // Defaults
js/SlideshowPluginShortcode/shortcode-inserter.js ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function(){
2
+
3
+ jQuery('.insertSlideshowShortcodeSlideshowInsertButton').click(function(){
4
+ var undefinedSlideshowMessage = SlideshowShortcodeInserter.undefinedSlideshowMessage;
5
+ if(undefinedSlideshowMessage == undefined)
6
+ undefinedSlideshowMessage = 'No slideshow selected.';
7
+
8
+ var shortcode = SlideshowShortcodeInserter.shortcode;
9
+ if(shortcode == undefined)
10
+ shortcode = 'slideshow_deploy';
11
+
12
+ var slideshowId = jQuery('#insertSlideshowShortcodeSlideshowSelect').val();
13
+
14
+ if(slideshowId == undefined){
15
+ alert(undefinedSlideshowMessage);
16
+ return;
17
+ }
18
+
19
+ send_to_editor('[' + shortcode + ' id=\'' + slideshowId + '\']');
20
+ tb_remove();
21
+ return true;
22
+ });
23
+
24
+ jQuery('.insertSlideshowShortcodeCancelButton').click(function(){
25
+ tb_remove();
26
+ return false;
27
+ });
28
+ });
languages/slideshow-plugin-nl_NL.mo CHANGED
Binary file
languages/slideshow-plugin-nl_NL.po CHANGED
@@ -2,17 +2,17 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Slideshow Plugin\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-10-28 11:29+0100\n"
6
- "PO-Revision-Date: 2012-10-28 11:29+0100\n"
7
  "Last-Translator: Stefan Boonstra <stefanboonstra@hotmail.com>\n"
8
  "Language-Team: Stefan Boonstra <wordpress@stefanboonstra.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-KeywordsList: _e;__\n"
13
  "X-Poedit-Basepath: ../\n"
14
- "X-Poedit-Language: Dutch\n"
15
- "X-Poedit-Country: NETHERLANDS\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
  #: classes/SlideshowPluginPostType.php:40
@@ -20,6 +20,7 @@ msgid "Slideshows"
20
  msgstr "Slideshows"
21
 
22
  #: classes/SlideshowPluginPostType.php:41
 
23
  msgid "Slideshow"
24
  msgstr "Slideshow"
25
 
@@ -48,164 +49,173 @@ msgstr "Slideshows zoeken"
48
  msgid "No slideshows found"
49
  msgstr "Geen slideshows gevonden"
50
 
51
- #: classes/SlideshowPluginPostType.php:105
52
  msgid "Information"
53
  msgstr "Informatie"
54
 
55
- #: classes/SlideshowPluginPostType.php:114
56
  msgid "Slides List"
57
  msgstr "Slides Lijst"
58
 
59
- #: classes/SlideshowPluginPostType.php:123
60
  msgid "Slideshow Style"
61
  msgstr "Slideshow Stijl"
62
 
63
- #: classes/SlideshowPluginPostType.php:132
64
  msgid "Slideshow Settings"
65
  msgstr "Slideshow Instellingen"
66
 
67
- #: classes/SlideshowPluginPostType.php:379
68
  msgid "light"
69
  msgstr "licht"
70
 
71
- #: classes/SlideshowPluginPostType.php:381
72
  msgid "slide"
73
  msgstr "slide"
74
 
75
- #: classes/SlideshowPluginPostType.php:402
76
  msgid "Yes"
77
  msgstr "Ja"
78
 
79
- #: classes/SlideshowPluginPostType.php:403
80
  msgid "No"
81
  msgstr "Nee"
82
 
83
- #: classes/SlideshowPluginPostType.php:405
84
  msgid "The style used for this slideshow"
85
  msgstr "De stijl te gebruiken voor deze slideshow"
86
 
87
- #: classes/SlideshowPluginPostType.php:405
88
  msgid "Light"
89
  msgstr "Licht"
90
 
91
- #: classes/SlideshowPluginPostType.php:405
92
  msgid "Dark"
93
  msgstr "Donker"
94
 
95
- #: classes/SlideshowPluginPostType.php:405
96
  msgid "Custom"
97
  msgstr "Aangepast"
98
 
99
- #: classes/SlideshowPluginPostType.php:406
100
  msgid "Custom style editor"
101
  msgstr "Aangepaste stijl bewerker"
102
 
103
- #: classes/SlideshowPluginPostType.php:407
104
  msgid "Animation used for transition between slides"
105
  msgstr "Animatie tussen het wisselen van de slides"
106
 
107
- #: classes/SlideshowPluginPostType.php:407
108
  msgid "Slide"
109
  msgstr "Slide"
110
 
111
- #: classes/SlideshowPluginPostType.php:407
112
  msgid "Fade"
113
  msgstr "Fade"
114
 
115
- #: classes/SlideshowPluginPostType.php:407
116
- #: classes/SlideshowPluginPostType.php:408
117
- #: classes/SlideshowPluginPostType.php:409
118
- #: classes/SlideshowPluginPostType.php:410
119
  msgid "Animation"
120
  msgstr "Animatie"
121
 
122
- #: classes/SlideshowPluginPostType.php:408
123
  msgid "Number of seconds the slide takes to slide in"
124
- msgstr "Aantal seconden dat de animatie van het inschuiven van de volgende slide duurt"
 
 
125
 
126
- #: classes/SlideshowPluginPostType.php:409
127
  msgid "Number of seconds the description takes to slide in"
128
  msgstr "Aantal seconden dat het inschuiven van de beschrijving duurt"
129
 
130
- #: classes/SlideshowPluginPostType.php:410
131
  msgid "Seconds between changing slides"
132
  msgstr "Seconden tussen het wisselen van de slides"
133
 
134
- #: classes/SlideshowPluginPostType.php:411
135
  msgid "Number of slides to fit into one slide"
136
  msgstr "Aantal slides om in een slide te plaatsen"
137
 
138
- #: classes/SlideshowPluginPostType.php:411
139
- #: classes/SlideshowPluginPostType.php:412
140
- #: classes/SlideshowPluginPostType.php:413
141
- #: classes/SlideshowPluginPostType.php:414
142
- #: classes/SlideshowPluginPostType.php:415
143
- #: classes/SlideshowPluginPostType.php:416
144
- #: classes/SlideshowPluginPostType.php:417
145
  msgid "Display"
146
  msgstr "Weergave"
147
 
148
- #: classes/SlideshowPluginPostType.php:412
149
  msgid "Width of the slideshow, set to parent&#39;s width on 0"
150
- msgstr "Breedte van de slideshow, past zich aan op bovenliggende element wanneer 0"
 
151
 
152
- #: classes/SlideshowPluginPostType.php:413
153
  msgid "Height of the slideshow"
154
  msgstr "Hoogte van de slideshow"
155
 
156
- #: classes/SlideshowPluginPostType.php:414
157
  msgid "Height of the description boxes"
158
  msgstr "Hoogte van de beschrijvingen"
159
 
160
- #: classes/SlideshowPluginPostType.php:415
161
  msgid "Fit image into slide (stretching it)"
162
  msgstr "Pas afbeelding in de slideshow (oprekken)"
163
 
164
- #: classes/SlideshowPluginPostType.php:416
165
  msgid "Show title and description"
166
  msgstr "Toon titel en beschrijving"
167
 
168
- #: classes/SlideshowPluginPostType.php:417
169
  msgid "Hide description box, it will pop up when a mouse hovers over the slide"
170
- msgstr "Verbeg beschrijving, toon de slide alleen wanneer de muisaanwijzer boven de slide is"
 
 
171
 
172
- #: classes/SlideshowPluginPostType.php:418
173
  msgid "Automatically slide to the next slide"
174
  msgstr "Automatisch naar de volgende slide gaan"
175
 
176
- #: classes/SlideshowPluginPostType.php:418
177
- #: classes/SlideshowPluginPostType.php:419
178
- #: classes/SlideshowPluginPostType.php:420
179
- #: classes/SlideshowPluginPostType.php:421
180
  msgid "Control"
181
  msgstr "Controle"
182
 
183
- #: classes/SlideshowPluginPostType.php:419
184
  msgid "Return to the beginning of the slideshow after last slide"
185
  msgstr "Keer terug naar het begin van de slideshow na de laatste slide."
186
 
187
- #: classes/SlideshowPluginPostType.php:420
188
  msgid "Activate buttons (so the user can scroll through the slides)"
189
  msgstr "Knoppen activeren (zodat de gebruiker door de slides kan scrollen)"
190
 
191
- #: classes/SlideshowPluginPostType.php:421
192
  msgid "Show control panel (play and pause button)"
193
  msgstr "Toon controlepaneel (speel en pause knop)"
194
 
195
- #: classes/SlideshowPluginPostType.php:422
196
  msgid "Randomize slides"
197
  msgstr "Toon slides in willekeurige volgorde"
198
 
199
- #: classes/SlideshowPluginPostType.php:422
200
- #: classes/SlideshowPluginPostType.php:424
201
  msgid "Miscellaneous"
202
  msgstr "Overige"
203
 
204
- #: classes/SlideshowPluginPostType.php:424
205
  #, php-format
206
  msgid "Avoid content filter (disable if '%s' is shown)"
207
  msgstr "Content filter omzeilen (uitschakelen als '%s' wordt getoond)"
208
 
 
 
 
 
209
  #: classes/SlideshowPluginSlideInserter.php:138
210
  #: views/SlideshowPluginPostType/slides.php:2
211
  msgid "Insert"
@@ -225,24 +235,36 @@ msgstr "Weet je zeker dat je deze slide wilt verwijderen?"
225
 
226
  #: classes/SlideshowPluginWidget.php:20
227
  msgid "Enables you to show your slideshows in the widget area of your website."
228
- msgstr "Maakt het mogelijk je slideshows te bijken in het widget gebied van je website."
 
 
229
 
230
  #: classes/SlideshowPluginWidget.php:26
231
  msgid "Slideshow Widget"
232
  msgstr "Slideshow Widget"
233
 
234
  #: views/SlideshowPluginPostType/information.php:1
235
- msgid "To use this slideshow in your website either add this piece of shortcode to your posts or pages"
236
- msgstr "Om deze slideshow op je website te gebruiken voeg je of dit stukje shortcode aan je pagina of post toe"
 
 
 
 
237
 
238
  #: views/SlideshowPluginPostType/information.php:3
239
- msgid "Or add this piece of code to where ever in your website you want to place the slideshow"
240
- msgstr "Of je voegt dit stuk code toe aan je broncode op de plaats waar je wilt dat de slideshow te zien is"
 
 
 
 
241
 
242
  #: views/SlideshowPluginPostType/information.php:5
243
  #, php-format
244
  msgid "Or go to the %swidgets page%s and show the slideshow as a widget."
245
- msgstr "Ook kan je naar de %swidget pagina%s toegaan, om de slideshow te tonen als widget."
 
 
246
 
247
  #: views/SlideshowPluginPostType/settings.php:12
248
  msgid "settings"
@@ -259,6 +281,7 @@ msgstr "Voeg slides toe doormiddel van de bovenstaande knoppen."
259
 
260
  #: views/SlideshowPluginPostType/slides.php:47
261
  #: views/SlideshowPluginPostType/slides.php:141
 
262
  msgid "Title"
263
  msgstr "Titel"
264
 
@@ -304,8 +327,12 @@ msgid "Edit"
304
  msgstr "Bewerken"
305
 
306
  #: views/SlideshowPluginPostType/slides.php:126
307
- msgid "An error occurred while loading this slide, and it will not be present in the slideshow"
308
- msgstr "Een fout is ontstaan tijdens het laden van deze slide, de slide zal niet te bekijken zijn in je slideshow"
 
 
 
 
309
 
310
  #: views/SlideshowPluginPostType/slides.php:131
311
  #: views/SlideshowPluginPostType/slides.php:162
@@ -319,8 +346,17 @@ msgid "Help to keep this plugin free!"
319
  msgstr "Help mee om deze plugin gratis te houden!"
320
 
321
  #: views/SlideshowPluginPostType/support-plugin.php:6
322
- msgid "In order to keep you provided with the newest features, forum support, and bug-fixes, a lot of motivation is required. Therefore I'm kindly asking you to consider making a small donation to the plugin or rating it as 5-stars on Wordpress.org. Thank you in advance!"
323
- msgstr "Om je te kunnen voorzien van de nieuwste functionaliteiten, forum ondersteuning en fout-oplossingen, is een hoop motivatie nodig. Daarom zou ik het enorm waarderen als je een kleine donatie aan de plugin zou willen doen, of de plugin 5 sterren zou willen geven op Wordpress.org. Alvast bedankt!"
 
 
 
 
 
 
 
 
 
324
 
325
  #: views/SlideshowPluginPostType/support-plugin.php:15
326
  msgid "Rate on Wordpress.org"
@@ -330,6 +366,38 @@ msgstr "Geef een waardering op Wordpress.org"
330
  msgid "Questions / Suggestions"
331
  msgstr "Vragen / Opmerkingen"
332
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
333
  #: views/SlideshowPluginSlideInserter/insert-image-button.php:1
334
  msgid "Image slide"
335
  msgstr "Afbeeldingsslide"
@@ -376,9 +444,6 @@ msgstr "Willekeurige Slideshow"
376
  #~ "waarderen als je de plugin wilt beoordelen op Wordpress, een suggestie "
377
  #~ "wilt maken voor verbetering, of een donatie doen wilt."
378
 
379
- #~ msgid "Insert Text Slide"
380
- #~ msgstr "Tekst-slide invoegen"
381
-
382
  #~ msgid "Click on an image to insert it as a slide"
383
  #~ msgstr "Klik op een plaatje om deze in te voegen als slide"
384
 
2
  msgstr ""
3
  "Project-Id-Version: Slideshow Plugin\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-11-10 13:12+0100\n"
6
+ "PO-Revision-Date: 2012-11-10 13:12+0100\n"
7
  "Last-Translator: Stefan Boonstra <stefanboonstra@hotmail.com>\n"
8
  "Language-Team: Stefan Boonstra <wordpress@stefanboonstra.com>\n"
9
+ "Language: nl_NL\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.5.4\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
  #: classes/SlideshowPluginPostType.php:40
20
  msgstr "Slideshows"
21
 
22
  #: classes/SlideshowPluginPostType.php:41
23
+ #: views/SlideshowPluginWidget/form.php:7
24
  msgid "Slideshow"
25
  msgstr "Slideshow"
26
 
49
  msgid "No slideshows found"
50
  msgstr "Geen slideshows gevonden"
51
 
52
+ #: classes/SlideshowPluginPostType.php:102
53
  msgid "Information"
54
  msgstr "Informatie"
55
 
56
+ #: classes/SlideshowPluginPostType.php:111
57
  msgid "Slides List"
58
  msgstr "Slides Lijst"
59
 
60
+ #: classes/SlideshowPluginPostType.php:120
61
  msgid "Slideshow Style"
62
  msgstr "Slideshow Stijl"
63
 
64
+ #: classes/SlideshowPluginPostType.php:129
65
  msgid "Slideshow Settings"
66
  msgstr "Slideshow Instellingen"
67
 
68
+ #: classes/SlideshowPluginPostType.php:389
69
  msgid "light"
70
  msgstr "licht"
71
 
72
+ #: classes/SlideshowPluginPostType.php:391
73
  msgid "slide"
74
  msgstr "slide"
75
 
76
+ #: classes/SlideshowPluginPostType.php:412
77
  msgid "Yes"
78
  msgstr "Ja"
79
 
80
+ #: classes/SlideshowPluginPostType.php:413
81
  msgid "No"
82
  msgstr "Nee"
83
 
84
+ #: classes/SlideshowPluginPostType.php:415
85
  msgid "The style used for this slideshow"
86
  msgstr "De stijl te gebruiken voor deze slideshow"
87
 
88
+ #: classes/SlideshowPluginPostType.php:415
89
  msgid "Light"
90
  msgstr "Licht"
91
 
92
+ #: classes/SlideshowPluginPostType.php:415
93
  msgid "Dark"
94
  msgstr "Donker"
95
 
96
+ #: classes/SlideshowPluginPostType.php:415
97
  msgid "Custom"
98
  msgstr "Aangepast"
99
 
100
+ #: classes/SlideshowPluginPostType.php:416
101
  msgid "Custom style editor"
102
  msgstr "Aangepaste stijl bewerker"
103
 
104
+ #: classes/SlideshowPluginPostType.php:417
105
  msgid "Animation used for transition between slides"
106
  msgstr "Animatie tussen het wisselen van de slides"
107
 
108
+ #: classes/SlideshowPluginPostType.php:417
109
  msgid "Slide"
110
  msgstr "Slide"
111
 
112
+ #: classes/SlideshowPluginPostType.php:417
113
  msgid "Fade"
114
  msgstr "Fade"
115
 
116
+ #: classes/SlideshowPluginPostType.php:417
117
+ #: classes/SlideshowPluginPostType.php:418
118
+ #: classes/SlideshowPluginPostType.php:419
119
+ #: classes/SlideshowPluginPostType.php:420
120
  msgid "Animation"
121
  msgstr "Animatie"
122
 
123
+ #: classes/SlideshowPluginPostType.php:418
124
  msgid "Number of seconds the slide takes to slide in"
125
+ msgstr ""
126
+ "Aantal seconden dat de animatie van het inschuiven van de volgende slide "
127
+ "duurt"
128
 
129
+ #: classes/SlideshowPluginPostType.php:419
130
  msgid "Number of seconds the description takes to slide in"
131
  msgstr "Aantal seconden dat het inschuiven van de beschrijving duurt"
132
 
133
+ #: classes/SlideshowPluginPostType.php:420
134
  msgid "Seconds between changing slides"
135
  msgstr "Seconden tussen het wisselen van de slides"
136
 
137
+ #: classes/SlideshowPluginPostType.php:421
138
  msgid "Number of slides to fit into one slide"
139
  msgstr "Aantal slides om in een slide te plaatsen"
140
 
141
+ #: classes/SlideshowPluginPostType.php:421
142
+ #: classes/SlideshowPluginPostType.php:422
143
+ #: classes/SlideshowPluginPostType.php:423
144
+ #: classes/SlideshowPluginPostType.php:424
145
+ #: classes/SlideshowPluginPostType.php:425
146
+ #: classes/SlideshowPluginPostType.php:426
147
+ #: classes/SlideshowPluginPostType.php:427
148
  msgid "Display"
149
  msgstr "Weergave"
150
 
151
+ #: classes/SlideshowPluginPostType.php:422
152
  msgid "Width of the slideshow, set to parent&#39;s width on 0"
153
+ msgstr ""
154
+ "Breedte van de slideshow, past zich aan op bovenliggende element wanneer 0"
155
 
156
+ #: classes/SlideshowPluginPostType.php:423
157
  msgid "Height of the slideshow"
158
  msgstr "Hoogte van de slideshow"
159
 
160
+ #: classes/SlideshowPluginPostType.php:424
161
  msgid "Height of the description boxes"
162
  msgstr "Hoogte van de beschrijvingen"
163
 
164
+ #: classes/SlideshowPluginPostType.php:425
165
  msgid "Fit image into slide (stretching it)"
166
  msgstr "Pas afbeelding in de slideshow (oprekken)"
167
 
168
+ #: classes/SlideshowPluginPostType.php:426
169
  msgid "Show title and description"
170
  msgstr "Toon titel en beschrijving"
171
 
172
+ #: classes/SlideshowPluginPostType.php:427
173
  msgid "Hide description box, it will pop up when a mouse hovers over the slide"
174
+ msgstr ""
175
+ "Verbeg beschrijving, toon de slide alleen wanneer de muisaanwijzer boven de "
176
+ "slide is"
177
 
178
+ #: classes/SlideshowPluginPostType.php:428
179
  msgid "Automatically slide to the next slide"
180
  msgstr "Automatisch naar de volgende slide gaan"
181
 
182
+ #: classes/SlideshowPluginPostType.php:428
183
+ #: classes/SlideshowPluginPostType.php:429
184
+ #: classes/SlideshowPluginPostType.php:430
185
+ #: classes/SlideshowPluginPostType.php:431
186
  msgid "Control"
187
  msgstr "Controle"
188
 
189
+ #: classes/SlideshowPluginPostType.php:429
190
  msgid "Return to the beginning of the slideshow after last slide"
191
  msgstr "Keer terug naar het begin van de slideshow na de laatste slide."
192
 
193
+ #: classes/SlideshowPluginPostType.php:430
194
  msgid "Activate buttons (so the user can scroll through the slides)"
195
  msgstr "Knoppen activeren (zodat de gebruiker door de slides kan scrollen)"
196
 
197
+ #: classes/SlideshowPluginPostType.php:431
198
  msgid "Show control panel (play and pause button)"
199
  msgstr "Toon controlepaneel (speel en pause knop)"
200
 
201
+ #: classes/SlideshowPluginPostType.php:432
202
  msgid "Randomize slides"
203
  msgstr "Toon slides in willekeurige volgorde"
204
 
205
+ #: classes/SlideshowPluginPostType.php:432
206
+ #: classes/SlideshowPluginPostType.php:434
207
  msgid "Miscellaneous"
208
  msgstr "Overige"
209
 
210
+ #: classes/SlideshowPluginPostType.php:434
211
  #, php-format
212
  msgid "Avoid content filter (disable if '%s' is shown)"
213
  msgstr "Content filter omzeilen (uitschakelen als '%s' wordt getoond)"
214
 
215
+ #: classes/SlideshowPluginShortcode.php:129
216
+ msgid "No slideshow selected."
217
+ msgstr "Geen slideshow geselecteerd."
218
+
219
  #: classes/SlideshowPluginSlideInserter.php:138
220
  #: views/SlideshowPluginPostType/slides.php:2
221
  msgid "Insert"
235
 
236
  #: classes/SlideshowPluginWidget.php:20
237
  msgid "Enables you to show your slideshows in the widget area of your website."
238
+ msgstr ""
239
+ "Maakt het mogelijk je slideshows te bijken in het widget gebied van je "
240
+ "website."
241
 
242
  #: classes/SlideshowPluginWidget.php:26
243
  msgid "Slideshow Widget"
244
  msgstr "Slideshow Widget"
245
 
246
  #: views/SlideshowPluginPostType/information.php:1
247
+ msgid ""
248
+ "To use this slideshow in your website either add this piece of shortcode to "
249
+ "your posts or pages"
250
+ msgstr ""
251
+ "Om deze slideshow op je website te gebruiken voeg je of dit stukje shortcode "
252
+ "aan je pagina of post toe"
253
 
254
  #: views/SlideshowPluginPostType/information.php:3
255
+ msgid ""
256
+ "Or add this piece of code to where ever in your website you want to place "
257
+ "the slideshow"
258
+ msgstr ""
259
+ "Of je voegt dit stuk code toe aan je broncode op de plaats waar je wilt dat "
260
+ "de slideshow te zien is"
261
 
262
  #: views/SlideshowPluginPostType/information.php:5
263
  #, php-format
264
  msgid "Or go to the %swidgets page%s and show the slideshow as a widget."
265
+ msgstr ""
266
+ "Ook kan je naar de %swidget pagina%s toegaan, om de slideshow te tonen als "
267
+ "widget."
268
 
269
  #: views/SlideshowPluginPostType/settings.php:12
270
  msgid "settings"
281
 
282
  #: views/SlideshowPluginPostType/slides.php:47
283
  #: views/SlideshowPluginPostType/slides.php:141
284
+ #: views/SlideshowPluginWidget/form.php:2
285
  msgid "Title"
286
  msgstr "Titel"
287
 
327
  msgstr "Bewerken"
328
 
329
  #: views/SlideshowPluginPostType/slides.php:126
330
+ msgid ""
331
+ "An error occurred while loading this slide, and it will not be present in "
332
+ "the slideshow"
333
+ msgstr ""
334
+ "Een fout is ontstaan tijdens het laden van deze slide, de slide zal niet te "
335
+ "bekijken zijn in je slideshow"
336
 
337
  #: views/SlideshowPluginPostType/slides.php:131
338
  #: views/SlideshowPluginPostType/slides.php:162
346
  msgstr "Help mee om deze plugin gratis te houden!"
347
 
348
  #: views/SlideshowPluginPostType/support-plugin.php:6
349
+ msgid ""
350
+ "In order to keep you provided with the newest features, forum support, and "
351
+ "bug-fixes, a lot of motivation is required. Therefore I'm kindly asking you "
352
+ "to consider making a small donation to the plugin or rating it as 5-stars on "
353
+ "Wordpress.org. Thank you in advance!"
354
+ msgstr ""
355
+ "Om je te kunnen voorzien van de nieuwste functionaliteiten, forum "
356
+ "ondersteuning en fout-oplossingen, is een hoop motivatie nodig. Daarom zou "
357
+ "ik het enorm waarderen als je een kleine donatie aan de plugin zou willen "
358
+ "doen, of de plugin 5 sterren zou willen geven op Wordpress.org. Alvast "
359
+ "bedankt!"
360
 
361
  #: views/SlideshowPluginPostType/support-plugin.php:15
362
  msgid "Rate on Wordpress.org"
366
  msgid "Questions / Suggestions"
367
  msgstr "Vragen / Opmerkingen"
368
 
369
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:4
370
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:9
371
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:16
372
+ msgid "Insert a Slideshow"
373
+ msgstr "Slideshow invoegen"
374
+
375
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:6
376
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:50
377
+ msgid "Insert Slideshow"
378
+ msgstr "Slideshow invoegen"
379
+
380
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:26
381
+ msgid "Select a slideshow"
382
+ msgstr "Selecteer een slideshow"
383
+
384
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:35
385
+ msgid "Untitled slideshow"
386
+ msgstr "Naamloze slideshow"
387
+
388
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:55
389
+ msgid "Cancel"
390
+ msgstr "Annuleren"
391
+
392
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:66
393
+ #, php-format
394
+ msgid ""
395
+ "It seems you haven't created any slideshows yet. %sYou can create a "
396
+ "slideshow here!%s"
397
+ msgstr ""
398
+ "Het ziet er naar uit dat je nog geen slideshows hebt gemaakt. %sHier kan je "
399
+ "een slideshow maken!%s"
400
+
401
  #: views/SlideshowPluginSlideInserter/insert-image-button.php:1
402
  msgid "Image slide"
403
  msgstr "Afbeeldingsslide"
444
  #~ "waarderen als je de plugin wilt beoordelen op Wordpress, een suggestie "
445
  #~ "wilt maken voor verbetering, of een donatie doen wilt."
446
 
 
 
 
447
  #~ msgid "Click on an image to insert it as a slide"
448
  #~ msgstr "Klik op een plaatje om deze in te voegen als slide"
449
 
languages/slideshow-plugin-ru_RU.mo CHANGED
Binary file
languages/slideshow-plugin-ru_RU.po CHANGED
@@ -2,18 +2,17 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Slideshow Plugin\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-10-20 01:02+0200\n"
6
- "PO-Revision-Date: 2012-10-20 10:28+0200\n"
7
- "Last-Translator: Oleg Fritz <olefri@gmail.com>\n"
8
  "Language-Team: Stefan Boonstra <wordpress@stefanboonstra.com>\n"
9
- "Language: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
- "X-Poedit-Language: Russian\n"
16
- "X-Poedit-Country: UKRAINE\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
  #: classes/SlideshowPluginPostType.php:40
@@ -50,157 +49,174 @@ msgstr "Поиск слайдшоу"
50
  msgid "No slideshows found"
51
  msgstr "Ни одного слайдшоу не найдено"
52
 
53
- #: classes/SlideshowPluginPostType.php:105
54
  msgid "Information"
55
  msgstr "Информация"
56
 
57
- #: classes/SlideshowPluginPostType.php:114
58
  msgid "Slides List"
59
  msgstr "Список слайдов"
60
 
61
- #: classes/SlideshowPluginPostType.php:123
62
  msgid "Slideshow Style"
63
  msgstr "Стиль слайдшоу"
64
 
65
- #: classes/SlideshowPluginPostType.php:132
66
  msgid "Slideshow Settings"
67
  msgstr "Настройки слайдшоу"
68
 
69
- #: classes/SlideshowPluginPostType.php:402
 
 
 
 
 
 
 
 
70
  msgid "Yes"
71
  msgstr "Да"
72
 
73
- #: classes/SlideshowPluginPostType.php:403
74
  msgid "No"
75
  msgstr "Нет"
76
 
77
- #: classes/SlideshowPluginPostType.php:405
78
  msgid "The style used for this slideshow"
79
  msgstr "Стиль, используемый в этом слайдшоу"
80
 
81
- #: classes/SlideshowPluginPostType.php:405
82
  msgid "Light"
83
  msgstr "Светлый"
84
 
85
- #: classes/SlideshowPluginPostType.php:405
86
  msgid "Dark"
87
  msgstr "Тёмный"
88
 
89
- #: classes/SlideshowPluginPostType.php:405
90
  msgid "Custom"
91
  msgstr "Собственный"
92
 
93
- #: classes/SlideshowPluginPostType.php:406
94
  msgid "Custom style editor"
95
  msgstr "Редактор собственного стиля"
96
 
97
- #: classes/SlideshowPluginPostType.php:407
98
  msgid "Animation used for transition between slides"
99
  msgstr "Анимация, используемая для перехода между слайдами"
100
 
101
- #: classes/SlideshowPluginPostType.php:407
102
  msgid "Slide"
103
  msgstr "Слайд"
104
 
105
- #: classes/SlideshowPluginPostType.php:407
106
  msgid "Fade"
107
  msgstr "Затухание"
108
 
109
- #: classes/SlideshowPluginPostType.php:407
110
- #: classes/SlideshowPluginPostType.php:408
111
- #: classes/SlideshowPluginPostType.php:409
112
- #: classes/SlideshowPluginPostType.php:410
113
  msgid "Animation"
114
  msgstr "Анимационные"
115
 
116
- #: classes/SlideshowPluginPostType.php:408
117
  msgid "Number of seconds the slide takes to slide in"
118
  msgstr "Число секунд, которое занимает появление слайда"
119
 
120
- #: classes/SlideshowPluginPostType.php:409
121
  msgid "Number of seconds the description takes to slide in"
122
  msgstr "Число секунд, которое занимает появление текста"
123
 
124
- #: classes/SlideshowPluginPostType.php:410
125
  msgid "Seconds between changing slides"
126
  msgstr "Секунд между сменой слайдов"
127
 
128
- #: classes/SlideshowPluginPostType.php:411
129
  msgid "Number of slides to fit into one slide"
130
  msgstr "Число слайдов, размещённых в одном слайде"
131
 
132
- #: classes/SlideshowPluginPostType.php:411
133
- #: classes/SlideshowPluginPostType.php:412
134
- #: classes/SlideshowPluginPostType.php:413
135
- #: classes/SlideshowPluginPostType.php:414
136
- #: classes/SlideshowPluginPostType.php:415
137
- #: classes/SlideshowPluginPostType.php:416
138
- #: classes/SlideshowPluginPostType.php:417
139
  msgid "Display"
140
  msgstr "Визуальные"
141
 
142
- #: classes/SlideshowPluginPostType.php:412
143
  msgid "Width of the slideshow, set to parent&#39;s width on 0"
144
- msgstr "Ширина слайдшоу. Установите в 0 для определения ширины по родительскому элементу"
 
 
145
 
146
- #: classes/SlideshowPluginPostType.php:413
147
  msgid "Height of the slideshow"
148
  msgstr "Высота слайдшоу"
149
 
150
- #: classes/SlideshowPluginPostType.php:414
151
  msgid "Height of the description boxes"
152
  msgstr "Высота блока описания"
153
 
154
- #: classes/SlideshowPluginPostType.php:415
155
  msgid "Fit image into slide (stretching it)"
156
  msgstr "Уместить изображение в слайд (растянуть его)"
157
 
158
- #: classes/SlideshowPluginPostType.php:416
159
  msgid "Show title and description"
160
  msgstr "Показать заголовок и описание"
161
 
162
- #: classes/SlideshowPluginPostType.php:417
163
  msgid "Hide description box, it will pop up when a mouse hovers over the slide"
164
- msgstr "Скрыть блок описания. Он будет появляться при наведении указателя мыши поверх слайда"
 
 
165
 
166
- #: classes/SlideshowPluginPostType.php:418
167
  msgid "Automatically slide to the next slide"
168
  msgstr "Автоматический переход к следующему слайду"
169
 
170
- #: classes/SlideshowPluginPostType.php:418
171
- #: classes/SlideshowPluginPostType.php:419
172
- #: classes/SlideshowPluginPostType.php:420
173
- #: classes/SlideshowPluginPostType.php:421
174
  msgid "Control"
175
  msgstr "Управляющие"
176
 
177
- #: classes/SlideshowPluginPostType.php:419
178
  msgid "Return to the beginning of the slideshow after last slide"
179
  msgstr "Вернуться в начало слайдшоу после последнего слайда"
180
 
181
- #: classes/SlideshowPluginPostType.php:420
182
  msgid "Activate buttons (so the user can scroll through the slides)"
183
  msgstr "Активировать кнопки (пользователь сможет пролистывать слайды)"
184
 
185
- #: classes/SlideshowPluginPostType.php:421
186
  msgid "Show control panel (play and pause button)"
187
  msgstr "Отображать панель управления (кнопка воспроизведения и останова)"
188
 
189
- #: classes/SlideshowPluginPostType.php:422
190
  msgid "Randomize slides"
191
  msgstr "Слайды в случайном порядке"
192
 
193
- #: classes/SlideshowPluginPostType.php:422
194
- #: classes/SlideshowPluginPostType.php:424
195
  msgid "Miscellaneous"
196
  msgstr "Разные"
197
 
198
- #: classes/SlideshowPluginPostType.php:424
199
  #, php-format
200
  msgid "Avoid content filter (disable if '%s' is shown)"
201
  msgstr "Избегать фильтра содержимого (запрещено, если отображается '%s' )"
202
 
 
 
 
 
203
  #: classes/SlideshowPluginSlideInserter.php:138
 
204
  msgid "Insert"
205
  msgstr "Вставить"
206
 
@@ -212,6 +228,10 @@ msgstr "Загрузить больше результатов"
212
  msgid "No images were found, click here to upload some."
213
  msgstr "Не найдено изображений, щёлкните здесь для загрузки"
214
 
 
 
 
 
215
  #: classes/SlideshowPluginWidget.php:20
216
  msgid "Enables you to show your slideshows in the widget area of your website."
217
  msgstr "Позволяет отобразить ваше слайдшоу в области виджетов вашего сайта"
@@ -220,35 +240,34 @@ msgstr "Позволяет отобразить ваше слайдшоу в о
220
  msgid "Slideshow Widget"
221
  msgstr "Виджет слайдшоу"
222
 
223
- #: views/SlideshowPluginWidget/form.php:2
224
- #: views/SlideshowPluginPostType/slides.php:47
225
- #: views/SlideshowPluginPostType/slides.php:141
226
- msgid "Title"
227
- msgstr "Заголовок"
228
-
229
- #: views/SlideshowPluginWidget/form.php:9
230
- msgid "Random Slideshow"
231
- msgstr "Случайный порядок слайдшоу"
232
-
233
- #: views/SlideshowPluginUpload/upload-button.php:1
234
- msgid "Upload/Manage Images"
235
- msgstr "Загрузка/Управление изображениями"
236
-
237
  #: views/SlideshowPluginPostType/information.php:1
238
- msgid "To use this slideshow in your website either add this piece of shortcode to your posts or pages"
239
- msgstr "Для использования слайдшоу на вашем сайте добавьте этот шорткод в ваши записи или страницы"
 
 
 
 
240
 
241
  #: views/SlideshowPluginPostType/information.php:3
242
- msgid "Or add this piece of code to where ever in your website you want to place the slideshow"
243
- msgstr "Или добавьте этот фрагмент кода в том месте, где вы желаете разместить ваше слайдшоу"
 
 
 
 
244
 
245
  #: views/SlideshowPluginPostType/information.php:5
246
  #, php-format
247
  msgid "Or go to the %swidgets page%s and show the slideshow as a widget."
248
- msgstr "Или отправьтесь на %sстраницу виджетов%s и отобразите слайдшоу как виджет"
 
 
 
 
 
249
 
250
- #: views/SlideshowPluginPostType/style-settings.php:6
251
- #: views/SlideshowPluginPostType/settings.php:24
252
  msgid "Default"
253
  msgstr "Исходное"
254
 
@@ -256,6 +275,12 @@ msgstr "Исходное"
256
  msgid "Add slides to this slideshow by using one of the buttons above."
257
  msgstr "Добавить слайды к слайдшоу с помощью одной из кнопок ниже"
258
 
 
 
 
 
 
 
259
  #: views/SlideshowPluginPostType/slides.php:48
260
  #: views/SlideshowPluginPostType/slides.php:142
261
  msgid "Description"
@@ -298,8 +323,11 @@ msgid "Edit"
298
  msgstr "Редактировать"
299
 
300
  #: views/SlideshowPluginPostType/slides.php:126
301
- msgid "An error occurred while loading this slide, and it will not be present in the slideshow"
302
- msgstr "При загрузке этого слайда произошла ошибка, он не будет отображен в слайдшоу"
 
 
 
303
 
304
  #: views/SlideshowPluginPostType/slides.php:131
305
  #: views/SlideshowPluginPostType/slides.php:162
@@ -308,17 +336,21 @@ msgstr "При загрузке этого слайда произошла ош
308
  msgid "Delete slide"
309
  msgstr "Удалить слайд"
310
 
311
- #: views/SlideshowPluginPostType/settings.php:10
312
- msgid "settings"
313
- msgstr "настройки"
314
-
315
  #: views/SlideshowPluginPostType/support-plugin.php:3
316
  msgid "Help to keep this plugin free!"
317
  msgstr "Помогите сохранить плагин свободным!"
318
 
319
  #: views/SlideshowPluginPostType/support-plugin.php:6
320
- msgid "In order to keep you provided with the newest features, forum support, and bug-fixes, a lot of motivation is required. Therefore I'm kindly asking you to consider making a small donation to the plugin or rating it as 5-stars on Wordpress.org. Thank you in advance!"
321
- msgstr "Для предоставления вам новейших возможностей, поддержки на форуме, исправлении ошибок необходима значительная мотивация. Поэтому просим вас сделать небольшое пожертвование плагину или оценить его в пять баллов на сайте Wordpress.org. Заранее спасибо!"
 
 
 
 
 
 
 
 
322
 
323
  #: views/SlideshowPluginPostType/support-plugin.php:15
324
  msgid "Rate on Wordpress.org"
@@ -328,10 +360,48 @@ msgstr "Поставить оценку на Wordpress.org"
328
  msgid "Questions / Suggestions"
329
  msgstr "Вопросы / Предложения"
330
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
  #: views/SlideshowPluginSlideInserter/insert-text-button.php:1
332
  msgid "Text slide"
333
  msgstr "Текстовый слайд"
334
 
 
 
 
 
335
  #: views/SlideshowPluginSlideInserter/search-popup.php:6
336
  msgid "Search"
337
  msgstr "Поиск"
@@ -340,13 +410,13 @@ msgstr "Поиск"
340
  msgid "Search images by title or ID"
341
  msgstr "Поиск изображения по заголовку или ID"
342
 
343
- #: views/SlideshowPluginSlideInserter/insert-image-button.php:1
344
- msgid "Image slide"
345
- msgstr "Слайд с изображением"
346
 
347
- #: views/SlideshowPluginSlideInserter/insert-video-button.php:1
348
- msgid "Video slide"
349
- msgstr "Видео слайд"
350
 
351
  #~ msgid "Custom style editor (Does not work with a Strict Doctype)"
352
  #~ msgstr "Aangepaste stijl bewerker (Werkt niet met een Strict Doctype)"
@@ -366,9 +436,6 @@ msgstr "Видео слайд"
366
  #~ "waarderen als je de plugin wilt beoordelen op Wordpress, een suggestie "
367
  #~ "wilt maken voor verbetering, of een donatie doen wilt."
368
 
369
- #~ msgid "Insert Text Slide"
370
- #~ msgstr "Tekst-slide invoegen"
371
-
372
  #~ msgid "Click on an image to insert it as a slide"
373
  #~ msgstr "Klik op een plaatje om deze in te voegen als slide"
374
 
2
  msgstr ""
3
  "Project-Id-Version: Slideshow Plugin\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-11-10 13:13+0100\n"
6
+ "PO-Revision-Date: 2012-11-10 13:13+0100\n"
7
+ "Last-Translator: Stefan Boonstra <stefanboonstra@hotmail.com>\n"
8
  "Language-Team: Stefan Boonstra <wordpress@stefanboonstra.com>\n"
9
+ "Language: ru_UA\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.5.4\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
  #: classes/SlideshowPluginPostType.php:40
49
  msgid "No slideshows found"
50
  msgstr "Ни одного слайдшоу не найдено"
51
 
52
+ #: classes/SlideshowPluginPostType.php:102
53
  msgid "Information"
54
  msgstr "Информация"
55
 
56
+ #: classes/SlideshowPluginPostType.php:111
57
  msgid "Slides List"
58
  msgstr "Список слайдов"
59
 
60
+ #: classes/SlideshowPluginPostType.php:120
61
  msgid "Slideshow Style"
62
  msgstr "Стиль слайдшоу"
63
 
64
+ #: classes/SlideshowPluginPostType.php:129
65
  msgid "Slideshow Settings"
66
  msgstr "Настройки слайдшоу"
67
 
68
+ #: classes/SlideshowPluginPostType.php:389
69
+ msgid "light"
70
+ msgstr ""
71
+
72
+ #: classes/SlideshowPluginPostType.php:391
73
+ msgid "slide"
74
+ msgstr ""
75
+
76
+ #: classes/SlideshowPluginPostType.php:412
77
  msgid "Yes"
78
  msgstr "Да"
79
 
80
+ #: classes/SlideshowPluginPostType.php:413
81
  msgid "No"
82
  msgstr "Нет"
83
 
84
+ #: classes/SlideshowPluginPostType.php:415
85
  msgid "The style used for this slideshow"
86
  msgstr "Стиль, используемый в этом слайдшоу"
87
 
88
+ #: classes/SlideshowPluginPostType.php:415
89
  msgid "Light"
90
  msgstr "Светлый"
91
 
92
+ #: classes/SlideshowPluginPostType.php:415
93
  msgid "Dark"
94
  msgstr "Тёмный"
95
 
96
+ #: classes/SlideshowPluginPostType.php:415
97
  msgid "Custom"
98
  msgstr "Собственный"
99
 
100
+ #: classes/SlideshowPluginPostType.php:416
101
  msgid "Custom style editor"
102
  msgstr "Редактор собственного стиля"
103
 
104
+ #: classes/SlideshowPluginPostType.php:417
105
  msgid "Animation used for transition between slides"
106
  msgstr "Анимация, используемая для перехода между слайдами"
107
 
108
+ #: classes/SlideshowPluginPostType.php:417
109
  msgid "Slide"
110
  msgstr "Слайд"
111
 
112
+ #: classes/SlideshowPluginPostType.php:417
113
  msgid "Fade"
114
  msgstr "Затухание"
115
 
116
+ #: classes/SlideshowPluginPostType.php:417
117
+ #: classes/SlideshowPluginPostType.php:418
118
+ #: classes/SlideshowPluginPostType.php:419
119
+ #: classes/SlideshowPluginPostType.php:420
120
  msgid "Animation"
121
  msgstr "Анимационные"
122
 
123
+ #: classes/SlideshowPluginPostType.php:418
124
  msgid "Number of seconds the slide takes to slide in"
125
  msgstr "Число секунд, которое занимает появление слайда"
126
 
127
+ #: classes/SlideshowPluginPostType.php:419
128
  msgid "Number of seconds the description takes to slide in"
129
  msgstr "Число секунд, которое занимает появление текста"
130
 
131
+ #: classes/SlideshowPluginPostType.php:420
132
  msgid "Seconds between changing slides"
133
  msgstr "Секунд между сменой слайдов"
134
 
135
+ #: classes/SlideshowPluginPostType.php:421
136
  msgid "Number of slides to fit into one slide"
137
  msgstr "Число слайдов, размещённых в одном слайде"
138
 
139
+ #: classes/SlideshowPluginPostType.php:421
140
+ #: classes/SlideshowPluginPostType.php:422
141
+ #: classes/SlideshowPluginPostType.php:423
142
+ #: classes/SlideshowPluginPostType.php:424
143
+ #: classes/SlideshowPluginPostType.php:425
144
+ #: classes/SlideshowPluginPostType.php:426
145
+ #: classes/SlideshowPluginPostType.php:427
146
  msgid "Display"
147
  msgstr "Визуальные"
148
 
149
+ #: classes/SlideshowPluginPostType.php:422
150
  msgid "Width of the slideshow, set to parent&#39;s width on 0"
151
+ msgstr ""
152
+ "Ширина слайдшоу. Установите в 0 для определения ширины по родительскому "
153
+ "элементу"
154
 
155
+ #: classes/SlideshowPluginPostType.php:423
156
  msgid "Height of the slideshow"
157
  msgstr "Высота слайдшоу"
158
 
159
+ #: classes/SlideshowPluginPostType.php:424
160
  msgid "Height of the description boxes"
161
  msgstr "Высота блока описания"
162
 
163
+ #: classes/SlideshowPluginPostType.php:425
164
  msgid "Fit image into slide (stretching it)"
165
  msgstr "Уместить изображение в слайд (растянуть его)"
166
 
167
+ #: classes/SlideshowPluginPostType.php:426
168
  msgid "Show title and description"
169
  msgstr "Показать заголовок и описание"
170
 
171
+ #: classes/SlideshowPluginPostType.php:427
172
  msgid "Hide description box, it will pop up when a mouse hovers over the slide"
173
+ msgstr ""
174
+ "Скрыть блок описания. Он будет появляться при наведении указателя мыши "
175
+ "поверх слайда"
176
 
177
+ #: classes/SlideshowPluginPostType.php:428
178
  msgid "Automatically slide to the next slide"
179
  msgstr "Автоматический переход к следующему слайду"
180
 
181
+ #: classes/SlideshowPluginPostType.php:428
182
+ #: classes/SlideshowPluginPostType.php:429
183
+ #: classes/SlideshowPluginPostType.php:430
184
+ #: classes/SlideshowPluginPostType.php:431
185
  msgid "Control"
186
  msgstr "Управляющие"
187
 
188
+ #: classes/SlideshowPluginPostType.php:429
189
  msgid "Return to the beginning of the slideshow after last slide"
190
  msgstr "Вернуться в начало слайдшоу после последнего слайда"
191
 
192
+ #: classes/SlideshowPluginPostType.php:430
193
  msgid "Activate buttons (so the user can scroll through the slides)"
194
  msgstr "Активировать кнопки (пользователь сможет пролистывать слайды)"
195
 
196
+ #: classes/SlideshowPluginPostType.php:431
197
  msgid "Show control panel (play and pause button)"
198
  msgstr "Отображать панель управления (кнопка воспроизведения и останова)"
199
 
200
+ #: classes/SlideshowPluginPostType.php:432
201
  msgid "Randomize slides"
202
  msgstr "Слайды в случайном порядке"
203
 
204
+ #: classes/SlideshowPluginPostType.php:432
205
+ #: classes/SlideshowPluginPostType.php:434
206
  msgid "Miscellaneous"
207
  msgstr "Разные"
208
 
209
+ #: classes/SlideshowPluginPostType.php:434
210
  #, php-format
211
  msgid "Avoid content filter (disable if '%s' is shown)"
212
  msgstr "Избегать фильтра содержимого (запрещено, если отображается '%s' )"
213
 
214
+ #: classes/SlideshowPluginShortcode.php:129
215
+ msgid "No slideshow selected."
216
+ msgstr ""
217
+
218
  #: classes/SlideshowPluginSlideInserter.php:138
219
+ #: views/SlideshowPluginPostType/slides.php:2
220
  msgid "Insert"
221
  msgstr "Вставить"
222
 
228
  msgid "No images were found, click here to upload some."
229
  msgstr "Не найдено изображений, щёлкните здесь для загрузки"
230
 
231
+ #: classes/SlideshowPluginSlideInserter.php:216
232
+ msgid "Are you sure you want to delete this slide?"
233
+ msgstr ""
234
+
235
  #: classes/SlideshowPluginWidget.php:20
236
  msgid "Enables you to show your slideshows in the widget area of your website."
237
  msgstr "Позволяет отобразить ваше слайдшоу в области виджетов вашего сайта"
240
  msgid "Slideshow Widget"
241
  msgstr "Виджет слайдшоу"
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  #: views/SlideshowPluginPostType/information.php:1
244
+ msgid ""
245
+ "To use this slideshow in your website either add this piece of shortcode to "
246
+ "your posts or pages"
247
+ msgstr ""
248
+ "Для использования слайдшоу на вашем сайте добавьте этот шорткод в ваши "
249
+ "записи или страницы"
250
 
251
  #: views/SlideshowPluginPostType/information.php:3
252
+ msgid ""
253
+ "Or add this piece of code to where ever in your website you want to place "
254
+ "the slideshow"
255
+ msgstr ""
256
+ "Или добавьте этот фрагмент кода в том месте, где вы желаете разместить ваше "
257
+ "слайдшоу"
258
 
259
  #: views/SlideshowPluginPostType/information.php:5
260
  #, php-format
261
  msgid "Or go to the %swidgets page%s and show the slideshow as a widget."
262
+ msgstr ""
263
+ "Или отправьтесь на %sстраницу виджетов%s и отобразите слайдшоу как виджет"
264
+
265
+ #: views/SlideshowPluginPostType/settings.php:12
266
+ msgid "settings"
267
+ msgstr "настройки"
268
 
269
+ #: views/SlideshowPluginPostType/settings.php:26
270
+ #: views/SlideshowPluginPostType/style-settings.php:8
271
  msgid "Default"
272
  msgstr "Исходное"
273
 
275
  msgid "Add slides to this slideshow by using one of the buttons above."
276
  msgstr "Добавить слайды к слайдшоу с помощью одной из кнопок ниже"
277
 
278
+ #: views/SlideshowPluginPostType/slides.php:47
279
+ #: views/SlideshowPluginPostType/slides.php:141
280
+ #: views/SlideshowPluginWidget/form.php:2
281
+ msgid "Title"
282
+ msgstr "Заголовок"
283
+
284
  #: views/SlideshowPluginPostType/slides.php:48
285
  #: views/SlideshowPluginPostType/slides.php:142
286
  msgid "Description"
323
  msgstr "Редактировать"
324
 
325
  #: views/SlideshowPluginPostType/slides.php:126
326
+ msgid ""
327
+ "An error occurred while loading this slide, and it will not be present in "
328
+ "the slideshow"
329
+ msgstr ""
330
+ "При загрузке этого слайда произошла ошибка, он не будет отображен в слайдшоу"
331
 
332
  #: views/SlideshowPluginPostType/slides.php:131
333
  #: views/SlideshowPluginPostType/slides.php:162
336
  msgid "Delete slide"
337
  msgstr "Удалить слайд"
338
 
 
 
 
 
339
  #: views/SlideshowPluginPostType/support-plugin.php:3
340
  msgid "Help to keep this plugin free!"
341
  msgstr "Помогите сохранить плагин свободным!"
342
 
343
  #: views/SlideshowPluginPostType/support-plugin.php:6
344
+ msgid ""
345
+ "In order to keep you provided with the newest features, forum support, and "
346
+ "bug-fixes, a lot of motivation is required. Therefore I'm kindly asking you "
347
+ "to consider making a small donation to the plugin or rating it as 5-stars on "
348
+ "Wordpress.org. Thank you in advance!"
349
+ msgstr ""
350
+ "Для предоставления вам новейших возможностей, поддержки на форуме, "
351
+ "исправлении ошибок необходима значительная мотивация. Поэтому просим вас "
352
+ "сделать небольшое пожертвование плагину или оценить его в пять баллов на "
353
+ "сайте Wordpress.org. Заранее спасибо!"
354
 
355
  #: views/SlideshowPluginPostType/support-plugin.php:15
356
  msgid "Rate on Wordpress.org"
360
  msgid "Questions / Suggestions"
361
  msgstr "Вопросы / Предложения"
362
 
363
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:4
364
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:9
365
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:16
366
+ msgid "Insert a Slideshow"
367
+ msgstr ""
368
+
369
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:6
370
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:50
371
+ msgid "Insert Slideshow"
372
+ msgstr ""
373
+
374
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:26
375
+ msgid "Select a slideshow"
376
+ msgstr ""
377
+
378
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:35
379
+ msgid "Untitled slideshow"
380
+ msgstr ""
381
+
382
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:55
383
+ msgid "Cancel"
384
+ msgstr ""
385
+
386
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:66
387
+ #, php-format
388
+ msgid ""
389
+ "It seems you haven't created any slideshows yet. %sYou can create a "
390
+ "slideshow here!%s"
391
+ msgstr ""
392
+
393
+ #: views/SlideshowPluginSlideInserter/insert-image-button.php:1
394
+ msgid "Image slide"
395
+ msgstr "Слайд с изображением"
396
+
397
  #: views/SlideshowPluginSlideInserter/insert-text-button.php:1
398
  msgid "Text slide"
399
  msgstr "Текстовый слайд"
400
 
401
+ #: views/SlideshowPluginSlideInserter/insert-video-button.php:1
402
+ msgid "Video slide"
403
+ msgstr "Видео слайд"
404
+
405
  #: views/SlideshowPluginSlideInserter/search-popup.php:6
406
  msgid "Search"
407
  msgstr "Поиск"
410
  msgid "Search images by title or ID"
411
  msgstr "Поиск изображения по заголовку или ID"
412
 
413
+ #: views/SlideshowPluginUpload/upload-button.php:1
414
+ msgid "Upload/Manage Images"
415
+ msgstr "Загрузка/Управление изображениями"
416
 
417
+ #: views/SlideshowPluginWidget/form.php:9
418
+ msgid "Random Slideshow"
419
+ msgstr "Случайный порядок слайдшоу"
420
 
421
  #~ msgid "Custom style editor (Does not work with a Strict Doctype)"
422
  #~ msgstr "Aangepaste stijl bewerker (Werkt niet met een Strict Doctype)"
436
  #~ "waarderen als je de plugin wilt beoordelen op Wordpress, een suggestie "
437
  #~ "wilt maken voor verbetering, of een donatie doen wilt."
438
 
 
 
 
439
  #~ msgid "Click on an image to insert it as a slide"
440
  #~ msgstr "Klik op een plaatje om deze in te voegen als slide"
441
 
languages/slideshow-plugin-zh_CN.mo CHANGED
Binary file
languages/slideshow-plugin-zh_CN.po CHANGED
@@ -2,17 +2,17 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Slideshow Plugin\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-10-31 14:01+0100\n"
6
- "PO-Revision-Date: 2012-11-04 22:07+0100\n"
7
  "Last-Translator: Stefan Boonstra <stefanboonstra@hotmail.com>\n"
8
  "Language-Team: Kevin Tell\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-KeywordsList: _e;__\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
- "Language: zh_CN\n"
16
  "X-Generator: Poedit 1.5.4\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
@@ -21,6 +21,7 @@ msgid "Slideshows"
21
  msgstr "幻灯片"
22
 
23
  #: classes/SlideshowPluginPostType.php:41
 
24
  msgid "Slideshow"
25
  msgstr "幻灯片"
26
 
@@ -49,164 +50,168 @@ msgstr ""
49
  msgid "No slideshows found"
50
  msgstr ""
51
 
52
- #: classes/SlideshowPluginPostType.php:105
53
  msgid "Information"
54
  msgstr "信息"
55
 
56
- #: classes/SlideshowPluginPostType.php:114
57
  msgid "Slides List"
58
  msgstr ""
59
 
60
- #: classes/SlideshowPluginPostType.php:123
61
  msgid "Slideshow Style"
62
  msgstr "幻灯片展示样式"
63
 
64
- #: classes/SlideshowPluginPostType.php:132
65
  msgid "Slideshow Settings"
66
  msgstr "幻灯片设置"
67
 
68
- #: classes/SlideshowPluginPostType.php:379
69
  msgid "light"
70
  msgstr ""
71
 
72
- #: classes/SlideshowPluginPostType.php:381
73
  msgid "slide"
74
  msgstr ""
75
 
76
- #: classes/SlideshowPluginPostType.php:402
77
  msgid "Yes"
78
  msgstr ""
79
 
80
- #: classes/SlideshowPluginPostType.php:403
81
  msgid "No"
82
  msgstr ""
83
 
84
- #: classes/SlideshowPluginPostType.php:405
85
  msgid "The style used for this slideshow"
86
  msgstr ""
87
 
88
- #: classes/SlideshowPluginPostType.php:405
89
  msgid "Light"
90
  msgstr ""
91
 
92
- #: classes/SlideshowPluginPostType.php:405
93
  msgid "Dark"
94
  msgstr ""
95
 
96
- #: classes/SlideshowPluginPostType.php:405
97
  msgid "Custom"
98
  msgstr ""
99
 
100
- #: classes/SlideshowPluginPostType.php:406
101
  msgid "Custom style editor"
102
  msgstr ""
103
 
104
- #: classes/SlideshowPluginPostType.php:407
105
  msgid "Animation used for transition between slides"
106
  msgstr "幻灯片滑动的动画效果设置"
107
 
108
- #: classes/SlideshowPluginPostType.php:407
109
  msgid "Slide"
110
  msgstr ""
111
 
112
- #: classes/SlideshowPluginPostType.php:407
113
  msgid "Fade"
114
  msgstr ""
115
 
116
- #: classes/SlideshowPluginPostType.php:407
117
- #: classes/SlideshowPluginPostType.php:408
118
- #: classes/SlideshowPluginPostType.php:409
119
- #: classes/SlideshowPluginPostType.php:410
120
  msgid "Animation"
121
  msgstr "动态"
122
 
123
- #: classes/SlideshowPluginPostType.php:408
124
  msgid "Number of seconds the slide takes to slide in"
125
  msgstr "幻灯片滑动速度"
126
 
127
- #: classes/SlideshowPluginPostType.php:409
128
  msgid "Number of seconds the description takes to slide in"
129
  msgstr "“描述”滑动速度"
130
 
131
- #: classes/SlideshowPluginPostType.php:410
132
  msgid "Seconds between changing slides"
133
  msgstr "幻灯片间置换的时间间隔"
134
 
135
- #: classes/SlideshowPluginPostType.php:411
136
  msgid "Number of slides to fit into one slide"
137
  msgstr "同一幅幻灯片中显示多少图片"
138
 
139
- #: classes/SlideshowPluginPostType.php:411
140
- #: classes/SlideshowPluginPostType.php:412
141
- #: classes/SlideshowPluginPostType.php:413
142
- #: classes/SlideshowPluginPostType.php:414
143
- #: classes/SlideshowPluginPostType.php:415
144
- #: classes/SlideshowPluginPostType.php:416
145
- #: classes/SlideshowPluginPostType.php:417
146
  msgid "Display"
147
  msgstr "显示"
148
 
149
- #: classes/SlideshowPluginPostType.php:412
150
  msgid "Width of the slideshow, set to parent&#39;s width on 0"
151
  msgstr "幻灯片宽度,0为继承父元素宽度"
152
 
153
- #: classes/SlideshowPluginPostType.php:413
154
  msgid "Height of the slideshow"
155
  msgstr "幻灯片高度"
156
 
157
- #: classes/SlideshowPluginPostType.php:414
158
  msgid "Height of the description boxes"
159
  msgstr "幻灯片中描述窗口的高度"
160
 
161
- #: classes/SlideshowPluginPostType.php:415
162
  msgid "Fit image into slide (stretching it)"
163
  msgstr "图片适应显示 (即拉伸图片"
164
 
165
- #: classes/SlideshowPluginPostType.php:416
166
  msgid "Show title and description"
167
  msgstr "显示标题和描述"
168
 
169
- #: classes/SlideshowPluginPostType.php:417
170
  msgid "Hide description box, it will pop up when a mouse hovers over the slide"
171
  msgstr "隐藏描述窗口,只有鼠标移至幻灯片才弹出"
172
 
173
- #: classes/SlideshowPluginPostType.php:418
174
  msgid "Automatically slide to the next slide"
175
  msgstr "幻灯片自动滚动显示"
176
 
177
- #: classes/SlideshowPluginPostType.php:418
178
- #: classes/SlideshowPluginPostType.php:419
179
- #: classes/SlideshowPluginPostType.php:420
180
- #: classes/SlideshowPluginPostType.php:421
181
  msgid "Control"
182
  msgstr "控制"
183
 
184
- #: classes/SlideshowPluginPostType.php:419
185
  msgid "Return to the beginning of the slideshow after last slide"
186
  msgstr "循环展示幻灯片"
187
 
188
- #: classes/SlideshowPluginPostType.php:420
189
  msgid "Activate buttons (so the user can scroll through the slides)"
190
  msgstr "激活按钮 (用户可通过按钮左右滚动显示幻灯片)"
191
 
192
- #: classes/SlideshowPluginPostType.php:421
193
  msgid "Show control panel (play and pause button)"
194
  msgstr "显示控制面板 (播放和停止按钮)"
195
 
196
- #: classes/SlideshowPluginPostType.php:422
197
  msgid "Randomize slides"
198
  msgstr "随机幻灯片"
199
 
200
- #: classes/SlideshowPluginPostType.php:422
201
- #: classes/SlideshowPluginPostType.php:424
202
  msgid "Miscellaneous"
203
  msgstr "其他"
204
 
205
- #: classes/SlideshowPluginPostType.php:424
206
  #, php-format
207
  msgid "Avoid content filter (disable if '%s' is shown)"
208
  msgstr ""
209
 
 
 
 
 
210
  #: classes/SlideshowPluginSlideInserter.php:138
211
  #: views/SlideshowPluginPostType/slides.php:2
212
  msgid "Insert"
@@ -264,6 +269,7 @@ msgstr ""
264
 
265
  #: views/SlideshowPluginPostType/slides.php:47
266
  #: views/SlideshowPluginPostType/slides.php:141
 
267
  msgid "Title"
268
  msgstr ""
269
 
@@ -344,6 +350,36 @@ msgstr "为本插件打分"
344
  msgid "Questions / Suggestions"
345
  msgstr "问题/建议"
346
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
347
  #: views/SlideshowPluginSlideInserter/insert-image-button.php:1
348
  msgid "Image slide"
349
  msgstr "图示幻灯片"
2
  msgstr ""
3
  "Project-Id-Version: Slideshow Plugin\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-11-10 13:14+0100\n"
6
+ "PO-Revision-Date: 2012-11-10 13:14+0100\n"
7
  "Last-Translator: Stefan Boonstra <stefanboonstra@hotmail.com>\n"
8
  "Language-Team: Kevin Tell\n"
9
+ "Language: zh_CN\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
 
16
  "X-Generator: Poedit 1.5.4\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
21
  msgstr "幻灯片"
22
 
23
  #: classes/SlideshowPluginPostType.php:41
24
+ #: views/SlideshowPluginWidget/form.php:7
25
  msgid "Slideshow"
26
  msgstr "幻灯片"
27
 
50
  msgid "No slideshows found"
51
  msgstr ""
52
 
53
+ #: classes/SlideshowPluginPostType.php:102
54
  msgid "Information"
55
  msgstr "信息"
56
 
57
+ #: classes/SlideshowPluginPostType.php:111
58
  msgid "Slides List"
59
  msgstr ""
60
 
61
+ #: classes/SlideshowPluginPostType.php:120
62
  msgid "Slideshow Style"
63
  msgstr "幻灯片展示样式"
64
 
65
+ #: classes/SlideshowPluginPostType.php:129
66
  msgid "Slideshow Settings"
67
  msgstr "幻灯片设置"
68
 
69
+ #: classes/SlideshowPluginPostType.php:389
70
  msgid "light"
71
  msgstr ""
72
 
73
+ #: classes/SlideshowPluginPostType.php:391
74
  msgid "slide"
75
  msgstr ""
76
 
77
+ #: classes/SlideshowPluginPostType.php:412
78
  msgid "Yes"
79
  msgstr ""
80
 
81
+ #: classes/SlideshowPluginPostType.php:413
82
  msgid "No"
83
  msgstr ""
84
 
85
+ #: classes/SlideshowPluginPostType.php:415
86
  msgid "The style used for this slideshow"
87
  msgstr ""
88
 
89
+ #: classes/SlideshowPluginPostType.php:415
90
  msgid "Light"
91
  msgstr ""
92
 
93
+ #: classes/SlideshowPluginPostType.php:415
94
  msgid "Dark"
95
  msgstr ""
96
 
97
+ #: classes/SlideshowPluginPostType.php:415
98
  msgid "Custom"
99
  msgstr ""
100
 
101
+ #: classes/SlideshowPluginPostType.php:416
102
  msgid "Custom style editor"
103
  msgstr ""
104
 
105
+ #: classes/SlideshowPluginPostType.php:417
106
  msgid "Animation used for transition between slides"
107
  msgstr "幻灯片滑动的动画效果设置"
108
 
109
+ #: classes/SlideshowPluginPostType.php:417
110
  msgid "Slide"
111
  msgstr ""
112
 
113
+ #: classes/SlideshowPluginPostType.php:417
114
  msgid "Fade"
115
  msgstr ""
116
 
117
+ #: classes/SlideshowPluginPostType.php:417
118
+ #: classes/SlideshowPluginPostType.php:418
119
+ #: classes/SlideshowPluginPostType.php:419
120
+ #: classes/SlideshowPluginPostType.php:420
121
  msgid "Animation"
122
  msgstr "动态"
123
 
124
+ #: classes/SlideshowPluginPostType.php:418
125
  msgid "Number of seconds the slide takes to slide in"
126
  msgstr "幻灯片滑动速度"
127
 
128
+ #: classes/SlideshowPluginPostType.php:419
129
  msgid "Number of seconds the description takes to slide in"
130
  msgstr "“描述”滑动速度"
131
 
132
+ #: classes/SlideshowPluginPostType.php:420
133
  msgid "Seconds between changing slides"
134
  msgstr "幻灯片间置换的时间间隔"
135
 
136
+ #: classes/SlideshowPluginPostType.php:421
137
  msgid "Number of slides to fit into one slide"
138
  msgstr "同一幅幻灯片中显示多少图片"
139
 
140
+ #: classes/SlideshowPluginPostType.php:421
141
+ #: classes/SlideshowPluginPostType.php:422
142
+ #: classes/SlideshowPluginPostType.php:423
143
+ #: classes/SlideshowPluginPostType.php:424
144
+ #: classes/SlideshowPluginPostType.php:425
145
+ #: classes/SlideshowPluginPostType.php:426
146
+ #: classes/SlideshowPluginPostType.php:427
147
  msgid "Display"
148
  msgstr "显示"
149
 
150
+ #: classes/SlideshowPluginPostType.php:422
151
  msgid "Width of the slideshow, set to parent&#39;s width on 0"
152
  msgstr "幻灯片宽度,0为继承父元素宽度"
153
 
154
+ #: classes/SlideshowPluginPostType.php:423
155
  msgid "Height of the slideshow"
156
  msgstr "幻灯片高度"
157
 
158
+ #: classes/SlideshowPluginPostType.php:424
159
  msgid "Height of the description boxes"
160
  msgstr "幻灯片中描述窗口的高度"
161
 
162
+ #: classes/SlideshowPluginPostType.php:425
163
  msgid "Fit image into slide (stretching it)"
164
  msgstr "图片适应显示 (即拉伸图片"
165
 
166
+ #: classes/SlideshowPluginPostType.php:426
167
  msgid "Show title and description"
168
  msgstr "显示标题和描述"
169
 
170
+ #: classes/SlideshowPluginPostType.php:427
171
  msgid "Hide description box, it will pop up when a mouse hovers over the slide"
172
  msgstr "隐藏描述窗口,只有鼠标移至幻灯片才弹出"
173
 
174
+ #: classes/SlideshowPluginPostType.php:428
175
  msgid "Automatically slide to the next slide"
176
  msgstr "幻灯片自动滚动显示"
177
 
178
+ #: classes/SlideshowPluginPostType.php:428
179
+ #: classes/SlideshowPluginPostType.php:429
180
+ #: classes/SlideshowPluginPostType.php:430
181
+ #: classes/SlideshowPluginPostType.php:431
182
  msgid "Control"
183
  msgstr "控制"
184
 
185
+ #: classes/SlideshowPluginPostType.php:429
186
  msgid "Return to the beginning of the slideshow after last slide"
187
  msgstr "循环展示幻灯片"
188
 
189
+ #: classes/SlideshowPluginPostType.php:430
190
  msgid "Activate buttons (so the user can scroll through the slides)"
191
  msgstr "激活按钮 (用户可通过按钮左右滚动显示幻灯片)"
192
 
193
+ #: classes/SlideshowPluginPostType.php:431
194
  msgid "Show control panel (play and pause button)"
195
  msgstr "显示控制面板 (播放和停止按钮)"
196
 
197
+ #: classes/SlideshowPluginPostType.php:432
198
  msgid "Randomize slides"
199
  msgstr "随机幻灯片"
200
 
201
+ #: classes/SlideshowPluginPostType.php:432
202
+ #: classes/SlideshowPluginPostType.php:434
203
  msgid "Miscellaneous"
204
  msgstr "其他"
205
 
206
+ #: classes/SlideshowPluginPostType.php:434
207
  #, php-format
208
  msgid "Avoid content filter (disable if '%s' is shown)"
209
  msgstr ""
210
 
211
+ #: classes/SlideshowPluginShortcode.php:129
212
+ msgid "No slideshow selected."
213
+ msgstr ""
214
+
215
  #: classes/SlideshowPluginSlideInserter.php:138
216
  #: views/SlideshowPluginPostType/slides.php:2
217
  msgid "Insert"
269
 
270
  #: views/SlideshowPluginPostType/slides.php:47
271
  #: views/SlideshowPluginPostType/slides.php:141
272
+ #: views/SlideshowPluginWidget/form.php:2
273
  msgid "Title"
274
  msgstr ""
275
 
350
  msgid "Questions / Suggestions"
351
  msgstr "问题/建议"
352
 
353
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:4
354
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:9
355
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:16
356
+ msgid "Insert a Slideshow"
357
+ msgstr ""
358
+
359
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:6
360
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:50
361
+ msgid "Insert Slideshow"
362
+ msgstr ""
363
+
364
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:26
365
+ msgid "Select a slideshow"
366
+ msgstr ""
367
+
368
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:35
369
+ msgid "Untitled slideshow"
370
+ msgstr ""
371
+
372
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:55
373
+ msgid "Cancel"
374
+ msgstr ""
375
+
376
+ #: views/SlideshowPluginShortcode/shortcode-inserter.php:66
377
+ #, php-format
378
+ msgid ""
379
+ "It seems you haven't created any slideshows yet. %sYou can create a "
380
+ "slideshow here!%s"
381
+ msgstr ""
382
+
383
  #: views/SlideshowPluginSlideInserter/insert-image-button.php:1
384
  msgid "Image slide"
385
  msgstr "图示幻灯片"
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://stefanboonstra.com/donate-to-slideshow/
5
  Tags: slideshow, slider, slide, slides, show, images, image, photo, gallery, galleries, jquery, javascript, video, text
6
  Requires at least: 3.3
7
  Tested up to: 3.4.2
8
- Stable tag: 2.1.15
9
  License: GPLv2
10
 
11
  Integrate a fancy slideshow in just five steps. - Rainbows. Rainbows everywhere.
@@ -112,6 +112,13 @@ slideshow may not be styled.
112
  * Multiple slideshows can now be shown with each its separate styling.
113
  * Users can now search insertable images by post id.
114
 
 
 
 
 
 
 
 
115
  = 2.1.15 =
116
  * Fixed: Security issues.
117
  * Added Chinese translation.
5
  Tags: slideshow, slider, slide, slides, show, images, image, photo, gallery, galleries, jquery, javascript, video, text
6
  Requires at least: 3.3
7
  Tested up to: 3.4.2
8
+ Stable tag: 2.1.16
9
  License: GPLv2
10
 
11
  Integrate a fancy slideshow in just five steps. - Rainbows. Rainbows everywhere.
112
  * Multiple slideshows can now be shown with each its separate styling.
113
  * Users can now search insertable images by post id.
114
 
115
+ = 2.1.16 =
116
+ * Security update enabling HTML in slides again, but only allowing it in a very strict format without any scripts.
117
+ * Added shortcode editor, which provides a more convenient way of inserting slideshows in your posts and pages.
118
+ * Updated the way slideshows are retrieved. A faulty ID will no longer cause the slideshow to not show at all.
119
+ * Slideshows can now also be fetched by their slugs.
120
+ * The example shortcode's ID on the slideshow settings page is now surrounded by quotes to prevent confusion.
121
+
122
  = 2.1.15 =
123
  * Fixed: Security issues.
124
  * Added Chinese translation.
slideshow.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Slideshow
4
  Plugin URI: http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/
5
  Description: This plugin offers a slideshow that is easily deployable in your website. Add any image that has already been uploaded to add to your slideshow. Options and styles are customizable for every single slideshow on your website.
6
- Version: 2.1.15
7
  Requires at least: 3.3
8
  Author: StefanBoonstra
9
  Author URI: http://stefanboonstra.com
@@ -21,7 +21,7 @@
21
  class SlideshowPluginMain {
22
 
23
  /** Variables */
24
- static $version = '2.1.15';
25
 
26
  /**
27
  * Bootstraps the application by assigning the right functions to
@@ -39,8 +39,8 @@ class SlideshowPluginMain {
39
  // Deploy slideshow on do_action('slideshow_deploy'); hook.
40
  add_action('slideshow_deploy', array('SlideshowPlugin', 'deploy'));
41
 
42
- // Add shortcode
43
- add_shortcode(SlideshowPluginShortcode::$shortCode, array('SlideshowPluginShortcode', 'slideshowDeploy'));
44
 
45
  // Register widget
46
  add_action('widgets_init', array('SlideshowPluginWidget', 'registerWidget'));
3
  Plugin Name: Slideshow
4
  Plugin URI: http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/
5
  Description: This plugin offers a slideshow that is easily deployable in your website. Add any image that has already been uploaded to add to your slideshow. Options and styles are customizable for every single slideshow on your website.
6
+ Version: 2.1.16
7
  Requires at least: 3.3
8
  Author: StefanBoonstra
9
  Author URI: http://stefanboonstra.com
21
  class SlideshowPluginMain {
22
 
23
  /** Variables */
24
+ static $version = '2.1.16';
25
 
26
  /**
27
  * Bootstraps the application by assigning the right functions to
39
  // Deploy slideshow on do_action('slideshow_deploy'); hook.
40
  add_action('slideshow_deploy', array('SlideshowPlugin', 'deploy'));
41
 
42
+ // Initialize shortcode
43
+ SlideshowPluginShortcode::init();
44
 
45
  // Register widget
46
  add_action('widgets_init', array('SlideshowPluginWidget', 'registerWidget'));
views/SlideshowPlugin/slideshow.php CHANGED
@@ -1,4 +1,4 @@
1
- <div class="slideshow_container slideshow_container_<?php echo htmlspecialchars($randomId); ?>" style="width: <?php echo (is_numeric($settings['width']))? $settings['width'] : 0; ?>px; height: <?php echo (is_numeric($settings['height']))? $settings['height'] : 0; ?>px;">
2
  <div class="slideshow_overflow" style="width: <?php echo (is_numeric($settings['width']))? $settings['width'] : 0; ?>px; height: <?php echo (is_numeric($settings['height']))? $settings['height'] : 0; ?>px;">
3
  <div class="slideshow">
4
  <?php if(count($slides) > 0): ?>
@@ -18,9 +18,9 @@
18
  <?php
19
  $title = $description = $color = '';
20
  if(isset($slide['title']))
21
- $title = htmlspecialchars($slide['title']);
22
  if(isset($slide['description']))
23
- $description = htmlspecialchars($slide['description']);
24
  if(isset($slide['color']))
25
  $color = htmlspecialchars($slide['color']);
26
  ?>
@@ -75,14 +75,14 @@
75
  <div class="slide slide_<?php echo $i; ?>" style="height: <?php echo (is_numeric($settings['height']))? $settings['height'] : 0; ?>px;">
76
  <div class="description transparent">
77
  <a <?php if(!empty($url)) echo 'href="' . $url . '"'; ?> <?php if(!empty($target)) echo 'target="' . $target . '"'; ?>>
78
- <h2><?php echo $attachment->post_title; ?></h2>
79
- <p><?php echo $attachment->post_content; ?></p>
80
  </a>
81
  </div>
82
  <a <?php if(!empty($url)) echo 'href="' . $url . '"'; ?> <?php if(!empty($target)) echo 'target="' . $target . '"'; ?>>
83
  <img
84
- src="<?php echo $imageSrc; ?>"
85
- alt="<?php echo $attachment->post_title; ?>"
86
  />
87
  </a>
88
  </div>
1
+ <div class="slideshow_container slideshow_container_<?php echo (is_numeric($randomId)) ? $randomId : 0; ?>" style="width: <?php echo (is_numeric($settings['width']))? $settings['width'] : 0; ?>px; height: <?php echo (is_numeric($settings['height']))? $settings['height'] : 0; ?>px;">
2
  <div class="slideshow_overflow" style="width: <?php echo (is_numeric($settings['width']))? $settings['width'] : 0; ?>px; height: <?php echo (is_numeric($settings['height']))? $settings['height'] : 0; ?>px;">
3
  <div class="slideshow">
4
  <?php if(count($slides) > 0): ?>
18
  <?php
19
  $title = $description = $color = '';
20
  if(isset($slide['title']))
21
+ $title = SlideshowPluginSecurity::htmlspecialchars_allow_exceptions($slide['title']);
22
  if(isset($slide['description']))
23
+ $description = SlideshowPluginSecurity::htmlspecialchars_allow_exceptions($slide['description']);
24
  if(isset($slide['color']))
25
  $color = htmlspecialchars($slide['color']);
26
  ?>
75
  <div class="slide slide_<?php echo $i; ?>" style="height: <?php echo (is_numeric($settings['height']))? $settings['height'] : 0; ?>px;">
76
  <div class="description transparent">
77
  <a <?php if(!empty($url)) echo 'href="' . $url . '"'; ?> <?php if(!empty($target)) echo 'target="' . $target . '"'; ?>>
78
+ <h2><?php echo SlideshowPluginSecurity::htmlspecialchars_allow_exceptions($attachment->post_title); ?></h2>
79
+ <p><?php echo SlideshowPluginSecurity::htmlspecialchars_allow_exceptions($attachment->post_content); ?></p>
80
  </a>
81
  </div>
82
  <a <?php if(!empty($url)) echo 'href="' . $url . '"'; ?> <?php if(!empty($target)) echo 'target="' . $target . '"'; ?>>
83
  <img
84
+ src="<?php echo htmlspecialchars($imageSrc); ?>"
85
+ alt="<?php echo htmlspecialchars($attachment->post_title); ?>"
86
  />
87
  </a>
88
  </div>
views/SlideshowPluginPostType/slides.php CHANGED
@@ -43,8 +43,6 @@
43
  $color = $slide['color'];
44
  ?>
45
 
46
- <p style="padding: 0 5px; color: #f00;"><?php _e('Due to security issues, using HTML in text slides is temporarily disabled. My apologies.') ?></p>
47
-
48
  <p style="padding: 0 5px;">
49
  <input type="text" name="slide_<?php echo $id; ?>_title" value="<?php echo $title; ?>" /><i><?php _e('Title', 'slideshow-plugin'); ?></i><br />
50
  <input type="text" name="slide_<?php echo $id; ?>_description" value="<?php echo $description; ?>" /><i><?php _e('Description', 'slideshow-plugin'); ?></i><br />
@@ -139,8 +137,6 @@
139
 
140
  <div class="text-slide-template" style="display: none;">
141
  <li class="widefat sortable-slides-list-item">
142
- <p style="padding: 0 5px; color: #f00;"><?php _e('Due to security issues, using HTML in text slides is temporarily disabled. My apologies.') ?></p>
143
-
144
  <p style="padding: 0 5px;">
145
  <input type="text" class="title" /><i><?php _e('Title', 'slideshow-plugin'); ?></i><br />
146
  <input type="text" class="description" /><i><?php _e('Description', 'slideshow-plugin'); ?></i><br />
43
  $color = $slide['color'];
44
  ?>
45
 
 
 
46
  <p style="padding: 0 5px;">
47
  <input type="text" name="slide_<?php echo $id; ?>_title" value="<?php echo $title; ?>" /><i><?php _e('Title', 'slideshow-plugin'); ?></i><br />
48
  <input type="text" name="slide_<?php echo $id; ?>_description" value="<?php echo $description; ?>" /><i><?php _e('Description', 'slideshow-plugin'); ?></i><br />
137
 
138
  <div class="text-slide-template" style="display: none;">
139
  <li class="widefat sortable-slides-list-item">
 
 
140
  <p style="padding: 0 5px;">
141
  <input type="text" class="title" /><i><?php _e('Title', 'slideshow-plugin'); ?></i><br />
142
  <input type="text" class="description" /><i><?php _e('Description', 'slideshow-plugin'); ?></i><br />
views/SlideshowPluginShortcode/shortcode-inserter.php ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <a
2
+ href="#TB_inline?width=450&inlineId=insertSlideshowShortcode"
3
+ class="thickbox"
4
+ title="<?php _e('Insert a Slideshow', 'slideshow-plugin'); ?>"
5
+ >
6
+ <?php _e('Insert Slideshow', 'slideshow-plugin'); ?>
7
+ <img
8
+ src="<?php echo SlideshowPluginMain::getPluginUrl() . '/images/adminIcon.png'; ?>"
9
+ alt="<?php _e('Insert a Slideshow', 'slideshow-plugin'); ?>"
10
+ />
11
+ </a>
12
+
13
+ <div id="insertSlideshowShortcode" style="display: none;">
14
+
15
+ <h3 style="padding: 10px 0; color: #5a5a5a;">
16
+ <?php _e('Insert a Slideshow', 'slideshow-plugin'); ?>
17
+ </h3>
18
+
19
+ <div style="border: 1px solid #ddd; padding: 10px; color: #5a5a5a;">
20
+
21
+ <?php if($slideshows instanceof WP_Query && count($slideshows->get_posts()) > 0): ?>
22
+
23
+ <table>
24
+ <tr>
25
+
26
+ <td><?php _e('Select a slideshow', 'slideshow-plugin'); ?></td>
27
+ <td>
28
+ <select id="insertSlideshowShortcodeSlideshowSelect">
29
+
30
+ <?php foreach($slideshows->get_posts() as $slideshow): ?>
31
+
32
+ <?php if(!is_numeric($slideshow->ID)) continue; ?>
33
+
34
+ <option value="<?php echo $slideshow->ID; ?>">
35
+ <?php echo (!empty($slideshow->post_title)) ? htmlspecialchars($slideshow->post_title) : __('Untitled slideshow', 'slideshow-plugin'); ?>
36
+ </option>
37
+
38
+ <?php endforeach; ?>
39
+
40
+ </select>
41
+ </td>
42
+
43
+ </tr>
44
+ <tr>
45
+
46
+ <td>
47
+ <input
48
+ type="button"
49
+ class="button-primary insertSlideshowShortcodeSlideshowInsertButton"
50
+ value="<?php _e('Insert Slideshow', 'slideshow-plugin'); ?>"
51
+ />
52
+ <input
53
+ type="button"
54
+ class="button insertSlideshowShortcodeCancelButton"
55
+ value="<?php _e('Cancel', 'slideshow-plugin'); ?>"
56
+ />
57
+ </td>
58
+
59
+ </tr>
60
+ </table>
61
+
62
+ <?php else: ?>
63
+
64
+ <p>
65
+ <?php echo sprintf(
66
+ __('It seems you haven\'t created any slideshows yet. %sYou can create a slideshow here!%s', 'slideshow-plugin'),
67
+ '<a href="' . admin_url('post-new.php?post_type=' . SlideshowPluginPostType::$postType) . '" target="_blank">',
68
+ '</a>'
69
+ ); ?>
70
+ </p>
71
+
72
+ <?php endif; ?>
73
+
74
+ </div>
75
+ </div>