diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 00:52:50 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 00:52:50 -0500 |
commit | 5f02e4f43cb1423653c156e612da53e4c5938583 (patch) | |
tree | 062c545dbc8cb1c50f1629ce055fc6cc3dbe6e9e /templates/show_song.inc.php | |
parent | 31920c88a7b109d789511f45502c6291a2e617a0 (diff) | |
download | ampache-5f02e4f43cb1423653c156e612da53e4c5938583.tar.gz ampache-5f02e4f43cb1423653c156e612da53e4c5938583.tar.bz2 ampache-5f02e4f43cb1423653c156e612da53e4c5938583.zip |
Move flip_class() from lib/ui.lib.php to UI
Diffstat (limited to 'templates/show_song.inc.php')
-rw-r--r-- | templates/show_song.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/show_song.inc.php b/templates/show_song.inc.php index 07a0dd06..7fd41c75 100644 --- a/templates/show_song.inc.php +++ b/templates/show_song.inc.php @@ -26,11 +26,11 @@ $button_flip_state_id = 'button_flip_state_' . $song->id; <?php show_box_top($song->title . ' ' . T_('Details'), 'box box_song_details'); ?> <dl class="song_details"> <?php if (Config::get('ratings')) { ?> -<dt class="<?php echo flip_class(); ?>"><?php echo T_('Rating'); ?></dt> +<dt class="<?php echo UI::flip_class(); ?>"><?php echo T_('Rating'); ?></dt> <dd><div id="rating_<?php echo $song->id; ?>_song"><?php Rating::show($song->id,'song'); ?></div></dd> <?php } ?> <dt class="<?php echo $rowparity; ?>"><?php echo T_('Action'); ?></dt> - <dd class="<?php echo flip_class(); ?>"> + <dd class="<?php echo UI::flip_class(); ?>"> <?php echo Ajax::button('?action=basket&type=song&id=' . $song->id,'add', T_('Add'),'add_song_' . $song->id); ?> <?php if (Access::check_function('download')) { ?> <a href="<?php echo Song::play_url($song->id); ?>"><?php echo get_user_icon('link', T_('Link')); ?></a> @@ -65,7 +65,7 @@ $button_flip_state_id = 'button_flip_state_' . $song->id; { if(trim($value)) { - $rowparity = flip_class(); + $rowparity = UI::flip_class(); echo "<dt class=\"".$rowparity."\">" . T_($key) . "</dt><dd class=\"".$rowparity."\">" . $value . "</dd>"; } } |