Version Description
Upgrade normally via your Wordpress admin -> Plugins panel.
Download this release
Release Info
Developer | gn_themes |
Plugin | Shortcodes Ultimate |
Version | 3.9.5 |
Comparing to | |
See all releases |
Code changes from version 3.9.4 to 3.9.5
- css/chosen.css +396 -0
- css/generator.css +18 -2
- images/chosen/chosen-sprite.png +0 -0
- js/chosen.js +10 -0
- js/generator.js +17 -0
- languages/shortcodes-ultimate-ru_RU.mo +0 -0
- languages/shortcodes-ultimate-ru_RU.po +241 -336
- lib/admin.php +35 -31
- lib/available.php +9 -0
- lib/generator.php +12 -4
- readme.txt +9 -2
- shortcodes-ultimate.php +28 -13
css/chosen.css
ADDED
@@ -0,0 +1,396 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* @group Base */
|
2 |
+
.chzn-container {
|
3 |
+
font-size: 13px;
|
4 |
+
position: relative;
|
5 |
+
display: inline-block;
|
6 |
+
zoom: 1;
|
7 |
+
*display: inline;
|
8 |
+
}
|
9 |
+
.chzn-container .chzn-drop {
|
10 |
+
background: #fff;
|
11 |
+
border: 1px solid #aaa;
|
12 |
+
border-top: 0;
|
13 |
+
position: absolute;
|
14 |
+
top: 29px;
|
15 |
+
left: 0;
|
16 |
+
-webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15);
|
17 |
+
-moz-box-shadow : 0 4px 5px rgba(0,0,0,.15);
|
18 |
+
-o-box-shadow : 0 4px 5px rgba(0,0,0,.15);
|
19 |
+
box-shadow : 0 4px 5px rgba(0,0,0,.15);
|
20 |
+
z-index: 1010;
|
21 |
+
}
|
22 |
+
/* @end */
|
23 |
+
|
24 |
+
/* @group Single Chosen */
|
25 |
+
.chzn-container-single .chzn-single {
|
26 |
+
background-color: #ffffff;
|
27 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0 );
|
28 |
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
|
29 |
+
background-image: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
30 |
+
background-image: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
31 |
+
background-image: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
32 |
+
background-image: -ms-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
33 |
+
background-image: linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
34 |
+
-webkit-border-radius: 5px;
|
35 |
+
-moz-border-radius : 5px;
|
36 |
+
border-radius : 5px;
|
37 |
+
-moz-background-clip : padding;
|
38 |
+
-webkit-background-clip: padding-box;
|
39 |
+
background-clip : padding-box;
|
40 |
+
border: 1px solid #aaaaaa;
|
41 |
+
-webkit-box-shadow: 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
|
42 |
+
-moz-box-shadow : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
|
43 |
+
box-shadow : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
|
44 |
+
display: block;
|
45 |
+
overflow: hidden;
|
46 |
+
white-space: nowrap;
|
47 |
+
position: relative;
|
48 |
+
height: 23px;
|
49 |
+
line-height: 24px;
|
50 |
+
padding: 0 0 0 8px;
|
51 |
+
color: #444444;
|
52 |
+
text-decoration: none;
|
53 |
+
}
|
54 |
+
.chzn-container-single .chzn-default {
|
55 |
+
color: #999;
|
56 |
+
}
|
57 |
+
.chzn-container-single .chzn-single span {
|
58 |
+
margin-right: 26px;
|
59 |
+
display: block;
|
60 |
+
overflow: hidden;
|
61 |
+
white-space: nowrap;
|
62 |
+
-o-text-overflow: ellipsis;
|
63 |
+
-ms-text-overflow: ellipsis;
|
64 |
+
text-overflow: ellipsis;
|
65 |
+
}
|
66 |
+
.chzn-container-single .chzn-single abbr {
|
67 |
+
display: block;
|
68 |
+
position: absolute;
|
69 |
+
right: 26px;
|
70 |
+
top: 6px;
|
71 |
+
width: 12px;
|
72 |
+
height: 13px;
|
73 |
+
font-size: 1px;
|
74 |
+
background: url('../images/chosen/chosen-sprite.png') right top no-repeat;
|
75 |
+
}
|
76 |
+
.chzn-container-single .chzn-single abbr:hover {
|
77 |
+
background-position: right -11px;
|
78 |
+
}
|
79 |
+
.chzn-container-single.chzn-disabled .chzn-single abbr:hover {
|
80 |
+
background-position: right top;
|
81 |
+
}
|
82 |
+
.chzn-container-single .chzn-single div {
|
83 |
+
position: absolute;
|
84 |
+
right: 0;
|
85 |
+
top: 0;
|
86 |
+
display: block;
|
87 |
+
height: 100%;
|
88 |
+
width: 18px;
|
89 |
+
}
|
90 |
+
.chzn-container-single .chzn-single div b {
|
91 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat 0 0;
|
92 |
+
display: block;
|
93 |
+
width: 100%;
|
94 |
+
height: 100%;
|
95 |
+
}
|
96 |
+
.chzn-container-single .chzn-search {
|
97 |
+
padding: 3px 4px;
|
98 |
+
position: relative;
|
99 |
+
margin: 0;
|
100 |
+
white-space: nowrap;
|
101 |
+
z-index: 1010;
|
102 |
+
}
|
103 |
+
.chzn-container-single .chzn-search input {
|
104 |
+
background: #fff url('../images/chosen/chosen-sprite.png') no-repeat 100% -22px;
|
105 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat 100% -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
106 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat 100% -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
107 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat 100% -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
108 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat 100% -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
109 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat 100% -22px, -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
110 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat 100% -22px, linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
111 |
+
margin: 1px 0;
|
112 |
+
padding: 4px 20px 4px 5px;
|
113 |
+
outline: 0;
|
114 |
+
border: 1px solid #aaa;
|
115 |
+
font-family: sans-serif;
|
116 |
+
font-size: 1em;
|
117 |
+
}
|
118 |
+
.chzn-container-single .chzn-drop {
|
119 |
+
-webkit-border-radius: 0 0 4px 4px;
|
120 |
+
-moz-border-radius : 0 0 4px 4px;
|
121 |
+
border-radius : 0 0 4px 4px;
|
122 |
+
-moz-background-clip : padding;
|
123 |
+
-webkit-background-clip: padding-box;
|
124 |
+
background-clip : padding-box;
|
125 |
+
}
|
126 |
+
/* @end */
|
127 |
+
|
128 |
+
.chzn-container-single-nosearch .chzn-search input {
|
129 |
+
position: absolute;
|
130 |
+
left: -9000px;
|
131 |
+
}
|
132 |
+
|
133 |
+
/* @group Multi Chosen */
|
134 |
+
.chzn-container-multi .chzn-choices {
|
135 |
+
background-color: #fff;
|
136 |
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
137 |
+
background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
138 |
+
background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
139 |
+
background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
140 |
+
background-image: -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
141 |
+
background-image: linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
142 |
+
border: 1px solid #aaa;
|
143 |
+
margin: 0;
|
144 |
+
padding: 0;
|
145 |
+
cursor: text;
|
146 |
+
overflow: hidden;
|
147 |
+
height: auto !important;
|
148 |
+
height: 1%;
|
149 |
+
position: relative;
|
150 |
+
}
|
151 |
+
.chzn-container-multi .chzn-choices li {
|
152 |
+
float: left;
|
153 |
+
list-style: none;
|
154 |
+
}
|
155 |
+
.chzn-container-multi .chzn-choices .search-field {
|
156 |
+
white-space: nowrap;
|
157 |
+
margin: 0;
|
158 |
+
padding: 0;
|
159 |
+
}
|
160 |
+
.chzn-container-multi .chzn-choices .search-field input {
|
161 |
+
color: #666;
|
162 |
+
background: transparent !important;
|
163 |
+
border: 0 !important;
|
164 |
+
font-family: sans-serif;
|
165 |
+
font-size: 100%;
|
166 |
+
height: 15px;
|
167 |
+
padding: 5px;
|
168 |
+
margin: 1px 0;
|
169 |
+
outline: 0;
|
170 |
+
-webkit-box-shadow: none;
|
171 |
+
-moz-box-shadow : none;
|
172 |
+
-o-box-shadow : none;
|
173 |
+
box-shadow : none;
|
174 |
+
}
|
175 |
+
.chzn-container-multi .chzn-choices .search-field .default {
|
176 |
+
color: #999;
|
177 |
+
}
|
178 |
+
.chzn-container-multi .chzn-choices .search-choice {
|
179 |
+
-webkit-border-radius: 3px;
|
180 |
+
-moz-border-radius : 3px;
|
181 |
+
border-radius : 3px;
|
182 |
+
-moz-background-clip : padding;
|
183 |
+
-webkit-background-clip: padding-box;
|
184 |
+
background-clip : padding-box;
|
185 |
+
background-color: #e4e4e4;
|
186 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 );
|
187 |
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
|
188 |
+
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
189 |
+
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
190 |
+
background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
191 |
+
background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
192 |
+
background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
193 |
+
-webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
|
194 |
+
-moz-box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
|
195 |
+
box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
|
196 |
+
color: #333;
|
197 |
+
border: 1px solid #aaaaaa;
|
198 |
+
line-height: 13px;
|
199 |
+
padding: 3px 20px 3px 5px;
|
200 |
+
margin: 3px 0 3px 5px;
|
201 |
+
position: relative;
|
202 |
+
cursor: default;
|
203 |
+
}
|
204 |
+
.chzn-container-multi .chzn-choices .search-choice-focus {
|
205 |
+
background: #d4d4d4;
|
206 |
+
}
|
207 |
+
.chzn-container-multi .chzn-choices .search-choice .search-choice-close {
|
208 |
+
display: block;
|
209 |
+
position: absolute;
|
210 |
+
right: 3px;
|
211 |
+
top: 4px;
|
212 |
+
width: 12px;
|
213 |
+
height: 13px;
|
214 |
+
font-size: 1px;
|
215 |
+
background: url('../images/chosen/chosen-sprite.png') right top no-repeat;
|
216 |
+
}
|
217 |
+
.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover {
|
218 |
+
background-position: right -11px;
|
219 |
+
}
|
220 |
+
.chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close {
|
221 |
+
background-position: right -11px;
|
222 |
+
}
|
223 |
+
/* @end */
|
224 |
+
|
225 |
+
/* @group Results */
|
226 |
+
.chzn-container .chzn-results {
|
227 |
+
margin: 0 4px 4px 0;
|
228 |
+
max-height: 240px;
|
229 |
+
padding: 0 0 0 4px;
|
230 |
+
position: relative;
|
231 |
+
overflow-x: hidden;
|
232 |
+
overflow-y: auto;
|
233 |
+
-webkit-overflow-scrolling: touch;
|
234 |
+
}
|
235 |
+
.chzn-container-multi .chzn-results {
|
236 |
+
margin: -1px 0 0;
|
237 |
+
padding: 0;
|
238 |
+
}
|
239 |
+
.chzn-container .chzn-results li {
|
240 |
+
display: none;
|
241 |
+
line-height: 15px;
|
242 |
+
padding: 5px 6px;
|
243 |
+
margin: 0;
|
244 |
+
list-style: none;
|
245 |
+
}
|
246 |
+
.chzn-container .chzn-results .active-result {
|
247 |
+
cursor: pointer;
|
248 |
+
display: list-item;
|
249 |
+
}
|
250 |
+
.chzn-container .chzn-results .highlighted {
|
251 |
+
background-color: #3875d7;
|
252 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 );
|
253 |
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
|
254 |
+
background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
|
255 |
+
background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
|
256 |
+
background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
|
257 |
+
background-image: -ms-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
|
258 |
+
background-image: linear-gradient(top, #3875d7 20%, #2a62bc 90%);
|
259 |
+
color: #fff;
|
260 |
+
}
|
261 |
+
.chzn-container .chzn-results li em {
|
262 |
+
background: #feffde;
|
263 |
+
font-style: normal;
|
264 |
+
}
|
265 |
+
.chzn-container .chzn-results .highlighted em {
|
266 |
+
background: transparent;
|
267 |
+
}
|
268 |
+
.chzn-container .chzn-results .no-results {
|
269 |
+
background: #f4f4f4;
|
270 |
+
display: list-item;
|
271 |
+
}
|
272 |
+
.chzn-container .chzn-results .group-result {
|
273 |
+
cursor: default;
|
274 |
+
color: #999;
|
275 |
+
font-weight: bold;
|
276 |
+
}
|
277 |
+
.chzn-container .chzn-results .group-option {
|
278 |
+
padding-left: 15px;
|
279 |
+
}
|
280 |
+
.chzn-container-multi .chzn-drop .result-selected {
|
281 |
+
display: none;
|
282 |
+
}
|
283 |
+
.chzn-container .chzn-results-scroll {
|
284 |
+
background: white;
|
285 |
+
margin: 0 4px;
|
286 |
+
position: absolute;
|
287 |
+
text-align: center;
|
288 |
+
width: 321px; /* This should by dynamic with js */
|
289 |
+
z-index: 1;
|
290 |
+
}
|
291 |
+
.chzn-container .chzn-results-scroll span {
|
292 |
+
display: inline-block;
|
293 |
+
height: 17px;
|
294 |
+
text-indent: -5000px;
|
295 |
+
width: 9px;
|
296 |
+
}
|
297 |
+
.chzn-container .chzn-results-scroll-down {
|
298 |
+
bottom: 0;
|
299 |
+
}
|
300 |
+
.chzn-container .chzn-results-scroll-down span {
|
301 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat -4px -3px;
|
302 |
+
}
|
303 |
+
.chzn-container .chzn-results-scroll-up span {
|
304 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat -22px -3px;
|
305 |
+
}
|
306 |
+
/* @end */
|
307 |
+
|
308 |
+
/* @group Active */
|
309 |
+
.chzn-container-active .chzn-single {
|
310 |
+
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
|
311 |
+
-moz-box-shadow : 0 0 5px rgba(0,0,0,.3);
|
312 |
+
-o-box-shadow : 0 0 5px rgba(0,0,0,.3);
|
313 |
+
box-shadow : 0 0 5px rgba(0,0,0,.3);
|
314 |
+
border: 1px solid #5897fb;
|
315 |
+
}
|
316 |
+
.chzn-container-active .chzn-single-with-drop {
|
317 |
+
border: 1px solid #aaa;
|
318 |
+
-webkit-box-shadow: 0 1px 0 #fff inset;
|
319 |
+
-moz-box-shadow : 0 1px 0 #fff inset;
|
320 |
+
-o-box-shadow : 0 1px 0 #fff inset;
|
321 |
+
box-shadow : 0 1px 0 #fff inset;
|
322 |
+
background-color: #eee;
|
323 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 );
|
324 |
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
|
325 |
+
background-image: -webkit-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
|
326 |
+
background-image: -moz-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
|
327 |
+
background-image: -o-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
|
328 |
+
background-image: -ms-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
|
329 |
+
background-image: linear-gradient(top, #eeeeee 20%, #ffffff 80%);
|
330 |
+
-webkit-border-bottom-left-radius : 0;
|
331 |
+
-webkit-border-bottom-right-radius: 0;
|
332 |
+
-moz-border-radius-bottomleft : 0;
|
333 |
+
-moz-border-radius-bottomright: 0;
|
334 |
+
border-bottom-left-radius : 0;
|
335 |
+
border-bottom-right-radius: 0;
|
336 |
+
}
|
337 |
+
.chzn-container-active .chzn-single-with-drop div {
|
338 |
+
background: transparent;
|
339 |
+
border-left: none;
|
340 |
+
}
|
341 |
+
.chzn-container-active .chzn-single-with-drop div b {
|
342 |
+
background-position: -18px 1px;
|
343 |
+
}
|
344 |
+
.chzn-container-active .chzn-choices {
|
345 |
+
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
|
346 |
+
-moz-box-shadow : 0 0 5px rgba(0,0,0,.3);
|
347 |
+
-o-box-shadow : 0 0 5px rgba(0,0,0,.3);
|
348 |
+
box-shadow : 0 0 5px rgba(0,0,0,.3);
|
349 |
+
border: 1px solid #5897fb;
|
350 |
+
}
|
351 |
+
.chzn-container-active .chzn-choices .search-field input {
|
352 |
+
color: #111 !important;
|
353 |
+
}
|
354 |
+
/* @end */
|
355 |
+
|
356 |
+
/* @group Disabled Support */
|
357 |
+
.chzn-disabled {
|
358 |
+
cursor: default;
|
359 |
+
opacity:0.5 !important;
|
360 |
+
}
|
361 |
+
.chzn-disabled .chzn-single {
|
362 |
+
cursor: default;
|
363 |
+
}
|
364 |
+
.chzn-disabled .chzn-choices .search-choice .search-choice-close {
|
365 |
+
cursor: default;
|
366 |
+
}
|
367 |
+
|
368 |
+
/* @group Right to Left */
|
369 |
+
.chzn-rtl { text-align: right; }
|
370 |
+
.chzn-rtl .chzn-single { padding: 0 8px 0 0; overflow: visible; }
|
371 |
+
.chzn-rtl .chzn-single span { margin-left: 26px; margin-right: 0; direction: rtl; }
|
372 |
+
|
373 |
+
.chzn-rtl .chzn-single div { left: 3px; right: auto; }
|
374 |
+
.chzn-rtl .chzn-single abbr {
|
375 |
+
left: 26px;
|
376 |
+
right: auto;
|
377 |
+
}
|
378 |
+
.chzn-rtl .chzn-choices .search-field input { direction: rtl; }
|
379 |
+
.chzn-rtl .chzn-choices li { float: right; }
|
380 |
+
.chzn-rtl .chzn-choices .search-choice { padding: 3px 5px 3px 19px; margin: 3px 5px 3px 0; }
|
381 |
+
.chzn-rtl .chzn-choices .search-choice .search-choice-close { left: 4px; right: auto; background-position: right top;}
|
382 |
+
.chzn-rtl.chzn-container-single .chzn-results { margin: 0 0 4px 4px; padding: 0 4px 0 0; }
|
383 |
+
.chzn-rtl .chzn-results .group-option { padding-left: 0; padding-right: 15px; }
|
384 |
+
.chzn-rtl.chzn-container-active .chzn-single-with-drop div { border-right: none; }
|
385 |
+
.chzn-rtl .chzn-search input {
|
386 |
+
background: #fff url('../images/chosen/chosen-sprite.png') no-repeat -38px -22px;
|
387 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat -38px -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
388 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat -38px -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
389 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat -38px -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
390 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat -38px -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
391 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat -38px -22px, -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
392 |
+
background: url('../images/chosen/chosen-sprite.png') no-repeat -38px -22px, linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
393 |
+
padding: 4px 5px 4px 20px;
|
394 |
+
direction: rtl;
|
395 |
+
}
|
396 |
+
/* @end */
|
css/generator.css
CHANGED
@@ -15,12 +15,11 @@
|
|
15 |
height: 30px;
|
16 |
margin-bottom: 20px;
|
17 |
}
|
18 |
-
#su-generator-select { width:
|
19 |
#su-generator-tools {
|
20 |
float: right;
|
21 |
padding-top: 5px;
|
22 |
}
|
23 |
-
#su-generator-tools a { margin-left: 10px }
|
24 |
#su-generator-settings label {
|
25 |
float: left;
|
26 |
display: block;
|
@@ -41,4 +40,21 @@
|
|
41 |
#su-generator-insert {
|
42 |
color: #fff !important;
|
43 |
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
}
|
15 |
height: 30px;
|
16 |
margin-bottom: 20px;
|
17 |
}
|
18 |
+
#su-generator-select { width: 350px }
|
19 |
#su-generator-tools {
|
20 |
float: right;
|
21 |
padding-top: 5px;
|
22 |
}
|
|
|
23 |
#su-generator-settings label {
|
24 |
float: left;
|
25 |
display: block;
|
40 |
#su-generator-insert {
|
41 |
color: #fff !important;
|
42 |
font-weight: bold;
|
43 |
+
}
|
44 |
+
|
45 |
+
/* Color picker */
|
46 |
+
.su-generator-select-color {
|
47 |
+
position: relative;
|
48 |
+
}
|
49 |
+
.su-generator-select-color-wheel {
|
50 |
+
position: absolute;
|
51 |
+
left: 0;
|
52 |
+
top: 23px;
|
53 |
+
display: none;
|
54 |
+
background: #fff;
|
55 |
+
border: 1px solid #aaa;
|
56 |
+
z-index: 9999;
|
57 |
+
box-shadow: 0 2px 5px #ccc;
|
58 |
+
-moz-box-shadow: 0 2px 5px #ccc;
|
59 |
+
-webkit-box-shadow: 0 2px 5px #ccc;
|
60 |
}
|
images/chosen/chosen-sprite.png
ADDED
Binary file
|
js/chosen.js
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Chosen, a Select Box Enhancer for jQuery and Protoype
|
2 |
+
// by Patrick Filler for Harvest, http://getharvest.com
|
3 |
+
//
|
4 |
+
// Version 0.9.8
|
5 |
+
// Full source at https://github.com/harvesthq/chosen
|
6 |
+
// Copyright (c) 2011 Harvest http://getharvest.com
|
7 |
+
|
8 |
+
// MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
|
9 |
+
// This file is generated by `cake build`, do not edit it by hand.
|
10 |
+
((function(){var a;a=function(){function a(){this.options_index=0,this.parsed=[]}return a.prototype.add_node=function(a){return a.nodeName==="OPTGROUP"?this.add_group(a):this.add_option(a)},a.prototype.add_group=function(a){var b,c,d,e,f,g;b=this.parsed.length,this.parsed.push({array_index:b,group:!0,label:a.label,children:0,disabled:a.disabled}),f=a.childNodes,g=[];for(d=0,e=f.length;d<e;d++)c=f[d],g.push(this.add_option(c,b,a.disabled));return g},a.prototype.add_option=function(a,b,c){if(a.nodeName==="OPTION")return a.text!==""?(b!=null&&(this.parsed[b].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,selected:a.selected,disabled:c===!0?c:a.disabled,group_array_index:b,classes:a.className,style:a.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},a}(),a.select_to_array=function(b){var c,d,e,f,g;d=new a,g=b.childNodes;for(e=0,f=g.length;e<f;e++)c=g[e],d.add_node(c);return d.parsed},this.SelectParser=a})).call(this),function(){var a,b;b=this,a=function(){function a(a,b){this.form_field=a,this.options=b!=null?b:{},this.set_default_values(),this.is_multiple=this.form_field.multiple,this.set_default_text(),this.setup(),this.set_up_html(),this.register_observers(),this.finish_setup()}return a.prototype.set_default_values=function(){var a=this;return this.click_test_action=function(b){return a.test_active_click(b)},this.activate_action=function(b){return a.activate_field(b)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.result_single_selected=null,this.allow_single_deselect=this.options.allow_single_deselect!=null&&this.form_field.options[0]!=null&&this.form_field.options[0].text===""?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.search_contains=this.options.search_contains||!1,this.choices=0,this.single_backstroke_delete=this.options.single_backstroke_delete||!1,this.max_selected_options=this.options.max_selected_options||Infinity},a.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||"Select Some Options":this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||"Select an Option",this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||"No results match"},a.prototype.mouse_enter=function(){return this.mouse_on_container=!0},a.prototype.mouse_leave=function(){return this.mouse_on_container=!1},a.prototype.input_focus=function(a){var b=this;if(!this.active_field)return setTimeout(function(){return b.container_mousedown()},50)},a.prototype.input_blur=function(a){var b=this;if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(){return b.blur_test()},100)},a.prototype.result_add_option=function(a){var b,c;return a.disabled?"":(a.dom_id=this.container_id+"_o_"+a.array_index,b=a.selected&&this.is_multiple?[]:["active-result"],a.selected&&b.push("result-selected"),a.group_array_index!=null&&b.push("group-option"),a.classes!==""&&b.push(a.classes),c=a.style.cssText!==""?' style="'+a.style+'"':"",'<li id="'+a.dom_id+'" class="'+b.join(" ")+'"'+c+">"+a.html+"</li>")},a.prototype.results_update_field=function(){return this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.result_single_selected=null,this.results_build()},a.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},a.prototype.results_search=function(a){return this.results_showing?this.winnow_results():this.results_show()},a.prototype.keyup_checker=function(a){var b,c;b=(c=a.which)!=null?c:a.keyCode,this.search_field_scale();switch(b){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:a.preventDefault();if(this.results_showing)return this.result_select(a);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},a.prototype.generate_field_id=function(){var a;return a=this.generate_random_id(),this.form_field.id=a,a},a.prototype.generate_random_char=function(){var a,b,c;return a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",c=Math.floor(Math.random()*a.length),b=a.substring(c,c+1)},a}(),b.AbstractChosen=a}.call(this),function(){var a,b,c,d,e=Object.prototype.hasOwnProperty,f=function(a,b){function d(){this.constructor=a}for(var c in b)e.call(b,c)&&(a[c]=b[c]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};d=this,a=jQuery,a.fn.extend({chosen:function(c){return!a.browser.msie||a.browser.version!=="6.0"&&a.browser.version!=="7.0"?this.each(function(d){var e;e=a(this);if(!e.hasClass("chzn-done"))return e.data("chosen",new b(this,c))}):this}}),b=function(b){function e(){e.__super__.constructor.apply(this,arguments)}return f(e,b),e.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_value=this.form_field_jq.val(),this.is_rtl=this.form_field_jq.hasClass("chzn-rtl")},e.prototype.finish_setup=function(){return this.form_field_jq.addClass("chzn-done")},e.prototype.set_up_html=function(){var b,d,e,f;return this.container_id=this.form_field.id.length?this.form_field.id.replace(/[^\w]/g,"_"):this.generate_field_id(),this.container_id+="_chzn",this.f_width=this.form_field_jq.outerWidth(),b=a("<div />",{id:this.container_id,"class":"chzn-container"+(this.is_rtl?" chzn-rtl":""),style:"width: "+this.f_width+"px;"}),this.is_multiple?b.html('<ul class="chzn-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chzn-drop" style="left:-9000px;"><ul class="chzn-results"></ul></div>'):b.html('<a href="javascript:void(0)" class="chzn-single chzn-default"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chzn-drop" style="left:-9000px;"><div class="chzn-search"><input type="text" autocomplete="off" /></div><ul class="chzn-results"></ul></div>'),this.form_field_jq.hide().after(b),this.container=a("#"+this.container_id),this.container.addClass("chzn-container-"+(this.is_multiple?"multi":"single")),this.dropdown=this.container.find("div.chzn-drop").first(),d=this.container.height(),e=this.f_width-c(this.dropdown),this.dropdown.css({width:e+"px",top:d+"px"}),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chzn-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chzn-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chzn-search").first(),this.selected_item=this.container.find(".chzn-single").first(),f=e-c(this.search_container)-c(this.search_field),this.search_field.css({width:f+"px"})),this.results_build(),this.set_tab_index(),this.form_field_jq.trigger("liszt:ready",{chosen:this})},e.prototype.register_observers=function(){var a=this;return this.container.mousedown(function(b){return a.container_mousedown(b)}),this.container.mouseup(function(b){return a.container_mouseup(b)}),this.container.mouseenter(function(b){return a.mouse_enter(b)}),this.container.mouseleave(function(b){return a.mouse_leave(b)}),this.search_results.mouseup(function(b){return a.search_results_mouseup(b)}),this.search_results.mouseover(function(b){return a.search_results_mouseover(b)}),this.search_results.mouseout(function(b){return a.search_results_mouseout(b)}),this.form_field_jq.bind("liszt:updated",function(b){return a.results_update_field(b)}),this.search_field.blur(function(b){return a.input_blur(b)}),this.search_field.keyup(function(b){return a.keyup_checker(b)}),this.search_field.keydown(function(b){return a.keydown_checker(b)}),this.is_multiple?(this.search_choices.click(function(b){return a.choices_click(b)}),this.search_field.focus(function(b){return a.input_focus(b)})):this.container.click(function(a){return a.preventDefault()})},e.prototype.search_field_disabled=function(){this.is_disabled=this.form_field_jq[0].disabled;if(this.is_disabled)return this.container.addClass("chzn-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus",this.activate_action),this.close_field();this.container.removeClass("chzn-disabled"),this.search_field[0].disabled=!1;if(!this.is_multiple)return this.selected_item.bind("focus",this.activate_action)},e.prototype.container_mousedown=function(b){var c;if(!this.is_disabled)return c=b!=null?a(b.target).hasClass("search-choice-close"):!1,b&&b.type==="mousedown"&&!this.results_showing&&b.stopPropagation(),!this.pending_destroy_click&&!c?(this.active_field?!this.is_multiple&&b&&(a(b.target)[0]===this.selected_item[0]||a(b.target).parents("a.chzn-single").length)&&(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(document).click(this.click_test_action),this.results_show()),this.activate_field()):this.pending_destroy_click=!1},e.prototype.container_mouseup=function(a){if(a.target.nodeName==="ABBR"&&!this.is_disabled)return this.results_reset(a)},e.prototype.blur_test=function(a){if(!this.active_field&&this.container.hasClass("chzn-container-active"))return this.close_field()},e.prototype.close_field=function(){return a(document).unbind("click",this.click_test_action),this.is_multiple||(this.selected_item.attr("tabindex",this.search_field.attr("tabindex")),this.search_field.attr("tabindex",-1)),this.active_field=!1,this.results_hide(),this.container.removeClass("chzn-container-active"),this.winnow_results_clear(),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},e.prototype.activate_field=function(){return!this.is_multiple&&!this.active_field&&(this.search_field.attr("tabindex",this.selected_item.attr("tabindex")),this.selected_item.attr("tabindex",-1)),this.container.addClass("chzn-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},e.prototype.test_active_click=function(b){return a(b.target).parents("#"+this.container_id).length?this.active_field=!0:this.close_field()},e.prototype.results_build=function(){var a,b,c,e,f;this.parsing=!0,this.results_data=d.SelectParser.select_to_array(this.form_field),this.is_multiple&&this.choices>0?(this.search_choices.find("li.search-choice").remove(),this.choices=0):this.is_multiple||(this.selected_item.addClass("chzn-default").find("span").text(this.default_text),this.form_field.options.length<=this.disable_search_threshold?this.container.addClass("chzn-container-single-nosearch"):this.container.removeClass("chzn-container-single-nosearch")),a="",f=this.results_data;for(c=0,e=f.length;c<e;c++)b=f[c],b.group?a+=this.result_add_group(b):b.empty||(a+=this.result_add_option(b),b.selected&&this.is_multiple?this.choice_build(b):b.selected&&!this.is_multiple&&(this.selected_item.removeClass("chzn-default").find("span").text(b.text),this.allow_single_deselect&&this.single_deselect_control_build()));return this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.search_results.html(a),this.parsing=!1},e.prototype.result_add_group=function(b){return b.disabled?"":(b.dom_id=this.container_id+"_g_"+b.array_index,'<li id="'+b.dom_id+'" class="group-result">'+a("<div />").text(b.label).html()+"</li>")},e.prototype.result_do_highlight=function(a){var b,c,d,e,f;if(a.length){this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass("highlighted"),d=parseInt(this.search_results.css("maxHeight"),10),f=this.search_results.scrollTop(),e=d+f,c=this.result_highlight.position().top+this.search_results.scrollTop(),b=c+this.result_highlight.outerHeight();if(b>=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(c<f)return this.search_results.scrollTop(c)}},e.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},e.prototype.results_show=function(){var a;if(!this.is_multiple)this.selected_item.addClass("chzn-single-with-drop"),this.result_single_selected&&this.result_do_highlight(this.result_single_selected);else if(this.max_selected_options<=this.choices)return this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1;return a=this.is_multiple?this.container.height():this.container.height()-1,this.form_field_jq.trigger("liszt:showing_dropdown",{chosen:this}),this.dropdown.css({top:a+"px",left:0}),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results()},e.prototype.results_hide=function(){return this.is_multiple||this.selected_item.removeClass("chzn-single-with-drop"),this.result_clear_highlight(),this.form_field_jq.trigger("liszt:hiding_dropdown",{chosen:this}),this.dropdown.css({left:"-9000px"}),this.results_showing=!1},e.prototype.set_tab_index=function(a){var b;if(this.form_field_jq.attr("tabindex"))return b=this.form_field_jq.attr("tabindex"),this.form_field_jq.attr("tabindex",-1),this.is_multiple?this.search_field.attr("tabindex",b):(this.selected_item.attr("tabindex",b),this.search_field.attr("tabindex",-1))},e.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},e.prototype.search_results_mouseup=function(b){var c;c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first();if(c.length)return this.result_highlight=c,this.result_select(b)},e.prototype.search_results_mouseover=function(b){var c;c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first();if(c)return this.result_do_highlight(c)},e.prototype.search_results_mouseout=function(b){if(a(b.target).hasClass("active-result"))return this.result_clear_highlight()},e.prototype.choices_click=function(b){b.preventDefault();if(this.active_field&&!a(b.target).hasClass("search-choice")&&!this.results_showing)return this.results_show()},e.prototype.choice_build=function(b){var c,d,e=this;return this.is_multiple&&this.max_selected_options<=this.choices?(this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1):(c=this.container_id+"_c_"+b.array_index,this.choices+=1,this.search_container.before('<li class="search-choice" id="'+c+'"><span>'+b.html+'</span><a href="javascript:void(0)" class="search-choice-close" rel="'+b.array_index+'"></a></li>'),d=a("#"+c).find("a").first(),d.click(function(a){return e.choice_destroy_link_click(a)}))},e.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),this.is_disabled?b.stopPropagation:(this.pending_destroy_click=!0,this.choice_destroy(a(b.target)))},e.prototype.choice_destroy=function(a){return this.choices-=1,this.show_search_field_default(),this.is_multiple&&this.choices>0&&this.search_field.val().length<1&&this.results_hide(),this.result_deselect(a.attr("rel")),a.parents("li").first().remove()},e.prototype.results_reset=function(){this.form_field.options[0].selected=!0,this.selected_item.find("span").text(this.default_text),this.is_multiple||this.selected_item.addClass("chzn-default"),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change");if(this.active_field)return this.results_hide()},e.prototype.results_reset_cleanup=function(){return this.selected_item.find("abbr").remove()},e.prototype.result_select=function(a){var b,c,d,e;if(this.result_highlight)return b=this.result_highlight,c=b.attr("id"),this.result_clear_highlight(),this.is_multiple?this.result_deactivate(b):(this.search_results.find(".result-selected").removeClass("result-selected"),this.result_single_selected=b,this.selected_item.removeClass("chzn-default")),b.addClass("result-selected"),e=c.substr(c.lastIndexOf("_")+1),d=this.results_data[e],d.selected=!0,this.form_field.options[d.options_index].selected=!0,this.is_multiple?this.choice_build(d):(this.selected_item.find("span").first().text(d.text),this.allow_single_deselect&&this.single_deselect_control_build()),(!a.metaKey||!this.is_multiple)&&this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field_jq.val()!==this.current_value)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[d.options_index].value}),this.current_value=this.form_field_jq.val(),this.search_field_scale()},e.prototype.result_activate=function(a){return a.addClass("active-result")},e.prototype.result_deactivate=function(a){return a.removeClass("active-result")},e.prototype.result_deselect=function(b){var c,d;return d=this.results_data[b],d.selected=!1,this.form_field.options[d.options_index].selected=!1,c=a("#"+this.container_id+"_o_"+b),c.removeClass("result-selected").addClass("active-result").show(),this.result_clear_highlight(),this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[d.options_index].value}),this.search_field_scale()},e.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect&&this.selected_item.find("abbr").length<1)return this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>')},e.prototype.winnow_results=function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;this.no_results_clear(),j=0,k=this.search_field.val()===this.default_text?"":a("<div/>").text(a.trim(this.search_field.val())).html(),g=this.search_contains?"":"^",f=new RegExp(g+k.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),n=new RegExp(k.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),s=this.results_data;for(o=0,q=s.length;o<q;o++){c=s[o];if(!c.disabled&&!c.empty)if(c.group)a("#"+c.dom_id).css("display","none");else if(!this.is_multiple||!c.selected){b=!1,i=c.dom_id,h=a("#"+i);if(f.test(c.html))b=!0,j+=1;else if(c.html.indexOf(" ")>=0||c.html.indexOf("[")===0){e=c.html.replace(/\[|\]/g,"").split(" ");if(e.length)for(p=0,r=e.length;p<r;p++)d=e[p],f.test(d)&&(b=!0,j+=1)}b?(k.length?(l=c.html.search(n),m=c.html.substr(0,l+k.length)+"</em>"+c.html.substr(l+k.length),m=m.substr(0,l)+"<em>"+m.substr(l)):m=c.html,h.html(m),this.result_activate(h),c.group_array_index!=null&&a("#"+this.results_data[c.group_array_index].dom_id).css("display","list-item")):(this.result_highlight&&i===this.result_highlight.attr("id")&&this.result_clear_highlight(),this.result_deactivate(h))}}return j<1&&k.length?this.no_results(k):this.winnow_results_set_highlight()},e.prototype.winnow_results_clear=function(){var b,c,d,e,f;this.search_field.val(""),c=this.search_results.find("li"),f=[];for(d=0,e=c.length;d<e;d++)b=c[d],b=a(b),b.hasClass("group-result")?f.push(b.css("display","auto")):!this.is_multiple||!b.hasClass("result-selected")?f.push(this.result_activate(b)):f.push(void 0);return f},e.prototype.winnow_results_set_highlight=function(){var a,b;if(!this.result_highlight){b=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),a=b.length?b.first():this.search_results.find(".active-result").first();if(a!=null)return this.result_do_highlight(a)}},e.prototype.no_results=function(b){var c;return c=a('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>'),c.find("span").first().html(b),this.search_results.append(c)},e.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},e.prototype.keydown_arrow=function(){var b,c;this.result_highlight?this.results_showing&&(c=this.result_highlight.nextAll("li.active-result").first(),c&&this.result_do_highlight(c)):(b=this.search_results.find("li.active-result").first(),b&&this.result_do_highlight(a(b)));if(!this.results_showing)return this.results_show()},e.prototype.keyup_arrow=function(){var a;if(!this.results_showing&&!this.is_multiple)return this.results_show();if(this.result_highlight)return a=this.result_highlight.prevAll("li.active-result"),a.length?this.result_do_highlight(a.first()):(this.choices>0&&this.results_hide(),this.result_clear_highlight())},e.prototype.keydown_backstroke=function(){return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(this.pending_backstroke=this.search_container.siblings("li.search-choice").last(),this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus"))},e.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},e.prototype.keydown_checker=function(a){var b,c;b=(c=a.which)!=null?c:a.keyCode,this.search_field_scale(),b!==8&&this.pending_backstroke&&this.clear_backstroke();switch(b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a),this.mouse_on_container=!1;break;case 13:a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:this.keydown_arrow()}},e.prototype.search_field_scale=function(){var b,c,d,e,f,g,h,i,j;if(this.is_multiple){d=0,h=0,f="position:absolute; left: -1000px; top: -1000px; display:none;",g=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"];for(i=0,j=g.length;i<j;i++)e=g[i],f+=e+":"+this.search_field.css(e)+";";return c=a("<div />",{style:f}),c.text(this.search_field.val()),a("body").append(c),h=c.width()+25,c.remove(),h>this.f_width-10&&(h=this.f_width-10),this.search_field.css({width:h+"px"}),b=this.container.height(),this.dropdown.css({top:b+"px"})}},e.prototype.generate_random_id=function(){var b;b="sel"+this.generate_random_char()+this.generate_random_char()+this.generate_random_char();while(a("#"+b).length>0)b+=this.generate_random_char();return b},e}(AbstractChosen),c=function(a){var b;return b=a.outerWidth()-a.width()},d.get_side_border_padding=c}.call(this);
|
js/generator.js
CHANGED
@@ -1,11 +1,28 @@
|
|
1 |
jQuery(document).ready(function($) {
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
// Select shortcode
|
4 |
$('#su-generator-select').live( "change", function() {
|
5 |
var queried_shortcode = $('#su-generator-select').find(':selected').val();
|
6 |
$('#su-generator-settings').addClass('su-loading-animation');
|
7 |
$('#su-generator-settings').load($('#su-generator-url').val() + '/lib/generator.php?shortcode=' + queried_shortcode, function() {
|
8 |
$('#su-generator-settings').removeClass('su-loading-animation');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
});
|
10 |
});
|
11 |
|
1 |
jQuery(document).ready(function($) {
|
2 |
|
3 |
+
// Apply chosen
|
4 |
+
$('#su-generator-select').chosen({
|
5 |
+
no_results_text: $('#su-generator-select').attr('data-no-results-text'),
|
6 |
+
allow_single_deselect: true
|
7 |
+
});
|
8 |
+
|
9 |
// Select shortcode
|
10 |
$('#su-generator-select').live( "change", function() {
|
11 |
var queried_shortcode = $('#su-generator-select').find(':selected').val();
|
12 |
$('#su-generator-settings').addClass('su-loading-animation');
|
13 |
$('#su-generator-settings').load($('#su-generator-url').val() + '/lib/generator.php?shortcode=' + queried_shortcode, function() {
|
14 |
$('#su-generator-settings').removeClass('su-loading-animation');
|
15 |
+
|
16 |
+
// Init color pickers
|
17 |
+
$('.su-generator-select-color').each(function(index) {
|
18 |
+
$(this).find('.su-generator-select-color-wheel').filter(':first').farbtastic('.su-generator-select-color-value:eq(' + index + ')');
|
19 |
+
$(this).find('.su-generator-select-color-value').focus(function() {
|
20 |
+
$('.su-generator-select-color-wheel:eq(' + index + ')').show();
|
21 |
+
});
|
22 |
+
$(this).find('.su-generator-select-color-value').blur(function() {
|
23 |
+
$('.su-generator-select-color-wheel:eq(' + index + ')').hide();
|
24 |
+
});
|
25 |
+
});
|
26 |
});
|
27 |
});
|
28 |
|
languages/shortcodes-ultimate-ru_RU.mo
CHANGED
Binary file
|
languages/shortcodes-ultimate-ru_RU.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: gn_themes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2012-
|
6 |
-
"PO-Revision-Date: 2012-
|
7 |
"Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -14,56 +14,56 @@ msgstr ""
|
|
14 |
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
-
#: shortcodes-ultimate.php:
|
18 |
#: lib/admin.php:9
|
19 |
-
#: lib/admin.php:
|
20 |
-
#: lib/widget.php:
|
21 |
-
#: lib/widget.php:
|
22 |
msgid "Shortcodes Ultimate"
|
23 |
msgstr "Шорткоды"
|
24 |
|
25 |
-
#: shortcodes-ultimate.php:
|
26 |
msgid "Vladimir Anokhin"
|
27 |
msgstr "Владимир Анохин"
|
28 |
|
29 |
-
#: shortcodes-ultimate.php:
|
30 |
msgid "Provides support for many easy to use shortcodes"
|
31 |
msgstr "Предоставляет поддержку множества полезных шорткодов"
|
32 |
|
33 |
-
#: shortcodes-ultimate.php:
|
34 |
-
#: shortcodes-ultimate.php:
|
35 |
-
#: lib/admin.php:
|
36 |
msgid "Settings"
|
37 |
msgstr "Настройки"
|
38 |
|
39 |
-
#: shortcodes-ultimate.php:
|
40 |
msgid "Docs"
|
41 |
msgstr "Документация"
|
42 |
|
43 |
-
#: shortcodes-ultimate.php:
|
44 |
-
#: lib/admin.php:
|
45 |
msgid "Settings saved"
|
46 |
msgstr "Настройки сохранены"
|
47 |
|
48 |
-
#: shortcodes-ultimate.php:
|
49 |
-
#: lib/admin.php:
|
50 |
msgid "Custom CSS saved"
|
51 |
msgstr "Произвольные стили сохранены"
|
52 |
|
53 |
-
#: shortcodes-ultimate.php:
|
54 |
msgid "Insert shortcode"
|
55 |
msgstr "Вставка шорткода"
|
56 |
|
57 |
-
#: shortcodes-ultimate.php:
|
58 |
msgid "Select shortcode"
|
59 |
msgstr "Выберите шорткод"
|
60 |
|
61 |
-
#: shortcodes-ultimate.php:
|
62 |
-
msgid "
|
63 |
-
msgstr "
|
64 |
|
65 |
-
#: shortcodes-ultimate.php:
|
66 |
-
#: lib/admin.php:
|
67 |
msgid "Support forum"
|
68 |
msgstr "Форум поддержки"
|
69 |
|
@@ -76,680 +76,696 @@ msgid "Support project"
|
|
76 |
msgstr "Поддержите проект"
|
77 |
|
78 |
#: lib/admin.php:42
|
79 |
-
|
|
|
|
|
|
|
|
|
80 |
msgid "Shortcodes"
|
81 |
msgstr "Шорткоды"
|
82 |
|
83 |
-
#: lib/admin.php:
|
84 |
msgid "About"
|
85 |
msgstr "О плагине"
|
86 |
|
87 |
-
#: lib/admin.php:
|
88 |
msgid "Custom CSS"
|
89 |
msgstr "Произвольные стили"
|
90 |
|
91 |
-
#: lib/admin.php:
|
92 |
-
#: lib/admin.php:
|
93 |
-
#: lib/generator.php:
|
94 |
msgid "Demo"
|
95 |
msgstr "Демо"
|
96 |
|
97 |
-
#: lib/admin.php:
|
98 |
msgid "For full functionality of this page it is recommended to enable JavaScript."
|
99 |
msgstr "На этой странице рекомендуется включить Javascript."
|
100 |
|
101 |
-
#: lib/admin.php:
|
102 |
msgid "Instructions"
|
103 |
msgstr "Инструкции"
|
104 |
|
105 |
-
#: lib/admin.php:
|
106 |
msgid "FREE Support"
|
107 |
msgstr "БЕСПЛАТНАЯ поддержка"
|
108 |
|
109 |
-
#: lib/admin.php:
|
110 |
msgid "Twitter"
|
111 |
msgstr "Твиттер разработчика"
|
112 |
|
113 |
-
#: lib/admin.php:
|
114 |
msgid "Do you love this plugin?"
|
115 |
msgstr "Вам нравится этот плагин?"
|
116 |
|
117 |
-
#: lib/admin.php:
|
118 |
msgid "Rate this plugin at wordpress.org"
|
119 |
msgstr "Оцените плагин на wordpress.org"
|
120 |
|
121 |
-
#: lib/admin.php:
|
122 |
msgid "5 stars"
|
123 |
msgstr "5 звезд"
|
124 |
|
125 |
-
#: lib/admin.php:
|
126 |
msgid "Review this plugin in your blog"
|
127 |
msgstr "Сделайте обзор этого плагина в своем блоге"
|
128 |
|
129 |
-
#: lib/admin.php:
|
130 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
msgid "Saving..."
|
132 |
msgstr "Сохранение..."
|
133 |
|
134 |
-
#: lib/admin.php:
|
135 |
msgid "Disable custom formatting"
|
136 |
msgstr "Отключить специальное форматирование"
|
137 |
|
138 |
-
#: lib/admin.php:
|
139 |
msgid "Enable this option if you have some problems with other plugins or content formatting"
|
140 |
msgstr "Отметьте этот флажок, если у вас возникли пролемы совместимости с другими плагинами или форматированием контента"
|
141 |
|
142 |
-
#: lib/admin.php:
|
143 |
msgid "Compatibility mode"
|
144 |
msgstr "Режим совместимости"
|
145 |
|
146 |
-
#: lib/admin.php:
|
147 |
msgid "Enable this option if you have some problems with other plugins that uses similar shortcode names"
|
148 |
msgstr "Отметьте этот флажок, если у вас используются другие шорткоды с такими же именами. Все шорткоды этого плагина будут иметь такие имена"
|
149 |
|
150 |
-
#: lib/admin.php:
|
151 |
msgid "Forum topic"
|
152 |
msgstr "Тема на форуме (англ.)"
|
153 |
|
154 |
-
#: lib/admin.php:
|
155 |
msgid "Disable scripts"
|
156 |
msgstr "Отключить скрипты"
|
157 |
|
158 |
-
#: lib/admin.php:
|
159 |
-
#: lib/admin.php:
|
160 |
-
#: lib/admin.php:
|
161 |
-
#: lib/admin.php:
|
162 |
-
#: lib/admin.php:
|
163 |
-
#: lib/admin.php:
|
164 |
-
#: lib/admin.php:
|
165 |
-
#: lib/admin.php:
|
166 |
msgid "Disable"
|
167 |
msgstr "Отключить"
|
168 |
|
169 |
-
#: lib/admin.php:
|
170 |
msgid "Check scripts, that you want to exclude form wp_head section"
|
171 |
msgstr "Отметьте скрипты, которые вы хотите исключить в wp_head"
|
172 |
|
173 |
-
#: lib/admin.php:
|
174 |
-
#: lib/admin.php:
|
175 |
msgid "Be careful with this settings!"
|
176 |
msgstr "Будьте осторожны с этими настройками!"
|
177 |
|
178 |
-
#: lib/admin.php:
|
179 |
msgid "Disable styles"
|
180 |
msgstr "Отключить файлы стилей"
|
181 |
|
182 |
-
#: lib/admin.php:
|
183 |
msgid "Check stylesheets, that you want to exclude form wp_head section"
|
184 |
msgstr "Отметьте файлы стилей, которые вы хотите исключить в wp_head"
|
185 |
|
186 |
-
#: lib/admin.php:
|
187 |
msgid "Save settings"
|
188 |
msgstr "Сохранить настройки"
|
189 |
|
190 |
-
#: lib/admin.php:
|
191 |
msgid "You can add custom styles, that will override defaults"
|
192 |
msgstr "Вы можете добавить произвольные стили, которые заменят оригинальные стили для шорткодов"
|
193 |
|
194 |
-
#: lib/admin.php:
|
195 |
msgid "See original styles"
|
196 |
msgstr "Смотреть оригинальные стили"
|
197 |
|
198 |
-
#: lib/admin.php:
|
199 |
msgid "Save styles"
|
200 |
msgstr "Сохранить стили"
|
201 |
|
202 |
-
#: lib/admin.php:
|
203 |
-
#: lib/admin.php:
|
204 |
msgid "Shortcode"
|
205 |
msgstr "Шорткоды"
|
206 |
|
207 |
-
#: lib/admin.php:
|
208 |
msgid "Parameters"
|
209 |
msgstr "Параметры"
|
210 |
|
211 |
-
#: lib/admin.php:
|
212 |
msgid "Usage"
|
213 |
msgstr "Пример использования"
|
214 |
|
215 |
-
#: lib/available.php:
|
|
|
|
|
|
|
|
|
216 |
msgid "Heading style"
|
217 |
msgstr "Стиль заголовка"
|
218 |
|
219 |
-
#: lib/available.php:
|
220 |
msgid "Heading"
|
221 |
msgstr "Заголовок"
|
222 |
|
223 |
-
#: lib/available.php:
|
224 |
msgid "Styled heading"
|
225 |
msgstr "Стильный заголовок"
|
226 |
|
227 |
-
#: lib/available.php:
|
228 |
msgid "Frame align"
|
229 |
msgstr "Выравнивание рамки"
|
230 |
|
231 |
-
#: lib/available.php:
|
232 |
msgid "Image tag"
|
233 |
msgstr "Тег изображения"
|
234 |
|
235 |
-
#: lib/available.php:
|
236 |
msgid "Styled image frame"
|
237 |
msgstr "Стиьная рамка изображения"
|
238 |
|
239 |
-
#: lib/available.php:
|
240 |
msgid "Tabs style"
|
241 |
msgstr "Стиль вкладок"
|
242 |
|
243 |
-
#: lib/available.php:
|
244 |
msgid "Tabs container"
|
245 |
msgstr "Контейнер вкладок"
|
246 |
|
247 |
-
#: lib/available.php:
|
248 |
msgid "Title"
|
249 |
msgstr "Заголовок"
|
250 |
|
251 |
-
#: lib/available.php:
|
252 |
msgid "Tab title"
|
253 |
msgstr "Заголовок вкладки"
|
254 |
|
255 |
-
#: lib/available.php:
|
256 |
msgid "Tab content"
|
257 |
msgstr "Содержимое вкладки"
|
258 |
|
259 |
-
#: lib/available.php:
|
260 |
msgid "Single tab"
|
261 |
msgstr "Одиночная вкладка"
|
262 |
|
263 |
-
#: lib/available.php:
|
264 |
-
#: lib/available.php:
|
265 |
#: lib/shortcodes.php:86
|
266 |
msgid "Spoiler title"
|
267 |
msgstr "Скрытый текст"
|
268 |
|
269 |
-
#: lib/available.php:
|
270 |
msgid "Is spoiler open?"
|
271 |
msgstr "Спойлер открыт?"
|
272 |
|
273 |
-
#: lib/available.php:
|
274 |
msgid "Spoiler style"
|
275 |
msgstr "Стиль спойлера"
|
276 |
|
277 |
-
#: lib/available.php:
|
278 |
msgid "Hidden content"
|
279 |
msgstr "Скрытое содержимое"
|
280 |
|
281 |
-
#: lib/available.php:
|
282 |
msgid "Hidden text"
|
283 |
msgstr "Скрытый текст"
|
284 |
|
285 |
-
#: lib/available.php:
|
286 |
msgid "Accordion"
|
287 |
msgstr "Аккордеон"
|
288 |
|
289 |
-
#: lib/available.php:
|
290 |
msgid "Show TOP link"
|
291 |
msgstr "Показать ссылку ВВЕРХ"
|
292 |
|
293 |
-
#: lib/available.php:
|
294 |
msgid "Content divider with optional TOP link"
|
295 |
msgstr "Разделитель текста со ссылкой ВВЕРХ"
|
296 |
|
297 |
-
#: lib/available.php:
|
298 |
msgid "Spacer height in pixels"
|
299 |
msgstr "Высота разделителя в пикселях"
|
300 |
|
301 |
-
#: lib/available.php:
|
302 |
msgid "Empty space with adjustable height"
|
303 |
msgstr "Пробел с настраиваемой высотой"
|
304 |
|
305 |
-
#: lib/available.php:
|
306 |
msgid "Quote style"
|
307 |
msgstr "Стиль цитаты"
|
308 |
|
309 |
-
#: lib/available.php:
|
310 |
msgid "Quote"
|
311 |
msgstr "Цитата"
|
312 |
|
313 |
-
#: lib/available.php:
|
314 |
msgid "Blockquote alternative"
|
315 |
msgstr "Альтернатива цитаты"
|
316 |
|
317 |
-
#: lib/available.php:
|
318 |
msgid "Pullquote alignment"
|
319 |
msgstr "Выравнивание цитаты"
|
320 |
|
321 |
-
#: lib/available.php:
|
322 |
-
#: lib/available.php:
|
323 |
msgid "Pullquote"
|
324 |
msgstr "Цитата с обтеканием"
|
325 |
|
326 |
-
#: lib/available.php:
|
327 |
msgid "Background color"
|
328 |
msgstr "Цвет фона"
|
329 |
|
330 |
-
#: lib/available.php:
|
331 |
msgid "Text color"
|
332 |
msgstr "Цвет текста"
|
333 |
|
334 |
-
#: lib/available.php:
|
335 |
-
#: lib/available.php:
|
336 |
msgid "Highlighted text"
|
337 |
msgstr "Подсвеченный текст"
|
338 |
|
339 |
-
#: lib/available.php:
|
340 |
msgid "Label style"
|
341 |
msgstr "Стиль лейбла"
|
342 |
|
343 |
-
#: lib/available.php:
|
344 |
msgid "Label"
|
345 |
msgstr "Лейбл"
|
346 |
|
347 |
-
#: lib/available.php:
|
348 |
msgid "Styled label"
|
349 |
msgstr "Стильный лейбл"
|
350 |
|
351 |
-
#: lib/available.php:
|
352 |
msgid "Dropcap style"
|
353 |
msgstr "Стиль буквицы"
|
354 |
|
355 |
-
#: lib/available.php:
|
356 |
msgid "Dropcap size"
|
357 |
msgstr "Размер буквицы"
|
358 |
|
359 |
-
#: lib/available.php:
|
360 |
msgid "D"
|
361 |
msgstr "D"
|
362 |
|
363 |
-
#: lib/available.php:
|
364 |
msgid "Dropcap"
|
365 |
msgstr "Буквица"
|
366 |
|
367 |
-
#: lib/available.php:
|
368 |
msgid "Option name"
|
369 |
msgstr "Имя опции"
|
370 |
|
371 |
-
#: lib/available.php:
|
372 |
msgid "Blog info"
|
373 |
msgstr "Инфо блога"
|
374 |
|
375 |
-
#: lib/available.php:
|
376 |
msgid "Post/page ID"
|
377 |
msgstr "ID записи/страницы"
|
378 |
|
379 |
-
#: lib/available.php:
|
380 |
msgid "Link target"
|
381 |
msgstr "Цель ссылки"
|
382 |
|
383 |
-
#: lib/available.php:
|
384 |
msgid "Permalink text"
|
385 |
msgstr "Текст постоянной ссылки"
|
386 |
|
387 |
-
#: lib/available.php:
|
388 |
msgid "Permalink to specified post/page"
|
389 |
msgstr "Постоянная ссылка на указанную запись/страницу"
|
390 |
|
391 |
-
#: lib/available.php:
|
392 |
msgid "Button link"
|
393 |
msgstr "Ссылка кнопки"
|
394 |
|
395 |
-
#: lib/available.php:
|
396 |
msgid "Button background color"
|
397 |
msgstr "Цвет фона кнопки"
|
398 |
|
399 |
-
#: lib/available.php:
|
400 |
msgid "Button size"
|
401 |
msgstr "Размер кнопки"
|
402 |
|
403 |
-
#: lib/available.php:
|
404 |
msgid "Button background style"
|
405 |
msgstr "Стиль фона кнопки"
|
406 |
|
407 |
-
#: lib/available.php:
|
408 |
msgid "Dark text color"
|
409 |
msgstr "Темный цвет текста"
|
410 |
|
411 |
-
#: lib/available.php:
|
412 |
msgid "Corners radius"
|
413 |
msgstr "Радиус углов"
|
414 |
|
415 |
-
#: lib/available.php:
|
416 |
msgid "Button icon"
|
417 |
msgstr "Иконка кнопки"
|
418 |
|
419 |
-
#: lib/available.php:
|
420 |
msgid "Button class"
|
421 |
msgstr "Класс кнопки"
|
422 |
|
423 |
-
#: lib/available.php:
|
424 |
msgid "Button link target"
|
425 |
msgstr "Цель ссылки кнопки"
|
426 |
|
427 |
-
#: lib/available.php:
|
428 |
msgid "Button text"
|
429 |
msgstr "Текст кнопки"
|
430 |
|
431 |
-
#: lib/available.php:
|
432 |
msgid "Styled button"
|
433 |
msgstr "Стильная кнопка"
|
434 |
|
435 |
-
#: lib/available.php:
|
436 |
msgid "Link color"
|
437 |
msgstr "Цвет ссылки"
|
438 |
|
439 |
-
#: lib/available.php:
|
440 |
msgid "URL"
|
441 |
msgstr "URL"
|
442 |
|
443 |
-
#: lib/available.php:
|
444 |
msgid "Link text"
|
445 |
msgstr "Текст ссылки"
|
446 |
|
447 |
-
#: lib/available.php:
|
448 |
msgid "Fancy link"
|
449 |
msgstr "Стильная ссылка"
|
450 |
|
451 |
-
#: lib/available.php:
|
452 |
-
#: lib/available.php:
|
453 |
msgid "Service title"
|
454 |
msgstr "Название услуги"
|
455 |
|
456 |
-
#: lib/available.php:
|
457 |
msgid "Service icon"
|
458 |
msgstr "Иконка услуги"
|
459 |
|
460 |
-
#: lib/available.php:
|
461 |
msgid "Icon size"
|
462 |
msgstr "Размер иконки"
|
463 |
|
464 |
-
#: lib/available.php:
|
465 |
msgid "Service description"
|
466 |
msgstr "Описание услуги"
|
467 |
|
468 |
-
#: lib/available.php:
|
469 |
msgid "Service box with title"
|
470 |
msgstr "Блок услуга с заголовком"
|
471 |
|
472 |
-
#: lib/available.php:
|
473 |
msgid "Box style"
|
474 |
msgstr "Стиль блока"
|
475 |
|
476 |
-
#: lib/available.php:
|
477 |
msgid "Show login message"
|
478 |
msgstr "Показывать предложение войти"
|
479 |
|
480 |
-
#: lib/available.php:
|
481 |
msgid "Content for logged members"
|
482 |
msgstr "Содержимое для залогиненых пользователей"
|
483 |
|
484 |
-
#: lib/available.php:
|
485 |
msgid "Content for logged in members only"
|
486 |
msgstr "Ссодержимое только для залогиненных"
|
487 |
|
488 |
-
#: lib/available.php:
|
489 |
msgid "Content for guests"
|
490 |
msgstr "Содержимое для гостей"
|
491 |
|
492 |
-
#: lib/available.php:
|
493 |
msgid "Content for guests only"
|
494 |
msgstr "Ссодержимое только для гостей"
|
495 |
|
496 |
-
#: lib/available.php:
|
497 |
-
#: lib/available.php:
|
498 |
msgid "Box title"
|
499 |
msgstr "Заголовок блока"
|
500 |
|
501 |
-
#: lib/available.php:
|
502 |
msgid "Box color"
|
503 |
msgstr "Цвет блока"
|
504 |
|
505 |
-
#: lib/available.php:
|
506 |
msgid "Box content"
|
507 |
msgstr "Содержимое блока"
|
508 |
|
509 |
-
#: lib/available.php:
|
510 |
msgid "Colored box with caption"
|
511 |
msgstr "Цветной блок с заголовком"
|
512 |
|
513 |
-
#: lib/available.php:
|
514 |
msgid "Note color"
|
515 |
msgstr "Цвет блока"
|
516 |
|
517 |
-
#: lib/available.php:
|
518 |
msgid "Note text"
|
519 |
msgstr "Текст заметки"
|
520 |
|
521 |
-
#: lib/available.php:
|
522 |
msgid "Colored box"
|
523 |
msgstr "Цветной блок"
|
524 |
|
525 |
-
#: lib/available.php:
|
526 |
msgid "Private note text"
|
527 |
msgstr "Текст приватной заметки"
|
528 |
|
529 |
-
#: lib/available.php:
|
530 |
msgid "Private note for post authors"
|
531 |
msgstr "Приватный текст для других авторов"
|
532 |
|
533 |
-
#: lib/available.php:
|
534 |
msgid "List style"
|
535 |
msgstr "Стиль списка"
|
536 |
|
537 |
-
#: lib/available.php:
|
538 |
msgid "List item "
|
539 |
msgstr "Элемент списка"
|
540 |
|
541 |
-
#: lib/available.php:
|
542 |
msgid "Styled unordered list"
|
543 |
msgstr "Стильный неупорядоченный список"
|
544 |
|
545 |
-
#: lib/available.php:
|
546 |
msgid "Feed URL"
|
547 |
msgstr "URL ленты"
|
548 |
|
549 |
-
#: lib/available.php:
|
550 |
msgid "Number of item to show"
|
551 |
msgstr "Количество элементов для показа"
|
552 |
|
553 |
-
#: lib/available.php:
|
554 |
msgid "Feed grabber"
|
555 |
msgstr "Граббер новостных лент"
|
556 |
|
557 |
-
#: lib/available.php:
|
558 |
msgid "Custom menu name"
|
559 |
msgstr "Имя произвольного меню"
|
560 |
|
561 |
-
#: lib/available.php:
|
562 |
msgid "Custom menu by name"
|
563 |
msgstr "Произвольное меню"
|
564 |
|
565 |
-
#: lib/available.php:
|
566 |
-
#: lib/available.php:
|
567 |
msgid "Depth level"
|
568 |
msgstr "Глубина"
|
569 |
|
570 |
-
#: lib/available.php:
|
571 |
msgid "Parent page ID"
|
572 |
msgstr "ID родительской страницы"
|
573 |
|
574 |
-
#: lib/available.php:
|
575 |
msgid "Page childrens"
|
576 |
msgstr "Потомки страницы"
|
577 |
|
578 |
-
#: lib/available.php:
|
579 |
msgid "Page siblings"
|
580 |
msgstr "Братья страницы"
|
581 |
|
582 |
-
#: lib/available.php:
|
583 |
msgid "Column width"
|
584 |
msgstr "Ширина колонки"
|
585 |
|
586 |
-
#: lib/available.php:
|
587 |
msgid "Last column"
|
588 |
msgstr "Последняя колонка"
|
589 |
|
590 |
-
#: lib/available.php:
|
591 |
msgid "Column style"
|
592 |
msgstr "Стиль колонки"
|
593 |
|
594 |
-
#: lib/available.php:
|
595 |
msgid "Column content"
|
596 |
msgstr "Содержимое колонки"
|
597 |
|
598 |
-
#: lib/available.php:
|
599 |
msgid "Flexible columns"
|
600 |
msgstr "Резновые колонки"
|
601 |
|
602 |
-
#: lib/available.php:
|
603 |
msgid "Table style"
|
604 |
msgstr "Стиль таблицы"
|
605 |
|
606 |
-
#: lib/available.php:
|
607 |
msgid "Create table from CSV"
|
608 |
msgstr "Создание таблицы из CSV файла"
|
609 |
|
610 |
-
#: lib/available.php:
|
611 |
msgid "Styled table from HTML or CSV file"
|
612 |
msgstr "Стильная таблица из HTML или CSV файла"
|
613 |
|
614 |
-
#: lib/available.php:
|
615 |
msgid "Media URL"
|
616 |
msgstr "Ссылка на медиа"
|
617 |
|
618 |
-
#: lib/available.php:793
|
619 |
-
#: lib/available.php:826
|
620 |
-
#: lib/available.php:845
|
621 |
-
msgid "Width"
|
622 |
-
msgstr "Ширина"
|
623 |
-
|
624 |
#: lib/available.php:798
|
625 |
#: lib/available.php:831
|
626 |
#: lib/available.php:850
|
|
|
|
|
|
|
|
|
|
|
|
|
627 |
msgid "Height"
|
628 |
msgstr "Высота"
|
629 |
|
630 |
-
#: lib/available.php:
|
631 |
msgid "jwPlayer url-encoded params"
|
632 |
msgstr "Параметры для jwPlayer в урл-формате"
|
633 |
|
634 |
-
#: lib/available.php:
|
635 |
msgid "YouTube video, Vimeo video, .mp4/.flv video, .mp3 file or images"
|
636 |
msgstr "YouTube видео, Vimeo видео, .mp4/.flv видео, .mp3 файл или изображения"
|
637 |
|
638 |
-
#: lib/available.php:
|
639 |
msgid "Document URL"
|
640 |
msgstr "Ссылка на документ"
|
641 |
|
642 |
-
#: lib/available.php:
|
643 |
msgid ".doc, .xls, .pdf viewer by Google"
|
644 |
msgstr ".doc, .xls, .pdf просмотрщик от Google"
|
645 |
|
646 |
-
#: lib/available.php:
|
647 |
msgid "Marker address"
|
648 |
msgstr "Адрес маркера"
|
649 |
|
650 |
-
#: lib/available.php:
|
651 |
msgid "Maps by Google"
|
652 |
msgstr "Карты от Google"
|
653 |
|
654 |
-
#: lib/available.php:
|
655 |
-
#: lib/available.php:
|
656 |
-
#: lib/available.php:
|
657 |
msgid "Source of images"
|
658 |
msgstr "Источник изображений"
|
659 |
|
660 |
-
#: lib/available.php:
|
661 |
-
#: lib/available.php:
|
662 |
-
#: lib/available.php:
|
663 |
msgid "Images links"
|
664 |
msgstr "Ссылки с изображений"
|
665 |
|
666 |
-
#: lib/available.php:
|
667 |
msgid "Slider size"
|
668 |
msgstr "Размер слайдера"
|
669 |
|
670 |
-
#: lib/available.php:
|
671 |
msgid "Number of slides"
|
672 |
msgstr "Количество слайдов"
|
673 |
|
674 |
-
#: lib/available.php:
|
675 |
msgid "Animation effect"
|
676 |
msgstr "Эффект анимации"
|
677 |
|
678 |
-
#: lib/available.php:
|
679 |
-
#: lib/available.php:
|
680 |
msgid "Animation speed (1000 = 1 second)"
|
681 |
msgstr "Скорость анимации (1000 = 1 секунда)"
|
682 |
|
683 |
-
#: lib/available.php:
|
684 |
msgid "Animation delay (1000 = 1 second)"
|
685 |
msgstr "Задержка анимации (1000 = 1 секунда)"
|
686 |
|
687 |
-
#: lib/available.php:
|
688 |
msgid "Nivo slider by attached to post images"
|
689 |
msgstr "Nivo slider из изображений записи"
|
690 |
|
691 |
-
#: lib/available.php:
|
692 |
msgid "Carousel item size"
|
693 |
msgstr "Размер элементов карусели"
|
694 |
|
695 |
-
#: lib/available.php:
|
696 |
-
#: lib/available.php:
|
697 |
msgid "Number of items"
|
698 |
msgstr "Количество элементов"
|
699 |
|
700 |
-
#: lib/available.php:
|
701 |
msgid "Number of items in viewport"
|
702 |
msgstr "Количество элементов в видмой части"
|
703 |
|
704 |
-
#: lib/available.php:
|
705 |
msgid "Space between items in pixels"
|
706 |
msgstr "Расстояние между элементами в пикселях"
|
707 |
|
708 |
-
#: lib/available.php:
|
709 |
msgid "jCarousel by attached to post images"
|
710 |
msgstr "jCarousel из изображений записи"
|
711 |
|
712 |
-
#: lib/available.php:
|
713 |
msgid "Gallery style"
|
714 |
msgstr "Стиль галереи"
|
715 |
|
716 |
-
#: lib/available.php:
|
717 |
msgid "Show image description"
|
718 |
msgstr "Описания изображений"
|
719 |
|
720 |
-
#: lib/available.php:
|
721 |
msgid "Gallery item size"
|
722 |
msgstr "Размер миниатюр"
|
723 |
|
724 |
-
#: lib/available.php:
|
725 |
msgid "Custom gallery by attached to post images"
|
726 |
msgstr "Произвольная галерея"
|
727 |
|
728 |
-
#: lib/available.php:
|
729 |
msgid "Twitter username"
|
730 |
msgstr "Имя пользователя"
|
731 |
|
732 |
-
#: lib/available.php:
|
733 |
msgid "Number of tweets to show"
|
734 |
msgstr "Количество твитов для показа"
|
735 |
|
736 |
-
#: lib/available.php:
|
737 |
msgid "Tweets style"
|
738 |
msgstr "Стиль твитов"
|
739 |
|
740 |
-
#: lib/available.php:
|
741 |
msgid "Show relative time"
|
742 |
msgstr "Показывать время"
|
743 |
|
744 |
-
#: lib/available.php:
|
745 |
msgid "Recent tweets"
|
746 |
msgstr "Последние твиты"
|
747 |
|
748 |
-
#: lib/generator.php:
|
749 |
msgid "Content"
|
750 |
msgstr "Содержимое"
|
751 |
|
752 |
-
#: lib/generator.php:
|
753 |
msgid "Insert"
|
754 |
msgstr "Вставить"
|
755 |
|
@@ -787,159 +803,48 @@ msgstr "Это содержимое только для участников."
|
|
787 |
msgid "Please login"
|
788 |
msgstr "Пожалуйста войдите"
|
789 |
|
790 |
-
#: lib/twitter.php:
|
791 |
msgid "year"
|
792 |
msgstr "год"
|
793 |
|
794 |
-
#: lib/twitter.php:
|
795 |
msgid "month"
|
796 |
msgstr "месяц"
|
797 |
|
798 |
-
#: lib/twitter.php:
|
799 |
msgid "week"
|
800 |
msgstr "неделя"
|
801 |
|
802 |
-
#: lib/twitter.php:
|
803 |
msgid "day"
|
804 |
msgstr "день"
|
805 |
|
806 |
-
#: lib/twitter.php:
|
807 |
msgid "hour"
|
808 |
msgstr "час"
|
809 |
|
810 |
-
#: lib/twitter.php:
|
811 |
msgid "minute"
|
812 |
msgstr "минута"
|
813 |
|
814 |
-
#: lib/twitter.php:
|
815 |
-
#: lib/twitter.php:
|
816 |
msgid "s"
|
817 |
msgstr "с"
|
818 |
|
819 |
-
#: lib/twitter.php:
|
820 |
msgid "username not specified"
|
821 |
msgstr "имя пользователя не задано"
|
822 |
|
823 |
-
#: lib/twitter.php:
|
824 |
msgid "no public messages"
|
825 |
msgstr "нет публичных твитов"
|
826 |
|
827 |
-
#: lib/widget.php:
|
828 |
msgid "Special Shortcodes Ultimate widget"
|
829 |
msgstr "Специальный виджет для вставки шорткодов"
|
830 |
|
831 |
-
#: lib/widget.php:
|
832 |
msgid "Title:"
|
833 |
msgstr "Заголовок:"
|
834 |
|
835 |
-
#~ msgid "Disable rounded corners"
|
836 |
-
#~ msgstr "Отключить скругленные уголки"
|
837 |
-
|
838 |
-
#~ msgid "Bug report"
|
839 |
-
#~ msgstr "Сообщить об ошибке"
|
840 |
-
|
841 |
-
#~ msgid "Buy author a beer"
|
842 |
-
#~ msgstr "Купите автору пива"
|
843 |
-
|
844 |
-
#~ msgid "Donate"
|
845 |
-
#~ msgstr "Сделать пожертвование"
|
846 |
-
|
847 |
-
#~ msgid "Attention! [nivo_slider] and [jcarousel] was improved and modified!"
|
848 |
-
#~ msgstr ""
|
849 |
-
#~ "Внимание! Шорткоды [nivo_slider] и [jcarousel] были улучшены и изменены!"
|
850 |
-
|
851 |
-
#~ msgid "View details"
|
852 |
-
#~ msgstr "Смотреть детали"
|
853 |
-
|
854 |
-
#~ msgid "Slider height"
|
855 |
-
#~ msgstr "Высота слайдера"
|
856 |
-
|
857 |
-
#~ msgid "Slides links"
|
858 |
-
#~ msgstr "Ссылки слайдов"
|
859 |
-
|
860 |
-
#~ msgid "Carousel height"
|
861 |
-
#~ msgstr "Высота карусели"
|
862 |
-
|
863 |
-
#~ msgid "Carousel background"
|
864 |
-
#~ msgstr "Фон карусели"
|
865 |
-
|
866 |
-
#~ msgid "Support"
|
867 |
-
#~ msgstr "Форум поддержки"
|
868 |
-
|
869 |
-
#~ msgid "You can define custom styles for each columns set"
|
870 |
-
#~ msgstr "Вы можете определить особые стили для каждого набора колонок"
|
871 |
-
|
872 |
-
#~ msgid "Tab name"
|
873 |
-
#~ msgstr "Имя вкладки"
|
874 |
-
|
875 |
-
#~ msgid "See available values"
|
876 |
-
#~ msgstr "Возможные значения (англ.)"
|
877 |
-
|
878 |
-
#~ msgid "Read more"
|
879 |
-
#~ msgstr "Подробнее"
|
880 |
-
|
881 |
-
#~ msgid "image url"
|
882 |
-
#~ msgstr "ссылка на изображение"
|
883 |
-
|
884 |
-
#~ msgid "Plain table"
|
885 |
-
#~ msgstr "Простая таблица"
|
886 |
-
|
887 |
-
#~ msgid "From CSV"
|
888 |
-
#~ msgstr "Из CSV-файла"
|
889 |
-
|
890 |
-
#~ msgid "1 second"
|
891 |
-
#~ msgstr "1 секунда"
|
892 |
-
|
893 |
-
#~ msgid "See filter IDs"
|
894 |
-
#~ msgstr "Смотреть ID фильтров"
|
895 |
-
|
896 |
-
#~ msgid "General settings"
|
897 |
-
#~ msgstr "Основные настройки"
|
898 |
-
|
899 |
-
#~ msgid "Available shortcodes"
|
900 |
-
#~ msgstr "Список шорткодов"
|
901 |
-
|
902 |
-
#~ msgid "Specify menu name and add elements to menu"
|
903 |
-
#~ msgstr "Укажите имя меню, или добавьте элементы в укзанное меню"
|
904 |
-
|
905 |
-
#~ msgid "Support links"
|
906 |
-
#~ msgstr "Полезные ссылки"
|
907 |
-
|
908 |
-
#~ msgid "You can support this project by buying the author a cup of coffee!"
|
909 |
-
#~ msgstr "Вы можете поддержать этот проект, купив автору чашечку кофе!"
|
910 |
-
|
911 |
-
#~ msgid "Donate with MoneyBookers.com"
|
912 |
-
#~ msgstr "Сделать пожертвование через MoneyBookers.com"
|
913 |
-
|
914 |
-
#~ msgid "Donation to help support Shortcodes Ultimate plugin"
|
915 |
-
#~ msgstr "Пожертвование автору плагина Shortcodes Ultimate"
|
916 |
-
|
917 |
-
#~ msgid "Click to make a donation"
|
918 |
-
#~ msgstr "Кликните, чтобы сделать пожертвование"
|
919 |
-
|
920 |
-
#~ msgid "Donate with Money.Yandex.ru"
|
921 |
-
#~ msgstr "Сделать пожертвование через Money.Yandex.ru"
|
922 |
-
|
923 |
-
#~ msgid "Donate with WebMoney.ru"
|
924 |
-
#~ msgstr "Сделать пожертвование через WebMoney.ru"
|
925 |
-
|
926 |
-
#~ msgid "Want to support author? Just share this link!"
|
927 |
-
#~ msgstr "Хотите поддержать автора? Просто опубликйте ссылку!"
|
928 |
-
|
929 |
-
#~ msgid "Share on Facebook"
|
930 |
-
#~ msgstr "Опубликовать на Facebook"
|
931 |
-
|
932 |
-
#~ msgid "Share on Twitter"
|
933 |
-
#~ msgstr "Опубликовать на Twitter"
|
934 |
-
|
935 |
-
#~ msgid "Shortcodes ultimate settings"
|
936 |
-
#~ msgstr "Настройки Shortcodes Ultimate"
|
937 |
-
|
938 |
-
#~ msgid "Contact author"
|
939 |
-
#~ msgstr "Связаться с разработчиком"
|
940 |
-
|
941 |
-
#~ msgid "Coming soon"
|
942 |
-
#~ msgstr "Появится в ближайшее время"
|
943 |
-
|
944 |
-
#~ msgid "Visit"
|
945 |
-
#~ msgstr "Посетите"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: gn_themes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-05-29 08:40+0300\n"
|
6 |
+
"PO-Revision-Date: 2012-05-29 08:41+0300\n"
|
7 |
"Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
14 |
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
+
#: shortcodes-ultimate.php:194
|
18 |
#: lib/admin.php:9
|
19 |
+
#: lib/admin.php:70
|
20 |
+
#: lib/widget.php:41
|
21 |
+
#: lib/widget.php:89
|
22 |
msgid "Shortcodes Ultimate"
|
23 |
msgstr "Шорткоды"
|
24 |
|
25 |
+
#: shortcodes-ultimate.php:194
|
26 |
msgid "Vladimir Anokhin"
|
27 |
msgstr "Владимир Анохин"
|
28 |
|
29 |
+
#: shortcodes-ultimate.php:194
|
30 |
msgid "Provides support for many easy to use shortcodes"
|
31 |
msgstr "Предоставляет поддержку множества полезных шорткодов"
|
32 |
|
33 |
+
#: shortcodes-ultimate.php:291
|
34 |
+
#: shortcodes-ultimate.php:352
|
35 |
+
#: lib/admin.php:79
|
36 |
msgid "Settings"
|
37 |
msgstr "Настройки"
|
38 |
|
39 |
+
#: shortcodes-ultimate.php:292
|
40 |
msgid "Docs"
|
41 |
msgstr "Документация"
|
42 |
|
43 |
+
#: shortcodes-ultimate.php:305
|
44 |
+
#: lib/admin.php:114
|
45 |
msgid "Settings saved"
|
46 |
msgstr "Настройки сохранены"
|
47 |
|
48 |
+
#: shortcodes-ultimate.php:310
|
49 |
+
#: lib/admin.php:175
|
50 |
msgid "Custom CSS saved"
|
51 |
msgstr "Произвольные стили сохранены"
|
52 |
|
53 |
+
#: shortcodes-ultimate.php:318
|
54 |
msgid "Insert shortcode"
|
55 |
msgstr "Вставка шорткода"
|
56 |
|
57 |
+
#: shortcodes-ultimate.php:332
|
58 |
msgid "Select shortcode"
|
59 |
msgstr "Выберите шорткод"
|
60 |
|
61 |
+
#: shortcodes-ultimate.php:332
|
62 |
+
msgid "Shortcode not found"
|
63 |
+
msgstr "Шорткоды не найдены"
|
64 |
|
65 |
+
#: shortcodes-ultimate.php:353
|
66 |
+
#: lib/admin.php:88
|
67 |
msgid "Support forum"
|
68 |
msgstr "Форум поддержки"
|
69 |
|
76 |
msgstr "Поддержите проект"
|
77 |
|
78 |
#: lib/admin.php:42
|
79 |
+
msgid "Partners"
|
80 |
+
msgstr "Партнеры"
|
81 |
+
|
82 |
+
#: lib/admin.php:51
|
83 |
+
#: lib/admin.php:81
|
84 |
msgid "Shortcodes"
|
85 |
msgstr "Шорткоды"
|
86 |
|
87 |
+
#: lib/admin.php:78
|
88 |
msgid "About"
|
89 |
msgstr "О плагине"
|
90 |
|
91 |
+
#: lib/admin.php:80
|
92 |
msgid "Custom CSS"
|
93 |
msgstr "Произвольные стили"
|
94 |
|
95 |
+
#: lib/admin.php:82
|
96 |
+
#: lib/admin.php:227
|
97 |
+
#: lib/generator.php:60
|
98 |
msgid "Demo"
|
99 |
msgstr "Демо"
|
100 |
|
101 |
+
#: lib/admin.php:85
|
102 |
msgid "For full functionality of this page it is recommended to enable JavaScript."
|
103 |
msgstr "На этой странице рекомендуется включить Javascript."
|
104 |
|
105 |
+
#: lib/admin.php:85
|
106 |
msgid "Instructions"
|
107 |
msgstr "Инструкции"
|
108 |
|
109 |
+
#: lib/admin.php:87
|
110 |
msgid "FREE Support"
|
111 |
msgstr "БЕСПЛАТНАЯ поддержка"
|
112 |
|
113 |
+
#: lib/admin.php:89
|
114 |
msgid "Twitter"
|
115 |
msgstr "Твиттер разработчика"
|
116 |
|
117 |
+
#: lib/admin.php:93
|
118 |
msgid "Do you love this plugin?"
|
119 |
msgstr "Вам нравится этот плагин?"
|
120 |
|
121 |
+
#: lib/admin.php:94
|
122 |
msgid "Rate this plugin at wordpress.org"
|
123 |
msgstr "Оцените плагин на wordpress.org"
|
124 |
|
125 |
+
#: lib/admin.php:94
|
126 |
msgid "5 stars"
|
127 |
msgstr "5 звезд"
|
128 |
|
129 |
+
#: lib/admin.php:95
|
130 |
msgid "Review this plugin in your blog"
|
131 |
msgstr "Сделайте обзор этого плагина в своем блоге"
|
132 |
|
133 |
+
#: lib/admin.php:96
|
134 |
+
msgid "Check Premium Addons"
|
135 |
+
msgstr "Посмотрите премиум-дополнения"
|
136 |
+
|
137 |
+
#: lib/admin.php:96
|
138 |
+
msgid "(coming soon)"
|
139 |
+
msgstr "(скоро)"
|
140 |
+
|
141 |
+
#: lib/admin.php:113
|
142 |
+
#: lib/admin.php:174
|
143 |
msgid "Saving..."
|
144 |
msgstr "Сохранение..."
|
145 |
|
146 |
+
#: lib/admin.php:118
|
147 |
msgid "Disable custom formatting"
|
148 |
msgstr "Отключить специальное форматирование"
|
149 |
|
150 |
+
#: lib/admin.php:121
|
151 |
msgid "Enable this option if you have some problems with other plugins or content formatting"
|
152 |
msgstr "Отметьте этот флажок, если у вас возникли пролемы совместимости с другими плагинами или форматированием контента"
|
153 |
|
154 |
+
#: lib/admin.php:126
|
155 |
msgid "Compatibility mode"
|
156 |
msgstr "Режим совместимости"
|
157 |
|
158 |
+
#: lib/admin.php:129
|
159 |
msgid "Enable this option if you have some problems with other plugins that uses similar shortcode names"
|
160 |
msgstr "Отметьте этот флажок, если у вас используются другие шорткоды с такими же именами. Все шорткоды этого плагина будут иметь такие имена"
|
161 |
|
162 |
+
#: lib/admin.php:129
|
163 |
msgid "Forum topic"
|
164 |
msgstr "Тема на форуме (англ.)"
|
165 |
|
166 |
+
#: lib/admin.php:133
|
167 |
msgid "Disable scripts"
|
168 |
msgstr "Отключить скрипты"
|
169 |
|
170 |
+
#: lib/admin.php:137
|
171 |
+
#: lib/admin.php:138
|
172 |
+
#: lib/admin.php:139
|
173 |
+
#: lib/admin.php:140
|
174 |
+
#: lib/admin.php:141
|
175 |
+
#: lib/admin.php:152
|
176 |
+
#: lib/admin.php:153
|
177 |
+
#: lib/admin.php:154
|
178 |
msgid "Disable"
|
179 |
msgstr "Отключить"
|
180 |
|
181 |
+
#: lib/admin.php:144
|
182 |
msgid "Check scripts, that you want to exclude form wp_head section"
|
183 |
msgstr "Отметьте скрипты, которые вы хотите исключить в wp_head"
|
184 |
|
185 |
+
#: lib/admin.php:144
|
186 |
+
#: lib/admin.php:157
|
187 |
msgid "Be careful with this settings!"
|
188 |
msgstr "Будьте осторожны с этими настройками!"
|
189 |
|
190 |
+
#: lib/admin.php:148
|
191 |
msgid "Disable styles"
|
192 |
msgstr "Отключить файлы стилей"
|
193 |
|
194 |
+
#: lib/admin.php:157
|
195 |
msgid "Check stylesheets, that you want to exclude form wp_head section"
|
196 |
msgstr "Отметьте файлы стилей, которые вы хотите исключить в wp_head"
|
197 |
|
198 |
+
#: lib/admin.php:163
|
199 |
msgid "Save settings"
|
200 |
msgstr "Сохранить настройки"
|
201 |
|
202 |
+
#: lib/admin.php:176
|
203 |
msgid "You can add custom styles, that will override defaults"
|
204 |
msgstr "Вы можете добавить произвольные стили, которые заменят оригинальные стили для шорткодов"
|
205 |
|
206 |
+
#: lib/admin.php:177
|
207 |
msgid "See original styles"
|
208 |
msgstr "Смотреть оригинальные стили"
|
209 |
|
210 |
+
#: lib/admin.php:180
|
211 |
msgid "Save styles"
|
212 |
msgstr "Сохранить стили"
|
213 |
|
214 |
+
#: lib/admin.php:190
|
215 |
+
#: lib/admin.php:226
|
216 |
msgid "Shortcode"
|
217 |
msgstr "Шорткоды"
|
218 |
|
219 |
+
#: lib/admin.php:191
|
220 |
msgid "Parameters"
|
221 |
msgstr "Параметры"
|
222 |
|
223 |
+
#: lib/admin.php:192
|
224 |
msgid "Usage"
|
225 |
msgstr "Пример использования"
|
226 |
|
227 |
+
#: lib/available.php:10
|
228 |
+
msgid "Basic shortcodes"
|
229 |
+
msgstr "Базовые шорткоды"
|
230 |
+
|
231 |
+
#: lib/available.php:23
|
232 |
msgid "Heading style"
|
233 |
msgstr "Стиль заголовка"
|
234 |
|
235 |
+
#: lib/available.php:27
|
236 |
msgid "Heading"
|
237 |
msgstr "Заголовок"
|
238 |
|
239 |
+
#: lib/available.php:28
|
240 |
msgid "Styled heading"
|
241 |
msgstr "Стильный заголовок"
|
242 |
|
243 |
+
#: lib/available.php:42
|
244 |
msgid "Frame align"
|
245 |
msgstr "Выравнивание рамки"
|
246 |
|
247 |
+
#: lib/available.php:46
|
248 |
msgid "Image tag"
|
249 |
msgstr "Тег изображения"
|
250 |
|
251 |
+
#: lib/available.php:47
|
252 |
msgid "Styled image frame"
|
253 |
msgstr "Стиьная рамка изображения"
|
254 |
|
255 |
+
#: lib/available.php:61
|
256 |
msgid "Tabs style"
|
257 |
msgstr "Стиль вкладок"
|
258 |
|
259 |
+
#: lib/available.php:65
|
260 |
msgid "Tabs container"
|
261 |
msgstr "Контейнер вкладок"
|
262 |
|
263 |
+
#: lib/available.php:74
|
264 |
msgid "Title"
|
265 |
msgstr "Заголовок"
|
266 |
|
267 |
+
#: lib/available.php:75
|
268 |
msgid "Tab title"
|
269 |
msgstr "Заголовок вкладки"
|
270 |
|
271 |
+
#: lib/available.php:79
|
272 |
msgid "Tab content"
|
273 |
msgstr "Содержимое вкладки"
|
274 |
|
275 |
+
#: lib/available.php:80
|
276 |
msgid "Single tab"
|
277 |
msgstr "Одиночная вкладка"
|
278 |
|
279 |
+
#: lib/available.php:89
|
280 |
+
#: lib/available.php:90
|
281 |
#: lib/shortcodes.php:86
|
282 |
msgid "Spoiler title"
|
283 |
msgstr "Скрытый текст"
|
284 |
|
285 |
+
#: lib/available.php:98
|
286 |
msgid "Is spoiler open?"
|
287 |
msgstr "Спойлер открыт?"
|
288 |
|
289 |
+
#: lib/available.php:106
|
290 |
msgid "Spoiler style"
|
291 |
msgstr "Стиль спойлера"
|
292 |
|
293 |
+
#: lib/available.php:110
|
294 |
msgid "Hidden content"
|
295 |
msgstr "Скрытое содержимое"
|
296 |
|
297 |
+
#: lib/available.php:111
|
298 |
msgid "Hidden text"
|
299 |
msgstr "Скрытый текст"
|
300 |
|
301 |
+
#: lib/available.php:120
|
302 |
msgid "Accordion"
|
303 |
msgstr "Аккордеон"
|
304 |
|
305 |
+
#: lib/available.php:133
|
306 |
msgid "Show TOP link"
|
307 |
msgstr "Показать ссылку ВВЕРХ"
|
308 |
|
309 |
+
#: lib/available.php:137
|
310 |
msgid "Content divider with optional TOP link"
|
311 |
msgstr "Разделитель текста со ссылкой ВВЕРХ"
|
312 |
|
313 |
+
#: lib/available.php:153
|
314 |
msgid "Spacer height in pixels"
|
315 |
msgstr "Высота разделителя в пикселях"
|
316 |
|
317 |
+
#: lib/available.php:157
|
318 |
msgid "Empty space with adjustable height"
|
319 |
msgstr "Пробел с настраиваемой высотой"
|
320 |
|
321 |
+
#: lib/available.php:171
|
322 |
msgid "Quote style"
|
323 |
msgstr "Стиль цитаты"
|
324 |
|
325 |
+
#: lib/available.php:175
|
326 |
msgid "Quote"
|
327 |
msgstr "Цитата"
|
328 |
|
329 |
+
#: lib/available.php:176
|
330 |
msgid "Blockquote alternative"
|
331 |
msgstr "Альтернатива цитаты"
|
332 |
|
333 |
+
#: lib/available.php:189
|
334 |
msgid "Pullquote alignment"
|
335 |
msgstr "Выравнивание цитаты"
|
336 |
|
337 |
+
#: lib/available.php:193
|
338 |
+
#: lib/available.php:194
|
339 |
msgid "Pullquote"
|
340 |
msgstr "Цитата с обтеканием"
|
341 |
|
342 |
+
#: lib/available.php:204
|
343 |
msgid "Background color"
|
344 |
msgstr "Цвет фона"
|
345 |
|
346 |
+
#: lib/available.php:210
|
347 |
msgid "Text color"
|
348 |
msgstr "Цвет текста"
|
349 |
|
350 |
+
#: lib/available.php:215
|
351 |
+
#: lib/available.php:216
|
352 |
msgid "Highlighted text"
|
353 |
msgstr "Подсвеченный текст"
|
354 |
|
355 |
+
#: lib/available.php:232
|
356 |
msgid "Label style"
|
357 |
msgstr "Стиль лейбла"
|
358 |
|
359 |
+
#: lib/available.php:236
|
360 |
msgid "Label"
|
361 |
msgstr "Лейбл"
|
362 |
|
363 |
+
#: lib/available.php:237
|
364 |
msgid "Styled label"
|
365 |
msgstr "Стильный лейбл"
|
366 |
|
367 |
+
#: lib/available.php:251
|
368 |
msgid "Dropcap style"
|
369 |
msgstr "Стиль буквицы"
|
370 |
|
371 |
+
#: lib/available.php:262
|
372 |
msgid "Dropcap size"
|
373 |
msgstr "Размер буквицы"
|
374 |
|
375 |
+
#: lib/available.php:266
|
376 |
msgid "D"
|
377 |
msgstr "D"
|
378 |
|
379 |
+
#: lib/available.php:267
|
380 |
msgid "Dropcap"
|
381 |
msgstr "Буквица"
|
382 |
|
383 |
+
#: lib/available.php:290
|
384 |
msgid "Option name"
|
385 |
msgstr "Имя опции"
|
386 |
|
387 |
+
#: lib/available.php:294
|
388 |
msgid "Blog info"
|
389 |
msgstr "Инфо блога"
|
390 |
|
391 |
+
#: lib/available.php:304
|
392 |
msgid "Post/page ID"
|
393 |
msgstr "ID записи/страницы"
|
394 |
|
395 |
+
#: lib/available.php:312
|
396 |
msgid "Link target"
|
397 |
msgstr "Цель ссылки"
|
398 |
|
399 |
+
#: lib/available.php:316
|
400 |
msgid "Permalink text"
|
401 |
msgstr "Текст постоянной ссылки"
|
402 |
|
403 |
+
#: lib/available.php:317
|
404 |
msgid "Permalink to specified post/page"
|
405 |
msgstr "Постоянная ссылка на указанную запись/страницу"
|
406 |
|
407 |
+
#: lib/available.php:327
|
408 |
msgid "Button link"
|
409 |
msgstr "Ссылка кнопки"
|
410 |
|
411 |
+
#: lib/available.php:332
|
412 |
msgid "Button background color"
|
413 |
msgstr "Цвет фона кнопки"
|
414 |
|
415 |
+
#: lib/available.php:351
|
416 |
msgid "Button size"
|
417 |
msgstr "Размер кнопки"
|
418 |
|
419 |
+
#: lib/available.php:362
|
420 |
msgid "Button background style"
|
421 |
msgstr "Стиль фона кнопки"
|
422 |
|
423 |
+
#: lib/available.php:370
|
424 |
msgid "Dark text color"
|
425 |
msgstr "Темный цвет текста"
|
426 |
|
427 |
+
#: lib/available.php:381
|
428 |
msgid "Corners radius"
|
429 |
msgstr "Радиус углов"
|
430 |
|
431 |
+
#: lib/available.php:386
|
432 |
msgid "Button icon"
|
433 |
msgstr "Иконка кнопки"
|
434 |
|
435 |
+
#: lib/available.php:391
|
436 |
msgid "Button class"
|
437 |
msgstr "Класс кнопки"
|
438 |
|
439 |
+
#: lib/available.php:399
|
440 |
msgid "Button link target"
|
441 |
msgstr "Цель ссылки кнопки"
|
442 |
|
443 |
+
#: lib/available.php:403
|
444 |
msgid "Button text"
|
445 |
msgstr "Текст кнопки"
|
446 |
|
447 |
+
#: lib/available.php:404
|
448 |
msgid "Styled button"
|
449 |
msgstr "Стильная кнопка"
|
450 |
|
451 |
+
#: lib/available.php:417
|
452 |
msgid "Link color"
|
453 |
msgstr "Цвет ссылки"
|
454 |
|
455 |
+
#: lib/available.php:422
|
456 |
msgid "URL"
|
457 |
msgstr "URL"
|
458 |
|
459 |
+
#: lib/available.php:426
|
460 |
msgid "Link text"
|
461 |
msgstr "Текст ссылки"
|
462 |
|
463 |
+
#: lib/available.php:427
|
464 |
msgid "Fancy link"
|
465 |
msgstr "Стильная ссылка"
|
466 |
|
467 |
+
#: lib/available.php:436
|
468 |
+
#: lib/available.php:437
|
469 |
msgid "Service title"
|
470 |
msgstr "Название услуги"
|
471 |
|
472 |
+
#: lib/available.php:442
|
473 |
msgid "Service icon"
|
474 |
msgstr "Иконка услуги"
|
475 |
|
476 |
+
#: lib/available.php:451
|
477 |
msgid "Icon size"
|
478 |
msgstr "Размер иконки"
|
479 |
|
480 |
+
#: lib/available.php:455
|
481 |
msgid "Service description"
|
482 |
msgstr "Описание услуги"
|
483 |
|
484 |
+
#: lib/available.php:456
|
485 |
msgid "Service box with title"
|
486 |
msgstr "Блок услуга с заголовком"
|
487 |
|
488 |
+
#: lib/available.php:470
|
489 |
msgid "Box style"
|
490 |
msgstr "Стиль блока"
|
491 |
|
492 |
+
#: lib/available.php:478
|
493 |
msgid "Show login message"
|
494 |
msgstr "Показывать предложение войти"
|
495 |
|
496 |
+
#: lib/available.php:482
|
497 |
msgid "Content for logged members"
|
498 |
msgstr "Содержимое для залогиненых пользователей"
|
499 |
|
500 |
+
#: lib/available.php:483
|
501 |
msgid "Content for logged in members only"
|
502 |
msgstr "Ссодержимое только для залогиненных"
|
503 |
|
504 |
+
#: lib/available.php:491
|
505 |
msgid "Content for guests"
|
506 |
msgstr "Содержимое для гостей"
|
507 |
|
508 |
+
#: lib/available.php:492
|
509 |
msgid "Content for guests only"
|
510 |
msgstr "Ссодержимое только для гостей"
|
511 |
|
512 |
+
#: lib/available.php:501
|
513 |
+
#: lib/available.php:502
|
514 |
msgid "Box title"
|
515 |
msgstr "Заголовок блока"
|
516 |
|
517 |
+
#: lib/available.php:507
|
518 |
msgid "Box color"
|
519 |
msgstr "Цвет блока"
|
520 |
|
521 |
+
#: lib/available.php:512
|
522 |
msgid "Box content"
|
523 |
msgstr "Содержимое блока"
|
524 |
|
525 |
+
#: lib/available.php:513
|
526 |
msgid "Colored box with caption"
|
527 |
msgstr "Цветной блок с заголовком"
|
528 |
|
529 |
+
#: lib/available.php:523
|
530 |
msgid "Note color"
|
531 |
msgstr "Цвет блока"
|
532 |
|
533 |
+
#: lib/available.php:528
|
534 |
msgid "Note text"
|
535 |
msgstr "Текст заметки"
|
536 |
|
537 |
+
#: lib/available.php:529
|
538 |
msgid "Colored box"
|
539 |
msgstr "Цветной блок"
|
540 |
|
541 |
+
#: lib/available.php:537
|
542 |
msgid "Private note text"
|
543 |
msgstr "Текст приватной заметки"
|
544 |
|
545 |
+
#: lib/available.php:538
|
546 |
msgid "Private note for post authors"
|
547 |
msgstr "Приватный текст для других авторов"
|
548 |
|
549 |
+
#: lib/available.php:564
|
550 |
msgid "List style"
|
551 |
msgstr "Стиль списка"
|
552 |
|
553 |
+
#: lib/available.php:568
|
554 |
msgid "List item "
|
555 |
msgstr "Элемент списка"
|
556 |
|
557 |
+
#: lib/available.php:569
|
558 |
msgid "Styled unordered list"
|
559 |
msgstr "Стильный неупорядоченный список"
|
560 |
|
561 |
+
#: lib/available.php:579
|
562 |
msgid "Feed URL"
|
563 |
msgstr "URL ленты"
|
564 |
|
565 |
+
#: lib/available.php:590
|
566 |
msgid "Number of item to show"
|
567 |
msgstr "Количество элементов для показа"
|
568 |
|
569 |
+
#: lib/available.php:594
|
570 |
msgid "Feed grabber"
|
571 |
msgstr "Граббер новостных лент"
|
572 |
|
573 |
+
#: lib/available.php:604
|
574 |
msgid "Custom menu name"
|
575 |
msgstr "Имя произвольного меню"
|
576 |
|
577 |
+
#: lib/available.php:608
|
578 |
msgid "Custom menu by name"
|
579 |
msgstr "Произвольное меню"
|
580 |
|
581 |
+
#: lib/available.php:622
|
582 |
+
#: lib/available.php:645
|
583 |
msgid "Depth level"
|
584 |
msgstr "Глубина"
|
585 |
|
586 |
+
#: lib/available.php:627
|
587 |
msgid "Parent page ID"
|
588 |
msgstr "ID родительской страницы"
|
589 |
|
590 |
+
#: lib/available.php:631
|
591 |
msgid "Page childrens"
|
592 |
msgstr "Потомки страницы"
|
593 |
|
594 |
+
#: lib/available.php:649
|
595 |
msgid "Page siblings"
|
596 |
msgstr "Братья страницы"
|
597 |
|
598 |
+
#: lib/available.php:671
|
599 |
msgid "Column width"
|
600 |
msgstr "Ширина колонки"
|
601 |
|
602 |
+
#: lib/available.php:679
|
603 |
msgid "Last column"
|
604 |
msgstr "Последняя колонка"
|
605 |
|
606 |
+
#: lib/available.php:688
|
607 |
msgid "Column style"
|
608 |
msgstr "Стиль колонки"
|
609 |
|
610 |
+
#: lib/available.php:692
|
611 |
msgid "Column content"
|
612 |
msgstr "Содержимое колонки"
|
613 |
|
614 |
+
#: lib/available.php:693
|
615 |
msgid "Flexible columns"
|
616 |
msgstr "Резновые колонки"
|
617 |
|
618 |
+
#: lib/available.php:707
|
619 |
msgid "Table style"
|
620 |
msgstr "Стиль таблицы"
|
621 |
|
622 |
+
#: lib/available.php:712
|
623 |
msgid "Create table from CSV"
|
624 |
msgstr "Создание таблицы из CSV файла"
|
625 |
|
626 |
+
#: lib/available.php:717
|
627 |
msgid "Styled table from HTML or CSV file"
|
628 |
msgstr "Стильная таблица из HTML или CSV файла"
|
629 |
|
630 |
+
#: lib/available.php:793
|
631 |
msgid "Media URL"
|
632 |
msgstr "Ссылка на медиа"
|
633 |
|
|
|
|
|
|
|
|
|
|
|
|
|
634 |
#: lib/available.php:798
|
635 |
#: lib/available.php:831
|
636 |
#: lib/available.php:850
|
637 |
+
msgid "Width"
|
638 |
+
msgstr "Ширина"
|
639 |
+
|
640 |
+
#: lib/available.php:803
|
641 |
+
#: lib/available.php:836
|
642 |
+
#: lib/available.php:855
|
643 |
msgid "Height"
|
644 |
msgstr "Высота"
|
645 |
|
646 |
+
#: lib/available.php:812
|
647 |
msgid "jwPlayer url-encoded params"
|
648 |
msgstr "Параметры для jwPlayer в урл-формате"
|
649 |
|
650 |
+
#: lib/available.php:816
|
651 |
msgid "YouTube video, Vimeo video, .mp4/.flv video, .mp3 file or images"
|
652 |
msgstr "YouTube видео, Vimeo видео, .mp4/.flv видео, .mp3 файл или изображения"
|
653 |
|
654 |
+
#: lib/available.php:826
|
655 |
msgid "Document URL"
|
656 |
msgstr "Ссылка на документ"
|
657 |
|
658 |
+
#: lib/available.php:840
|
659 |
msgid ".doc, .xls, .pdf viewer by Google"
|
660 |
msgstr ".doc, .xls, .pdf просмотрщик от Google"
|
661 |
|
662 |
+
#: lib/available.php:860
|
663 |
msgid "Marker address"
|
664 |
msgstr "Адрес маркера"
|
665 |
|
666 |
+
#: lib/available.php:864
|
667 |
msgid "Maps by Google"
|
668 |
msgstr "Карты от Google"
|
669 |
|
670 |
+
#: lib/available.php:878
|
671 |
+
#: lib/available.php:948
|
672 |
+
#: lib/available.php:1027
|
673 |
msgid "Source of images"
|
674 |
msgstr "Источник изображений"
|
675 |
|
676 |
+
#: lib/available.php:889
|
677 |
+
#: lib/available.php:959
|
678 |
+
#: lib/available.php:1038
|
679 |
msgid "Images links"
|
680 |
msgstr "Ссылки с изображений"
|
681 |
|
682 |
+
#: lib/available.php:900
|
683 |
msgid "Slider size"
|
684 |
msgstr "Размер слайдера"
|
685 |
|
686 |
+
#: lib/available.php:910
|
687 |
msgid "Number of slides"
|
688 |
msgstr "Количество слайдов"
|
689 |
|
690 |
+
#: lib/available.php:920
|
691 |
msgid "Animation effect"
|
692 |
msgstr "Эффект анимации"
|
693 |
|
694 |
+
#: lib/available.php:925
|
695 |
+
#: lib/available.php:993
|
696 |
msgid "Animation speed (1000 = 1 second)"
|
697 |
msgstr "Скорость анимации (1000 = 1 секунда)"
|
698 |
|
699 |
+
#: lib/available.php:930
|
700 |
msgid "Animation delay (1000 = 1 second)"
|
701 |
msgstr "Задержка анимации (1000 = 1 секунда)"
|
702 |
|
703 |
+
#: lib/available.php:934
|
704 |
msgid "Nivo slider by attached to post images"
|
705 |
msgstr "Nivo slider из изображений записи"
|
706 |
|
707 |
+
#: lib/available.php:969
|
708 |
msgid "Carousel item size"
|
709 |
msgstr "Размер элементов карусели"
|
710 |
|
711 |
+
#: lib/available.php:979
|
712 |
+
#: lib/available.php:1066
|
713 |
msgid "Number of items"
|
714 |
msgstr "Количество элементов"
|
715 |
|
716 |
+
#: lib/available.php:988
|
717 |
msgid "Number of items in viewport"
|
718 |
msgstr "Количество элементов в видмой части"
|
719 |
|
720 |
+
#: lib/available.php:1002
|
721 |
msgid "Space between items in pixels"
|
722 |
msgstr "Расстояние между элементами в пикселях"
|
723 |
|
724 |
+
#: lib/available.php:1006
|
725 |
msgid "jCarousel by attached to post images"
|
726 |
msgstr "jCarousel из изображений записи"
|
727 |
|
728 |
+
#: lib/available.php:1018
|
729 |
msgid "Gallery style"
|
730 |
msgstr "Стиль галереи"
|
731 |
|
732 |
+
#: lib/available.php:1046
|
733 |
msgid "Show image description"
|
734 |
msgstr "Описания изображений"
|
735 |
|
736 |
+
#: lib/available.php:1056
|
737 |
msgid "Gallery item size"
|
738 |
msgstr "Размер миниатюр"
|
739 |
|
740 |
+
#: lib/available.php:1070
|
741 |
msgid "Custom gallery by attached to post images"
|
742 |
msgstr "Произвольная галерея"
|
743 |
|
744 |
+
#: lib/available.php:1080
|
745 |
msgid "Twitter username"
|
746 |
msgstr "Имя пользователя"
|
747 |
|
748 |
+
#: lib/available.php:1091
|
749 |
msgid "Number of tweets to show"
|
750 |
msgstr "Количество твитов для показа"
|
751 |
|
752 |
+
#: lib/available.php:1099
|
753 |
msgid "Tweets style"
|
754 |
msgstr "Стиль твитов"
|
755 |
|
756 |
+
#: lib/available.php:1107
|
757 |
msgid "Show relative time"
|
758 |
msgstr "Показывать время"
|
759 |
|
760 |
+
#: lib/available.php:1111
|
761 |
msgid "Recent tweets"
|
762 |
msgstr "Последние твиты"
|
763 |
|
764 |
+
#: lib/generator.php:56
|
765 |
msgid "Content"
|
766 |
msgstr "Содержимое"
|
767 |
|
768 |
+
#: lib/generator.php:59
|
769 |
msgid "Insert"
|
770 |
msgstr "Вставить"
|
771 |
|
803 |
msgid "Please login"
|
804 |
msgstr "Пожалуйста войдите"
|
805 |
|
806 |
+
#: lib/twitter.php:16
|
807 |
msgid "year"
|
808 |
msgstr "год"
|
809 |
|
810 |
+
#: lib/twitter.php:17
|
811 |
msgid "month"
|
812 |
msgstr "месяц"
|
813 |
|
814 |
+
#: lib/twitter.php:18
|
815 |
msgid "week"
|
816 |
msgstr "неделя"
|
817 |
|
818 |
+
#: lib/twitter.php:19
|
819 |
msgid "day"
|
820 |
msgstr "день"
|
821 |
|
822 |
+
#: lib/twitter.php:20
|
823 |
msgid "hour"
|
824 |
msgstr "час"
|
825 |
|
826 |
+
#: lib/twitter.php:21
|
827 |
msgid "minute"
|
828 |
msgstr "минута"
|
829 |
|
830 |
+
#: lib/twitter.php:35
|
831 |
+
#: lib/twitter.php:43
|
832 |
msgid "s"
|
833 |
msgstr "с"
|
834 |
|
835 |
+
#: lib/twitter.php:77
|
836 |
msgid "username not specified"
|
837 |
msgstr "имя пользователя не задано"
|
838 |
|
839 |
+
#: lib/twitter.php:80
|
840 |
msgid "no public messages"
|
841 |
msgstr "нет публичных твитов"
|
842 |
|
843 |
+
#: lib/widget.php:35
|
844 |
msgid "Special Shortcodes Ultimate widget"
|
845 |
msgstr "Специальный виджет для вставки шорткодов"
|
846 |
|
847 |
+
#: lib/widget.php:95
|
848 |
msgid "Title:"
|
849 |
msgstr "Заголовок:"
|
850 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/admin.php
CHANGED
@@ -193,29 +193,31 @@
|
|
193 |
</tr>
|
194 |
<?php
|
195 |
foreach ( su_shortcodes() as $id => $shortcode ) {
|
196 |
-
|
197 |
-
|
198 |
-
<
|
199 |
-
<
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
|
|
|
|
|
|
211 |
}
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
</
|
216 |
-
|
217 |
-
|
218 |
-
<?php
|
219 |
}
|
220 |
?>
|
221 |
</table>
|
@@ -228,15 +230,17 @@
|
|
228 |
</tr>
|
229 |
<?php
|
230 |
foreach ( su_shortcodes() as $id => $shortcode ) {
|
231 |
-
|
232 |
-
|
233 |
-
<
|
234 |
-
<
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
|
|
|
|
240 |
}
|
241 |
?>
|
242 |
</table>
|
193 |
</tr>
|
194 |
<?php
|
195 |
foreach ( su_shortcodes() as $id => $shortcode ) {
|
196 |
+
if ( $shortcode['type'] != 'opengroup' && $shortcode['type'] != 'closegroup' ) {
|
197 |
+
?>
|
198 |
+
<tr>
|
199 |
+
<td>
|
200 |
+
<strong><?php echo $id; ?></strong><br/>
|
201 |
+
<small><?php echo $shortcode['desc']; ?></small>
|
202 |
+
</td>
|
203 |
+
<td>
|
204 |
+
<?php
|
205 |
+
foreach ( $shortcode['atts'] as $attr_name => $attr ) {
|
206 |
+
echo '<strong>' . $attr['desc'] . '</strong><br/>';
|
207 |
+
echo $attr_name;
|
208 |
+
if ( $attr['values'] ) {
|
209 |
+
echo '="' . implode( '|', $attr['values'] ) . '"';
|
210 |
+
} elseif ( $attr['default'] ) {
|
211 |
+
echo '="' . $attr['default'] . '"';
|
212 |
+
}
|
213 |
+
echo '<br/>';
|
214 |
}
|
215 |
+
?>
|
216 |
+
</td>
|
217 |
+
<td><?php echo str_replace( '<br/>', '<br/>', htmlspecialchars( $shortcode['usage'] ) ); ?></td>
|
218 |
+
</tr>
|
219 |
+
<?php
|
220 |
+
}
|
|
|
221 |
}
|
222 |
?>
|
223 |
</table>
|
230 |
</tr>
|
231 |
<?php
|
232 |
foreach ( su_shortcodes() as $id => $shortcode ) {
|
233 |
+
if ( $shortcode['type'] != 'opengroup' && $shortcode['type'] != 'closegroup' ) {
|
234 |
+
?>
|
235 |
+
<tr>
|
236 |
+
<td>
|
237 |
+
<strong><?php echo $shortcode['name']; ?></strong><br/>
|
238 |
+
<small><?php echo $shortcode['desc']; ?></small>
|
239 |
+
</td>
|
240 |
+
<td><img src="<?php echo su_plugin_url(); ?>/images/demo/<?php echo $id; ?>.png" width="530" alt="<?php echo $shortcode['name']; ?>" /></td>
|
241 |
+
</tr>
|
242 |
+
<?php
|
243 |
+
}
|
244 |
}
|
245 |
?>
|
246 |
</table>
|
lib/available.php
CHANGED
@@ -5,6 +5,11 @@
|
|
5 |
*/
|
6 |
function su_shortcodes( $shortcode = false ) {
|
7 |
$shortcodes = array(
|
|
|
|
|
|
|
|
|
|
|
8 |
# heading
|
9 |
'heading' => array(
|
10 |
'name' => 'Heading',
|
@@ -1105,6 +1110,10 @@
|
|
1105 |
'usage' => '[tweets username="gn_themes" limit="3" style="1" show_time="1"]',
|
1106 |
'desc' => __( 'Recent tweets', 'shortcodes-ultimate' )
|
1107 |
),
|
|
|
|
|
|
|
|
|
1108 |
);
|
1109 |
|
1110 |
if ( $shortcode )
|
5 |
*/
|
6 |
function su_shortcodes( $shortcode = false ) {
|
7 |
$shortcodes = array(
|
8 |
+
# basic shortcodes - start
|
9 |
+
'basic-shortcodes-open' => array(
|
10 |
+
'name' => __( 'Basic shortcodes', 'shortcodes-ultimate' ),
|
11 |
+
'type' => 'opengroup'
|
12 |
+
),
|
13 |
# heading
|
14 |
'heading' => array(
|
15 |
'name' => 'Heading',
|
1110 |
'usage' => '[tweets username="gn_themes" limit="3" style="1" show_time="1"]',
|
1111 |
'desc' => __( 'Recent tweets', 'shortcodes-ultimate' )
|
1112 |
),
|
1113 |
+
# basic shortcodes - end
|
1114 |
+
'basic-shortcodes-close' => array(
|
1115 |
+
'type' => 'closegroup'
|
1116 |
+
),
|
1117 |
);
|
1118 |
|
1119 |
if ( $shortcode )
|
lib/generator.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
require( '../../../../wp-load.php' );
|
5 |
|
6 |
// Capability check
|
7 |
-
if ( !current_user_can( '
|
8 |
die( 'Access denied' );
|
9 |
|
10 |
// Param check
|
@@ -29,10 +29,18 @@
|
|
29 |
$return .= '</select>';
|
30 |
}
|
31 |
|
32 |
-
// Text input
|
33 |
else {
|
34 |
-
|
35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
}
|
37 |
$return .= '</p>';
|
38 |
}
|
4 |
require( '../../../../wp-load.php' );
|
5 |
|
6 |
// Capability check
|
7 |
+
if ( !current_user_can( 'author' ) && !current_user_can( 'editor' ) && !current_user_can( 'administrator' ) )
|
8 |
die( 'Access denied' );
|
9 |
|
10 |
// Param check
|
29 |
$return .= '</select>';
|
30 |
}
|
31 |
|
32 |
+
// Text & color input
|
33 |
else {
|
34 |
+
|
35 |
+
// Color picker
|
36 |
+
if ( $attr_info['type'] == 'color' ) {
|
37 |
+
$return .= '<span class="su-generator-select-color"><span class="su-generator-select-color-wheel"></span><input type="text" name="' . $attr_name . '" value="' . $attr_info['default'] . '" id="su-generator-attr-' . $attr_name . '" class="su-generator-attr su-generator-select-color-value" /></span>';
|
38 |
+
}
|
39 |
+
|
40 |
+
// Text input
|
41 |
+
else {
|
42 |
+
$return .= '<input type="text" name="' . $attr_name . '" value="' . $attr_info['default'] . '" id="su-generator-attr-' . $attr_name . '" class="su-generator-attr" />';
|
43 |
+
}
|
44 |
}
|
45 |
$return .= '</p>';
|
46 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: shortcode, shortcodes, short code, shortcodes, tab, tabs, button, buttons, jquery, box, boxes, toggle, spoiler, column, columns, services, service, pullquote, list, lists, frame, images, image, links, fancy, fancy link, fancy links, fancy buttons, jquery tabs, accordeon, slider, nivo, nivo slider, plugin, admin, photoshop, gallery, bloginfo, list pages, sub pages, navigation, siblings pages, children pages, permalink, permalinks, feed, document, member, members, documents, jcarousel, rss
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.0
|
7 |
-
Stable tag: 3.9.
|
8 |
|
9 |
Provides support for multiple useful shortcodes
|
10 |
|
@@ -13,6 +13,10 @@ Provides support for multiple useful shortcodes
|
|
13 |
|
14 |
With this plugin you can easily create buttons, boxes, different sliders and much, much more. Turn your free theme to premium in just a few clicks. Using Shortcodes Ultimate you can quickly and easily retrieve many premium themes features and display it on your site. See screenshots for more information.
|
15 |
|
|
|
|
|
|
|
|
|
16 |
= Features =
|
17 |
* [Premium Addons](http://shortcodes-ultimate.com/) (coming soon)
|
18 |
* 30+ amazing shortcodes
|
@@ -24,7 +28,8 @@ With this plugin you can easily create buttons, boxes, different sliders and muc
|
|
24 |
|
25 |
= New in this version =
|
26 |
* Small fixes
|
27 |
-
*
|
|
|
28 |
|
29 |
= Demo video =
|
30 |
[youtube http://www.youtube.com/watch?v=Q0jDDIjOKsM]
|
@@ -126,6 +131,8 @@ Also, you can use [jcarousel] and [custom_gallery] according these principles.
|
|
126 |
* Hebrew translation
|
127 |
* [Awesome tutorial by Digital Cascade TV](http://www.youtube.com/watch?v=IjmaXz-b55I)
|
128 |
* Partners section on settings page
|
|
|
|
|
129 |
|
130 |
= 3.8 (security release) =
|
131 |
* 2 new translations (Sk, Lt)
|
4 |
Tags: shortcode, shortcodes, short code, shortcodes, tab, tabs, button, buttons, jquery, box, boxes, toggle, spoiler, column, columns, services, service, pullquote, list, lists, frame, images, image, links, fancy, fancy link, fancy links, fancy buttons, jquery tabs, accordeon, slider, nivo, nivo slider, plugin, admin, photoshop, gallery, bloginfo, list pages, sub pages, navigation, siblings pages, children pages, permalink, permalinks, feed, document, member, members, documents, jcarousel, rss
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.0
|
7 |
+
Stable tag: 3.9.5
|
8 |
|
9 |
Provides support for multiple useful shortcodes
|
10 |
|
13 |
|
14 |
With this plugin you can easily create buttons, boxes, different sliders and much, much more. Turn your free theme to premium in just a few clicks. Using Shortcodes Ultimate you can quickly and easily retrieve many premium themes features and display it on your site. See screenshots for more information.
|
15 |
|
16 |
+
= !! Important note !! =
|
17 |
+
|
18 |
+
Be careful when updating to 4.0.0 version in next time. It will be massive update, that affect many code.
|
19 |
+
|
20 |
= Features =
|
21 |
* [Premium Addons](http://shortcodes-ultimate.com/) (coming soon)
|
22 |
* 30+ amazing shortcodes
|
28 |
|
29 |
= New in this version =
|
30 |
* Small fixes
|
31 |
+
* Generator select improved with [Chosen](http://harvesthq.github.com/chosen/)
|
32 |
+
* Farbtastic color picker
|
33 |
|
34 |
= Demo video =
|
35 |
[youtube http://www.youtube.com/watch?v=Q0jDDIjOKsM]
|
131 |
* Hebrew translation
|
132 |
* [Awesome tutorial by Digital Cascade TV](http://www.youtube.com/watch?v=IjmaXz-b55I)
|
133 |
* Partners section on settings page
|
134 |
+
* Generator select improved with [Chosen](http://harvesthq.github.com/chosen/)
|
135 |
+
* Farbtastic color picker
|
136 |
|
137 |
= 3.8 (security release) =
|
138 |
* 2 new translations (Sk, Lt)
|
shortcodes-ultimate.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Shortcodes Ultimate
|
4 |
-
Plugin URI: http://
|
5 |
-
Version: 3.9.
|
6 |
Author: Vladimir Anokhin
|
7 |
Author URI: http://gndev.info/
|
8 |
Description: Provides support for many easy to use shortcodes
|
@@ -56,15 +56,17 @@
|
|
56 |
wp_register_style( 'jcarousel', su_plugin_url() . '/css/jcarousel.css', false, su_get_version(), 'all' );
|
57 |
wp_register_style( 'codemirror', su_plugin_url() . '/css/codemirror.css', false, su_get_version(), 'all' );
|
58 |
wp_register_style( 'codemirror-css', su_plugin_url() . '/css/codemirror-css.css', false, su_get_version(), 'all' );
|
|
|
59 |
|
60 |
// Register scripts
|
61 |
-
wp_register_script( 'shortcodes-ultimate', su_plugin_url() . '/js/init.js',
|
62 |
-
wp_register_script( 'shortcodes-ultimate-admin', su_plugin_url() . '/js/admin.js',
|
63 |
wp_register_script( 'shortcodes-ultimate-generator', su_plugin_url() . '/js/generator.js', array( 'jquery' ), su_get_version(), false );
|
64 |
wp_register_script( 'nivo-slider', su_plugin_url() . '/js/nivoslider.js', false, su_get_version(), false );
|
65 |
wp_register_script( 'jcarousel', su_plugin_url() . '/js/jcarousel.js', false, su_get_version(), false );
|
66 |
wp_register_script( 'codemirror', su_plugin_url() . '/js/codemirror.js', false, su_get_version(), false );
|
67 |
wp_register_script( 'codemirror-css', su_plugin_url() . '/js/codemirror-css.js', false, su_get_version(), false );
|
|
|
68 |
wp_register_script( 'ajax-form', su_plugin_url() . '/js/jquery.form.js', false, su_get_version(), false );
|
69 |
wp_register_script( 'jwplayer', su_plugin_url() . '/js/jwplayer.js', false, su_get_version(), false );
|
70 |
|
@@ -131,18 +133,23 @@
|
|
131 |
if ( in_array( $pagenow, $su_generator_includes_pages ) ) {
|
132 |
// Enqueue styles
|
133 |
wp_enqueue_style( 'thickbox' );
|
|
|
|
|
134 |
wp_enqueue_style( 'shortcodes-ultimate-generator' );
|
135 |
|
136 |
// Enqueue scripts
|
137 |
wp_enqueue_script( 'jquery' );
|
138 |
wp_enqueue_script( 'thickbox' );
|
|
|
|
|
139 |
wp_enqueue_script( 'shortcodes-ultimate-generator' );
|
140 |
}
|
141 |
}
|
142 |
|
143 |
// Register shortcodes
|
144 |
foreach ( su_shortcodes() as $shortcode => $params ) {
|
145 |
-
|
|
|
146 |
}
|
147 |
}
|
148 |
|
@@ -323,20 +330,28 @@
|
|
323 |
<div id="su-generator">
|
324 |
<div id="su-generator-shell">
|
325 |
<div id="su-generator-header">
|
326 |
-
<select id="su-generator-select">
|
327 |
-
<option value="raw"
|
328 |
<?php
|
329 |
foreach ( su_shortcodes() as $name => $shortcode ) {
|
330 |
-
|
331 |
-
|
332 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
}
|
334 |
?>
|
335 |
</select>
|
336 |
<div id="su-generator-tools">
|
337 |
-
<a href="<?php echo admin_url( 'options-general.php?page=shortcodes-ultimate' ); ?>" target="_blank" title="<?php _e( 'Settings', 'shortcodes-ultimate' ); ?>"
|
338 |
-
<a href="http://
|
339 |
-
<a href="http://wordpress.org/tags/shortcodes-ultimate?forum_id=10" target="_blank" title="<?php _e( 'Support forum', 'shortcodes-ultimate' ); ?>"><img src="<?php echo su_plugin_url(); ?>/images/generator/support.png" alt="" /></a>
|
340 |
</div>
|
341 |
</div>
|
342 |
<div id="su-generator-settings"></div>
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Shortcodes Ultimate
|
4 |
+
Plugin URI: http://shortcodes-ultimate.com/
|
5 |
+
Version: 3.9.5
|
6 |
Author: Vladimir Anokhin
|
7 |
Author URI: http://gndev.info/
|
8 |
Description: Provides support for many easy to use shortcodes
|
56 |
wp_register_style( 'jcarousel', su_plugin_url() . '/css/jcarousel.css', false, su_get_version(), 'all' );
|
57 |
wp_register_style( 'codemirror', su_plugin_url() . '/css/codemirror.css', false, su_get_version(), 'all' );
|
58 |
wp_register_style( 'codemirror-css', su_plugin_url() . '/css/codemirror-css.css', false, su_get_version(), 'all' );
|
59 |
+
wp_register_style( 'chosen', su_plugin_url() . '/css/chosen.css', false, su_get_version(), 'all' );
|
60 |
|
61 |
// Register scripts
|
62 |
+
wp_register_script( 'shortcodes-ultimate', su_plugin_url() . '/js/init.js', array( 'jquery' ), su_get_version(), false );
|
63 |
+
wp_register_script( 'shortcodes-ultimate-admin', su_plugin_url() . '/js/admin.js', array( 'jquery' ), su_get_version(), false );
|
64 |
wp_register_script( 'shortcodes-ultimate-generator', su_plugin_url() . '/js/generator.js', array( 'jquery' ), su_get_version(), false );
|
65 |
wp_register_script( 'nivo-slider', su_plugin_url() . '/js/nivoslider.js', false, su_get_version(), false );
|
66 |
wp_register_script( 'jcarousel', su_plugin_url() . '/js/jcarousel.js', false, su_get_version(), false );
|
67 |
wp_register_script( 'codemirror', su_plugin_url() . '/js/codemirror.js', false, su_get_version(), false );
|
68 |
wp_register_script( 'codemirror-css', su_plugin_url() . '/js/codemirror-css.js', false, su_get_version(), false );
|
69 |
+
wp_register_script( 'chosen', su_plugin_url() . '/js/chosen.js', false, su_get_version(), false );
|
70 |
wp_register_script( 'ajax-form', su_plugin_url() . '/js/jquery.form.js', false, su_get_version(), false );
|
71 |
wp_register_script( 'jwplayer', su_plugin_url() . '/js/jwplayer.js', false, su_get_version(), false );
|
72 |
|
133 |
if ( in_array( $pagenow, $su_generator_includes_pages ) ) {
|
134 |
// Enqueue styles
|
135 |
wp_enqueue_style( 'thickbox' );
|
136 |
+
wp_enqueue_style( 'farbtastic' );
|
137 |
+
wp_enqueue_style( 'chosen' );
|
138 |
wp_enqueue_style( 'shortcodes-ultimate-generator' );
|
139 |
|
140 |
// Enqueue scripts
|
141 |
wp_enqueue_script( 'jquery' );
|
142 |
wp_enqueue_script( 'thickbox' );
|
143 |
+
wp_enqueue_script( 'farbtastic' );
|
144 |
+
wp_enqueue_script( 'chosen' );
|
145 |
wp_enqueue_script( 'shortcodes-ultimate-generator' );
|
146 |
}
|
147 |
}
|
148 |
|
149 |
// Register shortcodes
|
150 |
foreach ( su_shortcodes() as $shortcode => $params ) {
|
151 |
+
if ( $params['type'] != 'opengroup' && $params['type'] != 'closegroup' )
|
152 |
+
add_shortcode( su_compatibility_mode_prefix() . $shortcode, 'su_' . $shortcode . '_shortcode' );
|
153 |
}
|
154 |
}
|
155 |
|
330 |
<div id="su-generator">
|
331 |
<div id="su-generator-shell">
|
332 |
<div id="su-generator-header">
|
333 |
+
<select id="su-generator-select" data-placeholder="<?php _e( 'Select shortcode', 'shortcodes-ultimate' ); ?>" data-no-results-text="<?php _e( 'Shortcode not found', 'shortcodes-ultimate' ); ?>">
|
334 |
+
<option value="raw"></option>
|
335 |
<?php
|
336 |
foreach ( su_shortcodes() as $name => $shortcode ) {
|
337 |
+
|
338 |
+
// Open optgroup
|
339 |
+
if ( $shortcode['type'] == 'opengroup' )
|
340 |
+
echo '<optgroup label="' . $shortcode['name'] . '">';
|
341 |
+
|
342 |
+
// Close optgroup
|
343 |
+
elseif ( $shortcode['type'] == 'closegroup' )
|
344 |
+
echo '</optgroup>';
|
345 |
+
|
346 |
+
// Option
|
347 |
+
else
|
348 |
+
echo '<option value="' . $name . '">' . strtoupper( $name ) . ': ' . $shortcode['desc'] . '</option>';
|
349 |
}
|
350 |
?>
|
351 |
</select>
|
352 |
<div id="su-generator-tools">
|
353 |
+
<a href="<?php echo admin_url( 'options-general.php?page=shortcodes-ultimate' ); ?>" target="_blank" title="<?php _e( 'Settings', 'shortcodes-ultimate' ); ?>"><?php _e( 'Settings', 'shortcodes-ultimate' ); ?></a> /
|
354 |
+
<a href="http://wordpress.org/support/plugin/shortcodes-ultimate" target="_blank" title="<?php _e( 'Support forum', 'shortcodes-ultimate' ); ?>"><?php _e( 'Support forum', 'shortcodes-ultimate' ); ?></a>
|
|
|
355 |
</div>
|
356 |
</div>
|
357 |
<div id="su-generator-settings"></div>
|