diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-06-10 22:14:37 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-06-10 22:14:37 +0000 |
commit | d7ab14aa674eb8381f57f8f1e0694fa50f2ba7a0 (patch) | |
tree | 73691fe31d66b5b640acf0d8d990cb743417cae9 /lib/class | |
parent | c3e9518ab49817e05033736c6cca7605c0761cab (diff) | |
download | ampache-d7ab14aa674eb8381f57f8f1e0694fa50f2ba7a0.tar.gz ampache-d7ab14aa674eb8381f57f8f1e0694fa50f2ba7a0.tar.bz2 ampache-d7ab14aa674eb8381f57f8f1e0694fa50f2ba7a0.zip |
a few conf references replaced
Diffstat (limited to 'lib/class')
-rw-r--r-- | lib/class/genre.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/class/genre.class.php b/lib/class/genre.class.php index 2886e245..7e311fda 100644 --- a/lib/class/genre.class.php +++ b/lib/class/genre.class.php @@ -60,10 +60,10 @@ class Genre { } // _get_info /** - * format_genre + * format * this reformats the genre object so it's all purdy and creates a link var */ - public function format_genre() { + public function format() { $this->link = "<a href=\"" . Config::get('web_path') . "/genre.php?action=show_genre&genre_id=" . $this->id . "\">" . scrub_out($this->name) . "</a>"; @@ -71,7 +71,7 @@ class Genre { $this->random_link = Config::get('web_path') . '/song.php?action=random_genre&genre=' . $this->id; $this->download_link = Config::get('web_path') . '/batch.php?action=genre&id=' . $this->id; - } // format_genre + } // format /** * get_song_count |