Script loader from mdawaffe. #2701

git-svn-id: http://svn.automattic.com/wordpress/trunk@3788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2006-05-22 17:16:05 +00:00
parent afc4ec89bd
commit 4d49e98fe4
18 changed files with 290 additions and 87 deletions

View File

@@ -1039,18 +1039,6 @@ function do_all_pings() {
generic_ping();
}
/**
* Places two script links in <head>: one to get tinyMCE (big), one to configure and start it (small)
*/
function tinymce_include() {
$ver = '04162006';
$src1 = get_settings('siteurl') . "/wp-includes/js/tinymce/tiny_mce_gzip.php?ver=$ver";
$src2 = get_settings('siteurl') . "/wp-includes/js/tinymce/tiny_mce_config.php?ver=$ver";
echo "<script type='text/javascript' src='$src1'></script>\n";
echo "<script type='text/javascript' src='$src2'></script>\n";
}
/**
* Places a textarea according to the current user's preferences, filled with $content.
* Also places a script block that enables tabbing between Title and Content.