Moved drag+drop and YahooUI library into templates/default/ to be used in shared installation environments
This commit is contained in:
parent
0fb606a927
commit
264b804182
@ -3,6 +3,9 @@
|
||||
Version 1.2 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Moved drag+drop and YahooUI library into templates/default/ to
|
||||
be used in shared installation environments (garvinhicking)
|
||||
|
||||
* Improve WP importer by only fetching real posts (attachments/static
|
||||
only optional) and splitting a post into extended/normal entry.
|
||||
Thanks to jtb!
|
||||
|
@ -472,7 +472,7 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) {
|
||||
<div><?php echo BELOW_IS_A_LIST_OF_INSTALLED_PLUGINS ?></div>
|
||||
<?php
|
||||
if (!isset($serendipity['eyecandy']) || serendipity_db_bool($serendipity['eyecandy'])) {
|
||||
echo '<script src="bundled-libs/dragdrop.js" type="text/javascript"></script>';
|
||||
echo '<script src="' . serendipity_getTemplateFile('dragdrop.js') . '" type="text/javascript"></script>';
|
||||
echo '<div class="warning js_warning"><em>' . PREFERENCE_USE_JS_WARNING . '</em></div>';
|
||||
}
|
||||
|
||||
|
@ -46,12 +46,12 @@
|
||||
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" src="bundled-libs/dragdrop.js" ></script>
|
||||
<script type="text/javascript" src="bundled-libs/imgedit.js" ></script>
|
||||
<script type="text/javascript" src="{serendipity_getFile file='dragdrop.js'}" ></script>
|
||||
<script type="text/javascript" src="{serendipity_getFile file='imgedit.js'}" ></script>
|
||||
{/if}
|
||||
|
||||
<script type="text/javascript" src="bundled-libs/YahooUI/treeview/YAHOO.js"></script>
|
||||
<script type="text/javascript" src="bundled-libs/YahooUI/treeview/treeview.js" ></script>
|
||||
<script type="text/javascript" src="{serendipity_getFile file='YahooUI/treeview/YAHOO.js'}"></script>
|
||||
<script type="text/javascript" src="{serendipity_getFile file='YahooUI/treeview/treeview.js'}"></script>
|
||||
</head>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
Loading…
x
Reference in New Issue
Block a user