isEditable($GLOBALS['user']->id)) {
$permissions[] = 'w';
}
if ($file->isDownloadable($GLOBALS['user']->id)) {
$permissions[] = 'dr';
}
?>
getId()}") . '"' : '' ?>
role="row"
data-permissions="= implode($permissions) ?>">
if (!empty($show_bulk_checkboxes)) : ?>
|
if ($file->isDownloadable($GLOBALS['user']->id)) : ?>
getId(), (array) ($marked_element_ids ?? [])) ? 'checked' : '' ?>>
endif ?>
|
endif ?>
if ($file->isDownloadable($GLOBALS['user']->id)) : ?>
= $file->getIcon(Icon::ROLE_CLICKABLE)->asImg(24) ?>
else : ?>
= $file->getIcon(Icon::ROLE_INACTIVE)->asImg(24, ['class' => 'icon-inactive']) ?>
endif ?>
|
if ($file->isDownloadable($GLOBALS['user']->id)) : ?>
getId()}", ['file_navigation' => '1']) ?>" data-dialog>
= htmlReady($file->getFilename()) ?>
else : ?>
= htmlReady($file->getFilename()) ?>
endif ?>
getTermsOfUse() ?>
if ($terms && !empty($topFolder) && !$terms->isDownloadable($topFolder->range_id, $topFolder->range_type, false)) : ?>
= Icon::create('lock-locked', Icon::ROLE_INFO)->asImg(['title' => _('Das Herunterladen dieser Datei ist nur eingeschränkt möglich.')]) ?>
endif ?>
|
$size = $file->getSize() ?>
if ($size !== null) : ?>
= relSize($size, false) ?>
endif ?>
|
if (!empty($show_downloads)) : ?>
$downloads = $file->getDownloads() ?>
= htmlReady($downloads) ?>
|
endif ?>
$author_name = $file->getUserName() ?>
if ($file->getUser() && $file->getUser()->id !== $GLOBALS['user']->id) : ?>
= htmlReady($author_name) ?>
else: ?>
= htmlReady($author_name) ?>
endif; ?>
|
$chdate = $file->getLastChangeDate() ?>
= $chdate ? reltime($chdate) : "" ?>
|
foreach ($current_folder->getAdditionalColumns() as $index => $column_name) : ?>
$content = $file->getContentForAdditionalColumn($index) ?>
if ($content) : ?>
= $content instanceof Flexi\Template ? $content->render() : $content ?>
endif ?>
|
endforeach ?>
$actionMenu = $file->getActionMenu();
if ($actionMenu) {
echo $actionMenu->render();
}
?>
|