mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-06 03:49:56 +02:00
Add methods to retrieve library item description and art with fallback to parent data
This commit is contained in:
parent
81ff034bd1
commit
b04208b5c3
32 changed files with 255 additions and 64 deletions
|
@ -241,7 +241,7 @@ class Shoutbox
|
|||
}
|
||||
$html .= "<div class='shoutbox-info'>";
|
||||
if ($details) {
|
||||
$html .= "<div class='shoutbox-object'>" . ($object->f_name_link ?: $object->f_link) . "</div>";
|
||||
$html .= "<div class='shoutbox-object'>" . $object->f_link . "</div>";
|
||||
$html .= "<div class='shoutbox-date'>".date("Y/m/d H:i:s", $this->date) . "</div>";
|
||||
}
|
||||
$html .= "<div class='shoutbox-text'>" . preg_replace('/(\r\n|\n|\r)/', '<br />', $this->text) . "</div>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue