summaryrefslogtreecommitdiffstats
path: root/templates/list_duplicates.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-25 17:28:50 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-25 17:28:50 +0000
commit2398133cc42045805e6045935efeefee18ab1ad8 (patch)
tree88e81a14e612cf23fe210fe1750634fbc48ae29e /templates/list_duplicates.inc
parent793d3d0bf19a8007e54f8440a5412e2b6709f5b3 (diff)
downloadampache-2398133cc42045805e6045935efeefee18ab1ad8.tar.gz
ampache-2398133cc42045805e6045935efeefee18ab1ad8.tar.bz2
ampache-2398133cc42045805e6045935efeefee18ab1ad8.zip
more html cleanup
Diffstat (limited to 'templates/list_duplicates.inc')
-rw-r--r--templates/list_duplicates.inc13
1 files changed, 6 insertions, 7 deletions
diff --git a/templates/list_duplicates.inc b/templates/list_duplicates.inc
index d86df351..eef2eba0 100644
--- a/templates/list_duplicates.inc
+++ b/templates/list_duplicates.inc
@@ -60,10 +60,10 @@
foreach ($dinfolist as $dinfo)
{
echo "<tr class=\"".$class."\">".
- "<td><input type=\"checkbox\" name=\"song_ids[]\" value=\"" . $dinfo['songid'] . "\" />".
- "<td><a href=\"".conf('web_path')."/song.php?action=m3u&amp;song=$song->id\">$formated_title</td>".
- "<td><a href=\"".conf('web_path')."/artists.php?action=show&amp;artist=".$dinfo['artistid']."\" title=\"".$dinfo['artist']."\">".$dinfo['artist']."</a> </td>".
- "<td><a href=\"".conf('web_path')."/albums.php?action=show&amp;album=".$dinfo['albumid']."\" title=\"".$dinfo['album']."\">".$dinfo['album']."</a> </td>".
+ "<td><input type=\"checkbox\" name=\"song_ids[]\" value=\"" . $dinfo['songid'] . "\" /></td>".
+ "<td><a href=\"".conf('web_path')."/song.php?action=m3u&amp;song=$song->id\">".htmlspecialchars($formated_title)."</a> </td>".
+ "<td><a href=\"".conf('web_path')."/artists.php?action=show&amp;artist=".$dinfo['artistid']."\" title=\"".htmlspecialchars($dinfo['artist'])."\">".htmlspecialchars($dinfo['artist'])."</a> </td>".
+ "<td><a href=\"".conf('web_path')."/albums.php?action=show&amp;album=".$dinfo['albumid']."\" title=\"".htmlspecialchars($dinfo['album'])."\">".htmlspecialchars($dinfo['album'])."</a> </td>".
"<td>".floor($dinfo['time']/60).":".sprintf("%02d", ($dinfo['time']%60) )."</td>".
"<td>".intval($dinfo['bitrate']/1000)."</td>".
"<td>".sprintf("%.2f", ($dinfo['size']/1000000))."Mb</td>".
@@ -76,12 +76,11 @@
}
?>
<tr>
-<td colspan="8" class="<?php echo $class; ?>"><input height="15px" type="submit" value="Disable Songs" /></td>
+<td colspan="8" class="<?php echo $class; ?>"><input height="15" type="submit" value="Disable Songs" /></td>
</tr>
</table>
<?php } else { ?>
<p> You don't have any duplicate songs. </p>
-</form>
<?php } ?>
-
+</form>