Moved drag+drop and YahooUI library into templates/default/ to be used in shared installation environments

This commit is contained in:
Garvin Hicking 2007-01-22 12:11:49 +00:00
parent 0fb606a927
commit 264b804182
8 changed files with 8 additions and 5 deletions

View File

@ -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!

View File

@ -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>';
}

View File

@ -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">