diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-06-15 18:24:25 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-06-15 18:24:25 +0000 |
commit | c6c2320170b488f64f1c67de23a35f4ca4de59de (patch) | |
tree | 961626970cbf6c709a15de8f703709cf8f0bf645 /lib | |
parent | 7db599b70d03cc288fcf499bebd9afb2485c930d (diff) | |
download | ampache-c6c2320170b488f64f1c67de23a35f4ca4de59de.tar.gz ampache-c6c2320170b488f64f1c67de23a35f4ca4de59de.tar.bz2 ampache-c6c2320170b488f64f1c67de23a35f4ca4de59de.zip |
few catalog tweaks, removed dead files, added stats link and readme for kajax
Diffstat (limited to 'lib')
-rw-r--r-- | lib/class/catalog.class.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index e4262ddb..9f782d46 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -372,7 +372,7 @@ class Catalog { if (!$file_size) { debug_event('read',"Unable to get filesize for $full_file",'2','ampache-catalog'); - echo "<font class=\"error\">" . _("Error: Unable to get filesize for") . " $full_file <br />"; + echo "<span class=\"error\">" . _("Error: Unable to get filesize for") . " $full_file</span><br />"; } // file_size check if (is_readable($full_file)) { @@ -394,7 +394,7 @@ class Catalog { /* Stupid little cutesie thing */ $this->count++; - if ( !($this->count%conf('catalog_echo_count')) ) { + if ( !($this->count%conf('catalog_echo_count')) AND $verbose) { echo "<script language=\"JavaScript\">"; echo "update_txt('" . $this->count . "','count_add_" . $this->id ."');"; echo "</script>\n"; @@ -487,7 +487,7 @@ class Catalog { /* Stupid little cutesie thing */ $search_count++; - if ( !($search_count%conf('catalog_echo_count')) ) { + if ( !($search_count%conf('catalog_echo_count'))) { echo "<script language=\"JavaScript\">"; echo "update_txt('" . $search_count ."','count_art_" . $this->id . "');"; echo "</script>\n"; @@ -782,7 +782,7 @@ class Catalog { return true; } - echo _('Found') . ": <span id=\"count\">" . _('None') . "</span><br />\n"; + echo _('Found') . ": <span id=\"count_add_" . $this->id . "\">" . _('None') . "</span><br />\n"; flush(); /* Get the songs and then insert them into the db */ |