Script loader from mdawaffe. #2701

git-svn-id: https://develop.svn.wordpress.org/trunk@3788 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-05-22 17:16:05 +00:00
parent 19ead08256
commit 60eeedbcd9
18 changed files with 290 additions and 87 deletions
-12
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.