Removed some language=Javscript attributes ... we need to remove all of them!

This commit is contained in:
moodler
2007-01-03 09:09:25 +00:00
parent 8b9e8fc335
commit a09f3b7db6
2 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -576,7 +576,7 @@ if (isset($_GET['help'])) {
<?php /// Exceptionaly, depending of the DB selected, we show some different text
/// from the standard one to show better instructions for each DB
if ($nextstage == DATABASE) {
echo '<script language="JavaScript" type="text/javascript" defer="defer">window.onload=toggledbinfo;</script>';
echo '<script type="text/javascript" defer="defer">window.onload=toggledbinfo;</script>';
echo '<div id="mysql" name="mysql">' . get_string('databasesettingssub_mysql', 'install') . '</div>';
echo '<div id="postgres7" name="postgres7">' . get_string('databasesettingssub_postgres7', 'install') . '</div>';
@@ -1193,7 +1193,7 @@ function css_styles() {
function database_js() {
?>
<script language="JavaScript" type="text/javascript" defer="defer">
<script type="text/javascript" defer="defer">
function toggledbinfo() {
//Calculate selected value
var showid = 'mysql';
+9 -9
View File
@@ -5,25 +5,25 @@
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
}
if(!empty($CFG->aspellpath)) { // Enable global access to spelling feature.
echo '<script language="JavaScript" type="text/javascript" src="'.$CFG->httpswwwroot.'/lib/speller/spellChecker.js"></script>'."\n";
if (!empty($CFG->aspellpath)) { // Enable global access to spelling feature.
echo '<script type="text/javascript" src="'.$CFG->httpswwwroot.'/lib/speller/spellChecker.js"></script>'."\n";
}
if ( !empty($CFG->editorsrc) ) {
if (!empty($CFG->editorsrc) ) {
foreach ( $CFG->editorsrc as $scriptsource ) {
echo '<script language="javascript" type="text/javascript" src="'. $scriptsource .'"></script>'."\n";
echo '<script type="text/javascript" src="'. $scriptsource .'"></script>'."\n";
}
}
?>
<!--<style type="text/css">/*<![CDATA[*/ body{behavior:url(<?php echo $CFG->httpswwwroot ?>/lib/csshover.htc);} /*]]>*/</style>-->
<script language="JavaScript" type="text/javascript" src="<?php echo $CFG->httpswwwroot ?>/lib/javascript-static.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo $CFG->httpswwwroot ?>/lib/javascript-mod.php"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo $CFG->httpswwwroot ?>/lib/overlib.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo $CFG->httpswwwroot ?>/lib/cookies.js"></script>
<script type="text/javascript" src="<?php echo $CFG->httpswwwroot ?>/lib/javascript-static.js"></script>
<script type="text/javascript" src="<?php echo $CFG->httpswwwroot ?>/lib/javascript-mod.php"></script>
<script type="text/javascript" src="<?php echo $CFG->httpswwwroot ?>/lib/overlib.js"></script>
<script type="text/javascript" src="<?php echo $CFG->httpswwwroot ?>/lib/cookies.js"></script>
<script language="JavaScript" type="text/javascript" defer="defer">
<script type="text/javascript" defer="defer">
//<![CDATA[