diff --git a/app/views/main/_file_row.php b/app/views/main/_file_row.php index 3ee4f50..9ece384 100644 --- a/app/views/main/_file_row.php +++ b/app/views/main/_file_row.php @@ -1,9 +1,12 @@ - - -
+ +
-

+ class="mimetype " /> +

file_name, 40)) ?> @@ -14,50 +17,79 @@ class="mimetype" />

password ? 1 : 0)?>

available_from; ?>

available_until; ?>

-

(getReadableFileSize () ?>)

+

(getReadableFileSize () ?>)

+

+ + $file->getAvailableFrom()->toString(option ('localeDateFormat')), + 'to' => ''.$file->getAvailableUntil ()->toString ( + option ('localeDateFormat')).'') + ); + ?> +

+

+ folder) && $file->folder != '') { + echo __('Folder') .': '; + echo a(array( + 'href' => $file->getDownloadFolderUrl ($fz_user->id), + 'id' => '', + 'class' => '', + 'title' => __('Open folder contents')), + $file->folder); + } else { + echo __('No folder assigned'); + } + ?> +

'; + if ($simple == true) + echo '

'; + else + echo '

'; + $zclipButtonStyle = $simple?'zclip zclip-simple':'awesome blue zclip'; echo a(array( 'href' => $file->getDownloadUrl () . '/copy', 'id' => '', - 'class' => 'awesome blue zclip', + 'class' => $zclipButtonStyle, 'title' => __('Copy download link to clipboard')), __('Copy to clipboard')); echo '

'; } ?> -

$file->getDownloadUrl () . '/share', 'id' => '', - 'class' => 'awesome green share', + 'class' => $shareButtonStyles, 'title' => __('Share file with others')), __('Share')); ?>

-
-

- folder) && $file->folder != '') { - echo __('Folder') .': '; - echo a(array( - 'href' => $file->getDownloadFolderUrl ($fz_user->id), - 'id' => '', - 'class' => '', - 'title' => __('Open folder contents')), - $file->folder); - } else { - echo __('No folder assigned'); - } - ?> -

+ +
+

+ folder) && $file->folder != '') { + echo __('Folder') .': '; + echo a(array( + 'href' => $file->getDownloadFolderUrl ($fz_user->id), + 'id' => '', + 'class' => '', + 'title' => __('Open folder contents')), + $file->folder); + } else { + echo __('No folder assigned'); + } + ?> +

-

} ?>

+

$file->getDownloadUrl () . '/edit', 'id' => '', - 'class' => 'edit', + 'class' => $editButtonClass, 'title' => __('Edit')), __('Edit')); @@ -100,4 +133,3 @@ class="mimetype" />

- \ No newline at end of file diff --git a/app/views/main/index.php b/app/views/main/index.php index add3ee0..66db99e 100644 --- a/app/views/main/index.php +++ b/app/views/main/index.php @@ -125,7 +125,8 @@ class="awesome blue large" value="» " />