Version Description
Upgrade normally via your Wordpress admin -> Plugins panel.
Download this release
Release Info
Developer | gn_themes |
Plugin | Shortcodes Ultimate |
Version | 3.0.1 |
Comparing to | |
See all releases |
Code changes from version 3.0.0 to 3.0.1
- css/generator.css +5 -1
- css/style.css +16 -16
- js/generator.js +8 -1
- languages/shortcodes-ultimate-ru_RU.mo +0 -0
- languages/shortcodes-ultimate-ru_RU.po +101 -97
- lib/available.php +13 -7
- lib/generator.php +13 -4
- readme.txt +1 -1
- shortcodes-ultimate.php +4 -4
css/generator.css
CHANGED
@@ -12,7 +12,6 @@
|
|
12 |
}
|
13 |
|
14 |
#su-generator-select {
|
15 |
-
width: 300px;
|
16 |
padding: 5px;
|
17 |
}
|
18 |
|
@@ -39,4 +38,9 @@
|
|
39 |
}
|
40 |
.su-loading-animation * {
|
41 |
display: none;
|
|
|
|
|
|
|
|
|
|
|
42 |
}
|
12 |
}
|
13 |
|
14 |
#su-generator-select {
|
|
|
15 |
padding: 5px;
|
16 |
}
|
17 |
|
38 |
}
|
39 |
.su-loading-animation * {
|
40 |
display: none;
|
41 |
+
}
|
42 |
+
|
43 |
+
#su-generator-insert {
|
44 |
+
color: #fff !important;
|
45 |
+
font-weight: bold;
|
46 |
}
|
css/style.css
CHANGED
@@ -251,26 +251,26 @@
|
|
251 |
margin: 0.5em 0 1.5em 0.5em !important;
|
252 |
padding: 0 !important;
|
253 |
}
|
254 |
-
.su-list li {
|
255 |
list-style-type: none !important;
|
256 |
display: block !important;
|
257 |
padding: 3px 0 3px 22px !important;
|
258 |
}
|
259 |
-
.su-list-style-star li { background: 0 50% url(../images/list-style-star.png) no-repeat }
|
260 |
-
.su-list-style-arrow li { background: 0 50% url(../images/list-style-arrow.png) no-repeat }
|
261 |
-
.su-list-style-check li { background: 0 50% url(../images/list-style-check.png) no-repeat }
|
262 |
-
.su-list-style-cross li { background: 0 50% url(../images/list-style-cross.png) no-repeat }
|
263 |
-
.su-list-style-thumbs li { background: 0 50% url(../images/list-style-thumbs.png) no-repeat }
|
264 |
-
.su-list-style-link li { background: 0 50% url(../images/list-style-link.png) no-repeat }
|
265 |
-
.su-list-style-gear li { background: 0 50% url(../images/list-style-gear.png) no-repeat }
|
266 |
-
.su-list-style-time li { background: 0 50% url(../images/list-style-time.png) no-repeat }
|
267 |
-
.su-list-style-note li { background: 0 50% url(../images/list-style-note.png) no-repeat }
|
268 |
-
.su-list-style-plus li { background: 0 50% url(../images/list-style-plus.png) no-repeat }
|
269 |
-
.su-list-style-guard li { background: 0 50% url(../images/list-style-guard.png) no-repeat }
|
270 |
-
.su-list-style-event li { background: 0 50% url(../images/list-style-event.png) no-repeat }
|
271 |
-
.su-list-style-idea li { background: 0 50% url(../images/list-style-idea.png) no-repeat }
|
272 |
-
.su-list-style-settings li { background: 0 50% url(../images/list-style-settings.png) no-repeat }
|
273 |
-
.su-list-style-twitter li { background: 0 50% url(../images/list-style-twitter.png) no-repeat }
|
274 |
|
275 |
/* Box */
|
276 |
.su-box {
|
251 |
margin: 0.5em 0 1.5em 0.5em !important;
|
252 |
padding: 0 !important;
|
253 |
}
|
254 |
+
.su-list ul li {
|
255 |
list-style-type: none !important;
|
256 |
display: block !important;
|
257 |
padding: 3px 0 3px 22px !important;
|
258 |
}
|
259 |
+
.su-list-style-star li { background: 0 50% url(../images/list-style-star.png) no-repeat !important }
|
260 |
+
.su-list-style-arrow li { background: 0 50% url(../images/list-style-arrow.png) no-repeat !important }
|
261 |
+
.su-list-style-check li { background: 0 50% url(../images/list-style-check.png) no-repeat !important }
|
262 |
+
.su-list-style-cross li { background: 0 50% url(../images/list-style-cross.png) no-repeat !important }
|
263 |
+
.su-list-style-thumbs li { background: 0 50% url(../images/list-style-thumbs.png) no-repeat !important }
|
264 |
+
.su-list-style-link li { background: 0 50% url(../images/list-style-link.png) no-repeat !important }
|
265 |
+
.su-list-style-gear li { background: 0 50% url(../images/list-style-gear.png) no-repeat !important }
|
266 |
+
.su-list-style-time li { background: 0 50% url(../images/list-style-time.png) no-repeat !important }
|
267 |
+
.su-list-style-note li { background: 0 50% url(../images/list-style-note.png) no-repeat !important }
|
268 |
+
.su-list-style-plus li { background: 0 50% url(../images/list-style-plus.png) no-repeat !important }
|
269 |
+
.su-list-style-guard li { background: 0 50% url(../images/list-style-guard.png) no-repeat !important }
|
270 |
+
.su-list-style-event li { background: 0 50% url(../images/list-style-event.png) no-repeat !important }
|
271 |
+
.su-list-style-idea li { background: 0 50% url(../images/list-style-idea.png) no-repeat !important }
|
272 |
+
.su-list-style-settings li { background: 0 50% url(../images/list-style-settings.png) no-repeat !important }
|
273 |
+
.su-list-style-twitter li { background: 0 50% url(../images/list-style-twitter.png) no-repeat !important }
|
274 |
|
275 |
/* Box */
|
276 |
.su-box {
|
js/generator.js
CHANGED
@@ -18,7 +18,14 @@ jQuery(document).ready(function($) {
|
|
18 |
$('#su-generator-result').val( $('#su-generator-result').val() + ' ' + $(this).attr('name') + '="' + $(this).val() + '"' );
|
19 |
}
|
20 |
});
|
21 |
-
$('#su-generator-result').val($('#su-generator-result').val() + ']'
|
|
|
|
|
|
|
|
|
|
|
22 |
window.send_to_editor(jQuery('#su-generator-result').val());
|
|
|
23 |
});
|
|
|
24 |
});
|
18 |
$('#su-generator-result').val( $('#su-generator-result').val() + ' ' + $(this).attr('name') + '="' + $(this).val() + '"' );
|
19 |
}
|
20 |
});
|
21 |
+
$('#su-generator-result').val($('#su-generator-result').val() + ']');
|
22 |
+
|
23 |
+
// wrap shortcode
|
24 |
+
if ( $('#su-generator-content').val() != 'false' ) {
|
25 |
+
$('#su-generator-result').val($('#su-generator-result').val() + $('#su-generator-content').val() + '[/' + queried_shortcode + ']');
|
26 |
+
}
|
27 |
window.send_to_editor(jQuery('#su-generator-result').val());
|
28 |
+
return false;
|
29 |
});
|
30 |
+
|
31 |
});
|
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: 2011-08-09
|
6 |
-
"PO-Revision-Date: 2011-08-09
|
7 |
"Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -65,7 +65,7 @@ msgstr "Произвольные стили"
|
|
65 |
|
66 |
#: lib/admin.php:38
|
67 |
#: lib/admin.php:175
|
68 |
-
#: lib/generator.php:
|
69 |
msgid "Demo"
|
70 |
msgstr "Демо"
|
71 |
|
@@ -302,343 +302,347 @@ msgstr "Цитата с обтеканием"
|
|
302 |
msgid "Background color"
|
303 |
msgstr "Цвет фона"
|
304 |
|
305 |
-
#: lib/available.php:
|
306 |
msgid "Text color"
|
307 |
msgstr "Цвет текста"
|
308 |
|
309 |
-
#: lib/available.php:
|
310 |
-
#: lib/available.php:
|
311 |
msgid "Highlighted text"
|
312 |
msgstr "Подсвеченный текст"
|
313 |
|
314 |
-
#: lib/available.php:
|
315 |
msgid "Option name"
|
316 |
msgstr "Имя опции"
|
317 |
|
318 |
-
#: lib/available.php:
|
319 |
msgid "Blog info"
|
320 |
msgstr "Инфо блога"
|
321 |
|
322 |
-
#: lib/available.php:
|
323 |
-
#: lib/available.php:
|
324 |
-
#: lib/available.php:
|
325 |
msgid "Post/page ID"
|
326 |
msgstr "ID записи/страницы"
|
327 |
|
328 |
-
#: lib/available.php:
|
329 |
msgid "Link target"
|
330 |
msgstr "Цель ссылки"
|
331 |
|
332 |
-
#: lib/available.php:
|
333 |
msgid "Permalink text"
|
334 |
msgstr "Текст постоянной ссылки"
|
335 |
|
336 |
-
#: lib/available.php:
|
337 |
msgid "Permalink to specified post/page"
|
338 |
msgstr "Постоянная ссылка на указанную запись/страницу"
|
339 |
|
340 |
-
#: lib/available.php:
|
341 |
msgid "Button link"
|
342 |
msgstr "Ссылка кнопки"
|
343 |
|
344 |
-
#: lib/available.php:
|
345 |
msgid "Button background color"
|
346 |
msgstr "Цвет фона кнопки"
|
347 |
|
348 |
-
#: lib/available.php:
|
349 |
msgid "Button size"
|
350 |
msgstr "Размер кнопки"
|
351 |
|
352 |
-
#: lib/available.php:
|
353 |
msgid "Button background style"
|
354 |
msgstr "Стиль фона кнопки"
|
355 |
|
356 |
-
#: lib/available.php:
|
357 |
msgid "Dark text color"
|
358 |
msgstr "Темный цвет текста"
|
359 |
|
360 |
-
#: lib/available.php:
|
361 |
msgid "Disable rounded corners"
|
362 |
msgstr "Отключить скругленные уголки"
|
363 |
|
364 |
-
#: lib/available.php:
|
365 |
msgid "Button icon"
|
366 |
msgstr "Иконка кнопки"
|
367 |
|
368 |
-
#: lib/available.php:
|
369 |
msgid "Button class"
|
370 |
msgstr "Класс кнопки"
|
371 |
|
372 |
-
#: lib/available.php:
|
373 |
msgid "Button link target"
|
374 |
msgstr "Цель ссылки кнопки"
|
375 |
|
376 |
-
#: lib/available.php:
|
377 |
msgid "Button text"
|
378 |
msgstr "Текст кнопки"
|
379 |
|
380 |
-
#: lib/available.php:
|
381 |
msgid "Styled button"
|
382 |
msgstr "Стильная кнопка"
|
383 |
|
384 |
-
#: lib/available.php:
|
385 |
msgid "Link color"
|
386 |
msgstr "Цвет ссылки"
|
387 |
|
388 |
-
#: lib/available.php:
|
389 |
msgid "URL"
|
390 |
msgstr "URL"
|
391 |
|
392 |
-
#: lib/available.php:
|
393 |
msgid "Link text"
|
394 |
msgstr "Текст ссылки"
|
395 |
|
396 |
-
#: lib/available.php:
|
397 |
msgid "Fancy link"
|
398 |
msgstr "Стильная ссылка"
|
399 |
|
400 |
-
#: lib/available.php:
|
401 |
-
#: lib/available.php:
|
402 |
msgid "Service title"
|
403 |
msgstr "Название услуги"
|
404 |
|
405 |
-
#: lib/available.php:
|
406 |
msgid "Service icon"
|
407 |
msgstr "Иконка услуги"
|
408 |
|
409 |
-
#: lib/available.php:
|
410 |
msgid "Icon size"
|
411 |
msgstr "Размер иконки"
|
412 |
|
413 |
-
#: lib/available.php:
|
414 |
msgid "Service description"
|
415 |
msgstr "Описание услуги"
|
416 |
|
417 |
-
#: lib/available.php:
|
418 |
msgid "Service box with title"
|
419 |
msgstr "Блок услуга с заголовком"
|
420 |
|
421 |
-
#: lib/available.php:
|
422 |
msgid "Box style"
|
423 |
msgstr "Стиль блока"
|
424 |
|
425 |
-
#: lib/available.php:
|
426 |
msgid "Contnt for logged members"
|
427 |
msgstr "Содержимое для залогиненных пользователей"
|
428 |
|
429 |
-
#: lib/available.php:
|
430 |
msgid "Content for logged in members only"
|
431 |
msgstr "Ссодержимое только для залогиненных"
|
432 |
|
433 |
-
#: lib/available.php:
|
434 |
-
#: lib/available.php:
|
435 |
msgid "Box title"
|
436 |
msgstr "Заголовок блока"
|
437 |
|
438 |
-
#: lib/available.php:
|
439 |
msgid "Box color"
|
440 |
msgstr "Цвет блока"
|
441 |
|
442 |
-
#: lib/available.php:
|
443 |
msgid "Box content"
|
444 |
msgstr "Содержимое блока"
|
445 |
|
446 |
-
#: lib/available.php:
|
447 |
msgid "Colored box with caption"
|
448 |
msgstr "Цветной блок с заголовком"
|
449 |
|
450 |
-
#: lib/available.php:
|
451 |
msgid "Note color"
|
452 |
msgstr "Цвет блока"
|
453 |
|
454 |
-
#: lib/available.php:
|
455 |
msgid "Note text"
|
456 |
msgstr "Текст заметки"
|
457 |
|
458 |
-
#: lib/available.php:
|
459 |
msgid "Colored box"
|
460 |
msgstr "Цветной блок"
|
461 |
|
462 |
-
#: lib/available.php:
|
463 |
msgid "Private note text"
|
464 |
msgstr "Текст приватной заметки"
|
465 |
|
466 |
-
#: lib/available.php:
|
467 |
msgid "Private note for post authors"
|
468 |
msgstr "Приватный текст для других авторов"
|
469 |
|
470 |
-
#: lib/available.php:
|
471 |
msgid "List style"
|
472 |
msgstr "Стиль списка"
|
473 |
|
474 |
-
#: lib/available.php:
|
475 |
msgid "List item "
|
476 |
msgstr "Элемент списка"
|
477 |
|
478 |
-
#: lib/available.php:
|
479 |
msgid "Styled unordered list"
|
480 |
msgstr "Стильный неупорядоченный список"
|
481 |
|
482 |
-
#: lib/available.php:
|
483 |
msgid "Feed URL"
|
484 |
msgstr "URL ленты"
|
485 |
|
486 |
-
#: lib/available.php:
|
487 |
msgid "Number of item to show"
|
488 |
msgstr "Количество элементов для показа"
|
489 |
|
490 |
-
#: lib/available.php:
|
491 |
msgid "Feed grabber"
|
492 |
msgstr "Граббер новостных лент"
|
493 |
|
494 |
-
#: lib/available.php:
|
495 |
msgid "Custom menu name"
|
496 |
msgstr "Имя произвольного меню"
|
497 |
|
498 |
-
#: lib/available.php:
|
499 |
msgid "Custom menu by name"
|
500 |
msgstr "Произвольное меню"
|
501 |
|
502 |
-
#: lib/available.php:
|
503 |
-
#: lib/available.php:
|
504 |
msgid "Depth level"
|
505 |
msgstr "Глубина"
|
506 |
|
507 |
-
#: lib/available.php:
|
508 |
msgid "Parent page ID"
|
509 |
msgstr "ID родительской страницы"
|
510 |
|
511 |
-
#: lib/available.php:
|
512 |
-
#: lib/available.php:
|
513 |
msgid "Page childrens"
|
514 |
msgstr "Потомки страницы"
|
515 |
|
516 |
-
#: lib/available.php:
|
517 |
msgid "Column width"
|
518 |
msgstr "Ширина колонки"
|
519 |
|
520 |
-
#: lib/available.php:
|
521 |
msgid "Last column"
|
522 |
msgstr "Последняя колонка"
|
523 |
|
524 |
-
#: lib/available.php:
|
525 |
msgid "Column style"
|
526 |
msgstr "Стиль колонки"
|
527 |
|
528 |
-
#: lib/available.php:
|
529 |
msgid "Column content"
|
530 |
msgstr "Содержимое колонки"
|
531 |
|
532 |
-
#: lib/available.php:
|
533 |
msgid "Flexible columns"
|
534 |
msgstr "Резновые колонки"
|
535 |
|
536 |
-
#: lib/available.php:
|
537 |
msgid "Table style"
|
538 |
msgstr "Стиль таблицы"
|
539 |
|
540 |
-
#: lib/available.php:
|
541 |
msgid "Create table from CSV"
|
542 |
msgstr "Создание таблицы из CSV файла"
|
543 |
|
544 |
-
#: lib/available.php:
|
545 |
msgid "Styled table from HTML or CSV file"
|
546 |
msgstr "Стильная таблица из HTML или CSV файла"
|
547 |
|
548 |
-
#: lib/available.php:
|
549 |
msgid "Media URL"
|
550 |
msgstr "Ссылка на медиа"
|
551 |
|
552 |
-
#: lib/available.php:617
|
553 |
-
#: lib/available.php:641
|
554 |
-
#: lib/available.php:660
|
555 |
-
msgid "Width"
|
556 |
-
msgstr "Ширина"
|
557 |
-
|
558 |
#: lib/available.php:622
|
559 |
#: lib/available.php:646
|
560 |
#: lib/available.php:665
|
|
|
|
|
|
|
|
|
|
|
|
|
561 |
msgid "Height"
|
562 |
msgstr "Высота"
|
563 |
|
564 |
-
#: lib/available.php:
|
565 |
msgid "YouTube video, Vimeo video, .mp4/.flv video, .mp3 file or images"
|
566 |
msgstr "YouTube видео, Vimeo видео, .mp4/.flv видео, .mp3 файл или изображения"
|
567 |
|
568 |
-
#: lib/available.php:
|
569 |
msgid "Document URL"
|
570 |
msgstr "Ссылка на документ"
|
571 |
|
572 |
-
#: lib/available.php:
|
573 |
msgid ".doc, .xls, .pdf viewer by Google"
|
574 |
msgstr ".doc, .xls, .pdf просмотрщик от Google"
|
575 |
|
576 |
-
#: lib/available.php:
|
577 |
msgid "Marker address"
|
578 |
msgstr "Адрес маркера"
|
579 |
|
580 |
-
#: lib/available.php:
|
581 |
msgid "Maps by Google"
|
582 |
msgstr "Карты от Google"
|
583 |
|
584 |
-
#: lib/available.php:
|
585 |
msgid "Slider width"
|
586 |
msgstr "Ширина слайдера"
|
587 |
|
588 |
-
#: lib/available.php:
|
589 |
msgid "Slider height"
|
590 |
msgstr "Высота слайдера"
|
591 |
|
592 |
-
#: lib/available.php:
|
593 |
msgid "Slides links"
|
594 |
msgstr "Ссылки слайдов"
|
595 |
|
596 |
-
#: lib/available.php:
|
597 |
-
#: lib/available.php:
|
598 |
msgid "Animation speed (1000 = 1 second)"
|
599 |
msgstr "Скорость анимации (1000 = 1 секунда)"
|
600 |
|
601 |
-
#: lib/available.php:
|
602 |
msgid "Animation delay (1000 = 1 second)"
|
603 |
msgstr "Задержка анимации (1000 = 1 секунда)"
|
604 |
|
605 |
-
#: lib/available.php:
|
606 |
msgid "Animation effect"
|
607 |
msgstr "Эффект анимации"
|
608 |
|
609 |
-
#: lib/available.php:
|
610 |
msgid "Nivo slider by attached to post images"
|
611 |
msgstr "Nivo slider из изображений записи"
|
612 |
|
613 |
-
#: lib/available.php:
|
614 |
msgid "Carousel width"
|
615 |
msgstr "Ширина карусели"
|
616 |
|
617 |
-
#: lib/available.php:
|
618 |
msgid "Carousel height"
|
619 |
msgstr "Высота карусели"
|
620 |
|
621 |
-
#: lib/available.php:
|
622 |
msgid "Carousel background"
|
623 |
msgstr "Фон карусели"
|
624 |
|
625 |
-
#: lib/available.php:
|
626 |
msgid "Number of items to show"
|
627 |
msgstr "Количество элементов для показа"
|
628 |
|
629 |
-
#: lib/available.php:
|
630 |
msgid "Space between items in pixels"
|
631 |
msgstr "Расстояние между элементами в пикселях"
|
632 |
|
633 |
-
#: lib/available.php:
|
634 |
msgid "Items links"
|
635 |
msgstr "Ссылки элементов"
|
636 |
|
637 |
-
#: lib/available.php:
|
638 |
msgid "jCarousel by attached to post images"
|
639 |
msgstr "jCarousel из изображений записи"
|
640 |
|
641 |
-
#: lib/generator.php:
|
|
|
|
|
|
|
|
|
642 |
msgid "Insert"
|
643 |
msgstr "Вставить"
|
644 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: gn_themes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-08-09 21:58+0300\n"
|
6 |
+
"PO-Revision-Date: 2011-08-09 21:58+0300\n"
|
7 |
"Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
65 |
|
66 |
#: lib/admin.php:38
|
67 |
#: lib/admin.php:175
|
68 |
+
#: lib/generator.php:52
|
69 |
msgid "Demo"
|
70 |
msgstr "Демо"
|
71 |
|
302 |
msgid "Background color"
|
303 |
msgstr "Цвет фона"
|
304 |
|
305 |
+
#: lib/available.php:172
|
306 |
msgid "Text color"
|
307 |
msgstr "Цвет текста"
|
308 |
|
309 |
+
#: lib/available.php:177
|
310 |
+
#: lib/available.php:178
|
311 |
msgid "Highlighted text"
|
312 |
msgstr "Подсвеченный текст"
|
313 |
|
314 |
+
#: lib/available.php:201
|
315 |
msgid "Option name"
|
316 |
msgstr "Имя опции"
|
317 |
|
318 |
+
#: lib/available.php:205
|
319 |
msgid "Blog info"
|
320 |
msgstr "Инфо блога"
|
321 |
|
322 |
+
#: lib/available.php:215
|
323 |
+
#: lib/available.php:719
|
324 |
+
#: lib/available.php:792
|
325 |
msgid "Post/page ID"
|
326 |
msgstr "ID записи/страницы"
|
327 |
|
328 |
+
#: lib/available.php:223
|
329 |
msgid "Link target"
|
330 |
msgstr "Цель ссылки"
|
331 |
|
332 |
+
#: lib/available.php:227
|
333 |
msgid "Permalink text"
|
334 |
msgstr "Текст постоянной ссылки"
|
335 |
|
336 |
+
#: lib/available.php:228
|
337 |
msgid "Permalink to specified post/page"
|
338 |
msgstr "Постоянная ссылка на указанную запись/страницу"
|
339 |
|
340 |
+
#: lib/available.php:238
|
341 |
msgid "Button link"
|
342 |
msgstr "Ссылка кнопки"
|
343 |
|
344 |
+
#: lib/available.php:243
|
345 |
msgid "Button background color"
|
346 |
msgstr "Цвет фона кнопки"
|
347 |
|
348 |
+
#: lib/available.php:262
|
349 |
msgid "Button size"
|
350 |
msgstr "Размер кнопки"
|
351 |
|
352 |
+
#: lib/available.php:272
|
353 |
msgid "Button background style"
|
354 |
msgstr "Стиль фона кнопки"
|
355 |
|
356 |
+
#: lib/available.php:280
|
357 |
msgid "Dark text color"
|
358 |
msgstr "Темный цвет текста"
|
359 |
|
360 |
+
#: lib/available.php:288
|
361 |
msgid "Disable rounded corners"
|
362 |
msgstr "Отключить скругленные уголки"
|
363 |
|
364 |
+
#: lib/available.php:293
|
365 |
msgid "Button icon"
|
366 |
msgstr "Иконка кнопки"
|
367 |
|
368 |
+
#: lib/available.php:298
|
369 |
msgid "Button class"
|
370 |
msgstr "Класс кнопки"
|
371 |
|
372 |
+
#: lib/available.php:306
|
373 |
msgid "Button link target"
|
374 |
msgstr "Цель ссылки кнопки"
|
375 |
|
376 |
+
#: lib/available.php:310
|
377 |
msgid "Button text"
|
378 |
msgstr "Текст кнопки"
|
379 |
|
380 |
+
#: lib/available.php:311
|
381 |
msgid "Styled button"
|
382 |
msgstr "Стильная кнопка"
|
383 |
|
384 |
+
#: lib/available.php:324
|
385 |
msgid "Link color"
|
386 |
msgstr "Цвет ссылки"
|
387 |
|
388 |
+
#: lib/available.php:329
|
389 |
msgid "URL"
|
390 |
msgstr "URL"
|
391 |
|
392 |
+
#: lib/available.php:333
|
393 |
msgid "Link text"
|
394 |
msgstr "Текст ссылки"
|
395 |
|
396 |
+
#: lib/available.php:334
|
397 |
msgid "Fancy link"
|
398 |
msgstr "Стильная ссылка"
|
399 |
|
400 |
+
#: lib/available.php:343
|
401 |
+
#: lib/available.php:344
|
402 |
msgid "Service title"
|
403 |
msgstr "Название услуги"
|
404 |
|
405 |
+
#: lib/available.php:349
|
406 |
msgid "Service icon"
|
407 |
msgstr "Иконка услуги"
|
408 |
|
409 |
+
#: lib/available.php:358
|
410 |
msgid "Icon size"
|
411 |
msgstr "Размер иконки"
|
412 |
|
413 |
+
#: lib/available.php:362
|
414 |
msgid "Service description"
|
415 |
msgstr "Описание услуги"
|
416 |
|
417 |
+
#: lib/available.php:363
|
418 |
msgid "Service box with title"
|
419 |
msgstr "Блок услуга с заголовком"
|
420 |
|
421 |
+
#: lib/available.php:377
|
422 |
msgid "Box style"
|
423 |
msgstr "Стиль блока"
|
424 |
|
425 |
+
#: lib/available.php:381
|
426 |
msgid "Contnt for logged members"
|
427 |
msgstr "Содержимое для залогиненных пользователей"
|
428 |
|
429 |
+
#: lib/available.php:382
|
430 |
msgid "Content for logged in members only"
|
431 |
msgstr "Ссодержимое только для залогиненных"
|
432 |
|
433 |
+
#: lib/available.php:391
|
434 |
+
#: lib/available.php:392
|
435 |
msgid "Box title"
|
436 |
msgstr "Заголовок блока"
|
437 |
|
438 |
+
#: lib/available.php:397
|
439 |
msgid "Box color"
|
440 |
msgstr "Цвет блока"
|
441 |
|
442 |
+
#: lib/available.php:402
|
443 |
msgid "Box content"
|
444 |
msgstr "Содержимое блока"
|
445 |
|
446 |
+
#: lib/available.php:403
|
447 |
msgid "Colored box with caption"
|
448 |
msgstr "Цветной блок с заголовком"
|
449 |
|
450 |
+
#: lib/available.php:413
|
451 |
msgid "Note color"
|
452 |
msgstr "Цвет блока"
|
453 |
|
454 |
+
#: lib/available.php:418
|
455 |
msgid "Note text"
|
456 |
msgstr "Текст заметки"
|
457 |
|
458 |
+
#: lib/available.php:419
|
459 |
msgid "Colored box"
|
460 |
msgstr "Цветной блок"
|
461 |
|
462 |
+
#: lib/available.php:427
|
463 |
msgid "Private note text"
|
464 |
msgstr "Текст приватной заметки"
|
465 |
|
466 |
+
#: lib/available.php:428
|
467 |
msgid "Private note for post authors"
|
468 |
msgstr "Приватный текст для других авторов"
|
469 |
|
470 |
+
#: lib/available.php:454
|
471 |
msgid "List style"
|
472 |
msgstr "Стиль списка"
|
473 |
|
474 |
+
#: lib/available.php:458
|
475 |
msgid "List item "
|
476 |
msgstr "Элемент списка"
|
477 |
|
478 |
+
#: lib/available.php:459
|
479 |
msgid "Styled unordered list"
|
480 |
msgstr "Стильный неупорядоченный список"
|
481 |
|
482 |
+
#: lib/available.php:469
|
483 |
msgid "Feed URL"
|
484 |
msgstr "URL ленты"
|
485 |
|
486 |
+
#: lib/available.php:480
|
487 |
msgid "Number of item to show"
|
488 |
msgstr "Количество элементов для показа"
|
489 |
|
490 |
+
#: lib/available.php:484
|
491 |
msgid "Feed grabber"
|
492 |
msgstr "Граббер новостных лент"
|
493 |
|
494 |
+
#: lib/available.php:494
|
495 |
msgid "Custom menu name"
|
496 |
msgstr "Имя произвольного меню"
|
497 |
|
498 |
+
#: lib/available.php:498
|
499 |
msgid "Custom menu by name"
|
500 |
msgstr "Произвольное меню"
|
501 |
|
502 |
+
#: lib/available.php:512
|
503 |
+
#: lib/available.php:535
|
504 |
msgid "Depth level"
|
505 |
msgstr "Глубина"
|
506 |
|
507 |
+
#: lib/available.php:517
|
508 |
msgid "Parent page ID"
|
509 |
msgstr "ID родительской страницы"
|
510 |
|
511 |
+
#: lib/available.php:521
|
512 |
+
#: lib/available.php:539
|
513 |
msgid "Page childrens"
|
514 |
msgstr "Потомки страницы"
|
515 |
|
516 |
+
#: lib/available.php:561
|
517 |
msgid "Column width"
|
518 |
msgstr "Ширина колонки"
|
519 |
|
520 |
+
#: lib/available.php:569
|
521 |
msgid "Last column"
|
522 |
msgstr "Последняя колонка"
|
523 |
|
524 |
+
#: lib/available.php:578
|
525 |
msgid "Column style"
|
526 |
msgstr "Стиль колонки"
|
527 |
|
528 |
+
#: lib/available.php:582
|
529 |
msgid "Column content"
|
530 |
msgstr "Содержимое колонки"
|
531 |
|
532 |
+
#: lib/available.php:583
|
533 |
msgid "Flexible columns"
|
534 |
msgstr "Резновые колонки"
|
535 |
|
536 |
+
#: lib/available.php:597
|
537 |
msgid "Table style"
|
538 |
msgstr "Стиль таблицы"
|
539 |
|
540 |
+
#: lib/available.php:602
|
541 |
msgid "Create table from CSV"
|
542 |
msgstr "Создание таблицы из CSV файла"
|
543 |
|
544 |
+
#: lib/available.php:607
|
545 |
msgid "Styled table from HTML or CSV file"
|
546 |
msgstr "Стильная таблица из HTML или CSV файла"
|
547 |
|
548 |
+
#: lib/available.php:617
|
549 |
msgid "Media URL"
|
550 |
msgstr "Ссылка на медиа"
|
551 |
|
|
|
|
|
|
|
|
|
|
|
|
|
552 |
#: lib/available.php:622
|
553 |
#: lib/available.php:646
|
554 |
#: lib/available.php:665
|
555 |
+
msgid "Width"
|
556 |
+
msgstr "Ширина"
|
557 |
+
|
558 |
+
#: lib/available.php:627
|
559 |
+
#: lib/available.php:651
|
560 |
+
#: lib/available.php:670
|
561 |
msgid "Height"
|
562 |
msgstr "Высота"
|
563 |
|
564 |
+
#: lib/available.php:631
|
565 |
msgid "YouTube video, Vimeo video, .mp4/.flv video, .mp3 file or images"
|
566 |
msgstr "YouTube видео, Vimeo видео, .mp4/.flv видео, .mp3 файл или изображения"
|
567 |
|
568 |
+
#: lib/available.php:641
|
569 |
msgid "Document URL"
|
570 |
msgstr "Ссылка на документ"
|
571 |
|
572 |
+
#: lib/available.php:655
|
573 |
msgid ".doc, .xls, .pdf viewer by Google"
|
574 |
msgstr ".doc, .xls, .pdf просмотрщик от Google"
|
575 |
|
576 |
+
#: lib/available.php:675
|
577 |
msgid "Marker address"
|
578 |
msgstr "Адрес маркера"
|
579 |
|
580 |
+
#: lib/available.php:679
|
581 |
msgid "Maps by Google"
|
582 |
msgstr "Карты от Google"
|
583 |
|
584 |
+
#: lib/available.php:689
|
585 |
msgid "Slider width"
|
586 |
msgstr "Ширина слайдера"
|
587 |
|
588 |
+
#: lib/available.php:694
|
589 |
msgid "Slider height"
|
590 |
msgstr "Высота слайдера"
|
591 |
|
592 |
+
#: lib/available.php:704
|
593 |
msgid "Slides links"
|
594 |
msgstr "Ссылки слайдов"
|
595 |
|
596 |
+
#: lib/available.php:709
|
597 |
+
#: lib/available.php:787
|
598 |
msgid "Animation speed (1000 = 1 second)"
|
599 |
msgstr "Скорость анимации (1000 = 1 секунда)"
|
600 |
|
601 |
+
#: lib/available.php:714
|
602 |
msgid "Animation delay (1000 = 1 second)"
|
603 |
msgstr "Задержка анимации (1000 = 1 секунда)"
|
604 |
|
605 |
+
#: lib/available.php:729
|
606 |
msgid "Animation effect"
|
607 |
msgstr "Эффект анимации"
|
608 |
|
609 |
+
#: lib/available.php:733
|
610 |
msgid "Nivo slider by attached to post images"
|
611 |
msgstr "Nivo slider из изображений записи"
|
612 |
|
613 |
+
#: lib/available.php:743
|
614 |
msgid "Carousel width"
|
615 |
msgstr "Ширина карусели"
|
616 |
|
617 |
+
#: lib/available.php:748
|
618 |
msgid "Carousel height"
|
619 |
msgstr "Высота карусели"
|
620 |
|
621 |
+
#: lib/available.php:753
|
622 |
msgid "Carousel background"
|
623 |
msgstr "Фон карусели"
|
624 |
|
625 |
+
#: lib/available.php:763
|
626 |
msgid "Number of items to show"
|
627 |
msgstr "Количество элементов для показа"
|
628 |
|
629 |
+
#: lib/available.php:772
|
630 |
msgid "Space between items in pixels"
|
631 |
msgstr "Расстояние между элементами в пикселях"
|
632 |
|
633 |
+
#: lib/available.php:782
|
634 |
msgid "Items links"
|
635 |
msgstr "Ссылки элементов"
|
636 |
|
637 |
+
#: lib/available.php:796
|
638 |
msgid "jCarousel by attached to post images"
|
639 |
msgstr "jCarousel из изображений записи"
|
640 |
|
641 |
+
#: lib/generator.php:48
|
642 |
+
msgid "Content"
|
643 |
+
msgstr "Содержимое"
|
644 |
+
|
645 |
+
#: lib/generator.php:51
|
646 |
msgid "Insert"
|
647 |
msgstr "Вставить"
|
648 |
|
lib/available.php
CHANGED
@@ -163,12 +163,14 @@
|
|
163 |
'bg' => array(
|
164 |
'values' => array( ),
|
165 |
'default' => '#DDFF99',
|
166 |
-
'desc' => __( 'Background color', 'shortcodes-ultimate' )
|
|
|
167 |
),
|
168 |
'color' => array(
|
169 |
'values' => array( ),
|
170 |
'default' => '#000000',
|
171 |
-
'desc' => __( 'Text color', 'shortcodes-ultimate' )
|
|
|
172 |
)
|
173 |
),
|
174 |
'usage' => '[highlight bg="#fc0" color="#000"] Content [/highlight]',
|
@@ -238,7 +240,8 @@
|
|
238 |
'color' => array(
|
239 |
'values' => array( ),
|
240 |
'default' => '#AAAAAA',
|
241 |
-
'desc' => __( 'Button background color', 'shortcodes-ultimate' )
|
|
|
242 |
),
|
243 |
'size' => array(
|
244 |
'values' => array(
|
@@ -391,7 +394,8 @@
|
|
391 |
'color' => array(
|
392 |
'values' => array( ),
|
393 |
'default' => '#333333',
|
394 |
-
'desc' => __( 'Box color', 'shortcodes-ultimate' )
|
|
|
395 |
)
|
396 |
),
|
397 |
'usage' => '[box title="Box title" color="#f00"] Content [/box]',
|
@@ -406,7 +410,8 @@
|
|
406 |
'color' => array(
|
407 |
'values' => array( ),
|
408 |
'default' => '#FFCC00',
|
409 |
-
'desc' => __( 'Note color', 'shortcodes-ultimate' )
|
|
|
410 |
)
|
411 |
),
|
412 |
'usage' => '[note color="#FFCC00"] Content [/note]',
|
@@ -456,7 +461,7 @@
|
|
456 |
# feed
|
457 |
'feed' => array(
|
458 |
'name' => 'Feed',
|
459 |
-
'type' => '
|
460 |
'atts' => array(
|
461 |
'url' => array(
|
462 |
'values' => array( ),
|
@@ -745,7 +750,8 @@
|
|
745 |
'bg' => array(
|
746 |
'values' => false,
|
747 |
'default' => '#EEEEEE',
|
748 |
-
'desc' => __( 'Carousel background', 'shortcodes-ultimate' )
|
|
|
749 |
),
|
750 |
'items' => array(
|
751 |
'values' => array(
|
163 |
'bg' => array(
|
164 |
'values' => array( ),
|
165 |
'default' => '#DDFF99',
|
166 |
+
'desc' => __( 'Background color', 'shortcodes-ultimate' ),
|
167 |
+
'type' => 'color'
|
168 |
),
|
169 |
'color' => array(
|
170 |
'values' => array( ),
|
171 |
'default' => '#000000',
|
172 |
+
'desc' => __( 'Text color', 'shortcodes-ultimate' ),
|
173 |
+
'type' => 'color'
|
174 |
)
|
175 |
),
|
176 |
'usage' => '[highlight bg="#fc0" color="#000"] Content [/highlight]',
|
240 |
'color' => array(
|
241 |
'values' => array( ),
|
242 |
'default' => '#AAAAAA',
|
243 |
+
'desc' => __( 'Button background color', 'shortcodes-ultimate' ),
|
244 |
+
'type' => 'color'
|
245 |
),
|
246 |
'size' => array(
|
247 |
'values' => array(
|
394 |
'color' => array(
|
395 |
'values' => array( ),
|
396 |
'default' => '#333333',
|
397 |
+
'desc' => __( 'Box color', 'shortcodes-ultimate' ),
|
398 |
+
'type' => 'color'
|
399 |
)
|
400 |
),
|
401 |
'usage' => '[box title="Box title" color="#f00"] Content [/box]',
|
410 |
'color' => array(
|
411 |
'values' => array( ),
|
412 |
'default' => '#FFCC00',
|
413 |
+
'desc' => __( 'Note color', 'shortcodes-ultimate' ),
|
414 |
+
'type' => 'color'
|
415 |
)
|
416 |
),
|
417 |
'usage' => '[note color="#FFCC00"] Content [/note]',
|
461 |
# feed
|
462 |
'feed' => array(
|
463 |
'name' => 'Feed',
|
464 |
+
'type' => 'single',
|
465 |
'atts' => array(
|
466 |
'url' => array(
|
467 |
'values' => array( ),
|
750 |
'bg' => array(
|
751 |
'values' => false,
|
752 |
'default' => '#EEEEEE',
|
753 |
+
'desc' => __( 'Carousel background', 'shortcodes-ultimate' ),
|
754 |
+
'type' => 'color'
|
755 |
),
|
756 |
'items' => array(
|
757 |
'values' => array(
|
lib/generator.php
CHANGED
@@ -31,16 +31,25 @@
|
|
31 |
|
32 |
// Text input
|
33 |
else {
|
34 |
-
$
|
|
|
35 |
}
|
36 |
$return .= '</p>';
|
37 |
}
|
38 |
}
|
39 |
|
40 |
-
|
41 |
-
|
|
|
|
|
42 |
|
43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
$return .= '<input type="hidden" name="su-generator-result" id="su-generator-result" value="" />';
|
46 |
|
31 |
|
32 |
// Text input
|
33 |
else {
|
34 |
+
$attr_field_type = ( $attr_info['type'] == 'color' ) ? 'color' : 'text';
|
35 |
+
$return .= '<input type="' . $attr_field_type . '" name="' . $attr_name . '" value="' . $attr_info['default'] . '" id="su-generator-attr-' . $attr_name . '" class="su-generator-attr" />';
|
36 |
}
|
37 |
$return .= '</p>';
|
38 |
}
|
39 |
}
|
40 |
|
41 |
+
// Single shortcode (not closed)
|
42 |
+
if ( $shortcode['type'] == 'single' ) {
|
43 |
+
$return .= '<input type="hidden" name="su-generator-content" id="su-generator-content" value="false" />';
|
44 |
+
}
|
45 |
|
46 |
+
// Wrapping shortcode
|
47 |
+
else {
|
48 |
+
$return .= '<p><label>' . __( 'Content', 'shortcodes-ultimate' ) . '</label><input type="text" name="su-generator-content" id="su-generator-content" value="' . $shortcode['content'] . '" /></p>';
|
49 |
+
}
|
50 |
+
|
51 |
+
$return .= '<p><a href="#" class="button-primary" id="su-generator-insert">' . __( 'Insert', 'shortcodes-ultimate' ) . '</a> ';
|
52 |
+
$return .= '<a href="' . su_plugin_url() . '/images/demo/' . $_GET['shortcode'] . '.png" target="_blank" class="button alignright">' . __( 'Demo', 'shortcodes-ultimate' ) . '</a></p>';
|
53 |
|
54 |
$return .= '<input type="hidden" name="su-generator-result" id="su-generator-result" value="" />';
|
55 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://ilovecode.ru/donate/
|
|
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: 3.2.9
|
7 |
-
Stable tag: 3.0.
|
8 |
|
9 |
Provides support for multiple useful shortcodes
|
10 |
|
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: 3.2.9
|
7 |
+
Stable tag: 3.0.1
|
8 |
|
9 |
Provides support for multiple useful shortcodes
|
10 |
|
shortcodes-ultimate.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Shortcodes Ultimate
|
4 |
Plugin URI: http://ilovecode.ru/?p=122
|
5 |
-
Version: 3.0.
|
6 |
Author: Vladimir Anokhin
|
7 |
Author URI: http://ilovecode.ru/
|
8 |
Description: Provides support for many easy to use shortcodes
|
@@ -288,7 +288,7 @@
|
|
288 |
* Add generator button to Upload/Insert buttons
|
289 |
*/
|
290 |
function su_add_generator_button() {
|
291 |
-
echo '<a href="#TB_inline?width=640&height=
|
292 |
}
|
293 |
|
294 |
add_action( 'media_buttons', 'su_add_generator_button', 20 );
|
@@ -302,11 +302,11 @@
|
|
302 |
<div id="su-generator">
|
303 |
<p>
|
304 |
<select id="su-generator-select">
|
305 |
-
<option value="
|
306 |
<?
|
307 |
foreach ( su_shortcodes() as $name => $shortcode ) {
|
308 |
?>
|
309 |
-
<option value="<?php echo $name; ?>"><?php echo $shortcode['
|
310 |
<?php
|
311 |
}
|
312 |
?>
|
2 |
/*
|
3 |
Plugin Name: Shortcodes Ultimate
|
4 |
Plugin URI: http://ilovecode.ru/?p=122
|
5 |
+
Version: 3.0.1
|
6 |
Author: Vladimir Anokhin
|
7 |
Author URI: http://ilovecode.ru/
|
8 |
Description: Provides support for many easy to use shortcodes
|
288 |
* Add generator button to Upload/Insert buttons
|
289 |
*/
|
290 |
function su_add_generator_button() {
|
291 |
+
echo '<a href="#TB_inline?width=640&height=800&inlineId=su-generator-wrap" class="thickbox" title="' . __( 'Insert shortcode', 'shortcodes-ultimate' ) . '"><img src="' . su_plugin_url() . '/images/admin/media-icon.png" alt="" /></a>';
|
292 |
}
|
293 |
|
294 |
add_action( 'media_buttons', 'su_add_generator_button', 20 );
|
302 |
<div id="su-generator">
|
303 |
<p>
|
304 |
<select id="su-generator-select">
|
305 |
+
<option value="raw"><?php _e( 'Select shortcode', 'shortcodes-ultimate' ); ?></option>
|
306 |
<?
|
307 |
foreach ( su_shortcodes() as $name => $shortcode ) {
|
308 |
?>
|
309 |
+
<option value="<?php echo $name; ?>"><?php echo $shortcode['desc']; ?></option>
|
310 |
<?php
|
311 |
}
|
312 |
?>
|