Version Description
This version has 3 bugs fixed. Upgrade before you upgrade to WordPress 3.5.
=
Download this release
Release Info
Developer | qurl |
Plugin | Dynamic Widgets |
Version | 1.5.4 |
Comparing to | |
See all releases |
Code changes from version 1.5.3 to 1.5.4
- classes/dynwid_class.php +2 -2
- dynamic-widgets.php +64 -45
- dynwid_init_worker.php +2 -2
- dynwid_worker.php +4 -4
- locale/dynamic-widgets-da_DK.mo +0 -0
- locale/dynamic-widgets-da_DK.po +814 -0
- mods/pods_module.php +27 -12
- mods/wpml_module.php +2 -2
- readme.txt +16 -4
classes/dynwid_class.php
CHANGED
@@ -184,7 +184,7 @@
|
|
184 |
|
185 |
if ( in_array($maintype, $post_types) ) {
|
186 |
$query = "SELECT COUNT(1) AS total FROM " . $this->dbtable . " WHERE widget_id = '" . $widget_id . "' AND maintype = '" . $maintype . "' AND name = 'default'";
|
187 |
-
$count = $this->wpdb->get_var($
|
188 |
if ( $count > 0 ) {
|
189 |
$insert = FALSE;
|
190 |
}
|
@@ -651,7 +651,7 @@
|
|
651 |
$query = "SELECT COUNT(1) AS total FROM " . $this->dbtable . "
|
652 |
WHERE widget_id = '" . $widget_id . "' AND
|
653 |
maintype != 'individual'";
|
654 |
-
$count = $this->wpdb->get_var($
|
655 |
|
656 |
if ( $count > 0 ) {
|
657 |
return TRUE;
|
184 |
|
185 |
if ( in_array($maintype, $post_types) ) {
|
186 |
$query = "SELECT COUNT(1) AS total FROM " . $this->dbtable . " WHERE widget_id = '" . $widget_id . "' AND maintype = '" . $maintype . "' AND name = 'default'";
|
187 |
+
$count = $this->wpdb->get_var($query);
|
188 |
if ( $count > 0 ) {
|
189 |
$insert = FALSE;
|
190 |
}
|
651 |
$query = "SELECT COUNT(1) AS total FROM " . $this->dbtable . "
|
652 |
WHERE widget_id = '" . $widget_id . "' AND
|
653 |
maintype != 'individual'";
|
654 |
+
$count = $this->wpdb->get_var($query);
|
655 |
|
656 |
if ( $count > 0 ) {
|
657 |
return TRUE;
|
dynamic-widgets.php
CHANGED
@@ -4,7 +4,7 @@
|
|
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 show or hide widgets on WordPress pages.
|
6 |
* Author: Qurl
|
7 |
-
* Version: 1.5.
|
8 |
* Author URI: http://www.qurl.nl/
|
9 |
* Tags: widget, widgets, dynamic, sidebar, custom, rules, logic, admin, condition, conditional tags, hide, show, wpml, qtranslate, wpec, buddypress, pods
|
10 |
*
|
@@ -15,7 +15,7 @@
|
|
15 |
*
|
16 |
* Released under the GPL v.2, http://www.gnu.org/copyleft/gpl.html
|
17 |
*
|
18 |
-
* @version $Id: dynamic-widgets.php
|
19 |
* @copyright 2011 Jacco Drabbe
|
20 |
*
|
21 |
* Thanks to Alexis Nomine for the contribution of the French (fr_FR) language files, several L10N fixes and change of the edit options UI.
|
@@ -24,6 +24,11 @@
|
|
24 |
* Thanks to Hanolex for the contribution of the Chinese (Simplified) (zh_CN) language files.
|
25 |
* Thanks to Liudas Ali�auskas for the contribution of the Lithuanian (lt_LT) language files.
|
26 |
* Thanks to Pedro Nave for the contribution of the Portuguese (pt_PT) language files.
|
|
|
|
|
|
|
|
|
|
|
27 |
*
|
28 |
* WPML Plugin support via API
|
29 |
* Using constants ICL_PLUGIN_PATH > mods/wpml_module.php
|
@@ -67,7 +72,7 @@
|
|
67 |
define('DW_PLUGIN', dirname(__FILE__) . '/' . 'plugin/');
|
68 |
define('DW_TIME_LIMIT', 86400); // 1 day
|
69 |
define('DW_URL_AUTHOR', 'http://www.qurl.nl');
|
70 |
-
define('DW_VERSION', '1.5.
|
71 |
define('DW_VERSION_URL_CHECK', DW_URL_AUTHOR . '/wp-content/uploads/php/dw_version.php?v=' . DW_VERSION . '&n=');
|
72 |
define('DW_WPML_API', '/inc/wpml-api.php'); // WPML Plugin support - API file relative to ICL_PLUGIN_PATH
|
73 |
define('DW_WPML_ICON', 'img/wpml_icon.png'); // WPML Plugin support - WPML icon
|
@@ -88,7 +93,7 @@
|
|
88 |
|
89 |
$query = "CREATE TABLE IF NOT EXISTS " . $dbtable . " (
|
90 |
id int(11) NOT NULL auto_increment,
|
91 |
-
widget_id varchar(
|
92 |
maintype varchar(50) NOT NULL,
|
93 |
`name` varchar(40) NOT NULL,
|
94 |
`value` longtext NOT NULL,
|
@@ -146,6 +151,15 @@
|
|
146 |
$wpdb->query($query);
|
147 |
}
|
148 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
|
150 |
}
|
151 |
update_option('dynwid_version', DW_VERSION);
|
@@ -657,48 +671,53 @@
|
|
657 |
*/
|
658 |
function dynwid_save_postdata($post_id) {
|
659 |
$DW = &$GLOBALS['DW'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
660 |
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
}
|
701 |
-
} // END if array_key_exists
|
702 |
}
|
703 |
|
704 |
/**
|
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 show or hide widgets on WordPress pages.
|
6 |
* Author: Qurl
|
7 |
+
* Version: 1.5.4
|
8 |
* Author URI: http://www.qurl.nl/
|
9 |
* Tags: widget, widgets, dynamic, sidebar, custom, rules, logic, admin, condition, conditional tags, hide, show, wpml, qtranslate, wpec, buddypress, pods
|
10 |
*
|
15 |
*
|
16 |
* Released under the GPL v.2, http://www.gnu.org/copyleft/gpl.html
|
17 |
*
|
18 |
+
* @version $Id: dynamic-widgets.php 639724 2012-12-15 16:23:24Z qurl $
|
19 |
* @copyright 2011 Jacco Drabbe
|
20 |
*
|
21 |
* Thanks to Alexis Nomine for the contribution of the French (fr_FR) language files, several L10N fixes and change of the edit options UI.
|
24 |
* Thanks to Hanolex for the contribution of the Chinese (Simplified) (zh_CN) language files.
|
25 |
* Thanks to Liudas Ali�auskas for the contribution of the Lithuanian (lt_LT) language files.
|
26 |
* Thanks to Pedro Nave for the contribution of the Portuguese (pt_PT) language files.
|
27 |
+
* Thanks to Renato Tavares for the contribution of the Brazil Portuguese (pt_BR) language files.
|
28 |
+
* Thanks to Pavel Bilek for the contribution of the Chech (cs_CZ) language files.
|
29 |
+
* Thanks to Morten Nalholm for the contribution of the Danish (da_DK) language files.
|
30 |
+
* Thanks to Scott Kingsley Clark for the help to get the Pods module upgraded to support Pods v2.
|
31 |
+
*
|
32 |
*
|
33 |
* WPML Plugin support via API
|
34 |
* Using constants ICL_PLUGIN_PATH > mods/wpml_module.php
|
72 |
define('DW_PLUGIN', dirname(__FILE__) . '/' . 'plugin/');
|
73 |
define('DW_TIME_LIMIT', 86400); // 1 day
|
74 |
define('DW_URL_AUTHOR', 'http://www.qurl.nl');
|
75 |
+
define('DW_VERSION', '1.5.4');
|
76 |
define('DW_VERSION_URL_CHECK', DW_URL_AUTHOR . '/wp-content/uploads/php/dw_version.php?v=' . DW_VERSION . '&n=');
|
77 |
define('DW_WPML_API', '/inc/wpml-api.php'); // WPML Plugin support - API file relative to ICL_PLUGIN_PATH
|
78 |
define('DW_WPML_ICON', 'img/wpml_icon.png'); // WPML Plugin support - WPML icon
|
93 |
|
94 |
$query = "CREATE TABLE IF NOT EXISTS " . $dbtable . " (
|
95 |
id int(11) NOT NULL auto_increment,
|
96 |
+
widget_id varchar(60) NOT NULL,
|
97 |
maintype varchar(50) NOT NULL,
|
98 |
`name` varchar(40) NOT NULL,
|
99 |
`value` longtext NOT NULL,
|
151 |
$wpdb->query($query);
|
152 |
}
|
153 |
}
|
154 |
+
|
155 |
+
/*
|
156 |
+
1.5.3.1 > Widgets seems to be started using longer classnames to avoid clashing.
|
157 |
+
Widend up the width for widget_id from 40 to 60.
|
158 |
+
*/
|
159 |
+
if ( version_compare($version, '1.5.3.1', '<') ) {
|
160 |
+
$query = "ALTER TABLE " . $dbtable . " CHANGE `widget_id` `widget_id` VARCHAR(60) NOT NULL";
|
161 |
+
$wpdb->query($query);
|
162 |
+
}
|
163 |
|
164 |
}
|
165 |
update_option('dynwid_version', DW_VERSION);
|
671 |
*/
|
672 |
function dynwid_save_postdata($post_id) {
|
673 |
$DW = &$GLOBALS['DW'];
|
674 |
+
|
675 |
+
if ( $_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['action']) && $_POST['action'] != 'autosave' ) {
|
676 |
+
$post_id = ( isset($_POST['post_ID']) && ! empty($_POST['post_ID']) ) ? intval($_POST['post_ID']) : 0;
|
677 |
+
|
678 |
+
if ( $parent_id = wp_is_post_revision($post_id) ) {
|
679 |
+
$post_id = $parent_id;
|
680 |
+
}
|
681 |
|
682 |
+
if ( $post_id > 0 ) {
|
683 |
+
$post_type = get_post_type($post_id);
|
684 |
+
if ( $post_type == 'post') {
|
685 |
+
$post_type = 'single';
|
686 |
+
$maintype = 'single-post';
|
687 |
+
} else {
|
688 |
+
$maintype = $post_type . '-post';
|
689 |
+
}
|
690 |
+
|
691 |
+
// Housekeeping
|
692 |
+
$opt = $DW->getOpt('%','individual');
|
693 |
+
foreach ( $opt as $widget ) {
|
694 |
+
$DW->deleteOption($widget->widget_id, $maintype, $post_id);
|
695 |
+
}
|
696 |
+
|
697 |
+
if ( array_key_exists('dw-single-post', $_POST) ) {
|
698 |
+
$opt = $_POST['dw-single-post'];
|
699 |
+
$default = 'yes';
|
700 |
+
$default_single = '1';
|
701 |
+
|
702 |
+
foreach ( $opt as $widget_id ) {
|
703 |
+
$opt_single = $DW->getOpt($widget_id, $post_type);
|
704 |
+
if ( count($opt_single) > 0 ) {
|
705 |
+
foreach ( $opt_single as $widget ) {
|
706 |
+
if ( $widget->maintype == $post_type ) {
|
707 |
+
$default_single = $widget->value;
|
708 |
+
}
|
709 |
+
}
|
710 |
+
|
711 |
+
if ( $default_single == '0' ) {
|
712 |
+
$default = 'no';
|
713 |
+
}
|
714 |
+
}
|
715 |
+
|
716 |
+
$DW->addMultiOption($widget_id, $maintype, $default, array($post_id));
|
717 |
+
}
|
718 |
+
} // END if array_key_exists
|
719 |
+
} // END if $post_id > 0
|
720 |
+
} // END if ! autosave AND ! quick edit
|
|
|
|
|
721 |
}
|
722 |
|
723 |
/**
|
dynwid_init_worker.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* dynwid_init_worker.php
|
4 |
*
|
5 |
-
* @version $Id: dynwid_init_worker.php
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
@@ -16,7 +16,7 @@
|
|
16 |
// UserAgent detection
|
17 |
$DW->message('UserAgent: ' . $DW->useragent);
|
18 |
|
19 |
-
$DW->message('Today it is ' . date('l') . ' (' . date('N') . '), Week: ' . date('W'));
|
20 |
|
21 |
$DW->message('User has role(s): ' . implode(', ', $DW->userrole));
|
22 |
|
2 |
/**
|
3 |
* dynwid_init_worker.php
|
4 |
*
|
5 |
+
* @version $Id: dynwid_init_worker.php 618242 2012-10-28 14:00:39Z qurl $
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
16 |
// UserAgent detection
|
17 |
$DW->message('UserAgent: ' . $DW->useragent);
|
18 |
|
19 |
+
$DW->message('Today it is ' . date('l', current_time('timestamp', 0)) . ' (' . date('N', current_time('timestamp', 0)) . '), Week: ' . date('W', current_time('timestamp', 0)));
|
20 |
|
21 |
$DW->message('User has role(s): ' . implode(', ', $DW->userrole));
|
22 |
|
dynwid_worker.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* dynwid_worker.php - The worker does the actual work.
|
4 |
*
|
5 |
-
* @version $Id: dynwid_worker.php
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
@@ -114,7 +114,7 @@
|
|
114 |
}
|
115 |
}
|
116 |
}
|
117 |
-
$now =
|
118 |
if (! empty($date_end) ) {
|
119 |
@list($date_end_year, $date_end_month, $date_end_day) = explode('-', $date_end);
|
120 |
if ( mktime(23, 59, 59, $date_end_month, $date_end_day, $date_end_year) > $now ) {
|
@@ -173,9 +173,9 @@
|
|
173 |
(bool) $browser_tmp = $condition->value;
|
174 |
} else if ( $condition->maintype == 'tpl' && $condition->name == $DW->template ) {
|
175 |
(bool) $tpl_tmp = $condition->value;
|
176 |
-
} else if ( $condition->maintype == 'day' && $condition->name == date('N') ) {
|
177 |
(bool) $day_tmp = $condition->value;
|
178 |
-
} else if ( $condition->maintype == 'week' && $condition->name == date('W') ) {
|
179 |
(bool) $week_tmp = $condition->value;
|
180 |
} else if ( $condition->maintype == 'url' && $condition->name == 'url' ) {
|
181 |
$urls = unserialize($condition->value);
|
2 |
/**
|
3 |
* dynwid_worker.php - The worker does the actual work.
|
4 |
*
|
5 |
+
* @version $Id: dynwid_worker.php 618242 2012-10-28 14:00:39Z qurl $
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
114 |
}
|
115 |
}
|
116 |
}
|
117 |
+
$now = current_time('timestamp', 0);
|
118 |
if (! empty($date_end) ) {
|
119 |
@list($date_end_year, $date_end_month, $date_end_day) = explode('-', $date_end);
|
120 |
if ( mktime(23, 59, 59, $date_end_month, $date_end_day, $date_end_year) > $now ) {
|
173 |
(bool) $browser_tmp = $condition->value;
|
174 |
} else if ( $condition->maintype == 'tpl' && $condition->name == $DW->template ) {
|
175 |
(bool) $tpl_tmp = $condition->value;
|
176 |
+
} else if ( $condition->maintype == 'day' && $condition->name == date('N', current_time('timestamp', 0)) ) {
|
177 |
(bool) $day_tmp = $condition->value;
|
178 |
+
} else if ( $condition->maintype == 'week' && $condition->name == date('W', current_time('timestamp', 0)) ) {
|
179 |
(bool) $week_tmp = $condition->value;
|
180 |
} else if ( $condition->maintype == 'url' && $condition->name == 'url' ) {
|
181 |
$urls = unserialize($condition->value);
|
locale/dynamic-widgets-da_DK.mo
ADDED
Binary file
|
locale/dynamic-widgets-da_DK.po
ADDED
@@ -0,0 +1,814 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Dynamic Widgets\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-08-13 18:05+0100\n"
|
6 |
+
"PO-Revision-Date: 2012-10-09 09:21+0100\n"
|
7 |
+
"Last-Translator: \n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Poedit-SearchPath-0: ..\n"
|
16 |
+
|
17 |
+
# WordPress MO
|
18 |
+
#: ../dynwid_class_php4.php:164 ../dynwid_class.php:149
|
19 |
+
msgid "Role"
|
20 |
+
msgstr "Rolle"
|
21 |
+
|
22 |
+
# WordPress MO
|
23 |
+
#: ../dynwid_class_php4.php:165 ../dynwid_class.php:150
|
24 |
+
msgid "Date"
|
25 |
+
msgstr "Dato"
|
26 |
+
|
27 |
+
#: ../dynwid_class_php4.php:166 ../dynwid_class.php:151
|
28 |
+
msgid "Browser"
|
29 |
+
msgstr "Browser"
|
30 |
+
|
31 |
+
#: ../dynwid_class_php4.php:167 ../dynwid_class.php:152
|
32 |
+
msgid "Templates"
|
33 |
+
msgstr "Templates"
|
34 |
+
|
35 |
+
#: ../dynwid_class_php4.php:168 ../dynwid_class_php4.php:169
|
36 |
+
#: ../dynwid_class.php:153 ../dynwid_class.php:154
|
37 |
+
msgid "Language"
|
38 |
+
msgstr "Sprog"
|
39 |
+
|
40 |
+
#: ../dynwid_class_php4.php:170 ../dynwid_class.php:155
|
41 |
+
#: ../mods/frontpage_module.php:13
|
42 |
+
msgid "Front Page"
|
43 |
+
msgstr "Forside"
|
44 |
+
|
45 |
+
#: ../dynwid_class_php4.php:171 ../dynwid_class.php:156
|
46 |
+
#: ../mods/single_module.php:58
|
47 |
+
msgid "Single Posts"
|
48 |
+
msgstr "Enkelte indlæg"
|
49 |
+
|
50 |
+
#: ../dynwid_class_php4.php:172 ../dynwid_class.php:157
|
51 |
+
#: ../mods/attachment_module.php:12
|
52 |
+
msgid "Attachments"
|
53 |
+
msgstr "Vedhæftninger"
|
54 |
+
|
55 |
+
# WordPress MO
|
56 |
+
#: ../dynwid_class_php4.php:173 ../dynwid_class.php:158
|
57 |
+
msgid "Pages"
|
58 |
+
msgstr "Sider"
|
59 |
+
|
60 |
+
#: ../dynwid_class_php4.php:174 ../dynwid_class.php:159
|
61 |
+
msgid "Author Pages"
|
62 |
+
msgstr "Forfattersider"
|
63 |
+
|
64 |
+
#: ../dynwid_class_php4.php:175 ../dynwid_class.php:160
|
65 |
+
#: ../mods/category_module.php:17
|
66 |
+
msgid "Category Pages"
|
67 |
+
msgstr "Kategorisider"
|
68 |
+
|
69 |
+
#: ../dynwid_class_php4.php:176 ../dynwid_class.php:161
|
70 |
+
msgid "Archive Pages"
|
71 |
+
msgstr "Arkivsider"
|
72 |
+
|
73 |
+
#: ../dynwid_class_php4.php:177 ../dynwid_class.php:162
|
74 |
+
#: ../mods/error_module.php:12
|
75 |
+
msgid "Error Page"
|
76 |
+
msgstr "Fejlside"
|
77 |
+
|
78 |
+
#: ../dynwid_class_php4.php:178 ../dynwid_class.php:163
|
79 |
+
msgid "Search page"
|
80 |
+
msgstr "Søgeside"
|
81 |
+
|
82 |
+
#: ../dynwid_class_php4.php:179 ../dynwid_class.php:164
|
83 |
+
msgid "WPSC Category"
|
84 |
+
msgstr "WPSC kategori"
|
85 |
+
|
86 |
+
#: ../dynwid_class_php4.php:180 ../dynwid_class.php:165
|
87 |
+
msgid "Custom Post Type Archives"
|
88 |
+
msgstr "Arkiver for egne indlægstyper"
|
89 |
+
|
90 |
+
#: ../dynwid_class_php4.php:181 ../dynwid_class.php:166
|
91 |
+
msgid "BuddyPress"
|
92 |
+
msgstr "BuddyPress"
|
93 |
+
|
94 |
+
#: ../dynwid_class_php4.php:182 ../dynwid_class.php:167
|
95 |
+
msgid "BuddyPress Groups"
|
96 |
+
msgstr "BuddyPress grupper"
|
97 |
+
|
98 |
+
#: ../dynwid_admin.php:19 ../dynamic-widgets.php:152
|
99 |
+
#: ../dynamic-widgets.php:175 ../dynamic-widgets.php:281
|
100 |
+
#: ../dynamic-widgets.php:680
|
101 |
+
msgid "Dynamic Widgets"
|
102 |
+
msgstr "Dynamic Widgets"
|
103 |
+
|
104 |
+
#: ../dynwid_admin.php:26
|
105 |
+
msgid ""
|
106 |
+
"<b>WARNING</b> STRICT sql mode in effect. Dynamic Widgets might not work "
|
107 |
+
"correctly. Please disable STRICT sql mode."
|
108 |
+
msgstr ""
|
109 |
+
"<b>ADVARSEL</b> STRICT sql mode er slået til. Dynamic Widgets fungerer måske "
|
110 |
+
"ikke korrekt. Slå venligst STRICT sql mode fra."
|
111 |
+
|
112 |
+
#: ../dynwid_admin.php:46
|
113 |
+
msgid "Oops! Something went terrible wrong. Please reinstall Dynamic Widgets."
|
114 |
+
msgstr "Ups! Noget gik helt galt. Geninstaller Dynamic Widgets."
|
115 |
+
|
116 |
+
#: ../dynwid_admin.php:54 ../dynwid_admin_overview.php:20
|
117 |
+
msgid "OLD"
|
118 |
+
msgstr "GAMMEL"
|
119 |
+
|
120 |
+
#: ../dynwid_admin.php:54 ../dynwid_admin_overview.php:20
|
121 |
+
msgid "FILTER"
|
122 |
+
msgstr "FILTRER"
|
123 |
+
|
124 |
+
#: ../dynamic-widgets.php:160
|
125 |
+
msgid "Widgets are always displayed by default"
|
126 |
+
msgstr "Widgets vises som standard altid "
|
127 |
+
|
128 |
+
#: ../dynamic-widgets.php:160
|
129 |
+
msgid "The '<em>Yes</em>' selection"
|
130 |
+
msgstr "Valget '<em>Ja</em>'"
|
131 |
+
|
132 |
+
#: ../dynamic-widgets.php:161
|
133 |
+
msgid "Click on the"
|
134 |
+
msgstr "Klik på"
|
135 |
+
|
136 |
+
#: ../dynamic-widgets.php:161
|
137 |
+
msgid "next to the options for more info"
|
138 |
+
msgstr "ved siden af valgmulighederne for mere information"
|
139 |
+
|
140 |
+
#: ../dynamic-widgets.php:162
|
141 |
+
msgid "The"
|
142 |
+
msgstr " "
|
143 |
+
|
144 |
+
#: ../dynamic-widgets.php:162
|
145 |
+
msgid "next to a section means it has options set."
|
146 |
+
msgstr "ved siden af en sektion betyder at dens indstillinger er foretaget."
|
147 |
+
|
148 |
+
#: ../dynamic-widgets.php:164 ../dynamic-widgets.php:165
|
149 |
+
#: ../dynamic-widgets.php:168 ../dynamic-widgets.php:682
|
150 |
+
#: ../dynwid_admin_overview.php:85
|
151 |
+
msgid "Static"
|
152 |
+
msgstr "Statisk"
|
153 |
+
|
154 |
+
#: ../dynamic-widgets.php:164 ../dynamic-widgets.php:166
|
155 |
+
#: ../dynamic-widgets.php:682 ../dynwid_admin_overview.php:85
|
156 |
+
msgid "Dynamic"
|
157 |
+
msgstr "Dynamisk"
|
158 |
+
|
159 |
+
#: ../dynamic-widgets.php:165
|
160 |
+
msgid "When a widget is"
|
161 |
+
msgstr "Når en widget er"
|
162 |
+
|
163 |
+
#: ../dynamic-widgets.php:165
|
164 |
+
msgid ""
|
165 |
+
"the widget uses the WordPress default. In other words, it's shown everywhere"
|
166 |
+
msgstr "bruger den WordPress standarden. Med andre ord vises den overalt"
|
167 |
+
|
168 |
+
#: ../dynamic-widgets.php:166
|
169 |
+
msgid "A widget is"
|
170 |
+
msgstr "En widget er"
|
171 |
+
|
172 |
+
#: ../dynamic-widgets.php:166
|
173 |
+
msgid "when there are options set, i.e. not showing on the front page."
|
174 |
+
msgstr "når der er valgt indstillinger, dvs. vises ikke på forsiden."
|
175 |
+
|
176 |
+
#: ../dynamic-widgets.php:167 ../dynwid_admin_overview.php:79
|
177 |
+
msgid "Reset"
|
178 |
+
msgstr "Reset"
|
179 |
+
|
180 |
+
#: ../dynamic-widgets.php:168
|
181 |
+
msgid "Reset makes the widget return to"
|
182 |
+
msgstr "Reset fører en widget tilbage til"
|
183 |
+
|
184 |
+
# WordPress MO
|
185 |
+
#: ../dynamic-widgets.php:234
|
186 |
+
msgid "Settings"
|
187 |
+
msgstr "Indstillinger"
|
188 |
+
|
189 |
+
#: ../dynamic-widgets.php:248
|
190 |
+
msgid "Apply exception rule to widgets:"
|
191 |
+
msgstr "Anvend undtagelsesregler på disse widgets:"
|
192 |
+
|
193 |
+
#: ../dynamic-widgets.php:264 ../dynamic-widgets.php:298
|
194 |
+
msgid "Off"
|
195 |
+
msgstr "Fra"
|
196 |
+
|
197 |
+
#: ../dynamic-widgets.php:264 ../dynamic-widgets.php:298
|
198 |
+
msgid "On"
|
199 |
+
msgstr "Til"
|
200 |
+
|
201 |
+
#: ../dynamic-widgets.php:265
|
202 |
+
msgid " (Default: "
|
203 |
+
msgstr "(Standard:"
|
204 |
+
|
205 |
+
#: ../dynamic-widgets.php:299
|
206 |
+
msgid "Default"
|
207 |
+
msgstr "Standard"
|
208 |
+
|
209 |
+
#: ../dynamic-widgets.php:359
|
210 |
+
msgid "Dynamic Widgets Options saved"
|
211 |
+
msgstr "Indstillinger for Dynamic Widgets gemt"
|
212 |
+
|
213 |
+
#: ../dynamic-widgets.php:360
|
214 |
+
msgid "for"
|
215 |
+
msgstr "for"
|
216 |
+
|
217 |
+
#: ../dynamic-widgets.php:681
|
218 |
+
msgid "Edit Dynamic Widgets Options"
|
219 |
+
msgstr "Rediger indstillinger for Dynamic Widgets"
|
220 |
+
|
221 |
+
#: ../dynamic-widgets.php:706
|
222 |
+
msgid "and"
|
223 |
+
msgstr "og"
|
224 |
+
|
225 |
+
#: ../dynamic-widgets.php:712
|
226 |
+
msgid "Options set for"
|
227 |
+
msgstr "Indstillinger valgt for"
|
228 |
+
|
229 |
+
#: ../dynamic-widgets.php:712
|
230 |
+
msgid "Option set for"
|
231 |
+
msgstr "Indstillinger valgt for"
|
232 |
+
|
233 |
+
#: ../dynwid_admin_edit.php:118
|
234 |
+
msgid "Widget options saved."
|
235 |
+
msgstr "Indstillinger for widget gemt."
|
236 |
+
|
237 |
+
#: ../dynwid_admin_edit.php:119 ../dynwid_admin_edit.php:194
|
238 |
+
msgid "Return"
|
239 |
+
msgstr "Tilbage"
|
240 |
+
|
241 |
+
#: ../dynwid_admin_edit.php:119
|
242 |
+
msgid "to Dynamic Widgets overview"
|
243 |
+
msgstr "til overblikket over Dynamic Widgets"
|
244 |
+
|
245 |
+
#: ../dynwid_admin_edit.php:123
|
246 |
+
msgid "Dynamic does not mean static hiding of a widget."
|
247 |
+
msgstr "Dynamisk betyder ikke at en widget skjules statisk."
|
248 |
+
|
249 |
+
#: ../dynwid_admin_edit.php:123
|
250 |
+
msgid "Hint"
|
251 |
+
msgstr "Tip"
|
252 |
+
|
253 |
+
#: ../dynwid_admin_edit.php:123
|
254 |
+
msgid "Remove"
|
255 |
+
msgstr "Fjern"
|
256 |
+
|
257 |
+
#: ../dynwid_admin_edit.php:123
|
258 |
+
msgid "the widget from the sidebar"
|
259 |
+
msgstr "denne widget fra sidepanelet"
|
260 |
+
|
261 |
+
#: ../dynwid_admin_edit.php:128
|
262 |
+
msgid "The From date can't be later than the To date."
|
263 |
+
msgstr "Datoen Fra kan kan ikke være senere end datoen Til."
|
264 |
+
|
265 |
+
#: ../dynwid_admin_edit.php:134
|
266 |
+
msgid "Edit options for the widget"
|
267 |
+
msgstr "Rediger indstillinger for denne widget"
|
268 |
+
|
269 |
+
#: ../dynwid_admin_edit.php:138
|
270 |
+
msgid "Quick settings"
|
271 |
+
msgstr "Hurtige indstillinger"
|
272 |
+
|
273 |
+
#: ../dynwid_admin_edit.php:140
|
274 |
+
msgid "Set all options to 'No'"
|
275 |
+
msgstr "Sæt alle indstillinger til 'Nej'"
|
276 |
+
|
277 |
+
#: ../dynwid_admin_edit.php:140
|
278 |
+
msgid "Except overriding options like Role, Date, etc."
|
279 |
+
msgstr "Undtagen indstillinger som Rolle, Dato, osv."
|
280 |
+
|
281 |
+
# WordPress MO
|
282 |
+
#: ../dynwid_admin_edit.php:190 ../dynwid_admin_overview.php:140
|
283 |
+
msgid "Save"
|
284 |
+
msgstr "Gem"
|
285 |
+
|
286 |
+
#: ../dynwid_admin_overview.php:20
|
287 |
+
msgid "Method set to"
|
288 |
+
msgstr "Metode indstillet til"
|
289 |
+
|
290 |
+
#: ../dynwid_admin_overview.php:28
|
291 |
+
msgid "Page limit set to"
|
292 |
+
msgstr "Sidebegrænsning indstillet til"
|
293 |
+
|
294 |
+
#: ../dynwid_admin_overview.php:31
|
295 |
+
msgid "ERROR"
|
296 |
+
msgstr "FEJL"
|
297 |
+
|
298 |
+
#: ../dynwid_admin_overview.php:31
|
299 |
+
msgid "is not a valid limit."
|
300 |
+
msgstr "er ikke en valid grænse."
|
301 |
+
|
302 |
+
#: ../dynwid_admin_overview.php:40
|
303 |
+
msgid "Widget options have been reset to default."
|
304 |
+
msgstr "Standardindstillingerne for denne widget er blevet valgt."
|
305 |
+
|
306 |
+
#: ../dynwid_admin_overview.php:48
|
307 |
+
msgid "Inactive Widgets"
|
308 |
+
msgstr "Inaktive widgets"
|
309 |
+
|
310 |
+
#: ../dynwid_admin_overview.php:71 ../dynwid_admin_overview.php:74
|
311 |
+
msgid "Edit this widget options"
|
312 |
+
msgstr "Rediger indstillingerne for denne widget"
|
313 |
+
|
314 |
+
# WordPress MO
|
315 |
+
#: ../dynwid_admin_overview.php:74
|
316 |
+
msgid "Edit"
|
317 |
+
msgstr "Rediger"
|
318 |
+
|
319 |
+
#: ../dynwid_admin_overview.php:79
|
320 |
+
msgid "Reset widget to Static"
|
321 |
+
msgstr "Gør denne widget Statisk"
|
322 |
+
|
323 |
+
#: ../dynwid_admin_overview.php:100
|
324 |
+
msgid "Advanced"
|
325 |
+
msgstr "Avanceret"
|
326 |
+
|
327 |
+
#: ../dynwid_admin_overview.php:105
|
328 |
+
msgid "wp_head() check:"
|
329 |
+
msgstr "wp_head() check:"
|
330 |
+
|
331 |
+
#: ../dynwid_admin_overview.php:110
|
332 |
+
msgid "wp_head() is NOT called (at the most obvious place)"
|
333 |
+
msgstr "wp_head() kaldes IKKE (det mest oplagte sted)"
|
334 |
+
|
335 |
+
#: ../dynwid_admin_overview.php:114
|
336 |
+
msgid "wp_head() is called"
|
337 |
+
msgstr "wp_head() kaldes"
|
338 |
+
|
339 |
+
#: ../dynwid_admin_overview.php:118
|
340 |
+
msgid "Unable to determine if wp_head() is called"
|
341 |
+
msgstr "Kan ikke afgøre om wp_head() kaldes"
|
342 |
+
|
343 |
+
#: ../dynwid_admin_overview.php:130
|
344 |
+
msgid "Use 'OLD' method"
|
345 |
+
msgstr "Brug 'GAMMEL' metode"
|
346 |
+
|
347 |
+
#: ../dynwid_admin_overview.php:140
|
348 |
+
msgid "Page limit"
|
349 |
+
msgstr "Sidebegrænsning"
|
350 |
+
|
351 |
+
#: ../dynwid_admin_overview.php:142
|
352 |
+
msgid ""
|
353 |
+
"The page limit sets the limit of number of pages to prevent a timeout when "
|
354 |
+
"building the hierarchical tree. When the number of pages is above this "
|
355 |
+
"limit, a flat list will be displayed which is less time consuming."
|
356 |
+
msgstr ""
|
357 |
+
"Sidebegrænsningen forebygger en timeout når det hierarkiske træ bygges. Når "
|
358 |
+
"antallet af sider er over denne grænse vises en flad liste da dette er "
|
359 |
+
"hurtigere."
|
360 |
+
|
361 |
+
#: ../dynwid_admin_overview.php:144
|
362 |
+
msgid "Currently the number of pages is"
|
363 |
+
msgstr "I øjeblikket er antallet af sider"
|
364 |
+
|
365 |
+
#: ../dynwid_admin_overview.php:151
|
366 |
+
msgid ""
|
367 |
+
"When upgrading to WPEC 3.8 the Dynamic Widgets rules for WPEC are lost. The "
|
368 |
+
"WPEC dump gives you an overview of the rules before the update."
|
369 |
+
msgstr ""
|
370 |
+
"Ved opgradering til WPEC 3.8 mistes Dynamic Widget reglerne for WPEC. Et "
|
371 |
+
"WPEC dump giver dig et overblik over reglerne før opdateringen."
|
372 |
+
|
373 |
+
#: ../dynwid_admin_overview.php:152
|
374 |
+
msgid "WARNING"
|
375 |
+
msgstr "ADVARSEL"
|
376 |
+
|
377 |
+
#: ../dynwid_admin_overview.php:152
|
378 |
+
msgid ""
|
379 |
+
"This only works correct when you did not add or change anything in the "
|
380 |
+
"Dynamic Widgets rules."
|
381 |
+
msgstr ""
|
382 |
+
"Dette virker kun korrekt hvis du ikke tilføjede eller ændrede noget i "
|
383 |
+
"Dynamic Widget reglerne."
|
384 |
+
|
385 |
+
#: ../dynwid_admin_overview.php:157
|
386 |
+
msgid "Create WPEC dump"
|
387 |
+
msgstr "Opret WPEC dump"
|
388 |
+
|
389 |
+
#: ../dynwid_admin_overview.php:164
|
390 |
+
msgid ""
|
391 |
+
"For debugging purposes it is possible you're asked to create a dump. Click "
|
392 |
+
"the 'Create dump' button and save the text file."
|
393 |
+
msgstr ""
|
394 |
+
"Du bliver muligvis bedt om at oprette et dump til brug ved debugging. Klik "
|
395 |
+
"på 'Opret dump' knappen og gem tekstfilen."
|
396 |
+
|
397 |
+
#: ../dynwid_admin_overview.php:169
|
398 |
+
msgid "Create dump"
|
399 |
+
msgstr "Opret dump"
|
400 |
+
|
401 |
+
#: ../dynwid_admin_overview.php:176
|
402 |
+
msgid ""
|
403 |
+
"When you deceide not to use this plugin anymore (sorry to hear that!). You "
|
404 |
+
"can cleanup all settings and data related to this plugin by clicking on the "
|
405 |
+
"'Uninstall' button. This process is irreversible! After the cleanup the "
|
406 |
+
"plugin is deactivated automaticly."
|
407 |
+
msgstr ""
|
408 |
+
"Når du vælger ikke at bruge denne plugin mere (ked af at høre det!). Du kan "
|
409 |
+
"rydde op i alle indstillinger og data relateret til denne plugin ved at "
|
410 |
+
"klikke på 'Afinstaller' knappen. Denne proces er irreversibel! Efter "
|
411 |
+
"oprydningen deaktiveres denne plugin automatisk."
|
412 |
+
|
413 |
+
#: ../dynwid_admin_overview.php:181
|
414 |
+
msgid "Uninstall"
|
415 |
+
msgstr "Afinstaller"
|
416 |
+
|
417 |
+
#: ../mods/search_module.php:13
|
418 |
+
msgid "Search Page"
|
419 |
+
msgstr "Søgeside"
|
420 |
+
|
421 |
+
#: ../mods/search_module.php:15
|
422 |
+
msgid "Show widget on the search page?"
|
423 |
+
msgstr "Vis widget på søgesiden?"
|
424 |
+
|
425 |
+
# WordPress MO
|
426 |
+
#: ../mods/search_module.php:17 ../mods/qtranslate_module.php:31
|
427 |
+
#: ../mods/category_module.php:21 ../mods/single_module.php:69
|
428 |
+
#: ../mods/attachment_module.php:16 ../mods/error_module.php:16
|
429 |
+
#: ../mods/frontpage_module.php:24
|
430 |
+
msgid "Yes"
|
431 |
+
msgstr "Ja"
|
432 |
+
|
433 |
+
# WordPress MO
|
434 |
+
#: ../mods/search_module.php:18 ../mods/qtranslate_module.php:32
|
435 |
+
#: ../mods/category_module.php:22 ../mods/single_module.php:70
|
436 |
+
#: ../mods/attachment_module.php:17 ../mods/error_module.php:17
|
437 |
+
#: ../mods/frontpage_module.php:25
|
438 |
+
msgid "No"
|
439 |
+
msgstr "Nej"
|
440 |
+
|
441 |
+
#: ../mods/qtranslate_module.php:22
|
442 |
+
msgid "Language (QT)"
|
443 |
+
msgstr "Sprog (QT)"
|
444 |
+
|
445 |
+
#: ../mods/qtranslate_module.php:24
|
446 |
+
msgid "Show widget default on all languages?"
|
447 |
+
msgstr "Vis widget standard på alle sprog?"
|
448 |
+
|
449 |
+
#: ../mods/qtranslate_module.php:24 ../mods/single_module.php:60
|
450 |
+
#: ../mods/single_module.php:74
|
451 |
+
msgid "Click to toggle info"
|
452 |
+
msgstr "Klik for at skifte info"
|
453 |
+
|
454 |
+
#: ../mods/qtranslate_module.php:28
|
455 |
+
msgid "Using this option can override all other options."
|
456 |
+
msgstr "Brug af denne indstilling kan tilsidesætte alle andre indstillinger."
|
457 |
+
|
458 |
+
#: ../mods/qtranslate_module.php:33
|
459 |
+
msgid "Except the languages"
|
460 |
+
msgstr "Undtagen sprogene"
|
461 |
+
|
462 |
+
#: ../mods/category_module.php:19
|
463 |
+
msgid "Show widget default on category pages?"
|
464 |
+
msgstr "Vis widget standard på kategorisiderne?"
|
465 |
+
|
466 |
+
#: ../mods/category_module.php:23
|
467 |
+
msgid "Except the categories"
|
468 |
+
msgstr "Undtagen kategorierne"
|
469 |
+
|
470 |
+
#: ../mods/single_module.php:52
|
471 |
+
msgid "Posts: "
|
472 |
+
msgstr "Indlæg:"
|
473 |
+
|
474 |
+
#: ../mods/single_module.php:52
|
475 |
+
msgid "Tags: "
|
476 |
+
msgstr "Tags:"
|
477 |
+
|
478 |
+
#: ../mods/single_module.php:60
|
479 |
+
msgid "Show widget default on single posts?"
|
480 |
+
msgstr "Vis widget standard på indlæg?"
|
481 |
+
|
482 |
+
#: ../mods/single_module.php:64
|
483 |
+
msgid ""
|
484 |
+
"When you use an author <b>AND</b> a category exception, both rules in the "
|
485 |
+
"condition must be met. Otherwise the exception rule won't be applied.\n"
|
486 |
+
" \t\t\t\t\tIf you want to use the rules in a logical OR condition. Add the "
|
487 |
+
"same widget again and apply the other rule to that.\n"
|
488 |
+
" \t\t\t\t\t"
|
489 |
+
msgstr ""
|
490 |
+
"Når du bruger en forfatter- <b>OG</b> en kategoriundtagelse, skal begge "
|
491 |
+
"regler i betingelsen være opfyldt. Ellers anvendes undtagelsesreglen ikke.\n"
|
492 |
+
" \t\t\t\t\tHvis du vil anvende reglerne i en logisk ELLER betingelse. "
|
493 |
+
"Tilføj den samme widget igen og tilføj den anden regel til den.\n"
|
494 |
+
" \t\t\t\t\t"
|
495 |
+
|
496 |
+
#: ../mods/single_module.php:73
|
497 |
+
msgid "Make exception rule available to individual posts and tags."
|
498 |
+
msgstr "Gør undtagelsesregel tilgængelig for individuelle indlæg og tags."
|
499 |
+
|
500 |
+
#: ../mods/single_module.php:77
|
501 |
+
msgid ""
|
502 |
+
"When you enable this option, you have the ability to apply the exception "
|
503 |
+
"rule for <em>Single Posts</em> to tags and individual posts.\n"
|
504 |
+
"\t\t\t\t\t\tYou can set the exception rule for tags in the single Edit Tag "
|
505 |
+
"Panel (go to <a href=\"edit-tags.php?taxonomy=post_tag\">Post Tags</a>,\n"
|
506 |
+
"\t\t\t\t\t\tclick a tag), For individual posts in the <a href=\"post-new.php"
|
507 |
+
"\">New</a> or <a href=\"edit.php\">Edit</a> Posts panel.\n"
|
508 |
+
"\t\t\t\t\t\tException rules for tags and individual posts in any combination "
|
509 |
+
"work independantly, but will always be counted as one exception.<br />\n"
|
510 |
+
" \t\t\t\t\tPlease note when exception rules are set for Author and/or "
|
511 |
+
"Category, these will be removed.\n"
|
512 |
+
" \t\t\t\t"
|
513 |
+
msgstr ""
|
514 |
+
"Når du slår denne indstilling til, har du mulighed for at anvende "
|
515 |
+
"undtagelsesreglen for <em>Enkelte indlæg</em> på tags og individuelle "
|
516 |
+
"indlæg.\n"
|
517 |
+
"\t\t\t\t\t\tDu kan indstille undtagelsesreglen for tags på Rediger Tags "
|
518 |
+
"panelet (gå til <a href=\"edit-tags.php?taxonomy=post_tag\">Indlæg tags</"
|
519 |
+
"a>,\n"
|
520 |
+
"\t\t\t\t\t\tklik på et tag), For individuelle indlæg i <a href=\"post-new.php"
|
521 |
+
"\">New</a> or <a href=\"edit.php\">Rediger</a> Indlæg panelet.\n"
|
522 |
+
"\t\t\t\t\t\tUndtagelsesregler for tags og individuelle indlæg i enhver "
|
523 |
+
"kombination fungerer uafhængigt, men vil altid tælle som en undtagelse.<br /"
|
524 |
+
">\n"
|
525 |
+
" \t\t\t\t\tBemærk at når undtagelsesregler er indstillet for Forfatter og/"
|
526 |
+
"eller Kategori vil disse blive fjernet.\n"
|
527 |
+
" \t\t\t\t"
|
528 |
+
|
529 |
+
#: ../mods/single_module.php:94
|
530 |
+
msgid "Except the posts by author"
|
531 |
+
msgstr "Undtagen indlæg af forfatter"
|
532 |
+
|
533 |
+
#: ../mods/single_module.php:105
|
534 |
+
msgid "Except the posts in category"
|
535 |
+
msgstr "Undtagen indlæg i kategorien"
|
536 |
+
|
537 |
+
#: ../mods/attachment_module.php:14
|
538 |
+
msgid "Show widget on attachment pages?"
|
539 |
+
msgstr "Vis widget på vedhæftningssider?"
|
540 |
+
|
541 |
+
#: ../mods/error_module.php:14
|
542 |
+
msgid "Show widget on the error page?"
|
543 |
+
msgstr "Vis widget på fejlsiden?"
|
544 |
+
|
545 |
+
#: ../mods/frontpage_module.php:15
|
546 |
+
msgid "Show widget on the front page?"
|
547 |
+
msgstr "Vis widget på forsiden?"
|
548 |
+
|
549 |
+
#: ../mods/frontpage_module.php:19
|
550 |
+
msgid ""
|
551 |
+
"This option only applies when your front page is set to display your latest "
|
552 |
+
"posts (See Settings > Reading).<br />\n"
|
553 |
+
"\t\t\t\t\t\tWhen a static page is set, you can use the options for the "
|
554 |
+
"static pages below.\n"
|
555 |
+
"\t\t\t\t\t"
|
556 |
+
msgstr ""
|
557 |
+
"Denne indstilling anvendes kun når din forside er indstillet til at vise "
|
558 |
+
"dine seneste indlæg (Se Indstillinger > Læsning).<br />\n"
|
559 |
+
"\t\t\t\t\t\tNår en statisk side anvendes, kan du bruge indstillingerne for "
|
560 |
+
"den statiske side herunder.\n"
|
561 |
+
"\t\t\t\t\t"
|
562 |
+
|
563 |
+
#: ../mods/archive_module.php:14
|
564 |
+
msgid "Show widget on archive pages?"
|
565 |
+
msgstr "Vis widget på arkivsider?"
|
566 |
+
|
567 |
+
#: ../mods/archive_module.php:18
|
568 |
+
msgid "This option does not include Author and Category Pages."
|
569 |
+
msgstr "Denne indstilling omfatter ikke Forfatter- og Kategorisider."
|
570 |
+
|
571 |
+
#: ../mods/pages_module.php:14
|
572 |
+
msgid "The static page module failed to load."
|
573 |
+
msgstr "Modulet for statiske sider kunne ikke indlæses."
|
574 |
+
|
575 |
+
#: ../mods/pages_module.php:16
|
576 |
+
msgid ""
|
577 |
+
"This is probably because building the hierarchical tree took too long.<br /"
|
578 |
+
">Decrease the limit of number of pages in the advanced settings."
|
579 |
+
msgstr ""
|
580 |
+
"Det er formentlig fordi opbygningen af det hierarkiske træ tog for lang tid."
|
581 |
+
"<br />Reducer sidebegrænsningen under avancerede indstillinger."
|
582 |
+
|
583 |
+
#: ../mods/pages_module.php:43 ../mods/custompost_module.php:46
|
584 |
+
#: ../mods/custompost_module.php:89
|
585 |
+
msgid "All childs"
|
586 |
+
msgstr "Alle børn"
|
587 |
+
|
588 |
+
#: ../mods/pages_module.php:83 ../mods/pages_module.php:86
|
589 |
+
msgid "Front page"
|
590 |
+
msgstr "Forside"
|
591 |
+
|
592 |
+
#: ../mods/pages_module.php:83 ../mods/pages_module.php:88
|
593 |
+
msgid "Posts page"
|
594 |
+
msgstr "Indlægsside"
|
595 |
+
|
596 |
+
#: ../mods/pages_module.php:94
|
597 |
+
msgid "Show widget default on static pages?"
|
598 |
+
msgstr "Vis widget som standard på statiske sider?"
|
599 |
+
|
600 |
+
#: ../mods/pages_module.php:101
|
601 |
+
msgid ""
|
602 |
+
"Checking the \"All childs\" option, makes the exception rule apply\n"
|
603 |
+
"\t\t\t\t\tto the parent and all items under it in all levels. Also future "
|
604 |
+
"items\n"
|
605 |
+
"\t\t\t\t\tunder the parent. It's not possible to apply an exception rule to\n"
|
606 |
+
"\t\t\t\t\t\"All childs\" without the parent."
|
607 |
+
msgstr ""
|
608 |
+
"Vælges \"Alle børn\" indstillingen, anvender undtagelsesreglen\n"
|
609 |
+
"\t\t\t\t\tpå forælderen og alle børn under den på alle niveauer. Også "
|
610 |
+
"fremtidige børn\n"
|
611 |
+
"\t\t\t\t\tunder forælderen. Det er ikke muligt at anvende en "
|
612 |
+
"undtagelsesregel på\n"
|
613 |
+
"\t\t\t\t\t\"Alle børn\" uden forælderen."
|
614 |
+
|
615 |
+
#: ../mods/pages_module.php:106
|
616 |
+
msgid ""
|
617 |
+
"Unfortunately the childs-function has been disabled\n"
|
618 |
+
"\t\t\t\t\tbecause you have more than the limit of pages."
|
619 |
+
msgstr ""
|
620 |
+
"Desværre er børn-funktionen slået fra\n"
|
621 |
+
"\t\t\t\t\tfordi du har flere sider end sidebegrænsningen."
|
622 |
+
|
623 |
+
#: ../mods/pages_module.php:116
|
624 |
+
msgid "Except the page(s)"
|
625 |
+
msgstr "Undtagen siden/siderne"
|
626 |
+
|
627 |
+
#: ../mods/author_module.php:24
|
628 |
+
msgid "Show widget default on author pages?"
|
629 |
+
msgstr "Vis widget som standard på forfattersider?"
|
630 |
+
|
631 |
+
#: ../mods/author_module.php:28
|
632 |
+
msgid "Except the author(s)"
|
633 |
+
msgstr "Undtagen forfatteren/forfatterne"
|
634 |
+
|
635 |
+
#: ../mods/bp_module.php:24
|
636 |
+
msgid "Show widget default on BuddyPress pages?"
|
637 |
+
msgstr "Vis widget som standard på BuddyPresssider?"
|
638 |
+
|
639 |
+
#: ../mods/bp_module.php:28
|
640 |
+
msgid "Except on the components pages"
|
641 |
+
msgstr "Undtagen på komponentsiderne"
|
642 |
+
|
643 |
+
#: ../mods/bp_module.php:47
|
644 |
+
msgid "Forum Index"
|
645 |
+
msgstr "Forumoversigt"
|
646 |
+
|
647 |
+
#: ../mods/bp_module.php:48
|
648 |
+
msgid "Forum Topics"
|
649 |
+
msgstr "Forumemner"
|
650 |
+
|
651 |
+
#: ../mods/bp_module.php:49
|
652 |
+
msgid "Members Index"
|
653 |
+
msgstr "Medlemsoversigt"
|
654 |
+
|
655 |
+
#: ../mods/bp_module.php:54
|
656 |
+
msgid "Show widget default on BuddyPress Group pages?"
|
657 |
+
msgstr "Vis widget som standard på BuddyPress gruppesider?"
|
658 |
+
|
659 |
+
#: ../mods/bp_module.php:61
|
660 |
+
msgid "Except in the groups"
|
661 |
+
msgstr "Undtagen i grupperne"
|
662 |
+
|
663 |
+
#: ../mods/bp_module.php:70
|
664 |
+
msgid "Except in the group pages"
|
665 |
+
msgstr "Undtagen på gruppesiderne"
|
666 |
+
|
667 |
+
# WordPress MO
|
668 |
+
#: ../mods/role_module.php:10
|
669 |
+
msgid "Anonymous"
|
670 |
+
msgstr "Anonym"
|
671 |
+
|
672 |
+
#: ../mods/role_module.php:25
|
673 |
+
msgid "Show widget to everybody?"
|
674 |
+
msgstr "Vis widget for alle"
|
675 |
+
|
676 |
+
#: ../mods/role_module.php:29
|
677 |
+
msgid ""
|
678 |
+
"Setting options by role is very powerfull. It can override all other options!"
|
679 |
+
"<br />\n"
|
680 |
+
"\t\t\t\t\t\tUsers who are not logged in, get the <em>Anonymous</em> role."
|
681 |
+
msgstr ""
|
682 |
+
"Indstillinger for roller er meget kraftige. De kan tilsidesætte alle andre "
|
683 |
+
"indstillinger!<br />\n"
|
684 |
+
"\t\t\t\t\t\tBrugere der ikke er logget ind, tildeles rollen <em>Anonym</em>."
|
685 |
+
|
686 |
+
#: ../mods/role_module.php:34
|
687 |
+
msgid "only to"
|
688 |
+
msgstr "kun for"
|
689 |
+
|
690 |
+
#: ../mods/useragent_module.php:10
|
691 |
+
msgid "(and other Gecko based)"
|
692 |
+
msgstr "(og andre Gecko baserede)"
|
693 |
+
|
694 |
+
#: ../mods/useragent_module.php:17
|
695 |
+
msgid "Other / Unknown / Not detected"
|
696 |
+
msgstr "Andre / Ukendt / Ikke fundet"
|
697 |
+
|
698 |
+
#: ../mods/useragent_module.php:28
|
699 |
+
msgid "Show widget with all browsers?"
|
700 |
+
msgstr "Vis widget i alle browsere?"
|
701 |
+
|
702 |
+
#: ../mods/useragent_module.php:32
|
703 |
+
msgid "Browser detection is never 100% accurate."
|
704 |
+
msgstr "Browserdetektion er aldrig 100% præcis."
|
705 |
+
|
706 |
+
#: ../mods/useragent_module.php:37
|
707 |
+
msgid "Except the browser(s)"
|
708 |
+
msgstr "Undtagen browserne"
|
709 |
+
|
710 |
+
#: ../mods/tpl_module.php:23
|
711 |
+
msgid "Show widget on every template?"
|
712 |
+
msgstr "Vis widget på alle templates?"
|
713 |
+
|
714 |
+
#: ../mods/tpl_module.php:27
|
715 |
+
msgid ""
|
716 |
+
"This options takes precedence above other options like Pages and/or Single "
|
717 |
+
"Posts."
|
718 |
+
msgstr ""
|
719 |
+
"Denne indstilling går forud for indstillinger som Sider og / eller Enkelte "
|
720 |
+
"indlæg."
|
721 |
+
|
722 |
+
#: ../mods/tpl_module.php:32
|
723 |
+
msgid "Except the templates"
|
724 |
+
msgstr "Undtagen templates"
|
725 |
+
|
726 |
+
#: ../mods/tpl_module.php:34
|
727 |
+
msgid "Default Template"
|
728 |
+
msgstr "Standardtemplate"
|
729 |
+
|
730 |
+
#: ../mods/custompost_module.php:126 ../mods/custompost_module.php:216
|
731 |
+
msgid "Show widget on"
|
732 |
+
msgstr "Vis widget på"
|
733 |
+
|
734 |
+
#: ../mods/custompost_module.php:136
|
735 |
+
msgid ""
|
736 |
+
"All exceptions (Titles and Taxonomies) work in a logical OR condition. That "
|
737 |
+
"means when one of the exceptions is met, the exception rule is applied."
|
738 |
+
msgstr ""
|
739 |
+
"Alle undtagelser (Titler og Taksonomier) virker i en logisk ELLER "
|
740 |
+
"betingelse. Det betyder at når en af undtagelserne er opfyldt anvendes "
|
741 |
+
"undtagelsesreglen."
|
742 |
+
|
743 |
+
#: ../mods/custompost_module.php:143 ../mods/custompost_module.php:178
|
744 |
+
#: ../mods/custompost_module.php:227 ../mods/custompost_module.php:260
|
745 |
+
msgid "Except for"
|
746 |
+
msgstr "Undtagen"
|
747 |
+
|
748 |
+
#: ../mods/custompost_module.php:254
|
749 |
+
msgid "Show widget on Custom Post Type Archives"
|
750 |
+
msgstr "Vis widget på arkiver for egne indlægstyper"
|
751 |
+
|
752 |
+
#: ../mods/date_module.php:32
|
753 |
+
msgid "Show widget always?"
|
754 |
+
msgstr "Vis altid widget?"
|
755 |
+
|
756 |
+
#: ../mods/date_module.php:36
|
757 |
+
msgid ""
|
758 |
+
"Next to the above role option, the date option is also very powerfull. "
|
759 |
+
"You've been warned!"
|
760 |
+
msgstr ""
|
761 |
+
"Udover rolleindstillingen ovenfor, er datoindstillingen også meget kraftig. "
|
762 |
+
"Du er advaret!"
|
763 |
+
|
764 |
+
#: ../mods/date_module.php:37
|
765 |
+
msgid ""
|
766 |
+
"Enter dates in the YYYY-MM-DD format. You can also use the calender by "
|
767 |
+
"clicking on the"
|
768 |
+
msgstr ""
|
769 |
+
"Anfør datoer i formatet ÅÅÅÅ-MM-DD. Du kan også bruge kalenderen ved at "
|
770 |
+
"klikke på"
|
771 |
+
|
772 |
+
#: ../mods/date_module.php:38
|
773 |
+
msgid ""
|
774 |
+
"Date ranges can be made by entering a From AND a To date<br />\n"
|
775 |
+
" \t\t\t\t\tWhen you want the widget to be displayed from a specific date, "
|
776 |
+
"only fill in the From date<br />\n"
|
777 |
+
" \t\t\t\t\tWhen you want the widget to stop displaying on a specific date, "
|
778 |
+
"only fill in the To date.\n"
|
779 |
+
" \t\t\t\t"
|
780 |
+
msgstr ""
|
781 |
+
"Datointervaller kan laves ved at anføre en Fra OG en Til dato<br />\n"
|
782 |
+
" \t\t\t\t\tNår du ønsker at en widget vises fra en bestemt dato, udfyld kun "
|
783 |
+
"Fra datoen<br />\n"
|
784 |
+
" \t\t\t\t\tNår du ønsker at en widget ikke vises efter en bestemt dato, "
|
785 |
+
"udfyld kun en Til dato.\n"
|
786 |
+
" \t\t\t\t"
|
787 |
+
|
788 |
+
#: ../mods/date_module.php:45
|
789 |
+
msgid "only"
|
790 |
+
msgstr "kun"
|
791 |
+
|
792 |
+
#: ../mods/date_module.php:49
|
793 |
+
msgid "From"
|
794 |
+
msgstr "Fra"
|
795 |
+
|
796 |
+
#: ../mods/date_module.php:53
|
797 |
+
msgid "To"
|
798 |
+
msgstr "Til"
|
799 |
+
|
800 |
+
#: ../mods/wpec_module.php:25
|
801 |
+
msgid "Show widget default on WPSC categories?"
|
802 |
+
msgstr "Vis widget som standard på WPSC kategorier?"
|
803 |
+
|
804 |
+
#: ../mods/wpml_module.php:21
|
805 |
+
msgid "Language (WPML)"
|
806 |
+
msgstr "Sprog (WPML)"
|
807 |
+
|
808 |
+
#: ../mods/pods_module.php:11
|
809 |
+
msgid "Except the Pods pages"
|
810 |
+
msgstr "Undtagen Podssiderne"
|
811 |
+
|
812 |
+
#: ../mods/pods_module.php:14
|
813 |
+
msgid "Show widget default on Pods pages?"
|
814 |
+
msgstr "Vis widget som standard på Podssider?"
|
mods/pods_module.php
CHANGED
@@ -19,12 +19,16 @@
|
|
19 |
parent::admin();
|
20 |
|
21 |
if ( self::detect() ) {
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
24 |
|
25 |
$list = array();
|
26 |
foreach ( $results as $row ) {
|
27 |
-
$list[$row
|
28 |
}
|
29 |
|
30 |
self::mkGUI(self::$type, self::$option[self::$name], self::$question, FALSE, self::$except, $list);
|
@@ -35,7 +39,7 @@
|
|
35 |
$DW = &$GLOBALS['DW'];
|
36 |
$DW->pods = FALSE;
|
37 |
|
38 |
-
if ( defined('
|
39 |
if ( $update ) {
|
40 |
$DW->pods = TRUE;
|
41 |
}
|
@@ -45,15 +49,26 @@
|
|
45 |
}
|
46 |
|
47 |
public static function is_dw_pods_page($id) {
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
}
|
|
|
57 |
return FALSE;
|
58 |
}
|
59 |
}
|
19 |
parent::admin();
|
20 |
|
21 |
if ( self::detect() ) {
|
22 |
+
if ( function_exists('pods_api') ) {
|
23 |
+
$results = pods_api()->load_pages();
|
24 |
+
} else {
|
25 |
+
$query = "SELECT id, uri AS name FROM " . $wpdb->prefix . "pod_pages ORDER BY uri";
|
26 |
+
$results = $wpdb->get_results($query, ARRAY_A);
|
27 |
+
}
|
28 |
|
29 |
$list = array();
|
30 |
foreach ( $results as $row ) {
|
31 |
+
$list[ $row['id'] ] = $row['name'];
|
32 |
}
|
33 |
|
34 |
self::mkGUI(self::$type, self::$option[self::$name], self::$question, FALSE, self::$except, $list);
|
39 |
$DW = &$GLOBALS['DW'];
|
40 |
$DW->pods = FALSE;
|
41 |
|
42 |
+
if ( defined('PODS_DIR') ) {
|
43 |
if ( $update ) {
|
44 |
$DW->pods = TRUE;
|
45 |
}
|
49 |
}
|
50 |
|
51 |
public static function is_dw_pods_page($id) {
|
52 |
+
if ( function_exists('pods_api') ) {
|
53 |
+
$pod_page = pods_api()->load_page( array( 'id' => $id ) );
|
54 |
+
$pod_page_name = (! empty($pod_page) ) ? $pod_page['name'] : '';
|
55 |
+
|
56 |
+
if (! empty($pod_page_name) && is_pod_page($pod_page_name) ) {
|
57 |
+
return TRUE;
|
58 |
+
}
|
59 |
+
} else {
|
60 |
+
global $pod_page_exists;
|
61 |
+
|
62 |
+
if ( is_int($id) ) {
|
63 |
+
$id = array($id);
|
64 |
+
}
|
65 |
+
|
66 |
+
if ( in_array($pod_page_exists['id'], $id) ) {
|
67 |
+
return TRUE;
|
68 |
+
}
|
69 |
+
|
70 |
}
|
71 |
+
|
72 |
return FALSE;
|
73 |
}
|
74 |
}
|
mods/wpml_module.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* WPML Module
|
4 |
*
|
5 |
-
* @version $Id: wpml_module.php
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
@@ -78,7 +78,7 @@
|
|
78 |
if ( is_array($lang) ) {
|
79 |
$id = $lang[$language_code];
|
80 |
} else {
|
81 |
-
$id =
|
82 |
}
|
83 |
|
84 |
return $id;
|
2 |
/**
|
3 |
* WPML Module
|
4 |
*
|
5 |
+
* @version $Id: wpml_module.php 626578 2012-11-18 09:27:57Z qurl $
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
78 |
if ( is_array($lang) ) {
|
79 |
$id = $lang[$language_code];
|
80 |
} else {
|
81 |
+
$id = $content_id;
|
82 |
}
|
83 |
|
84 |
return $id;
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Qurl
|
|
3 |
Donate link: http://www.qurl.nl/dynamic-widgets/donate/
|
4 |
Tags: widget, widgets, dynamic, sidebar, custom, rules, logic, admin, condition, conditional tags, hide, show, wpml, qtranslate, wpec, buddypress, pods, bbpress
|
5 |
Requires at least: 3.0.0
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 1.5.
|
8 |
|
9 |
Dynamic Widgets gives you full control on which pages your widgets will appear. It lets you dynamicly show or hide widgets on WordPress pages.
|
10 |
|
@@ -84,6 +84,7 @@ It is very hard to continue development and support for this plugin without cont
|
|
84 |
- Brazil Portuguese (pt_BR) by [Renato Tavares](http://www.renatotavares.com)
|
85 |
- Chech (cs_CZ) by [Pavel Bilek](http://chcistranky.eu/zdarma/)
|
86 |
- Chinese (Simplified) (zh_CN) by Hanolex
|
|
|
87 |
- French (fr_FR) by Alexis Nomine
|
88 |
- German (de_DE) by Daniel Bihler
|
89 |
- Lithuanian (lt_LT) by Liudas Ali�auskas
|
@@ -175,7 +176,18 @@ Please check the [Issue Tracker](http://www.qurl.nl/dynamic-widgets/issue-tracke
|
|
175 |
|
176 |
== Changelog ==
|
177 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
= Version 1.5.3 =
|
|
|
179 |
* Added URL support.
|
180 |
* Added Day of the week support.
|
181 |
* Added Weeknumber support.
|
@@ -390,9 +402,9 @@ This version has 3 bugs fixed.
|
|
390 |
|
391 |
== Upgrade Notice ==
|
392 |
|
393 |
-
= 1.5.
|
394 |
|
395 |
-
This version has
|
396 |
|
397 |
== Screenshots ==
|
398 |
|
3 |
Donate link: http://www.qurl.nl/dynamic-widgets/donate/
|
4 |
Tags: widget, widgets, dynamic, sidebar, custom, rules, logic, admin, condition, conditional tags, hide, show, wpml, qtranslate, wpec, buddypress, pods, bbpress
|
5 |
Requires at least: 3.0.0
|
6 |
+
Tested up to: 3.5
|
7 |
+
Stable tag: 1.5.4
|
8 |
|
9 |
Dynamic Widgets gives you full control on which pages your widgets will appear. It lets you dynamicly show or hide widgets on WordPress pages.
|
10 |
|
84 |
- Brazil Portuguese (pt_BR) by [Renato Tavares](http://www.renatotavares.com)
|
85 |
- Chech (cs_CZ) by [Pavel Bilek](http://chcistranky.eu/zdarma/)
|
86 |
- Chinese (Simplified) (zh_CN) by Hanolex
|
87 |
+
- Danish (da_DK) by Morten Nalholm
|
88 |
- French (fr_FR) by Alexis Nomine
|
89 |
- German (de_DE) by Daniel Bihler
|
90 |
- Lithuanian (lt_LT) by Liudas Ali�auskas
|
176 |
|
177 |
== Changelog ==
|
178 |
|
179 |
+
= Version 1.5.4 =
|
180 |
+
|
181 |
+
* Added Danish language file (locale: da_DK) - Tak Morten!
|
182 |
+
* Bugfix for WPML postID finder reports 0 when WPML language is unknown.
|
183 |
+
* Bugfix for Single Post Rules are lost when autosave of single post is made
|
184 |
+
* Bugfix for Warning: Missing argument 2 for wpdb::prepare().
|
185 |
+
* Upgraded the Pods module to support Pods version 2. - Thanks Scott for the help!
|
186 |
+
* Widend the widget_id space because of looooong widget names.
|
187 |
+
* Moved to WordPress time in stead of server time for the date/time based modules.
|
188 |
+
|
189 |
= Version 1.5.3 =
|
190 |
+
|
191 |
* Added URL support.
|
192 |
* Added Day of the week support.
|
193 |
* Added Weeknumber support.
|
402 |
|
403 |
== Upgrade Notice ==
|
404 |
|
405 |
+
= 1.5.4 =
|
406 |
|
407 |
+
This version has 3 bugs fixed. Upgrade before you upgrade to WordPress 3.5.
|
408 |
|
409 |
== Screenshots ==
|
410 |
|