diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-04-07 13:29:36 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-04-07 13:29:36 +0200 |
commit | 4d08fcf1a7075c933c8b57b9bf1d66acbb19ec07 (patch) | |
tree | 62e38c58f072bc53e565d8d7679806154772b5d6 /Zotlabs | |
parent | 4499ee178f5ae7238fe1d3bd4bcc5060111f546a (diff) | |
download | volse-hubzilla-4d08fcf1a7075c933c8b57b9bf1d66acbb19ec07.tar.gz volse-hubzilla-4d08fcf1a7075c933c8b57b9bf1d66acbb19ec07.tar.bz2 volse-hubzilla-4d08fcf1a7075c933c8b57b9bf1d66acbb19ec07.zip |
Use Add Files/Photos instead of Upload to open the upload dialog
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Photos.php | 4 | ||||
-rw-r--r-- | Zotlabs/Storage/Browser.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php index 81af607ec..05cacb2c2 100644 --- a/Zotlabs/Module/Photos.php +++ b/Zotlabs/Module/Photos.php @@ -841,7 +841,7 @@ class Photos extends \Zotlabs\Web\Controller { '$album_id' => $datum, '$album_edit' => array(t('Edit Album'), $album_edit), '$can_post' => $can_post, - '$upload' => array(t('Upload'), z_root() . '/photos/' . \App::$data['channel']['channel_address'] . '/upload/' . $datum), + '$upload' => array(t('Add Photos'), z_root() . '/photos/' . \App::$data['channel']['channel_address'] . '/upload/' . $datum), '$order' => $order, '$upload_form' => $upload_form, '$usage' => $usage_message @@ -1378,7 +1378,7 @@ class Photos extends \Zotlabs\Web\Controller { '$title' => t('Recent Photos'), '$album_id' => bin2hex(t('Recent Photos')), '$can_post' => $can_post, - '$upload' => array(t('Upload'), z_root().'/photos/'.\App::$data['channel']['channel_address'].'/upload'), + '$upload' => array(t('Add Photos'), z_root().'/photos/'.\App::$data['channel']['channel_address'].'/upload'), '$photos' => $photos, '$upload_form' => $upload_form, '$usage' => $usage_message diff --git a/Zotlabs/Storage/Browser.php b/Zotlabs/Storage/Browser.php index f1c95802b..508c39d22 100644 --- a/Zotlabs/Storage/Browser.php +++ b/Zotlabs/Storage/Browser.php @@ -274,7 +274,7 @@ class Browser extends DAV\Browser\Plugin { '$actionspanel' => $output, '$shared' => t('Shared'), '$create' => t('Create'), - '$upload' => t('Upload'), + '$upload' => t('Add Files'), '$is_owner' => $is_owner, '$parentpath' => $parentpath, '$cpath' => bin2hex(\App::$query_string), |