Poprawienie pluginu do wysyłania plików do wyszczególnionych użytkowników. Przetłumaczenie pluginu, wyczyszczenie kodu.

This commit is contained in:
Parys 2017-06-01 22:01:30 +02:00
parent fafd76470e
commit 772be5f3b8
37 changed files with 785 additions and 2555 deletions

2
help
View File

@ -4,6 +4,8 @@
[simple-login-form] //Formularz logowania
[userfiles] //Plik-user
.AnkietyGO { //dkpdf css
display:none;
}

Binary file not shown.

View File

@ -1,43 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: User File Manager\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-31 19:58+0000\n"
"PO-Revision-Date: 2017-05-31 20:00+0000\n"
"Last-Translator: admin <parys15@gmail.com>\n"
"Language-Team: Polish\n"
"Language: pl-PL\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10 >= 2 && n%10<=4 "
"&&(n%100<10||n%100 >= 20)? 1 : 2)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco - https://localise.biz/"
#. Name of the plugin
msgid "User File Manager"
msgstr "Menadżer plików użytkowników "
#. Description of the plugin
msgid ""
"Plugin to manage files for your users. You can upload files for your users "
"to access, files uploaded to the user account are only viewable by the "
"designated user. Files can be sorted and uploaded by category. Options "
"available for user to add and/or delete files, upload notifications, widgets,"
" and shortcode. You can also use custom icons for files."
msgstr ""
"Plugin do zarządzania plikami przeznaczonymi dla Twoich użytkowników. Możesz "
"umieścić na stronie pliki by odpowiedni użytkownicy mieli do nich dostęp. "
"Pliki mogą być posortowane i aktualizowane przez kategorię. "
#. URI of the plugin
msgid "http://www.whereyoursolutionis.com/user-files-plugin/"
msgstr "http://www.whereyoursolutionis.com/user-files-plugin/"
#. Author of the plugin
msgid "Innovative Solutions"
msgstr "Innowacyjne rozwiązania"
#. Author URI of the plugin
msgid "http://www.whereyoursolutionis.com/author/scriptonite/"
msgstr "http://www.whereyoursolutionis.com/author/scriptonite/"

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -1,14 +0,0 @@
function toggle2(showHideDiv, switchTextDiv) {
var ele = document.getElementById(showHideDiv);
var text = document.getElementById(switchTextDiv);
if(ele.style.display == "block") {
ele.style.display = "none";
text.innerHTML = "Show Notes";
}
else {
ele.style.display = "block";
text.innerHTML = "Hide Notes";
}
}

View File

@ -1,16 +0,0 @@
jQuery(document).ready(function() {
jQuery('#upload_image_button').click(function() {
formfield = jQuery('#upload_image').attr('name');
tb_show('','media-upload.php?type=image&TB_iframe=true');
return false;
});
// send url back to plugin editor
window.send_to_editor = function(html) {
imgurl = jQuery('img',html).attr('src');
jQuery('#dfrads_textarea').val(imgurl);
tb_remove();
}
});

View File

@ -1,441 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: User Files\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-08-25 19:07-0500\n"
"PO-Revision-Date: 2012-08-25 19:12-0500\n"
"Last-Translator: Scriptonite <Tom@whereyoursolutionis.com>\n"
"Language-Team: Innovative Solutions <Sales@whereyoursolutionis.com>\n"
"Language: en_US\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: _;gettext;gettext_noop;_e;__\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: G:\\SkyDrive\\web projects\\01-SVN\\user-files"
"\\trunk\n"
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:214
#: projects\01-SVN\user-files\trunk/user_files.php:837
msgid "No Files"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:230
msgid "User Files Settings"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:230
#: projects\01-SVN\user-files\trunk/user_files.php:444
msgid "User Files"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:232
#: projects\01-SVN\user-files\trunk/functions.php:250
msgid "Manage Files"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:234
#: projects\01-SVN\user-files\trunk/functions.php:445
#: projects\01-SVN\user-files\trunk/user_files.php:1383
msgid "Add Files"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:236
msgid "Categories"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:238
msgid "Manage Icons"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:240
msgid "FTP Paths"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:243
msgid "Help"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:280
#: projects\01-SVN\user-files\trunk/user_files.php:462
#: projects\01-SVN\user-files\trunk/user_files.php:1236
msgid "The file has been deleted"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:284
#: projects\01-SVN\user-files\trunk/user_files.php:466
#: projects\01-SVN\user-files\trunk/user_files.php:1240
msgid "There was an error deleting the file, please try again!"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:321
msgid "An adminisrator has successfully been notified of your upload."
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:328
#: projects\01-SVN\user-files\trunk/user_files.php:1127
#: projects\01-SVN\user-files\trunk/user_files.php:1861
msgid "There was an error uploading the file, please try again!"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:355
#: projects\01-SVN\user-files\trunk/user_files.php:612
#: projects\01-SVN\user-files\trunk/user_files.php:1278
msgid "or"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:358
#: projects\01-SVN\user-files\trunk/user_files.php:615
#: projects\01-SVN\user-files\trunk/user_files.php:1281
msgid "Show all categories"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:373
#: projects\01-SVN\user-files\trunk/user_files.php:657
#: projects\01-SVN\user-files\trunk/user_files.php:1296
msgid "Filter"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:381
#: projects\01-SVN\user-files\trunk/user_files.php:1451
msgid "Your Files"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:421
#: projects\01-SVN\user-files\trunk/user_files.php:1361
msgid "No files found for"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:425
#: projects\01-SVN\user-files\trunk/user_files.php:1365
msgid "Nothing found for category"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:431
#: projects\01-SVN\user-files\trunk/user_files.php:1370
#: projects\01-SVN\user-files\trunk/user_files.php:1485
#: projects\01-SVN\user-files\trunk/widget.php:49
msgid "You have no files"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:457
msgid "Choose a file to upload, your upload limit is"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:484
#: projects\01-SVN\user-files\trunk/user_files.php:1186
#: projects\01-SVN\user-files\trunk/user_files.php:1422
#: projects\01-SVN\user-files\trunk/widget.php:150
msgid "Upload File"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:581
msgid "A new file at"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:581
msgid "has just uploaded"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:581
msgid "to category"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:582
msgid "An administrator has successfully been notified of your upload."
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/functions.php:589
msgid "Error with file upload"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:244
#: projects\01-SVN\user-files\trunk/user_files.php:492
msgid "The folder has been deleted"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:248
#: projects\01-SVN\user-files\trunk/user_files.php:496
msgid "There was an error deleting the folder, please try again!"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:262
msgid "File Manager Options"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:278
msgid ""
"This will delete all files, folders, categories, icons, etc. Are you sure "
"you want to do this?"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:279
msgid "Yes"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:279
msgid "No"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:355
msgid "Settings Saved"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:373
msgid "Show Dashboard Widget"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:377
msgid "Show dashboard menu link"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:380
msgid "Allow users to add files"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:383
msgid "Allow users to delete files"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:387
msgid "Show credit link on user page? Not expected, but certainly appreciated!"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:387
msgid "All other banners and ads are visible to user file admins only."
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:395
msgid "Send email upload notifcations to"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:395
msgid "leave blank to not be notified of uploads"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:399
msgid ""
"User File Manager supports custom email notifications to be sent out when "
"you upload a file for a user. Variables allowed are"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:403
msgid "Email Subject"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:414
msgid "update"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:415
msgid "Save Options"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:431
msgid "Uninstall User File Manager"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:565
msgid "Changes Saved"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:569
msgid "There was an error changing"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:609
msgid "Search for File"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:631
msgid "For all users"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:683
msgid "Change"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:725
#: projects\01-SVN\user-files\trunk/user_files.php:796
#: projects\01-SVN\user-files\trunk/user_files.php:813
#: projects\01-SVN\user-files\trunk/user_files.php:867
#: projects\01-SVN\user-files\trunk/user_files.php:930
msgid "User Login"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:725
#: projects\01-SVN\user-files\trunk/user_files.php:796
#: projects\01-SVN\user-files\trunk/user_files.php:813
#: projects\01-SVN\user-files\trunk/user_files.php:867
#: projects\01-SVN\user-files\trunk/user_files.php:930
msgid "User Name"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:725
#: projects\01-SVN\user-files\trunk/user_files.php:796
#: projects\01-SVN\user-files\trunk/user_files.php:813
#: projects\01-SVN\user-files\trunk/user_files.php:867
#: projects\01-SVN\user-files\trunk/user_files.php:930
msgid "Delete Folder"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:767
#: projects\01-SVN\user-files\trunk/user_files.php:802
#: projects\01-SVN\user-files\trunk/user_files.php:848
#: projects\01-SVN\user-files\trunk/user_files.php:893
#: projects\01-SVN\user-files\trunk/user_files.php:936
msgid "Update"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:778
msgid "No Files Found"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:841
msgid "No files found"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:889
msgid "No files found for this user in category"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:976
msgid ""
"is the default category. You cannot delete this unless you change the "
"default category."
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:993
msgid "This is already a cataegory."
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1003
msgid " has been added"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1009
msgid "There was an error adding the category"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1023
msgid "is now default"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1060
msgid "Add Category"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1069
msgid "Upload Files"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1122
msgid "The file "
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1123
msgid "has been uploaded to "
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1142
msgid "Files for user"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1180
msgid "Notify User of Upload"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1395
#: projects\01-SVN\user-files\trunk/widget.php:123
msgid "Choose a file to upload, your upload limit is "
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1430
msgid "You must be logged in to view files"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1476
msgid "Download"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1850
msgid "The file"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1850
msgid "has been uploaded"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1881
msgid ""
"Extension already exists, please delete the current extension set before "
"uploading a new one."
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1916
msgid "You must have both a file and extension"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1930
msgid "File Deleted"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1935
msgid "There was an error deleting this extension"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1945
msgid "Icons"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1962
msgid "New Icon"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1963
msgid "Upload Icon file"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1968
msgid "Extension"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1970
msgid "Add"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:1991
msgid ""
"Files can be uploaded to the users folder via FTP as well as through the "
"upload page. If the users has no folder press create folder to create the "
"users file folder."
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:2005
msgid "User Paths for FTP upload"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:2005
msgid "User files folder is located"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:2005
msgid "Folder Number"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/user_files.php:2028
msgid "Create Folder"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/widget.php:54
msgid "You must log in to view files"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/widget.php:77
#: projects\01-SVN\user-files\trunk/widget.php:176
msgid "Title:"
msgstr ""
#: G:\SkyDrive\web projects\01-SVN\user-files\trunk/widget.php:157
msgid "You must login to upload files"
msgstr ""

