summaryrefslogtreecommitdiffstats
path: root/templates/sidebar_home.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-02 05:20:26 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-02 05:20:26 +0000
commitcf2e2488779f60251d66f375273d9b2583528f64 (patch)
treeaeea65e98b0d7df40a2ed294a53dd254b2e61dd2 /templates/sidebar_home.inc.php
parentf13037cc5466cf09bf1535acfea8809137927591 (diff)
downloadampache-cf2e2488779f60251d66f375273d9b2583528f64.tar.gz
ampache-cf2e2488779f60251d66f375273d9b2583528f64.tar.bz2
ampache-cf2e2488779f60251d66f375273d9b2583528f64.zip
moved search to upper right, removed the playlists from the left menubar, fixed a potential uncaught exception on id3 tags
Diffstat (limited to 'templates/sidebar_home.inc.php')
-rw-r--r--templates/sidebar_home.inc.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/templates/sidebar_home.inc.php b/templates/sidebar_home.inc.php
index 338b5cb2..a79bda37 100644
--- a/templates/sidebar_home.inc.php
+++ b/templates/sidebar_home.inc.php
@@ -5,16 +5,6 @@
<li id="sb_Info_AddStationRadio"><a href="<?php echo $web_path; ?>/radio.php?action=show_create"><?php echo _('Add Radio Station'); ?></a></li>
</ul>
<hr />
-<div id="sb_Subsearch">
- <form name="search" method="post" action="<?php echo $web_path; ?>/search.php" enctype="multipart/form-data" style="Display:inline">
- <input type="text" name="search_string" value="" size="5" />
- <input class="smallbutton" type="submit" value="<?php echo _('Search'); ?>" />
- <input type="hidden" name="action" value="quick_search" />
- <input type="hidden" name="method" value="fuzzy" />
- <input type="hidden" name="object_type" value="song" />
- </form>
-</div>
-<hr />
<?php /*
<!-- RANDOM, Hidden for now cause its broken
<h4><?php echo _('Random'); ?></h4>
@@ -49,16 +39,3 @@
<h4><?php echo _('Playlists'); ?></h4>
<a id="sb_ViewAll" href="<?php echo $web_path; ?>/playlist.php?action=show_all"><?php echo _('View All'); ?></a>
<hr />
-<div style="left-padding:5px;">
-<?php
- $playlists = Playlist::get_users($GLOBALS['user']->id);
- foreach ($playlists as $playlist_id) {
- $playlist = new Playlist($playlist_id);
- $playlist->format();
-?>
-<span>
- <?php echo Ajax::button('?action=basket&type=playlist&id=' . $playlist_id,'all',_('Play This Playlist'),'leftbar_playlist_' . $playlist_id); ?>
- <?php echo $playlist->f_link; ?>
-</span>
-<?php } // end foreach playlist ?>
-</div>