summaryrefslogtreecommitdiffstats
path: root/apps/files/templates/part.list.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-26 18:49:45 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-26 18:49:45 +0100
commit930b9b9cd0e60170549485164f33b5fc004d7ca2 (patch)
treefa966587794f11861e4e46f52957840de6cb4a4a /apps/files/templates/part.list.php
parentf85838177596b3214430e750b5425bfe3c0cde86 (diff)
parentc9e25d3fab17b178759dd6d2f9488aa4cf37fbbb (diff)
downloadnextcloud-server-930b9b9cd0e60170549485164f33b5fc004d7ca2.tar.gz
nextcloud-server-930b9b9cd0e60170549485164f33b5fc004d7ca2.zip
merge master into filesystem
Diffstat (limited to 'apps/files/templates/part.list.php')
-rw-r--r--apps/files/templates/part.list.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php
index 98fc60954fa..1c683c11230 100644
--- a/apps/files/templates/part.list.php
+++ b/apps/files/templates/part.list.php
@@ -1,10 +1,4 @@
-<script type="text/javascript">
-<?php if ( array_key_exists('publicListView', $_) && $_['publicListView'] == true ) :?>
- var publicListView = true;
-<?php else: ?>
- var publicListView = false;
-<?php endif; ?>
-</script>
+<script type="text/javascript" src="<?php echo OC_Helper::linkToRoute('publicListView');?>"></script>
<?php foreach($_['files'] as $file):
$simple_file_size = OCP\simple_file_size($file['size']);