summaryrefslogtreecommitdiffstats
path: root/lib/ui.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-23 23:28:18 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-23 23:28:18 +0000
commit34238a29aade796f30911c567eace0e1518eb470 (patch)
tree4e0125bd53cc2f75f7a0536ea6479ec82e0ac0ce /lib/ui.lib.php
parent1d08ce31caa68f6da292493fa16432163cbbeddd (diff)
downloadampache-34238a29aade796f30911c567eace0e1518eb470.tar.gz
ampache-34238a29aade796f30911c567eace0e1518eb470.tar.bz2
ampache-34238a29aade796f30911c567eace0e1518eb470.zip
to keep infamys eyes from bleeding
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r--lib/ui.lib.php25
1 files changed, 3 insertions, 22 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php
index 3b7d7150..7bca9ed2 100644
--- a/lib/ui.lib.php
+++ b/lib/ui.lib.php
@@ -84,26 +84,6 @@ function clear_now_playing() {
} // clear_now_playing
/**
- * show_tool_box
- * shows the toolbox
- */
-function show_tool_box ($title, $items) {
-
- include(conf('prefix') . "/templates/tool_box.inc");
-
-}// show_tool_box
-
-/**
- * show_box
- * shows a generic box
- */
-function show_box($title,$items) {
-
- include(conf('prefix') . "/templates/show_box.inc");
-
-} // show_box
-
-/**
* show_menu_items
* shows menu items
*/
@@ -229,7 +209,8 @@ function show_alphabet_list ($type,$script="artist.php",$selected="false",$actio
$style_name = "style_" . strtolower($selected);
${$style_name} = "style=\"font-weight:bold;\"";
-
+ unset($title);
+ require (conf('prefix') . '/templates/show_box_top.inc.php');
echo "<div class=\"alphabet\">";
foreach ($list as $l) {
$style_name = "style_" . strtolower($l);
@@ -242,8 +223,8 @@ function show_alphabet_list ($type,$script="artist.php",$selected="false",$actio
} // if we are on the albums page
echo " <a href=\"". conf('web_path') ."/$script?action=$action&amp;match=Show_all\" $style_show_all>" . _("Show all") . "</a>";
-
echo "</div>\n";
+ require (conf('prefix') . '/templates/show_box_bottom.inc.php');
} // show_alphabet_list
/**