aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2014-05-05 13:54:56 +0000
committerjeroenpraat <jeroenpraat@xs4all.nl>2014-05-05 13:54:56 +0000
commitd93df86298450512853e4085f519486eea2d8468 (patch)
tree5cb17095d0ce4571b08ae15872a35b3ddca7f563 /include
parent806f1f0fa134cc0168c9f86aaf10b8357fc19905 (diff)
downloadvolse-hubzilla-d93df86298450512853e4085f519486eea2d8468.tar.gz
volse-hubzilla-d93df86298450512853e4085f519486eea2d8468.tar.bz2
volse-hubzilla-d93df86298450512853e4085f519486eea2d8468.zip
Fixed some wrapping problems when the user has set a larger font size. And some UI love for the file permissions page (as requested by Mike ;) and changed the position of the file properties link on the cloud page.
Diffstat (limited to 'include')
-rw-r--r--include/reddav.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/reddav.php b/include/reddav.php
index 03cfe1aab..0650531dd 100644
--- a/include/reddav.php
+++ b/include/reddav.php
@@ -1038,6 +1038,14 @@ class RedBrowser extends DAV\Browser\Plugin {
public function htmlActionsPanel(DAV\INode $node, &$output) {
+
+ if($this->auth->owner_id && $this->auth->owner_id == $this->auth->channel_id) {
+ $channel = get_app()->get_channel();
+ if($channel) {
+ $output .= '<tr><td colspan="2"><a href="filestorage/' . $channel['channel_address'] . '" >' . t('Edit File properties') . '</a></td></tr><tr><td>&nbsp;</td></tr>';
+ }
+ }
+
if (!$node instanceof DAV\ICollection)
return;
@@ -1062,14 +1070,6 @@ class RedBrowser extends DAV\Browser\Plugin {
</form>
</td></tr>';
-
- if($this->auth->owner_id && $this->auth->owner_id == $this->auth->channel_id) {
- $channel = get_app()->get_channel();
- if($channel) {
- $output .= '<tr><td>&nbsp;</td></tr><tr><td colspan="2"><a href="filestorage/' . $channel['channel_address'] . '" >' . t('Edit File properties') . '</a></td></tr>';
- }
- }
-
}
/**