Version Description
- Added support for disabling fancybox on individual hyperlinked images by adding class='nolightbox'. (Thanks to Artem Russakovskii)
- Added a link to the github project page in the info tab in the settings page.
- Fixed and cleaned the installation code, new installations of the plugin should work now without need to go to the settings page.
- Fixed false positives in filenames. (Thanks to Artem Russakovskii)
- Fixed incompatibility with wordpress installations where the wp-content directory had been renamed.
- Fixed an issue that could cause the version of the plugin to be removed from settings when deactivating the plugin.
- Improved HTTPS support by using better code to retrieve the plugin url and load files.
- 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.
- Updated some CSS rules in jQuery UI
- Some minor reformatting and cleanup of code (PHP comments, empty lines, )
Download this release
Release Info
Developer | moskis |
Plugin | FancyBox for WordPress |
Version | 3.0.2 |
Comparing to | |
See all releases |
Code changes from version 3.0.1 to 3.0.2
- admin.php +20 -20
- css/jquery-ui.css +9 -9
- fancybox.php +156 -110
- fancybox/fancybox.css +2 -4
- fancybox/jquery.fancybox.js +2 -2
- js/admin.js +28 -52
- languages/mfbfw-es_ES.mo +0 -0
- languages/mfbfw-es_ES.po +270 -266
- languages/mfbfw.pot +364 -357
- lib/admin-head.php +3 -5
- lib/admin-tab-animations.php +7 -7
- lib/admin-tab-appearance.php +19 -19
- lib/admin-tab-behaviour.php +5 -5
- lib/admin-tab-calls.php +8 -8
- lib/admin-tab-info.php +4 -2
- lib/admin-tab-other.php +17 -17
- lib/admin-tab-support.php +3 -3
- readme.txt +18 -36
- settings.php +0 -233
admin.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
function mfbfw_options_page() {
|
4 |
|
5 |
-
require_once( FBFW_PATH . '
|
6 |
|
7 |
?>
|
8 |
|
@@ -32,43 +32,43 @@ function mfbfw_options_page() {
|
|
32 |
</ul>
|
33 |
|
34 |
<div id="fbfw-info">
|
35 |
-
<?php require_once ( FBFW_PATH . '
|
36 |
</div>
|
37 |
|
38 |
<div id="fbfw-appearance">
|
39 |
-
<?php require_once ( FBFW_PATH . '
|
40 |
</div>
|
41 |
|
42 |
<div id="fbfw-animations">
|
43 |
-
<?php require_once ( FBFW_PATH . '
|
44 |
</div>
|
45 |
|
46 |
<div id="fbfw-behaviour">
|
47 |
-
<?php require_once ( FBFW_PATH . '
|
48 |
</div>
|
49 |
|
50 |
<div id="fbfw-galleries">
|
51 |
-
<?php require_once ( FBFW_PATH . '
|
52 |
</div>
|
53 |
|
54 |
<div id="fbfw-other">
|
55 |
-
<?php require_once ( FBFW_PATH . '
|
56 |
</div>
|
57 |
-
|
58 |
<div id="fbfw-calls">
|
59 |
-
<?php require_once ( FBFW_PATH . '
|
60 |
</div>
|
61 |
|
62 |
<div id="fbfw-troubleshooting">
|
63 |
-
<?php require_once ( FBFW_PATH . '
|
64 |
</div>
|
65 |
-
|
66 |
<div id="fbfw-support">
|
67 |
-
<?php require_once ( FBFW_PATH . '
|
68 |
</div>
|
69 |
|
70 |
<div id="fbfw-uninstall">
|
71 |
-
<?php require_once ( FBFW_PATH . '
|
72 |
</div>
|
73 |
|
74 |
</div>
|
@@ -78,16 +78,16 @@ function mfbfw_options_page() {
|
|
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 |
<input type="submit" name="mfbfw_update" id="reset" onClick="return confirmDefaults();" class="button-secondary" value="<?php esc_attr_e( 'Revert to defaults', 'mfbfw' ); ?>" />
|
85 |
<input type="hidden" name="action" value="reset" />
|
86 |
</div>
|
87 |
</form>
|
88 |
-
|
89 |
<div id="mfbfwd" style="border-top:1px dashed #DDDDDD;margin:20px auto 40px;overflow:hidden;padding-top:25px;width:735px">
|
90 |
-
|
91 |
<div style="background-color:#FFFFE0;border:1px solid #E6DB55;padding:0 .6em;margin:5px 15px 2px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;height:90px;float:left;text-align:center;width:200px">
|
92 |
<p style="line-height:1.5em;"><?php _e( 'If you use FancyBox and like it, buy the author a beer!', 'mfbfw' ); ?></p>
|
93 |
<form id="donate_form" action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
@@ -101,7 +101,7 @@ function mfbfw_options_page() {
|
|
101 |
<input name="tax" value="0" type="hidden">
|
102 |
<input name="lc" value="LV" type="hidden">
|
103 |
<input name="bn" value="PP-DonationsBF" type="hidden">
|
104 |
-
<input type="image" style="margin:0;padding:0" border="0" src="<?php echo FBFW_URL
|
105 |
</form>
|
106 |
</div>
|
107 |
|
@@ -110,16 +110,16 @@ function mfbfw_options_page() {
|
|
110 |
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
111 |
<input type="hidden" name="cmd" value="_s-xclick"/>
|
112 |
<input type="hidden" name="hosted_button_id" value="3878319"/>
|
113 |
-
<input type="image" style="margin:0;padding:0" border="0" src="<?php echo FBFW_URL
|
114 |
<img height="1" width="1" border="0" alt="" src="https://www.paypal.com/es_ES/i/scr/pixel.gif" />
|
115 |
</form>
|
116 |
</div>
|
117 |
|
118 |
<div style="background-color:#9DD1F2;border:1px solid #419ED9;padding:0 .6em;margin:5px 15px 2px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;height:90px;float:left;margin-left:10px;text-align:center;width:200px">
|
119 |
<p style="line-height:1.5em;"><a href="http://twitter.com/moskis/"><?php _e( 'Follow me on Twitter for more WordPress Plugins and Themes', 'mfbfw' ); ?></a></p>
|
120 |
-
<img height="16" width="16" border="0" alt="" src="<?php echo FBFW_URL
|
121 |
</div>
|
122 |
-
|
123 |
</div>
|
124 |
|
125 |
</div>
|
2 |
|
3 |
function mfbfw_options_page() {
|
4 |
|
5 |
+
require_once( FBFW_PATH . 'lib/admin-head.php' );
|
6 |
|
7 |
?>
|
8 |
|
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>
|
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 |
<input type="submit" name="mfbfw_update" id="reset" onClick="return confirmDefaults();" class="button-secondary" value="<?php esc_attr_e( 'Revert to defaults', 'mfbfw' ); ?>" />
|
85 |
<input type="hidden" name="action" value="reset" />
|
86 |
</div>
|
87 |
</form>
|
88 |
+
|
89 |
<div id="mfbfwd" style="border-top:1px dashed #DDDDDD;margin:20px auto 40px;overflow:hidden;padding-top:25px;width:735px">
|
90 |
+
|
91 |
<div style="background-color:#FFFFE0;border:1px solid #E6DB55;padding:0 .6em;margin:5px 15px 2px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;height:90px;float:left;text-align:center;width:200px">
|
92 |
<p style="line-height:1.5em;"><?php _e( 'If you use FancyBox and like it, buy the author a beer!', 'mfbfw' ); ?></p>
|
93 |
<form id="donate_form" action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
101 |
<input name="tax" value="0" type="hidden">
|
102 |
<input name="lc" value="LV" type="hidden">
|
103 |
<input name="bn" value="PP-DonationsBF" type="hidden">
|
104 |
+
<input type="image" style="margin:0;padding:0" border="0" src="<?php echo FBFW_URL ?>css/img/extra_donate.png" name="submit" alt="PayPal - The safer, easier way to pay online!"/>
|
105 |
</form>
|
106 |
</div>
|
107 |
|
110 |
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
111 |
<input type="hidden" name="cmd" value="_s-xclick"/>
|
112 |
<input type="hidden" name="hosted_button_id" value="3878319"/>
|
113 |
+
<input type="image" style="margin:0;padding:0" border="0" src="<?php echo FBFW_URL ?>css/img/extra_donate.png" name="submit" alt="PayPal - The safer, easier way to pay online!"/>
|
114 |
<img height="1" width="1" border="0" alt="" src="https://www.paypal.com/es_ES/i/scr/pixel.gif" />
|
115 |
</form>
|
116 |
</div>
|
117 |
|
118 |
<div style="background-color:#9DD1F2;border:1px solid #419ED9;padding:0 .6em;margin:5px 15px 2px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;height:90px;float:left;margin-left:10px;text-align:center;width:200px">
|
119 |
<p style="line-height:1.5em;"><a href="http://twitter.com/moskis/"><?php _e( 'Follow me on Twitter for more WordPress Plugins and Themes', 'mfbfw' ); ?></a></p>
|
120 |
+
<img height="16" width="16" border="0" alt="" src="<?php echo FBFW_URL ?>css/img/extra_twitter.png" />
|
121 |
</div>
|
122 |
+
|
123 |
</div>
|
124 |
|
125 |
</div>
|
css/jquery-ui.css
CHANGED
@@ -53,12 +53,12 @@
|
|
53 |
|
54 |
/* Misc visuals
|
55 |
----------------------------------*/
|
56 |
-
.ui-corner-tl {
|
57 |
-
.ui-corner-tr {
|
58 |
-
.ui-corner-bl {
|
59 |
-
.ui-corner-br {
|
60 |
-
.ui-corner-top {
|
61 |
-
.ui-corner-bottom {
|
62 |
-
.ui-corner-right {
|
63 |
-
.ui-corner-left {
|
64 |
-
.ui-corner-all {
|
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}*/; }
|
fancybox.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: FancyBox for WordPress
|
4 |
Plugin URI: http://plugins.josepardilla.com/fancybox-for-wordpress/
|
5 |
Description: Integrates <a href="http://fancybox.net/">FancyBox</a> by <a href="http://klade.lv/">Janis Skarnelis</a> into WordPress.
|
6 |
-
Version: 3.0.
|
7 |
Author: José Pardilla
|
8 |
Author URI: http://josepardilla.com/
|
9 |
|
@@ -15,78 +15,140 @@ Author URI: http://josepardilla.com/
|
|
15 |
*/
|
16 |
|
17 |
|
18 |
-
/*-----------------------------------------------------------------------------------*/
|
19 |
-
/* Define paths with SSL Support on WP3.0+
|
20 |
-
/* (http://codex.wordpress.org/Determining_Plugin_and_Content_Directories)
|
21 |
-
/*-----------------------------------------------------------------------------------*/
|
22 |
-
|
23 |
-
if ( ! function_exists( 'is_ssl' ) ) {
|
24 |
-
function is_ssl() {
|
25 |
-
if ( isset($_SERVER['HTTPS']) ) {
|
26 |
-
if ( 'on' == strtolower($_SERVER['HTTPS']) )
|
27 |
-
return true;
|
28 |
-
if ( '1' == $_SERVER['HTTPS'] )
|
29 |
-
return true;
|
30 |
-
} elseif ( isset($_SERVER['SERVER_PORT']) && ('443' == $_SERVER['SERVER_PORT']) ) {
|
31 |
-
return true;
|
32 |
-
}
|
33 |
-
return false;
|
34 |
-
}
|
35 |
-
}
|
36 |
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
}
|
42 |
-
$wp_content_url .= '/wp-content';
|
43 |
-
$wp_content_dir = ABSPATH . 'wp-content';
|
44 |
-
$wp_plugin_url = $wp_content_url . '/plugins';
|
45 |
-
$wp_plugin_dir = $wp_content_dir . '/plugins';
|
46 |
|
47 |
-
define( 'FBFW_PATH', $wp_plugin_dir . '/fancybox-for-wordpress' );
|
48 |
-
define( 'FBFW_URL', $wp_plugin_url . '/fancybox-for-wordpress' );
|
49 |
|
50 |
|
|
|
|
|
|
|
51 |
|
52 |
-
|
53 |
-
/* Main Settings
|
54 |
-
/*-----------------------------------------------------------------------------------*/
|
55 |
|
56 |
-
|
|
|
|
|
57 |
|
58 |
-
|
|
|
59 |
|
60 |
|
61 |
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
|
66 |
function mfbfw_uninstall() {
|
67 |
$settings = get_option( 'mfbfw' );
|
68 |
-
if ( isset($settings['uninstall']) && $settings['uninstall'] )
|
69 |
delete_option( 'mfbfw' );
|
70 |
delete_option( 'mfbfw_active_version' );
|
|
|
71 |
}
|
72 |
register_deactivation_hook( __FILE__, 'mfbfw_uninstall' );
|
73 |
|
74 |
|
75 |
-
|
76 |
-
|
77 |
-
|
|
|
78 |
|
79 |
function mfbfw_register_scripts() {
|
80 |
|
81 |
$settings = get_option( 'mfbfw' );
|
82 |
-
|
83 |
// Check if script should be loaded in footer
|
84 |
if ( isset($settings['loadAtFooter']) && $settings['loadAtFooter'] ) {
|
85 |
$footer = true;
|
86 |
} else {
|
87 |
$footer = false;
|
88 |
}
|
89 |
-
|
90 |
// Check if plugin should not call jQuery script (for troubleshooting only)
|
91 |
if ( isset($settings['nojQuery']) && $settings['nojQuery'] ) {
|
92 |
$jquery = false;
|
@@ -95,51 +157,46 @@ function mfbfw_register_scripts() {
|
|
95 |
}
|
96 |
|
97 |
// Register scripts
|
98 |
-
wp_register_script('fancybox', FBFW_URL . '
|
99 |
-
wp_register_script('jqueryeasing', FBFW_URL . '
|
100 |
-
wp_register_script('jquerymousewheel', FBFW_URL . '
|
101 |
|
102 |
|
103 |
}
|
104 |
add_action( 'init', 'mfbfw_register_scripts' );
|
105 |
|
106 |
-
|
107 |
function mfbfw_scripts() {
|
108 |
|
109 |
$settings = get_option( 'mfbfw' );
|
110 |
|
111 |
-
|
112 |
-
|
113 |
-
wp_enqueue_script( 'fancybox' ); // Load fancybox
|
114 |
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
}
|
122 |
-
|
123 |
}
|
124 |
|
125 |
}
|
126 |
add_action( 'wp_enqueue_scripts', 'mfbfw_scripts' ); // Load Scripts
|
127 |
|
128 |
|
129 |
-
|
130 |
-
|
131 |
-
|
|
|
132 |
|
133 |
function mfbfw_styles() {
|
134 |
|
135 |
$settings = get_option( 'mfbfw' );
|
136 |
-
|
137 |
-
wp_enqueue_style( 'fancybox', FBFW_URL . '/fancybox/fancybox.css' );
|
138 |
|
139 |
?>
|
140 |
|
141 |
<style type="text/css">
|
142 |
-
|
143 |
<?php if ( isset($settings['paddingColor']) && $settings['paddingColor'] ) { echo "div#fancybox-content{border-color:" . $settings['paddingColor'] . "}\n"; } ?>
|
144 |
<?php if ( isset($settings['paddingColor']) && $settings['paddingColor'] && $settings['titlePosition'] == "inside" ) { echo "div#fancybox-title{background-color:" . $settings['paddingColor'] . "}\n"; } ?>
|
145 |
div#fancybox-outer{background-color:<?php echo $settings['paddingColor']; if ( isset($settings['border']) && $settings['border'] ) { echo "; border:1px solid " . $settings['borderColor']; } echo "}\n"; ?>
|
@@ -147,17 +204,18 @@ function mfbfw_styles() {
|
|
147 |
</style>
|
148 |
|
149 |
<?php
|
150 |
-
|
151 |
}
|
152 |
add_action( 'wp_enqueue_scripts', 'mfbfw_styles' );
|
153 |
|
154 |
|
155 |
-
|
156 |
-
|
157 |
-
|
|
|
158 |
|
159 |
function mfbfw_init() {
|
160 |
-
|
161 |
$settings = get_option( 'mfbfw' );
|
162 |
$version = get_option( 'mfbfw_active_version' );
|
163 |
|
@@ -175,53 +233,43 @@ jQuery.fn.getTitle = function() { // Copy the title of every IMG tag and add it
|
|
175 |
}
|
176 |
|
177 |
// Supported file extensions
|
178 |
-
var thumbnails = jQuery("a:has(img)").filter( function() { return
|
179 |
|
180 |
<?php if ( $settings['galleryType'] == 'post' ) {
|
181 |
|
182 |
// Gallery type BY POST and we are on post or page (so only one post or page is visible)
|
183 |
if ( is_single() | is_page() ) {
|
184 |
-
|
185 |
echo 'thumbnails.addClass("fancybox").attr("rel","fancybox").getTitle();';
|
186 |
-
|
187 |
}
|
188 |
|
189 |
// Gallery type BY POST, but we are neither on post or page, so we make a different rel attribute on each post
|
190 |
else {
|
191 |
-
|
192 |
echo 'var posts = jQuery(".post");
|
193 |
|
194 |
posts.each(function() {
|
195 |
jQuery(this).find(thumbnails).addClass("fancybox").attr("rel","fancybox"+posts.index(this)).getTitle()
|
196 |
});';
|
197 |
-
|
198 |
}
|
199 |
-
|
200 |
}
|
201 |
|
202 |
// Gallery type ALL
|
203 |
elseif ( $settings['galleryType'] == 'all' ) {
|
204 |
-
|
205 |
echo 'thumbnails.addClass("fancybox").attr("rel","fancybox").getTitle();';
|
206 |
-
|
207 |
}
|
208 |
|
209 |
// Gallery type NONE
|
210 |
elseif ( $settings['galleryType'] == 'none' ) {
|
211 |
-
|
212 |
echo 'thumbnails.addClass("fancybox").getTitle();';
|
213 |
-
|
214 |
}
|
215 |
|
216 |
// Else, gallery type is custom, so we just print the custom expression
|
217 |
else {
|
218 |
-
|
219 |
echo $settings['customExpression'];
|
220 |
-
|
221 |
}
|
222 |
|
223 |
-
// 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
|
224 |
-
|
225 |
|
226 |
jQuery("a.fancybox").fancybox({
|
227 |
'cyclic': <?php if ( isset($settings['cyclic']) && $settings['cyclic'] ) { echo "true"; } else { echo "false"; } ?>,
|
@@ -257,7 +305,7 @@ jQuery("a.fancybox").fancybox({
|
|
257 |
} ?>
|
258 |
|
259 |
});
|
260 |
-
|
261 |
<?php if ( isset($settings['extraCallsEnable']) && $settings['extraCallsEnable'] ) { echo $settings['extraCalls']; echo "\n"; } ?>
|
262 |
|
263 |
})
|
@@ -267,14 +315,15 @@ jQuery("a.fancybox").fancybox({
|
|
267 |
add_action( 'wp_head', 'mfbfw_init' );
|
268 |
|
269 |
|
270 |
-
|
271 |
-
|
272 |
-
|
|
|
273 |
|
274 |
function mfbfw_textdomain() {
|
275 |
|
276 |
if ( function_exists('load_plugin_textdomain') ) {
|
277 |
-
load_plugin_textdomain( 'mfbfw', FBFW_URL . '
|
278 |
}
|
279 |
|
280 |
}
|
@@ -282,9 +331,9 @@ add_action( 'init', 'mfbfw_textdomain' );
|
|
282 |
|
283 |
|
284 |
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
|
289 |
function mfbfw_admin_options() {
|
290 |
|
@@ -293,7 +342,7 @@ function mfbfw_admin_options() {
|
|
293 |
if ( isset($_GET['page']) && $_GET['page'] == 'fancybox-for-wordpress' ) {
|
294 |
|
295 |
if ( isset($_REQUEST['action']) && 'update' == $_REQUEST['action'] ) {
|
296 |
-
|
297 |
$settings = stripslashes_deep( $_POST['mfbfw'] );
|
298 |
$settings = array_map( 'convert_chars', $settings );
|
299 |
|
@@ -318,16 +367,16 @@ add_action( 'admin_init', 'mfbfw_admin_options' );
|
|
318 |
|
319 |
|
320 |
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
|
325 |
function mfbfw_admin_menu() {
|
326 |
|
327 |
-
require FBFW_PATH . '
|
328 |
|
329 |
$mfbfwadmin = add_submenu_page( 'options-general.php', 'Fancybox for WordPress Options', 'Fancybox for WP', 'manage_options', 'fancybox-for-wordpress', 'mfbfw_options_page' );
|
330 |
-
|
331 |
add_action( 'admin_print_styles-' . $mfbfwadmin, 'mfbfw_admin_styles' );
|
332 |
add_action( 'admin_print_scripts-' . $mfbfwadmin, 'mfbfw_admin_scripts' );
|
333 |
|
@@ -336,25 +385,25 @@ add_action('admin_menu', 'mfbfw_admin_menu');
|
|
336 |
|
337 |
|
338 |
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
|
343 |
function mfbfw_admin_styles() {
|
344 |
-
wp_enqueue_style( 'fancybox-admin', FBFW_URL . '
|
345 |
-
wp_enqueue_style( 'jquery-ui', FBFW_URL . '
|
346 |
}
|
347 |
|
348 |
function mfbfw_admin_scripts() {
|
349 |
wp_enqueue_script( 'jquery-ui-tabs', array('jquery-ui-core') ); // Load jQuery UI Tabs JS for Admin Page
|
350 |
-
wp_enqueue_script( 'fancybox-admin', FBFW_URL . '
|
351 |
}
|
352 |
|
353 |
|
354 |
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
|
359 |
function mfbfw_plugin_action_links($links, $file) {
|
360 |
|
@@ -369,7 +418,4 @@ function mfbfw_plugin_action_links($links, $file) {
|
|
369 |
return $links;
|
370 |
|
371 |
}
|
372 |
-
add_filter( 'plugin_action_links', 'mfbfw_plugin_action_links', 10, 2 );
|
373 |
-
|
374 |
-
|
375 |
-
?>
|
3 |
Plugin Name: FancyBox for WordPress
|
4 |
Plugin URI: http://plugins.josepardilla.com/fancybox-for-wordpress/
|
5 |
Description: Integrates <a href="http://fancybox.net/">FancyBox</a> by <a href="http://klade.lv/">Janis Skarnelis</a> into WordPress.
|
6 |
+
Version: 3.0.2
|
7 |
Author: José Pardilla
|
8 |
Author URI: http://josepardilla.com/
|
9 |
|
15 |
*/
|
16 |
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
+
/**
|
20 |
+
* Constants
|
21 |
+
*/
|
22 |
+
|
23 |
+
define( 'FBFW_VERSION', '3.0.2' );
|
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 |
+
'extraCalls' => '',
|
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;
|
157 |
}
|
158 |
|
159 |
// Register scripts
|
160 |
+
wp_register_script('fancybox', FBFW_URL . 'fancybox/jquery.fancybox.js', $jquery, '1.3.4', $footer ); // Main Fancybox script
|
161 |
+
wp_register_script('jqueryeasing', FBFW_URL . 'js/jquery.easing.1.3.min.js', false, '1.3', $footer ); // Easing animations script
|
162 |
+
wp_register_script('jquerymousewheel', FBFW_URL . 'js/jquery.mousewheel.3.0.4.pack.js', false, '3.0.4', $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"; ?>
|
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 |
$version = get_option( 'mfbfw_active_version' );
|
221 |
|
233 |
}
|
234 |
|
235 |
// Supported file extensions
|
236 |
+
var thumbnails = jQuery("a:has(img)").not(".nolightbox").filter( function() { return /\.(jpe?g|png|gif|bmp)$/i.test(jQuery(this).attr('href')) });
|
237 |
|
238 |
<?php if ( $settings['galleryType'] == 'post' ) {
|
239 |
|
240 |
// Gallery type BY POST and we are on post or page (so only one post or page is visible)
|
241 |
if ( is_single() | is_page() ) {
|
|
|
242 |
echo 'thumbnails.addClass("fancybox").attr("rel","fancybox").getTitle();';
|
|
|
243 |
}
|
244 |
|
245 |
// Gallery type BY POST, but we are neither on post or page, so we make a different rel attribute on each post
|
246 |
else {
|
|
|
247 |
echo 'var posts = jQuery(".post");
|
248 |
|
249 |
posts.each(function() {
|
250 |
jQuery(this).find(thumbnails).addClass("fancybox").attr("rel","fancybox"+posts.index(this)).getTitle()
|
251 |
});';
|
|
|
252 |
}
|
253 |
+
|
254 |
}
|
255 |
|
256 |
// Gallery type ALL
|
257 |
elseif ( $settings['galleryType'] == 'all' ) {
|
|
|
258 |
echo 'thumbnails.addClass("fancybox").attr("rel","fancybox").getTitle();';
|
|
|
259 |
}
|
260 |
|
261 |
// Gallery type NONE
|
262 |
elseif ( $settings['galleryType'] == 'none' ) {
|
|
|
263 |
echo 'thumbnails.addClass("fancybox").getTitle();';
|
|
|
264 |
}
|
265 |
|
266 |
// Else, gallery type is custom, so we just print the custom expression
|
267 |
else {
|
|
|
268 |
echo $settings['customExpression'];
|
|
|
269 |
}
|
270 |
|
271 |
+
// 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
|
272 |
+
?>
|
273 |
|
274 |
jQuery("a.fancybox").fancybox({
|
275 |
'cyclic': <?php if ( isset($settings['cyclic']) && $settings['cyclic'] ) { echo "true"; } else { echo "false"; } ?>,
|
305 |
} ?>
|
306 |
|
307 |
});
|
308 |
+
|
309 |
<?php if ( isset($settings['extraCallsEnable']) && $settings['extraCallsEnable'] ) { echo $settings['extraCalls']; echo "\n"; } ?>
|
310 |
|
311 |
})
|
315 |
add_action( 'wp_head', 'mfbfw_init' );
|
316 |
|
317 |
|
318 |
+
|
319 |
+
/**
|
320 |
+
* Load text domain
|
321 |
+
*/
|
322 |
|
323 |
function mfbfw_textdomain() {
|
324 |
|
325 |
if ( function_exists('load_plugin_textdomain') ) {
|
326 |
+
load_plugin_textdomain( 'mfbfw', FBFW_URL . 'languages', 'fancybox-for-wordpress/languages' );
|
327 |
}
|
328 |
|
329 |
}
|
331 |
|
332 |
|
333 |
|
334 |
+
/**
|
335 |
+
* Register Options
|
336 |
+
*/
|
337 |
|
338 |
function mfbfw_admin_options() {
|
339 |
|
342 |
if ( isset($_GET['page']) && $_GET['page'] == 'fancybox-for-wordpress' ) {
|
343 |
|
344 |
if ( isset($_REQUEST['action']) && 'update' == $_REQUEST['action'] ) {
|
345 |
+
|
346 |
$settings = stripslashes_deep( $_POST['mfbfw'] );
|
347 |
$settings = array_map( 'convert_chars', $settings );
|
348 |
|
367 |
|
368 |
|
369 |
|
370 |
+
/**
|
371 |
+
* Admin options page
|
372 |
+
*/
|
373 |
|
374 |
function mfbfw_admin_menu() {
|
375 |
|
376 |
+
require FBFW_PATH . 'admin.php';
|
377 |
|
378 |
$mfbfwadmin = add_submenu_page( 'options-general.php', 'Fancybox for WordPress Options', 'Fancybox for WP', 'manage_options', 'fancybox-for-wordpress', 'mfbfw_options_page' );
|
379 |
+
|
380 |
add_action( 'admin_print_styles-' . $mfbfwadmin, 'mfbfw_admin_styles' );
|
381 |
add_action( 'admin_print_scripts-' . $mfbfwadmin, 'mfbfw_admin_scripts' );
|
382 |
|
385 |
|
386 |
|
387 |
|
388 |
+
/**
|
389 |
+
* Load Admin CSS & JS (called in mfbfw_admin_menu())
|
390 |
+
*/
|
391 |
|
392 |
function mfbfw_admin_styles() {
|
393 |
+
wp_enqueue_style( 'fancybox-admin', FBFW_URL . 'css/fancybox-admin.css' ); // Load custom CSS for Admin Page
|
394 |
+
wp_enqueue_style( 'jquery-ui', FBFW_URL . 'css/jquery-ui.css' ); // Load jQuery UI Tabs CSS for Admin Page
|
395 |
}
|
396 |
|
397 |
function mfbfw_admin_scripts() {
|
398 |
wp_enqueue_script( 'jquery-ui-tabs', array('jquery-ui-core') ); // Load jQuery UI Tabs JS for Admin Page
|
399 |
+
wp_enqueue_script( 'fancybox-admin', FBFW_URL . 'js/admin.js', array('jquery') ); // Load specific JS for Admin Page
|
400 |
}
|
401 |
|
402 |
|
403 |
|
404 |
+
/**
|
405 |
+
* Settings Button on Plugins Panel
|
406 |
+
*/
|
407 |
|
408 |
function mfbfw_plugin_action_links($links, $file) {
|
409 |
|
418 |
return $links;
|
419 |
|
420 |
}
|
421 |
+
add_filter( 'plugin_action_links', 'mfbfw_plugin_action_links', 10, 2 );
|
|
|
|
|
|
fancybox/fancybox.css
CHANGED
@@ -3,10 +3,10 @@
|
|
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 |
*
|
@@ -95,8 +95,6 @@
|
|
95 |
|
96 |
#fancybox-close {
|
97 |
position: absolute;
|
98 |
-
top: -15px;
|
99 |
-
right: -15px;
|
100 |
width: 30px;
|
101 |
height: 30px;
|
102 |
background: transparent url('fancybox.png') -40px 0px;
|
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 |
*
|
95 |
|
96 |
#fancybox-close {
|
97 |
position: absolute;
|
|
|
|
|
98 |
width: 30px;
|
99 |
height: 30px;
|
100 |
background: transparent url('fancybox.png') -40px 0px;
|
fancybox/jquery.fancybox.js
CHANGED
@@ -3,10 +3,10 @@
|
|
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 |
*
|
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 |
*
|
js/admin.js
CHANGED
@@ -1,30 +1,30 @@
|
|
1 |
|
2 |
jQuery(function(){
|
3 |
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
// Hide Donation and twitter stuff on tabs other than Info
|
8 |
-
|
9 |
jQuery("#mfbfwd").hide();
|
10 |
-
|
11 |
-
|
12 |
jQuery("#show-mfbfwd").click(function(){
|
13 |
jQuery("#mfbfwd").show();
|
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") { jQuery(block).css("display", "inline"); }
|
21 |
else { jQuery(block).css("display", "none"); }
|
22 |
-
|
23 |
jQuery(button).click(function(){
|
24 |
jQuery(block).animate({opacity: "toggle", height: "toggle"}, 500);
|
25 |
});
|
26 |
}
|
27 |
-
|
28 |
switchBlock("#borderColorBlock","#border");
|
29 |
switchBlock("#closeButtonBlock","#showCloseButton");
|
30 |
switchBlock("#overlayBlock","#overlayShow");
|
@@ -32,27 +32,27 @@ jQuery(function(){
|
|
32 |
switchBlock("#callbackBlock","#callbackEnable");
|
33 |
switchBlock("#extraCallsBlock","#extraCallsEnable");
|
34 |
switchBlock("#easingBlock","#easing");
|
35 |
-
|
36 |
-
|
37 |
// Hide Title Color if not needed
|
38 |
-
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
|
47 |
-
|
48 |
jQuery("#titleColorBlock").hide("slow");
|
49 |
-
|
50 |
|
51 |
-
|
52 |
jQuery("#titleColorBlock").show("slow");
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
// Gallery Type
|
57 |
var galleryType = jQuery("input:radio[class=galleryType]:checked").val();
|
58 |
|
@@ -70,38 +70,14 @@ jQuery(function(){
|
|
70 |
jQuery("#galleryTypeCustom").click(function () {
|
71 |
jQuery("#customExpressionBlock").show("slow");
|
72 |
});
|
73 |
-
|
74 |
-
/*
|
75 |
-
function checkTransitionIn() {
|
76 |
-
var easingIn = jQuery("#transitionIn").val();
|
77 |
-
if ( easingIn == "elastic" ) {
|
78 |
-
jQuery("#easingIn").removeAttr('disabled');
|
79 |
-
} else {
|
80 |
-
jQuery("#easingIn").attr('disabled', 'disabled');
|
81 |
-
}
|
82 |
-
}
|
83 |
-
jQuery("#transitionIn").change(checkTransitionIn);
|
84 |
-
checkTransitionIn();
|
85 |
-
|
86 |
-
function checkTransitionOut() {
|
87 |
-
var easingOut = jQuery("#transitionOut").val();
|
88 |
-
if ( easingOut == "elastic" ) {
|
89 |
-
jQuery("#easingOut").removeAttr('disabled');
|
90 |
-
} else {
|
91 |
-
jQuery("#easingOut").attr('disabled', 'disabled');
|
92 |
-
}
|
93 |
-
}
|
94 |
-
jQuery("#transitionOut").change(checkTransitionOut);
|
95 |
-
checkTransitionOut();
|
96 |
-
*/
|
97 |
|
98 |
})
|
99 |
|
100 |
function confirmDefaults() {
|
101 |
if (confirm(defaults_prompt) == true)
|
102 |
-
return true;
|
103 |
else
|
104 |
-
return false;
|
105 |
}
|
106 |
|
107 |
var defaults_prompt = "Are you sure you want to restore FancyBox for WordPress to default settings?";
|
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 |
jQuery("#mfbfwd").hide();
|
10 |
+
});
|
11 |
+
|
12 |
jQuery("#show-mfbfwd").click(function(){
|
13 |
jQuery("#mfbfwd").show();
|
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") { jQuery(block).css("display", "inline"); }
|
21 |
else { jQuery(block).css("display", "none"); }
|
22 |
+
|
23 |
jQuery(button).click(function(){
|
24 |
jQuery(block).animate({opacity: "toggle", height: "toggle"}, 500);
|
25 |
});
|
26 |
}
|
27 |
+
|
28 |
switchBlock("#borderColorBlock","#border");
|
29 |
switchBlock("#closeButtonBlock","#showCloseButton");
|
30 |
switchBlock("#overlayBlock","#overlayShow");
|
32 |
switchBlock("#callbackBlock","#callbackEnable");
|
33 |
switchBlock("#extraCallsBlock","#extraCallsEnable");
|
34 |
switchBlock("#easingBlock","#easing");
|
35 |
+
|
36 |
+
|
37 |
// Hide Title Color if not needed
|
38 |
+
var titlePosition = jQuery("input:radio[class=titlePosition]:checked").val();
|
39 |
|
40 |
+
switch (titlePosition) {
|
41 |
+
case "float":
|
42 |
+
case "outside":
|
43 |
+
case "over":
|
44 |
+
jQuery("#titleColorBlock").css("display", "none");
|
45 |
+
}
|
46 |
|
47 |
+
jQuery("#titlePositionFloat, #titlePositionOutside, #titlePositionOver").click(function () {
|
48 |
jQuery("#titleColorBlock").hide("slow");
|
49 |
+
});
|
50 |
|
51 |
+
jQuery("#titlePositionInside").click(function () {
|
52 |
jQuery("#titleColorBlock").show("slow");
|
53 |
+
});
|
54 |
+
|
55 |
+
|
56 |
// Gallery Type
|
57 |
var galleryType = jQuery("input:radio[class=galleryType]:checked").val();
|
58 |
|
70 |
jQuery("#galleryTypeCustom").click(function () {
|
71 |
jQuery("#customExpressionBlock").show("slow");
|
72 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
})
|
75 |
|
76 |
function confirmDefaults() {
|
77 |
if (confirm(defaults_prompt) == true)
|
78 |
+
return true;
|
79 |
else
|
80 |
+
return false;
|
81 |
}
|
82 |
|
83 |
var defaults_prompt = "Are you sure you want to restore FancyBox for WordPress to default settings?";
|
languages/mfbfw-es_ES.mo
CHANGED
Binary file
|
languages/mfbfw-es_ES.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: FancyBox for WordPress Español\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/fancybox-for-wordpress\n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Jose Pardilla <info@josepardilla.com>\n"
|
8 |
"Language-Team: Moskis <jose@moskis.net>\n"
|
@@ -12,10 +12,6 @@ msgstr ""
|
|
12 |
"X-Poedit-Language: Spanish\n"
|
13 |
"X-Poedit-Country: SPAIN\n"
|
14 |
|
15 |
-
#: fancybox.php:365
|
16 |
-
msgid "Settings"
|
17 |
-
msgstr "Opciones"
|
18 |
-
|
19 |
#: admin.php:11
|
20 |
msgid "Fancybox for WordPress (version %s)"
|
21 |
msgstr "Fancybox for WordPress (versión %s)"
|
@@ -82,258 +78,9 @@ msgstr "Al autor de este plugin para WordPress también le gusta la cervez
|
|
82 |
msgid "Follow me on Twitter for more WordPress Plugins and Themes"
|
83 |
msgstr "Sígueme en Twitter para más Plugins y Temas de WordPress"
|
84 |
|
85 |
-
#:
|
86 |
-
msgid "
|
87 |
-
msgstr "
|
88 |
-
|
89 |
-
#: lib/admin-tab-other.php:3
|
90 |
-
msgid "These are additional settings for advanced users."
|
91 |
-
msgstr "Las siguientes opciones son para usuarios avanzados."
|
92 |
-
|
93 |
-
#: lib/admin-tab-other.php:9
|
94 |
-
msgid "Dimensions"
|
95 |
-
msgstr "Dimensiones"
|
96 |
-
|
97 |
-
#: lib/admin-tab-other.php:15
|
98 |
-
msgid "Auto detect dimensions (default: on)"
|
99 |
-
msgstr "Auto detectar dimensiones (por defecto: activado)"
|
100 |
-
|
101 |
-
#: lib/admin-tab-other.php:18
|
102 |
-
msgid "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."
|
103 |
-
msgstr "Sólo funciona con <strong>Ajax</strong> y <strong>Contenido en línea</strong>! Las dimenciones de elementos Flash no se autodetectan así que especifícalas aquí debajo si lo necesitas. Si necesitas insertar varios elementos Flash de tamaños distintos tendrás que usar el apartado de <strong>Llamadas Extra</strong>."
|
104 |
-
|
105 |
-
#: lib/admin-tab-other.php:22
|
106 |
-
msgid "Width for iframe and swf content. Also set for inline content if <em>autoDimensions</em> is disabled (default: 560)"
|
107 |
-
msgstr "Ancho para iframes y contenido Flash. También afecta a contenido en línea si <em>Auto detectar dimensiones</em> está desactivado (por defecto: 560)"
|
108 |
-
|
109 |
-
#: lib/admin-tab-other.php:27
|
110 |
-
msgid "Height for iframe and swf content. Also set for inline content if <em>autoDimensions</em> is disabled (default: 340)"
|
111 |
-
msgstr "Alto para iframes y contenido Flash. También afecta a contenido en línea si <em>Auto detectar dimensiones</em> está desactivado (por defecto: 340)"
|
112 |
-
|
113 |
-
#: lib/admin-tab-other.php:35
|
114 |
-
msgid "Load JavaScript in Footer"
|
115 |
-
msgstr "Cargar JavaScript en el Pié de página"
|
116 |
-
|
117 |
-
#: lib/admin-tab-other.php:41
|
118 |
-
msgid "Loads JavaScript at the end of the blog's HTML (experimental) (default: off)"
|
119 |
-
msgstr "Carga el JavaScript al final del código HTML del blog (experimental) (por defecto: desactivado)"
|
120 |
-
|
121 |
-
#: lib/admin-tab-other.php:44
|
122 |
-
msgid "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."
|
123 |
-
msgstr "Esta opción será ignorada si el plugin <strong>Parallel Load</strong> está instalado. Si es así, usa las opciones del plugin Parallel Load."
|
124 |
-
|
125 |
-
#: lib/admin-tab-other.php:51
|
126 |
-
msgid "Callbacks"
|
127 |
-
msgstr "Retrollamadas"
|
128 |
-
|
129 |
-
#: lib/admin-tab-other.php:57
|
130 |
-
msgid "Enable callbacks (default: off)"
|
131 |
-
msgstr "Activar retrollamadas (por defecto: desactivado)"
|
132 |
-
|
133 |
-
#: lib/admin-tab-other.php:60
|
134 |
-
msgid "Enabling this will show additional settings."
|
135 |
-
msgstr "Activar esta opcíón mostrará opociones adicionales."
|
136 |
-
|
137 |
-
#: lib/admin-tab-other.php:65
|
138 |
-
msgid "Callback on <strong>Start</strong> event: Will be called right before attempting to load the content"
|
139 |
-
msgstr "Retrollamada en evento <strong>Inicio</strong>: Se ejecutará justo antes de intentar cargar el contenido"
|
140 |
-
|
141 |
-
#: lib/admin-tab-other.php:70
|
142 |
-
msgid "Callback on <strong>Cancel</strong> event: Will be called after loading is canceled"
|
143 |
-
msgstr "Retrollamada en evento <strong>Cancelar</strong>: Se ejecutará tras cancelar la carga del contenido"
|
144 |
-
|
145 |
-
#: lib/admin-tab-other.php:75
|
146 |
-
msgid "Callback on <strong>Complete</strong> event: Will be called once the content is displayed"
|
147 |
-
msgstr "Retrollamada en evento <strong>Completado</strong>: Se ejecutará una vez se termine de mostrar el contenido"
|
148 |
-
|
149 |
-
#: lib/admin-tab-other.php:80
|
150 |
-
msgid "Callback on <strong>CleanUp</strong> event: Will be called just before closing"
|
151 |
-
msgstr "Retrollamada en evento <strong>Limpieza</strong>: Se ejecutará justo antes de empezar a ocultar el contenido"
|
152 |
-
|
153 |
-
#: lib/admin-tab-other.php:85
|
154 |
-
msgid "Callback on <strong>Closed</strong> event: Will be called once FancyBox is closed"
|
155 |
-
msgstr "Retrollamada en evento <strong>Cerrado</strong>: Se ejecutará tras cerrar FancyBox"
|
156 |
-
|
157 |
-
#: lib/admin-tab-other.php:89
|
158 |
-
#: lib/admin-tab-calls.php:26
|
159 |
-
msgid "Example:"
|
160 |
-
msgstr "Ejemplo:"
|
161 |
-
|
162 |
-
#: lib/admin-tab-other.php:91
|
163 |
-
msgid "Leave empty any speciic callbacks you don't need to use."
|
164 |
-
msgstr "Deja en blanco cualquier Retrollamada que no quieras usar."
|
165 |
-
|
166 |
-
#: lib/admin-tab-behaviour.php:1
|
167 |
-
msgid "Behavior Settings <span style=\"color:orange\">(medium)</span>"
|
168 |
-
msgstr "Opciones de Comportamiento <span style=\"color:orange\">(medio)</span>"
|
169 |
-
|
170 |
-
#: lib/admin-tab-behaviour.php:3
|
171 |
-
msgid "The following settings should be left alone unless you know what you are doing."
|
172 |
-
msgstr "Las siguientes opciones sólo deberían ser editadas si sabes lo que estás haciendo."
|
173 |
-
|
174 |
-
#: lib/admin-tab-behaviour.php:9
|
175 |
-
msgid "Auto Resize to Fit"
|
176 |
-
msgstr "Ajustar Tamaño"
|
177 |
-
|
178 |
-
#: lib/admin-tab-behaviour.php:15
|
179 |
-
msgid "Scale images to fit in viewport (default: on)"
|
180 |
-
msgstr "Ajusta el tamaño de las imagenes a la ventana del navegador (por defecto: activado)"
|
181 |
-
|
182 |
-
#: lib/admin-tab-behaviour.php:23
|
183 |
-
msgid "Center on Scroll"
|
184 |
-
msgstr "Centrar al hacer Scroll"
|
185 |
-
|
186 |
-
#: lib/admin-tab-behaviour.php:29
|
187 |
-
msgid "Keep image in the center of the browser window when scrolling (default: on)"
|
188 |
-
msgstr "Mantiene la imagen en el centro de la ventana del naegador al hacer scroll (por defecto: activado)"
|
189 |
-
|
190 |
-
#: lib/admin-tab-behaviour.php:37
|
191 |
-
msgid "Close on Content Click"
|
192 |
-
msgstr "Cerrar al hacer click en contenido"
|
193 |
-
|
194 |
-
#: lib/admin-tab-behaviour.php:43
|
195 |
-
msgid "Close FancyBox by clicking on the image (default: off)"
|
196 |
-
msgstr "Cerrar FancyBox al hacer click en la imagen (por defecto: desactivado)"
|
197 |
-
|
198 |
-
#: lib/admin-tab-behaviour.php:46
|
199 |
-
msgid "(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)"
|
200 |
-
msgstr "(Puedes que quieras dejar esta opción desactivada si vas a usar contendido anidado que incluya enlaces - for ejemplo: botones de play, enlaces a otras páginas)"
|
201 |
-
|
202 |
-
#: lib/admin-tab-behaviour.php:53
|
203 |
-
msgid "Close on Overlay Click"
|
204 |
-
msgstr "Cerrar al hacer click en el fondo"
|
205 |
-
|
206 |
-
#: lib/admin-tab-behaviour.php:59
|
207 |
-
msgid "Close FancyBox by clicking on the overlay sorrounding it (default: on)"
|
208 |
-
msgstr "Cerrar FancyBox al hacer click en el fondo (por defecto: activado)"
|
209 |
-
|
210 |
-
#: lib/admin-tab-behaviour.php:67
|
211 |
-
msgid "Close with "Esc""
|
212 |
-
msgstr "Cerrar con "Esc""
|
213 |
-
|
214 |
-
#: lib/admin-tab-behaviour.php:73
|
215 |
-
msgid "Close FancyBox when "Escape" key is pressed (default: on)"
|
216 |
-
msgstr "Cerrar Fancybox cuando se pulse la tecla "Escape" (por defecto: activado)"
|
217 |
-
|
218 |
-
#: lib/admin-tab-behaviour.php:81
|
219 |
-
msgid "Cyclic Galleries"
|
220 |
-
msgstr "Galerías Cíclicas"
|
221 |
-
|
222 |
-
#: lib/admin-tab-behaviour.php:87
|
223 |
-
msgid "This will make galleries cyclic, allowing you to keep pressing next/back (default: off)"
|
224 |
-
msgstr "Esta oción generará galerías cíclicas, permitíendote pulsar los botones de navegación indefinidamene (por defecto: desactivado)"
|
225 |
-
|
226 |
-
#: lib/admin-tab-behaviour.php:95
|
227 |
-
msgid "Mouse Wheel Navigation"
|
228 |
-
msgstr "Navegación por rueda del ratón"
|
229 |
-
|
230 |
-
#: lib/admin-tab-behaviour.php:101
|
231 |
-
msgid "Lets visitors navigate galleries with the mouse wheel (default: off)"
|
232 |
-
msgstr "Permita a los visitantes navegar por las galerías con la rueda del ratón (por defecto: desactivado)"
|
233 |
-
|
234 |
-
#: lib/admin-tab-behaviour.php:104
|
235 |
-
msgid "(Will load one additional javascript file, 3KB)"
|
236 |
-
msgstr "(Ejecutará un archivo JavaScript adicional, 3KB)"
|
237 |
-
|
238 |
-
#: lib/admin-tab-calls.php:1
|
239 |
-
msgid "Extra FancyBox Calls <span style=\"color:red\">(advanced)</span>"
|
240 |
-
msgstr "Llamadas Extra de FancyBox <span style=\"color:red\">(avanzado)</span>"
|
241 |
-
|
242 |
-
#: lib/admin-tab-calls.php:3
|
243 |
-
msgid "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."
|
244 |
-
msgstr "Aquí puedes añadir todas las llamadas adicionales a FancyBox que quieras, con distintas opciones. Por ejemplo, si quieres usar FancyBox con iframes o con Ajax en cualquier enlace concreto, aquí puedes configurarlo sin afectar al resto de opciones."
|
245 |
-
|
246 |
-
#: lib/admin-tab-calls.php:5
|
247 |
-
msgid "For information on the options available you can use here see <a href=\"http://fancybox.net/api\">FancyBox's API & Options page</a>."
|
248 |
-
msgstr "Para más información acerca de las opciones que puedes usar en este campo, lee esta página sobre la <a href=\"http://fancybox.net/api\">API y Opciones de FancyBox</a>."
|
249 |
-
|
250 |
-
#: lib/admin-tab-calls.php:11
|
251 |
-
msgid "Additional FancyBox Calls"
|
252 |
-
msgstr "Llamadas Extra de FancyBox"
|
253 |
-
|
254 |
-
#: lib/admin-tab-calls.php:17
|
255 |
-
msgid "Additional FancyBox Calls (default: off)"
|
256 |
-
msgstr "Llamadas Extra de FancyBox (por defecto: desactivado)"
|
257 |
-
|
258 |
-
#: lib/admin-tab-info.php:1
|
259 |
-
msgid "Information"
|
260 |
-
msgstr "Información"
|
261 |
-
|
262 |
-
#: lib/admin-tab-info.php:3
|
263 |
-
msgid "<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://josepardilla.com/\">José Pardilla</a>. Licensed under the <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
264 |
-
msgstr "<a href=\"http://fancybox.net\">FancyBox</a> desarrollado por <a href=\"http://fancybox.net\">Janis Skarnelis</a>, adaptado a WordPress por <a href=\"http://http://josepardilla.com/\">José Pardilla</a>. Licenciado bajo <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">Licencia MIT</a>."
|
265 |
-
|
266 |
-
#: lib/admin-tab-info.php:5
|
267 |
-
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 don't want to get your hands dirty, since the default options should be a good start... :)"
|
268 |
-
msgstr "Como puedes ver, este plugin te permite editar muchas opciones, pero no te preocupes, puedes dejarlo todo como está, ya que las opciones predefinidas no están mal para empezar... :)"
|
269 |
-
|
270 |
-
#: lib/admin-tab-info.php:7
|
271 |
-
msgid "<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."
|
272 |
-
msgstr "<strong>Nota:</strong> Usar un plugin de caché puede hacer que los cambios no surjan efecto inmediatamente, si esto ocurre vacía el cache después de guardar los cambios o desactívalo hasta que termines de ajustar estas opciones."
|
273 |
-
|
274 |
-
#: lib/admin-tab-info.php:9
|
275 |
-
msgid "<strong>Note:</strong> If update to version 3.0.0 breaks fancybox on your blog you will probably have to reset your settings (with the white button below). I have tested this issue on several WordPress installations and it always worked, so it might depend on the server. Sorry for the inconvinience."
|
276 |
-
msgstr "<strong>Nota:</strong> Si la actualización a la versión 3.0.0 estropea FancyBox en tu blog, posiblemente tengas que reestablecer las opciones del plugin (desde el botón blanco de abajo)."
|
277 |
-
|
278 |
-
#: lib/admin-tab-troubleshooting.php:1
|
279 |
-
msgid "Troubleshooting Settings"
|
280 |
-
msgstr "Resolución de Problemas"
|
281 |
-
|
282 |
-
#: lib/admin-tab-troubleshooting.php:3
|
283 |
-
msgid "Settings in this section should only be changed if you are having problems with the plugin!"
|
284 |
-
msgstr "Las opciones de esta sección solo deben ser editadas si tienes problemas con el plugin!"
|
285 |
-
|
286 |
-
#: lib/admin-tab-troubleshooting.php:5
|
287 |
-
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)."
|
288 |
-
msgstr "Si el plugin no funciona, lo primero que deberías hacer es comprobar que no haya un conflicto con otros plugins, especialmente otro tipo de Lightbox, Slimbox, etc. Asegúrate de que todos tus plugins y tu WordPress están actualizados (este plugin solo se ha testado con WordPress 2.7 y superiores)."
|
289 |
-
|
290 |
-
#: lib/admin-tab-troubleshooting.php:7
|
291 |
-
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."
|
292 |
-
msgstr "Cámbialas de una en una y comprueba si solucionan tu problema. Recuqerda que usar un plugin de caché puede hacer que los cambios no surjan efecto inmediatamente, vacía el cache después de guardar los cambios or desactivalo hasta que termines de ajustar estas opciones."
|
293 |
-
|
294 |
-
#: lib/admin-tab-troubleshooting.php:13
|
295 |
-
msgid "Do not call jQuery"
|
296 |
-
msgstr "No cargar jQuery"
|
297 |
-
|
298 |
-
#: lib/admin-tab-troubleshooting.php:19
|
299 |
-
msgid "Skip jQuery call. Use this only if jQuery is being loaded twice (default: off)"
|
300 |
-
msgstr "Omitir llamada a jQuery. Usa esta opción sólo si jQuery se está cargando dos veces por error. (por defecto: desactivado)"
|
301 |
-
|
302 |
-
#: lib/admin-tab-support.php:3
|
303 |
-
msgid "Help with Fancybox"
|
304 |
-
msgstr "Ayuda sobre ancyBox"
|
305 |
-
|
306 |
-
#: lib/admin-tab-support.php:5
|
307 |
-
msgid "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."
|
308 |
-
msgstr "Si tienes problemas o dudas acerca de FancyBox (y no este plugin en sí), por favor visita estos enlaces (en inglés): <a href=\"http://fancybox.net/howto\">How-To</a> & <a href=\"http://fancybox.net/faq\">FAQ</a>.<br />Si eso no ayuda, ves al <a href=\"http://groups.google.com/group/fancybox\">Grupo de Google de FancyBox</a>, usa la opción de <strong>Búsqueda</strong>, y si no encuentras lo que buscas, pregunta allí."
|
309 |
-
|
310 |
-
#: lib/admin-tab-support.php:8
|
311 |
-
msgid "Help with Fancybox for WordPress plugin"
|
312 |
-
msgstr "Ayuda para el plugin Fancybox for WordPress"
|
313 |
-
|
314 |
-
#: lib/admin-tab-support.php:10
|
315 |
-
msgid "If you are having trouble with this plugin take a look at this <a target=\"_blank\" href=\"http://plugins.josepardilla.com/fancybox-for-wordpress/faq\">FAQ</a> where i will try to cover the most common problems and their solutions."
|
316 |
-
msgstr "Si tienes problemas para hacer funcionar este plugin echa un vistazo a esta página de <a target=\"_blank\" href=\"http://plugins.josepardilla.com/fancybox-for-wordpress/faq\">Preguntas Frecuentes</a> donde intentaré explicar los problemas más habituales y cómo resolverlos."
|
317 |
-
|
318 |
-
#: lib/admin-tab-support.php:11
|
319 |
-
msgid "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."
|
320 |
-
msgstr "Intenta localizar la fuente del problema (cambia de tema y/o desactiva plugins hasta que encuentres lo que causa el problema). También puedes usar las optiones de Resolución de Errores que hay al final de esta página."
|
321 |
-
|
322 |
-
#: lib/admin-tab-support.php:12
|
323 |
-
msgid "Try reverting the plugin's settings to their defaults with the button below."
|
324 |
-
msgstr "Prueba a resetear las opciones a sus valores originales con el botón al pie de esta página."
|
325 |
-
|
326 |
-
#: lib/admin-tab-support.php:13
|
327 |
-
msgid "If you still can not get the plugin to work, <a target=\"_blank\" href=\"http://wordpress.org/tags/fancybox-for-wordpress?forum_id=10#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/tags/fancybox-for-wordpress?forum_id=10\">already posted messages</a>."
|
328 |
-
msgstr "Si aún no puedes hacer funcionar el plugin, <a target=\"_blank\" href=\"http://wordpress.org/tags/fancybox-for-wordpress?forum_id=10#postform\">escribe en el foro de Soporte de WordPress</a> o echa un vistazo a <a target=\"_blank\" href=\"http://wordpress.org/tags/fancybox-for-wordpress?forum_id=10\">los mensajes ya escritos en dicho foro</a>."
|
329 |
-
|
330 |
-
#: lib/admin-tab-support.php:16
|
331 |
-
msgid "IMPORTANT:"
|
332 |
-
msgstr "IMPORTANTE:"
|
333 |
-
|
334 |
-
#: lib/admin-tab-support.php:16
|
335 |
-
msgid "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."
|
336 |
-
msgstr "Cuando expliques tu problema, por favor deja un enlace a tu blog y una página donde FancyBox falla, así como cualquier información reelevante, como el tema de WordPress y plugins que usas."
|
337 |
|
338 |
#: lib/admin-tab-animations.php:1
|
339 |
msgid "Animation Settings <span style=\"color:green\">(basic)</span>"
|
@@ -527,17 +274,102 @@ msgstr "Flechas de Navegación"
|
|
527 |
msgid "Show the navigation arrows (default: on)"
|
528 |
msgstr "Mostrar flechas de navegación (por defecto: activado)"
|
529 |
|
530 |
-
#: lib/admin-tab-
|
531 |
-
msgid "
|
532 |
-
msgstr "
|
533 |
|
534 |
-
#: lib/admin-tab-
|
535 |
-
msgid "
|
536 |
-
msgstr "
|
537 |
|
538 |
-
#: lib/admin-tab-
|
539 |
-
msgid "
|
540 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
541 |
|
542 |
#: lib/admin-tab-galleries.php:1
|
543 |
msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
|
@@ -599,6 +431,178 @@ msgstr "Visita la <a href=\"http://docs.jquery.com/\" target=\"_blank\">Document
|
|
599 |
msgid "Examples:"
|
600 |
msgstr "Ejemplos:"
|
601 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
602 |
#~ msgid "Callback on Start event (default: empty)"
|
603 |
#~ msgstr "Retrollamada en el evento de Inicio (por defecto: vacío)"
|
604 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: FancyBox for WordPress Español\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/fancybox-for-wordpress\n"
|
5 |
+
"POT-Creation-Date: 2012-07-03 15:24:31+00:00\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Jose Pardilla <info@josepardilla.com>\n"
|
8 |
"Language-Team: Moskis <jose@moskis.net>\n"
|
12 |
"X-Poedit-Language: Spanish\n"
|
13 |
"X-Poedit-Country: SPAIN\n"
|
14 |
|
|
|
|
|
|
|
|
|
15 |
#: admin.php:11
|
16 |
msgid "Fancybox for WordPress (version %s)"
|
17 |
msgstr "Fancybox for WordPress (versión %s)"
|
78 |
msgid "Follow me on Twitter for more WordPress Plugins and Themes"
|
79 |
msgstr "Sígueme en Twitter para más Plugins y Temas de WordPress"
|
80 |
|
81 |
+
#: fancybox.php:414
|
82 |
+
msgid "Settings"
|
83 |
+
msgstr "Opciones"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
#: lib/admin-tab-animations.php:1
|
86 |
msgid "Animation Settings <span style=\"color:green\">(basic)</span>"
|
274 |
msgid "Show the navigation arrows (default: on)"
|
275 |
msgstr "Mostrar flechas de navegación (por defecto: activado)"
|
276 |
|
277 |
+
#: lib/admin-tab-behaviour.php:1
|
278 |
+
msgid "Behavior Settings <span style=\"color:orange\">(medium)</span>"
|
279 |
+
msgstr "Opciones de Comportamiento <span style=\"color:orange\">(medio)</span>"
|
280 |
|
281 |
+
#: lib/admin-tab-behaviour.php:3
|
282 |
+
msgid "The following settings should be left alone unless you know what you are doing."
|
283 |
+
msgstr "Las siguientes opciones sólo deberían ser editadas si sabes lo que estás haciendo."
|
284 |
|
285 |
+
#: lib/admin-tab-behaviour.php:9
|
286 |
+
msgid "Auto Resize to Fit"
|
287 |
+
msgstr "Ajustar Tamaño"
|
288 |
+
|
289 |
+
#: lib/admin-tab-behaviour.php:15
|
290 |
+
msgid "Scale images to fit in viewport (default: on)"
|
291 |
+
msgstr "Ajusta el tamaño de las imagenes a la ventana del navegador (por defecto: activado)"
|
292 |
+
|
293 |
+
#: lib/admin-tab-behaviour.php:23
|
294 |
+
msgid "Center on Scroll"
|
295 |
+
msgstr "Centrar al hacer Scroll"
|
296 |
+
|
297 |
+
#: lib/admin-tab-behaviour.php:29
|
298 |
+
msgid "Keep image in the center of the browser window when scrolling (default: on)"
|
299 |
+
msgstr "Mantiene la imagen en el centro de la ventana del naegador al hacer scroll (por defecto: activado)"
|
300 |
+
|
301 |
+
#: lib/admin-tab-behaviour.php:37
|
302 |
+
msgid "Close on Content Click"
|
303 |
+
msgstr "Cerrar al hacer click en contenido"
|
304 |
+
|
305 |
+
#: lib/admin-tab-behaviour.php:43
|
306 |
+
msgid "Close FancyBox by clicking on the image (default: off)"
|
307 |
+
msgstr "Cerrar FancyBox al hacer click en la imagen (por defecto: desactivado)"
|
308 |
+
|
309 |
+
#: lib/admin-tab-behaviour.php:46
|
310 |
+
msgid "(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)"
|
311 |
+
msgstr "(Puedes que quieras dejar esta opción desactivada si vas a usar contendido anidado que incluya enlaces - for ejemplo: botones de play, enlaces a otras páginas)"
|
312 |
+
|
313 |
+
#: lib/admin-tab-behaviour.php:53
|
314 |
+
msgid "Close on Overlay Click"
|
315 |
+
msgstr "Cerrar al hacer click en el fondo"
|
316 |
+
|
317 |
+
#: lib/admin-tab-behaviour.php:59
|
318 |
+
msgid "Close FancyBox by clicking on the overlay sorrounding it (default: on)"
|
319 |
+
msgstr "Cerrar FancyBox al hacer click en el fondo (por defecto: activado)"
|
320 |
+
|
321 |
+
#: lib/admin-tab-behaviour.php:67
|
322 |
+
msgid "Close with "Esc""
|
323 |
+
msgstr "Cerrar con "Esc""
|
324 |
+
|
325 |
+
#: lib/admin-tab-behaviour.php:73
|
326 |
+
msgid "Close FancyBox when "Escape" key is pressed (default: on)"
|
327 |
+
msgstr "Cerrar Fancybox cuando se pulse la tecla "Escape" (por defecto: activado)"
|
328 |
+
|
329 |
+
#: lib/admin-tab-behaviour.php:81
|
330 |
+
msgid "Cyclic Galleries"
|
331 |
+
msgstr "Galerías Cíclicas"
|
332 |
+
|
333 |
+
#: lib/admin-tab-behaviour.php:87
|
334 |
+
msgid "This will make galleries cyclic, allowing you to keep pressing next/back (default: off)"
|
335 |
+
msgstr "Esta oción generará galerías cíclicas, permitíendote pulsar los botones de navegación indefinidamene (por defecto: desactivado)"
|
336 |
+
|
337 |
+
#: lib/admin-tab-behaviour.php:95
|
338 |
+
msgid "Mouse Wheel Navigation"
|
339 |
+
msgstr "Navegación por rueda del ratón"
|
340 |
+
|
341 |
+
#: lib/admin-tab-behaviour.php:101
|
342 |
+
msgid "Lets visitors navigate galleries with the mouse wheel (default: off)"
|
343 |
+
msgstr "Permita a los visitantes navegar por las galerías con la rueda del ratón (por defecto: desactivado)"
|
344 |
+
|
345 |
+
#: lib/admin-tab-behaviour.php:104
|
346 |
+
msgid "(Will load one additional javascript file, 3KB)"
|
347 |
+
msgstr "(Ejecutará un archivo JavaScript adicional, 3KB)"
|
348 |
+
|
349 |
+
#: lib/admin-tab-calls.php:1
|
350 |
+
msgid "Extra FancyBox Calls <span style=\"color:red\">(advanced)</span>"
|
351 |
+
msgstr "Llamadas Extra de FancyBox <span style=\"color:red\">(avanzado)</span>"
|
352 |
+
|
353 |
+
#: lib/admin-tab-calls.php:3
|
354 |
+
msgid "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."
|
355 |
+
msgstr "Aquí puedes añadir todas las llamadas adicionales a FancyBox que quieras, con distintas opciones. Por ejemplo, si quieres usar FancyBox con iframes o con Ajax en cualquier enlace concreto, aquí puedes configurarlo sin afectar al resto de opciones."
|
356 |
+
|
357 |
+
#: lib/admin-tab-calls.php:5
|
358 |
+
msgid "For information on the options available you can use here see <a href=\"http://fancybox.net/api\">FancyBox's API & Options page</a>."
|
359 |
+
msgstr "Para más información acerca de las opciones que puedes usar en este campo, lee esta página sobre la <a href=\"http://fancybox.net/api\">API y Opciones de FancyBox</a>."
|
360 |
+
|
361 |
+
#: lib/admin-tab-calls.php:11
|
362 |
+
msgid "Additional FancyBox Calls"
|
363 |
+
msgstr "Llamadas Extra de FancyBox"
|
364 |
+
|
365 |
+
#: lib/admin-tab-calls.php:17
|
366 |
+
msgid "Additional FancyBox Calls (default: off)"
|
367 |
+
msgstr "Llamadas Extra de FancyBox (por defecto: desactivado)"
|
368 |
+
|
369 |
+
#: lib/admin-tab-calls.php:26
|
370 |
+
#: lib/admin-tab-other.php:89
|
371 |
+
msgid "Example:"
|
372 |
+
msgstr "Ejemplo:"
|
373 |
|
374 |
#: lib/admin-tab-galleries.php:1
|
375 |
msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
|
431 |
msgid "Examples:"
|
432 |
msgstr "Ejemplos:"
|
433 |
|
434 |
+
#: lib/admin-tab-info.php:1
|
435 |
+
msgid "Information"
|
436 |
+
msgstr "Información"
|
437 |
+
|
438 |
+
#: lib/admin-tab-info.php:3
|
439 |
+
msgid "<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://josepardilla.com/\">José Pardilla</a>. Licensed under the <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
440 |
+
msgstr "<a href=\"http://fancybox.net\">FancyBox</a> desarrollado por <a href=\"http://fancybox.net\">Janis Skarnelis</a>, adaptado a WordPress por <a href=\"http://http://josepardilla.com/\">José Pardilla</a>. Licenciado bajo <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">Licencia MIT</a>."
|
441 |
+
|
442 |
+
#: lib/admin-tab-info.php:5
|
443 |
+
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 don't want to get your hands dirty, since the default options should be a good start... :)"
|
444 |
+
msgstr "Como puedes ver, este plugin te permite editar muchas opciones, pero no te preocupes, puedes dejarlo todo como está, ya que las opciones predefinidas no están mal para empezar... :)"
|
445 |
+
|
446 |
+
#: lib/admin-tab-info.php:7
|
447 |
+
msgid "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!"
|
448 |
+
msgstr "Si eres un usuario avanzado, puedes <a target=\"_blank\" href=\"https://github.com/moskis/fancybox-for-wordpress\">seguir el plugin en Github</a>, y colaborar aportando correcciones!"
|
449 |
+
|
450 |
+
#: lib/admin-tab-info.php:9
|
451 |
+
msgid "<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."
|
452 |
+
msgstr "<strong>Nota:</strong> Usar un plugin de caché puede hacer que los cambios no surjan efecto inmediatamente, si esto ocurre vacía el cache después de guardar los cambios o desactívalo hasta que termines de ajustar estas opciones."
|
453 |
+
|
454 |
+
#: lib/admin-tab-info.php:11
|
455 |
+
msgid "<strong>Note:</strong> If update to version 3.0.0 breaks fancybox on your blog you will probably have to reset your settings (with the white button below). I have tested this issue on several WordPress installations and it always worked, so it might depend on the server. Sorry for the inconvinience."
|
456 |
+
msgstr "<strong>Nota:</strong> Si la actualización a la versión 3.0.0 estropea FancyBox en tu blog, posiblemente tengas que reestablecer las opciones del plugin (desde el botón blanco de abajo)."
|
457 |
+
|
458 |
+
#: lib/admin-tab-other.php:1
|
459 |
+
msgid "Other Settings <span style=\"color:red\">(advanced)</span>"
|
460 |
+
msgstr "Otras Opciones <span style=\"color:red\">(avanzado)</span>"
|
461 |
+
|
462 |
+
#: lib/admin-tab-other.php:3
|
463 |
+
msgid "These are additional settings for advanced users."
|
464 |
+
msgstr "Las siguientes opciones son para usuarios avanzados."
|
465 |
+
|
466 |
+
#: lib/admin-tab-other.php:9
|
467 |
+
msgid "Dimensions"
|
468 |
+
msgstr "Dimensiones"
|
469 |
+
|
470 |
+
#: lib/admin-tab-other.php:15
|
471 |
+
msgid "Auto detect dimensions (default: on)"
|
472 |
+
msgstr "Auto detectar dimensiones (por defecto: activado)"
|
473 |
+
|
474 |
+
#: lib/admin-tab-other.php:18
|
475 |
+
msgid "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."
|
476 |
+
msgstr "Sólo funciona con <strong>Ajax</strong> y <strong>Contenido en línea</strong>! Las dimenciones de elementos Flash no se autodetectan así que especifícalas aquí debajo si lo necesitas. Si necesitas insertar varios elementos Flash de tamaños distintos tendrás que usar el apartado de <strong>Llamadas Extra</strong>."
|
477 |
+
|
478 |
+
#: lib/admin-tab-other.php:22
|
479 |
+
msgid "Width for iframe and swf content. Also set for inline content if <em>autoDimensions</em> is disabled (default: 560)"
|
480 |
+
msgstr "Ancho para iframes y contenido Flash. También afecta a contenido en línea si <em>Auto detectar dimensiones</em> está desactivado (por defecto: 560)"
|
481 |
+
|
482 |
+
#: lib/admin-tab-other.php:27
|
483 |
+
msgid "Height for iframe and swf content. Also set for inline content if <em>autoDimensions</em> is disabled (default: 340)"
|
484 |
+
msgstr "Alto para iframes y contenido Flash. También afecta a contenido en línea si <em>Auto detectar dimensiones</em> está desactivado (por defecto: 340)"
|
485 |
+
|
486 |
+
#: lib/admin-tab-other.php:35
|
487 |
+
msgid "Load JavaScript in Footer"
|
488 |
+
msgstr "Cargar JavaScript en el Pié de página"
|
489 |
+
|
490 |
+
#: lib/admin-tab-other.php:41
|
491 |
+
msgid "Loads JavaScript at the end of the blog's HTML (experimental) (default: off)"
|
492 |
+
msgstr "Carga el JavaScript al final del código HTML del blog (experimental) (por defecto: desactivado)"
|
493 |
+
|
494 |
+
#: lib/admin-tab-other.php:44
|
495 |
+
msgid "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."
|
496 |
+
msgstr "Esta opción será ignorada si el plugin <strong>Parallel Load</strong> está instalado. Si es así, usa las opciones del plugin Parallel Load."
|
497 |
+
|
498 |
+
#: lib/admin-tab-other.php:51
|
499 |
+
msgid "Callbacks"
|
500 |
+
msgstr "Retrollamadas"
|
501 |
+
|
502 |
+
#: lib/admin-tab-other.php:57
|
503 |
+
msgid "Enable callbacks (default: off)"
|
504 |
+
msgstr "Activar retrollamadas (por defecto: desactivado)"
|
505 |
+
|
506 |
+
#: lib/admin-tab-other.php:60
|
507 |
+
msgid "Enabling this will show additional settings."
|
508 |
+
msgstr "Activar esta opcíón mostrará opociones adicionales."
|
509 |
+
|
510 |
+
#: lib/admin-tab-other.php:65
|
511 |
+
msgid "Callback on <strong>Start</strong> event: Will be called right before attempting to load the content"
|
512 |
+
msgstr "Retrollamada en evento <strong>Inicio</strong>: Se ejecutará justo antes de intentar cargar el contenido"
|
513 |
+
|
514 |
+
#: lib/admin-tab-other.php:70
|
515 |
+
msgid "Callback on <strong>Cancel</strong> event: Will be called after loading is canceled"
|
516 |
+
msgstr "Retrollamada en evento <strong>Cancelar</strong>: Se ejecutará tras cancelar la carga del contenido"
|
517 |
+
|
518 |
+
#: lib/admin-tab-other.php:75
|
519 |
+
msgid "Callback on <strong>Complete</strong> event: Will be called once the content is displayed"
|
520 |
+
msgstr "Retrollamada en evento <strong>Completado</strong>: Se ejecutará una vez se termine de mostrar el contenido"
|
521 |
+
|
522 |
+
#: lib/admin-tab-other.php:80
|
523 |
+
msgid "Callback on <strong>CleanUp</strong> event: Will be called just before closing"
|
524 |
+
msgstr "Retrollamada en evento <strong>Limpieza</strong>: Se ejecutará justo antes de empezar a ocultar el contenido"
|
525 |
+
|
526 |
+
#: lib/admin-tab-other.php:85
|
527 |
+
msgid "Callback on <strong>Closed</strong> event: Will be called once FancyBox is closed"
|
528 |
+
msgstr "Retrollamada en evento <strong>Cerrado</strong>: Se ejecutará tras cerrar FancyBox"
|
529 |
+
|
530 |
+
#: lib/admin-tab-other.php:91
|
531 |
+
msgid "Leave empty any speciic callbacks you don't need to use."
|
532 |
+
msgstr "Deja en blanco cualquier Retrollamada que no quieras usar."
|
533 |
+
|
534 |
+
#: lib/admin-tab-support.php:3
|
535 |
+
msgid "Help with Fancybox"
|
536 |
+
msgstr "Ayuda sobre ancyBox"
|
537 |
+
|
538 |
+
#: lib/admin-tab-support.php:5
|
539 |
+
msgid "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."
|
540 |
+
msgstr "Si tienes problemas o dudas acerca de FancyBox (y no este plugin en sí), por favor visita estos enlaces (en inglés): <a href=\"http://fancybox.net/howto\">How-To</a> & <a href=\"http://fancybox.net/faq\">FAQ</a>.<br />Si eso no ayuda, ves al <a href=\"http://groups.google.com/group/fancybox\">Grupo de Google de FancyBox</a>, usa la opción de <strong>Búsqueda</strong>, y si no encuentras lo que buscas, pregunta allí."
|
541 |
+
|
542 |
+
#: lib/admin-tab-support.php:8
|
543 |
+
msgid "Help with Fancybox for WordPress plugin"
|
544 |
+
msgstr "Ayuda para el plugin Fancybox for WordPress"
|
545 |
+
|
546 |
+
#: lib/admin-tab-support.php:10
|
547 |
+
msgid "If you are having trouble with this plugin take a look at this <a target=\"_blank\" href=\"http://plugins.josepardilla.com/fancybox-for-wordpress/faq\">FAQ</a> where i will try to cover the most common problems and their solutions."
|
548 |
+
msgstr "Si tienes problemas para hacer funcionar este plugin echa un vistazo a esta página de <a target=\"_blank\" href=\"http://plugins.josepardilla.com/fancybox-for-wordpress/faq\">Preguntas Frecuentes</a> donde intentaré explicar los problemas más habituales y cómo resolverlos."
|
549 |
+
|
550 |
+
#: lib/admin-tab-support.php:11
|
551 |
+
msgid "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."
|
552 |
+
msgstr "Intenta localizar la fuente del problema (cambia de tema y/o desactiva plugins hasta que encuentres lo que causa el problema). También puedes usar las optiones de Resolución de Errores que hay al final de esta página."
|
553 |
+
|
554 |
+
#: lib/admin-tab-support.php:12
|
555 |
+
msgid "Try reverting the plugin's settings to their defaults with the button below."
|
556 |
+
msgstr "Prueba a resetear las opciones a sus valores originales con el botón al pie de esta página."
|
557 |
+
|
558 |
+
#: lib/admin-tab-support.php:13
|
559 |
+
msgid "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>."
|
560 |
+
msgstr "Si aún no puedes hacer funcionar el plugin, <a target=\"_blank\" href=\"http://wordpress.org/support/plugin/fancybox-for-wordpress#postform\">escribe en el foro de Soporte de WordPress</a> o echa un vistazo a <a target=\"_blank\" href=\"\"http://wordpress.org/support/plugin/fancybox-for-wordpress\">los mensajes ya escritos en dicho foro</a>."
|
561 |
+
|
562 |
+
#: lib/admin-tab-support.php:16
|
563 |
+
msgid "IMPORTANT:"
|
564 |
+
msgstr "IMPORTANTE:"
|
565 |
+
|
566 |
+
#: lib/admin-tab-support.php:16
|
567 |
+
msgid "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."
|
568 |
+
msgstr "Cuando expliques tu problema, por favor deja un enlace a tu blog y una página donde FancyBox falla, así como cualquier información reelevante, como el tema de WordPress y plugins que usas."
|
569 |
+
|
570 |
+
#: lib/admin-tab-troubleshooting.php:1
|
571 |
+
msgid "Troubleshooting Settings"
|
572 |
+
msgstr "Resolución de Problemas"
|
573 |
+
|
574 |
+
#: lib/admin-tab-troubleshooting.php:3
|
575 |
+
msgid "Settings in this section should only be changed if you are having problems with the plugin!"
|
576 |
+
msgstr "Las opciones de esta sección solo deben ser editadas si tienes problemas con el plugin!"
|
577 |
+
|
578 |
+
#: lib/admin-tab-troubleshooting.php:5
|
579 |
+
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)."
|
580 |
+
msgstr "Si el plugin no funciona, lo primero que deberías hacer es comprobar que no haya un conflicto con otros plugins, especialmente otro tipo de Lightbox, Slimbox, etc. Asegúrate de que todos tus plugins y tu WordPress están actualizados (este plugin solo se ha testado con WordPress 2.7 y superiores)."
|
581 |
+
|
582 |
+
#: lib/admin-tab-troubleshooting.php:7
|
583 |
+
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."
|
584 |
+
msgstr "Cámbialas de una en una y comprueba si solucionan tu problema. Recuqerda que usar un plugin de caché puede hacer que los cambios no surjan efecto inmediatamente, vacía el cache después de guardar los cambios or desactivalo hasta que termines de ajustar estas opciones."
|
585 |
+
|
586 |
+
#: lib/admin-tab-troubleshooting.php:13
|
587 |
+
msgid "Do not call jQuery"
|
588 |
+
msgstr "No cargar jQuery"
|
589 |
+
|
590 |
+
#: lib/admin-tab-troubleshooting.php:19
|
591 |
+
msgid "Skip jQuery call. Use this only if jQuery is being loaded twice (default: off)"
|
592 |
+
msgstr "Omitir llamada a jQuery. Usa esta opción sólo si jQuery se está cargando dos veces por error. (por defecto: desactivado)"
|
593 |
+
|
594 |
+
#: lib/admin-tab-uninstall.php:3
|
595 |
+
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."
|
596 |
+
msgstr "Al igual que otros plugins, FancyBox for WordPress guarda sus opciones en la tabla de opciones de la base de datos de WordPress. En realidad, estas opcines no ocupam más que unos kilobytes de espacio, pero si quieres eliminar el plugin por completo, activa la siguiente opción, guarda los cambios, y <strong>cuando desactives el plugin</strong>, todas las opciones se eliminarán de la base de datos."
|
597 |
+
|
598 |
+
#: lib/admin-tab-uninstall.php:9
|
599 |
+
msgid "Remove settings"
|
600 |
+
msgstr "Eliminar Opciones"
|
601 |
+
|
602 |
+
#: lib/admin-tab-uninstall.php:15
|
603 |
+
msgid "Remove Settings when plugin is deactivated from the \"Manage Plugins\" page. (default: off)"
|
604 |
+
msgstr "Eliminar opciones cuando se desactive el plugin desde la página \"Gestionar Plugins\". (por defecto: desactivado)"
|
605 |
+
|
606 |
#~ msgid "Callback on Start event (default: empty)"
|
607 |
#~ msgstr "Retrollamada en el evento de Inicio (por defecto: vacío)"
|
608 |
|
languages/mfbfw.pot
CHANGED
@@ -1,21 +1,17 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/fancybox-for-wordpress\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#: fancybox.php:365
|
16 |
-
msgid "Settings"
|
17 |
-
msgstr ""
|
18 |
-
|
19 |
#: admin.php:11
|
20 |
msgid "Fancybox for WordPress (version %s)"
|
21 |
msgstr ""
|
@@ -80,106 +76,214 @@ msgstr ""
|
|
80 |
msgid "Follow me on Twitter for more WordPress Plugins and Themes"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#:
|
84 |
-
msgid "
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: lib/admin-tab-
|
88 |
-
msgid "
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: lib/admin-tab-
|
92 |
-
msgid "
|
|
|
|
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: lib/admin-tab-
|
96 |
-
msgid "
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: lib/admin-tab-
|
100 |
-
msgid ""
|
101 |
-
"Only works with <strong>Ajax</strong> and <strong>Inline</strong> content! "
|
102 |
-
"Flash dimensions won't be autodetected so specify them below if necessary. "
|
103 |
-
"If you want to insert several pieces of flash content with different "
|
104 |
-
"dimensions you will have to use the <strong>Additional FancyBox Calls</"
|
105 |
-
"strong> option."
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: lib/admin-tab-
|
109 |
-
msgid ""
|
110 |
-
"Width for iframe and swf content. Also set for inline content if "
|
111 |
-
"<em>autoDimensions</em> is disabled (default: 560)"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: lib/admin-tab-
|
|
|
|
|
|
|
|
|
115 |
msgid ""
|
116 |
-
"
|
117 |
-
"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: lib/admin-tab-
|
121 |
-
msgid "
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: lib/admin-tab-
|
125 |
-
msgid ""
|
126 |
-
"Loads JavaScript at the end of the blog's HTML (experimental) (default: off)"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: lib/admin-tab-
|
130 |
-
msgid ""
|
131 |
-
"This option won't be recognized if you use <strong>Parallel Load</strong> "
|
132 |
-
"plugin. In that case, you can do this from Parallel Load's options."
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: lib/admin-tab-
|
136 |
-
msgid "
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: lib/admin-tab-
|
140 |
-
msgid "
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: lib/admin-tab-
|
144 |
-
msgid "
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: lib/admin-tab-
|
148 |
-
msgid ""
|
149 |
-
"Callback on <strong>Start</strong> event: Will be called right before "
|
150 |
-
"attempting to load the content"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: lib/admin-tab-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
msgid ""
|
155 |
-
"
|
156 |
-
"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: lib/admin-tab-
|
160 |
msgid ""
|
161 |
-
"
|
162 |
-
"
|
|
|
|
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: lib/admin-tab-
|
|
|
|
|
|
|
|
|
166 |
msgid ""
|
167 |
-
"
|
168 |
-
"closing"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: lib/admin-tab-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
msgid ""
|
173 |
-
"
|
174 |
-
"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: lib/admin-tab-
|
178 |
-
msgid "
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: lib/admin-tab-
|
182 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
msgstr ""
|
184 |
|
185 |
#: lib/admin-tab-behaviour.php:1
|
@@ -288,340 +392,325 @@ msgstr ""
|
|
288 |
msgid "Additional FancyBox Calls (default: off)"
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: lib/admin-tab-
|
292 |
-
msgid "
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: lib/admin-tab-
|
296 |
-
msgid ""
|
297 |
-
"<a target=\"_blank\" href=\"http://fancybox.net\">FancyBox</a> developed by "
|
298 |
-
"<a target=\"_blank\" href=\"http://fancybox.net\">Janis Skarnelis</a>, "
|
299 |
-
"ported to WordPress by <a target=\"_blank\" href=\"http://josepardilla.com/"
|
300 |
-
"\">José Pardilla</a>. Licensed under the <a target=\"_blank\" href="
|
301 |
-
"\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: lib/admin-tab-
|
305 |
msgid ""
|
306 |
-
"
|
307 |
-
"
|
308 |
-
"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: lib/admin-tab-
|
312 |
-
msgid ""
|
313 |
-
"<strong>Note:</strong> Having a cache plugin may prevent changes from taking "
|
314 |
-
"effect immidiately, if this happens clear cache after saving changes here or "
|
315 |
-
"deactivate cache until you finish editing these options."
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: lib/admin-tab-
|
|
|
|
|
|
|
|
|
319 |
msgid ""
|
320 |
-
"
|
321 |
-
"
|
322 |
-
"below). I have tested this issue on several WordPress installations and it "
|
323 |
-
"always worked, so it might depend on the server. Sorry for the inconvinience."
|
324 |
-
msgstr ""
|
325 |
-
|
326 |
-
#: lib/admin-tab-troubleshooting.php:1
|
327 |
-
msgid "Troubleshooting Settings"
|
328 |
-
msgstr ""
|
329 |
-
|
330 |
-
#: lib/admin-tab-troubleshooting.php:3
|
331 |
-
msgid ""
|
332 |
-
"Settings in this section should only be changed if you are having problems "
|
333 |
-
"with the plugin!"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: lib/admin-tab-
|
337 |
msgid ""
|
338 |
-
"
|
339 |
-
"
|
340 |
-
"etc. Make sure all your plugins and WordPress itself are up to date (this "
|
341 |
-
"plugin has only been tested in WordPress 2.7 and above)."
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: lib/admin-tab-
|
345 |
-
msgid ""
|
346 |
-
"Change them one at a time and test to see if they help. Remember that having "
|
347 |
-
"a cache plugin may prevent changes from taking effect immidiately, so clear "
|
348 |
-
"cache after saving changes here or deactivate cache until you finish editing "
|
349 |
-
"these options."
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: lib/admin-tab-
|
353 |
-
msgid "
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: lib/admin-tab-
|
357 |
msgid ""
|
358 |
-
"
|
359 |
-
"
|
360 |
-
|
361 |
-
|
362 |
-
#: lib/admin-tab-support.php:3
|
363 |
-
msgid "Help with Fancybox"
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: lib/admin-tab-
|
367 |
msgid ""
|
368 |
-
"
|
369 |
-
"
|
370 |
-
"\"http://fancybox.net/howto\">How-To</a> & <a target=\"_blank\" href="
|
371 |
-
"\"http://fancybox.net/faq\">FAQ</a>.<br />If that does not help, go to <a "
|
372 |
-
"href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</"
|
373 |
-
"a>, use the <strong>Search</strong> option, and if necesary, post your "
|
374 |
-
"question."
|
375 |
-
msgstr ""
|
376 |
-
|
377 |
-
#: lib/admin-tab-support.php:8
|
378 |
-
msgid "Help with Fancybox for WordPress plugin"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: lib/admin-tab-
|
382 |
msgid ""
|
383 |
-
"
|
384 |
-
"
|
385 |
-
"
|
386 |
-
"solutions."
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: lib/admin-tab-
|
390 |
msgid ""
|
391 |
-
"
|
392 |
-
"
|
393 |
-
"
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: lib/admin-tab-
|
397 |
msgid ""
|
398 |
-
"
|
|
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: lib/admin-tab-
|
402 |
msgid ""
|
403 |
-
"
|
404 |
-
"
|
405 |
-
"\">write a post in the WordPress Support forums</a> explaining the problem "
|
406 |
-
"or take a look and the <a target=\"_blank\" href=\"http://wordpress.org/tags/"
|
407 |
-
"fancybox-for-wordpress?forum_id=10\">already posted messages</a>."
|
408 |
-
msgstr ""
|
409 |
-
|
410 |
-
#: lib/admin-tab-support.php:16
|
411 |
-
msgid "IMPORTANT:"
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: lib/admin-tab-
|
415 |
-
msgid ""
|
416 |
-
"When posting your problem please provide a link to your blog and the page "
|
417 |
-
"where the error is found, and all relevant information you can, especially "
|
418 |
-
"your theme, plugins, etc."
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: lib/admin-tab-
|
422 |
-
msgid "
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: lib/admin-tab-
|
426 |
msgid ""
|
427 |
-
"
|
428 |
-
"
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
msgid "Zoom Options"
|
433 |
-
msgstr ""
|
434 |
-
|
435 |
-
#: lib/admin-tab-animations.php:15
|
436 |
-
msgid "Change content transparency during zoom animations (default: on)"
|
437 |
-
msgstr ""
|
438 |
-
|
439 |
-
#: lib/admin-tab-animations.php:27
|
440 |
-
msgid "Speed in miliseconds of the zooming-in animation (default: 500)"
|
441 |
-
msgstr ""
|
442 |
-
|
443 |
-
#: lib/admin-tab-animations.php:39
|
444 |
-
msgid "Speed in miliseconds of the zooming-out animation (default: 500)"
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: lib/admin-tab-
|
448 |
msgid ""
|
449 |
-
"
|
450 |
-
"
|
451 |
-
|
452 |
-
|
453 |
-
#: lib/admin-tab-animations.php:59
|
454 |
-
msgid "Transition Type"
|
455 |
-
msgstr ""
|
456 |
-
|
457 |
-
#: lib/admin-tab-animations.php:73
|
458 |
-
msgid "Transition type when opening FancyBox. (default: fade)"
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: lib/admin-tab-
|
462 |
-
msgid "
|
|
|
|
|
|
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: lib/admin-tab-
|
466 |
-
msgid "
|
|
|
|
|
|
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: lib/admin-tab-
|
470 |
-
msgid "
|
|
|
|
|
|
|
|
|
471 |
msgstr ""
|
472 |
|
473 |
-
#: lib/admin-tab-
|
474 |
-
msgid "
|
475 |
msgstr ""
|
476 |
|
477 |
-
#: lib/admin-tab-
|
478 |
-
msgid "
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: lib/admin-tab-
|
482 |
-
msgid "
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: lib/admin-tab-
|
486 |
-
msgid "
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: lib/admin-tab-
|
490 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: lib/admin-tab-
|
494 |
msgid ""
|
495 |
-
"
|
496 |
-
"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: lib/admin-tab-
|
500 |
msgid ""
|
501 |
-
"
|
502 |
-
"
|
503 |
-
"\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/"
|
504 |
-
"animationtypes.html\" target=\"_blank\">here</a>)"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: lib/admin-tab-
|
508 |
-
msgid "
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: lib/admin-tab-
|
512 |
msgid ""
|
513 |
-
"
|
514 |
-
"and position of elements, like the image title and closing buttons."
|
515 |
-
msgstr ""
|
516 |
-
|
517 |
-
#: lib/admin-tab-appearance.php:9
|
518 |
-
msgid "Border"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: lib/admin-tab-
|
522 |
-
msgid "
|
|
|
|
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: lib/admin-tab-
|
526 |
-
msgid "
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: lib/admin-tab-
|
530 |
-
msgid "
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: lib/admin-tab-
|
534 |
-
msgid "
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: lib/admin-tab-
|
538 |
-
msgid "
|
|
|
|
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: lib/admin-tab-
|
542 |
-
msgid "
|
|
|
|
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: lib/admin-tab-
|
546 |
-
msgid "
|
|
|
|
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: lib/admin-tab-
|
550 |
-
msgid "
|
|
|
|
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: lib/admin-tab-
|
554 |
-
msgid "
|
|
|
|
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: lib/admin-tab-
|
558 |
-
msgid "
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: lib/admin-tab-
|
562 |
-
msgid "
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: lib/admin-tab-
|
566 |
msgid ""
|
567 |
-
"
|
568 |
-
"
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
|
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: lib/admin-tab-
|
576 |
-
msgid "
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: lib/admin-tab-
|
580 |
-
msgid "
|
|
|
|
|
|
|
|
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: lib/admin-tab-
|
584 |
-
msgid "
|
|
|
|
|
|
|
585 |
msgstr ""
|
586 |
|
587 |
-
#: lib/admin-tab-
|
588 |
-
msgid "
|
|
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: lib/admin-tab-
|
592 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
593 |
msgstr ""
|
594 |
|
595 |
-
#: lib/admin-tab-
|
596 |
-
msgid "
|
597 |
msgstr ""
|
598 |
|
599 |
-
#: lib/admin-tab-
|
600 |
-
msgid "
|
|
|
|
|
|
|
601 |
msgstr ""
|
602 |
|
603 |
-
#: lib/admin-tab-
|
604 |
-
msgid "
|
605 |
msgstr ""
|
606 |
|
607 |
-
#: lib/admin-tab-
|
608 |
-
msgid "
|
|
|
|
|
609 |
msgstr ""
|
610 |
|
611 |
-
#: lib/admin-tab-
|
612 |
-
msgid "
|
|
|
|
|
|
|
|
|
613 |
msgstr ""
|
614 |
|
615 |
-
#: lib/admin-tab-
|
616 |
-
msgid "
|
|
|
|
|
|
|
|
|
617 |
msgstr ""
|
618 |
|
619 |
-
#: lib/admin-tab-
|
620 |
-
msgid "
|
621 |
msgstr ""
|
622 |
|
623 |
-
#: lib/admin-tab-
|
624 |
-
msgid "
|
|
|
|
|
625 |
msgstr ""
|
626 |
|
627 |
#: lib/admin-tab-uninstall.php:3
|
@@ -643,85 +732,3 @@ msgid ""
|
|
643 |
"Remove Settings when plugin is deactivated from the \"Manage Plugins\" page. "
|
644 |
"(default: off)"
|
645 |
msgstr ""
|
646 |
-
|
647 |
-
#: lib/admin-tab-galleries.php:1
|
648 |
-
msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
|
649 |
-
msgstr ""
|
650 |
-
|
651 |
-
#: lib/admin-tab-galleries.php:3
|
652 |
-
msgid ""
|
653 |
-
"Here you can choose if you want the plugin to group all images into a "
|
654 |
-
"gallery, or make a gallery for each post. You can also define you own jQuery "
|
655 |
-
"expression if you like."
|
656 |
-
msgstr ""
|
657 |
-
|
658 |
-
#: lib/admin-tab-galleries.php:9
|
659 |
-
msgid "Gallery Type"
|
660 |
-
msgstr ""
|
661 |
-
|
662 |
-
#: lib/admin-tab-galleries.php:15
|
663 |
-
msgid "Make a gallery for all images on the page (default)"
|
664 |
-
msgstr ""
|
665 |
-
|
666 |
-
#: lib/admin-tab-galleries.php:20
|
667 |
-
msgid ""
|
668 |
-
"Do not group images in gallery automatically (use this if you want to make "
|
669 |
-
"galleries manually with the <code>REL</code> attribute)"
|
670 |
-
msgstr ""
|
671 |
-
|
672 |
-
#: lib/admin-tab-galleries.php:25
|
673 |
-
msgid ""
|
674 |
-
"Make a gallery for each post (will only work if your theme uses <code>class="
|
675 |
-
"\"post\"</code> on each post, which is common in WordPress"
|
676 |
-
msgstr ""
|
677 |
-
|
678 |
-
#: lib/admin-tab-galleries.php:30
|
679 |
-
msgid "Use a custom expression to apply FancyBox"
|
680 |
-
msgstr ""
|
681 |
-
|
682 |
-
#: lib/admin-tab-galleries.php:39
|
683 |
-
msgid "Custom expression guidelines:"
|
684 |
-
msgstr ""
|
685 |
-
|
686 |
-
#: lib/admin-tab-galleries.php:41
|
687 |
-
msgid ""
|
688 |
-
"· The custom expression has to apply <code>class=\"fancybox\"</code> "
|
689 |
-
"to the links where you want to use FancyBox. Do not call the <code>fancybox()"
|
690 |
-
"</code> function here, the plugin does this for you."
|
691 |
-
msgstr ""
|
692 |
-
|
693 |
-
#: lib/admin-tab-galleries.php:43
|
694 |
-
msgid ""
|
695 |
-
"· The jQuery <code>addClass()</code> function is a good way to add "
|
696 |
-
"the class to the desired links conserving any existing class."
|
697 |
-
msgstr ""
|
698 |
-
|
699 |
-
#: lib/admin-tab-galleries.php:45
|
700 |
-
msgid ""
|
701 |
-
"· You can use <code>getTitle()</code> in your expression to copy the "
|
702 |
-
"title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so "
|
703 |
-
"that FancyBox can show captions."
|
704 |
-
msgstr ""
|
705 |
-
|
706 |
-
#: lib/admin-tab-galleries.php:47
|
707 |
-
msgid ""
|
708 |
-
"· You can use <code>jQuery(thumbnails)</code> like in the example "
|
709 |
-
"expression to apply FancyBox to thumbnails that link to these extensions: "
|
710 |
-
"BMP, GIF, JPG, JPEG, PNG (both lowercase and uppercase)."
|
711 |
-
msgstr ""
|
712 |
-
|
713 |
-
#: lib/admin-tab-galleries.php:49
|
714 |
-
msgid ""
|
715 |
-
"· If you want to do it manually you can use something like "
|
716 |
-
"<code>jQuery(\"a:has(img)[href$='.jpg']\")</code> or whatever works for you."
|
717 |
-
msgstr ""
|
718 |
-
|
719 |
-
#: lib/admin-tab-galleries.php:51
|
720 |
-
msgid ""
|
721 |
-
"See the <a href=\"http://docs.jquery.com/\" target=\"_blank\">jQuery "
|
722 |
-
"Documentation</a> for more help."
|
723 |
-
msgstr ""
|
724 |
-
|
725 |
-
#: lib/admin-tab-galleries.php:53
|
726 |
-
msgid "Examples:"
|
727 |
-
msgstr ""
|
1 |
+
# Copyright (C) 2012
|
2 |
# This file is distributed under the same license as the package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/fancybox-for-wordpress\n"
|
7 |
+
"POT-Creation-Date: 2012-07-03 15:24:31+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
|
|
|
|
|
|
|
|
15 |
#: admin.php:11
|
16 |
msgid "Fancybox for WordPress (version %s)"
|
17 |
msgstr ""
|
76 |
msgid "Follow me on Twitter for more WordPress Plugins and Themes"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: fancybox.php:414
|
80 |
+
msgid "Settings"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: lib/admin-tab-animations.php:1
|
84 |
+
msgid "Animation Settings <span style=\"color:green\">(basic)</span>"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: lib/admin-tab-animations.php:3
|
88 |
+
msgid ""
|
89 |
+
"These settings control the animations when opening and closing Fancybox, and "
|
90 |
+
"the optional easing effects."
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: lib/admin-tab-animations.php:9
|
94 |
+
msgid "Zoom Options"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: lib/admin-tab-animations.php:15
|
98 |
+
msgid "Change content transparency during zoom animations (default: on)"
|
|
|
|
|
|
|
|
|
|
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: lib/admin-tab-animations.php:27
|
102 |
+
msgid "Speed in miliseconds of the zooming-in animation (default: 500)"
|
|
|
|
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: lib/admin-tab-animations.php:39
|
106 |
+
msgid "Speed in miliseconds of the zooming-out animation (default: 500)"
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: lib/admin-tab-animations.php:51
|
110 |
msgid ""
|
111 |
+
"Speed in miliseconds of the animation when navigating thorugh gallery items "
|
112 |
+
"(default: 300)"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: lib/admin-tab-animations.php:59
|
116 |
+
msgid "Transition Type"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: lib/admin-tab-animations.php:73
|
120 |
+
msgid "Transition type when opening FancyBox. (default: fade)"
|
|
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: lib/admin-tab-animations.php:86
|
124 |
+
msgid "Transition type when closing FancyBox. (default: fade)"
|
|
|
|
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: lib/admin-tab-animations.php:94
|
128 |
+
msgid "Easing"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: lib/admin-tab-animations.php:100
|
132 |
+
msgid "Activate easing (default: off)"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: lib/admin-tab-animations.php:103
|
136 |
+
msgid "(Will load one additional javascript file, 8KB)"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: lib/admin-tab-animations.php:117
|
140 |
+
msgid "Easing method when opening FancyBox. (default: easeOutBack)"
|
|
|
|
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: lib/admin-tab-animations.php:120
|
144 |
+
msgid "(Requires opening transition type to be set to elastic)"
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#: lib/admin-tab-animations.php:132
|
148 |
+
msgid "Easing method when closing FancyBox. (default: easeInBack)"
|
149 |
+
msgstr ""
|
150 |
+
|
151 |
+
#: lib/admin-tab-animations.php:135
|
152 |
+
msgid "(Requires closing transition type to be set to elastic)"
|
153 |
+
msgstr ""
|
154 |
+
|
155 |
+
#: lib/admin-tab-animations.php:147
|
156 |
msgid ""
|
157 |
+
"Easing method when navigating through gallery items. (default: "
|
158 |
+
"easeInOutQuart)"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: lib/admin-tab-animations.php:150
|
162 |
msgid ""
|
163 |
+
"(There are 30 different easing methods, the first ones are the most boring. "
|
164 |
+
"You can test them <a href=\"http://commadot.com/jquery/easing.php\" target="
|
165 |
+
"\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/"
|
166 |
+
"animationtypes.html\" target=\"_blank\">here</a>)"
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: lib/admin-tab-appearance.php:1
|
170 |
+
msgid "Appearance Settings <span style=\"color:green\">(basic)</span>"
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: lib/admin-tab-appearance.php:3
|
174 |
msgid ""
|
175 |
+
"These setting control how Fancybox looks, they let you tweak color, borders "
|
176 |
+
"and position of elements, like the image title and closing buttons."
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: lib/admin-tab-appearance.php:9
|
180 |
+
msgid "Border"
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#: lib/admin-tab-appearance.php:15
|
184 |
+
msgid "Show Border (default: off)"
|
185 |
+
msgstr ""
|
186 |
+
|
187 |
+
#: lib/admin-tab-appearance.php:22
|
188 |
+
msgid "HTML color of the border (default: #BBBBBB)"
|
189 |
+
msgstr ""
|
190 |
+
|
191 |
+
#: lib/admin-tab-appearance.php:32
|
192 |
+
msgid "Close Button"
|
193 |
+
msgstr ""
|
194 |
+
|
195 |
+
#: lib/admin-tab-appearance.php:38
|
196 |
+
msgid "Show Close button (default: on)"
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: lib/admin-tab-appearance.php:43
|
200 |
+
msgid "Close button position:"
|
201 |
+
msgstr ""
|
202 |
+
|
203 |
+
#: lib/admin-tab-appearance.php:46
|
204 |
+
msgid "Left"
|
205 |
+
msgstr ""
|
206 |
+
|
207 |
+
#: lib/admin-tab-appearance.php:51
|
208 |
+
msgid "Right (default)"
|
209 |
+
msgstr ""
|
210 |
+
|
211 |
+
#: lib/admin-tab-appearance.php:56
|
212 |
+
msgid "Bottom"
|
213 |
+
msgstr ""
|
214 |
+
|
215 |
+
#: lib/admin-tab-appearance.php:61
|
216 |
+
msgid "Top (default)"
|
217 |
+
msgstr ""
|
218 |
+
|
219 |
+
#: lib/admin-tab-appearance.php:71
|
220 |
+
msgid "Padding"
|
221 |
+
msgstr ""
|
222 |
+
|
223 |
+
#: lib/admin-tab-appearance.php:77
|
224 |
+
msgid "HTML color of the padding (default: #FFFFFF)"
|
225 |
+
msgstr ""
|
226 |
+
|
227 |
+
#: lib/admin-tab-appearance.php:80
|
228 |
msgid ""
|
229 |
+
"(This should be left on #FFFFFF (white) if you want to display anything "
|
230 |
+
"other than images, like inline or framed content)"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: lib/admin-tab-appearance.php:84
|
234 |
+
msgid "Padding size in pixels (default: 10)"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: lib/admin-tab-appearance.php:92
|
238 |
+
msgid "Overlay Options"
|
239 |
+
msgstr ""
|
240 |
+
|
241 |
+
#: lib/admin-tab-appearance.php:98
|
242 |
+
msgid "Add overlay (default: on)"
|
243 |
+
msgstr ""
|
244 |
+
|
245 |
+
#: lib/admin-tab-appearance.php:105
|
246 |
+
msgid "HTML color of the overlay (default: #666666)"
|
247 |
+
msgstr ""
|
248 |
+
|
249 |
+
#: lib/admin-tab-appearance.php:118
|
250 |
+
msgid "Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)"
|
251 |
+
msgstr ""
|
252 |
+
|
253 |
+
#: lib/admin-tab-appearance.php:128
|
254 |
+
msgid "Title"
|
255 |
+
msgstr ""
|
256 |
+
|
257 |
+
#: lib/admin-tab-appearance.php:134
|
258 |
+
msgid "Show the title (default: on)"
|
259 |
+
msgstr ""
|
260 |
+
|
261 |
+
#: lib/admin-tab-appearance.php:141
|
262 |
+
msgid "Inside (default)"
|
263 |
+
msgstr ""
|
264 |
+
|
265 |
+
#: lib/admin-tab-appearance.php:146
|
266 |
+
msgid "Outside"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: lib/admin-tab-appearance.php:151
|
270 |
+
msgid "Over"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: lib/admin-tab-appearance.php:158
|
274 |
+
msgid "Title text color (default: #333333)"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: lib/admin-tab-appearance.php:161
|
278 |
+
msgid "(Should contrast with the padding color set above)"
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: lib/admin-tab-appearance.php:172
|
282 |
+
msgid "Navigation Arrows"
|
283 |
+
msgstr ""
|
284 |
+
|
285 |
+
#: lib/admin-tab-appearance.php:178
|
286 |
+
msgid "Show the navigation arrows (default: on)"
|
287 |
msgstr ""
|
288 |
|
289 |
#: lib/admin-tab-behaviour.php:1
|
392 |
msgid "Additional FancyBox Calls (default: off)"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: lib/admin-tab-calls.php:26 lib/admin-tab-other.php:89
|
396 |
+
msgid "Example:"
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: lib/admin-tab-galleries.php:1
|
400 |
+
msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
|
|
|
|
|
|
|
|
|
|
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: lib/admin-tab-galleries.php:3
|
404 |
msgid ""
|
405 |
+
"Here you can choose if you want the plugin to group all images into a "
|
406 |
+
"gallery, or make a gallery for each post. You can also define you own jQuery "
|
407 |
+
"expression if you like."
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: lib/admin-tab-galleries.php:9
|
411 |
+
msgid "Gallery Type"
|
|
|
|
|
|
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: lib/admin-tab-galleries.php:15
|
415 |
+
msgid "Make a gallery for all images on the page (default)"
|
416 |
+
msgstr ""
|
417 |
+
|
418 |
+
#: lib/admin-tab-galleries.php:20
|
419 |
msgid ""
|
420 |
+
"Do not group images in gallery automatically (use this if you want to make "
|
421 |
+
"galleries manually with the <code>REL</code> attribute)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: lib/admin-tab-galleries.php:25
|
425 |
msgid ""
|
426 |
+
"Make a gallery for each post (will only work if your theme uses <code>class="
|
427 |
+
"\"post\"</code> on each post, which is common in WordPress"
|
|
|
|
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: lib/admin-tab-galleries.php:30
|
431 |
+
msgid "Use a custom expression to apply FancyBox"
|
|
|
|
|
|
|
|
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: lib/admin-tab-galleries.php:39
|
435 |
+
msgid "Custom expression guidelines:"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: lib/admin-tab-galleries.php:41
|
439 |
msgid ""
|
440 |
+
"· The custom expression has to apply <code>class=\"fancybox\"</code> "
|
441 |
+
"to the links where you want to use FancyBox. Do not call the <code>fancybox()"
|
442 |
+
"</code> function here, the plugin does this for you."
|
|
|
|
|
|
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: lib/admin-tab-galleries.php:43
|
446 |
msgid ""
|
447 |
+
"· The jQuery <code>addClass()</code> function is a good way to add "
|
448 |
+
"the class to the desired links conserving any existing class."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: lib/admin-tab-galleries.php:45
|
452 |
msgid ""
|
453 |
+
"· You can use <code>getTitle()</code> in your expression to copy the "
|
454 |
+
"title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so "
|
455 |
+
"that FancyBox can show captions."
|
|
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: lib/admin-tab-galleries.php:47
|
459 |
msgid ""
|
460 |
+
"· You can use <code>jQuery(thumbnails)</code> like in the example "
|
461 |
+
"expression to apply FancyBox to thumbnails that link to these extensions: "
|
462 |
+
"BMP, GIF, JPG, JPEG, PNG (both lowercase and uppercase)."
|
463 |
msgstr ""
|
464 |
|
465 |
+
#: lib/admin-tab-galleries.php:49
|
466 |
msgid ""
|
467 |
+
"· If you want to do it manually you can use something like "
|
468 |
+
"<code>jQuery(\"a:has(img)[href$='.jpg']\")</code> or whatever works for you."
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: lib/admin-tab-galleries.php:51
|
472 |
msgid ""
|
473 |
+
"See the <a href=\"http://docs.jquery.com/\" target=\"_blank\">jQuery "
|
474 |
+
"Documentation</a> for more help."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
475 |
msgstr ""
|
476 |
|
477 |
+
#: lib/admin-tab-galleries.php:53
|
478 |
+
msgid "Examples:"
|
|
|
|
|
|
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: lib/admin-tab-info.php:1
|
482 |
+
msgid "Information"
|
483 |
msgstr ""
|
484 |
|
485 |
+
#: lib/admin-tab-info.php:3
|
486 |
msgid ""
|
487 |
+
"<a target=\"_blank\" href=\"http://fancybox.net\">FancyBox</a> developed by "
|
488 |
+
"<a target=\"_blank\" href=\"http://fancybox.net\">Janis Skarnelis</a>, "
|
489 |
+
"ported to WordPress by <a target=\"_blank\" href=\"http://josepardilla.com/"
|
490 |
+
"\">José Pardilla</a>. Licensed under the <a target=\"_blank\" href="
|
491 |
+
"\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: lib/admin-tab-info.php:5
|
495 |
msgid ""
|
496 |
+
"As you can see, this plugin has many options you can edit, but have no fear, "
|
497 |
+
"you can leave everything as it is if you don't want to get your hands dirty, "
|
498 |
+
"since the default options should be a good start... :)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: lib/admin-tab-info.php:7
|
502 |
+
msgid ""
|
503 |
+
"If you are an advanced user you can <a target=\"_blank\" href=\"https://"
|
504 |
+
"github.com/moskis/fancybox-for-wordpress\">follow the plugin in Github</a>, "
|
505 |
+
"fork it or help submitting fixes!"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: lib/admin-tab-info.php:9
|
509 |
+
msgid ""
|
510 |
+
"<strong>Note:</strong> Having a cache plugin may prevent changes from taking "
|
511 |
+
"effect immidiately, if this happens clear cache after saving changes here or "
|
512 |
+
"deactivate cache until you finish editing these options."
|
513 |
msgstr ""
|
514 |
|
515 |
+
#: lib/admin-tab-info.php:11
|
516 |
+
msgid ""
|
517 |
+
"<strong>Note:</strong> If update to version 3.0.0 breaks fancybox on your "
|
518 |
+
"blog you will probably have to reset your settings (with the white button "
|
519 |
+
"below). I have tested this issue on several WordPress installations and it "
|
520 |
+
"always worked, so it might depend on the server. Sorry for the inconvinience."
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: lib/admin-tab-other.php:1
|
524 |
+
msgid "Other Settings <span style=\"color:red\">(advanced)</span>"
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: lib/admin-tab-other.php:3
|
528 |
+
msgid "These are additional settings for advanced users."
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: lib/admin-tab-other.php:9
|
532 |
+
msgid "Dimensions"
|
533 |
msgstr ""
|
534 |
|
535 |
+
#: lib/admin-tab-other.php:15
|
536 |
+
msgid "Auto detect dimensions (default: on)"
|
537 |
msgstr ""
|
538 |
|
539 |
+
#: lib/admin-tab-other.php:18
|
540 |
+
msgid ""
|
541 |
+
"Only works with <strong>Ajax</strong> and <strong>Inline</strong> content! "
|
542 |
+
"Flash dimensions won't be autodetected so specify them below if necessary. "
|
543 |
+
"If you want to insert several pieces of flash content with different "
|
544 |
+
"dimensions you will have to use the <strong>Additional FancyBox Calls</"
|
545 |
+
"strong> option."
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: lib/admin-tab-other.php:22
|
549 |
msgid ""
|
550 |
+
"Width for iframe and swf content. Also set for inline content if "
|
551 |
+
"<em>autoDimensions</em> is disabled (default: 560)"
|
552 |
msgstr ""
|
553 |
|
554 |
+
#: lib/admin-tab-other.php:27
|
555 |
msgid ""
|
556 |
+
"Height for iframe and swf content. Also set for inline content if "
|
557 |
+
"<em>autoDimensions</em> is disabled (default: 340)"
|
|
|
|
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: lib/admin-tab-other.php:35
|
561 |
+
msgid "Load JavaScript in Footer"
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: lib/admin-tab-other.php:41
|
565 |
msgid ""
|
566 |
+
"Loads JavaScript at the end of the blog's HTML (experimental) (default: off)"
|
|
|
|
|
|
|
|
|
|
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: lib/admin-tab-other.php:44
|
570 |
+
msgid ""
|
571 |
+
"This option won't be recognized if you use <strong>Parallel Load</strong> "
|
572 |
+
"plugin. In that case, you can do this from Parallel Load's options."
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: lib/admin-tab-other.php:51
|
576 |
+
msgid "Callbacks"
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: lib/admin-tab-other.php:57
|
580 |
+
msgid "Enable callbacks (default: off)"
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: lib/admin-tab-other.php:60
|
584 |
+
msgid "Enabling this will show additional settings."
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: lib/admin-tab-other.php:65
|
588 |
+
msgid ""
|
589 |
+
"Callback on <strong>Start</strong> event: Will be called right before "
|
590 |
+
"attempting to load the content"
|
591 |
msgstr ""
|
592 |
|
593 |
+
#: lib/admin-tab-other.php:70
|
594 |
+
msgid ""
|
595 |
+
"Callback on <strong>Cancel</strong> event: Will be called after loading is "
|
596 |
+
"canceled"
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: lib/admin-tab-other.php:75
|
600 |
+
msgid ""
|
601 |
+
"Callback on <strong>Complete</strong> event: Will be called once the content "
|
602 |
+
"is displayed"
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: lib/admin-tab-other.php:80
|
606 |
+
msgid ""
|
607 |
+
"Callback on <strong>CleanUp</strong> event: Will be called just before "
|
608 |
+
"closing"
|
609 |
msgstr ""
|
610 |
|
611 |
+
#: lib/admin-tab-other.php:85
|
612 |
+
msgid ""
|
613 |
+
"Callback on <strong>Closed</strong> event: Will be called once FancyBox is "
|
614 |
+
"closed"
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: lib/admin-tab-other.php:91
|
618 |
+
msgid "Leave empty any speciic callbacks you don't need to use."
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: lib/admin-tab-support.php:3
|
622 |
+
msgid "Help with Fancybox"
|
623 |
msgstr ""
|
624 |
|
625 |
+
#: lib/admin-tab-support.php:5
|
626 |
msgid ""
|
627 |
+
"If you have problems or questions about FancyBox itself (and not this "
|
628 |
+
"WordPress plugin), please start with these links: <a target=\"_blank\" href="
|
629 |
+
"\"http://fancybox.net/howto\">How-To</a> & <a target=\"_blank\" href="
|
630 |
+
"\"http://fancybox.net/faq\">FAQ</a>.<br />If that does not help, go to <a "
|
631 |
+
"href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</"
|
632 |
+
"a>, use the <strong>Search</strong> option, and if necesary, post your "
|
633 |
+
"question."
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: lib/admin-tab-support.php:8
|
637 |
+
msgid "Help with Fancybox for WordPress plugin"
|
638 |
msgstr ""
|
639 |
|
640 |
+
#: lib/admin-tab-support.php:10
|
641 |
+
msgid ""
|
642 |
+
"If you are having trouble with this plugin take a look at this <a target="
|
643 |
+
"\"_blank\" href=\"http://plugins.josepardilla.com/fancybox-for-wordpress/faq"
|
644 |
+
"\">FAQ</a> where i will try to cover the most common problems and their "
|
645 |
+
"solutions."
|
646 |
msgstr ""
|
647 |
|
648 |
+
#: lib/admin-tab-support.php:11
|
649 |
+
msgid ""
|
650 |
+
"Try to localize the problem (switch your theme and deactivate plugins until "
|
651 |
+
"you find the source of the problem). You can also try the Troubleshooting "
|
652 |
+
"settings of this plugin if necesary."
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: lib/admin-tab-support.php:12
|
656 |
+
msgid ""
|
657 |
+
"Try reverting the plugin's settings to their defaults with the button below."
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: lib/admin-tab-support.php:13
|
661 |
+
msgid ""
|
662 |
+
"If you still can not get the plugin to work, <a target=\"_blank\" href="
|
663 |
+
"\"http://wordpress.org/support/plugin/fancybox-for-wordpress#postform"
|
664 |
+
"\">write a post in the WordPress Support forums</a> explaining the problem "
|
665 |
+
"or take a look and the <a target=\"_blank\" href=\"http://wordpress.org/"
|
666 |
+
"support/plugin/fancybox-for-wordpress\">already posted messages</a>."
|
667 |
msgstr ""
|
668 |
|
669 |
+
#: lib/admin-tab-support.php:16
|
670 |
+
msgid "IMPORTANT:"
|
671 |
msgstr ""
|
672 |
|
673 |
+
#: lib/admin-tab-support.php:16
|
674 |
+
msgid ""
|
675 |
+
"When posting your problem please provide a link to your blog and the page "
|
676 |
+
"where the error is found, and all relevant information you can, especially "
|
677 |
+
"your theme, plugins, etc."
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: lib/admin-tab-troubleshooting.php:1
|
681 |
+
msgid "Troubleshooting Settings"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: lib/admin-tab-troubleshooting.php:3
|
685 |
+
msgid ""
|
686 |
+
"Settings in this section should only be changed if you are having problems "
|
687 |
+
"with the plugin!"
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: lib/admin-tab-troubleshooting.php:5
|
691 |
+
msgid ""
|
692 |
+
"If the plugin doesn't seem to work, first you should check for other plugins "
|
693 |
+
"that may be conflicting with this one, especially other Lightbox, Slimbox, "
|
694 |
+
"etc. Make sure all your plugins and WordPress itself are up to date (this "
|
695 |
+
"plugin has only been tested in WordPress 2.7 and above)."
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: lib/admin-tab-troubleshooting.php:7
|
699 |
+
msgid ""
|
700 |
+
"Change them one at a time and test to see if they help. Remember that having "
|
701 |
+
"a cache plugin may prevent changes from taking effect immidiately, so clear "
|
702 |
+
"cache after saving changes here or deactivate cache until you finish editing "
|
703 |
+
"these options."
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: lib/admin-tab-troubleshooting.php:13
|
707 |
+
msgid "Do not call jQuery"
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: lib/admin-tab-troubleshooting.php:19
|
711 |
+
msgid ""
|
712 |
+
"Skip jQuery call. Use this only if jQuery is being loaded twice (default: "
|
713 |
+
"off)"
|
714 |
msgstr ""
|
715 |
|
716 |
#: lib/admin-tab-uninstall.php:3
|
732 |
"Remove Settings when plugin is deactivated from the \"Manage Plugins\" page. "
|
733 |
"(default: off)"
|
734 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/admin-head.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
if ( isset($_REQUEST['
|
4 |
-
|
5 |
|
6 |
|
7 |
// Get array with all the options
|
@@ -17,6 +17,4 @@ $msArray = array( 0, 25, 50, 75, 100, 200, 300, 400, 500, 600, 700, 800, 900, 10
|
|
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' );
|
21 |
-
|
22 |
-
?>
|
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
|
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' );
|
|
|
|
lib/admin-tab-animations.php
CHANGED
@@ -38,7 +38,7 @@
|
|
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
|
@@ -54,7 +54,7 @@
|
|
54 |
</fieldset>
|
55 |
</td>
|
56 |
</tr>
|
57 |
-
|
58 |
<tr valign="top">
|
59 |
<th scope="row"><?php _e('Transition Type', 'mfbfw'); ?></th>
|
60 |
<td>
|
@@ -99,9 +99,9 @@
|
|
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">
|
@@ -116,7 +116,7 @@
|
|
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">
|
@@ -131,7 +131,7 @@
|
|
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">
|
@@ -148,7 +148,7 @@
|
|
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>
|
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
|
54 |
</fieldset>
|
55 |
</td>
|
56 |
</tr>
|
57 |
+
|
58 |
<tr valign="top">
|
59 |
<th scope="row"><?php _e('Transition Type', 'mfbfw'); ?></th>
|
60 |
<td>
|
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">
|
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">
|
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">
|
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>
|
lib/admin-tab-appearance.php
CHANGED
@@ -9,19 +9,19 @@
|
|
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>
|
@@ -37,7 +37,7 @@
|
|
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 />
|
@@ -60,7 +60,7 @@
|
|
60 |
<label for="closePosTop">
|
61 |
<?php _e('Top (default)', 'mfbfw'); ?>
|
62 |
</label><br /><br />
|
63 |
-
|
64 |
</div>
|
65 |
|
66 |
</fieldset>
|
@@ -76,7 +76,7 @@
|
|
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">
|
@@ -97,7 +97,7 @@
|
|
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">
|
@@ -117,13 +117,13 @@
|
|
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>
|
@@ -133,14 +133,14 @@
|
|
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'); ?>
|
@@ -150,24 +150,24 @@
|
|
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>
|
@@ -177,7 +177,7 @@
|
|
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>
|
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>
|
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 />
|
60 |
<label for="closePosTop">
|
61 |
<?php _e('Top (default)', 'mfbfw'); ?>
|
62 |
</label><br /><br />
|
63 |
+
|
64 |
</div>
|
65 |
|
66 |
</fieldset>
|
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">
|
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">
|
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>
|
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'); ?>
|
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>
|
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>
|
lib/admin-tab-behaviour.php
CHANGED
@@ -48,7 +48,7 @@
|
|
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>
|
@@ -62,7 +62,7 @@
|
|
62 |
</fieldset>
|
63 |
</td>
|
64 |
</tr>
|
65 |
-
|
66 |
<tr valign="top">
|
67 |
<th scope="row"><?php _e('Close with "Esc"', 'mfbfw'); ?></th>
|
68 |
<td>
|
@@ -76,7 +76,7 @@
|
|
76 |
</fieldset>
|
77 |
</td>
|
78 |
</tr>
|
79 |
-
|
80 |
<tr valign="top">
|
81 |
<th scope="row"><?php _e('Cyclic Galleries', 'mfbfw'); ?></th>
|
82 |
<td>
|
@@ -90,7 +90,7 @@
|
|
90 |
</fieldset>
|
91 |
</td>
|
92 |
</tr>
|
93 |
-
|
94 |
<tr valign="top">
|
95 |
<th scope="row"><?php _e('Mouse Wheel Navigation', 'mfbfw'); ?></th>
|
96 |
<td>
|
@@ -100,7 +100,7 @@
|
|
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>
|
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>
|
62 |
</fieldset>
|
63 |
</td>
|
64 |
</tr>
|
65 |
+
|
66 |
<tr valign="top">
|
67 |
<th scope="row"><?php _e('Close with "Esc"', 'mfbfw'); ?></th>
|
68 |
<td>
|
76 |
</fieldset>
|
77 |
</td>
|
78 |
</tr>
|
79 |
+
|
80 |
<tr valign="top">
|
81 |
<th scope="row"><?php _e('Cyclic Galleries', 'mfbfw'); ?></th>
|
82 |
<td>
|
90 |
</fieldset>
|
91 |
</td>
|
92 |
</tr>
|
93 |
+
|
94 |
<tr valign="top">
|
95 |
<th scope="row"><?php _e('Mouse Wheel Navigation', 'mfbfw'); ?></th>
|
96 |
<td>
|
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>
|
lib/admin-tab-calls.php
CHANGED
@@ -1,12 +1,12 @@
|
|
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>
|
@@ -16,13 +16,13 @@
|
|
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[extraCalls]" wrap="physical" id="extraCalls"><?php echo ($settings['extraCalls']); ?></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 />
|
@@ -34,10 +34,10 @@
|
|
34 |
});
|
35 |
</code></em></small><br /><br />
|
36 |
</div>
|
37 |
-
|
38 |
</fieldset>
|
39 |
</td>
|
40 |
</tr>
|
41 |
-
|
42 |
</tbody>
|
43 |
</table>
|
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>
|
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[extraCalls]" wrap="physical" id="extraCalls"><?php echo ($settings['extraCalls']); ?></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 />
|
34 |
});
|
35 |
</code></em></small><br /><br />
|
36 |
</div>
|
37 |
+
|
38 |
</fieldset>
|
39 |
</td>
|
40 |
</tr>
|
41 |
+
|
42 |
</tbody>
|
43 |
</table>
|
lib/admin-tab-info.php
CHANGED
@@ -3,7 +3,9 @@
|
|
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://josepardilla.com/">José 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 |
<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 />
|
8 |
-
|
9 |
<small style="color:red;"><em><?php _e('<strong>Note:</strong> If update to version 3.0.0 breaks fancybox on your blog you will probably have to reset your settings (with the white button below). I have tested this issue on several WordPress installations and it always worked, so it might depend on the server. Sorry for the inconvinience.', 'mfbfw'); ?></em></small><br /><br />
|
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://josepardilla.com/">José 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 />
|
10 |
+
|
11 |
<small style="color:red;"><em><?php _e('<strong>Note:</strong> If update to version 3.0.0 breaks fancybox on your blog you will probably have to reset your settings (with the white button below). I have tested this issue on several WordPress installations and it always worked, so it might depend on the server. Sorry for the inconvinience.', 'mfbfw'); ?></em></small><br /><br />
|
lib/admin-tab-other.php
CHANGED
@@ -1,20 +1,20 @@
|
|
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">
|
@@ -30,7 +30,7 @@
|
|
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>
|
@@ -40,47 +40,47 @@
|
|
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>
|
@@ -89,12 +89,12 @@
|
|
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>
|
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">
|
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>
|
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>
|
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>
|
lib/admin-tab-support.php
CHANGED
@@ -4,13 +4,13 @@
|
|
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('If you are having trouble with this plugin take a look at this <a target="_blank" href="http://plugins.josepardilla.com/fancybox-for-wordpress/faq">FAQ</a> where i will try to cover the most common problems and their solutions.', 'mfbfw'); ?></li>
|
11 |
<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>
|
12 |
<li><?php _e("Try reverting the plugin's settings to their defaults with the button below.", 'mfbfw'); ?></li>
|
13 |
-
<li><?php _e('If you still can not get the plugin to work, <a target="_blank" href="http://wordpress.org/
|
14 |
</ul>
|
15 |
-
|
16 |
<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>
|
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('If you are having trouble with this plugin take a look at this <a target="_blank" href="http://plugins.josepardilla.com/fancybox-for-wordpress/faq">FAQ</a> where i will try to cover the most common problems and their solutions.', 'mfbfw'); ?></li>
|
11 |
<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>
|
12 |
<li><?php _e("Try reverting the plugin's settings to their defaults with the button below.", 'mfbfw'); ?></li>
|
13 |
+
<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>
|
14 |
</ul>
|
15 |
+
|
16 |
<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>
|
readme.txt
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
=== FancyBox for WordPress ===
|
2 |
Contributors: moskis
|
3 |
Tags: fancybox, lightbox, jquery, gallery, image, images, photo, photos, picture, pictures
|
4 |
-
Requires at least:
|
5 |
-
Tested up to: 3.
|
6 |
-
Stable tag: 3.0.
|
7 |
License: GPL/MIT
|
8 |
|
9 |
-
Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done.
|
10 |
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
-
Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done.
|
15 |
|
16 |
You can easely customize almost anything you can think about fancybox: 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 |
|
@@ -25,6 +25,18 @@ You can see the plugin working on [this blog](http://plugins.josepardilla.com/fa
|
|
25 |
|
26 |
This changelog is for the WordPress plugin. For the Fancybox main changelog go to its [home page](http://fancybox.net/changelog/).
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
= 3.0.1 =
|
29 |
* Updated: Localization catalog updated.
|
30 |
* Updated: Spanish localization.
|
@@ -167,34 +179,4 @@ This changelog is for the WordPress plugin. For the Fancybox main changelog go t
|
|
167 |
|
168 |
== Frequently Asked Questions ==
|
169 |
|
170 |
-
|
171 |
-
|
172 |
-
NO. I just ported it to WordPress. For more info on the FancyBox script itself [visit its website](http://fancybox.net/).
|
173 |
-
|
174 |
-
= Help translate the plugin to your language =
|
175 |
-
|
176 |
-
If you want to make a localization you can use the sources in the laguages folder and email me the PO and MO files (or just the PO) at jose (at) moskis.net. I will add it in the next release and if you want me to, i'll send you updated pot file a couple of days before future releases.
|
177 |
-
|
178 |
-
= The plugin does not work =
|
179 |
-
|
180 |
-
The most common problem is another plugin or your theme conflicting with the plugin. This is usually caused by some plugin that load jQuery directly instead of using the wp_enqueue_script function. Try following all the guidelines in the options page, and if necesary try the troubleshooting settings.
|
181 |
-
|
182 |
-
If the plugin is not working or you find any bug/bad behaviour/conflict deactivate it and email me at jose (at) moskis.net with a description of the problem, and i'll take a look at it.
|
183 |
-
|
184 |
-
If activating the plugin somehow brakes your panel (cant imagine that happening but just in case) delete the plugin from the plugins folder and go to your blog panel.
|
185 |
-
|
186 |
-
= Suggestions and feature requests? =
|
187 |
-
|
188 |
-
Don't hesitate to email me at jose (at) moskis.net with any thoughts about this plugin, feature requests, issues, doubts suggestions, anything goes. :)
|
189 |
-
|
190 |
-
= How does the plugin exactly work? =
|
191 |
-
|
192 |
-
First the plugin checks if your blog is using jQuery, if not it will load it from the WordPress files. Then it will load the FancyBox JavaScript, which is where all the magic happens. After this all the CSS code needed to beautify the plugin is added to the page. Finally, the JavaScript waits for your blog to finish loading and then it looks for all links where FancyBox can be applied, and adds it. And that's it. :)
|
193 |
-
|
194 |
-
= The plugin does not work with Mandingo theme =
|
195 |
-
|
196 |
-
To fix this edit the file /themes/mandigo/header.php and remove the line 231:
|
197 |
-
|
198 |
-
<code><script type="text/javascript" src="<?php echo $dirs['www']['js']; ?>jquery.js"></script></code>
|
199 |
-
|
200 |
-
After applying this fix everything seems to work perfectly.
|
1 |
=== FancyBox for WordPress ===
|
2 |
Contributors: moskis
|
3 |
Tags: fancybox, lightbox, jquery, gallery, image, images, photo, photos, picture, pictures
|
4 |
+
Requires at least: 3.4
|
5 |
+
Tested up to: 3.4
|
6 |
+
Stable tag: 3.0.2
|
7 |
License: GPL/MIT
|
8 |
|
9 |
+
Seamlessly integrates FancyBox into your 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 easely customize almost anything you can think about fancybox: 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 |
|
25 |
|
26 |
This changelog is for the WordPress plugin. For the Fancybox main changelog go to its [home page](http://fancybox.net/changelog/).
|
27 |
|
28 |
+
= 3.0.2 =
|
29 |
+
* Added support for disabling fancybox on individual hyperlinked images by adding class='nolightbox'. (Thanks to Artem Russakovskii)
|
30 |
+
* Added a link to the github project page in the info tab in the settings page.
|
31 |
+
* Fixed and cleaned the installation code, new installations of the plugin should work now without need to go to the settings page.
|
32 |
+
* Fixed false positives in filenames. (Thanks to Artem Russakovskii)
|
33 |
+
* Fixed incompatibility with wordpress installations where the wp-content directory had been renamed.
|
34 |
+
* Fixed an issue that could cause the version of the plugin to be removed from settings when deactivating the plugin.
|
35 |
+
* Improved HTTPS support by using better code to retrieve the plugin url and load files.
|
36 |
+
* 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.
|
37 |
+
* Updated some CSS rules in jQuery UI
|
38 |
+
* Some minor reformatting and cleanup of code (PHP comments, empty lines, )
|
39 |
+
|
40 |
= 3.0.1 =
|
41 |
* Updated: Localization catalog updated.
|
42 |
* Updated: Spanish localization.
|
179 |
|
180 |
== Frequently Asked Questions ==
|
181 |
|
182 |
+
You can find a FAQ section ay [plugins.josepardilla.com](http://plugins.josepardilla.com/fancybox-for-wordpress/faq/).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
settings.php
DELETED
@@ -1,233 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/*-----------------------------------------------------------------------------------*/
|
4 |
-
/* Default settings
|
5 |
-
/*-----------------------------------------------------------------------------------*/
|
6 |
-
|
7 |
-
function mfbfw_defaults() {
|
8 |
-
$defaults_array = array(
|
9 |
-
|
10 |
-
// Appearance
|
11 |
-
'border' => '',
|
12 |
-
'borderColor' => '#BBBBBB',
|
13 |
-
'showCloseButton' => 'on',
|
14 |
-
'closeHorPos' => 'right',
|
15 |
-
'closeVerPos' => 'top',
|
16 |
-
'paddingColor' => '#FFFFFF',
|
17 |
-
'padding' => '10',
|
18 |
-
'overlayShow' => 'on',
|
19 |
-
'overlayColor' => '#666666',
|
20 |
-
'overlayOpacity' => '0.3',
|
21 |
-
'titleShow' => 'on',
|
22 |
-
'titlePosition' => 'inside',
|
23 |
-
'titleColor' => '#333333',
|
24 |
-
'showNavArrows' => 'on',
|
25 |
-
|
26 |
-
// Animations
|
27 |
-
'zoomOpacity' => 'on',
|
28 |
-
'zoomSpeedIn' => '500',
|
29 |
-
'zoomSpeedOut' => '500',
|
30 |
-
'zoomSpeedChange' => '300',
|
31 |
-
'transitionIn' => 'fade',
|
32 |
-
'transitionOut' => 'fade',
|
33 |
-
'easing' => '',
|
34 |
-
'easingIn' => 'easeOutBack',
|
35 |
-
'easingOut' => 'easeInBack',
|
36 |
-
'easingChange' => 'easeInOutQuart',
|
37 |
-
|
38 |
-
// Behaviour
|
39 |
-
'imageScale' => 'on',
|
40 |
-
'centerOnScroll' => 'on',
|
41 |
-
'hideOnContentClick' => '',
|
42 |
-
'hideOnOverlayClick' => 'on',
|
43 |
-
'enableEscapeButton' => 'on',
|
44 |
-
'cyclic' => '',
|
45 |
-
'mouseWheel' => '',
|
46 |
-
|
47 |
-
// Gallery Type
|
48 |
-
'galleryType' => 'all',
|
49 |
-
'customExpression' => 'jQuery(thumbnails).addClass("fancybox").attr("rel","fancybox").getTitle();',
|
50 |
-
|
51 |
-
// Other
|
52 |
-
'autoDimensions' => 'on',//
|
53 |
-
'frameWidth' => '560',
|
54 |
-
'frameHeight' => '340',
|
55 |
-
'loadAtFooter' => '',
|
56 |
-
'callbackEnable' => '',
|
57 |
-
'callbackOnStart' => 'function() { alert("Start!"); }',
|
58 |
-
'callbackOnCancel' => 'function() { alert("Cancel!"); }',
|
59 |
-
'callbackOnComplete' => 'function() { alert("Complete!"); }',
|
60 |
-
'callbackOnCleanup' => 'function() { alert("CleanUp!"); }',
|
61 |
-
'callbackOnClose' => 'function() { alert("Close!"); }',
|
62 |
-
|
63 |
-
// Troubleshooting
|
64 |
-
'nojQuery' => '',
|
65 |
-
|
66 |
-
// Extra Calls
|
67 |
-
'extraCallsEnable' => '',
|
68 |
-
'extraCalls' => '',
|
69 |
-
|
70 |
-
// Uninstall
|
71 |
-
'uninstall' => ''
|
72 |
-
|
73 |
-
);
|
74 |
-
return $defaults_array;
|
75 |
-
}
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
/*-----------------------------------------------------------------------------------*/
|
80 |
-
/* When plugin is installed, write defaul settings and update version
|
81 |
-
/*-----------------------------------------------------------------------------------*/
|
82 |
-
|
83 |
-
function mfbfw_install() {
|
84 |
-
|
85 |
-
// If settings pressent populate database with defaults
|
86 |
-
if ( get_option( 'mfbfw_active_version' ) == false ) {
|
87 |
-
|
88 |
-
$defaults_array = mfbfw_defaults();
|
89 |
-
|
90 |
-
add_option( 'mfbfw', $defaults_array );
|
91 |
-
add_option( 'mfbfw_active_version', FBFW_VERSION );
|
92 |
-
|
93 |
-
}
|
94 |
-
|
95 |
-
}
|
96 |
-
register_activation_hook( __FILE__, 'mfbfw_install' );
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
/*-----------------------------------------------------------------------------------*/
|
101 |
-
/* Plugin update and settings conversion
|
102 |
-
/*-----------------------------------------------------------------------------------*/
|
103 |
-
|
104 |
-
// Get database version and convert to integrer to compare with current version
|
105 |
-
$db_version = intval( str_replace( ".", "", get_option('mfbfw_active_version') ) );
|
106 |
-
$current_version = intval( str_replace( ".", "", FBFW_VERSION ) );
|
107 |
-
|
108 |
-
|
109 |
-
// If lower than current version we need to get old options, convert, and delete them
|
110 |
-
if ( $db_version < $current_version ) {
|
111 |
-
|
112 |
-
$old_settings_array = array (
|
113 |
-
|
114 |
-
'titleShow' => get_option('mfbfw_showTitle'),
|
115 |
-
'border' => get_option('mfbfw_border'),
|
116 |
-
'borderColor' => get_option('mfbfw_borderColor'),
|
117 |
-
'closeHorPos' => get_option('mfbfw_closeHorPos'),
|
118 |
-
'closeVerPos' => get_option('mfbfw_closeVerPos'),
|
119 |
-
'paddingColor' => get_option('mfbfw_paddingColor'),
|
120 |
-
'padding' => get_option('mfbfw_padding'),
|
121 |
-
'overlayShow' => get_option('mfbfw_overlayShow'),
|
122 |
-
'overlayColor' => get_option('mfbfw_overlayColor'),
|
123 |
-
'overlayOpacity' => get_option('mfbfw_overlayOpacity'),
|
124 |
-
'zoomOpacity' => get_option('mfbfw_zoomOpacity'),
|
125 |
-
'zoomSpeedIn' => get_option('mfbfw_zoomSpeedIn'),
|
126 |
-
'zoomSpeedOut' => get_option('mfbfw_zoomSpeedOut'),
|
127 |
-
'zoomSpeedChange' => get_option('mfbfw_zoomSpeedChange'),
|
128 |
-
'easing' => get_option('mfbfw_easing'),
|
129 |
-
'easingIn' => get_option('mfbfw_easingIn'),
|
130 |
-
'easingOut' => get_option('mfbfw_easingOut'),
|
131 |
-
'easingChange' => get_option('mfbfw_easingChange'),
|
132 |
-
|
133 |
-
'imageScale' => get_option('mfbfw_imageScale'),
|
134 |
-
'enableEscapeButton' => get_option('mfbfw_enableEscapeButton'),
|
135 |
-
'showCloseButton' => get_option('mfbfw_showCloseButton'),
|
136 |
-
'centerOnScroll' => get_option('mfbfw_centerOnScroll'),
|
137 |
-
'hideOnOverlayClick' => get_option('mfbfw_hideOnOverlayClick'),
|
138 |
-
'hideOnContentClick' => get_option('mfbfw_hideOnContentClick'),
|
139 |
-
'loadAtFooter' => get_option('mfbfw_loadAtFooter'),
|
140 |
-
'frameWidth' => get_option('mfbfw_frameWidth'),
|
141 |
-
'frameHeight' => get_option('mfbfw_frameHeight'),
|
142 |
-
|
143 |
-
'callbackOnStart' => get_option('mfbfw_callbackOnStart'),
|
144 |
-
'callbackOnComplete' => get_option('mfbfw_callbackOnShow'),
|
145 |
-
'callbackOnClose' => get_option('mfbfw_callbackOnClose'),
|
146 |
-
|
147 |
-
'galleryType' => get_option('mfbfw_galleryType'),
|
148 |
-
'customExpression' => get_option('mfbfw_customExpression'),
|
149 |
-
|
150 |
-
'nojQuery' => get_option('mfbfw_nojQuery'),
|
151 |
-
'jQnoConflict' => get_option('mfbfw_jQnoConflict'),
|
152 |
-
|
153 |
-
'uninstall' => get_option('mfbfw_uninstall'),
|
154 |
-
|
155 |
-
|
156 |
-
// New Settings since 3.0
|
157 |
-
'titlePosition' => 'inside',
|
158 |
-
'titleColor' => '#333333',
|
159 |
-
'showNavArrows' => 'on',
|
160 |
-
|
161 |
-
'transitionIn' => 'fade',
|
162 |
-
'transitionOut' => 'fade',
|
163 |
-
|
164 |
-
'cyclic' => '',
|
165 |
-
'mouseWheel' => '',
|
166 |
-
|
167 |
-
'autoDimensions' => 'on',
|
168 |
-
|
169 |
-
'callbackEnable' => '',
|
170 |
-
'callbackOnCancel' => 'function() { alert("Cancel!"); }',
|
171 |
-
'callbackOnCleanup' => 'function() { alert("CleanUp!"); }',
|
172 |
-
|
173 |
-
'extraCallsEnable' => '',
|
174 |
-
'extraCalls' => ''
|
175 |
-
|
176 |
-
);
|
177 |
-
|
178 |
-
// save old settings to database in a single serialized option
|
179 |
-
add_option( 'mfbfw', $old_settings_array );
|
180 |
-
|
181 |
-
// Get deprecated settings and delete them from database
|
182 |
-
$deprecated_array = array (
|
183 |
-
'mfbfw_version',
|
184 |
-
'mfbfw_showTitle',
|
185 |
-
'mfbfw_border',
|
186 |
-
'mfbfw_borderColor',
|
187 |
-
'mfbfw_closeHorPos',
|
188 |
-
'mfbfw_closeVerPos',
|
189 |
-
'mfbfw_paddingColor',
|
190 |
-
'mfbfw_padding',
|
191 |
-
'mfbfw_overlayShow',
|
192 |
-
'mfbfw_overlayColor',
|
193 |
-
'mfbfw_overlayOpacity',
|
194 |
-
'mfbfw_zoomOpacity',
|
195 |
-
'mfbfw_zoomSpeedIn',
|
196 |
-
'mfbfw_zoomSpeedOut',
|
197 |
-
'mfbfw_zoomSpeedChange',
|
198 |
-
'mfbfw_easing',
|
199 |
-
'mfbfw_easingIn',
|
200 |
-
'mfbfw_easingOut',
|
201 |
-
'mfbfw_easingChange',
|
202 |
-
'mfbfw_imageScale',
|
203 |
-
'mfbfw_enableEscapeButton',
|
204 |
-
'mfbfw_showCloseButton',
|
205 |
-
'mfbfw_centerOnScroll',
|
206 |
-
'mfbfw_hideOnOverlayClick',
|
207 |
-
'mfbfw_hideOnContentClick',
|
208 |
-
'mfbfw_loadAtFooter',
|
209 |
-
'mfbfw_frameWidth',
|
210 |
-
'mfbfw_frameHeight',
|
211 |
-
'mfbfw_callbackOnStart',
|
212 |
-
'mfbfw_callbackOnShow',
|
213 |
-
'mfbfw_callbackOnClose',
|
214 |
-
'mfbfw_galleryType',
|
215 |
-
'mfbfw_customExpression',
|
216 |
-
'mfbfw_nojQuery',
|
217 |
-
'mfbfw_jQnoConflict',
|
218 |
-
'mfbfw_autoApply',
|
219 |
-
'mfbfw_closePosition',
|
220 |
-
'mfbfw_noTextLinks',
|
221 |
-
'mfbfw_uninstall'
|
222 |
-
);
|
223 |
-
|
224 |
-
foreach ( $deprecated_array as $key ) {
|
225 |
-
delete_option( $key );
|
226 |
-
}
|
227 |
-
|
228 |
-
// Update Version
|
229 |
-
update_option( 'mfbfw_active_version', FBFW_VERSION );
|
230 |
-
|
231 |
-
}
|
232 |
-
|
233 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|