Dynamic Widgets - Version 1.5.13

Version Description

When you upgrade manually, remove the dynamic-widgets directory first.

This version has 1 feature added, 1 language added and 3 bugs fixed.

=

Download this release

Release Info

Developer qurl
Plugin Icon wp plugin Dynamic Widgets
Version 1.5.13
Comparing to
See all releases

Code changes from version 1.5.12 to 1.5.13

build.xml ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project name="Dynmmic Widgets" default="build" basedir=".">
3
+ <target name="build" depends="prepare,lint,phploc,pdepend" />
4
+
5
+ <target name="clean" description="Cleanup build artifacts">
6
+ <delete dir="${basedir}/build/logs" />
7
+ <delete dir="${basedir}/build/pdepend" />
8
+ <delete dir="${basedir}/build/phpcb" />
9
+ </target>
10
+
11
+ <target name="prepare" depends="clean" description="Prepare for build">
12
+ <mkdir dir="${basedir}/build/logs" />
13
+ <mkdir dir="${basedir}/build/pdepend" />
14
+ <mkdir dir="${basedir}/build/phpcb" />
15
+ </target>
16
+
17
+ <target name="lint" description="Perform syntax check of sourcecode files">
18
+ <apply executable="php" failonerror="true">
19
+ <arg value="-l" />
20
+
21
+ <fileset dir="${basedir}">
22
+ <include name="**/*.php" />
23
+ <modified />
24
+ </fileset>
25
+ </apply>
26
+ </target>
27
+
28
+ <target name="phploc" depends="prepare" description="Measure project size using PHPLOC">
29
+ <exec executable="phploc" failonerror="false">
30
+ <arg line="--count-tests" />
31
+ <arg value="--log-xml" />
32
+ <arg value="${basedir}/build/logs/phploc.xml" />
33
+ <arg path="${basedir}" />
34
+ </exec>
35
+ <echo message="##teamcity[publishArtifacts '${basedir}/build/logs/phploc.xml']" />
36
+ </target>
37
+
38
+ <target name="pdepend" depends="prepare" description="Calculate software metrics using PHP_Depend">
39
+ <exec executable="pdepend" failonerror="false">
40
+ <arg value="--jdepend-xml=${basedir}/build/logs/jdepend.xml" />
41
+ <arg value="--jdepend-chart=${basedir}/build/pdepend/dependencies.png" />
42
+ <arg value="--overview-pyramid=${basedir}/build/pdepend/overview-pyramid.png" />
43
+ <arg value="--summary-xml=${basedir}/build/logs/pdepend.summary.xml" />
44
+ <arg value="--ignore=${basedir}/lib/" />
45
+ <arg path="${basedir}" />
46
+ </exec>
47
+ <echo file="${basedir}/build/pdepend/pdepend.html">
48
+ <![CDATA[
49
+ <img src="dependencies.png" />
50
+ <img src="overview-pyramid.png" />
51
+ ]]>
52
+ </echo>
53
+ <echo message="##teamcity[publishArtifacts '${basedir}/build/logs/jdepend.xml']" />
54
+ <echo message="##teamcity[publishArtifacts '${basedir}/build/pdepend/dependencies.png']" />
55
+ <echo message="##teamcity[publishArtifacts '${basedir}/build/pdepend/overview-pyramid.png']" />
56
+ <echo message="##teamcity[publishArtifacts '${basedir}/build/logs/pdepend.summary.xml']" />
57
+ <echo message="##teamcity[publishArtifacts '${basedir}/build/pdepend/pdepend.html']" />
58
+ </target>
59
+
60
+ <target name="phpcb" depends="prepare" description="Generate Code Browser files using phpCB">
61
+ <property name="phpcb" value="${basedir}/build/deliver/phpcb.zip" />
62
+ <exec executable="phpcb" failonerror="false">
63
+ <arg line="--log ${basedir}/build/logs" />
64
+ <arg line="--source ${basedir}" />
65
+ <arg line="--output ${basedir}/build/phpcb" />
66
+ <arg line="--ignore ${basedir}/lib" />
67
+ <arg line="--ignore ${basedir}/build" />
68
+ </exec>
69
+ <zip destfile="${phpcb}" basedir="${basedir}/build/phpcb" />
70
+ <echo message="##teamcity[publishArtifacts '${phpcb}']" />
71
+ </target>
72
+ </project>
classes/dynwid_class.php CHANGED
@@ -11,11 +11,12 @@
11
  class dynWid {
12
  private $dbtable;
13
  public $device;
 
14
  public $dwoptions = array();
15
  public $dynwid_list;
16
  public $enabled;
17
  private $firstmessage = TRUE;
18
- public $ip_address;
19
  public $listmade = FALSE;
20
  public $overrule_maintype = array();
21
  private $registered_sidebars;
@@ -50,6 +51,7 @@
50
  $this->sidebars = wp_get_sidebars_widgets();
51
  $this->useragent = $this->getBrowser();
52
  $this->ip_address = $this->getIP();
 
53
 
54
  // DB init
55
  $this->wpdb = $wpdb;
@@ -238,6 +240,28 @@
238
  */
239
  }
240
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241
  /**
242
  * dynWid::addUrls() Saves url options
243
  *
@@ -611,9 +635,20 @@
611
  return $results;
612
  }
613
 
 
 
 
 
 
 
 
 
 
 
 
614
  private function getIP() {
615
  $ip = ( isset($_SERVER['REMOTE_ADDR']) ) ? $_SERVER['REMOTE_ADDR'] : NULL;
616
- $this->message( 'Raw IP: ' . $ip );
617
 
618
  return ( strstr($ip, '.') !== FALSE ) ? $ip : NULL;
619
  }
@@ -650,6 +685,7 @@
650
  DWModule::registerOption(DW_Single::$option);
651
  DWModule::registerOption(DW_Tag::$option);
652
  DWModule::registerOption(DW_Tpl::$option);
 
653
  DWModule::registerOption(DW_URL::$option);
654
  DWModule::registerOption(DW_Week::$option);
655
  DWModule::registerOption(DW_WPSC::$option);
@@ -984,17 +1020,18 @@
984
  *
985
  */
