Remove redundant serendipity_editor.js references.

Since we're now including serendipity_editor.js in the index.tpl,
there's no need to load it in the body in various .tpl files any
longer.
This commit is contained in:
Matthias Mees 2013-05-30 18:01:44 +02:00
parent 9255d01d6d
commit 69e8f8e050
6 changed files with 1 additions and 9 deletions

View File

@ -135,7 +135,6 @@
<input class="standalone" name="SAVE" type="submit" value="{$save}">
</form>
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
{/if}
{if $view}
<h2>{$CONST.CATEGORY_INDEX}:</h2>

View File

@ -10,7 +10,6 @@
var view_full = '{$CONST.VIEW_FULL}';
var view_hide = '{$CONST.HIDE}';
</script>
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
<h2>{$CONST.COMMENTS}</h2>

View File

@ -70,9 +70,6 @@
{/if}
{if $ctype == 'media'}
<div class="clearfix">
{if !$mediajs_output}
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
{/if}
<label for="serendipity[{$postKey}][{$config_item}]">{$cname}
{if $cdesc != ''}<span>{$cdesc}</span>{/if}
</label>

View File

@ -2,7 +2,6 @@
{* jQuery: No *}
<script src="serendipity_define.js.php"></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}

View File

@ -54,8 +54,8 @@
<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="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
{serendipity_hookPlugin hook="backend_header" hookAll="true"}
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
<script>
var media_token_url = '{$media.token_url}';
var media_rename = '{$CONST.ENTER_NEW_NAME}';

View File

@ -3,8 +3,6 @@
{* Customization notes: All classnames and especially DOM IDs should be kept to keep compatibility with JavaScript calls! *}
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
<h2>{$CONST.ADD_MEDIA}</h2>
<div class="image_add_form">{$CONST.ADD_MEDIA_BLAHBLAH}</div>