diff options
-rw-r--r-- | include/reddav.php | 10 | ||||
-rw-r--r-- | version.inc | 2 | ||||
-rw-r--r-- | 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 @@ <table id="cloud-index"> <tr> <th></th> - <th>{{t('Name')}} </th> + <th>{{$name}} </th> <th></th><th></th><th></th> - <th>{{t('Type')}} </th> - <th>{{t('Size')}} </th> - <th>{{t('Last modified')}}</th> + <th>{{$type}} </th> + <th>{{$size}} </th> + <th>{{$lastmod}}</th> </tr> <tr><td colspan="8"><hr></td></tr> {{if $parentpath}} <tr> <td>{{$parentpath.icon}}</td> - <td><a href="{{$parentpath.path}}" title="{{t('parent')}}">..</a></td> + <td><a href="{{$parentpath.path}}" title="{{$parent}}">..</a></td> <td></td><td></td><th></td> - <td>[{{t('parent')}}]</td> + <td>[{{$parent}}]</td> <td></td> <td></td> </tr> @@ -25,8 +25,8 @@ <td style="min-width: 15em"><a href="{{$item.fullPath}}">{{$item.displayName}}</a></td> {{if $item.is_owner}} <td>{{$item.attachIcon}}</td> - <td style="position:relative;"><a href="{{$item.fileStorageUrl}}/{{$item.attachId}}/edit" title="{{t('Edit')}}"><i class="icon-pencil btn btn-default"></i></a></td> - <td><a href="{{$item.fileStorageUrl}}/{{$item.attachId}}/delete" title="{{t('Delete')}}" onclick="return confirm('{{t('Are you sure you want to delete this item?')}}');"><i class="icon-remove btn btn-default drop-icons"></i></a></td> + <td style="position:relative;"><a href="{{$item.fileStorageUrl}}/{{$item.attachId}}/edit" title="{{$edit}}"><i class="icon-pencil btn btn-default"></i></a></td> + <td><a href="{{$item.fileStorageUrl}}/{{$item.attachId}}/delete" title="{{$delete}}" onclick="return confirmDelete();"><i class="icon-remove btn btn-default drop-icons"></i></a></td> {{else}} <td></td><td></td><td></td> {{/if}} @@ -39,5 +39,5 @@ </table> {{if $quota.limit || $quota.used}} - <p><strong>{{t('Total')}}</strong> {{$quota.desc}}</p> + <p><strong>{{$total}}</strong> {{$quota.desc}}</p> {{/if}}
\ No newline at end of file |