summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-31 05:19:11 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-31 05:19:11 +0000
commit3e8b855150d9bbd0538aadce5a3703a54c2b2de6 (patch)
tree1b52b0839e1d167c5ef6cba718d923c84bbc35ac
parent65bc8762b1dbcfd267555d11fc933418168110d5 (diff)
downloadampache-3e8b855150d9bbd0538aadce5a3703a54c2b2de6.tar.gz
ampache-3e8b855150d9bbd0538aadce5a3703a54c2b2de6.tar.bz2
ampache-3e8b855150d9bbd0538aadce5a3703a54c2b2de6.zip
added back the multi-char filter for browse
-rwxr-xr-xdocs/CHANGELOG1
-rw-r--r--templates/sidebar_browse.inc.php4
-rw-r--r--themes/classic/templates/default.css5
-rw-r--r--themes/greysme/templates/default.css5
4 files changed, 15 insertions, 0 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG
index 71d27312..eef5023d 100755
--- a/docs/CHANGELOG
+++ b/docs/CHANGELOG
@@ -4,6 +4,7 @@
--------------------------------------------------------------------------
v.3.4-Beta2
+ - Added Multi-Character Filter on browse pages
- Fixed Flag Management Interface
- Added Export Catalog to CSV
- Added 'Add New...' option to other fields on Song Edit (Thx picasso)
diff --git a/templates/sidebar_browse.inc.php b/templates/sidebar_browse.inc.php
index 5c7ebe07..461e50d2 100644
--- a/templates/sidebar_browse.inc.php
+++ b/templates/sidebar_browse.inc.php
@@ -18,6 +18,10 @@
<li><h4><?php echo _('Filters'); ?></h4>
<div class="sb3">
<?php show_alphabet_list($_REQUEST['alpha_match'],$_REQUEST['action']); ?>
+ <form id="multi_alpha_filter_form" method="post" action="javascript:void(0);">
+ <input type="textbox" id="multi_alpha_filter" name="value" value="<?php echo scrub_out($_REQUEST['alpha_match']); ?>" onChange="<?php echo Ajax::action('?page=browse&action=browse&key=alpha_match','multi_alpha_filter','multi_alpha_filter_form'); ?>">
+ <label id="multi_alpha_filterLabel" for="multi_art_filter"><?php echo _('Starts With'); ?></label>
+ </form>
<!--
<input type="checkbox" onclick="ajaxPut('<?php echo $ajax_info; ?>?action=browse&amp;key=min_count&amp;value=1');return true;" value="1" />
<?php echo _('Minimum Count'); ?><br />
diff --git a/themes/classic/templates/default.css b/themes/classic/templates/default.css
index 535889f7..d012ef41 100644
--- a/themes/classic/templates/default.css
+++ b/themes/classic/templates/default.css
@@ -264,6 +264,11 @@ a.button{padding:1px 3px;}
color:#fff;
}
+#multi_alpha_filter {
+ width:40px;
+ margin-bottom:4px;
+}
+
/* SIDEBAR : Localplay */
/***********************/
.active_instance {
diff --git a/themes/greysme/templates/default.css b/themes/greysme/templates/default.css
index be2a3603..fdeb292c 100644
--- a/themes/greysme/templates/default.css
+++ b/themes/greysme/templates/default.css
@@ -296,6 +296,11 @@ input[type=checkbox] { border:0;background:none; }
color:#111;
}
+#multi_alpha_filter {
+ width:40px;
+ margin-bottom:4px;
+}
+
/* SIDEBAR : Localplay */
/***********************/