summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-04 05:25:25 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-04 05:25:25 +0000
commit2ebfdf4c29ac9e33b8070243856b48ef665e61a9 (patch)
tree706831ca65800d8469cba2f4855d13246c78f206 /templates
parentb909c08509458f4a76ba0ba7922316cd7e55b0d4 (diff)
downloadampache-2ebfdf4c29ac9e33b8070243856b48ef665e61a9.tar.gz
ampache-2ebfdf4c29ac9e33b8070243856b48ef665e61a9.tar.bz2
ampache-2ebfdf4c29ac9e33b8070243856b48ef665e61a9.zip
fixed potential issue with kajax, and added advanced search button to top, right bar
Diffstat (limited to 'templates')
-rw-r--r--templates/show_search_bar.inc.php1
-rw-r--r--templates/sidebar_home.inc.php31
2 files changed, 1 insertions, 31 deletions
diff --git a/templates/show_search_bar.inc.php b/templates/show_search_bar.inc.php
index b9b2c94c..f62cbf0d 100644
--- a/templates/show_search_bar.inc.php
+++ b/templates/show_search_bar.inc.php
@@ -27,6 +27,7 @@
<input type="hidden" name="action" value="quick_search" />
<input type="hidden" name="method" value="fuzzy" />
<input type="hidden" name="object_type" value="song" />
+ <a href="<?php echo $web_path; ?>/search.php" class="smallbutton"><?php echo _('Advanced Search'); ?></a>
</form>
</div>
diff --git a/templates/sidebar_home.inc.php b/templates/sidebar_home.inc.php
index a79bda37..ca14c5ea 100644
--- a/templates/sidebar_home.inc.php
+++ b/templates/sidebar_home.inc.php
@@ -5,37 +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 />
-<?php /*
-<!-- RANDOM, Hidden for now cause its broken
-<h4><?php echo _('Random'); ?></h4>
- <form name="sub_random" method="post" enctype="multipart/form-data" action="<?php echo $web_path; ?>/song.php?action=random&amp;method=stream" style="Display:inline">
- <select name="random" style="width:80px;">
- <option value="1">1</option>
- <option value="5" selected="selected">5</option>
- <option value="10">10</option>
- <option value="20">20</option>
- <option value="30">30</option>
- <option value="50">50</option>
- <option value="100">100</option>
- <option value="500">500</option>
- <option value="1000">1000</option>
- <option value="-1"><?php echo _('All'); ?></option>
- </select>
-<!- GENRE PULLDOWN ->
-<br />
- <select name="random_type" style="width:80px;">
- <option value="Songs"><?php echo _('Songs'); ?></option>
- <option value="length"><?php echo _('Minutes'); ?></option>
- <option value="full_artist"><?php echo _('Artists'); ?></option>
- <option value="full_album"><?php echo _('Albums'); ?></option>
- <option value="unplayed"><?php echo _('Less Played'); ?></option>
- </select>
- <br />
-<!- CATALOG PULLDOWN ->
- <input class="smallbutton" type="submit" value="<?php echo _('Enqueue'); ?>" />
- </form>
-<hr />
---> */ ?>
<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 />