2017-06-24 00:58:56 +03:00
|
|
|
{assign var=codemirror value="load" scope="global"}
|
|
|
|
<!-- CodeMirror Files -->
|
|
|
|
<link rel="stylesheet" href="{$ABS_PATH}lib/redactor/codemirror/lib/codemirror.css">
|
|
|
|
<link rel="stylesheet" href="{$ABS_PATH}lib/redactor/codemirror/addon/hint/show-hint.css">
|
|
|
|
<link rel="stylesheet" href="{$ABS_PATH}lib/redactor/codemirror/addon/dialog/dialog.css">
|
2017-09-21 09:50:14 +03:00
|
|
|
<link rel="stylesheet" href="{$ABS_PATH}lib/redactor/ckeditor/plugins/codemirror/css/codemirror.min.css">
|
2017-06-24 00:58:56 +03:00
|
|
|
|
|
|
|
{if $smarty.const.CODEMIRROR_THEME != '' && $smarty.const.CODEMIRROR_THEME != 'default'}
|
|
|
|
<link rel="stylesheet" href="{$ABS_PATH}lib/redactor/codemirror/theme/{$smarty.const.CODEMIRROR_THEME}.css">
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/lib/codemirror.js" type="text/javascript"></script>
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/mode/xml/xml.js"></script>
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/mode/javascript/javascript.js"></script>
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/mode/css/css.js"></script>
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/mode/clike/clike.js"></script>
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/mode/php/php.js"></script>
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/mode/smarty/smarty.js"></script>
|
2018-04-19 19:11:58 +03:00
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/mode/smartymixed/smartymixed.js"></script>
|
2017-11-17 12:02:05 +03:00
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/mode/htmlmixed/htmlmixed.js"></script>
|
2017-06-24 00:58:56 +03:00
|
|
|
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/addon/edit/closetag.js"></script>
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/addon/edit/matchbrackets.js"></script>
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/addon/selection/active-line.js"></script>
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/addon/dialog/dialog.js"></script>
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/addon/search/searchcursor.js"></script>
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/addon/search/search.js"></script>
|
|
|
|
|
|
|
|
<script src="{$ABS_PATH}lib/redactor/codemirror/functions.js"></script>
|
2017-11-17 12:02:05 +03:00
|
|
|
<!-- / CodeMirror Files -->
|