Version Description
- New: Fancybox v1.3.4 support This includes many new options, like title position.
- New: Additional FancyBox Calls option that lets the user write their own additional code to use FancyBox on specific areas of the blog, like email subscription buttons, login, etc.
- New: Revert settings button added to options page. When pressed, a confirmation dialog will appear.
- New: Improvements in options page, irrelevant settings (settings that depend on a disabled setting) will hide on real time, meaning a cleaner look in the options page.
- Updated: New cleaner code to select thumbnails on which to apply the fancbox script.
- Updated: Many parts of plugins rewriten with many improvements in code.
- Updated: Options are now serialized into a single row in the database.
- Fixed: Plugin should be SSL friendly from now on.
- Fixed: Do not call jQuery option in troubleshooting section didn't work if easing was enabled.
- Fixed: Load at footer options should work better now.
- Fixed: CSS external files now addded with wp_enqueue_style().
- Fixed: has_cap error: User level value for options page removed, using role now instead. Thanks to vonkanehoffen.
- Removed: jQuery "noConflict" Mode option removed bacause jQuery bundled with WordPress always used noConflict.
- Removed: Base64 data ("data:image/gif;base64,AAAA") in left and right fancybox link's backgrounds: It didn't seem to be working and it is usually regarded as suspicious code, so it has been removed.
Download this release
Release Info
Developer | moskis |
Plugin | FancyBox for WordPress |
Version | 3.0.0 |
Comparing to | |
See all releases |
Code changes from version 2.7.5 to 3.0.0
- admin.php +39 -30
- css/fancybox-admin.css +45 -0
- css/fancybox.css +0 -281
- css/img/fancy_closebox.png +0 -0
- css/img/fancy_left.png +0 -0
- css/img/fancy_progress.png +0 -0
- css/img/fancy_right.png +0 -0
- css/img/fancy_shadow_e.png +0 -0
- css/img/fancy_shadow_n.png +0 -0
- css/img/fancy_shadow_ne.png +0 -0
- css/img/fancy_shadow_nw.png +0 -0
- css/img/fancy_shadow_s.png +0 -0
- css/img/fancy_shadow_se.png +0 -0
- css/img/fancy_shadow_sw.png +0 -0
- css/img/fancy_shadow_w.png +0 -0
- css/img/fancy_title_left.png +0 -0
- css/img/fancy_title_main.png +0 -0
- css/img/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- css/img/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- css/img/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- css/jquery-ui.css +64 -64
- fancybox.php +244 -315
- fancybox/blank.gif +0 -0
- fancybox/fancy_close.png +0 -0
- fancybox/fancy_loading.png +0 -0
- fancybox/fancy_nav_left.png +0 -0
- fancybox/fancy_nav_right.png +0 -0
- fancybox/fancy_shadow_e.png +0 -0
- fancybox/fancy_shadow_n.png +0 -0
- fancybox/fancy_shadow_ne.png +0 -0
- fancybox/fancy_shadow_nw.png +0 -0
- fancybox/fancy_shadow_s.png +0 -0
- fancybox/fancy_shadow_se.png +0 -0
- fancybox/fancy_shadow_sw.png +0 -0
- fancybox/fancy_shadow_w.png +0 -0
- fancybox/fancy_title_left.png +0 -0
- fancybox/fancy_title_main.png +0 -0
- fancybox/fancy_title_over.png +0 -0
- {css/img → fancybox}/fancy_title_right.png +0 -0
- fancybox/fancybox-x.png +0 -0
- fancybox/fancybox-y.png +0 -0
- fancybox/fancybox.css +359 -0
- fancybox/fancybox.png +0 -0
- fancybox/jquery.fancybox.js +46 -0
- js/admin.js +83 -24
- js/jquery.easing.1.3.min.js +1 -1
- js/jquery.fancybox-1.2.6.min.js +0 -1
- js/jquery.mousewheel.3.0.4.pack.js +14 -0
- languages/mfbfw-es_ES.po +538 -538
- languages/mfbfw-ja.po +325 -325
- languages/mfbfw-tr_TR.po +325 -325
- lib/admin-head.php +14 -9
- lib/admin-tab-animations.php +84 -39
- lib/admin-tab-appearance.php +112 -56
- lib/admin-tab-behaviour.php +41 -11
- lib/admin-tab-calls.php +43 -0
- lib/admin-tab-galleries.php +10 -10
- lib/admin-tab-info.php +3 -7
- lib/admin-tab-other.php +60 -34
- lib/admin-tab-support.php +7 -6
- lib/admin-tab-troubleshooting.php +3 -19
- lib/admin-tab-uninstall.php +2 -2
- readme.txt +22 -6
- settings.php +233 -0
admin.php
CHANGED
@@ -2,85 +2,90 @@
|
|
2 |
|
3 |
function mfbfw_options_page() {
|
4 |
|
5 |
-
require_once( FBFW_PATH . '/lib/admin-head.php');
|
6 |
|
7 |
?>
|
8 |
|
9 |
<div class="wrap">
|
10 |
|
11 |
-
<div id="icon-plugins" class="icon32"></div><h2><?php printf(__('Fancybox for WordPress (version %s)', 'mfbfw'), $
|
12 |
|
13 |
<br />
|
14 |
|
15 |
<form method="post" action="options.php" id="options">
|
16 |
|
17 |
-
<?php
|
18 |
-
|
19 |
-
wp_nonce_field('update-options');
|
20 |
-
settings_fields('mfbfw-options');
|
21 |
-
|
22 |
-
?>
|
23 |
|
24 |
<div id="fbfwTabs">
|
25 |
|
26 |
<ul>
|
27 |
-
<li><a
|
28 |
-
<li><a href="#fbfw-appearance"><?php _e('Appearance', 'mfbfw'); ?></a></li>
|
29 |
-
<li><a href="#fbfw-animations"><?php _e('Animations', 'mfbfw'); ?></a></li>
|
30 |
-
<li><a href="#fbfw-behaviour"><?php _e('Behaviour', 'mfbfw'); ?></a></li>
|
31 |
-
<li><a href="#fbfw-galleries"><?php _e('Galleries', 'mfbfw'); ?></a></li>
|
32 |
-
<li><a href="#fbfw-other"><?php _e('
|
33 |
-
<li><a href="#fbfw-
|
34 |
-
<li><a href="#fbfw-
|
35 |
-
<li><a href="#fbfw-
|
|
|
36 |
</ul>
|
37 |
|
38 |
<div id="fbfw-info">
|
39 |
-
<?php require_once ( FBFW_PATH . '/lib/admin-tab-info.php'); ?>
|
40 |
</div>
|
41 |
|
42 |
<div id="fbfw-appearance">
|
43 |
-
<?php require_once ( FBFW_PATH . '/lib/admin-tab-appearance.php'); ?>
|
44 |
</div>
|
45 |
|
46 |
<div id="fbfw-animations">
|
47 |
-
<?php require_once ( FBFW_PATH . '/lib/admin-tab-animations.php'); ?>
|
48 |
</div>
|
49 |
|
50 |
<div id="fbfw-behaviour">
|
51 |
-
<?php require_once ( FBFW_PATH . '/lib/admin-tab-behaviour.php'); ?>
|
52 |
</div>
|
53 |
|
54 |
<div id="fbfw-galleries">
|
55 |
-
<?php require_once ( FBFW_PATH . '/lib/admin-tab-galleries.php'); ?>
|
56 |
</div>
|
57 |
|
58 |
<div id="fbfw-other">
|
59 |
-
<?php require_once ( FBFW_PATH . '/lib/admin-tab-other.php'); ?>
|
|
|
|
|
|
|
|
|
60 |
</div>
|
61 |
|
62 |
<div id="fbfw-troubleshooting">
|
63 |
-
<?php require_once ( FBFW_PATH . '/lib/admin-tab-troubleshooting.php'); ?>
|
64 |
</div>
|
65 |
|
66 |
<div id="fbfw-support">
|
67 |
-
<?php require_once ( FBFW_PATH . '/lib/admin-tab-support.php'); ?>
|
68 |
</div>
|
69 |
|
70 |
<div id="fbfw-uninstall">
|
71 |
-
<?php require_once ( FBFW_PATH . '/lib/admin-tab-uninstall.php'); ?>
|
72 |
</div>
|
73 |
|
74 |
</div>
|
75 |
|
76 |
-
<input type="hidden" name="action" value="update" />
|
77 |
-
|
78 |
<p class="submit" style="text-align:center;">
|
79 |
-
<input type="submit" name="
|
80 |
</p>
|
81 |
|
82 |
</form>
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
<div id="mfbfwd" style="border-top:1px dashed #DDDDDD;margin:20px auto 40px;overflow:hidden;padding-top:25px;width:735px">
|
85 |
|
86 |
<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">
|
@@ -119,4 +124,8 @@ function mfbfw_options_page() {
|
|
119 |
|
120 |
</div>
|
121 |
|
122 |
-
<?php
|
|
|
|
|
|
|
|
2 |
|
3 |
function mfbfw_options_page() {
|
4 |
|
5 |
+
require_once( FBFW_PATH . '/lib/admin-head.php' );
|
6 |
|
7 |
?>
|
8 |
|
9 |
<div class="wrap">
|
10 |
|
11 |
+
<div id="icon-plugins" class="icon32"></div><h2><?php printf( __('Fancybox for WordPress (version %s)', 'mfbfw'), $version ); ?></h2>
|
12 |
|
13 |
<br />
|
14 |
|
15 |
<form method="post" action="options.php" id="options">
|
16 |
|
17 |
+
<?php settings_fields( 'mfbfw-options' ); ?>
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
<div id="fbfwTabs">
|
20 |
|
21 |
<ul>
|
22 |
+
<li><a href="#fbfw-info"><?php _e( 'Info', 'mfbfw' ); ?></a></li>
|
23 |
+
<li><a href="#fbfw-appearance"><?php _e( 'Appearance', 'mfbfw' ); ?></a></li>
|
24 |
+
<li><a href="#fbfw-animations"><?php _e( 'Animations', 'mfbfw' ); ?></a></li>
|
25 |
+
<li><a href="#fbfw-behaviour"><?php _e( 'Behaviour', 'mfbfw' ); ?></a></li>
|
26 |
+
<li><a href="#fbfw-galleries"><?php _e( 'Galleries', 'mfbfw' ); ?></a></li>
|
27 |
+
<li><a href="#fbfw-other"><?php _e( 'Miscellaneous', 'mfbfw' ); ?></a></li>
|
28 |
+
<li><a href="#fbfw-calls"><?php _e( 'Extra Calls', 'mfbfw' ); ?></a></li>
|
29 |
+
<li><a href="#fbfw-troubleshooting"><?php _e( 'Troubleshooting', 'mfbfw' ); ?></a></li>
|
30 |
+
<li><a href="#fbfw-support" style="color:green;"><?php _e( 'Support', 'mfbfw' ); ?></a></li>
|
31 |
+
<li><a href="#fbfw-uninstall" style="color:red;"><?php _e ('Uninstall', 'mfbfw' ); ?></a></li>
|
32 |
</ul>
|
33 |
|
34 |
<div id="fbfw-info">
|
35 |
+
<?php require_once ( FBFW_PATH . '/lib/admin-tab-info.php' ); ?>
|
36 |
</div>
|
37 |
|
38 |
<div id="fbfw-appearance">
|
39 |
+
<?php require_once ( FBFW_PATH . '/lib/admin-tab-appearance.php' ); ?>
|
40 |
</div>
|
41 |
|
42 |
<div id="fbfw-animations">
|
43 |
+
<?php require_once ( FBFW_PATH . '/lib/admin-tab-animations.php' ); ?>
|
44 |
</div>
|
45 |
|
46 |
<div id="fbfw-behaviour">
|
47 |
+
<?php require_once ( FBFW_PATH . '/lib/admin-tab-behaviour.php' ); ?>
|
48 |
</div>
|
49 |
|
50 |
<div id="fbfw-galleries">
|
51 |
+
<?php require_once ( FBFW_PATH . '/lib/admin-tab-galleries.php' ); ?>
|
52 |
</div>
|
53 |
|
54 |
<div id="fbfw-other">
|
55 |
+
<?php require_once ( FBFW_PATH . '/lib/admin-tab-other.php' ); ?>
|
56 |
+
</div>
|
57 |
+
|
58 |
+
<div id="fbfw-calls">
|
59 |
+
<?php require_once ( FBFW_PATH . '/lib/admin-tab-calls.php' ); ?>
|
60 |
</div>
|
61 |
|
62 |
<div id="fbfw-troubleshooting">
|
63 |
+
<?php require_once ( FBFW_PATH . '/lib/admin-tab-troubleshooting.php' ); ?>
|
64 |
</div>
|
65 |
|
66 |
<div id="fbfw-support">
|
67 |
+
<?php require_once ( FBFW_PATH . '/lib/admin-tab-support.php' ); ?>
|
68 |
</div>
|
69 |
|
70 |
<div id="fbfw-uninstall">
|
71 |
+
<?php require_once ( FBFW_PATH . '/lib/admin-tab-uninstall.php' ); ?>
|
72 |
</div>
|
73 |
|
74 |
</div>
|
75 |
|
|
|
|
|
76 |
<p class="submit" style="text-align:center;">
|
77 |
+
<input type="submit" name="mfbfw_update" class="button-primary" value="<?php esc_attr_e( 'Save Changes', 'mfbfw' ); ?>" />
|
78 |
</p>
|
79 |
|
80 |
</form>
|
81 |
|
82 |
+
<form method="post" action="">
|
83 |
+
<div style="text-align:center;padding:0 0 1.5em;margin:-15px 0 5px;">
|
84 |
+
<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">
|
124 |
|
125 |
</div>
|
126 |
|
127 |
+
<?php
|
128 |
+
|
129 |
+
}
|
130 |
+
|
131 |
+
?>
|
css/fancybox-admin.css
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#mfbfwd {
|
2 |
+
border-top:1px dashed #DDDDDD;
|
3 |
+
margin:20px auto 40px;
|
4 |
+
overflow:hidden;
|
5 |
+
padding-top:25px;
|
6 |
+
width:726px;
|
7 |
+
}
|
8 |
+
|
9 |
+
.mfbfw_box {
|
10 |
+
border-radius:3px;
|
11 |
+
float:left;
|
12 |
+
font-weight:bold;
|
13 |
+
height:90px;
|
14 |
+
margin:5px 5px 3px;
|
15 |
+
opacity:0.7;
|
16 |
+
padding:0 5px;
|
17 |
+
text-align:center;
|
18 |
+
width:220px;
|
19 |
+
}
|
20 |
+
|
21 |
+
.mfbfw_box:hover {
|
22 |
+
opacity:0.9;
|
23 |
+
}
|
24 |
+
|
25 |
+
.mfbfw_blue {
|
26 |
+
background:#fdca57;
|
27 |
+
border:1px solid #d7922d;
|
28 |
+
color:#975c25;
|
29 |
+
-webkit-box-shadow: inset 0px 0px 20px 5px #fb9822, inset 0px 1px 0px #fff, 0 0 0 2px rgba(0,0,0,0.05), 0 0 2px rgba(0,0,0,0.5);
|
30 |
+
-moz-box-shadow: inset 0px 0px 20px 5px #fb9822, inset 0px 1px 0px #fff, 0 0 0 2px rgba(0,0,0,0.05), 0 0 2px rgba(0,0,0,0.5);
|
31 |
+
box-shadow: inset 0px 0px 20px 5px #fb9822, inset 0px 1px 0px #fff, 0 0 0 2px rgba(0,0,0,0.05), 0 0 2px rgba(0,0,0,0.5);
|
32 |
+
text-shadow: 0px 1px 0px #fee27d;
|
33 |
+
filter: dropshadow(color=#ffd21f, offx=0, offy=1);
|
34 |
+
}
|
35 |
+
|
36 |
+
.mfbfw_yellow {
|
37 |
+
background:#fdca57;
|
38 |
+
border:1px solid #d7922d;
|
39 |
+
color:#975c25;
|
40 |
+
-webkit-box-shadow: inset 0px 0px 20px 5px #fb9822, inset 0px 1px 0px #fff, 0 0 0 2px rgba(0,0,0,0.05), 0 0 2px rgba(0,0,0,0.5);
|
41 |
+
-moz-box-shadow: inset 0px 0px 20px 5px #fb9822, inset 0px 1px 0px #fff, 0 0 0 2px rgba(0,0,0,0.05), 0 0 2px rgba(0,0,0,0.5);
|
42 |
+
box-shadow: inset 0px 0px 20px 5px #fb9822, inset 0px 1px 0px #fff, 0 0 0 2px rgba(0,0,0,0.05), 0 0 2px rgba(0,0,0,0.5);
|
43 |
+
text-shadow: 0px 1px 0px #fee27d;
|
44 |
+
filter: dropshadow(color=#ffd21f, offx=0, offy=1);
|
45 |
+
}
|
css/fancybox.css
DELETED
@@ -1,281 +0,0 @@
|
|
1 |
-
div#fancy_overlay {
|
2 |
-
position: fixed;
|
3 |
-
top: 0;
|
4 |
-
left: 0;
|
5 |
-
width: 100%;
|
6 |
-
height: 100%;
|
7 |
-
display: none;
|
8 |
-
z-index: 300;
|
9 |
-
}
|
10 |
-
|
11 |
-
div#fancy_loading {
|
12 |
-
position: absolute;
|
13 |
-
height: 40px;
|
14 |
-
width: 40px;
|
15 |
-
cursor: pointer;
|
16 |
-
display: none;
|
17 |
-
overflow: hidden;
|
18 |
-
background: transparent;
|
19 |
-
z-index: 1000;
|
20 |
-
}
|
21 |
-
|
22 |
-
div#fancy_loading div {
|
23 |
-
position: absolute;
|
24 |
-
top: 0;
|
25 |
-
left: 0;
|
26 |
-
width: 40px;
|
27 |
-
height: 480px;
|
28 |
-
background: transparent url('img/fancy_progress.png') no-repeat;
|
29 |
-
}
|
30 |
-
|
31 |
-
div#fancy_outer {
|
32 |
-
position: absolute;
|
33 |
-
top: 0;
|
34 |
-
left: 0;
|
35 |
-
z-index: 900;
|
36 |
-
padding: 20px 20px 40px 20px;
|
37 |
-
margin: 0;
|
38 |
-
background: transparent;
|
39 |
-
display: none;
|
40 |
-
}
|
41 |
-
|
42 |
-
div#fancy_inner {
|
43 |
-
position: relative;
|
44 |
-
width:100%;
|
45 |
-
height:100%;
|
46 |
-
background: #FFF;
|
47 |
-
}
|
48 |
-
|
49 |
-
div#fancy_content {
|
50 |
-
margin: 0;
|
51 |
-
z-index: 1000;
|
52 |
-
position: absolute;
|
53 |
-
}
|
54 |
-
|
55 |
-
div#fancy_div {
|
56 |
-
background: #000;
|
57 |
-
color: #FFF;
|
58 |
-
height: 100%;
|
59 |
-
width: 100%;
|
60 |
-
z-index: 1000;
|
61 |
-
}
|
62 |
-
|
63 |
-
img#fancy_img {
|
64 |
-
position: absolute;
|
65 |
-
top: 0;
|
66 |
-
left: 0;
|
67 |
-
border:0;
|
68 |
-
padding: 0;
|
69 |
-
margin: 0;
|
70 |
-
z-index: 1000;
|
71 |
-
width: 100%;
|
72 |
-
height: 100%;
|
73 |
-
}
|
74 |
-
|
75 |
-
div#fancy_close {
|
76 |
-
position: absolute;
|
77 |
-
height: 30px;
|
78 |
-
width: 30px;
|
79 |
-
background: url('img/fancy_closebox.png') top left no-repeat;
|
80 |
-
cursor: pointer;
|
81 |
-
z-index: 1810;
|
82 |
-
display: none;
|
83 |
-
}
|
84 |
-
|
85 |
-
#fancy_frame {
|
86 |
-
position: relative;
|
87 |
-
width: 100%;
|
88 |
-
height: 100%;
|
89 |
-
display: none;
|
90 |
-
}
|
91 |
-
|
92 |
-
#fancy_ajax {
|
93 |
-
width: 100%;
|
94 |
-
height: 100%;
|
95 |
-
overflow: auto;
|
96 |
-
}
|
97 |
-
|
98 |
-
a#fancy_left, a#fancy_right {
|
99 |
-
position: absolute;
|
100 |
-
bottom: 0px;
|
101 |
-
height: 100%;
|
102 |
-
width: 35%;
|
103 |
-
cursor: pointer;
|
104 |
-
z-index: 1110;
|
105 |
-
display: none;
|
106 |
-
background-image: url("data:image/gif;base64,AAAA");
|
107 |
-
outline: none;
|
108 |
-
overflow: hidden;
|
109 |
-
}
|
110 |
-
|
111 |
-
a#fancy_left {
|
112 |
-
left: 0px;
|
113 |
-
}
|
114 |
-
|
115 |
-
a#fancy_right {
|
116 |
-
right: 0px;
|
117 |
-
}
|
118 |
-
|
119 |
-
span.fancy_ico {
|
120 |
-
position: absolute;
|
121 |
-
top: 50%;
|
122 |
-
margin-top: -15px;
|
123 |
-
width: 30px;
|
124 |
-
height: 30px;
|
125 |
-
z-index: 1120;
|
126 |
-
cursor: pointer;
|
127 |
-
display: block;
|
128 |
-
}
|
129 |
-
|
130 |
-
span#fancy_left_ico {
|
131 |
-
left: -9999px;
|
132 |
-
background: transparent url('img/fancy_left.png') no-repeat;
|
133 |
-
}
|
134 |
-
|
135 |
-
span#fancy_right_ico {
|
136 |
-
right: -9999px;
|
137 |
-
background: transparent url('img/fancy_right.png') no-repeat;
|
138 |
-
}
|
139 |
-
|
140 |
-
a#fancy_left:hover, a#fancy_right:hover {
|
141 |
-
visibility: visible;
|
142 |
-
background-color: transparent;
|
143 |
-
}
|
144 |
-
|
145 |
-
a#fancy_left:hover span {
|
146 |
-
left: 20px;
|
147 |
-
}
|
148 |
-
|
149 |
-
a#fancy_right:hover span {
|
150 |
-
right: 20px;
|
151 |
-
}
|
152 |
-
|
153 |
-
#fancy_bigIframe {
|
154 |
-
position: absolute;
|
155 |
-
top: 0;
|
156 |
-
left: 0;
|
157 |
-
width: 100%;
|
158 |
-
height: 100%;
|
159 |
-
background: transparent;
|
160 |
-
}
|
161 |
-
|
162 |
-
div#fancy_bg {
|
163 |
-
position: absolute;
|
164 |
-
top: 0; left: 0;
|
165 |
-
width: 100%;
|
166 |
-
height: 100%;
|
167 |
-
z-index: 700;
|
168 |
-
border: 0;
|
169 |
-
padding: 0;
|
170 |
-
margin: 0;
|
171 |
-
}
|
172 |
-
|
173 |
-
div.fancy_bg {
|
174 |
-
position: absolute;
|
175 |
-
display: block;
|
176 |
-
z-index: 700;
|
177 |
-
border: 0;
|
178 |
-
padding: 0;
|
179 |
-
margin: 0;
|
180 |
-
}
|
181 |
-
|
182 |
-
div#fancy_bg_n {
|
183 |
-
top: -20px;
|
184 |
-
left: 0;
|
185 |
-
width: 100%;
|
186 |
-
height: 20px;
|
187 |
-
background: transparent url('img/fancy_shadow_n.png') repeat-x;
|
188 |
-
}
|
189 |
-
|
190 |
-
div#fancy_bg_ne {
|
191 |
-
top: -20px;
|
192 |
-
right: -20px;
|
193 |
-
width: 20px;
|
194 |
-
height: 20px;
|
195 |
-
background: transparent url('img/fancy_shadow_ne.png') no-repeat;
|
196 |
-
}
|
197 |
-
|
198 |
-
div#fancy_bg_e {
|
199 |
-
right: -20px;
|
200 |
-
height: 100%;
|
201 |
-
width: 20px;
|
202 |
-
background: transparent url('img/fancy_shadow_e.png') repeat-y;
|
203 |
-
}
|
204 |
-
|
205 |
-
div#fancy_bg_se {
|
206 |
-
bottom: -20px;
|
207 |
-
right: -20px;
|
208 |
-
width: 20px;
|
209 |
-
height: 20px;
|
210 |
-
background: transparent url('img/fancy_shadow_se.png') no-repeat;
|
211 |
-
}
|
212 |
-
|
213 |
-
div#fancy_bg_s {
|
214 |
-
bottom: -20px;
|
215 |
-
left: 0;
|
216 |
-
width: 100%;
|
217 |
-
height: 20px;
|
218 |
-
background: transparent url('img/fancy_shadow_s.png') repeat-x;
|
219 |
-
}
|
220 |
-
|
221 |
-
div#fancy_bg_sw {
|
222 |
-
bottom: -20px;
|
223 |
-
left: -20px;
|
224 |
-
width: 20px;
|
225 |
-
height: 20px;
|
226 |
-
background: transparent url('img/fancy_shadow_sw.png') no-repeat;
|
227 |
-
}
|
228 |
-
|
229 |
-
div#fancy_bg_w {
|
230 |
-
left: -20px;
|
231 |
-
height: 100%;
|
232 |
-
width: 20px;
|
233 |
-
background: transparent url('img/fancy_shadow_w.png') repeat-y;
|
234 |
-
}
|
235 |
-
|
236 |
-
div#fancy_bg_nw {
|
237 |
-
top: -20px;
|
238 |
-
left: -20px;
|
239 |
-
width: 20px;
|
240 |
-
height: 20px;
|
241 |
-
background: transparent url('img/fancy_shadow_nw.png') no-repeat;
|
242 |
-
}
|
243 |
-
|
244 |
-
div#fancy_title {
|
245 |
-
position: absolute;
|
246 |
-
z-index: 1000;
|
247 |
-
display: none;
|
248 |
-
}
|
249 |
-
|
250 |
-
div#fancy_title div {
|
251 |
-
color: #FFF;
|
252 |
-
font: bold 12px Arial;
|
253 |
-
padding-bottom: 3px;
|
254 |
-
white-space: nowrap;
|
255 |
-
}
|
256 |
-
|
257 |
-
div#fancy_title table {
|
258 |
-
margin: 0 auto;
|
259 |
-
}
|
260 |
-
|
261 |
-
div#fancy_title table td {
|
262 |
-
padding: 0;
|
263 |
-
vertical-align: middle;
|
264 |
-
}
|
265 |
-
|
266 |
-
td#fancy_title_left {
|
267 |
-
height: 32px;
|
268 |
-
width: 15px;
|
269 |
-
background: transparent url('img/fancy_title_left.png') repeat-x;
|
270 |
-
}
|
271 |
-
|
272 |
-
td#fancy_title_main {
|
273 |
-
height: 32px;
|
274 |
-
background: transparent url('img/fancy_title_main.png') repeat-x;
|
275 |
-
}
|
276 |
-
|
277 |
-
td#fancy_title_right {
|
278 |
-
height: 32px;
|
279 |
-
width: 15px;
|
280 |
-
background: transparent url('img/fancy_title_right.png') repeat-x;
|
281 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/img/fancy_closebox.png
DELETED
Binary file
|
css/img/fancy_left.png
DELETED
Binary file
|
css/img/fancy_progress.png
DELETED
Binary file
|
css/img/fancy_right.png
DELETED
Binary file
|
css/img/fancy_shadow_e.png
DELETED
Binary file
|
css/img/fancy_shadow_n.png
DELETED
Binary file
|
css/img/fancy_shadow_ne.png
DELETED
Binary file
|
css/img/fancy_shadow_nw.png
DELETED
Binary file
|
css/img/fancy_shadow_s.png
DELETED
Binary file
|
css/img/fancy_shadow_se.png
DELETED
Binary file
|
css/img/fancy_shadow_sw.png
DELETED
Binary file
|
css/img/fancy_shadow_w.png
DELETED
Binary file
|
css/img/fancy_title_left.png
DELETED
Binary file
|
css/img/fancy_title_main.png
DELETED
Binary file
|
css/img/ui-bg_flat_0_aaaaaa_40x100.png
DELETED
Binary file
|
css/img/ui-bg_glass_55_fbf9ee_1x400.png
DELETED
Binary file
|
css/img/ui-bg_glass_95_fef1ec_1x400.png
DELETED
Binary file
|
css/jquery-ui.css
CHANGED
@@ -1,64 +1,64 @@
|
|
1 |
-
/*
|
2 |
-
* jQuery UI CSS Framework
|
3 |
-
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
4 |
-
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
|
5 |
-
*/
|
6 |
-
|
7 |
-
|
8 |
-
/* Layout helpers
|
9 |
-
----------------------------------*/
|
10 |
-
.ui-helper-hidden { display: none; }
|
11 |
-
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
|
12 |
-
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
13 |
-
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
14 |
-
.ui-helper-clearfix { display: inline-block; }
|
15 |
-
/* required comment for clearfix to work in Opera \*/
|
16 |
-
* html .ui-helper-clearfix { height:1%; }
|
17 |
-
.ui-helper-clearfix { display:block; }
|
18 |
-
/* end clearfix */
|
19 |
-
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
20 |
-
|
21 |
-
|
22 |
-
/* Tabs
|
23 |
-
----------------------------------*/
|
24 |
-
.ui-tabs { padding: .2em; zoom: 1; }
|
25 |
-
.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; }
|
26 |
-
.ui-tabs .ui-tabs-nav li { font-size:.8em; position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; }
|
27 |
-
.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; }
|
28 |
-
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
|
29 |
-
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
|
30 |
-
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
31 |
-
.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; }
|
32 |
-
.ui-tabs .ui-tabs-hide { display: none !important; }
|
33 |
-
|
34 |
-
|
35 |
-
/* Component containers
|
36 |
-
----------------------------------*/
|
37 |
-
.ui-widget { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1.1em/*{fsDefault}*/; }
|
38 |
-
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1em; }
|
39 |
-
.ui-widget-content { border: 1px solid #aaaaaa/*{borderColorContent}*/; background: #ffffff/*{bgColorContent}*/ url(img/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; overflow: hidden; }
|
40 |
-
.ui-widget-header { border: 1px solid #aaaaaa/*{borderColorHeader}*/; background: #cccccc/*{bgColorHeader}*/ url(img/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; color: #222222/*{fcHeader}*/; font-weight: bold; }
|
41 |
-
.ui-widget-header a { color: #222222/*{fcHeader}*/; }
|
42 |
-
|
43 |
-
|
44 |
-
/* Interaction states
|
45 |
-
----------------------------------*/
|
46 |
-
.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #d3d3d3/*{borderColorDefault}*/; background: #e6e6e6/*{bgColorDefault}*/ url(img/ui-bg_glass_75_e6e6e6_1x400.png)/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #555555/*{fcDefault}*/; outline: none; }
|
47 |
-
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555/*{fcDefault}*/; text-decoration: none; outline: none; }
|
48 |
-
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999/*{borderColorHover}*/; background: #dadada/*{bgColorHover}*/ url(img/ui-bg_glass_75_dadada_1x400.png)/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcHover}*/; outline: none; }
|
49 |
-
.ui-state-hover a, .ui-state-hover a:hover { color: #212121/*{fcHover}*/; text-decoration: none; outline: none; }
|
50 |
-
.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #aaaaaa/*{borderColorActive}*/; background: #ffffff/*{bgColorActive}*/ url(img/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcActive}*/; outline: none; }
|
51 |
-
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121/*{fcActive}*/; outline: none; text-decoration: none; }
|
52 |
-
|
53 |
-
|
54 |
-
/* Misc visuals
|
55 |
-
----------------------------------*/
|
56 |
-
.ui-corner-tl { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; }
|
57 |
-
.ui-corner-tr { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; }
|
58 |
-
.ui-corner-bl { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; }
|
59 |
-
.ui-corner-br { -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; }
|
60 |
-
.ui-corner-top { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; }
|
61 |
-
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; }
|
62 |
-
.ui-corner-right { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; }
|
63 |
-
.ui-corner-left { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; }
|
64 |
-
.ui-corner-all { -moz-border-radius: 4px/*{cornerRadius}*/; -webkit-border-radius: 4px/*{cornerRadius}*/; }
|
1 |
+
/*
|
2 |
+
* jQuery UI CSS Framework
|
3 |
+
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
4 |
+
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
|
5 |
+
*/
|
6 |
+
|
7 |
+
|
8 |
+
/* Layout helpers
|
9 |
+
----------------------------------*/
|
10 |
+
.ui-helper-hidden { display: none; }
|
11 |
+
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
|
12 |
+
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
13 |
+
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
14 |
+
.ui-helper-clearfix { display: inline-block; }
|
15 |
+
/* required comment for clearfix to work in Opera \*/
|
16 |
+
* html .ui-helper-clearfix { height:1%; }
|
17 |
+
.ui-helper-clearfix { display:block; }
|
18 |
+
/* end clearfix */
|
19 |
+
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
20 |
+
|
21 |
+
|
22 |
+
/* Tabs
|
23 |
+
----------------------------------*/
|
24 |
+
.ui-tabs { padding: .2em; zoom: 1; }
|
25 |
+
.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; }
|
26 |
+
.ui-tabs .ui-tabs-nav li { font-size:.8em; position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; }
|
27 |
+
.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; }
|
28 |
+
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
|
29 |
+
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
|
30 |
+
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
31 |
+
.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; }
|
32 |
+
.ui-tabs .ui-tabs-hide { display: none !important; }
|
33 |
+
|
34 |
+
|
35 |
+
/* Component containers
|
36 |
+
----------------------------------*/
|
37 |
+
.ui-widget { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1.1em/*{fsDefault}*/; }
|
38 |
+
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1em; }
|
39 |
+
.ui-widget-content { border: 1px solid #aaaaaa/*{borderColorContent}*/; background: #ffffff/*{bgColorContent}*/ url(img/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; overflow: hidden; }
|
40 |
+
.ui-widget-header { border: 1px solid #aaaaaa/*{borderColorHeader}*/; background: #cccccc/*{bgColorHeader}*/ url(img/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; color: #222222/*{fcHeader}*/; font-weight: bold; }
|
41 |
+
.ui-widget-header a { color: #222222/*{fcHeader}*/; }
|
42 |
+
|
43 |
+
|
44 |
+
/* Interaction states
|
45 |
+
----------------------------------*/
|
46 |
+
.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #d3d3d3/*{borderColorDefault}*/; background: #e6e6e6/*{bgColorDefault}*/ url(img/ui-bg_glass_75_e6e6e6_1x400.png)/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #555555/*{fcDefault}*/; outline: none; }
|
47 |
+
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555/*{fcDefault}*/; text-decoration: none; outline: none; }
|
48 |
+
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999/*{borderColorHover}*/; background: #dadada/*{bgColorHover}*/ url(img/ui-bg_glass_75_dadada_1x400.png)/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcHover}*/; outline: none; }
|
49 |
+
.ui-state-hover a, .ui-state-hover a:hover { color: #212121/*{fcHover}*/; text-decoration: none; outline: none; }
|
50 |
+
.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #aaaaaa/*{borderColorActive}*/; background: #ffffff/*{bgColorActive}*/ url(img/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcActive}*/; outline: none; }
|
51 |
+
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121/*{fcActive}*/; outline: none; text-decoration: none; }
|
52 |
+
|
53 |
+
|
54 |
+
/* Misc visuals
|
55 |
+
----------------------------------*/
|
56 |
+
.ui-corner-tl { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; }
|
57 |
+
.ui-corner-tr { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; }
|
58 |
+
.ui-corner-bl { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; }
|
59 |
+
.ui-corner-br { -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; }
|
60 |
+
.ui-corner-top { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; }
|
61 |
+
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; }
|
62 |
+
.ui-corner-right { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; }
|
63 |
+
.ui-corner-left { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; }
|
64 |
+
.ui-corner-all { -moz-border-radius: 4px/*{cornerRadius}*/; -webkit-border-radius: 4px/*{cornerRadius}*/; }
|
fancybox.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: FancyBox for WordPress
|
4 |
-
Plugin URI: http://
|
5 |
-
Description: Integrates <a href="http://
|
6 |
-
Version:
|
7 |
Author: José Pardilla
|
8 |
Author URI: http://josepardilla.com/
|
9 |
|
@@ -15,287 +15,203 @@ Author URI: http://josepardilla.com/
|
|
15 |
*/
|
16 |
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
add_option('mfbfw_overlayOpacity', '0.3');
|
37 |
-
add_option('mfbfw_zoomOpacity', 'on');
|
38 |
-
add_option('mfbfw_zoomSpeedIn', '500');
|
39 |
-
add_option('mfbfw_zoomSpeedOut', '500');
|
40 |
-
add_option('mfbfw_zoomSpeedChange', '300');
|
41 |
-
add_option('mfbfw_easing', '');
|
42 |
-
add_option('mfbfw_easingIn', 'easeOutBack');
|
43 |
-
add_option('mfbfw_easingOut', 'easeInBack');
|
44 |
-
add_option('mfbfw_easingChange', 'easeInOutQuart');
|
45 |
-
|
46 |
-
add_option('mfbfw_imageScale', 'on');
|
47 |
-
add_option('mfbfw_enableEscapeButton', 'on');
|
48 |
-
add_option('mfbfw_showCloseButton', 'on');
|
49 |
-
add_option('mfbfw_centerOnScroll', 'on');
|
50 |
-
add_option('mfbfw_hideOnOverlayClick', 'on');
|
51 |
-
add_option('mfbfw_hideOnContentClick', '');
|
52 |
-
add_option('mfbfw_loadAtFooter', '');
|
53 |
-
add_option('mfbfw_frameWidth', '560');
|
54 |
-
add_option('mfbfw_frameHeight', '340');
|
55 |
-
|
56 |
-
add_option('mfbfw_callbackOnStart', '');
|
57 |
-
add_option('mfbfw_callbackOnShow', '');
|
58 |
-
add_option('mfbfw_callbackOnClose', '');
|
59 |
-
|
60 |
-
add_option('mfbfw_galleryType', 'all');
|
61 |
-
add_option('mfbfw_customExpression', 'jQuery(thumbnails).addClass("fancybox").attr("rel","fancybox").getTitle();');
|
62 |
-
|
63 |
-
add_option('mfbfw_nojQuery', '');
|
64 |
-
add_option('mfbfw_jQnoConflict', 'on');
|
65 |
|
66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
|
68 |
-
|
69 |
-
|
70 |
-
delete_option('mfbfw_closePosition');
|
71 |
-
delete_option('mfbfw_noTextLinks');
|
72 |
|
73 |
-
}
|
74 |
|
75 |
|
76 |
-
|
77 |
-
|
|
|
78 |
|
79 |
-
|
80 |
-
|
81 |
-
delete_option('mfbfw_active_version');
|
82 |
-
|
83 |
-
delete_option('mfbfw_showTitle');
|
84 |
-
delete_option('mfbfw_border');
|
85 |
-
delete_option('mfbfw_borderColor');
|
86 |
-
delete_option('mfbfw_closeHorPos');
|
87 |
-
delete_option('mfbfw_closeVerPos');
|
88 |
-
delete_option('mfbfw_paddingColor');
|
89 |
-
delete_option('mfbfw_padding');
|
90 |
-
delete_option('mfbfw_overlayShow');
|
91 |
-
delete_option('mfbfw_overlayColor');
|
92 |
-
delete_option('mfbfw_overlayOpacity');
|
93 |
-
delete_option('mfbfw_zoomOpacity');
|
94 |
-
delete_option('mfbfw_zoomSpeedIn');
|
95 |
-
delete_option('mfbfw_zoomSpeedOut');
|
96 |
-
delete_option('mfbfw_zoomSpeedChange');
|
97 |
-
delete_option('mfbfw_easing');
|
98 |
-
delete_option('mfbfw_easingIn');
|
99 |
-
delete_option('mfbfw_easingOut');
|
100 |
-
delete_option('mfbfw_easingChange');
|
101 |
-
|
102 |
-
delete_option('mfbfw_imageScale');
|
103 |
-
delete_option('mfbfw_enableEscapeButton');
|
104 |
-
delete_option('mfbfw_showCloseButton');
|
105 |
-
delete_option('mfbfw_centerOnScroll');
|
106 |
-
delete_option('mfbfw_hideOnOverlayClick');
|
107 |
-
delete_option('mfbfw_hideOnContentClick');
|
108 |
-
delete_option('mfbfw_loadAtFooter');
|
109 |
-
delete_option('mfbfw_frameWidth');
|
110 |
-
delete_option('mfbfw_frameHeight');
|
111 |
-
|
112 |
-
delete_option('mfbfw_callbackOnStart');
|
113 |
-
delete_option('mfbfw_callbackOnShow');
|
114 |
-
delete_option('mfbfw_callbackOnClose');
|
115 |
|
116 |
-
|
117 |
-
delete_option('mfbfw_customExpression');
|
118 |
|
119 |
-
delete_option('mfbfw_nojQuery');
|
120 |
-
delete_option('mfbfw_jQnoConflict');
|
121 |
|
122 |
-
delete_option('mfbfw_uninstall');
|
123 |
|
124 |
-
|
|
|
|
|
125 |
|
|
|
|
|
|
|
|
|
|
|
126 |
}
|
|
|
127 |
|
128 |
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
$mfbfwSettingsArray=array(
|
133 |
-
|
134 |
-
'version' => get_option('mfbfw_active_version'),
|
135 |
-
|
136 |
-
'showTitle' => get_option('mfbfw_showTitle'),
|
137 |
-
'border' => get_option('mfbfw_border'),
|
138 |
-
'borderColor' => get_option('mfbfw_borderColor'),
|
139 |
-
'closeHorPos' => get_option('mfbfw_closeHorPos'),
|
140 |
-
'closeVerPos' => get_option('mfbfw_closeVerPos'),
|
141 |
-
'paddingColor' => get_option('mfbfw_paddingColor'),
|
142 |
-
'padding' => get_option('mfbfw_padding'),
|
143 |
-
'overlayShow' => get_option('mfbfw_overlayShow'),
|
144 |
-
'overlayColor' => get_option('mfbfw_overlayColor'),
|
145 |
-
'overlayOpacity' => get_option('mfbfw_overlayOpacity'),
|
146 |
-
'zoomOpacity' => get_option('mfbfw_zoomOpacity'),
|
147 |
-
'zoomSpeedIn' => get_option('mfbfw_zoomSpeedIn'),
|
148 |
-
'zoomSpeedOut' => get_option('mfbfw_zoomSpeedOut'),
|
149 |
-
'zoomSpeedChange' => get_option('mfbfw_zoomSpeedChange'),
|
150 |
-
'easing' => get_option('mfbfw_easing'),
|
151 |
-
'easingIn' => get_option('mfbfw_easingIn'),
|
152 |
-
'easingOut' => get_option('mfbfw_easingOut'),
|
153 |
-
'easingChange' => get_option('mfbfw_easingChange'),
|
154 |
-
|
155 |
-
'imageScale' => get_option('mfbfw_imageScale'),
|
156 |
-
'enableEscapeButton' => get_option('mfbfw_enableEscapeButton'),
|
157 |
-
'showCloseButton' => get_option('mfbfw_showCloseButton'),
|
158 |
-
'centerOnScroll' => get_option('mfbfw_centerOnScroll'),
|
159 |
-
'hideOnOverlayClick' => get_option('mfbfw_hideOnOverlayClick'),
|
160 |
-
'hideOnContentClick' => get_option('mfbfw_hideOnContentClick'),
|
161 |
-
'loadAtFooter' => get_option('mfbfw_loadAtFooter'),
|
162 |
-
'frameWidth' => get_option('mfbfw_frameWidth'),
|
163 |
-
'frameHeight' => get_option('mfbfw_frameHeight'),
|
164 |
-
|
165 |
-
'callbackOnStart' => get_option('mfbfw_callbackOnStart'),
|
166 |
-
'callbackOnShow' => get_option('mfbfw_callbackOnShow'),
|
167 |
-
'callbackOnClose' => get_option('mfbfw_callbackOnClose'),
|
168 |
-
|
169 |
-
'galleryType' => get_option('mfbfw_galleryType'),
|
170 |
-
'customExpression' => get_option('mfbfw_customExpression'),
|
171 |
|
172 |
-
|
173 |
-
'jQnoConflict' => get_option('mfbfw_jQnoConflict'),
|
174 |
|
175 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
|
177 |
-
|
|
|
|
|
|
|
178 |
|
179 |
-
return $mfbfwSettingsArray;
|
180 |
|
181 |
}
|
|
|
182 |
|
183 |
|
184 |
-
|
185 |
-
function mfbfw_load() {
|
186 |
|
187 |
-
$settings =
|
188 |
-
|
189 |
-
if ($settings['loadAtFooter']) $loadAtFooter = true;
|
190 |
|
191 |
if (!is_admin()) { // avoid the scripts from loading on admin panel
|
|
|
|
|
192 |
|
193 |
-
if ($settings['
|
194 |
-
|
195 |
-
wp_enqueue_script('fancybox', FBFW_URL . '/js/jquery.fancybox-1.2.6.min.js', $loadAtFooter); // Load fancybox without jQuery (for troubleshooting)
|
196 |
-
|
197 |
-
} else {
|
198 |
-
|
199 |
-
wp_enqueue_script('fancybox', FBFW_URL . '/js/jquery.fancybox-1.2.6.min.js', array('jquery'), '1.3.2', $loadAtFooter); // Load fancybox with jQuery
|
200 |
-
|
201 |
}
|
202 |
|
203 |
-
if (
|
204 |
-
|
205 |
-
wp_enqueue_script('jqueryeasing', FBFW_URL . '/js/jquery.easing.1.3.min.js', array('jquery'), '1.3.2', $loadAtFooter); // Load easing javascript file if required
|
206 |
-
|
207 |
}
|
208 |
-
|
209 |
}
|
210 |
|
211 |
}
|
|
|
212 |
|
213 |
|
214 |
-
|
215 |
-
|
|
|
216 |
|
217 |
-
|
218 |
|
219 |
-
|
|
|
|
|
220 |
|
221 |
?>
|
222 |
|
223 |
<style type="text/css">
|
224 |
-
div#
|
225 |
-
|
226 |
-
|
227 |
-
|
|
|
228 |
</style>
|
229 |
|
230 |
<?php
|
231 |
|
232 |
}
|
|
|
|
|
233 |
|
|
|
|
|
|
|
234 |
|
235 |
-
// Load FancyBox with the settings set
|
236 |
function mfbfw_init() {
|
237 |
|
238 |
-
$settings =
|
|
|
239 |
|
240 |
-
echo "\n
|
241 |
-
|
242 |
-
?>
|
243 |
|
244 |
<script type="text/javascript">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
|
246 |
-
|
247 |
-
|
248 |
-
jQuery(function(){
|
249 |
-
|
250 |
-
<?php // This copies the title of every IMG tag and adds it to its parent A so that fancybox can use it ?>
|
251 |
-
jQuery.fn.getTitle = function() {
|
252 |
-
var arr = jQuery("a.fancybox");
|
253 |
-
jQuery.each(arr, function() {
|
254 |
-
var title = jQuery(this).children("img").attr("title");
|
255 |
-
jQuery(this).attr('title',title);
|
256 |
-
})
|
257 |
-
}
|
258 |
-
|
259 |
-
// Supported file extensions
|
260 |
-
var thumbnails = 'a:has(img)[href$=".bmp"],a:has(img)[href$=".gif"],a:has(img)[href$=".jpg"],a:has(img)[href$=".jpeg"],a:has(img)[href$=".png"],a:has(img)[href$=".BMP"],a:has(img)[href$=".GIF"],a:has(img)[href$=".JPG"],a:has(img)[href$=".JPEG"],a:has(img)[href$=".PNG"]';
|
261 |
|
262 |
-
|
263 |
|
264 |
// Gallery type BY POST and we are on post or page (so only one post or page is visible)
|
265 |
-
if ( is_single() | is_page() ) {
|
266 |
|
267 |
-
|
268 |
|
269 |
-
|
270 |
-
|
271 |
-
// Gallery type BY POST, but we are neither on post or page, so we make a different rel attribute on each post
|
272 |
-
// (optimized based on sugestions from http://mentalfruition.com/)
|
273 |
-
else { ?>
|
274 |
|
275 |
-
|
|
|
276 |
|
277 |
-
|
278 |
-
jQuery(this).find(thumbnails).addClass("fancybox").attr('rel','fancybox'+posts.index(this)).getTitle()
|
279 |
-
});
|
280 |
|
|
|
|
|
|
|
281 |
|
282 |
-
|
283 |
|
284 |
}
|
285 |
|
286 |
// Gallery type ALL
|
287 |
-
elseif ($settings['galleryType'] == 'all') {
|
288 |
|
289 |
-
|
290 |
|
291 |
-
|
292 |
|
293 |
// Gallery type NONE
|
294 |
-
elseif ($settings['galleryType'] == 'none') {
|
295 |
|
296 |
-
|
297 |
|
298 |
-
|
299 |
|
300 |
// Else, gallery type is custom, so we just print the custom expression
|
301 |
else {
|
@@ -304,143 +220,156 @@ function mfbfw_init() {
|
|
304 |
|
305 |
}
|
306 |
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
334 |
|
335 |
})
|
336 |
-
|
337 |
</script>
|
338 |
-
<?php echo "<!-- END Fancybox for WordPress
|
339 |
-
|
340 |
}
|
|
|
341 |
|
342 |
|
343 |
-
|
344 |
-
|
|
|
345 |
|
346 |
-
|
347 |
|
348 |
-
|
349 |
-
|
|
|
350 |
|
351 |
}
|
|
|
352 |
|
353 |
-
// Load Admin JS
|
354 |
-
function mfbfw_admin_head() {
|
355 |
-
wp_enqueue_script('jquery-ui-tabs', array('jquery-ui-core')); // Load jQuery UI Tabs for Admin Page
|
356 |
-
wp_enqueue_script('fancyboxadmin', FBFW_URL . '/js/admin.js', array('jquery')); // Load specific JS for Admin Page
|
357 |
-
}
|
358 |
|
359 |
|
360 |
-
|
361 |
-
|
|
|
|
|
|
|
|
|
|
|
362 |
|
363 |
-
if (
|
364 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
365 |
}
|
366 |
|
|
|
|
|
367 |
}
|
|
|
368 |
|
369 |
|
370 |
-
// Settings Button on Plugins Panel
|
371 |
-
function mfbfw_plugin_action_links($links, $file) {
|
372 |
|
373 |
-
|
374 |
-
|
|
|
375 |
|
376 |
-
|
377 |
-
$settings_link = '<a href="options-general.php?page=fancybox-for-wordpress">' . __('Settings', 'mfbfw') . '</a>';
|
378 |
-
array_unshift( $links, $settings_link );
|
379 |
-
}
|
380 |
|
381 |
-
|
|
|
|
|
|
|
|
|
|
|
382 |
|
383 |
}
|
|
|
|
|
|
|
384 |
|
|
|
|
|
|
|
385 |
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
register_setting('mfbfw-options', 'mfbfw_border');
|
391 |
-
register_setting('mfbfw-options', 'mfbfw_borderColor');
|
392 |
-
register_setting('mfbfw-options', 'mfbfw_closeHorPos');
|
393 |
-
register_setting('mfbfw-options', 'mfbfw_closeVerPos');
|
394 |
-
register_setting('mfbfw-options', 'mfbfw_paddingColor');
|
395 |
-
register_setting('mfbfw-options', 'mfbfw_padding');
|
396 |
-
register_setting('mfbfw-options', 'mfbfw_overlayShow');
|
397 |
-
register_setting('mfbfw-options', 'mfbfw_overlayColor');
|
398 |
-
register_setting('mfbfw-options', 'mfbfw_overlayOpacity');
|
399 |
-
register_setting('mfbfw-options', 'mfbfw_zoomOpacity');
|
400 |
-
register_setting('mfbfw-options', 'mfbfw_zoomSpeedIn');
|
401 |
-
register_setting('mfbfw-options', 'mfbfw_zoomSpeedOut');
|
402 |
-
register_setting('mfbfw-options', 'mfbfw_zoomSpeedChange');
|
403 |
-
register_setting('mfbfw-options', 'mfbfw_easing');
|
404 |
-
register_setting('mfbfw-options', 'mfbfw_easingIn');
|
405 |
-
register_setting('mfbfw-options', 'mfbfw_easingOut');
|
406 |
-
register_setting('mfbfw-options', 'mfbfw_easingChange');
|
407 |
-
register_setting('mfbfw-options', 'mfbfw_imageScale');
|
408 |
-
register_setting('mfbfw-options', 'mfbfw_centerOnScroll');
|
409 |
-
register_setting('mfbfw-options', 'mfbfw_enableEscapeButton');
|
410 |
-
register_setting('mfbfw-options', 'mfbfw_showCloseButton');
|
411 |
-
register_setting('mfbfw-options', 'mfbfw_hideOnOverlayClick');
|
412 |
-
register_setting('mfbfw-options', 'mfbfw_hideOnContentClick');
|
413 |
-
register_setting('mfbfw-options', 'mfbfw_loadAtFooter');
|
414 |
-
register_setting('mfbfw-options', 'mfbfw_frameWidth');
|
415 |
-
register_setting('mfbfw-options', 'mfbfw_frameHeight');
|
416 |
-
register_setting('mfbfw-options', 'mfbfw_callbackOnStart');
|
417 |
-
register_setting('mfbfw-options', 'mfbfw_callbackOnShow');
|
418 |
-
register_setting('mfbfw-options', 'mfbfw_callbackOnClose');
|
419 |
-
register_setting('mfbfw-options', 'mfbfw_galleryType');
|
420 |
-
register_setting('mfbfw-options', 'mfbfw_customExpression');
|
421 |
-
register_setting('mfbfw-options', 'mfbfw_nojQuery');
|
422 |
-
register_setting('mfbfw-options', 'mfbfw_jQnoConflict');
|
423 |
-
register_setting('mfbfw-options', 'mfbfw_uninstall');
|
424 |
|
|
|
|
|
|
|
425 |
}
|
426 |
|
427 |
|
428 |
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
|
|
436 |
|
|
|
|
|
|
|
|
|
437 |
|
438 |
-
|
439 |
-
add_filter( 'plugin_action_links', 'mfbfw_plugin_action_links', 10, 2 ); // Settings Button on Plugins Panel
|
440 |
|
|
|
|
|
441 |
|
442 |
-
// Install and Uninstall
|
443 |
-
register_activation_hook(__FILE__,'mfbfw_install');
|
444 |
-
register_deactivation_hook(__FILE__,'mfbfw_uninstall');
|
445 |
|
446 |
?>
|
1 |
<?php
|
2 |
/*
|
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 |
*/
|
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 |
+
if ( version_compare(get_bloginfo('version') , '3.0' , '<') && is_ssl() ) {
|
38 |
+
$wp_content_url = str_replace( 'http://' , 'https://' , get_option('siteurl') );
|
39 |
+
} else {
|
40 |
+
$wp_content_url = get_option( 'siteurl' );
|
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 |
+
define( 'FBFW_VERSION', '3.0.0' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
|
58 |
+
require FBFW_PATH . '/settings.php';
|
|
|
59 |
|
|
|
|
|
60 |
|
|
|
61 |
|
62 |
+
/*-----------------------------------------------------------------------------------*/
|
63 |
+
/* If requested, when plugin is deactivated, remove settings
|
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 |
+
/* Here we load FancyBox JS with jQuery and jQuery.easing if necessary
|
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;
|
93 |
+
} else {
|
94 |
+
$jquery = array('jquery');
|
95 |
+
}
|
96 |
|
97 |
+
// Register scripts
|
98 |
+
wp_register_script('fancybox', FBFW_URL . '/fancybox/jquery.fancybox.js', $jquery, '1.3.4', $footer ); // Main Fancybox script
|
99 |
+
wp_register_script('jqueryeasing', FBFW_URL . '/js/jquery.easing.1.3.min.js', false, '1.3', $footer ); // Easing animations script
|
100 |
+
wp_register_script('jquerymousewheel', FBFW_URL . '/js/jquery.mousewheel.3.0.4.pack.js', false, '3.0.4', $footer ); // Mouse wheel support script
|
101 |
|
|
|
102 |
|
103 |
}
|
104 |
+
add_action( 'init', 'mfbfw_register_scripts' );
|
105 |
|
106 |
|
107 |
+
function mfbfw_scripts() {
|
|
|
108 |
|
109 |
+
$settings = get_option( 'mfbfw' );
|
|
|
|
|
110 |
|
111 |
if (!is_admin()) { // avoid the scripts from loading on admin panel
|
112 |
+
|
113 |
+
wp_enqueue_script( 'fancybox' ); // Load fancybox
|
114 |
|
115 |
+
if ( isset($settings['easing']) && $settings['easing'] ) {
|
116 |
+
wp_enqueue_script( 'jqueryeasing' ); // Load easing javascript file if required
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
}
|
118 |
|
119 |
+
if ( isset($settings['mouseWheel']) && $settings['mouseWheel'] ) {
|
120 |
+
wp_enqueue_script( 'jquerymousewheel' ); // Load mouse wheel javascript file if required
|
|
|
|
|
121 |
}
|
122 |
+
|
123 |
}
|
124 |
|
125 |
}
|
126 |
+
add_action( 'wp_enqueue_scripts', 'mfbfw_scripts' ); // Load Scripts
|
127 |
|
128 |
|
129 |
+
/*-----------------------------------------------------------------------------------*/
|
130 |
+
/* Link to FancyBox stylesheet and apply some custom styles
|
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 |
+
div#fancybox-close{<?php echo $settings['closeHorPos']; ?>:-15px;<?php echo $settings['closeVerPos']; ?>:-12px}
|
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"; ?>
|
146 |
+
<?php if ( isset($settings['titleColor']) && $settings['titleColor'] && $settings['titlePosition'] == "inside" ) { echo "div#fancybox-title-inside{color:" . $settings['titleColor'] . "}\n"; } ?>
|
147 |
</style>
|
148 |
|
149 |
<?php
|
150 |
|
151 |
}
|
152 |
+
add_action( 'wp_enqueue_scripts', 'mfbfw_styles' );
|
153 |
+
|
154 |
|
155 |
+
/*-----------------------------------------------------------------------------------*/
|
156 |
+
/* Load FancyBox with the settings set
|
157 |
+
/*-----------------------------------------------------------------------------------*/
|
158 |
|
|
|
159 |
function mfbfw_init() {
|
160 |
|
161 |
+
$settings = get_option( 'mfbfw' );
|
162 |
+
$version = get_option( 'mfbfw_active_version' );
|
163 |
|
164 |
+
echo "\n<!-- Fancybox for WordPress v" . $version . ' -->'; ?>
|
|
|
|
|
165 |
|
166 |
<script type="text/javascript">
|
167 |
+
jQuery(function(){
|
168 |
+
|
169 |
+
jQuery.fn.getTitle = function() { // Copy the title of every IMG tag and add it to its parent A so that fancybox can show titles
|
170 |
+
var arr = jQuery("a.fancybox");
|
171 |
+
jQuery.each(arr, function() {
|
172 |
+
var title = jQuery(this).children("img").attr("title");
|
173 |
+
jQuery(this).attr('title',title);
|
174 |
+
})
|
175 |
+
}
|
176 |
|
177 |
+
// Supported file extensions
|
178 |
+
var thumbnails = jQuery("a:has(img)").filter( function() { return /(jpe?g|png|gif|bmp)$/i.test(jQuery(this).attr('href')) });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 {
|
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"; } ?>,
|
228 |
+
'autoScale': <?php if ( isset($settings['imageScale']) && $settings['imageScale'] ) { echo "true"; } else { echo "false"; } ?>,
|
229 |
+
'padding': <?php echo $settings['padding']; ?>,
|
230 |
+
'opacity': <?php if ( isset($settings['zoomOpacity']) && $settings['zoomOpacity'] ) { echo "true"; } else { echo "false"; } ?>,
|
231 |
+
'speedIn': <?php echo $settings['zoomSpeedIn']; ?>,
|
232 |
+
'speedOut': <?php echo $settings['zoomSpeedOut']; ?>,
|
233 |
+
'changeSpeed': <?php echo $settings['zoomSpeedChange']; ?>,
|
234 |
+
'overlayShow': <?php if ( isset($settings['overlayShow']) && $settings['overlayShow'] ) { echo "true"; } else { echo "false"; } ?>,
|
235 |
+
'overlayOpacity': <?php echo '"' . $settings['overlayOpacity'] . '"'; ?>,
|
236 |
+
'overlayColor': <?php echo '"' . $settings['overlayColor'] . '"'; ?>,
|
237 |
+
'titleShow': <?php if ( isset($settings['titleShow']) && $settings['titleShow'] ) { echo "true"; } else { echo "false"; } ?>,
|
238 |
+
'titlePosition': '<?php echo $settings['titlePosition']; ?>',
|
239 |
+
'enableEscapeButton': <?php if ( isset($settings['enableEscapeButton']) && $settings['enableEscapeButton'] ) { echo "true"; } else { echo "false"; } ?>,
|
240 |
+
'showCloseButton': <?php if ( isset($settings['showCloseButton']) && $settings['showCloseButton'] ) { echo "true"; } else { echo "false"; } ?>,
|
241 |
+
'showNavArrows': <?php if ( isset($settings['showNavArrows']) && $settings['showNavArrows'] ) { echo "true"; } else { echo "false"; } ?>,
|
242 |
+
'hideOnOverlayClick': <?php if ( isset($settings['hideOnOverlayClick']) && $settings['hideOnOverlayClick'] ) { echo "true"; } else { echo "false"; } ?>,
|
243 |
+
'hideOnContentClick': <?php if ( isset($settings['hideOnContentClick']) && $settings['hideOnContentClick'] ) { echo "true"; } else { echo "false"; } ?>,
|
244 |
+
'width': <?php echo $settings['frameWidth']; ?>,
|
245 |
+
'height': <?php echo $settings['frameHeight']; ?>,
|
246 |
+
'transitionIn': <?php echo '"' . $settings['transitionIn'] . '"'; ?>,
|
247 |
+
'transitionOut': <?php echo '"' . $settings['transitionOut'] . '"'; ?>,
|
248 |
+
<?php if ( isset($settings['callbackEnable'], $settings['callbackOnStart']) && $settings['callbackEnable'] && $settings['callbackOnStart'] ) echo "\t'onStart': ". $settings['callbackOnStart'] .","."\n"; ?>
|
249 |
+
<?php if ( isset($settings['callbackEnable'], $settings['callbackOnCancel']) && $settings['callbackEnable'] && $settings['callbackOnCancel'] ) echo "\t'onCancel': ". $settings['callbackOnCancel'] .","."\n"; ?>
|
250 |
+
<?php if ( isset($settings['callbackEnable'], $settings['callbackOnCleanup']) && $settings['callbackEnable'] && $settings['callbackOnCleanup'] ) echo "\t'onCleanup': ". $settings['callbackOnCleanup'] .","."\n"; ?>
|
251 |
+
<?php if ( isset($settings['callbackEnable'], $settings['callbackOnComplete']) && $settings['callbackEnable'] && $settings['callbackOnComplete'] ) echo "\t'onComplete': ". $settings['callbackOnComplete'] .","."\n"; ?>
|
252 |
+
<?php if ( isset($settings['callbackEnable'], $settings['callbackOnClose']) && $settings['callbackEnable'] && $settings['callbackOnClose'] ) echo "\t'onClosed': ". $settings['callbackOnClose'] .","."\n"; ?>
|
253 |
+
'centerOnScroll': <?php if ( isset($settings['centerOnScroll']) && $settings['centerOnScroll'] ) { echo "true"; } else { echo "false"; } ?><?php if ( isset($settings['easing']) && $settings['easing'] ) { ?>,
|
254 |
+
'easingIn': <?php echo '"' . $settings['easingIn'] . '"'; ?>,
|
255 |
+
'easingOut': <?php echo '"' . $settings['easingOut'] . '"'; ?>,
|
256 |
+
'easingChange': <?php echo '"' . $settings['easingChange'] . '"';
|
257 |
+
} ?>
|
258 |
+
|
259 |
+
});
|
260 |
+
|
261 |
+
<?php if ( isset($settings['extraCallsEnable']) && $settings['extraCallsEnable'] ) { echo $settings['extraCalls']; echo "\n"; } ?>
|
262 |
|
263 |
})
|
|
|
264 |
</script>
|
265 |
+
<?php echo "<!-- END Fancybox for WordPress -->\n";
|
|
|
266 |
}
|
267 |
+
add_action( 'wp_head', 'mfbfw_init' );
|
268 |
|
269 |
|
270 |
+
/*-----------------------------------------------------------------------------------*/
|
271 |
+
/* Load text domain
|
272 |
+
/*-----------------------------------------------------------------------------------*/
|
273 |
|
274 |
+
function mfbfw_textdomain() {
|
275 |
|
276 |
+
if ( function_exists('load_plugin_textdomain') ) {
|
277 |
+
load_plugin_textdomain( 'mfbfw', FBFW_URL . '/languages', 'fancybox-for-wordpress/languages' );
|
278 |
+
}
|
279 |
|
280 |
}
|
281 |
+
add_action( 'init', 'mfbfw_textdomain' );
|
282 |
|
|
|
|
|
|
|
|
|
|
|
283 |
|
284 |
|
285 |
+
/*-----------------------------------------------------------------------------------*/
|
286 |
+
// Register Options
|
287 |
+
/*-----------------------------------------------------------------------------------*/
|
288 |
+
|
289 |
+
function mfbfw_admin_options() {
|
290 |
+
|
291 |
+
$settings = get_option( 'mfbfw' );
|
292 |
|
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 |
+
|
300 |
+
update_option( 'mfbfw', $settings );
|
301 |
+
wp_safe_redirect( add_query_arg('updated', 'true') );
|
302 |
+
die;
|
303 |
+
|
304 |
+
} else if ( isset($_REQUEST['action']) && 'reset' == $_REQUEST['action'] ) {
|
305 |
+
|
306 |
+
$defaults_array = mfbfw_defaults(); // Store defaults in an array
|
307 |
+
update_option( 'mfbfw', $defaults_array ); // Write defaults to database
|
308 |
+
wp_safe_redirect( add_query_arg('reset', 'true') );
|
309 |
+
die;
|
310 |
+
|
311 |
+
}
|
312 |
}
|
313 |
|
314 |
+
register_setting( 'mfbfw-options', 'mfbfw' );
|
315 |
+
|
316 |
}
|
317 |
+
add_action( 'admin_init', 'mfbfw_admin_options' );
|
318 |
|
319 |
|
|
|
|
|
320 |
|
321 |
+
/*-----------------------------------------------------------------------------------*/
|
322 |
+
/* Admin options page
|
323 |
+
/*-----------------------------------------------------------------------------------*/
|
324 |
|
325 |
+
function mfbfw_admin_menu() {
|
|
|
|
|
|
|
326 |
|
327 |
+
require FBFW_PATH . '/admin.php';
|
328 |
+
|
329 |
+
$mfbfwadmin = add_submenu_page( 'options-general.php', 'Fancybox for WordPress Options', 'Fancybox for WP', 'edit_plugins', '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 |
|
334 |
}
|
335 |
+
add_action('admin_menu', 'mfbfw_admin_menu');
|
336 |
+
|
337 |
+
|
338 |
|
339 |
+
/*-----------------------------------------------------------------------------------*/
|
340 |
+
/* Load Admin CSS & JS (called in mfbfw_admin_menu())
|
341 |
+
/*-----------------------------------------------------------------------------------*/
|
342 |
|
343 |
+
function mfbfw_admin_styles() {
|
344 |
+
wp_enqueue_style( 'fancybox-admin', FBFW_URL . '/css/fancybox-admin.css' ); // Load custom CSS for Admin Page
|
345 |
+
wp_enqueue_style( 'jquery-ui', FBFW_URL . '/css/jquery-ui.css' ); // Load jQuery UI Tabs CSS for Admin Page
|
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 . '/js/admin.js', array('jquery') ); // Load specific JS for Admin Page
|
351 |
}
|
352 |
|
353 |
|
354 |
|
355 |
+
/*-----------------------------------------------------------------------------------*/
|
356 |
+
/* Settings Button on Plugins Panel
|
357 |
+
/*-----------------------------------------------------------------------------------*/
|
358 |
+
|
359 |
+
function mfbfw_plugin_action_links($links, $file) {
|
360 |
+
|
361 |
+
static $this_plugin;
|
362 |
+
if ( ! $this_plugin ) $this_plugin = plugin_basename( __FILE__ );
|
363 |
|
364 |
+
if ( $file == $this_plugin ){
|
365 |
+
$settings_link = '<a href="options-general.php?page=fancybox-for-wordpress">' . __( 'Settings', 'mfbfw' ) . '</a>';
|
366 |
+
array_unshift( $links, $settings_link );
|
367 |
+
}
|
368 |
|
369 |
+
return $links;
|
|
|
370 |
|
371 |
+
}
|
372 |
+
add_filter( 'plugin_action_links', 'mfbfw_plugin_action_links', 10, 2 );
|
373 |
|
|
|
|
|
|
|
374 |
|
375 |
?>
|
fancybox/blank.gif
ADDED
Binary file
|
fancybox/fancy_close.png
ADDED
Binary file
|
fancybox/fancy_loading.png
ADDED
Binary file
|
fancybox/fancy_nav_left.png
ADDED
Binary file
|
fancybox/fancy_nav_right.png
ADDED
Binary file
|
fancybox/fancy_shadow_e.png
ADDED
Binary file
|
fancybox/fancy_shadow_n.png
ADDED
Binary file
|
fancybox/fancy_shadow_ne.png
ADDED
Binary file
|
fancybox/fancy_shadow_nw.png
ADDED
Binary file
|
fancybox/fancy_shadow_s.png
ADDED
Binary file
|
fancybox/fancy_shadow_se.png
ADDED
Binary file
|
fancybox/fancy_shadow_sw.png
ADDED
Binary file
|
fancybox/fancy_shadow_w.png
ADDED
Binary file
|
fancybox/fancy_title_left.png
ADDED
Binary file
|
fancybox/fancy_title_main.png
ADDED
Binary file
|
fancybox/fancy_title_over.png
ADDED
Binary file
|
{css/img → fancybox}/fancy_title_right.png
RENAMED
Binary file
|
fancybox/fancybox-x.png
ADDED
Binary file
|
fancybox/fancybox-y.png
ADDED
Binary file
|
fancybox/fancybox.css
ADDED
@@ -0,0 +1,359 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* FancyBox - jQuery Plugin
|
3 |
+
* Simple and fancy lightbox alternative
|
4 |
+
*
|
5 |
+
* Examples and documentation at: http://fancybox.net
|
6 |
+
*
|
7 |
+
* Copyright (c) 2008 - 2010 Janis Skarnelis
|
8 |
+
* That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
|
9 |
+
*
|
10 |
+
* Version: 1.3.4 (11/11/2010)
|
11 |
+
* Requires: jQuery v1.3+
|
12 |
+
*
|
13 |
+
* Dual licensed under the MIT and GPL licenses:
|
14 |
+
* http://www.opensource.org/licenses/mit-license.php
|
15 |
+
* http://www.gnu.org/licenses/gpl.html
|
16 |
+
*/
|
17 |
+
|
18 |
+
#fancybox-loading {
|
19 |
+
position: fixed;
|
20 |
+
top: 50%;
|
21 |
+
left: 50%;
|
22 |
+
width: 40px;
|
23 |
+
height: 40px;
|
24 |
+
margin-top: -20px;
|
25 |
+
margin-left: -20px;
|
26 |
+
cursor: pointer;
|
27 |
+
overflow: hidden;
|
28 |
+
z-index: 110004;
|
29 |
+
display: none;
|
30 |
+
}
|
31 |
+
|
32 |
+
#fancybox-loading div {
|
33 |
+
position: absolute;
|
34 |
+
top: 0;
|
35 |
+
left: 0;
|
36 |
+
width: 40px;
|
37 |
+
height: 480px;
|
38 |
+
background-image: url('fancybox.png');
|
39 |
+
}
|
40 |
+
|
41 |
+
#fancybox-overlay {
|
42 |
+
position: absolute;
|
43 |
+
top: 0;
|
44 |
+
left: 0;
|
45 |
+
width: 100%;
|
46 |
+
z-index: 110000;
|
47 |
+
display: none;
|
48 |
+
}
|
49 |
+
|
50 |
+
#fancybox-tmp {
|
51 |
+
padding: 0;
|
52 |
+
margin: 0;
|
53 |
+
border: 0;
|
54 |
+
overflow: auto;
|
55 |
+
display: none;
|
56 |
+
}
|
57 |
+
|
58 |
+
#fancybox-wrap {
|
59 |
+
position: absolute;
|
60 |
+
top: 0;
|
61 |
+
left: 0;
|
62 |
+
padding: 20px;
|
63 |
+
z-index: 110001;
|
64 |
+
outline: none;
|
65 |
+
display: none;
|
66 |
+
}
|
67 |
+
|
68 |
+
#fancybox-outer {
|
69 |
+
position: relative;
|
70 |
+
width: 100%;
|
71 |
+
height: 100%;
|
72 |
+
background: #fff;
|
73 |
+
}
|
74 |
+
|
75 |
+
#fancybox-content {
|
76 |
+
width: 0;
|
77 |
+
height: 0;
|
78 |
+
padding: 0;
|
79 |
+
outline: none;
|
80 |
+
position: relative;
|
81 |
+
overflow: hidden;
|
82 |
+
z-index: 110002;
|
83 |
+
border: 0px solid #fff;
|
84 |
+
}
|
85 |
+
|
86 |
+
#fancybox-hide-sel-frame {
|
87 |
+
position: absolute;
|
88 |
+
top: 0;
|
89 |
+
left: 0;
|
90 |
+
width: 100%;
|
91 |
+
height: 100%;
|
92 |
+
background: transparent;
|
93 |
+
z-index: 110001;
|
94 |
+
}
|
95 |
+
|
96 |
+
#fancybox-close {
|
97 |
+
position: absolute;
|
98 |
+
top: -15px;
|
99 |
+
right: -15px;
|
100 |
+
width: 30px;
|
101 |
+
height: 30px;
|
102 |
+
background: transparent url('fancybox.png') -40px 0px;
|
103 |
+
cursor: pointer;
|
104 |
+
z-index: 110003;
|
105 |
+
display: none;
|
106 |
+
}
|
107 |
+
|
108 |
+
#fancybox-error {
|
109 |
+
color: #444;
|
110 |
+
font: normal 12px/20px Arial;
|
111 |
+
padding: 14px;
|
112 |
+
margin: 0;
|
113 |
+
}
|
114 |
+
|
115 |
+
#fancybox-img {
|
116 |
+
width: 100%;
|
117 |
+
height: 100%;
|
118 |
+
padding: 0;
|
119 |
+
margin: 0;
|
120 |
+
border: none;
|
121 |
+
outline: none;
|
122 |
+
line-height: 0;
|
123 |
+
vertical-align: top;
|
124 |
+
}
|
125 |
+
|
126 |
+
#fancybox-frame {
|
127 |
+
width: 100%;
|
128 |
+
height: 100%;
|
129 |
+
border: none;
|
130 |
+
display: block;
|
131 |
+
}
|
132 |
+
|
133 |
+
#fancybox-left, #fancybox-right {
|
134 |
+
position: absolute;
|
135 |
+
bottom: 0px;
|
136 |
+
height: 100%;
|
137 |
+
width: 35%;
|
138 |
+
cursor: pointer;
|
139 |
+
outline: none;
|
140 |
+
background: transparent url('blank.gif');
|
141 |
+
z-index: 110002;
|
142 |
+
display: none;
|
143 |
+
}
|
144 |
+
|
145 |
+
#fancybox-left {
|
146 |
+
left: 0px;
|
147 |
+
}
|
148 |
+
|
149 |
+
#fancybox-right {
|
150 |
+
right: 0px;
|
151 |
+
}
|
152 |
+
|
153 |
+
#fancybox-left-ico, #fancybox-right-ico {
|
154 |
+
position: absolute;
|
155 |
+
top: 50%;
|
156 |
+
left: -9999px;
|
157 |
+
width: 30px;
|
158 |
+
height: 30px;
|
159 |
+
margin-top: -15px;
|
160 |
+
cursor: pointer;
|
161 |
+
z-index: 110002;
|
162 |
+
display: block;
|
163 |
+
}
|
164 |
+
|
165 |
+
#fancybox-left-ico {
|
166 |
+
background-image: url('fancybox.png');
|
167 |
+
background-position: -40px -30px;
|
168 |
+
}
|
169 |
+
|
170 |
+
#fancybox-right-ico {
|
171 |
+
background-image: url('fancybox.png');
|
172 |
+
background-position: -40px -60px;
|
173 |
+
}
|
174 |
+
|
175 |
+
#fancybox-left:hover, #fancybox-right:hover {
|
176 |
+
visibility: visible; /* IE6 */
|
177 |
+
}
|
178 |
+
|
179 |
+
#fancybox-left:hover span {
|
180 |
+
left: 20px;
|
181 |
+
}
|
182 |
+
|
183 |
+
#fancybox-right:hover span {
|
184 |
+
left: auto;
|
185 |
+
right: 20px;
|
186 |
+
}
|
187 |
+
|
188 |
+
.fancybox-bg {
|
189 |
+
position: absolute;
|
190 |
+
padding: 0;
|
191 |
+
margin: 0;
|
192 |
+
border: 0;
|
193 |
+
width: 20px;
|
194 |
+
height: 20px;
|
195 |
+
z-index: 100001;
|
196 |
+
}
|
197 |
+
|
198 |
+
#fancybox-bg-n {
|
199 |
+
top: -20px;
|
200 |
+
left: 0;
|
201 |
+
width: 100%;
|
202 |
+
background-image: url('fancybox-x.png');
|
203 |
+
}
|
204 |
+
|
205 |
+
#fancybox-bg-ne {
|
206 |
+
top: -20px;
|
207 |
+
right: -20px;
|
208 |
+
background-image: url('fancybox.png');
|
209 |
+
background-position: -40px -162px;
|
210 |
+
}
|
211 |
+
|
212 |
+
#fancybox-bg-e {
|
213 |
+
top: 0;
|
214 |
+
right: -20px;
|
215 |
+
height: 100%;
|
216 |
+
background-image: url('fancybox-y.png');
|
217 |
+
background-position: -20px 0px;
|
218 |
+
}
|
219 |
+
|
220 |
+
#fancybox-bg-se {
|
221 |
+
bottom: -20px;
|
222 |
+
right: -20px;
|
223 |
+
background-image: url('fancybox.png');
|
224 |
+
background-position: -40px -182px;
|
225 |
+
}
|
226 |
+
|
227 |
+
#fancybox-bg-s {
|
228 |
+
bottom: -20px;
|
229 |
+
left: 0;
|
230 |
+
width: 100%;
|
231 |
+
background-image: url('fancybox-x.png');
|
232 |
+
background-position: 0px -20px;
|
233 |
+
}
|
234 |
+
|
235 |
+
#fancybox-bg-sw {
|
236 |
+
bottom: -20px;
|
237 |
+
left: -20px;
|
238 |
+
background-image: url('fancybox.png');
|
239 |
+
background-position: -40px -142px;
|
240 |
+
}
|
241 |
+
|
242 |
+
#fancybox-bg-w {
|
243 |
+
top: 0;
|
244 |
+
left: -20px;
|
245 |
+
height: 100%;
|
246 |
+
background-image: url('fancybox-y.png');
|
247 |
+
}
|
248 |
+
|
249 |
+
#fancybox-bg-nw {
|
250 |
+
top: -20px;
|
251 |
+
left: -20px;
|
252 |
+
background-image: url('fancybox.png');
|
253 |
+
background-position: -40px -122px;
|
254 |
+
}
|
255 |
+
|
256 |
+
#fancybox-title {
|
257 |
+
font-family: Helvetica;
|
258 |
+
font-size: 12px;
|
259 |
+
z-index: 110002;
|
260 |
+
}
|
261 |
+
|
262 |
+
.fancybox-title-inside {
|
263 |
+
padding-bottom: 10px;
|
264 |
+
text-align: center;
|
265 |
+
color: #333;
|
266 |
+
background: #fff;
|
267 |
+
position: relative;
|
268 |
+
}
|
269 |
+
|
270 |
+
.fancybox-title-outside {
|
271 |
+
padding-top: 10px;
|
272 |
+
color: #fff;
|
273 |
+
}
|
274 |
+
|
275 |
+
.fancybox-title-over {
|
276 |
+
position: absolute;
|
277 |
+
bottom: 0;
|
278 |
+
left: 0;
|
279 |
+
color: #FFF;
|
280 |
+
text-align: left;
|
281 |
+
}
|
282 |
+
|
283 |
+
#fancybox-title-over {
|
284 |
+
padding: 10px;
|
285 |
+
background-image: url('fancy_title_over.png');
|
286 |
+
display: block;
|
287 |
+
}
|
288 |
+
|
289 |
+
.fancybox-title-float {
|
290 |
+
position: absolute;
|
291 |
+
left: 0;
|
292 |
+
bottom: -20px;
|
293 |
+
height: 32px;
|
294 |
+
}
|
295 |
+
|
296 |
+
#fancybox-title-float-wrap {
|
297 |
+
border: none;
|
298 |
+
border-collapse: collapse;
|
299 |
+
width: auto;
|
300 |
+
}
|
301 |
+
|
302 |
+
#fancybox-title-float-wrap td {
|
303 |
+
border: none;
|
304 |
+
white-space: nowrap;
|
305 |
+
}
|
306 |
+
|
307 |
+
#fancybox-title-float-left {
|
308 |
+
padding: 0 0 0 15px;
|
309 |
+
background: url('fancybox.png') -40px -90px no-repeat;
|
310 |
+
}
|
311 |
+
|
312 |
+
#fancybox-title-float-main {
|
313 |
+
color: #FFF;
|
314 |
+
line-height: 29px;
|
315 |
+
font-weight: bold;
|
316 |
+
padding: 0 0 3px 0;
|
317 |
+
background: url('fancybox-x.png') 0px -40px;
|
318 |
+
}
|
319 |
+
|
320 |
+
#fancybox-title-float-right {
|
321 |
+
padding: 0 0 0 15px;
|
322 |
+
background: url('fancybox.png') -55px -90px no-repeat;
|
323 |
+
}
|
324 |
+
|
325 |
+
/* IE6 */
|
326 |
+
|
327 |
+
.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }
|
328 |
+
|
329 |
+
.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }
|
330 |
+
.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }
|
331 |
+
|
332 |
+
.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
|
333 |
+
.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
|
334 |
+
.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
|
335 |
+
.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }
|
336 |
+
|
337 |
+
.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
|
338 |
+
height: expression(this.parentNode.clientHeight + "px");
|
339 |
+
}
|
340 |
+
|
341 |
+
#fancybox-loading.fancybox-ie6 {
|
342 |
+
position: absolute; margin-top: 0;
|
343 |
+
top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
|
344 |
+
}
|
345 |
+
|
346 |
+
#fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }
|
347 |
+
|
348 |
+
/* IE6, IE7, IE8 */
|
349 |
+
|
350 |
+
.fancybox-ie .fancybox-bg { background: transparent !important; }
|
351 |
+
|
352 |
+
.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
|
353 |
+
.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
|
354 |
+
.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
|
355 |
+
.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
|
356 |
+
.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
|
357 |
+
.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
|
358 |
+
.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
|
359 |
+
.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
|
fancybox/fancybox.png
ADDED
Binary file
|
fancybox/jquery.fancybox.js
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* FancyBox - jQuery Plugin
|
3 |
+
* Simple and fancy lightbox alternative
|
4 |
+
*
|
5 |
+
* Examples and documentation at: http://fancybox.net
|
6 |
+
*
|
7 |
+
* Copyright (c) 2008 - 2010 Janis Skarnelis
|
8 |
+
* That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
|
9 |
+
*
|
10 |
+
* Version: 1.3.4 (11/11/2010)
|
11 |
+
* Requires: jQuery v1.3+
|
12 |
+
*
|
13 |
+
* Dual licensed under the MIT and GPL licenses:
|
14 |
+
* http://www.opensource.org/licenses/mit-license.php
|
15 |
+
* http://www.gnu.org/licenses/gpl.html
|
16 |
+
*/
|
17 |
+
|
18 |
+
;(function(b){var m,t,u,f,D,j,E,n,z,A,q=0,e={},o=[],p=0,d={},l=[],G=null,v=new Image,J=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,W=/[^\.]\.(swf)\s*$/i,K,L=1,y=0,s="",r,i,h=false,B=b.extend(b("<div/>")[0],{prop:0}),M=b.browser.msie&&b.browser.version<7&&!window.XMLHttpRequest,N=function(){t.hide();v.onerror=v.onload=null;G&&G.abort();m.empty()},O=function(){if(false===e.onError(o,q,e)){t.hide();h=false}else{e.titleShow=false;e.width="auto";e.height="auto";m.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>');
|
19 |
+
F()}},I=function(){var a=o[q],c,g,k,C,P,w;N();e=b.extend({},b.fn.fancybox.defaults,typeof b(a).data("fancybox")=="undefined"?e:b(a).data("fancybox"));w=e.onStart(o,q,e);if(w===false)h=false;else{if(typeof w=="object")e=b.extend(e,w);k=e.title||(a.nodeName?b(a).attr("title"):a.title)||"";if(a.nodeName&&!e.orig)e.orig=b(a).children("img:first").length?b(a).children("img:first"):b(a);if(k===""&&e.orig&&e.titleFromAlt)k=e.orig.attr("alt");c=e.href||(a.nodeName?b(a).attr("href"):a.href)||null;if(/^(?:javascript)/i.test(c)||
|
20 |
+
c=="#")c=null;if(e.type){g=e.type;if(!c)c=e.content}else if(e.content)g="html";else if(c)g=c.match(J)?"image":c.match(W)?"swf":b(a).hasClass("iframe")?"iframe":c.indexOf("#")===0?"inline":"ajax";if(g){if(g=="inline"){a=c.substr(c.indexOf("#"));g=b(a).length>0?"inline":"ajax"}e.type=g;e.href=c;e.title=k;if(e.autoDimensions)if(e.type=="html"||e.type=="inline"||e.type=="ajax"){e.width="auto";e.height="auto"}else e.autoDimensions=false;if(e.modal){e.overlayShow=true;e.hideOnOverlayClick=false;e.hideOnContentClick=
|
21 |
+
false;e.enableEscapeButton=false;e.showCloseButton=false}e.padding=parseInt(e.padding,10);e.margin=parseInt(e.margin,10);m.css("padding",e.padding+e.margin);b(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){b(this).replaceWith(j.children())});switch(g){case "html":m.html(e.content);F();break;case "inline":if(b(a).parent().is("#fancybox-content")===true){h=false;break}b('<div class="fancybox-inline-tmp" />').hide().insertBefore(b(a)).bind("fancybox-cleanup",function(){b(this).replaceWith(j.children())}).bind("fancybox-cancel",
|
22 |
+
function(){b(this).replaceWith(m.children())});b(a).appendTo(m);F();break;case "image":h=false;b.fancybox.showActivity();v=new Image;v.onerror=function(){O()};v.onload=function(){h=true;v.onerror=v.onload=null;e.width=v.width;e.height=v.height;b("<img />").attr({id:"fancybox-img",src:v.src,alt:e.title}).appendTo(m);Q()};v.src=c;break;case "swf":e.scrolling="no";C='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+e.width+'" height="'+e.height+'"><param name="movie" value="'+c+
|
23 |
+
'"></param>';P="";b.each(e.swf,function(x,H){C+='<param name="'+x+'" value="'+H+'"></param>';P+=" "+x+'="'+H+'"'});C+='<embed src="'+c+'" type="application/x-shockwave-flash" width="'+e.width+'" height="'+e.height+'"'+P+"></embed></object>";m.html(C);F();break;case "ajax":h=false;b.fancybox.showActivity();e.ajax.win=e.ajax.success;G=b.ajax(b.extend({},e.ajax,{url:c,data:e.ajax.data||{},error:function(x){x.status>0&&O()},success:function(x,H,R){if((typeof R=="object"?R:G).status==200){if(typeof e.ajax.win==
|
24 |
+
"function"){w=e.ajax.win(c,x,H,R);if(w===false){t.hide();return}else if(typeof w=="string"||typeof w=="object")x=w}m.html(x);F()}}}));break;case "iframe":Q()}}else O()}},F=function(){var a=e.width,c=e.height;a=a.toString().indexOf("%")>-1?parseInt((b(window).width()-e.margin*2)*parseFloat(a)/100,10)+"px":a=="auto"?"auto":a+"px";c=c.toString().indexOf("%")>-1?parseInt((b(window).height()-e.margin*2)*parseFloat(c)/100,10)+"px":c=="auto"?"auto":c+"px";m.wrapInner('<div style="width:'+a+";height:"+c+
|
25 |
+
";overflow: "+(e.scrolling=="auto"?"auto":e.scrolling=="yes"?"scroll":"hidden")+';position:relative;"></div>');e.width=m.width();e.height=m.height();Q()},Q=function(){var a,c;t.hide();if(f.is(":visible")&&false===d.onCleanup(l,p,d)){b.event.trigger("fancybox-cancel");h=false}else{h=true;b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");f.is(":visible")&&d.titlePosition!=="outside"&&f.css("height",f.height());l=o;p=q;d=e;if(d.overlayShow){u.css({"background-color":d.overlayColor,
|
26 |
+
opacity:d.overlayOpacity,cursor:d.hideOnOverlayClick?"pointer":"auto",height:b(document).height()});if(!u.is(":visible")){M&&b("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});u.show()}}else u.hide();i=X();s=d.title||"";y=0;n.empty().removeAttr("style").removeClass();if(d.titleShow!==false){if(b.isFunction(d.titleFormat))a=d.titleFormat(s,l,p,d);else a=s&&s.length?
|
27 |
+
d.titlePosition=="float"?'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+s+'</td><td id="fancybox-title-float-right"></td></tr></table>':'<div id="fancybox-title-'+d.titlePosition+'">'+s+"</div>":false;s=a;if(!(!s||s==="")){n.addClass("fancybox-title-"+d.titlePosition).html(s).appendTo("body").show();switch(d.titlePosition){case "inside":n.css({width:i.width-d.padding*2,marginLeft:d.padding,marginRight:d.padding});
|
28 |
+
y=n.outerHeight(true);n.appendTo(D);i.height+=y;break;case "over":n.css({marginLeft:d.padding,width:i.width-d.padding*2,bottom:d.padding}).appendTo(D);break;case "float":n.css("left",parseInt((n.width()-i.width-40)/2,10)*-1).appendTo(f);break;default:n.css({width:i.width-d.padding*2,paddingLeft:d.padding,paddingRight:d.padding}).appendTo(f)}}}n.hide();if(f.is(":visible")){b(E.add(z).add(A)).hide();a=f.position();r={top:a.top,left:a.left,width:f.width(),height:f.height()};c=r.width==i.width&&r.height==
|
29 |
+
i.height;j.fadeTo(d.changeFade,0.3,function(){var g=function(){j.html(m.contents()).fadeTo(d.changeFade,1,S)};b.event.trigger("fancybox-change");j.empty().removeAttr("filter").css({"border-width":d.padding,width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2});if(c)g();else{B.prop=0;b(B).animate({prop:1},{duration:d.changeSpeed,easing:d.easingChange,step:T,complete:g})}})}else{f.removeAttr("style");j.css("border-width",d.padding);if(d.transitionIn=="elastic"){r=V();j.html(m.contents());
|
30 |
+
f.show();if(d.opacity)i.opacity=0;B.prop=0;b(B).animate({prop:1},{duration:d.speedIn,easing:d.easingIn,step:T,complete:S})}else{d.titlePosition=="inside"&&y>0&&n.show();j.css({width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2}).html(m.contents());f.css(i).fadeIn(d.transitionIn=="none"?0:d.speedIn,S)}}}},Y=function(){if(d.enableEscapeButton||d.enableKeyboardNav)b(document).bind("keydown.fb",function(a){if(a.keyCode==27&&d.enableEscapeButton){a.preventDefault();b.fancybox.close()}else if((a.keyCode==
|
31 |
+
37||a.keyCode==39)&&d.enableKeyboardNav&&a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.target.tagName!=="SELECT"){a.preventDefault();b.fancybox[a.keyCode==37?"prev":"next"]()}});if(d.showNavArrows){if(d.cyclic&&l.length>1||p!==0)z.show();if(d.cyclic&&l.length>1||p!=l.length-1)A.show()}else{z.hide();A.hide()}},S=function(){if(!b.support.opacity){j.get(0).style.removeAttribute("filter");f.get(0).style.removeAttribute("filter")}e.autoDimensions&&j.css("height","auto");f.css("height","auto");
|
32 |
+
s&&s.length&&n.show();d.showCloseButton&&E.show();Y();d.hideOnContentClick&&j.bind("click",b.fancybox.close);d.hideOnOverlayClick&&u.bind("click",b.fancybox.close);b(window).bind("resize.fb",b.fancybox.resize);d.centerOnScroll&&b(window).bind("scroll.fb",b.fancybox.center);if(d.type=="iframe")b('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" '+(b.browser.msie?'allowtransparency="true""':"")+' scrolling="'+e.scrolling+'" src="'+d.href+'"></iframe>').appendTo(j);
|
33 |
+
f.show();h=false;b.fancybox.center();d.onComplete(l,p,d);var a,c;if(l.length-1>p){a=l[p+1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}if(p>0){a=l[p-1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}},T=function(a){var c={width:parseInt(r.width+(i.width-r.width)*a,10),height:parseInt(r.height+(i.height-r.height)*a,10),top:parseInt(r.top+(i.top-r.top)*a,10),left:parseInt(r.left+(i.left-r.left)*a,10)};if(typeof i.opacity!=="undefined")c.opacity=a<0.5?0.5:a;f.css(c);
|
34 |
+
j.css({width:c.width-d.padding*2,height:c.height-y*a-d.padding*2})},U=function(){return[b(window).width()-d.margin*2,b(window).height()-d.margin*2,b(document).scrollLeft()+d.margin,b(document).scrollTop()+d.margin]},X=function(){var a=U(),c={},g=d.autoScale,k=d.padding*2;c.width=d.width.toString().indexOf("%")>-1?parseInt(a[0]*parseFloat(d.width)/100,10):d.width+k;c.height=d.height.toString().indexOf("%")>-1?parseInt(a[1]*parseFloat(d.height)/100,10):d.height+k;if(g&&(c.width>a[0]||c.height>a[1]))if(e.type==
|
35 |
+
"image"||e.type=="swf"){g=d.width/d.height;if(c.width>a[0]){c.width=a[0];c.height=parseInt((c.width-k)/g+k,10)}if(c.height>a[1]){c.height=a[1];c.width=parseInt((c.height-k)*g+k,10)}}else{c.width=Math.min(c.width,a[0]);c.height=Math.min(c.height,a[1])}c.top=parseInt(Math.max(a[3]-20,a[3]+(a[1]-c.height-40)*0.5),10);c.left=parseInt(Math.max(a[2]-20,a[2]+(a[0]-c.width-40)*0.5),10);return c},V=function(){var a=e.orig?b(e.orig):false,c={};if(a&&a.length){c=a.offset();c.top+=parseInt(a.css("paddingTop"),
|
36 |
+
10)||0;c.left+=parseInt(a.css("paddingLeft"),10)||0;c.top+=parseInt(a.css("border-top-width"),10)||0;c.left+=parseInt(a.css("border-left-width"),10)||0;c.width=a.width();c.height=a.height();c={width:c.width+d.padding*2,height:c.height+d.padding*2,top:c.top-d.padding-20,left:c.left-d.padding-20}}else{a=U();c={width:d.padding*2,height:d.padding*2,top:parseInt(a[3]+a[1]*0.5,10),left:parseInt(a[2]+a[0]*0.5,10)}}return c},Z=function(){if(t.is(":visible")){b("div",t).css("top",L*-40+"px");L=(L+1)%12}else clearInterval(K)};
|
37 |
+
b.fn.fancybox=function(a){if(!b(this).length)return this;b(this).data("fancybox",b.extend({},a,b.metadata?b(this).metadata():{})).unbind("click.fb").bind("click.fb",function(c){c.preventDefault();if(!h){h=true;b(this).blur();o=[];q=0;c=b(this).attr("rel")||"";if(!c||c==""||c==="nofollow")o.push(this);else{o=b("a[rel="+c+"], area[rel="+c+"]");q=o.index(this)}I()}});return this};b.fancybox=function(a,c){var g;if(!h){h=true;g=typeof c!=="undefined"?c:{};o=[];q=parseInt(g.index,10)||0;if(b.isArray(a)){for(var k=
|
38 |
+
0,C=a.length;k<C;k++)if(typeof a[k]=="object")b(a[k]).data("fancybox",b.extend({},g,a[k]));else a[k]=b({}).data("fancybox",b.extend({content:a[k]},g));o=jQuery.merge(o,a)}else{if(typeof a=="object")b(a).data("fancybox",b.extend({},g,a));else a=b({}).data("fancybox",b.extend({content:a},g));o.push(a)}if(q>o.length||q<0)q=0;I()}};b.fancybox.showActivity=function(){clearInterval(K);t.show();K=setInterval(Z,66)};b.fancybox.hideActivity=function(){t.hide()};b.fancybox.next=function(){return b.fancybox.pos(p+
|
39 |
+
1)};b.fancybox.prev=function(){return b.fancybox.pos(p-1)};b.fancybox.pos=function(a){if(!h){a=parseInt(a);o=l;if(a>-1&&a<l.length){q=a;I()}else if(d.cyclic&&l.length>1){q=a>=l.length?0:l.length-1;I()}}};b.fancybox.cancel=function(){if(!h){h=true;b.event.trigger("fancybox-cancel");N();e.onCancel(o,q,e);h=false}};b.fancybox.close=function(){function a(){u.fadeOut("fast");n.empty().hide();f.hide();b.event.trigger("fancybox-cleanup");j.empty();d.onClosed(l,p,d);l=e=[];p=q=0;d=e={};h=false}if(!(h||f.is(":hidden"))){h=
|
40 |
+
true;if(d&&false===d.onCleanup(l,p,d))h=false;else{N();b(E.add(z).add(A)).hide();b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");j.find("iframe").attr("src",M&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");d.titlePosition!=="inside"&&n.empty();f.stop();if(d.transitionOut=="elastic"){r=V();var c=f.position();i={top:c.top,left:c.left,width:f.width(),height:f.height()};if(d.opacity)i.opacity=1;n.empty().hide();B.prop=1;
|
41 |
+
b(B).animate({prop:0},{duration:d.speedOut,easing:d.easingOut,step:T,complete:a})}else f.fadeOut(d.transitionOut=="none"?0:d.speedOut,a)}}};b.fancybox.resize=function(){u.is(":visible")&&u.css("height",b(document).height());b.fancybox.center(true)};b.fancybox.center=function(a){var c,g;if(!h){g=a===true?1:0;c=U();!g&&(f.width()>c[0]||f.height()>c[1])||f.stop().animate({top:parseInt(Math.max(c[3]-20,c[3]+(c[1]-j.height()-40)*0.5-d.padding)),left:parseInt(Math.max(c[2]-20,c[2]+(c[0]-j.width()-40)*0.5-
|
42 |
+
d.padding))},typeof a=="number"?a:200)}};b.fancybox.init=function(){if(!b("#fancybox-wrap").length){b("body").append(m=b('<div id="fancybox-tmp"></div>'),t=b('<div id="fancybox-loading"><div></div></div>'),u=b('<div id="fancybox-overlay"></div>'),f=b('<div id="fancybox-wrap"></div>'));D=b('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(f);
|
43 |
+
D.append(j=b('<div id="fancybox-content"></div>'),E=b('<a id="fancybox-close"></a>'),n=b('<div id="fancybox-title"></div>'),z=b('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),A=b('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));E.click(b.fancybox.close);t.click(b.fancybox.cancel);z.click(function(a){a.preventDefault();b.fancybox.prev()});A.click(function(a){a.preventDefault();b.fancybox.next()});
|
44 |
+
b.fn.mousewheel&&f.bind("mousewheel.fb",function(a,c){if(h)a.preventDefault();else if(b(a.target).get(0).clientHeight==0||b(a.target).get(0).scrollHeight===b(a.target).get(0).clientHeight){a.preventDefault();b.fancybox[c>0?"prev":"next"]()}});b.support.opacity||f.addClass("fancybox-ie");if(M){t.addClass("fancybox-ie6");f.addClass("fancybox-ie6");b('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(D)}}};
|
45 |
+
b.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",
|
46 |
+
easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};b(document).ready(function(){b.fancybox.init()})})(jQuery);
|
js/admin.js
CHANGED
@@ -12,37 +12,96 @@ jQuery(function(){
|
|
12 |
jQuery("#show-mfbfwd").click(function(){
|
13 |
jQuery("#mfbfwd").show();
|
14 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
});
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
jQuery(".troOpts").toggle("slow");
|
24 |
});
|
|
|
|
|
|
|
|
|
25 |
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
case "post":
|
33 |
-
jQuery("#customExpressionBlock").css("display", "none");
|
34 |
-
}
|
35 |
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
-
|
41 |
-
jQuery("#customExpressionBlock").hide("slow");
|
42 |
-
});
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
47 |
|
48 |
-
|
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");
|
31 |
+
switchBlock("#titleBlock","#titleShow");
|
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 |
|
59 |
+
switch (galleryType) {
|
60 |
+
case "all":
|
61 |
+
case "none":
|
62 |
+
case "post":
|
63 |
+
jQuery("#customExpressionBlock").css("display", "none");
|
64 |
+
}
|
65 |
|
66 |
+
jQuery("#galleryTypeAll, #galleryTypeNone, #galleryTypePost").click(function () {
|
67 |
+
jQuery("#customExpressionBlock").hide("slow");
|
68 |
+
});
|
|
|
|
|
|
|
69 |
|
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?";
|
js/jquery.easing.1.3.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ */
|
2 |
jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def: 'easeOutQuad',swing: function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d);},easeInQuad: function(x,t,b,c,d){return c*(t/=d)*t+b;},easeOutQuad: function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b;},easeInOutQuad: function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b;},easeInCubic: function(x,t,b,c,d){return c*(t/=d)*t*t+b;},easeOutCubic: function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b;},easeInOutCubic: function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b;},easeInQuart: function(x,t,b,c,d){return c*(t/=d)*t*t*t+b;},easeOutQuart: function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b;},easeInOutQuart: function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b;},easeInQuint: function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b;},easeOutQuint: function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b;},easeInOutQuint: function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b;},easeInSine: function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b;},easeOutSine: function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b;},easeInOutSine: function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b;},easeInExpo: function(x,t,b,c,d){return(t==0)?b : c*Math.pow(2,10*(t/d-1))+b;},easeOutExpo: function(x,t,b,c,d){return(t==d)?b+c : c*(-Math.pow(2,-10*t/d)+1)+b;},easeInOutExpo: function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b;},easeInCirc: function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b;},easeOutCirc: function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b;},easeInOutCirc: function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b;},easeInElastic: function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;},easeOutElastic: function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b;},easeInOutElastic: function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b;},easeInBack: function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b;},easeOutBack: function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b;},easeInOutBack: function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b;},easeInBounce: function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b;},easeOutBounce: function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b;}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b;}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b;}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b;}},easeInOutBounce: function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b;}});jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def:'easeOutQuad',swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b},easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b},easeInExpo:function(x,t,b,c,d){return(t==0)?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return(t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b},easeOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b},easeInOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b},easeInBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b},easeOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},easeInOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b},easeOutBounce:function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b}},easeInOutBounce:function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b}});
|
1 |
+
/*jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ */
|
2 |
jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def: 'easeOutQuad',swing: function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d);},easeInQuad: function(x,t,b,c,d){return c*(t/=d)*t+b;},easeOutQuad: function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b;},easeInOutQuad: function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b;},easeInCubic: function(x,t,b,c,d){return c*(t/=d)*t*t+b;},easeOutCubic: function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b;},easeInOutCubic: function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b;},easeInQuart: function(x,t,b,c,d){return c*(t/=d)*t*t*t+b;},easeOutQuart: function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b;},easeInOutQuart: function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b;},easeInQuint: function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b;},easeOutQuint: function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b;},easeInOutQuint: function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b;},easeInSine: function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b;},easeOutSine: function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b;},easeInOutSine: function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b;},easeInExpo: function(x,t,b,c,d){return(t==0)?b : c*Math.pow(2,10*(t/d-1))+b;},easeOutExpo: function(x,t,b,c,d){return(t==d)?b+c : c*(-Math.pow(2,-10*t/d)+1)+b;},easeInOutExpo: function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b;},easeInCirc: function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b;},easeOutCirc: function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b;},easeInOutCirc: function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b;},easeInElastic: function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;},easeOutElastic: function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b;},easeInOutElastic: function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b;},easeInBack: function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b;},easeOutBack: function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b;},easeInOutBack: function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b;},easeInBounce: function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b;},easeOutBounce: function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b;}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b;}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b;}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b;}},easeInOutBounce: function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b;}});jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def:'easeOutQuad',swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b},easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b},easeInExpo:function(x,t,b,c,d){return(t==0)?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return(t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b},easeOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b},easeInOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b},easeInBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b},easeOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},easeInOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b},easeOutBounce:function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b}},easeInOutBounce:function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b}});
|
js/jquery.fancybox-1.2.6.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
;(function($){$.fn.fixPNG=function(){return this.each(function(){var image=$(this).css('backgroundImage');if(image.match(/^url\(["']?(.*\.png)["']?\)$/i)){image=RegExp.$1;$(this).css({'backgroundImage': 'none','filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod="+($(this).css('backgroundRepeat')=='no-repeat'?'crop' : 'scale')+",src='"+image+"')"}).each(function(){var position=$(this).css('position');if(position!='absolute'&&position!='relative')$(this).css('position','relative');});}});};var elem,opts,busy=false,imagePreloader=new Image,loadingTimer,loadingFrame=1,imageRegExp=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i;var ieQuirks=null,IE6=$.browser.msie&&$.browser.version.substr(0,1)==6&&!window.XMLHttpRequest,oldIE=IE6||($.browser.msie&&$.browser.version.substr(0,1)==7);$.fn.fancybox=function(o){var settings=$.extend({},$.fn.fancybox.defaults,o);var matchedGroup=this;function _initialize(){elem=this;opts=$.extend({},settings);_start();return false;};function _start(){if(busy)return;if($.isFunction(opts.callbackOnStart)){opts.callbackOnStart();}opts.itemArray=[];opts.itemCurrent=0;if(settings.itemArray.length>0){opts.itemArray=settings.itemArray;}else{var item={};if(!elem.rel||elem.rel==''){var item={href: elem.href,title: elem.title};if($(elem).children("img:first").length){item.orig=$(elem).children("img:first");}else{item.orig=$(elem);}if(item.title==''||typeof item.title=='undefined'){item.title=item.orig.attr('alt');}opts.itemArray.push(item);}else{var subGroup=$(matchedGroup).filter("a[rel="+elem.rel+"]");var item={};for(var i=0;i<subGroup.length;i++){item={href: subGroup[i].href,title: subGroup[i].title};if($(subGroup[i]).children("img:first").length){item.orig=$(subGroup[i]).children("img:first");}else{item.orig=$(subGroup[i]);}if(item.title==''||typeof item.title=='undefined'){item.title=item.orig.attr('alt');}opts.itemArray.push(item);}}}while(opts.itemArray[opts.itemCurrent].href!=elem.href){opts.itemCurrent++;}if(opts.overlayShow){if(IE6){$('embed,object,select').css('visibility','hidden');$("#fancy_overlay").css('height',$(document).height());}$("#fancy_overlay").css({'background-color' : opts.overlayColor,'opacity' : opts.overlayOpacity}).show();}$(window).bind("resize.fb scroll.fb",$.fn.fancybox.scrollBox);_change_item();};function _change_item(){$("#fancy_right,#fancy_left,#fancy_close,#fancy_title").hide();var href=opts.itemArray[opts.itemCurrent].href;if(href.match("iframe")||elem.className.indexOf("iframe")>=0){$.fn.fancybox.showLoading();_set_content('<iframe id="fancy_frame" onload="jQuery.fn.fancybox.showIframe()" name="fancy_iframe'+Math.round(Math.random()*1000)+'" frameborder="0" hspace="0" src="'+href+'"></iframe>',opts.frameWidth,opts.frameHeight);}else if(href.match(/#/)){var target=window.location.href.split('#')[0];target=href.replace(target,'');target=target.substr(target.indexOf('#'));_set_content('<div id="fancy_div">'+$(target).html()+'</div>',opts.frameWidth,opts.frameHeight);}else if(href.match(imageRegExp)){imagePreloader=new Image;imagePreloader.src=href;if(imagePreloader.complete){_proceed_image();}else{$.fn.fancybox.showLoading();$(imagePreloader).unbind().bind('load',function(){$("#fancy_loading").hide();_proceed_image();});}}else{$.fn.fancybox.showLoading();$.get(href,function(data){$("#fancy_loading").hide();_set_content('<div id="fancy_ajax">'+data+'</div>',opts.frameWidth,opts.frameHeight);});}};function _proceed_image(){var width=imagePreloader.width;var height=imagePreloader.height;var horizontal_space=(opts.padding*2)+40;var vertical_space=(opts.padding*2)+60;var w=$.fn.fancybox.getViewport();if(opts.imageScale&&(width>(w[0]-horizontal_space)||height>(w[1]-vertical_space))){var ratio=Math.min(Math.min(w[0]-horizontal_space,width)/width,Math.min(w[1]-vertical_space,height)/height);width=Math.round(ratio*width);height=Math.round(ratio*height);}_set_content('<img alt="" id="fancy_img" src="'+imagePreloader.src+'"/>',width,height);};function _preload_neighbor_images(){if((opts.itemArray.length-1)>opts.itemCurrent){var href=opts.itemArray[opts.itemCurrent+1].href||false;if(href&&href.match(imageRegExp)){objNext=new Image();objNext.src=href;}}if(opts.itemCurrent>0){var href=opts.itemArray[opts.itemCurrent-1].href||false;if(href&&href.match(imageRegExp)){objNext=new Image();objNext.src=href;}}};function _set_content(value,width,height){busy=true;var pad=opts.padding;if(oldIE||ieQuirks){$("#fancy_content")[0].style.removeExpression("height");$("#fancy_content")[0].style.removeExpression("width");}if(pad>0){width+=pad*2;height+=pad*2;$("#fancy_content").css({'top' : pad+'px','right' : pad+'px','bottom' : pad+'px','left' : pad+'px','width' : 'auto','height' : 'auto'});if(oldIE||ieQuirks){$("#fancy_content")[0].style.setExpression('height','(this.parentNode.clientHeight-'+pad*2+')');$("#fancy_content")[0].style.setExpression('width','(this.parentNode.clientWidth-'+pad*2+')');}}else{$("#fancy_content").css({'top' : 0,'right' : 0,'bottom' : 0,'left' : 0,'width' : '100%','height' : '100%'});}if($("#fancy_outer").is(":visible")&&width==$("#fancy_outer").width()&&height==$("#fancy_outer").height()){$("#fancy_content").fadeOut('fast',function(){$("#fancy_content").empty().append($(value)).fadeIn("normal",function(){_finish();});});return;}var w=$.fn.fancybox.getViewport();var itemTop=(height+60)>w[1]?w[3]:(w[3]+Math.round((w[1]-height-60)*0.5));var itemLeft=(width+40)>w[0]?w[2]:(w[2]+Math.round((w[0]-width-40)*0.5));var itemOpts={'left': itemLeft,'top': itemTop,'width': width+'px','height': height+'px'};if($("#fancy_outer").is(":visible")){$("#fancy_content").fadeOut("normal",function(){$("#fancy_content").empty();$("#fancy_outer").animate(itemOpts,opts.zoomSpeedChange,opts.easingChange,function(){$("#fancy_content").append($(value)).fadeIn("normal",function(){_finish();});});});}else{if(opts.zoomSpeedIn>0&&opts.itemArray[opts.itemCurrent].orig!==undefined){$("#fancy_content").empty().append($(value));var orig_item=opts.itemArray[opts.itemCurrent].orig;var orig_pos=$.fn.fancybox.getPosition(orig_item);$("#fancy_outer").css({'left':(orig_pos.left-20-opts.padding)+'px','top':(orig_pos.top-20-opts.padding)+'px','width': $(orig_item).width()+(opts.padding*2),'height': $(orig_item).height()+(opts.padding*2)});if(opts.zoomOpacity){itemOpts.opacity='show';}$("#fancy_outer").animate(itemOpts,opts.zoomSpeedIn,opts.easingIn,function(){_finish();});}else{$("#fancy_content").hide().empty().append($(value)).show();$("#fancy_outer").css(itemOpts).fadeIn("normal",function(){_finish();});}}};function _set_navigation(){if(opts.itemCurrent!==0){$("#fancy_left,#fancy_left_ico").unbind().bind("click",function(e){e.stopPropagation();opts.itemCurrent--;_change_item();return false;});$("#fancy_left").show();}if(opts.itemCurrent!=(opts.itemArray.length-1)){$("#fancy_right,#fancy_right_ico").unbind().bind("click",function(e){e.stopPropagation();opts.itemCurrent++;_change_item();return false;});$("#fancy_right").show();}};function _finish(){if($.browser.msie){$("#fancy_content")[0].style.removeAttribute('filter');$("#fancy_outer")[0].style.removeAttribute('filter');}_set_navigation();_preload_neighbor_images();$(document).bind("keydown.fb",function(e){if(e.keyCode==27&&opts.enableEscapeButton){$.fn.fancybox.close();}else if(e.keyCode==37&&opts.itemCurrent!==0){$(document).unbind("keydown.fb");opts.itemCurrent--;_change_item();}else if(e.keyCode==39&&opts.itemCurrent!=(opts.itemArray.length-1)){$(document).unbind("keydown.fb");opts.itemCurrent++;_change_item();}});if(opts.hideOnContentClick){$("#fancy_content").click($.fn.fancybox.close);}if(opts.overlayShow&&opts.hideOnOverlayClick){$("#fancy_overlay").bind("click",$.fn.fancybox.close);}if(opts.showCloseButton){$("#fancy_close").bind("click",$.fn.fancybox.close).show();}if(typeof opts.itemArray[opts.itemCurrent].title!=='undefined'&&opts.itemArray[opts.itemCurrent].title.length>0){var pos=$("#fancy_outer").position();$('#fancy_title div').text(opts.itemArray[opts.itemCurrent].title).html();$('#fancy_title').css({'top' : pos.top+$("#fancy_outer").outerHeight()-32,'left' : pos.left+(($("#fancy_outer").outerWidth()*0.5)-($('#fancy_title').width()*0.5))}).show();}if(opts.overlayShow&&IE6){$('embed,object,select',$('#fancy_content')).css('visibility','visible');}if($.isFunction(opts.callbackOnShow)){opts.callbackOnShow(opts.itemArray[opts.itemCurrent]);}if($.browser.msie){$("#fancy_outer")[0].style.removeAttribute('filter');$("#fancy_content")[0].style.removeAttribute('filter');}busy=false;};return this.unbind('click.fb').bind('click.fb',_initialize);};$.fn.fancybox.scrollBox=function(){var w=$.fn.fancybox.getViewport();if(opts.centerOnScroll&&$("#fancy_outer").is(':visible')){var ow=$("#fancy_outer").outerWidth();var oh=$("#fancy_outer").outerHeight();var pos={'top' :(oh>w[1]?w[3]: w[3]+Math.round((w[1]-oh)*0.5)),'left' :(ow>w[0]?w[2]: w[2]+Math.round((w[0]-ow)*0.5))};$("#fancy_outer").css(pos);$('#fancy_title').css({'top' : pos.top+oh-32,'left' : pos.left+((ow*0.5)-($('#fancy_title').width()*0.5))});}if(IE6&&$("#fancy_overlay").is(':visible')){$("#fancy_overlay").css({'height' : $(document).height()});}if($("#fancy_loading").is(':visible')){$("#fancy_loading").css({'left':((w[0]-40)*0.5+w[2]),'top':((w[1]-40)*0.5+w[3])});}};$.fn.fancybox.getNumeric=function(el,prop){return parseInt($.curCSS(el.jquery?el[0]:el,prop,true))||0;};$.fn.fancybox.getPosition=function(el){var pos=el.offset();pos.top+=$.fn.fancybox.getNumeric(el,'paddingTop');pos.top+=$.fn.fancybox.getNumeric(el,'borderTopWidth');pos.left+=$.fn.fancybox.getNumeric(el,'paddingLeft');pos.left+=$.fn.fancybox.getNumeric(el,'borderLeftWidth');return pos;};$.fn.fancybox.showIframe=function(){$("#fancy_loading").hide();$("#fancy_frame").show();};$.fn.fancybox.getViewport=function(){return[$(window).width(),$(window).height(),$(document).scrollLeft(),$(document).scrollTop()];};$.fn.fancybox.animateLoading=function(){if(!$("#fancy_loading").is(':visible')){clearInterval(loadingTimer);return;}$("#fancy_loading>div").css('top',(loadingFrame*-40)+'px');loadingFrame=(loadingFrame+1)%12;};$.fn.fancybox.showLoading=function(){clearInterval(loadingTimer);var w=$.fn.fancybox.getViewport();$("#fancy_loading").css({'left':((w[0]-40)*0.5+w[2]),'top':((w[1]-40)*0.5+w[3])}).show();$("#fancy_loading").bind('click',$.fn.fancybox.close);loadingTimer=setInterval($.fn.fancybox.animateLoading,66);};$.fn.fancybox.close=function(){busy=true;$(imagePreloader).unbind();$(document).unbind("keydown.fb");$(window).unbind("resize.fb scroll.fb");$("#fancy_overlay,#fancy_content,#fancy_close").unbind();$("#fancy_close,#fancy_loading,#fancy_left,#fancy_right,#fancy_title").hide();__cleanup=function(){if($("#fancy_overlay").is(':visible')){$("#fancy_overlay").fadeOut("fast");}$("#fancy_content").empty();if(opts.centerOnScroll){$(window).unbind("resize.fb scroll.fb");}if(IE6){$('embed,object,select').css('visibility','visible');}if($.isFunction(opts.callbackOnClose)){opts.callbackOnClose();}busy=false;};if($("#fancy_outer").is(":visible")!==false){if(opts.zoomSpeedOut>0&&opts.itemArray[opts.itemCurrent].orig!==undefined){var orig_item=opts.itemArray[opts.itemCurrent].orig;var orig_pos=$.fn.fancybox.getPosition(orig_item);var itemOpts={'left':(orig_pos.left-20-opts.padding)+'px','top':(orig_pos.top-20-opts.padding)+'px','width': $(orig_item).width()+(opts.padding*2),'height': $(orig_item).height()+(opts.padding*2)};if(opts.zoomOpacity){itemOpts.opacity='hide';}$("#fancy_outer").stop(false,true).animate(itemOpts,opts.zoomSpeedOut,opts.easingOut,__cleanup);}else{$("#fancy_outer").stop(false,true).fadeOut('fast',__cleanup);}}else{__cleanup();}return false;};$.fn.fancybox.build=function(){var html='';html+='<div id="fancy_overlay"></div>';html+='<div id="fancy_loading"><div></div></div>';html+='<div id="fancy_outer">';html+='<div id="fancy_inner">';html+='<div id="fancy_close"></div>';html+='<div id="fancy_bg"><div class="fancy_bg" id="fancy_bg_n"></div><div class="fancy_bg" id="fancy_bg_ne"></div><div class="fancy_bg" id="fancy_bg_e"></div><div class="fancy_bg" id="fancy_bg_se"></div><div class="fancy_bg" id="fancy_bg_s"></div><div class="fancy_bg" id="fancy_bg_sw"></div><div class="fancy_bg" id="fancy_bg_w"></div><div class="fancy_bg" id="fancy_bg_nw"></div></div>';html+='<a href="javascript:;" id="fancy_left"><span class="fancy_ico" id="fancy_left_ico"></span></a><a href="javascript:;" id="fancy_right"><span class="fancy_ico" id="fancy_right_ico"></span></a>';html+='<div id="fancy_content"></div>';html+='</div>';html+='</div>';html+='<div id="fancy_title"></div>';$(html).appendTo("body");$('<table cellspacing="0" cellpadding="0" border="0"><tr><td class="fancy_title" id="fancy_title_left"></td><td class="fancy_title" id="fancy_title_main"><div></div></td><td class="fancy_title" id="fancy_title_right"></td></tr></table>').appendTo('#fancy_title');if($.browser.msie){$(".fancy_bg").fixPNG();}if(IE6){$("div#fancy_overlay").css("position","absolute");$("#fancy_loading div,#fancy_close,.fancy_title,.fancy_ico").fixPNG();$("#fancy_inner").prepend('<iframe id="fancy_bigIframe" src="javascript:false;" scrolling="no" frameborder="0"></iframe>');var frameDoc=$('#fancy_bigIframe')[0].contentWindow.document;frameDoc.open();frameDoc.close();}};$.fn.fancybox.defaults={padding : 10,imageScale : true,zoomOpacity : true,zoomSpeedIn : 0,zoomSpeedOut : 0,zoomSpeedChange : 300,easingIn : 'swing',easingOut : 'swing',easingChange : 'swing',frameWidth : 560,frameHeight : 340,overlayShow : true,overlayOpacity : 0.3,overlayColor : '#666',enableEscapeButton : true,showCloseButton : true,hideOnOverlayClick : true,hideOnContentClick : true,centerOnScroll : true,itemArray :[],callbackOnStart : null,callbackOnShow : null,callbackOnClose : null};$(document).ready(function(){ieQuirks=$.browser.msie&&!$.boxModel;if($("#fancy_outer").length<1){$.fn.fancybox.build();}});})(jQuery);
|
|
js/jquery.mousewheel.3.0.4.pack.js
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
|
2 |
+
* Licensed under the MIT License (LICENSE.txt).
|
3 |
+
*
|
4 |
+
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
|
5 |
+
* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
|
6 |
+
* Thanks to: Seamus Leahy for adding deltaX and deltaY
|
7 |
+
*
|
8 |
+
* Version: 3.0.4
|
9 |
+
*
|
10 |
+
* Requires: 1.2.2+
|
11 |
+
*/
|
12 |
+
|
13 |
+
(function(d){function g(a){var b=a||window.event,i=[].slice.call(arguments,1),c=0,h=0,e=0;a=d.event.fix(b);a.type="mousewheel";if(a.wheelDelta)c=a.wheelDelta/120;if(a.detail)c=-a.detail/3;e=c;if(b.axis!==undefined&&b.axis===b.HORIZONTAL_AXIS){e=0;h=-1*c}if(b.wheelDeltaY!==undefined)e=b.wheelDeltaY/120;if(b.wheelDeltaX!==undefined)h=-1*b.wheelDeltaX/120;i.unshift(a,c,h,e);return d.event.handle.apply(this,i)}var f=["DOMMouseScroll","mousewheel"];d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=
|
14 |
+
f.length;a;)this.addEventListener(f[--a],g,false);else this.onmousewheel=g},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],g,false);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
|
languages/mfbfw-es_ES.po
CHANGED
@@ -1,538 +1,538 @@
|
|
1 |
-
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: 2009-12-16 17:37+0000\n"
|
6 |
-
"PO-Revision-Date: \n"
|
7 |
-
"Last-Translator: Jose Pardilla <jose@moskis.net>\n"
|
8 |
-
"Language-Team: Moskis <jose@moskis.net>\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Poedit-Language: Spanish\n"
|
13 |
-
"X-Poedit-Country: SPAIN\n"
|
14 |
-
|
15 |
-
#: admin.php:11
|
16 |
-
#, php-format
|
17 |
-
msgid "Fancybox for WordPress (version %s)"
|
18 |
-
msgstr "Fancybox for WordPress (versión %s)"
|
19 |
-
|
20 |
-
#: admin.php:27
|
21 |
-
msgid "Info"
|
22 |
-
msgstr "Información"
|
23 |
-
|
24 |
-
#: admin.php:28
|
25 |
-
msgid "Appearance"
|
26 |
-
msgstr "Apariencia"
|
27 |
-
|
28 |
-
#: admin.php:29
|
29 |
-
msgid "Animations"
|
30 |
-
msgstr "Animaciones"
|
31 |
-
|
32 |
-
#: admin.php:30
|
33 |
-
msgid "Behaviour"
|
34 |
-
msgstr "Comportamiento"
|
35 |
-
|
36 |
-
#: admin.php:31
|
37 |
-
msgid "Galleries"
|
38 |
-
msgstr "Galerías"
|
39 |
-
|
40 |
-
#: admin.php:32
|
41 |
-
msgid "Other"
|
42 |
-
msgstr "Otros"
|
43 |
-
|
44 |
-
#: admin.php:33
|
45 |
-
msgid "Troubleshooting"
|
46 |
-
msgstr "Ayuda"
|
47 |
-
|
48 |
-
#: admin.php:34
|
49 |
-
#: lib/admin-tab-uninstall.php:1
|
50 |
-
msgid "Uninstall"
|
51 |
-
msgstr "Desinstalar"
|
52 |
-
|
53 |
-
#: admin.php:90
|
54 |
-
msgid "Save Changes"
|
55 |
-
msgstr "Guardar Cambios"
|
56 |
-
|
57 |
-
#: fancybox.php:370
|
58 |
-
msgid "Settings"
|
59 |
-
msgstr "Opciones"
|
60 |
-
|
61 |
-
#: lib/admin-tab-animations.php:1
|
62 |
-
msgid "Animation Settings <span style=\"color:green\">(basic)</span>"
|
63 |
-
msgstr "Opciones de Animación <span style=\"color:green\">(básico)</span>"
|
64 |
-
|
65 |
-
#: lib/admin-tab-animations.php:3
|
66 |
-
msgid "These settings control the animations when opening and closing Fancybox, and the optional easing effects."
|
67 |
-
msgstr "Estas opciones controlan las animaciones al abrir y cerrar Fancybox, y los efectos opcionales de animación."
|
68 |
-
|
69 |
-
#: lib/admin-tab-animations.php:9
|
70 |
-
msgid "Zoom Options"
|
71 |
-
msgstr "Opciones de Zoom"
|
72 |
-
|
73 |
-
#: lib/admin-tab-animations.php:15
|
74 |
-
msgid "Change content transparency during zoom animations (default: on)"
|
75 |
-
msgstr "Animar opacidad durante el efecto de zoom (por defecto: activado)"
|
76 |
-
|
77 |
-
#: lib/admin-tab-animations.php:27
|
78 |
-
msgid "Speed in miliseconds of the zooming-in animation (default: 500)"
|
79 |
-
msgstr "Velocidad en milisegundos del efecto de Zoom In (por defecto: 500)"
|
80 |
-
|
81 |
-
#: lib/admin-tab-animations.php:39
|
82 |
-
msgid "Speed in miliseconds of the zooming-out animation (default: 500)"
|
83 |
-
msgstr "Velocidad en milisegundos del efecto de Zoom Out (por defecto: 500)"
|
84 |
-
|
85 |
-
#: lib/admin-tab-animations.php:51
|
86 |
-
msgid "Speed in miliseconds of the animation when navigating thorugh gallery items (default: 300)"
|
87 |
-
msgstr "Velocidad en milisegundos de la animación al navegar entre los elementos de una galería (por defecto: 300)"
|
88 |
-
|
89 |
-
#: lib/admin-tab-animations.php:59
|
90 |
-
msgid "Easing"
|
91 |
-
msgstr "Efecto de Animación"
|
92 |
-
|
93 |
-
#: lib/admin-tab-animations.php:65
|
94 |
-
msgid "Activate easing (default: off)"
|
95 |
-
msgstr "Activar efecto de animación (por defecto: desactivado)"
|
96 |
-
|
97 |
-
#: lib/admin-tab-animations.php:78
|
98 |
-
msgid "Easing method when opening FancyBox. (default: easeOutBack)"
|
99 |
-
msgstr "Efecto de animación al abrir FancyBox. (por defecto: easeOutBack)"
|
100 |
-
|
101 |
-
#: lib/admin-tab-animations.php:91
|
102 |
-
msgid "Easing method when closing FancyBox. (default: easeInBack)"
|
103 |
-
msgstr "Efecto de animación al cerrar FancyBox. (por defecto: easeInBack)"
|
104 |
-
|
105 |
-
#: lib/admin-tab-animations.php:104
|
106 |
-
msgid "Easing method when navigating through gallery items. (default: easeInOutQuart)"
|
107 |
-
msgstr "Efecto de animación al navegar por galerías. (por defecto: easoInOutQuart)"
|
108 |
-
|
109 |
-
#: lib/admin-tab-animations.php:107
|
110 |
-
msgid "(There are 30 different easing methods, the first ones are the most boring. You can test them <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html\" target=\"_blank\">here</a>)"
|
111 |
-
msgstr "(Hay 30 efectos diferentes, los primeros son los más aburridos. Puedes probarlos <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">aquí</a> o <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html\" target=\"_blank\">aquí</a>)"
|
112 |
-
|
113 |
-
#: lib/admin-tab-appearance.php:1
|
114 |
-
msgid "Appearance Settings <span style=\"color:green\">(basic)</span>"
|
115 |
-
msgstr "Opciones de Apariencia <span style=\"color:green\">(básico)</span>"
|
116 |
-
|
117 |
-
#: lib/admin-tab-appearance.php:3
|
118 |
-
msgid "These setting control how Fancybox looks, they let you tweak color, borders and position of elements, like the image title and closing buttons."
|
119 |
-
msgstr "Estas opciones controlan el aspecto general de FancyBox, te permiten ajustar los colores, bordes y posición de elementos como el título de la imagen y el botón de cerrar."
|
120 |
-
|
121 |
-
#: lib/admin-tab-appearance.php:9
|
122 |
-
msgid "Border Color"
|
123 |
-
msgstr "Color del Borde"
|
124 |
-
|
125 |
-
#: lib/admin-tab-appearance.php:15
|
126 |
-
msgid "Show Border (default: off)"
|
127 |
-
msgstr "Mostrar Borde (por defecto: desactivado)"
|
128 |
-
|
129 |
-
#: lib/admin-tab-appearance.php:20
|
130 |
-
msgid "HTML color of the border (default: #BBBBBB)"
|
131 |
-
msgstr "Color HTML del borde (por defecto: #BBBBBB)"
|
132 |
-
|
133 |
-
#: lib/admin-tab-appearance.php:28
|
134 |
-
msgid "Close Button"
|
135 |
-
msgstr "Botón de Cerrar"
|
136 |
-
|
137 |
-
#: lib/admin-tab-appearance.php:34
|
138 |
-
msgid "Show Close button (default: on)"
|
139 |
-
msgstr "Mostrar el Botón de Cerrar (por defecto: activado)"
|
140 |
-
|
141 |
-
#: lib/admin-tab-appearance.php:37
|
142 |
-
msgid "Close button position:"
|
143 |
-
msgstr "Posición del Botón de Cerrar:"
|
144 |
-
|
145 |
-
#: lib/admin-tab-appearance.php:40
|
146 |
-
msgid "Left"
|
147 |
-
msgstr "Izquierda"
|
148 |
-
|
149 |
-
#: lib/admin-tab-appearance.php:45
|
150 |
-
msgid "Right (default)"
|
151 |
-
msgstr "Derecha (por defecto)"
|
152 |
-
|
153 |
-
#: lib/admin-tab-appearance.php:50
|
154 |
-
msgid "Bottom"
|
155 |
-
msgstr "Abajo"
|
156 |
-
|
157 |
-
#: lib/admin-tab-appearance.php:55
|
158 |
-
msgid "Top (default)"
|
159 |
-
msgstr "Arriba (por defecto)"
|
160 |
-
|
161 |
-
#: lib/admin-tab-appearance.php:63
|
162 |
-
msgid "Padding"
|
163 |
-
msgstr "Margen"
|
164 |
-
|
165 |
-
#: lib/admin-tab-appearance.php:69
|
166 |
-
msgid "HTML color of the padding (default: #FFFFFF)"
|
167 |
-
msgstr "Color HTML del margen (por defecto: #FFFFFF)"
|
168 |
-
|
169 |
-
#: lib/admin-tab-appearance.php:72
|
170 |
-
msgid "(This should be left on #FFFFFF (white) if you want to display anything other than images, like inline or framed content)"
|
171 |
-
msgstr "(Esta opción debería dejarse en #FFFFFF (blanco) si vas a mostrar algo que no sean imágenes, como contenido anidado)"
|
172 |
-
|
173 |
-
#: lib/admin-tab-appearance.php:76
|
174 |
-
msgid "Padding size in pixels (default: 10)"
|
175 |
-
msgstr "Tamaño del margen en píxeles (por defecto: 10)"
|
176 |
-
|
177 |
-
#: lib/admin-tab-appearance.php:84
|
178 |
-
msgid "Overlay Options"
|
179 |
-
msgstr "Opciones de Overlay"
|
180 |
-
|
181 |
-
#: lib/admin-tab-appearance.php:90
|
182 |
-
msgid "Add overlay (default: on)"
|
183 |
-
msgstr "Añadir overlay (por defecto: activado)"
|
184 |
-
|
185 |
-
#: lib/admin-tab-appearance.php:95
|
186 |
-
msgid "HTML color of the overlay (default: #666666)"
|
187 |
-
msgstr "Color HTML del overlay (por defecto: #666666)"
|
188 |
-
|
189 |
-
#: lib/admin-tab-appearance.php:108
|
190 |
-
msgid "Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)"
|
191 |
-
msgstr "Opacidad del overlay. 0 es transparente, 1 es opaco (por defecto: 0.3)"
|
192 |
-
|
193 |
-
#: lib/admin-tab-appearance.php:116
|
194 |
-
msgid "Show Title"
|
195 |
-
msgstr "Mostrar Título"
|
196 |
-
|
197 |
-
#: lib/admin-tab-appearance.php:122
|
198 |
-
msgid "Show the image title (default: on)"
|
199 |
-
msgstr "Mostrar el Título de la imagen (por defecto: activado)"
|
200 |
-
|
201 |
-
#: lib/admin-tab-behaviour.php:1
|
202 |
-
msgid "Behavior Settings <span style=\"color:orange\">(medium)</span>"
|
203 |
-
msgstr "Opciones de Comportamiento <span style=\"color:orange\">(medio)</span>"
|
204 |
-
|
205 |
-
#: lib/admin-tab-behaviour.php:3
|
206 |
-
msgid "The following settings should be left on default unless you know what you are doing."
|
207 |
-
msgstr "Las siguientes opciones solo deberían ser editadas si sabes lo que estás haciendo."
|
208 |
-
|
209 |
-
#: lib/admin-tab-behaviour.php:9
|
210 |
-
msgid "Auto Resize to Fit"
|
211 |
-
msgstr "Ajustar Tamaño"
|
212 |
-
|
213 |
-
#: lib/admin-tab-behaviour.php:15
|
214 |
-
msgid "Scale images to fit in viewport (default: on)"
|
215 |
-
msgstr "Ajusta el tamaño de las imagenes a la ventana del navegador (por defecto: activado)"
|
216 |
-
|
217 |
-
#: lib/admin-tab-behaviour.php:23
|
218 |
-
msgid "Center on Scroll"
|
219 |
-
msgstr "Centrar al hacer Scroll"
|
220 |
-
|
221 |
-
#: lib/admin-tab-behaviour.php:29
|
222 |
-
msgid "Keep image in the center of the browser window when scrolling (default: on)"
|
223 |
-
msgstr "Mantiene la imagen en el centro de la ventana del naegador al hacer scroll (por defecto: activado)"
|
224 |
-
|
225 |
-
#: lib/admin-tab-behaviour.php:37
|
226 |
-
msgid "Close on Content Click"
|
227 |
-
msgstr "Cerrar al hacer click en contenido"
|
228 |
-
|
229 |
-
#: lib/admin-tab-behaviour.php:43
|
230 |
-
msgid "Close FancyBox by clicking on the image (default: off)"
|
231 |
-
msgstr "Cerrar FancyBox al hacer click en la imagen (por defecto: desactivado)"
|
232 |
-
|
233 |
-
#: lib/admin-tab-behaviour.php:46
|
234 |
-
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)"
|
235 |
-
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)"
|
236 |
-
|
237 |
-
#: lib/admin-tab-behaviour.php:53
|
238 |
-
msgid "Close on Overlay Click"
|
239 |
-
msgstr "Cerrar al hacer click en el fondo"
|
240 |
-
|
241 |
-
#: lib/admin-tab-behaviour.php:59
|
242 |
-
msgid "Close FancyBox by clicking on the overlay sorrounding it (default: on)"
|
243 |
-
msgstr "Cerrar FancyBox al hacer click en el fondo (por defecto: activado)"
|
244 |
-
|
245 |
-
#: lib/admin-tab-behaviour.php:67
|
246 |
-
msgid "Close with "Esc""
|
247 |
-
msgstr "Cerrar con "Esc""
|
248 |
-
|
249 |
-
#: lib/admin-tab-behaviour.php:73
|
250 |
-
msgid "Close FancyBox when "Escape" key is pressed (default: on)"
|
251 |
-
msgstr "Cerrar Fancybox cuando se pulse la tecla "Escape" (por defecto: activado)"
|
252 |
-
|
253 |
-
#: lib/admin-tab-galleries.php:1
|
254 |
-
msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
|
255 |
-
msgstr "Opciones de Galería <span style=\"color:red\">(avanzado)</span>"
|
256 |
-
|
257 |
-
#: lib/admin-tab-galleries.php:3
|
258 |
-
msgid "Here you can choose if you want the plugin to group all images into a gallery, or make a gallery for each post. You can also define you own jQuery expression if you like."
|
259 |
-
msgstr "Aquí puedes elegir si quieres que el plugin agrupe las imágenes en una galería, o hacer una galería para cada entrada. También puedes definir tu propia expresión en jQuery."
|
260 |
-
|
261 |
-
#: lib/admin-tab-galleries.php:9
|
262 |
-
msgid "Gallery Type"
|
263 |
-
msgstr "Tipo de Galería"
|
264 |
-
|
265 |
-
#: lib/admin-tab-galleries.php:15
|
266 |
-
msgid "Make a gallery for all images on the page (default)"
|
267 |
-
msgstr "Incluir todas las imágenes de la página en una única galería (opción por defecto)"
|
268 |
-
|
269 |
-
#: lib/admin-tab-galleries.php:20
|
270 |
-
msgid "Do not group images in gallery automatically (use this if you want to make galleries manually with the <code>REL</code> attribute)"
|
271 |
-
msgstr "No agrupar imágenes en galerías automáticamente (usa esta opción si quieres agrupar las imagenes manualmente con el atributo <code>REL</code>)"
|
272 |
-
|
273 |
-
#: lib/admin-tab-galleries.php:25
|
274 |
-
msgid "Make a gallery for each post (will only work if your theme uses <code>class=\"post\"</code> on each post, which is common in WordPress"
|
275 |
-
msgstr "Hacer una galería para cada post (solo funcionará si el tema usa <code>class=\"post\"</code> en cada post, que es lo más común en WordPress"
|
276 |
-
|
277 |
-
#: lib/admin-tab-galleries.php:30
|
278 |
-
msgid "Use a custom expression to apply FancyBox"
|
279 |
-
msgstr "Aplicar FancyBox con una expresión personalizada"
|
280 |
-
|
281 |
-
#: lib/admin-tab-galleries.php:39
|
282 |
-
msgid "Custom expression guidelines:"
|
283 |
-
msgstr "Indicaciones para expresiones personalizadas:"
|
284 |
-
|
285 |
-
#: lib/admin-tab-galleries.php:41
|
286 |
-
msgid "· The custom expression has to apply <code>class=\"fancybox\"</code> to the links where you want to use FancyBox. Do not call the <code>fancybox()</code> function here, the plugin does this for you."
|
287 |
-
msgstr "· La expresión personalizada tiene que aplicar el atributo <code>class=\"fancybox\"</code> a los enlaces en los que quieras usar FancyBox. No llames a la función <code>fancybox()</code> aquí, de eso ya se encarga el plugin."
|
288 |
-
|
289 |
-
#: lib/admin-tab-galleries.php:43
|
290 |
-
msgid "· The jQuery <code>addClass()</code> function is a good way to add the class to the desired links conserving any existing class."
|
291 |
-
msgstr "· La función <code>addClass()</code> de jQuery es una buena forma de añadir el class a los links deseados."
|
292 |
-
|
293 |
-
#: lib/admin-tab-galleries.php:45
|
294 |
-
msgid "· You can use <code>getTitle()</code> in your expression to copy the title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so that FancyBox can show captions."
|
295 |
-
msgstr "· Puedes usar <code>getTitle()</code> en tu expresión para copiar el atributo title desde el tag <code>IMG</code> al tag <code>A</code>, para que FancyBox pueda mostrar el título de la imagen."
|
296 |
-
|
297 |
-
#: lib/admin-tab-galleries.php:47
|
298 |
-
msgid "· You can use <code>jQuery(thumbnails)</code> like in the example expression to apply FancyBox to thumbnails that link to these extensions: BMP, GIF, JPG, JPEG, PNG (both lowercase and uppercase)."
|
299 |
-
msgstr "· Puedes usar <code>jQuery(thumbnails)</code> como en el ejemplo para aplicar FancyBox a las miniaturas de im%aacute;genes que enlazen a estas extensiones: BMP, GIF, JPG, JPEG, PNG tanto en minúscula como en mayúscula)."
|
300 |
-
|
301 |
-
#: lib/admin-tab-galleries.php:49
|
302 |
-
msgid "· If you want to do it manually you can use something like <code>jQuery(\"a:has(img)[href$='.jpg']\")</code> or whatever works for you."
|
303 |
-
msgstr "· Si prefieres hacerlo manualmente puedes usar algo como <code>jQuery(\"a:has(img)[href$='.jpg']\")</code> o lo que más se ajuste a tu blog."
|
304 |
-
|
305 |
-
#: lib/admin-tab-galleries.php:51
|
306 |
-
msgid "See the <a href=\"http://docs.jquery.com/\" target=\"_blank\">jQuery Documentation</a> for more help."
|
307 |
-
msgstr "Visita la <a href=\"http://docs.jquery.com/\" target=\"_blank\">Documentación de jQuery</a> para encontrar más ayuda."
|
308 |
-
|
309 |
-
#: lib/admin-tab-galleries.php:53
|
310 |
-
msgid "Examples:"
|
311 |
-
msgstr "Ejemplos:"
|
312 |
-
|
313 |
-
#: lib/admin-tab-info.php:1
|
314 |
-
msgid "Info & Support"
|
315 |
-
msgstr "Info & Soporte"
|
316 |
-
|
317 |
-
#: lib/admin-tab-info.php:3
|
318 |
-
msgid "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> developed by <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a>, ported to WordPress by <a href=\"http://moskis.net/\">José Pardilla</a>. Licensed under the <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
319 |
-
msgstr "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> desarrollado por <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a>, adaptado a WordPress por <a href=\"http://moskis.net/\">José Pardilla</a>. Licenciado bajo <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">Licencia MIT</a>."
|
320 |
-
|
321 |
-
#: lib/admin-tab-info.php:5
|
322 |
-
msgid "As you can see, this plugin has many options you can edit, but have no fear, you can leave everything as it is if you want, since the default options should be a good start... :)"
|
323 |
-
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... :)"
|
324 |
-
|
325 |
-
#: lib/admin-tab-info.php:9
|
326 |
-
msgid "If you have problems or questions about FancyBox, please start with these links: <a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>.<br />If that does not help, go to <a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>, use the <strong>Search</strong> option, and if necesary, post your question."
|
327 |
-
msgstr "Si tienes problemas o dudas acerca de FancyBox, por favor visita estos enlaces (en inglés): <a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/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í."
|
328 |
-
|
329 |
-
#: lib/admin-tab-info.php:11
|
330 |
-
msgid "If you are having trouble with this plugin try to localize the problem (switch your theme and/or deactivate plugins until you find the source of the problem). You can also try the Troubleshooting settings at the bottom of this page if necesary. If you still can not get the plugin to work, <a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">leave a comment here</a> explaining the problem."
|
331 |
-
msgstr "Si tienes problemas con este plugin para WordPress, 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. Si no consigues hacer funcionar el plugin, <a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">deja un comentario aquí</a> explicando el problema."
|
332 |
-
|
333 |
-
#: lib/admin-tab-info.php:15
|
334 |
-
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."
|
335 |
-
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."
|
336 |
-
|
337 |
-
#: lib/admin-tab-info.php:18
|
338 |
-
msgid "If you use FancyBox and like it, buy the author a beer!"
|
339 |
-
msgstr "Si usas FancyBox y te gusta, cómprale una cerveza al autor!"
|
340 |
-
|
341 |
-
#: lib/admin-tab-info.php:36
|
342 |
-
msgid "The author of this WordPress Plugin also likes beer :P"
|
343 |
-
msgstr "Al autor de este plugin para WordPress también le gusta la cerveza :P"
|
344 |
-
|
345 |
-
#: lib/admin-tab-info.php:46
|
346 |
-
msgid "Follow me on Twitter for more WordPress Plugins and Themes"
|
347 |
-
msgstr "Sígueme en Twitter para más Plugins y Temas de WordPress"
|
348 |
-
|
349 |
-
#: lib/admin-tab-other.php:1
|
350 |
-
msgid "Other Settings <span style=\"color:red\">(advanced)</span>"
|
351 |
-
msgstr "Otras Opciones <span style=\"color:red\">(avanzado)</span>"
|
352 |
-
|
353 |
-
#: lib/admin-tab-other.php:3
|
354 |
-
msgid "These are additional settings for advanced users."
|
355 |
-
msgstr "Las siguientes opciones son para usuarios avanzados."
|
356 |
-
|
357 |
-
#: lib/admin-tab-other.php:9
|
358 |
-
msgid "Callbacks"
|
359 |
-
msgstr "Retrollamadas"
|
360 |
-
|
361 |
-
#: lib/admin-tab-other.php:14
|
362 |
-
msgid "Callback on Start event (default: empty)"
|
363 |
-
msgstr "Retrollamada en el evento de Inicio (por defecto: vacío)"
|
364 |
-
|
365 |
-
#: lib/admin-tab-other.php:19
|
366 |
-
msgid "Callback on Show event (default: empty)"
|
367 |
-
msgstr "Retrollamada en el evento de Mostrado (por defecto: vacío)"
|
368 |
-
|
369 |
-
#: lib/admin-tab-other.php:24
|
370 |
-
msgid "Callback on Close event (default: empty)"
|
371 |
-
msgstr "Retrollamada en el evento de Cerrado (por defecto: vacío)"
|
372 |
-
|
373 |
-
#: lib/admin-tab-other.php:28
|
374 |
-
msgid "Example:"
|
375 |
-
msgstr "Ejemplo:"
|
376 |
-
|
377 |
-
#: lib/admin-tab-other.php:32
|
378 |
-
msgid "Leave the fields empty to disable."
|
379 |
-
msgstr "Deja estos campos vacíos para desactivar cualqueir retrollamada."
|
380 |
-
|
381 |
-
#: lib/admin-tab-other.php:39
|
382 |
-
msgid "Frame Size"
|
383 |
-
msgstr "Tamaño del recuadro"
|
384 |
-
|
385 |
-
#: lib/admin-tab-other.php:45
|
386 |
-
msgid "Width in pixels of FancyBox when showing iframe content (default: 560)"
|
387 |
-
msgstr "Ancho en píxeles de FancyBox cuado se muestre contenido anidado (por defecto: 560)"
|
388 |
-
|
389 |
-
#: lib/admin-tab-other.php:50
|
390 |
-
msgid "Height in pixels of FancyBox when showing iframe content (default: 340)"
|
391 |
-
msgstr "Alto en píxeles de FancyBox cuado se muestre contenido anidado (por defecto: 340)"
|
392 |
-
|
393 |
-
#: lib/admin-tab-other.php:58
|
394 |
-
msgid "Load JavaScript in Footer"
|
395 |
-
msgstr "Cargar JavaScript en el Pié de página"
|
396 |
-
|
397 |
-
#: lib/admin-tab-other.php:64
|
398 |
-
msgid "Loads JavaScript at the end of the blog's HTML (experimental) (default: off)"
|
399 |
-
msgstr "Carga el JavaScript al final del código HTML del blog (experimental) (por defecto: desactivado)"
|
400 |
-
|
401 |
-
#: lib/admin-tab-other.php:67
|
402 |
-
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."
|
403 |
-
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."
|
404 |
-
|
405 |
-
#: lib/admin-tab-troubleshooting.php:1
|
406 |
-
msgid "Troubleshooting Settings"
|
407 |
-
msgstr "Resolución de Problemas"
|
408 |
-
|
409 |
-
#: lib/admin-tab-troubleshooting.php:3
|
410 |
-
msgid "Settings in this section should only be changed if you are having problems with the plugin!"
|
411 |
-
msgstr "Las opciones de esta sección solo deben ser editadas si tienes problemas con el plugin!"
|
412 |
-
|
413 |
-
#: lib/admin-tab-troubleshooting.php:5
|
414 |
-
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)."
|
415 |
-
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)."
|
416 |
-
|
417 |
-
#: lib/admin-tab-troubleshooting.php:7
|
418 |
-
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."
|
419 |
-
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."
|
420 |
-
|
421 |
-
#: lib/admin-tab-troubleshooting.php:13
|
422 |
-
msgid "Do not call jQuery"
|
423 |
-
msgstr "No cargar jQuery"
|
424 |
-
|
425 |
-
#: lib/admin-tab-troubleshooting.php:19
|
426 |
-
msgid "Skip jQuery call. Use this only if jQuery is being loaded twice (default: off)"
|
427 |
-
msgstr "Omitir llamada a jQuery. Usa esta opción sólo si jQuery se está cargando dos veces por error. (por defecto: desactivado)"
|
428 |
-
|
429 |
-
#: lib/admin-tab-troubleshooting.php:27
|
430 |
-
msgid "jQuery \"noConflict\" Mode"
|
431 |
-
msgstr "Modo jQuery \"noConflict\""
|
432 |
-
|
433 |
-
#: lib/admin-tab-troubleshooting.php:33
|
434 |
-
msgid "Use jQuery noConflict mode (default: on)"
|
435 |
-
msgstr "Usar parámetro noConflict de jQuery (por defecto: activado)"
|
436 |
-
|
437 |
-
#: lib/admin-tab-troubleshooting.php:36
|
438 |
-
msgid "(Turning this off may cause problems if there are plugins activated that use other js framework like mootools, prototype, scriptaculous, etc.)"
|
439 |
-
msgstr "(Desactivar esta opción puede causar problemas si hay plugins activadoes que usen otros frameworks javascript como Mootols, Prototype, Scriptaculous, etc.)"
|
440 |
-
|
441 |
-
#: lib/admin-tab-uninstall.php:3
|
442 |
-
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."
|
443 |
-
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."
|
444 |
-
|
445 |
-
#: lib/admin-tab-uninstall.php:9
|
446 |
-
msgid "Remove settings"
|
447 |
-
msgstr "Eliminar Opciones"
|
448 |
-
|
449 |
-
#: lib/admin-tab-uninstall.php:15
|
450 |
-
msgid "Remove Settings when plugin is deactivated from the \"Manage Plugins\" page. (default: off)"
|
451 |
-
msgstr "Eliminar opciones cuando se desactive el plugin desde la página \"Gestionar Plugins\". (por defecto: desactivado)"
|
452 |
-
|
453 |
-
#~ msgid "Presentation"
|
454 |
-
#~ msgstr "Presentación"
|
455 |
-
#~ msgid ""
|
456 |
-
#~ "These are the main settings, which let you tweak color, borders and "
|
457 |
-
#~ "animation."
|
458 |
-
#~ msgstr ""
|
459 |
-
#~ "Estas son las opciones principales, que te permiten ajustar los colores, "
|
460 |
-
#~ "bordes y animación."
|
461 |
-
#~ msgid ""
|
462 |
-
#~ "(Set <strong>Border Color</strong> to \"#000000\" and <strong>Padding "
|
463 |
-
#~ "Size</strong> to \"0\" for the classic FancyBox look)"
|
464 |
-
#~ msgstr ""
|
465 |
-
#~ "(Pon el <strong>Color del Borde</strong> en \"#000000\" y el "
|
466 |
-
#~ "<strong>Tamaño del Margen</strong> en \"0\" para el aspecto clásico de "
|
467 |
-
#~ "FancyBox)"
|
468 |
-
#~ msgid "Show/Hide Advanced Settings"
|
469 |
-
#~ msgstr "Mostrar/Ocultar Opciones Avanzadas"
|
470 |
-
#~ msgid "Show/Hide Troubleshooting & Uninstall Settings"
|
471 |
-
#~ msgstr "Mostrar/Ocultar Resolución de Problemas y Desinstalación"
|
472 |
-
#~ msgid ""
|
473 |
-
#~ "Do not call the <code>fancybox()</code> function here, the plugin does "
|
474 |
-
#~ "this for you."
|
475 |
-
#~ msgstr ""
|
476 |
-
#~ "No llames a la función <code>fancybox()</code> desde aquí, eso ya lo hace "
|
477 |
-
#~ "el plugin por tí."
|
478 |
-
#~ msgid "Make a gallery for each post"
|
479 |
-
#~ msgstr "Hacer una galería para cada entrada"
|
480 |
-
#~ msgid ""
|
481 |
-
#~ "The attribute has to start with fancybox, but can end with however you "
|
482 |
-
#~ "like: \"fancybox1\", \"fancybox2\", \"fancybox-custom\" will work."
|
483 |
-
#~ msgstr ""
|
484 |
-
#~ "El atributo debe empezar por fancybox pero puede terminar como quieras: "
|
485 |
-
#~ "\"fancybox1\", \"fancybox2\", \"fancybox-custom\" servirían."
|
486 |
-
#~ msgid "Horizontal position of the close button (default: right)"
|
487 |
-
#~ msgstr ""
|
488 |
-
#~ "Posición horizontal del botón para cerrar FancyBox (por defecto: derecha)"
|
489 |
-
#~ msgid "About"
|
490 |
-
#~ msgstr "Información"
|
491 |
-
#~ msgid ""
|
492 |
-
#~ "This plugin integrates FancyBox with WordPress without having to edit any "
|
493 |
-
#~ "file or code. Once activated the plugin will apply FancyBox automatically "
|
494 |
-
#~ "to all image links, including WordPress galleries. Future versions will "
|
495 |
-
#~ "include some more options like easier inline content integration and more "
|
496 |
-
#~ "advanced customization. Enjoy!"
|
497 |
-
#~ msgstr ""
|
498 |
-
#~ "Este plugin integra FancyBox con WordPress sin necesidad de editar ningún "
|
499 |
-
#~ "archivo o HTML. Una vez activado, el plugin aplicará FancyBox "
|
500 |
-
#~ "automáticamente a todos los enlaces a imágenes, incluyendo galerias de "
|
501 |
-
#~ "WordPress. Que lo disfrutes!"
|
502 |
-
#~ msgid ""
|
503 |
-
#~ "If you have problems or questions about FancyBox itself you should <a "
|
504 |
-
#~ "href=\"http://groups.google.com/group/fancybox\">ask in the FancyBox "
|
505 |
-
#~ "Google Group</a>. If you want to make suggestions or ask just about this "
|
506 |
-
#~ "WordPress plugin you can <a href=\"http://blog.moskis.net/downloads/"
|
507 |
-
#~ "plugins/fancybox-for-wordpress/\">leave a comment here</a>, <a href="
|
508 |
-
#~ "\"http://blog.moskis.net/contactar/\">send me an email</a>, or <a href="
|
509 |
-
#~ "\"http://twitter.com/moskis\">contact me on twitter</a>."
|
510 |
-
#~ msgstr ""
|
511 |
-
#~ "Si tienes problemas o preguntas sobre FancyBox deberías <a href=\"http://"
|
512 |
-
#~ "groups.google.com/group/fancybox\">preguntar en este grupo de Google</a> "
|
513 |
-
#~ "(enlace en inglés). Si tienes preguntas o sugerencias sobre este plugin "
|
514 |
-
#~ "para WordPress, puedes <a href=\"http://blog.moskis.net/downloads/plugins/"
|
515 |
-
#~ "fancybox-for-wordpress/\">dejar un comentario aquí</a>, <a href=\"http://"
|
516 |
-
#~ "blog.moskis.net/contactar/\">enviarme un email</a>, o <a href=\"http://"
|
517 |
-
#~ "twitter.com/moskis\">contactar conmigo vía Twitter</a>."
|
518 |
-
#~ msgid "Auto Apply"
|
519 |
-
#~ msgstr "Auto Aplicar"
|
520 |
-
#~ msgid ""
|
521 |
-
#~ "Apply FancyBox automatically to all links pointing to .jpg, .jpeg, .png "
|
522 |
-
#~ "or .gif images (default: on)"
|
523 |
-
#~ msgstr ""
|
524 |
-
#~ "Aplicar FancyBox automáticamente a todos los enlaces que apunten a "
|
525 |
-
#~ "archivos .jpg, .jpeg, .png o .gif (por defecto: activado)"
|
526 |
-
#~ msgid ""
|
527 |
-
#~ "(The link itself must the an image as well, text links will not be "
|
528 |
-
#~ "affected by this option!)"
|
529 |
-
#~ msgstr ""
|
530 |
-
#~ "(El link tiene que estar en una imagen, esta opción no affecta a enlaces "
|
531 |
-
#~ "de texto!)"
|
532 |
-
#~ msgid ""
|
533 |
-
#~ "(This does NOT conflict with the previous and next image links on "
|
534 |
-
#~ "FancyBox galleries.)"
|
535 |
-
#~ msgstr ""
|
536 |
-
#~ "(Esto no afecta a los enlaces de Imagen Siguiente e Imagen Anterior en "
|
537 |
-
#~ "galerias de varias imágenes)"
|
538 |
-
|
1 |
+
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: 2009-12-16 17:37+0000\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Jose Pardilla <jose@moskis.net>\n"
|
8 |
+
"Language-Team: Moskis <jose@moskis.net>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-Language: Spanish\n"
|
13 |
+
"X-Poedit-Country: SPAIN\n"
|
14 |
+
|
15 |
+
#: admin.php:11
|
16 |
+
#, php-format
|
17 |
+
msgid "Fancybox for WordPress (version %s)"
|
18 |
+
msgstr "Fancybox for WordPress (versión %s)"
|
19 |
+
|
20 |
+
#: admin.php:27
|
21 |
+
msgid "Info"
|
22 |
+
msgstr "Información"
|
23 |
+
|
24 |
+
#: admin.php:28
|
25 |
+
msgid "Appearance"
|
26 |
+
msgstr "Apariencia"
|
27 |
+
|
28 |
+
#: admin.php:29
|
29 |
+
msgid "Animations"
|
30 |
+
msgstr "Animaciones"
|
31 |
+
|
32 |
+
#: admin.php:30
|
33 |
+
msgid "Behaviour"
|
34 |
+
msgstr "Comportamiento"
|
35 |
+
|
36 |
+
#: admin.php:31
|
37 |
+
msgid "Galleries"
|
38 |
+
msgstr "Galerías"
|
39 |
+
|
40 |
+
#: admin.php:32
|
41 |
+
msgid "Other"
|
42 |
+
msgstr "Otros"
|
43 |
+
|
44 |
+
#: admin.php:33
|
45 |
+
msgid "Troubleshooting"
|
46 |
+
msgstr "Ayuda"
|
47 |
+
|
48 |
+
#: admin.php:34
|
49 |
+
#: lib/admin-tab-uninstall.php:1
|
50 |
+
msgid "Uninstall"
|
51 |
+
msgstr "Desinstalar"
|
52 |
+
|
53 |
+
#: admin.php:90
|
54 |
+
msgid "Save Changes"
|
55 |
+
msgstr "Guardar Cambios"
|
56 |
+
|
57 |
+
#: fancybox.php:370
|
58 |
+
msgid "Settings"
|
59 |
+
msgstr "Opciones"
|
60 |
+
|
61 |
+
#: lib/admin-tab-animations.php:1
|
62 |
+
msgid "Animation Settings <span style=\"color:green\">(basic)</span>"
|
63 |
+
msgstr "Opciones de Animación <span style=\"color:green\">(básico)</span>"
|
64 |
+
|
65 |
+
#: lib/admin-tab-animations.php:3
|
66 |
+
msgid "These settings control the animations when opening and closing Fancybox, and the optional easing effects."
|
67 |
+
msgstr "Estas opciones controlan las animaciones al abrir y cerrar Fancybox, y los efectos opcionales de animación."
|
68 |
+
|
69 |
+
#: lib/admin-tab-animations.php:9
|
70 |
+
msgid "Zoom Options"
|
71 |
+
msgstr "Opciones de Zoom"
|
72 |
+
|
73 |
+
#: lib/admin-tab-animations.php:15
|
74 |
+
msgid "Change content transparency during zoom animations (default: on)"
|
75 |
+
msgstr "Animar opacidad durante el efecto de zoom (por defecto: activado)"
|
76 |
+
|
77 |
+
#: lib/admin-tab-animations.php:27
|
78 |
+
msgid "Speed in miliseconds of the zooming-in animation (default: 500)"
|
79 |
+
msgstr "Velocidad en milisegundos del efecto de Zoom In (por defecto: 500)"
|
80 |
+
|
81 |
+
#: lib/admin-tab-animations.php:39
|
82 |
+
msgid "Speed in miliseconds of the zooming-out animation (default: 500)"
|
83 |
+
msgstr "Velocidad en milisegundos del efecto de Zoom Out (por defecto: 500)"
|
84 |
+
|
85 |
+
#: lib/admin-tab-animations.php:51
|
86 |
+
msgid "Speed in miliseconds of the animation when navigating thorugh gallery items (default: 300)"
|
87 |
+
msgstr "Velocidad en milisegundos de la animación al navegar entre los elementos de una galería (por defecto: 300)"
|
88 |
+
|
89 |
+
#: lib/admin-tab-animations.php:59
|
90 |
+
msgid "Easing"
|
91 |
+
msgstr "Efecto de Animación"
|
92 |
+
|
93 |
+
#: lib/admin-tab-animations.php:65
|
94 |
+
msgid "Activate easing (default: off)"
|
95 |
+
msgstr "Activar efecto de animación (por defecto: desactivado)"
|
96 |
+
|
97 |
+
#: lib/admin-tab-animations.php:78
|
98 |
+
msgid "Easing method when opening FancyBox. (default: easeOutBack)"
|
99 |
+
msgstr "Efecto de animación al abrir FancyBox. (por defecto: easeOutBack)"
|
100 |
+
|
101 |
+
#: lib/admin-tab-animations.php:91
|
102 |
+
msgid "Easing method when closing FancyBox. (default: easeInBack)"
|
103 |
+
msgstr "Efecto de animación al cerrar FancyBox. (por defecto: easeInBack)"
|
104 |
+
|
105 |
+
#: lib/admin-tab-animations.php:104
|
106 |
+
msgid "Easing method when navigating through gallery items. (default: easeInOutQuart)"
|
107 |
+
msgstr "Efecto de animación al navegar por galerías. (por defecto: easoInOutQuart)"
|
108 |
+
|
109 |
+
#: lib/admin-tab-animations.php:107
|
110 |
+
msgid "(There are 30 different easing methods, the first ones are the most boring. You can test them <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html\" target=\"_blank\">here</a>)"
|
111 |
+
msgstr "(Hay 30 efectos diferentes, los primeros son los más aburridos. Puedes probarlos <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">aquí</a> o <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html\" target=\"_blank\">aquí</a>)"
|
112 |
+
|
113 |
+
#: lib/admin-tab-appearance.php:1
|
114 |
+
msgid "Appearance Settings <span style=\"color:green\">(basic)</span>"
|
115 |
+
msgstr "Opciones de Apariencia <span style=\"color:green\">(básico)</span>"
|
116 |
+
|
117 |
+
#: lib/admin-tab-appearance.php:3
|
118 |
+
msgid "These setting control how Fancybox looks, they let you tweak color, borders and position of elements, like the image title and closing buttons."
|
119 |
+
msgstr "Estas opciones controlan el aspecto general de FancyBox, te permiten ajustar los colores, bordes y posición de elementos como el título de la imagen y el botón de cerrar."
|
120 |
+
|
121 |
+
#: lib/admin-tab-appearance.php:9
|
122 |
+
msgid "Border Color"
|
123 |
+
msgstr "Color del Borde"
|
124 |
+
|
125 |
+
#: lib/admin-tab-appearance.php:15
|
126 |
+
msgid "Show Border (default: off)"
|
127 |
+
msgstr "Mostrar Borde (por defecto: desactivado)"
|
128 |
+
|
129 |
+
#: lib/admin-tab-appearance.php:20
|
130 |
+
msgid "HTML color of the border (default: #BBBBBB)"
|
131 |
+
msgstr "Color HTML del borde (por defecto: #BBBBBB)"
|
132 |
+
|
133 |
+
#: lib/admin-tab-appearance.php:28
|
134 |
+
msgid "Close Button"
|
135 |
+
msgstr "Botón de Cerrar"
|
136 |
+
|
137 |
+
#: lib/admin-tab-appearance.php:34
|
138 |
+
msgid "Show Close button (default: on)"
|
139 |
+
msgstr "Mostrar el Botón de Cerrar (por defecto: activado)"
|
140 |
+
|
141 |
+
#: lib/admin-tab-appearance.php:37
|
142 |
+
msgid "Close button position:"
|
143 |
+
msgstr "Posición del Botón de Cerrar:"
|
144 |
+
|
145 |
+
#: lib/admin-tab-appearance.php:40
|
146 |
+
msgid "Left"
|
147 |
+
msgstr "Izquierda"
|
148 |
+
|
149 |
+
#: lib/admin-tab-appearance.php:45
|
150 |
+
msgid "Right (default)"
|
151 |
+
msgstr "Derecha (por defecto)"
|
152 |
+
|
153 |
+
#: lib/admin-tab-appearance.php:50
|
154 |
+
msgid "Bottom"
|
155 |
+
msgstr "Abajo"
|
156 |
+
|
157 |
+
#: lib/admin-tab-appearance.php:55
|
158 |
+
msgid "Top (default)"
|
159 |
+
msgstr "Arriba (por defecto)"
|
160 |
+
|
161 |
+
#: lib/admin-tab-appearance.php:63
|
162 |
+
msgid "Padding"
|
163 |
+
msgstr "Margen"
|
164 |
+
|
165 |
+
#: lib/admin-tab-appearance.php:69
|
166 |
+
msgid "HTML color of the padding (default: #FFFFFF)"
|
167 |
+
msgstr "Color HTML del margen (por defecto: #FFFFFF)"
|
168 |
+
|
169 |
+
#: lib/admin-tab-appearance.php:72
|
170 |
+
msgid "(This should be left on #FFFFFF (white) if you want to display anything other than images, like inline or framed content)"
|
171 |
+
msgstr "(Esta opción debería dejarse en #FFFFFF (blanco) si vas a mostrar algo que no sean imágenes, como contenido anidado)"
|
172 |
+
|
173 |
+
#: lib/admin-tab-appearance.php:76
|
174 |
+
msgid "Padding size in pixels (default: 10)"
|
175 |
+
msgstr "Tamaño del margen en píxeles (por defecto: 10)"
|
176 |
+
|
177 |
+
#: lib/admin-tab-appearance.php:84
|
178 |
+
msgid "Overlay Options"
|
179 |
+
msgstr "Opciones de Overlay"
|
180 |
+
|
181 |
+
#: lib/admin-tab-appearance.php:90
|
182 |
+
msgid "Add overlay (default: on)"
|
183 |
+
msgstr "Añadir overlay (por defecto: activado)"
|
184 |
+
|
185 |
+
#: lib/admin-tab-appearance.php:95
|
186 |
+
msgid "HTML color of the overlay (default: #666666)"
|
187 |
+
msgstr "Color HTML del overlay (por defecto: #666666)"
|
188 |
+
|
189 |
+
#: lib/admin-tab-appearance.php:108
|
190 |
+
msgid "Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)"
|
191 |
+
msgstr "Opacidad del overlay. 0 es transparente, 1 es opaco (por defecto: 0.3)"
|
192 |
+
|
193 |
+
#: lib/admin-tab-appearance.php:116
|
194 |
+
msgid "Show Title"
|
195 |
+
msgstr "Mostrar Título"
|
196 |
+
|
197 |
+
#: lib/admin-tab-appearance.php:122
|
198 |
+
msgid "Show the image title (default: on)"
|
199 |
+
msgstr "Mostrar el Título de la imagen (por defecto: activado)"
|
200 |
+
|
201 |
+
#: lib/admin-tab-behaviour.php:1
|
202 |
+
msgid "Behavior Settings <span style=\"color:orange\">(medium)</span>"
|
203 |
+
msgstr "Opciones de Comportamiento <span style=\"color:orange\">(medio)</span>"
|
204 |
+
|
205 |
+
#: lib/admin-tab-behaviour.php:3
|
206 |
+
msgid "The following settings should be left on default unless you know what you are doing."
|
207 |
+
msgstr "Las siguientes opciones solo deberían ser editadas si sabes lo que estás haciendo."
|
208 |
+
|
209 |
+
#: lib/admin-tab-behaviour.php:9
|
210 |
+
msgid "Auto Resize to Fit"
|
211 |
+
msgstr "Ajustar Tamaño"
|
212 |
+
|
213 |
+
#: lib/admin-tab-behaviour.php:15
|
214 |
+
msgid "Scale images to fit in viewport (default: on)"
|
215 |
+
msgstr "Ajusta el tamaño de las imagenes a la ventana del navegador (por defecto: activado)"
|
216 |
+
|
217 |
+
#: lib/admin-tab-behaviour.php:23
|
218 |
+
msgid "Center on Scroll"
|
219 |
+
msgstr "Centrar al hacer Scroll"
|
220 |
+
|
221 |
+
#: lib/admin-tab-behaviour.php:29
|
222 |
+
msgid "Keep image in the center of the browser window when scrolling (default: on)"
|
223 |
+
msgstr "Mantiene la imagen en el centro de la ventana del naegador al hacer scroll (por defecto: activado)"
|
224 |
+
|
225 |
+
#: lib/admin-tab-behaviour.php:37
|
226 |
+
msgid "Close on Content Click"
|
227 |
+
msgstr "Cerrar al hacer click en contenido"
|
228 |
+
|
229 |
+
#: lib/admin-tab-behaviour.php:43
|
230 |
+
msgid "Close FancyBox by clicking on the image (default: off)"
|
231 |
+
msgstr "Cerrar FancyBox al hacer click en la imagen (por defecto: desactivado)"
|
232 |
+
|
233 |
+
#: lib/admin-tab-behaviour.php:46
|
234 |
+
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)"
|
235 |
+
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)"
|
236 |
+
|
237 |
+
#: lib/admin-tab-behaviour.php:53
|
238 |
+
msgid "Close on Overlay Click"
|
239 |
+
msgstr "Cerrar al hacer click en el fondo"
|
240 |
+
|
241 |
+
#: lib/admin-tab-behaviour.php:59
|
242 |
+
msgid "Close FancyBox by clicking on the overlay sorrounding it (default: on)"
|
243 |
+
msgstr "Cerrar FancyBox al hacer click en el fondo (por defecto: activado)"
|
244 |
+
|
245 |
+
#: lib/admin-tab-behaviour.php:67
|
246 |
+
msgid "Close with "Esc""
|
247 |
+
msgstr "Cerrar con "Esc""
|
248 |
+
|
249 |
+
#: lib/admin-tab-behaviour.php:73
|
250 |
+
msgid "Close FancyBox when "Escape" key is pressed (default: on)"
|
251 |
+
msgstr "Cerrar Fancybox cuando se pulse la tecla "Escape" (por defecto: activado)"
|
252 |
+
|
253 |
+
#: lib/admin-tab-galleries.php:1
|
254 |
+
msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
|
255 |
+
msgstr "Opciones de Galería <span style=\"color:red\">(avanzado)</span>"
|
256 |
+
|
257 |
+
#: lib/admin-tab-galleries.php:3
|
258 |
+
msgid "Here you can choose if you want the plugin to group all images into a gallery, or make a gallery for each post. You can also define you own jQuery expression if you like."
|
259 |
+
msgstr "Aquí puedes elegir si quieres que el plugin agrupe las imágenes en una galería, o hacer una galería para cada entrada. También puedes definir tu propia expresión en jQuery."
|
260 |
+
|
261 |
+
#: lib/admin-tab-galleries.php:9
|
262 |
+
msgid "Gallery Type"
|
263 |
+
msgstr "Tipo de Galería"
|
264 |
+
|
265 |
+
#: lib/admin-tab-galleries.php:15
|
266 |
+
msgid "Make a gallery for all images on the page (default)"
|
267 |
+
msgstr "Incluir todas las imágenes de la página en una única galería (opción por defecto)"
|
268 |
+
|
269 |
+
#: lib/admin-tab-galleries.php:20
|
270 |
+
msgid "Do not group images in gallery automatically (use this if you want to make galleries manually with the <code>REL</code> attribute)"
|
271 |
+
msgstr "No agrupar imágenes en galerías automáticamente (usa esta opción si quieres agrupar las imagenes manualmente con el atributo <code>REL</code>)"
|
272 |
+
|
273 |
+
#: lib/admin-tab-galleries.php:25
|
274 |
+
msgid "Make a gallery for each post (will only work if your theme uses <code>class=\"post\"</code> on each post, which is common in WordPress"
|
275 |
+
msgstr "Hacer una galería para cada post (solo funcionará si el tema usa <code>class=\"post\"</code> en cada post, que es lo más común en WordPress"
|
276 |
+
|
277 |
+
#: lib/admin-tab-galleries.php:30
|
278 |
+
msgid "Use a custom expression to apply FancyBox"
|
279 |
+
msgstr "Aplicar FancyBox con una expresión personalizada"
|
280 |
+
|
281 |
+
#: lib/admin-tab-galleries.php:39
|
282 |
+
msgid "Custom expression guidelines:"
|
283 |
+
msgstr "Indicaciones para expresiones personalizadas:"
|
284 |
+
|
285 |
+
#: lib/admin-tab-galleries.php:41
|
286 |
+
msgid "· The custom expression has to apply <code>class=\"fancybox\"</code> to the links where you want to use FancyBox. Do not call the <code>fancybox()</code> function here, the plugin does this for you."
|
287 |
+
msgstr "· La expresión personalizada tiene que aplicar el atributo <code>class=\"fancybox\"</code> a los enlaces en los que quieras usar FancyBox. No llames a la función <code>fancybox()</code> aquí, de eso ya se encarga el plugin."
|
288 |
+
|
289 |
+
#: lib/admin-tab-galleries.php:43
|
290 |
+
msgid "· The jQuery <code>addClass()</code> function is a good way to add the class to the desired links conserving any existing class."
|
291 |
+
msgstr "· La función <code>addClass()</code> de jQuery es una buena forma de añadir el class a los links deseados."
|
292 |
+
|
293 |
+
#: lib/admin-tab-galleries.php:45
|
294 |
+
msgid "· You can use <code>getTitle()</code> in your expression to copy the title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so that FancyBox can show captions."
|
295 |
+
msgstr "· Puedes usar <code>getTitle()</code> en tu expresión para copiar el atributo title desde el tag <code>IMG</code> al tag <code>A</code>, para que FancyBox pueda mostrar el título de la imagen."
|
296 |
+
|
297 |
+
#: lib/admin-tab-galleries.php:47
|
298 |
+
msgid "· You can use <code>jQuery(thumbnails)</code> like in the example expression to apply FancyBox to thumbnails that link to these extensions: BMP, GIF, JPG, JPEG, PNG (both lowercase and uppercase)."
|
299 |
+
msgstr "· Puedes usar <code>jQuery(thumbnails)</code> como en el ejemplo para aplicar FancyBox a las miniaturas de im%aacute;genes que enlazen a estas extensiones: BMP, GIF, JPG, JPEG, PNG tanto en minúscula como en mayúscula)."
|
300 |
+
|
301 |
+
#: lib/admin-tab-galleries.php:49
|
302 |
+
msgid "· If you want to do it manually you can use something like <code>jQuery(\"a:has(img)[href$='.jpg']\")</code> or whatever works for you."
|
303 |
+
msgstr "· Si prefieres hacerlo manualmente puedes usar algo como <code>jQuery(\"a:has(img)[href$='.jpg']\")</code> o lo que más se ajuste a tu blog."
|
304 |
+
|
305 |
+
#: lib/admin-tab-galleries.php:51
|
306 |
+
msgid "See the <a href=\"http://docs.jquery.com/\" target=\"_blank\">jQuery Documentation</a> for more help."
|
307 |
+
msgstr "Visita la <a href=\"http://docs.jquery.com/\" target=\"_blank\">Documentación de jQuery</a> para encontrar más ayuda."
|
308 |
+
|
309 |
+
#: lib/admin-tab-galleries.php:53
|
310 |
+
msgid "Examples:"
|
311 |
+
msgstr "Ejemplos:"
|
312 |
+
|
313 |
+
#: lib/admin-tab-info.php:1
|
314 |
+
msgid "Info & Support"
|
315 |
+
msgstr "Info & Soporte"
|
316 |
+
|
317 |
+
#: lib/admin-tab-info.php:3
|
318 |
+
msgid "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> developed by <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a>, ported to WordPress by <a href=\"http://moskis.net/\">José Pardilla</a>. Licensed under the <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
319 |
+
msgstr "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> desarrollado por <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a>, adaptado a WordPress por <a href=\"http://moskis.net/\">José Pardilla</a>. Licenciado bajo <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">Licencia MIT</a>."
|
320 |
+
|
321 |
+
#: lib/admin-tab-info.php:5
|
322 |
+
msgid "As you can see, this plugin has many options you can edit, but have no fear, you can leave everything as it is if you want, since the default options should be a good start... :)"
|
323 |
+
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... :)"
|
324 |
+
|
325 |
+
#: lib/admin-tab-info.php:9
|
326 |
+
msgid "If you have problems or questions about FancyBox, please start with these links: <a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>.<br />If that does not help, go to <a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>, use the <strong>Search</strong> option, and if necesary, post your question."
|
327 |
+
msgstr "Si tienes problemas o dudas acerca de FancyBox, por favor visita estos enlaces (en inglés): <a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/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í."
|
328 |
+
|
329 |
+
#: lib/admin-tab-info.php:11
|
330 |
+
msgid "If you are having trouble with this plugin try to localize the problem (switch your theme and/or deactivate plugins until you find the source of the problem). You can also try the Troubleshooting settings at the bottom of this page if necesary. If you still can not get the plugin to work, <a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">leave a comment here</a> explaining the problem."
|
331 |
+
msgstr "Si tienes problemas con este plugin para WordPress, 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. Si no consigues hacer funcionar el plugin, <a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">deja un comentario aquí</a> explicando el problema."
|
332 |
+
|
333 |
+
#: lib/admin-tab-info.php:15
|
334 |
+
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."
|
335 |
+
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."
|
336 |
+
|
337 |
+
#: lib/admin-tab-info.php:18
|
338 |
+
msgid "If you use FancyBox and like it, buy the author a beer!"
|
339 |
+
msgstr "Si usas FancyBox y te gusta, cómprale una cerveza al autor!"
|
340 |
+
|
341 |
+
#: lib/admin-tab-info.php:36
|
342 |
+
msgid "The author of this WordPress Plugin also likes beer :P"
|
343 |
+
msgstr "Al autor de este plugin para WordPress también le gusta la cerveza :P"
|
344 |
+
|
345 |
+
#: lib/admin-tab-info.php:46
|
346 |
+
msgid "Follow me on Twitter for more WordPress Plugins and Themes"
|
347 |
+
msgstr "Sígueme en Twitter para más Plugins y Temas de WordPress"
|
348 |
+
|
349 |
+
#: lib/admin-tab-other.php:1
|
350 |
+
msgid "Other Settings <span style=\"color:red\">(advanced)</span>"
|
351 |
+
msgstr "Otras Opciones <span style=\"color:red\">(avanzado)</span>"
|
352 |
+
|
353 |
+
#: lib/admin-tab-other.php:3
|
354 |
+
msgid "These are additional settings for advanced users."
|
355 |
+
msgstr "Las siguientes opciones son para usuarios avanzados."
|
356 |
+
|
357 |
+
#: lib/admin-tab-other.php:9
|
358 |
+
msgid "Callbacks"
|
359 |
+
msgstr "Retrollamadas"
|
360 |
+
|
361 |
+
#: lib/admin-tab-other.php:14
|
362 |
+
msgid "Callback on Start event (default: empty)"
|
363 |
+
msgstr "Retrollamada en el evento de Inicio (por defecto: vacío)"
|
364 |
+
|
365 |
+
#: lib/admin-tab-other.php:19
|
366 |
+
msgid "Callback on Show event (default: empty)"
|
367 |
+
msgstr "Retrollamada en el evento de Mostrado (por defecto: vacío)"
|
368 |
+
|
369 |
+
#: lib/admin-tab-other.php:24
|
370 |
+
msgid "Callback on Close event (default: empty)"
|
371 |
+
msgstr "Retrollamada en el evento de Cerrado (por defecto: vacío)"
|
372 |
+
|
373 |
+
#: lib/admin-tab-other.php:28
|
374 |
+
msgid "Example:"
|
375 |
+
msgstr "Ejemplo:"
|
376 |
+
|
377 |
+
#: lib/admin-tab-other.php:32
|
378 |
+
msgid "Leave the fields empty to disable."
|
379 |
+
msgstr "Deja estos campos vacíos para desactivar cualqueir retrollamada."
|
380 |
+
|
381 |
+
#: lib/admin-tab-other.php:39
|
382 |
+
msgid "Frame Size"
|
383 |
+
msgstr "Tamaño del recuadro"
|
384 |
+
|
385 |
+
#: lib/admin-tab-other.php:45
|
386 |
+
msgid "Width in pixels of FancyBox when showing iframe content (default: 560)"
|
387 |
+
msgstr "Ancho en píxeles de FancyBox cuado se muestre contenido anidado (por defecto: 560)"
|
388 |
+
|
389 |
+
#: lib/admin-tab-other.php:50
|
390 |
+
msgid "Height in pixels of FancyBox when showing iframe content (default: 340)"
|
391 |
+
msgstr "Alto en píxeles de FancyBox cuado se muestre contenido anidado (por defecto: 340)"
|
392 |
+
|
393 |
+
#: lib/admin-tab-other.php:58
|
394 |
+
msgid "Load JavaScript in Footer"
|
395 |
+
msgstr "Cargar JavaScript en el Pié de página"
|
396 |
+
|
397 |
+
#: lib/admin-tab-other.php:64
|
398 |
+
msgid "Loads JavaScript at the end of the blog's HTML (experimental) (default: off)"
|
399 |
+
msgstr "Carga el JavaScript al final del código HTML del blog (experimental) (por defecto: desactivado)"
|
400 |
+
|
401 |
+
#: lib/admin-tab-other.php:67
|
402 |
+
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."
|
403 |
+
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."
|
404 |
+
|
405 |
+
#: lib/admin-tab-troubleshooting.php:1
|
406 |
+
msgid "Troubleshooting Settings"
|
407 |
+
msgstr "Resolución de Problemas"
|
408 |
+
|
409 |
+
#: lib/admin-tab-troubleshooting.php:3
|
410 |
+
msgid "Settings in this section should only be changed if you are having problems with the plugin!"
|
411 |
+
msgstr "Las opciones de esta sección solo deben ser editadas si tienes problemas con el plugin!"
|
412 |
+
|
413 |
+
#: lib/admin-tab-troubleshooting.php:5
|
414 |
+
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)."
|
415 |
+
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)."
|
416 |
+
|
417 |
+
#: lib/admin-tab-troubleshooting.php:7
|
418 |
+
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."
|
419 |
+
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."
|
420 |
+
|
421 |
+
#: lib/admin-tab-troubleshooting.php:13
|
422 |
+
msgid "Do not call jQuery"
|
423 |
+
msgstr "No cargar jQuery"
|
424 |
+
|
425 |
+
#: lib/admin-tab-troubleshooting.php:19
|
426 |
+
msgid "Skip jQuery call. Use this only if jQuery is being loaded twice (default: off)"
|
427 |
+
msgstr "Omitir llamada a jQuery. Usa esta opción sólo si jQuery se está cargando dos veces por error. (por defecto: desactivado)"
|
428 |
+
|
429 |
+
#: lib/admin-tab-troubleshooting.php:27
|
430 |
+
msgid "jQuery \"noConflict\" Mode"
|
431 |
+
msgstr "Modo jQuery \"noConflict\""
|
432 |
+
|
433 |
+
#: lib/admin-tab-troubleshooting.php:33
|
434 |
+
msgid "Use jQuery noConflict mode (default: on)"
|
435 |
+
msgstr "Usar parámetro noConflict de jQuery (por defecto: activado)"
|
436 |
+
|
437 |
+
#: lib/admin-tab-troubleshooting.php:36
|
438 |
+
msgid "(Turning this off may cause problems if there are plugins activated that use other js framework like mootools, prototype, scriptaculous, etc.)"
|
439 |
+
msgstr "(Desactivar esta opción puede causar problemas si hay plugins activadoes que usen otros frameworks javascript como Mootols, Prototype, Scriptaculous, etc.)"
|
440 |
+
|
441 |
+
#: lib/admin-tab-uninstall.php:3
|
442 |
+
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."
|
443 |
+
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."
|
444 |
+
|
445 |
+
#: lib/admin-tab-uninstall.php:9
|
446 |
+
msgid "Remove settings"
|
447 |
+
msgstr "Eliminar Opciones"
|
448 |
+
|
449 |
+
#: lib/admin-tab-uninstall.php:15
|
450 |
+
msgid "Remove Settings when plugin is deactivated from the \"Manage Plugins\" page. (default: off)"
|
451 |
+
msgstr "Eliminar opciones cuando se desactive el plugin desde la página \"Gestionar Plugins\". (por defecto: desactivado)"
|
452 |
+
|
453 |
+
#~ msgid "Presentation"
|
454 |
+
#~ msgstr "Presentación"
|
455 |
+
#~ msgid ""
|
456 |
+
#~ "These are the main settings, which let you tweak color, borders and "
|
457 |
+
#~ "animation."
|
458 |
+
#~ msgstr ""
|
459 |
+
#~ "Estas son las opciones principales, que te permiten ajustar los colores, "
|
460 |
+
#~ "bordes y animación."
|
461 |
+
#~ msgid ""
|
462 |
+
#~ "(Set <strong>Border Color</strong> to \"#000000\" and <strong>Padding "
|
463 |
+
#~ "Size</strong> to \"0\" for the classic FancyBox look)"
|
464 |
+
#~ msgstr ""
|
465 |
+
#~ "(Pon el <strong>Color del Borde</strong> en \"#000000\" y el "
|
466 |
+
#~ "<strong>Tamaño del Margen</strong> en \"0\" para el aspecto clásico de "
|
467 |
+
#~ "FancyBox)"
|
468 |
+
#~ msgid "Show/Hide Advanced Settings"
|
469 |
+
#~ msgstr "Mostrar/Ocultar Opciones Avanzadas"
|
470 |
+
#~ msgid "Show/Hide Troubleshooting & Uninstall Settings"
|
471 |
+
#~ msgstr "Mostrar/Ocultar Resolución de Problemas y Desinstalación"
|
472 |
+
#~ msgid ""
|
473 |
+
#~ "Do not call the <code>fancybox()</code> function here, the plugin does "
|
474 |
+
#~ "this for you."
|
475 |
+
#~ msgstr ""
|
476 |
+
#~ "No llames a la función <code>fancybox()</code> desde aquí, eso ya lo hace "
|
477 |
+
#~ "el plugin por tí."
|
478 |
+
#~ msgid "Make a gallery for each post"
|
479 |
+
#~ msgstr "Hacer una galería para cada entrada"
|
480 |
+
#~ msgid ""
|
481 |
+
#~ "The attribute has to start with fancybox, but can end with however you "
|
482 |
+
#~ "like: \"fancybox1\", \"fancybox2\", \"fancybox-custom\" will work."
|
483 |
+
#~ msgstr ""
|
484 |
+
#~ "El atributo debe empezar por fancybox pero puede terminar como quieras: "
|
485 |
+
#~ "\"fancybox1\", \"fancybox2\", \"fancybox-custom\" servirían."
|
486 |
+
#~ msgid "Horizontal position of the close button (default: right)"
|
487 |
+
#~ msgstr ""
|
488 |
+
#~ "Posición horizontal del botón para cerrar FancyBox (por defecto: derecha)"
|
489 |
+
#~ msgid "About"
|
490 |
+
#~ msgstr "Información"
|
491 |
+
#~ msgid ""
|
492 |
+
#~ "This plugin integrates FancyBox with WordPress without having to edit any "
|
493 |
+
#~ "file or code. Once activated the plugin will apply FancyBox automatically "
|
494 |
+
#~ "to all image links, including WordPress galleries. Future versions will "
|
495 |
+
#~ "include some more options like easier inline content integration and more "
|
496 |
+
#~ "advanced customization. Enjoy!"
|
497 |
+
#~ msgstr ""
|
498 |
+
#~ "Este plugin integra FancyBox con WordPress sin necesidad de editar ningún "
|
499 |
+
#~ "archivo o HTML. Una vez activado, el plugin aplicará FancyBox "
|
500 |
+
#~ "automáticamente a todos los enlaces a imágenes, incluyendo galerias de "
|
501 |
+
#~ "WordPress. Que lo disfrutes!"
|
502 |
+
#~ msgid ""
|
503 |
+
#~ "If you have problems or questions about FancyBox itself you should <a "
|
504 |
+
#~ "href=\"http://groups.google.com/group/fancybox\">ask in the FancyBox "
|
505 |
+
#~ "Google Group</a>. If you want to make suggestions or ask just about this "
|
506 |
+
#~ "WordPress plugin you can <a href=\"http://blog.moskis.net/downloads/"
|
507 |
+
#~ "plugins/fancybox-for-wordpress/\">leave a comment here</a>, <a href="
|
508 |
+
#~ "\"http://blog.moskis.net/contactar/\">send me an email</a>, or <a href="
|
509 |
+
#~ "\"http://twitter.com/moskis\">contact me on twitter</a>."
|
510 |
+
#~ msgstr ""
|
511 |
+
#~ "Si tienes problemas o preguntas sobre FancyBox deberías <a href=\"http://"
|
512 |
+
#~ "groups.google.com/group/fancybox\">preguntar en este grupo de Google</a> "
|
513 |
+
#~ "(enlace en inglés). Si tienes preguntas o sugerencias sobre este plugin "
|
514 |
+
#~ "para WordPress, puedes <a href=\"http://blog.moskis.net/downloads/plugins/"
|
515 |
+
#~ "fancybox-for-wordpress/\">dejar un comentario aquí</a>, <a href=\"http://"
|
516 |
+
#~ "blog.moskis.net/contactar/\">enviarme un email</a>, o <a href=\"http://"
|
517 |
+
#~ "twitter.com/moskis\">contactar conmigo vía Twitter</a>."
|
518 |
+
#~ msgid "Auto Apply"
|
519 |
+
#~ msgstr "Auto Aplicar"
|
520 |
+
#~ msgid ""
|
521 |
+
#~ "Apply FancyBox automatically to all links pointing to .jpg, .jpeg, .png "
|
522 |
+
#~ "or .gif images (default: on)"
|
523 |
+
#~ msgstr ""
|
524 |
+
#~ "Aplicar FancyBox automáticamente a todos los enlaces que apunten a "
|
525 |
+
#~ "archivos .jpg, .jpeg, .png o .gif (por defecto: activado)"
|
526 |
+
#~ msgid ""
|
527 |
+
#~ "(The link itself must the an image as well, text links will not be "
|
528 |
+
#~ "affected by this option!)"
|
529 |
+
#~ msgstr ""
|
530 |
+
#~ "(El link tiene que estar en una imagen, esta opción no affecta a enlaces "
|
531 |
+
#~ "de texto!)"
|
532 |
+
#~ msgid ""
|
533 |
+
#~ "(This does NOT conflict with the previous and next image links on "
|
534 |
+
#~ "FancyBox galleries.)"
|
535 |
+
#~ msgstr ""
|
536 |
+
#~ "(Esto no afecta a los enlaces de Imagen Siguiente e Imagen Anterior en "
|
537 |
+
#~ "galerias de varias imágenes)"
|
538 |
+
|
languages/mfbfw-ja.po
CHANGED
@@ -1,325 +1,325 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: FancyBox for WordPress Japanese\n"
|
4 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/tag/fancybox-for-wordpress\n"
|
5 |
-
"POT-Creation-Date: 2009-03-25 16:40+0000\n"
|
6 |
-
"PO-Revision-Date: \n"
|
7 |
-
"Last-Translator: Oba-T\n"
|
8 |
-
"Language-Team: \n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
|
13 |
-
#: admin.php:21
|
14 |
-
#, php-format
|
15 |
-
msgid "Fancybox for WordPress Options (version %s)"
|
16 |
-
msgstr "Fancybox for WordPress Options (version %s)"
|
17 |
-
|
18 |
-
#: admin.php:25
|
19 |
-
msgid "If you use FancyBox and like it, buy the author a beer!"
|
20 |
-
msgstr "FancyBoxを気に入ったならば、作者にビールをおごってください。"
|
21 |
-
|
22 |
-
#: admin.php:46
|
23 |
-
msgid "The author of this WordPress Plugin also likes beer :P"
|
24 |
-
msgstr "このプラグインの作者は、ビールが大好きです。 :P"
|
25 |
-
|
26 |
-
#: admin.php:59
|
27 |
-
msgid "Follow me on Twitter for more WordPress Plugins and Themes"
|
28 |
-
msgstr "より多くのプラグインとテーマのためにTwitterで応援してください。"
|
29 |
-
|
30 |
-
#: admin.php:66
|
31 |
-
msgid "Info & Support"
|
32 |
-
msgstr "説明とサポート"
|
33 |
-
|
34 |
-
#: admin.php:68
|
35 |
-
msgid "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> developed by <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a>, ported to WordPress by <a href=\"http://moskis.net/\">José Pardilla</a>. Licensed under the <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
36 |
-
msgstr "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> developed by <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a>, ported to WordPress by <a href=\"http://moskis.net/\">José Pardilla</a>. Licensed under the <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
37 |
-
|
38 |
-
#: admin.php:70
|
39 |
-
msgid "As you can see, this plugin has many options you can edit, but have no fear, you can leave everything as it is if you want, since the default options should be a good start... :)"
|
40 |
-
msgstr "このプラグインには編集可能な多くのオプションがあります。初起動時に初期値で良い設定となってます。そのままでも構わなければ変更することはありません... :)"
|
41 |
-
|
42 |
-
#: admin.php:74
|
43 |
-
msgid "If you have problems or questions about FancyBox, please start with these links: <a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>.<br />If that does not help, go to <a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>, use the <strong>Search</strong> option, and if necesary, post your question."
|
44 |
-
msgstr "トラブル、または、FancyBoxへの質問は、リンク先の<a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>へ…<br />そこで、該当項目が無ければ、必要に応じて検索オプションを使用し、<a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>で検索してください。また、該当項目が無い場合は質問をしてください。"
|
45 |
-
|
46 |
-
#: admin.php:76
|
47 |
-
msgid "If you are having trouble with this plugin try to localize the problem (switch your theme and/or deactivate plugins until you find the source of the problem). You can also try the Troubleshooting settings at the bottom of this page if necesary. If you still can not get the plugin to work, <a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">leave a comment here</a> explaining the problem."
|
48 |
-
msgstr "このプラグインが動作しない時は、問題の切り分けをしてください(使用中のテーマを変える。または、その他のプラグインを一つずつ有効化する)。必要に応じて、このページの最下部のトラブルシューティングでセッティングを試してください。それでもまだプラグインを起動できない時は、<a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">leave a comment here</a> へ問題の詳細をコメントしてください。"
|
49 |
-
|
50 |
-
#: admin.php:81
|
51 |
-
msgid "Appearance Settings <span style=\"color:green\">(basic)</span>"
|
52 |
-
msgstr "外観設定 <span style=\"color:green\">(基本設定)</span>"
|
53 |
-
|
54 |
-
#: admin.php:83
|
55 |
-
msgid "These are the main settings, which let you tweak color, borders and animation."
|
56 |
-
msgstr "主要設定です。(この設定で、色、境界線、基本的なアニメーション動作の調整ができます。)"
|
57 |
-
|
58 |
-
#: admin.php:85
|
59 |
-
msgid "<strong>Note:</strong> Having a cache plugin may prevent changes from taking effect immidiately, so clear cache after saving changes here or deactivate cache until you finish editing these options."
|
60 |
-
msgstr "<strong>Note:</strong> キャッシュが保持されているため、オプション設定後、すぐに効果が表れないかもしれません。その場合、オプション設定終了後に、キャッシュのクリアをしてください。"
|
61 |
-
|
62 |
-
#: admin.php:95
|
63 |
-
msgid "Border Color"
|
64 |
-
msgstr "境界線色"
|
65 |
-
|
66 |
-
#: admin.php:101
|
67 |
-
msgid "HTML color of the border (default: #BBBBBB)"
|
68 |
-
msgstr "境界線の表示色 (初期値: #BBBBBB)"
|
69 |
-
|
70 |
-
#: admin.php:109
|
71 |
-
msgid "Close Button Position"
|
72 |
-
msgstr "閉じるボタンの位置"
|
73 |
-
|
74 |
-
#: admin.php:115
|
75 |
-
msgid "Left"
|
76 |
-
msgstr "左"
|
77 |
-
|
78 |
-
#: admin.php:120
|
79 |
-
msgid "Right (default)"
|
80 |
-
msgstr "右 (初期値)"
|
81 |
-
|
82 |
-
#: admin.php:125
|
83 |
-
msgid "Bottom"
|
84 |
-
msgstr "下"
|
85 |
-
|
86 |
-
#: admin.php:130
|
87 |
-
msgid "Top (default)"
|
88 |
-
msgstr "上 (初期値)"
|
89 |
-
|
90 |
-
#: admin.php:138
|
91 |
-
msgid "Padding"
|
92 |
-
msgstr "パディング設定"
|
93 |
-
|
94 |
-
#: admin.php:144
|
95 |
-
msgid "HTML color of the padding (default: #FFFFFF)"
|
96 |
-
msgstr "パッディングの表示色 (初期値: #FFFFFF)"
|
97 |
-
|
98 |
-
#: admin.php:149
|
99 |
-
msgid "Padding size in pixels (default: 10)"
|
100 |
-
msgstr "パッディングサイズ:px (初期値: 10)"
|
101 |
-
|
102 |
-
#: admin.php:152
|
103 |
-
msgid "(Set <strong>Border Color</strong> to \"#000000\" and <strong>Padding Size</strong> to \"0\" for the classic FancyBox look)"
|
104 |
-
msgstr "(<strong>境界線の色</strong> が \"#000000\" と <strong>内側余白</strong> が \"0\" が、classic FancyBox の設定)"
|
105 |
-
|
106 |
-
#: admin.php:159
|
107 |
-
msgid "Overlay Options"
|
108 |
-
msgstr "オーバレイ設定"
|
109 |
-
|
110 |
-
#: admin.php:165
|
111 |
-
msgid "Add overlay (default: on)"
|
112 |
-
msgstr "オーバーレイ適用 (初期値: on)"
|
113 |
-
|
114 |
-
#: admin.php:170
|
115 |
-
msgid "HTML color of the overlay (default: #666666)"
|
116 |
-
msgstr "オーバーレイの表示色 (初期値: #666666)"
|
117 |
-
|
118 |
-
#: admin.php:183
|
119 |
-
msgid "Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)"
|
120 |
-
msgstr "オーバーレイ透過度. 0 = 透明, 1 = 黒 0.1刻み(初期値: 0.3)"
|
121 |
-
|
122 |
-
#: admin.php:191
|
123 |
-
msgid "Zoom Options"
|
124 |
-
msgstr "ズーム設定"
|
125 |
-
|
126 |
-
#: admin.php:197
|
127 |
-
msgid "Change content transparency during zoom animations (default: on)"
|
128 |
-
msgstr "切替時、アニメーション動作を使用 (初期値: on)"
|
129 |
-
|
130 |
-
#: admin.php:209
|
131 |
-
msgid "Speed in miliseconds of the zooming-in animation (default: 500)"
|
132 |
-
msgstr "ズームイン アニメーション速度 : 1000=1秒 (初期値: 500)"
|
133 |
-
|
134 |
-
#: admin.php:221
|
135 |
-
msgid "Speed in miliseconds of the zooming-out animation (default: 500)"
|
136 |
-
msgstr "ズームアウト アニメーション速度 : 1000=1秒 (初期値: 500)"
|
137 |
-
|
138 |
-
#: admin.php:229
|
139 |
-
msgid "Easing"
|
140 |
-
msgstr "加減速設定"
|
141 |
-
|
142 |
-
#: admin.php:235
|
143 |
-
msgid "Activate easing (default: off)"
|
144 |
-
msgstr "加減速設定 (初期値: off)"
|
145 |
-
|
146 |
-
#: admin.php:248
|
147 |
-
msgid "Easing method when opening FancyBox. (default: easeOutBack)"
|
148 |
-
msgstr "FancyBoxの開始時の加減速動作 (初期値: easeOutBack)"
|
149 |
-
|
150 |
-
#: admin.php:261
|
151 |
-
msgid "Easing method when closing FancyBox. (default: easeInBack)"
|
152 |
-
msgstr "FancyBoxの終了時の加減速動作 (初期値: easeInBack)"
|
153 |
-
|
154 |
-
#: admin.php:274
|
155 |
-
msgid "Easing method when navigating through gallery items. (default: easeInOutQuart)"
|
156 |
-
msgstr "ギャラリーアイテム閲覧時の加減速動作 (初期値: easeInOutBack)"
|
157 |
-
|
158 |
-
#: admin.php:277
|
159 |
-
msgid "(There are 30 different easing methods, the first ones are the most boring. You can test them <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html\" target=\"_blank\">here</a>)"
|
160 |
-
msgstr "(30種類の\"加減速\"設定があります。最初の項目は最も退屈な設定です。 この<a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">リンク</a>にてテストできます。ボックスをクリックしてください。)"
|
161 |
-
|
162 |
-
#: admin.php:286
|
163 |
-
msgid "Show/Hide Advanced Settings"
|
164 |
-
msgstr "表示/非表示 高度設定"
|
165 |
-
|
166 |
-
#: admin.php:287
|
167 |
-
msgid "Show/Hide Troubleshooting & Uninstall Settings"
|
168 |
-
msgstr "表示/非表示 トラブルシューティング & 削除設定"
|
169 |
-
|
170 |
-
#: admin.php:292
|
171 |
-
msgid "Behavior Settings <span style=\"color:orange\">(medium)</span>"
|
172 |
-
msgstr "動作設定 <span style=\"color:orange\">(中間値)</span>"
|
173 |
-
|
174 |
-
#: admin.php:294
|
175 |
-
msgid "The following settings should be left on default unless you know what you are doing."
|
176 |
-
msgstr "理解していない場合、以下の設定は初期値のままにしてください。"
|
177 |
-
|
178 |
-
#: admin.php:300
|
179 |
-
msgid "Auto Resize to Fit"
|
180 |
-
msgstr "自動リサイズ設定"
|
181 |
-
|
182 |
-
#: admin.php:306
|
183 |
-
msgid "Scale images to fit in viewport (default: on)"
|
184 |
-
msgstr "イメージの大きさをビューポートに合わせる (初期値: on)"
|
185 |
-
|
186 |
-
#: admin.php:314
|
187 |
-
msgid "Center on Scroll"
|
188 |
-
msgstr "表示固定設定"
|
189 |
-
|
190 |
-
#: admin.php:320
|
191 |
-
msgid "Keep image in the center of the browser window when scrolling (default: on)"
|
192 |
-
msgstr "ブラウザののスクロールをしても、プレビュー画像を中央に固定する。 (初期値: on)"
|
193 |
-
|
194 |
-
#: admin.php:328
|
195 |
-
msgid "Close on Click"
|
196 |
-
msgstr "クリック終了設定"
|
197 |
-
|
198 |
-
#: admin.php:334
|
199 |
-
msgid "Close FancyBox by clicking on the image (default: off)"
|
200 |
-
msgstr "FancyBoxをプレビュー画像クリックで閉じる。 (初期値: off)"
|
201 |
-
|
202 |
-
#: admin.php:337
|
203 |
-
msgid "(You may want to leave this off if you display iframed or inline content and it containts clickable elements - for example: play buttons for movies, links to other pages)"
|
204 |
-
msgstr "(インラインフレーム、インラインコンテンツをクリックで表示する場合、これらのコンテンツ要素をこのままにしておきたいことがあります-例えば:動画再生ボタンやページリンク)"
|
205 |
-
|
206 |
-
#: admin.php:347
|
207 |
-
msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
|
208 |
-
msgstr "ギャラリー設定 <span style=\"color:red\">(高度設定)</span>"
|
209 |
-
|
210 |
-
#: admin.php:349
|
211 |
-
msgid "Here you can choose if you want the plugin to group all images into a gallery, or make a gallery for each post. You can also define you own jQuery expression if you like."
|
212 |
-
msgstr "この設定で、すべての画像をギャラリーに分類するか、各ポストのためにギャラリーを作るかを選択できます。 また、jQueryの動作表現を定義できます。"
|
213 |
-
|
214 |
-
#: admin.php:355
|
215 |
-
msgid "Frame Size"
|
216 |
-
msgstr "フレームサイズ"
|
217 |
-
|
218 |
-
#: admin.php:361
|
219 |
-
msgid "Width in pixels of FancyBox when showing iframe content (default: 640)"
|
220 |
-
msgstr "FancyBoxのインラインフレームコンテンツの表示幅 :px (初期値: 640)"
|
221 |
-
|
222 |
-
#: admin.php:366
|
223 |
-
msgid "Height in pixels of FancyBox when showing iframe content (default: 500)"
|
224 |
-
msgstr "FancyBoxのインラインフレームコンテンツの表示高 :px (初期値: 500)"
|
225 |
-
|
226 |
-
#: admin.php:374
|
227 |
-
msgid "Gallery Type"
|
228 |
-
msgstr "ギャラリータイプ"
|
229 |
-
|
230 |
-
#: admin.php:380
|
231 |
-
msgid "Make a gallery for all images on the page (default)"
|
232 |
-
msgstr "ページ上の全画像のためにギャラリーを作る (初期値)"
|
233 |
-
|
234 |
-
#: admin.php:385
|
235 |
-
msgid "Do not group images in gallery automatically (use this if you want to make galleries manually with the <code>REL</code> attribute)"
|
236 |
-
msgstr "ギャラリーで自動的に画像を分類しない (<code>REL</code>属性で手動でギャラリーを作る場合は使用してください。)"
|
237 |
-
|
238 |
-
#: admin.php:390
|
239 |
-
msgid "Make a gallery for each post (will only work if your theme uses <code>class=\"post\"</code> on each post, which is common in WordPress"
|
240 |
-
msgstr "各ポストのためにギャラリーを作る (WordPress標準テーマにおいて<code>class=\"post\"</code>を各ポストで使う場合に動作します。)"
|
241 |
-
|
242 |
-
#: admin.php:395
|
243 |
-
msgid "Use a custom expression to apply FancyBox"
|
244 |
-
msgstr "FancyBoxへのカスタム表示の適用"
|
245 |
-
|
246 |
-
#: admin.php:404
|
247 |
-
msgid "Custom expression guidelines:"
|
248 |
-
msgstr "カスタム表示ガイドライン:"
|
249 |
-
|
250 |
-
#: admin.php:406
|
251 |
-
msgid "The custom expression has to apply <code>class=\"fancybox\"</code> to the links where you want to use FancyBox."
|
252 |
-
msgstr "カスタム表示をするには、FancyBoxを使用するリンクへ <code>class=\"fancybox\"</code> を付けます。"
|
253 |
-
|
254 |
-
#: admin.php:408
|
255 |
-
msgid "The jQuery <code>addClass()</code> function is a good way to add the class to the desired links conserving any existing class."
|
256 |
-
msgstr "jQueryの <code>addClass()</code> 機能を使用すると、どの既存のリンククラスへもaddクラスを加える早道です。"
|
257 |
-
|
258 |
-
#: admin.php:410
|
259 |
-
msgid "You can use <code>getTitle()</code> in your expression to copy the title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so that FancyBox can show captions."
|
260 |
-
msgstr "<code>getTitle()</code> を使用して <code>IMG</code> タグや、 <code>A</code> タグへ表示要素を追加し、FancyBoxを表示できます。"
|
261 |
-
|
262 |
-
#: admin.php:412
|
263 |
-
msgid "Do not call the <code>fancybox()</code> function here, the plugin does this for you."
|
264 |
-
msgstr "Fancyboxプラグインの<code>fancybox()</code> 機能を使用しない。"
|
265 |
-
|
266 |
-
#: admin.php:428
|
267 |
-
msgid "Troubleshooting Settings"
|
268 |
-
msgstr "トラブルシューティング設定"
|
269 |
-
|
270 |
-
#: admin.php:430
|
271 |
-
msgid "Settings in this section should only be changed if you are having problems with the plugin!"
|
272 |
-
msgstr "プラグインに関する問題がある場合、この設定を変えるだけです!"
|
273 |
-
|
274 |
-
#: admin.php:432
|
275 |
-
msgid "If the plugin doesn't seem to work, first you should check for other plugins that may be conflicting with this one, especially other Lightbox, Slimbox, etc. Make sure all your plugins and WordPress itself are up to date (this plugin has only been tested in WordPress 2.7 and above)."
|
276 |
-
msgstr "プラグインが機能しない場合は、はじめに他の類似プラグイン(特に他のLightbox、Slimbox)や、その他のプラグインと干渉している可能性があります。また、WordPress自体が最新版であることをチェックしてください。(このプラグインは、WordPress 2.7以上のバージョンでテスト済みです。)"
|
277 |
-
|
278 |
-
#: admin.php:434
|
279 |
-
msgid "Change them one at a time and test to see if they help. Remember that having a cache plugin may prevent changes from taking effect immidiately, so clear cache after saving changes here or deactivate cache until you finish editing these options."
|
280 |
-
msgstr "これらを一つずつを変更して、影響しているかどうかをテストしてください。これらのオプションを編集し終わってもキャッシュが保持されているため、オプション設定後、すぐに効果が表れないかもしれません。その場合、オプション設定終了後に、キャッシュのクリアをしてください。"
|
281 |
-
|
282 |
-
#: admin.php:440
|
283 |
-
msgid "Do not call jQuery"
|
284 |
-
msgstr "jQueryを使用しない"
|
285 |
-
|
286 |
-
#: admin.php:446
|
287 |
-
msgid "Skip jQuery call. Use this only if jQuery is being loaded twice (default: off)"
|
288 |
-
msgstr "jQueryの起動スキップ。jQueryが2度起動される場合だけ使用 (初期値: off)"
|
289 |
-
|
290 |
-
#: admin.php:454
|
291 |
-
msgid "jQuery \"noConflict\" Mode"
|
292 |
-
msgstr "jQuery \"noConflict\" モード"
|
293 |
-
|
294 |
-
#: admin.php:460
|
295 |
-
msgid "Use jQuery noConflict mode (default: on)"
|
296 |
-
msgstr "jQuery ノーコンフリクトモード設定 (初期値: on)"
|
297 |
-
|
298 |
-
#: admin.php:463
|
299 |
-
msgid "(Turning this off may cause problems if there are plugins activated that use other js framework like mootools, prototype, scriptaculous, etc.)"
|
300 |
-
msgstr "(この設定の有効化により、Js フレームワークを使用した、mootools、prototype、scriptaculous、その他のプラグインへの干渉を回避できる可能性があります。)"
|
301 |
-
|
302 |
-
#: admin.php:472
|
303 |
-
msgid "Uninstall"
|
304 |
-
msgstr "削除"
|
305 |
-
|
306 |
-
#: admin.php:474
|
307 |
-
msgid "Like many other plugins, FancyBox for WordPress stores its settings on your WordPress' options database table. Actually, these settings are not using more than a couple of kilobytes of space, but if you want to completely uninstall this plugin, check the option below, then save changes, and <strong>when you deactivate the plugin</strong>, all its settings will be removed from the database."
|
308 |
-
msgstr "他のプラグインのように、\"FancyBox for WordPress\"は、データベースのオプションテーブルに設定を格納します。これらの設定は2KB以上のスペースを使っていません。しかし、<strong>このプラグインを無効化</strong>し、削除する場合、完全に元に戻したいならば、下記のオプションをチェックすると、すべての設定はデータベースから削除されます。"
|
309 |
-
|
310 |
-
#: admin.php:480
|
311 |
-
msgid "Remove settings"
|
312 |
-
msgstr "設定の無効化"
|
313 |
-
|
314 |
-
#: admin.php:486
|
315 |
-
msgid "Remove Settings when plugin is deactivated from the \"Manage Plugins\" page. (default: off)"
|
316 |
-
msgstr "プラグイン設定を \"プラグイン管理\"ページから無効化してください。 (初期値: off)"
|
317 |
-
|
318 |
-
#: admin.php:503
|
319 |
-
msgid "Save Changes"
|
320 |
-
msgstr "設定保存"
|
321 |
-
|
322 |
-
#: fancybox.php:437
|
323 |
-
msgid "Settings"
|
324 |
-
msgstr "設定"
|
325 |
-
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: FancyBox for WordPress Japanese\n"
|
4 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/fancybox-for-wordpress\n"
|
5 |
+
"POT-Creation-Date: 2009-03-25 16:40+0000\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Oba-T\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
|
13 |
+
#: admin.php:21
|
14 |
+
#, php-format
|
15 |
+
msgid "Fancybox for WordPress Options (version %s)"
|
16 |
+
msgstr "Fancybox for WordPress Options (version %s)"
|
17 |
+
|
18 |
+
#: admin.php:25
|
19 |
+
msgid "If you use FancyBox and like it, buy the author a beer!"
|
20 |
+
msgstr "FancyBoxを気に入ったならば、作者にビールをおごってください。"
|
21 |
+
|
22 |
+
#: admin.php:46
|
23 |
+
msgid "The author of this WordPress Plugin also likes beer :P"
|
24 |
+
msgstr "このプラグインの作者は、ビールが大好きです。 :P"
|
25 |
+
|
26 |
+
#: admin.php:59
|
27 |
+
msgid "Follow me on Twitter for more WordPress Plugins and Themes"
|
28 |
+
msgstr "より多くのプラグインとテーマのためにTwitterで応援してください。"
|
29 |
+
|
30 |
+
#: admin.php:66
|
31 |
+
msgid "Info & Support"
|
32 |
+
msgstr "説明とサポート"
|
33 |
+
|
34 |
+
#: admin.php:68
|
35 |
+
msgid "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> developed by <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a>, ported to WordPress by <a href=\"http://moskis.net/\">José Pardilla</a>. Licensed under the <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
36 |
+
msgstr "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> developed by <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a>, ported to WordPress by <a href=\"http://moskis.net/\">José Pardilla</a>. Licensed under the <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
37 |
+
|
38 |
+
#: admin.php:70
|
39 |
+
msgid "As you can see, this plugin has many options you can edit, but have no fear, you can leave everything as it is if you want, since the default options should be a good start... :)"
|
40 |
+
msgstr "このプラグインには編集可能な多くのオプションがあります。初起動時に初期値で良い設定となってます。そのままでも構わなければ変更することはありません... :)"
|
41 |
+
|
42 |
+
#: admin.php:74
|
43 |
+
msgid "If you have problems or questions about FancyBox, please start with these links: <a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>.<br />If that does not help, go to <a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>, use the <strong>Search</strong> option, and if necesary, post your question."
|
44 |
+
msgstr "トラブル、または、FancyBoxへの質問は、リンク先の<a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>へ…<br />そこで、該当項目が無ければ、必要に応じて検索オプションを使用し、<a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>で検索してください。また、該当項目が無い場合は質問をしてください。"
|
45 |
+
|
46 |
+
#: admin.php:76
|
47 |
+
msgid "If you are having trouble with this plugin try to localize the problem (switch your theme and/or deactivate plugins until you find the source of the problem). You can also try the Troubleshooting settings at the bottom of this page if necesary. If you still can not get the plugin to work, <a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">leave a comment here</a> explaining the problem."
|
48 |
+
msgstr "このプラグインが動作しない時は、問題の切り分けをしてください(使用中のテーマを変える。または、その他のプラグインを一つずつ有効化する)。必要に応じて、このページの最下部のトラブルシューティングでセッティングを試してください。それでもまだプラグインを起動できない時は、<a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">leave a comment here</a> へ問題の詳細をコメントしてください。"
|
49 |
+
|
50 |
+
#: admin.php:81
|
51 |
+
msgid "Appearance Settings <span style=\"color:green\">(basic)</span>"
|
52 |
+
msgstr "外観設定 <span style=\"color:green\">(基本設定)</span>"
|
53 |
+
|
54 |
+
#: admin.php:83
|
55 |
+
msgid "These are the main settings, which let you tweak color, borders and animation."
|
56 |
+
msgstr "主要設定です。(この設定で、色、境界線、基本的なアニメーション動作の調整ができます。)"
|
57 |
+
|
58 |
+
#: admin.php:85
|
59 |
+
msgid "<strong>Note:</strong> Having a cache plugin may prevent changes from taking effect immidiately, so clear cache after saving changes here or deactivate cache until you finish editing these options."
|
60 |
+
msgstr "<strong>Note:</strong> キャッシュが保持されているため、オプション設定後、すぐに効果が表れないかもしれません。その場合、オプション設定終了後に、キャッシュのクリアをしてください。"
|
61 |
+
|
62 |
+
#: admin.php:95
|
63 |
+
msgid "Border Color"
|
64 |
+
msgstr "境界線色"
|
65 |
+
|
66 |
+
#: admin.php:101
|
67 |
+
msgid "HTML color of the border (default: #BBBBBB)"
|
68 |
+
msgstr "境界線の表示色 (初期値: #BBBBBB)"
|
69 |
+
|
70 |
+
#: admin.php:109
|
71 |
+
msgid "Close Button Position"
|
72 |
+
msgstr "閉じるボタンの位置"
|
73 |
+
|
74 |
+
#: admin.php:115
|
75 |
+
msgid "Left"
|
76 |
+
msgstr "左"
|
77 |
+
|
78 |
+
#: admin.php:120
|
79 |
+
msgid "Right (default)"
|
80 |
+
msgstr "右 (初期値)"
|
81 |
+
|
82 |
+
#: admin.php:125
|
83 |
+
msgid "Bottom"
|
84 |
+
msgstr "下"
|
85 |
+
|
86 |
+
#: admin.php:130
|
87 |
+
msgid "Top (default)"
|
88 |
+
msgstr "上 (初期値)"
|
89 |
+
|
90 |
+
#: admin.php:138
|
91 |
+
msgid "Padding"
|
92 |
+
msgstr "パディング設定"
|
93 |
+
|
94 |
+
#: admin.php:144
|
95 |
+
msgid "HTML color of the padding (default: #FFFFFF)"
|
96 |
+
msgstr "パッディングの表示色 (初期値: #FFFFFF)"
|
97 |
+
|
98 |
+
#: admin.php:149
|
99 |
+
msgid "Padding size in pixels (default: 10)"
|
100 |
+
msgstr "パッディングサイズ:px (初期値: 10)"
|
101 |
+
|
102 |
+
#: admin.php:152
|
103 |
+
msgid "(Set <strong>Border Color</strong> to \"#000000\" and <strong>Padding Size</strong> to \"0\" for the classic FancyBox look)"
|
104 |
+
msgstr "(<strong>境界線の色</strong> が \"#000000\" と <strong>内側余白</strong> が \"0\" が、classic FancyBox の設定)"
|
105 |
+
|
106 |
+
#: admin.php:159
|
107 |
+
msgid "Overlay Options"
|
108 |
+
msgstr "オーバレイ設定"
|
109 |
+
|
110 |
+
#: admin.php:165
|
111 |
+
msgid "Add overlay (default: on)"
|
112 |
+
msgstr "オーバーレイ適用 (初期値: on)"
|
113 |
+
|
114 |
+
#: admin.php:170
|
115 |
+
msgid "HTML color of the overlay (default: #666666)"
|
116 |
+
msgstr "オーバーレイの表示色 (初期値: #666666)"
|
117 |
+
|
118 |
+
#: admin.php:183
|
119 |
+
msgid "Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)"
|
120 |
+
msgstr "オーバーレイ透過度. 0 = 透明, 1 = 黒 0.1刻み(初期値: 0.3)"
|
121 |
+
|
122 |
+
#: admin.php:191
|
123 |
+
msgid "Zoom Options"
|
124 |
+
msgstr "ズーム設定"
|
125 |
+
|
126 |
+
#: admin.php:197
|
127 |
+
msgid "Change content transparency during zoom animations (default: on)"
|
128 |
+
msgstr "切替時、アニメーション動作を使用 (初期値: on)"
|
129 |
+
|
130 |
+
#: admin.php:209
|
131 |
+
msgid "Speed in miliseconds of the zooming-in animation (default: 500)"
|
132 |
+
msgstr "ズームイン アニメーション速度 : 1000=1秒 (初期値: 500)"
|
133 |
+
|
134 |
+
#: admin.php:221
|
135 |
+
msgid "Speed in miliseconds of the zooming-out animation (default: 500)"
|
136 |
+
msgstr "ズームアウト アニメーション速度 : 1000=1秒 (初期値: 500)"
|
137 |
+
|
138 |
+
#: admin.php:229
|
139 |
+
msgid "Easing"
|
140 |
+
msgstr "加減速設定"
|
141 |
+
|
142 |
+
#: admin.php:235
|
143 |
+
msgid "Activate easing (default: off)"
|
144 |
+
msgstr "加減速設定 (初期値: off)"
|
145 |
+
|
146 |
+
#: admin.php:248
|
147 |
+
msgid "Easing method when opening FancyBox. (default: easeOutBack)"
|
148 |
+
msgstr "FancyBoxの開始時の加減速動作 (初期値: easeOutBack)"
|
149 |
+
|
150 |
+
#: admin.php:261
|
151 |
+
msgid "Easing method when closing FancyBox. (default: easeInBack)"
|
152 |
+
msgstr "FancyBoxの終了時の加減速動作 (初期値: easeInBack)"
|
153 |
+
|
154 |
+
#: admin.php:274
|
155 |
+
msgid "Easing method when navigating through gallery items. (default: easeInOutQuart)"
|
156 |
+
msgstr "ギャラリーアイテム閲覧時の加減速動作 (初期値: easeInOutBack)"
|
157 |
+
|
158 |
+
#: admin.php:277
|
159 |
+
msgid "(There are 30 different easing methods, the first ones are the most boring. You can test them <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html\" target=\"_blank\">here</a>)"
|
160 |
+
msgstr "(30種類の\"加減速\"設定があります。最初の項目は最も退屈な設定です。 この<a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">リンク</a>にてテストできます。ボックスをクリックしてください。)"
|
161 |
+
|
162 |
+
#: admin.php:286
|
163 |
+
msgid "Show/Hide Advanced Settings"
|
164 |
+
msgstr "表示/非表示 高度設定"
|
165 |
+
|
166 |
+
#: admin.php:287
|
167 |
+
msgid "Show/Hide Troubleshooting & Uninstall Settings"
|
168 |
+
msgstr "表示/非表示 トラブルシューティング & 削除設定"
|
169 |
+
|
170 |
+
#: admin.php:292
|
171 |
+
msgid "Behavior Settings <span style=\"color:orange\">(medium)</span>"
|
172 |
+
msgstr "動作設定 <span style=\"color:orange\">(中間値)</span>"
|
173 |
+
|
174 |
+
#: admin.php:294
|
175 |
+
msgid "The following settings should be left on default unless you know what you are doing."
|
176 |
+
msgstr "理解していない場合、以下の設定は初期値のままにしてください。"
|
177 |
+
|
178 |
+
#: admin.php:300
|
179 |
+
msgid "Auto Resize to Fit"
|
180 |
+
msgstr "自動リサイズ設定"
|
181 |
+
|
182 |
+
#: admin.php:306
|
183 |
+
msgid "Scale images to fit in viewport (default: on)"
|
184 |
+
msgstr "イメージの大きさをビューポートに合わせる (初期値: on)"
|
185 |
+
|
186 |
+
#: admin.php:314
|
187 |
+
msgid "Center on Scroll"
|
188 |
+
msgstr "表示固定設定"
|
189 |
+
|
190 |
+
#: admin.php:320
|
191 |
+
msgid "Keep image in the center of the browser window when scrolling (default: on)"
|
192 |
+
msgstr "ブラウザののスクロールをしても、プレビュー画像を中央に固定する。 (初期値: on)"
|
193 |
+
|
194 |
+
#: admin.php:328
|
195 |
+
msgid "Close on Click"
|
196 |
+
msgstr "クリック終了設定"
|
197 |
+
|
198 |
+
#: admin.php:334
|
199 |
+
msgid "Close FancyBox by clicking on the image (default: off)"
|
200 |
+
msgstr "FancyBoxをプレビュー画像クリックで閉じる。 (初期値: off)"
|
201 |
+
|
202 |
+
#: admin.php:337
|
203 |
+
msgid "(You may want to leave this off if you display iframed or inline content and it containts clickable elements - for example: play buttons for movies, links to other pages)"
|
204 |
+
msgstr "(インラインフレーム、インラインコンテンツをクリックで表示する場合、これらのコンテンツ要素をこのままにしておきたいことがあります-例えば:動画再生ボタンやページリンク)"
|
205 |
+
|
206 |
+
#: admin.php:347
|
207 |
+
msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
|
208 |
+
msgstr "ギャラリー設定 <span style=\"color:red\">(高度設定)</span>"
|
209 |
+
|
210 |
+
#: admin.php:349
|
211 |
+
msgid "Here you can choose if you want the plugin to group all images into a gallery, or make a gallery for each post. You can also define you own jQuery expression if you like."
|
212 |
+
msgstr "この設定で、すべての画像をギャラリーに分類するか、各ポストのためにギャラリーを作るかを選択できます。 また、jQueryの動作表現を定義できます。"
|
213 |
+
|
214 |
+
#: admin.php:355
|
215 |
+
msgid "Frame Size"
|
216 |
+
msgstr "フレームサイズ"
|
217 |
+
|
218 |
+
#: admin.php:361
|
219 |
+
msgid "Width in pixels of FancyBox when showing iframe content (default: 640)"
|
220 |
+
msgstr "FancyBoxのインラインフレームコンテンツの表示幅 :px (初期値: 640)"
|
221 |
+
|
222 |
+
#: admin.php:366
|
223 |
+
msgid "Height in pixels of FancyBox when showing iframe content (default: 500)"
|
224 |
+
msgstr "FancyBoxのインラインフレームコンテンツの表示高 :px (初期値: 500)"
|
225 |
+
|
226 |
+
#: admin.php:374
|
227 |
+
msgid "Gallery Type"
|
228 |
+
msgstr "ギャラリータイプ"
|
229 |
+
|
230 |
+
#: admin.php:380
|
231 |
+
msgid "Make a gallery for all images on the page (default)"
|
232 |
+
msgstr "ページ上の全画像のためにギャラリーを作る (初期値)"
|
233 |
+
|
234 |
+
#: admin.php:385
|
235 |
+
msgid "Do not group images in gallery automatically (use this if you want to make galleries manually with the <code>REL</code> attribute)"
|
236 |
+
msgstr "ギャラリーで自動的に画像を分類しない (<code>REL</code>属性で手動でギャラリーを作る場合は使用してください。)"
|
237 |
+
|
238 |
+
#: admin.php:390
|
239 |
+
msgid "Make a gallery for each post (will only work if your theme uses <code>class=\"post\"</code> on each post, which is common in WordPress"
|
240 |
+
msgstr "各ポストのためにギャラリーを作る (WordPress標準テーマにおいて<code>class=\"post\"</code>を各ポストで使う場合に動作します。)"
|
241 |
+
|
242 |
+
#: admin.php:395
|
243 |
+
msgid "Use a custom expression to apply FancyBox"
|
244 |
+
msgstr "FancyBoxへのカスタム表示の適用"
|
245 |
+
|
246 |
+
#: admin.php:404
|
247 |
+
msgid "Custom expression guidelines:"
|
248 |
+
msgstr "カスタム表示ガイドライン:"
|
249 |
+
|
250 |
+
#: admin.php:406
|
251 |
+
msgid "The custom expression has to apply <code>class=\"fancybox\"</code> to the links where you want to use FancyBox."
|
252 |
+
msgstr "カスタム表示をするには、FancyBoxを使用するリンクへ <code>class=\"fancybox\"</code> を付けます。"
|
253 |
+
|
254 |
+
#: admin.php:408
|
255 |
+
msgid "The jQuery <code>addClass()</code> function is a good way to add the class to the desired links conserving any existing class."
|
256 |
+
msgstr "jQueryの <code>addClass()</code> 機能を使用すると、どの既存のリンククラスへもaddクラスを加える早道です。"
|
257 |
+
|
258 |
+
#: admin.php:410
|
259 |
+
msgid "You can use <code>getTitle()</code> in your expression to copy the title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so that FancyBox can show captions."
|
260 |
+
msgstr "<code>getTitle()</code> を使用して <code>IMG</code> タグや、 <code>A</code> タグへ表示要素を追加し、FancyBoxを表示できます。"
|
261 |
+
|
262 |
+
#: admin.php:412
|
263 |
+
msgid "Do not call the <code>fancybox()</code> function here, the plugin does this for you."
|
264 |
+
msgstr "Fancyboxプラグインの<code>fancybox()</code> 機能を使用しない。"
|
265 |
+
|
266 |
+
#: admin.php:428
|
267 |
+
msgid "Troubleshooting Settings"
|
268 |
+
msgstr "トラブルシューティング設定"
|
269 |
+
|
270 |
+
#: admin.php:430
|
271 |
+
msgid "Settings in this section should only be changed if you are having problems with the plugin!"
|
272 |
+
msgstr "プラグインに関する問題がある場合、この設定を変えるだけです!"
|
273 |
+
|
274 |
+
#: admin.php:432
|
275 |
+
msgid "If the plugin doesn't seem to work, first you should check for other plugins that may be conflicting with this one, especially other Lightbox, Slimbox, etc. Make sure all your plugins and WordPress itself are up to date (this plugin has only been tested in WordPress 2.7 and above)."
|
276 |
+
msgstr "プラグインが機能しない場合は、はじめに他の類似プラグイン(特に他のLightbox、Slimbox)や、その他のプラグインと干渉している可能性があります。また、WordPress自体が最新版であることをチェックしてください。(このプラグインは、WordPress 2.7以上のバージョンでテスト済みです。)"
|
277 |
+
|
278 |
+
#: admin.php:434
|
279 |
+
msgid "Change them one at a time and test to see if they help. Remember that having a cache plugin may prevent changes from taking effect immidiately, so clear cache after saving changes here or deactivate cache until you finish editing these options."
|
280 |
+
msgstr "これらを一つずつを変更して、影響しているかどうかをテストしてください。これらのオプションを編集し終わってもキャッシュが保持されているため、オプション設定後、すぐに効果が表れないかもしれません。その場合、オプション設定終了後に、キャッシュのクリアをしてください。"
|
281 |
+
|
282 |
+
#: admin.php:440
|
283 |
+
msgid "Do not call jQuery"
|
284 |
+
msgstr "jQueryを使用しない"
|
285 |
+
|
286 |
+
#: admin.php:446
|
287 |
+
msgid "Skip jQuery call. Use this only if jQuery is being loaded twice (default: off)"
|
288 |
+
msgstr "jQueryの起動スキップ。jQueryが2度起動される場合だけ使用 (初期値: off)"
|
289 |
+
|
290 |
+
#: admin.php:454
|
291 |
+
msgid "jQuery \"noConflict\" Mode"
|
292 |
+
msgstr "jQuery \"noConflict\" モード"
|
293 |
+
|
294 |
+
#: admin.php:460
|
295 |
+
msgid "Use jQuery noConflict mode (default: on)"
|
296 |
+
msgstr "jQuery ノーコンフリクトモード設定 (初期値: on)"
|
297 |
+
|
298 |
+
#: admin.php:463
|
299 |
+
msgid "(Turning this off may cause problems if there are plugins activated that use other js framework like mootools, prototype, scriptaculous, etc.)"
|
300 |
+
msgstr "(この設定の有効化により、Js フレームワークを使用した、mootools、prototype、scriptaculous、その他のプラグインへの干渉を回避できる可能性があります。)"
|
301 |
+
|
302 |
+
#: admin.php:472
|
303 |
+
msgid "Uninstall"
|
304 |
+
msgstr "削除"
|
305 |
+
|
306 |
+
#: admin.php:474
|
307 |
+
msgid "Like many other plugins, FancyBox for WordPress stores its settings on your WordPress' options database table. Actually, these settings are not using more than a couple of kilobytes of space, but if you want to completely uninstall this plugin, check the option below, then save changes, and <strong>when you deactivate the plugin</strong>, all its settings will be removed from the database."
|
308 |
+
msgstr "他のプラグインのように、\"FancyBox for WordPress\"は、データベースのオプションテーブルに設定を格納します。これらの設定は2KB以上のスペースを使っていません。しかし、<strong>このプラグインを無効化</strong>し、削除する場合、完全に元に戻したいならば、下記のオプションをチェックすると、すべての設定はデータベースから削除されます。"
|
309 |
+
|
310 |
+
#: admin.php:480
|
311 |
+
msgid "Remove settings"
|
312 |
+
msgstr "設定の無効化"
|
313 |
+
|
314 |
+
#: admin.php:486
|
315 |
+
msgid "Remove Settings when plugin is deactivated from the \"Manage Plugins\" page. (default: off)"
|
316 |
+
msgstr "プラグイン設定を \"プラグイン管理\"ページから無効化してください。 (初期値: off)"
|
317 |
+
|
318 |
+
#: admin.php:503
|
319 |
+
msgid "Save Changes"
|
320 |
+
msgstr "設定保存"
|
321 |
+
|
322 |
+
#: fancybox.php:437
|
323 |
+
msgid "Settings"
|
324 |
+
msgstr "設定"
|
325 |
+
|
languages/mfbfw-tr_TR.po
CHANGED
@@ -1,325 +1,325 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: FancyBox for WordPress\n"
|
4 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/tag/fancybox-for-wordpress\n"
|
5 |
-
"POT-Creation-Date: 2009-03-25 16:40+0000\n"
|
6 |
-
"PO-Revision-Date: \n"
|
7 |
-
"Last-Translator: Yunus Emre <immortalance@gmail.com>\n"
|
8 |
-
"Language-Team: \n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
|
13 |
-
#: admin.php:21
|
14 |
-
#, php-format
|
15 |
-
msgid "Fancybox for WordPress Options (version %s)"
|
16 |
-
msgstr "Wordpress Ayarları için Fancybox (Versiyon %s)"
|
17 |
-
|
18 |
-
#: admin.php:25
|
19 |
-
msgid "If you use FancyBox and like it, buy the author a beer!"
|
20 |
-
msgstr "Fancybox'u sevdiyseniz kodlayıcısına bir bira ısmarlayabilirsiniz!"
|
21 |
-
|
22 |
-
#: admin.php:46
|
23 |
-
msgid "The author of this WordPress Plugin also likes beer :P"
|
24 |
-
msgstr "Bu eklentinin sahibi bira hastasıdır :P"
|
25 |
-
|
26 |
-
#: admin.php:59
|
27 |
-
msgid "Follow me on Twitter for more WordPress Plugins and Themes"
|
28 |
-
msgstr "Daha fazla tema ve plugin için Twitter'dan beni takip edin."
|
29 |
-
|
30 |
-
#: admin.php:66
|
31 |
-
msgid "Info & Support"
|
32 |
-
msgstr "Bilgi & Destek"
|
33 |
-
|
34 |
-
#: admin.php:68
|
35 |
-
msgid "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> developed by <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a>, ported to WordPress by <a href=\"http://moskis.net/\">José Pardilla</a>. Licensed under the <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
36 |
-
msgstr "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a> tarafından kodlanmıştır. WordPress'e <a href=\"http://moskis.net/\">José Pardilla</a> tarafından uyarlanmıştır. <strong><a href=\"http://blog.immortalance.net/\">Yunus Emre Bayraktar</a></strong> tarafından Türkçeleştirilmiştir. Lisans Tipi:<a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
37 |
-
|
38 |
-
#: admin.php:70
|
39 |
-
msgid "As you can see, this plugin has many options you can edit, but have no fear, you can leave everything as it is if you want, since the default options should be a good start... :)"
|
40 |
-
msgstr "Gördüğünüz gibi bu eklentide bir çok ayarlama yapabilirsin. Korkma, yanlış yaptığında ilk ayarlara dönüş imkanın var. :)"
|
41 |
-
|
42 |
-
#: admin.php:74
|
43 |
-
msgid "If you have problems or questions about FancyBox, please start with these links: <a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>.<br />If that does not help, go to <a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>, use the <strong>Search</strong> option, and if necesary, post your question."
|
44 |
-
msgstr "FancyBox hakkında problem ve sorularınız varsa bu linkten başlayın: <a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>.<br />Eğer aradığınızı bulamadıysanız: <a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>,'na gidin ve <strong>Arama</strong> kutucuğunu kullanın. Bulamadıysanız bir başlık açın."
|
45 |
-
|
46 |
-
#: admin.php:76
|
47 |
-
msgid "If you are having trouble with this plugin try to localize the problem (switch your theme and/or deactivate plugins until you find the source of the problem). You can also try the Troubleshooting settings at the bottom of this page if necesary. If you still can not get the plugin to work, <a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">leave a comment here</a> explaining the problem."
|
48 |
-
msgstr "Eğer bir problem yaşarsanız temanızı kontrol ediniz ve sorunu çözene kadar eklentiyi kapatınız. Sorun Giderme kılavuzundan gerektiği taktirde yardım alabilirsiniz. eğer hala bir çözüm bulamadıysanız, <a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">buraya</a> sorununuz hakkında yorum bırakabilirsiniz."
|
49 |
-
|
50 |
-
#: admin.php:81
|
51 |
-
msgid "Appearance Settings <span style=\"color:green\">(basic)</span>"
|
52 |
-
msgstr "Görünen Ayarlar <span style=\"color:green\">(basic)</span>"
|
53 |
-
|
54 |
-
#: admin.php:83
|
55 |
-
msgid "These are the main settings, which let you tweak color, borders and animation."
|
56 |
-
msgstr "Buradaki ana ayarlar ile renk, çerçeve ve animasyonu seçebilirsiniz."
|
57 |
-
|
58 |
-
#: admin.php:85
|
59 |
-
msgid "<strong>Note:</strong> Having a cache plugin may prevent changes from taking effect immidiately, so clear cache after saving changes here or deactivate cache until you finish editing these options."
|
60 |
-
msgstr "<strong>Not:</strong> Eğer bir önbellek (Cache) eklentisi kullanıyorsanız ayarlamaları yaptıktan sonra değişiklikleri görmek için önbelleği temizleyin. Daha iyi bir yol ise önbellek eklentisini ayarlarınız bitene kadar kapalı konumda tutun."
|
61 |
-
|
62 |
-
#: admin.php:95
|
63 |
-
msgid "Border Color"
|
64 |
-
msgstr "Çerçeve Rengi"
|
65 |
-
|
66 |
-
#: admin.php:101
|
67 |
-
msgid "HTML color of the border (default: #BBBBBB)"
|
68 |
-
msgstr "Çerçeve için HTML rengi (default: #BBBBBB)"
|
69 |
-
|
70 |
-
#: admin.php:109
|
71 |
-
msgid "Close Button Position"
|
72 |
-
msgstr "Çıkış Butonu Pozisyonu"
|
73 |
-
|
74 |
-
#: admin.php:115
|
75 |
-
msgid "Left"
|
76 |
-
msgstr "Sol"
|
77 |
-
|
78 |
-
#: admin.php:120
|
79 |
-
msgid "Right (default)"
|
80 |
-
msgstr "Sağ"
|
81 |
-
|
82 |
-
#: admin.php:125
|
83 |
-
msgid "Bottom"
|
84 |
-
msgstr "Alt"
|
85 |
-
|
86 |
-
#: admin.php:130
|
87 |
-
msgid "Top (default)"
|
88 |
-
msgstr "Üst"
|
89 |
-
|
90 |
-
#: admin.php:138
|
91 |
-
msgid "Padding"
|
92 |
-
msgstr "Dolgu"
|
93 |
-
|
94 |
-
#: admin.php:144
|
95 |
-
msgid "HTML color of the padding (default: #FFFFFF)"
|
96 |
-
msgstr "Dolgunun HTML rengi (default: #FFFFFF)"
|
97 |
-
|
98 |
-
#: admin.php:149
|
99 |
-
msgid "Padding size in pixels (default: 10)"
|
100 |
-
msgstr "Pixel cinsinden dolgu (default: 10)"
|
101 |
-
|
102 |
-
#: admin.php:152
|
103 |
-
msgid "(Set <strong>Border Color</strong> to \"#000000\" and <strong>Padding Size</strong> to \"0\" for the classic FancyBox look)"
|
104 |
-
msgstr "(Klasik görünüm için<strong>Border Color</strong>'ni \"#000000\"'a ayarla ve <strong>Dolgu Boyutunu</strong> \"0\"a ayarla )"
|
105 |
-
|
106 |
-
#: admin.php:159
|
107 |
-
msgid "Overlay Options"
|
108 |
-
msgstr "Kaplama Ayarları"
|
109 |
-
|
110 |
-
#: admin.php:165
|
111 |
-
msgid "Add overlay (default: on)"
|
112 |
-
msgstr "Kaplama Ekle (default: on)"
|
113 |
-
|
114 |
-
#: admin.php:170
|
115 |
-
msgid "HTML color of the overlay (default: #666666)"
|
116 |
-
msgstr "Kaplama için ana HTML rengi (default: #666666)"
|
117 |
-
|
118 |
-
#: admin.php:183
|
119 |
-
msgid "Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)"
|
120 |
-
msgstr "Saydamlık ayarları. \"0\" saydam, \"1\" mat şekildedir. (default: 0.3)"
|
121 |
-
|
122 |
-
#: admin.php:191
|
123 |
-
msgid "Zoom Options"
|
124 |
-
msgstr "Yakınlaştırma Ayarları"
|
125 |
-
|
126 |
-
#: admin.php:197
|
127 |
-
msgid "Change content transparency during zoom animations (default: on)"
|
128 |
-
msgstr "Animasyonel yakınlaştırma sırasında resmin bulunduğu sayfayı saydamlaştır. (default: on)"
|
129 |
-
|
130 |
-
#: admin.php:209
|
131 |
-
msgid "Speed in miliseconds of the zooming-in animation (default: 500)"
|
132 |
-
msgstr "Milisaniye cinsinden yakınlaştırma hızı. (default: 500)"
|
133 |
-
|
134 |
-
#: admin.php:221
|
135 |
-
msgid "Speed in miliseconds of the zooming-out animation (default: 500)"
|
136 |
-
msgstr "Milisaniye cinsinden uzaklaştırma hızı. (default: 500)"
|
137 |
-
|
138 |
-
#: admin.php:229
|
139 |
-
msgid "Easing"
|
140 |
-
msgstr "Sönüklük"
|
141 |
-
|
142 |
-
#: admin.php:235
|
143 |
-
msgid "Activate easing (default: off)"
|
144 |
-
msgstr "Sönüklüğü Aktifleştir (Default: off)"
|
145 |
-
|
146 |
-
#: admin.php:248
|
147 |
-
msgid "Easing method when opening FancyBox. (default: easeOutBack)"
|
148 |
-
msgstr "Fancybox'u sönükleştirerek aç. (default: easeinback)"
|
149 |
-
|
150 |
-
#: admin.php:261
|
151 |
-
msgid "Easing method when closing FancyBox. (default: easeInBack)"
|
152 |
-
msgstr "Fancybox'u sönükleştirerek kapat. (default: easeinback)"
|
153 |
-
|
154 |
-
#: admin.php:274
|
155 |
-
msgid "Easing method when navigating through gallery items. (default: easeInOutQuart)"
|
156 |
-
msgstr "Galeri parçalarını gezdirirken sönükleştir . (default: easeInOutQuart)"
|
157 |
-
|
158 |
-
#: admin.php:277
|
159 |
-
msgid "(There are 30 different easing methods, the first ones are the most boring. You can test them <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html\" target=\"_blank\">here</a>)"
|
160 |
-
msgstr "(Burada 30 adet geçiş modu bulunmaktadır. İlk seçtiğiniz kötü olabilir. <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html\" target=\"_blank\">Buradan</a>) diğerlerini de kontrol edebilirsiniz."
|
161 |
-
|
162 |
-
#: admin.php:286
|
163 |
-
msgid "Show/Hide Advanced Settings"
|
164 |
-
msgstr "İnce Ayarları Göster/Sakla"
|
165 |
-
|
166 |
-
#: admin.php:287
|
167 |
-
msgid "Show/Hide Troubleshooting & Uninstall Settings"
|
168 |
-
msgstr "Troubleshooting & Eklentiyi Kaldırma ayarları Göster/Sakla"
|
169 |
-
|
170 |
-
#: admin.php:292
|
171 |
-
msgid "Behavior Settings <span style=\"color:orange\">(medium)</span>"
|
172 |
-
msgstr "Hareket Ayarları <span style=\"color:orange\">(medium)</span>"
|
173 |
-
|
174 |
-
#: admin.php:294
|
175 |
-
msgid "The following settings should be left on default unless you know what you are doing."
|
176 |
-
msgstr "Ne yaptığınızı bilmiyorsanız düzünlemekten vazgeçin ve ayarları ilk konumuna getirin. (default değerlerine)"
|
177 |
-
|
178 |
-
#: admin.php:300
|
179 |
-
msgid "Auto Resize to Fit"
|
180 |
-
msgstr "Otomatik Boyutlandırma"
|
181 |
-
|
182 |
-
#: admin.php:306
|
183 |
-
msgid "Scale images to fit in viewport (default: on)"
|
184 |
-
msgstr "Görüntülemeyi ölçeklendir. (default: on)"
|
185 |
-
|
186 |
-
#: admin.php:314
|
187 |
-
msgid "Center on Scroll"
|
188 |
-
msgstr "Kaydırırken Ortada"
|
189 |
-
|
190 |
-
#: admin.php:320
|
191 |
-
msgid "Keep image in the center of the browser window when scrolling (default: on)"
|
192 |
-
msgstr "Pencere kaydırıldığında resim de sayfayla beraber kaysın. (default: on)"
|
193 |
-
|
194 |
-
#: admin.php:328
|
195 |
-
msgid "Close on Click"
|
196 |
-
msgstr "Tıklandığında Çıkış"
|
197 |
-
|
198 |
-
#: admin.php:334
|
199 |
-
msgid "Close FancyBox by clicking on the image (default: off)"
|
200 |
-
msgstr "Resime tıklandığında resim penceresini kapat. (default: off)"
|
201 |
-
|
202 |
-
#: admin.php:337
|
203 |
-
msgid "(You may want to leave this off if you display iframed or inline content and it containts clickable elements - for example: play buttons for movies, links to other pages)"
|
204 |
-
msgstr "(Eğer sayfayı iframe içerisinde göstermek istemiyorsanız burayı terkedebilirsiniz. Ör:/ videolar için oynatma butonu ve diğer sayfalara linkler koymak gibi.)"
|
205 |
-
|
206 |
-
#: admin.php:347
|
207 |
-
msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
|
208 |
-
msgstr "Galeri Ayarları <span style=\"color:red\">(advanced)</span>"
|
209 |
-
|
210 |
-
#: admin.php:349
|
211 |
-
msgid "Here you can choose if you want the plugin to group all images into a gallery, or make a gallery for each post. You can also define you own jQuery expression if you like."
|
212 |
-
msgstr "İsterseniz buradan bütün resimleri galerinin içine koyabilir ve yazınıza galeri oluşturabilirsiniz. Ayrıca kendi jQuery ifadelerini kullanabilirsiniz."
|
213 |
-
|
214 |
-
#: admin.php:355
|
215 |
-
msgid "Frame Size"
|
216 |
-
msgstr "Açılır Pencere Boyutu"
|
217 |
-
|
218 |
-
#: admin.php:361
|
219 |
-
msgid "Width in pixels of FancyBox when showing iframe content (default: 640)"
|
220 |
-
msgstr "Açılır pencere açıldığında Fancybox'un Pixel cinsinden genişliği. (default: 640)"
|
221 |
-
|
222 |
-
#: admin.php:366
|
223 |
-
msgid "Height in pixels of FancyBox when showing iframe content (default: 500)"
|
224 |
-
msgstr "Açılır pencere açıldığında Fancybox'un Pixel cinsinden yüksekliği. (default: 500)"
|
225 |
-
|
226 |
-
#: admin.php:374
|
227 |
-
msgid "Gallery Type"
|
228 |
-
msgstr "Galeri Tipi"
|
229 |
-
|
230 |
-
#: admin.php:380
|
231 |
-
msgid "Make a gallery for all images on the page (default)"
|
232 |
-
msgstr "Sayfadaki tüm resimlerden bir galeri oluştur. (default)"
|
233 |
-
|
234 |
-
#: admin.php:385
|
235 |
-
msgid "Do not group images in gallery automatically (use this if you want to make galleries manually with the <code>REL</code> attribute)"
|
236 |
-
msgstr "Resimleri otomatik olarak galeriye ekleme. (Bunu resimleri kendiniz galeriye eklemek isterseniz kullanın. Resimleri<code>REL</code> kodu ile galeriye ekleyebilirsiniz.)"
|
237 |
-
|
238 |
-
#: admin.php:390
|
239 |
-
msgid "Make a gallery for each post (will only work if your theme uses <code>class=\"post\"</code> on each post, which is common in WordPress"
|
240 |
-
msgstr "Her yazıda resim galerisi oluştur. (Sadece temanız her yazıda<code>class=\"post\"</code> kodunu kullanıyorsa çalışır, Wordpress'de yaygın olarak kullanılır.)"
|
241 |
-
|
242 |
-
#: admin.php:395
|
243 |
-
msgid "Use a custom expression to apply FancyBox"
|
244 |
-
msgstr "Kendi ifadelerinizi Fancybox'a ekleyin."
|
245 |
-
|
246 |
-
#: admin.php:404
|
247 |
-
msgid "Custom expression guidelines:"
|
248 |
-
msgstr "Özelleştirilmiş İfadeler Kılavuzu:"
|
249 |
-
|
250 |
-
#: admin.php:406
|
251 |
-
msgid "The custom expression has to apply <code>class=\"fancybox\"</code> to the links where you want to use FancyBox."
|
252 |
-
msgstr "Kendi ifadelerinizi kullanmak için FancyBox'u kullandığınız yerdeki linke <code>class=\"fancybox\"</code> kodunu yerleştiriniz."
|
253 |
-
|
254 |
-
#: admin.php:408
|
255 |
-
msgid "The jQuery <code>addClass()</code> function is a good way to add the class to the desired links conserving any existing class."
|
256 |
-
msgstr "jQuery <code>addClass()</code> fonksiyonu linklere falan şekil vermek için iyi bir yoldur."
|
257 |
-
|
258 |
-
#: admin.php:410
|
259 |
-
msgid "You can use <code>getTitle()</code> in your expression to copy the title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so that FancyBox can show captions."
|
260 |
-
msgstr "You can use <code>getTitle()</code> in your expression to copy the title attribute from the <code>IMG</code> tag to the <code>A</code> tag, böylece başlıkları gösterebilirsiniz."
|
261 |
-
|
262 |
-
#: admin.php:412
|
263 |
-
msgid "Do not call the <code>fancybox()</code> function here, the plugin does this for you."
|
264 |
-
msgstr "<code>fancybox()</code> fonksiyonunu burada çalıştırma, eklenti sizin için."
|
265 |
-
|
266 |
-
#: admin.php:428
|
267 |
-
msgid "Troubleshooting Settings"
|
268 |
-
msgstr "Sorun Giderme Ayarları"
|
269 |
-
|
270 |
-
#: admin.php:430
|
271 |
-
msgid "Settings in this section should only be changed if you are having problems with the plugin!"
|
272 |
-
msgstr "Bu seçenek sadece eklentide bir problem yaşanıyorsa değiştirilebilir."
|
273 |
-
|
274 |
-
#: admin.php:432
|
275 |
-
msgid "If the plugin doesn't seem to work, first you should check for other plugins that may be conflicting with this one, especially other Lightbox, Slimbox, etc. Make sure all your plugins and WordPress itself are up to date (this plugin has only been tested in WordPress 2.7 and above)."
|
276 |
-
msgstr "Eğer bu eklenti çalışmıyor gibi görünüyorsa diğer eklentileri kontrol edin ve tüm eklentilerin güncel olduğundan emin olun. ( Bu eklenti sadece Wordpress 2.7 ve daha yüksek sürümlerinde test edilmiştir.)"
|
277 |
-
|
278 |
-
#: admin.php:434
|
279 |
-
msgid "Change them one at a time and test to see if they help. Remember that having a cache plugin may prevent changes from taking effect immidiately, so clear cache after saving changes here or deactivate cache until you finish editing these options."
|
280 |
-
msgstr "Bir defalığına test etmeniz size yardımcı olabilir. Test işlemini yapmadan önce ön bellek (cache) kullanıyorsanız önbelleği temizleyiniz ve sonra test işlemi yapınız. Önbelekleme sizin yaptığınız değişiklikleri görmenizi engelleyecektir. "
|
281 |
-
|
282 |
-
#: admin.php:440
|
283 |
-
msgid "Do not call jQuery"
|
284 |
-
msgstr "jQuery kullanma"
|
285 |
-
|
286 |
-
#: admin.php:446
|
287 |
-
msgid "Skip jQuery call. Use this only if jQuery is being loaded twice (default: off)"
|
288 |
-
msgstr "JQuery sorgusunu atla. Eğer JQuery iki defa çalışıyorsa bunu kullanın."
|
289 |
-
|
290 |
-
#: admin.php:454
|
291 |
-
msgid "jQuery \"noConflict\" Mode"
|
292 |
-
msgstr "jQuery \"noConflict\" Modu"
|
293 |
-
|
294 |
-
#: admin.php:460
|
295 |
-
msgid "Use jQuery noConflict mode (default: on)"
|
296 |
-
msgstr "jQuery noConflict modu kullan (default: on)"
|
297 |
-
|
298 |
-
#: admin.php:463
|
299 |
-
msgid "(Turning this off may cause problems if there are plugins activated that use other js framework like mootools, prototype, scriptaculous, etc.)"
|
300 |
-
msgstr "(Eğer eklenti aktifken diğer Java Scriptlerle ilgili problem yaşarsa (mootols, prototype gibi) bunu kapalı konuma getirin. )"
|
301 |
-
|
302 |
-
#: admin.php:472
|
303 |
-
msgid "Uninstall"
|
304 |
-
msgstr "Eklentiyi Kaldır"
|
305 |
-
|
306 |
-
#: admin.php:474
|
307 |
-
msgid "Like many other plugins, FancyBox for WordPress stores its settings on your WordPress' options database table. Actually, these settings are not using more than a couple of kilobytes of space, but if you want to completely uninstall this plugin, check the option below, then save changes, and <strong>when you deactivate the plugin</strong>, all its settings will be removed from the database."
|
308 |
-
msgstr "Diğer eklentiler gibi Fancybox da veritabanında Wordpress ayarları tablosunu kullanarak çalışır. Çok fazla boyut kullanmamasına rağmen kaldırmak isterseniz öncelikle ayarlardan eklentiyi kapatınız. Böylece ayarlarınız veritababnından silinecektir. Daha sonra kaldırma işlemini tamamlayabilirsiniz."
|
309 |
-
|
310 |
-
#: admin.php:480
|
311 |
-
msgid "Remove settings"
|
312 |
-
msgstr "Ayarları Sil"
|
313 |
-
|
314 |
-
#: admin.php:486
|
315 |
-
msgid "Remove Settings when plugin is deactivated from the \"Manage Plugins\" page. (default: off)"
|
316 |
-
msgstr "Eklenti etkisizleştirildiğinde ayarları temizle."
|
317 |
-
|
318 |
-
#: admin.php:503
|
319 |
-
msgid "Save Changes"
|
320 |
-
msgstr "Değişiklikleri Kaydet"
|
321 |
-
|
322 |
-
#: fancybox.php:437
|
323 |
-
msgid "Settings"
|
324 |
-
msgstr "Ayarlar"
|
325 |
-
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: FancyBox for WordPress\n"
|
4 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/fancybox-for-wordpress\n"
|
5 |
+
"POT-Creation-Date: 2009-03-25 16:40+0000\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Yunus Emre <immortalance@gmail.com>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
|
13 |
+
#: admin.php:21
|
14 |
+
#, php-format
|
15 |
+
msgid "Fancybox for WordPress Options (version %s)"
|
16 |
+
msgstr "Wordpress Ayarları için Fancybox (Versiyon %s)"
|
17 |
+
|
18 |
+
#: admin.php:25
|
19 |
+
msgid "If you use FancyBox and like it, buy the author a beer!"
|
20 |
+
msgstr "Fancybox'u sevdiyseniz kodlayıcısına bir bira ısmarlayabilirsiniz!"
|
21 |
+
|
22 |
+
#: admin.php:46
|
23 |
+
msgid "The author of this WordPress Plugin also likes beer :P"
|
24 |
+
msgstr "Bu eklentinin sahibi bira hastasıdır :P"
|
25 |
+
|
26 |
+
#: admin.php:59
|
27 |
+
msgid "Follow me on Twitter for more WordPress Plugins and Themes"
|
28 |
+
msgstr "Daha fazla tema ve plugin için Twitter'dan beni takip edin."
|
29 |
+
|
30 |
+
#: admin.php:66
|
31 |
+
msgid "Info & Support"
|
32 |
+
msgstr "Bilgi & Destek"
|
33 |
+
|
34 |
+
#: admin.php:68
|
35 |
+
msgid "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> developed by <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a>, ported to WordPress by <a href=\"http://moskis.net/\">José Pardilla</a>. Licensed under the <a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
36 |
+
msgstr "<a href=\"http://fancy.klade.lv/home\">FancyBox</a> <a href=\"http://kac.klade.lv/\">Janis Skarnelis</a> tarafından kodlanmıştır. WordPress'e <a href=\"http://moskis.net/\">José Pardilla</a> tarafından uyarlanmıştır. <strong><a href=\"http://blog.immortalance.net/\">Yunus Emre Bayraktar</a></strong> tarafından Türkçeleştirilmiştir. Lisans Tipi:<a target=\"_blank\" href=\"http://en.wikipedia.org/wiki/MIT_License\">MIT License</a>."
|
37 |
+
|
38 |
+
#: admin.php:70
|
39 |
+
msgid "As you can see, this plugin has many options you can edit, but have no fear, you can leave everything as it is if you want, since the default options should be a good start... :)"
|
40 |
+
msgstr "Gördüğünüz gibi bu eklentide bir çok ayarlama yapabilirsin. Korkma, yanlış yaptığında ilk ayarlara dönüş imkanın var. :)"
|
41 |
+
|
42 |
+
#: admin.php:74
|
43 |
+
msgid "If you have problems or questions about FancyBox, please start with these links: <a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>.<br />If that does not help, go to <a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>, use the <strong>Search</strong> option, and if necesary, post your question."
|
44 |
+
msgstr "FancyBox hakkında problem ve sorularınız varsa bu linkten başlayın: <a href=\"http://fancy.klade.lv/howto\">How-To</a> & <a href=\"http://fancy.klade.lv/faq\">FAQ</a>.<br />Eğer aradığınızı bulamadıysanız: <a href=\"http://groups.google.com/group/fancybox\">the FancyBox Google Group</a>,'na gidin ve <strong>Arama</strong> kutucuğunu kullanın. Bulamadıysanız bir başlık açın."
|
45 |
+
|
46 |
+
#: admin.php:76
|
47 |
+
msgid "If you are having trouble with this plugin try to localize the problem (switch your theme and/or deactivate plugins until you find the source of the problem). You can also try the Troubleshooting settings at the bottom of this page if necesary. If you still can not get the plugin to work, <a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">leave a comment here</a> explaining the problem."
|
48 |
+
msgstr "Eğer bir problem yaşarsanız temanızı kontrol ediniz ve sorunu çözene kadar eklentiyi kapatınız. Sorun Giderme kılavuzundan gerektiği taktirde yardım alabilirsiniz. eğer hala bir çözüm bulamadıysanız, <a href=\"http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/\">buraya</a> sorununuz hakkında yorum bırakabilirsiniz."
|
49 |
+
|
50 |
+
#: admin.php:81
|
51 |
+
msgid "Appearance Settings <span style=\"color:green\">(basic)</span>"
|
52 |
+
msgstr "Görünen Ayarlar <span style=\"color:green\">(basic)</span>"
|
53 |
+
|
54 |
+
#: admin.php:83
|
55 |
+
msgid "These are the main settings, which let you tweak color, borders and animation."
|
56 |
+
msgstr "Buradaki ana ayarlar ile renk, çerçeve ve animasyonu seçebilirsiniz."
|
57 |
+
|
58 |
+
#: admin.php:85
|
59 |
+
msgid "<strong>Note:</strong> Having a cache plugin may prevent changes from taking effect immidiately, so clear cache after saving changes here or deactivate cache until you finish editing these options."
|
60 |
+
msgstr "<strong>Not:</strong> Eğer bir önbellek (Cache) eklentisi kullanıyorsanız ayarlamaları yaptıktan sonra değişiklikleri görmek için önbelleği temizleyin. Daha iyi bir yol ise önbellek eklentisini ayarlarınız bitene kadar kapalı konumda tutun."
|
61 |
+
|
62 |
+
#: admin.php:95
|
63 |
+
msgid "Border Color"
|
64 |
+
msgstr "Çerçeve Rengi"
|
65 |
+
|
66 |
+
#: admin.php:101
|
67 |
+
msgid "HTML color of the border (default: #BBBBBB)"
|
68 |
+
msgstr "Çerçeve için HTML rengi (default: #BBBBBB)"
|
69 |
+
|
70 |
+
#: admin.php:109
|
71 |
+
msgid "Close Button Position"
|
72 |
+
msgstr "Çıkış Butonu Pozisyonu"
|
73 |
+
|
74 |
+
#: admin.php:115
|
75 |
+
msgid "Left"
|
76 |
+
msgstr "Sol"
|
77 |
+
|
78 |
+
#: admin.php:120
|
79 |
+
msgid "Right (default)"
|
80 |
+
msgstr "Sağ"
|
81 |
+
|
82 |
+
#: admin.php:125
|
83 |
+
msgid "Bottom"
|
84 |
+
msgstr "Alt"
|
85 |
+
|
86 |
+
#: admin.php:130
|
87 |
+
msgid "Top (default)"
|
88 |
+
msgstr "Üst"
|
89 |
+
|
90 |
+
#: admin.php:138
|
91 |
+
msgid "Padding"
|
92 |
+
msgstr "Dolgu"
|
93 |
+
|
94 |
+
#: admin.php:144
|
95 |
+
msgid "HTML color of the padding (default: #FFFFFF)"
|
96 |
+
msgstr "Dolgunun HTML rengi (default: #FFFFFF)"
|
97 |
+
|
98 |
+
#: admin.php:149
|
99 |
+
msgid "Padding size in pixels (default: 10)"
|
100 |
+
msgstr "Pixel cinsinden dolgu (default: 10)"
|
101 |
+
|
102 |
+
#: admin.php:152
|
103 |
+
msgid "(Set <strong>Border Color</strong> to \"#000000\" and <strong>Padding Size</strong> to \"0\" for the classic FancyBox look)"
|
104 |
+
msgstr "(Klasik görünüm için<strong>Border Color</strong>'ni \"#000000\"'a ayarla ve <strong>Dolgu Boyutunu</strong> \"0\"a ayarla )"
|
105 |
+
|
106 |
+
#: admin.php:159
|
107 |
+
msgid "Overlay Options"
|
108 |
+
msgstr "Kaplama Ayarları"
|
109 |
+
|
110 |
+
#: admin.php:165
|
111 |
+
msgid "Add overlay (default: on)"
|
112 |
+
msgstr "Kaplama Ekle (default: on)"
|
113 |
+
|
114 |
+
#: admin.php:170
|
115 |
+
msgid "HTML color of the overlay (default: #666666)"
|
116 |
+
msgstr "Kaplama için ana HTML rengi (default: #666666)"
|
117 |
+
|
118 |
+
#: admin.php:183
|
119 |
+
msgid "Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)"
|
120 |
+
msgstr "Saydamlık ayarları. \"0\" saydam, \"1\" mat şekildedir. (default: 0.3)"
|
121 |
+
|
122 |
+
#: admin.php:191
|
123 |
+
msgid "Zoom Options"
|
124 |
+
msgstr "Yakınlaştırma Ayarları"
|
125 |
+
|
126 |
+
#: admin.php:197
|
127 |
+
msgid "Change content transparency during zoom animations (default: on)"
|
128 |
+
msgstr "Animasyonel yakınlaştırma sırasında resmin bulunduğu sayfayı saydamlaştır. (default: on)"
|
129 |
+
|
130 |
+
#: admin.php:209
|
131 |
+
msgid "Speed in miliseconds of the zooming-in animation (default: 500)"
|
132 |
+
msgstr "Milisaniye cinsinden yakınlaştırma hızı. (default: 500)"
|
133 |
+
|
134 |
+
#: admin.php:221
|
135 |
+
msgid "Speed in miliseconds of the zooming-out animation (default: 500)"
|
136 |
+
msgstr "Milisaniye cinsinden uzaklaştırma hızı. (default: 500)"
|
137 |
+
|
138 |
+
#: admin.php:229
|
139 |
+
msgid "Easing"
|
140 |
+
msgstr "Sönüklük"
|
141 |
+
|
142 |
+
#: admin.php:235
|
143 |
+
msgid "Activate easing (default: off)"
|
144 |
+
msgstr "Sönüklüğü Aktifleştir (Default: off)"
|
145 |
+
|
146 |
+
#: admin.php:248
|
147 |
+
msgid "Easing method when opening FancyBox. (default: easeOutBack)"
|
148 |
+
msgstr "Fancybox'u sönükleştirerek aç. (default: easeinback)"
|
149 |
+
|
150 |
+
#: admin.php:261
|
151 |
+
msgid "Easing method when closing FancyBox. (default: easeInBack)"
|
152 |
+
msgstr "Fancybox'u sönükleştirerek kapat. (default: easeinback)"
|
153 |
+
|
154 |
+
#: admin.php:274
|
155 |
+
msgid "Easing method when navigating through gallery items. (default: easeInOutQuart)"
|
156 |
+
msgstr "Galeri parçalarını gezdirirken sönükleştir . (default: easeInOutQuart)"
|
157 |
+
|
158 |
+
#: admin.php:277
|
159 |
+
msgid "(There are 30 different easing methods, the first ones are the most boring. You can test them <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html\" target=\"_blank\">here</a>)"
|
160 |
+
msgstr "(Burada 30 adet geçiş modu bulunmaktadır. İlk seçtiğiniz kötü olabilir. <a href=\"http://commadot.com/jquery/easing.php\" target=\"_blank\">here</a> or <a href=\"http://hosted.zeh.com.br/mctween/animationtypes.html\" target=\"_blank\">Buradan</a>) diğerlerini de kontrol edebilirsiniz."
|
161 |
+
|
162 |
+
#: admin.php:286
|
163 |
+
msgid "Show/Hide Advanced Settings"
|
164 |
+
msgstr "İnce Ayarları Göster/Sakla"
|
165 |
+
|
166 |
+
#: admin.php:287
|
167 |
+
msgid "Show/Hide Troubleshooting & Uninstall Settings"
|
168 |
+
msgstr "Troubleshooting & Eklentiyi Kaldırma ayarları Göster/Sakla"
|
169 |
+
|
170 |
+
#: admin.php:292
|
171 |
+
msgid "Behavior Settings <span style=\"color:orange\">(medium)</span>"
|
172 |
+
msgstr "Hareket Ayarları <span style=\"color:orange\">(medium)</span>"
|
173 |
+
|
174 |
+
#: admin.php:294
|
175 |
+
msgid "The following settings should be left on default unless you know what you are doing."
|
176 |
+
msgstr "Ne yaptığınızı bilmiyorsanız düzünlemekten vazgeçin ve ayarları ilk konumuna getirin. (default değerlerine)"
|
177 |
+
|
178 |
+
#: admin.php:300
|
179 |
+
msgid "Auto Resize to Fit"
|
180 |
+
msgstr "Otomatik Boyutlandırma"
|
181 |
+
|
182 |
+
#: admin.php:306
|
183 |
+
msgid "Scale images to fit in viewport (default: on)"
|
184 |
+
msgstr "Görüntülemeyi ölçeklendir. (default: on)"
|
185 |
+
|
186 |
+
#: admin.php:314
|
187 |
+
msgid "Center on Scroll"
|
188 |
+
msgstr "Kaydırırken Ortada"
|
189 |
+
|
190 |
+
#: admin.php:320
|
191 |
+
msgid "Keep image in the center of the browser window when scrolling (default: on)"
|
192 |
+
msgstr "Pencere kaydırıldığında resim de sayfayla beraber kaysın. (default: on)"
|
193 |
+
|
194 |
+
#: admin.php:328
|
195 |
+
msgid "Close on Click"
|
196 |
+
msgstr "Tıklandığında Çıkış"
|
197 |
+
|
198 |
+
#: admin.php:334
|
199 |
+
msgid "Close FancyBox by clicking on the image (default: off)"
|
200 |
+
msgstr "Resime tıklandığında resim penceresini kapat. (default: off)"
|
201 |
+
|
202 |
+
#: admin.php:337
|
203 |
+
msgid "(You may want to leave this off if you display iframed or inline content and it containts clickable elements - for example: play buttons for movies, links to other pages)"
|
204 |
+
msgstr "(Eğer sayfayı iframe içerisinde göstermek istemiyorsanız burayı terkedebilirsiniz. Ör:/ videolar için oynatma butonu ve diğer sayfalara linkler koymak gibi.)"
|
205 |
+
|
206 |
+
#: admin.php:347
|
207 |
+
msgid "Gallery Settings <span style=\"color:red\">(advanced)</span>"
|
208 |
+
msgstr "Galeri Ayarları <span style=\"color:red\">(advanced)</span>"
|
209 |
+
|
210 |
+
#: admin.php:349
|
211 |
+
msgid "Here you can choose if you want the plugin to group all images into a gallery, or make a gallery for each post. You can also define you own jQuery expression if you like."
|
212 |
+
msgstr "İsterseniz buradan bütün resimleri galerinin içine koyabilir ve yazınıza galeri oluşturabilirsiniz. Ayrıca kendi jQuery ifadelerini kullanabilirsiniz."
|
213 |
+
|
214 |
+
#: admin.php:355
|
215 |
+
msgid "Frame Size"
|
216 |
+
msgstr "Açılır Pencere Boyutu"
|
217 |
+
|
218 |
+
#: admin.php:361
|
219 |
+
msgid "Width in pixels of FancyBox when showing iframe content (default: 640)"
|
220 |
+
msgstr "Açılır pencere açıldığında Fancybox'un Pixel cinsinden genişliği. (default: 640)"
|
221 |
+
|
222 |
+
#: admin.php:366
|
223 |
+
msgid "Height in pixels of FancyBox when showing iframe content (default: 500)"
|
224 |
+
msgstr "Açılır pencere açıldığında Fancybox'un Pixel cinsinden yüksekliği. (default: 500)"
|
225 |
+
|
226 |
+
#: admin.php:374
|
227 |
+
msgid "Gallery Type"
|
228 |
+
msgstr "Galeri Tipi"
|
229 |
+
|
230 |
+
#: admin.php:380
|
231 |
+
msgid "Make a gallery for all images on the page (default)"
|
232 |
+
msgstr "Sayfadaki tüm resimlerden bir galeri oluştur. (default)"
|
233 |
+
|
234 |
+
#: admin.php:385
|
235 |
+
msgid "Do not group images in gallery automatically (use this if you want to make galleries manually with the <code>REL</code> attribute)"
|
236 |
+
msgstr "Resimleri otomatik olarak galeriye ekleme. (Bunu resimleri kendiniz galeriye eklemek isterseniz kullanın. Resimleri<code>REL</code> kodu ile galeriye ekleyebilirsiniz.)"
|
237 |
+
|
238 |
+
#: admin.php:390
|
239 |
+
msgid "Make a gallery for each post (will only work if your theme uses <code>class=\"post\"</code> on each post, which is common in WordPress"
|
240 |
+
msgstr "Her yazıda resim galerisi oluştur. (Sadece temanız her yazıda<code>class=\"post\"</code> kodunu kullanıyorsa çalışır, Wordpress'de yaygın olarak kullanılır.)"
|
241 |
+
|
242 |
+
#: admin.php:395
|
243 |
+
msgid "Use a custom expression to apply FancyBox"
|
244 |
+
msgstr "Kendi ifadelerinizi Fancybox'a ekleyin."
|
245 |
+
|
246 |
+
#: admin.php:404
|
247 |
+
msgid "Custom expression guidelines:"
|
248 |
+
msgstr "Özelleştirilmiş İfadeler Kılavuzu:"
|
249 |
+
|
250 |
+
#: admin.php:406
|
251 |
+
msgid "The custom expression has to apply <code>class=\"fancybox\"</code> to the links where you want to use FancyBox."
|
252 |
+
msgstr "Kendi ifadelerinizi kullanmak için FancyBox'u kullandığınız yerdeki linke <code>class=\"fancybox\"</code> kodunu yerleştiriniz."
|
253 |
+
|
254 |
+
#: admin.php:408
|
255 |
+
msgid "The jQuery <code>addClass()</code> function is a good way to add the class to the desired links conserving any existing class."
|
256 |
+
msgstr "jQuery <code>addClass()</code> fonksiyonu linklere falan şekil vermek için iyi bir yoldur."
|
257 |
+
|
258 |
+
#: admin.php:410
|
259 |
+
msgid "You can use <code>getTitle()</code> in your expression to copy the title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so that FancyBox can show captions."
|
260 |
+
msgstr "You can use <code>getTitle()</code> in your expression to copy the title attribute from the <code>IMG</code> tag to the <code>A</code> tag, böylece başlıkları gösterebilirsiniz."
|
261 |
+
|
262 |
+
#: admin.php:412
|
263 |
+
msgid "Do not call the <code>fancybox()</code> function here, the plugin does this for you."
|
264 |
+
msgstr "<code>fancybox()</code> fonksiyonunu burada çalıştırma, eklenti sizin için."
|
265 |
+
|
266 |
+
#: admin.php:428
|
267 |
+
msgid "Troubleshooting Settings"
|
268 |
+
msgstr "Sorun Giderme Ayarları"
|
269 |
+
|
270 |
+
#: admin.php:430
|
271 |
+
msgid "Settings in this section should only be changed if you are having problems with the plugin!"
|
272 |
+
msgstr "Bu seçenek sadece eklentide bir problem yaşanıyorsa değiştirilebilir."
|
273 |
+
|
274 |
+
#: admin.php:432
|
275 |
+
msgid "If the plugin doesn't seem to work, first you should check for other plugins that may be conflicting with this one, especially other Lightbox, Slimbox, etc. Make sure all your plugins and WordPress itself are up to date (this plugin has only been tested in WordPress 2.7 and above)."
|
276 |
+
msgstr "Eğer bu eklenti çalışmıyor gibi görünüyorsa diğer eklentileri kontrol edin ve tüm eklentilerin güncel olduğundan emin olun. ( Bu eklenti sadece Wordpress 2.7 ve daha yüksek sürümlerinde test edilmiştir.)"
|
277 |
+
|
278 |
+
#: admin.php:434
|
279 |
+
msgid "Change them one at a time and test to see if they help. Remember that having a cache plugin may prevent changes from taking effect immidiately, so clear cache after saving changes here or deactivate cache until you finish editing these options."
|
280 |
+
msgstr "Bir defalığına test etmeniz size yardımcı olabilir. Test işlemini yapmadan önce ön bellek (cache) kullanıyorsanız önbelleği temizleyiniz ve sonra test işlemi yapınız. Önbelekleme sizin yaptığınız değişiklikleri görmenizi engelleyecektir. "
|
281 |
+
|
282 |
+
#: admin.php:440
|
283 |
+
msgid "Do not call jQuery"
|
284 |
+
msgstr "jQuery kullanma"
|
285 |
+
|
286 |
+
#: admin.php:446
|
287 |
+
msgid "Skip jQuery call. Use this only if jQuery is being loaded twice (default: off)"
|
288 |
+
msgstr "JQuery sorgusunu atla. Eğer JQuery iki defa çalışıyorsa bunu kullanın."
|
289 |
+
|
290 |
+
#: admin.php:454
|
291 |
+
msgid "jQuery \"noConflict\" Mode"
|
292 |
+
msgstr "jQuery \"noConflict\" Modu"
|
293 |
+
|
294 |
+
#: admin.php:460
|
295 |
+
msgid "Use jQuery noConflict mode (default: on)"
|
296 |
+
msgstr "jQuery noConflict modu kullan (default: on)"
|
297 |
+
|
298 |
+
#: admin.php:463
|
299 |
+
msgid "(Turning this off may cause problems if there are plugins activated that use other js framework like mootools, prototype, scriptaculous, etc.)"
|
300 |
+
msgstr "(Eğer eklenti aktifken diğer Java Scriptlerle ilgili problem yaşarsa (mootols, prototype gibi) bunu kapalı konuma getirin. )"
|
301 |
+
|
302 |
+
#: admin.php:472
|
303 |
+
msgid "Uninstall"
|
304 |
+
msgstr "Eklentiyi Kaldır"
|
305 |
+
|
306 |
+
#: admin.php:474
|
307 |
+
msgid "Like many other plugins, FancyBox for WordPress stores its settings on your WordPress' options database table. Actually, these settings are not using more than a couple of kilobytes of space, but if you want to completely uninstall this plugin, check the option below, then save changes, and <strong>when you deactivate the plugin</strong>, all its settings will be removed from the database."
|
308 |
+
msgstr "Diğer eklentiler gibi Fancybox da veritabanında Wordpress ayarları tablosunu kullanarak çalışır. Çok fazla boyut kullanmamasına rağmen kaldırmak isterseniz öncelikle ayarlardan eklentiyi kapatınız. Böylece ayarlarınız veritababnından silinecektir. Daha sonra kaldırma işlemini tamamlayabilirsiniz."
|
309 |
+
|
310 |
+
#: admin.php:480
|
311 |
+
msgid "Remove settings"
|
312 |
+
msgstr "Ayarları Sil"
|
313 |
+
|
314 |
+
#: admin.php:486
|
315 |
+
msgid "Remove Settings when plugin is deactivated from the \"Manage Plugins\" page. (default: off)"
|
316 |
+
msgstr "Eklenti etkisizleştirildiğinde ayarları temizle."
|
317 |
+
|
318 |
+
#: admin.php:503
|
319 |
+
msgid "Save Changes"
|
320 |
+
msgstr "Değişiklikleri Kaydet"
|
321 |
+
|
322 |
+
#: fancybox.php:437
|
323 |
+
msgid "Settings"
|
324 |
+
msgstr "Ayarlar"
|
325 |
+
|
lib/admin-head.php
CHANGED
@@ -1,17 +1,22 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
|
|
|
|
|
4 |
|
5 |
// Get array with all the options
|
6 |
-
$settings =
|
|
|
|
|
|
|
7 |
|
8 |
// Make selects data
|
9 |
-
$
|
10 |
-
$overlayArray = array(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1);
|
11 |
-
$msArray = array(0,25,50,75,100,200,300,400,500,600,700,800,900,1000,1250,1500,1750,2000);
|
12 |
-
$easingArray = array('easeInQuad','easeOutQuad','easeInOutQuad','easeInCubic','easeOutCubic','easeInOutCubic','easeInQuart','easeOutQuart',
|
13 |
-
'easeInOutQuart','easeInQuint','easeOutQuint','easeInOutQuint','easeInSine','easeOutSine','easeInOutSine','easeInExpo',
|
14 |
-
'easeOutExpo','easeInOutExpo','easeInCirc','easeOutCirc','easeInOutCirc','easeInElastic','easeOutElastic','easeInOutElastic',
|
15 |
-
'easeInBack','easeOutBack','easeInOutBack','easeInBounce','easeOutBounce','easeInOutBounce');
|
16 |
|
17 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
if ( isset($_REQUEST['update']) && $_REQUEST['update'] ) echo '<div id="message" class="updated fade"><p><strong>FancyBox for WordPress settings have been saved.</strong></p></div>';
|
4 |
+
if ( isset($_REQUEST['reset']) && $_REQUEST['reset'] ) echo '<div id="message" class="updated fade"><p><strong>FancyBox for WordPress settings have been reset.</strong></p></div>';
|
5 |
+
|
6 |
|
7 |
// Get array with all the options
|
8 |
+
$settings = get_option( 'mfbfw' );
|
9 |
+
|
10 |
+
// Get Version
|
11 |
+
$version = get_option('mfbfw_active_version');
|
12 |
|
13 |
// Make selects data
|
14 |
+
$transitionTypeArray = array( 'fade', 'elastic', 'none' );
|
15 |
+
$overlayArray = array( 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1 );
|
16 |
+
$msArray = array( 0, 25, 50, 75, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1250, 1500, 1750, 2000 );
|
17 |
+
$easingArray = array( 'easeInQuad', 'easeOutQuad', 'easeInOutQuad', 'easeInCubic', 'easeOutCubic', 'easeInOutCubic', 'easeInQuart', 'easeOutQuart',
|
18 |
+
'easeInOutQuart', 'easeInQuint', 'easeOutQuint', 'easeInOutQuint', 'easeInSine', 'easeOutSine', 'easeInOutSine', 'easeInExpo',
|
19 |
+
'easeOutExpo', 'easeInOutExpo', 'easeInCirc', 'easeOutCirc', 'easeInOutCirc', 'easeInElastic', 'easeOutElastic', 'easeInOutElastic',
|
20 |
+
'easeInBack', 'easeOutBack', 'easeInOutBack', 'easeInBounce', 'easeOutBounce', 'easeInOutBounce' );
|
21 |
|
22 |
?>
|
lib/admin-tab-animations.php
CHANGED
@@ -10,13 +10,13 @@
|
|
10 |
<td>
|
11 |
<fieldset>
|
12 |
|
13 |
-
<label for="
|
14 |
-
<input type="checkbox" name="
|
15 |
<?php _e('Change content transparency during zoom animations (default: on)', 'mfbfw'); ?>
|
16 |
</label><br /><br />
|
17 |
|
18 |
-
<label for="
|
19 |
-
<select name="
|
20 |
<?php
|
21 |
foreach($msArray as $key=> $ms) {
|
22 |
if($settings['zoomSpeedIn'] != $ms) $selected = '';
|
@@ -27,8 +27,8 @@
|
|
27 |
<?php _e('Speed in miliseconds of the zooming-in animation (default: 500)', 'mfbfw'); ?>
|
28 |
</label><br /><br />
|
29 |
|
30 |
-
<label for="
|
31 |
-
<select name="
|
32 |
<?php
|
33 |
foreach($msArray as $key=> $ms) {
|
34 |
if($settings['zoomSpeedOut'] != $ms) $selected = '';
|
@@ -39,8 +39,8 @@
|
|
39 |
<?php _e('Speed in miliseconds of the zooming-out animation (default: 500)', 'mfbfw'); ?>
|
40 |
</label><br /><br />
|
41 |
|
42 |
-
<label for="
|
43 |
-
<select name="
|
44 |
<?php
|
45 |
foreach($msArray as $key=> $ms) {
|
46 |
if($settings['zoomSpeedChange'] != $ms) $selected = '';
|
@@ -54,57 +54,102 @@
|
|
54 |
</fieldset>
|
55 |
</td>
|
56 |
</tr>
|
57 |
-
|
58 |
<tr valign="top">
|
59 |
-
<th scope="row"><?php _e('
|
60 |
<td>
|
61 |
<fieldset>
|
62 |
|
63 |
-
<label for="
|
64 |
-
<
|
65 |
-
<?php _e('Activate easing (default: off)', 'mfbfw'); ?>
|
66 |
-
</label><br /><br />
|
67 |
-
|
68 |
-
<label for="mfbfw_easingIn">
|
69 |
-
<select name="mfbfw_easingIn" id="mfbfw_easingIn">
|
70 |
<?php
|
71 |
-
foreach($
|
72 |
-
if($settings['
|
73 |
else $selected = ' selected';
|
74 |
-
echo "<option value='$
|
75 |
}
|
76 |
?>
|
77 |
</select>
|
78 |
-
<?php _e('
|
79 |
</label><br /><br />
|
80 |
|
81 |
-
<label for="
|
82 |
-
<select name="
|
83 |
<?php
|
84 |
-
foreach($
|
85 |
-
if($settings['
|
86 |
else $selected = ' selected';
|
87 |
-
echo "<option value='$
|
88 |
}
|
89 |
?>
|
90 |
</select>
|
91 |
-
<?php _e('
|
92 |
</label><br /><br />
|
93 |
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
<?php
|
|
|
105 |
</label><br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
|
107 |
-
|
|
|
|
|
108 |
|
109 |
</fieldset>
|
110 |
</td>
|
10 |
<td>
|
11 |
<fieldset>
|
12 |
|
13 |
+
<label for="zoomOpacity">
|
14 |
+
<input type="checkbox" name="mfbfw[zoomOpacity]" id="zoomOpacity"<?php if ( isset($settings['zoomOpacity']) && $settings['zoomOpacity'] ) echo ' checked="yes"';?> />
|
15 |
<?php _e('Change content transparency during zoom animations (default: on)', 'mfbfw'); ?>
|
16 |
</label><br /><br />
|
17 |
|
18 |
+
<label for="zoomSpeedIn">
|
19 |
+
<select name="mfbfw[zoomSpeedIn]" id="zoomSpeedIn">
|
20 |
<?php
|
21 |
foreach($msArray as $key=> $ms) {
|
22 |
if($settings['zoomSpeedIn'] != $ms) $selected = '';
|
27 |
<?php _e('Speed in miliseconds of the zooming-in animation (default: 500)', 'mfbfw'); ?>
|
28 |
</label><br /><br />
|
29 |
|
30 |
+
<label for="zoomSpeedOut">
|
31 |
+
<select name="mfbfw[zoomSpeedOut]" id="zoomSpeedOut">
|
32 |
<?php
|
33 |
foreach($msArray as $key=> $ms) {
|
34 |
if($settings['zoomSpeedOut'] != $ms) $selected = '';
|
39 |
<?php _e('Speed in miliseconds of the zooming-out animation (default: 500)', 'mfbfw'); ?>
|
40 |
</label><br /><br />
|
41 |
|
42 |
+
<label for="zoomSpeedChange">
|
43 |
+
<select name="mfbfw[zoomSpeedChange]" id="zoomSpeedChange">
|
44 |
<?php
|
45 |
foreach($msArray as $key=> $ms) {
|
46 |
if($settings['zoomSpeedChange'] != $ms) $selected = '';
|
54 |
</fieldset>
|
55 |
</td>
|
56 |
</tr>
|
57 |
+
|
58 |
<tr valign="top">
|
59 |
+
<th scope="row"><?php _e('Transition Type', 'mfbfw'); ?></th>
|
60 |
<td>
|
61 |
<fieldset>
|
62 |
|
63 |
+
<label for="transitionIn">
|
64 |
+
<select name="mfbfw[transitionIn]" id="transitionIn">
|
|
|
|
|
|
|
|
|
|
|
65 |
<?php
|
66 |
+
foreach($transitionTypeArray as $key=> $transitionIn) {
|
67 |
+
if($settings['transitionIn'] != $transitionIn) $selected = '';
|
68 |
else $selected = ' selected';
|
69 |
+
echo "<option value='$transitionIn'$selected>$transitionIn</option>\n";
|
70 |
}
|
71 |
?>
|
72 |
</select>
|
73 |
+
<?php _e('Transition type when opening FancyBox. (default: fade)', 'mfbfw'); ?>
|
74 |
</label><br /><br />
|
75 |
|
76 |
+
<label for="transitionOut">
|
77 |
+
<select name="mfbfw[transitionOut]" id="transitionOut">
|
78 |
<?php
|
79 |
+
foreach($transitionTypeArray as $key=> $transitionOut) {
|
80 |
+
if($settings['transitionOut'] != $transitionOut) $selected = '';
|
81 |
else $selected = ' selected';
|
82 |
+
echo "<option value='$transitionOut'$selected>$transitionOut</option>\n";
|
83 |
}
|
84 |
?>
|
85 |
</select>
|
86 |
+
<?php _e('Transition type when closing FancyBox. (default: fade)', 'mfbfw'); ?>
|
87 |
</label><br /><br />
|
88 |
|
89 |
+
</fieldset>
|
90 |
+
</td>
|
91 |
+
</tr>
|
92 |
+
|
93 |
+
<tr valign="top">
|
94 |
+
<th scope="row"><?php _e('Easing', 'mfbfw'); ?></th>
|
95 |
+
<td>
|
96 |
+
<fieldset>
|
97 |
+
|
98 |
+
<label for="easing">
|
99 |
+
<input type="checkbox" name="mfbfw[easing]" id="easing"<?php if ( isset($settings['easing']) && $settings['easing'] ) echo ' checked="yes"';?> />
|
100 |
+
<?php _e('Activate easing (default: off)', 'mfbfw'); ?>
|
101 |
</label><br />
|
102 |
+
|
103 |
+
<small><em><?php _e('(Will load one additional javascript file, 8KB)', 'mfbfw'); ?></em></small><br /><br />
|
104 |
+
|
105 |
+
<div id="easingBlock">
|
106 |
+
|
107 |
+
<label for="easingIn">
|
108 |
+
<select name="mfbfw[easingIn]" id="easingIn">
|
109 |
+
<?php
|
110 |
+
foreach($easingArray as $key=> $easingIn) {
|
111 |
+
if( $settings['easingIn'] != $easingIn ) $selected = '';
|
112 |
+
else $selected = ' selected';
|
113 |
+
echo "<option value='$easingIn'$selected>$easingIn</option>\n";
|
114 |
+
}
|
115 |
+
?>
|
116 |
+
</select>
|
117 |
+
<?php _e('Easing method when opening FancyBox. (default: easeOutBack)', 'mfbfw'); ?>
|
118 |
+
</label><br />
|
119 |
+
|
120 |
+
<small><em><?php _e('(Requires opening transition type to be set to elastic)', 'mfbfw'); ?></em></small><br /><br />
|
121 |
+
|
122 |
+
<label for="easingOut">
|
123 |
+
<select name="mfbfw[easingOut]" id="easingOut">
|
124 |
+
<?php
|
125 |
+
foreach($easingArray as $key=> $easingOut) {
|
126 |
+
if( $settings['easingOut'] != $easingOut ) $selected = '';
|
127 |
+
else $selected = ' selected';
|
128 |
+
echo "<option value='$easingOut'$selected>$easingOut</option>\n";
|
129 |
+
}
|
130 |
+
?>
|
131 |
+
</select>
|
132 |
+
<?php _e('Easing method when closing FancyBox. (default: easeInBack)', 'mfbfw'); ?>
|
133 |
+
</label><br />
|
134 |
+
|
135 |
+
<small><em><?php _e('(Requires closing transition type to be set to elastic)', 'mfbfw'); ?></em></small><br /><br />
|
136 |
+
|
137 |
+
<label for="easingChange">
|
138 |
+
<select name="mfbfw[easingChange]" id="easingChange">
|
139 |
+
<?php
|
140 |
+
foreach($easingArray as $key=> $easingChange) {
|
141 |
+
if( isset($settings['easingChange']) && $settings['easingChange'] != $easingChange ) $selected = '';
|
142 |
+
else $selected = ' selected';
|
143 |
+
echo "<option value='$easingChange'$selected>$easingChange</option>\n";
|
144 |
+
}
|
145 |
+
?>
|
146 |
+
</select>
|
147 |
+
<?php _e('Easing method when navigating through gallery items. (default: easeInOutQuart)', 'mfbfw'); ?>
|
148 |
+
</label><br />
|
149 |
|
150 |
+
<small><em><?php _e('(There are 30 different easing methods, the first ones are the most boring. You can test them <a href="http://commadot.com/jquery/easing.php" target="_blank">here</a> or <a href="http://hosted.zeh.com.br/mctween/animationtypes.html" target="_blank">here</a>)', 'mfbfw'); ?></em></small><br /><br />
|
151 |
+
|
152 |
+
</div>
|
153 |
|
154 |
</fieldset>
|
155 |
</td>
|
lib/admin-tab-appearance.php
CHANGED
@@ -6,19 +6,23 @@
|
|
6 |
<tbody>
|
7 |
|
8 |
<tr valign="top">
|
9 |
-
<th scope="row"><?php _e('Border
|
10 |
<td>
|
11 |
<fieldset>
|
12 |
|
13 |
-
<label for="
|
14 |
-
<input type="checkbox" name="
|
15 |
<?php _e('Show Border (default: off)', 'mfbfw'); ?>
|
16 |
</label><br /><br />
|
|
|
|
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
|
|
22 |
|
23 |
</fieldset>
|
24 |
</td>
|
@@ -29,31 +33,35 @@
|
|
29 |
<td>
|
30 |
<fieldset>
|
31 |
|
32 |
-
<label for="
|
33 |
-
<input type="checkbox" name="
|
34 |
<?php _e('Show Close button (default: on)', 'mfbfw'); ?>
|
35 |
</label><br /><br />
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
<?php
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
<?php
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
<?php
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
<?php
|
56 |
-
|
|
|
|
|
|
|
|
|
57 |
|
58 |
</fieldset>
|
59 |
</td>
|
@@ -64,15 +72,15 @@
|
|
64 |
<td>
|
65 |
<fieldset>
|
66 |
|
67 |
-
<label for="
|
68 |
-
<input type="text" name="
|
69 |
<?php _e('HTML color of the padding (default: #FFFFFF)', 'mfbfw'); ?>
|
70 |
</label><br />
|
71 |
|
72 |
<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 />
|
73 |
|
74 |
-
<label for="
|
75 |
-
<input type="text" name="
|
76 |
<?php _e('Padding size in pixels (default: 10)', 'mfbfw'); ?>
|
77 |
</label><br /><br />
|
78 |
|
@@ -85,41 +93,89 @@
|
|
85 |
<td>
|
86 |
<fieldset>
|
87 |
|
88 |
-
<label for="
|
89 |
-
<input type="checkbox" name="
|
90 |
<?php _e('Add overlay (default: on)', 'mfbfw'); ?>
|
91 |
</label><br /><br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
|
|
|
|
|
|
|
|
97 |
|
98 |
-
<label for="
|
99 |
-
<
|
100 |
-
|
101 |
-
foreach($overlayArray as $key=> $opacity) {
|
102 |
-
if($settings['overlayOpacity'] != $opacity) $selected = '';
|
103 |
-
else $selected = ' selected';
|
104 |
-
echo "<option value='$opacity'$selected>$opacity</option>\n";
|
105 |
-
}
|
106 |
-
?>
|
107 |
-
</select>
|
108 |
-
<?php _e('Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)', 'mfbfw'); ?>
|
109 |
</label><br /><br />
|
110 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
</fieldset>
|
112 |
</td>
|
113 |
</tr>
|
114 |
|
115 |
<tr valign="top">
|
116 |
-
<th scope="row"><?php _e('
|
117 |
<td>
|
118 |
<fieldset>
|
119 |
|
120 |
-
<label for="
|
121 |
-
<input type="checkbox" name="
|
122 |
-
<?php _e('Show the
|
123 |
</label><br /><br />
|
124 |
|
125 |
</fieldset>
|
6 |
<tbody>
|
7 |
|
8 |
<tr valign="top">
|
9 |
+
<th scope="row"><?php _e('Border', 'mfbfw'); ?></th>
|
10 |
<td>
|
11 |
<fieldset>
|
12 |
|
13 |
+
<label for="border">
|
14 |
+
<input type="checkbox" name="mfbfw[border]" id="border"<?php if ( isset($settings['border']) && $settings['border'] ) echo ' checked="yes"';?> />
|
15 |
<?php _e('Show Border (default: off)', 'mfbfw'); ?>
|
16 |
</label><br /><br />
|
17 |
+
|
18 |
+
<div id="borderColorBlock">
|
19 |
|
20 |
+
<label for="borderColor">
|
21 |
+
<input type="text" name="mfbfw[borderColor]" id="borderColor" value="<?php echo $settings['borderColor'] ?>" size="7" maxlength="7" />
|
22 |
+
<?php _e('HTML color of the border (default: #BBBBBB)', 'mfbfw'); ?>
|
23 |
+
</label><br /><br />
|
24 |
+
|
25 |
+
</div>
|
26 |
|
27 |
</fieldset>
|
28 |
</td>
|
33 |
<td>
|
34 |
<fieldset>
|
35 |
|
36 |
+
<label for="showCloseButton">
|
37 |
+
<input type="checkbox" name="mfbfw[showCloseButton]" id="showCloseButton"<?php if ( isset($settings['showCloseButton']) && $settings['showCloseButton'] ) echo ' checked="yes"';?> />
|
38 |
<?php _e('Show Close button (default: on)', 'mfbfw'); ?>
|
39 |
</label><br /><br />
|
40 |
+
|
41 |
+
<div id="closeButtonBlock">
|
42 |
+
|
43 |
+
<?php _e('Close button position:', 'mfbfw'); ?><br />
|
44 |
+
<input name="mfbfw[closeHorPos]" type="radio" value="left" id="closePosLeft"<?php if ( isset($settings['closeHorPos']) && $settings['closeHorPos'] == 'left' ) echo ' checked="yes"';?> />
|
45 |
+
<label for="closePosLeft" style="padding-right:15px">
|
46 |
+
<?php _e('Left', 'mfbfw'); ?>
|
47 |
+
</label>
|
48 |
+
|
49 |
+
<input name="mfbfw[closeHorPos]" type="radio" value="right" id="closePosRight"<?php if ( isset($settings['closeHorPos']) && $settings['closeHorPos'] == 'right' ) echo ' checked="yes"';?> />
|
50 |
+
<label for="closePosRight">
|
51 |
+
<?php _e('Right (default)', 'mfbfw'); ?>
|
52 |
+
</label><br />
|
53 |
+
|
54 |
+
<input name="mfbfw[closeVerPos]" type="radio" value="bottom" id="closePosBottom"<?php if ( isset($settings['closeVerPos']) && $settings['closeVerPos'] == 'bottom' ) echo ' checked="yes"';?> />
|
55 |
+
<label for="closePosBottom" style="padding-right:15px">
|
56 |
+
<?php _e('Bottom', 'mfbfw'); ?>
|
57 |
+
</label>
|
58 |
+
|
59 |
+
<input name="mfbfw[closeVerPos]" type="radio" value="top" id="closePosTop"<?php if ( isset($settings['closeVerPos']) && $settings['closeVerPos'] == 'top' ) echo ' checked="yes"';?> />
|
60 |
+
<label for="closePosTop">
|
61 |
+
<?php _e('Top (default)', 'mfbfw'); ?>
|
62 |
+
</label><br /><br />
|
63 |
+
|
64 |
+
</div>
|
65 |
|
66 |
</fieldset>
|
67 |
</td>
|
72 |
<td>
|
73 |
<fieldset>
|
74 |
|
75 |
+
<label for="paddingColor">
|
76 |
+
<input type="text" name="mfbfw[paddingColor]" id="paddingColor" value="<?php echo $settings['paddingColor'] ?>" size="7" maxlength="7" />
|
77 |
<?php _e('HTML color of the padding (default: #FFFFFF)', 'mfbfw'); ?>
|
78 |
</label><br />
|
79 |
|
80 |
<small><em><?php _e('(This should be left on #FFFFFF (white) if you want to display anything other than images, like inline or framed content)', 'mfbfw'); ?></em></small><br /><br />
|
81 |
|
82 |
+
<label for="padding">
|
83 |
+
<input type="text" name="mfbfw[padding]" id="padding" value="<?php echo $settings['padding']; ?>" size="7" maxlength="7" />
|
84 |
<?php _e('Padding size in pixels (default: 10)', 'mfbfw'); ?>
|
85 |
</label><br /><br />
|
86 |
|
93 |
<td>
|
94 |
<fieldset>
|
95 |
|
96 |
+
<label for="overlayShow">
|
97 |
+
<input type="checkbox" name="mfbfw[overlayShow]" id="overlayShow"<?php if ( isset($settings['overlayShow']) && $settings['overlayShow'] ) echo ' checked="yes"';?> />
|
98 |
<?php _e('Add overlay (default: on)', 'mfbfw'); ?>
|
99 |
</label><br /><br />
|
100 |
+
|
101 |
+
<div id="overlayBlock">
|
102 |
+
|
103 |
+
<label for="overlayColor">
|
104 |
+
<input type="text" name="mfbfw[overlayColor]" id="overlayColor" value="<?php echo $settings['overlayColor']; ?>" size="7" maxlength="7" />
|
105 |
+
<?php _e('HTML color of the overlay (default: #666666)', 'mfbfw'); ?>
|
106 |
+
</label><br /><br />
|
107 |
+
|
108 |
+
<label for="overlayOpacity">
|
109 |
+
<select name="mfbfw[overlayOpacity]" id="overlayOpacity">
|
110 |
+
<?php
|
111 |
+
foreach($overlayArray as $key=> $opacity) {
|
112 |
+
if($settings['overlayOpacity'] != $opacity) $selected = '';
|
113 |
+
else $selected = ' selected';
|
114 |
+
echo "<option value='$opacity'$selected>$opacity</option>\n";
|
115 |
+
}
|
116 |
+
?>
|
117 |
+
</select>
|
118 |
+
<?php _e('Opacity of overlay. 0 is transparent, 1 is opaque (default: 0.3)', 'mfbfw'); ?>
|
119 |
+
</label><br /><br />
|
120 |
+
|
121 |
+
</div>
|
122 |
|
123 |
+
</fieldset>
|
124 |
+
</td>
|
125 |
+
</tr>
|
126 |
+
|
127 |
+
<tr valign="top">
|
128 |
+
<th scope="row"><?php _e('Title', 'mfbfw'); ?></th>
|
129 |
+
<td>
|
130 |
+
<fieldset>
|
131 |
|
132 |
+
<label for="titleShow">
|
133 |
+
<input type="checkbox" name="mfbfw[titleShow]" id="titleShow"<?php if ( isset($settings['titleShow']) && $settings['titleShow'] ) echo ' checked="yes"';?> />
|
134 |
+
<?php _e('Show the title (default: on)', 'mfbfw'); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
</label><br /><br />
|
136 |
+
|
137 |
+
<div id="titleBlock">
|
138 |
+
|
139 |
+
<input id="titlePositionInside" class="titlePosition" type="radio" value="inside" name="mfbfw[titlePosition]"<?php if ($settings['titlePosition'] == 'inside') echo ' checked="yes"';?> />
|
140 |
+
<label for="titlePositionInside">
|
141 |
+
<?php _e('Inside (default)', 'mfbfw'); ?>
|
142 |
+
</label><br />
|
143 |
+
|
144 |
+
<input id="titlePositionOutside" class="titlePosition" type="radio" value="float" name="mfbfw[titlePosition]"<?php if ($settings['titlePosition'] == 'float') echo ' checked="yes"';?> />
|
145 |
+
<label for="titlePositionOutside">
|
146 |
+
<?php _e('Outside', 'mfbfw'); ?>
|
147 |
+
</label><br />
|
148 |
+
|
149 |
+
<input id="titlePositionOver" class="titlePosition" type="radio" value="over" name="mfbfw[titlePosition]"<?php if ($settings['titlePosition'] == 'over') echo ' checked="yes"';?> />
|
150 |
+
<label for="titlePositionOver">
|
151 |
+
<?php _e('Over', 'mfbfw'); ?>
|
152 |
+
</label><br /><br />
|
153 |
+
|
154 |
+
<div id="titleColorBlock">
|
155 |
+
|
156 |
+
<label for="titleColor">
|
157 |
+
<input type="text" name="mfbfw[titleColor]" id="titleColor" class="colorpick" value="<?php echo $settings['titleColor']; ?>" size="7" maxlength="7" />
|
158 |
+
<?php _e('Title text color (default: #333333)', 'mfbfw'); ?>
|
159 |
+
</label><br />
|
160 |
+
|
161 |
+
<small><em><?php _e('(Should contrast with the padding color set above)', 'mfbfw'); ?></em></small><br /><br />
|
162 |
+
|
163 |
+
</div>
|
164 |
+
|
165 |
+
</div>
|
166 |
+
|
167 |
</fieldset>
|
168 |
</td>
|
169 |
</tr>
|
170 |
|
171 |
<tr valign="top">
|
172 |
+
<th scope="row"><?php _e('Navigation Arrows', 'mfbfw'); ?></th>
|
173 |
<td>
|
174 |
<fieldset>
|
175 |
|
176 |
+
<label for="showNavArrows">
|
177 |
+
<input type="checkbox" name="mfbfw[showNavArrows]" id="showNavArrows"<?php if ( isset($settings['showNavArrows']) && $settings['showNavArrows'] ) echo ' checked="yes"';?> />
|
178 |
+
<?php _e('Show the navigation arrows (default: on)', 'mfbfw'); ?>
|
179 |
</label><br /><br />
|
180 |
|
181 |
</fieldset>
|
lib/admin-tab-behaviour.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<h2><?php _e('Behavior Settings <span style="color:orange">(medium)</span>', 'mfbfw'); ?></h2>
|
2 |
|
3 |
-
<p><?php _e('The following settings should be left
|
4 |
|
5 |
<table class="form-table" style="clear:none;">
|
6 |
<tbody>
|
@@ -10,8 +10,8 @@
|
|
10 |
<td>
|
11 |
<fieldset>
|
12 |
|
13 |
-
<label for="
|
14 |
-
<input type="checkbox" name="
|
15 |
<?php _e('Scale images to fit in viewport (default: on)', 'mfbfw'); ?>
|
16 |
</label><br /><br />
|
17 |
|
@@ -24,8 +24,8 @@
|
|
24 |
<td>
|
25 |
<fieldset>
|
26 |
|
27 |
-
<label for="
|
28 |
-
<input type="checkbox" name="
|
29 |
<?php _e('Keep image in the center of the browser window when scrolling (default: on)', 'mfbfw'); ?>
|
30 |
</label><br /><br />
|
31 |
|
@@ -38,8 +38,8 @@
|
|
38 |
<td>
|
39 |
<fieldset>
|
40 |
|
41 |
-
<label for="
|
42 |
-
<input type="checkbox" name="
|
43 |
<?php _e('Close FancyBox by clicking on the image (default: off)', 'mfbfw'); ?>
|
44 |
</label><br />
|
45 |
|
@@ -54,8 +54,8 @@
|
|
54 |
<td>
|
55 |
<fieldset>
|
56 |
|
57 |
-
<label for="
|
58 |
-
<input type="checkbox" name="
|
59 |
<?php _e('Close FancyBox by clicking on the overlay sorrounding it (default: on)', 'mfbfw'); ?>
|
60 |
</label><br /><br />
|
61 |
|
@@ -68,14 +68,44 @@
|
|
68 |
<td>
|
69 |
<fieldset>
|
70 |
|
71 |
-
<label for="
|
72 |
-
<input type="checkbox" name="
|
73 |
<?php _e('Close FancyBox when "Escape" key is pressed (default: on)', 'mfbfw'); ?>
|
74 |
</label><br /><br />
|
75 |
|
76 |
</fieldset>
|
77 |
</td>
|
78 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
|
80 |
</tbody>
|
81 |
</table>
|
1 |
<h2><?php _e('Behavior Settings <span style="color:orange">(medium)</span>', 'mfbfw'); ?></h2>
|
2 |
|
3 |
+
<p><?php _e('The following settings should be left alone unless you know what you are doing.', 'mfbfw'); ?></p>
|
4 |
|
5 |
<table class="form-table" style="clear:none;">
|
6 |
<tbody>
|
10 |
<td>
|
11 |
<fieldset>
|
12 |
|
13 |
+
<label for="imageScale">
|
14 |
+
<input type="checkbox" name="mfbfw[imageScale]" id="imageScale"<?php if ( isset($settings['imageScale']) && $settings['imageScale'] ) echo ' checked="yes"';?> />
|
15 |
<?php _e('Scale images to fit in viewport (default: on)', 'mfbfw'); ?>
|
16 |
</label><br /><br />
|
17 |
|
24 |
<td>
|
25 |
<fieldset>
|
26 |
|
27 |
+
<label for="centerOnScroll">
|
28 |
+
<input type="checkbox" name="mfbfw[centerOnScroll]" id="centerOnScroll"<?php if ( isset($settings['centerOnScroll']) && $settings['centerOnScroll'] ) echo ' checked="yes"';?> />
|
29 |
<?php _e('Keep image in the center of the browser window when scrolling (default: on)', 'mfbfw'); ?>
|
30 |
</label><br /><br />
|
31 |
|
38 |
<td>
|
39 |
<fieldset>
|
40 |
|
41 |
+
<label for="hideOnContentClick">
|
42 |
+
<input type="checkbox" name="mfbfw[hideOnContentClick]" id="hideOnContentClick"<?php if ( isset($settings['hideOnContentClick']) && $settings['hideOnContentClick'] ) echo ' checked="yes"';?> />
|
43 |
<?php _e('Close FancyBox by clicking on the image (default: off)', 'mfbfw'); ?>
|
44 |
</label><br />
|
45 |
|
54 |
<td>
|
55 |
<fieldset>
|
56 |
|
57 |
+
<label for="hideOnOverlayClick">
|
58 |
+
<input type="checkbox" name="mfbfw[hideOnOverlayClick]" id="hideOnOverlayClick"<?php if ( isset($settings['hideOnOverlayClick']) && $settings['hideOnOverlayClick'] ) echo ' checked="yes"';?> />
|
59 |
<?php _e('Close FancyBox by clicking on the overlay sorrounding it (default: on)', 'mfbfw'); ?>
|
60 |
</label><br /><br />
|
61 |
|
68 |
<td>
|
69 |
<fieldset>
|
70 |
|
71 |
+
<label for="enableEscapeButton">
|
72 |
+
<input type="checkbox" name="mfbfw[enableEscapeButton]" id="enableEscapeButton"<?php if ( isset($settings['enableEscapeButton']) && $settings['enableEscapeButton'] ) echo ' checked="yes"';?> />
|
73 |
<?php _e('Close FancyBox when "Escape" key is pressed (default: on)', 'mfbfw'); ?>
|
74 |
</label><br /><br />
|
75 |
|
76 |
</fieldset>
|
77 |
</td>
|
78 |
</tr>
|
79 |
+
|
80 |
+
<tr valign="top">
|
81 |
+
<th scope="row"><?php _e('Cyclic Galleries', 'mfbfw'); ?></th>
|
82 |
+
<td>
|
83 |
+
<fieldset>
|
84 |
+
|
85 |
+
<label for="cyclic">
|
86 |
+
<input type="checkbox" name="mfbfw[cyclic]" id="cyclic"<?php if ( isset($settings['cyclic']) && $settings['cyclic'] ) echo ' checked="yes"';?> />
|
87 |
+
<?php _e('This will make galleries cyclic, allowing you to keep pressing next/back (default: off)', 'mfbfw'); ?>
|
88 |
+
</label><br /><br />
|
89 |
+
|
90 |
+
</fieldset>
|
91 |
+
</td>
|
92 |
+
</tr>
|
93 |
+
|
94 |
+
<tr valign="top">
|
95 |
+
<th scope="row"><?php _e('Mouse Wheel Navigation', 'mfbfw'); ?></th>
|
96 |
+
<td>
|
97 |
+
<fieldset>
|
98 |
+
|
99 |
+
<label for="mouseWheel">
|
100 |
+
<input type="checkbox" name="mfbfw[mouseWheel]" id="mouseWheel"<?php if ( isset($settings['mouseWheel']) && $settings['mouseWheel'] ) echo ' checked="yes"';?> />
|
101 |
+
<?php _e('Lets visitors navigate galleries with the mouse wheel (default: off)', 'mfbfw'); ?>
|
102 |
+
</label><br />
|
103 |
+
|
104 |
+
<small><em><?php _e('(Will load one additional javascript file, 3KB)', 'mfbfw'); ?></em></small><br /><br />
|
105 |
+
|
106 |
+
</fieldset>
|
107 |
+
</td>
|
108 |
+
</tr>
|
109 |
|
110 |
</tbody>
|
111 |
</table>
|
lib/admin-tab-calls.php
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<h2><?php _e('Extra FancyBox Calls <span style="color:red">(advanced)</span>', 'mfbfw'); ?></h2>
|
2 |
+
|
3 |
+
<p><?php _e('Here you can add as many additional calls to fancybox as you want, with different settings. For example, if you want to use fancybox with iframes or ajax on any specific link, you can configure those calls here without affecting the settings for images.', 'mfbfw'); ?></p>
|
4 |
+
|
5 |
+
<p><?php _e('For information on the options available you can use here see <a href="http://fancybox.net/api">FancyBox\'s API & Options page</a>.', 'mfbfw'); ?></p>
|
6 |
+
|
7 |
+
<table class="form-table" style="clear:none;">
|
8 |
+
<tbody>
|
9 |
+
|
10 |
+
<tr valign="top">
|
11 |
+
<th scope="row"><?php _e('Additional FancyBox Calls', 'mfbfw'); ?></th>
|
12 |
+
<td>
|
13 |
+
<fieldset>
|
14 |
+
|
15 |
+
<label for="extraCallsEnable">
|
16 |
+
<input type="checkbox" name="mfbfw[extraCallsEnable]" id="extraCallsEnable"<?php if ( isset($settings['extraCallsEnable']) && $settings['extraCallsEnable'] ) echo ' checked="yes"';?> />
|
17 |
+
<?php _e('Additional FancyBox Calls (default: off)', 'mfbfw'); ?>
|
18 |
+
</label><br /><br />
|
19 |
+
|
20 |
+
<div id="extraCallsBlock">
|
21 |
+
|
22 |
+
<label for="extraCalls">
|
23 |
+
<textarea rows="20" cols="50" class="large-text code" name="mfbfw[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 />
|
29 |
+
'transitionIn': 'elastic',<br />
|
30 |
+
'transitionOut': 'elastic',<br />
|
31 |
+
'speedIn': 600,<br />
|
32 |
+
'speedOut': 200,<br />
|
33 |
+
'type': 'iframe'<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-galleries.php
CHANGED
@@ -10,30 +10,30 @@
|
|
10 |
<td>
|
11 |
<fieldset>
|
12 |
|
13 |
-
<input id="
|
14 |
-
<label for="
|
15 |
<?php _e('Make a gallery for all images on the page (default)', 'mfbfw'); ?>
|
16 |
</label><br />
|
17 |
|
18 |
-
<input id="
|
19 |
-
<label for="
|
20 |
<?php _e('Do not group images in gallery automatically (use this if you want to make galleries manually with the <code>REL</code> attribute)', 'mfbfw'); ?>
|
21 |
</label><br />
|
22 |
|
23 |
-
<input id="
|
24 |
-
<label for="
|
25 |
<?php _e('Make a gallery for each post (will only work if your theme uses <code>class="post"</code> on each post, which is common in WordPress', 'mfbfw'); ?>
|
26 |
</label><br />
|
27 |
|
28 |
-
<input id="
|
29 |
-
<label for="
|
30 |
<?php _e('Use a custom expression to apply FancyBox', 'mfbfw'); ?>
|
31 |
</label><br /><br />
|
32 |
|
33 |
<div id="customExpressionBlock">
|
34 |
|
35 |
-
<label for="
|
36 |
-
<textarea rows="10" cols="50" class="large-text code" name="
|
37 |
</label><br />
|
38 |
|
39 |
<small><strong><em><?php _e('Custom expression guidelines:', 'mfbfw'); ?></em></strong></small><br />
|
10 |
<td>
|
11 |
<fieldset>
|
12 |
|
13 |
+
<input id="galleryTypeAll" class="galleryType" type="radio" value="all" name="mfbfw[galleryType]"<?php if ($settings['galleryType'] == 'all') echo ' checked="yes"';?> />
|
14 |
+
<label for="galleryTypeAll">
|
15 |
<?php _e('Make a gallery for all images on the page (default)', 'mfbfw'); ?>
|
16 |
</label><br />
|
17 |
|
18 |
+
<input id="galleryTypeNone" class="galleryType" type="radio" value="none" name="mfbfw[galleryType]"<?php if ($settings['galleryType'] == 'none') echo ' checked="yes"';?> />
|
19 |
+
<label for="galleryTypeNone">
|
20 |
<?php _e('Do not group images in gallery automatically (use this if you want to make galleries manually with the <code>REL</code> attribute)', 'mfbfw'); ?>
|
21 |
</label><br />
|
22 |
|
23 |
+
<input id="galleryTypePost" class="galleryType" type="radio" value="post" name="mfbfw[galleryType]"<?php if ($settings['galleryType'] == 'post') echo ' checked="yes"';?> />
|
24 |
+
<label for="galleryTypePost">
|
25 |
<?php _e('Make a gallery for each post (will only work if your theme uses <code>class="post"</code> on each post, which is common in WordPress', 'mfbfw'); ?>
|
26 |
</label><br />
|
27 |
|
28 |
+
<input id="galleryTypeCustom" class="galleryType" type="radio" value="custom" name="mfbfw[galleryType]"<?php if ($settings['galleryType'] == 'custom') echo ' checked="yes"';?> />
|
29 |
+
<label for="galleryTypeCustom">
|
30 |
<?php _e('Use a custom expression to apply FancyBox', 'mfbfw'); ?>
|
31 |
</label><br /><br />
|
32 |
|
33 |
<div id="customExpressionBlock">
|
34 |
|
35 |
+
<label for="mfbfw[customExpression]">
|
36 |
+
<textarea rows="10" cols="50" class="large-text code" name="mfbfw[customExpression]" wrap="physical" id="customExpression"><?php echo ($settings['customExpression']); ?></textarea>
|
37 |
</label><br />
|
38 |
|
39 |
<small><strong><em><?php _e('Custom expression guidelines:', 'mfbfw'); ?></em></strong></small><br />
|
lib/admin-tab-info.php
CHANGED
@@ -2,12 +2,8 @@
|
|
2 |
|
3 |
<p><?php _e('<a target="_blank" href="http://fancybox.net">FancyBox</a> developed by <a target="_blank" href="http://fancybox.net">Janis Skarnelis</a>, ported to WordPress by <a target="_blank" href="http://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
|
6 |
|
7 |
-
<
|
8 |
|
9 |
-
<small><em><?php _e('<strong>Note:</strong>
|
10 |
-
|
11 |
-
<h3><?php _e('What\'s New in this version?', 'mfbfw'); ?></h3>
|
12 |
-
<p><?php _e('To see what\'s new in this version check the <a href="http://wordpress.org/extend/plugins/fancybox-for-wordpress/changelog/">changelog</a> at WordPress Plugins Directory.', 'mfbfw'); ?></p>
|
13 |
-
<p><?php _e('For known bugs or things to come in future versions check the <a href="http://code.google.com/p/fancybox-for-wordpress/issues/list">issues list</a> at Google Code.', 'mfbfw'); ?></p><br /><br />
|
2 |
|
3 |
<p><?php _e('<a target="_blank" href="http://fancybox.net">FancyBox</a> developed by <a target="_blank" href="http://fancybox.net">Janis Skarnelis</a>, ported to WordPress by <a target="_blank" href="http://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 />
|
|
|
|
|
|
|
|
lib/admin-tab-other.php
CHANGED
@@ -6,65 +6,91 @@
|
|
6 |
<tbody>
|
7 |
|
8 |
<tr valign="top">
|
9 |
-
<th scope="row"><?php _e('
|
10 |
<td>
|
11 |
<fieldset>
|
12 |
|
13 |
-
<label for="
|
14 |
-
<?php
|
15 |
-
|
16 |
-
</label><br /><br />
|
17 |
-
|
18 |
-
<label for="mfbfw_callbackOnShow">
|
19 |
-
<?php _e('Callback on Show event (default: empty)', 'mfbfw'); ?>
|
20 |
-
<textarea rows="10" cols="50" class="large-text code" name="mfbfw_callbackOnShow" wrap="physical" id="mfbfw_callbackOnShow"><?php echo ($settings['callbackOnShow']); ?></textarea>
|
21 |
-
</label><br /><br />
|
22 |
-
|
23 |
-
<label for="mfbfw_callbackOnClose">
|
24 |
-
<?php _e('Callback on Close event (default: empty)', 'mfbfw'); ?>
|
25 |
-
<textarea rows="10" cols="50" class="large-text code" name="mfbfw_callbackOnClose" wrap="physical" id="mfbfw_callbackOnClose"><?php echo ($settings['callbackOnClose']); ?></textarea>
|
26 |
</label><br />
|
|
|
|
|
27 |
|
28 |
-
<
|
|
|
|
|
|
|
29 |
|
30 |
-
<
|
31 |
-
|
32 |
-
|
|
|
33 |
|
34 |
</fieldset>
|
35 |
</td>
|
36 |
</tr>
|
37 |
|
38 |
<tr valign="top">
|
39 |
-
<th scope="row"><?php _e('
|
40 |
<td>
|
41 |
<fieldset>
|
42 |
|
43 |
-
<label for="
|
44 |
-
<input type="
|
45 |
-
<?php _e('
|
46 |
-
</label><br
|
47 |
-
|
48 |
-
<
|
49 |
-
<input type="text" name="mfbfw_frameHeight" id="mfbfw_frameHeight" value="<?php echo $settings['frameHeight']; ?>" size="4" maxlength="4" />
|
50 |
-
<?php _e('Height in pixels of FancyBox when showing iframe content (default: 340)', 'mfbfw'); ?>
|
51 |
-
</label><br /><br />
|
52 |
|
53 |
</fieldset>
|
54 |
</td>
|
55 |
</tr>
|
56 |
|
57 |
<tr valign="top">
|
58 |
-
<th scope="row"><?php _e('
|
59 |
<td>
|
60 |
<fieldset>
|
61 |
-
|
62 |
-
<label for="
|
63 |
-
<input type="checkbox" name="
|
64 |
-
<?php _e('
|
65 |
</label><br />
|
66 |
|
67 |
-
<small><em><?php _e('
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
|
69 |
</fieldset>
|
70 |
</td>
|
6 |
<tbody>
|
7 |
|
8 |
<tr valign="top">
|
9 |
+
<th scope="row"><?php _e('Dimensions', 'mfbfw'); ?></th>
|
10 |
<td>
|
11 |
<fieldset>
|
12 |
|
13 |
+
<label for="autoDimensions">
|
14 |
+
<input type="checkbox" name="mfbfw[autoDimensions]" id="autoDimensions"<?php if ( isset($settings['autoDimensions']) && $settings['autoDimensions'] ) echo ' checked="yes"';?> />
|
15 |
+
<?php _e('Auto detect dimensions (default: on)', 'mfbfw'); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
</label><br />
|
17 |
+
|
18 |
+
<small><em><?php _e('Only works with <strong>Ajax</strong> and <strong>Inline</strong> content! Flash dimensions won\'t be autodetected so specify them below if necessary. If you want to insert several pieces of flash content with different dimensions you will have to use the <strong>Additional FancyBox Calls</strong> option.', 'mfbfw'); ?></em></small><br /><br />
|
19 |
|
20 |
+
<label for="frameWidth">
|
21 |
+
<input type="text" name="mfbfw[frameWidth]" id="frameWidth" value="<?php echo $settings['frameWidth']; ?>" size="4" maxlength="4" />
|
22 |
+
<?php _e('Width for iframe and swf content. Also set for inline content if <em>autoDimensions</em> is disabled (default: 560)', 'mfbfw'); ?>
|
23 |
+
</label><br /><br />
|
24 |
|
25 |
+
<label for="frameHeight">
|
26 |
+
<input type="text" name="mfbfw[frameHeight]" id="frameHeight" value="<?php echo $settings['frameHeight']; ?>" size="4" maxlength="4" />
|
27 |
+
<?php _e('Height for iframe and swf content. Also set for inline content if <em>autoDimensions</em> is disabled (default: 340)', 'mfbfw'); ?>
|
28 |
+
</label><br /><br />
|
29 |
|
30 |
</fieldset>
|
31 |
</td>
|
32 |
</tr>
|
33 |
|
34 |
<tr valign="top">
|
35 |
+
<th scope="row"><?php _e('Load JavaScript in Footer', 'mfbfw'); ?></th>
|
36 |
<td>
|
37 |
<fieldset>
|
38 |
|
39 |
+
<label for="loadAtFooter">
|
40 |
+
<input type="checkbox" name="mfbfw[loadAtFooter]" id="loadAtFooter"<?php if ( isset($settings['loadAtFooter']) && $settings['loadAtFooter'] ) echo ' checked="yes"';?> />
|
41 |
+
<?php _e('Loads JavaScript at the end of the blog\'s HTML (experimental) (default: off)', 'mfbfw'); ?>
|
42 |
+
</label><br />
|
43 |
+
|
44 |
+
<small><em><?php _e('This option won\'t be recognized if you use <strong>Parallel Load</strong> plugin. In that case, you can do this from Parallel Load\'s options.', 'mfbfw'); ?></em></small><br /><br />
|
|
|
|
|
|
|
45 |
|
46 |
</fieldset>
|
47 |
</td>
|
48 |
</tr>
|
49 |
|
50 |
<tr valign="top">
|
51 |
+
<th scope="row"><?php _e('Callbacks', 'mfbfw'); ?></th>
|
52 |
<td>
|
53 |
<fieldset>
|
54 |
+
|
55 |
+
<label for="callbackEnable">
|
56 |
+
<input type="checkbox" name="mfbfw[callbackEnable]" id="callbackEnable"<?php if ( isset($settings['callbackEnable']) && $settings['callbackEnable'] ) echo ' checked="yes"';?> />
|
57 |
+
<?php _e('Enable callbacks (default: off)', 'mfbfw'); ?>
|
58 |
</label><br />
|
59 |
|
60 |
+
<small><em><?php _e('Enabling this will show additional settings.', 'mfbfw'); ?></em></small><br /><br />
|
61 |
+
|
62 |
+
<div id="callbackBlock">
|
63 |
+
|
64 |
+
<label for="callbackOnStart">
|
65 |
+
<?php _e('Callback on <strong>Start</strong> event: Will be called right before attempting to load the content', 'mfbfw'); ?>
|
66 |
+
<textarea rows="10" cols="50" class="large-text code" name="mfbfw[callbackOnStart]" wrap="physical" id="callbackOnStart"><?php echo ($settings['callbackOnStart']); ?></textarea>
|
67 |
+
</label><br /><br />
|
68 |
+
|
69 |
+
<label for="callbackOnCancel">
|
70 |
+
<?php _e('Callback on <strong>Cancel</strong> event: Will be called after loading is canceled', 'mfbfw'); ?>
|
71 |
+
<textarea rows="10" cols="50" class="large-text code" name="mfbfw[callbackOnCancel]" wrap="physical" id="callbackOnCancel"><?php echo ($settings['callbackOnCancel']); ?></textarea>
|
72 |
+
</label><br /><br />
|
73 |
+
|
74 |
+
<label for="callbackOnComplete">
|
75 |
+
<?php _e('Callback on <strong>Complete</strong> event: Will be called once the content is displayed', 'mfbfw'); ?>
|
76 |
+
<textarea rows="10" cols="50" class="large-text code" name="mfbfw[callbackOnComplete]" wrap="physical" id="callbackOnComplete"><?php echo ($settings['callbackOnComplete']); ?></textarea>
|
77 |
+
</label><br /><br />
|
78 |
+
|
79 |
+
<label for="callbackOnCleanup">
|
80 |
+
<?php _e('Callback on <strong>CleanUp</strong> event: Will be called just before closing', 'mfbfw'); ?>
|
81 |
+
<textarea rows="10" cols="50" class="large-text code" name="mfbfw[callbackOnCleanup]" wrap="physical" id="callbackOnCleanup"><?php echo ($settings['callbackOnCleanup']); ?></textarea>
|
82 |
+
</label><br /><br />
|
83 |
+
|
84 |
+
<label for="callbackOnClosed">
|
85 |
+
<?php _e('Callback on <strong>Closed</strong> event: Will be called once FancyBox is closed', 'mfbfw'); ?>
|
86 |
+
<textarea rows="10" cols="50" class="large-text code" name="mfbfw[callbackOnClose]" wrap="physical" id="callbackOnClosed"><?php echo ($settings['callbackOnClose']); ?></textarea>
|
87 |
+
</label><br /><br/>
|
88 |
+
|
89 |
+
<small><strong><em><?php _e('Example:', 'mfbfw'); ?></em></strong></small><br />
|
90 |
+
<small><em><code>function() { alert('Hello world!'); }</code></em></small><br />
|
91 |
+
<small><em><?php _e('Leave empty any speciic callbacks you don\'t need to use.', 'mfbfw'); ?></em></small><br /><br />
|
92 |
+
|
93 |
+
</div>
|
94 |
|
95 |
</fieldset>
|
96 |
</td>
|
lib/admin-tab-support.php
CHANGED
@@ -1,15 +1,16 @@
|
|
1 |
<h2><?php _e('Support', 'mfbfw'); ?></h2>
|
2 |
|
3 |
-
<h3
|
4 |
<ul style="list-style-type:disc;padding-left:15px;">
|
5 |
<li><?php _e('If you have problems or questions about FancyBox itself (and not this WordPress plugin), please start with these links: <a target="_blank" href="http://fancybox.net/howto">How-To</a> & <a target="_blank" href="http://fancybox.net/faq">FAQ</a>.<br />If that does not help, go to <a href="http://groups.google.com/group/fancybox">the FancyBox Google Group</a>, use the <strong>Search</strong> option, and if necesary, post your question.', 'mfbfw'); ?></li>
|
6 |
</ul>
|
7 |
|
8 |
-
<h3
|
9 |
<ul style="list-style-type:disc;padding-left:15px;">
|
10 |
-
<li><?php _e('If you are having trouble with this plugin
|
11 |
-
|
12 |
-
<li><?php _e(
|
|
|
13 |
</ul>
|
14 |
|
15 |
-
<p style="font-weight:bold;color:red"><span style="color:#333"><?php _e('IMPORTANT:'); ?></span> <?php _e('When posting your problem please provide a link to your blog, and all relevant information you can, especially your theme, plugins, etc.'); ?></p>
|
1 |
<h2><?php _e('Support', 'mfbfw'); ?></h2>
|
2 |
|
3 |
+
<h3><?php _e('Help with Fancybox'); ?></h3>
|
4 |
<ul style="list-style-type:disc;padding-left:15px;">
|
5 |
<li><?php _e('If you have problems or questions about FancyBox itself (and not this WordPress plugin), please start with these links: <a target="_blank" href="http://fancybox.net/howto">How-To</a> & <a target="_blank" href="http://fancybox.net/faq">FAQ</a>.<br />If that does not help, go to <a href="http://groups.google.com/group/fancybox">the FancyBox Google Group</a>, use the <strong>Search</strong> option, and if necesary, post your question.', 'mfbfw'); ?></li>
|
6 |
</ul>
|
7 |
|
8 |
+
<h3><?php _e('Help with Fancybox for WordPress plugin'); ?></h3>
|
9 |
<ul style="list-style-type:disc;padding-left:15px;">
|
10 |
+
<li><?php _e('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/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>.', '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>
|
lib/admin-tab-troubleshooting.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<h2><?php _e('Troubleshooting Settings', 'mfbfw'); ?></h2>
|
2 |
|
3 |
-
<p><span style="color:red;"><?php _e('Settings in this section should only be changed if you are having problems with the plugin!', 'mfbfw'); ?></span></p>
|
4 |
|
5 |
<p><?php _e('If the plugin doesn\'t seem to work, first you should check for other plugins that may be conflicting with this one, especially other Lightbox, Slimbox, etc. Make sure all your plugins and WordPress itself are up to date (this plugin has only been tested in WordPress 2.7 and above).', 'mfbfw'); ?></p>
|
6 |
|
@@ -14,8 +14,8 @@
|
|
14 |
<td>
|
15 |
<fieldset>
|
16 |
|
17 |
-
<label for="
|
18 |
-
<input type="checkbox" name="
|
19 |
<?php _e('Skip jQuery call. Use this only if jQuery is being loaded twice (default: off)', 'mfbfw'); ?>
|
20 |
</label><br />
|
21 |
|
@@ -23,21 +23,5 @@
|
|
23 |
</td>
|
24 |
</tr>
|
25 |
|
26 |
-
<tr valign="top">
|
27 |
-
<th scope="row"><?php _e('jQuery "noConflict" Mode', 'mfbfw'); ?></th>
|
28 |
-
<td>
|
29 |
-
<fieldset>
|
30 |
-
|
31 |
-
<label for="mfbfw_jQnoConflict">
|
32 |
-
<input type="checkbox" name="mfbfw_jQnoConflict" id="mfbfw_jQnoConflict"<?php if ($settings['jQnoConflict']) echo ' checked="yes"';?> />
|
33 |
-
<?php _e('Use jQuery noConflict mode (default: on)', 'mfbfw'); ?>
|
34 |
-
</label><br />
|
35 |
-
|
36 |
-
<small><em><?php _e('(Turning this off may cause problems if there are plugins activated that use other js framework like mootools, prototype, scriptaculous, etc.)', 'mfbfw'); ?></em></small><br /><br />
|
37 |
-
|
38 |
-
</fieldset>
|
39 |
-
</td>
|
40 |
-
</tr>
|
41 |
-
|
42 |
</tbody>
|
43 |
</table>
|
1 |
<h2><?php _e('Troubleshooting Settings', 'mfbfw'); ?></h2>
|
2 |
|
3 |
+
<p><span style="font-weight:bold;color:red;"><?php _e('Settings in this section should only be changed if you are having problems with the plugin!', 'mfbfw'); ?></span></p>
|
4 |
|
5 |
<p><?php _e('If the plugin doesn\'t seem to work, first you should check for other plugins that may be conflicting with this one, especially other Lightbox, Slimbox, etc. Make sure all your plugins and WordPress itself are up to date (this plugin has only been tested in WordPress 2.7 and above).', 'mfbfw'); ?></p>
|
6 |
|
14 |
<td>
|
15 |
<fieldset>
|
16 |
|
17 |
+
<label for="nojQuery">
|
18 |
+
<input type="checkbox" name="mfbfw[nojQuery]" id="nojQuery"<?php if ( isset($settings['nojQuery']) && $settings['nojQuery'] ) echo ' checked="yes"';?> />
|
19 |
<?php _e('Skip jQuery call. Use this only if jQuery is being loaded twice (default: off)', 'mfbfw'); ?>
|
20 |
</label><br />
|
21 |
|
23 |
</td>
|
24 |
</tr>
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
</tbody>
|
27 |
</table>
|
lib/admin-tab-uninstall.php
CHANGED
@@ -10,8 +10,8 @@
|
|
10 |
<td>
|
11 |
<fieldset>
|
12 |
|
13 |
-
<label for="
|
14 |
-
<input type="checkbox" name="
|
15 |
<?php _e('Remove Settings when plugin is deactivated from the "Manage Plugins" page. (default: off)', 'mfbfw'); ?>
|
16 |
</label><br /><br />
|
17 |
|
10 |
<td>
|
11 |
<fieldset>
|
12 |
|
13 |
+
<label for="uninstall">
|
14 |
+
<input type="checkbox" name="mfbfw[uninstall]" id="uninstall"<?php if ( isset($settings['uninstall']) && $settings['uninstall'] ) echo ' checked="yes"';?> />
|
15 |
<?php _e('Remove Settings when plugin is deactivated from the "Manage Plugins" page. (default: off)', 'mfbfw'); ?>
|
16 |
</label><br /><br />
|
17 |
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== FancyBox for WordPress ===
|
2 |
Contributors: moskis
|
3 |
-
Donate link: https://www.asmallorange.com/extras/donate/?id=10218
|
4 |
Tags: fancybox, lightbox, jquery, gallery, image, images, photo, photos, picture, pictures
|
5 |
Requires at least: 2.8
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag:
|
|
|
8 |
|
9 |
Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. No further configuration needed. However, you can customize it from the Options Page if you like... :)
|
10 |
|
@@ -19,12 +19,28 @@ By default, the plugin will use jQuery to apply [FancyBox](http://fancybox.net/)
|
|
19 |
|
20 |
= Demo =
|
21 |
|
22 |
-
You can see the plugin working on [
|
23 |
|
24 |
== Changelog ==
|
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 |
= 2.7.5 =
|
29 |
* Fixed: Callback arguments are no longer added as "null" when they are not set in options page.
|
30 |
|
@@ -64,7 +80,7 @@ This changelog is for the WordPress plugin. For the Fancybox main changelog go t
|
|
64 |
* Fixed: noClonflict preventing frames to work in Fancybox
|
65 |
* Fixed: Custom frame width and height not being applied
|
66 |
* Updated: Japanese translation
|
67 |
-
* Updated: JS is now Minified instead of Packed
|
68 |
|
69 |
= 2.6.0 =
|
70 |
* Optimized the JavaScript code used to apply FancyBox
|
@@ -140,7 +156,7 @@ This changelog is for the WordPress plugin. For the Fancybox main changelog go t
|
|
140 |
|
141 |
== Screenshots ==
|
142 |
|
143 |
-
1. Simple example of fancybox on a post. [Live demo here](http://
|
144 |
2. Basic settings on Options Page in the Admin Panel. This makes it very easy to customize the plugin to your needs
|
145 |
|
146 |
|
1 |
=== FancyBox for WordPress ===
|
2 |
Contributors: moskis
|
|
|
3 |
Tags: fancybox, lightbox, jquery, gallery, image, images, photo, photos, picture, pictures
|
4 |
Requires at least: 2.8
|
5 |
+
Tested up to: 3.3
|
6 |
+
Stable tag: 3.0.0
|
7 |
+
License: GPL/MIT
|
8 |
|
9 |
Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. No further configuration needed. However, you can customize it from the Options Page if you like... :)
|
10 |
|
19 |
|
20 |
= Demo =
|
21 |
|
22 |
+
You can see the plugin working on [this blog](http://plugins.josepardilla.com/fancybox-for-wordpress/) although there's nothing amazing to see, just a FancyBox simple implementation, that's the point ;) You can take a look at the code if you're curious, though.
|
23 |
|
24 |
== Changelog ==
|
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.0 =
|
29 |
+
* New: Fancybox v1.3.4 support This includes many new options, like title position.
|
30 |
+
* New: Additional FancyBox Calls option that lets the user write their own additional code to use FancyBox on specific areas of the blog, like email subscription buttons, login, etc.
|
31 |
+
* New: Revert settings button added to options page. When pressed, a confirmation dialog will appear.
|
32 |
+
* New: Improvements in options page, irrelevant settings (settings that depend on a disabled setting) will hide on real time, meaning a cleaner look in the options page.
|
33 |
+
* Updated: New cleaner code to select thumbnails on which to apply the fancbox script.
|
34 |
+
* Updated: Many parts of plugins rewriten with many improvements in code.
|
35 |
+
* Updated: Options are now serialized into a single row in the database.
|
36 |
+
* Fixed: Plugin should be SSL friendly from now on.
|
37 |
+
* Fixed: Do not call jQuery option in troubleshooting section didn't work if easing was enabled.
|
38 |
+
* Fixed: Load at footer options should work better now.
|
39 |
+
* Fixed: CSS external files now addded with wp_enqueue_style().
|
40 |
+
* Fixed: has_cap error: User level value for options page removed, using role now instead. Thanks to [vonkanehoffen](http://wordpress.org/support/topic/plugin-fancybox-for-wordpress-has_cap-fix).
|
41 |
+
* Removed: jQuery "noConflict" Mode option removed bacause jQuery bundled with WordPress always used noConflict.
|
42 |
+
* Removed: Base64 data ("data:image/gif;base64,AAAA") in left and right fancybox link's backgrounds: It didn't seem to be working and it is usually regarded as suspicious code, so it has been removed.
|
43 |
+
|
44 |
= 2.7.5 =
|
45 |
* Fixed: Callback arguments are no longer added as "null" when they are not set in options page.
|
46 |
|
80 |
* Fixed: noClonflict preventing frames to work in Fancybox
|
81 |
* Fixed: Custom frame width and height not being applied
|
82 |
* Updated: Japanese translation
|
83 |
+
* Updated: JS is now Minified instead of Packed
|
84 |
|
85 |
= 2.6.0 =
|
86 |
* Optimized the JavaScript code used to apply FancyBox
|
156 |
|
157 |
== Screenshots ==
|
158 |
|
159 |
+
1. Simple example of fancybox on a post. [Live demo here](http://plugins.josepardilla.com/fancybox-for-wordpress/)
|
160 |
2. Basic settings on Options Page in the Admin Panel. This makes it very easy to customize the plugin to your needs
|
161 |
|
162 |
|
settings.php
ADDED
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
?>
|