Binary file not shown.

View File

@ -1,599 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: User Files\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-01-24 20:15-0500\n"
"PO-Revision-Date: 2012-01-24 20:15-0500\n"
"Last-Translator: Scriptonite <Tom@whereyoursolutionis.com>\n"
"Language-Team: Innovative Solutions <Sales@whereyoursolutionis.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: _;gettext;gettext_noop;_e;__\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-Language: English\n"
"X-Poedit-Country: UNITED STATES\n"
"X-Poedit-SearchPath-0: D:\\Asus WebStorage\\web projects\\Wordpress Plugins\\mine\\user-files\\trunk\n"
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:195
#: Plugins\mine\user-files\trunk/user_files.php:768
msgid "No Files"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:211
msgid "User Files Settings"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:211
#: Plugins\mine\user-files\trunk/user_files.php:596
msgid "User Files"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:213
#: Plugins\mine\user-files\trunk/functions.php:231
msgid "Manage Files"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:215
#: Plugins\mine\user-files\trunk/functions.php:423
#: Plugins\mine\user-files\trunk/user_files.php:1293
msgid "Add Files"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:217
msgid "Categories"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:219
msgid "Manage Icons"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:221
msgid "FTP Paths"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:224
msgid "Help"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:261
#: Plugins\mine\user-files\trunk/user_files.php:413
#: Plugins\mine\user-files\trunk/user_files.php:1147
msgid "The file has been deleted"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:265
#: Plugins\mine\user-files\trunk/user_files.php:417
#: Plugins\mine\user-files\trunk/user_files.php:1151
msgid "There was an error deleting the file, please try again!"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:302
msgid "An adminisrator has successfully been notified of your upload."
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:309
#: Plugins\mine\user-files\trunk/user_files.php:1050
#: Plugins\mine\user-files\trunk/user_files.php:1657
msgid "There was an error uploading the file, please try again!"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:336
#: Plugins\mine\user-files\trunk/user_files.php:543
#: Plugins\mine\user-files\trunk/user_files.php:1190
msgid "or"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:339
#: Plugins\mine\user-files\trunk/user_files.php:546
#: Plugins\mine\user-files\trunk/user_files.php:1193
msgid "Show all categories"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:354
#: Plugins\mine\user-files\trunk/user_files.php:588
#: Plugins\mine\user-files\trunk/user_files.php:1208
msgid "Filter"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:362
#: Plugins\mine\user-files\trunk/user_files.php:1361
msgid "Your Files"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:399
#: Plugins\mine\user-files\trunk/user_files.php:1271
msgid "No files found for"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:403
#: Plugins\mine\user-files\trunk/user_files.php:1275
msgid "Nothing found for category"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:409
#: Plugins\mine\user-files\trunk/user_files.php:1280
#: Plugins\mine\user-files\trunk/user_files.php:1395
#: Plugins\mine\user-files\trunk/widget.php:46
msgid "You have no files"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:435
msgid "Choose a file to upload, your upload limit is"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:462
#: Plugins\mine\user-files\trunk/user_files.php:1109
#: Plugins\mine\user-files\trunk/user_files.php:1332
#: Plugins\mine\user-files\trunk/widget.php:147
msgid "Upload File"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:553
msgid "A new file at"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:553
msgid "has just uploaded"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:553
msgid "to category"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:554
msgid "An administrator has successfully been notified of your upload."
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/functions.php:561
msgid "Error with file upload"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:201
#: Plugins\mine\user-files\trunk/user_files.php:443
msgid "The folder has been deleted"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:205
#: Plugins\mine\user-files\trunk/user_files.php:447
msgid "There was an error deleting the folder, please try again!"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:220
msgid "File Manager Options"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:232
msgid "This will delete all files, folders, categories, icons, etc. Are you sure you want to do this?"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:233
msgid "Yes"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:233
msgid "No"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:309
msgid "Settings Saved"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:327
msgid "Show Dashboard Widget"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:331
msgid "Show dashboard menu link"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:334
msgid "Allow users to add files"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:337
msgid "Allow users to delete files"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:341
msgid "Show credit link on user page? Not expected, but certainly appreciated!"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:341
msgid "All other banners and ads are visible to user file admins only."
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:349
msgid "Send email upload notifcations to"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:349
msgid "leave blank to not be notified of uploads"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:353
msgid "User File Manager supports custom email notifications to be sent out when you upload a file for a user. Variables allowed are"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:357
msgid "Email Subject"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:369
msgid "Save Options"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:385
msgid "Uninstall User File Manager"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:496
msgid "Categories have been changes successfully"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:500
msgid "There was an error changing"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:540
msgid "Search for File"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:562
msgid "For all users"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:614
msgid "Change"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:656
#: Plugins\mine\user-files\trunk/user_files.php:727
#: Plugins\mine\user-files\trunk/user_files.php:744
#: Plugins\mine\user-files\trunk/user_files.php:798
#: Plugins\mine\user-files\trunk/user_files.php:859
msgid "User Login"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:656
#: Plugins\mine\user-files\trunk/user_files.php:727
#: Plugins\mine\user-files\trunk/user_files.php:744
#: Plugins\mine\user-files\trunk/user_files.php:798
#: Plugins\mine\user-files\trunk/user_files.php:859
msgid "User Name"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:656
#: Plugins\mine\user-files\trunk/user_files.php:727
#: Plugins\mine\user-files\trunk/user_files.php:744
#: Plugins\mine\user-files\trunk/user_files.php:798
#: Plugins\mine\user-files\trunk/user_files.php:859
msgid "Delete Folder"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:709
msgid "No Files Found"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:772
msgid "No files found"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:820
msgid "No files found for this user in category"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:903
msgid "is the default category. You cannot delete this unless you change the default category."
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:918
msgid "This is already a cataegory."
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:928
msgid " has been added"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:932
msgid "There was an error adding the category"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:946
msgid "is now default"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:983
msgid "Add Category"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:994
msgid "Upload Files"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1045
msgid "The file "
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1046
msgid "has been uploaded to "
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1065
msgid "Files for user"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1103
msgid "Notify User of Upload"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1305
#: Plugins\mine\user-files\trunk/widget.php:120
msgid "Choose a file to upload, your upload limit is "
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1340
msgid "You must be logged in to view files"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1386
msgid "Download"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1646
msgid "The file"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1646
msgid "has been uploaded"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1677
msgid "Extension already exists, please delete the current extension set before uploading a new one."
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1712
msgid "You must have both a file and extension"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1726
msgid "File Deleted"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1731
msgid "There was an error deleting this extension"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1740
msgid "Icons"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1757
msgid "New Icon"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1758
msgid "Upload Icon file"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1763
msgid "Extension"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1765
msgid "Add"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1785
msgid "Files can be uploaded to the users folder via FTP as well as through the upload page. If the users has no folder press create folder to create the users file folder."
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1799
msgid "User Paths for FTP upload"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1799
msgid "User files folder is located"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1799
msgid "Folder Number"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/user_files.php:1822
msgid "Create Folder"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/widget.php:51
msgid "You must log in to view files"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/widget.php:74
#: Plugins\mine\user-files\trunk/widget.php:173
msgid "Title:"
msgstr ""
#: D:\Asus
#: WebStorage\web projects\Wordpress
#: Plugins\mine\user-files\trunk/widget.php:154
msgid "You must login to upload files"
msgstr ""

Binary file not shown.

Binary file not shown.

View File

