1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 09:24:25 +03:00
ifhub.club/templates/skin/synio/editor.tpl

25 lines
970 B
Smarty
Raw Normal View History

{if $oConfig->GetValue('view.tinymce')}
{if !$sSettingsTinymce}
{assign var="sSettingsTinymce" value="ls.settings.getTinymce()"}
{/if}
2013-04-12 02:44:52 +03:00
<script src="{cfg name='path.static.framework'}/js/vendor/tinymce/tiny_mce.js"></script>
<script type="text/javascript">
jQuery(function($){
tinyMCE.init({$sSettingsTinymce});
});
</script>
{else}
2013-04-09 01:58:01 +03:00
{include file='modals/modal.load_img.tpl'}
2013-04-09 19:28:32 +03:00
{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>
{/if}