From 7ddc95541d649fdf0121eafcd71a93376b16efec Mon Sep 17 00:00:00 2001 From: spocky Date: Mon, 17 Mar 2008 20:29:24 +0000 Subject: shoutbox now makes use of flip_class rewrote show_song code and css --- templates/show_song.inc.php | 92 +++++++++++++++++---------------------------- 1 file changed, 34 insertions(+), 58 deletions(-) (limited to 'templates/show_song.inc.php') diff --git a/templates/show_song.inc.php b/templates/show_song.inc.php index d9180d0b..918bf552 100644 --- a/templates/show_song.inc.php +++ b/templates/show_song.inc.php @@ -19,62 +19,38 @@ */ ?> -title . ' ' . _('Details')); ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -has_access('75')) { ?> - - - - - -update_time) { ?> - - - - - - - - -
title); ?>
f_artist_link; ?>
f_album_link; ?> (year); ?>)
f_genre_link; ?>
f_time); ?>
comment); ?>
label); ?>
language); ?>
catalog_number); ?>
f_bitrate); ?>
file); ?> (f_size; ?>MB)
update_time); ?>
addition_time); ?>
+title . ' ' . _('Details')); + + $songprops['Title'] = scrub_out($song->title); + $songprops['Artist'] = $song->f_artist_link; + $songprops['Album'] = $song->f_album_link . " " . scrub_out($song->year); + $songprops['Genre'] = $song->f_genre_link; + $songprops['Length'] = scrub_out($song->f_time); + $songprops['Comment'] = scrub_out($song->comment); + $songprops['Label'] = scrub_out($song->label); + $songprops['Language']= scrub_out($song->language); + $songprops['Catalog Number'] = scrub_out($song->catalog_number); + $songprops['Bitrate'] = scrub_out($song->f_bitrate); + if ($GLOBALS['user']->has_access('75')) { + $songprops['Filename'] = scrub_out($song->file) . " " . $song->f_size . "MB"; + } + if ($song->update_time) { + $songprops['Last Updated'] = date("d/m/Y H:i",$song->update_time); + } + $songprops['Added'] = date("d/m/Y H:i",$song->addition_time); + ?> + +
+ $value) + { + if(trim($value)) + { + $rowparity = flip_class(); + echo "
" . _($key) . "
" . $value . "
"; + } + }?> +
+ -- cgit