Version Description
This version has 1 feature added, 1 language added and 3 bugs fixed.
=
Download this release
Release Info
Developer | qurl |
Plugin | Dynamic Widgets |
Version | 1.5.7 |
Comparing to | |
See all releases |
Code changes from version 1.5.6 to 1.5.7
- classes/dwmodule_class.php +22 -19
- classes/dynwid_class.php +10 -7
- dynamic-widgets.php +20 -8
- dynwid_admin_edit.php +7 -1
- dynwid_admin_save.php +4 -1
- dynwid_worker.php +9 -2
- locale/dynamic-widgets-sr_RS.mo +0 -0
- locale/dynamic-widgets-sr_RS.po +835 -0
- mods/custompost_module.php +3 -3
- mods/mobile_module.php +14 -0
- mods/pages_module.php +5 -5
- readme.txt +23 -9
classes/dwmodule_class.php
CHANGED
@@ -290,28 +290,31 @@
|
|
290 |
$dwtype = $name . '-childs';
|
291 |
|
292 |
// Workaround for lazy taxonomy tree
|
293 |
-
if (
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
303 |
}
|
304 |
-
|
305 |
-
$
|
306 |
-
|
307 |
-
|
308 |
-
$t = $_POST[$act];
|
309 |
-
$t_childs = $_POST[$child_act];
|
310 |
}
|
311 |
|
312 |
-
if ( isset($_POST[$act]) && count($t) > 0 && isset($_POST[$child_act]) && count($t_childs) > 0 ) {
|
313 |
-
$DW->addChilds($widget_id, $dwtype, $_POST[$name], $t, $t_childs);
|
314 |
-
}
|
315 |
}
|
316 |
|
317 |
/**
|
290 |
$dwtype = $name . '-childs';
|
291 |
|
292 |
// Workaround for lazy taxonomy tree
|
293 |
+
if ( isset($_POST[$act]) && isset($_POST[$child_act]) ) {
|
294 |
+
if (! is_array($_POST[$act]) ) {
|
295 |
+
|
296 |
+
if ( substr($_POST[$act], 0, 1) == ',' ) {
|
297 |
+
$_POST[$act] = substr($_POST[$act], 1);
|
298 |
+
}
|
299 |
+
$t = explode(',', $_POST[$act]);
|
300 |
+
$t = array_unique($t);
|
301 |
+
|
302 |
+
if ( substr($_POST[$child_act], 0, 1) == ',' ) {
|
303 |
+
$_POST[$child_act] = substr($_POST[$child_act], 1);
|
304 |
+
}
|
305 |
+
$t_childs = explode(',', $_POST[$child_act]);
|
306 |
+
$t_childs = array_unique($t_childs);
|
307 |
+
|
308 |
+
} else {
|
309 |
+
$t = $_POST[$act];
|
310 |
+
$t_childs = $_POST[$child_act];
|
311 |
}
|
312 |
+
|
313 |
+
if ( count($t) > 0 && count($t_childs) > 0 ) {
|
314 |
+
$DW->addChilds($widget_id, $dwtype, $_POST[$name], $t, $t_childs);
|
315 |
+
}
|
|
|
|
|
316 |
}
|
317 |
|
|
|
|
|
|
|
318 |
}
|
319 |
|
320 |
/**
|
classes/dynwid_class.php
CHANGED
@@ -122,7 +122,7 @@
|
|
122 |
$query = "INSERT INTO " . $this->dbtable . "
|
123 |
(widget_id, maintype, name, value)
|
124 |
VALUES
|
125 |
-
('" .
|
126 |
$this->wpdb->query($query);
|
127 |
}
|
128 |
}
|
@@ -140,14 +140,14 @@
|
|
140 |
$query = "INSERT INTO " . $this->dbtable . "
|
141 |
(widget_id, maintype, name, value)
|
142 |
VALUES
|
143 |
-
('" .
|
144 |
$this->wpdb->query($query);
|
145 |
}
|
146 |
|
147 |
$query = "INSERT INTO " . $this->dbtable . "
|
148 |
(widget_id, maintype, name, value)
|
149 |
VALUES
|
150 |
-
('" .
|
151 |
$this->wpdb->query($query);
|
152 |
}
|
153 |
|
@@ -159,7 +159,7 @@
|
|
159 |
* @param string $default Default setting
|
160 |
* @param array $act Options
|
161 |
*/
|
162 |
-
public function addMultiOption($widget_id, $maintype, $default, $act) {
|
163 |
$insert = TRUE;
|
164 |
|
165 |
if ( $default == 'no' ) {
|
@@ -194,14 +194,14 @@
|
|
194 |
$query = "INSERT INTO " . $this->dbtable . "
|
195 |
(widget_id, maintype, name, value)
|
196 |
VALUES
|
197 |
-
('" .
|
198 |
$this->wpdb->query($query);
|
199 |
}
|
200 |
foreach ( $act as $option ) {
|
201 |
$query = "INSERT INTO " . $this->dbtable . "
|
202 |
(widget_id, maintype, name, value)
|
203 |
VALUES
|
204 |
-
('" .
|
205 |
$this->wpdb->query($query);
|
206 |
}
|
207 |
}
|
@@ -217,7 +217,7 @@
|
|
217 |
$query = "INSERT INTO " . $this->dbtable . "
|
218 |
(widget_id, maintype, value)
|
219 |
VALUES
|
220 |
-
('" .
|
221 |
$this->wpdb->query($query);
|
222 |
}
|
223 |
|
@@ -466,6 +466,7 @@
|
|
466 |
DWModule::registerOption(DW_Day::$option);
|
467 |
DWModule::registerOption(DW_E404::$option);
|
468 |
DWModule::registerOption(DW_Front_page::$option);
|
|
|
469 |
DWModule::registerOption(DW_Page::$option);
|
470 |
DWModule::registerOption(DW_Pods::$option);
|
471 |
DWModule::registerOption(DW_QT::$option);
|
@@ -732,6 +733,7 @@
|
|
732 |
include_once(DW_MODULES . 'role_module.php');
|
733 |
include_once(DW_MODULES . 'tpl_module.php');
|
734 |
include_once(DW_MODULES . 'url_module.php');
|
|
|
735 |
DW_Browser::checkOverrule('DW_Browser');
|
736 |
DW_Date::checkOverrule('DW_Date');
|
737 |
DW_Day::checkOverrule('DW_Day');
|
@@ -739,6 +741,7 @@
|
|
739 |
DW_Role::checkOverrule('DW_Role');
|
740 |
DW_Tpl::checkOverrule('DW_Tpl');
|
741 |
DW_URL::checkOverrule('DW_URL');
|
|
|
742 |
|
743 |
// WPML Plugin Support
|
744 |
include_once(DW_MODULES . 'wpml_module.php');
|
122 |
$query = "INSERT INTO " . $this->dbtable . "
|
123 |
(widget_id, maintype, name, value)
|
124 |
VALUES
|
125 |
+
('" . esc_sql($widget_id) . "', 'date', '" . esc_sql($name) . "', '" . esc_sql($date) . "')";
|
126 |
$this->wpdb->query($query);
|
127 |
}
|
128 |
}
|
140 |
$query = "INSERT INTO " . $this->dbtable . "
|
141 |
(widget_id, maintype, name, value)
|
142 |
VALUES
|
143 |
+
('" . esc_sql($widget_id) . "', 'url', 'default', '0')";
|
144 |
$this->wpdb->query($query);
|
145 |
}
|
146 |
|
147 |
$query = "INSERT INTO " . $this->dbtable . "
|
148 |
(widget_id, maintype, name, value)
|
149 |
VALUES
|
150 |
+
('" . esc_sql($widget_id) . "', 'url', 'url', '" . $value . "')";
|
151 |
$this->wpdb->query($query);
|
152 |
}
|
153 |
|
159 |
* @param string $default Default setting
|
160 |
* @param array $act Options
|
161 |
*/
|
162 |
+
public function addMultiOption($widget_id, $maintype, $default, $act = array()) {
|
163 |
$insert = TRUE;
|
164 |
|
165 |
if ( $default == 'no' ) {
|
194 |
$query = "INSERT INTO " . $this->dbtable . "
|
195 |
(widget_id, maintype, name, value)
|
196 |
VALUES
|
197 |
+
('" . esc_sql($widget_id) . "', '" . esc_sql($maintype) . "', 'default', '" . esc_sql($opt_default) . "')";
|
198 |
$this->wpdb->query($query);
|
199 |
}
|
200 |
foreach ( $act as $option ) {
|
201 |
$query = "INSERT INTO " . $this->dbtable . "
|
202 |
(widget_id, maintype, name, value)
|
203 |
VALUES
|
204 |
+
('" . esc_sql($widget_id) . "', '" . esc_sql($maintype) . "', '" . esc_sql($option) . "', '" . esc_sql($opt_act) . "')";
|
205 |
$this->wpdb->query($query);
|
206 |
}
|
207 |
}
|
217 |
$query = "INSERT INTO " . $this->dbtable . "
|
218 |
(widget_id, maintype, value)
|
219 |
VALUES
|
220 |
+
('" . esc_sql($widget_id) . "', '" . esc_sql($maintype) . "', '" . esc_sql($value) . "')";
|
221 |
$this->wpdb->query($query);
|
222 |
}
|
223 |
|
466 |
DWModule::registerOption(DW_Day::$option);
|
467 |
DWModule::registerOption(DW_E404::$option);
|
468 |
DWModule::registerOption(DW_Front_page::$option);
|
469 |
+
DWModule::registerOption(DW_Mobile::$option);
|
470 |
DWModule::registerOption(DW_Page::$option);
|
471 |
DWModule::registerOption(DW_Pods::$option);
|
472 |
DWModule::registerOption(DW_QT::$option);
|
733 |
include_once(DW_MODULES . 'role_module.php');
|
734 |
include_once(DW_MODULES . 'tpl_module.php');
|
735 |
include_once(DW_MODULES . 'url_module.php');
|
736 |
+
include_once(DW_MODULES . 'mobile_module.php');
|
737 |
DW_Browser::checkOverrule('DW_Browser');
|
738 |
DW_Date::checkOverrule('DW_Date');
|
739 |
DW_Day::checkOverrule('DW_Day');
|
741 |
DW_Role::checkOverrule('DW_Role');
|
742 |
DW_Tpl::checkOverrule('DW_Tpl');
|
743 |
DW_URL::checkOverrule('DW_URL');
|
744 |
+
DW_URL::checkOverrule('DW_Mobile');
|
745 |
|
746 |
// WPML Plugin Support
|
747 |
include_once(DW_MODULES . 'wpml_module.php');
|
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,21 +15,23 @@
|
|
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.
|
22 |
* Thanks to Daniel Bihler for the contribution of the German (de_DE) language files.
|
23 |
* Thanks to Eduardo Larequi for the contribution of the Spanish (es_ES) language files and several L10N fixes.
|
24 |
* Thanks to Hanolex for the contribution of the Chinese (Simplified) (zh_CN) language files.
|
25 |
-
* Thanks to Liudas
|
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 |
-
* Thanks to
|
32 |
* Thanks to Rick Anderson from Build Your Own Business Website (http://www.byobwebsite.com/) for the financial contribution to implement the AJAX lazy load taxonomy tree and the modules filter
|
|
|
|
|
33 |
*
|
34 |
*
|
35 |
* WPML Plugin support via API
|
@@ -74,7 +76,7 @@
|
|
74 |
define('DW_PLUGIN', dirname(__FILE__) . '/' . 'plugin/');
|
75 |
define('DW_TIME_LIMIT', 86400); // 1 day
|
76 |
define('DW_URL_AUTHOR', 'http://www.qurl.nl');
|
77 |
-
define('DW_VERSION', '1.5.6');
|
78 |
define('DW_WPML_API', '/inc/wpml-api.php'); // WPML Plugin support - API file relative to ICL_PLUGIN_PATH
|
79 |
define('DW_WPML_ICON', 'img/wpml_icon.png'); // WPML Plugin support - WPML icon
|
80 |
|
@@ -541,6 +543,15 @@
|
|
541 |
return $dw_help;
|
542 |
}
|
543 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
544 |
/**
|
545 |
* dynwid_disabled_page() Error boxes to show in admin when DW can not be initialised due to not meeting sysreq.
|
546 |
* @since 1.5b1
|
@@ -555,7 +566,6 @@
|
|
555 |
echo '<div class="error" id="message"><p>';
|
556 |
_e('<b>ERROR</b> Your host is running a too low version of PHP. Dynamic Widgets needs at least version', DW_L10N_DOMAIN);
|
557 |
echo ' ' . DW_MINIMUM_PHP . '.';
|
558 |
-
echo '<br />See <a href="' . DW_URL_AUTHOR . '/question/my-hoster-is-still-using-php4-so-what/">this page</a> why.';
|
559 |
echo '</p></div>';
|
560 |
}
|
561 |
|
@@ -629,8 +639,10 @@
|
|
629 |
}
|
630 |
}
|
631 |
} else {
|
632 |
-
|
633 |
-
|
|
|
|
|
634 |
}
|
635 |
}
|
636 |
|
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.7
|
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 864301 2014-02-24 20:50:40Z 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.
|
22 |
* Thanks to Daniel Bihler for the contribution of the German (de_DE) language files.
|
23 |
* Thanks to Eduardo Larequi for the contribution of the Spanish (es_ES) language files and several L10N fixes.
|
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 |
+
* Thanks to Sébastien Christy for the help finding a PHP bug preventing the exposure of class properties while in the right scope.
|
32 |
* Thanks to Rick Anderson from Build Your Own Business Website (http://www.byobwebsite.com/) for the financial contribution to implement the AJAX lazy load taxonomy tree and the modules filter
|
33 |
+
* Thanks to Advancis (http://advancis.net/) for the help and financial contribution to find and fix a WPML category bug.
|
34 |
+
* Thanks to Borisa Djuraskovic for the contribution of the Serbo-Croatian (sr_RS) languages files.
|
35 |
*
|
36 |
*
|
37 |
* WPML Plugin support via API
|
76 |
define('DW_PLUGIN', dirname(__FILE__) . '/' . 'plugin/');
|
77 |
define('DW_TIME_LIMIT', 86400); // 1 day
|
78 |
define('DW_URL_AUTHOR', 'http://www.qurl.nl');
|
79 |
+
define('DW_VERSION', '1.5.6.1');
|
80 |
define('DW_WPML_API', '/inc/wpml-api.php'); // WPML Plugin support - API file relative to ICL_PLUGIN_PATH
|
81 |
define('DW_WPML_ICON', 'img/wpml_icon.png'); // WPML Plugin support - WPML icon
|
82 |
|
543 |
return $dw_help;
|
544 |
}
|
545 |
|
546 |
+
/**
|
547 |
+
* dynwid_disabled_add_admin_menu() Menu entry for disabled page.
|
548 |
+
* @since 1.5.6.1
|
549 |
+
*
|
550 |
+
*/
|
551 |
+
function dynwid_disabled_add_admin_menu() {
|
552 |
+
add_submenu_page('themes.php', __('Dynamic Widgets', DW_L10N_DOMAIN), __('Dynamic Widgets', DW_L10N_DOMAIN), 'edit_theme_options', 'dynwid-config', 'dynwid_disabled_page');
|
553 |
+
}
|
554 |
+
|
555 |
/**
|
556 |
* dynwid_disabled_page() Error boxes to show in admin when DW can not be initialised due to not meeting sysreq.
|
557 |
* @since 1.5b1
|
566 |
echo '<div class="error" id="message"><p>';
|
567 |
_e('<b>ERROR</b> Your host is running a too low version of PHP. Dynamic Widgets needs at least version', DW_L10N_DOMAIN);
|
568 |
echo ' ' . DW_MINIMUM_PHP . '.';
|
|
|
569 |
echo '</p></div>';
|
570 |
}
|
571 |
|
639 |
}
|
640 |
}
|
641 |
} else {
|
642 |
+
if ( is_admin() ) {
|
643 |
+
// Show errors in the admin page
|
644 |
+
add_action('admin_menu', 'dynwid_disabled_add_admin_menu');
|
645 |
+
}
|
646 |
}
|
647 |
}
|
648 |
|
dynwid_admin_edit.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* dynwid_admin_edit.php - Options settings
|
4 |
*
|
5 |
-
* @version $Id: dynwid_admin_edit.php
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
@@ -39,6 +39,7 @@ label {
|
|
39 |
border-width : 1px;
|
40 |
border-color : #E3E3E3;
|
41 |
padding : 5px;
|
|
|
42 |
}
|
43 |
|
44 |
.infotext {
|
@@ -376,6 +377,11 @@ div.settingbox {
|
|
376 |
$DW_Browser->admin();
|
377 |
}
|
378 |
|
|
|
|
|
|
|
|
|
|
|
379 |
if ( array_key_exists('tpl', $DW->dwoptions) ) {
|
380 |
$DW_Tpl = new DW_Tpl();
|
381 |
$DW_Tpl->admin();
|
2 |
/**
|
3 |
* dynwid_admin_edit.php - Options settings
|
4 |
*
|
5 |
+
* @version $Id: dynwid_admin_edit.php 864301 2014-02-24 20:50:40Z qurl $
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
39 |
border-width : 1px;
|
40 |
border-color : #E3E3E3;
|
41 |
padding : 5px;
|
42 |
+
padding-right: 15px; /* for RTL? */
|
43 |
}
|
44 |
|
45 |
.infotext {
|
377 |
$DW_Browser->admin();
|
378 |
}
|
379 |
|
380 |
+
if ( array_key_exists('mobile', $DW->dwoptions) ) {
|
381 |
+
$DW_Mobile = new DW_Mobile();
|
382 |
+
$DW_Mobile->admin();
|
383 |
+
}
|
384 |
+
|
385 |
if ( array_key_exists('tpl', $DW->dwoptions) ) {
|
386 |
$DW_Tpl = new DW_Tpl();
|
387 |
$DW_Tpl->admin();
|
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 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
@@ -127,6 +127,9 @@
|
|
127 |
|
128 |
// Browser
|
129 |
DWModule::save('browser', 'complex');
|
|
|
|
|
|
|
130 |
|
131 |
// Template
|
132 |
DWModule::save('tpl', 'complex');
|
2 |
/**
|
3 |
* dynwid_admin_save.php - Saving options to the database
|
4 |
*
|
5 |
+
* @version $Id: dynwid_admin_save.php 863974 2014-02-24 10:43:41Z qurl $
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
127 |
|
128 |
// Browser
|
129 |
DWModule::save('browser', 'complex');
|
130 |
+
|
131 |
+
// Mobile
|
132 |
+
DWModule::save('mobile');
|
133 |
|
134 |
// Template
|
135 |
DWModule::save('tpl', 'complex');
|
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 |
|
@@ -166,10 +166,12 @@
|
|
166 |
}
|
167 |
unset($qt_tmp);
|
168 |
|
169 |
-
// Browser, Template, Day, Week and URL
|
170 |
foreach ( $opt as $condition ) {
|
171 |
if ( $condition->maintype == 'browser' && $condition->name == $DW->useragent ) {
|
172 |
(bool) $browser_tmp = $condition->value;
|
|
|
|
|
173 |
} else if ( $condition->maintype == 'tpl' && $condition->name == $DW->template ) {
|
174 |
(bool) $tpl_tmp = $condition->value;
|
175 |
} else if ( $condition->maintype == 'day' && $condition->name == date('N', current_time('timestamp', 0)) ) {
|
@@ -222,6 +224,11 @@
|
|
222 |
$browser = $browser_tmp;
|
223 |
}
|
224 |
unset($browser_tmp);
|
|
|
|
|
|
|
|
|
|
|
225 |
|
226 |
if ( isset($tpl_tmp) && $tpl_tmp != $tpl ) {
|
227 |
$DW->message('Exception triggered for template, sets display to ' . ( ($tpl_tmp) ? 'TRUE' : 'FALSE' ) . ' (rule ETPL1)');
|
2 |
/**
|
3 |
* dynwid_worker.php - The worker does the actual work.
|
4 |
*
|
5 |
+
* @version $Id: dynwid_worker.php 863974 2014-02-24 10:43:41Z qurl $
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
166 |
}
|
167 |
unset($qt_tmp);
|
168 |
|
169 |
+
// Browser, Mobile device, Template, Day, Week and URL
|
170 |
foreach ( $opt as $condition ) {
|
171 |
if ( $condition->maintype == 'browser' && $condition->name == $DW->useragent ) {
|
172 |
(bool) $browser_tmp = $condition->value;
|
173 |
+
} else if ( $condition->maintype == 'mobile' && wp_is_mobile() ) {
|
174 |
+
(bool) $mobile_tmp = $condition->value;
|
175 |
} else if ( $condition->maintype == 'tpl' && $condition->name == $DW->template ) {
|
176 |
(bool) $tpl_tmp = $condition->value;
|
177 |
} else if ( $condition->maintype == 'day' && $condition->name == date('N', current_time('timestamp', 0)) ) {
|
224 |
$browser = $browser_tmp;
|
225 |
}
|
226 |
unset($browser_tmp);
|
227 |
+
|
228 |
+
if ( isset($mobile_tmp) && $mobile_tmp != $mobile ) {
|
229 |
+
$DW->message('Exception triggered for mobile device, sets display to ' . ( ($browser_tmp) ? 'TRUE' : 'FALSE' ) . ' (rule EMD1)');
|
230 |
+
$mobile = $mobile_tmp;
|
231 |
+
}
|
232 |
|
233 |
if ( isset($tpl_tmp) && $tpl_tmp != $tpl ) {
|
234 |
$DW->message('Exception triggered for template, sets display to ' . ( ($tpl_tmp) ? 'TRUE' : 'FALSE' ) . ' (rule ETPL1)');
|
locale/dynamic-widgets-sr_RS.mo
ADDED
Binary file
|
locale/dynamic-widgets-sr_RS.po
ADDED
@@ -0,0 +1,835 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 2013-10-30 16:43+0100\n"
|
7 |
+
"Last-Translator: Jacco Drabbe <jacco@qurl.nl>\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 |
+
"Language: fr_FR\n"
|
17 |
+
"X-Generator: Poedit 1.5.7\n"
|
18 |
+
"X-Poedit-SearchPath-0: ..\n"
|
19 |
+
|
20 |
+
# WordPress MO
|
21 |
+
#: ../dynwid_class_php4.php:164 ../dynwid_class.php:149
|
22 |
+
msgid "Role"
|
23 |
+
msgstr "Uloga"
|
24 |
+
|
25 |
+
# WordPress MO
|
26 |
+
#: ../dynwid_class_php4.php:165 ../dynwid_class.php:150
|
27 |
+
msgid "Date"
|
28 |
+
msgstr "Datum"
|
29 |
+
|
30 |
+
#: ../dynwid_class_php4.php:166 ../dynwid_class.php:151
|
31 |
+
msgid "Browser"
|
32 |
+
msgstr "Pretraživač"
|
33 |
+
|
34 |
+
#: ../dynwid_class_php4.php:167 ../dynwid_class.php:152
|
35 |
+
msgid "Templates"
|
36 |
+
msgstr "Templates"
|
37 |
+
|
38 |
+
#: ../dynwid_class_php4.php:168 ../dynwid_class_php4.php:169
|
39 |
+
#: ../dynwid_class.php:153 ../dynwid_class.php:154
|
40 |
+
msgid "Language"
|
41 |
+
msgstr "Jezik"
|
42 |
+
|
43 |
+
#: ../dynwid_class_php4.php:170 ../dynwid_class.php:155
|
44 |
+
#: ../mods/frontpage_module.php:13
|
45 |
+
msgid "Front Page"
|
46 |
+
msgstr "Prednja stranica"
|
47 |
+
|
48 |
+
#: ../dynwid_class_php4.php:171 ../dynwid_class.php:156
|
49 |
+
#: ../mods/single_module.php:58
|
50 |
+
msgid "Single Posts"
|
51 |
+
msgstr "Jedna stranica"
|
52 |
+
|
53 |
+
#: ../dynwid_class_php4.php:172 ../dynwid_class.php:157
|
54 |
+
#: ../mods/attachment_module.php:12
|
55 |
+
msgid "Attachments"
|
56 |
+
msgstr "Attachments"
|
57 |
+
|
58 |
+
# WordPress MO
|
59 |
+
#: ../dynwid_class_php4.php:173 ../dynwid_class.php:158
|
60 |
+
msgid "Pages"
|
61 |
+
msgstr "Stranice"
|
62 |
+
|
63 |
+
#: ../dynwid_class_php4.php:174 ../dynwid_class.php:159
|
64 |
+
msgid "Author Pages"
|
65 |
+
msgstr "Autorske stranice"
|
66 |
+
|
67 |
+
#: ../dynwid_class_php4.php:175 ../dynwid_class.php:160
|
68 |
+
#: ../mods/category_module.php:17
|
69 |
+
msgid "Category Pages"
|
70 |
+
msgstr "Stranice sa kategorijom"
|
71 |
+
|
72 |
+
#: ../dynwid_class_php4.php:176 ../dynwid_class.php:161
|
73 |
+
msgid "Archive Pages"
|
74 |
+
msgstr "Stranice sa arhivom"
|
75 |
+
|
76 |
+
#: ../dynwid_class_php4.php:177 ../dynwid_class.php:162
|
77 |
+
#: ../mods/error_module.php:12
|
78 |
+
msgid "Error Page"
|
79 |
+
msgstr "Stranica sa greškom"
|
80 |
+
|
81 |
+
#: ../dynwid_class_php4.php:178 ../dynwid_class.php:163
|
82 |
+
msgid "Search page"
|
83 |
+
msgstr "Pretraga strance"
|
84 |
+
|
85 |
+
#: ../dynwid_class_php4.php:179 ../dynwid_class.php:164
|
86 |
+
msgid "WPSC Category"
|
87 |
+
msgstr "WPSC Category"
|
88 |
+
|
89 |
+
#: ../dynwid_class_php4.php:180 ../dynwid_class.php:165
|
90 |
+
#, fuzzy
|
91 |
+
msgid "Custom Post Type Archives"
|
92 |
+
msgstr "Types de contenu personnalisés"
|
93 |
+
|
94 |
+
#: ../dynwid_class_php4.php:181 ../dynwid_class.php:166
|
95 |
+
msgid "BuddyPress"
|
96 |
+
msgstr "BuddyPress"
|
97 |
+
|
98 |
+
#: ../dynwid_class_php4.php:182 ../dynwid_class.php:167
|
99 |
+
msgid "BuddyPress Groups"
|
100 |
+
msgstr "BuddyPress Groups"
|
101 |
+
|
102 |
+
#: ../dynwid_admin.php:19 ../dynamic-widgets.php:152
|
103 |
+
#: ../dynamic-widgets.php:175 ../dynamic-widgets.php:281
|
104 |
+
#: ../dynamic-widgets.php:680
|
105 |
+
#, fuzzy
|
106 |
+
msgid "Dynamic Widgets"
|
107 |
+
msgstr "à la vue générale Dynamic Widget"
|
108 |
+
|
109 |
+
#: ../dynwid_admin.php:26
|
110 |
+
msgid ""
|
111 |
+
"<b>WARNING</b> STRICT sql mode in effect. Dynamic Widgets might not work "
|
112 |
+
"correctly. Please disable STRICT sql mode."
|
113 |
+
msgstr ""
|
114 |
+
"<b>WARNING</b>STRICT sql mode radi. Dynamic Widgets možda neće ispravno "
|
115 |
+
"raditi. Molim vas onemogućite STRICT sql mode."
|
116 |
+
|
117 |
+
#: ../dynwid_admin.php:46
|
118 |
+
msgid "Oops! Something went terrible wrong. Please reinstall Dynamic Widgets."
|
119 |
+
msgstr "UPS! Nešto nije kako treba! Molim vas reinstalirajte Dynamic Widgets."
|
120 |
+
|
121 |
+
#: ../dynwid_admin.php:54 ../dynwid_admin_overview.php:20
|
122 |
+
msgid "OLD"
|
123 |
+
msgstr "STARO"
|
124 |
+
|
125 |
+
#: ../dynwid_admin.php:54 ../dynwid_admin_overview.php:20
|
126 |
+
msgid "FILTER"
|
127 |
+
msgstr "FILTER"
|
128 |
+
|
129 |
+
#: ../dynamic-widgets.php:160
|
130 |
+
msgid "Widgets are always displayed by default"
|
131 |
+
msgstr "Widgeti su uvek prikazani po defaultu"
|
132 |
+
|
133 |
+
#: ../dynamic-widgets.php:160
|
134 |
+
msgid "The '<em>Yes</em>' selection"
|
135 |
+
msgstr "'<em>Yes</em>' selekcija"
|
136 |
+
|
137 |
+
#: ../dynamic-widgets.php:161
|
138 |
+
msgid "Click on the"
|
139 |
+
msgstr "Klik na"
|
140 |
+
|
141 |
+
#: ../dynamic-widgets.php:161
|
142 |
+
msgid "next to the options for more info"
|
143 |
+
msgstr "pored opcija za više info"
|
144 |
+
|
145 |
+
#: ../dynamic-widgets.php:162
|
146 |
+
#, fuzzy
|
147 |
+
msgid "The"
|
148 |
+
msgstr "Le"
|
149 |
+
|
150 |
+
#: ../dynamic-widgets.php:162
|
151 |
+
msgid "next to a section means it has options set."
|
152 |
+
msgstr "pored sekcije znači da ima set opcija."
|
153 |
+
|
154 |
+
#: ../dynamic-widgets.php:164 ../dynamic-widgets.php:165
|
155 |
+
#: ../dynamic-widgets.php:168 ../dynamic-widgets.php:682
|
156 |
+
#: ../dynwid_admin_overview.php:85
|
157 |
+
msgid "Static"
|
158 |
+
msgstr "Statično"
|
159 |
+
|
160 |
+
#: ../dynamic-widgets.php:164 ../dynamic-widgets.php:166
|
161 |
+
#: ../dynamic-widgets.php:682 ../dynwid_admin_overview.php:85
|
162 |
+
msgid "Dynamic"
|
163 |
+
msgstr "Dinamično"
|
164 |
+
|
165 |
+
#: ../dynamic-widgets.php:165
|
166 |
+
msgid "When a widget is"
|
167 |
+
msgstr "Kada je widget"
|
168 |
+
|
169 |
+
#: ../dynamic-widgets.php:165
|
170 |
+
msgid ""
|
171 |
+
"the widget uses the WordPress default. In other words, it's shown everywhere"
|
172 |
+
msgstr "widget koristi WordPress default. Drugim rečima vidljiv je svuda."
|
173 |
+
|
174 |
+
#: ../dynamic-widgets.php:166
|
175 |
+
msgid "A widget is"
|
176 |
+
msgstr "Widget je"
|
177 |
+
|
178 |
+
#: ../dynamic-widgets.php:166
|
179 |
+
msgid "when there are options set, i.e. not showing on the front page."
|
180 |
+
msgstr "kada postoji set opcija, npr. nije prikazano na rednjoj strani"
|
181 |
+
|
182 |
+
#: ../dynamic-widgets.php:167 ../dynwid_admin_overview.php:79
|
183 |
+
msgid "Reset"
|
184 |
+
msgstr "Resetuj"
|
185 |
+
|
186 |
+
#: ../dynamic-widgets.php:168
|
187 |
+
msgid "Reset makes the widget return to"
|
188 |
+
msgstr "Resetovanje tera widgeta da se vrati na"
|
189 |
+
|
190 |
+
# WordPress MO
|
191 |
+
#: ../dynamic-widgets.php:234
|
192 |
+
msgid "Settings"
|
193 |
+
msgstr "Postavke"
|
194 |
+
|
195 |
+
#: ../dynamic-widgets.php:248
|
196 |
+
msgid "Apply exception rule to widgets:"
|
197 |
+
msgstr "Pimeni pravilo za izuzetak na widgete:"
|
198 |
+
|
199 |
+
#: ../dynamic-widgets.php:264 ../dynamic-widgets.php:298
|
200 |
+
msgid "Off"
|
201 |
+
msgstr "Ugašeno"
|
202 |
+
|
203 |
+
#: ../dynamic-widgets.php:264 ../dynamic-widgets.php:298
|
204 |
+
msgid "On"
|
205 |
+
msgstr "Upaljeno"
|
206 |
+
|
207 |
+
#: ../dynamic-widgets.php:265
|
208 |
+
msgid " (Default: "
|
209 |
+
msgstr " (Default: "
|
210 |
+
|
211 |
+
#: ../dynamic-widgets.php:299
|
212 |
+
msgid "Default"
|
213 |
+
msgstr "Default"
|
214 |
+
|
215 |
+
#: ../dynamic-widgets.php:359
|
216 |
+
#, fuzzy
|
217 |
+
msgid "Dynamic Widgets Options saved"
|
218 |
+
msgstr "Options du widget sauvegardées."
|
219 |
+
|
220 |
+
#: ../dynamic-widgets.php:360
|
221 |
+
msgid "for"
|
222 |
+
msgstr "za"
|
223 |
+
|
224 |
+
#: ../dynamic-widgets.php:681
|
225 |
+
#, fuzzy
|
226 |
+
msgid "Edit Dynamic Widgets Options"
|
227 |
+
msgstr "Modifier les réglages de ce widget"
|
228 |
+
|
229 |
+
#: ../dynamic-widgets.php:706
|
230 |
+
msgid "and"
|
231 |
+
msgstr "i"
|
232 |
+
|
233 |
+
#: ../dynamic-widgets.php:712
|
234 |
+
msgid "Options set for"
|
235 |
+
msgstr "Namesti opcije za"
|
236 |
+
|
237 |
+
#: ../dynamic-widgets.php:712
|
238 |
+
msgid "Option set for"
|
239 |
+
msgstr "Namesti opcije za"
|
240 |
+
|
241 |
+
#: ../dynwid_admin_edit.php:118
|
242 |
+
msgid "Widget options saved."
|
243 |
+
msgstr "Widget opcije sačuvane."
|
244 |
+
|
245 |
+
#: ../dynwid_admin_edit.php:119 ../dynwid_admin_edit.php:194
|
246 |
+
msgid "Return"
|
247 |
+
msgstr "Povratak"
|
248 |
+
|
249 |
+
#: ../dynwid_admin_edit.php:119
|
250 |
+
msgid "to Dynamic Widgets overview"
|
251 |
+
msgstr "za Dynamic Widgets pregled"
|
252 |
+
|
253 |
+
#: ../dynwid_admin_edit.php:123
|
254 |
+
msgid "Dynamic does not mean static hiding of a widget."
|
255 |
+
msgstr "Dynamic ne znači statično skrivanje widget."
|
256 |
+
|
257 |
+
#: ../dynwid_admin_edit.php:123
|
258 |
+
msgid "Hint"
|
259 |
+
msgstr "Nagoveštaj"
|
260 |
+
|
261 |
+
#: ../dynwid_admin_edit.php:123
|
262 |
+
msgid "Remove"
|
263 |
+
msgstr "Ukloni"
|
264 |
+
|
265 |
+
#: ../dynwid_admin_edit.php:123
|
266 |
+
msgid "the widget from the sidebar"
|
267 |
+
msgstr "widget sa sidebara"
|
268 |
+
|
269 |
+
#: ../dynwid_admin_edit.php:128
|
270 |
+
msgid "The From date can't be later than the To date."
|
271 |
+
msgstr "Forma sa datumom ne sme da bude kasnije od Do datuma"
|
272 |
+
|
273 |
+
#: ../dynwid_admin_edit.php:134
|
274 |
+
#, fuzzy
|
275 |
+
msgid "Edit options for the widget"
|
276 |
+
msgstr "Modifier les réglages de"
|
277 |
+
|
278 |
+
#: ../dynwid_admin_edit.php:138
|
279 |
+
msgid "Quick settings"
|
280 |
+
msgstr "Brze postavke"
|
281 |
+
|
282 |
+
#: ../dynwid_admin_edit.php:140
|
283 |
+
msgid "Set all options to 'No'"
|
284 |
+
msgstr "Namesti sve opcije na NE"
|
285 |
+
|
286 |
+
#: ../dynwid_admin_edit.php:140
|
287 |
+
msgid "Except overriding options like Role, Date, etc."
|
288 |
+
msgstr "Osim opcije po kojima može opet da se piše Uloga, Datum itd"
|
289 |
+
|
290 |
+
# WordPress MO
|
291 |
+
#: ../dynwid_admin_edit.php:190 ../dynwid_admin_overview.php:140
|
292 |
+
msgid "Save"
|
293 |
+
msgstr "Sačuvaj"
|
294 |
+
|
295 |
+
#: ../dynwid_admin_overview.php:20
|
296 |
+
msgid "Method set to"
|
297 |
+
msgstr "Metod postavi na"
|
298 |
+
|
299 |
+
#: ../dynwid_admin_overview.php:28
|
300 |
+
msgid "Page limit set to"
|
301 |
+
msgstr "Limit stranice namesti na"
|
302 |
+
|
303 |
+
#: ../dynwid_admin_overview.php:31
|
304 |
+
msgid "ERROR"
|
305 |
+
msgstr "GREŠKA"
|
306 |
+
|
307 |
+
#: ../dynwid_admin_overview.php:31
|
308 |
+
msgid "is not a valid limit."
|
309 |
+
msgstr "nije validan limit"
|
310 |
+
|
311 |
+
#: ../dynwid_admin_overview.php:40
|
312 |
+
msgid "Widget options have been reset to default."
|
313 |
+
msgstr "Widget opcije su resetovane na default."
|
314 |
+
|
315 |
+
#: ../dynwid_admin_overview.php:48
|
316 |
+
msgid "Inactive Widgets"
|
317 |
+
msgstr "Neaktivni widgeti"
|
318 |
+
|
319 |
+
#: ../dynwid_admin_overview.php:71 ../dynwid_admin_overview.php:74
|
320 |
+
msgid "Edit this widget options"
|
321 |
+
msgstr "Edituj ovu opciju widgeta"
|
322 |
+
|
323 |
+
# WordPress MO
|
324 |
+
#: ../dynwid_admin_overview.php:74
|
325 |
+
msgid "Edit"
|
326 |
+
msgstr "Edituj"
|
327 |
+
|
328 |
+
#: ../dynwid_admin_overview.php:79
|
329 |
+
msgid "Reset widget to Static"
|
330 |
+
msgstr "Resetuj widget na Static"
|
331 |
+
|
332 |
+
#: ../dynwid_admin_overview.php:100
|
333 |
+
msgid "Advanced"
|
334 |
+
msgstr "Unapredjeno"
|
335 |
+
|
336 |
+
#: ../dynwid_admin_overview.php:105
|
337 |
+
msgid "wp_head() check:"
|
338 |
+
msgstr "wp_head() proveri:"
|
339 |
+
|
340 |
+
#: ../dynwid_admin_overview.php:110
|
341 |
+
msgid "wp_head() is NOT called (at the most obvious place)"
|
342 |
+
msgstr "wp_head() NIJE pozvan(na najočiglenije mesto)"
|
343 |
+
|
344 |
+
#: ../dynwid_admin_overview.php:114
|
345 |
+
msgid "wp_head() is called"
|
346 |
+
msgstr "wp_head() je pozvan"
|
347 |
+
|
348 |
+
#: ../dynwid_admin_overview.php:118
|
349 |
+
msgid "Unable to determine if wp_head() is called"
|
350 |
+
msgstr "Nije moguće ustanoviti da li je pozvan"
|
351 |
+
|
352 |
+
#: ../dynwid_admin_overview.php:130
|
353 |
+
msgid "Use 'OLD' method"
|
354 |
+
msgstr "Koristi STARI metod"
|
355 |
+
|
356 |
+
#: ../dynwid_admin_overview.php:140
|
357 |
+
msgid "Page limit"
|
358 |
+
msgstr "Limit stranice"
|
359 |
+
|
360 |
+
#: ../dynwid_admin_overview.php:142
|
361 |
+
msgid ""
|
362 |
+
"The page limit sets the limit of number of pages to prevent a timeout when "
|
363 |
+
"building the hierarchical tree. When the number of pages is above this "
|
364 |
+
"limit, a flat list will be displayed which is less time consuming."
|
365 |
+
msgstr ""
|
366 |
+
"Limit stranice namešta limit broja stranica da bi sprečio timeout kada se "
|
367 |
+
"gradi drvo hijerarhije. Kada je broj stranica iznad ovog limita, ravna lista "
|
368 |
+
"će biti prikazana što zahteva manje vremena."
|
369 |
+
|
370 |
+
#: ../dynwid_admin_overview.php:144
|
371 |
+
msgid "Currently the number of pages is"
|
372 |
+
msgstr "Trenutan broj stranica je"
|
373 |
+
|
374 |
+
#: ../dynwid_admin_overview.php:151
|
375 |
+
msgid ""
|
376 |
+
"When upgrading to WPEC 3.8 the Dynamic Widgets rules for WPEC are lost. The "
|
377 |
+
"WPEC dump gives you an overview of the rules before the update."
|
378 |
+
msgstr ""
|
379 |
+
"Kada upgradujete na WPEC 3.8 Dynamic Widgets pravila za WPEC će se izgubiti. "
|
380 |
+
"WPEC vam daje pregled pravila pre update-a."
|
381 |
+
|
382 |
+
#: ../dynwid_admin_overview.php:152
|
383 |
+
msgid "WARNING"
|
384 |
+
msgstr "UPOZORENJE"
|
385 |
+
|
386 |
+
#: ../dynwid_admin_overview.php:152
|
387 |
+
msgid ""
|
388 |
+
"This only works correct when you did not add or change anything in the "
|
389 |
+
"Dynamic Widgets rules."
|
390 |
+
msgstr ""
|
391 |
+
"Ovo radi ispravno samo kada ne dodajete ili ne menjate ništa u Dynamic "
|
392 |
+
"Widgets pravilima."
|
393 |
+
|
394 |
+
#: ../dynwid_admin_overview.php:157
|
395 |
+
msgid "Create WPEC dump"
|
396 |
+
msgstr "Stvori WPEC dump"
|
397 |
+
|
398 |
+
#: ../dynwid_admin_overview.php:164
|
399 |
+
msgid ""
|
400 |
+
"For debugging purposes it is possible you're asked to create a dump. Click "
|
401 |
+
"the 'Create dump' button and save the text file."
|
402 |
+
msgstr ""
|
403 |
+
"Za svrhe debugovanja traženo vamje da stvorite dump. Kliknite na STVORITE "
|
404 |
+
"DUMP dugme i sačuvajte tekst fajla."
|
405 |
+
|
406 |
+
#: ../dynwid_admin_overview.php:169
|
407 |
+
msgid "Create dump"
|
408 |
+
msgstr "Stvorite dump"
|
409 |
+
|
410 |
+
#: ../dynwid_admin_overview.php:176
|
411 |
+
msgid ""
|
412 |
+
"When you deceide not to use this plugin anymore (sorry to hear that!). You "
|
413 |
+
"can cleanup all settings and data related to this plugin by clicking on the "
|
414 |
+
"'Uninstall' button. This process is irreversible! After the cleanup the "
|
415 |
+
"plugin is deactivated automaticly."
|
416 |
+
msgstr ""
|
417 |
+
"Kada odlučite da ne koristite više ovaj plugin(žao nam je zbog toga) možete "
|
418 |
+
"da očistite sve postavke i podatke vezane za ovaj plugin klikom na UNINSTALL "
|
419 |
+
"dugme. Ovaj proces ne može da se povrati! Posle čišćenja plugin se "
|
420 |
+
"deaktivira automatski."
|
421 |
+
|
422 |
+
#: ../dynwid_admin_overview.php:181
|
423 |
+
msgid "Uninstall"
|
424 |
+
msgstr "Uninstall"
|
425 |
+
|
426 |
+
#: ../mods/search_module.php:13
|
427 |
+
msgid "Search Page"
|
428 |
+
msgstr "Stranica za pretragu"
|
429 |
+
|
430 |
+
#: ../mods/search_module.php:15
|
431 |
+
msgid "Show widget on the search page?"
|
432 |
+
msgstr "Prikaži widget na stranici za retragu?"
|
433 |
+
|
434 |
+
# WordPress MO
|
435 |
+
#: ../mods/search_module.php:17 ../mods/qtranslate_module.php:31
|
436 |
+
#: ../mods/category_module.php:21 ../mods/single_module.php:69
|
437 |
+
#: ../mods/attachment_module.php:16 ../mods/error_module.php:16
|
438 |
+
#: ../mods/frontpage_module.php:24
|
439 |
+
msgid "Yes"
|
440 |
+
msgstr "Da"
|
441 |
+
|
442 |
+
# WordPress MO
|
443 |
+
#: ../mods/search_module.php:18 ../mods/qtranslate_module.php:32
|
444 |
+
#: ../mods/category_module.php:22 ../mods/single_module.php:70
|
445 |
+
#: ../mods/attachment_module.php:17 ../mods/error_module.php:17
|
446 |
+
#: ../mods/frontpage_module.php:25
|
447 |
+
msgid "No"
|
448 |
+
msgstr "Ne"
|
449 |
+
|
450 |
+
#: ../mods/qtranslate_module.php:22
|
451 |
+
msgid "Language (QT)"
|
452 |
+
msgstr "Jezik(QT)"
|
453 |
+
|
454 |
+
#: ../mods/qtranslate_module.php:24
|
455 |
+
#, fuzzy
|
456 |
+
msgid "Show widget default on all languages?"
|
457 |
+
msgstr "Afficher le widget sur les pages statiques?"
|
458 |
+
|
459 |
+
#: ../mods/qtranslate_module.php:24 ../mods/single_module.php:60
|
460 |
+
#: ../mods/single_module.php:74
|
461 |
+
#, fuzzy
|
462 |
+
msgid "Click to toggle info"
|
463 |
+
msgstr "Cliquez sur"
|
464 |
+
|
465 |
+
#: ../mods/qtranslate_module.php:28
|
466 |
+
msgid "Using this option can override all other options."
|
467 |
+
msgstr "Korišćenjem ovih opcija možete da prepišete sve ostale opcije."
|
468 |
+
|
469 |
+
#: ../mods/qtranslate_module.php:33
|
470 |
+
#, fuzzy
|
471 |
+
msgid "Except the languages"
|
472 |
+
msgstr "Sauf la/les page(s)"
|
473 |
+
|
474 |
+
#: ../mods/category_module.php:19
|
475 |
+
msgid "Show widget default on category pages?"
|
476 |
+
msgstr "Prikaži default widget na stranici sa kategorijama?"
|
477 |
+
|
478 |
+
#: ../mods/category_module.php:23
|
479 |
+
msgid "Except the categories"
|
480 |
+
msgstr "Osim kategorija"
|
481 |
+
|
482 |
+
#: ../mods/single_module.php:52
|
483 |
+
msgid "Posts: "
|
484 |
+
msgstr "Postovi:"
|
485 |
+
|
486 |
+
#: ../mods/single_module.php:52
|
487 |
+
msgid "Tags: "
|
488 |
+
msgstr "Tagavi:"
|
489 |
+
|
490 |
+
#: ../mods/single_module.php:60
|
491 |
+
msgid "Show widget default on single posts?"
|
492 |
+
msgstr "Prikaži default widget za jedan post?"
|
493 |
+
|
494 |
+
#: ../mods/single_module.php:64
|
495 |
+
msgid ""
|
496 |
+
"When you use an author <b>AND</b> a category exception, both rules in the "
|
497 |
+
"condition must be met. Otherwise the exception rule won't be applied.\n"
|
498 |
+
" \t\t\t\t\tIf you want to use the rules in a logical OR condition. Add the "
|
499 |
+
"same widget again and apply the other rule to that.\n"
|
500 |
+
" \t\t\t\t\t"
|
501 |
+
msgstr ""
|
502 |
+
"Kada koristite autora <b>i</b> izuetak kategorije, oba pravila u uslovima "
|
503 |
+
"moraj da se sretnu. Inače pravilo za izuetke neće biti primenjeno.\n"
|
504 |
+
" \t\t\t\t\tIf želite da koristite pravila u logičkom OR stanju. I isti "
|
505 |
+
"widget opet i primenite drugo pravilo.\n"
|
506 |
+
" \t\t\t\t\t"
|
507 |
+
|
508 |
+
#: ../mods/single_module.php:73
|
509 |
+
msgid "Make exception rule available to individual posts and tags."
|
510 |
+
msgstr ""
|
511 |
+
"Napravi da pravilo za izuzetke bude dostupno individualnim postovima i "
|
512 |
+
"tagovima."
|
513 |
+
|
514 |
+
#: ../mods/single_module.php:77
|
515 |
+
msgid ""
|
516 |
+
"When you enable this option, you have the ability to apply the exception "
|
517 |
+
"rule for <em>Single Posts</em> to tags and individual posts.\n"
|
518 |
+
"\t\t\t\t\t\tYou can set the exception rule for tags in the single Edit Tag "
|
519 |
+
"Panel (go to <a href=\"edit-tags.php?taxonomy=post_tag\">Post Tags</a>,\n"
|
520 |
+
"\t\t\t\t\t\tclick a tag), For individual posts in the <a href=\"post-new.php"
|
521 |
+
"\">New</a> or <a href=\"edit.php\">Edit</a> Posts panel.\n"
|
522 |
+
"\t\t\t\t\t\tException rules for tags and individual posts in any combination "
|
523 |
+
"work independantly, but will always be counted as one exception.<br />\n"
|
524 |
+
" \t\t\t\t\tPlease note when exception rules are set for Author and/or "
|
525 |
+
"Category, these will be removed.\n"
|
526 |
+
" \t\t\t\t"
|
527 |
+
msgstr ""
|
528 |
+
"Kada omigućite ovu opciju,imate mogućnost da primenite pravilo za izuzetke "
|
529 |
+
"<em>Single Posts</em> za tagove i individualne postove.\n"
|
530 |
+
"\t\t\t\t\t\tMožete postaviti pravilo za izuzetke za tagove u single Edit Tag "
|
531 |
+
"Panel (idi na <a href=\"edit-tags.php?taxonomy=post_tag\">Post Tags</a>,\n"
|
532 |
+
"\t\t\t\t\t\tclick a tag), Za individualne postove u <a href=\"post-new.php"
|
533 |
+
"\">New</a> or <a href=\"edit.php\">Edit</a> Posts panel.\n"
|
534 |
+
"\t\t\t\t\t\tPravila za izuzetke za tagove i individualne postove u bio kojoj "
|
535 |
+
"kombinaciji rade neuavisno ali će se uvek brojati kao jedan izuzetak.<br />\n"
|
536 |
+
" \t\t\t\t\tImajte na umu da ako su pravila sa izuzetkom nameštena za Autore "
|
537 |
+
"i/ili Kategorije, biće uklonjeni.\n"
|
538 |
+
" \t\t\t\t"
|
539 |
+
|
540 |
+
#: ../mods/single_module.php:94
|
541 |
+
msgid "Except the posts by author"
|
542 |
+
msgstr "Osim postova po autoru"
|
543 |
+
|
544 |
+
#: ../mods/single_module.php:105
|
545 |
+
msgid "Except the posts in category"
|
546 |
+
msgstr "Osim postova u kategoriji"
|
547 |
+
|
548 |
+
#: ../mods/attachment_module.php:14
|
549 |
+
#, fuzzy
|
550 |
+
msgid "Show widget on attachment pages"
|
551 |
+
msgstr "Afficher le widget sur les pages d'archives"
|
552 |
+
|
553 |
+
#: ../mods/error_module.php:14
|
554 |
+
msgid "Show widget on the error page?"
|
555 |
+
msgstr "Prikaži widget na attachment stranici"
|
556 |
+
|
557 |
+
#: ../mods/frontpage_module.php:15
|
558 |
+
msgid "Show widget on the front page?"
|
559 |
+
msgstr "Prikaži widget na stranici sa greškom?"
|
560 |
+
|
561 |
+
#: ../mods/frontpage_module.php:19
|
562 |
+
msgid ""
|
563 |
+
"This option only applies when your front page is set to display your latest "
|
564 |
+
"posts (See Settings > Reading).<br />\n"
|
565 |
+
"\t\t\t\t\t\tWhen a static page is set, you can use the options for the "
|
566 |
+
"static pages below.\n"
|
567 |
+
"\t\t\t\t\t"
|
568 |
+
msgstr ""
|
569 |
+
"Ova opcija se primenjuje samo je vaša prednja stranica podešena na prikaz "
|
570 |
+
"vaših poslednjih blogova (pogledaj Postavke> Čitanje).<br />\n"
|
571 |
+
"\t\t\t\t\t\tKada je statična stranica nameštena možete koristiti opcije za "
|
572 |
+
"nju. \n"
|
573 |
+
"\t\t\t\t\t"
|
574 |
+
|
575 |
+
#: ../mods/archive_module.php:14
|
576 |
+
msgid "Show widget on archive pages"
|
577 |
+
msgstr "Prikaži Widget na stranicama arhive"
|
578 |
+
|
579 |
+
#: ../mods/archive_module.php:18
|
580 |
+
msgid "This option does not include Author and Category Pages."
|
581 |
+
msgstr "Ova opcija ne uključuje Autor i Kategorija stranice."
|
582 |
+
|
583 |
+
#: ../mods/pages_module.php:14
|
584 |
+
msgid "The static page module failed to load."
|
585 |
+
msgstr "Modul statične stranice nije uspeo da se loaduje."
|
586 |
+
|
587 |
+
#: ../mods/pages_module.php:16
|
588 |
+
msgid ""
|
589 |
+
"This is probably because building the hierarchical tree took too long.<br /"
|
590 |
+
">Decrease the limit of number of pages in the advanced settings."
|
591 |
+
msgstr ""
|
592 |
+
"To je verovatno zbog toga što gradjenje hijerarhijskog drveta traje dugo."
|
593 |
+
"<br />Smanjite broj limita stranica u unapredjenim postavkama."
|
594 |
+
|
595 |
+
#: ../mods/pages_module.php:43 ../mods/custompost_module.php:46
|
596 |
+
#: ../mods/custompost_module.php:89
|
597 |
+
msgid "All childs"
|
598 |
+
msgstr "Sva deca"
|
599 |
+
|
600 |
+
#: ../mods/pages_module.php:83 ../mods/pages_module.php:86
|
601 |
+
#, fuzzy
|
602 |
+
msgid "Front page"
|
603 |
+
msgstr "Page d'accueil"
|
604 |
+
|
605 |
+
#: ../mods/pages_module.php:83 ../mods/pages_module.php:88
|
606 |
+
#, fuzzy
|
607 |
+
msgid "Posts page"
|
608 |
+
msgstr "Page d'accueil"
|
609 |
+
|
610 |
+
#: ../mods/pages_module.php:94
|
611 |
+
msgid "Show widget default on static pages?"
|
612 |
+
msgstr "Prikaži default widget na statičnoj stranici."
|
613 |
+
|
614 |
+
#: ../mods/pages_module.php:101
|
615 |
+
msgid ""
|
616 |
+
"Checking the \"All childs\" option, makes the exception rule apply\n"
|
617 |
+
"\t\t\t\t\tto the parent and all items under it in all levels. Also future "
|
618 |
+
"items\n"
|
619 |
+
"\t\t\t\t\tunder the parent. It's not possible to apply an exception rule to\n"
|
620 |
+
"\t\t\t\t\t\"All childs\" without the parent."
|
621 |
+
msgstr ""
|
622 |
+
"Proverite opciju,napravite pravilo sa izuzetkom primenite\n"
|
623 |
+
"\t\t\t\t\tna roditelja i sve stavke su u svim nivoima. Takodje buduće "
|
624 |
+
"stavke\n"
|
625 |
+
"\t\t\t\t\tsu pod roditeljem. Nije moguće primeniti pravilo sa izuzetkom bez "
|
626 |
+
"roditelja. "
|
627 |
+
|
628 |
+
#: ../mods/pages_module.php:106
|
629 |
+
msgid ""
|
630 |
+
"Unfortunately the childs-function has been disabled\n"
|
631 |
+
"\t\t\t\t\tbecause you have more than the limit of pages."
|
632 |
+
msgstr ""
|
633 |
+
"Unfortunately the childs-function has been disabled\n"
|
634 |
+
"\t\t\t\t\tbecause you have more than the limit of pages."
|
635 |
+
|
636 |
+
#: ../mods/pages_module.php:116
|
637 |
+
msgid "Except the page(s)"
|
638 |
+
msgstr "Osim stranica"
|
639 |
+
|
640 |
+
#: ../mods/author_module.php:24
|
641 |
+
msgid "Show widget default on author pages?"
|
642 |
+
msgstr "Prikaži defaut widget na stranicama autora?"
|
643 |
+
|
644 |
+
#: ../mods/author_module.php:28
|
645 |
+
msgid "Except the author(s)"
|
646 |
+
msgstr "Osim autora"
|
647 |
+
|
648 |
+
#: ../mods/bp_module.php:24
|
649 |
+
#, fuzzy
|
650 |
+
msgid "Show widget default on BuddyPress pages?"
|
651 |
+
msgstr "Afficher le widget sur les pages d'auteur"
|
652 |
+
|
653 |
+
#: ../mods/bp_module.php:28
|
654 |
+
#, fuzzy
|
655 |
+
msgid "Except on the components pages"
|
656 |
+
msgstr "Sauf la/les page(s)"
|
657 |
+
|
658 |
+
#: ../mods/bp_module.php:47
|
659 |
+
msgid "Forum Index"
|
660 |
+
msgstr "Index foruma"
|
661 |
+
|
662 |
+
#: ../mods/bp_module.php:48
|
663 |
+
msgid "Forum Topics"
|
664 |
+
msgstr "Teme sa foruma"
|
665 |
+
|
666 |
+
#: ../mods/bp_module.php:49
|
667 |
+
msgid "Members Index"
|
668 |
+
msgstr "Index članova"
|
669 |
+
|
670 |
+
#: ../mods/bp_module.php:54
|
671 |
+
#, fuzzy
|
672 |
+
msgid "Show widget default on BuddyPress Group pages?"
|
673 |
+
msgstr "Afficher le widget sur les pages d'auteur"
|
674 |
+
|
675 |
+
#: ../mods/bp_module.php:61
|
676 |
+
#, fuzzy
|
677 |
+
msgid "Except in the groups"
|
678 |
+
msgstr "Sauf la/les page(s)"
|
679 |
+
|
680 |
+
#: ../mods/bp_module.php:70
|
681 |
+
#, fuzzy
|
682 |
+
msgid "Except in the group pages"
|
683 |
+
msgstr "Sauf la/les page(s)"
|
684 |
+
|
685 |
+
# WordPress MO
|
686 |
+
#: ../mods/role_module.php:10
|
687 |
+
msgid "Anonymous"
|
688 |
+
msgstr "Anoniman"
|
689 |
+
|
690 |
+
#: ../mods/role_module.php:25
|
691 |
+
msgid "Show widget to everybody?"
|
692 |
+
msgstr "Prikaži svima widget?"
|
693 |
+
|
694 |
+
#: ../mods/role_module.php:29
|
695 |
+
msgid ""
|
696 |
+
"Setting options by role is very powerfull. It can override all other options!"
|
697 |
+
"<br />\n"
|
698 |
+
"\t\t\t\t\t\tUsers who are not logged in, get the <em>Anonymous</em> role."
|
699 |
+
msgstr ""
|
700 |
+
"Opcije postavki po ulozi su veoma moćne. Mogu da pišu po svim opcijama!<br /"
|
701 |
+
">\n"
|
702 |
+
"\t\t\t\t\t\tKorisnici oji nisu ulogovani dobijaju <em>Anonymous</em>ulogu."
|
703 |
+
|
704 |
+
#: ../mods/role_module.php:34
|
705 |
+
msgid "only to"
|
706 |
+
msgstr "samo za"
|
707 |
+
|
708 |
+
#: ../mods/useragent_module.php:10
|
709 |
+
msgid "(and other Gecko based)"
|
710 |
+
msgstr "(i ostale bazirane na Gecko)"
|
711 |
+
|
712 |
+
#: ../mods/useragent_module.php:17
|
713 |
+
msgid "Other / Unknown / Not detected"
|
714 |
+
msgstr "Drugo/ Nepoznato / Nije primećeno"
|
715 |
+
|
716 |
+
#: ../mods/useragent_module.php:28
|
717 |
+
#, fuzzy
|
718 |
+
msgid "Show widget with all browsers?"
|
719 |
+
msgstr "Toujours afficher le widget?"
|
720 |
+
|
721 |
+
#: ../mods/useragent_module.php:32
|
722 |
+
msgid "Browser detection is never 100% accurate."
|
723 |
+
msgstr "Primetnost pretraživača nikada nije 100% tačna."
|
724 |
+
|
725 |
+
#: ../mods/useragent_module.php:37
|
726 |
+
#, fuzzy
|
727 |
+
msgid "Except the browser(s)"
|
728 |
+
msgstr "Sauf le/les auteur(s)"
|
729 |
+
|
730 |
+
#: ../mods/tpl_module.php:23
|
731 |
+
#, fuzzy
|
732 |
+
msgid "Show widget on every template?"
|
733 |
+
msgstr "Afficher le widget sur les pages d'erreur?"
|
734 |
+
|
735 |
+
#: ../mods/tpl_module.php:27
|
736 |
+
msgid ""
|
737 |
+
"This options takes precedence above other options like Pages and/or Single "
|
738 |
+
"Posts."
|
739 |
+
msgstr ""
|
740 |
+
"Ova opcija zahteva pvenstvenost iznad drugih opcija kao Stranice i-ili Sami "
|
741 |
+
"postovi"
|
742 |
+
|
743 |
+
#: ../mods/tpl_module.php:32
|
744 |
+
#, fuzzy
|
745 |
+
msgid "Except the templates"
|
746 |
+
msgstr "Sauf la/les page(s)"
|
747 |
+
|
748 |
+
#: ../mods/tpl_module.php:34
|
749 |
+
msgid "Default Template"
|
750 |
+
msgstr "Default Template"
|
751 |
+
|
752 |
+
#: ../mods/custompost_module.php:126 ../mods/custompost_module.php:216
|
753 |
+
msgid "Show widget on"
|
754 |
+
msgstr "Prikaži widget na"
|
755 |
+
|
756 |
+
#: ../mods/custompost_module.php:136
|
757 |
+
msgid ""
|
758 |
+
"All exceptions (Titles and Taxonomies) work in a logical OR condition. That "
|
759 |
+
"means when one of the exceptions is met, the exception rule is applied."
|
760 |
+
msgstr ""
|
761 |
+
"Svi izuzeci(Naslovi i taxonomije) rade u logičnom OR stanju. To znači da "
|
762 |
+
"kada se naidje na jedno od izuzetaka, izuzeto pravilo se primenjuje"
|
763 |
+
|
764 |
+
#: ../mods/custompost_module.php:143 ../mods/custompost_module.php:178
|
765 |
+
#: ../mods/custompost_module.php:227 ../mods/custompost_module.php:260
|
766 |
+
msgid "Except for"
|
767 |
+
msgstr "Osim za"
|
768 |
+
|
769 |
+
#: ../mods/custompost_module.php:254
|
770 |
+
#, fuzzy
|
771 |
+
msgid "Show widget on Custom Post Type Archives"
|
772 |
+
msgstr "Afficher le widget sur les pages de recherche?"
|
773 |
+
|
774 |
+
#: ../mods/date_module.php:32
|
775 |
+
msgid "Show widget always?"
|
776 |
+
msgstr "Prikaži widget na Custom Post Type Arhivama"
|
777 |
+
|
778 |
+
#: ../mods/date_module.php:36
|
779 |
+
msgid ""
|
780 |
+
"Next to the above role option, the date option is also very powerfull. "
|
781 |
+
"You've been warned!"
|
782 |
+
msgstr "Pored opcije uloge ispod, opcija datuma je veoma moćna."
|
783 |
+
|
784 |
+
#: ../mods/date_module.php:37
|
785 |
+
msgid ""
|
786 |
+
"Enter dates in the YYYY-MM-DD format. You can also use the calender by "
|
787 |
+
"clicking on the"
|
788 |
+
msgstr ""
|
789 |
+
"Unesite datume u GGGG-MM-DD formatu. Možete takodje koristiti kalendar "
|
790 |
+
"klikom na"
|
791 |
+
|
792 |
+
#: ../mods/date_module.php:38
|
793 |
+
msgid ""
|
794 |
+
"Date ranges can be made by entering a From AND a To date<br />\n"
|
795 |
+
" \t\t\t\t\tWhen you want the widget to be displayed from a specific date, "
|
796 |
+
"only fill in the From date<br />\n"
|
797 |
+
" \t\t\t\t\tWhen you want the widget to stop displaying on a specific date, "
|
798 |
+
"only fill in the To date.\n"
|
799 |
+
" \t\t\t\t"
|
800 |
+
msgstr ""
|
801 |
+
"Datum može biti napravljen unosom OD i Do datuma<br />\n"
|
802 |
+
" \t\t\t\t\tKada želite da widget odredjenog datuma bude prikazana, popunite "
|
803 |
+
"Od datuma<br />\n"
|
804 |
+
" \t\t\t\t\tKada želite da widget prestane da se prikazuje na odredjenom "
|
805 |
+
"datumu, popunite Do datuma.\n"
|
806 |
+
" \t\t\t\t"
|
807 |
+
|
808 |
+
#: ../mods/date_module.php:45
|
809 |
+
msgid "only"
|
810 |
+
msgstr "samo"
|
811 |
+
|
812 |
+
#: ../mods/date_module.php:49
|
813 |
+
msgid "From"
|
814 |
+
msgstr "Od"
|
815 |
+
|
816 |
+
#: ../mods/date_module.php:53
|
817 |
+
msgid "To"
|
818 |
+
msgstr "Za"
|
819 |
+
|
820 |
+
#: ../mods/wpec_module.php:25
|
821 |
+
msgid "Show widget default on WPSC categories?"
|
822 |
+
msgstr "Prikaži widget default na WPSC kategorijama?"
|
823 |
+
|
824 |
+
#: ../mods/wpml_module.php:21
|
825 |
+
msgid "Language (WPML)"
|
826 |
+
msgstr "Language (WPML)"
|
827 |
+
|
828 |
+
#~ msgid "Custom Post Type"
|
829 |
+
#~ msgstr "Types de contenu personnalisés"
|
830 |
+
|
831 |
+
#~ msgid "This widget is"
|
832 |
+
#~ msgstr "Ce widget est"
|
833 |
+
|
834 |
+
#~ msgid "selection"
|
835 |
+
#~ msgstr "sélection"
|
mods/custompost_module.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Custom Post Type Module
|
4 |
*
|
5 |
-
* @version $Id: custompost_module.php
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
@@ -211,9 +211,9 @@
|
|
211 |
$childs = $opt_ct_archive_childs->act;
|
212 |
}
|
213 |
|
214 |
-
echo '<input type="hidden" id="' . $ct . '_act" name="' . $ct . '_act" value="' . implode(',', $opt_ct_archive->act) . '" />';
|
215 |
if ( isset($opt_ct_archive_childs) ) {
|
216 |
-
echo '<input type="hidden" id="' . $ct . '_childs_act" name="' . $ct . '_childs_act" value="' . implode(',', $opt_tax_childs->act) . '" />';
|
217 |
}
|
218 |
|
219 |
self::prtTax($widget_id, $tax->name, $tree, $opt_ct_archive->act, $childs, $ct);
|
2 |
/**
|
3 |
* Custom Post Type Module
|
4 |
*
|
5 |
+
* @version $Id: custompost_module.php 863947 2014-02-24 09:53:16Z qurl $
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
211 |
$childs = $opt_ct_archive_childs->act;
|
212 |
}
|
213 |
|
214 |
+
echo '<input type="hidden" id="' . $ct . '_act" name="' . $ct . '_act" value="' . ( (is_array($opt_ct_archive->act)) ? implode(',', $opt_ct_archive->act) : '' ) . '" />';
|
215 |
if ( isset($opt_ct_archive_childs) ) {
|
216 |
+
echo '<input type="hidden" id="' . $ct . '_childs_act" name="' . $ct . '_childs_act" value="' . ( (is_array($opt_tax_childs->act)) ? implode(',', $opt_tax_childs->act) : '' ) . '" />';
|
217 |
}
|
218 |
|
219 |
self::prtTax($widget_id, $tax->name, $tree, $opt_ct_archive->act, $childs, $ct);
|
mods/mobile_module.php
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Mobile Module
|
4 |
+
*
|
5 |
+
* @version $Id$
|
6 |
+
* @copyright 2014 Jacco Drabbe
|
7 |
+
*/
|
8 |
+
|
9 |
+
class DW_Mobile extends DWModule {
|
10 |
+
public static $option = array( 'mobile' => 'Mobile device' );
|
11 |
+
protected static $overrule = TRUE;
|
12 |
+
protected static $question = 'Show widget when viewed by a mobile device?';
|
13 |
+
}
|
14 |
+
?>
|
mods/pages_module.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Pages Module
|
4 |
*
|
5 |
-
* @version $Id: pages_module.php
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
@@ -143,17 +143,17 @@
|
|
143 |
$this->post_page = get_option('page_for_posts');
|
144 |
}
|
145 |
|
146 |
-
function start_lvl(&$output, $depth) {
|
147 |
$indent = str_repeat("\t", $depth);
|
148 |
$output .= "\n" . $indent . '<div style="position:relative;left:15px;width:95%;">' . "\n";
|
149 |
}
|
150 |
|
151 |
-
function end_lvl(&$output, $depth) {
|
152 |
$indent = str_repeat("\t", $depth);
|
153 |
$output .= $indent . '</div>' . "\n";
|
154 |
}
|
155 |
|
156 |
-
function start_el(&$output, $page, $depth, $args, $
|
157 |
extract($args, EXTR_SKIP);
|
158 |
|
159 |
if ( $depth ) {
|
@@ -174,7 +174,7 @@
|
|
174 |
}
|
175 |
}
|
176 |
|
177 |
-
function end_el(&$output, $page, $depth) {
|
178 |
// Just an empty function, making sure parent::end_el() does not fire
|
179 |
return;
|
180 |
}
|
2 |
/**
|
3 |
* Pages Module
|
4 |
*
|
5 |
+
* @version $Id: pages_module.php 863947 2014-02-24 09:53:16Z qurl $
|
6 |
* @copyright 2011 Jacco Drabbe
|
7 |
*/
|
8 |
|
143 |
$this->post_page = get_option('page_for_posts');
|
144 |
}
|
145 |
|
146 |
+
function start_lvl(&$output, $depth = 0, $args = array()) {
|
147 |
$indent = str_repeat("\t", $depth);
|
148 |
$output .= "\n" . $indent . '<div style="position:relative;left:15px;width:95%;">' . "\n";
|
149 |
}
|
150 |
|
151 |
+
function end_lvl(&$output, $depth = 0, $args = array()) {
|
152 |
$indent = str_repeat("\t", $depth);
|
153 |
$output .= $indent . '</div>' . "\n";
|
154 |
}
|
155 |
|
156 |
+
function start_el(&$output, $page, $depth = 0, $args = array(), $current_object_id = 0) {
|
157 |
extract($args, EXTR_SKIP);
|
158 |
|
159 |
if ( $depth ) {
|
174 |
}
|
175 |
}
|
176 |
|
177 |
+
function end_el(&$output, $page, $depth = 0, $args = array()) {
|
178 |
// Just an empty function, making sure parent::end_el() does not fire
|
179 |
return;
|
180 |
}
|
readme.txt
CHANGED
@@ -1,19 +1,23 @@
|
|
1 |
=== Plugin Name ===
|
2 |
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
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
Dynamic Widgets gives you full control on which pages
|
14 |
|
15 |
For the latest news about Dynamic Widgets visit [my website](http://www.qurl.nl/).
|
16 |
|
|
|
|
|
|
|
|
|
17 |
= I need your support =
|
18 |
|
19 |
It is very hard to continue development and support for this plugin without contributions from users like you. If you enjoy using Dynamic Widgets and find it useful, please consider [making a donation](http://www.qurl.nl/dynamic-widgets/donate/). Your donation will help encourage and support the plugin's continued development and better user support.
|
@@ -26,6 +30,7 @@ It is very hard to continue development and support for this plugin without cont
|
|
26 |
- Day of week
|
27 |
- Weeknumbers
|
28 |
- Browsers
|
|
|
29 |
- Theme Templates
|
30 |
- Languages (WPML or QTranslate)
|
31 |
- URL
|
@@ -89,6 +94,7 @@ It is very hard to continue development and support for this plugin without cont
|
|
89 |
- German (de_DE) by Daniel Bihler
|
90 |
- Lithuanian (lt_LT) by Liudas Ali�auskas
|
91 |
- Portuguese (pt_PT) by Pedro Nave
|
|
|
92 |
- Spanish (es_ES) by Eduardo Larequi
|
93 |
|
94 |
== Installation ==
|
@@ -110,7 +116,7 @@ For the latest FAQ, please visit the [online FAQ](http://www.qurl.nl/dynamic-wid
|
|
110 |
1. A properly working WordPress site (doh!).
|
111 |
2. Your theme must have at least one dynamic sidebar.
|
112 |
3. Your theme must call `wp_head()`.
|
113 |
-
4.
|
114 |
|
115 |
= My hoster is (still) using PHP4 =
|
116 |
|
@@ -120,7 +126,7 @@ Sorry, Dynamic Widgets is not compatible with PHP4. Look for another hosting com
|
|
120 |
|
121 |
Yes, you can. In the Dynamic Widgets Overview page, click the 'Advanced >' link at the bottom. You should see if `wp_head()` is called in your theme. It is possible Dynamic Widgets can't detect if the theme is calling `wp_head()`. Please contact the author of the theme to ask for it. You can also of course just try Dynamic Widgets to see if it works.
|
122 |
|
123 |
-
= Does the plugin work on WordPress
|
124 |
|
125 |
Yes, but only if you activate the plugin on a per site base. Network Activation is not supported.
|
126 |
Extra note: It seems that sometimes for some reason DW does not show up on individual sites within a WP Network without a network activation. You can use [Multisite Plugin Manager](http://wordpress.org/extend/plugins/multisite-plugin-manager/) to overcome this problem.
|
@@ -176,6 +182,14 @@ Please check the [Issue Tracker](http://www.qurl.nl/dynamic-widgets/issue-tracke
|
|
176 |
|
177 |
== Changelog ==
|
178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
= Version 1.5.6 =
|
180 |
|
181 |
* Added WordPress filter 'dynwid_urlprefix' in case Dynamic Widgets detects the URL wrong.
|
@@ -416,9 +430,9 @@ This version has 4 new features and 5 bugs fixed. See the changelog for details.
|
|
416 |
|
417 |
== Upgrade Notice ==
|
418 |
|
419 |
-
= 1.5.
|
420 |
|
421 |
-
This version has
|
422 |
|
423 |
== Screenshots ==
|
424 |
|
1 |
=== Plugin Name ===
|
2 |
Contributors: Qurl
|
3 |
Donate link: http://www.qurl.nl/dynamic-widgets/donate/
|
4 |
+
Tags: widget, widgets, dynamic, sidebar, custom, rules, logic, display, admin, condition, conditional tags, hide, show, wpml, qtranslate, wpec, buddypress, pods, bbpress
|
5 |
Requires at least: 3.0.0
|
6 |
+
Tested up to: 3.8.1
|
7 |
+
Stable tag: 1.5.7
|
8 |
|
9 |
+
Dynamic Widgets gives you full control on which pages a widget will display. It lets you dynamicly show or hide widgets on WordPress pages.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
Dynamic Widgets gives you full control on which pages a widget will display. It lets you dynamically show or hide widgets on WordPress pages by setting conditional logic rules on a widget with just a few mouse clicks. No knowledge of PHP required. No fiddling around with conditional tags. You can set conditional rules by Role, Dates, Browser, Mobile devices, Theme Template, Language (WPML or QTranslate), URL, for the Homepage, Single Posts, Attachments, Pages, Authors, Categories, Tags, Archives, Error Page, Search Page, Custom Post Types, Custom Post Type Archives, Custom Taxonomies in Custom Post Types, Custom Taxonomies Archives, WPEC/WPSC Categories, BuddyPress Components, BuddyPress Groups, Pods pages and bbPress.
|
14 |
|
15 |
For the latest news about Dynamic Widgets visit [my website](http://www.qurl.nl/).
|
16 |
|
17 |
+
= Works or broken? =
|
18 |
+
|
19 |
+
Please, vote for it. When you vote for broken, pick up some courage and tell in the [Forum](http://wordpress.org/support/plugin/dynamic-widgets) what is broken. I like to know, so I might be able to fix it to make the plugin also work for you.
|
20 |
+
|
21 |
= I need your support =
|
22 |
|
23 |
It is very hard to continue development and support for this plugin without contributions from users like you. If you enjoy using Dynamic Widgets and find it useful, please consider [making a donation](http://www.qurl.nl/dynamic-widgets/donate/). Your donation will help encourage and support the plugin's continued development and better user support.
|
30 |
- Day of week
|
31 |
- Weeknumbers
|
32 |
- Browsers
|
33 |
+
- Mobile devices
|
34 |
- Theme Templates
|
35 |
- Languages (WPML or QTranslate)
|
36 |
- URL
|
94 |
- German (de_DE) by Daniel Bihler
|
95 |
- Lithuanian (lt_LT) by Liudas Ali�auskas
|
96 |
- Portuguese (pt_PT) by Pedro Nave
|
97 |
+
- Serbo-Croatian (sr_RS) by [Borisa Djuraskovic](http://www.webhostinghub.com/)
|
98 |
- Spanish (es_ES) by Eduardo Larequi
|
99 |
|
100 |
== Installation ==
|
116 |
1. A properly working WordPress site (doh!).
|
117 |
2. Your theme must have at least one dynamic sidebar.
|
118 |
3. Your theme must call `wp_head()`.
|
119 |
+
4. Minimum of PHP version 5.2.7, PHP 5.3 is highly recommended.
|
120 |
|
121 |
= My hoster is (still) using PHP4 =
|
122 |
|
126 |
|
127 |
Yes, you can. In the Dynamic Widgets Overview page, click the 'Advanced >' link at the bottom. You should see if `wp_head()` is called in your theme. It is possible Dynamic Widgets can't detect if the theme is calling `wp_head()`. Please contact the author of the theme to ask for it. You can also of course just try Dynamic Widgets to see if it works.
|
128 |
|
129 |
+
= Does the plugin work on a WordPress Network? =
|
130 |
|
131 |
Yes, but only if you activate the plugin on a per site base. Network Activation is not supported.
|
132 |
Extra note: It seems that sometimes for some reason DW does not show up on individual sites within a WP Network without a network activation. You can use [Multisite Plugin Manager](http://wordpress.org/extend/plugins/multisite-plugin-manager/) to overcome this problem.
|
182 |
|
183 |
== Changelog ==
|
184 |
|
185 |
+
= Version 1.5.7 =
|
186 |
+
|
187 |
+
* Added Serbo-Croation language file (locale: sr_RS) - Hvala Borisa!
|
188 |
+
* Added Mobile detection support
|
189 |
+
* Bugfix for fatal error: Call to undefined function add_submenu_page() in dynamic-widgets.php on line 633 when the host is not meeting the requirements (anymore).
|
190 |
+
* Bugfix for several notices about an undefined index and deprecated wpdb::escape()
|
191 |
+
* Bugfix for Invalid arguments passed in custompost_module.php on line 216
|
192 |
+
|
193 |
= Version 1.5.6 =
|
194 |
|
195 |
* Added WordPress filter 'dynwid_urlprefix' in case Dynamic Widgets detects the URL wrong.
|
430 |
|
431 |
== Upgrade Notice ==
|
432 |
|
433 |
+
= 1.5.7 =
|
434 |
|
435 |
+
This version has 1 feature added, 1 language added and 3 bugs fixed.
|
436 |
|
437 |
== Screenshots ==
|
438 |
|