X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=js_upload%2Fjs_upload.php;h=2b15720b4fa5eeb0c72ae00fcbb82499346756e1;hb=38bf5d4a5afec8f0cb58ddd5742815238219f10d;hp=148fde313a43557d9b2068aa773c029127731590;hpb=6728d714cbdb1552ccb2684dbc123a5dd3cda5a8;p=friendica-addons.git diff --git a/js_upload/js_upload.php b/js_upload/js_upload.php old mode 100755 new mode 100644 index 148fde31..2b15720b --- a/js_upload/js_upload.php +++ b/js_upload/js_upload.php @@ -1,5 +1,4 @@ get_baseurl() . '/addon/js_upload/file-uploader/client/fileuploader.css" rel="stylesheet" type="text/css">'; $b['addon_text'] .= ''; - - $upload_msg = t('Upload a file'); - $drop_msg = t('Drop files here to upload'); - $cancel = t('Cancel'); - $failed = t('Failed'); - $maximagesize = intval(get_config('system','maximagesize')); + $upload_msg = L10n::t('Upload a file'); + $drop_msg = L10n::t('Drop files here to upload'); + $cancel = L10n::t('Cancel'); + $failed = L10n::t('Failed'); + + $maximagesize = intval(Config::get('system','maximagesize')); $b['addon_text'] .= <<< EOT - -
-