aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Storage
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2018-02-24 06:48:56 -0500
committerAndrew Manning <tamanning@zoho.com>2018-02-24 06:48:56 -0500
commit497ebca54f5eaa74a1e9c9e4c5183c5565ce09e8 (patch)
tree784b6afd1e7b5f855dce8c4d1d703697cdac56e6 /Zotlabs/Storage
parent64ee42fc3d00765bc5c60e451b86230ea38ffdfb (diff)
parentf6d024cb3f2663cd1d61e5fc18546adb93b9a7db (diff)
downloadvolse-hubzilla-497ebca54f5eaa74a1e9c9e4c5183c5565ce09e8.tar.gz
volse-hubzilla-497ebca54f5eaa74a1e9c9e4c5183c5565ce09e8.tar.bz2
volse-hubzilla-497ebca54f5eaa74a1e9c9e4c5183c5565ce09e8.zip
Merge branch 'dev' into oauth2
Diffstat (limited to 'Zotlabs/Storage')
-rw-r--r--Zotlabs/Storage/Browser.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Storage/Browser.php b/Zotlabs/Storage/Browser.php
index c21b68971..f1c95802b 100644
--- a/Zotlabs/Storage/Browser.php
+++ b/Zotlabs/Storage/Browser.php
@@ -264,7 +264,10 @@ class Browser extends DAV\Browser\Plugin {
$this->server->emit('onHTMLActionsPanel', array($parent, &$output, $path));
}
-
+ $deftiles = (($is_owner) ? 0 : 1);
+ $tiles = ((array_key_exists('cloud_tiles',$_SESSION)) ? intval($_SESSION['cloud_tiles']) : $deftiles);
+ $_SESSION['cloud_tiles'] = $tiles;
+
$html .= replace_macros(get_markup_template('cloud.tpl'), array(
'$header' => t('Files') . ": " . $this->escapeHTML($path) . "/",
'$total' => t('Total'),