- Add skins directory structure,
- Add skin black example (default.css and sprites css), - Fix a bug for .hide system for track listing.
This commit is contained in:
parent
a58dfaa33b
commit
8e5a746fc2
1805
html/default.css
1805
html/default.css
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,8 @@
|
||||
<?
|
||||
// $RCSfile: lmbrowse.php,v $
|
||||
// $Revision: 1.17 $
|
||||
// $Revision: 1.18 $
|
||||
// $Name: $
|
||||
// $Date: 2015/12/04 16:07:30 $
|
||||
// $Date: 2015/12/16 23:24:12 $
|
||||
// $Author: agibert $
|
||||
|
||||
/*
|
||||
@ -1866,7 +1866,7 @@ function lmb_track_info_get( $play_type, $play_id, $play_priority, $track_id)
|
||||
$min = intval( $total / 60);
|
||||
$sec = $total - $min * 60;
|
||||
|
||||
$track_info["length"] = "{$min}' {$sec}\"";
|
||||
$track_info["length"] = sprintf( '%02d\' %02d"', $min, $sec);
|
||||
$track_info["duration"] = "PT{$min}M{$sec}S";
|
||||
$track_info["safe_creative"] = $tab[10];
|
||||
|
||||
@ -2831,7 +2831,7 @@ function lmb_tracklist_body( $skin_path)
|
||||
$size = $track_nb + 1;
|
||||
$height = 220/$size;
|
||||
|
||||
for( $i = 0, $row = 1; $i < $track_nb; $i++, $row++)
|
||||
for( $i = 0, $row = 1; $i < $track_nb; $i++)
|
||||
{
|
||||
$css_row = ($row+1)%2+1;
|
||||
|
||||
@ -2848,11 +2848,17 @@ function lmb_tracklist_body( $skin_path)
|
||||
$play_url = "{$lmb_url_post}?page=play&type={$play_type}&id={$play_id}&priority={$play_priority}";
|
||||
$track_url = "{$lmb_url_post}?page=track&type={$play_type}&id={$play_id}&priority={$play_priority}&tid={$track_id}";
|
||||
|
||||
$path = lmb_playtype_path_get( $play_type);
|
||||
|
||||
echo " <tr class=\"tracks{$css_row}\" style=\"height: {$height}px;\">";
|
||||
if( ! file_exists( "{$path}/{$play_priority}-{$play_id}/.hide" ))
|
||||
{
|
||||
|
||||
echo "<td class=\"tracks1\"> {$row} </td><td class=\"tracks2\"> <div class=\"link-item\"><a href=\"{$track_url}\">{$track_title}</a></div> </td><td class=\"tracks3\"> <div class=\"link-item\"><a href=\"{$track_url}\">{$track_mix}</a></div> </td><td class=\"tracks3\"> {$track_length} </td><td class=\"tracks3\"> {$play_type_name} </td><td class=\"tracks3\"> <div class=\"link-item\"><a href=\"{$play_url}\">{$track_album}</a></div> </td></tr>
|
||||
echo " <tr class=\"tracks{$css_row}\" style=\"height: {$height}px;\">";
|
||||
|
||||
echo "<td class=\"tracks1\"> {$row} </td><td class=\"tracks2\"> <div class=\"link-item\"><a href=\"{$track_url}\">{$track_title}</a></div> </td><td class=\"tracks3\"> <div class=\"link-item\"><a href=\"{$track_url}\">{$track_mix}</a></div> </td><td class=\"tracks3\"> {$track_length} </td><td class=\"tracks3\"> {$play_type_name} </td><td class=\"tracks3\"> <div class=\"link-item\"><a href=\"{$play_url}\">{$track_album}</a></div> </td></tr>
|
||||
";
|
||||
$row++;
|
||||
}
|
||||
}
|
||||
|
||||
$data = ob_get_contents();
|
||||
|
Loading…
Reference in New Issue
Block a user