Use smartified serendipity_editor.js.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
{* jQuery: No *}
|
||||
|
||||
<script src="serendipity_define.js.php"></script>
|
||||
<script src="serendipity_editor.js"></script>
|
||||
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
|
||||
|
||||
<h2>{if $entry_vars.entry.title}{$entry_vars.entry.title|@escape|string_format:"{$CONST.EDIT_THIS_CAT}"}{else}{$CONST.NEW_ENTRY}{/if}</h2>
|
||||
{if $entry_vars.errMsg}
|
||||
|
@ -54,7 +54,7 @@
|
||||
<script src="{serendipity_getFile file='YahooUI/treeview/treeview.js'}"></script>
|
||||
<script src="{serendipity_getFile file='admin/header_spawn.js'}"></script>
|
||||
<script type="text/javascript" src="{$serendipityHTTPPath}serendipity_define.js.php"></script>
|
||||
<script src="{$serendipityHTTPPath}serendipity_editor.js"></script>
|
||||
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
|
||||
{serendipity_hookPlugin hook="backend_header" hookAll="true"}
|
||||
<script>
|
||||
var media_token_url = '{$media.token_url}';
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
{* Customization notes: All classnames and especially DOM IDs should be kept to keep compatibility with JavaScript calls! *}
|
||||
|
||||
<script src="{$serendipityHTTPPath}serendipity_editor.js"></script>
|
||||
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
|
||||
|
||||
<h2>{$CONST.ADD_MEDIA}</h2>
|
||||
|
||||
|
Reference in New Issue
Block a user