FancyBox for WordPress - Version 1.0.2

Version Description

= 3.0.5 = Fixes the Revert options button and wrong version number on settings page. Also updates links in settings page and readme file.

Download this release

Release Info

Developer silkalns
Plugin Icon wp plugin FancyBox for WordPress
Version 1.0.2
Comparing to
See all releases

Code changes from version 3.0.8 to 1.0.2

Files changed (55) hide show
  1. trunk/admin.php +102 -0
  2. trunk/css/fancybox-admin.css +45 -0
  3. trunk/css/img/extra_donate.png +0 -0
  4. trunk/css/img/extra_twitter.png +0 -0
  5. trunk/css/img/ui-bg_flat_75_ffffff_40x100.png +0 -0
  6. trunk/css/img/ui-bg_glass_65_ffffff_1x400.png +0 -0
  7. trunk/css/img/ui-bg_glass_75_dadada_1x400.png +0 -0
  8. trunk/css/img/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  9. trunk/css/img/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  10. trunk/css/jquery-ui.css +64 -0
  11. trunk/fancybox.php +411 -0
  12. trunk/fancybox/blank.gif +0 -0
  13. trunk/fancybox/fancy_close.png +0 -0
  14. trunk/fancybox/fancy_loading.png +0 -0
  15. trunk/fancybox/fancy_nav_left.png +0 -0
  16. trunk/fancybox/fancy_nav_right.png +0 -0
  17. trunk/fancybox/fancy_shadow_e.png +0 -0
  18. trunk/fancybox/fancy_shadow_n.png +0 -0
  19. trunk/fancybox/fancy_shadow_ne.png +0 -0
  20. trunk/fancybox/fancy_shadow_nw.png +0 -0
  21. trunk/fancybox/fancy_shadow_s.png +0 -0
  22. trunk/fancybox/fancy_shadow_se.png +0 -0
  23. trunk/fancybox/fancy_shadow_sw.png +0 -0
  24. trunk/fancybox/fancy_shadow_w.png +0 -0
  25. trunk/fancybox/fancy_title_left.png +0 -0
  26. trunk/fancybox/fancy_title_main.png +0 -0
  27. trunk/fancybox/fancy_title_over.png +0 -0
  28. trunk/fancybox/fancy_title_right.png +0 -0
  29. trunk/fancybox/fancybox-x.png +0 -0
  30. trunk/fancybox/fancybox-y.png +0 -0
  31. trunk/fancybox/fancybox.css +357 -0
  32. trunk/fancybox/fancybox.png +0 -0
  33. trunk/fancybox/jquery.fancybox.js +46 -0
  34. trunk/js/admin.js +86 -0
  35. trunk/js/jquery.easing.1.3.min.js +2 -0
  36. trunk/js/jquery.mousewheel.3.0.4.pack.js +14 -0
  37. trunk/languages/mfbfw-es_ES.mo +0 -0
  38. trunk/languages/mfbfw-es_ES.po +1050 -0
  39. trunk/languages/mfbfw-ja.po +325 -0
  40. trunk/languages/mfbfw-tr_TR.po +325 -0
  41. trunk/languages/mfbfw.pot +741 -0
  42. trunk/lib/admin-head.php +20 -0
  43. trunk/lib/admin-tab-animations.php +159 -0
  44. trunk/lib/admin-tab-appearance.php +186 -0
  45. trunk/lib/admin-tab-behaviour.php +111 -0
  46. trunk/lib/admin-tab-calls.php +43 -0
  47. trunk/lib/admin-tab-galleries.php +66 -0
  48. trunk/lib/admin-tab-info.php +9 -0
  49. trunk/lib/admin-tab-other.php +100 -0
  50. trunk/lib/admin-tab-support.php +15 -0
  51. trunk/lib/admin-tab-troubleshooting.php +27 -0
  52. trunk/lib/admin-tab-uninstall.php +23 -0
  53. trunk/readme.txt +235 -0
  54. trunk/screenshot-1.png +0 -0
  55. trunk/screenshot-2.png +0 -0
