summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/modules/downloads.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/modules/downloads.php b/utils/modules/downloads.php
index 1356fc1..99e9962 100644
--- a/utils/modules/downloads.php
+++ b/utils/modules/downloads.php
@@ -79,15 +79,16 @@ class DownloadItem {
$str = "";
$str .= " <div class=\"download_item\">\n";
+ $str .= " <div class=\"download_item_type_".$this->type."\">\n";
$str .= " <span class=\"download_item_title\">".$this->title."</span>\n";
if($this->type == "image") {
- $str .= " <img class=\"download_item_image\" alt=\"".$this->title.
+ $str .= " <img class=\"download_item_image_icon\" alt=\"".$this->title.
"\" src=\"".$this->value."\"/>\n";
}
if($this->type == "youtube") {
- $str .= "<object width=\"".$VIDEO_WIDTH."\" height=\"".$VIDEO_HEIGHT."\">\n";
+ $str .= "<object class=\"download_item_video\" width=\"".$VIDEO_WIDTH."\" height=\"".$VIDEO_HEIGHT."\">\n";
$str .= "<param name=\"movie\" value=\"http://www.youtube.com/v/".$this->value."\"></param>\n";
$str .= "<embed src=\"http://www.youtube.com/v/".$this->value."\" ".
"type=\"application/x-shockwave-flash\" width=\"".$VIDEO_WIDTH."\" height=\"400\">\n";
@@ -96,7 +97,7 @@ class DownloadItem {
}
if($this->type == "vimeo") {
- $str .= "<object width=\"".$VIDEO_WIDTH."\" height=\"".$VIDEO_HEIGHT."\">\n";
+ $str .= "<object class=\"download_item_video\" width=\"".$VIDEO_WIDTH."\" height=\"".$VIDEO_HEIGHT."\">\n";
$str .= " <param name=\"allowfullscreen\" value=\"true\" /> \n";
$str .= " <param name=\"allowscriptaccess\" value=\"always\" />\n";
$str .= " <param name=\"movie\" value=\"http://www.vimeo.com/moogaloop.swf?clip_id=".$this->value."&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1\" /> \n";
@@ -115,6 +116,7 @@ class DownloadItem {
$str .= $s->show();
}
$str .= " </div>\n";
+ $str .= " </div>\n";
$str .= " </div>\n";
return $str;
@@ -162,7 +164,7 @@ class DownloadGroup {
$str .= " <div class=\"download_group\">\n";
- $str .= " <span class=\"download_group_title\">".$this->title."</span>\n";
+ $str .= " <div class=\"download_group_title\">".$this->title."</div>\n";
$str .= " <div class=\"download_items\">\n";
if($this->items) {
foreach($this->items as $i) {