summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/modules/discography.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/utils/modules/discography.php b/utils/modules/discography.php
index 4781eda..a8bfb5e 100644
--- a/utils/modules/discography.php
+++ b/utils/modules/discography.php
@@ -58,7 +58,7 @@ class Track {
$str = "";
$str .= " <div class=\"track\">\n";
- $str .= " <div class=\"preview\">\n";
+ $str .= " <span class=\"preview\">\n";
if($this->previewurl) {
$str .= " <object type=\"application/x-shockwave-flash\" data=\"player_mp3_maxi.swf\" width=\"25\" height=\"12\">\n";
$str .= " <param name=\"movie\" value=\"player_mp3_maxi.swf\"/>\n";
@@ -66,11 +66,11 @@ class Track {
$str .= " </object>\n";
} else {
}
- $str .= " </div>\n";
+ $str .= " </span>\n";
- $str .= " <div class=\"number\">".$this->number.". </div>\n";
- $str .= " <div class=\"title\">".$this->title."</div>\n";
- $str .= " <div class=\"playtime\">".time2str($this->playtime)."</div>\n";
+ $str .= " <span class=\"number\">".$this->number.". </span>\n";
+ $str .= " <span class=\"title\">".$this->title."</span>\n";
+ $str .= " <span class=\"playtime\">".time2str($this->playtime)."</span>\n";
if($this->lyrics) {
$str .= " <a href=\"?page=".$page."&amp;lyrics=".$disc."&amp;track=".$this->number."\">Lyrics</a>\n";
}
@@ -135,24 +135,24 @@ class Disc {
$str = "";
$str .= " <div class=\"disc\">\n";
- $str .= " <div class=\"record_title\">".$this->title." (".date("Y", $this->releasetime).")</div>\n";
+ $str .= " <span class=\"record_title\">".$this->title." (".date("Y", $this->releasetime).")</span>\n";
$str .= " <div class=\"cover\">\n";
$str .= " <a href=\"".$this->cover."\">\n";
$str .= " <img alt=\"".$this->title." cover\"\n";
$str .= " src=\"?mode=imagecache&amp;uri=" . $this->cover . "&amp;mw=200&amp;mh=200\"/>\n";
$str .= " </a>\n";
$str .= " </div>\n";
- $str .= " <div class=\"label\">";
+ $str .= " <span class=\"label\">";
if($this->releasetime > time()) $str .= "To be";
else $str .= "Was";
- $str .= " released by ".htmlspecialchars_decode($this->releaser)." on ".date("F jS Y", $this->releasetime)."</div>\n";
- $str .= " <div class=\"tracklist_header\">";
+ $str .= " released by ".htmlspecialchars_decode($this->releaser)." on ".date("F jS Y", $this->releasetime)."</span>\n";
+ $str .= " <span class=\"tracklist_header\">";
if($this->tracks && sizeof($this->tracks) > 1) {
$str .= "Tracks:";
} else {
$str .= "Track:";
}
- $str .= "</div>\n";
+ $str .= "</span>\n";
$str .= " <div class=\"tracklist\">\n";
$total = 0;
if($this->tracks) {
@@ -162,10 +162,10 @@ class Disc {
}
}
if($this->tracks && sizeof($this->tracks) > 1) {
- $str .= " <div class=\"total_playtime\">Total playtime: ".time2str($total)."</div>\n";
+ $str .= " <span class=\"total_playtime\">Total playtime: ".time2str($total)."</span>\n";
}
$str .= " </div>\n";
- $str .= " <div class=\"description\">".Markdown(htmlspecialchars_decode($this->description))."</div>\n";
+ $str .= " <span class=\"description\">".Markdown(htmlspecialchars_decode($this->description))."</span>\n";
$str .= " </div>\n";
return $str;