Widget CSS Classes - Version 1.2.2

Version Description

  • Fix for notice on line 103 when using Widget Logic
  • Tested with WordPress 3.7 beta 1
Download this release

Release Info

Developer elusivelight
Plugin Icon 128x128 Widget CSS Classes
Version 1.2.2
Comparing to
See all releases

Code changes from version 1.2.1 to 1.2.2

css/widget-css-classes.css CHANGED
@@ -1,9 +1,9 @@
1
- .wcssc_copy img, .wcssc_remove img {
2
- vertical-align: middle;
3
- margin: 0;
4
- padding: 0;
5
- }
6
-
7
- .wcssc_remove img {
8
- margin-left: -12px;
9
  }
1
+ .wcssc_copy img, .wcssc_remove img {
2
+ vertical-align: middle;
3
+ margin: 0;
4
+ padding: 0;
5
+ }
6
+
7
+ .wcssc_remove img {
8
+ margin-left: -12px;
9
  }
includes/widget-css-classes.class.php CHANGED
@@ -5,7 +5,7 @@
5
  * Loader
6
  * @author C.M. Kendrick <cindy@cleverness.org>
7
  * @package widget-css-classes
8
- * @version 1.1
9
  */
10
 
11
  /**
@@ -100,7 +100,7 @@ class WCSSC {
100
  // if Widget Logic plugin is enabled, use it's callback
101
  if ( in_array( 'widget-logic/widget_logic.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
102
  $widget_logic_options = get_option( 'widget_logic' );
103
- if ( 'checked' == $widget_logic_options['widget_logic-options-filter'] ) {
104
  $widget_opt = get_option( $widget_obj['callback_wl_redirect'][0]->option_name );
105
  } else {
106
  $widget_opt = get_option( $widget_obj['callback'][0]->option_name );
5
  * Loader
6
  * @author C.M. Kendrick <cindy@cleverness.org>
7
  * @package widget-css-classes
8
+ * @version 1.2.2
9
  */
10
 
