aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjknockaert <jasper@knockaert.nl>2015-02-19 16:08:33 +0100
committerjknockaert <jasper@knockaert.nl>2015-02-19 16:08:33 +0100
commit417e40d218037cd6f930a8dbacfe951eb9499e82 (patch)
tree394c9cb4e219a89729f05ea193e8d38a5fd8d0d6
parentd5ba6af25905797e0f38bccdb40cc012b3b7d3d6 (diff)
parent470994ba1eb89edf461f93726d51047fcf9665b6 (diff)
downloadnextcloud-server-417e40d218037cd6f930a8dbacfe951eb9499e82.tar.gz
nextcloud-server-417e40d218037cd6f930a8dbacfe951eb9499e82.zip
Merge remote-tracking branch 'origin/master'
Conflicts: apps/files_encryption/lib/stream.php
-rw-r--r--apps/files/css/files.css6
-rw-r--r--apps/files/css/mobile.css2
-rw-r--r--apps/files/index.php2
-rw-r--r--apps/files/templates/simplelist.php5
-rw-r--r--apps/files_encryption/lib/stream.php10
5 files changed, 21 insertions, 4 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 3829759a14e..eb6fec4a97f 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -556,6 +556,12 @@ table tr.summary td {
#scanning-message{ top:40%; left:40%; position:absolute; display:none; }
+#emptycontent .icon-starred {
+ height: 30px;
+ width: 30px;
+ margin: 0 auto 10px;
+}
+
table.dragshadow {
width:auto;
}
diff --git a/apps/files/css/mobile.css b/apps/files/css/mobile.css
index 780b7ac8443..4881f7c70e4 100644
--- a/apps/files/css/mobile.css
+++ b/apps/files/css/mobile.css
@@ -24,7 +24,7 @@ table td {
}
/* and accordingly fix left margin of file list summary on mobile */
.summary .info {
- margin-left: 55px;
+ margin-left: 105px;
}
/* remove shift for multiselect bar to account for missing navigation */
diff --git a/apps/files/index.php b/apps/files/index.php
index 02076226c1a..64b49c3bf1f 100644
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -93,7 +93,7 @@ function sortNavigationItems($item1, $item2) {
'id' => 'favorites',
'appname' => 'files',
'script' => 'simplelist.php',
- 'order' => 50,
+ 'order' => 5,
'name' => $l->t('Favorites')
)
);
diff --git a/apps/files/templates/simplelist.php b/apps/files/templates/simplelist.php
index c00febce653..15949bf704e 100644
--- a/apps/files/templates/simplelist.php
+++ b/apps/files/templates/simplelist.php
@@ -3,7 +3,10 @@
</div>
<div id='notification'></div>
-<div id="emptycontent" class="hidden"></div>
+<div id="emptycontent" class="hidden">
+ <div class="icon-starred"></div>
+ <?php p($l->t('Files and folders you mark as favorites will show up here')); ?>
+</div>
<input type="hidden" name="dir" value="" id="dir">
diff --git a/apps/files_encryption/lib/stream.php b/apps/files_encryption/lib/stream.php
index 644ac895a8f..0ec28e05e53 100644
--- a/apps/files_encryption/lib/stream.php
+++ b/apps/files_encryption/lib/stream.php
@@ -328,16 +328,24 @@ class Stream {
}
+<<<<<<< HEAD
$util = new Util($this->rootView, $this->userId);
// Fetch and decrypt keyfile
// Fetch existing keyfile
$this->encKeyfile = Keymanager::getFileKey($this->rootView, $util, $this->relPath);
+=======
+ // $util = new Util($this->rootView, $this->userId);
+
+ // Fetch and decrypt keyfile
+ // Fetch existing keyfile
+ $this->encKeyfile = Keymanager::getFileKey($this->rootView, $this->util, $this->relPath);
+>>>>>>> origin/master
// If a keyfile already exists
if ($this->encKeyfile) {
- $shareKey = Keymanager::getShareKey($this->rootView, $this->keyId, $util, $this->relPath);
+ $shareKey = Keymanager::getShareKey($this->rootView, $this->keyId, $this->util, $this->relPath);
// if there is no valid private key return false
if ($this->privateKey === false) {