mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-15 23:38:18 +03:00
Editors
This commit is contained in:
parent
4482352def
commit
dfd25c58d9
|
@ -22,7 +22,7 @@ $config['view']['skin'] = 'synio';
|
|||
$config['view']['name'] = 'Your Site'; // название сайта
|
||||
$config['view']['description'] = 'Description your site'; // seo description
|
||||
$config['view']['keywords'] = 'site, google, internet'; // seo keywords
|
||||
$config['view']['tinymce'] = false; // использовать или нет визуальный редактор TinyMCE
|
||||
$config['view']['wysiwyg'] = false; // использовать или нет визуальный редактор TinyMCE
|
||||
$config['view']['noindex'] = true; // "прятать" или нет ссылки от поисковиков, оборачивая их в тег <noindex> и добавляя rel="nofollow"
|
||||
$config['view']['img_resize_width'] = 570; // до какого размера в пикселях ужимать картинку по щирине при загрузки её в топики и комменты
|
||||
$config['view']['img_max_width'] = 5000; // максимальная ширина загружаемых изображений в пикселях
|
||||
|
|
|
@ -61,9 +61,11 @@ dl.form-item dd { float: left; width: 300px; }
|
|||
|
||||
|
||||
/* Placeholder */
|
||||
:-moz-placeholder { color: #aaa; }
|
||||
::-webkit-input-placeholder { color: #aaa; }
|
||||
.placeholder { color: #aaa; } /* IE */
|
||||
:-moz-placeholder { color: #afafaf; }
|
||||
::-moz-placeholder { color: #afafaf; opacity: 1; }
|
||||
::-webkit-input-placeholder { color: #afafaf; }
|
||||
:-ms-input-placeholder { color: #afafaf; }
|
||||
.placeholder { color: #afafaf; } /* Old IE */
|
||||
|
||||
|
||||
/* Editor */
|
||||
|
|
|
@ -321,7 +321,7 @@ ls.tools = (function ($) {
|
|||
* Предпросмотр
|
||||
*/
|
||||
this.textPreview = function(textId, save, divPreview) {
|
||||
var text =(BLOG_USE_TINYMCE) ? tinyMCE.activeEditor.getContent() : $('#'+textId).val();
|
||||
var text = WYSIWIG ? tinyMCE.activeEditor.getContent() : $('#' + textId).val();
|
||||
var ajaxUrl = aRouter['ajax']+'preview/text/';
|
||||
var ajaxOptions = {text: text, save: save};
|
||||
ls.hook.marker('textPreviewAjaxBefore');
|
||||
|
@ -597,7 +597,7 @@ ls.ie = (function ($) {
|
|||
// эмуляция border-sizing в IE
|
||||
this.bordersizing = function(inputs) {
|
||||
if ($('html').hasClass('ie7')) {
|
||||
if (!tinyMCE) $('textarea.mce-editor').addClass('markItUpEditor');
|
||||
if ( ! WYSIWIG ) $('textarea.js-editor').addClass('markItUpEditor');
|
||||
|
||||
inputs.each(function(i){
|
||||
var obj = $(this);
|
||||
|
|
|
@ -331,7 +331,7 @@ ls.comments = (function ($) {
|
|||
this.toggleCommentForm(this.iCurrentShowFormComment);
|
||||
|
||||
if (typeof(this.options.wysiwyg)!='number') {
|
||||
this.options.wysiwyg = Boolean(BLOG_USE_TINYMCE && tinyMCE);
|
||||
this.options.wysiwyg = Boolean(WYSIWIG && tinyMCE);
|
||||
}
|
||||
ls.hook.run('ls_comments_init_after',[],this);
|
||||
};
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
/**
|
||||
* Различные настройки
|
||||
*/
|
||||
|
||||
var ls = ls || {};
|
||||
|
||||
/**
|
||||
* Различные настройки
|
||||
*/
|
||||
ls.settings = (function ($) {
|
||||
|
||||
this.getMarkitup = function() {
|
||||
|
@ -83,7 +84,7 @@ ls.settings = (function ($) {
|
|||
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
|
||||
pagebreak_separator : "<cut>",
|
||||
media_strict : false,
|
||||
language : TINYMCE_LANG,
|
||||
language : 'ru',
|
||||
inline_styles: false,
|
||||
formats : {
|
||||
underline : {inline : 'u', exact : true},
|
||||
|
@ -116,7 +117,7 @@ ls.settings = (function ($) {
|
|||
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
|
||||
pagebreak_separator : "<cut>",
|
||||
media_strict : false,
|
||||
language : TINYMCE_LANG,
|
||||
language : 'ru',
|
||||
inline_styles: false,
|
||||
formats : {
|
||||
underline : {inline : 'u', exact : true},
|
||||
|
|
|
@ -15,23 +15,23 @@
|
|||
div.pp_default .pp_bottom .pp_middle,
|
||||
div.pp_default .pp_bottom .pp_right { height: 13px; }
|
||||
|
||||
div.pp_default .pp_top .pp_left { background: url(../images/prettyPhoto/default/sprite.png) -78px -93px no-repeat; } /* Top left corner */
|
||||
div.pp_default .pp_top .pp_middle { background: url(../images/prettyPhoto/default/sprite_x.png) top left repeat-x; } /* Top pattern/color */
|
||||
div.pp_default .pp_top .pp_right { background: url(../images/prettyPhoto/default/sprite.png) -112px -93px no-repeat; } /* Top right corner */
|
||||
div.pp_default .pp_top .pp_left { background: url(../images/prettyphoto/default/sprite.png) -78px -93px no-repeat; } /* Top left corner */
|
||||
div.pp_default .pp_top .pp_middle { background: url(../images/prettyphoto/default/sprite_x.png) top left repeat-x; } /* Top pattern/color */
|
||||
div.pp_default .pp_top .pp_right { background: url(../images/prettyphoto/default/sprite.png) -112px -93px no-repeat; } /* Top right corner */
|
||||
|
||||
div.pp_default .pp_content .ppt { color: #f8f8f8; }
|
||||
div.pp_default .pp_content_container .pp_left { background: url(../images/prettyPhoto/default/sprite_y.png) -7px 0 repeat-y; padding-left: 13px; }
|
||||
div.pp_default .pp_content_container .pp_right { background: url(../images/prettyPhoto/default/sprite_y.png) top right repeat-y; padding-right: 13px; }
|
||||
div.pp_default .pp_content_container .pp_left { background: url(../images/prettyphoto/default/sprite_y.png) -7px 0 repeat-y; padding-left: 13px; }
|
||||
div.pp_default .pp_content_container .pp_right { background: url(../images/prettyphoto/default/sprite_y.png) top right repeat-y; padding-right: 13px; }
|
||||
div.pp_default .pp_content { background-color: #fff; } /* Content background */
|
||||
div.pp_default .pp_next:hover { background: url(../images/prettyPhoto/default/sprite_next.png) center right no-repeat; cursor: pointer; } /* Next button */
|
||||
div.pp_default .pp_previous:hover { background: url(../images/prettyPhoto/default/sprite_prev.png) center left no-repeat; cursor: pointer; } /* Previous button */
|
||||
div.pp_default .pp_expand { background: url(../images/prettyPhoto/default/sprite.png) 0 -29px no-repeat; cursor: pointer; width: 28px; height: 28px; } /* Expand button */
|
||||
div.pp_default .pp_expand:hover { background: url(../images/prettyPhoto/default/sprite.png) 0 -56px no-repeat; cursor: pointer; } /* Expand button hover */
|
||||
div.pp_default .pp_contract { background: url(../images/prettyPhoto/default/sprite.png) 0 -84px no-repeat; cursor: pointer; width: 28px; height: 28px; } /* Contract button */
|
||||
div.pp_default .pp_contract:hover { background: url(../images/prettyPhoto/default/sprite.png) 0 -113px no-repeat; cursor: pointer; } /* Contract button hover */
|
||||
div.pp_default .pp_close { width: 30px; height: 30px; background: url(../images/prettyPhoto/default/sprite.png) 2px 1px no-repeat; cursor: pointer; } /* Close button */
|
||||
div.pp_default .pp_next:hover { background: url(../images/prettyphoto/default/sprite_next.png) center right no-repeat; cursor: pointer; } /* Next button */
|
||||
div.pp_default .pp_previous:hover { background: url(../images/prettyphoto/default/sprite_prev.png) center left no-repeat; cursor: pointer; } /* Previous button */
|
||||
div.pp_default .pp_expand { background: url(../images/prettyphoto/default/sprite.png) 0 -29px no-repeat; cursor: pointer; width: 28px; height: 28px; } /* Expand button */
|
||||
div.pp_default .pp_expand:hover { background: url(../images/prettyphoto/default/sprite.png) 0 -56px no-repeat; cursor: pointer; } /* Expand button hover */
|
||||
div.pp_default .pp_contract { background: url(../images/prettyphoto/default/sprite.png) 0 -84px no-repeat; cursor: pointer; width: 28px; height: 28px; } /* Contract button */
|
||||
div.pp_default .pp_contract:hover { background: url(../images/prettyphoto/default/sprite.png) 0 -113px no-repeat; cursor: pointer; } /* Contract button hover */
|
||||
div.pp_default .pp_close { width: 30px; height: 30px; background: url(../images/prettyphoto/default/sprite.png) 2px 1px no-repeat; cursor: pointer; } /* Close button */
|
||||
div.pp_default #pp_full_res .pp_inline { color: #000; }
|
||||
div.pp_default .pp_gallery ul li a { background: url(../images/prettyPhoto/default/default_thumb.png) center center #f8f8f8; border:1px solid #aaa; }
|
||||
div.pp_default .pp_gallery ul li a { background: url(../images/prettyphoto/default/default_thumb.png) center center #f8f8f8; border:1px solid #aaa; }
|
||||
div.pp_default .pp_gallery ul li a:hover,
|
||||
div.pp_default .pp_gallery ul li.selected a { border-color: #fff; }
|
||||
div.pp_default .pp_social { margin-top: 7px; }
|
||||
|
@ -39,11 +39,11 @@
|
|||
div.pp_default .pp_gallery a.pp_arrow_previous,
|
||||
div.pp_default .pp_gallery a.pp_arrow_next { position: static; left: auto; }
|
||||
div.pp_default .pp_nav .pp_play,
|
||||
div.pp_default .pp_nav .pp_pause { background: url(../images/prettyPhoto/default/sprite.png) -51px 1px no-repeat; height:30px; width:30px; }
|
||||
div.pp_default .pp_nav .pp_pause { background: url(../images/prettyphoto/default/sprite.png) -51px 1px no-repeat; height:30px; width:30px; }
|
||||
div.pp_default .pp_nav .pp_pause { background-position: -51px -29px; }
|
||||
div.pp_default .pp_details { position: relative; }
|
||||
div.pp_default a.pp_arrow_previous,
|
||||
div.pp_default a.pp_arrow_next { background: url(../images/prettyPhoto/default/sprite.png) -31px -3px no-repeat; height: 20px; margin: 4px 0 0 0; width: 20px; }
|
||||
div.pp_default a.pp_arrow_next { background: url(../images/prettyphoto/default/sprite.png) -31px -3px no-repeat; height: 20px; margin: 4px 0 0 0; width: 20px; }
|
||||
div.pp_default a.pp_arrow_next { left: 52px; background-position: -82px -3px; } /* The next arrow in the bottom nav */
|
||||
div.pp_default .pp_content_container .pp_details { margin-top: 5px; }
|
||||
div.pp_default .pp_nav { clear: none; height: 30px; width: 110px; position: relative; }
|
||||
|
@ -53,11 +53,11 @@
|
|||
|
||||
div.pp_default .pp_description{ font-size: 11px; font-weight: bold; line-height: 14px; margin: 5px 50px 5px 0; }
|
||||
|
||||
div.pp_default .pp_bottom .pp_left { background: url(../images/prettyPhoto/default/sprite.png) -78px -127px no-repeat; } /* Bottom left corner */
|
||||
div.pp_default .pp_bottom .pp_middle { background: url(../images/prettyPhoto/default/sprite_x.png) bottom left repeat-x; } /* Bottom pattern/color */
|
||||
div.pp_default .pp_bottom .pp_right { background: url(../images/prettyPhoto/default/sprite.png) -112px -127px no-repeat; } /* Bottom right corner */
|
||||
div.pp_default .pp_bottom .pp_left { background: url(../images/prettyphoto/default/sprite.png) -78px -127px no-repeat; } /* Bottom left corner */
|
||||
div.pp_default .pp_bottom .pp_middle { background: url(../images/prettyphoto/default/sprite_x.png) bottom left repeat-x; } /* Bottom pattern/color */
|
||||
div.pp_default .pp_bottom .pp_right { background: url(../images/prettyphoto/default/sprite.png) -112px -127px no-repeat; } /* Bottom right corner */
|
||||
|
||||
div.pp_default .pp_loaderIcon { background: url(../images/prettyPhoto/default/loader.gif) center center no-repeat; } /* Loader icon */
|
||||
div.pp_default .pp_loaderIcon { background: url(../images/prettyphoto/default/loader.gif) center center no-repeat; } /* Loader icon */
|
||||
|
||||
|
||||
/* ----------------------------------
|
||||
|
@ -65,58 +65,58 @@
|
|||
----------------------------------- */
|
||||
|
||||
|
||||
div.light_rounded .pp_top .pp_left { background: url(../images/prettyPhoto/light_rounded/sprite.png) -88px -53px no-repeat; } /* Top left corner */
|
||||
div.light_rounded .pp_top .pp_left { background: url(../images/prettyphoto/light_rounded/sprite.png) -88px -53px no-repeat; } /* Top left corner */
|
||||
div.light_rounded .pp_top .pp_middle { background: #fff; } /* Top pattern/color */
|
||||
div.light_rounded .pp_top .pp_right { background: url(../images/prettyPhoto/light_rounded/sprite.png) -110px -53px no-repeat; } /* Top right corner */
|
||||
div.light_rounded .pp_top .pp_right { background: url(../images/prettyphoto/light_rounded/sprite.png) -110px -53px no-repeat; } /* Top right corner */
|
||||
|
||||
div.light_rounded .pp_content .ppt { color: #000; }
|
||||
div.light_rounded .pp_content_container .pp_left,
|
||||
div.light_rounded .pp_content_container .pp_right { background: #fff; }
|
||||
div.light_rounded .pp_content { background-color: #fff; } /* Content background */
|
||||
div.light_rounded .pp_next:hover { background: url(../images/prettyPhoto/light_rounded/btnNext.png) center right no-repeat; cursor: pointer; } /* Next button */
|
||||
div.light_rounded .pp_previous:hover { background: url(../images/prettyPhoto/light_rounded/btnPrevious.png) center left no-repeat; cursor: pointer; } /* Previous button */
|
||||
div.light_rounded .pp_expand { background: url(../images/prettyPhoto/light_rounded/sprite.png) -31px -26px no-repeat; cursor: pointer; } /* Expand button */
|
||||
div.light_rounded .pp_expand:hover { background: url(../images/prettyPhoto/light_rounded/sprite.png) -31px -47px no-repeat; cursor: pointer; } /* Expand button hover */
|
||||
div.light_rounded .pp_contract { background: url(../images/prettyPhoto/light_rounded/sprite.png) 0 -26px no-repeat; cursor: pointer; } /* Contract button */
|
||||
div.light_rounded .pp_contract:hover { background: url(../images/prettyPhoto/light_rounded/sprite.png) 0 -47px no-repeat; cursor: pointer; } /* Contract button hover */
|
||||
div.light_rounded .pp_close { width: 75px; height: 22px; background: url(../images/prettyPhoto/light_rounded/sprite.png) -1px -1px no-repeat; cursor: pointer; } /* Close button */
|
||||
div.light_rounded .pp_next:hover { background: url(../images/prettyphoto/light_rounded/btnNext.png) center right no-repeat; cursor: pointer; } /* Next button */
|
||||
div.light_rounded .pp_previous:hover { background: url(../images/prettyphoto/light_rounded/btnPrevious.png) center left no-repeat; cursor: pointer; } /* Previous button */
|
||||
div.light_rounded .pp_expand { background: url(../images/prettyphoto/light_rounded/sprite.png) -31px -26px no-repeat; cursor: pointer; } /* Expand button */
|
||||
div.light_rounded .pp_expand:hover { background: url(../images/prettyphoto/light_rounded/sprite.png) -31px -47px no-repeat; cursor: pointer; } /* Expand button hover */
|
||||
div.light_rounded .pp_contract { background: url(../images/prettyphoto/light_rounded/sprite.png) 0 -26px no-repeat; cursor: pointer; } /* Contract button */
|
||||
div.light_rounded .pp_contract:hover { background: url(../images/prettyphoto/light_rounded/sprite.png) 0 -47px no-repeat; cursor: pointer; } /* Contract button hover */
|
||||
div.light_rounded .pp_close { width: 75px; height: 22px; background: url(../images/prettyphoto/light_rounded/sprite.png) -1px -1px no-repeat; cursor: pointer; } /* Close button */
|
||||
div.light_rounded .pp_details { position: relative; }
|
||||
div.light_rounded .pp_description { margin-right: 85px; }
|
||||
div.light_rounded #pp_full_res .pp_inline { color: #000; }
|
||||
div.light_rounded .pp_gallery a.pp_arrow_previous,
|
||||
div.light_rounded .pp_gallery a.pp_arrow_next { margin-top: 12px !important; }
|
||||
div.light_rounded .pp_nav .pp_play { background: url(../images/prettyPhoto/light_rounded/sprite.png) -1px -100px no-repeat; height: 15px; width: 14px; }
|
||||
div.light_rounded .pp_nav .pp_pause { background: url(../images/prettyPhoto/light_rounded/sprite.png) -24px -100px no-repeat; height: 15px; width: 14px; }
|
||||
div.light_rounded .pp_nav .pp_play { background: url(../images/prettyphoto/light_rounded/sprite.png) -1px -100px no-repeat; height: 15px; width: 14px; }
|
||||
div.light_rounded .pp_nav .pp_pause { background: url(../images/prettyphoto/light_rounded/sprite.png) -24px -100px no-repeat; height: 15px; width: 14px; }
|
||||
|
||||
div.light_rounded .pp_arrow_previous { background: url(../images/prettyPhoto/light_rounded/sprite.png) 0 -71px no-repeat; } /* The previous arrow in the bottom nav */
|
||||
div.light_rounded .pp_arrow_previous { background: url(../images/prettyphoto/light_rounded/sprite.png) 0 -71px no-repeat; } /* The previous arrow in the bottom nav */
|
||||
div.light_rounded .pp_arrow_previous.disabled { background-position: 0 -87px; cursor: default; }
|
||||
div.light_rounded .pp_arrow_next { background: url(../images/prettyPhoto/light_rounded/sprite.png) -22px -71px no-repeat; } /* The next arrow in the bottom nav */
|
||||
div.light_rounded .pp_arrow_next { background: url(../images/prettyphoto/light_rounded/sprite.png) -22px -71px no-repeat; } /* The next arrow in the bottom nav */
|
||||
div.light_rounded .pp_arrow_next.disabled { background-position: -22px -87px; cursor: default; }
|
||||
|
||||
div.light_rounded .pp_bottom .pp_left { background: url(../images/prettyPhoto/light_rounded/sprite.png) -88px -80px no-repeat; } /* Bottom left corner */
|
||||
div.light_rounded .pp_bottom .pp_left { background: url(../images/prettyphoto/light_rounded/sprite.png) -88px -80px no-repeat; } /* Bottom left corner */
|
||||
div.light_rounded .pp_bottom .pp_middle { background: #fff; } /* Bottom pattern/color */
|
||||
div.light_rounded .pp_bottom .pp_right { background: url(../images/prettyPhoto/light_rounded/sprite.png) -110px -80px no-repeat; } /* Bottom right corner */
|
||||
div.light_rounded .pp_bottom .pp_right { background: url(../images/prettyphoto/light_rounded/sprite.png) -110px -80px no-repeat; } /* Bottom right corner */
|
||||
|
||||
div.light_rounded .pp_loaderIcon { background: url(../images/prettyPhoto/light_rounded/loader.gif) center center no-repeat; } /* Loader icon */
|
||||
div.light_rounded .pp_loaderIcon { background: url(../images/prettyphoto/light_rounded/loader.gif) center center no-repeat; } /* Loader icon */
|
||||
|
||||
/* ----------------------------------
|
||||
Dark Rounded Theme
|
||||
----------------------------------- */
|
||||
|
||||
div.dark_rounded .pp_top .pp_left { background: url(../images/prettyPhoto/dark_rounded/sprite.png) -88px -53px no-repeat; } /* Top left corner */
|
||||
div.dark_rounded .pp_top .pp_middle { background: url(../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat; } /* Top pattern/color */
|
||||
div.dark_rounded .pp_top .pp_right { background: url(../images/prettyPhoto/dark_rounded/sprite.png) -110px -53px no-repeat; } /* Top right corner */
|
||||
div.dark_rounded .pp_top .pp_left { background: url(../images/prettyphoto/dark_rounded/sprite.png) -88px -53px no-repeat; } /* Top left corner */
|
||||
div.dark_rounded .pp_top .pp_middle { background: url(../images/prettyphoto/dark_rounded/contentPattern.png) top left repeat; } /* Top pattern/color */
|
||||
div.dark_rounded .pp_top .pp_right { background: url(../images/prettyphoto/dark_rounded/sprite.png) -110px -53px no-repeat; } /* Top right corner */
|
||||
|
||||
div.dark_rounded .pp_content_container .pp_left { background: url(../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat-y; } /* Left Content background */
|
||||
div.dark_rounded .pp_content_container .pp_right { background: url(../images/prettyPhoto/dark_rounded/contentPattern.png) top right repeat-y; } /* Right Content background */
|
||||
div.dark_rounded .pp_content { background: url(../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat; } /* Content background */
|
||||
div.dark_rounded .pp_next:hover { background: url(../images/prettyPhoto/dark_rounded/btnNext.png) center right no-repeat; cursor: pointer; } /* Next button */
|
||||
div.dark_rounded .pp_previous:hover { background: url(../images/prettyPhoto/dark_rounded/btnPrevious.png) center left no-repeat; cursor: pointer; } /* Previous button */
|
||||
div.dark_rounded .pp_expand { background: url(../images/prettyPhoto/dark_rounded/sprite.png) -31px -26px no-repeat; cursor: pointer; } /* Expand button */
|
||||
div.dark_rounded .pp_expand:hover { background: url(../images/prettyPhoto/dark_rounded/sprite.png) -31px -47px no-repeat; cursor: pointer; } /* Expand button hover */
|
||||
div.dark_rounded .pp_contract { background: url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -26px no-repeat; cursor: pointer; } /* Contract button */
|
||||
div.dark_rounded .pp_contract:hover { background: url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -47px no-repeat; cursor: pointer; } /* Contract button hover */
|
||||
div.dark_rounded .pp_close { width: 75px; height: 22px; background: url(../images/prettyPhoto/dark_rounded/sprite.png) -1px -1px no-repeat; cursor: pointer; } /* Close button */
|
||||
div.dark_rounded .pp_content_container .pp_left { background: url(../images/prettyphoto/dark_rounded/contentPattern.png) top left repeat-y; } /* Left Content background */
|
||||
div.dark_rounded .pp_content_container .pp_right { background: url(../images/prettyphoto/dark_rounded/contentPattern.png) top right repeat-y; } /* Right Content background */
|
||||
div.dark_rounded .pp_content { background: url(../images/prettyphoto/dark_rounded/contentPattern.png) top left repeat; } /* Content background */
|
||||
div.dark_rounded .pp_next:hover { background: url(../images/prettyphoto/dark_rounded/btnNext.png) center right no-repeat; cursor: pointer; } /* Next button */
|
||||
div.dark_rounded .pp_previous:hover { background: url(../images/prettyphoto/dark_rounded/btnPrevious.png) center left no-repeat; cursor: pointer; } /* Previous button */
|
||||
div.dark_rounded .pp_expand { background: url(../images/prettyphoto/dark_rounded/sprite.png) -31px -26px no-repeat; cursor: pointer; } /* Expand button */
|
||||
div.dark_rounded .pp_expand:hover { background: url(../images/prettyphoto/dark_rounded/sprite.png) -31px -47px no-repeat; cursor: pointer; } /* Expand button hover */
|
||||
div.dark_rounded .pp_contract { background: url(../images/prettyphoto/dark_rounded/sprite.png) 0 -26px no-repeat; cursor: pointer; } /* Contract button */
|
||||
div.dark_rounded .pp_contract:hover { background: url(../images/prettyphoto/dark_rounded/sprite.png) 0 -47px no-repeat; cursor: pointer; } /* Contract button hover */
|
||||
div.dark_rounded .pp_close { width: 75px; height: 22px; background: url(../images/prettyphoto/dark_rounded/sprite.png) -1px -1px no-repeat; cursor: pointer; } /* Close button */
|
||||
div.dark_rounded .pp_details { position: relative; }
|
||||
div.dark_rounded .pp_description { margin-right: 85px; }
|
||||
div.dark_rounded .currentTextHolder { color: #c4c4c4; }
|
||||
|
@ -124,19 +124,19 @@
|
|||
div.dark_rounded #pp_full_res .pp_inline { color: #fff; }
|
||||
div.dark_rounded .pp_gallery a.pp_arrow_previous,
|
||||
div.dark_rounded .pp_gallery a.pp_arrow_next { margin-top: 12px !important; }
|
||||
div.dark_rounded .pp_nav .pp_play { background: url(../images/prettyPhoto/dark_rounded/sprite.png) -1px -100px no-repeat; height: 15px; width: 14px; }
|
||||
div.dark_rounded .pp_nav .pp_pause { background: url(../images/prettyPhoto/dark_rounded/sprite.png) -24px -100px no-repeat; height: 15px; width: 14px; }
|
||||
div.dark_rounded .pp_nav .pp_play { background: url(../images/prettyphoto/dark_rounded/sprite.png) -1px -100px no-repeat; height: 15px; width: 14px; }
|
||||
div.dark_rounded .pp_nav .pp_pause { background: url(../images/prettyphoto/dark_rounded/sprite.png) -24px -100px no-repeat; height: 15px; width: 14px; }
|
||||
|
||||
div.dark_rounded .pp_arrow_previous { background: url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -71px no-repeat; } /* The previous arrow in the bottom nav */
|
||||
div.dark_rounded .pp_arrow_previous { background: url(../images/prettyphoto/dark_rounded/sprite.png) 0 -71px no-repeat; } /* The previous arrow in the bottom nav */
|
||||
div.dark_rounded .pp_arrow_previous.disabled { background-position: 0 -87px; cursor: default; }
|
||||
div.dark_rounded .pp_arrow_next { background: url(../images/prettyPhoto/dark_rounded/sprite.png) -22px -71px no-repeat; } /* The next arrow in the bottom nav */
|
||||
div.dark_rounded .pp_arrow_next { background: url(../images/prettyphoto/dark_rounded/sprite.png) -22px -71px no-repeat; } /* The next arrow in the bottom nav */
|
||||
div.dark_rounded .pp_arrow_next.disabled { background-position: -22px -87px; cursor: default; }
|
||||
|
||||
div.dark_rounded .pp_bottom .pp_left { background: url(../images/prettyPhoto/dark_rounded/sprite.png) -88px -80px no-repeat; } /* Bottom left corner */
|
||||
div.dark_rounded .pp_bottom .pp_middle { background: url(../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat; } /* Bottom pattern/color */
|
||||
div.dark_rounded .pp_bottom .pp_right { background: url(../images/prettyPhoto/dark_rounded/sprite.png) -110px -80px no-repeat; } /* Bottom right corner */
|
||||
div.dark_rounded .pp_bottom .pp_left { background: url(../images/prettyphoto/dark_rounded/sprite.png) -88px -80px no-repeat; } /* Bottom left corner */
|
||||
div.dark_rounded .pp_bottom .pp_middle { background: url(../images/prettyphoto/dark_rounded/contentPattern.png) top left repeat; } /* Bottom pattern/color */
|
||||
div.dark_rounded .pp_bottom .pp_right { background: url(../images/prettyphoto/dark_rounded/sprite.png) -110px -80px no-repeat; } /* Bottom right corner */
|
||||
|
||||
div.dark_rounded .pp_loaderIcon { background: url(../images/prettyPhoto/dark_rounded/loader.gif) center center no-repeat; } /* Loader icon */
|
||||
div.dark_rounded .pp_loaderIcon { background: url(../images/prettyphoto/dark_rounded/loader.gif) center center no-repeat; } /* Loader icon */
|
||||
|
||||
|
||||
/* ----------------------------------
|
||||
|
@ -150,29 +150,29 @@
|
|||
|
||||
div.dark_square .currentTextHolder { color: #c4c4c4; }
|
||||
div.dark_square .pp_description { color: #fff; }
|
||||
div.dark_square .pp_loaderIcon { background: url(../images/prettyPhoto/dark_square/loader.gif) center center no-repeat; } /* Loader icon */
|
||||
div.dark_square .pp_loaderIcon { background: url(../images/prettyphoto/dark_square/loader.gif) center center no-repeat; } /* Loader icon */
|
||||
|
||||
div.dark_square .pp_expand { background: url(../images/prettyPhoto/dark_square/sprite.png) -31px -26px no-repeat; cursor: pointer; } /* Expand button */
|
||||
div.dark_square .pp_expand:hover { background: url(../images/prettyPhoto/dark_square/sprite.png) -31px -47px no-repeat; cursor: pointer; } /* Expand button hover */
|
||||
div.dark_square .pp_contract { background: url(../images/prettyPhoto/dark_square/sprite.png) 0 -26px no-repeat; cursor: pointer; } /* Contract button */
|
||||
div.dark_square .pp_contract:hover { background: url(../images/prettyPhoto/dark_square/sprite.png) 0 -47px no-repeat; cursor: pointer; } /* Contract button hover */
|
||||
div.dark_square .pp_close { width: 75px; height: 22px; background: url(../images/prettyPhoto/dark_square/sprite.png) -1px -1px no-repeat; cursor: pointer; } /* Close button */
|
||||
div.dark_square .pp_expand { background: url(../images/prettyphoto/dark_square/sprite.png) -31px -26px no-repeat; cursor: pointer; } /* Expand button */
|
||||
div.dark_square .pp_expand:hover { background: url(../images/prettyphoto/dark_square/sprite.png) -31px -47px no-repeat; cursor: pointer; } /* Expand button hover */
|
||||
div.dark_square .pp_contract { background: url(../images/prettyphoto/dark_square/sprite.png) 0 -26px no-repeat; cursor: pointer; } /* Contract button */
|
||||
div.dark_square .pp_contract:hover { background: url(../images/prettyphoto/dark_square/sprite.png) 0 -47px no-repeat; cursor: pointer; } /* Contract button hover */
|
||||
div.dark_square .pp_close { width: 75px; height: 22px; background: url(../images/prettyphoto/dark_square/sprite.png) -1px -1px no-repeat; cursor: pointer; } /* Close button */
|
||||
div.dark_square .pp_details { position: relative; }
|
||||
div.dark_square .pp_description { margin: 0 85px 0 0; }
|
||||
div.dark_square #pp_full_res .pp_inline { color: #fff; }
|
||||
div.dark_square .pp_gallery a.pp_arrow_previous,
|
||||
div.dark_square .pp_gallery a.pp_arrow_next { margin-top: 12px !important; }
|
||||
div.dark_square .pp_nav { clear: none; }
|
||||
div.dark_square .pp_nav .pp_play { background: url(../images/prettyPhoto/dark_square/sprite.png) -1px -100px no-repeat; height: 15px; width: 14px; }
|
||||
div.dark_square .pp_nav .pp_pause { background: url(../images/prettyPhoto/dark_square/sprite.png) -24px -100px no-repeat; height: 15px; width: 14px; }
|
||||
div.dark_square .pp_nav .pp_play { background: url(../images/prettyphoto/dark_square/sprite.png) -1px -100px no-repeat; height: 15px; width: 14px; }
|
||||
div.dark_square .pp_nav .pp_pause { background: url(../images/prettyphoto/dark_square/sprite.png) -24px -100px no-repeat; height: 15px; width: 14px; }
|
||||
|
||||
div.dark_square .pp_arrow_previous { background: url(../images/prettyPhoto/dark_square/sprite.png) 0 -71px no-repeat; } /* The previous arrow in the bottom nav */
|
||||
div.dark_square .pp_arrow_previous { background: url(../images/prettyphoto/dark_square/sprite.png) 0 -71px no-repeat; } /* The previous arrow in the bottom nav */
|
||||
div.dark_square .pp_arrow_previous.disabled { background-position: 0 -87px; cursor: default; }
|
||||
div.dark_square .pp_arrow_next { background: url(../images/prettyPhoto/dark_square/sprite.png) -22px -71px no-repeat; } /* The next arrow in the bottom nav */
|
||||
div.dark_square .pp_arrow_next { background: url(../images/prettyphoto/dark_square/sprite.png) -22px -71px no-repeat; } /* The next arrow in the bottom nav */
|
||||
div.dark_square .pp_arrow_next.disabled { background-position: -22px -87px; cursor: default; }
|
||||
|
||||
div.dark_square .pp_next:hover { background: url(../images/prettyPhoto/dark_square/btnNext.png) center right no-repeat; cursor: pointer; } /* Next button */
|
||||
div.dark_square .pp_previous:hover { background: url(../images/prettyPhoto/dark_square/btnPrevious.png) center left no-repeat; cursor: pointer; } /* Previous button */
|
||||
div.dark_square .pp_next:hover { background: url(../images/prettyphoto/dark_square/btnNext.png) center right no-repeat; cursor: pointer; } /* Next button */
|
||||
div.dark_square .pp_previous:hover { background: url(../images/prettyphoto/dark_square/btnPrevious.png) center left no-repeat; cursor: pointer; } /* Previous button */
|
||||
|
||||
|
||||
/* ----------------------------------
|
||||
|
@ -185,67 +185,67 @@
|
|||
div.light_square .pp_content { background: #fff; }
|
||||
|
||||
div.light_square .pp_content .ppt { color: #000; }
|
||||
div.light_square .pp_expand { background: url(../images/prettyPhoto/light_square/sprite.png) -31px -26px no-repeat; cursor: pointer; } /* Expand button */
|
||||
div.light_square .pp_expand:hover { background: url(../images/prettyPhoto/light_square/sprite.png) -31px -47px no-repeat; cursor: pointer; } /* Expand button hover */
|
||||
div.light_square .pp_contract { background: url(../images/prettyPhoto/light_square/sprite.png) 0 -26px no-repeat; cursor: pointer; } /* Contract button */
|
||||
div.light_square .pp_contract:hover { background: url(../images/prettyPhoto/light_square/sprite.png) 0 -47px no-repeat; cursor: pointer; } /* Contract button hover */
|
||||
div.light_square .pp_close { width: 75px; height: 22px; background: url(../images/prettyPhoto/light_square/sprite.png) -1px -1px no-repeat; cursor: pointer; } /* Close button */
|
||||
div.light_square .pp_expand { background: url(../images/prettyphoto/light_square/sprite.png) -31px -26px no-repeat; cursor: pointer; } /* Expand button */
|
||||
div.light_square .pp_expand:hover { background: url(../images/prettyphoto/light_square/sprite.png) -31px -47px no-repeat; cursor: pointer; } /* Expand button hover */
|
||||
div.light_square .pp_contract { background: url(../images/prettyphoto/light_square/sprite.png) 0 -26px no-repeat; cursor: pointer; } /* Contract button */
|
||||
div.light_square .pp_contract:hover { background: url(../images/prettyphoto/light_square/sprite.png) 0 -47px no-repeat; cursor: pointer; } /* Contract button hover */
|
||||
div.light_square .pp_close { width: 75px; height: 22px; background: url(../images/prettyphoto/light_square/sprite.png) -1px -1px no-repeat; cursor: pointer; } /* Close button */
|
||||
div.light_square .pp_details { position: relative; }
|
||||
div.light_square .pp_description { margin-right: 85px; }
|
||||
div.light_square #pp_full_res .pp_inline { color: #000; }
|
||||
div.light_square .pp_gallery a.pp_arrow_previous,
|
||||
div.light_square .pp_gallery a.pp_arrow_next { margin-top: 12px !important; }
|
||||
div.light_square .pp_nav .pp_play { background: url(../images/prettyPhoto/light_square/sprite.png) -1px -100px no-repeat; height: 15px; width: 14px; }
|
||||
div.light_square .pp_nav .pp_pause { background: url(../images/prettyPhoto/light_square/sprite.png) -24px -100px no-repeat; height: 15px; width: 14px; }
|
||||
div.light_square .pp_nav .pp_play { background: url(../images/prettyphoto/light_square/sprite.png) -1px -100px no-repeat; height: 15px; width: 14px; }
|
||||
div.light_square .pp_nav .pp_pause { background: url(../images/prettyphoto/light_square/sprite.png) -24px -100px no-repeat; height: 15px; width: 14px; }
|
||||
|
||||
div.light_square .pp_arrow_previous { background: url(../images/prettyPhoto/light_square/sprite.png) 0 -71px no-repeat; } /* The previous arrow in the bottom nav */
|
||||
div.light_square .pp_arrow_previous { background: url(../images/prettyphoto/light_square/sprite.png) 0 -71px no-repeat; } /* The previous arrow in the bottom nav */
|
||||
div.light_square .pp_arrow_previous.disabled { background-position: 0 -87px; cursor: default; }
|
||||
div.light_square .pp_arrow_next { background: url(../images/prettyPhoto/light_square/sprite.png) -22px -71px no-repeat; } /* The next arrow in the bottom nav */
|
||||
div.light_square .pp_arrow_next { background: url(../images/prettyphoto/light_square/sprite.png) -22px -71px no-repeat; } /* The next arrow in the bottom nav */
|
||||
div.light_square .pp_arrow_next.disabled { background-position: -22px -87px; cursor: default; }
|
||||
|
||||
div.light_square .pp_next:hover { background: url(../images/prettyPhoto/light_square/btnNext.png) center right no-repeat; cursor: pointer; } /* Next button */
|
||||
div.light_square .pp_previous:hover { background: url(../images/prettyPhoto/light_square/btnPrevious.png) center left no-repeat; cursor: pointer; } /* Previous button */
|
||||
div.light_square .pp_next:hover { background: url(../images/prettyphoto/light_square/btnNext.png) center right no-repeat; cursor: pointer; } /* Next button */
|
||||
div.light_square .pp_previous:hover { background: url(../images/prettyphoto/light_square/btnPrevious.png) center left no-repeat; cursor: pointer; } /* Previous button */
|
||||
|
||||
div.light_square .pp_loaderIcon { background: url(../images/prettyPhoto/light_rounded/loader.gif) center center no-repeat; } /* Loader icon */
|
||||
div.light_square .pp_loaderIcon { background: url(../images/prettyphoto/light_rounded/loader.gif) center center no-repeat; } /* Loader icon */
|
||||
|
||||
|
||||
/* ----------------------------------
|
||||
Facebook style Theme
|
||||
----------------------------------- */
|
||||
|
||||
div.facebook .pp_top .pp_left { background: url(../images/prettyPhoto/facebook/sprite.png) -88px -53px no-repeat; } /* Top left corner */
|
||||
div.facebook .pp_top .pp_middle { background: url(../images/prettyPhoto/facebook/contentPatternTop.png) top left repeat-x; } /* Top pattern/color */
|
||||
div.facebook .pp_top .pp_right { background: url(../images/prettyPhoto/facebook/sprite.png) -110px -53px no-repeat; } /* Top right corner */
|
||||
div.facebook .pp_top .pp_left { background: url(../images/prettyphoto/facebook/sprite.png) -88px -53px no-repeat; } /* Top left corner */
|
||||
div.facebook .pp_top .pp_middle { background: url(../images/prettyphoto/facebook/contentPatternTop.png) top left repeat-x; } /* Top pattern/color */
|
||||
div.facebook .pp_top .pp_right { background: url(../images/prettyphoto/facebook/sprite.png) -110px -53px no-repeat; } /* Top right corner */
|
||||
|
||||
div.facebook .pp_content .ppt { color: #000; }
|
||||
div.facebook .pp_content_container .pp_left { background: url(../images/prettyPhoto/facebook/contentPatternLeft.png) top left repeat-y; } /* Content background */
|
||||
div.facebook .pp_content_container .pp_right { background: url(../images/prettyPhoto/facebook/contentPatternRight.png) top right repeat-y; } /* Content background */
|
||||
div.facebook .pp_content_container .pp_left { background: url(../images/prettyphoto/facebook/contentPatternLeft.png) top left repeat-y; } /* Content background */
|
||||
div.facebook .pp_content_container .pp_right { background: url(../images/prettyphoto/facebook/contentPatternRight.png) top right repeat-y; } /* Content background */
|
||||
div.facebook .pp_content { background: #fff; } /* Content background */
|
||||
div.facebook .pp_expand { background: url(../images/prettyPhoto/facebook/sprite.png) -31px -26px no-repeat; cursor: pointer; } /* Expand button */
|
||||
div.facebook .pp_expand:hover { background: url(../images/prettyPhoto/facebook/sprite.png) -31px -47px no-repeat; cursor: pointer; } /* Expand button hover */
|
||||
div.facebook .pp_contract { background: url(../images/prettyPhoto/facebook/sprite.png) 0 -26px no-repeat; cursor: pointer; } /* Contract button */
|
||||
div.facebook .pp_contract:hover { background: url(../images/prettyPhoto/facebook/sprite.png) 0 -47px no-repeat; cursor: pointer; } /* Contract button hover */
|
||||
div.facebook .pp_close { width: 22px; height: 22px; background: url(../images/prettyPhoto/facebook/sprite.png) -1px -1px no-repeat; cursor: pointer; } /* Close button */
|
||||
div.facebook .pp_expand { background: url(../images/prettyphoto/facebook/sprite.png) -31px -26px no-repeat; cursor: pointer; } /* Expand button */
|
||||
div.facebook .pp_expand:hover { background: url(../images/prettyphoto/facebook/sprite.png) -31px -47px no-repeat; cursor: pointer; } /* Expand button hover */
|
||||
div.facebook .pp_contract { background: url(../images/prettyphoto/facebook/sprite.png) 0 -26px no-repeat; cursor: pointer; } /* Contract button */
|
||||
div.facebook .pp_contract:hover { background: url(../images/prettyphoto/facebook/sprite.png) 0 -47px no-repeat; cursor: pointer; } /* Contract button hover */
|
||||
div.facebook .pp_close { width: 22px; height: 22px; background: url(../images/prettyphoto/facebook/sprite.png) -1px -1px no-repeat; cursor: pointer; } /* Close button */
|
||||
div.facebook .pp_details { position: relative; }
|
||||
div.facebook .pp_description { margin: 0 37px 0 0; }
|
||||
div.facebook #pp_full_res .pp_inline { color: #000; }
|
||||
div.facebook .pp_loaderIcon { background: url(../images/prettyPhoto/facebook/loader.gif) center center no-repeat; } /* Loader icon */
|
||||
div.facebook .pp_loaderIcon { background: url(../images/prettyphoto/facebook/loader.gif) center center no-repeat; } /* Loader icon */
|
||||
|
||||
div.facebook .pp_arrow_previous { background: url(../images/prettyPhoto/facebook/sprite.png) 0 -71px no-repeat; height: 22px; margin-top: 0; width: 22px; } /* The previous arrow in the bottom nav */
|
||||
div.facebook .pp_arrow_previous { background: url(../images/prettyphoto/facebook/sprite.png) 0 -71px no-repeat; height: 22px; margin-top: 0; width: 22px; } /* The previous arrow in the bottom nav */
|
||||
div.facebook .pp_arrow_previous.disabled { background-position: 0 -96px; cursor: default; }
|
||||
div.facebook .pp_arrow_next { background: url(../images/prettyPhoto/facebook/sprite.png) -32px -71px no-repeat; height: 22px; margin-top: 0; width: 22px; } /* The next arrow in the bottom nav */
|
||||
div.facebook .pp_arrow_next { background: url(../images/prettyphoto/facebook/sprite.png) -32px -71px no-repeat; height: 22px; margin-top: 0; width: 22px; } /* The next arrow in the bottom nav */
|
||||
div.facebook .pp_arrow_next.disabled { background-position: -32px -96px; cursor: default; }
|
||||
div.facebook .pp_nav { margin-top: 0; }
|
||||
div.facebook .pp_nav p { font-size: 15px; padding: 0 3px 0 4px; }
|
||||
div.facebook .pp_nav .pp_play { background: url(../images/prettyPhoto/facebook/sprite.png) -1px -123px no-repeat; height: 22px; width: 22px; }
|
||||
div.facebook .pp_nav .pp_pause { background: url(../images/prettyPhoto/facebook/sprite.png) -32px -123px no-repeat; height: 22px; width: 22px; }
|
||||
div.facebook .pp_nav .pp_play { background: url(../images/prettyphoto/facebook/sprite.png) -1px -123px no-repeat; height: 22px; width: 22px; }
|
||||
div.facebook .pp_nav .pp_pause { background: url(../images/prettyphoto/facebook/sprite.png) -32px -123px no-repeat; height: 22px; width: 22px; }
|
||||
|
||||
div.facebook .pp_next:hover { background: url(../images/prettyPhoto/facebook/btnNext.png) center right no-repeat; cursor: pointer; } /* Next button */
|
||||
div.facebook .pp_previous:hover { background: url(../images/prettyPhoto/facebook/btnPrevious.png) center left no-repeat; cursor: pointer; } /* Previous button */
|
||||
div.facebook .pp_next:hover { background: url(../images/prettyphoto/facebook/btnNext.png) center right no-repeat; cursor: pointer; } /* Next button */
|
||||
div.facebook .pp_previous:hover { background: url(../images/prettyphoto/facebook/btnPrevious.png) center left no-repeat; cursor: pointer; } /* Previous button */
|
||||
|
||||
div.facebook .pp_bottom .pp_left { background: url(../images/prettyPhoto/facebook/sprite.png) -88px -80px no-repeat; } /* Bottom left corner */
|
||||
div.facebook .pp_bottom .pp_middle { background: url(../images/prettyPhoto/facebook/contentPatternBottom.png) top left repeat-x; } /* Bottom pattern/color */
|
||||
div.facebook .pp_bottom .pp_right { background: url(../images/prettyPhoto/facebook/sprite.png) -110px -80px no-repeat; } /* Bottom right corner */
|
||||
div.facebook .pp_bottom .pp_left { background: url(../images/prettyphoto/facebook/sprite.png) -88px -80px no-repeat; } /* Bottom left corner */
|
||||
div.facebook .pp_bottom .pp_middle { background: url(../images/prettyphoto/facebook/contentPatternBottom.png) top left repeat-x; } /* Bottom pattern/color */
|
||||
div.facebook .pp_bottom .pp_right { background: url(../images/prettyphoto/facebook/sprite.png) -110px -80px no-repeat; } /* Bottom right corner */
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------
|
||||
|
@ -413,7 +413,7 @@
|
|||
}
|
||||
|
||||
.pp_gallery li.default a {
|
||||
background: url(../images/prettyPhoto/facebook/default_thumbnail.gif) 0 0 no-repeat;
|
||||
background: url(../images/prettyphoto/facebook/default_thumbnail.gif) 0 0 no-repeat;
|
||||
display: block;
|
||||
height: 33px;
|
||||
width: 50px;
|
||||
|
@ -427,7 +427,7 @@
|
|||
}
|
||||
|
||||
a.pp_next {
|
||||
background: url(../images/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;
|
||||
background: url(../images/prettyphoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;
|
||||
display: block;
|
||||
float: right;
|
||||
height: 100%;
|
||||
|
@ -436,7 +436,7 @@
|
|||
}
|
||||
|
||||
a.pp_previous {
|
||||
background: url(../images/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;
|
||||
background: url(../images/prettyphoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;
|
||||
display: block;
|
||||
float: left;
|
||||
height: 100%;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{include file='navs/nav.blog_edit.tpl'}
|
||||
{/if}
|
||||
|
||||
{include file='editor.tpl' sSettingsTinymce='ls.settings.getTinymceComment()' sSettingsMarkitup='ls.settings.getMarkitupComment()'}
|
||||
{include file='editor.tpl' sEditorType='comment'}
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function($){
|
||||
|
@ -52,7 +52,7 @@
|
|||
|
||||
|
||||
<p><label for="blog_description">{$aLang.blog_create_description}:</label>
|
||||
<textarea name="blog_description" id="blog_description" rows="15" class="input-text input-width-full mce-editor markitup-editor input-width-full">{$_aRequest.blog_description}</textarea>
|
||||
<textarea name="blog_description" id="blog_description" rows="15" class="input-text input-width-full js-editor input-width-full">{$_aRequest.blog_description}</textarea>
|
||||
<small class="note">{$aLang.blog_create_description_notice}</small></p>
|
||||
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
|
||||
<p><label for="topic_text">{$aLang.topic_link_create_text}:</label>
|
||||
<textarea name="topic_text" id="topic_text" rows="10" class="input-width-full mce-editor markitup-editor input-width-full">{$_aRequest.topic_text}</textarea></p>
|
||||
<textarea name="topic_text" id="topic_text" rows="10" class="input-width-full js-editor input-width-full">{$_aRequest.topic_text}</textarea></p>
|
||||
|
||||
|
||||
<p><label for="topic_tags">{$aLang.topic_create_tags}:</label>
|
||||
|
|
|
@ -55,12 +55,11 @@
|
|||
<small class="note">{$aLang.topic_create_title_notice}</small></p>
|
||||
|
||||
|
||||
<p><label for="topic_text">{$aLang.topic_create_text}:</label>
|
||||
<textarea name="topic_text" class="mce-editor markitup-editor input-width-full" id="topic_text" rows="20">{$_aRequest.topic_text}</textarea>
|
||||
{if !$oConfig->GetValue('view.tinymce')}
|
||||
<label for="topic_text">{$aLang.topic_create_text}:</label>
|
||||
<textarea name="topic_text" class="js-editor input-width-full" id="topic_text" rows="20">{$_aRequest.topic_text}</textarea>
|
||||
{if !$oConfig->GetValue('view.wysiwyg')}
|
||||
{include file='tags_help.tpl' sTagsTargetId="topic_text"}
|
||||
{/if}
|
||||
</p>
|
||||
|
||||
|
||||
<div class="photoset-upload">
|
||||
|
|
|
@ -58,12 +58,11 @@
|
|||
</div>
|
||||
|
||||
|
||||
<p><label for="topic_text">{$aLang.topic_question_create_text}:</label>
|
||||
<textarea name="topic_text" id="topic_text" rows="10" class="input-width-full mce-editor markitup-editor input-width-full">{$_aRequest.topic_text}</textarea>
|
||||
{if !$oConfig->GetValue('view.tinymce')}
|
||||
<label for="topic_text">{$aLang.topic_question_create_text}:</label>
|
||||
<textarea name="topic_text" id="topic_text" rows="10" class="input-width-full js-editor input-width-full">{$_aRequest.topic_text}</textarea>
|
||||
{if !$oConfig->GetValue('view.wysiwyg')}
|
||||
{include file='tags_help.tpl' sTagsTargetId="topic_text"}
|
||||
{/if}
|
||||
</p>
|
||||
|
||||
|
||||
<p><label for="topic_tags">{$aLang.topic_create_tags}:</label>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<div class="content" id="text_preview"></div>
|
||||
</div>
|
||||
|
||||
{include file='editor.tpl' sSettingsTinymce='ls.settings.getTinymceComment()' sSettingsMarkitup='ls.settings.getMarkitupComment()'}
|
||||
{include file='editor.tpl' sEditorType='comment'}
|
||||
|
||||
<form action="" method="POST" enctype="multipart/form-data">
|
||||
{hook run='form_add_talk_begin'}
|
||||
|
@ -26,7 +26,7 @@
|
|||
<input type="text" class="input-text input-width-full" id="talk_title" name="talk_title" value="{$_aRequest.talk_title}" /></p>
|
||||
|
||||
<p><label for="talk_text">{$aLang.talk_create_text}:</label>
|
||||
<textarea name="talk_text" id="talk_text" rows="12" class="input-text input-width-full mce-editor markitup-editor input-width-full">{$_aRequest.talk_text}</textarea></p>
|
||||
<textarea name="talk_text" id="talk_text" rows="12" class="input-text input-width-full js-editor input-width-full">{$_aRequest.talk_text}</textarea></p>
|
||||
|
||||
{hook run='form_add_talk_end'}
|
||||
|
||||
|
|
|
@ -42,12 +42,10 @@
|
|||
|
||||
|
||||
<label for="topic_text">{$aLang.topic_create_text}:</label>
|
||||
<textarea name="topic_text" id="topic_text" rows="20" class="mce-editor markitup-editor input-width-full">{$_aRequest.topic_text}</textarea>
|
||||
<textarea name="topic_text" id="topic_text" rows="20" class="js-editor input-width-full">{$_aRequest.topic_text}</textarea>
|
||||
|
||||
{if !$oConfig->GetValue('view.tinymce')}
|
||||
{if ! $oConfig->GetValue('view.wysiwyg')}
|
||||
{include file='tags_help.tpl' sTagsTargetId="topic_text"}
|
||||
<br />
|
||||
<br />
|
||||
{/if}
|
||||
|
||||
<p><label for="topic_tags">{$aLang.topic_create_tags}:</label>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*}
|
||||
|
||||
{extends file='blocks/block.aside.base.tpl'}
|
||||
|
||||
{block name='block_title'}{$aLang.stream_block_config_title}{/block}
|
||||
{block name='block_type'}activity{/block}
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
{$sNoticeNotAllow}
|
||||
{else}
|
||||
{if $oUserCurrent}
|
||||
{include file='editor.tpl' sSettingsTinymce='ls.settings.getTinymceComment()' sSettingsMarkitup='ls.settings.getMarkitupComment()'}
|
||||
{include file='editor.tpl' sEditorType='comment'}
|
||||
|
||||
<h4 class="reply-header" id="comment_id_0">
|
||||
<a href="#" class="link-dotted" onclick="ls.comments.toggleCommentForm(0); return false;">{$sNoticeCommentAdd}</a>
|
||||
|
@ -65,7 +65,7 @@
|
|||
<form method="post" id="form_comment" onsubmit="return false;" enctype="multipart/form-data">
|
||||
{hook run='form_add_comment_begin'}
|
||||
|
||||
<textarea name="comment_text" id="form_comment_text" class="mce-editor markitup-editor input-width-full"></textarea>
|
||||
<textarea name="comment_text" id="form_comment_text" class="js-editor input-width-full"></textarea>
|
||||
|
||||
{hook run='form_add_comment_end'}
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
.reply-header { font-size: 20px; line-height: 1.3em; margin-bottom: 15px; }
|
||||
|
||||
.reply { padding-bottom: 10px; }
|
||||
.reply textarea { height: 100px; }
|
||||
.reply textarea { height: 150px; }
|
||||
.reply textarea.loader { background: #f7f7f7 url(../images/loader.gif) no-repeat center; }
|
||||
|
||||
.reply .mceEditor { display: block; margin-bottom: 10px; }
|
|
@ -1,25 +1,65 @@
|
|||
{if $oConfig->GetValue('view.tinymce')}
|
||||
{if !$sSettingsTinymce}
|
||||
{assign var="sSettingsTinymce" value="ls.settings.getTinymce()"}
|
||||
{/if}
|
||||
{**
|
||||
* Инициализация редактора
|
||||
*
|
||||
* sEditorType - тип
|
||||
* sEditorSelector - селектор textarea с редактором
|
||||
*
|
||||
* Настройки редакторов храняться в файле templates/framework/js/core/settings.js
|
||||
*
|
||||
* TODO: Исправить повторное подключение скрипта
|
||||
* TODO: Локализация TinyMCE
|
||||
*}
|
||||
|
||||
<script src="{cfg name='path.static.framework'}/js/vendor/tinymce/tiny_mce.js"></script>
|
||||
<script type="text/javascript">
|
||||
jQuery(function($){
|
||||
tinyMCE.init({$sSettingsTinymce});
|
||||
});
|
||||
</script>
|
||||
{* Дефолтный тип редактора *}
|
||||
{if ! $sEditorType}
|
||||
{$sEditorType = 'default'}
|
||||
{/if}
|
||||
|
||||
{* Дефолтный селектор редактора *}
|
||||
{if ! $sEditorSelector}
|
||||
{$sEditorSelector = 'js-editor'}
|
||||
{/if}
|
||||
|
||||
{* Инициализация *}
|
||||
{if $oConfig->GetValue('view.wysiwyg')}
|
||||
{* WYSIWYG редактор *}
|
||||
|
||||
{hookb run='editor_init_wysiwyg'}
|
||||
{if $sEditorType == 'comment'}
|
||||
{$sSettings = 'getTinymceComment()'}
|
||||
{else}
|
||||
{$sSettings = 'getTinymce()'}
|
||||
{/if}
|
||||
|
||||
<script src="{cfg name='path.static.framework'}/js/vendor/tinymce/tiny_mce.js"></script>
|
||||
|
||||
<script>
|
||||
jQuery(function($) {
|
||||
tinyMCE.init($.extend({ }, ls.settings.{$sSettings}, {
|
||||
editor_selector : '{$sEditorSelector}',
|
||||
language : {if $oConfig->GetValue('lang.current') == 'russian'}'ru'{else}'en'{/if}
|
||||
}));
|
||||
});
|
||||
</script>
|
||||
{/hookb}
|
||||
{else}
|
||||
{include file='modals/modal.load_img.tpl'}
|
||||
{* Markup редактор *}
|
||||
|
||||
{if !$sSettingsMarkitup}
|
||||
{assign var="sSettingsMarkitup" value="ls.settings.getMarkitup()"}
|
||||
{/if}
|
||||
<script type="text/javascript">
|
||||
jQuery(function($){
|
||||
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
|
||||
// Подключаем редактор
|
||||
$('.markitup-editor').markItUp({$sSettingsMarkitup});
|
||||
});
|
||||
</script>
|
||||
{hookb run='editor_init_markup'}
|
||||
{include file='modals/modal.upload_image.tpl'}
|
||||
|
||||
{if $sEditorType == 'comment'}
|
||||
{$sSettings = 'getMarkitupComment()'}
|
||||
{else}
|
||||
{$sSettings = 'getMarkitup()'}
|
||||
{/if}
|
||||
|
||||
<script>
|
||||
jQuery(function($) {
|
||||
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
|
||||
|
||||
$('.{$sEditorSelector}').markItUp(ls.settings.{$sSettings});
|
||||
});
|
||||
</script>
|
||||
{/hookb}
|
||||
{/if}
|
|
@ -16,11 +16,18 @@
|
|||
<meta name="description" content="{$sHtmlDescription}">
|
||||
<meta name="keywords" content="{$sHtmlKeywords}">
|
||||
|
||||
{**
|
||||
* Стили
|
||||
* CSS файлы подключаются в конфиге шаблона (your_skin/settings/config.php)
|
||||
*}
|
||||
{$aHtmlHeadFiles.css}
|
||||
|
||||
<link href="{cfg name='path.static.skin'}/images/favicon.ico?v1" rel="shortcut icon" />
|
||||
<link rel="search" type="application/opensearchdescription+xml" href="{router page='search'}opensearch/" title="{cfg name='view.name'}" />
|
||||
|
||||
{**
|
||||
* RSS
|
||||
*}
|
||||
{if $aHtmlRssAlternate}
|
||||
<link rel="alternate" type="application/rss+xml" href="{$aHtmlRssAlternate.url}" title="{$aHtmlRssAlternate.title}">
|
||||
{/if}
|
||||
|
@ -34,36 +41,33 @@
|
|||
{/if}
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
var DIR_WEB_ROOT = '{cfg name="path.root.web"}',
|
||||
DIR_STATIC_SKIN = '{cfg name="path.static.skin"}',
|
||||
DIR_STATIC_FRAMEWORK = '{cfg name="path.static.framework"}',
|
||||
DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}',
|
||||
DIR_STATIC_FRAMEWORK = '{cfg name="path.static.framework"}',
|
||||
LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}',
|
||||
SESSION_ID = '{$_sPhpSessionId}',
|
||||
BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
|
||||
LANGUAGE = '{$oConfig->GetValue('lang.current')}',
|
||||
WYSIWIG = {if $oConfig->GetValue('view.wysiwyg')}true{else}false{/if};
|
||||
|
||||
var TINYMCE_LANG = 'en';
|
||||
{if $oConfig->GetValue('lang.current') == 'russian'}
|
||||
TINYMCE_LANG = 'ru';
|
||||
{/if}
|
||||
|
||||
var aRouter = new Array();
|
||||
var aRouter = [];
|
||||
{foreach from=$aRouter key=sPage item=sPath}
|
||||
aRouter['{$sPage}'] = '{$sPath}';
|
||||
{/foreach}
|
||||
</script>
|
||||
|
||||
|
||||
{**
|
||||
* JavaScript файлы
|
||||
* JS файлы подключаются в конфиге шаблона (your_skin/settings/config.php)
|
||||
*}
|
||||
{$aHtmlHeadFiles.js}
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
var tinyMCE = false;
|
||||
<script>
|
||||
ls.lang.load({json var = $aLangJs});
|
||||
ls.lang.load({lang_load name="blog"});
|
||||
ls.registry.set('comment_max_tree',{json var=$oConfig->Get('module.comment.max_tree')});
|
||||
ls.registry.set('block_stream_show_tip',{json var=$oConfig->Get('block.stream.show_tip')});
|
||||
|
||||
ls.registry.set('comment_max_tree', {json var=$oConfig->Get('module.comment.max_tree')});
|
||||
ls.registry.set('block_stream_show_tip', {json var=$oConfig->Get('block.stream.show_tip')});
|
||||
</script>
|
||||
|
||||
|
||||
|
@ -76,9 +80,7 @@
|
|||
</style>
|
||||
{else}
|
||||
<style>
|
||||
#container {
|
||||
width: {cfg name='view.grid.fixed_width'}px;
|
||||
}
|
||||
#container { width: {cfg name='view.grid.fixed_width'}px; }
|
||||
</style>
|
||||
{/if}
|
||||
|
||||
|
@ -87,7 +89,9 @@
|
|||
</head>
|
||||
|
||||
|
||||
|
||||
{**
|
||||
* Вспомогательные классы
|
||||
*}
|
||||
{if $oUserCurrent}
|
||||
{assign var=body_classes value=$body_classes|cat:' ls-user-role-user'}
|
||||
|
||||
|
@ -105,12 +109,13 @@
|
|||
{assign var=body_classes value=$body_classes|cat:' ls-template-'|cat:{cfg name="view.skin"}}
|
||||
|
||||
|
||||
{**
|
||||
* Добавление кнопок в тулбар
|
||||
*}
|
||||
{add_block group='toolbar' name='toolbar_admin.tpl' priority=100}
|
||||
{add_block group='toolbar' name='toolbar_scrollup.tpl' priority=-100}
|
||||
|
||||
|
||||
|
||||
|
||||
<body class="{$body_classes} width-{cfg name='view.grid.type'}">
|
||||
{hook run='body_begin'}
|
||||
|
||||
|
|
|
@ -1,88 +1,91 @@
|
|||
<script type="text/javascript">
|
||||
ls.registry.set('tags-help-target-id','{$sTagsTargetId}');
|
||||
</script>
|
||||
<a href="#" class="link-dotted help-link" onclick="jQuery('#tags-help').toggle(); return false;">{$aLang.tags_help_link_show}</a>
|
||||
|
||||
<dl class="help clearfix" id="tags-help">
|
||||
<dt class="help-col help-wide">
|
||||
<h3>{$aLang.tags_help_special}</h3>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><cut></a></h4>
|
||||
{$aLang.tags_help_special_cut}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><cut name="{$aLang.tags_help_special_cut_name_example_name}"></a></h4>
|
||||
{$aLang.tags_help_special_cut_name}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link" data-insert="<video></video>"><video>http://...</video></a></h4>
|
||||
{$aLang.tags_help_special_video}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link" data-insert="<ls user="" />"><ls user="{$aLang.tags_help_special_ls_user_example_user}" /></a></h4>
|
||||
{$aLang.tags_help_special_ls_user}
|
||||
</div>
|
||||
</dt>
|
||||
<dt class="help-col help-wide" style="margin-top: 20px;">
|
||||
<h3>{$aLang.tags_help_standart}</h3>
|
||||
</dt>
|
||||
<dt class="help-col help-left">
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><h4></h4></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><h5></h5></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><h6></h6></a></h4>
|
||||
{$aLang.tags_help_standart_h}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><img src="" /></a></h4>
|
||||
{$aLang.tags_help_standart_img}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link" data-insert="<a href=""></a>"><a href="http://...">{$aLang.tags_help_standart_a_example_href}</a></a></h4>
|
||||
{$aLang.tags_help_standart_a}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><b></b></a></h4>
|
||||
{$aLang.tags_help_standart_b}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><i></i></a></h4>
|
||||
{$aLang.tags_help_standart_i}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><s></s></a></h4>
|
||||
{$aLang.tags_help_standart_s}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><u></u></a></h4>
|
||||
{$aLang.tags_help_standart_u}
|
||||
</div>
|
||||
</dt>
|
||||
<dd class="help-col help-right">
|
||||
<div class="mb-20">
|
||||
<a href="#" class="link-dotted help-link" onclick="jQuery('#tags-help').toggle(); return false;">{$aLang.tags_help_link_show}</a>
|
||||
|
||||
<dl class="help clearfix" id="tags-help">
|
||||
<dt class="help-col help-wide">
|
||||
<h3>{$aLang.tags_help_special}</h3>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><hr /></a></h4>
|
||||
{$aLang.tags_help_standart_hr}
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><cut></a></h4>
|
||||
{$aLang.tags_help_special_cut}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><blockquote></blockquote></a></h4>
|
||||
{$aLang.tags_help_standart_blockquote}
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><cut name="{$aLang.tags_help_special_cut_name_example_name}"></a></h4>
|
||||
{$aLang.tags_help_special_cut_name}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><table></table></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><th></th></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><td></td></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><tr></tr></a></h4>
|
||||
{$aLang.tags_help_standart_table}
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link" data-insert="<video></video>"><video>http://...</video></a></h4>
|
||||
{$aLang.tags_help_special_video}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><ul></ul></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><li></li></a></h4>
|
||||
{$aLang.tags_help_standart_ul}
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link" data-insert="<ls user="" />"><ls user="{$aLang.tags_help_special_ls_user_example_user}" /></a></h4>
|
||||
{$aLang.tags_help_special_ls_user}
|
||||
</div>
|
||||
</dt>
|
||||
<dt class="help-col help-wide" style="margin-top: 20px;">
|
||||
<h3>{$aLang.tags_help_standart}</h3>
|
||||
</dt>
|
||||
<dt class="help-col help-left">
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><h4></h4></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><h5></h5></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><h6></h6></a></h4>
|
||||
{$aLang.tags_help_standart_h}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><ol></ol></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><li></li></a></h4>
|
||||
{$aLang.tags_help_standart_ol}
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><img src="" /></a></h4>
|
||||
{$aLang.tags_help_standart_img}
|
||||
</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link" data-insert="<a href=""></a>"><a href="http://...">{$aLang.tags_help_standart_a_example_href}</a></a></h4>
|
||||
{$aLang.tags_help_standart_a}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><b></b></a></h4>
|
||||
{$aLang.tags_help_standart_b}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><i></i></a></h4>
|
||||
{$aLang.tags_help_standart_i}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><s></s></a></h4>
|
||||
{$aLang.tags_help_standart_s}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><u></u></a></h4>
|
||||
{$aLang.tags_help_standart_u}
|
||||
</div>
|
||||
</dt>
|
||||
<dd class="help-col help-right">
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><hr /></a></h4>
|
||||
{$aLang.tags_help_standart_hr}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><blockquote></blockquote></a></h4>
|
||||
{$aLang.tags_help_standart_blockquote}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><table></table></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><th></th></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><td></td></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><tr></tr></a></h4>
|
||||
{$aLang.tags_help_standart_table}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><ul></ul></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><li></li></a></h4>
|
||||
{$aLang.tags_help_standart_ul}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><ol></ol></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><li></li></a></h4>
|
||||
{$aLang.tags_help_standart_ol}
|
||||
</div>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
|
@ -6,7 +6,7 @@
|
|||
{/if}
|
||||
|
||||
|
||||
{include file='editor.tpl' sSettingsTinymce='ls.settings.getTinymceComment()' sSettingsMarkitup='ls.settings.getMarkitupComment()'}
|
||||
{include file='editor.tpl' sEditorType='comment'}
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function($){
|
||||
|
@ -53,7 +53,7 @@
|
|||
|
||||
|
||||
<p><label for="blog_description">{$aLang.blog_create_description}:</label>
|
||||
<textarea name="blog_description" id="blog_description" rows="15" class="input-text input-width-full mce-editor markitup-editor input-width-full">{$_aRequest.blog_description}</textarea>
|
||||
<textarea name="blog_description" id="blog_description" rows="15" class="input-text input-width-full js-editor input-width-full">{$_aRequest.blog_description}</textarea>
|
||||
<small class="note">{$aLang.blog_create_description_notice}</small></p>
|
||||
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
|
||||
<label for="topic_text">{$aLang.topic_link_create_text}:</label>
|
||||
<textarea name="topic_text" id="topic_text" rows="10" class="input-text input-width-full mce-editor markitup-editor input-width-full">{$_aRequest.topic_text}</textarea>
|
||||
<textarea name="topic_text" id="topic_text" rows="10" class="input-text input-width-full js-editor input-width-full">{$_aRequest.topic_text}</textarea>
|
||||
|
||||
|
||||
<p><label for="topic_tags">{$aLang.topic_create_tags}:</label>
|
||||
|
|
|
@ -54,8 +54,8 @@
|
|||
|
||||
|
||||
<p><label for="topic_text">{$aLang.topic_create_text}:</label>
|
||||
<textarea name="topic_text" class="mce-editor markitup-editor input-width-full" id="topic_text" rows="20">{$_aRequest.topic_text}</textarea>
|
||||
{if !$oConfig->GetValue('view.tinymce')}
|
||||
<textarea name="topic_text" class="js-editor input-width-full" id="topic_text" rows="20">{$_aRequest.topic_text}</textarea>
|
||||
{if !$oConfig->GetValue('view.wysiwyg')}
|
||||
{include file='tags_help.tpl' sTagsTargetId="topic_text"}
|
||||
{/if}
|
||||
</p>
|
||||
|
|
|
@ -59,12 +59,11 @@
|
|||
</div>
|
||||
|
||||
|
||||
<p><label for="topic_text">{$aLang.topic_question_create_text}:</label>
|
||||
<textarea name="topic_text" id="topic_text" rows="10" class="input-width-full mce-editor markitup-editor input-width-full">{$_aRequest.topic_text}</textarea>
|
||||
{if !$oConfig->GetValue('view.tinymce')}
|
||||
<label for="topic_text">{$aLang.topic_question_create_text}:</label>
|
||||
<textarea name="topic_text" id="topic_text" rows="10" class="input-width-full js-editor input-width-full">{$_aRequest.topic_text}</textarea>
|
||||
{if !$oConfig->GetValue('view.wysiwyg')}
|
||||
{include file='tags_help.tpl' sTagsTargetId="topic_text"}
|
||||
{/if}
|
||||
</p>
|
||||
|
||||
<p><label for="topic_tags">{$aLang.topic_create_tags}:</label>
|
||||
<input type="text" id="topic_tags" name="topic_tags" value="{$_aRequest.topic_tags}" class="input-text input-width-full autocomplete-tags-sep" />
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<div class="content" id="text_preview"></div>
|
||||
</div>
|
||||
|
||||
{include file='editor.tpl' sSettingsTinymce='ls.settings.getTinymceComment()' sSettingsMarkitup='ls.settings.getMarkitupComment()'}
|
||||
{include file='editor.tpl' sEditorType='comment'}
|
||||
|
||||
<form action="" method="POST" enctype="multipart/form-data">
|
||||
{hook run='form_add_talk_begin'}
|
||||
|
@ -26,7 +26,7 @@
|
|||
<input type="text" class="input-text input-width-full" id="talk_title" name="talk_title" value="{$_aRequest.talk_title}" /></p>
|
||||
|
||||
<p><label for="talk_text">{$aLang.talk_create_text}:</label>
|
||||
<textarea name="talk_text" id="talk_text" rows="12" class="input-text input-width-full mce-editor markitup-editor input-width-full">{$_aRequest.talk_text}</textarea></p>
|
||||
<textarea name="talk_text" id="talk_text" rows="12" class="input-text input-width-full js-editor input-width-full">{$_aRequest.talk_text}</textarea></p>
|
||||
|
||||
{hook run='form_add_talk_end'}
|
||||
|
||||
|
|
|
@ -42,12 +42,10 @@
|
|||
|
||||
|
||||
<label for="topic_text">{$aLang.topic_create_text}:</label>
|
||||
<textarea name="topic_text" id="topic_text" class="mce-editor markitup-editor input-width-full" rows="20">{$_aRequest.topic_text}</textarea>
|
||||
<textarea name="topic_text" id="topic_text" class="js-editor input-width-full" rows="20">{$_aRequest.topic_text}</textarea>
|
||||
|
||||
{if !$oConfig->GetValue('view.tinymce')}
|
||||
{if !$oConfig->GetValue('view.wysiwyg')}
|
||||
{include file='tags_help.tpl' sTagsTargetId="topic_text"}
|
||||
<br />
|
||||
<br />
|
||||
{/if}
|
||||
|
||||
<p><label for="topic_tags">{$aLang.topic_create_tags}:</label>
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
{else}
|
||||
{if $oUserCurrent}
|
||||
|
||||
{include file='editor.tpl' sSettingsTinymce='ls.settings.getTinymceComment()' sSettingsMarkitup='ls.settings.getMarkitupComment()'}
|
||||
{include file='editor.tpl' sEditorType='comment'}
|
||||
|
||||
<h4 class="reply-header" id="comment_id_0">
|
||||
<a href="#" class="link-dotted" onclick="ls.comments.toggleCommentForm(0); return false;">{$sNoticeCommentAdd}</a>
|
||||
|
@ -67,7 +67,7 @@
|
|||
<form method="post" id="form_comment" onsubmit="return false;" enctype="multipart/form-data">
|
||||
{hook run='form_add_comment_begin'}
|
||||
|
||||
<textarea name="comment_text" id="form_comment_text" class="mce-editor markitup-editor input-width-full"></textarea>
|
||||
<textarea name="comment_text" id="form_comment_text" class="js-editor input-width-full"></textarea>
|
||||
|
||||
{hook run='form_add_comment_end'}
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
.reply-header { font-size: 20px; line-height: 1.3em; margin-bottom: 15px; }
|
||||
|
||||
.reply { background: #f8fbfe; padding: 15px; border-radius: 5px; }
|
||||
.reply textarea { height: 100px; }
|
||||
.reply textarea { height: 150px; }
|
||||
.reply textarea.loader { background: #f7f7f7 url(../images/loader.gif) no-repeat center;}
|
||||
|
||||
.reply .mceEditor { display: block; margin-bottom: 10px; }
|
||||
|
|
|
@ -1,25 +1,65 @@
|
|||
{if $oConfig->GetValue('view.tinymce')}
|
||||
{if !$sSettingsTinymce}
|
||||
{assign var="sSettingsTinymce" value="ls.settings.getTinymce()"}
|
||||
{/if}
|
||||
{**
|
||||
* Инициализация редактора
|
||||
*
|
||||
* sEditorType - тип
|
||||
* sEditorSelector - селектор textarea с редактором
|
||||
*
|
||||
* Настройки редакторов храняться в файле templates/framework/js/core/settings.js
|
||||
*
|
||||
* TODO: Исправить повторное подключение скрипта
|
||||
* TODO: Локализация TinyMCE
|
||||
*}
|
||||
|
||||
<script src="{cfg name='path.static.framework'}/js/vendor/tinymce/tiny_mce.js"></script>
|
||||
<script type="text/javascript">
|
||||
jQuery(function($){
|
||||
tinyMCE.init({$sSettingsTinymce});
|
||||
});
|
||||
</script>
|
||||
{* Дефолтный тип редактора *}
|
||||
{if ! $sEditorType}
|
||||
{$sEditorType = 'default'}
|
||||
{/if}
|
||||
|
||||
{* Дефолтный селектор редактора *}
|
||||
{if ! $sEditorSelector}
|
||||
{$sEditorSelector = 'js-editor'}
|
||||
{/if}
|
||||
|
||||
{* Инициализация *}
|
||||
{if $oConfig->GetValue('view.wysiwyg')}
|
||||
{* WYSIWYG редактор *}
|
||||
|
||||
{hookb run='editor_init_wysiwyg'}
|
||||
{if $sEditorType == 'comment'}
|
||||
{$sSettings = 'getTinymceComment()'}
|
||||
{else}
|
||||
{$sSettings = 'getTinymce()'}
|
||||
{/if}
|
||||
|
||||
<script src="{cfg name='path.static.framework'}/js/vendor/tinymce/tiny_mce.js"></script>
|
||||
|
||||
<script>
|
||||
jQuery(function($) {
|
||||
tinyMCE.init($.extend({ }, ls.settings.{$sSettings}, {
|
||||
editor_selector : '{$sEditorSelector}',
|
||||
language : {if $oConfig->GetValue('lang.current') == 'russian'}'ru'{else}'en'{/if}
|
||||
}));
|
||||
});
|
||||
</script>
|
||||
{/hookb}
|
||||
{else}
|
||||
{include file='modals/modal.load_img.tpl'}
|
||||
{* Markup редактор *}
|
||||
|
||||
{if !$sSettingsMarkitup}
|
||||
{assign var="sSettingsMarkitup" value="ls.settings.getMarkitup()"}
|
||||
{/if}
|
||||
<script type="text/javascript">
|
||||
jQuery(function($){
|
||||
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
|
||||
// Подключаем редактор
|
||||
$('.markitup-editor').markItUp({$sSettingsMarkitup});
|
||||
});
|
||||
</script>
|
||||
{hookb run='editor_init_markup'}
|
||||
{include file='modals/modal.upload_image.tpl'}
|
||||
|
||||
{if $sEditorType == 'comment'}
|
||||
{$sSettings = 'getMarkitupComment()'}
|
||||
{else}
|
||||
{$sSettings = 'getMarkitup()'}
|
||||
{/if}
|
||||
|
||||
<script>
|
||||
jQuery(function($) {
|
||||
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
|
||||
|
||||
$('.{$sEditorSelector}').markItUp(ls.settings.{$sSettings});
|
||||
});
|
||||
</script>
|
||||
{/hookb}
|
||||
{/if}
|
|
@ -7,22 +7,27 @@
|
|||
|
||||
<head>
|
||||
{hook run='html_head_begin'}
|
||||
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
|
||||
|
||||
<title>{$sHtmlTitle}</title>
|
||||
|
||||
|
||||
<meta name="description" content="{$sHtmlDescription}">
|
||||
<meta name="keywords" content="{$sHtmlKeywords}">
|
||||
|
||||
{**
|
||||
* Стили
|
||||
* CSS файлы подключаются в конфиге шаблона (your_skin/settings/config.php)
|
||||
*}
|
||||
{$aHtmlHeadFiles.css}
|
||||
|
||||
<link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
|
||||
|
||||
<link href="{cfg name='path.static.skin'}/images/favicon.ico?v1" rel="shortcut icon" />
|
||||
<link rel="search" type="application/opensearchdescription+xml" href="{router page='search'}opensearch/" title="{cfg name='view.name'}" />
|
||||
|
||||
{**
|
||||
* RSS
|
||||
*}
|
||||
{if $aHtmlRssAlternate}
|
||||
<link rel="alternate" type="application/rss+xml" href="{$aHtmlRssAlternate.url}" title="{$aHtmlRssAlternate.title}">
|
||||
{/if}
|
||||
|
@ -34,41 +39,38 @@
|
|||
{if $bRefreshToHome}
|
||||
<meta HTTP-EQUIV="Refresh" CONTENT="3; URL={cfg name='path.root.web'}/">
|
||||
{/if}
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
<script>
|
||||
var DIR_WEB_ROOT = '{cfg name="path.root.web"}',
|
||||
DIR_STATIC_SKIN = '{cfg name="path.static.skin"}',
|
||||
DIR_STATIC_FRAMEWORK = '{cfg name="path.static.framework"}',
|
||||
DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}',
|
||||
LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}',
|
||||
SESSION_ID = '{$_sPhpSessionId}',
|
||||
BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
|
||||
|
||||
var TINYMCE_LANG = 'en';
|
||||
{if $oConfig->GetValue('lang.current') == 'russian'}
|
||||
TINYMCE_LANG = 'ru';
|
||||
{/if}
|
||||
LANGUAGE = '{$oConfig->GetValue('lang.current')}',
|
||||
WYSIWIG = {if $oConfig->GetValue('view.wysiwyg')}true{else}false{/if};
|
||||
|
||||
var aRouter = new Array();
|
||||
var aRouter = [];
|
||||
{foreach from=$aRouter key=sPage item=sPath}
|
||||
aRouter['{$sPage}'] = '{$sPath}';
|
||||
{/foreach}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
{**
|
||||
* JavaScript файлы
|
||||
* JS файлы подключаются в конфиге шаблона (your_skin/settings/config.php)
|
||||
*}
|
||||
{$aHtmlHeadFiles.js}
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
var tinyMCE = false;
|
||||
<script>
|
||||
ls.lang.load({json var = $aLangJs});
|
||||
ls.lang.load({lang_load name="blog"});
|
||||
ls.registry.set('comment_max_tree',{json var=$oConfig->Get('module.comment.max_tree')});
|
||||
ls.registry.set('block_stream_show_tip',{json var=$oConfig->Get('block.stream.show_tip')});
|
||||
|
||||
ls.registry.set('comment_max_tree', {json var=$oConfig->Get('module.comment.max_tree')});
|
||||
ls.registry.set('block_stream_show_tip', {json var=$oConfig->Get('block.stream.show_tip')});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
{if {cfg name='view.grid.type'} == 'fluid'}
|
||||
<style>
|
||||
#container {
|
||||
|
@ -78,21 +80,21 @@
|
|||
</style>
|
||||
{else}
|
||||
<style>
|
||||
#container {
|
||||
width: {cfg name='view.grid.fixed_width'}px;
|
||||
}
|
||||
#container { width: {cfg name='view.grid.fixed_width'}px; }
|
||||
</style>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
{hook run='html_head_end'}
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
{**
|
||||
* Вспомогательные классы
|
||||
*}
|
||||
{if $oUserCurrent}
|
||||
{assign var=body_classes value=$body_classes|cat:' ls-user-role-user'}
|
||||
|
||||
|
||||
{if $oUserCurrent->isAdministrator()}
|
||||
{assign var=body_classes value=$body_classes|cat:' ls-user-role-admin'}
|
||||
{/if}
|
||||
|
@ -107,6 +109,9 @@
|
|||
{assign var=body_classes value=$body_classes|cat:' ls-template-'|cat:{cfg name="view.skin"}}
|
||||
|
||||
|
||||
{**
|
||||
* Добавление кнопок в тулбар
|
||||
*}
|
||||
{add_block group='toolbar' name='toolbar_admin.tpl' priority=100}
|
||||
{add_block group='toolbar' name='toolbar_scrollup.tpl' priority=-100}
|
||||
|
||||
|
@ -114,7 +119,6 @@
|
|||
<body class="{$body_classes} width-{cfg name='view.grid.type'}">
|
||||
{hook run='body_begin'}
|
||||
|
||||
|
||||
{if $oUserCurrent}
|
||||
{include file='modals/modal.write.tpl'}
|
||||
{include file='modals/modal.favourite_form_tags.tpl'}
|
||||
|
@ -122,9 +126,6 @@
|
|||
{include file='modals/modal.login.tpl'}
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
<div id="header-back"></div>
|
||||
|
||||
<div id="container" class="{hook run='container_class'}">
|
||||
|
|
|
@ -1,88 +1,91 @@
|
|||
<script type="text/javascript">
|
||||
ls.registry.set('tags-help-target-id','{$sTagsTargetId}');
|
||||
</script>
|
||||
<a href="#" class="link-dotted help-link" onclick="jQuery('#tags-help').toggle(); return false;">{$aLang.tags_help_link_show}</a>
|
||||
|
||||
<dl class="help clearfix" id="tags-help">
|
||||
<dt class="help-col help-wide">
|
||||
<h3>{$aLang.tags_help_special}</h3>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><cut></a></h4>
|
||||
{$aLang.tags_help_special_cut}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><cut name="{$aLang.tags_help_special_cut_name_example_name}"></a></h4>
|
||||
{$aLang.tags_help_special_cut_name}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link" data-insert="<video></video>"><video>http://...</video></a></h4>
|
||||
{$aLang.tags_help_special_video}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link" data-insert="<ls user="" />"><ls user="{$aLang.tags_help_special_ls_user_example_user}" /></a></h4>
|
||||
{$aLang.tags_help_special_ls_user}
|
||||
</div>
|
||||
</dt>
|
||||
<dt class="help-col help-wide" style="margin-top: 20px;">
|
||||
<h3>{$aLang.tags_help_standart}</h3>
|
||||
</dt>
|
||||
<dt class="help-col help-left">
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><h4></h4></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><h5></h5></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><h6></h6></a></h4>
|
||||
{$aLang.tags_help_standart_h}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><img src="" /></a></h4>
|
||||
{$aLang.tags_help_standart_img}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link" data-insert="<a href=""></a>"><a href="http://...">{$aLang.tags_help_standart_a_example_href}</a></a></h4>
|
||||
{$aLang.tags_help_standart_a}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><b></b></a></h4>
|
||||
{$aLang.tags_help_standart_b}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><i></i></a></h4>
|
||||
{$aLang.tags_help_standart_i}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><s></s></a></h4>
|
||||
{$aLang.tags_help_standart_s}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><u></u></a></h4>
|
||||
{$aLang.tags_help_standart_u}
|
||||
</div>
|
||||
</dt>
|
||||
<dd class="help-col help-right">
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><hr /></a></h4>
|
||||
{$aLang.tags_help_standart_hr}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><blockquote></blockquote></a></h4>
|
||||
{$aLang.tags_help_standart_blockquote}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><table></table></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><th></th></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><td></td></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><tr></tr></a></h4>
|
||||
{$aLang.tags_help_standart_table}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><ul></ul></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><li></li></a></h4>
|
||||
{$aLang.tags_help_standart_ul}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><ol></ol></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><li></li></a></h4>
|
||||
{$aLang.tags_help_standart_ol}
|
||||
</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<div class="mb-20">
|
||||
<a href="#" class="link-dotted help-link" onclick="jQuery('#tags-help').toggle(); return false;">{$aLang.tags_help_link_show}</a>
|
||||
|
||||
<dl class="help clearfix" id="tags-help">
|
||||
<dt class="help-col help-wide">
|
||||
<h3>{$aLang.tags_help_special}</h3>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><cut></a></h4>
|
||||
{$aLang.tags_help_special_cut}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><cut name="{$aLang.tags_help_special_cut_name_example_name}"></a></h4>
|
||||
{$aLang.tags_help_special_cut_name}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link" data-insert="<video></video>"><video>http://...</video></a></h4>
|
||||
{$aLang.tags_help_special_video}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link" data-insert="<ls user="" />"><ls user="{$aLang.tags_help_special_ls_user_example_user}" /></a></h4>
|
||||
{$aLang.tags_help_special_ls_user}
|
||||
</div>
|
||||
</dt>
|
||||
<dt class="help-col help-wide" style="margin-top: 20px;">
|
||||
<h3>{$aLang.tags_help_standart}</h3>
|
||||
</dt>
|
||||
<dt class="help-col help-left">
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><h4></h4></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><h5></h5></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><h6></h6></a></h4>
|
||||
{$aLang.tags_help_standart_h}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><img src="" /></a></h4>
|
||||
{$aLang.tags_help_standart_img}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link" data-insert="<a href=""></a>"><a href="http://...">{$aLang.tags_help_standart_a_example_href}</a></a></h4>
|
||||
{$aLang.tags_help_standart_a}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><b></b></a></h4>
|
||||
{$aLang.tags_help_standart_b}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><i></i></a></h4>
|
||||
{$aLang.tags_help_standart_i}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><s></s></a></h4>
|
||||
{$aLang.tags_help_standart_s}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><u></u></a></h4>
|
||||
{$aLang.tags_help_standart_u}
|
||||
</div>
|
||||
</dt>
|
||||
<dd class="help-col help-right">
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><hr /></a></h4>
|
||||
{$aLang.tags_help_standart_hr}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><blockquote></blockquote></a></h4>
|
||||
{$aLang.tags_help_standart_blockquote}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><table></table></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><th></th></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><td></td></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><tr></tr></a></h4>
|
||||
{$aLang.tags_help_standart_table}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><ul></ul></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><li></li></a></h4>
|
||||
{$aLang.tags_help_standart_ul}
|
||||
</div>
|
||||
<div class="help-item">
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><ol></ol></a></h4>
|
||||
<h4><a href="#" class="link-dashed js-tags-help-link"><li></li></a></h4>
|
||||
{$aLang.tags_help_standart_ol}
|
||||
</div>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
Loading…
Reference in a new issue