diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-06 05:53:26 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-06 05:53:26 +0000 |
commit | f0addeb4a1700b6ad625726fe8c0793cdafa9fed (patch) | |
tree | ed2e4fef6759867bed8229116ae2e91b3b3da239 /templates/sidebar_browse.inc.php | |
parent | 69b204fb1dcca77c177d3ac5ec7fb686fb5a5b58 (diff) | |
download | ampache-f0addeb4a1700b6ad625726fe8c0793cdafa9fed.tar.gz ampache-f0addeb4a1700b6ad625726fe8c0793cdafa9fed.tar.bz2 ampache-f0addeb4a1700b6ad625726fe8c0793cdafa9fed.zip |
added ability to view album art on browse ablums and removed redundent code in show_artist, props to the first person who finds the bug with this re-use of code
Diffstat (limited to 'templates/sidebar_browse.inc.php')
-rw-r--r-- | templates/sidebar_browse.inc.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/sidebar_browse.inc.php b/templates/sidebar_browse.inc.php index f85b8c17..3ae18e0c 100644 --- a/templates/sidebar_browse.inc.php +++ b/templates/sidebar_browse.inc.php @@ -19,15 +19,17 @@ <div class="sb3"> <?php show_alphabet_list($_REQUEST['alpha_match'],$_REQUEST['action']); ?> <!-- - <input type="checkbox" onclick="ajaxPut('<?php echo $ajax_info; ?>?action=browse&key=show_art&value=1');return true;" value="1" /> - <?php echo _('Show Art'); ?><br /> <input type="checkbox" onclick="ajaxPut('<?php echo $ajax_info; ?>?action=browse&key=min_count&value=1');return true;" value="1" /> <?php echo _('Minimum Count'); ?><br /> <input type="checkbox" onclick="ajaxPut('<?php echo $ajax_info; ?>?action=browse&key=rated&value=1');return true;" value="1" /> <?php echo _('Rated'); ?><br /> --> - <input id="unplayedCB" type="checkbox" onclick="ajaxPut('<?php echo $ajax_info; ?>?action=browse&key=unplayed&value=1');return true;" value="1" /> + <input id="unplayedCB" type="checkbox" <? echo $string = Browse::get_filter('unplayed') ? 'checked="checked"' : ''; ?>/> <label id="unplayedLabel" for="unplayedCB"><?php echo _('Unplayed'); ?></label><br /> + <?php echo Ajax::observe('unplayedCB','click',Ajax::action('?page=browse&action=browse&key=unplayed&value=1','')); ?> + <input id="show_artCB" type="checkbox" <? echo $string = Browse::get_filter('show_art') ? 'checked="checked"' : ''; ?>/> + <label id="show_artLabel" for="show_artCB"><?php echo _('Show Art'); ?></label><br /> + <?php echo Ajax::observe('show_artCB','click',Ajax::action('?page=browse&action=browse&key=show_art&value=1','')); ?> </div> </li> </ul> |