summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-02 19:55:54 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-02 19:55:54 +0000
commit2af0776aa93e706a303ad6701fb989f8e00b0cd2 (patch)
tree3ef22623b23e5b42fd700de26c0a3cb8f06568b2 /templates
parent545043d3ed047037fc07b9e80688d94df7ed2da9 (diff)
downloadampache-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.inc6
-rw-r--r--templates/style.inc1
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&amp;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&amp;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']; ?>&nbsp;&nbsp;</td>
- <td align="right"> <?php echo sprintf ("%d:%02d",$entry['Time']/60,$entry['Time']%60) ?>&nbsp;</td>
- <td align="left"> &nbsp;<?php echo $entry['genre'] ?></td>
+ <td align="right"> <?php echo sprintf ("%d:%02d",$entry['Time']/60,$entry['Time']%60); ?>&nbsp;</td>
+ <td align="left"> &nbsp;<?php echo $entry['genre']; ?></td>
<td>
<a href="<?php echo $web_path;?>/flag.php?song=<?php echo $r->id;?>&amp;action=flag" title="Flag '<?php echo htmlspecialchars($entry['file']);?>' by <?php echo htmlspecialchars($entry['Artist']);?>"<?php echo $text_class;?>>f</a>&nbsp;
<a href="<?php echo $web_path;?>/amp-mpd.php?action=movenext&amp;val=<?php echo $entry['Pos'];?>" title="Move '<?php echo htmlspecialchars($entry['Title']);?>' to play next "<?php echo $text_class;?>>n</a>&nbsp;
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
{