diff options
author | xgizzmo <xgizzmo@ampache> | 2006-10-01 13:37:46 +0000 |
---|---|---|
committer | xgizzmo <xgizzmo@ampache> | 2006-10-01 13:37:46 +0000 |
commit | dbc12ab93ab5d86273d2e7b096b75be2e4b071f0 (patch) | |
tree | 37410cd24e057b85f48ac87fa16076ee84313d52 | |
parent | 9bfe4a4ff82b7fc59289e18100365fcaab8dc9b5 (diff) | |
download | ampache-dbc12ab93ab5d86273d2e7b096b75be2e4b071f0.tar.gz ampache-dbc12ab93ab5d86273d2e7b096b75be2e4b071f0.tar.bz2 ampache-dbc12ab93ab5d86273d2e7b096b75be2e4b071f0.zip |
changed some depreciated use of script language
-rw-r--r-- | lib/class/catalog.class.php | 16 | ||||
-rw-r--r-- | templates/show_rename_artist.inc.php | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index dc87ba50..f7f2f063 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -395,7 +395,7 @@ class Catalog { /* Stupid little cutesie thing */ $this->count++; if ( !($this->count%conf('catalog_echo_count')) AND $verbose) { - echo "<script language=\"JavaScript\">"; + echo "<script type=\"text/javascript\">"; echo "update_txt('" . $this->count . "','count_add_" . $this->id ."');"; echo "</script>\n"; flush(); @@ -488,7 +488,7 @@ class Catalog { /* Stupid little cutesie thing */ $search_count++; if ( !($search_count%conf('catalog_echo_count'))) { - echo "<script language=\"JavaScript\">"; + echo "<script type=\"text/javascript\">"; echo "update_txt('" . $search_count ."','count_art_" . $this->id . "');"; echo "</script>\n"; flush(); @@ -788,7 +788,7 @@ class Catalog { /* Get the songs and then insert them into the db */ $this->add_files($this->path,$type,$parse_m3u); - echo "<script language=\"JavaScript\">"; + echo "<script type=\"text/javascript\">"; echo "update_txt('" . $this->count . "','count_add_" . $this->id ."');"; echo "</script>\n"; flush(); @@ -954,7 +954,7 @@ class Catalog { /* Get the songs and then insert them into the db */ $this->add_files($this->path,$type,0,$verbose); - echo "<script language=\"JavaScript\">"; + echo "<script type=\"text/javascript\">"; echo "update_txt('" . $this->count . "','count_add_" . $this->id ."');"; echo "</script>\n"; flush(); @@ -1209,7 +1209,7 @@ class Catalog { /* Stupid little cutesie thing */ $this->count++; if ( !($this->count%conf('catalog_echo_count')) && $verbose) { - echo "<script language=\"JavaScript\">"; + echo "<script type=\"text/javascript\">"; echo "update_txt('" . $this->count ."','count_clean_" . $this->id . "');"; echo "</script>\n"; flush(); @@ -1260,7 +1260,7 @@ class Catalog { /* Return dead files, so they can be listed */ if ($verbose) { - echo "<script language=\"JavaScript\">"; + echo "<script type=\"text/javascript\">"; echo "update_txt('" . $this->count ."','count_clean_" . $this->id . "');"; echo "</script>\n"; echo "<b>" . _("Catalog Clean Done") . " [" . count($dead_files) . "] " . _("files removed") . "</b><br />\n"; @@ -1663,7 +1663,7 @@ class Catalog { /* Stupid little cutesie thing */ $this->count++; if (!($this->count%conf('catalog_echo_count')) ) { - echo "<script language=\"JavaScript\">"; + echo "<script type=\"text/javascript\">"; echo "update_txt('" . $this->count . "','count_verify_" . $this->id . "');"; echo "</script>\n"; flush(); @@ -1691,7 +1691,7 @@ class Catalog { $this->update_last_update(); if ($verbose) { - echo "<script language=\"JavaScript\">"; + echo "<script type=\"text/javascript\">"; echo "update_txt('" . $this->count . "','count_verify_" . $this->id . "');"; echo "</script>\n"; flush(); diff --git a/templates/show_rename_artist.inc.php b/templates/show_rename_artist.inc.php index 1d9c1130..20acae77 100644 --- a/templates/show_rename_artist.inc.php +++ b/templates/show_rename_artist.inc.php @@ -20,7 +20,7 @@ */ ?> -<script language='javascript'> +<script type='text/javascript'> function insert() { document.getElementById('artist_name').value = '<?php echo $artist->name; ?>'; |