From 1325a81e9afaf53415411537ce8db5e2d554ae69 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 27 Feb 2017 15:13:49 -0800 Subject: add file size notes to /cloud actions panel --- Zotlabs/Storage/Browser.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Zotlabs/Storage') diff --git a/Zotlabs/Storage/Browser.php b/Zotlabs/Storage/Browser.php index f527a6a44..21e91d2a2 100644 --- a/Zotlabs/Storage/Browser.php +++ b/Zotlabs/Storage/Browser.php @@ -322,12 +322,16 @@ class Browser extends DAV\Browser\Plugin { if(strpos($path,$special) === 0) $path = trim(substr($path,$count),'/'); + $info = t('Please use DAV to upload large (video, audio) files.
See Cloud Desktop Clients'); + + $output .= replace_macros(get_markup_template('cloud_actionspanel.tpl'), array( '$folder_header' => t('Create new folder'), '$folder_submit' => t('Create'), '$upload_header' => t('Upload file'), '$upload_submit' => t('Upload'), '$quota' => $quota, + '$info' => $info, '$channick' => $this->auth->owner_nick, '$aclselect' => $aclselect, '$allow_cid' => acl2json($channel_acl['allow_cid']), -- cgit v1.2.3