986
  public function registerOverrulers() {
987
- include_once(DW_MODULES . 'browser_module.php');
988
- include_once(DW_MODULES . 'date_module.php');
989
- include_once(DW_MODULES . 'day_module.php');
990
- include_once(DW_MODULES . 'week_module.php');
991
- include_once(DW_MODULES . 'role_module.php');
992
- include_once(DW_MODULES . 'shortcode_module.php');
993
- include_once(DW_MODULES . 'tpl_module.php');
994
- include_once(DW_MODULES . 'url_module.php');
995
- include_once(DW_MODULES . 'device_module.php');
996
- include_once(DW_MODULES . 'ip_module.php');
997
- include_once(DW_MODULES . 'fimage_module.php');
 
998
 
999
  DW_Browser::checkOverrule('DW_Browser');
1000
  DW_Date::checkOverrule('DW_Date');
@@ -1004,12 +1041,13 @@
1004
  DW_Shortcode::checkOverrule('DW_Shortcode');
1005
  DW_Tpl::checkOverrule('DW_Tpl');
1006
  DW_URL::checkOverrule('DW_URL');
 
1007
  DW_Device::checkOverrule('DW_Device');
1008
  DW_IP::checkOverrule('DW_IP');
1009
  DW_Fimage::checkOverrule('DW_Fimage');
1010
 
1011
  // WPML Plugin Support
1012
- include_once(DW_MODULES . 'wpml_module.php');
1013
  DW_WPML::detectLanguage();
1014
 
1015
  // QT Plugin Support
11
  class dynWid {
12
  private $dbtable;
13
  public $device;
14
+ public $hostname;
15
  public $dwoptions = array();
16
  public $dynwid_list;
17
  public $enabled;
18
  private $firstmessage = TRUE;
19
+ public $ip_address;
20
  public $listmade = FALSE;
21
  public $overrule_maintype = array();
22
  private $registered_sidebars;
51
  $this->sidebars = wp_get_sidebars_widgets();
52
  $this->useragent = $this->getBrowser();
53
  $this->ip_address = $this->getIP();
54
+ $this->hostname = $this->getHostname();
55
 
56
  // DB init
57
  $this->wpdb = $wpdb;
240
  */
241
  }
242
 
243
+ public function addDomains($widget_id, $default, $domains) {
244
+ $value = serialize($domains);
245
+
246
+ if ( $default == 'no' ) {
247
+ $fields = array(
248
+ 'widget_id' => $widget_id,
249
+ 'maintype' => 'domain',
250
+ 'name' => 'default',
251
+ 'value' => '0'
252
+ );
253
+ $this->wpdb->insert($this->dbtable, $fields);
254
+ }
255
+
256
+ $fields = array(
257
+ 'widget_id' => $widget_id,
258
+ 'maintype' => 'domain',
259
+ 'name' => 'domain',
260
+ 'value' => $value
261
+ );
262
+ $this->wpdb->insert($this->dbtable, $fields);
263
+ }
264
+
265
  /**
266
  * dynWid::addUrls() Saves url options
267
  *
635
  return $results;
636
  }
637
 
638
+ private function getHostname() {
639
+ $server_name = $_SERVER['SERVER_NAME'];
640
+ $hostname = $_SERVER['HTTP_HOST'];
641
+
642
+ if (! empty($hostname) && $hostname != $server_name ) {
643
+ return $hostname;
644
+ }
645
+
646
+ return $server_name;
647
+ }
648
+
649
  private function getIP() {
650
  $ip = ( isset($_SERVER['REMOTE_ADDR']) ) ? $_SERVER['REMOTE_ADDR'] : NULL;
651
+ // $this->message( 'Raw IP: ' . $ip );
652
 
653
  return ( strstr($ip, '.') !== FALSE ) ? $ip : NULL;
654
  }
685
  DWModule::registerOption(DW_Single::$option);
686
  DWModule::registerOption(DW_Tag::$option);
687
  DWModule::registerOption(DW_Tpl::$option);
688
+ DWModule::registerOption(DW_Domain::$option);
689
  DWModule::registerOption(DW_URL::$option);
690
  DWModule::registerOption(DW_Week::$option);
691
  DWModule::registerOption(DW_WPSC::$option);
1020
  *
1021
  */
1022
  public function registerOverrulers() {
1023
+ include_once DW_MODULES . 'browser_module.php';
1024
+ include_once DW_MODULES . 'date_module.php';
1025
+ include_once DW_MODULES . 'day_module.php';
1026
+ include_once DW_MODULES . 'week_module.php';
1027
+ include_once DW_MODULES . 'role_module.php';
1028
+ include_once DW_MODULES . 'shortcode_module.php';
1029
+ include_once DW_MODULES . 'tpl_module.php';
1030
+ include_once DW_MODULES . 'url_module.php';
1031
+ include_once DW_MODULES . 'domain_module.php';
1032
+ include_once DW_MODULES . 'device_module.php';
1033
+ include_once DW_MODULES . 'ip_module.php';
1034
+ include_once DW_MODULES . 'fimage_module.php';
1035
 
1036
  DW_Browser::checkOverrule('DW_Browser');
1037
  DW_Date::checkOverrule('DW_Date');
1041
  DW_Shortcode::checkOverrule('DW_Shortcode');
1042
  DW_Tpl::checkOverrule('DW_Tpl');
1043
  DW_URL::checkOverrule('DW_URL');
1044
+ DW_Domain::checkOverrule('DW_Domain');
1045
  DW_Device::checkOverrule('DW_Device');
1046
  DW_IP::checkOverrule('DW_IP');
1047
  DW_Fimage::checkOverrule('DW_Fimage');
1048
 
1049
  // WPML Plugin Support
1050
+ include_once DW_MODULES . 'wpml_module.php';
1051
  DW_WPML::detectLanguage();
1052
 
1053
  // QT Plugin Support
dynamic-widgets.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://dynamic-widgets.com/
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.12
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,8 +15,8 @@
15
  *
16
  * Released under the GPL v.2, http://www.gnu.org/copyleft/gpl.html
17
  *
18
- * @version $Id: dynamic-widgets.php 1478458 2016-08-19 07:06:28Z qurl $
19
- * @copyright 2015 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.
@@ -35,6 +35,7 @@
35
  * Thanks to Leon Juranic from DefenseCode to run it's scanner over the source code and finding a few vulnerabilities.
36
  * Thanks to Nathan Wright of NW Consulting for the financial contribution to implement the shortcode filter feature.
37
  * Thanks to Mike Epstein to find a vulnerability in the DW settings.
 
38
  *
39
  *
40
  * WPML Plugin support via API
@@ -81,7 +82,7 @@
81
  define('DW_PLUGIN', dirname(__FILE__) . '/' . 'plugin/');
82
  define('DW_TIME_LIMIT', 86400); // 1 day
83
  define('DW_URL_AUTHOR', 'http://www.qurl.nl');
84
- define('DW_VERSION', '1.5.12');
85
  define('DW_WPML_API', '/inc/wpml-api.php'); // WPML Plugin support - API file relative to ICL_PLUGIN_PATH
86
  define('DW_WPML_ICON', 'img/wpml_icon.png'); // WPML Plugin support - WPML icon
87
 
@@ -102,9 +103,9 @@
102
 
103
  $query = "CREATE TABLE IF NOT EXISTS " . $dbtable . " (
104
  id int(11) NOT NULL auto_increment,
105
- widget_id varchar(60) NOT NULL,
106
- maintype varchar(50) NOT NULL,
107
- `name` varchar(40) NOT NULL,
108
  `value` longtext NOT NULL,
109
  PRIMARY KEY (id),
110
  KEY widget_id (widget_id,maintype)
@@ -170,6 +171,20 @@
170
  $wpdb->query($query);
171
  }
172
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  }
174
  update_option('dynwid_version', DW_VERSION);
175
  }
@@ -976,4 +991,4 @@
976
  add_action('admin_action_dynwid_uninstall', 'dynwid_uninstall');
977
  add_action('init', 'dynwid_init');
978
  register_activation_hook(__FILE__, 'dynwid_install');
979
- ?>
4
  * Plugin URI: http://dynamic-widgets.com/
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.13
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 1712211 2017-08-11 17:00:21Z qurl $
19
+ * @copyright 2017 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.
35
  * Thanks to Leon Juranic from DefenseCode to run it's scanner over the source code and finding a few vulnerabilities.
36
  * Thanks to Nathan Wright of NW Consulting for the financial contribution to implement the shortcode filter feature.
37
  * Thanks to Mike Epstein to find a vulnerability in the DW settings.
38
+ * Thanks to HANNA instruments for the financial contribution to implement the domain name / server name filter feature.
39
  *
40
  *
41
  * WPML Plugin support via API
82
  define('DW_PLUGIN', dirname(__FILE__) . '/' . 'plugin/');
83
  define('DW_TIME_LIMIT', 86400); // 1 day
84
  define('DW_URL_AUTHOR', 'http://www.qurl.nl');
85
+ define('DW_VERSION', '1.5.13');
86
  define('DW_WPML_API', '/inc/wpml-api.php'); // WPML Plugin support - API file relative to ICL_PLUGIN_PATH
87
  define('DW_WPML_ICON', 'img/wpml_icon.png'); // WPML Plugin support - WPML icon
88
 
103
 
104
  $query = "CREATE TABLE IF NOT EXISTS " . $dbtable . " (
105
  id int(11) NOT NULL auto_increment,
106
+ widget_id varchar(100) NOT NULL,
107
+ maintype varchar(100) NOT NULL,
108
+ `name` varchar(100) NOT NULL,
109
  `value` longtext NOT NULL,
110
  PRIMARY KEY (id),
111
  KEY widget_id (widget_id,maintype)
171
  $wpdb->query($query);
172
  }
173
 
174
+ /*
175
+ * 1.5.12.1 > All needs to widen up again. Moved it all to 100
176
+ */
177
+ if ( version_compare($version, '1.5.12.1', '<') ) {
178
+ $query = "ALTER TABLE " . $dbtable . " CHANGE `widget_id` `widget_id` VARCHAR(100) NOT NULL";
179
+ $wpdb->query($query);
180
+
181
+ $query = "ALTER TABLE " . $dbtable . " CHANGE `maintype` `maintype` VARCHAR(100)";
182
+ $wpdb->query($query);
183
+
184
+ $query = "ALTER TABLE " . $dbtable . " CHANGE `name` `name` VARCHAR(100)";
185
+ $wpdb->query($query);
186
+ }
187
+
188
  }
189
  update_option('dynwid_version', DW_VERSION);
190
  }
991
  add_action('admin_action_dynwid_uninstall', 'dynwid_uninstall');
992
  add_action('init', 'dynwid_init');
993
  register_activation_hook(__FILE__, 'dynwid_install');
994
+ ?>
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 1474291 2016-08-14 20:35:12Z qurl $
6
  * @copyright 2011 Jacco Drabbe
7
  */
8
 
@@ -408,6 +408,11 @@ div.settingbox {
408
  $DW_URL->admin();
409
  }
410
 
 
 
 
 
 
411
  if ( array_key_exists('shortcode', $DW->dwoptions) ) {
412
  $DW_URL = new DW_Shortcode();
413
  $DW_URL->admin();
2
  /**
3
  * dynwid_admin_edit.php - Options settings
4
  *
5
+ * @version $Id: dynwid_admin_edit.php 1698398 2017-07-18 19:34:08Z qurl $
6
  * @copyright 2011 Jacco Drabbe
7
  */
8
 
408
  $DW_URL->admin();
409
  }
410
 
411
+ if ( array_key_exists('domain', $DW->dwoptions) ) {
412
+ $DW_Domain = new DW_Domain();
413
+ $DW_Domain->admin();
414
+ }
415
+
416
  if ( array_key_exists('shortcode', $DW->dwoptions) ) {
417
  $DW_URL = new DW_Shortcode();
418
  $DW_URL->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 1474291 2016-08-14 20:35:12Z qurl $
6
  * @copyright 2011 Jacco Drabbe
7
  */
8
 
@@ -71,6 +71,12 @@
71
  die();
72
  }
73
 
 
 
 
 
 
 
74
  // IP
75
  if ( $_POST['ip'] == 'no' && empty($_POST['ip_value']) ) {
76
  wp_redirect( $_SERVER['REQUEST_URI'] . '&work=none' );
@@ -163,6 +169,27 @@
163
  }
164
  }
165
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  // IP
167
  if (! empty($_POST['ip_value']) ) {
168
  $ips = array();
2
  /**
3
  * dynwid_admin_save.php - Saving options to the database
4
  *
5
+ * @version $Id: dynwid_admin_save.php 1698398 2017-07-18 19:34:08Z qurl $
6
  * @copyright 2011 Jacco Drabbe
7
  */
8
 
71
  die();
72
  }
73
 
74
+ // Domain
75
+ if ( $_POST['domain'] == 'no' && empty($_POST['domain_value']) ) {
76
+ wp_redirect( $_SERVER['REQUEST_URI'] . '&work=none' );
77
+ die();
78
+ }
79
+
80
  // IP
81
  if ( $_POST['ip'] == 'no' && empty($_POST['ip_value']) ) {
82
  wp_redirect( $_SERVER['REQUEST_URI'] . '&work=none' );
169
  }
170
  }
171
 
