diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-05-01 14:03:39 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-05-01 14:03:39 +0000 |
commit | 7b187d52ab53378cc78f132663e704d04392a8d8 (patch) | |
tree | 76c95dceaf5c9e5a573b1c3679547546215794fc /templates/sidebar_home.inc.php | |
parent | 55f3509433262d753938e066869ee9b41caf04eb (diff) | |
download | ampache-7b187d52ab53378cc78f132663e704d04392a8d8.tar.gz ampache-7b187d52ab53378cc78f132663e704d04392a8d8.tar.bz2 ampache-7b187d52ab53378cc78f132663e704d04392a8d8.zip |
initial, ugly, non-working "new" sidebar
Diffstat (limited to 'templates/sidebar_home.inc.php')
-rw-r--r-- | templates/sidebar_home.inc.php | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/templates/sidebar_home.inc.php b/templates/sidebar_home.inc.php new file mode 100644 index 00000000..dfdf0ee8 --- /dev/null +++ b/templates/sidebar_home.inc.php @@ -0,0 +1,39 @@ +<h4><?php echo _('Search'); ?></h4> +<div id="sidebar_subsearch"> + <form name="sub_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" /> +<br /> + <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> +<h4><?php echo _('Random'); ?></h4> + <form name="sub_random" method="post" enctype="multipart/form-data" action="<?php echo $web_path; ?>/song.php?action=random&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> + |