From c7086b77fdac7b7cf4e96010c72e0cff4829f10f Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 3 Jul 2014 00:58:49 -0700 Subject: move code out of templates - not sure how this even worked. --- include/reddav.php | 10 +++++++++- version.inc | 2 +- view/tpl/cloud_directory.tpl | 18 +++++++++--------- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/include/reddav.php b/include/reddav.php index c4b249598..c4ef5bd08 100644 --- a/include/reddav.php +++ b/include/reddav.php @@ -1280,7 +1280,15 @@ class RedBrowser extends DAV\Browser\Plugin { '$header' => t('Files') . ": " . $this->escapeHTML($path) . "/", '$parentpath' => $parentpath, '$entries' => $f, - '$quota' => $quota + '$quota' => $quota, + '$name' => t('Name'), + '$type' => t('Type'), + '$size' => t('Size'), + '$lastmod' => t('Last Modified'), + '$parent' => t('parent'), + '$edit' => t('Edit'), + '$delete' => t('Delete'), + '$total' => t('Total') )); $output = ''; diff --git a/version.inc b/version.inc index 265f47ba9..e6ba5b19d 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2014-07-02.724 +2014-07-03.725 diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl index fc6b3309a..5d22e4a16 100644 --- a/view/tpl/cloud_directory.tpl +++ b/view/tpl/cloud_directory.tpl @@ -2,19 +2,19 @@ - + - - - + + + {{if $parentpath}} - + + @@ -25,8 +25,8 @@ {{if $item.is_owner}} - - + + {{else}} {{/if}} @@ -39,5 +39,5 @@
{{t('Name')}}   {{$name}}    {{t('Type')}}   {{t('Size')}}   {{t('Last modified')}}{{$type}}   {{$size}}   {{$lastmod}}

{{$parentpath.icon}}.... - [{{t('parent')}}][{{$parent}}]
{{$item.displayName}}{{$item.attachIcon}}
{{if $quota.limit || $quota.used}} -

{{t('Total')}} {{$quota.desc}}

+

{{$total}} {{$quota.desc}}

{{/if}} \ No newline at end of file -- cgit v1.2.3