summaryrefslogtreecommitdiffstats
path: root/templates/show_localplay_status.inc.php
diff options
context:
space:
mode:
authorPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-13 07:58:43 +0000
committerPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-13 07:58:43 +0000
commitdc495ea8ea69d741b39fc952c470f98866f469e1 (patch)
tree160ca182c038cd1311b35ec7568405e17d639557 /templates/show_localplay_status.inc.php
parent836af45d571943c6d88a8936b5c3a67198941622 (diff)
downloadampache-dc495ea8ea69d741b39fc952c470f98866f469e1.tar.gz
ampache-dc495ea8ea69d741b39fc952c470f98866f469e1.tar.bz2
ampache-dc495ea8ea69d741b39fc952c470f98866f469e1.zip
Clean up general.lib.php and ui.lib.php: remove unused functions, group related
functions, simplify implementation of some functions.
Diffstat (limited to 'templates/show_localplay_status.inc.php')
-rw-r--r--templates/show_localplay_status.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/show_localplay_status.inc.php b/templates/show_localplay_status.inc.php
index 3117efc1..173d9124 100644
--- a/templates/show_localplay_status.inc.php
+++ b/templates/show_localplay_status.inc.php
@@ -35,13 +35,13 @@ $now_playing = $status['track_title'] ? $status['track_title'] . ' - ' . $status
<?php echo _('Volume'); ?>:<?php echo $status['volume']; ?>%
</li>
<li>
- <?php echo print_boolean($status['repeat']); ?> |
- <?php echo Ajax::text('?page=localplay&action=repeat&value=' . invert_boolean($status['repeat']),print_boolean(invert_boolean($status['repeat'])),'localplay_repeat'); ?>
+ <?php echo print_bool($status['repeat']); ?> |
+ <?php echo Ajax::text('?page=localplay&action=repeat&value=' . invert_bool($status['repeat']), print_bool(invert_bool($status['repeat'])), 'localplay_repeat'); ?>
<?php echo _('Repeat'); ?>
</li>
<li>
- <?php echo print_boolean($status['random']); ?> |
- <?php echo Ajax::text('?page=localplay&action=random&value=' . invert_boolean($status['random']),print_boolean(invert_boolean($status['random'])),'localplay_random'); ?>
+ <?php echo print_bool($status['random']); ?> |
+ <?php echo Ajax::text('?page=localplay&action=random&value=' . invert_bool($status['random']), print_bool(invert_bool($status['random'])), 'localplay_random'); ?>
<?php echo _('Random'); ?>
</li>
<li>