trunk/admin.php ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function mfbfw_options_page() {
4
+
5
+ require_once( FBFW_PATH . 'lib/admin-head.php' );
6
+
7
+ ?>
8
+
9
+ <div class="wrap">
10
+
11
+ <div id="icon-plugins" class="icon32"></div><h2><?php printf( __('Fancybox for WordPress (version %s)', 'mfbfw'), FBFW_VERSION ); ?></h2>
12
+
13
+ <br />
14
+
15
+ <form method="post" action="options.php" id="options">
16
+
17
+ <?php settings_fields( 'mfbfw-options' ); ?>
18
+
19
+ <div id="fbfwTabs">
20
+
21
+ <ul>
22
+ <li><a href="#fbfw-info"><?php _e( 'Info', 'mfbfw' ); ?></a></li>
23
+ <li><a href="#fbfw-appearance"><?php _e( 'Appearance', 'mfbfw' ); ?></a></li>
24
+ <li><a href="#fbfw-animations"><?php _e( 'Animations', 'mfbfw' ); ?></a></li>
25
+ <li><a href="#fbfw-behaviour"><?php _e( 'Behaviour', 'mfbfw' ); ?></a></li>
26
+ <li><a href="#fbfw-galleries"><?php _e( 'Galleries', 'mfbfw' ); ?></a></li>
27
+ <li><a href="#fbfw-other"><?php _e( 'Miscellaneous', 'mfbfw' ); ?></a></li>
28
+ <li><a href="#fbfw-calls"><?php _e( 'Extra Calls', 'mfbfw' ); ?></a></li>
29
+ <li><a href="#fbfw-troubleshooting"><?php _e( 'Troubleshooting', 'mfbfw' ); ?></a></li>
30
+ <li><a href="#fbfw-support" style="color:green;"><?php _e( 'Support', 'mfbfw' ); ?></a></li>
31
+ <li><a href="#fbfw-uninstall" style="color:red;"><?php _e ('Uninstall', 'mfbfw' ); ?></a></li>
32
+ </ul>
33
+
34
+ <div id="fbfw-info">
35
+ <?php require_once ( FBFW_PATH . 'lib/admin-tab-info.php' ); ?>
36
+ </div>
37
+
38
+ <div id="fbfw-appearance">
39
+ <?php require_once ( FBFW_PATH . 'lib/admin-tab-appearance.php' ); ?>
40
+ </div>
41
+
42
+ <div id="fbfw-animations">
43
+ <?php require_once ( FBFW_PATH . 'lib/admin-tab-animations.php' ); ?>
44
+ </div>
45
+
46
+ <div id="fbfw-behaviour">
47
+ <?php require_once ( FBFW_PATH . 'lib/admin-tab-behaviour.php' ); ?>
48
+ </div>
49
+
50
+ <div id="fbfw-galleries">
51
+ <?php require_once ( FBFW_PATH . 'lib/admin-tab-galleries.php' ); ?>
52
+ </div>
53
+
54
+ <div id="fbfw-other">
55
+ <?php require_once ( FBFW_PATH . 'lib/admin-tab-other.php' ); ?>
56
+ </div>
57
+
58
+ <div id="fbfw-calls">
59
+ <?php require_once ( FBFW_PATH . 'lib/admin-tab-calls.php' ); ?>
60
+ </div>
61
+
62
+ <div id="fbfw-troubleshooting">
63
+ <?php require_once ( FBFW_PATH . 'lib/admin-tab-troubleshooting.php' ); ?>
64
+ </div>
65
+
66
+ <div id="fbfw-support">
67
+ <?php require_once ( FBFW_PATH . 'lib/admin-tab-support.php' ); ?>
68
+ </div>
69
+
70
+ <div id="fbfw-uninstall">
71
+ <?php require_once ( FBFW_PATH . 'lib/admin-tab-uninstall.php' ); ?>
72
+ </div>
73
+
74
+ </div>
75
+
76
+ <p class="submit" style="text-align:center;">
77
+ <input type="submit" name="mfbfw_update" class="button-primary" value="<?php esc_attr_e( 'Save Changes', 'mfbfw' ); ?>" />
78
+ </p>
79
+
80
+ </form>
81
+
82
+ <form method="post" action="">
83
+ <div style="text-align:center;padding:0 0 1.5em;margin:-15px 0 5px;">
84
+ <?php wp_nonce_field( 'mfbfw-options-reset' ); ?>
85
+ <input type="submit" name="mfbfw_update" id="reset" onClick="return confirmDefaults();" class="button-secondary" value="<?php esc_attr_e( 'Revert to defaults', 'mfbfw' ); ?>" />
86
+ <input type="hidden" name="action" value="reset" />
87
+ </div>
88
+ </form>
89
+
90
+ <div id="mfbfwd" style="border-top:1px dashed #DDDDDD;margin:20px 0 40px;overflow:hidden;padding-top:25px;width:100%;float:left">
91
+
92
+ Plugin developer and supported by <a href="https://colorlib.com">Colorlib</a>
93
+
94
+ </div>
95
+
96
+ </div>
97
+
98
+ <?php
99
+
100
+ }
101
+
102
+ ?>
trunk/css/fancybox-admin.css ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #mfbfwd {
2
+ border-top:1px dashed #DDDDDD;
3
+ margin:20px auto 40px;
4
+ overflow:hidden;
5
+ padding-top:25px;
6
+ width:726px;
7
+ }
8
+
9
+ .mfbfw_box {
10
+ border-radius:3px;
11
+ float:left;
12
+ font-weight:bold;
13
+ height:90px;
14
+ margin:5px 5px 3px;
15
+ opacity:0.7;
16
+ padding:0 5px;
17
+ text-align:center;
18
+ width:220px;
19
+ }
20
+
21
+ .mfbfw_box:hover {
22
+ opacity:0.9;
23
+ }
24
+
25
+ .mfbfw_blue {
26
+ background:#fdca57;
27
+ border:1px solid #d7922d;
28
+ color:#975c25;
29
+ -webkit-box-shadow: inset 0px 0px 20px 5px #fb9822, inset 0px 1px 0px #fff, 0 0 0 2px rgba(0,0,0,0.05), 0 0 2px rgba(0,0,0,0.5);
30
+ -moz-box-shadow: inset 0px 0px 20px 5px #fb9822, inset 0px 1px 0px #fff, 0 0 0 2px rgba(0,0,0,0.05), 0 0 2px rgba(0,0,0,0.5);
31
+ box-shadow: inset 0px 0px 20px 5px #fb9822, inset 0px 1px 0px #fff, 0 0 0 2px rgba(0,0,0,0.05), 0 0 2px rgba(0,0,0,0.5);
32
+ text-shadow: 0px 1px 0px #fee27d;
33
+ filter: dropshadow(color=#ffd21f, offx=0, offy=1);
34
+ }
35
+
36
+ .mfbfw_yellow {
37
+ background:#fdca57;
38
+ border:1px solid #d7922d;
39
+ color:#975c25;
40
+ -webkit-box-shadow: inset 0px 0px 20px 5px #fb9822, inset 0px 1px 0px #fff, 0 0 0 2px rgba(0,0,0,0.05), 0 0 2px rgba(0,0,0,0.5);
41
+ -moz-box-shadow: inset 0px 0px 20px 5px #fb9822, inset 0px 1px 0px #fff, 0 0 0 2px rgba(0,0,0,0.05), 0 0 2px rgba(0,0,0,0.5);
42
+ box-shadow: inset 0px 0px 20px 5px #fb9822, inset 0px 1px 0px #fff, 0 0 0 2px rgba(0,0,0,0.05), 0 0 2px rgba(0,0,0,0.5);
43
+ text-shadow: 0px 1px 0px #fee27d;
44
+ filter: dropshadow(color=#ffd21f, offx=0, offy=1);
45
+ }
trunk/css/img/extra_donate.png ADDED
Binary file
trunk/css/img/extra_twitter.png ADDED
Binary file
trunk/css/img/ui-bg_flat_75_ffffff_40x100.png ADDED
Binary file
trunk/css/img/ui-bg_glass_65_ffffff_1x400.png ADDED
Binary file
trunk/css/img/ui-bg_glass_75_dadada_1x400.png ADDED
Binary file
trunk/css/img/ui-bg_glass_75_e6e6e6_1x400.png ADDED
Binary file
trunk/css/img/ui-bg_highlight-soft_75_cccccc_1x100.png ADDED
Binary file
trunk/css/jquery-ui.css ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jQuery UI CSS Framework
3
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
4
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
5
+ */
6
+
7
+
8
+ /* Layout helpers
9
+ ----------------------------------*/
10
+ .ui-helper-hidden { display: none; }
11
+ .ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
12
+ .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
13
+ .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
14
+ .ui-helper-clearfix { display: inline-block; }
15
+ /* required comment for clearfix to work in Opera \*/
16
+ * html .ui-helper-clearfix { height:1%; }
17
+ .ui-helper-clearfix { display:block; }
18
+ /* end clearfix */
19
+ .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
20
+
21
+
22
+ /* Tabs
23
+ ----------------------------------*/
24
+ .ui-tabs { padding: .2em; zoom: 1; }
25
+ .ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; }
26
+ .ui-tabs .ui-tabs-nav li { font-size:.8em; position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; }
27
+ .ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; }
28
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
29
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
30
+ .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
31
+ .ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; }
32
+ .ui-tabs .ui-tabs-hide { display: none !important; }
33
+
34
+
35
+ /* Component containers
36
+ ----------------------------------*/
37
+ .ui-widget { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1.1em/*{fsDefault}*/; }
38
+ .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1em; }
39
+ .ui-widget-content { border: 1px solid #aaaaaa/*{borderColorContent}*/; background: #ffffff/*{bgColorContent}*/ url(img/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; overflow: hidden; }
40
+ .ui-widget-header { border: 1px solid #aaaaaa/*{borderColorHeader}*/; background: #cccccc/*{bgColorHeader}*/ url(img/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; color: #222222/*{fcHeader}*/; font-weight: bold; }
41
+ .ui-widget-header a { color: #222222/*{fcHeader}*/; }
42
+
43
+
44
+ /* Interaction states
45
+ ----------------------------------*/
46
+ .ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #d3d3d3/*{borderColorDefault}*/; background: #e6e6e6/*{bgColorDefault}*/ url(img/ui-bg_glass_75_e6e6e6_1x400.png)/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #555555/*{fcDefault}*/; outline: none; }
47
+ .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555/*{fcDefault}*/; text-decoration: none; outline: none; }
48
+ .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999/*{borderColorHover}*/; background: #dadada/*{bgColorHover}*/ url(img/ui-bg_glass_75_dadada_1x400.png)/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcHover}*/; outline: none; }
49
+ .ui-state-hover a, .ui-state-hover a:hover { color: #212121/*{fcHover}*/; text-decoration: none; outline: none; }
50
+ .ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #aaaaaa/*{borderColorActive}*/; background: #ffffff/*{bgColorActive}*/ url(img/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcActive}*/; outline: none; }
51
+ .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121/*{fcActive}*/; outline: none; text-decoration: none; }
52
+
53
+
54
+ /* Misc visuals
55
+ ----------------------------------*/
56
+ .ui-corner-tl { border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; }
57
+ .ui-corner-tr { border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; }
58
+ .ui-corner-bl { border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; }
59
+ .ui-corner-br { border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; }
60
+ .ui-corner-top { border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; }
61
+ .ui-corner-bottom { border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; }
62
+ .ui-corner-right { border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; }
63
+ .ui-corner-left { border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; }
64
+ .ui-corner-all { border-radius: 4px/*{cornerRadius}*/; -webkit-border-radius: 4px/*{cornerRadius}*/; }
trunk/fancybox.php ADDED
@@ -0,0 +1,411 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: FancyBox for WordPress
4
+ Plugin URI: https://wordpress.org/plugins/fancybox-for-wordpress/
5
+ Description: Integrates FancyBox by Janis Skarnelis into WordPress.
6
+ Version: 3.0.8
7
+ Author: Colorlib
8
+ Author URI: https://colorlib.com/
9
+
10
+ * FancyBox is Copyright (c) 2008 - 2010 Janis Skarnelis
11
+ * Dual licensed under the MIT and GPL licenses:
12
+ * http://www.opensource.org/licenses/mit-license.php
13
+ * http://www.gnu.org/licenses/gpl.html
14
+
15
+ */
16
+
17
+
18
+
19
+ /**
20
+ * Constants
21
+ */
22
+
23
+ define( 'FBFW_VERSION', '3.0.8' );
24
+ define( 'FBFW_PATH', plugin_dir_path(__FILE__) );
25
+ define( 'FBFW_URL', plugin_dir_url(__FILE__) );
26
+
27
+
28
+
29
+ /**
30
+ * Store default settings in an array
31
+ */
32
+
33
+ function mfbfw_defaults() {
34
+
35
+ $defaults_array = array(
36
+
37
+ // Appearance
38
+ 'border' => '',
39
+ 'borderColor' => '#BBBBBB',
40
+ 'showCloseButton' => 'on',
41
+ 'closeHorPos' => 'right',
42
+ 'closeVerPos' => 'top',
43
+ 'paddingColor' => '#FFFFFF',
44
+ 'padding' => '10',
45
+ 'overlayShow' => 'on',
46
+ 'overlayColor' => '#666666',
47
+ 'overlayOpacity' => '0.3',
48
+ 'titleShow' => 'on',
49
+ 'titlePosition' => 'inside',
50
+ 'titleColor' => '#333333',
51
+ 'showNavArrows' => 'on',
52
+
53
+ // Animations
54
+ 'zoomOpacity' => 'on',
55
+ 'zoomSpeedIn' => '500',
56
+ 'zoomSpeedOut' => '500',
57
+ 'zoomSpeedChange' => '300',
58
+ 'transitionIn' => 'fade',
59
+ 'transitionOut' => 'fade',
60
+ 'easing' => '',
61
+ 'easingIn' => 'easeOutBack',
62
+ 'easingOut' => 'easeInBack',
63
+ 'easingChange' => 'easeInOutQuart',
64
+
65
+ // Behaviour
66
+ 'imageScale' => 'on',
67
+ 'centerOnScroll' => 'on',
68
+ 'hideOnContentClick' => '',
69
+ 'hideOnOverlayClick' => 'on',
70
+ 'enableEscapeButton' => 'on',
71
+ 'cyclic' => '',
72
+ 'mouseWheel' => '',
73
+
74
+ // Gallery Type
75
+ 'galleryType' => 'all',
76
+ 'customExpression' => 'jQuery(thumbnails).addClass("fancybox").attr("rel","fancybox").getTitle();',
77
+
78
+ // Other
79
+ 'autoDimensions' => 'on',
80
+ 'frameWidth' => '560',
81
+ 'frameHeight' => '340',
82
+ 'loadAtFooter' => '',
83
+ 'callbackEnable' => '',
84
+ 'callbackOnStart' => 'function() { alert("Start!"); }',
85
+ 'callbackOnCancel' => 'function() { alert("Cancel!"); }',
86
+ 'callbackOnComplete' => 'function() { alert("Complete!"); }',
87
+ 'callbackOnCleanup' => 'function() { alert("CleanUp!"); }',
88
+ 'callbackOnClose' => 'function() { alert("Close!"); }',
89
+
90
+ // Troubleshooting
91
+ 'nojQuery' => '',
92
+
93
+ // Extra Calls
94
+ 'extraCallsEnable' => '',
95
+ 'extraCallsData' => '',
96
+
97
+ // Uninstall
98
+ 'uninstall' => ''
99
+
100
+ );
101
+
102
+ return $defaults_array;
103
+ }
104
+
105
+
106
+
107
+ /**
108
+ * When plugin is installed, write default settings and update version
109
+ */
110
+
111
+ function mfbfw_install() {
112
+
113
+ $defaults_array = mfbfw_defaults();
114
+ add_option( 'mfbfw', $defaults_array );
115
+ update_option( 'mfbfw_active_version', FBFW_VERSION );
116
+
117
+ }
118
+ register_activation_hook( __FILE__, 'mfbfw_install' );
119
+
120
+
121
+
122
+ /**
123
+ * If requested, when plugin is deactivated, remove settings
124
+ */
125
+
126
+ function mfbfw_uninstall() {
127
+ $settings = get_option( 'mfbfw' );
128
+ if ( isset($settings['uninstall']) && $settings['uninstall'] ) {
129
+ delete_option( 'mfbfw' );
130
+ delete_option( 'mfbfw_active_version' );
131
+ }
132
+ }
133
+ register_deactivation_hook( __FILE__, 'mfbfw_uninstall' );
134
+
135
+
136
+
137
+ /**
138
+ * Here we load FancyBox JS with jQuery and jQuery.easing if necessary
139
+ */
140
+
141
+ function mfbfw_register_scripts() {
142
+
143
+ $settings = get_option( 'mfbfw' );
144
+
145
+ // Check if script should be loaded in footer
146
+ if ( isset($settings['loadAtFooter']) && $settings['loadAtFooter'] ) {
147
+ $footer = true;
148
+ } else {
149
+ $footer = false;
150
+ }
151
+
152
+ // Check if plugin should not call jQuery script (for troubleshooting only)
153
+ if ( isset($settings['nojQuery']) && $settings['nojQuery'] ) {
154
+ $jquery = false;
155
+ } else {
156
+ $jquery = array('jquery');
157
+ }
158
+
159
+ // Register scripts
160
+ wp_register_script('fancybox', FBFW_URL . 'fancybox/jquery.fancybox.js', $jquery, '1.3.8', $footer ); // Main Fancybox script
161
+ wp_register_script('jqueryeasing', FBFW_URL . 'js/jquery.easing.min.js', false, '1.4', $footer ); // Easing animations script
162
+ wp_register_script('jquerymousewheel', FBFW_URL . 'js/jquery.mousewheel.pack.js', false, '3.1.13', $footer ); // Mouse wheel support script
163
+
164
+
165
+ }
166
+ add_action( 'init', 'mfbfw_register_scripts' );
167
+
168
+ function mfbfw_scripts() {
169
+
170
+ $settings = get_option( 'mfbfw' );
171
+
172
+ wp_enqueue_script( 'fancybox' ); // Load fancybox
173
+
174
+ if ( isset($settings['easing']) && $settings['easing'] ) {
175
+ wp_enqueue_script( 'jqueryeasing' ); // Load easing javascript file if required
176
+ }
177
+
178
+ if ( isset($settings['mouseWheel']) && $settings['mouseWheel'] ) {
179
+ wp_enqueue_script( 'jquerymousewheel' ); // Load mouse wheel javascript file if required
180
+ }
181
+
182
+ }
183
+ add_action( 'wp_enqueue_scripts', 'mfbfw_scripts' ); // Load Scripts
184
+
185
+
186
+
187
+ /**
188
+ * Link to FancyBox stylesheet and apply some custom styles
189
+ */
190
+
191
+ function mfbfw_styles() {
192
+
193
+ $settings = get_option( 'mfbfw' );
194
+ wp_enqueue_style( 'fancybox', FBFW_URL . 'fancybox/fancybox.css' );
195
+
196
+ ?>
197
+
198
+ <style type="text/css">
199
+ #fancybox-close{<?php echo $settings['closeHorPos']; ?>:-15px;<?php echo $settings['closeVerPos']; ?>:-15px}
200
+ <?php if ( isset($settings['paddingColor']) && $settings['paddingColor'] ) { echo "div#fancybox-content{border-color:" . $settings['paddingColor'] . "}\n"; } ?>
201
+ <?php if ( isset($settings['paddingColor']) && $settings['paddingColor'] && $settings['titlePosition'] == "inside" ) { echo "div#fancybox-title{background-color:" . $settings['paddingColor'] . "}\n"; } ?>
202
+ div#fancybox-outer{background-color:<?php echo $settings['paddingColor']; if ( isset($settings['border']) && $settings['border'] ) { echo "; border:1px solid " . $settings['borderColor']; } echo "}\n"; ?>
203
+ <?php if ( isset($settings['titleColor']) && $settings['titleColor'] && $settings['titlePosition'] == "inside" ) { echo "div#fancybox-title-inside{color:" . $settings['titleColor'] . "}\n"; } ?>
204
+ </style>
205
+
206
+ <?php
207
+
208
+ }
209
+ add_action( 'wp_enqueue_scripts', 'mfbfw_styles' );
210
+
211
+
212
+
213
+ /**
214
+ * Load FancyBox with the settings set
215
+ */
216
+
217
+ function mfbfw_init() {
218
+
219
+ $settings = get_option( 'mfbfw' );
220
+
221
+ echo "\n<!-- Fancybox for WordPress -->"; ?>
222
+
223
+ <script type="text/javascript">
224
+ jQuery(function(){
225
+
226
+ jQuery.fn.getTitle = function() { // Copy the title of every IMG tag and add it to its parent A so that fancybox can show titles
227
+ var arr = jQuery("a.fancybox");
228
+ jQuery.each(arr, function() {
229
+ var title = jQuery(this).children("img").attr("title");
230
+ jQuery(this).attr('title',title);
231
+ })
232
+ }
233
+
234
+ // Supported file extensions
235
+ var thumbnails = jQuery("a:has(img)").not(".nolightbox").filter( function() { return /\.(jpe?g|png|gif|bmp)$/i.test(jQuery(this).attr('href')) });
236
+
237
+ <?php if ( $settings['galleryType'] == 'post' ) {
238
+
239
+ // Gallery type BY POST and we are on post or page (so only one post or page is visible)
240
+ if ( is_single() | is_page() ) {
241
+ echo 'thumbnails.addClass("fancybox").attr("rel","fancybox").getTitle();';
242
+ }
243
+
244
+ // Gallery type BY POST, but we are neither on post or page, so we make a different rel attribute on each post
245
+ else {
246
+ echo 'var posts = jQuery(".post");
247
+
248
+ posts.each(function() {
249
+ jQuery(this).find(thumbnails).addClass("fancybox").attr("rel","fancybox"+posts.index(this)).getTitle()
250
+ });';
251
+ }
252
+
253
+ }
254
+
255
+ // Gallery type ALL
256
+ elseif ( $settings['galleryType'] == 'all' ) {
257
+ echo 'thumbnails.addClass("fancybox").attr("rel","fancybox").getTitle();';
258
+ }
259
+
260
+ // Gallery type NONE
261
+ elseif ( $settings['galleryType'] == 'none' ) {
262
+ echo 'thumbnails.addClass("fancybox").getTitle();';
263
+ }
264
+
265
+ // Else, gallery type is custom, so we just print the custom expression
266
+ else {
267
+ echo $settings['customExpression'];
268
+ }
269
+
270
+ // Now we call fancybox and apply it on any link with a rel atribute that starts with "fancybox", with the options set on the admin panel
271
+ ?>
272
+
273
+ jQuery("a.fancybox").fancybox({
274
+ 'cyclic': <?php if ( isset($settings['cyclic']) && $settings['cyclic'] ) { echo "true"; } else { echo "false"; } ?>,
275
+ 'autoScale': <?php if ( isset($settings['imageScale']) && $settings['imageScale'] ) { echo "true"; } else { echo "false"; } ?>,
276
+ 'padding': <?php echo $settings['padding']; ?>,
277
+ 'opacity': <?php if ( isset($settings['zoomOpacity']) && $settings['zoomOpacity'] ) { echo "true"; } else { echo "false"; } ?>,
278
+ 'speedIn': <?php echo $settings['zoomSpeedIn']; ?>,
279
+ 'speedOut': <?php echo $settings['zoomSpeedOut']; ?>,
280
+ 'changeSpeed': <?php echo $settings['zoomSpeedChange']; ?>,
281
+ 'overlayShow': <?php if ( isset($settings['overlayShow']) && $settings['overlayShow'] ) { echo "true"; } else { echo "false"; } ?>,
282
+ 'overlayOpacity': <?php echo '"' . $settings['overlayOpacity'] . '"'; ?>,
283
+ 'overlayColor': <?php echo '"' . $settings['overlayColor'] . '"'; ?>,
284
+ 'titleShow': <?php if ( isset($settings['titleShow']) && $settings['titleShow'] ) { echo "true"; } else { echo "false"; } ?>,
285
+ 'titlePosition': '<?php echo $settings['titlePosition']; ?>',
286
+ 'enableEscapeButton': <?php if ( isset($settings['enableEscapeButton']) && $settings['enableEscapeButton'] ) { echo "true"; } else { echo "false"; } ?>,
287
+ 'showCloseButton': <?php if ( isset($settings['showCloseButton']) && $settings['showCloseButton'] ) { echo "true"; } else { echo "false"; } ?>,
288
+ 'showNavArrows': <?php if ( isset($settings['showNavArrows']) && $settings['showNavArrows'] ) { echo "true"; } else { echo "false"; } ?>,
289
+ 'hideOnOverlayClick': <?php if ( isset($settings['hideOnOverlayClick']) && $settings['hideOnOverlayClick'] ) { echo "true"; } else { echo "false"; } ?>,
290
+ 'hideOnContentClick': <?php if ( isset($settings['hideOnContentClick']) && $settings['hideOnContentClick'] ) { echo "true"; } else { echo "false"; } ?>,
291
+ 'width': <?php echo $settings['frameWidth']; ?>,
292
+ 'height': <?php echo $settings['frameHeight']; ?>,
293
+ 'transitionIn': <?php echo '"' . $settings['transitionIn'] . '"'; ?>,
294
+ 'transitionOut': <?php echo '"' . $settings['transitionOut'] . '"'; ?>,
295
+ <?php if ( isset($settings['callbackEnable'], $settings['callbackOnStart']) && $settings['callbackEnable'] && $settings['callbackOnStart'] ) echo "\t'onStart': ". $settings['callbackOnStart'] .","."\n"; ?>
296
+ <?php if ( isset($settings['callbackEnable'], $settings['callbackOnCancel']) && $settings['callbackEnable'] && $settings['callbackOnCancel'] ) echo "\t'onCancel': ". $settings['callbackOnCancel'] .","."\n"; ?>
297
+ <?php if ( isset($settings['callbackEnable'], $settings['callbackOnCleanup']) && $settings['callbackEnable'] && $settings['callbackOnCleanup'] ) echo "\t'onCleanup': ". $settings['callbackOnCleanup'] .","."\n"; ?>
298
+ <?php if ( isset($settings['callbackEnable'], $settings['callbackOnComplete']) && $settings['callbackEnable'] && $settings['callbackOnComplete'] ) echo "\t'onComplete': ". $settings['callbackOnComplete'] .","."\n"; ?>
299
+ <?php if ( isset($settings['callbackEnable'], $settings['callbackOnClose']) && $settings['callbackEnable'] && $settings['callbackOnClose'] ) echo "\t'onClosed': ". $settings['callbackOnClose'] .","."\n"; ?>
300
+ 'centerOnScroll': <?php if ( isset($settings['centerOnScroll']) && $settings['centerOnScroll'] ) { echo "true"; } else { echo "false"; } ?><?php if ( isset($settings['easing']) && $settings['easing'] ) { ?>,
301
+ 'easingIn': <?php echo '"' . $settings['easingIn'] . '"'; ?>,
302
+ 'easingOut': <?php echo '"' . $settings['easingOut'] . '"'; ?>,
303
+ 'easingChange': <?php echo '"' . $settings['easingChange'] . '"';
304
+ } ?>
305
+
306
+ });
307
+
308
+ <?php if ( isset($settings['extraCallsEnable']) && $settings['extraCallsEnable'] ) { echo $settings['extraCallsData']; echo "\n"; } ?>
309
+
310
+ })
311
+ </script>
312
+ <?php echo "<!-- END Fancybox for WordPress -->\n";
313
+ }
314
+ add_action( 'wp_head', 'mfbfw_init' );
315
+
316
+
317
+
318
+ /**
319
+ * Load text domain
320
+ */
321
+
322
+ function mfbfw_textdomain() {
323
+
324
+ if ( function_exists('load_plugin_textdomain') ) {
325
+ load_plugin_textdomain( 'mfbfw', FBFW_URL . 'languages', 'fancybox-for-wordpress/languages' );
326
+ }
327
+
328
+ }
329
+ add_action( 'init', 'mfbfw_textdomain' );
330
+
331
+
332
+
333
+ /**
334
+ * Register Options
335
+ */
336
+
337
+ function mfbfw_admin_options() {
338
+
339
+ $settings = get_option( 'mfbfw' );
340
+
341
+ if ( isset($_GET['page']) && $_GET['page'] == 'fancybox-for-wordpress' ) {
342
+
343
+ if ( isset($_REQUEST['action']) && 'reset' == $_REQUEST['action'] && check_admin_referer( 'mfbfw-options-reset' ) ) {
344
+
345
+ $defaults_array = mfbfw_defaults(); // Store defaults in an array
346
+ update_option( 'mfbfw', $defaults_array ); // Write defaults to database
347
+ wp_safe_redirect( add_query_arg('reset', 'true') );
348
+ die;
349
+
350
+ }
351
+ }
352
+
353
+ register_setting( 'mfbfw-options', 'mfbfw' );
354
+
355
+ }
356
+ add_action( 'admin_init', 'mfbfw_admin_options' );
357
+
358
+
359
+
360
+ /**
361
+ * Admin options page
362
+ */
363
+
364
+ function mfbfw_admin_menu() {
365
+
366
+ require FBFW_PATH . 'admin.php';
367
+
368
+ $mfbfwadmin = add_submenu_page( 'options-general.php', 'Fancybox for WordPress Options', 'Fancybox for WP', 'manage_options', 'fancybox-for-wordpress', 'mfbfw_options_page' );
369
+
370
+ add_action( 'admin_print_styles-' . $mfbfwadmin, 'mfbfw_admin_styles' );
371
+ add_action( 'admin_print_scripts-' . $mfbfwadmin, 'mfbfw_admin_scripts' );
372
+
373
+ }
374
+ add_action('admin_menu', 'mfbfw_admin_menu');
375
+
376
+
377
+
378
+ /**
379
+ * Load Admin CSS & JS (called in mfbfw_admin_menu())
380
+ */
381
+
382
+ function mfbfw_admin_styles() {
383
+ wp_enqueue_style( 'fancybox-admin', FBFW_URL . 'css/fancybox-admin.css' ); // Load custom CSS for Admin Page
384
+ wp_enqueue_style( 'jquery-ui', FBFW_URL . 'css/jquery-ui.css' ); // Load jQuery UI Tabs CSS for Admin Page
385
+ }
386
+
387
+ function mfbfw_admin_scripts() {
388
+ wp_enqueue_script( 'jquery-ui-tabs', array('jquery-ui-core') ); // Load jQuery UI Tabs JS for Admin Page
389
+ wp_enqueue_script( 'fancybox-admin', FBFW_URL . 'js/admin.js', array('jquery') ); // Load specific JS for Admin Page
390
+ }
391
+
392
+
393
+
394
+ /**
395
+ * Settings Button on Plugins Panel
396
+ */
397
+
398
+ function mfbfw_plugin_action_links($links, $file) {
399
+
400
+ static $this_plugin;
401
+ if ( ! $this_plugin ) $this_plugin = plugin_basename( __FILE__ );
402
+
403
+ if ( $file == $this_plugin ){
404
+ $settings_link = '<a href="options-general.php?page=fancybox-for-wordpress">' . __( 'Settings', 'mfbfw' ) . '</a>';
405
+ array_unshift( $links, $settings_link );
406
+ }
407
+
408
+ return $links;
409
+
410
+ }
411
+ add_filter( 'plugin_action_links', 'mfbfw_plugin_action_links', 10, 2 );
trunk/fancybox/blank.gif ADDED
Binary file
trunk/fancybox/fancy_close.png ADDED
Binary file
trunk/fancybox/fancy_loading.png ADDED
Binary file
trunk/fancybox/fancy_nav_left.png ADDED
Binary file
trunk/fancybox/fancy_nav_right.png ADDED
Binary file
trunk/fancybox/fancy_shadow_e.png ADDED
Binary file
trunk/fancybox/fancy_shadow_n.png ADDED
Binary file
trunk/fancybox/fancy_shadow_ne.png ADDED
Binary file
trunk/fancybox/fancy_shadow_nw.png ADDED
Binary file
trunk/fancybox/fancy_shadow_s.png ADDED
Binary file
trunk/fancybox/fancy_shadow_se.png ADDED
Binary file
trunk/fancybox/fancy_shadow_sw.png ADDED
Binary file
trunk/fancybox/fancy_shadow_w.png ADDED
Binary file
trunk/fancybox/fancy_title_left.png ADDED
Binary file
trunk/fancybox/fancy_title_main.png ADDED
Binary file
trunk/fancybox/fancy_title_over.png ADDED
Binary file
trunk/fancybox/fancy_title_right.png ADDED
Binary file
trunk/fancybox/fancybox-x.png ADDED
Binary file
trunk/fancybox/fancybox-y.png ADDED
Binary file
trunk/fancybox/fancybox.css ADDED
@@ -0,0 +1,357 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * FancyBox - jQuery Plugin
3
+ * Simple and fancy lightbox alternative
4
+ *
5
+ * Examples and documentation at: http://fancybox.net
6
+ *
7
+ * Copyright (c) 2008 - 2010 Janis Skarnelis
8
+ * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
9
+ *
10
+ * Version: 1.3.4 (11/11/2010)
11
+ * Requires: jQuery v1.3+
12
+ *
13
+ * Dual licensed under the MIT and GPL licenses:
14
+ * http://www.opensource.org/licenses/mit-license.php
15
+ * http://www.gnu.org/licenses/gpl.html
16
+ */
17
+
18
+ #fancybox-loading {
19
+ position: fixed;
20
+ top: 50%;
21
+ left: 50%;
22
+ width: 40px;
23
+ height: 40px;
24
+ margin-top: -20px;
25
+ margin-left: -20px;
26
+ cursor: pointer;
27
+ overflow: hidden;
28
+ z-index: 110004;
29
+ display: none;
30
+ }
31
+
32
+ #fancybox-loading div {
33
+ position: absolute;
34
+ top: 0;
35
+ left: 0;
36
+ width: 40px;
37
+ height: 480px;
38
+ background-image: url('fancybox.png');
39
+ }
40
+
41
+ #fancybox-overlay {
42
+ position: absolute;
43
+ top: 0;
44
+ left: 0;
45
+ width: 100%;
46
+ z-index: 110000;
47
+ display: none;
48
+ }
49
+
50
+ #fancybox-tmp {
51
+ padding: 0;
52
+ margin: 0;
53
+ border: 0;
54
+ overflow: auto;
55
+ display: none;
56
+ }
57
+
58
+ #fancybox-wrap {
59
+ position: absolute;
60
+ top: 0;
61
+ left: 0;
62
+ padding: 20px;
63
+ z-index: 110001;
64
+ outline: none;
65
+ display: none;
66
+ }
67
+
68
+ #fancybox-outer {
69
+ position: relative;
70
+ width: 100%;
71
+ height: 100%;
72
+ background: #fff;
73
+ }
74
+
75
+ #fancybox-content {
76
+ width: 0;
77
+ height: 0;
78
+ padding: 0;
79
+ outline: none;
80
+ position: relative;
81
+ overflow: hidden;
82
+ z-index: 110002;
83
+ border: 0px solid #fff;
84
+ }
85
+
86
+ #fancybox-hide-sel-frame {
87
+ position: absolute;
88
+ top: 0;
89
+ left: 0;
90
+ width: 100%;
91
+ height: 100%;
92
+ background: transparent;
93
+ z-index: 110001;
94
+ }
95
+
96
+ #fancybox-close {
97
+ position: absolute;
98
+ width: 30px;
99
+ height: 30px;
100
+ background: transparent url('fancybox.png') -40px 0px;
101
+ cursor: pointer;
102
+ z-index: 110003;
103
+ display: none;
104
+ }
105
+
106
+ #fancybox-error {
107
+ color: #444;
108
+ font: normal 12px/20px Arial;
109
+ padding: 14px;
110
+ margin: 0;
111
+ }
112
+
113
+ #fancybox-img {
114
+ width: 100%;
115
+ height: 100%;
116
+ padding: 0;
117
+ margin: 0;
118
+ border: none;
119
+ outline: none;
120
+ line-height: 0;
121
+ vertical-align: top;
122
+ }
123
+
124
+ #fancybox-frame {
125
+ width: 100%;
126
+ height: 100%;
127
+ border: none;
128
+ display: block;
129
+ }
130
+
131
+ #fancybox-left, #fancybox-right {
132
+ position: absolute;
133
+ bottom: 0px;
134
+ height: 100%;
135
+ width: 35%;
136
+ cursor: pointer;
137
+ outline: none;
138
+ background: transparent url('blank.gif');
139
+ z-index: 110002;
140
+ display: none;
141
+ }
142
+
143
+ #fancybox-left {
144
+ left: 0px;
145
+ }
146
+
147
+ #fancybox-right {
148
+ right: 0px;
149
+ }
150
+
151
+ #fancybox-left-ico, #fancybox-right-ico {
152
+ position: absolute;
153
+ top: 50%;
154
+ left: -9999px;
155
+ width: 30px;
156
+ height: 30px;
157
+ margin-top: -15px;
158
+ cursor: pointer;
159
+ z-index: 110002;
160
+ display: block;
161
+ }
162
+
163
+ #fancybox-left-ico {
164
+ background-image: url('fancybox.png');
165
+ background-position: -40px -30px;
166
+ }
167
+
168
+ #fancybox-right-ico {
169
+ background-image: url('fancybox.png');
170
+ background-position: -40px -60px;
171
+ }
172
+
173
+ #fancybox-left:hover, #fancybox-right:hover {
174
+ visibility: visible; /* IE6 */
175
+ }
176
+
177
+ #fancybox-left:hover span {
178
+ left: 20px;
179
+ }
180
+
181
+ #fancybox-right:hover span {
182
+ left: auto;
183
+ right: 20px;
184
+ }
185
+
186
+ .fancybox-bg {
187
+ position: absolute;
188
+ padding: 0;
189
+ margin: 0;
190
+ border: 0;
191
+ width: 20px;
192
+ height: 20px;
193
+ z-index: 100001;
194
+ }
195
+
196
+ #fancybox-bg-n {
197
+ top: -20px;
198
+ left: 0;
199
+ width: 100%;
200
+ background-image: url('fancybox-x.png');
201
+ }
202
+
203
+ #fancybox-bg-ne {
204
+ top: -20px;
205
+ right: -20px;
206
+ background-image: url('fancybox.png');
207
+ background-position: -40px -162px;
208
+ }
209
+
210
+ #fancybox-bg-e {
211
+ top: 0;
212
+ right: -20px;
213
+ height: 100%;
214
+ background-image: url('fancybox-y.png');
215
+ background-position: -20px 0px;
216
+ }
217
+
218
+ #fancybox-bg-se {
219
+ bottom: -20px;
220
+ right: -20px;
221
+ background-image: url('fancybox.png');
222
+ background-position: -40px -182px;
223
+ }
224
+
225
+ #fancybox-bg-s {
226
+ bottom: -20px;
227
+ left: 0;
228
+ width: 100%;
229
+ background-image: url('fancybox-x.png');
230
+ background-position: 0px -20px;
231
+ }
232
+
233
+ #fancybox-bg-sw {
234
+ bottom: -20px;
235
+ left: -20px;
236
+ background-image: url('fancybox.png');
237
+ background-position: -40px -142px;
238
+ }
239
+
240
+ #fancybox-bg-w {
241
+ top: 0;
242
+ left: -20px;
243
+ height: 100%;
244
+ background-image: url('fancybox-y.png');
245
+ }
246
+
247
+ #fancybox-bg-nw {
248
+ top: -20px;
249
+ left: -20px;
250
+ background-image: url('fancybox.png');
251
+ background-position: -40px -122px;
252
+ }
253
+
254
+ #fancybox-title {
255
+ font-family: Helvetica;
256
+ font-size: 12px;
257
+ z-index: 110002;
258
+ }
259
+
260
+ .fancybox-title-inside {
261
+ padding-bottom: 10px;
262
+ text-align: center;
263
+ color: #333;
264
+ background: #fff;
265
+ position: relative;
266
+ }
267
+
268
+ .fancybox-title-outside {
269
+ padding-top: 10px;
270
+ color: #fff;
271
+ }
272
+
273
+ .fancybox-title-over {
274
+ position: absolute;
275
+ bottom: 0;
276
+ left: 0;
277
+ color: #FFF;
278
+ text-align: left;
279
+ }
280
+
281
+ #fancybox-title-over {
282
+ padding: 10px;
283
+ background-image: url('fancy_title_over.png');
284
+ display: block;
285
+ }
286
+
287
+ .fancybox-title-float {
288
+ position: absolute;
289
+ left: 0;
290
+ bottom: -20px;
291
+ height: 32px;
292
+ }
293
+
294
+ #fancybox-title-float-wrap {
295
+ border: none;
296
+ border-collapse: collapse;
297
+ width: auto;
298
+ }
299
+
300
+ #fancybox-title-float-wrap td {
301
+ border: none;
302
+ white-space: nowrap;
303
+ }
304
+
305
+ #fancybox-title-float-left {
306
+ padding: 0 0 0 15px;
307
+ background: url('fancybox.png') -40px -90px no-repeat;
308
+ }
309
+
310
+ #fancybox-title-float-main {
311
+ color: #FFF;
312
+ line-height: 29px;
313
+ font-weight: bold;
314
+ padding: 0 0 3px 0;
315
+ background: url('fancybox-x.png') 0px -40px;
316
+ }
317
+
318
+ #fancybox-title-float-right {
319
+ padding: 0 0 0 15px;
320
+ background: url('fancybox.png') -55px -90px no-repeat;
321
+ }
322
+
323
+ /* IE6 */
324
+
325
+ .fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }
326
+
327
+ .fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }
328
+ .fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }
329
+
330
+ .fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
331
+ .fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
332
+ .fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
333
+ .fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }
334
+
335
+ .fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
336
+ height: expression(this.parentNode.clientHeight + "px");
337
+ }
338
+
339
+ #fancybox-loading.fancybox-ie6 {
340
+ position: absolute; margin-top: 0;
341
+ top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
342
+ }
343
+
344
+ #fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }
345
+
346
+ /* IE6, IE7, IE8 */
347
+
348
+ .fancybox-ie .fancybox-bg { background: transparent !important; }
349
+
350
+ .fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
351
+ .fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
352
+ .fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
353
+ .fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
354
+ .fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
355
+ .fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
356
+ .fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
357
+ .fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
trunk/fancybox/fancybox.png ADDED
Binary file
trunk/fancybox/jquery.fancybox.js ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * FancyBox - jQuery Plugin
3
+ * Simple and fancy lightbox alternative
4
+ *
5
+ * Examples and documentation at: http://fancybox.net
6
+ *
7
+ * Copyright (c) 2008 - 2010 Janis Skarnelis
8
+ * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
9
+ *
10
+ * Version: 1.3.4 (11/11/2010)
11
+ * Requires: jQuery v1.3+
12
+ *
13
+ * Dual licensed under the MIT and GPL licenses:
14
+ * http://www.opensource.org/licenses/mit-license.php
15
+ * http://www.gnu.org/licenses/gpl.html
16
+ */
17
+
18
+ ;(function(b){var m,t,u,f,D,j,E,n,z,A,q=0,e={},o=[],p=0,d={},l=[],G=null,v=new Image,J=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,W=/[^\.]\.(swf)\s*$/i,K,L=1,y=0,s="",r,i,h=false,B=b.extend(b("<div/>")[0],{prop:0}),M=b.browser.msie&&b.browser.version<7&&!window.XMLHttpRequest,N=function(){t.hide();v.onerror=v.onload=null;G&&G.abort();m.empty()},O=function(){if(false===e.onError(o,q,e)){t.hide();h=false}else{e.titleShow=false;e.width="auto";e.height="auto";m.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>');
19
+ F()}},I=function(){var a=o[q],c,g,k,C,P,w;N();e=b.extend({},b.fn.fancybox.defaults,typeof b(a).data("fancybox")=="undefined"?e:b(a).data("fancybox"));w=e.onStart(o,q,e);if(w===false)h=false;else{if(typeof w=="object")e=b.extend(e,w);k=e.title||(a.nodeName?b(a).attr("title"):a.title)||"";if(a.nodeName&&!e.orig)e.orig=b(a).children("img:first").length?b(a).children("img:first"):b(a);if(k===""&&e.orig&&e.titleFromAlt)k=e.orig.attr("alt");c=e.href||(a.nodeName?b(a).attr("href"):a.href)||null;if(/^(?:javascript)/i.test(c)||
20
+ c=="#")c=null;if(e.type){g=e.type;if(!c)c=e.content}else if(e.content)g="html";else if(c)g=c.match(J)?"image":c.match(W)?"swf":b(a).hasClass("iframe")?"iframe":c.indexOf("#")===0?"inline":"ajax";if(g){if(g=="inline"){a=c.substr(c.indexOf("#"));g=b(a).length>0?"inline":"ajax"}e.type=g;e.href=c;e.title=k;if(e.autoDimensions)if(e.type=="html"||e.type=="inline"||e.type=="ajax"){e.width="auto";e.height="auto"}else e.autoDimensions=false;if(e.modal){e.overlayShow=true;e.hideOnOverlayClick=false;e.hideOnContentClick=
21
+ false;e.enableEscapeButton=false;e.showCloseButton=false}e.padding=parseInt(e.padding,10);e.margin=parseInt(e.margin,10);m.css("padding",e.padding+e.margin);b(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){b(this).replaceWith(j.children())});switch(g){case "html":m.html(e.content);F();break;case "inline":if(b(a).parent().is("#fancybox-content")===true){h=false;break}b('<div class="fancybox-inline-tmp" />').hide().insertBefore(b(a)).bind("fancybox-cleanup",function(){b(this).replaceWith(j.children())}).bind("fancybox-cancel",
22
+ function(){b(this).replaceWith(m.children())});b(a).appendTo(m);F();break;case "image":h=false;b.fancybox.showActivity();v=new Image;v.onerror=function(){O()};v.onload=function(){h=true;v.onerror=v.onload=null;e.width=v.width;e.height=v.height;b("<img />").attr({id:"fancybox-img",src:v.src,alt:e.title}).appendTo(m);Q()};v.src=c;break;case "swf":e.scrolling="no";C='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+e.width+'" height="'+e.height+'"><param name="movie" value="'+c+
23
+ '"></param>';P="";b.each(e.swf,function(x,H){C+='<param name="'+x+'" value="'+H+'"></param>';P+=" "+x+'="'+H+'"'});C+='<embed src="'+c+'" type="application/x-shockwave-flash" width="'+e.width+'" height="'+e.height+'"'+P+"></embed></object>";m.html(C);F();break;case "ajax":h=false;b.fancybox.showActivity();e.ajax.win=e.ajax.success;G=b.ajax(b.extend({},e.ajax,{url:c,data:e.ajax.data||{},error:function(x){x.status>0&&O()},success:function(x,H,R){if((typeof R=="object"?R:G).status==200){if(typeof e.ajax.win==
24
+ "function"){w=e.ajax.win(c,x,H,R);if(w===false){t.hide();return}else if(typeof w=="string"||typeof w=="object")x=w}m.html(x);F()}}}));break;case "iframe":Q()}}else O()}},F=function(){var a=e.width,c=e.height;a=a.toString().indexOf("%")>-1?parseInt((b(window).width()-e.margin*2)*parseFloat(a)/100,10)+"px":a=="auto"?"auto":a+"px";c=c.toString().indexOf("%")>-1?parseInt((b(window).height()-e.margin*2)*parseFloat(c)/100,10)+"px":c=="auto"?"auto":c+"px";m.wrapInner('<div style="width:'+a+";height:"+c+
25
+ ";overflow: "+(e.scrolling=="auto"?"auto":e.scrolling=="yes"?"scroll":"hidden")+';position:relative;"></div>');e.width=m.width();e.height=m.height();Q()},Q=function(){var a,c;t.hide();if(f.is(":visible")&&false===d.onCleanup(l,p,d)){b.event.trigger("fancybox-cancel");h=false}else{h=true;b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");f.is(":visible")&&d.titlePosition!=="outside"&&f.css("height",f.height());l=o;p=q;d=e;if(d.overlayShow){u.css({"background-color":d.overlayColor,
26
+ opacity:d.overlayOpacity,cursor:d.hideOnOverlayClick?"pointer":"auto",height:b(document).height()});if(!u.is(":visible")){M&&b("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});u.show()}}else u.hide();i=X();s=d.title||"";y=0;n.empty().removeAttr("style").removeClass();if(d.titleShow!==false){if(b.isFunction(d.titleFormat))a=d.titleFormat(s,l,p,d);else a=s&&s.length?
27
+ d.titlePosition=="float"?'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+s+'</td><td id="fancybox-title-float-right"></td></tr></table>':'<div id="fancybox-title-'+d.titlePosition+'">'+s+"</div>":false;s=a;if(!(!s||s==="")){n.addClass("fancybox-title-"+d.titlePosition).html(s).appendTo("body").show();switch(d.titlePosition){case "inside":n.css({width:i.width-d.padding*2,marginLeft:d.padding,marginRight:d.padding});
28
+ y=n.outerHeight(true);n.appendTo(D);i.height+=y;break;case "over":n.css({marginLeft:d.padding,width:i.width-d.padding*2,bottom:d.padding}).appendTo(D);break;case "float":n.css("left",parseInt((n.width()-i.width-40)/2,10)*-1).appendTo(f);break;default:n.css({width:i.width-d.padding*2,paddingLeft:d.padding,paddingRight:d.padding}).appendTo(f)}}}n.hide();if(f.is(":visible")){b(E.add(z).add(A)).hide();a=f.position();r={top:a.top,left:a.left,width:f.width(),height:f.height()};c=r.width==i.width&&r.height==
29
+ i.height;j.fadeTo(d.changeFade,0.3,function(){var g=function(){j.html(m.contents()).fadeTo(d.changeFade,1,S)};b.event.trigger("fancybox-change");j.empty().removeAttr("filter").css({"border-width":d.padding,width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2});if(c)g();else{B.prop=0;b(B).animate({prop:1},{duration:d.changeSpeed,easing:d.easingChange,step:T,complete:g})}})}else{f.removeAttr("style");j.css("border-width",d.padding);if(d.transitionIn=="elastic"){r=V();j.html(m.contents());
30
+ f.show();if(d.opacity)i.opacity=0;B.prop=0;b(B).animate({prop:1},{duration:d.speedIn,easing:d.easingIn,step:T,complete:S})}else{d.titlePosition=="inside"&&y>0&&n.show();j.css({width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2}).html(m.contents());f.css(i).fadeIn(d.transitionIn=="none"?0:d.speedIn,S)}}}},Y=function(){if(d.enableEscapeButton||d.enableKeyboardNav)b(document).bind("keydown.fb",function(a){if(a.keyCode==27&&d.enableEscapeButton){a.preventDefault();b.fancybox.close()}else if((a.keyCode==
31
+ 37||a.keyCode==39)&&d.enableKeyboardNav&&a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.target.tagName!=="SELECT"){a.preventDefault();b.fancybox[a.keyCode==37?"prev":"next"]()}});if(d.showNavArrows){if(d.cyclic&&l.length>1||p!==0)z.show();if(d.cyclic&&l.length>1||p!=l.length-1)A.show()}else{z.hide();A.hide()}},S=function(){if(!b.support.opacity){j.get(0).style.removeAttribute("filter");f.get(0).style.removeAttribute("filter")}e.autoDimensions&&j.css("height","auto");f.css("height","auto");
32
+ s&&s.length&&n.show();d.showCloseButton&&E.show();Y();d.hideOnContentClick&&j.bind("click",b.fancybox.close);d.hideOnOverlayClick&&u.bind("click",b.fancybox.close);b(window).bind("resize.fb",b.fancybox.resize);d.centerOnScroll&&b(window).bind("scroll.fb",b.fancybox.center);if(d.type=="iframe")b('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" '+(b.browser.msie?'allowtransparency="true""':"")+' scrolling="'+e.scrolling+'" src="'+d.href+'"></iframe>').appendTo(j);
33
+ f.show();h=false;b.fancybox.center();d.onComplete(l,p,d);var a,c;if(l.length-1>p){a=l[p+1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}if(p>0){a=l[p-1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}},T=function(a){var c={width:parseInt(r.width+(i.width-r.width)*a,10),height:parseInt(r.height+(i.height-r.height)*a,10),top:parseInt(r.top+(i.top-r.top)*a,10),left:parseInt(r.left+(i.left-r.left)*a,10)};if(typeof i.opacity!=="undefined")c.opacity=a<0.5?0.5:a;f.css(c);
34
+ j.css({width:c.width-d.padding*2,height:c.height-y*a-d.padding*2})},U=function(){return[b(window).width()-d.margin*2,b(window).height()-d.margin*2,b(document).scrollLeft()+d.margin,b(document).scrollTop()+d.margin]},X=function(){var a=U(),c={},g=d.autoScale,k=d.padding*2;c.width=d.width.toString().indexOf("%")>-1?parseInt(a[0]*parseFloat(d.width)/100,10):d.width+k;c.height=d.height.toString().indexOf("%")>-1?parseInt(a[1]*parseFloat(d.height)/100,10):d.height+k;if(g&&(c.width>a[0]||c.height>a[1]))if(e.type==
35
+ "image"||e.type=="swf"){g=d.width/d.height;if(c.width>a[0]){c.width=a[0];c.height=parseInt((c.width-k)/g+k,10)}if(c.height>a[1]){c.height=a[1];c.width=parseInt((c.height-k)*g+k,10)}}else{c.width=Math.min(c.width,a[0]);c.height=Math.min(c.height,a[1])}c.top=parseInt(Math.max(a[3]-20,a[3]+(a[1]-c.height-40)*0.5),10);c.left=parseInt(Math.max(a[2]-20,a[2]+(a[0]-c.width-40)*0.5),10);return c},V=function(){var a=e.orig?b(e.orig):false,c={};if(a&&a.length){c=a.offset();c.top+=parseInt(a.css("paddingTop"),
36
+ 10)||0;c.left+=parseInt(a.css("paddingLeft"),10)||0;c.top+=parseInt(a.css("border-top-width"),10)||0;c.left+=parseInt(a.css("border-left-width"),10)||0;c.width=a.width();c.height=a.height();c={width:c.width+d.padding*2,height:c.height+d.padding*2,top:c.top-d.padding-20,left:c.left-d.padding-20}}else{a=U();c={width:d.padding*2,height:d.padding*2,top:parseInt(a[3]+a[1]*0.5,10),left:parseInt(a[2]+a[0]*0.5,10)}}return c},Z=function(){if(t.is(":visible")){b("div",t).css("top",L*-40+"px");L=(L+1)%12}else clearInterval(K)};
37
+ b.fn.fancybox=function(a){if(!b(this).length)return this;b(this).data("fancybox",b.extend({},a,b.metadata?b(this).metadata():{})).unbind("click.fb").bind("click.fb",function(c){c.preventDefault();if(!h){h=true;b(this).blur();o=[];q=0;c=b(this).attr("rel")||"";if(!c||c==""||c==="nofollow")o.push(this);else{o=b("a[rel="+c+"], area[rel="+c+"]");q=o.index(this)}I()}});return this};b.fancybox=function(a,c){var g;if(!h){h=true;g=typeof c!=="undefined"?c:{};o=[];q=parseInt(g.index,10)||0;if(b.isArray(a)){for(var k=
38
+ 0,C=a.length;k<C;k++)if(typeof a[k]=="object")b(a[k]).data("fancybox",b.extend({},g,a[k]));else a[k]=b({}).data("fancybox",b.extend({content:a[k]},g));o=jQuery.merge(o,a)}else{if(typeof a=="object")b(a).data("fancybox",b.extend({},g,a));else a=b({}).data("fancybox",b.extend({content:a},g));o.push(a)}if(q>o.length||q<0)q=0;I()}};b.fancybox.showActivity=function(){clearInterval(K);t.show();K=setInterval(Z,66)};b.fancybox.hideActivity=function(){t.hide()};b.fancybox.next=function(){return b.fancybox.pos(p+
39
+ 1)};b.fancybox.prev=function(){return b.fancybox.pos(p-1)};b.fancybox.pos=function(a){if(!h){a=parseInt(a);o=l;if(a>-1&&a<l.length){q=a;I()}else if(d.cyclic&&l.length>1){q=a>=l.length?0:l.length-1;I()}}};b.fancybox.cancel=function(){if(!h){h=true;b.event.trigger("fancybox-cancel");N();e.onCancel(o,q,e);h=false}};b.fancybox.close=function(){function a(){u.fadeOut("fast");n.empty().hide();f.hide();b.event.trigger("fancybox-cleanup");j.empty();d.onClosed(l,p,d);l=e=[];p=q=0;d=e={};h=false}if(!(h||f.is(":hidden"))){h=
40
+ true;if(d&&false===d.onCleanup(l,p,d))h=false;else{N();b(E.add(z).add(A)).hide();b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");j.find("iframe").attr("src",M&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");d.titlePosition!=="inside"&&n.empty();f.stop();if(d.transitionOut=="elastic"){r=V();var c=f.position();i={top:c.top,left:c.left,width:f.width(),height:f.height()};if(d.opacity)i.opacity=1;n.empty().hide();B.prop=1;
41
+ b(B).animate({prop:0},{duration:d.speedOut,easing:d.easingOut,step:T,complete:a})}else f.fadeOut(d.transitionOut=="none"?0:d.speedOut,a)}}};b.fancybox.resize=function(){u.is(":visible")&&u.css("height",b(document).height());b.fancybox.center(true)};b.fancybox.center=function(a){var c,g;if(!h){g=a===true?1:0;c=U();!g&&(f.width()>c[0]||f.height()>c[1])||f.stop().animate({top:parseInt(Math.max(c[3]-20,c[3]+(c[1]-j.height()-40)*0.5-d.padding)),left:parseInt(Math.max(c[2]-20,c[2]+(c[0]-j.width()-40)*0.5-
42
+ d.padding))},typeof a=="number"?a:200)}};b.fancybox.init=function(){if(!b("#fancybox-wrap").length){b("body").append(m=b('<div id="fancybox-tmp"></div>'),t=b('<div id="fancybox-loading"><div></div></div>'),u=b('<div id="fancybox-overlay"></div>'),f=b('<div id="fancybox-wrap"></div>'));D=b('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(f);
43
+ D.append(j=b('<div id="fancybox-content"></div>'),E=b('<a id="fancybox-close"></a>'),n=b('<div id="fancybox-title"></div>'),z=b('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),A=b('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));E.click(b.fancybox.close);t.click(b.fancybox.cancel);z.click(function(a){a.preventDefault();b.fancybox.prev()});A.click(function(a){a.preventDefault();b.fancybox.next()});
44
+ b.fn.mousewheel&&f.bind("mousewheel.fb",function(a,c){if(h)a.preventDefault();else if(b(a.target).get(0).clientHeight==0||b(a.target).get(0).scrollHeight===b(a.target).get(0).clientHeight){a.preventDefault();b.fancybox[c>0?"prev":"next"]()}});b.support.opacity||f.addClass("fancybox-ie");if(M){t.addClass("fancybox-ie6");f.addClass("fancybox-ie6");b('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(D)}}};
45
+ b.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",
46
+ easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};b(document).ready(function(){b.fancybox.init()})})(jQuery);
trunk/js/admin.js ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ jQuery(function() {
3
+
4
+ // Tabs
5
+ jQuery("#fbfwTabs").tabs();
6
+
7
+ // Hide Donation and twitter stuff on tabs other than Info
8
+ jQuery("#fbfwTabs li a").click(function() {
9
+ if ( jQuery(this).is("#ui-id-1") ) {
10
+ jQuery("#mfbfwd").show();
11
+ } else {
12
+ jQuery("#mfbfwd").hide();
13
+ }
14
+ });
15
+
16
+
17
+ // Hide form fields when not needed (swithed by checkbox)
18
+ function switchBlock(block,button) {
19
+ var buttonValue = jQuery(button + ":checked").val();
20
+ if ( buttonValue == "on" ) {
21
+ jQuery(block).css("display", "inline");
22
+ } else {
23
+ jQuery(block).css("display", "none");
24
+ }
25
+
26
+ jQuery(button).click(function() {
27
+ jQuery(block).animate({opacity: "toggle", height: "toggle"}, 500);
28
+ });
29
+ }
30
+
31
+ switchBlock("#borderColorBlock","#border");
32
+ switchBlock("#closeButtonBlock","#showCloseButton");
33
+ switchBlock("#overlayBlock","#overlayShow");
34
+ switchBlock("#titleBlock","#titleShow");
35
+ switchBlock("#callbackBlock","#callbackEnable");
36
+ switchBlock("#extraCallsBlock","#extraCallsEnable");
37
+ switchBlock("#easingBlock","#easing");
38
+
39
+
40
+ // Hide Title Color if not needed
41
+ var titlePosition = jQuery("input:radio[class=titlePosition]:checked").val();
42
+
43
+ switch (titlePosition) {
44
+ case "float":
45
+ case "outside":
46
+ case "over":
47
+ jQuery("#titleColorBlock").css("display", "none");
48
+ }
49
+
50
+ jQuery("#titlePositionFloat, #titlePositionOutside, #titlePositionOver").click(function() {
51
+ jQuery("#titleColorBlock").hide("slow");
52
+ });
53
+
54
+ jQuery("#titlePositionInside").click(function() {
55
+ jQuery("#titleColorBlock").show("slow");
56
+ });
57
+
58
+
59
+ // Gallery Type
60
+ var galleryType = jQuery("input:radio[class=galleryType]:checked").val();
61
+
62
+ switch (galleryType) {
63
+ case "all":
64
+ case "none":
65
+ case "post":
66
+ jQuery("#customExpressionBlock").css("display", "none");
67
+ }
68
+
69
+ jQuery("#galleryTypeAll, #galleryTypeNone, #galleryTypePost").click(function() {
70
+ jQuery("#customExpressionBlock").hide("slow");
71
+ });
72
+
73
+ jQuery("#galleryTypeCustom").click(function() {
74
+ jQuery("#customExpressionBlock").show("slow");
75
+ });
76
+
77
+ })
78
+
79
+ function confirmDefaults() {
80
+ if ( confirm(defaults_prompt) == true )
81
+ return true;
82
+ else
83
+ return false;
84
+ }
85
+
86
+ var defaults_prompt = "Are you sure you want to restore FancyBox for WordPress to default settings?";
trunk/js/jquery.easing.1.3.min.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ /*jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ */
2
+ jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def: 'easeOutQuad',swing: function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d);},easeInQuad: function(x,t,b,c,d){return c*(t/=d)*t+b;},easeOutQuad: function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b;},easeInOutQuad: function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b;},easeInCubic: function(x,t,b,c,d){return c*(t/=d)*t*t+b;},easeOutCubic: function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b;},easeInOutCubic: function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b;},easeInQuart: function(x,t,b,c,d){return c*(t/=d)*t*t*t+b;},easeOutQuart: function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b;},easeInOutQuart: function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b;},easeInQuint: function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b;},easeOutQuint: function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b;},easeInOutQuint: function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b;},easeInSine: function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b;},easeOutSine: function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b;},easeInOutSine: function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b;},easeInExpo: function(x,t,b,c,d){return(t==0)?b : c*Math.pow(2,10*(t/d-1))+b;},easeOutExpo: function(x,t,b,c,d){return(t==d)?b+c : c*(-Math.pow(2,-10*t/d)+1)+b;},easeInOutExpo: function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b;},easeInCirc: function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b;},easeOutCirc: function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b;},easeInOutCirc: function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b;},easeInElastic: function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;},easeOutElastic: function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b;},easeInOutElastic: function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b;},easeInBack: function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b;},easeOutBack: function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b;},easeInOutBack: function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b;},easeInBounce: function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b;},easeOutBounce: function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b;}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b;}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b;}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b;}},easeInOutBounce: function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b;}});jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def:'easeOutQuad',swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b},easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b},easeInExpo:function(x,t,b,c,d){return(t==0)?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return(t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b},easeOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b},easeInOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b},easeInBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b},easeOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},easeInOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b},easeOutBounce:function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b}},easeInOutBounce:function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b}});
trunk/js/jquery.mousewheel.3.0.4.pack.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
2
+ * Licensed under the MIT License (LICENSE.txt).
3
+ *
4
+ * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
5
+ * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
6
+ * Thanks to: Seamus Leahy for adding deltaX and deltaY
7
+ *
8
+ * Version: 3.0.4
9
+ *
10
+ * Requires: 1.2.2+
11
+ */
12
+
13
+ (function(d){function g(a){var b=a||window.event,i=[].slice.call(arguments,1),c=0,h=0,e=0;a=d.event.fix(b);a.type="mousewheel";if(a.wheelDelta)c=a.wheelDelta/120;if(a.detail)c=-a.detail/3;e=c;if(b.axis!==undefined&&b.axis===b.HORIZONTAL_AXIS){e=0;h=-1*c}if(b.wheelDeltaY!==undefined)e=b.wheelDeltaY/120;if(b.wheelDeltaX!==undefined)h=-1*b.wheelDeltaX/120;i.unshift(a,c,h,e);return d.event.handle.apply(this,i)}var f=["DOMMouseScroll","mousewheel"];d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=
14
+ f.length;a;)this.addEventListener(f[--a],g,false);else this.onmousewheel=g},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],g,false);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
trunk/languages/mfbfw-es_ES.mo ADDED
Binary file
trunk/languages/mfbfw-es_ES.po ADDED
@@ -0,0 +1,1050 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: FancyBox for WordPress Español\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/fancybox-for-"
5
+ "wordpress\n"
6
+ "POT-Creation-Date: 2015-02-07 02:02:19+00:00\n"
7
+ "PO-Revision-Date: \n"
8
+ "Last-Translator: Jose Pardilla <jose@moskis.net>\n"
9
+ "Language-Team: Moskis <jose@moskis.net>\n"
10
+ "Language: es_ES\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Generator: Poedit 1.7.4\n"
15
+
16
+ #: admin.php:11
17
+ msgid "Fancybox for WordPress (version %s)"
18
+ msgstr "Fancybox for WordPress (versión %s)"
19
+
20
+ #: admin.php:22
21
+ msgid "Info"
22
+ msgstr "Informaci&oacute;n"
23
+
24
+ #: admin.php:23
25
+ msgid "Appearance"
26
+ msgstr "Apariencia"
27
+
28
+ #: admin.php:24
29
+ msgid "Animations"
30
+ msgstr "Animaciones"
31
+
32
+ #: admin.php:25
33
+ msgid "Behaviour"
34
+ msgstr "Comportamiento"
35
+
36
+ #: admin.php:26
37
+ msgid "Galleries"
38
+ msgstr "Galerías"
39
+
40
+ #: admin.php:27
41
+ msgid "Miscellaneous"
42
+ msgstr "Miscelánea"
43
+
44
+ #: admin.php:28
45
+ msgid "Extra Calls"
46
+ msgstr "Llamadas Extra"
47
+
48
+ #: admin.php:29
49
+ msgid "Troubleshooting"
50
+ msgstr "Ayuda"
51
+
52
+ #: admin.php:30 lib/admin-tab-support.php:1
53
+ msgid "Support"
54
+ msgstr "Soporte"
55
+
56
+ #: admin.php:31 lib/admin-tab-uninstall.php:1
57
+ msgid "Uninstall"
58
+ msgstr "Desinstalar"
59
+
60
+ #: admin.php:77
61
+ msgid "Save Changes"
62
+ msgstr "Guardar Cambios"
63
+
64
+ #: admin.php:85
65
+ msgid "Revert to defaults"
66
+ msgstr "Restaurar valores por defecto"
67
+
68
+ #: admin.php:93
69
+ msgid "If you use FancyBox and like it, buy the author a beer!"
70
+ msgstr "Si usas FancyBox y te gusta, c&oacute;mprale una cerveza al autor!"
71
+
72
+ #: admin.php:110
73
+ msgid "The author of this WordPress Plugin also likes beer :P"
74
+ msgstr ""
75
+ "Al autor de este plugin para WordPress tambi&eacute;n le gusta la cerveza :P"
76
+
77
+ #: admin.php:120
78
+ msgid "Follow me on Twitter for more WordPress Plugins and Themes"
79
+ msgstr "S&iacute;gueme en Twitter para m&aacute;s Plugins y Temas de WordPress"
80
+
81
+ #: fancybox.php:404
82
+ msgid "Settings"
83
+ msgstr "Opciones"
84
+
85
+ #: lib/admin-tab-animations.php:1
86
+ msgid "Animation Settings <span style=\"color:green\">(basic)</span>"
87
+ msgstr "Opciones de Animación <span style=\"color:green\">(básico)</span>"
88
+
89
+ #: lib/admin-tab-animations.php:3
90
+ msgid ""
91
+ "These settings control the animations when opening and closing Fancybox, and "
92
+ "the optional easing effects."
93
+ msgstr ""
94
+ "Estas opciones controlan las animaciones al abrir y cerrar Fancybox, y los "
95
+ "efectos opcionales de animación."
96
+
97
+ #: lib/admin-tab-animations.php:9
98
+ msgid "Zoom Options"
99
+ msgstr "Opciones de Zoom"
100
+
101
+ #: lib/admin-tab-animations.php:15
102
+ msgid "Change content transparency during zoom animations (default: on)"
103
+ msgstr "Animar opacidad durante el efecto de zoom (por defecto: activado)"
104
+
105
+ #: lib/admin-tab-animations.php:27
106
+ msgid "Speed in miliseconds of the zooming-in animation (default: 500)"
107
+ msgstr "Velocidad en milisegundos del efecto de Zoom In (por defecto: 500)"
108
+
109
+ #: lib/admin-tab-animations.php:39
110
+ msgid "Speed in miliseconds of the zooming-out animation (default: 500)"
111
+ msgstr "Velocidad en milisegundos del efecto de Zoom Out (por defecto: 500)"
112
+
113
+ #: lib/admin-tab-animations.php:51
114
+ msgid ""
115
+ "Speed in miliseconds of the animation when navigating thorugh gallery items "
116
+ "(default: 300)"
117
+ msgstr ""
118
+ "Velocidad en milisegundos de la animación al navegar entre los elementos de "
119
+ "una galería (por defecto: 300)"
120
+
121
+ #: lib/admin-tab-animations.php:59
122
+ msgid "Transition Type"
123
+ msgstr "Tio de Transición"
124
+
125
+ #: lib/admin-tab-animations.php:73
126
+ msgid "Transition type when opening FancyBox. (default: fade)"
127
+ msgstr "Tipo de transición al abrir FancyBox. (por defecto: fade)"
128
+
129
+ #: lib/admin-tab-animations.php:86
130
+ msgid "Transition type when closing FancyBox. (default: fade)"
131
+ msgstr "Tipo de transición al cerrar FancyBox. (por defecto: fade)"
132
+
133
+ #: lib/admin-tab-animations.php:94
134
+ msgid "Easing"
135
+ msgstr "Efecto de Animación"
136
+
137
+ #: lib/admin-tab-animations.php:100
138
+ msgid "Activate easing (default: off)"
139
+ msgstr "Activar efecto de animación (por defecto: desactivado)"
140
+
141
+ #: lib/admin-tab-animations.php:103
142
+ msgid "(Will load one additional javascript file, 8KB)"
143
+ msgstr "(Ejecutará un archivo JavaScript adicional, 8KB)"
144
+
145
+ #: lib/admin-tab-animations.php:117
146
+ msgid "Easing method when opening FancyBox. (default: easeOutBack)"
147
+ msgstr "Efecto de animación al abrir FancyBox. (por defecto: easeOutBack)"
148
+
149
+ #: lib/admin-tab-animations.php:120
150
+ msgid "(Requires opening transition type to be set to elastic)"
151
+ msgstr "(Requiere el tipo de transición de inicio elástico)"
152
+
153
+ #: lib/admin-tab-animations.php:132
154
+ msgid "Easing method when closing FancyBox. (default: easeInBack)"
155
+ msgstr "Efecto de animación al cerrar FancyBox. (por defecto: easeInBack)"
156
+
157
+ #: lib/admin-tab-animations.php:135
158
+ msgid "(Requires closing transition type to be set to elastic)"
159
+ msgstr "(Requiere el tipo de transición de cerrado elástico)"
160
+
161
+ #: lib/admin-tab-animations.php:147
162
+ msgid ""
163
+ "Easing method when navigating through gallery items. (default: "
164
+ "easeInOutQuart)"
165
+ msgstr ""
166
+ "Efecto de animación al navegar por galerías. (por defecto: easoInOutQuart)"
167
+
168
+ #: lib/admin-tab-animations.php:150
169
+ msgid ""
170
+ "(There are 30 different easing methods, the first ones are the most boring. "
171
+ "You can test them <a href=\"http://commadot.com/jquery/easing.php\" target="
172
+ "\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/"
173
+ "animationtypes.html\" target=\"_blank\">here</a>)"
174
+ msgstr ""
175
+ "(Hay 30 efectos diferentes, los primeros son los más aburridos. Puedes "
176
+ "probarlos <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank"
177
+ "\">aquí</a> o <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html"
178
+ "\" target=\"_blank\">aquí</a>)"
179
+
180
+ #: lib/admin-tab-appearance.php:1
181
+ msgid "Appearance Settings <span style=\"color:green\">(basic)</span>"
182
+ msgstr "Opciones de Apariencia <span style=\"color:green\">(básico)</span>"
183
+
184
+ #: lib/admin-tab-appearance.php:3
185
+ msgid ""
186
+ "These setting control how Fancybox looks, they let you tweak color, borders "
187
+ "and position of elements, like the image title and closing buttons."
188
+ msgstr ""
189
+ "Estas opciones controlan el aspecto general de FancyBox, te permiten ajustar "
190
+ "los colores, bordes y posición de elementos como el título de la imagen y el "
191
+ "botón de cerrar."
192
+
193
+ #: lib/admin-tab-appearance.php:9
194
+ msgid "Border"
195
+ msgstr "Borde"
196
+
197
+ #: lib/admin-tab-appearance.php:15
198
+ msgid "Show Border (default: off)"
199
+ msgstr "Mostrar Borde (por defecto: desactivado)"
200
+
201
+ #: lib/admin-tab-appearance.php:22
202
+ msgid "HTML color of the border (default: #BBBBBB)"
203
+ msgstr "Color HTML del borde (por defecto: #BBBBBB)"
204
+
205
+ #: lib/admin-tab-appearance.php:32
206
+ msgid "Close Button"
207
+ msgstr "Botón de Cerrar"
208
+
209
+ #: lib/admin-tab-appearance.php:38
210
+ msgid "Show Close button (default: on)"
211
+ msgstr "Mostrar el Botón de Cerrar (por defecto: activado)"
212
+
213
+ #: lib/admin-tab-appearance.php:43
214
+ msgid "Close button position:"
215
+ msgstr "Posición del Botón de Cerrar:"
216
+
217
+ #: lib/admin-tab-appearance.php:46
218
+ msgid "Left"
219
+ msgstr "Izquierda"
220
+
221
+ #: lib/admin-tab-appearance.php:51
222
+ msgid "Right (default)"
223
+ msgstr "Derecha (por defecto)"
224
+
225
+ #: lib/admin-tab-appearance.php:56
226
+ msgid "Bottom"
227
+ msgstr "Abajo"
228
+
229
+ #: lib/admin-tab-appearance.php:61
230
+ msgid "Top (default)"
231
+ msgstr "Arriba (por defecto)"
232
+
233
+ #: lib/admin-tab-appearance.php:71
234
+ msgid "Padding"
235
+ msgstr "Margen"
236
+
237
+ #: lib/admin-tab-appearance.php:77
238
+ msgid "HTML color of the padding (default: #FFFFFF)"
239
+ msgstr "Color HTML del margen (por defecto: #FFFFFF)"
240
+
241
+ #: lib/admin-tab-appearance.php:80
242
+ msgid ""
243
+ "(This should be left on #FFFFFF (white) if you want to display anything "
244
+ "other than images, like inline or framed content)"
245
+ msgstr ""
246
+ "(Esta opción debería dejarse en #FFFFFF (blanco) si vas a mostrar algo que "
247
+ "no sean imágenes, como contenido anidado)"
248
+
249
+ #: lib/admin-tab-appearance.php:84
250
+ msgid "Padding size in pixels (default: 10)"
251
+ msgstr "Tamaño del margen en píxeles (por defecto: 10)"
252
+
253
+ #: lib/admin-tab-appearance.php:92
254
+ msgid "Overlay Options"
255
+ msgstr "Opciones de Overlay"
256
+
257
+ #: lib/admin-tab-appearance.php:98
258
+ msgid "Add overlay (default: on)"
259
+ msgstr "Añadir overlay (por defecto: activado)"
260
+
261
+ #: lib/admin-tab-appearance.php:105
262
+ msgid "HTML color of the overlay (default: #666666)"
263
+ msgstr "Color HTML del overlay (por defecto: #666666)"
264
+
265
+ #: lib/admin-tab-appearance.php:118
266
+ msgid "Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)"
267
+ msgstr "Opacidad del overlay. 0 es transparente, 1 es opaco (por defecto: 0.3)"
268
+
269
+ #: lib/admin-tab-appearance.php:128
270
+ msgid "Title"
271
+ msgstr "Título"
272
+
273
+ #: lib/admin-tab-appearance.php:134
274
+ msgid "Show the title (default: on)"
275
+ msgstr "Mostrar el título (por defecto: activado)"
276
+
277
+ #: lib/admin-tab-appearance.php:141
278
+ msgid "Inside (default)"
279
+ msgstr "Dentro (por defecto)"
280
+
281
+ #: lib/admin-tab-appearance.php:146
282
+ msgid "Outside"
283
+ msgstr "Fuera"
284
+
285
+ #: lib/admin-tab-appearance.php:151
286
+ msgid "Over"
287
+ msgstr "Encima"
288
+
289
+ #: lib/admin-tab-appearance.php:158
290
+ msgid "Title text color (default: #333333)"
291
+ msgstr "Color del título (por defecto #333333)"
292
+
293
+ #: lib/admin-tab-appearance.php:161
294
+ msgid "(Should contrast with the padding color set above)"
295
+ msgstr "(Debería contrastar con el color del margen establecido más arriba)"
296
+
297
+ #: lib/admin-tab-appearance.php:172
298
+ msgid "Navigation Arrows"
299
+ msgstr "Flechas de Navegación"
300
+
301
+ #: lib/admin-tab-appearance.php:178
302
+ msgid "Show the navigation arrows (default: on)"
303
+ msgstr "Mostrar flechas de navegación (por defecto: activado)"
304
+
305
+ #: lib/admin-tab-behaviour.php:1
306
+ msgid "Behavior Settings <span style=\"color:orange\">(medium)</span>"
307
+ msgstr "Opciones de Comportamiento <span style=\"color:orange\">(medio)</span>"
308
+
309
+ #: lib/admin-tab-behaviour.php:3
310
+ msgid ""
311
+ "The following settings should be left alone unless you know what you are "
312
+ "doing."
313
+ msgstr ""
314
+ "Las siguientes opciones sólo deberían ser editadas si sabes lo que estás "
315
+ "haciendo."
316
+
317
+ #: lib/admin-tab-behaviour.php:9
318
+ msgid "Auto Resize to Fit"
319
+ msgstr "Ajustar Tamaño"
320
+
321
+ #: lib/admin-tab-behaviour.php:15
322
+ msgid "Scale images to fit in viewport (default: on)"
323
+ msgstr ""
324
+ "Ajusta el tamaño de las imagenes a la ventana del navegador (por defecto: "
325
+ "activado)"
326
+
327
+ #: lib/admin-tab-behaviour.php:23
328
+ msgid "Center on Scroll"
329
+ msgstr "Centrar al hacer Scroll"
330
+
331
+ #: lib/admin-tab-behaviour.php:29
332
+ msgid ""
333
+ "Keep image in the center of the browser window when scrolling (default: on)"
334
+ msgstr ""
335
+ "Mantiene la imagen en el centro de la ventana del naegador al hacer scroll "
336
+ "(por defecto: activado)"
337
+
338
+ #: lib/admin-tab-behaviour.php:37
339
+ msgid "Close on Content Click"
340
+ msgstr "Cerrar al hacer click en contenido"
341
+
342
+ #: lib/admin-tab-behaviour.php:43
343
+ msgid "Close FancyBox by clicking on the image (default: off)"
344
+ msgstr "Cerrar FancyBox al hacer click en la imagen (por defecto: desactivado)"
345
+
346
+ #: lib/admin-tab-behaviour.php:46
347
+ msgid ""
348
+ "(You may want to leave this off if you display iframed or inline content "
349
+ "that containts clickable elements - for example: play buttons for movies, "
350
+ "links to other pages)"
351
+ msgstr ""
352
+ "(Puedes que quieras dejar esta opción desactivada si vas a usar contendido "
353
+ "anidado que incluya enlaces - for ejemplo: botones de play, enlaces a otras "
354
+ "páginas)"
355
+
356
+ #: lib/admin-tab-behaviour.php:53
357
+ msgid "Close on Overlay Click"
358
+ msgstr "Cerrar al hacer click en el fondo"
359
+
360
+ #: lib/admin-tab-behaviour.php:59
361
+ msgid "Close FancyBox by clicking on the overlay sorrounding it (default: on)"
362
+ msgstr "Cerrar FancyBox al hacer click en el fondo (por defecto: activado)"
363
+
364
+ #: lib/admin-tab-behaviour.php:67
365
+ msgid "Close with &quot;Esc&quot;"
366
+ msgstr "Cerrar con &quot;Esc&quot;"
367
+
368
+ #: lib/admin-tab-behaviour.php:73
369
+ msgid "Close FancyBox when &quot;Escape&quot; key is pressed (default: on)"
370
+ msgstr ""
371
+ "Cerrar Fancybox cuando se pulse la tecla &quot;Escape&quot; (por defecto: "
372
+ "activado)"
373
+
374
+ #: lib/admin-tab-behaviour.php:81
375
+ msgid "Cyclic Galleries"
376
+ msgstr "Galerías Cíclicas"
377
+
378
+ #: lib/admin-tab-behaviour.php:87
379
+ msgid ""
380
+ "This will make galleries cyclic, allowing you to keep pressing next/back "
381
+ "(default: off)"
382
+ msgstr ""
383
+ "Esta oción generará galerías cíclicas, permitíendote pulsar los botones de "
384
+ "navegación indefinidamene (por defecto: desactivado)"
385
+
386
+ #: lib/admin-tab-behaviour.php:95
387
+ msgid "Mouse Wheel Navigation"
388
+ msgstr "Navegación por rueda del ratón"
389
+
390
+ #: lib/admin-tab-behaviour.php:101
391
+ msgid "Lets visitors navigate galleries with the mouse wheel (default: off)"
392
+ msgstr ""
393
+ "Permita a los visitantes navegar por las galerías con la rueda del ratón "
394
+ "(por defecto: desactivado)"
395
+
396
+ #: lib/admin-tab-behaviour.php:104
397
+ msgid "(Will load one additional javascript file, 3KB)"
398
+ msgstr "(Ejecutará un archivo JavaScript adicional, 3KB)"
399
+
400
+ #: lib/admin-tab-calls.php:1
401
+ msgid "Extra FancyBox Calls <span style=\"color:red\">(advanced)</span>"
402
+ msgstr "Llamadas Extra de FancyBox <span style=\"color:red\">(avanzado)</span>"
403
+
404
+ #: lib/admin-tab-calls.php:3
405
+ msgid ""
406
+ "Here you can add as many additional calls to fancybox as you want, with "
407
+ "different settings. For example, if you want to use fancybox with iframes or "
408
+ "ajax on any specific link, you can configure those calls here without "
409
+ "affecting the settings for images."
410
+ msgstr ""
411
+ "Aquí puedes añadir todas las llamadas adicionales a FancyBox que quieras, "
412
+ "con distintas opciones. Por ejemplo, si quieres usar FancyBox con iframes o "
413
+ "con Ajax en cualquier enlace concreto, aquí puedes configurarlo sin afectar "
414
+ "al resto de opciones."
415
+
416
+ #: lib/admin-tab-calls.php:5
417
+ msgid ""
418
+ "For information on the options available you can use here see <a href="
419
+ "\"http://fancybox.net/api\">FancyBox's API & Options page</a>."
420
+ msgstr ""
421
+ "Para más información acerca de las opciones que puedes usar en este campo, "
422
+ "lee esta página sobre la <a href=\"http://fancybox.net/api\">API y Opciones "
423
+ "de FancyBox</a>."
424
+
425
+ #: lib/admin-tab-calls.php:11
426
+ msgid "Additional FancyBox Calls"
427
+ msgstr "Llamadas Extra de FancyBox"
428
+
429
+ #: lib/admin-tab-calls.php:17
430
+ msgid "Additional FancyBox Calls (default: off)"
431
+ msgstr "Llamadas Extra de FancyBox (por defecto: desactivado)"
432
+
433
+ #: lib/admin-tab-calls.php:26 lib/admin-tab-other.php:89
434
+ msgid "Example:"
435
+ msgstr "Ejemplo:"
436
+
437
+ #: lib/admin-tab-galleries.php:1
438
+ msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
439
+ msgstr "Opciones de Galería <span style=\"color:red\">(avanzado)</span>"
440
+
441
+ #: lib/admin-tab-galleries.php:3
442
+ msgid ""
443
+ "Here you can choose if you want the plugin to group all images into a "
444
+ "gallery, or make a gallery for each post. You can also define you own jQuery "
445
+ "expression if you like."
446
+ msgstr ""
447
+ "Aquí puedes elegir si quieres que el plugin agrupe las imágenes en una "
448
+ "galería, o hacer una galería para cada entrada. También puedes definir tu "
449
+ "propia expresión en jQuery."
450
+
451
+ #: lib/admin-tab-galleries.php:9
452
+ msgid "Gallery Type"
453
+ msgstr "Tipo de Galería"
454
+
455
+ #: lib/admin-tab-galleries.php:15
456
+ msgid "Make a gallery for all images on the page (default)"
457
+ msgstr ""
458
+ "Incluir todas las imágenes de la página en una única galería (opción por "
459
+ "defecto)"
460
+
461
+ #: lib/admin-tab-galleries.php:20
462
+ msgid ""
463
+ "Do not group images in gallery automatically (use this if you want to make "
464
+ "galleries manually with the <code>REL</code> attribute)"
465
+ msgstr ""
466
+ "No agrupar im&aacute;genes en galer&iacute;as autom&aacute;ticamente (usa "
467
+ "esta opci&oacute;n si quieres agrupar las imagenes manualmente con el "
468
+ "atributo <code>REL</code>)"
469
+
470
+ #: lib/admin-tab-galleries.php:25
471
+ msgid ""
472
+ "Make a gallery for each post (will only work if your theme uses <code>class="
473
+ "\"post\"</code> on each post, which is common in WordPress"
474
+ msgstr ""
475
+ "Hacer una galer&iacute;a para cada post (solo funcionar&aacute; si el tema "
476
+ "usa <code>class=\"post\"</code> en cada post, que es lo m&aacute;s "
477
+ "com&uacute;n en WordPress"
478
+
479
+ #: lib/admin-tab-galleries.php:30
480
+ msgid "Use a custom expression to apply FancyBox"
481
+ msgstr "Aplicar FancyBox con una expresión personalizada"
482
+
483
+ #: lib/admin-tab-galleries.php:39
484
+ msgid "Custom expression guidelines:"
485
+ msgstr "Indicaciones para expresiones personalizadas:"
486
+
487
+ #: lib/admin-tab-galleries.php:41
488
+ msgid ""
489
+ "&middot; The custom expression has to apply <code>class=\"fancybox\"</code> "
490
+ "to the links where you want to use FancyBox. Do not call the "
491
+ "<code>fancybox()</code> function here, the plugin does this for you."
492
+ msgstr ""
493
+ "&middot; La expresión personalizada tiene que aplicar el atributo "
494
+ "<code>class=\"fancybox\"</code> a los enlaces en los que quieras usar "
495
+ "FancyBox. No llames a la funci&oacute;n <code>fancybox()</code> aqu&iacute;, "
496
+ "de eso ya se encarga el plugin."
497
+
498
+ #: lib/admin-tab-galleries.php:43
499
+ msgid ""
500
+ "&middot; The jQuery <code>addClass()</code> function is a good way to add "
501
+ "the class to the desired links conserving any existing class."
502
+ msgstr ""
503
+ "&middot; La funci&oacute;n <code>addClass()</code> de jQuery es una buena "
504
+ "forma de a&ntilde;adir el class a los links deseados."
505
+
506
+ #: lib/admin-tab-galleries.php:45
507
+ msgid ""
508
+ "&middot; You can use <code>getTitle()</code> in your expression to copy the "
509
+ "title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so "
510
+ "that FancyBox can show captions."
511
+ msgstr ""
512
+ "&middot; Puedes usar <code>getTitle()</code> en tu expresi&oacute;n para "
513
+ "copiar el atributo title desde el tag <code>IMG</code> al tag <code>A</"
514
+ "code>, para que FancyBox pueda mostrar el t&iacute;tulo de la imagen."
515
+
516
+ #: lib/admin-tab-galleries.php:47
517
+ msgid ""
518
+ "&middot; You can use <code>jQuery(thumbnails)</code> like in the example "
519
+ "expression to apply FancyBox to thumbnails that link to these extensions: "
520
+ "BMP, GIF, JPG, JPEG, PNG (both lowercase and uppercase)."
521
+ msgstr ""
522
+ "&middot; Puedes usar <code>jQuery(thumbnails)</code> como en el ejemplo para "
523
+ "aplicar FancyBox a las miniaturas de im%aacute;genes que enlazen a estas "
524
+ "extensiones: BMP, GIF, JPG, JPEG, PNG tanto en min&uacute;scula como en "
525
+ "may&uacute;scula)."
526
+
527
+ #: lib/admin-tab-galleries.php:49
528
+ msgid ""
529
+ "&middot; If you want to do it manually you can use something like "
530
+ "<code>jQuery(\"a:has(img)[href$='.jpg']\")</code> or whatever works for you."
531
+ msgstr ""
532
+ "&middot; Si prefieres hacerlo manualmente puedes usar algo como "
533
+ "<code>jQuery(\"a:has(img)[href$='.jpg']\")</code> o lo que m&aacute;s se "
534
+ "ajuste a tu blog."
535
+
536
+ #: lib/admin-tab-galleries.php:51
537
+ msgid ""
538
+ "See the <a href=\"http://docs.jquery.com/\" target=\"_blank\">jQuery "
539
+ "Documentation</a> for more help."
540
+ msgstr ""
541
+ "Visita la <a href=\"http://docs.jquery.com/\" target=\"_blank"
542
+ "\">Documentaci&oacute;n de jQuery</a> para encontrar m&aacute;s ayuda."
543
+
544
+ #: lib/admin-tab-galleries.php:53
545
+ msgid "Examples:"
546
+ msgstr "Ejemplos:"
547
+
548
+ #: lib/admin-tab-info.php:1
549
+ msgid "Information"
550
+ msgstr "Información"
551
+
552
+ #: lib/admin-tab-info.php:3
553
+ msgid ""
554
+ "<a target=\"_blank\" href=\"http://fancybox.net\">FancyBox</a> developed by "
555
+ "<a target=\"_blank\" href=\"http://fancybox.net\">Janis Skarnelis</a>, "
556
+ "ported to WordPress by <a target=\"_blank\" href=\"http://twitter.com/moskis"
557
+ "\">Jos&eacute; Pardilla</a>. Licensed under the <a target=\"_blank\" href="
558
+ "\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
559
+ msgstr ""
560
+ "<a href=\"http://fancybox.net\">FancyBox</a> desarrollado por <a href="
561
+ "\"http://fancybox.net\">Janis Skarnelis</a>, adaptado a WordPress por <a "
562
+ "href=\"http://http://twitter.com/moskis\">Jos&eacute; Pardilla</a>. "
563
+ "Licenciado bajo <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/"
564
+ "MIT_License\">Licencia MIT</a>."
565
+
566
+ #: lib/admin-tab-info.php:5
567
+ msgid ""
568
+ "As you can see, this plugin has many options you can edit, but have no fear, "
569
+ "you can leave everything as it is if you don't want to get your hands dirty, "
570
+ "since the default options should be a good start... :)"
571
+ msgstr ""
572
+ "Como puedes ver, este plugin te permite editar muchas opciones, pero no te "
573
+ "preocupes, puedes dejarlo todo como está, ya que las opciones predefinidas "
574
+ "no están mal para empezar... :)"
575
+
576
+ #: lib/admin-tab-info.php:7
577
+ msgid ""
578
+ "If you are an advanced user you can <a target=\"_blank\" href=\"https://"
579
+ "github.com/moskis/fancybox-for-wordpress\">follow the plugin in Github</a>, "
580
+ "fork it or help submitting fixes!"
581
+ msgstr ""
582
+ "Si eres un usuario avanzado, puedes <a target=\"_blank\" href=\"https://"
583
+ "github.com/moskis/fancybox-for-wordpress\">seguir el plugin en Github</a>, y "
584
+ "colaborar aportando correcciones!"
585
+
586
+ #: lib/admin-tab-info.php:9
587
+ msgid ""
588
+ "<strong>Note:</strong> Having a cache plugin may prevent changes from taking "
589
+ "effect immidiately, if this happens clear cache after saving changes here or "
590
+ "deactivate cache until you finish editing these options."
591
+ msgstr ""
592
+ "<strong>Nota:</strong> Usar un plugin de caché puede hacer que los cambios "
593
+ "no surjan efecto inmediatamente, si esto ocurre vacía el cache después de "
594
+ "guardar los cambios o desactívalo hasta que termines de ajustar estas "
595
+ "opciones."
596
+
597
+ #: lib/admin-tab-other.php:1
598
+ msgid "Other Settings <span style=\"color:red\">(advanced)</span>"
599
+ msgstr "Otras Opciones <span style=\"color:red\">(avanzado)</span>"
600
+
601
+ #: lib/admin-tab-other.php:3
602
+ msgid "These are additional settings for advanced users."
603
+ msgstr "Las siguientes opciones son para usuarios avanzados."
604
+
605
+ #: lib/admin-tab-other.php:9
606
+ msgid "Dimensions"
607
+ msgstr "Dimensiones"
608
+
609
+ #: lib/admin-tab-other.php:15
610
+ msgid "Auto detect dimensions (default: on)"
611
+ msgstr "Auto detectar dimensiones (por defecto: activado)"
612
+
613
+ #: lib/admin-tab-other.php:18
614
+ msgid ""
615
+ "Only works with <strong>Ajax</strong> and <strong>Inline</strong> content! "
616
+ "Flash dimensions won't be autodetected so specify them below if necessary. "
617
+ "If you want to insert several pieces of flash content with different "
618
+ "dimensions you will have to use the <strong>Additional FancyBox Calls</"
619
+ "strong> option."
620
+ msgstr ""
621
+ "Sólo funciona con <strong>Ajax</strong> y <strong>Contenido en línea</"
622
+ "strong>! Las dimenciones de elementos Flash no se autodetectan así que "
623
+ "especifícalas aquí debajo si lo necesitas. Si necesitas insertar varios "
624
+ "elementos Flash de tamaños distintos tendrás que usar el apartado de "
625
+ "<strong>Llamadas Extra</strong>."
626
+
627
+ #: lib/admin-tab-other.php:22
628
+ msgid ""
629
+ "Width for iframe and swf content. Also set for inline content if "
630
+ "<em>autoDimensions</em> is disabled (default: 560)"
631
+ msgstr ""
632
+ "Ancho para iframes y contenido Flash. También afecta a contenido en línea si "
633
+ "<em>Auto detectar dimensiones</em> está desactivado (por defecto: 560)"
634
+
635
+ #: lib/admin-tab-other.php:27
636
+ msgid ""
637
+ "Height for iframe and swf content. Also set for inline content if "
638
+ "<em>autoDimensions</em> is disabled (default: 340)"
639
+ msgstr ""
640
+ "Alto para iframes y contenido Flash. También afecta a contenido en línea si "
641
+ "<em>Auto detectar dimensiones</em> está desactivado (por defecto: 340)"
642
+
643
+ #: lib/admin-tab-other.php:35
644
+ msgid "Load JavaScript in Footer"
645
+ msgstr "Cargar JavaScript en el Pié de página"
646
+
647
+ #: lib/admin-tab-other.php:41
648
+ msgid ""
649
+ "Loads JavaScript at the end of the blog's HTML (experimental) (default: off)"
650
+ msgstr ""
651
+ "Carga el JavaScript al final del código HTML del blog (experimental) (por "
652
+ "defecto: desactivado)"
653
+
654
+ #: lib/admin-tab-other.php:44
655
+ msgid ""
656
+ "This option won't be recognized if you use <strong>Parallel Load</strong> "
657
+ "plugin. In that case, you can do this from Parallel Load's options."
658
+ msgstr ""
659
+ "Esta opción será ignorada si el plugin <strong>Parallel Load</strong> está "
660
+ "instalado. Si es así, usa las opciones del plugin Parallel Load."
661
+
662
+ #: lib/admin-tab-other.php:51
663
+ msgid "Callbacks"
664
+ msgstr "Retrollamadas"
665
+
666
+ #: lib/admin-tab-other.php:57
667
+ msgid "Enable callbacks (default: off)"
668
+ msgstr "Activar retrollamadas (por defecto: desactivado)"
669
+
670
+ #: lib/admin-tab-other.php:60
671
+ msgid "Enabling this will show additional settings."
672
+ msgstr "Activar esta opcíón mostrará opociones adicionales."
673
+
674
+ #: lib/admin-tab-other.php:65
675
+ msgid ""
676
+ "Callback on <strong>Start</strong> event: Will be called right before "
677
+ "attempting to load the content"
678
+ msgstr ""
679
+ "Retrollamada en evento <strong>Inicio</strong>: Se ejecutará justo antes de "
680
+ "intentar cargar el contenido"
681
+
682
+ #: lib/admin-tab-other.php:70
683
+ msgid ""
684
+ "Callback on <strong>Cancel</strong> event: Will be called after loading is "
685
+ "canceled"
686
+ msgstr ""
687
+ "Retrollamada en evento <strong>Cancelar</strong>: Se ejecutará tras cancelar "
688
+ "la carga del contenido"
689
+
690
+ #: lib/admin-tab-other.php:75
691
+ msgid ""
692
+ "Callback on <strong>Complete</strong> event: Will be called once the content "
693
+ "is displayed"
694
+ msgstr ""
695
+ "Retrollamada en evento <strong>Completado</strong>: Se ejecutará una vez se "
696
+ "termine de mostrar el contenido"
697
+
698
+ #: lib/admin-tab-other.php:80
699
+ msgid ""
700
+ "Callback on <strong>CleanUp</strong> event: Will be called just before "
701
+ "closing"
702
+ msgstr ""
703
+ "Retrollamada en evento <strong>Limpieza</strong>: Se ejecutará justo antes "
704
+ "de empezar a ocultar el contenido"
705
+
706
+ #: lib/admin-tab-other.php:85
707
+ msgid ""
708
+ "Callback on <strong>Closed</strong> event: Will be called once FancyBox is "
709
+ "closed"
710
+ msgstr ""
711
+ "Retrollamada en evento <strong>Cerrado</strong>: Se ejecutará tras cerrar "
712
+ "FancyBox"
713
+
714
+ #: lib/admin-tab-other.php:91
715
+ msgid "Leave empty any speciic callbacks you don't need to use."
716
+ msgstr "Deja en blanco cualquier Retrollamada que no quieras usar."
717
+
718
+ #: lib/admin-tab-support.php:3
719
+ msgid "Help with Fancybox"
720
+ msgstr "Ayuda sobre ancyBox"
721
+
722
+ #: lib/admin-tab-support.php:5
723
+ msgid ""
724
+ "If you have problems or questions about FancyBox itself (and not this "
725
+ "WordPress plugin), please start with these links: <a target=\"_blank\" href="
726
+ "\"http://fancybox.net/howto\">How-To</a> & <a target=\"_blank\" href="
727
+ "\"http://fancybox.net/faq\">FAQ</a>.<br />If that does not help, go to <a "
728
+ "href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</"
729
+ "a>, use the <strong>Search</strong> option, and if necesary, post your "
730
+ "question."
731
+ msgstr ""
732
+ "Si tienes problemas o dudas acerca de FancyBox (y no este plugin en sí), por "
733
+ "favor visita estos enlaces (en inglés): <a href=\"http://fancybox.net/howto"
734
+ "\">How-To</a> & <a href=\"http://fancybox.net/faq\">FAQ</a>.<br />Si eso no "
735
+ "ayuda, ves al <a href=\"http://groups.google.com/group/fancybox\">Grupo de "
736
+ "Google de FancyBox</a>, usa la opción de <strong>Búsqueda</strong>, y si no "
737
+ "encuentras lo que buscas, pregunta allí."
738
+
739
+ #: lib/admin-tab-support.php:8
740
+ msgid "Help with Fancybox for WordPress plugin"
741
+ msgstr "Ayuda para el plugin Fancybox for WordPress"
742
+
743
+ #: lib/admin-tab-support.php:10
744
+ msgid ""
745
+ "Try to localize the problem (switch your theme and deactivate plugins until "
746
+ "you find the source of the problem). You can also try the Troubleshooting "
747
+ "settings of this plugin if necesary."
748
+ msgstr ""
749
+ "Intenta localizar la fuente del problema (cambia de tema y/o desactiva "
750
+ "plugins hasta que encuentres lo que causa el problema). También puedes usar "
751
+ "las optiones de Resolución de Errores que hay al final de esta página."
752
+
753
+ #: lib/admin-tab-support.php:11
754
+ msgid ""
755
+ "Try reverting the plugin's settings to their defaults with the button below."
756
+ msgstr ""
757
+ "Prueba a resetear las opciones a sus valores originales con el botón al pie "
758
+ "de esta página."
759
+
760
+ #: lib/admin-tab-support.php:12
761
+ msgid ""
762
+ "If you still can not get the plugin to work, <a target=\"_blank\" href="
763
+ "\"http://wordpress.org/support/plugin/fancybox-for-wordpress#postform"
764
+ "\">write a post in the WordPress Support forums</a> explaining the problem "
765
+ "or take a look and the <a target=\"_blank\" href=\"http://wordpress.org/"
766
+ "support/plugin/fancybox-for-wordpress\">already posted messages</a>."
767
+ msgstr ""
768
+ "Si aún no puedes hacer funcionar el plugin, <a target=\"_blank\" href="
769
+ "\"http://wordpress.org/support/plugin/fancybox-for-wordpress#postform"
770
+ "\">escribe en el foro de Soporte de WordPress</a> o echa un vistazo a <a "
771
+ "target=\"_blank\" href=\"\"http://wordpress.org/support/plugin/fancybox-for-"
772
+ "wordpress\">los mensajes ya escritos en dicho foro</a>."
773
+
774
+ #: lib/admin-tab-support.php:15
775
+ msgid "IMPORTANT:"
776
+ msgstr "IMPORTANTE:"
777
+
778
+ #: lib/admin-tab-support.php:15
779
+ msgid ""
780
+ "When posting your problem please provide a link to your blog and the page "
781
+ "where the error is found, and all relevant information you can, especially "
782
+ "your theme, plugins, etc."
783
+ msgstr ""
784
+ "Cuando expliques tu problema, por favor deja un enlace a tu blog y una "
785
+ "página donde FancyBox falla, así como cualquier información reelevante, como "
786
+ "el tema de WordPress y plugins que usas."
787
+
788
+ #: lib/admin-tab-troubleshooting.php:1
789
+ msgid "Troubleshooting Settings"
790
+ msgstr "Resolución de Problemas"
791
+
792
+ #: lib/admin-tab-troubleshooting.php:3
793
+ msgid ""
794
+ "Settings in this section should only be changed if you are having problems "
795
+ "with the plugin!"
796
+ msgstr ""
797
+ "Las opciones de esta sección solo deben ser editadas si tienes problemas con "
798
+ "el plugin!"
799
+
800
+ #: lib/admin-tab-troubleshooting.php:5
801
+ msgid ""
802
+ "If the plugin doesn't seem to work, first you should check for other plugins "
803
+ "that may be conflicting with this one, especially other Lightbox, Slimbox, "
804
+ "etc. Make sure all your plugins and WordPress itself are up to date (this "
805
+ "plugin has only been tested in WordPress 2.7 and above)."
806
+ msgstr ""
807
+ "Si el plugin no funciona, lo primero que deberías hacer es comprobar que no "
808
+ "haya un conflicto con otros plugins, especialmente otro tipo de Lightbox, "
809
+ "Slimbox, etc. Asegúrate de que todos tus plugins y tu WordPress están "
810
+ "actualizados (este plugin solo se ha testado con WordPress 2.7 y superiores)."
811
+
812
+ #: lib/admin-tab-troubleshooting.php:7
813
+ msgid ""
814
+ "Change them one at a time and test to see if they help. Remember that having "
815
+ "a cache plugin may prevent changes from taking effect immidiately, so clear "
816
+ "cache after saving changes here or deactivate cache until you finish editing "
817
+ "these options."
818
+ msgstr ""
819
+ "Cámbialas de una en una y comprueba si solucionan tu problema. Recuqerda que "
820
+ "usar un plugin de caché puede hacer que los cambios no surjan efecto "
821
+ "inmediatamente, vacía el cache después de guardar los cambios or desactivalo "
822
+ "hasta que termines de ajustar estas opciones."
823
+
824
+ #: lib/admin-tab-troubleshooting.php:13
825
+ msgid "Do not call jQuery"
826
+ msgstr "No cargar jQuery"
827
+
828
+ #: lib/admin-tab-troubleshooting.php:19
829
+ msgid ""
830
+ "Skip jQuery call. Use this only if jQuery is being loaded twice (default: "
831
+ "off)"
832
+ msgstr ""
833
+ "Omitir llamada a jQuery. Usa esta opción sólo si jQuery se está cargando dos "
834
+ "veces por error. (por defecto: desactivado)"
835
+
836
+ #: lib/admin-tab-uninstall.php:3
837
+ msgid ""
838
+ "Like many other plugins, FancyBox for WordPress stores its settings on your "
839
+ "WordPress' options database table. Actually, these settings are not using "
840
+ "more than a couple of kilobytes of space, but if you want to completely "
841
+ "uninstall this plugin, check the option below, then save changes, and "
842
+ "<strong>when you deactivate the plugin</strong>, all its settings will be "
843
+ "removed from the database."
844
+ msgstr ""
845
+ "Al igual que otros plugins, FancyBox for WordPress guarda sus opciones en la "
846
+ "tabla de opciones de la base de datos de WordPress. En realidad, estas "
847
+ "opcines no ocupam más que unos kilobytes de espacio, pero si quieres "
848
+ "eliminar el plugin por completo, activa la siguiente opción, guarda los "
849
+ "cambios, y <strong>cuando desactives el plugin</strong>, todas las opciones "
850
+ "se eliminarán de la base de datos."
851
+
852
+ #: lib/admin-tab-uninstall.php:9
853
+ msgid "Remove settings"
854
+ msgstr "Eliminar Opciones"
855
+
856
+ #: lib/admin-tab-uninstall.php:15
857
+ msgid ""
858
+ "Remove Settings when plugin is deactivated from the \"Manage Plugins\" page. "
859
+ "(default: off)"
860
+ msgstr ""
861
+ "Eliminar opciones cuando se desactive el plugin desde la página \"Gestionar "
862
+ "Plugins\". (por defecto: desactivado)"
863
+
864
+ #. Plugin Name of the plugin/theme
865
+ msgid "FancyBox for WordPress"
866
+ msgstr "FancyBox for WordPress"
867
+
868
+ #. Plugin URI of the plugin/theme
869
+ msgid "https://wordpress.org/plugins/fancybox-for-wordpress/"
870
+ msgstr "https://wordpress.org/plugins/fancybox-for-wordpress/"
871
+
872
+ #. Description of the plugin/theme
873
+ msgid ""
874
+ "Integrates <a href=\"http://fancybox.net/\">FancyBox</a> by <a href=\"http://"
875
+ "klade.lv/\">Janis Skarnelis</a> into WordPress."
876
+ msgstr ""
877
+ "Integra <a href=\"http://fancybox.net/\">FancyBox</a> por <a href=\"http://"
878
+ "klade.lv/\">Janis Skarnelis</a> en WordPress."
879
+
880
+ #. Author of the plugin/theme
881
+ msgid "Jos&eacute; Pardilla"
882
+ msgstr "Jos&eacute; Pardilla"
883
+
884
+ #. Author URI of the plugin/theme
885
+ msgid "http://twitter.com/moskis"
886
+ msgstr "http://twitter.com/moskis"
887
+
888
+ #~ msgid ""
889
+ #~ "<strong>Note:</strong> If update to version 3.0.0 breaks fancybox on your "
890
+ #~ "blog you will probably have to reset your settings (with the white button "
891
+ #~ "below). I have tested this issue on several WordPress installations and "
892
+ #~ "it always worked, so it might depend on the server. Sorry for the "
893
+ #~ "inconvinience."
894
+ #~ msgstr ""
895
+ #~ "<strong>Nota:</strong> Si la actualización a la versión 3.0.0 estropea "
896
+ #~ "FancyBox en tu blog, posiblemente tengas que reestablecer las opciones "
897
+ #~ "del plugin (desde el botón blanco de abajo)."
898
+
899
+ #~ msgid ""
900
+ #~ "If you are having trouble with this plugin take a look at this <a target="
901
+ #~ "\"_blank\" href=\"http://plugins.josepardilla.com/fancybox-for-wordpress/"
902
+ #~ "faq\">FAQ</a> where i will try to cover the most common problems and "
903
+ #~ "their solutions."
904
+ #~ msgstr ""
905
+ #~ "Si tienes problemas para hacer funcionar este plugin echa un vistazo a "
906
+ #~ "esta página de <a target=\"_blank\" href=\"http://plugins.josepardilla."
907
+ #~ "com/fancybox-for-wordpress/faq\">Preguntas Frecuentes</a> donde intentaré "
908
+ #~ "explicar los problemas más habituales y cómo resolverlos."
909
+
910
+ #~ msgid "Callback on Start event (default: empty)"
911
+ #~ msgstr "Retrollamada en el evento de Inicio (por defecto: vacío)"
912
+
913
+ #~ msgid "Callback on Show event (default: empty)"
914
+ #~ msgstr "Retrollamada en el evento de Mostrado (por defecto: vacío)"
915
+
916
+ #~ msgid "Callback on Close event (default: empty)"
917
+ #~ msgstr "Retrollamada en el evento de Cerrado (por defecto: vacío)"
918
+
919
+ #~ msgid "Leave the fields empty to disable."
920
+ #~ msgstr "Deja estos campos vacíos para desactivar cualqueir retrollamada."
921
+
922
+ #~ msgid "Frame Size"
923
+ #~ msgstr "Tamaño del recuadro"
924
+
925
+ #~ msgid ""
926
+ #~ "Width in pixels of FancyBox when showing iframe content (default: 560)"
927
+ #~ msgstr ""
928
+ #~ "Ancho en píxeles de FancyBox cuado se muestre contenido anidado (por "
929
+ #~ "defecto: 560)"
930
+
931
+ #~ msgid ""
932
+ #~ "Height in pixels of FancyBox when showing iframe content (default: 340)"
933
+ #~ msgstr ""
934
+ #~ "Alto en píxeles de FancyBox cuado se muestre contenido anidado (por "
935
+ #~ "defecto: 340)"
936
+
937
+ #~ msgid "jQuery \"noConflict\" Mode"
938
+ #~ msgstr "Modo jQuery \"noConflict\""
939
+
940
+ #~ msgid "Use jQuery noConflict mode (default: on)"
941
+ #~ msgstr "Usar parámetro noConflict de jQuery (por defecto: activado)"
942
+
943
+ #~ msgid ""
944
+ #~ "(Turning this off may cause problems if there are plugins activated that "
945
+ #~ "use other js framework like mootools, prototype, scriptaculous, etc.)"
946
+ #~ msgstr ""
947
+ #~ "(Desactivar esta opción puede causar problemas si hay plugins activadoes "
948
+ #~ "que usen otros frameworks javascript como Mootols, Prototype, "
949
+ #~ "Scriptaculous, etc.)"
950
+
951
+ #~ msgid "Presentation"
952
+ #~ msgstr "Presentación"
953
+
954
+ #~ msgid ""
955
+ #~ "These are the main settings, which let you tweak color, borders and "
956
+ #~ "animation."
957
+ #~ msgstr ""
958
+ #~ "Estas son las opciones principales, que te permiten ajustar los colores, "
959
+ #~ "bordes y animación."
960
+
961
+ #~ msgid ""
962
+ #~ "(Set <strong>Border Color</strong> to \"#000000\" and <strong>Padding "
963
+ #~ "Size</strong> to \"0\" for the classic FancyBox look)"
964
+ #~ msgstr ""
965
+ #~ "(Pon el <strong>Color del Borde</strong> en \"#000000\" y el "
966
+ #~ "<strong>Tamaño del Margen</strong> en \"0\" para el aspecto clásico de "
967
+ #~ "FancyBox)"
968
+
969
+ #~ msgid "Show/Hide Advanced Settings"
970
+ #~ msgstr "Mostrar/Ocultar Opciones Avanzadas"
971
+
972
+ #~ msgid "Show/Hide Troubleshooting &amp; Uninstall Settings"
973
+ #~ msgstr "Mostrar/Ocultar Resolución de Problemas y Desinstalaci&oacute;n"
974
+
975
+ #~ msgid ""
976
+ #~ "Do not call the <code>fancybox()</code> function here, the plugin does "
977
+ #~ "this for you."
978
+ #~ msgstr ""
979
+ #~ "No llames a la función <code>fancybox()</code> desde aquí, eso ya lo hace "
980
+ #~ "el plugin por tí."
981
+
982
+ #~ msgid "Make a gallery for each post"
983
+ #~ msgstr "Hacer una galería para cada entrada"
984
+
985
+ #~ msgid ""
986
+ #~ "The attribute has to start with fancybox, but can end with however you "
987
+ #~ "like: \"fancybox1\", \"fancybox2\", \"fancybox-custom\" will work."
988
+ #~ msgstr ""
989
+ #~ "El atributo debe empezar por fancybox pero puede terminar como quieras: "
990
+ #~ "\"fancybox1\", \"fancybox2\", \"fancybox-custom\" servirían."
991
+
992
+ #~ msgid "Horizontal position of the close button (default: right)"
993
+ #~ msgstr ""
994
+ #~ "Posición horizontal del botón para cerrar FancyBox (por defecto: derecha)"
995
+
996
+ #~ msgid "About"
997
+ #~ msgstr "Informaci&oacute;n"
998
+
999
+ #~ msgid ""
1000
+ #~ "This plugin integrates FancyBox with WordPress without having to edit any "
1001
+ #~ "file or code. Once activated the plugin will apply FancyBox automatically "
1002
+ #~ "to all image links, including WordPress galleries. Future versions will "
1003
+ #~ "include some more options like easier inline content integration and more "
1004
+ #~ "advanced customization. Enjoy!"
1005
+ #~ msgstr ""
1006
+ #~ "Este plugin integra FancyBox con WordPress sin necesidad de editar ningún "
1007
+ #~ "archivo o HTML. Una vez activado, el plugin aplicará FancyBox "
1008
+ #~ "automáticamente a todos los enlaces a imágenes, incluyendo galerias de "
1009
+ #~ "WordPress. Que lo disfrutes!"
1010
+
1011
+ #~ msgid ""
1012
+ #~ "If you have problems or questions about FancyBox itself you should <a "
1013
+ #~ "href=\"http://groups.google.com/group/fancybox\">ask in the FancyBox "
1014
+ #~ "Google Group</a>. If you want to make suggestions or ask just about this "
1015
+ #~ "WordPress plugin you can <a href=\"http://blog.moskis.net/downloads/"
1016
+ #~ "plugins/fancybox-for-wordpress/\">leave a comment here</a>, <a href="
1017
+ #~ "\"http://blog.moskis.net/contactar/\">send me an email</a>, or <a href="
1018
+ #~ "\"http://twitter.com/moskis\">contact me on twitter</a>."
1019
+ #~ msgstr ""
1020
+ #~ "Si tienes problemas o preguntas sobre FancyBox deberías <a href=\"http://"
1021
+ #~ "groups.google.com/group/fancybox\">preguntar en este grupo de Google</a> "
1022
+ #~ "(enlace en inglés). Si tienes preguntas o sugerencias sobre este plugin "
1023
+ #~ "para WordPress, puedes <a href=\"http://blog.moskis.net/downloads/plugins/"
1024
+ #~ "fancybox-for-wordpress/\">dejar un comentario aquí</a>, <a href=\"http://"
1025
+ #~ "blog.moskis.net/contactar/\">enviarme un email</a>, o <a href=\"http://"
1026
+ #~ "twitter.com/moskis\">contactar conmigo vía Twitter</a>."
1027
+
1028
+ #~ msgid "Auto Apply"
1029
+ #~ msgstr "Auto Aplicar"
1030
+
1031
+ #~ msgid ""
1032
+ #~ "Apply FancyBox automatically to all links pointing to .jpg, .jpeg, .png "
1033
+ #~ "or .gif images (default: on)"
1034
+ #~ msgstr ""
1035
+ #~ "Aplicar FancyBox automáticamente a todos los enlaces que apunten a "
1036
+ #~ "archivos .jpg, .jpeg, .png o .gif (por defecto: activado)"
1037
+
1038
+ #~ msgid ""
1039
+ #~ "(The link itself must the an image as well, text links will not be "
1040
+ #~ "affected by this option!)"
1041
+ #~ msgstr ""
1042
+ #~ "(El link tiene que estar en una imagen, esta opción no affecta a enlaces "
1043
+ #~ "de texto!)"
1044
+
1045
+ #~ msgid ""
1046
+ #~ "(This does NOT conflict with the previous and next image links on "
1047
+ #~ "FancyBox galleries.)"
1048
+ #~ msgstr ""
1049
+ #~ "(Esto no afecta a los enlaces de Imagen Siguiente e Imagen Anterior en "
1050
+ #~ "galerias de varias imágenes)"
trunk/languages/mfbfw-ja.po ADDED
@@ -0,0 +1,325 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: FancyBox for WordPress Japanese\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/fancybox-for-wordpress\n"
5
+ "POT-Creation-Date: 2009-03-25 16:40+0000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Oba-T\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+
13
+ #: admin.php:21
14
+ #, php-format
15
+ msgid "Fancybox for WordPress Options (version %s)"
16
+ msgstr "Fancybox for WordPress Options (version %s)"
17
+
18
+ #: admin.php:25
19
+ msgid "If you use FancyBox and like it, buy the author a beer!"
20
+ msgstr "FancyBoxを気に入ったならば、作者にビールをおごってください。"
21
+
22
+ #: admin.php:46
23
+ msgid "The author of this WordPress Plugin also likes beer :P"
24
+ msgstr "このプラグインの作者は、ビールが大好きです。 :P"
25
+
26
+ #: admin.php:59
27
+ msgid "Follow me on Twitter for more WordPress Plugins and Themes"
28
+ msgstr "より多くのプラグインとテーマのためにTwitterで応援してください。"
29
+
30
+ #: admin.php:66
31
+ msgid "Info & Support"
32
+ msgstr "説明とサポート"
33
+
34
+ #: admin.php:68
35
+ msgid "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> developed by <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a>, ported to WordPress by <a href=\"http://moskis.net/\">Jos&eacute; Pardilla</a>. Licensed under the <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
36
+ msgstr "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> developed by <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a>, ported to WordPress by <a href=\"http://moskis.net/\">Jos&eacute; Pardilla</a>. Licensed under the <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
37
+
38
+ #: admin.php:70
39
+ msgid "As you can see, this plugin has many options you can edit, but have no fear, you can leave everything as it is if you want, since the default options should be a good start... :)"
40
+ msgstr "このプラグインには編集可能な多くのオプションがあります。初起動時に初期値で良い設定となってます。そのままでも構わなければ変更することはありません... :)"
41
+
42
+ #: admin.php:74
43
+ msgid "If you have problems or questions about FancyBox, please start with these links: <a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>.<br />If that does not help, go to <a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>, use the <strong>Search</strong> option, and if necesary, post your question."
44
+ msgstr "トラブル、または、FancyBoxへの質問は、リンク先の<a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>へ…<br />そこで、該当項目が無ければ、必要に応じて検索オプションを使用し、<a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>で検索してください。また、該当項目が無い場合は質問をしてください。"
45
+
46
+ #: admin.php:76
47
+ msgid "If you are having trouble with this plugin try to localize the problem (switch your theme and/or deactivate plugins until you find the source of the problem). You can also try the Troubleshooting settings at the bottom of this page if necesary. If you still can not get the plugin to work, <a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">leave a comment here</a> explaining the problem."
48
+ msgstr "このプラグインが動作しない時は、問題の切り分けをしてください(使用中のテーマを変える。または、その他のプラグインを一つずつ有効化する)。必要に応じて、このページの最下部のトラブルシューティングでセッティングを試してください。それでもまだプラグインを起動できない時は、<a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">leave a comment here</a> へ問題の詳細をコメントしてください。"
49
+
50
+ #: admin.php:81
51
+ msgid "Appearance Settings <span style=\"color:green\">(basic)</span>"
52
+ msgstr "外観設定 <span style=\"color:green\">(基本設定)</span>"
53
+
54
+ #: admin.php:83
55
+ msgid "These are the main settings, which let you tweak color, borders and animation."
56
+ msgstr "主要設定です。(この設定で、色、境界線、基本的なアニメーション動作の調整ができます。)"
57
+
58
+ #: admin.php:85
59
+ msgid "<strong>Note:</strong> Having a cache plugin may prevent changes from taking effect immidiately, so clear cache after saving changes here or deactivate cache until you finish editing these options."
60
+ msgstr "<strong>Note:</strong> キャッシュが保持されているため、オプション設定後、すぐに効果が表れないかもしれません。その場合、オプション設定終了後に、キャッシュのクリアをしてください。"
61
+
62
+ #: admin.php:95
63
+ msgid "Border Color"
64
+ msgstr "境界線色"
65
+
66
+ #: admin.php:101
67
+ msgid "HTML color of the border (default: #BBBBBB)"
68
+ msgstr "境界線の表示色 (初期値: #BBBBBB)"
69
+
70
+ #: admin.php:109
71
+ msgid "Close Button Position"
72
+ msgstr "閉じるボタンの位置"
73
+
74
+ #: admin.php:115
75
+ msgid "Left"
76
+ msgstr "左"
77
+
78
+ #: admin.php:120
79
+ msgid "Right (default)"
80
+ msgstr "右 (初期値)"
81
+
82
+ #: admin.php:125
83
+ msgid "Bottom"
84
+ msgstr "下"
85
+
86
+ #: admin.php:130
87
+ msgid "Top (default)"
88
+ msgstr "上 (初期値)"
89
+
90
+ #: admin.php:138
91
+ msgid "Padding"
92
+ msgstr "パディング設定"
93
+
94
+ #: admin.php:144
95
+ msgid "HTML color of the padding (default: #FFFFFF)"
96
+ msgstr "パッディングの表示色 (初期値: #FFFFFF)"
97
+
98
+ #: admin.php:149
99
+ msgid "Padding size in pixels (default: 10)"
100
+ msgstr "パッディングサイズ:px (初期値: 10)"
101
+
102
+ #: admin.php:152
103
+ msgid "(Set <strong>Border Color</strong> to \"#000000\" and <strong>Padding Size</strong> to \"0\" for the classic FancyBox look)"
104
+ msgstr "(<strong>境界線の色</strong> が \"#000000\" と <strong>内側余白</strong> が \"0\" が、classic FancyBox の設定)"
105
+
106
+ #: admin.php:159
107
+ msgid "Overlay Options"
108
+ msgstr "オーバレイ設定"
109
+
110
+ #: admin.php:165
111
+ msgid "Add overlay (default: on)"
112
+ msgstr "オーバーレイ適用 (初期値: on)"
113
+
114
+ #: admin.php:170
115
+ msgid "HTML color of the overlay (default: #666666)"
116
+ msgstr "オーバーレイの表示色 (初期値: #666666)"
117
+
118
+ #: admin.php:183
119
+ msgid "Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)"
120
+ msgstr "オーバーレイ透過度. 0 = 透明, 1 = 黒 0.1刻み(初期値: 0.3)"
121
+
122
+ #: admin.php:191
123
+ msgid "Zoom Options"
124
+ msgstr "ズーム設定"
125
+
126
+ #: admin.php:197
127
+ msgid "Change content transparency during zoom animations (default: on)"
128
+ msgstr "切替時、アニメーション動作を使用 (初期値: on)"
129
+
130
+ #: admin.php:209
131
+ msgid "Speed in miliseconds of the zooming-in animation (default: 500)"
132
+ msgstr "ズームイン アニメーション速度 : 1000=1秒 (初期値: 500)"
133
+
134
+ #: admin.php:221
135
+ msgid "Speed in miliseconds of the zooming-out animation (default: 500)"
136
+ msgstr "ズームアウト アニメーション速度 : 1000=1秒 (初期値: 500)"
137
+
138
+ #: admin.php:229
139
+ msgid "Easing"
140
+ msgstr "加減速設定"
141
+
142
+ #: admin.php:235
143
+ msgid "Activate easing (default: off)"
144
+ msgstr "加減速設定 (初期値: off)"
145
+
146
+ #: admin.php:248
147
+ msgid "Easing method when opening FancyBox. (default: easeOutBack)"
148
+ msgstr "FancyBoxの開始時の加減速動作 (初期値: easeOutBack)"
149
+
150
+ #: admin.php:261
151
+ msgid "Easing method when closing FancyBox. (default: easeInBack)"
152
+ msgstr "FancyBoxの終了時の加減速動作 (初期値: easeInBack)"
153
+
154
+ #: admin.php:274
155
+ msgid "Easing method when navigating through gallery items. (default: easeInOutQuart)"
156
+ msgstr "ギャラリーアイテム閲覧時の加減速動作 (初期値: easeInOutBack)"
157
+
158
+ #: admin.php:277
159
+ msgid "(There are 30 different easing methods, the first ones are the most boring. You can test them <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html\" target=\"_blank\">here</a>)"
160
+ msgstr "(30種類の\"加減速\"設定があります。最初の項目は最も退屈な設定です。 この<a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">リンク</a>にてテストできます。ボックスをクリックしてください。)"
161
+
162
+ #: admin.php:286
163
+ msgid "Show/Hide Advanced Settings"
164
+ msgstr "表示/非表示 高度設定"
165
+
166
+ #: admin.php:287
167
+ msgid "Show/Hide Troubleshooting &amp; Uninstall Settings"
168
+ msgstr "表示/非表示 トラブルシューティング &amp; 削除設定"
169
+
170
+ #: admin.php:292
171
+ msgid "Behavior Settings <span style=\"color:orange\">(medium)</span>"
172
+ msgstr "動作設定 <span style=\"color:orange\">(中間値)</span>"
173
+
174
+ #: admin.php:294
175
+ msgid "The following settings should be left on default unless you know what you are doing."
176
+ msgstr "理解していない場合、以下の設定は初期値のままにしてください。"
177
+
178
+ #: admin.php:300
179
+ msgid "Auto Resize to Fit"
180
+ msgstr "自動リサイズ設定"
181
+
182
+ #: admin.php:306
183
+ msgid "Scale images to fit in viewport (default: on)"
184
+ msgstr "イメージの大きさをビューポートに合わせる (初期値: on)"
185
+
186
+ #: admin.php:314
187
+ msgid "Center on Scroll"
188
+ msgstr "表示固定設定"
189
+
190
+ #: admin.php:320
191
+ msgid "Keep image in the center of the browser window when scrolling (default: on)"
192
+ msgstr "ブラウザののスクロールをしても、プレビュー画像を中央に固定する。 (初期値: on)"
193
+
194
+ #: admin.php:328
195
+ msgid "Close on Click"
196
+ msgstr "クリック終了設定"
197
+
198
+ #: admin.php:334
199
+ msgid "Close FancyBox by clicking on the image (default: off)"
200
+ msgstr "FancyBoxをプレビュー画像クリックで閉じる。 (初期値: off)"
201
+
202
+ #: admin.php:337
203
+ msgid "(You may want to leave this off if you display iframed or inline content and it containts clickable elements - for example: play buttons for movies, links to other pages)"
204
+ msgstr "(インラインフレーム、インラインコンテンツをクリックで表示する場合、これらのコンテンツ要素をこのままにしておきたいことがあります-例えば:動画再生ボタンやページリンク)"
205
+
206
+ #: admin.php:347
207
+ msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
208
+ msgstr "ギャラリー設定 <span style=\"color:red\">(高度設定)</span>"
209
+
210
+ #: admin.php:349
211
+ msgid "Here you can choose if you want the plugin to group all images into a gallery, or make a gallery for each post. You can also define you own jQuery expression if you like."
212
+ msgstr "この設定で、すべての画像をギャラリーに分類するか、各ポストのためにギャラリーを作るかを選択できます。 また、jQueryの動作表現を定義できます。"
213
+
214
+ #: admin.php:355
215
+ msgid "Frame Size"
216
+ msgstr "フレームサイズ"
217
+
218
+ #: admin.php:361
219
+ msgid "Width in pixels of FancyBox when showing iframe content (default: 640)"
220
+ msgstr "FancyBoxのインラインフレームコンテンツの表示幅 :px (初期値: 640)"
221
+
222
+ #: admin.php:366
223
+ msgid "Height in pixels of FancyBox when showing iframe content (default: 500)"
224
+ msgstr "FancyBoxのインラインフレームコンテンツの表示高 :px (初期値: 500)"
225
+
226
+ #: admin.php:374
227
+ msgid "Gallery Type"
228
+ msgstr "ギャラリータイプ"
229
+
230
+ #: admin.php:380
231
+ msgid "Make a gallery for all images on the page (default)"
232
+ msgstr "ページ上の全画像のためにギャラリーを作る (初期値)"
233
+
234
+ #: admin.php:385
235
+ msgid "Do not group images in gallery automatically (use this if you want to make galleries manually with the <code>REL</code> attribute)"
236
+ msgstr "ギャラリーで自動的に画像を分類しない (<code>REL</code>属性で手動でギャラリーを作る場合は使用してください。)"
237
+
238
+ #: admin.php:390
239
+ msgid "Make a gallery for each post (will only work if your theme uses <code>class=\"post\"</code> on each post, which is common in WordPress"
240
+ msgstr "各ポストのためにギャラリーを作る (WordPress標準テーマにおいて<code>class=\"post\"</code>を各ポストで使う場合に動作します。)"
241
+
242
+ #: admin.php:395
243
+ msgid "Use a custom expression to apply FancyBox"
244
+ msgstr "FancyBoxへのカスタム表示の適用"
245
+
246
+ #: admin.php:404
247
+ msgid "Custom expression guidelines:"
248
+ msgstr "カスタム表示ガイドライン:"
249
+
250
+ #: admin.php:406
251
+ msgid "The custom expression has to apply <code>class=\"fancybox\"</code> to the links where you want to use FancyBox."
252
+ msgstr "カスタム表示をするには、FancyBoxを使用するリンクへ <code>class=\"fancybox\"</code> を付けます。"
253
+
254
+ #: admin.php:408
255
+ msgid "The jQuery <code>addClass()</code> function is a good way to add the class to the desired links conserving any existing class."
256
+ msgstr "jQueryの <code>addClass()</code> 機能を使用すると、どの既存のリンククラスへもaddクラスを加える早道です。"
257
+
258
+ #: admin.php:410
259
+ msgid "You can use <code>getTitle()</code> in your expression to copy the title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so that FancyBox can show captions."
260
+ msgstr "<code>getTitle()</code> を使用して <code>IMG</code> タグや、 <code>A</code> タグへ表示要素を追加し、FancyBoxを表示できます。"
261
+
262
+ #: admin.php:412
263
+ msgid "Do not call the <code>fancybox()</code> function here, the plugin does this for you."
264
+ msgstr "Fancyboxプラグインの<code>fancybox()</code> 機能を使用しない。"
265
+
266
+ #: admin.php:428
267
+ msgid "Troubleshooting Settings"
268
+ msgstr "トラブルシューティング設定"
269
+
270
+ #: admin.php:430
271
+ msgid "Settings in this section should only be changed if you are having problems with the plugin!"
272
+ msgstr "プラグインに関する問題がある場合、この設定を変えるだけです!"
273
+
274
+ #: admin.php:432
275
+ msgid "If the plugin doesn't seem to work, first you should check for other plugins that may be conflicting with this one, especially other Lightbox, Slimbox, etc. Make sure all your plugins and WordPress itself are up to date (this plugin has only been tested in WordPress 2.7 and above)."
276
+ msgstr "プラグインが機能しない場合は、はじめに他の類似プラグイン(特に他のLightbox、Slimbox)や、その他のプラグインと干渉している可能性があります。また、WordPress自体が最新版であることをチェックしてください。(このプラグインは、WordPress 2.7以上のバージョンでテスト済みです。)"
277
+
278
+ #: admin.php:434
279
+ msgid "Change them one at a time and test to see if they help. Remember that having a cache plugin may prevent changes from taking effect immidiately, so clear cache after saving changes here or deactivate cache until you finish editing these options."
280
+ msgstr "これらを一つずつを変更して、影響しているかどうかをテストしてください。これらのオプションを編集し終わってもキャッシュが保持されているため、オプション設定後、すぐに効果が表れないかもしれません。その場合、オプション設定終了後に、キャッシュのクリアをしてください。"
281
+
282
+ #: admin.php:440
283
+ msgid "Do not call jQuery"
284
+ msgstr "jQueryを使用しない"
285
+
286
+ #: admin.php:446
287
+ msgid "Skip jQuery call. Use this only if jQuery is being loaded twice (default: off)"
288
+ msgstr "jQueryの起動スキップ。jQueryが2度起動される場合だけ使用 (初期値: off)"
289
+
290
+ #: admin.php:454
291
+ msgid "jQuery \"noConflict\" Mode"
292
+ msgstr "jQuery \"noConflict\" モード"
293
+
294
+ #: admin.php:460
295
+ msgid "Use jQuery noConflict mode (default: on)"
296
+ msgstr "jQuery ノーコンフリクトモード設定 (初期値: on)"
297
+
298
+ #: admin.php:463
299
+ msgid "(Turning this off may cause problems if there are plugins activated that use other js framework like mootools, prototype, scriptaculous, etc.)"
300
+ msgstr "(この設定の有効化により、Js フレームワークを使用した、mootools、prototype、scriptaculous、その他のプラグインへの干渉を回避できる可能性があります。)"
301
+
302
+ #: admin.php:472
303
+ msgid "Uninstall"
304
+ msgstr "削除"
305
+
306
+ #: admin.php:474
307
+ msgid "Like many other plugins, FancyBox for WordPress stores its settings on your WordPress' options database table. Actually, these settings are not using more than a couple of kilobytes of space, but if you want to completely uninstall this plugin, check the option below, then save changes, and <strong>when you deactivate the plugin</strong>, all its settings will be removed from the database."
308
+ msgstr "他のプラグインのように、\"FancyBox for WordPress\"は、データベースのオプションテーブルに設定を格納します。これらの設定は2KB以上のスペースを使っていません。しかし、<strong>このプラグインを無効化</strong>し、削除する場合、完全に元に戻したいならば、下記のオプションをチェックすると、すべての設定はデータベースから削除されます。"
309
+
310
+ #: admin.php:480
311
+ msgid "Remove settings"
312
+ msgstr "設定の無効化"
313
+
314
+ #: admin.php:486
315
+ msgid "Remove Settings when plugin is deactivated from the \"Manage Plugins\" page. (default: off)"
316
+ msgstr "プラグイン設定を \"プラグイン管理\"ページから無効化してください。 (初期値: off)"
317
+
318
+ #: admin.php:503
319
+ msgid "Save Changes"
320
+ msgstr "設定保存"
321
+
322
+ #: fancybox.php:437
323
+ msgid "Settings"
324
+ msgstr "設定"
325
+
trunk/languages/mfbfw-tr_TR.po ADDED
@@ -0,0 +1,325 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: FancyBox for WordPress\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/fancybox-for-wordpress\n"
5
+ "POT-Creation-Date: 2009-03-25 16:40+0000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Yunus Emre <immortalance@gmail.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+
13
+ #: admin.php:21
14
+ #, php-format
15
+ msgid "Fancybox for WordPress Options (version %s)"
16
+ msgstr "Wordpress Ayarları için Fancybox (Versiyon %s)"
17
+
18
+ #: admin.php:25
19
+ msgid "If you use FancyBox and like it, buy the author a beer!"
20
+ msgstr "Fancybox'u sevdiyseniz kodlayıcısına bir bira ısmarlayabilirsiniz!"
21
+
22
+ #: admin.php:46
23
+ msgid "The author of this WordPress Plugin also likes beer :P"
24
+ msgstr "Bu eklentinin sahibi bira hastasıdır :P"
25
+
26
+ #: admin.php:59
27
+ msgid "Follow me on Twitter for more WordPress Plugins and Themes"
28
+ msgstr "Daha fazla tema ve plugin için Twitter'dan beni takip edin."
29
+
30
+ #: admin.php:66
31
+ msgid "Info & Support"
32
+ msgstr "Bilgi & Destek"
33
+
34
+ #: admin.php:68
35
+ msgid "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> developed by <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a>, ported to WordPress by <a href=\"http://moskis.net/\">Jos&eacute; Pardilla</a>. Licensed under the <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
36
+ msgstr "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a> tarafından kodlanmıştır. WordPress'e <a href=\"http://moskis.net/\">Jos&eacute; Pardilla</a> tarafından uyarlanmıştır. <strong><a href=\"http://blog.immortalance.net/\">Yunus Emre Bayraktar</a></strong> tarafından Türkçeleştirilmiştir. Lisans Tipi:<a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
37
+
38
+ #: admin.php:70
39
+ msgid "As you can see, this plugin has many options you can edit, but have no fear, you can leave everything as it is if you want, since the default options should be a good start... :)"
40
+ msgstr "Gördüğünüz gibi bu eklentide bir çok ayarlama yapabilirsin. Korkma, yanlış yaptığında ilk ayarlara dönüş imkanın var. :)"
41
+
42
+ #: admin.php:74
43
+ msgid "If you have problems or questions about FancyBox, please start with these links: <a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>.<br />If that does not help, go to <a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>, use the <strong>Search</strong> option, and if necesary, post your question."
44
+ msgstr "FancyBox hakkında problem ve sorularınız varsa bu linkten başlayın: <a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>.<br />Eğer aradığınızı bulamadıysanız: <a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>,'na gidin ve <strong>Arama</strong> kutucuğunu kullanın. Bulamadıysanız bir başlık açın."
45
+
46
+ #: admin.php:76
47
+ msgid "If you are having trouble with this plugin try to localize the problem (switch your theme and/or deactivate plugins until you find the source of the problem). You can also try the Troubleshooting settings at the bottom of this page if necesary. If you still can not get the plugin to work, <a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">leave a comment here</a> explaining the problem."
48
+ msgstr "Eğer bir problem yaşarsanız temanızı kontrol ediniz ve sorunu çözene kadar eklentiyi kapatınız. Sorun Giderme kılavuzundan gerektiği taktirde yardım alabilirsiniz. eğer hala bir çözüm bulamadıysanız, <a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">buraya</a> sorununuz hakkında yorum bırakabilirsiniz."
49
+
50
+ #: admin.php:81
51
+ msgid "Appearance Settings <span style=\"color:green\">(basic)</span>"
52
+ msgstr "Görünen Ayarlar <span style=\"color:green\">(basic)</span>"
53
+
54
+ #: admin.php:83
55
+ msgid "These are the main settings, which let you tweak color, borders and animation."
56
+ msgstr "Buradaki ana ayarlar ile renk, çerçeve ve animasyonu seçebilirsiniz."
57
+
58
+ #: admin.php:85
59
+ msgid "<strong>Note:</strong> Having a cache plugin may prevent changes from taking effect immidiately, so clear cache after saving changes here or deactivate cache until you finish editing these options."
60
+ msgstr "<strong>Not:</strong> Eğer bir önbellek (Cache) eklentisi kullanıyorsanız ayarlamaları yaptıktan sonra değişiklikleri görmek için önbelleği temizleyin. Daha iyi bir yol ise önbellek eklentisini ayarlarınız bitene kadar kapalı konumda tutun."
61
+
62
+ #: admin.php:95
63
+ msgid "Border Color"
64
+ msgstr "Çerçeve Rengi"
65
+
66
+ #: admin.php:101
67
+ msgid "HTML color of the border (default: #BBBBBB)"
68
+ msgstr "Çerçeve için HTML rengi (default: #BBBBBB)"
69
+
70
+ #: admin.php:109
71
+ msgid "Close Button Position"
72
+ msgstr "Çıkış Butonu Pozisyonu"
73
+
74
+ #: admin.php:115
75
+ msgid "Left"
76
+ msgstr "Sol"
77
+
78
+ #: admin.php:120
79
+ msgid "Right (default)"
80
+ msgstr "Sağ"
81
+
82
+ #: admin.php:125
83
+ msgid "Bottom"
84
+ msgstr "Alt"
85
+
86
+ #: admin.php:130
87
+ msgid "Top (default)"
88
+ msgstr "Üst"
89
+
90
+ #: admin.php:138
91
+ msgid "Padding"
92
+ msgstr "Dolgu"
93
+
94
+ #: admin.php:144
95
+ msgid "HTML color of the padding (default: #FFFFFF)"
96
+ msgstr "Dolgunun HTML rengi (default: #FFFFFF)"
97
+
98
+ #: admin.php:149
99
+ msgid "Padding size in pixels (default: 10)"
100
+ msgstr "Pixel cinsinden dolgu (default: 10)"
101
+
102
+ #: admin.php:152
103
+ msgid "(Set <strong>Border Color</strong> to \"#000000\" and <strong>Padding Size</strong> to \"0\" for the classic FancyBox look)"
104
+ msgstr "(Klasik görünüm için<strong>Border Color</strong>'ni \"#000000\"'a ayarla ve <strong>Dolgu Boyutunu</strong> \"0\"a ayarla )"
105
+
106
+ #: admin.php:159
107
+ msgid "Overlay Options"
108
+ msgstr "Kaplama Ayarları"
109
+
110
+ #: admin.php:165
111
+ msgid "Add overlay (default: on)"
112
+ msgstr "Kaplama Ekle (default: on)"
113
+
114
+ #: admin.php:170
115
+ msgid "HTML color of the overlay (default: #666666)"
116
+ msgstr "Kaplama için ana HTML rengi (default: #666666)"
117
+
118
+ #: admin.php:183
119
+ msgid "Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)"
120
+ msgstr "Saydamlık ayarları. \"0\" saydam, \"1\" mat şekildedir. (default: 0.3)"
121
+
122
+ #: admin.php:191
123
+ msgid "Zoom Options"
124
+ msgstr "Yakınlaştırma Ayarları"
125
+
126
+ #: admin.php:197
127
+ msgid "Change content transparency during zoom animations (default: on)"
128
+ msgstr "Animasyonel yakınlaştırma sırasında resmin bulunduğu sayfayı saydamlaştır. (default: on)"
129
+
130
+ #: admin.php:209
131
+ msgid "Speed in miliseconds of the zooming-in animation (default: 500)"
132
+ msgstr "Milisaniye cinsinden yakınlaştırma hızı. (default: 500)"
133
+
134
+ #: admin.php:221
135
+ msgid "Speed in miliseconds of the zooming-out animation (default: 500)"
136
+ msgstr "Milisaniye cinsinden uzaklaştırma hızı. (default: 500)"
137
+
138
+ #: admin.php:229
139
+ msgid "Easing"
140
+ msgstr "Sönüklük"
141
+
142
+ #: admin.php:235
143
+ msgid "Activate easing (default: off)"
144
+ msgstr "Sönüklüğü Aktifleştir (Default: off)"
145
+
146
+ #: admin.php:248
147
+ msgid "Easing method when opening FancyBox. (default: easeOutBack)"
148
+ msgstr "Fancybox'u sönükleştirerek aç. (default: easeinback)"
149
+
150
+ #: admin.php:261
151
+ msgid "Easing method when closing FancyBox. (default: easeInBack)"
152
+ msgstr "Fancybox'u sönükleştirerek kapat. (default: easeinback)"
153
+
154
+ #: admin.php:274
155
+ msgid "Easing method when navigating through gallery items. (default: easeInOutQuart)"
156
+ msgstr "Galeri parçalarını gezdirirken sönükleştir . (default: easeInOutQuart)"
157
+
158
+ #: admin.php:277
159
+ msgid "(There are 30 different easing methods, the first ones are the most boring. You can test them <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html\" target=\"_blank\">here</a>)"
160
+ msgstr "(Burada 30 adet geçiş modu bulunmaktadır. İlk seçtiğiniz kötü olabilir. <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html\" target=\"_blank\">Buradan</a>) diğerlerini de kontrol edebilirsiniz."
161
+
162
+ #: admin.php:286
163
+ msgid "Show/Hide Advanced Settings"
164
+ msgstr "İnce Ayarları Göster/Sakla"
165
+
166
+ #: admin.php:287
167
+ msgid "Show/Hide Troubleshooting &amp; Uninstall Settings"
168
+ msgstr "Troubleshooting &amp; Eklentiyi Kaldırma ayarları Göster/Sakla"
169
+
170
+ #: admin.php:292
171
+ msgid "Behavior Settings <span style=\"color:orange\">(medium)</span>"
172
+ msgstr "Hareket Ayarları <span style=\"color:orange\">(medium)</span>"
173
+
174
+ #: admin.php:294
175
+ msgid "The following settings should be left on default unless you know what you are doing."
176
+ msgstr "Ne yaptığınızı bilmiyorsanız düzünlemekten vazgeçin ve ayarları ilk konumuna getirin. (default değerlerine)"
177
+
178
+ #: admin.php:300
179
+ msgid "Auto Resize to Fit"
180
+ msgstr "Otomatik Boyutlandırma"
181
+
182
+ #: admin.php:306
183
+ msgid "Scale images to fit in viewport (default: on)"
184
+ msgstr "Görüntülemeyi ölçeklendir. (default: on)"
185
+
186
+ #: admin.php:314
187
+ msgid "Center on Scroll"
188
+ msgstr "Kaydırırken Ortada"
189
+
190
+ #: admin.php:320
191
+ msgid "Keep image in the center of the browser window when scrolling (default: on)"
192
+ msgstr "Pencere kaydırıldığında resim de sayfayla beraber kaysın. (default: on)"
193
+
194
+ #: admin.php:328
195
+ msgid "Close on Click"
196
+ msgstr "Tıklandığında Çıkış"
197
+
198
+ #: admin.php:334
199
+ msgid "Close FancyBox by clicking on the image (default: off)"
200
+ msgstr "Resime tıklandığında resim penceresini kapat. (default: off)"
201
+
202
+ #: admin.php:337
203
+ msgid "(You may want to leave this off if you display iframed or inline content and it containts clickable elements - for example: play buttons for movies, links to other pages)"
204
+ msgstr "(Eğer sayfayı iframe içerisinde göstermek istemiyorsanız burayı terkedebilirsiniz. Ör:/ videolar için oynatma butonu ve diğer sayfalara linkler koymak gibi.)"
205
+
206
+ #: admin.php:347
207
+ msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
208
+ msgstr "Galeri Ayarları <span style=\"color:red\">(advanced)</span>"
209
+
210
+ #: admin.php:349
211
+ msgid "Here you can choose if you want the plugin to group all images into a gallery, or make a gallery for each post. You can also define you own jQuery expression if you like."
212
+ msgstr "İsterseniz buradan bütün resimleri galerinin içine koyabilir ve yazınıza galeri oluşturabilirsiniz. Ayrıca kendi jQuery ifadelerini kullanabilirsiniz."
213
+
214
+ #: admin.php:355
215
+ msgid "Frame Size"
216
+ msgstr "Açılır Pencere Boyutu"
217
+
218
+ #: admin.php:361
219
+ msgid "Width in pixels of FancyBox when showing iframe content (default: 640)"
220
+ msgstr "Açılır pencere açıldığında Fancybox'un Pixel cinsinden genişliği. (default: 640)"
221
+
222
+ #: admin.php:366
223
+ msgid "Height in pixels of FancyBox when showing iframe content (default: 500)"
224
+ msgstr "Açılır pencere açıldığında Fancybox'un Pixel cinsinden yüksekliği. (default: 500)"
225
+
226
+ #: admin.php:374
227
+ msgid "Gallery Type"
228
+ msgstr "Galeri Tipi"
229
+
230
+ #: admin.php:380
231
+ msgid "Make a gallery for all images on the page (default)"
232
+ msgstr "Sayfadaki tüm resimlerden bir galeri oluştur. (default)"
233
+
234
+ #: admin.php:385
235
+ msgid "Do not group images in gallery automatically (use this if you want to make galleries manually with the <code>REL</code> attribute)"
236
+ msgstr "Resimleri otomatik olarak galeriye ekleme. (Bunu resimleri kendiniz galeriye eklemek isterseniz kullanın. Resimleri<code>REL</code> kodu ile galeriye ekleyebilirsiniz.)"
237
+
238
+ #: admin.php:390
239
+ msgid "Make a gallery for each post (will only work if your theme uses <code>class=\"post\"</code> on each post, which is common in WordPress"
240
+ msgstr "Her yazıda resim galerisi oluştur. (Sadece temanız her yazıda<code>class=\"post\"</code> kodunu kullanıyorsa çalışır, Wordpress'de yaygın olarak kullanılır.)"
241
+
242
+ #: admin.php:395
243
+ msgid "Use a custom expression to apply FancyBox"
244
+ msgstr "Kendi ifadelerinizi Fancybox'a ekleyin."
245
+
246
+ #: admin.php:404
247
+ msgid "Custom expression guidelines:"
248
+ msgstr "Özelleştirilmiş İfadeler Kılavuzu:"
249
+
250
+ #: admin.php:406
251
+ msgid "The custom expression has to apply <code>class=\"fancybox\"</code> to the links where you want to use FancyBox."
252
+ msgstr "Kendi ifadelerinizi kullanmak için FancyBox'u kullandığınız yerdeki linke <code>class=\"fancybox\"</code> kodunu yerleştiriniz."
253
+
254
+ #: admin.php:408
255
+ msgid "The jQuery <code>addClass()</code> function is a good way to add the class to the desired links conserving any existing class."
256
+ msgstr "jQuery <code>addClass()</code> fonksiyonu linklere falan şekil vermek için iyi bir yoldur."
257
+
258
+ #: admin.php:410
259
+ msgid "You can use <code>getTitle()</code> in your expression to copy the title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so that FancyBox can show captions."
260
+ msgstr "You can use <code>getTitle()</code> in your expression to copy the title attribute from the <code>IMG</code> tag to the <code>A</code> tag, böylece başlıkları gösterebilirsiniz."
261
+
262
+ #: admin.php:412
263
+ msgid "Do not call the <code>fancybox()</code> function here, the plugin does this for you."
264
+ msgstr "<code>fancybox()</code> fonksiyonunu burada çalıştırma, eklenti sizin için."
265
+
266
+ #: admin.php:428
267
+ msgid "Troubleshooting Settings"
268
+ msgstr "Sorun Giderme Ayarları"
269
+
270
+ #: admin.php:430
271
+ msgid "Settings in this section should only be changed if you are having problems with the plugin!"
272
+ msgstr "Bu seçenek sadece eklentide bir problem yaşanıyorsa değiştirilebilir."
273
+
274
+ #: admin.php:432
275
+ msgid "If the plugin doesn't seem to work, first you should check for other plugins that may be conflicting with this one, especially other Lightbox, Slimbox, etc. Make sure all your plugins and WordPress itself are up to date (this plugin has only been tested in WordPress 2.7 and above)."
276
+ msgstr "Eğer bu eklenti çalışmıyor gibi görünüyorsa diğer eklentileri kontrol edin ve tüm eklentilerin güncel olduğundan emin olun. ( Bu eklenti sadece Wordpress 2.7 ve daha yüksek sürümlerinde test edilmiştir.)"
277
+
278
+ #: admin.php:434
279
+ msgid "Change them one at a time and test to see if they help. Remember that having a cache plugin may prevent changes from taking effect immidiately, so clear cache after saving changes here or deactivate cache until you finish editing these options."
280
+ msgstr "Bir defalığına test etmeniz size yardımcı olabilir. Test işlemini yapmadan önce ön bellek (cache) kullanıyorsanız önbelleği temizleyiniz ve sonra test işlemi yapınız. Önbelekleme sizin yaptığınız değişiklikleri görmenizi engelleyecektir. "
281
+
282
+ #: admin.php:440
283
+ msgid "Do not call jQuery"
284
+ msgstr "jQuery kullanma"
285
+
286
+ #: admin.php:446
287
+ msgid "Skip jQuery call. Use this only if jQuery is being loaded twice (default: off)"
288
+ msgstr "JQuery sorgusunu atla. Eğer JQuery iki defa çalışıyorsa bunu kullanın."
289
+
290
+ #: admin.php:454
291
+ msgid "jQuery \"noConflict\" Mode"
292
+ msgstr "jQuery \"noConflict\" Modu"
293
+
294
+ #: admin.php:460
295
+ msgid "Use jQuery noConflict mode (default: on)"
296
+ msgstr "jQuery noConflict modu kullan (default: on)"
297
+
298
+ #: admin.php:463
299
+ msgid "(Turning this off may cause problems if there are plugins activated that use other js framework like mootools, prototype, scriptaculous, etc.)"
300
+ msgstr "(Eğer eklenti aktifken diğer Java Scriptlerle ilgili problem yaşarsa (mootols, prototype gibi) bunu kapalı konuma getirin. )"
301
+
302
+ #: admin.php:472
303
+ msgid "Uninstall"
304
+ msgstr "Eklentiyi Kaldır"
305
+
306
+ #: admin.php:474
307
+ msgid "Like many other plugins, FancyBox for WordPress stores its settings on your WordPress' options database table. Actually, these settings are not using more than a couple of kilobytes of space, but if you want to completely uninstall this plugin, check the option below, then save changes, and <strong>when you deactivate the plugin</strong>, all its settings will be removed from the database."
308
+ msgstr "Diğer eklentiler gibi Fancybox da veritabanında Wordpress ayarları tablosunu kullanarak çalışır. Çok fazla boyut kullanmamasına rağmen kaldırmak isterseniz öncelikle ayarlardan eklentiyi kapatınız. Böylece ayarlarınız veritababnından silinecektir. Daha sonra kaldırma işlemini tamamlayabilirsiniz."
309
+
310
+ #: admin.php:480
311
+ msgid "Remove settings"
312
+ msgstr "Ayarları Sil"
313
+
314
+ #: admin.php:486
315
+ msgid "Remove Settings when plugin is deactivated from the \"Manage Plugins\" page. (default: off)"
316
+ msgstr "Eklenti etkisizleştirildiğinde ayarları temizle."
317
+
318
+ #: admin.php:503
319
+ msgid "Save Changes"
320
+ msgstr "Değişiklikleri Kaydet"
321
+
322
+ #: fancybox.php:437
323
+ msgid "Settings"
324
+ msgstr "Ayarlar"
325
+
trunk/languages/mfbfw.pot ADDED
@@ -0,0 +1,741 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 FancyBox for WordPress
2
+ # This file is distributed under the same license as the FancyBox for WordPress package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: FancyBox for WordPress 3.0.5\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/fancybox-for-"
7
+ "wordpress\n"
8
+ "POT-Creation-Date: 2015-02-07 01:56:01+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+
16
+ #: admin.php:11
17
+ msgid "Fancybox for WordPress (version %s)"
18
+ msgstr ""
19
+
20
+ #: admin.php:22
21
+ msgid "Info"
22
+ msgstr ""
23
+
24
+ #: admin.php:23
25
+ msgid "Appearance"
26
+ msgstr ""
27
+
28
+ #: admin.php:24
29
+ msgid "Animations"
30
+ msgstr ""
31
+
32
+ #: admin.php:25
33
+ msgid "Behaviour"
34
+ msgstr ""
35
+
36
+ #: admin.php:26
37
+ msgid "Galleries"
38
+ msgstr ""
39
+
40
+ #: admin.php:27
41
+ msgid "Miscellaneous"
42
+ msgstr ""
43
+
44
+ #: admin.php:28
45
+ msgid "Extra Calls"
46
+ msgstr ""
47
+
48
+ #: admin.php:29
49
+ msgid "Troubleshooting"
50
+ msgstr ""
51
+
52
+ #: admin.php:30 lib/admin-tab-support.php:1
53
+ msgid "Support"
54
+ msgstr ""
55
+
56
+ #: admin.php:31 lib/admin-tab-uninstall.php:1
57
+ msgid "Uninstall"
58
+ msgstr ""
59
+
60
+ #: admin.php:77
61
+ msgid "Save Changes"
62
+ msgstr ""
63
+
64
+ #: admin.php:85
65
+ msgid "Revert to defaults"
66
+ msgstr ""
67
+
68
+ #: admin.php:93
69
+ msgid "If you use FancyBox and like it, buy the author a beer!"
70
+ msgstr ""
71
+
72
+ #: admin.php:110
73
+ msgid "The author of this WordPress Plugin also likes beer :P"
74
+ msgstr ""
75
+
76
+ #: admin.php:120
77
+ msgid "Follow me on Twitter for more WordPress Plugins and Themes"
78
+ msgstr ""
79
+
80
+ #: fancybox.php:404
81
+ msgid "Settings"
82
+ msgstr ""
83
+
84
+ #: lib/admin-tab-animations.php:1
85
+ msgid "Animation Settings <span style=\"color:green\">(basic)</span>"
86
+ msgstr ""
87
+
88
+ #: lib/admin-tab-animations.php:3
89
+ msgid ""
90
+ "These settings control the animations when opening and closing Fancybox, and "
91
+ "the optional easing effects."
92
+ msgstr ""
93
+
94
+ #: lib/admin-tab-animations.php:9
95
+ msgid "Zoom Options"
96
+ msgstr ""
97
+
98
+ #: lib/admin-tab-animations.php:15
99
+ msgid "Change content transparency during zoom animations (default: on)"
100
+ msgstr ""
101
+
102
+ #: lib/admin-tab-animations.php:27
103
+ msgid "Speed in miliseconds of the zooming-in animation (default: 500)"
104
+ msgstr ""
105
+
106
+ #: lib/admin-tab-animations.php:39
107
+ msgid "Speed in miliseconds of the zooming-out animation (default: 500)"
108
+ msgstr ""
109
+
110
+ #: lib/admin-tab-animations.php:51
111
+ msgid ""
112
+ "Speed in miliseconds of the animation when navigating thorugh gallery items "
113
+ "(default: 300)"
114
+ msgstr ""
115
+
116
+ #: lib/admin-tab-animations.php:59
117
+ msgid "Transition Type"
118
+ msgstr ""
119
+
120
+ #: lib/admin-tab-animations.php:73
121
+ msgid "Transition type when opening FancyBox. (default: fade)"
122
+ msgstr ""
123
+
124
+ #: lib/admin-tab-animations.php:86
125
+ msgid "Transition type when closing FancyBox. (default: fade)"
126
+ msgstr ""
127
+
128
+ #: lib/admin-tab-animations.php:94
129
+ msgid "Easing"
130
+ msgstr ""
131
+
132
+ #: lib/admin-tab-animations.php:100
133
+ msgid "Activate easing (default: off)"
134
+ msgstr ""
135
+
136
+ #: lib/admin-tab-animations.php:103
137
+ msgid "(Will load one additional javascript file, 8KB)"
138
+ msgstr ""
139
+
140
+ #: lib/admin-tab-animations.php:117
141
+ msgid "Easing method when opening FancyBox. (default: easeOutBack)"
142
+ msgstr ""
143
+
144
+ #: lib/admin-tab-animations.php:120
145
+ msgid "(Requires opening transition type to be set to elastic)"
146
+ msgstr ""
147
+
148
+ #: lib/admin-tab-animations.php:132
149
+ msgid "Easing method when closing FancyBox. (default: easeInBack)"
150
+ msgstr ""
151
+
152
+ #: lib/admin-tab-animations.php:135
153
+ msgid "(Requires closing transition type to be set to elastic)"
154
+ msgstr ""
155
+
156
+ #: lib/admin-tab-animations.php:147
157
+ msgid ""
158
+ "Easing method when navigating through gallery items. (default: "
159
+ "easeInOutQuart)"
160
+ msgstr ""
161
+
162
+ #: lib/admin-tab-animations.php:150
163
+ msgid ""
164
+ "(There are 30 different easing methods, the first ones are the most boring. "
165
+ "You can test them <a href=\"http://commadot.com/jquery/easing.php\" target="
166
+ "\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/"
167
+ "animationtypes.html\" target=\"_blank\">here</a>)"
168
+ msgstr ""
169
+
170
+ #: lib/admin-tab-appearance.php:1
171
+ msgid "Appearance Settings <span style=\"color:green\">(basic)</span>"
172
+ msgstr ""
173
+
174
+ #: lib/admin-tab-appearance.php:3
175
+ msgid ""
176
+ "These setting control how Fancybox looks, they let you tweak color, borders "
177
+ "and position of elements, like the image title and closing buttons."
178
+ msgstr ""
179
+
180
+ #: lib/admin-tab-appearance.php:9
181
+ msgid "Border"
182
+ msgstr ""
183
+
184
+ #: lib/admin-tab-appearance.php:15
185
+ msgid "Show Border (default: off)"
186
+ msgstr ""
187
+
188
+ #: lib/admin-tab-appearance.php:22
189
+ msgid "HTML color of the border (default: #BBBBBB)"
190
+ msgstr ""
191
+
192
+ #: lib/admin-tab-appearance.php:32
193
+ msgid "Close Button"
194
+ msgstr ""
195
+
196
+ #: lib/admin-tab-appearance.php:38
197
+ msgid "Show Close button (default: on)"
198
+ msgstr ""
199
+
200
+ #: lib/admin-tab-appearance.php:43
201
+ msgid "Close button position:"
202
+ msgstr ""
203
+
204
+ #: lib/admin-tab-appearance.php:46
205
+ msgid "Left"
206
+ msgstr ""
207
+
208
+ #: lib/admin-tab-appearance.php:51
209
+ msgid "Right (default)"
210
+ msgstr ""
211
+
212
+ #: lib/admin-tab-appearance.php:56
213
+ msgid "Bottom"
214
+ msgstr ""
215
+
216
+ #: lib/admin-tab-appearance.php:61
217
+ msgid "Top (default)"
218
+ msgstr ""
219
+
220
+ #: lib/admin-tab-appearance.php:71
221
+ msgid "Padding"
222
+ msgstr ""
223
+
224
+ #: lib/admin-tab-appearance.php:77
225
+ msgid "HTML color of the padding (default: #FFFFFF)"
226
+ msgstr ""
227
+
228
+ #: lib/admin-tab-appearance.php:80
229
+ msgid ""
230
+ "(This should be left on #FFFFFF (white) if you want to display anything "
231
+ "other than images, like inline or framed content)"
232
+ msgstr ""
233
+
234
+ #: lib/admin-tab-appearance.php:84
235
+ msgid "Padding size in pixels (default: 10)"
236
+ msgstr ""
237
+
238
+ #: lib/admin-tab-appearance.php:92
239
+ msgid "Overlay Options"
240
+ msgstr ""
241
+
242
+ #: lib/admin-tab-appearance.php:98
243
+ msgid "Add overlay (default: on)"
244
+ msgstr ""
245
+
246
+ #: lib/admin-tab-appearance.php:105
247
+ msgid "HTML color of the overlay (default: #666666)"
248
+ msgstr ""
249
+
250
+ #: lib/admin-tab-appearance.php:118
251
+ msgid "Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)"
252
+ msgstr ""
253
+
254
+ #: lib/admin-tab-appearance.php:128
255
+ msgid "Title"
256
+ msgstr ""
257
+
258
+ #: lib/admin-tab-appearance.php:134
259
+ msgid "Show the title (default: on)"
260
+ msgstr ""
261
+
262
+ #: lib/admin-tab-appearance.php:141
263
+ msgid "Inside (default)"
264
+ msgstr ""
265
+
266
+ #: lib/admin-tab-appearance.php:146
267
+ msgid "Outside"
268
+ msgstr ""
269
+
270
+ #: lib/admin-tab-appearance.php:151
271
+ msgid "Over"
272
+ msgstr ""
273
+
274
+ #: lib/admin-tab-appearance.php:158
275
+ msgid "Title text color (default: #333333)"
276
+ msgstr ""
277
+
278
+ #: lib/admin-tab-appearance.php:161
279
+ msgid "(Should contrast with the padding color set above)"
280
+ msgstr ""
281
+
282
+ #: lib/admin-tab-appearance.php:172
283
+ msgid "Navigation Arrows"
284
+ msgstr ""
285
+
286
+ #: lib/admin-tab-appearance.php:178
287
+ msgid "Show the navigation arrows (default: on)"
288
+ msgstr ""
289
+
290
+ #: lib/admin-tab-behaviour.php:1
291
+ msgid "Behavior Settings <span style=\"color:orange\">(medium)</span>"
292
+ msgstr ""
293
+
294
+ #: lib/admin-tab-behaviour.php:3
295
+ msgid ""
296
+ "The following settings should be left alone unless you know what you are "
297
+ "doing."
298
+ msgstr ""
299
+
300
+ #: lib/admin-tab-behaviour.php:9
301
+ msgid "Auto Resize to Fit"
302
+ msgstr ""
303
+
304
+ #: lib/admin-tab-behaviour.php:15
305
+ msgid "Scale images to fit in viewport (default: on)"
306
+ msgstr ""
307
+
308
+ #: lib/admin-tab-behaviour.php:23
309
+ msgid "Center on Scroll"
310
+ msgstr ""
311
+
312
+ #: lib/admin-tab-behaviour.php:29
313
+ msgid ""
314
+ "Keep image in the center of the browser window when scrolling (default: on)"
315
+ msgstr ""
316
+
317
+ #: lib/admin-tab-behaviour.php:37
318
+ msgid "Close on Content Click"
319
+ msgstr ""
320
+
321
+ #: lib/admin-tab-behaviour.php:43
322
+ msgid "Close FancyBox by clicking on the image (default: off)"
323
+ msgstr ""
324
+
325
+ #: lib/admin-tab-behaviour.php:46
326
+ msgid ""
327
+ "(You may want to leave this off if you display iframed or inline content "
328
+ "that containts clickable elements - for example: play buttons for movies, "
329
+ "links to other pages)"
330
+ msgstr ""
331
+
332
+ #: lib/admin-tab-behaviour.php:53
333
+ msgid "Close on Overlay Click"
334
+ msgstr ""
335
+
336
+ #: lib/admin-tab-behaviour.php:59
337
+ msgid "Close FancyBox by clicking on the overlay sorrounding it (default: on)"
338
+ msgstr ""
339
+
340
+ #: lib/admin-tab-behaviour.php:67
341
+ msgid "Close with &quot;Esc&quot;"
342
+ msgstr ""
343
+
344
+ #: lib/admin-tab-behaviour.php:73
345
+ msgid "Close FancyBox when &quot;Escape&quot; key is pressed (default: on)"
346
+ msgstr ""
347
+
348
+ #: lib/admin-tab-behaviour.php:81
349
+ msgid "Cyclic Galleries"
350
+ msgstr ""
351
+
352
+ #: lib/admin-tab-behaviour.php:87
353
+ msgid ""
354
+ "This will make galleries cyclic, allowing you to keep pressing next/back "
355
+ "(default: off)"
356
+ msgstr ""
357
+
358
+ #: lib/admin-tab-behaviour.php:95
359
+ msgid "Mouse Wheel Navigation"
360
+ msgstr ""
361
+
362
+ #: lib/admin-tab-behaviour.php:101
363
+ msgid "Lets visitors navigate galleries with the mouse wheel (default: off)"
364
+ msgstr ""
365
+
366
+ #: lib/admin-tab-behaviour.php:104
367
+ msgid "(Will load one additional javascript file, 3KB)"
368
+ msgstr ""
369
+
370
+ #: lib/admin-tab-calls.php:1
371
+ msgid "Extra FancyBox Calls <span style=\"color:red\">(advanced)</span>"
372
+ msgstr ""
373
+
374
+ #: lib/admin-tab-calls.php:3
375
+ msgid ""
376
+ "Here you can add as many additional calls to fancybox as you want, with "
377
+ "different settings. For example, if you want to use fancybox with iframes or "
378
+ "ajax on any specific link, you can configure those calls here without "
379
+ "affecting the settings for images."
380
+ msgstr ""
381
+
382
+ #: lib/admin-tab-calls.php:5
383
+ msgid ""
384
+ "For information on the options available you can use here see <a href="
385
+ "\"http://fancybox.net/api\">FancyBox's API & Options page</a>."
386
+ msgstr ""
387
+
388
+ #: lib/admin-tab-calls.php:11
389
+ msgid "Additional FancyBox Calls"
390
+ msgstr ""
391
+
392
+ #: lib/admin-tab-calls.php:17
393
+ msgid "Additional FancyBox Calls (default: off)"
394
+ msgstr ""
395
+
396
+ #: lib/admin-tab-calls.php:26 lib/admin-tab-other.php:89
397
+ msgid "Example:"
398
+ msgstr ""
399
+
400
+ #: lib/admin-tab-galleries.php:1
401
+ msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
402
+ msgstr ""
403
+
404
+ #: lib/admin-tab-galleries.php:3
405
+ msgid ""
406
+ "Here you can choose if you want the plugin to group all images into a "
407
+ "gallery, or make a gallery for each post. You can also define you own jQuery "
408
+ "expression if you like."
409
+ msgstr ""
410
+
411
+ #: lib/admin-tab-galleries.php:9
412
+ msgid "Gallery Type"
413
+ msgstr ""
414
+
415
+ #: lib/admin-tab-galleries.php:15
416
+ msgid "Make a gallery for all images on the page (default)"
417
+ msgstr ""
418
+
419
+ #: lib/admin-tab-galleries.php:20
420
+ msgid ""
421
+ "Do not group images in gallery automatically (use this if you want to make "
422
+ "galleries manually with the <code>REL</code> attribute)"
423
+ msgstr ""
424
+
425
+ #: lib/admin-tab-galleries.php:25
426
+ msgid ""
427
+ "Make a gallery for each post (will only work if your theme uses <code>class="
428
+ "\"post\"</code> on each post, which is common in WordPress"
429
+ msgstr ""
430
+
431
+ #: lib/admin-tab-galleries.php:30
432
+ msgid "Use a custom expression to apply FancyBox"
433
+ msgstr ""
434
+
435
+ #: lib/admin-tab-galleries.php:39
436
+ msgid "Custom expression guidelines:"
437
+ msgstr ""
438
+
439
+ #: lib/admin-tab-galleries.php:41
440
+ msgid ""
441
+ "&middot; The custom expression has to apply <code>class=\"fancybox\"</code> "
442
+ "to the links where you want to use FancyBox. Do not call the <code>fancybox()"
443
+ "</code> function here, the plugin does this for you."
444
+ msgstr ""
445
+
446
+ #: lib/admin-tab-galleries.php:43
447
+ msgid ""
448
+ "&middot; The jQuery <code>addClass()</code> function is a good way to add "
449
+ "the class to the desired links conserving any existing class."
450
+ msgstr ""
451
+
452
+ #: lib/admin-tab-galleries.php:45
453
+ msgid ""
454
+ "&middot; You can use <code>getTitle()</code> in your expression to copy the "
455
+ "title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so "
456
+ "that FancyBox can show captions."
457
+ msgstr ""
458
+
459
+ #: lib/admin-tab-galleries.php:47
460
+ msgid ""
461
+ "&middot; You can use <code>jQuery(thumbnails)</code> like in the example "
462
+ "expression to apply FancyBox to thumbnails that link to these extensions: "
463
+ "BMP, GIF, JPG, JPEG, PNG (both lowercase and uppercase)."
464
+ msgstr ""
465
+
466
+ #: lib/admin-tab-galleries.php:49
467
+ msgid ""
468
+ "&middot; If you want to do it manually you can use something like "
469
+ "<code>jQuery(\"a:has(img)[href$='.jpg']\")</code> or whatever works for you."
470
+ msgstr ""
471
+
472
+ #: lib/admin-tab-galleries.php:51
473
+ msgid ""
474
+ "See the <a href=\"http://docs.jquery.com/\" target=\"_blank\">jQuery "
475
+ "Documentation</a> for more help."
476
+ msgstr ""
477
+
478
+ #: lib/admin-tab-galleries.php:53
479
+ msgid "Examples:"
480
+ msgstr ""
481
+
482
+ #: lib/admin-tab-info.php:1
483
+ msgid "Information"
484
+ msgstr ""
485
+
486
+ #: lib/admin-tab-info.php:3
487
+ msgid ""
488
+ "<a target=\"_blank\" href=\"http://fancybox.net\">FancyBox</a> developed by "
489
+ "<a target=\"_blank\" href=\"http://fancybox.net\">Janis Skarnelis</a>, "
490
+ "ported to WordPress by <a target=\"_blank\" href=\"http://twitter.com/moskis"
491
+ "\">Jos&eacute; Pardilla</a>. Licensed under the <a target=\"_blank\" href="
492
+ "\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
493
+ msgstr ""
494
+
495
+ #: lib/admin-tab-info.php:5
496
+ msgid ""
497
+ "As you can see, this plugin has many options you can edit, but have no fear, "
498
+ "you can leave everything as it is if you don't want to get your hands dirty, "
499
+ "since the default options should be a good start... :)"
500
+ msgstr ""
501
+
502
+ #: lib/admin-tab-info.php:7
503
+ msgid ""
504
+ "If you are an advanced user you can <a target=\"_blank\" href=\"https://"
505
+ "github.com/moskis/fancybox-for-wordpress\">follow the plugin in Github</a>, "
506
+ "fork it or help submitting fixes!"
507
+ msgstr ""
508
+
509
+ #: lib/admin-tab-info.php:9
510
+ msgid ""
511
+ "<strong>Note:</strong> Having a cache plugin may prevent changes from taking "
512
+ "effect immidiately, if this happens clear cache after saving changes here or "
513
+ "deactivate cache until you finish editing these options."
514
+ msgstr ""
515
+
516
+ #: lib/admin-tab-other.php:1
517
+ msgid "Other Settings <span style=\"color:red\">(advanced)</span>"
518
+ msgstr ""
519
+
520
+ #: lib/admin-tab-other.php:3
521
+ msgid "These are additional settings for advanced users."
522
+ msgstr ""
523
+
524
+ #: lib/admin-tab-other.php:9
525
+ msgid "Dimensions"
526
+ msgstr ""
527
+
528
+ #: lib/admin-tab-other.php:15
529
+ msgid "Auto detect dimensions (default: on)"
530
+ msgstr ""
531
+
532
+ #: lib/admin-tab-other.php:18
533
+ msgid ""
534
+ "Only works with <strong>Ajax</strong> and <strong>Inline</strong> content! "
535
+ "Flash dimensions won't be autodetected so specify them below if necessary. "
536
+ "If you want to insert several pieces of flash content with different "
537
+ "dimensions you will have to use the <strong>Additional FancyBox Calls</"
538
+ "strong> option."
539
+ msgstr ""
540
+
541
+ #: lib/admin-tab-other.php:22
542
+ msgid ""
543
+ "Width for iframe and swf content. Also set for inline content if "
544
+ "<em>autoDimensions</em> is disabled (default: 560)"
545
+ msgstr ""
546
+
547
+ #: lib/admin-tab-other.php:27
548
+ msgid ""
549
+ "Height for iframe and swf content. Also set for inline content if "
550
+ "<em>autoDimensions</em> is disabled (default: 340)"
551
+ msgstr ""
552
+
553
+ #: lib/admin-tab-other.php:35
554
+ msgid "Load JavaScript in Footer"
555
+ msgstr ""
556
+
557
+ #: lib/admin-tab-other.php:41
558
+ msgid ""
559
+ "Loads JavaScript at the end of the blog's HTML (experimental) (default: off)"
560
+ msgstr ""
561
+
562
+ #: lib/admin-tab-other.php:44
563
+ msgid ""
564
+ "This option won't be recognized if you use <strong>Parallel Load</strong> "
565
+ "plugin. In that case, you can do this from Parallel Load's options."
566
+ msgstr ""
567
+
568
+ #: lib/admin-tab-other.php:51
569
+ msgid "Callbacks"
570
+ msgstr ""
571
+
572
+ #: lib/admin-tab-other.php:57
573
+ msgid "Enable callbacks (default: off)"
574
+ msgstr ""
575
+
576
+ #: lib/admin-tab-other.php:60
577
+ msgid "Enabling this will show additional settings."
578
+ msgstr ""
579
+
580
+ #: lib/admin-tab-other.php:65
581
+ msgid ""
582
+ "Callback on <strong>Start</strong> event: Will be called right before "
583
+ "attempting to load the content"
584
+ msgstr ""
585
+
586
+ #: lib/admin-tab-other.php:70
587
+ msgid ""
588
+ "Callback on <strong>Cancel</strong> event: Will be called after loading is "
589
+ "canceled"
590
+ msgstr ""
591
+
592
+ #: lib/admin-tab-other.php:75
593
+ msgid ""
594
+ "Callback on <strong>Complete</strong> event: Will be called once the content "
595
+ "is displayed"
596
+ msgstr ""
597
+
598
+ #: lib/admin-tab-other.php:80
599
+ msgid ""
600
+ "Callback on <strong>CleanUp</strong> event: Will be called just before "
601
+ "closing"
602
+ msgstr ""
603
+
604
+ #: lib/admin-tab-other.php:85
605
+ msgid ""
606
+ "Callback on <strong>Closed</strong> event: Will be called once FancyBox is "
607
+ "closed"
608
+ msgstr ""
609
+
610
+ #: lib/admin-tab-other.php:91
611
+ msgid "Leave empty any speciic callbacks you don't need to use."
612
+ msgstr ""
613
+
614
+ #: lib/admin-tab-support.php:3
615
+ msgid "Help with Fancybox"
616
+ msgstr ""
617
+
618
+ #: lib/admin-tab-support.php:5
619
+ msgid ""
620
+ "If you have problems or questions about FancyBox itself (and not this "
621
+ "WordPress plugin), please start with these links: <a target=\"_blank\" href="
622
+ "\"http://fancybox.net/howto\">How-To</a> & <a target=\"_blank\" href="
623
+ "\"http://fancybox.net/faq\">FAQ</a>.<br />If that does not help, go to <a "
624
+ "href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</"
625
+ "a>, use the <strong>Search</strong> option, and if necesary, post your "
626
+ "question."
627
+ msgstr ""
628
+
629
+ #: lib/admin-tab-support.php:8
630
+ msgid "Help with Fancybox for WordPress plugin"
631
+ msgstr ""
632
+
633
+ #: lib/admin-tab-support.php:10
634
+ msgid ""
635
+ "Try to localize the problem (switch your theme and deactivate plugins until "
636
+ "you find the source of the problem). You can also try the Troubleshooting "
637
+ "settings of this plugin if necesary."
638
+ msgstr ""
639
+
640
+ #: lib/admin-tab-support.php:11
641
+ msgid ""
642
+ "Try reverting the plugin's settings to their defaults with the button below."
643
+ msgstr ""
644
+
645
+ #: lib/admin-tab-support.php:12
646
+ msgid ""
647
+ "If you still can not get the plugin to work, <a target=\"_blank\" href="
648
+ "\"http://wordpress.org/support/plugin/fancybox-for-wordpress#postform"
649
+ "\">write a post in the WordPress Support forums</a> explaining the problem "
650
+ "or take a look and the <a target=\"_blank\" href=\"http://wordpress.org/"
651
+ "support/plugin/fancybox-for-wordpress\">already posted messages</a>."
652
+ msgstr ""
653
+
654
+ #: lib/admin-tab-support.php:15
655
+ msgid "IMPORTANT:"
656
+ msgstr ""
657
+
658
+ #: lib/admin-tab-support.php:15
659
+ msgid ""
660
+ "When posting your problem please provide a link to your blog and the page "
661
+ "where the error is found, and all relevant information you can, especially "
662
+ "your theme, plugins, etc."
663
+ msgstr ""
664
+
665
+ #: lib/admin-tab-troubleshooting.php:1
666
+ msgid "Troubleshooting Settings"
667
+ msgstr ""
668
+
669
+ #: lib/admin-tab-troubleshooting.php:3
670
+ msgid ""
671
+ "Settings in this section should only be changed if you are having problems "
672
+ "with the plugin!"
673
+ msgstr ""
674
+
675
+ #: lib/admin-tab-troubleshooting.php:5
676
+ msgid ""
677
+ "If the plugin doesn't seem to work, first you should check for other plugins "
678
+ "that may be conflicting with this one, especially other Lightbox, Slimbox, "
679
+ "etc. Make sure all your plugins and WordPress itself are up to date (this "
680
+ "plugin has only been tested in WordPress 2.7 and above)."
681
+ msgstr ""
682
+
683
+ #: lib/admin-tab-troubleshooting.php:7
684
+ msgid ""
685
+ "Change them one at a time and test to see if they help. Remember that having "
686
+ "a cache plugin may prevent changes from taking effect immidiately, so clear "
687
+ "cache after saving changes here or deactivate cache until you finish editing "
688
+ "these options."
689
+ msgstr ""
690
+
691
+ #: lib/admin-tab-troubleshooting.php:13
692
+ msgid "Do not call jQuery"
693
+ msgstr ""
694
+
695
+ #: lib/admin-tab-troubleshooting.php:19
696
+ msgid ""
697
+ "Skip jQuery call. Use this only if jQuery is being loaded twice (default: "
698
+ "off)"
699
+ msgstr ""
700
+
701
+ #: lib/admin-tab-uninstall.php:3
702
+ msgid ""
703
+ "Like many other plugins, FancyBox for WordPress stores its settings on your "
704
+ "WordPress' options database table. Actually, these settings are not using "
705
+ "more than a couple of kilobytes of space, but if you want to completely "
706
+ "uninstall this plugin, check the option below, then save changes, and "
707
+ "<strong>when you deactivate the plugin</strong>, all its settings will be "
708
+ "removed from the database."
709
+ msgstr ""
710
+
711
+ #: lib/admin-tab-uninstall.php:9
712
+ msgid "Remove settings"
713
+ msgstr ""
714
+
715
+ #: lib/admin-tab-uninstall.php:15
716
+ msgid ""
717
+ "Remove Settings when plugin is deactivated from the \"Manage Plugins\" page. "
718
+ "(default: off)"
719
+ msgstr ""
720
+
721
+ #. Plugin Name of the plugin/theme
722
+ msgid "FancyBox for WordPress"
723
+ msgstr ""
724
+
725
+ #. Plugin URI of the plugin/theme
726
+ msgid "https://wordpress.org/plugins/fancybox-for-wordpress/"
727
+ msgstr ""
728
+
729
+ #. Description of the plugin/theme
730
+ msgid ""
731
+ "Integrates <a href=\"http://fancybox.net/\">FancyBox</a> by <a href=\"http://"
732
+ "klade.lv/\">Janis Skarnelis</a> into WordPress."
733
+ msgstr ""
734
+
735
+ #. Author of the plugin/theme
736
+ msgid "Jos&eacute; Pardilla"
737
+ msgstr ""
738
+
739
+ #. Author URI of the plugin/theme
740
+ msgid "http://twitter.com/moskis"
741
+ msgstr ""
trunk/lib/admin-head.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( isset($_REQUEST['reset']) && $_REQUEST['reset'] )
4
+ echo '<div id="message" class="updated fade"><p><strong>FancyBox for WordPress settings have been reset.</strong></p></div>';
5
+
6
+
7
+ // Get array with all the options
8
+ $settings = get_option( 'mfbfw' );
9
+
10
+ // Get Version
11
+ $version = get_option('mfbfw_active_version');
12
+
13
+ // Make selects data
14
+ $transitionTypeArray = array( 'fade', 'elastic', 'none' );
15
+ $overlayArray = array( 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1 );
16
+ $msArray = array( 0, 25, 50, 75, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1250, 1500, 1750, 2000 );
17
+ $easingArray = array( 'easeInQuad', 'easeOutQuad', 'easeInOutQuad', 'easeInCubic', 'easeOutCubic', 'easeInOutCubic', 'easeInQuart', 'easeOutQuart',
18
+ 'easeInOutQuart', 'easeInQuint', 'easeOutQuint', 'easeInOutQuint', 'easeInSine', 'easeOutSine', 'easeInOutSine', 'easeInExpo',
19
+ 'easeOutExpo', 'easeInOutExpo', 'easeInCirc', 'easeOutCirc', 'easeInOutCirc', 'easeInElastic', 'easeOutElastic', 'easeInOutElastic',
20
+ 'easeInBack', 'easeOutBack', 'easeInOutBack', 'easeInBounce', 'easeOutBounce', 'easeInOutBounce' );
trunk/lib/admin-tab-animations.php ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <h2><?php _e('Animation Settings <span style="color:green">(basic)</span>', 'mfbfw'); ?></h2>
2
+
3
+ <p><?php _e('These settings control the animations when opening and closing Fancybox, and the optional easing effects.', 'mfbfw'); ?></p>
4
+
5
+ <table class="form-table" style="clear:none;">
6
+ <tbody>
7
+
8
+ <tr valign="top">
9
+ <th scope="row"><?php _e('Zoom Options', 'mfbfw'); ?></th>
10
+ <td>
11
+ <fieldset>
12
+
13
+ <label for="zoomOpacity">
14
+ <input type="checkbox" name="mfbfw[zoomOpacity]" id="zoomOpacity"<?php if ( isset($settings['zoomOpacity']) && $settings['zoomOpacity'] ) echo ' checked="yes"';?> />
15
+ <?php _e('Change content transparency during zoom animations (default: on)', 'mfbfw'); ?>
16
+ </label><br /><br />
17
+
18
+ <label for="zoomSpeedIn">
19
+ <select name="mfbfw[zoomSpeedIn]" id="zoomSpeedIn">
20
+ <?php
21
+ foreach($msArray as $key=> $ms) {
22
+ if($settings['zoomSpeedIn'] != $ms) $selected = '';
23
+ else $selected = ' selected';
24
+ echo "<option value='$ms'$selected>$ms</option>\n";
25
+ } ?>
26
+ </select>
27
+ <?php _e('Speed in miliseconds of the zooming-in animation (default: 500)', 'mfbfw'); ?>
28
+ </label><br /><br />
29
+
30
+ <label for="zoomSpeedOut">
31
+ <select name="mfbfw[zoomSpeedOut]" id="zoomSpeedOut">
32
+ <?php
33
+ foreach($msArray as $key=> $ms) {
34
+ if($settings['zoomSpeedOut'] != $ms) $selected = '';
35
+ else $selected = ' selected';
36
+ echo "<option value='$ms'$selected>$ms</option>\n";
37
+ } ?>
38
+ </select>
39
+ <?php _e('Speed in miliseconds of the zooming-out animation (default: 500)', 'mfbfw'); ?>
40
+ </label><br /><br />
41
+
42
+ <label for="zoomSpeedChange">
43
+ <select name="mfbfw[zoomSpeedChange]" id="zoomSpeedChange">
44
+ <?php
45
+ foreach($msArray as $key=> $ms) {
46
+ if($settings['zoomSpeedChange'] != $ms) $selected = '';
47
+ else $selected = ' selected';
48
+ echo "<option value='$ms'$selected>$ms</option>\n";
49
+ } ?>
50
+ </select>
51
+ <?php _e('Speed in miliseconds of the animation when navigating thorugh gallery items (default: 300)', 'mfbfw'); ?>
52
+ </label><br /><br />
53
+
54
+ </fieldset>
55
+ </td>
56
+ </tr>
57
+
58
+ <tr valign="top">
59
+ <th scope="row"><?php _e('Transition Type', 'mfbfw'); ?></th>
60
+ <td>
61
+ <fieldset>
62
+
63
+ <label for="transitionIn">
64
+ <select name="mfbfw[transitionIn]" id="transitionIn">
65
+ <?php
66
+ foreach($transitionTypeArray as $key=> $transitionIn) {
67
+ if($settings['transitionIn'] != $transitionIn) $selected = '';
68
+ else $selected = ' selected';
69
+ echo "<option value='$transitionIn'$selected>$transitionIn</option>\n";
70
+ }
71
+ ?>
72
+ </select>
73
+ <?php _e('Transition type when opening FancyBox. (default: fade)', 'mfbfw'); ?>
74
+ </label><br /><br />
75
+
76
+ <label for="transitionOut">
77
+ <select name="mfbfw[transitionOut]" id="transitionOut">
78
+ <?php
79
+ foreach($transitionTypeArray as $key=> $transitionOut) {
80
+ if($settings['transitionOut'] != $transitionOut) $selected = '';
81
+ else $selected = ' selected';
82
+ echo "<option value='$transitionOut'$selected>$transitionOut</option>\n";
83
+ }
84
+ ?>
85
+ </select>
86
+ <?php _e('Transition type when closing FancyBox. (default: fade)', 'mfbfw'); ?>
87
+ </label><br /><br />
88
+
89
+ </fieldset>
90
+ </td>
91
+ </tr>
92
+
93
+ <tr valign="top">
94
+ <th scope="row"><?php _e('Easing', 'mfbfw'); ?></th>
95
+ <td>
96
+ <fieldset>
97
+
98
+ <label for="easing">
99
+ <input type="checkbox" name="mfbfw[easing]" id="easing"<?php if ( isset($settings['easing']) && $settings['easing'] ) echo ' checked="yes"';?> />
100
+ <?php _e('Activate easing (default: off)', 'mfbfw'); ?>
101
+ </label><br />
102
+
103
+ <small><em><?php _e('(Will load one additional javascript file, 8KB)', 'mfbfw'); ?></em></small><br /><br />
104
+
105
+ <div id="easingBlock">
106
+
107
+ <label for="easingIn">
108
+ <select name="mfbfw[easingIn]" id="easingIn">
109
+ <?php
110
+ foreach($easingArray as $key=> $easingIn) {
111
+ if( $settings['easingIn'] != $easingIn ) $selected = '';
112
+ else $selected = ' selected';
113
+ echo "<option value='$easingIn'$selected>$easingIn</option>\n";
114
+ }
115
+ ?>
116
+ </select>
117
+ <?php _e('Easing method when opening FancyBox. (default: easeOutBack)', 'mfbfw'); ?>
118
+ </label><br />
119
+
120
+ <small><em><?php _e('(Requires opening transition type to be set to elastic)', 'mfbfw'); ?></em></small><br /><br />
121
+
122
+ <label for="easingOut">
123
+ <select name="mfbfw[easingOut]" id="easingOut">
124
+ <?php
125
+ foreach($easingArray as $key=> $easingOut) {
126
+ if( $settings['easingOut'] != $easingOut ) $selected = '';
127
+ else $selected = ' selected';
128
+ echo "<option value='$easingOut'$selected>$easingOut</option>\n";
129
+ }
130
+ ?>
131
+ </select>
132
+ <?php _e('Easing method when closing FancyBox. (default: easeInBack)', 'mfbfw'); ?>
133
+ </label><br />
134
+
135
+ <small><em><?php _e('(Requires closing transition type to be set to elastic)', 'mfbfw'); ?></em></small><br /><br />
136
+
137
+ <label for="easingChange">
138
+ <select name="mfbfw[easingChange]" id="easingChange">
139
+ <?php
140
+ foreach($easingArray as $key=> $easingChange) {
141
+ if( isset($settings['easingChange']) && $settings['easingChange'] != $easingChange ) $selected = '';
142
+ else $selected = ' selected';
143
+ echo "<option value='$easingChange'$selected>$easingChange</option>\n";
144
+ }
145
+ ?>
146
+ </select>
147
+ <?php _e('Easing method when navigating through gallery items. (default: easeInOutQuart)', 'mfbfw'); ?>
148
+ </label><br />
149
+
150
+ <small><em><?php _e('(There are 30 different easing methods, the first ones are the most boring. You can test them <a href="http://commadot.com/jquery/easing.php" target="_blank">here</a> or <a href="http://hosted.zeh.com.br/mctween/animationtypes.html" target="_blank">here</a>)', 'mfbfw'); ?></em></small><br /><br />
151
+
152
+ </div>
153
+
154
+ </fieldset>
155
+ </td>
156
+ </tr>
157
+
158
+ </tbody>
159
+ </table>
trunk/lib/admin-tab-appearance.php ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <h2><?php _e('Appearance Settings <span style="color:green">(basic)</span>', 'mfbfw'); ?></h2>
2
+
3
+ <p><?php _e('These setting control how Fancybox looks, they let you tweak color, borders and position of elements, like the image title and closing buttons.', 'mfbfw'); ?></p>
4
+
5
+ <table class="form-table" style="clear:none;">
6
+ <tbody>
7
+
8
+ <tr valign="top">
9
+ <th scope="row"><?php _e('Border', 'mfbfw'); ?></th>
10
+ <td>
11
+ <fieldset>
12
+
13
+ <label for="border">
14
+ <input type="checkbox" name="mfbfw[border]" id="border"<?php if ( isset($settings['border']) && $settings['border'] ) echo ' checked="yes"';?> />
15
+ <?php _e('Show Border (default: off)', 'mfbfw'); ?>
16
+ </label><br /><br />
17
+
18
+ <div id="borderColorBlock">
19
+
20
+ <label for="borderColor">
21
+ <input type="text" name="mfbfw[borderColor]" id="borderColor" value="<?php echo $settings['borderColor'] ?>" size="7" maxlength="7" />
22
+ <?php _e('HTML color of the border (default: #BBBBBB)', 'mfbfw'); ?>
23
+ </label><br /><br />
24
+
25
+ </div>
26
+
27
+ </fieldset>
28
+ </td>
29
+ </tr>
30
+
31
+ <tr valign="top">
32
+ <th scope="row"><?php _e('Close Button', 'mfbfw'); ?></th>
33
+ <td>
34
+ <fieldset>
35
+
36
+ <label for="showCloseButton">
37
+ <input type="checkbox" name="mfbfw[showCloseButton]" id="showCloseButton"<?php if ( isset($settings['showCloseButton']) && $settings['showCloseButton'] ) echo ' checked="yes"';?> />
38
+ <?php _e('Show Close button (default: on)', 'mfbfw'); ?>
39
+ </label><br /><br />
40
+
41
+ <div id="closeButtonBlock">
42
+
43
+ <?php _e('Close button position:', 'mfbfw'); ?><br />
44
+ <input name="mfbfw[closeHorPos]" type="radio" value="left" id="closePosLeft"<?php if ( isset($settings['closeHorPos']) && $settings['closeHorPos'] == 'left' ) echo ' checked="yes"';?> />
45
+ <label for="closePosLeft" style="padding-right:15px">
46
+ <?php _e('Left', 'mfbfw'); ?>
47
+ </label>
48
+
49
+ <input name="mfbfw[closeHorPos]" type="radio" value="right" id="closePosRight"<?php if ( isset($settings['closeHorPos']) && $settings['closeHorPos'] == 'right' ) echo ' checked="yes"';?> />
50
+ <label for="closePosRight">
51
+ <?php _e('Right (default)', 'mfbfw'); ?>
52
+ </label><br />
53
+
54
+ <input name="mfbfw[closeVerPos]" type="radio" value="bottom" id="closePosBottom"<?php if ( isset($settings['closeVerPos']) && $settings['closeVerPos'] == 'bottom' ) echo ' checked="yes"';?> />
55
+ <label for="closePosBottom" style="padding-right:15px">
56
+ <?php _e('Bottom', 'mfbfw'); ?>
57
+ </label>
58
+
59
+ <input name="mfbfw[closeVerPos]" type="radio" value="top" id="closePosTop"<?php if ( isset($settings['closeVerPos']) && $settings['closeVerPos'] == 'top' ) echo ' checked="yes"';?> />
60
+ <label for="closePosTop">
61
+ <?php _e('Top (default)', 'mfbfw'); ?>
62
+ </label><br /><br />
63
+
64
+ </div>
65
+
66
+ </fieldset>
67
+ </td>
68
+ </tr>
69
+
70
+ <tr valign="top">
71
+ <th scope="row"><?php _e('Padding', 'mfbfw'); ?></th>
72
+ <td>
73
+ <fieldset>
74
+
75
+ <label for="paddingColor">
76
+ <input type="text" name="mfbfw[paddingColor]" id="paddingColor" value="<?php echo $settings['paddingColor'] ?>" size="7" maxlength="7" />
77
+ <?php _e('HTML color of the padding (default: #FFFFFF)', 'mfbfw'); ?>
78
+ </label><br />
79
+
80
+ <small><em><?php _e('(This should be left on #FFFFFF (white) if you want to display anything other than images, like inline or framed content)', 'mfbfw'); ?></em></small><br /><br />
81
+
82
+ <label for="padding">
83
+ <input type="text" name="mfbfw[padding]" id="padding" value="<?php echo $settings['padding']; ?>" size="7" maxlength="7" />
84
+ <?php _e('Padding size in pixels (default: 10)', 'mfbfw'); ?>
85
+ </label><br /><br />
86
+
87
+ </fieldset>
88
+ </td>
89
+ </tr>
90
+
91
+ <tr valign="top">
92
+ <th scope="row"><?php _e('Overlay Options', 'mfbfw'); ?></th>
93
+ <td>
94
+ <fieldset>
95
+
96
+ <label for="overlayShow">
97
+ <input type="checkbox" name="mfbfw[overlayShow]" id="overlayShow"<?php if ( isset($settings['overlayShow']) && $settings['overlayShow'] ) echo ' checked="yes"';?> />
98
+ <?php _e('Add overlay (default: on)', 'mfbfw'); ?>
99
+ </label><br /><br />
100
+
101
+ <div id="overlayBlock">
102
+
103
+ <label for="overlayColor">
104
+ <input type="text" name="mfbfw[overlayColor]" id="overlayColor" value="<?php echo $settings['overlayColor']; ?>" size="7" maxlength="7" />
105
+ <?php _e('HTML color of the overlay (default: #666666)', 'mfbfw'); ?>
106
+ </label><br /><br />
107
+
108
+ <label for="overlayOpacity">
109
+ <select name="mfbfw[overlayOpacity]" id="overlayOpacity">
110
+ <?php
111
+ foreach($overlayArray as $key=> $opacity) {
112
+ if($settings['overlayOpacity'] != $opacity) $selected = '';
113
+ else $selected = ' selected';
114
+ echo "<option value='$opacity'$selected>$opacity</option>\n";
115
+ }
116
+ ?>
117
+ </select>
118
+ <?php _e('Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)', 'mfbfw'); ?>
119
+ </label><br /><br />
120
+
121
+ </div>
122
+
123
+ </fieldset>
124
+ </td>
125
+ </tr>
126
+
127
+ <tr valign="top">
128
+ <th scope="row"><?php _e('Title', 'mfbfw'); ?></th>
129
+ <td>
130
+ <fieldset>
131
+
132
+ <label for="titleShow">
133
+ <input type="checkbox" name="mfbfw[titleShow]" id="titleShow"<?php if ( isset($settings['titleShow']) && $settings['titleShow'] ) echo ' checked="yes"';?> />
134
+ <?php _e('Show the title (default: on)', 'mfbfw'); ?>
135
+ </label><br /><br />
136
+
137
+ <div id="titleBlock">
138
+
139
+ <input id="titlePositionInside" class="titlePosition" type="radio" value="inside" name="mfbfw[titlePosition]"<?php if ($settings['titlePosition'] == 'inside') echo ' checked="yes"';?> />
140
+ <label for="titlePositionInside">
141
+ <?php _e('Inside (default)', 'mfbfw'); ?>
142
+ </label><br />
143
+
144
+ <input id="titlePositionOutside" class="titlePosition" type="radio" value="float" name="mfbfw[titlePosition]"<?php if ($settings['titlePosition'] == 'float') echo ' checked="yes"';?> />
145
+ <label for="titlePositionOutside">
146
+ <?php _e('Outside', 'mfbfw'); ?>
147
+ </label><br />
148
+
149
+ <input id="titlePositionOver" class="titlePosition" type="radio" value="over" name="mfbfw[titlePosition]"<?php if ($settings['titlePosition'] == 'over') echo ' checked="yes"';?> />
150
+ <label for="titlePositionOver">
151
+ <?php _e('Over', 'mfbfw'); ?>
152
+ </label><br /><br />
153
+
154
+ <div id="titleColorBlock">
155
+
156
+ <label for="titleColor">
157
+ <input type="text" name="mfbfw[titleColor]" id="titleColor" class="colorpick" value="<?php echo $settings['titleColor']; ?>" size="7" maxlength="7" />
158
+ <?php _e('Title text color (default: #333333)', 'mfbfw'); ?>
159
+ </label><br />
160
+
161
+ <small><em><?php _e('(Should contrast with the padding color set above)', 'mfbfw'); ?></em></small><br /><br />
162
+
163
+ </div>
164
+
165
+ </div>
166
+
167
+ </fieldset>
168
+ </td>
169
+ </tr>
170
+
171
+ <tr valign="top">
172
+ <th scope="row"><?php _e('Navigation Arrows', 'mfbfw'); ?></th>
173
+ <td>
174
+ <fieldset>
175
+
176
+ <label for="showNavArrows">
177
+ <input type="checkbox" name="mfbfw[showNavArrows]" id="showNavArrows"<?php if ( isset($settings['showNavArrows']) && $settings['showNavArrows'] ) echo ' checked="yes"';?> />
178
+ <?php _e('Show the navigation arrows (default: on)', 'mfbfw'); ?>
179
+ </label><br /><br />
180
+
181
+ </fieldset>
182
+ </td>
183
+ </tr>
184
+
185
+ </tbody>
186
+ </table>
trunk/lib/admin-tab-behaviour.php ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <h2><?php _e('Behavior Settings <span style="color:orange">(medium)</span>', 'mfbfw'); ?></h2>
2
+
3
+ <p><?php _e('The following settings should be left alone unless you know what you are doing.', 'mfbfw'); ?></p>
4
+
5
+ <table class="form-table" style="clear:none;">
6
+ <tbody>
7
+
8
+ <tr valign="top">
9
+ <th scope="row"><?php _e('Auto Resize to Fit', 'mfbfw'); ?></th>
10
+ <td>
11
+ <fieldset>
12
+
13
+ <label for="imageScale">
14
+ <input type="checkbox" name="mfbfw[imageScale]" id="imageScale"<?php if ( isset($settings['imageScale']) && $settings['imageScale'] ) echo ' checked="yes"';?> />
15
+ <?php _e('Scale images to fit in viewport (default: on)', 'mfbfw'); ?>
16
+ </label><br /><br />
17
+
18
+ </fieldset>
19
+ </td>
20
+ </tr>
21
+
22
+ <tr valign="top">
23
+ <th scope="row"><?php _e('Center on Scroll', 'mfbfw'); ?></th>
24
+ <td>
25
+ <fieldset>
26
+
27
+ <label for="centerOnScroll">
28
+ <input type="checkbox" name="mfbfw[centerOnScroll]" id="centerOnScroll"<?php if ( isset($settings['centerOnScroll']) && $settings['centerOnScroll'] ) echo ' checked="yes"';?> />
29
+ <?php _e('Keep image in the center of the browser window when scrolling (default: on)', 'mfbfw'); ?>
30
+ </label><br /><br />
31
+
32
+ </fieldset>
33
+ </td>
34
+ </tr>
35
+
36
+ <tr valign="top">
37
+ <th scope="row"><?php _e('Close on Content Click', 'mfbfw'); ?></th>
38
+ <td>
39
+ <fieldset>
40
+
41
+ <label for="hideOnContentClick">
42
+ <input type="checkbox" name="mfbfw[hideOnContentClick]" id="hideOnContentClick"<?php if ( isset($settings['hideOnContentClick']) && $settings['hideOnContentClick'] ) echo ' checked="yes"';?> />
43
+ <?php _e('Close FancyBox by clicking on the image (default: off)', 'mfbfw'); ?>
44
+ </label><br />
45
+
46
+ <small><em><?php _e('(You may want to leave this off if you display iframed or inline content that containts clickable elements - for example: play buttons for movies, links to other pages)', 'mfbfw'); ?></em></small><br /><br />
47
+
48
+ </fieldset>
49
+ </td>
50
+ </tr>
51
+
52
+ <tr valign="top">
53
+ <th scope="row"><?php _e('Close on Overlay Click', 'mfbfw'); ?></th>
54
+ <td>
55
+ <fieldset>
56
+
57
+ <label for="hideOnOverlayClick">
58
+ <input type="checkbox" name="mfbfw[hideOnOverlayClick]" id="hideOnOverlayClick"<?php if ( isset($settings['hideOnOverlayClick']) && $settings['hideOnOverlayClick'] ) echo ' checked="yes"';?> />
59
+ <?php _e('Close FancyBox by clicking on the overlay sorrounding it (default: on)', 'mfbfw'); ?>
60
+ </label><br /><br />
61
+
62
+ </fieldset>
63
+ </td>
64
+ </tr>
65
+
66
+ <tr valign="top">
67
+ <th scope="row"><?php _e('Close with &quot;Esc&quot;', 'mfbfw'); ?></th>
68
+ <td>
69
+ <fieldset>
70
+
71
+ <label for="enableEscapeButton">
72
+ <input type="checkbox" name="mfbfw[enableEscapeButton]" id="enableEscapeButton"<?php if ( isset($settings['enableEscapeButton']) && $settings['enableEscapeButton'] ) echo ' checked="yes"';?> />
73
+ <?php _e('Close FancyBox when &quot;Escape&quot; key is pressed (default: on)', 'mfbfw'); ?>
74
+ </label><br /><br />
75
+
76
+ </fieldset>
77
+ </td>
78
+ </tr>
79
+
80
+ <tr valign="top">
81
+ <th scope="row"><?php _e('Cyclic Galleries', 'mfbfw'); ?></th>
82
+ <td>
83
+ <fieldset>
84
+
85
+ <label for="cyclic">
86
+ <input type="checkbox" name="mfbfw[cyclic]" id="cyclic"<?php if ( isset($settings['cyclic']) && $settings['cyclic'] ) echo ' checked="yes"';?> />
87
+ <?php _e('This will make galleries cyclic, allowing you to keep pressing next/back (default: off)', 'mfbfw'); ?>
88
+ </label><br /><br />
89
+
90
+ </fieldset>
91
+ </td>
92
+ </tr>
93
+
94
+ <tr valign="top">
95
+ <th scope="row"><?php _e('Mouse Wheel Navigation', 'mfbfw'); ?></th>
96
+ <td>
97
+ <fieldset>
98
+
99
+ <label for="mouseWheel">
100
+ <input type="checkbox" name="mfbfw[mouseWheel]" id="mouseWheel"<?php if ( isset($settings['mouseWheel']) && $settings['mouseWheel'] ) echo ' checked="yes"';?> />
101
+ <?php _e('Lets visitors navigate galleries with the mouse wheel (default: off)', 'mfbfw'); ?>
102
+ </label><br />
103
+
104
+ <small><em><?php _e('(Will load one additional javascript file, 3KB)', 'mfbfw'); ?></em></small><br /><br />
105
+
106
+ </fieldset>
107
+ </td>
108
+ </tr>
109
+
110
+ </tbody>
111
+ </table>
trunk/lib/admin-tab-calls.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <h2><?php _e('Extra FancyBox Calls <span style="color:red">(advanced)</span>', 'mfbfw'); ?></h2>
2
+
3
+ <p><?php _e('Here you can add as many additional calls to fancybox as you want, with different settings. For example, if you want to use fancybox with iframes or ajax on any specific link, you can configure those calls here without affecting the settings for images.', 'mfbfw'); ?></p>
4
+
5
+ <p><?php _e('For information on the options available you can use here see <a href="http://fancybox.net/api">FancyBox\'s API & Options page</a>.', 'mfbfw'); ?></p>
6
+
7
+ <table class="form-table" style="clear:none;">
8
+ <tbody>
9
+
10
+ <tr valign="top">
11
+ <th scope="row"><?php _e('Additional FancyBox Calls', 'mfbfw'); ?></th>
12
+ <td>
13
+ <fieldset>
14
+
15
+ <label for="extraCallsEnable">
16
+ <input type="checkbox" name="mfbfw[extraCallsEnable]" id="extraCallsEnable"<?php if ( isset($settings['extraCallsEnable']) && $settings['extraCallsEnable'] ) echo ' checked="yes"';?> />
17
+ <?php _e('Additional FancyBox Calls (default: off)', 'mfbfw'); ?>
18
+ </label><br /><br />
19
+
20
+ <div id="extraCallsBlock">
21
+
22
+ <label for="extraCalls">
23
+ <textarea rows="20" cols="50" class="large-text code" name="mfbfw[extraCallsData]" wrap="physical" id="extraCalls"><?php echo ($settings['extraCallsData']); ?></textarea>
24
+ </label><br /><br />
25
+
26
+ <small><strong><em><?php _e('Example:', 'mfbfw'); ?></em></strong></small><br />
27
+ <small><em><code>
28
+ jQuery("#login a").fancybox({<br />
29
+ &nbsp;&nbsp;'transitionIn': 'elastic',<br />
30
+ &nbsp;&nbsp;'transitionOut': 'elastic',<br />
31
+ &nbsp;&nbsp;'speedIn': 600,<br />
32
+ &nbsp;&nbsp;'speedOut': 200,<br />
33
+ &nbsp;&nbsp;'type': 'iframe'<br />
34
+ });
35
+ </code></em></small><br /><br />
36
+ </div>
37
+
38
+ </fieldset>
39
+ </td>
40
+ </tr>
41
+
42
+ </tbody>
43
+ </table>
trunk/lib/admin-tab-galleries.php ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <h2><?php _e('Gallery Settings <span style="color:red">(advanced)</span>', 'mfbfw'); ?></h2>
2
+
3
+ <p><?php _e('Here you can choose if you want the plugin to group all images into a gallery, or make a gallery for each post. You can also define you own jQuery expression if you like.', 'mfbfw'); ?></p>
4
+
5
+ <table class="form-table" style="clear:none;">
6
+ <tbody>
7
+
8
+ <tr valign="top">
9
+ <th scope="row"><?php _e('Gallery Type', 'mfbfw'); ?></th>
10
+ <td>
11
+ <fieldset>
12
+
13
+ <input id="galleryTypeAll" class="galleryType" type="radio" value="all" name="mfbfw[galleryType]"<?php if ($settings['galleryType'] == 'all') echo ' checked="yes"';?> />
14
+ <label for="galleryTypeAll">
15
+ <?php _e('Make a gallery for all images on the page (default)', 'mfbfw'); ?>
16
+ </label><br />
17
+
18
+ <input id="galleryTypeNone" class="galleryType" type="radio" value="none" name="mfbfw[galleryType]"<?php if ($settings['galleryType'] == 'none') echo ' checked="yes"';?> />
19
+ <label for="galleryTypeNone">
20
+ <?php _e('Do not group images in gallery automatically (use this if you want to make galleries manually with the <code>REL</code> attribute)', 'mfbfw'); ?>
21
+ </label><br />
22
+
23
+ <input id="galleryTypePost" class="galleryType" type="radio" value="post" name="mfbfw[galleryType]"<?php if ($settings['galleryType'] == 'post') echo ' checked="yes"';?> />
24
+ <label for="galleryTypePost">
25
+ <?php _e('Make a gallery for each post (will only work if your theme uses <code>class="post"</code> on each post, which is common in WordPress', 'mfbfw'); ?>
26
+ </label><br />
27
+
28
+ <input id="galleryTypeCustom" class="galleryType" type="radio" value="custom" name="mfbfw[galleryType]"<?php if ($settings['galleryType'] == 'custom') echo ' checked="yes"';?> />
29
+ <label for="galleryTypeCustom">
30
+ <?php _e('Use a custom expression to apply FancyBox', 'mfbfw'); ?>
31
+ </label><br /><br />
32
+
33
+ <div id="customExpressionBlock">
34
+
35
+ <label for="mfbfw[customExpression]">
36
+ <textarea rows="10" cols="50" class="large-text code" name="mfbfw[customExpression]" wrap="physical" id="customExpression"><?php echo ($settings['customExpression']); ?></textarea>
37
+ </label><br />
38
+
39
+ <small><strong><em><?php _e('Custom expression guidelines:', 'mfbfw'); ?></em></strong></small><br />
40
+
41
+ <small><em><?php _e('&middot; The custom expression has to apply <code>class="fancybox"</code> to the links where you want to use FancyBox. Do not call the <code>fancybox()</code> function here, the plugin does this for you.', 'mfbfw'); ?></em></small><br />
42
+
43
+ <small><em><?php _e('&middot; The jQuery <code>addClass()</code> function is a good way to add the class to the desired links conserving any existing class.', 'mfbfw'); ?></em></small><br />
44
+
45
+ <small><em><?php _e('&middot; You can use <code>getTitle()</code> in your expression to copy the title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so that FancyBox can show captions.', 'mfbfw'); ?></em></small><br />
46
+
47
+ <small><em><?php _e('&middot; You can use <code>jQuery(thumbnails)</code> like in the example expression to apply FancyBox to thumbnails that link to these extensions: BMP, GIF, JPG, JPEG, PNG (both lowercase and uppercase).', 'mfbfw'); ?></em></small><br />
48
+
49
+ <small><em><?php _e('&middot; If you want to do it manually you can use something like <code>jQuery("a:has(img)[href$=\'.jpg\']")</code> or whatever works for you.', 'mfbfw'); ?></em></small><br />
50
+
51
+ <small><em><?php _e('See the <a href="http://docs.jquery.com/" target="_blank">jQuery Documentation</a> for more help.', 'mfbfw'); ?></em></small><br /><br />
52
+
53
+ <small><strong><em><?php _e('Examples:', 'mfbfw'); ?></em></strong></small><br />
54
+
55
+ <small><em><code>jQuery(thumbnails).addClass(&quot;fancybox&quot;).attr(&quot;rel&quot;,&quot;fancybox&quot;).getTitle();</code></em></small><br />
56
+
57
+ <small><em><code>jQuery&quot;a:has(img)[href$='.jpg']&quot;).addClass&quot;fancybox&quot;).attr(&quot;rel&quot;,&quot;fancybox&quot;).getTitle();</code></em></small><br /><br />
58
+
59
+ </div>
60
+
61
+ </fieldset>
62
+ </td>
63
+ </tr>
64
+
65
+ </tbody>
66
+ </table>
trunk/lib/admin-tab-info.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <h2><?php _e('Information', 'mfbfw'); ?></h2>
2
+
3
+ <p><?php _e('<a target="_blank" href="http://fancybox.net">FancyBox</a> developed by <a target="_blank" href="http://fancybox.net">Janis Skarnelis</a>, ported to WordPress by <a target="_blank" href="http://twitter.com/moskis">Jos&eacute; Pardilla</a>. Licensed under the <a target="_blank" href="http://en.wikipedia.org/wiki/MIT_License">MIT License</a>.', 'mfbfw'); ?></p>
4
+
5
+ <p><?php _e('As you can see, this plugin has many options you can edit, but have no fear, you can leave everything as it is if you don\'t want to get your hands dirty, since the default options should be a good start... :)', 'mfbfw'); ?></p>
6
+
7
+ <p><?php _e('If you are an advanced user you can <a target="_blank" href="https://github.com/moskis/fancybox-for-wordpress">follow the plugin in Github</a>, fork it or help submitting fixes!', 'mfbfw'); ?></p>
8
+
9
+ <small><em><?php _e('<strong>Note:</strong> Having a cache plugin may prevent changes from taking effect immidiately, if this happens clear cache after saving changes here or deactivate cache until you finish editing these options.', 'mfbfw'); ?></em></small><br /><br />
trunk/lib/admin-tab-other.php ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <h2><?php _e('Other Settings <span style="color:red">(advanced)</span>', 'mfbfw'); ?></h2>
2
+
3
+ <p><?php _e('These are additional settings for advanced users.', 'mfbfw'); ?></p>
4
+
5
+ <table class="form-table" style="clear:none;">
6
+ <tbody>
7
+
8
+ <tr valign="top">
9
+ <th scope="row"><?php _e('Dimensions', 'mfbfw'); ?></th>
10
+ <td>
11
+ <fieldset>
12
+
13
+ <label for="autoDimensions">
14
+ <input type="checkbox" name="mfbfw[autoDimensions]" id="autoDimensions"<?php if ( isset($settings['autoDimensions']) && $settings['autoDimensions'] ) echo ' checked="yes"';?> />
15
+ <?php _e('Auto detect dimensions (default: on)', 'mfbfw'); ?>
16
+ </label><br />
17
+
18
+ <small><em><?php _e('Only works with <strong>Ajax</strong> and <strong>Inline</strong> content! Flash dimensions won\'t be autodetected so specify them below if necessary. If you want to insert several pieces of flash content with different dimensions you will have to use the <strong>Additional FancyBox Calls</strong> option.', 'mfbfw'); ?></em></small><br /><br />
19
+
20
+ <label for="frameWidth">
21
+ <input type="text" name="mfbfw[frameWidth]" id="frameWidth" value="<?php echo $settings['frameWidth']; ?>" size="4" maxlength="4" />
22
+ <?php _e('Width for iframe and swf content. Also set for inline content if <em>autoDimensions</em> is disabled (default: 560)', 'mfbfw'); ?>
23
+ </label><br /><br />
24
+
25
+ <label for="frameHeight">
26
+ <input type="text" name="mfbfw[frameHeight]" id="frameHeight" value="<?php echo $settings['frameHeight']; ?>" size="4" maxlength="4" />
27
+ <?php _e('Height for iframe and swf content. Also set for inline content if <em>autoDimensions</em> is disabled (default: 340)', 'mfbfw'); ?>
28
+ </label><br /><br />
29
+
30
+ </fieldset>
31
+ </td>
32
+ </tr>
33
+
34
+ <tr valign="top">
35
+ <th scope="row"><?php _e('Load JavaScript in Footer', 'mfbfw'); ?></th>
36
+ <td>
37
+ <fieldset>
38
+
39
+ <label for="loadAtFooter">
40
+ <input type="checkbox" name="mfbfw[loadAtFooter]" id="loadAtFooter"<?php if ( isset($settings['loadAtFooter']) && $settings['loadAtFooter'] ) echo ' checked="yes"';?> />
41
+ <?php _e('Loads JavaScript at the end of the blog\'s HTML (experimental) (default: off)', 'mfbfw'); ?>
42
+ </label><br />
43
+
44
+ <small><em><?php _e('This option won\'t be recognized if you use <strong>Parallel Load</strong> plugin. In that case, you can do this from Parallel Load\'s options.', 'mfbfw'); ?></em></small><br /><br />
45
+
46
+ </fieldset>
47
+ </td>
48
+ </tr>
49
+
50
+ <tr valign="top">
51
+ <th scope="row"><?php _e('Callbacks', 'mfbfw'); ?></th>
52
+ <td>
53
+ <fieldset>
54
+
55
+ <label for="callbackEnable">
56
+ <input type="checkbox" name="mfbfw[callbackEnable]" id="callbackEnable"<?php if ( isset($settings['callbackEnable']) && $settings['callbackEnable'] ) echo ' checked="yes"';?> />
57
+ <?php _e('Enable callbacks (default: off)', 'mfbfw'); ?>
58
+ </label><br />
59
+
60
+ <small><em><?php _e('Enabling this will show additional settings.', 'mfbfw'); ?></em></small><br /><br />
61
+
62
+ <div id="callbackBlock">
63
+
64
+ <label for="callbackOnStart">
65
+ <?php _e('Callback on <strong>Start</strong> event: Will be called right before attempting to load the content', 'mfbfw'); ?>
66
+ <textarea rows="10" cols="50" class="large-text code" name="mfbfw[callbackOnStart]" wrap="physical" id="callbackOnStart"><?php echo ($settings['callbackOnStart']); ?></textarea>
67
+ </label><br /><br />
68
+
69
+ <label for="callbackOnCancel">
70
+ <?php _e('Callback on <strong>Cancel</strong> event: Will be called after loading is canceled', 'mfbfw'); ?>
71
+ <textarea rows="10" cols="50" class="large-text code" name="mfbfw[callbackOnCancel]" wrap="physical" id="callbackOnCancel"><?php echo ($settings['callbackOnCancel']); ?></textarea>
72
+ </label><br /><br />
73
+
74
+ <label for="callbackOnComplete">
75
+ <?php _e('Callback on <strong>Complete</strong> event: Will be called once the content is displayed', 'mfbfw'); ?>
76
+ <textarea rows="10" cols="50" class="large-text code" name="mfbfw[callbackOnComplete]" wrap="physical" id="callbackOnComplete"><?php echo ($settings['callbackOnComplete']); ?></textarea>
77
+ </label><br /><br />
78
+
79
+ <label for="callbackOnCleanup">
80
+ <?php _e('Callback on <strong>CleanUp</strong> event: Will be called just before closing', 'mfbfw'); ?>
81
+ <textarea rows="10" cols="50" class="large-text code" name="mfbfw[callbackOnCleanup]" wrap="physical" id="callbackOnCleanup"><?php echo ($settings['callbackOnCleanup']); ?></textarea>
82
+ </label><br /><br />
83
+
84
+ <label for="callbackOnClosed">
85
+ <?php _e('Callback on <strong>Closed</strong> event: Will be called once FancyBox is closed', 'mfbfw'); ?>
86
+ <textarea rows="10" cols="50" class="large-text code" name="mfbfw[callbackOnClose]" wrap="physical" id="callbackOnClosed"><?php echo ($settings['callbackOnClose']); ?></textarea>
87
+ </label><br /><br/>
88
+
89
+ <small><strong><em><?php _e('Example:', 'mfbfw'); ?></em></strong></small><br />
90
+ <small><em><code>function() { alert('Hello world!'); }</code></em></small><br />
91
+ <small><em><?php _e('Leave empty any speciic callbacks you don\'t need to use.', 'mfbfw'); ?></em></small><br /><br />
92
+
93
+ </div>
94
+
95
+ </fieldset>
96
+ </td>
97
+ </tr>
98
+
99
+ </tbody>
100
+ </table>
trunk/lib/admin-tab-support.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <h2><?php _e('Support', 'mfbfw'); ?></h2>
2
+
3
+ <h3><?php _e('Help with Fancybox'); ?></h3>
4
+ <ul style="list-style-type:disc;padding-left:15px;">
5
+ <li><?php _e('If you have problems or questions about FancyBox itself (and not this WordPress plugin), please start with these links: <a target="_blank" href="http://fancybox.net/howto">How-To</a> & <a target="_blank" href="http://fancybox.net/faq">FAQ</a>.<br />If that does not help, go to <a href="http://groups.google.com/group/fancybox">the FancyBox Google Group</a>, use the <strong>Search</strong> option, and if necesary, post your question.', 'mfbfw'); ?></li>
6
+ </ul>
7
+
8
+ <h3><?php _e('Help with Fancybox for WordPress plugin'); ?></h3>
9
+ <ul style="list-style-type:disc;padding-left:15px;">
10
+ <li><?php _e('Try to localize the problem (switch your theme and deactivate plugins until you find the source of the problem). You can also try the Troubleshooting settings of this plugin if necesary.', 'mfbfw'); ?></li>
11
+ <li><?php _e("Try reverting the plugin's settings to their defaults with the button below.", 'mfbfw'); ?></li>
12
+ <li><?php _e('If you still can not get the plugin to work, <a target="_blank" href="http://wordpress.org/support/plugin/fancybox-for-wordpress#postform">write a post in the WordPress Support forums</a> explaining the problem or take a look and the <a target="_blank" href="http://wordpress.org/support/plugin/fancybox-for-wordpress">already posted messages</a>.', 'mfbfw'); ?></li>
13
+ </ul>
14
+
15
+ <p style="font-weight:bold;color:red"><span style="color:#333"><?php _e('IMPORTANT:'); ?></span> <?php _e('When posting your problem please provide a link to your blog and the page where the error is found, and all relevant information you can, especially your theme, plugins, etc.'); ?></p>
trunk/lib/admin-tab-troubleshooting.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <h2><?php _e('Troubleshooting Settings', 'mfbfw'); ?></h2>
2
+
3
+ <p><span style="font-weight:bold;color:red;"><?php _e('Settings in this section should only be changed if you are having problems with the plugin!', 'mfbfw'); ?></span></p>
4
+
5
+ <p><?php _e('If the plugin doesn\'t seem to work, first you should check for other plugins that may be conflicting with this one, especially other Lightbox, Slimbox, etc. Make sure all your plugins and WordPress itself are up to date (this plugin has only been tested in WordPress 2.7 and above).', 'mfbfw'); ?></p>
6
+
7
+ <p><?php _e('Change them one at a time and test to see if they help. Remember that having a cache plugin may prevent changes from taking effect immidiately, so clear cache after saving changes here or deactivate cache until you finish editing these options.', 'mfbfw'); ?></p><br />
8
+
9
+ <table class="form-table" style="clear:none;">
10
+ <tbody>
11
+
12
+ <tr valign="top">
13
+ <th scope="row"><?php _e('Do not call jQuery', 'mfbfw'); ?></th>
14
+ <td>
15
+ <fieldset>
16
+
17
+ <label for="nojQuery">
18
+ <input type="checkbox" name="mfbfw[nojQuery]" id="nojQuery"<?php if ( isset($settings['nojQuery']) && $settings['nojQuery'] ) echo ' checked="yes"';?> />
19
+ <?php _e('Skip jQuery call. Use this only if jQuery is being loaded twice (default: off)', 'mfbfw'); ?>
20
+ </label><br />
21
+
22
+ </fieldset>
23
+ </td>
24
+ </tr>
25
+
26
+ </tbody>
27
+ </table>
trunk/lib/admin-tab-uninstall.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <h2><?php _e('Uninstall', 'mfbfw'); ?></h2>
2
+
3
+ <p><?php _e('Like many other plugins, FancyBox for WordPress stores its settings on your WordPress\' options database table. Actually, these settings are not using more than a couple of kilobytes of space, but if you want to completely uninstall this plugin, check the option below, then save changes, and <strong>when you deactivate the plugin</strong>, all its settings will be removed from the database.', 'mfbfw'); ?></p>
4
+
5
+ <table class="form-table" style="clear:none;">
6
+ <tbody>
7
+
8
+ <tr valign="top">
9
+ <th scope="row"><?php _e('Remove settings', 'mfbfw'); ?></th>
10
+ <td>
11
+ <fieldset>
12
+
13
+ <label for="uninstall">
14
+ <input type="checkbox" name="mfbfw[uninstall]" id="uninstall"<?php if ( isset($settings['uninstall']) && $settings['uninstall'] ) echo ' checked="yes"';?> />
15
+ <?php _e('Remove Settings when plugin is deactivated from the "Manage Plugins" page. (default: off)', 'mfbfw'); ?>
16
+ </label><br /><br />
17
+
18
+ </fieldset>
19
+ </td>
20
+ </tr>
21
+
22
+ </tbody>
23
+ </table>
trunk/readme.txt ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === FancyBox for WordPress ===
2
+ Contributors: silkalns
3
+ Tags: fancybox, lightbox, jquery, gallery, image, images, photo, photos, picture, pictures, zoom
4
+ Requires at least: 3.4
5
+ Tested up to: 4.6
6
+ Stable tag: 3.0.8
7
+ License: GPL/MIT
8
+
9
+ Seamlessly integrates FancyBox lightbox into your WordPress blog: Upload, activate, and you're done. Additional configuration optional.
10
+
11
+
12
+ == Description ==
13
+
14
+ Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. Additional configuration optional.
15
+
16
+ You can easily customize almost anything you can think about fancybox lightbox: the border, margin width and color, zoom speed, animation type, close button position, overlay color and opacity and even more advanced option like several options to group images into galleries, and more...
17
+
18
+ By default, the plugin will use jQuery to apply FancyBox to ANY thumbnails that link directly to an image. This includes posts, the sidebar, etc, so you can activate it and it will be applied automatically.
19
+
20
+ = Demo =
21
+
22
+ You can see the plugin working on [this blog](http://blog.moskis.net/2012/01/20/teclado-apple-en-windows-7/) although there's nothing amazing to see, just a FancyBox simple implementation, that's the point ;) You can take a look at the code if you're curious, though.
23
+
24
+ = Further Reading =
25
+
26
+ This plugin is developed and maintained by Colorlib. Which is well know for their free [WordPress Themes](https://colorlib.com/wp/themes/). However, now they are looking to extend their presence in plugin development and believe that FancyBox lightbox is a great way to start.
27
+
28
+ If you are new to WordPress and want to lear more we have got you covered. Colorlib will teach you have to [start a blog](https://colorlib.com/) or [create a website](https://colorlib.com/wp/how-to-make-a-website/) and much more. If you are already familiar with WordPress you likely want to learn how to make it faster and more reliable. That's when you want to look into hosting and more specifically [WordPress hosting](http://colorlib.com/wp/wordpress-hosting).
29
+
30
+ If you enjoy using FancyBox lightbox for WordPress please leave a [positive feedback](https://wordpress.org/support/plugin/fancybox-for-wordpress/reviews/?filter=5). We are committed to make it the best lightbox plugin for WordPress.
31
+
32
+ == Changelog ==
33
+
34
+ = 3.0.7 =
35
+
36
+ * Updated Fancybox library
37
+ * Updated other libraries this plugins depends on such as jQuery easing and jQuery Mousewheel
38
+ * Tested plugin with WordPress 4.6
39
+
40
+ = 3.0.6 =
41
+ * Fixes to JavaScript code for showing and hiding elements as they are needed in Settings page. (Thanks to jono55 for reporting)
42
+
43
+ = 3.0.5 =
44
+ * Fixed the Revert Options button.
45
+ * Fixed wrong version number being shown on the plugin's settings page.
46
+ * Updated plugin and author links in readme and settings page.
47
+ * Updated localization catalog (POT file).
48
+ * Updated Spanish translation with minor updates.
49
+ * Updated Frequently Asked Questions in readme file.
50
+ * Removed version number from printed html source code.
51
+ * Removed outdated/incomplete translation binaries.
52
+
53
+ = 3.0.4 =
54
+ * Renamed the setting affected by the security issue mentioned in 3.0.3. This should stop the malicious code from appearing on sites where the plugin is updated without removing the malicious code.
55
+
56
+ = 3.0.3 =
57
+ * Fixed a security issue. (Thanks to mickaelb for reporting and Konstantin Kovshenin for providing the fix)
58
+
59
+ = 3.0.2 =
60
+ * Added support for disabling fancybox on individual hyperlinked images by adding class='nolightbox'. (Thanks to Artem Russakovskii)
61
+ * Added a link to the github project page in the info tab in the settings page.
62
+ * Fixed and cleaned the installation code, new installations of the plugin should work now without need to go to the settings page.
63
+ * Fixed false positives in filenames. (Thanks to Artem Russakovskii)
64
+ * Fixed incompatibility with wordpress installations where the wp-content directory had been renamed.
65
+ * Fixed an issue that could cause the version of the plugin to be removed from settings when deactivating the plugin.
66
+ * Improved HTTPS support by using better code to retrieve the plugin url and load files.
67
+ * Removed legacy code to suport upgrading settings from 2.x versions of the plugin. This was done to avoid possible issues with clean installations of the plugin.
68
+ * Updated some CSS rules in jQuery UI
69
+ * Some minor reformatting and cleanup of code (PHP comments, empty lines, )
70
+
71
+ = 3.0.1 =
72
+ * Updated: Localization catalog updated.
73
+ * Updated: Spanish localization.
74
+ * Fixed: Minor change in settings page that may fix options page being invisible in some cases.
75
+
76
+ = 3.0.0 =
77
+ * New: Fancybox v1.3.4 support This includes many new options, like title position.
78
+ * New: Additional FancyBox Calls option that lets the user write their own additional code to use FancyBox on specific areas of the blog, like email subscription buttons, login, etc.
79
+ * New: Revert settings button added to options page. When pressed, a confirmation dialog will appear.
80
+ * New: Improvements in options page, irrelevant settings (settings that depend on a disabled setting) will hide on real time, meaning a cleaner look in the options page.
81
+ * Updated: New cleaner code to select thumbnails on which to apply the fancbox script.
82
+ * Updated: Many parts of plugins rewriten with many improvements in code.
83
+ * Updated: Options are now serialized into a single row in the database.
84
+ * Fixed: Plugin should be SSL friendly from now on.
85
+ * Fixed: Do not call jQuery option in troubleshooting section didn't work if easing was enabled.
86
+ * Fixed: Load at footer options should work better now.
87
+ * Fixed: CSS external files now addded with wp_enqueue_style().
88
+ * Fixed: has_cap error: User level value for options page removed, using role now instead. Thanks to [vonkanehoffen](http://wordpress.org/support/topic/plugin-fancybox-for-wordpress-has_cap-fix).
89
+ * Removed: jQuery "noConflict" Mode option removed bacause jQuery bundled with WordPress always used noConflict.
90
+ * Removed: Base64 data ("data:image/gif;base64,AAAA") in left and right fancybox link's backgrounds: It didn't seem to be working and it is usually regarded as suspicious code, so it has been removed.
91
+
92
+ = 2.7.5 =
93
+ * Fixed: Callback arguments are no longer added as "null" when they are not set in options page.
94
+
95
+ = 2.7.4 =
96
+ * Fixed: Little error tagging 2.7.3, a file didn't upload and broke options page.
97
+ * Update: Language POT file
98
+
99
+ = 2.7.3 =
100
+ * Fixed: Settings not saving in some browsers. Thanks to [supertomate](http://wordpress.org/support/topic/plugin-fancybox-for-wordpress-save-changes-button-doesnt-submit-form?replies=7#post-1765041)
101
+ * Fixed: JS being added to other plugins' configuration pages. Thanks to [Brandon Dove](http://wordpress.org/support/topic/plugin-fancybox-for-wordpress-theres-a-problem-with-is_plugin_page?replies=1#post-1888828)
102
+ * Added: Support section in options page with better information
103
+
104
+ = 2.7.2 =
105
+ * Fixed: Layout problem in options page in WordPress 2.9
106
+
107
+ = 2.7.1 =
108
+ * Fixed: Z-index issue was left out in previus release
109
+ * Fixed: Setting to close fancybox when clicking on the overlay wasn't available in the menu
110
+ * Fixed: Frame width and height options are now in the "Other" tab
111
+ * Fixed: Tabs now translated in Spanish localization
112
+
113
+ = 2.7.0 =
114
+ * New: Fancybox v1.2.6 support
115
+ * New: New Admin page with tabs for better organization of all the options
116
+ * Added: Setting to change the speed of the animation when changing gallery items
117
+ * Added: Setting to enable or disable Escape key to close Fancybox
118
+ * Added: Setting to show or hide close button
119
+ * Added: Setting to close fancybox when clicking on the overlay
120
+ * Added: Setting to enable or disable callback function on start, show and close events
121
+ * Added: Italian translation
122
+ * Added: Russian translation
123
+ * Added: "Load JS at Footer" option
124
+ * Added: New Changelog tab in Wordpress Plugin Directory
125
+ * Fixed: Some typos in Spanish translation
126
+ * Fixed: FancyBox not showing above some elements (those with zindex higher than 90)
127
+ * Fixed: JavaScript code being included in all admin pages instead of just the plugin's options page.
128
+ * Fixed: noClonflict preventing frames to work in Fancybox
129
+ * Fixed: Custom frame width and height not being applied
130
+ * Updated: Japanese translation
131
+ * Updated: JS is now Minified instead of Packed
132
+
133
+ = 2.6.0 =
134
+ * Optimized the JavaScript code used to apply FancyBox
135
+ * Updated Custom Expression section in Options Page
136
+ * Fixed uppercase image extensions not being recognized
137
+ * CSS is now loaded before the JavaScript for better parallelization
138
+ * jquery.easing.1.3.js compressed (from 8,10kb to 3,47kb) and renamed to jquery.easing.1.3.pack.js
139
+ * Added Turkish translation (some strings missing)
140
+ * Added Japanese translation (some strings missing)
141
+ * Updated Spanish translation
142
+ * Updated to use new Plugin API in WP2.7 for better forward compatibility
143
+ * Removed /wp-content/ reference in fancybox.php for better WP2.8 support
144
+ * Optimized some code readability
145
+
146
+ = 2.5.1 =
147
+ * Fixed the plugin not working when selecting Gallery Type "By Post"
148
+ * Fixed a bug that would prevent the title in the IMG tag from being copied to the A tag in some cases
149
+ * Fixed the Custom Expression showing in the Admin panel when other gallery types are selected
150
+
151
+ = 2.5 =
152
+ * Support for localizations (Spanish and German localizations included)
153
+ * Some parts of the code completely rewritten
154
+ * Fixed fancybox files being loaded on the admin pages
155
+ * New options for close button position, custom jquery expressions, iframe content
156
+ * Options page mostly rewritten, better organized
157
+ * Medium/advanced, troubleshooting/uninstall options collapsable, hidden by default
158
+ * Better support guidelines and links on options page
159
+ * Settings link on the Manage plugins page
160
+ * Custom expression hidden when not used
161
+ * Title atribute on IMG tags is now copied to its parent A tag for better caption support
162
+ * New uninstall options and better handling of new options when installing/updating
163
+ * Cleans any old options no longer needed when plugin is activated/updated
164
+
165
+ = 2.2 =
166
+ * Updated to FancyBox 1.2.1
167
+ * Added new settings to Options Page: Easing, padding size, border color
168
+ * Tweaked CSS to prevent some themes from adding unwanted styles to fancybox (especially background colors and link outlines)
169
+ * Options Page reorganized in three sections: Appearance, Behaviour and Troubleshooting Settings, to make settings easier to find
170
+
171
+ = 2.1.1 =
172
+ * Fixed a new bug introduced in 2.1 that prevented options from being saved. Sorry about the mess :(
173
+
174
+ = 2.1 =
175
+ * Fixed a major bug in 2.0 that prevented it from working until plugin's options page was visited
176
+ * Added two options for troubleshooting that might help in some cases if the plugin doesn't work: disable jQuery noConflict and skip jQuery call
177
+ * Additional fixes to caption CSS: Captions should look better now in Hybrid theme, child themes, and other situations where general table elements are improperly styled
178
+
179
+ = 2.0 =
180
+ * Brand new Options Page in Admin Panel lets you easely customize many options: fancybox auto apply, image resize to fit, opacity fade while zooming, zoom speed, overlay on/off, overlay color, overlay opacity, close fancybox on image click, keep fancybox centered while scrolling
181
+ * CSS completely updated for FancyBox 1.2.0
182
+ * Captions fixed in IE
183
+
184
+ = 1.3 =
185
+ * Shadows and Close button should be fixed now
186
+
187
+ = 1.2 =
188
+ * Updated to FancyBox 1.2.0
189
+ * Uses packed version of the JavaScript file (8kb instead of 14kb)
190
+
191
+ = 1.1 =
192
+ * Fixed FancyBox not being applied to .jpeg files
193
+ * Fixed "Click to close" overlay text
194
+ * Moved images to /img/ folder
195
+
196
+
197
+ == Upgrade Notice ==
198
+
199
+ = 3.0.5 =
200
+ Fixes the Revert options button and wrong version number on settings page. Also updates links in settings page and readme file.
201
+
202
+
203
+ == Installation ==
204
+
205
+ 1. Upload the `fancybox-for-wordpress` folder to the `/wp-content/plugins/` directory
206
+ 2. Activate the plugin through the 'Plugins' menu in WordPress
207
+ 3. That's it, FancyBox will be automatically applied to all your image links and galleries.
208
+ 4. If you want to customize a bit the look and feel of FancyBox, go to the Options Page under General Options in the WordPress Admin panel
209
+
210
+
211
+ == Screenshots ==
212
+
213
+ 1. Simple example of fancybox on a post. [Live demo here](http://blog.moskis.net/2012/01/20/teclado-apple-en-windows-7/)
214
+ 2. Basic settings on Options Page in the Admin Panel. This makes it very easy to customize the plugin to your needs
215
+
216
+
217
+ == Frequently Asked Questions ==
218
+
219
+ **- There was a vulnerability detected in versions 3.0.2 and lower, is my site in danger?**
220
+
221
+ This vulnerability was patched in version 3.0.3.
222
+
223
+ An additional change was introduced in version 3.0.4 to make sure that the malicious code can't be printed to visitors even if it still remains in the database.
224
+
225
+ If you think your site might still be using a vulnerable version of the plugin please log in to your WordPress admin panel, disable the plugin and clear any cache if your site uses a cache system.
226
+
227
+ If you wish to continue using the plugin, check that the plugin is updated to the latest version from your admin panel and enable it. Then check the plugin's settings page and make sure there's no abnormal code in any of the fields, especially on the Extra Calls tab. If you are not sure about the code you see in the settings please use the Revert to Defaults button at the bottom of the settings page.
228
+
229
+ If you think your site might be compromised in any other way check this guide: [WordPress Codex - FAQ My site was hacked](http://codex.wordpress.org/FAQ_My_site_was_hacked).
230
+
231
+ **- Is the FancyBox script vulnerable or unsafe?**
232
+
233
+ No, there's nothing wrong with the actual FancyBox script that i know of.
234
+
235
+ The vulnerability detected in versions 3.0.2 and lower of the "FancyBox for WordPress" plugin was limited to the plugin itself. Other FancyBox plugins or manual implementations of FancyBox are unrelated to this issue.
trunk/screenshot-1.png ADDED
Binary file
trunk/screenshot-2.png ADDED
Binary file