summaryrefslogtreecommitdiffstats
path: root/lib/ui.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-06-11 05:16:20 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-06-11 05:16:20 +0000
commit689517e332c874ac09bb41398602622a1fc36af8 (patch)
treec97a077bd164e594211ed213405eb0cfbbf77b1c /lib/ui.lib.php
parent7327a025db941554501bbbe79c057fa308fb205c (diff)
downloadampache-689517e332c874ac09bb41398602622a1fc36af8.tar.gz
ampache-689517e332c874ac09bb41398602622a1fc36af8.tar.bz2
ampache-689517e332c874ac09bb41398602622a1fc36af8.zip
fixed preferences mostly, also fixed some genre issues and other stuff I am forgetting now
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r--lib/ui.lib.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php
index 1476307a..cbf3bde0 100644
--- a/lib/ui.lib.php
+++ b/lib/ui.lib.php
@@ -627,26 +627,22 @@ function img_resize($image,$size,$type,$album_id) {
/**
* show_genres
* this shows the 'many' genre form, it takes an array of genre objects and the view object
- * @package Genre
- * @catagory Display
*/
function show_genres($genres,$view) {
- require (conf('prefix') . '/templates/show_genres.inc.php');
+ require Config::get('prefix') . '/templates/show_genres.inc.php';
} // show_genres
/**
* show_genre
* this shows a single genre item which is basicly just a link to the albums/artists/songs of said genre
- * @package Genre
- * @catagory Display
*/
function show_genre($genre_id) {
$genre = new Genre($genre_id);
- require (conf('prefix') . '/templates/show_genre.inc.php');
+ require Config::get('prefix') . '/templates/show_genre.inc.php';
} // show_genre