fix
This commit is contained in:
@@ -28,18 +28,19 @@ function generate_tooltip_description($row) {
|
||||
$topic = $row['topic'];
|
||||
$numDatum= strtotime($row['created_at']);
|
||||
$datum= date("d.m.Y",$numDatum);
|
||||
$strDefect= $arrDefect[$row['defect']];
|
||||
|
||||
|
||||
$strDescription = "<strong>Anmerkung zu ".$arrTopic[$topic]."</strong><br>";
|
||||
if ($boolUpload && isset($row['filename']) && $boolShow) {
|
||||
$strDescription .= "<a href=\'images/".$row['filename']."\' data-lightbox=\'radweg".$id."\'>";
|
||||
$strDescription .= "<a href=\'images/".$row['filename']."\' data-fancybox data-caption=\'".$strDefect."\'>";
|
||||
$strDescription .= "<img src=\'images/".$row['filename']."\' style=\'width:200px;\' /></a><br>";
|
||||
}
|
||||
$strDescription .= nl2br2($description);
|
||||
$strDescription .= ($boolShow) ? "<br> - ".$row['username']." (".$datum.")":"<br>".$datum;
|
||||
if ($boolDefect) {
|
||||
if ($row['defect']>=0) { //Hindernis kann nicht leer sein
|
||||
$strDescription .= "<br><em>" . $arrDefect[$row['defect']] ."</em>";
|
||||
$strDescription .= "<br><em>" . $strDefect ."</em>";
|
||||
}
|
||||
}
|
||||
if ($boolRating) {
|
||||
|
||||
Reference in New Issue
Block a user