Version Description
Be sure to deactivate Dynamic Widgets Plugin before installing the new version following steps 1 and 2 in the installation procedure. After the install you can reactivate the plugin.
Download this release
Release Info
Developer | qurl |
Plugin | Dynamic Widgets |
Version | 1.3.7 |
Comparing to | |
See all releases |
Code changes from version 1.3.6 to 1.3.7
- dynamic-widgets.php +49 -53
- dynwid_admin.php +2 -2
- dynwid_admin_edit.php +362 -100
- dynwid_admin_overview.php +6 -6
- dynwid_admin_save.php +33 -2
- dynwid_class.php +53 -3
- dynwid_class_php4.php +55 -4
- dynwid_init_worker.php +4 -2
- dynwid_worker.php +145 -57
- jquery.ui.accordion.css +19 -0
- jquery.ui.accordion.min.js +12 -0
- jquery.ui.core.css +41 -0
- jquery.ui.datepicker.css +61 -0
- jquery.ui.theme.smoothness.css +254 -0
- locale/dynamic-widgets-fr_FR.mo +0 -0
- locale/dynamic-widgets-fr_FR.po +456 -0
- locale/dynamic-widgets-nl.mo +0 -0
- locale/dynamic-widgets-nl.po +207 -132
- locale/dynamic-widgets.pot +197 -127
- readme.txt +27 -11
- screenshot-2.jpg +0 -0
dynamic-widgets.php
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Dynamic Widgets
|
4 |
* Plugin URI: http://www.qurl.nl/dynamic-widgets/
|
5 |
-
* Description: Dynamic Widgets gives you
|
6 |
* Author: Jacco
|
7 |
-
* Version: 1.3.
|
8 |
* Author URI: http://www.qurl.nl/
|
9 |
* Tags: widget, widgets, dynamic, sidebar, custom, rules, admin, conditional tags
|
10 |
*
|
@@ -15,22 +15,27 @@
|
|
15 |
*
|
16 |
* Released under the GPL v.2, http://www.gnu.org/copyleft/gpl.html
|
17 |
*
|
18 |
-
* @version $Id: dynamic-widgets.php
|
|
|
|
|
|
|
|
|
19 |
*/
|
20 |
|
21 |
/*
|
22 |
WPML Plugin support via API
|
23 |
-
Using constants ICL_PLUGIN_PATH > dynwid_admin_edit.php
|
24 |
-
Using functions wpml_get_default_language() >
|
25 |
-
wpml_get_current_language() > dynwid_worker.php, wpml.php
|
26 |
wpml_get_content_translation() > wpml.php
|
27 |
-
|
|
|
28 |
|
29 |
/*
|
30 |
WPSC/WPEC Plugin support
|
31 |
Using constants WPSC_TABLE_PRODUCT_CATEGORIES > dynwid_admin_edit.php, dynwid_init_worker.php, wpsc.php
|
32 |
Using vars $wpsc_query > dynwid_init_worker.php, wpsc.php
|
33 |
-
*/
|
34 |
|
35 |
// Constants
|
36 |
define('DW_DEBUG', FALSE);
|
@@ -42,7 +47,7 @@
|
|
42 |
define('DW_PLUGIN', dirname(__FILE__) . '/' . 'plugin/');
|
43 |
define('DW_TIME_LIMIT', 86400); // 1 day
|
44 |
define('DW_URL', 'http://www.qurl.nl');
|
45 |
-
define('DW_VERSION', '1.3.
|
46 |
define('DW_VERSION_URL_CHECK', DW_URL . '/wp-content/uploads/php/dw_version.php?v=' . DW_VERSION . '&n=');
|
47 |
define('DW_WPML_API', '/inc/wpml-api.php'); // WPML Plugin support - API file relative to ICL_PLUGIN_PATH
|
48 |
define('DW_WPML_ICON', 'img/wpml_icon.png'); // WPML Plugin support - WPML icon
|
@@ -115,8 +120,9 @@
|
|
115 |
|
116 |
// Contextual help
|
117 |
if ( isset($_GET['action']) && $_GET['action'] == 'edit' ) {
|
118 |
-
$help = __('Widgets are always displayed by default', DW_L10N_DOMAIN) . ' (' . __('The
|
119 |
-
$help .= __('Click on the', DW_L10N_DOMAIN) . ' <img src="' . $DW->plugin_url . 'img/info.gif" alt="info" /> ' . __('next to the options for more info', DW_L10N_DOMAIN) . '
|
|
|
120 |
} else {
|
121 |
$help = '<p><strong>' . __('Static', DW_L10N_DOMAIN) . ' / ' . __('Dynamic', DW_L10N_DOMAIN) . '</strong><br />';
|
122 |
$help .= __('When a widget is', DW_L10N_DOMAIN) . ' <em>' . __('Static', DW_L10N_DOMAIN) . '</em>, ' . __('the widget uses the WordPress default. In other words, it\'s shown everywhere', DW_L10N_DOMAIN) . '.<br />';
|
@@ -129,7 +135,7 @@
|
|
129 |
// Only show meta box in posts panel when there are widgets enabled.
|
130 |
$opt = $DW->getOptions('%','individual');
|
131 |
if ( count($opt) > 0 ) {
|
132 |
-
add_meta_box('dynwid', 'Dynamic Widgets', 'dynwid_add_post_control', 'post', 'side', 'low');
|
133 |
}
|
134 |
}
|
135 |
}
|
@@ -143,6 +149,7 @@
|
|
143 |
wp_enqueue_script('jquery');
|
144 |
wp_enqueue_script('jquery-ui-core');
|
145 |
wp_enqueue_script('jquery-ui-datepicker', $DW->plugin_url . 'jquery_datepicker.js', array('jquery-ui-core'));
|
|
|
146 |
}
|
147 |
|
148 |
/**
|
@@ -151,7 +158,10 @@
|
|
151 |
*/
|
152 |
function dynwid_add_admin_styles() {
|
153 |
$DW = &$GLOBALS['DW'];
|
154 |
-
wp_enqueue_style('jquery-ui-
|
|
|
|
|
|
|
155 |
}
|
156 |
|
157 |
/**
|
@@ -176,7 +186,7 @@
|
|
176 |
$DW = &$GLOBALS['DW'];
|
177 |
|
178 |
$opt = $DW->getOptions('%','individual');
|
179 |
-
echo '<strong>Apply exception rule to widgets
|
180 |
foreach ( $opt as $widget ) {
|
181 |
$single_condition = '1';
|
182 |
$checked = '';
|
@@ -209,7 +219,7 @@
|
|
209 |
if ( count($opt) > 0 ) {
|
210 |
|
211 |
echo '<tr class="form-field">';
|
212 |
-
echo '<th scope="row" valign="top"><label for="dynamic-widgets">Dynamic Widgets</label></th>';
|
213 |
echo '<td>';
|
214 |
foreach ( $opt as $widget ) {
|
215 |
$single_condition = '1';
|
@@ -290,7 +300,7 @@
|
|
290 |
|
291 |
echo '<div class="updated fade" id="message">';
|
292 |
echo '<p>';
|
293 |
-
echo '<strong>Dynamic Widgets Options saved</strong> for ' .
|
294 |
echo '</p>';
|
295 |
echo '</div>';
|
296 |
}
|
@@ -356,7 +366,7 @@
|
|
356 |
dynwid_worker($DW->sidebars);
|
357 |
} else {
|
358 |
add_filter('sidebars_widgets', 'dynwid_worker');
|
359 |
-
|
360 |
}
|
361 |
|
362 |
/**
|
@@ -554,38 +564,12 @@
|
|
554 |
call_user_func_array($wp_callback, $args);
|
555 |
|
556 |
// Now adding the dynwid text & link
|
557 |
-
echo '<p
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
if ( $DW->hasOptions($widget_id) ) {
|
562 |
$s = array();
|
563 |
-
$buffer = array(
|
564 |
-
'role' => __('Role'),
|
565 |
-
'date' => __('Date'),
|
566 |
-
'front-page' => __('Front Page', DW_L10N_DOMAIN),
|
567 |
-
'single' => __('Single Posts', DW_L10N_DOMAIN),
|
568 |
-
'page' => __('Pages'),
|
569 |
-
'author' => __('Author Pages', DW_L10N_DOMAIN),
|
570 |
-
'category' => __('Category Pages', DW_L10N_DOMAIN),
|
571 |
-
'archive' => __('Archive Pages', DW_L10N_DOMAIN),
|
572 |
-
'e404' => __('Error Page', DW_L10N_DOMAIN),
|
573 |
-
'search' => __('Search page', DW_L10N_DOMAIN),
|
574 |
-
'wpsc' => __('WPSC Category', DW_L10N_DOMAIN)
|
575 |
-
);
|
576 |
-
|
577 |
-
// Adding Custom Post Types to $buffer
|
578 |
-
if ( version_compare($GLOBALS['wp_version'], '3.0', '>=') ) {
|
579 |
-
$args = array(
|
580 |
-
'public' => TRUE,
|
581 |
-
'_builtin' => FALSE
|
582 |
-
);
|
583 |
-
$post_types = get_post_types($args, 'objects', 'and');
|
584 |
-
foreach ( $post_types as $ctid ) {
|
585 |
-
$buffer[key($post_types)] = $ctid->label;
|
586 |
-
}
|
587 |
-
}
|
588 |
-
|
589 |
$opt = $DW->getOptions($widget_id, NULL);
|
590 |
foreach ( $opt as $widget ) {
|
591 |
$type = $widget['maintype'];
|
@@ -603,13 +587,13 @@
|
|
603 |
$last = count($s) - 1;
|
604 |
for ( $i = 0; $i < $last; $i++ ) {
|
605 |
$type = $s[$i];
|
606 |
-
if (! empty($
|
607 |
-
$string .= $
|
608 |
}
|
609 |
$string .= ( ($last - 1) == $i ) ? ' ' . __('and', DW_L10N_DOMAIN) . ' ' : ', ';
|
610 |
}
|
611 |
$type = $s[$last];
|
612 |
-
$string .= $
|
613 |
|
614 |
$output = '<br /><small>';
|
615 |
$output .= ( count($opt) > 1 ) ? __('Options set for', DW_L10N_DOMAIN) : __('Option set for', DW_L10N_DOMAIN);
|
@@ -628,10 +612,22 @@
|
|
628 |
*/
|
629 |
function dynwid_worker($sidebars) {
|
630 |
$DW = &$GLOBALS['DW'];
|
631 |
-
|
632 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
633 |
}
|
634 |
-
require(dirname(__FILE__) . '/dynwid_worker.php');
|
635 |
|
636 |
return $sidebars;
|
637 |
}
|
2 |
/**
|
3 |
* Plugin Name: Dynamic Widgets
|
4 |
* Plugin URI: http://www.qurl.nl/dynamic-widgets/
|
5 |
+
* Description: Dynamic Widgets gives you full control on which pages your widgets will appear. It lets you dynamicly place the widgets on WordPress pages.
|
6 |
* Author: Jacco
|
7 |
+
* Version: 1.3.7
|
8 |
* Author URI: http://www.qurl.nl/
|
9 |
* Tags: widget, widgets, dynamic, sidebar, custom, rules, admin, conditional tags
|
10 |
*
|
15 |
*
|
16 |
* Released under the GPL v.2, http://www.gnu.org/copyleft/gpl.html
|
17 |
*
|
18 |
+
* @version $Id: dynamic-widgets.php 326392 2010-12-27 15:59:50Z qurl $
|
19 |
+
*/
|
20 |
+
|
21 |
+
/*
|
22 |
+
Thanks to Alexis Nomine for the contributions of the French (fr_FR) language files, several L10N fixes and change of the edit options UI.
|
23 |
*/
|
24 |
|
25 |
/*
|
26 |
WPML Plugin support via API
|
27 |
+
Using constants ICL_PLUGIN_PATH > dynwid_admin_edit.php, dynwid_init_worker.php, dynwid_worker.php
|
28 |
+
Using functions wpml_get_default_language() > dynwid_init_worker.php
|
29 |
+
wpml_get_current_language() > dynwid_init_worker.php, dynwid_worker.php, wpml.php
|
30 |
wpml_get_content_translation() > wpml.php
|
31 |
+
wpml_get_active_languages() > dynwid_admin_edit.php
|
32 |
+
*/
|
33 |
|
34 |
/*
|
35 |
WPSC/WPEC Plugin support
|
36 |
Using constants WPSC_TABLE_PRODUCT_CATEGORIES > dynwid_admin_edit.php, dynwid_init_worker.php, wpsc.php
|
37 |
Using vars $wpsc_query > dynwid_init_worker.php, wpsc.php
|
38 |
+
*/
|
39 |
|
40 |
// Constants
|
41 |
define('DW_DEBUG', FALSE);
|
47 |
define('DW_PLUGIN', dirname(__FILE__) . '/' . 'plugin/');
|
48 |
define('DW_TIME_LIMIT', 86400); // 1 day
|
49 |
define('DW_URL', 'http://www.qurl.nl');
|
50 |
+
define('DW_VERSION', '1.3.7');
|
51 |
define('DW_VERSION_URL_CHECK', DW_URL . '/wp-content/uploads/php/dw_version.php?v=' . DW_VERSION . '&n=');
|
52 |
define('DW_WPML_API', '/inc/wpml-api.php'); // WPML Plugin support - API file relative to ICL_PLUGIN_PATH
|
53 |
define('DW_WPML_ICON', 'img/wpml_icon.png'); // WPML Plugin support - WPML icon
|
120 |
|
121 |
// Contextual help
|
122 |
if ( isset($_GET['action']) && $_GET['action'] == 'edit' ) {
|
123 |
+
$help = __('Widgets are always displayed by default', DW_L10N_DOMAIN) . ' (' . __('The \'<em>Yes</em>\' selection', DW_L10N_DOMAIN) . ')' . '<br />';
|
124 |
+
$help .= __('Click on the', DW_L10N_DOMAIN) . ' <img src="' . $DW->plugin_url . 'img/info.gif" alt="info" /> ' . __('next to the options for more info', DW_L10N_DOMAIN) . '.<br />';
|
125 |
+
$help .= __('The') . ' <span class="hasoptions">*</span> ' . __('next to a section means it has options set.', DW_L10N_DOMAIN);
|
126 |
} else {
|
127 |
$help = '<p><strong>' . __('Static', DW_L10N_DOMAIN) . ' / ' . __('Dynamic', DW_L10N_DOMAIN) . '</strong><br />';
|
128 |
$help .= __('When a widget is', DW_L10N_DOMAIN) . ' <em>' . __('Static', DW_L10N_DOMAIN) . '</em>, ' . __('the widget uses the WordPress default. In other words, it\'s shown everywhere', DW_L10N_DOMAIN) . '.<br />';
|
135 |
// Only show meta box in posts panel when there are widgets enabled.
|
136 |
$opt = $DW->getOptions('%','individual');
|
137 |
if ( count($opt) > 0 ) {
|
138 |
+
add_meta_box('dynwid', __('Dynamic Widgets', DW_L10N_DOMAIN), 'dynwid_add_post_control', 'post', 'side', 'low');
|
139 |
}
|
140 |
}
|
141 |
}
|
149 |
wp_enqueue_script('jquery');
|
150 |
wp_enqueue_script('jquery-ui-core');
|
151 |
wp_enqueue_script('jquery-ui-datepicker', $DW->plugin_url . 'jquery_datepicker.js', array('jquery-ui-core'));
|
152 |
+
wp_enqueue_script('jquery-ui-accordion', $DW->plugin_url . 'jquery.ui.accordion.min.js', array('jquery-ui-core'));
|
153 |
}
|
154 |
|
155 |
/**
|
158 |
*/
|
159 |
function dynwid_add_admin_styles() {
|
160 |
$DW = &$GLOBALS['DW'];
|
161 |
+
wp_enqueue_style('jquery-ui-core', $DW->plugin_url . 'jquery.ui.core.css');
|
162 |
+
wp_enqueue_style('jquery-ui-smoothness', $DW->plugin_url . 'jquery.ui.theme.smoothness.css', array('jquery-ui-core'));
|
163 |
+
wp_enqueue_style('jquery-ui-accordion', $DW->plugin_url . 'jquery.ui.accordion.css', array('jquery-ui-core', 'jquery-ui-smoothness'));
|
164 |
+
wp_enqueue_style('jquery-ui-datepicker', $DW->plugin_url . 'jquery.ui.datepicker.css', array('jquery-ui-core', 'jquery-ui-smoothness'));
|
165 |
}
|
166 |
|
167 |
/**
|
186 |
$DW = &$GLOBALS['DW'];
|
187 |
|
188 |
$opt = $DW->getOptions('%','individual');
|
189 |
+
echo '<strong>' . __('Apply exception rule to widgets:', DW_L10N_DOMAIN) . '</strong><br /><br />';
|
190 |
foreach ( $opt as $widget ) {
|
191 |
$single_condition = '1';
|
192 |
$checked = '';
|
219 |
if ( count($opt) > 0 ) {
|
220 |
|
221 |
echo '<tr class="form-field">';
|
222 |
+
echo '<th scope="row" valign="top"><label for="dynamic-widgets">' . __('Dynamic Widgets', DW_L10N_DOMAIN) . '</label></th>';
|
223 |
echo '<td>';
|
224 |
foreach ( $opt as $widget ) {
|
225 |
$single_condition = '1';
|
300 |
|
301 |
echo '<div class="updated fade" id="message">';
|
302 |
echo '<p>';
|
303 |
+
echo '<strong>' . __('Dynamic Widgets Options saved', DW_L10N_DOMAIN) . '</strong> ' . __('for', DW_L10N_DOMAIN) . ' ' . $name;
|
304 |
echo '</p>';
|
305 |
echo '</div>';
|
306 |
}
|
366 |
dynwid_worker($DW->sidebars);
|
367 |
} else {
|
368 |
add_filter('sidebars_widgets', 'dynwid_worker');
|
369 |
+
}
|
370 |
}
|
371 |
|
372 |
/**
|
564 |
call_user_func_array($wp_callback, $args);
|
565 |
|
566 |
// Now adding the dynwid text & link
|
567 |
+
echo '<p>Dynamic Widgets: ';
|
568 |
+
echo '<a style="text-decoration:none;" title="Edit Dynamic Widgets Options" href="themes.php?page=dynwid-config&action=edit&id=' . $widget_id . '&returnurl=' . urlencode(trailingslashit(admin_url()) . 'widgets.php') . '">';
|
569 |
+
echo ( $DW->hasOptions($widget_id) ) ? __('Dynamic', DW_L10N_DOMAIN) : __('Static', DW_L10N_DOMAIN);
|
570 |
+
echo '</a>';
|
571 |
if ( $DW->hasOptions($widget_id) ) {
|
572 |
$s = array();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
573 |
$opt = $DW->getOptions($widget_id, NULL);
|
574 |
foreach ( $opt as $widget ) {
|
575 |
$type = $widget['maintype'];
|
587 |
$last = count($s) - 1;
|
588 |
for ( $i = 0; $i < $last; $i++ ) {
|
589 |
$type = $s[$i];
|
590 |
+
if (! empty($DW->dwoptions[$type]) ) {
|
591 |
+
$string .= $DW->dwoptions[$type];
|
592 |
}
|
593 |
$string .= ( ($last - 1) == $i ) ? ' ' . __('and', DW_L10N_DOMAIN) . ' ' : ', ';
|
594 |
}
|
595 |
$type = $s[$last];
|
596 |
+
$string .= $DW->dwoptions[$type];
|
597 |
|
598 |
$output = '<br /><small>';
|
599 |
$output .= ( count($opt) > 1 ) ? __('Options set for', DW_L10N_DOMAIN) : __('Option set for', DW_L10N_DOMAIN);
|
612 |
*/
|
613 |
function dynwid_worker($sidebars) {
|
614 |
$DW = &$GLOBALS['DW'];
|
615 |
+
|
616 |
+
if ( $DW->listmade ) {
|
617 |
+
$DW->message('Dynamic Widgets removelist already created');
|
618 |
+
if ( count($DW->removelist) > 0 ) {
|
619 |
+
foreach ( $DW->removelist as $sidebar_id => $widgets ){
|
620 |
+
foreach ( $widgets as $widget_key ){
|
621 |
+
unset($sidebars[$sidebar_id][$widget_key]);
|
622 |
+
}
|
623 |
+
}
|
624 |
+
}
|
625 |
+
} else {
|
626 |
+
if ( $DW->wpsc ) {
|
627 |
+
$wpsc_query = &$GLOBALS['wpsc_query'];
|
628 |
+
}
|
629 |
+
require(dirname(__FILE__) . '/dynwid_worker.php');
|
630 |
}
|
|
|
631 |
|
632 |
return $sidebars;
|
633 |
}
|
dynwid_admin.php
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
/**
|
3 |
* dynwid_admin.php - Startpage for admin
|
4 |
*
|
5 |
-
* @version $Id: dynwid_admin.php
|
6 |
*/
|
7 |
?>
|
8 |
|
9 |
<div class="wrap">
|
10 |
-
<h2
|
11 |
|
12 |
<?php
|
13 |
if ( $DW->enabled ) {
|
2 |
/**
|
3 |
* dynwid_admin.php - Startpage for admin
|
4 |
*
|
5 |
+
* @version $Id: dynwid_admin.php 311081 2010-11-13 13:08:15Z qurl $
|
6 |
*/
|
7 |
?>
|
8 |
|
9 |
<div class="wrap">
|
10 |
+
<h2><?php _e('Dynamic Widgets', DW_L10N_DOMAIN); ?></h2>
|
11 |
|
12 |
<?php
|
13 |
if ( $DW->enabled ) {
|
dynwid_admin_edit.php
CHANGED
@@ -2,13 +2,15 @@
|
|
2 |
/**
|
3 |
* dynwid_admin_edit.php - Options settings
|
4 |
*
|
5 |
-
* @version $Id: dynwid_admin_edit.php
|
6 |
*/
|
7 |
|
8 |
// WPML Plugin support
|
9 |
if ( defined('ICL_PLUGIN_PATH') && file_exists(ICL_PLUGIN_PATH . DW_WPML_API) ) {
|
10 |
$DW->wpml = TRUE;
|
11 |
$wpml_icon = '<img src="' . $DW->plugin_url . DW_WPML_ICON . '" alt="WMPL" title="Dynamic Widgets syncs with other languages of these pages via WPML" />';
|
|
|
|
|
12 |
}
|
13 |
|
14 |
// WPSC/WPEC Plugin support (http://getshopped.org)
|
@@ -68,10 +70,7 @@
|
|
68 |
}
|
69 |
|
70 |
// Front Page
|
71 |
-
if ( get_option('show_on_front')
|
72 |
-
$frontpage_yes_selected = 'disabled="disabled"';
|
73 |
-
$frontpage_no_selected = $frontpage_yes_selected;
|
74 |
-
} else {
|
75 |
$frontpage_yes_selected = 'checked="checked"';
|
76 |
$opt_frontpage = $DW->getOptions($_GET['id'], 'front-page');
|
77 |
if ( count($opt_frontpage) > 0 ) {
|
@@ -161,17 +160,30 @@
|
|
161 |
if ( count($opt_page) > 0 ) {
|
162 |
$page_act = array();
|
163 |
foreach ( $opt_page as $page_condition ) {
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
|
|
|
|
169 |
}
|
170 |
|
171 |
if ( $page_default == '0' ) {
|
172 |
$page_no_selected = $page_yes_selected;
|
173 |
unset($page_yes_selected);
|
174 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
}
|
176 |
|
177 |
$pages = get_pages();
|
@@ -179,7 +191,7 @@
|
|
179 |
$page_condition_select_style = DW_LIST_STYLE;
|
180 |
}
|
181 |
|
182 |
-
|
183 |
if ( get_option('show_on_front') == 'page' ) {
|
184 |
if ( get_option('page_on_front') == get_option('page_for_posts') ) {
|
185 |
$id = get_option('page_on_front');
|
@@ -273,6 +285,32 @@
|
|
273 |
}
|
274 |
}
|
275 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
// WPSC/WPEC
|
277 |
if ( $DW->wpsc ) {
|
278 |
// Categories
|
@@ -324,12 +362,29 @@ label {
|
|
324 |
color : #666666;
|
325 |
font-style : italic;
|
326 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
</style>
|
328 |
|
329 |
<?php if ( isset($_POST['dynwid_save']) && $_POST['dynwid_save'] == 'yes' ) { ?>
|
330 |
<div class="updated fade" id="message">
|
331 |
<p>
|
332 |
-
<strong><?php _e('Widget options saved.'); ?></strong> <a href="themes.php?page=dynwid-config"><?php _e('Return', DW_L10N_DOMAIN); ?></a> <?php _e('to Dynamic Widgets overview', DW_L10N_DOMAIN); ?>.
|
333 |
</p>
|
334 |
</div>
|
335 |
<?php } else if ( isset($_GET['work']) && $_GET['work'] == 'none' ) { ?>
|
@@ -352,14 +407,17 @@ label {
|
|
352 |
<input type="hidden" name="widget_id" value="<?php echo $_GET['id']; ?>" />
|
353 |
<input type="hidden" name="returnurl" value="<?php echo ( isset($_GET['returnurl']) ? urldecode($_GET['returnurl']) : '' ); ?>" />
|
354 |
|
355 |
-
|
356 |
-
|
|
|
|
|
|
|
357 |
<?php $DW->dumpOpt($opt_role); ?>
|
358 |
<div>
|
359 |
-
<div id="role" class="infotext">
|
360 |
<?php _e('Setting options by role is very powerfull. It can override all other options!<br />
|
361 |
Users who are not logged in, get the <em>Anonymous</em> role.', DW_L10N_DOMAIN); ?>
|
362 |
-
</div>
|
363 |
</div>
|
364 |
<input type="radio" name="role" value="yes" id="role-yes" <?php echo ( isset($role_yes_selected) ? $role_yes_selected : '' ); ?> onclick="swChb(cRole, true);" /> <label for="role-yes"><?php _e('Yes'); ?></label>
|
365 |
<input type="radio" name="role" value="no" id="role-no" <?php echo ( isset($role_no_selected) ? $role_no_selected : '' ); ?> onclick="swChb(cRole, false)" /> <label for="role-no"><?php _e('No'); ?>, <?php _e('only to', DW_L10N_DOMAIN); ?>:</label><br />
|
@@ -368,21 +426,22 @@ label {
|
|
368 |
<input type="checkbox" id="role_act_<?php echo $rid; ?>" name="role_act[]" value="<?php echo $rid; ?>" <?php echo ( isset($role_act) && count($role_act) > 0 && in_array($rid, $role_act) ) ? 'checked="checked"' : ''; ?> /> <label for="role_act_<?php echo $rid; ?>"><?php echo $role; ?></label><br />
|
369 |
<?php } ?>
|
370 |
</div>
|
|
|
371 |
|
372 |
-
|
373 |
-
|
374 |
-
<
|
375 |
-
<?php _e('Show widget always?', DW_L10N_DOMAIN);
|
376 |
<?php $DW->dumpOpt($opt_date); ?>
|
377 |
<div>
|
378 |
-
<div id="date" class="infotext">
|
379 |
<?php _e('Next to the above role option, the date option is also very powerfull. You\'ve been warned!', DW_L10N_DOMAIN); ?><br />
|
380 |
-
<?php _e('Enter dates in the YYYY-MM-DD format. You can also use the calender by clicking on the'); ?> <img src="<?php echo $DW->plugin_url; ?>img/calendar.gif" alt="Calendar" /><br />
|
381 |
<?php _e('Date ranges can be made by entering a From AND a To date<br />
|
382 |
When you want the widget to be displayed from a specific date, only fill in the From date<br />
|
383 |
When you want the widget to stop displaying on a specific date, only fill in the To date.
|
384 |
', DW_L10N_DOMAIN); ?>
|
385 |
-
</div>
|
386 |
</div>
|
387 |
<input type="radio" name="date" value="yes" id="date-yes" <?php echo ( isset($date_yes_selected) ? $date_yes_selected : '' ); ?> onclick="swTxt(cDate, true);" /> <label for="date-yes"><?php _e('Yes'); ?></label>
|
388 |
<input type="radio" name="date" value="no" id="date-no" <?php echo ( isset($date_no_selected) ? $date_no_selected : '' ); ?> onclick="swTxt(cDate, false)" /> <label for="date-no"><?php _e('No'); ?>, <?php _e('only', DW_L10N_DOMAIN); ?>:</label><br />
|
@@ -398,33 +457,59 @@ label {
|
|
398 |
</tr>
|
399 |
</table>
|
400 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
401 |
|
402 |
-
|
403 |
-
|
404 |
-
<b><?php _e('Front Page', DW_L10N_DOMAIN); ?></b
|
405 |
-
|
|
|
406 |
<?php $DW->dumpOpt($opt_frontpage); ?>
|
407 |
<div>
|
408 |
-
<div id="frontpage" class="infotext">
|
409 |
<?php _e('This option only applies when your front page is set to display your latest posts (See Settings > Reading).<br />
|
410 |
When a static page is set, you can use the options for the static pages below.
|
411 |
', DW_L10N_DOMAIN); ?>
|
412 |
-
</div>
|
413 |
</div>
|
414 |
<input type="radio" name="front-page" value="yes" id="front-page-yes" <?php echo ( isset($frontpage_yes_selected) ? $frontpage_yes_selected : '' ); ?> /> <label for="front-page-yes"><?php _e('Yes'); ?></label>
|
415 |
<input type="radio" name="front-page" value="no" id="front-page-no" <?php echo ( isset($frontpage_no_selected) ? $frontpage_no_selected : '' ); ?> /> <label for="front-page-no"><?php _e('No'); ?></label>
|
|
|
|
|
416 |
|
417 |
-
|
418 |
-
|
419 |
-
<
|
420 |
-
<?php _e('Show widget default on single posts?', DW_L10N_DOMAIN)
|
421 |
<?php $DW->dumpOpt($opt_single); ?>
|
422 |
<div>
|
423 |
-
<div id="single" class="infotext">
|
424 |
<?php _e('When you use an author <b>AND</b> a category exception, both rules in the condition must be met. Otherwise the exception rule won\'t be applied.
|
425 |
If you want to use the rules in a logical OR condition. Add the same widget again and apply the other rule to that.
|
426 |
', DW_L10N_DOMAIN); ?>
|
427 |
-
</div>
|
428 |
</div>
|
429 |
<input type="radio" name="single" value="yes" id="single-yes" <?php echo ( isset($single_yes_selected) ? $single_yes_selected : '' ); ?> /> <label for="single-yes"><?php _e('Yes'); ?></label>
|
430 |
<input type="radio" name="single" value="no" id="single-no" <?php echo ( isset($single_no_selected) ? $single_no_selected : '' ); ?> /> <label for="single-no"><?php _e('No'); ?></label><br />
|
@@ -433,14 +518,14 @@ label {
|
|
433 |
<label for="individual"><?php _e('Make exception rule available to individual posts and tags.', DW_L10N_DOMAIN) ?> <?php echo ( isset($count_individual) ? $count_individual : '' ); ?></label>
|
434 |
<img src="<?php echo $DW->plugin_url; ?>img/info.gif" alt="info" title="Click to toggle info" onclick="divToggle('individual_post_tag')" />
|
435 |
<div>
|
436 |
-
<div id="individual_post_tag" class="infotext">
|
437 |
<?php _e('When you enable this option, you have the ability to apply the exception rule for <em>Single Posts</em> to tags and individual posts.
|
438 |
You can set the exception rule for tags in the single Edit Tag Panel (go to <a href="edit-tags.php?taxonomy=post_tag">Post Tags</a>,
|
439 |
click a tag), For individual posts in the <a href="post-new.php">New</a> or <a href="edit.php">Edit</a> Posts panel.
|
440 |
Exception rules for tags and individual posts in any combination work independantly, but will always be counted as one exception.<br />
|
441 |
Please note when exception rules are set for Author and/or Category, these will be removed.
|
442 |
', DW_L10N_DOMAIN); ?>
|
443 |
-
</div>
|
444 |
</div>
|
445 |
<?php foreach ( $single_post_act as $singlepost ) { ?>
|
446 |
<input type="hidden" name="single_post_act[]" value="<?php echo $singlepost; ?>" />
|
@@ -473,24 +558,84 @@ label {
|
|
473 |
</td>
|
474 |
</tr>
|
475 |
</table>
|
|
|
476 |
|
477 |
-
|
478 |
-
|
479 |
-
<
|
480 |
-
<?php _e('Show widget default on static pages?', DW_L10N_DOMAIN);
|
481 |
<?php $DW->dumpOpt($opt_page); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
482 |
<input type="radio" name="page" value="yes" id="page-yes" <?php echo ( isset($page_yes_selected) ? $page_yes_selected : '' ); ?> /> <label for="page-yes"><?php _e('Yes'); ?></label>
|
483 |
<input type="radio" name="page" value="no" id="page-no" <?php echo ( isset($page_no_selected) ? $page_no_selected : '' ); ?> /> <label for="page-no"><?php _e('No'); ?></label><br />
|
484 |
<?php _e('Except the page(s)', DW_L10N_DOMAIN); ?>:<br />
|
485 |
<div id="page-select" class="condition-select" <?php echo ( isset($page_condition_select_style) ? $page_condition_select_style : '' ); ?>>
|
486 |
-
|
487 |
-
|
488 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
489 |
</div>
|
490 |
|
491 |
-
|
492 |
|
493 |
-
|
|
|
|
|
494 |
<?php _e('Show widget default on author pages?', DW_L10N_DOMAIN); ?><br />
|
495 |
<?php $DW->dumpOpt($opt_author); ?>
|
496 |
<input type="radio" name="author" value="yes" id="author-yes" <?php echo ( isset($author_yes_selected) ? $author_yes_selected : '' ); ?> /> <label for="author-yes"><?php _e('Yes'); ?></label>
|
@@ -500,10 +645,11 @@ label {
|
|
500 |
<?php foreach ( $authors as $author ) { ?>
|
501 |
<input type="checkbox" id="author_act_<?php echo $author->ID; ?>" name="author_act[]" value="<?php echo $author->ID; ?>" <?php echo ( isset($author_act) && count($author_act) > 0 && in_array($author->ID,$author_act) ) ? 'checked="checked"' : ''; ?> /> <label for="author_act_<?php echo $author->ID; ?>"><?php echo $author->display_name; ?></label><br />
|
502 |
<?php } ?></div>
|
|
|
503 |
|
504 |
-
|
505 |
-
|
506 |
-
<
|
507 |
<?php _e('Show widget default on category pages?', DW_L10N_DOMAIN); ?><br />
|
508 |
<?php $DW->dumpOpt($opt_category); ?>
|
509 |
<input type="radio" name="category" value="yes" id="category-yes" <?php echo ( isset($category_yes_selected) ? $category_yes_selected : '' ); ?> /> <label for="category-yes"><?php _e('Yes'); ?></label>
|
@@ -514,65 +660,129 @@ label {
|
|
514 |
<input type="checkbox" id="cat_act_<?php echo $cat->cat_ID; ?>" name="category_act[]" value="<?php echo $cat->cat_ID; ?>" <?php echo ( isset($category_act) && count($category_act) > 0 && in_array($cat->cat_ID,$category_act) ) ? 'checked="checked"' : ''; ?> /> <label for="cat_act_<?php echo $cat->cat_ID; ?>"><?php echo $cat->name; ?></label><br />
|
515 |
<?php } ?>
|
516 |
</div>
|
|
|
517 |
|
518 |
-
|
519 |
-
|
520 |
-
<
|
521 |
-
<?php _e('Show widget on archive pages', DW_L10N_DOMAIN);
|
522 |
<?php $DW->dumpOpt($opt_archive); ?>
|
523 |
<div>
|
524 |
<div id="archive" class="infotext">
|
525 |
-
<?php _e('This option does not include Author and Category Pages.'); ?>
|
526 |
</div>
|
527 |
</div>
|
528 |
<input type="radio" name="archive" value="yes" id="archive-yes" <?php echo ( isset($archive_yes_selected) ? $archive_yes_selected : '' ); ?> /> <label for="archive-yes"><?php _e('Yes'); ?></label>
|
529 |
<input type="radio" name="archive" value="no" id="archive-no" <?php echo ( isset($archive_no_selected) ? $archive_no_selected : '' ); ?> /> <label for="archive-no"><?php _e('No'); ?></label>
|
530 |
|
531 |
-
|
532 |
|
533 |
-
|
|
|
|
|
534 |
<?php _e('Show widget on the error page?', DW_L10N_DOMAIN); ?><br />
|
535 |
<?php $DW->dumpOpt($opt_e404); ?>
|
536 |
<input type="radio" name="e404" value="yes" id="e404-yes" <?php echo ( isset($e404_yes_selected) ? $e404_yes_selected : '' ); ?> /> <label for="e404-yes"><?php _e('Yes'); ?></label>
|
537 |
<input type="radio" name="e404" value="no" id="e404-no" <?php echo ( isset($e404_no_selected) ? $e404_no_selected : '' ); ?> /> <label for="e404-no"><?php _e('No'); ?></label>
|
|
|
538 |
|
539 |
-
|
540 |
-
|
541 |
-
<
|
542 |
<?php _e('Show widget on the search page?', DW_L10N_DOMAIN); ?><br />
|
543 |
<?php $DW->dumpOpt($opt_search); ?>
|
544 |
<input type="radio" name="search" value="yes" id="search-yes" <?php echo ( isset($search_yes_selected) ? $search_yes_selected : '' ); ?> /> <label for="search-yes"><?php _e('Yes'); ?></label>
|
545 |
<input type="radio" name="search" value="no" id="search-no" <?php echo ( isset($search_no_selected) ? $search_no_selected : '' ); ?> /> <label for="search-no"><?php _e('No'); ?></label>
|
|
|
546 |
|
547 |
-
|
548 |
-
|
549 |
<?php
|
550 |
/* WordPress 3.0 and higher: Custom Post Types */
|
551 |
if ( version_compare($GLOBALS['wp_version'], '3.0', '>=') ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
552 |
$args = array(
|
553 |
'public' => TRUE,
|
554 |
'_builtin' => FALSE
|
555 |
);
|
556 |
$post_types = get_post_types($args, 'objects', 'and');
|
557 |
-
|
558 |
foreach ( $post_types as $type => $ctid ) {
|
559 |
// Prepare
|
560 |
$custom_yes_selected = 'checked="checked"';
|
561 |
$opt_custom = $DW->getOptions($_GET['id'], $type);
|
562 |
if ( count($opt_custom) > 0 ) {
|
563 |
$custom_act = array();
|
|
|
|
|
564 |
foreach ( $opt_custom as $custom_condition ) {
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
|
|
|
|
571 |
|
572 |
if ( $custom_default == '0' ) {
|
573 |
$custom_no_selected = $custom_yes_selected;
|
574 |
unset($custom_yes_selected);
|
575 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
576 |
}
|
577 |
|
578 |
$loop = new WP_Query( array('post_type' => $type) );
|
@@ -580,33 +790,47 @@ label {
|
|
580 |
$custom_condition_select_style = DW_LIST_STYLE;
|
581 |
}
|
582 |
|
|
|
|
|
|
|
583 |
// Output
|
|
|
|
|
|
|
584 |
echo '<input type="hidden" name="post_types[]" value="' . $type . '" />';
|
585 |
-
echo '<b>' . __('Custom Post Type') . ' <em>' . $ctid->label . '</em></b> ' . ( $DW->wpml ? $wpml_icon : '' ) . '<br />';
|
586 |
-
echo __('Show widget on', DW_L10N_DOMAIN) . ' ' . $ctid->label . '?<br />';
|
587 |
$DW->dumpOpt($opt_custom);
|
588 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
589 |
echo '<input type="radio" name="' . $type . '" value="no" id="' . $type . '-no" ' . ( isset($custom_no_selected) ? $custom_no_selected : '' ) . ' /> <label for="' . $type . '-no">' . __('No') . '</label><br />';
|
590 |
|
591 |
echo __('Except for') . ':<br />';
|
592 |
echo '<div id="' . $type . '-select" class="condition-select" ' . ( isset($custom_condition_select_style) ? $custom_condition_select_style : '' ) . '>';
|
593 |
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
echo ' /> <label for="' . $type . '_act_' . $loop->post->ID . '">';
|
598 |
-
the_title();
|
599 |
-
echo '</label><br />';
|
600 |
-
endwhile;
|
601 |
-
echo '</div>';
|
602 |
|
603 |
-
echo '
|
|
|
604 |
}
|
605 |
} // end version compare >= WP 3.0
|
|
|
606 |
|
|
|
|
|
|
|
607 |
if ( $DW->wpsc ) {
|
608 |
?>
|
609 |
-
<b><?php _e('WPSC Category', DW_L10N_DOMAIN); ?></b
|
|
|
610 |
<?php _e('Show widget default on WPSC categories?', DW_L10N_DOMAIN); ?><br />
|
611 |
<?php $DW->dumpOpt($opt_wpsc); ?>
|
612 |
<input type="radio" name="wpsc" value="yes" id="wpsc-yes" <?php echo ( isset($wpsc_yes_selected) ? $wpsc_yes_selected : '' ); ?> /> <label for="wpsc-yes"><?php _e('Yes'); ?></label>
|
@@ -617,38 +841,45 @@ label {
|
|
617 |
<input type="checkbox" id="wpsc_act_<?php echo $id; ?>" name="wpsc_act[]" value="<?php echo $id; ?>" <?php echo ( count($wpsc_act) > 0 && in_array($id, $wpsc_act) ) ? 'checked="checked"' : ''; ?> /> <label for="wpsc_act_<?php echo $id; ?>"><?php echo $cat; ?></label><br />
|
618 |
<?php } ?>
|
619 |
</div>
|
620 |
-
|
621 |
<?php
|
622 |
-
} // DW->wpsc
|
623 |
?>
|
624 |
|
625 |
-
|
626 |
-
</form>
|
627 |
|
|
|
|
|
|
|
|
|
628 |
<?php $url = (! empty($_GET['returnurl']) ) ? urldecode($_GET['returnurl']) : trailingslashit(admin_url()) . 'themes.php?page=dynwid-config'; ?>
|
629 |
-
<
|
|
|
|
|
|
|
|
|
630 |
|
631 |
<script type="text/javascript">
|
632 |
function chkInPosts() {
|
633 |
var posts = <?php echo count($single_post_act); ?>;
|
634 |
var tags = <?php echo count($single_tag_act); ?>;
|
635 |
|
636 |
-
if ( (posts > 0 || tags > 0) &&
|
637 |
if ( confirm('Are you sure you want to disable the exception rule for individual posts and tags?\nThis will remove the options set to individual posts and/or tags for this widget.\nOk = Yes; No = Cancel') ) {
|
638 |
swChb(cAuthors, false);
|
639 |
swChb(cCat, false);
|
640 |
} else {
|
641 |
-
|
642 |
}
|
643 |
-
} else if ( icount > 0 &&
|
644 |
if ( confirm('Are you sure you want to enable the exception rule for individual posts and tags?\nThis will remove the exceptions set for Author and/or Category on single posts for this widget.\nOk = Yes; No = Cancel') ) {
|
645 |
swChb(cAuthors, true);
|
646 |
swChb(cCat, true);
|
647 |
icount = 0;
|
648 |
} else {
|
649 |
-
|
650 |
}
|
651 |
-
} else if (
|
652 |
swChb(cAuthors, true);
|
653 |
swChb(cCat, true);
|
654 |
} else {
|
@@ -657,8 +888,32 @@ label {
|
|
657 |
}
|
658 |
}
|
659 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
660 |
function ci(id) {
|
661 |
-
if (
|
662 |
icount++;
|
663 |
} else {
|
664 |
icount--;
|
@@ -682,7 +937,7 @@ label {
|
|
682 |
jQuery(id).datepicker('show');
|
683 |
});
|
684 |
} else {
|
685 |
-
|
686 |
swTxt(cDate, false);
|
687 |
showCalendar(id);
|
688 |
}
|
@@ -691,18 +946,18 @@ label {
|
|
691 |
function swChb(c, s) {
|
692 |
for ( i = 0; i < c.length; i++ ) {
|
693 |
if ( s == true ) {
|
694 |
-
|
695 |
}
|
696 |
-
|
697 |
}
|
698 |
}
|
699 |
|
700 |
function swTxt(c, s) {
|
701 |
for ( i = 0; i < c.length; i++ ) {
|
702 |
if ( s == true ) {
|
703 |
-
|
704 |
}
|
705 |
-
|
706 |
}
|
707 |
}
|
708 |
|
@@ -712,14 +967,21 @@ label {
|
|
712 |
var cDate = new Array('date_start', 'date_end');
|
713 |
var icount = <?php echo $js_count; ?>;
|
714 |
|
715 |
-
if (
|
716 |
swChb(cRole, true);
|
717 |
}
|
718 |
-
if (
|
719 |
swTxt(cDate, true);
|
720 |
}
|
721 |
-
if (
|
722 |
swChb(cAuthors, true);
|
723 |
swChb(cCat, true);
|
724 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
725 |
</script>
|
2 |
/**
|
3 |
* dynwid_admin_edit.php - Options settings
|
4 |
*
|
5 |
+
* @version $Id: dynwid_admin_edit.php 325507 2010-12-22 21:01:50Z qurl $
|
6 |
*/
|
7 |
|
8 |
// WPML Plugin support
|
9 |
if ( defined('ICL_PLUGIN_PATH') && file_exists(ICL_PLUGIN_PATH . DW_WPML_API) ) {
|
10 |
$DW->wpml = TRUE;
|
11 |
$wpml_icon = '<img src="' . $DW->plugin_url . DW_WPML_ICON . '" alt="WMPL" title="Dynamic Widgets syncs with other languages of these pages via WPML" />';
|
12 |
+
$wpml_api = ICL_PLUGIN_PATH . DW_WPML_API;
|
13 |
+
require_once($wpml_api);
|
14 |
}
|
15 |
|
16 |
// WPSC/WPEC Plugin support (http://getshopped.org)
|
70 |
}
|
71 |
|
72 |
// Front Page
|
73 |
+
if ( get_option('show_on_front') != 'page' ) {
|
|
|
|
|
|
|
74 |
$frontpage_yes_selected = 'checked="checked"';
|
75 |
$opt_frontpage = $DW->getOptions($_GET['id'], 'front-page');
|
76 |
if ( count($opt_frontpage) > 0 ) {
|
160 |
if ( count($opt_page) > 0 ) {
|
161 |
$page_act = array();
|
162 |
foreach ( $opt_page as $page_condition ) {
|
163 |
+
if ( $page_condition['maintype'] == 'page' ) {
|
164 |
+
if ( $page_condition['name'] == 'default' || empty($page_condition['name']) ) {
|
165 |
+
$page_default = $page_condition['value'];
|
166 |
+
} else {
|
167 |
+
$page_act[ ] = $page_condition['name'];
|
168 |
+
}
|
169 |
+
}
|
170 |
}
|
171 |
|
172 |
if ( $page_default == '0' ) {
|
173 |
$page_no_selected = $page_yes_selected;
|
174 |
unset($page_yes_selected);
|
175 |
}
|
176 |
+
|
177 |
+
// -- Childs
|
178 |
+
$opt_page_childs = $DW->getOptions($_GET['id'], 'page-childs');
|
179 |
+
if ( count($opt_page_childs) > 0 ) {
|
180 |
+
$page_childs_act = array();
|
181 |
+
foreach ( $opt_page_childs as $child_condition ) {
|
182 |
+
if ( $child_condition['name'] != 'default' ) {
|
183 |
+
$page_childs_act[ ] = $child_condition['name'];
|
184 |
+
}
|
185 |
+
}
|
186 |
+
}
|
187 |
}
|
188 |
|
189 |
$pages = get_pages();
|
191 |
$page_condition_select_style = DW_LIST_STYLE;
|
192 |
}
|
193 |
|
194 |
+
$static_page = array();
|
195 |
if ( get_option('show_on_front') == 'page' ) {
|
196 |
if ( get_option('page_on_front') == get_option('page_for_posts') ) {
|
197 |
$id = get_option('page_on_front');
|
285 |
}
|
286 |
}
|
287 |
|
288 |
+
// WPML
|
289 |
+
if ( $DW->wpml ) {
|
290 |
+
$wpml_yes_selected = 'checked="checked"';
|
291 |
+
$opt_wpml = $DW->getOptions($_GET['id'], 'wpml');
|
292 |
+
if ( count($opt_wpml) > 0 ) {
|
293 |
+
$wpml_act = array();
|
294 |
+
foreach ( $opt_wpml as $wpml_condition ) {
|
295 |
+
if ( $wpml_condition['name'] == 'default' || empty($wpml_condition['name']) ) {
|
296 |
+
$wpml_default = $wpml_condition['value'];
|
297 |
+
} else {
|
298 |
+
$wpml_act[ ] = $wpml_condition['name'];
|
299 |
+
}
|
300 |
+
}
|
301 |
+
|
302 |
+
if ( $wpml_default == '0' ) {
|
303 |
+
$wpml_no_selected = $wpml_yes_selected;
|
304 |
+
unset($wpml_yes_selected);
|
305 |
+
}
|
306 |
+
}
|
307 |
+
|
308 |
+
$wpml_langs = wpml_get_active_languages();
|
309 |
+
if ( count($wpml_langs) > DW_LIST_LIMIT ) {
|
310 |
+
$wpml_condition_select_style = DW_LIST_STYLE;
|
311 |
+
}
|
312 |
+
}
|
313 |
+
|
314 |
// WPSC/WPEC
|
315 |
if ( $DW->wpsc ) {
|
316 |
// Categories
|
362 |
color : #666666;
|
363 |
font-style : italic;
|
364 |
}
|
365 |
+
|
366 |
+
h4 {
|
367 |
+
text-indent : 30px;
|
368 |
+
}
|
369 |
+
|
370 |
+
.hasoptions {
|
371 |
+
color : #ff0000;
|
372 |
+
}
|
373 |
+
|
374 |
+
#dynwid {
|
375 |
+
font-family : 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif;
|
376 |
+
font-size : 13px;
|
377 |
+
}
|
378 |
+
|
379 |
+
.ui-datepicker {
|
380 |
+
font-size : 10px;
|
381 |
+
}
|
382 |
</style>
|
383 |
|
384 |
<?php if ( isset($_POST['dynwid_save']) && $_POST['dynwid_save'] == 'yes' ) { ?>
|
385 |
<div class="updated fade" id="message">
|
386 |
<p>
|
387 |
+
<strong><?php _e('Widget options saved.', DW_L10N_DOMAIN); ?></strong> <a href="themes.php?page=dynwid-config"><?php _e('Return', DW_L10N_DOMAIN); ?></a> <?php _e('to Dynamic Widgets overview', DW_L10N_DOMAIN); ?>.
|
388 |
</p>
|
389 |
</div>
|
390 |
<?php } else if ( isset($_GET['work']) && $_GET['work'] == 'none' ) { ?>
|
407 |
<input type="hidden" name="widget_id" value="<?php echo $_GET['id']; ?>" />
|
408 |
<input type="hidden" name="returnurl" value="<?php echo ( isset($_GET['returnurl']) ? urldecode($_GET['returnurl']) : '' ); ?>" />
|
409 |
|
410 |
+
<!-- Role //-->
|
411 |
+
<div id="dynwid">
|
412 |
+
<h4><b><?php _e('Role'); ?></b><?php echo ( count($opt_role) > 0 ? ' <span class="hasoptions">*</span>' : '' ); ?></h4>
|
413 |
+
<div class="dynwid_conf">
|
414 |
+
<?php _e('Show widget to everybody?', DW_L10N_DOMAIN); ?> <img src="<?php echo $DW->plugin_url; ?>img/info.gif" alt="info" onclick="divToggle('role');" /><br />
|
415 |
<?php $DW->dumpOpt($opt_role); ?>
|
416 |
<div>
|
417 |
+
<div id="role" class="infotext">
|
418 |
<?php _e('Setting options by role is very powerfull. It can override all other options!<br />
|
419 |
Users who are not logged in, get the <em>Anonymous</em> role.', DW_L10N_DOMAIN); ?>
|
420 |
+
</div>
|
421 |
</div>
|
422 |
<input type="radio" name="role" value="yes" id="role-yes" <?php echo ( isset($role_yes_selected) ? $role_yes_selected : '' ); ?> onclick="swChb(cRole, true);" /> <label for="role-yes"><?php _e('Yes'); ?></label>
|
423 |
<input type="radio" name="role" value="no" id="role-no" <?php echo ( isset($role_no_selected) ? $role_no_selected : '' ); ?> onclick="swChb(cRole, false)" /> <label for="role-no"><?php _e('No'); ?>, <?php _e('only to', DW_L10N_DOMAIN); ?>:</label><br />
|
426 |
<input type="checkbox" id="role_act_<?php echo $rid; ?>" name="role_act[]" value="<?php echo $rid; ?>" <?php echo ( isset($role_act) && count($role_act) > 0 && in_array($rid, $role_act) ) ? 'checked="checked"' : ''; ?> /> <label for="role_act_<?php echo $rid; ?>"><?php echo $role; ?></label><br />
|
427 |
<?php } ?>
|
428 |
</div>
|
429 |
+
</div><!-- end dynwid_conf -->
|
430 |
|
431 |
+
<!-- Date //-->
|
432 |
+
<h4><b><?php _e('Date'); ?></b><?php echo ( count($opt_date) > 0 ? ' <span class="hasoptions">*</span>' : '' ); ?></h4>
|
433 |
+
<div class="dynwid_conf">
|
434 |
+
<?php _e('Show widget always?', DW_L10N_DOMAIN); ?> <img src="<?php echo $DW->plugin_url; ?>img/info.gif" alt="info" onclick="divToggle('date');" /><br />
|
435 |
<?php $DW->dumpOpt($opt_date); ?>
|
436 |
<div>
|
437 |
+
<div id="date" class="infotext">
|
438 |
<?php _e('Next to the above role option, the date option is also very powerfull. You\'ve been warned!', DW_L10N_DOMAIN); ?><br />
|
439 |
+
<?php _e('Enter dates in the YYYY-MM-DD format. You can also use the calender by clicking on the', DW_L10N_DOMAIN); ?> <img src="<?php echo $DW->plugin_url; ?>img/calendar.gif" alt="Calendar" /><br />
|
440 |
<?php _e('Date ranges can be made by entering a From AND a To date<br />
|
441 |
When you want the widget to be displayed from a specific date, only fill in the From date<br />
|
442 |
When you want the widget to stop displaying on a specific date, only fill in the To date.
|
443 |
', DW_L10N_DOMAIN); ?>
|
444 |
+
</div>
|
445 |
</div>
|
446 |
<input type="radio" name="date" value="yes" id="date-yes" <?php echo ( isset($date_yes_selected) ? $date_yes_selected : '' ); ?> onclick="swTxt(cDate, true);" /> <label for="date-yes"><?php _e('Yes'); ?></label>
|
447 |
<input type="radio" name="date" value="no" id="date-no" <?php echo ( isset($date_no_selected) ? $date_no_selected : '' ); ?> onclick="swTxt(cDate, false)" /> <label for="date-no"><?php _e('No'); ?>, <?php _e('only', DW_L10N_DOMAIN); ?>:</label><br />
|
457 |
</tr>
|
458 |
</table>
|
459 |
</div>
|
460 |
+
</div><!-- end dynwid_conf -->
|
461 |
+
|
462 |
+
<!-- Language (WPML) //-->
|
463 |
+
<?php if ( $DW->wpml ) { /* WPML */ ?>
|
464 |
+
<h4><b><?php _e('Language (WPML)', DW_L10N_DOMAIN); ?></b><?php echo ( count($opt_wpml) > 0 ? ' <span class="hasoptions">*</span>' : '' ); ?></h4>
|
465 |
+
<div class="dynwid_conf">
|
466 |
+
<?php _e('Show widget default on all languages?', DW_L10N_DOMAIN); ?> <img src="<?php echo $DW->plugin_url; ?>img/info.gif" alt="info" onclick="divToggle('wpml');" /><br /><br />
|
467 |
+
<?php $DW->dumpOpt($opt_wpml); ?>
|
468 |
+
<div>
|
469 |
+
<div id="wpml" class="infotext">
|
470 |
+
<?php _e('Using this option can override all other options.'); ?><br />
|
471 |
+
</div>
|
472 |
+
</div>
|
473 |
+
<input type="radio" name="wpml" value="yes" id="wpml-yes" <?php echo ( isset($wpml_yes_selected) ? $wpml_yes_selected : '' ); ?> /> <label for="wpml-yes"><?php _e('Yes'); ?></label>
|
474 |
+
<input type="radio" name="wpml" value="no" id="wpml-no" <?php echo ( isset($wpml_no_selected) ? $wpml_no_selected : '' ); ?> /> <label for="wpml-no"><?php _e('No'); ?></label><br />
|
475 |
+
<?php _e('Except the languages', DW_L10N_DOMAIN); ?>:<br />
|
476 |
+
<div id="wpml-select" class="condition-select" <?php echo ( isset($wpml_condition_select_style) ? $wpml_condition_select_style : '' ); ?>>
|
477 |
+
<?php foreach ( $wpml_langs as $code => $lang ) { ?>
|
478 |
+
<input type="checkbox" id="wpml_act_<?php echo $lang['code']; ?>" name="wpml_act[]" value="<?php echo $lang['code']; ?>" <?php echo ( count($wpml_act) > 0 && in_array($lang['code'], $wpml_act) ) ? 'checked="checked"' : ''; ?> /> <label for="wpml_act_<?php echo $lang['code']; ?>"><?php echo $lang['display_name']; ?></label><br />
|
479 |
+
<?php } ?>
|
480 |
+
</div>
|
481 |
+
</div><!-- end dynwid_conf -->
|
482 |
+
<?php } ?>
|
483 |
|
484 |
+
<!-- Front Page //-->
|
485 |
+
<?php if ( get_option('show_on_front') != 'page' ) { ?>
|
486 |
+
<h4><b><?php _e('Front Page', DW_L10N_DOMAIN); ?></b><?php echo ( count($opt_frontpage) > 0 ? ' <span class="hasoptions">*</span>' : '' ); ?></h4>
|
487 |
+
<div class="dynwid_conf">
|
488 |
+
<?php _e('Show widget on the front page?', DW_L10N_DOMAIN) ?> <img src="<?php echo $DW->plugin_url; ?>img/info.gif" alt="info" onclick="divToggle('frontpage');" /><br />
|
489 |
<?php $DW->dumpOpt($opt_frontpage); ?>
|
490 |
<div>
|
491 |
+
<div id="frontpage" class="infotext">
|
492 |
<?php _e('This option only applies when your front page is set to display your latest posts (See Settings > Reading).<br />
|
493 |
When a static page is set, you can use the options for the static pages below.
|
494 |
', DW_L10N_DOMAIN); ?>
|
495 |
+
</div>
|
496 |
</div>
|
497 |
<input type="radio" name="front-page" value="yes" id="front-page-yes" <?php echo ( isset($frontpage_yes_selected) ? $frontpage_yes_selected : '' ); ?> /> <label for="front-page-yes"><?php _e('Yes'); ?></label>
|
498 |
<input type="radio" name="front-page" value="no" id="front-page-no" <?php echo ( isset($frontpage_no_selected) ? $frontpage_no_selected : '' ); ?> /> <label for="front-page-no"><?php _e('No'); ?></label>
|
499 |
+
</div><!-- end dynwid_conf -->
|
500 |
+
<?php } ?>
|
501 |
|
502 |
+
<!-- Single Posts //-->
|
503 |
+
<h4><b><?php _e('Single Posts', DW_L10N_DOMAIN); ?></b><?php echo ( count($opt_single) > 0 || count($opt_single_author) > 0 || count($opt_single_category) > 0 || count($opt_single_post) > 0 || count($opt_single_tag) > 0 ? ' <span class="hasoptions">*</span>' : '' ); ?></h4>
|
504 |
+
<div class="dynwid_conf">
|
505 |
+
<?php _e('Show widget default on single posts?', DW_L10N_DOMAIN) ?> <img src="<?php echo $DW->plugin_url; ?>img/info.gif" alt="info" title="Click to toggle info" onclick="divToggle('single')" /><br />
|
506 |
<?php $DW->dumpOpt($opt_single); ?>
|
507 |
<div>
|
508 |
+
<div id="single" class="infotext">
|
509 |
<?php _e('When you use an author <b>AND</b> a category exception, both rules in the condition must be met. Otherwise the exception rule won\'t be applied.
|
510 |
If you want to use the rules in a logical OR condition. Add the same widget again and apply the other rule to that.
|
511 |
', DW_L10N_DOMAIN); ?>
|
512 |
+
</div>
|
513 |
</div>
|
514 |
<input type="radio" name="single" value="yes" id="single-yes" <?php echo ( isset($single_yes_selected) ? $single_yes_selected : '' ); ?> /> <label for="single-yes"><?php _e('Yes'); ?></label>
|
515 |
<input type="radio" name="single" value="no" id="single-no" <?php echo ( isset($single_no_selected) ? $single_no_selected : '' ); ?> /> <label for="single-no"><?php _e('No'); ?></label><br />
|
518 |
<label for="individual"><?php _e('Make exception rule available to individual posts and tags.', DW_L10N_DOMAIN) ?> <?php echo ( isset($count_individual) ? $count_individual : '' ); ?></label>
|
519 |
<img src="<?php echo $DW->plugin_url; ?>img/info.gif" alt="info" title="Click to toggle info" onclick="divToggle('individual_post_tag')" />
|
520 |
<div>
|
521 |
+
<div id="individual_post_tag" class="infotext">
|
522 |
<?php _e('When you enable this option, you have the ability to apply the exception rule for <em>Single Posts</em> to tags and individual posts.
|
523 |
You can set the exception rule for tags in the single Edit Tag Panel (go to <a href="edit-tags.php?taxonomy=post_tag">Post Tags</a>,
|
524 |
click a tag), For individual posts in the <a href="post-new.php">New</a> or <a href="edit.php">Edit</a> Posts panel.
|
525 |
Exception rules for tags and individual posts in any combination work independantly, but will always be counted as one exception.<br />
|
526 |
Please note when exception rules are set for Author and/or Category, these will be removed.
|
527 |
', DW_L10N_DOMAIN); ?>
|
528 |
+
</div>
|
529 |
</div>
|
530 |
<?php foreach ( $single_post_act as $singlepost ) { ?>
|
531 |
<input type="hidden" name="single_post_act[]" value="<?php echo $singlepost; ?>" />
|
558 |
</td>
|
559 |
</tr>
|
560 |
</table>
|
561 |
+
</div><!-- end dynwid_conf -->
|
562 |
|
563 |
+
<!-- Pages //-->
|
564 |
+
<h4><b><?php _e('Pages'); ?></b> <?php echo ( count($opt_page) > 0 ? ' <span class="hasoptions">*</span>' : '' ) . ( $DW->wpml ? $wpml_icon : '' ); ?></h4>
|
565 |
+
<div class="dynwid_conf">
|
566 |
+
<?php _e('Show widget default on static pages?', DW_L10N_DOMAIN); ?> <img src="<?php echo $DW->plugin_url; ?>img/info.gif" alt="info" onclick="divToggle('pages');" /><br />
|
567 |
<?php $DW->dumpOpt($opt_page); ?>
|
568 |
+
<div>
|
569 |
+
<div id="pages" class="infotext">
|
570 |
+
<?php
|
571 |
+
$childs_infotext = __('Checking the "All childs" option, makes the exception rule apply
|
572 |
+
to the parent and all items under it in all levels. Also future items
|
573 |
+
under the parent. It\'s not possible to apply an exception rule to
|
574 |
+
"All childs" without the parent.', DW_L10N_DOMAIN);
|
575 |
+
echo $childs_infotext;
|
576 |
+
?>
|
577 |
+
</div>
|
578 |
+
</div>
|
579 |
<input type="radio" name="page" value="yes" id="page-yes" <?php echo ( isset($page_yes_selected) ? $page_yes_selected : '' ); ?> /> <label for="page-yes"><?php _e('Yes'); ?></label>
|
580 |
<input type="radio" name="page" value="no" id="page-no" <?php echo ( isset($page_no_selected) ? $page_no_selected : '' ); ?> /> <label for="page-no"><?php _e('No'); ?></label><br />
|
581 |
<?php _e('Except the page(s)', DW_L10N_DOMAIN); ?>:<br />
|
582 |
<div id="page-select" class="condition-select" <?php echo ( isset($page_condition_select_style) ? $page_condition_select_style : '' ); ?>>
|
583 |
+
<div style="position:relative;left:-15px">
|
584 |
+
<?php
|
585 |
+
function getPageChilds($arr, $id, $i) {
|
586 |
+
$pg = get_pages('child_of=' . $id);
|
587 |
+
foreach ($pg as $p ) {
|
588 |
+
if (! in_array($p->ID, $i) ) {
|
589 |
+
$i[ ] = $p->ID;
|
590 |
+
$arr[$p->ID] = array();
|
591 |
+
$a = &$arr[$p->ID];
|
592 |
+
$a = getPageChilds($a, $p->ID, &$i);
|
593 |
+
}
|
594 |
+
}
|
595 |
+
return $arr;
|
596 |
+
}
|
597 |
+
$pagemap = getPageChilds(array(), 0, array());
|
598 |
+
|
599 |
+
// Creating childmap
|
600 |
+
function childPageMap($arr, $id) {
|
601 |
+
$pg = get_pages('child_of=' . $id);
|
602 |
+
foreach ($pg as $p ) {
|
603 |
+
$i[ ] = $p->ID;
|
604 |
+
$arr[$p->ID] = array();
|
605 |
+
$a = &$arr[$p->ID];
|
606 |
+
$a = childPageMap($a, $p->ID);
|
607 |
+
}
|
608 |
+
return $arr;
|
609 |
+
}
|
610 |
+
$childmap = childPageMap(array(), 0);
|
611 |
+
|
612 |
+
function prtPgs($pages, $childmap, $page_act, $page_childs_act, $static_page) {
|
613 |
+
foreach ( $pages as $pid => $childs ) {
|
614 |
+
$page = get_page($pid);
|
615 |
+
|
616 |
+
echo '<div style="position:relative;left:15px;">';
|
617 |
+
echo '<input type="checkbox" id="page_act_' . $page->ID . '" name="page_act[]" value="' . $page->ID . '" ' . ( isset($page_act) && count($page_act) > 0 && in_array($page->ID, $page_act) ? 'checked="checked"' : '' ) . ' onchange="chkChild(' . $pid . ')" /> <label for="page_act_' . $page->ID . '">' . $page->post_title . ' ' . ( get_option('show_on_front') == 'page' && isset($static_page[$page->ID]) ? '(' . $static_page[$page->ID] . ')' : '' ) . '</label><br />';
|
618 |
+
|
619 |
+
echo '<div style="position:relative;left:15px;">';
|
620 |
+
echo '<input type="checkbox" id="child_' . $pid . '" name="page_childs_act[]" value="' . $pid . '" ' . ( isset($page_childs_act) && count($page_childs_act) > 0 && in_array($pid, $page_childs_act) ? 'checked="checked"' : '' ) . ' onchange="chkParent(' . $pid . ')" /> <label for="child_' . $pid . '"><em>' . __('All childs', DW_L10N_DOMAIN) . '</em></label><br />';
|
621 |
+
echo '</div>';
|
622 |
+
|
623 |
+
if ( count($childs) > 0 ) {
|
624 |
+
prtPgs($childs, $childmap, $page_act, $page_childs_act, $static_page);
|
625 |
+
}
|
626 |
+
echo '</div>';
|
627 |
+
}
|
628 |
+
}
|
629 |
+
prtPgs($pagemap, $childmap, $page_act, $page_childs_act, $static_page);
|
630 |
+
?>
|
631 |
+
</div>
|
632 |
</div>
|
633 |
|
634 |
+
</div><!-- end dynwid_conf -->
|
635 |
|
636 |
+
<!-- Author Pages //-->
|
637 |
+
<h4><b><?php _e('Author Pages', DW_L10N_DOMAIN); ?></b><?php echo ( count($opt_author) > 0 ? ' <span class="hasoptions">*</span>' : '' ); ?></h4>
|
638 |
+
<div class="dynwid_conf">
|
639 |
<?php _e('Show widget default on author pages?', DW_L10N_DOMAIN); ?><br />
|
640 |
<?php $DW->dumpOpt($opt_author); ?>
|
641 |
<input type="radio" name="author" value="yes" id="author-yes" <?php echo ( isset($author_yes_selected) ? $author_yes_selected : '' ); ?> /> <label for="author-yes"><?php _e('Yes'); ?></label>
|
645 |
<?php foreach ( $authors as $author ) { ?>
|
646 |
<input type="checkbox" id="author_act_<?php echo $author->ID; ?>" name="author_act[]" value="<?php echo $author->ID; ?>" <?php echo ( isset($author_act) && count($author_act) > 0 && in_array($author->ID,$author_act) ) ? 'checked="checked"' : ''; ?> /> <label for="author_act_<?php echo $author->ID; ?>"><?php echo $author->display_name; ?></label><br />
|
647 |
<?php } ?></div>
|
648 |
+
</div><!-- end dynwid_conf -->
|
649 |
|
650 |
+
<!-- Category Pages //-->
|
651 |
+
<h4><b><?php _e('Category Pages', DW_L10N_DOMAIN); ?></b> <?php echo ( count($opt_category) > 0 ? ' <span class="hasoptions">*</span>' : '' ) . ( $DW->wpml ? $wpml_icon : '' ); ?></h4>
|
652 |
+
<div class="dynwid_conf">
|
653 |
<?php _e('Show widget default on category pages?', DW_L10N_DOMAIN); ?><br />
|
654 |
<?php $DW->dumpOpt($opt_category); ?>
|
655 |
<input type="radio" name="category" value="yes" id="category-yes" <?php echo ( isset($category_yes_selected) ? $category_yes_selected : '' ); ?> /> <label for="category-yes"><?php _e('Yes'); ?></label>
|
660 |
<input type="checkbox" id="cat_act_<?php echo $cat->cat_ID; ?>" name="category_act[]" value="<?php echo $cat->cat_ID; ?>" <?php echo ( isset($category_act) && count($category_act) > 0 && in_array($cat->cat_ID,$category_act) ) ? 'checked="checked"' : ''; ?> /> <label for="cat_act_<?php echo $cat->cat_ID; ?>"><?php echo $cat->name; ?></label><br />
|
661 |
<?php } ?>
|
662 |
</div>
|
663 |
+
</div><!-- end dynwid_conf -->
|
664 |
|
665 |
+
<!-- Archive Pages //-->
|
666 |
+
<h4><b><?php _e('Archive Pages', DW_L10N_DOMAIN); ?></b><?php echo ( count($opt_archive) > 0 ? ' <span class="hasoptions">*</span>' : '' ); ?></h4>
|
667 |
+
<div class="dynwid_conf">
|
668 |
+
<?php _e('Show widget on archive pages', DW_L10N_DOMAIN); ?>? <img src="<?php echo $DW->plugin_url; ?>img/info.gif" alt="info" title="Click to toggle info" onclick="divToggle('archive')" /><br />
|
669 |
<?php $DW->dumpOpt($opt_archive); ?>
|
670 |
<div>
|
671 |
<div id="archive" class="infotext">
|
672 |
+
<?php _e('This option does not include Author and Category Pages.', DW_L10N_DOMAIN); ?>
|
673 |
</div>
|
674 |
</div>
|
675 |
<input type="radio" name="archive" value="yes" id="archive-yes" <?php echo ( isset($archive_yes_selected) ? $archive_yes_selected : '' ); ?> /> <label for="archive-yes"><?php _e('Yes'); ?></label>
|
676 |
<input type="radio" name="archive" value="no" id="archive-no" <?php echo ( isset($archive_no_selected) ? $archive_no_selected : '' ); ?> /> <label for="archive-no"><?php _e('No'); ?></label>
|
677 |
|
678 |
+
</div><!-- end dynwid_conf -->
|
679 |
|
680 |
+
<!-- Error Page //-->
|
681 |
+
<h4><b><?php _e('Error Page', DW_L10N_DOMAIN); ?></b><?php echo ( count($opt_e404) > 0 ? ' <span class="hasoptions">*</span>' : '' ); ?></h4>
|
682 |
+
<div class="dynwid_conf">
|
683 |
<?php _e('Show widget on the error page?', DW_L10N_DOMAIN); ?><br />
|
684 |
<?php $DW->dumpOpt($opt_e404); ?>
|
685 |
<input type="radio" name="e404" value="yes" id="e404-yes" <?php echo ( isset($e404_yes_selected) ? $e404_yes_selected : '' ); ?> /> <label for="e404-yes"><?php _e('Yes'); ?></label>
|
686 |
<input type="radio" name="e404" value="no" id="e404-no" <?php echo ( isset($e404_no_selected) ? $e404_no_selected : '' ); ?> /> <label for="e404-no"><?php _e('No'); ?></label>
|
687 |
+
</div><!-- end dynwid_conf -->
|
688 |
|
689 |
+
<!-- Search Page //-->
|
690 |
+
<h4><b><?php _e('Search Page', DW_L10N_DOMAIN); ?></b><?php echo ( count($opt_search) > 0 ? ' <span class="hasoptions">*</span>' : '' ); ?></h4>
|
691 |
+
<div class="dynwid_conf">
|
692 |
<?php _e('Show widget on the search page?', DW_L10N_DOMAIN); ?><br />
|
693 |
<?php $DW->dumpOpt($opt_search); ?>
|
694 |
<input type="radio" name="search" value="yes" id="search-yes" <?php echo ( isset($search_yes_selected) ? $search_yes_selected : '' ); ?> /> <label for="search-yes"><?php _e('Yes'); ?></label>
|
695 |
<input type="radio" name="search" value="no" id="search-no" <?php echo ( isset($search_no_selected) ? $search_no_selected : '' ); ?> /> <label for="search-no"><?php _e('No'); ?></label>
|
696 |
+
</div><!-- end dynwid_conf -->
|
697 |
|
698 |
+
<!-- Custom Post Type //-->
|
|
|
699 |
<?php
|
700 |
/* WordPress 3.0 and higher: Custom Post Types */
|
701 |
if ( version_compare($GLOBALS['wp_version'], '3.0', '>=') ) {
|
702 |
+
function getCPostChilds($type, $arr, $id, $i) {
|
703 |
+
$post = get_posts('post_type=' . $type . '&post_parent=' . $id);
|
704 |
+
foreach ($post as $p ) {
|
705 |
+
if (! in_array($p->ID, $i) ) {
|
706 |
+
$i[ ] = $p->ID;
|
707 |
+
$arr[$p->ID] = array();
|
708 |
+
$a = &$arr[$p->ID];
|
709 |
+
$a = getCPostChilds($type, $a, $p->ID, &$i);
|
710 |
+
}
|
711 |
+
}
|
712 |
+
return $arr;
|
713 |
+
}
|
714 |
+
|
715 |
+
function childCPostMap($type, $arr, $id) {
|
716 |
+
$post = get_posts('post_type=' . $type . '&post_parent=' . $id);
|
717 |
+
foreach ($post as $p ) {
|
718 |
+
$i[ ] = $p->ID;
|
719 |
+
$arr[$p->ID] = array();
|
720 |
+
$a = &$arr[$p->ID];
|
721 |
+
$a = childCPostMap($type, $a, $p->ID);
|
722 |
+
}
|
723 |
+
return $arr;
|
724 |
+
}
|
725 |
+
|
726 |
+
function prtCPost($type, $ctid, $posts, $childmap, $posts_act, $posts_childs_act) {
|
727 |
+
foreach ( $posts as $pid => $childs ) {
|
728 |
+
$post = get_post($pid);
|
729 |
+
|
730 |
+
echo '<div style="position:relative;left:15px;">';
|
731 |
+
echo '<input type="checkbox" id="' . $type . '_act_' . $post->ID . '" name="' . $type . '_act[]" value="' . $post->ID . '" ' . ( isset($posts_act) && count($posts_act) > 0 && in_array($post->ID, $posts_act) ? 'checked="checked"' : '' ) . ' onchange="chkCPChild(\'' . $type . '\',' . $pid . ')" /> <label for="' . $type . '_act_' . $post->ID . '">' . $post->post_title . '</label><br />';
|
732 |
+
|
733 |
+
if ( $ctid->hierarchical ) {
|
734 |
+
echo '<div style="position:relative;left:15px;">';
|
735 |
+
echo '<input type="checkbox" id="' . $type . '_child_' . $pid . '" name="' . $type . '_childs_act[]" value="' . $pid . '" ' . ( isset($posts_childs_act) && count($posts_childs_act) > 0 && in_array($pid, $posts_childs_act) ? 'checked="checked"' : '' ) . ' onchange="chkCPParent(\'' . $type . '\',' . $pid . ')" /> <label for="' . $type . '_child_' . $pid . '"><em>' . __('All childs', DW_L10N_DOMAIN) . '</em></label><br />';
|
736 |
+
echo '</div>';
|
737 |
+
}
|
738 |
+
|
739 |
+
if ( count($childs) > 0 ) {
|
740 |
+
prtCPost($type, $ctid, $childs, $childmap, $posts_act, $posts_childs_act);
|
741 |
+
}
|
742 |
+
echo '</div>';
|
743 |
+
}
|
744 |
+
}
|
745 |
+
|
746 |
$args = array(
|
747 |
'public' => TRUE,
|
748 |
'_builtin' => FALSE
|
749 |
);
|
750 |
$post_types = get_post_types($args, 'objects', 'and');
|
751 |
+
|
752 |
foreach ( $post_types as $type => $ctid ) {
|
753 |
// Prepare
|
754 |
$custom_yes_selected = 'checked="checked"';
|
755 |
$opt_custom = $DW->getOptions($_GET['id'], $type);
|
756 |
if ( count($opt_custom) > 0 ) {
|
757 |
$custom_act = array();
|
758 |
+
$custom_childs_act = array();
|
759 |
+
|
760 |
foreach ( $opt_custom as $custom_condition ) {
|
761 |
+
if ( $custom_condition['maintype'] == $type ) {
|
762 |
+
if ( $custom_condition['name'] == 'default' || empty($custom_condition['name']) ) {
|
763 |
+
$custom_default = $custom_condition['value'];
|
764 |
+
} else {
|
765 |
+
$custom_act[ ] = $custom_condition['name'];
|
766 |
+
}
|
767 |
+
}
|
768 |
+
}
|
769 |
|
770 |
if ( $custom_default == '0' ) {
|
771 |
$custom_no_selected = $custom_yes_selected;
|
772 |
unset($custom_yes_selected);
|
773 |
}
|
774 |
+
|
775 |
+
// -- Childs
|
776 |
+
if ( $ctid->hierarchical ) {
|
777 |
+
$opt_custom_childs = $DW->getOptions($_GET['id'], $type . '-childs');
|
778 |
+
if ( count($opt_custom_childs) > 0 ) {
|
779 |
+
foreach ( $opt_custom_childs as $child_condition ) {
|
780 |
+
if ( $child_condition['name'] != 'default' ) {
|
781 |
+
$custom_childs_act[ ] = $child_condition['name'];
|
782 |
+
}
|
783 |
+
}
|
784 |
+
}
|
785 |
+
}
|
786 |
}
|
787 |
|
788 |
$loop = new WP_Query( array('post_type' => $type) );
|
790 |
$custom_condition_select_style = DW_LIST_STYLE;
|
791 |
}
|
792 |
|
793 |
+
$cpmap = getCPostChilds($type, array(), 0, array());
|
794 |
+
$childmap = childCPostMap($type, array(), 0);
|
795 |
+
|
796 |
// Output
|
797 |
+
echo '<h4><b>' . __('Custom Post Type') . ' <em>' . $ctid->label . '</em></b> ' . ( count($opt_custom) > 0 ? ' <span class="hasoptions">*</span>' : '' ) . ( $DW->wpml ? $wpml_icon : '' ) . '</h4>';
|
798 |
+
echo '<div class="dynwid_conf">';
|
799 |
+
echo __('Show widget on', DW_L10N_DOMAIN) . ' ' . $ctid->label . '? ' . ( $ctid->hierarchical ? '<img src="' . $DW->plugin_url . 'img/info.gif" alt="info" onclick="divToggle(\'custom_' . $type . '\');" />' : '' ) . '<br />';
|
800 |
echo '<input type="hidden" name="post_types[]" value="' . $type . '" />';
|
|
|
|
|
801 |
$DW->dumpOpt($opt_custom);
|
802 |
+
|
803 |
+
if ( $ctid->hierarchical ) {
|
804 |
+
echo '<div>';
|
805 |
+
echo '<div id="custom_' . $type . '" class="infotext">';
|
806 |
+
echo $childs_infotext;
|
807 |
+
echo '</div>';
|
808 |
+
echo '</div>';
|
809 |
+
}
|
810 |
+
|
811 |
+
echo '<input type="radio" name="' . $type . '" value="yes" id="' . $type . '-yes" ' . ( isset($custom_yes_selected) ? $custom_yes_selected : '' ) . ' /> <label for="' . $type . '-yes">' . __('Yes') . '</label> ';
|
812 |
echo '<input type="radio" name="' . $type . '" value="no" id="' . $type . '-no" ' . ( isset($custom_no_selected) ? $custom_no_selected : '' ) . ' /> <label for="' . $type . '-no">' . __('No') . '</label><br />';
|
813 |
|
814 |
echo __('Except for') . ':<br />';
|
815 |
echo '<div id="' . $type . '-select" class="condition-select" ' . ( isset($custom_condition_select_style) ? $custom_condition_select_style : '' ) . '>';
|
816 |
|
817 |
+
echo '<div style="position:relative;left:-15px">';
|
818 |
+
prtCPost($type, $ctid, $cpmap, $childmap, $custom_act, $custom_childs_act);
|
819 |
+
echo '</div>';
|
|
|
|
|
|
|
|
|
|
|
820 |
|
821 |
+
echo '</div>';
|
822 |
+
echo '</div><!-- end dynwid_conf -->';
|
823 |
}
|
824 |
} // end version compare >= WP 3.0
|
825 |
+
?>
|
826 |
|
827 |
+
<!-- WPSC Category //-->
|
828 |
+
<?php
|
829 |
+
// WPEC
|
830 |
if ( $DW->wpsc ) {
|
831 |
?>
|
832 |
+
<h4><b><?php _e('WPSC Category', DW_L10N_DOMAIN); ?></b><?php echo ( count($opt_wpsc) > 0 ? ' <span class="hasoptions">*</span>' : '' ); ?></h4>
|
833 |
+
<div class="dynwid_conf">
|
834 |
<?php _e('Show widget default on WPSC categories?', DW_L10N_DOMAIN); ?><br />
|
835 |
<?php $DW->dumpOpt($opt_wpsc); ?>
|
836 |
<input type="radio" name="wpsc" value="yes" id="wpsc-yes" <?php echo ( isset($wpsc_yes_selected) ? $wpsc_yes_selected : '' ); ?> /> <label for="wpsc-yes"><?php _e('Yes'); ?></label>
|
841 |
<input type="checkbox" id="wpsc_act_<?php echo $id; ?>" name="wpsc_act[]" value="<?php echo $id; ?>" <?php echo ( count($wpsc_act) > 0 && in_array($id, $wpsc_act) ) ? 'checked="checked"' : ''; ?> /> <label for="wpsc_act_<?php echo $id; ?>"><?php echo $cat; ?></label><br />
|
842 |
<?php } ?>
|
843 |
</div>
|
844 |
+
</div><!-- end dynwid_conf -->
|
845 |
<?php
|
846 |
+
} // end DW->wpsc
|
847 |
?>
|
848 |
|
849 |
+
</div><!-- end dynwid -->
|
|
|
850 |
|
851 |
+
<br />
|
852 |
+
<div style="float:left">
|
853 |
+
<input class="button-primary" type="submit" value="<?php _e('Save'); ?>" />
|
854 |
+
</div>
|
855 |
<?php $url = (! empty($_GET['returnurl']) ) ? urldecode($_GET['returnurl']) : trailingslashit(admin_url()) . 'themes.php?page=dynwid-config'; ?>
|
856 |
+
<div style="float:left">
|
857 |
+
<input class="button-secondary" type="button" value="<?php _e('Return', DW_L10N_DOMAIN); ?>" onclick="location.href='<?php echo $url; ?>'" />
|
858 |
+
</div>
|
859 |
+
|
860 |
+
</form>
|
861 |
|
862 |
<script type="text/javascript">
|
863 |
function chkInPosts() {
|
864 |
var posts = <?php echo count($single_post_act); ?>;
|
865 |
var tags = <?php echo count($single_tag_act); ?>;
|
866 |
|
867 |
+
if ( (posts > 0 || tags > 0) && jQuery('#individual').attr('checked') == false ) {
|
868 |
if ( confirm('Are you sure you want to disable the exception rule for individual posts and tags?\nThis will remove the options set to individual posts and/or tags for this widget.\nOk = Yes; No = Cancel') ) {
|
869 |
swChb(cAuthors, false);
|
870 |
swChb(cCat, false);
|
871 |
} else {
|
872 |
+
jQuery('#individual').attr('checked', true);
|
873 |
}
|
874 |
+
} else if ( icount > 0 && jQuery('#individual').attr('checked') ) {
|
875 |
if ( confirm('Are you sure you want to enable the exception rule for individual posts and tags?\nThis will remove the exceptions set for Author and/or Category on single posts for this widget.\nOk = Yes; No = Cancel') ) {
|
876 |
swChb(cAuthors, true);
|
877 |
swChb(cCat, true);
|
878 |
icount = 0;
|
879 |
} else {
|
880 |
+
jQuery('#individual').attr('checked', false);
|
881 |
}
|
882 |
+
} else if ( jQuery('#individual').attr('checked') ) {
|
883 |
swChb(cAuthors, true);
|
884 |
swChb(cCat, true);
|
885 |
} else {
|
888 |
}
|
889 |
}
|
890 |
|
891 |
+
function chkChild(pid) {
|
892 |
+
if ( jQuery('#page_act_'+pid).attr('checked') == false ) {
|
893 |
+
jQuery('#child_'+pid).attr('checked', false);
|
894 |
+
}
|
895 |
+
}
|
896 |
+
|
897 |
+
function chkParent(pid) {
|
898 |
+
if ( jQuery('#child_'+pid).attr('checked') == true ) {
|
899 |
+
jQuery('#page_act_'+pid).attr('checked', true);
|
900 |
+
}
|
901 |
+
}
|
902 |
+
|
903 |
+
function chkCPChild(type, pid) {
|
904 |
+
if ( jQuery('#'+type+'_act_'+pid).attr('checked') == false ) {
|
905 |
+
jQuery('#'+type+'_child_'+pid).attr('checked', false);
|
906 |
+
}
|
907 |
+
}
|
908 |
+
|
909 |
+
function chkCPParent(type, pid) {
|
910 |
+
if ( jQuery('#'+type+'_child_'+pid).attr('checked') == true ) {
|
911 |
+
jQuery('#'+type+'_act_'+pid).attr('checked', true);
|
912 |
+
}
|
913 |
+
}
|
914 |
+
|
915 |
function ci(id) {
|
916 |
+
if ( jQuery('#'+id).attr('checked') ) {
|
917 |
icount++;
|
918 |
} else {
|
919 |
icount--;
|
937 |
jQuery(id).datepicker('show');
|
938 |
});
|
939 |
} else {
|
940 |
+
jQuery('#date-no').attr('checked', true);
|
941 |
swTxt(cDate, false);
|
942 |
showCalendar(id);
|
943 |
}
|
946 |
function swChb(c, s) {
|
947 |
for ( i = 0; i < c.length; i++ ) {
|
948 |
if ( s == true ) {
|
949 |
+
jQuery('#'+c[i]).attr('checked', false);
|
950 |
}
|
951 |
+
jQuery('#'+c[i]).attr('disabled', s);
|
952 |
}
|
953 |
}
|
954 |
|
955 |
function swTxt(c, s) {
|
956 |
for ( i = 0; i < c.length; i++ ) {
|
957 |
if ( s == true ) {
|
958 |
+
jQuery('#'+c[i]).val('');
|
959 |
}
|
960 |
+
jQuery('#'+c[i]).attr('disabled', s);
|
961 |
}
|
962 |
}
|
963 |
|
967 |
var cDate = new Array('date_start', 'date_end');
|
968 |
var icount = <?php echo $js_count; ?>;
|
969 |
|
970 |
+
if ( jQuery('#role-yes').attr('checked') ) {
|
971 |
swChb(cRole, true);
|
972 |
}
|
973 |
+
if ( jQuery('#date-yes').attr('checked') ) {
|
974 |
swTxt(cDate, true);
|
975 |
}
|
976 |
+
if ( jQuery('#individual').attr('checked') ) {
|
977 |
swChb(cAuthors, true);
|
978 |
swChb(cCat, true);
|
979 |
}
|
980 |
+
|
981 |
+
jQuery(document).ready(function() {
|
982 |
+
jQuery('#dynwid').accordion({
|
983 |
+
header: 'h4',
|
984 |
+
autoHeight: false,
|
985 |
+
});
|
986 |
+
});
|
987 |
</script>
|
dynwid_admin_overview.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* dynwid_admin_overview.php - Overview page
|
4 |
*
|
5 |
-
* @version $Id: dynwid_admin_overview.php
|
6 |
*/
|
7 |
|
8 |
// Special case: Reset action needs to go back to overview.
|
@@ -25,7 +25,7 @@
|
|
25 |
}
|
26 |
?>
|
27 |
<div class="updated fade" id="message">
|
28 |
-
<p><strong
|
29 |
</div>
|
30 |
<?php
|
31 |
}
|
@@ -33,7 +33,7 @@
|
|
33 |
foreach ( $DW->sidebars as $sidebar_id => $widgets ) {
|
34 |
if ( count($widgets) > 0 ) {
|
35 |
if ( $sidebar_id == 'wp_inactive_widgets' ) {
|
36 |
-
$name = 'Inactive Widgets';
|
37 |
} else {
|
38 |
$name = $DW->getName($sidebar_id, 'S');
|
39 |
}
|
@@ -59,12 +59,12 @@
|
|
59 |
<p class="row-title"><a title="<?php _e('Edit this widget options', DW_L10N_DOMAIN); ?>" href="themes.php?page=dynwid-config&action=edit&id=<?php echo $widget_id; ?>"><?php echo $name; ?></a></p>
|
60 |
<div class="row-actions">
|
61 |
<span class="edit">
|
62 |
-
<a title="Edit this widget options" href="themes.php?page=dynwid-config&action=edit&id=<?php echo $widget_id; ?>"><?php _e('Edit'); ?></a>
|
63 |
</span>
|
64 |
<?php if ( $DW->hasOptions($widget_id) ) { ?>
|
65 |
<span class="delete">
|
66 |
<?php $href = wp_nonce_url('themes.php?page=dynwid-config&action=reset&id=' . $widget_id, 'plugin-name-action_reset_' . $widget_id); ?>
|
67 |
-
| <a class="submitdelete" title="<?php _e('Reset widget to Static', DW_L10N_DOMAIN); ?>" onclick="if ( confirm('You are about to reset this widget \'<?php echo strip_tags($DW->getName($widget_id)); ?>\'\n \'Cancel\' to stop, \'OK\' to reset.') ) { return true;}return false;" href="<?php echo $href; ?>"
|
68 |
</span>
|
69 |
<?php } ?>
|
70 |
</div>
|
@@ -127,7 +127,7 @@ For debugging purposes it is possible you're asked to create a dump. Click the '
|
|
127 |
|
128 |
<br /><br />
|
129 |
|
130 |
-
|
131 |
<br /><br />
|
132 |
<div id="uninstall">
|
133 |
<form action="" method="get">
|
2 |
/**
|
3 |
* dynwid_admin_overview.php - Overview page
|
4 |
*
|
5 |
+
* @version $Id: dynwid_admin_overview.php 326313 2010-12-27 11:13:47Z qurl $
|
6 |
*/
|
7 |
|
8 |
// Special case: Reset action needs to go back to overview.
|
25 |
}
|
26 |
?>
|
27 |
<div class="updated fade" id="message">
|
28 |
+
<p><strong><?php echo __('Method set to', DW_L10N_DOMAIN) . ' ' . ( get_option('dynwid_old_method') ? '\''. __('OLD', DW_L10N_DOMAIN) .'\'' : '\'' . __('FILTER', DW_L10N_DOMAIN) . '\'' ); ?>.</strong></p>
|
29 |
</div>
|
30 |
<?php
|
31 |
}
|
33 |
foreach ( $DW->sidebars as $sidebar_id => $widgets ) {
|
34 |
if ( count($widgets) > 0 ) {
|
35 |
if ( $sidebar_id == 'wp_inactive_widgets' ) {
|
36 |
+
$name = __('Inactive Widgets');
|
37 |
} else {
|
38 |
$name = $DW->getName($sidebar_id, 'S');
|
39 |
}
|
59 |
<p class="row-title"><a title="<?php _e('Edit this widget options', DW_L10N_DOMAIN); ?>" href="themes.php?page=dynwid-config&action=edit&id=<?php echo $widget_id; ?>"><?php echo $name; ?></a></p>
|
60 |
<div class="row-actions">
|
61 |
<span class="edit">
|
62 |
+
<a title="<?php _e('Edit this widget options', DW_L10N_DOMAIN); ?>" href="themes.php?page=dynwid-config&action=edit&id=<?php echo $widget_id; ?>"><?php _e('Edit'); ?></a>
|
63 |
</span>
|
64 |
<?php if ( $DW->hasOptions($widget_id) ) { ?>
|
65 |
<span class="delete">
|
66 |
<?php $href = wp_nonce_url('themes.php?page=dynwid-config&action=reset&id=' . $widget_id, 'plugin-name-action_reset_' . $widget_id); ?>
|
67 |
+
| <a class="submitdelete" title="<?php _e('Reset widget to Static', DW_L10N_DOMAIN); ?>" onclick="if ( confirm('You are about to reset this widget \'<?php echo strip_tags($DW->getName($widget_id)); ?>\'\n \'Cancel\' to stop, \'OK\' to reset.') ) { return true;}return false;" href="<?php echo $href; ?>"><?php _e('Reset', DW_L10N_DOMAIN); ?></a>
|
68 |
</span>
|
69 |
<?php } ?>
|
70 |
</div>
|
127 |
|
128 |
<br /><br />
|
129 |
|
130 |
+
When you deceide not to use this plugin anymore (sorry to hear that!). You can cleanup all settings and data related to this plugin by clicking on the 'Uninstall' button. This process is irreversible! After the cleanup the plugin is deactivated automaticly.
|
131 |
<br /><br />
|
132 |
<div id="uninstall">
|
133 |
<form action="" method="get">
|
dynwid_admin_save.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* dynwid_admin_save.php - Saving options to the database
|
4 |
*
|
5 |
-
* @version $Id: dynwid_admin_save.php
|
6 |
*/
|
7 |
|
8 |
// Security - nonce
|
@@ -126,7 +126,7 @@
|
|
126 |
}
|
127 |
|
128 |
// Front Page
|
129 |
-
if ( $_POST['front-page'] == 'no' ) {
|
130 |
$DW->addSingleOption($_POST['widget_id'], 'front-page');
|
131 |
}
|
132 |
|
@@ -169,6 +169,18 @@
|
|
169 |
$DW->addSingleOption($_POST['widget_id'], 'page');
|
170 |
}
|
171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
// Author
|
173 |
if ( isset($_POST['author_act']) && count($_POST['author_act']) > 0 ) {
|
174 |
$DW->addMultiOption($_POST['widget_id'], 'author', $_POST['author'], $_POST['author_act']);
|
@@ -207,9 +219,28 @@
|
|
207 |
} else if ( $_POST[$type] == 'no' ) {
|
208 |
$DW->addSingleOption($_POST['widget_id'], $type);
|
209 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
}
|
211 |
}
|
212 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
// WPSC/WPEC Plugin support
|
214 |
if ( isset($_POST['wpsc_act']) && count($_POST['wpsc_act']) > 0 ) {
|
215 |
$DW->addMultiOption($_POST['widget_id'], 'wpsc', $_POST['wpsc'], $_POST['wpsc_act']);
|
2 |
/**
|
3 |
* dynwid_admin_save.php - Saving options to the database
|
4 |
*
|
5 |
+
* @version $Id: dynwid_admin_save.php 323926 2010-12-17 17:02:58Z qurl $
|
6 |
*/
|
7 |
|
8 |
// Security - nonce
|
126 |
}
|
127 |
|
128 |
// Front Page
|
129 |
+
if ( isset($_POST['front-page']) && $_POST['front-page'] == 'no' ) {
|
130 |
$DW->addSingleOption($_POST['widget_id'], 'front-page');
|
131 |
}
|
132 |
|
169 |
$DW->addSingleOption($_POST['widget_id'], 'page');
|
170 |
}
|
171 |
|
172 |
+
// -- Childs
|
173 |
+
if ( isset($_POST['page_act']) && count($_POST['page_act']) > 0 && isset($_POST['page_childs_act']) && count($_POST['page_childs_act']) > 0 ) {
|
174 |
+
$child_act = array();
|
175 |
+
foreach ( $_POST['page_childs_act'] as $act ) {
|
176 |
+
if ( in_array($act, $_POST['page_act']) ) {
|
177 |
+
$childs_act[ ] = $act;
|
178 |
+
}
|
179 |
+
}
|
180 |
+
|
181 |
+
$DW->addMultiOption($_POST['widget_id'], 'page-childs', $_POST['page'], $childs_act);
|
182 |
+
}
|
183 |
+
|
184 |
// Author
|
185 |
if ( isset($_POST['author_act']) && count($_POST['author_act']) > 0 ) {
|
186 |
$DW->addMultiOption($_POST['widget_id'], 'author', $_POST['author'], $_POST['author_act']);
|
219 |
} else if ( $_POST[$type] == 'no' ) {
|
220 |
$DW->addSingleOption($_POST['widget_id'], $type);
|
221 |
}
|
222 |
+
|
223 |
+
// -- Childs
|
224 |
+
$act_childs_field = $type . '_childs_act';
|
225 |
+
if ( count($_POST[$act_field]) > 0 && isset($_POST[$act_childs_field]) && count($_POST[$act_childs_field]) > 0 ) {
|
226 |
+
$childs_act = array();
|
227 |
+
foreach ( $_POST[$act_childs_field] as $act ) {
|
228 |
+
if ( in_array($act, $_POST[$act_field]) ) {
|
229 |
+
$childs_act[ ] = $act;
|
230 |
+
}
|
231 |
+
}
|
232 |
+
$DW->addMultiOption($_POST['widget_id'], $type . '-childs', $_POST[$type], $childs_act);
|
233 |
+
}
|
234 |
}
|
235 |
}
|
236 |
|
237 |
+
// WPML PLugin support
|
238 |
+
if ( isset($_POST['wpml_act']) && count($_POST['wpml_act']) > 0 ) {
|
239 |
+
$DW->addMultiOption($_POST['widget_id'], 'wpml', $_POST['wpml'], $_POST['wpml_act']);
|
240 |
+
} else if ( isset($_POST['wpml']) && $_POST['wpml'] == 'no' ) {
|
241 |
+
$DW->addSingleOption($_POST['widget_id'], 'wpml');
|
242 |
+
}
|
243 |
+
|
244 |
// WPSC/WPEC Plugin support
|
245 |
if ( isset($_POST['wpsc_act']) && count($_POST['wpsc_act']) > 0 ) {
|
246 |
$DW->addMultiOption($_POST['widget_id'], 'wpsc', $_POST['wpsc'], $_POST['wpsc_act']);
|
dynwid_class.php
CHANGED
@@ -2,18 +2,22 @@
|
|
2 |
/**
|
3 |
* dynwid_class.php - Dynamic Widgets Class (PHP5)
|
4 |
*
|
5 |
-
* @version $Id: dynwid_class.php
|
6 |
*/
|
7 |
|
8 |
class dynWid {
|
9 |
public $custom_post_type;
|
10 |
private $dbtable;
|
|
|
11 |
public $dynwid_list;
|
12 |
public $enabled;
|
13 |
private $firstmessage;
|
|
|
|
|
14 |
private $registered_sidebars;
|
15 |
public $registered_widget_controls;
|
16 |
public $registered_widgets;
|
|
|
17 |
public $sidebars;
|
18 |
public $plugin_url;
|
19 |
public $userrole;
|
@@ -31,12 +35,42 @@
|
|
31 |
|
32 |
$this->custom_post_type = FALSE;
|
33 |
$this->firstmessage = TRUE;
|
|
|
|
|
34 |
$this->registered_sidebars = $GLOBALS['wp_registered_sidebars'];
|
35 |
$this->registered_widget_controls = &$GLOBALS['wp_registered_widget_controls'];
|
36 |
$this->registered_widgets = &$GLOBALS['wp_registered_widgets'];
|
|
|
37 |
$this->sidebars = wp_get_sidebars_widgets();
|
38 |
$this->plugin_url = WP_PLUGIN_URL . '/' . str_replace( basename(__FILE__), '', plugin_basename(__FILE__) );
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
// DB init
|
41 |
$this->wpdb = $GLOBALS['wpdb'];
|
42 |
$this->dbtable = $this->wpdb->prefix . DW_DB_TABLE;
|
@@ -214,7 +248,7 @@
|
|
214 |
}
|
215 |
|
216 |
$query = "SELECT DISTINCT widget_id FROM " . $this->dbtable . "
|
217 |
-
WHERE maintype LIKE '" . $whereami . "%' OR maintype = 'role' OR maintype = 'date'";
|
218 |
$results = $this->wpdb->get_results($query);
|
219 |
foreach ( $results as $myrow ) {
|
220 |
$this->dynwid_list[ ] = $myrow->widget_id;
|
@@ -262,7 +296,7 @@
|
|
262 |
}
|
263 |
$query = "SELECT widget_id, maintype, name, value FROM " . $this->dbtable . "
|
264 |
WHERE widget_id LIKE '" . $widget_id . "'
|
265 |
-
AND (maintype LIKE '" . $maintype . "%' OR maintype = 'role' OR maintype = 'date')
|
266 |
ORDER BY maintype, name";
|
267 |
}
|
268 |
$results = $this->wpdb->get_results($query);
|
@@ -278,6 +312,22 @@
|
|
278 |
return $opt;
|
279 |
}
|
280 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
public function hasOptions($widget_id) {
|
282 |
$query = "SELECT COUNT(1) AS total FROM " . $this->dbtable . "
|
283 |
WHERE widget_id = '" . $widget_id . "' AND
|
2 |
/**
|
3 |
* dynwid_class.php - Dynamic Widgets Class (PHP5)
|
4 |
*
|
5 |
+
* @version $Id: dynwid_class.php 323926 2010-12-17 17:02:58Z qurl $
|
6 |
*/
|
7 |
|
8 |
class dynWid {
|
9 |
public $custom_post_type;
|
10 |
private $dbtable;
|
11 |
+
public $dwoptions;
|
12 |
public $dynwid_list;
|
13 |
public $enabled;
|
14 |
private $firstmessage;
|
15 |
+
public $listmade;
|
16 |
+
public $overrule_maintype;
|
17 |
private $registered_sidebars;
|
18 |
public $registered_widget_controls;
|
19 |
public $registered_widgets;
|
20 |
+
public $removelist;
|
21 |
public $sidebars;
|
22 |
public $plugin_url;
|
23 |
public $userrole;
|
35 |
|
36 |
$this->custom_post_type = FALSE;
|
37 |
$this->firstmessage = TRUE;
|
38 |
+
$this->listmade = FALSE;
|
39 |
+
$this->overrule_maintype = array('date', 'role', 'wpml');
|
40 |
$this->registered_sidebars = $GLOBALS['wp_registered_sidebars'];
|
41 |
$this->registered_widget_controls = &$GLOBALS['wp_registered_widget_controls'];
|
42 |
$this->registered_widgets = &$GLOBALS['wp_registered_widgets'];
|
43 |
+
$this->removelist = array();
|
44 |
$this->sidebars = wp_get_sidebars_widgets();
|
45 |
$this->plugin_url = WP_PLUGIN_URL . '/' . str_replace( basename(__FILE__), '', plugin_basename(__FILE__) );
|
46 |
|
47 |
+
$this->dwoptions = array(
|
48 |
+
'role' => __('Role'),
|
49 |
+
'date' => __('Date'),
|
50 |
+
'wpml' => __('Language', DW_L10N_DOMAIN),
|
51 |
+
'front-page' => __('Front Page', DW_L10N_DOMAIN),
|
52 |
+
'single' => __('Single Posts', DW_L10N_DOMAIN),
|
53 |
+
'page' => __('Pages'),
|
54 |
+
'author' => __('Author Pages', DW_L10N_DOMAIN),
|
55 |
+
'category' => __('Category Pages', DW_L10N_DOMAIN),
|
56 |
+
'archive' => __('Archive Pages', DW_L10N_DOMAIN),
|
57 |
+
'e404' => __('Error Page', DW_L10N_DOMAIN),
|
58 |
+
'search' => __('Search page', DW_L10N_DOMAIN),
|
59 |
+
'wpsc' => __('WPSC Category', DW_L10N_DOMAIN)
|
60 |
+
);
|
61 |
+
|
62 |
+
// Adding Custom Post Types to $this->dwoptions
|
63 |
+
if ( version_compare($GLOBALS['wp_version'], '3.0', '>=') ) {
|
64 |
+
$args = array(
|
65 |
+
'public' => TRUE,
|
66 |
+
'_builtin' => FALSE
|
67 |
+
);
|
68 |
+
$post_types = get_post_types($args, 'objects', 'and');
|
69 |
+
foreach ( $post_types as $ctid ) {
|
70 |
+
$this->dwoptions[key($post_types)] = $ctid->label;
|
71 |
+
}
|
72 |
+
}
|
73 |
+
|
74 |
// DB init
|
75 |
$this->wpdb = $GLOBALS['wpdb'];
|
76 |
$this->dbtable = $this->wpdb->prefix . DW_DB_TABLE;
|
248 |
}
|
249 |
|
250 |
$query = "SELECT DISTINCT widget_id FROM " . $this->dbtable . "
|
251 |
+
WHERE maintype LIKE '" . $whereami . "%' OR maintype = 'role' OR maintype = 'date' OR maintype = 'wpml'";
|
252 |
$results = $this->wpdb->get_results($query);
|
253 |
foreach ( $results as $myrow ) {
|
254 |
$this->dynwid_list[ ] = $myrow->widget_id;
|
296 |
}
|
297 |
$query = "SELECT widget_id, maintype, name, value FROM " . $this->dbtable . "
|
298 |
WHERE widget_id LIKE '" . $widget_id . "'
|
299 |
+
AND (maintype LIKE '" . $maintype . "%' OR maintype = 'role' OR maintype = 'date' OR maintype = 'wpml')
|
300 |
ORDER BY maintype, name";
|
301 |
}
|
302 |
$results = $this->wpdb->get_results($query);
|
312 |
return $opt;
|
313 |
}
|
314 |
|
315 |
+
public function getParents($type, $arr, $id) {
|
316 |
+
if ( $type == 'page' ) {
|
317 |
+
$obj = get_page($id);
|
318 |
+
} else {
|
319 |
+
$obj = get_post($id);
|
320 |
+
}
|
321 |
+
|
322 |
+
if ( $obj->post_parent > 0 ) {
|
323 |
+
$arr[ ] = $obj->post_parent;
|
324 |
+
$a = &$arr;
|
325 |
+
$a = $this->getParents($type, $a, $obj->post_parent);
|
326 |
+
}
|
327 |
+
|
328 |
+
return $arr;
|
329 |
+
}
|
330 |
+
|
331 |
public function hasOptions($widget_id) {
|
332 |
$query = "SELECT COUNT(1) AS total FROM " . $this->dbtable . "
|
333 |
WHERE widget_id = '" . $widget_id . "' AND
|
dynwid_class_php4.php
CHANGED
@@ -3,18 +3,22 @@
|
|
3 |
* dynwid_class_php4.php - Dynamic Widgets Class for PHP4
|
4 |
* Needs at least PHP 4.1.0
|
5 |
*
|
6 |
-
* @version $Id: dynwid_class_php4.php
|
7 |
*/
|
8 |
|
9 |
class dynWid {
|
10 |
var $custom_post_type;
|
11 |
var $dbtable; /* private */
|
12 |
var $enabled;
|
|
|
13 |
var $dynwid_list;
|
14 |
var $firstmessage; /* private */
|
15 |
-
var $
|
|
|
|
|
16 |
var $registered_widget_controls;
|
17 |
var $registered_widgets;
|
|
|
18 |
var $sidebars;
|
19 |
var $plugin_url;
|
20 |
var $userrole;
|
@@ -37,12 +41,42 @@
|
|
37 |
|
38 |
$this->custom_post_type = FALSE;
|
39 |
$this->firstmessage = TRUE;
|
|
|
|
|
40 |
$this->registered_sidebars = $GLOBALS['wp_registered_sidebars'];
|
41 |
$this->registered_widget_controls = &$GLOBALS['wp_registered_widget_controls'];
|
42 |
$this->registered_widgets = &$GLOBALS['wp_registered_widgets'];
|
|
|
43 |
$this->sidebars = wp_get_sidebars_widgets();
|
44 |
$this->plugin_url = WP_PLUGIN_URL . '/' . str_replace( basename(__FILE__), '', plugin_basename(__FILE__) );
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
// DB init
|
47 |
$this->wpdb = $GLOBALS['wpdb'];
|
48 |
$this->dbtable = $this->wpdb->prefix . DW_DB_TABLE;
|
@@ -221,7 +255,7 @@
|
|
221 |
}
|
222 |
|
223 |
$query = "SELECT DISTINCT widget_id FROM " . $this->dbtable . "
|
224 |
-
WHERE maintype LIKE '" . $whereami . "%' OR maintype = 'role' OR maintype = 'date'";
|
225 |
$results = $this->wpdb->get_results($query);
|
226 |
foreach ( $results as $myrow ) {
|
227 |
$this->dynwid_list[ ] = $myrow->widget_id;
|
@@ -269,7 +303,7 @@
|
|
269 |
}
|
270 |
$query = "SELECT widget_id, maintype, name, value FROM " . $this->dbtable . "
|
271 |
WHERE widget_id LIKE '" . $widget_id . "'
|
272 |
-
AND (maintype LIKE '" . $maintype . "%' OR maintype = 'role' OR maintype = 'date')
|
273 |
ORDER BY maintype, name";
|
274 |
}
|
275 |
$results = $this->wpdb->get_results($query);
|
@@ -285,6 +319,23 @@
|
|
285 |
return $opt;
|
286 |
}
|
287 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
function hasOptions($widget_id) {
|
289 |
$query = "SELECT COUNT(1) AS total FROM " . $this->dbtable . "
|
290 |
WHERE widget_id = '" . $widget_id . "' AND
|
3 |
* dynwid_class_php4.php - Dynamic Widgets Class for PHP4
|
4 |
* Needs at least PHP 4.1.0
|
5 |
*
|
6 |
+
* @version $Id: dynwid_class_php4.php 323926 2010-12-17 17:02:58Z qurl $
|
7 |
*/
|
8 |
|
9 |
class dynWid {
|
10 |
var $custom_post_type;
|
11 |
var $dbtable; /* private */
|
12 |
var $enabled;
|
13 |
+
var $dwoptions;
|
14 |
var $dynwid_list;
|
15 |
var $firstmessage; /* private */
|
16 |
+
var $listmade;
|
17 |
+
var $overrule_maintype;
|
18 |
+
var $registered_sidebars; /* private */
|
19 |
var $registered_widget_controls;
|
20 |
var $registered_widgets;
|
21 |
+
var $removelist;
|
22 |
var $sidebars;
|
23 |
var $plugin_url;
|
24 |
var $userrole;
|
41 |
|
42 |
$this->custom_post_type = FALSE;
|
43 |
$this->firstmessage = TRUE;
|
44 |
+
$this->listmade = FALSE;
|
45 |
+
$this->overrule_maintype = array('date', 'role', 'wpml');
|
46 |
$this->registered_sidebars = $GLOBALS['wp_registered_sidebars'];
|
47 |
$this->registered_widget_controls = &$GLOBALS['wp_registered_widget_controls'];
|
48 |
$this->registered_widgets = &$GLOBALS['wp_registered_widgets'];
|
49 |
+
$this->removelist = array();
|
50 |
$this->sidebars = wp_get_sidebars_widgets();
|
51 |
$this->plugin_url = WP_PLUGIN_URL . '/' . str_replace( basename(__FILE__), '', plugin_basename(__FILE__) );
|
52 |
|
53 |
+
$this->dwoptions = array(
|
54 |
+
'role' => __('Role'),
|
55 |
+
'date' => __('Date'),
|
56 |
+
'wpml' => __('Language', DW_L10N_DOMAIN),
|
57 |
+
'front-page' => __('Front Page', DW_L10N_DOMAIN),
|
58 |
+
'single' => __('Single Posts', DW_L10N_DOMAIN),
|
59 |
+
'page' => __('Pages'),
|
60 |
+
'author' => __('Author Pages', DW_L10N_DOMAIN),
|
61 |
+
'category' => __('Category Pages', DW_L10N_DOMAIN),
|
62 |
+
'archive' => __('Archive Pages', DW_L10N_DOMAIN),
|
63 |
+
'e404' => __('Error Page', DW_L10N_DOMAIN),
|
64 |
+
'search' => __('Search page', DW_L10N_DOMAIN),
|
65 |
+
'wpsc' => __('WPSC Category', DW_L10N_DOMAIN)
|
66 |
+
);
|
67 |
+
|
68 |
+
// Adding Custom Post Types to $this->dwoptions
|
69 |
+
if ( version_compare($GLOBALS['wp_version'], '3.0', '>=') ) {
|
70 |
+
$args = array(
|
71 |
+
'public' => TRUE,
|
72 |
+
'_builtin' => FALSE
|
73 |
+
);
|
74 |
+
$post_types = get_post_types($args, 'objects', 'and');
|
75 |
+
foreach ( $post_types as $ctid ) {
|
76 |
+
$this->dwoptions[key($post_types)] = $ctid->label;
|
77 |
+
}
|
78 |
+
}
|
79 |
+
|
80 |
// DB init
|
81 |
$this->wpdb = $GLOBALS['wpdb'];
|
82 |
$this->dbtable = $this->wpdb->prefix . DW_DB_TABLE;
|
255 |
}
|
256 |
|
257 |
$query = "SELECT DISTINCT widget_id FROM " . $this->dbtable . "
|
258 |
+
WHERE maintype LIKE '" . $whereami . "%' OR maintype = 'role' OR maintype = 'date' OR maintype = 'wpml'";
|
259 |
$results = $this->wpdb->get_results($query);
|
260 |
foreach ( $results as $myrow ) {
|
261 |
$this->dynwid_list[ ] = $myrow->widget_id;
|
303 |
}
|
304 |
$query = "SELECT widget_id, maintype, name, value FROM " . $this->dbtable . "
|
305 |
WHERE widget_id LIKE '" . $widget_id . "'
|
306 |
+
AND (maintype LIKE '" . $maintype . "%' OR maintype = 'role' OR maintype = 'date' OR maintype = 'wpml')
|
307 |
ORDER BY maintype, name";
|
308 |
}
|
309 |
$results = $this->wpdb->get_results($query);
|
319 |
return $opt;
|
320 |
}
|
321 |
|
322 |
+
function getParents($type, $arr, $id) {
|
323 |
+
if ( $type == 'page' ) {
|
324 |
+
$obj = get_page($id);
|
325 |
+
} else {
|
326 |
+
$obj = get_post($id);
|
327 |
+
}
|
328 |
+
|
329 |
+
if ( $obj->post_parent > 0 ) {
|
330 |
+
$arr[ ] = $obj->post_parent;
|
331 |
+
$a = &$arr;
|
332 |
+
$a = $this->getParents($type, $a, $obj->post_parent);
|
333 |
+
}
|
334 |
+
|
335 |
+
return $arr;
|
336 |
+
}
|
337 |
+
|
338 |
+
|
339 |
function hasOptions($widget_id) {
|
340 |
$query = "SELECT COUNT(1) AS total FROM " . $this->dbtable . "
|
341 |
WHERE widget_id = '" . $widget_id . "' AND
|
dynwid_init_worker.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
* dynwid_init_worker.php
|
5 |
*
|
6 |
-
* @version $Id: dynwid_init_worker.php
|
7 |
*/
|
8 |
|
9 |
$DW->message('Dynamic Widgets INIT');
|
@@ -18,10 +18,12 @@
|
|
18 |
|
19 |
$wpmlang = wpml_get_default_language();
|
20 |
$curlang = wpml_get_current_language();
|
|
|
|
|
21 |
|
22 |
if ( $wpmlang != $curlang ) {
|
23 |
$DW->wpml = TRUE;
|
24 |
-
$DW->message('WPML enabled
|
25 |
require_once(DW_PLUGIN . 'wpml.php');
|
26 |
}
|
27 |
}
|
3 |
/**
|
4 |
* dynwid_init_worker.php
|
5 |
*
|
6 |
+
* @version $Id: dynwid_init_worker.php 321062 2010-12-09 19:49:13Z qurl $
|
7 |
*/
|
8 |
|
9 |
$DW->message('Dynamic Widgets INIT');
|
18 |
|
19 |
$wpmlang = wpml_get_default_language();
|
20 |
$curlang = wpml_get_current_language();
|
21 |
+
$wpml = TRUE;
|
22 |
+
$DW->message('WPML language: ' . $curlang);
|
23 |
|
24 |
if ( $wpmlang != $curlang ) {
|
25 |
$DW->wpml = TRUE;
|
26 |
+
$DW->message('WPML enabled');
|
27 |
require_once(DW_PLUGIN . 'wpml.php');
|
28 |
}
|
29 |
}
|
dynwid_worker.php
CHANGED
@@ -2,9 +2,22 @@
|
|
2 |
/**
|
3 |
* dynwid_worker.php - The worker does the actual work.
|
4 |
*
|
5 |
-
* @version $Id: dynwid_worker.php
|
6 |
*/
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
foreach ( $sidebars as $sidebar_id => $widgets ) {
|
9 |
// Only processing active sidebars with widgets
|
10 |
if ( $sidebar_id != 'wp_inactive_widgets' && count($widgets) > 0 ) {
|
@@ -12,12 +25,12 @@
|
|
12 |
// Check if the widget has options set
|
13 |
if ( in_array($widget_id, $DW->dynwid_list) ) {
|
14 |
$act = array();
|
15 |
-
$DW->message('WhereAmI = ' . $DW->whereami);
|
16 |
$opt = $DW->getOptions($widget_id, $DW->whereami, FALSE);
|
17 |
$DW->message('Number of rules to check for widget ' . $widget_id . ': ' . count($opt));
|
18 |
$display = TRUE;
|
19 |
$role = TRUE;
|
20 |
$date = TRUE;
|
|
|
21 |
|
22 |
foreach ( $opt as $condition ) {
|
23 |
if ( empty($condition['name']) && $condition['value'] == '0' ) {
|
@@ -25,77 +38,102 @@
|
|
25 |
$display = FALSE;
|
26 |
$other = TRUE;
|
27 |
break;
|
28 |
-
} else if ( $condition['maintype']
|
29 |
// Get default value
|
30 |
if ( $condition['name'] == 'default' ) {
|
31 |
$default = $condition['value'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
} else {
|
33 |
$act[ ] = $condition['name'];
|
34 |
}
|
35 |
-
|
36 |
-
if ( $default == '0' ) {
|
37 |
-
$DW->message('Default for ' . $widget_id . ' set to FALSE (rule D2)');
|
38 |
-
$display = FALSE;
|
39 |
-
$other = TRUE;
|
40 |
-
} else {
|
41 |
-
$DW->message('Default for ' . $widget_id . ' set to TRUE (rule D3)');
|
42 |
-
$other = FALSE;
|
43 |
-
}
|
44 |
} else if ( $condition['maintype'] == 'role' && $condition['name'] == 'default' ) {
|
45 |
$DW->message('Default for ' . $widget_id . ' set to FALSE (rule R1)');
|
46 |
$role = FALSE;
|
47 |
} else if ( $condition['maintype'] == 'date' && $condition['name'] == 'default' ) {
|
48 |
$DW->message('Default for ' . $widget_id . ' set to FALSE (rule DT1)');
|
49 |
$date = FALSE;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
}
|
51 |
}
|
52 |
|
53 |
// Act the condition(s) when there are options set
|
54 |
if ( count($opt) > 0 ) {
|
55 |
// Role exceptions
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
|
|
|
|
62 |
|
63 |
// Date exceptions
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
// For debug messages
|
101 |
$e = ( $other ) ? 'TRUE' : 'FALSE';
|
@@ -112,9 +150,29 @@
|
|
112 |
$DW->message('WPML ObjectID: ' . $id);
|
113 |
}
|
114 |
|
115 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
$display = $other;
|
117 |
$DW->message('Exception triggered for ' . $widget_id . ' sets display to ' . $e . ' (rule ECP1)');
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
}
|
119 |
}
|
120 |
} else {
|
@@ -213,6 +271,7 @@
|
|
213 |
case 'home':
|
214 |
if ( count($act) > 0 ) {
|
215 |
$home_id = get_option('page_for_posts');
|
|
|
216 |
if ( $DW->wpml ) {
|
217 |
$home_id = dw_wpml_get_id($home_id);
|
218 |
$DW->message('WPML ObjectID: ' . $home_id);
|
@@ -227,16 +286,40 @@
|
|
227 |
|
228 |
case 'page':
|
229 |
if ( count($act) > 0 ) {
|
|
|
|
|
|
|
230 |
$post = $GLOBALS['post'];
|
231 |
$id = $post->ID;
|
|
|
232 |
if ( $DW->wpml ) {
|
233 |
$id = dw_wpml_get_id($id);
|
234 |
$DW->message('WPML ObjectID: ' . $id);
|
235 |
}
|
236 |
|
237 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
$display = $other;
|
239 |
$DW->message('Exception triggered for ' . $widget_id . ' sets display to ' . $e . ' (rule EP1)');
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
}
|
241 |
}
|
242 |
break;
|
@@ -268,7 +351,7 @@
|
|
268 |
if ( count($act) > 0 ) {
|
269 |
if ( is_dw_wpsc_category($act) ) {
|
270 |
$display = $other;
|
271 |
-
$DW->message('Exception triggered for ' . $widget_id . ' sets display to ' . $e . ' (rule
|
272 |
}
|
273 |
}
|
274 |
break;
|
@@ -277,12 +360,16 @@
|
|
277 |
} // END if/else ( $DW->custom_post_type )
|
278 |
} /* END if ( count($opt) > 0 ) */
|
279 |
|
280 |
-
if (! $display || ! $role || ! $date ) {
|
281 |
$DW->message('Removed ' . $widget_id . ' from display, SID = ' . $sidebar_id . ' / WID = ' . $widget_id . ' / KID = ' . $widget_key);
|
282 |
if ( DW_OLD_METHOD ) {
|
283 |
unset($DW->registered_widgets[$widget_id]);
|
284 |
} else {
|
285 |
unset($sidebars[$sidebar_id][$widget_key]);
|
|
|
|
|
|
|
|
|
286 |
}
|
287 |
}
|
288 |
} // END if ( in_array($widget_id, $DW->dynwid_list) )
|
@@ -290,5 +377,6 @@
|
|
290 |
} // END if ( $sidebar_id != 'wp_inactive_widgets' && count($widgets) > 0 )
|
291 |
} // END foreach ( $DW->sidebars as $sidebar_id => $widgets )
|
292 |
|
|
|
293 |
$DW->message('Dynamic Widgets END');
|
294 |
?>
|
2 |
/**
|
3 |
* dynwid_worker.php - The worker does the actual work.
|
4 |
*
|
5 |
+
* @version $Id: dynwid_worker.php 326147 2010-12-26 09:25:03Z qurl $
|
6 |
*/
|
7 |
|
8 |
+
$DW->message('Worker START');
|
9 |
+
$DW->message('WhereAmI = ' . $DW->whereami);
|
10 |
+
|
11 |
+
// WPML Plugin support
|
12 |
+
if ( defined('ICL_PLUGIN_PATH') ) {
|
13 |
+
$wpml_api = ICL_PLUGIN_PATH . DW_WPML_API;
|
14 |
+
|
15 |
+
if ( file_exists($wpml_api) ) {
|
16 |
+
require_once($wpml_api);
|
17 |
+
$curlang = wpml_get_current_language();
|
18 |
+
}
|
19 |
+
}
|
20 |
+
|
21 |
foreach ( $sidebars as $sidebar_id => $widgets ) {
|
22 |
// Only processing active sidebars with widgets
|
23 |
if ( $sidebar_id != 'wp_inactive_widgets' && count($widgets) > 0 ) {
|
25 |
// Check if the widget has options set
|
26 |
if ( in_array($widget_id, $DW->dynwid_list) ) {
|
27 |
$act = array();
|
|
|
28 |
$opt = $DW->getOptions($widget_id, $DW->whereami, FALSE);
|
29 |
$DW->message('Number of rules to check for widget ' . $widget_id . ': ' . count($opt));
|
30 |
$display = TRUE;
|
31 |
$role = TRUE;
|
32 |
$date = TRUE;
|
33 |
+
$wpml = TRUE;
|
34 |
|
35 |
foreach ( $opt as $condition ) {
|
36 |
if ( empty($condition['name']) && $condition['value'] == '0' ) {
|
38 |
$display = FALSE;
|
39 |
$other = TRUE;
|
40 |
break;
|
41 |
+
} else if (! in_array($condition['maintype'], $DW->overrule_maintype) ) {
|
42 |
// Get default value
|
43 |
if ( $condition['name'] == 'default' ) {
|
44 |
$default = $condition['value'];
|
45 |
+
if ( $default == '0' ) {
|
46 |
+
$DW->message('Default for ' . $widget_id . ' set to FALSE (rule D2)');
|
47 |
+
$display = FALSE;
|
48 |
+
$other = TRUE;
|
49 |
+
} else {
|
50 |
+
$DW->message('Default for ' . $widget_id . ' set to TRUE (rule D3)');
|
51 |
+
$display = TRUE;
|
52 |
+
$other = FALSE;
|
53 |
+
}
|
54 |
} else {
|
55 |
$act[ ] = $condition['name'];
|
56 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
} else if ( $condition['maintype'] == 'role' && $condition['name'] == 'default' ) {
|
58 |
$DW->message('Default for ' . $widget_id . ' set to FALSE (rule R1)');
|
59 |
$role = FALSE;
|
60 |
} else if ( $condition['maintype'] == 'date' && $condition['name'] == 'default' ) {
|
61 |
$DW->message('Default for ' . $widget_id . ' set to FALSE (rule DT1)');
|
62 |
$date = FALSE;
|
63 |
+
} else if ( $condition['maintype'] == 'wpml' && $condition['name'] == 'default' ) {
|
64 |
+
$DW->message('Default for ' . $widget_id . ' set to ' . ( (bool) $condition['value'] ? 'TRUE' : 'FALSE' ) . ' (rule DML1)');
|
65 |
+
$wpml = (bool) $condition['value'];
|
66 |
+
} else { // Failsave
|
67 |
+
$DW->message('Failsave: Default for ' . $widget_id . ' set to TRUE (rule D4)');
|
68 |
+
$display = TRUE;
|
69 |
+
$other = FALSE;
|
70 |
}
|
71 |
}
|
72 |
|
73 |
// Act the condition(s) when there are options set
|
74 |
if ( count($opt) > 0 ) {
|
75 |
// Role exceptions
|
76 |
+
if (! $role ) {
|
77 |
+
foreach ( $opt as $condition ) {
|
78 |
+
if ( $condition['maintype'] == 'role' && in_array($condition['name'], $DW->userrole) ) {
|
79 |
+
$DW->message('Role set to TRUE (rule ER1)');
|
80 |
+
$role = TRUE;
|
81 |
+
}
|
82 |
+
}
|
83 |
+
}
|
84 |
|
85 |
// Date exceptions
|
86 |
+
if (! $date ) {
|
87 |
+
$dates = array();
|
88 |
+
foreach ( $opt as $condition ) {
|
89 |
+
if ( $condition['maintype'] == 'date' ) {
|
90 |
+
switch ( $condition['name'] ) {
|
91 |
+
case 'date_start':
|
92 |
+
$date_start = $condition['value'];
|
93 |
+
break;
|
94 |
+
|
95 |
+
case 'date_end':
|
96 |
+
$date_end = $condition['value'];
|
97 |
+
break;
|
98 |
+
}
|
99 |
+
}
|
100 |
+
}
|
101 |
+
$now = time();
|
102 |
+
if (! empty($date_end) ) {
|
103 |
+
@list($date_end_year, $date_end_month, $date_end_day) = explode('-', $date_end);
|
104 |
+
if ( mktime(23, 59, 59, $date_end_month, $date_end_day, $date_end_year) > $now ) {
|
105 |
+
$date = TRUE;
|
106 |
+
$DW->message('End date is in the future, sets Date to TRUE (rule EDT1)');
|
107 |
+
if (! empty($date_start) ) {
|
108 |
+
@list($date_start_year, $date_start_month, $date_start_day) = explode('-', $date_start);
|
109 |
+
if ( mktime(0, 0, 0, $date_start_month, $date_start_day, $date_start_year) > $now ) {
|
110 |
+
$date = FALSE;
|
111 |
+
$DW->message('From date is in the future, sets Date to FALSE (rule EDT2)');
|
112 |
+
}
|
113 |
+
}
|
114 |
+
}
|
115 |
+
} else if (! empty($date_start) ) {
|
116 |
+
@list($date_start_year, $date_start_month, $date_start_day) = explode('-', $date_start);
|
117 |
+
if ( mktime(0, 0, 0, $date_start_month, $date_start_day, $date_start_year) < $now ) {
|
118 |
+
$date = TRUE;
|
119 |
+
$DW->message('From date is in the past, sets Date to TRUE (rule EDT3)');
|
120 |
+
}
|
121 |
+
}
|
122 |
+
}
|
123 |
+
|
124 |
+
// WPML
|
125 |
+
if ( isset($curlang) ) {
|
126 |
+
foreach ( $opt as $condition ) {
|
127 |
+
if ( $condition['maintype'] == 'wpml' && $condition['name'] == $curlang ) {
|
128 |
+
(bool) $wpml_tmp = $condition['value'];
|
129 |
+
}
|
130 |
+
}
|
131 |
+
|
132 |
+
if ( isset($wpml_tmp) && $wpml_tmp != $wpml ) {
|
133 |
+
$DW->message('Exception triggered for WPML language, sets display to ' . ( $wpml_tmp ? 'TRUE' : 'FALSE' ) . ' (rule EML1)');
|
134 |
+
$wpml = $wpml_tmp;
|
135 |
+
}
|
136 |
+
}
|
137 |
|
138 |
// For debug messages
|
139 |
$e = ( $other ) ? 'TRUE' : 'FALSE';
|
150 |
$DW->message('WPML ObjectID: ' . $id);
|
151 |
}
|
152 |
|
153 |
+
foreach ( $opt as $condition ) {
|
154 |
+
if ( $condition['name'] != 'default' ) {
|
155 |
+
switch ( $condition['maintype'] ) {
|
156 |
+
case $DW->whereami:
|
157 |
+
$act_custom[ ] = $condition['name'];
|
158 |
+
break;
|
159 |
+
|
160 |
+
case $DW->whereami . '-childs':
|
161 |
+
$act_childs[ ] = $condition['name'];
|
162 |
+
break;
|
163 |
+
}
|
164 |
+
}
|
165 |
+
}
|
166 |
+
|
167 |
+
if ( in_array($id, $act_custom) ) {
|
168 |
$display = $other;
|
169 |
$DW->message('Exception triggered for ' . $widget_id . ' sets display to ' . $e . ' (rule ECP1)');
|
170 |
+
} else if ( count($act_childs) > 0 ) {
|
171 |
+
$parents = $DW->getParents('post', array(), $id);
|
172 |
+
if ( (bool) array_intersect($act_childs, $parents) ) {
|
173 |
+
$display = $other;
|
174 |
+
$DW->message('Exception triggered for ' . $widget_id . ' sets display to ' . $e . ' (rule ECP2)');
|
175 |
+
}
|
176 |
}
|
177 |
}
|
178 |
} else {
|
271 |
case 'home':
|
272 |
if ( count($act) > 0 ) {
|
273 |
$home_id = get_option('page_for_posts');
|
274 |
+
$DW->message('ID = ' . $home_id);
|
275 |
if ( $DW->wpml ) {
|
276 |
$home_id = dw_wpml_get_id($home_id);
|
277 |
$DW->message('WPML ObjectID: ' . $home_id);
|
286 |
|
287 |
case 'page':
|
288 |
if ( count($act) > 0 ) {
|
289 |
+
$act_page = array();
|
290 |
+
$act_childs = array();
|
291 |
+
|
292 |
$post = $GLOBALS['post'];
|
293 |
$id = $post->ID;
|
294 |
+
$DW->message('ID = ' . $id);
|
295 |
if ( $DW->wpml ) {
|
296 |
$id = dw_wpml_get_id($id);
|
297 |
$DW->message('WPML ObjectID: ' . $id);
|
298 |
}
|
299 |
|
300 |
+
foreach ( $opt as $condition ) {
|
301 |
+
if ( $condition['name'] != 'default' ) {
|
302 |
+
switch ( $condition['maintype'] ) {
|
303 |
+
case 'page':
|
304 |
+
$act_page[ ] = $condition['name'];
|
305 |
+
break;
|
306 |
+
|
307 |
+
case 'page-childs':
|
308 |
+
$act_childs[ ] = $condition['name'];
|
309 |
+
break;
|
310 |
+
}
|
311 |
+
}
|
312 |
+
}
|
313 |
+
|
314 |
+
if ( in_array($id, $act_page) ) {
|
315 |
$display = $other;
|
316 |
$DW->message('Exception triggered for ' . $widget_id . ' sets display to ' . $e . ' (rule EP1)');
|
317 |
+
} else if ( count($act_childs) > 0 ) {
|
318 |
+
$parents = $DW->getParents('page', array(), $id);
|
319 |
+
if ( (bool) array_intersect($act_childs, $parents) ) {
|
320 |
+
$display = $other;
|
321 |
+
$DW->message('Exception triggered for ' . $widget_id . ' sets display to ' . $e . ' (rule EP2)');
|
322 |
+
}
|
323 |
}
|
324 |
}
|
325 |
break;
|
351 |
if ( count($act) > 0 ) {
|
352 |
if ( is_dw_wpsc_category($act) ) {
|
353 |
$display = $other;
|
354 |
+
$DW->message('Exception triggered for ' . $widget_id . ' sets display to ' . $e . ' (rule ESC1)');
|
355 |
}
|
356 |
}
|
357 |
break;
|
360 |
} // END if/else ( $DW->custom_post_type )
|
361 |
} /* END if ( count($opt) > 0 ) */
|
362 |
|
363 |
+
if (! $display || ! $role || ! $date || ! $wpml ) {
|
364 |
$DW->message('Removed ' . $widget_id . ' from display, SID = ' . $sidebar_id . ' / WID = ' . $widget_id . ' / KID = ' . $widget_key);
|
365 |
if ( DW_OLD_METHOD ) {
|
366 |
unset($DW->registered_widgets[$widget_id]);
|
367 |
} else {
|
368 |
unset($sidebars[$sidebar_id][$widget_key]);
|
369 |
+
if (! isset($DW->removelist[$sidebar_id]) ) {
|
370 |
+
$DW->removelist[$sidebar_id] = array();
|
371 |
+
}
|
372 |
+
$DW->removelist[$sidebar_id][ ] = $widget_key;
|
373 |
}
|
374 |
}
|
375 |
} // END if ( in_array($widget_id, $DW->dynwid_list) )
|
377 |
} // END if ( $sidebar_id != 'wp_inactive_widgets' && count($widgets) > 0 )
|
378 |
} // END foreach ( $DW->sidebars as $sidebar_id => $widgets )
|
379 |
|
380 |
+
$DW->listmade = TRUE;
|
381 |
$DW->message('Dynamic Widgets END');
|
382 |
?>
|
jquery.ui.accordion.css
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* jQuery UI Accordion 1.8.6
|
3 |
+
*
|
4 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6 |
+
* http://jquery.org/license
|
7 |
+
*
|
8 |
+
* http://docs.jquery.com/UI/Accordion#theming
|
9 |
+
*/
|
10 |
+
/* IE/Win - Fix animation bug - #4615 */
|
11 |
+
.ui-accordion { width: 100%; }
|
12 |
+
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
|
13 |
+
.ui-accordion .ui-accordion-li-fix { display: inline; }
|
14 |
+
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
|
15 |
+
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
|
16 |
+
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
|
17 |
+
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
|
18 |
+
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
|
19 |
+
.ui-accordion .ui-accordion-content-active { display: block; }
|
jquery.ui.accordion.min.js
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* jQuery UI Accordion 1.7.3
|
3 |
+
*
|
4 |
+
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
5 |
+
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
6 |
+
* and GPL (GPL-LICENSE.txt) licenses.
|
7 |
+
*
|
8 |
+
* http://docs.jquery.com/UI/Accordion
|
9 |
+
*
|
10 |
+
* Depends:
|
11 |
+
* ui.core.js
|
12 |
+
*/(function(a){a.widget("ui.accordion",{_init:function(){var d=this.options,b=this;this.running=0;if(d.collapsible==a.ui.accordion.defaults.collapsible&&d.alwaysOpen!=a.ui.accordion.defaults.alwaysOpen){d.collapsible=!d.alwaysOpen}if(d.navigation){var c=this.element.find("a").filter(d.navigationFilter);if(c.length){if(c.filter(d.header).length){this.active=c}else{this.active=c.parent().parent().prev();c.addClass("ui-accordion-content-active")}}}this.element.addClass("ui-accordion ui-widget ui-helper-reset");if(this.element[0].nodeName=="UL"){this.element.children("li").addClass("ui-accordion-li-fix")}this.headers=this.element.find(d.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){a(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){a(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){a(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){a(this).removeClass("ui-state-focus")});this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");this.active=this._findActive(this.active||d.active).toggleClass("ui-state-default").toggleClass("ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");this.active.next().addClass("ui-accordion-content-active");a("<span/>").addClass("ui-icon "+d.icons.header).prependTo(this.headers);this.active.find(".ui-icon").toggleClass(d.icons.header).toggleClass(d.icons.headerSelected);if(a.browser.msie){this.element.find("a").css("zoom","1")}this.resize();this.element.attr("role","tablist");this.headers.attr("role","tab").bind("keydown",function(e){return b._keydown(e)}).next().attr("role","tabpanel");this.headers.not(this.active||"").attr("aria-expanded","false").attr("tabIndex","-1").next().hide();if(!this.active.length){this.headers.eq(0).attr("tabIndex","0")}else{this.active.attr("aria-expanded","true").attr("tabIndex","0")}if(!a.browser.safari){this.headers.find("a").attr("tabIndex","-1")}if(d.event){this.headers.bind((d.event)+".accordion",function(e){return b._clickHandler.call(b,e,this)})}},destroy:function(){var c=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role").unbind(".accordion").removeData("accordion");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("tabindex");this.headers.find("a").removeAttr("tabindex");this.headers.children(".ui-icon").remove();var b=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active");if(c.autoHeight||c.fillHeight){b.css("height","")}},_setData:function(b,c){if(b=="alwaysOpen"){b="collapsible";c=!c}a.widget.prototype._setData.apply(this,arguments)},_keydown:function(e){var g=this.options,f=a.ui.keyCode;if(g.disabled||e.altKey||e.ctrlKey){return}var d=this.headers.length;var b=this.headers.index(e.target);var c=false;switch(e.keyCode){case f.RIGHT:case f.DOWN:c=this.headers[(b+1)%d];break;case f.LEFT:case f.UP:c=this.headers[(b-1+d)%d];break;case f.SPACE:case f.ENTER:return this._clickHandler({target:e.target},e.target)}if(c){a(e.target).attr("tabIndex","-1");a(c).attr("tabIndex","0");c.focus();return false}return true},resize:function(){var e=this.options,d;if(e.fillSpace){if(a.browser.msie){var b=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}d=this.element.parent().height();if(a.browser.msie){this.element.parent().css("overflow",b)}this.headers.each(function(){d-=a(this).outerHeight()});var c=0;this.headers.next().each(function(){c=Math.max(c,a(this).innerHeight()-a(this).height())}).height(Math.max(0,d-c)).css("overflow","auto")}else{if(e.autoHeight){d=0;this.headers.next().each(function(){d=Math.max(d,a(this).outerHeight())}).height(d)}}},activate:function(b){var c=this._findActive(b)[0];this._clickHandler({target:c},c)},_findActive:function(b){return b?typeof b=="number"?this.headers.filter(":eq("+b+")"):this.headers.not(this.headers.not(b)):b===false?a([]):this.headers.filter(":eq(0)")},_clickHandler:function(b,f){var d=this.options;if(d.disabled){return false}if(!b.target&&d.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass("ui-accordion-content-active");var h=this.active.next(),e={options:d,newHeader:a([]),oldHeader:d.active,newContent:a([]),oldContent:h},c=(this.active=a([]));this._toggle(c,h,e);return false}var g=a(b.currentTarget||f);var i=g[0]==this.active[0];if(this.running||(!d.collapsible&&i)){return false}this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass("ui-accordion-content-active");if(!i){g.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").find(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected);g.next().addClass("ui-accordion-content-active")}var c=g.next(),h=this.active.next(),e={options:d,newHeader:i&&d.collapsible?a([]):g,oldHeader:this.active,newContent:i&&d.collapsible?a([]):c.find("> *"),oldContent:h.find("> *")},j=this.headers.index(this.active[0])>this.headers.index(g[0]);this.active=i?a([]):g;this._toggle(c,h,e,i,j);return false},_toggle:function(b,i,g,j,k){var d=this.options,m=this;this.toShow=b;this.toHide=i;this.data=g;var c=function(){if(!m){return}return m._completed.apply(m,arguments)};this._trigger("changestart",null,this.data);this.running=i.size()===0?b.size():i.size();if(d.animated){var f={};if(d.collapsible&&j){f={toShow:a([]),toHide:i,complete:c,down:k,autoHeight:d.autoHeight||d.fillSpace}}else{f={toShow:b,toHide:i,complete:c,down:k,autoHeight:d.autoHeight||d.fillSpace}}if(!d.proxied){d.proxied=d.animated}if(!d.proxiedDuration){d.proxiedDuration=d.duration}d.animated=a.isFunction(d.proxied)?d.proxied(f):d.proxied;d.duration=a.isFunction(d.proxiedDuration)?d.proxiedDuration(f):d.proxiedDuration;var l=a.ui.accordion.animations,e=d.duration,h=d.animated;if(!l[h]){l[h]=function(n){this.slide(n,{easing:h,duration:e||700})}}l[h](f)}else{if(d.collapsible&&j){b.toggle()}else{i.hide();b.show()}c(true)}i.prev().attr("aria-expanded","false").attr("tabIndex","-1").blur();b.prev().attr("aria-expanded","true").attr("tabIndex","0").focus()},_completed:function(b){var c=this.options;this.running=b?0:--this.running;if(this.running){return}if(c.clearStyle){this.toShow.add(this.toHide).css({height:"",overflow:""})}this._trigger("change",null,this.data)}});a.extend(a.ui.accordion,{version:"1.7.3",defaults:{active:null,alwaysOpen:true,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()==location.href.toLowerCase()}},animations:{slide:function(j,h){j=a.extend({easing:"swing",duration:300},j,h);if(!j.toHide.size()){j.toShow.animate({height:"show"},j);return}if(!j.toShow.size()){j.toHide.animate({height:"hide"},j);return}var c=j.toShow.css("overflow"),g,d={},f={},e=["height","paddingTop","paddingBottom"],b;var i=j.toShow;b=i[0].style.width;i.width(parseInt(i.parent().width(),10)-parseInt(i.css("paddingLeft"),10)-parseInt(i.css("paddingRight"),10)-(parseInt(i.css("borderLeftWidth"),10)||0)-(parseInt(i.css("borderRightWidth"),10)||0));a.each(e,function(k,m){f[m]="hide";var l=(""+a.css(j.toShow[0],m)).match(/^([\d+-.]+)(.*)$/);d[m]={value:l[1],unit:l[2]||"px"}});j.toShow.css({height:0,overflow:"hidden"}).show();j.toHide.filter(":hidden").each(j.complete).end().filter(":visible").animate(f,{step:function(k,l){if(l.prop=="height"){g=(l.now-l.start)/(l.end-l.start)}j.toShow[0].style[l.prop]=(g*d[l.prop].value)+d[l.prop].unit},duration:j.duration,easing:j.easing,complete:function(){if(!j.autoHeight){j.toShow.css("height","")}j.toShow.css("width",b);j.toShow.css({overflow:c});j.complete()}})},bounceslide:function(b){this.slide(b,{easing:b.down?"easeOutBounce":"swing",duration:b.down?1000:200})},easeslide:function(b){this.slide(b,{easing:"easeinout",duration:700})}}})})(jQuery);
|
jquery.ui.core.css
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* jQuery UI CSS Framework 1.8.6
|
3 |
+
*
|
4 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6 |
+
* http://jquery.org/license
|
7 |
+
*
|
8 |
+
* http://docs.jquery.com/UI/Theming/API
|
9 |
+
*/
|
10 |
+
|
11 |
+
/* Layout helpers
|
12 |
+
----------------------------------*/
|
13 |
+
.ui-helper-hidden { display: none; }
|
14 |
+
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
|
15 |
+
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
16 |
+
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
17 |
+
.ui-helper-clearfix { display: inline-block; }
|
18 |
+
/* required comment for clearfix to work in Opera \*/
|
19 |
+
* html .ui-helper-clearfix { height:1%; }
|
20 |
+
.ui-helper-clearfix { display:block; }
|
21 |
+
/* end clearfix */
|
22 |
+
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
23 |
+
|
24 |
+
|
25 |
+
/* Interaction Cues
|
26 |
+
----------------------------------*/
|
27 |
+
.ui-state-disabled { cursor: default !important; }
|
28 |
+
|
29 |
+
|
30 |
+
/* Icons
|
31 |
+
----------------------------------*/
|
32 |
+
|
33 |
+
/* states and images */
|
34 |
+
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
35 |
+
|
36 |
+
|
37 |
+
/* Misc visuals
|
38 |
+
----------------------------------*/
|
39 |
+
|
40 |
+
/* Overlays */
|
41 |
+
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
jquery.ui.datepicker.css
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Datepicker----------------------------------*/
|
2 |
+
.ui-datepicker { width: 17em; padding: .2em .2em 0; }
|
3 |
+
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
|
4 |
+
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
|
5 |
+
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
|
6 |
+
.ui-datepicker .ui-datepicker-prev { left:2px; }
|
7 |
+
.ui-datepicker .ui-datepicker-next { right:2px; }
|
8 |
+
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
|
9 |
+
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
|
10 |
+
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
|
11 |
+
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
12 |
+
.ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; }
|
13 |
+
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
14 |
+
.ui-datepicker select.ui-datepicker-month,
|
15 |
+
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
16 |
+
.ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; }
|
17 |
+
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
18 |
+
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
19 |
+
.ui-datepicker td { border: 0; padding: 1px; }
|
20 |
+
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
|
21 |
+
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
22 |
+
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
23 |
+
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
24 |
+
|
25 |
+
/* with multiple calendars */
|
26 |
+
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
27 |
+
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
28 |
+
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
29 |
+
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
30 |
+
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
31 |
+
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
32 |
+
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
33 |
+
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
34 |
+
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
35 |
+
.ui-datepicker-row-break { clear:both; width:100%; }
|
36 |
+
|
37 |
+
/* RTL support */
|
38 |
+
.ui-datepicker-rtl { direction: rtl; }
|
39 |
+
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
40 |
+
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
41 |
+
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
42 |
+
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
43 |
+
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
44 |
+
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
45 |
+
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
46 |
+
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
47 |
+
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
48 |
+
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
49 |
+
|
50 |
+
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
51 |
+
.ui-datepicker-cover {
|
52 |
+
display: none; /*sorry for IE5*/
|
53 |
+
display/**/: block; /*sorry for IE5*/
|
54 |
+
position: absolute; /*must have*/
|
55 |
+
z-index: -1; /*must have*/
|
56 |
+
filter: mask(); /*must have*/
|
57 |
+
top: -4px; /*must have*/
|
58 |
+
left: -4px; /*must have*/
|
59 |
+
width: 200px; /*must have*/
|
60 |
+
height: 200px; /*must have*/
|
61 |
+
}
|
jquery.ui.theme.smoothness.css
ADDED
@@ -0,0 +1,254 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
|
3 |
+
/*
|
4 |
+
* jQuery UI CSS Framework 1.8.6
|
5 |
+
*
|
6 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
7 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
8 |
+
* http://jquery.org/license
|
9 |
+
*
|
10 |
+
* http://docs.jquery.com/UI/Theming/API
|
11 |
+
*
|
12 |
+
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
13 |
+
*/
|
14 |
+
|
15 |
+
|
16 |
+
/* Component containers
|
17 |
+
----------------------------------*/
|
18 |
+
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
|
19 |
+
.ui-widget .ui-widget { font-size: 1em; }
|
20 |
+
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
|
21 |
+
.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
|
22 |
+
.ui-widget-content a { color: #222222; }
|
23 |
+
.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
|
24 |
+
.ui-widget-header a { color: #222222; }
|
25 |
+
|
26 |
+
/* Interaction states
|
27 |
+
----------------------------------*/
|
28 |
+
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; }
|
29 |
+
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
|
30 |
+
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
|
31 |
+
.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
|
32 |
+
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
|
33 |
+
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
|
34 |
+
.ui-widget :active { outline: none; }
|
35 |
+
|
36 |
+
/* Interaction Cues
|
37 |
+
----------------------------------*/
|
38 |
+
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
|
39 |
+
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
|
40 |
+
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
|
41 |
+
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
|
42 |
+
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
|
43 |
+
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
|
44 |
+
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
|
45 |
+
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
46 |
+
|
47 |
+
/* Icons
|
48 |
+
----------------------------------*/
|
49 |
+
|
50 |
+
/* states and images */
|
51 |
+
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
|
52 |
+
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
53 |
+
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
54 |
+
.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
|
55 |
+
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
|
56 |
+
.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
|
57 |
+
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
|
58 |
+
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
|
59 |
+
|
60 |
+
/* positioning */
|
61 |
+
.ui-icon-carat-1-n { background-position: 0 0; }
|
62 |
+
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
63 |
+
.ui-icon-carat-1-e { background-position: -32px 0; }
|
64 |
+
.ui-icon-carat-1-se { background-position: -48px 0; }
|
65 |
+
.ui-icon-carat-1-s { background-position: -64px 0; }
|
66 |
+
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
67 |
+
.ui-icon-carat-1-w { background-position: -96px 0; }
|
68 |
+
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
69 |
+
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
70 |
+
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
71 |
+
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
72 |
+
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
73 |
+
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
74 |
+
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
75 |
+
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
76 |
+
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
77 |
+
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
78 |
+
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
79 |
+
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
80 |
+
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
81 |
+
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
82 |
+
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
83 |
+
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
84 |
+
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
85 |
+
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
86 |
+
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
87 |
+
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
88 |
+
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
89 |
+
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
90 |
+
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
91 |
+
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
92 |
+
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
93 |
+
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
94 |
+
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
95 |
+
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
96 |
+
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
97 |
+
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
98 |
+
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
99 |
+
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
100 |
+
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
101 |
+
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
102 |
+
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
103 |
+
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
104 |
+
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
105 |
+
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
106 |
+
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
107 |
+
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
108 |
+
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
109 |
+
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
110 |
+
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
111 |
+
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
112 |
+
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
113 |
+
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
114 |
+
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
115 |
+
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
116 |
+
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
117 |
+
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
118 |
+
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
119 |
+
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
120 |
+
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
121 |
+
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
122 |
+
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
123 |
+
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
124 |
+
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
125 |
+
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
126 |
+
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
127 |
+
.ui-icon-extlink { background-position: -32px -80px; }
|
128 |
+
.ui-icon-newwin { background-position: -48px -80px; }
|
129 |
+
.ui-icon-refresh { background-position: -64px -80px; }
|
130 |
+
.ui-icon-shuffle { background-position: -80px -80px; }
|
131 |
+
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
132 |
+
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
133 |
+
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
134 |
+
.ui-icon-folder-open { background-position: -16px -96px; }
|
135 |
+
.ui-icon-document { background-position: -32px -96px; }
|
136 |
+
.ui-icon-document-b { background-position: -48px -96px; }
|
137 |
+
.ui-icon-note { background-position: -64px -96px; }
|
138 |
+
.ui-icon-mail-closed { background-position: -80px -96px; }
|
139 |
+
.ui-icon-mail-open { background-position: -96px -96px; }
|
140 |
+
.ui-icon-suitcase { background-position: -112px -96px; }
|
141 |
+
.ui-icon-comment { background-position: -128px -96px; }
|
142 |
+
.ui-icon-person { background-position: -144px -96px; }
|
143 |
+
.ui-icon-print { background-position: -160px -96px; }
|
144 |
+
.ui-icon-trash { background-position: -176px -96px; }
|
145 |
+
.ui-icon-locked { background-position: -192px -96px; }
|
146 |
+
.ui-icon-unlocked { background-position: -208px -96px; }
|
147 |
+
.ui-icon-bookmark { background-position: -224px -96px; }
|
148 |
+
.ui-icon-tag { background-position: -240px -96px; }
|
149 |
+
.ui-icon-home { background-position: 0 -112px; }
|
150 |
+
.ui-icon-flag { background-position: -16px -112px; }
|
151 |
+
.ui-icon-calendar { background-position: -32px -112px; }
|
152 |
+
.ui-icon-cart { background-position: -48px -112px; }
|
153 |
+
.ui-icon-pencil { background-position: -64px -112px; }
|
154 |
+
.ui-icon-clock { background-position: -80px -112px; }
|
155 |
+
.ui-icon-disk { background-position: -96px -112px; }
|
156 |
+
.ui-icon-calculator { background-position: -112px -112px; }
|
157 |
+
.ui-icon-zoomin { background-position: -128px -112px; }
|
158 |
+
.ui-icon-zoomout { background-position: -144px -112px; }
|
159 |
+
.ui-icon-search { background-position: -160px -112px; }
|
160 |
+
.ui-icon-wrench { background-position: -176px -112px; }
|
161 |
+
.ui-icon-gear { background-position: -192px -112px; }
|
162 |
+
.ui-icon-heart { background-position: -208px -112px; }
|
163 |
+
.ui-icon-star { background-position: -224px -112px; }
|
164 |
+
.ui-icon-link { background-position: -240px -112px; }
|
165 |
+
.ui-icon-cancel { background-position: 0 -128px; }
|
166 |
+
.ui-icon-plus { background-position: -16px -128px; }
|
167 |
+
.ui-icon-plusthick { background-position: -32px -128px; }
|
168 |
+
.ui-icon-minus { background-position: -48px -128px; }
|
169 |
+
.ui-icon-minusthick { background-position: -64px -128px; }
|
170 |
+
.ui-icon-close { background-position: -80px -128px; }
|
171 |
+
.ui-icon-closethick { background-position: -96px -128px; }
|
172 |
+
.ui-icon-key { background-position: -112px -128px; }
|
173 |
+
.ui-icon-lightbulb { background-position: -128px -128px; }
|
174 |
+
.ui-icon-scissors { background-position: -144px -128px; }
|
175 |
+
.ui-icon-clipboard { background-position: -160px -128px; }
|
176 |
+
.ui-icon-copy { background-position: -176px -128px; }
|
177 |
+
.ui-icon-contact { background-position: -192px -128px; }
|
178 |
+
.ui-icon-image { background-position: -208px -128px; }
|
179 |
+
.ui-icon-video { background-position: -224px -128px; }
|
180 |
+
.ui-icon-script { background-position: -240px -128px; }
|
181 |
+
.ui-icon-alert { background-position: 0 -144px; }
|
182 |
+
.ui-icon-info { background-position: -16px -144px; }
|
183 |
+
.ui-icon-notice { background-position: -32px -144px; }
|
184 |
+
.ui-icon-help { background-position: -48px -144px; }
|
185 |
+
.ui-icon-check { background-position: -64px -144px; }
|
186 |
+
.ui-icon-bullet { background-position: -80px -144px; }
|
187 |
+
.ui-icon-radio-off { background-position: -96px -144px; }
|
188 |
+
.ui-icon-radio-on { background-position: -112px -144px; }
|
189 |
+
.ui-icon-pin-w { background-position: -128px -144px; }
|
190 |
+
.ui-icon-pin-s { background-position: -144px -144px; }
|
191 |
+
.ui-icon-play { background-position: 0 -160px; }
|
192 |
+
.ui-icon-pause { background-position: -16px -160px; }
|
193 |
+
.ui-icon-seek-next { background-position: -32px -160px; }
|
194 |
+
.ui-icon-seek-prev { background-position: -48px -160px; }
|
195 |
+
.ui-icon-seek-end { background-position: -64px -160px; }
|
196 |
+
.ui-icon-seek-start { background-position: -80px -160px; }
|
197 |
+
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
198 |
+
.ui-icon-seek-first { background-position: -80px -160px; }
|
199 |
+
.ui-icon-stop { background-position: -96px -160px; }
|
200 |
+
.ui-icon-eject { background-position: -112px -160px; }
|
201 |
+
.ui-icon-volume-off { background-position: -128px -160px; }
|
202 |
+
.ui-icon-volume-on { background-position: -144px -160px; }
|
203 |
+
.ui-icon-power { background-position: 0 -176px; }
|
204 |
+
.ui-icon-signal-diag { background-position: -16px -176px; }
|
205 |
+
.ui-icon-signal { background-position: -32px -176px; }
|
206 |
+
.ui-icon-battery-0 { background-position: -48px -176px; }
|
207 |
+
.ui-icon-battery-1 { background-position: -64px -176px; }
|
208 |
+
.ui-icon-battery-2 { background-position: -80px -176px; }
|
209 |
+
.ui-icon-battery-3 { background-position: -96px -176px; }
|
210 |
+
.ui-icon-circle-plus { background-position: 0 -192px; }
|
211 |
+
.ui-icon-circle-minus { background-position: -16px -192px; }
|
212 |
+
.ui-icon-circle-close { background-position: -32px -192px; }
|
213 |
+
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
214 |
+
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
215 |
+
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
216 |
+
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
217 |
+
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
218 |
+
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
219 |
+
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
220 |
+
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
221 |
+
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
222 |
+
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
223 |
+
.ui-icon-circle-check { background-position: -208px -192px; }
|
224 |
+
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
225 |
+
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
226 |
+
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
227 |
+
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
228 |
+
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
229 |
+
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
230 |
+
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
231 |
+
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
232 |
+
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
233 |
+
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
234 |
+
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
235 |
+
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
236 |
+
|
237 |
+
|
238 |
+
/* Misc visuals
|
239 |
+
----------------------------------*/
|
240 |
+
|
241 |
+
/* Corner radius */
|
242 |
+
.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; }
|
243 |
+
.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
|
244 |
+
.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
|
245 |
+
.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
246 |
+
.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
|
247 |
+
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
248 |
+
.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
249 |
+
.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
|
250 |
+
.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
|
251 |
+
|
252 |
+
/* Overlays */
|
253 |
+
.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
|
254 |
+
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
|
locale/dynamic-widgets-fr_FR.mo
ADDED
Binary file
|
locale/dynamic-widgets-fr_FR.po
ADDED
@@ -0,0 +1,456 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Dynamic Widgets\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2010-11-07 20:42+0100\n"
|
6 |
+
"PO-Revision-Date: 2010-11-07 20:44+0100\n"
|
7 |
+
"Last-Translator: Alexis NOMINE <alexis.nomine@gmail.com>\n"
|
8 |
+
"Language-Team: Alexis NOMINE <alexis@nomine.fr>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
+
"Plural-Forms: s\n"
|
16 |
+
"X-Poedit-Language: French\n"
|
17 |
+
"X-Poedit-Country: FRANCE\n"
|
18 |
+
"X-Poedit-SearchPath-0: ..\n"
|
19 |
+
|
20 |
+
#: ../dynamic-widgets.php:118
|
21 |
+
msgid "Widgets are always displayed by default"
|
22 |
+
msgstr "Les widgets sont affichés partout par défaut"
|
23 |
+
|
24 |
+
#: ../dynamic-widgets.php:118
|
25 |
+
msgid "The '<em>Yes</em>' selection"
|
26 |
+
msgstr "Case '<em>Oui</em>' cochée"
|
27 |
+
|
28 |
+
#: ../dynamic-widgets.php:119
|
29 |
+
msgid "Click on the"
|
30 |
+
msgstr "Cliquez sur"
|
31 |
+
|
32 |
+
#: ../dynamic-widgets.php:119
|
33 |
+
msgid "next to the options for more info"
|
34 |
+
msgstr "à côté de chaque réglage pour plus d'informations"
|
35 |
+
|
36 |
+
#: ../dynamic-widgets.php:121
|
37 |
+
#: ../dynamic-widgets.php:122
|
38 |
+
#: ../dynamic-widgets.php:125
|
39 |
+
#: ../dynamic-widgets.php:563
|
40 |
+
#: ../dynwid_admin_overview.php:73
|
41 |
+
msgid "Static"
|
42 |
+
msgstr "Statique"
|
43 |
+
|
44 |
+
#: ../dynamic-widgets.php:121
|
45 |
+
#: ../dynamic-widgets.php:123
|
46 |
+
#: ../dynamic-widgets.php:563
|
47 |
+
#: ../dynwid_admin_overview.php:73
|
48 |
+
msgid "Dynamic"
|
49 |
+
msgstr "Dynamique"
|
50 |
+
|
51 |
+
#: ../dynamic-widgets.php:122
|
52 |
+
msgid "When a widget is"
|
53 |
+
msgstr "Quand un widget est"
|
54 |
+
|
55 |
+
#: ../dynamic-widgets.php:122
|
56 |
+
msgid "the widget uses the WordPress default. In other words, it's shown everywhere"
|
57 |
+
msgstr "le widget utilise le paramétrage par défaut de WordPress et est affiché partout"
|
58 |
+
|
59 |
+
#: ../dynamic-widgets.php:123
|
60 |
+
msgid "A widget is"
|
61 |
+
msgstr "Un widget est"
|
62 |
+
|
63 |
+
#: ../dynamic-widgets.php:123
|
64 |
+
msgid "when there are options set, i.e. not showing on the front page."
|
65 |
+
msgstr "quand des réglages s'appliquent (par exemple masquer sur la page d'accueil)."
|
66 |
+
|
67 |
+
#: ../dynamic-widgets.php:124
|
68 |
+
#: ../dynwid_admin_overview.php:67
|
69 |
+
msgid "Reset"
|
70 |
+
msgstr "Réinitialiser"
|
71 |
+
|
72 |
+
#: ../dynamic-widgets.php:125
|
73 |
+
msgid "Reset makes the widget return to"
|
74 |
+
msgstr "La réinirialisation rendra le widget à nouveau"
|
75 |
+
|
76 |
+
# WordPress MO
|
77 |
+
#: ../dynamic-widgets.php:169
|
78 |
+
msgid "Settings"
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#: ../dynamic-widgets.php:562
|
82 |
+
msgid "This widget is"
|
83 |
+
msgstr "Ce widget est"
|
84 |
+
|
85 |
+
# WordPress MO
|
86 |
+
#: ../dynamic-widgets.php:568
|
87 |
+
#: ../dynwid_admin_edit.php:366
|
88 |
+
msgid "Role"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
# WordPress MO
|
92 |
+
#: ../dynamic-widgets.php:569
|
93 |
+
#: ../dynwid_admin_edit.php:386
|
94 |
+
msgid "Date"
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: ../dynamic-widgets.php:570
|
98 |
+
#: ../dynwid_admin_edit.php:417
|
99 |
+
msgid "Front Page"
|
100 |
+
msgstr "Page d'accueil"
|
101 |
+
|
102 |
+
#: ../dynamic-widgets.php:571
|
103 |
+
#: ../dynwid_admin_edit.php:433
|
104 |
+
msgid "Single Posts"
|
105 |
+
msgstr "Article"
|
106 |
+
|
107 |
+
# WordPress MO
|
108 |
+
#: ../dynamic-widgets.php:572
|
109 |
+
#: ../dynwid_admin_edit.php:494
|
110 |
+
msgid "Pages"
|
111 |
+
msgstr "Pages statiques"
|
112 |
+
|
113 |
+
#: ../dynamic-widgets.php:573
|
114 |
+
#: ../dynwid_admin_edit.php:509
|
115 |
+
msgid "Author Pages"
|
116 |
+
msgstr "Pages d'auteur"
|
117 |
+
|
118 |
+
#: ../dynamic-widgets.php:574
|
119 |
+
#: ../dynwid_admin_edit.php:523
|
120 |
+
msgid "Category Pages"
|
121 |
+
msgstr "Pages de catégorie"
|
122 |
+
|
123 |
+
#: ../dynamic-widgets.php:575
|
124 |
+
#: ../dynwid_admin_edit.php:538
|
125 |
+
msgid "Archive Pages"
|
126 |
+
msgstr "Pages d'archives"
|
127 |
+
|
128 |
+
#: ../dynamic-widgets.php:576
|
129 |
+
#: ../dynwid_admin_edit.php:552
|
130 |
+
msgid "Error Page"
|
131 |
+
msgstr "Pages d'erreur"
|
132 |
+
|
133 |
+
#: ../dynamic-widgets.php:577
|
134 |
+
msgid "Search page"
|
135 |
+
msgstr "Page de recherche"
|
136 |
+
|
137 |
+
#: ../dynamic-widgets.php:578
|
138 |
+
#: ../dynwid_admin_edit.php:632
|
139 |
+
msgid "WPSC Category"
|
140 |
+
msgstr "Catégorie \"WordPress Shopping Cart\""
|
141 |
+
|
142 |
+
#: ../dynamic-widgets.php:613
|
143 |
+
msgid "and"
|
144 |
+
msgstr "et"
|
145 |
+
|
146 |
+
#: ../dynamic-widgets.php:619
|
147 |
+
msgid "Options set for"
|
148 |
+
msgstr "Réglages pour"
|
149 |
+
|
150 |
+
#: ../dynamic-widgets.php:619
|
151 |
+
msgid "Option set for"
|
152 |
+
msgstr "Réglages pour"
|
153 |
+
|
154 |
+
#: ../dynwid_admin.php:16
|
155 |
+
msgid "<b>WARNING</b> STRICT sql mode in effect. Dynamic Widgets might not work correctly. Please disable STRICT sql mode."
|
156 |
+
msgstr "<b>Attention!</b> Le mode SQL STRICT est activé. Dynamic Widgets pourrait ne pas fonctionner correctement. Merci de désactiver le mode SQL STRICT."
|
157 |
+
|
158 |
+
#: ../dynwid_admin.php:36
|
159 |
+
msgid "Oops! Something went terrible wrong. Please reinstall Dynamic Widgets."
|
160 |
+
msgstr "Oups! Quelque chose à mal tourné. Merci de réinstaller Dynamic Widgets."
|
161 |
+
|
162 |
+
#: ../dynwid_admin.php:44
|
163 |
+
#: ../dynwid_admin_overview.php:28
|
164 |
+
msgid "OLD"
|
165 |
+
msgstr ""
|
166 |
+
|
167 |
+
#: ../dynwid_admin.php:44
|
168 |
+
#: ../dynwid_admin_overview.php:28
|
169 |
+
msgid "FILTER"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
# WordPress MO
|
173 |
+
#: ../dynwid_admin_edit.php:22
|
174 |
+
msgid "Anonymous"
|
175 |
+
msgstr ""
|
176 |
+
|
177 |
+
#: ../dynwid_admin_edit.php:342
|
178 |
+
msgid "Widget options saved."
|
179 |
+
msgstr "Options du widget sauvegardées."
|
180 |
+
|
181 |
+
#: ../dynwid_admin_edit.php:342
|
182 |
+
#: ../dynwid_admin_edit.php:653
|
183 |
+
msgid "Return"
|
184 |
+
msgstr "Retour"
|
185 |
+
|
186 |
+
#: ../dynwid_admin_edit.php:342
|
187 |
+
msgid "to Dynamic Widgets overview"
|
188 |
+
msgstr "à la vue générale Dynamic Widget"
|
189 |
+
|
190 |
+
#: ../dynwid_admin_edit.php:347
|
191 |
+
msgid "Dynamic does not mean static hiding of a widget."
|
192 |
+
msgstr "Dynamic ne permet pas de masquer statiquement un widget"
|
193 |
+
|
194 |
+
#: ../dynwid_admin_edit.php:347
|
195 |
+
msgid "Hint"
|
196 |
+
msgstr "Astuce"
|
197 |
+
|
198 |
+
#: ../dynwid_admin_edit.php:347
|
199 |
+
msgid "Remove"
|
200 |
+
msgstr "Effacer"
|
201 |
+
|
202 |
+
#: ../dynwid_admin_edit.php:347
|
203 |
+
msgid "the widget from the sidebar"
|
204 |
+
msgstr "le widget de la barre latérale"
|
205 |
+
|
206 |
+
#: ../dynwid_admin_edit.php:351
|
207 |
+
msgid "The From date can't be later than the To date."
|
208 |
+
msgstr "La date de début doit être inférieure à la date de fin."
|
209 |
+
|
210 |
+
#: ../dynwid_admin_edit.php:356
|
211 |
+
msgid "Edit options for"
|
212 |
+
msgstr "Modifier les réglages de"
|
213 |
+
|
214 |
+
# WordPress MO
|
215 |
+
#: ../dynwid_admin_edit.php:356
|
216 |
+
msgid "Widget"
|
217 |
+
msgstr ""
|
218 |
+
|
219 |
+
#: ../dynwid_admin_edit.php:368
|
220 |
+
msgid "Show widget to everybody?"
|
221 |
+
msgstr "Afficher le widget pour tout le monde?"
|
222 |
+
|
223 |
+
#: ../dynwid_admin_edit.php:372
|
224 |
+
msgid ""
|
225 |
+
"Setting options by role is very powerfull. It can override all other options!<br />\n"
|
226 |
+
"\t\t\t\t\t\tUsers who are not logged in, get the <em>Anonymous</em> role."
|
227 |
+
msgstr ""
|
228 |
+
"Les réglages des rôles sont relativement puissants et permettent de passer outre tous les autres réglages!<br />\n"
|
229 |
+
"\t\t\t\t\t\tLe rôle <em>Anonyme</em> correspond aux utilisateurs non connectés."
|
230 |
+
|
231 |
+
# WordPress MO
|
232 |
+
#: ../dynwid_admin_edit.php:376
|
233 |
+
#: ../dynwid_admin_edit.php:400
|
234 |
+
#: ../dynwid_admin_edit.php:428
|
235 |
+
#: ../dynwid_admin_edit.php:444
|
236 |
+
#: ../dynwid_admin_edit.php:498
|
237 |
+
#: ../dynwid_admin_edit.php:513
|
238 |
+
#: ../dynwid_admin_edit.php:527
|
239 |
+
#: ../dynwid_admin_edit.php:547
|
240 |
+
#: ../dynwid_admin_edit.php:556
|
241 |
+
#: ../dynwid_admin_edit.php:565
|
242 |
+
#: ../dynwid_admin_edit.php:611
|
243 |
+
#: ../dynwid_admin_edit.php:636
|
244 |
+
msgid "Yes"
|
245 |
+
msgstr ""
|
246 |
+
|
247 |
+
# WordPress MO
|
248 |
+
#: ../dynwid_admin_edit.php:377
|
249 |
+
#: ../dynwid_admin_edit.php:401
|
250 |
+
#: ../dynwid_admin_edit.php:429
|
251 |
+
#: ../dynwid_admin_edit.php:445
|
252 |
+
#: ../dynwid_admin_edit.php:499
|
253 |
+
#: ../dynwid_admin_edit.php:514
|
254 |
+
#: ../dynwid_admin_edit.php:528
|
255 |
+
#: ../dynwid_admin_edit.php:548
|
256 |
+
#: ../dynwid_admin_edit.php:557
|
257 |
+
#: ../dynwid_admin_edit.php:566
|
258 |
+
#: ../dynwid_admin_edit.php:612
|
259 |
+
#: ../dynwid_admin_edit.php:637
|
260 |
+
msgid "No"
|
261 |
+
msgstr ""
|
262 |
+
|
263 |
+
#: ../dynwid_admin_edit.php:377
|
264 |
+
msgid "only to"
|
265 |
+
msgstr "seulement à"
|
266 |
+
|
267 |
+
#: ../dynwid_admin_edit.php:388
|
268 |
+
msgid "Show widget always?"
|
269 |
+
msgstr "Toujours afficher le widget?"
|
270 |
+
|
271 |
+
#: ../dynwid_admin_edit.php:392
|
272 |
+
msgid "Next to the above role option, the date option is also very powerfull. You've been warned!"
|
273 |
+
msgstr "Les réglages de dates sont relativement puissants et permettent de passer outre tous les autres réglages!"
|
274 |
+
|
275 |
+
#: ../dynwid_admin_edit.php:393
|
276 |
+
msgid "Enter dates in the YYYY-MM-DD format. You can also use the calender by clicking on the"
|
277 |
+
msgstr "Entrer la date au format AAAA-MM-JJ. Vous pouvez aussi utiliser le calendrier en cliquant sur"
|
278 |
+
|
279 |
+
#: ../dynwid_admin_edit.php:394
|
280 |
+
msgid ""
|
281 |
+
"Date ranges can be made by entering a From AND a To date<br />\n"
|
282 |
+
" \t\t\t\t\tWhen you want the widget to be displayed from a specific date, only fill in the From date<br />\n"
|
283 |
+
" \t\t\t\t\tWhen you want the widget to stop displaying on a specific date, only fill in the To date.\n"
|
284 |
+
" \t\t\t\t"
|
285 |
+
msgstr ""
|
286 |
+
"Les périodes peuvent être définies en entrant une date de début ET une date de fin<br />\n"
|
287 |
+
" \t\t\t\t\tSi vous voulez afficher le widget à partir d'une certaine date seulement, remplissez uniquement la date de début<br />\n"
|
288 |
+
" \t\t\t\t\tSi vous voulez masquer le widget à partir d'une certaine date seulement, remplissez uniquement la date de fin.\n"
|
289 |
+
" \t\t\t\t"
|
290 |
+
|
291 |
+
#: ../dynwid_admin_edit.php:401
|
292 |
+
msgid "only"
|
293 |
+
msgstr "uniquement"
|
294 |
+
|
295 |
+
#: ../dynwid_admin_edit.php:405
|
296 |
+
msgid "From"
|
297 |
+
msgstr "Du"
|
298 |
+
|
299 |
+
#: ../dynwid_admin_edit.php:409
|
300 |
+
msgid "To"
|
301 |
+
msgstr "Au"
|
302 |
+
|
303 |
+
#: ../dynwid_admin_edit.php:419
|
304 |
+
msgid "Show widget on the front page?"
|
305 |
+
msgstr "Afficher le widget sur la page d'accueil?"
|
306 |
+
|
307 |
+
#: ../dynwid_admin_edit.php:423
|
308 |
+
msgid ""
|
309 |
+
"This option only applies when your front page is set to display your latest posts (See Settings > Reading).<br />\n"
|
310 |
+
"\t\t\t\t\t\tWhen a static page is set, you can use the options for the static pages below.\n"
|
311 |
+
"\t\t\t\t\t"
|
312 |
+
msgstr ""
|
313 |
+
"Ce réglage s'applique uniquement si votre page d'accueil est paramétrée pour afficher les derniers articles. (Voir Réglages > Lecture).<br />\n"
|
314 |
+
"\t\t\t\t\t\tSi votre page d'accueil est configurée comme une page statique, vous pouvez utiliser les réglages des pages statiques ci-dessous.\n"
|
315 |
+
"\t\t\t\t\t"
|
316 |
+
|
317 |
+
#: ../dynwid_admin_edit.php:435
|
318 |
+
msgid "Show widget default on single posts?"
|
319 |
+
msgstr "Afficher le widget sur chaque page d'article?"
|
320 |
+
|
321 |
+
#: ../dynwid_admin_edit.php:439
|
322 |
+
msgid ""
|
323 |
+
"When you use an author <b>AND</b> a category exception, both rules in the condition must be met. Otherwise the exception rule won't be applied.\n"
|
324 |
+
" \t\t\t\t\tIf you want to use the rules in a logical OR condition. Add the same widget again and apply the other rule to that.\n"
|
325 |
+
" \t\t\t\t\t"
|
326 |
+
msgstr ""
|
327 |
+
"Si vous utilisez des régles concernant l'auteur <b>ET</b> les catégories, les deux conditions doivent être remplies pour que le widget s'affiche.\n"
|
328 |
+
" \t\t\t\t\tSi vous voulez etiliser une règle <b>OU</b> l'autre, ajoutez un widget identique et appliquez-lui d'autres règles.\n"
|
329 |
+
" \t\t\t\t\t"
|
330 |
+
|
331 |
+
#: ../dynwid_admin_edit.php:448
|
332 |
+
msgid "Make exception rule available to individual posts and tags."
|
333 |
+
msgstr "Permettre le réglage pour chaque article ou mot clé individuellement."
|
334 |
+
|
335 |
+
#: ../dynwid_admin_edit.php:452
|
336 |
+
msgid ""
|
337 |
+
"When you enable this option, you have the ability to apply the exception rule for <em>Single Posts</em> to tags and individual posts.\n"
|
338 |
+
"\t\t\t\t\t\tYou can set the exception rule for tags in the single Edit Tag Panel (go to <a href=\"edit-tags.php?taxonomy=post_tag\">Post Tags</a>,\n"
|
339 |
+
"\t\t\t\t\t\tclick a tag), For individual posts in the <a href=\"post-new.php\">New</a> or <a href=\"edit.php\">Edit</a> Posts panel.\n"
|
340 |
+
"\t\t\t\t\t\tException rules for tags and individual posts in any combination work independantly, but will always be counted as one exception.<br />\n"
|
341 |
+
" \t\t\t\t\tPlease note when exception rules are set for Author and/or Category, these will be removed.\n"
|
342 |
+
" \t\t\t\t"
|
343 |
+
msgstr ""
|
344 |
+
"Lorsque ce réglage est activé, il est possible de l'appliquer à chaque article ou mot clé individuellement.\n"
|
345 |
+
"\t\t\t\t\t\tLe réglage sera alors accessible dans le panneau d'édition des mots clés (<a href=\"edit-tags.php?taxonomy=post_tag\">ici</a>,\n"
|
346 |
+
"\t\t\t\t\t\tcliquez sur le mot clé concerné), <br/>Pour les articles, ce réglage sera accessible dans les panneaux <a href=\"post-new.php\">Ajout</a> ou <a href=\"edit.php\">Édition</a>.\n"
|
347 |
+
"\t\t\t\t\t\tToutes les combinaisons de règles appliqués aux articles ou aux mots clés sont indépendantes mais seront appliquées comme une seule et même règle.<br />\n"
|
348 |
+
" \t\t\t\t\tAttention! Ces règles seront effacées si des règles sont appliquées concernant les auteurs ou catégories. \n"
|
349 |
+
" \t\t\t\t"
|
350 |
+
|
351 |
+
#: ../dynwid_admin_edit.php:469
|
352 |
+
msgid "Except the posts by author"
|
353 |
+
msgstr "Sauf les articles de l'auteur suivant"
|
354 |
+
|
355 |
+
#: ../dynwid_admin_edit.php:480
|
356 |
+
msgid "Except the posts in category"
|
357 |
+
msgstr "Sauf les articles appartenant à la catégorie"
|
358 |
+
|
359 |
+
#: ../dynwid_admin_edit.php:496
|
360 |
+
msgid "Show widget default on static pages?"
|
361 |
+
msgstr "Afficher le widget sur les pages statiques?"
|
362 |
+
|
363 |
+
#: ../dynwid_admin_edit.php:500
|
364 |
+
msgid "Except the page(s)"
|
365 |
+
msgstr "Sauf la/les page(s)"
|
366 |
+
|
367 |
+
#: ../dynwid_admin_edit.php:511
|
368 |
+
msgid "Show widget default on author pages?"
|
369 |
+
msgstr "Afficher le widget sur les pages d'auteur"
|
370 |
+
|
371 |
+
#: ../dynwid_admin_edit.php:515
|
372 |
+
msgid "Except the author(s)"
|
373 |
+
msgstr "Sauf le/les auteur(s)"
|
374 |
+
|
375 |
+
#: ../dynwid_admin_edit.php:525
|
376 |
+
msgid "Show widget default on category pages?"
|
377 |
+
msgstr "Afficher le widget sur les pages de catégorie?"
|
378 |
+
|
379 |
+
#: ../dynwid_admin_edit.php:529
|
380 |
+
#: ../dynwid_admin_edit.php:638
|
381 |
+
msgid "Except the categories"
|
382 |
+
msgstr "Sauf les catégories"
|
383 |
+
|
384 |
+
#: ../dynwid_admin_edit.php:540
|
385 |
+
msgid "Show widget on archive pages"
|
386 |
+
msgstr "Afficher le widget sur les pages d'archives"
|
387 |
+
|
388 |
+
#: ../dynwid_admin_edit.php:544
|
389 |
+
msgid "This option does not include Author and Category Pages."
|
390 |
+
msgstr "Ce réglage ne s'applique ni aux pages d'auteur ni aux pages de catégorie"
|
391 |
+
|
392 |
+
#: ../dynwid_admin_edit.php:554
|
393 |
+
msgid "Show widget on the error page?"
|
394 |
+
msgstr "Afficher le widget sur les pages d'erreur?"
|
395 |
+
|
396 |
+
#: ../dynwid_admin_edit.php:561
|
397 |
+
msgid "Search Page"
|
398 |
+
msgstr "Page de recherche"
|
399 |
+
|
400 |
+
#: ../dynwid_admin_edit.php:563
|
401 |
+
msgid "Show widget on the search page?"
|
402 |
+
msgstr "Afficher le widget sur les pages de recherche?"
|
403 |
+
|
404 |
+
#: ../dynwid_admin_edit.php:606
|
405 |
+
msgid "Custom Post Type"
|
406 |
+
msgstr "Types de contenu personnalisés"
|
407 |
+
|
408 |
+
#: ../dynwid_admin_edit.php:608
|
409 |
+
msgid "Show widget on"
|
410 |
+
msgstr "Afficher le widget pour"
|
411 |
+
|
412 |
+
#: ../dynwid_admin_edit.php:614
|
413 |
+
msgid "Except for"
|
414 |
+
msgstr "Sauf pour"
|
415 |
+
|
416 |
+
#: ../dynwid_admin_edit.php:634
|
417 |
+
msgid "Show widget default on WPSC categories?"
|
418 |
+
msgstr "Afficher le widget pour les catégories \"WordPress Shopping Cart\""
|
419 |
+
|
420 |
+
# WordPress MO
|
421 |
+
#: ../dynwid_admin_edit.php:649
|
422 |
+
msgid "Save"
|
423 |
+
msgstr ""
|
424 |
+
|
425 |
+
#: ../dynwid_admin_overview.php:15
|
426 |
+
msgid "Widget options have been reset to default."
|
427 |
+
msgstr "Les réglages du widget ont été réinitialisées"
|
428 |
+
|
429 |
+
#: ../dynwid_admin_overview.php:28
|
430 |
+
msgid "Method set to"
|
431 |
+
msgstr ""
|
432 |
+
|
433 |
+
#: ../dynwid_admin_overview.php:59
|
434 |
+
#: ../dynwid_admin_overview.php:62
|
435 |
+
msgid "Edit this widget options"
|
436 |
+
msgstr "Modifier les réglages de ce widget"
|
437 |
+
|
438 |
+
# WordPress MO
|
439 |
+
#: ../dynwid_admin_overview.php:62
|
440 |
+
msgid "Edit"
|
441 |
+
msgstr ""
|
442 |
+
|
443 |
+
#: ../dynwid_admin_overview.php:67
|
444 |
+
msgid "Reset widget to Static"
|
445 |
+
msgstr "Rendre ce widget statique"
|
446 |
+
|
447 |
+
#: ../dynwid_admin_overview.php:88
|
448 |
+
msgid "Advanced"
|
449 |
+
msgstr "Avancé"
|
450 |
+
|
451 |
+
#, fuzzy
|
452 |
+
#~ msgid "The"
|
453 |
+
#~ msgstr "Le"
|
454 |
+
|
455 |
+
#~ msgid "selection"
|
456 |
+
#~ msgstr "sélection"
|
locale/dynamic-widgets-nl.mo
CHANGED
Binary file
|
locale/dynamic-widgets-nl.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Dynamic Widgets NL\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2010-
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Jacco\n"
|
8 |
"Language-Team: \n"
|
@@ -12,61 +12,62 @@ msgstr ""
|
|
12 |
"X-Poedit-Language: Dutch\n"
|
13 |
"X-Poedit-Country: NETHERLANDS\n"
|
14 |
|
15 |
-
#: ../dynwid_admin_edit.php:
|
16 |
msgid "Anonymous"
|
17 |
msgstr "Anoniem"
|
18 |
|
19 |
-
#: ../dynwid_admin_edit.php:
|
20 |
msgid "Widget options saved."
|
21 |
msgstr "Widget opties bewaard"
|
22 |
|
23 |
-
#: ../dynwid_admin_edit.php:
|
24 |
-
#: ../dynwid_admin_edit.php:
|
25 |
msgid "Return"
|
26 |
msgstr "Terug"
|
27 |
|
28 |
-
#: ../dynwid_admin_edit.php:
|
29 |
msgid "to Dynamic Widgets overview"
|
30 |
-
msgstr "naar
|
31 |
|
32 |
-
#: ../dynwid_admin_edit.php:
|
33 |
msgid "Dynamic does not mean static hiding of a widget."
|
34 |
msgstr "Dynamisch houdt niet in het statisch verbergen van een widget."
|
35 |
|
36 |
-
#: ../dynwid_admin_edit.php:
|
37 |
msgid "Hint"
|
38 |
msgstr "Hint"
|
39 |
|
40 |
-
#: ../dynwid_admin_edit.php:
|
41 |
msgid "Remove"
|
42 |
msgstr "Verwijderen"
|
43 |
|
44 |
-
#: ../dynwid_admin_edit.php:
|
45 |
msgid "the widget from the sidebar"
|
46 |
msgstr "de widget in de sidebar"
|
47 |
|
48 |
-
#: ../dynwid_admin_edit.php:
|
49 |
msgid "The From date can't be later than the To date."
|
50 |
msgstr "The 'van' datum kan niet later zijn dan de 'tot' datum."
|
51 |
|
52 |
-
#: ../dynwid_admin_edit.php:
|
53 |
msgid "Edit options for"
|
54 |
msgstr "Wijzig de opties voor"
|
55 |
|
56 |
-
#: ../dynwid_admin_edit.php:
|
57 |
msgid "Widget"
|
58 |
msgstr "Widget"
|
59 |
|
60 |
-
#: ../dynwid_admin_edit.php:
|
61 |
-
#: ../
|
|
|
62 |
msgid "Role"
|
63 |
msgstr "Rol"
|
64 |
|
65 |
-
#: ../dynwid_admin_edit.php:
|
66 |
msgid "Show widget to everybody?"
|
67 |
msgstr "Toon de widget aan iedereen?"
|
68 |
|
69 |
-
#: ../dynwid_admin_edit.php:
|
70 |
msgid ""
|
71 |
"Setting options by role is very powerfull. It can override all other options!<br />\n"
|
72 |
"\t\t\t\t\t\tUsers who are not logged in, get the <em>Anonymous</em> role."
|
@@ -74,59 +75,61 @@ msgstr ""
|
|
74 |
"De rol opties zijn zeer bijzonder. Ze kunnen alle andere opties overstijgen!<br />\n"
|
75 |
"\t\t\t\t\t\tGebruikers die niet ingelogd zijn, krijgen de <em>anonieme</em> rol."
|
76 |
|
77 |
-
#: ../dynwid_admin_edit.php:
|
78 |
-
#: ../dynwid_admin_edit.php:
|
79 |
-
#: ../dynwid_admin_edit.php:
|
80 |
-
#: ../dynwid_admin_edit.php:
|
81 |
-
#: ../dynwid_admin_edit.php:
|
82 |
-
#: ../dynwid_admin_edit.php:
|
83 |
-
#: ../dynwid_admin_edit.php:
|
84 |
-
#: ../dynwid_admin_edit.php:
|
85 |
-
#: ../dynwid_admin_edit.php:
|
86 |
-
#: ../dynwid_admin_edit.php:
|
87 |
-
#: ../dynwid_admin_edit.php:
|
88 |
-
#: ../dynwid_admin_edit.php:
|
89 |
-
#: ../
|
90 |
msgid "Yes"
|
91 |
msgstr "Ja"
|
92 |
|
93 |
-
#: ../dynwid_admin_edit.php:
|
94 |
-
#: ../dynwid_admin_edit.php:
|
95 |
-
#: ../dynwid_admin_edit.php:
|
96 |
-
#: ../dynwid_admin_edit.php:
|
97 |
-
#: ../dynwid_admin_edit.php:
|
98 |
-
#: ../dynwid_admin_edit.php:
|
99 |
-
#: ../dynwid_admin_edit.php:
|
100 |
-
#: ../dynwid_admin_edit.php:
|
101 |
-
#: ../dynwid_admin_edit.php:
|
102 |
-
#: ../dynwid_admin_edit.php:
|
103 |
-
#: ../dynwid_admin_edit.php:
|
104 |
-
#: ../dynwid_admin_edit.php:
|
|
|
105 |
msgid "No"
|
106 |
msgstr "Nee"
|
107 |
|
108 |
-
#: ../dynwid_admin_edit.php:
|
109 |
msgid "only to"
|
110 |
msgstr "alleen aan"
|
111 |
|
112 |
-
#: ../dynwid_admin_edit.php:
|
113 |
-
#: ../
|
|
|
114 |
msgid "Date"
|
115 |
msgstr "Datum"
|
116 |
|
117 |
-
#: ../dynwid_admin_edit.php:
|
118 |
msgid "Show widget always?"
|
119 |
msgstr "Altijd de widget tonen?"
|
120 |
|
121 |
-
#: ../dynwid_admin_edit.php:
|
122 |
msgid "Next to the above role option, the date option is also very powerfull. You've been warned!"
|
123 |
msgstr "Net zoals de bovenstaande opties, is de datum opties zeer bijzonder. U bent gewaarschuwd!"
|
124 |
|
125 |
-
#: ../dynwid_admin_edit.php:
|
126 |
msgid "Enter dates in the YYYY-MM-DD format. You can also use the calender by clicking on the"
|
127 |
msgstr "Voer datum in volgens hets JJJJ-MM-DD formaat. U kunt ook de kalander gebruiken door te klikken op"
|
128 |
|
129 |
-
#: ../dynwid_admin_edit.php:
|
130 |
msgid ""
|
131 |
"Date ranges can be made by entering a From AND a To date<br />\n"
|
132 |
" \t\t\t\t\tWhen you want the widget to be displayed from a specific date, only fill in the From date<br />\n"
|
@@ -138,28 +141,45 @@ msgstr ""
|
|
138 |
" \t\t\t\t\tWanneer u de widget vanaf een bepaalde datum niet meer wilt tonen, vul dan alleen de 'tot' datum in.\n"
|
139 |
" \t\t\t\t"
|
140 |
|
141 |
-
#: ../dynwid_admin_edit.php:
|
142 |
msgid "only"
|
143 |
msgstr "alleen"
|
144 |
|
145 |
-
#: ../dynwid_admin_edit.php:
|
146 |
msgid "From"
|
147 |
msgstr "Van"
|
148 |
|
149 |
-
#: ../dynwid_admin_edit.php:
|
150 |
msgid "To"
|
151 |
msgstr "Tot"
|
152 |
|
153 |
-
#: ../dynwid_admin_edit.php:
|
154 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
msgid "Front Page"
|
156 |
msgstr "Startpagina"
|
157 |
|
158 |
-
#: ../dynwid_admin_edit.php:
|
159 |
msgid "Show widget on the front page?"
|
160 |
msgstr "De widget op de startpagina tonen?"
|
161 |
|
162 |
-
#: ../dynwid_admin_edit.php:
|
163 |
msgid ""
|
164 |
"This option only applies when your front page is set to display your latest posts (See Settings > Reading).<br />\n"
|
165 |
"\t\t\t\t\t\tWhen a static page is set, you can use the options for the static pages below.\n"
|
@@ -169,16 +189,17 @@ msgstr ""
|
|
169 |
"\t\t\t\t\t\tWanneer deze optie op statische pagina staat, kunt u gebruik maken van de onderstaande pagina opties.\n"
|
170 |
"\t\t\t\t\t"
|
171 |
|
172 |
-
#: ../dynwid_admin_edit.php:
|
173 |
-
#: ../
|
|
|
174 |
msgid "Single Posts"
|
175 |
msgstr "Berichten"
|
176 |
|
177 |
-
#: ../dynwid_admin_edit.php:
|
178 |
msgid "Show widget default on single posts?"
|
179 |
msgstr "De widget bij de berichten tonen?"
|
180 |
|
181 |
-
#: ../dynwid_admin_edit.php:
|
182 |
msgid ""
|
183 |
"When you use an author <b>AND</b> a category exception, both rules in the condition must be met. Otherwise the exception rule won't be applied.\n"
|
184 |
" \t\t\t\t\tIf you want to use the rules in a logical OR condition. Add the same widget again and apply the other rule to that.\n"
|
@@ -188,11 +209,11 @@ msgstr ""
|
|
188 |
" \t\t\t\t\tAls u de regels in een logische OR wilt gebruiken kunt u de widget opnieuw toevoegen en daarop dan de andere regel toepassen.\n"
|
189 |
" \t\t\t\t\t"
|
190 |
|
191 |
-
#: ../dynwid_admin_edit.php:
|
192 |
msgid "Make exception rule available to individual posts and tags."
|
193 |
msgstr "Maak de uitzonderings regel beschikbaar voor individuele berichten en tags"
|
194 |
|
195 |
-
#: ../dynwid_admin_edit.php:
|
196 |
msgid ""
|
197 |
"When you enable this option, you have the ability to apply the exception rule for <em>Single Posts</em> to tags and individual posts.\n"
|
198 |
"\t\t\t\t\t\tYou can set the exception rule for tags in the single Edit Tag Panel (go to <a href=\"edit-tags.php?taxonomy=post_tag\">Post Tags</a>,\n"
|
@@ -208,116 +229,151 @@ msgstr ""
|
|
208 |
" \t\t\t\t\tLet er op dat uitzonderings regels voor auteur en categorie worden verwijderd.\n"
|
209 |
" \t\t\t\t"
|
210 |
|
211 |
-
#: ../dynwid_admin_edit.php:
|
212 |
msgid "Except the posts by author"
|
213 |
msgstr "Behalve de berichten van"
|
214 |
|
215 |
-
#: ../dynwid_admin_edit.php:
|
216 |
msgid "Except the posts in category"
|
217 |
msgstr "Behalve de berichten in de categorie"
|
218 |
|
219 |
-
#: ../dynwid_admin_edit.php:
|
220 |
-
#: ../
|
|
|
221 |
msgid "Pages"
|
222 |
msgstr "Pagina's"
|
223 |
|
224 |
-
#: ../dynwid_admin_edit.php:
|
225 |
msgid "Show widget default on static pages?"
|
226 |
msgstr "Toon de widget op pagina's?"
|
227 |
|
228 |
-
#: ../dynwid_admin_edit.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
msgid "Except the page(s)"
|
230 |
msgstr "Behalve de pagina('s)"
|
231 |
|
232 |
-
#: ../dynwid_admin_edit.php:
|
233 |
-
#: ../
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
msgid "Author Pages"
|
235 |
msgstr "Auteur pagina's"
|
236 |
|
237 |
-
#: ../dynwid_admin_edit.php:
|
238 |
msgid "Show widget default on author pages?"
|
239 |
msgstr "Toon de widget op auteurs pagina's?"
|
240 |
|
241 |
-
#: ../dynwid_admin_edit.php:
|
242 |
msgid "Except the author(s)"
|
243 |
msgstr "Behalve van"
|
244 |
|
245 |
-
#: ../dynwid_admin_edit.php:
|
246 |
-
#: ../
|
|
|
247 |
msgid "Category Pages"
|
248 |
msgstr "Categorie pagina's"
|
249 |
|
250 |
-
#: ../dynwid_admin_edit.php:
|
251 |
msgid "Show widget default on category pages?"
|
252 |
msgstr "Toon de widget standaard op de categorie pagina's?"
|
253 |
|
254 |
-
#: ../dynwid_admin_edit.php:
|
255 |
-
#: ../dynwid_admin_edit.php:
|
256 |
msgid "Except the categories"
|
257 |
msgstr "Behalve de categoriën"
|
258 |
|
259 |
-
#: ../dynwid_admin_edit.php:
|
260 |
-
#: ../
|
|
|
261 |
msgid "Archive Pages"
|
262 |
msgstr "Archief pagina's"
|
263 |
|
264 |
-
#: ../dynwid_admin_edit.php:
|
265 |
msgid "Show widget on archive pages"
|
266 |
msgstr "Toon de widget op archief pagina's"
|
267 |
|
268 |
-
#: ../dynwid_admin_edit.php:
|
269 |
msgid "This option does not include Author and Category Pages."
|
270 |
msgstr "Deze optie bevat niet auteurs en categorie pagina's"
|
271 |
|
272 |
-
#: ../dynwid_admin_edit.php:
|
273 |
-
#: ../
|
|
|
274 |
msgid "Error Page"
|
275 |
msgstr "Foutmeldings pagina"
|
276 |
|
277 |
-
#: ../dynwid_admin_edit.php:
|
278 |
msgid "Show widget on the error page?"
|
279 |
msgstr "Toon de widget op de foutmeldings pagina?"
|
280 |
|
281 |
-
#: ../dynwid_admin_edit.php:
|
282 |
msgid "Search Page"
|
283 |
msgstr "Zoek pagina"
|
284 |
|
285 |
-
#: ../dynwid_admin_edit.php:
|
286 |
msgid "Show widget on the search page?"
|
287 |
msgstr "Toon de widget op de zoekpagina?"
|
288 |
|
289 |
-
#: ../dynwid_admin_edit.php:
|
290 |
msgid "Custom Post Type"
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: ../dynwid_admin_edit.php:
|
294 |
msgid "Show widget on"
|
295 |
msgstr "Toon de widget op"
|
296 |
|
297 |
-
#: ../dynwid_admin_edit.php:
|
298 |
msgid "Except for"
|
299 |
msgstr "Behalve voor"
|
300 |
|
301 |
-
#: ../dynwid_admin_edit.php:
|
302 |
-
#: ../
|
|
|
303 |
msgid "WPSC Category"
|
304 |
msgstr "WPSC Categorie"
|
305 |
|
306 |
-
#: ../dynwid_admin_edit.php:
|
307 |
msgid "Show widget default on WPSC categories?"
|
308 |
msgstr "Toon de widget standaard in de WPSC categoriën?"
|
309 |
|
310 |
-
#: ../dynwid_admin_edit.php:
|
311 |
msgid "Save"
|
312 |
msgstr "Opslaan"
|
313 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
#: ../dynwid_admin.php:16
|
315 |
msgid "<b>WARNING</b> STRICT sql mode in effect. Dynamic Widgets might not work correctly. Please disable STRICT sql mode."
|
316 |
-
msgstr "<b>LET OP</b> STRICT sql mode gedecteerd.
|
317 |
|
318 |
#: ../dynwid_admin.php:36
|
319 |
msgid "Oops! Something went terrible wrong. Please reinstall Dynamic Widgets."
|
320 |
-
msgstr "Oeps! Er is een onhelstelbare fout opgetreden. U wordt aangeraden om
|
321 |
|
322 |
#: ../dynwid_admin.php:44
|
323 |
#: ../dynwid_admin_overview.php:28
|
@@ -337,7 +393,12 @@ msgstr "De widget opties zijn hersteld naar standaard"
|
|
337 |
msgid "Method set to"
|
338 |
msgstr "Methode is nu"
|
339 |
|
|
|
|
|
|
|
|
|
340 |
#: ../dynwid_admin_overview.php:59
|
|
|
341 |
msgid "Edit this widget options"
|
342 |
msgstr "Wijzig de widget opties voor"
|
343 |
|
@@ -349,18 +410,23 @@ msgstr "Wijzig"
|
|
349 |
msgid "Reset widget to Static"
|
350 |
msgstr "Zet de widget terug naar statisch"
|
351 |
|
|
|
|
|
|
|
|
|
|
|
352 |
#: ../dynwid_admin_overview.php:73
|
353 |
-
#: ../dynamic-widgets.php:
|
354 |
-
#: ../dynamic-widgets.php:
|
355 |
-
#: ../dynamic-widgets.php:
|
356 |
msgid "Dynamic"
|
357 |
msgstr "Dyamisch"
|
358 |
|
359 |
#: ../dynwid_admin_overview.php:73
|
360 |
-
#: ../dynamic-widgets.php:
|
361 |
-
#: ../dynamic-widgets.php:
|
362 |
-
#: ../dynamic-widgets.php:
|
363 |
-
#: ../dynamic-widgets.php:
|
364 |
msgid "Static"
|
365 |
msgstr "Statisch"
|
366 |
|
@@ -368,71 +434,80 @@ msgstr "Statisch"
|
|
368 |
msgid "Advanced"
|
369 |
msgstr "Geavanceerd"
|
370 |
|
371 |
-
#: ../dynamic-widgets.php:
|
372 |
msgid "Widgets are always displayed by default"
|
373 |
msgstr "Widgets worden standaard altijd getoond"
|
374 |
|
375 |
-
#: ../dynamic-widgets.php:
|
376 |
-
msgid "The"
|
377 |
-
msgstr "De"
|
378 |
-
|
379 |
-
#: ../dynamic-widgets.php:118
|
380 |
-
msgid "selection"
|
381 |
-
msgstr "selectie"
|
382 |
|
383 |
-
#: ../dynamic-widgets.php:
|
384 |
msgid "Click on the"
|
385 |
msgstr "Klik op de"
|
386 |
|
387 |
-
#: ../dynamic-widgets.php:
|
388 |
msgid "next to the options for more info"
|
389 |
msgstr "bij de opties voor meer informatie"
|
390 |
|
391 |
-
#: ../dynamic-widgets.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
392 |
msgid "When a widget is"
|
393 |
msgstr "Wanneer een widget"
|
394 |
|
395 |
-
#: ../dynamic-widgets.php:
|
396 |
msgid "the widget uses the WordPress default. In other words, it's shown everywhere"
|
397 |
msgstr "de widget staat op de standaard instelling. Met andere woorden, deze wordt overal getoond"
|
398 |
|
399 |
-
#: ../dynamic-widgets.php:
|
400 |
msgid "A widget is"
|
401 |
msgstr "Een widget is"
|
402 |
|
403 |
-
#: ../dynamic-widgets.php:
|
404 |
msgid "when there are options set, i.e. not showing on the front page."
|
405 |
msgstr "als er opties gewijzigd zijn, bijvoorbeeld niet tonen op de startpagina."
|
406 |
|
407 |
-
#: ../dynamic-widgets.php:
|
408 |
-
msgid "Reset"
|
409 |
-
msgstr "Herstellen"
|
410 |
-
|
411 |
-
#: ../dynamic-widgets.php:125
|
412 |
msgid "Reset makes the widget return to"
|
413 |
msgstr "Herstellen zorgt ervoor dat de widget teruggezet wordt naar"
|
414 |
|
415 |
-
#: ../dynamic-widgets.php:
|
416 |
msgid "Settings"
|
417 |
msgstr "Instellingen"
|
418 |
|
419 |
-
#: ../dynamic-widgets.php:
|
420 |
-
msgid "
|
421 |
-
msgstr "
|
422 |
|
423 |
-
#: ../dynamic-widgets.php:
|
424 |
-
msgid "
|
425 |
-
msgstr "
|
426 |
|
427 |
-
#: ../dynamic-widgets.php:
|
|
|
|
|
|
|
|
|
428 |
msgid "and"
|
429 |
msgstr "en"
|
430 |
|
431 |
-
#: ../dynamic-widgets.php:
|
432 |
msgid "Options set for"
|
433 |
msgstr "Opties voor"
|
434 |
|
435 |
-
#: ../dynamic-widgets.php:
|
436 |
msgid "Option set for"
|
437 |
msgstr "Optie voor"
|
438 |
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Dynamic Widgets NL\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2010-12-27 10:47+0100\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Jacco\n"
|
8 |
"Language-Team: \n"
|
12 |
"X-Poedit-Language: Dutch\n"
|
13 |
"X-Poedit-Country: NETHERLANDS\n"
|
14 |
|
15 |
+
#: ../dynwid_admin_edit.php:24
|
16 |
msgid "Anonymous"
|
17 |
msgstr "Anoniem"
|
18 |
|
19 |
+
#: ../dynwid_admin_edit.php:387
|
20 |
msgid "Widget options saved."
|
21 |
msgstr "Widget opties bewaard"
|
22 |
|
23 |
+
#: ../dynwid_admin_edit.php:387
|
24 |
+
#: ../dynwid_admin_edit.php:857
|
25 |
msgid "Return"
|
26 |
msgstr "Terug"
|
27 |
|
28 |
+
#: ../dynwid_admin_edit.php:387
|
29 |
msgid "to Dynamic Widgets overview"
|
30 |
+
msgstr "naar Dynamische Widgets overzicht"
|
31 |
|
32 |
+
#: ../dynwid_admin_edit.php:392
|
33 |
msgid "Dynamic does not mean static hiding of a widget."
|
34 |
msgstr "Dynamisch houdt niet in het statisch verbergen van een widget."
|
35 |
|
36 |
+
#: ../dynwid_admin_edit.php:392
|
37 |
msgid "Hint"
|
38 |
msgstr "Hint"
|
39 |
|
40 |
+
#: ../dynwid_admin_edit.php:392
|
41 |
msgid "Remove"
|
42 |
msgstr "Verwijderen"
|
43 |
|
44 |
+
#: ../dynwid_admin_edit.php:392
|
45 |
msgid "the widget from the sidebar"
|
46 |
msgstr "de widget in de sidebar"
|
47 |
|
48 |
+
#: ../dynwid_admin_edit.php:396
|
49 |
msgid "The From date can't be later than the To date."
|
50 |
msgstr "The 'van' datum kan niet later zijn dan de 'tot' datum."
|
51 |
|
52 |
+
#: ../dynwid_admin_edit.php:401
|
53 |
msgid "Edit options for"
|
54 |
msgstr "Wijzig de opties voor"
|
55 |
|
56 |
+
#: ../dynwid_admin_edit.php:401
|
57 |
msgid "Widget"
|
58 |
msgstr "Widget"
|
59 |
|
60 |
+
#: ../dynwid_admin_edit.php:412
|
61 |
+
#: ../dynwid_class_php4.php:54
|
62 |
+
#: ../dynwid_class.php:48
|
63 |
msgid "Role"
|
64 |
msgstr "Rol"
|
65 |
|
66 |
+
#: ../dynwid_admin_edit.php:414
|
67 |
msgid "Show widget to everybody?"
|
68 |
msgstr "Toon de widget aan iedereen?"
|
69 |
|
70 |
+
#: ../dynwid_admin_edit.php:418
|
71 |
msgid ""
|
72 |
"Setting options by role is very powerfull. It can override all other options!<br />\n"
|
73 |
"\t\t\t\t\t\tUsers who are not logged in, get the <em>Anonymous</em> role."
|
75 |
"De rol opties zijn zeer bijzonder. Ze kunnen alle andere opties overstijgen!<br />\n"
|
76 |
"\t\t\t\t\t\tGebruikers die niet ingelogd zijn, krijgen de <em>anonieme</em> rol."
|
77 |
|
78 |
+
#: ../dynwid_admin_edit.php:422
|
79 |
+
#: ../dynwid_admin_edit.php:446
|
80 |
+
#: ../dynwid_admin_edit.php:473
|
81 |
+
#: ../dynwid_admin_edit.php:497
|
82 |
+
#: ../dynwid_admin_edit.php:514
|
83 |
+
#: ../dynwid_admin_edit.php:579
|
84 |
+
#: ../dynwid_admin_edit.php:641
|
85 |
+
#: ../dynwid_admin_edit.php:655
|
86 |
+
#: ../dynwid_admin_edit.php:675
|
87 |
+
#: ../dynwid_admin_edit.php:685
|
88 |
+
#: ../dynwid_admin_edit.php:694
|
89 |
+
#: ../dynwid_admin_edit.php:811
|
90 |
+
#: ../dynwid_admin_edit.php:836
|
91 |
msgid "Yes"
|
92 |
msgstr "Ja"
|
93 |
|
94 |
+
#: ../dynwid_admin_edit.php:423
|
95 |
+
#: ../dynwid_admin_edit.php:447
|
96 |
+
#: ../dynwid_admin_edit.php:474
|
97 |
+
#: ../dynwid_admin_edit.php:498
|
98 |
+
#: ../dynwid_admin_edit.php:515
|
99 |
+
#: ../dynwid_admin_edit.php:580
|
100 |
+
#: ../dynwid_admin_edit.php:642
|
101 |
+
#: ../dynwid_admin_edit.php:656
|
102 |
+
#: ../dynwid_admin_edit.php:676
|
103 |
+
#: ../dynwid_admin_edit.php:686
|
104 |
+
#: ../dynwid_admin_edit.php:695
|
105 |
+
#: ../dynwid_admin_edit.php:812
|
106 |
+
#: ../dynwid_admin_edit.php:837
|
107 |
msgid "No"
|
108 |
msgstr "Nee"
|
109 |
|
110 |
+
#: ../dynwid_admin_edit.php:423
|
111 |
msgid "only to"
|
112 |
msgstr "alleen aan"
|
113 |
|
114 |
+
#: ../dynwid_admin_edit.php:432
|
115 |
+
#: ../dynwid_class_php4.php:55
|
116 |
+
#: ../dynwid_class.php:49
|
117 |
msgid "Date"
|
118 |
msgstr "Datum"
|
119 |
|
120 |
+
#: ../dynwid_admin_edit.php:434
|
121 |
msgid "Show widget always?"
|
122 |
msgstr "Altijd de widget tonen?"
|
123 |
|
124 |
+
#: ../dynwid_admin_edit.php:438
|
125 |
msgid "Next to the above role option, the date option is also very powerfull. You've been warned!"
|
126 |
msgstr "Net zoals de bovenstaande opties, is de datum opties zeer bijzonder. U bent gewaarschuwd!"
|
127 |
|
128 |
+
#: ../dynwid_admin_edit.php:439
|
129 |
msgid "Enter dates in the YYYY-MM-DD format. You can also use the calender by clicking on the"
|
130 |
msgstr "Voer datum in volgens hets JJJJ-MM-DD formaat. U kunt ook de kalander gebruiken door te klikken op"
|
131 |
|
132 |
+
#: ../dynwid_admin_edit.php:440
|
133 |
msgid ""
|
134 |
"Date ranges can be made by entering a From AND a To date<br />\n"
|
135 |
" \t\t\t\t\tWhen you want the widget to be displayed from a specific date, only fill in the From date<br />\n"
|
141 |
" \t\t\t\t\tWanneer u de widget vanaf een bepaalde datum niet meer wilt tonen, vul dan alleen de 'tot' datum in.\n"
|
142 |
" \t\t\t\t"
|
143 |
|
144 |
+
#: ../dynwid_admin_edit.php:447
|
145 |
msgid "only"
|
146 |
msgstr "alleen"
|
147 |
|
148 |
+
#: ../dynwid_admin_edit.php:451
|
149 |
msgid "From"
|
150 |
msgstr "Van"
|
151 |
|
152 |
+
#: ../dynwid_admin_edit.php:455
|
153 |
msgid "To"
|
154 |
msgstr "Tot"
|
155 |
|
156 |
+
#: ../dynwid_admin_edit.php:464
|
157 |
+
msgid "Language (WPML)"
|
158 |
+
msgstr "Taal (WPML)"
|
159 |
+
|
160 |
+
#: ../dynwid_admin_edit.php:466
|
161 |
+
msgid "Show widget default on all languages?"
|
162 |
+
msgstr "Toon de widget voor alle talen?"
|
163 |
+
|
164 |
+
#: ../dynwid_admin_edit.php:470
|
165 |
+
msgid "Using this option can override all other options."
|
166 |
+
msgstr "Door gebruik te maken van deze opties kan deze alle andere opties overstijgen."
|
167 |
+
|
168 |
+
#: ../dynwid_admin_edit.php:475
|
169 |
+
msgid "Except the languages"
|
170 |
+
msgstr "Behalve de talen"
|
171 |
+
|
172 |
+
#: ../dynwid_admin_edit.php:486
|
173 |
+
#: ../dynwid_class_php4.php:57
|
174 |
+
#: ../dynwid_class.php:51
|
175 |
msgid "Front Page"
|
176 |
msgstr "Startpagina"
|
177 |
|
178 |
+
#: ../dynwid_admin_edit.php:488
|
179 |
msgid "Show widget on the front page?"
|
180 |
msgstr "De widget op de startpagina tonen?"
|
181 |
|
182 |
+
#: ../dynwid_admin_edit.php:492
|
183 |
msgid ""
|
184 |
"This option only applies when your front page is set to display your latest posts (See Settings > Reading).<br />\n"
|
185 |
"\t\t\t\t\t\tWhen a static page is set, you can use the options for the static pages below.\n"
|
189 |
"\t\t\t\t\t\tWanneer deze optie op statische pagina staat, kunt u gebruik maken van de onderstaande pagina opties.\n"
|
190 |
"\t\t\t\t\t"
|
191 |
|
192 |
+
#: ../dynwid_admin_edit.php:503
|
193 |
+
#: ../dynwid_class_php4.php:58
|
194 |
+
#: ../dynwid_class.php:52
|
195 |
msgid "Single Posts"
|
196 |
msgstr "Berichten"
|
197 |
|
198 |
+
#: ../dynwid_admin_edit.php:505
|
199 |
msgid "Show widget default on single posts?"
|
200 |
msgstr "De widget bij de berichten tonen?"
|
201 |
|
202 |
+
#: ../dynwid_admin_edit.php:509
|
203 |
msgid ""
|
204 |
"When you use an author <b>AND</b> a category exception, both rules in the condition must be met. Otherwise the exception rule won't be applied.\n"
|
205 |
" \t\t\t\t\tIf you want to use the rules in a logical OR condition. Add the same widget again and apply the other rule to that.\n"
|
209 |
" \t\t\t\t\tAls u de regels in een logische OR wilt gebruiken kunt u de widget opnieuw toevoegen en daarop dan de andere regel toepassen.\n"
|
210 |
" \t\t\t\t\t"
|
211 |
|
212 |
+
#: ../dynwid_admin_edit.php:518
|
213 |
msgid "Make exception rule available to individual posts and tags."
|
214 |
msgstr "Maak de uitzonderings regel beschikbaar voor individuele berichten en tags"
|
215 |
|
216 |
+
#: ../dynwid_admin_edit.php:522
|
217 |
msgid ""
|
218 |
"When you enable this option, you have the ability to apply the exception rule for <em>Single Posts</em> to tags and individual posts.\n"
|
219 |
"\t\t\t\t\t\tYou can set the exception rule for tags in the single Edit Tag Panel (go to <a href=\"edit-tags.php?taxonomy=post_tag\">Post Tags</a>,\n"
|
229 |
" \t\t\t\t\tLet er op dat uitzonderings regels voor auteur en categorie worden verwijderd.\n"
|
230 |
" \t\t\t\t"
|
231 |
|
232 |
+
#: ../dynwid_admin_edit.php:539
|
233 |
msgid "Except the posts by author"
|
234 |
msgstr "Behalve de berichten van"
|
235 |
|
236 |
+
#: ../dynwid_admin_edit.php:550
|
237 |
msgid "Except the posts in category"
|
238 |
msgstr "Behalve de berichten in de categorie"
|
239 |
|
240 |
+
#: ../dynwid_admin_edit.php:564
|
241 |
+
#: ../dynwid_class_php4.php:59
|
242 |
+
#: ../dynwid_class.php:53
|
243 |
msgid "Pages"
|
244 |
msgstr "Pagina's"
|
245 |
|
246 |
+
#: ../dynwid_admin_edit.php:566
|
247 |
msgid "Show widget default on static pages?"
|
248 |
msgstr "Toon de widget op pagina's?"
|
249 |
|
250 |
+
#: ../dynwid_admin_edit.php:571
|
251 |
+
msgid ""
|
252 |
+
"Checking the \"All childs\" option, makes the exception rule apply\n"
|
253 |
+
"\t\t\t\tto the parent and all items under it in all levels. Also future items\n"
|
254 |
+
"\t\t\t\tunder the parent. It's not possible to apply an exception rule to\n"
|
255 |
+
"\t\t\t\t\"All childs\" without the parent."
|
256 |
+
msgstr "Door gebruik te maken van de \"Alle kinderen\" optie, wordt de uitzonderingsregel toegepast op de ouder en alle daaronder liggende item in alle levels. Ook toekomstige items onder de ouder. Het is niet mogelijk om de uitzonderingsregel toe te passen zonder de ouder."
|
257 |
+
|
258 |
+
#: ../dynwid_admin_edit.php:581
|
259 |
msgid "Except the page(s)"
|
260 |
msgstr "Behalve de pagina('s)"
|
261 |
|
262 |
+
#: ../dynwid_admin_edit.php:620
|
263 |
+
#: ../dynwid_admin_edit.php:735
|
264 |
+
msgid "All childs"
|
265 |
+
msgstr "Alle kinderen"
|
266 |
+
|
267 |
+
#: ../dynwid_admin_edit.php:637
|
268 |
+
#: ../dynwid_class_php4.php:60
|
269 |
+
#: ../dynwid_class.php:54
|
270 |
msgid "Author Pages"
|
271 |
msgstr "Auteur pagina's"
|
272 |
|
273 |
+
#: ../dynwid_admin_edit.php:639
|
274 |
msgid "Show widget default on author pages?"
|
275 |
msgstr "Toon de widget op auteurs pagina's?"
|
276 |
|
277 |
+
#: ../dynwid_admin_edit.php:643
|
278 |
msgid "Except the author(s)"
|
279 |
msgstr "Behalve van"
|
280 |
|
281 |
+
#: ../dynwid_admin_edit.php:651
|
282 |
+
#: ../dynwid_class_php4.php:61
|
283 |
+
#: ../dynwid_class.php:55
|
284 |
msgid "Category Pages"
|
285 |
msgstr "Categorie pagina's"
|
286 |
|
287 |
+
#: ../dynwid_admin_edit.php:653
|
288 |
msgid "Show widget default on category pages?"
|
289 |
msgstr "Toon de widget standaard op de categorie pagina's?"
|
290 |
|
291 |
+
#: ../dynwid_admin_edit.php:657
|
292 |
+
#: ../dynwid_admin_edit.php:838
|
293 |
msgid "Except the categories"
|
294 |
msgstr "Behalve de categoriën"
|
295 |
|
296 |
+
#: ../dynwid_admin_edit.php:666
|
297 |
+
#: ../dynwid_class_php4.php:62
|
298 |
+
#: ../dynwid_class.php:56
|
299 |
msgid "Archive Pages"
|
300 |
msgstr "Archief pagina's"
|
301 |
|
302 |
+
#: ../dynwid_admin_edit.php:668
|
303 |
msgid "Show widget on archive pages"
|
304 |
msgstr "Toon de widget op archief pagina's"
|
305 |
|
306 |
+
#: ../dynwid_admin_edit.php:672
|
307 |
msgid "This option does not include Author and Category Pages."
|
308 |
msgstr "Deze optie bevat niet auteurs en categorie pagina's"
|
309 |
|
310 |
+
#: ../dynwid_admin_edit.php:681
|
311 |
+
#: ../dynwid_class_php4.php:63
|
312 |
+
#: ../dynwid_class.php:57
|
313 |
msgid "Error Page"
|
314 |
msgstr "Foutmeldings pagina"
|
315 |
|
316 |
+
#: ../dynwid_admin_edit.php:683
|
317 |
msgid "Show widget on the error page?"
|
318 |
msgstr "Toon de widget op de foutmeldings pagina?"
|
319 |
|
320 |
+
#: ../dynwid_admin_edit.php:690
|
321 |
msgid "Search Page"
|
322 |
msgstr "Zoek pagina"
|
323 |
|
324 |
+
#: ../dynwid_admin_edit.php:692
|
325 |
msgid "Show widget on the search page?"
|
326 |
msgstr "Toon de widget op de zoekpagina?"
|
327 |
|
328 |
+
#: ../dynwid_admin_edit.php:797
|
329 |
msgid "Custom Post Type"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: ../dynwid_admin_edit.php:799
|
333 |
msgid "Show widget on"
|
334 |
msgstr "Toon de widget op"
|
335 |
|
336 |
+
#: ../dynwid_admin_edit.php:814
|
337 |
msgid "Except for"
|
338 |
msgstr "Behalve voor"
|
339 |
|
340 |
+
#: ../dynwid_admin_edit.php:832
|
341 |
+
#: ../dynwid_class_php4.php:65
|
342 |
+
#: ../dynwid_class.php:59
|
343 |
msgid "WPSC Category"
|
344 |
msgstr "WPSC Categorie"
|
345 |
|
346 |
+
#: ../dynwid_admin_edit.php:834
|
347 |
msgid "Show widget default on WPSC categories?"
|
348 |
msgstr "Toon de widget standaard in de WPSC categoriën?"
|
349 |
|
350 |
+
#: ../dynwid_admin_edit.php:853
|
351 |
msgid "Save"
|
352 |
msgstr "Opslaan"
|
353 |
|
354 |
+
#: ../dynwid_class_php4.php:56
|
355 |
+
#: ../dynwid_class.php:50
|
356 |
+
msgid "Language"
|
357 |
+
msgstr "Taal"
|
358 |
+
|
359 |
+
#: ../dynwid_class_php4.php:64
|
360 |
+
#: ../dynwid_class.php:58
|
361 |
+
msgid "Search page"
|
362 |
+
msgstr "Zoek pagina"
|
363 |
+
|
364 |
+
#: ../dynwid_admin.php:10
|
365 |
+
#: ../dynamic-widgets.php:138
|
366 |
+
#: ../dynamic-widgets.php:222
|
367 |
+
msgid "Dynamic Widgets"
|
368 |
+
msgstr "Dynamische Widgets"
|
369 |
+
|
370 |
#: ../dynwid_admin.php:16
|
371 |
msgid "<b>WARNING</b> STRICT sql mode in effect. Dynamic Widgets might not work correctly. Please disable STRICT sql mode."
|
372 |
+
msgstr "<b>LET OP</b> STRICT sql mode gedecteerd. Dynamische Widgets werkt mogelijk niet correct. U wordt aangeraden STRICT sql mode uit te schakelen."
|
373 |
|
374 |
#: ../dynwid_admin.php:36
|
375 |
msgid "Oops! Something went terrible wrong. Please reinstall Dynamic Widgets."
|
376 |
+
msgstr "Oeps! Er is een onhelstelbare fout opgetreden. U wordt aangeraden om Dynamische Widgets opnieuw te installeren."
|
377 |
|
378 |
#: ../dynwid_admin.php:44
|
379 |
#: ../dynwid_admin_overview.php:28
|
393 |
msgid "Method set to"
|
394 |
msgstr "Methode is nu"
|
395 |
|
396 |
+
#: ../dynwid_admin_overview.php:36
|
397 |
+
msgid "Inactive Widgets"
|
398 |
+
msgstr "Inactieve Widgets"
|
399 |
+
|
400 |
#: ../dynwid_admin_overview.php:59
|
401 |
+
#: ../dynwid_admin_overview.php:62
|
402 |
msgid "Edit this widget options"
|
403 |
msgstr "Wijzig de widget opties voor"
|
404 |
|
410 |
msgid "Reset widget to Static"
|
411 |
msgstr "Zet de widget terug naar statisch"
|
412 |
|
413 |
+
#: ../dynwid_admin_overview.php:67
|
414 |
+
#: ../dynamic-widgets.php:130
|
415 |
+
msgid "Reset"
|
416 |
+
msgstr "Herstellen"
|
417 |
+
|
418 |
#: ../dynwid_admin_overview.php:73
|
419 |
+
#: ../dynamic-widgets.php:127
|
420 |
+
#: ../dynamic-widgets.php:129
|
421 |
+
#: ../dynamic-widgets.php:569
|
422 |
msgid "Dynamic"
|
423 |
msgstr "Dyamisch"
|
424 |
|
425 |
#: ../dynwid_admin_overview.php:73
|
426 |
+
#: ../dynamic-widgets.php:127
|
427 |
+
#: ../dynamic-widgets.php:128
|
428 |
+
#: ../dynamic-widgets.php:131
|
429 |
+
#: ../dynamic-widgets.php:569
|
430 |
msgid "Static"
|
431 |
msgstr "Statisch"
|
432 |
|
434 |
msgid "Advanced"
|
435 |
msgstr "Geavanceerd"
|
436 |
|
437 |
+
#: ../dynamic-widgets.php:123
|
438 |
msgid "Widgets are always displayed by default"
|
439 |
msgstr "Widgets worden standaard altijd getoond"
|
440 |
|
441 |
+
#: ../dynamic-widgets.php:123
|
442 |
+
msgid "The '<em>Yes</em>' selection"
|
443 |
+
msgstr "De '<em>Ja</em>' selectie"
|
|
|
|
|
|
|
|
|
444 |
|
445 |
+
#: ../dynamic-widgets.php:124
|
446 |
msgid "Click on the"
|
447 |
msgstr "Klik op de"
|
448 |
|
449 |
+
#: ../dynamic-widgets.php:124
|
450 |
msgid "next to the options for more info"
|
451 |
msgstr "bij de opties voor meer informatie"
|
452 |
|
453 |
+
#: ../dynamic-widgets.php:125
|
454 |
+
msgid "The"
|
455 |
+
msgstr "De"
|
456 |
+
|
457 |
+
#: ../dynamic-widgets.php:125
|
458 |
+
msgid "next to a section means it has options set."
|
459 |
+
msgstr "houdt in dat er opties gekozen zijn."
|
460 |
+
|
461 |
+
#: ../dynamic-widgets.php:128
|
462 |
msgid "When a widget is"
|
463 |
msgstr "Wanneer een widget"
|
464 |
|
465 |
+
#: ../dynamic-widgets.php:128
|
466 |
msgid "the widget uses the WordPress default. In other words, it's shown everywhere"
|
467 |
msgstr "de widget staat op de standaard instelling. Met andere woorden, deze wordt overal getoond"
|
468 |
|
469 |
+
#: ../dynamic-widgets.php:129
|
470 |
msgid "A widget is"
|
471 |
msgstr "Een widget is"
|
472 |
|
473 |
+
#: ../dynamic-widgets.php:129
|
474 |
msgid "when there are options set, i.e. not showing on the front page."
|
475 |
msgstr "als er opties gewijzigd zijn, bijvoorbeeld niet tonen op de startpagina."
|
476 |
|
477 |
+
#: ../dynamic-widgets.php:131
|
|
|
|
|
|
|
|
|
478 |
msgid "Reset makes the widget return to"
|
479 |
msgstr "Herstellen zorgt ervoor dat de widget teruggezet wordt naar"
|
480 |
|
481 |
+
#: ../dynamic-widgets.php:175
|
482 |
msgid "Settings"
|
483 |
msgstr "Instellingen"
|
484 |
|
485 |
+
#: ../dynamic-widgets.php:189
|
486 |
+
msgid "Apply exception rule to widgets:"
|
487 |
+
msgstr "Maak uitzonderingsregel voor widget:"
|
488 |
|
489 |
+
#: ../dynamic-widgets.php:303
|
490 |
+
msgid "Dynamic Widgets Options saved"
|
491 |
+
msgstr "Dynamische Widget opties bewaard"
|
492 |
|
493 |
+
#: ../dynamic-widgets.php:303
|
494 |
+
msgid "for"
|
495 |
+
msgstr "voor"
|
496 |
+
|
497 |
+
#: ../dynamic-widgets.php:593
|
498 |
msgid "and"
|
499 |
msgstr "en"
|
500 |
|
501 |
+
#: ../dynamic-widgets.php:599
|
502 |
msgid "Options set for"
|
503 |
msgstr "Opties voor"
|
504 |
|
505 |
+
#: ../dynamic-widgets.php:599
|
506 |
msgid "Option set for"
|
507 |
msgstr "Optie voor"
|
508 |
|
509 |
+
#~ msgid "This widget is"
|
510 |
+
#~ msgstr "Deze widget is"
|
511 |
+
#~ msgid "selection"
|
512 |
+
#~ msgstr "selectie"
|
513 |
+
|
locale/dynamic-widgets.pot
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Dynamic Widgets\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2010-
|
6 |
-
"PO-Revision-Date: 2010-
|
7 |
"Last-Translator: Jacco\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -16,124 +16,127 @@ msgstr ""
|
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
# WordPress MO
|
19 |
-
#: ../dynwid_admin_edit.php:
|
20 |
msgid "Anonymous"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: ../dynwid_admin_edit.php:
|
24 |
msgid "Widget options saved."
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: ../dynwid_admin_edit.php:
|
28 |
-
#: ../dynwid_admin_edit.php:
|
29 |
msgid "Return"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: ../dynwid_admin_edit.php:
|
33 |
msgid "to Dynamic Widgets overview"
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: ../dynwid_admin_edit.php:
|
37 |
msgid "Dynamic does not mean static hiding of a widget."
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: ../dynwid_admin_edit.php:
|
41 |
msgid "Hint"
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: ../dynwid_admin_edit.php:
|
45 |
msgid "Remove"
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: ../dynwid_admin_edit.php:
|
49 |
msgid "the widget from the sidebar"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: ../dynwid_admin_edit.php:
|
53 |
msgid "The From date can't be later than the To date."
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: ../dynwid_admin_edit.php:
|
57 |
msgid "Edit options for"
|
58 |
msgstr ""
|
59 |
|
60 |
# WordPress MO
|
61 |
-
#: ../dynwid_admin_edit.php:
|
62 |
msgid "Widget"
|
63 |
msgstr ""
|
64 |
|
65 |
# WordPress MO
|
66 |
-
#: ../dynwid_admin_edit.php:
|
67 |
-
#: ../
|
|
|
68 |
msgid "Role"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: ../dynwid_admin_edit.php:
|
72 |
msgid "Show widget to everybody?"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: ../dynwid_admin_edit.php:
|
76 |
msgid ""
|
77 |
"Setting options by role is very powerfull. It can override all other options!<br />\n"
|
78 |
"\t\t\t\t\t\tUsers who are not logged in, get the <em>Anonymous</em> role."
|
79 |
msgstr ""
|
80 |
|
81 |
# WordPress MO
|
82 |
-
#: ../dynwid_admin_edit.php:
|
83 |
-
#: ../dynwid_admin_edit.php:
|
84 |
-
#: ../dynwid_admin_edit.php:
|
85 |
-
#: ../dynwid_admin_edit.php:
|
86 |
-
#: ../dynwid_admin_edit.php:
|
87 |
-
#: ../dynwid_admin_edit.php:
|
88 |
-
#: ../dynwid_admin_edit.php:
|
89 |
-
#: ../dynwid_admin_edit.php:
|
90 |
-
#: ../dynwid_admin_edit.php:
|
91 |
-
#: ../dynwid_admin_edit.php:
|
92 |
-
#: ../dynwid_admin_edit.php:
|
93 |
-
#: ../dynwid_admin_edit.php:
|
94 |
-
#: ../
|
95 |
msgid "Yes"
|
96 |
msgstr ""
|
97 |
|
98 |
# WordPress MO
|
99 |
-
#: ../dynwid_admin_edit.php:
|
100 |
-
#: ../dynwid_admin_edit.php:
|
101 |
-
#: ../dynwid_admin_edit.php:
|
102 |
-
#: ../dynwid_admin_edit.php:
|
103 |
-
#: ../dynwid_admin_edit.php:
|
104 |
-
#: ../dynwid_admin_edit.php:
|
105 |
-
#: ../dynwid_admin_edit.php:
|
106 |
-
#: ../dynwid_admin_edit.php:
|
107 |
-
#: ../dynwid_admin_edit.php:
|
108 |
-
#: ../dynwid_admin_edit.php:
|
109 |
-
#: ../dynwid_admin_edit.php:
|
110 |
-
#: ../dynwid_admin_edit.php:
|
|
|
111 |
msgid "No"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: ../dynwid_admin_edit.php:
|
115 |
msgid "only to"
|
116 |
msgstr ""
|
117 |
|
118 |
# WordPress MO
|
119 |
-
#: ../dynwid_admin_edit.php:
|
120 |
-
#: ../
|
|
|
121 |
msgid "Date"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: ../dynwid_admin_edit.php:
|
125 |
msgid "Show widget always?"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: ../dynwid_admin_edit.php:
|
129 |
msgid "Next to the above role option, the date option is also very powerfull. You've been warned!"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: ../dynwid_admin_edit.php:
|
133 |
msgid "Enter dates in the YYYY-MM-DD format. You can also use the calender by clicking on the"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: ../dynwid_admin_edit.php:
|
137 |
msgid ""
|
138 |
"Date ranges can be made by entering a From AND a To date<br />\n"
|
139 |
" \t\t\t\t\tWhen you want the widget to be displayed from a specific date, only fill in the From date<br />\n"
|
@@ -141,55 +144,73 @@ msgid ""
|
|
141 |
" \t\t\t\t"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: ../dynwid_admin_edit.php:
|
145 |
msgid "only"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: ../dynwid_admin_edit.php:
|
149 |
msgid "From"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: ../dynwid_admin_edit.php:
|
153 |
msgid "To"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: ../dynwid_admin_edit.php:
|
157 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
msgid "Front Page"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: ../dynwid_admin_edit.php:
|
162 |
msgid "Show widget on the front page?"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: ../dynwid_admin_edit.php:
|
166 |
msgid ""
|
167 |
"This option only applies when your front page is set to display your latest posts (See Settings > Reading).<br />\n"
|
168 |
"\t\t\t\t\t\tWhen a static page is set, you can use the options for the static pages below.\n"
|
169 |
"\t\t\t\t\t"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: ../dynwid_admin_edit.php:
|
173 |
-
#: ../
|
|
|
174 |
msgid "Single Posts"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: ../dynwid_admin_edit.php:
|
178 |
msgid "Show widget default on single posts?"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: ../dynwid_admin_edit.php:
|
182 |
msgid ""
|
183 |
"When you use an author <b>AND</b> a category exception, both rules in the condition must be met. Otherwise the exception rule won't be applied.\n"
|
184 |
" \t\t\t\t\tIf you want to use the rules in a logical OR condition. Add the same widget again and apply the other rule to that.\n"
|
185 |
" \t\t\t\t\t"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: ../dynwid_admin_edit.php:
|
189 |
msgid "Make exception rule available to individual posts and tags."
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: ../dynwid_admin_edit.php:
|
193 |
msgid ""
|
194 |
"When you enable this option, you have the ability to apply the exception rule for <em>Single Posts</em> to tags and individual posts.\n"
|
195 |
"\t\t\t\t\t\tYou can set the exception rule for tags in the single Edit Tag Panel (go to <a href=\"edit-tags.php?taxonomy=post_tag\">Post Tags</a>,\n"
|
@@ -199,111 +220,146 @@ msgid ""
|
|
199 |
" \t\t\t\t"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: ../dynwid_admin_edit.php:
|
203 |
msgid "Except the posts by author"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: ../dynwid_admin_edit.php:
|
207 |
msgid "Except the posts in category"
|
208 |
msgstr ""
|
209 |
|
210 |
# WordPress MO
|
211 |
-
#: ../dynwid_admin_edit.php:
|
212 |
-
#: ../
|
|
|
213 |
msgid "Pages"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: ../dynwid_admin_edit.php:
|
217 |
msgid "Show widget default on static pages?"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: ../dynwid_admin_edit.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
msgid "Except the page(s)"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: ../dynwid_admin_edit.php:
|
225 |
-
#: ../
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
msgid "Author Pages"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: ../dynwid_admin_edit.php:
|
230 |
msgid "Show widget default on author pages?"
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: ../dynwid_admin_edit.php:
|
234 |
msgid "Except the author(s)"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: ../dynwid_admin_edit.php:
|
238 |
-
#: ../
|
|
|
239 |
msgid "Category Pages"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: ../dynwid_admin_edit.php:
|
243 |
msgid "Show widget default on category pages?"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: ../dynwid_admin_edit.php:
|
247 |
-
#: ../dynwid_admin_edit.php:
|
248 |
msgid "Except the categories"
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: ../dynwid_admin_edit.php:
|
252 |
-
#: ../
|
|
|
253 |
msgid "Archive Pages"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: ../dynwid_admin_edit.php:
|
257 |
msgid "Show widget on archive pages"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: ../dynwid_admin_edit.php:
|
261 |
msgid "This option does not include Author and Category Pages."
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: ../dynwid_admin_edit.php:
|
265 |
-
#: ../
|
|
|
266 |
msgid "Error Page"
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: ../dynwid_admin_edit.php:
|
270 |
msgid "Show widget on the error page?"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: ../dynwid_admin_edit.php:
|
274 |
msgid "Search Page"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: ../dynwid_admin_edit.php:
|
278 |
msgid "Show widget on the search page?"
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: ../dynwid_admin_edit.php:
|
282 |
msgid "Custom Post Type"
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: ../dynwid_admin_edit.php:
|
286 |
msgid "Show widget on"
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: ../dynwid_admin_edit.php:
|
290 |
msgid "Except for"
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: ../dynwid_admin_edit.php:
|
294 |
-
#: ../
|
|
|
295 |
msgid "WPSC Category"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: ../dynwid_admin_edit.php:
|
299 |
msgid "Show widget default on WPSC categories?"
|
300 |
msgstr ""
|
301 |
|
302 |
# WordPress MO
|
303 |
-
#: ../dynwid_admin_edit.php:
|
304 |
msgid "Save"
|
305 |
msgstr ""
|
306 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
307 |
#: ../dynwid_admin.php:16
|
308 |
msgid "<b>WARNING</b> STRICT sql mode in effect. Dynamic Widgets might not work correctly. Please disable STRICT sql mode."
|
309 |
msgstr ""
|
@@ -330,7 +386,12 @@ msgstr ""
|
|
330 |
msgid "Method set to"
|
331 |
msgstr ""
|
332 |
|
|
|
|
|
|
|
|
|
333 |
#: ../dynwid_admin_overview.php:59
|
|
|
334 |
msgid "Edit this widget options"
|
335 |
msgstr ""
|
336 |
|
@@ -343,18 +404,23 @@ msgstr ""
|
|
343 |
msgid "Reset widget to Static"
|
344 |
msgstr ""
|
345 |
|
|
|
|
|
|
|
|
|
|
|
346 |
#: ../dynwid_admin_overview.php:73
|
347 |
-
#: ../dynamic-widgets.php:
|
348 |
-
#: ../dynamic-widgets.php:
|
349 |
-
#: ../dynamic-widgets.php:
|
350 |
msgid "Dynamic"
|
351 |
msgstr ""
|
352 |
|
353 |
#: ../dynwid_admin_overview.php:73
|
354 |
-
#: ../dynamic-widgets.php:
|
355 |
-
#: ../dynamic-widgets.php:
|
356 |
-
#: ../dynamic-widgets.php:
|
357 |
-
#: ../dynamic-widgets.php:
|
358 |
msgid "Static"
|
359 |
msgstr ""
|
360 |
|
@@ -362,72 +428,76 @@ msgstr ""
|
|
362 |
msgid "Advanced"
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: ../dynamic-widgets.php:
|
366 |
msgid "Widgets are always displayed by default"
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: ../dynamic-widgets.php:
|
370 |
-
msgid "The"
|
371 |
-
msgstr ""
|
372 |
-
|
373 |
-
#: ../dynamic-widgets.php:118
|
374 |
-
msgid "selection"
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: ../dynamic-widgets.php:
|
378 |
msgid "Click on the"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: ../dynamic-widgets.php:
|
382 |
msgid "next to the options for more info"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: ../dynamic-widgets.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
386 |
msgid "When a widget is"
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: ../dynamic-widgets.php:
|
390 |
msgid "the widget uses the WordPress default. In other words, it's shown everywhere"
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: ../dynamic-widgets.php:
|
394 |
msgid "A widget is"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: ../dynamic-widgets.php:
|
398 |
msgid "when there are options set, i.e. not showing on the front page."
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: ../dynamic-widgets.php:
|
402 |
-
msgid "Reset"
|
403 |
-
msgstr ""
|
404 |
-
|
405 |
-
#: ../dynamic-widgets.php:125
|
406 |
msgid "Reset makes the widget return to"
|
407 |
msgstr ""
|
408 |
|
409 |
# WordPress MO
|
410 |
-
#: ../dynamic-widgets.php:
|
411 |
msgid "Settings"
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: ../dynamic-widgets.php:
|
415 |
-
msgid "
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: ../dynamic-widgets.php:
|
419 |
-
msgid "
|
|
|
|
|
|
|
|
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: ../dynamic-widgets.php:
|
423 |
msgid "and"
|
424 |
msgstr ""
|
425 |
|
426 |
-
#: ../dynamic-widgets.php:
|
427 |
msgid "Options set for"
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: ../dynamic-widgets.php:
|
431 |
msgid "Option set for"
|
432 |
msgstr ""
|
433 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Dynamic Widgets\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2010-12-27 10:47+0100\n"
|
6 |
+
"PO-Revision-Date: 2010-12-27 10:47+0100\n"
|
7 |
"Last-Translator: Jacco\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
# WordPress MO
|
19 |
+
#: ../dynwid_admin_edit.php:24
|
20 |
msgid "Anonymous"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: ../dynwid_admin_edit.php:387
|
24 |
msgid "Widget options saved."
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: ../dynwid_admin_edit.php:387
|
28 |
+
#: ../dynwid_admin_edit.php:857
|
29 |
msgid "Return"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: ../dynwid_admin_edit.php:387
|
33 |
msgid "to Dynamic Widgets overview"
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: ../dynwid_admin_edit.php:392
|
37 |
msgid "Dynamic does not mean static hiding of a widget."
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: ../dynwid_admin_edit.php:392
|
41 |
msgid "Hint"
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: ../dynwid_admin_edit.php:392
|
45 |
msgid "Remove"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: ../dynwid_admin_edit.php:392
|
49 |
msgid "the widget from the sidebar"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: ../dynwid_admin_edit.php:396
|
53 |
msgid "The From date can't be later than the To date."
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: ../dynwid_admin_edit.php:401
|
57 |
msgid "Edit options for"
|
58 |
msgstr ""
|
59 |
|
60 |
# WordPress MO
|
61 |
+
#: ../dynwid_admin_edit.php:401
|
62 |
msgid "Widget"
|
63 |
msgstr ""
|
64 |
|
65 |
# WordPress MO
|
66 |
+
#: ../dynwid_admin_edit.php:412
|
67 |
+
#: ../dynwid_class_php4.php:54
|
68 |
+
#: ../dynwid_class.php:48
|
69 |
msgid "Role"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: ../dynwid_admin_edit.php:414
|
73 |
msgid "Show widget to everybody?"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: ../dynwid_admin_edit.php:418
|
77 |
msgid ""
|
78 |
"Setting options by role is very powerfull. It can override all other options!<br />\n"
|
79 |
"\t\t\t\t\t\tUsers who are not logged in, get the <em>Anonymous</em> role."
|
80 |
msgstr ""
|
81 |
|
82 |
# WordPress MO
|
83 |
+
#: ../dynwid_admin_edit.php:422
|
84 |
+
#: ../dynwid_admin_edit.php:446
|
85 |
+
#: ../dynwid_admin_edit.php:473
|
86 |
+
#: ../dynwid_admin_edit.php:497
|
87 |
+
#: ../dynwid_admin_edit.php:514
|
88 |
+
#: ../dynwid_admin_edit.php:579
|
89 |
+
#: ../dynwid_admin_edit.php:641
|
90 |
+
#: ../dynwid_admin_edit.php:655
|
91 |
+
#: ../dynwid_admin_edit.php:675
|
92 |
+
#: ../dynwid_admin_edit.php:685
|
93 |
+
#: ../dynwid_admin_edit.php:694
|
94 |
+
#: ../dynwid_admin_edit.php:811
|
95 |
+
#: ../dynwid_admin_edit.php:836
|
96 |
msgid "Yes"
|
97 |
msgstr ""
|
98 |
|
99 |
# WordPress MO
|
100 |
+
#: ../dynwid_admin_edit.php:423
|
101 |
+
#: ../dynwid_admin_edit.php:447
|
102 |
+
#: ../dynwid_admin_edit.php:474
|
103 |
+
#: ../dynwid_admin_edit.php:498
|
104 |
+
#: ../dynwid_admin_edit.php:515
|
105 |
+
#: ../dynwid_admin_edit.php:580
|
106 |
+
#: ../dynwid_admin_edit.php:642
|
107 |
+
#: ../dynwid_admin_edit.php:656
|
108 |
+
#: ../dynwid_admin_edit.php:676
|
109 |
+
#: ../dynwid_admin_edit.php:686
|
110 |
+
#: ../dynwid_admin_edit.php:695
|
111 |
+
#: ../dynwid_admin_edit.php:812
|
112 |
+
#: ../dynwid_admin_edit.php:837
|
113 |
msgid "No"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: ../dynwid_admin_edit.php:423
|
117 |
msgid "only to"
|
118 |
msgstr ""
|
119 |
|
120 |
# WordPress MO
|
121 |
+
#: ../dynwid_admin_edit.php:432
|
122 |
+
#: ../dynwid_class_php4.php:55
|
123 |
+
#: ../dynwid_class.php:49
|
124 |
msgid "Date"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: ../dynwid_admin_edit.php:434
|
128 |
msgid "Show widget always?"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: ../dynwid_admin_edit.php:438
|
132 |
msgid "Next to the above role option, the date option is also very powerfull. You've been warned!"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: ../dynwid_admin_edit.php:439
|
136 |
msgid "Enter dates in the YYYY-MM-DD format. You can also use the calender by clicking on the"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: ../dynwid_admin_edit.php:440
|
140 |
msgid ""
|
141 |
"Date ranges can be made by entering a From AND a To date<br />\n"
|
142 |
" \t\t\t\t\tWhen you want the widget to be displayed from a specific date, only fill in the From date<br />\n"
|
144 |
" \t\t\t\t"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: ../dynwid_admin_edit.php:447
|
148 |
msgid "only"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: ../dynwid_admin_edit.php:451
|
152 |
msgid "From"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: ../dynwid_admin_edit.php:455
|
156 |
msgid "To"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: ../dynwid_admin_edit.php:464
|
160 |
+
msgid "Language (WPML)"
|
161 |
+
msgstr ""
|
162 |
+
|
163 |
+
#: ../dynwid_admin_edit.php:466
|
164 |
+
msgid "Show widget default on all languages?"
|
165 |
+
msgstr ""
|
166 |
+
|
167 |
+
#: ../dynwid_admin_edit.php:470
|
168 |
+
msgid "Using this option can override all other options."
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#: ../dynwid_admin_edit.php:475
|
172 |
+
msgid "Except the languages"
|
173 |
+
msgstr ""
|
174 |
+
|
175 |
+
#: ../dynwid_admin_edit.php:486
|
176 |
+
#: ../dynwid_class_php4.php:57
|
177 |
+
#: ../dynwid_class.php:51
|
178 |
msgid "Front Page"
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: ../dynwid_admin_edit.php:488
|
182 |
msgid "Show widget on the front page?"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: ../dynwid_admin_edit.php:492
|
186 |
msgid ""
|
187 |
"This option only applies when your front page is set to display your latest posts (See Settings > Reading).<br />\n"
|
188 |
"\t\t\t\t\t\tWhen a static page is set, you can use the options for the static pages below.\n"
|
189 |
"\t\t\t\t\t"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: ../dynwid_admin_edit.php:503
|
193 |
+
#: ../dynwid_class_php4.php:58
|
194 |
+
#: ../dynwid_class.php:52
|
195 |
msgid "Single Posts"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: ../dynwid_admin_edit.php:505
|
199 |
msgid "Show widget default on single posts?"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: ../dynwid_admin_edit.php:509
|
203 |
msgid ""
|
204 |
"When you use an author <b>AND</b> a category exception, both rules in the condition must be met. Otherwise the exception rule won't be applied.\n"
|
205 |
" \t\t\t\t\tIf you want to use the rules in a logical OR condition. Add the same widget again and apply the other rule to that.\n"
|
206 |
" \t\t\t\t\t"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: ../dynwid_admin_edit.php:518
|
210 |
msgid "Make exception rule available to individual posts and tags."
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: ../dynwid_admin_edit.php:522
|
214 |
msgid ""
|
215 |
"When you enable this option, you have the ability to apply the exception rule for <em>Single Posts</em> to tags and individual posts.\n"
|
216 |
"\t\t\t\t\t\tYou can set the exception rule for tags in the single Edit Tag Panel (go to <a href=\"edit-tags.php?taxonomy=post_tag\">Post Tags</a>,\n"
|
220 |
" \t\t\t\t"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: ../dynwid_admin_edit.php:539
|
224 |
msgid "Except the posts by author"
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: ../dynwid_admin_edit.php:550
|
228 |
msgid "Except the posts in category"
|
229 |
msgstr ""
|
230 |
|
231 |
# WordPress MO
|
232 |
+
#: ../dynwid_admin_edit.php:564
|
233 |
+
#: ../dynwid_class_php4.php:59
|
234 |
+
#: ../dynwid_class.php:53
|
235 |
msgid "Pages"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: ../dynwid_admin_edit.php:566
|
239 |
msgid "Show widget default on static pages?"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: ../dynwid_admin_edit.php:571
|
243 |
+
msgid ""
|
244 |
+
"Checking the \"All childs\" option, makes the exception rule apply\n"
|
245 |
+
"\t\t\t\tto the parent and all items under it in all levels. Also future items\n"
|
246 |
+
"\t\t\t\tunder the parent. It's not possible to apply an exception rule to\n"
|
247 |
+
"\t\t\t\t\"All childs\" without the parent."
|
248 |
+
msgstr ""
|
249 |
+
|
250 |
+
#: ../dynwid_admin_edit.php:581
|
251 |
msgid "Except the page(s)"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: ../dynwid_admin_edit.php:620
|
255 |
+
#: ../dynwid_admin_edit.php:735
|
256 |
+
msgid "All childs"
|
257 |
+
msgstr ""
|
258 |
+
|
259 |
+
#: ../dynwid_admin_edit.php:637
|
260 |
+
#: ../dynwid_class_php4.php:60
|
261 |
+
#: ../dynwid_class.php:54
|
262 |
msgid "Author Pages"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: ../dynwid_admin_edit.php:639
|
266 |
msgid "Show widget default on author pages?"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: ../dynwid_admin_edit.php:643
|
270 |
msgid "Except the author(s)"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: ../dynwid_admin_edit.php:651
|
274 |
+
#: ../dynwid_class_php4.php:61
|
275 |
+
#: ../dynwid_class.php:55
|
276 |
msgid "Category Pages"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: ../dynwid_admin_edit.php:653
|
280 |
msgid "Show widget default on category pages?"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: ../dynwid_admin_edit.php:657
|
284 |
+
#: ../dynwid_admin_edit.php:838
|
285 |
msgid "Except the categories"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: ../dynwid_admin_edit.php:666
|
289 |
+
#: ../dynwid_class_php4.php:62
|
290 |
+
#: ../dynwid_class.php:56
|
291 |
msgid "Archive Pages"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: ../dynwid_admin_edit.php:668
|
295 |
msgid "Show widget on archive pages"
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: ../dynwid_admin_edit.php:672
|
299 |
msgid "This option does not include Author and Category Pages."
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: ../dynwid_admin_edit.php:681
|
303 |
+
#: ../dynwid_class_php4.php:63
|
304 |
+
#: ../dynwid_class.php:57
|
305 |
msgid "Error Page"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: ../dynwid_admin_edit.php:683
|
309 |
msgid "Show widget on the error page?"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: ../dynwid_admin_edit.php:690
|
313 |
msgid "Search Page"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: ../dynwid_admin_edit.php:692
|
317 |
msgid "Show widget on the search page?"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: ../dynwid_admin_edit.php:797
|
321 |
msgid "Custom Post Type"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: ../dynwid_admin_edit.php:799
|
325 |
msgid "Show widget on"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: ../dynwid_admin_edit.php:814
|
329 |
msgid "Except for"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: ../dynwid_admin_edit.php:832
|
333 |
+
#: ../dynwid_class_php4.php:65
|
334 |
+
#: ../dynwid_class.php:59
|
335 |
msgid "WPSC Category"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: ../dynwid_admin_edit.php:834
|
339 |
msgid "Show widget default on WPSC categories?"
|
340 |
msgstr ""
|
341 |
|
342 |
# WordPress MO
|
343 |
+
#: ../dynwid_admin_edit.php:853
|
344 |
msgid "Save"
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: ../dynwid_class_php4.php:56
|
348 |
+
#: ../dynwid_class.php:50
|
349 |
+
msgid "Language"
|
350 |
+
msgstr ""
|
351 |
+
|
352 |
+
#: ../dynwid_class_php4.php:64
|
353 |
+
#: ../dynwid_class.php:58
|
354 |
+
msgid "Search page"
|
355 |
+
msgstr ""
|
356 |
+
|
357 |
+
#: ../dynwid_admin.php:10
|
358 |
+
#: ../dynamic-widgets.php:138
|
359 |
+
#: ../dynamic-widgets.php:222
|
360 |
+
msgid "Dynamic Widgets"
|
361 |
+
msgstr ""
|
362 |
+
|
363 |
#: ../dynwid_admin.php:16
|
364 |
msgid "<b>WARNING</b> STRICT sql mode in effect. Dynamic Widgets might not work correctly. Please disable STRICT sql mode."
|
365 |
msgstr ""
|
386 |
msgid "Method set to"
|
387 |
msgstr ""
|
388 |
|
389 |
+
#: ../dynwid_admin_overview.php:36
|
390 |
+
msgid "Inactive Widgets"
|
391 |
+
msgstr ""
|
392 |
+
|
393 |
#: ../dynwid_admin_overview.php:59
|
394 |
+
#: ../dynwid_admin_overview.php:62
|
395 |
msgid "Edit this widget options"
|
396 |
msgstr ""
|
397 |
|
404 |
msgid "Reset widget to Static"
|
405 |
msgstr ""
|
406 |
|
407 |
+
#: ../dynwid_admin_overview.php:67
|
408 |
+
#: ../dynamic-widgets.php:130
|
409 |
+
msgid "Reset"
|
410 |
+
msgstr ""
|
411 |
+
|
412 |
#: ../dynwid_admin_overview.php:73
|
413 |
+
#: ../dynamic-widgets.php:127
|
414 |
+
#: ../dynamic-widgets.php:129
|
415 |
+
#: ../dynamic-widgets.php:569
|
416 |
msgid "Dynamic"
|
417 |
msgstr ""
|
418 |
|
419 |
#: ../dynwid_admin_overview.php:73
|
420 |
+
#: ../dynamic-widgets.php:127
|
421 |
+
#: ../dynamic-widgets.php:128
|
422 |
+
#: ../dynamic-widgets.php:131
|
423 |
+
#: ../dynamic-widgets.php:569
|
424 |
msgid "Static"
|
425 |
msgstr ""
|
426 |
|
428 |
msgid "Advanced"
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: ../dynamic-widgets.php:123
|
432 |
msgid "Widgets are always displayed by default"
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: ../dynamic-widgets.php:123
|
436 |
+
msgid "The '<em>Yes</em>' selection"
|
|
|
|
|
|
|
|
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: ../dynamic-widgets.php:124
|
440 |
msgid "Click on the"
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: ../dynamic-widgets.php:124
|
444 |
msgid "next to the options for more info"
|
445 |
msgstr ""
|
446 |
|
447 |
+
#: ../dynamic-widgets.php:125
|
448 |
+
msgid "The"
|
449 |
+
msgstr ""
|
450 |
+
|
451 |
+
#: ../dynamic-widgets.php:125
|
452 |
+
msgid "next to a section means it has options set."
|
453 |
+
msgstr ""
|
454 |
+
|
455 |
+
#: ../dynamic-widgets.php:128
|
456 |
msgid "When a widget is"
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: ../dynamic-widgets.php:128
|
460 |
msgid "the widget uses the WordPress default. In other words, it's shown everywhere"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: ../dynamic-widgets.php:129
|
464 |
msgid "A widget is"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: ../dynamic-widgets.php:129
|
468 |
msgid "when there are options set, i.e. not showing on the front page."
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: ../dynamic-widgets.php:131
|
|
|
|
|
|
|
|
|
472 |
msgid "Reset makes the widget return to"
|
473 |
msgstr ""
|
474 |
|
475 |
# WordPress MO
|
476 |
+
#: ../dynamic-widgets.php:175
|
477 |
msgid "Settings"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: ../dynamic-widgets.php:189
|
481 |
+
msgid "Apply exception rule to widgets:"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: ../dynamic-widgets.php:303
|
485 |
+
msgid "Dynamic Widgets Options saved"
|
486 |
+
msgstr ""
|
487 |
+
|
488 |
+
#: ../dynamic-widgets.php:303
|
489 |
+
msgid "for"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: ../dynamic-widgets.php:593
|
493 |
msgid "and"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: ../dynamic-widgets.php:599
|
497 |
msgid "Options set for"
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: ../dynamic-widgets.php:599
|
501 |
msgid "Option set for"
|
502 |
msgstr ""
|
503 |
|
readme.txt
CHANGED
@@ -1,20 +1,21 @@
|
|
1 |
=== Plugin Name ===
|
2 |
Contributors: Qurl
|
3 |
Donate link:
|
4 |
-
Tags: widget, widgets, dynamic, sidebar, custom, rules, admin, conditional tags
|
5 |
Requires at least: 2.9.1
|
6 |
-
Tested up to: 3.0.
|
7 |
-
Stable tag: 1.3.
|
8 |
|
9 |
-
Dynamic Widgets gives you
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
Dynamic Widgets gives you
|
14 |
|
15 |
* Default widget display setting is supported for:
|
16 |
- User roles
|
17 |
- Dates
|
|
|
18 |
- Front page
|
19 |
- Single post pages
|
20 |
- Pages
|
@@ -23,23 +24,27 @@ Dynamic Widgets gives you more control over your widgets. It lets you dynamicly
|
|
23 |
- Archive pages
|
24 |
- Error Page
|
25 |
- Search Page
|
26 |
-
- Custom Post Types
|
27 |
- WP Shopping Cart / WP E-Commerce Categories
|
28 |
|
29 |
* Exceptions can be created for:
|
30 |
- User roles on role, including not logged in (anonymous) users
|
31 |
- Dates on from, to or range
|
|
|
32 |
- Single post pages on Author, Categories, Tags and/or Individual posts
|
33 |
-
- Pages on Page Title
|
34 |
- Author pages on Author
|
35 |
- Category pages on Category name
|
36 |
-
- Custom Posts Type on Custom post name
|
37 |
- WP Shopping Cart / WP E-Commerce Categories on Category name
|
38 |
|
39 |
* Plugin support for:
|
40 |
- WP MultiLingual (WPML)
|
41 |
- WP Shopping Cart / WP E-Commerce (WPSC / WPEC)
|
42 |
|
|
|
|
|
|
|
43 |
== Installation ==
|
44 |
|
45 |
Installation of this plugin is fairly easy:
|
@@ -81,6 +86,10 @@ Did you save the options? If you did, you may try to hit the (i) icon a bit to t
|
|
81 |
|
82 |
Try setting the plugin to the 'OLD' method. You can do this by clicking on the 'Advanced >' link at the bottom of the Widgets Overview page and check the box next to 'Use OLD method'. See if that helps. Setting the plugin using the 'OLD' method comes with a downside unfortunately. It may leave you behind with a visible empty sidebar.
|
83 |
|
|
|
|
|
|
|
|
|
84 |
= I want in Page X the sidebar becomes empty, but instead several widgets are shown in that sidebar. Am I doing something wrong? =
|
85 |
|
86 |
Your theme probably uses a 'default display widgets policy'. When a sidebar becomes empty, the theme detects this and places widgets by default in it. The plugin can't do anything about that. Ask the theme creator how to fix this.
|
@@ -105,11 +114,18 @@ Please file a [bugreport](http://www.qurl.nl/dynamic-widgets/bugreport/). Please
|
|
105 |
* Confirm you really want to uninstall the plugin. After the cleanup, the plugin is deactivated automaticly.
|
106 |
* Remove the directory 'dynamic-widgets' underneath to the `/wp-content/plugins/` directory.
|
107 |
|
108 |
-
==
|
109 |
|
110 |
-
|
111 |
|
112 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
|
114 |
= Version 1.3.6 =
|
115 |
|
1 |
=== Plugin Name ===
|
2 |
Contributors: Qurl
|
3 |
Donate link:
|
4 |
+
Tags: widget, widgets, dynamic, sidebar, custom, rules, admin, condition, conditional tags
|
5 |
Requires at least: 2.9.1
|
6 |
+
Tested up to: 3.0.3
|
7 |
+
Stable tag: 1.3.7
|
8 |
|
9 |
+
Dynamic Widgets gives you full control on which pages your widgets will appear. It lets you dynamicly place the widgets on WordPress pages.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
Dynamic Widgets gives you full control on which pages your widgets will appear. It lets you dynamicly place the widgets on WordPress pages by setting conditional rules with just a few mouse clicks by role, dates, language (WPML), for the homepage, single posts, pages, authors, categories, archives, error page, search page and custom post types.
|
14 |
|
15 |
* Default widget display setting is supported for:
|
16 |
- User roles
|
17 |
- Dates
|
18 |
+
- Language (WPML)
|
19 |
- Front page
|
20 |
- Single post pages
|
21 |
- Pages
|
24 |
- Archive pages
|
25 |
- Error Page
|
26 |
- Search Page
|
27 |
+
- Custom Post Types
|
28 |
- WP Shopping Cart / WP E-Commerce Categories
|
29 |
|
30 |
* Exceptions can be created for:
|
31 |
- User roles on role, including not logged in (anonymous) users
|
32 |
- Dates on from, to or range
|
33 |
+
- Language (WPML) on language
|
34 |
- Single post pages on Author, Categories, Tags and/or Individual posts
|
35 |
+
- Pages on Page Title, including inheritance from hierarchical parents
|
36 |
- Author pages on Author
|
37 |
- Category pages on Category name
|
38 |
+
- Custom Posts Type on Custom post name, including inheritance from hierarchical parents
|
39 |
- WP Shopping Cart / WP E-Commerce Categories on Category name
|
40 |
|
41 |
* Plugin support for:
|
42 |
- WP MultiLingual (WPML)
|
43 |
- WP Shopping Cart / WP E-Commerce (WPSC / WPEC)
|
44 |
|
45 |
+
* Language files provided:
|
46 |
+
- French (fr_FR) by Alexis Nomine
|
47 |
+
|
48 |
== Installation ==
|
49 |
|
50 |
Installation of this plugin is fairly easy:
|
86 |
|
87 |
Try setting the plugin to the 'OLD' method. You can do this by clicking on the 'Advanced >' link at the bottom of the Widgets Overview page and check the box next to 'Use OLD method'. See if that helps. Setting the plugin using the 'OLD' method comes with a downside unfortunately. It may leave you behind with a visible empty sidebar.
|
88 |
|
89 |
+
= I want to check if the �OLD� method suits me better, is there a way back if it doesn�t? =
|
90 |
+
|
91 |
+
Yes! You can switch between FILTER and OLD method without any loss of widgets configuration or whatsoever.
|
92 |
+
|
93 |
= I want in Page X the sidebar becomes empty, but instead several widgets are shown in that sidebar. Am I doing something wrong? =
|
94 |
|
95 |
Your theme probably uses a 'default display widgets policy'. When a sidebar becomes empty, the theme detects this and places widgets by default in it. The plugin can't do anything about that. Ask the theme creator how to fix this.
|
114 |
* Confirm you really want to uninstall the plugin. After the cleanup, the plugin is deactivated automaticly.
|
115 |
* Remove the directory 'dynamic-widgets' underneath to the `/wp-content/plugins/` directory.
|
116 |
|
117 |
+
== Changelog ==
|
118 |
|
119 |
+
= Version 1.3.7 =
|
120 |
|
121 |
+
* Added more l10n text strings.
|
122 |
+
* Added French language files (locale: fr_FR) - Merci beaucoup Alexis!
|
123 |
+
* Added language (WPML) as an option.
|
124 |
+
* Added hierarchical inheritance support for Pages and Custom Post Types
|
125 |
+
* Bugfix for unexpected behavior when two widgets are in opposite config of eachother.
|
126 |
+
* Fixed a couple of l10n text strings
|
127 |
+
* Changed UI in edit options screen (Thanks Alexis for the help!).
|
128 |
+
* Speeded up the removing process in FILTER method.
|
129 |
|
130 |
= Version 1.3.6 =
|
131 |
|
screenshot-2.jpg
CHANGED
Binary file
|