172
+ // URL
173
+ if (! empty($_POST['domain_value']) ) {
174
+ $domains = array();
175
+
176
+ $domain_values = trim($_POST['domain_value']);
177
+ $domain_values = str_replace("\r", "", $domain_values);
178
+ $domain_values = explode("\n", $domain_values);
179
+
180
+ foreach ( $domain_values as $domain ) {
181
+ $url = trim($domain);
182
+ if (! empty($domain) ) {
183
+ $domains[ ] = $domain;
184
+ }
185
+ }
186
+
187
+ if ( count($domains) > 0 ) {
188
+ $DW->addDomains($widget_id, $_POST['domain'], $domains);
189
+ }
190
+ }
191
+
192
+
193
  // IP
194
  if (! empty($_POST['ip_value']) ) {
195
  $ips = array();
dynwid_init_worker.php CHANGED
@@ -2,14 +2,14 @@
2
  /**
3
  * dynwid_init_worker.php
4
  *
5
- * @version $Id: dynwid_init_worker.php 1095126 2015-02-20 12:59:35Z qurl $
6
  * @copyright 2011 Jacco Drabbe
7
  */
8
-
9
  defined('ABSPATH') or die("No script kiddies please!");
10
 
11
  $DW->message('Dynamic Widgets INIT');
12
- echo "\n" . '<!-- Dynamic Widgets by QURL - http://www.qurl.nl //-->' . "\n";
13
 
14
  // Register the overrule maintypes
15
  $DW->registerOverrulers();
@@ -17,8 +17,8 @@
17
 
18
  // UserAgent detection
19
  $DW->message('UserAgent: ' . $DW->useragent);
20
-
21
- //IP
22
  $DW->message('IP: ' . $DW->ip_address);
23
 
24
  $DW->message('Today it is ' . date('l', current_time('timestamp', 0)) . ' (' . date('N', current_time('timestamp', 0)) . '), Week: ' . date('W', current_time('timestamp', 0)));
@@ -28,6 +28,7 @@
28
  $DW->whereami = $DW->detectPage();
29
  $DW->message('Page is ' . $DW->whereami);
30
  $DW->message('Path URL is ' . $DW->url);
 
31
  $DW->message('Prefix is ' . $DW->getURLPrefix());
32
 
33
  if ( $DW->whereami == 'single' ) {
2
  /**
3
  * dynwid_init_worker.php
4
  *
5
+ * @version $Id: dynwid_init_worker.php 1698398 2017-07-18 19:34:08Z qurl $
6
  * @copyright 2011 Jacco Drabbe
7
  */
8
+
9
  defined('ABSPATH') or die("No script kiddies please!");
10
 
11
  $DW->message('Dynamic Widgets INIT');
12
+ echo "\n" . '<!-- Dynamic Widgets by QURL loaded - http://www.dynamic-widgets.com //-->' . "\n";
13
 
14
  // Register the overrule maintypes
15
  $DW->registerOverrulers();
17
 
18
  // UserAgent detection
19
  $DW->message('UserAgent: ' . $DW->useragent);
20
+
21
+ //IP
22
  $DW->message('IP: ' . $DW->ip_address);
23
 
24
  $DW->message('Today it is ' . date('l', current_time('timestamp', 0)) . ' (' . date('N', current_time('timestamp', 0)) . '), Week: ' . date('W', current_time('timestamp', 0)));
28
  $DW->whereami = $DW->detectPage();
29
  $DW->message('Page is ' . $DW->whereami);
30
  $DW->message('Path URL is ' . $DW->url);
31
+ $DW->message('Host name is ' . $DW->hostname);
32
  $DW->message('Prefix is ' . $DW->getURLPrefix());
33
 
34
  if ( $DW->whereami == 'single' ) {
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 1474291 2016-08-14 20:35:12Z qurl $
6
  * @copyright 2011 Jacco Drabbe
7
  */
8
 
@@ -179,7 +179,7 @@
179
  if ( $condition->maintype == 'browser' && $condition->name == $DW->useragent ) {
180
  (bool) $browser_tmp = $condition->value;
181
  } else if ( $condition->maintype == 'device' && $condition->name == $DW->device ) {
182
- (bool) $device_tmp = $condition->value;
183
  } else if ( $condition->maintype == 'tpl' && $condition->name == $DW->template ) {
184
  (bool) $tpl_tmp = $condition->value;
185
  } else if ( $condition->maintype == 'day' && $condition->name == date('N', current_time('timestamp', 0)) ) {
@@ -187,43 +187,54 @@
187
  } else if ( $condition->maintype == 'week' && $condition->name == date('W', current_time('timestamp', 0)) ) {
188
  (bool) $week_tmp = $condition->value;
189
  } else if ( $condition->maintype == 'url' && $condition->name == 'url' ) {
190
- $urls = unserialize($condition->value);
191
- $other_url = ( $url ) ? FALSE : TRUE;
192
- foreach ( $urls as $u ) {
193
- $u = $DW->getURLPrefix() . $u;
194
- $DW->message('URL matching: ' . $u);
195
- $like_start = substr($u, 0, 1);
196
- $like_end = substr($u, -1);
197
-
198
- if ( $like_start == '*' && $like_end == '*' ) {
199
- $u = substr($u, 1, strlen($u) - 2);
200
- if ( stristr($DW->url, $u) !== FALSE ) {
201
- $DW->message('Anywhere within URL found');
202
- $url_tmp = $other_url;
203
- }
204
- } else if ( $like_end == '*' ) {
205
- $u = substr($u, 0, strlen($u) - 1);
206
- $u = addcslashes($u, '/?+.[]{}*^$');
207
-
208
- if ( preg_match('/^' . $u . '/', $DW->url) ) {
209
- $DW->message('Starts with URL found');
210
- $url_tmp = $other_url;
211
- }
212
- } else if ( $like_start == '*' ) {
213
- $u = substr($u, 1);
214
- $u = addcslashes($u, '/?+.[]{}*^$');
215
-
216
- if ( preg_match('/' . $u . '$/', $DW->url) ) {
217
- $DW->message('Ends with URL found');
218
- $url_tmp = $other_url;
219
- }
220
- } else {
221
- if ( $DW->url == $u ) {
222
- $DW->message('Exact match URL found');
223
- $url_tmp = $other_url;
224
- }
225
- }
226
- }
 
 
 
 
 
 
 
 
 
 
 
227
  } else if ( $condition->maintype == 'ip' && $condition->name == 'ip' && ! is_null($DW->ip_address) ) {
228
  $ips = unserialize($condition->value);
229
  $other_ip = ( $ip ) ? FALSE : TRUE;
@@ -262,11 +273,11 @@
262
  }
263
  unset($browser_tmp);
264
 
265
- if ( isset($device_tmp) && $device_tmp != $device ) {
266
- $DW->message('Exception triggered for device, sets display to ' . ( ($device_tmp) ? 'TRUE' : 'FALSE' ) . ' (rule ED1)');
267
- $device = $device_tmp;
268
- }
269
- unset($device_tmp);
270
 
271
  if ( isset($tpl_tmp) && $tpl_tmp != $tpl ) {
272
  $DW->message('Exception triggered for template, sets display to ' . ( ($tpl_tmp) ? 'TRUE' : 'FALSE' ) . ' (rule ETPL1)');
@@ -292,6 +303,12 @@
292
  }
293
  unset($url_tmp, $other_url);
294
 
 
 
 
 
 
 
295
  if ( isset($ip_tmp) && $ip_tmp != $ip ) {
296
  $DW->message('Exception triggered for ip, sets display to ' . ( ($ip_tmp) ? 'TRUE' : 'FALSE' ) . ' (rule EIP1)');
297
  $ip = $ip_tmp;
@@ -854,7 +871,7 @@
854
  if ( $display ) {
855
  foreach ( $DW->overrule_maintype as $mt ) {
856
  if (! $$mt ) {
857
- $display = FALSE;
858
  break;
859
  }
860
  }
2
  /**
3
  * dynwid_worker.php - The worker does the actual work.
4
  *
5
+ * @version $Id: dynwid_worker.php 1698398 2017-07-18 19:34:08Z qurl $
6
  * @copyright 2011 Jacco Drabbe
7
  */
8
 
179
  if ( $condition->maintype == 'browser' && $condition->name == $DW->useragent ) {
180
  (bool) $browser_tmp = $condition->value;
181
  } else if ( $condition->maintype == 'device' && $condition->name == $DW->device ) {
182
+ (bool) $device_tmp = $condition->value;
183
  } else if ( $condition->maintype == 'tpl' && $condition->name == $DW->template ) {
184
  (bool) $tpl_tmp = $condition->value;
185
  } else if ( $condition->maintype == 'day' && $condition->name == date('N', current_time('timestamp', 0)) ) {
187
  } else if ( $condition->maintype == 'week' && $condition->name == date('W', current_time('timestamp', 0)) ) {
188
  (bool) $week_tmp = $condition->value;
189
  } else if ( $condition->maintype == 'url' && $condition->name == 'url' ) {
190
+ $urls = unserialize($condition->value);
191
+ $other_url = ( $url ) ? FALSE : TRUE;
192
+ foreach ( $urls as $u ) {
193
+ $u = $DW->getURLPrefix() . $u;
194
+ $DW->message('URL matching: ' . $u);
195
+ $like_start = substr($u, 0, 1);
196
+ $like_end = substr($u, -1);
197
+
198
+ if ( $like_start == '*' && $like_end == '*' ) {
199
+ $u = substr($u, 1, strlen($u) - 2);
200
+ if ( stristr($DW->url, $u) !== FALSE ) {
201
+ $DW->message('Anywhere within URL found');
202
+ $url_tmp = $other_url;
203
+ }
204
+ } else if ( $like_end == '*' ) {
205
+ $u = substr($u, 0, strlen($u) - 1);
206
+ $u = addcslashes($u, '/?+.[]{}*^$');
207
+
208
+ if ( preg_match('/^' . $u . '/', $DW->url) ) {
209
+ $DW->message('Starts with URL found');
210
+ $url_tmp = $other_url;
211
+ }
212
+ } else if ( $like_start == '*' ) {
213
+ $u = substr($u, 1);
214
+ $u = addcslashes($u, '/?+.[]{}*^$');
215
+
216
+ if ( preg_match('/' . $u . '$/', $DW->url) ) {
217
+ $DW->message('Ends with URL found');
218
+ $url_tmp = $other_url;
219
+ }
220
+ } else {
221
+ if ( $DW->url == $u ) {
222
+ $DW->message('Exact match URL found');
223
+ $url_tmp = $other_url;
224
+ }
225
+ }
226
+ }
227
+ } else if ( $condition->maintype == 'domain' && $condition->name == 'domain' ) {
228
+ $domains = unserialize($condition->value);
229
+ $other_domain = ( $domain ) ? FALSE : TRUE;
230
+
231
+ foreach ( $domains as $domain ) {
232
+ if ( $DW->hostname == $domain ) {
233
+ $domain_tmp = $other_domain;
234
+ $DW->message('Flip switch for domain to ' . ( ($domain_tmp) ? 'TRUE' : 'FALSE' ));
235
+ }
236
+ }
237
+
238
  } else if ( $condition->maintype == 'ip' && $condition->name == 'ip' && ! is_null($DW->ip_address) ) {
239
  $ips = unserialize($condition->value);
240
  $other_ip = ( $ip ) ? FALSE : TRUE;
273
  }
274
  unset($browser_tmp);
275
 
276
+ if ( isset($device_tmp) && $device_tmp != $device ) {
277
+ $DW->message('Exception triggered for device, sets display to ' . ( ($device_tmp) ? 'TRUE' : 'FALSE' ) . ' (rule ED1)');
278
+ $device = $device_tmp;
279
+ }
280
+ unset($device_tmp);
281
 
282
  if ( isset($tpl_tmp) && $tpl_tmp != $tpl ) {
283
  $DW->message('Exception triggered for template, sets display to ' . ( ($tpl_tmp) ? 'TRUE' : 'FALSE' ) . ' (rule ETPL1)');
303
  }
304
  unset($url_tmp, $other_url);
305
 
306
+ if ( isset($domain_tmp) && $domain_tmp != $domain ) {
307
+ $DW->message('Exception triggered for domain, sets display to ' . ( ($domain_tmp) ? 'TRUE' : 'FALSE' ) . ' (rule EDMN1)');
308
+ $domain = $domain_tmp;
309
+ }
310
+ unset($domain_tmp, $other_domain);
311
+
312
  if ( isset($ip_tmp) && $ip_tmp != $ip ) {
313
  $DW->message('Exception triggered for ip, sets display to ' . ( ($ip_tmp) ? 'TRUE' : 'FALSE' ) . ' (rule EIP1)');
314
  $ip = $ip_tmp;
871
  if ( $display ) {
872
  foreach ( $DW->overrule_maintype as $mt ) {
873
  if (! $$mt ) {
874
+ $display = FALSE;
875
  break;
876
  }
877
  }
locale/dynamic-widgets_sk_SK.mo ADDED
Binary file
locale/dynamic-widgets_sk_SK.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: 2013-01-22 14:37+0300\n"
7
+ "Last-Translator: Serg\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
+ "Language: en\n"
16
+ "X-Generator: Poedit 1.5.4\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # WordPress MO
20
+ #: ../dynwid_class_php4.php:164 ../dynwid_class.php:149
21
+ msgid "Role"
22
+ msgstr "Úlohu"
23
+
24
+ # WordPress MO
25
+ #: ../dynwid_class_php4.php:165 ../dynwid_class.php:150
26
+ msgid "Date"
27
+ msgstr "Dátum"
28
+
29
+ #: ../dynwid_class_php4.php:166 ../dynwid_class.php:151
30
+ msgid "Browser"
31
+ msgstr "Prehliadač"
32
+
33
+ #: ../dynwid_class_php4.php:167 ../dynwid_class.php:152
34
+ msgid "Templates"
35
+ msgstr "Šablóny"
36
+
37
+ #: ../dynwid_class_php4.php:168 ../dynwid_class_php4.php:169
38
+ #: ../dynwid_class.php:153 ../dynwid_class.php:154
39
+ msgid "Language"
40
+ msgstr "Jazyk"
41
+
42
+ #: ../dynwid_class_php4.php:170 ../dynwid_class.php:155
43
+ #: ../mods/frontpage_module.php:13
44
+ msgid "Front Page"
45
+ msgstr "Predná strana"
46
+
47
+ #: ../dynwid_class_php4.php:171 ../dynwid_class.php:156
48
+ #: ../mods/single_module.php:58
49
+ msgid "Single Posts"
50
+ msgstr "Jednotlivých miest"
51
+
52
+ #: ../dynwid_class_php4.php:172 ../dynwid_class.php:157
53
+ #: ../mods/attachment_module.php:12
54
+ msgid "Attachments"
55
+ msgstr "Prílohy"
56
+
57
+ # WordPress MO
58
+ #: ../dynwid_class_php4.php:173 ../dynwid_class.php:158
59
+ msgid "Pages"
60
+ msgstr "Stránky"
61
+
62
+ #: ../dynwid_class_php4.php:174 ../dynwid_class.php:159
63
+ msgid "Author Pages"
64
+ msgstr "Autor stránky"
65
+
66
+ #: ../dynwid_class_php4.php:175 ../dynwid_class.php:160
67
+ #: ../mods/category_module.php:17
68
+ msgid "Category Pages"
69
+ msgstr "Stránky kategórie"
70
+
71
+ #: ../dynwid_class_php4.php:176 ../dynwid_class.php:161
72
+ msgid "Archive Pages"
73
+ msgstr "Archívne stránky"
74
+
75
+ #: ../dynwid_class_php4.php:177 ../dynwid_class.php:162
76
+ #: ../mods/error_module.php:12
77
+ msgid "Error Page"
78
+ msgstr "Chyba stránky"
79
+
80
+ #: ../dynwid_class_php4.php:178 ../dynwid_class.php:163
81
+ msgid "Search page"
82
+ msgstr "Vyhľadávaciu stránku"
83
+
84
+ #: ../dynwid_class_php4.php:179 ../dynwid_class.php:164
85
+ msgid "WPSC Category"
86
+ msgstr "WPSC kategórie"
87
+
88
+ #: ../dynwid_class_php4.php:180 ../dynwid_class.php:165
89
+ msgid "Custom Post Type Archives"
90
+ msgstr "Vlastné Post typ archívy"
91
+
92
+ #: ../dynwid_class_php4.php:181 ../dynwid_class.php:166
93
+ msgid "BuddyPress"
94
+ msgstr "BuddyPress"
95
+
96
+ #: ../dynwid_class_php4.php:182 ../dynwid_class.php:167
97
+ msgid "BuddyPress Groups"
98
+ msgstr "BuddyPress skupín"
99
+
100
+ #: ../dynwid_admin.php:19 ../dynamic-widgets.php:152
101
+ #: ../dynamic-widgets.php:175 ../dynamic-widgets.php:281
102
+ #: ../dynamic-widgets.php:680
103
+ msgid "Dynamic Widgets"
104
+ msgstr "Dynamické widgety"
105
+
106
+ #: ../dynwid_admin.php:26
107
+ msgid ""
108
+ "<b>WARNING</b> STRICT sql mode in effect. Dynamic Widgets might not work "
109
+ "correctly. Please disable STRICT sql mode."
110
+ msgstr ""
111
+ "<b>Upozornenie</b> PRÍSNE sql režime v platnosti. Dynamické widgety nemusia "
112
+ "pracovať správne. Vypnite režim prísne sql."
113
+
114
+ #: ../dynwid_admin.php:46
115
+ msgid "Oops! Something went terrible wrong. Please reinstall Dynamic Widgets."
116
+ msgstr "Jejda! Išiel niečo strašné zle. Reinštalujte dynamické widgety."
117
+
118
+ #: ../dynwid_admin.php:54 ../dynwid_admin_overview.php:20
119
+ msgid "OLD"
120
+ msgstr "STARÉ"
121
+
122
+ #: ../dynwid_admin.php:54 ../dynwid_admin_overview.php:20
123
+ msgid "FILTER"
124
+ msgstr "FILTER"
125
+
126
+ #: ../dynamic-widgets.php:160
127
+ msgid "Widgets are always displayed by default"
128
+ msgstr "Widgety sú vždy zobrazené v predvolenom nastavení"
129
+
130
+ #: ../dynamic-widgets.php:160
131
+ msgid "The '<em>Yes</em>' selection"
132
+ msgstr "Výber &quot;<em>Áno</em>&quot;"
133
+
134
+ #: ../dynamic-widgets.php:161
135
+ msgid "Click on the"
136
+ msgstr "Kliknite na"
137
+
138
+ #: ../dynamic-widgets.php:161
139
+ msgid "next to the options for more info"
140
+ msgstr "ďalšie možnosti pre viac info"
141
+
142
+ #: ../dynamic-widgets.php:162
143
+ msgid "The"
144
+ msgstr "The"
145
+
146
+ #: ../dynamic-widgets.php:162
147
+ msgid "next to a section means it has options set."
148
+ msgstr "vedľa časti prostriedok má možnosti nastaviť."
149
+
150
+ #: ../dynamic-widgets.php:164 ../dynamic-widgets.php:165
151
+ #: ../dynamic-widgets.php:168 ../dynamic-widgets.php:682
152
+ #: ../dynwid_admin_overview.php:85
153
+ msgid "Static"
154
+ msgstr "Statické"
155
+
156
+ #: ../dynamic-widgets.php:164 ../dynamic-widgets.php:166
157
+ #: ../dynamic-widgets.php:682 ../dynwid_admin_overview.php:85
158
+ msgid "Dynamic"
159
+ msgstr "Dynamické"
160
+
161
+ #: ../dynamic-widgets.php:165
162
+ msgid "When a widget is"
163
+ msgstr "Kedy je widget"
164
+
165
+ #: ../dynamic-widgets.php:165
166
+ msgid ""
167
+ "the widget uses the WordPress default. In other words, it's shown everywhere"
168
+ msgstr "widget má prednastavenú WordPress. Inými slovami, že dokázané všade"
169
+
170
+ #: ../dynamic-widgets.php:166
171
+ msgid "A widget is"
172
+ msgstr "Widget je"
173
+
174
+ #: ../dynamic-widgets.php:166
175
+ msgid "when there are options set, i.e. not showing on the front page."
176
+ msgstr "keď tam sú nastavené možnosti, t. j. nie ukazovať na prednej strane."
177
+
178
+ #: ../dynamic-widgets.php:167 ../dynwid_admin_overview.php:79
179
+ msgid "Reset"
180
+ msgstr "Reset"
181
+
182
+ #: ../dynamic-widgets.php:168
183
+ msgid "Reset makes the widget return to"
184
+ msgstr "Reset robí widget návrat do"
185
+
186
+ # WordPress MO
187
+ #: ../dynamic-widgets.php:234
188
+ msgid "Settings"
189
+ msgstr "Nastavenia"
190
+
191
+ #: ../dynamic-widgets.php:248
192
+ msgid "Apply exception rule to widgets:"
193
+ msgstr "Uplatňovať výnimka pravidlo widgety:"
194
+
195
+ #: ../dynamic-widgets.php:264 ../dynamic-widgets.php:298
196
+ msgid "Off"
197
+ msgstr "Off"
198
+
199
+ #: ../dynamic-widgets.php:264 ../dynamic-widgets.php:298
200
+ msgid "On"
201
+ msgstr "Na"
202
+
203
+ #: ../dynamic-widgets.php:265
204
+ msgid " (Default: "
205
+ msgstr " (Predvolené: "
206
+
207
+ #: ../dynamic-widgets.php:299
208
+ msgid "Default"
209
+ msgstr "Predvolené"
210
+
211
+ #: ../dynamic-widgets.php:359
212
+ msgid "Dynamic Widgets Options saved"
213
+ msgstr "Dynamické widgety nastavenia uložené"
214
+
215
+ #: ../dynamic-widgets.php:360
216
+ msgid "for"
217
+ msgstr "pre"
218
+
219
+ #: ../dynamic-widgets.php:681
220
+ msgid "Edit Dynamic Widgets Options"
221
+ msgstr "Upraviť dynamické widgetov možnosti"
222
+
223
+ #: ../dynamic-widgets.php:706
224
+ msgid "and"
225
+ msgstr "a"
226
+
227
+ #: ../dynamic-widgets.php:712
228
+ msgid "Options set for"
229
+ msgstr "Možnosti pre"
230
+
231
+ #: ../dynamic-widgets.php:712
232
+ msgid "Option set for"
233
+ msgstr "Možnosť nastaviť pre"
234
+
235
+ #: ../dynwid_admin_edit.php:118
236
+ msgid "Widget options saved."
237
+ msgstr "Widget nastavenia uložené."
238
+
239
+ #: ../dynwid_admin_edit.php:119 ../dynwid_admin_edit.php:194
240
+ msgid "Return"
241
+ msgstr "Návrat"
242
+
243
+ #: ../dynwid_admin_edit.php:119
244
+ msgid "to Dynamic Widgets overview"
245
+ msgstr "na dynamické widgety prehľad"
246
+
247
+ #: ../dynwid_admin_edit.php:123
248
+ msgid "Dynamic does not mean static hiding of a widget."
249
+ msgstr "Dynamické neznamená statické skrytie widget."
250
+
251
+ #: ../dynwid_admin_edit.php:123
252
+ msgid "Hint"
253
+ msgstr "Tip"
254
+
255
+ #: ../dynwid_admin_edit.php:123
256
+ msgid "Remove"
257
+ msgstr "Odstrániť"
258
+
259
+ #: ../dynwid_admin_edit.php:123
260
+ msgid "the widget from the sidebar"
261
+ msgstr "widget z bočného panela"
262
+
263
+ #: ../dynwid_admin_edit.php:128
264
+ msgid "The From date can't be later than the To date."
265
+ msgstr "Počiatočný dátum nesmie byť neskorší ako dátum do."
266
+
267
+ #: ../dynwid_admin_edit.php:134
268
+ msgid "Edit options for the widget"
269
+ msgstr "Upraviť možnosti widget"
270
+
271
+ #: ../dynwid_admin_edit.php:138
272
+ msgid "Quick settings"
273
+ msgstr "Rýchle nastavenia"
274
+
275
+ #: ../dynwid_admin_edit.php:140
276
+ msgid "Set all options to 'No'"
277
+ msgstr "Nastaviť všetky možnosti na &quot;Nie&quot;"
278
+
279
+ #: ../dynwid_admin_edit.php:140
280
+ msgid "Except overriding options like Role, Date, etc."
281
+ msgstr "Okrem vyššieho možnosti ako úlohu, dátum, atď."
282
+
283
+ # WordPress MO
284
+ #: ../dynwid_admin_edit.php:190 ../dynwid_admin_overview.php:140
285
+ msgid "Save"
286
+ msgstr "Uložiť"
287
+
288
+ #: ../dynwid_admin_overview.php:20
289
+ msgid "Method set to"
290
+ msgstr "Metóda nastavená na hodnotu"
291
+
292
+ #: ../dynwid_admin_overview.php:28
293
+ msgid "Page limit set to"
294
+ msgstr "Stránka limit nastavený"
295
+
296
+ #: ../dynwid_admin_overview.php:31
297
+ msgid "ERROR"
298
+ msgstr "CHYBA"
299
+
300
+ #: ../dynwid_admin_overview.php:31
301
+ msgid "is not a valid limit."
302
+ msgstr "nie je platný limit."
303
+
304
+ #: ../dynwid_admin_overview.php:40
305
+ msgid "Widget options have been reset to default."
306
+ msgstr "Widget možnosti boli vynulované na predvolenú hodnotu."
307
+
308
+ #: ../dynwid_admin_overview.php:48
309
+ msgid "Inactive Widgets"
310
+ msgstr "Neaktívne widgety"
311
+
312
+ #: ../dynwid_admin_overview.php:71 ../dynwid_admin_overview.php:74
313
+ msgid "Edit this widget options"
314
+ msgstr "Tento widget možnosti editovania"
315
+
316
+ # WordPress MO
317
+ #: ../dynwid_admin_overview.php:74
318
+ msgid "Edit"
319
+ msgstr "Upraviť"
320
+
321
+ #: ../dynwid_admin_overview.php:79
322
+ msgid "Reset widget to Static"
323
+ msgstr "Statické obnoviť widget"
324
+
325
+ #: ../dynwid_admin_overview.php:100
326
+ msgid "Advanced"
327
+ msgstr "Pokročilé"
328
+
329
+ #: ../dynwid_admin_overview.php:105
330
+ msgid "wp_head() check:"
331
+ msgstr "kontrola wp_head():"
332
+
333
+ #: ../dynwid_admin_overview.php:110
334
+ msgid "wp_head() is NOT called (at the most obvious place)"
335
+ msgstr "wp_head() nie je len (na najzrejmejšími miesto)"
336
+
337
+ #: ../dynwid_admin_overview.php:114
338
+ msgid "wp_head() is called"
339
+ msgstr "wp_head() sa nazýva"
340
+
341
+ #: ../dynwid_admin_overview.php:118
342
+ msgid "Unable to determine if wp_head() is called"
343
+ msgstr "Nedá sa určiť, ak wp_head() sa nazýva"
344
+
345
+ #: ../dynwid_admin_overview.php:130
346
+ msgid "Use 'OLD' method"
347
+ msgstr "Použite &quot;Staré&quot; metóda"
348
+
349
+ #: ../dynwid_admin_overview.php:140
350
+ msgid "Page limit"
351
+ msgstr "Limit strany"
352
+
353
+ #: ../dynwid_admin_overview.php:142
354
+ msgid ""
355
+ "The page limit sets the limit of number of pages to prevent a timeout when "
356
+ "building the hierarchical tree. When the number of pages is above this "
357
+ "limit, a flat list will be displayed which is less time consuming."
358
+ msgstr ""
359
+ "Stránka limit nastavuje maximálny počet strán zabrániť timeout pri vytváraní "
360
+ "hierarchického stromu. Ak počet strán nad tento limit, zobrazia sa plochý "
361
+ "zoznam, ktorý je menej časovo náročné."
362
+
363
+ #: ../dynwid_admin_overview.php:144
364
+ msgid "Currently the number of pages is"
365
+ msgstr "V súčasnosti je počet strán"
366
+
367
+ #: ../dynwid_admin_overview.php:151
368
+ msgid ""
369
+ "When upgrading to WPEC 3.8 the Dynamic Widgets rules for WPEC are lost. The "
370
+ "WPEC dump gives you an overview of the rules before the update."
371
+ msgstr ""
372
+ "Pri inovácii na WPEC 3.8 dynamické widgety pravidlá WPEC sa stratia. WPEC "
373
+ "výpis poskytuje prehľad pravidiel pred aktualizáciou."
374
+
375
+ #: ../dynwid_admin_overview.php:152
376
+ msgid "WARNING"
377
+ msgstr "UPOZORNENIE"
378
+
379
+ #: ../dynwid_admin_overview.php:152
380
+ msgid ""
381
+ "This only works correct when you did not add or change anything in the "
382
+ "Dynamic Widgets rules."
383
+ msgstr ""
384
+ "Len to funguje správne, keď ste nie pridať alebo zmeniť niečo v pravidlách "
385
+ "dynamické widgety."
386
+
387
+ #: ../dynwid_admin_overview.php:157
388
+ msgid "Create WPEC dump"
389
+ msgstr "Vytvoriť WPEC výpisu"
390
+
391
+ #: ../dynwid_admin_overview.php:164
392
+ msgid ""
393
+ "For debugging purposes it is possible you're asked to create a dump. Click "
394
+ "the 'Create dump' button and save the text file."
395
+ msgstr ""
396
+ "Pre úèely ladenia aplikácií je možné ste požiadaní vytvoriť výpis. Kliknite "
397
+ "na tlačidlo &quot;Vytvoriť výpisem&quot; a uložte textový súbor."
398
+
399
+ #: ../dynwid_admin_overview.php:169
400
+ msgid "Create dump"
401
+ msgstr "Vytvorenie výpisu"
402
+
403
+ #: ../dynwid_admin_overview.php:176
404
+ msgid ""
405
+ "When you deceide not to use this plugin anymore (sorry to hear that!). You "
406
+ "can cleanup all settings and data related to this plugin by clicking on the "
407
+ "'Uninstall' button. This process is irreversible! After the cleanup the "
408
+ "plugin is deactivated automaticly."
409
+ msgstr ""
410
+ "Keď ste deceide Nepoužívať tento plugin už (Ospravedlňujem sa počuť, že!). "
411
+ "Môžete vyčistenie všetkých nastavení a údajov súvisiace tento plugin "
412
+ "kliknutím na tlačidlo &quot;Odinštalovať&quot;. Tento proces je nezvratný! "
413
+ "Po cleanup je automaticky deaktivovaný plugin."
414
+
415
+ #: ../dynwid_admin_overview.php:181
416
+ msgid "Uninstall"
417
+ msgstr "Odinštalovať"
418
+
419
+ #: ../mods/search_module.php:13
420
+ msgid "Search Page"
421
+ msgstr "Vyhľadávaciu stránku"
422
+
423
+ #: ../mods/search_module.php:15
424
+ msgid "Show widget on the search page?"
425
+ msgstr "Zobraziť widget na stránke vyhľadávania?"
426
+
427
+ # WordPress MO
428
+ #: ../mods/search_module.php:17 ../mods/qtranslate_module.php:31
429
+ #: ../mods/category_module.php:21 ../mods/single_module.php:69
430
+ #: ../mods/attachment_module.php:16 ../mods/error_module.php:16
431
+ #: ../mods/frontpage_module.php:24
432
+ msgid "Yes"
433
+ msgstr "áno"
434
+
435
+ # WordPress MO
436
+ #: ../mods/search_module.php:18 ../mods/qtranslate_module.php:32
437
+ #: ../mods/category_module.php:22 ../mods/single_module.php:70
438
+ #: ../mods/attachment_module.php:17 ../mods/error_module.php:17
439
+ #: ../mods/frontpage_module.php:25
440
+ msgid "No"
441
+ msgstr "nie"
442
+
443
+ #: ../mods/qtranslate_module.php:22
444
+ msgid "Language (QT)"
445
+ msgstr "Jazyk (QT)"
446
+
447
+ #: ../mods/qtranslate_module.php:24
448
+ msgid "Show widget default on all languages?"
449
+ msgstr "Zobraziť predvolené widget na všetky jazyky?"
450
+
451
+ #: ../mods/qtranslate_module.php:24 ../mods/single_module.php:60
452
+ #: ../mods/single_module.php:74
453
+ msgid "Click to toggle info"
454
+ msgstr "Kliknutím prepnúť info"
455
+
456
+ #: ../mods/qtranslate_module.php:28
457
+ msgid "Using this option can override all other options."
458
+ msgstr "Pomocou tejto možnosti môžete prepísať všetky ostatné možnosti."
459
+
460
+ #: ../mods/qtranslate_module.php:33
461
+ msgid "Except the languages"
462
+ msgstr "Okrem jazykov"
463
+
464
+ #: ../mods/category_module.php:19
465
+ msgid "Show widget default on category pages?"
466
+ msgstr "Predvolené widget Ukázať na stránky kategórie?"
467
+
468
+ #: ../mods/category_module.php:23
469
+ msgid "Except the categories"
470
+ msgstr "Okrem kategórií"
471
+
472
+ #: ../mods/single_module.php:52
473
+ msgid "Posts: "
474
+ msgstr "Príspevky: "
475
+
476
+ #: ../mods/single_module.php:52
477
+ msgid "Tags: "
478
+ msgstr "Tagy: "
479
+
480
+ #: ../mods/single_module.php:60
481
+ msgid "Show widget default on single posts?"
482
+ msgstr "Zobraziť predvolené widget na jednotlivých miest?"
483
+
484
+ #: ../mods/single_module.php:64
485
+ msgid ""
486
+ "When you use an author <b>AND</b> a category exception, both rules in the "
487
+ "condition must be met. Otherwise the exception rule won't be applied.\n"
488
+ " \t\t\t\t\tIf you want to use the rules in a logical OR condition. Add the "
489
+ "same widget again and apply the other rule to that.\n"
490
+ " \t\t\t\t\t"
491
+ msgstr ""
492
+ "Pri použití autor <b>a</b> kategórie výnimka, musia byť splnené obe pravidlá "
493
+ "v stave. Inak nebude uplatňovať výnimka pravidlo. \n"
494
+ " \"t\"t\"t\"t\"tIf chcete použiť pravidlá v logickú OR. Pridať rovnaký "
495
+ "widget znova a použiť iné pravidlo na ktoré. \n"
496
+ " \"t\"t\"t\"t\"t"
497
+
498
+ #: ../mods/single_module.php:73
499
+ msgid "Make exception rule available to individual posts and tags."
500
+ msgstr "Aby výnimka pravidlo k dispozícii jednotlivé príspevky a Tagy."
501
+
502
+ #: ../mods/single_module.php:77
503
+ msgid ""
504
+ "When you enable this option, you have the ability to apply the exception "
505
+ "rule for <em>Single Posts</em> to tags and individual posts.\n"
506
+ "\t\t\t\t\t\tYou can set the exception rule for tags in the single Edit Tag "
507
+ "Panel (go to <a href=\"edit-tags.php?taxonomy=post_tag\">Post Tags</a>,\n"
508
+ "\t\t\t\t\t\tclick a tag), For individual posts in the <a href=\"post-new.php"
509
+ "\">New</a> or <a href=\"edit.php\">Edit</a> Posts panel.\n"
510
+ "\t\t\t\t\t\tException rules for tags and individual posts in any combination "
511
+ "work independantly, but will always be counted as one exception.<br />\n"
512
+ " \t\t\t\t\tPlease note when exception rules are set for Author and/or "
513
+ "Category, these will be removed.\n"
514
+ " \t\t\t\t"
515
+ msgstr ""
516
+ "Ak zapnete túto možnosť, máte možnosť uplatniť výnimka pravidlo pre "
517
+ "<em>Jediného príspevky</em> Tagy a individuálne príspevky. \n"
518
+ "\"t\"t\"t\"t\"t\"tYou možno nastaviť výnimka pravidlo pre Tagy v jeden "
519
+ "Upraviť značku Panel (prejsť na <a href=&quot;\"edit-tags.php?"
520
+ "taxonomy=post_tag\"&quot;>Príspevok Tagy</a>, \n"
521
+ "\"t\"t\"t\"t\"t\"tclick značku), pre jednotlivé príspevky v <a href=&quot;"
522
+ "\"post-new.php\"&quot;>New</a> alebo <a href=&quot;\"edit.php\"&quot;"
523
+ ">upravovať</a> príspevky panel. \n"
524
+ "\"t\"t\"t\"t\"t\"tException pravidlá pre Tagy a jednotlivé príspevky v "
525
+ "akejkoľvek kombinácii práce samostatne, ale vždy sa bude počítať ako jedna "
526
+ "výnimka.<br>\n"
527
+ " \"t\"t\"t\"t\"tPlease Poznámka Ak výnimkou pravidlá sú nastavené pre "
528
+ "autora a/alebo kategórie, tieto budú odstránené. \n"
529
+ " \"t\"t\"t\"t"
530
+
531
+ #: ../mods/single_module.php:94
532
+ msgid "Except the posts by author"
533
+ msgstr "S výnimkou príspevkov od autora"
534
+
535
+ #: ../mods/single_module.php:105
536
+ msgid "Except the posts in category"
537
+ msgstr "Príspevky v kategórii okrem"
538
+
539
+ #: ../mods/attachment_module.php:14
540
+ msgid "Show widget on attachment pages?"
541
+ msgstr "Zobraziť widget na zablokovanie stránok?"
542
+
543
+ #: ../mods/error_module.php:14
544
+ msgid "Show widget on the error page?"
545
+ msgstr "Zobraziť widget na stránke chybu?"
546
+
547
+ #: ../mods/frontpage_module.php:15
548
+ msgid "Show widget on the front page?"
549
+ msgstr "Zobraziť widget na prednej strane?"
550
+
551
+ #: ../mods/frontpage_module.php:19
552
+ msgid ""
553
+ "This option only applies when your front page is set to display your latest "
554
+ "posts (See Settings &gt; Reading).<br />\n"
555
+ "\t\t\t\t\t\tWhen a static page is set, you can use the options for the "
556
+ "static pages below.\n"
557
+ "\t\t\t\t\t"
558
+ msgstr ""
559
+ "Táto možnosť platí len pri svojej titulnej strane nastavený na zobrazenie "
560
+ "vašej najnovšie príspevky (pozri nastavenia &amp;gt; čítanie).<br>\n"
561
+ "\"t\"t\"t\"t\"t\"tWhen statické stránky nastaviť, môžete použiť možnosti pre "
562
+ "statické stránky nižšie. \n"
563
+ "\"t\"t\"t\"t\"t"
564
+
565
+ #: ../mods/archive_module.php:14
566
+ msgid "Show widget on archive pages?"
567
+ msgstr "Zobraziť widget na archívne stránky?"
568
+
569
+ #: ../mods/archive_module.php:18
570
+ msgid "This option does not include Author and Category Pages."
571
+ msgstr "Táto možnosť nezahŕňa autora a stránky kategórie."
572
+
573
+ #: ../mods/pages_module.php:14
574
+ msgid "The static page module failed to load."
575
+ msgstr "Statická stránka modul sa nepodarilo načítať."
576
+
577
+ #: ../mods/pages_module.php:16
578
+ msgid ""
579
+ "This is probably because building the hierarchical tree took too long.<br /"
580
+ ">Decrease the limit of number of pages in the advanced settings."
581
+ msgstr ""
582
+ "Je to pravdepodobne preto budovanie hierarchického stromu trvalo príliš dlho."
583
+ "<br>Zníženie limitu počtu stránok v pokročilom nastavenia."
584
+
585
+ #: ../mods/pages_module.php:43 ../mods/custompost_module.php:46
586
+ #: ../mods/custompost_module.php:89
587
+ msgid "All childs"
588
+ msgstr "Všetky childs"
589
+
590
+ #: ../mods/pages_module.php:83 ../mods/pages_module.php:86
591
+ msgid "Front page"
592
+ msgstr "Predná strana"
593
+
594
+ #: ../mods/pages_module.php:83 ../mods/pages_module.php:88
595
+ msgid "Posts page"
596
+ msgstr "Príspevky stránku"
597
+
598
+ #: ../mods/pages_module.php:94
599
+ msgid "Show widget default on static pages?"
600
+ msgstr "Zobraziť predvolené widget na statické stránky?"
601
+
602
+ #: ../mods/pages_module.php:101
603
+ msgid ""
604
+ "Checking the \"All childs\" option, makes the exception rule apply\n"
605
+ "\t\t\t\t\tto the parent and all items under it in all levels. Also future "
606
+ "items\n"
607
+ "\t\t\t\t\tunder the parent. It's not possible to apply an exception rule to\n"
608
+ "\t\t\t\t\t\"All childs\" without the parent."
609
+ msgstr ""
610
+ "Kontrola \"All childs\" variant, robí výnimka pravidlo apply\n"
611
+ "\"t\"t\"t\"t\"tto materskej a všetkých položiek pod ňou na všetkých "
612
+ "úrovniach. Aj budúce items\n"
613
+ "\"t\"t\"t\"t\"tunder materskej. Nie je možné uplatňovať výnimka pravidlo to\n"
614
+ "\"t\"t\"t\"t\"t\"All childs\" bez rodiča."
615
+
616
+ #: ../mods/pages_module.php:106
617
+ msgid ""
618
+ "Unfortunately the childs-function has been disabled\n"
619
+ "\t\t\t\t\tbecause you have more than the limit of pages."
620
+ msgstr ""
621
+ "Bohužiaľ funkciu childs bol disabled\n"
622
+ "\"t\"t\"t\"t\"tbecause máte viac než limit stránky."
623
+
624
+ #: ../mods/pages_module.php:116
625
+ msgid "Except the page(s)"
626
+ msgstr "Okrem strany"
627
+
628
+ #: ../mods/author_module.php:24
629
+ msgid "Show widget default on author pages?"
630
+ msgstr "Zobraziť predvolené widget na autorovi stránok?"
631
+
632
+ #: ../mods/author_module.php:28
633
+ msgid "Except the author(s)"
634
+ msgstr "Okrem autorov"
635
+
636
+ #: ../mods/bp_module.php:24
637
+ msgid "Show widget default on BuddyPress pages?"
638
+ msgstr "Zobraziť predvolené widget na BuddyPress stránkach?"
639
+
640
+ #: ../mods/bp_module.php:28
641
+ msgid "Except on the components pages"
642
+ msgstr "Okrem toho na zložky stránkach"
643
+
644
+ #: ../mods/bp_module.php:47
645
+ msgid "Forum Index"
646
+ msgstr "Forum Index"
647
+
648
+ #: ../mods/bp_module.php:48
649
+ msgid "Forum Topics"
650
+ msgstr "Fórum Témy"
651
+
652
+ #: ../mods/bp_module.php:49
653
+ msgid "Members Index"
654
+ msgstr "Členovia Index"
655
+
656
+ #: ../mods/bp_module.php:54
657
+ msgid "Show widget default on BuddyPress Group pages?"
658
+ msgstr "Zobraziť predvolené widget na BuddyPress skupín stránok?"
659
+
660
+ #: ../mods/bp_module.php:61
661
+ msgid "Except in the groups"
662
+ msgstr "Okrem skupiny"
663
+
664
+ #: ../mods/bp_module.php:70
665
+ msgid "Except in the group pages"
666
+ msgstr "Okrem skupiny stránok"
667
+
668
+ # WordPress MO
669
+ #: ../mods/role_module.php:10
670
+ msgid "Anonymous"
671
+ msgstr "Anonymný"
672
+
673
+ #: ../mods/role_module.php:25
674
+ msgid "Show widget to everybody?"
675
+ msgstr "Widget ukázať všetkým?"
676
+
677
+ #: ../mods/role_module.php:29
678
+ msgid ""
679
+ "Setting options by role is very powerfull. It can override all other options!"
680
+ "<br />\n"
681
+ "\t\t\t\t\t\tUsers who are not logged in, get the <em>Anonymous</em> role."
682
+ msgstr ""
683
+ "Nastavenie možností rolou je veľmi silný. To môže prepísať všetky ďalšie "
684
+ "možnosti!<br>\n"
685
+ "\"t\"t\"t\"t\"t\"tUsers ktorí nie sú prihlásení, dostane úlohu <em>Anonym</"
686
+ "em> ."
687
+
688
+ #: ../mods/role_module.php:34
689
+ msgid "only to"
690
+ msgstr "iba"
691
+
692
+ #: ../mods/useragent_module.php:10
693
+ msgid "(and other Gecko based)"
694
+ msgstr "(a ostatné Gecko založené)"
695
+
696
+ #: ../mods/useragent_module.php:17
697
+ msgid "Other / Unknown / Not detected"
698
+ msgstr "Ostatné / neznáme / nebola zistená"
699
+
700
+ #: ../mods/useragent_module.php:28
701
+ msgid "Show widget with all browsers?"
702
+ msgstr "Zobraziť widget so všetkými prehliadačmi?"
703
+
704
+ #: ../mods/useragent_module.php:32
705
+ msgid "Browser detection is never 100% accurate."
706
+ msgstr "Detekcia prehliadača nie je nikdy 100% presné."
707
+
708
+ #: ../mods/useragent_module.php:37
709
+ msgid "Except the browser(s)"
710
+ msgstr "Okrem prehliadač"
711
+
712
+ #: ../mods/tpl_module.php:23
713
+ msgid "Show widget on every template?"
714
+ msgstr "Widget Ukázať na každú šablónu?"
715
+
716
+ #: ../mods/tpl_module.php:27
717
+ msgid ""
718
+ "This options takes precedence above other options like Pages and/or Single "
719
+ "Posts."
720
+ msgstr ""
721
+ "To možnosti má prednosť nad iné možnosti, ako stránky a/alebo jednotlivých "
722
+ "miest."
723
+
724
+ #: ../mods/tpl_module.php:32
725
+ msgid "Except the templates"
726
+ msgstr "Okrem šablón"
727
+
728
+ #: ../mods/tpl_module.php:34
729
+ msgid "Default Template"
730
+ msgstr "Predvolená šablóna"
731
+
732
+ #: ../mods/custompost_module.php:126 ../mods/custompost_module.php:216
733
+ msgid "Show widget on"
734
+ msgstr "Ukázať widget na"
735
+
736
+ #: ../mods/custompost_module.php:136
737
+ msgid ""
738
+ "All exceptions (Titles and Taxonomies) work in a logical OR condition. That "
739
+ "means when one of the exceptions is met, the exception rule is applied."
740
+ msgstr ""
741
+ "Všetky výnimky (tituly a taxonómie) pracovať v logickú OR. To znamená, keď "
742
+ "je splnená jedna z uvedených výnimiek, pravidlo výnimky."
743
+
744
+ #: ../mods/custompost_module.php:143 ../mods/custompost_module.php:178
745
+ #: ../mods/custompost_module.php:227 ../mods/custompost_module.php:260
746
+ msgid "Except for"
747
+ msgstr "S výnimkou"
748
+
749
+ #: ../mods/custompost_module.php:254
750
+ msgid "Show widget on Custom Post Type Archives"
751
+ msgstr "Ukázať widget na vlastné Post typ Archív"
752
+
753
+ #: ../mods/date_module.php:32
754
+ msgid "Show widget always?"
755
+ msgstr "Vždy Ukázať widget?"
756
+
757
+ #: ../mods/date_module.php:36
758
+ msgid ""
759
+ "Next to the above role option, the date option is also very powerfull. "
760
+ "You've been warned!"
761
+ msgstr ""
762
+ "Vedľa možnosti vyššie úlohu data voľba je tiež veľmi silný. Boli ste "
763
+ "varovaní!"
764
+
765
+ #: ../mods/date_module.php:37
766
+ msgid ""
767
+ "Enter dates in the YYYY-MM-DD format. You can also use the calender by "
768
+ "clicking on the"
769
+ msgstr ""
770
+ "Zadať dátumy vo formáte RRRR-MM-DD. Môžete tiež použiť kalendár kliknutím na"
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
+ "Rozsahy dátumov možno podľa zadania z a do dátumu<br>\n"
782
+ "\"t\"t\"t\"t\"tWhen chcete widget zobrazí od určitého dátumu, len vyplniť "
783
+ "dátum od<br>\n"
784
+ " \"t\"t\"t\"t\"tWhen chcete widget pre stopnutie zobrazovaného na konkrétny "
785
+ "dátum, len vyplňte komu dátum. \n"
786
+ " \"t\"t\"t\"t"
787
+
788
+ #: ../mods/date_module.php:45
789
+ msgid "only"
790
+ msgstr "len"
791
+
792
+ #: ../mods/date_module.php:49
793
+ msgid "From"
794
+ msgstr "Od"
795
+
796
+ #: ../mods/date_module.php:53
797
+ msgid "To"
798
+ msgstr "Na"
799
+
800
+ #: ../mods/wpec_module.php:25
801
+ msgid "Show widget default on WPSC categories?"
802
+ msgstr "Zobraziť predvolené widget na WPSC kategórie?"
803
+
804
+ #: ../mods/wpml_module.php:21
805
+ msgid "Language (WPML)"
806
+ msgstr "Jazyk (WPML)"
807
+
808
+ #: ../mods/pods_module.php:11
809
+ msgid "Except the Pods pages"
810
+ msgstr "Okrem stránok struky"
811
+
812
+ #: ../mods/pods_module.php:14
813
+ msgid "Show widget default on Pods pages?"
814
+ msgstr "Zobraziť predvolené widget na struky stránky?"
mods/domain_module.php ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * URL Module
4
+ * Can't use DWOpts object because value = the serialized values
5
+ *
6
+ * @version $Id: domain_module.php 1698398 2017-07-18 19:34:08Z qurl $
7
+ * @copyright 2017 Jacco Drabbe
8
+ */
9
+
10
+ defined('ABSPATH') or die("No script kiddies please!");
11
+
12
+ class DW_Domain extends DWModule {
13
+ public static $option = array( 'domain' => 'Domain' );
14
+ protected static $overrule = TRUE;
15
+ protected static $type = 'custom';
16
+
17
+ public static function admin() {
18
+ $DW = $GLOBALS['DW'];
19
+
20
+ parent::admin();
21
+
22
+ $domain_yes_selected = 'checked="checked"';
23
+ $opt_domain = $DW->getOpt($GLOBALS['widget_id'], 'domain');
24
+
25
+ foreach ( $opt_domain as $opt ) {
26
+ if ( $opt->name == 'default' ) {
27
+ $domain_no_selected = $domain_yes_selected;
28
+ unset($domain_yes_selected);
29
+ } else {
30
+ $domains = unserialize($opt->value);
31
+ }
32
+ }
33
+ ?>
34
+ <h4 id="domain" title=" Click to toggle " class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"><b><?php _e('Domain'); ?></b><?php echo ( count($opt_domain) > 0 ) ? ' <img src="' . $DW->plugin_url . 'img/checkmark.gif" alt="Checkmark" />' : ''; ?></h4>
35
+ <div id="domain_conf" class="dynwid_conf ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom">
36
+ <?php _e('Show widget at this domain?', DW_L10N_DOMAIN); ?> <img src="<?php echo $DW->plugin_url; ?>img/info.gif" alt="info" title="<?php _e('Click to toggle info', DW_L10N_DOMAIN) ?>" onclick="divToggle('domain_info');" /><br />
37
+ <?php $DW->dumpOpt($opt_domain); ?>
38
+ <div>
39
+ <div id="domain_info" class="infotext">
40
+ Separate domains on each line.<br />
41
+ Only use the domain from the URL. No "http://", only e.g. qurl.nl or www.dynamic-widgets.com<br />
42
+ Beware of double rules! Especially when you set the default to 'No'. This means the widget will be shown NOWHERE.
43
+ </div>
44
+ </div>
45
+ <br />
46
+ <input type="radio" name="domain" value="yes" id="domain-yes" <?php echo ( isset($domain_yes_selected) ) ? $domain_yes_selected : ''; ?> /> <label for="domain-yes"><?php _e('Yes'); ?></label>
47
+ <input type="radio" name="domain" value="no" id="url-no" <?php echo ( isset($domain_no_selected) ) ? $domain_no_selected : ''; ?> /> <label for="domain-no"><?php _e('No'); ?></label><br />
48
+ <?php _e('Except the domains', DW_L10N_DOMAIN); ?>:<br />
49
+ <div id="domain-select" class="condition-select">
50
+ <textarea name="domain_value" style="width:300px;height:150px;"><?php echo ( isset($domains) ) ? implode("\n", $domains) : ''; ?></textarea>
51
+ </div>
52
+
53
+ </div><!-- end dynwid_conf -->
54
+ <?php
55
+ }
56
+ }
57
+ ?>
mods/qt_module.php CHANGED
@@ -7,7 +7,7 @@
7
  */
8
 
9
  defined('ABSPATH') or die("No script kiddies please!");
10
- /*
11
  class DW_QT extends DWModule {
12
  protected static $except = 'Except the languages';
13
  protected static $info = 'Using this option can override all other options.';
@@ -66,5 +66,5 @@
66
  global $q_config;
67
  return $q_config['language_name'][$lang];
68
  }
69
- } */
70
  ?>
7
  */
8
 
9
  defined('ABSPATH') or die("No script kiddies please!");
10
+
11
  class DW_QT extends DWModule {
12
  protected static $except = 'Except the languages';
13
  protected static $info = 'Using this option can override all other options.';
66
  global $q_config;
67
  return $q_config['language_name'][$lang];
68
  }
69
+ }
70
  ?>
readme.txt CHANGED
@@ -1,10 +1,10 @@
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: 4.6
7
- Stable tag: 1.5.12
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
 
@@ -34,8 +34,9 @@ It is very hard to continue development and support for this plugin without cont
34
  - Featured image
35
  - Devices (mobile, desktop)
36
  - Theme Templates
37
- - Languages (WPML or QTranslate)
38
  - URL
 
39
  - Shortcode
40
  - Front page
41
  - Single post pages
@@ -66,8 +67,9 @@ It is very hard to continue development and support for this plugin without cont
66
  - Featued image on existence
67
  - Devices on type
68
  - Theme Templates on template name
69
- - Languages (WPML or QTranslate) on language
70
  - URL on starting with URL, ending on URL or exact match
 
71
  - Shortcode on value match
72
  - Front page on first page
73
  - Single post pages on Author, Categories (including inheritance from hierarchical parents), Tags, Custom Taxonomies and/or Individual posts
@@ -87,7 +89,7 @@ It is very hard to continue development and support for this plugin without cont
87
  - bbPress
88
  - BuddyPress
89
  - BuddyPress Group Hierarchy
90
- - QTranslate
91
  - Pods
92
  - WP MultiLingual (WPML)
93
  - WP Shopping Cart / WP E-Commerce (WPSC / WPEC)
@@ -190,6 +192,11 @@ Please check the [Issue Tracker](http://www.qurl.nl/dynamic-widgets/issue-tracke
190
 
191
  == Changelog ==
192
 
 
 
 
 
 
193
  = Version 1.5.12 =
194
 
195
  * Added conditional check for client IP address (handy when using CLI).
@@ -465,11 +472,11 @@ Please check the [Issue Tracker](http://www.qurl.nl/dynamic-widgets/issue-tracke
465
 
466
  == Release notes ==
467
 
468
- This version has 4 new features and 5 bugs fixed. See the changelog for details.
469
 
470
  == Upgrade Notice ==
471
 
472
- = 1.5.8 =
473
  When you upgrade manually, remove the dynamic-widgets directory first.
474
 
475
  This version has 1 feature added, 1 language added and 3 bugs fixed.
1
  === Plugin Name ===
2
  Contributors: Qurl
3
  Donate link: http://www.qurl.nl/dynamic-widgets/donate/
4
+ Tags: widget, dynamic, sidebar, custom, rules, logic, display, condition, hide, show
5
  Requires at least: 3.0.0
6
+ Tested up to: 4.8
7
+ Stable tag: 1.5.13
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
 
34
  - Featured image
35
  - Devices (mobile, desktop)
36
  - Theme Templates
37
+ - Languages (WPML)
38
  - URL
39
+ - Domain name / Server name
40
  - Shortcode
41
  - Front page
42
  - Single post pages
67
  - Featued image on existence
68
  - Devices on type
69
  - Theme Templates on template name
70
+ - Languages (WPML) on language
71
  - URL on starting with URL, ending on URL or exact match
72
+ - Domain name / Server name on name
73
  - Shortcode on value match
74
  - Front page on first page
75
  - Single post pages on Author, Categories (including inheritance from hierarchical parents), Tags, Custom Taxonomies and/or Individual posts
89
  - bbPress
90
  - BuddyPress
91
  - BuddyPress Group Hierarchy
92
+ - QTranslate and it's forks (currently disabled)
93
  - Pods
94
  - WP MultiLingual (WPML)
95
  - WP Shopping Cart / WP E-Commerce (WPSC / WPEC)
192
 
193
  == Changelog ==
194
 
195
+ = Version 1.5.13 =
196
+
197
+ * Widened the database fields
198
+ * Added domain name / servername support
199
+
200
  = Version 1.5.12 =
201
 
202
  * Added conditional check for client IP address (handy when using CLI).
472
 
473
  == Release notes ==
474
 
475
+ This version has 1 new feature and 1 bug fixed. See the changelog for details.
476
 
477
  == Upgrade Notice ==
478
 
479
+ = 1.5.13 =
480
  When you upgrade manually, remove the dynamic-widgets directory first.
481
 
482
  This version has 1 feature added, 1 language added and 3 bugs fixed.