@ -1,493 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: User Files Manager\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-01-01 22:19+0100\n"
"PO-Revision-Date: 2012-01-01 22:19+0100\n"
"Last-Translator: Hubert CAMPAN <hcampan@mac.com>\n"
"Language-Team: OmniMaki <admin@omnimaki.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Poedit-Language: French\n"
"X-Poedit-Country: FRANCE\n"
"X-Poedit-SourceCharset: utf-8\n"
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-Bookmarks: \n"
"X-Poedit-SearchPath-0: .\n"
"X-Textdomain-Support: yes"
#: functions.php:195
#: user_files.php:768
#@ userfiles
msgid "No Files"
msgstr "Aucun Fichier"
#: functions.php:211
#@ userfiles
msgid "User Files Settings"
msgstr "Paramètres de User Files"
#: functions.php:211
#: user_files.php:596
#@ userfiles
msgid "User Files"
msgstr "User Files"
#: functions.php:213
#: functions.php:231
#@ userfiles
msgid "Manage Files"
msgstr "Gérer les Fichiers"
#: functions.php:215
#: functions.php:421
#: user_files.php:1293
#@ userfiles
#@ default
msgid "Add Files"
msgstr "Ajouter des Fichiers"
#: functions.php:217
#@ userfiles
msgid "Categories"
msgstr "Catégories"
#: functions.php:219
#@ userfiles
msgid "Manage Icons"
msgstr "Gérer les icones"
#: functions.php:221
#@ userfiles
msgid "FTP Paths"
msgstr "Chemins FTP"
#: functions.php:224
#@ userfiles
msgid "Help"
msgstr "Aide"
#: functions.php:261
#: user_files.php:413
#: user_files.php:1147
#@ userfiles
msgid "The file has been deleted"
msgstr "Le fichier a été effacé"
#: functions.php:265
#: user_files.php:417
#: user_files.php:1151
#@ userfiles
msgid "There was an error deleting the file, please try again!"
msgstr "Il y a eu une erreur à la suppression du fichier, essayez à nouveau!"
#: functions.php:302
#@ userfiles
msgid "An adminisrator has successfully been notified of your upload."
msgstr "Un administrateur a été notifié avec succès de votre téléversement."
#: functions.php:309
#: user_files.php:1050
#: user_files.php:1657
#@ userfiles
msgid "There was an error uploading the file, please try again!"
msgstr "Il y a eu une erreur au téléversement du fichier, veuillez essayer à nouveau!"
#: functions.php:336
#: user_files.php:543
#: user_files.php:1190
#@ userfiles
#@ default
msgid "or"
msgstr "ou"
#: functions.php:339
#: user_files.php:546
#: user_files.php:1193
#@ userfiles
#@ default
msgid "Show all categories"
msgstr "Montrer toutes les catégories"
#: functions.php:397
#: user_files.php:1271
#@ userfiles
msgid "No files found for"
msgstr "Aucun fichier pour"
#: functions.php:401
#: user_files.php:1275
#@ userfiles
msgid "Nothing found for category"
msgstr "Aucun fichier pour la catégorie"
#: functions.php:407
#: user_files.php:1280
#: user_files.php:1395
#: widget.php:49
#@ userfiles
msgid "You have no files"
msgstr "Vous n'avez aucun fichier"
#: functions.php:433
#@ userfiles
msgid "Choose a file to upload, your upload limit is"
msgstr "Sélectionnez un fichier à téléverser, votre limite est"
#: functions.php:460
#: user_files.php:1332
#: widget.php:150
#@ userfiles
#@ default
msgid "Upload File"
msgstr "Téléverser un fichier"
#: functions.php:551
#@ userfiles
msgid "A new file at"
msgstr "Un nouveau fichier à"
#: functions.php:551
#@ userfiles
msgid "has just uploaded"
msgstr "vient juste de téléverser"
#: functions.php:551
#@ userfiles
msgid "to category"
msgstr "à la catégorie"
#: functions.php:552
#@ userfiles
msgid "An administrator has successfully been notified of your upload."
msgstr "Un administrateur a été prévenu avec succès de votre téléversement."
#: functions.php:559
#@ userfiles
msgid "Error with file upload"
msgstr "Erreur avec le fichier à téléverser"
#: functions.php:577
#@ default
msgid "User Files has been updated, if you experience any issues please deactivate and reactivate the plugin"
msgstr "User Files a été mis à jour, si vous avez le moindre problème veuillez désactiver puis réactiver l'extension"
#: user_files.php:201
#: user_files.php:443
#@ userfiles
msgid "The folder has been deleted"
msgstr "Le répertoire a été effacé"
#: user_files.php:205
#: user_files.php:447
#@ userfiles
msgid "There was an error deleting the folder, please try again!"
msgstr "Il y a eu une erreur à l'effacement du répertoire, veuillez essayer à nouveau!"
#: user_files.php:220
#@ default
msgid "File Manager Options"
msgstr "Paramètres du gestionnaire de fichiers"
#: user_files.php:232
#@ userfiles
msgid "This will delete all files, folders, categories, icons, etc. Are you sure you want to do this?"
msgstr "Cela va effacer tous les fichiers, répertoires, catégories, icones, etc. Etes-vous sûr de vouloir faire cela?"
#: user_files.php:233
#@ userfiles
msgid "Yes"
msgstr "Oui"
#: user_files.php:233
#@ userfiles
msgid "No"
msgstr "Non"
#: user_files.php:309
#@ userfiles
msgid "Settings Saved"
msgstr "Paramètres Enregistrés"
#: user_files.php:327
#@ userfiles
msgid "Show Dashboard Widget"
msgstr "Afficher le Widget dans le Tableau de Bord"
#: user_files.php:331
#@ userfiles
msgid "Show dashboard menu link"
msgstr "Afficher la lien vers le Tableau de Bord"
#: user_files.php:334
#@ userfiles
msgid "Allow users to add files"
msgstr "Autoriser l'utilisateur à ajouter des fichiers"
#: user_files.php:337
#@ userfiles
msgid "Allow users to delete files"
msgstr "Autoriser l'utilisateur à supprimer des fichiers"
#: user_files.php:341
#@ userfiles
msgid "Show credit link on user page? Not expected, but certainly appreciated!"
msgstr "Mettre un lien vers notre site ? Inattendu, mais très apprécié!"
#: user_files.php:341
#@ userfiles
msgid "All other banners and ads are visible to user file admins only."
msgstr "Toutes les bannières sont visibles seulement au administrateurs."
#: user_files.php:349
#@ userfiles
msgid "Send email upload notifcations to"
msgstr "Envoyer une notification de téléversement par email à"
#: user_files.php:349
#@ userfiles
msgid "leave blank to not be notified of uploads"
msgstr "Laisser vide pour ne pas notifier"
#: user_files.php:353
#@ userfiles
msgid "User File Manager supports custom email notifications to be sent out when you upload a file for a user. Variables allowed are"
msgstr "User File Manager permet de personnaliser l'email de notification permettant de de prévenir l'utilisateur quand un fichier est téléversé pour lui. Voici les variables autorisées :"
#: user_files.php:357
#@ userfiles
msgid "Email Subject"
msgstr "Sujet de l'email"
#: user_files.php:369
#@ userfiles
msgid "Save Options"
msgstr "Enregistrer les paramètres"
#: user_files.php:385
#@ userfiles
msgid "Uninstall User File Manager"
msgstr "Désinstaller User Files Manager"
#: user_files.php:496
#@ userfiles
msgid "Categories have been changes successfully"
msgstr "Les catégories ont été modifiées avec succès"
#: user_files.php:500
#@ userfiles
msgid "There was an error changing"
msgstr "Il y a eu une erreur à la modification"
#: user_files.php:562
#@ default
msgid "For all users"
msgstr "Pour tous les utilisateurs"
#: user_files.php:656
#: user_files.php:727
#: user_files.php:744
#: user_files.php:798
#: user_files.php:859
#@ userfiles
msgid "User Login"
msgstr "Nom d'Accès"
#: user_files.php:656
#: user_files.php:727
#: user_files.php:744
#: user_files.php:798
#: user_files.php:859
#@ userfiles
msgid "User Name"
msgstr "Nom de l'Utilisateur"
#: user_files.php:656
#: user_files.php:727
#: user_files.php:744
#: user_files.php:798
#: user_files.php:859
#@ userfiles
msgid "Delete Folder"
msgstr "Effacer le répertoire"
#: user_files.php:709
#@ userfiles
msgid "No Files Found"
msgstr "Aucun fichier trouvé"
#: user_files.php:772
#@ userfiles
msgid "No files found"
msgstr "Aucun fichier trouvé"
#: user_files.php:820
#@ userfiles
msgid "No files found for this user in category"
msgstr "Aucun fichier trouvé pour cet utilisateur dans la catégorie"
#: user_files.php:903
#@ userfiles
msgid "is the default category. You cannot delete this unless you change the default category."
msgstr "est la catégorie par défaut. Vous ne pouvez pas l'effacer à moins que vous ne changiez la catégorie par défaut."
#: user_files.php:918
#@ userfiles
msgid "This is already a cataegory."
msgstr "C'est déjà une catégorie."
#: user_files.php:928
#@ userfiles
msgid " has been added"
msgstr "a été ajouté"
#: user_files.php:932
#@ userfiles
msgid "There was an error adding the category"
msgstr "Il y a eu une erreur à l'ajout de la catégorie"
#: user_files.php:946
#@ userfiles
msgid "is now default"
msgstr "est maintenant par défaut"
#: user_files.php:994
#@ userfiles
msgid "Upload Files"
msgstr "Téléverser des Fichiers"
#: user_files.php:1045
#@ userfiles
msgid "The file "
msgstr "Le fichier "
#: user_files.php:1046
#@ userfiles
msgid "has been uploaded to "
msgstr "a été téléversé vers "
#: user_files.php:1065
#@ userfiles
msgid "Files for user"
msgstr "Fichiers pour l'utilisateur"
#: user_files.php:1103
#@ userfiles
msgid "Notify User of Upload"
msgstr "Notifier l'utilisateur du téléversement"
#: user_files.php:1305
#: widget.php:123
#@ default
msgid "Choose a file to upload, your upload limit is "
msgstr "Choisissez un fichier à téléverser, votre limite est de "
#: user_files.php:1340
#@ userfiles
msgid "You must be logged in to view files"
msgstr "Vous devez être connecté pour pouvoir voir les fichiers"
#: user_files.php:1361
#@ userfiles
msgid "Your Files"
msgstr "Vos fichiers"
#: user_files.php:1386
#@ userfiles
msgid "Download"
msgstr "Télécharger"
#: user_files.php:1646
#@ userfiles
msgid "The file"
msgstr "Le fichier"
#: user_files.php:1646
#@ userfiles
msgid "has been uploaded"
msgstr "a été téléversé"
#: user_files.php:1677
#@ userfiles
msgid "Extension already exists, please delete the current extension set before uploading a new one."
msgstr "L'extension existe déjà, veuillez d'abord effacer le jeu d'extension actuel avant d'en téléverser un nouveau."
#: user_files.php:1712
#@ userfiles
msgid "You must have both a file and extension"
msgstr "Vous devez avoir à la fois un fichier et une extension"
#: user_files.php:1726
#@ userfiles
msgid "File Deleted"
msgstr "Fichier Effacé"
#: user_files.php:1731
#@ userfiles
msgid "There was an error deleting this extension"
msgstr "Il y a eu une erreur à l'effacement de cette extension"
#: user_files.php:1740
#@ userfiles
msgid "Icons"
msgstr "Icônes"
#: user_files.php:1757
#@ userfiles
msgid "New Icon"
msgstr "Nouvel icône"
#: user_files.php:1758
#@ userfiles
msgid "Upload Icon file"
msgstr "Téléverser le Fichier de l'Icône"
#: user_files.php:1763
#@ userfiles
msgid "Extension"
msgstr "Extension"
#: user_files.php:1765
#@ userfiles
msgid "Add"
msgstr "Ajouter"
#: user_files.php:1785
#@ userfiles
msgid "Files can be uploaded to the users folder via FTP as well as through the upload page. If the users has no folder press create folder to create the users file folder."
msgstr "Des fichiers peuvent être téléversés vers le repertoire de l'utilisateur par FTP ainsi que par la page de téléversement. Si l'utilisateur n'a pas de répertoire, veuillez en créer un en cliquant sur le bouton Créer Repertoire."
#: user_files.php:1799
#@ userfiles
msgid "User Paths for FTP upload"
msgstr "Chemins FTP d'Utilisateurs pour le téléversement"
#: user_files.php:1799
#@ userfiles
msgid "User files folder is located"
msgstr "Le répertoire de fichiers de l'utilisateur a été trouvé"
#: user_files.php:1799
#@ userfiles
msgid "Folder Number"
msgstr "Répertoire numéro"
#: widget.php:54
#@ userfiles
msgid "You must log in to view files"
msgstr "Vous devez vous connecter pour voir les fichiers"
#: widget.php:77
#: widget.php:176
#@ default
msgid "Title:"
msgstr "Titre:"
#: widget.php:157
#@ userfiles
msgid "You must login to upload files"
msgstr "Vous devez vous connecter pour téléverser des fichiers"

