diff --git a/lib/medias.lib.php b/lib/medias.lib.php index a81b5d37..77534eaf 100644 --- a/lib/medias.lib.php +++ b/lib/medias.lib.php @@ -229,6 +229,8 @@ function saturne_show_medias_linked(string $modulepart = 'ecm', string $sdir, $s if (empty($nolink)) { $relativefile = preg_replace("/'/", "\\'", $relativefile); $urladvanced = getAdvancedPreviewUrl($modulepart, $relativefile, 0, 'entity=' . $conf->entity); + $return .= '
'; + $return .= ''; if ($urladvanced) $return .= ''; else $return .= ''; } @@ -256,6 +258,7 @@ function saturne_show_medias_linked(string $modulepart = 'ecm', string $sdir, $s } if (empty($nolink)) $return .= ''; + $return .= '
'; $return .= "\n"; if ($showfilename) $return .= '
' . $viewfilename; if ($showaction) {