summaryrefslogtreecommitdiffstats
path: root/lib/general.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/general.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/general.lib.php')
-rw-r--r--lib/general.lib.php36
1 files changed, 1 insertions, 35 deletions
diff --git a/lib/general.lib.php b/lib/general.lib.php
index 5eb5a6c1..7fcb86e9 100644
--- a/lib/general.lib.php
+++ b/lib/general.lib.php
@@ -692,41 +692,7 @@ function show_info_box ($title, $type, $items) {
$web_path = conf('web_path');
$popular_threshold = conf('popular_threshold');
-require (conf('prefix') . '/templates/show_box.inc.php');
-return true;
- echo "<table class=\"border\" cellspacing=\"1\" cellpadding=\"3\" width=\"100%\" border=\"0\">";
- echo " <tr class=\"table-header\">";
-
-
- if ($type == 'your_song') {
- echo "<td>$title - <a href=\"$web_path/song.php?action=your_popular_songs&amp;limit=$popular_threshold\">" . _('Play') . "</a></td>\n";
- }
- elseif ($type == 'song') {
- echo "<td>$title - <a href=\"$web_path/song.php?action=popular_songs&amp;limit=$popular_threshold\">" . _('Play') . "</a></td>\n";
- }
- else {
- echo "<td>$title</td>\n";
- }
-
- print <<<ECHO
- </tr>
- <tr class="even">
- <td align="left">
- <ol>
-
-ECHO;
-
- foreach ($items as $item) {
- echo "$item\n";
- }
-
- print <<<ECHO
- </ol>
- </td>
- </tr>
-</table>
-
-ECHO;
+ require (conf('prefix') . '/templates/show_box.inc.php');
} // show_info_box