Binary file not shown.

View File

@ -1,525 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: User Files\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-27 17:47-0500\n"
"PO-Revision-Date: 2012-01-24 22:10-0300\n"
"Last-Translator: Murilo Fernandes <murilo@jlle.org>\n"
"Language-Team: Murilo <contato@murilo.blog.br>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: _;gettext;gettext_noop;_e;__\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-Language: Portuguese\n"
"X-Poedit-Country: BRAZIL\n"
"X-Poedit-SearchPath-0: C:\\Users\\Tom\\AppData\\Roaming\\Notepad++\\plugins\\config\\NppFTP\\Cache\\scriptonite.net@ftp.scriptonite.net\\htdocs\\wp-content\\plugins\\user-files\n"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:199
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:768
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:168
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:733
msgid "No Files"
msgstr "Nenhum arquivo"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:215
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:184
msgid "User Files Settings"
msgstr "Arquivos de Configurações do Usuário"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:215
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:596
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:184
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:561
msgid "User Files"
msgstr "Arquivos do usuário"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:217
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:235
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:186
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:204
msgid "Manage Files"
msgstr "Administrar Arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:219
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:425
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1293
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:188
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:385
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1221
msgid "Add Files"
msgstr "Enviar arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:221
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:190
msgid "Categories"
msgstr "Categorias"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:223
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:192
msgid "Manage Icons"
msgstr "Administrar Ícones"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:225
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:194
msgid "FTP Paths"
msgstr "Caminhos FTP"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:228
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:197
msgid "Help"
msgstr "Ajuda"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:265
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:413
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1147
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:229
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:378
msgid "The file has been deleted"
msgstr "O arquivo foi apagado"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:269
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:417
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1151
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:233
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:382
msgid "There was an error deleting the file, please try again!"
msgstr "Ocorreu um erro ao excluir o arquivo, por favor, tente novamente!"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:306
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:266
msgid "An adminisrator has successfully been notified of your upload."
msgstr "Um adminisrator foi notificado do seu upload."
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:313
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1050
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1582
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:273
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:990
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1471
msgid "There was an error uploading the file, please try again!"
msgstr "Ocorreu um erro ao enviar o arquivo, por favor tente novamente!"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:340
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:543
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1190
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:300
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:508
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1118
msgid "or"
msgstr "ou"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:343
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:546
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1193
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:303
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:511
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1121
msgid "Show all categories"
msgstr "Mostrar todas as categorias"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:401
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1271
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:361
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1199
msgid "No files found for"
msgstr "Nenhum arquivo encontrado para"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:405
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1275
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:365
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1203
msgid "Nothing found for category"
msgstr "Nada foi encontrado para a categoria"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:411
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1280
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1395
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/widget.php:49
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:371
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1208
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1323
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/widget.php:49
msgid "You have no files"
msgstr "Você não tem arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:437
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:397
msgid "Choose a file to upload, your upload limit is"
msgstr "Escolha um arquivo para enviar, o limite de tamanho para o arquivo é"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:464
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1332
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/widget.php:150
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:424
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1260
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/widget.php:150
msgid "Upload File"
msgstr "Enviar arquivo"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:555
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:514
msgid "A new file at"
msgstr "Um novo arquivo de"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:555
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:514
msgid "has just uploaded"
msgstr "acaba de ser enviado"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:555
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:514
msgid "to category"
msgstr "para a categoria"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:556
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:515
msgid "An administrator has successfully been notified of your upload."
msgstr "Um administrador foi notificado do sobre o envio de seu arquivo."
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:563
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/functions.php:522
msgid "Error with file upload"
msgstr "Erro com o envio do arquivo"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/functions.php:581
msgid "User Files has been updated, if you experience any issues please deactivate and reactivate the plugin"
msgstr "Arquivos do usuário foi atualizado, se você tiver problemas por favor, desativar e reativar o plugin"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:201
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:443
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:189
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:408
msgid "The folder has been deleted"
msgstr "A pasta foi excluída"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:205
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:447
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:193
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:412
msgid "There was an error deleting the folder, please try again!"
msgstr "Ocorreu um erro ao excluir a pasta, por favor, tente novamente!"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:220
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:208
msgid "File Manager Options"
msgstr "Gerenciar opçoes dos arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:232
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:220
msgid "This will delete all files, folders, categories, icons, etc. Are you sure you want to do this?"
msgstr "Isto irá apagar todos os arquivos, pastas, categorias, ícones, etc. Tem certeza de que quer fazer isso?"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:233
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:221
msgid "Yes"
msgstr "Sim"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:233
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:221
msgid "No"
msgstr "Não"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:309
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:290
msgid "Settings Saved"
msgstr "Configurações salvas"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:327
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:306
msgid "Show Dashboard Widget"
msgstr "Mostrar o Dashboard Widget"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:331
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:310
msgid "Show dashboard menu link"
msgstr "Mostrar link do menu dashboard"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:334
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:313
msgid "Allow users to add files"
msgstr "Permitir aos usuários adicionar arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:337
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:316
msgid "Allow users to delete files"
msgstr "Permitem aos usuários apagar arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:341
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:320
msgid "Show credit link on user page? Not expected, but certainly appreciated!"
msgstr "Mostrar créditos do link na página do usuário? Não é necessário, mas certamente apreciada!"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:341
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:320
msgid "All other banners and ads are visible to user file admins only."
msgstr "Todos os banners e outros anúncios são visíveis apenas para admins dos arquivos."
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:349
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:328
msgid "Send email upload notifcations to"
msgstr "Enviar email para notificar o envio de arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:349
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:328
msgid "leave blank to not be notified of uploads"
msgstr "deixe em branco para não ser notificado de uploads"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:353
msgid "User File Manager supports custom email notifications to be sent out when you upload a file for a user. Variables allowed are"
msgstr "Gerenciador de Arquivos suporta notificações de e-mail personalizado para ser enviado quando você fizer o envio de um arquivo para um usuário. Variáveis permitidas são"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:357
msgid "Email Subject"
msgstr "Assunto do Email"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:369
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:334
msgid "Save Options"
msgstr "Salvar Opções"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:385
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:350
msgid "Uninstall User File Manager"
msgstr "Desinstalar o Gerenciador de arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:496
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:461
msgid "Categories have been changes successfully"
msgstr "Categorias foram alteradas com sucesso"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:500
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:465
msgid "There was an error changing"
msgstr "Ocorreu um erro ao mudar"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:562
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:527
msgid "For all users"
msgstr "Para todos os usuários"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:656
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:727
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:744
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:798
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:859
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:621
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:692
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:709
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:763
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:824
msgid "User Login"
msgstr "Login do usuário"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:656
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:727
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:744
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:798
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:859
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:621
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:692
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:709
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:763
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:824
msgid "User Name"
msgstr "Nome do usuário"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:656
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:727
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:744
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:798
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:859
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:621
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:692
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:709
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:763
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:824
msgid "Delete Folder"
msgstr "Deletar pasta"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:709
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:674
msgid "No Files Found"
msgstr "Nenhum arquivo encontrado"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:772
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:737
msgid "No files found"
msgstr "Nenhum arquivo encontrado"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:820
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:785
msgid "No files found for this user in category"
msgstr "Nenhum arquivo encontrado para este usuário na categoria"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:903
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:868
msgid "is the default category. You cannot delete this unless you change the default category."
msgstr "é a categoria padrão. Você não pode excluir esta categoria a menos que altere a categoria padrão."
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:918
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:883
msgid "This is already a cataegory."
msgstr "Isso já é uma categoria."
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:928
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:893
msgid " has been added"
msgstr " foi adicionado"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:932
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:897
msgid "There was an error adding the category"
msgstr "Houve um erro a inclusão da categoria"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:946
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:911
msgid "is now default"
msgstr "agora é padrão"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:994
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:959
msgid "Upload Files"
msgstr "Enviar arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1045
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:985
msgid "The file "
msgstr "O arquivo"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1046
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:986
msgid "has been uploaded to "
msgstr "foi adicionado para"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1065
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1005
msgid "Files for user"
msgstr "Arquivos para o usuário"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1103
msgid "Notify User of Upload"
msgstr "Notificar o usuário de upload"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1305
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/widget.php:123
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1233
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/widget.php:123
msgid "Choose a file to upload, your upload limit is "
msgstr "Escolha um arquivo para upload, o limite de upload é"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1340
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1268
msgid "You must be logged in to view files"
msgstr "Você deve estar logado para ver os arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1361
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1289
msgid "Your Files"
msgstr "Seus Arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1386
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1314
msgid "Download"
msgstr "Download"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1458
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1371
msgid "file not found"
msgstr "arquivo não encontrado"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1571
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1460
msgid "The file"
msgstr "O arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1571
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1460
msgid "has been uploaded"
msgstr "foi enviado"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1602
msgid "Extension already exists, please delete the current extension set before uploading a new one."
msgstr "A extensão já existe, por favor, exclua o atual extensão antes de enviar um novo."
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1637
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1526
msgid "You must have both a file and extension"
msgstr "Você deve ter um arquivo e extensão"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1651
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1540
msgid "File Deleted"
msgstr "Arquivo excluido"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1656
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1545
msgid "There was an error deleting this extension"
msgstr "Ocorreu um erro ao excluir esta extensão"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1665
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1554
msgid "Icons"
msgstr "Icones"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1682
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1571
msgid "New Icon"
msgstr "Novo icone"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1683
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1572
msgid "Upload Icon file"
msgstr "Enviar aquivo do icone"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1688
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1577
msgid "Extension"
msgstr "Extensão"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1690
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1579
msgid "Add"
msgstr "Adicionar"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1710
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1599
msgid "Files can be uploaded to the users folder via FTP as well as through the upload page. If the users has no folder press create folder to create the users file folder."
msgstr "Os arquivos podem ser carregados na pasta do usuários via FTP, bem como através da página de upload. Se os usuários não tiver sua pasta criada, clique em \"criar pasta\" para que a pasta do usuário seja criada."
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1724
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1613
msgid "User Paths for FTP upload"
msgstr "Caminhos do usuário para fazer upload pelo FTP"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1724
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1613
msgid "User files folder is located"
msgstr "Pasta de arquivos do usuário está localizada"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/user_files.php:1724
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1613
msgid "Folder Number"
msgstr "Número da pasta"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/widget.php:54
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/widget.php:54
msgid "You must log in to view files"
msgstr "Você deve fazer login para ver arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/widget.php:77
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/widget.php:176
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/widget.php:77
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/widget.php:176
msgid "Title:"
msgstr "Título:"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/widget.php:157
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/widget.php:157
msgid "You must login to upload files"
msgstr "Você deve entrar para fazer upload de arquivos"
#: C:\Users\Tom\AppData\Roaming\Notepad++\plugins\config\NppFTP\Cache\scriptonite.net@ftp.scriptonite.net\htdocs\wp-content\plugins\user-files/2.0.3/user_files.php:1491
msgid "Extension already exsists, please delete the current extension set before uploading a new one."
msgstr "Extensão já existe, por favor, apague a extensão atual antes de enviar um novo."

View File

@ -1,171 +0,0 @@
== user files ===
Contributors: Innovative Solutions
Tags: user files, User Files, File Manger
Donate:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RMCSV4J9FALZ6
Requires at least: 3.0
Tested up to: 3.4.2
Stable Tag:2.4.2
User files allows you to upload files for a specific user to download. Custom Icons and categories are available to more easily search and filter files.
== Description ==
The user files plugin allows you to add upload files for a specific user to download or view. The file upload is limited to the post max of your server. Files are uploaded to a user and can be accesses via an access page, dashboard widget, or both. The user files options page will allow you to turn on page menu and dashboard widget. Other options to allow user to delete their files and add to them. Also adds a file manager page to view all files and which user they belong to. You can delete files individually or delete the users folder.
Files can have icons and category, both are customizable. Users and admins can search file names or parts and admins can filter files by category and/or by user.
== Installation ==
1. Upload `user-files.php` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
== Frequently Asked Questions ==
= I have just upgraded to the latest version and now my menu items are gone =
The latest upgrade implemented the custom capability manage_userfiles_settings and manage_userfiles. The manage_userfiles_settings will allow access to the File manager options in the settings menu and the manage_userfiles will create the userfiles admin menu options.
= Can User File Admins manage all users filefrom the front end in a page? =
No, there is no in-page option for file management for admins, only users. We have just released a new commercial addon called <a href="http://www.whereyoursolutionis.com/user-file-manager-front-end-admin/">Front end admin</a> however that will allow you to do this. It currently features multi-file upload for admin and users.
== Changelog ==
1.0.1
* Fixed display issue for dashboard widget
1.0.2
* Added option to allow users to delete their files
* Added option to allow users to add files to their account (suggestion sent in by Pedro Pregnolato)
* Both features can be turned on or off in the File Manager Options settings
1.0.6
* Fixed user uploads page, user was unable to upload unless they already had files
* Added Shortcode to place file list in template page
* Added help page with short general information
1.0.8
* Added admin notification option for user uploads. Idea submitted by Aleks Berland.
2.0
* Added Categories for files
* Added icon support
* Fixed error opening non-existant directory
* Added file search
* Added category filter
* Added files download widget
* Added files upload widget
* Fixed shortcode using output buffer
* Added one-click download function
* Added complete uninstall function
* Added I10n, .pot file available for contributors
* css added for in page display table
2.0.3
* Fixed bug with custom capabilities and restored manage_options, will add custom caps at a later date. Don't have time to fix it at this time.
2.0.5
* Fixed bug writing categories to the database.
* Fixed issue with corrupt file downloads on wordpress 3.2
* Fixed a couple other minor bugs
2.0.6
* Removed echo causing header sent error messages
2.0.7
* Fixed error that sometimes caused a 404 error when file download was pressed
2.0.8
* Fixed misspelling in upload category query
2.1.0
* Fixed download issues happening on some servers. Thanks to all who reported the bugs through our site and on wordpress.org forums. Thanks to dev123 and etruel.
2.1.1
* Added email notification option to notify users of uploaded files.
* Added a date column to show the date the file was uploaded (ftp or wordpress)
2.1.5
* Added a new fix for downloads thnaks to dev123
2.2.0
* New download function written which seems to fix any and all corrupt downloads
2.2.1
* file corruption during sync, we're going to forget this update happened
2.2.2
* Mail notification fix
* Fix for file corruption due to error with sync software
2.3
* Mail notification fix (for real)
* Increased limit on category name lenth
* added notes for files* added security for file downloads
2.3.1
* fixed help file
2.3.2
* fixed permalink uploading issue
2.3.6
* Added more compatibility for the USer Files Front End Admin addon* Increased security for files
2.4
* Fixed download issue with firefox
2.4.1
* Fixed download bug in widget

View File

@ -1,66 +0,0 @@
table
{
border: 1px solid black;
border-spacing:0;
Margin: 15px 0 15px 0;
}
th
{
background-color:#E5E5E5;
text-align:left;
border-bottom:thick solid #000000;
font-size:20px;
font-weight:bold;
padding: 3px 0 3px 4px;
}
tr,td
{
padding: 2px 0 2px 4px;
vertical-align:middle;
padding:2px 6px 2px 4px;
}
user_files
{
border-style:solid;
border-width:2px;
}
.even_files
{
border-collapse:collapse;
background-color:#FFFFFF;
border:0;
}
.odd_files
{
border-collapse:collapse;
background-color:#C7C7C7;
border:0;
}
/*Line break*/
linebreak
{
width:100%;
size:3px;
color:#000000;
}

File diff suppressed because one or more lines are too long

View File

@ -1,185 +0,0 @@
<?php
class userfilesList extends WP_Widget {
function userfilesList() {
parent::WP_Widget(false, $name = 'User Files File List');
}
/** @see WP_Widget::widget */
function widget($args, $instance) {
global $post;
extract( $args );
$title = apply_filters('widget_title', $instance['title']);
?>
<?php echo $before_widget; ?>
<?php if ( $title )
echo $before_title . $title . $after_title;
$upload_dir = wp_upload_dir();
$current_user = wp_get_current_user();
$user_id = $current_user->ID;
if($user_id != 0){
if ($handle = @opendir($upload_dir['basedir'].'/file_uploads/'.$user_id)) {
while (false !== ($file = readdir($handle))) {
if ($file!=".") {
if ($file!="..") {
$ext = pathinfo($file, PATHINFO_EXTENSION);
$tExt= SetIcon($ext);
echo '<img src="'. $tExt.'" width="15" ><a rel="download.png" href="'.site_url().'?p='.$post->ID.'&theDLfile='.$user_id.'/'.$file.'" > '.pathinfo($file, PATHINFO_FILENAME).'</a><br />';
echo '<hr width="100%" size="2px" />';
}
}
}
}else{
echo __('You have no files','userfiles');
}
}else{
echo __('You must log in to view files','userfiles');
}
echo $after_widget; ?>
<?php
}
/** @see WP_Widget::update */
function update($new_instance, $old_instance) {
$instance = $old_instance;
$instance['title'] = strip_tags($new_instance['title']);
return $instance;
}
/** @see WP_Widget::form */
function form($instance) {
$title = esc_attr($instance['title']);
?>
<p>
<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:'); ?></label>
<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" />
</p>
<?php
}
}
class userfilesUpload extends WP_Widget {
function userfilesUpload() {
parent::WP_Widget(false, $name = 'User Files Uploader');
}
/** @see WP_Widget::widget */
function widget($args, $instance) {
extract( $args );
$title = apply_filters('widget_title', $instance['title']);
?>
<?php echo $before_widget;?>
<?php if ( $title )
echo $before_title . $title . $after_title;
//global $messageGo;
echo $_POST['addfiles'].'<br /><p>';
//Begin build uploader
$current_user = wp_get_current_user();
$user_id = $current_user->ID;
if($user_id != 0){
?>
<?php
global $wpdb;
$max_post = (int)(ini_get('post_max_size'));
$MaxSet=1000000*(int)$max_post;
?>
<form enctype="multipart/form-data" action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="POST" >
<?php _e('Choose a file to upload, your upload limit is '); ?> <?php echo $max_post; ?>M <br />
<p>&nbsp;</p>
<input name="uploadedfile" size="10%" type="file" /><br />
<input type="hidden" name="addfiles" value="addfiles" />
<?php
$currOpts_defcat = get_option('file_manger_defaultcat');
$aCats = $wpdb->get_results("SELECT * FROM ". $wpdb->prefix."userfile_category" );
?>
<select name="widge_cat" id="widge_cat">
<option value="<?php echo $currOpts_defcat; ?>">--Choose Category--</option>
<?php
foreach ( $aCats as $iCats) :
?>
<option value="<?php echo $iCats->category. '">'. $iCats->category; ?> </option>
<?php
endforeach;
echo '</select><br /><p>';
?>
<div align="right"><input type="submit" value="<?php _e('Upload File'); ?>" /></div>
</form>
<?php
}else{
echo __('You must login to upload files','userfiles');
}
//End Build uploader
echo $after_widget; ?>
<?php
}
/** @see WP_Widget::update */
function update($new_instance, $old_instance) {
$instance = $old_instance;
$instance['title'] = strip_tags($new_instance['title']);
return $instance;
}
/** @see WP_Widget::form */
function form($instance) {
$title = esc_attr($instance['title']);
?>
<p>
<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:'); ?></label>
<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" />
</p>
<?php
}
}
add_action('widgets_init', create_function('', 'return register_widget("userfilesUpload");'));
add_action('widgets_init', create_function('', 'return register_widget("userfilesList");'));

BIN
user-private-files-pl_PL.mo Normal file

Binary file not shown.

117
user-private-files-pl_PL.po Normal file
View File

@ -0,0 +1,117 @@
msgid ""
msgstr ""
"Project-Id-Version: User Private Files 1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-01 19:24+0000\n"
"PO-Revision-Date: 2017-06-01 19:44+0000\n"
"Last-Translator: admin <parys15@gmail.com>\n"
"Language-Team: \n"
"Language: pl_PL\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10 >= 2 && n%10<=4 "
"&&(n%100<10||n%100 >= 20)? 1 : 2);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/"
#: user-private-files.php:53
msgid "You do not have sufficient permissions to access this page."
msgstr "Nie masz uprawnień do wejścia na Tę stronę"
#: user-private-files.php:66
msgid "Settings Saved"
msgstr "Ustawienia zostały zapisane"
#: user-private-files.php:74
msgid "User Private Files Settings"
msgstr "Ustawienia powiadomień"
#: user-private-files.php:76
msgid "Notification"
msgstr "Powiadomienie "
#: user-private-files.php:80
msgid "Email Subject:"
msgstr "Tytuł email "
#: user-private-files.php:84
msgid "Email Message:"
msgstr "Treść email"
#: user-private-files.php:87
msgid "Available Variables: "
msgstr "Dostępne \"zmienne\" (możliwe do wykorzystania kody)"
#: user-private-files.php:93
msgid "Save Changes"
msgstr "Zapisz zmainy"
#: user-private-files.php:186
msgid "User"
msgstr "Użytkownik "
#: user-private-files.php:258
msgid "User File"
msgstr "Plik użytkownika"
#: user-private-files.php:269
msgid "Current file:"
msgstr "Obecny plik"
#: user-private-files.php:273
msgid "Upload a PDF file here"
msgstr "Prześlij plik PDF tutaj"
#: user-private-files.php:275
msgid "Select a user"
msgstr "Wybierz użytkownika "
#: user-private-files.php:286
msgid "Notify User"
msgstr "Powiadom użytkownika "
#: user-private-files.php:337
msgid "The file type that you've uploaded is not a PDF."
msgstr "Plik, który przesłałeś nie jest plikiem PDF"
#: user-private-files.php:538
msgid "Show all years"
msgstr "Pokaż wszystkie lata"
#: user-private-files.php:555
msgid "Show all categories"
msgstr "Pokaż wszystkie kategorie"
#: user-private-files.php:565
msgid "Filter"
msgstr "Filter"
#: user-private-files.php:600 user-private-files.php:656
msgid "View and Print"
msgstr "Otwórz w nowej karcie i Wydrukuj"
#: user-private-files.php:601 user-private-files.php:657
msgid "Download"
msgstr "Pobierz"
#. Name of the plugin
msgid "User Private Files 1.1"
msgstr "User Private Files 1.1"
#. Description of the plugin
msgid ""
"Plugin to manage private files for users. You can upload files for your "
"users to access, files are only viewable/downloadable for the designated "
"users."
msgstr ""
"Plugin do zarządzania prywatnymi plikami dla użytkowników. Możesz przesłać "
"pliki które będą dostępne do obejrzenia , ściągnięcia tylko dla wybranych "
"użytkowników."
#. Author of the plugin
msgid "Hai Bui - FLDtrace team"
msgstr "Hai Bui - FLDtrace team"
#. Author URI of the plugin
msgid "http://www.fldtrace.com"
msgstr "http://www.fldtrace.com"

BIN
user-private-files.zip Normal file

Binary file not shown.

View File

@ -0,0 +1,3 @@
# user-private-files-plugin
Instuctions and tutorial:
http://www.fldtrace.com/wordpress-user-private-files-plugin

View File

@ -0,0 +1,663 @@
<?php
/*
Plugin Name: User Private Files 1.1
Description: Plugin to manage private files for users. You can upload files for your users to access, files are only viewable/downloadable for the designated users.
Author: Hai Bui - FLDtrace team
Author URI: http://www.fldtrace.com
License: GPL
Version: 1.1
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
//*********** install/uninstall actions ********************//
register_activation_hook(__FILE__,'upf_install');
register_deactivation_hook(__FILE__, 'upf_uninstall');
function upf_install(){
upf_uninstall();//force to uninstall option
add_option('upf_email_subject','New File Upload');
add_option('upf_email_message',"Hello %user_login%,\nYou have a new file upload. The file name is %filename%, you can download it here %download_url%");
}
function upf_uninstall(){
delete_option('upf_email_subject');
delete_option('upf_email_message');
}
//*********** end of install/uninstall actions ********************//
function upf_init() {
load_plugin_textdomain('user-private-files');
}
add_action('init', 'upf_init');
add_action('admin_menu', 'upf_menu');
function upf_menu() {
add_submenu_page( 'edit.php?post_type=userfile', 'User Private Files', 'Settings', 'manage_options', 'upf_options', 'upf_options');
}
function upf_options() {
if (!current_user_can('manage_options')) {
wp_die( __('You do not have sufficient permissions to access this page.', 'user-private-files') );
}
if (!empty($_POST['update'])) {
if($_POST['upf_email_subject'] ) {
update_option('upf_email_subject',$_POST['upf_email_subject'] );
}
if($_POST['upf_email_message'] ) {
update_option('upf_email_message',esc_attr($_POST['upf_email_message']) );
}
?>
<div class="updated settings-error" id="setting-error-settings_updated"><p><strong><?php _e('Settings Saved', 'user-private-files');?>.</strong></p></div>
<?php
}
$upf_email_subject = get_option('upf_email_subject');
$upf_email_message = get_option('upf_email_message');
?>
<div class="wrap">
<h2><?php _e('User Private Files Settings', 'user-private-files');?></h2>
<form method="POST" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
<h3><?php _e('Notification', 'user-private-files');?></h3>
<table class="form-table">
<tbody>
<tr valign="top">
<th scope="row"><label for="upf_email_subject"><?php _e('Email Subject:', 'user-private-files');?></label></th>
<td><input type="text" class="regular-text" name="upf_email_subject" id="upf_email_subject" value="<?php echo $upf_email_subject; ?>"></td>
</tr>
<tr valign="top">
<th scope="row"><label for="upf_email_subject"><?php _e('Email Message:', 'user-private-files');?></label></th>
<td>
<textarea name="upf_email_message" class="regular-text" rows="5" cols="50"><?php echo $upf_email_message; ?></textarea>
<p class="description"><?php _e('Available Variables: ', 'user-private-files');?> <br/><strong>%blogname%, %siteurl%, %user_login%, %filename%, %download_url%, %category%</strong></p>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="update" value="update">
<p class="submit"><input type="submit" value="<?php _e('Save Changes', 'user-private-files');?>" class="button-primary" id="submit" name="submit"></p>
</form>
</div>
<?php
}
add_action( 'init', 'upf_register_cpt_userfile' );
function upf_register_cpt_userfile() {
$labels = array(
'name' => _x( 'User Files', 'userfile' ),
'singular_name' => _x( 'User File', 'userfile' ),
'add_new' => _x( 'Add New', 'userfile' ),
'add_new_item' => _x( 'Add New User File', 'userfile' ),
'edit_item' => _x( 'Edit User File', 'userfile' ),
'new_item' => _x( 'New User File', 'userfile' ),
'view_item' => _x( 'View User File', 'userfile' ),
'search_items' => _x( 'Search User Files', 'userfile' ),
'not_found' => _x( 'No user files found', 'userfile' ),
'not_found_in_trash' => _x( 'No user files found in Trash', 'userfile' ),
'parent_item_colon' => _x( 'Parent User File:', 'userfile' ),
'menu_name' => _x( 'User Files', 'userfile' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'supports' => array( 'title', 'author', 'editor' ),
'taxonomies' => array( 'file_categories' ),
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'show_in_nav_menus' => false,
'publicly_queryable' => true,
'exclude_from_search' => true,
'has_archive' => false,
'query_var' => true,
'can_export' => false,
'rewrite' => false,
'capabilities' => array(
'edit_post' => 'update_core',
'edit_posts' => 'update_core',
'edit_others_posts' => 'update_core',
'publish_posts' => 'update_core',
'read_post' => 'update_core',
'read_private_posts' => 'update_core',
'delete_post' => 'update_core'
)
);
register_post_type( 'userfile', $args );
}
add_action( 'init', 'upf_register_taxonomy_file_categories' );
function upf_register_taxonomy_file_categories() {
$labels = array(
'name' => _x( 'Categories', 'file_categories' ),
'singular_name' => _x( 'Category', 'file_categories' ),
'search_items' => _x( 'Search Categories', 'file_categories' ),
'popular_items' => _x( 'Popular Categories', 'file_categories' ),
'all_items' => _x( 'All Categories', 'file_categories' ),
'parent_item' => _x( 'Parent Category', 'file_categories' ),
'parent_item_colon' => _x( 'Parent Category:', 'file_categories' ),
'edit_item' => _x( 'Edit Category', 'file_categories' ),
'update_item' => _x( 'Update Category', 'file_categories' ),
'add_new_item' => _x( 'Add New Category', 'file_categories' ),
'new_item_name' => _x( 'New Category', 'file_categories' ),
'separate_items_with_commas' => _x( 'Separate categories with commas', 'file_categories' ),
'add_or_remove_items' => _x( 'Add or remove categories', 'file_categories' ),
'choose_from_most_used' => _x( 'Choose from the most used categories', 'file_categories' ),
'menu_name' => _x( 'Categories', 'file_categories' ),
);
$args = array(
'labels' => $labels,
'public' => true,
'show_in_nav_menus' => false,
'show_ui' => true,
'show_tagcloud' => false,
'hierarchical' => true,
'rewrite' => false,
'query_var' => true
);
register_taxonomy( 'file_categories', array('userfile'), $args );
}
// Register the column
function upf_user_column_register( $columns ) {
$columns['user'] = __( 'User', 'user-private-files' );
return $columns;
}
add_filter( 'manage_edit-userfile_columns', 'upf_user_column_register' );
// Display the column content
function upf_user_column_display( $column_name, $post_id ) {
if ( 'user' != $column_name )
return;
$username = get_post_meta($post_id, 'upf_user', true);
echo $username;
}
add_action( 'manage_userfile_posts_custom_column', 'upf_user_column_display', 10, 2 );
// Register the column as sortable
function upf_user_column_register_sortable( $columns ) {
$columns['user'] = 'user';
return $columns;
}
add_filter( 'manage_edit-userfile_sortable_columns', 'upf_user_column_register_sortable' );
function upf_user_column_orderby( $vars ) {
if ( isset( $vars['orderby'] ) && 'user' == $vars['orderby'] ) {
$vars = array_merge( $vars, array(
'meta_key' => 'upf_user',
'orderby' => 'meta_value'
) );
}
return $vars;
}
add_filter( 'request', 'upf_user_column_orderby' );
add_filter('get_sample_permalink_html', 'upf_hide_sample_permalink', '',4);
function upf_hide_sample_permalink($return, $id, $new_title, $new_slug){
global $post;
if ($post->post_type == 'userfile') {
$return = '';
}
return $return;
}
function upf_get_user_dir($user_id) {
if (empty($user_id)) return false;
$dir = get_user_meta($user_id, 'upf_dir', true);
if (empty($dir)) {
$dir = uniqid($user_id.'_');
add_user_meta( $user_id, 'upf_dir', $dir );
}
return $dir;
}
add_action( 'post_edit_form_tag' , 'upf_post_edit_form_tag' );
function upf_post_edit_form_tag() {
global $post;
// if invalid $post object or post type is not 'userfile', return
if(!$post || get_post_type($post->ID) != 'userfile') return;
echo ' enctype="multipart/form-data" autocomplete="off"';
}
add_action('admin_menu', 'upf_meta_box');
function upf_meta_box() {
add_meta_box('userfile', __('User File', 'user-private-files'), 'upf_meta_fields', 'userfile', 'normal', 'high');
}
function upf_meta_fields() {
global $post;
wp_nonce_field(plugin_basename(__FILE__), 'wp_upf_nonce');
$upf_file = get_post_meta($post->ID, 'upf_file', true);
if (!empty($upf_file)) { ?>
<p><?php _e('Current file:', 'user-private-files');?> <a href="<?php echo $upf_file['url'];?>" target="_blank"><?php echo basename($upf_file['file']);?></a></p>
<?php
}
?>
<p class="label"><label for="upf_file"><?php _e('Upload a PDF file here', 'user-private-files');?></label></p>
<p><input type="file" name="upf_file" id="upf_file" /></p>
<p class="label"><label for="upf_user"><?php _e('Select a user', 'user-private-files');?></label></p>
<select name="upf_user" id="upf_user">
<?php
$users = get_users();
$upf_user = get_post_meta($post->ID, 'upf_user', true);
foreach ($users as $user) { ?>
<option value="<?php echo $user->ID;?>" <?php if ($upf_user == $user->user_login) echo 'selected="selected"';?>><?php echo $user->user_login;?></option>
<?php
}
?>
</select>
<p class="label"><input type="checkbox" name="upf_notify" value="1"> <label for="upf_notify"><?php _e('Notify User', 'user-private-files');?></label></p>
<?php
}
add_action('save_post', 'upf_save_post');
function upf_save_post($post_id, $post = null) {
global $post;
/* --- security verification --- */
if(!wp_verify_nonce($_POST['wp_upf_nonce'], plugin_basename(__FILE__)))
return $post_id;
if(defined('DOING_AUTOSAVE') && DOING_AUTOSAVE)
return $post_id;
// if invalid $post object or post type is not 'userfile', return
if(!$post || get_post_type($post->ID) != 'userfile') return;
$user_info = get_userdata($_POST['upf_user']);
add_post_meta($post_id, 'upf_user', $user_info->user_login);
update_post_meta($post_id, 'upf_user', $user_info->user_login);
// Make sure the file array isn't empty
if(!empty($_FILES['upf_file']['name'])) {
// Setup the array of supported file types. In this case, it's just PDF.
$supported_types = array('application/pdf');
// Get the file type of the upload
$arr_file_type = wp_check_filetype(basename($_FILES['upf_file']['name']));
$uploaded_type = $arr_file_type['type'];
// Check if the type is supported. If not, throw an error.
if(in_array($uploaded_type, $supported_types)) {
$upf_file = get_post_meta($post_id, 'upf_file', true);
if ($upf_file) {
$upf_file_path = WP_CONTENT_DIR.'/userfiles/'.$upf_file['file'];
if (file_exists($upf_file_path)) unlink($upf_file_path);
}
// Use the WordPress API to upload the file
$upload = wp_handle_upload( $_FILES['upf_file'], array( 'test_form' => false ) );
if(isset($upload['error']) && $upload['error'] != 0) {
wp_die(__('There was an error uploading your file. The error is: ' . $upload['error'], 'user-private-files'));
} else {
// Update custom field
$upload['file'] = substr($upload['file'],stripos($upload['file'],'wp-content/userfiles/')+21);
add_post_meta($post_id, 'upf_file', $upload);
update_post_meta($post_id, 'upf_file', $upload);
} // end if/else
} else {
wp_die(__("The file type that you've uploaded is not a PDF.", 'user-private-files'));
} // end if/else
} // end if
if ($_POST['upf_notify'] == '1') {
$upf_file = get_post_meta($post_id, 'upf_file', true);
$email_subject = get_option('upf_email_subject');
$email_msg = get_option('upf_email_message');
$email_msg = str_replace('%blogname%', get_bloginfo('name'), $email_msg);
$email_msg = str_replace('%siteurl%', get_bloginfo('url'), $email_msg);
$email_msg = str_replace('%user_login%', $user_info->user_login, $email_msg);
$email_msg = str_replace('%filename%', basename($upf_file['file']), $email_msg);
$email_msg = str_replace('%download_url%', get_bloginfo('url').'/?upf=dl&id='.$post_id, $email_msg);
$cats = wp_get_post_terms($post_id, 'file_categories', array("fields" => "names"));
$email_msg = str_replace('%category%', implode(", ", $cats), $email_msg);
$headers[] ='From: "'.htmlspecialchars_decode(get_bloginfo('name'), ENT_QUOTES).'" <'.get_option('admin_email').'>';
wp_mail($user_info->user_email, $email_subject, $email_msg, $headers);
}
}
add_filter( 'upload_dir', 'upf_custom_upload_dir' );
function upf_custom_upload_dir( $default_dir ) {
if ( ! isset( $_POST['post_ID'] ) || $_POST['post_ID'] < 0 )
return $default_dir;
if ( ! isset( $_POST['upf_user'] ) )
return $default_dir;
if ( $_POST['post_type'] != 'userfile' )
return $default_dir;
$dir = WP_CONTENT_DIR . '/userfiles';
$url = WP_CONTENT_URL . '/userfiles';
$bdir = $dir;
$burl = $url;
$subdir = '/'.upf_get_user_dir($_POST['upf_user']);
$dir .= $subdir;
$url .= $subdir;
$custom_dir = array(
'path' => $dir,
'url' => $url,
'subdir' => $subdir,
'basedir' => $bdir,
'baseurl' => $burl,
'error' => false,
);
return $custom_dir;
}
add_action('init', 'upf_get_download');
function upf_get_download() {
if (isset($_GET['upf']) && isset($_GET['id'])) {
if (is_user_logged_in()) {
global $current_user;
get_currentuserinfo();
// if the file was not assigned to the current user, return
if (get_post_meta($_GET['id'], 'upf_user', true) != $current_user->user_login) return;
$upf_file = get_post_meta($_GET['id'], 'upf_file', true);
$upf_file_path = WP_CONTENT_DIR.'/userfiles/'.$upf_file['file'];
$upf_file_name = substr($upf_file['file'], stripos($upf_file['file'], '/')+1);
set_time_limit(0);
$action = $_GET['upf']=='vw'?'view':'download';
output_file($upf_file_path, $upf_file_name, $upf_file['type'], $action);
}
else {
wp_redirect(wp_login_url($_SERVER['REQUEST_URI']));
exit;
}
}
}
/*DOWNLOAD FUNCTION */
function output_file($file, $name, $mime_type='', $action = 'download') {
if(!is_readable($file)) {
//die('File not found or inaccessible!<br />'.$file.'<br /> '.$name);
return;
}
$size = filesize($file);
$name = rawurldecode($name);
$known_mime_types=array(
"pdf" => "application/pdf",
"txt" => "text/plain",
"html" => "text/html",
"htm" => "text/html",
"exe" => "application/octet-stream",
"zip" => "application/zip",
"doc" => "application/msword",
"xls" => "application/vnd.ms-excel",
"ppt" => "application/vnd.ms-powerpoint",
"gif" => "image/gif",
"png" => "image/png",
"jpeg"=> "image/jpg",
"jpg" => "image/jpg",
"php" => "text/plain"
);
if($mime_type==''){
$file_extension = strtolower(substr(strrchr($file,"."),1));
if(array_key_exists($file_extension, $known_mime_types)){
$mime_type=$known_mime_types[$file_extension];
} else {
$mime_type="application/force-download";
};
};
@ob_end_clean(); //turn off output buffering to decrease cpu usage
// required for IE, otherwise Content-Disposition may be ignored
if(ini_get('zlib.output_compression'))
ini_set('zlib.output_compression', 'Off');
header('Content-Type: ' . $mime_type);
if ($action == 'download') header('Content-Disposition: attachment; filename="'.$name.'"');
else header('Content-Disposition: inline; filename="'.$name.'"');
header("Content-Transfer-Encoding: binary");
header('Accept-Ranges: bytes');
/* The three lines below basically make the download non-cacheable */
header("Cache-control: private");
header('Pragma: private');
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// multipart-download and download resuming support
if(isset($_SERVER['HTTP_RANGE']))
{
list($a, $range) = explode("=",$_SERVER['HTTP_RANGE'],2);
list($range) = explode(",",$range,2);
list($range, $range_end) = explode("-", $range);
$range=intval($range);
if(!$range_end) {
$range_end=$size-1;
} else {
$range_end=intval($range_end);
}
$new_length = $range_end-$range+1;
header("HTTP/1.1 206 Partial Content");
header("Content-Length: $new_length");
header("Content-Range: bytes $range-$range_end/$size");
} else {
$new_length=$size;
header("Content-Length: ".$size);
}
/* output the file itself */
$chunksize = 1*(1024*1024); //you may want to change this
$bytes_send = 0;
if ($file = fopen($file, 'r'))
{
if(isset($_SERVER['HTTP_RANGE']))
fseek($file, $range);
while(!feof($file) && (!connection_aborted()) && ($bytes_send<$new_length)) {
$buffer = fread($file, $chunksize);
print($buffer); //echo($buffer); // is also possible
flush();
$bytes_send += strlen($buffer);
}
fclose($file);
}
else die('Error - can not open file.');
die();
}
function upf_list_user_files() {
if (!is_user_logged_in()) return;
global $current_user;
get_currentuserinfo();
$current_url = get_permalink();
if (strpos($current_url,'?') !== false) $current_url .= '&';
else $current_url .= '?';
ob_start();
?>
<div class="filter clearfix">
<form action="<?php the_permalink();?>" method="post" autocomplete="off">
<select name="upf_year">
<option value=""><?php _e('Show all years', 'user-private-files');?></option>
<?php
global $wpdb;
$years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date)
FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta
WHERE wposts.ID = wpostmeta.post_id
AND wposts.post_type = 'userfile'
AND wpostmeta.meta_key = 'upf_user'
AND wpostmeta.meta_value = '$current_user->user_login'
ORDER BY post_date DESC");
foreach($years as $year) { ?>
<option <?php if (isset($_POST['upf_year']) && $_POST['upf_year']==$year) echo 'selected="selected"';?>><?php echo $year; ?></option>
<?php
}
?>
</select>
<select name="upf_cat">
<option value=""><?php _e('Show all categories', 'user-private-files');?></option>
<?php
$cats = get_terms('file_categories');
foreach($cats as $cat) { ?>
<option value="<?php echo $cat->slug;?>" <?php if (isset($_POST['upf_cat']) && $_POST['upf_cat']==$cat->slug) echo 'selected="selected"';?>><?php echo $cat->name;?></option>
<?php
}
?>
</select>
<input type="submit" value="<?php _e('Filter', 'user-private-files');?>" />
</form>
</div>
<div class="upf_filelist">
<?php
$args = array(
'post_type' => 'userfile',
'meta_key' => 'upf_user',
'meta_value' => $current_user->user_login,
'orderby' => 'date',
'order' => DESC
);
if (!empty($_POST['upf_year'])) $args['year'] = $_POST['upf_year'];
if (!empty($_POST['upf_cat'])) $args['file_categories'] = $_POST['upf_cat'];
$the_query = new WP_Query( $args );
$html = '';
$current_year = '';
// The Loop
if ($the_query->have_posts()) :
while ( $the_query->have_posts() ) : $the_query->the_post();
$year = get_the_date('Y');
if ($year != $current_year) {
echo '<h2>'.$year.'</h2>';
$current_year = $year;
}
?>
<div class="report-wrap clearfix">
<span class="report-name"><a href="<?php the_permalink();?>"><?php the_title();?></a></span>
<div class="right">
<a href="?upf=vw&id=<?php echo get_the_ID();?>" class="view-print" target="_blank"><?php _e('View and Print', 'user-private-files');?></a> |
<a href="?upf=dl&id=<?php echo get_the_ID();?>" class="download" target="_blank"><?php _e('Download', 'user-private-files');?></a>
</div>
</div>
<?php
endwhile;
endif;
// Reset Post Data
wp_reset_postdata();
$html .= ob_get_clean();
$html .= '</div>';
return $html;
}
add_shortcode('userfiles', 'upf_list_user_files');
add_action('wp_head', 'upf_userfile_cpt_noindex');
function upf_userfile_cpt_noindex() {
if ( get_post_type() == 'userfile' ) { ?>
<meta name="robots" content="noindex,nofollow" />
<?php
}
}
add_action( 'template_redirect', 'upf_userfile_cpt_template' );
function upf_userfile_cpt_template() {
global $wp, $wp_query;
if ( isset( $wp->query_vars['post_type'] ) && $wp->query_vars['post_type'] == 'userfile' ) {
if ( have_posts() ) {
add_filter( 'the_content', 'upf_userfile_cpt_template_filter' );
}
else {
$wp_query->is_404 = true;
}
}
}
function upf_userfile_cpt_template_filter( $content ) {
global $wp_query;
$post_id = $wp_query->post->ID;
$output = "You are not authorized to access this page.";
if (is_user_logged_in()) {
global $current_user;
get_currentuserinfo();
// if the file was not assigned to the current user, return
if (get_post_meta($post_id, 'upf_user', true) == $current_user->user_login) {
$output = $content;
$output .= '<p><a href="?upf=vw&id='.$post_id.'" class="view-print" target="_blank">' . __('View and Print', 'user-private-files') . '</a><br/>
<a href="?upf=dl&id='.$post_id.'" class="download" target="_blank">' . __('Download', 'user-private-files') . '</a></p>';
}
}
return $output;
}