Advanced iFrame - Version 3.0

Version Description

A page or part of a page can now be embedded directly to the page with jQuery if the page is on the same domain. See the new section 'Include content directly'. Tested with Wordpress 3.5.1

Download this release

Release Info

Developer mdempfle
Plugin Icon 128x128 Advanced iFrame
Version 3.0
Comparing to
See all releases

Code changes from version 2.1 to 3.0

advanced-iframe-admin-page.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Advanced iframe
4
  http://www.tinywebgallery.com/blog/advanced-iframe
5
- Michael Dempfle
6
  Administration include
7
  */
8
  ?>
@@ -18,6 +18,40 @@ Administration include
18
  }
19
  </script>
20
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  if (is_user_logged_in() && is_admin()) {
22
  $devOptions = $this->getAdminOptions();
23
  // print_r($devOptions);
@@ -29,8 +63,9 @@ if (is_user_logged_in() && is_admin()) {
29
  'onload', 'onload_resize', 'onload_scroll_top',
30
  'additional_js', 'additional_css', 'store_height_in_cookie', 'additional_height',
31
  'iframe_content_id', 'iframe_content_styles', 'iframe_hide_elements', 'version_counter',
32
- 'onload_show_element_only'
33
- );
 
34
  if (!wp_verify_nonce($_POST['twg-options'], 'twg-options')) die('Sorry, your nonce did not verify.');
35
  foreach ($adminSettings as $item) {
36
  if ($item == 'version_counter') {
@@ -61,6 +96,11 @@ if (is_user_logged_in() && is_admin()) {
61
  <div class="wrap">
62
  <form method="post" action="options-general.php?page=advanced-iframe.php">
63
  <?php wp_nonce_field('twg-options', 'twg-options'); ?>
 
 
 
 
 
64
  <div id="icon-options-general" class="icon_ai">
65
  <br>
66
  </div> <h2>
@@ -197,7 +237,28 @@ echo '</p><table class="form-table">';
197
  <p>
198
  <input id="onload" class="button-primary" type="submit" name="update_iframe-loader" value="<?php _e('Update Settings', 'advanced-iframe') ?>"/>
199
  </p> <br />
200
- </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  <div id="icon-options-general" class="icon_ai">
202
  <br>
203
  </div> <h2>
@@ -210,18 +271,13 @@ echo '</p><table class="form-table">';
210
  </p>
211
  <p>
212
  <?php _e('Please go <a href="http://www.tinywebgallery.com" target="_blank">www.tinywebgallery.com</a> for details.', 'advanced-iframe'); ?>
213
- </p>
214
- <br>
215
- <div id="icon-options-general" class="icon_ai">
216
- <br>
217
- </div> <h2>Donate</h2>
218
- <p>You like this plugin? Support the development with a small donation.
219
- </p>
220
- <p>
221
- <A HREF="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypal%40mdempfle%2ede&item_name=advanced%20iframe&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=EN&bn=PP%2dDonationsBF&charset=UTF%2d8">
222
- <img src="../wp-content/plugins/wordpress-flash-uploader/img/btn_donate_LG.gif"></A>
223
- </p>
224
- </p>
225
  </div>
226
  <?php
227
  }
2
  /*
3
  Advanced iframe
4
  http://www.tinywebgallery.com/blog/advanced-iframe
5
+ Michael Dempfle
6
  Administration include
7
  */
8
  ?>
18
  }
19
  </script>
20
  <?php
21
+
22
+ function printDonation($devOptions) {
23
+ echo '
24
+ <div id="icon-options-general" class="icon_ai">
25
+ <br>
26
+ </div><h2>';
27
+ _e('Pay what you want', 'advanced-iframe');
28
+ echo '</h2>
29
+ <p>';
30
+ _e('You like this plugin? You got great support? Support the development with a small amount or buy something you would buy anyway over Trialpay and I will get a provision from them.', 'advanced-iframe');
31
+ echo '</p>
32
+ <p>
33
+ <div style="float:left;width:150px;"><div>';
34
+ _e('Paypal:', 'advanced-iframe');
35
+ echo '</div><A target="_blank" HREF="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal%40mdempfle%2ede&item_name=advanced%20iframe&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=EN&bn=PP%2dDonationsBF&charset=UTF%2d8"><img src="../wp-content/plugins/advanced-iframe/img/btn_donate_LG.gif"></A></div> <div style="float:left;width:70%;"><div>';
36
+ _e('Trialpay:', 'advanced-iframe');
37
+ echo '</div> <a target="_blank" href="http://www.trialpay.com/stores/tinywebgallery/advanced-iframe?tid=9amMLw9"><img src="../wp-content/plugins/advanced-iframe/img/btn_donate_LG.gif"></a><br />';
38
+ _e('How does a "free" donation work? Simply complete one offer from brands like Gap, FTP and Blockbuster and Trialpay will pay me a promotion. There are also free offers like installing an app on your smart phone. Please read the offers properly because there are also offers where you should NOT forget to cancel the offer in time. I don\'t want that you get something you don\'t want!', 'advanced-iframe');
39
+ echo '
40
+ </div>
41
+ <div style="clear:both;" />
42
+ <table class="form-table">';
43
+ printTrueFalse($devOptions, __('Show this section at the bottom', 'advanced-iframe'), 'donation_bottom', __('Please move this section to the bottom if it bothers you or if you have already supported the development. Feel also free to contact me if you are missing a feature. Sorry for moving this section to the top but at the bottom it seems to be ignored completely.', 'advanced-iframe'));
44
+ echo '
45
+ </table>
46
+ <p>
47
+ <input class="button-primary" type="submit" name="update_iframe-loader" value="';
48
+ _e('Update Settings', 'advanced-iframe');
49
+ echo '"/>
50
+ </p>
51
+ </p>
52
+ ';
53
+ }
54
+
55
  if (is_user_logged_in() && is_admin()) {
56
  $devOptions = $this->getAdminOptions();
57
  // print_r($devOptions);
63
  'onload', 'onload_resize', 'onload_scroll_top',
64
  'additional_js', 'additional_css', 'store_height_in_cookie', 'additional_height',
65
  'iframe_content_id', 'iframe_content_styles', 'iframe_hide_elements', 'version_counter',
66
+ 'onload_show_element_only', 'donation_bottom',
67
+ 'include_url','include_content','include_height','include_fade','include_hide_page_until_loaded'
68
+ );
69
  if (!wp_verify_nonce($_POST['twg-options'], 'twg-options')) die('Sorry, your nonce did not verify.');
70
  foreach ($adminSettings as $item) {
71
  if ($item == 'version_counter') {
96
  <div class="wrap">
97
  <form method="post" action="options-general.php?page=advanced-iframe.php">
98
  <?php wp_nonce_field('twg-options', 'twg-options'); ?>
99
+ <?php
100
+ if ($devOptions['donation_bottom'] === 'false') {
101
+ printDonation($devOptions);
102
+ }
103
+ ?>
104
  <div id="icon-options-general" class="icon_ai">
105
  <br>
106
  </div> <h2>
237
  <p>
238
  <input id="onload" class="button-primary" type="submit" name="update_iframe-loader" value="<?php _e('Update Settings', 'advanced-iframe') ?>"/>
239
  </p> <br />
240
+
241
+ <div id="icon-options-general" class="icon_ai">
242
+ <br>
243
+ </div> <h2>
244
+ <?php _e('Include content directly', 'advanced-iframe'); ?></h2>
245
+ <p>
246
+ <?php _e('You can also include content directly with jQuery. The page is loaded and the part you specify below is included by Javascript into the page. The cool thing is that you can specify an id or a class which specify the content area that should be included. This feature does only work if the page is loaded from the <strong>SAME</strong> domain. If you use the setting below no iframe is used anymore. So only include stuff that is for display only.<br/>Please note: Loading the external content is done after the page is fully loaded and takes some time. Therefore some extra settings below are possible to make the integration as invisible as possible. The included div has the id ai_temp_&gt;iframe_name&lt;. So if you need to overwrite some css you can put it in an extra file and add this in the section "Additional files" ', 'advanced-iframe');
247
+ echo '<table class="form-table">';
248
+ printTextInput($devOptions, __('Include url', 'advanced-iframe'), 'include_url', __('Enter the full URL to your page you want to include. e.g. http://www.tinywebgallery.com. If you specify this then the page is included directly, the iframe settings above are not used and no iframe is included. Shortcode attribute: include_url=""', 'advanced-iframe'));
249
+ printTextInput($devOptions, __('Include content', 'advanced-iframe'), 'include_content', __('You can specify an id or a class which specify the content area that should be included. For an id please use e.g. #id, for a class use .class. Shortcode attribute: include_content=""', 'advanced-iframe'));
250
+ printNumberInput($devOptions, __('Include_height', 'advanced-iframe'), 'include_height', __('You can specify the height of the content that should be included. If you do this the space for the content is already reserved and this prevents that you maybe see when the page gets updated. You should specify the value in px. Shortcode attribute: include_height=""', 'advanced-iframe'));
251
+ printNumberInput($devOptions, __('Include fade', 'advanced-iframe'), 'include_fade', __('You can specify a fade in time that is used when the content is done loading. If you leave this setting entry the content is shown right away. If you specify a time in milliseconds then this content is faded in in the given time. This does sometimes looks nicer than if the content suddenly appears. Shortcode attribute: include_fade=""', 'advanced-iframe'));
252
+ printTrueFalse($devOptions, __('Hide page until include is loaded', 'advanced-iframe'), 'include_hide_page_until_loaded', __('If you like to hide the whole page until the extra content is loaded you should set this to \'Yes\'. You should test this setting and decide what looks best for you. Shortcode attribute: include_hide_page_until_loaded="true" or include_hide_page_until_loaded="false" ', 'advanced-iframe'));
253
+ echo '</table>';
254
+
255
+ ?>
256
+ <p>
257
+ <input id="onload" class="button-primary" type="submit" name="update_iframe-loader" value="<?php _e('Update Settings', 'advanced-iframe') ?>"/>
258
+ </p> <br />
259
+ </p>
260
+
261
+
262
  <div id="icon-options-general" class="icon_ai">
263
  <br>
264
  </div> <h2>
271
  </p>
272
  <p>
273
  <?php _e('Please go <a href="http://www.tinywebgallery.com" target="_blank">www.tinywebgallery.com</a> for details.', 'advanced-iframe'); ?>
274
+ </p>
275
+ <?php
276
+ if ($devOptions['donation_bottom'] === 'true') {
277
+ printDonation($devOptions);
278
+ }
279
+ ?>
280
+ </form>
 
 
 
 
 
281
  </div>
282
  <?php
283
  }
advanced-iframe.php CHANGED
@@ -2,10 +2,10 @@
2
  /*
3
  Plugin Name: Advanced iframe
4
  Plugin URI: http://www.tinywebgallery.com/blog/advanced-iframe
5
- Version: 2.1
6
  Author: Michael Dempfle
7
  Author URI: http://www.tinywebgallery.com
8
- Description: This plugin includes any webpage as shortcode in an advanced iframe.
9
  This program is free software; you can redistribute it and/or modify
10
  it under the terms of the GNU General Public License as published by
11
  the Free Software Foundation; either version 2 of the License, or
@@ -47,7 +47,9 @@ if (!class_exists('advancediFrame')) {
47
  'onload' => '', 'onload_resize' => 'false', 'onload_scroll_top' => 'false',
48
  'additional_js' => '', 'additional_css' => '', 'store_height_in_cookie' => 'false',
49
  'additional_height' => '0', 'iframe_content_id' => '', 'iframe_content_styles' => '',
50
- 'iframe_hide_elements' => '', 'version_counter' => '1', 'onload_show_element_only' => ''
 
 
51
  );
52
  return $iframeAdminOptions;
53
  }
@@ -120,6 +122,13 @@ if (!class_exists('advancediFrame')) {
120
  if (!isset ($options['iframe_hide_elements'])) { $options['iframe_hide_elements'] = ''; }
121
  if (!isset ($options['version_counter'])) { $options['version_counter'] = '1'; }
122
  if (!isset ($options['onload_show_element_only'])) { $options['onload_show_element_only'] = ''; }
 
 
 
 
 
 
 
123
 
124
  // defaults from main config
125
  extract(array('securitykey' => 'not set',
@@ -140,7 +149,12 @@ if (!class_exists('advancediFrame')) {
140
  'iframe_content_styles' => $options['iframe_content_styles'],
141
  'iframe_hide_elements' => $options['iframe_hide_elements'],
142
  'version_counter' => $options['version_counter'],
143
- 'onload_show_element_only' => $options['onload_show_element_only'],
 
 
 
 
 
144
  $atts));
145
  // read the shortcode attributes
146
  if ($options['shortcode_attributes'] == 'true') {
@@ -177,6 +191,11 @@ if (!class_exists('advancediFrame')) {
177
  'iframe_content_styles' => $options['iframe_content_styles'],
178
  'iframe_hide_elements' => $options['iframe_hide_elements'],
179
  'onload_show_element_only' => $options['onload_show_element_only'],
 
 
 
 
 
180
  )
181
  , $atts));
182
  } else {
@@ -223,8 +242,8 @@ if (!class_exists('advancediFrame')) {
223
  }
224
 
225
  $html = '';
226
-
227
- if ((!empty($content_id) && !empty($content_styles)) || !empty($hide_elements)) {
228
 
229
 
230
  // hide elements is called directy in the page to hide elements as fast as quickly
@@ -351,14 +370,37 @@ if (!class_exists('advancediFrame')) {
351
  $html .= "></iframe>\n ";
352
  if ($store_height_in_cookie == 'true') {
353
  $html .= '<script type="text/javascript">aiUseCookie();</script>';
354
- }
355
- if ($additional_js != '' && version_compare(get_bloginfo('version'), '3.3') >= 0 ) { // wp >= 3.3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
356
  wp_register_script( 'additional-advanced-iframe', $additional_js, false, $version_counter);
357
  wp_enqueue_script( 'additional-advanced-iframe');
358
- }
359
-
360
- }
361
  return $html;
 
362
  }
363
 
364
  function add_script_footer() {
2
  /*
3
  Plugin Name: Advanced iframe
4
  Plugin URI: http://www.tinywebgallery.com/blog/advanced-iframe
5
+ Version: 3.0
6
  Author: Michael Dempfle
7
  Author URI: http://www.tinywebgallery.com
8
+ Description: This plugin includes any webpage as shortcode in an advanced iframe or embeds the content directly
9
  This program is free software; you can redistribute it and/or modify
10
  it under the terms of the GNU General Public License as published by
11
  the Free Software Foundation; either version 2 of the License, or
47
  'onload' => '', 'onload_resize' => 'false', 'onload_scroll_top' => 'false',
48
  'additional_js' => '', 'additional_css' => '', 'store_height_in_cookie' => 'false',
49
  'additional_height' => '0', 'iframe_content_id' => '', 'iframe_content_styles' => '',
50
+ 'iframe_hide_elements' => '', 'version_counter' => '1', 'onload_show_element_only' => '' ,
51
+ 'include_url'=> '','include_content'=> '','include_height'=> '','include_fade'=> '',
52
+ 'include_hide_page_until_loaded' => 'false', 'donation_bottom' => 'false'
53
  );
54
  return $iframeAdminOptions;
55
  }
122
  if (!isset ($options['iframe_hide_elements'])) { $options['iframe_hide_elements'] = ''; }
123
  if (!isset ($options['version_counter'])) { $options['version_counter'] = '1'; }
124
  if (!isset ($options['onload_show_element_only'])) { $options['onload_show_element_only'] = ''; }
125
+ // defaults for new settings in 3.0
126
+ if (!isset ($options['include_url'])) { $options['include_url'] = ''; }
127
+ if (!isset ($options['include_content'])) { $options['include_content'] = ''; }
128
+ if (!isset ($options['include_height'])) { $options['include_height'] = ''; }
129
+ if (!isset ($options['include_fade'])) { $options['include_fade'] = '0'; }
130
+ if (!isset ($options['include_hide_page_until_loaded'])) { $options['include_hide_page_until_loaded'] = 'false'; }
131
+ if (!isset ($options['donation_bottom'])) { $options['donation_bottom'] = 'false'; }
132
 
133
  // defaults from main config
134
  extract(array('securitykey' => 'not set',
149
  'iframe_content_styles' => $options['iframe_content_styles'],
150
  'iframe_hide_elements' => $options['iframe_hide_elements'],
151
  'version_counter' => $options['version_counter'],
152
+ 'onload_show_element_only' => $options['onload_show_element_only'],
153
+ 'include_url' => $options['include_url'],
154
+ 'include_content' => $options['include_content'],
155
+ 'include_height' => $options['include_height'],
156
+ 'include_fade' => $options['include_fade'],
157
+ 'include_hide_page_until_loaded' => $options['include_hide_page_until_loaded'],
158
  $atts));
159
  // read the shortcode attributes
160
  if ($options['shortcode_attributes'] == 'true') {
191
  'iframe_content_styles' => $options['iframe_content_styles'],
192
  'iframe_hide_elements' => $options['iframe_hide_elements'],
193
  'onload_show_element_only' => $options['onload_show_element_only'],
194
+ 'include_url' => $options['include_url'],
195
+ 'include_content' => $options['include_content'],
196
+ 'include_height' => $options['include_height'],
197
+ 'include_fade' => $options['include_fade'],
198
+ 'include_hide_page_until_loaded' => $options['include_hide_page_until_loaded'],
199
  )
200
  , $atts));
201
  } else {
242
  }
243
 
244
  $html = '';
245
+ if (empty($include_url)) {
246
+ if ((!empty($content_id) && !empty($content_styles)) || !empty($hide_elements)) {
247
 
248
 
249
  // hide elements is called directy in the page to hide elements as fast as quickly
370
  $html .= "></iframe>\n ";
371
  if ($store_height_in_cookie == 'true') {
372
  $html .= '<script type="text/javascript">aiUseCookie();</script>';
373
+ }
374
+ } else {
375
+ $ai_height = (empty ($include_height)) ? '' : (' style="height:'.$include_height.';" ');
376
+
377
+ $html = '<div '.$ai_height.' id="ai_temp_'.$name.'"><!-- --></div>';
378
+ $html .= '<script type="text/javascript">';
379
+ if ($include_hide_page_until_loaded === 'true') {
380
+ $html .= 'jQuery("body").css("display", "none");';
381
+ }
382
+ $html .= 'jQuery("#ai_temp_'.$name.'").load("' . $include_url;
383
+ if (!empty ($include_content)) {
384
+ $html .= ' ' . $include_content;
385
+ }
386
+ $html .= '" , function() {';
387
+ if ($include_hide_page_until_loaded === 'true') {
388
+ $html .= ' jQuery("body").css("display", "block"); ';
389
+ }
390
+ $html .= ' })';
391
+ if (!empty ($include_fade)) {
392
+ $html .= '.hide().fadeIn('.$include_fade.');';
393
+ }
394
+ $html .= '</script>';
395
+ }
396
+ if ($additional_js != '' && version_compare(get_bloginfo('version'), '3.3') >= 0 ) { // wp >= 3.3
397
  wp_register_script( 'additional-advanced-iframe', $additional_js, false, $version_counter);
398
  wp_enqueue_script( 'additional-advanced-iframe');
399
+ }
400
+
401
+ // $html .= '<div style="clear:none" />';
402
  return $html;
403
+ }
404
  }
405
 
406
  function add_script_footer() {
img/btn_donate_LG.gif ADDED
Binary file
languages/default.mo CHANGED
Binary file
languages/default.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Advanced iframe\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-02-07 22:59+0100\n"
6
- "PO-Revision-Date: 2013-02-07 23:00+0100\n"
7
  "Last-Translator: TinyWebGallery <tinywebgallery@mdempfle.de>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -18,331 +18,409 @@ msgstr ""
18
  msgid "Please check the value you have entered. Only numbers with an optional px, %, em or pt are allowed"
19
  msgstr ""
20
 
21
- #: advanced-iframe/advanced-iframe-admin-page.php:53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  msgid "Settings Updated."
23
  msgstr ""
24
 
25
- #: advanced-iframe/advanced-iframe-admin-page.php:67
26
  msgid "Advanced iframe default settings"
27
  msgstr ""
28
 
29
- #: advanced-iframe/advanced-iframe-admin-page.php:69
30
  msgid "This plugin will include any content an advanced iframe. Please enter the url and the size you want to include your page. You have a couple of additional default options which help to integrate your site better into your template. You can overwrite all of these settings by specifying the parameter in the shortcode. Please read the documentation after each field about the parameter you have to use."
31
  msgstr ""
32
 
33
- #: advanced-iframe/advanced-iframe-admin-page.php:72
34
  msgid "Please use the following shortcode to include a page to your page: "
35
  msgstr ""
36
 
37
- #: advanced-iframe/advanced-iframe-admin-page.php:76
38
  msgid "Security key"
39
  msgstr ""
40
 
41
- #: advanced-iframe/advanced-iframe-admin-page.php:76
42
  msgid "This is the security key which has to be used in the shorttag. This is mandatory because otherwise anyone who can create an article can insert a gallery as well. The default security key was randomly generated during installation. Please change the key if you like. You should use this in combination with e.g. Page security to make sure that only the users you define can modify pages."
43
  msgstr ""
44
 
45
- #: advanced-iframe/advanced-iframe-admin-page.php:77
46
  msgid "Allow shortcode attributes"
47
  msgstr ""
48
 
49
- #: advanced-iframe/advanced-iframe-admin-page.php:77
50
  msgid "Allow to set attributes in the shortcode. All of the attributes can be overwritten in the shortcode if you set 'Yes'. Otherwise the settings you specify here are used."
51
  msgstr ""
52
 
53
- #: advanced-iframe/advanced-iframe-admin-page.php:78
54
  msgid "Url"
55
  msgstr ""
56
 
57
- #: advanced-iframe/advanced-iframe-admin-page.php:78
58
  msgid "Enter the full URL to your page. e.g. http://www.tinywebgallery.com. Shortcode attribute: src=\"\""
59
  msgstr ""
60
 
61
- #: advanced-iframe/advanced-iframe-admin-page.php:79
62
  msgid "Width"
63
  msgstr ""
64
 
65
- #: advanced-iframe/advanced-iframe-admin-page.php:79
66
  msgid "The width of the iframe. You can specify the value in px or in %. If you don't specify anything px is assumed. Shortcode attribute: width=\"\""
67
  msgstr ""
68
 
69
- #: advanced-iframe/advanced-iframe-admin-page.php:80
70
  msgid "Height"
71
  msgstr ""
72
 
73
- #: advanced-iframe/advanced-iframe-admin-page.php:80
74
  msgid "The height of the iframe. You can specify the value in px or in %. If you don't specify anything px is assumed. Please note that % does most of the time does NOT give the expected result (e.g. 100% is only 150px) because the % are not from the iframe page but from the parent element. If you like something like that the iframe is resized to the content please read the '<a href=\"#onload\">Javascript iframe onload options</a>' section below! Shortcode attribute: height=\"\""
75
  msgstr ""
76
 
77
- #: advanced-iframe/advanced-iframe-admin-page.php:81
78
  msgid "Scrolling"
79
  msgstr ""
80
 
81
- #: advanced-iframe/advanced-iframe-admin-page.php:81
82
  msgid "Defines if scrollbars are shown if the page is too big for your iframe. Please note: If you select 'Yes' IE does always show scrollbars on many pages! So only use this if needed. Shortcode attribute: scrolling=\"auto\" or scrolling=\"no\""
83
  msgstr ""
84
 
85
- #: advanced-iframe/advanced-iframe-admin-page.php:82
86
  msgid "Margin width"
87
  msgstr ""
88
 
89
- #: advanced-iframe/advanced-iframe-admin-page.php:82
90
  msgid "The margin width of the iframe. You can specify the value in px. If you don't specify anything px is assumed. Shortcode attribute: marginwidth=\"\""
91
  msgstr ""
92
 
93
- #: advanced-iframe/advanced-iframe-admin-page.php:83
94
  msgid "Margin height"
95
  msgstr ""
96
 
97
- #: advanced-iframe/advanced-iframe-admin-page.php:83
98
  msgid "The margin height of the iframe. You can specify the value in px. If you don't specify anything px is assumed. Shortcode attribute: marginheight=\"\""
99
  msgstr ""
100
 
101
- #: advanced-iframe/advanced-iframe-admin-page.php:84
102
  msgid "Frame border"
103
  msgstr ""
104
 
105
- #: advanced-iframe/advanced-iframe-admin-page.php:84
106
  msgid "The frame border of the iframe. You can specify the value in px. If you don't specify anything px is assumed. Shortcode attribute: frameborder=\"\""
107
  msgstr ""
108
 
109
- #: advanced-iframe/advanced-iframe-admin-page.php:85
110
  msgid "Transparency"
111
  msgstr ""
112
 
113
- #: advanced-iframe/advanced-iframe-admin-page.php:85
114
  msgid "If you like that the iframe is transparent and your background is shown you should set this to 'Yes'. If this value is not set then the iframe is transparent in IE but transparent in e.g. Firefox. So by default you should leave this to 'Yes'. Shortcode attribute: transparency=\"true\" or transparency=\"false\" "
115
  msgstr ""
116
 
117
- #: advanced-iframe/advanced-iframe-admin-page.php:86
118
  msgid "Class"
119
  msgstr ""
120
 
121
- #: advanced-iframe/advanced-iframe-admin-page.php:86
122
  msgid "You can define a class for the iframe if you like. Shortcode attribute: class=\"\""
123
  msgstr ""
124
 
125
- #: advanced-iframe/advanced-iframe-admin-page.php:87
126
  msgid "URL forward parameters"
127
  msgstr ""
128
 
129
- #: advanced-iframe/advanced-iframe-admin-page.php:87
130
  msgid "Define the parameters that should be passed from the browser url to the iframe url. Please separate the parameters by ','. In e.g. TinyWebGallery this enables you to jump directly to an album or image although TinyWebGallery is included in an iframe. Shortcode attribute: url_forward_parameter=\"\""
131
  msgstr ""
132
 
133
- #: advanced-iframe/advanced-iframe-admin-page.php:89
134
  msgid "Id"
135
  msgstr ""
136
 
137
- #: advanced-iframe/advanced-iframe-admin-page.php:89
138
  msgid "Enter the 'id' attribute of the iframe. Shortcode attribute: id=\"\""
139
  msgstr ""
140
 
141
- #: advanced-iframe/advanced-iframe-admin-page.php:90
142
  msgid "Name"
143
  msgstr ""
144
 
145
- #: advanced-iframe/advanced-iframe-admin-page.php:90
146
  msgid "Enter the 'name' attribute of the iframe. Shortcode attribute: name=\"\""
147
  msgstr ""
148
 
149
- #: advanced-iframe/advanced-iframe-admin-page.php:94
150
- #: advanced-iframe/advanced-iframe-admin-page.php:117
151
- #: advanced-iframe/advanced-iframe-admin-page.php:152
152
- #: advanced-iframe/advanced-iframe-admin-page.php:198
153
- msgid "Update Settings"
154
- msgstr ""
155
-
156
- #: advanced-iframe/advanced-iframe-admin-page.php:96
157
  msgid "Advanced options"
158
  msgstr ""
159
 
160
- #: advanced-iframe/advanced-iframe-admin-page.php:98
161
  msgid "With the following 3 options you can modify your template on the fly to give the iframe more space! At most templates you would have to create a page template with a special css and this is quite complicated. By using the options below your template is modified on the fly by jQuery. Please look at the screenshots to make these options more clear. The options are very useful for templates that have a top navigation because otherwise your menu is gone! If you still want to do this you should add a back link to the page. The examples below are for Twenty Ten, iNove and the default Wordpress theme."
162
  msgstr ""
163
 
164
- #: advanced-iframe/advanced-iframe-admin-page.php:102
165
  msgid "Hide elements"
166
  msgstr ""
167
 
168
- #: advanced-iframe/advanced-iframe-admin-page.php:102
169
  msgid "This setting allows to hide elements when the iframe is shown. This can be used to hide the sidebar or the heading. Usage: If you want to hide a div you have to enter a hash (#) followed by the id e.g. #sidebar. If you want to hide a heading which is a &lt;h2&gt; you have to enter h2. You can define several elements separated by , e.g. #sidebar,h2. This gives you a lot more space to show the content of the iframe. To get the id of the sidebar go to Appearance -> Editor -> Click on 'Sidebar' on the right side. Then look for the first 'div' you find. The id of this div is the one you need. For some common templates the id is e.g. #menu, #sidebar, or #primary. For Twenty Ten and iNove you can remove the sidebar directly: Page attributes -> Template -> no sidebar. Wordpress default: '#sidebar'. I recommend to use firebug (see below) to find the elements and ids. You can use any valid jQuery selector pattern here! Shortcode attribute: hide_elements=\"\""
170
  msgstr ""
171
 
172
- #: advanced-iframe/advanced-iframe-admin-page.php:105
173
  msgid "With the following 2 options you can modify the css of your parent page. The first option defines the id/class/element you want to modify and at the 2nd option you define the styles you want to change."
174
  msgstr ""
175
 
176
- #: advanced-iframe/advanced-iframe-admin-page.php:108
177
  msgid "Content id"
178
  msgstr ""
179
 
180
- #: advanced-iframe/advanced-iframe-admin-page.php:108
181
  msgid "Some templates do not use the full width for their content and even most 'One column, no sidebar Page Template' templates only remove the sidebar but do not change the content width. Set the e.g. id of the div starting with a hash (#) that defines the content. You can use any valid jQuery selector pattern here! In the field below you then define the style you want to overwrite. For Twenty Ten and WordPress Default the id is #content, for iNove it is #main. You can also define more than one element. Please separate them by | and provide the styles below. Please read the note below how to find this id for other templates. #content|h2 means that you want to set a new style for the div content and the heading h2 below. Shortcode attribute: content_styles=\"\""
182
  msgstr ""
183
 
184
- #: advanced-iframe/advanced-iframe-admin-page.php:109
185
  msgid "Content styles"
186
  msgstr ""
187
 
188
- #: advanced-iframe/advanced-iframe-admin-page.php:109
189
  msgid "Define the styles that have to be overwritten to enable the full width. Most of the time have to modify some of the following attributes: width, margin-left, margin-right, padding-left. Please use ; as separator between styles. If you have defined more than one element above (Content id) please separate the different style sets with |. The default values are: Wordpress default: 'width:450px;padding-left:45px;'. Twenty Ten: 'margin-left:20px;margin-right:240px'. iNove: 'width:605px'. Read the note below how to find these styles for other templates. If you have defined #content|h2 at the Content id you can e.g. set 'width:650px;padding-left:25px;|padding-left:15px;'. Shortcode attribute: content_styles=\"\""
190
  msgstr ""
191
 
192
- #: advanced-iframe/advanced-iframe-admin-page.php:114
193
  msgid "<strong>How to find the id and the attributes:</strong><ol><li>Manually: Go to Appearance -> Editor and select the page template. The you have to look with div elements are defined. e.g. container, content, main. Also classes can be defined here. Then you have to select the style sheet below and search for this ids and classes and look which one does define the width of you content.</li><li>Firebug: For Firefox you can use the plugin firebug to select the content element directly in the page. On the right side the styles are always shown. Look for the styles that set the width or any bigger margins. These are the values you can then overwrite by the settings above.</li><li><strong>Small jquery help</strong><br>Above you have to use the jQuery syntax:<p><ul><li>- tags - if you want to hide/modify a tag directly (e.g. h1, h2) simply use it directly e.g. h1,h2</li><li>- id - if you want to hide/modify an element where you have the id use #id</li><li>- class - if you want to hide/modify an element where you have the class use .class</li></ul></p>For more complex selectors please read the jQuery documentation.</li></ol>"
194
  msgstr ""
195
 
196
- #: advanced-iframe/advanced-iframe-admin-page.php:119
197
  msgid "Javascript iframe onload options"
198
  msgstr ""
199
 
200
- #: advanced-iframe/advanced-iframe-admin-page.php:126
201
  msgid "Onload"
202
  msgstr ""
203
 
204
- #: advanced-iframe/advanced-iframe-admin-page.php:126
205
  msgid "Enter the 'onload' script of the iframe you want to execute. You can enter Javascript that is executed when the iframe is loaded. Please check the next 2 settings first! There you find a solution for iframe resize and one for scrolling the parent to the top. Please note that the output is escaped for security reasons with the Wordpress function esc_js. So please define your Javascript functions in your parent page, read all needed parameters inside the functions and call this function here. I recommend only to use the following characters: a-zA-Z_0-9();. Also note that the 2 settings below also use the onload event. So if you set them to true the code is appended to your onload function. If you like a different order of the predefined functions (aiShowElementOnly(id,element); aiResizeIframe(this); and aiScrollToTop();) please set the settings below to 'No' and enter them here directly. Shortcode attribute: onload=\"\""
206
  msgstr ""
207
 
208
- #: advanced-iframe/advanced-iframe-admin-page.php:127
209
  msgid "Show only one element"
210
  msgstr ""
211
 
212
- #: advanced-iframe/advanced-iframe-admin-page.php:127
213
  msgid "You can define which part of the page should be shown in the iframe. You can define the id (e.g. #id) or the class (.class) which should be shown. Be aware that all other elements below the body are removed! So if your css relies on a certain structure you have to add additional css by \"Content id in iframe\" below. Very often also a background is defined for the header which you should remove below. e.g. by setting background-image: none; in the body. This can be done at \"Content id in iframe\" and \"Content styles in iframe\" below. Shortcode attribute: onload_show_element_only=\"\""
214
  msgstr ""
215
 
216
- #: advanced-iframe/advanced-iframe-admin-page.php:129
217
  msgid "Resize iframe to content height"
218
  msgstr ""
219
 
220
- #: advanced-iframe/advanced-iframe-admin-page.php:129
221
  #, php-format
222
  msgid "If you like that the iframe is resized to the height of the content you should set this to 'Yes'. Please note that this is done by Javascript! So if a user has Javascript deactivated or a not supported browser the iframe does not get resized. Please set the height of the iframe to the minimum pixels the iframe should have! Some web pages use 100% of the height. Specifying a too big value as height does not gives you the expected result. This setting generates the code onload=\"aiResizeIframe(this);\" to the iframe. Shortcode attribute: onload_resize=\"true\" or onload_resize=\"false\" "
223
  msgstr ""
224
 
225
- #: advanced-iframe/advanced-iframe-admin-page.php:130
226
  msgid "Store height in cookie"
227
  msgstr ""
228
 
229
- #: advanced-iframe/advanced-iframe-admin-page.php:130
230
  msgid "If you enable the dynamic resize the value is calculated each time when the page is loaded. So each time it took a little time until the resize of the iframe is done. And this is visible sometimes if the content page loads very slow or is on a different domain or depends on the browser. By enabling this option the last calculated height is stored in a cookie and available right away. The iframe is then first resized to this height and later on when the new height comes it is updated. By default this is disabled because when you have dynamic content in the iframe it is possible that the iframe does not shrink. So please try this setting with your destination page. If you use several iframes please specify a different id for each iframe because the name of the cookie is ai-last-height-<id>. Shortcode attribute: store_height_in_cookie=\"true\" or store_height_in_cookie=\"false\" "
231
  msgstr ""
232
 
233
- #: advanced-iframe/advanced-iframe-admin-page.php:131
234
  msgid "Additional height"
235
  msgstr ""
236
 
237
- #: advanced-iframe/advanced-iframe-admin-page.php:131
238
  msgid "If you like that the iframe is higher than the calculated value you can add some extra height here. This number is then added to the calculated one. This is e.g. needed if one of your tested browsers displays a scrollbar because of 1 or 2 pixel. Or you have an invisible area that is shown by the click on a button that can increases the size of the page. This option is NOT possible when \"Store height in cookie\" is enabled because this would cause that the height will increase at each reload of the parent page. Shortcode attribute: additional_height=\"\""
239
  msgstr ""
240
 
241
- #: advanced-iframe/advanced-iframe-admin-page.php:133
242
  msgid "Scrolls the parent window to the top"
243
  msgstr ""
244
 
245
- #: advanced-iframe/advanced-iframe-admin-page.php:133
246
  msgid "If you like that if you click on a link in the iframe and the parent page should scroll to the top you should set this to 'Yes'. Please note that this is done by Javascript! So if a user has Javascript deactivated no scrolling is done. This setting generates the code onload=\"aiScrollToTop();\" to the iframe. If you select the resize iframe as well then onload=\"aiResizeIframe(this);aiScrollToTop();\" is generated. If you like a different order please enter the javascript functions directly in the onload parameter in the order you like. Shortcode attribute: onload_scroll_top=\"true\" or onload_scroll_top=\"false\" "
247
  msgstr ""
248
 
249
- #: advanced-iframe/advanced-iframe-admin-page.php:137
250
  msgid "With the following 3 options you can modify the content of the iframe. <strong>IMPORTANT</strong>: This is only possible if the iframe comes from the <strong>same domain</strong> because of the <a href=\"http://en.wikipedia.org/wiki/Same_origin_policy\" target=\"_blank\">same origin policy</a> of Javascript. Please read the section \"<a href=\"#howtoid\">How to find the id and the attributes</a>\" above how to find the right styles. If the content comes from a different domain you have to modify the iframe page by e.g. adding a Javascript function that is then called by the onload function you can set above."
251
  msgstr ""
252
 
253
- #: advanced-iframe/advanced-iframe-admin-page.php:141
254
  msgid "Hide elements in iframe"
255
  msgstr ""
256
 
257
- #: advanced-iframe/advanced-iframe-admin-page.php:141
258
  msgid "This setting allows to hide elements inside the iframe. This can be used to hide a border or a heading. Usage: If you want to hide a div you have to enter a hash (#) followed by the id e.g. #header. If you want to hide a heading which is a &lt;h2&gt; you have to enter h2. You can define several elements separated by , e.g. #header,h2. I recommend to use firebug to find the elements and ids. You can use any valid jQuery selector pattern here! Shortcode attribute: iframe_hide_elements=\"\""
259
  msgstr ""
260
 
261
- #: advanced-iframe/advanced-iframe-admin-page.php:144
262
  msgid "With the following 2 options you can modify the css of your iframe if <strong>it is on the same domain</strong>. The first option defines the id/class/element you want to modify and at the 2nd option you define the styles you want to change."
263
  msgstr ""
264
 
265
- #: advanced-iframe/advanced-iframe-admin-page.php:147
266
  msgid "Content id in iframe"
267
  msgstr ""
268
 
269
- #: advanced-iframe/advanced-iframe-admin-page.php:147
270
  msgid "Set the id of the element starting with a hash (#) that defines element you want to modify the css. You can use any valid jQuery selector pattern here! In the field below you then define the style you want to overwrite. You can also define more than one element. Please separate them by | and provide the styles below. Please read the note below how to find this id for other templates. #content|h2 means that you want to set a new style for the div content and the heading h2 below. Shortcode attribute: iframe_content_styles=\"\""
271
  msgstr ""
272
 
273
- #: advanced-iframe/advanced-iframe-admin-page.php:148
274
  msgid "Content styles in iframe"
275
  msgstr ""
276
 
277
- #: advanced-iframe/advanced-iframe-admin-page.php:148
278
  msgid "Define the styles that have to be overwritten to enable the full width. Most of the time have to modify some of the following attributes: width, margin-left, margin-right, padding-left. Please use ; as separator between styles. If you have defined more than one element above (Content id in iframe) please separate the different style sets with |. The default values are: Wordpress default: 'width:450px;padding-left:45px;'. Twenty Ten: 'margin-left:20px;margin-right:240px'. iNove: 'width:605px'. Please read the note below how to find these styles for other templates. If you have defined #content|h2 at the Content id you can e.g. set 'width:650px;padding-left:25px;|padding-left:15px;'. Shortcode attribute: iframe_content_styles=\"\""
279
  msgstr ""
280
 
281
- #: advanced-iframe/advanced-iframe-admin-page.php:155
282
  msgid "Enabling cross-site scripting XSS via an iframe"
283
  msgstr ""
284
 
285
- #: advanced-iframe/advanced-iframe-admin-page.php:187
286
  msgid "Additional files"
287
  msgstr ""
288
 
289
- #: advanced-iframe/advanced-iframe-admin-page.php:189
290
  msgid "For some features in iframes additional css or js files are needed in the parent page. E.g. for the newest version of lytebox this is needed. Each of the files do get a version number which is randomly changed each time you save the settings. So if you cange the ccs or the js file you should save the settings once to make sure your users to get the new version right away and not a chached one."
291
  msgstr ""
292
 
293
- #: advanced-iframe/advanced-iframe-admin-page.php:193
294
  msgid "Additional css"
295
  msgstr ""
296
 
297
- #: advanced-iframe/advanced-iframe-admin-page.php:193
298
  msgid "If you want to include an additional css into the parent page please specify the path to this file here. The css file will be added into the header of the page. You can specify a full or relative url. If you specify a relative one /style.css means that the style.css is located in the main directory of Wordpress. Start relative urls with /. Shortcode attribute: additional_css=\"\""
299
  msgstr ""
300
 
301
- #: advanced-iframe/advanced-iframe-admin-page.php:194
302
  msgid "Additional js"
303
  msgstr ""
304
 
305
- #: advanced-iframe/advanced-iframe-admin-page.php:194
306
  msgid "If you want to include an additional Javascript into the parent page please specify the path to this file here. The Javascript will be added after the iframe or if you use Wordpress >= 3.3 in the footer section. You can specify a full or relative url. If you specify a relative one /javascript.js means that the javascript.js is located in the main directory of Wordpress. Start relative urls with /. Shortcode attribute: additional_js=\"\""
307
  msgstr ""
308
 
309
- #: advanced-iframe/advanced-iframe-admin-page.php:204
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
310
  msgid "Wordpress Flash Uploader, TinyWebGallery, Joomla Flash Uploader"
311
  msgstr ""
312
 
313
- #: advanced-iframe/advanced-iframe-admin-page.php:206
314
  msgid "This plugin is the extract for the iframe wrapper which was written for the TinyWebGallery. I needed an iframe wrapper that could do more than simply include a page. It needed to pass parameters to the iframe and modify the template on the fly to get more space for TWG. If you want to integrate TWG please use the \"TinyWebGallery wrapper\". It offers specific features only needed for the gallery. I hope this standalone wrapper is useful for other Wordpress users as well."
315
  msgstr ""
316
 
317
- #: advanced-iframe/advanced-iframe-admin-page.php:209
318
  msgid "Please take a look at my other projects: Wordpress Flash Uploader, TinyWebGallery, Joomla Flash Uploader or TWG Flash Uploader. If you like TWG or one of my other projects like JFU, WFU or TFU you should consider to register because you can use all products with one single license and get all features of the gallery and a complete upload solution as well."
319
  msgstr ""
320
 
321
- #: advanced-iframe/advanced-iframe-admin-page.php:212
322
  msgid "Please go <a href=\"http://www.tinywebgallery.com\" target=\"_blank\">www.tinywebgallery.com</a> for details."
323
  msgstr ""
324
 
325
- #: advanced-iframe/advanced-iframe-admin-page.php:238
326
- #: advanced-iframe/advanced-iframe-admin-page.php:257
327
- #: advanced-iframe/advanced-iframe-admin-page.php:300
328
  msgid "Yes"
329
  msgstr ""
330
 
331
- #: advanced-iframe/advanced-iframe-admin-page.php:242
332
- #: advanced-iframe/advanced-iframe-admin-page.php:261
333
- #: advanced-iframe/advanced-iframe-admin-page.php:304
334
  msgid "No"
335
  msgstr ""
336
 
337
- #: advanced-iframe/advanced-iframe.php:206
338
  msgid "An invalid security key was specified. Please use at least the following shortcode:<br>[advanced_iframe securitykey=\"&lt;your security key - see settings&gt;\"]. Please also check in the html mode that your shortcode does only contain notmal spaces and not a &amp;nbsp; instead."
339
  msgstr ""
340
 
341
- #: advanced-iframe/advanced-iframe.php:241
342
  msgid "Configuration error: The attributes content_id and content_styles have to have the amount of value sets separated by |."
343
  msgstr ""
344
 
345
- #: advanced-iframe/advanced-iframe.php:280
346
  msgid "Configuration error: The attributes iframe_content_id and iframe_content_styles have to have the amount of value sets separated by |."
347
  msgstr ""
348
 
2
  msgstr ""
3
  "Project-Id-Version: Advanced iframe\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-02-12 12:12+0100\n"
6
+ "PO-Revision-Date: 2013-02-12 12:13+0100\n"
7
  "Last-Translator: TinyWebGallery <tinywebgallery@mdempfle.de>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
18
  msgid "Please check the value you have entered. Only numbers with an optional px, %, em or pt are allowed"
19
  msgstr ""
20
 
21
+ #: advanced-iframe/advanced-iframe-admin-page.php:27
22
+ msgid "Pay what you want"
23
+ msgstr ""
24
+
25
+ #: advanced-iframe/advanced-iframe-admin-page.php:30
26
+ msgid "You like this plugin? You got great support? Support the development with a small amount or buy something you would buy anyway over Trialpay and I will get a provision from them."
27
+ msgstr ""
28
+
29
+ #: advanced-iframe/advanced-iframe-admin-page.php:34
30
+ msgid "Paypal:"
31
+ msgstr ""
32
+
33
+ #: advanced-iframe/advanced-iframe-admin-page.php:36
34
+ msgid "Trialpay:"
35
+ msgstr ""
36
+
37
+ #: advanced-iframe/advanced-iframe-admin-page.php:38
38
+ msgid "How does a \"free\" donation work? Simply complete one offer from brands like Gap, FTP and Blockbuster and Trialpay will pay me a promotion. There are also free offers like installing an app on your smart phone. Please read the offers properly because there are also offers where you should NOT forget to cancel the offer in time. I don't want that you get something you don't want!"
39
+ msgstr ""
40
+
41
+ #: advanced-iframe/advanced-iframe-admin-page.php:43
42
+ msgid "Show this section at the bottom"
43
+ msgstr ""
44
+
45
+ #: advanced-iframe/advanced-iframe-admin-page.php:43
46
+ msgid "Please move this section to the bottom if it bothers you or if you have already supported the development. Feel also free to contact me if you are missing a feature. Sorry for moving this section to the top but at the bottom it seems to be ignored completely."
47
+ msgstr ""
48
+
49
+ #: advanced-iframe/advanced-iframe-admin-page.php:48
50
+ #: advanced-iframe/advanced-iframe-admin-page.php:134
51
+ #: advanced-iframe/advanced-iframe-admin-page.php:157
52
+ #: advanced-iframe/advanced-iframe-admin-page.php:192
53
+ #: advanced-iframe/advanced-iframe-admin-page.php:238
54
+ #: advanced-iframe/advanced-iframe-admin-page.php:257
55
+ msgid "Update Settings"
56
+ msgstr ""
57
+
58
+ #: advanced-iframe/advanced-iframe-admin-page.php:88
59
  msgid "Settings Updated."
60
  msgstr ""
61
 
62
+ #: advanced-iframe/advanced-iframe-admin-page.php:107
63
  msgid "Advanced iframe default settings"
64
  msgstr ""
65
 
66
+ #: advanced-iframe/advanced-iframe-admin-page.php:109
67
  msgid "This plugin will include any content an advanced iframe. Please enter the url and the size you want to include your page. You have a couple of additional default options which help to integrate your site better into your template. You can overwrite all of these settings by specifying the parameter in the shortcode. Please read the documentation after each field about the parameter you have to use."
68
  msgstr ""
69
 
70
+ #: advanced-iframe/advanced-iframe-admin-page.php:112
71
  msgid "Please use the following shortcode to include a page to your page: "
72
  msgstr ""
73
 
74
+ #: advanced-iframe/advanced-iframe-admin-page.php:116
75
  msgid "Security key"
76
  msgstr ""
77
 
78
+ #: advanced-iframe/advanced-iframe-admin-page.php:116
79
  msgid "This is the security key which has to be used in the shorttag. This is mandatory because otherwise anyone who can create an article can insert a gallery as well. The default security key was randomly generated during installation. Please change the key if you like. You should use this in combination with e.g. Page security to make sure that only the users you define can modify pages."
80
  msgstr ""
81
 
82
+ #: advanced-iframe/advanced-iframe-admin-page.php:117
83
  msgid "Allow shortcode attributes"
84
  msgstr ""
85
 
86
+ #: advanced-iframe/advanced-iframe-admin-page.php:117
87
  msgid "Allow to set attributes in the shortcode. All of the attributes can be overwritten in the shortcode if you set 'Yes'. Otherwise the settings you specify here are used."
88
  msgstr ""
89
 
90
+ #: advanced-iframe/advanced-iframe-admin-page.php:118
91
  msgid "Url"
92
  msgstr ""
93
 
94
+ #: advanced-iframe/advanced-iframe-admin-page.php:118
95
  msgid "Enter the full URL to your page. e.g. http://www.tinywebgallery.com. Shortcode attribute: src=\"\""
96
  msgstr ""
97
 
98
+ #: advanced-iframe/advanced-iframe-admin-page.php:119
99
  msgid "Width"
100
  msgstr ""
101
 
102
+ #: advanced-iframe/advanced-iframe-admin-page.php:119
103
  msgid "The width of the iframe. You can specify the value in px or in %. If you don't specify anything px is assumed. Shortcode attribute: width=\"\""
104
  msgstr ""
105
 
106
+ #: advanced-iframe/advanced-iframe-admin-page.php:120
107
  msgid "Height"
108
  msgstr ""
109
 
110
+ #: advanced-iframe/advanced-iframe-admin-page.php:120
111
  msgid "The height of the iframe. You can specify the value in px or in %. If you don't specify anything px is assumed. Please note that % does most of the time does NOT give the expected result (e.g. 100% is only 150px) because the % are not from the iframe page but from the parent element. If you like something like that the iframe is resized to the content please read the '<a href=\"#onload\">Javascript iframe onload options</a>' section below! Shortcode attribute: height=\"\""
112
  msgstr ""
113
 
114
+ #: advanced-iframe/advanced-iframe-admin-page.php:121
115
  msgid "Scrolling"
116
  msgstr ""
117
 
118
+ #: advanced-iframe/advanced-iframe-admin-page.php:121
119
  msgid "Defines if scrollbars are shown if the page is too big for your iframe. Please note: If you select 'Yes' IE does always show scrollbars on many pages! So only use this if needed. Shortcode attribute: scrolling=\"auto\" or scrolling=\"no\""
120
  msgstr ""
121
 
122
+ #: advanced-iframe/advanced-iframe-admin-page.php:122
123
  msgid "Margin width"
124
  msgstr ""
125
 
126
+ #: advanced-iframe/advanced-iframe-admin-page.php:122
127
  msgid "The margin width of the iframe. You can specify the value in px. If you don't specify anything px is assumed. Shortcode attribute: marginwidth=\"\""
128
  msgstr ""
129
 
130
+ #: advanced-iframe/advanced-iframe-admin-page.php:123
131
  msgid "Margin height"
132
  msgstr ""
133
 
134
+ #: advanced-iframe/advanced-iframe-admin-page.php:123
135
  msgid "The margin height of the iframe. You can specify the value in px. If you don't specify anything px is assumed. Shortcode attribute: marginheight=\"\""
136
  msgstr ""
137
 
138
+ #: advanced-iframe/advanced-iframe-admin-page.php:124
139
  msgid "Frame border"
140
  msgstr ""
141
 
142
+ #: advanced-iframe/advanced-iframe-admin-page.php:124
143
  msgid "The frame border of the iframe. You can specify the value in px. If you don't specify anything px is assumed. Shortcode attribute: frameborder=\"\""
144
  msgstr ""
145
 
146
+ #: advanced-iframe/advanced-iframe-admin-page.php:125
147
  msgid "Transparency"
148
  msgstr ""
149
 
150
+ #: advanced-iframe/advanced-iframe-admin-page.php:125
151
  msgid "If you like that the iframe is transparent and your background is shown you should set this to 'Yes'. If this value is not set then the iframe is transparent in IE but transparent in e.g. Firefox. So by default you should leave this to 'Yes'. Shortcode attribute: transparency=\"true\" or transparency=\"false\" "
152
  msgstr ""
153
 
154
+ #: advanced-iframe/advanced-iframe-admin-page.php:126
155
  msgid "Class"
156
  msgstr ""
157
 
158
+ #: advanced-iframe/advanced-iframe-admin-page.php:126
159
  msgid "You can define a class for the iframe if you like. Shortcode attribute: class=\"\""
160
  msgstr ""
161
 
162
+ #: advanced-iframe/advanced-iframe-admin-page.php:127
163
  msgid "URL forward parameters"
164
  msgstr ""
165
 
166
+ #: advanced-iframe/advanced-iframe-admin-page.php:127
167
  msgid "Define the parameters that should be passed from the browser url to the iframe url. Please separate the parameters by ','. In e.g. TinyWebGallery this enables you to jump directly to an album or image although TinyWebGallery is included in an iframe. Shortcode attribute: url_forward_parameter=\"\""
168
  msgstr ""
169
 
170
+ #: advanced-iframe/advanced-iframe-admin-page.php:129
171
  msgid "Id"
172
  msgstr ""
173
 
174
+ #: advanced-iframe/advanced-iframe-admin-page.php:129
175
  msgid "Enter the 'id' attribute of the iframe. Shortcode attribute: id=\"\""
176
  msgstr ""
177
 
178
+ #: advanced-iframe/advanced-iframe-admin-page.php:130
179
  msgid "Name"
180
  msgstr ""
181
 
182
+ #: advanced-iframe/advanced-iframe-admin-page.php:130
183
  msgid "Enter the 'name' attribute of the iframe. Shortcode attribute: name=\"\""
184
  msgstr ""
185
 
186
+ #: advanced-iframe/advanced-iframe-admin-page.php:136
 
 
 
 
 
 
 
187
  msgid "Advanced options"
188
  msgstr ""
189
 
190
+ #: advanced-iframe/advanced-iframe-admin-page.php:138
191
  msgid "With the following 3 options you can modify your template on the fly to give the iframe more space! At most templates you would have to create a page template with a special css and this is quite complicated. By using the options below your template is modified on the fly by jQuery. Please look at the screenshots to make these options more clear. The options are very useful for templates that have a top navigation because otherwise your menu is gone! If you still want to do this you should add a back link to the page. The examples below are for Twenty Ten, iNove and the default Wordpress theme."
192
  msgstr ""
193
 
194
+ #: advanced-iframe/advanced-iframe-admin-page.php:142
195
  msgid "Hide elements"
196
  msgstr ""
197
 
198
+ #: advanced-iframe/advanced-iframe-admin-page.php:142
199
  msgid "This setting allows to hide elements when the iframe is shown. This can be used to hide the sidebar or the heading. Usage: If you want to hide a div you have to enter a hash (#) followed by the id e.g. #sidebar. If you want to hide a heading which is a &lt;h2&gt; you have to enter h2. You can define several elements separated by , e.g. #sidebar,h2. This gives you a lot more space to show the content of the iframe. To get the id of the sidebar go to Appearance -> Editor -> Click on 'Sidebar' on the right side. Then look for the first 'div' you find. The id of this div is the one you need. For some common templates the id is e.g. #menu, #sidebar, or #primary. For Twenty Ten and iNove you can remove the sidebar directly: Page attributes -> Template -> no sidebar. Wordpress default: '#sidebar'. I recommend to use firebug (see below) to find the elements and ids. You can use any valid jQuery selector pattern here! Shortcode attribute: hide_elements=\"\""
200
  msgstr ""
201
 
202
+ #: advanced-iframe/advanced-iframe-admin-page.php:145
203
  msgid "With the following 2 options you can modify the css of your parent page. The first option defines the id/class/element you want to modify and at the 2nd option you define the styles you want to change."
204
  msgstr ""
205
 
206
+ #: advanced-iframe/advanced-iframe-admin-page.php:148
207
  msgid "Content id"
208
  msgstr ""
209
 
210
+ #: advanced-iframe/advanced-iframe-admin-page.php:148
211
  msgid "Some templates do not use the full width for their content and even most 'One column, no sidebar Page Template' templates only remove the sidebar but do not change the content width. Set the e.g. id of the div starting with a hash (#) that defines the content. You can use any valid jQuery selector pattern here! In the field below you then define the style you want to overwrite. For Twenty Ten and WordPress Default the id is #content, for iNove it is #main. You can also define more than one element. Please separate them by | and provide the styles below. Please read the note below how to find this id for other templates. #content|h2 means that you want to set a new style for the div content and the heading h2 below. Shortcode attribute: content_styles=\"\""
212
  msgstr ""
213
 
214
+ #: advanced-iframe/advanced-iframe-admin-page.php:149
215
  msgid "Content styles"
216
  msgstr ""
217
 
218
+ #: advanced-iframe/advanced-iframe-admin-page.php:149
219
  msgid "Define the styles that have to be overwritten to enable the full width. Most of the time have to modify some of the following attributes: width, margin-left, margin-right, padding-left. Please use ; as separator between styles. If you have defined more than one element above (Content id) please separate the different style sets with |. The default values are: Wordpress default: 'width:450px;padding-left:45px;'. Twenty Ten: 'margin-left:20px;margin-right:240px'. iNove: 'width:605px'. Read the note below how to find these styles for other templates. If you have defined #content|h2 at the Content id you can e.g. set 'width:650px;padding-left:25px;|padding-left:15px;'. Shortcode attribute: content_styles=\"\""
220
  msgstr ""
221
 
222
+ #: advanced-iframe/advanced-iframe-admin-page.php:154
223
  msgid "<strong>How to find the id and the attributes:</strong><ol><li>Manually: Go to Appearance -> Editor and select the page template. The you have to look with div elements are defined. e.g. container, content, main. Also classes can be defined here. Then you have to select the style sheet below and search for this ids and classes and look which one does define the width of you content.</li><li>Firebug: For Firefox you can use the plugin firebug to select the content element directly in the page. On the right side the styles are always shown. Look for the styles that set the width or any bigger margins. These are the values you can then overwrite by the settings above.</li><li><strong>Small jquery help</strong><br>Above you have to use the jQuery syntax:<p><ul><li>- tags - if you want to hide/modify a tag directly (e.g. h1, h2) simply use it directly e.g. h1,h2</li><li>- id - if you want to hide/modify an element where you have the id use #id</li><li>- class - if you want to hide/modify an element where you have the class use .class</li></ul></p>For more complex selectors please read the jQuery documentation.</li></ol>"
224
  msgstr ""
225
 
226
+ #: advanced-iframe/advanced-iframe-admin-page.php:159
227
  msgid "Javascript iframe onload options"
228
  msgstr ""
229
 
230
+ #: advanced-iframe/advanced-iframe-admin-page.php:166
231
  msgid "Onload"
232
  msgstr ""
233
 
234
+ #: advanced-iframe/advanced-iframe-admin-page.php:166
235
  msgid "Enter the 'onload' script of the iframe you want to execute. You can enter Javascript that is executed when the iframe is loaded. Please check the next 2 settings first! There you find a solution for iframe resize and one for scrolling the parent to the top. Please note that the output is escaped for security reasons with the Wordpress function esc_js. So please define your Javascript functions in your parent page, read all needed parameters inside the functions and call this function here. I recommend only to use the following characters: a-zA-Z_0-9();. Also note that the 2 settings below also use the onload event. So if you set them to true the code is appended to your onload function. If you like a different order of the predefined functions (aiShowElementOnly(id,element); aiResizeIframe(this); and aiScrollToTop();) please set the settings below to 'No' and enter them here directly. Shortcode attribute: onload=\"\""
236
  msgstr ""
237
 
238
+ #: advanced-iframe/advanced-iframe-admin-page.php:167
239
  msgid "Show only one element"
240
  msgstr ""
241
 
242
+ #: advanced-iframe/advanced-iframe-admin-page.php:167
243
  msgid "You can define which part of the page should be shown in the iframe. You can define the id (e.g. #id) or the class (.class) which should be shown. Be aware that all other elements below the body are removed! So if your css relies on a certain structure you have to add additional css by \"Content id in iframe\" below. Very often also a background is defined for the header which you should remove below. e.g. by setting background-image: none; in the body. This can be done at \"Content id in iframe\" and \"Content styles in iframe\" below. Shortcode attribute: onload_show_element_only=\"\""
244
  msgstr ""
245
 
246
+ #: advanced-iframe/advanced-iframe-admin-page.php:169
247
  msgid "Resize iframe to content height"
248
  msgstr ""
249
 
250
+ #: advanced-iframe/advanced-iframe-admin-page.php:169
251
  #, php-format
252
  msgid "If you like that the iframe is resized to the height of the content you should set this to 'Yes'. Please note that this is done by Javascript! So if a user has Javascript deactivated or a not supported browser the iframe does not get resized. Please set the height of the iframe to the minimum pixels the iframe should have! Some web pages use 100% of the height. Specifying a too big value as height does not gives you the expected result. This setting generates the code onload=\"aiResizeIframe(this);\" to the iframe. Shortcode attribute: onload_resize=\"true\" or onload_resize=\"false\" "
253
  msgstr ""
254
 
255
+ #: advanced-iframe/advanced-iframe-admin-page.php:170
256
  msgid "Store height in cookie"
257
  msgstr ""
258
 
259
+ #: advanced-iframe/advanced-iframe-admin-page.php:170
260
  msgid "If you enable the dynamic resize the value is calculated each time when the page is loaded. So each time it took a little time until the resize of the iframe is done. And this is visible sometimes if the content page loads very slow or is on a different domain or depends on the browser. By enabling this option the last calculated height is stored in a cookie and available right away. The iframe is then first resized to this height and later on when the new height comes it is updated. By default this is disabled because when you have dynamic content in the iframe it is possible that the iframe does not shrink. So please try this setting with your destination page. If you use several iframes please specify a different id for each iframe because the name of the cookie is ai-last-height-<id>. Shortcode attribute: store_height_in_cookie=\"true\" or store_height_in_cookie=\"false\" "
261
  msgstr ""
262
 
263
+ #: advanced-iframe/advanced-iframe-admin-page.php:171
264
  msgid "Additional height"
265
  msgstr ""
266
 
267
+ #: advanced-iframe/advanced-iframe-admin-page.php:171
268
  msgid "If you like that the iframe is higher than the calculated value you can add some extra height here. This number is then added to the calculated one. This is e.g. needed if one of your tested browsers displays a scrollbar because of 1 or 2 pixel. Or you have an invisible area that is shown by the click on a button that can increases the size of the page. This option is NOT possible when \"Store height in cookie\" is enabled because this would cause that the height will increase at each reload of the parent page. Shortcode attribute: additional_height=\"\""
269
  msgstr ""
270
 
271
+ #: advanced-iframe/advanced-iframe-admin-page.php:173
272
  msgid "Scrolls the parent window to the top"
273
  msgstr ""
274
 
275
+ #: advanced-iframe/advanced-iframe-admin-page.php:173
276
  msgid "If you like that if you click on a link in the iframe and the parent page should scroll to the top you should set this to 'Yes'. Please note that this is done by Javascript! So if a user has Javascript deactivated no scrolling is done. This setting generates the code onload=\"aiScrollToTop();\" to the iframe. If you select the resize iframe as well then onload=\"aiResizeIframe(this);aiScrollToTop();\" is generated. If you like a different order please enter the javascript functions directly in the onload parameter in the order you like. Shortcode attribute: onload_scroll_top=\"true\" or onload_scroll_top=\"false\" "
277
  msgstr ""
278
 
279
+ #: advanced-iframe/advanced-iframe-admin-page.php:177
280
  msgid "With the following 3 options you can modify the content of the iframe. <strong>IMPORTANT</strong>: This is only possible if the iframe comes from the <strong>same domain</strong> because of the <a href=\"http://en.wikipedia.org/wiki/Same_origin_policy\" target=\"_blank\">same origin policy</a> of Javascript. Please read the section \"<a href=\"#howtoid\">How to find the id and the attributes</a>\" above how to find the right styles. If the content comes from a different domain you have to modify the iframe page by e.g. adding a Javascript function that is then called by the onload function you can set above."
281
  msgstr ""
282
 
283
+ #: advanced-iframe/advanced-iframe-admin-page.php:181
284
  msgid "Hide elements in iframe"
285
  msgstr ""
286
 
287
+ #: advanced-iframe/advanced-iframe-admin-page.php:181
288
  msgid "This setting allows to hide elements inside the iframe. This can be used to hide a border or a heading. Usage: If you want to hide a div you have to enter a hash (#) followed by the id e.g. #header. If you want to hide a heading which is a &lt;h2&gt; you have to enter h2. You can define several elements separated by , e.g. #header,h2. I recommend to use firebug to find the elements and ids. You can use any valid jQuery selector pattern here! Shortcode attribute: iframe_hide_elements=\"\""
289
  msgstr ""
290
 
291
+ #: advanced-iframe/advanced-iframe-admin-page.php:184
292
  msgid "With the following 2 options you can modify the css of your iframe if <strong>it is on the same domain</strong>. The first option defines the id/class/element you want to modify and at the 2nd option you define the styles you want to change."
293
  msgstr ""
294
 
295
+ #: advanced-iframe/advanced-iframe-admin-page.php:187
296
  msgid "Content id in iframe"
297
  msgstr ""
298
 
299
+ #: advanced-iframe/advanced-iframe-admin-page.php:187
300
  msgid "Set the id of the element starting with a hash (#) that defines element you want to modify the css. You can use any valid jQuery selector pattern here! In the field below you then define the style you want to overwrite. You can also define more than one element. Please separate them by | and provide the styles below. Please read the note below how to find this id for other templates. #content|h2 means that you want to set a new style for the div content and the heading h2 below. Shortcode attribute: iframe_content_styles=\"\""
301
  msgstr ""
302
 
303
+ #: advanced-iframe/advanced-iframe-admin-page.php:188
304
  msgid "Content styles in iframe"
305
  msgstr ""
306
 
307
+ #: advanced-iframe/advanced-iframe-admin-page.php:188
308
  msgid "Define the styles that have to be overwritten to enable the full width. Most of the time have to modify some of the following attributes: width, margin-left, margin-right, padding-left. Please use ; as separator between styles. If you have defined more than one element above (Content id in iframe) please separate the different style sets with |. The default values are: Wordpress default: 'width:450px;padding-left:45px;'. Twenty Ten: 'margin-left:20px;margin-right:240px'. iNove: 'width:605px'. Please read the note below how to find these styles for other templates. If you have defined #content|h2 at the Content id you can e.g. set 'width:650px;padding-left:25px;|padding-left:15px;'. Shortcode attribute: iframe_content_styles=\"\""
309
  msgstr ""
310
 
311
+ #: advanced-iframe/advanced-iframe-admin-page.php:195
312
  msgid "Enabling cross-site scripting XSS via an iframe"
313
  msgstr ""
314
 
315
+ #: advanced-iframe/advanced-iframe-admin-page.php:227
316
  msgid "Additional files"
317
  msgstr ""
318
 
319
+ #: advanced-iframe/advanced-iframe-admin-page.php:229
320
  msgid "For some features in iframes additional css or js files are needed in the parent page. E.g. for the newest version of lytebox this is needed. Each of the files do get a version number which is randomly changed each time you save the settings. So if you cange the ccs or the js file you should save the settings once to make sure your users to get the new version right away and not a chached one."
321
  msgstr ""
322
 
323
+ #: advanced-iframe/advanced-iframe-admin-page.php:233
324
  msgid "Additional css"
325
  msgstr ""
326
 
327
+ #: advanced-iframe/advanced-iframe-admin-page.php:233
328
  msgid "If you want to include an additional css into the parent page please specify the path to this file here. The css file will be added into the header of the page. You can specify a full or relative url. If you specify a relative one /style.css means that the style.css is located in the main directory of Wordpress. Start relative urls with /. Shortcode attribute: additional_css=\"\""
329
  msgstr ""
330
 
331
+ #: advanced-iframe/advanced-iframe-admin-page.php:234
332
  msgid "Additional js"
333
  msgstr ""
334
 
335
+ #: advanced-iframe/advanced-iframe-admin-page.php:234
336
  msgid "If you want to include an additional Javascript into the parent page please specify the path to this file here. The Javascript will be added after the iframe or if you use Wordpress >= 3.3 in the footer section. You can specify a full or relative url. If you specify a relative one /javascript.js means that the javascript.js is located in the main directory of Wordpress. Start relative urls with /. Shortcode attribute: additional_js=\"\""
337
  msgstr ""
338
 
339
+ #: advanced-iframe/advanced-iframe-admin-page.php:244
340
+ msgid "Include content directly"
341
+ msgstr ""
342
+
343
+ #: advanced-iframe/advanced-iframe-admin-page.php:246
344
+ msgid "You can also include content directly with jQuery. The page is loaded and the part you specify below is included by Javascript into the page. The cool thing is that you can specify an id or a class which specify the content area that should be included. This feature does only work if the page is loaded from the <strong>SAME</strong> domain. If you use the setting below no iframe is used anymore. So only include stuff that is for display only.<br/>Please note: Loading the external content is done after the page is fully loaded and takes some time. Therefore some extra settings below are possible to make the integration as invisible as possible. The included div has the id ai_temp_&gt;iframe_name&lt;. So if you need to overwrite some css you can put it in an extra file and add this in the section \"Additional files\" "
345
+ msgstr ""
346
+
347
+ #: advanced-iframe/advanced-iframe-admin-page.php:248
348
+ msgid "Include url"
349
+ msgstr ""
350
+
351
+ #: advanced-iframe/advanced-iframe-admin-page.php:248
352
+ msgid "Enter the full URL to your page you want to include. e.g. http://www.tinywebgallery.com. If you specify this then the page is included directly, the iframe settings above are not used and no iframe is included. Shortcode attribute: include_url=\"\""
353
+ msgstr ""
354
+
355
+ #: advanced-iframe/advanced-iframe-admin-page.php:249
356
+ msgid "Include content"
357
+ msgstr ""
358
+
359
+ #: advanced-iframe/advanced-iframe-admin-page.php:249
360
+ msgid "You can specify an id or a class which specify the content area that should be included. For an id please use e.g. #id, for a class use .class. Shortcode attribute: include_content=\"\""
361
+ msgstr ""
362
+
363
+ #: advanced-iframe/advanced-iframe-admin-page.php:250
364
+ msgid "Include_height"
365
+ msgstr ""
366
+
367
+ #: advanced-iframe/advanced-iframe-admin-page.php:250
368
+ msgid "You can specify the height of the content that should be included. If you do this the space for the content is already reserved and this prevents that you maybe see when the page gets updated. You should specify the value in px. Shortcode attribute: include_height=\"\""
369
+ msgstr ""
370
+
371
+ #: advanced-iframe/advanced-iframe-admin-page.php:251
372
+ msgid "Include fade"
373
+ msgstr ""
374
+
375
+ #: advanced-iframe/advanced-iframe-admin-page.php:251
376
+ msgid "You can specify a fade in time that is used when the content is done loading. If you leave this setting entry the content is shown right away. If you specify a time in milliseconds then this content is faded in in the given time. This does sometimes looks nicer than if the content suddenly appears. Shortcode attribute: include_fade=\"\""
377
+ msgstr ""
378
+
379
+ #: advanced-iframe/advanced-iframe-admin-page.php:252
380
+ msgid "Hide page until include is loaded"
381
+ msgstr ""
382
+
383
+ #: advanced-iframe/advanced-iframe-admin-page.php:252
384
+ msgid "If you like to hide the whole page until the extra content is loaded you should set this to 'Yes'. You should test this setting and decide what looks best for you. Shortcode attribute: include_hide_page_until_loaded=\"true\" or include_hide_page_until_loaded=\"false\" "
385
+ msgstr ""
386
+
387
+ #: advanced-iframe/advanced-iframe-admin-page.php:265
388
  msgid "Wordpress Flash Uploader, TinyWebGallery, Joomla Flash Uploader"
389
  msgstr ""
390
 
391
+ #: advanced-iframe/advanced-iframe-admin-page.php:267
392
  msgid "This plugin is the extract for the iframe wrapper which was written for the TinyWebGallery. I needed an iframe wrapper that could do more than simply include a page. It needed to pass parameters to the iframe and modify the template on the fly to get more space for TWG. If you want to integrate TWG please use the \"TinyWebGallery wrapper\". It offers specific features only needed for the gallery. I hope this standalone wrapper is useful for other Wordpress users as well."
393
  msgstr ""
394
 
395
+ #: advanced-iframe/advanced-iframe-admin-page.php:270
396
  msgid "Please take a look at my other projects: Wordpress Flash Uploader, TinyWebGallery, Joomla Flash Uploader or TWG Flash Uploader. If you like TWG or one of my other projects like JFU, WFU or TFU you should consider to register because you can use all products with one single license and get all features of the gallery and a complete upload solution as well."
397
  msgstr ""
398
 
399
+ #: advanced-iframe/advanced-iframe-admin-page.php:273
400
  msgid "Please go <a href=\"http://www.tinywebgallery.com\" target=\"_blank\">www.tinywebgallery.com</a> for details."
401
  msgstr ""
402
 
403
+ #: advanced-iframe/advanced-iframe-admin-page.php:294
404
+ #: advanced-iframe/advanced-iframe-admin-page.php:313
405
+ #: advanced-iframe/advanced-iframe-admin-page.php:356
406
  msgid "Yes"
407
  msgstr ""
408
 
409
+ #: advanced-iframe/advanced-iframe-admin-page.php:298
410
+ #: advanced-iframe/advanced-iframe-admin-page.php:317
411
+ #: advanced-iframe/advanced-iframe-admin-page.php:360
412
  msgid "No"
413
  msgstr ""
414
 
415
+ #: advanced-iframe/advanced-iframe.php:225
416
  msgid "An invalid security key was specified. Please use at least the following shortcode:<br>[advanced_iframe securitykey=\"&lt;your security key - see settings&gt;\"]. Please also check in the html mode that your shortcode does only contain notmal spaces and not a &amp;nbsp; instead."
417
  msgstr ""
418
 
419
+ #: advanced-iframe/advanced-iframe.php:260
420
  msgid "Configuration error: The attributes content_id and content_styles have to have the amount of value sets separated by |."
421
  msgstr ""
422
 
423
+ #: advanced-iframe/advanced-iframe.php:299
424
  msgid "Configuration error: The attributes iframe_content_id and iframe_content_styles have to have the amount of value sets separated by |."
425
  msgstr ""
426
 
readme.txt CHANGED
@@ -1,12 +1,12 @@
1
  === Plugin Name ===
2
  Contributors: mdempfle, Michael Dempfle
3
  Donate link: http://www.tinywebgallery.com
4
- Tags: iframe, advanced, shortcode, widget
5
  Requires at least: 2.8.6
6
  Tested up to: 3.5.1
7
- Stable tag: 2.1
8
 
9
- This plugin includes any webpage as shortcode in an advanced iframe that can hide and modify elements and foreward parameters to the iframe.
10
 
11
  == Description ==
12
 
@@ -27,6 +27,7 @@ The following differences to a normal iframe are implemented:
27
  - Modify css styles inside iframe if the pages are on the same domain to e.g. change the width of the content area (new 2.0)
28
  - Add a css and js file to the parent page (new 2.0)
29
  - Show only a specifiy part of the page in the iframe if the pages are on the same domain (new 2.1)
 
30
 
31
  The following shortcode attributes can be used. Please go to the administration for details:
32
 
@@ -35,7 +36,8 @@ The following shortcode attributes can be used. Please go to the administration
35
  class="" url_forward_parameter="" onload="" onload_resize="" onload_scroll_top=""
36
  additional_js="" additional_css="" store_height_in_cookie="" additional_height=""
37
  iframe_content_id="", iframe_content_styles="", iframe_hide_elements="",
38
- onload_show_element_only=""]
 
39
 
40
  = Aministration =
41
  * See Settings -> Advanced iframe
@@ -77,6 +79,10 @@ http://www.tinywebgallery.com/blog/advanced-iframe/demo-advanced-iframe-2-0/
77
  First version.
78
 
79
  == Changelog ==
 
 
 
 
80
  = 2.1 =
81
  Show only a specifiy part of the page in the iframe if the pages are on the same domain.
82
 
1
  === Plugin Name ===
2
  Contributors: mdempfle, Michael Dempfle
3
  Donate link: http://www.tinywebgallery.com
4
+ Tags: iframe, embed, integration, content, advanced, shortcode, jQuery
5
  Requires at least: 2.8.6
6
  Tested up to: 3.5.1
7
+ Stable tag: 3.0
8
 
9
+ This plugin includes a webpage as shortcode in an advanced iframe that can hide and modify elements and foreward parameters to the iframe. You can also embed content directly to the page.
10
 
11
  == Description ==
12
 
27
  - Modify css styles inside iframe if the pages are on the same domain to e.g. change the width of the content area (new 2.0)
28
  - Add a css and js file to the parent page (new 2.0)
29
  - Show only a specifiy part of the page in the iframe if the pages are on the same domain (new 2.1)
30
+ - Embed a page or part of the page directly with jQuery if the pages are on the same domain (new 3.0)
31
 
32
  The following shortcode attributes can be used. Please go to the administration for details:
33
 
36
  class="" url_forward_parameter="" onload="" onload_resize="" onload_scroll_top=""
37
  additional_js="" additional_css="" store_height_in_cookie="" additional_height=""
38
  iframe_content_id="", iframe_content_styles="", iframe_hide_elements="",
39
+ onload_show_element_only="", include_url="", include_content="", include_height="",
40
+ include_fade="", include_hide_page_until_loaded=""]
41
 
42
  = Aministration =
43
  * See Settings -> Advanced iframe
79
  First version.
80
 
81
  == Changelog ==
82
+ = 3.0 =
83
+ A page or part of a page can now be embedded directly to the page with jQuery if the page is on the same domain. See the new section 'Include content directly'.
84
+ Tested with Wordpress 3.5.1
85
+
86
  = 2.1 =
87
  Show only a specifiy part of the page in the iframe if the pages are on the same domain.
88