diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-02 19:55:54 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-02 19:55:54 +0000 |
commit | 2af0776aa93e706a303ad6701fb989f8e00b0cd2 (patch) | |
tree | 3ef22623b23e5b42fd700de26c0a3cb8f06568b2 /templates | |
parent | 545043d3ed047037fc07b9e80688d94df7ed2da9 (diff) | |
download | ampache-2af0776aa93e706a303ad6701fb989f8e00b0cd2.tar.gz ampache-2af0776aa93e706a303ad6701fb989f8e00b0cd2.tar.bz2 ampache-2af0776aa93e706a303ad6701fb989f8e00b0cd2.zip |
more tweaks from sigger to speed up load times
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_mpdpl.inc | 6 | ||||
-rw-r--r-- | templates/style.inc | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/templates/show_mpdpl.inc b/templates/show_mpdpl.inc index 1037375b..42c0c23d 100644 --- a/templates/show_mpdpl.inc +++ b/templates/show_mpdpl.inc @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2005 Ampache.org + Copyright (c) 2001 - 2006 Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -124,8 +124,8 @@ $myMpd = init_mpd(); <td align="left"> <a href="<?php echo $web_path; ?>/artists.php?action=show&artist=<?php echo htmlspecialchars($r->artist); ?>" title="More from <?php echo htmlspecialchars($entry['Artist']);?>"<?php echo $text_class; ?>><?php echo htmlspecialchars($entry['Artist']);?> </a></td> <td align="left"> <a href="<?php echo $web_path; ?>/albums.php?action=show&album=<?php echo htmlspecialchars($r->album); ?>" title="More on <?php echo htmlspecialchars($entry['Album']); ?>"<?php echo $text_class; ?>><?php echo htmlspecialchars($entry['Album']); ?> </a></td> <td align="right"> <?php echo $entry['Track']; ?> </td> - <td align="right"> <?php echo sprintf ("%d:%02d",$entry['Time']/60,$entry['Time']%60) ?> </td> - <td align="left"> <?php echo $entry['genre'] ?></td> + <td align="right"> <?php echo sprintf ("%d:%02d",$entry['Time']/60,$entry['Time']%60); ?> </td> + <td align="left"> <?php echo $entry['genre']; ?></td> <td> <a href="<?php echo $web_path;?>/flag.php?song=<?php echo $r->id;?>&action=flag" title="Flag '<?php echo htmlspecialchars($entry['file']);?>' by <?php echo htmlspecialchars($entry['Artist']);?>"<?php echo $text_class;?>>f</a> <a href="<?php echo $web_path;?>/amp-mpd.php?action=movenext&val=<?php echo $entry['Pos'];?>" title="Move '<?php echo htmlspecialchars($entry['Title']);?>' to play next "<?php echo $text_class;?>>n</a> diff --git a/templates/style.inc b/templates/style.inc index cae32257..5c7ea2d2 100644 --- a/templates/style.inc +++ b/templates/style.inc @@ -89,6 +89,7 @@ } #mpdpl td { padding: 0px 2px 0px 2px; + text-align: left; } table.tabledata { |