summaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-01-28 11:18:04 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-01-28 11:18:04 +0100
commit8067a1394e3dab551e65ec8abd12e673a811bf40 (patch)
treefd18fac68c7ca62ee50142e771f0da70a9c0925d /apps/files/templates
parentdbb0d0407324830f4a7ff51781c535c1cb0d2a06 (diff)
parent857b15db3739fe8fbbad4df0f10e9b48ba1f90c2 (diff)
downloadnextcloud-server-8067a1394e3dab551e65ec8abd12e673a811bf40.tar.gz
nextcloud-server-8067a1394e3dab551e65ec8abd12e673a811bf40.zip
fix merge conflicts
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/index.php2
-rw-r--r--apps/files/templates/part.list.php8
2 files changed, 2 insertions, 8 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index f6b4c29d5a2..2d4ed9ab2d9 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -54,7 +54,6 @@
<?php endif;?>
<input type="hidden" name="permissions" value="<?php echo $_['permissions']; ?>" id="permissions">
</div>
-<div id='notification'></div>
<?php if (isset($_['files']) and $_['isCreatable'] and count($_['files'])==0):?>
<div id="emptyfolder"><?php echo $l->t('Nothing in here. Upload something!')?></div>
@@ -119,3 +118,4 @@
<!-- config hints for javascript -->
<input type="hidden" name="allowZipDownload" id="allowZipDownload" value="<?php echo $_['allowZipDownload']; ?>" />
+<input type="hidden" name="usedSpacePercent" id="usedSpacePercent" value="<?php echo $_['usedSpacePercent']; ?>" />
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php
index 1970a80e1b7..f3f06d61d66 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('disableSharing', $_) && $_['disableSharing'] == true ) :?>
- var disableSharing = true;
-<?php else: ?>
- var disableSharing = false;
-<?php endif; ?>
-</script>
+<input type="hidden" id="disableSharing" data-status="<?php echo $_['disableSharing']; ?>">
<?php foreach($_['files'] as $file):
$simple_file_size = OCP\simple_file_size($file['size']);