11
  /**
100
  // if Widget Logic plugin is enabled, use it's callback
101
  if ( in_array( 'widget-logic/widget_logic.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
102
  $widget_logic_options = get_option( 'widget_logic' );
103
+ if ( isset( $widget_logic_options['widget_logic-options-filter'] ) && 'checked' == $widget_logic_options['widget_logic-options-filter'] ) {
104
  $widget_opt = get_option( $widget_obj['callback_wl_redirect'][0]->option_name );
105
  } else {
106
  $widget_opt = get_option( $widget_obj['callback'][0]->option_name );
js/relCopy.min.js CHANGED
@@ -1,2 +1,2 @@
1
- (function(a){a.fn.relCopy=function(e){var b=jQuery.extend({excludeSelector:".exclude",emptySelector:".empty",copyClass:"copy",append:"",clearInputs:!0,limit:0},e);b.limit=parseInt(b.limit);this.each(function(){a(this).click(function(){var f=a(this).attr("rel"),d=a(f).length;if(0!=b.limit&&d>=b.limit)return!1;var c=a(f+":first"),e=a(c).parent(),c=a(c).clone(!0).addClass(b.copyClass+d).append(b.append);b.excludeSelector&&a(c).find(b.excludeSelector).remove();b.emptySelector&&a(c).find(b.emptySelector).empty();
2
- if(a(c).attr("id")){var g=a(c).attr("id")+(d+1);a(c).attr("id",g)}a(c).find("[id]").each(function(){var b=a(this).attr("id")+(d+1);a(this).attr("id",b)});b.clearInputs&&a(c).find(":input").each(function(){switch(a(this).attr("type")){case "button":break;case "reset":break;case "submit":break;case "checkbox":a(this).attr("checked","");break;default:a(this).val("")}});a(e).find(f+":last").after(c);return!1})});return this}})(jQuery);
1
+ (function(a){a.fn.relCopy=function(e){var b=jQuery.extend({excludeSelector:".exclude",emptySelector:".empty",copyClass:"copy",append:"",clearInputs:!0,limit:0},e);b.limit=parseInt(b.limit);this.each(function(){a(this).click(function(){var f=a(this).attr("rel"),d=a(f).length;if(0!=b.limit&&d>=b.limit)return!1;var c=a(f+":first"),e=a(c).parent(),c=a(c).clone(!0).addClass(b.copyClass+d).append(b.append);b.excludeSelector&&a(c).find(b.excludeSelector).remove();b.emptySelector&&a(c).find(b.emptySelector).empty();
2
+ if(a(c).attr("id")){var g=a(c).attr("id")+(d+1);a(c).attr("id",g)}a(c).find("[id]").each(function(){var b=a(this).attr("id")+(d+1);a(this).attr("id",b)});b.clearInputs&&a(c).find(":input").each(function(){switch(a(this).attr("type")){case "button":break;case "reset":break;case "submit":break;case "checkbox":a(this).attr("checked","");break;default:a(this).val("")}});a(e).find(f+":last").after(c);return!1})});return this}})(jQuery);
js/widget-css-classes.js CHANGED
@@ -1,12 +1,12 @@
1
- jQuery( document ).ready( function ( $ ) {
2
-
3
- $( '.wcssc_copy' ).relCopy( {} );
4
-
5
- $( 'p' ).on( 'click', '.wcssc_remove', function(e) {
6
- e.preventDefault();
7
- $( this ).parent().slideUp( function () {
8
- $( this ).remove();
9
- } );
10
- } );
11
-
12
  } );
1
+ jQuery( document ).ready( function ( $ ) {
2
+
3
+ $( '.wcssc_copy' ).relCopy( {} );
4
+
5
+ $( 'p' ).on( 'click', '.wcssc_remove', function(e) {
6
+ e.preventDefault();
7
+ $( this ).parent().slideUp( function () {
8
+ $( this ).remove();
9
+ } );
10
+ } );
11
+
12
  } );
languages/widget-css-classes.pot CHANGED
@@ -1,154 +1,154 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Widget CSS Classes\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-12-02 15:50-0500\n"
6
- "PO-Revision-Date: 2012-12-02 15:50-0500\n"
7
- "Last-Translator: C.M. Kendrick <cindy@cleverness.org>\n"
8
- "Language-Team: <cindy@cleverness.org>\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;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
13
- "X-Poedit-Basepath: ./\n"
14
- "X-Generator: Poedit 1.5.4\n"
15
- "X-Poedit-SearchPath-0: ..\n"
16
-
17
- #: ../widget-css-classes.php:54
18
- #: ../includes/widget-css-classes-loader.class.php:40
19
- msgid ""
20
- "Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
21
- "wordpress.org/Upgrading_WordPress\">Please update.</a>"
22
- msgstr ""
23
-
24
- #: ../includes/widget-css-classes-library.class.php:31
25
- msgid "Settings"
26
- msgstr ""
27
-
28
- #: ../includes/widget-css-classes-library.class.php:45
29
- msgid "Version"
30
- msgstr ""
31
-
32
- #: ../includes/widget-css-classes-library.class.php:46
33
- msgid "Donate"
34
- msgstr ""
35
-
36
- #: ../includes/widget-css-classes-settings.class.php:39
37
- #: ../includes/widget-css-classes-settings.class.php:42
38
- msgid "Widget CSS Classes Settings"
39
- msgstr ""
40
-
41
- #: ../includes/widget-css-classes-settings.class.php:43
42
- msgid "Add Widget Number Classes"
43
- msgstr ""
44
-
45
- #: ../includes/widget-css-classes-settings.class.php:44
46
- msgid "Add First/Last Classes"
47
- msgstr ""
48
-
49
- #: ../includes/widget-css-classes-settings.class.php:45
50
- msgid "Add Even/Odd Classes"
51
- msgstr ""
52
-
53
- #: ../includes/widget-css-classes-settings.class.php:46
54
- msgid "Show Additional Field for ID"
55
- msgstr ""
56
-
57
- #: ../includes/widget-css-classes-settings.class.php:47
58
- msgid "Class Field Type"
59
- msgstr ""
60
-
61
- #: ../includes/widget-css-classes-settings.class.php:48
62
- msgid "Define Classes for Dropdown"
63
- msgstr ""
64
-
65
- #: ../includes/widget-css-classes-settings.class.php:53
66
- #: ../includes/widget-css-classes-settings.class.php:60
67
- #: ../includes/widget-css-classes-settings.class.php:67
68
- #: ../includes/widget-css-classes-settings.class.php:74
69
- msgid "Yes"
70
- msgstr ""
71
-
72
- #: ../includes/widget-css-classes-settings.class.php:54
73
- #: ../includes/widget-css-classes-settings.class.php:61
74
- #: ../includes/widget-css-classes-settings.class.php:68
75
- #: ../includes/widget-css-classes-settings.class.php:75
76
- msgid "No"
77
- msgstr ""
78
-
79
- #: ../includes/widget-css-classes-settings.class.php:81
80
- msgid "Text"
81
- msgstr ""
82
-
83
- #: ../includes/widget-css-classes-settings.class.php:82
84
- msgid "Dropdown"
85
- msgstr ""
86
-
87
- #: ../includes/widget-css-classes-settings.class.php:83
88
- msgid "Hide"
89
- msgstr ""
90
-
91
- #: ../includes/widget-css-classes-settings.class.php:115
92
- msgid "Import/Export"
93
- msgstr ""
94
-
95
- #: ../includes/widget-css-classes-settings.class.php:120
96
- msgid "Settings Imported"
97
- msgstr ""
98
-
99
- #: ../includes/widget-css-classes-settings.class.php:123
100
- msgid "Invalid Settings File"
101
- msgstr ""
102
-
103
- #: ../includes/widget-css-classes-settings.class.php:126
104
- msgid "No Settings File Selected"
105
- msgstr ""
106
-
107
- #: ../includes/widget-css-classes-settings.class.php:197
108
- msgid "Widget CSS Classes"
109
- msgstr ""
110
-
111
- #: ../includes/widget-css-classes-settings.class.php:243
112
- msgid "Import/Export Settings"
113
- msgstr ""
114
-
115
- #: ../includes/widget-css-classes-settings.class.php:245
116
- msgid "Export Settings"
117
- msgstr ""
118
-
119
- #: ../includes/widget-css-classes-settings.class.php:249
120
- msgid "Import Settings"
121
- msgstr ""
122
-
123
- #: ../includes/widget-css-classes.class.php:34
124
- msgid "CSS ID"
125
- msgstr ""
126
-
127
- #: ../includes/widget-css-classes.class.php:40
128
- #: ../includes/widget-css-classes.class.php:47
129
- msgid "CSS Class"
130
- msgstr ""
131
-
132
- #: ../includes/widget-css-classes.class.php:49
133
- msgid "Select"
134
- msgstr ""
135
-
136
- #: ../includes/widget-css-classes.class.php:147
137
- msgid "widget-"
138
- msgstr ""
139
-
140
- #: ../includes/widget-css-classes.class.php:151
141
- msgid "widget-first"
142
- msgstr ""
143
-
144
- #: ../includes/widget-css-classes.class.php:152
145
- msgid "widget-last"
146
- msgstr ""
147
-
148
- #: ../includes/widget-css-classes.class.php:162
149
- msgid "widget-even"
150
- msgstr ""
151
-
152
- #: ../includes/widget-css-classes.class.php:163
153
- msgid "widget-odd"
154
- msgstr ""
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Widget CSS Classes\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-12-02 15:50-0500\n"
6
+ "PO-Revision-Date: 2012-12-02 15:50-0500\n"
7
+ "Last-Translator: C.M. Kendrick <cindy@cleverness.org>\n"
8
+ "Language-Team: <cindy@cleverness.org>\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;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
13
+ "X-Poedit-Basepath: ./\n"
14
+ "X-Generator: Poedit 1.5.4\n"
15
+ "X-Poedit-SearchPath-0: ..\n"
16
+
17
+ #: ../widget-css-classes.php:54
18
+ #: ../includes/widget-css-classes-loader.class.php:40
19
+ msgid ""
20
+ "Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
21
+ "wordpress.org/Upgrading_WordPress\">Please update.</a>"
22
+ msgstr ""
23
+
24
+ #: ../includes/widget-css-classes-library.class.php:31
25
+ msgid "Settings"
26
+ msgstr ""
27
+
28
+ #: ../includes/widget-css-classes-library.class.php:45
29
+ msgid "Version"
30
+ msgstr ""
31
+
32
+ #: ../includes/widget-css-classes-library.class.php:46
33
+ msgid "Donate"
34
+ msgstr ""
35
+
36
+ #: ../includes/widget-css-classes-settings.class.php:39
37
+ #: ../includes/widget-css-classes-settings.class.php:42
38
+ msgid "Widget CSS Classes Settings"
39
+ msgstr ""
40
+
41
+ #: ../includes/widget-css-classes-settings.class.php:43
42
+ msgid "Add Widget Number Classes"
43
+ msgstr ""
44
+
45
+ #: ../includes/widget-css-classes-settings.class.php:44
46
+ msgid "Add First/Last Classes"
47
+ msgstr ""
48
+
49
+ #: ../includes/widget-css-classes-settings.class.php:45
50
+ msgid "Add Even/Odd Classes"
51
+ msgstr ""
52
+
53
+ #: ../includes/widget-css-classes-settings.class.php:46
54
+ msgid "Show Additional Field for ID"
55
+ msgstr ""
56
+
57
+ #: ../includes/widget-css-classes-settings.class.php:47
58
+ msgid "Class Field Type"
59
+ msgstr ""
60
+
61
+ #: ../includes/widget-css-classes-settings.class.php:48
62
+ msgid "Define Classes for Dropdown"
63
+ msgstr ""
64
+
65
+ #: ../includes/widget-css-classes-settings.class.php:53
66
+ #: ../includes/widget-css-classes-settings.class.php:60
67
+ #: ../includes/widget-css-classes-settings.class.php:67
68
+ #: ../includes/widget-css-classes-settings.class.php:74
69
+ msgid "Yes"
70
+ msgstr ""
71
+
72
+ #: ../includes/widget-css-classes-settings.class.php:54
73
+ #: ../includes/widget-css-classes-settings.class.php:61
74
+ #: ../includes/widget-css-classes-settings.class.php:68
75
+ #: ../includes/widget-css-classes-settings.class.php:75
76
+ msgid "No"
77
+ msgstr ""
78
+
79
+ #: ../includes/widget-css-classes-settings.class.php:81
80
+ msgid "Text"
81
+ msgstr ""
82
+
83
+ #: ../includes/widget-css-classes-settings.class.php:82
84
+ msgid "Dropdown"
85
+ msgstr ""
86
+
87
+ #: ../includes/widget-css-classes-settings.class.php:83
88
+ msgid "Hide"
89
+ msgstr ""
90
+
91
+ #: ../includes/widget-css-classes-settings.class.php:115
92
+ msgid "Import/Export"
93
+ msgstr ""
94
+
95
+ #: ../includes/widget-css-classes-settings.class.php:120
96
+ msgid "Settings Imported"
97
+ msgstr ""
98
+
99
+ #: ../includes/widget-css-classes-settings.class.php:123
100
+ msgid "Invalid Settings File"
101
+ msgstr ""
102
+
103
+ #: ../includes/widget-css-classes-settings.class.php:126
104
+ msgid "No Settings File Selected"
105
+ msgstr ""
106
+
107
+ #: ../includes/widget-css-classes-settings.class.php:197
108
+ msgid "Widget CSS Classes"
109
+ msgstr ""
110
+
111
+ #: ../includes/widget-css-classes-settings.class.php:243
112
+ msgid "Import/Export Settings"
113
+ msgstr ""
114
+
115
+ #: ../includes/widget-css-classes-settings.class.php:245
116
+ msgid "Export Settings"
117
+ msgstr ""
118
+
119
+ #: ../includes/widget-css-classes-settings.class.php:249
120
+ msgid "Import Settings"
121
+ msgstr ""
122
+
123
+ #: ../includes/widget-css-classes.class.php:34
124
+ msgid "CSS ID"
125
+ msgstr ""
126
+
127
+ #: ../includes/widget-css-classes.class.php:40
128
+ #: ../includes/widget-css-classes.class.php:47
129
+ msgid "CSS Class"
130
+ msgstr ""
131
+
132
+ #: ../includes/widget-css-classes.class.php:49
133
+ msgid "Select"
134
+ msgstr ""
135
+
136
+ #: ../includes/widget-css-classes.class.php:147
137
+ msgid "widget-"
138
+ msgstr ""
139
+
140
+ #: ../includes/widget-css-classes.class.php:151
141
+ msgid "widget-first"
142
+ msgstr ""
143
+
144
+ #: ../includes/widget-css-classes.class.php:152
145
+ msgid "widget-last"
146
+ msgstr ""
147
+
148
+ #: ../includes/widget-css-classes.class.php:162
149
+ msgid "widget-even"
150
+ msgstr ""
151
+
152
+ #: ../includes/widget-css-classes.class.php:163
153
+ msgid "widget-odd"
154
+ msgstr ""
languages/widget-css-classes_sk_SK.po CHANGED
@@ -1,147 +1,147 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Widget CSS Classes\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-12-02 15:50-0500\n"
6
- "PO-Revision-Date: 2013-01-15 18:44+0300\n"
7
- "Last-Translator: \n"
8
- "Language-Team: <cindy@cleverness.org>\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;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
13
- "X-Poedit-Basepath: ./\n"
14
- "X-Generator: Poedit 1.5.4\n"
15
- "X-Poedit-SearchPath-0: ..\n"
16
-
17
- #: ../includes/widget-css-classes-library.class.php:31
18
- msgid "Settings"
19
- msgstr "Nastavenia"
20
-
21
- #: ../includes/widget-css-classes-library.class.php:45
22
- msgid "Version"
23
- msgstr "Verzia"
24
-
25
- #: ../includes/widget-css-classes-library.class.php:46
26
- msgid "Donate"
27
- msgstr "Darovať"
28
-
29
- #: ../includes/widget-css-classes-settings.class.php:39
30
- #: ../includes/widget-css-classes-settings.class.php:42
31
- msgid "Widget CSS Classes Settings"
32
- msgstr "Widget CSS triedy nastavenia"
33
-
34
- #: ../includes/widget-css-classes-settings.class.php:43
35
- msgid "Add Widget Number Classes"
36
- msgstr "Pridať Widget počet tried"
37
-
38
- #: ../includes/widget-css-classes-settings.class.php:44
39
- msgid "Add First/Last Classes"
40
- msgstr "Pridať prvom a poslednom tried"
41
-
42
- #: ../includes/widget-css-classes-settings.class.php:45
43
- msgid "Add Even/Odd Classes"
44
- msgstr "Pridať aj/nepárne tried"
45
-
46
- #: ../includes/widget-css-classes-settings.class.php:46
47
- msgid "Show Additional Field for ID"
48
- msgstr "Zobraziť ďalšie pole pre ID"
49
-
50
- #: ../includes/widget-css-classes-settings.class.php:47
51
- msgid "Class Field Type"
52
- msgstr "Typ poľa trieda"
53
-
54
- #: ../includes/widget-css-classes-settings.class.php:48
55
- msgid "Define Classes for Dropdown"
56
- msgstr "Definovať triedy pre rozbaľovací zoznam"
57
-
58
- #: ../includes/widget-css-classes-settings.class.php:53
59
- #: ../includes/widget-css-classes-settings.class.php:60
60
- #: ../includes/widget-css-classes-settings.class.php:67
61
- #: ../includes/widget-css-classes-settings.class.php:74
62
- msgid "Yes"
63
- msgstr "áno"
64
-
65
- #: ../includes/widget-css-classes-settings.class.php:54
66
- #: ../includes/widget-css-classes-settings.class.php:61
67
- #: ../includes/widget-css-classes-settings.class.php:68
68
- #: ../includes/widget-css-classes-settings.class.php:75
69
- msgid "No"
70
- msgstr "nie"
71
-
72
- #: ../includes/widget-css-classes-settings.class.php:81
73
- msgid "Text"
74
- msgstr "Text"
75
-
76
- #: ../includes/widget-css-classes-settings.class.php:82
77
- msgid "Dropdown"
78
- msgstr "Rozbaľovací zoznam"
79
-
80
- #: ../includes/widget-css-classes-settings.class.php:83
81
- msgid "Hide"
82
- msgstr "Skryť"
83
-
84
- #: ../includes/widget-css-classes-settings.class.php:115
85
- msgid "Import/Export"
86
- msgstr "Import a Export"
87
-
88
- #: ../includes/widget-css-classes-settings.class.php:120
89
- msgid "Settings Imported"
90
- msgstr "Nastavenia dovážané"
91
-
92
- #: ../includes/widget-css-classes-settings.class.php:123
93
- msgid "Invalid Settings File"
94
- msgstr "Neplatný súbor nastavení"
95
-
96
- #: ../includes/widget-css-classes-settings.class.php:126
97
- msgid "No Settings File Selected"
98
- msgstr "Žiadny súbor nastavení vybraných"
99
-
100
- #: ../includes/widget-css-classes-settings.class.php:197
101
- msgid "Widget CSS Classes"
102
- msgstr "Widget CSS triedy"
103
-
104
- #: ../includes/widget-css-classes-settings.class.php:243
105
- msgid "Import/Export Settings"
106
- msgstr "Import a Export nastavení"
107
-
108
- #: ../includes/widget-css-classes-settings.class.php:245
109
- msgid "Export Settings"
110
- msgstr "Exportovať nastavenie"
111
-
112
- #: ../includes/widget-css-classes-settings.class.php:249
113
- msgid "Import Settings"
114
- msgstr "Nastavenie importu"
115
-
116
- #: ../includes/widget-css-classes.class.php:34
117
- msgid "CSS ID"
118
- msgstr "CSS A ID"
119
-
120
- #: ../includes/widget-css-classes.class.php:40
121
- #: ../includes/widget-css-classes.class.php:47
122
- msgid "CSS Class"
123
- msgstr "CSS triedy"
124
-
125
- #: ../includes/widget-css-classes.class.php:49
126
- msgid "Select"
127
- msgstr "Vyberte"
128
-
129
- #: ../includes/widget-css-classes.class.php:147
130
- msgid "widget-"
131
- msgstr "widget-"
132
-
133
- #: ../includes/widget-css-classes.class.php:151
134
- msgid "widget-first"
135
- msgstr "widget-prvé"
136
-
137
- #: ../includes/widget-css-classes.class.php:152
138
- msgid "widget-last"
139
- msgstr "widget-posledný"
140
-
141
- #: ../includes/widget-css-classes.class.php:162
142
- msgid "widget-even"
143
- msgstr "widget-aj"
144
-
145
- #: ../includes/widget-css-classes.class.php:163
146
- msgid "widget-odd"
147
- msgstr "widget-odd"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Widget CSS Classes\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-12-02 15:50-0500\n"
6
+ "PO-Revision-Date: 2013-01-15 18:44+0300\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: <cindy@cleverness.org>\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;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
13
+ "X-Poedit-Basepath: ./\n"
14
+ "X-Generator: Poedit 1.5.4\n"
15
+ "X-Poedit-SearchPath-0: ..\n"
16
+
17
+ #: ../includes/widget-css-classes-library.class.php:31
18
+ msgid "Settings"
19
+ msgstr "Nastavenia"
20
+
21
+ #: ../includes/widget-css-classes-library.class.php:45
22
+ msgid "Version"
23
+ msgstr "Verzia"
24
+
25
+ #: ../includes/widget-css-classes-library.class.php:46
26
+ msgid "Donate"
27
+ msgstr "Darovať"
28
+
29
+ #: ../includes/widget-css-classes-settings.class.php:39
30
+ #: ../includes/widget-css-classes-settings.class.php:42
31
+ msgid "Widget CSS Classes Settings"
32
+ msgstr "Widget CSS triedy nastavenia"
33
+
34
+ #: ../includes/widget-css-classes-settings.class.php:43
35
+ msgid "Add Widget Number Classes"
36
+ msgstr "Pridať Widget počet tried"
37
+
38
+ #: ../includes/widget-css-classes-settings.class.php:44
39
+ msgid "Add First/Last Classes"
40
+ msgstr "Pridať prvom a poslednom tried"
41
+
42
+ #: ../includes/widget-css-classes-settings.class.php:45
43
+ msgid "Add Even/Odd Classes"
44
+ msgstr "Pridať aj/nepárne tried"
45
+
46
+ #: ../includes/widget-css-classes-settings.class.php:46
47
+ msgid "Show Additional Field for ID"
48
+ msgstr "Zobraziť ďalšie pole pre ID"
49
+
50
+ #: ../includes/widget-css-classes-settings.class.php:47
51
+ msgid "Class Field Type"
52
+ msgstr "Typ poľa trieda"
53
+
54
+ #: ../includes/widget-css-classes-settings.class.php:48
55
+ msgid "Define Classes for Dropdown"
56
+ msgstr "Definovať triedy pre rozbaľovací zoznam"
57
+
58
+ #: ../includes/widget-css-classes-settings.class.php:53
59
+ #: ../includes/widget-css-classes-settings.class.php:60
60
+ #: ../includes/widget-css-classes-settings.class.php:67
61
+ #: ../includes/widget-css-classes-settings.class.php:74
62
+ msgid "Yes"
63
+ msgstr "áno"
64
+
65
+ #: ../includes/widget-css-classes-settings.class.php:54
66
+ #: ../includes/widget-css-classes-settings.class.php:61
67
+ #: ../includes/widget-css-classes-settings.class.php:68
68
+ #: ../includes/widget-css-classes-settings.class.php:75
69
+ msgid "No"
70
+ msgstr "nie"
71
+
72
+ #: ../includes/widget-css-classes-settings.class.php:81
73
+ msgid "Text"
74
+ msgstr "Text"
75
+
76
+ #: ../includes/widget-css-classes-settings.class.php:82
77
+ msgid "Dropdown"
78
+ msgstr "Rozbaľovací zoznam"
79
+
80
+ #: ../includes/widget-css-classes-settings.class.php:83
81
+ msgid "Hide"
82
+ msgstr "Skryť"
83
+
84
+ #: ../includes/widget-css-classes-settings.class.php:115
85
+ msgid "Import/Export"
86
+ msgstr "Import a Export"
87
+
88
+ #: ../includes/widget-css-classes-settings.class.php:120
89
+ msgid "Settings Imported"
90
+ msgstr "Nastavenia dovážané"
91
+
92
+ #: ../includes/widget-css-classes-settings.class.php:123
93
+ msgid "Invalid Settings File"
94
+ msgstr "Neplatný súbor nastavení"
95
+
96
+ #: ../includes/widget-css-classes-settings.class.php:126
97
+ msgid "No Settings File Selected"
98
+ msgstr "Žiadny súbor nastavení vybraných"
99
+
100
+ #: ../includes/widget-css-classes-settings.class.php:197
101
+ msgid "Widget CSS Classes"
102
+ msgstr "Widget CSS triedy"
103
+
104
+ #: ../includes/widget-css-classes-settings.class.php:243
105
+ msgid "Import/Export Settings"
106
+ msgstr "Import a Export nastavení"
107
+
108
+ #: ../includes/widget-css-classes-settings.class.php:245
109
+ msgid "Export Settings"
110
+ msgstr "Exportovať nastavenie"
111
+
112
+ #: ../includes/widget-css-classes-settings.class.php:249
113
+ msgid "Import Settings"
114
+ msgstr "Nastavenie importu"
115
+
116
+ #: ../includes/widget-css-classes.class.php:34
117
+ msgid "CSS ID"
118
+ msgstr "CSS A ID"
119
+
120
+ #: ../includes/widget-css-classes.class.php:40
121
+ #: ../includes/widget-css-classes.class.php:47
122
+ msgid "CSS Class"
123
+ msgstr "CSS triedy"
124
+
125
+ #: ../includes/widget-css-classes.class.php:49
126
+ msgid "Select"
127
+ msgstr "Vyberte"
128
+
129
+ #: ../includes/widget-css-classes.class.php:147
130
+ msgid "widget-"
131
+ msgstr "widget-"
132
+
133
+ #: ../includes/widget-css-classes.class.php:151
134
+ msgid "widget-first"
135
+ msgstr "widget-prvé"
136
+
137
+ #: ../includes/widget-css-classes.class.php:152
138
+ msgid "widget-last"
139
+ msgstr "widget-posledný"
140
+
141
+ #: ../includes/widget-css-classes.class.php:162
142
+ msgid "widget-even"
143
+ msgstr "widget-aj"
144
+
145
+ #: ../includes/widget-css-classes.class.php:163
146
+ msgid "widget-odd"
147
+ msgstr "widget-odd"
readme.txt CHANGED
@@ -7,8 +7,8 @@ Tags: widgets, classes, css, widget classes, widget css
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires at least: 3.3
10
- Tested up to: 3.5.1
11
- Stable tag: 1.2.1
12
 
13
  Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.
14
 
@@ -81,6 +81,10 @@ Visit [the plugin website](http://cleverness.org/plugins/widget-css-classes/) an
81
 
82
  == Changelog ==
83
 
 
 
 
 
84
  = 1.2.1 =
85
  * Added Slovak translation by Branco [WebHostingGeeks.com](http://webhostinggeeks.com/user-reviews/)
86
  * Updated Widget Context compatibility fix plus notice fix by [Joan Piedra](http://joanpiedra.com/)
@@ -102,6 +106,9 @@ Visit [the plugin website](http://cleverness.org/plugins/widget-css-classes/) an
102
 
103
  == Upgrade Notice ==
104
 
 
 
 
105
  = 1.2 =
106
  New settings, bug fix
107
 
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires at least: 3.3
10
+ Tested up to: 3.7
11
+ Stable tag: 1.2.2
12
 
13
  Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.
14
 
81
 
82
  == Changelog ==
83
 
84
+ = 1.2.2 =
85
+ * Fix for notice on line 103 when using Widget Logic
86
+ * Tested with WordPress 3.7 beta 1
87
+
88
  = 1.2.1 =
89
  * Added Slovak translation by Branco [WebHostingGeeks.com](http://webhostinggeeks.com/user-reviews/)
90
  * Updated Widget Context compatibility fix plus notice fix by [Joan Piedra](http://joanpiedra.com/)
106
 
107
  == Upgrade Notice ==
108
 
109
+ = 1.2.2 =
110
+ Bug fix
111
+
112
  = 1.2 =
113
  New settings, bug fix
114
 
uninstall.php CHANGED
@@ -1,11 +1,11 @@
1
- <?php
2
- if ( !defined( 'WP_UNINSTALL_PLUGIN' ) )
3
- exit();
4
-
5
- if ( current_user_can( 'delete_plugins' ) ) {
6
-
7
- // delete options
8
- delete_option( 'WCSSC_options' );
9
- delete_option( 'WCSSC_db_version' );
10
-
11
  }
1
+ <?php
2
+ if ( !defined( 'WP_UNINSTALL_PLUGIN' ) )
3
+ exit();
4
+
5
+ if ( current_user_can( 'delete_plugins' ) ) {
6
+
7
+ // delete options
8
+ delete_option( 'WCSSC_options' );
9
+ delete_option( 'WCSSC_db_version' );
10
+
11
  }
widget-css-classes.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Widget CSS Classes
4
- Version: 1.2.1
5
  Description: Add custom, first, last, even, odd, and numbered classes to your widgets.
6
  Author: C.M. Kendrick
7
  Author URI: http://cleverness.org
@@ -22,7 +22,7 @@ function widget_css_classes_loader() {
22
 
23
  if ( is_admin() ) {
24
 
25
- if ( !defined( 'WCSSC_PLUGIN_VERSION' ) ) define( 'WCSSC_PLUGIN_VERSION', '1.2' );
26
  if ( !defined( 'WCSSC_FILE' ) ) define( 'WCSSC_FILE', __FILE__ );
27
  if ( !defined( 'WCSSC_BASENAME' ) ) define( 'WCSSC_BASENAME', plugin_basename( __FILE__ ) );
28
  if ( !defined( 'WCSSC_PLUGIN_DIR' ) ) define( 'WCSSC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
1
  <?php
2
  /*
3
  Plugin Name: Widget CSS Classes
4
+ Version: 1.2.2
5
  Description: Add custom, first, last, even, odd, and numbered classes to your widgets.
6
  Author: C.M. Kendrick
7
  Author URI: http://cleverness.org
22
 
23
  if ( is_admin() ) {
24
 
25
+ if ( !defined( 'WCSSC_PLUGIN_VERSION' ) ) define( 'WCSSC_PLUGIN_VERSION', '1.2.2' );
26
  if ( !defined( 'WCSSC_FILE' ) ) define( 'WCSSC_FILE', __FILE__ );
27
  if ( !defined( 'WCSSC_BASENAME' ) ) define( 'WCSSC_BASENAME', plugin_basename( __FILE__ ) );
28
  if ( !defined( 'WCSSC_PLUGIN_DIR' ) ) define( 'WCSSC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );