} else {
                 $file_size = round($size / $tb, 2) . " TBbytes";
             }
         }
     }
 }
 if ($file_title == "") {
     $file_title = "[" . $I18N->msg('pool_file_notitle') . "]";
 }
 if ($file_description == "") {
     $file_description = "[" . $I18N->msg('pool_file_nodescription') . "]";
 }
 // ----- opener
 if ($_SESSION["media[opener_input_field]"] == 'TINY') {
     $opener_link = '';
     if (OOMedia::isImageType($file_type)) {
         $opener_link .= "<a href=\"javascript:insertImage('{$file_name}','" . str_replace(" ", "&nbsp;", converDescription($file_description)) . "','" . $files->getValue("width") . "','" . $files->getValue("height") . "');\">" . $I18N->msg('pool_image_get') . "</a><br>";
     }
     $opener_link .= "<a href=\"javascript:insertLink('" . $file_name . "');\">" . $I18N->msg('pool_link_get') . "</a>";
 } elseif ($_SESSION["media[opener_input_field]"] != '') {
     $opener_link = "<a href=\"javascript:selectMedia('" . $file_name . "');\">" . $I18N->msg('pool_file_get') . "</a>";
     if (substr($_SESSION["media[opener_input_field]"], 0, 14) == "REX_MEDIALIST_") {
         $opener_link = "<a href=\"javascript:addMedialist('" . $file_name . "');\">" . $I18N->msg('pool_file_get') . "</a>";
     }
 }
 $ilink = 'index.php?page=medienpool&amp;subpage=detail&amp;file_id=' . $file_id . '&amp;rex_file_category=' . $rex_file_category;
 echo '<tr>' . "\n";
 if ($PERMALL) {
     echo '  <td class="icon"><input type="checkbox" name="selectedmedia[]" value="' . $file_id . '"></td>' . "\n";
 } else {
     echo '  <td class="icon">&nbsp;</td>' . "\n";